//
// EditorPauseLayer::onOptions from 0x1400dc8c0 to 0x1400dca05 (325 bytes)
//
// 2 xrefs:
// > EditorPauseLayer::customSetup @ 0x1400dc80c
// > ??> @ 0x1406c88f8
//
// 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
void EditorPauseLayer::onOptions(EditorPauseLayer *a1, cocos2d::CCObject *a2)
{
GJOptionsLayer *v2; // rbx
__int64 (__fastcall *show)(__int64); // rdx
v2 = (GJOptionsLayer *)operator new(0x408u);
GJOptionsLayer::GJOptionsLayer(v2);
v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJOptionsLayer_vtbl *)&EditorOptionsLayer::`vftable';
v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&EditorOptionsLayer::`vftable';
v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&EditorOptionsLayer::`vftable';
v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&EditorOptionsLayer::`vftable';
v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&EditorOptionsLayer::`vftable';
v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&EditorOptionsLayer::`vftable';
v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&EditorOptionsLayer::`vftable';
v2->SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&EditorOptionsLayer::`vftable';
v2->SetupTriggerPopup::TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&EditorOptionsLayer::`vftable';
v2->SetupTriggerPopup::ConfigureValuePopupDelegate::__vftable = (ConfigureValuePopupDelegate_vtbl *)&EditorOptionsLayer::`vftable';
v2->SetupTriggerPopup::SliderDelegate::__vftable = (SliderDelegate_vtbl *)&EditorOptionsLayer::`vftable';
v2[1].SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = nullptr;
v2->m_gap = 36.0;
v2->m_maxLabelScale = 0.40000001;
if ( GJOptionsLayer::init(v2, 1) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
((void (__fastcall *)(GJOptionsLayer *, __int64))v2->~GJOptionsLayer)(v2, 1);
v2 = nullptr;
}
show = (__int64 (__fastcall *)(__int64))v2->show;
if ( show == CollisionBlockPopup::show )
CollisionBlockPopup::show((__int64)v2);
else
show((__int64)v2);
}