// // MenuLayer::googlePlaySignedIn from 0x5c215c to 0x5c2228 (204 bytes) // // 3 xrefs: // > `non-virtual thunk to'MenuLayer::googlePlaySignedIn @ 0x5c222c // > @ 0xc5478 // > @ 0x1147190 // // 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 MenuLayer::googlePlaySignedIn(MenuLayer *a1) { cocos2d::CCSprite *v2; // x19 void (__fastcall *v3)(cocos2d::CCSprite *__hidden, cocos2d::CCSpriteFrame *); // x20 cocos2d::CCSpriteFrameCache *v4; // x0 cocos2d::CCSpriteFrame *v5; // x0 cocos2d::CCSprite *m_gpSprite; // x20 void (__fastcall *setDisplayFrame)(cocos2d::CCSprite *__hidden, cocos2d::CCSpriteFrame *); // x21 cocos2d::CCSpriteFrameCache *v8; // x0 cocos2d::CCSpriteFrame *v9; // x0 cocos2d::CCDirector *v10; // x0 __int64 v11; // x0 if ( a1->m_gpSprite ) { if ( PlatformToolbox::isSignedInGooglePlay() ) { m_gpSprite = a1->m_gpSprite; setDisplayFrame = m_gpSprite->setDisplayFrame; v8 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v9 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v8, "GJ_gpgBtn_001.png"); setDisplayFrame(m_gpSprite, v9); v10 = cocos2d::CCDirector::sharedDirector(); v11 = (__int64)v10->getScheduler(v10); cocos2d::CCScheduler::scheduleSelector(v11, MenuLayer::syncPlatformAchievements, 0, a1, 4294967294LL, 0, 0.0, 0.0); } else { v2 = a1->m_gpSprite; v3 = v2->setDisplayFrame; v4 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v5 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v4, "GJ_gpBtn_001.png"); v3(v2, v5); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source