//
// sub_10073EE54 from 0x10073ee54 to 0x10073eea0 (76 bytes)
//
// 3 xrefs:
// > sub_100662258 @ 0x100662670
// > sub_100662EA0 @ 0x100662ee8
// > sub_100663634 @ 0x1006636d8
//
// 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
//
_QWORD *__fastcall sub_10073EE54(_QWORD *a1, _QWORD *a2)
{
_QWORD *v2; // x9
_QWORD *v3; // x8
_QWORD *v4; // x9
v2 = (_QWORD *)*a1;
if ( !*a1 )
return nullptr;
while ( 1 )
{
v3 = v2;
v2 = (_QWORD *)v2[2];
if ( !v2 )
break;
if ( *v3 == *a2 )
{
v4 = v3;
goto LABEL_7;
}
}
v4 = nullptr;
LABEL_7:
if ( *v3 == *a2 )
return v3;
else
return v4;
}