//
// WHIRLPOOL from 0x8c31f8 to 0x8c324c (84 bytes)
//
// 1 xrefs:
// > ??> @ 0x6b54c
//
// 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
//
unsigned __int8 *__fastcall WHIRLPOOL(unsigned __int8 *a1, unsigned int a2, unsigned __int8 *a3)
{
unsigned __int8 *v3; // r5
char v7[172]; // [sp+0h] [bp-ACh] BYREF
v3 = a3;
if ( !a3 )
v3 = (unsigned __int8 *)&unk_AD4D60;
WHIRLPOOL_Init(v7);
WHIRLPOOL_Update(v7, a1, a2);
WHIRLPOOL_Final(v3, (int)v7);
return v3;
}