// // cocos2d::CCTintBy::update from 0x1003bba50 to 0x1003bbb17 (199 bytes) // // 1 xrefs: // > @ 0x10092a8c8 // // 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! void __fastcall cocos2d::CCTintBy::update(cocos2d::CCTintBy *a1, float a2) { cocos2d::CCNode *m_pTarget; // rdi void (__fastcall ***v4)(void *, __int16 *); // rax __m128i v5; // xmm0 int v6; // edx __int16 v7; // cx __int16 v9; // [rsp+14h] [rbp-Ch] BYREF char v10; // [rsp+16h] [rbp-Ah] m_pTarget = a1->m_pTarget; if ( m_pTarget ) { v4 = (void (__fastcall ***)(void *, __int16 *))__dynamic_cast( m_pTarget, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol, -2); if ( v4 ) { v5 = _mm_shuffle_epi8( _mm_cvttps_epi32( _mm_add_ps( _mm_mul_ps( _mm_moveldup_ps(*(__m128 *)&a2), _mm_cvtepi32_ps(_mm_cvtepi16_epi32(_mm_cvtsi32_si128(*((_DWORD *)&a1->m_bFirstTick + 1))))), _mm_cvtepi32_ps(_mm_cvtepi16_epi32(_mm_cvtsi32_si128(*(_DWORD *)((char *)&a1[1].__vftable + 2)))))), (__m128i)xmmword_10081AA00); v6 = _mm_cvtsi128_si32(_mm_or_si128(_mm_slli_epi64(v5, 8u), _mm_unpackhi_epi16((__m128i)0LL, v5))); v7 = v6 | (unsigned __int8)(int)(float)((float)((float)*((__int16 *)&a1->m_bFirstTick + 1) * a2) + (float)SLOWORD(a1[1].__vftable)); v10 = BYTE2(v6); v9 = v7; (**v4)(v4, &v9); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source