//
// cocos2d::CCMoveTo::initWithDuration from 0x180035620 to 0x180035658 (56 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b078c
//
// 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::CCMoveTo::initWithDuration(cocos2d::CCMoveTo *this, float a2, struct cocos2d::CCPoint *a3)
{
this->m_fDuration = a2;
if ( a2 == 0.0 )
this->m_fDuration = 0.00000011920929;
this->m_elapsed = 0.0;
this->m_bFirstTick = 1;
cocos2d::CCSize::operator=((_DWORD *)this + 30, a3);
return 1;
}