// // BLAKE2s_Final from 0x8e0428 to 0x8e04b0 (136 bytes) // // 2 xrefs: // > sub_8C90E4 @ 0x8c90fc // > @ 0x6b9ac // // 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 // int __fastcall BLAKE2s_Final(char *a1, int a2) { int v2; // r2 char *v5; // r8 int v6; // r5 int v7; // t1 char *v8; // r0 int v10; // [sp+4h] [bp-4h] BYREF v2 = *(_DWORD *)(a2 + 112); *(_DWORD *)(a2 + 40) = -1; memset((void *)(a2 + v2 + 48), 0, 64 - v2); sub_8DE664((int *)a2, (char *)(a2 + 48), *(_DWORD *)(a2 + 112)); v5 = a1 + 32; v6 = a2 - 4; do { v7 = *(_DWORD *)(v6 + 4); v6 += 4; v8 = a1; a1 += 4; v10 = v7; memcpy(v8, &v10, 4u); } while ( a1 != v5 ); OPENSSL_cleanse((_BYTE *)a2, 0x74u); return 1; }