//
// sub_10045AF20 from 0x10045af20 to 0x10045afb0 (144 bytes)
//
// 1 xrefs:
// > ??> @ 0x100827a10
//
// 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_10045AF20(__int64 a1, __int64 a2, __int64 a3, __int64 a4, __int64 a5, int a6)
{
__int64 result; // x0
if ( !a6 )
return sub_10050BB7C(*(_QWORD *)(a1 + 112), a2, a3, a4, a5, 64, 1);
result = sub_100508B28(a1, a2, a3, a4, a5, 1);
if ( !(_DWORD)result )
return sub_10050BB7C(*(_QWORD *)(a1 + 112), a2, a3, a4, a5, 64, 1);
return result;
}