// // cocos2d::CCDictionary::removeObjectForElememt from 0x7c7520 to 0x7c7606 (230 bytes) // // 4 xrefs: // > cocos2d::CCDictionary::removeObjectForKey @ 0x7c76c2 // > cocos2d::CCDictionary::removeObjectForKey @ 0x7c7922 // > cocos2d::CCSpriteFrameCache::removeUnusedSpriteFrames @ 0x7f425c // > cocos2d::CCTextureCache::removeUnusedTextures @ 0x800876 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:00:26 +0000 // void __fastcall cocos2d::CCDictionary::removeObjectForElememt(cocos2d::CCDictionary *this, cocos2d::CCDictElement *a2) { int v4; // r6 int v5; // r3 int v6; // r2 char *v7; // r0 int v8; // r3 int v9; // r1 int v10; // r2 int v11; // r2 _DWORD *v12; // r1 int v13; // r3 int v14; // r2 int v15; // r3 int v16; // r3 if ( a2 ) { v4 = *((_DWORD *)a2 + 67); v5 = *((_DWORD *)this + 13); if ( v4 || *((_DWORD *)a2 + 68) ) { v6 = *(_DWORD *)(v5 + 264); v7 = (char *)a2 + 264; v8 = *(_DWORD *)(v6 + 20); if ( a2 == (cocos2d::CCDictElement *)(*(_DWORD *)(v6 + 16) - v8) ) *(_DWORD *)(v6 + 16) = v8 + v4; v9 = *((_DWORD *)a2 + 67); v10 = *((_DWORD *)a2 + 68); if ( v9 ) *(_DWORD *)(*(_DWORD *)(*(_DWORD *)(*((_DWORD *)this + 13) + 264) + 20) + v9 + 8) = v10; else *((_DWORD *)this + 13) = v10; v11 = *((_DWORD *)a2 + 68); if ( v11 ) *(_DWORD *)(*(_DWORD *)(*(_DWORD *)(*((_DWORD *)this + 13) + 264) + 20) + v11 + 4) = *((_DWORD *)a2 + 67); v12 = *(_DWORD **)(*((_DWORD *)this + 13) + 264); v13 = 12 * ((v12[1] - 1) & *((_DWORD *)a2 + 73)); --*(_DWORD *)(*v12 + v13 + 4); v14 = **(_DWORD **)(*((_DWORD *)this + 13) + 264); if ( *(char **)(v14 + v13) == v7 ) *(_DWORD *)(v14 + v13) = *((_DWORD *)a2 + 70); v15 = *((_DWORD *)a2 + 69); if ( v15 ) *(_DWORD *)(v15 + 16) = *((_DWORD *)a2 + 70); v16 = *((_DWORD *)a2 + 70); if ( v16 ) *(_DWORD *)(v16 + 12) = *((_DWORD *)a2 + 69); --*(_DWORD *)(*(_DWORD *)(*((_DWORD *)this + 13) + 264) + 12); } else { free(**(void ***)(v5 + 264)); free(*(void **)(*((_DWORD *)this + 13) + 264)); *((_DWORD *)this + 13) = 0; } cocos2d::CCObject::release(*((cocos2d::CCObject **)a2 + 65)); cocos2d::CCDictElement::~CCDictElement(a2); operator delete(a2); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source