physicssound::_GLOBAL__sub_I_PlayImpactSounds
0x003ab490 · 1753 bytes · __cdecl
Decompiled
undefined (0 params)
/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */
/* physicssound::PlayImpactSounds(physicssound::soundlist_t&) */
void physicssound::_GLOBAL__sub_I_PlayImpactSounds(void)
{
::UNSPECIFIED_LOGGING_COLOR._0_1_ = 0;
::UNSPECIFIED_LOGGING_COLOR._1_1_ = 0;
::UNSPECIFIED_LOGGING_COLOR._2_1_ = 0;
::UNSPECIFIED_LOGGING_COLOR._3_1_ = 0;
::vec2_origin._0_4_ = 0;
::vec2_origin._4_4_ = 0;
::vec2_invalid._0_4_ = 0x7f7fffff;
::vec2_invalid._4_4_ = 0x7f7fffff;
::vec4_origin._0_4_ = 0;
::vec4_origin._4_4_ = 0;
::vec4_origin._8_4_ = 0;
::vec4_origin._12_4_ = 0;
::vec4_invalid._0_4_ = 0x7f7fffff;
::vec4_invalid._4_4_ = 0x7f7fffff;
::vec4_invalid._8_4_ = 0x7f7fffff;
::vec4_invalid._12_4_ = 0x7f7fffff;
ConVar::ConVar((ConVar *)phys_speeds,"phys_speeds","0",0);
__cxa_atexit(ConVar::~ConVar,phys_speeds,&__dso_handle);
g_mp_ServerPhysicsSimulate._0_4_ = 0;
g_mp_ServerPhysicsSimulate._4_4_ = 0;
g_mp_ServerPhysicsSimulate._8_4_ = 0;
g_mp_ServerPhysicsSimulate._36_4_ = 0;
g_mp_ServerPhysicsSimulate._12_4_ = _g_pPhysicsMiniProfilers;
g_mp_ServerPhysicsSimulate._16_4_ = &g_pPhysicsMiniProfilers;
_g_pPhysicsMiniProfilers = g_mp_ServerPhysicsSimulate;
g_mp_ServerPhysicsSimulate._20_4_ = s_Server_dll_PhysicsSimulate_00cb06c4;
g_mp_ServerPhysicsSimulate._32_4_ = 0;
g_mp_ServerPhysicsSimulate._28_4_ = 0;
g_mp_ServerPhysicsSimulate._24_4_ = 0;
__cxa_atexit(CLinkedMiniProfiler::~CLinkedMiniProfiler,g_mp_ServerPhysicsSimulate,&__dso_handle);
DAT_00fec4f8 = 0;
DAT_00fec4fc = 0;
LOCK();
DAT_00fec4f0 = 0;
UNLOCK();
DAT_00fec4ec = 0;
DAT_00fec4e4 = 0;
/* try { // try from 003ab63c to 003ab640 has its CatchHandler @ 003abb69 */
g_PostSimulationQueue = ::operator_new(8);
DAT_00fec4e8 = g_PostSimulationQueue;
*g_PostSimulationQueue = &g_PostSimulationQueue;
DAT_00fec500 = 0;
__cxa_atexit(CCallQueue::~CCallQueue,&g_PostSimulationQueue,&__dso_handle);
ConVar::ConVar((ConVar *)phys_timescale,"phys_timescale","1",0,"Scale time for physics",
TimescaleChanged);
__cxa_atexit(ConVar::~ConVar,phys_timescale,&__dso_handle);
CCollisionEvent::CCollisionEvent((CCollisionEvent *)g_Collisions);
__cxa_atexit(CCollisionEvent::~CCollisionEvent,g_Collisions,&__dso_handle);
g_PhysicsHook._0_4_ = &PTR_Name_00cb1068;
g_PhysicsHook._4_4_ = 0;
g_PhysicsHook._8_4_ = 0;
g_PhysicsHook._12_4_ = 0;
g_PhysicsHook._16_4_ = 0;
g_PhysicsHook._20_4_ = 0;
g_PhysicsHook._24_4_ = 0;
g_PhysicsHook._28_4_ = 0;
g_PhysicsHook._32_4_ = 0;
g_PhysicsHook._36_4_ = 0;
g_PhysicsHook._40_4_ = 0;
g_PhysicsHook._44_4_ = 0;
g_PhysicsHook._48_4_ = 0;
g_PhysicsHook._52_4_ = 0;
g_PhysicsHook._56_4_ = 0;
g_PhysicsHook._60_4_ = 0;
g_PhysicsHook._64_4_ = 0;
g_PhysicsHook._68_4_ = 0;
g_PhysicsHook._72_4_ = 0;
g_PhysicsHook._76_4_ = 0;
g_PhysicsHook._80_4_ = 0;
__cxa_atexit(CPhysicsHook::~CPhysicsHook,g_PhysicsHook,&__dso_handle);
ConVar::ConVar((ConVar *)phys_penetration_error_time,"phys_penetration_error_time","10",0,
"Controls the duration of vphysics penetration error boxes.");
__cxa_atexit(ConVar::~ConVar,phys_penetration_error_time,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)physics_highlight_active_command,"physics_highlight_active",
physics_highlight_active,"Turns on the absbox for all active physics objects",0,
(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,physics_highlight_active_command,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)physics_report_active_command,"physics_report_active",
physics_report_active,"Lists all active physics objects",0,
(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,physics_report_active_command,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)surfaceprop_command,"surfaceprop",surfaceprop,
"Reports the surface properties at the cursor",0x4000,(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,surfaceprop_command,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)physics_constraints_command,"physics_constraints",physics_constraints,
"Highlights constraint system graph for an entity",0,(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,physics_constraints_command,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)physics_debug_entity_command,"physics_debug_entity",physics_debug_entity,
"Dumps debug info for an entity",0,(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,physics_debug_entity_command,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)physics_select_command,"physics_select",physics_select,
"Dumps debug info for an entity",0,(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,physics_select_command,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)physics_budget_command,"physics_budget",physics_budget,
"Times the cost of each active object",0,(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,physics_budget_command,&__dso_handle);
ConVar::ConVar((ConVar *)collision_shake_amp,"collision_shake_amp","0.2",0);
__cxa_atexit(ConVar::~ConVar,collision_shake_amp,&__dso_handle);
ConVar::ConVar((ConVar *)collision_shake_freq,"collision_shake_freq","0.5",0);
__cxa_atexit(ConVar::~ConVar,collision_shake_freq,&__dso_handle);
ConVar::ConVar((ConVar *)collision_shake_time,"collision_shake_time","0.5",0);
__cxa_atexit(ConVar::~ConVar,collision_shake_time,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)air_density,"air_density",CC_AirDensity,
"Changes the density of air for drag computations.",0x4000,
(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,air_density,&__dso_handle);
return;
}
SourceMod gamedata
paste intoaddons/sourcemod/gamedata/<your_plugin>.txt
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.
⚠ This function has no mangled symbol — it may be internal/static. The
Linux gamedata field uses @-prefix symbol resolution which
requires an exported mangled name. You'll need a Linux byte signature
for this one (extract via extract_signature.java).
Type inference is best-effort from the C signature - sanity-check the DHooks types before shipping.