Black Ops 2 Source Code / Address Thread

Posts 46–60 of 66 · Page 4 of 5
YawX: 0x2370D9C
YawY: 0x2370D98

These adresses can be used for Host Silent aim :3




╚═( ͡° ͜ʖ ͡°)═╝
╚═(███)═╝
╚═(███)═╝
.╚═(███)═╝
..╚═(███)═╝
…╚═(███)═╝
…╚═(███)═╝
..╚═(███)═╝
.╚═(███)═╝
╚═(███)═╝
.╚═(███)═╝
..╚═(███)═╝
…╚═(███)═╝
…╚═(███)═╝
…..╚(███)╝
……╚(██)╝
………(█)
……….*
Black Ops 2 MP Weapon and Camo Enum
I removed dual wield weapons.
The enum only contains the real weapons, not things like turrets etc.

Code:
Enum MPWeapons

        none = 0
        defaultweapon = 1
        mp7 = 2
        pdw57 = 4
        vector = 6
        msmc = 8
        chicom = 10
        skorpion = 12
        peacekeeper = 14
        mtar = 16
        type = 20
        swat = 24
        fal = 28
        m27 = 32
        scar = 36
        smr = 40
        m8a1 = 44
        an94 = 48
        remington = 52
        s12 = 53
        ksg = 54
        m1216 = 55
        mk48 = 56
        qbblsw = 58
        lsat = 60
        hamr = 62
        svu = 64
        dsr50 = 65
        ballista = 66
        xpr = 67
        fiveseven = 78
        tac45 = 79
        b23r = 80
        executioner = 81
        kap = 82
        smaw = 84
        stinger = 85
        rpg = 86
        riot = 89
        crossbow = 90


    End Enum

Code:
Enum Camos

        standard = 0
        DEVGRU = 1
        TACS = 2
        ERDL = 3
        Siberia = 4
        Choco = 5
        BlueTiger = 6
        Bloodshot = 7
        Ghostex = 8
        Kryptek = 9
        CarbonFiber = 10
        CherryBlossom = 11
        ArtOfWar = 12
        Ronin = 13
        Skulls = 14
        Gold = 15
        Diamond = 16
        EliteMember = 17
        SeasonPassCamo = 18
        JungleWarfare = 19
        UKPunk = 20
        Benjamins = 21
        DiaDeMuertos = 22
        Graffiti = 23
        Kawaii = 24
        PartyRock = 25
        Zombies = 26
        Viper = 27
        Bacon = 28
        Ghosts = 29
        Paladin = 30
        Cyborg = 31
        Dragon = 32
        Unknown = 33
        Aqua = 34
        Breach = 35
        Coyote = 36
        Glam = 37
        Rogue = 38
        PackAPunch = 39
        DeadMansHand = 40
        Beast = 41
        Octane = 42
        Weaponized = 43
        Afterlife = 44
        AdvancedWarfare = 45
        


End Enum
Code:
NoAnimation: 0x007DD170 | Byte | 131/195
NoRecoil: 0x004AF319 | Byte | 116/235
NoRecoil Silent: 0x004AF220 | Byte | 131/195
Maybe useful
Class 1 * PUBLIC GAME *

Primary Camo: 02FBC000 | 2 or 4 Byte (Sorry i forgot it xD)
Secoundary Camo: 02FBC00C | 2 or 4 Byte (Sorry i forgot it xD)

ID-List by @i4mTh3Fr34kPr0

Primary:

6 - Devgru
10 - A-Tacs AU
12 - ERDL
16 - Siberia
20 - Choco
24 - Blue Tiger
28 - Bloodshot
32 - Ghostex: Delta 6
36 - Kryptek: Typhon
40 - Carbon Fiber
44 - Cherry Blossom
48 - Art of War
52 - Ronin
56 - Skulls
60 - Gold
64 - Diamant
68 - Elite Member
72 - IDK (DELUXE EDITION)
180 - Jungle Warfare
184 - UK Punk
188 - Benjamins
192 - Dia De Muertos
196 - Graffiti
200 - Kawaii
204 - Party Rock
208 - Zombies
212 - Viper
216 - Bacon
260 - Ghosts
264 - Paladin
268 - Cyborg
272 - Dragon
276 - Comics
296 - Aqua
300 - Breach
304 - Coyote
308 - Glam
312 - Rogue
316 - Pack A Punch
364 - Dead Mans Hand
368 - Beast
372 - Octane
376 - Weaponized 115
384 - Afterlife
388 - Hidden Camo? ( ADVANCED WARFARE )

Secoundary:

2228224 - Elite Member
6684672 - Party Rock
8519680 - Ghosts
10354688 - Pack a Punch
12582912 - Afterlife
Borde so i decided to get console unlocker not sure if it works but ehh worth a try

Step one:
goto ida and search in string windows for "CoD Black Ops II Console"

after that you will get one result double click it

Step 2: Double click on XRED (Function)

Step 3 press F5 while hovering what line is auto selected

Step 4: goto top of pseudocode tab and right click sub_..... and jump to exref

Step 5: click the one and one only xref and you will get a page that looks like this: https://gyazo.com/2ecf43b5620842e6c3996c1aa283b0d6
but your function will be named sub....

ok so right click the sub... and click change global name and rename it to "ViewDevConsole"

then when you done click it and press tab and you will get a screen like this: https://gyazo.com/4adae7f43735b2508fc97854e9566355
at the left there will be a thing that looks like .text:0041E140 the address is: 41E140 and just add 0x infront of that like 0x41E140

ok so now calling address:

Code:
void ShowDevConsole(){//Eithans bae
   ((int(__cdecl*)())0x41E140)();
   
   MSG m;//kenshen done this so not all credits are to me
   while (GetMessage(&m, 0, 0, 0)){
   	TranslateMessage(&m);
   	DispatchMessage(&m);
   }
}

And now you are done with a console<<ps im hot asf
I had nothing else to do so i thought i would get print to console for black ops 2 as like a update to showing console
this isent going to be a tutorial just the original name of function and address etc.

Function name in t6mp: sub_49B490
type: void
args: const char*
Address: 0x49B490

printing to console(I have not tested this so try it and if it doesent work well then cry):
Code:
typedef void(__cdecl* PrintToConsole_t)(const char* a1);
PrinToConsole_t PrintToConsole = (PrintToConsole_t)0x49B490;
and to call the function inside your dll hack:
PrintToconsole("Eithan is sooo fkin hot ^6<3^7\n");
and it will print "Eithan is sooo fkin hot <3" to console
A few addresses not sure if they all work

Usefull dvars:
SV_Cheats: 0x2A20080
Timescale: 0x2A34300
R_Fullscreen: 0x2A37D20
R_fullbright: 0x2A38080
R_Fog: 0x2A386E0
ChatHeight: 0x2A1FFC0
G_Speed: 0x2A21520
G_KnockBack: 0x2A21580
Player_SprintUnlimited: 0x2A2A520
KniveRange: 0x2A2B8A0
Gravity: 0x2A2C1A0
Com_MaxFps: 0x2A33760

please don't complane if they don't work!
Zombies Stats Kills // 02F13F94 or 02F60314 // 4 Bytes // both seem to work
TAC ScreenShot: 0x3A458F4 Set to 1
Here's the addresses for combat record kills. I couldn't find the main address because I ain't tryna get banned so here's a few that all
equal the ammount of kills on your account


Code:
0x02F43C9C
0x022B3DD4
0x02FB12B0
0x02F55DD0
Trriggerbot:

This is partial triggerbot code in c++. This is only detecting enemies and teamates that you are currently looking at.

Code:
BYTE G_TEAM[] = { 0x00, 0x00, 0x00, 0x00 };

HWND hWnd = FindWindowA(0, ("Call of Duty? Black Ops II - Multiplayer"));
	GetWindowThreadProcessId(hWnd, &pid);
	HANDLE BO2 = OpenProcess(PROCESS_ALL_ACCESS, FALSE, pid);
	ReadProcessMemory(BO2, (void*)(0x2E490D38), &G_TEAM, 4, 0);
	if (*(DWORD*)G_TEAM & 16)
	{
		cout << "ENEMY" << endl;
	}
	else if (*(DWORD*)G_TEAM & 8)
	{
		cout << "TEAMATE" << endl;
	}
usercmd_s struct dump:

Code:
#define __int8 char
#define __int16 short
#define __int32 int
#define __int64 long long

/* 2307 */
struct __cppobj bitarray<64>
{
  int array[2];
};

/* 1792 */
struct $190F2CF944EC18EE3AF27F473C4F9DBE
{
  unsigned __int32 weaponIdx : 8;
  unsigned __int32 attachment1 : 6;
  unsigned __int32 attachment2 : 6;
  unsigned __int32 attachment3 : 6;
  unsigned __int32 padding : 6;
};

/* 1793 */
union Weapon
{
  $190F2CF944EC18EE3AF27F473C4F9DBE __s0;
  unsigned int weaponData;
};

/* 2308 */
union $60971AFD306BE716C67F4ED6B7576D56
{
  float rollmove;
  __int16 damageKick[2];
};

/* 2309 */
struct __cppobj usercmd_s
{
  int serverTime;
  bitarray<64> button_bits;
  int angles[3];
  Weapon weapon;
  Weapon offHandWeapon;
  Weapon lastWeaponAltModeSwitch;
  char forwardmove;
  char rightmove;
  char upmove;
  char pitchmove;
  char yawmove;
  __int16 gunPitch;
  __int16 gunYaw;
  __int16 wiiumoteAimX;
  __int16 wiiumoteAimY;
  char wiiuControllerType;
  unsigned __int16 meleeChargeEnt;
  char meleeChargeDist;
  $60971AFD306BE716C67F4ED6B7576D56 ___u18;
  char selectedLocation[2];
  char selectedYaw;
  unsigned __int16 airburstMarkDistance;
  unsigned __int16 lastInput;
};
Someone got the Address for VSAT? Don't wanna search
Posts 46–60 of 66 · Page 4 of 5

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?