//
// sub_1001E749C from 0x1001e749c to 0x1001e74f0 (84 bytes)
//
// 2 xrefs:
// > sub_1001E7314 @ 0x1001e7420
// > sub_1001E7488 @ 0x1001e7490
//
// 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:00:33 +0000
//
__int64 __fastcall sub_1001E749C(__int64 a1)
{
__int64 v2; // x1
__int64 v3; // x8
sub_100076C88(*(_QWORD *)a1, *(char **)(a1 + 16));
v2 = *(_QWORD *)(a1 + 8);
if ( v2 )
{
v3 = *(_QWORD *)(v2 + 16);
if ( v3 )
{
do
{
v2 = v3;
v3 = *(_QWORD *)(v3 + 16);
}
while ( v3 );
*(_QWORD *)(a1 + 8) = v2;
}
sub_100076C88(*(_QWORD *)a1, (char *)v2);
}
return a1;
}