//
// wcspbrk from 0x180134cbc to 0x180134cf0 (52 bytes)
//
// 1 xrefs:
// > is_usable_drive_or_unc_root @ 0x180129779
//
// This function is hookable on this platform (idp: pc, 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 10:55:00 +0000
//
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;
}