//
// cocos2d::CCTintBy::reverse from 0x1003bbb20 to 0x1003bbbda (186 bytes)
//
// 1 xrefs:
// > ??> @ 0x10092a910
//
// 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
//
cocos2d::CCActionInterval *__fastcall cocos2d::CCTintBy::reverse(cocos2d::CCTintBy *a1)
{
__int16 v1; // r14
char *v2; // rbx
__m128 v3; // xmm0
__m128 m_fDuration_low; // [rsp+0h] [rbp-30h]
__m128i v6; // [rsp+10h] [rbp-20h]
m_fDuration_low = (__m128)LODWORD(a1->m_fDuration);
v6 = (__m128i)*(unsigned int *)(&a1->m_bFirstTick + 2);
v1 = *((_WORD *)&a1->m_bFirstTick + 3);
v2 = (char *)operator new(0x68u);
*(_OWORD *)v2 = 0;
*((_OWORD *)v2 + 1) = 0;
*((_OWORD *)v2 + 2) = 0;
*((_OWORD *)v2 + 3) = 0;
*((_OWORD *)v2 + 4) = 0;
*((_OWORD *)v2 + 5) = 0;
*((_QWORD *)v2 + 12) = 0;
cocos2d::CCAction::CCAction(v2);
*(_QWORD *)v2 = off_10092A8A0;
v3 = _mm_cmpeq_ss((__m128)0LL, m_fDuration_low);
*((_QWORD *)v2 + 10) = _mm_andnot_ps(v3, m_fDuration_low).u32[0] | v3.i32[0] & 0x34000000;
v2[88] = 1;
*(_DWORD *)(v2 + 90) = _mm_cvtsi128_si32(_mm_sub_epi16((__m128i)0LL, v6));
*((_WORD *)v2 + 47) = -v1;
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
return (cocos2d::CCActionInterval *)v2;
}