CMultiPlayerAnimState::CMultiPlayerAnimState
0x0046dc40 · 652 bytes · __thiscall
_ZN21CMultiPlayerAnimStateC1EP11CBasePlayer
Decompiled
undefined (2 params)
/* CMultiPlayerAnimState::CMultiPlayerAnimState(CBasePlayer*) */
void __thiscall
CMultiPlayerAnimState::CMultiPlayerAnimState(CMultiPlayerAnimState *this,CBasePlayer *param_1)
{
*(undefined ***)this = &PTR_ClearAnimationState_00c169e8;
*(undefined4 *)(this + 8) = 0;
*(undefined4 *)(this + 0xc) = 0;
*(undefined4 *)(this + 0x10) = 0;
*(undefined4 *)(this + 0x14) = 0;
*(undefined4 *)(this + 0x18) = 0;
*(undefined4 *)(this + 0x10c) = 0xffffffff;
this[0x2c] = (CMultiPlayerAnimState)0x0;
*(undefined4 *)(this + 0x30) = 0xffffffff;
*(undefined4 *)(this + 0x34) = 0xffffffff;
*(undefined4 *)(this + 0x38) = 0xffffffff;
*(undefined4 *)(this + 0x3c) = 0xffffffff;
*(undefined4 *)(this + 0x40) = 0xffffffff;
*(undefined4 *)(this + 0x44) = 0xffffffff;
*(undefined4 *)(this + 0x48) = 0xffffffff;
*(undefined4 *)(this + 0x4c) = 0xffffffff;
*(undefined4 *)(this + 0x50) = 0xffffffff;
*(undefined4 *)(this + 0x54) = 0xffffffff;
*(undefined4 *)(this + 0x58) = 0xffffffff;
*(undefined4 *)(this + 0x5c) = 0xffffffff;
*(undefined4 *)(this + 0x60) = 0xffffffff;
*(undefined4 *)(this + 100) = 0xffffffff;
*(undefined4 *)(this + 0x68) = 0;
*(undefined4 *)(this + 0x6c) = 0;
*(undefined4 *)(this + 0x70) = 0;
*(undefined4 *)(this + 0x74) = 0;
*(undefined4 *)(this + 0x78) = 0;
*(undefined4 *)(this + 0x7c) = 0;
*(undefined4 *)(this + 0x80) = 0;
*(undefined4 *)(this + 0x84) = 0;
*(undefined4 *)(this + 0x88) = 0;
*(undefined4 *)(this + 0x8c) = 0;
*(undefined4 *)(this + 0x90) = 0;
*(undefined4 *)(this + 0x94) = 0;
*(undefined4 *)(this + 0x98) = 0;
*(undefined4 *)(this + 0x9c) = 0;
this[0xa0] = (CMultiPlayerAnimState)0x0;
*(undefined4 *)(this + 0xa4) = 0;
*(undefined4 *)(this + 0xa8) = 0;
this[0xac] = (CMultiPlayerAnimState)0x0;
this[0xad] = (CMultiPlayerAnimState)0x0;
this[0xae] = (CMultiPlayerAnimState)0x0;
this[0xaf] = (CMultiPlayerAnimState)0x0;
this[0xb0] = (CMultiPlayerAnimState)0x0;
this[0xb1] = (CMultiPlayerAnimState)0x0;
*(undefined4 *)(this + 0xb4) = 0;
*(undefined4 *)(this + 0xb8) = 0;
*(undefined4 *)(this + 0xbc) = 0;
*(undefined4 *)(this + 0xc0) = 0;
*(undefined4 *)(this + 0xc4) = 0;
*(undefined4 *)(this + 200) = 0;
*(undefined4 *)(this + 0xcc) = 0;
*(undefined4 *)(this + 0xd0) = 0;
*(undefined4 *)(this + 0xd4) = 0;
*(undefined4 *)(this + 0xd8) = 0;
*(undefined4 *)(this + 0x20) = 0;
*(undefined4 *)(this + 0x24) = 0;
*(undefined4 *)(this + 0x28) = 0;
this[0xdc] = (CMultiPlayerAnimState)0x0;
*(undefined4 *)(this + 0xe0) = 0;
*(undefined4 *)(this + 0xe4) = 0;
*(undefined4 *)(this + 0xe8) = 0;
*(undefined4 *)(this + 0xec) = 0;
*(undefined4 *)(this + 0xf0) = 0;
*(undefined4 *)(this + 0xf4) = 0;
this[0xf8] = (CMultiPlayerAnimState)0x0;
*(undefined4 *)(this + 0xfc) = 0;
this[0x100] = (CMultiPlayerAnimState)0x0;
this[0x101] = (CMultiPlayerAnimState)0x0;
this[0x102] = (CMultiPlayerAnimState)0x1;
this[0x103] = (CMultiPlayerAnimState)0x0;
this[0x104] = (CMultiPlayerAnimState)0x1;
*(undefined4 *)(this + 0x114) = 0xffffffff;
*(undefined4 *)(this + 0x108) = 0xffffffff;
*(undefined4 *)(this + 0x110) = 0;
this[4] = (CMultiPlayerAnimState)0x0;
*(CBasePlayer **)(this + 0x1c) = param_1;
/* try { // try from 0046debf to 0046dec3 has its CatchHandler @ 0046decc */
InitGestureSlots(this);
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.