diff --git a/base/CObject.hpp b/base/CObject.hpp index 082e583..f2c8372 100644 --- a/base/CObject.hpp +++ b/base/CObject.hpp @@ -20,5 +20,5 @@ class CObject : public rage::CPhysical uint64_t qword408; uint64_t qword410; }; -static_assert(sizeof(CObject) == 0x418); +static_assert(sizeof(CObject) == 0x3F8); #pragma pack(pop) diff --git a/entities/CPhysical.hpp b/entities/CPhysical.hpp index d48cf1c..3bdf916 100644 --- a/entities/CPhysical.hpp +++ b/entities/CPhysical.hpp @@ -19,16 +19,14 @@ namespace rage char gap191[3]; uint32_t dword194; char gap198[232]; - float m_health; //0x0280 - char pad_0284[28]; + float m_health; //0x0280 float m_maxhealth; //0x02A0 - char gap2A4[4]; uint64_t qword2A8; char gap2B0[72]; uint64_t qword2F8; uint64_t qword300; uint32_t dword308; }; - static_assert(sizeof(CPhysical) == 0x30C); + static_assert(sizeof(CPhysical) == 0x2EC); #pragma pack(pop) } diff --git a/ped/CPed.hpp b/ped/CPed.hpp index 0bdeb21..38b49da 100644 --- a/ped/CPed.hpp +++ b/ped/CPed.hpp @@ -29,6 +29,6 @@ public: char pad_146C[196]; //0x146C float m_armor; //0x1530 }; //Size: 0x1534 -static_assert(sizeof(CPed) == 0x1534); +static_assert(sizeof(CPed) == 0x1514); #pragma pack(pop) diff --git a/vehicle/CVehicle.hpp b/vehicle/CVehicle.hpp index bde7b00..32760f4 100644 --- a/vehicle/CVehicle.hpp +++ b/vehicle/CVehicle.hpp @@ -326,5 +326,5 @@ public: char gap1467; uint64_t qword1468; }; -static_assert(sizeof(CVehicle) == 0x1470); +static_assert(sizeof(CVehicle) == 0x1450); #pragma pack(pop)