{"type": "func", "start": 5370015280, "end": 5370015438, "name": "FRequestProfilePage::untoggleAll", "pseudocode": "// \n// FRequestProfilePage::untoggleAll from 0x14013ee30 to 0x14013eece (158 bytes)\n// \n// 4 xrefs:\n// > FRequestProfilePage::onSentRequests @ 0x14013ed36\n// > FRequestProfilePage::onClose @ 0x14013edc6\n// > FRequestProfilePage::loadPage @ 0x14013f389\n// > <???> @ 0x1406ca20c\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\n// Hidden C++ exception states: #wind=1\nvoid FRequestProfilePage::untoggleAll(FRequestProfilePage *a1)\n{\n  std::string *p_m_key; // rbx\n  GameLevelManager *v2; // rcx\n  cocos2d::CCArray *StoredOnlineLevels; // rax\n  cocos2d::ccArray *data; // rax\n  __int64 num; // rcx\n  cocos2d::CCObject **arr; // rax\n  cocos2d::CCObject **i; // rdx\n  void *v8; // [rsp+30h] [rbp+8h]\n\n  p_m_key = &a1->m_key;\n  if ( a1->m_key.m_data.m_capacity > 0xF )\n    p_m_key = (std::string *)p_m_key->m_data.m_bigStorage;\n  v2 = (GameLevelManager *)qword_1406C2EC0;\n  if ( !qword_1406C2EC0 )\n  {\n    v8 = operator new(0x3D0u);\n    qword_1406C2EC0 = sub_140141280(v8);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0);\n    v2 = (GameLevelManager *)qword_1406C2EC0;\n  }\n  StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v2, p_m_key->m_data.m_smallStorage._Elems);\n  if ( StoredOnlineLevels )\n  {\n    data = StoredOnlineLevels->data;\n    num = data->num;\n    if ( (_DWORD)num )\n    {\n      arr = data->arr;\n      for ( i = &arr[num - 1]; arr <= i; ++arr )\n      {\n        if ( !*arr )\n          break;\n        BYTE1((*arr)[13].m_uIndexInArray) = 0;\n      }\n    }\n  }\n}", "assembly": "; \n; FRequestProfilePage::untoggleAll from 0x14013ee30 to 0x14013eece (158 bytes)\n; \n; 4 xrefs:\n; > FRequestProfilePage::onSentRequests @ 0x14013ed36\n; > FRequestProfilePage::onClose @ 0x14013edc6\n; > FRequestProfilePage::loadPage @ 0x14013f389\n; > <???> @ 0x1406ca20c\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    rbx                                                            ; +0x0, 0x14013ee30\nsub     rsp, 20h                                                       ; +0x2, 0x14013ee32\nlea     rbx, [rcx+2A0h]                                                ; +0x6, 0x14013ee36\ncmp     qword ptr [rbx+18h], 0Fh                                       ; +0xd, 0x14013ee3d\njbe     short loc_14013EE47                                            ; +0x12, 0x14013ee42\nmov     rbx, [rbx]                                                     ; +0x14, 0x14013ee44\nmov     rcx, cs:qword_1406C2EC0                                        ; +0x17, 0x14013ee47\ntest    rcx, rcx                                                       ; +0x1e, 0x14013ee4e\njnz     short loc_14013EE83                                            ; +0x21, 0x14013ee51\nmov     ecx, 3D0h; Size                                                ; +0x23, 0x14013ee53\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x28, 0x14013ee58\nmov     [rsp+28h+arg_0], rax                                           ; +0x2d, 0x14013ee5d\nmov     rcx, rax                                                       ; +0x32, 0x14013ee62\ncall    sub_140141280                                                  ; +0x35, 0x14013ee65\nnop                                                                    ; +0x3a, 0x14013ee6a\nmov     cs:qword_1406C2EC0, rax                                        ; +0x3b, 0x14013ee6b\nmov     r8, [rax]                                                      ; +0x42, 0x14013ee72\nmov     rcx, rax                                                       ; +0x45, 0x14013ee75\ncall    qword ptr [r8+48h]                                             ; +0x48, 0x14013ee78\nmov     rcx, cs:qword_1406C2EC0                                        ; +0x4c, 0x14013ee7c\nmov     rdx, rbx                                                       ; +0x53, 0x14013ee83\ncall    GameLevelManager__getStoredOnlineLevels                        ; +0x56, 0x14013ee86\ntest    rax, rax                                                       ; +0x5b, 0x14013ee8b\njz      short loc_14013EEC8                                            ; +0x5e, 0x14013ee8e\nmov     rax, [rax+38h]                                                 ; +0x60, 0x14013ee90\nmov     ecx, [rax]                                                     ; +0x64, 0x14013ee94\ntest    ecx, ecx                                                       ; +0x66, 0x14013ee96\njz      short loc_14013EEC8                                            ; +0x68, 0x14013ee98\nmov     rax, [rax+10h]                                                 ; +0x6a, 0x14013ee9a\nlea     rdx, [rcx-1]                                                   ; +0x6e, 0x14013ee9e\nlea     rdx, [rax+rdx*8]                                               ; +0x72, 0x14013eea2\ncmp     rax, rdx                                                       ; +0x76, 0x14013eea6\nja      short loc_14013EEC8                                            ; +0x79, 0x14013eea9\nnop     dword ptr [rax+rax+00h]                                        ; +0x7b, 0x14013eeab\nmov     rcx, [rax]                                                     ; +0x80, 0x14013eeb0\ntest    rcx, rcx                                                       ; +0x83, 0x14013eeb3\njz      short loc_14013EEC8                                            ; +0x86, 0x14013eeb6\nmov     byte ptr [rcx+2F9h], 0                                         ; +0x88, 0x14013eeb8\nadd     rax, 8                                                         ; +0x8f, 0x14013eebf\ncmp     rax, rdx                                                       ; +0x93, 0x14013eec3\njbe     short loc_14013EEB0                                            ; +0x96, 0x14013eec6\nadd     rsp, 20h                                                       ; +0x98, 0x14013eec8\npop     rbx                                                            ; +0x9c, 0x14013eecc\nretn                                                                   ; +0x9d, 0x14013eecd", "xrefs": ["FRequestProfilePage::onSentRequests @ 0x14013ed36", "FRequestProfilePage::onClose @ 0x14013edc6", "FRequestProfilePage::loadPage @ 0x14013f389", "<???> @ 0x1406ca20c"], "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"}