//
// sub_1800E1240 from 0x1800e1240 to 0x1800e1284 (68 bytes)
//
// 2 xrefs:
// > sub_1800E0280 @ 0x1800e0713
// > ??> @ 0x1801c5178
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:22:36 +0000
//
FARPROC __fastcall sub_1800E1240(LPCSTR lpProcName)
{
HMODULE v2; // rcx
FARPROC result; // rax
v2 = *((HMODULE *)sub_1800DE110((__int64)&unk_1801B520C) + 85);
if ( !v2 )
return (FARPROC)qword_1801B6298(lpProcName);
result = GetProcAddress(v2, lpProcName);
if ( !result )
return (FARPROC)qword_1801B6298(lpProcName);
return result;
}