// // GameObject::setAreaOpacity from 0x354e3c to 0x354ea4 (104 bytes) // // 2 xrefs: // > GJBaseGameLayer::processAreaFadeGroupAction @ 0x47422c // > GJBaseGameLayer::processAreaFadeGroupAction @ 0x474280 // // 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 // void GameObject::setAreaOpacity(GameObject *a1, float a2, float a3, int a4) { float *p_m_areaOpacityValue; // r5 std::uint8_t m_areaOpacityRelated; // r7 p_m_areaOpacityValue = &a1->m_areaOpacityValue; if ( a1->m_areaOpacityIndex != a4 || a3 < *p_m_areaOpacityValue ) { m_areaOpacityRelated = a1->m_areaOpacityRelated; a1->setOpacity(a1, (unsigned int)(float)(a2 * (float)m_areaOpacityRelated)); a1->m_areaOpacityRelated = m_areaOpacityRelated; a1->m_areaOpacityIndex = a4; *p_m_areaOpacityValue = a3; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source