// // cocos2d::CCComponentContainer::remove from 0x1001edf08 to 0x1001ee088 (384 bytes) // // 1 xrefs: // > @ 0x1008f1438 // // This function is hookable on this platform (idp: arm, 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 11:00:36 +0000 // bool __fastcall cocos2d::CCComponentContainer::remove(__int64 a1, __int64 a2) { __int64 v2; // x22 __int64 v3; // x19 __int64 v6; // x9 __int64 v7; // x8 _QWORD *v8; // x8 __int64 v9; // x11 __int64 v10; // t1 __int64 v11; // x10 __int64 v12; // x13 __int64 v13; // x12 _QWORD *v14; // x13 __int64 v15; // x8 __int64 v16; // x8 __int64 v17; // x9 __int64 v18; // x9 __int64 v19; // x10 void *v20; // x0 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); sub_100154050(a2, 0); v6 = *(_QWORD *)(v3 + 280); if ( v6 || *(_QWORD *)(v3 + 288) ) { v7 = *(_QWORD *)(a1 + 8); v10 = *(_QWORD *)(v7 + 56); v8 = (_QWORD *)(v7 + 56); v9 = v10; v11 = *(_QWORD *)(v10 + 272); v12 = *(_QWORD *)(v11 + 32); if ( v3 == *(_QWORD *)(v11 + 24) - v12 ) *(_QWORD *)(v11 + 24) = v12 + v6; v13 = *(_QWORD *)(v3 + 288); v14 = (_QWORD *)(v12 + v6 + 16); if ( v6 ) { v15 = v9; } else { v14 = v8; v15 = *(_QWORD *)(v3 + 288); } *v14 = v13; v16 = *(_QWORD *)(v15 + 272); if ( v13 ) *(_QWORD *)(*(_QWORD *)(v16 + 32) + v13 + 8) = v6; v17 = *(_QWORD *)v16 + 16LL * ((unsigned int)(*(_DWORD *)(v16 + 8) - 1) & *(_DWORD *)(v3 + 324)); --*(_DWORD *)(v17 + 8); if ( *(_QWORD *)v17 == v3 + 272 ) *(_QWORD *)v17 = *(_QWORD *)(v3 + 304); v18 = *(_QWORD *)(v3 + 296); v19 = *(_QWORD *)(v3 + 304); if ( v18 ) *(_QWORD *)(v18 + 32) = v19; if ( v19 ) *(_QWORD *)(v19 + 24) = v18; --*(_DWORD *)(v16 + 16); } 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(*(_DWORD **)(v3 + 264)); v20 = (void *)nullsub_214(v3); operator delete(v20); } } return v2 != 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source