|
11 | 11 | Pubg Mobile Emulator Gameloop Memory Hacking C++ code examples. Ex: Name, Coord, Bones, Weapons, Items, Box, Drop etc.
|
12 | 12 |
|
13 | 13 | **[Youtube Video](https://www.youtube.com/watch?v=4KoCf4DoBKQ)**
|
14 |
| -[](https://www.youtube.com/watch?v=4KoCf4DoBKQ) |
| 14 | +[](https://www.youtube.com/watch?v=4KoCf4DoBKQ) |
15 | 15 |
|
16 | 16 | I just created this quickly. Then text not pretty good.
|
17 | 17 |
|
@@ -45,9 +45,38 @@ Link : [https://www.unknowncheats.me/forum/anti-cheat-bypass/312791-bypaph-proce
|
45 | 45 | You can see my codes and offsets
|
46 | 46 | [ESP Source File ](https://github.com/atiksoftware/pubg_mobile_memory_hacking_examples/blob/master/Esp.cpp)
|
47 | 47 |
|
| 48 | +--- |
| 49 | +## Player Details |
| 50 | + |
| 51 | + ```c++ |
| 52 | +Entities[i].setHealthEnergy( |
| 53 | + get<float>(Entities[i].entityAddv + 0x77C), // maxHealth |
| 54 | + get<float>(Entities[i].entityAddv + 0x778), // curHealth |
| 55 | + get<float>(Entities[i].entityAddv + 0x1408), // maxEnergy |
| 56 | + get<float>(Entities[i].entityAddv + 0x140C) // curEnergy |
| 57 | +); |
| 58 | +// Player Weapon |
| 59 | +bool foundedActiveWeapon = false; |
| 60 | +DWORD weaponsCapsule = get<DWORD>(Entities[i].entityAddv + 0x12C); |
| 61 | +for(int w = 0; w < 16; w += 4){ |
| 62 | + DWORD weaponBase = get<DWORD>(weaponsCapsule + w); |
| 63 | + DWORD weaponAmmoBase = get<DWORD>(weaponBase + 0x54); |
| 64 | + // handleA == 54234 && handleB == 2 |
| 65 | + if(get<int>(weaponBase + 0xD8) == 54234 && get<int>(weaponBase + 0xDC) == 2){ |
| 66 | + Entities[i].setActiveWeapon( |
| 67 | + get<int>(get<DWORD>(weaponBase + 0x4BC) + 0xC0), // weaponId |
| 68 | + get<int>(weaponAmmoBase + 0x7D4), // maxAmmo |
| 69 | + get<int>(weaponAmmoBase + 0x7D0) // curAmmo |
| 70 | + ); |
| 71 | + foundedActiveWeapon = true; |
| 72 | + break; |
| 73 | + } |
| 74 | +} |
| 75 | + ``` |
48 | 76 |
|
| 77 | +--- |
49 | 78 |
|
50 |
| -# Item Details |
| 79 | +## Item Details |
51 | 80 |
|
52 | 81 | Item Types
|
53 | 82 | 1 : Loot - Item
|
|
0 commit comments