// // ColorSelectLiveOverlay::determineStartValues from 0x90a854 to 0x90a8e4 (144 bytes) // // 2 xrefs: // > ColorSelectLiveOverlay::init @ 0x90b3dc // > @ 0xb0fd0 // // 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 ColorSelectLiveOverlay::determineStartValues(ColorSelectLiveOverlay *a1) { EffectGameObject *m_effectGameObject; // x1 GLubyte r; // w3 GLubyte g; // w2 GLubyte b; // w4 float m_opacity; // w1 ColorAction *m_baseColorAction; // x1 ColorAction *m_detailColorAction; // x2 GLubyte v8; // w4 GLubyte v9; // w3 GLubyte v10; // w3 GLubyte v11; // w1 m_effectGameObject = a1->m_effectGameObject; if ( m_effectGameObject ) { r = m_effectGameObject->m_triggerTargetColor.r; g = m_effectGameObject->m_triggerTargetColor.g; b = m_effectGameObject->m_triggerTargetColor.b; a1->m_targetColor.b = b; a1->m_targetColor.g = g; a1->m_targetColor.r = r; m_opacity = m_effectGameObject->m_opacity; *(_WORD *)&a1->m_mainColor.r = *(_WORD *)&a1->m_targetColor.r; a1->m_mainColor.b = b; a1->m_opacity = m_opacity; } else { m_baseColorAction = a1->m_baseColorAction; m_detailColorAction = a1->m_detailColorAction; v8 = m_baseColorAction->m_fromColor.g; v9 = m_baseColorAction->m_fromColor.b; a1->m_targetColor.r = m_baseColorAction->m_fromColor.r; a1->m_targetColor.g = v8; a1->m_targetColor.b = v9; *(_WORD *)&a1->m_mainColor.r = *(_WORD *)&a1->m_targetColor.r; a1->m_mainColor.b = v9; a1->m_opacity = m_baseColorAction->m_fromOpacity; if ( m_detailColorAction ) { v10 = m_detailColorAction->m_fromColor.r; v11 = m_detailColorAction->m_fromColor.g; a1->m_detailColor.b = m_detailColorAction->m_fromColor.b; a1->m_detailColor.r = v10; a1->m_detailColor.g = v11; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source