// // cocos2d::CCAutoreleasePool::clear from 0x1003f6850 to 0x1003f68b6 (102 bytes) // // 0 xrefs: // // 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 __fastcall cocos2d::CCAutoreleasePool::clear(cocos2d::CCAutoreleasePool *a1) { cocos2d::CCArray *m_pManagedObjectArray; // rdi cocos2d::ccArray *data; // rax __int64 num; // rcx unsigned __int64 arr; // rax unsigned __int64 v5; // rcx if ( (unsigned int)sub_100720070(a1->m_pManagedObjectArray) ) { m_pManagedObjectArray = a1->m_pManagedObjectArray; if ( m_pManagedObjectArray ) { data = m_pManagedObjectArray->data; num = data->num; if ( data->num ) { arr = (unsigned __int64)data->arr; v5 = arr + 8 * num - 8; do { if ( !*(_QWORD *)v5 ) break; --*(_DWORD *)(*(_QWORD *)v5 + 24LL); v5 -= 8LL; } while ( v5 >= arr ); } } sub_100720270(m_pManagedObjectArray); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source