//
// sub_E1D904 from 0xe1d904 to 0xe1da34 (304 bytes)
//
// 2 xrefs:
// > sub_E1DF14 @ 0xe1dfe4
// > sub_E1E278 @ 0xe1e8f0
//
// 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:09:45 +0000
//
__int64 __fastcall sub_E1D904(__int64 a1)
{
void **v2; // x21
__int64 result; // x0
char *v4; // x20
__int64 v5; // x19
size_t v6; // x0
size_t v7; // x0
int v8; // w3
char *v9; // x0
_BYTE v10[16]; // [xsp+60h] [xbp+60h] BYREF
char v11[40]; // [xsp+70h] [xbp+70h] BYREF
v2 = (void **)sub_E14FF0((__int64)&off_1532940);
result = 27;
if ( v2 )
{
v4 = v11;
v5 = 0;
v6 = strlen(*(const char **)(a1 + 1736));
nullsub_10(v6);
sub_E15074(v2);
v7 = strlen(*(const char **)(a1 + 544));
nullsub_10(v7);
sub_E15074(v2);
sub_E15098(v2, (__int64)v10);
do
{
v8 = (unsigned __int8)v10[v5];
v9 = v4;
++v5;
v4 += 2;
sub_E02430(v9, 3, "%02x", v8);
}
while ( v5 != 16 );
result = sub_E20668(a1 + 1560, "APOP %s %s", *(const char **)(a1 + 536), v11);
if ( !(_DWORD)result )
*(_DWORD *)(a1 + 1672) = 6;
}
return result;
}