// // GameObject::addToOpacityGroup from 0x356622 to 0x35666a (72 bytes) // // 1 xrefs: // > PlayLayer::optimizeOpacityGroups @ 0x3164b8 // // 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; // r1 int i; // r3 std::array *m_opacityGroups; // r2 if ( a1->m_opacityGroupCount <= 9 && (unsigned int)(a2 - 1) <= 0x270E ) { GameObject::createOpacityGroupContainer(a1, 10); m_opacityGroupCount = a1->m_opacityGroupCount; for ( i = 0; ; ++i ) { m_opacityGroups = a1->m_opacityGroups; if ( i >= m_opacityGroupCount ) break; if ( m_opacityGroups->__elems_[i] == a2 ) return; } m_opacityGroups->__elems_[m_opacityGroupCount] = a2; ++a1->m_opacityGroupCount; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source