//
// cocos2d::CCRotateTo::initWithDuration from 0x10018b18c to 0x10018b1b8 (44 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007a57f8
//
// 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
//
bool __fastcall cocos2d::CCRotateTo::initWithDuration(cocos2d::CCRotateTo *a1, float a2, float a3, float a4)
{
if ( a2 == 0.0 )
a2 = 0.00000011921;
a1->m_fDuration = a2;
a1->m_elapsed = 0.0;
a1->m_bFirstTick = 1;
*((float *)&a1->m_bFirstTick + 1) = a3;
*(float *)&a1[1].m_uID = a4;
return 1;
}