//
// MenuLayer::onGameCenter from 0x6eab9c to 0x6eabe8 (76 bytes)
//
// 2 xrefs:
// > MenuLayer::FLAlert_Clicked @ 0x6eb374
// > ??> @ 0x472c0
//
// 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::onGameCenter(MenuLayer *this, cocos2d::CCObject *a2)
{
GameManager *v3; // x0
GameManager *GameVariable; // x0
GameManager *v5; // x0
PlatformToolbox *v6; // x0
v3 = (GameManager *)GameManager::sharedState(this);
GameVariable = (GameManager *)(unsigned __int8)GameManager::getGameVariable(v3, "0034");
if ( !(_BYTE)GameVariable )
return MenuLayer::showGCQuestion(this);
v5 = (GameManager *)GameManager::sharedState(GameVariable);
v6 = (PlatformToolbox *)GameManager::syncPlatformAchievements(v5);
return PlatformToolbox::showAchievements(v6);
}