{"type": "func", "start": 4295658124, "end": 4295658332, "name": "GameLevelManager::invalidateRequests", "pseudocode": "// \n// GameLevelManager::invalidateRequests from 0x1000a8a8c to 0x1000a8b5c (208 bytes)\n// \n// 6 xrefs:\n// > GameLevelManager::onDeleteFriendRequestCompleted @ 0x10008d084\n// > ProfilePage::init @ 0x100196ae4\n// > ProfilePage::init @ 0x100196af4\n// > ProfilePage::onUpdate @ 0x100197998\n// > ProfilePage::onUpdate @ 0x1001979a8\n// > FRequestProfilePage::onUpdate @ 0x1001b6d6c\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// local variable allocation has failed, the output may be wrong!\nvoid __fastcall GameLevelManager::invalidateRequests(GameLevelManager *a1, bool a2, bool a3)\n{\n  _BOOL4 v3; // w21\n  _BOOL8 v4; // x19\n  int v6; // w24\n  cocos2d::CCString *v7; // x0\n  char *CString; // x0\n  void **v9; // x1\n  cocos2d::CCArray *StoredOnlineLevels; // x23\n  FriendRequestDelegate *m_friendRequestDelegate; // x0\n  void *__p[2]; // [xsp+18h] [xbp-58h] BYREF\n  char v13; // [xsp+2Fh] [xbp-41h]\n\n  v3 = a3;\n  v4 = a2;\n  v6 = 0;\n  do\n  {\n    v7 = (cocos2d::CCString *)sub_100268F4C(\"fReq_%i_%i\", v4, v6);\n    CString = (char *)cocos2d::CCString::getCString(v7);\n    sub_100009900(__p, CString);\n    if ( v13 >= 0 )\n      v9 = __p;\n    else\n      v9 = (void **)__p[0];\n    StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(a1, (const char *)v9);\n    if ( StoredOnlineLevels )\n      cocos2d::CCDictionary::removeObjectForKey_1((int)a1->m_storedLevels, (char *)__p);\n    if ( v13 < 0 )\n      operator delete(__p[0]);\n    ++v6;\n  }\n  while ( StoredOnlineLevels );\n  if ( v3 )\n  {\n    m_friendRequestDelegate = a1->m_friendRequestDelegate;\n    if ( m_friendRequestDelegate )\n      ((void (__fastcall *)(FriendRequestDelegate *, _BOOL8))m_friendRequestDelegate->forceReloadRequests)(\n        m_friendRequestDelegate,\n        v4);\n  }\n}", "assembly": "; \n; GameLevelManager::invalidateRequests from 0x1000a8a8c to 0x1000a8b5c (208 bytes)\n; \n; 6 xrefs:\n; > GameLevelManager::onDeleteFriendRequestCompleted @ 0x10008d084\n; > ProfilePage::init @ 0x100196ae4\n; > ProfilePage::init @ 0x100196af4\n; > ProfilePage::onUpdate @ 0x100197998\n; > ProfilePage::onUpdate @ 0x1001979a8\n; > FRequestProfilePage::onUpdate @ 0x1001b6d6c\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\nSUB             SP, SP, #0x80                                          ; +0x0, 0x1000a8a8c\nSTP             X26, X25, [SP,#0x70+var_40]                            ; +0x4, 0x1000a8a90\nSTP             X24, X23, [SP,#0x70+var_30]                            ; +0x8, 0x1000a8a94\nSTP             X22, X21, [SP,#0x70+var_20]                            ; +0xc, 0x1000a8a98\nSTP             X20, X19, [SP,#0x70+var_10]                            ; +0x10, 0x1000a8a9c\nSTP             X29, X30, [SP,#0x70+var_s0]                            ; +0x14, 0x1000a8aa0\nADD             X29, SP, #0x70                                         ; +0x18, 0x1000a8aa4\nMOV             X21, X2                                                ; +0x1c, 0x1000a8aa8\nMOV             X19, X1                                                ; +0x20, 0x1000a8aac\nMOV             X20, X0                                                ; +0x24, 0x1000a8ab0\nMOV             W24, #0                                                ; +0x28, 0x1000a8ab4\nADD             X25, SP, #0x70+__p                                     ; +0x2c, 0x1000a8ab8\nADRL            X22, aFreqII; \"fReq_%i_%i\"                             ; +0x30, 0x1000a8abc\nSTP             X19, X24, [SP,#0x70+var_70]                            ; +0x38, 0x1000a8ac4\nMOV             X0, X22                                                ; +0x3c, 0x1000a8ac8\nBL              sub_100268F4C                                          ; +0x40, 0x1000a8acc\nBL              cocos2d__CCString__getCString                          ; +0x44, 0x1000a8ad0\nMOV             X1, X0; __s                                            ; +0x48, 0x1000a8ad4\nADD             X0, SP, #0x70+__p; int                                 ; +0x4c, 0x1000a8ad8\nBL              sub_100009900                                          ; +0x50, 0x1000a8adc\nLDRSB           W8, [SP,#0x70+var_41]                                  ; +0x54, 0x1000a8ae0\nLDR             X9, [SP,#0x70+__p]                                     ; +0x58, 0x1000a8ae4\nCMP             W8, #0                                                 ; +0x5c, 0x1000a8ae8\nCSEL            X1, X9, X25, LT                                        ; +0x60, 0x1000a8aec\nMOV             X0, X20                                                ; +0x64, 0x1000a8af0\nBL              GameLevelManager__getStoredOnlineLevels                ; +0x68, 0x1000a8af4\nMOV             X23, X0                                                ; +0x6c, 0x1000a8af8\nCBZ             X0, loc_1000A8B0C                                      ; +0x70, 0x1000a8afc\nLDR             X0, [X20,#0x230]; int                                  ; +0x74, 0x1000a8b00\nADD             X1, SP, #0x70+__p; __s                                 ; +0x78, 0x1000a8b04\nBL              cocos2d__CCDictionary__removeObjectForKey_1            ; +0x7c, 0x1000a8b08\nLDRSB           W8, [SP,#0x70+var_41]                                  ; +0x80, 0x1000a8b0c\nTBZ             W8, #0x1F, loc_1000A8B1C                               ; +0x84, 0x1000a8b10\nLDR             X0, [SP,#0x70+__p]; __p                                ; +0x88, 0x1000a8b14\nBL              __ZdlPv; operator delete(void *)                       ; +0x8c, 0x1000a8b18\nADD             W24, W24, #1                                           ; +0x90, 0x1000a8b1c\nCBNZ            X23, loc_1000A8AC4                                     ; +0x94, 0x1000a8b20\nCBZ             W21, loc_1000A8B40                                     ; +0x98, 0x1000a8b24\nLDR             X0, [X20,#0x338]                                       ; +0x9c, 0x1000a8b28\nCBZ             X0, loc_1000A8B40                                      ; +0xa0, 0x1000a8b2c\nLDR             X8, [X0]                                               ; +0xa4, 0x1000a8b30\nLDR             X8, [X8,#0x18]                                         ; +0xa8, 0x1000a8b34\nMOV             X1, X19                                                ; +0xac, 0x1000a8b38\nBLR             X8                                                     ; +0xb0, 0x1000a8b3c\nLDP             X29, X30, [SP,#0x70+var_s0]                            ; +0xb4, 0x1000a8b40\nLDP             X20, X19, [SP,#0x70+var_10]                            ; +0xb8, 0x1000a8b44\nLDP             X22, X21, [SP,#0x70+var_20]                            ; +0xbc, 0x1000a8b48\nLDP             X24, X23, [SP,#0x70+var_30]                            ; +0xc0, 0x1000a8b4c\nLDP             X26, X25, [SP,#0x70+var_40]                            ; +0xc4, 0x1000a8b50\nADD             SP, SP, #0x80                                          ; +0xc8, 0x1000a8b54\nRET                                                                    ; +0xcc, 0x1000a8b58", "xrefs": ["GameLevelManager::onDeleteFriendRequestCompleted @ 0x10008d084", "ProfilePage::init @ 0x100196ae4", "ProfilePage::init @ 0x100196af4", "ProfilePage::onUpdate @ 0x100197998", "ProfilePage::onUpdate @ 0x1001979a8", "FRequestProfilePage::onUpdate @ 0x1001b6d6c"], "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"}