L L4D2node

_GLOBAL__sub_I_sv_showladders

0x0037a760 · 556 bytes · unknown

Decompiled

undefined (0 params)

/* WARNING: Globals starting with '_' overlap smaller symbols at the same address */

void _GLOBAL__sub_I_sv_showladders(void)

{
  undefined4 *puVar1;
  
  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;
  UNSPECIFIED_LOGGING_COLOR._0_1_ = 0;
  UNSPECIFIED_LOGGING_COLOR._1_1_ = 0;
  UNSPECIFIED_LOGGING_COLOR._2_1_ = 0;
  UNSPECIFIED_LOGGING_COLOR._3_1_ = 0;
  ConVar::ConVar((ConVar *)sv_showladders,"sv_showladders","0",0,
                 "Show bbox and dismount points for all ladders (must be set before level load.)\n")
  ;
  __cxa_atexit(ConVar::~ConVar,sv_showladders,&__dso_handle);
  CFuncLadder::s_Ladders = 0;
  _DAT_00f7a1d8 = 0;
  DAT_00f7a1dc = 0;
  DAT_00f7a1e0 = 0;
  _DAT_00f7a1e4 = 0;
  __cxa_atexit(CUtlVector<CFuncLadder*,CUtlMemory<CFuncLadder*,int>>::~CUtlVector,
               &CFuncLadder::s_Ladders,&__dso_handle);
  ServerClass::ServerClass
            ((ServerClass *)g_CFuncLadder_ClassReg,"CFuncLadder",
             (SendTable *)DT_FuncLadder::g_SendTable);
  SendTable::SendTable((SendTable *)DT_FuncLadder::g_SendTable);
  __cxa_atexit(SendTable::~SendTable,DT_FuncLadder::g_SendTable,&__dso_handle);
  DT_FuncLadder::g_SendTableInit = ServerClassInit<DT_FuncLadder::ignored>((ignored *)0x0);
  func_useableladder = &PTR_Create_00c13098;
  puVar1 = (undefined4 *)EntityFactoryDictionary();
  (**(code **)*puVar1)(puVar1,&func_useableladder,"func_useableladder");
  CFuncLadder_DataDescInit::g_DataMapHolder = DataMapInit<CFuncLadder>((CFuncLadder *)0x0);
  ServerClass::ServerClass
            ((ServerClass *)g_CInfoLadderDismount_ClassReg,"CInfoLadderDismount",
             (SendTable *)DT_InfoLadderDismount::g_SendTable);
  SendTable::SendTable((SendTable *)DT_InfoLadderDismount::g_SendTable);
  __cxa_atexit(SendTable::~SendTable,DT_InfoLadderDismount::g_SendTable,&__dso_handle);
  DT_InfoLadderDismount::g_SendTableInit =
       ServerClassInit<DT_InfoLadderDismount::ignored>((ignored *)0x0);
  info_ladder_dismount = &PTR_Create_00c133f8;
  puVar1 = (undefined4 *)EntityFactoryDictionary();
  (**(code **)*puVar1)(puVar1,&info_ladder_dismount,"info_ladder_dismount");
  return;
}

SourceMod gamedata

paste into addons/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.



        
        

⚠ 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.

Return-type handling cheatsheet (DHookReturn)