//
// cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile from 0x180094700 to 0x180094764 (100 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c05d0
//
// This function is hookable on this platform (idp: pc, 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:22:09 +0000
//
void __fastcall cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile(
cocos2d::CCSpriteFrameCache *this,
char *a2,
const char *a3)
{
cocos2d::CCTextureCache *v6; // rax
struct cocos2d::CCTexture2D *v7; // rbx
CCContentManager *v8; // rax
struct cocos2d::CCDictionary *v9; // rax
v6 = cocos2d::CCTextureCache::sharedTextureCache();
v7 = cocos2d::CCTextureCache::addImage(v6, a3, 0);
if ( v7 )
{
v8 = CCContentManager::sharedManager();
v9 = CCContentManager::addDictDS(v8, a2);
cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary(this, v9, v7);
}
}