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 intoaddons/sourcemod/gamedata/<your_plugin>.txt
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.
Signatures + Functions block. The plugin uses
DHookCreateFromConf - DHooks reads return type, this-type,
calling convention, and argument types straight from the gamedata. Less
boilerplate in the plugin, types travel with the gamedata.
Type inference is best-effort from the C signature - sanity-check the DHooks types before shipping.