// // 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! // // 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 // 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; }
GD Web Decomp Icon

GD Web Decomp

Raw Source