-
Notifications
You must be signed in to change notification settings - Fork 0
/
Addresses.h
85 lines (77 loc) · 1.42 KB
/
Addresses.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
#pragma once
class Addresses
{
public:
uintptr_t moduleBase = (uintptr_t)GetModuleHandle(L"MinutesTillDawn.exe");
uintptr_t unityPlayer = (uintptr_t)GetModuleHandleA("UnityPlayer.dll");
uintptr_t localPlayer = unityPlayer + 0x017FE578;
static void calcAddresses();
};
namespace flanne
{
class Health
{
public:
uintptr_t* maxHP;
uintptr_t* HP;
uintptr_t* isInvincible;
};
class Ammo
{
public:
uintptr_t* Ammo;
uintptr_t* infiniteAmmo;
};
class PlayerController
{
public:
uintptr_t* movementSpeed;
};
class Player
{
public:
class PlayerXP
{
public:
uintptr_t* level;
uintptr_t* xp;
};
};
class StatMod
{
public:
uintptr_t* flatBonus;
uintptr_t* multiplierBonus;
uintptr_t* multiplierReduction;
};
class GunData
{
public:
uintptr_t* damage;
uintptr_t* shootCooldown;
uintptr_t* maxAmmo;
uintptr_t* reloadDuration;
uintptr_t* numOfProjectiles;
uintptr_t* spread;
uintptr_t* knockback;
uintptr_t* projectileSpeed;
uintptr_t* bounce;
uintptr_t* piercing;
uintptr_t* burnChance;
uintptr_t* inaccuracy;
uintptr_t* isSummonGun;
};
class GameTimer
{
public:
uintptr_t* timer;
};
}
extern Addresses* addr;
extern flanne::Health* cHealth;
extern flanne::Ammo* cAmmo;
extern flanne::PlayerController* cPlayerController;
extern flanne::Player::PlayerXP* cPlayerXP;
extern flanne::StatMod* cStatMod;
extern flanne::GunData* cGunData;
extern flanne::GameTimer* cGameTimer;