// // cocos2d::CCTintTo::update from 0x1003bb6d0 to 0x1003bb7a4 (212 bytes) // // 1 xrefs: // > @ 0x10092a828 // // 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 // void __fastcall cocos2d::CCTintTo::update(cocos2d::CCTintTo *a1, float a2) { __int64 v2; // rax cocos2d::CCNode *m_pTarget; // rdi void (__fastcall ***v5)(void *, int *); // rax int v6; // ecx float v7; // xmm1_4 int v8; // [rsp+4h] [rbp-Ch] BYREF v8 = HIDWORD(v2); m_pTarget = a1->m_pTarget; if ( m_pTarget ) { v5 = (void (__fastcall ***)(void *, int *))__dynamic_cast( m_pTarget, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol, -2); if ( v5 ) { v6 = (int)(float)((float)((float)(*((unsigned __int8 *)&a1->m_bFirstTick + 1) - *((unsigned __int8 *)&a1->m_bFirstTick + 4)) * a2) + (float)*((unsigned __int8 *)&a1->m_bFirstTick + 4)); v7 = (float)((float)(*((unsigned __int8 *)&a1->m_bFirstTick + 2) - *((unsigned __int8 *)&a1->m_bFirstTick + 5)) * a2) + (float)*((unsigned __int8 *)&a1->m_bFirstTick + 5); BYTE2(v8) = (int)(float)((float)((float)(*((unsigned __int8 *)&a1->m_bFirstTick + 3) - *((unsigned __int8 *)&a1->m_bFirstTick + 6)) * a2) + (float)*((unsigned __int8 *)&a1->m_bFirstTick + 6)); LOWORD(v8) = ((unsigned __int8)(int)v7 << 8) | (unsigned __int8)v6; (**v5)(v5, &v8); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source