//
// cocos2d::CCPoolManager::removeObject from 0x1002452c0 to 0x100245314 (84 bytes)
//
// 1 xrefs:
// > cocos2d::CCObject::dCCObject @ 0x10008e9a4
//
// 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 11:01:26 +0000
//
__int64 __fastcall cocos2d::CCPoolManager::removeObject(__int64 result, __int64 a2)
{
unsigned int v3; // w20
__int64 v4; // x21
if ( *(_DWORD *)(a2 + 24) )
{
v3 = 0;
v4 = *(_QWORD *)(result + 8);
do
{
result = sub_1002E765C(*(_QWORD *)(v4 + 56), a2, 0);
++v3;
}
while ( v3 < *(_DWORD *)(a2 + 24) );
}
return result;
}