//
// cocos2d::CCRotateBy::create from 0x180034680 to 0x18003472e (174 bytes)
//
// 3 xrefs:
// > cocos2d::CCTransitionRotoZoom::onEnter @ 0x18005794b
// > ??> @ 0x18014cf68
// > ??> @ 0x1801ba708
//
// 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::CCRotateBy *__fastcall cocos2d::CCRotateBy::create(float a1, float a2)
{
cocos2d::CCAction *v2; // rax
cocos2d::CCAction *v3; // rbx
v2 = (cocos2d::CCAction *)sub_1800E4AC0(0x70u);
v3 = v2;
if ( v2 )
{
*(_OWORD *)v2 = 0;
*((_OWORD *)v2 + 1) = 0;
*((_OWORD *)v2 + 2) = 0;
*((_OWORD *)v2 + 3) = 0;
*((_OWORD *)v2 + 4) = 0;
*((_OWORD *)v2 + 5) = 0;
*((_OWORD *)v2 + 6) = 0;
cocos2d::CCAction::CCAction(v2);
*((_DWORD *)v3 + 20) = 0;
*(_QWORD *)v3 = &cocos2d::CCRotateBy::`vftable';
}
else
{
v3 = nullptr;
}
*((float *)v3 + 20) = a1;
if ( a1 == 0.0 )
*((_DWORD *)v3 + 20) = 872415232;
*((_DWORD *)v3 + 22) = 0;
*((_BYTE *)v3 + 92) = 1;
*((float *)v3 + 26) = a2;
*((float *)v3 + 24) = a2;
cocos2d::CCObject::autorelease(v3);
return v3;
}