{"type": "func", "start": 5369383584, "end": 5369383657, "name": "ClearPlatformerSavesOptionsPopup::onBackupToggle", "pseudocode": "// \n// ClearPlatformerSavesOptionsPopup::onBackupToggle from 0x1400a4aa0 to 0x1400a4ae9 (73 bytes)\n// \n// 3 xrefs:\n// > ClearPlatformerSavesOptionsPopup::init @ 0x1400a49fb\n// > <???> @ 0x14091316c\n// > <???> @ 0x140913178\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:26:07 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 __fastcall ClearPlatformerSavesOptionsPopup::onBackupToggle(__int64 a1)\n{\n  void *v2; // [rsp+40h] [rbp+18h]\n\n  if ( !qword_14090BFD0 )\n  {\n    v2 = operator new(0x6E8u);\n    qword_14090BFD0 = GameManager::GameManager(v2);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n  }\n  return GameManager::toggleGameVariable(a1, \"0237\");\n}", "assembly": "; \n; ClearPlatformerSavesOptionsPopup::onBackupToggle from 0x1400a4aa0 to 0x1400a4ae9 (73 bytes)\n; \n; 3 xrefs:\n; > ClearPlatformerSavesOptionsPopup::init @ 0x1400a49fb\n; > <???> @ 0x14091316c\n; > <???> @ 0x140913178\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:26:07 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x1400a4aa0\ncmp     cs:qword_14090BFD0, 0                                          ; +0x4, 0x1400a4aa4\njnz     short loc_1400A4AD9                                            ; +0xc, 0x1400a4aac\nmov     ecx, 6E8h; Size                                                ; +0xe, 0x1400a4aae\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x13, 0x1400a4ab3\nmov     [rsp+28h+arg_10], rax                                          ; +0x18, 0x1400a4ab8\nmov     rcx, rax                                                       ; +0x1d, 0x1400a4abd\ncall    GameManager__GameManager                                       ; +0x20, 0x1400a4ac0\nnop                                                                    ; +0x25, 0x1400a4ac5\nmov     cs:qword_14090BFD0, rax                                        ; +0x26, 0x1400a4ac6\nmov     rcx, [rax]                                                     ; +0x2d, 0x1400a4acd\nmov     rdx, [rcx+48h]                                                 ; +0x30, 0x1400a4ad0\nmov     rcx, rax                                                       ; +0x34, 0x1400a4ad4\ncall    rdx                                                            ; +0x37, 0x1400a4ad7\nlea     rdx, a0237; \"0237\"                                             ; +0x39, 0x1400a4ad9\nadd     rsp, 28h                                                       ; +0x40, 0x1400a4ae0\njmp     GameManager__toggleGameVariable                                ; +0x44, 0x1400a4ae4", "xrefs": ["ClearPlatformerSavesOptionsPopup::init @ 0x1400a49fb", "<???> @ 0x14091316c", "<???> @ 0x140913178"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}