// // MenuLayer::googlePlaySignedIn from 0x100391e10 to 0x100391ed2 (194 bytes) // // 2 xrefs: // > sub_100391F00 @ 0x100391f0c // > @ 0x10091fae0 // // 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 MenuLayer::googlePlaySignedIn(MenuLayer *a1) { bool isSignedInGooglePlay; // r15 cocos2d::CCSprite *m_gpSprite; // r14 cocos2d::CCSpriteFrameCache *v3; // rax cocos2d::CCSpriteFrame *v4; // rax cocos2d::CCDirector *v5; // rax cocos2d::CCScheduler *v6; // rax cocos2d::CCSpriteFrame *v7; // rax if ( a1->m_gpSprite ) { isSignedInGooglePlay = PlatformToolbox::isSignedInGooglePlay(); m_gpSprite = a1->m_gpSprite; v3 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); if ( isSignedInGooglePlay ) { v4 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v3, "GJ_gpgBtn_001.png"); ((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::CCSpriteFrame *))m_gpSprite->setDisplayFrame)(m_gpSprite, v4); v5 = cocos2d::CCDirector::sharedDirector(); v6 = (cocos2d::CCScheduler *)((__int64 (__fastcall *)(cocos2d::CCDirector *))v5->getScheduler)(v5); cocos2d::CCScheduler::scheduleSelector( v6, (cocos2d::SEL_SCHEDULE)(unsigned __int64)MenuLayer::syncPlatformAchievements, a1, 0.0, 0xFFFFFFFE, 0.0, 0); } else { v7 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v3, "GJ_gpBtn_001.png"); ((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::CCSpriteFrame *))m_gpSprite->setDisplayFrame)(m_gpSprite, v7); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source