// // sub_5DD14 from 0x5dd14 to 0x5dd98 (132 bytes) // // 1 xrefs: // > sub_5DAE4 @ 0x5db72 // // 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_5DD14(int a1, int a2, float a3) { int v3; // r4 float v5; // r0 float v6; // s4 float v7; // r0 float v8; // s4 v3 = *(_DWORD *)(a1 + 4); if ( a2 == 2 ) { v7 = powf(10.0, a3 * 0.05); v8 = 0.0; if ( a3 > -80.0 ) v8 = v7; *(float *)(v3 + 36) = v8; return 0; } if ( a2 == 1 ) { v5 = powf(10.0, a3 * 0.05); v6 = 0.0; if ( a3 > -80.0 ) v6 = v5; *(float *)(v3 + 32) = v6; return 0; } return 31; }
GD Web Decomp Icon

GD Web Decomp

Raw Source