{"type": "func", "start": 4303820672, "end": 4303820783, "name": "FRequestProfilePage::untoggleAll", "pseudocode": "// \n// FRequestProfilePage::untoggleAll from 0x100871780 to 0x1008717ef (111 bytes)\n// \n// 0 xrefs:\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 12:36:51 +0000\n// \n\n_QWORD *__fastcall FRequestProfilePage::untoggleAll(__int64 a1)\n{\n  __int64 v1; // rax\n  const char *v2; // rbx\n  _QWORD *result; // rax\n  __int64 v4; // rcx\n  unsigned __int64 v5; // rcx\n\n  v1 = GameLevelManager::sharedState();\n  if ( (*(_BYTE *)(a1 + 712) & 1) != 0 )\n    v2 = *(const char **)(a1 + 728);\n  else\n    v2 = (const char *)(a1 + 713);\n  result = (_QWORD *)GameLevelManager::getStoredOnlineLevels(v1, v2);\n  if ( result )\n  {\n    result = (_QWORD *)result[7];\n    v4 = *(unsigned int *)result;\n    if ( *(_DWORD *)result )\n    {\n      result = (_QWORD *)result[2];\n      v5 = (unsigned __int64)&result[v4 - 1];\n      do\n      {\n        if ( !*result )\n          break;\n        *(_BYTE *)(*result++ + 725LL) = 0;\n      }\n      while ( (unsigned __int64)result <= v5 );\n    }\n  }\n  return result;\n}", "assembly": "; \n; FRequestProfilePage::untoggleAll from 0x100871780 to 0x1008717ef (111 bytes)\n; \n; 0 xrefs:\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 12:36:51 +0000\n; \npush    rbp                                                            ; +0x0, 0x100871780\nmov     rbp, rsp                                                       ; +0x1, 0x100871781\npush    rbx                                                            ; +0x4, 0x100871784\npush    rax                                                            ; +0x5, 0x100871785\nmov     rbx, rdi                                                       ; +0x6, 0x100871786\ncall    GameLevelManager__sharedState                                  ; +0x9, 0x100871789\ntest    byte ptr [rbx+2C8h], 1                                         ; +0xe, 0x10087178e\njnz     short loc_1008717A0                                            ; +0x15, 0x100871795\nadd     rbx, 2C9h                                                      ; +0x17, 0x100871797\njmp     short loc_1008717A7                                            ; +0x1e, 0x10087179e\nmov     rbx, [rbx+2D8h]                                                ; +0x20, 0x1008717a0\nmov     rdi, rax                                                       ; +0x27, 0x1008717a7\nmov     rsi, rbx                                                       ; +0x2a, 0x1008717aa\ncall    GameLevelManager__getStoredOnlineLevels                        ; +0x2d, 0x1008717ad\ntest    rax, rax                                                       ; +0x32, 0x1008717b2\njz      short loc_1008717E8                                            ; +0x35, 0x1008717b5\nmov     rax, [rax+38h]                                                 ; +0x37, 0x1008717b7\nmov     ecx, [rax]                                                     ; +0x3b, 0x1008717bb\ntest    rcx, rcx                                                       ; +0x3d, 0x1008717bd\njz      short loc_1008717E8                                            ; +0x40, 0x1008717c0\nmov     rax, [rax+10h]                                                 ; +0x42, 0x1008717c2\nlea     rcx, [rax+rcx*8]                                               ; +0x46, 0x1008717c6\nadd     rcx, 0FFFFFFFFFFFFFFF8h                                        ; +0x4a, 0x1008717ca\nxchg    ax, ax                                                         ; +0x4e, 0x1008717ce\nmov     rdx, [rax]                                                     ; +0x50, 0x1008717d0\ntest    rdx, rdx                                                       ; +0x53, 0x1008717d3\njz      short loc_1008717E8                                            ; +0x56, 0x1008717d6\nmov     byte ptr [rdx+2D5h], 0                                         ; +0x58, 0x1008717d8\nadd     rax, 8                                                         ; +0x5f, 0x1008717df\ncmp     rax, rcx                                                       ; +0x63, 0x1008717e3\njbe     short loc_1008717D0                                            ; +0x66, 0x1008717e6\nadd     rsp, 8                                                         ; +0x68, 0x1008717e8\npop     rbx                                                            ; +0x6c, 0x1008717ec\npop     rbp                                                            ; +0x6d, 0x1008717ed\nretn                                                                   ; +0x6e, 0x1008717ee", "xrefs": [], "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"}