CCollisionEvent::~CCollisionEvent
0x00783540 · 345 bytes · __thiscall
_ZN15CCollisionEventD2Ev
Decompiled
undefined (1 param)
/* CCollisionEvent::~CCollisionEvent() */
void __thiscall CCollisionEvent::~CCollisionEvent(CCollisionEvent *this)
{
*(undefined ***)this = &PTR_PreCollision_00cb10c8;
*(undefined ***)(this + 4) = &PTR_ShouldCollide_00cb1118;
*(undefined **)(this + 8) = &DAT_00cb1134;
*(undefined4 *)(this + 0x154) = 0;
CUtlMemory<IServerNetworkable*,int>::Purge((CUtlMemory<IServerNetworkable*,int> *)(this + 0x148));
*(undefined4 *)(this + 0x158) = *(undefined4 *)(this + 0x148);
CUtlMemory<IServerNetworkable*,int>::Purge((CUtlMemory<IServerNetworkable*,int> *)(this + 0x148));
*(undefined4 *)(this + 0x140) = 0;
CUtlMemory<fluidevent_t,int>::Purge((CUtlMemory<fluidevent_t,int> *)(this + 0x134));
*(undefined4 *)(this + 0x144) = *(undefined4 *)(this + 0x134);
CUtlMemory<fluidevent_t,int>::Purge((CUtlMemory<fluidevent_t,int> *)(this + 0x134));
*(undefined4 *)(this + 300) = 0;
CUtlMemory<penetrateevent_t,int>::Purge((CUtlMemory<penetrateevent_t,int> *)(this + 0x120));
*(undefined4 *)(this + 0x130) = *(undefined4 *)(this + 0x120);
CUtlMemory<penetrateevent_t,int>::Purge((CUtlMemory<penetrateevent_t,int> *)(this + 0x120));
*(undefined4 *)(this + 0x118) = 0;
CUtlMemory<inflictorstate_t,int>::Purge((CUtlMemory<inflictorstate_t,int> *)(this + 0x10c));
*(undefined4 *)(this + 0x11c) = *(undefined4 *)(this + 0x10c);
CUtlMemory<inflictorstate_t,int>::Purge((CUtlMemory<inflictorstate_t,int> *)(this + 0x10c));
*(undefined4 *)(this + 0x104) = 0;
CUtlMemory<damageevent_t,int>::Purge((CUtlMemory<damageevent_t,int> *)(this + 0xf8));
*(undefined4 *)(this + 0x108) = *(undefined4 *)(this + 0xf8);
CUtlMemory<damageevent_t,int>::Purge((CUtlMemory<damageevent_t,int> *)(this + 0xf8));
*(undefined4 *)(this + 0xf0) = 0;
CUtlMemory<touchevent_t,int>::Purge((CUtlMemory<touchevent_t,int> *)(this + 0xe4));
*(undefined4 *)(this + 0xf4) = *(undefined4 *)(this + 0xe4);
CUtlMemory<touchevent_t,int>::Purge((CUtlMemory<touchevent_t,int> *)(this + 0xe4));
*(undefined4 *)(this + 200) = 0;
CUtlMemory<triggerevent_t,int>::Purge((CUtlMemory<triggerevent_t,int> *)(this + 0xbc));
*(undefined4 *)(this + 0xcc) = *(undefined4 *)(this + 0xbc);
CUtlMemory<triggerevent_t,int>::Purge((CUtlMemory<triggerevent_t,int> *)(this + 0xbc));
return;
}
SourceMod gamedata
paste intoaddons/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.
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.
Gamedata KeyValues
DHooks plugin example
Type inference is best-effort from the C signature - sanity-check the DHooks types before shipping.