// // sub_10050C6FC from 0x10050c6fc to 0x10050c7c0 (196 bytes) // // 1 xrefs: // > @ 0x100858578 // // 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_10050C6FC(__int64 *a1, int a2, float a3) { __int64 v3; // x19 float v4; // s1 float v5; // s1 v3 = *a1; switch ( a2 ) { case 2: v5 = 0.0; if ( a3 > -80.0 ) v5 = __exp10f(a3 / 20.0); *(float *)(v3 + 676) = v5; goto LABEL_11; case 1: v4 = 0.0; if ( a3 > -80.0 ) v4 = __exp10f(a3 / 20.0); *(float *)(v3 + 672) = v4; goto LABEL_11; case 0: *(float *)(v3 + 668) = a3; LABEL_11: *(float *)(v3 + 680) = (float)(*(float *)(v3 + 668) / 1000.0) / (float)((float)(*(float *)(v3 + 668) / 1000.0) + (float)(1.0 / (float)*(int *)(v3 + 664))); return 0; } return 31; }
GD Web Decomp Icon

GD Web Decomp

Raw Source