// // sub_1000B38A0 from 0x1000b38a0 to 0x1000b3998 (248 bytes) // // 1 xrefs: // > sub_1000B3698 @ 0x1000b36b0 // // 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 // unsigned __int64 __fastcall sub_1000B38A0(_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