// // cocos2d::CCPoolManager::finalize from 0x1003e3d20 to 0x1003e3de1 (193 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: pc, 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 12:29:46 +0000 // unsigned int *__fastcall cocos2d::CCPoolManager::finalize(_QWORD *a1) { unsigned int *result; // rax __int64 *v2; // rbx unsigned __int64 v3; // r14 __int64 v4; // r15 __int64 v5; // rdi unsigned int *v6; // rax __int64 v7; // rcx unsigned __int64 v8; // rax unsigned __int64 v9; // rcx result = (unsigned int *)sub_1007FEF90(*a1); if ( (_DWORD)result ) { result = (unsigned int *)*a1; if ( *a1 ) { result = *((unsigned int **)result + 7); if ( *result ) { v2 = *((__int64 **)result + 2); v3 = (unsigned __int64)&v2[*result - 1]; do { v4 = *v2; if ( !*v2 ) break; result = (unsigned int *)sub_1007FEF90(*(_QWORD *)(v4 + 56)); if ( (_DWORD)result ) { v5 = *(_QWORD *)(v4 + 56); if ( v5 ) { v6 = *(unsigned int **)(v5 + 56); v7 = *v6; if ( *v6 ) { v8 = *((_QWORD *)v6 + 2); v9 = v8 + 8 * v7 - 8; do { if ( !*(_QWORD *)v9 ) break; --*(_DWORD *)(*(_QWORD *)v9 + 24LL); v9 -= 8LL; } while ( v9 >= v8 ); } } result = (unsigned int *)sub_1007FF190(v5); } ++v2; } while ( (unsigned __int64)v2 <= v3 ); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source