// // sub_180070690 from 0x180070690 to 0x18007076d (221 bytes) // // 2 xrefs: // > @ 0x1801ad100 // > @ 0x1801f990c // // 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_180070690(__int64 *a1, int a2, float a3) { __int64 v3; // rbx int v4; // edx v3 = *a1; if ( a2 ) { v4 = a2 - 1; if ( v4 ) { if ( v4 != 1 ) return 31; if ( a3 > -80.0 ) *(float *)(v3 + 684) = powf(10.0, a3 * 0.050000001); else *(_DWORD *)(v3 + 684) = 0; } else if ( a3 > -80.0 ) { *(float *)(v3 + 680) = powf(10.0, a3 * 0.050000001); } else { *(_DWORD *)(v3 + 680) = 0; } } else { *(float *)(v3 + 676) = a3; } *(float *)(v3 + 688) = (float)(*(float *)(v3 + 676) * 0.001) / (float)((float)(1.0 / (float)*(int *)(v3 + 672)) + (float)(*(float *)(v3 + 676) * 0.001)); return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source