ServerClassInit<DT_Sun::ignored>
0x00835400 · 865 bytes · __cdecl
_Z15ServerClassInitIN6DT_Sun7ignoredEEiPT_
Decompiled
int (1 param)
/* int ServerClassInit<DT_Sun::ignored>(DT_Sun::ignored*) */
int ServerClassInit<DT_Sun::ignored>(ignored *param_1)
{
int iVar1;
if (ServerClassInit<DT_Sun::ignored>(DT_Sun::ignored*)::g_SendProps == '\0') {
iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_Sun::ignored>(DT_Sun::ignored*)::g_SendProps);
if (iVar1 != 0) {
/* try { // try from 0083548f to 00835493 has its CatchHandler @ 00835763 */
SendPropInt(ServerClassInit<DT_Sun::ignored>(DT_Sun::ignored*)::g_SendProps,0xbfae4c,0,4,-1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 008354d6 to 008354da has its CatchHandler @ 00835792 */
SendPropInt(ServerClassInit<DT_Sun::ignored>(DT_Sun::ignored*)::g_SendProps + 0x54,0xc0b9d0,
0x124,4,0x20,(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1
,0x80);
/* try { // try from 0083551d to 00835521 has its CatchHandler @ 008357b0 */
SendPropInt(ServerClassInit<DT_Sun::ignored>(DT_Sun::ignored*)::g_SendProps + 0xa8,0xcd42b0,
0x468,4,0x20,(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1
,0x80);
/* try { // try from 00835574 to 00835578 has its CatchHandler @ 008357b7 */
SendPropVector(ServerClassInit<DT_Sun::ignored>(DT_Sun::ignored*)::g_SendProps + 0xfc,0xcab1e6
,0x440,0xc,0,4.48416e-44,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xc0);
/* try { // try from 008355bb to 008355bf has its CatchHandler @ 008357be */
SendPropInt(ServerClassInit<DT_Sun::ignored>(DT_Sun::ignored*)::g_SendProps + 0x150,0xcd42bd,
0x46c,1,1,(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,
'\0');
/* try { // try from 00835602 to 00835606 has its CatchHandler @ 008357c5 */
SendPropInt(ServerClassInit<DT_Sun::ignored>(DT_Sun::ignored*)::g_SendProps + 0x1a4,0xcd42c3,
0x460,4,10,(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,
'\0');
/* try { // try from 00835649 to 0083564d has its CatchHandler @ 008357cc */
SendPropInt(ServerClassInit<DT_Sun::ignored>(DT_Sun::ignored*)::g_SendProps + 0x1f8,0xcd42cb,
0x464,4,10,(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,
'\0');
/* try { // try from 00835690 to 00835694 has its CatchHandler @ 008357d3 */
SendPropInt(ServerClassInit<DT_Sun::ignored>(DT_Sun::ignored*)::g_SendProps + 0x24c,0xc11b91,
0x470,4,0x20,(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1
,'\0');
/* try { // try from 008356d7 to 008356db has its CatchHandler @ 008357da */
SendPropInt(ServerClassInit<DT_Sun::ignored>(DT_Sun::ignored*)::g_SendProps + 0x2a0,0xcd42da,
0x474,4,0x20,(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1
,'\0');
/* try { // try from 0083572e to 00835732 has its CatchHandler @ 008357e1 */
SendPropFloat(ServerClassInit<DT_Sun::ignored>(DT_Sun::ignored*)::g_SendProps + 0x2f4,0xcbc0ce
,0x478,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x42c80000,
0xa0);
__cxa_guard_release(&ServerClassInit<DT_Sun::ignored>(DT_Sun::ignored*)::g_SendProps);
__cxa_atexit(__tcf_0,0,&__dso_handle);
}
}
SendTable::Construct
((SendTable *)DT_Sun::g_SendTable,
(SendProp *)(ServerClassInit<DT_Sun::ignored>(DT_Sun::ignored*)::g_SendProps + 0x54),9,
"DT_Sun");
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.