//
// cocos2d::ccArrayRemoveObjectAtIndexChild from 0x5ec74c to 0x5ec77c (48 bytes)
//
// 1 xrefs:
// > cocos2d::CCArray::removeObjectAtIndexChild @ 0x5c2128
//
// 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::ccArrayRemoveObjectAtIndexChild(int *a1, int a2, int a3)
{
cocos2d::CCObject *v5; // r0
int v6; // r3
v5 = *(cocos2d::CCObject **)(a1[3] + 4 * a2);
v5->m_uUnknown = -1;
if ( a3 )
cocos2d::CCObject::release(v5);
v6 = *a1;
if ( a1[2] == -1 )
a1[2] = v6;
*a1 = v6 - 1;
*(_DWORD *)(a1[3] + 4 * a2) = 0;
}