//
// sub_10073F458 from 0x10073f458 to 0x10073f5fc (420 bytes)
//
// 1 xrefs:
// > sub_10066E408 @ 0x10066e478
//
// 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 11:13:19 +0000
//
__int64 __fastcall sub_10073F458(__int64 a1, const char *a2, const char *a3)
{
__int64 result; // x0
int v7; // w0
int v8; // w8
_BYTE *v9; // x20
int *v10; // x0
int v11; // w3
int v12; // w4
int v13; // w5
int v14; // w6
int v15; // w7
int *v16; // x0
int v17; // w3
int v18; // w4
int v19; // w5
int v20; // w6
int v21; // w7
void *v22[6]; // [xsp+0h] [xbp-80h] BYREF
unsigned __int8 v23[20]; // [xsp+34h] [xbp-4Ch] BYREF
result = 0;
if ( a1 && a2 && a3 )
{
v7 = sub_1006D0D88(a1);
v8 = v7 + 7;
if ( v7 + 7 < 0 )
v8 = v7 + 14;
v9 = sub_1006AE878((unsigned int)(v8 >> 3), (__int64)"srp_lib.c", 220);
if ( v9 )
{
sub_100708F5C(v22);
v10 = (int *)sub_10070F06C();
sub_100708FB4((__int64)v22, v10, 0);
strlen(a2);
sub_1007091A4((__int64)v22);
sub_1007091A4((__int64)v22);
strlen(a3);
sub_1007091A4((__int64)v22);
sub_100709260(v22, (__int64)v23, nullptr, v11, v12, v13, v14, v15);
v16 = (int *)sub_10070F06C();
sub_100708FB4((__int64)v22, v16, 0);
sub_1006D14BC(a1, v9);
sub_1006D0D88(a1);
sub_1007091A4((__int64)v22);
sub_1006AEDAC(v9);
sub_1007091A4((__int64)v22);
sub_100709260(v22, (__int64)v23, nullptr, v17, v18, v19, v20, v21);
sub_10070930C((__int64)v22);
return sub_1006D1318(v23, 20, 0);
}
else
{
return 0;
}
}
return result;
}