//
// SetGroupIDLayer::onNextFreeOrderChannel from 0x63b4bc to 0x63b51c (96 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:55:24 +0000
//
int __fastcall SetGroupIDLayer::onNextFreeOrderChannel(SetGroupIDLayer *this, cocos2d::CCObject *a2)
{
int v3; // r0
int v4; // r1
int v5; // r2
int v6; // r3
_DWORD v8[5]; // [sp+0h] [bp-18h] BYREF
v3 = GameManager::sharedState(this);
memset(v8, 0, 16);
v8[4] = 1065353216;
*((_DWORD *)this + 142) = LevelEditorLayer::getNextFreeOrderChannel(*(LevelEditorLayer **)(v3 + 408), (int)v8);
std::__hash_table,std::equal_to,std::allocator>::~__hash_table((int)v8);
SetGroupIDLayer::updateOrderChannel(this);
return SetGroupIDLayer::updateOrderChannelLabel(this, v4, v5, v6);
}