CTerrorWeaponInfo::CTerrorWeaponInfo
0x005709e0 · 494 bytes · __thiscall
_ZN17CTerrorWeaponInfoC2Ev
Decompiled
undefined (1 param)
/* CTerrorWeaponInfo::CTerrorWeaponInfo() */
void __thiscall CTerrorWeaponInfo::CTerrorWeaponInfo(CTerrorWeaponInfo *this)
{
undefined4 uVar1;
CCSWeaponInfo::CCSWeaponInfo((CCSWeaponInfo *)this);
*(undefined2 *)(this + 0xc6c) = 0xffff;
*(undefined ***)this = &PTR_Parse_00c53038;
*(undefined4 *)(this + 0xc1c) = 0;
*(undefined4 *)(this + 0xc2c) = 0;
*(undefined4 *)(this + 0xc30) = 0;
*(undefined4 *)(this + 0xc34) = 0;
*(undefined4 *)(this + 0xc38) = 0;
*(undefined4 *)(this + 0xc3c) = 0;
*(undefined4 *)(this + 0xc40) = 0;
*(undefined4 *)(this + 0xc44) = 0;
*(undefined4 *)(this + 0xc60) = 0;
*(undefined4 *)(this + 0xc64) = 0;
*(undefined4 *)(this + 0xc68) = 0;
*(undefined2 *)(this + 0xc6e) = 0;
*(undefined2 *)(this + 0xc70) = 0xffff;
*(undefined2 *)(this + 0xc72) = 0xffff;
*(undefined4 *)(this + 0xc74) = 0;
*(undefined4 *)(this + 0xc04) = 0x3f800000;
*(undefined4 *)(this + 0xc08) = 0x3f000000;
*(undefined4 *)(this + 0xc0c) = 0x41200000;
*(undefined4 *)(this + 0xc10) = 0x3f800000;
*(undefined4 *)(this + 0xc14) = 0x41f00000;
*(undefined4 *)(this + 0xc18) = 0x40a00000;
*(undefined4 *)(this + 0xc20) = 0x3f4ccccd;
*(undefined4 *)(this + 0xc24) = 0x3fc00000;
*(undefined4 *)(this + 0xc28) = 0x40a00000;
*(code **)(this + 0xc5c) = CaselessStringLessThan;
this[0xcc8] = (CTerrorWeaponInfo)0x0;
this[0xc78] = (CTerrorWeaponInfo)0x0;
this[0xd18] = (CTerrorWeaponInfo)0x0;
this[0xd80] = (CTerrorWeaponInfo)0x0;
*(undefined4 *)(this + 0xc48) = 1;
*(undefined4 *)(this + 0xc4c) = 0;
*(undefined4 *)(this + 0xc50) = 0;
*(undefined4 *)(this + 0xc54) = 0;
*(undefined4 *)(this + 0xc58) = 0;
uVar1 = vec3_origin;
*(undefined4 *)(this + 0xbf8) = 0x3da3d70a;
*(undefined4 *)(this + 0xd68) = uVar1;
uVar1 = DAT_01053d4c;
*(undefined4 *)(this + 0xbfc) = 0x45070000;
*(undefined4 *)(this + 0xd6c) = uVar1;
uVar1 = DAT_01053d50;
*(undefined4 *)(this + 0xc00) = 0x3f800000;
*(undefined4 *)(this + 0xd70) = uVar1;
uVar1 = vec3_angle;
*(undefined4 *)(this + 0xbf4) = 1;
*(undefined4 *)(this + 0xd74) = uVar1;
*(undefined4 *)(this + 0xd78) = DAT_01053d40;
*(undefined4 *)(this + 0xd7c) = DAT_01053d44;
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.