//
// cocos2d::CCAnimation::addSpriteFrameWithFileName from 0x5e57d0 to 0x5e5834 (100 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 cocos2d::CCAnimation::addSpriteFrameWithFileName(cocos2d::CCAnimation *a1, const char *a2)
{
cocos2d::CCTextureCache *v4; // r0
cocos2d::CCSpriteFrame *v5; // r6
const cocos2d::CCRect *v6; // r2
cocos2d::CCSpriteFrame *v7; // r0
float v8[2]; // [sp+4h] [bp-8h] BYREF
cocos2d::CCRect v9; // [sp+Ch] [bp+0h] BYREF
v4 = cocos2d::CCTextureCache::sharedTextureCache();
v5 = (cocos2d::CCSpriteFrame *)cocos2d::CCTextureCache::addImage(v4, a2, 0);
cocos2d::CCRect::CCRect(&v9, &stru_AC927C);
((void (__fastcall *)(float *, cocos2d::CCSpriteFrame *))v5->__vftable[1].getTag)(v8, v5);
cocos2d::CCSize::operator=(&v9.size, v8);
v7 = (cocos2d::CCSpriteFrame *)cocos2d::CCSpriteFrame::createWithTexture(v5, (cocos2d::CCTexture2D *)&v9, v6);
cocos2d::CCAnimation::addSpriteFrame(a1, v7);
}