//
// LevelPage::onMoreGames from 0x512ec0 to 0x512efc (60 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:51:33 +0000
//
int __fastcall LevelPage::onMoreGames(LevelPage *this, cocos2d::CCObject *a2)
{
GameManager *v2; // r0
GJMoreGamesLayer *v3; // r0
cocos2d::CCDirector *v4; // r4
int v5; // r0
v2 = (GameManager *)GameManager::sharedState(this);
v3 = (GJMoreGamesLayer *)GameManager::reportAchievementWithID(
v2,
"geometry.ach.moreGames",
(const char *)&dword_64,
0);
v4 = (cocos2d::CCDirector *)GJMoreGamesLayer::create(v3);
v5 = cocos2d::CCDirector::sharedDirector(v4);
(*(void (__fastcall **)(_DWORD, cocos2d::CCDirector *, int))(**(_DWORD **)(v5 + 220) + 232))(
*(_DWORD *)(v5 + 220),
v4,
100);
return (*(int (__fastcall **)(cocos2d::CCDirector *, _DWORD))(*(_DWORD *)v4 + 664))(v4, 0);
}