//
// sub_1029218 from 0x1029218 to 0x1029274 (92 bytes)
//
// 2 xrefs:
// > sub_10292F4 @ 0x1029408
// > ??> @ 0x14026d8
//
// 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:15 +0000
//
__int64 __fastcall sub_1029218(__int64 a1, void *a2, size_t a3)
{
int v5; // w21
__int64 result; // x0
v5 = EVP_MD_CTX_md_data(a1);
result = MD5_Update(v5, a2, a3);
if ( (_DWORD)result )
return SHA1_Update(v5 + 92, a2, a3);
return result;
}