//
// cocos2d::CCAutoreleasePool::removeObject from 0xd41394 to 0xd413e8 (84 bytes)
//
// 2 xrefs:
// > cocos2d::CCPoolManager::removeObject @ 0xd41688
// > ??> @ 0xf88d8
//
// 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:07:31 +0000
//
__int64 __fastcall cocos2d::CCAutoreleasePool::removeObject(cocos2d::CCArray **this, cocos2d::CCObject *a2)
{
unsigned int v4; // w19
__int64 result; // x0
v4 = 0;
result = *((unsigned int *)a2 + 6);
if ( (_DWORD)result )
{
do
{
++v4;
cocos2d::CCArray::removeObject(*(this + 7), a2, 0);
result = *((unsigned int *)a2 + 6);
}
while ( (unsigned int)result > v4 );
}
return result;
}