//
// sub_10048C95C from 0x10048c95c to 0x10048ca00 (164 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008516a0
//
// 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_10048C95C(__int64 *a1, int a2, float a3)
{
__int64 v3; // x19
__int64 result; // x0
int *v5; // x1
int *v6; // [xsp+8h] [xbp-18h] BYREF
v3 = *a1;
switch ( a2 )
{
case 0:
*(float *)(v3 + 632) = a3;
goto LABEL_7;
case 1:
*(float *)(v3 + 636) = a3;
goto LABEL_7;
case 2:
*(float *)(v3 + 644) = a3;
goto LABEL_7;
case 3:
*(float *)(v3 + 648) = a3;
LABEL_7:
result = sub_10043E710(*(_QWORD *)(v3 + 168), &v6, 16, 1);
if ( !(_DWORD)result )
{
*(_BYTE *)v6 = 7;
v5 = v6;
*((_QWORD *)v6 + 1) = v3;
result = sub_10043E7B4(*(_QWORD *)(v3 + 168), (__int64)v5, 1);
}
break;
default:
result = 31;
break;
}
return result;
}