//
// sub_4D6944 from 0x4d6944 to 0x4d699c (88 bytes)
//
// 8 xrefs:
// > GauntletSelectLayer::unlockAnimationStep2 @ 0x4d6fc0
// > GauntletSelectLayer::unlockAnimationStep2 @ 0x4d6fd6
// > GauntletSelectLayer::unlockAnimationStep3 @ 0x4d736e
// > GauntletSelectLayer::unlockAnimationStep3 @ 0x4d7384
// > GauntletSelectLayer::unlockAnimationStep3 @ 0x4d741c
// > GauntletSelectLayer::unlockAnimationStep3 @ 0x4d7426
// > GauntletSelectLayer::playUnlockAnimation @ 0x4d76ba
// > GauntletSelectLayer::playUnlockAnimation @ 0x4d76d0
//
// 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_4D6944(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;
}