// // sub_100437F80 from 0x100437f80 to 0x100438024 (164 bytes) // // 1 xrefs: // > @ 0x10084cd00 // // 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_100437F80(__int64 a1, int a2, float *a3, __int64 a4, int a5, int a6, int a7, int a8) { __int64 v10; // x8 float v11; // s0 float v12; // s0 double v13; // d0 v10 = *(_QWORD *)(a1 + 8); if ( a2 == 2 ) { v11 = *(float *)(v10 + 44); if ( v11 <= 0.0 ) { LABEL_4: v12 = -80.0; *a3 = -80.0; if ( !a4 ) return 0; goto LABEL_8; } LABEL_7: v12 = log10f(v11) * 20.0; *a3 = v12; if ( !a4 ) return 0; LABEL_8: v13 = v12; sub_1004C7414(a4, 0x20u, (int)"%.1f", a4, a5, a6, a7, a8, SLOBYTE(v13)); return 0; } if ( a2 == 1 ) { v11 = *(float *)(v10 + 40); if ( v11 <= 0.0 ) goto LABEL_4; goto LABEL_7; } return 31; }
GD Web Decomp Icon

GD Web Decomp

Raw Source