//
// UIOptionsLayer::create from 0x1402a0ca0 to 0x1402a0dde (318 bytes)
//
// 6 xrefs:
// > GameOptionsLayer::onUIOptions @ 0x1402a03f6
// > UIOptionsLayer::onReset @ 0x1402a31c4
// > UIOptionsLayer::valueDidChange @ 0x1402a38c9
// > UISaveLoadLayer::onSave @ 0x1402a460a
// > UISaveLoadLayer::onLoad @ 0x1402a489a
// > ??> @ 0x1406d1fa0
//
// 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
//
// Hidden C++ exception states: #wind=1
UIOptionsLayer *UIOptionsLayer::create(bool a1)
{
UIOptionsLayer *v2; // rdi
v2 = (UIOptionsLayer *)operator new(0x3E0u);
SetupTriggerPopup::SetupTriggerPopup(v2);
v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (UIOptionsLayer_vtbl *)&UIOptionsLayer::`vftable';
v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&UIOptionsLayer::`vftable';
v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&UIOptionsLayer::`vftable';
v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&UIOptionsLayer::`vftable';
v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&UIOptionsLayer::`vftable';
v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&UIOptionsLayer::`vftable';
v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&UIOptionsLayer::`vftable';
v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&UIOptionsLayer::`vftable';
v2->SetupTriggerPopup::TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&UIOptionsLayer::`vftable';
v2->SetupTriggerPopup::ConfigureValuePopupDelegate::__vftable = (ConfigureValuePopupDelegate_vtbl *)&UIOptionsLayer::`vftable';
v2->SetupTriggerPopup::SliderDelegate::__vftable = (SliderDelegate_vtbl *)&UIOptionsLayer::`vftable';
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);
return v2;
}
else
{
((void (__fastcall *)(UIOptionsLayer *, __int64))v2->~UIOptionsLayer)(v2, 1);
return nullptr;
}
}