//
// cocos2d::CCSpriteFrame::copyWithZone from 0x1002eb604 to 0x1002eb6d4 (208 bytes)
//
// 1 xrefs:
// > ??> @ 0x100927378
//
// 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 11:02:53 +0000
//
_OWORD *__fastcall cocos2d::CCSpriteFrame::copyWithZone(__int64 a1)
{
_OWORD *v2; // x19
const std::string::value_type *v3; // x1
v2 = operator new(0xB8u);
*v2 = 0u;
v2[1] = 0u;
v2[2] = 0u;
v2[3] = 0u;
v2[4] = 0u;
v2[5] = 0u;
v2[6] = 0u;
v2[7] = 0u;
v2[8] = 0u;
v2[9] = 0u;
v2[10] = 0u;
*((_QWORD *)v2 + 22) = 0;
cocos2d::CCObject::CCObject((__int64)v2);
*(_QWORD *)v2 = off_100927378;
sub_1000262EC((_QWORD *)v2 + 7);
sub_100026430((_QWORD *)v2 + 8);
sub_1000264CC((_QWORD *)v2 + 9);
sub_1000264CC((_OWORD *)((char *)v2 + 92));
sub_1000262EC((_OWORD *)((char *)v2 + 108));
sub_100026430((_OWORD *)((char *)v2 + 116));
*(_OWORD *)((char *)v2 + 168) = 0u;
*(_OWORD *)((char *)v2 + 152) = 0u;
*(_OWORD *)((char *)v2 + 136) = 0u;
v3 = (const std::string::value_type *)(a1 + 136);
if ( *(char *)(a1 + 159) < 0 )
v3 = *(const std::string::value_type **)v3;
cocos2d::CCSpriteFrame::initWithTextureFilename(
(__int64)v2,
v3,
(float *)(a1 + 72),
*(_BYTE *)(a1 + 88),
(double *)(a1 + 108),
(double *)(a1 + 116));
cocos2d::CCSpriteFrame::setTexture(v2, *(_QWORD *)(a1 + 128));
return v2;
}