//
// cocos2d::ccArrayFastRemoveObjectAtIndex from 0x7f78de to 0x7f7902 (36 bytes)
//
// 2 xrefs:
// > cocos2d::CCArray::fastRemoveObjectAtIndex @ 0x7c9288
// > cocos2d::ccArrayFastRemoveObject @ 0x7f796e
//
// 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::ccArrayFastRemoveObjectAtIndex(int *a1, int a2)
{
_DWORD *result; // r0
int v5; // r2
int v6; // r3
result = *(_DWORD **)(a1[3] + 4 * a2);
if ( result )
result = cocos2d::CCObject::release(result);
v5 = a1[3];
v6 = *a1 - 1;
*a1 = v6;
*(_DWORD *)(v5 + 4 * a2) = *(_DWORD *)(v5 + 4 * v6);
return result;
}