// // sub_1005A7B68 from 0x1005a7b68 to 0x1005a7bbc (84 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 11:09:05 +0000 // __int64 __fastcall sub_1005A7B68(__int64 a1, int a2, int a3, unsigned int *a4) { unsigned int v4; // w9 _BOOL4 v5; // w10 _BOOL4 v6; // w11 bool v7; // zf int v8; // w10 int v9; // w11 v4 = dword_1009DAF58[a2]; *a4 = v4; v5 = a3 < 0; v6 = a2 != 0; v7 = !v6 || !v5; if ( v6 && v5 ) v8 = -128; else v8 = 128; if ( v7 ) v9 = a2 + 1; else v9 = a2 - 1; *a4 = (int)((dword_1009DAF58[v9] - v4) * a3) / v8 + v4; return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source