{"type": "func", "start": 6443341904, "end": 6443341981, "name": "sub_1800D9850", "pseudocode": "// \n// sub_1800D9850 from 0x1800d9850 to 0x1800d989d (77 bytes)\n// \n// 3 xrefs:\n// > sub_1800E7670 @ 0x1800e76cc\n// > sub_1800E7B20 @ 0x1800e7bb8\n// > <???> @ 0x1801ff138\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 10:54:13 +0000\n// \n\n__int64 __fastcall sub_1800D9850(_BYTE *a1, char *a2)\n{\n  if ( (int)sub_1800B7F50(a2) >= 256 )\n    return 31;\n  sub_1800B7D20(a1, a2, 256);\n  return 0;\n}", "assembly": "; \n; sub_1800D9850 from 0x1800d9850 to 0x1800d989d (77 bytes)\n; \n; 3 xrefs:\n; > sub_1800E7670 @ 0x1800e76cc\n; > sub_1800E7B20 @ 0x1800e7bb8\n; > <???> @ 0x1801ff138\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 10:54:13 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800d9850\npush    rdi                                                            ; +0x5, 0x1800d9855\nsub     rsp, 20h                                                       ; +0x6, 0x1800d9856\nmov     rdi, rcx                                                       ; +0xa, 0x1800d985a\nmov     rbx, rdx                                                       ; +0xd, 0x1800d985d\nmov     rcx, rdx                                                       ; +0x10, 0x1800d9860\ncall    sub_1800B7F50                                                  ; +0x13, 0x1800d9863\ncmp     eax, 100h                                                      ; +0x18, 0x1800d9868\njl      short loc_1800D987F                                            ; +0x1d, 0x1800d986d\nmov     eax, 1Fh                                                       ; +0x1f, 0x1800d986f\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x24, 0x1800d9874\nadd     rsp, 20h                                                       ; +0x29, 0x1800d9879\npop     rdi                                                            ; +0x2d, 0x1800d987d\nretn                                                                   ; +0x2e, 0x1800d987e\nmov     r8d, 100h                                                      ; +0x2f, 0x1800d987f\nmov     rdx, rbx                                                       ; +0x35, 0x1800d9885\nmov     rcx, rdi                                                       ; +0x38, 0x1800d9888\ncall    sub_1800B7D20                                                  ; +0x3b, 0x1800d988b\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x40, 0x1800d9890\nxor     eax, eax                                                       ; +0x45, 0x1800d9895\nadd     rsp, 20h                                                       ; +0x47, 0x1800d9897\npop     rdi                                                            ; +0x4b, 0x1800d989b\nretn                                                                   ; +0x4c, 0x1800d989c", "xrefs": ["sub_1800E7670 @ 0x1800e76cc", "sub_1800E7B20 @ 0x1800e7bb8", "<???> @ 0x1801ff138"], "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"}