ServerClassInit<DT_PoseController::ignored>
0x004967f0 · 1204 bytes · __cdecl
_Z15ServerClassInitIN17DT_PoseController7ignoredEEiPT_
Decompiled
int (1 param)
/* int ServerClassInit<DT_PoseController::ignored>(DT_PoseController::ignored*) */
int ServerClassInit<DT_PoseController::ignored>(ignored *param_1)
{
int iVar1;
SendProp local_b4 [84];
SendProp local_60 [84];
if (ServerClassInit<DT_PoseController::ignored>(DT_PoseController::ignored*)::g_SendProps == '\0')
{
iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_PoseController::ignored>(DT_PoseController::ignored*)
::g_SendProps);
if (iVar1 != 0) {
/* try { // try from 00496887 to 0049688b has its CatchHandler @ 00496ca8 */
SendPropInt(ServerClassInit<DT_PoseController::ignored>(DT_PoseController::ignored*)::
g_SendProps,0xbfae4c,0,4,-1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 004968bf to 004968c3 has its CatchHandler @ 00496cdd */
SendPropDataTable(ServerClassInit<DT_PoseController::ignored>(DT_PoseController::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 004968f8 to 004968fc has its CatchHandler @ 00496ce4 */
SendPropEHandle((char *)local_b4,0xc19294,0x440,4,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)
&DAT_ffffffff);
/* try { // try from 0049693b to 0049693f has its CatchHandler @ 00496d05 */
SendPropArray3(0xf7ee88,"m_hProps",0x440,4,4,local_b4,SendProxy_DataTableToDataTable,0x80);
SendProp::~SendProp(local_b4);
/* try { // try from 00496989 to 0049698d has its CatchHandler @ 00496d13 */
SendPropInt((char *)local_60,0xc1929d,0x450,1,5,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
/* try { // try from 004969cc to 004969d0 has its CatchHandler @ 00496d1a */
SendPropArray3(0xf7eedc,"m_chPoseIndex",0x450,1,4,local_60,SendProxy_DataTableToDataTable,0x80
);
SendProp::~SendProp(local_60);
/* try { // try from 004969fb to 004969ff has its CatchHandler @ 00496d28 */
SendPropBool(ServerClassInit<DT_PoseController::ignored>(DT_PoseController::ignored*)::
g_SendProps + 0x150,0xc192ab,0x455);
/* try { // try from 00496a52 to 00496a56 has its CatchHandler @ 00496d32 */
SendPropFloat(ServerClassInit<DT_PoseController::ignored>(DT_PoseController::ignored*)::
g_SendProps + 0x1a4,0xc192be,0x460,4,0xb,0.0,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x3f800000,
0xa0);
/* try { // try from 00496aa9 to 00496aad has its CatchHandler @ 00496d3c */
SendPropFloat(ServerClassInit<DT_PoseController::ignored>(DT_PoseController::ignored*)::
g_SendProps + 0x1f8,0xc192cb,0x464,4,0xb,0.0,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x41200000,
0xa0);
/* try { // try from 00496ad0 to 00496ad4 has its CatchHandler @ 00496d46 */
SendPropBool(ServerClassInit<DT_PoseController::ignored>(DT_PoseController::ignored*)::
g_SendProps + 0x24c,0xc192e0,0x468);
/* try { // try from 00496b27 to 00496b2b has its CatchHandler @ 00496d50 */
SendPropFloat(ServerClassInit<DT_PoseController::ignored>(DT_PoseController::ignored*)::
g_SendProps + 0x2a0,0xc192f5,0x46c,4,0xb,0.0,-10.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x41200000,
0xa0);
/* try { // try from 00496b6e to 00496b72 has its CatchHandler @ 00496d5a */
SendPropInt(ServerClassInit<DT_PoseController::ignored>(DT_PoseController::ignored*)::
g_SendProps + 0x2f4,0xc19307,0x470,4,3,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
/* try { // try from 00496bc5 to 00496bc9 has its CatchHandler @ 00496d64 */
SendPropFloat(ServerClassInit<DT_PoseController::ignored>(DT_PoseController::ignored*)::
g_SendProps + 0x348,0xc19313,0x474,4,0xb,0.0,-1.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x3f800000,
0xa0);
/* try { // try from 00496c1c to 00496c20 has its CatchHandler @ 00496d6e */
SendPropFloat(ServerClassInit<DT_PoseController::ignored>(DT_PoseController::ignored*)::
g_SendProps + 0x39c,0xc19325,0x478,4,0xb,0.0,-10.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x41200000,
0xa0);
/* try { // try from 00496c73 to 00496c77 has its CatchHandler @ 00496d78 */
SendPropFloat(ServerClassInit<DT_PoseController::ignored>(DT_PoseController::ignored*)::
g_SendProps + 0x3f0,0xc19331,0x47c,4,0xb,0.0,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x41200000,
0xa0);
__cxa_guard_release(&ServerClassInit<DT_PoseController::ignored>(DT_PoseController::ignored*)
::g_SendProps);
__cxa_atexit(__tcf_0,0,&__dso_handle);
}
}
SendTable::Construct
((SendTable *)DT_PoseController::g_SendTable,
(SendProp *)
(ServerClassInit<DT_PoseController::ignored>(DT_PoseController::ignored*)::g_SendProps
+ 0x54),0xc,"DT_PoseController");
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.