//
// WHIRLPOOL from 0xad81f8 to 0xad824c (84 bytes)
//
// 1 xrefs:
// > ??> @ 0x84fcc
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:09:29 +0000
//
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_D35FE8;
WHIRLPOOL_Init(v7);
WHIRLPOOL_Update(v7, a1, a2);
WHIRLPOOL_Final(v3, (int)v7);
return v3;
}