geode/loader/test/members/Android.cpp

23 lines
735 B
C++
Raw Normal View History

2023-09-14 07:50:13 -04:00
#include "Common.hpp"
#ifdef GEODE_IS_ANDROID
// Add known android struct members here
// needed classes are ones in the ids folder and some generic ones (i think they are already done though so only ids)
2023-09-14 08:25:28 -04:00
GEODE_MEMBER_CHECK(GameManager, m_playLayer, 0x138);
GEODE_MEMBER_CHECK(GameManager, m_levelEditorLayer, 0x13c);
2023-09-14 08:38:03 -04:00
static_assert(sizeof(GJBaseGameLayer) == 0x2cc);
2023-10-01 08:42:54 -04:00
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);
2023-10-01 12:07:33 -04:00
GEODE_MEMBER_CHECK(PlayLayer, m_shouldTryToKick, 0x4e0);
2023-09-14 08:25:28 -04:00
static_assert(sizeof(GameObject) == 0x42c);
2023-09-14 07:50:13 -04:00
#endif