// // sub_8EAC5C from 0x8eac5c to 0x8ead9c (320 bytes) // // 3 xrefs: // > sub_8EB950 @ 0x8eba90 // > sub_8EB950 @ 0x8eba94 // > @ 0x8ebbb0 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:04:11 +0000 // int __fastcall sub_8EAC5C(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