// // cocos2d::CCAutoreleasePool::clear from 0x5bf744 to 0x5bf786 (66 bytes) // // 2 xrefs: // > cocos2d::CCPoolManager::finalize @ 0x5bf7fc // > cocos2d::CCPoolManager::pop @ 0x5bf87e // // 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; // r0 cocos2d::ccArray *data; // r2 unsigned int arr; // r4 int *v5; // r3 int v6; // r2 int v7; // t1 if ( cocos2d::CCArray::count(a1->m_pManagedObjectArray) ) { m_pManagedObjectArray = a1->m_pManagedObjectArray; if ( m_pManagedObjectArray ) { data = m_pManagedObjectArray->data; if ( data->num ) { arr = (unsigned int)data->arr; v5 = (int *)(arr + 4 * (data->num + 0x3FFFFFFF)); while ( (unsigned int)v5 >= arr ) { v7 = *v5--; v6 = v7; if ( !v7 ) break; --*(_DWORD *)(v6 + 20); } } } cocos2d::CCArray::removeAllObjects(m_pManagedObjectArray); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source