// // cocos2d::CCComponentContainer::removeAll from 0x1001ee088 to 0x1001ee1f8 (368 bytes) // // 1 xrefs: // > @ 0x1008f1440 // // 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 // __int64 __fastcall cocos2d::CCComponentContainer::removeAll(__int64 result) { __int64 v1; // x8 __int64 v2; // x19 __int64 v3; // x20 __int64 v4; // x8 __int64 v5; // x21 __int64 v6; // x9 _QWORD *v7; // x9 __int64 v8; // x10 __int64 v9; // t1 __int64 v10; // x11 __int64 v11; // x12 __int64 v12; // x11 _QWORD *v13; // x12 __int64 v14; // x9 __int64 v15; // x9 __int64 v16; // x8 __int64 v17; // x8 __int64 v18; // x10 void *v19; // x0 v1 = *(_QWORD *)(result + 8); if ( v1 ) { v2 = result; v3 = *(_QWORD *)(v1 + 56); if ( !v3 ) return cocos2d::CCNode::unscheduleUpdate(*(_QWORD *)(v2 + 16)); while ( 1 ) { v4 = *(_QWORD *)(v3 + 280); v5 = *(_QWORD *)(v3 + 288); if ( v4 ) break; v6 = *(_QWORD *)(v2 + 8); if ( v5 ) goto LABEL_8; free(**(void ***)(*(_QWORD *)(v6 + 56) + 272LL)); free(*(void **)(*(_QWORD *)(*(_QWORD *)(v2 + 8) + 56LL) + 272LL)); *(_QWORD *)(*(_QWORD *)(v2 + 8) + 56LL) = 0; LABEL_22: (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(v3 + 264) + 96LL))(*(_QWORD *)(v3 + 264)); sub_100154050(*(_QWORD *)(v3 + 264), 0); cocos2d::CCObject::release(*(_DWORD **)(v3 + 264)); v19 = (void *)nullsub_214(v3); operator delete(v19); v3 = v5; if ( !v5 ) return cocos2d::CCNode::unscheduleUpdate(*(_QWORD *)(v2 + 16)); } v6 = *(_QWORD *)(v2 + 8); LABEL_8: v9 = *(_QWORD *)(v6 + 56); v7 = (_QWORD *)(v6 + 56); v8 = v9; v10 = *(_QWORD *)(v9 + 272); v11 = *(_QWORD *)(v10 + 32); if ( v3 == *(_QWORD *)(v10 + 24) - v11 ) *(_QWORD *)(v10 + 24) = v11 + v4; v12 = *(_QWORD *)(v3 + 288); v13 = (_QWORD *)(v11 + v4 + 16); if ( v4 ) { v14 = v8; } else { v13 = v7; v14 = *(_QWORD *)(v3 + 288); } *v13 = v12; v15 = *(_QWORD *)(v14 + 272); if ( v12 ) *(_QWORD *)(*(_QWORD *)(v15 + 32) + v12 + 8) = v4; v16 = *(_QWORD *)v15 + 16LL * ((unsigned int)(*(_DWORD *)(v15 + 8) - 1) & *(_DWORD *)(v3 + 324)); --*(_DWORD *)(v16 + 8); if ( *(_QWORD *)v16 == v3 + 272 ) *(_QWORD *)v16 = *(_QWORD *)(v3 + 304); v17 = *(_QWORD *)(v3 + 296); v18 = *(_QWORD *)(v3 + 304); if ( v17 ) *(_QWORD *)(v17 + 32) = v18; if ( v18 ) *(_QWORD *)(v18 + 24) = v17; --*(_DWORD *)(v15 + 16); goto LABEL_22; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source