From 4e8f7866bf7e70b2890c20a8b398769fc4000ccc Mon Sep 17 00:00:00 2001 From: altalk23 <45172705+altalk23@users.noreply.github.com> Date: Thu, 14 Sep 2023 15:38:03 +0300 Subject: [PATCH] Playlayer is different on android? --- bindings/GeometryDash.bro | 1 + loader/test/members/Android.cpp | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/bindings/GeometryDash.bro b/bindings/GeometryDash.bro index 29b12d1d..023c7cc4 100644 --- a/bindings/GeometryDash.bro +++ b/bindings/GeometryDash.bro @@ -4862,6 +4862,7 @@ class PlayLayer : GJBaseGameLayer, CCCircleWaveDelegate, CurrencyRewardDelegate, void xPosForTime(float) = mac 0x7d140, win 0x208840; ~PlayLayer() = mac 0x6b090, win 0x1fafc0; + // there is 0x10 more for android between this and ccdrawnode float unused4c8; bool unused4cc; bool m_hasCheated; diff --git a/loader/test/members/Android.cpp b/loader/test/members/Android.cpp index fb5a10fd..ed8129cb 100644 --- a/loader/test/members/Android.cpp +++ b/loader/test/members/Android.cpp @@ -9,6 +9,12 @@ GEODE_MEMBER_CHECK(GameManager, m_playLayer, 0x138); GEODE_MEMBER_CHECK(GameManager, m_levelEditorLayer, 0x13c); -GEODE_MEMBER_CHECK(PlayLayer, m_level, 0x470); +static_assert(sizeof(GJBaseGameLayer) == 0x2cc); + +// GEODE_MEMBER_CHECK(PlayLayer, unknown4e8, 0x2e8); +// GEODE_MEMBER_CHECK(PlayLayer, m_endPortal, 0x324); +// GEODE_MEMBER_CHECK(PlayLayer, m_bottomGround, 0x37c); +// GEODE_MEMBER_CHECK(PlayLayer, m_topGround, 0x380); +// GEODE_MEMBER_CHECK(PlayLayer, m_level, 0x470); #endif \ No newline at end of file