// // GJEffectManager::opacityModForGroup from 0x14036b2c0 to 0x14036b37d (189 bytes) // // 8 xrefs: // > GameObject::groupOpacityMod @ 0x140299d76 // > GJBaseGameLayer::opacityForObject @ 0x1403402ef // > GJEffectManager::runOpacityActionOnGroup @ 0x14036b1e9 // > LevelEditorLayer::updateVisibility @ 0x1403f6d1e // > LevelEditorLayer::updateVisibility @ 0x1403f7182 // > LevelEditorLayer::updateObjectColors @ 0x1403f77de // > LevelEditorLayer::updateObjectColors @ 0x1403f7c12 // > @ 0x1409218c0 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:30:57 +0000 // float __fastcall GJEffectManager::opacityModForGroup(_QWORD *a1, int a2) { __int64 v3; // r9 __int64 v4; // rcx __int64 v5; // r11 __int64 v6; // rax __int64 v7; // rcx v3 = 0; if ( a2 < 0 ) a2 = 0; if ( a2 > 9999 ) a2 = 9999; v4 = a1[57]; v5 = a1[55]; v6 = *(_QWORD *)(v4 + 16 * (a1[60] & (0x100000001B3LL * (((unsigned __int64)(unsigned int)a2 >> 24) ^ (0x100000001B3LL * (BYTE2(a2) ^ (0x100000001B3LL * ((0x100000001B3LL * ((unsigned __int8)a2 ^ 0xCBF29CE484222325uLL)) ^ BYTE1(a2)))))))) + 8); if ( v6 != v5 ) { v7 = *(_QWORD *)(v4 + 16 * (a1[60] & (0x100000001B3LL * (((unsigned __int64)(unsigned int)a2 >> 24) ^ (0x100000001B3LL * (BYTE2(a2) ^ (0x100000001B3LL * ((0x100000001B3LL * ((unsigned __int8)a2 ^ 0xCBF29CE484222325uLL)) ^ BYTE1(a2))))))))); if ( a2 == *(_DWORD *)(v6 + 16) ) { LABEL_9: v3 = v6; } else { while ( v6 != v7 ) { v6 = *(_QWORD *)(v6 + 8); if ( a2 == *(_DWORD *)(v6 + 16) ) goto LABEL_9; } } } if ( !v3 ) v3 = a1[55]; if ( v3 == v5 ) return 1.0; else return *(float *)(v3 + 44); }