ServerClassInit<DT_BasePropDoor::ignored>
0x007f2d00 · 742 bytes · __cdecl
_Z15ServerClassInitIN15DT_BasePropDoor7ignoredEEiPT_
Decompiled
int (1 param)
/* int ServerClassInit<DT_BasePropDoor::ignored>(DT_BasePropDoor::ignored*) */
int ServerClassInit<DT_BasePropDoor::ignored>(ignored *param_1)
{
int iVar1;
undefined4 uVar2;
undefined4 uVar3;
code *pcVar4;
if (ServerClassInit<DT_BasePropDoor::ignored>(DT_BasePropDoor::ignored*)::g_SendProps == '\0') {
iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_BasePropDoor::ignored>(DT_BasePropDoor::ignored*)
::g_SendProps);
if (iVar1 != 0) {
/* try { // try from 007f2d8f to 007f2d93 has its CatchHandler @ 007f2fe8 */
SendPropInt(ServerClassInit<DT_BasePropDoor::ignored>(DT_BasePropDoor::ignored*)::g_SendProps,
0xbfae4c,0,4,-1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 007f2dc7 to 007f2dcb has its CatchHandler @ 007f3017 */
SendPropDataTable(ServerClassInit<DT_BasePropDoor::ignored>(DT_BasePropDoor::ignored*)::
g_SendProps + 0x54,0xc087aa,(SendTable *)0x0,
(_func_void_ptr_SendProp_ptr_void_ptr_void_ptr_CSendProxyRecipients_ptr_int
*)CDynamicProp::m_pClassSendTable,'P');
/* try { // try from 007f2de6 to 007f2dea has its CatchHandler @ 007f3035 */
SendPropExclude(ServerClassInit<DT_BasePropDoor::ignored>(DT_BasePropDoor::ignored*)::
g_SendProps + 0xa8,"DT_BaseAnimating");
/* try { // try from 007f2e05 to 007f2e09 has its CatchHandler @ 007f303c */
SendPropExclude(ServerClassInit<DT_BasePropDoor::ignored>(DT_BasePropDoor::ignored*)::
g_SendProps + 0xfc,"DT_BaseAnimating");
/* try { // try from 007f2e24 to 007f2e28 has its CatchHandler @ 007f3043 */
SendPropExclude(ServerClassInit<DT_BasePropDoor::ignored>(DT_BasePropDoor::ignored*)::
g_SendProps + 0x150,"DT_BaseAnimating");
/* try { // try from 007f2e43 to 007f2e47 has its CatchHandler @ 007f304a */
SendPropExclude(ServerClassInit<DT_BasePropDoor::ignored>(DT_BasePropDoor::ignored*)::
g_SendProps + 0x1a4,"DT_BaseAnimatingOverlay");
/* try { // try from 007f2e62 to 007f2e66 has its CatchHandler @ 007f3051 */
SendPropExclude(ServerClassInit<DT_BasePropDoor::ignored>(DT_BasePropDoor::ignored*)::
g_SendProps + 0x1f8,"DT_BaseFlex");
/* try { // try from 007f2e81 to 007f2e85 has its CatchHandler @ 007f3058 */
SendPropExclude(ServerClassInit<DT_BasePropDoor::ignored>(DT_BasePropDoor::ignored*)::
g_SendProps + 0x24c,"DT_BaseFlex");
/* try { // try from 007f2ea0 to 007f2ea4 has its CatchHandler @ 007f305f */
SendPropExclude(ServerClassInit<DT_BasePropDoor::ignored>(DT_BasePropDoor::ignored*)::
g_SendProps + 0x2a0,"DT_AnimTimeMustBeFirst");
/* try { // try from 007f2ee7 to 007f2eeb has its CatchHandler @ 007f3066 */
SendPropInt(ServerClassInit<DT_BasePropDoor::ignored>(DT_BasePropDoor::ignored*)::g_SendProps
+ 0x2f4,0xc5d28a,0x148,4,0x10,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'`');
/* try { // try from 007f2f2e to 007f2f32 has its CatchHandler @ 007f306d */
SendPropInt(ServerClassInit<DT_BasePropDoor::ignored>(DT_BasePropDoor::ignored*)::g_SendProps
+ 0x348,0xcc0f1c,0x15f4,4,3,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
/* try { // try from 007f2f55 to 007f2f59 has its CatchHandler @ 007f3077 */
SendPropBool(ServerClassInit<DT_BasePropDoor::ignored>(DT_BasePropDoor::ignored*)::g_SendProps
+ 0x39c,0xc66366,0x1624);
/* try { // try from 007f2f7c to 007f2f80 has its CatchHandler @ 007f3081 */
SendPropBool(ServerClassInit<DT_BasePropDoor::ignored>(DT_BasePropDoor::ignored*)::g_SendProps
+ 0x3f0,0xcc0f29,0x162e);
pcVar4 = SendProxy_EHandleToInt;
uVar3 = 0xffffffff;
uVar2 = 4;
/* try { // try from 007f2fb3 to 007f2fb7 has its CatchHandler @ 007f308b */
SendPropEHandle(ServerClassInit<DT_BasePropDoor::ignored>(DT_BasePropDoor::ignored*)::
g_SendProps + 0x444,0xcc0f38,0x1668,4,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)
&DAT_ffffffff);
__cxa_guard_release(&ServerClassInit<DT_BasePropDoor::ignored>(DT_BasePropDoor::ignored*)::
g_SendProps);
__cxa_atexit(__tcf_3,0,&__dso_handle,uVar2,uVar3,pcVar4);
}
}
SendTable::Construct
((SendTable *)DT_BasePropDoor::g_SendTable,
(SendProp *)
(ServerClassInit<DT_BasePropDoor::ignored>(DT_BasePropDoor::ignored*)::g_SendProps +
0x54),0xd,"DT_BasePropDoor");
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.