//
// MenuLayer::onGameCenter from 0x3f9ba0 to 0x3f9bcc (44 bytes)
//
// 1 xrefs:
// > MenuLayer::FLAlert_Clicked @ 0x3f9da4
//
// 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::onGameCenter(MenuLayer *this, cocos2d::CCObject *a2)
{
GameManager *v3; // r0
GameManager *GameVariable; // r0
GameManager *v6; // r0
PlatformToolbox *v7; // r0
int v8; // r1
int v9; // r2
int v10; // r3
v3 = (GameManager *)GameManager::sharedState(this);
GameVariable = (GameManager *)GameManager::getGameVariable(v3, "0034");
if ( !GameVariable )
return MenuLayer::showGCQuestion(this);
v6 = (GameManager *)GameManager::sharedState(GameVariable);
v7 = (PlatformToolbox *)GameManager::syncPlatformAchievements(v6);
return PlatformToolbox::showAchievements(v7, v8, v9, v10);
}