// // cocos2d::CCDictionary::removeObjectForElememt from 0xd43140 to 0xd432d8 (408 bytes) // // 6 xrefs: // > cocos2d::CCDictionary::removeObjectForKey @ 0xd43428 // > cocos2d::CCDictionary::removeObjectForKey @ 0xd43458 // > cocos2d::CCDictionary::removeObjectForKey @ 0xd436e4 // > cocos2d::CCSpriteFrameCache::removeUnusedSpriteFrames @ 0xd8c0f0 // > cocos2d::CCTextureCache::removeUnusedTextures @ 0xda5554 // > @ 0xe32d8 // // 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 13:07:32 +0000 // void __fastcall cocos2d::CCDictionary::removeObjectForElememt(cocos2d::CCDictionary *this, cocos2d::CCDictElement *a2) { __int64 v3; // x1 __int64 v5; // x5 char *v6; // x0 __int64 v7; // x4 __int64 v8; // x2 __int64 v9; // x3 __int64 v10; // x2 __int64 v11; // x3 __int64 v12; // x1 __int64 v13; // x2 __int64 v14; // x1 __int64 v15; // x1 __int64 v16; // x2 if ( a2 ) { v3 = *((_QWORD *)a2 + 35); if ( v3 ) { v5 = *((_QWORD *)this + 7); v6 = (char *)a2 + 272; v7 = *(_QWORD *)(v5 + 272); v8 = *(_QWORD *)(v7 + 32); if ( a2 != (cocos2d::CCDictElement *)(*(_QWORD *)(v7 + 24) - v8) ) { LABEL_4: *(_QWORD *)(v3 + *(_QWORD *)(*(_QWORD *)(v5 + 272) + 32LL) + 16) = *((_QWORD *)a2 + 36); v9 = *((_QWORD *)this + 7); LABEL_5: v10 = *((_QWORD *)v6 + 2); if ( v10 ) { *(_QWORD *)(v10 + *(_QWORD *)(*(_QWORD *)(v9 + 272) + 32LL) + 8) = *((_QWORD *)v6 + 1); v9 = *((_QWORD *)this + 7); } v11 = *(_QWORD *)(v9 + 272); v12 = 16LL * ((unsigned int)(*(_DWORD *)(v11 + 8) - 1) & *((_DWORD *)v6 + 13)); --*(_DWORD *)(*(_QWORD *)v11 + v12 + 8); v13 = **(_QWORD **)(*((_QWORD *)this + 7) + 272LL); if ( *(char **)(v13 + v12) == v6 ) *(_QWORD *)(v13 + v12) = *((_QWORD *)v6 + 4); v14 = *((_QWORD *)v6 + 3); if ( v14 ) *(_QWORD *)(v14 + 32) = *((_QWORD *)v6 + 4); v15 = *((_QWORD *)v6 + 4); if ( v15 ) *(_QWORD *)(v15 + 24) = *((_QWORD *)v6 + 3); --*(_DWORD *)(*(_QWORD *)(*((_QWORD *)this + 7) + 272LL) + 16LL); goto LABEL_14; } } else { v9 = *((_QWORD *)a2 + 36); if ( !v9 ) { free(**(void ***)(*((_QWORD *)this + 7) + 272LL)); free(*(void **)(*((_QWORD *)this + 7) + 272LL)); *((_QWORD *)this + 7) = 0; LABEL_14: cocos2d::CCObject::release(*((cocos2d::CCObject **)a2 + 33)); cocos2d::CCDictElement::~CCDictElement(a2); operator delete(a2); return; } v16 = *((_QWORD *)this + 7); v6 = (char *)a2 + 272; v7 = *(_QWORD *)(v16 + 272); v8 = *(_QWORD *)(v7 + 32); if ( a2 != (cocos2d::CCDictElement *)(*(_QWORD *)(v7 + 24) - v8) ) goto LABEL_20; } *(_QWORD *)(v7 + 24) = v3 + v8; v3 = *((_QWORD *)a2 + 35); if ( v3 ) { v5 = *((_QWORD *)this + 7); goto LABEL_4; } v9 = *((_QWORD *)a2 + 36); LABEL_20: *((_QWORD *)this + 7) = v9; goto LABEL_5; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source