{"type": "func", "start": 9388876, "end": 9389028, "name": "FRequestProfilePage::onToggleAllObjects", "pseudocode": "// \n// FRequestProfilePage::onToggleAllObjects from 0x8f434c to 0x8f43e4 (152 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x9bb20\n// > FRequestProfilePage::init @ 0x8f5ee8\n// > <???> @ 0x122d4e0\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 FRequestProfilePage::onToggleAllObjects(FRequestProfilePage *a1, cocos2d::CCObject *a2)\n{\n  GameLevelManager *v3; // x0\n  cocos2d::CCArray *StoredOnlineLevels; // x0\n  cocos2d::CCArray *v5; // x20\n  cocos2d::ccArray *data; // x0\n  unsigned int num; // w1\n  cocos2d::CCObject **arr; // x0\n  cocos2d::CCObject **i; // x3\n  cocos2d::CCObject *v10; // x1\n\n  a1->m_toggledAll ^= 1u;\n  v3 = GameLevelManager::sharedState();\n  StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v3, (const char *)a1->m_key.m_data.m_data);\n  v5 = StoredOnlineLevels;\n  if ( StoredOnlineLevels && (unsigned int)cocos2d::CCArray::count(StoredOnlineLevels) )\n  {\n    data = v5->data;\n    num = data->num;\n    if ( data->num )\n    {\n      arr = data->arr;\n      for ( i = &arr[num - 1]; i >= arr; BYTE1(v10[9].m_unknown2) = a1->m_toggledAll )\n      {\n        v10 = *arr;\n        if ( !*arr )\n          break;\n        ++arr;\n      }\n    }\n    CustomListView::reloadAll((CustomListView *)a1->m_listLayer->m_list);\n  }\n}", "assembly": "; \n; FRequestProfilePage::onToggleAllObjects from 0x8f434c to 0x8f43e4 (152 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x9bb20\n; > FRequestProfilePage::init @ 0x8f5ee8\n; > <???> @ 0x122d4e0\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\nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x8f434c\nMOV             X29, SP                                                ; +0x4, 0x8f4350\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x8f4354\nMOV             X19, X0                                                ; +0xc, 0x8f4358\nLDRB            W0, [X0,#0x300]                                        ; +0x10, 0x8f435c\nEOR             W0, W0, #1; this                                       ; +0x14, 0x8f4360\nSTRB            W0, [X19,#0x300]                                       ; +0x18, 0x8f4364\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x1c, 0x8f4368\nLDR             X1, [X19,#0x2A0]; char *                               ; +0x20, 0x8f436c\nBL              _ZN16GameLevelManager21getStoredOnlineLevelsEPKc; GameLevelManager::getStoredOnlineLevels(char const*) ; +0x24, 0x8f4370\nMOV             X20, X0                                                ; +0x28, 0x8f4374\nCBZ             X0, loc_8F43D8                                         ; +0x2c, 0x8f4378\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x30, 0x8f437c\nCBZ             W0, loc_8F43D8                                         ; +0x34, 0x8f4380\nLDR             X0, [X20,#0x38]                                        ; +0x38, 0x8f4384\nLDR             W1, [X0]                                               ; +0x3c, 0x8f4388\nCBZ             W1, loc_8F43C4                                         ; +0x40, 0x8f438c\nLDR             X0, [X0,#0x10]                                         ; +0x44, 0x8f4390\nMOV             X3, #0xFFFFFFFFFFFFFFF8                                ; +0x48, 0x8f4394\nADD             X3, X3, W1,UXTW#3                                      ; +0x4c, 0x8f4398\nADD             X3, X0, X3                                             ; +0x50, 0x8f439c\nCMP             X0, X3                                                 ; +0x54, 0x8f43a0\nB.HI            loc_8F43C4                                             ; +0x58, 0x8f43a4\nLDR             X1, [X0]                                               ; +0x5c, 0x8f43a8\nCBZ             X1, loc_8F43C4                                         ; +0x60, 0x8f43ac\nADD             X0, X0, #8                                             ; +0x64, 0x8f43b0\nLDRB            W2, [X19,#0x300]                                       ; +0x68, 0x8f43b4\nSTRB            W2, [X1,#0x221]                                        ; +0x6c, 0x8f43b8\nCMP             X3, X0                                                 ; +0x70, 0x8f43bc\nB.CS            loc_8F43A8                                             ; +0x74, 0x8f43c0\nLDR             X0, [X19,#0x2B8]                                       ; +0x78, 0x8f43c4\nLDP             X19, X20, [SP,#var_s10]                                ; +0x7c, 0x8f43c8\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x80, 0x8f43cc\nLDR             X0, [X0,#0x220]; this                                  ; +0x84, 0x8f43d0\nB               _ZN14CustomListView9reloadAllEv; CustomListView::reloadAll(void) ; +0x88, 0x8f43d4\nLDP             X19, X20, [SP,#var_s10]                                ; +0x8c, 0x8f43d8\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x90, 0x8f43dc\nRET                                                                    ; +0x94, 0x8f43e0", "xrefs": ["<???> @ 0x9bb20", "FRequestProfilePage::init @ 0x8f5ee8", "<???> @ 0x122d4e0"], "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"}