//
// sub_696E0 from 0x696e0 to 0x6975c (124 bytes)
//
// 5 xrefs:
// > sub_68674 @ 0x686f8
// > sub_694B8 @ 0x696b4
// > sub_8B300 @ 0x8b444
// > sub_97694 @ 0x97710
// > sub_A285C @ 0xa28e0
//
// 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 12:13:56 +0000
//
__int64 __fastcall sub_696E0(__int64 a1)
{
unsigned int i; // w20
__int64 v4; // [xsp+0h] [xbp-20h] BYREF
int v5; // [xsp+Ch] [xbp-14h] BYREF
v5 = 0;
if ( !(*(unsigned int (__fastcall **)(__int64, int *))(*(_QWORD *)a1 + 232LL))(a1, &v5) )
{
for ( i = 0; (int)i < v5; ++i )
{
if ( !(*(unsigned int (__fastcall **)(__int64, _QWORD, __int64 *))(*(_QWORD *)a1 + 240LL))(a1, i, &v4) )
*(_WORD *)(v4 + 50) = i;
}
}
return 0;
}