//
// MenuLayer::googlePlaySignedIn from 0x1003054d0 to 0x10030559c (204 bytes)
//
// 2 xrefs:
// > sub_1003055C0 @ 0x1003055c4
// > ??> @ 0x10092a890
//
// 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 11:03:07 +0000
//
_DWORD *__fastcall MenuLayer::googlePlaySignedIn(_DWORD *result)
{
__int64 v1; // x19
__int64 v2; // x0
int v3; // w21
__int64 v4; // x20
__int64 v5; // x0
__int64 v6; // x0
__int64 v7; // x0
__int64 v8; // x0
__int64 v9; // x1
if ( *((_QWORD *)result + 55) )
{
v1 = (__int64)result;
v2 = sub_1001F926C();
v3 = v2;
v4 = *(_QWORD *)(v1 + 440);
v5 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v2);
if ( v3 )
{
v6 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v5, "GJ_gpgBtn_001.png");
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 1160LL))(v4, v6);
v7 = cocos2d::CCDirector::sharedDirector();
v8 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 128LL))(v7);
return cocos2d::CCScheduler::scheduleSelector(
v8,
(unsigned __int64)MenuLayer::syncPlatformAchievements,
0,
v1,
-2,
0,
0.0,
0.0);
}
else
{
v9 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v5, "GJ_gpBtn_001.png");
return (_DWORD *)(*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 1160LL))(v4, v9);
}
}
return result;
}