// // cocos2d::CCAutoreleasePool::clear from 0xacef80 to 0xacf008 (136 bytes) // // 3 xrefs: // > cocos2d::CCPoolManager::finalize @ 0xacf0e0 // > cocos2d::CCPoolManager::pop @ 0xacf1e0 // > @ 0x8cc58 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void cocos2d::CCAutoreleasePool::clear(cocos2d::CCAutoreleasePool *a1) { cocos2d::CCArray *m_pManagedObjectArray; // x0 cocos2d::ccArray *data; // x2 unsigned __int64 arr; // x4 __int64 v5; // x1 __int64 *v6; // x2 __int64 v7; // x3 if ( (unsigned int)cocos2d::CCArray::count(a1->m_pManagedObjectArray) ) { m_pManagedObjectArray = a1->m_pManagedObjectArray; if ( m_pManagedObjectArray ) { data = m_pManagedObjectArray->data; if ( data->num ) { arr = (unsigned __int64)data->arr; v5 = 8LL * data->num - 8; v6 = (__int64 *)(arr + v5); if ( arr <= arr + v5 ) { v7 = *(_QWORD *)(arr + v5); if ( v7 ) { do { --v6; --*(_DWORD *)(v7 + 24); if ( arr > (unsigned __int64)v6 ) break; v7 = *v6; } while ( *v6 ); } } } } cocos2d::CCArray::removeAllObjects(m_pManagedObjectArray); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source