//
// sub_1004C4FB8 from 0x1004c4fb8 to 0x1004c4fdc (36 bytes)
//
// 3 xrefs:
// > sub_1004C1DF0 @ 0x1004c1df0
// > ??> @ 0x100828930
// > ??> @ 0x100828ac0
//
// 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
//
__int64 __fastcall sub_1004C4FB8(__int64 a1, int a2, float a3)
{
unsigned int v3; // w8
if ( a2 <= 0 )
v3 = 0;
else
v3 = a2;
if ( v3 >= 0x100 )
v3 = 256;
*(float *)(a1 + 108) = a3;
*(_DWORD *)(a1 + 112) = v3;
return 0;
}