//
// cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile_1 from 0x10031cea0 to 0x10031cf02 (98 bytes)
//
// 0 xrefs:
//
// 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 __fastcall cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile_1(
cocos2d::CCSpriteFrameCache *a1,
const char *a2,
const char *a3)
{
cocos2d::CCTextureCache *v4; // rax
cocos2d::CCTexture2D *v5; // rax
cocos2d::CCTexture2D *v6; // r15
CCContentManager *v7; // rax
cocos2d::CCDictionary *v8; // rax
v4 = cocos2d::CCTextureCache::sharedTextureCache();
v5 = cocos2d::CCTextureCache::addImage(v4, a3, 0);
if ( v5 )
{
v6 = v5;
v7 = CCContentManager::sharedManager();
v8 = CCContentManager::addDict(v7, a2, 0);
cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary(a1, v8, v6);
}
}