//
// cocos2d::ccArrayFastRemoveObjectAtIndexChild from 0x7f792e to 0x7f795a (44 bytes)
//
// 1 xrefs:
// > cocos2d::CCArray::fastRemoveObjectAtIndexChild @ 0x7c9294
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:11 +0000
//
_DWORD *__fastcall cocos2d::ccArrayFastRemoveObjectAtIndexChild(int *a1, int a2)
{
int v4; // r3
int v5; // r4
_DWORD *result; // r0
v4 = a1[3];
v5 = *a1 - 1;
*a1 = v5;
*(_DWORD *)(*(_DWORD *)(v4 + 4 * v5) + 32) = a2;
result = *(_DWORD **)(a1[3] + 4 * a2);
if ( result )
result = cocos2d::CCObject::release(result);
*(_DWORD *)(a1[3] + 4 * a2) = *(_DWORD *)(a1[3] + 4 * v5);
return result;
}