//
// sub_1004600A0 from 0x1004600a0 to 0x100460150 (176 bytes)
//
// 1 xrefs:
// > sub_100460150 @ 0x1004604f0
//
// 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
//
void __fastcall sub_1004600A0(__int64 a1)
{
int v1; // w20
unsigned int v2; // w8
unsigned int v3; // w21
bool v4; // zf
v1 = *(unsigned __int8 *)(a1 + 1) | ((*(_BYTE *)a1 & 0x7F) << 8);
v2 = bswap32(*(_DWORD *)(a1 + 2));
v3 = bswap32(*(_DWORD *)(a1 + 6));
if ( v1 | v2 | v3 )
v4 = v1 == 0x7FFF;
else
v4 = 1;
if ( !v4 )
{
ldexpf((float)(int)(v2 ^ 0x80000000) + 2147500000.0, v1 - 16414);
ldexpf((float)(int)(v3 ^ 0x80000000) + 2147500000.0, v1 - 16446);
}
}