//
// UIOptionsLayer::create from 0x4b2c60 to 0x4b2d18 (184 bytes)
//
// 5 xrefs:
// > GameOptionsLayer::onUIOptions @ 0x4b2d20
// > UIOptionsLayer::onReset @ 0x4b2d62
// > UIOptionsLayer::valueDidChange @ 0x4b2f26
// > UISaveLoadLayer::onSave @ 0x4b2f94
// > UISaveLoadLayer::onLoad @ 0x4b30b0
//
// 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
//
UIOptionsLayer *UIOptionsLayer::create(bool a1)
{
UIOptionsLayer *v2; // r4
UIOptionsLayer_vtbl *v3; // r3
UIOptionsLayer *v4; // r0
v2 = (UIOptionsLayer *)operator new(0x2C0u);
SetupTriggerPopup::SetupTriggerPopup(v2);
v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (UIOptionsLayer_vtbl *)&off_A70410;
v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&off_A706F8;
v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_A70730;
v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&off_A7073C;
v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_A7074C;
v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&off_A7075C;
v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&off_A70770;
v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&off_A707B0;
v2->SetupTriggerPopup::TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&off_A707C0;
v2->SetupTriggerPopup::ConfigureValuePopupDelegate::__vftable = (ConfigureValuePopupDelegate_vtbl *)&off_A707E4;
v2->SetupTriggerPopup::SliderDelegate::__vftable = (SliderDelegate_vtbl *)&off_A707F0;
v2->m_dual = 0;
v2->m_uiNode1 = nullptr;
v2->m_uiNode2 = nullptr;
v2->m_uiNode3 = nullptr;
v2->m_uiNode4 = nullptr;
v2->m_nameLabel = nullptr;
v2->m_activeUIGroup = 0;
if ( UIOptionsLayer::init(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
v3 = v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
v4 = v2;
v2 = nullptr;
v3->~UIOptionsLayer_0(v4);
}
return v2;
}