// // sub_10008E32C from 0x10008e32c to 0x10008e424 (248 bytes) // // 1 xrefs: // > sub_10008E124 @ 0x10008e13c // // 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 10:58:22 +0000 // unsigned __int64 __fastcall sub_10008E32C(_DWORD *a1, unsigned __int64 a2) { __int64 v3; // x8 __int64 v4; // x10 unsigned __int64 result; // x0 __int64 v6; // x8 unsigned __int64 v7; // x9 unsigned __int64 v8; // x8 if ( a2 < 9 ) { if ( a2 < 4 ) { result = 0x9AE16A3B2F90404FLL; if ( a2 ) { v8 = (0xC949D7C7509E6557LL * (a2 | (4LL * *((unsigned __int8 *)a1 + a2 - 1)))) ^ (0x9AE16A3B2F90404FLL * (*(unsigned __int8 *)a1 | ((unsigned __int64)*((unsigned __int8 *)a1 + (a2 >> 1)) << 8))); return 0x9AE16A3B2F90404FLL * (v8 ^ (v8 >> 47)); } } else { v6 = *(unsigned int *)((char *)a1 + a2 - 4); v7 = 0x9DDFEA08EB382D69LL * (((unsigned int)(8 * *a1) + a2) ^ v6); return 0x9DDFEA08EB382D69LL * ((0x9DDFEA08EB382D69LL * (v6 ^ (v7 >> 47) ^ v7)) ^ ((0x9DDFEA08EB382D69LL * (v6 ^ (v7 >> 47) ^ v7)) >> 47)); } } else { v3 = *(_QWORD *)((char *)a1 + a2 - 8); v4 = __ROR8__(v3 + a2, a2); return (0x9DDFEA08EB382D69LL * ((0x9DDFEA08EB382D69LL * (v4 ^ ((0x9DDFEA08EB382D69LL * (v4 ^ *(_QWORD *)a1)) >> 47) ^ (0x9DDFEA08EB382D69LL * (v4 ^ *(_QWORD *)a1)))) ^ ((0x9DDFEA08EB382D69LL * (v4 ^ ((0x9DDFEA08EB382D69LL * (v4 ^ *(_QWORD *)a1)) >> 47) ^ (0x9DDFEA08EB382D69LL * (v4 ^ *(_QWORD *)a1)))) >> 47))) ^ v3; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source