L L4D2node

CPlayerInfo::GetModelName

0x007a6e50 · 45 bytes · __thiscall

_ZN11CPlayerInfo12GetModelNameEv

Decompiled

undefined (1 param)

/* CPlayerInfo::GetModelName() */

undefined1 * __thiscall CPlayerInfo::GetModelName(CPlayerInfo *this)

{
  undefined1 *puVar1;
  undefined1 *local_10 [3];
  
  (**(code **)(**(int **)(this + 8) + 0x20))(local_10,*(int **)(this + 8));
  puVar1 = &DAT_00d539c2;
  if (local_10[0] != (undefined1 *)0x0) {
    puVar1 = local_10[0];
  }
  return puVar1;
}

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)