//
// sub_7F7A0 from 0x7f7a0 to 0x7f82c (140 bytes)
//
// 1 xrefs:
// > ??> @ 0x114dc0
//
// 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_7F7A0(__int64 *a1, int a2, _QWORD *a3, _DWORD *a4, _BYTE *a5)
{
__int64 v5; // x22
float v7; // s8
float v10; // s0
__int64 result; // x0
if ( a2 != 4 )
return 31;
v5 = *a1;
v7 = *(float *)(*a1 + 756);
sub_7FA68(0.05);
if ( v7 <= -80.0 )
v10 = 0.0;
result = 0;
*(float *)(v5 + 768) = v10;
*a3 = v5 + 764;
*a4 = 8;
if ( a5 )
*a5 = 0;
return result;
}