// // MoreOptionsLayer::toggleGP from 0x7cc164 to 0x7cc1f4 (144 bytes) // // 4 xrefs: // > MoreOptionsLayer::onGPSignIn @ 0x7cc228 // > MoreOptionsLayer::onGPSignOut @ 0x7cc29c // > MoreOptionsLayer::googlePlaySignedIn @ 0x7cc2a0 // > @ 0x4cba8 // // 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 MoreOptionsLayer::toggleGP(MoreOptionsLayer *a1) { bool isSignedInGooglePlay; // w0 CCMenuItemSpriteExtra *m_gpSignInBtn; // x2 isSignedInGooglePlay = PlatformToolbox::isSignedInGooglePlay(); m_gpSignInBtn = a1->m_gpSignInBtn; if ( isSignedInGooglePlay ) { m_gpSignInBtn->setVisible(a1->m_gpSignInBtn, 0); a1->m_gpSignOutBtn->setVisible(a1->m_gpSignOutBtn, 1); } else { m_gpSignInBtn->setVisible(a1->m_gpSignInBtn, 1); a1->m_gpSignOutBtn->setVisible(a1->m_gpSignOutBtn, 0); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source