View Single Post
psychonic

BAFFLED
Join Date: May 2008
Old 08-04-2016 , 15:51   Re: Signature Request Thread
Reply With Quote #267

Quote:
Originally Posted by Chdata View Post
Can someone find the windows sigs for these in TF2?

Code:
            "CTFPlayer::GetMaxAmmo"
            {
                "library" "server"
                "linux" "@_ZN9CTFPlayer10GetMaxAmmoEii"
                "mac" "@_ZN9CTFPlayer10GetMaxAmmoEii"
            }
            "CTFWeaponBase::GetMaxClip1"
            {
                "library" "server"
                "linux" "@_ZNK13CTFWeaponBase11GetMaxClip1Ev"
                "mac" "@_ZNK13CTFWeaponBase11GetMaxClip1Ev"
            }
            "CTFWeaponBase::GetDefaultClip1"
            {
                "library" "server"
                "linux" "@_ZNK13CTFWeaponBase15GetDefaultClip1Ev"
                "mac" "@_ZNK13CTFWeaponBase15GetDefaultClip1Ev"
            }
            "CBaseCombatWeapon::GetSlot"
            {
                "library" "server"
                "linux" "@_ZNK17CBaseCombatWeapon7GetSlotEv"
                "mac" "@_ZNK17CBaseCombatWeapon7GetSlotEv"
            }
Most or all of those are virtual functions. You'd have an easier time just grabbing the virtual offsets and calling/hooking them that way.
psychonic is offline