//
// cocos2d::CCSpriteFrame::copyWithZone from 0x7f3850 to 0x7f38a4 (84 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:06 +0000
//
void *__fastcall cocos2d::CCSpriteFrame::copyWithZone(cocos2d::CCSpriteFrame *this, cocos2d::CCZone *a2)
{
void *v3; // r5
char *v4; // r1
v3 = (void *)operator new(0x94u);
memset(v3, 0, 0x94u);
cocos2d::CCSpriteFrame::CCSpriteFrame((cocos2d::CCSpriteFrame *)v3);
if ( (*((_BYTE *)this + 124) & 1) != 0 )
v4 = *((char **)this + 33);
else
v4 = (char *)this + 125;
cocos2d::CCSpriteFrame::initWithTextureFilename(
(cocos2d::CCSpriteFrame *)v3,
v4,
(cocos2d::CCSpriteFrame *)((char *)this + 68),
*((_BYTE *)this + 84),
(cocos2d::CCSpriteFrame *)((char *)this + 104),
(cocos2d::CCSpriteFrame *)((char *)this + 112));
cocos2d::CCSpriteFrame::setTexture((int)v3, *((cocos2d::CCObject **)this + 30));
return v3;
}