//
// cocos2d::CCAnimation::addSpriteFrame from 0xd84e1c to 0xd84e8c (112 bytes)
//
// 4 xrefs:
// > DeathMarkerLayer::buildCell @ 0xc9f410
// > cocos2d::CCAnimation::addSpriteFrameWithFileName @ 0xd84f1c
// > cocos2d::CCAnimation::addSpriteFrameWithTexture @ 0xd84f74
// > ??> @ 0xb5288
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:08:12 +0000
//
float __fastcall cocos2d::CCAnimation::addSpriteFrame(cocos2d::CCArray **this, cocos2d::CCSpriteFrame *a2)
{
cocos2d::CCAnimationFrame *v3; // x20
float result; // s0
v3 = (cocos2d::CCAnimationFrame *)operator new(0x50u);
cocos2d::CCAnimationFrame::CCAnimationFrame(v3);
cocos2d::CCAnimationFrame::initWithSpriteFrame((__int64)v3, a2, nullptr, 1.0);
cocos2d::CCArray::addObject(*(this + 9), v3);
cocos2d::CCObject::release(v3);
result = *((float *)this + 14) + 1.0;
*((float *)this + 14) = result;
return result;
}