//
// cocos2d::CCSpriteFrameCache::removeSpriteFramesFromDictionary from 0x7f3f88 to 0x7f406a (226 bytes)
//
// 1 xrefs:
// > cocos2d::CCSpriteFrameCache::removeSpriteFramesFromFile @ 0x7f45ec
//
// 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:01:07 +0000
//
cocos2d::CCString *__fastcall cocos2d::CCSpriteFrameCache::removeSpriteFramesFromDictionary(
cocos2d::CCSpriteFrameCache *this,
cocos2d::CCDictionary *a2)
{
int v4; // r4
cocos2d::CCArray *v5; // r0
int v6; // r2
int v7; // r3
cocos2d::CCArray *v8; // r10
int v10; // r4
int v11; // r6
size_t v12; // r0
int v13; // r11
int v14; // r11
size_t v15; // r0
cocos2d::CCObject *v16; // r0
int v17; // [sp+0h] [bp-14h] BYREF
int v18; // [sp+4h] [bp-10h]
int v19; // [sp+8h] [bp-Ch]
v17 = 0;
v18 = 0;
v19 = 0;
std::string::__init(&v17, "frames", 6u);
v4 = cocos2d::CCDictionary::objectForKey((int)a2, (int)&v17);
v5 = (cocos2d::CCArray *)std::string::~string((int)&v17);
v8 = cocos2d::CCArray::create(v5);
if ( v4 )
{
v10 = *(_DWORD *)(v4 + 52);
if ( v10 )
v11 = *(_DWORD *)(v10 + 272);
else
v11 = 0;
while ( v10 )
{
v17 = 0;
v18 = 0;
v19 = 0;
v12 = strlen((const char *)v10);
v13 = *((_DWORD *)this + 13);
std::string::__init(&v17, (const void *)v10, v12);
v14 = cocos2d::CCDictionary::objectForKey(v13, (int)&v17);
std::string::~string((int)&v17);
if ( v14 )
{
v17 = 0;
v18 = 0;
v19 = 0;
v15 = strlen((const char *)v10);
std::string::__init(&v17, (const void *)v10, v15);
v16 = cocos2d::CCString::create((int)&v17);
cocos2d::CCArray::addObject(v8, v16);
std::string::~string((int)&v17);
}
if ( v11 )
v7 = *(_DWORD *)(v11 + 272);
else
v7 = 0;
v10 = v11;
v11 = v7;
}
}
return cocos2d::CCDictionary::removeObjectsForKeys(*((cocos2d::CCString **)this + 13), v8, v6, v7);
}