// // cocos2d::CCDictionary::removeAllObjects from 0x1004a4bf0 to 0x1004a4d20 (304 bytes) // // 31 xrefs: // > sub_10000F298 @ 0x10000f2b4 // > sub_10000F298 @ 0x10000f2bc // > sub_10000F298 @ 0x10000f2c4 // > SetGroupIDLayer::updateGroupIDButtons @ 0x1000418bc // > SetGroupIDLayer::updateGroupIDButtons @ 0x1000418c8 // > sub_1000ADEB0 @ 0x1000adec4 // > sub_1000ADEB0 @ 0x1000adecc // > sub_1000ADEB0 @ 0x1000aded4 // > sub_1000ADEB0 @ 0x1000adedc // > sub_1000ADEB0 @ 0x1000adee4 // > sub_1000ADEB0 @ 0x1000adeec // > sub_1000ADEB0 @ 0x1000adef4 // > sub_1000ADEB0 @ 0x1000adefc // > sub_1000ADEB0 @ 0x1000adf14 // > sub_1000B93AC @ 0x1000b93b0 // > CCAnimateFrameCache::removeSpriteFrames @ 0x1002457b8 // > CCAnimateFrameCache::removeSpriteFrames @ 0x1002457c0 // > CCAnimateFrameCache::removeSpriteFrames @ 0x1002457d0 // > GJBaseGameLayer::refreshKeyframeAnims @ 0x10027c5fc // > GJBaseGameLayer::preUpdateVisibility @ 0x10029a394 // > GJBaseGameLayer::resetLevelVariables @ 0x10029f484 // > GJBaseGameLayer::resetLevelVariables @ 0x10029f48c // > GJBaseGameLayer::orderSpawnObjects @ 0x1002a455c // > PlayerObject::resetCollisionLog @ 0x1002bb404 // > PlayerObject::resetCollisionLog @ 0x1002bb40c // > PlayerObject::resetCollisionLog @ 0x1002bb414 // > PlayerObject::resetCollisionLog @ 0x1002bb41c // > cocos2d::FNTConfigRemoveCache @ 0x100395820 // > sub_1003C231C @ 0x1003c2330 // > CCContentManager::clearCache @ 0x10049369c // > cocos2d::CCDictionary::dCCDictionary @ 0x1004a4bd8 // // 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:06:04 +0000 // void __fastcall cocos2d::CCDictionary::removeAllObjects(__int64 a1) { _QWORD *v1; // x19 __int64 v2; // x20 __int64 v3; // x9 __int64 v4; // x21 __int64 v5; // x8 __int64 v6; // x10 __int64 v7; // x11 __int64 v8; // x10 _QWORD *v9; // x11 __int64 v10; // x8 __int64 v11; // x9 __int64 v12; // x9 __int64 v13; // x10 v1 = (_QWORD *)(a1 + 56); v2 = *(_QWORD *)(a1 + 56); if ( v2 ) { while ( 1 ) { v3 = *(_QWORD *)(v2 + 280); v4 = *(_QWORD *)(v2 + 288); if ( v3 ) break; v5 = *v1; if ( v4 ) goto LABEL_5; free(**(void ***)(v5 + 272)); free(*(void **)(*v1 + 272LL)); *v1 = 0; LABEL_18: cocos2d::CCObject::release(*(_DWORD **)(v2 + 264)); operator delete((void *)v2); v2 = v4; if ( !v4 ) return; } v5 = *v1; LABEL_5: v6 = *(_QWORD *)(v5 + 272); v7 = *(_QWORD *)(v6 + 32); if ( v2 == *(_QWORD *)(v6 + 24) - v7 ) *(_QWORD *)(v6 + 24) = v7 + v3; v8 = *(_QWORD *)(v2 + 288); v9 = (_QWORD *)(v7 + v3 + 16); if ( !v3 ) { v9 = v1; v5 = *(_QWORD *)(v2 + 288); } *v9 = v8; v10 = *(_QWORD *)(v5 + 272); if ( v8 ) *(_QWORD *)(*(_QWORD *)(v10 + 32) + v8 + 8) = v3; v11 = *(_QWORD *)v10 + 16LL * ((unsigned int)(*(_DWORD *)(v10 + 8) - 1) & *(_DWORD *)(v2 + 324)); --*(_DWORD *)(v11 + 8); if ( *(_QWORD *)v11 == v2 + 272 ) *(_QWORD *)v11 = *(_QWORD *)(v2 + 304); v12 = *(_QWORD *)(v2 + 296); v13 = *(_QWORD *)(v2 + 304); if ( v12 ) *(_QWORD *)(v12 + 32) = v13; if ( v13 ) *(_QWORD *)(v13 + 24) = v12; --*(_DWORD *)(v10 + 16); goto LABEL_18; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source