//
// cocos2d::CCSkewTo::copyWithZone from 0x1003a1dd0 to 0x1003a1e79 (169 bytes)
//
// 2 xrefs:
// > ??> @ 0x100b32268
// > ??> @ 0x100b328d0
//
// 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:29:20 +0000
//
char *__fastcall cocos2d::CCSkewTo::copyWithZone(float *a1, void **a2)
{
char *v2; // rbx
void **v3; // r15
if ( a2 && (v2 = (char *)*a2) != nullptr )
{
v3 = nullptr;
}
else
{
v2 = (char *)operator new(0x80u);
cocos2d::CCAction::CCAction(v2);
*((_DWORD *)v2 + 20) = 0;
*(_QWORD *)v2 = off_100B32268;
*(_OWORD *)(v2 + 92) = 0;
*(_OWORD *)(v2 + 108) = 0;
v3 = (void **)operator new(8u);
cocos2d::CCZone::CCZone(v3, (__int64)v2);
a2 = v3;
}
cocos2d::CCActionInterval::copyWithZone((__int64)a1, a2);
(*(void (__fastcall **)(char *, float, float, float))(*(_QWORD *)v2 + 120LL))(v2, a1[20], a1[27], a1[28]);
if ( v3 )
operator delete(v3);
return v2;
}