//
// sub_6F0D0 from 0x6f0d0 to 0x6f158 (136 bytes)
//
// 1 xrefs:
// > sub_D6B9C @ 0xd6cdc
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_6F0D0(__int64 a1)
{
__int64 v2; // x0
__int64 v3; // x21
__int64 i; // x22
unsigned int v5; // w20
__int64 v7; // [xsp+0h] [xbp-30h] BYREF
char v8; // [xsp+Ch] [xbp-24h]
v7 = a1;
v8 = 0;
v2 = sub_703D0(&v7);
v3 = 0;
for ( i = 48; ; i += 56 )
{
if ( v3 >= *(int *)(a1 + 1684) )
{
v5 = 0;
goto LABEL_8;
}
if ( *(_QWORD *)(*(_QWORD *)(a1 + 1696) + i) )
{
v2 = sub_D5B14(*(_QWORD *)(a1 + 1648));
if ( (_DWORD)v2 )
break;
}
++v3;
}
v5 = v2;
LABEL_8:
sub_701D8(v2);
return v5;
}