//
// sub_10071A0B0 from 0x10071a0b0 to 0x10071a15c (172 bytes)
//
// 1 xrefs:
// > sub_10073BD80 @ 0x10073bec8
//
// 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:01 +0000
//
__int64 __fastcall sub_10071A0B0(__int64 a1, char *__s)
{
__int64 v4; // x22
__int64 v5; // x0
__int64 v7; // x8
__int64 v8; // x0
if ( __s )
{
if ( a1
&& ((v4 = *(_QWORD *)(a1 + 176)) != 0 || (v4 = sub_10071B748(&unk_1009C20F8), (*(_QWORD *)(a1 + 176) = v4) != 0))
&& ((v5 = *(_QWORD *)(v4 + 24)) != 0 || (v5 = sub_10071F07C(), (*(_QWORD *)(v4 + 24) = v5) != 0)) )
{
return sub_1007219B8(v5, __s);
}
else
{
return 0;
}
}
else
{
if ( a1 )
{
v7 = *(_QWORD *)(a1 + 176);
if ( v7 )
{
v8 = *(_QWORD *)(v7 + 24);
if ( v8 )
{
sub_10071F088(v8);
*(_QWORD *)(*(_QWORD *)(a1 + 176) + 24LL) = 0;
}
}
}
return 1;
}
}