//
// sub_10073C418 from 0x10073c418 to 0x10073c488 (112 bytes)
//
// 4 xrefs:
// > sub_10064EDE8 @ 0x10064eedc
// > sub_10064EDE8 @ 0x10064ef4c
// > sub_10065BA8C @ 0x10065bbe8
// > sub_10065BA8C @ 0x10065bc74
//
// 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:17 +0000
//
void *__fastcall sub_10073C418(__int64 a1)
{
_QWORD *v2; // x0
void *v3; // x19
unsigned int (__fastcall *v4)(_QWORD *); // x8
v2 = sub_1006AE878(56, (__int64)"comp_lib.c", 11);
v3 = v2;
if ( !v2 )
return nullptr;
v2[5] = 0;
v2[6] = 0;
v2[3] = 0;
v2[4] = 0;
v2[1] = 0;
v2[2] = 0;
*v2 = 0;
*v2 = a1;
v4 = *(unsigned int (__fastcall **)(_QWORD *))(a1 + 16);
if ( v4 && !v4(v2) )
{
sub_1006AEDAC(v3);
return nullptr;
}
return v3;
}