// // cocos2d::CCLayerColor::updateColor from 0x5ceb10 to 0x5ceb74 (100 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::CCLayerColor::updateColor(cocos2d::CCLayerColor *a1) { float r; // s12 int b; // s14 int displayedOpacity; // s15 cocos2d::ccColor4F *m_pSquareColors; // r3 float g; // s13 cocos2d::ccBlendFunc *p_m_tBlendFunc; // r0 float v7; // s12 float v8; // s13 float v9; // s14 float v10; // s15 r = (float)a1->_displayedColor.r; b = a1->_displayedColor.b; displayedOpacity = a1->_displayedOpacity; m_pSquareColors = a1->m_pSquareColors; g = (float)a1->_displayedColor.g; p_m_tBlendFunc = &a1->m_tBlendFunc; v7 = r / 255.0; v8 = g / 255.0; v9 = (float)b / 255.0; v10 = (float)displayedOpacity / 255.0; do { m_pSquareColors->r = v7; ++m_pSquareColors; m_pSquareColors[-1].g = v8; m_pSquareColors[-1].b = v9; m_pSquareColors[-1].a = v10; } while ( m_pSquareColors != (cocos2d::ccColor4F *)p_m_tBlendFunc ); }
GD Web Decomp Icon

GD Web Decomp

Raw Source