add main cocos classes

This commit is contained in:
altalk23 2023-12-20 18:48:27 +03:00
parent 44d773a4c2
commit 38a8e10473

View file

@ -7,6 +7,17 @@ using namespace geode::prelude;
// Add known android struct members here
GEODE_SIZE_CHECK(CCObject, 0x34);
GEODE_SIZE_CHECK(CCNode, 0x108);
GEODE_SIZE_CHECK(CCNodeRGBA, 0x118);
GEODE_SIZE_CHECK(CCLayer, 0x13c);
GEODE_SIZE_CHECK(CCLayerRGBA, 0x14c);
GEODE_SIZE_CHECK(CCLayerColor, 0x1b8);
GEODE_SIZE_CHECK(CCSprite, 0x1fc);
GEODE_SIZE_CHECK(CCMenu, 0x154);
GEODE_SIZE_CHECK(CCMenuItem, 0x12c);
GEODE_SIZE_CHECK(CCMenuItemSprite, 0x138);
// needed classes are ones in the ids folder and some generic ones (i think they are already done though so only ids)