CNavArea::Dump
0x0071ba50 · 443 bytes · __thiscall
_ZNK8CNavArea4DumpER10CUtlBuffer
Decompiled
undefined (2 params)
/* CNavArea::Dump(CUtlBuffer&) const */
void __thiscall CNavArea::Dump(CNavArea *this,CUtlBuffer *param_1)
{
CNavArea *pCVar1;
undefined4 *puVar2;
undefined4 *puVar3;
double dVar4;
double dVar5;
undefined4 local_7c;
undefined4 local_78;
undefined4 local_74;
undefined4 local_70;
undefined4 local_6c;
undefined4 local_68;
undefined4 local_64;
undefined4 local_60;
undefined4 local_5c;
undefined4 local_58;
undefined4 local_54;
undefined4 local_50;
undefined4 local_4c;
undefined4 local_48;
undefined4 local_44;
undefined4 local_40;
undefined4 local_3c;
undefined4 local_38;
undefined4 local_34;
undefined4 local_30;
undefined4 local_2c;
undefined4 local_28;
undefined4 local_24;
undefined4 local_20;
undefined4 local_1c [3];
CUtlBuffer::Printf(param_1,"\n");
CUtlBuffer::Printf(param_1,"NAV AREA\n");
CUtlBuffer::Printf(param_1,"--------\n");
dVar4 = (double)*(float *)(this + 0x34);
dVar5 = (double)*(float *)(this + 0x30);
CUtlBuffer::Printf(param_1,"Center Position: %f, %f, %f\n",(double)*(float *)(this + 0x2c),dVar5,
dVar4);
local_5c = 0x74726f4e;
local_58 = 0x68;
local_54 = 0;
local_50 = 0;
local_4c = 0x74736145;
local_48 = 0;
local_44 = 0;
local_40 = 0;
local_3c = 0x74756f53;
local_38 = 0x68;
local_34 = 0;
local_30 = 0;
local_2c = 0x74736557;
local_28 = 0;
local_24 = 0;
local_20 = 0;
pCVar1 = this;
puVar2 = &local_5c;
do {
puVar3 = puVar2 + 4;
CUtlBuffer::Printf(param_1,"%s Connection Count: %d\n",puVar2,**(undefined4 **)(pCVar1 + 0x58),
dVar5,dVar4);
pCVar1 = pCVar1 + 4;
puVar2 = puVar3;
} while (puVar3 != local_1c);
local_7c = 0x7055;
local_78 = 0;
local_74 = 0;
local_70 = 0;
local_6c = 0x6e776f44;
local_68 = 0;
local_64 = 0;
local_60 = 0;
CUtlBuffer::Printf(param_1,"%s Ladder Count: %d\n",&local_7c,**(undefined4 **)(this + 0x68),dVar5,
dVar4);
CUtlBuffer::Printf(param_1,"%s Ladder Count: %d\n",&local_6c,**(undefined4 **)(this + 0x6c));
CUtlBuffer::Printf(param_1,"Base Attribute Flags: 0x%08x\n",*(undefined4 *)(this + 0x54));
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.