//
// MenuLayer::onGooglePlayGames from 0x3f988e to 0x3f98ae (32 bytes)
//
// 0 xrefs:
//
// 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::onGooglePlayGames(MenuLayer *this, cocos2d::CCObject *a2, int a3, int a4)
{
_BOOL4 isSignedInGooglePlay; // r0
int v5; // r1
int v6; // r2
GameManager *v7; // r0
PlatformToolbox *v8; // r0
int v9; // r1
int v10; // r2
isSignedInGooglePlay = PlatformToolbox::isSignedInGooglePlay(this);
if ( !isSignedInGooglePlay )
return PlatformToolbox::signInGooglePlay(nullptr, v5, v6, a4);
v7 = (GameManager *)GameManager::sharedState((GameManager *)isSignedInGooglePlay);
v8 = (PlatformToolbox *)GameManager::syncPlatformAchievements(v7);
return PlatformToolbox::showAchievements(v8, v9, v10, a4);
}