{"type": "func", "start": 4297932656, "end": 4297932860, "name": "EditorOptionsLayer::create", "pseudocode": "// \n// EditorOptionsLayer::create from 0x1002d3f70 to 0x1002d403c (204 bytes)\n// \n// 1 xrefs:\n// > EditorPauseLayer::onOptions @ 0x10039e29c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nEditorOptionsLayer *__fastcall EditorOptionsLayer::create()\n{\n  EditorOptionsLayer *v0; // x19\n\n  v0 = (EditorOptionsLayer *)operator new(0x430u);\n  GJOptionsLayer::GJOptionsLayer(v0);\n  v0->GJOptionsLayer::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (EditorOptionsLayer_vtbl *)&off_1007DEC20;\n  v0->GJOptionsLayer::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_1007DF208;\n  v0->GJOptionsLayer::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_1007DF278;\n  v0->GJOptionsLayer::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_1007DF290;\n  v0->GJOptionsLayer::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)off_1007DF2B0;\n  v0->GJOptionsLayer::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_1007DF2D0;\n  v0->GJOptionsLayer::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_1007DF2F8;\n  v0->GJOptionsLayer::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)off_1007DF378;\n  v0->GJOptionsLayer::SetupTriggerPopup::TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)off_1007DF398;\n  v0->GJOptionsLayer::SetupTriggerPopup::ConfigureValuePopupDelegate::__vftable = (ConfigureValuePopupDelegate_vtbl *)&off_1007DF3E0;\n  v0->GJOptionsLayer::SetupTriggerPopup::SliderDelegate::__vftable = (SliderDelegate_vtbl *)off_1007DF3F8;\n  *(_QWORD *)&v0->m_buttonsPerRow = 0;\n  v0->m_gap = 36.0;\n  v0->m_maxLabelScale = 0.4;\n  if ( GJOptionsLayer::init(v0, 1) )\n  {\n    cocos2d::CCObject::autorelease(v0);\n  }\n  else\n  {\n    ((void (__fastcall *)(EditorOptionsLayer *))v0->~EditorOptionsLayer_0)(v0);\n    return nullptr;\n  }\n  return v0;\n}", "assembly": "; \n; EditorOptionsLayer::create from 0x1002d3f70 to 0x1002d403c (204 bytes)\n; \n; 1 xrefs:\n; > EditorPauseLayer::onOptions @ 0x10039e29c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1002d3f70\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1002d3f74\nADD             X29, SP, #0x10                                         ; +0x8, 0x1002d3f78\nMOV             W0, #0x430; __sz                                       ; +0xc, 0x1002d3f7c\nBL              __Znwm; operator new(ulong)                            ; +0x10, 0x1002d3f80\nMOV             X19, X0                                                ; +0x14, 0x1002d3f84\nBL              GJOptionsLayer__GJOptionsLayer                         ; +0x18, 0x1002d3f88\nADRL            X8, off_1007DEC20                                      ; +0x1c, 0x1002d3f8c\nSTR             X8, [X19]                                              ; +0x24, 0x1002d3f94\nADD             X9, X8, #(off_1007DF208 - 0x1007DEC20)                 ; +0x28, 0x1002d3f98\nADD             X10, X8, #(off_1007DF278 - 0x1007DEC20)                ; +0x2c, 0x1002d3f9c\nSTP             X9, X10, [X19,#0x140]                                  ; +0x30, 0x1002d3fa0\nADD             X9, X8, #(off_1007DF290 - 0x1007DEC20)                 ; +0x34, 0x1002d3fa4\nADD             X10, X8, #(off_1007DF2B0 - 0x1007DEC20)                ; +0x38, 0x1002d3fa8\nSTP             X9, X10, [X19,#0x150]                                  ; +0x3c, 0x1002d3fac\nADD             X9, X8, #(off_1007DF2D0 - 0x1007DEC20)                 ; +0x40, 0x1002d3fb0\nSTR             X9, [X19,#0x160]                                       ; +0x44, 0x1002d3fb4\nADD             X9, X8, #(off_1007DF2F8 - 0x1007DEC20)                 ; +0x48, 0x1002d3fb8\nSTR             X9, [X19,#0x198]                                       ; +0x4c, 0x1002d3fbc\nADD             X9, X8, #(off_1007DF378 - 0x1007DEC20)                 ; +0x50, 0x1002d3fc0\nSTR             X9, [X19,#0x1B0]                                       ; +0x54, 0x1002d3fc4\nADD             X9, X8, #(off_1007DF398 - 0x1007DEC20)                 ; +0x58, 0x1002d3fc8\nSTR             X9, [X19,#0x278]                                       ; +0x5c, 0x1002d3fcc\nADD             X9, X8, #(off_1007DF3E0 - 0x1007DEC20)                 ; +0x60, 0x1002d3fd0\nSTR             X9, [X19,#0x280]                                       ; +0x64, 0x1002d3fd4\nADD             X8, X8, #(off_1007DF3F8 - 0x1007DEC20)                 ; +0x68, 0x1002d3fd8\nSTR             X8, [X19,#0x288]                                       ; +0x6c, 0x1002d3fdc\nMOVI            V0.16B, #0                                             ; +0x70, 0x1002d3fe0\nSTR             D0, [X19,#0x418]                                       ; +0x74, 0x1002d3fe4\nMOV             W8, #0x42100000                                        ; +0x78, 0x1002d3fe8\nSTR             W8, [X19,#0x3AC]                                       ; +0x7c, 0x1002d3fec\nMOV             W8, #0x3ECCCCCD                                        ; +0x80, 0x1002d3ff0\nSTR             W8, [X19,#0x3C0]                                       ; +0x88, 0x1002d3ff8\nMOV             X0, X19                                                ; +0x8c, 0x1002d3ffc\nMOV             W1, #1                                                 ; +0x90, 0x1002d4000\nBL              GJOptionsLayer__init                                   ; +0x94, 0x1002d4004\nCBZ             W0, loc_1002D4018                                      ; +0x98, 0x1002d4008\nMOV             X0, X19                                                ; +0x9c, 0x1002d400c\nBL              cocos2d__CCObject__autorelease                         ; +0xa0, 0x1002d4010\nB               loc_1002D402C                                          ; +0xa4, 0x1002d4014\nLDR             X8, [X19]                                              ; +0xa8, 0x1002d4018\nLDR             X8, [X8,#0x10]                                         ; +0xac, 0x1002d401c\nMOV             X0, X19                                                ; +0xb0, 0x1002d4020\nBLR             X8                                                     ; +0xb4, 0x1002d4024\nMOV             X19, #0                                                ; +0xb8, 0x1002d4028\nMOV             X0, X19                                                ; +0xbc, 0x1002d402c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0xc0, 0x1002d4030\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0xc4, 0x1002d4034\nRET                                                                    ; +0xc8, 0x1002d4038", "xrefs": ["EditorPauseLayer::onOptions @ 0x10039e29c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}