// // GameObject::opacityModForMode from 0x1005cab40 to 0x1005cabff (191 bytes) // // 2 xrefs: // > PlayLayer::updateVisibility @ 0x1000b7408 // > PlayLayer::updateVisibility @ 0x1000b74e1 // // 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 __fastcall GameObject::opacityModForMode(GameObject *a1, int a2, bool a3) { int v3; // eax float result; // xmm0_4 float v5; // xmm0_4 __int64 v6; // r14 float v7; // xmm1_4 float v8; // [rsp+Ch] [rbp-14h] if ( a2 > 0 && (v3 = (int)*(float *)(*((_QWORD *)&a1->m_mainActionSprite + !a3) + 316LL), (unsigned __int8)v3 < 0xFAu) ) { result = (float)(unsigned __int8)v3 * 0.0040000002; if ( a1->m_opacityGroupCount <= 0 ) return result; } else { result = 1.0; if ( a1->m_opacityGroupCount <= 0 ) return result; } v8 = result; v5 = 1.0; v6 = 0; do { v5 = GJEffectManager::opacityModForGroup(a1->m_goEffectManager, a1->m_opacityGroups->__elems_[v6]) * v5; v7 = 0.0; if ( v5 <= 0.0 ) break; ++v6; v7 = v5; } while ( v6 < a1->m_opacityGroupCount ); return v8 * v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source