ServerClassInit<DT_TransitioningPlayer::ignored>
0x005227f0 · 1264 bytes · __cdecl
_Z15ServerClassInitIN22DT_TransitioningPlayer7ignoredEEiPT_
Decompiled
int (1 param)
/* int ServerClassInit<DT_TransitioningPlayer::ignored>(DT_TransitioningPlayer::ignored*) */
int ServerClassInit<DT_TransitioningPlayer::ignored>(ignored *param_1)
{
int iVar1;
if (ServerClassInit<DT_TransitioningPlayer::ignored>(DT_TransitioningPlayer::ignored*)::
g_SendProps == '\0') {
iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_TransitioningPlayer::ignored>(DT_TransitioningPlayer::ignored*)
::g_SendProps);
if (iVar1 != 0) {
/* try { // try from 0052287f to 00522883 has its CatchHandler @ 00522ce2 */
SendPropInt(ServerClassInit<DT_TransitioningPlayer::ignored>(DT_TransitioningPlayer::ignored*)
::g_SendProps,0xbfae4c,0,4,-1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 005228b7 to 005228bb has its CatchHandler @ 00522d11 */
SendPropDataTable(ServerClassInit<DT_TransitioningPlayer::ignored>(DT_TransitioningPlayer::ignored*)
::g_SendProps + 0x54,0xc087aa,(SendTable *)0x0,
(_func_void_ptr_SendProp_ptr_void_ptr_void_ptr_CSendProxyRecipients_ptr_int
*)CBaseFlex::m_pClassSendTable,'P');
/* try { // try from 005228fe to 00522902 has its CatchHandler @ 00522d2f */
SendPropInt(ServerClassInit<DT_TransitioningPlayer::ignored>(DT_TransitioningPlayer::ignored*)
::g_SendProps + 0xa8,0xc2ed3a,0x1a58,4,-1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 00522945 to 00522949 has its CatchHandler @ 00522d36 */
SendPropInt(ServerClassInit<DT_TransitioningPlayer::ignored>(DT_TransitioningPlayer::ignored*)
::g_SendProps + 0xfc,0xc2ed4c,0x1a48,4,-1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 0052298c to 00522990 has its CatchHandler @ 00522d3d */
SendPropInt(ServerClassInit<DT_TransitioningPlayer::ignored>(DT_TransitioningPlayer::ignored*)
::g_SendProps + 0x150,0xc2ed55,0x1a50,4,-1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 005229d3 to 005229d7 has its CatchHandler @ 00522d44 */
SendPropInt(ServerClassInit<DT_TransitioningPlayer::ignored>(DT_TransitioningPlayer::ignored*)
::g_SendProps + 0x1a4,0xc2ed5e,0x1a4c,4,-1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 00522a1a to 00522a1e has its CatchHandler @ 00522d4b */
SendPropInt(ServerClassInit<DT_TransitioningPlayer::ignored>(DT_TransitioningPlayer::ignored*)
::g_SendProps + 0x1f8,0xc2ed66,0x100,4,10,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\x10');
/* try { // try from 00522a61 to 00522a65 has its CatchHandler @ 00522d52 */
SendPropInt(ServerClassInit<DT_TransitioningPlayer::ignored>(DT_TransitioningPlayer::ignored*)
::g_SendProps + 0x24c,0xc2ed70,0x1a54,4,-1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 00522a88 to 00522a8c has its CatchHandler @ 00522d59 */
SendPropBool(ServerClassInit<DT_TransitioningPlayer::ignored>(DT_TransitioningPlayer::ignored*)
::g_SendProps + 0x2a0,0xc2ed7f,0x1a5c);
/* try { // try from 00522aaf to 00522ab3 has its CatchHandler @ 00522d60 */
SendPropBool(ServerClassInit<DT_TransitioningPlayer::ignored>(DT_TransitioningPlayer::ignored*)
::g_SendProps + 0x2f4,0xc2ed89,0x1a5d);
/* try { // try from 00522ad6 to 00522ada has its CatchHandler @ 00522d67 */
SendPropBool(ServerClassInit<DT_TransitioningPlayer::ignored>(DT_TransitioningPlayer::ignored*)
::g_SendProps + 0x348,0xc2ed93,0x1a5e);
/* try { // try from 00522afd to 00522b01 has its CatchHandler @ 00522d71 */
SendPropBool(ServerClassInit<DT_TransitioningPlayer::ignored>(DT_TransitioningPlayer::ignored*)
::g_SendProps + 0x39c,0xc2eda5,0x1a5f);
/* try { // try from 00522b3c to 00522b40 has its CatchHandler @ 00522d7b */
SendPropString(ServerClassInit<DT_TransitioningPlayer::ignored>(DT_TransitioningPlayer::ignored*)
::g_SendProps + 0x3f0,0xc2edac,0x1a60,0x20,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,0x90);
/* try { // try from 00522b83 to 00522b87 has its CatchHandler @ 00522d85 */
SendPropInt(ServerClassInit<DT_TransitioningPlayer::ignored>(DT_TransitioningPlayer::ignored*)
::g_SendProps + 0x444,0xc2edb9,0x1a80,4,-1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 00522baa to 00522bae has its CatchHandler @ 00522d8f */
SendPropBool(ServerClassInit<DT_TransitioningPlayer::ignored>(DT_TransitioningPlayer::ignored*)
::g_SendProps + 0x498,0xc2edc5,0x1a84);
/* try { // try from 00522bd1 to 00522bd5 has its CatchHandler @ 00522d99 */
SendPropBool(ServerClassInit<DT_TransitioningPlayer::ignored>(DT_TransitioningPlayer::ignored*)
::g_SendProps + 0x4ec,0xc2edd2,0x1a85);
/* try { // try from 00522bf8 to 00522bfc has its CatchHandler @ 00522da3 */
SendPropBool(ServerClassInit<DT_TransitioningPlayer::ignored>(DT_TransitioningPlayer::ignored*)
::g_SendProps + 0x540,0xc2eddf,0x1a86);
/* try { // try from 00522c1f to 00522c23 has its CatchHandler @ 00522dad */
SendPropBool(ServerClassInit<DT_TransitioningPlayer::ignored>(DT_TransitioningPlayer::ignored*)
::g_SendProps + 0x594,0xc2edf0,0x1a87);
/* try { // try from 00522c66 to 00522c6a has its CatchHandler @ 00522db7 */
SendPropInt(ServerClassInit<DT_TransitioningPlayer::ignored>(DT_TransitioningPlayer::ignored*)
::g_SendProps + 0x5e8,0xc2edff,0x1a88,4,-1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 00522cad to 00522cb1 has its CatchHandler @ 00522dc1 */
SendPropInt(ServerClassInit<DT_TransitioningPlayer::ignored>(DT_TransitioningPlayer::ignored*)
::g_SendProps + 0x63c,0xc2ee11,0x1a8c,4,-1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
__cxa_guard_release(&ServerClassInit<DT_TransitioningPlayer::ignored>(DT_TransitioningPlayer::ignored*)
::g_SendProps);
__cxa_atexit(__tcf_0,0,&__dso_handle);
}
}
SendTable::Construct
((SendTable *)DT_TransitioningPlayer::g_SendTable,
(SendProp *)
(ServerClassInit<DT_TransitioningPlayer::ignored>(DT_TransitioningPlayer::ignored*)::
g_SendProps + 0x54),0x13,"DT_TransitioningPlayer");
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.