// // BLAKE2b_Update from 0xe84694 to 0xe84768 (212 bytes) // // 2 xrefs: // > sub_E7481C @ 0xe7483c // > @ 0x71b50 // // 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 BLAKE2b_Update(__int64 *a1, __int64 *a2, size_t a3) { __int64 v3; // x3 __int64 *v4; // x21 size_t v6; // x2 __int64 v8; // x3 __int64 *v9; // x1 unsigned __int64 v10; // x2 v3 = a1[28]; v4 = a2; v6 = 128 - v3; if ( 128 - v3 < a3 ) { if ( v3 ) { v4 = (__int64 *)((char *)a2 + v6); a3 -= v6; memcpy((char *)a1 + v3 + 96, a2, v6); sub_E81284(a1, a1 + 12, 0x80u); a1[28] = 0; v3 = 0; if ( a3 <= 0x80 ) goto LABEL_7; } else { v3 = 0; if ( a3 <= 0x80 ) goto LABEL_7; } v8 = a3 & 0x7F; if ( (a3 & 0x7F) == 0 ) v8 = 128; v9 = v4; v10 = a3 - v8; a3 = v8; v4 = (__int64 *)((char *)v4 + v10); sub_E81284(a1, v9, v10); v3 = a1[28]; } LABEL_7: memcpy((char *)a1 + v3 + 96, v4, a3); a1[28] += a3; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source