//
// cocos2d::CCAnimation::addSpriteFrame from 0x5e578e to 0x5e57ce (64 bytes)
//
// 2 xrefs:
// > cocos2d::CCAnimation::addSpriteFrameWithFileName @ 0x5e581e
// > cocos2d::CCAnimation::addSpriteFrameWithTexture @ 0x5e5850
//
// 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::addSpriteFrame(cocos2d::CCAnimation *a1, cocos2d::CCSpriteFrame *a2)
{
cocos2d::CCAnimationFrame *v4; // r5
cocos2d::CCObject *v5; // r2
v4 = (cocos2d::CCAnimationFrame *)operator new(0x40u);
cocos2d::CCAnimationFrame::CCAnimationFrame(v4);
cocos2d::CCAnimationFrame::initWithSpriteFrame(v4, a2, 1.0, nullptr);
cocos2d::CCArray::addObject(a1->m_pFrames, (cocos2d::_ccArray *)v4, v5);
cocos2d::CCObject::release(v4);
a1->m_fTotalDelayUnits = a1->m_fTotalDelayUnits + 1.0;
}