Dataset Viewer
instruction
stringlengths 25
17.8k
| response
stringclasses 1
value |
---|---|
// attributes: thunk
__int64 __fastcall std::ios_base::Init::Init(std::ios_base::Init *this)
{
return _ZNSt8ios_base4InitC1Ev(this);
}
|
This opensource is libicu
|
__int64 __fastcall u_vfprintf_75(int a1, const char *a2, __int64 a3)
{
__int64 v4; // r14
unsigned int v5; // r12d
_QWORD v7[39]; // [rsp+0h] [rbp-138h] BYREF
v7[33] = __readfsqword(0x28u);
if ( strlen(a2) + 1 <= 0x3F )
{
u_charsToUChars_75();
return (unsigned int)u_vfprintf_u_75(a1, (int)v7, a3);
}
else
{
v4 = uprv_malloc_75();
if ( v4 )
{
u_charsToUChars_75();
v5 = u_vfprintf_u_75(a1, v4, a3);
uprv_free_75();
}
else
{
return 0;
}
}
return v5;
}
|
This opensource is libicu
|
_QWORD *__fastcall u_fopen_u_75(__int64 a1, const char *a2, const char *a3, const char *a4)
{
int v6; // edx
int v7; // eax
char *v8; // rax
char *v9; // rbp
int v10; // edx
_QWORD *v11; // r13
unsigned int v13; // [rsp+Ch] [rbp-1BCh]
char v14[8]; // [rsp+20h] [rbp-1A8h] BYREF
__int16 v15; // [rsp+28h] [rbp-1A0h]
int v16; // [rsp+2Ch] [rbp-19Ch]
char v17[296]; // [rsp+60h] [rbp-168h] BYREF
unsigned __int64 v18; // [rsp+188h] [rbp-40h]
v18 = __readfsqword(0x28u);
icu_75::UnicodeString::UnicodeString();
if ( v15 < 0 )
v6 = v16;
else
v6 = v15 >> 5;
v7 = icu_75::UnicodeString::extract((icu_75::UnicodeString *)v14, 0, v6, v17, 0x128u);
if ( v7 <= 295 )
{
v9 = v17;
}
else
{
v13 = v7 + 1;
v8 = (char *)uprv_malloc_75();
v9 = v8;
if ( !v8 )
{
v11 = 0LL;
goto LABEL_11;
}
if ( v15 < 0 )
v10 = v16;
else
v10 = v15 >> 5;
icu_75::UnicodeString::extract((icu_75::UnicodeString *)v14, 0, v10, v8, v13);
}
v11 = u_fopen_75(v9, a2, a3, a4);
if ( v9 != v17 )
uprv_free_75();
LABEL_11:
icu_75::UnicodeString::~UnicodeString((icu_75::UnicodeString *)v14);
return v11;
}
|
This opensource is libicu
|
__int64 __fastcall u_fsetcodepage_75(__int64 a1, _QWORD *a2)
{
__int64 v2; // rax
v2 = a2[5];
if ( a2[3] != v2 || v2 != a2[4] )
return 0xFFFFFFFFLL;
ucnv_close_75();
a2[2] = ucnv_open_75();
return 0LL;
}
|
This opensource is libicu
|
int fscanf_2(char **bufp, const char *format, ...)
{
gcc_va_list va; // [rsp+0h] [rbp-D8h] BYREF
unsigned __int64 v4; // [rsp+18h] [rbp-C0h]
va_start(va, format);
v4 = __readfsqword(0x28u);
return u_vfprintf_75((int)bufp, format, (__int64)va);
}
|
This opensource is libicu
|
__int64 __fastcall u_vfscanf_75(__int64 a1, const char *a2, __int64 a3)
{
__int64 v4; // r15
unsigned int v5; // r12d
_QWORD v7[39]; // [rsp+0h] [rbp-138h] BYREF
v7[33] = __readfsqword(0x28u);
if ( (int)(strlen(a2) + 1) <= 63 )
{
u_charsToUChars_75();
return (unsigned int)u_vfscanf_u_75(a1, (__int64)v7, a3);
}
else
{
v4 = uprv_malloc_75();
if ( v4 )
{
u_charsToUChars_75();
v5 = u_vfscanf_u_75(a1, v4, a3);
uprv_free_75();
}
else
{
return 0;
}
}
return v5;
}
|
This opensource is libicu
|
int fscanf(char **bufp, const char *format, ...)
{
gcc_va_list va; // [rsp+0h] [rbp-D8h] BYREF
unsigned __int64 v4; // [rsp+18h] [rbp-C0h]
va_start(va, format);
v4 = __readfsqword(0x28u);
return u_vsscanf_u_75((__int64)bufp, (__int64)format, (__int64)va);
}
|
This opensource is libicu
|
_QWORD *__fastcall finit_owner(_IO_FILE *stream, const char *a2, const char *a3, char a4)
{
_QWORD *v6; // rax
_QWORD *v7; // r12
int v8; // eax
if ( !stream )
return 0LL;
v6 = (_QWORD *)uprv_malloc_75();
v7 = v6;
if ( !v6 )
return 0LL;
*v6 = 0LL;
v6[269] = 0LL;
memset(
(void *)((unsigned __int64)(v6 + 1) & 0xFFFFFFFFFFFFFFF8LL),
0,
8LL * (((unsigned int)v6 - (((_DWORD)v6 + 8) & 0xFFFFFFF8) + 2160) >> 3));
v8 = fileno(stream);
v7[1] = stream;
*((_DWORD *)v7 + 539) = v8;
v7[5] = v7 + 13;
v7[3] = v7 + 13;
v7[4] = v7 + 13;
if ( !u_locbund_init_75((__int64)(v7 + 6), a2) )
{
uprv_free_75();
return 0LL;
}
if ( !a3 || *a3 )
v7[2] = ucnv_open_75();
*((_BYTE *)v7 + 2152) = a4;
return v7;
}
|
This opensource is libicu
|
// attributes: thunk
__int64 ucnv_getMaxCharSize_75()
{
return ucnv_getMaxCharSize_75();
}
|
This opensource is libicu
|
// attributes: thunk
__int64 umtx_unlock_75()
{
return umtx_unlock_75();
}
|
This opensource is libicu
|
_QWORD *__fastcall u_fadopt_75(_IO_FILE *a1, const char *a2, const char *a3)
{
return finit_owner(a1, a2, a3, 1);
}
|
This opensource is libicu
|
// attributes: thunk
__int64 u_strncpy_75()
{
return u_strncpy_75();
}
|
This opensource is libicu
|
__int64 __fastcall u_fgetc_75(__int64 a1)
{
unsigned __int16 v2; // [rsp+6h] [rbp-12h] BYREF
unsigned __int64 v3; // [rsp+8h] [rbp-10h]
v3 = __readfsqword(0x28u);
ufile_getch_75(a1, &v2);
return v2;
}
|
This opensource is libicu
|
__int64 __fastcall u_file_read_75(__int64 a1, int a2, __int64 a3)
{
unsigned int v4; // r13d
const void *v7; // rsi
int v8; // ebx
void *v9; // rdi
int v10; // edx
v4 = 0;
v7 = *(const void **)(a3 + 24);
do
{
v10 = (__int64)(*(_QWORD *)(a3 + 32) - (_QWORD)v7) >> 1;
if ( v10 <= 0 )
{
ufile_fill_uchar_buffer_75(a3);
v7 = *(const void **)(a3 + 24);
v10 = (__int64)(*(_QWORD *)(a3 + 32) - (_QWORD)v7) >> 1;
}
v8 = a2 - v4;
v9 = (void *)(a1 + 2LL * (int)v4);
if ( (int)(a2 - v4) > v10 )
v8 = v10;
v4 += v8;
memcpy(v9, v7, 2LL * v8);
v7 = (const void *)(2LL * v8 + *(_QWORD *)(a3 + 24));
*(_QWORD *)(a3 + 24) = v7;
}
while ( v8 && a2 > (int)v4 );
return v4;
}
|
This opensource is libicu
|
// attributes: thunk
__int64 unum_formatDouble_75()
{
return unum_formatDouble_75();
}
|
This opensource is libicu
|
// attributes: thunk
int fflush(FILE *stream)
{
return fflush(stream);
}
|
This opensource is libicu
|
char16_t *__fastcall ufmt_defaultCPToUnicode_75(const char *a1, int a2, char16_t *a3)
{
if ( u_getDefaultConverter_75() )
{
if ( a2 <= 0 )
{
strlen(a1);
if ( !a3 )
goto LABEL_5;
}
else if ( !a3 )
{
LABEL_5:
u_releaseDefaultConverter_75();
return a3;
}
ucnv_toUnicode_75();
*a3 = 0;
goto LABEL_5;
}
return 0LL;
}
|
This opensource is libicu
|
void __fastcall __noreturn u_fopen_u_75_cold()
{
struct _Unwind_Exception *v0; // rbp
icu_75::UnicodeString *v1; // r12
icu_75::UnicodeString::~UnicodeString(v1);
_Unwind_Resume(v0);
}
|
This opensource is libicu
|
__int64 (**init_proc())(void)
{
__int64 (**result)(void); // rax
result = &_gmon_start__;
if ( &_gmon_start__ )
return (__int64 (**)(void))_gmon_start__();
return result;
}
|
This opensource is libicu
|
__int64 __fastcall u_fclose_75(__int64 a1)
{
__int64 result; // rax
if ( a1 )
{
u_fflush_75((_QWORD *)a1);
ufile_close_translit_75(a1);
if ( *(_BYTE *)(a1 + 2152) )
fclose(*(FILE **)(a1 + 8));
u_locbund_close_75(a1 + 48);
ucnv_close_75();
return uprv_free_75();
}
return result;
}
|
This opensource is libicu
|
// attributes: thunk
__int64 umtx_lock_75()
{
return umtx_lock_75();
}
|
This opensource is libicu
|
// attributes: thunk
char *strcpy(char *dest, const char *src)
{
return strcpy(dest, src);
}
|
This opensource is libicu
|
// attributes: thunk
__int64 unum_formatInt64_75()
{
return unum_formatInt64_75();
}
|
This opensource is libicu
|
__int64 __fastcall u_vfprintf_u_75(int a1, int a2, __int64 a3)
{
unsigned int v4; // [rsp+Ch] [rbp-14h] BYREF
unsigned __int64 v5; // [rsp+10h] [rbp-10h]
v5 = __readfsqword(0x28u);
v4 = 0;
u_printf_parse_75((unsigned int)&g_stream_handler, a2, a1, 0, a1 + 48, (unsigned int)&v4, a3);
return v4;
}
|
This opensource is libicu
|
// attributes: thunk
__int64 ucnv_toUnicode_75()
{
return ucnv_toUnicode_75();
}
|
This opensource is libicu
|
__int64 __fastcall u_sprintf_write(_DWORD *a1, const char16_t *a2, int a3)
{
unsigned int v3; // r12d
v3 = a3;
if ( *(_QWORD *)a1 )
{
if ( a1[2] <= a3 )
v3 = a1[2];
u_strncpy_75();
a1[2] -= v3;
}
return v3;
}
|
This opensource is libicu
|
__int64 __fastcall u_printf_uchar_handler(__int64 a1, __int64 a2, __int64 a3, __int64 a4, _QWORD *a5)
{
__int16 v6; // [rsp+6h] [rbp-12h] BYREF
unsigned __int64 v7; // [rsp+8h] [rbp-10h]
v7 = __readfsqword(0x28u);
v6 = *a5;
return (*(__int64 (__fastcall **)(__int64, __int64, __int16 *, __int64))(a1 + 8))(a2, a4, &v6, 1LL);
}
|
This opensource is libicu
|
// attributes: thunk
__int64 u_strToUpper_75()
{
return u_strToUpper_75();
}
|
This opensource is libicu
|
// attributes: thunk
FILE *fopen(const char *filename, const char *modes)
{
return fopen(filename, modes);
}
|
This opensource is libicu
|
__int64 uprintf_cleanup(void)
{
__int64 result; // rax
if ( gStdOut )
{
u_fclose_75(gStdOut);
gStdOut = 0LL;
}
result = 1LL;
gStdOutInitOnce = 0;
_mm_mfence();
return result;
}
|
This opensource is libicu
|
__int64 __fastcall u_scanf_char_handler(__int64 a1, __int64 a2, _QWORD *a3, __int64 a4, __int64 a5, _DWORD *a6)
{
if ( *(int *)a2 < 0 )
*(_DWORD *)a2 = 1;
*(_BYTE *)(a2 + 13) = 0;
return u_scanf_string_handler(a1, a2, a3, a4, a5, a6);
}
|
This opensource is libicu
|
// attributes: thunk
__int64 unum_setTextAttribute_75()
{
return unum_setTextAttribute_75();
}
|
This opensource is libicu
|
int fscanf_0(char **bufp, const char *format, ...)
{
gcc_va_list va; // [rsp+0h] [rbp-D8h] BYREF
unsigned __int64 v4; // [rsp+18h] [rbp-C0h]
va_start(va, format);
v4 = __readfsqword(0x28u);
return u_vsscanf_75((__int64)bufp, format, (__int64)va);
}
|
This opensource is libicu
|
// attributes: thunk
__int64 ucnv_getMinCharSize_75()
{
return ucnv_getMinCharSize_75();
}
|
This opensource is libicu
|
__int64 __fastcall u_printf_octal_handler(__int64 a1, __int64 a2, __int64 a3, __int64 a4, unsigned __int64 *a5)
{
unsigned __int64 v6; // rdx
bool v7; // zf
int v8; // r9d
unsigned int v9; // r14d
int v11; // [rsp+Ch] [rbp-83Ch] BYREF
char16_t v12; // [rsp+10h] [rbp-838h] BYREF
unsigned __int64 v13; // [rsp+818h] [rbp-30h]
v6 = *a5;
v13 = __readfsqword(0x28u);
v7 = *(_BYTE *)(a4 + 20) == 0;
v11 = 1024;
if ( !v7 )
{
v6 = (unsigned __int16)v6;
goto LABEL_3;
}
if ( *(_BYTE *)(a4 + 22) )
{
LABEL_3:
v8 = *(_DWORD *)a4;
if ( *(_DWORD *)a4 != -1 )
goto LABEL_4;
goto LABEL_11;
}
v8 = *(_DWORD *)a4;
v6 = (unsigned int)v6;
if ( *(_DWORD *)a4 != -1 )
goto LABEL_4;
LABEL_11:
if ( *(_BYTE *)(a4 + 18) )
v8 = *(_DWORD *)(a4 + 4);
LABEL_4:
ufmt_64tou_75(&v12, &v11, v6, 8uLL, 0, v8);
v9 = v11;
if ( *(_BYTE *)(a4 + 14) && v12 != 48 && v11 <= 1022 )
{
v9 = v11 + 1;
__memmove_chk();
v11 = v9;
v12 = 48;
}
return (*(__int64 (__fastcall **)(__int64, __int64, char16_t *, _QWORD))(a1 + 8))(a2, a4, &v12, v9);
}
|
This opensource is libicu
|
unsigned __int64 __fastcall u_printf_set_sign(__int64 a1, _BYTE *a2, char a3, __int64 a4, _DWORD *a5)
{
unsigned __int64 v6; // [rsp+18h] [rbp-30h]
v6 = __readfsqword(0x28u);
if ( a3 )
{
*a5 = unum_getTextAttribute_75();
if ( !*a2 )
unum_getSymbol_75();
unum_setTextAttribute_75();
}
else
{
*a5 = 0;
}
return __readfsqword(0x28u) ^ v6;
}
|
This opensource is libicu
|
// attributes: thunk
__int64 u_memmove_75()
{
return u_memmove_75();
}
|
This opensource is libicu
|
__int64 __fastcall u_printf_char_handler(__int64 a1, __int64 a2, __int64 a3, __int64 a4, _QWORD *a5)
{
__int64 v6; // rcx
char v8; // [rsp+1h] [rbp-37h] BYREF
char16_t v9[3]; // [rsp+2h] [rbp-36h] BYREF
unsigned __int64 v10; // [rsp+8h] [rbp-30h]
v10 = __readfsqword(0x28u);
v8 = *a5;
ufmt_defaultCPToUnicode_75(&v8, 2, v9);
v6 = 1LL;
if ( v8 )
v6 = (unsigned int)u_strlen_75();
return (*(__int64 (__fastcall **)(__int64, __int64, char16_t *, __int64))(a1 + 8))(a2, a4, v9, v6);
}
|
This opensource is libicu
|
__int64 __fastcall u_vsprintf_75(__int64 a1, const char *a2, __int64 a3)
{
return u_vsnprintf_75(a1, 0x7FFFFFFF, a2, a3);
}
|
This opensource is libicu
|
__int64 __fastcall u_fputc_75(unsigned int a1, void ***a2)
{
int v2; // ebp
int v3; // r8d
__int64 result; // rax
__int16 v5[2]; // [rsp+4h] [rbp-24h] BYREF
unsigned __int64 v6; // [rsp+8h] [rbp-20h]
v6 = __readfsqword(0x28u);
if ( a1 <= 0xFFFF )
{
v5[0] = a1;
v2 = 1;
goto LABEL_3;
}
if ( a1 <= 0x10FFFF )
{
v2 = 2;
v5[0] = ((int)a1 >> 10) - 10304;
v5[1] = a1 & 0x3FF | 0xDC00;
LABEL_3:
v3 = u_file_write_75(v5, v2, a2);
result = a1;
if ( v2 == v3 )
return result;
}
return 0xFFFFLL;
}
|
This opensource is libicu
|
__int64 __fastcall ufile_getch32_75(__int64 a1, _DWORD *a2)
{
unsigned __int16 *v2; // rax
unsigned __int64 v3; // rdx
unsigned int v4; // r8d
int v5; // ecx
unsigned __int16 *v7; // rdx
int v8; // eax
v2 = *(unsigned __int16 **)(a1 + 24);
v3 = *(_QWORD *)(a1 + 32);
*a2 = 0xFFFF;
if ( v3 <= (unsigned __int64)(v2 + 1) )
{
ufile_fill_uchar_buffer_75(a1);
v2 = *(unsigned __int16 **)(a1 + 24);
v3 = *(_QWORD *)(a1 + 32);
}
v4 = 0;
if ( (unsigned __int64)v2 < v3 )
{
v5 = *v2;
v4 = 1;
*(_QWORD *)(a1 + 24) = v2 + 1;
*a2 = v5;
if ( (v5 & 0xFFFFFC00) == 55296 )
{
if ( (unsigned __int64)(v2 + 1) >= v3 )
{
*a2 = 0xFFFF;
return 0;
}
else
{
v7 = v2 + 2;
v8 = v2[1];
*(_QWORD *)(a1 + 24) = v7;
*a2 = (v5 << 10) + v8 - 56613888;
}
}
}
return v4;
}
|
This opensource is libicu
|
__int64 __fastcall ufmt_isdigit_75(unsigned __int16 a1, int a2)
{
int v2; // eax
v2 = ufmt_digitvalue_75(a1);
return (v2 < a2) & (unsigned __int8)(v2 >= 0);
}
|
This opensource is libicu
|
__int64 __fastcall u_locbund_getNumberFormat_75(__int64 a1, int a2)
{
int v2; // r13d
__int64 *v3; // rbx
__int64 v4; // r12
__int64 v6; // rdi
__int64 v7; // rax
if ( a2 <= 0 )
return 0LL;
v2 = a2 - 1;
v3 = (__int64 *)(a1 + 8LL * a2);
v4 = *v3;
if ( !*v3 )
{
if ( *(_BYTE *)(a1 + 48) )
{
umtx_lock_75();
v4 = *v3;
if ( !*v3 )
{
if ( gPosixNumberFormat[v2]
|| (gPosixNumberFormat[v2] = unum_open_75(),
ucln_io_registerCleanup_75(0LL, locbund_cleanup),
gPosixNumberFormat[v2]) )
{
v7 = unum_clone_75();
*v3 = v7;
v4 = v7;
}
else
{
v4 = *v3;
}
}
umtx_unlock_75();
}
else
{
v6 = unum_open_75();
*v3 = v6;
return v6;
}
}
return v4;
}
|
This opensource is libicu
|
_QWORD *__fastcall u_fopen_75(const char *a1, const char *a2, const char *a3, const char *a4)
{
FILE *v6; // rax
FILE *v7; // rbp
_QWORD *result; // rax
v6 = fopen(a1, a2);
if ( !v6 )
return 0LL;
v7 = v6;
result = finit_owner(v6, a3, a4, 1);
if ( !result )
{
fclose(v7);
return 0LL;
}
return result;
}
|
This opensource is libicu
|
__int64 __fastcall u_scanf_uinteger_handler(__int64 a1, __int64 a2, _WORD **a3, __int64 a4, __int64 a5, _DWORD *a6)
{
return u_scanf_integer_handler(a1, a2, a3, a4, a5, a6);
}
|
This opensource is libicu
|
// attributes: thunk
__int64 icu_75::umtx_initImplPreInit()
{
return _ZN6icu_7520umtx_initImplPreInitERNS_9UInitOnceE();
}
|
This opensource is libicu
|
// attributes: thunk
__int64 utrans_transUChars_75()
{
return utrans_transUChars_75();
}
|
This opensource is libicu
|
__int64 __fastcall ufmt_uto64_75(const char16_t *a1, int *a2, char a3)
{
const char16_t *v3; // r15
int v4; // r13d
__int64 v5; // r12
__int64 v6; // rbp
int v7; // ebx
const char16_t *v8; // r14
unsigned __int16 v9; // di
v3 = a1;
v4 = a3;
v5 = 0LL;
v6 = a3;
v7 = 0;
v8 = &a1[*a2];
while ( (unsigned __int8)ufmt_isdigit_75(*v3, v4) && v3 < v8 )
{
v9 = *v3++;
++v7;
v5 = (int)ufmt_digitvalue_75(v9) + v6 * v5;
}
*a2 = v7;
return v5;
}
|
This opensource is libicu
|
__int64 u_sprintf_u_75(__int64 a1, int a2, ...)
{
gcc_va_list va; // [rsp+0h] [rbp-D8h] BYREF
unsigned __int64 v4; // [rsp+18h] [rbp-C0h]
va_start(va, a2);
v4 = __readfsqword(0x28u);
return u_vsnprintf_u_75(a1, 0x7FFFFFFF, a2, (__int64)va);
}
|
This opensource is libicu
|
__int64 __fastcall u_scanf_double_handler(
__int64 a1,
__int64 a2,
double **a3,
double a4,
__int64 a5,
__int64 a6,
_DWORD *a7)
{
int v8; // r13d
__int64 NumberFormat_75; // r14
__int64 result; // rax
unsigned int v11; // r13d
char v12; // cl
double *v13; // rax
float v14; // xmm0_4
v8 = u_scanf_skip_leading_ws(a1, *(_WORD *)(a2 + 6));
ufile_fill_uchar_buffer_75(a1);
NumberFormat_75 = u_locbund_getNumberFormat_75(a1 + 48, 1);
result = 0LL;
if ( NumberFormat_75 )
{
v11 = u_scanf_skip_leading_positive_sign(a1, NumberFormat_75, 0) + v8;
unum_parseDouble_75();
v12 = *(_BYTE *)(a2 + 8);
if ( !v12 )
{
v13 = *a3;
if ( *(_BYTE *)(a2 + 11) )
{
*v13 = a4;
}
else if ( *(_BYTE *)(a2 + 9) )
{
*(long double *)v13 = a4;
}
else
{
v14 = a4;
*(float *)v13 = v14;
}
}
*(_QWORD *)(a1 + 24) = *(_QWORD *)(a1 + 24);
result = v11;
*a7 = v12 == 0;
}
return result;
}
|
This opensource is libicu
|
__int64 __fastcall u_printf_spellout_handler(__int64 a1, __int64 a2, __int64 a3, __int64 a4, double *a5)
{
double v5; // xmm1_8
__int64 NumberFormat_75; // rbp
__int64 result; // rax
char v9; // dl
unsigned int v10; // r9d
unsigned int v11; // r9d
unsigned int v12; // [rsp+8h] [rbp-1070h]
int v13; // [rsp+24h] [rbp-1054h] BYREF
int v14; // [rsp+28h] [rbp-1050h]
int v15; // [rsp+2Ch] [rbp-104Ch]
char v16[24]; // [rsp+30h] [rbp-1048h] BYREF
__int16 v17[1028]; // [rsp+830h] [rbp-848h] BYREF
unsigned __int64 v18; // [rsp+1038h] [rbp-40h]
v5 = *a5;
v18 = __readfsqword(0x28u);
v13 = 2048;
v14 = 0;
v17[0] = 0;
NumberFormat_75 = u_locbund_getNumberFormat_75(a3, 5);
result = 0LL;
if ( NumberFormat_75 )
{
unum_getAttribute_75();
unum_getAttribute_75();
unum_setAttribute_75();
v9 = *(_BYTE *)(a4 + 17);
if ( v9 )
u_printf_set_sign(NumberFormat_75, (_BYTE *)(a4 + 15), v9, (__int64)v17, &v13);
v10 = unum_formatDouble_75();
if ( v14 > 0 )
v10 = 0;
v12 = v10;
unum_setAttribute_75();
unum_setAttribute_75();
v11 = v12;
if ( *(_BYTE *)(a4 + 17) )
{
v15 = 0;
unum_setTextAttribute_75();
v11 = v12;
}
return (*(__int64 (__fastcall **)(__int64, __int64, char *, _QWORD, double))(a1 + 8))(a2, a4, v16, v11, v5);
}
return result;
}
|
This opensource is libicu
|
// attributes: thunk
__int64 ucnv_close_75()
{
return ucnv_close_75();
}
|
This opensource is libicu
|
// attributes: thunk
__int64 u_strToLower_75()
{
return u_strToLower_75();
}
|
This opensource is libicu
|
int GLOBAL__sub_I__Z4menuv()
{
std::ios_base::Init::Init((std::ios_base::Init *)&std::__ioinit);
return _cxa_atexit((void (__fastcall *)(void *))&std::ios_base::Init::~Init, &std::__ioinit, &_dso_handle);
}
|
This opensource is libicu
|
__int64 __fastcall u_fgetcx_75(__int64 a1)
{
unsigned int v2; // [rsp+4h] [rbp-14h] BYREF
unsigned __int64 v3; // [rsp+8h] [rbp-10h]
v3 = __readfsqword(0x28u);
ufile_getch32_75(a1, &v2);
return v2;
}
|
This opensource is libicu
|
__int64 __fastcall u_printf_simple_percent_handler(__int64 (__fastcall **a1)(__int64, void *, __int64), __int64 a2)
{
return (*a1)(
a2,
&u_printf_simple_percent_handler(u_printf_stream_handler const*,void *,ULocaleBundle *,u_printf_spec_info const*,ufmt_args const*)::PERCENT,
1LL);
}
|
This opensource is libicu
|
__int64 __fastcall u_printf_scidbl_handler(__int64 a1, __int64 a2, __int64 a3, const __m128i *a4, double *a5)
{
int v8; // edi
__int64 v9; // rax
double v10; // xmm1_8
__int64 result; // rax
__int64 NumberFormat_75; // r15
unsigned int v13; // [rsp+0h] [rbp-68h]
__m128i v14; // [rsp+10h] [rbp-58h] BYREF
__int64 v15; // [rsp+20h] [rbp-48h]
unsigned __int64 v16; // [rsp+28h] [rbp-40h]
v8 = a4->m128i_i32[0];
v16 = __readfsqword(0x28u);
v9 = a4[1].m128i_i64[0];
v10 = *a5;
v14 = _mm_loadu_si128(a4);
v15 = v9;
if ( v8 == -1 )
{
uprv_trunc_75();
v14.m128i_i16[5] = 102;
v14.m128i_i32[0] = 0;
return u_printf_double_handler(a1, a2, a3, (__int64)&v14, a5);
}
if ( v10 < 0.0001 )
{
v14.m128i_i16[5] -= 2;
return u_printf_scientific_handler(a1, a2, a3, (__int64)&v14, a5);
}
if ( v8 <= 0 && v10 >= 1000000.0 )
{
LABEL_14:
v14.m128i_i16[5] -= 2;
if ( v8 == -1 )
v14.m128i_i32[0] = 5;
return u_printf_scientific_handler(a1, a2, a3, (__int64)&v14, a5);
}
uprv_pow10_75();
if ( v10 > 0.0001 )
{
v8 = v14.m128i_i32[0];
goto LABEL_14;
}
NumberFormat_75 = u_locbund_getNumberFormat_75(a3, 1);
result = 0LL;
if ( NumberFormat_75 )
{
unum_getAttribute_75();
v14.m128i_i16[5] = 102;
unum_setAttribute_75();
unum_setAttribute_75();
v13 = u_printf_double_handler(a1, a2, a3, (__int64)&v14, a5);
unum_setAttribute_75();
unum_setAttribute_75();
return v13;
}
return result;
}
|
This opensource is libicu
|
int fscanf_1(char **bufp, const char *format, ...)
{
gcc_va_list va; // [rsp+0h] [rbp-D8h] BYREF
unsigned __int64 v4; // [rsp+18h] [rbp-C0h]
va_start(va, format);
v4 = __readfsqword(0x28u);
return u_vfprintf_u_75((int)bufp, (int)format, (__int64)va);
}
|
This opensource is libicu
|
__int64 __fastcall u_vsnprintf_75(__int64 a1, int a2, const char *a3, __int64 a4)
{
__int64 v5; // rbx
unsigned int v6; // r12d
_QWORD v8[41]; // [rsp+0h] [rbp-148h] BYREF
v8[33] = __readfsqword(0x28u);
if ( (int)(strlen(a3) + 1) <= 63 )
{
u_charsToUChars_75();
return (unsigned int)u_vsnprintf_u_75(a1, a2, (int)v8, a4);
}
else
{
v5 = uprv_malloc_75();
if ( v5 )
{
u_charsToUChars_75();
v6 = u_vsnprintf_u_75(a1, a2, v5, a4);
uprv_free_75();
}
else
{
return 0;
}
}
return v6;
}
|
This opensource is libicu
|
__int64 __fastcall ufmt_utop_75(const char16_t *a1, int *a2)
{
__int64 v2; // rbx
int v3; // r12d
__int64 v4; // r14
int v5; // r15d
__int64 *v6; // r14
char v7; // al
__int64 v9[9]; // [rsp+0h] [rbp-48h] BYREF
v2 = 0LL;
v9[1] = __readfsqword(0x28u);
v9[0] = 0LL;
while ( 1 )
{
v3 = v2;
if ( a1[v2] != 48 && !(unsigned __int8)u_isspace_75() )
break;
++v2;
}
v4 = (int)v2;
v5 = v2 - 1;
if ( (int)v2 < *a2 )
{
while ( 1 )
{
v5 = v4;
if ( !(unsigned __int8)ufmt_isdigit_75(a1[v4], 16) )
break;
LODWORD(v2) = ++v4;
if ( *a2 <= (int)v4 )
goto LABEL_10;
}
LODWORD(v2) = v4;
v5 = v4 - 1;
LABEL_10:
if ( (int)v2 - v3 > 16 )
v3 = v2 - 16;
}
*a2 = v2;
if ( v3 > v5 )
return 0LL;
v6 = v9;
do
{
while ( 1 )
{
v7 = ufmt_digitvalue_75(a1[v5]);
if ( v3 < v5 )
break;
LODWORD(v2) = v5;
*(_BYTE *)v6 = v7;
v6 = (__int64 *)((char *)v6 + 1);
if ( v3 > --v5 )
return v9[0];
}
LODWORD(v2) = v2 - 2;
v6 = (__int64 *)((char *)v6 + 1);
v5 = v2 - 1;
*((_BYTE *)v6 - 1) = v7 + 16 * ufmt_digitvalue_75(a1[(int)v2]);
}
while ( v3 <= (int)v2 - 1 );
return v9[0];
}
|
This opensource is libicu
|
__int64 __fastcall u_fsetlocale_75(__int64 a1, const char *a2)
{
u_locbund_close_75(a1 + 48);
return (unsigned int)-(u_locbund_init_75(a1 + 48, a2) == 0);
}
|
This opensource is libicu
|
// attributes: thunk
__int64 u_isWhitespace_75()
{
return u_isWhitespace_75();
}
|
This opensource is libicu
|
__int64 __fastcall u_printf_double_handler(__int64 a1, __int64 a2, __int64 a3, __int64 a4, double *a5)
{
double v5; // xmm1_8
__int64 NumberFormat_75; // rbp
__int64 result; // rax
char v9; // dl
unsigned int v10; // r9d
unsigned int v11; // r9d
unsigned int v12; // [rsp+8h] [rbp-1070h]
int v13; // [rsp+24h] [rbp-1054h] BYREF
int v14; // [rsp+28h] [rbp-1050h]
int v15; // [rsp+2Ch] [rbp-104Ch]
char v16[24]; // [rsp+30h] [rbp-1048h] BYREF
__int16 v17[1028]; // [rsp+830h] [rbp-848h] BYREF
unsigned __int64 v18; // [rsp+1038h] [rbp-40h]
v5 = *a5;
v18 = __readfsqword(0x28u);
v13 = 2048;
v14 = 0;
v17[0] = 0;
NumberFormat_75 = u_locbund_getNumberFormat_75(a3, 1);
result = 0LL;
if ( NumberFormat_75 )
{
unum_getAttribute_75();
unum_getAttribute_75();
unum_setAttribute_75();
v9 = *(_BYTE *)(a4 + 17);
if ( v9 )
u_printf_set_sign(NumberFormat_75, (_BYTE *)(a4 + 15), v9, (__int64)v17, &v13);
v10 = unum_formatDouble_75();
if ( v14 > 0 )
v10 = 0;
v12 = v10;
unum_setAttribute_75();
unum_setAttribute_75();
v11 = v12;
if ( *(_BYTE *)(a4 + 17) )
{
v15 = 0;
unum_setTextAttribute_75();
v11 = v12;
}
return (*(__int64 (__fastcall **)(__int64, __int64, char *, _QWORD, double))(a1 + 8))(a2, a4, v16, v11, v5);
}
return result;
}
|
This opensource is libicu
|
__int64 __fastcall u_fgetfile_75(__int64 a1)
{
return *(_QWORD *)(a1 + 8);
}
|
This opensource is libicu
|
// attributes: thunk
__int64 unum_getSymbol_75()
{
return unum_getSymbol_75();
}
|
This opensource is libicu
|
// attributes: thunk
size_t strlen(const char *s)
{
return strlen(s);
}
|
This opensource is libicu
|
// attributes: thunk
__int64 __fastcall std::istream::get(std::istream *this)
{
return _ZNSi3getEv(this);
}
|
This opensource is libicu
|
// attributes: thunk
void rewind(FILE *stream)
{
rewind(stream);
}
|
This opensource is libicu
|
__int64 __fastcall u_locbund_close_75(__int64 a1)
{
_QWORD *v1; // rbx
__int64 result; // rax
v1 = (_QWORD *)(a1 + 8);
result = uprv_free_75();
do
{
if ( *v1 )
result = unum_close_75();
++v1;
}
while ( v1 != (_QWORD *)(a1 + 48) );
*(_QWORD *)(a1 + 48) = 0LL;
*(_OWORD *)a1 = 0LL;
*(_OWORD *)(a1 + 16) = 0LL;
*(_OWORD *)(a1 + 32) = 0LL;
return result;
}
|
This opensource is libicu
|
// attributes: thunk
int fileno(FILE *stream)
{
return fileno(stream);
}
|
This opensource is libicu
|
// attributes: thunk
__int64 icu_75::UnicodeString::UnicodeString()
{
return _ZN6icu_7513UnicodeStringC1EaNS_14ConstChar16PtrEi();
}
|
This opensource is libicu
|
// attributes: thunk
__int64 utrans_transIncrementalUChars_75()
{
return utrans_transIncrementalUChars_75();
}
|
This opensource is libicu
|
__int64 __fastcall u_printf_percent_handler(__int64 a1, __int64 a2, __int64 a3, __int64 a4, double *a5)
{
double v5; // xmm1_8
__int64 NumberFormat_75; // rbp
__int64 result; // rax
char v9; // dl
unsigned int v10; // r9d
unsigned int v11; // r9d
unsigned int v12; // [rsp+8h] [rbp-1070h]
int v13; // [rsp+24h] [rbp-1054h] BYREF
int v14; // [rsp+28h] [rbp-1050h]
int v15; // [rsp+2Ch] [rbp-104Ch]
char v16[24]; // [rsp+30h] [rbp-1048h] BYREF
__int16 v17[1028]; // [rsp+830h] [rbp-848h] BYREF
unsigned __int64 v18; // [rsp+1038h] [rbp-40h]
v5 = *a5;
v18 = __readfsqword(0x28u);
v13 = 2048;
v14 = 0;
v17[0] = 0;
NumberFormat_75 = u_locbund_getNumberFormat_75(a3, 3);
result = 0LL;
if ( NumberFormat_75 )
{
unum_getAttribute_75();
unum_getAttribute_75();
unum_setAttribute_75();
v9 = *(_BYTE *)(a4 + 17);
if ( v9 )
u_printf_set_sign(NumberFormat_75, (_BYTE *)(a4 + 15), v9, (__int64)v17, &v13);
v10 = unum_formatDouble_75();
if ( v14 > 0 )
v10 = 0;
v12 = v10;
unum_setAttribute_75();
unum_setAttribute_75();
v11 = v12;
if ( *(_BYTE *)(a4 + 17) )
{
v15 = 0;
unum_setTextAttribute_75();
v11 = v12;
}
return (*(__int64 (__fastcall **)(__int64, __int64, char *, _QWORD, double))(a1 + 8))(a2, a4, v16, v11, v5);
}
return result;
}
|
This opensource is libicu
|
// attributes: thunk
__int64 u_memset_75()
{
return u_memset_75();
}
|
This opensource is libicu
|
void __fastcall __noreturn u_locbund_getNumberFormat_75_cold()
{
struct _Unwind_Exception *v0; // rbp
umtx_unlock_75();
_Unwind_Resume(v0);
}
|
This opensource is libicu
|
__int64 u_printf_75(const char *a1, ...)
{
int stdout_75; // eax
gcc_va_list va; // [rsp+0h] [rbp-D8h] BYREF
unsigned __int64 v4; // [rsp+18h] [rbp-C0h]
__int64 v5; // [rsp+28h] [rbp-B0h]
__int64 v6; // [rsp+30h] [rbp-A8h]
__int64 v7; // [rsp+38h] [rbp-A0h]
va_start(va, a1);
v5 = va_arg(va, _QWORD);
v6 = va_arg(va, _QWORD);
v7 = va_arg(va, _QWORD);
va_end(va);
va_start(va, a1);
v4 = __readfsqword(0x28u);
stdout_75 = u_get_stdout_75(a1, v5, v6, v7);
return u_vfprintf_75(stdout_75, a1, (__int64)va);
}
|
This opensource is libicu
|
__int64 __fastcall ufile_flush_translit_75(void ***a1)
{
__int64 result; // rax
if ( a1 )
{
if ( *a1 )
return u_file_write_flush_75(0LL, 0, a1, 0, 1);
}
return result;
}
|
This opensource is libicu
|
__int64 __fastcall ufile_close_translit_75(void ***a1)
{
void **v2; // rdi
__int64 result; // rax
if ( a1 && *a1 )
{
ufile_flush_translit_75(a1);
v2 = *a1;
if ( (*a1)[3] )
{
utrans_close_75();
v2 = *a1;
}
if ( *v2 )
uprv_free_75();
result = uprv_free_75();
*a1 = 0LL;
}
return result;
}
|
This opensource is libicu
|
__int64 __fastcall u_fgetConverter_75(__int64 a1)
{
return *(_QWORD *)(a1 + 16);
}
|
This opensource is libicu
|
__int64 __fastcall u_fungetc_75(unsigned int a1, __int64 a2)
{
__int64 v2; // rax
__int64 v3; // rdx
__int64 v4; // rcx
int v5; // eax
bool v7; // zf
v2 = *(_QWORD *)(a2 + 24);
v3 = *(_QWORD *)(a2 + 40);
if ( v2 == v3 )
return 0xFFFFLL;
v4 = v2 - 2;
if ( (a1 & 0xFFFFFC00) == 55296 )
{
if ( v3 == v4 )
return 0xFFFFLL;
*(_QWORD *)(a2 + 24) = v4;
if ( *(_WORD *)(v2 - 2) != (a1 & 0x3FF | 0xDC00) )
return 0xFFFFLL;
v7 = *(_WORD *)(v2 - 4) == 0xD7F6;
*(_QWORD *)(a2 + 24) = v2 - 4;
if ( !v7 )
return 0xFFFFLL;
}
else
{
v5 = *(unsigned __int16 *)(v2 - 2);
*(_QWORD *)(a2 + 24) = v4;
if ( v5 != a1 )
return 0xFFFFLL;
}
return a1;
}
|
This opensource is libicu
|
void term_proc()
{
;
}
|
This opensource is libicu
|
// attributes: thunk
__int64 uset_open_75()
{
return uset_open_75();
}
|
This opensource is libicu
|
__int64 __fastcall u_locbund_init_75(__int64 a1, const char *a2)
{
const char *Default_75; // rbp
char *v3; // rax
bool v4; // zf
__int64 result; // rax
if ( !a1 )
return 0LL;
Default_75 = a2;
if ( !a2 )
Default_75 = (const char *)uloc_getDefault_75();
*(_QWORD *)(a1 + 48) = 0LL;
*(_OWORD *)a1 = 0LL;
*(_OWORD *)(a1 + 16) = 0LL;
*(_OWORD *)(a1 + 32) = 0LL;
strlen(Default_75);
v3 = (char *)uprv_malloc_75();
*(_QWORD *)a1 = v3;
if ( !v3 )
return 0LL;
v4 = strcmp(strcpy(v3, Default_75), "en_US_POSIX") == 0;
result = a1;
*(_BYTE *)(a1 + 48) = v4;
return result;
}
|
This opensource is libicu
|
// attributes: thunk
__int64 __fastcall icu_75::UnicodeString::unBogus(icu_75::UnicodeString *this)
{
return _ZN6icu_7513UnicodeString7unBogusEv(this);
}
|
This opensource is libicu
|
__int64 __fastcall u_printf_pointer_handler(__int64 a1, __int64 a2, __int64 a3, __int64 a4, __int64 *a5)
{
__int64 v6; // rdx
int v8; // [rsp+Ch] [rbp-83Ch] BYREF
char16_t v9[1028]; // [rsp+10h] [rbp-838h] BYREF
unsigned __int64 v10; // [rsp+818h] [rbp-30h]
v6 = *a5;
v10 = __readfsqword(0x28u);
v8 = 1024;
ufmt_ptou_75(v9, &v8, v6, 1);
return (*(__int64 (__fastcall **)(__int64, __int64, char16_t *, _QWORD))(a1 + 8))(a2, a4, v9, (unsigned int)v8);
}
|
This opensource is libicu
|
// attributes: thunk
int feof(FILE *stream)
{
return feof(stream);
}
|
This opensource is libicu
|
__int64 __fastcall u_sprintf_pad_and_justify(_DWORD *a1, __int64 a2, const char16_t *a3, int a4)
{
int v5; // r12d
int v6; // eax
int v7; // r8d
int v8; // ebx
int v9; // ecx
int v10; // eax
int v12; // eax
int v14; // [rsp+8h] [rbp-40h]
int v15; // [rsp+Ch] [rbp-3Ch]
v5 = *(_DWORD *)(a2 + 4);
if ( !*(_QWORD *)a1 && a4 < v5 && v5 != -1 )
return (unsigned int)v5;
v6 = a1[2];
v7 = a4;
if ( v6 <= a4 )
v7 = a1[2];
if ( v7 >= v5 || v5 == -1 )
{
v10 = u_sprintf_write(a1, a3, v7);
v9 = a4;
v5 = v10;
goto LABEL_10;
}
if ( v6 < v5 )
{
v15 = a4;
v8 = v6 - v7;
if ( v6 - v7 < 0 )
v8 = 0;
if ( *(_BYTE *)(a2 + 16) )
goto LABEL_8;
LABEL_20:
v14 = v7;
u_memset_75();
a1[2] -= v8;
v12 = u_sprintf_write(a1, a3, v14);
v9 = v15;
v5 = v8 + v12;
goto LABEL_10;
}
v15 = a4;
v8 = v5 - v7;
if ( !*(_BYTE *)(a2 + 16) )
goto LABEL_20;
LABEL_8:
v5 = v8 + u_sprintf_write(a1, a3, v7);
u_memset_75();
a1[2] -= v8;
v9 = v15;
LABEL_10:
if ( v5 >= 0 && v5 < v9 )
return (unsigned int)v9;
return (unsigned int)v5;
}
|
This opensource is libicu
|
void **__fastcall u_fsettransliterator_75(void ***a1, char a2, void *a3, int *a4)
{
void *v4; // r12
void **v5; // r13
__int64 v6; // rax
v4 = a3;
if ( *a4 > 0 )
return (void **)v4;
if ( a1 )
{
if ( (a2 & 1) == 0 )
{
v5 = *a1;
if ( !a3 )
{
if ( v5 )
{
v4 = v5[3];
uprv_free_75();
**a1 = 0LL;
uprv_free_75();
*a1 = 0LL;
}
return (void **)v4;
}
if ( v5 )
{
v5 = (void **)v5[3];
ufile_flush_translit_75(a1);
v6 = (__int64)*a1;
}
else
{
v6 = uprv_malloc_75();
*a1 = (void **)v6;
if ( !v6 )
{
*a4 = 7;
return (void **)v4;
}
*(_QWORD *)v6 = 0LL;
*(_QWORD *)(v6 + 8) = 0LL;
*(_DWORD *)(v6 + 16) = 0;
}
*(_QWORD *)(v6 + 24) = v4;
return v5;
}
*a4 = 16;
return (void **)a3;
}
else
{
*a4 = 1;
return (void **)a3;
}
}
|
This opensource is libicu
|
void *_do_global_dtors_aux()
{
void *result; // rax
if ( !completed_8061 )
{
if ( &__cxa_finalize )
_cxa_finalize(_dso_handle);
result = deregister_tm_clones();
completed_8061 = 1;
}
return result;
}
|
This opensource is libicu
|
__int64 __fastcall u_printf_scientific_handler(__int64 a1, __int64 a2, __int64 a3, __int64 a4, double *a5)
{
double v5; // xmm1_8
__int64 NumberFormat_75; // rbp
__int64 result; // rax
char v9; // dl
unsigned int v10; // r9d
unsigned int v11; // r9d
unsigned int v12; // [rsp+0h] [rbp-1098h]
int v13; // [rsp+24h] [rbp-1074h] BYREF
int v14; // [rsp+28h] [rbp-1070h]
int v15; // [rsp+2Ch] [rbp-106Ch]
char v16[24]; // [rsp+50h] [rbp-1048h] BYREF
__int16 v17[1028]; // [rsp+850h] [rbp-848h] BYREF
unsigned __int64 v18; // [rsp+1058h] [rbp-40h]
v5 = *a5;
v18 = __readfsqword(0x28u);
v13 = 2048;
v14 = 0;
v17[0] = 0;
NumberFormat_75 = u_locbund_getNumberFormat_75(a3, 4);
result = 0LL;
if ( NumberFormat_75 )
{
unum_getSymbol_75();
if ( *(_WORD *)(a4 + 10) == 101 )
u_strToLower_75();
else
u_strToUpper_75();
unum_setSymbol_75();
unum_getAttribute_75();
unum_getAttribute_75();
if ( *(_DWORD *)a4 == -1 || (*(_WORD *)(a4 + 8) & 0xFFDF) == 69 )
{
unum_setAttribute_75();
}
else
{
unum_setAttribute_75();
unum_setAttribute_75();
}
v9 = *(_BYTE *)(a4 + 17);
if ( v9 )
u_printf_set_sign(NumberFormat_75, (_BYTE *)(a4 + 15), v9, (__int64)v17, &v13);
v10 = unum_formatDouble_75();
if ( v14 > 0 )
v10 = 0;
v12 = v10;
unum_setAttribute_75();
unum_setAttribute_75();
v11 = v12;
if ( *(_BYTE *)(a4 + 17) )
{
v15 = 0;
unum_setTextAttribute_75();
v11 = v12;
}
return (*(__int64 (__fastcall **)(__int64, __int64, char *, _QWORD, double))(a1 + 8))(a2, a4, v16, v11, v5);
}
return result;
}
|
This opensource is libicu
|
__int64 __fastcall ufile_flush_io_75(__int64 a1)
{
__int64 result; // rax
if ( a1 )
{
if ( *(_QWORD *)(a1 + 8) )
return u_file_write_flush_75(0LL, 0, (void ***)a1, 1, 0);
}
return result;
}
|
This opensource is libicu
|
__int64 build_call_nary(__int64 a1, int a2, const char *a3, ...)
{
gcc_va_list va; // [rsp+0h] [rbp-D8h] BYREF
unsigned __int64 v5; // [rsp+18h] [rbp-C0h]
va_start(va, a3);
v5 = __readfsqword(0x28u);
return u_vsnprintf_75(a1, a2, a3, (__int64)va);
}
|
This opensource is libicu
|
__int64 __fastcall u_scanf_percent_handler(
__int64 a1,
__int64 a2,
double **a3,
double a4,
__int64 a5,
__int64 a6,
_DWORD *a7)
{
__int64 NumberFormat_75; // r15
__int64 result; // rax
char v11; // cl
u_scanf_skip_leading_ws(a1, *(_WORD *)(a2 + 6));
ufile_fill_uchar_buffer_75(a1);
NumberFormat_75 = u_locbund_getNumberFormat_75(a1 + 48, 3);
result = 0LL;
if ( NumberFormat_75 )
{
u_scanf_skip_leading_positive_sign(a1, NumberFormat_75, 0);
unum_parseDouble_75();
v11 = *(_BYTE *)(a2 + 8);
if ( !v11 )
**a3 = a4;
result = 0LL;
*(_QWORD *)(a1 + 24) = *(_QWORD *)(a1 + 24);
*a7 = v11 == 0;
}
return result;
}
|
This opensource is libicu
|
_QWORD *__fastcall u_fstropen_75(__int64 a1, int a2, const char *a3)
{
_QWORD *v4; // rax
_QWORD *v5; // r12
if ( a2 >= 0 )
{
v4 = (_QWORD *)uprv_malloc_75();
v5 = v4;
if ( v4 )
{
*v4 = 0LL;
v4[269] = 0LL;
memset(
(void *)((unsigned __int64)(v4 + 1) & 0xFFFFFFFFFFFFFFF8LL),
0,
8LL * (((unsigned int)v4 - (((_DWORD)v4 + 8) & 0xFFFFFFF8) + 2160) >> 3));
v4[5] = a1;
v4[3] = a1;
v4[4] = a1 + 2LL * a2;
if ( u_locbund_init_75((__int64)(v4 + 6), a3) )
return v5;
uprv_free_75();
}
}
return 0LL;
}
|
This opensource is libicu
|
__int64 __fastcall u_scanf_skip_leading_ws(__int64 a1, __int16 a2)
{
unsigned int v2; // r12d
char v3; // al
unsigned __int16 v5; // [rsp+6h] [rbp-32h] BYREF
unsigned __int64 v6; // [rsp+8h] [rbp-30h]
v2 = 0;
v6 = __readfsqword(0x28u);
while ( 1 )
{
v3 = ufile_getch_75(a1, &v5);
if ( v3 != 1 )
break;
if ( v5 != a2 && !(unsigned __int8)u_isWhitespace_75() )
goto LABEL_8;
++v2;
}
if ( !v3 )
return v2;
LABEL_8:
u_fungetc_75(v5, a1);
return v2;
}
|
This opensource is libicu
|
// attributes: thunk
__int64 unum_parseInt64_75()
{
return unum_parseInt64_75();
}
|
This opensource is libicu
|
__int64 __fastcall u_scanf_skip_leading_positive_sign(__int64 a1, __int64 a2, int a3)
{
unsigned int v3; // r15d
int Symbol_75; // r12d
__int64 v7; // rbx
__int64 v8; // rdi
char v9; // al
unsigned __int16 v10; // [rsp+Ah] [rbp-5Eh] BYREF
int v11; // [rsp+Ch] [rbp-5Ch]
_WORD v12[12]; // [rsp+10h] [rbp-58h] BYREF
unsigned __int64 v13; // [rsp+28h] [rbp-40h]
v13 = __readfsqword(0x28u);
v11 = 0;
if ( a3 <= 0 )
{
Symbol_75 = unum_getSymbol_75();
v7 = 0LL;
while ( 1 )
{
v3 = v7;
v9 = ufile_getch_75(a1, &v10);
if ( v9 != 1 )
break;
v8 = v10;
if ( Symbol_75 > (int)v7 && v12[v7++] == v10 )
continue;
goto LABEL_11;
}
if ( !v9 )
return v3;
v8 = v10;
LABEL_11:
u_fungetc_75(v8, a1);
}
else
{
return 0;
}
return v3;
}
|
This opensource is libicu
|
void __fastcall __noreturn ucln_io_registerCleanup_75_cold()
{
struct _Unwind_Exception *v0; // rbp
umtx_unlock_75();
_Unwind_Resume(v0);
}
|
This opensource is libicu
|
__int64 __fastcall u_vsprintf_u_75(__int64 a1, int a2, __int64 a3)
{
return u_vsnprintf_u_75(a1, 0x7FFFFFFF, a2, a3);
}
|
This opensource is libicu
|
__int64 u_get_stdout_75()
{
if ( gStdOutInitOnce == 2 )
return gStdOut;
if ( (unsigned __int8)icu_75::umtx_initImplPreInit() )
{
gStdOut = (__int64)u_finit_75(stdout, 0LL, 0LL);
ucln_io_registerCleanup_75(1u, uprintf_cleanup);
icu_75::umtx_initImplPostInit();
}
return gStdOut;
}
|
This opensource is libicu
|
End of preview. Expand
in Data Studio
No dataset card yet
- Downloads last month
- 5