//
// sub_1001F62F0 from 0x1001f62f0 to 0x1001f63e8 (248 bytes)
//
// 1 xrefs:
// > sub_1001F50BC @ 0x1001f574c
//
// 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:00:40 +0000
//
__int64 __fastcall sub_1001F62F0(__int64 result)
{
__int64 v1; // x19
__int64 v2; // x0
const char *v3; // x1
__int64 v4; // x0
const char *v5; // x1
__int64 v6; // x0
__int64 v7; // x0
const char *v8; // x1
__int64 v9; // x20
__int64 v10; // x0
const char *v11; // x1
__int64 v12; // x1
if ( *(_QWORD *)(result + 712) )
{
v1 = result;
v2 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(result + 880) + 1072LL))(*(_QWORD *)(result + 880));
if ( *(_DWORD *)(*(_QWORD *)(v1 + 712) + 140LL) == 1 )
v3 = "GJ_button_02.png";
else
v3 = "GJ_button_01.png";
ButtonSprite::updateBGImage(v2, (__int64)v3);
v4 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v1 + 888) + 1072LL))(*(_QWORD *)(v1 + 888));
if ( *(_DWORD *)(*(_QWORD *)(v1 + 712) + 140LL) == 2 )
v5 = "GJ_button_02.png";
else
v5 = "GJ_button_01.png";
ButtonSprite::updateBGImage(v4, (__int64)v5);
v6 = *(_QWORD *)(v1 + 896);
if ( v6 )
{
v7 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 1072LL))(v6);
if ( *(_DWORD *)(*(_QWORD *)(v1 + 712) + 140LL) == 3 )
v8 = "GJ_button_02.png";
else
v8 = "GJ_button_01.png";
ButtonSprite::updateBGImage(v7, (__int64)v8);
}
v9 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v1 + 904) + 1072LL))(*(_QWORD *)(v1 + 904));
v10 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v9);
if ( *(_DWORD *)(v1 + 1116) == 4 )
v11 = "GJ_mainSFXButton_001.png";
else
v11 = "GJ_customSFXButton_001.png";
v12 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v10, v11);
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v9 + 1160LL))(v9, v12);
}
return result;
}