// // GameObject::setAreaOpacity from 0x140198770 to 0x140198800 (144 bytes) // // 5 xrefs: // > GJBaseGameLayer::processAreaEffects @ 0x140228cf2 // > GJBaseGameLayer::processAreaEffects @ 0x140228d85 // > @ 0x140678f04 // > @ 0x140678f14 // > @ 0x1406cbc40 // // 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 m_areaOpacityRelated; // xmm6_4 if ( a1->m_areaOpacityIndex != a4 || a1->m_areaOpacityValue > a3 ) { m_areaOpacityRelated = (float)a1->m_areaOpacityRelated; a1->setOpacity(&a1->cocos2d::CCRGBAProtocol, (int)(float)(m_areaOpacityRelated * a2)); a1->m_areaOpacityIndex = a4; a1->m_areaOpacityRelated = (int)m_areaOpacityRelated; a1->m_areaOpacityValue = a3; } }