//
// SetGroupIDLayer::onNextFreeOrderChannel from 0x10003db58 to 0x10003dbb8 (96 bytes)
//
// 1 xrefs:
// > SetGroupIDLayer::init @ 0x10003c244
//
// 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 __fastcall SetGroupIDLayer::onNextFreeOrderChannel(SetGroupIDLayer *a1, cocos2d::CCObject *a2)
{
LevelEditorLayer *m_levelEditorLayer; // x0
std::unordered_set v4; // [xsp+0h] [xbp-40h] BYREF
m_levelEditorLayer = GameManager::sharedState()->m_levelEditorLayer;
memset(&v4, 0, 32);
v4.__table_.__p3_.__value_ = 1.0;
a1->m_channelValue = LevelEditorLayer::getNextFreeOrderChannel(m_levelEditorLayer, &v4);
sub_100017A98((__int64)&v4);
SetGroupIDLayer::updateOrderChannel(a1);
SetGroupIDLayer::updateOrderChannelLabel(a1);
}