ServerClassInit<DT_Sprite::ignored>
0x004c2b20 · 1095 bytes · __cdecl
_Z15ServerClassInitIN9DT_Sprite7ignoredEEiPT_
Decompiled
int (1 param)
/* int ServerClassInit<DT_Sprite::ignored>(DT_Sprite::ignored*) */
int ServerClassInit<DT_Sprite::ignored>(ignored *param_1)
{
int iVar1;
char *pcVar2;
undefined4 uVar3;
undefined4 uVar4;
if (ServerClassInit<DT_Sprite::ignored>(DT_Sprite::ignored*)::g_SendProps == '\0') {
iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_Sprite::ignored>(DT_Sprite::ignored*)::
g_SendProps);
if (iVar1 != 0) {
/* try { // try from 004c2baf to 004c2bb3 has its CatchHandler @ 004c2f69 */
SendPropInt(ServerClassInit<DT_Sprite::ignored>(DT_Sprite::ignored*)::g_SendProps,0xbfae4c,0,4
,-1,(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 004c2be7 to 004c2beb has its CatchHandler @ 004c2f98 */
SendPropDataTable(ServerClassInit<DT_Sprite::ignored>(DT_Sprite::ignored*)::g_SendProps + 0x54
,0xc087aa,(SendTable *)0x0,
(_func_void_ptr_SendProp_ptr_void_ptr_void_ptr_CSendProxyRecipients_ptr_int
*)CBaseEntity::m_pClassSendTable,'P');
/* try { // try from 004c2c1e to 004c2c22 has its CatchHandler @ 004c2fad */
SendPropEHandle(ServerClassInit<DT_Sprite::ignored>(DT_Sprite::ignored*)::g_SendProps + 0xa8,
0xc1e704,0x440,4,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)
&DAT_ffffffff);
/* try { // try from 004c2c65 to 004c2c69 has its CatchHandler @ 004c2f9f */
SendPropInt(ServerClassInit<DT_Sprite::ignored>(DT_Sprite::ignored*)::g_SendProps + 0xfc,
0xc1e718,0x444,4,8,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 004c2cbc to 004c2cc0 has its CatchHandler @ 004c2fa6 */
SendPropFloat(ServerClassInit<DT_Sprite::ignored>(DT_Sprite::ignored*)::g_SendProps + 0x150,
0xc1e726,0x460,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 004c2d13 to 004c2d17 has its CatchHandler @ 004c2fcb */
SendPropFloat(ServerClassInit<DT_Sprite::ignored>(DT_Sprite::ignored*)::g_SendProps + 0x1a4,
0xc1e734,0x45c,4,8,2.24208e-44,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x42800000,
0xa0);
/* try { // try from 004c2d6a to 004c2d6e has its CatchHandler @ 004c2fd2 */
SendPropFloat(ServerClassInit<DT_Sprite::ignored>(DT_Sprite::ignored*)::g_SendProps + 0x1f8,
0xc1e744,0x468,4,6,2.24208e-44,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x42800000,
0xa0);
/* try { // try from 004c2dc1 to 004c2dc5 has its CatchHandler @ 004c2fd9 */
SendPropFloat(ServerClassInit<DT_Sprite::ignored>(DT_Sprite::ignored*)::g_SendProps + 0x24c,
0xc0b9b4,0x46c,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x42c80000,
0xa0);
/* try { // try from 004c2e18 to 004c2e1c has its CatchHandler @ 004c2fe0 */
SendPropFloat(ServerClassInit<DT_Sprite::ignored>(DT_Sprite::ignored*)::g_SendProps + 0x2a0,
0xc1e756,0x448,4,8,2.24208e-44,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x42700000,
0xa0);
/* try { // try from 004c2e6f to 004c2e73 has its CatchHandler @ 004c2fe7 */
SendPropFloat(ServerClassInit<DT_Sprite::ignored>(DT_Sprite::ignored*)::g_SendProps + 0x2f4,
0xc0b9c6,0x44c,4,0x14,1.12104e-44,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x43800000,
0xa0);
/* try { // try from 004c2ec6 to 004c2eca has its CatchHandler @ 004c2fee */
SendPropFloat(ServerClassInit<DT_Sprite::ignored>(DT_Sprite::ignored*)::g_SendProps + 0x348,
0xc1e76a,0x458,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 004c2f0d to 004c2f11 has its CatchHandler @ 004c2ff8 */
SendPropInt(ServerClassInit<DT_Sprite::ignored>(DT_Sprite::ignored*)::g_SendProps + 0x39c,
0xc1e77d,0x454,4,8,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
uVar4 = 1;
uVar3 = 0x464;
pcVar2 = "m_bWorldSpaceScale";
/* try { // try from 004c2f34 to 004c2f38 has its CatchHandler @ 004c3002 */
SendPropBool(ServerClassInit<DT_Sprite::ignored>(DT_Sprite::ignored*)::g_SendProps + 0x3f0,
0xc1e78b,0x464);
__cxa_guard_release(&ServerClassInit<DT_Sprite::ignored>(DT_Sprite::ignored*)::g_SendProps,
pcVar2,uVar3,uVar4);
__cxa_atexit(__tcf_0,0,&__dso_handle);
}
}
SendTable::Construct
((SendTable *)DT_Sprite::g_SendTable,
(SendProp *)
(ServerClassInit<DT_Sprite::ignored>(DT_Sprite::ignored*)::g_SendProps + 0x54),0xc,
"DT_Sprite");
return 1;
}
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.