//
// cocos2d::ccArrayFastRemoveObjectAtIndexChild from 0xd92278 to 0xd922dc (100 bytes)
//
// 2 xrefs:
// > cocos2d::CCArray::fastRemoveObjectAtIndexChild @ 0xd47478
// > ??> @ 0x79db0
//
// 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 13:08:19 +0000
//
__int64 __fastcall cocos2d::ccArrayFastRemoveObjectAtIndexChild(unsigned int *a1, unsigned int a2)
{
__int64 v3; // x21
unsigned int v4; // w19
__int64 v5; // x0
unsigned int v6; // w19
__int64 v7; // x2
_QWORD *v8; // x3
_DWORD *v9; // x0
__int64 result; // x0
v3 = 8LL * a2;
v4 = *a1;
v5 = *((_QWORD *)a1 + 2);
v6 = v4 - 1;
*a1 = v6;
*(_DWORD *)(*(_QWORD *)(v5 + 8LL * v6) + 36LL) = a2;
v7 = *((_QWORD *)a1 + 2);
v8 = (_QWORD *)(v7 + v3);
v9 = *(_DWORD **)(v7 + v3);
if ( v9 )
{
cocos2d::CCObject::release(v9);
v7 = *((_QWORD *)a1 + 2);
v8 = (_QWORD *)(v7 + v3);
}
result = *(_QWORD *)(v7 + 8LL * v6);
*v8 = result;
return result;
}