CMemberFunctor1<IPhysicsObject*,void(IPhysicsObject::*)(bool),bool,CRefCounted1<CFunctor,CRefCountServiceBase<true,CRefMT>>,CFuncMemPolicyNone>::operator()
0x004a5790 · 52 bytes · __thiscall
_ZN15CMemberFunctor1IP14IPhysicsObjectMS0_FvbEb12CRefCounted1I8CFunctor20CRefCountServiceBaseILb1E6CRefMTEE18CFuncMemPolicyNoneEclEv
Decompiled
undefined (1 param)
/* CMemberFunctor1<IPhysicsObject*, void (IPhysicsObject::*)(bool), bool, CRefCounted1<CFunctor,
CRefCountServiceBase<true, CRefMT> >, CFuncMemPolicyNone>::TEMPNAMEPLACEHOLDERVALUE() */
void __thiscall
CMemberFunctor1<IPhysicsObject*,void(IPhysicsObject::*)(bool),bool,CRefCounted1<CFunctor,CRefCountServiceBase<true,CRefMT>>,CFuncMemPolicyNone>
::operator()(CMemberFunctor1<IPhysicsObject*,void(IPhysicsObject::*)(bool),bool,CRefCounted1<CFunctor,CRefCountServiceBase<true,CRefMT>>,CFuncMemPolicyNone>
*this)
{
code *pcVar1;
pcVar1 = *(code **)(this + 0x10);
if (((uint)pcVar1 & 1) != 0) {
pcVar1 = *(code **)(pcVar1 + *(int *)(*(int *)(this + 0x18) + *(int *)(this + 0x14)) + -1);
}
(*pcVar1)((int *)(*(int *)(this + 0x18) + *(int *)(this + 0x14)),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.