//
// cocos2d::CCFlipX3D::copyWithZone from 0xd2c1ac to 0xd2c2ac (256 bytes)
//
// 4 xrefs:
// > cocos2d::CCFlipY3D::copyWithZone @ 0xd2c2cc
// > cocos2d::CCFlipY3D::copyWithZone @ 0xd2c374
// > ??> @ 0xa8fb8
// > ??> @ 0x15127b0
//
// 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:17 +0000
//
_DWORD *__fastcall cocos2d::CCFlipX3D::copyWithZone(cocos2d::CCFlipX3D *this, cocos2d::CCZone *a2)
{
__int64 v3; // x19
_QWORD *v5; // x0
_DWORD *v6; // x19
cocos2d::CCZone *v7; // x21
if ( a2 && (v3 = *(_QWORD *)a2) != 0 )
{
cocos2d::CCGridAction::copyWithZone(this, a2);
(*(void (__fastcall **)(__int64, char *, float))(*(_QWORD *)v3 + 144LL))(
v3,
(char *)this + 92,
*((float *)this + 20));
return (_DWORD *)v3;
}
else
{
v5 = (_QWORD *)operator new(0x68u);
v5[12] = 0;
*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;
v6 = v5;
cocos2d::CCAction::CCAction((cocos2d::CCAction *)v5);
v6[20] = 0;
*(_QWORD *)v6 = &off_1512180;
cocos2d::CCSize::CCSize((cocos2d::CCSize *)(v6 + 23));
*(_QWORD *)v6 = &off_15127B0;
v7 = (cocos2d::CCZone *)operator new(8u);
cocos2d::CCZone::CCZone(v7, (cocos2d::CCObject *)v6);
cocos2d::CCGridAction::copyWithZone(this, v7);
(*(void (__fastcall **)(_DWORD *, char *, float))(*(_QWORD *)v6 + 144LL))(
v6,
(char *)this + 92,
*((float *)this + 20));
operator delete(v7);
return v6;
}
}