//
// ENGINE_set_default_digests from 0x101d0e8 to 0x101d174 (140 bytes)
//
// 2 xrefs:
// > ENGINE_set_default @ 0x101b218
// > ??> @ 0x43330
//
// 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:16:08 +0000
//
__int64 __fastcall ENGINE_set_default_digests(__int64 a1)
{
__int64 (*v1)(void); // x4
int v3; // w0
__int64 v5; // [xsp+28h] [xbp+28h]
v1 = *(__int64 (**)(void))(a1 + 64);
if ( !v1 )
return 1;
v3 = v1();
if ( v3 > 0 )
return (unsigned int)engine_table_register(&unk_1566428, sub_101D010, a1, v5, (unsigned int)v3);
else
return 1;
}