{"type": "func", "start": 4297789616, "end": 4297789694, "name": "GameOptionsLayer::init", "pseudocode": "// \n// GameOptionsLayer::init from 0x1002b10b0 to 0x1002b10fe (78 bytes)\n// \n// 0 xrefs:\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\nbool __fastcall GameOptionsLayer::init(GameOptionsLayer *a1, GJBaseGameLayer *a2)\n{\n  bool result; // al\n  bool v3; // r14\n\n  a1->m_gap = 40.0;\n  a1->m_maxLabelScale = 0.40000001;\n  a1->m_baseGameLayer = a2;\n  result = GJOptionsLayer::init(a1, 2);\n  if ( result )\n  {\n    v3 = result;\n    SetupTriggerPopup::preSetup(a1);\n    SetupTriggerPopup::postSetup(a1);\n    return v3;\n  }\n  return result;\n}", "assembly": "; \n; GameOptionsLayer::init from 0x1002b10b0 to 0x1002b10fe (78 bytes)\n; \n; 0 xrefs:\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\npush    rbp                                                            ; +0x0, 0x1002b10b0\nmov     rbp, rsp                                                       ; +0x1, 0x1002b10b1\npush    r14                                                            ; +0x4, 0x1002b10b4\npush    rbx                                                            ; +0x6, 0x1002b10b6\nmov     rbx, rdi                                                       ; +0x7, 0x1002b10b7\nmov     dword ptr [rdi+3ACh], 42200000h                                ; +0xa, 0x1002b10ba\nmov     dword ptr [rdi+3C0h], 3ECCCCCDh                                ; +0x14, 0x1002b10c4\nmov     [rdi+3F0h], rsi                                                ; +0x1e, 0x1002b10ce\nmov     esi, 2                                                         ; +0x25, 0x1002b10d5\ncall    GJOptionsLayer__init                                           ; +0x2a, 0x1002b10da\ntest    al, al                                                         ; +0x2f, 0x1002b10df\njz      short loc_1002B10F9                                            ; +0x31, 0x1002b10e1\nmov     rdi, rbx                                                       ; +0x33, 0x1002b10e3\nmov     r14d, eax                                                      ; +0x36, 0x1002b10e6\ncall    SetupTriggerPopup__preSetup                                    ; +0x39, 0x1002b10e9\nmov     rdi, rbx                                                       ; +0x3e, 0x1002b10ee\ncall    SetupTriggerPopup__postSetup                                   ; +0x41, 0x1002b10f1\nmov     eax, r14d                                                      ; +0x46, 0x1002b10f6\npop     rbx                                                            ; +0x49, 0x1002b10f9\npop     r14                                                            ; +0x4a, 0x1002b10fa\npop     rbp                                                            ; +0x4c, 0x1002b10fc\nretn                                                                   ; +0x4d, 0x1002b10fd", "xrefs": [], "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"}