// // BLAKE2s_Final from 0xe8774c to 0xe87834 (232 bytes) // // 2 xrefs: // > sub_E74860 @ 0xe74884 // > @ 0x92f88 // // 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_Final(_DWORD *a1, unsigned __int64 a2) { __int64 v4; // x2 _OWORD *v5; // x1 v4 = *(_QWORD *)(a2 + 112); *(_DWORD *)(a2 + 40) = -1; memset((void *)(a2 + v4 + 48), 0, 64 - v4); sub_E84870((int *)a2, (int *)(a2 + 48), *(_QWORD *)(a2 + 112)); v5 = a1 + 4; if ( (unsigned __int64)a1 < a2 + 16 && a2 < (unsigned __int64)v5 ) { *a1 = *(_DWORD *)a2; a1[1] = *(_DWORD *)(a2 + 4); a1[2] = *(_DWORD *)(a2 + 8); a1[3] = *(_DWORD *)(a2 + 12); a1[4] = *(_DWORD *)(a2 + 16); a1[5] = *(_DWORD *)(a2 + 20); a1[6] = *(_DWORD *)(a2 + 24); a1[7] = *(_DWORD *)(a2 + 28); OPENSSL_cleanse((_BYTE *)a2, 0x78u); return 1; } else { *(_OWORD *)a1 = *(_OWORD *)a2; *v5 = *(_OWORD *)(a2 + 16); OPENSSL_cleanse((_BYTE *)a2, 0x78u); return 1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source