//
// cocos2d::CCTintBy::initWithDuration from 0x1800357c0 to 0x1800357f7 (55 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::CCTintBy::initWithDuration(
cocos2d::CCTintBy *this,
float a2,
__int16 a3,
__int16 a4,
__int16 a5)
{
this->m_fDuration = a2;
if ( a2 == 0.0 )
this->m_fDuration = 0.00000011920929;
*((_WORD *)this + 50) = a5;
this->m_elapsed = 0.0;
this->m_bFirstTick = 1;
*((_WORD *)this + 48) = a3;
*((_WORD *)this + 49) = a4;
return 1;
}