//
// sub_100457D30 from 0x100457d30 to 0x100457d88 (88 bytes)
//
// 1 xrefs:
// > ??> @ 0x100827838
//
// 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_100457D30(__int64 a1, _DWORD *a2, char a3)
{
__int64 result; // x0
int v5; // [xsp+8h] [xbp-18h] BYREF
if ( !a2 )
return 31;
if ( (a3 & 0x10) == 0 )
return 68;
result = (*(__int64 (__fastcall **)(__int64, int *))(*(_QWORD *)a1 + 136LL))(a1, &v5);
if ( !(_DWORD)result )
*a2 = v5;
return result;
}