//
// sub_10002C3F8 from 0x10002c3f8 to 0x10002c470 (120 bytes)
//
// 1 xrefs:
// > LevelInfoLayer::init @ 0x1000291b8
//
// 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 10:57:28 +0000
//
__int64 __fastcall sub_10002C3F8(__int64 result, __int64 a2)
{
__int64 v2; // x8
int v3; // w20
__int64 v4; // x19
__int64 v5; // x0
const char *v6; // x1
__int64 v7; // x0
if ( (*(_BYTE *)(result + 488) & 1) == 0 )
{
v2 = *(_QWORD *)(result + 504);
v3 = *(unsigned __int8 *)(v2 + 912);
*(_BYTE *)(v2 + 912) = v3 ^ 1;
v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 1072LL))(a2);
v5 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
if ( v3 )
v6 = "gj_heartOff_001.png";
else
v6 = "gj_heartOn_001.png";
v7 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v5, v6);
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 1160LL))(v4, v7);
}
return result;
}