ServerClassInit<DT_FuncElevator::ignored>
0x006bcee0 · 929 bytes · __cdecl
_Z15ServerClassInitIN15DT_FuncElevator7ignoredEEiPT_
Decompiled
int (1 param)
/* int ServerClassInit<DT_FuncElevator::ignored>(DT_FuncElevator::ignored*) */
int ServerClassInit<DT_FuncElevator::ignored>(ignored *param_1)
{
int iVar1;
char *pcVar2;
undefined4 uVar3;
undefined4 uVar4;
if (ServerClassInit<DT_FuncElevator::ignored>(DT_FuncElevator::ignored*)::g_SendProps == '\0') {
iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_FuncElevator::ignored>(DT_FuncElevator::ignored*)
::g_SendProps);
if (iVar1 != 0) {
/* try { // try from 006bcf6f to 006bcf73 has its CatchHandler @ 006bd283 */
SendPropInt(ServerClassInit<DT_FuncElevator::ignored>(DT_FuncElevator::ignored*)::g_SendProps,
0xbfae4c,0,4,-1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 006bcfa7 to 006bcfab has its CatchHandler @ 006bd2b2 */
SendPropDataTable(ServerClassInit<DT_FuncElevator::ignored>(DT_FuncElevator::ignored*)::
g_SendProps + 0x54,0xc087aa,(SendTable *)0x0,
(_func_void_ptr_SendProp_ptr_void_ptr_void_ptr_CSendProxyRecipients_ptr_int
*)CBaseToggle::m_pClassSendTable,'P');
/* try { // try from 006bcfc6 to 006bcfca has its CatchHandler @ 006bd2b9 */
SendPropExclude(ServerClassInit<DT_FuncElevator::ignored>(DT_FuncElevator::ignored*)::
g_SendProps + 0xa8,"DT_BaseEntity");
/* try { // try from 006bd01d to 006bd021 has its CatchHandler @ 006bd2d7 */
SendPropVector(ServerClassInit<DT_FuncElevator::ignored>(DT_FuncElevator::ignored*)::
g_SendProps + 0xfc,0xbfae62,0x39c,0xc,-1,3.67348e-40,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
'`');
/* try { // try from 006bd074 to 006bd078 has its CatchHandler @ 006bd2de */
SendPropFloat(ServerClassInit<DT_FuncElevator::ignored>(DT_FuncElevator::ignored*)::
g_SendProps + 0x150,0xc24bb1,0x4e8,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 006bd0cb to 006bd0cf has its CatchHandler @ 006bd2e5 */
SendPropFloat(ServerClassInit<DT_FuncElevator::ignored>(DT_FuncElevator::ignored*)::
g_SendProps + 0x1a4,0xc8d11f,0x4ec,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 006bd122 to 006bd126 has its CatchHandler @ 006bd2ec */
SendPropFloat(ServerClassInit<DT_FuncElevator::ignored>(DT_FuncElevator::ignored*)::
g_SendProps + 0x1f8,0xc8d133,0x4f0,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 006bd179 to 006bd17d has its CatchHandler @ 006bd2f3 */
SendPropFloat(ServerClassInit<DT_FuncElevator::ignored>(DT_FuncElevator::ignored*)::
g_SendProps + 0x24c,0xc8d148,0x4f4,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 006bd1d0 to 006bd1d4 has its CatchHandler @ 006bd2fa */
SendPropFloat(ServerClassInit<DT_FuncElevator::ignored>(DT_FuncElevator::ignored*)::
g_SendProps + 0x2a0,0xc8d159,0x4f8,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 006bd227 to 006bd22b has its CatchHandler @ 006bd301 */
SendPropFloat(ServerClassInit<DT_FuncElevator::ignored>(DT_FuncElevator::ignored*)::
g_SendProps + 0x2f4,0xc70d12,0x4e4,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
uVar4 = 1;
uVar3 = 0x4fc;
pcVar2 = "m_isMoving";
/* try { // try from 006bd24e to 006bd252 has its CatchHandler @ 006bd308 */
SendPropBool(ServerClassInit<DT_FuncElevator::ignored>(DT_FuncElevator::ignored*)::g_SendProps
+ 0x348,0xc8d174,0x4fc);
__cxa_guard_release(&ServerClassInit<DT_FuncElevator::ignored>(DT_FuncElevator::ignored*)::
g_SendProps,pcVar2,uVar3,uVar4);
__cxa_atexit(__tcf_0,0,&__dso_handle);
}
}
SendTable::Construct
((SendTable *)DT_FuncElevator::g_SendTable,
(SendProp *)
(ServerClassInit<DT_FuncElevator::ignored>(DT_FuncElevator::ignored*)::g_SendProps +
0x54),10,"DT_FuncElevator");
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.