//
// wcspbrk from 0x180134cbc to 0x180134cf0 (52 bytes)
//
// 1 xrefs:
// > is_usable_drive_or_unc_root @ 0x180129779
//
// 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
//
wchar_t *__cdecl wcspbrk(const wchar_t *String, const wchar_t *Control)
{
const wchar_t *v2; // r8
wchar_t v3; // ax
while ( 1 )
{
if ( !*String )
return nullptr;
v2 = Control;
if ( *Control )
break;
LABEL_6:
++String;
}
v3 = *Control;
while ( v3 != *String )
{
v3 = *++v2;
if ( !*v2 )
goto LABEL_6;
}
return (wchar_t *)String;
}