//
// cocos2d::ccArrayFastRemoveObjectAtIndexChild from 0x5ec8ea to 0x5ec914 (42 bytes)
//
// 1 xrefs:
// > cocos2d::CCArray::fastRemoveObjectAtIndexChild @ 0x5c2148
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall cocos2d::ccArrayFastRemoveObjectAtIndexChild(int *a1, int a2)
{
int v4; // r3
int v5; // r4
cocos2d::CCObject *v6; // r0
v4 = a1[3];
v5 = *a1 - 1;
*a1 = v5;
v6 = *(cocos2d::CCObject **)(v4 + 4 * a2);
*(_DWORD *)(*(_DWORD *)(v4 + 4 * v5) + 32) = a2;
if ( v6 )
cocos2d::CCObject::release(v6);
*(_DWORD *)(a1[3] + 4 * a2) = *(_DWORD *)(a1[3] + 4 * v5);
}