//
// cocos2d::CCSplitRows::copyWithZone from 0xd38d9c to 0xd38ea4 (264 bytes)
//
// 2 xrefs:
// > ??> @ 0xae928
// > ??> @ 0x1515260
//
// 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:07:24 +0000
//
_QWORD *__fastcall cocos2d::CCSplitRows::copyWithZone(cocos2d::CCSplitRows *this, cocos2d::CCZone *a2)
{
__int64 v3; // x19
_QWORD *v5; // x19
cocos2d::CCZone *v6; // x21
if ( a2 && (v3 = *(_QWORD *)a2) != 0 )
{
cocos2d::CCGridAction::copyWithZone(this, a2);
(*(void (__fastcall **)(__int64, _QWORD, float))(*(_QWORD *)v3 + 136LL))(
v3,
*((unsigned int *)this + 25),
*((float *)this + 20));
return (_QWORD *)v3;
}
else
{
v5 = (_QWORD *)operator new(0x70u);
*v5 = 0;
v5[1] = 0;
v5[2] = 0;
v5[3] = 0;
v5[4] = 0;
v5[5] = 0;
v5[6] = 0;
v5[7] = 0;
v5[8] = 0;
v5[9] = 0;
v5[10] = 0;
v5[11] = 0;
v5[12] = 0;
v5[13] = 0;
cocos2d::CCAction::CCAction((cocos2d::CCAction *)v5);
*((_DWORD *)v5 + 20) = 0;
*v5 = &off_1512180;
cocos2d::CCSize::CCSize((cocos2d::CCSize *)((char *)v5 + 92));
*v5 = &off_1515260;
cocos2d::CCSize::CCSize((cocos2d::CCSize *)(v5 + 13));
v6 = (cocos2d::CCZone *)operator new(8u);
cocos2d::CCZone::CCZone(v6, (cocos2d::CCObject *)v5);
cocos2d::CCGridAction::copyWithZone(this, v6);
(*(void (__fastcall **)(_QWORD *, _QWORD, float))(*v5 + 136LL))(
v5,
*((unsigned int *)this + 25),
*((float *)this + 20));
operator delete(v6);
return v5;
}
}