// // cocos2d::CCTintBy::update from 0x5b6668 to 0x5b6732 (202 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::CCTintBy::update(cocos2d::CCTintBy *a1, float a2) { cocos2d::CCNode *m_pTarget; // r0 void (__fastcall ***v5)(void *, _BYTE *); // r0 int m_uID_low; // r1 void (__fastcall *v7)(void *, _BYTE *); // r6 float v8; // s15 float v9; // s14 _BYTE v10[4]; // [sp+0h] [bp-8h] 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 ) { m_uID_low = SLOWORD(a1[1].m_uID); v7 = **v5; v8 = (float)SLOWORD(a1[1].m_nLuaID) + (float)((float)SHIWORD(a1[1].__vftable) * a2); v10[1] = (unsigned int)(float)((float)SHIWORD(a1[1].m_uID) + (float)((float)SLOWORD(a1[1].__vftable) * a2)); v9 = (float)*((__int16 *)&a1->m_bFirstTick + 1); v10[2] = (unsigned int)v8; v10[0] = (unsigned int)(float)((float)m_uID_low + (float)(v9 * a2)); v7(v5, v10); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source