// // MenuLayer::googlePlaySignedIn from 0x309f74 to 0x309ff8 (132 bytes) // // 1 xrefs: // > `non-virtual thunk to'MenuLayer::googlePlaySignedIn @ 0x30a008 // // 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) { _BOOL4 isSignedInGooglePlay; // r0 cocos2d::CCSprite *m_gpSprite; // r4 cocos2d::CCSprite_vtbl *v4; // r3 void (__fastcall *setDisplayFrame)(cocos2d::CCSprite *__hidden, cocos2d::CCSpriteFrame *); // r6 cocos2d::CCSpriteFrameCache *v6; // r0 cocos2d::CCSpriteFrame *v7; // r0 cocos2d::CCDirector *v8; // r0 int v9; // r0 void (__fastcall *v10)(cocos2d::CCSprite *__hidden, cocos2d::CCSpriteFrame *); // r5 cocos2d::CCSpriteFrameCache *v11; // r0 cocos2d::CCSpriteFrame *v12; // r0 if ( a1->m_gpSprite ) { isSignedInGooglePlay = PlatformToolbox::isSignedInGooglePlay(); m_gpSprite = a1->m_gpSprite; v4 = m_gpSprite->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; if ( isSignedInGooglePlay ) { setDisplayFrame = v4->setDisplayFrame; v6 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v7 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v6, "GJ_gpgBtn_001.png"); setDisplayFrame(m_gpSprite, v7); v8 = cocos2d::CCDirector::sharedDirector(); v9 = (int)v8->getScheduler(v8); cocos2d::CCScheduler::scheduleSelector(v9, (int)MenuLayer::syncPlatformAchievements, 0, (int)a1, 0.0, -2, 0.0, 0); } else { v10 = v4->setDisplayFrame; v11 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v12 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v11, "GJ_gpBtn_001.png"); v10(m_gpSprite, v12); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source