//
// MoreOptionsLayer::onGPSignOut from 0x52ceb6 to 0x52cef8 (66 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:52:01 +0000
//
int __fastcall MoreOptionsLayer::onGPSignOut(MoreOptionsLayer *this, cocos2d::CCObject *a2)
{
_BOOL4 isSignedInGooglePlay; // r0
int v4; // r1
int v5; // r2
int v6; // r3
GameManager *v8; // r0
isSignedInGooglePlay = PlatformToolbox::isSignedInGooglePlay(this);
if ( !isSignedInGooglePlay )
return MoreOptionsLayer::toggleGP(this);
v8 = (GameManager *)PlatformToolbox::signOutGooglePlay((PlatformToolbox *)isSignedInGooglePlay, v4, v5, v6);
*(_BYTE *)(GameManager::sharedState(v8) + 385) = 0;
(*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 140) + 172))(*((_DWORD *)this + 140), 1);
return (*(int (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 141) + 172))(*((_DWORD *)this + 141), 0);
}