//
// MenuLayer::googlePlaySignedIn from 0x3f94e0 to 0x3f9564 (132 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'MenuLayer::googlePlaySignedIn @ 0x3f9574
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:47:19 +0000
//
PlatformToolbox *__fastcall MenuLayer::googlePlaySignedIn(PlatformToolbox *this)
{
int v1; // r5
_BOOL4 isSignedInGooglePlay; // r0
int *v3; // r4
int v4; // r3
int (__fastcall *v5)(int *, int); // r6
cocos2d::CCSpriteFrameCache *v6; // r0
int v7; // r0
cocos2d::CCDirector *v8; // r0
int v9; // r0
int v10; // r0
int (__fastcall *v11)(int *, int); // r5
cocos2d::CCSpriteFrameCache *v12; // r0
int v13; // r0
v1 = (int)this;
if ( *((_DWORD *)this + 83) )
{
isSignedInGooglePlay = PlatformToolbox::isSignedInGooglePlay(this);
v3 = *(int **)(v1 + 332);
v4 = *v3;
if ( isSignedInGooglePlay )
{
v5 = *(int (__fastcall **)(int *, int))(v4 + 580);
v6 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache((cocos2d::CCSpriteFrameCache *)isSignedInGooglePlay);
v7 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v6, "GJ_gpgBtn_001.png");
v8 = (cocos2d::CCDirector *)v5(v3, v7);
v9 = cocos2d::CCDirector::sharedDirector(v8);
v10 = (*(int (__fastcall **)(int))(*(_DWORD *)v9 + 64))(v9);
return (PlatformToolbox *)cocos2d::CCScheduler::scheduleSelector(
v10,
(int)MenuLayer::syncPlatformAchievements,
0,
v1,
0.0,
-2,
0.0,
0);
}
else
{
v11 = *(int (__fastcall **)(int *, int))(v4 + 580);
v12 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(nullptr);
v13 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v12, "GJ_gpBtn_001.png");
return (PlatformToolbox *)v11(v3, v13);
}
}
return this;
}