//
// UIPOptionsLayer::UIPOptionsLayer from 0x1002b8170 to 0x1002b836c (508 bytes)
//
// 2 xrefs:
// > GameOptionsLayer::onUIPOptions @ 0x1002b18b7
// > UIPOptionsLayer::create @ 0x1002b1e57
//
// 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
//
UIPOptionsLayer *__fastcall UIPOptionsLayer::UIPOptionsLayer(UIPOptionsLayer *a1)
{
UIPOptionsLayer *result; // rax
cocos2d::CCLayerColor::CCLayerColor(a1);
a1->m_mainLayer = nullptr;
a1->m_ZOrder = 0;
a1->m_noElasticity = 0;
*(_OWORD *)&a1->m_buttonMenu = 0;
*(_OWORD *)((char *)&a1->m_alertProtocol + 1) = 0;
*(_OWORD *)&a1->m_button1 = 0;
a1->m_scrollingLayer = nullptr;
a1->m_controlConnected = -1;
*(_WORD *)&a1->m_containsBorder = 0;
a1->m_joystickConnected = -1;
a1->m_forcePrioRegistered = 0;
*(_OWORD *)&a1->m_shouldLimitValues.__tree_.__pair1_.__value_.__left_ = 0;
*(_OWORD *)&a1->m_gameObject = 0;
*(_WORD *)&a1->m_touchTriggered = 0;
*(_OWORD *)&a1->m_touchToggle = 0;
*(_OWORD *)((char *)&a1->m_spawnToggle + 1) = 0;
*(_QWORD *)&a1->m_width = 0;
a1->m_disableTextDelegate = 0;
*(_OWORD *)&a1->m_triggerValues = 0;
*(_OWORD *)&a1->m_easingType = 0;
*(_OWORD *)&a1->m_easingRateLabel = 0;
*(_OWORD *)&a1->m_disableButtons = 0;
*(_OWORD *)&a1->m_valueControls = 0;
*(_OWORD *)&a1->m_valueToggles = 0;
a1->m_maxSliderValues = nullptr;
a1->m_shouldLimitValues.__tree_.__begin_node_ = &a1->m_shouldLimitValues.__tree_.__pair1_.__value_;
*(_WORD *)&a1->m_disableSliderDelegate = 0;
a1->m_pageContainers = nullptr;
*(_QWORD *)&a1->m_page = 0x3F80000000000000LL;
*(_OWORD *)&a1->m_groupContainers = 0;
*(_OWORD *)&a1->m_customEasingLabels = 0;
*(_OWORD *)&a1->m_customEasingScales = 0;
*(_OWORD *)&a1->m_prevButton = 0;
a1->m_hideAll = 0;
a1->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (UIPOptionsLayer_vtbl *)off_100903038;
a1->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_100903608;
a1->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_100903678;
a1->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_100903690;
a1->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)off_1009036B0;
a1->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_1009036D0;
a1->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_1009036F8;
a1->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)off_100903778;
a1->SetupTriggerPopup::TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)off_100903798;
a1->SetupTriggerPopup::ConfigureValuePopupDelegate::__vftable = (ConfigureValuePopupDelegate_vtbl *)&off_1009037E0;
a1->SetupTriggerPopup::SliderDelegate::__vftable = (SliderDelegate_vtbl *)off_1009037F8;
a1->m_touchID = -1;
a1->m_practiceNode = nullptr;
sub_10028CC30(&a1->m_touchPosition);
sub_10028CC30(&a1->m_touchDelta);
return result;
}