//
// sub_3FED44 from 0x3fed44 to 0x3fed9c (88 bytes)
//
// 5 xrefs:
// > PlayLayer::spawnFirework @ 0x3ff258
// > PlayLayer::spawnFirework @ 0x3ff288
// > PlayLayer::showCompleteText @ 0x3ffbba
// > PlayLayer::showCompleteText @ 0x3ffbee
// > PlayLayer::setupHasCompleted @ 0x40a1a8
//
// 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:47:23 +0000
//
float *__fastcall sub_3FED44(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;
}