//
// cocos2d::CCTintBy::initWithDuration from 0x1003bb880 to 0x1003bb8bd (61 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::CCTintBy::initWithDuration(
cocos2d::CCTintBy *a1,
float a2,
__int16 a3,
__int16 a4,
__int16 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;
*((_WORD *)&a1->m_bFirstTick + 1) = a3;
*((_WORD *)&a1->m_bFirstTick + 2) = a4;
*((_WORD *)&a1->m_bFirstTick + 3) = a5;
return 1;
}