ServerClassInit<DT_LocalPlayerExclusive::ignored>
0x007bff10 · 1719 bytes · __cdecl
_Z15ServerClassInitIN23DT_LocalPlayerExclusive7ignoredEEiPT_
Decompiled
int (1 param)
/* int ServerClassInit<DT_LocalPlayerExclusive::ignored>(DT_LocalPlayerExclusive::ignored*) */
int ServerClassInit<DT_LocalPlayerExclusive::ignored>(ignored *param_1)
{
int iVar1;
undefined4 uVar2;
code *pcVar3;
undefined4 uVar4;
SendProp local_60 [84];
if (ServerClassInit<DT_LocalPlayerExclusive::ignored>(DT_LocalPlayerExclusive::ignored*)::
g_SendProps == '\0') {
iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_LocalPlayerExclusive::ignored>(DT_LocalPlayerExclusive::ignored*)
::g_SendProps);
if (iVar1 != 0) {
/* try { // try from 007bffa7 to 007bffab has its CatchHandler @ 007c05cb */
SendPropInt(ServerClassInit<DT_LocalPlayerExclusive::ignored>(DT_LocalPlayerExclusive::ignored*)
::g_SendProps,0xbfae4c,0,4,-1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 007bffde to 007bffe2 has its CatchHandler @ 007c05fa */
SendPropDataTable(ServerClassInit<DT_LocalPlayerExclusive::ignored>(DT_LocalPlayerExclusive::ignored*)
::g_SendProps + 0x54,0xcb8b89,(SendTable *)0x1a40,
(_func_void_ptr_SendProp_ptr_void_ptr_void_ptr_CSendProxyRecipients_ptr_int
*)&DT_Local::g_SendTable,'P');
uVar4 = 0x80;
pcVar3 = SendProxy_FloatToFloat;
/* try { // try from 007c0035 to 007c0039 has its CatchHandler @ 007c0616 */
SendPropFloat(ServerClassInit<DT_LocalPlayerExclusive::ignored>(DT_LocalPlayerExclusive::ignored*)
::g_SendProps + 0xa8,0xc5d214,0x2c4,4,8,1.12104e-44,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x40800000,
0xa0);
/* try { // try from 007c007b to 007c007f has its CatchHandler @ 007c0601 */
SendPropInt((char *)local_60,0xc5b2c4,0x1874,4,10,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
/* try { // try from 007c00be to 007c00c2 has its CatchHandler @ 007c0608 */
SendPropArray3(0xfef2dc,"m_iAmmo",0x1874,4,0x20,local_60,SendProxy_DataTableToDataTable,0x80,
pcVar3,uVar4);
SendProp::~SendProp(local_60);
/* try { // try from 007c010d to 007c0111 has its CatchHandler @ 007c0634 */
SendPropInt(ServerClassInit<DT_LocalPlayerExclusive::ignored>(DT_LocalPlayerExclusive::ignored*)
::g_SendProps + 0x150,0xcb8b91,0x1cc8,1,2,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
/* try { // try from 007c0154 to 007c0158 has its CatchHandler @ 007c063b */
SendPropInt(ServerClassInit<DT_LocalPlayerExclusive::ignored>(DT_LocalPlayerExclusive::ignored*)
::g_SendProps + 0x1a4,0xcb8b9d,0x2054,4,-1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)
(__DT_REL + 0x5c40),'\0');
/* try { // try from 007c019b to 007c019f has its CatchHandler @ 007c0642 */
SendPropInt(ServerClassInit<DT_LocalPlayerExclusive::ignored>(DT_LocalPlayerExclusive::ignored*)
::g_SendProps + 0x1f8,0xc086e6,0xd0,4,-1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 007c01f2 to 007c01f6 has its CatchHandler @ 007c0649 */
SendPropFloat(ServerClassInit<DT_LocalPlayerExclusive::ignored>(DT_LocalPlayerExclusive::ignored*)
::g_SendProps + 0x24c,0xcb8ba9,-0x2ec,4,0x20,3.67348e-40,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 007c0249 to 007c024d has its CatchHandler @ 007c0650 */
SendPropFloat(ServerClassInit<DT_LocalPlayerExclusive::ignored>(DT_LocalPlayerExclusive::ignored*)
::g_SendProps + 0x2a0,0xcb8bba,-0x2f0,4,0x20,3.67348e-40,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 007c02a0 to 007c02a4 has its CatchHandler @ 007c065a */
SendPropFloat(ServerClassInit<DT_LocalPlayerExclusive::ignored>(DT_LocalPlayerExclusive::ignored*)
::g_SendProps + 0x2f4,0xcb8bcb,-0x2f4,4,0x20,3.67348e-40,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 007c02f7 to 007c02fb has its CatchHandler @ 007c0664 */
SendPropVector(ServerClassInit<DT_LocalPlayerExclusive::ignored>(DT_LocalPlayerExclusive::ignored*)
::g_SendProps + 0x348,0xc5d176,0x268,0xc,0x14,0.0,-1000.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x447a0000,
0xc0);
/* try { // try from 007c032e to 007c0332 has its CatchHandler @ 007c066e */
SendPropEHandle(ServerClassInit<DT_LocalPlayerExclusive::ignored>(DT_LocalPlayerExclusive::ignored*)
::g_SendProps + 0x39c,0xc786aa,0x208c,4,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)
&DAT_ffffffff);
/* try { // try from 007c0385 to 007c0389 has its CatchHandler @ 007c0678 */
SendPropVector(ServerClassInit<DT_LocalPlayerExclusive::ignored>(DT_LocalPlayerExclusive::ignored*)
::g_SendProps + 0x3f0,0xcb8bdc,0x2090,0xc,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xc0);
/* try { // try from 007c03dc to 007c03e0 has its CatchHandler @ 007c0682 */
SendPropFloat(ServerClassInit<DT_LocalPlayerExclusive::ignored>(DT_LocalPlayerExclusive::ignored*)
::g_SendProps + 0x444,0xcb8bf2,0x209c,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 007c0433 to 007c0437 has its CatchHandler @ 007c068c */
SendPropFloat(ServerClassInit<DT_LocalPlayerExclusive::ignored>(DT_LocalPlayerExclusive::ignored*)
::g_SendProps + 0x498,0xcb8c07,0x20a0,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 007c048a to 007c048e has its CatchHandler @ 007c0696 */
SendPropFloat(ServerClassInit<DT_LocalPlayerExclusive::ignored>(DT_LocalPlayerExclusive::ignored*)
::g_SendProps + 0x4ec,0xcb8c1b,0x20a4,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 007c04b1 to 007c04b5 has its CatchHandler @ 007c06a0 */
SendPropBool(ServerClassInit<DT_LocalPlayerExclusive::ignored>(DT_LocalPlayerExclusive::ignored*)
::g_SendProps + 0x540,0xcb8c35,0x20a8);
/* try { // try from 007c0508 to 007c050c has its CatchHandler @ 007c06aa */
SendPropFloat(ServerClassInit<DT_LocalPlayerExclusive::ignored>(DT_LocalPlayerExclusive::ignored*)
::g_SendProps + 0x594,0xcb8c4d,0x1d5c,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 007c055f to 007c0563 has its CatchHandler @ 007c06b4 */
SendPropFloat(ServerClassInit<DT_LocalPlayerExclusive::ignored>(DT_LocalPlayerExclusive::ignored*)
::g_SendProps + 0x5e8,0xcb8c5b,0x20cc,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
pcVar3 = SendProxy_EHandleToInt;
uVar2 = 0xffffffff;
uVar4 = 4;
/* try { // try from 007c0596 to 007c059a has its CatchHandler @ 007c06be */
SendPropEHandle(ServerClassInit<DT_LocalPlayerExclusive::ignored>(DT_LocalPlayerExclusive::ignored*)
::g_SendProps + 0x63c,0xcb8c73,0x1dbc,4,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)
&DAT_ffffffff);
__cxa_guard_release(&ServerClassInit<DT_LocalPlayerExclusive::ignored>(DT_LocalPlayerExclusive::ignored*)
::g_SendProps);
__cxa_atexit(__tcf_1,0,&__dso_handle,uVar4,uVar2,pcVar3);
}
}
SendTable::Construct
((SendTable *)DT_LocalPlayerExclusive::g_SendTable,
(SendProp *)
(ServerClassInit<DT_LocalPlayerExclusive::ignored>(DT_LocalPlayerExclusive::ignored*)::
g_SendProps + 0x54),0x13,"DT_LocalPlayerExclusive");
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.