{"type": "func", "start": 5370955136, "end": 5370955351, "name": "GameLevelManager::unfollowUser", "pseudocode": "// \n// GameLevelManager::unfollowUser from 0x140224580 to 0x140224657 (215 bytes)\n// \n// 4 xrefs:\n// > GameLevelManager::onFollowUserCompleted @ 0x1402510f7\n// > GameLevelManager::onBlockUserCompleted @ 0x140256b32\n// > ProfilePage::loadPageFromUserInfo @ 0x140552f04\n// > <???> @ 0x14091bcec\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:28:25 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nvoid __fastcall GameLevelManager::unfollowUser(__int64 a1)\n{\n  cocos2d::CCString *v2; // rax\n  const char *CString; // rax\n  size_t v4; // r8\n  void *v5; // rcx\n  void *Block[2]; // [rsp+30h] [rbp-38h] BYREF\n  __int128 v7; // [rsp+40h] [rbp-28h]\n\n  v2 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8);\n  CString = cocos2d::CCString::getCString(v2);\n  *(_OWORD *)Block = 0;\n  v7 = 0;\n  v4 = -1;\n  do\n    ++v4;\n  while ( CString[v4] );\n  sub_14003D230(Block, CString, v4);\n  cocos2d::CCDictionary::removeObjectForKey(*(_QWORD *)(a1 + 872), Block);\n  if ( *((_QWORD *)&v7 + 1) > 0xFu )\n  {\n    v5 = Block[0];\n    if ( (unsigned __int64)(*((_QWORD *)&v7 + 1) + 1LL) >= 0x1000 )\n    {\n      v5 = *((void **)Block[0] - 1);\n      if ( (unsigned __int64)((char *)Block[0] - (char *)v5 - 8) > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n    }\n    j_j_free(v5);\n  }\n}", "assembly": "; \n; GameLevelManager::unfollowUser from 0x140224580 to 0x140224657 (215 bytes)\n; \n; 4 xrefs:\n; > GameLevelManager::onFollowUserCompleted @ 0x1402510f7\n; > GameLevelManager::onBlockUserCompleted @ 0x140256b32\n; > ProfilePage::loadPageFromUserInfo @ 0x140552f04\n; > <???> @ 0x14091bcec\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:28:25 +0000\n; \npush    rbx                                                            ; +0x0, 0x140224580\nsub     rsp, 60h                                                       ; +0x2, 0x140224582\nmov     rax, cs:__security_cookie                                      ; +0x6, 0x140224586\nxor     rax, rsp                                                       ; +0xd, 0x14022458d\nmov     [rsp+68h+var_18], rax                                          ; +0x10, 0x140224590\nmov     rbx, rcx                                                       ; +0x15, 0x140224595\nlea     rcx, word_1406ED6F8                                            ; +0x18, 0x140224598\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x1f, 0x14022459f\nmov     rcx, rax                                                       ; +0x25, 0x1402245a5\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x28, 0x1402245a8\nxorps   xmm0, xmm0                                                     ; +0x2e, 0x1402245ae\nmovups  xmmword ptr [rsp+68h+Block], xmm0                              ; +0x31, 0x1402245b1\nxorps   xmm1, xmm1                                                     ; +0x36, 0x1402245b6\nmovdqu  [rsp+68h+var_28], xmm1                                         ; +0x39, 0x1402245b9\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x3f, 0x1402245bf\ninc     r8                                                             ; +0x46, 0x1402245c6\ncmp     byte ptr [rax+r8], 0                                           ; +0x49, 0x1402245c9\njnz     short loc_1402245C6                                            ; +0x4e, 0x1402245ce\nmov     rdx, rax                                                       ; +0x50, 0x1402245d0\nlea     rcx, [rsp+68h+Block]                                           ; +0x53, 0x1402245d3\ncall    sub_14003D230                                                  ; +0x58, 0x1402245d8\nnop                                                                    ; +0x5d, 0x1402245dd\nlea     rdx, [rsp+68h+Block]                                           ; +0x5e, 0x1402245de\nmov     rcx, [rbx+368h]                                                ; +0x63, 0x1402245e3\ncall    cs:?removeObjectForKey@CCDictionary@cocos2d@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::removeObjectForKey(std::string const &) ; +0x6a, 0x1402245ea\nnop                                                                    ; +0x70, 0x1402245f0\nmov     rdx, qword ptr [rsp+68h+var_28+8]                              ; +0x71, 0x1402245f1\ncmp     rdx, 0Fh                                                       ; +0x76, 0x1402245f6\njbe     short loc_140224644                                            ; +0x7a, 0x1402245fa\ninc     rdx                                                            ; +0x7c, 0x1402245fc\nmov     rcx, [rsp+68h+Block]; Block                                    ; +0x7f, 0x1402245ff\nmov     rax, rcx                                                       ; +0x84, 0x140224604\ncmp     rdx, 1000h                                                     ; +0x87, 0x140224607\njb      short loc_14022463F                                            ; +0x8e, 0x14022460e\nadd     rdx, 27h ; '''                                                 ; +0x90, 0x140224610\nmov     rcx, [rcx-8]                                                   ; +0x94, 0x140224614\nsub     rax, rcx                                                       ; +0x98, 0x140224618\nsub     rax, 8                                                         ; +0x9b, 0x14022461b\ncmp     rax, 1Fh                                                       ; +0x9f, 0x14022461f\njbe     short loc_14022463F                                            ; +0xa3, 0x140224623\nmov     [rsp+68h+Reserved], 0; Reserved                                ; +0xa5, 0x140224625\nxor     r9d, r9d; LineNo                                               ; +0xae, 0x14022462e\nxor     r8d, r8d; FileName                                             ; +0xb1, 0x140224631\nxor     edx, edx; FunctionName                                         ; +0xb4, 0x140224634\nxor     ecx, ecx; Expression                                           ; +0xb6, 0x140224636\ncall    cs:_invoke_watson                                              ; +0xb8, 0x140224638\ndb 0CCh                                                                ; +0xbe, 0x14022463e\ncall    j_j_free                                                       ; +0xbf, 0x14022463f\nmov     rcx, [rsp+68h+var_18]                                          ; +0xc4, 0x140224644\nxor     rcx, rsp; StackCookie                                          ; +0xc9, 0x140224649\ncall    __security_check_cookie                                        ; +0xcc, 0x14022464c\nadd     rsp, 60h                                                       ; +0xd1, 0x140224651\npop     rbx                                                            ; +0xd5, 0x140224655\nretn                                                                   ; +0xd6, 0x140224656", "xrefs": ["GameLevelManager::onFollowUserCompleted @ 0x1402510f7", "GameLevelManager::onBlockUserCompleted @ 0x140256b32", "ProfilePage::loadPageFromUserInfo @ 0x140552f04", "<???> @ 0x14091bcec"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}