L L4D2node

CTongue::State_LookupInfo

0x00842b80 · 30 bytes · __cdecl

_ZN7CTongue16State_LookupInfoE11TongueState

Decompiled

undefined (1 param)

/* CTongue::State_LookupInfo(TongueState) */

undefined1 * CTongue::State_LookupInfo(uint param_1)

{
  if (param_1 < 5) {
    return State_LookupInfo(TongueState)::tongueStateInfo + param_1 * 0x1c;
  }
  return (undefined1 *)0x0;
}

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)