//
// sub_1003F3298 from 0x1003f3298 to 0x1003f32f4 (92 bytes)
//
// 1 xrefs:
// > cocos2d::CCArray::removeObjectAtIndexChild @ 0x1002e7670
//
// 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_1003F3298(int *a1, unsigned int a2, int a3)
{
_DWORD *result; // x0
int v6; // w8
result = *(_DWORD **)(*((_QWORD *)a1 + 2) + 8LL * a2);
result[9] = -1;
if ( a3 )
result = cocos2d::CCObject::release(result);
v6 = *a1;
if ( a1[2] == -1 )
a1[2] = v6;
*a1 = v6 - 1;
*(_QWORD *)(*((_QWORD *)a1 + 2) + 8LL * a2) = 0;
return result;
}