{"type": "func", "start": 5373099888, "end": 5373099944, "name": "LevelListLayer::onToggleEditMode", "pseudocode": "// \n// LevelListLayer::onToggleEditMode from 0x14042ff70 to 0x14042ffa8 (56 bytes)\n// \n// 1 xrefs:\n// > LevelListLayer::init @ 0x14042c885\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:32:15 +0000\n// \n\nvoid __fastcall LevelListLayer::onToggleEditMode(__int64 a1)\n{\n  int v1; // eax\n  __int64 v2; // rcx\n  __int64 v3; // rcx\n\n  v1 = ++*(_DWORD *)(a1 + 984);\n  if ( v1 > 2 )\n  {\n    v1 = 0;\n    *(_DWORD *)(a1 + 984) = 0;\n  }\n  v2 = *(_QWORD *)(a1 + 608);\n  if ( v2 )\n  {\n    v3 = *(_QWORD *)(v2 + 544);\n    *(_DWORD *)(v3 + 464) = v1;\n    CustomListView::reloadAll(v3);\n  }\n}", "assembly": "; \n; LevelListLayer::onToggleEditMode from 0x14042ff70 to 0x14042ffa8 (56 bytes)\n; \n; 1 xrefs:\n; > LevelListLayer::init @ 0x14042c885\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:32:15 +0000\n; \ninc     dword ptr [rcx+3D8h]                                           ; +0x0, 0x14042ff70\nmov     eax, [rcx+3D8h]                                                ; +0x6, 0x14042ff76\ncmp     eax, 2                                                         ; +0xc, 0x14042ff7c\njle     short loc_14042FF89                                            ; +0xf, 0x14042ff7f\nxor     eax, eax                                                       ; +0x11, 0x14042ff81\nmov     [rcx+3D8h], eax                                                ; +0x13, 0x14042ff83\nmov     rcx, [rcx+260h]                                                ; +0x19, 0x14042ff89\ntest    rcx, rcx                                                       ; +0x20, 0x14042ff90\njz      short locret_14042FFA7                                         ; +0x23, 0x14042ff93\nmov     rcx, [rcx+220h]                                                ; +0x25, 0x14042ff95\nmov     [rcx+1D0h], eax                                                ; +0x2c, 0x14042ff9c\njmp     CustomListView__reloadAll                                      ; +0x32, 0x14042ffa2\nretn                                                                   ; +0x37, 0x14042ffa7", "xrefs": ["LevelListLayer::init @ 0x14042c885"], "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"}