//
// cocos2d::ccArrayRemoveObject from 0x7f7974 to 0x7f7992 (30 bytes)
//
// 2 xrefs:
// > cocos2d::CCArray::removeObject @ 0x7c9268
// > cocos2d::ccArrayRemoveArray @ 0x7f79ac
//
// 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
//
int *__fastcall cocos2d::ccArrayRemoveObject(int *a1, int a2, int a3)
{
int *result; // r0
result = (int *)cocos2d::ccArrayGetIndexOfObject(a1, a2);
if ( result != (int *)-1 )
return cocos2d::ccArrayRemoveObjectAtIndex(a1, (int)result, a3);
return result;
}