//
// cocos2d::ccCArrayFastRemoveValueAtIndex from 0xb21b88 to 0xb21ba4 (28 bytes)
//
// 1 xrefs:
// > ??> @ 0x4d310
//
// 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
//
__int64 __fastcall cocos2d::ccCArrayFastRemoveValueAtIndex(__int64 a1, unsigned int a2)
{
__int64 v2; // x3
unsigned int v3; // w2
__int64 result; // x0
v2 = *(_QWORD *)(a1 + 16);
v3 = *(_DWORD *)a1 - 1;
*(_DWORD *)a1 = v3;
result = *(_QWORD *)(v2 + 8LL * v3);
*(_QWORD *)(v2 + 8LL * a2) = result;
return result;
}