L L4D2node

CBasePlayer::GetDefaultFOV

0x00419dc0 · 34 bytes · __thiscall

_ZNK11CBasePlayer13GetDefaultFOVEv

Decompiled

undefined (1 param)

/* CBasePlayer::GetDefaultFOV() const */

void __thiscall CBasePlayer::GetDefaultFOV(CBasePlayer *this)

{
  if (*(int *)(this + 0x1d6c) != 0) {
    return;
  }
                    /* WARNING: Could not recover jumptable at 0x00419de6. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(code **)(*g_pGameRules + 0x78))();
  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)