{"type": "func", "start": 4989810, "end": 4989866, "name": "FRequestProfilePage::untoggleAll", "pseudocode": "// \n// FRequestProfilePage::untoggleAll from 0x4c2372 to 0x4c23aa (56 bytes)\n// \n// 3 xrefs:\n// > FRequestProfilePage::loadPage @ 0x4c274c\n// > FRequestProfilePage::onSentRequests @ 0x4c3106\n// > FRequestProfilePage::onClose @ 0x4c3162\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; // r0\n  cocos2d::CCArray *StoredOnlineLevels; // r0\n  cocos2d::ccArray *data; // r2\n  int v5; // r3\n  cocos2d::CCObject **arr; // r2\n  cocos2d::CCObject **v7; // r3\n  int v8; // r1\n  int v9; // t1\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    if ( data->num )\n    {\n      v5 = data->num + 0x40000000;\n      arr = data->arr;\n      v7 = &arr[v5 - 1];\n      while ( arr <= v7 )\n      {\n        v9 = (int)*arr++;\n        v8 = v9;\n        if ( !v9 )\n          break;\n        *(_BYTE *)(v8 + 453) = 0;\n      }\n    }\n  }\n}", "assembly": "; \n; FRequestProfilePage::untoggleAll from 0x4c2372 to 0x4c23aa (56 bytes)\n; \n; 3 xrefs:\n; > FRequestProfilePage::loadPage @ 0x4c274c\n; > FRequestProfilePage::onSentRequests @ 0x4c3106\n; > FRequestProfilePage::onClose @ 0x4c3162\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            {R4,LR}                                                ; +0x0, 0x4c2372\nMOV             R4, R0                                                 ; +0x2, 0x4c2374\nBL              _ZN16GameLevelManager11sharedStateEv; GameLevelManager::sharedState(void) ; +0x4, 0x4c2376\nLDR.W           R1, [R4,#0x204]; char *                                ; +0x8, 0x4c237a\nBL              _ZN16GameLevelManager21getStoredOnlineLevelsEPKc; GameLevelManager::getStoredOnlineLevels(char const*) ; +0xc, 0x4c237e\nCBZ             R0, locret_4C23A8                                      ; +0x10, 0x4c2382\nLDR             R2, [R0,#0x34]                                         ; +0x12, 0x4c2384\nLDR             R3, [R2]                                               ; +0x14, 0x4c2386\nCBZ             R3, locret_4C23A8                                      ; +0x16, 0x4c2388\nADD.W           R3, R3, #0x40000000                                    ; +0x18, 0x4c238a\nLDR             R2, [R2,#0xC]                                          ; +0x1c, 0x4c238e\nSUBS            R3, #1                                                 ; +0x1e, 0x4c2390\nMOVS            R0, #0                                                 ; +0x20, 0x4c2392\nADD.W           R3, R2, R3,LSL#2                                       ; +0x22, 0x4c2394\nCMP             R2, R3                                                 ; +0x26, 0x4c2398\nBHI             locret_4C23A8                                          ; +0x28, 0x4c239a\nLDR.W           R1, [R2],#4                                            ; +0x2a, 0x4c239c\nCBZ             R1, locret_4C23A8                                      ; +0x2e, 0x4c23a0\nSTRB.W          R0, [R1,#0x1C5]                                        ; +0x30, 0x4c23a2\nB               loc_4C2398                                             ; +0x34, 0x4c23a6\nPOP             {R4,PC}                                                ; +0x36, 0x4c23a8", "xrefs": ["FRequestProfilePage::loadPage @ 0x4c274c", "FRequestProfilePage::onSentRequests @ 0x4c3106", "FRequestProfilePage::onClose @ 0x4c3162"], "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"}