Black Ops 2 Offsets And Addresses Collection

S63

Well-Known Member
Messages
2
Points
203
Sup,

Here's addresses and structures blah blah blah :smile: hope you have a good day :grinning:

Host Structures:
StatsEntry Structure:
Code:
StatEntry - 0x26FC838
Deaths - +0x10A
Headshots - +0x20C
Kills - +0x338
Loses - +0x3AA
Prestige -  +0x7DC
Rank - +0x7F4 /*00 FF 12 - Max*\
Score - +0x818
TimePlayed - +0x8D2
Wins - +0x91A

Weapon Unlocks - +0x24D6
Tokens - +0xA100

Ghosts - +0xB9E1 (Set To - FF)
Roxann - +0xB9E4 (Set To - FF)

10 Classes - +0xBCEA (Set To - 44 80 08 10 01 22 40 04)
Callsign Unlocks - +0xB9E1
G_Client Structure:
Code:
gclient_s - 0x01780F28
size - 0x5808
Velocity - +0x34
ViewModel - +0x54F4
Buttons - +0x569C
PlayerName - +0x5544
Origin - +0x28
Angles - +0x56BC
Team - +0x5504
IsAlive - +0x55D0
Stance - +0xFC
Health - +0x18
Primary Camo - +0x2D8
Secondary Camo - +0x2BC
Tactical - +0x30C
Lethal - +0x2F0
Killstreak 1 - +0x42B
Killstreak 2 - +0x430
Killstreak 3 - +0x434
G_Entity Structure:
Code:
gentity_s - 0x016B9F20
size - 0x31C
Client_s Structure:
Code:
DWORD client_s - 0x1BB6600
size - 0x4E180

Addresses:
Code:
0x00601F10 - BG_GetAmmoPlayerMax(playerState_s *ps, Weapon weapon, Weapon weaponToSkip)
0x00601A40 - BG_GetClipSize(Weapon weapon)
0x00606F08 - BG_GetWeapondef(Weapon weapon)
0x0060EDA0 - BG_GetWeaponHitLocationMultiplier(Weapon weapon, hitLocation_t hitLoc)
0x005F34AC - BG_GetWeaponName(Weapon weapon, char *output, unsigned int maxStringLen)
0x005EFA7C - BG_GetViewmodelWeaponIndex(playerState_s *ps)
0x00600BB8 - BG_WeaponFireRecoil(playerState_s *ps, vec2_t *recoilSpeed, vec3_t *kickAVel, int *previousRecoilTime, bool previouslyFiring, float *previousRecoilRatio, unsigned int *holdrand)
0x005F02F4 - BG_ValidateWeaponNumber(Weapon weapon)
0x001DAB74 - Bot_FireRecoil(int clientNum, vec3_t *kickAVel)
0x0020D48C - CalculateRanks()
0x00048A48 - CG_CalcEntityLerpPositions(LocalClientNum_t localClientNum, centity_t *cent)
0x000596E8 - CG_CheckEvents(LocalClientNum_t localClientNum, centity_t *cent)
0x000F9798 - CG_FireWeapon(LocalClientNum_t localClientNum, centity_t *cent, int event, int eventParm, const unsigned __int16 tagName, Weapon weapon, playerState_s *ps, bool leftGun)
0x00055548 - CG_EntityEvent(LocalClientNum_t localClientNum, centity_t *cent, int event)
0x001E2C28 - ClientDisconnect(ClientNum_t clientNum)
0x0031EE80 - Com_Error(errorParm_t code, const char *fmt, ...)
0x00319EF8 - Com_SessionMode_IsOnlineGame()
0x001E2604 - ClientSpawn(gentity_t *ent, vec3_t *spawn_origin, vec3_t *spawn_angles)
0x001E0F88 - ClientEndFrame(gentity_t *ent)
0x001DF6B0 - ClientThink_Real(gentity_t *ent, usercmd_s *ucmd)
0x001FD160 - DeathGrenadeDrop(gentity_t* self, int meansOfDeath)
0x003DA948 - Dvar_GetBool(dvar_t *dvar)
0x00245568 - Dvar_GetInt(int dvarHash)
0x0048FED0 - FindVariable(scriptInstance_t inst, unsigned int parentId, unsigned int name)
0x0022D138 - GetEntity(scr_entref_t entref)
0x002797B0 - G_AddEvent(gentity_t *ent, int event, unsigned int eventParm)
0x002B4030 - G_ClientStopUsingTurret(gentity_t *self)
0x00279D90 - G_GetRandomSeed()
0x001FE618 - G_Damage(gentity_t *targ, gentity_t *inflictor, gentity_t *attacker, vec3_t *dir, vec3_t *point, int damage, int dFlags, int mod, Weapon weapon, hitLocation_t hitLoc, unsigned int modelIndex, unsigned int partName, int timeOffset, unsigned __int16 boneIndex)
0x001FDE44 - G_DamageActor(gentity_t *targ, gentity_t *inflictor, gentity_t *attacker, vec3_t *dir, vec3_t *point, int damage, int dflags, int mod, Weapon weapon, hitLocation_t hitLoc, int timeOffset, unsigned __int16 boneIndex)
0x001FD960 - G_DamageClient(gentity_t *targ, gentity_t *inflictor, gentity_t *attacker, vec3_t *dir, vec3_t *point, int damage, int dflags, int mod, Weapon weapon, hitLocation_t hitLoc, int timeOffset, unsigned __int16 boneIndex)
0x001FE37C - G_DamageNotify(unsigned __int16 notify, gentity_t *targ, gentity_t *attacker, vec3_t *dir, vec3_t *point, int damage, int mod, int dFlags, unsigned int modelIndex, unsigned int partName, const char *weaponName, gentity_t *inflictor)
0x001FE120 - G_DamageVehicle(gentity_t *targ, gentity_t *inflictor, gentity_t *attacker, vec3_t *dir, vec3_t *point, int damage, int dflags, int mod, Weapon weapon, hitLocation_t hitLoc, int timeOffset, unsigned int modelIndex, unsigned int partName)
0x00276E30 - G_DObjUpdate(gentity_t *ent)
0x002A6A48 - G_GetWeaponForName(const char *name)
0x002A81C4 - G_GivePlayerWeapon(playerState_s *pPS, Weapon weapon, char altModelIndex, renderOptions_s weaponOptions)
0x015DDB00 - G_HudElem
0x001E6698 - G_InitializeAmmo(gentity_t *[email protected]<edi>, Weapon weapon, char weaponModel, int hadWeapon)
0x001D28F0 - G_PlayerEvent(int clientNum, int event)
0x00279894 - G_PlaySoundAlias(gentity_t *ent, unsigned int alias, unsigned int notifyString, unsigned int bone)
0x00279BD8 - G_SetAngle(gentity_t *ent, vec3_t *angle)
0x001FAD68 - G_SetFog(ClientNum_t clientNum, const char *fogstring)
0x002774A4 - G_SetModel(gentity_t *ent, const char *modelName)
0x002794F8 - G_SetOrigin(gentity_t *ent, vec3_t *origin)
0x001FEB1C - G_ShieldNotifyAndDamage(gentity_t *targ, gentity_t *inflictor, gentity_t *attacker, vec3_t *dir, vec3_t *point, int damage, int dFlags, int mod, Weapon iWeapon, int timeOffset)
0x00278AC0 - G_Spawn(void)
0x0022C3B8 - G_SpawnHelicopter(gentity_t *ent, gentity_t *owner, const char *vehicleDefName, const char *modelName)
0x002BA428 - G_SpawnTurret(void)
0x002795A0 - G_TempEntity(vec3_t *origin, int event)
0x002759F0 - HudElem_Alloc(ClientNum_t clientNum, int teamNum)
0x001185BC - Key_IsDown(LocalClientNum_t localClientNum, int keynum)
0x001A6818 - MatchRecordDeath(gclient_t *client, gclient_t *attackerClient, const char *weaponName, hitLocation_t hitLocation)
0x007E3738 - PIXBeginNamedEvent(int Color, const char *Name, ...)
0x001FD370 - Player_Die(gentity_t *self, gentity_t *inflictor, gentity_t *attacker, int damage, int meansOfDeath, Weapon iWeapon, vec3_t *vDir, hitLocation_t hitLoc, int psTimeOffset)
0x00249054 - Scr_ActorDamage(gentity_t *self, gentity_t *inflictor, gentity_t *attacker, int damage, int dflags, int meansOfDeath, Weapon iWeapon, vec3_t *vPoint, vec3_t *vDir, hitLocation_t hitLoc, int timeOffset, unsigned __int16 boneIndex)
0x00249260 - Scr_ActorKilled(gentity_t *self, gentity_t *inflictor, gentity_t *attacker, int damage, int meansOfDeath, Weapon iWeapon, vec3_t *vDir, hitLocation_t hitLoc, int psTimeOffset)
0x004A4F4C - Scr_AddBool(scriptInstance_t inst, int value)
0x0049B894 - Scr_AddConstString(scriptInstance_t inst, unsigned int value)
0x0026AA90 - Scr_AddEntity(scriptInstance_t inst, gentity_t *ent)
0x004A5084 - Scr_AddFloat(scriptInstance_t inst, float value)
0x004A4FE8 - Scr_AddInt(scriptInstance_t inst, int value)
0x004A5458 - Scr_AddString(scriptInstance_t inst, const char *value)
0x004A55A8 - Scr_AddVector(scriptInstance_t inst, vec3_t *value)
0x0049B80C - Scr_AddUndefined(scriptInstance_t inst)
0x0049B10C - Scr_Error(scriptInstance_t inst, const char *error, bool force_terminal)
0x0049AF6C - Scr_ErrorInternal(scriptInstance_t inst)
0x004A2FCC - Scr_FreeThread(scriptInstance_t inst, unsigned __int16 handle)
0x0026B138 - Scr_ExecEntThread(gentity_t *ent, int handle, unsigned int paramcount)
0x004A4F34 - Scr_GetNumParam(scriptInstance_t inst)
0x004A34B4 - Scr_GetInt(scriptInstance_t inst, unsigned int index)
0x004A3F34 - Scr_GetString(scriptInstance_t inst, unsigned int index)
0x0026B19C - Scr_Notify(gentity_t *ent, unsigned __int16 stringValue, unsigned int paramcount)
0x004A5CA0 - Scr_ObjectError(scriptInstance_t inst, const char *error)
0x004A5BF4 - Scr_ParamError(scriptInstance_t inst, unsigned int index, const char *error)
0x00248AF4 - Scr_PlayerConnect(gentity_t *self)
0x00248B74 - Scr_PlayerDamage(gentity_t *self, gentity_t *inflictor, gentity_t *attacker, int damage, int dflags, int meansOfDeath, Weapon iWeapon, vec3_t *vPoint, vec3_t *vDir, hitLocation_t hitLoc, int timeOffset, unsigned __int16 boneIndex)
0x00248B34 - Scr_PlayerDisconnect(gentity_t *self)
0x00248D80 - Scr_PlayerKilled(gentity_t *self, gentity_t *inflictor, gentity_t *attacker, int damage, int meansOfDeath, Weapon iWeapon, vec3_t *vDir, hitLocation_t hitLoc, int psTimeOffset, int deathAnimDuration)
0x00248F44 - Scr_PlayerMelee(gentity_t *attacker, gentity_t *victim, int damage, Weapon weapon, vec3_t *hitOrigin, vec3_t *hitDir, unsigned __int16 boneIndex, bool shieldHit)
0x00258E48 - Scr_SetFog(const char *cmd, float start, float density, float heightDensity, float baseHeight, float r, float g, float b, float time, float colorScale, float sunColR, float sunColG, float sunColB, float sunDirX, float sunDirY, float sunDirZ, float sunStartAng, float sunEndAng, float maxFogOpacity)
0x00249644 - Scr_VehicleDamage(gentity_t *self, gentity_t *inflictor, gentity_t *attacker, int damage, int dflags, int meansOfDeath, Weapon iWeapon, vec3_t *vPoint, vec3_t *vDir, hitLocation_t hitLoc, int timeOffset, int damageFromUnderneath, unsigned int modelIndex, unsigned int partName)
0x00249408 - Scr_VehicleRadiusDamage(gentity_t *self, gentity_t *inflictor, gentity_t *attacker, int damage, float fInnerDamage, float fOuterDamage, int dflags, int meansOfDeath, Weapon iWeapon, vec3_t *vPoint, const float fRadius, const float coneAngleCos, vec3_t *coneDirection, int timeOffset)
0x00268898 - ScriptMover_SetupMove(trajectory_t *pTr, vec3_t *vPos, const float fTotalTime, const float fAccelTime, const float fDecelTime, vec3_t *vCurrPos, mover_positions_t *positionControl)
0x001E1BF0 - SetClientViewAngles(gentity_t *ent, vec3_t *angle)
0x0048E2DC - SL_ConvertToString(unsigned int stringValue)
0x00266F48 - SP_Script_Model(gentity_t *pSelf, SpawnVar *spawnVar)
0x002BACB8 - SP_Turret(gentity_t *self, SpawnVar *spawnVar)
0x0034C89C - SV_GetConfigstringConst(int index)
0x0034CABC - SV_GetUserinfo(int index, char *buffer, int bufferSize)
0x00349F6C - SV_GameSendServerCommand(ClientNum_t clientNum, svscmd_type type, const char *text)
0x00359990 - SV_LinkEntity(gentity_t *gEnt)
0x003598CC - SV_UnLinkEntity(gentity_t *gEnt)
0x003E58B0 - va(const char *format, ...)
0x0049BF60 - VM_Notify(scriptInstance_t inst, unsigned int notifyListOwnerId, unsigned int stringValue, VariableValue *top)

0x003DC634 - Disable_Read_Write_Cheat_Protection
Set To - 48 00 00 D8
Default Value - 60 7C 00 00

0x007AA0B0 - RPC_Return_Value_Fix
Set To - 90 64 00 04 /*Set After RPC Is Enabled*\
Default Value - 30 E3 00 04

0x003DBDD0 - DisableRSAProtection
Set To - Nop (60 00 00 00)
Default Value - 88 63 00 18

OffHost Structures:
trace_t Structure
Code:
typedef struct
{
    float friction;
    char padding000[0x14];
    short hitIndex;
    char padding001[0x502];    
}trace_t;
RefDef Struct:
Code:
typedef struct
{
    int x;  
    int y;  
    int width;
    int height;  
    char padding000[0x14];
    float fovx;  
    float fovy;  
    float fovz;  
    char padding001[0x4];
    float fov;
    Vector3 viewOrigin;
    char padding002[0x4];
    Vector3 axis[3];
}RefDef;
clientActive_t Struct
Code:
typedef struct
{
    char padding000[0x98];
    Vector3 origin;  
    char padding001[0x64];
    float refViewAngle[2];
    char padding002[0x2B84];
    float viewAngle[2];
    char padding003[0x40014];
}clientActive;
party_t structure
Code:
typedef struct
{
    char name[32];
    char padding000[0x4];
    char clanTag[4];
    char padding001[0xC];
    char localIp[4];  
    char padding002[0x2E];
    char remoteIp[4];
    char padding003[0xDE];
}party_t;
clientInfo_t
Code:
typedef struct
{
    char padding000[0xC];
    char name[0x20];
    int team;
    char padding001[0x7D8];
}clientInfo_t;

If you feel you should be in credits for any reason please comment below giving the reason why you should be in credits :grinning:

Credits:
Code:
S63
SC58
Cedric bby :P
Jo-Milk being boss :P
Cedric
Mango_Knife
Seb5594
iMCSx
Shark
And Anyone I missed
 

Top