//
// cocos2d::CCAnimation::addSpriteFrameWithFileName from 0x7effe8 to 0x7f004c (100 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:01:03 +0000
//
_DWORD *__fastcall cocos2d::CCAnimation::addSpriteFrameWithFileName(cocos2d::CCAnimation *this, const char *a2)
{
cocos2d::CCTextureCache *v4; // r0
cocos2d::CCSpriteFrame *v5; // r6
const cocos2d::CCRect *v6; // r2
cocos2d::CCSpriteFrame *v7; // r0
float v9[2]; // [sp+4h] [bp-8h] BYREF
_BYTE v10[8]; // [sp+Ch] [bp+0h] BYREF
float v11[2]; // [sp+14h] [bp+8h] BYREF
v4 = (cocos2d::CCTextureCache *)cocos2d::CCTextureCache::sharedTextureCache(this);
v5 = (cocos2d::CCSpriteFrame *)cocos2d::CCTextureCache::addImage(v4, a2, 0);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v10, (const cocos2d::CCRect *)&unk_D2F9E4);
(*(void (__fastcall **)(float *, cocos2d::CCSpriteFrame *))(*(_DWORD *)v5 + 72))(v9, v5);
cocos2d::CCSize::operator=(v11, v9);
v7 = (cocos2d::CCSpriteFrame *)cocos2d::CCSpriteFrame::createWithTexture(v5, (cocos2d::CCTexture2D *)v10, v6);
return cocos2d::CCAnimation::addSpriteFrame((cocos2d::CCArray **)this, v7);
}