1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159
| __int64 NimMainModule() { FILE *stdio; String *input; __int64 *v2; String *input_copy; __int64 v4; __int64 checkhello3_copy; __int64 index; String *pre_5_String; String *input_copy_copy; __int64 input_copy_len; __int64 v11; __int64 index_2; __int64 v13; String *flag_content_string; __int64 length; unsigned __int64 v16; __int64 star_des_copy; __int64 v18; unsigned __int64 v19; __int64 unknownProperty; __int64 *p_unknownProperty; __m128i tmp_si128_2; __m128i tmp_si128_1; __int64 star_des_1; __int64 v25;
nimRegisterGlobalMarker(TM__xLHv575t3PG1lB5wK05Xqg_4); nimRegisterGlobalMarker(TM__xLHv575t3PG1lB5wK05Xqg_10); nimRegisterGlobalMarker(TM__xLHv575t3PG1lB5wK05Xqg_11); nimRegisterGlobalMarker(TM__xLHv575t3PG1lB5wK05Xqg_13); nimRegisterGlobalMarker(TM__xLHv575t3PG1lB5wK05Xqg_14); nimRegisterGlobalMarker(TM__xLHv575t3PG1lB5wK05Xqg_15); PutStdio(&TM__xLHv575t3PG1lB5wK05Xqg_2, 1i64); stdio = __acrt_iob_func(0); input = (String *)readLineFromStdio(stdio); input_copy = input; if ( !input ) { if ( ::input_copy ) { unknownProperty = ::input_copy[-1].unknownProperty; p_unknownProperty = &::input_copy[-1].unknownProperty; ::input_copy[-1].unknownProperty = unknownProperty - 8; if ( (unsigned __int64)(unknownProperty - 8) <= 7 ) addZCT__system_5314(refptr_gch__system_5267 + 3, p_unknownProperty); ::input_copy = 0i64; } goto error; } input[-1].unknownProperty += 8i64; if ( ::input_copy && (v4 = ::input_copy[-1].unknownProperty, v2 = &::input_copy[-1].unknownProperty, ::input_copy[-1].unknownProperty = v4 - 8, (unsigned __int64)(v4 - 8) <= 7) ) { addZCT__system_5314(refptr_gch__system_5267 + 3, v2); ::input_copy = input_copy; if ( input_copy->length != 42 ) goto error; } else { ::input_copy = input; if ( input->length != 42 ) { error: checkhello3_copy = check__hello_3; goto error_; } } index = 0i64; pre_5_String = mnewString(5i64, v2); if ( !pre_5_String ) raiseIndexError2(0i64, -1i64); do { if ( (unsigned __int64)index >= pre_5_String->length ) raiseIndexError2(index, pre_5_String->length - 1); if ( (unsigned __int64)index >= input_copy->length ) raiseIndexError2(index, input_copy->length - 1); pre_5_String->content[index] = input_copy->content[index]; ++index; } while ( index <= 4 ); if ( pre_5_String->length != 5 || *(_DWORD *)pre_5_String->content != 1734437990 || pre_5_String->content[4] != 123 ) goto error; input_copy_copy = ::input_copy; if ( !::input_copy ) { v11 = -1i64; LABEL_21: raiseIndexError2(41i64, v11); } input_copy_len = ::input_copy->length; if ( ::input_copy->length <= 0x29ui64 ) { v11 = input_copy_len - 1; goto LABEL_21; } checkhello3_copy = check__hello_3; if ( BYTE1(::input_copy[2].unknownProperty) == '}' ) { index_2 = 0i64; flag_content_string = mnewString(36i64, input_copy_len); if ( !flag_content_string ) raiseIndexError2(0i64, -1i64); do { length = flag_content_string->length; if ( flag_content_string->length <= (unsigned __int64)index_2 ) raiseIndexError2(index_2, length - 1); v16 = index_2 + 5; if ( index_2 + 5 < 0 || v16 < index_2 ) raiseOverflow(v13, length); if ( input_copy_copy->length <= v16 ) raiseIndexError2(index_2 + 5, input_copy_copy->length - 1); flag_content_string->content[index_2++] = input_copy_copy->content[v16]; } while ( index_2 <= 35 ); InitBigInt(flag_content_string, 10i64, &flag_Int); InitBigInt(&Const_String_1, 10i64, &const_string_1_Int); star_des_1 = 0i64; v25 = 0i64; tmp_si128_1 = _mm_loadu_si128((const __m128i *)&flag_Int); tmp_si128_2 = _mm_loadu_si128((const __m128i *)&const_string_1_Int); multiply((__int64)&tmp_si128_1, (__int64)&tmp_si128_2, &star_des_1); star_des_copy = star_des_1; if ( star_des_1 ) *(_QWORD *)(star_des_1 - 16) += 8i64; if ( star_des_copy_copy ) { v18 = star_des_copy_copy - 16; v19 = *(_QWORD *)(star_des_copy_copy - 16) - 8i64; *(_QWORD *)(star_des_copy_copy - 16) = v19; if ( v19 <= 7 ) addZCT__system_5314(refptr_gch__system_5267 + 3, v18); } star_des_copy_copy = star_des_copy; byte_42C188 = v25; genericSeqAssign(&star_des_deep_copy); BYTE8(star_des_deep_copy) = byte_42C188; InitBigInt(&const_String_2, 10i64, &const_string_2_int); tmp_si128_1 = _mm_loadu_si128((const __m128i *)&star_des_deep_copy); tmp_si128_2 = _mm_loadu_si128((const __m128i *)&const_string_2_int); if ( eqeq___6758Z85sersZ65ZOnimbleZpkgsZbigints4548O53O48Zbigints_259(&tmp_si128_1, &tmp_si128_2) ) { check__hello_3 = 1i64; return PutStdio(&String_Win, 1i64); } goto error; } error_: if ( checkhello3_copy != 1 ) return PutStdio(&error_string, 1i64); return PutStdio(&String_Win, 1i64); }
|