{"type": "func", "start": 6443540096, "end": 6443540155, "name": "sub_180109E80", "pseudocode": "// \n// sub_180109E80 from 0x180109e80 to 0x180109ebb (59 bytes)\n// \n// 10 xrefs:\n// > sub_1800B4680 @ 0x1800b4b89\n// > sub_1800B4680 @ 0x1800b4be0\n// > sub_1800B58C0 @ 0x1800b58d0\n// > sub_1800B58F0 @ 0x1800b5906\n// > sub_1800D9EB0 @ 0x1800d9ff5\n// > sub_1800DA320 @ 0x1800da359\n// > sub_1800DA550 @ 0x1800da82c\n// > sub_1801122A0 @ 0x180112325\n// > <???> @ 0x180201730\n// > <???> @ 0x18020173c\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__int64 __fastcall sub_180109E80(SOCKET s)\n{\n  if ( s == -1 )\n    return 0;\n  shutdown(s, 2);\n  if ( closesocket(s) != -1 )\n    return 0;\n  else\n    return 43;\n}", "assembly": "; \n; sub_180109E80 from 0x180109e80 to 0x180109ebb (59 bytes)\n; \n; 10 xrefs:\n; > sub_1800B4680 @ 0x1800b4b89\n; > sub_1800B4680 @ 0x1800b4be0\n; > sub_1800B58C0 @ 0x1800b58d0\n; > sub_1800B58F0 @ 0x1800b5906\n; > sub_1800D9EB0 @ 0x1800d9ff5\n; > sub_1800DA320 @ 0x1800da359\n; > sub_1800DA550 @ 0x1800da82c\n; > sub_1801122A0 @ 0x180112325\n; > <???> @ 0x180201730\n; > <???> @ 0x18020173c\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\npush    rbx                                                            ; +0x0, 0x180109e80\nsub     rsp, 20h                                                       ; +0x2, 0x180109e82\nmov     rbx, rcx                                                       ; +0x6, 0x180109e86\ncmp     rcx, 0FFFFFFFFFFFFFFFFh                                        ; +0x9, 0x180109e89\njz      short loc_180109EB3                                            ; +0xd, 0x180109e8d\nmov     edx, 2; how                                                    ; +0xf, 0x180109e8f\ncall    cs:shutdown                                                    ; +0x14, 0x180109e94\nmov     rcx, rbx; s                                                    ; +0x1a, 0x180109e9a\ncall    cs:closesocket                                                 ; +0x1d, 0x180109e9d\ncmp     eax, 0FFFFFFFFh                                                ; +0x23, 0x180109ea3\njnz     short loc_180109EB3                                            ; +0x26, 0x180109ea6\nmov     eax, 2Bh ; '+'                                                 ; +0x28, 0x180109ea8\nadd     rsp, 20h                                                       ; +0x2d, 0x180109ead\npop     rbx                                                            ; +0x31, 0x180109eb1\nretn                                                                   ; +0x32, 0x180109eb2\nxor     eax, eax                                                       ; +0x33, 0x180109eb3\nadd     rsp, 20h                                                       ; +0x35, 0x180109eb5\npop     rbx                                                            ; +0x39, 0x180109eb9\nretn                                                                   ; +0x3a, 0x180109eba", "xrefs": ["sub_1800B4680 @ 0x1800b4b89", "sub_1800B4680 @ 0x1800b4be0", "sub_1800B58C0 @ 0x1800b58d0", "sub_1800B58F0 @ 0x1800b5906", "sub_1800D9EB0 @ 0x1800d9ff5", "sub_1800DA320 @ 0x1800da359", "sub_1800DA550 @ 0x1800da82c", "sub_1801122A0 @ 0x180112325", "<???> @ 0x180201730", "<???> @ 0x18020173c"], "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"}