{"type": "func", "start": 9391584, "end": 9391688, "name": "FRequestProfilePage::untoggleAll", "pseudocode": "// \n// FRequestProfilePage::untoggleAll from 0x8f4de0 to 0x8f4e48 (104 bytes)\n// \n// 4 xrefs:\n// > FRequestProfilePage::loadPage @ 0x8f5320\n// > FRequestProfilePage::onSentRequests @ 0x8f61e4\n// > FRequestProfilePage::onClose @ 0x8f627c\n// > <???> @ 0xb5ff8\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::untoggleAll(FRequestProfilePage *a1)\n{\n  GameLevelManager *v2; // x0\n  cocos2d::CCArray *StoredOnlineLevels; // x0\n  cocos2d::ccArray *data; // x0\n  unsigned int num; // w1\n  cocos2d::CCObject **arr; // x0\n  cocos2d::CCObject **i; // x2\n  cocos2d::CCObject *v8; // x1\n\n  v2 = GameLevelManager::sharedState();\n  StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v2, (const char *)a1->m_key.m_data.m_data);\n  if ( StoredOnlineLevels )\n  {\n    data = StoredOnlineLevels->data;\n    num = data->num;\n    if ( data->num )\n    {\n      arr = data->arr;\n      for ( i = &arr[num - 1]; i >= arr; BYTE1(v8[9].m_unknown2) = 0 )\n      {\n        v8 = *arr;\n        if ( !*arr )\n          break;\n        ++arr;\n      }\n    }\n  }\n}", "assembly": "; \n; FRequestProfilePage::untoggleAll from 0x8f4de0 to 0x8f4e48 (104 bytes)\n; \n; 4 xrefs:\n; > FRequestProfilePage::loadPage @ 0x8f5320\n; > FRequestProfilePage::onSentRequests @ 0x8f61e4\n; > FRequestProfilePage::onClose @ 0x8f627c\n; > <???> @ 0xb5ff8\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,#var_20]!                                ; +0x0, 0x8f4de0\nMOV             X29, SP                                                ; +0x4, 0x8f4de4\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x8f4de8\nMOV             X19, X0                                                ; +0xc, 0x8f4dec\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x10, 0x8f4df0\nLDR             X1, [X19,#0x2A0]; char *                               ; +0x14, 0x8f4df4\nBL              _ZN16GameLevelManager21getStoredOnlineLevelsEPKc; GameLevelManager::getStoredOnlineLevels(char const*) ; +0x18, 0x8f4df8\nCBZ             X0, loc_8F4E3C                                         ; +0x1c, 0x8f4dfc\nLDR             X0, [X0,#0x38]                                         ; +0x20, 0x8f4e00\nLDR             W1, [X0]                                               ; +0x24, 0x8f4e04\nCBZ             W1, loc_8F4E3C                                         ; +0x28, 0x8f4e08\nLDR             X0, [X0,#0x10]                                         ; +0x2c, 0x8f4e0c\nMOV             X2, #0xFFFFFFFFFFFFFFF8                                ; +0x30, 0x8f4e10\nADD             X2, X2, W1,UXTW#3                                      ; +0x34, 0x8f4e14\nADD             X2, X0, X2                                             ; +0x38, 0x8f4e18\nCMP             X0, X2                                                 ; +0x3c, 0x8f4e1c\nB.HI            loc_8F4E3C                                             ; +0x40, 0x8f4e20\nLDR             X1, [X0]                                               ; +0x44, 0x8f4e24\nCBZ             X1, loc_8F4E3C                                         ; +0x48, 0x8f4e28\nADD             X0, X0, #8                                             ; +0x4c, 0x8f4e2c\nSTRB            WZR, [X1,#0x221]                                       ; +0x50, 0x8f4e30\nCMP             X2, X0                                                 ; +0x54, 0x8f4e34\nB.CS            loc_8F4E24                                             ; +0x58, 0x8f4e38\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x5c, 0x8f4e3c\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x60, 0x8f4e40\nRET                                                                    ; +0x64, 0x8f4e44", "xrefs": ["FRequestProfilePage::loadPage @ 0x8f5320", "FRequestProfilePage::onSentRequests @ 0x8f61e4", "FRequestProfilePage::onClose @ 0x8f627c", "<???> @ 0xb5ff8"], "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"}