ServerClassInit<DT_BeamSpotlight::ignored>
0x0062f2b0 · 857 bytes · __cdecl
_Z15ServerClassInitIN16DT_BeamSpotlight7ignoredEEiPT_
Decompiled
int (1 param)
/* int ServerClassInit<DT_BeamSpotlight::ignored>(DT_BeamSpotlight::ignored*) */
int ServerClassInit<DT_BeamSpotlight::ignored>(ignored *param_1)
{
int iVar1;
if (ServerClassInit<DT_BeamSpotlight::ignored>(DT_BeamSpotlight::ignored*)::g_SendProps == '\0') {
iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_BeamSpotlight::ignored>(DT_BeamSpotlight::ignored*)
::g_SendProps);
if (iVar1 != 0) {
/* try { // try from 0062f33f to 0062f343 has its CatchHandler @ 0062f60b */
SendPropInt(ServerClassInit<DT_BeamSpotlight::ignored>(DT_BeamSpotlight::ignored*)::
g_SendProps,0xbfae4c,0,4,-1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 0062f377 to 0062f37b has its CatchHandler @ 0062f63a */
SendPropDataTable(ServerClassInit<DT_BeamSpotlight::ignored>(DT_BeamSpotlight::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 0062f3be to 0062f3c2 has its CatchHandler @ 0062f641 */
SendPropInt(ServerClassInit<DT_BeamSpotlight::ignored>(DT_BeamSpotlight::ignored*)::
g_SendProps + 0xa8,0xc0b92b,0x440,4,0x10,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
/* try { // try from 0062f3e5 to 0062f3e9 has its CatchHandler @ 0062f65f */
SendPropBool(ServerClassInit<DT_BeamSpotlight::ignored>(DT_BeamSpotlight::ignored*)::
g_SendProps + 0xfc,0xc639b9,0x444);
/* try { // try from 0062f40c to 0062f410 has its CatchHandler @ 0062f666 */
SendPropBool(ServerClassInit<DT_BeamSpotlight::ignored>(DT_BeamSpotlight::ignored*)::
g_SendProps + 0x150,0xc639c8,0x445);
/* try { // try from 0062f433 to 0062f437 has its CatchHandler @ 0062f66d */
SendPropBool(ServerClassInit<DT_BeamSpotlight::ignored>(DT_BeamSpotlight::ignored*)::
g_SendProps + 0x1a4,0xc639db,0x446);
/* try { // try from 0062f48a to 0062f48e has its CatchHandler @ 0062f674 */
SendPropFloat(ServerClassInit<DT_BeamSpotlight::ignored>(DT_BeamSpotlight::ignored*)::
g_SendProps + 0x1f8,0xc639e4,0x448,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 0062f4e1 to 0062f4e5 has its CatchHandler @ 0062f67b */
SendPropFloat(ServerClassInit<DT_BeamSpotlight::ignored>(DT_BeamSpotlight::ignored*)::
g_SendProps + 0x24c,0xc639fb,0x44c,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 0062f538 to 0062f53c has its CatchHandler @ 0062f682 */
SendPropFloat(ServerClassInit<DT_BeamSpotlight::ignored>(DT_BeamSpotlight::ignored*)::
g_SendProps + 0x2a0,0xc0b9b4,0x450,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 0062f58f to 0062f593 has its CatchHandler @ 0062f689 */
SendPropFloat(ServerClassInit<DT_BeamSpotlight::ignored>(DT_BeamSpotlight::ignored*)::
g_SendProps + 0x2f4,0xc63a12,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 0062f5d6 to 0062f5da has its CatchHandler @ 0062f690 */
SendPropInt(ServerClassInit<DT_BeamSpotlight::ignored>(DT_BeamSpotlight::ignored*)::
g_SendProps + 0x348,0xc63a24,0x454,4,2,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
__cxa_guard_release(&ServerClassInit<DT_BeamSpotlight::ignored>(DT_BeamSpotlight::ignored*)::
g_SendProps);
__cxa_atexit(__tcf_0,0,&__dso_handle);
}
}
SendTable::Construct
((SendTable *)DT_BeamSpotlight::g_SendTable,
(SendProp *)
(ServerClassInit<DT_BeamSpotlight::ignored>(DT_BeamSpotlight::ignored*)::g_SendProps +
0x54),10,"DT_BeamSpotlight");
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.