// // _isleadbyte_l from 0x18013da24 to 0x18013da6f (75 bytes) // // 2 xrefs: // > _mbtowc_l @ 0x18013735b // > @ 0x180203b00 // // 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 // int __cdecl isleadbyte_l(int C, _locale_t Locale) { __int64 v2; // rbx int result; // eax _QWORD v4[3]; // [rsp+20h] [rbp-28h] BYREF char v5; // [rsp+38h] [rbp-10h] v2 = C; _LocaleUpdate::_LocaleUpdate((_LocaleUpdate *)v4, Locale); if ( (unsigned int)(v2 + 1) > 0x100 ) result = 0; else result = *(_WORD *)(*(_QWORD *)v4[1] + 2 * v2) & 0x8000; if ( v5 ) *(_DWORD *)(v4[0] + 936LL) &= ~2u; return result; }