//
// cocos2d::CCRotateTo::copyWithZone from 0x1003b7a10 to 0x1003b7ad4 (196 bytes)
//
// 1 xrefs:
// > ??> @ 0x100929e78
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
cocos2d::CCObject *__fastcall cocos2d::CCRotateTo::copyWithZone(cocos2d::CCRotateTo *a1, cocos2d::CCZone *a2)
{
cocos2d::CCObject *v2; // rbx
cocos2d::CCZone *v3; // r15
if ( a2 && (v2 = *(cocos2d::CCObject **)a2) != nullptr )
{
v3 = nullptr;
}
else
{
v2 = (cocos2d::CCObject *)operator new(0x78u);
*(_OWORD *)&v2->__vftable = 0;
*(_OWORD *)&v2->m_nTag = 0;
*(_OWORD *)&v2->m_uIndexInArray = 0;
*(_OWORD *)&v2->m_uOrderOfArrival = 0;
*(_OWORD *)&v2[1].m_uID = 0;
*(_OWORD *)&v2[1].m_uAutoReleaseCount = 0;
*(_OWORD *)&v2[1].m_unknown2 = 0;
v2[2].__vftable = nullptr;
cocos2d::CCAction::CCAction(v2);
v2[1].m_uAutoReleaseCount = 0;
v2->__vftable = (cocos2d::CCObject_vtbl *)off_100929E78;
v3 = (cocos2d::CCZone *)operator new(8u);
cocos2d::CCZone::CCZone(v3, (__int64)v2);
a2 = v3;
}
cocos2d::CCActionInterval::copyWithZone(a1, a2);
((void (__fastcall *)(cocos2d::CCObject *, float, float, float))v2->__vftable[1].update)(
v2,
a1->m_fDuration,
*((float *)&a1->m_bFirstTick + 1),
*(float *)&a1[1].m_uID);
if ( v3 )
operator delete(v3);
return v2;
}