//
// sub_100695EA8 from 0x100695ea8 to 0x100695f5c (180 bytes)
//
// 1 xrefs:
// > sub_100676718 @ 0x1006768f4
//
// 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:34 +0000
//
__int64 __fastcall sub_100695EA8(_QWORD *a1, int a2, __int64 a3)
{
__int64 v4; // x20
unsigned __int8 v5; // w8
__int64 v6; // x19
int v7; // t1
__uint32_t v8; // w0
int v9; // t1
if ( a2 )
v4 = *a1 + 35320LL;
else
v4 = *a1 + 35256LL;
if ( !(unsigned int)sub_10069A1C4("Digest", a3, 6) )
return 61;
v7 = *(unsigned __int8 *)(a3 + 6);
v6 = a3 + 6;
v5 = v7;
if ( v7 )
{
do
{
if ( (char)v5 < 0 )
v8 = __maskrune(v5, 0x4000u);
else
v8 = _DefaultRuneLocale.__runetype[v5] & 0x4000;
if ( !v8 )
break;
v9 = *(unsigned __int8 *)++v6;
v5 = v9;
}
while ( v9 );
}
return sub_1006A533C(v6, v4);
}