// // GameLevelOptionsLayer::create from 0x1402a0a80 to 0x1402a0bd8 (344 bytes) // // 3 xrefs: // > EditLevelLayer::onLevelOptions @ 0x1400d6a0b // > LevelInfoLayer::onLevelOptions @ 0x1402fee87 // > @ 0x1406d1f70 // // 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 GameLevelOptionsLayer *GameLevelOptionsLayer::create(GJGameLevel *a1) { GameLevelOptionsLayer *v2; // rbx v2 = (GameLevelOptionsLayer *)operator new(0x3F8u); GJOptionsLayer::GJOptionsLayer(v2); v2->GJOptionsLayer::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GameLevelOptionsLayer_vtbl *)&GameLevelOptionsLayer::`vftable'; v2->GJOptionsLayer::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)&GameLevelOptionsLayer::`vftable'; v2->GJOptionsLayer::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&GameLevelOptionsLayer::`vftable'; v2->GJOptionsLayer::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)&GameLevelOptionsLayer::`vftable'; v2->GJOptionsLayer::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&GameLevelOptionsLayer::`vftable'; v2->GJOptionsLayer::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)&GameLevelOptionsLayer::`vftable'; v2->GJOptionsLayer::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)&GameLevelOptionsLayer::`vftable'; v2->GJOptionsLayer::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)&GameLevelOptionsLayer::`vftable'; v2->GJOptionsLayer::SetupTriggerPopup::TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)&GameLevelOptionsLayer::`vftable'; v2->GJOptionsLayer::SetupTriggerPopup::ConfigureValuePopupDelegate::__vftable = (ConfigureValuePopupDelegate_vtbl *)&GameLevelOptionsLayer::`vftable'; v2->GJOptionsLayer::SetupTriggerPopup::SliderDelegate::__vftable = (SliderDelegate_vtbl *)&GameLevelOptionsLayer::`vftable'; v2->m_level = nullptr; v2->m_gap = 40.0; v2->m_maxLabelScale = 0.40000001; if ( a1 ) { v2->m_level = a1; cocos2d::CCObject::retain(a1); } if ( GJOptionsLayer::init(v2, 2) ) { v2->m_disableTextDelegate = 1; v2->determineStartValues(v2); v2->updateDefaultTriggerValues(v2); v2->m_disableTextDelegate = 0; cocos2d::CCObject::autorelease(v2); return v2; } else { ((void (__fastcall *)(GameLevelOptionsLayer *, __int64))v2->~GameLevelOptionsLayer)(v2, 1); return nullptr; } }