L L4D2node

CDirectorChallengeMode::HideScoreboardNonVirtual

0x0089aab0 · 54 bytes · __thiscall

_ZN22CDirectorChallengeMode24HideScoreboardNonVirtualEv

Decompiled

undefined (1 param)

/* CDirectorChallengeMode::HideScoreboardNonVirtual() */

void __thiscall CDirectorChallengeMode::HideScoreboardNonVirtual(CDirectorChallengeMode *this)

{
  undefined4 local_1c;
  char *local_18;
  undefined1 local_14;
  undefined4 local_10;
  
  if (*this == (CDirectorChallengeMode)0x0) {
    return;
  }
  local_1c = 0xffffffff;
  local_18 = "message_box";
  local_14 = 0;
  local_10 = 0;
  ForEachTerrorPlayer<CShowViewportPanel>((CShowViewportPanel *)&local_1c);
  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.



        

        

          

Type inference is best-effort from the C signature - sanity-check the DHooks types before shipping.

Return-type handling cheatsheet (DHookReturn)