{"type": "func", "start": 6443363280, "end": 6443363348, "name": "sub_1800DEBD0", "pseudocode": "// \n// sub_1800DEBD0 from 0x1800debd0 to 0x1800dec14 (68 bytes)\n// \n// 2 xrefs:\n// > sub_1800DDC10 @ 0x1800de0a3\n// > <???> @ 0x1801baf14\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\nFARPROC __fastcall sub_1800DEBD0(LPCSTR lpProcName)\n{\n  HMODULE v2; // rcx\n  FARPROC result; // rax\n\n  v2 = *((HMODULE *)sub_1800D99B0((__int64)&unk_1801AB18C) + 85);\n  if ( !v2 )\n    return (FARPROC)qword_1801AC218(lpProcName);\n  result = GetProcAddress(v2, lpProcName);\n  if ( !result )\n    return (FARPROC)qword_1801AC218(lpProcName);\n  return result;\n}", "assembly": "; \n; sub_1800DEBD0 from 0x1800debd0 to 0x1800dec14 (68 bytes)\n; \n; 2 xrefs:\n; > sub_1800DDC10 @ 0x1800de0a3\n; > <???> @ 0x1801baf14\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, 0x1800debd0\nsub     rsp, 20h                                                       ; +0x2, 0x1800debd2\nmov     rbx, rcx                                                       ; +0x6, 0x1800debd6\nlea     rcx, unk_1801AB18C                                             ; +0x9, 0x1800debd9\ncall    sub_1800D99B0                                                  ; +0x10, 0x1800debe0\nmov     rcx, [rax+2A8h]; hModule                                       ; +0x15, 0x1800debe5\ntest    rcx, rcx                                                       ; +0x1c, 0x1800debec\njz      short loc_1800DEBFF                                            ; +0x1f, 0x1800debef\nmov     rdx, rbx; lpProcName                                           ; +0x21, 0x1800debf1\ncall    cs:GetProcAddress                                              ; +0x24, 0x1800debf4\ntest    rax, rax                                                       ; +0x2a, 0x1800debfa\njnz     short loc_1800DEC0E                                            ; +0x2d, 0x1800debfd\nmov     rcx, rbx                                                       ; +0x2f, 0x1800debff\nadd     rsp, 20h                                                       ; +0x32, 0x1800dec02\npop     rbx                                                            ; +0x36, 0x1800dec06\njmp     cs:qword_1801AC218                                             ; +0x37, 0x1800dec07\nadd     rsp, 20h                                                       ; +0x3e, 0x1800dec0e\npop     rbx                                                            ; +0x42, 0x1800dec12\nretn                                                                   ; +0x43, 0x1800dec13", "xrefs": ["sub_1800DDC10 @ 0x1800de0a3", "<???> @ 0x1801baf14"], "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"}