{"type": "func", "start": 4297795056, "end": 4297795102, "name": "GameLevelOptionsLayer::didToggle", "pseudocode": "// \n// GameLevelOptionsLayer::didToggle from 0x1002b25f0 to 0x1002b261e (46 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008fcd18\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::didToggle(GameLevelOptionsLayer *a1, int a2)\n{\n  if ( a2 == 2 )\n  {\n    a1->m_level->m_disableShakeToggled ^= 1u;\n  }\n  else if ( a2 == 1 )\n  {\n    a1->m_level->m_lowDetailModeToggled ^= 1u;\n  }\n}", "assembly": "; \n; GameLevelOptionsLayer::didToggle from 0x1002b25f0 to 0x1002b261e (46 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008fcd18\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, 0x1002b25f0\nmov     rbp, rsp                                                       ; +0x1, 0x1002b25f1\ncmp     esi, 2                                                         ; +0x4, 0x1002b25f4\njz      short loc_1002B260E                                            ; +0x7, 0x1002b25f7\ncmp     esi, 1                                                         ; +0x9, 0x1002b25f9\njnz     short loc_1002B261C                                            ; +0xc, 0x1002b25fc\nmov     rax, [rdi+3F0h]                                                ; +0xe, 0x1002b25fe\nxor     byte ptr [rax+28Dh], 1                                         ; +0x15, 0x1002b2605\npop     rbp                                                            ; +0x1c, 0x1002b260c\nretn                                                                   ; +0x1d, 0x1002b260d\nmov     rax, [rdi+3F0h]                                                ; +0x1e, 0x1002b260e\nxor     byte ptr [rax+28Eh], 1                                         ; +0x25, 0x1002b2615\npop     rbp                                                            ; +0x2c, 0x1002b261c\nretn                                                                   ; +0x2d, 0x1002b261d", "xrefs": ["<???> @ 0x1008fcd18"], "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"}