//
// cocos2d::CCAnimation::addSpriteFrame from 0x7effa6 to 0x7effe6 (64 bytes)
//
// 3 xrefs:
// > DeathMarkerLayer::buildCell @ 0x76ab04
// > cocos2d::CCAnimation::addSpriteFrameWithFileName @ 0x7f0036
// > cocos2d::CCAnimation::addSpriteFrameWithTexture @ 0x7f0068
//
// 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::addSpriteFrame(cocos2d::CCArray **this, cocos2d::CCSpriteFrame *a2)
{
cocos2d::CCAnimationFrame *v4; // r5
_DWORD *result; // r0
v4 = (cocos2d::CCAnimationFrame *)operator new(0x40u);
cocos2d::CCAnimationFrame::CCAnimationFrame(v4);
cocos2d::CCAnimationFrame::initWithSpriteFrame(v4, a2, 1065353216, nullptr);
cocos2d::CCArray::addObject(*(this + 16), v4);
result = cocos2d::CCObject::release(v4);
*((float *)this + 13) = *((float *)this + 13) + 1.0;
return result;
}