From f14b72b4cbca857f38c0f33265e79abf58fe4a74 Mon Sep 17 00:00:00 2001 From: krystalgamer Date: Sat, 9 Mar 2024 19:45:40 +0100 Subject: [PATCH] CMysterio done --- main.cpp | 1 + mysterio.cpp | 23 +++++++++++++++++++++++ mysterio.h | 40 +++++++++++++++++++++++++++++++++++++++- 3 files changed, 63 insertions(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 4527402..b1ddc2c 100644 --- a/main.cpp +++ b/main.cpp @@ -83,6 +83,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, validate_CLizard(); validate_CLizMan(); validate_CMystFoot(); + validate_CMysterio(); puts("[*] Validation done!"); diff --git a/mysterio.cpp b/mysterio.cpp index b33c6d9..d13b618 100644 --- a/mysterio.cpp +++ b/mysterio.cpp @@ -4,4 +4,27 @@ void validate_CMystFoot(void){ VALIDATE_SIZE(CMystFoot, 0x324); +} + +void validate_CMysterio(void){ + VALIDATE_SIZE(CMysterio, 0x3D0); + +VALIDATE(CMysterio, field_324, 0x324); +VALIDATE(CMysterio, field_32C, 0x32C); +VALIDATE(CMysterio, field_358, 0x358); +VALIDATE(CMysterio, field_360, 0x360); + +VALIDATE(CMysterio, field_364, 0x364); +VALIDATE(CMysterio, field_368, 0x368); +VALIDATE(CMysterio, field_36C, 0x36C); +VALIDATE(CMysterio, field_374, 0x374); + +VALIDATE(CMysterio, field_378, 0x378); +VALIDATE(CMysterio, field_37C, 0x37C); +VALIDATE(CMysterio, field_380, 0x380); +VALIDATE(CMysterio, field_384, 0x384); + +VALIDATE(CMysterio, field_38C, 0x38C); +VALIDATE(CMysterio, field_398, 0x398); +VALIDATE(CMysterio, field_3A8, 0x3A8); } \ No newline at end of file diff --git a/mysterio.h b/mysterio.h index 0e8710d..5d13cdf 100644 --- a/mysterio.h +++ b/mysterio.h @@ -6,4 +6,42 @@ class CMystFoot : public CBaddy {}; -void validate_CMystFoot(void); \ No newline at end of file +class CMysterio : public CBaddy { + public: + int field_324; + unsigned char padAfter324[0x4]; + + int field_32C; + unsigned char padAfter32C[0x358-0x32c-4]; + + int field_358; + unsigned char padAfter358[0x4]; + + + int field_360; + int field_364; + int field_368; + int field_36C; + unsigned char padAfter36C[0x4]; + + int field_374; + int field_378; + int field_37C; + int field_380; + int field_384; + unsigned char padAfter384[0x4]; + + int field_38C; + unsigned char padAfter38c[0x8]; + + int field_398; + unsigned char padAfter398[0x3a8-0x398-4]; + + + int field_3A8; + unsigned char mysterioEndPad[0x3d0-0x3a8-4]; + +}; + +void validate_CMystFoot(void); +void validate_CMysterio(void); \ No newline at end of file