ServerClassInit<DT_Beam::ignored>
0x00427f10 · 2155 bytes · __cdecl
_Z15ServerClassInitIN7DT_Beam7ignoredEEiPT_
Decompiled
int (1 param)
/* int ServerClassInit<DT_Beam::ignored>(DT_Beam::ignored*) */
int ServerClassInit<DT_Beam::ignored>(ignored *param_1)
{
int iVar1;
undefined4 uVar2;
undefined4 uVar3;
code *pcVar4;
SendProp local_b4 [84];
SendProp local_60 [84];
if (ServerClassInit<DT_Beam::ignored>(DT_Beam::ignored*)::g_SendProps == '\0') {
iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_Beam::ignored>(DT_Beam::ignored*)::g_SendProps);
if (iVar1 != 0) {
/* try { // try from 00427fa7 to 00427fab has its CatchHandler @ 0042877f */
SendPropInt(ServerClassInit<DT_Beam::ignored>(DT_Beam::ignored*)::g_SendProps,0xbfae4c,0,4,-1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 00427fb6 to 00427fba has its CatchHandler @ 004287b4 */
iVar1 = Q_log2(6);
/* try { // try from 00427ff9 to 00427ffd has its CatchHandler @ 004287bb */
SendPropInt(ServerClassInit<DT_Beam::ignored>(DT_Beam::ignored*)::g_SendProps + 0x54,0xc0b8e4,
0x458,4,iVar1 + 1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
/* try { // try from 00428040 to 00428044 has its CatchHandler @ 004287d7 */
SendPropInt(ServerClassInit<DT_Beam::ignored>(DT_Beam::ignored*)::g_SendProps + 0xa8,0xc0b8f0,
0x45c,4,0x11,(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1
,'\0');
/* try { // try from 00428087 to 0042808b has its CatchHandler @ 004287de */
SendPropInt(ServerClassInit<DT_Beam::ignored>(DT_Beam::ignored*)::g_SendProps + 0xfc,0xc0b8fd,
0x450,4,5,(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,
'\0');
/* try { // try from 004280c0 to 004280c4 has its CatchHandler @ 004287e5 */
SendPropEHandle((char *)local_b4,0xc0b90c,0x460,4,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)
&DAT_ffffffff);
/* try { // try from 00428103 to 00428107 has its CatchHandler @ 004287ec */
SendPropArray3(0xf75cd0,"m_hAttachEntity",0x460,4,10,local_b4,SendProxy_DataTableToDataTable,
0x80);
SendProp::~SendProp(local_b4);
/* try { // try from 00428151 to 00428155 has its CatchHandler @ 004287fa */
SendPropInt((char *)local_60,0xc0b91c,0x488,4,5,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
/* try { // try from 00428194 to 00428198 has its CatchHandler @ 00428801 */
SendPropArray3(0xf75d24,"m_nAttachIndex",0x488,4,10,local_60,SendProxy_DataTableToDataTable,
0x80);
SendProp::~SendProp(local_60);
/* try { // try from 004281e3 to 004281e7 has its CatchHandler @ 0042880f */
SendPropInt(ServerClassInit<DT_Beam::ignored>(DT_Beam::ignored*)::g_SendProps + 0x1f8,0xc0b92b
,0x454,4,0x10,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
/* try { // try from 0042823a to 0042823e has its CatchHandler @ 00428819 */
SendPropFloat(ServerClassInit<DT_Beam::ignored>(DT_Beam::ignored*)::g_SendProps + 0x24c,
0xc0b938,0x4bc,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 00428291 to 00428295 has its CatchHandler @ 00428823 */
SendPropFloat(ServerClassInit<DT_Beam::ignored>(DT_Beam::ignored*)::g_SendProps + 0x2a0,
0xc0b945,0x4b0,4,10,2.24208e-44,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x42cc999a,
0xa0);
/* try { // try from 004282e8 to 004282ec has its CatchHandler @ 0042882d */
SendPropFloat(ServerClassInit<DT_Beam::ignored>(DT_Beam::ignored*)::g_SendProps + 0x2f4,
0xc0b94e,0x4b4,4,10,2.24208e-44,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x42cc999a,
0xa0);
/* try { // try from 0042833f to 00428343 has its CatchHandler @ 00428837 */
SendPropFloat(ServerClassInit<DT_Beam::ignored>(DT_Beam::ignored*)::g_SendProps + 0x348,
0xc0b95a,0x4b8,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 00428396 to 0042839a has its CatchHandler @ 00428841 */
SendPropFloat(ServerClassInit<DT_Beam::ignored>(DT_Beam::ignored*)::g_SendProps + 0x39c,
0xc0b968,0x4c0,4,8,1.12104e-44,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x42800000,
0xa0);
/* try { // try from 004283ed to 004283f1 has its CatchHandler @ 0042884b */
SendPropFloat(ServerClassInit<DT_Beam::ignored>(DT_Beam::ignored*)::g_SendProps + 0x3f0,
0xc0b975,0x4c4,4,8,1.12104e-44,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x43800000,
0xa0);
/* try { // try from 00428444 to 00428448 has its CatchHandler @ 00428855 */
SendPropFloat(ServerClassInit<DT_Beam::ignored>(DT_Beam::ignored*)::g_SendProps + 0x444,
0xc0b983,0x4c8,4,8,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x42c80000,
0xa0);
/* try { // try from 0042848b to 0042848f has its CatchHandler @ 0042885f */
SendPropInt(ServerClassInit<DT_Beam::ignored>(DT_Beam::ignored*)::g_SendProps + 0x498,0xc0b98c
,0x120,1,8,(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,
'\0');
/* try { // try from 004284d2 to 004284d6 has its CatchHandler @ 00428869 */
SendPropInt(ServerClassInit<DT_Beam::ignored>(DT_Beam::ignored*)::g_SendProps + 0x4ec,0xc0b998
,0x121,1,8,(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,
'\0');
/* try { // try from 00428529 to 0042852d has its CatchHandler @ 00428873 */
SendPropFloat(ServerClassInit<DT_Beam::ignored>(DT_Beam::ignored*)::g_SendProps + 0x540,
0xc0b9a6,0x440,4,10,2.24208e-44,-25.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x41c80000,
0xa0);
/* try { // try from 00428580 to 00428584 has its CatchHandler @ 0042887d */
SendPropFloat(ServerClassInit<DT_Beam::ignored>(DT_Beam::ignored*)::g_SendProps + 0x594,
0xc0b9b4,0x444,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x42c80000,
0xa0);
/* try { // try from 004285d7 to 004285db has its CatchHandler @ 00428887 */
SendPropFloat(ServerClassInit<DT_Beam::ignored>(DT_Beam::ignored*)::g_SendProps + 0x5e8,
0xc0b9c6,0x4cc,4,0x14,3.67353e-40,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x43800000,
0xa0);
/* try { // try from 0042861e to 00428622 has its CatchHandler @ 00428891 */
SendPropInt(ServerClassInit<DT_Beam::ignored>(DT_Beam::ignored*)::g_SendProps + 0x63c,0xc0b9d0
,0x124,4,0x20,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)
((int)&__DT_REL[0x5c40].r_offset + 1),0x80);
/* try { // try from 00428675 to 00428679 has its CatchHandler @ 0042889b */
SendPropVector(ServerClassInit<DT_Beam::ignored>(DT_Beam::ignored*)::g_SendProps + 0x690,
0xc0b9dc,0x4d0,0xc,-1,5.73972e-42,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xc0);
/* try { // try from 004286bc to 004286c0 has its CatchHandler @ 004288a5 */
SendPropInt(ServerClassInit<DT_Beam::ignored>(DT_Beam::ignored*)::g_SendProps + 0x6e4,0xc0a9d0
,0x122,2,0xc,(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0
,'\0');
/* try { // try from 00428713 to 00428717 has its CatchHandler @ 004288af */
SendPropVector(ServerClassInit<DT_Beam::ignored>(DT_Beam::ignored*)::g_SendProps + 0x738,
0xbfae62,0x39c,0xc,0x13,3.67342e-40,-16384.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x46800000,
0xc0);
pcVar4 = SendProxy_EHandleToInt;
uVar3 = 0xffffffff;
uVar2 = 4;
/* try { // try from 0042874a to 0042874e has its CatchHandler @ 004288b9 */
SendPropEHandle(ServerClassInit<DT_Beam::ignored>(DT_Beam::ignored*)::g_SendProps + 0x78c,
0xc0b9e8,0x188,4,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)
&DAT_ffffffff);
__cxa_guard_release(&ServerClassInit<DT_Beam::ignored>(DT_Beam::ignored*)::g_SendProps);
__cxa_atexit(__tcf_0,0,&__dso_handle,uVar2,uVar3,pcVar4);
}
}
SendTable::Construct
((SendTable *)DT_Beam::g_SendTable,
(SendProp *)(ServerClassInit<DT_Beam::ignored>(DT_Beam::ignored*)::g_SendProps + 0x54),
0x17,"DT_Beam");
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.