//
// cocos2d::CCShakyTiles3D::copyWithZone from 0x7c1b34 to 0x7c1ba0 (108 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:00:21 +0000
//
void *__fastcall cocos2d::CCShakyTiles3D::copyWithZone(cocos2d::CCShakyTiles3D *this, void **a2, int a3)
{
cocos2d::CCZone *v4; // r6
void *v5; // r4
cocos2d::CCZone *v6; // r7
v4 = (cocos2d::CCZone *)a2;
if ( a2 && (v5 = *a2) != nullptr )
{
v6 = nullptr;
}
else
{
v5 = (void *)operator new(0x60u);
memset(v5, 0, 0x60u);
cocos2d::CCTiledGrid3DAction::CCTiledGrid3DAction((cocos2d::CCTiledGrid3DAction *)v5);
*(_DWORD *)v5 = &off_D043C0;
v4 = (cocos2d::CCZone *)operator new(4u);
cocos2d::CCZone::CCZone(v4, (cocos2d::CCObject *)v5);
v6 = v4;
}
cocos2d::CCGridAction::copyWithZone(this, v4);
(*(void (__fastcall **)(void *, _DWORD, char *, _DWORD, _DWORD, void **, int))(*(_DWORD *)v5 + 68))(
v5,
*((_DWORD *)this + 17),
(char *)this + 80,
*((_DWORD *)this + 22),
*((unsigned __int8 *)this + 92),
a2,
a3);
if ( v6 )
operator delete(v6);
return v5;
}