{"type": "func", "start": 5372447248, "end": 5372447438, "name": "GJMultiplayerManager::removeDLFromActive", "pseudocode": "// \n// GJMultiplayerManager::removeDLFromActive from 0x140390a10 to 0x140390ace (190 bytes)\n// \n// 4 xrefs:\n// > GJMultiplayerManager::handleIt @ 0x14039078f\n// > GJMultiplayerManager::handleIt @ 0x1403908ba\n// > GJMultiplayerManager::onJoinLobbyCompleted @ 0x140390b2f\n// > <???> @ 0x140922fc4\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:31:11 +0000\n// \n\nvoid __fastcall GJMultiplayerManager::removeDLFromActive(__int64 a1, _BYTE *a2)\n{\n  size_t v3; // r8\n  void *v4; // rcx\n  void *Block[2]; // [rsp+30h] [rbp-38h] BYREF\n  __int128 v6; // [rsp+40h] [rbp-28h]\n\n  *(_OWORD *)Block = 0;\n  v6 = 0;\n  v3 = -1;\n  do\n    ++v3;\n  while ( a2[v3] );\n  sub_14003D230(Block, a2, v3);\n  cocos2d::CCDictionary::removeObjectForKey(*(_QWORD *)(a1 + 320), Block);\n  if ( *((_QWORD *)&v6 + 1) > 0xFu )\n  {\n    v4 = Block[0];\n    if ( (unsigned __int64)(*((_QWORD *)&v6 + 1) + 1LL) >= 0x1000 )\n    {\n      v4 = *((void **)Block[0] - 1);\n      if ( (unsigned __int64)((char *)Block[0] - (char *)v4 - 8) > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n    }\n    j_j_free(v4);\n  }\n}", "assembly": "; \n; GJMultiplayerManager::removeDLFromActive from 0x140390a10 to 0x140390ace (190 bytes)\n; \n; 4 xrefs:\n; > GJMultiplayerManager::handleIt @ 0x14039078f\n; > GJMultiplayerManager::handleIt @ 0x1403908ba\n; > GJMultiplayerManager::onJoinLobbyCompleted @ 0x140390b2f\n; > <???> @ 0x140922fc4\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:31:11 +0000\n; \npush    rbx                                                            ; +0x0, 0x140390a10\nsub     rsp, 60h                                                       ; +0x2, 0x140390a12\nmov     rax, cs:__security_cookie                                      ; +0x6, 0x140390a16\nxor     rax, rsp                                                       ; +0xd, 0x140390a1d\nmov     [rsp+68h+var_18], rax                                          ; +0x10, 0x140390a20\nmov     rbx, rcx                                                       ; +0x15, 0x140390a25\nxorps   xmm0, xmm0                                                     ; +0x18, 0x140390a28\nmovups  xmmword ptr [rsp+68h+Block], xmm0                              ; +0x1b, 0x140390a2b\nxorps   xmm1, xmm1                                                     ; +0x20, 0x140390a30\nmovdqu  [rsp+68h+var_28], xmm1                                         ; +0x23, 0x140390a33\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x29, 0x140390a39\ninc     r8                                                             ; +0x30, 0x140390a40\ncmp     byte ptr [rdx+r8], 0                                           ; +0x33, 0x140390a43\njnz     short loc_140390A40                                            ; +0x38, 0x140390a48\nlea     rcx, [rsp+68h+Block]                                           ; +0x3a, 0x140390a4a\ncall    sub_14003D230                                                  ; +0x3f, 0x140390a4f\nnop                                                                    ; +0x44, 0x140390a54\nlea     rdx, [rsp+68h+Block]                                           ; +0x45, 0x140390a55\nmov     rcx, [rbx+140h]                                                ; +0x4a, 0x140390a5a\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 &) ; +0x51, 0x140390a61\nnop                                                                    ; +0x57, 0x140390a67\nmov     rdx, qword ptr [rsp+68h+var_28+8]                              ; +0x58, 0x140390a68\ncmp     rdx, 0Fh                                                       ; +0x5d, 0x140390a6d\njbe     short loc_140390ABB                                            ; +0x61, 0x140390a71\ninc     rdx                                                            ; +0x63, 0x140390a73\nmov     rcx, [rsp+68h+Block]; Block                                    ; +0x66, 0x140390a76\nmov     rax, rcx                                                       ; +0x6b, 0x140390a7b\ncmp     rdx, 1000h                                                     ; +0x6e, 0x140390a7e\njb      short loc_140390AB6                                            ; +0x75, 0x140390a85\nadd     rdx, 27h ; '''                                                 ; +0x77, 0x140390a87\nmov     rcx, [rcx-8]                                                   ; +0x7b, 0x140390a8b\nsub     rax, rcx                                                       ; +0x7f, 0x140390a8f\nsub     rax, 8                                                         ; +0x82, 0x140390a92\ncmp     rax, 1Fh                                                       ; +0x86, 0x140390a96\njbe     short loc_140390AB6                                            ; +0x8a, 0x140390a9a\nmov     [rsp+68h+Reserved], 0; Reserved                                ; +0x8c, 0x140390a9c\nxor     r9d, r9d; LineNo                                               ; +0x95, 0x140390aa5\nxor     r8d, r8d; FileName                                             ; +0x98, 0x140390aa8\nxor     edx, edx; FunctionName                                         ; +0x9b, 0x140390aab\nxor     ecx, ecx; Expression                                           ; +0x9d, 0x140390aad\ncall    cs:_invoke_watson                                              ; +0x9f, 0x140390aaf\nalign 2                                                                ; +0xa5, 0x140390ab5\ncall    j_j_free                                                       ; +0xa6, 0x140390ab6\nmov     rcx, [rsp+68h+var_18]                                          ; +0xab, 0x140390abb\nxor     rcx, rsp; StackCookie                                          ; +0xb0, 0x140390ac0\ncall    __security_check_cookie                                        ; +0xb3, 0x140390ac3\nadd     rsp, 60h                                                       ; +0xb8, 0x140390ac8\npop     rbx                                                            ; +0xbc, 0x140390acc\nretn                                                                   ; +0xbd, 0x140390acd", "xrefs": ["GJMultiplayerManager::handleIt @ 0x14039078f", "GJMultiplayerManager::handleIt @ 0x1403908ba", "GJMultiplayerManager::onJoinLobbyCompleted @ 0x140390b2f", "<???> @ 0x140922fc4"], "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"}