// // cocos2d::CCPoolManager::finalize from 0x1003f6b40 to 0x1003f6c01 (193 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::CCPoolManager::finalize(cocos2d::CCPoolManager *a1) { cocos2d::ccArray *data; // rax cocos2d::CCObject **arr; // rbx unsigned __int64 v3; // r14 cocos2d::CCObject *v4; // r15 cocos2d::CCObject_vtbl *v5; // rdi bool (__cdecl *canEncode)(cocos2d::CCObject *__hidden); // rax __int64 v7; // rcx unsigned __int64 v8; // rax unsigned __int64 v9; // rcx if ( (unsigned int)sub_100720070(a1->m_pReleasePoolStack) ) { if ( a1->m_pReleasePoolStack ) { data = a1->m_pReleasePoolStack->data; if ( data->num ) { arr = data->arr; v3 = (unsigned __int64)&arr[data->num - 1]; do { v4 = *arr; if ( !*arr ) break; if ( (unsigned int)sub_100720070(v4[1].__vftable) ) { v5 = v4[1].__vftable; if ( v5 ) { canEncode = v5->canEncode; v7 = *(unsigned int *)canEncode; if ( *(_DWORD *)canEncode ) { v8 = *((_QWORD *)canEncode + 2); v9 = v8 + 8 * v7 - 8; do { if ( !*(_QWORD *)v9 ) break; --*(_DWORD *)(*(_QWORD *)v9 + 24LL); v9 -= 8LL; } while ( v9 >= v8 ); } } sub_100720270(v5); } ++arr; } while ( (unsigned __int64)arr <= v3 ); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source