ServerClassInit<DT_TeamplayRoundBasedRules::ignored>
0x004cdfb0 · 1047 bytes · __cdecl
_Z15ServerClassInitIN26DT_TeamplayRoundBasedRules7ignoredEEiPT_
Decompiled
int (1 param)
/* int ServerClassInit<DT_TeamplayRoundBasedRules::ignored>(DT_TeamplayRoundBasedRules::ignored*) */
int ServerClassInit<DT_TeamplayRoundBasedRules::ignored>(ignored *param_1)
{
int iVar1;
char *pcVar2;
undefined4 uVar3;
code *pcVar4;
undefined4 uVar5;
SendProp local_108 [84];
SendProp local_b4 [84];
SendProp local_60 [84];
if (ServerClassInit<DT_TeamplayRoundBasedRules::ignored>(DT_TeamplayRoundBasedRules::ignored*)::
g_SendProps == '\0') {
iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_TeamplayRoundBasedRules::ignored>(DT_TeamplayRoundBasedRules::ignored*)
::g_SendProps);
if (iVar1 != 0) {
/* try { // try from 004ce047 to 004ce04b has its CatchHandler @ 004ce3cb */
SendPropInt(ServerClassInit<DT_TeamplayRoundBasedRules::ignored>(DT_TeamplayRoundBasedRules::ignored*)
::g_SendProps,0xbfae4c,0,4,-1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 004ce08e to 004ce092 has its CatchHandler @ 004ce404 */
SendPropInt(ServerClassInit<DT_TeamplayRoundBasedRules::ignored>(DT_TeamplayRoundBasedRules::ignored*)
::g_SendProps + 0x54,0xc1ffe2,0x318,4,5,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 004ce0b5 to 004ce0b9 has its CatchHandler @ 004ce494 */
SendPropBool(ServerClassInit<DT_TeamplayRoundBasedRules::ignored>(DT_TeamplayRoundBasedRules::ignored*)
::g_SendProps + 0xa8,0xc1fff0,0x328);
/* try { // try from 004ce0fc to 004ce100 has its CatchHandler @ 004ce480 */
SendPropInt(ServerClassInit<DT_TeamplayRoundBasedRules::ignored>(DT_TeamplayRoundBasedRules::ignored*)
::g_SendProps + 0xfc,0xc20007,800,4,3,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
/* try { // try from 004ce123 to 004ce127 has its CatchHandler @ 004ce48a */
SendPropBool(ServerClassInit<DT_TeamplayRoundBasedRules::ignored>(DT_TeamplayRoundBasedRules::ignored*)
::g_SendProps + 0x150,0xc20016,0x31c);
/* try { // try from 004ce14a to 004ce14e has its CatchHandler @ 004ce458 */
SendPropBool(ServerClassInit<DT_TeamplayRoundBasedRules::ignored>(DT_TeamplayRoundBasedRules::ignored*)
::g_SendProps + 0x1a4,0xc20024,0x31d);
/* try { // try from 004ce171 to 004ce175 has its CatchHandler @ 004ce462 */
SendPropBool(ServerClassInit<DT_TeamplayRoundBasedRules::ignored>(DT_TeamplayRoundBasedRules::ignored*)
::g_SendProps + 0x1f8,0xc2002f,0x31e);
/* try { // try from 004ce198 to 004ce19c has its CatchHandler @ 004ce46c */
SendPropBool(ServerClassInit<DT_TeamplayRoundBasedRules::ignored>(DT_TeamplayRoundBasedRules::ignored*)
::g_SendProps + 0x24c,0xc20049,0x329);
/* try { // try from 004ce1bf to 004ce1c3 has its CatchHandler @ 004ce476 */
SendPropTime(ServerClassInit<DT_TeamplayRoundBasedRules::ignored>(DT_TeamplayRoundBasedRules::ignored*)
::g_SendProps + 0x2a0,0xc20061,0x32c);
/* try { // try from 004ce1e6 to 004ce1ea has its CatchHandler @ 004ce40b */
SendPropTime(ServerClassInit<DT_TeamplayRoundBasedRules::ignored>(DT_TeamplayRoundBasedRules::ignored*)
::g_SendProps + 0x2f4,0xc20076,0x330);
/* try { // try from 004ce20f to 004ce213 has its CatchHandler @ 004ce412 */
SendPropTime((char *)local_108,0xc20087,0x334);
/* try { // try from 004ce252 to 004ce256 has its CatchHandler @ 004ce419 */
SendPropArray3(0xf9f068,"m_flNextRespawnWave",0x334,4,0x20,local_108,
SendProxy_DataTableToDataTable,0x80);
SendProp::~SendProp(local_108);
uVar5 = 0x80;
pcVar4 = SendProxy_FloatToFloat;
/* try { // try from 004ce2b3 to 004ce2b7 has its CatchHandler @ 004ce427 */
SendPropFloat((char *)local_b4,0xc2009b,0x3d8,4,0x20,0.0,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 004ce2f6 to 004ce2fa has its CatchHandler @ 004ce42e */
SendPropArray3(0xf9f0bc,"m_TeamRespawnWaveTimes",0x3d8,4,0x20,local_b4,
SendProxy_DataTableToDataTable,0x80,pcVar4,uVar5);
SendProp::~SendProp(local_b4);
/* try { // try from 004ce324 to 004ce328 has its CatchHandler @ 004ce43c */
SendPropBool((char *)local_60,0xc200b2,0x3b4);
/* try { // try from 004ce367 to 004ce36b has its CatchHandler @ 004ce443 */
SendPropArray3(0xf9f110,"m_bTeamReady",0x3b4,1,0x20,local_60,SendProxy_DataTableToDataTable,
0x80);
SendProp::~SendProp(local_60);
uVar3 = 1;
uVar5 = 0x3d4;
pcVar2 = "m_bStopWatch";
/* try { // try from 004ce396 to 004ce39a has its CatchHandler @ 004ce451 */
SendPropBool(ServerClassInit<DT_TeamplayRoundBasedRules::ignored>(DT_TeamplayRoundBasedRules::ignored*)
::g_SendProps + 0x444,0xc200bf,0x3d4);
__cxa_guard_release(&ServerClassInit<DT_TeamplayRoundBasedRules::ignored>(DT_TeamplayRoundBasedRules::ignored*)
::g_SendProps,pcVar2,uVar5,uVar3);
__cxa_atexit(__tcf_0,0,&__dso_handle);
}
}
SendTable::Construct
((SendTable *)DT_TeamplayRoundBasedRules::g_SendTable,
(SendProp *)
(ServerClassInit<DT_TeamplayRoundBasedRules::ignored>(DT_TeamplayRoundBasedRules::ignored*)
::g_SendProps + 0x54),0xd,"DT_TeamplayRoundBasedRules");
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.