//
// cocos2d::CCTintTo::initWithDuration from 0x1003bb510 to 0x1003bb552 (66 bytes)
//
// 0 xrefs:
//
// 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
//
// local variable allocation has failed, the output may be wrong!
bool __fastcall cocos2d::CCTintTo::initWithDuration(
cocos2d::CCTintTo *a1,
float a2,
unsigned __int8 a3,
unsigned __int8 a4,
unsigned __int8 a5)
{
__m128 v5; // xmm1
v5 = _mm_cmpeq_ss((__m128)0LL, *(__m128 *)&a2);
*(_QWORD *)&a1->m_fDuration = _mm_andnot_ps(v5, *(__m128 *)&a2).u32[0] | v5.i32[0] & 0x34000000;
a1->m_bFirstTick = 1;
*(&a1->m_bFirstTick + 3) = a5;
*(_WORD *)(&a1->m_bFirstTick + 1) = a3 | (a4 << 8);
return 1;
}