// // GJBaseGameLayer::opacityForObject from 0x1001fe3f4 to 0x1001fe474 (128 bytes) // // 2 xrefs: // > @ 0x1007c0b48 // > @ 0x1007f42a8 // // 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 GJBaseGameLayer::opacityForObject(GJBaseGameLayer *a1, GameObject *a2) { int v4; // w21 float v5; // s8 GJEffectManager *m_effectManager; // x22 int GroupID; // w0 if ( a2->m_groupCount < 1 ) return 1.0; v4 = 0; v5 = 1.0; do { m_effectManager = a1->m_effectManager; GroupID = GameObject::getGroupID(a2, v4); v5 = v5 * GJEffectManager::opacityModForGroup(m_effectManager, GroupID); ++v4; } while ( v4 < a2->m_groupCount ); return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source