//
// MenuLayer::onGameCenter from 0x10037cbc0 to 0x10037cc07 (71 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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:29:07 +0000
//
__int64 __fastcall MenuLayer::onGameCenter(__int64 a1)
{
__int64 v1; // rax
__int64 v2; // rdi
v1 = GameManager::sharedState();
if ( !(unsigned __int8)GameManager::getGameVariable(v1, "0034") )
return MenuLayer::showGCQuestion(a1);
v2 = GameManager::sharedState();
GameManager::syncPlatformAchievements(v2, (__int64)"0034");
return PlatformToolbox::showAchievements();
}