//
// sub_1003A3CA4 from 0x1003a3ca4 to 0x1003a3d04 (96 bytes)
//
// 2 xrefs:
// > SimplePlayer::dSimplePlayer @ 0x1003a3d08
// > sub_1003A3D0C @ 0x1003a3d14
//
// 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:47 +0000
//
__int64 __fastcall sub_1003A3CA4(__int64 a1)
{
__int64 v2; // x0
__int64 v3; // x0
__int64 v4; // x0
*(_QWORD *)a1 = off_100944480;
*(_QWORD *)(a1 + 320) = off_100944968;
*(_QWORD *)(a1 + 344) = off_1009449E8;
v2 = GameManager::sharedState(a1);
v3 = GameManager::unloadIcons(v2, *(unsigned int *)(a1 + 664));
if ( *(_BYTE *)(a1 + 672) == 1 )
{
v4 = GameManager::sharedState(v3);
sub_1003B4CCC(v4, *(unsigned int *)(a1 + 664));
}
return cocos2d::CCSprite::dCCSprite((_QWORD *)a1);
}