{"type": "func", "start": 4297991236, "end": 4297991420, "name": "GameLevelOptionsLayer::create", "pseudocode": "// \n// GameLevelOptionsLayer::create from 0x1002e2444 to 0x1002e24fc (184 bytes)\n// \n// 2 xrefs:\n// > LevelInfoLayer::onLevelOptions @ 0x10002913c\n// > EditLevelLayer::onLevelOptions @ 0x1000eb790\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\nGameLevelOptionsLayer *__fastcall GameLevelOptionsLayer::create(GJGameLevel *a1)\n{\n  GameLevelOptionsLayer *v2; // x19\n\n  v2 = (GameLevelOptionsLayer *)operator new(0x420u);\n  GJOptionsLayer::GJOptionsLayer(v2);\n  v2->GJOptionsLayer::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GameLevelOptionsLayer_vtbl *)off_1007DCD10;\n  v2->GJOptionsLayer::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_1007DD2F8;\n  v2->GJOptionsLayer::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_1007DD368;\n  v2->GJOptionsLayer::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_1007DD380;\n  v2->GJOptionsLayer::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)off_1007DD3A0;\n  v2->GJOptionsLayer::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_1007DD3C0;\n  v2->GJOptionsLayer::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_1007DD3E8;\n  v2->GJOptionsLayer::SetupTriggerPopup::FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCBlendProtocol_vtbl *)off_1007DD468;\n  v2->GJOptionsLayer::SetupTriggerPopup::TextInputDelegate::__vftable = (TextInputDelegate_vtbl *)off_1007DD488;\n  v2->GJOptionsLayer::SetupTriggerPopup::ConfigureValuePopupDelegate::__vftable = (ConfigureValuePopupDelegate_vtbl *)&off_1007DD4D0;\n  v2->GJOptionsLayer::SetupTriggerPopup::SliderDelegate::__vftable = (SliderDelegate_vtbl *)off_1007DD4E8;\n  v2->m_level = nullptr;\n  if ( GameLevelOptionsLayer::init(v2, a1) )\n  {\n    cocos2d::CCObject::autorelease(v2);\n  }\n  else\n  {\n    ((void (__fastcall *)(GameLevelOptionsLayer *))v2->~GameLevelOptionsLayer_0)(v2);\n    return nullptr;\n  }\n  return v2;\n}", "assembly": "; \n; GameLevelOptionsLayer::create from 0x1002e2444 to 0x1002e24fc (184 bytes)\n; \n; 2 xrefs:\n; > LevelInfoLayer::onLevelOptions @ 0x10002913c\n; > EditLevelLayer::onLevelOptions @ 0x1000eb790\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, 0x1002e2444\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1002e2448\nADD             X29, SP, #0x10                                         ; +0x8, 0x1002e244c\nMOV             X20, X0                                                ; +0xc, 0x1002e2450\nMOV             W0, #0x420; __sz                                       ; +0x10, 0x1002e2454\nBL              __Znwm; operator new(ulong)                            ; +0x14, 0x1002e2458\nMOV             X19, X0                                                ; +0x18, 0x1002e245c\nBL              GJOptionsLayer__GJOptionsLayer                         ; +0x1c, 0x1002e2460\nADRL            X8, off_1007DCD10                                      ; +0x20, 0x1002e2464\nSTR             X8, [X19]                                              ; +0x28, 0x1002e246c\nADD             X9, X8, #(off_1007DD2F8 - 0x1007DCD10)                 ; +0x2c, 0x1002e2470\nADD             X10, X8, #(off_1007DD368 - 0x1007DCD10)                ; +0x30, 0x1002e2474\nSTP             X9, X10, [X19,#0x140]                                  ; +0x34, 0x1002e2478\nADD             X9, X8, #(off_1007DD380 - 0x1007DCD10)                 ; +0x38, 0x1002e247c\nADD             X10, X8, #(off_1007DD3A0 - 0x1007DCD10)                ; +0x3c, 0x1002e2480\nSTP             X9, X10, [X19,#0x150]                                  ; +0x40, 0x1002e2484\nADD             X9, X8, #(off_1007DD3C0 - 0x1007DCD10)                 ; +0x44, 0x1002e2488\nSTR             X9, [X19,#0x160]                                       ; +0x48, 0x1002e248c\nADD             X9, X8, #(off_1007DD3E8 - 0x1007DCD10)                 ; +0x4c, 0x1002e2490\nSTR             X9, [X19,#0x198]                                       ; +0x50, 0x1002e2494\nADD             X9, X8, #(off_1007DD468 - 0x1007DCD10)                 ; +0x54, 0x1002e2498\nSTR             X9, [X19,#0x1B0]                                       ; +0x58, 0x1002e249c\nADD             X9, X8, #(off_1007DD488 - 0x1007DCD10)                 ; +0x5c, 0x1002e24a0\nSTR             X9, [X19,#0x278]                                       ; +0x60, 0x1002e24a4\nADD             X9, X8, #(off_1007DD4D0 - 0x1007DCD10)                 ; +0x64, 0x1002e24a8\nSTR             X9, [X19,#0x280]                                       ; +0x68, 0x1002e24ac\nADD             X8, X8, #(off_1007DD4E8 - 0x1007DCD10)                 ; +0x6c, 0x1002e24b0\nSTR             X8, [X19,#0x288]                                       ; +0x70, 0x1002e24b4\nSTR             XZR, [X19,#0x418]                                      ; +0x74, 0x1002e24b8\nMOV             X0, X19                                                ; +0x78, 0x1002e24bc\nMOV             X1, X20                                                ; +0x7c, 0x1002e24c0\nBL              GameLevelOptionsLayer__init                            ; +0x80, 0x1002e24c4\nCBZ             W0, loc_1002E24D8                                      ; +0x84, 0x1002e24c8\nMOV             X0, X19                                                ; +0x88, 0x1002e24cc\nBL              cocos2d__CCObject__autorelease                         ; +0x8c, 0x1002e24d0\nB               loc_1002E24EC                                          ; +0x90, 0x1002e24d4\nLDR             X8, [X19]                                              ; +0x94, 0x1002e24d8\nLDR             X8, [X8,#0x10]                                         ; +0x98, 0x1002e24dc\nMOV             X0, X19                                                ; +0x9c, 0x1002e24e0\nBLR             X8                                                     ; +0xa0, 0x1002e24e4\nMOV             X19, #0                                                ; +0xa4, 0x1002e24e8\nMOV             X0, X19                                                ; +0xa8, 0x1002e24ec\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0xac, 0x1002e24f0\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0xb0, 0x1002e24f4\nRET                                                                    ; +0xb4, 0x1002e24f8", "xrefs": ["LevelInfoLayer::onLevelOptions @ 0x10002913c", "EditLevelLayer::onLevelOptions @ 0x1000eb790"], "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"}