ServerClassInit<DT_CFish::ignored>
0x006a3ce0 · 858 bytes · __cdecl
_Z15ServerClassInitIN8DT_CFish7ignoredEEiPT_
Decompiled
int (1 param)
/* int ServerClassInit<DT_CFish::ignored>(DT_CFish::ignored*) */
int ServerClassInit<DT_CFish::ignored>(ignored *param_1)
{
int iVar1;
if (ServerClassInit<DT_CFish::ignored>(DT_CFish::ignored*)::g_SendProps == '\0') {
iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_CFish::ignored>(DT_CFish::ignored*)::g_SendProps
);
if (iVar1 != 0) {
/* try { // try from 006a3d6f to 006a3d73 has its CatchHandler @ 006a403c */
SendPropInt(ServerClassInit<DT_CFish::ignored>(DT_CFish::ignored*)::g_SendProps,0xbfae4c,0,4,
-1,(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 006a3dc6 to 006a3dca has its CatchHandler @ 006a406b */
SendPropVector(ServerClassInit<DT_CFish::ignored>(DT_CFish::ignored*)::g_SendProps + 0x54,
0xc87343,0x1428,0xc,-1,5.73972e-42,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xc0);
/* try { // try from 006a3e1d to 006a3e21 has its CatchHandler @ 006a4099 */
SendPropFloat(ServerClassInit<DT_CFish::ignored>(DT_CFish::ignored*)::g_SendProps + 0xa8,
0xc87350,0x1408,4,7,0.0,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x43b40000,
0x90);
/* try { // try from 006a3e74 to 006a3e78 has its CatchHandler @ 006a408b */
SendPropFloat(ServerClassInit<DT_CFish::ignored>(DT_CFish::ignored*)::g_SendProps + 0xfc,
0xc29857,0x13fc,4,7,0.0,-255.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x437f0000,
0xa0);
/* try { // try from 006a3ecb to 006a3ecf has its CatchHandler @ 006a4092 */
SendPropFloat(ServerClassInit<DT_CFish::ignored>(DT_CFish::ignored*)::g_SendProps + 0x150,
0xc29860,0x1400,4,7,0.0,-255.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x437f0000,
0xa0);
/* try { // try from 006a3f22 to 006a3f26 has its CatchHandler @ 006a4072 */
SendPropFloat(ServerClassInit<DT_CFish::ignored>(DT_CFish::ignored*)::g_SendProps + 0x1a4,
0xc29869,0x1404,4,-1,5.73972e-42,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 006a3f69 to 006a3f6d has its CatchHandler @ 006a4079 */
SendPropInt(ServerClassInit<DT_CFish::ignored>(DT_CFish::ignored*)::g_SendProps + 0x1f8,
0xc0a9d0,0x122,2,0xc,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 006a3fb0 to 006a3fb4 has its CatchHandler @ 006a4080 */
SendPropInt(ServerClassInit<DT_CFish::ignored>(DT_CFish::ignored*)::g_SendProps + 0x24c,
0xc5cfef,0x104,1,-1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 006a4007 to 006a400b has its CatchHandler @ 006a4087 */
SendPropFloat(ServerClassInit<DT_CFish::ignored>(DT_CFish::ignored*)::g_SendProps + 0x2a0,
0xc87358,0x1434,4,0x20,0.0,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
__cxa_guard_release(&ServerClassInit<DT_CFish::ignored>(DT_CFish::ignored*)::g_SendProps);
__cxa_atexit(__tcf_0,0,&__dso_handle);
}
}
SendTable::Construct
((SendTable *)DT_CFish::g_SendTable,
(SendProp *)
(ServerClassInit<DT_CFish::ignored>(DT_CFish::ignored*)::g_SendProps + 0x54),8,
"DT_CFish");
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.