//
// cocos2d::CCRotateBy::create from 0x1800340b0 to 0x18003416f (191 bytes)
//
// 3 xrefs:
// > cocos2d::CCRotateBy::reverse @ 0x180035d2d
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b05f4
//
// 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
//
// Hidden C++ exception states: #wind=1
struct cocos2d::CCRotateBy *__fastcall cocos2d::CCRotateBy::create(float a1, float a2, float a3)
{
_OWORD *v3; // rax
_OWORD *v4; // rbx
v3 = operator new(0x70u);
v4 = v3;
if ( v3 )
{
*v3 = 0;
v3[1] = 0;
v3[2] = 0;
v3[3] = 0;
v3[4] = 0;
v3[5] = 0;
v3[6] = 0;
cocos2d::CCAction::CCAction((cocos2d::CCAction *)v3);
*((_DWORD *)v4 + 20) = 0;
*(_QWORD *)v4 = &cocos2d::CCRotateBy::`vftable';
}
else
{
v4 = nullptr;
}
*((float *)v4 + 20) = a1;
if ( a1 == 0.0 )
*((_DWORD *)v4 + 20) = 872415232;
*((_DWORD *)v4 + 22) = 0;
*((_BYTE *)v4 + 92) = 1;
*((float *)v4 + 24) = a2;
*((float *)v4 + 26) = a3;
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);
return (struct cocos2d::CCRotateBy *)v4;
}