//
// cocos2d::ccCArrayRemoveValue from 0xb21ba4 to 0xb21be0 (60 bytes)
//
// 4 xrefs:
// > cocos2d::ccCArrayRemoveArray @ 0xb21c14
// > cocos2d::CCTouchDispatcher::addStandardDelegate @ 0xb3eb78
// > cocos2d::CCTouchDispatcher::addTargetedDelegate @ 0xb3ec60
// > ??> @ 0xa9248
//
// 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
//
unsigned int *__fastcall cocos2d::ccCArrayRemoveValue(int *a1, __int64 a2)
{
unsigned int *result; // x0
result = (unsigned int *)cocos2d::ccCArrayGetIndexOfValue(a1, a2);
if ( (_DWORD)result != -1 )
return cocos2d::ccCArrayRemoveValueAtIndex((unsigned int *)a1, (unsigned int)result);
return result;
}