// // cocos2d::CCAutoreleasePool::clear from 0xd413e8 to 0xd41474 (140 bytes) // // 3 xrefs: // > cocos2d::CCPoolManager::finalize @ 0xd4154c // > cocos2d::CCPoolManager::pop @ 0xd4164c // > @ 0xba700 // // 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::clear(cocos2d::CCArray **this) { __int64 result; // x0 cocos2d::CCArray *v3; // x0 unsigned int *v4; // x2 unsigned __int64 v5; // x3 __int64 v6; // x2 __int64 *v7; // x1 __int64 v8; // x2 result = cocos2d::CCArray::count(*(this + 7)); if ( (_DWORD)result ) { v3 = *(this + 7); if ( v3 ) { v4 = *((unsigned int **)v3 + 7); if ( *v4 ) { v5 = *((_QWORD *)v4 + 2); v6 = 8LL * *v4 - 8; v7 = (__int64 *)(v5 + v6); if ( v5 <= v5 + v6 ) { v8 = *(_QWORD *)(v5 + v6); if ( v8 ) { do { --v7; --*(_DWORD *)(v8 + 24); if ( v5 > (unsigned __int64)v7 ) break; v8 = *v7; } while ( *v7 ); v3 = *(this + 7); } } } } return cocos2d::CCArray::removeAllObjects(v3); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source