//
// MenuLayer::onMoreGames from 0x6ea858 to 0x6ea8e0 (136 bytes)
//
// 1 xrefs:
// > ??> @ 0x8dc10
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:51:45 +0000
//
__int64 __fastcall MenuLayer::onMoreGames(MenuLayer *this, cocos2d::CCObject *a2)
{
GameManager *v3; // x0
const char *v4; // x1
GameManager *v5; // x0
GameManager *v6; // x0
GJMoreGamesLayer *v7; // x0
__int64 v8; // x19
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 *, __int64, __int64))(*(_QWORD *)this + 464LL))(this, v8, 100);
return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v8 + 1328LL))(v8, 0);
}