// // cocos2d::CCTintTo::update from 0x1800376c0 to 0x180037794 (212 bytes) // // 3 xrefs: // > @ 0x1800e9d10 // > @ 0x1801438a8 // > @ 0x1801b0b28 // // 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 *this, float a2) { void (__fastcall ***v4)(_QWORD, char *); // rax int v5; // r9d float v6; // xmm0_4 float v7; // xmm1_4 char v8; // [rsp+50h] [rbp+8h] BYREF char v9; // [rsp+51h] [rbp+9h] char v10; // [rsp+52h] [rbp+Ah] v4 = (void (__fastcall ***)(_QWORD, char *))_RTDynamicCast( this->m_pTarget, 0, &cocos2d::CCNode `RTTI Type Descriptor', &cocos2d::CCRGBAProtocol `RTTI Type Descriptor', 0); if ( v4 ) { v5 = *((unsigned __int8 *)this + 101); v6 = (float)*((unsigned __int8 *)this + 100); v7 = (float)(*((unsigned __int8 *)this + 97) - *((unsigned __int8 *)this + 100)); v8 = (int)(float)((float)((float)(*((unsigned __int8 *)this + 96) - *((unsigned __int8 *)this + 99)) * a2) + (float)*((unsigned __int8 *)this + 99)); v9 = (int)(float)((float)(v7 * a2) + v6); v10 = (int)(float)((float)((float)(*((unsigned __int8 *)this + 98) - v5) * a2) + (float)v5); (**v4)(v4, &v8); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source