//
// cocos2d::CCTintTo::initWithDuration from 0x180035800 to 0x180035834 (52 bytes)
//
// 1 xrefs:
// > ??> @ 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::CCTintTo::initWithDuration(cocos2d::CCTintTo *this, float a2, char a3, char a4, char a5)
{
this->m_fDuration = a2;
if ( a2 == 0.0 )
this->m_fDuration = 0.00000011920929;
this->m_elapsed = 0.0;
this->m_bFirstTick = 1;
*((_BYTE *)this + 96) = a3;
*((_BYTE *)this + 97) = a4;
*((_BYTE *)this + 98) = a5;
return 1;
}