//
// sub_10074F07C from 0x10074f07c to 0x10074f1bc (320 bytes)
//
// 1 xrefs:
// > sub_10074E1AC @ 0x10074e24c
//
// 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:29 +0000
//
__int64 __fastcall sub_10074F07C(unsigned int *a1, unsigned int *a2)
{
__int64 v4; // x19
__int64 v5; // x20
int v6; // w23
__int64 v7; // x0
__int64 *v8; // x0
__int16 v10; // w1
int v11; // w3
v4 = sub_10070F9B0((__int64)a1);
v5 = sub_10070F9B0((__int64)a2);
v6 = sub_10070FBA8(a2);
if ( v6 != (unsigned int)sub_10070FBA8(a1) )
{
v10 = 105;
v11 = 549;
LABEL_15:
sub_10074A888(116, v10, (__int64)"gost_ameth.c", v11);
return 0;
}
if ( !v5 )
{
v10 = 115;
v11 = 553;
goto LABEL_15;
}
if ( !v4 )
{
v4 = (__int64)sub_1006E56DC();
if ( !v4 )
{
v10 = 65;
v11 = 559;
goto LABEL_15;
}
v7 = sub_10070FBA8(a2);
if ( !sub_10070F95C((__int64)a1, v7, v4) )
{
v10 = 68;
v11 = 563;
goto LABEL_15;
}
}
v8 = (__int64 *)sub_1006E5C44(v5);
if ( !sub_1006E5C4C(v4, v8) )
{
v10 = 68;
v11 = 568;
goto LABEL_15;
}
if ( sub_1006E5C8C(v4) )
sub_10074BDB0(v4);
return 1;
}