// // GameObject::opacityModForMode from 0x35898c to 0x3589f0 (100 bytes) // // 4 xrefs: // > PlayLayer::updateVisibility @ 0x315990 // > PlayLayer::updateVisibility @ 0x315a46 // > GameObject::updateMainOpacity @ 0x358a00 // > GameObject::updateSecondaryOpacity @ 0x358a14 // // 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_detailActionSprite; // r3 float v4; // s16 unsigned int m_opacity; // [sp+4h] [bp-8h] if ( a2 <= 0 || (!a3 ? (m_detailActionSprite = a1->m_detailActionSprite) : (m_detailActionSprite = a1->m_mainActionSprite), m_opacity = (unsigned int)m_detailActionSprite->m_opacity, (unsigned __int8)m_opacity > 0xF9u) ) { v4 = 1.0; } else { v4 = (float)(unsigned __int8)m_opacity * 0.004; } if ( a1->m_opacityGroupCount > 0 ) return v4 * GameObject::groupOpacityMod(a1); return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source