// // cocos2d::CCTintTo::update from 0x5b6544 to 0x5b6614 (208 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 // void cocos2d::CCTintTo::update(cocos2d::CCTintTo *a1, float a2) { cocos2d::CCNode *m_pTarget; // r0 void (__fastcall ***v5)(void *, _BYTE *); // r0 void (__fastcall *v6)(void *, _BYTE *); // r6 int v7; // r7 int v8; // r1 float v9; // s15 _BYTE v10[4]; // [sp+0h] [bp-Ch] BYREF m_pTarget = a1->m_pTarget; if ( m_pTarget ) { v5 = (void (__fastcall ***)(void *, _BYTE *))_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 = **v5; v7 = LOBYTE(a1[1].__vftable); v8 = *((unsigned __int8 *)&a1->m_bFirstTick + 1) - v7; v9 = (float)BYTE2(a1[1].__vftable) + (float)((float)(*((unsigned __int8 *)&a1->m_bFirstTick + 3) - BYTE2(a1[1].__vftable)) * a2); v10[1] = (int)(float)((float)BYTE1(a1[1].__vftable) + (float)((float)(*((unsigned __int8 *)&a1->m_bFirstTick + 2) - BYTE1(a1[1].__vftable)) * a2)); v10[2] = (int)v9; v10[0] = (unsigned int)(float)((float)v7 + (float)((float)v8 * a2)); v6(v5, v10); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source