//
// sub_79280 from 0x79280 to 0x792f6 (118 bytes)
//
// 3 xrefs:
// > sub_779E6 @ 0x779f0
// > sub_78EB8 @ 0x79094
// > sub_79454 @ 0x797c0
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:41:12 +0000
//
int __fastcall sub_79280(int a1)
{
int v1; // r2
float v2; // s0
float v3; // s2
unsigned int v4; // r3
float v6; // s2
v1 = a1 + 11484;
v2 = (float)((float)*(unsigned int *)(a1 + 11532) * 0.001)
/ (float)(*(float *)(a1 + 11548) * (float)*(int *)(a1 + 11512));
v3 = (float)(v2 * 0.001) * (float)*(int *)(*(_DWORD *)(a1 + 4) + 12);
v4 = (unsigned int)(float)(v3 + 0.5);
if ( *(_DWORD *)(a1 + 11488) > v4 )
v4 = *(_DWORD *)(a1 + 11488);
*(_DWORD *)(a1 + 11484) = v4;
v6 = (float)v4 / v3;
*(float *)(v1 + 8) = v6;
*(float *)(v1 + 56) = v6 * v2;
return 0;
}