// // cocos2d::CCDictionary::removeObjectsForKeys from 0xad108c to 0xad11bc (304 bytes) // // 4 xrefs: // > cocos2d::CCSpriteFrameCache::removeSpriteFramesFromDictionary @ 0xb1aa0c // > cocos2d::CCSpriteFrameCache::removeSpriteFramesFromTexture @ 0xb1abcc // > cocos2d::CCTextureCache::removeTexture @ 0xb342f8 // > @ 0x8ef20 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void cocos2d::CCDictionary::removeObjectsForKeys(cocos2d::CCDictionary *a1, cocos2d::CCArray *a2) { cocos2d::ccArray *data; // x1 cocos2d::CCString **arr; // x19 __int64 v5; // x0 char *v6; // x21 cocos2d::CCString *i; // x0 char *CString; // x0 char *v9; // x0 unsigned int *v10; // x1 int v11; // w2 const char *v12; // [xsp+70h] [xbp+70h] BYREF if ( a2 ) { data = a2->data; if ( data->num ) { arr = (cocos2d::CCString **)data->arr; v5 = 8LL * data->num - 8; v6 = (char *)arr + v5; if ( arr <= (cocos2d::CCString **)((char *)arr + v5) ) { for ( i = *arr; *arr; i = *arr ) { CString = (char *)cocos2d::CCString::getCString(i); sub_D153B8((int)&v12, CString); cocos2d::CCDictionary::removeObjectForKey((__int64)a1, &v12); v9 = (char *)(v12 - 24); if ( v12 - 24 != (const char *)&qword_124B6B0 ) { if ( &pthread_create ) { v10 = (unsigned int *)(v12 - 8); do v11 = __ldaxr(v10); while ( __stlxr(v11 - 1, v10) ); } else { v11 = *((_DWORD *)v12 - 2); *((_DWORD *)v12 - 2) = v11 - 1; } if ( v11 <= 0 ) operator delete(v9); } if ( v6 < (char *)++arr ) break; } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source