Playlayer is different on android?

This commit is contained in:
altalk23 2023-09-14 15:38:03 +03:00
parent bb032cc160
commit 4e8f7866bf
2 changed files with 8 additions and 1 deletions

View file

@ -4862,6 +4862,7 @@ class PlayLayer : GJBaseGameLayer, CCCircleWaveDelegate, CurrencyRewardDelegate,
void xPosForTime(float) = mac 0x7d140, win 0x208840; void xPosForTime(float) = mac 0x7d140, win 0x208840;
~PlayLayer() = mac 0x6b090, win 0x1fafc0; ~PlayLayer() = mac 0x6b090, win 0x1fafc0;
// there is 0x10 more for android between this and ccdrawnode
float unused4c8; float unused4c8;
bool unused4cc; bool unused4cc;
bool m_hasCheated; bool m_hasCheated;

View file

@ -9,6 +9,12 @@
GEODE_MEMBER_CHECK(GameManager, m_playLayer, 0x138); GEODE_MEMBER_CHECK(GameManager, m_playLayer, 0x138);
GEODE_MEMBER_CHECK(GameManager, m_levelEditorLayer, 0x13c); 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 #endif