// // sub_6DB09C from 0x6db09c to 0x6db1dc (320 bytes) // // 3 xrefs: // > sub_6DBD90 @ 0x6dbed0 // > sub_6DBD90 @ 0x6dbed4 // > @ 0x6dbff0 // // 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_6DB09C(int result, _WORD *a2, int a3) { _DWORD *i; // [sp+10h] [bp-1Ch] _WORD *v7; // [sp+14h] [bp-18h] double v8; // [sp+20h] [bp-Ch] for ( i = *(_DWORD **)(result + 12); a3-- > 0; ++i ) { *a2 = HIWORD(*i); v7 = a2 + 1; v8 = ((double)(unsigned __int8)*i + 0.5) * 0.00243902439; *v7++ = (int)(((double)(unsigned __int8)BYTE1(*i) + 0.5) * 0.00243902439 * 32768.0); *v7 = (int)(v8 * 32768.0); a2 = v7 + 1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source