//
// cocos2d::CCRotateTo::create from 0x1800347f0 to 0x1800348a4 (180 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801ba720
//
// 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 11:21:34 +0000
//
// Hidden C++ exception states: #wind=1
struct cocos2d::CCRotateTo *__fastcall cocos2d::CCRotateTo::create(float a1, float a2)
{
__int64 v2; // rbx
v2 = sub_1800E4AC0(0x78u);
if ( v2 )
{
*(_OWORD *)v2 = 0;
*(_OWORD *)(v2 + 16) = 0;
*(_OWORD *)(v2 + 32) = 0;
*(_OWORD *)(v2 + 48) = 0;
*(_OWORD *)(v2 + 64) = 0;
*(_OWORD *)(v2 + 80) = 0;
*(_OWORD *)(v2 + 96) = 0;
*(_QWORD *)(v2 + 112) = 0;
cocos2d::CCAction::CCAction((cocos2d::CCAction *)v2);
*(_DWORD *)(v2 + 80) = 0;
*(_QWORD *)v2 = &cocos2d::CCRotateTo::`vftable';
}
else
{
v2 = 0;
}
*(float *)(v2 + 80) = a1;
if ( a1 == 0.0 )
*(_DWORD *)(v2 + 80) = 872415232;
*(_DWORD *)(v2 + 88) = 0;
*(_BYTE *)(v2 + 92) = 1;
*(float *)(v2 + 108) = a2;
*(float *)(v2 + 96) = a2;
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
return (struct cocos2d::CCRotateTo *)v2;
}