// // MenuLayer::onMoreGames from 0x140335740 to 0x14033581b (219 bytes) // // 2 xrefs: // > MenuLayer::init @ 0x1403345a2 // > @ 0x1406d518c // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // // Hidden C++ exception states: #wind=2 void MenuLayer::onMoreGames(MenuLayer *a1, cocos2d::CCObject *a2) { GameManager *v3; // rcx bool v4; // r9 GameManager *v5; // rcx GJMoreGamesLayer *v6; // rbx void *v7; // [rsp+30h] [rbp+8h] void *v8; // [rsp+30h] [rbp+8h] v3 = (GameManager *)qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v7 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v7); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v3 = (GameManager *)qword_1406C2ED8; } GameManager::setGameVariable(v3, "0053", 1); v5 = (GameManager *)qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v8 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v8); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v5 = (GameManager *)qword_1406C2ED8; } GameManager::reportAchievementWithID(v5, "geometry.ach.moreGames", 100, v4); v6 = GJMoreGamesLayer::create(); a1->addChild_0(a1, v6, 100); v6->showLayer(v6, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source