// // cocos2d::CCComponentContainer::removeAll from 0x18009a750 to 0x18009a95a (522 bytes) // // 5 xrefs: // > @ 0x18010ac38 // > @ 0x1801479ec // > @ 0x1801479fc // > @ 0x18014cf68 // > @ 0x1801c0be8 // // 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 11:22:11 +0000 // void __fastcall cocos2d::CCComponentContainer::removeAll(cocos2d::CCComponentContainer *this, float a2) { __int64 v2; // rbx __int64 v4; // rbx __int64 i; // rsi __int64 v6; // r8 __int64 v7; // r10 __int64 v8; // rdx __int64 v9; // r10 __int64 v10; // rdx __int64 v11; // r8 __int64 v12; // r9 __int64 v13; // r10 _QWORD *v14; // rcx __int64 v15; // rdx __int64 v16; // rdx __int64 v17; // rax v2 = *((_QWORD *)this + 1); if ( v2 ) { v4 = *(_QWORD *)(v2 + 56); if ( v4 ) { for ( i = *(_QWORD *)(v4 + 288); ; i = *(_QWORD *)(i + 288) ) { v6 = *(_QWORD *)(v4 + 280); if ( v6 || *(_QWORD *)(v4 + 288) ) { v7 = *(_QWORD *)(*(_QWORD *)(*((_QWORD *)this + 1) + 56LL) + 272LL); v8 = *(_QWORD *)(v7 + 32); if ( v4 == *(_QWORD *)(v7 + 24) - v8 ) *(_QWORD *)(v7 + 24) = v6 + v8; v9 = *(_QWORD *)(v4 + 280); v10 = *((_QWORD *)this + 1); if ( v9 ) *(_QWORD *)(*(_QWORD *)(*(_QWORD *)(*(_QWORD *)(v10 + 56) + 272LL) + 32LL) + v9 + 16) = *(_QWORD *)(v4 + 288); else *(_QWORD *)(v10 + 56) = *(_QWORD *)(v4 + 288); v11 = *(_QWORD *)(v4 + 288); if ( v11 ) *(_QWORD *)(*(_QWORD *)(*(_QWORD *)(*(_QWORD *)(*((_QWORD *)this + 1) + 56LL) + 272LL) + 32LL) + v11 + 8) = *(_QWORD *)(v4 + 280); v12 = *(_QWORD *)(*(_QWORD *)(*((_QWORD *)this + 1) + 56LL) + 272LL); v13 = *(_DWORD *)(v4 + 324) & (unsigned int)(*(_DWORD *)(v12 + 8) - 1); --*(_DWORD *)(16 * v13 + *(_QWORD *)v12 + 8); v14 = *(_QWORD **)(*(_QWORD *)(*((_QWORD *)this + 1) + 56LL) + 272LL); if ( *(_QWORD *)(16 * v13 + *v14) == v4 + 272 ) *(_QWORD *)(*v14 + 16 * v13) = *(_QWORD *)(v4 + 304); v15 = *(_QWORD *)(v4 + 296); if ( v15 ) *(_QWORD *)(v15 + 32) = *(_QWORD *)(v4 + 304); v16 = *(_QWORD *)(v4 + 304); if ( v16 ) *(_QWORD *)(v16 + 24) = *(_QWORD *)(v4 + 296); v17 = *(_QWORD *)(*(_QWORD *)(*((_QWORD *)this + 1) + 56LL) + 272LL); --*(_DWORD *)(v17 + 16); } else { free(**(void ***)(*(_QWORD *)(*((_QWORD *)this + 1) + 56LL) + 272LL)); free(*(void **)(*(_QWORD *)(*((_QWORD *)this + 1) + 56LL) + 272LL)); *(_QWORD *)(*((_QWORD *)this + 1) + 56LL) = 0; } (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(v4 + 264) + 88LL))(*(_QWORD *)(v4 + 264)); cocos2d::CCComponent::setOwner(*(cocos2d::CCComponent **)(v4 + 264), nullptr); cocos2d::CCObject::release(*(cocos2d::CCObject **)(v4 + 264)); cocos2d::CCNode::updateTweenActionInt((cocos2d::CCNode *)v4, a2); j_j_free_0((void *)v4); v4 = i; if ( !i ) break; } } cocos2d::CCNode::unscheduleUpdate(*((cocos2d::CCScheduler ***)this + 2)); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source