ServerClassInit<DT_SlideshowDisplay::ignored>
0x00823f00 · 850 bytes · __cdecl
_Z15ServerClassInitIN19DT_SlideshowDisplay7ignoredEEiPT_
Decompiled
int (1 param)
/* int ServerClassInit<DT_SlideshowDisplay::ignored>(DT_SlideshowDisplay::ignored*) */
int ServerClassInit<DT_SlideshowDisplay::ignored>(ignored *param_1)
{
int iVar1;
char *pcVar2;
undefined4 uVar3;
undefined4 uVar4;
SendProp local_60 [84];
if (ServerClassInit<DT_SlideshowDisplay::ignored>(DT_SlideshowDisplay::ignored*)::g_SendProps ==
'\0') {
iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_SlideshowDisplay::ignored>(DT_SlideshowDisplay::ignored*)
::g_SendProps);
if (iVar1 != 0) {
/* try { // try from 00823f97 to 00823f9b has its CatchHandler @ 00824256 */
SendPropInt(ServerClassInit<DT_SlideshowDisplay::ignored>(DT_SlideshowDisplay::ignored*)::
g_SendProps,0xbfae4c,0,4,-1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 00823fcf to 00823fd3 has its CatchHandler @ 00824285 */
SendPropDataTable(ServerClassInit<DT_SlideshowDisplay::ignored>(DT_SlideshowDisplay::ignored*)
::g_SendProps + 0x54,0xc087aa,(SendTable *)0x0,
(_func_void_ptr_SendProp_ptr_void_ptr_void_ptr_CSendProxyRecipients_ptr_int
*)CBaseEntity::m_pClassSendTable,'P');
/* try { // try from 00823ff6 to 00823ffa has its CatchHandler @ 0082428c */
SendPropBool(ServerClassInit<DT_SlideshowDisplay::ignored>(DT_SlideshowDisplay::ignored*)::
g_SendProps + 0xa8,0xc57b59,0x440);
/* try { // try from 00824035 to 00824039 has its CatchHandler @ 008242aa */
SendPropString(ServerClassInit<DT_SlideshowDisplay::ignored>(DT_SlideshowDisplay::ignored*)::
g_SendProps + 0xfc,0xcce34e,0x441,0x80,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,0x90);
/* try { // try from 00824074 to 00824078 has its CatchHandler @ 008242b1 */
SendPropString(ServerClassInit<DT_SlideshowDisplay::ignored>(DT_SlideshowDisplay::ignored*)::
g_SendProps + 0x150,0xcce35e,0x4c1,0x80,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,0x90);
/* try { // try from 008240ba to 008240be has its CatchHandler @ 008242b8 */
SendPropInt((char *)local_60,0xcce375,0x55c,1,8,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
/* try { // try from 008240fd to 00824101 has its CatchHandler @ 008242bf */
SendPropArray3(0xff60c4,"m_chCurrentSlideLists",0x55c,1,0x10,local_60,
SendProxy_DataTableToDataTable,0x80);
SendProp::~SendProp(local_60);
/* try { // try from 0082415c to 00824160 has its CatchHandler @ 008242cd */
SendPropFloat(ServerClassInit<DT_SlideshowDisplay::ignored>(DT_SlideshowDisplay::ignored*)::
g_SendProps + 0x1f8,0xcce38b,0x56c,4,0xb,0.0,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x41a00000,
0xa0);
/* try { // try from 008241b3 to 008241b7 has its CatchHandler @ 008242d4 */
SendPropFloat(ServerClassInit<DT_SlideshowDisplay::ignored>(DT_SlideshowDisplay::ignored*)::
g_SendProps + 0x24c,0xcce39b,0x570,4,0xb,0.0,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x41a00000,
0xa0);
/* try { // try from 008241fa to 008241fe has its CatchHandler @ 008242db */
SendPropInt(ServerClassInit<DT_SlideshowDisplay::ignored>(DT_SlideshowDisplay::ignored*)::
g_SendProps + 0x2a0,0xcce3ab,0x574,4,2,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
uVar4 = 1;
uVar3 = 0x578;
pcVar2 = "m_bNoListRepeats";
/* try { // try from 00824221 to 00824225 has its CatchHandler @ 008242e5 */
SendPropBool(ServerClassInit<DT_SlideshowDisplay::ignored>(DT_SlideshowDisplay::ignored*)::
g_SendProps + 0x2f4,0xcce3b8,0x578);
__cxa_guard_release(&ServerClassInit<DT_SlideshowDisplay::ignored>(DT_SlideshowDisplay::ignored*)
::g_SendProps,pcVar2,uVar3,uVar4);
__cxa_atexit(__tcf_0,0,&__dso_handle);
}
}
SendTable::Construct
((SendTable *)DT_SlideshowDisplay::g_SendTable,
(SendProp *)
(ServerClassInit<DT_SlideshowDisplay::ignored>(DT_SlideshowDisplay::ignored*)::
g_SendProps + 0x54),9,"DT_SlideshowDisplay");
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.