//
// MenuLayer::googlePlaySignedIn from 0x6ea574 to 0x6ea640 (204 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'MenuLayer::googlePlaySignedIn @ 0x6ea644
// > ??> @ 0x100b70
// > ??> @ 0x1426fe0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:51:45 +0000
//
_QWORD *__fastcall MenuLayer::googlePlaySignedIn(_QWORD *this)
{
_QWORD *v1; // x19
cocos2d::CCSpriteFrameCache **v2; // x19
__int64 (__fastcall *v3)(cocos2d::CCSpriteFrameCache **, __int64); // x20
cocos2d::CCSpriteFrameCache *v4; // x0
__int64 v5; // x0
cocos2d::CCSpriteFrameCache **v6; // x20
__int64 (__fastcall *v7)(cocos2d::CCSpriteFrameCache **, __int64); // x21
cocos2d::CCSpriteFrameCache *v8; // x0
__int64 v9; // x0
cocos2d::CCDirector *v10; // x0
__int64 v11; // x0
__int64 v12; // x0
if ( *(this + 55) )
{
v1 = this;
if ( PlatformToolbox::isSignedInGooglePlay((PlatformToolbox *)this) )
{
v6 = (cocos2d::CCSpriteFrameCache **)v1[55];
v7 = *((__int64 (__fastcall **)(cocos2d::CCSpriteFrameCache **, __int64))*v6 + 145);
v8 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(*v6);
v9 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v8, "GJ_gpgBtn_001.png");
v10 = (cocos2d::CCDirector *)v7(v6, v9);
v11 = cocos2d::CCDirector::sharedDirector(v10);
v12 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v11 + 128LL))(v11);
return (_QWORD *)cocos2d::CCScheduler::scheduleSelector(
v12,
MenuLayer::syncPlatformAchievements,
0,
v1,
4294967294LL,
0,
0.0,
0.0);
}
else
{
v2 = (cocos2d::CCSpriteFrameCache **)v1[55];
v3 = *((__int64 (__fastcall **)(cocos2d::CCSpriteFrameCache **, __int64))*v2 + 145);
v4 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(*v2);
v5 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v4, "GJ_gpBtn_001.png");
return (_QWORD *)v3(v2, v5);
}
}
return this;
}