ServerClassInit<DT_DynamicLight::ignored>
0x0066ae30 · 811 bytes · __cdecl
_Z15ServerClassInitIN15DT_DynamicLight7ignoredEEiPT_
Decompiled
int (1 param)
/* int ServerClassInit<DT_DynamicLight::ignored>(DT_DynamicLight::ignored*) */
int ServerClassInit<DT_DynamicLight::ignored>(ignored *param_1)
{
int iVar1;
if (ServerClassInit<DT_DynamicLight::ignored>(DT_DynamicLight::ignored*)::g_SendProps == '\0') {
iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_DynamicLight::ignored>(DT_DynamicLight::ignored*)
::g_SendProps);
if (iVar1 != 0) {
/* try { // try from 0066aebf to 0066aec3 has its CatchHandler @ 0066b15d */
SendPropInt(ServerClassInit<DT_DynamicLight::ignored>(DT_DynamicLight::ignored*)::g_SendProps,
0xbfae4c,0,4,-1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 0066aef7 to 0066aefb has its CatchHandler @ 0066b18c */
SendPropDataTable(ServerClassInit<DT_DynamicLight::ignored>(DT_DynamicLight::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 0066af3e to 0066af42 has its CatchHandler @ 0066b1ba */
SendPropInt(ServerClassInit<DT_DynamicLight::ignored>(DT_DynamicLight::ignored*)::g_SendProps
+ 0xa8,0xc1e185,0x441,1,4,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
/* try { // try from 0066af85 to 0066af89 has its CatchHandler @ 0066b1ac */
SendPropInt(ServerClassInit<DT_DynamicLight::ignored>(DT_DynamicLight::ignored*)::g_SendProps
+ 0xfc,0xc70618,0x442,1,4,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
/* try { // try from 0066afdc to 0066afe0 has its CatchHandler @ 0066b1b3 */
SendPropFloat(ServerClassInit<DT_DynamicLight::ignored>(DT_DynamicLight::ignored*)::
g_SendProps + 0x150,0xc70625,0x444,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 0066b023 to 0066b027 has its CatchHandler @ 0066b193 */
SendPropInt(ServerClassInit<DT_DynamicLight::ignored>(DT_DynamicLight::ignored*)::g_SendProps
+ 0x1a4,0xc7062e,0x448,4,8,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 0066b07a to 0066b07e has its CatchHandler @ 0066b19a */
SendPropFloat(ServerClassInit<DT_DynamicLight::ignored>(DT_DynamicLight::ignored*)::
g_SendProps + 0x1f8,0xc70639,0x44c,4,8,0.0,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x43b40000,
0xa0);
/* try { // try from 0066b0d1 to 0066b0d5 has its CatchHandler @ 0066b1a1 */
SendPropFloat(ServerClassInit<DT_DynamicLight::ignored>(DT_DynamicLight::ignored*)::
g_SendProps + 0x24c,0xc70646,0x450,4,8,0.0,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x43b40000,
0xa0);
/* try { // try from 0066b128 to 0066b12c has its CatchHandler @ 0066b1a8 */
SendPropFloat(ServerClassInit<DT_DynamicLight::ignored>(DT_DynamicLight::ignored*)::
g_SendProps + 0x2a0,0xc70653,0x454,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
__cxa_guard_release(&ServerClassInit<DT_DynamicLight::ignored>(DT_DynamicLight::ignored*)::
g_SendProps);
__cxa_atexit(__tcf_0,0,&__dso_handle);
}
}
SendTable::Construct
((SendTable *)DT_DynamicLight::g_SendTable,
(SendProp *)
(ServerClassInit<DT_DynamicLight::ignored>(DT_DynamicLight::ignored*)::g_SendProps +
0x54),8,"DT_DynamicLight");
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.