//
// cocos2d::CCSpriteFrameCache::removeSpriteFrameByName from 0x7f4308 to 0x7f43ee (230 bytes)
//
// 0 xrefs:
//
// 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
//
void __fastcall cocos2d::CCSpriteFrameCache::removeSpriteFrameByName(
cocos2d::CCSpriteFrameCache *this,
const char *a2,
int a3,
int a4)
{
int v6; // r6
size_t v7; // r0
cocos2d::CCString *v8; // r6
cocos2d::CCDictionary *v9; // r10
char *CString; // r0
char *v11; // r7
size_t v12; // r0
cocos2d::CCDictionary *v13; // r7
char *v14; // r0
char *v15; // r6
size_t v16; // r0
cocos2d::CCDictionary *v17; // r0
size_t v18; // r0
int v19; // r4
cocos2d::CCSpriteFrameCache *v20; // [sp+0h] [bp-10h] BYREF
const char *v21; // [sp+4h] [bp-Ch]
int v22; // [sp+8h] [bp-8h]
int v23; // [sp+Ch] [bp-4h]
v20 = this;
v21 = a2;
v22 = a3;
v23 = a4;
if ( a2 )
{
v6 = *((_DWORD *)this + 14);
v20 = nullptr;
v21 = nullptr;
v22 = 0;
v7 = strlen(a2);
std::string::__init((int *)&v20, a2, v7);
v8 = (cocos2d::CCString *)cocos2d::CCDictionary::objectForKey(v6, (int)&v20);
std::string::~string((int)&v20);
v9 = *((cocos2d::CCDictionary **)this + 13);
if ( v8 )
{
CString = cocos2d::CCString::getCString(v8);
v20 = nullptr;
v21 = nullptr;
v22 = 0;
v11 = CString;
v12 = strlen(CString);
std::string::__init((int *)&v20, v11, v12);
cocos2d::CCDictionary::removeObjectForKey(v9, (int)&v20);
std::string::~string((int)&v20);
v13 = *((cocos2d::CCDictionary **)this + 14);
v14 = cocos2d::CCString::getCString(v8);
v20 = nullptr;
v21 = nullptr;
v22 = 0;
v15 = v14;
v16 = strlen(v14);
std::string::__init((int *)&v20, v15, v16);
v17 = v13;
}
else
{
v20 = nullptr;
v21 = nullptr;
v22 = 0;
v18 = strlen(a2);
std::string::__init((int *)&v20, a2, v18);
v17 = v9;
}
cocos2d::CCDictionary::removeObjectForKey(v17, (int)&v20);
std::string::~string((int)&v20);
v19 = *((_DWORD *)this + 15);
std::__tree::destroy(v19, *(_DWORD **)(v19 + 4));
*(_DWORD *)(v19 + 8) = 0;
*(_DWORD *)v19 = v19 + 4;
*(_DWORD *)(v19 + 4) = 0;
}
}