ServerClassInit<DT_Music::ignored>
0x008ebe60 · 874 bytes · __cdecl
_Z15ServerClassInitIN8DT_Music7ignoredEEiPT_
Decompiled
int (1 param)
/* int ServerClassInit<DT_Music::ignored>(DT_Music::ignored*) */
int ServerClassInit<DT_Music::ignored>(ignored *param_1)
{
int iVar1;
if (ServerClassInit<DT_Music::ignored>(DT_Music::ignored*)::g_SendProps == '\0') {
iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_Music::ignored>(DT_Music::ignored*)::g_SendProps
);
if (iVar1 != 0) {
/* try { // try from 008ebeef to 008ebef3 has its CatchHandler @ 008ec1cc */
SendPropInt(ServerClassInit<DT_Music::ignored>(DT_Music::ignored*)::g_SendProps,0xbfae4c,0,4,
-1,(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 008ebf46 to 008ebf4a has its CatchHandler @ 008ec1fb */
SendPropFloat(ServerClassInit<DT_Music::ignored>(DT_Music::ignored*)::g_SendProps + 0x54,
0xcfaf1c,0x170,4,8,0.0,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x3f800000,
0xa0);
/* try { // try from 008ebf9d to 008ebfa1 has its CatchHandler @ 008ec229 */
SendPropFloat(ServerClassInit<DT_Music::ignored>(DT_Music::ignored*)::g_SendProps + 0xa8,
0xcfaf2e,0x160,4,8,0.0,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x3f800000,
0xa0);
/* try { // try from 008ebff4 to 008ebff8 has its CatchHandler @ 008ec21b */
SendPropFloat(ServerClassInit<DT_Music::ignored>(DT_Music::ignored*)::g_SendProps + 0xfc,
0xcfaf40,0x164,4,8,0.0,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x3f800000,
0xa0);
/* try { // try from 008ec04b to 008ec04f has its CatchHandler @ 008ec222 */
SendPropFloat(ServerClassInit<DT_Music::ignored>(DT_Music::ignored*)::g_SendProps + 0x150,
0xcfaf51,0x16c,4,8,0.0,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x3f800000,
0xa0);
/* try { // try from 008ec092 to 008ec096 has its CatchHandler @ 008ec202 */
SendPropInt(ServerClassInit<DT_Music::ignored>(DT_Music::ignored*)::g_SendProps + 0x1a4,
0xcfaf63,0x17c,4,5,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
/* try { // try from 008ec0e9 to 008ec0ed has its CatchHandler @ 008ec209 */
SendPropFloat(ServerClassInit<DT_Music::ignored>(DT_Music::ignored*)::g_SendProps + 0x1f8,
0xcfaf75,0x1b4,4,8,0.0,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x3f800000,
0xa0);
/* try { // try from 008ec140 to 008ec144 has its CatchHandler @ 008ec210 */
SendPropFloat(ServerClassInit<DT_Music::ignored>(DT_Music::ignored*)::g_SendProps + 0x24c,
0xcfaf88,0x188,4,8,0.0,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x3f800000,
0xa0);
/* try { // try from 008ec197 to 008ec19b has its CatchHandler @ 008ec217 */
SendPropFloat(ServerClassInit<DT_Music::ignored>(DT_Music::ignored*)::g_SendProps + 0x2a0,
0xcfaf97,0x174,4,8,0.0,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x3f800000,
0xa0);
__cxa_guard_release(&ServerClassInit<DT_Music::ignored>(DT_Music::ignored*)::g_SendProps);
__cxa_atexit(__tcf_0,0,&__dso_handle);
}
}
SendTable::Construct
((SendTable *)DT_Music::g_SendTable,
(SendProp *)
(ServerClassInit<DT_Music::ignored>(DT_Music::ignored*)::g_SendProps + 0x54),8,
"DT_Music");
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.