//
// MoreOptionsLayer::onGPSignOut from 0x8eef18 to 0x8eef8c (116 bytes)
//
// 1 xrefs:
// > ??> @ 0x5c4d0
//
// 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:56:57 +0000
//
__int64 __fastcall MoreOptionsLayer::onGPSignOut(MoreOptionsLayer *this, cocos2d::CCObject *a2)
{
_BOOL8 isSignedInGooglePlay; // x0
GameManager *v4; // x0
isSignedInGooglePlay = PlatformToolbox::isSignedInGooglePlay(this);
if ( !isSignedInGooglePlay )
return MoreOptionsLayer::toggleGP(this);
v4 = (GameManager *)PlatformToolbox::signOutGooglePlay((PlatformToolbox *)isSignedInGooglePlay);
*(_BYTE *)(GameManager::sharedState(v4) + 505) = 0;
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 92) + 344LL))(*((_QWORD *)this + 92), 1);
return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 93) + 344LL))(*((_QWORD *)this + 93), 0);
}