//
// sub_100586208 from 0x100586208 to 0x1005862b8 (176 bytes)
//
// 1 xrefs:
// > sub_1005862B8 @ 0x100586658
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:08:32 +0000
//
void __fastcall sub_100586208(__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);
}
}