//
// sub_565FC0 from 0x565fc0 to 0x566018 (88 bytes)
//
// 5 xrefs:
// > PlayerObject::playCompleteEffect @ 0x566442
// > PlayerObject::playDeathEffect @ 0x568f40
// > PlayerObject::playDeathEffect @ 0x568f66
// > PlayerObject::playDeathEffect @ 0x56b186
// > PlayerObject::playDeathEffect @ 0x56b2de
//
// 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_565FC0(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;
}