//
// sub_100457C64 from 0x100457c64 to 0x100457cc4 (96 bytes)
//
// 1 xrefs:
// > ??> @ 0x100827830
//
// 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_100457C64(__int64 a1, int a2, char a3)
{
__int64 result; // x0
__int64 v6; // [xsp+8h] [xbp-18h] BYREF
if ( (a3 & 0x10) == 0 )
return 68;
result = (*(__int64 (__fastcall **)(__int64, __int64 *))(*(_QWORD *)a1 + 136LL))(a1, &v6);
if ( !(_DWORD)result )
{
LODWORD(v6) = a2;
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 128LL))(a1, v6);
}
return result;
}