//
// cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile_1 from 0x100308150 to 0x1003081b2 (98 bytes)
//
// 0 xrefs:
//
// 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 12:28:35 +0000
//
void __fastcall cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile_1(
__int64 a1,
const char *a2,
__int64 a3,
double a4)
{
__int64 v7; // rdi
__int64 v8; // rsi
__int64 v9; // rax
__int64 v10; // r15
__int64 v11; // rax
__int64 v12; // rax
v7 = cocos2d::CCTextureCache::sharedTextureCache(a1);
v8 = a3;
v9 = cocos2d::CCTextureCache::addImage(v7, a3, 0);
if ( v9 )
{
v10 = v9;
v11 = CCContentManager::sharedManager(v7, v8);
v12 = CCContentManager::addDict(v11, a2, 0);
cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary(a1, v12, v10, a4);
}
}