//
// cocos2d::ccCArrayRemoveValueAtIndex from 0x7f7b1e to 0x7f7b3e (32 bytes)
//
// 3 xrefs:
// > cocos2d::ccCArrayRemoveValue @ 0x7f7b64
// > cocos2d::CCTMXLayer::removeChild @ 0x804ae2
// > cocos2d::CCTMXLayer::removeTileAt @ 0x804b38
//
// 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
//
unsigned int *__fastcall cocos2d::ccCArrayRemoveValueAtIndex(unsigned int *result, unsigned int a2)
{
int v2; // r2
unsigned int v3; // r3
v2 = 4 * a2;
v3 = *result - 1;
*result = v3;
while ( a2 < v3 )
{
++a2;
*(_DWORD *)(result[3] + v2) = *(_DWORD *)(result[3] + v2 + 4);
v2 += 4;
}
return result;
}