//
// sub_10054FA88 from 0x10054fa88 to 0x10054faf8 (112 bytes)
//
// 12 xrefs:
// > sub_10057AD10 @ 0x10057ae64
// > sub_10057AD10 @ 0x10057aecc
// > sub_10057AD10 @ 0x10057aef0
// > sub_10057AD10 @ 0x10057af60
// > sub_10057AD10 @ 0x10057afa0
// > sub_10057AD10 @ 0x10057b020
// > sub_10057AD10 @ 0x10057b0cc
// > sub_10057AD10 @ 0x10057b140
// > sub_10057AD10 @ 0x10057b16c
// > sub_10057AD10 @ 0x10057b368
// > sub_10057AD10 @ 0x10057b3b0
// > sub_10057AD10 @ 0x10057b3e4
//
// 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_10054FA88(__int64 a1, char *__s)
{
size_t v4; // x20
_QWORD *v5; // x21
v4 = strlen(__s);
v5 = *(_QWORD **)(*(_QWORD *)a1 + 952LL);
if ( !v5 )
return 0;
while ( !(unsigned int)sub_10057405C(*v5, __s, v4) )
{
v5 = (_QWORD *)v5[1];
if ( !v5 )
return 0;
}
return *v5;
}