//
// sub_100675C60 from 0x100675c60 to 0x100675cec (140 bytes)
//
// 2 xrefs:
// > sub_1006A22C8 @ 0x1006a2498
// > sub_1006A22C8 @ 0x1006a24c4
//
// 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:11 +0000
//
__int64 __fastcall sub_100675C60(__int64 *a1, char *__s)
{
size_t v4; // x20
__int64 v5; // x8
_QWORD *v6; // x8
_QWORD *v7; // x21
v4 = strlen(__s);
v5 = *a1;
if ( *((_BYTE *)a1 + 739) && *(_BYTE *)(v5 + 976) )
v6 = (_QWORD *)(v5 + 960);
else
v6 = (_QWORD *)(v5 + 952);
v7 = (_QWORD *)*v6;
if ( !*v6 )
return 0;
while ( !(unsigned int)sub_10069A1C4(*v7, __s, v4) )
{
v7 = (_QWORD *)v7[1];
if ( !v7 )
return 0;
}
return *v7;
}