//
// cocos2d::CCAction::copyWithZone from 0x1006c7080 to 0x1006c710c (140 bytes)
//
// 6 xrefs:
// > cocos2d::CCActionInterval::copyWithZone @ 0x10039e85d
// > cocos2d::CCActionInterval::copyWithZone @ 0x10039e8c2
// > cocos2d::CCActionInstant::copyWithZone @ 0x10088f6b7
// > cocos2d::CCActionInstant::copyWithZone @ 0x10088f705
// > ??> @ 0x100b8ed50
// > ??> @ 0x100b8eed8
//
// This function is hookable on this platform (idp: pc, 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 12:35:34 +0000
//
char *__fastcall cocos2d::CCAction::copyWithZone(__int64 a1, void **a2)
{
char *v2; // rbx
_QWORD *v3; // r15
if ( a2 && (v2 = (char *)*a2) != nullptr )
{
*((_DWORD *)v2 + 18) = *(_DWORD *)(a1 + 72);
}
else
{
v2 = (char *)operator new(0x50u);
cocos2d::CCObject::CCObject((__int64)v2);
*(_QWORD *)v2 = off_100B8ED50;
*(_OWORD *)(v2 + 56) = 0;
*((_QWORD *)v2 + 9) = 0x3F800000FFFFFFFFLL;
v3 = operator new(8u);
cocos2d::CCZone::CCZone(v3, (__int64)v2);
*((_DWORD *)v2 + 18) = *(_DWORD *)(a1 + 72);
operator delete(v3);
}
return v2;
}