//
// MoreOptionsLayer::onGPSignOut from 0x10079d510 to 0x10079d58a (122 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall MoreOptionsLayer::onGPSignOut(MoreOptionsLayer *a1, cocos2d::CCObject *a2)
{
bool isSignedInGooglePlay; // r14
if ( PlatformToolbox::isSignedInGooglePlay() )
{
PlatformToolbox::signOutGooglePlay();
GameManager::sharedState()->m_googlePlaySignedIn = 0;
((void (__fastcall *)(CCMenuItemSpriteExtra *, __int64))a1->m_gpSignInBtn->setVisible)(a1->m_gpSignInBtn, 1);
isSignedInGooglePlay = 0;
}
else
{
isSignedInGooglePlay = PlatformToolbox::isSignedInGooglePlay();
((void (__fastcall *)(CCMenuItemSpriteExtra *, bool))a1->m_gpSignInBtn->setVisible)(
a1->m_gpSignInBtn,
!isSignedInGooglePlay);
}
((void (__fastcall *)(CCMenuItemSpriteExtra *, bool))a1->m_gpSignOutBtn->setVisible)(
a1->m_gpSignOutBtn,
isSignedInGooglePlay);
}