//
// MenuLayer::onGameCenter from 0x100267d68 to 0x100267db0 (72 bytes)
//
// 1 xrefs:
// > MenuLayer::FLAlert_Clicked @ 0x100268138
//
// 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
//
void __fastcall MenuLayer::onGameCenter(MenuLayer *a1, cocos2d::CCObject *a2)
{
GameManager *v3; // x0
GameManager *v4; // x0
v3 = GameManager::sharedState();
if ( GameManager::getGameVariable(v3, "0034") )
{
v4 = GameManager::sharedState();
GameManager::syncPlatformAchievements(v4);
PlatformToolbox::showAchievements();
}
else
{
MenuLayer::showGCQuestion(a1);
}
}