// // cocos2d::CCComponentContainer::remove from 0x1002b2450 to 0x1002b25eb (411 bytes) // // 1 xrefs: // > @ 0x100b0e6e8 // // 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:28:02 +0000 // bool __fastcall cocos2d::CCComponentContainer::remove(__int64 a1, __int64 a2) { __int64 v2; // r15 __int64 v3; // rbx __int64 v4; // rcx __int64 v5; // rsi __int64 v6; // rax _QWORD *v7; // rsi __int64 v8; // rdx __int64 v9; // rdi __int64 v10; // r8 _QWORD *v11; // rdi __int64 *v12; // rax __int64 v13; // rsi __int64 v14; // rcx __int64 v15; // rcx __int64 v16; // rdx v2 = *(_QWORD *)(a1 + 8); if ( v2 ) { v3 = *(_QWORD *)(v2 + 56); if ( v3 ) { while ( *(_QWORD *)(v3 + 264) != a2 ) { v3 = *(_QWORD *)(v3 + 288); if ( !v3 ) return v2 != 0; } (*(void (__fastcall **)(__int64))(*(_QWORD *)a2 + 96LL))(a2); cocos2d::CCComponent::setOwner(a2, 0); v4 = *(_QWORD *)(v3 + 280); if ( v4 || *(_QWORD *)(v3 + 288) ) { v5 = *(_QWORD *)(a1 + 8); v6 = *(_QWORD *)(v5 + 56); v7 = (_QWORD *)(v5 + 56); v8 = *(_QWORD *)(v6 + 272); v9 = *(_QWORD *)(v8 + 32); if ( v3 == *(_QWORD *)(v8 + 24) - v9 ) *(_QWORD *)(v8 + 24) = v9 + v4; v10 = *(_QWORD *)(v3 + 288); v11 = (_QWORD *)(v9 + v4 + 16); if ( !v4 ) { v11 = v7; v6 = *(_QWORD *)(v3 + 288); } *v11 = v10; v12 = *(__int64 **)(v6 + 272); if ( v10 ) *(_QWORD *)(v12[4] + v10 + 8) = v4; v13 = *v12; v14 = 16LL * (*(_DWORD *)(v3 + 324) & (unsigned int)(*((_DWORD *)v12 + 2) - 1)); --*(_DWORD *)(v13 + v14 + 8); if ( *(_QWORD *)(v13 + v14) == v3 + 272 ) *(_QWORD *)(v14 + v13) = *(_QWORD *)(v3 + 304); v15 = *(_QWORD *)(v3 + 296); v16 = *(_QWORD *)(v3 + 304); if ( v15 ) *(_QWORD *)(v15 + 32) = v16; if ( v16 ) *(_QWORD *)(v16 + 24) = v15; --*((_DWORD *)v12 + 4); } else { free(**(void ***)(*(_QWORD *)(*(_QWORD *)(a1 + 8) + 56LL) + 272LL)); free(*(void **)(*(_QWORD *)(*(_QWORD *)(a1 + 8) + 56LL) + 272LL)); *(_QWORD *)(*(_QWORD *)(a1 + 8) + 56LL) = 0; } cocos2d::CCObject::release(*(_QWORD *)(v3 + 264)); sub_1002F83F0(v3); operator delete((void *)v3); } } return v2 != 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source