//
// cocos2d::ccCArrayRemoveValue from 0x5ecb08 to 0x5ecb22 (26 bytes)
//
// 3 xrefs:
// > cocos2d::ccCArrayRemoveArray @ 0x5ecb3a
// > cocos2d::CCTouchDispatcher::addStandardDelegate @ 0x5fa7a4
// > cocos2d::CCTouchDispatcher::addTargetedDelegate @ 0x5fa816
//
// 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(unsigned int *a1, int a2)
{
unsigned int *result; // r0
result = (unsigned int *)cocos2d::ccCArrayGetIndexOfValue(a1, a2);
if ( result != (unsigned int *)-1 )
return cocos2d::ccCArrayRemoveValueAtIndex(a1, (unsigned int)result);
return result;
}