_GLOBAL__sub_I_ZombieShowSwings
0x003929f0 · 2435 bytes · unknown
Decompiled
undefined (0 params)
void _GLOBAL__sub_I_ZombieShowSwings(void)
{
int iVar1;
undefined4 *puVar2;
undefined4 *puVar3;
undefined4 *puVar4;
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 *)ZombieShowSwings,"z_show_swings","0",0x6000);
__cxa_atexit(ConVar::~ConVar,ZombieShowSwings,&__dso_handle);
ConVar::ConVar((ConVar *)ZombieGunSwingInterval,"z_gun_swing_interval","0.7",0x6000);
__cxa_atexit(ConVar::~ConVar,ZombieGunSwingInterval,&__dso_handle);
ConVar::ConVar((ConVar *)ZombieGunSwingDuration,"z_gun_swing_duration","0.2",0x6000);
__cxa_atexit(ConVar::~ConVar,ZombieGunSwingDuration,&__dso_handle);
ConVar::ConVar((ConVar *)ZombieGunRange,"z_gun_range","75",0x6000);
__cxa_atexit(ConVar::~ConVar,ZombieGunRange,&__dso_handle);
ConVar::ConVar((ConVar *)ZombieGunDamage,"z_gun_damage","10",0x6000);
__cxa_atexit(ConVar::~ConVar,ZombieGunDamage,&__dso_handle);
ConVar::ConVar((ConVar *)ZombieGunStunDuration,"z_gun_stun_duration","1.25",0x6000);
__cxa_atexit(ConVar::~ConVar,ZombieGunStunDuration,&__dso_handle);
ConVar::ConVar((ConVar *)ZombieGunSurvivorFriendPush,"z_gun_survivor_friend_push","1",0x6000,
"Allow survivors to push survivors with a right click.");
__cxa_atexit(ConVar::~ConVar,ZombieGunSurvivorFriendPush,&__dso_handle);
ConVar::ConVar((ConVar *)SurvivorUpgradeReloadDuration,"survivor_upgrade_reload_duration","0.5",
0x2000,"Upgraded survivors reload in this fraction of the base time.",true,0.1,true
,1.0);
__cxa_atexit(ConVar::~ConVar,SurvivorUpgradeReloadDuration,&__dso_handle);
ConVar::ConVar((ConVar *)ZombieKnockOffDeath,"z_zombie_knockoff_death","0",0x6000,
"Knocking off a pouncing zombie instantly kills them.");
__cxa_atexit(ConVar::~ConVar,ZombieKnockOffDeath,&__dso_handle);
ConVar::ConVar((ConVar *)ZombieStompAlways,"z_stomp_always","0",0x4000,
"Force melee attacks on single infected to always be stomps.");
__cxa_atexit(ConVar::~ConVar,ZombieStompAlways,&__dso_handle);
ConVar::ConVar((ConVar *)ZombieGunForce,"z_gun_force","300",0x4000);
__cxa_atexit(ConVar::~ConVar,ZombieGunForce,&__dso_handle);
ConVar::ConVar((ConVar *)ZombieGunSurvivorForce,"z_gun_survivor_force","200",0x4000);
__cxa_atexit(ConVar::~ConVar,ZombieGunSurvivorForce,&__dso_handle);
ConVar::ConVar((ConVar *)ZombieGunPhysicsForce,"z_gun_physics_force","25",0x4000,
"How hard we push things that aren\'t players or doors.");
__cxa_atexit(ConVar::~ConVar,ZombieGunPhysicsForce,&__dso_handle);
ConVar::ConVar((ConVar *)ZombieGunSurvivorShoveDot,"z_gun_survivor_shove_dot","0.95",0x4000,
"Max dot of a shove swing that can push a fellow survivor");
__cxa_atexit(ConVar::~ConVar,ZombieGunSurvivorShoveDot,&__dso_handle);
ConVar::ConVar((ConVar *)SurvivorTeamHitPitchMin,"survivor_team_hit_pitch_min","-10",0x4000);
__cxa_atexit(ConVar::~ConVar,SurvivorTeamHitPitchMin,&__dso_handle);
ConVar::ConVar((ConVar *)SurvivorTeamHitPitchMax,"survivor_team_hit_pitch_max","10",0x4000);
__cxa_atexit(ConVar::~ConVar,SurvivorTeamHitPitchMax,&__dso_handle);
ConVar::ConVar((ConVar *)SurvivorTeamHitYawMin,"survivor_team_hit_yaw_min","-10",0x4000);
__cxa_atexit(ConVar::~ConVar,SurvivorTeamHitYawMin,&__dso_handle);
ConVar::ConVar((ConVar *)SurvivorTeamHitYawMax,"survivor_team_hit_yaw_max","10",0x4000);
__cxa_atexit(ConVar::~ConVar,SurvivorTeamHitYawMax,&__dso_handle);
ConVar::ConVar((ConVar *)SurvivorShoveTeammates,"survivor_shove_teammates","0",0x4000);
__cxa_atexit(ConVar::~ConVar,SurvivorShoveTeammates,&__dso_handle);
ConVar::ConVar((ConVar *)SurvivorIncapacitatedAccuracyPenalty,
"survivor_incapacitated_accuracy_penalty","0.4",0x6000,
"Penalty given for shooting while incapacitated.");
__cxa_atexit(ConVar::~ConVar,SurvivorIncapacitatedAccuracyPenalty,&__dso_handle);
ConVar::ConVar((ConVar *)SurvivorIncapacitatedCycleTime,"survivor_incapacitated_cycle_time","0.3",
0x6000,"New cycle time (RoF) used when incapacitated, overriding weapon.");
__cxa_atexit(ConVar::~ConVar,SurvivorIncapacitatedCycleTime,&__dso_handle);
ConVar::ConVar((ConVar *)SurvivorIncapacitatedReloadMultiplier,
"survivor_incapacitated_reload_multiplier","1.25",0x6000,
"Multiplier to reload time when incapacitated.");
__cxa_atexit(ConVar::~ConVar,SurvivorIncapacitatedReloadMultiplier,&__dso_handle);
ConVar::ConVar((ConVar *)SurvivorIncapacitatedDizzyTimer,"survivor_incapacitated_dizzy_timer",
"2.5",0x6000,"How often our incap\'d dizzy-drift changes directions.");
__cxa_atexit(ConVar::~ConVar,SurvivorIncapacitatedDizzyTimer,&__dso_handle);
ConVar::ConVar((ConVar *)SurvivorIncapacitatedDizzySeverity,
"survivor_incapacitated_dizzy_severity","2.0",0x6000,
"From negative to positive this, how much bump we add to a incap\'d player\'s mouse."
);
__cxa_atexit(ConVar::~ConVar,SurvivorIncapacitatedDizzySeverity,&__dso_handle);
ConVar::ConVar((ConVar *)SurvivorMeleeHitSoundIntervalTimer,"survivor_hitsound_interval_timer",
"0.1",0x4000);
__cxa_atexit(ConVar::~ConVar,SurvivorMeleeHitSoundIntervalTimer,&__dso_handle);
puVar4 = (undefined4 *)g_pServerClassHead;
g_CTerrorWeapon_ClassReg._0_4_ = s_CTerrorWeapon_00c51c9f;
g_CTerrorWeapon_ClassReg._4_4_ = DT_TerrorWeapon::g_SendTable;
g_CTerrorWeapon_ClassReg._16_4_ = 0xffff;
if ((undefined4 *)g_pServerClassHead == (undefined4 *)0x0) {
g_pServerClassHead = g_CTerrorWeapon_ClassReg;
g_CTerrorWeapon_ClassReg._8_4_ = 0;
}
else {
puVar3 = *(undefined4 **)((int)g_pServerClassHead + 8);
iVar1 = _V_stricmp(*(char **)g_pServerClassHead,"CTerrorWeapon");
puVar2 = (undefined4 *)g_pServerClassHead;
if (iVar1 < 1) {
if (puVar3 != (undefined4 *)0x0) {
do {
puVar2 = puVar3;
iVar1 = _V_stricmp((char *)*puVar2,"CTerrorWeapon");
puVar3 = puVar2;
if (0 < iVar1) goto LAB_0039334e;
puVar3 = (undefined4 *)puVar2[2];
puVar4 = puVar2;
} while ((undefined4 *)puVar2[2] != (undefined4 *)0x0);
puVar3 = (undefined4 *)0x0;
}
LAB_0039334e:
g_CTerrorWeapon_ClassReg._8_4_ = puVar3;
puVar4[2] = g_CTerrorWeapon_ClassReg;
}
else {
g_pServerClassHead = g_CTerrorWeapon_ClassReg;
g_CTerrorWeapon_ClassReg._8_4_ = puVar2;
}
}
SendTable::SendTable((SendTable *)DT_LocalActiveL4DWeaponData::g_SendTable);
__cxa_atexit(SendTable::~SendTable,DT_LocalActiveL4DWeaponData::g_SendTable,&__dso_handle);
DT_LocalActiveL4DWeaponData::g_SendTableInit =
ServerClassInit<DT_LocalActiveL4DWeaponData::ignored>((ignored *)0x0);
SendTable::SendTable((SendTable *)DT_TerrorWeapon::g_SendTable);
__cxa_atexit(SendTable::~SendTable,DT_TerrorWeapon::g_SendTable,&__dso_handle);
DT_TerrorWeapon::g_SendTableInit = ServerClassInit<DT_TerrorWeapon::ignored>((ignored *)0x0);
CTerrorWeapon_DataDescInit::g_DataMapHolder = DataMapInit<CTerrorWeapon>((CTerrorWeapon *)0x0);
g_CTerrorWeapon_ScriptDesc._0_4_ = 0;
g_CTerrorWeapon_ScriptDesc._4_4_ = 0;
g_CTerrorWeapon_ScriptDesc._8_4_ = 0;
g_CTerrorWeapon_ScriptDesc._12_4_ = 0;
g_CTerrorWeapon_ScriptDesc._16_4_ = 0;
g_CTerrorWeapon_ScriptDesc._20_4_ = 0;
g_CTerrorWeapon_ScriptDesc._24_4_ = 0;
g_CTerrorWeapon_ScriptDesc._28_4_ = 0;
g_CTerrorWeapon_ScriptDesc._32_4_ = 0;
g_CTerrorWeapon_ScriptDesc._36_4_ = 0;
g_CTerrorWeapon_ScriptDesc._40_4_ = 0;
g_CTerrorWeapon_ScriptDesc._44_4_ = 0;
__cxa_atexit(ScriptClassDesc_t::~ScriptClassDesc_t,g_CTerrorWeapon_ScriptDesc,&__dso_handle);
ConCommand::ConCommand
((ConCommand *)weapon_reparse_server_command,"weapon_reparse_server",
weapon_reparse_server,"Reloads the weapon script files",0x4000,
(int_____char_const__char *)0x0);
__cxa_atexit(ConCommand::~ConCommand,weapon_reparse_server_command,&__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.