//
// WHIRLPOOL from 0x10ecef4 to 0x10ecf60 (108 bytes)
//
// 1 xrefs:
// > ??> @ 0x101cb0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:18:05 +0000
//
_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_1568BE0;
WHIRLPOOL_Init(v7);
WHIRLPOOL_Update((__int64)v7, a1, a2);
WHIRLPOOL_Final(v3, (__int64)v7);
return v3;
}