//
// sub_609F0C from 0x609f0c to 0x609f64 (88 bytes)
//
// 8 xrefs:
// > GauntletSelectLayer::playUnlockAnimation @ 0x60b21c
// > GauntletSelectLayer::playUnlockAnimation @ 0x60b232
// > GauntletSelectLayer::unlockAnimationStep2 @ 0x60b40e
// > GauntletSelectLayer::unlockAnimationStep2 @ 0x60b424
// > GauntletSelectLayer::unlockAnimationStep3 @ 0x60b538
// > GauntletSelectLayer::unlockAnimationStep3 @ 0x60b54e
// > GauntletSelectLayer::unlockAnimationStep3 @ 0x60b5e6
// > GauntletSelectLayer::unlockAnimationStep3 @ 0x60b5f0
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:54:47 +0000
//
float *__fastcall sub_609F0C(float *a1, unsigned int a2)
{
int v2; // r6
unsigned int v3; // r5
unsigned int v4; // r4
v2 = (unsigned __int8)a2;
v3 = a2 >> 8;
v4 = HIWORD(a2);
memset(a1, 0, 0x10u);
a1[3] = 1.0;
*a1 = (float)v2 / 255.0;
a1[1] = (float)(unsigned __int8)v3 / 255.0;
a1[2] = (float)(unsigned __int8)v4 / 255.0;
return a1;
}