// // GJBaseGameLayer::opacityForObject from 0x140237430 to 0x1402374ac (124 bytes) // // 5 xrefs: // > @ 0x140566fd8 // > @ 0x140586330 // > @ 0x1406814b4 // > @ 0x1406814c4 // > @ 0x1406ce0f4 // // 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 GJBaseGameLayer::opacityForObject(GJBaseGameLayer *a1, GameObject *a2) { __int64 m_groupCount; // rsi float v4; // xmm1_4 unsigned __int64 v5; // rbx GJEffectManager *m_effectManager; // rbp std::array *m_groups; // rax int v8; // edx m_groupCount = a2->m_groupCount; v4 = 1.0; if ( m_groupCount >= 1 ) { v5 = 0; m_effectManager = a1->m_effectManager; do { if ( v5 <= 9 && (m_groups = a2->m_groups) != nullptr ) v8 = m_groups->_Elems[v5]; else v8 = 0; ++v5; v4 = v4 * GJEffectManager::opacityModForGroup(m_effectManager, v8); } while ( (__int64)v5 < m_groupCount ); } return v4; }