//
// sub_736BB8 from 0x736bb8 to 0x736c10 (88 bytes)
//
// 2 xrefs:
// > sub_6F7E14 @ 0x6f7f28
// > sub_729B1C @ 0x729cd8
//
// 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
//
void *__fastcall sub_736BB8(_DWORD *a1, float a2)
{
void *result; // r0
unsigned int v5; // r3
float v6; // s15
result = memcpy(a1 + 2, &unk_A069E0, 0xDCu);
v5 = 0;
a1[1] = 31;
*a1 = 0;
if ( a2 >= 0.0 )
{
v6 = 1.0;
if ( a2 > 1.0 )
v5 = 256;
else
v6 = 256.0;
if ( a2 <= 1.0 )
v5 = (unsigned int)(float)(a2 * v6);
}
a1[57] = v5;
return result;
}