//
// cocos2d::CCRotateTo::initWithDuration from 0x1800356f0 to 0x18003571e (46 bytes)
//
// 3 xrefs:
// > cocos2d::CCRotateTo::create @ 0x1800342af
// > ??> @ 0x1800e95c8
// > ??> @ 0x1801438a8
//
// 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
//
char __fastcall cocos2d::CCRotateTo::initWithDuration(cocos2d::CCRotateTo *this, float a2, float a3, float a4)
{
this->m_fDuration = a2;
if ( a2 == 0.0 )
this->m_fDuration = 0.00000011920929;
*((float *)this + 24) = a3;
*((float *)this + 27) = a4;
this->m_elapsed = 0.0;
this->m_bFirstTick = 1;
return 1;
}