//
// sub_1000B2DA8 from 0x1000b2da8 to 0x1000b2df8 (80 bytes)
//
// 1 xrefs:
// > ??> @ 0x100781510
//
// 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_1000B2DA8(__int64 a1)
{
unsigned __int64 v1; // x8
unsigned __int64 v2; // x9
unsigned __int64 v3; // x9
unsigned __int8 *v4; // x8
v1 = *(_QWORD *)(a1 + 88);
v2 = *(_QWORD *)(a1 + 48);
if ( v1 < v2 )
{
*(_QWORD *)(a1 + 88) = v2;
v1 = v2;
}
if ( (*(_BYTE *)(a1 + 96) & 8) == 0 )
return 0xFFFFFFFFLL;
v3 = *(_QWORD *)(a1 + 32);
if ( v3 < v1 )
{
*(_QWORD *)(a1 + 32) = v1;
v3 = v1;
}
v4 = *(unsigned __int8 **)(a1 + 24);
if ( (unsigned __int64)v4 < v3 )
return *v4;
else
return 0xFFFFFFFFLL;
}