//
// MenuLayer::onGooglePlayGames from 0x6eaa64 to 0x6eaa90 (44 bytes)
//
// 1 xrefs:
// > ??> @ 0x5ba68
//
// 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::onGooglePlayGames(MenuLayer *this, cocos2d::CCObject *a2)
{
_BOOL8 isSignedInGooglePlay; // x0
GameManager *v4; // x0
PlatformToolbox *v5; // x0
isSignedInGooglePlay = PlatformToolbox::isSignedInGooglePlay(this);
if ( !isSignedInGooglePlay )
return PlatformToolbox::signInGooglePlay((PlatformToolbox *)isSignedInGooglePlay);
v4 = (GameManager *)GameManager::sharedState((GameManager *)isSignedInGooglePlay);
v5 = (PlatformToolbox *)GameManager::syncPlatformAchievements(v4);
return PlatformToolbox::showAchievements(v5);
}