{"type": "func", "start": 5371126912, "end": 5371127135, "name": "GameLevelManager::getThreadPendingInvites", "pseudocode": "// \n// GameLevelManager::getThreadPendingInvites from 0x14024e480 to 0x14024e55f (223 bytes)\n// \n// 5 xrefs:\n// > MemberListPopup::buildRows @ 0x1400ecb12\n// > MemberListPopup::pickerRowState @ 0x1400edd04\n// > MemberListPopup::threadUpdateFinished @ 0x1400eeab1\n// > GameLevelManager::applyThreadAddReply @ 0x140252f1b\n// > <???> @ 0x14091c418\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:41 +0000\n// \n\n__int64 __fastcall GameLevelManager::getThreadPendingInvites(__int64 a1)\n{\n  cocos2d::CCString *v2; // rax\n  const char *CString; // rax\n  size_t v4; // r8\n  __int64 v5; // rbx\n  void *v6; // r8\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 + 1216), Block);\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::getThreadPendingInvites from 0x14024e480 to 0x14024e55f (223 bytes)\n; \n; 5 xrefs:\n; > MemberListPopup::buildRows @ 0x1400ecb12\n; > MemberListPopup::pickerRowState @ 0x1400edd04\n; > MemberListPopup::threadUpdateFinished @ 0x1400eeab1\n; > GameLevelManager::applyThreadAddReply @ 0x140252f1b\n; > <???> @ 0x14091c418\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:41 +0000\n; \npush    rbx                                                            ; +0x0, 0x14024e480\nsub     rsp, 60h                                                       ; +0x2, 0x14024e482\nmov     rax, cs:__security_cookie                                      ; +0x6, 0x14024e486\nxor     rax, rsp                                                       ; +0xd, 0x14024e48d\nmov     [rsp+68h+var_18], rax                                          ; +0x10, 0x14024e490\nmov     rbx, rcx                                                       ; +0x15, 0x14024e495\nlea     rcx, word_1406ED6F8                                            ; +0x18, 0x14024e498\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x1f, 0x14024e49f\nmov     rcx, rax                                                       ; +0x25, 0x14024e4a5\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x28, 0x14024e4a8\nxorps   xmm0, xmm0                                                     ; +0x2e, 0x14024e4ae\nmovups  xmmword ptr [rsp+68h+Block], xmm0                              ; +0x31, 0x14024e4b1\nxorps   xmm1, xmm1                                                     ; +0x36, 0x14024e4b6\nmovdqu  [rsp+68h+var_28], xmm1                                         ; +0x39, 0x14024e4b9\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x3f, 0x14024e4bf\ninc     r8                                                             ; +0x46, 0x14024e4c6\ncmp     byte ptr [rax+r8], 0                                           ; +0x49, 0x14024e4c9\njnz     short loc_14024E4C6                                            ; +0x4e, 0x14024e4ce\nmov     rdx, rax                                                       ; +0x50, 0x14024e4d0\nlea     rcx, [rsp+68h+Block]                                           ; +0x53, 0x14024e4d3\ncall    sub_14003D230                                                  ; +0x58, 0x14024e4d8\nnop                                                                    ; +0x5d, 0x14024e4dd\nlea     rdx, [rsp+68h+Block]                                           ; +0x5e, 0x14024e4de\nmov     rcx, [rbx+4C0h]                                                ; +0x63, 0x14024e4e3\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, 0x14024e4ea\nmov     rbx, rax                                                       ; +0x70, 0x14024e4f0\nmov     rdx, qword ptr [rsp+68h+var_28+8]                              ; +0x73, 0x14024e4f3\ncmp     rdx, 0Fh                                                       ; +0x78, 0x14024e4f8\njbe     short loc_14024E549                                            ; +0x7c, 0x14024e4fc\ninc     rdx                                                            ; +0x7e, 0x14024e4fe\nmov     r8, [rsp+68h+Block]                                            ; +0x81, 0x14024e501\nmov     rcx, r8                                                        ; +0x86, 0x14024e506\ncmp     rdx, 1000h                                                     ; +0x89, 0x14024e509\njb      short loc_14024E541                                            ; +0x90, 0x14024e510\nadd     rdx, 27h ; '''                                                 ; +0x92, 0x14024e512\nmov     r8, [r8-8]                                                     ; +0x96, 0x14024e516\nsub     rcx, r8                                                        ; +0x9a, 0x14024e51a\nsub     rcx, 8                                                         ; +0x9d, 0x14024e51d\ncmp     rcx, 1Fh                                                       ; +0xa1, 0x14024e521\njbe     short loc_14024E541                                            ; +0xa5, 0x14024e525\nmov     [rsp+68h+Reserved], 0; Reserved                                ; +0xa7, 0x14024e527\nxor     r9d, r9d; LineNo                                               ; +0xb0, 0x14024e530\nxor     r8d, r8d; FileName                                             ; +0xb3, 0x14024e533\nxor     edx, edx; FunctionName                                         ; +0xb6, 0x14024e536\nxor     ecx, ecx; Expression                                           ; +0xb8, 0x14024e538\ncall    cs:_invoke_watson                                              ; +0xba, 0x14024e53a\ndb 0CCh                                                                ; +0xc0, 0x14024e540\nmov     rcx, r8; Block                                                 ; +0xc1, 0x14024e541\ncall    j_j_free                                                       ; +0xc4, 0x14024e544\nmov     rax, rbx                                                       ; +0xc9, 0x14024e549\nmov     rcx, [rsp+68h+var_18]                                          ; +0xcc, 0x14024e54c\nxor     rcx, rsp; StackCookie                                          ; +0xd1, 0x14024e551\ncall    __security_check_cookie                                        ; +0xd4, 0x14024e554\nadd     rsp, 60h                                                       ; +0xd9, 0x14024e559\npop     rbx                                                            ; +0xdd, 0x14024e55d\nretn                                                                   ; +0xde, 0x14024e55e", "xrefs": ["MemberListPopup::buildRows @ 0x1400ecb12", "MemberListPopup::pickerRowState @ 0x1400edd04", "MemberListPopup::threadUpdateFinished @ 0x1400eeab1", "GameLevelManager::applyThreadAddReply @ 0x140252f1b", "<???> @ 0x14091c418"], "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"}