// // GameObject::opacityModForMode from 0x64a534 to 0x64a5a8 (116 bytes) // // 5 xrefs: // > PlayLayer::updateVisibility @ 0x5ce744 // > PlayLayer::updateVisibility @ 0x5cebe0 // > GameObject::updateMainOpacity @ 0x64a5c4 // > GameObject::updateSecondaryOpacity @ 0x64a5f0 // > @ 0x5ac18 // // 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 // float GameObject::opacityModForMode(GameObject *a1, int a2, bool a3) { ColorActionSprite *m_mainActionSprite; // x1 int m_opacity; // w1 float v5; // s8 if ( a2 <= 0 || (a3 ? (m_mainActionSprite = a1->m_mainActionSprite) : (m_mainActionSprite = a1->m_detailActionSprite), m_opacity = (unsigned __int8)(unsigned int)m_mainActionSprite->m_opacity, (unsigned int)m_opacity > 0xF9) ) { v5 = 1.0; } else { v5 = (float)m_opacity * 0.004; } if ( a1->m_opacityGroupCount > 0 ) return v5 * GameObject::groupOpacityMod(a1); return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source