//
// MenuLayer::googlePlaySignedIn from 0x10037cd50 to 0x10037ce12 (194 bytes)
//
// 2 xrefs:
// > sub_10037CE40 @ 0x10037ce4c
// > ??> @ 0x100b27e28
//
// This function is hookable on this platform (idp: pc, 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:29:07 +0000
//
__int64 __fastcall MenuLayer::googlePlaySignedIn(__int64 a1)
{
__int64 result; // rax
char isSignedInGooglePlay; // r15
__int64 v3; // r14
__int64 v4; // rax
__int64 v5; // rsi
__int64 v6; // rax
__int64 v7; // rax
__int64 v8; // rax
if ( *(_QWORD *)(a1 + 440) )
{
isSignedInGooglePlay = PlatformToolbox::isSignedInGooglePlay(a1);
v3 = *(_QWORD *)(a1 + 440);
v4 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
if ( isSignedInGooglePlay )
{
v5 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v4, "GJ_gpgBtn_001.png");
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 1160LL))(v3, v5);
v6 = cocos2d::CCDirector::sharedDirector(v3, v5);
v7 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 128LL))(v6);
return cocos2d::CCScheduler::scheduleSelector(
v7,
MenuLayer::syncPlatformAchievements,
0,
a1,
4294967294LL,
0,
0.0,
0.0);
}
else
{
v8 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v4, "GJ_gpBtn_001.png");
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 1160LL))(v3, v8);
}
}
return result;
}