// // GameObject::addToOpacityGroup from 0x646f4c to 0x646ff0 (164 bytes) // // 2 xrefs: // > PlayLayer::optimizeOpacityGroups @ 0x5d8454 // > @ 0x87c30 // // 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::addToOpacityGroup(GameObject *a1, int a2) { int m_opacityGroupCount; // w4 std::array *m_opacityGroups; // x3 __int16 *i; // x0 int v7; // t1 if ( a1->m_opacityGroupCount <= 9 && (unsigned int)(a2 - 1) <= 0x270E ) { GameObject::createOpacityGroupContainer(a1, 10); m_opacityGroupCount = a1->m_opacityGroupCount; m_opacityGroups = a1->m_opacityGroups; if ( m_opacityGroupCount > 0 ) { if ( m_opacityGroups->__elems_[0] == a2 ) return; for ( i = &m_opacityGroups->__elems_[1]; i != &m_opacityGroups->__elems_[m_opacityGroupCount - 1 + 1]; ++i ) { v7 = *i; if ( v7 == a2 ) return; } } m_opacityGroups->__elems_[a1->m_opacityGroupCount++] = a2; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source