//
// sub_10050E810 from 0x10050e810 to 0x10050e839 (41 bytes)
//
// 2 xrefs:
// > ??> @ 0x100b68bd8
// > ??> @ 0x100b693a0
//
// 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 12:31:35 +0000
//
__int64 __fastcall sub_10050E810(__int64 a1)
{
__int64 result; // rax
if ( !*(_BYTE *)(a1 + 388) )
return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1 - 336) + 1352LL))(a1 - 336, 0);
return result;
}