//
// sub_100507448 from 0x100507448 to 0x1005074cc (132 bytes)
//
// 0 xrefs:
//
// 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
//
float __fastcall sub_100507448(__int64 a1, int a2, float a3)
{
__int64 v3; // x29
__int64 v4; // x30
int v6; // w0
int v7; // w10
float v9; // [xsp+Ch] [xbp-14h] BYREF
__int64 v10; // [xsp+10h] [xbp-10h]
__int64 v11; // [xsp+18h] [xbp-8h]
v6 = 2;
if ( a2 >= 0x800000 )
{
if ( a2 == 0x800000 )
{
v6 = 3;
}
else if ( a2 == 0x4000000 )
{
return 1.0;
}
}
else
{
if ( a2 == 0x400000 )
v7 = 0;
else
v7 = 2;
if ( a2 == 0x200000 )
v6 = 1;
else
v6 = v7;
}
v10 = v3;
v11 = v4;
sub_10043C9A4(v6, &v9, a3, *(float *)(a1 + 156), *(float *)(a1 + 160), *(float *)(*(_QWORD *)(a1 + 8) + 69112LL));
return v9;
}