//
// sub_1003F33B0 from 0x1003f33b0 to 0x1003f33f8 (72 bytes)
//
// 1 xrefs:
// > sub_1002E767C @ 0x1002e7680
//
// 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:04:31 +0000
//
_DWORD *__fastcall sub_1003F33B0(__int64 a1, unsigned int a2)
{
__int64 v4; // x8
_DWORD *result; // x0
unsigned int v6; // w9
v4 = *(_QWORD *)(a1 + 16);
result = *(_DWORD **)(v4 + 8LL * a2);
if ( result )
{
result = cocos2d::CCObject::release(result);
v4 = *(_QWORD *)(a1 + 16);
}
v6 = *(_DWORD *)a1 - 1;
*(_DWORD *)a1 = v6;
*(_QWORD *)(v4 + 8LL * a2) = *(_QWORD *)(v4 + 8LL * v6);
return result;
}