//
// SetGroupIDLayer::create from 0x50b798 to 0x50b89a (258 bytes)
//
// 1 xrefs:
// > EditorUI::editGroup @ 0x39e006
//
// 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
//
SetGroupIDLayer *SetGroupIDLayer::create(GameObject *a1, cocos2d::CCArray *a2)
{
SetGroupIDLayer *v4; // r4
SetGroupIDLayer_vtbl *v5; // r3
int *v6; // r0
v4 = (SetGroupIDLayer *)operator new(0x25Cu);
FLAlertLayer::FLAlertLayer(v4);
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (SetGroupIDLayer_vtbl *)&off_A82150;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A823EC;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A82424;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A82430;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A82440;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A82450;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A82464;
v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_A824A4;
v4->TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&off_A824B4;
v4->ConfigureValuePopupDelegate::__vftable = (ConfigureValuePopupDelegate_vtbl *)&off_A824D8;
v4->m_targetObject = nullptr;
v4->m_targetObjects = nullptr;
v4->m_editorLayerInput = nullptr;
v4->m_editorLayer2Input = nullptr;
v4->m_zOrderInput = nullptr;
v4->m_groupIDInput = nullptr;
v4->m_orderInput = nullptr;
v4->m_channelInput = nullptr;
v4->m_showChannelOrder = 0;
v4->m_channelValue = 0;
v4->m_channelUpdated = 0;
v4->m_groupIDValue = 0;
v4->m_editorLayerValue = 0;
v4->m_editorLayer2Value = 0;
v4->m_zOrderValue = -1000;
v4->m_zLayerValue = 0;
v4->m_orderValue = 0;
v4->m_channelOrderEdited = 0;
v4->m_editorLayerEdited = 0;
v4->m_removeGroupsLock = 0;
v4->m_addedGroup = 0;
v4->m_reverseChanged = 0;
v4->m_unk2ff = 0;
v4->m_unk300 = 0;
v4->m_nextFreeID = 0;
v4->m_parentGroups = nullptr;
if ( SetGroupIDLayer::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v4);
}
else
{
v5 = v4->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v6 = (int *)v4;
v4 = nullptr;
v5->~SetGroupIDLayer_0((SetGroupIDLayer *)v6);
}
return v4;
}