// // cocos2d::CCDictionary::removeObjectForElememt from 0x18000ac90 to 0x18000ae09 (377 bytes) // // 7 xrefs: // > cocos2d::CCDictionary::removeObjectForKey @ 0x18000b138 // > cocos2d::CCDictionary::removeObjectForKey @ 0x18000b2e5 // > cocos2d::CCDictionary::removeObjectForKey @ 0x18000b2f8 // > cocos2d::CCSpriteFrameCache::removeUnusedSpriteFrames @ 0x180095c8b // > cocos2d::CCTextureCache::removeUnusedTextures @ 0x1800ad238 // > @ 0x18014cf68 // > @ 0x1801b7d68 // // 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:21:20 +0000 // void __fastcall cocos2d::CCDictionary::removeObjectForElememt( cocos2d::CCDictionary *this, struct cocos2d::CCDictElement *a2) { __int64 v4; // rcx char *v5; // r8 __int64 v6; // rdx __int64 v7; // r10 __int64 v8; // r10 __int64 v9; // r9 __int64 v10; // rcx __int64 v11; // r9 _QWORD *v12; // rcx __int64 v13; // rcx __int64 v14; // rcx if ( a2 ) { v4 = *((_QWORD *)a2 + 35); if ( *(_OWORD *)((char *)a2 + 280) == 0 ) { free(**(void ***)(*((_QWORD *)this + 7) + 272LL)); free(*(void **)(*((_QWORD *)this + 7) + 272LL)); *((_QWORD *)this + 7) = 0; } else { v5 = (char *)a2 + 272; v6 = *(_QWORD *)(*((_QWORD *)this + 7) + 272LL); v7 = *(_QWORD *)(v6 + 32); if ( a2 == (struct cocos2d::CCDictElement *)(*(_QWORD *)(v6 + 24) - v7) ) *(_QWORD *)(v6 + 24) = v4 + v7; v8 = *((_QWORD *)a2 + 35); if ( v8 ) *(_QWORD *)(*(_QWORD *)(*(_QWORD *)(*((_QWORD *)this + 7) + 272LL) + 32LL) + v8 + 16) = *((_QWORD *)a2 + 36); else *((_QWORD *)this + 7) = *((_QWORD *)a2 + 36); v9 = *((_QWORD *)v5 + 2); if ( v9 ) *(_QWORD *)(*(_QWORD *)(*(_QWORD *)(*((_QWORD *)this + 7) + 272LL) + 32LL) + v9 + 8) = *((_QWORD *)v5 + 1); v10 = *(_QWORD *)(*((_QWORD *)this + 7) + 272LL); v11 = *((_DWORD *)v5 + 13) & (unsigned int)(*(_DWORD *)(v10 + 8) - 1); --*(_DWORD *)(16 * v11 + *(_QWORD *)v10 + 8); v12 = *(_QWORD **)(*((_QWORD *)this + 7) + 272LL); if ( *(char **)(16 * v11 + *v12) == v5 ) *(_QWORD *)(*v12 + 16 * v11) = *((_QWORD *)v5 + 4); v13 = *((_QWORD *)v5 + 3); if ( v13 ) *(_QWORD *)(v13 + 32) = *((_QWORD *)v5 + 4); v14 = *((_QWORD *)v5 + 4); if ( v14 ) *(_QWORD *)(v14 + 24) = *((_QWORD *)v5 + 3); --*(_DWORD *)(*(_QWORD *)(*((_QWORD *)this + 7) + 272LL) + 16LL); } cocos2d::CCObject::release(*((cocos2d::CCObject **)a2 + 33)); j_j_free_0(a2); } }