{"type": "func", "start": 5370282160, "end": 5370282518, "name": "GJOptionsLayer::GJOptionsLayer", "pseudocode": "// \n// GJOptionsLayer::GJOptionsLayer from 0x1401800b0 to 0x140180216 (358 bytes)\n// \n// 5 xrefs:\n// > FindObjectPopup::onOptions @ 0x140180afb\n// > GameLevelOptionsLayer::create @ 0x1403aa2d5\n// > LevelOptionsLayer::LevelOptionsLayer @ 0x140457909\n// > SFXBrowser::onSettings @ 0x14061f582\n// > <???> @ 0x140918b48\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:27:36 +0000\n// \n\n// Hidden C++ exception states: #wind=3\n__int64 __fastcall GJOptionsLayer::GJOptionsLayer(__int64 a1)\n{\n  _QWORD *v2; // rax\n\n  SetupTriggerPopup::SetupTriggerPopup(a1);\n  *(_QWORD *)a1 = &GJOptionsLayer::`vftable';\n  *(_QWORD *)(a1 + 320) = &GJOptionsLayer::`vftable';\n  *(_QWORD *)(a1 + 328) = &GJOptionsLayer::`vftable';\n  *(_QWORD *)(a1 + 336) = &GJOptionsLayer::`vftable';\n  *(_QWORD *)(a1 + 344) = &GJOptionsLayer::`vftable';\n  *(_QWORD *)(a1 + 352) = &GJOptionsLayer::`vftable';\n  *(_QWORD *)(a1 + 408) = &GJOptionsLayer::`vftable';\n  *(_QWORD *)(a1 + 432) = &GJOptionsLayer::`vftable';\n  *(_QWORD *)(a1 + 544) = &GJOptionsLayer::`vftable';\n  *(_QWORD *)(a1 + 664) = &GJOptionsLayer::`vftable';\n  *(_QWORD *)(a1 + 672) = &GJOptionsLayer::`vftable';\n  *(_DWORD *)(a1 + 1000) = 1111490560;\n  *(_DWORD *)(a1 + 1004) = -1;\n  *(_QWORD *)(a1 + 1008) = 10;\n  *(_DWORD *)(a1 + 1016) = 0;\n  *(_DWORD *)(a1 + 1020) = 1056964608;\n  *(_DWORD *)(a1 + 1024) = 1124204544;\n  *(_DWORD *)(a1 + 1064) = 0;\n  *(_DWORD *)(a1 + 1072) = 0;\n  *(_QWORD *)(a1 + 1080) = 0;\n  *(_QWORD *)(a1 + 1088) = 0;\n  v2 = operator new(0x20u);\n  *v2 = v2;\n  v2[1] = v2;\n  *(_QWORD *)(a1 + 1080) = v2;\n  *(_QWORD *)(a1 + 1096) = 0;\n  *(_QWORD *)(a1 + 1104) = 0;\n  *(_QWORD *)(a1 + 1112) = 0;\n  *(_QWORD *)(a1 + 1120) = 7;\n  *(_QWORD *)(a1 + 1128) = 8;\n  *(_DWORD *)(a1 + 1072) = 1065353216;\n  sub_14003F200(a1 + 1096, 0x10u, *(_QWORD *)(a1 + 1080));\n  return a1;\n}", "assembly": "; \n; GJOptionsLayer::GJOptionsLayer from 0x1401800b0 to 0x140180216 (358 bytes)\n; \n; 5 xrefs:\n; > FindObjectPopup::onOptions @ 0x140180afb\n; > GameLevelOptionsLayer::create @ 0x1403aa2d5\n; > LevelOptionsLayer::LevelOptionsLayer @ 0x140457909\n; > SFXBrowser::onSettings @ 0x14061f582\n; > <???> @ 0x140918b48\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:27:36 +0000\n; \nmov     [rsp+arg_10], rbx                                              ; +0x0, 0x1401800b0\nmov     [rsp+arg_18], rsi                                              ; +0x5, 0x1401800b5\nmov     [rsp+arg_0], rcx                                               ; +0xa, 0x1401800ba\npush    rdi                                                            ; +0xf, 0x1401800bf\nsub     rsp, 20h                                                       ; +0x10, 0x1401800c0\nmov     rdi, rcx                                                       ; +0x14, 0x1401800c4\ncall    SetupTriggerPopup__SetupTriggerPopup                           ; +0x17, 0x1401800c7\nnop                                                                    ; +0x1c, 0x1401800cc\nlea     rax, ??_7GJOptionsLayer@@6B@; const GJOptionsLayer::`vftable'  ; +0x1d, 0x1401800cd\nmov     [rdi], rax                                                     ; +0x24, 0x1401800d4\nlea     rax, ??_7GJOptionsLayer@@6B@_0; const GJOptionsLayer::`vftable' ; +0x27, 0x1401800d7\nmov     [rdi+140h], rax                                                ; +0x2e, 0x1401800de\nlea     rax, ??_7GJOptionsLayer@@6B@_1; const GJOptionsLayer::`vftable' ; +0x35, 0x1401800e5\nmov     [rdi+148h], rax                                                ; +0x3c, 0x1401800ec\nlea     rax, ??_7GJOptionsLayer@@6B@_2; const GJOptionsLayer::`vftable' ; +0x43, 0x1401800f3\nmov     [rdi+150h], rax                                                ; +0x4a, 0x1401800fa\nlea     rax, ??_7GJOptionsLayer@@6B@_3; const GJOptionsLayer::`vftable' ; +0x51, 0x140180101\nmov     [rdi+158h], rax                                                ; +0x58, 0x140180108\nlea     rax, ??_7GJOptionsLayer@@6B@_4; const GJOptionsLayer::`vftable' ; +0x5f, 0x14018010f\nmov     [rdi+160h], rax                                                ; +0x66, 0x140180116\nlea     rax, ??_7GJOptionsLayer@@6B@_5; const GJOptionsLayer::`vftable' ; +0x6d, 0x14018011d\nmov     [rdi+198h], rax                                                ; +0x74, 0x140180124\nlea     rax, ??_7GJOptionsLayer@@6B@_6; const GJOptionsLayer::`vftable' ; +0x7b, 0x14018012b\nmov     [rdi+1B0h], rax                                                ; +0x82, 0x140180132\nlea     rax, ??_7GJOptionsLayer@@6B@_7; const GJOptionsLayer::`vftable' ; +0x89, 0x140180139\nmov     [rdi+220h], rax                                                ; +0x90, 0x140180140\nlea     rax, ??_7GJOptionsLayer@@6B@_8; const GJOptionsLayer::`vftable' ; +0x97, 0x140180147\nmov     [rdi+298h], rax                                                ; +0x9e, 0x14018014e\nlea     rax, ??_7GJOptionsLayer@@6B@_9; const GJOptionsLayer::`vftable' ; +0xa5, 0x140180155\nmov     [rdi+2A0h], rax                                                ; +0xac, 0x14018015c\nmov     dword ptr [rdi+3E8h], 42400000h                                ; +0xb3, 0x140180163\nmov     dword ptr [rdi+3ECh], 0FFFFFFFFh                               ; +0xbd, 0x14018016d\nmov     qword ptr [rdi+3F0h], 0Ah                                      ; +0xc7, 0x140180177\nxor     esi, esi                                                       ; +0xd2, 0x140180182\nmov     [rdi+3F8h], esi                                                ; +0xd4, 0x140180184\nmov     dword ptr [rdi+3FCh], 3F000000h                                ; +0xda, 0x14018018a\nmov     dword ptr [rdi+400h], 43020000h                                ; +0xe4, 0x140180194\nmov     [rdi+428h], esi                                                ; +0xee, 0x14018019e\nlea     rbx, [rdi+430h]                                                ; +0xf4, 0x1401801a4\nmov     [rsp+28h+arg_8], rbx                                           ; +0xfb, 0x1401801ab\nmov     [rbx], esi                                                     ; +0x100, 0x1401801b0\nmov     [rbx+8], rsi                                                   ; +0x102, 0x1401801b2\nmov     [rbx+10h], rsi                                                 ; +0x106, 0x1401801b6\nmov     ecx, 20h ; ' '; Size                                           ; +0x10a, 0x1401801ba\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x10f, 0x1401801bf\nmov     [rax], rax                                                     ; +0x114, 0x1401801c4\nmov     [rax+8], rax                                                   ; +0x117, 0x1401801c7\nmov     [rbx+8], rax                                                   ; +0x11b, 0x1401801cb\nlea     rcx, [rbx+18h]                                                 ; +0x11f, 0x1401801cf\nmov     [rcx], rsi                                                     ; +0x123, 0x1401801d3\nmov     [rcx+8], rsi                                                   ; +0x126, 0x1401801d6\nmov     [rcx+10h], rsi                                                 ; +0x12a, 0x1401801da\nmov     qword ptr [rbx+30h], 7                                         ; +0x12e, 0x1401801de\nmov     qword ptr [rbx+38h], 8                                         ; +0x136, 0x1401801e6\nmov     dword ptr [rbx], 3F800000h                                     ; +0x13e, 0x1401801ee\nmov     r8, [rbx+8]                                                    ; +0x144, 0x1401801f4\nmov     edx, 10h                                                       ; +0x148, 0x1401801f8\ncall    sub_14003F200                                                  ; +0x14d, 0x1401801fd\nnop                                                                    ; +0x152, 0x140180202\nmov     rax, rdi                                                       ; +0x153, 0x140180203\nmov     rbx, [rsp+28h+arg_10]                                          ; +0x156, 0x140180206\nmov     rsi, [rsp+28h+arg_18]                                          ; +0x15b, 0x14018020b\nadd     rsp, 20h                                                       ; +0x160, 0x140180210\npop     rdi                                                            ; +0x164, 0x140180214\nretn                                                                   ; +0x165, 0x140180215", "xrefs": ["FindObjectPopup::onOptions @ 0x140180afb", "GameLevelOptionsLayer::create @ 0x1403aa2d5", "LevelOptionsLayer::LevelOptionsLayer @ 0x140457909", "SFXBrowser::onSettings @ 0x14061f582", "<???> @ 0x140918b48"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}