{"type": "func", "start": 5373284768, "end": 5373284878, "name": "LevelOptionsLayer::init", "pseudocode": "// \n// LevelOptionsLayer::init from 0x14045d1a0 to 0x14045d20e (110 bytes)\n// \n// 3 xrefs:\n// > LevelSettingsLayer::onSettings @ 0x14045a266\n// > LevelOptionsLayer::onSettings @ 0x14045d7ad\n// > <???> @ 0x140927d7c\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:32:32 +0000\n// \n\nchar __fastcall LevelOptionsLayer::init(__int64 a1, __int64 a2, __int64 a3, int a4)\n{\n  char result; // al\n  __int64 v6; // rax\n\n  *(_QWORD *)(a1 + 1136) = a2;\n  *(_DWORD *)(a1 + 1000) = 1109393408;\n  *(_DWORD *)(a1 + 1020) = 1053609165;\n  result = GJOptionsLayer::init(a1, 1, 280.0, a4);\n  if ( result )\n  {\n    v6 = *(_QWORD *)a1;\n    *(_BYTE *)(a1 + 744) = 1;\n    (*(void (__fastcall **)(__int64))(v6 + 1096))(a1);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 1136LL))(a1);\n    *(_BYTE *)(a1 + 744) = 0;\n    return 1;\n  }\n  return result;\n}", "assembly": "; \n; LevelOptionsLayer::init from 0x14045d1a0 to 0x14045d20e (110 bytes)\n; \n; 3 xrefs:\n; > LevelSettingsLayer::onSettings @ 0x14045a266\n; > LevelOptionsLayer::onSettings @ 0x14045d7ad\n; > <???> @ 0x140927d7c\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:32:32 +0000\n; \npush    rbx                                                            ; +0x0, 0x14045d1a0\nsub     rsp, 20h                                                       ; +0x2, 0x14045d1a2\nmovss   xmm2, cs:dword_140835988                                       ; +0x6, 0x14045d1a6\nmov     rbx, rcx                                                       ; +0xe, 0x14045d1ae\nmov     [rcx+470h], rdx                                                ; +0x11, 0x14045d1b1\nmov     edx, 1                                                         ; +0x18, 0x14045d1b8\nmov     dword ptr [rcx+3E8h], 42200000h                                ; +0x1d, 0x14045d1bd\nmov     dword ptr [rcx+3FCh], 3ECCCCCDh                                ; +0x27, 0x14045d1c7\ncall    GJOptionsLayer__init                                           ; +0x31, 0x14045d1d1\ntest    al, al                                                         ; +0x36, 0x14045d1d6\njnz     short loc_14045D1E0                                            ; +0x38, 0x14045d1d8\nadd     rsp, 20h                                                       ; +0x3a, 0x14045d1da\npop     rbx                                                            ; +0x3e, 0x14045d1de\nretn                                                                   ; +0x3f, 0x14045d1df\nmov     rax, [rbx]                                                     ; +0x40, 0x14045d1e0\nmov     rcx, rbx                                                       ; +0x43, 0x14045d1e3\nmov     byte ptr [rbx+2E8h], 1                                         ; +0x46, 0x14045d1e6\ncall    qword ptr [rax+448h]                                           ; +0x4d, 0x14045d1ed\nmov     rax, [rbx]                                                     ; +0x53, 0x14045d1f3\nmov     rcx, rbx                                                       ; +0x56, 0x14045d1f6\ncall    qword ptr [rax+470h]                                           ; +0x59, 0x14045d1f9\nmov     al, 1                                                          ; +0x5f, 0x14045d1ff\nmov     byte ptr [rbx+2E8h], 0                                         ; +0x61, 0x14045d201\nadd     rsp, 20h                                                       ; +0x68, 0x14045d208\npop     rbx                                                            ; +0x6c, 0x14045d20c\nretn                                                                   ; +0x6d, 0x14045d20d", "xrefs": ["LevelSettingsLayer::onSettings @ 0x14045a266", "LevelOptionsLayer::onSettings @ 0x14045d7ad", "<???> @ 0x140927d7c"], "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"}