SurvivorTeamSituation::SurvivorTeamSituation
0x009650f0 · 427 bytes · __thiscall
_ZN21SurvivorTeamSituationC1EP11SurvivorBot
Decompiled
undefined (2 params)
/* SurvivorTeamSituation::SurvivorTeamSituation(SurvivorBot*) */
void __thiscall
SurvivorTeamSituation::SurvivorTeamSituation(SurvivorTeamSituation *this,SurvivorBot *param_1)
{
SurvivorTeamSituation *pSVar1;
SurvivorTeamSituation *pSVar2;
SurvivorTeamSituation *pSVar3;
*(undefined ***)this = &PTR_OnBeginIteration_00d0d4a0;
*(undefined4 *)(this + 8) = 0xffffffff;
*(undefined4 *)(this + 0x10) = 0xffffffff;
*(undefined4 *)(this + 0x18) = 0xffffffff;
*(undefined4 *)(this + 0x20) = 0xffffffff;
*(undefined4 *)(this + 0x28) = 0xffffffff;
*(undefined4 *)(this + 0x30) = 0xffffffff;
*(undefined4 *)(this + 0x38) = 0xffffffff;
*(undefined4 *)(this + 0x40) = 0xffffffff;
*(undefined4 *)(this + 0x48) = 0xffffffff;
*(undefined4 *)(this + 0x50) = 0xffffffff;
*(undefined4 *)(this + 0x54) = 0xffffffff;
*(undefined4 *)(this + 0x5c) = 0xffffffff;
*(undefined4 *)(this + 100) = 0xffffffff;
*(undefined4 *)(this + 0x6c) = 0xffffffff;
*(undefined4 *)(this + 0x74) = 0xffffffff;
*(undefined4 *)(this + 0x7c) = 0xffffffff;
*(undefined4 *)(this + 0x88) = 0xffffffff;
*(undefined4 *)(this + 0x8c) = 0xffffffff;
*(undefined4 *)(this + 0x90) = 0xffffffff;
/* try { // try from 0096519c to 009651a0 has its CatchHandler @ 0096529b */
Path::Path((Path *)(this + 200));
/* try { // try from 009651aa to 009651ae has its CatchHandler @ 009652f9 */
Path::Path((Path *)(this + 0x4820));
/* try { // try from 009651b8 to 009651bc has its CatchHandler @ 009652f5 */
Path::Path((Path *)(this + 0x8f78));
pSVar1 = this + 0xd6d4;
pSVar2 = pSVar1;
do {
*(undefined4 *)pSVar2 = 0xffffffff;
pSVar3 = pSVar2 + 0xc;
*(undefined ***)(this + (int)(pSVar2 + (55000 - (int)pSVar1))) =
&PTR_NetworkStateChanged_00c23e10;
*(undefined4 *)(this + (int)(pSVar2 + (0xd6dc - (int)pSVar1))) = 0xbf800000;
pSVar2 = pSVar3;
} while (pSVar3 != this + 0xd6f8);
*(undefined4 *)(this + 0xd700) = 0xffffffff;
*(undefined4 *)(this + 0xd704) = 0xffffffff;
*(undefined4 *)(this + 0xd708) = 0xffffffff;
*(undefined4 *)(this + 0xd70c) = 0xffffffff;
*(SurvivorBot **)(this + 4) = param_1;
*(undefined4 *)(this + 0xd710) = 0xffffffff;
*(undefined ***)(this + 0xd714) = &PTR_NetworkStateChanged_00c0b6e0;
*(undefined4 *)(this + 0xd718) = 0;
*(undefined4 *)(this + 0xd71c) = 0xbf800000;
*(undefined ***)(this + 0xd720) = &PTR_NetworkStateChanged_00c0b6e0;
*(undefined4 *)(this + 0xd724) = 0;
*(undefined4 *)(this + 0xd728) = 0xbf800000;
*(undefined4 *)(this + 0xd6d0) = 0;
*(undefined4 *)(this + 0xd6f8) = 0;
*(undefined4 *)(this + 0xd6fc) = 0;
/* try { // try from 00965291 to 00965292 has its CatchHandler @ 009652c9 */
(*(code *)**(undefined4 **)this)(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.