// // GJBaseGameLayer::opacityForObject from 0x855714 to 0x855794 (128 bytes) // // 3 xrefs: // > @ 0xc1848 // > @ 0x1155238 // > @ 0x11906b8 // // 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) { float v4; // s8 int v5; // w19 int v6; // w1 GJEffectManager *m_effectManager; // x21 int GroupID; // w0 if ( a2->m_groupCount <= 0 ) return 1.0; v4 = 1.0; v5 = 0; do { v6 = v5; m_effectManager = a1->m_effectManager; ++v5; GroupID = GameObject::getGroupID(a2, v6); v4 = v4 * GJEffectManager::opacityModForGroup(m_effectManager, GroupID); } while ( a2->m_groupCount > v5 ); return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source