//
// MenuLayer::onMoreGames from 0x3f9724 to 0x3f9772 (78 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:47:19 +0000
//
int __fastcall MenuLayer::onMoreGames(MenuLayer *this, cocos2d::CCObject *a2)
{
GameManager *v3; // r0
const char *v4; // r1
GameManager *v5; // r0
GameManager *v6; // r0
GJMoreGamesLayer *v7; // r0
int v8; // r4
v3 = (GameManager *)GameManager::sharedState(this);
GameManager::setGameVariable(v3, "0053", 1);
PlatformToolbox::logEvent((PlatformToolbox *)"MoreGames", v4);
v6 = (GameManager *)GameManager::sharedState(v5);
v7 = (GJMoreGamesLayer *)GameManager::reportAchievementWithID(v6, "geometry.ach.moreGames", 100, 0);
v8 = GJMoreGamesLayer::create(v7);
(*(void (__fastcall **)(MenuLayer *, int, int))(*(_DWORD *)this + 232))(this, v8, 100);
return (*(int (__fastcall **)(int, _DWORD))(*(_DWORD *)v8 + 664))(v8, 0);
}