ServerClassInit<DT_CSLocalPlayerExclusive::ignored>
0x006558e0 · 984 bytes · __cdecl
_Z15ServerClassInitIN25DT_CSLocalPlayerExclusive7ignoredEEiPT_
Decompiled
int (1 param)
/* int ServerClassInit<DT_CSLocalPlayerExclusive::ignored>(DT_CSLocalPlayerExclusive::ignored*) */
int ServerClassInit<DT_CSLocalPlayerExclusive::ignored>(ignored *param_1)
{
int iVar1;
if (ServerClassInit<DT_CSLocalPlayerExclusive::ignored>(DT_CSLocalPlayerExclusive::ignored*)::
g_SendProps == '\0') {
iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_CSLocalPlayerExclusive::ignored>(DT_CSLocalPlayerExclusive::ignored*)
::g_SendProps);
if (iVar1 != 0) {
/* try { // try from 0065596f to 00655973 has its CatchHandler @ 00655cba */
SendPropInt(ServerClassInit<DT_CSLocalPlayerExclusive::ignored>(DT_CSLocalPlayerExclusive::ignored*)
::g_SendProps,0xbfae4c,0,4,-1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 006559c6 to 006559ca has its CatchHandler @ 00655ce9 */
SendPropFloat(ServerClassInit<DT_CSLocalPlayerExclusive::ignored>(DT_CSLocalPlayerExclusive::ignored*)
::g_SendProps + 0x54,0xc6cfcc,0x2848,4,0xe,0.0,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x453b8000,
0xa0);
/* try { // try from 00655a0d to 00655a11 has its CatchHandler @ 00655cf0 */
SendPropInt(ServerClassInit<DT_CSLocalPlayerExclusive::ignored>(DT_CSLocalPlayerExclusive::ignored*)
::g_SendProps + 0xa8,0xc6cfd8,0x284c,4,1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
/* try { // try from 00655a54 to 00655a58 has its CatchHandler @ 00655d0e */
SendPropInt(ServerClassInit<DT_CSLocalPlayerExclusive::ignored>(DT_CSLocalPlayerExclusive::ignored*)
::g_SendProps + 0xfc,0xc6cfe5,0x2850,4,8,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
/* try { // try from 00655aab to 00655aaf has its CatchHandler @ 00655d15 */
SendPropFloat(ServerClassInit<DT_CSLocalPlayerExclusive::ignored>(DT_CSLocalPlayerExclusive::ignored*)
::g_SendProps + 0x150,0xc6cff3,0x2854,4,8,0.0,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x3f800000,
0xa0);
/* try { // try from 00655ad2 to 00655ad6 has its CatchHandler @ 00655d1c */
SendPropBool(ServerClassInit<DT_CSLocalPlayerExclusive::ignored>(DT_CSLocalPlayerExclusive::ignored*)
::g_SendProps + 0x1a4,0xc6d008,0x2898);
/* try { // try from 00655b29 to 00655b2d has its CatchHandler @ 00655d23 */
SendPropVectorXY(ServerClassInit<DT_CSLocalPlayerExclusive::ignored>(DT_CSLocalPlayerExclusive::ignored*)
::g_SendProps + 0x1f8,0xbfae62,0x39c,0xc,-1,3.67348e-40,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xc0);
/* try { // try from 00655b80 to 00655b84 has its CatchHandler @ 00655d2a */
SendPropFloat(ServerClassInit<DT_CSLocalPlayerExclusive::ignored>(DT_CSLocalPlayerExclusive::ignored*)
::g_SendProps + 0x24c,0xc6d01c,-0x3a4,4,-1,3.67348e-40,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
'\x10');
/* try { // try from 00655bd7 to 00655bdb has its CatchHandler @ 00655d31 */
SendPropFloat(ServerClassInit<DT_CSLocalPlayerExclusive::ignored>(DT_CSLocalPlayerExclusive::ignored*)
::g_SendProps + 0x2a0,0xc6d02b,-0x3b8,4,10,1.12104e-44,-64.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x42800000,
0xa0);
/* try { // try from 00655c2e to 00655c32 has its CatchHandler @ 00655d38 */
SendPropFloat(ServerClassInit<DT_CSLocalPlayerExclusive::ignored>(DT_CSLocalPlayerExclusive::ignored*)
::g_SendProps + 0x2f4,0xc6d03e,-0x3bc,4,10,1.12104e-44,-64.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x42800000,
0xa0);
/* try { // try from 00655c85 to 00655c89 has its CatchHandler @ 00655d3f */
SendPropFloat(ServerClassInit<DT_CSLocalPlayerExclusive::ignored>(DT_CSLocalPlayerExclusive::ignored*)
::g_SendProps + 0x348,0xc6d051,-0x3c0,4,-1,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
__cxa_guard_release(&ServerClassInit<DT_CSLocalPlayerExclusive::ignored>(DT_CSLocalPlayerExclusive::ignored*)
::g_SendProps);
__cxa_atexit(__tcf_2,0,&__dso_handle);
}
}
SendTable::Construct
((SendTable *)DT_CSLocalPlayerExclusive::g_SendTable,
(SendProp *)
(ServerClassInit<DT_CSLocalPlayerExclusive::ignored>(DT_CSLocalPlayerExclusive::ignored*)
::g_SendProps + 0x54),10,"DT_CSLocalPlayerExclusive");
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.