//
// sub_1029E34 from 0x1029e34 to 0x1029e88 (84 bytes)
//
// 4 xrefs:
// > EVP_MD_do_all @ 0x102a0e8
// > EVP_MD_do_all @ 0x102a0f0
// > EVP_MD_do_all_sorted @ 0x102a130
// > EVP_MD_do_all_sorted @ 0x102a138
//
// 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:16 +0000
//
__int64 __fastcall sub_1029E34(__int64 a1, _QWORD *a2)
{
__int64 (__fastcall *v2)(_QWORD, _QWORD, _QWORD, _QWORD); // x5
v2 = (__int64 (__fastcall *)(_QWORD, _QWORD, _QWORD, _QWORD))a2[1];
if ( *(_DWORD *)(a1 + 4) )
return v2(0, *(_QWORD *)(a1 + 8), *(_QWORD *)(a1 + 16), *a2);
else
return v2(*(_QWORD *)(a1 + 16), *(_QWORD *)(a1 + 8), 0, *a2);
}