// // GJEffectManager::opacityModForGroup from 0x49bdbc to 0x49bdee (50 bytes) // // 7 xrefs: // > GameObject::groupOpacityMod @ 0x356a3a // > LevelEditorLayer::updateObjectColors @ 0x36794e // > LevelEditorLayer::updateObjectColors @ 0x367a86 // > LevelEditorLayer::updateVisibility @ 0x3699f2 // > LevelEditorLayer::updateVisibility @ 0x369b2a // > GJBaseGameLayer::opacityForObject @ 0x46c1be // > GJEffectManager::runOpacityActionOnGroup @ 0x49e6f0 // // 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 GJEffectManager::opacityModForGroup(GJEffectManager *a1, int a2) { int v2; // r3 int v3; // r0 int v5; // [sp+4h] [bp-8h] BYREF v5 = a2; if ( a2 > 9998 ) v2 = 9999; else v2 = a2 & ~(a2 >> 31); v5 = v2; v3 = std::_Hashtable,std::allocator>,std::__detail::_Select1st,std::equal_to,std::hash,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits>::find( &a1->m_opacityEffectMap._M_h._M_buckets, &v5); if ( v3 ) return *(float *)(v3 + 32); else return 1.0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source