//
// WHIRLPOOL from 0xe6eef4 to 0xe6ef60 (108 bytes)
//
// 1 xrefs:
// > ??> @ 0xc61e0
//
// 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
//
_QWORD *__fastcall WHIRLPOOL(unsigned __int8 *a1, unsigned __int64 a2, _QWORD *a3)
{
_QWORD *v3; // x19
_QWORD v7[21]; // [xsp+48h] [xbp+48h] BYREF
v3 = a3;
if ( !a3 )
v3 = &unk_125FDE0;
WHIRLPOOL_Init(v7);
WHIRLPOOL_Update((__int64)v7, a1, a2);
WHIRLPOOL_Final(v3, (__int64)v7);
return v3;
}