//
// cocos2d::ccArrayRemoveObject from 0xd92318 to 0xd9235c (68 bytes)
//
// 3 xrefs:
// > cocos2d::CCArray::removeObject @ 0xd4743c
// > cocos2d::ccArrayRemoveArray @ 0xd92394
// > ??> @ 0x42298
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:08:19 +0000
//
int *__fastcall cocos2d::ccArrayRemoveObject(int *a1, __int64 a2, char a3)
{
int *result; // x0
result = (int *)cocos2d::ccArrayGetIndexOfObject(a1, a2);
if ( (_DWORD)result != -1 )
return cocos2d::ccArrayRemoveObjectAtIndex(a1, (unsigned int)result, a3);
return result;
}