//
// sub_10045EAF4 from 0x10045eaf4 to 0x10045eb48 (84 bytes)
//
// 4 xrefs:
// > GJPathPage::playUnlockAnimation @ 0x100461348
// > GJPathPage::unlockAnimationStep2 @ 0x100461a94
// > GJPathPage::unlockAnimationStep3 @ 0x100461de8
// > GJPathPage::unlockAnimationStep3 @ 0x100461efc
//
// 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:05:28 +0000
//
float __fastcall sub_10045EAF4(int a1)
{
int v1; // w8
if ( (unsigned int)(a1 - 1) > 9 )
LOBYTE(v1) = -1;
else
v1 = dword_10076F0B8[a1 - 1];
return (float)(unsigned __int8)v1 / 255.0;
}