{"type": "func", "start": 4297794944, "end": 4297795042, "name": "GameLevelOptionsLayer::setupOptions", "pseudocode": "// \n// GameLevelOptionsLayer::setupOptions from 0x1002b2580 to 0x1002b25e2 (98 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008fcd08\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\nvoid __fastcall GameLevelOptionsLayer::setupOptions(GameLevelOptionsLayer *a1)\n{\n  GJGameLevel *m_level; // rax\n\n  m_level = a1->m_level;\n  if ( m_level )\n  {\n    GJOptionsLayer::addToggleInternal(a1, \"Low Detail Mode\", 1, m_level->m_lowDetailModeToggled, \"\");\n    GJOptionsLayer::addToggleInternal(a1, \"Disable Shake\", 2, a1->m_level->m_disableShakeToggled, \"\");\n  }\n}", "assembly": "; \n; GameLevelOptionsLayer::setupOptions from 0x1002b2580 to 0x1002b25e2 (98 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008fcd08\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\nmov     rax, [rdi+3F0h]                                                ; +0x0, 0x1002b2580\ntest    rax, rax                                                       ; +0x7, 0x1002b2587\njz      short locret_1002B25E1                                         ; +0xa, 0x1002b258a\npush    rbp                                                            ; +0xc, 0x1002b258c\nmov     rbp, rsp                                                       ; +0xd, 0x1002b258d\npush    r14                                                            ; +0x10, 0x1002b2590\npush    rbx                                                            ; +0x12, 0x1002b2592\nmovzx   ecx, byte ptr [rax+28Dh]                                       ; +0x13, 0x1002b2593\nlea     rsi, aLowDetailMode; \"Low Detail Mode\"                         ; +0x1a, 0x1002b259a\nlea     rbx, __src; \"\"                                                 ; +0x21, 0x1002b25a1\nmov     r14, rdi                                                       ; +0x28, 0x1002b25a8\nmov     edx, 1                                                         ; +0x2b, 0x1002b25ab\nmov     r8, rbx                                                        ; +0x30, 0x1002b25b0\ncall    GJOptionsLayer__addToggleInternal                              ; +0x33, 0x1002b25b3\nmov     rax, [r14+3F0h]                                                ; +0x38, 0x1002b25b8\nmovzx   ecx, byte ptr [rax+28Eh]                                       ; +0x3f, 0x1002b25bf\nlea     rsi, aDisableShake; \"Disable Shake\"                            ; +0x46, 0x1002b25c6\nmov     rdi, r14; char                                                 ; +0x4d, 0x1002b25cd\nmov     edx, 2                                                         ; +0x50, 0x1002b25d0\nmov     r8, rbx                                                        ; +0x55, 0x1002b25d5\npop     rbx                                                            ; +0x58, 0x1002b25d8\npop     r14                                                            ; +0x59, 0x1002b25d9\npop     rbp                                                            ; +0x5b, 0x1002b25db\njmp     GJOptionsLayer__addToggleInternal                              ; +0x5c, 0x1002b25dc\nretn                                                                   ; +0x61, 0x1002b25e1", "xrefs": ["<???> @ 0x1008fcd08"], "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"}