//
// cocos2d::CCSpriteFrameCache::removeSpriteFramesFromDictionary from 0x100463950 to 0x100463a50 (256 bytes)
//
// 1 xrefs:
// > cocos2d::CCSpriteFrameCache::removeSpriteFramesFromFile @ 0x10046389c
//
// This function is hookable on this platform (idp: arm, 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:05:31 +0000
//
__int64 __fastcall cocos2d::CCSpriteFrameCache::removeSpriteFramesFromDictionary(__int64 a1, __int64 a2)
{
__int64 v4; // x21
_QWORD *v5; // x20
__int64 v6; // x21
__int64 v7; // x23
__int64 v8; // x22
__int64 v9; // x0
__int64 v10; // x22
void *__p[2]; // [xsp+8h] [xbp-48h] BYREF
char v13; // [xsp+1Fh] [xbp-31h]
sub_100009900(__p, "frames");
v4 = cocos2d::CCDictionary::objectForKey(a2, __p);
if ( v13 < 0 )
operator delete(__p[0]);
v5 = sub_1002E736C();
if ( v4 )
{
v6 = *(_QWORD *)(v4 + 56);
if ( v6 )
{
do
{
v7 = *(_QWORD *)(v6 + 288);
v8 = *(_QWORD *)(a1 + 56);
sub_100009900(__p, (char *)v6);
v9 = cocos2d::CCDictionary::objectForKey(v8, __p);
v10 = v9;
if ( v13 < 0 )
{
operator delete(__p[0]);
if ( v10 )
{
LABEL_9:
sub_100009900(__p, (char *)v6);
sub_1003064AC((__int128 *)__p);
sub_1002E74E0((__int64)v5);
if ( v13 < 0 )
operator delete(__p[0]);
}
}
else if ( v9 )
{
goto LABEL_9;
}
v6 = v7;
}
while ( v7 );
}
}
return cocos2d::CCDictionary::removeObjectsForKeys(*(_QWORD *)(a1 + 56), v5);
}