{"type": "func", "start": 5370954528, "end": 5370954751, "name": "GameLevelManager::isFollowingUser", "pseudocode": "// \n// GameLevelManager::isFollowingUser from 0x140224320 to 0x1402243ff (223 bytes)\n// \n// 4 xrefs:\n// > ProfilePage::init @ 0x140551426\n// > ProfilePage::loadPageFromUserInfo @ 0x140552e5b\n// > ProfilePage::onFollow @ 0x140557bb3\n// > <???> @ 0x14091bcd4\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\n_BOOL8 __fastcall GameLevelManager::isFollowingUser(__int64 a1)\n{\n  cocos2d::CCString *v2; // rax\n  const char *CString; // rax\n  size_t v4; // r8\n  bool v5; // bl\n  void *v6; // rcx\n  void *Block[2]; // [rsp+30h] [rbp-38h] BYREF\n  __int128 v9; // [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  v9 = 0;\n  v4 = -1;\n  do\n    ++v4;\n  while ( CString[v4] );\n  sub_14003D230(Block, CString, v4);\n  v5 = cocos2d::CCDictionary::objectForKey(*(_QWORD *)(a1 + 872), Block) != 0;\n  if ( *((_QWORD *)&v9 + 1) > 0xFu )\n  {\n    v6 = Block[0];\n    if ( (unsigned __int64)(*((_QWORD *)&v9 + 1) + 1LL) >= 0x1000 )\n    {\n      v6 = *((void **)Block[0] - 1);\n      if ( (unsigned __int64)((char *)Block[0] - (char *)v6 - 8) > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n    }\n    j_j_free(v6);\n  }\n  return v5;\n}", "assembly": "; \n; GameLevelManager::isFollowingUser from 0x140224320 to 0x1402243ff (223 bytes)\n; \n; 4 xrefs:\n; > ProfilePage::init @ 0x140551426\n; > ProfilePage::loadPageFromUserInfo @ 0x140552e5b\n; > ProfilePage::onFollow @ 0x140557bb3\n; > <???> @ 0x14091bcd4\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, 0x140224320\nsub     rsp, 60h                                                       ; +0x2, 0x140224322\nmov     rax, cs:__security_cookie                                      ; +0x6, 0x140224326\nxor     rax, rsp                                                       ; +0xd, 0x14022432d\nmov     [rsp+68h+var_18], rax                                          ; +0x10, 0x140224330\nmov     rbx, rcx                                                       ; +0x15, 0x140224335\nlea     rcx, word_1406ED6F8                                            ; +0x18, 0x140224338\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x1f, 0x14022433f\nmov     rcx, rax                                                       ; +0x25, 0x140224345\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x28, 0x140224348\nxorps   xmm0, xmm0                                                     ; +0x2e, 0x14022434e\nmovups  xmmword ptr [rsp+68h+Block], xmm0                              ; +0x31, 0x140224351\nxorps   xmm1, xmm1                                                     ; +0x36, 0x140224356\nmovdqu  [rsp+68h+var_28], xmm1                                         ; +0x39, 0x140224359\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x3f, 0x14022435f\ninc     r8                                                             ; +0x46, 0x140224366\ncmp     byte ptr [rax+r8], 0                                           ; +0x49, 0x140224369\njnz     short loc_140224366                                            ; +0x4e, 0x14022436e\nmov     rdx, rax                                                       ; +0x50, 0x140224370\nlea     rcx, [rsp+68h+Block]                                           ; +0x53, 0x140224373\ncall    sub_14003D230                                                  ; +0x58, 0x140224378\nnop                                                                    ; +0x5d, 0x14022437d\nlea     rdx, [rsp+68h+Block]                                           ; +0x5e, 0x14022437e\nmov     rcx, [rbx+368h]                                                ; +0x63, 0x140224383\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::objectForKey(std::string const &) ; +0x6a, 0x14022438a\ntest    rax, rax                                                       ; +0x70, 0x140224390\nsetnz   bl                                                             ; +0x73, 0x140224393\nmov     rdx, qword ptr [rsp+68h+var_28+8]                              ; +0x76, 0x140224396\ncmp     rdx, 0Fh                                                       ; +0x7b, 0x14022439b\njbe     short loc_1402243E9                                            ; +0x7f, 0x14022439f\ninc     rdx                                                            ; +0x81, 0x1402243a1\nmov     rcx, [rsp+68h+Block]; Block                                    ; +0x84, 0x1402243a4\nmov     rax, rcx                                                       ; +0x89, 0x1402243a9\ncmp     rdx, 1000h                                                     ; +0x8c, 0x1402243ac\njb      short loc_1402243E4                                            ; +0x93, 0x1402243b3\nadd     rdx, 27h ; '''                                                 ; +0x95, 0x1402243b5\nmov     rcx, [rcx-8]                                                   ; +0x99, 0x1402243b9\nsub     rax, rcx                                                       ; +0x9d, 0x1402243bd\nsub     rax, 8                                                         ; +0xa0, 0x1402243c0\ncmp     rax, 1Fh                                                       ; +0xa4, 0x1402243c4\njbe     short loc_1402243E4                                            ; +0xa8, 0x1402243c8\nmov     [rsp+68h+Reserved], 0; Reserved                                ; +0xaa, 0x1402243ca\nxor     r9d, r9d; LineNo                                               ; +0xb3, 0x1402243d3\nxor     r8d, r8d; FileName                                             ; +0xb6, 0x1402243d6\nxor     edx, edx; FunctionName                                         ; +0xb9, 0x1402243d9\nxor     ecx, ecx; Expression                                           ; +0xbb, 0x1402243db\ncall    cs:_invoke_watson                                              ; +0xbd, 0x1402243dd\nalign 4                                                                ; +0xc3, 0x1402243e3\ncall    j_j_free                                                       ; +0xc4, 0x1402243e4\nmovzx   eax, bl                                                        ; +0xc9, 0x1402243e9\nmov     rcx, [rsp+68h+var_18]                                          ; +0xcc, 0x1402243ec\nxor     rcx, rsp; StackCookie                                          ; +0xd1, 0x1402243f1\ncall    __security_check_cookie                                        ; +0xd4, 0x1402243f4\nadd     rsp, 60h                                                       ; +0xd9, 0x1402243f9\npop     rbx                                                            ; +0xdd, 0x1402243fd\nretn                                                                   ; +0xde, 0x1402243fe", "xrefs": ["ProfilePage::init @ 0x140551426", "ProfilePage::loadPageFromUserInfo @ 0x140552e5b", "ProfilePage::onFollow @ 0x140557bb3", "<???> @ 0x14091bcd4"], "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"}