//
// sub_C374C from 0xc374c to 0xc3754 (8 bytes)
//
// 1 xrefs:
// > ??> @ 0x11a2f0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:14:45 +0000
//
__int64 __fastcall sub_C374C(__int64 *a1, int a2, _QWORD *a3, _DWORD *a4, _BYTE *a5)
{
__int64 v5; // x8
float v6; // s0
__int64 result; // x0
__int64 v8; // x8
__int64 v9; // x0
v9 = *a1;
if ( a2 != 2 )
return 31;
if ( *(_DWORD *)(v9 + 560) == -1 )
{
v6 = 0.0;
}
else
{
v5 = *(_QWORD *)(v9 + 576);
if ( v5 )
v6 = *(float *)(v5 + 636);
else
v6 = 1.0;
}
v8 = v9 + 564;
*(float *)(v9 + 568) = *(float *)(v9 + 552) * v6;
result = 0;
*a3 = v8;
*a4 = 8;
if ( a5 )
*a5 = 0;
return result;
}