//
// sub_10050D1E0 from 0x10050d1e0 to 0x10050d209 (41 bytes)
//
// 2 xrefs:
// > ??> @ 0x10095c218
// > ??> @ 0x10095c958
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_10050D1E0(__int64 a1)
{
__int64 result; // rax
if ( !*(_BYTE *)(a1 + 356) )
return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1 - 336) + 1304LL))(a1 - 336, 0);
return result;
}