L L4D2node

CMemberFunctor1<CModelRender*,int(CManagedDataCacheClient<CColorMeshData,colormeshparams_t,CColorMeshData*>::*)(memhandle_t__*),memhandle_t__*,CRefCounted1<CFunctor,CRefCountServiceBase<true,CRefMT>>,CFuncMemPolicyNone>::operator()

0x0018a330 · 52 bytes · __thiscall

_ZN15CMemberFunctor1IP12CModelRenderM23CManagedDataCacheClientI14CColorMeshData17colormeshparams_tPS3_EFiP13memhandle_t__ES8_12CRefCounted1I8CFunctor20CRefCountServiceBaseILb1E6CRefMTEE18CFuncMemPolicyNoneEclEv

Decompiled

undefined (1 param)

/* CMemberFunctor1<CModelRender*, int (CManagedDataCacheClient<CColorMeshData, colormeshparams_t,
   CColorMeshData*>::*)(memhandle_t__*), memhandle_t__*, CRefCounted1<CFunctor,
   CRefCountServiceBase<true, CRefMT> >, CFuncMemPolicyNone>::TEMPNAMEPLACEHOLDERVALUE() */

void __thiscall
CMemberFunctor1<CModelRender*,int(CManagedDataCacheClient<CColorMeshData,colormeshparams_t,CColorMeshData*>::*)(memhandle_t__*),memhandle_t__*,CRefCounted1<CFunctor,CRefCountServiceBase<true,CRefMT>>,CFuncMemPolicyNone>
::operator()(CMemberFunctor1<CModelRender*,int(CManagedDataCacheClient<CColorMeshData,colormeshparams_t,CColorMeshData*>::*)(memhandle_t__*),memhandle_t__*,CRefCounted1<CFunctor,CRefCountServiceBase<true,CRefMT>>,CFuncMemPolicyNone>
             *this)

{
  int *piVar1;
  code *pcVar2;
  
  pcVar2 = *(code **)(this + 0x10);
  piVar1 = (int *)(*(int *)(this + 0x18) + 4 + *(int *)(this + 0x14));
  if (((uint)pcVar2 & 1) != 0) {
    pcVar2 = *(code **)(pcVar2 + *piVar1 + -1);
  }
  (*pcVar2)(piVar1,*(undefined4 *)(this + 0x1c));
  return;
}

SourceMod gamedata

paste into addons/sourcemod/gamedata/<your_plugin>.txt
used as the SourceMod key — change to fit your plugin's convention
SourceMod library name (server / engine / matchmaking)

Just a Signatures{} block, ready to drop into a gamedata file. Wire it up in your plugin however you like - SDKCall, DHooks, raw memory ops, or anything else.



        

        

          

Type inference is best-effort from the C signature - sanity-check the DHooks types before shipping.

Return-type handling cheatsheet (DHookReturn)