ServerClassInit<DT_BaseGrenade::ignored>
0x00414540 · 1111 bytes · __cdecl
_Z15ServerClassInitIN14DT_BaseGrenade7ignoredEEiPT_
Decompiled
int (1 param)
/* int ServerClassInit<DT_BaseGrenade::ignored>(DT_BaseGrenade::ignored*) */
int ServerClassInit<DT_BaseGrenade::ignored>(ignored *param_1)
{
int iVar1;
if (ServerClassInit<DT_BaseGrenade::ignored>(DT_BaseGrenade::ignored*)::g_SendProps == '\0') {
iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_BaseGrenade::ignored>(DT_BaseGrenade::ignored*)
::g_SendProps);
if (iVar1 != 0) {
/* try { // try from 004145cf to 004145d3 has its CatchHandler @ 00414999 */
SendPropInt(ServerClassInit<DT_BaseGrenade::ignored>(DT_BaseGrenade::ignored*)::g_SendProps,
0xbfae4c,0,4,-1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 00414607 to 0041460b has its CatchHandler @ 004149c8 */
SendPropDataTable(ServerClassInit<DT_BaseGrenade::ignored>(DT_BaseGrenade::ignored*)::
g_SendProps + 0x54,0xc087aa,(SendTable *)0x0,
(_func_void_ptr_SendProp_ptr_void_ptr_void_ptr_CSendProxyRecipients_ptr_int
*)CBaseCombatCharacter::m_pClassSendTable,'P');
/* try { // try from 00414626 to 0041462a has its CatchHandler @ 004149dd */
SendPropExclude(ServerClassInit<DT_BaseGrenade::ignored>(DT_BaseGrenade::ignored*)::
g_SendProps + 0xa8,"DT_BaseAnimating");
/* try { // try from 00414645 to 00414649 has its CatchHandler @ 004149cf */
SendPropExclude(ServerClassInit<DT_BaseGrenade::ignored>(DT_BaseGrenade::ignored*)::
g_SendProps + 0xfc,"DT_BaseAnimating");
/* try { // try from 00414664 to 00414668 has its CatchHandler @ 004149d6 */
SendPropExclude(ServerClassInit<DT_BaseGrenade::ignored>(DT_BaseGrenade::ignored*)::
g_SendProps + 0x150,"DT_BaseAnimating");
/* try { // try from 00414683 to 00414687 has its CatchHandler @ 004149fb */
SendPropExclude(ServerClassInit<DT_BaseGrenade::ignored>(DT_BaseGrenade::ignored*)::
g_SendProps + 0x1a4,"DT_BaseAnimating");
/* try { // try from 004146a2 to 004146a6 has its CatchHandler @ 00414a02 */
SendPropExclude(ServerClassInit<DT_BaseGrenade::ignored>(DT_BaseGrenade::ignored*)::
g_SendProps + 0x1f8,"DT_BaseAnimating");
/* try { // try from 004146c1 to 004146c5 has its CatchHandler @ 00414a09 */
SendPropExclude(ServerClassInit<DT_BaseGrenade::ignored>(DT_BaseGrenade::ignored*)::
g_SendProps + 0x24c,"DT_BaseAnimating");
/* try { // try from 004146e0 to 004146e4 has its CatchHandler @ 00414a10 */
SendPropExclude(ServerClassInit<DT_BaseGrenade::ignored>(DT_BaseGrenade::ignored*)::
g_SendProps + 0x2a0,"DT_BaseAnimatingOverlay");
/* try { // try from 004146ff to 00414703 has its CatchHandler @ 00414a17 */
SendPropExclude(ServerClassInit<DT_BaseGrenade::ignored>(DT_BaseGrenade::ignored*)::
g_SendProps + 0x2f4,"DT_BaseFlex");
/* try { // try from 0041471e to 00414722 has its CatchHandler @ 00414a1e */
SendPropExclude(ServerClassInit<DT_BaseGrenade::ignored>(DT_BaseGrenade::ignored*)::
g_SendProps + 0x348,"DT_BaseFlex");
/* try { // try from 0041473d to 00414741 has its CatchHandler @ 00414a28 */
SendPropExclude(ServerClassInit<DT_BaseGrenade::ignored>(DT_BaseGrenade::ignored*)::
g_SendProps + 0x39c,"DT_CollisionProperty");
/* try { // try from 0041475c to 00414760 has its CatchHandler @ 00414a32 */
SendPropExclude(ServerClassInit<DT_BaseGrenade::ignored>(DT_BaseGrenade::ignored*)::
g_SendProps + 0x3f0,"DT_CollisionProperty");
/* try { // try from 0041477b to 0041477f has its CatchHandler @ 00414a3c */
SendPropExclude(ServerClassInit<DT_BaseGrenade::ignored>(DT_BaseGrenade::ignored*)::
g_SendProps + 0x444,"DT_ServerAnimationData");
/* try { // try from 0041479a to 0041479e has its CatchHandler @ 00414a46 */
SendPropExclude(ServerClassInit<DT_BaseGrenade::ignored>(DT_BaseGrenade::ignored*)::
g_SendProps + 0x498,"DT_AnimTimeMustBeFirst");
/* try { // try from 004147f1 to 004147f5 has its CatchHandler @ 00414a50 */
SendPropFloat(ServerClassInit<DT_BaseGrenade::ignored>(DT_BaseGrenade::ignored*)::g_SendProps
+ 0x4ec,0xc09a36,0x1a50,4,10,1.12104e-44,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x43800000,
0xa0);
/* try { // try from 00414848 to 0041484c has its CatchHandler @ 00414a5a */
SendPropFloat(ServerClassInit<DT_BaseGrenade::ignored>(DT_BaseGrenade::ignored*)::g_SendProps
+ 0x540,0xc09a41,0x1a44,4,10,1.12104e-44,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x44800000,
0xa0);
/* try { // try from 0041488f to 00414893 has its CatchHandler @ 00414a64 */
SendPropInt(ServerClassInit<DT_BaseGrenade::ignored>(DT_BaseGrenade::ignored*)::g_SendProps +
0x594,0xc09a4d,0x1a41,1,1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
/* try { // try from 004148c6 to 004148ca has its CatchHandler @ 00414a6e */
SendPropEHandle(ServerClassInit<DT_BaseGrenade::ignored>(DT_BaseGrenade::ignored*)::
g_SendProps + 0x5e8,0xc09a57,0x1a58,4,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)
&DAT_ffffffff);
/* try { // try from 0041491d to 00414921 has its CatchHandler @ 00414a78 */
SendPropVector(ServerClassInit<DT_BaseGrenade::ignored>(DT_BaseGrenade::ignored*)::g_SendProps
+ 0x63c,0xc09a62,0x2ec,0xc,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xc0);
/* try { // try from 00414964 to 00414968 has its CatchHandler @ 00414a82 */
SendPropInt(ServerClassInit<DT_BaseGrenade::ignored>(DT_BaseGrenade::ignored*)::g_SendProps +
0x690,0xc09a70,0x150,4,10,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,0xb0);
__cxa_guard_release(&ServerClassInit<DT_BaseGrenade::ignored>(DT_BaseGrenade::ignored*)::
g_SendProps);
__cxa_atexit(__tcf_0,0,&__dso_handle);
}
}
SendTable::Construct
((SendTable *)DT_BaseGrenade::g_SendTable,
(SendProp *)
(ServerClassInit<DT_BaseGrenade::ignored>(DT_BaseGrenade::ignored*)::g_SendProps + 0x54
),0x14,"DT_BaseGrenade");
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.