//
// sub_100682928 from 0x100682928 to 0x100682978 (80 bytes)
//
// 4 xrefs:
// > sub_100693C98 @ 0x1006941c8
// > sub_100693C98 @ 0x1006946bc
// > sub_100693C98 @ 0x100694abc
// > sub_100693C98 @ 0x100694acc
//
// 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:11:18 +0000
//
__int64 __fastcall sub_100682928(__int64 a1, _QWORD **a2)
{
_QWORD *v2; // x8
if ( !a2 )
return 0;
v2 = *a2;
if ( !*a2 )
return 0;
while ( *v2 != a1 )
{
v2 = (_QWORD *)v2[2];
if ( !v2 )
return 0;
}
sub_100691D08(a2, v2, 0);
return 1;
}