{"type": "func", "start": 5371464800, "end": 5371464858, "name": "GameLevelOptionsLayer::didToggle", "pseudocode": "// \n// GameLevelOptionsLayer::didToggle from 0x1402a0c60 to 0x1402a0c9a (58 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x14057b338\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::didToggle(GameLevelOptionsLayer *a1, int a2)\n{\n  int v2; // edx\n\n  v2 = a2 - 1;\n  if ( v2 )\n  {\n    if ( v2 == 1 )\n      a1->m_level->m_disableShakeToggled = !a1->m_level->m_disableShakeToggled;\n  }\n  else\n  {\n    a1->m_level->m_lowDetailModeToggled = !a1->m_level->m_lowDetailModeToggled;\n  }\n}", "assembly": "; \n; GameLevelOptionsLayer::didToggle from 0x1402a0c60 to 0x1402a0c9a (58 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x14057b338\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\nsub     edx, 1                                                         ; +0x0, 0x1402a0c60\njz      short loc_1402A0C82                                            ; +0x3, 0x1402a0c63\ncmp     edx, 1                                                         ; +0x5, 0x1402a0c65\njnz     short locret_1402A0C99                                         ; +0x8, 0x1402a0c68\nmov     rcx, [rcx+3F0h]                                                ; +0xa, 0x1402a0c6a\ncmp     byte ptr [rcx+2D6h], 0                                         ; +0x11, 0x1402a0c71\nsetz    al                                                             ; +0x18, 0x1402a0c78\nmov     [rcx+2D6h], al                                                 ; +0x1b, 0x1402a0c7b\nretn                                                                   ; +0x21, 0x1402a0c81\nmov     rcx, [rcx+3F0h]                                                ; +0x22, 0x1402a0c82\ncmp     byte ptr [rcx+2D5h], 0                                         ; +0x29, 0x1402a0c89\nsetz    al                                                             ; +0x30, 0x1402a0c90\nmov     [rcx+2D5h], al                                                 ; +0x33, 0x1402a0c93\nretn                                                                   ; +0x39, 0x1402a0c99", "xrefs": ["<???> @ 0x14057b338"], "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"}