//
// cocos2d::CCAnimation::addSpriteFrameWithFileName from 0xb136e0 to 0xb1379c (188 bytes)
//
// 1 xrefs:
// > ??> @ 0x5d390
//
// 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 *v3; // x0
cocos2d::CCSpriteFrame *v4; // x22
const cocos2d::CCRect *v5; // x2
cocos2d::CCSpriteFrame *v6; // x0
__int64 v8; // [xsp+50h] [xbp+50h] BYREF
cocos2d::CCRect v9; // [xsp+58h] [xbp+58h] BYREF
v3 = cocos2d::CCTextureCache::sharedTextureCache();
v4 = (cocos2d::CCSpriteFrame *)cocos2d::CCTextureCache::addImage(v3, a2, 0);
cocos2d::CCRect::CCRect(&v9, &stru_1245A78);
((void (__fastcall *)(__int64 *__return_ptr, cocos2d::CCSpriteFrame *))v4->__vftable[1].getTag)(&v8, v4);
cocos2d::CCSize::operator=(&v9.size, (float *)&v8);
v6 = (cocos2d::CCSpriteFrame *)cocos2d::CCSpriteFrame::createWithTexture(v4, (cocos2d::CCTexture2D *)&v9, v5);
cocos2d::CCAnimation::addSpriteFrame(a1, v6);
}