//
// sub_10074E0B8 from 0x10074e0b8 to 0x10074e13c (132 bytes)
//
// 1 xrefs:
// > sub_100753C68 @ 0x100753cf4
//
// 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:28 +0000
//
__int64 __fastcall sub_10074E0B8(__int64 a1)
{
_BYTE *v2; // x0
char *v3; // x1
_QWORD *v4; // x20
void *v6; // [xsp+8h] [xbp-18h] BYREF
v2 = sub_1006D0E9C();
v6 = v2;
v3 = off_1009F20E8;
if ( off_1009F20E8 )
{
v4 = &unk_1009F20D0;
while ( 1 )
{
sub_1006D3B20((__int64 *)&v6, v3);
if ( !(unsigned int)sub_1006D15C8((__int64)v6, *(_QWORD *)(a1 + 32)) )
break;
v3 = (char *)v4[7];
v4 += 4;
if ( !v3 )
{
v2 = v6;
goto LABEL_6;
}
}
sub_1006D0E38(v6);
return *(unsigned int *)v4;
}
else
{
LABEL_6:
sub_1006D0E38(v2);
return 0;
}
}