// // BLAKE2s_Update from 0xe87678 to 0xe8774c (212 bytes) // // 2 xrefs: // > sub_E74888 @ 0xe748a8 // > @ 0x7adf0 // // 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 // __int64 __fastcall BLAKE2s_Update(__int64 a1, int *a2, size_t a3) { __int64 v3; // x3 int *v4; // x21 size_t v6; // x2 __int64 v8; // x3 int *v9; // x1 unsigned __int64 v10; // x2 v3 = *(_QWORD *)(a1 + 112); v4 = a2; v6 = 64 - v3; if ( 64 - v3 < a3 ) { if ( v3 ) { v4 = (int *)((char *)a2 + v6); a3 -= v6; memcpy((void *)(a1 + v3 + 48), a2, v6); sub_E84870((int *)a1, (int *)(a1 + 48), 0x40u); *(_QWORD *)(a1 + 112) = 0; v3 = 0; if ( a3 <= 0x40 ) goto LABEL_7; } else { v3 = 0; if ( a3 <= 0x40 ) goto LABEL_7; } v8 = a3 & 0x3F; if ( (a3 & 0x3F) == 0 ) v8 = 64; v9 = v4; v10 = a3 - v8; a3 = v8; v4 = (int *)((char *)v4 + v10); sub_E84870((int *)a1, v9, v10); v3 = *(_QWORD *)(a1 + 112); } LABEL_7: memcpy((void *)(a1 + v3 + 48), v4, a3); *(_QWORD *)(a1 + 112) += a3; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source