{"type": "func", "start": 5371464672, "end": 5371464788, "name": "GameLevelOptionsLayer::setupOptions", "pseudocode": "// \n// GameLevelOptionsLayer::setupOptions from 0x1402a0be0 to 0x1402a0c54 (116 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x14057b328\n// > <???> @ 0x14068a484\n// > <???> @ 0x14068a494\n// > <???> @ 0x1406d1f7c\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 GameLevelOptionsLayer::setupOptions(GameLevelOptionsLayer *a1)\n{\n  GJGameLevel *m_level; // r9\n\n  m_level = a1->m_level;\n  if ( m_level )\n  {\n    GJOptionsLayer::addToggleInternal(a1, \"Low Detail Mode\", 1, m_level->m_lowDetailModeToggled, byte_140518980);\n    GJOptionsLayer::addToggleInternal(a1, \"Disable Shake\", 2, a1->m_level->m_disableShakeToggled, byte_140518980);\n  }\n}", "assembly": "; \n; GameLevelOptionsLayer::setupOptions from 0x1402a0be0 to 0x1402a0c54 (116 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x14057b328\n; > <???> @ 0x14068a484\n; > <???> @ 0x14068a494\n; > <???> @ 0x1406d1f7c\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    rbx                                                            ; +0x0, 0x1402a0be0\nsub     rsp, 30h                                                       ; +0x2, 0x1402a0be2\nmov     r9, [rcx+3F0h]                                                 ; +0x6, 0x1402a0be6\nmov     rbx, rcx                                                       ; +0xd, 0x1402a0bed\ntest    r9, r9                                                         ; +0x10, 0x1402a0bf0\njz      short loc_1402A0C4E                                            ; +0x13, 0x1402a0bf3\nmovzx   r9d, byte ptr [r9+2D5h]                                        ; +0x15, 0x1402a0bf5\nlea     rdx, aLowDetailMode; \"Low Detail Mode\"                         ; +0x1d, 0x1402a0bfd\nmov     [rsp+38h+arg_0], rdi                                           ; +0x24, 0x1402a0c04\nmov     r8d, 1                                                         ; +0x29, 0x1402a0c09\nlea     rdi, byte_140518980                                            ; +0x2f, 0x1402a0c0f\nmov     [rsp+38h+var_18], rdi                                          ; +0x36, 0x1402a0c16\ncall    GJOptionsLayer__addToggleInternal                              ; +0x3b, 0x1402a0c1b\nmov     r9, [rbx+3F0h]                                                 ; +0x40, 0x1402a0c20\nlea     rdx, aDisableShake; \"Disable Shake\"                            ; +0x47, 0x1402a0c27\nmov     r8d, 2                                                         ; +0x4e, 0x1402a0c2e\nmov     [rsp+38h+var_18], rdi                                          ; +0x54, 0x1402a0c34\nmov     rcx, rbx                                                       ; +0x59, 0x1402a0c39\nmovzx   r9d, byte ptr [r9+2D6h]                                        ; +0x5c, 0x1402a0c3c\ncall    GJOptionsLayer__addToggleInternal                              ; +0x64, 0x1402a0c44\nmov     rdi, [rsp+38h+arg_0]                                           ; +0x69, 0x1402a0c49\nadd     rsp, 30h                                                       ; +0x6e, 0x1402a0c4e\npop     rbx                                                            ; +0x72, 0x1402a0c52\nretn                                                                   ; +0x73, 0x1402a0c53", "xrefs": ["<???> @ 0x14057b328", "<???> @ 0x14068a484", "<???> @ 0x14068a494", "<???> @ 0x1406d1f7c"], "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"}