//
// cocos2d::ccCArrayRemoveValue from 0x7f7b50 to 0x7f7b6a (26 bytes)
//
// 3 xrefs:
// > cocos2d::ccCArrayRemoveArray @ 0x7f7b82
// > cocos2d::CCTouchDispatcher::addStandardDelegate @ 0x807f1a
// > cocos2d::CCTouchDispatcher::addTargetedDelegate @ 0x807fae
//
// 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::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;
}