client/game/lr.dll/lifted-0001.c (1459019B)
1 #define RECOMP_GENERATED_CODE 2 #include "recomp_types.h" 3 #include <math.h> 4 #include <stdio.h> 5 #include <stdlib.h> 6 #include <string.h> 7 8 void sub_3900556A(void) { 9 int _fpu_cmp = 0; 10 uint32_t _cf = 0; 11 int _df = 1; 12 uint32_t _flag_k = FK_NONE; 13 uint32_t _flag_a = 0, _flag_b = 0; 14 uint32_t _itail_tgt = 0; 15 RECOMP_REGS_LOCALS 16 RECOMP_ENTER(0x3900556Au); 17 18 goto L_3900556A; 19 L_390054F1: 20 ecx = MEM32(eax + 0x4); /* 0x390054F1: mov ecx, dword ptr [eax + 4] */ 21 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x390054F4: mov dl, byte ptr [ecx + 0x14] */ 22 /* test LO8(edx), LO8(edx) */ /* 0x390054F7: test dl, dl */ 23 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 24 _cf = 0; 25 _flag_k = FK_NARROW(FK_TEST, 24); 26 if (TEST_NZ(_flag_a, _flag_b)) goto L_39005671; /* 0x390054F9: jne 0x39005671 */ 27 L_390054FF: 28 edi = MEM32(ecx + 0x4); /* 0x390054FF: mov edi, dword ptr [ecx + 4] */ 29 edx = MEM32(edi); /* 0x39005502: mov edx, dword ptr [edi] */ 30 /* cmp ecx, edx */ /* 0x39005504: cmp ecx, edx */ 31 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 32 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 33 _flag_k = FK_CMP; 34 if (CMP_NE(_flag_a, _flag_b)) goto L_390055CD; /* 0x39005506: jne 0x390055cd */ 35 L_3900550C: 36 edx = MEM32(edi + 0x8); /* 0x3900550C: mov edx, dword ptr [edi + 8] */ 37 /* cmp MEM8(edx + 0x14), 0 */ /* 0x3900550F: cmp byte ptr [edx + 0x14], 0 */ 38 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 39 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 40 _flag_k = FK_NARROW(FK_CMP, 24); 41 if (CMP_NE(_flag_a, _flag_b)) goto L_39005530; /* 0x39005513: jne 0x39005530 */ 42 L_39005515: 43 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39005515: mov byte ptr [ecx + 0x14], bl */ 44 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39005518: mov byte ptr [edx + 0x14], bl */ 45 ecx = MEM32(eax + 0x4); /* 0x3900551B: mov ecx, dword ptr [eax + 4] */ 46 edx = MEM32(ecx + 0x4); /* 0x3900551E: mov edx, dword ptr [ecx + 4] */ 47 MEM8(edx + 0x14) = (uint8_t)(0); /* 0x39005521: mov byte ptr [edx + 0x14], 0 */ 48 eax = MEM32(eax + 0x4); /* 0x39005525: mov eax, dword ptr [eax + 4] */ 49 eax = MEM32(eax + 0x4); /* 0x39005528: mov eax, dword ptr [eax + 4] */ 50 goto L_39005665; /* 0x3900552B: jmp 0x39005665 */ 51 L_39005530: 52 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x39005530: cmp eax, dword ptr [ecx + 8] */ 53 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 54 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 55 _flag_k = FK_CMP; 56 if (CMP_NE(_flag_a, _flag_b)) goto L_3900556F; /* 0x39005533: jne 0x3900556f */ 57 L_39005535: 58 eax = ecx; /* 0x39005535: mov eax, ecx */ 59 ecx = MEM32(eax + 0x8); /* 0x39005537: mov ecx, dword ptr [eax + 8] */ 60 edx = MEM32(ecx); /* 0x3900553A: mov edx, dword ptr [ecx] */ 61 MEM32(eax + 0x8) = edx; /* 0x3900553C: mov dword ptr [eax + 8], edx */ 62 edx = MEM32(ecx); /* 0x3900553F: mov edx, dword ptr [ecx] */ 63 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39005541: cmp edx, dword ptr [esi + 8] */ 64 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 65 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 66 _flag_k = FK_CMP; 67 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005549; /* 0x39005544: je 0x39005549 */ 68 L_39005546: 69 MEM32(edx + 0x4) = eax; /* 0x39005546: mov dword ptr [edx + 4], eax */ 70 L_39005549: 71 edx = MEM32(eax + 0x4); /* 0x39005549: mov edx, dword ptr [eax + 4] */ 72 MEM32(ecx + 0x4) = edx; /* 0x3900554C: mov dword ptr [ecx + 4], edx */ 73 edx = MEM32(esi + 0x4); /* 0x3900554F: mov edx, dword ptr [esi + 4] */ 74 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39005552: cmp eax, dword ptr [edx + 4] */ 75 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 76 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 77 _flag_k = FK_CMP; 78 if (CMP_NE(_flag_a, _flag_b)) goto L_3900555C; /* 0x39005555: jne 0x3900555c */ 79 L_39005557: 80 MEM32(edx + 0x4) = ecx; /* 0x39005557: mov dword ptr [edx + 4], ecx */ 81 goto L_3900556A; /* 0x3900555A: jmp 0x3900556a */ 82 L_3900555C: 83 edx = MEM32(eax + 0x4); /* 0x3900555C: mov edx, dword ptr [eax + 4] */ 84 /* cmp eax, MEM32(edx) */ /* 0x3900555F: cmp eax, dword ptr [edx] */ 85 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 86 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 87 _flag_k = FK_CMP; 88 if (CMP_NE(_flag_a, _flag_b)) goto L_39005567; /* 0x39005561: jne 0x39005567 */ 89 L_39005563: 90 MEM32(edx) = ecx; /* 0x39005563: mov dword ptr [edx], ecx */ 91 goto L_3900556A; /* 0x39005565: jmp 0x3900556a */ 92 L_39005567: 93 MEM32(edx + 0x8) = ecx; /* 0x39005567: mov dword ptr [edx + 8], ecx */ 94 L_3900556A: 95 MEM32(ecx) = eax; /* 0x3900556A: mov dword ptr [ecx], eax */ 96 MEM32(eax + 0x4) = ecx; /* 0x3900556C: mov dword ptr [eax + 4], ecx */ 97 L_3900556F: 98 ecx = MEM32(eax + 0x4); /* 0x3900556F: mov ecx, dword ptr [eax + 4] */ 99 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39005572: mov byte ptr [ecx + 0x14], bl */ 100 edx = MEM32(eax + 0x4); /* 0x39005575: mov edx, dword ptr [eax + 4] */ 101 ecx = MEM32(edx + 0x4); /* 0x39005578: mov ecx, dword ptr [edx + 4] */ 102 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x3900557B: mov byte ptr [ecx + 0x14], 0 */ 103 edx = MEM32(eax + 0x4); /* 0x3900557F: mov edx, dword ptr [eax + 4] */ 104 ecx = MEM32(edx + 0x4); /* 0x39005582: mov ecx, dword ptr [edx + 4] */ 105 edx = MEM32(ecx); /* 0x39005585: mov edx, dword ptr [ecx] */ 106 edi = MEM32(edx + 0x8); /* 0x39005587: mov edi, dword ptr [edx + 8] */ 107 MEM32(ecx) = edi; /* 0x3900558A: mov dword ptr [ecx], edi */ 108 edi = MEM32(edx + 0x8); /* 0x3900558C: mov edi, dword ptr [edx + 8] */ 109 /* cmp edi, MEM32(esi + 0x8) */ /* 0x3900558F: cmp edi, dword ptr [esi + 8] */ 110 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 111 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 112 _flag_k = FK_CMP; 113 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005597; /* 0x39005592: je 0x39005597 */ 114 L_39005594: 115 MEM32(edi + 0x4) = ecx; /* 0x39005594: mov dword ptr [edi + 4], ecx */ 116 L_39005597: 117 edi = MEM32(ecx + 0x4); /* 0x39005597: mov edi, dword ptr [ecx + 4] */ 118 MEM32(edx + 0x4) = edi; /* 0x3900559A: mov dword ptr [edx + 4], edi */ 119 edi = MEM32(esi + 0x4); /* 0x3900559D: mov edi, dword ptr [esi + 4] */ 120 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x390055A0: cmp ecx, dword ptr [edi + 4] */ 121 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 122 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 123 _flag_k = FK_CMP; 124 if (CMP_NE(_flag_a, _flag_b)) goto L_390055B0; /* 0x390055A3: jne 0x390055b0 */ 125 L_390055A5: 126 MEM32(edi + 0x4) = edx; /* 0x390055A5: mov dword ptr [edi + 4], edx */ 127 MEM32(edx + 0x8) = ecx; /* 0x390055A8: mov dword ptr [edx + 8], ecx */ 128 goto L_39005662; /* 0x390055AB: jmp 0x39005662 */ 129 L_390055B0: 130 edi = MEM32(ecx + 0x4); /* 0x390055B0: mov edi, dword ptr [ecx + 4] */ 131 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x390055B3: cmp ecx, dword ptr [edi + 8] */ 132 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 133 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 134 _flag_k = FK_CMP; 135 if (CMP_NE(_flag_a, _flag_b)) goto L_390055C3; /* 0x390055B6: jne 0x390055c3 */ 136 L_390055B8: 137 MEM32(edi + 0x8) = edx; /* 0x390055B8: mov dword ptr [edi + 8], edx */ 138 MEM32(edx + 0x8) = ecx; /* 0x390055BB: mov dword ptr [edx + 8], ecx */ 139 goto L_39005662; /* 0x390055BE: jmp 0x39005662 */ 140 L_390055C3: 141 MEM32(edi) = edx; /* 0x390055C3: mov dword ptr [edi], edx */ 142 MEM32(edx + 0x8) = ecx; /* 0x390055C5: mov dword ptr [edx + 8], ecx */ 143 goto L_39005662; /* 0x390055C8: jmp 0x39005662 */ 144 L_390055CD: 145 /* cmp MEM8(edx + 0x14), 0 */ /* 0x390055CD: cmp byte ptr [edx + 0x14], 0 */ 146 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 147 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 148 _flag_k = FK_NARROW(FK_CMP, 24); 149 RECOMP_BACKEDGE(); 150 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005515; /* 0x390055D1: je 0x39005515 */ 151 L_390055D7: 152 /* cmp eax, MEM32(ecx) */ /* 0x390055D7: cmp eax, dword ptr [ecx] */ 153 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 154 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 155 _flag_k = FK_CMP; 156 if (CMP_NE(_flag_a, _flag_b)) goto L_39005617; /* 0x390055D9: jne 0x39005617 */ 157 L_390055DB: 158 eax = ecx; /* 0x390055DB: mov eax, ecx */ 159 ecx = MEM32(eax); /* 0x390055DD: mov ecx, dword ptr [eax] */ 160 edx = MEM32(ecx + 0x8); /* 0x390055DF: mov edx, dword ptr [ecx + 8] */ 161 MEM32(eax) = edx; /* 0x390055E2: mov dword ptr [eax], edx */ 162 edx = MEM32(ecx + 0x8); /* 0x390055E4: mov edx, dword ptr [ecx + 8] */ 163 /* cmp edx, MEM32(esi + 0x8) */ /* 0x390055E7: cmp edx, dword ptr [esi + 8] */ 164 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 165 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 166 _flag_k = FK_CMP; 167 if (CMP_EQ(_flag_a, _flag_b)) goto L_390055EF; /* 0x390055EA: je 0x390055ef */ 168 L_390055EC: 169 MEM32(edx + 0x4) = eax; /* 0x390055EC: mov dword ptr [edx + 4], eax */ 170 L_390055EF: 171 edx = MEM32(eax + 0x4); /* 0x390055EF: mov edx, dword ptr [eax + 4] */ 172 MEM32(ecx + 0x4) = edx; /* 0x390055F2: mov dword ptr [ecx + 4], edx */ 173 edx = MEM32(esi + 0x4); /* 0x390055F5: mov edx, dword ptr [esi + 4] */ 174 /* cmp eax, MEM32(edx + 0x4) */ /* 0x390055F8: cmp eax, dword ptr [edx + 4] */ 175 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 176 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 177 _flag_k = FK_CMP; 178 if (CMP_NE(_flag_a, _flag_b)) goto L_39005602; /* 0x390055FB: jne 0x39005602 */ 179 L_390055FD: 180 MEM32(edx + 0x4) = ecx; /* 0x390055FD: mov dword ptr [edx + 4], ecx */ 181 goto L_39005611; /* 0x39005600: jmp 0x39005611 */ 182 L_39005602: 183 edx = MEM32(eax + 0x4); /* 0x39005602: mov edx, dword ptr [eax + 4] */ 184 /* cmp eax, MEM32(edx + 0x8) */ /* 0x39005605: cmp eax, dword ptr [edx + 8] */ 185 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 186 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 187 _flag_k = FK_CMP; 188 if (CMP_NE(_flag_a, _flag_b)) goto L_3900560F; /* 0x39005608: jne 0x3900560f */ 189 L_3900560A: 190 MEM32(edx + 0x8) = ecx; /* 0x3900560A: mov dword ptr [edx + 8], ecx */ 191 goto L_39005611; /* 0x3900560D: jmp 0x39005611 */ 192 L_3900560F: 193 MEM32(edx) = ecx; /* 0x3900560F: mov dword ptr [edx], ecx */ 194 L_39005611: 195 MEM32(ecx + 0x8) = eax; /* 0x39005611: mov dword ptr [ecx + 8], eax */ 196 MEM32(eax + 0x4) = ecx; /* 0x39005614: mov dword ptr [eax + 4], ecx */ 197 L_39005617: 198 ecx = MEM32(eax + 0x4); /* 0x39005617: mov ecx, dword ptr [eax + 4] */ 199 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x3900561A: mov byte ptr [ecx + 0x14], bl */ 200 edx = MEM32(eax + 0x4); /* 0x3900561D: mov edx, dword ptr [eax + 4] */ 201 ecx = MEM32(edx + 0x4); /* 0x39005620: mov ecx, dword ptr [edx + 4] */ 202 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x39005623: mov byte ptr [ecx + 0x14], 0 */ 203 edx = MEM32(eax + 0x4); /* 0x39005627: mov edx, dword ptr [eax + 4] */ 204 ecx = MEM32(edx + 0x4); /* 0x3900562A: mov ecx, dword ptr [edx + 4] */ 205 edx = MEM32(ecx + 0x8); /* 0x3900562D: mov edx, dword ptr [ecx + 8] */ 206 edi = MEM32(edx); /* 0x39005630: mov edi, dword ptr [edx] */ 207 MEM32(ecx + 0x8) = edi; /* 0x39005632: mov dword ptr [ecx + 8], edi */ 208 edi = MEM32(edx); /* 0x39005635: mov edi, dword ptr [edx] */ 209 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39005637: cmp edi, dword ptr [esi + 8] */ 210 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 211 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 212 _flag_k = FK_CMP; 213 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900563F; /* 0x3900563A: je 0x3900563f */ 214 L_3900563C: 215 MEM32(edi + 0x4) = ecx; /* 0x3900563C: mov dword ptr [edi + 4], ecx */ 216 L_3900563F: 217 edi = MEM32(ecx + 0x4); /* 0x3900563F: mov edi, dword ptr [ecx + 4] */ 218 MEM32(edx + 0x4) = edi; /* 0x39005642: mov dword ptr [edx + 4], edi */ 219 edi = MEM32(esi + 0x4); /* 0x39005645: mov edi, dword ptr [esi + 4] */ 220 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39005648: cmp ecx, dword ptr [edi + 4] */ 221 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 222 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 223 _flag_k = FK_CMP; 224 if (CMP_NE(_flag_a, _flag_b)) goto L_39005652; /* 0x3900564B: jne 0x39005652 */ 225 L_3900564D: 226 MEM32(edi + 0x4) = edx; /* 0x3900564D: mov dword ptr [edi + 4], edx */ 227 goto L_39005660; /* 0x39005650: jmp 0x39005660 */ 228 L_39005652: 229 edi = MEM32(ecx + 0x4); /* 0x39005652: mov edi, dword ptr [ecx + 4] */ 230 /* cmp ecx, MEM32(edi) */ /* 0x39005655: cmp ecx, dword ptr [edi] */ 231 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 232 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 233 _flag_k = FK_CMP; 234 if (CMP_NE(_flag_a, _flag_b)) goto L_3900565D; /* 0x39005657: jne 0x3900565d */ 235 L_39005659: 236 MEM32(edi) = edx; /* 0x39005659: mov dword ptr [edi], edx */ 237 goto L_39005660; /* 0x3900565B: jmp 0x39005660 */ 238 L_3900565D: 239 MEM32(edi + 0x8) = edx; /* 0x3900565D: mov dword ptr [edi + 8], edx */ 240 L_39005660: 241 MEM32(edx) = ecx; /* 0x39005660: mov dword ptr [edx], ecx */ 242 L_39005662: 243 MEM32(ecx + 0x4) = edx; /* 0x39005662: mov dword ptr [ecx + 4], edx */ 244 L_39005665: 245 ecx = MEM32(esi + 0x4); /* 0x39005665: mov ecx, dword ptr [esi + 4] */ 246 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x39005668: cmp eax, dword ptr [ecx + 4] */ 247 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 248 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 249 _flag_k = FK_CMP; 250 RECOMP_BACKEDGE(); 251 if (CMP_NE(_flag_a, _flag_b)) goto L_390054F1; /* 0x3900566B: jne 0x390054f1 */ 252 L_39005671: 253 edx = MEM32(esi + 0x4); /* 0x39005671: mov edx, dword ptr [esi + 4] */ 254 ecx = MEM32(ebp + (-0x4)); /* 0x39005674: mov ecx, dword ptr [ebp - 4] */ 255 edi = POP32_VAL(esp); /* 0x39005677: pop edi */ 256 esi = POP32_VAL(esp); /* 0x39005678: pop esi */ 257 eax = MEM32(edx + 0x4); /* 0x39005679: mov eax, dword ptr [edx + 4] */ 258 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x3900567C: mov byte ptr [eax + 0x14], bl */ 259 eax = MEM32(ebp + 0x8); /* 0x3900567F: mov eax, dword ptr [ebp + 8] */ 260 ebx = POP32_VAL(esp); /* 0x39005682: pop ebx */ 261 MEM32(eax) = ecx; /* 0x39005683: mov dword ptr [eax], ecx */ 262 esp = ebp; /* 0x39005685: mov esp, ebp */ 263 ebp = POP32_VAL(esp); /* 0x39005687: pop ebp */ 264 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39005688: ret 0x10 */ 265 RECOMP_REGS_OUT(); 266 } 267 268 void sub_3900556F(void) { 269 int _fpu_cmp = 0; 270 uint32_t _cf = 0; 271 int _df = 1; 272 uint32_t _flag_k = FK_NONE; 273 uint32_t _flag_a = 0, _flag_b = 0; 274 uint32_t _itail_tgt = 0; 275 RECOMP_REGS_LOCALS 276 RECOMP_ENTER(0x3900556Fu); 277 278 goto L_3900556F; 279 L_390054F1: 280 ecx = MEM32(eax + 0x4); /* 0x390054F1: mov ecx, dword ptr [eax + 4] */ 281 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x390054F4: mov dl, byte ptr [ecx + 0x14] */ 282 /* test LO8(edx), LO8(edx) */ /* 0x390054F7: test dl, dl */ 283 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 284 _cf = 0; 285 _flag_k = FK_NARROW(FK_TEST, 24); 286 if (TEST_NZ(_flag_a, _flag_b)) goto L_39005671; /* 0x390054F9: jne 0x39005671 */ 287 L_390054FF: 288 edi = MEM32(ecx + 0x4); /* 0x390054FF: mov edi, dword ptr [ecx + 4] */ 289 edx = MEM32(edi); /* 0x39005502: mov edx, dword ptr [edi] */ 290 /* cmp ecx, edx */ /* 0x39005504: cmp ecx, edx */ 291 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 292 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 293 _flag_k = FK_CMP; 294 if (CMP_NE(_flag_a, _flag_b)) goto L_390055CD; /* 0x39005506: jne 0x390055cd */ 295 L_3900550C: 296 edx = MEM32(edi + 0x8); /* 0x3900550C: mov edx, dword ptr [edi + 8] */ 297 /* cmp MEM8(edx + 0x14), 0 */ /* 0x3900550F: cmp byte ptr [edx + 0x14], 0 */ 298 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 299 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 300 _flag_k = FK_NARROW(FK_CMP, 24); 301 if (CMP_NE(_flag_a, _flag_b)) goto L_39005530; /* 0x39005513: jne 0x39005530 */ 302 L_39005515: 303 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39005515: mov byte ptr [ecx + 0x14], bl */ 304 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39005518: mov byte ptr [edx + 0x14], bl */ 305 ecx = MEM32(eax + 0x4); /* 0x3900551B: mov ecx, dword ptr [eax + 4] */ 306 edx = MEM32(ecx + 0x4); /* 0x3900551E: mov edx, dword ptr [ecx + 4] */ 307 MEM8(edx + 0x14) = (uint8_t)(0); /* 0x39005521: mov byte ptr [edx + 0x14], 0 */ 308 eax = MEM32(eax + 0x4); /* 0x39005525: mov eax, dword ptr [eax + 4] */ 309 eax = MEM32(eax + 0x4); /* 0x39005528: mov eax, dword ptr [eax + 4] */ 310 goto L_39005665; /* 0x3900552B: jmp 0x39005665 */ 311 L_39005530: 312 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x39005530: cmp eax, dword ptr [ecx + 8] */ 313 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 314 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 315 _flag_k = FK_CMP; 316 if (CMP_NE(_flag_a, _flag_b)) goto L_3900556F; /* 0x39005533: jne 0x3900556f */ 317 L_39005535: 318 eax = ecx; /* 0x39005535: mov eax, ecx */ 319 ecx = MEM32(eax + 0x8); /* 0x39005537: mov ecx, dword ptr [eax + 8] */ 320 edx = MEM32(ecx); /* 0x3900553A: mov edx, dword ptr [ecx] */ 321 MEM32(eax + 0x8) = edx; /* 0x3900553C: mov dword ptr [eax + 8], edx */ 322 edx = MEM32(ecx); /* 0x3900553F: mov edx, dword ptr [ecx] */ 323 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39005541: cmp edx, dword ptr [esi + 8] */ 324 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 325 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 326 _flag_k = FK_CMP; 327 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005549; /* 0x39005544: je 0x39005549 */ 328 L_39005546: 329 MEM32(edx + 0x4) = eax; /* 0x39005546: mov dword ptr [edx + 4], eax */ 330 L_39005549: 331 edx = MEM32(eax + 0x4); /* 0x39005549: mov edx, dword ptr [eax + 4] */ 332 MEM32(ecx + 0x4) = edx; /* 0x3900554C: mov dword ptr [ecx + 4], edx */ 333 edx = MEM32(esi + 0x4); /* 0x3900554F: mov edx, dword ptr [esi + 4] */ 334 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39005552: cmp eax, dword ptr [edx + 4] */ 335 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 336 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 337 _flag_k = FK_CMP; 338 if (CMP_NE(_flag_a, _flag_b)) goto L_3900555C; /* 0x39005555: jne 0x3900555c */ 339 L_39005557: 340 MEM32(edx + 0x4) = ecx; /* 0x39005557: mov dword ptr [edx + 4], ecx */ 341 goto L_3900556A; /* 0x3900555A: jmp 0x3900556a */ 342 L_3900555C: 343 edx = MEM32(eax + 0x4); /* 0x3900555C: mov edx, dword ptr [eax + 4] */ 344 /* cmp eax, MEM32(edx) */ /* 0x3900555F: cmp eax, dword ptr [edx] */ 345 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 346 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 347 _flag_k = FK_CMP; 348 if (CMP_NE(_flag_a, _flag_b)) goto L_39005567; /* 0x39005561: jne 0x39005567 */ 349 L_39005563: 350 MEM32(edx) = ecx; /* 0x39005563: mov dword ptr [edx], ecx */ 351 goto L_3900556A; /* 0x39005565: jmp 0x3900556a */ 352 L_39005567: 353 MEM32(edx + 0x8) = ecx; /* 0x39005567: mov dword ptr [edx + 8], ecx */ 354 L_3900556A: 355 MEM32(ecx) = eax; /* 0x3900556A: mov dword ptr [ecx], eax */ 356 MEM32(eax + 0x4) = ecx; /* 0x3900556C: mov dword ptr [eax + 4], ecx */ 357 L_3900556F: 358 ecx = MEM32(eax + 0x4); /* 0x3900556F: mov ecx, dword ptr [eax + 4] */ 359 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39005572: mov byte ptr [ecx + 0x14], bl */ 360 edx = MEM32(eax + 0x4); /* 0x39005575: mov edx, dword ptr [eax + 4] */ 361 ecx = MEM32(edx + 0x4); /* 0x39005578: mov ecx, dword ptr [edx + 4] */ 362 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x3900557B: mov byte ptr [ecx + 0x14], 0 */ 363 edx = MEM32(eax + 0x4); /* 0x3900557F: mov edx, dword ptr [eax + 4] */ 364 ecx = MEM32(edx + 0x4); /* 0x39005582: mov ecx, dword ptr [edx + 4] */ 365 edx = MEM32(ecx); /* 0x39005585: mov edx, dword ptr [ecx] */ 366 edi = MEM32(edx + 0x8); /* 0x39005587: mov edi, dword ptr [edx + 8] */ 367 MEM32(ecx) = edi; /* 0x3900558A: mov dword ptr [ecx], edi */ 368 edi = MEM32(edx + 0x8); /* 0x3900558C: mov edi, dword ptr [edx + 8] */ 369 /* cmp edi, MEM32(esi + 0x8) */ /* 0x3900558F: cmp edi, dword ptr [esi + 8] */ 370 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 371 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 372 _flag_k = FK_CMP; 373 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005597; /* 0x39005592: je 0x39005597 */ 374 L_39005594: 375 MEM32(edi + 0x4) = ecx; /* 0x39005594: mov dword ptr [edi + 4], ecx */ 376 L_39005597: 377 edi = MEM32(ecx + 0x4); /* 0x39005597: mov edi, dword ptr [ecx + 4] */ 378 MEM32(edx + 0x4) = edi; /* 0x3900559A: mov dword ptr [edx + 4], edi */ 379 edi = MEM32(esi + 0x4); /* 0x3900559D: mov edi, dword ptr [esi + 4] */ 380 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x390055A0: cmp ecx, dword ptr [edi + 4] */ 381 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 382 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 383 _flag_k = FK_CMP; 384 if (CMP_NE(_flag_a, _flag_b)) goto L_390055B0; /* 0x390055A3: jne 0x390055b0 */ 385 L_390055A5: 386 MEM32(edi + 0x4) = edx; /* 0x390055A5: mov dword ptr [edi + 4], edx */ 387 MEM32(edx + 0x8) = ecx; /* 0x390055A8: mov dword ptr [edx + 8], ecx */ 388 goto L_39005662; /* 0x390055AB: jmp 0x39005662 */ 389 L_390055B0: 390 edi = MEM32(ecx + 0x4); /* 0x390055B0: mov edi, dword ptr [ecx + 4] */ 391 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x390055B3: cmp ecx, dword ptr [edi + 8] */ 392 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 393 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 394 _flag_k = FK_CMP; 395 if (CMP_NE(_flag_a, _flag_b)) goto L_390055C3; /* 0x390055B6: jne 0x390055c3 */ 396 L_390055B8: 397 MEM32(edi + 0x8) = edx; /* 0x390055B8: mov dword ptr [edi + 8], edx */ 398 MEM32(edx + 0x8) = ecx; /* 0x390055BB: mov dword ptr [edx + 8], ecx */ 399 goto L_39005662; /* 0x390055BE: jmp 0x39005662 */ 400 L_390055C3: 401 MEM32(edi) = edx; /* 0x390055C3: mov dword ptr [edi], edx */ 402 MEM32(edx + 0x8) = ecx; /* 0x390055C5: mov dword ptr [edx + 8], ecx */ 403 goto L_39005662; /* 0x390055C8: jmp 0x39005662 */ 404 L_390055CD: 405 /* cmp MEM8(edx + 0x14), 0 */ /* 0x390055CD: cmp byte ptr [edx + 0x14], 0 */ 406 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 407 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 408 _flag_k = FK_NARROW(FK_CMP, 24); 409 RECOMP_BACKEDGE(); 410 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005515; /* 0x390055D1: je 0x39005515 */ 411 L_390055D7: 412 /* cmp eax, MEM32(ecx) */ /* 0x390055D7: cmp eax, dword ptr [ecx] */ 413 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 414 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 415 _flag_k = FK_CMP; 416 if (CMP_NE(_flag_a, _flag_b)) goto L_39005617; /* 0x390055D9: jne 0x39005617 */ 417 L_390055DB: 418 eax = ecx; /* 0x390055DB: mov eax, ecx */ 419 ecx = MEM32(eax); /* 0x390055DD: mov ecx, dword ptr [eax] */ 420 edx = MEM32(ecx + 0x8); /* 0x390055DF: mov edx, dword ptr [ecx + 8] */ 421 MEM32(eax) = edx; /* 0x390055E2: mov dword ptr [eax], edx */ 422 edx = MEM32(ecx + 0x8); /* 0x390055E4: mov edx, dword ptr [ecx + 8] */ 423 /* cmp edx, MEM32(esi + 0x8) */ /* 0x390055E7: cmp edx, dword ptr [esi + 8] */ 424 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 425 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 426 _flag_k = FK_CMP; 427 if (CMP_EQ(_flag_a, _flag_b)) goto L_390055EF; /* 0x390055EA: je 0x390055ef */ 428 L_390055EC: 429 MEM32(edx + 0x4) = eax; /* 0x390055EC: mov dword ptr [edx + 4], eax */ 430 L_390055EF: 431 edx = MEM32(eax + 0x4); /* 0x390055EF: mov edx, dword ptr [eax + 4] */ 432 MEM32(ecx + 0x4) = edx; /* 0x390055F2: mov dword ptr [ecx + 4], edx */ 433 edx = MEM32(esi + 0x4); /* 0x390055F5: mov edx, dword ptr [esi + 4] */ 434 /* cmp eax, MEM32(edx + 0x4) */ /* 0x390055F8: cmp eax, dword ptr [edx + 4] */ 435 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 436 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 437 _flag_k = FK_CMP; 438 if (CMP_NE(_flag_a, _flag_b)) goto L_39005602; /* 0x390055FB: jne 0x39005602 */ 439 L_390055FD: 440 MEM32(edx + 0x4) = ecx; /* 0x390055FD: mov dword ptr [edx + 4], ecx */ 441 goto L_39005611; /* 0x39005600: jmp 0x39005611 */ 442 L_39005602: 443 edx = MEM32(eax + 0x4); /* 0x39005602: mov edx, dword ptr [eax + 4] */ 444 /* cmp eax, MEM32(edx + 0x8) */ /* 0x39005605: cmp eax, dword ptr [edx + 8] */ 445 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 446 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 447 _flag_k = FK_CMP; 448 if (CMP_NE(_flag_a, _flag_b)) goto L_3900560F; /* 0x39005608: jne 0x3900560f */ 449 L_3900560A: 450 MEM32(edx + 0x8) = ecx; /* 0x3900560A: mov dword ptr [edx + 8], ecx */ 451 goto L_39005611; /* 0x3900560D: jmp 0x39005611 */ 452 L_3900560F: 453 MEM32(edx) = ecx; /* 0x3900560F: mov dword ptr [edx], ecx */ 454 L_39005611: 455 MEM32(ecx + 0x8) = eax; /* 0x39005611: mov dword ptr [ecx + 8], eax */ 456 MEM32(eax + 0x4) = ecx; /* 0x39005614: mov dword ptr [eax + 4], ecx */ 457 L_39005617: 458 ecx = MEM32(eax + 0x4); /* 0x39005617: mov ecx, dword ptr [eax + 4] */ 459 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x3900561A: mov byte ptr [ecx + 0x14], bl */ 460 edx = MEM32(eax + 0x4); /* 0x3900561D: mov edx, dword ptr [eax + 4] */ 461 ecx = MEM32(edx + 0x4); /* 0x39005620: mov ecx, dword ptr [edx + 4] */ 462 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x39005623: mov byte ptr [ecx + 0x14], 0 */ 463 edx = MEM32(eax + 0x4); /* 0x39005627: mov edx, dword ptr [eax + 4] */ 464 ecx = MEM32(edx + 0x4); /* 0x3900562A: mov ecx, dword ptr [edx + 4] */ 465 edx = MEM32(ecx + 0x8); /* 0x3900562D: mov edx, dword ptr [ecx + 8] */ 466 edi = MEM32(edx); /* 0x39005630: mov edi, dword ptr [edx] */ 467 MEM32(ecx + 0x8) = edi; /* 0x39005632: mov dword ptr [ecx + 8], edi */ 468 edi = MEM32(edx); /* 0x39005635: mov edi, dword ptr [edx] */ 469 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39005637: cmp edi, dword ptr [esi + 8] */ 470 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 471 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 472 _flag_k = FK_CMP; 473 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900563F; /* 0x3900563A: je 0x3900563f */ 474 L_3900563C: 475 MEM32(edi + 0x4) = ecx; /* 0x3900563C: mov dword ptr [edi + 4], ecx */ 476 L_3900563F: 477 edi = MEM32(ecx + 0x4); /* 0x3900563F: mov edi, dword ptr [ecx + 4] */ 478 MEM32(edx + 0x4) = edi; /* 0x39005642: mov dword ptr [edx + 4], edi */ 479 edi = MEM32(esi + 0x4); /* 0x39005645: mov edi, dword ptr [esi + 4] */ 480 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39005648: cmp ecx, dword ptr [edi + 4] */ 481 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 482 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 483 _flag_k = FK_CMP; 484 if (CMP_NE(_flag_a, _flag_b)) goto L_39005652; /* 0x3900564B: jne 0x39005652 */ 485 L_3900564D: 486 MEM32(edi + 0x4) = edx; /* 0x3900564D: mov dword ptr [edi + 4], edx */ 487 goto L_39005660; /* 0x39005650: jmp 0x39005660 */ 488 L_39005652: 489 edi = MEM32(ecx + 0x4); /* 0x39005652: mov edi, dword ptr [ecx + 4] */ 490 /* cmp ecx, MEM32(edi) */ /* 0x39005655: cmp ecx, dword ptr [edi] */ 491 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 492 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 493 _flag_k = FK_CMP; 494 if (CMP_NE(_flag_a, _flag_b)) goto L_3900565D; /* 0x39005657: jne 0x3900565d */ 495 L_39005659: 496 MEM32(edi) = edx; /* 0x39005659: mov dword ptr [edi], edx */ 497 goto L_39005660; /* 0x3900565B: jmp 0x39005660 */ 498 L_3900565D: 499 MEM32(edi + 0x8) = edx; /* 0x3900565D: mov dword ptr [edi + 8], edx */ 500 L_39005660: 501 MEM32(edx) = ecx; /* 0x39005660: mov dword ptr [edx], ecx */ 502 L_39005662: 503 MEM32(ecx + 0x4) = edx; /* 0x39005662: mov dword ptr [ecx + 4], edx */ 504 L_39005665: 505 ecx = MEM32(esi + 0x4); /* 0x39005665: mov ecx, dword ptr [esi + 4] */ 506 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x39005668: cmp eax, dword ptr [ecx + 4] */ 507 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 508 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 509 _flag_k = FK_CMP; 510 RECOMP_BACKEDGE(); 511 if (CMP_NE(_flag_a, _flag_b)) goto L_390054F1; /* 0x3900566B: jne 0x390054f1 */ 512 L_39005671: 513 edx = MEM32(esi + 0x4); /* 0x39005671: mov edx, dword ptr [esi + 4] */ 514 ecx = MEM32(ebp + (-0x4)); /* 0x39005674: mov ecx, dword ptr [ebp - 4] */ 515 edi = POP32_VAL(esp); /* 0x39005677: pop edi */ 516 esi = POP32_VAL(esp); /* 0x39005678: pop esi */ 517 eax = MEM32(edx + 0x4); /* 0x39005679: mov eax, dword ptr [edx + 4] */ 518 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x3900567C: mov byte ptr [eax + 0x14], bl */ 519 eax = MEM32(ebp + 0x8); /* 0x3900567F: mov eax, dword ptr [ebp + 8] */ 520 ebx = POP32_VAL(esp); /* 0x39005682: pop ebx */ 521 MEM32(eax) = ecx; /* 0x39005683: mov dword ptr [eax], ecx */ 522 esp = ebp; /* 0x39005685: mov esp, ebp */ 523 ebp = POP32_VAL(esp); /* 0x39005687: pop ebp */ 524 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39005688: ret 0x10 */ 525 RECOMP_REGS_OUT(); 526 } 527 528 void sub_390055CD(void) { 529 int _fpu_cmp = 0; 530 uint32_t _cf = 0; 531 int _df = 1; 532 uint32_t _flag_k = FK_NONE; 533 uint32_t _flag_a = 0, _flag_b = 0; 534 uint32_t _itail_tgt = 0; 535 RECOMP_REGS_LOCALS 536 RECOMP_ENTER(0x390055CDu); 537 538 goto L_390055CD; 539 L_390054F1: 540 ecx = MEM32(eax + 0x4); /* 0x390054F1: mov ecx, dword ptr [eax + 4] */ 541 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x390054F4: mov dl, byte ptr [ecx + 0x14] */ 542 /* test LO8(edx), LO8(edx) */ /* 0x390054F7: test dl, dl */ 543 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 544 _cf = 0; 545 _flag_k = FK_NARROW(FK_TEST, 24); 546 if (TEST_NZ(_flag_a, _flag_b)) goto L_39005671; /* 0x390054F9: jne 0x39005671 */ 547 L_390054FF: 548 edi = MEM32(ecx + 0x4); /* 0x390054FF: mov edi, dword ptr [ecx + 4] */ 549 edx = MEM32(edi); /* 0x39005502: mov edx, dword ptr [edi] */ 550 /* cmp ecx, edx */ /* 0x39005504: cmp ecx, edx */ 551 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 552 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 553 _flag_k = FK_CMP; 554 if (CMP_NE(_flag_a, _flag_b)) goto L_390055CD; /* 0x39005506: jne 0x390055cd */ 555 L_3900550C: 556 edx = MEM32(edi + 0x8); /* 0x3900550C: mov edx, dword ptr [edi + 8] */ 557 /* cmp MEM8(edx + 0x14), 0 */ /* 0x3900550F: cmp byte ptr [edx + 0x14], 0 */ 558 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 559 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 560 _flag_k = FK_NARROW(FK_CMP, 24); 561 if (CMP_NE(_flag_a, _flag_b)) goto L_39005530; /* 0x39005513: jne 0x39005530 */ 562 L_39005515: 563 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39005515: mov byte ptr [ecx + 0x14], bl */ 564 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39005518: mov byte ptr [edx + 0x14], bl */ 565 ecx = MEM32(eax + 0x4); /* 0x3900551B: mov ecx, dword ptr [eax + 4] */ 566 edx = MEM32(ecx + 0x4); /* 0x3900551E: mov edx, dword ptr [ecx + 4] */ 567 MEM8(edx + 0x14) = (uint8_t)(0); /* 0x39005521: mov byte ptr [edx + 0x14], 0 */ 568 eax = MEM32(eax + 0x4); /* 0x39005525: mov eax, dword ptr [eax + 4] */ 569 eax = MEM32(eax + 0x4); /* 0x39005528: mov eax, dword ptr [eax + 4] */ 570 goto L_39005665; /* 0x3900552B: jmp 0x39005665 */ 571 L_39005530: 572 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x39005530: cmp eax, dword ptr [ecx + 8] */ 573 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 574 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 575 _flag_k = FK_CMP; 576 if (CMP_NE(_flag_a, _flag_b)) goto L_3900556F; /* 0x39005533: jne 0x3900556f */ 577 L_39005535: 578 eax = ecx; /* 0x39005535: mov eax, ecx */ 579 ecx = MEM32(eax + 0x8); /* 0x39005537: mov ecx, dword ptr [eax + 8] */ 580 edx = MEM32(ecx); /* 0x3900553A: mov edx, dword ptr [ecx] */ 581 MEM32(eax + 0x8) = edx; /* 0x3900553C: mov dword ptr [eax + 8], edx */ 582 edx = MEM32(ecx); /* 0x3900553F: mov edx, dword ptr [ecx] */ 583 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39005541: cmp edx, dword ptr [esi + 8] */ 584 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 585 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 586 _flag_k = FK_CMP; 587 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005549; /* 0x39005544: je 0x39005549 */ 588 L_39005546: 589 MEM32(edx + 0x4) = eax; /* 0x39005546: mov dword ptr [edx + 4], eax */ 590 L_39005549: 591 edx = MEM32(eax + 0x4); /* 0x39005549: mov edx, dword ptr [eax + 4] */ 592 MEM32(ecx + 0x4) = edx; /* 0x3900554C: mov dword ptr [ecx + 4], edx */ 593 edx = MEM32(esi + 0x4); /* 0x3900554F: mov edx, dword ptr [esi + 4] */ 594 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39005552: cmp eax, dword ptr [edx + 4] */ 595 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 596 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 597 _flag_k = FK_CMP; 598 if (CMP_NE(_flag_a, _flag_b)) goto L_3900555C; /* 0x39005555: jne 0x3900555c */ 599 L_39005557: 600 MEM32(edx + 0x4) = ecx; /* 0x39005557: mov dword ptr [edx + 4], ecx */ 601 goto L_3900556A; /* 0x3900555A: jmp 0x3900556a */ 602 L_3900555C: 603 edx = MEM32(eax + 0x4); /* 0x3900555C: mov edx, dword ptr [eax + 4] */ 604 /* cmp eax, MEM32(edx) */ /* 0x3900555F: cmp eax, dword ptr [edx] */ 605 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 606 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 607 _flag_k = FK_CMP; 608 if (CMP_NE(_flag_a, _flag_b)) goto L_39005567; /* 0x39005561: jne 0x39005567 */ 609 L_39005563: 610 MEM32(edx) = ecx; /* 0x39005563: mov dword ptr [edx], ecx */ 611 goto L_3900556A; /* 0x39005565: jmp 0x3900556a */ 612 L_39005567: 613 MEM32(edx + 0x8) = ecx; /* 0x39005567: mov dword ptr [edx + 8], ecx */ 614 L_3900556A: 615 MEM32(ecx) = eax; /* 0x3900556A: mov dword ptr [ecx], eax */ 616 MEM32(eax + 0x4) = ecx; /* 0x3900556C: mov dword ptr [eax + 4], ecx */ 617 L_3900556F: 618 ecx = MEM32(eax + 0x4); /* 0x3900556F: mov ecx, dword ptr [eax + 4] */ 619 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39005572: mov byte ptr [ecx + 0x14], bl */ 620 edx = MEM32(eax + 0x4); /* 0x39005575: mov edx, dword ptr [eax + 4] */ 621 ecx = MEM32(edx + 0x4); /* 0x39005578: mov ecx, dword ptr [edx + 4] */ 622 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x3900557B: mov byte ptr [ecx + 0x14], 0 */ 623 edx = MEM32(eax + 0x4); /* 0x3900557F: mov edx, dword ptr [eax + 4] */ 624 ecx = MEM32(edx + 0x4); /* 0x39005582: mov ecx, dword ptr [edx + 4] */ 625 edx = MEM32(ecx); /* 0x39005585: mov edx, dword ptr [ecx] */ 626 edi = MEM32(edx + 0x8); /* 0x39005587: mov edi, dword ptr [edx + 8] */ 627 MEM32(ecx) = edi; /* 0x3900558A: mov dword ptr [ecx], edi */ 628 edi = MEM32(edx + 0x8); /* 0x3900558C: mov edi, dword ptr [edx + 8] */ 629 /* cmp edi, MEM32(esi + 0x8) */ /* 0x3900558F: cmp edi, dword ptr [esi + 8] */ 630 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 631 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 632 _flag_k = FK_CMP; 633 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005597; /* 0x39005592: je 0x39005597 */ 634 L_39005594: 635 MEM32(edi + 0x4) = ecx; /* 0x39005594: mov dword ptr [edi + 4], ecx */ 636 L_39005597: 637 edi = MEM32(ecx + 0x4); /* 0x39005597: mov edi, dword ptr [ecx + 4] */ 638 MEM32(edx + 0x4) = edi; /* 0x3900559A: mov dword ptr [edx + 4], edi */ 639 edi = MEM32(esi + 0x4); /* 0x3900559D: mov edi, dword ptr [esi + 4] */ 640 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x390055A0: cmp ecx, dword ptr [edi + 4] */ 641 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 642 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 643 _flag_k = FK_CMP; 644 if (CMP_NE(_flag_a, _flag_b)) goto L_390055B0; /* 0x390055A3: jne 0x390055b0 */ 645 L_390055A5: 646 MEM32(edi + 0x4) = edx; /* 0x390055A5: mov dword ptr [edi + 4], edx */ 647 MEM32(edx + 0x8) = ecx; /* 0x390055A8: mov dword ptr [edx + 8], ecx */ 648 goto L_39005662; /* 0x390055AB: jmp 0x39005662 */ 649 L_390055B0: 650 edi = MEM32(ecx + 0x4); /* 0x390055B0: mov edi, dword ptr [ecx + 4] */ 651 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x390055B3: cmp ecx, dword ptr [edi + 8] */ 652 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 653 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 654 _flag_k = FK_CMP; 655 if (CMP_NE(_flag_a, _flag_b)) goto L_390055C3; /* 0x390055B6: jne 0x390055c3 */ 656 L_390055B8: 657 MEM32(edi + 0x8) = edx; /* 0x390055B8: mov dword ptr [edi + 8], edx */ 658 MEM32(edx + 0x8) = ecx; /* 0x390055BB: mov dword ptr [edx + 8], ecx */ 659 goto L_39005662; /* 0x390055BE: jmp 0x39005662 */ 660 L_390055C3: 661 MEM32(edi) = edx; /* 0x390055C3: mov dword ptr [edi], edx */ 662 MEM32(edx + 0x8) = ecx; /* 0x390055C5: mov dword ptr [edx + 8], ecx */ 663 goto L_39005662; /* 0x390055C8: jmp 0x39005662 */ 664 L_390055CD: 665 /* cmp MEM8(edx + 0x14), 0 */ /* 0x390055CD: cmp byte ptr [edx + 0x14], 0 */ 666 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 667 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 668 _flag_k = FK_NARROW(FK_CMP, 24); 669 RECOMP_BACKEDGE(); 670 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005515; /* 0x390055D1: je 0x39005515 */ 671 L_390055D7: 672 /* cmp eax, MEM32(ecx) */ /* 0x390055D7: cmp eax, dword ptr [ecx] */ 673 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 674 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 675 _flag_k = FK_CMP; 676 if (CMP_NE(_flag_a, _flag_b)) goto L_39005617; /* 0x390055D9: jne 0x39005617 */ 677 L_390055DB: 678 eax = ecx; /* 0x390055DB: mov eax, ecx */ 679 ecx = MEM32(eax); /* 0x390055DD: mov ecx, dword ptr [eax] */ 680 edx = MEM32(ecx + 0x8); /* 0x390055DF: mov edx, dword ptr [ecx + 8] */ 681 MEM32(eax) = edx; /* 0x390055E2: mov dword ptr [eax], edx */ 682 edx = MEM32(ecx + 0x8); /* 0x390055E4: mov edx, dword ptr [ecx + 8] */ 683 /* cmp edx, MEM32(esi + 0x8) */ /* 0x390055E7: cmp edx, dword ptr [esi + 8] */ 684 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 685 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 686 _flag_k = FK_CMP; 687 if (CMP_EQ(_flag_a, _flag_b)) goto L_390055EF; /* 0x390055EA: je 0x390055ef */ 688 L_390055EC: 689 MEM32(edx + 0x4) = eax; /* 0x390055EC: mov dword ptr [edx + 4], eax */ 690 L_390055EF: 691 edx = MEM32(eax + 0x4); /* 0x390055EF: mov edx, dword ptr [eax + 4] */ 692 MEM32(ecx + 0x4) = edx; /* 0x390055F2: mov dword ptr [ecx + 4], edx */ 693 edx = MEM32(esi + 0x4); /* 0x390055F5: mov edx, dword ptr [esi + 4] */ 694 /* cmp eax, MEM32(edx + 0x4) */ /* 0x390055F8: cmp eax, dword ptr [edx + 4] */ 695 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 696 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 697 _flag_k = FK_CMP; 698 if (CMP_NE(_flag_a, _flag_b)) goto L_39005602; /* 0x390055FB: jne 0x39005602 */ 699 L_390055FD: 700 MEM32(edx + 0x4) = ecx; /* 0x390055FD: mov dword ptr [edx + 4], ecx */ 701 goto L_39005611; /* 0x39005600: jmp 0x39005611 */ 702 L_39005602: 703 edx = MEM32(eax + 0x4); /* 0x39005602: mov edx, dword ptr [eax + 4] */ 704 /* cmp eax, MEM32(edx + 0x8) */ /* 0x39005605: cmp eax, dword ptr [edx + 8] */ 705 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 706 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 707 _flag_k = FK_CMP; 708 if (CMP_NE(_flag_a, _flag_b)) goto L_3900560F; /* 0x39005608: jne 0x3900560f */ 709 L_3900560A: 710 MEM32(edx + 0x8) = ecx; /* 0x3900560A: mov dword ptr [edx + 8], ecx */ 711 goto L_39005611; /* 0x3900560D: jmp 0x39005611 */ 712 L_3900560F: 713 MEM32(edx) = ecx; /* 0x3900560F: mov dword ptr [edx], ecx */ 714 L_39005611: 715 MEM32(ecx + 0x8) = eax; /* 0x39005611: mov dword ptr [ecx + 8], eax */ 716 MEM32(eax + 0x4) = ecx; /* 0x39005614: mov dword ptr [eax + 4], ecx */ 717 L_39005617: 718 ecx = MEM32(eax + 0x4); /* 0x39005617: mov ecx, dword ptr [eax + 4] */ 719 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x3900561A: mov byte ptr [ecx + 0x14], bl */ 720 edx = MEM32(eax + 0x4); /* 0x3900561D: mov edx, dword ptr [eax + 4] */ 721 ecx = MEM32(edx + 0x4); /* 0x39005620: mov ecx, dword ptr [edx + 4] */ 722 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x39005623: mov byte ptr [ecx + 0x14], 0 */ 723 edx = MEM32(eax + 0x4); /* 0x39005627: mov edx, dword ptr [eax + 4] */ 724 ecx = MEM32(edx + 0x4); /* 0x3900562A: mov ecx, dword ptr [edx + 4] */ 725 edx = MEM32(ecx + 0x8); /* 0x3900562D: mov edx, dword ptr [ecx + 8] */ 726 edi = MEM32(edx); /* 0x39005630: mov edi, dword ptr [edx] */ 727 MEM32(ecx + 0x8) = edi; /* 0x39005632: mov dword ptr [ecx + 8], edi */ 728 edi = MEM32(edx); /* 0x39005635: mov edi, dword ptr [edx] */ 729 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39005637: cmp edi, dword ptr [esi + 8] */ 730 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 731 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 732 _flag_k = FK_CMP; 733 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900563F; /* 0x3900563A: je 0x3900563f */ 734 L_3900563C: 735 MEM32(edi + 0x4) = ecx; /* 0x3900563C: mov dword ptr [edi + 4], ecx */ 736 L_3900563F: 737 edi = MEM32(ecx + 0x4); /* 0x3900563F: mov edi, dword ptr [ecx + 4] */ 738 MEM32(edx + 0x4) = edi; /* 0x39005642: mov dword ptr [edx + 4], edi */ 739 edi = MEM32(esi + 0x4); /* 0x39005645: mov edi, dword ptr [esi + 4] */ 740 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39005648: cmp ecx, dword ptr [edi + 4] */ 741 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 742 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 743 _flag_k = FK_CMP; 744 if (CMP_NE(_flag_a, _flag_b)) goto L_39005652; /* 0x3900564B: jne 0x39005652 */ 745 L_3900564D: 746 MEM32(edi + 0x4) = edx; /* 0x3900564D: mov dword ptr [edi + 4], edx */ 747 goto L_39005660; /* 0x39005650: jmp 0x39005660 */ 748 L_39005652: 749 edi = MEM32(ecx + 0x4); /* 0x39005652: mov edi, dword ptr [ecx + 4] */ 750 /* cmp ecx, MEM32(edi) */ /* 0x39005655: cmp ecx, dword ptr [edi] */ 751 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 752 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 753 _flag_k = FK_CMP; 754 if (CMP_NE(_flag_a, _flag_b)) goto L_3900565D; /* 0x39005657: jne 0x3900565d */ 755 L_39005659: 756 MEM32(edi) = edx; /* 0x39005659: mov dword ptr [edi], edx */ 757 goto L_39005660; /* 0x3900565B: jmp 0x39005660 */ 758 L_3900565D: 759 MEM32(edi + 0x8) = edx; /* 0x3900565D: mov dword ptr [edi + 8], edx */ 760 L_39005660: 761 MEM32(edx) = ecx; /* 0x39005660: mov dword ptr [edx], ecx */ 762 L_39005662: 763 MEM32(ecx + 0x4) = edx; /* 0x39005662: mov dword ptr [ecx + 4], edx */ 764 L_39005665: 765 ecx = MEM32(esi + 0x4); /* 0x39005665: mov ecx, dword ptr [esi + 4] */ 766 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x39005668: cmp eax, dword ptr [ecx + 4] */ 767 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 768 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 769 _flag_k = FK_CMP; 770 RECOMP_BACKEDGE(); 771 if (CMP_NE(_flag_a, _flag_b)) goto L_390054F1; /* 0x3900566B: jne 0x390054f1 */ 772 L_39005671: 773 edx = MEM32(esi + 0x4); /* 0x39005671: mov edx, dword ptr [esi + 4] */ 774 ecx = MEM32(ebp + (-0x4)); /* 0x39005674: mov ecx, dword ptr [ebp - 4] */ 775 edi = POP32_VAL(esp); /* 0x39005677: pop edi */ 776 esi = POP32_VAL(esp); /* 0x39005678: pop esi */ 777 eax = MEM32(edx + 0x4); /* 0x39005679: mov eax, dword ptr [edx + 4] */ 778 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x3900567C: mov byte ptr [eax + 0x14], bl */ 779 eax = MEM32(ebp + 0x8); /* 0x3900567F: mov eax, dword ptr [ebp + 8] */ 780 ebx = POP32_VAL(esp); /* 0x39005682: pop ebx */ 781 MEM32(eax) = ecx; /* 0x39005683: mov dword ptr [eax], ecx */ 782 esp = ebp; /* 0x39005685: mov esp, ebp */ 783 ebp = POP32_VAL(esp); /* 0x39005687: pop ebp */ 784 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39005688: ret 0x10 */ 785 RECOMP_REGS_OUT(); 786 } 787 788 void sub_39005611(void) { 789 int _fpu_cmp = 0; 790 uint32_t _cf = 0; 791 int _df = 1; 792 uint32_t _flag_k = FK_NONE; 793 uint32_t _flag_a = 0, _flag_b = 0; 794 uint32_t _itail_tgt = 0; 795 RECOMP_REGS_LOCALS 796 RECOMP_ENTER(0x39005611u); 797 798 goto L_39005611; 799 L_390054F1: 800 ecx = MEM32(eax + 0x4); /* 0x390054F1: mov ecx, dword ptr [eax + 4] */ 801 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x390054F4: mov dl, byte ptr [ecx + 0x14] */ 802 /* test LO8(edx), LO8(edx) */ /* 0x390054F7: test dl, dl */ 803 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 804 _cf = 0; 805 _flag_k = FK_NARROW(FK_TEST, 24); 806 if (TEST_NZ(_flag_a, _flag_b)) goto L_39005671; /* 0x390054F9: jne 0x39005671 */ 807 L_390054FF: 808 edi = MEM32(ecx + 0x4); /* 0x390054FF: mov edi, dword ptr [ecx + 4] */ 809 edx = MEM32(edi); /* 0x39005502: mov edx, dword ptr [edi] */ 810 /* cmp ecx, edx */ /* 0x39005504: cmp ecx, edx */ 811 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 812 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 813 _flag_k = FK_CMP; 814 if (CMP_NE(_flag_a, _flag_b)) goto L_390055CD; /* 0x39005506: jne 0x390055cd */ 815 L_3900550C: 816 edx = MEM32(edi + 0x8); /* 0x3900550C: mov edx, dword ptr [edi + 8] */ 817 /* cmp MEM8(edx + 0x14), 0 */ /* 0x3900550F: cmp byte ptr [edx + 0x14], 0 */ 818 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 819 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 820 _flag_k = FK_NARROW(FK_CMP, 24); 821 if (CMP_NE(_flag_a, _flag_b)) goto L_39005530; /* 0x39005513: jne 0x39005530 */ 822 L_39005515: 823 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39005515: mov byte ptr [ecx + 0x14], bl */ 824 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39005518: mov byte ptr [edx + 0x14], bl */ 825 ecx = MEM32(eax + 0x4); /* 0x3900551B: mov ecx, dword ptr [eax + 4] */ 826 edx = MEM32(ecx + 0x4); /* 0x3900551E: mov edx, dword ptr [ecx + 4] */ 827 MEM8(edx + 0x14) = (uint8_t)(0); /* 0x39005521: mov byte ptr [edx + 0x14], 0 */ 828 eax = MEM32(eax + 0x4); /* 0x39005525: mov eax, dword ptr [eax + 4] */ 829 eax = MEM32(eax + 0x4); /* 0x39005528: mov eax, dword ptr [eax + 4] */ 830 goto L_39005665; /* 0x3900552B: jmp 0x39005665 */ 831 L_39005530: 832 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x39005530: cmp eax, dword ptr [ecx + 8] */ 833 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 834 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 835 _flag_k = FK_CMP; 836 if (CMP_NE(_flag_a, _flag_b)) goto L_3900556F; /* 0x39005533: jne 0x3900556f */ 837 L_39005535: 838 eax = ecx; /* 0x39005535: mov eax, ecx */ 839 ecx = MEM32(eax + 0x8); /* 0x39005537: mov ecx, dword ptr [eax + 8] */ 840 edx = MEM32(ecx); /* 0x3900553A: mov edx, dword ptr [ecx] */ 841 MEM32(eax + 0x8) = edx; /* 0x3900553C: mov dword ptr [eax + 8], edx */ 842 edx = MEM32(ecx); /* 0x3900553F: mov edx, dword ptr [ecx] */ 843 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39005541: cmp edx, dword ptr [esi + 8] */ 844 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 845 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 846 _flag_k = FK_CMP; 847 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005549; /* 0x39005544: je 0x39005549 */ 848 L_39005546: 849 MEM32(edx + 0x4) = eax; /* 0x39005546: mov dword ptr [edx + 4], eax */ 850 L_39005549: 851 edx = MEM32(eax + 0x4); /* 0x39005549: mov edx, dword ptr [eax + 4] */ 852 MEM32(ecx + 0x4) = edx; /* 0x3900554C: mov dword ptr [ecx + 4], edx */ 853 edx = MEM32(esi + 0x4); /* 0x3900554F: mov edx, dword ptr [esi + 4] */ 854 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39005552: cmp eax, dword ptr [edx + 4] */ 855 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 856 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 857 _flag_k = FK_CMP; 858 if (CMP_NE(_flag_a, _flag_b)) goto L_3900555C; /* 0x39005555: jne 0x3900555c */ 859 L_39005557: 860 MEM32(edx + 0x4) = ecx; /* 0x39005557: mov dword ptr [edx + 4], ecx */ 861 goto L_3900556A; /* 0x3900555A: jmp 0x3900556a */ 862 L_3900555C: 863 edx = MEM32(eax + 0x4); /* 0x3900555C: mov edx, dword ptr [eax + 4] */ 864 /* cmp eax, MEM32(edx) */ /* 0x3900555F: cmp eax, dword ptr [edx] */ 865 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 866 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 867 _flag_k = FK_CMP; 868 if (CMP_NE(_flag_a, _flag_b)) goto L_39005567; /* 0x39005561: jne 0x39005567 */ 869 L_39005563: 870 MEM32(edx) = ecx; /* 0x39005563: mov dword ptr [edx], ecx */ 871 goto L_3900556A; /* 0x39005565: jmp 0x3900556a */ 872 L_39005567: 873 MEM32(edx + 0x8) = ecx; /* 0x39005567: mov dword ptr [edx + 8], ecx */ 874 L_3900556A: 875 MEM32(ecx) = eax; /* 0x3900556A: mov dword ptr [ecx], eax */ 876 MEM32(eax + 0x4) = ecx; /* 0x3900556C: mov dword ptr [eax + 4], ecx */ 877 L_3900556F: 878 ecx = MEM32(eax + 0x4); /* 0x3900556F: mov ecx, dword ptr [eax + 4] */ 879 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39005572: mov byte ptr [ecx + 0x14], bl */ 880 edx = MEM32(eax + 0x4); /* 0x39005575: mov edx, dword ptr [eax + 4] */ 881 ecx = MEM32(edx + 0x4); /* 0x39005578: mov ecx, dword ptr [edx + 4] */ 882 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x3900557B: mov byte ptr [ecx + 0x14], 0 */ 883 edx = MEM32(eax + 0x4); /* 0x3900557F: mov edx, dword ptr [eax + 4] */ 884 ecx = MEM32(edx + 0x4); /* 0x39005582: mov ecx, dword ptr [edx + 4] */ 885 edx = MEM32(ecx); /* 0x39005585: mov edx, dword ptr [ecx] */ 886 edi = MEM32(edx + 0x8); /* 0x39005587: mov edi, dword ptr [edx + 8] */ 887 MEM32(ecx) = edi; /* 0x3900558A: mov dword ptr [ecx], edi */ 888 edi = MEM32(edx + 0x8); /* 0x3900558C: mov edi, dword ptr [edx + 8] */ 889 /* cmp edi, MEM32(esi + 0x8) */ /* 0x3900558F: cmp edi, dword ptr [esi + 8] */ 890 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 891 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 892 _flag_k = FK_CMP; 893 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005597; /* 0x39005592: je 0x39005597 */ 894 L_39005594: 895 MEM32(edi + 0x4) = ecx; /* 0x39005594: mov dword ptr [edi + 4], ecx */ 896 L_39005597: 897 edi = MEM32(ecx + 0x4); /* 0x39005597: mov edi, dword ptr [ecx + 4] */ 898 MEM32(edx + 0x4) = edi; /* 0x3900559A: mov dword ptr [edx + 4], edi */ 899 edi = MEM32(esi + 0x4); /* 0x3900559D: mov edi, dword ptr [esi + 4] */ 900 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x390055A0: cmp ecx, dword ptr [edi + 4] */ 901 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 902 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 903 _flag_k = FK_CMP; 904 if (CMP_NE(_flag_a, _flag_b)) goto L_390055B0; /* 0x390055A3: jne 0x390055b0 */ 905 L_390055A5: 906 MEM32(edi + 0x4) = edx; /* 0x390055A5: mov dword ptr [edi + 4], edx */ 907 MEM32(edx + 0x8) = ecx; /* 0x390055A8: mov dword ptr [edx + 8], ecx */ 908 goto L_39005662; /* 0x390055AB: jmp 0x39005662 */ 909 L_390055B0: 910 edi = MEM32(ecx + 0x4); /* 0x390055B0: mov edi, dword ptr [ecx + 4] */ 911 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x390055B3: cmp ecx, dword ptr [edi + 8] */ 912 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 913 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 914 _flag_k = FK_CMP; 915 if (CMP_NE(_flag_a, _flag_b)) goto L_390055C3; /* 0x390055B6: jne 0x390055c3 */ 916 L_390055B8: 917 MEM32(edi + 0x8) = edx; /* 0x390055B8: mov dword ptr [edi + 8], edx */ 918 MEM32(edx + 0x8) = ecx; /* 0x390055BB: mov dword ptr [edx + 8], ecx */ 919 goto L_39005662; /* 0x390055BE: jmp 0x39005662 */ 920 L_390055C3: 921 MEM32(edi) = edx; /* 0x390055C3: mov dword ptr [edi], edx */ 922 MEM32(edx + 0x8) = ecx; /* 0x390055C5: mov dword ptr [edx + 8], ecx */ 923 goto L_39005662; /* 0x390055C8: jmp 0x39005662 */ 924 L_390055CD: 925 /* cmp MEM8(edx + 0x14), 0 */ /* 0x390055CD: cmp byte ptr [edx + 0x14], 0 */ 926 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 927 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 928 _flag_k = FK_NARROW(FK_CMP, 24); 929 RECOMP_BACKEDGE(); 930 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005515; /* 0x390055D1: je 0x39005515 */ 931 L_390055D7: 932 /* cmp eax, MEM32(ecx) */ /* 0x390055D7: cmp eax, dword ptr [ecx] */ 933 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 934 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 935 _flag_k = FK_CMP; 936 if (CMP_NE(_flag_a, _flag_b)) goto L_39005617; /* 0x390055D9: jne 0x39005617 */ 937 L_390055DB: 938 eax = ecx; /* 0x390055DB: mov eax, ecx */ 939 ecx = MEM32(eax); /* 0x390055DD: mov ecx, dword ptr [eax] */ 940 edx = MEM32(ecx + 0x8); /* 0x390055DF: mov edx, dword ptr [ecx + 8] */ 941 MEM32(eax) = edx; /* 0x390055E2: mov dword ptr [eax], edx */ 942 edx = MEM32(ecx + 0x8); /* 0x390055E4: mov edx, dword ptr [ecx + 8] */ 943 /* cmp edx, MEM32(esi + 0x8) */ /* 0x390055E7: cmp edx, dword ptr [esi + 8] */ 944 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 945 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 946 _flag_k = FK_CMP; 947 if (CMP_EQ(_flag_a, _flag_b)) goto L_390055EF; /* 0x390055EA: je 0x390055ef */ 948 L_390055EC: 949 MEM32(edx + 0x4) = eax; /* 0x390055EC: mov dword ptr [edx + 4], eax */ 950 L_390055EF: 951 edx = MEM32(eax + 0x4); /* 0x390055EF: mov edx, dword ptr [eax + 4] */ 952 MEM32(ecx + 0x4) = edx; /* 0x390055F2: mov dword ptr [ecx + 4], edx */ 953 edx = MEM32(esi + 0x4); /* 0x390055F5: mov edx, dword ptr [esi + 4] */ 954 /* cmp eax, MEM32(edx + 0x4) */ /* 0x390055F8: cmp eax, dword ptr [edx + 4] */ 955 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 956 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 957 _flag_k = FK_CMP; 958 if (CMP_NE(_flag_a, _flag_b)) goto L_39005602; /* 0x390055FB: jne 0x39005602 */ 959 L_390055FD: 960 MEM32(edx + 0x4) = ecx; /* 0x390055FD: mov dword ptr [edx + 4], ecx */ 961 goto L_39005611; /* 0x39005600: jmp 0x39005611 */ 962 L_39005602: 963 edx = MEM32(eax + 0x4); /* 0x39005602: mov edx, dword ptr [eax + 4] */ 964 /* cmp eax, MEM32(edx + 0x8) */ /* 0x39005605: cmp eax, dword ptr [edx + 8] */ 965 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 966 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 967 _flag_k = FK_CMP; 968 if (CMP_NE(_flag_a, _flag_b)) goto L_3900560F; /* 0x39005608: jne 0x3900560f */ 969 L_3900560A: 970 MEM32(edx + 0x8) = ecx; /* 0x3900560A: mov dword ptr [edx + 8], ecx */ 971 goto L_39005611; /* 0x3900560D: jmp 0x39005611 */ 972 L_3900560F: 973 MEM32(edx) = ecx; /* 0x3900560F: mov dword ptr [edx], ecx */ 974 L_39005611: 975 MEM32(ecx + 0x8) = eax; /* 0x39005611: mov dword ptr [ecx + 8], eax */ 976 MEM32(eax + 0x4) = ecx; /* 0x39005614: mov dword ptr [eax + 4], ecx */ 977 L_39005617: 978 ecx = MEM32(eax + 0x4); /* 0x39005617: mov ecx, dword ptr [eax + 4] */ 979 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x3900561A: mov byte ptr [ecx + 0x14], bl */ 980 edx = MEM32(eax + 0x4); /* 0x3900561D: mov edx, dword ptr [eax + 4] */ 981 ecx = MEM32(edx + 0x4); /* 0x39005620: mov ecx, dword ptr [edx + 4] */ 982 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x39005623: mov byte ptr [ecx + 0x14], 0 */ 983 edx = MEM32(eax + 0x4); /* 0x39005627: mov edx, dword ptr [eax + 4] */ 984 ecx = MEM32(edx + 0x4); /* 0x3900562A: mov ecx, dword ptr [edx + 4] */ 985 edx = MEM32(ecx + 0x8); /* 0x3900562D: mov edx, dword ptr [ecx + 8] */ 986 edi = MEM32(edx); /* 0x39005630: mov edi, dword ptr [edx] */ 987 MEM32(ecx + 0x8) = edi; /* 0x39005632: mov dword ptr [ecx + 8], edi */ 988 edi = MEM32(edx); /* 0x39005635: mov edi, dword ptr [edx] */ 989 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39005637: cmp edi, dword ptr [esi + 8] */ 990 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 991 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 992 _flag_k = FK_CMP; 993 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900563F; /* 0x3900563A: je 0x3900563f */ 994 L_3900563C: 995 MEM32(edi + 0x4) = ecx; /* 0x3900563C: mov dword ptr [edi + 4], ecx */ 996 L_3900563F: 997 edi = MEM32(ecx + 0x4); /* 0x3900563F: mov edi, dword ptr [ecx + 4] */ 998 MEM32(edx + 0x4) = edi; /* 0x39005642: mov dword ptr [edx + 4], edi */ 999 edi = MEM32(esi + 0x4); /* 0x39005645: mov edi, dword ptr [esi + 4] */ 1000 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39005648: cmp ecx, dword ptr [edi + 4] */ 1001 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 1002 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1003 _flag_k = FK_CMP; 1004 if (CMP_NE(_flag_a, _flag_b)) goto L_39005652; /* 0x3900564B: jne 0x39005652 */ 1005 L_3900564D: 1006 MEM32(edi + 0x4) = edx; /* 0x3900564D: mov dword ptr [edi + 4], edx */ 1007 goto L_39005660; /* 0x39005650: jmp 0x39005660 */ 1008 L_39005652: 1009 edi = MEM32(ecx + 0x4); /* 0x39005652: mov edi, dword ptr [ecx + 4] */ 1010 /* cmp ecx, MEM32(edi) */ /* 0x39005655: cmp ecx, dword ptr [edi] */ 1011 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 1012 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1013 _flag_k = FK_CMP; 1014 if (CMP_NE(_flag_a, _flag_b)) goto L_3900565D; /* 0x39005657: jne 0x3900565d */ 1015 L_39005659: 1016 MEM32(edi) = edx; /* 0x39005659: mov dword ptr [edi], edx */ 1017 goto L_39005660; /* 0x3900565B: jmp 0x39005660 */ 1018 L_3900565D: 1019 MEM32(edi + 0x8) = edx; /* 0x3900565D: mov dword ptr [edi + 8], edx */ 1020 L_39005660: 1021 MEM32(edx) = ecx; /* 0x39005660: mov dword ptr [edx], ecx */ 1022 L_39005662: 1023 MEM32(ecx + 0x4) = edx; /* 0x39005662: mov dword ptr [ecx + 4], edx */ 1024 L_39005665: 1025 ecx = MEM32(esi + 0x4); /* 0x39005665: mov ecx, dword ptr [esi + 4] */ 1026 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x39005668: cmp eax, dword ptr [ecx + 4] */ 1027 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 1028 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1029 _flag_k = FK_CMP; 1030 RECOMP_BACKEDGE(); 1031 if (CMP_NE(_flag_a, _flag_b)) goto L_390054F1; /* 0x3900566B: jne 0x390054f1 */ 1032 L_39005671: 1033 edx = MEM32(esi + 0x4); /* 0x39005671: mov edx, dword ptr [esi + 4] */ 1034 ecx = MEM32(ebp + (-0x4)); /* 0x39005674: mov ecx, dword ptr [ebp - 4] */ 1035 edi = POP32_VAL(esp); /* 0x39005677: pop edi */ 1036 esi = POP32_VAL(esp); /* 0x39005678: pop esi */ 1037 eax = MEM32(edx + 0x4); /* 0x39005679: mov eax, dword ptr [edx + 4] */ 1038 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x3900567C: mov byte ptr [eax + 0x14], bl */ 1039 eax = MEM32(ebp + 0x8); /* 0x3900567F: mov eax, dword ptr [ebp + 8] */ 1040 ebx = POP32_VAL(esp); /* 0x39005682: pop ebx */ 1041 MEM32(eax) = ecx; /* 0x39005683: mov dword ptr [eax], ecx */ 1042 esp = ebp; /* 0x39005685: mov esp, ebp */ 1043 ebp = POP32_VAL(esp); /* 0x39005687: pop ebp */ 1044 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39005688: ret 0x10 */ 1045 RECOMP_REGS_OUT(); 1046 } 1047 1048 void sub_39005617(void) { 1049 int _fpu_cmp = 0; 1050 uint32_t _cf = 0; 1051 int _df = 1; 1052 uint32_t _flag_k = FK_NONE; 1053 uint32_t _flag_a = 0, _flag_b = 0; 1054 uint32_t _itail_tgt = 0; 1055 RECOMP_REGS_LOCALS 1056 RECOMP_ENTER(0x39005617u); 1057 1058 goto L_39005617; 1059 L_390054F1: 1060 ecx = MEM32(eax + 0x4); /* 0x390054F1: mov ecx, dword ptr [eax + 4] */ 1061 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x390054F4: mov dl, byte ptr [ecx + 0x14] */ 1062 /* test LO8(edx), LO8(edx) */ /* 0x390054F7: test dl, dl */ 1063 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 1064 _cf = 0; 1065 _flag_k = FK_NARROW(FK_TEST, 24); 1066 if (TEST_NZ(_flag_a, _flag_b)) goto L_39005671; /* 0x390054F9: jne 0x39005671 */ 1067 L_390054FF: 1068 edi = MEM32(ecx + 0x4); /* 0x390054FF: mov edi, dword ptr [ecx + 4] */ 1069 edx = MEM32(edi); /* 0x39005502: mov edx, dword ptr [edi] */ 1070 /* cmp ecx, edx */ /* 0x39005504: cmp ecx, edx */ 1071 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 1072 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1073 _flag_k = FK_CMP; 1074 if (CMP_NE(_flag_a, _flag_b)) goto L_390055CD; /* 0x39005506: jne 0x390055cd */ 1075 L_3900550C: 1076 edx = MEM32(edi + 0x8); /* 0x3900550C: mov edx, dword ptr [edi + 8] */ 1077 /* cmp MEM8(edx + 0x14), 0 */ /* 0x3900550F: cmp byte ptr [edx + 0x14], 0 */ 1078 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 1079 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1080 _flag_k = FK_NARROW(FK_CMP, 24); 1081 if (CMP_NE(_flag_a, _flag_b)) goto L_39005530; /* 0x39005513: jne 0x39005530 */ 1082 L_39005515: 1083 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39005515: mov byte ptr [ecx + 0x14], bl */ 1084 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39005518: mov byte ptr [edx + 0x14], bl */ 1085 ecx = MEM32(eax + 0x4); /* 0x3900551B: mov ecx, dword ptr [eax + 4] */ 1086 edx = MEM32(ecx + 0x4); /* 0x3900551E: mov edx, dword ptr [ecx + 4] */ 1087 MEM8(edx + 0x14) = (uint8_t)(0); /* 0x39005521: mov byte ptr [edx + 0x14], 0 */ 1088 eax = MEM32(eax + 0x4); /* 0x39005525: mov eax, dword ptr [eax + 4] */ 1089 eax = MEM32(eax + 0x4); /* 0x39005528: mov eax, dword ptr [eax + 4] */ 1090 goto L_39005665; /* 0x3900552B: jmp 0x39005665 */ 1091 L_39005530: 1092 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x39005530: cmp eax, dword ptr [ecx + 8] */ 1093 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 1094 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1095 _flag_k = FK_CMP; 1096 if (CMP_NE(_flag_a, _flag_b)) goto L_3900556F; /* 0x39005533: jne 0x3900556f */ 1097 L_39005535: 1098 eax = ecx; /* 0x39005535: mov eax, ecx */ 1099 ecx = MEM32(eax + 0x8); /* 0x39005537: mov ecx, dword ptr [eax + 8] */ 1100 edx = MEM32(ecx); /* 0x3900553A: mov edx, dword ptr [ecx] */ 1101 MEM32(eax + 0x8) = edx; /* 0x3900553C: mov dword ptr [eax + 8], edx */ 1102 edx = MEM32(ecx); /* 0x3900553F: mov edx, dword ptr [ecx] */ 1103 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39005541: cmp edx, dword ptr [esi + 8] */ 1104 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1105 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1106 _flag_k = FK_CMP; 1107 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005549; /* 0x39005544: je 0x39005549 */ 1108 L_39005546: 1109 MEM32(edx + 0x4) = eax; /* 0x39005546: mov dword ptr [edx + 4], eax */ 1110 L_39005549: 1111 edx = MEM32(eax + 0x4); /* 0x39005549: mov edx, dword ptr [eax + 4] */ 1112 MEM32(ecx + 0x4) = edx; /* 0x3900554C: mov dword ptr [ecx + 4], edx */ 1113 edx = MEM32(esi + 0x4); /* 0x3900554F: mov edx, dword ptr [esi + 4] */ 1114 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39005552: cmp eax, dword ptr [edx + 4] */ 1115 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 1116 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1117 _flag_k = FK_CMP; 1118 if (CMP_NE(_flag_a, _flag_b)) goto L_3900555C; /* 0x39005555: jne 0x3900555c */ 1119 L_39005557: 1120 MEM32(edx + 0x4) = ecx; /* 0x39005557: mov dword ptr [edx + 4], ecx */ 1121 goto L_3900556A; /* 0x3900555A: jmp 0x3900556a */ 1122 L_3900555C: 1123 edx = MEM32(eax + 0x4); /* 0x3900555C: mov edx, dword ptr [eax + 4] */ 1124 /* cmp eax, MEM32(edx) */ /* 0x3900555F: cmp eax, dword ptr [edx] */ 1125 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 1126 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1127 _flag_k = FK_CMP; 1128 if (CMP_NE(_flag_a, _flag_b)) goto L_39005567; /* 0x39005561: jne 0x39005567 */ 1129 L_39005563: 1130 MEM32(edx) = ecx; /* 0x39005563: mov dword ptr [edx], ecx */ 1131 goto L_3900556A; /* 0x39005565: jmp 0x3900556a */ 1132 L_39005567: 1133 MEM32(edx + 0x8) = ecx; /* 0x39005567: mov dword ptr [edx + 8], ecx */ 1134 L_3900556A: 1135 MEM32(ecx) = eax; /* 0x3900556A: mov dword ptr [ecx], eax */ 1136 MEM32(eax + 0x4) = ecx; /* 0x3900556C: mov dword ptr [eax + 4], ecx */ 1137 L_3900556F: 1138 ecx = MEM32(eax + 0x4); /* 0x3900556F: mov ecx, dword ptr [eax + 4] */ 1139 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39005572: mov byte ptr [ecx + 0x14], bl */ 1140 edx = MEM32(eax + 0x4); /* 0x39005575: mov edx, dword ptr [eax + 4] */ 1141 ecx = MEM32(edx + 0x4); /* 0x39005578: mov ecx, dword ptr [edx + 4] */ 1142 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x3900557B: mov byte ptr [ecx + 0x14], 0 */ 1143 edx = MEM32(eax + 0x4); /* 0x3900557F: mov edx, dword ptr [eax + 4] */ 1144 ecx = MEM32(edx + 0x4); /* 0x39005582: mov ecx, dword ptr [edx + 4] */ 1145 edx = MEM32(ecx); /* 0x39005585: mov edx, dword ptr [ecx] */ 1146 edi = MEM32(edx + 0x8); /* 0x39005587: mov edi, dword ptr [edx + 8] */ 1147 MEM32(ecx) = edi; /* 0x3900558A: mov dword ptr [ecx], edi */ 1148 edi = MEM32(edx + 0x8); /* 0x3900558C: mov edi, dword ptr [edx + 8] */ 1149 /* cmp edi, MEM32(esi + 0x8) */ /* 0x3900558F: cmp edi, dword ptr [esi + 8] */ 1150 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1151 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1152 _flag_k = FK_CMP; 1153 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005597; /* 0x39005592: je 0x39005597 */ 1154 L_39005594: 1155 MEM32(edi + 0x4) = ecx; /* 0x39005594: mov dword ptr [edi + 4], ecx */ 1156 L_39005597: 1157 edi = MEM32(ecx + 0x4); /* 0x39005597: mov edi, dword ptr [ecx + 4] */ 1158 MEM32(edx + 0x4) = edi; /* 0x3900559A: mov dword ptr [edx + 4], edi */ 1159 edi = MEM32(esi + 0x4); /* 0x3900559D: mov edi, dword ptr [esi + 4] */ 1160 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x390055A0: cmp ecx, dword ptr [edi + 4] */ 1161 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 1162 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1163 _flag_k = FK_CMP; 1164 if (CMP_NE(_flag_a, _flag_b)) goto L_390055B0; /* 0x390055A3: jne 0x390055b0 */ 1165 L_390055A5: 1166 MEM32(edi + 0x4) = edx; /* 0x390055A5: mov dword ptr [edi + 4], edx */ 1167 MEM32(edx + 0x8) = ecx; /* 0x390055A8: mov dword ptr [edx + 8], ecx */ 1168 goto L_39005662; /* 0x390055AB: jmp 0x39005662 */ 1169 L_390055B0: 1170 edi = MEM32(ecx + 0x4); /* 0x390055B0: mov edi, dword ptr [ecx + 4] */ 1171 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x390055B3: cmp ecx, dword ptr [edi + 8] */ 1172 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1173 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1174 _flag_k = FK_CMP; 1175 if (CMP_NE(_flag_a, _flag_b)) goto L_390055C3; /* 0x390055B6: jne 0x390055c3 */ 1176 L_390055B8: 1177 MEM32(edi + 0x8) = edx; /* 0x390055B8: mov dword ptr [edi + 8], edx */ 1178 MEM32(edx + 0x8) = ecx; /* 0x390055BB: mov dword ptr [edx + 8], ecx */ 1179 goto L_39005662; /* 0x390055BE: jmp 0x39005662 */ 1180 L_390055C3: 1181 MEM32(edi) = edx; /* 0x390055C3: mov dword ptr [edi], edx */ 1182 MEM32(edx + 0x8) = ecx; /* 0x390055C5: mov dword ptr [edx + 8], ecx */ 1183 goto L_39005662; /* 0x390055C8: jmp 0x39005662 */ 1184 L_390055CD: 1185 /* cmp MEM8(edx + 0x14), 0 */ /* 0x390055CD: cmp byte ptr [edx + 0x14], 0 */ 1186 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 1187 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1188 _flag_k = FK_NARROW(FK_CMP, 24); 1189 RECOMP_BACKEDGE(); 1190 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005515; /* 0x390055D1: je 0x39005515 */ 1191 L_390055D7: 1192 /* cmp eax, MEM32(ecx) */ /* 0x390055D7: cmp eax, dword ptr [ecx] */ 1193 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 1194 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1195 _flag_k = FK_CMP; 1196 if (CMP_NE(_flag_a, _flag_b)) goto L_39005617; /* 0x390055D9: jne 0x39005617 */ 1197 L_390055DB: 1198 eax = ecx; /* 0x390055DB: mov eax, ecx */ 1199 ecx = MEM32(eax); /* 0x390055DD: mov ecx, dword ptr [eax] */ 1200 edx = MEM32(ecx + 0x8); /* 0x390055DF: mov edx, dword ptr [ecx + 8] */ 1201 MEM32(eax) = edx; /* 0x390055E2: mov dword ptr [eax], edx */ 1202 edx = MEM32(ecx + 0x8); /* 0x390055E4: mov edx, dword ptr [ecx + 8] */ 1203 /* cmp edx, MEM32(esi + 0x8) */ /* 0x390055E7: cmp edx, dword ptr [esi + 8] */ 1204 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1205 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1206 _flag_k = FK_CMP; 1207 if (CMP_EQ(_flag_a, _flag_b)) goto L_390055EF; /* 0x390055EA: je 0x390055ef */ 1208 L_390055EC: 1209 MEM32(edx + 0x4) = eax; /* 0x390055EC: mov dword ptr [edx + 4], eax */ 1210 L_390055EF: 1211 edx = MEM32(eax + 0x4); /* 0x390055EF: mov edx, dword ptr [eax + 4] */ 1212 MEM32(ecx + 0x4) = edx; /* 0x390055F2: mov dword ptr [ecx + 4], edx */ 1213 edx = MEM32(esi + 0x4); /* 0x390055F5: mov edx, dword ptr [esi + 4] */ 1214 /* cmp eax, MEM32(edx + 0x4) */ /* 0x390055F8: cmp eax, dword ptr [edx + 4] */ 1215 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 1216 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1217 _flag_k = FK_CMP; 1218 if (CMP_NE(_flag_a, _flag_b)) goto L_39005602; /* 0x390055FB: jne 0x39005602 */ 1219 L_390055FD: 1220 MEM32(edx + 0x4) = ecx; /* 0x390055FD: mov dword ptr [edx + 4], ecx */ 1221 goto L_39005611; /* 0x39005600: jmp 0x39005611 */ 1222 L_39005602: 1223 edx = MEM32(eax + 0x4); /* 0x39005602: mov edx, dword ptr [eax + 4] */ 1224 /* cmp eax, MEM32(edx + 0x8) */ /* 0x39005605: cmp eax, dword ptr [edx + 8] */ 1225 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 1226 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1227 _flag_k = FK_CMP; 1228 if (CMP_NE(_flag_a, _flag_b)) goto L_3900560F; /* 0x39005608: jne 0x3900560f */ 1229 L_3900560A: 1230 MEM32(edx + 0x8) = ecx; /* 0x3900560A: mov dword ptr [edx + 8], ecx */ 1231 goto L_39005611; /* 0x3900560D: jmp 0x39005611 */ 1232 L_3900560F: 1233 MEM32(edx) = ecx; /* 0x3900560F: mov dword ptr [edx], ecx */ 1234 L_39005611: 1235 MEM32(ecx + 0x8) = eax; /* 0x39005611: mov dword ptr [ecx + 8], eax */ 1236 MEM32(eax + 0x4) = ecx; /* 0x39005614: mov dword ptr [eax + 4], ecx */ 1237 L_39005617: 1238 ecx = MEM32(eax + 0x4); /* 0x39005617: mov ecx, dword ptr [eax + 4] */ 1239 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x3900561A: mov byte ptr [ecx + 0x14], bl */ 1240 edx = MEM32(eax + 0x4); /* 0x3900561D: mov edx, dword ptr [eax + 4] */ 1241 ecx = MEM32(edx + 0x4); /* 0x39005620: mov ecx, dword ptr [edx + 4] */ 1242 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x39005623: mov byte ptr [ecx + 0x14], 0 */ 1243 edx = MEM32(eax + 0x4); /* 0x39005627: mov edx, dword ptr [eax + 4] */ 1244 ecx = MEM32(edx + 0x4); /* 0x3900562A: mov ecx, dword ptr [edx + 4] */ 1245 edx = MEM32(ecx + 0x8); /* 0x3900562D: mov edx, dword ptr [ecx + 8] */ 1246 edi = MEM32(edx); /* 0x39005630: mov edi, dword ptr [edx] */ 1247 MEM32(ecx + 0x8) = edi; /* 0x39005632: mov dword ptr [ecx + 8], edi */ 1248 edi = MEM32(edx); /* 0x39005635: mov edi, dword ptr [edx] */ 1249 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39005637: cmp edi, dword ptr [esi + 8] */ 1250 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1251 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1252 _flag_k = FK_CMP; 1253 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900563F; /* 0x3900563A: je 0x3900563f */ 1254 L_3900563C: 1255 MEM32(edi + 0x4) = ecx; /* 0x3900563C: mov dword ptr [edi + 4], ecx */ 1256 L_3900563F: 1257 edi = MEM32(ecx + 0x4); /* 0x3900563F: mov edi, dword ptr [ecx + 4] */ 1258 MEM32(edx + 0x4) = edi; /* 0x39005642: mov dword ptr [edx + 4], edi */ 1259 edi = MEM32(esi + 0x4); /* 0x39005645: mov edi, dword ptr [esi + 4] */ 1260 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39005648: cmp ecx, dword ptr [edi + 4] */ 1261 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 1262 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1263 _flag_k = FK_CMP; 1264 if (CMP_NE(_flag_a, _flag_b)) goto L_39005652; /* 0x3900564B: jne 0x39005652 */ 1265 L_3900564D: 1266 MEM32(edi + 0x4) = edx; /* 0x3900564D: mov dword ptr [edi + 4], edx */ 1267 goto L_39005660; /* 0x39005650: jmp 0x39005660 */ 1268 L_39005652: 1269 edi = MEM32(ecx + 0x4); /* 0x39005652: mov edi, dword ptr [ecx + 4] */ 1270 /* cmp ecx, MEM32(edi) */ /* 0x39005655: cmp ecx, dword ptr [edi] */ 1271 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 1272 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1273 _flag_k = FK_CMP; 1274 if (CMP_NE(_flag_a, _flag_b)) goto L_3900565D; /* 0x39005657: jne 0x3900565d */ 1275 L_39005659: 1276 MEM32(edi) = edx; /* 0x39005659: mov dword ptr [edi], edx */ 1277 goto L_39005660; /* 0x3900565B: jmp 0x39005660 */ 1278 L_3900565D: 1279 MEM32(edi + 0x8) = edx; /* 0x3900565D: mov dword ptr [edi + 8], edx */ 1280 L_39005660: 1281 MEM32(edx) = ecx; /* 0x39005660: mov dword ptr [edx], ecx */ 1282 L_39005662: 1283 MEM32(ecx + 0x4) = edx; /* 0x39005662: mov dword ptr [ecx + 4], edx */ 1284 L_39005665: 1285 ecx = MEM32(esi + 0x4); /* 0x39005665: mov ecx, dword ptr [esi + 4] */ 1286 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x39005668: cmp eax, dword ptr [ecx + 4] */ 1287 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 1288 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1289 _flag_k = FK_CMP; 1290 RECOMP_BACKEDGE(); 1291 if (CMP_NE(_flag_a, _flag_b)) goto L_390054F1; /* 0x3900566B: jne 0x390054f1 */ 1292 L_39005671: 1293 edx = MEM32(esi + 0x4); /* 0x39005671: mov edx, dword ptr [esi + 4] */ 1294 ecx = MEM32(ebp + (-0x4)); /* 0x39005674: mov ecx, dword ptr [ebp - 4] */ 1295 edi = POP32_VAL(esp); /* 0x39005677: pop edi */ 1296 esi = POP32_VAL(esp); /* 0x39005678: pop esi */ 1297 eax = MEM32(edx + 0x4); /* 0x39005679: mov eax, dword ptr [edx + 4] */ 1298 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x3900567C: mov byte ptr [eax + 0x14], bl */ 1299 eax = MEM32(ebp + 0x8); /* 0x3900567F: mov eax, dword ptr [ebp + 8] */ 1300 ebx = POP32_VAL(esp); /* 0x39005682: pop ebx */ 1301 MEM32(eax) = ecx; /* 0x39005683: mov dword ptr [eax], ecx */ 1302 esp = ebp; /* 0x39005685: mov esp, ebp */ 1303 ebp = POP32_VAL(esp); /* 0x39005687: pop ebp */ 1304 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39005688: ret 0x10 */ 1305 RECOMP_REGS_OUT(); 1306 } 1307 1308 void sub_39005660(void) { 1309 int _fpu_cmp = 0; 1310 uint32_t _cf = 0; 1311 int _df = 1; 1312 uint32_t _flag_k = FK_NONE; 1313 uint32_t _flag_a = 0, _flag_b = 0; 1314 uint32_t _itail_tgt = 0; 1315 RECOMP_REGS_LOCALS 1316 RECOMP_ENTER(0x39005660u); 1317 1318 goto L_39005660; 1319 L_390054F1: 1320 ecx = MEM32(eax + 0x4); /* 0x390054F1: mov ecx, dword ptr [eax + 4] */ 1321 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x390054F4: mov dl, byte ptr [ecx + 0x14] */ 1322 /* test LO8(edx), LO8(edx) */ /* 0x390054F7: test dl, dl */ 1323 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 1324 _cf = 0; 1325 _flag_k = FK_NARROW(FK_TEST, 24); 1326 if (TEST_NZ(_flag_a, _flag_b)) goto L_39005671; /* 0x390054F9: jne 0x39005671 */ 1327 L_390054FF: 1328 edi = MEM32(ecx + 0x4); /* 0x390054FF: mov edi, dword ptr [ecx + 4] */ 1329 edx = MEM32(edi); /* 0x39005502: mov edx, dword ptr [edi] */ 1330 /* cmp ecx, edx */ /* 0x39005504: cmp ecx, edx */ 1331 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 1332 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1333 _flag_k = FK_CMP; 1334 if (CMP_NE(_flag_a, _flag_b)) goto L_390055CD; /* 0x39005506: jne 0x390055cd */ 1335 L_3900550C: 1336 edx = MEM32(edi + 0x8); /* 0x3900550C: mov edx, dword ptr [edi + 8] */ 1337 /* cmp MEM8(edx + 0x14), 0 */ /* 0x3900550F: cmp byte ptr [edx + 0x14], 0 */ 1338 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 1339 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1340 _flag_k = FK_NARROW(FK_CMP, 24); 1341 if (CMP_NE(_flag_a, _flag_b)) goto L_39005530; /* 0x39005513: jne 0x39005530 */ 1342 L_39005515: 1343 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39005515: mov byte ptr [ecx + 0x14], bl */ 1344 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39005518: mov byte ptr [edx + 0x14], bl */ 1345 ecx = MEM32(eax + 0x4); /* 0x3900551B: mov ecx, dword ptr [eax + 4] */ 1346 edx = MEM32(ecx + 0x4); /* 0x3900551E: mov edx, dword ptr [ecx + 4] */ 1347 MEM8(edx + 0x14) = (uint8_t)(0); /* 0x39005521: mov byte ptr [edx + 0x14], 0 */ 1348 eax = MEM32(eax + 0x4); /* 0x39005525: mov eax, dword ptr [eax + 4] */ 1349 eax = MEM32(eax + 0x4); /* 0x39005528: mov eax, dword ptr [eax + 4] */ 1350 goto L_39005665; /* 0x3900552B: jmp 0x39005665 */ 1351 L_39005530: 1352 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x39005530: cmp eax, dword ptr [ecx + 8] */ 1353 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 1354 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1355 _flag_k = FK_CMP; 1356 if (CMP_NE(_flag_a, _flag_b)) goto L_3900556F; /* 0x39005533: jne 0x3900556f */ 1357 L_39005535: 1358 eax = ecx; /* 0x39005535: mov eax, ecx */ 1359 ecx = MEM32(eax + 0x8); /* 0x39005537: mov ecx, dword ptr [eax + 8] */ 1360 edx = MEM32(ecx); /* 0x3900553A: mov edx, dword ptr [ecx] */ 1361 MEM32(eax + 0x8) = edx; /* 0x3900553C: mov dword ptr [eax + 8], edx */ 1362 edx = MEM32(ecx); /* 0x3900553F: mov edx, dword ptr [ecx] */ 1363 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39005541: cmp edx, dword ptr [esi + 8] */ 1364 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1365 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1366 _flag_k = FK_CMP; 1367 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005549; /* 0x39005544: je 0x39005549 */ 1368 L_39005546: 1369 MEM32(edx + 0x4) = eax; /* 0x39005546: mov dword ptr [edx + 4], eax */ 1370 L_39005549: 1371 edx = MEM32(eax + 0x4); /* 0x39005549: mov edx, dword ptr [eax + 4] */ 1372 MEM32(ecx + 0x4) = edx; /* 0x3900554C: mov dword ptr [ecx + 4], edx */ 1373 edx = MEM32(esi + 0x4); /* 0x3900554F: mov edx, dword ptr [esi + 4] */ 1374 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39005552: cmp eax, dword ptr [edx + 4] */ 1375 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 1376 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1377 _flag_k = FK_CMP; 1378 if (CMP_NE(_flag_a, _flag_b)) goto L_3900555C; /* 0x39005555: jne 0x3900555c */ 1379 L_39005557: 1380 MEM32(edx + 0x4) = ecx; /* 0x39005557: mov dword ptr [edx + 4], ecx */ 1381 goto L_3900556A; /* 0x3900555A: jmp 0x3900556a */ 1382 L_3900555C: 1383 edx = MEM32(eax + 0x4); /* 0x3900555C: mov edx, dword ptr [eax + 4] */ 1384 /* cmp eax, MEM32(edx) */ /* 0x3900555F: cmp eax, dword ptr [edx] */ 1385 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 1386 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1387 _flag_k = FK_CMP; 1388 if (CMP_NE(_flag_a, _flag_b)) goto L_39005567; /* 0x39005561: jne 0x39005567 */ 1389 L_39005563: 1390 MEM32(edx) = ecx; /* 0x39005563: mov dword ptr [edx], ecx */ 1391 goto L_3900556A; /* 0x39005565: jmp 0x3900556a */ 1392 L_39005567: 1393 MEM32(edx + 0x8) = ecx; /* 0x39005567: mov dword ptr [edx + 8], ecx */ 1394 L_3900556A: 1395 MEM32(ecx) = eax; /* 0x3900556A: mov dword ptr [ecx], eax */ 1396 MEM32(eax + 0x4) = ecx; /* 0x3900556C: mov dword ptr [eax + 4], ecx */ 1397 L_3900556F: 1398 ecx = MEM32(eax + 0x4); /* 0x3900556F: mov ecx, dword ptr [eax + 4] */ 1399 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39005572: mov byte ptr [ecx + 0x14], bl */ 1400 edx = MEM32(eax + 0x4); /* 0x39005575: mov edx, dword ptr [eax + 4] */ 1401 ecx = MEM32(edx + 0x4); /* 0x39005578: mov ecx, dword ptr [edx + 4] */ 1402 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x3900557B: mov byte ptr [ecx + 0x14], 0 */ 1403 edx = MEM32(eax + 0x4); /* 0x3900557F: mov edx, dword ptr [eax + 4] */ 1404 ecx = MEM32(edx + 0x4); /* 0x39005582: mov ecx, dword ptr [edx + 4] */ 1405 edx = MEM32(ecx); /* 0x39005585: mov edx, dword ptr [ecx] */ 1406 edi = MEM32(edx + 0x8); /* 0x39005587: mov edi, dword ptr [edx + 8] */ 1407 MEM32(ecx) = edi; /* 0x3900558A: mov dword ptr [ecx], edi */ 1408 edi = MEM32(edx + 0x8); /* 0x3900558C: mov edi, dword ptr [edx + 8] */ 1409 /* cmp edi, MEM32(esi + 0x8) */ /* 0x3900558F: cmp edi, dword ptr [esi + 8] */ 1410 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1411 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1412 _flag_k = FK_CMP; 1413 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005597; /* 0x39005592: je 0x39005597 */ 1414 L_39005594: 1415 MEM32(edi + 0x4) = ecx; /* 0x39005594: mov dword ptr [edi + 4], ecx */ 1416 L_39005597: 1417 edi = MEM32(ecx + 0x4); /* 0x39005597: mov edi, dword ptr [ecx + 4] */ 1418 MEM32(edx + 0x4) = edi; /* 0x3900559A: mov dword ptr [edx + 4], edi */ 1419 edi = MEM32(esi + 0x4); /* 0x3900559D: mov edi, dword ptr [esi + 4] */ 1420 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x390055A0: cmp ecx, dword ptr [edi + 4] */ 1421 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 1422 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1423 _flag_k = FK_CMP; 1424 if (CMP_NE(_flag_a, _flag_b)) goto L_390055B0; /* 0x390055A3: jne 0x390055b0 */ 1425 L_390055A5: 1426 MEM32(edi + 0x4) = edx; /* 0x390055A5: mov dword ptr [edi + 4], edx */ 1427 MEM32(edx + 0x8) = ecx; /* 0x390055A8: mov dword ptr [edx + 8], ecx */ 1428 goto L_39005662; /* 0x390055AB: jmp 0x39005662 */ 1429 L_390055B0: 1430 edi = MEM32(ecx + 0x4); /* 0x390055B0: mov edi, dword ptr [ecx + 4] */ 1431 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x390055B3: cmp ecx, dword ptr [edi + 8] */ 1432 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1433 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1434 _flag_k = FK_CMP; 1435 if (CMP_NE(_flag_a, _flag_b)) goto L_390055C3; /* 0x390055B6: jne 0x390055c3 */ 1436 L_390055B8: 1437 MEM32(edi + 0x8) = edx; /* 0x390055B8: mov dword ptr [edi + 8], edx */ 1438 MEM32(edx + 0x8) = ecx; /* 0x390055BB: mov dword ptr [edx + 8], ecx */ 1439 goto L_39005662; /* 0x390055BE: jmp 0x39005662 */ 1440 L_390055C3: 1441 MEM32(edi) = edx; /* 0x390055C3: mov dword ptr [edi], edx */ 1442 MEM32(edx + 0x8) = ecx; /* 0x390055C5: mov dword ptr [edx + 8], ecx */ 1443 goto L_39005662; /* 0x390055C8: jmp 0x39005662 */ 1444 L_390055CD: 1445 /* cmp MEM8(edx + 0x14), 0 */ /* 0x390055CD: cmp byte ptr [edx + 0x14], 0 */ 1446 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 1447 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1448 _flag_k = FK_NARROW(FK_CMP, 24); 1449 RECOMP_BACKEDGE(); 1450 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005515; /* 0x390055D1: je 0x39005515 */ 1451 L_390055D7: 1452 /* cmp eax, MEM32(ecx) */ /* 0x390055D7: cmp eax, dword ptr [ecx] */ 1453 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 1454 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1455 _flag_k = FK_CMP; 1456 if (CMP_NE(_flag_a, _flag_b)) goto L_39005617; /* 0x390055D9: jne 0x39005617 */ 1457 L_390055DB: 1458 eax = ecx; /* 0x390055DB: mov eax, ecx */ 1459 ecx = MEM32(eax); /* 0x390055DD: mov ecx, dword ptr [eax] */ 1460 edx = MEM32(ecx + 0x8); /* 0x390055DF: mov edx, dword ptr [ecx + 8] */ 1461 MEM32(eax) = edx; /* 0x390055E2: mov dword ptr [eax], edx */ 1462 edx = MEM32(ecx + 0x8); /* 0x390055E4: mov edx, dword ptr [ecx + 8] */ 1463 /* cmp edx, MEM32(esi + 0x8) */ /* 0x390055E7: cmp edx, dword ptr [esi + 8] */ 1464 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1465 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1466 _flag_k = FK_CMP; 1467 if (CMP_EQ(_flag_a, _flag_b)) goto L_390055EF; /* 0x390055EA: je 0x390055ef */ 1468 L_390055EC: 1469 MEM32(edx + 0x4) = eax; /* 0x390055EC: mov dword ptr [edx + 4], eax */ 1470 L_390055EF: 1471 edx = MEM32(eax + 0x4); /* 0x390055EF: mov edx, dword ptr [eax + 4] */ 1472 MEM32(ecx + 0x4) = edx; /* 0x390055F2: mov dword ptr [ecx + 4], edx */ 1473 edx = MEM32(esi + 0x4); /* 0x390055F5: mov edx, dword ptr [esi + 4] */ 1474 /* cmp eax, MEM32(edx + 0x4) */ /* 0x390055F8: cmp eax, dword ptr [edx + 4] */ 1475 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 1476 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1477 _flag_k = FK_CMP; 1478 if (CMP_NE(_flag_a, _flag_b)) goto L_39005602; /* 0x390055FB: jne 0x39005602 */ 1479 L_390055FD: 1480 MEM32(edx + 0x4) = ecx; /* 0x390055FD: mov dword ptr [edx + 4], ecx */ 1481 goto L_39005611; /* 0x39005600: jmp 0x39005611 */ 1482 L_39005602: 1483 edx = MEM32(eax + 0x4); /* 0x39005602: mov edx, dword ptr [eax + 4] */ 1484 /* cmp eax, MEM32(edx + 0x8) */ /* 0x39005605: cmp eax, dword ptr [edx + 8] */ 1485 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 1486 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1487 _flag_k = FK_CMP; 1488 if (CMP_NE(_flag_a, _flag_b)) goto L_3900560F; /* 0x39005608: jne 0x3900560f */ 1489 L_3900560A: 1490 MEM32(edx + 0x8) = ecx; /* 0x3900560A: mov dword ptr [edx + 8], ecx */ 1491 goto L_39005611; /* 0x3900560D: jmp 0x39005611 */ 1492 L_3900560F: 1493 MEM32(edx) = ecx; /* 0x3900560F: mov dword ptr [edx], ecx */ 1494 L_39005611: 1495 MEM32(ecx + 0x8) = eax; /* 0x39005611: mov dword ptr [ecx + 8], eax */ 1496 MEM32(eax + 0x4) = ecx; /* 0x39005614: mov dword ptr [eax + 4], ecx */ 1497 L_39005617: 1498 ecx = MEM32(eax + 0x4); /* 0x39005617: mov ecx, dword ptr [eax + 4] */ 1499 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x3900561A: mov byte ptr [ecx + 0x14], bl */ 1500 edx = MEM32(eax + 0x4); /* 0x3900561D: mov edx, dword ptr [eax + 4] */ 1501 ecx = MEM32(edx + 0x4); /* 0x39005620: mov ecx, dword ptr [edx + 4] */ 1502 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x39005623: mov byte ptr [ecx + 0x14], 0 */ 1503 edx = MEM32(eax + 0x4); /* 0x39005627: mov edx, dword ptr [eax + 4] */ 1504 ecx = MEM32(edx + 0x4); /* 0x3900562A: mov ecx, dword ptr [edx + 4] */ 1505 edx = MEM32(ecx + 0x8); /* 0x3900562D: mov edx, dword ptr [ecx + 8] */ 1506 edi = MEM32(edx); /* 0x39005630: mov edi, dword ptr [edx] */ 1507 MEM32(ecx + 0x8) = edi; /* 0x39005632: mov dword ptr [ecx + 8], edi */ 1508 edi = MEM32(edx); /* 0x39005635: mov edi, dword ptr [edx] */ 1509 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39005637: cmp edi, dword ptr [esi + 8] */ 1510 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1511 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1512 _flag_k = FK_CMP; 1513 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900563F; /* 0x3900563A: je 0x3900563f */ 1514 L_3900563C: 1515 MEM32(edi + 0x4) = ecx; /* 0x3900563C: mov dword ptr [edi + 4], ecx */ 1516 L_3900563F: 1517 edi = MEM32(ecx + 0x4); /* 0x3900563F: mov edi, dword ptr [ecx + 4] */ 1518 MEM32(edx + 0x4) = edi; /* 0x39005642: mov dword ptr [edx + 4], edi */ 1519 edi = MEM32(esi + 0x4); /* 0x39005645: mov edi, dword ptr [esi + 4] */ 1520 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39005648: cmp ecx, dword ptr [edi + 4] */ 1521 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 1522 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1523 _flag_k = FK_CMP; 1524 if (CMP_NE(_flag_a, _flag_b)) goto L_39005652; /* 0x3900564B: jne 0x39005652 */ 1525 L_3900564D: 1526 MEM32(edi + 0x4) = edx; /* 0x3900564D: mov dword ptr [edi + 4], edx */ 1527 goto L_39005660; /* 0x39005650: jmp 0x39005660 */ 1528 L_39005652: 1529 edi = MEM32(ecx + 0x4); /* 0x39005652: mov edi, dword ptr [ecx + 4] */ 1530 /* cmp ecx, MEM32(edi) */ /* 0x39005655: cmp ecx, dword ptr [edi] */ 1531 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 1532 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1533 _flag_k = FK_CMP; 1534 if (CMP_NE(_flag_a, _flag_b)) goto L_3900565D; /* 0x39005657: jne 0x3900565d */ 1535 L_39005659: 1536 MEM32(edi) = edx; /* 0x39005659: mov dword ptr [edi], edx */ 1537 goto L_39005660; /* 0x3900565B: jmp 0x39005660 */ 1538 L_3900565D: 1539 MEM32(edi + 0x8) = edx; /* 0x3900565D: mov dword ptr [edi + 8], edx */ 1540 L_39005660: 1541 MEM32(edx) = ecx; /* 0x39005660: mov dword ptr [edx], ecx */ 1542 L_39005662: 1543 MEM32(ecx + 0x4) = edx; /* 0x39005662: mov dword ptr [ecx + 4], edx */ 1544 L_39005665: 1545 ecx = MEM32(esi + 0x4); /* 0x39005665: mov ecx, dword ptr [esi + 4] */ 1546 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x39005668: cmp eax, dword ptr [ecx + 4] */ 1547 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 1548 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1549 _flag_k = FK_CMP; 1550 RECOMP_BACKEDGE(); 1551 if (CMP_NE(_flag_a, _flag_b)) goto L_390054F1; /* 0x3900566B: jne 0x390054f1 */ 1552 L_39005671: 1553 edx = MEM32(esi + 0x4); /* 0x39005671: mov edx, dword ptr [esi + 4] */ 1554 ecx = MEM32(ebp + (-0x4)); /* 0x39005674: mov ecx, dword ptr [ebp - 4] */ 1555 edi = POP32_VAL(esp); /* 0x39005677: pop edi */ 1556 esi = POP32_VAL(esp); /* 0x39005678: pop esi */ 1557 eax = MEM32(edx + 0x4); /* 0x39005679: mov eax, dword ptr [edx + 4] */ 1558 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x3900567C: mov byte ptr [eax + 0x14], bl */ 1559 eax = MEM32(ebp + 0x8); /* 0x3900567F: mov eax, dword ptr [ebp + 8] */ 1560 ebx = POP32_VAL(esp); /* 0x39005682: pop ebx */ 1561 MEM32(eax) = ecx; /* 0x39005683: mov dword ptr [eax], ecx */ 1562 esp = ebp; /* 0x39005685: mov esp, ebp */ 1563 ebp = POP32_VAL(esp); /* 0x39005687: pop ebp */ 1564 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39005688: ret 0x10 */ 1565 RECOMP_REGS_OUT(); 1566 } 1567 1568 void sub_39005662(void) { 1569 int _fpu_cmp = 0; 1570 uint32_t _cf = 0; 1571 int _df = 1; 1572 uint32_t _flag_k = FK_NONE; 1573 uint32_t _flag_a = 0, _flag_b = 0; 1574 uint32_t _itail_tgt = 0; 1575 RECOMP_REGS_LOCALS 1576 RECOMP_ENTER(0x39005662u); 1577 1578 goto L_39005662; 1579 L_390054F1: 1580 ecx = MEM32(eax + 0x4); /* 0x390054F1: mov ecx, dword ptr [eax + 4] */ 1581 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x390054F4: mov dl, byte ptr [ecx + 0x14] */ 1582 /* test LO8(edx), LO8(edx) */ /* 0x390054F7: test dl, dl */ 1583 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 1584 _cf = 0; 1585 _flag_k = FK_NARROW(FK_TEST, 24); 1586 if (TEST_NZ(_flag_a, _flag_b)) goto L_39005671; /* 0x390054F9: jne 0x39005671 */ 1587 L_390054FF: 1588 edi = MEM32(ecx + 0x4); /* 0x390054FF: mov edi, dword ptr [ecx + 4] */ 1589 edx = MEM32(edi); /* 0x39005502: mov edx, dword ptr [edi] */ 1590 /* cmp ecx, edx */ /* 0x39005504: cmp ecx, edx */ 1591 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 1592 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1593 _flag_k = FK_CMP; 1594 if (CMP_NE(_flag_a, _flag_b)) goto L_390055CD; /* 0x39005506: jne 0x390055cd */ 1595 L_3900550C: 1596 edx = MEM32(edi + 0x8); /* 0x3900550C: mov edx, dword ptr [edi + 8] */ 1597 /* cmp MEM8(edx + 0x14), 0 */ /* 0x3900550F: cmp byte ptr [edx + 0x14], 0 */ 1598 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 1599 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1600 _flag_k = FK_NARROW(FK_CMP, 24); 1601 if (CMP_NE(_flag_a, _flag_b)) goto L_39005530; /* 0x39005513: jne 0x39005530 */ 1602 L_39005515: 1603 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39005515: mov byte ptr [ecx + 0x14], bl */ 1604 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39005518: mov byte ptr [edx + 0x14], bl */ 1605 ecx = MEM32(eax + 0x4); /* 0x3900551B: mov ecx, dword ptr [eax + 4] */ 1606 edx = MEM32(ecx + 0x4); /* 0x3900551E: mov edx, dword ptr [ecx + 4] */ 1607 MEM8(edx + 0x14) = (uint8_t)(0); /* 0x39005521: mov byte ptr [edx + 0x14], 0 */ 1608 eax = MEM32(eax + 0x4); /* 0x39005525: mov eax, dword ptr [eax + 4] */ 1609 eax = MEM32(eax + 0x4); /* 0x39005528: mov eax, dword ptr [eax + 4] */ 1610 goto L_39005665; /* 0x3900552B: jmp 0x39005665 */ 1611 L_39005530: 1612 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x39005530: cmp eax, dword ptr [ecx + 8] */ 1613 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 1614 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1615 _flag_k = FK_CMP; 1616 if (CMP_NE(_flag_a, _flag_b)) goto L_3900556F; /* 0x39005533: jne 0x3900556f */ 1617 L_39005535: 1618 eax = ecx; /* 0x39005535: mov eax, ecx */ 1619 ecx = MEM32(eax + 0x8); /* 0x39005537: mov ecx, dword ptr [eax + 8] */ 1620 edx = MEM32(ecx); /* 0x3900553A: mov edx, dword ptr [ecx] */ 1621 MEM32(eax + 0x8) = edx; /* 0x3900553C: mov dword ptr [eax + 8], edx */ 1622 edx = MEM32(ecx); /* 0x3900553F: mov edx, dword ptr [ecx] */ 1623 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39005541: cmp edx, dword ptr [esi + 8] */ 1624 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1625 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1626 _flag_k = FK_CMP; 1627 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005549; /* 0x39005544: je 0x39005549 */ 1628 L_39005546: 1629 MEM32(edx + 0x4) = eax; /* 0x39005546: mov dword ptr [edx + 4], eax */ 1630 L_39005549: 1631 edx = MEM32(eax + 0x4); /* 0x39005549: mov edx, dword ptr [eax + 4] */ 1632 MEM32(ecx + 0x4) = edx; /* 0x3900554C: mov dword ptr [ecx + 4], edx */ 1633 edx = MEM32(esi + 0x4); /* 0x3900554F: mov edx, dword ptr [esi + 4] */ 1634 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39005552: cmp eax, dword ptr [edx + 4] */ 1635 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 1636 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1637 _flag_k = FK_CMP; 1638 if (CMP_NE(_flag_a, _flag_b)) goto L_3900555C; /* 0x39005555: jne 0x3900555c */ 1639 L_39005557: 1640 MEM32(edx + 0x4) = ecx; /* 0x39005557: mov dword ptr [edx + 4], ecx */ 1641 goto L_3900556A; /* 0x3900555A: jmp 0x3900556a */ 1642 L_3900555C: 1643 edx = MEM32(eax + 0x4); /* 0x3900555C: mov edx, dword ptr [eax + 4] */ 1644 /* cmp eax, MEM32(edx) */ /* 0x3900555F: cmp eax, dword ptr [edx] */ 1645 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 1646 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1647 _flag_k = FK_CMP; 1648 if (CMP_NE(_flag_a, _flag_b)) goto L_39005567; /* 0x39005561: jne 0x39005567 */ 1649 L_39005563: 1650 MEM32(edx) = ecx; /* 0x39005563: mov dword ptr [edx], ecx */ 1651 goto L_3900556A; /* 0x39005565: jmp 0x3900556a */ 1652 L_39005567: 1653 MEM32(edx + 0x8) = ecx; /* 0x39005567: mov dword ptr [edx + 8], ecx */ 1654 L_3900556A: 1655 MEM32(ecx) = eax; /* 0x3900556A: mov dword ptr [ecx], eax */ 1656 MEM32(eax + 0x4) = ecx; /* 0x3900556C: mov dword ptr [eax + 4], ecx */ 1657 L_3900556F: 1658 ecx = MEM32(eax + 0x4); /* 0x3900556F: mov ecx, dword ptr [eax + 4] */ 1659 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39005572: mov byte ptr [ecx + 0x14], bl */ 1660 edx = MEM32(eax + 0x4); /* 0x39005575: mov edx, dword ptr [eax + 4] */ 1661 ecx = MEM32(edx + 0x4); /* 0x39005578: mov ecx, dword ptr [edx + 4] */ 1662 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x3900557B: mov byte ptr [ecx + 0x14], 0 */ 1663 edx = MEM32(eax + 0x4); /* 0x3900557F: mov edx, dword ptr [eax + 4] */ 1664 ecx = MEM32(edx + 0x4); /* 0x39005582: mov ecx, dword ptr [edx + 4] */ 1665 edx = MEM32(ecx); /* 0x39005585: mov edx, dword ptr [ecx] */ 1666 edi = MEM32(edx + 0x8); /* 0x39005587: mov edi, dword ptr [edx + 8] */ 1667 MEM32(ecx) = edi; /* 0x3900558A: mov dword ptr [ecx], edi */ 1668 edi = MEM32(edx + 0x8); /* 0x3900558C: mov edi, dword ptr [edx + 8] */ 1669 /* cmp edi, MEM32(esi + 0x8) */ /* 0x3900558F: cmp edi, dword ptr [esi + 8] */ 1670 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1671 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1672 _flag_k = FK_CMP; 1673 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005597; /* 0x39005592: je 0x39005597 */ 1674 L_39005594: 1675 MEM32(edi + 0x4) = ecx; /* 0x39005594: mov dword ptr [edi + 4], ecx */ 1676 L_39005597: 1677 edi = MEM32(ecx + 0x4); /* 0x39005597: mov edi, dword ptr [ecx + 4] */ 1678 MEM32(edx + 0x4) = edi; /* 0x3900559A: mov dword ptr [edx + 4], edi */ 1679 edi = MEM32(esi + 0x4); /* 0x3900559D: mov edi, dword ptr [esi + 4] */ 1680 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x390055A0: cmp ecx, dword ptr [edi + 4] */ 1681 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 1682 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1683 _flag_k = FK_CMP; 1684 if (CMP_NE(_flag_a, _flag_b)) goto L_390055B0; /* 0x390055A3: jne 0x390055b0 */ 1685 L_390055A5: 1686 MEM32(edi + 0x4) = edx; /* 0x390055A5: mov dword ptr [edi + 4], edx */ 1687 MEM32(edx + 0x8) = ecx; /* 0x390055A8: mov dword ptr [edx + 8], ecx */ 1688 goto L_39005662; /* 0x390055AB: jmp 0x39005662 */ 1689 L_390055B0: 1690 edi = MEM32(ecx + 0x4); /* 0x390055B0: mov edi, dword ptr [ecx + 4] */ 1691 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x390055B3: cmp ecx, dword ptr [edi + 8] */ 1692 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1693 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1694 _flag_k = FK_CMP; 1695 if (CMP_NE(_flag_a, _flag_b)) goto L_390055C3; /* 0x390055B6: jne 0x390055c3 */ 1696 L_390055B8: 1697 MEM32(edi + 0x8) = edx; /* 0x390055B8: mov dword ptr [edi + 8], edx */ 1698 MEM32(edx + 0x8) = ecx; /* 0x390055BB: mov dword ptr [edx + 8], ecx */ 1699 goto L_39005662; /* 0x390055BE: jmp 0x39005662 */ 1700 L_390055C3: 1701 MEM32(edi) = edx; /* 0x390055C3: mov dword ptr [edi], edx */ 1702 MEM32(edx + 0x8) = ecx; /* 0x390055C5: mov dword ptr [edx + 8], ecx */ 1703 goto L_39005662; /* 0x390055C8: jmp 0x39005662 */ 1704 L_390055CD: 1705 /* cmp MEM8(edx + 0x14), 0 */ /* 0x390055CD: cmp byte ptr [edx + 0x14], 0 */ 1706 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 1707 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1708 _flag_k = FK_NARROW(FK_CMP, 24); 1709 RECOMP_BACKEDGE(); 1710 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005515; /* 0x390055D1: je 0x39005515 */ 1711 L_390055D7: 1712 /* cmp eax, MEM32(ecx) */ /* 0x390055D7: cmp eax, dword ptr [ecx] */ 1713 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 1714 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1715 _flag_k = FK_CMP; 1716 if (CMP_NE(_flag_a, _flag_b)) goto L_39005617; /* 0x390055D9: jne 0x39005617 */ 1717 L_390055DB: 1718 eax = ecx; /* 0x390055DB: mov eax, ecx */ 1719 ecx = MEM32(eax); /* 0x390055DD: mov ecx, dword ptr [eax] */ 1720 edx = MEM32(ecx + 0x8); /* 0x390055DF: mov edx, dword ptr [ecx + 8] */ 1721 MEM32(eax) = edx; /* 0x390055E2: mov dword ptr [eax], edx */ 1722 edx = MEM32(ecx + 0x8); /* 0x390055E4: mov edx, dword ptr [ecx + 8] */ 1723 /* cmp edx, MEM32(esi + 0x8) */ /* 0x390055E7: cmp edx, dword ptr [esi + 8] */ 1724 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1725 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1726 _flag_k = FK_CMP; 1727 if (CMP_EQ(_flag_a, _flag_b)) goto L_390055EF; /* 0x390055EA: je 0x390055ef */ 1728 L_390055EC: 1729 MEM32(edx + 0x4) = eax; /* 0x390055EC: mov dword ptr [edx + 4], eax */ 1730 L_390055EF: 1731 edx = MEM32(eax + 0x4); /* 0x390055EF: mov edx, dword ptr [eax + 4] */ 1732 MEM32(ecx + 0x4) = edx; /* 0x390055F2: mov dword ptr [ecx + 4], edx */ 1733 edx = MEM32(esi + 0x4); /* 0x390055F5: mov edx, dword ptr [esi + 4] */ 1734 /* cmp eax, MEM32(edx + 0x4) */ /* 0x390055F8: cmp eax, dword ptr [edx + 4] */ 1735 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 1736 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1737 _flag_k = FK_CMP; 1738 if (CMP_NE(_flag_a, _flag_b)) goto L_39005602; /* 0x390055FB: jne 0x39005602 */ 1739 L_390055FD: 1740 MEM32(edx + 0x4) = ecx; /* 0x390055FD: mov dword ptr [edx + 4], ecx */ 1741 goto L_39005611; /* 0x39005600: jmp 0x39005611 */ 1742 L_39005602: 1743 edx = MEM32(eax + 0x4); /* 0x39005602: mov edx, dword ptr [eax + 4] */ 1744 /* cmp eax, MEM32(edx + 0x8) */ /* 0x39005605: cmp eax, dword ptr [edx + 8] */ 1745 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 1746 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1747 _flag_k = FK_CMP; 1748 if (CMP_NE(_flag_a, _flag_b)) goto L_3900560F; /* 0x39005608: jne 0x3900560f */ 1749 L_3900560A: 1750 MEM32(edx + 0x8) = ecx; /* 0x3900560A: mov dword ptr [edx + 8], ecx */ 1751 goto L_39005611; /* 0x3900560D: jmp 0x39005611 */ 1752 L_3900560F: 1753 MEM32(edx) = ecx; /* 0x3900560F: mov dword ptr [edx], ecx */ 1754 L_39005611: 1755 MEM32(ecx + 0x8) = eax; /* 0x39005611: mov dword ptr [ecx + 8], eax */ 1756 MEM32(eax + 0x4) = ecx; /* 0x39005614: mov dword ptr [eax + 4], ecx */ 1757 L_39005617: 1758 ecx = MEM32(eax + 0x4); /* 0x39005617: mov ecx, dword ptr [eax + 4] */ 1759 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x3900561A: mov byte ptr [ecx + 0x14], bl */ 1760 edx = MEM32(eax + 0x4); /* 0x3900561D: mov edx, dword ptr [eax + 4] */ 1761 ecx = MEM32(edx + 0x4); /* 0x39005620: mov ecx, dword ptr [edx + 4] */ 1762 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x39005623: mov byte ptr [ecx + 0x14], 0 */ 1763 edx = MEM32(eax + 0x4); /* 0x39005627: mov edx, dword ptr [eax + 4] */ 1764 ecx = MEM32(edx + 0x4); /* 0x3900562A: mov ecx, dword ptr [edx + 4] */ 1765 edx = MEM32(ecx + 0x8); /* 0x3900562D: mov edx, dword ptr [ecx + 8] */ 1766 edi = MEM32(edx); /* 0x39005630: mov edi, dword ptr [edx] */ 1767 MEM32(ecx + 0x8) = edi; /* 0x39005632: mov dword ptr [ecx + 8], edi */ 1768 edi = MEM32(edx); /* 0x39005635: mov edi, dword ptr [edx] */ 1769 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39005637: cmp edi, dword ptr [esi + 8] */ 1770 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1771 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1772 _flag_k = FK_CMP; 1773 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900563F; /* 0x3900563A: je 0x3900563f */ 1774 L_3900563C: 1775 MEM32(edi + 0x4) = ecx; /* 0x3900563C: mov dword ptr [edi + 4], ecx */ 1776 L_3900563F: 1777 edi = MEM32(ecx + 0x4); /* 0x3900563F: mov edi, dword ptr [ecx + 4] */ 1778 MEM32(edx + 0x4) = edi; /* 0x39005642: mov dword ptr [edx + 4], edi */ 1779 edi = MEM32(esi + 0x4); /* 0x39005645: mov edi, dword ptr [esi + 4] */ 1780 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39005648: cmp ecx, dword ptr [edi + 4] */ 1781 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 1782 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1783 _flag_k = FK_CMP; 1784 if (CMP_NE(_flag_a, _flag_b)) goto L_39005652; /* 0x3900564B: jne 0x39005652 */ 1785 L_3900564D: 1786 MEM32(edi + 0x4) = edx; /* 0x3900564D: mov dword ptr [edi + 4], edx */ 1787 goto L_39005660; /* 0x39005650: jmp 0x39005660 */ 1788 L_39005652: 1789 edi = MEM32(ecx + 0x4); /* 0x39005652: mov edi, dword ptr [ecx + 4] */ 1790 /* cmp ecx, MEM32(edi) */ /* 0x39005655: cmp ecx, dword ptr [edi] */ 1791 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 1792 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1793 _flag_k = FK_CMP; 1794 if (CMP_NE(_flag_a, _flag_b)) goto L_3900565D; /* 0x39005657: jne 0x3900565d */ 1795 L_39005659: 1796 MEM32(edi) = edx; /* 0x39005659: mov dword ptr [edi], edx */ 1797 goto L_39005660; /* 0x3900565B: jmp 0x39005660 */ 1798 L_3900565D: 1799 MEM32(edi + 0x8) = edx; /* 0x3900565D: mov dword ptr [edi + 8], edx */ 1800 L_39005660: 1801 MEM32(edx) = ecx; /* 0x39005660: mov dword ptr [edx], ecx */ 1802 L_39005662: 1803 MEM32(ecx + 0x4) = edx; /* 0x39005662: mov dword ptr [ecx + 4], edx */ 1804 L_39005665: 1805 ecx = MEM32(esi + 0x4); /* 0x39005665: mov ecx, dword ptr [esi + 4] */ 1806 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x39005668: cmp eax, dword ptr [ecx + 4] */ 1807 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 1808 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1809 _flag_k = FK_CMP; 1810 RECOMP_BACKEDGE(); 1811 if (CMP_NE(_flag_a, _flag_b)) goto L_390054F1; /* 0x3900566B: jne 0x390054f1 */ 1812 L_39005671: 1813 edx = MEM32(esi + 0x4); /* 0x39005671: mov edx, dword ptr [esi + 4] */ 1814 ecx = MEM32(ebp + (-0x4)); /* 0x39005674: mov ecx, dword ptr [ebp - 4] */ 1815 edi = POP32_VAL(esp); /* 0x39005677: pop edi */ 1816 esi = POP32_VAL(esp); /* 0x39005678: pop esi */ 1817 eax = MEM32(edx + 0x4); /* 0x39005679: mov eax, dword ptr [edx + 4] */ 1818 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x3900567C: mov byte ptr [eax + 0x14], bl */ 1819 eax = MEM32(ebp + 0x8); /* 0x3900567F: mov eax, dword ptr [ebp + 8] */ 1820 ebx = POP32_VAL(esp); /* 0x39005682: pop ebx */ 1821 MEM32(eax) = ecx; /* 0x39005683: mov dword ptr [eax], ecx */ 1822 esp = ebp; /* 0x39005685: mov esp, ebp */ 1823 ebp = POP32_VAL(esp); /* 0x39005687: pop ebp */ 1824 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39005688: ret 0x10 */ 1825 RECOMP_REGS_OUT(); 1826 } 1827 1828 void sub_39005665(void) { 1829 int _fpu_cmp = 0; 1830 uint32_t _cf = 0; 1831 int _df = 1; 1832 uint32_t _flag_k = FK_NONE; 1833 uint32_t _flag_a = 0, _flag_b = 0; 1834 uint32_t _itail_tgt = 0; 1835 RECOMP_REGS_LOCALS 1836 RECOMP_ENTER(0x39005665u); 1837 1838 goto L_39005665; 1839 L_390054F1: 1840 ecx = MEM32(eax + 0x4); /* 0x390054F1: mov ecx, dword ptr [eax + 4] */ 1841 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x390054F4: mov dl, byte ptr [ecx + 0x14] */ 1842 /* test LO8(edx), LO8(edx) */ /* 0x390054F7: test dl, dl */ 1843 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 1844 _cf = 0; 1845 _flag_k = FK_NARROW(FK_TEST, 24); 1846 if (TEST_NZ(_flag_a, _flag_b)) goto L_39005671; /* 0x390054F9: jne 0x39005671 */ 1847 L_390054FF: 1848 edi = MEM32(ecx + 0x4); /* 0x390054FF: mov edi, dword ptr [ecx + 4] */ 1849 edx = MEM32(edi); /* 0x39005502: mov edx, dword ptr [edi] */ 1850 /* cmp ecx, edx */ /* 0x39005504: cmp ecx, edx */ 1851 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 1852 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1853 _flag_k = FK_CMP; 1854 if (CMP_NE(_flag_a, _flag_b)) goto L_390055CD; /* 0x39005506: jne 0x390055cd */ 1855 L_3900550C: 1856 edx = MEM32(edi + 0x8); /* 0x3900550C: mov edx, dword ptr [edi + 8] */ 1857 /* cmp MEM8(edx + 0x14), 0 */ /* 0x3900550F: cmp byte ptr [edx + 0x14], 0 */ 1858 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 1859 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1860 _flag_k = FK_NARROW(FK_CMP, 24); 1861 if (CMP_NE(_flag_a, _flag_b)) goto L_39005530; /* 0x39005513: jne 0x39005530 */ 1862 L_39005515: 1863 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39005515: mov byte ptr [ecx + 0x14], bl */ 1864 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39005518: mov byte ptr [edx + 0x14], bl */ 1865 ecx = MEM32(eax + 0x4); /* 0x3900551B: mov ecx, dword ptr [eax + 4] */ 1866 edx = MEM32(ecx + 0x4); /* 0x3900551E: mov edx, dword ptr [ecx + 4] */ 1867 MEM8(edx + 0x14) = (uint8_t)(0); /* 0x39005521: mov byte ptr [edx + 0x14], 0 */ 1868 eax = MEM32(eax + 0x4); /* 0x39005525: mov eax, dword ptr [eax + 4] */ 1869 eax = MEM32(eax + 0x4); /* 0x39005528: mov eax, dword ptr [eax + 4] */ 1870 goto L_39005665; /* 0x3900552B: jmp 0x39005665 */ 1871 L_39005530: 1872 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x39005530: cmp eax, dword ptr [ecx + 8] */ 1873 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 1874 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1875 _flag_k = FK_CMP; 1876 if (CMP_NE(_flag_a, _flag_b)) goto L_3900556F; /* 0x39005533: jne 0x3900556f */ 1877 L_39005535: 1878 eax = ecx; /* 0x39005535: mov eax, ecx */ 1879 ecx = MEM32(eax + 0x8); /* 0x39005537: mov ecx, dword ptr [eax + 8] */ 1880 edx = MEM32(ecx); /* 0x3900553A: mov edx, dword ptr [ecx] */ 1881 MEM32(eax + 0x8) = edx; /* 0x3900553C: mov dword ptr [eax + 8], edx */ 1882 edx = MEM32(ecx); /* 0x3900553F: mov edx, dword ptr [ecx] */ 1883 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39005541: cmp edx, dword ptr [esi + 8] */ 1884 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1885 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1886 _flag_k = FK_CMP; 1887 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005549; /* 0x39005544: je 0x39005549 */ 1888 L_39005546: 1889 MEM32(edx + 0x4) = eax; /* 0x39005546: mov dword ptr [edx + 4], eax */ 1890 L_39005549: 1891 edx = MEM32(eax + 0x4); /* 0x39005549: mov edx, dword ptr [eax + 4] */ 1892 MEM32(ecx + 0x4) = edx; /* 0x3900554C: mov dword ptr [ecx + 4], edx */ 1893 edx = MEM32(esi + 0x4); /* 0x3900554F: mov edx, dword ptr [esi + 4] */ 1894 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39005552: cmp eax, dword ptr [edx + 4] */ 1895 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 1896 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1897 _flag_k = FK_CMP; 1898 if (CMP_NE(_flag_a, _flag_b)) goto L_3900555C; /* 0x39005555: jne 0x3900555c */ 1899 L_39005557: 1900 MEM32(edx + 0x4) = ecx; /* 0x39005557: mov dword ptr [edx + 4], ecx */ 1901 goto L_3900556A; /* 0x3900555A: jmp 0x3900556a */ 1902 L_3900555C: 1903 edx = MEM32(eax + 0x4); /* 0x3900555C: mov edx, dword ptr [eax + 4] */ 1904 /* cmp eax, MEM32(edx) */ /* 0x3900555F: cmp eax, dword ptr [edx] */ 1905 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 1906 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1907 _flag_k = FK_CMP; 1908 if (CMP_NE(_flag_a, _flag_b)) goto L_39005567; /* 0x39005561: jne 0x39005567 */ 1909 L_39005563: 1910 MEM32(edx) = ecx; /* 0x39005563: mov dword ptr [edx], ecx */ 1911 goto L_3900556A; /* 0x39005565: jmp 0x3900556a */ 1912 L_39005567: 1913 MEM32(edx + 0x8) = ecx; /* 0x39005567: mov dword ptr [edx + 8], ecx */ 1914 L_3900556A: 1915 MEM32(ecx) = eax; /* 0x3900556A: mov dword ptr [ecx], eax */ 1916 MEM32(eax + 0x4) = ecx; /* 0x3900556C: mov dword ptr [eax + 4], ecx */ 1917 L_3900556F: 1918 ecx = MEM32(eax + 0x4); /* 0x3900556F: mov ecx, dword ptr [eax + 4] */ 1919 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39005572: mov byte ptr [ecx + 0x14], bl */ 1920 edx = MEM32(eax + 0x4); /* 0x39005575: mov edx, dword ptr [eax + 4] */ 1921 ecx = MEM32(edx + 0x4); /* 0x39005578: mov ecx, dword ptr [edx + 4] */ 1922 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x3900557B: mov byte ptr [ecx + 0x14], 0 */ 1923 edx = MEM32(eax + 0x4); /* 0x3900557F: mov edx, dword ptr [eax + 4] */ 1924 ecx = MEM32(edx + 0x4); /* 0x39005582: mov ecx, dword ptr [edx + 4] */ 1925 edx = MEM32(ecx); /* 0x39005585: mov edx, dword ptr [ecx] */ 1926 edi = MEM32(edx + 0x8); /* 0x39005587: mov edi, dword ptr [edx + 8] */ 1927 MEM32(ecx) = edi; /* 0x3900558A: mov dword ptr [ecx], edi */ 1928 edi = MEM32(edx + 0x8); /* 0x3900558C: mov edi, dword ptr [edx + 8] */ 1929 /* cmp edi, MEM32(esi + 0x8) */ /* 0x3900558F: cmp edi, dword ptr [esi + 8] */ 1930 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1931 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1932 _flag_k = FK_CMP; 1933 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005597; /* 0x39005592: je 0x39005597 */ 1934 L_39005594: 1935 MEM32(edi + 0x4) = ecx; /* 0x39005594: mov dword ptr [edi + 4], ecx */ 1936 L_39005597: 1937 edi = MEM32(ecx + 0x4); /* 0x39005597: mov edi, dword ptr [ecx + 4] */ 1938 MEM32(edx + 0x4) = edi; /* 0x3900559A: mov dword ptr [edx + 4], edi */ 1939 edi = MEM32(esi + 0x4); /* 0x3900559D: mov edi, dword ptr [esi + 4] */ 1940 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x390055A0: cmp ecx, dword ptr [edi + 4] */ 1941 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 1942 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1943 _flag_k = FK_CMP; 1944 if (CMP_NE(_flag_a, _flag_b)) goto L_390055B0; /* 0x390055A3: jne 0x390055b0 */ 1945 L_390055A5: 1946 MEM32(edi + 0x4) = edx; /* 0x390055A5: mov dword ptr [edi + 4], edx */ 1947 MEM32(edx + 0x8) = ecx; /* 0x390055A8: mov dword ptr [edx + 8], ecx */ 1948 goto L_39005662; /* 0x390055AB: jmp 0x39005662 */ 1949 L_390055B0: 1950 edi = MEM32(ecx + 0x4); /* 0x390055B0: mov edi, dword ptr [ecx + 4] */ 1951 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x390055B3: cmp ecx, dword ptr [edi + 8] */ 1952 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1953 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1954 _flag_k = FK_CMP; 1955 if (CMP_NE(_flag_a, _flag_b)) goto L_390055C3; /* 0x390055B6: jne 0x390055c3 */ 1956 L_390055B8: 1957 MEM32(edi + 0x8) = edx; /* 0x390055B8: mov dword ptr [edi + 8], edx */ 1958 MEM32(edx + 0x8) = ecx; /* 0x390055BB: mov dword ptr [edx + 8], ecx */ 1959 goto L_39005662; /* 0x390055BE: jmp 0x39005662 */ 1960 L_390055C3: 1961 MEM32(edi) = edx; /* 0x390055C3: mov dword ptr [edi], edx */ 1962 MEM32(edx + 0x8) = ecx; /* 0x390055C5: mov dword ptr [edx + 8], ecx */ 1963 goto L_39005662; /* 0x390055C8: jmp 0x39005662 */ 1964 L_390055CD: 1965 /* cmp MEM8(edx + 0x14), 0 */ /* 0x390055CD: cmp byte ptr [edx + 0x14], 0 */ 1966 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 1967 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1968 _flag_k = FK_NARROW(FK_CMP, 24); 1969 RECOMP_BACKEDGE(); 1970 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005515; /* 0x390055D1: je 0x39005515 */ 1971 L_390055D7: 1972 /* cmp eax, MEM32(ecx) */ /* 0x390055D7: cmp eax, dword ptr [ecx] */ 1973 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 1974 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1975 _flag_k = FK_CMP; 1976 if (CMP_NE(_flag_a, _flag_b)) goto L_39005617; /* 0x390055D9: jne 0x39005617 */ 1977 L_390055DB: 1978 eax = ecx; /* 0x390055DB: mov eax, ecx */ 1979 ecx = MEM32(eax); /* 0x390055DD: mov ecx, dword ptr [eax] */ 1980 edx = MEM32(ecx + 0x8); /* 0x390055DF: mov edx, dword ptr [ecx + 8] */ 1981 MEM32(eax) = edx; /* 0x390055E2: mov dword ptr [eax], edx */ 1982 edx = MEM32(ecx + 0x8); /* 0x390055E4: mov edx, dword ptr [ecx + 8] */ 1983 /* cmp edx, MEM32(esi + 0x8) */ /* 0x390055E7: cmp edx, dword ptr [esi + 8] */ 1984 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1985 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1986 _flag_k = FK_CMP; 1987 if (CMP_EQ(_flag_a, _flag_b)) goto L_390055EF; /* 0x390055EA: je 0x390055ef */ 1988 L_390055EC: 1989 MEM32(edx + 0x4) = eax; /* 0x390055EC: mov dword ptr [edx + 4], eax */ 1990 L_390055EF: 1991 edx = MEM32(eax + 0x4); /* 0x390055EF: mov edx, dword ptr [eax + 4] */ 1992 MEM32(ecx + 0x4) = edx; /* 0x390055F2: mov dword ptr [ecx + 4], edx */ 1993 edx = MEM32(esi + 0x4); /* 0x390055F5: mov edx, dword ptr [esi + 4] */ 1994 /* cmp eax, MEM32(edx + 0x4) */ /* 0x390055F8: cmp eax, dword ptr [edx + 4] */ 1995 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 1996 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1997 _flag_k = FK_CMP; 1998 if (CMP_NE(_flag_a, _flag_b)) goto L_39005602; /* 0x390055FB: jne 0x39005602 */ 1999 L_390055FD: 2000 MEM32(edx + 0x4) = ecx; /* 0x390055FD: mov dword ptr [edx + 4], ecx */ 2001 goto L_39005611; /* 0x39005600: jmp 0x39005611 */ 2002 L_39005602: 2003 edx = MEM32(eax + 0x4); /* 0x39005602: mov edx, dword ptr [eax + 4] */ 2004 /* cmp eax, MEM32(edx + 0x8) */ /* 0x39005605: cmp eax, dword ptr [edx + 8] */ 2005 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 2006 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2007 _flag_k = FK_CMP; 2008 if (CMP_NE(_flag_a, _flag_b)) goto L_3900560F; /* 0x39005608: jne 0x3900560f */ 2009 L_3900560A: 2010 MEM32(edx + 0x8) = ecx; /* 0x3900560A: mov dword ptr [edx + 8], ecx */ 2011 goto L_39005611; /* 0x3900560D: jmp 0x39005611 */ 2012 L_3900560F: 2013 MEM32(edx) = ecx; /* 0x3900560F: mov dword ptr [edx], ecx */ 2014 L_39005611: 2015 MEM32(ecx + 0x8) = eax; /* 0x39005611: mov dword ptr [ecx + 8], eax */ 2016 MEM32(eax + 0x4) = ecx; /* 0x39005614: mov dword ptr [eax + 4], ecx */ 2017 L_39005617: 2018 ecx = MEM32(eax + 0x4); /* 0x39005617: mov ecx, dword ptr [eax + 4] */ 2019 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x3900561A: mov byte ptr [ecx + 0x14], bl */ 2020 edx = MEM32(eax + 0x4); /* 0x3900561D: mov edx, dword ptr [eax + 4] */ 2021 ecx = MEM32(edx + 0x4); /* 0x39005620: mov ecx, dword ptr [edx + 4] */ 2022 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x39005623: mov byte ptr [ecx + 0x14], 0 */ 2023 edx = MEM32(eax + 0x4); /* 0x39005627: mov edx, dword ptr [eax + 4] */ 2024 ecx = MEM32(edx + 0x4); /* 0x3900562A: mov ecx, dword ptr [edx + 4] */ 2025 edx = MEM32(ecx + 0x8); /* 0x3900562D: mov edx, dword ptr [ecx + 8] */ 2026 edi = MEM32(edx); /* 0x39005630: mov edi, dword ptr [edx] */ 2027 MEM32(ecx + 0x8) = edi; /* 0x39005632: mov dword ptr [ecx + 8], edi */ 2028 edi = MEM32(edx); /* 0x39005635: mov edi, dword ptr [edx] */ 2029 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39005637: cmp edi, dword ptr [esi + 8] */ 2030 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2031 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2032 _flag_k = FK_CMP; 2033 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900563F; /* 0x3900563A: je 0x3900563f */ 2034 L_3900563C: 2035 MEM32(edi + 0x4) = ecx; /* 0x3900563C: mov dword ptr [edi + 4], ecx */ 2036 L_3900563F: 2037 edi = MEM32(ecx + 0x4); /* 0x3900563F: mov edi, dword ptr [ecx + 4] */ 2038 MEM32(edx + 0x4) = edi; /* 0x39005642: mov dword ptr [edx + 4], edi */ 2039 edi = MEM32(esi + 0x4); /* 0x39005645: mov edi, dword ptr [esi + 4] */ 2040 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39005648: cmp ecx, dword ptr [edi + 4] */ 2041 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 2042 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2043 _flag_k = FK_CMP; 2044 if (CMP_NE(_flag_a, _flag_b)) goto L_39005652; /* 0x3900564B: jne 0x39005652 */ 2045 L_3900564D: 2046 MEM32(edi + 0x4) = edx; /* 0x3900564D: mov dword ptr [edi + 4], edx */ 2047 goto L_39005660; /* 0x39005650: jmp 0x39005660 */ 2048 L_39005652: 2049 edi = MEM32(ecx + 0x4); /* 0x39005652: mov edi, dword ptr [ecx + 4] */ 2050 /* cmp ecx, MEM32(edi) */ /* 0x39005655: cmp ecx, dword ptr [edi] */ 2051 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 2052 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2053 _flag_k = FK_CMP; 2054 if (CMP_NE(_flag_a, _flag_b)) goto L_3900565D; /* 0x39005657: jne 0x3900565d */ 2055 L_39005659: 2056 MEM32(edi) = edx; /* 0x39005659: mov dword ptr [edi], edx */ 2057 goto L_39005660; /* 0x3900565B: jmp 0x39005660 */ 2058 L_3900565D: 2059 MEM32(edi + 0x8) = edx; /* 0x3900565D: mov dword ptr [edi + 8], edx */ 2060 L_39005660: 2061 MEM32(edx) = ecx; /* 0x39005660: mov dword ptr [edx], ecx */ 2062 L_39005662: 2063 MEM32(ecx + 0x4) = edx; /* 0x39005662: mov dword ptr [ecx + 4], edx */ 2064 L_39005665: 2065 ecx = MEM32(esi + 0x4); /* 0x39005665: mov ecx, dword ptr [esi + 4] */ 2066 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x39005668: cmp eax, dword ptr [ecx + 4] */ 2067 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 2068 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2069 _flag_k = FK_CMP; 2070 RECOMP_BACKEDGE(); 2071 if (CMP_NE(_flag_a, _flag_b)) goto L_390054F1; /* 0x3900566B: jne 0x390054f1 */ 2072 L_39005671: 2073 edx = MEM32(esi + 0x4); /* 0x39005671: mov edx, dword ptr [esi + 4] */ 2074 ecx = MEM32(ebp + (-0x4)); /* 0x39005674: mov ecx, dword ptr [ebp - 4] */ 2075 edi = POP32_VAL(esp); /* 0x39005677: pop edi */ 2076 esi = POP32_VAL(esp); /* 0x39005678: pop esi */ 2077 eax = MEM32(edx + 0x4); /* 0x39005679: mov eax, dword ptr [edx + 4] */ 2078 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x3900567C: mov byte ptr [eax + 0x14], bl */ 2079 eax = MEM32(ebp + 0x8); /* 0x3900567F: mov eax, dword ptr [ebp + 8] */ 2080 ebx = POP32_VAL(esp); /* 0x39005682: pop ebx */ 2081 MEM32(eax) = ecx; /* 0x39005683: mov dword ptr [eax], ecx */ 2082 esp = ebp; /* 0x39005685: mov esp, ebp */ 2083 ebp = POP32_VAL(esp); /* 0x39005687: pop ebp */ 2084 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39005688: ret 0x10 */ 2085 RECOMP_REGS_OUT(); 2086 } 2087 2088 void sub_39005671(void) { 2089 int _fpu_cmp = 0; 2090 uint32_t _cf = 0; 2091 int _df = 1; 2092 uint32_t _flag_k = FK_NONE; 2093 uint32_t _flag_a = 0, _flag_b = 0; 2094 uint32_t _itail_tgt = 0; 2095 RECOMP_REGS_LOCALS 2096 RECOMP_ENTER(0x39005671u); 2097 2098 L_39005671: 2099 edx = MEM32(esi + 0x4); /* 0x39005671: mov edx, dword ptr [esi + 4] */ 2100 ecx = MEM32(ebp + (-0x4)); /* 0x39005674: mov ecx, dword ptr [ebp - 4] */ 2101 edi = POP32_VAL(esp); /* 0x39005677: pop edi */ 2102 esi = POP32_VAL(esp); /* 0x39005678: pop esi */ 2103 eax = MEM32(edx + 0x4); /* 0x39005679: mov eax, dword ptr [edx + 4] */ 2104 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x3900567C: mov byte ptr [eax + 0x14], bl */ 2105 eax = MEM32(ebp + 0x8); /* 0x3900567F: mov eax, dword ptr [ebp + 8] */ 2106 ebx = POP32_VAL(esp); /* 0x39005682: pop ebx */ 2107 MEM32(eax) = ecx; /* 0x39005683: mov dword ptr [eax], ecx */ 2108 esp = ebp; /* 0x39005685: mov esp, ebp */ 2109 ebp = POP32_VAL(esp); /* 0x39005687: pop ebp */ 2110 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39005688: ret 0x10 */ 2111 RECOMP_REGS_OUT(); 2112 } 2113 2114 void sub_39005690(void) { 2115 int _fpu_cmp = 0; 2116 uint32_t _cf = 0; 2117 int _df = 1; 2118 uint32_t _flag_k = FK_NONE; 2119 uint32_t _flag_a = 0, _flag_b = 0; 2120 uint32_t _itail_tgt = 0; 2121 RECOMP_REGS_LOCALS 2122 RECOMP_ENTER(0x39005690u); 2123 2124 L_39005690: 2125 PUSH32(esp, ebp); /* 0x39005690: push ebp */ 2126 ebp = esp; /* 0x39005691: mov ebp, esp */ 2127 PUSH32(esp, ebx); /* 0x39005693: push ebx */ 2128 PUSH32(esp, esi); /* 0x39005694: push esi */ 2129 esi = MEM32(ecx); /* 0x39005695: mov esi, dword ptr [ecx] */ 2130 edx = MEM32(esi + 0x8); /* 0x39005697: mov edx, dword ptr [esi + 8] */ 2131 SET_LO8(eax, MEM8(edx + 0x15)); /* 0x3900569A: mov al, byte ptr [edx + 0x15] */ 2132 /* test LO8(eax), LO8(eax) */ /* 0x3900569D: test al, al */ 2133 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2134 _cf = 0; 2135 _flag_k = FK_NARROW(FK_TEST, 24); 2136 if (TEST_NZ(_flag_a, _flag_b)) goto L_390056C2; /* 0x3900569F: jne 0x390056c2 */ 2137 L_390056A1: 2138 eax = MEM32(edx); /* 0x390056A1: mov eax, dword ptr [edx] */ 2139 SET_LO8(ebx, MEM8(eax + 0x15)); /* 0x390056A3: mov bl, byte ptr [eax + 0x15] */ 2140 /* test LO8(ebx), LO8(ebx) */ /* 0x390056A6: test bl, bl */ 2141 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2142 _cf = 0; 2143 _flag_k = FK_NARROW(FK_TEST, 24); 2144 if (TEST_NZ(_flag_a, _flag_b)) goto L_390056B5; /* 0x390056A8: jne 0x390056b5 */ 2145 L_390056AA: 2146 edx = eax; /* 0x390056AA: mov edx, eax */ 2147 eax = MEM32(edx); /* 0x390056AC: mov eax, dword ptr [edx] */ 2148 SET_LO8(ebx, MEM8(eax + 0x15)); /* 0x390056AE: mov bl, byte ptr [eax + 0x15] */ 2149 /* test LO8(ebx), LO8(ebx) */ /* 0x390056B1: test bl, bl */ 2150 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2151 _cf = 0; 2152 _flag_k = FK_NARROW(FK_TEST, 24); 2153 RECOMP_BACKEDGE(); 2154 if (TEST_Z(_flag_a, _flag_b)) goto L_390056AA; /* 0x390056B3: je 0x390056aa */ 2155 L_390056B5: 2156 eax = MEM32(ebp + 0x8); /* 0x390056B5: mov eax, dword ptr [ebp + 8] */ 2157 MEM32(ecx) = edx; /* 0x390056B8: mov dword ptr [ecx], edx */ 2158 MEM32(eax) = esi; /* 0x390056BA: mov dword ptr [eax], esi */ 2159 esi = POP32_VAL(esp); /* 0x390056BC: pop esi */ 2160 ebx = POP32_VAL(esp); /* 0x390056BD: pop ebx */ 2161 ebp = POP32_VAL(esp); /* 0x390056BE: pop ebp */ 2162 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x390056BF: ret 8 */ 2163 L_390056C2: 2164 eax = MEM32(esi + 0x4); /* 0x390056C2: mov eax, dword ptr [esi + 4] */ 2165 edx = MEM32(ecx); /* 0x390056C5: mov edx, dword ptr [ecx] */ 2166 /* cmp edx, MEM32(eax + 0x8) */ /* 0x390056C7: cmp edx, dword ptr [eax + 8] */ 2167 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 2168 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2169 _flag_k = FK_CMP; 2170 if (CMP_NE(_flag_a, _flag_b)) goto L_390056D8; /* 0x390056CA: jne 0x390056d8 */ 2171 L_390056CC: 2172 MEM32(ecx) = eax; /* 0x390056CC: mov dword ptr [ecx], eax */ 2173 eax = MEM32(eax + 0x4); /* 0x390056CE: mov eax, dword ptr [eax + 4] */ 2174 edx = MEM32(ecx); /* 0x390056D1: mov edx, dword ptr [ecx] */ 2175 /* cmp edx, MEM32(eax + 0x8) */ /* 0x390056D3: cmp edx, dword ptr [eax + 8] */ 2176 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 2177 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2178 _flag_k = FK_CMP; 2179 RECOMP_BACKEDGE(); 2180 if (CMP_EQ(_flag_a, _flag_b)) goto L_390056CC; /* 0x390056D6: je 0x390056cc */ 2181 L_390056D8: 2182 edx = MEM32(ecx); /* 0x390056D8: mov edx, dword ptr [ecx] */ 2183 /* cmp MEM32(edx + 0x8), eax */ /* 0x390056DA: cmp dword ptr [edx + 8], eax */ 2184 _flag_a = (uint32_t)(MEM32(edx + 0x8)); _flag_b = (uint32_t)(eax); 2185 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2186 _flag_k = FK_CMP; 2187 if (CMP_EQ(_flag_a, _flag_b)) goto L_390056E1; /* 0x390056DD: je 0x390056e1 */ 2188 L_390056DF: 2189 MEM32(ecx) = eax; /* 0x390056DF: mov dword ptr [ecx], eax */ 2190 L_390056E1: 2191 eax = MEM32(ebp + 0x8); /* 0x390056E1: mov eax, dword ptr [ebp + 8] */ 2192 MEM32(eax) = esi; /* 0x390056E4: mov dword ptr [eax], esi */ 2193 esi = POP32_VAL(esp); /* 0x390056E6: pop esi */ 2194 ebx = POP32_VAL(esp); /* 0x390056E7: pop ebx */ 2195 ebp = POP32_VAL(esp); /* 0x390056E8: pop ebp */ 2196 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x390056E9: ret 8 */ 2197 RECOMP_REGS_OUT(); 2198 } 2199 2200 void sub_390056F0(void) { 2201 int _fpu_cmp = 0; 2202 uint32_t _cf = 0; 2203 int _df = 1; 2204 uint32_t _flag_k = FK_NONE; 2205 uint32_t _flag_a = 0, _flag_b = 0; 2206 uint32_t _itail_tgt = 0; 2207 RECOMP_REGS_LOCALS 2208 RECOMP_ENTER(0x390056F0u); 2209 2210 L_390056F0: 2211 PUSH32(esp, ebp); /* 0x390056F0: push ebp */ 2212 ebp = esp; /* 0x390056F1: mov ebp, esp */ 2213 PUSH32(esp, ecx); /* 0x390056F3: push ecx */ 2214 PUSH32(esp, ebx); /* 0x390056F4: push ebx */ 2215 PUSH32(esp, esi); /* 0x390056F5: push esi */ 2216 esi = MEM32(ebp + 0xC); /* 0x390056F6: mov esi, dword ptr [ebp + 0xc] */ 2217 PUSH32(esp, edi); /* 0x390056F9: push edi */ 2218 edi = ecx; /* 0x390056FA: mov edi, ecx */ 2219 ecx = ebp + 0xC; /* 0x390056FC: lea ecx, [ebp + 0xc] */ 2220 RECOMP_ICALL(0x39004BA0u); /* 0x390056FF: call 0x39004ba0 */ /* not lifted */ 2221 RECOMP_FLAGS_IN(); 2222 edx = MEM32(esi); /* 0x39005704: mov edx, dword ptr [esi] */ 2223 eax = MEM32(edi + 0x8); /* 0x39005706: mov eax, dword ptr [edi + 8] */ 2224 /* cmp edx, eax */ /* 0x39005709: cmp edx, eax */ 2225 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 2226 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2227 _flag_k = FK_CMP; 2228 MEM32(ebp + (-0x4)) = esi; /* 0x3900570B: mov dword ptr [ebp - 4], esi */ 2229 if (CMP_NE(_flag_a, _flag_b)) goto L_39005730; /* 0x3900570E: jne 0x39005730 */ 2230 L_39005710: 2231 eax = MEM32(esi + 0x8); /* 0x39005710: mov eax, dword ptr [esi + 8] */ 2232 L_39005713: 2233 ecx = MEM32(ebp + (-0x4)); /* 0x39005713: mov ecx, dword ptr [ebp - 4] */ 2234 edx = MEM32(ecx + 0x4); /* 0x39005716: mov edx, dword ptr [ecx + 4] */ 2235 MEM32(eax + 0x4) = edx; /* 0x39005719: mov dword ptr [eax + 4], edx */ 2236 ecx = MEM32(edi + 0x4); /* 0x3900571C: mov ecx, dword ptr [edi + 4] */ 2237 /* cmp MEM32(ecx + 0x4), esi */ /* 0x3900571F: cmp dword ptr [ecx + 4], esi */ 2238 _flag_a = (uint32_t)(MEM32(ecx + 0x4)); _flag_b = (uint32_t)(esi); 2239 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2240 _flag_k = FK_CMP; 2241 if (CMP_NE(_flag_a, _flag_b)) goto L_390057B5; /* 0x39005722: jne 0x390057b5 */ 2242 L_39005728: 2243 MEM32(ecx + 0x4) = eax; /* 0x39005728: mov dword ptr [ecx + 4], eax */ 2244 goto L_390057C3; /* 0x3900572B: jmp 0x390057c3 */ 2245 L_39005730: 2246 ecx = MEM32(esi + 0x8); /* 0x39005730: mov ecx, dword ptr [esi + 8] */ 2247 /* cmp ecx, eax */ /* 0x39005733: cmp ecx, eax */ 2248 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 2249 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2250 _flag_k = FK_CMP; 2251 if (CMP_NE(_flag_a, _flag_b)) goto L_3900573B; /* 0x39005735: jne 0x3900573b */ 2252 L_39005737: 2253 eax = edx; /* 0x39005737: mov eax, edx */ 2254 RECOMP_BACKEDGE(); 2255 goto L_39005713; /* 0x39005739: jmp 0x39005713 */ 2256 L_3900573B: 2257 eax = MEM32(ecx); /* 0x3900573B: mov eax, dword ptr [ecx] */ 2258 SET_LO8(ebx, MEM8(eax + 0x2D)); /* 0x3900573D: mov bl, byte ptr [eax + 0x2d] */ 2259 /* test LO8(ebx), LO8(ebx) */ /* 0x39005740: test bl, bl */ 2260 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2261 _cf = 0; 2262 _flag_k = FK_NARROW(FK_TEST, 24); 2263 if (TEST_NZ(_flag_a, _flag_b)) goto L_3900574F; /* 0x39005742: jne 0x3900574f */ 2264 L_39005744: 2265 ecx = eax; /* 0x39005744: mov ecx, eax */ 2266 eax = MEM32(ecx); /* 0x39005746: mov eax, dword ptr [ecx] */ 2267 SET_LO8(ebx, MEM8(eax + 0x2D)); /* 0x39005748: mov bl, byte ptr [eax + 0x2d] */ 2268 /* test LO8(ebx), LO8(ebx) */ /* 0x3900574B: test bl, bl */ 2269 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2270 _cf = 0; 2271 _flag_k = FK_NARROW(FK_TEST, 24); 2272 RECOMP_BACKEDGE(); 2273 if (TEST_Z(_flag_a, _flag_b)) goto L_39005744; /* 0x3900574D: je 0x39005744 */ 2274 L_3900574F: 2275 eax = MEM32(ecx + 0x8); /* 0x3900574F: mov eax, dword ptr [ecx + 8] */ 2276 /* cmp ecx, esi */ /* 0x39005752: cmp ecx, esi */ 2277 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 2278 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2279 _flag_k = FK_CMP; 2280 MEM32(ebp + (-0x4)) = ecx; /* 0x39005754: mov dword ptr [ebp - 4], ecx */ 2281 RECOMP_BACKEDGE(); 2282 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005713; /* 0x39005757: je 0x39005713 */ 2283 L_39005759: 2284 MEM32(edx + 0x4) = ecx; /* 0x39005759: mov dword ptr [edx + 4], ecx */ 2285 edx = MEM32(esi); /* 0x3900575C: mov edx, dword ptr [esi] */ 2286 MEM32(ecx) = edx; /* 0x3900575E: mov dword ptr [ecx], edx */ 2287 edx = MEM32(esi + 0x8); /* 0x39005760: mov edx, dword ptr [esi + 8] */ 2288 /* cmp ecx, edx */ /* 0x39005763: cmp ecx, edx */ 2289 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 2290 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2291 _flag_k = FK_CMP; 2292 if (CMP_NE(_flag_a, _flag_b)) goto L_3900576C; /* 0x39005765: jne 0x3900576c */ 2293 L_39005767: 2294 MEM32(eax + 0x4) = ecx; /* 0x39005767: mov dword ptr [eax + 4], ecx */ 2295 goto L_39005783; /* 0x3900576A: jmp 0x39005783 */ 2296 L_3900576C: 2297 edx = MEM32(ecx + 0x4); /* 0x3900576C: mov edx, dword ptr [ecx + 4] */ 2298 MEM32(eax + 0x4) = edx; /* 0x3900576F: mov dword ptr [eax + 4], edx */ 2299 edx = MEM32(ecx + 0x4); /* 0x39005772: mov edx, dword ptr [ecx + 4] */ 2300 MEM32(edx) = eax; /* 0x39005775: mov dword ptr [edx], eax */ 2301 edx = MEM32(esi + 0x8); /* 0x39005777: mov edx, dword ptr [esi + 8] */ 2302 MEM32(ecx + 0x8) = edx; /* 0x3900577A: mov dword ptr [ecx + 8], edx */ 2303 edx = MEM32(esi + 0x8); /* 0x3900577D: mov edx, dword ptr [esi + 8] */ 2304 MEM32(edx + 0x4) = ecx; /* 0x39005780: mov dword ptr [edx + 4], ecx */ 2305 L_39005783: 2306 edx = MEM32(edi + 0x4); /* 0x39005783: mov edx, dword ptr [edi + 4] */ 2307 /* cmp MEM32(edx + 0x4), esi */ /* 0x39005786: cmp dword ptr [edx + 4], esi */ 2308 _flag_a = (uint32_t)(MEM32(edx + 0x4)); _flag_b = (uint32_t)(esi); 2309 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2310 _flag_k = FK_CMP; 2311 if (CMP_NE(_flag_a, _flag_b)) goto L_39005790; /* 0x39005789: jne 0x39005790 */ 2312 L_3900578B: 2313 MEM32(edx + 0x4) = ecx; /* 0x3900578B: mov dword ptr [edx + 4], ecx */ 2314 goto L_3900579E; /* 0x3900578E: jmp 0x3900579e */ 2315 L_39005790: 2316 edx = MEM32(esi + 0x4); /* 0x39005790: mov edx, dword ptr [esi + 4] */ 2317 /* cmp MEM32(edx), esi */ /* 0x39005793: cmp dword ptr [edx], esi */ 2318 _flag_a = (uint32_t)(MEM32(edx)); _flag_b = (uint32_t)(esi); 2319 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2320 _flag_k = FK_CMP; 2321 if (CMP_NE(_flag_a, _flag_b)) goto L_3900579B; /* 0x39005795: jne 0x3900579b */ 2322 L_39005797: 2323 MEM32(edx) = ecx; /* 0x39005797: mov dword ptr [edx], ecx */ 2324 goto L_3900579E; /* 0x39005799: jmp 0x3900579e */ 2325 L_3900579B: 2326 MEM32(edx + 0x8) = ecx; /* 0x3900579B: mov dword ptr [edx + 8], ecx */ 2327 L_3900579E: 2328 edx = MEM32(esi + 0x4); /* 0x3900579E: mov edx, dword ptr [esi + 4] */ 2329 MEM32(ebp + (-0x4)) = esi; /* 0x390057A1: mov dword ptr [ebp - 4], esi */ 2330 MEM32(ecx + 0x4) = edx; /* 0x390057A4: mov dword ptr [ecx + 4], edx */ 2331 SET_LO8(ebx, MEM8(esi + 0x2C)); /* 0x390057A7: mov bl, byte ptr [esi + 0x2c] */ 2332 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x390057AA: mov dl, byte ptr [ecx + 0x2c] */ 2333 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x390057AD: mov byte ptr [ecx + 0x2c], bl */ 2334 MEM8(esi + 0x2C) = (uint8_t)(LO8(edx)); /* 0x390057B0: mov byte ptr [esi + 0x2c], dl */ 2335 goto L_3900581E; /* 0x390057B3: jmp 0x3900581e */ 2336 L_390057B5: 2337 ecx = MEM32(esi + 0x4); /* 0x390057B5: mov ecx, dword ptr [esi + 4] */ 2338 /* cmp MEM32(ecx), esi */ /* 0x390057B8: cmp dword ptr [ecx], esi */ 2339 _flag_a = (uint32_t)(MEM32(ecx)); _flag_b = (uint32_t)(esi); 2340 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2341 _flag_k = FK_CMP; 2342 if (CMP_NE(_flag_a, _flag_b)) goto L_390057C0; /* 0x390057BA: jne 0x390057c0 */ 2343 L_390057BC: 2344 MEM32(ecx) = eax; /* 0x390057BC: mov dword ptr [ecx], eax */ 2345 goto L_390057C3; /* 0x390057BE: jmp 0x390057c3 */ 2346 L_390057C0: 2347 MEM32(ecx + 0x8) = eax; /* 0x390057C0: mov dword ptr [ecx + 8], eax */ 2348 L_390057C3: 2349 ebx = MEM32(edi + 0x4); /* 0x390057C3: mov ebx, dword ptr [edi + 4] */ 2350 /* cmp MEM32(ebx), esi */ /* 0x390057C6: cmp dword ptr [ebx], esi */ 2351 _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(esi); 2352 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2353 _flag_k = FK_CMP; 2354 if (CMP_NE(_flag_a, _flag_b)) goto L_390057EF; /* 0x390057C8: jne 0x390057ef */ 2355 L_390057CA: 2356 ecx = MEM32(esi + 0x8); /* 0x390057CA: mov ecx, dword ptr [esi + 8] */ 2357 edx = MEM32(edi + 0x8); /* 0x390057CD: mov edx, dword ptr [edi + 8] */ 2358 /* cmp ecx, edx */ /* 0x390057D0: cmp ecx, edx */ 2359 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 2360 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2361 _flag_k = FK_CMP; 2362 if (CMP_NE(_flag_a, _flag_b)) goto L_390057D9; /* 0x390057D2: jne 0x390057d9 */ 2363 L_390057D4: 2364 edx = MEM32(esi + 0x4); /* 0x390057D4: mov edx, dword ptr [esi + 4] */ 2365 goto L_390057ED; /* 0x390057D7: jmp 0x390057ed */ 2366 L_390057D9: 2367 ecx = MEM32(eax); /* 0x390057D9: mov ecx, dword ptr [eax] */ 2368 edx = eax; /* 0x390057DB: mov edx, eax */ 2369 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x390057DD: cmp byte ptr [ecx + 0x2d], 0 */ 2370 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 2371 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2372 _flag_k = FK_NARROW(FK_CMP, 24); 2373 if (CMP_NE(_flag_a, _flag_b)) goto L_390057ED; /* 0x390057E1: jne 0x390057ed */ 2374 L_390057E3: 2375 edx = ecx; /* 0x390057E3: mov edx, ecx */ 2376 ecx = MEM32(edx); /* 0x390057E5: mov ecx, dword ptr [edx] */ 2377 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x390057E7: cmp byte ptr [ecx + 0x2d], 0 */ 2378 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 2379 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2380 _flag_k = FK_NARROW(FK_CMP, 24); 2381 RECOMP_BACKEDGE(); 2382 if (CMP_EQ(_flag_a, _flag_b)) goto L_390057E3; /* 0x390057EB: je 0x390057e3 */ 2383 L_390057ED: 2384 MEM32(ebx) = edx; /* 0x390057ED: mov dword ptr [ebx], edx */ 2385 L_390057EF: 2386 ebx = MEM32(edi + 0x4); /* 0x390057EF: mov ebx, dword ptr [edi + 4] */ 2387 /* cmp MEM32(ebx + 0x8), esi */ /* 0x390057F2: cmp dword ptr [ebx + 8], esi */ 2388 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 2389 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2390 _flag_k = FK_CMP; 2391 if (CMP_NE(_flag_a, _flag_b)) goto L_3900581E; /* 0x390057F5: jne 0x3900581e */ 2392 L_390057F7: 2393 ecx = MEM32(esi); /* 0x390057F7: mov ecx, dword ptr [esi] */ 2394 edx = MEM32(edi + 0x8); /* 0x390057F9: mov edx, dword ptr [edi + 8] */ 2395 /* cmp ecx, edx */ /* 0x390057FC: cmp ecx, edx */ 2396 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 2397 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2398 _flag_k = FK_CMP; 2399 if (CMP_NE(_flag_a, _flag_b)) goto L_39005805; /* 0x390057FE: jne 0x39005805 */ 2400 L_39005800: 2401 edx = MEM32(esi + 0x4); /* 0x39005800: mov edx, dword ptr [esi + 4] */ 2402 goto L_3900581B; /* 0x39005803: jmp 0x3900581b */ 2403 L_39005805: 2404 ecx = MEM32(eax + 0x8); /* 0x39005805: mov ecx, dword ptr [eax + 8] */ 2405 edx = eax; /* 0x39005808: mov edx, eax */ 2406 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x3900580A: cmp byte ptr [ecx + 0x2d], 0 */ 2407 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 2408 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2409 _flag_k = FK_NARROW(FK_CMP, 24); 2410 if (CMP_NE(_flag_a, _flag_b)) goto L_3900581B; /* 0x3900580E: jne 0x3900581b */ 2411 L_39005810: 2412 edx = ecx; /* 0x39005810: mov edx, ecx */ 2413 ecx = MEM32(edx + 0x8); /* 0x39005812: mov ecx, dword ptr [edx + 8] */ 2414 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x39005815: cmp byte ptr [ecx + 0x2d], 0 */ 2415 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 2416 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2417 _flag_k = FK_NARROW(FK_CMP, 24); 2418 RECOMP_BACKEDGE(); 2419 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005810; /* 0x39005819: je 0x39005810 */ 2420 L_3900581B: 2421 MEM32(ebx + 0x8) = edx; /* 0x3900581B: mov dword ptr [ebx + 8], edx */ 2422 L_3900581E: 2423 esi = MEM32(ebp + (-0x4)); /* 0x3900581E: mov esi, dword ptr [ebp - 4] */ 2424 SET_LO8(ebx, 1); /* 0x39005821: mov bl, 1 */ 2425 /* cmp MEM8(esi + 0x2C), LO8(ebx) */ /* 0x39005823: cmp byte ptr [esi + 0x2c], bl */ 2426 _flag_a = (uint32_t)(MEM8(esi + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2427 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2428 _flag_k = FK_NARROW(FK_CMP, 24); 2429 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A8C; /* 0x39005826: jne 0x39005a8c */ 2430 L_3900582C: 2431 ecx = MEM32(edi + 0x4); /* 0x3900582C: mov ecx, dword ptr [edi + 4] */ 2432 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900582F: cmp eax, dword ptr [ecx + 4] */ 2433 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 2434 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2435 _flag_k = FK_CMP; 2436 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005A86; /* 0x39005832: je 0x39005a86 */ 2437 L_39005838: 2438 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x39005838: cmp byte ptr [eax + 0x2c], bl */ 2439 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2440 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2441 _flag_k = FK_NARROW(FK_CMP, 24); 2442 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A86; /* 0x3900583B: jne 0x39005a86 */ 2443 L_39005841: 2444 edx = MEM32(eax + 0x4); /* 0x39005841: mov edx, dword ptr [eax + 4] */ 2445 ecx = MEM32(edx); /* 0x39005844: mov ecx, dword ptr [edx] */ 2446 /* cmp eax, ecx */ /* 0x39005846: cmp eax, ecx */ 2447 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2448 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2449 _flag_k = FK_CMP; 2450 if (CMP_NE(_flag_a, _flag_b)) goto L_390058B8; /* 0x39005848: jne 0x390058b8 */ 2451 L_3900584A: 2452 ecx = MEM32(edx + 0x8); /* 0x3900584A: mov ecx, dword ptr [edx + 8] */ 2453 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x3900584D: mov dl, byte ptr [ecx + 0x2c] */ 2454 /* test LO8(edx), LO8(edx) */ /* 0x39005850: test dl, dl */ 2455 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 2456 _cf = 0; 2457 _flag_k = FK_NARROW(FK_TEST, 24); 2458 if (TEST_NZ(_flag_a, _flag_b)) goto L_3900589F; /* 0x39005852: jne 0x3900589f */ 2459 L_39005854: 2460 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005854: mov byte ptr [ecx + 0x2c], bl */ 2461 edx = MEM32(eax + 0x4); /* 0x39005857: mov edx, dword ptr [eax + 4] */ 2462 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x3900585A: mov byte ptr [edx + 0x2c], 0 */ 2463 ecx = MEM32(eax + 0x4); /* 0x3900585E: mov ecx, dword ptr [eax + 4] */ 2464 edx = MEM32(ecx + 0x8); /* 0x39005861: mov edx, dword ptr [ecx + 8] */ 2465 esi = MEM32(edx); /* 0x39005864: mov esi, dword ptr [edx] */ 2466 MEM32(ecx + 0x8) = esi; /* 0x39005866: mov dword ptr [ecx + 8], esi */ 2467 esi = MEM32(edx); /* 0x39005869: mov esi, dword ptr [edx] */ 2468 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3900586B: cmp esi, dword ptr [edi + 8] */ 2469 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2470 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2471 _flag_k = FK_CMP; 2472 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005873; /* 0x3900586E: je 0x39005873 */ 2473 L_39005870: 2474 MEM32(esi + 0x4) = ecx; /* 0x39005870: mov dword ptr [esi + 4], ecx */ 2475 L_39005873: 2476 esi = MEM32(ecx + 0x4); /* 0x39005873: mov esi, dword ptr [ecx + 4] */ 2477 MEM32(edx + 0x4) = esi; /* 0x39005876: mov dword ptr [edx + 4], esi */ 2478 esi = MEM32(edi + 0x4); /* 0x39005879: mov esi, dword ptr [edi + 4] */ 2479 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x3900587C: cmp ecx, dword ptr [esi + 4] */ 2480 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2481 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2482 _flag_k = FK_CMP; 2483 if (CMP_NE(_flag_a, _flag_b)) goto L_39005886; /* 0x3900587F: jne 0x39005886 */ 2484 L_39005881: 2485 MEM32(esi + 0x4) = edx; /* 0x39005881: mov dword ptr [esi + 4], edx */ 2486 goto L_39005894; /* 0x39005884: jmp 0x39005894 */ 2487 L_39005886: 2488 esi = MEM32(ecx + 0x4); /* 0x39005886: mov esi, dword ptr [ecx + 4] */ 2489 /* cmp ecx, MEM32(esi) */ /* 0x39005889: cmp ecx, dword ptr [esi] */ 2490 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 2491 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2492 _flag_k = FK_CMP; 2493 if (CMP_NE(_flag_a, _flag_b)) goto L_39005891; /* 0x3900588B: jne 0x39005891 */ 2494 L_3900588D: 2495 MEM32(esi) = edx; /* 0x3900588D: mov dword ptr [esi], edx */ 2496 goto L_39005894; /* 0x3900588F: jmp 0x39005894 */ 2497 L_39005891: 2498 MEM32(esi + 0x8) = edx; /* 0x39005891: mov dword ptr [esi + 8], edx */ 2499 L_39005894: 2500 MEM32(edx) = ecx; /* 0x39005894: mov dword ptr [edx], ecx */ 2501 MEM32(ecx + 0x4) = edx; /* 0x39005896: mov dword ptr [ecx + 4], edx */ 2502 ecx = MEM32(eax + 0x4); /* 0x39005899: mov ecx, dword ptr [eax + 4] */ 2503 ecx = MEM32(ecx + 0x8); /* 0x3900589C: mov ecx, dword ptr [ecx + 8] */ 2504 L_3900589F: 2505 edx = MEM32(ecx); /* 0x3900589F: mov edx, dword ptr [ecx] */ 2506 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390058A1: cmp byte ptr [edx + 0x2c], bl */ 2507 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2508 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2509 _flag_k = FK_NARROW(FK_CMP, 24); 2510 if (CMP_NE(_flag_a, _flag_b)) goto L_3900593A; /* 0x390058A4: jne 0x3900593a */ 2511 L_390058AA: 2512 edx = MEM32(ecx + 0x8); /* 0x390058AA: mov edx, dword ptr [ecx + 8] */ 2513 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390058AD: cmp byte ptr [edx + 0x2c], bl */ 2514 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2515 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2516 _flag_k = FK_NARROW(FK_CMP, 24); 2517 if (CMP_NE(_flag_a, _flag_b)) goto L_3900593A; /* 0x390058B0: jne 0x3900593a */ 2518 L_390058B6: 2519 goto L_39005922; /* 0x390058B6: jmp 0x39005922 */ 2520 L_390058B8: 2521 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x390058B8: mov dl, byte ptr [ecx + 0x2c] */ 2522 /* test LO8(edx), LO8(edx) */ /* 0x390058BB: test dl, dl */ 2523 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 2524 _cf = 0; 2525 _flag_k = FK_NARROW(FK_TEST, 24); 2526 if (TEST_NZ(_flag_a, _flag_b)) goto L_3900590B; /* 0x390058BD: jne 0x3900590b */ 2527 L_390058BF: 2528 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x390058BF: mov byte ptr [ecx + 0x2c], bl */ 2529 ecx = MEM32(eax + 0x4); /* 0x390058C2: mov ecx, dword ptr [eax + 4] */ 2530 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x390058C5: mov byte ptr [ecx + 0x2c], 0 */ 2531 ecx = MEM32(eax + 0x4); /* 0x390058C9: mov ecx, dword ptr [eax + 4] */ 2532 edx = MEM32(ecx); /* 0x390058CC: mov edx, dword ptr [ecx] */ 2533 esi = MEM32(edx + 0x8); /* 0x390058CE: mov esi, dword ptr [edx + 8] */ 2534 MEM32(ecx) = esi; /* 0x390058D1: mov dword ptr [ecx], esi */ 2535 esi = MEM32(edx + 0x8); /* 0x390058D3: mov esi, dword ptr [edx + 8] */ 2536 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390058D6: cmp esi, dword ptr [edi + 8] */ 2537 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2538 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2539 _flag_k = FK_CMP; 2540 if (CMP_EQ(_flag_a, _flag_b)) goto L_390058DE; /* 0x390058D9: je 0x390058de */ 2541 L_390058DB: 2542 MEM32(esi + 0x4) = ecx; /* 0x390058DB: mov dword ptr [esi + 4], ecx */ 2543 L_390058DE: 2544 esi = MEM32(ecx + 0x4); /* 0x390058DE: mov esi, dword ptr [ecx + 4] */ 2545 MEM32(edx + 0x4) = esi; /* 0x390058E1: mov dword ptr [edx + 4], esi */ 2546 esi = MEM32(edi + 0x4); /* 0x390058E4: mov esi, dword ptr [edi + 4] */ 2547 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390058E7: cmp ecx, dword ptr [esi + 4] */ 2548 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2549 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2550 _flag_k = FK_CMP; 2551 if (CMP_NE(_flag_a, _flag_b)) goto L_390058F1; /* 0x390058EA: jne 0x390058f1 */ 2552 L_390058EC: 2553 MEM32(esi + 0x4) = edx; /* 0x390058EC: mov dword ptr [esi + 4], edx */ 2554 goto L_39005900; /* 0x390058EF: jmp 0x39005900 */ 2555 L_390058F1: 2556 esi = MEM32(ecx + 0x4); /* 0x390058F1: mov esi, dword ptr [ecx + 4] */ 2557 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x390058F4: cmp ecx, dword ptr [esi + 8] */ 2558 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2559 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2560 _flag_k = FK_CMP; 2561 if (CMP_NE(_flag_a, _flag_b)) goto L_390058FE; /* 0x390058F7: jne 0x390058fe */ 2562 L_390058F9: 2563 MEM32(esi + 0x8) = edx; /* 0x390058F9: mov dword ptr [esi + 8], edx */ 2564 goto L_39005900; /* 0x390058FC: jmp 0x39005900 */ 2565 L_390058FE: 2566 MEM32(esi) = edx; /* 0x390058FE: mov dword ptr [esi], edx */ 2567 L_39005900: 2568 MEM32(edx + 0x8) = ecx; /* 0x39005900: mov dword ptr [edx + 8], ecx */ 2569 MEM32(ecx + 0x4) = edx; /* 0x39005903: mov dword ptr [ecx + 4], edx */ 2570 edx = MEM32(eax + 0x4); /* 0x39005906: mov edx, dword ptr [eax + 4] */ 2571 ecx = MEM32(edx); /* 0x39005909: mov ecx, dword ptr [edx] */ 2572 L_3900590B: 2573 edx = MEM32(ecx + 0x8); /* 0x3900590B: mov edx, dword ptr [ecx + 8] */ 2574 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x3900590E: cmp byte ptr [edx + 0x2c], bl */ 2575 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2576 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2577 _flag_k = FK_NARROW(FK_CMP, 24); 2578 if (CMP_NE(_flag_a, _flag_b)) goto L_390059E7; /* 0x39005911: jne 0x390059e7 */ 2579 L_39005917: 2580 edx = MEM32(ecx); /* 0x39005917: mov edx, dword ptr [ecx] */ 2581 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005919: cmp byte ptr [edx + 0x2c], bl */ 2582 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2583 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2584 _flag_k = FK_NARROW(FK_CMP, 24); 2585 if (CMP_NE(_flag_a, _flag_b)) goto L_390059E7; /* 0x3900591C: jne 0x390059e7 */ 2586 L_39005922: 2587 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39005922: mov byte ptr [ecx + 0x2c], 0 */ 2588 ecx = MEM32(edi + 0x4); /* 0x39005926: mov ecx, dword ptr [edi + 4] */ 2589 eax = MEM32(eax + 0x4); /* 0x39005929: mov eax, dword ptr [eax + 4] */ 2590 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900592C: cmp eax, dword ptr [ecx + 4] */ 2591 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 2592 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2593 _flag_k = FK_CMP; 2594 RECOMP_BACKEDGE(); 2595 if (CMP_NE(_flag_a, _flag_b)) goto L_39005838; /* 0x3900592F: jne 0x39005838 */ 2596 L_39005935: 2597 goto L_39005A86; /* 0x39005935: jmp 0x39005a86 */ 2598 L_3900593A: 2599 edx = MEM32(ecx + 0x8); /* 0x3900593A: mov edx, dword ptr [ecx + 8] */ 2600 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x3900593D: cmp byte ptr [edx + 0x2c], bl */ 2601 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2602 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2603 _flag_k = FK_NARROW(FK_CMP, 24); 2604 if (CMP_NE(_flag_a, _flag_b)) goto L_3900598B; /* 0x39005940: jne 0x3900598b */ 2605 L_39005942: 2606 edx = MEM32(ecx); /* 0x39005942: mov edx, dword ptr [ecx] */ 2607 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005944: mov byte ptr [edx + 0x2c], bl */ 2608 edx = MEM32(ecx); /* 0x39005947: mov edx, dword ptr [ecx] */ 2609 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39005949: mov byte ptr [ecx + 0x2c], 0 */ 2610 esi = MEM32(edx + 0x8); /* 0x3900594D: mov esi, dword ptr [edx + 8] */ 2611 MEM32(ecx) = esi; /* 0x39005950: mov dword ptr [ecx], esi */ 2612 esi = MEM32(edx + 0x8); /* 0x39005952: mov esi, dword ptr [edx + 8] */ 2613 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005955: cmp esi, dword ptr [edi + 8] */ 2614 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2615 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2616 _flag_k = FK_CMP; 2617 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900595D; /* 0x39005958: je 0x3900595d */ 2618 L_3900595A: 2619 MEM32(esi + 0x4) = ecx; /* 0x3900595A: mov dword ptr [esi + 4], ecx */ 2620 L_3900595D: 2621 esi = MEM32(ecx + 0x4); /* 0x3900595D: mov esi, dword ptr [ecx + 4] */ 2622 MEM32(edx + 0x4) = esi; /* 0x39005960: mov dword ptr [edx + 4], esi */ 2623 esi = MEM32(edi + 0x4); /* 0x39005963: mov esi, dword ptr [edi + 4] */ 2624 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005966: cmp ecx, dword ptr [esi + 4] */ 2625 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2626 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2627 _flag_k = FK_CMP; 2628 if (CMP_NE(_flag_a, _flag_b)) goto L_39005970; /* 0x39005969: jne 0x39005970 */ 2629 L_3900596B: 2630 MEM32(esi + 0x4) = edx; /* 0x3900596B: mov dword ptr [esi + 4], edx */ 2631 goto L_3900597F; /* 0x3900596E: jmp 0x3900597f */ 2632 L_39005970: 2633 esi = MEM32(ecx + 0x4); /* 0x39005970: mov esi, dword ptr [ecx + 4] */ 2634 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39005973: cmp ecx, dword ptr [esi + 8] */ 2635 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2636 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2637 _flag_k = FK_CMP; 2638 if (CMP_NE(_flag_a, _flag_b)) goto L_3900597D; /* 0x39005976: jne 0x3900597d */ 2639 L_39005978: 2640 MEM32(esi + 0x8) = edx; /* 0x39005978: mov dword ptr [esi + 8], edx */ 2641 goto L_3900597F; /* 0x3900597B: jmp 0x3900597f */ 2642 L_3900597D: 2643 MEM32(esi) = edx; /* 0x3900597D: mov dword ptr [esi], edx */ 2644 L_3900597F: 2645 MEM32(edx + 0x8) = ecx; /* 0x3900597F: mov dword ptr [edx + 8], ecx */ 2646 MEM32(ecx + 0x4) = edx; /* 0x39005982: mov dword ptr [ecx + 4], edx */ 2647 ecx = MEM32(eax + 0x4); /* 0x39005985: mov ecx, dword ptr [eax + 4] */ 2648 ecx = MEM32(ecx + 0x8); /* 0x39005988: mov ecx, dword ptr [ecx + 8] */ 2649 L_3900598B: 2650 edx = MEM32(eax + 0x4); /* 0x3900598B: mov edx, dword ptr [eax + 4] */ 2651 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x3900598E: mov dl, byte ptr [edx + 0x2c] */ 2652 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39005991: mov byte ptr [ecx + 0x2c], dl */ 2653 edx = MEM32(eax + 0x4); /* 0x39005994: mov edx, dword ptr [eax + 4] */ 2654 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005997: mov byte ptr [edx + 0x2c], bl */ 2655 ecx = MEM32(ecx + 0x8); /* 0x3900599A: mov ecx, dword ptr [ecx + 8] */ 2656 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x3900599D: mov byte ptr [ecx + 0x2c], bl */ 2657 ecx = MEM32(eax + 0x4); /* 0x390059A0: mov ecx, dword ptr [eax + 4] */ 2658 edx = MEM32(ecx + 0x8); /* 0x390059A3: mov edx, dword ptr [ecx + 8] */ 2659 esi = MEM32(edx); /* 0x390059A6: mov esi, dword ptr [edx] */ 2660 MEM32(ecx + 0x8) = esi; /* 0x390059A8: mov dword ptr [ecx + 8], esi */ 2661 esi = MEM32(edx); /* 0x390059AB: mov esi, dword ptr [edx] */ 2662 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390059AD: cmp esi, dword ptr [edi + 8] */ 2663 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2664 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2665 _flag_k = FK_CMP; 2666 if (CMP_EQ(_flag_a, _flag_b)) goto L_390059B5; /* 0x390059B0: je 0x390059b5 */ 2667 L_390059B2: 2668 MEM32(esi + 0x4) = ecx; /* 0x390059B2: mov dword ptr [esi + 4], ecx */ 2669 L_390059B5: 2670 esi = MEM32(ecx + 0x4); /* 0x390059B5: mov esi, dword ptr [ecx + 4] */ 2671 MEM32(edx + 0x4) = esi; /* 0x390059B8: mov dword ptr [edx + 4], esi */ 2672 esi = MEM32(edi + 0x4); /* 0x390059BB: mov esi, dword ptr [edi + 4] */ 2673 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390059BE: cmp ecx, dword ptr [esi + 4] */ 2674 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2675 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2676 _flag_k = FK_CMP; 2677 if (CMP_NE(_flag_a, _flag_b)) goto L_390059CD; /* 0x390059C1: jne 0x390059cd */ 2678 L_390059C3: 2679 MEM32(esi + 0x4) = edx; /* 0x390059C3: mov dword ptr [esi + 4], edx */ 2680 MEM32(edx) = ecx; /* 0x390059C6: mov dword ptr [edx], ecx */ 2681 goto L_39005A83; /* 0x390059C8: jmp 0x39005a83 */ 2682 L_390059CD: 2683 esi = MEM32(ecx + 0x4); /* 0x390059CD: mov esi, dword ptr [ecx + 4] */ 2684 /* cmp ecx, MEM32(esi) */ /* 0x390059D0: cmp ecx, dword ptr [esi] */ 2685 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 2686 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2687 _flag_k = FK_CMP; 2688 if (CMP_NE(_flag_a, _flag_b)) goto L_390059DD; /* 0x390059D2: jne 0x390059dd */ 2689 L_390059D4: 2690 MEM32(esi) = edx; /* 0x390059D4: mov dword ptr [esi], edx */ 2691 MEM32(edx) = ecx; /* 0x390059D6: mov dword ptr [edx], ecx */ 2692 goto L_39005A83; /* 0x390059D8: jmp 0x39005a83 */ 2693 L_390059DD: 2694 MEM32(esi + 0x8) = edx; /* 0x390059DD: mov dword ptr [esi + 8], edx */ 2695 MEM32(edx) = ecx; /* 0x390059E0: mov dword ptr [edx], ecx */ 2696 goto L_39005A83; /* 0x390059E2: jmp 0x39005a83 */ 2697 L_390059E7: 2698 edx = MEM32(ecx); /* 0x390059E7: mov edx, dword ptr [ecx] */ 2699 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390059E9: cmp byte ptr [edx + 0x2c], bl */ 2700 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2701 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2702 _flag_k = FK_NARROW(FK_CMP, 24); 2703 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A35; /* 0x390059EC: jne 0x39005a35 */ 2704 L_390059EE: 2705 edx = MEM32(ecx + 0x8); /* 0x390059EE: mov edx, dword ptr [ecx + 8] */ 2706 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x390059F1: mov byte ptr [edx + 0x2c], bl */ 2707 edx = MEM32(ecx + 0x8); /* 0x390059F4: mov edx, dword ptr [ecx + 8] */ 2708 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x390059F7: mov byte ptr [ecx + 0x2c], 0 */ 2709 esi = MEM32(edx); /* 0x390059FB: mov esi, dword ptr [edx] */ 2710 MEM32(ecx + 0x8) = esi; /* 0x390059FD: mov dword ptr [ecx + 8], esi */ 2711 esi = MEM32(edx); /* 0x39005A00: mov esi, dword ptr [edx] */ 2712 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005A02: cmp esi, dword ptr [edi + 8] */ 2713 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2714 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2715 _flag_k = FK_CMP; 2716 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005A0A; /* 0x39005A05: je 0x39005a0a */ 2717 L_39005A07: 2718 MEM32(esi + 0x4) = ecx; /* 0x39005A07: mov dword ptr [esi + 4], ecx */ 2719 L_39005A0A: 2720 esi = MEM32(ecx + 0x4); /* 0x39005A0A: mov esi, dword ptr [ecx + 4] */ 2721 MEM32(edx + 0x4) = esi; /* 0x39005A0D: mov dword ptr [edx + 4], esi */ 2722 esi = MEM32(edi + 0x4); /* 0x39005A10: mov esi, dword ptr [edi + 4] */ 2723 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005A13: cmp ecx, dword ptr [esi + 4] */ 2724 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2725 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2726 _flag_k = FK_CMP; 2727 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A1D; /* 0x39005A16: jne 0x39005a1d */ 2728 L_39005A18: 2729 MEM32(esi + 0x4) = edx; /* 0x39005A18: mov dword ptr [esi + 4], edx */ 2730 goto L_39005A2B; /* 0x39005A1B: jmp 0x39005a2b */ 2731 L_39005A1D: 2732 esi = MEM32(ecx + 0x4); /* 0x39005A1D: mov esi, dword ptr [ecx + 4] */ 2733 /* cmp ecx, MEM32(esi) */ /* 0x39005A20: cmp ecx, dword ptr [esi] */ 2734 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 2735 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2736 _flag_k = FK_CMP; 2737 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A28; /* 0x39005A22: jne 0x39005a28 */ 2738 L_39005A24: 2739 MEM32(esi) = edx; /* 0x39005A24: mov dword ptr [esi], edx */ 2740 goto L_39005A2B; /* 0x39005A26: jmp 0x39005a2b */ 2741 L_39005A28: 2742 MEM32(esi + 0x8) = edx; /* 0x39005A28: mov dword ptr [esi + 8], edx */ 2743 L_39005A2B: 2744 MEM32(edx) = ecx; /* 0x39005A2B: mov dword ptr [edx], ecx */ 2745 MEM32(ecx + 0x4) = edx; /* 0x39005A2D: mov dword ptr [ecx + 4], edx */ 2746 ecx = MEM32(eax + 0x4); /* 0x39005A30: mov ecx, dword ptr [eax + 4] */ 2747 ecx = MEM32(ecx); /* 0x39005A33: mov ecx, dword ptr [ecx] */ 2748 L_39005A35: 2749 edx = MEM32(eax + 0x4); /* 0x39005A35: mov edx, dword ptr [eax + 4] */ 2750 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x39005A38: mov dl, byte ptr [edx + 0x2c] */ 2751 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39005A3B: mov byte ptr [ecx + 0x2c], dl */ 2752 edx = MEM32(eax + 0x4); /* 0x39005A3E: mov edx, dword ptr [eax + 4] */ 2753 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A41: mov byte ptr [edx + 0x2c], bl */ 2754 ecx = MEM32(ecx); /* 0x39005A44: mov ecx, dword ptr [ecx] */ 2755 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A46: mov byte ptr [ecx + 0x2c], bl */ 2756 ecx = MEM32(eax + 0x4); /* 0x39005A49: mov ecx, dword ptr [eax + 4] */ 2757 edx = MEM32(ecx); /* 0x39005A4C: mov edx, dword ptr [ecx] */ 2758 esi = MEM32(edx + 0x8); /* 0x39005A4E: mov esi, dword ptr [edx + 8] */ 2759 MEM32(ecx) = esi; /* 0x39005A51: mov dword ptr [ecx], esi */ 2760 esi = MEM32(edx + 0x8); /* 0x39005A53: mov esi, dword ptr [edx + 8] */ 2761 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005A56: cmp esi, dword ptr [edi + 8] */ 2762 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2763 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2764 _flag_k = FK_CMP; 2765 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005A5E; /* 0x39005A59: je 0x39005a5e */ 2766 L_39005A5B: 2767 MEM32(esi + 0x4) = ecx; /* 0x39005A5B: mov dword ptr [esi + 4], ecx */ 2768 L_39005A5E: 2769 esi = MEM32(ecx + 0x4); /* 0x39005A5E: mov esi, dword ptr [ecx + 4] */ 2770 MEM32(edx + 0x4) = esi; /* 0x39005A61: mov dword ptr [edx + 4], esi */ 2771 esi = MEM32(edi + 0x4); /* 0x39005A64: mov esi, dword ptr [edi + 4] */ 2772 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005A67: cmp ecx, dword ptr [esi + 4] */ 2773 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2774 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2775 _flag_k = FK_CMP; 2776 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A71; /* 0x39005A6A: jne 0x39005a71 */ 2777 L_39005A6C: 2778 MEM32(esi + 0x4) = edx; /* 0x39005A6C: mov dword ptr [esi + 4], edx */ 2779 goto L_39005A80; /* 0x39005A6F: jmp 0x39005a80 */ 2780 L_39005A71: 2781 esi = MEM32(ecx + 0x4); /* 0x39005A71: mov esi, dword ptr [ecx + 4] */ 2782 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39005A74: cmp ecx, dword ptr [esi + 8] */ 2783 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2784 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2785 _flag_k = FK_CMP; 2786 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A7E; /* 0x39005A77: jne 0x39005a7e */ 2787 L_39005A79: 2788 MEM32(esi + 0x8) = edx; /* 0x39005A79: mov dword ptr [esi + 8], edx */ 2789 goto L_39005A80; /* 0x39005A7C: jmp 0x39005a80 */ 2790 L_39005A7E: 2791 MEM32(esi) = edx; /* 0x39005A7E: mov dword ptr [esi], edx */ 2792 L_39005A80: 2793 MEM32(edx + 0x8) = ecx; /* 0x39005A80: mov dword ptr [edx + 8], ecx */ 2794 L_39005A83: 2795 MEM32(ecx + 0x4) = edx; /* 0x39005A83: mov dword ptr [ecx + 4], edx */ 2796 L_39005A86: 2797 esi = MEM32(ebp + (-0x4)); /* 0x39005A86: mov esi, dword ptr [ebp - 4] */ 2798 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A89: mov byte ptr [eax + 0x2c], bl */ 2799 L_39005A8C: 2800 ecx = esi + 0xC; /* 0x39005A8C: lea ecx, [esi + 0xc] */ 2801 RECOMP_ICALL(0x39004670u); /* 0x39005A8F: call 0x39004670 */ /* not lifted */ 2802 RECOMP_FLAGS_IN(); 2803 PUSH32(esp, esi); /* 0x39005A94: push esi */ 2804 RECOMP_ICALL(0x3900A0A0u); /* 0x39005A95: call 0x3900a0a0 */ /* not lifted */ 2805 RECOMP_FLAGS_IN(); 2806 eax = MEM32(edi + 0x10); /* 0x39005A9A: mov eax, dword ptr [edi + 0x10] */ 2807 edx = MEM32(ebp + 0xC); /* 0x39005A9D: mov edx, dword ptr [ebp + 0xc] */ 2808 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2809 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2810 esp = esp + 4; /* 0x39005AA0: add esp, 4 */ 2811 _flag_k = FK_ADD; 2812 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 2813 eax = eax - 1; /* 0x39005AA3: dec eax */ 2814 _flag_k = FK_DEC; 2815 MEM32(edi + 0x10) = eax; /* 0x39005AA4: mov dword ptr [edi + 0x10], eax */ 2816 eax = MEM32(ebp + 0x8); /* 0x39005AA7: mov eax, dword ptr [ebp + 8] */ 2817 edi = POP32_VAL(esp); /* 0x39005AAA: pop edi */ 2818 esi = POP32_VAL(esp); /* 0x39005AAB: pop esi */ 2819 MEM32(eax) = edx; /* 0x39005AAC: mov dword ptr [eax], edx */ 2820 ebx = POP32_VAL(esp); /* 0x39005AAE: pop ebx */ 2821 esp = ebp; /* 0x39005AAF: mov esp, ebp */ 2822 ebp = POP32_VAL(esp); /* 0x39005AB1: pop ebp */ 2823 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x39005AB2: ret 8 */ 2824 RECOMP_REGS_OUT(); 2825 } 2826 2827 void sub_390057C3(void) { 2828 int _fpu_cmp = 0; 2829 uint32_t _cf = 0; 2830 int _df = 1; 2831 uint32_t _flag_k = FK_NONE; 2832 uint32_t _flag_a = 0, _flag_b = 0; 2833 uint32_t _itail_tgt = 0; 2834 RECOMP_REGS_LOCALS 2835 RECOMP_ENTER(0x390057C3u); 2836 2837 L_390057C3: 2838 ebx = MEM32(edi + 0x4); /* 0x390057C3: mov ebx, dword ptr [edi + 4] */ 2839 /* cmp MEM32(ebx), esi */ /* 0x390057C6: cmp dword ptr [ebx], esi */ 2840 _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(esi); 2841 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2842 _flag_k = FK_CMP; 2843 if (CMP_NE(_flag_a, _flag_b)) goto L_390057EF; /* 0x390057C8: jne 0x390057ef */ 2844 L_390057CA: 2845 ecx = MEM32(esi + 0x8); /* 0x390057CA: mov ecx, dword ptr [esi + 8] */ 2846 edx = MEM32(edi + 0x8); /* 0x390057CD: mov edx, dword ptr [edi + 8] */ 2847 /* cmp ecx, edx */ /* 0x390057D0: cmp ecx, edx */ 2848 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 2849 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2850 _flag_k = FK_CMP; 2851 if (CMP_NE(_flag_a, _flag_b)) goto L_390057D9; /* 0x390057D2: jne 0x390057d9 */ 2852 L_390057D4: 2853 edx = MEM32(esi + 0x4); /* 0x390057D4: mov edx, dword ptr [esi + 4] */ 2854 goto L_390057ED; /* 0x390057D7: jmp 0x390057ed */ 2855 L_390057D9: 2856 ecx = MEM32(eax); /* 0x390057D9: mov ecx, dword ptr [eax] */ 2857 edx = eax; /* 0x390057DB: mov edx, eax */ 2858 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x390057DD: cmp byte ptr [ecx + 0x2d], 0 */ 2859 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 2860 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2861 _flag_k = FK_NARROW(FK_CMP, 24); 2862 if (CMP_NE(_flag_a, _flag_b)) goto L_390057ED; /* 0x390057E1: jne 0x390057ed */ 2863 L_390057E3: 2864 edx = ecx; /* 0x390057E3: mov edx, ecx */ 2865 ecx = MEM32(edx); /* 0x390057E5: mov ecx, dword ptr [edx] */ 2866 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x390057E7: cmp byte ptr [ecx + 0x2d], 0 */ 2867 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 2868 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2869 _flag_k = FK_NARROW(FK_CMP, 24); 2870 RECOMP_BACKEDGE(); 2871 if (CMP_EQ(_flag_a, _flag_b)) goto L_390057E3; /* 0x390057EB: je 0x390057e3 */ 2872 L_390057ED: 2873 MEM32(ebx) = edx; /* 0x390057ED: mov dword ptr [ebx], edx */ 2874 L_390057EF: 2875 ebx = MEM32(edi + 0x4); /* 0x390057EF: mov ebx, dword ptr [edi + 4] */ 2876 /* cmp MEM32(ebx + 0x8), esi */ /* 0x390057F2: cmp dword ptr [ebx + 8], esi */ 2877 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 2878 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2879 _flag_k = FK_CMP; 2880 if (CMP_NE(_flag_a, _flag_b)) goto L_3900581E; /* 0x390057F5: jne 0x3900581e */ 2881 L_390057F7: 2882 ecx = MEM32(esi); /* 0x390057F7: mov ecx, dword ptr [esi] */ 2883 edx = MEM32(edi + 0x8); /* 0x390057F9: mov edx, dword ptr [edi + 8] */ 2884 /* cmp ecx, edx */ /* 0x390057FC: cmp ecx, edx */ 2885 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 2886 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2887 _flag_k = FK_CMP; 2888 if (CMP_NE(_flag_a, _flag_b)) goto L_39005805; /* 0x390057FE: jne 0x39005805 */ 2889 L_39005800: 2890 edx = MEM32(esi + 0x4); /* 0x39005800: mov edx, dword ptr [esi + 4] */ 2891 goto L_3900581B; /* 0x39005803: jmp 0x3900581b */ 2892 L_39005805: 2893 ecx = MEM32(eax + 0x8); /* 0x39005805: mov ecx, dword ptr [eax + 8] */ 2894 edx = eax; /* 0x39005808: mov edx, eax */ 2895 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x3900580A: cmp byte ptr [ecx + 0x2d], 0 */ 2896 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 2897 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2898 _flag_k = FK_NARROW(FK_CMP, 24); 2899 if (CMP_NE(_flag_a, _flag_b)) goto L_3900581B; /* 0x3900580E: jne 0x3900581b */ 2900 L_39005810: 2901 edx = ecx; /* 0x39005810: mov edx, ecx */ 2902 ecx = MEM32(edx + 0x8); /* 0x39005812: mov ecx, dword ptr [edx + 8] */ 2903 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x39005815: cmp byte ptr [ecx + 0x2d], 0 */ 2904 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 2905 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2906 _flag_k = FK_NARROW(FK_CMP, 24); 2907 RECOMP_BACKEDGE(); 2908 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005810; /* 0x39005819: je 0x39005810 */ 2909 L_3900581B: 2910 MEM32(ebx + 0x8) = edx; /* 0x3900581B: mov dword ptr [ebx + 8], edx */ 2911 L_3900581E: 2912 esi = MEM32(ebp + (-0x4)); /* 0x3900581E: mov esi, dword ptr [ebp - 4] */ 2913 SET_LO8(ebx, 1); /* 0x39005821: mov bl, 1 */ 2914 /* cmp MEM8(esi + 0x2C), LO8(ebx) */ /* 0x39005823: cmp byte ptr [esi + 0x2c], bl */ 2915 _flag_a = (uint32_t)(MEM8(esi + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2916 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2917 _flag_k = FK_NARROW(FK_CMP, 24); 2918 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A8C; /* 0x39005826: jne 0x39005a8c */ 2919 L_3900582C: 2920 ecx = MEM32(edi + 0x4); /* 0x3900582C: mov ecx, dword ptr [edi + 4] */ 2921 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900582F: cmp eax, dword ptr [ecx + 4] */ 2922 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 2923 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2924 _flag_k = FK_CMP; 2925 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005A86; /* 0x39005832: je 0x39005a86 */ 2926 L_39005838: 2927 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x39005838: cmp byte ptr [eax + 0x2c], bl */ 2928 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2929 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2930 _flag_k = FK_NARROW(FK_CMP, 24); 2931 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A86; /* 0x3900583B: jne 0x39005a86 */ 2932 L_39005841: 2933 edx = MEM32(eax + 0x4); /* 0x39005841: mov edx, dword ptr [eax + 4] */ 2934 ecx = MEM32(edx); /* 0x39005844: mov ecx, dword ptr [edx] */ 2935 /* cmp eax, ecx */ /* 0x39005846: cmp eax, ecx */ 2936 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2937 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2938 _flag_k = FK_CMP; 2939 if (CMP_NE(_flag_a, _flag_b)) goto L_390058B8; /* 0x39005848: jne 0x390058b8 */ 2940 L_3900584A: 2941 ecx = MEM32(edx + 0x8); /* 0x3900584A: mov ecx, dword ptr [edx + 8] */ 2942 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x3900584D: mov dl, byte ptr [ecx + 0x2c] */ 2943 /* test LO8(edx), LO8(edx) */ /* 0x39005850: test dl, dl */ 2944 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 2945 _cf = 0; 2946 _flag_k = FK_NARROW(FK_TEST, 24); 2947 if (TEST_NZ(_flag_a, _flag_b)) goto L_3900589F; /* 0x39005852: jne 0x3900589f */ 2948 L_39005854: 2949 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005854: mov byte ptr [ecx + 0x2c], bl */ 2950 edx = MEM32(eax + 0x4); /* 0x39005857: mov edx, dword ptr [eax + 4] */ 2951 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x3900585A: mov byte ptr [edx + 0x2c], 0 */ 2952 ecx = MEM32(eax + 0x4); /* 0x3900585E: mov ecx, dword ptr [eax + 4] */ 2953 edx = MEM32(ecx + 0x8); /* 0x39005861: mov edx, dword ptr [ecx + 8] */ 2954 esi = MEM32(edx); /* 0x39005864: mov esi, dword ptr [edx] */ 2955 MEM32(ecx + 0x8) = esi; /* 0x39005866: mov dword ptr [ecx + 8], esi */ 2956 esi = MEM32(edx); /* 0x39005869: mov esi, dword ptr [edx] */ 2957 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3900586B: cmp esi, dword ptr [edi + 8] */ 2958 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2959 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2960 _flag_k = FK_CMP; 2961 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005873; /* 0x3900586E: je 0x39005873 */ 2962 L_39005870: 2963 MEM32(esi + 0x4) = ecx; /* 0x39005870: mov dword ptr [esi + 4], ecx */ 2964 L_39005873: 2965 esi = MEM32(ecx + 0x4); /* 0x39005873: mov esi, dword ptr [ecx + 4] */ 2966 MEM32(edx + 0x4) = esi; /* 0x39005876: mov dword ptr [edx + 4], esi */ 2967 esi = MEM32(edi + 0x4); /* 0x39005879: mov esi, dword ptr [edi + 4] */ 2968 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x3900587C: cmp ecx, dword ptr [esi + 4] */ 2969 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2970 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2971 _flag_k = FK_CMP; 2972 if (CMP_NE(_flag_a, _flag_b)) goto L_39005886; /* 0x3900587F: jne 0x39005886 */ 2973 L_39005881: 2974 MEM32(esi + 0x4) = edx; /* 0x39005881: mov dword ptr [esi + 4], edx */ 2975 goto L_39005894; /* 0x39005884: jmp 0x39005894 */ 2976 L_39005886: 2977 esi = MEM32(ecx + 0x4); /* 0x39005886: mov esi, dword ptr [ecx + 4] */ 2978 /* cmp ecx, MEM32(esi) */ /* 0x39005889: cmp ecx, dword ptr [esi] */ 2979 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 2980 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2981 _flag_k = FK_CMP; 2982 if (CMP_NE(_flag_a, _flag_b)) goto L_39005891; /* 0x3900588B: jne 0x39005891 */ 2983 L_3900588D: 2984 MEM32(esi) = edx; /* 0x3900588D: mov dword ptr [esi], edx */ 2985 goto L_39005894; /* 0x3900588F: jmp 0x39005894 */ 2986 L_39005891: 2987 MEM32(esi + 0x8) = edx; /* 0x39005891: mov dword ptr [esi + 8], edx */ 2988 L_39005894: 2989 MEM32(edx) = ecx; /* 0x39005894: mov dword ptr [edx], ecx */ 2990 MEM32(ecx + 0x4) = edx; /* 0x39005896: mov dword ptr [ecx + 4], edx */ 2991 ecx = MEM32(eax + 0x4); /* 0x39005899: mov ecx, dword ptr [eax + 4] */ 2992 ecx = MEM32(ecx + 0x8); /* 0x3900589C: mov ecx, dword ptr [ecx + 8] */ 2993 L_3900589F: 2994 edx = MEM32(ecx); /* 0x3900589F: mov edx, dword ptr [ecx] */ 2995 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390058A1: cmp byte ptr [edx + 0x2c], bl */ 2996 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2997 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2998 _flag_k = FK_NARROW(FK_CMP, 24); 2999 if (CMP_NE(_flag_a, _flag_b)) goto L_3900593A; /* 0x390058A4: jne 0x3900593a */ 3000 L_390058AA: 3001 edx = MEM32(ecx + 0x8); /* 0x390058AA: mov edx, dword ptr [ecx + 8] */ 3002 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390058AD: cmp byte ptr [edx + 0x2c], bl */ 3003 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3004 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3005 _flag_k = FK_NARROW(FK_CMP, 24); 3006 if (CMP_NE(_flag_a, _flag_b)) goto L_3900593A; /* 0x390058B0: jne 0x3900593a */ 3007 L_390058B6: 3008 goto L_39005922; /* 0x390058B6: jmp 0x39005922 */ 3009 L_390058B8: 3010 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x390058B8: mov dl, byte ptr [ecx + 0x2c] */ 3011 /* test LO8(edx), LO8(edx) */ /* 0x390058BB: test dl, dl */ 3012 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 3013 _cf = 0; 3014 _flag_k = FK_NARROW(FK_TEST, 24); 3015 if (TEST_NZ(_flag_a, _flag_b)) goto L_3900590B; /* 0x390058BD: jne 0x3900590b */ 3016 L_390058BF: 3017 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x390058BF: mov byte ptr [ecx + 0x2c], bl */ 3018 ecx = MEM32(eax + 0x4); /* 0x390058C2: mov ecx, dword ptr [eax + 4] */ 3019 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x390058C5: mov byte ptr [ecx + 0x2c], 0 */ 3020 ecx = MEM32(eax + 0x4); /* 0x390058C9: mov ecx, dword ptr [eax + 4] */ 3021 edx = MEM32(ecx); /* 0x390058CC: mov edx, dword ptr [ecx] */ 3022 esi = MEM32(edx + 0x8); /* 0x390058CE: mov esi, dword ptr [edx + 8] */ 3023 MEM32(ecx) = esi; /* 0x390058D1: mov dword ptr [ecx], esi */ 3024 esi = MEM32(edx + 0x8); /* 0x390058D3: mov esi, dword ptr [edx + 8] */ 3025 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390058D6: cmp esi, dword ptr [edi + 8] */ 3026 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3027 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3028 _flag_k = FK_CMP; 3029 if (CMP_EQ(_flag_a, _flag_b)) goto L_390058DE; /* 0x390058D9: je 0x390058de */ 3030 L_390058DB: 3031 MEM32(esi + 0x4) = ecx; /* 0x390058DB: mov dword ptr [esi + 4], ecx */ 3032 L_390058DE: 3033 esi = MEM32(ecx + 0x4); /* 0x390058DE: mov esi, dword ptr [ecx + 4] */ 3034 MEM32(edx + 0x4) = esi; /* 0x390058E1: mov dword ptr [edx + 4], esi */ 3035 esi = MEM32(edi + 0x4); /* 0x390058E4: mov esi, dword ptr [edi + 4] */ 3036 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390058E7: cmp ecx, dword ptr [esi + 4] */ 3037 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3038 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3039 _flag_k = FK_CMP; 3040 if (CMP_NE(_flag_a, _flag_b)) goto L_390058F1; /* 0x390058EA: jne 0x390058f1 */ 3041 L_390058EC: 3042 MEM32(esi + 0x4) = edx; /* 0x390058EC: mov dword ptr [esi + 4], edx */ 3043 goto L_39005900; /* 0x390058EF: jmp 0x39005900 */ 3044 L_390058F1: 3045 esi = MEM32(ecx + 0x4); /* 0x390058F1: mov esi, dword ptr [ecx + 4] */ 3046 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x390058F4: cmp ecx, dword ptr [esi + 8] */ 3047 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3048 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3049 _flag_k = FK_CMP; 3050 if (CMP_NE(_flag_a, _flag_b)) goto L_390058FE; /* 0x390058F7: jne 0x390058fe */ 3051 L_390058F9: 3052 MEM32(esi + 0x8) = edx; /* 0x390058F9: mov dword ptr [esi + 8], edx */ 3053 goto L_39005900; /* 0x390058FC: jmp 0x39005900 */ 3054 L_390058FE: 3055 MEM32(esi) = edx; /* 0x390058FE: mov dword ptr [esi], edx */ 3056 L_39005900: 3057 MEM32(edx + 0x8) = ecx; /* 0x39005900: mov dword ptr [edx + 8], ecx */ 3058 MEM32(ecx + 0x4) = edx; /* 0x39005903: mov dword ptr [ecx + 4], edx */ 3059 edx = MEM32(eax + 0x4); /* 0x39005906: mov edx, dword ptr [eax + 4] */ 3060 ecx = MEM32(edx); /* 0x39005909: mov ecx, dword ptr [edx] */ 3061 L_3900590B: 3062 edx = MEM32(ecx + 0x8); /* 0x3900590B: mov edx, dword ptr [ecx + 8] */ 3063 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x3900590E: cmp byte ptr [edx + 0x2c], bl */ 3064 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3065 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3066 _flag_k = FK_NARROW(FK_CMP, 24); 3067 if (CMP_NE(_flag_a, _flag_b)) goto L_390059E7; /* 0x39005911: jne 0x390059e7 */ 3068 L_39005917: 3069 edx = MEM32(ecx); /* 0x39005917: mov edx, dword ptr [ecx] */ 3070 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005919: cmp byte ptr [edx + 0x2c], bl */ 3071 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3072 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3073 _flag_k = FK_NARROW(FK_CMP, 24); 3074 if (CMP_NE(_flag_a, _flag_b)) goto L_390059E7; /* 0x3900591C: jne 0x390059e7 */ 3075 L_39005922: 3076 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39005922: mov byte ptr [ecx + 0x2c], 0 */ 3077 ecx = MEM32(edi + 0x4); /* 0x39005926: mov ecx, dword ptr [edi + 4] */ 3078 eax = MEM32(eax + 0x4); /* 0x39005929: mov eax, dword ptr [eax + 4] */ 3079 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900592C: cmp eax, dword ptr [ecx + 4] */ 3080 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 3081 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3082 _flag_k = FK_CMP; 3083 RECOMP_BACKEDGE(); 3084 if (CMP_NE(_flag_a, _flag_b)) goto L_39005838; /* 0x3900592F: jne 0x39005838 */ 3085 L_39005935: 3086 goto L_39005A86; /* 0x39005935: jmp 0x39005a86 */ 3087 L_3900593A: 3088 edx = MEM32(ecx + 0x8); /* 0x3900593A: mov edx, dword ptr [ecx + 8] */ 3089 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x3900593D: cmp byte ptr [edx + 0x2c], bl */ 3090 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3091 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3092 _flag_k = FK_NARROW(FK_CMP, 24); 3093 if (CMP_NE(_flag_a, _flag_b)) goto L_3900598B; /* 0x39005940: jne 0x3900598b */ 3094 L_39005942: 3095 edx = MEM32(ecx); /* 0x39005942: mov edx, dword ptr [ecx] */ 3096 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005944: mov byte ptr [edx + 0x2c], bl */ 3097 edx = MEM32(ecx); /* 0x39005947: mov edx, dword ptr [ecx] */ 3098 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39005949: mov byte ptr [ecx + 0x2c], 0 */ 3099 esi = MEM32(edx + 0x8); /* 0x3900594D: mov esi, dword ptr [edx + 8] */ 3100 MEM32(ecx) = esi; /* 0x39005950: mov dword ptr [ecx], esi */ 3101 esi = MEM32(edx + 0x8); /* 0x39005952: mov esi, dword ptr [edx + 8] */ 3102 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005955: cmp esi, dword ptr [edi + 8] */ 3103 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3104 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3105 _flag_k = FK_CMP; 3106 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900595D; /* 0x39005958: je 0x3900595d */ 3107 L_3900595A: 3108 MEM32(esi + 0x4) = ecx; /* 0x3900595A: mov dword ptr [esi + 4], ecx */ 3109 L_3900595D: 3110 esi = MEM32(ecx + 0x4); /* 0x3900595D: mov esi, dword ptr [ecx + 4] */ 3111 MEM32(edx + 0x4) = esi; /* 0x39005960: mov dword ptr [edx + 4], esi */ 3112 esi = MEM32(edi + 0x4); /* 0x39005963: mov esi, dword ptr [edi + 4] */ 3113 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005966: cmp ecx, dword ptr [esi + 4] */ 3114 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3115 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3116 _flag_k = FK_CMP; 3117 if (CMP_NE(_flag_a, _flag_b)) goto L_39005970; /* 0x39005969: jne 0x39005970 */ 3118 L_3900596B: 3119 MEM32(esi + 0x4) = edx; /* 0x3900596B: mov dword ptr [esi + 4], edx */ 3120 goto L_3900597F; /* 0x3900596E: jmp 0x3900597f */ 3121 L_39005970: 3122 esi = MEM32(ecx + 0x4); /* 0x39005970: mov esi, dword ptr [ecx + 4] */ 3123 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39005973: cmp ecx, dword ptr [esi + 8] */ 3124 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3125 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3126 _flag_k = FK_CMP; 3127 if (CMP_NE(_flag_a, _flag_b)) goto L_3900597D; /* 0x39005976: jne 0x3900597d */ 3128 L_39005978: 3129 MEM32(esi + 0x8) = edx; /* 0x39005978: mov dword ptr [esi + 8], edx */ 3130 goto L_3900597F; /* 0x3900597B: jmp 0x3900597f */ 3131 L_3900597D: 3132 MEM32(esi) = edx; /* 0x3900597D: mov dword ptr [esi], edx */ 3133 L_3900597F: 3134 MEM32(edx + 0x8) = ecx; /* 0x3900597F: mov dword ptr [edx + 8], ecx */ 3135 MEM32(ecx + 0x4) = edx; /* 0x39005982: mov dword ptr [ecx + 4], edx */ 3136 ecx = MEM32(eax + 0x4); /* 0x39005985: mov ecx, dword ptr [eax + 4] */ 3137 ecx = MEM32(ecx + 0x8); /* 0x39005988: mov ecx, dword ptr [ecx + 8] */ 3138 L_3900598B: 3139 edx = MEM32(eax + 0x4); /* 0x3900598B: mov edx, dword ptr [eax + 4] */ 3140 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x3900598E: mov dl, byte ptr [edx + 0x2c] */ 3141 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39005991: mov byte ptr [ecx + 0x2c], dl */ 3142 edx = MEM32(eax + 0x4); /* 0x39005994: mov edx, dword ptr [eax + 4] */ 3143 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005997: mov byte ptr [edx + 0x2c], bl */ 3144 ecx = MEM32(ecx + 0x8); /* 0x3900599A: mov ecx, dword ptr [ecx + 8] */ 3145 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x3900599D: mov byte ptr [ecx + 0x2c], bl */ 3146 ecx = MEM32(eax + 0x4); /* 0x390059A0: mov ecx, dword ptr [eax + 4] */ 3147 edx = MEM32(ecx + 0x8); /* 0x390059A3: mov edx, dword ptr [ecx + 8] */ 3148 esi = MEM32(edx); /* 0x390059A6: mov esi, dword ptr [edx] */ 3149 MEM32(ecx + 0x8) = esi; /* 0x390059A8: mov dword ptr [ecx + 8], esi */ 3150 esi = MEM32(edx); /* 0x390059AB: mov esi, dword ptr [edx] */ 3151 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390059AD: cmp esi, dword ptr [edi + 8] */ 3152 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3153 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3154 _flag_k = FK_CMP; 3155 if (CMP_EQ(_flag_a, _flag_b)) goto L_390059B5; /* 0x390059B0: je 0x390059b5 */ 3156 L_390059B2: 3157 MEM32(esi + 0x4) = ecx; /* 0x390059B2: mov dword ptr [esi + 4], ecx */ 3158 L_390059B5: 3159 esi = MEM32(ecx + 0x4); /* 0x390059B5: mov esi, dword ptr [ecx + 4] */ 3160 MEM32(edx + 0x4) = esi; /* 0x390059B8: mov dword ptr [edx + 4], esi */ 3161 esi = MEM32(edi + 0x4); /* 0x390059BB: mov esi, dword ptr [edi + 4] */ 3162 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390059BE: cmp ecx, dword ptr [esi + 4] */ 3163 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3164 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3165 _flag_k = FK_CMP; 3166 if (CMP_NE(_flag_a, _flag_b)) goto L_390059CD; /* 0x390059C1: jne 0x390059cd */ 3167 L_390059C3: 3168 MEM32(esi + 0x4) = edx; /* 0x390059C3: mov dword ptr [esi + 4], edx */ 3169 MEM32(edx) = ecx; /* 0x390059C6: mov dword ptr [edx], ecx */ 3170 goto L_39005A83; /* 0x390059C8: jmp 0x39005a83 */ 3171 L_390059CD: 3172 esi = MEM32(ecx + 0x4); /* 0x390059CD: mov esi, dword ptr [ecx + 4] */ 3173 /* cmp ecx, MEM32(esi) */ /* 0x390059D0: cmp ecx, dword ptr [esi] */ 3174 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 3175 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3176 _flag_k = FK_CMP; 3177 if (CMP_NE(_flag_a, _flag_b)) goto L_390059DD; /* 0x390059D2: jne 0x390059dd */ 3178 L_390059D4: 3179 MEM32(esi) = edx; /* 0x390059D4: mov dword ptr [esi], edx */ 3180 MEM32(edx) = ecx; /* 0x390059D6: mov dword ptr [edx], ecx */ 3181 goto L_39005A83; /* 0x390059D8: jmp 0x39005a83 */ 3182 L_390059DD: 3183 MEM32(esi + 0x8) = edx; /* 0x390059DD: mov dword ptr [esi + 8], edx */ 3184 MEM32(edx) = ecx; /* 0x390059E0: mov dword ptr [edx], ecx */ 3185 goto L_39005A83; /* 0x390059E2: jmp 0x39005a83 */ 3186 L_390059E7: 3187 edx = MEM32(ecx); /* 0x390059E7: mov edx, dword ptr [ecx] */ 3188 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390059E9: cmp byte ptr [edx + 0x2c], bl */ 3189 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3190 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3191 _flag_k = FK_NARROW(FK_CMP, 24); 3192 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A35; /* 0x390059EC: jne 0x39005a35 */ 3193 L_390059EE: 3194 edx = MEM32(ecx + 0x8); /* 0x390059EE: mov edx, dword ptr [ecx + 8] */ 3195 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x390059F1: mov byte ptr [edx + 0x2c], bl */ 3196 edx = MEM32(ecx + 0x8); /* 0x390059F4: mov edx, dword ptr [ecx + 8] */ 3197 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x390059F7: mov byte ptr [ecx + 0x2c], 0 */ 3198 esi = MEM32(edx); /* 0x390059FB: mov esi, dword ptr [edx] */ 3199 MEM32(ecx + 0x8) = esi; /* 0x390059FD: mov dword ptr [ecx + 8], esi */ 3200 esi = MEM32(edx); /* 0x39005A00: mov esi, dword ptr [edx] */ 3201 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005A02: cmp esi, dword ptr [edi + 8] */ 3202 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3203 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3204 _flag_k = FK_CMP; 3205 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005A0A; /* 0x39005A05: je 0x39005a0a */ 3206 L_39005A07: 3207 MEM32(esi + 0x4) = ecx; /* 0x39005A07: mov dword ptr [esi + 4], ecx */ 3208 L_39005A0A: 3209 esi = MEM32(ecx + 0x4); /* 0x39005A0A: mov esi, dword ptr [ecx + 4] */ 3210 MEM32(edx + 0x4) = esi; /* 0x39005A0D: mov dword ptr [edx + 4], esi */ 3211 esi = MEM32(edi + 0x4); /* 0x39005A10: mov esi, dword ptr [edi + 4] */ 3212 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005A13: cmp ecx, dword ptr [esi + 4] */ 3213 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3214 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3215 _flag_k = FK_CMP; 3216 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A1D; /* 0x39005A16: jne 0x39005a1d */ 3217 L_39005A18: 3218 MEM32(esi + 0x4) = edx; /* 0x39005A18: mov dword ptr [esi + 4], edx */ 3219 goto L_39005A2B; /* 0x39005A1B: jmp 0x39005a2b */ 3220 L_39005A1D: 3221 esi = MEM32(ecx + 0x4); /* 0x39005A1D: mov esi, dword ptr [ecx + 4] */ 3222 /* cmp ecx, MEM32(esi) */ /* 0x39005A20: cmp ecx, dword ptr [esi] */ 3223 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 3224 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3225 _flag_k = FK_CMP; 3226 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A28; /* 0x39005A22: jne 0x39005a28 */ 3227 L_39005A24: 3228 MEM32(esi) = edx; /* 0x39005A24: mov dword ptr [esi], edx */ 3229 goto L_39005A2B; /* 0x39005A26: jmp 0x39005a2b */ 3230 L_39005A28: 3231 MEM32(esi + 0x8) = edx; /* 0x39005A28: mov dword ptr [esi + 8], edx */ 3232 L_39005A2B: 3233 MEM32(edx) = ecx; /* 0x39005A2B: mov dword ptr [edx], ecx */ 3234 MEM32(ecx + 0x4) = edx; /* 0x39005A2D: mov dword ptr [ecx + 4], edx */ 3235 ecx = MEM32(eax + 0x4); /* 0x39005A30: mov ecx, dword ptr [eax + 4] */ 3236 ecx = MEM32(ecx); /* 0x39005A33: mov ecx, dword ptr [ecx] */ 3237 L_39005A35: 3238 edx = MEM32(eax + 0x4); /* 0x39005A35: mov edx, dword ptr [eax + 4] */ 3239 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x39005A38: mov dl, byte ptr [edx + 0x2c] */ 3240 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39005A3B: mov byte ptr [ecx + 0x2c], dl */ 3241 edx = MEM32(eax + 0x4); /* 0x39005A3E: mov edx, dword ptr [eax + 4] */ 3242 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A41: mov byte ptr [edx + 0x2c], bl */ 3243 ecx = MEM32(ecx); /* 0x39005A44: mov ecx, dword ptr [ecx] */ 3244 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A46: mov byte ptr [ecx + 0x2c], bl */ 3245 ecx = MEM32(eax + 0x4); /* 0x39005A49: mov ecx, dword ptr [eax + 4] */ 3246 edx = MEM32(ecx); /* 0x39005A4C: mov edx, dword ptr [ecx] */ 3247 esi = MEM32(edx + 0x8); /* 0x39005A4E: mov esi, dword ptr [edx + 8] */ 3248 MEM32(ecx) = esi; /* 0x39005A51: mov dword ptr [ecx], esi */ 3249 esi = MEM32(edx + 0x8); /* 0x39005A53: mov esi, dword ptr [edx + 8] */ 3250 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005A56: cmp esi, dword ptr [edi + 8] */ 3251 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3252 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3253 _flag_k = FK_CMP; 3254 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005A5E; /* 0x39005A59: je 0x39005a5e */ 3255 L_39005A5B: 3256 MEM32(esi + 0x4) = ecx; /* 0x39005A5B: mov dword ptr [esi + 4], ecx */ 3257 L_39005A5E: 3258 esi = MEM32(ecx + 0x4); /* 0x39005A5E: mov esi, dword ptr [ecx + 4] */ 3259 MEM32(edx + 0x4) = esi; /* 0x39005A61: mov dword ptr [edx + 4], esi */ 3260 esi = MEM32(edi + 0x4); /* 0x39005A64: mov esi, dword ptr [edi + 4] */ 3261 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005A67: cmp ecx, dword ptr [esi + 4] */ 3262 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3263 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3264 _flag_k = FK_CMP; 3265 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A71; /* 0x39005A6A: jne 0x39005a71 */ 3266 L_39005A6C: 3267 MEM32(esi + 0x4) = edx; /* 0x39005A6C: mov dword ptr [esi + 4], edx */ 3268 goto L_39005A80; /* 0x39005A6F: jmp 0x39005a80 */ 3269 L_39005A71: 3270 esi = MEM32(ecx + 0x4); /* 0x39005A71: mov esi, dword ptr [ecx + 4] */ 3271 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39005A74: cmp ecx, dword ptr [esi + 8] */ 3272 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3273 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3274 _flag_k = FK_CMP; 3275 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A7E; /* 0x39005A77: jne 0x39005a7e */ 3276 L_39005A79: 3277 MEM32(esi + 0x8) = edx; /* 0x39005A79: mov dword ptr [esi + 8], edx */ 3278 goto L_39005A80; /* 0x39005A7C: jmp 0x39005a80 */ 3279 L_39005A7E: 3280 MEM32(esi) = edx; /* 0x39005A7E: mov dword ptr [esi], edx */ 3281 L_39005A80: 3282 MEM32(edx + 0x8) = ecx; /* 0x39005A80: mov dword ptr [edx + 8], ecx */ 3283 L_39005A83: 3284 MEM32(ecx + 0x4) = edx; /* 0x39005A83: mov dword ptr [ecx + 4], edx */ 3285 L_39005A86: 3286 esi = MEM32(ebp + (-0x4)); /* 0x39005A86: mov esi, dword ptr [ebp - 4] */ 3287 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A89: mov byte ptr [eax + 0x2c], bl */ 3288 L_39005A8C: 3289 ecx = esi + 0xC; /* 0x39005A8C: lea ecx, [esi + 0xc] */ 3290 RECOMP_ICALL(0x39004670u); /* 0x39005A8F: call 0x39004670 */ /* not lifted */ 3291 RECOMP_FLAGS_IN(); 3292 PUSH32(esp, esi); /* 0x39005A94: push esi */ 3293 RECOMP_ICALL(0x3900A0A0u); /* 0x39005A95: call 0x3900a0a0 */ /* not lifted */ 3294 RECOMP_FLAGS_IN(); 3295 eax = MEM32(edi + 0x10); /* 0x39005A9A: mov eax, dword ptr [edi + 0x10] */ 3296 edx = MEM32(ebp + 0xC); /* 0x39005A9D: mov edx, dword ptr [ebp + 0xc] */ 3297 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3298 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3299 esp = esp + 4; /* 0x39005AA0: add esp, 4 */ 3300 _flag_k = FK_ADD; 3301 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3302 eax = eax - 1; /* 0x39005AA3: dec eax */ 3303 _flag_k = FK_DEC; 3304 MEM32(edi + 0x10) = eax; /* 0x39005AA4: mov dword ptr [edi + 0x10], eax */ 3305 eax = MEM32(ebp + 0x8); /* 0x39005AA7: mov eax, dword ptr [ebp + 8] */ 3306 edi = POP32_VAL(esp); /* 0x39005AAA: pop edi */ 3307 esi = POP32_VAL(esp); /* 0x39005AAB: pop esi */ 3308 MEM32(eax) = edx; /* 0x39005AAC: mov dword ptr [eax], edx */ 3309 ebx = POP32_VAL(esp); /* 0x39005AAE: pop ebx */ 3310 esp = ebp; /* 0x39005AAF: mov esp, ebp */ 3311 ebp = POP32_VAL(esp); /* 0x39005AB1: pop ebp */ 3312 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x39005AB2: ret 8 */ 3313 RECOMP_REGS_OUT(); 3314 } 3315 3316 void sub_390057ED(void) { 3317 int _fpu_cmp = 0; 3318 uint32_t _cf = 0; 3319 int _df = 1; 3320 uint32_t _flag_k = FK_NONE; 3321 uint32_t _flag_a = 0, _flag_b = 0; 3322 uint32_t _itail_tgt = 0; 3323 RECOMP_REGS_LOCALS 3324 RECOMP_ENTER(0x390057EDu); 3325 3326 L_390057ED: 3327 MEM32(ebx) = edx; /* 0x390057ED: mov dword ptr [ebx], edx */ 3328 ebx = MEM32(edi + 0x4); /* 0x390057EF: mov ebx, dword ptr [edi + 4] */ 3329 /* cmp MEM32(ebx + 0x8), esi */ /* 0x390057F2: cmp dword ptr [ebx + 8], esi */ 3330 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 3331 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3332 _flag_k = FK_CMP; 3333 if (CMP_NE(_flag_a, _flag_b)) goto L_3900581E; /* 0x390057F5: jne 0x3900581e */ 3334 L_390057F7: 3335 ecx = MEM32(esi); /* 0x390057F7: mov ecx, dword ptr [esi] */ 3336 edx = MEM32(edi + 0x8); /* 0x390057F9: mov edx, dword ptr [edi + 8] */ 3337 /* cmp ecx, edx */ /* 0x390057FC: cmp ecx, edx */ 3338 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 3339 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3340 _flag_k = FK_CMP; 3341 if (CMP_NE(_flag_a, _flag_b)) goto L_39005805; /* 0x390057FE: jne 0x39005805 */ 3342 L_39005800: 3343 edx = MEM32(esi + 0x4); /* 0x39005800: mov edx, dword ptr [esi + 4] */ 3344 goto L_3900581B; /* 0x39005803: jmp 0x3900581b */ 3345 L_39005805: 3346 ecx = MEM32(eax + 0x8); /* 0x39005805: mov ecx, dword ptr [eax + 8] */ 3347 edx = eax; /* 0x39005808: mov edx, eax */ 3348 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x3900580A: cmp byte ptr [ecx + 0x2d], 0 */ 3349 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 3350 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3351 _flag_k = FK_NARROW(FK_CMP, 24); 3352 if (CMP_NE(_flag_a, _flag_b)) goto L_3900581B; /* 0x3900580E: jne 0x3900581b */ 3353 L_39005810: 3354 edx = ecx; /* 0x39005810: mov edx, ecx */ 3355 ecx = MEM32(edx + 0x8); /* 0x39005812: mov ecx, dword ptr [edx + 8] */ 3356 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x39005815: cmp byte ptr [ecx + 0x2d], 0 */ 3357 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 3358 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3359 _flag_k = FK_NARROW(FK_CMP, 24); 3360 RECOMP_BACKEDGE(); 3361 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005810; /* 0x39005819: je 0x39005810 */ 3362 L_3900581B: 3363 MEM32(ebx + 0x8) = edx; /* 0x3900581B: mov dword ptr [ebx + 8], edx */ 3364 L_3900581E: 3365 esi = MEM32(ebp + (-0x4)); /* 0x3900581E: mov esi, dword ptr [ebp - 4] */ 3366 SET_LO8(ebx, 1); /* 0x39005821: mov bl, 1 */ 3367 /* cmp MEM8(esi + 0x2C), LO8(ebx) */ /* 0x39005823: cmp byte ptr [esi + 0x2c], bl */ 3368 _flag_a = (uint32_t)(MEM8(esi + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3369 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3370 _flag_k = FK_NARROW(FK_CMP, 24); 3371 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A8C; /* 0x39005826: jne 0x39005a8c */ 3372 L_3900582C: 3373 ecx = MEM32(edi + 0x4); /* 0x3900582C: mov ecx, dword ptr [edi + 4] */ 3374 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900582F: cmp eax, dword ptr [ecx + 4] */ 3375 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 3376 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3377 _flag_k = FK_CMP; 3378 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005A86; /* 0x39005832: je 0x39005a86 */ 3379 L_39005838: 3380 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x39005838: cmp byte ptr [eax + 0x2c], bl */ 3381 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3382 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3383 _flag_k = FK_NARROW(FK_CMP, 24); 3384 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A86; /* 0x3900583B: jne 0x39005a86 */ 3385 L_39005841: 3386 edx = MEM32(eax + 0x4); /* 0x39005841: mov edx, dword ptr [eax + 4] */ 3387 ecx = MEM32(edx); /* 0x39005844: mov ecx, dword ptr [edx] */ 3388 /* cmp eax, ecx */ /* 0x39005846: cmp eax, ecx */ 3389 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 3390 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3391 _flag_k = FK_CMP; 3392 if (CMP_NE(_flag_a, _flag_b)) goto L_390058B8; /* 0x39005848: jne 0x390058b8 */ 3393 L_3900584A: 3394 ecx = MEM32(edx + 0x8); /* 0x3900584A: mov ecx, dword ptr [edx + 8] */ 3395 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x3900584D: mov dl, byte ptr [ecx + 0x2c] */ 3396 /* test LO8(edx), LO8(edx) */ /* 0x39005850: test dl, dl */ 3397 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 3398 _cf = 0; 3399 _flag_k = FK_NARROW(FK_TEST, 24); 3400 if (TEST_NZ(_flag_a, _flag_b)) goto L_3900589F; /* 0x39005852: jne 0x3900589f */ 3401 L_39005854: 3402 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005854: mov byte ptr [ecx + 0x2c], bl */ 3403 edx = MEM32(eax + 0x4); /* 0x39005857: mov edx, dword ptr [eax + 4] */ 3404 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x3900585A: mov byte ptr [edx + 0x2c], 0 */ 3405 ecx = MEM32(eax + 0x4); /* 0x3900585E: mov ecx, dword ptr [eax + 4] */ 3406 edx = MEM32(ecx + 0x8); /* 0x39005861: mov edx, dword ptr [ecx + 8] */ 3407 esi = MEM32(edx); /* 0x39005864: mov esi, dword ptr [edx] */ 3408 MEM32(ecx + 0x8) = esi; /* 0x39005866: mov dword ptr [ecx + 8], esi */ 3409 esi = MEM32(edx); /* 0x39005869: mov esi, dword ptr [edx] */ 3410 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3900586B: cmp esi, dword ptr [edi + 8] */ 3411 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3412 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3413 _flag_k = FK_CMP; 3414 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005873; /* 0x3900586E: je 0x39005873 */ 3415 L_39005870: 3416 MEM32(esi + 0x4) = ecx; /* 0x39005870: mov dword ptr [esi + 4], ecx */ 3417 L_39005873: 3418 esi = MEM32(ecx + 0x4); /* 0x39005873: mov esi, dword ptr [ecx + 4] */ 3419 MEM32(edx + 0x4) = esi; /* 0x39005876: mov dword ptr [edx + 4], esi */ 3420 esi = MEM32(edi + 0x4); /* 0x39005879: mov esi, dword ptr [edi + 4] */ 3421 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x3900587C: cmp ecx, dword ptr [esi + 4] */ 3422 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3423 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3424 _flag_k = FK_CMP; 3425 if (CMP_NE(_flag_a, _flag_b)) goto L_39005886; /* 0x3900587F: jne 0x39005886 */ 3426 L_39005881: 3427 MEM32(esi + 0x4) = edx; /* 0x39005881: mov dword ptr [esi + 4], edx */ 3428 goto L_39005894; /* 0x39005884: jmp 0x39005894 */ 3429 L_39005886: 3430 esi = MEM32(ecx + 0x4); /* 0x39005886: mov esi, dword ptr [ecx + 4] */ 3431 /* cmp ecx, MEM32(esi) */ /* 0x39005889: cmp ecx, dword ptr [esi] */ 3432 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 3433 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3434 _flag_k = FK_CMP; 3435 if (CMP_NE(_flag_a, _flag_b)) goto L_39005891; /* 0x3900588B: jne 0x39005891 */ 3436 L_3900588D: 3437 MEM32(esi) = edx; /* 0x3900588D: mov dword ptr [esi], edx */ 3438 goto L_39005894; /* 0x3900588F: jmp 0x39005894 */ 3439 L_39005891: 3440 MEM32(esi + 0x8) = edx; /* 0x39005891: mov dword ptr [esi + 8], edx */ 3441 L_39005894: 3442 MEM32(edx) = ecx; /* 0x39005894: mov dword ptr [edx], ecx */ 3443 MEM32(ecx + 0x4) = edx; /* 0x39005896: mov dword ptr [ecx + 4], edx */ 3444 ecx = MEM32(eax + 0x4); /* 0x39005899: mov ecx, dword ptr [eax + 4] */ 3445 ecx = MEM32(ecx + 0x8); /* 0x3900589C: mov ecx, dword ptr [ecx + 8] */ 3446 L_3900589F: 3447 edx = MEM32(ecx); /* 0x3900589F: mov edx, dword ptr [ecx] */ 3448 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390058A1: cmp byte ptr [edx + 0x2c], bl */ 3449 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3450 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3451 _flag_k = FK_NARROW(FK_CMP, 24); 3452 if (CMP_NE(_flag_a, _flag_b)) goto L_3900593A; /* 0x390058A4: jne 0x3900593a */ 3453 L_390058AA: 3454 edx = MEM32(ecx + 0x8); /* 0x390058AA: mov edx, dword ptr [ecx + 8] */ 3455 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390058AD: cmp byte ptr [edx + 0x2c], bl */ 3456 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3457 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3458 _flag_k = FK_NARROW(FK_CMP, 24); 3459 if (CMP_NE(_flag_a, _flag_b)) goto L_3900593A; /* 0x390058B0: jne 0x3900593a */ 3460 L_390058B6: 3461 goto L_39005922; /* 0x390058B6: jmp 0x39005922 */ 3462 L_390058B8: 3463 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x390058B8: mov dl, byte ptr [ecx + 0x2c] */ 3464 /* test LO8(edx), LO8(edx) */ /* 0x390058BB: test dl, dl */ 3465 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 3466 _cf = 0; 3467 _flag_k = FK_NARROW(FK_TEST, 24); 3468 if (TEST_NZ(_flag_a, _flag_b)) goto L_3900590B; /* 0x390058BD: jne 0x3900590b */ 3469 L_390058BF: 3470 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x390058BF: mov byte ptr [ecx + 0x2c], bl */ 3471 ecx = MEM32(eax + 0x4); /* 0x390058C2: mov ecx, dword ptr [eax + 4] */ 3472 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x390058C5: mov byte ptr [ecx + 0x2c], 0 */ 3473 ecx = MEM32(eax + 0x4); /* 0x390058C9: mov ecx, dword ptr [eax + 4] */ 3474 edx = MEM32(ecx); /* 0x390058CC: mov edx, dword ptr [ecx] */ 3475 esi = MEM32(edx + 0x8); /* 0x390058CE: mov esi, dword ptr [edx + 8] */ 3476 MEM32(ecx) = esi; /* 0x390058D1: mov dword ptr [ecx], esi */ 3477 esi = MEM32(edx + 0x8); /* 0x390058D3: mov esi, dword ptr [edx + 8] */ 3478 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390058D6: cmp esi, dword ptr [edi + 8] */ 3479 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3480 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3481 _flag_k = FK_CMP; 3482 if (CMP_EQ(_flag_a, _flag_b)) goto L_390058DE; /* 0x390058D9: je 0x390058de */ 3483 L_390058DB: 3484 MEM32(esi + 0x4) = ecx; /* 0x390058DB: mov dword ptr [esi + 4], ecx */ 3485 L_390058DE: 3486 esi = MEM32(ecx + 0x4); /* 0x390058DE: mov esi, dword ptr [ecx + 4] */ 3487 MEM32(edx + 0x4) = esi; /* 0x390058E1: mov dword ptr [edx + 4], esi */ 3488 esi = MEM32(edi + 0x4); /* 0x390058E4: mov esi, dword ptr [edi + 4] */ 3489 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390058E7: cmp ecx, dword ptr [esi + 4] */ 3490 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3491 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3492 _flag_k = FK_CMP; 3493 if (CMP_NE(_flag_a, _flag_b)) goto L_390058F1; /* 0x390058EA: jne 0x390058f1 */ 3494 L_390058EC: 3495 MEM32(esi + 0x4) = edx; /* 0x390058EC: mov dword ptr [esi + 4], edx */ 3496 goto L_39005900; /* 0x390058EF: jmp 0x39005900 */ 3497 L_390058F1: 3498 esi = MEM32(ecx + 0x4); /* 0x390058F1: mov esi, dword ptr [ecx + 4] */ 3499 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x390058F4: cmp ecx, dword ptr [esi + 8] */ 3500 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3501 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3502 _flag_k = FK_CMP; 3503 if (CMP_NE(_flag_a, _flag_b)) goto L_390058FE; /* 0x390058F7: jne 0x390058fe */ 3504 L_390058F9: 3505 MEM32(esi + 0x8) = edx; /* 0x390058F9: mov dword ptr [esi + 8], edx */ 3506 goto L_39005900; /* 0x390058FC: jmp 0x39005900 */ 3507 L_390058FE: 3508 MEM32(esi) = edx; /* 0x390058FE: mov dword ptr [esi], edx */ 3509 L_39005900: 3510 MEM32(edx + 0x8) = ecx; /* 0x39005900: mov dword ptr [edx + 8], ecx */ 3511 MEM32(ecx + 0x4) = edx; /* 0x39005903: mov dword ptr [ecx + 4], edx */ 3512 edx = MEM32(eax + 0x4); /* 0x39005906: mov edx, dword ptr [eax + 4] */ 3513 ecx = MEM32(edx); /* 0x39005909: mov ecx, dword ptr [edx] */ 3514 L_3900590B: 3515 edx = MEM32(ecx + 0x8); /* 0x3900590B: mov edx, dword ptr [ecx + 8] */ 3516 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x3900590E: cmp byte ptr [edx + 0x2c], bl */ 3517 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3518 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3519 _flag_k = FK_NARROW(FK_CMP, 24); 3520 if (CMP_NE(_flag_a, _flag_b)) goto L_390059E7; /* 0x39005911: jne 0x390059e7 */ 3521 L_39005917: 3522 edx = MEM32(ecx); /* 0x39005917: mov edx, dword ptr [ecx] */ 3523 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005919: cmp byte ptr [edx + 0x2c], bl */ 3524 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3525 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3526 _flag_k = FK_NARROW(FK_CMP, 24); 3527 if (CMP_NE(_flag_a, _flag_b)) goto L_390059E7; /* 0x3900591C: jne 0x390059e7 */ 3528 L_39005922: 3529 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39005922: mov byte ptr [ecx + 0x2c], 0 */ 3530 ecx = MEM32(edi + 0x4); /* 0x39005926: mov ecx, dword ptr [edi + 4] */ 3531 eax = MEM32(eax + 0x4); /* 0x39005929: mov eax, dword ptr [eax + 4] */ 3532 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900592C: cmp eax, dword ptr [ecx + 4] */ 3533 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 3534 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3535 _flag_k = FK_CMP; 3536 RECOMP_BACKEDGE(); 3537 if (CMP_NE(_flag_a, _flag_b)) goto L_39005838; /* 0x3900592F: jne 0x39005838 */ 3538 L_39005935: 3539 goto L_39005A86; /* 0x39005935: jmp 0x39005a86 */ 3540 L_3900593A: 3541 edx = MEM32(ecx + 0x8); /* 0x3900593A: mov edx, dword ptr [ecx + 8] */ 3542 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x3900593D: cmp byte ptr [edx + 0x2c], bl */ 3543 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3544 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3545 _flag_k = FK_NARROW(FK_CMP, 24); 3546 if (CMP_NE(_flag_a, _flag_b)) goto L_3900598B; /* 0x39005940: jne 0x3900598b */ 3547 L_39005942: 3548 edx = MEM32(ecx); /* 0x39005942: mov edx, dword ptr [ecx] */ 3549 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005944: mov byte ptr [edx + 0x2c], bl */ 3550 edx = MEM32(ecx); /* 0x39005947: mov edx, dword ptr [ecx] */ 3551 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39005949: mov byte ptr [ecx + 0x2c], 0 */ 3552 esi = MEM32(edx + 0x8); /* 0x3900594D: mov esi, dword ptr [edx + 8] */ 3553 MEM32(ecx) = esi; /* 0x39005950: mov dword ptr [ecx], esi */ 3554 esi = MEM32(edx + 0x8); /* 0x39005952: mov esi, dword ptr [edx + 8] */ 3555 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005955: cmp esi, dword ptr [edi + 8] */ 3556 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3557 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3558 _flag_k = FK_CMP; 3559 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900595D; /* 0x39005958: je 0x3900595d */ 3560 L_3900595A: 3561 MEM32(esi + 0x4) = ecx; /* 0x3900595A: mov dword ptr [esi + 4], ecx */ 3562 L_3900595D: 3563 esi = MEM32(ecx + 0x4); /* 0x3900595D: mov esi, dword ptr [ecx + 4] */ 3564 MEM32(edx + 0x4) = esi; /* 0x39005960: mov dword ptr [edx + 4], esi */ 3565 esi = MEM32(edi + 0x4); /* 0x39005963: mov esi, dword ptr [edi + 4] */ 3566 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005966: cmp ecx, dword ptr [esi + 4] */ 3567 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3568 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3569 _flag_k = FK_CMP; 3570 if (CMP_NE(_flag_a, _flag_b)) goto L_39005970; /* 0x39005969: jne 0x39005970 */ 3571 L_3900596B: 3572 MEM32(esi + 0x4) = edx; /* 0x3900596B: mov dword ptr [esi + 4], edx */ 3573 goto L_3900597F; /* 0x3900596E: jmp 0x3900597f */ 3574 L_39005970: 3575 esi = MEM32(ecx + 0x4); /* 0x39005970: mov esi, dword ptr [ecx + 4] */ 3576 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39005973: cmp ecx, dword ptr [esi + 8] */ 3577 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3578 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3579 _flag_k = FK_CMP; 3580 if (CMP_NE(_flag_a, _flag_b)) goto L_3900597D; /* 0x39005976: jne 0x3900597d */ 3581 L_39005978: 3582 MEM32(esi + 0x8) = edx; /* 0x39005978: mov dword ptr [esi + 8], edx */ 3583 goto L_3900597F; /* 0x3900597B: jmp 0x3900597f */ 3584 L_3900597D: 3585 MEM32(esi) = edx; /* 0x3900597D: mov dword ptr [esi], edx */ 3586 L_3900597F: 3587 MEM32(edx + 0x8) = ecx; /* 0x3900597F: mov dword ptr [edx + 8], ecx */ 3588 MEM32(ecx + 0x4) = edx; /* 0x39005982: mov dword ptr [ecx + 4], edx */ 3589 ecx = MEM32(eax + 0x4); /* 0x39005985: mov ecx, dword ptr [eax + 4] */ 3590 ecx = MEM32(ecx + 0x8); /* 0x39005988: mov ecx, dword ptr [ecx + 8] */ 3591 L_3900598B: 3592 edx = MEM32(eax + 0x4); /* 0x3900598B: mov edx, dword ptr [eax + 4] */ 3593 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x3900598E: mov dl, byte ptr [edx + 0x2c] */ 3594 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39005991: mov byte ptr [ecx + 0x2c], dl */ 3595 edx = MEM32(eax + 0x4); /* 0x39005994: mov edx, dword ptr [eax + 4] */ 3596 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005997: mov byte ptr [edx + 0x2c], bl */ 3597 ecx = MEM32(ecx + 0x8); /* 0x3900599A: mov ecx, dword ptr [ecx + 8] */ 3598 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x3900599D: mov byte ptr [ecx + 0x2c], bl */ 3599 ecx = MEM32(eax + 0x4); /* 0x390059A0: mov ecx, dword ptr [eax + 4] */ 3600 edx = MEM32(ecx + 0x8); /* 0x390059A3: mov edx, dword ptr [ecx + 8] */ 3601 esi = MEM32(edx); /* 0x390059A6: mov esi, dword ptr [edx] */ 3602 MEM32(ecx + 0x8) = esi; /* 0x390059A8: mov dword ptr [ecx + 8], esi */ 3603 esi = MEM32(edx); /* 0x390059AB: mov esi, dword ptr [edx] */ 3604 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390059AD: cmp esi, dword ptr [edi + 8] */ 3605 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3606 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3607 _flag_k = FK_CMP; 3608 if (CMP_EQ(_flag_a, _flag_b)) goto L_390059B5; /* 0x390059B0: je 0x390059b5 */ 3609 L_390059B2: 3610 MEM32(esi + 0x4) = ecx; /* 0x390059B2: mov dword ptr [esi + 4], ecx */ 3611 L_390059B5: 3612 esi = MEM32(ecx + 0x4); /* 0x390059B5: mov esi, dword ptr [ecx + 4] */ 3613 MEM32(edx + 0x4) = esi; /* 0x390059B8: mov dword ptr [edx + 4], esi */ 3614 esi = MEM32(edi + 0x4); /* 0x390059BB: mov esi, dword ptr [edi + 4] */ 3615 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390059BE: cmp ecx, dword ptr [esi + 4] */ 3616 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3617 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3618 _flag_k = FK_CMP; 3619 if (CMP_NE(_flag_a, _flag_b)) goto L_390059CD; /* 0x390059C1: jne 0x390059cd */ 3620 L_390059C3: 3621 MEM32(esi + 0x4) = edx; /* 0x390059C3: mov dword ptr [esi + 4], edx */ 3622 MEM32(edx) = ecx; /* 0x390059C6: mov dword ptr [edx], ecx */ 3623 goto L_39005A83; /* 0x390059C8: jmp 0x39005a83 */ 3624 L_390059CD: 3625 esi = MEM32(ecx + 0x4); /* 0x390059CD: mov esi, dword ptr [ecx + 4] */ 3626 /* cmp ecx, MEM32(esi) */ /* 0x390059D0: cmp ecx, dword ptr [esi] */ 3627 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 3628 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3629 _flag_k = FK_CMP; 3630 if (CMP_NE(_flag_a, _flag_b)) goto L_390059DD; /* 0x390059D2: jne 0x390059dd */ 3631 L_390059D4: 3632 MEM32(esi) = edx; /* 0x390059D4: mov dword ptr [esi], edx */ 3633 MEM32(edx) = ecx; /* 0x390059D6: mov dword ptr [edx], ecx */ 3634 goto L_39005A83; /* 0x390059D8: jmp 0x39005a83 */ 3635 L_390059DD: 3636 MEM32(esi + 0x8) = edx; /* 0x390059DD: mov dword ptr [esi + 8], edx */ 3637 MEM32(edx) = ecx; /* 0x390059E0: mov dword ptr [edx], ecx */ 3638 goto L_39005A83; /* 0x390059E2: jmp 0x39005a83 */ 3639 L_390059E7: 3640 edx = MEM32(ecx); /* 0x390059E7: mov edx, dword ptr [ecx] */ 3641 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390059E9: cmp byte ptr [edx + 0x2c], bl */ 3642 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3643 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3644 _flag_k = FK_NARROW(FK_CMP, 24); 3645 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A35; /* 0x390059EC: jne 0x39005a35 */ 3646 L_390059EE: 3647 edx = MEM32(ecx + 0x8); /* 0x390059EE: mov edx, dword ptr [ecx + 8] */ 3648 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x390059F1: mov byte ptr [edx + 0x2c], bl */ 3649 edx = MEM32(ecx + 0x8); /* 0x390059F4: mov edx, dword ptr [ecx + 8] */ 3650 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x390059F7: mov byte ptr [ecx + 0x2c], 0 */ 3651 esi = MEM32(edx); /* 0x390059FB: mov esi, dword ptr [edx] */ 3652 MEM32(ecx + 0x8) = esi; /* 0x390059FD: mov dword ptr [ecx + 8], esi */ 3653 esi = MEM32(edx); /* 0x39005A00: mov esi, dword ptr [edx] */ 3654 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005A02: cmp esi, dword ptr [edi + 8] */ 3655 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3656 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3657 _flag_k = FK_CMP; 3658 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005A0A; /* 0x39005A05: je 0x39005a0a */ 3659 L_39005A07: 3660 MEM32(esi + 0x4) = ecx; /* 0x39005A07: mov dword ptr [esi + 4], ecx */ 3661 L_39005A0A: 3662 esi = MEM32(ecx + 0x4); /* 0x39005A0A: mov esi, dword ptr [ecx + 4] */ 3663 MEM32(edx + 0x4) = esi; /* 0x39005A0D: mov dword ptr [edx + 4], esi */ 3664 esi = MEM32(edi + 0x4); /* 0x39005A10: mov esi, dword ptr [edi + 4] */ 3665 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005A13: cmp ecx, dword ptr [esi + 4] */ 3666 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3667 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3668 _flag_k = FK_CMP; 3669 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A1D; /* 0x39005A16: jne 0x39005a1d */ 3670 L_39005A18: 3671 MEM32(esi + 0x4) = edx; /* 0x39005A18: mov dword ptr [esi + 4], edx */ 3672 goto L_39005A2B; /* 0x39005A1B: jmp 0x39005a2b */ 3673 L_39005A1D: 3674 esi = MEM32(ecx + 0x4); /* 0x39005A1D: mov esi, dword ptr [ecx + 4] */ 3675 /* cmp ecx, MEM32(esi) */ /* 0x39005A20: cmp ecx, dword ptr [esi] */ 3676 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 3677 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3678 _flag_k = FK_CMP; 3679 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A28; /* 0x39005A22: jne 0x39005a28 */ 3680 L_39005A24: 3681 MEM32(esi) = edx; /* 0x39005A24: mov dword ptr [esi], edx */ 3682 goto L_39005A2B; /* 0x39005A26: jmp 0x39005a2b */ 3683 L_39005A28: 3684 MEM32(esi + 0x8) = edx; /* 0x39005A28: mov dword ptr [esi + 8], edx */ 3685 L_39005A2B: 3686 MEM32(edx) = ecx; /* 0x39005A2B: mov dword ptr [edx], ecx */ 3687 MEM32(ecx + 0x4) = edx; /* 0x39005A2D: mov dword ptr [ecx + 4], edx */ 3688 ecx = MEM32(eax + 0x4); /* 0x39005A30: mov ecx, dword ptr [eax + 4] */ 3689 ecx = MEM32(ecx); /* 0x39005A33: mov ecx, dword ptr [ecx] */ 3690 L_39005A35: 3691 edx = MEM32(eax + 0x4); /* 0x39005A35: mov edx, dword ptr [eax + 4] */ 3692 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x39005A38: mov dl, byte ptr [edx + 0x2c] */ 3693 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39005A3B: mov byte ptr [ecx + 0x2c], dl */ 3694 edx = MEM32(eax + 0x4); /* 0x39005A3E: mov edx, dword ptr [eax + 4] */ 3695 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A41: mov byte ptr [edx + 0x2c], bl */ 3696 ecx = MEM32(ecx); /* 0x39005A44: mov ecx, dword ptr [ecx] */ 3697 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A46: mov byte ptr [ecx + 0x2c], bl */ 3698 ecx = MEM32(eax + 0x4); /* 0x39005A49: mov ecx, dword ptr [eax + 4] */ 3699 edx = MEM32(ecx); /* 0x39005A4C: mov edx, dword ptr [ecx] */ 3700 esi = MEM32(edx + 0x8); /* 0x39005A4E: mov esi, dword ptr [edx + 8] */ 3701 MEM32(ecx) = esi; /* 0x39005A51: mov dword ptr [ecx], esi */ 3702 esi = MEM32(edx + 0x8); /* 0x39005A53: mov esi, dword ptr [edx + 8] */ 3703 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005A56: cmp esi, dword ptr [edi + 8] */ 3704 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3705 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3706 _flag_k = FK_CMP; 3707 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005A5E; /* 0x39005A59: je 0x39005a5e */ 3708 L_39005A5B: 3709 MEM32(esi + 0x4) = ecx; /* 0x39005A5B: mov dword ptr [esi + 4], ecx */ 3710 L_39005A5E: 3711 esi = MEM32(ecx + 0x4); /* 0x39005A5E: mov esi, dword ptr [ecx + 4] */ 3712 MEM32(edx + 0x4) = esi; /* 0x39005A61: mov dword ptr [edx + 4], esi */ 3713 esi = MEM32(edi + 0x4); /* 0x39005A64: mov esi, dword ptr [edi + 4] */ 3714 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005A67: cmp ecx, dword ptr [esi + 4] */ 3715 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3716 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3717 _flag_k = FK_CMP; 3718 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A71; /* 0x39005A6A: jne 0x39005a71 */ 3719 L_39005A6C: 3720 MEM32(esi + 0x4) = edx; /* 0x39005A6C: mov dword ptr [esi + 4], edx */ 3721 goto L_39005A80; /* 0x39005A6F: jmp 0x39005a80 */ 3722 L_39005A71: 3723 esi = MEM32(ecx + 0x4); /* 0x39005A71: mov esi, dword ptr [ecx + 4] */ 3724 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39005A74: cmp ecx, dword ptr [esi + 8] */ 3725 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3726 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3727 _flag_k = FK_CMP; 3728 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A7E; /* 0x39005A77: jne 0x39005a7e */ 3729 L_39005A79: 3730 MEM32(esi + 0x8) = edx; /* 0x39005A79: mov dword ptr [esi + 8], edx */ 3731 goto L_39005A80; /* 0x39005A7C: jmp 0x39005a80 */ 3732 L_39005A7E: 3733 MEM32(esi) = edx; /* 0x39005A7E: mov dword ptr [esi], edx */ 3734 L_39005A80: 3735 MEM32(edx + 0x8) = ecx; /* 0x39005A80: mov dword ptr [edx + 8], ecx */ 3736 L_39005A83: 3737 MEM32(ecx + 0x4) = edx; /* 0x39005A83: mov dword ptr [ecx + 4], edx */ 3738 L_39005A86: 3739 esi = MEM32(ebp + (-0x4)); /* 0x39005A86: mov esi, dword ptr [ebp - 4] */ 3740 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A89: mov byte ptr [eax + 0x2c], bl */ 3741 L_39005A8C: 3742 ecx = esi + 0xC; /* 0x39005A8C: lea ecx, [esi + 0xc] */ 3743 RECOMP_ICALL(0x39004670u); /* 0x39005A8F: call 0x39004670 */ /* not lifted */ 3744 RECOMP_FLAGS_IN(); 3745 PUSH32(esp, esi); /* 0x39005A94: push esi */ 3746 RECOMP_ICALL(0x3900A0A0u); /* 0x39005A95: call 0x3900a0a0 */ /* not lifted */ 3747 RECOMP_FLAGS_IN(); 3748 eax = MEM32(edi + 0x10); /* 0x39005A9A: mov eax, dword ptr [edi + 0x10] */ 3749 edx = MEM32(ebp + 0xC); /* 0x39005A9D: mov edx, dword ptr [ebp + 0xc] */ 3750 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3751 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3752 esp = esp + 4; /* 0x39005AA0: add esp, 4 */ 3753 _flag_k = FK_ADD; 3754 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3755 eax = eax - 1; /* 0x39005AA3: dec eax */ 3756 _flag_k = FK_DEC; 3757 MEM32(edi + 0x10) = eax; /* 0x39005AA4: mov dword ptr [edi + 0x10], eax */ 3758 eax = MEM32(ebp + 0x8); /* 0x39005AA7: mov eax, dword ptr [ebp + 8] */ 3759 edi = POP32_VAL(esp); /* 0x39005AAA: pop edi */ 3760 esi = POP32_VAL(esp); /* 0x39005AAB: pop esi */ 3761 MEM32(eax) = edx; /* 0x39005AAC: mov dword ptr [eax], edx */ 3762 ebx = POP32_VAL(esp); /* 0x39005AAE: pop ebx */ 3763 esp = ebp; /* 0x39005AAF: mov esp, ebp */ 3764 ebp = POP32_VAL(esp); /* 0x39005AB1: pop ebp */ 3765 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x39005AB2: ret 8 */ 3766 RECOMP_REGS_OUT(); 3767 } 3768 3769 void sub_3900581B(void) { 3770 int _fpu_cmp = 0; 3771 uint32_t _cf = 0; 3772 int _df = 1; 3773 uint32_t _flag_k = FK_NONE; 3774 uint32_t _flag_a = 0, _flag_b = 0; 3775 uint32_t _itail_tgt = 0; 3776 RECOMP_REGS_LOCALS 3777 RECOMP_ENTER(0x3900581Bu); 3778 3779 L_3900581B: 3780 MEM32(ebx + 0x8) = edx; /* 0x3900581B: mov dword ptr [ebx + 8], edx */ 3781 esi = MEM32(ebp + (-0x4)); /* 0x3900581E: mov esi, dword ptr [ebp - 4] */ 3782 SET_LO8(ebx, 1); /* 0x39005821: mov bl, 1 */ 3783 /* cmp MEM8(esi + 0x2C), LO8(ebx) */ /* 0x39005823: cmp byte ptr [esi + 0x2c], bl */ 3784 _flag_a = (uint32_t)(MEM8(esi + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3785 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3786 _flag_k = FK_NARROW(FK_CMP, 24); 3787 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A8C; /* 0x39005826: jne 0x39005a8c */ 3788 L_3900582C: 3789 ecx = MEM32(edi + 0x4); /* 0x3900582C: mov ecx, dword ptr [edi + 4] */ 3790 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900582F: cmp eax, dword ptr [ecx + 4] */ 3791 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 3792 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3793 _flag_k = FK_CMP; 3794 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005A86; /* 0x39005832: je 0x39005a86 */ 3795 L_39005838: 3796 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x39005838: cmp byte ptr [eax + 0x2c], bl */ 3797 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3798 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3799 _flag_k = FK_NARROW(FK_CMP, 24); 3800 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A86; /* 0x3900583B: jne 0x39005a86 */ 3801 L_39005841: 3802 edx = MEM32(eax + 0x4); /* 0x39005841: mov edx, dword ptr [eax + 4] */ 3803 ecx = MEM32(edx); /* 0x39005844: mov ecx, dword ptr [edx] */ 3804 /* cmp eax, ecx */ /* 0x39005846: cmp eax, ecx */ 3805 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 3806 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3807 _flag_k = FK_CMP; 3808 if (CMP_NE(_flag_a, _flag_b)) goto L_390058B8; /* 0x39005848: jne 0x390058b8 */ 3809 L_3900584A: 3810 ecx = MEM32(edx + 0x8); /* 0x3900584A: mov ecx, dword ptr [edx + 8] */ 3811 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x3900584D: mov dl, byte ptr [ecx + 0x2c] */ 3812 /* test LO8(edx), LO8(edx) */ /* 0x39005850: test dl, dl */ 3813 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 3814 _cf = 0; 3815 _flag_k = FK_NARROW(FK_TEST, 24); 3816 if (TEST_NZ(_flag_a, _flag_b)) goto L_3900589F; /* 0x39005852: jne 0x3900589f */ 3817 L_39005854: 3818 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005854: mov byte ptr [ecx + 0x2c], bl */ 3819 edx = MEM32(eax + 0x4); /* 0x39005857: mov edx, dword ptr [eax + 4] */ 3820 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x3900585A: mov byte ptr [edx + 0x2c], 0 */ 3821 ecx = MEM32(eax + 0x4); /* 0x3900585E: mov ecx, dword ptr [eax + 4] */ 3822 edx = MEM32(ecx + 0x8); /* 0x39005861: mov edx, dword ptr [ecx + 8] */ 3823 esi = MEM32(edx); /* 0x39005864: mov esi, dword ptr [edx] */ 3824 MEM32(ecx + 0x8) = esi; /* 0x39005866: mov dword ptr [ecx + 8], esi */ 3825 esi = MEM32(edx); /* 0x39005869: mov esi, dword ptr [edx] */ 3826 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3900586B: cmp esi, dword ptr [edi + 8] */ 3827 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3828 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3829 _flag_k = FK_CMP; 3830 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005873; /* 0x3900586E: je 0x39005873 */ 3831 L_39005870: 3832 MEM32(esi + 0x4) = ecx; /* 0x39005870: mov dword ptr [esi + 4], ecx */ 3833 L_39005873: 3834 esi = MEM32(ecx + 0x4); /* 0x39005873: mov esi, dword ptr [ecx + 4] */ 3835 MEM32(edx + 0x4) = esi; /* 0x39005876: mov dword ptr [edx + 4], esi */ 3836 esi = MEM32(edi + 0x4); /* 0x39005879: mov esi, dword ptr [edi + 4] */ 3837 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x3900587C: cmp ecx, dword ptr [esi + 4] */ 3838 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3839 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3840 _flag_k = FK_CMP; 3841 if (CMP_NE(_flag_a, _flag_b)) goto L_39005886; /* 0x3900587F: jne 0x39005886 */ 3842 L_39005881: 3843 MEM32(esi + 0x4) = edx; /* 0x39005881: mov dword ptr [esi + 4], edx */ 3844 goto L_39005894; /* 0x39005884: jmp 0x39005894 */ 3845 L_39005886: 3846 esi = MEM32(ecx + 0x4); /* 0x39005886: mov esi, dword ptr [ecx + 4] */ 3847 /* cmp ecx, MEM32(esi) */ /* 0x39005889: cmp ecx, dword ptr [esi] */ 3848 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 3849 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3850 _flag_k = FK_CMP; 3851 if (CMP_NE(_flag_a, _flag_b)) goto L_39005891; /* 0x3900588B: jne 0x39005891 */ 3852 L_3900588D: 3853 MEM32(esi) = edx; /* 0x3900588D: mov dword ptr [esi], edx */ 3854 goto L_39005894; /* 0x3900588F: jmp 0x39005894 */ 3855 L_39005891: 3856 MEM32(esi + 0x8) = edx; /* 0x39005891: mov dword ptr [esi + 8], edx */ 3857 L_39005894: 3858 MEM32(edx) = ecx; /* 0x39005894: mov dword ptr [edx], ecx */ 3859 MEM32(ecx + 0x4) = edx; /* 0x39005896: mov dword ptr [ecx + 4], edx */ 3860 ecx = MEM32(eax + 0x4); /* 0x39005899: mov ecx, dword ptr [eax + 4] */ 3861 ecx = MEM32(ecx + 0x8); /* 0x3900589C: mov ecx, dword ptr [ecx + 8] */ 3862 L_3900589F: 3863 edx = MEM32(ecx); /* 0x3900589F: mov edx, dword ptr [ecx] */ 3864 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390058A1: cmp byte ptr [edx + 0x2c], bl */ 3865 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3866 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3867 _flag_k = FK_NARROW(FK_CMP, 24); 3868 if (CMP_NE(_flag_a, _flag_b)) goto L_3900593A; /* 0x390058A4: jne 0x3900593a */ 3869 L_390058AA: 3870 edx = MEM32(ecx + 0x8); /* 0x390058AA: mov edx, dword ptr [ecx + 8] */ 3871 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390058AD: cmp byte ptr [edx + 0x2c], bl */ 3872 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3873 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3874 _flag_k = FK_NARROW(FK_CMP, 24); 3875 if (CMP_NE(_flag_a, _flag_b)) goto L_3900593A; /* 0x390058B0: jne 0x3900593a */ 3876 L_390058B6: 3877 goto L_39005922; /* 0x390058B6: jmp 0x39005922 */ 3878 L_390058B8: 3879 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x390058B8: mov dl, byte ptr [ecx + 0x2c] */ 3880 /* test LO8(edx), LO8(edx) */ /* 0x390058BB: test dl, dl */ 3881 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 3882 _cf = 0; 3883 _flag_k = FK_NARROW(FK_TEST, 24); 3884 if (TEST_NZ(_flag_a, _flag_b)) goto L_3900590B; /* 0x390058BD: jne 0x3900590b */ 3885 L_390058BF: 3886 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x390058BF: mov byte ptr [ecx + 0x2c], bl */ 3887 ecx = MEM32(eax + 0x4); /* 0x390058C2: mov ecx, dword ptr [eax + 4] */ 3888 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x390058C5: mov byte ptr [ecx + 0x2c], 0 */ 3889 ecx = MEM32(eax + 0x4); /* 0x390058C9: mov ecx, dword ptr [eax + 4] */ 3890 edx = MEM32(ecx); /* 0x390058CC: mov edx, dword ptr [ecx] */ 3891 esi = MEM32(edx + 0x8); /* 0x390058CE: mov esi, dword ptr [edx + 8] */ 3892 MEM32(ecx) = esi; /* 0x390058D1: mov dword ptr [ecx], esi */ 3893 esi = MEM32(edx + 0x8); /* 0x390058D3: mov esi, dword ptr [edx + 8] */ 3894 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390058D6: cmp esi, dword ptr [edi + 8] */ 3895 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3896 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3897 _flag_k = FK_CMP; 3898 if (CMP_EQ(_flag_a, _flag_b)) goto L_390058DE; /* 0x390058D9: je 0x390058de */ 3899 L_390058DB: 3900 MEM32(esi + 0x4) = ecx; /* 0x390058DB: mov dword ptr [esi + 4], ecx */ 3901 L_390058DE: 3902 esi = MEM32(ecx + 0x4); /* 0x390058DE: mov esi, dword ptr [ecx + 4] */ 3903 MEM32(edx + 0x4) = esi; /* 0x390058E1: mov dword ptr [edx + 4], esi */ 3904 esi = MEM32(edi + 0x4); /* 0x390058E4: mov esi, dword ptr [edi + 4] */ 3905 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390058E7: cmp ecx, dword ptr [esi + 4] */ 3906 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3907 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3908 _flag_k = FK_CMP; 3909 if (CMP_NE(_flag_a, _flag_b)) goto L_390058F1; /* 0x390058EA: jne 0x390058f1 */ 3910 L_390058EC: 3911 MEM32(esi + 0x4) = edx; /* 0x390058EC: mov dword ptr [esi + 4], edx */ 3912 goto L_39005900; /* 0x390058EF: jmp 0x39005900 */ 3913 L_390058F1: 3914 esi = MEM32(ecx + 0x4); /* 0x390058F1: mov esi, dword ptr [ecx + 4] */ 3915 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x390058F4: cmp ecx, dword ptr [esi + 8] */ 3916 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3917 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3918 _flag_k = FK_CMP; 3919 if (CMP_NE(_flag_a, _flag_b)) goto L_390058FE; /* 0x390058F7: jne 0x390058fe */ 3920 L_390058F9: 3921 MEM32(esi + 0x8) = edx; /* 0x390058F9: mov dword ptr [esi + 8], edx */ 3922 goto L_39005900; /* 0x390058FC: jmp 0x39005900 */ 3923 L_390058FE: 3924 MEM32(esi) = edx; /* 0x390058FE: mov dword ptr [esi], edx */ 3925 L_39005900: 3926 MEM32(edx + 0x8) = ecx; /* 0x39005900: mov dword ptr [edx + 8], ecx */ 3927 MEM32(ecx + 0x4) = edx; /* 0x39005903: mov dword ptr [ecx + 4], edx */ 3928 edx = MEM32(eax + 0x4); /* 0x39005906: mov edx, dword ptr [eax + 4] */ 3929 ecx = MEM32(edx); /* 0x39005909: mov ecx, dword ptr [edx] */ 3930 L_3900590B: 3931 edx = MEM32(ecx + 0x8); /* 0x3900590B: mov edx, dword ptr [ecx + 8] */ 3932 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x3900590E: cmp byte ptr [edx + 0x2c], bl */ 3933 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3934 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3935 _flag_k = FK_NARROW(FK_CMP, 24); 3936 if (CMP_NE(_flag_a, _flag_b)) goto L_390059E7; /* 0x39005911: jne 0x390059e7 */ 3937 L_39005917: 3938 edx = MEM32(ecx); /* 0x39005917: mov edx, dword ptr [ecx] */ 3939 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005919: cmp byte ptr [edx + 0x2c], bl */ 3940 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3941 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3942 _flag_k = FK_NARROW(FK_CMP, 24); 3943 if (CMP_NE(_flag_a, _flag_b)) goto L_390059E7; /* 0x3900591C: jne 0x390059e7 */ 3944 L_39005922: 3945 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39005922: mov byte ptr [ecx + 0x2c], 0 */ 3946 ecx = MEM32(edi + 0x4); /* 0x39005926: mov ecx, dword ptr [edi + 4] */ 3947 eax = MEM32(eax + 0x4); /* 0x39005929: mov eax, dword ptr [eax + 4] */ 3948 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900592C: cmp eax, dword ptr [ecx + 4] */ 3949 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 3950 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3951 _flag_k = FK_CMP; 3952 RECOMP_BACKEDGE(); 3953 if (CMP_NE(_flag_a, _flag_b)) goto L_39005838; /* 0x3900592F: jne 0x39005838 */ 3954 L_39005935: 3955 goto L_39005A86; /* 0x39005935: jmp 0x39005a86 */ 3956 L_3900593A: 3957 edx = MEM32(ecx + 0x8); /* 0x3900593A: mov edx, dword ptr [ecx + 8] */ 3958 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x3900593D: cmp byte ptr [edx + 0x2c], bl */ 3959 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3960 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3961 _flag_k = FK_NARROW(FK_CMP, 24); 3962 if (CMP_NE(_flag_a, _flag_b)) goto L_3900598B; /* 0x39005940: jne 0x3900598b */ 3963 L_39005942: 3964 edx = MEM32(ecx); /* 0x39005942: mov edx, dword ptr [ecx] */ 3965 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005944: mov byte ptr [edx + 0x2c], bl */ 3966 edx = MEM32(ecx); /* 0x39005947: mov edx, dword ptr [ecx] */ 3967 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39005949: mov byte ptr [ecx + 0x2c], 0 */ 3968 esi = MEM32(edx + 0x8); /* 0x3900594D: mov esi, dword ptr [edx + 8] */ 3969 MEM32(ecx) = esi; /* 0x39005950: mov dword ptr [ecx], esi */ 3970 esi = MEM32(edx + 0x8); /* 0x39005952: mov esi, dword ptr [edx + 8] */ 3971 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005955: cmp esi, dword ptr [edi + 8] */ 3972 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3973 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3974 _flag_k = FK_CMP; 3975 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900595D; /* 0x39005958: je 0x3900595d */ 3976 L_3900595A: 3977 MEM32(esi + 0x4) = ecx; /* 0x3900595A: mov dword ptr [esi + 4], ecx */ 3978 L_3900595D: 3979 esi = MEM32(ecx + 0x4); /* 0x3900595D: mov esi, dword ptr [ecx + 4] */ 3980 MEM32(edx + 0x4) = esi; /* 0x39005960: mov dword ptr [edx + 4], esi */ 3981 esi = MEM32(edi + 0x4); /* 0x39005963: mov esi, dword ptr [edi + 4] */ 3982 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005966: cmp ecx, dword ptr [esi + 4] */ 3983 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3984 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3985 _flag_k = FK_CMP; 3986 if (CMP_NE(_flag_a, _flag_b)) goto L_39005970; /* 0x39005969: jne 0x39005970 */ 3987 L_3900596B: 3988 MEM32(esi + 0x4) = edx; /* 0x3900596B: mov dword ptr [esi + 4], edx */ 3989 goto L_3900597F; /* 0x3900596E: jmp 0x3900597f */ 3990 L_39005970: 3991 esi = MEM32(ecx + 0x4); /* 0x39005970: mov esi, dword ptr [ecx + 4] */ 3992 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39005973: cmp ecx, dword ptr [esi + 8] */ 3993 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3994 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3995 _flag_k = FK_CMP; 3996 if (CMP_NE(_flag_a, _flag_b)) goto L_3900597D; /* 0x39005976: jne 0x3900597d */ 3997 L_39005978: 3998 MEM32(esi + 0x8) = edx; /* 0x39005978: mov dword ptr [esi + 8], edx */ 3999 goto L_3900597F; /* 0x3900597B: jmp 0x3900597f */ 4000 L_3900597D: 4001 MEM32(esi) = edx; /* 0x3900597D: mov dword ptr [esi], edx */ 4002 L_3900597F: 4003 MEM32(edx + 0x8) = ecx; /* 0x3900597F: mov dword ptr [edx + 8], ecx */ 4004 MEM32(ecx + 0x4) = edx; /* 0x39005982: mov dword ptr [ecx + 4], edx */ 4005 ecx = MEM32(eax + 0x4); /* 0x39005985: mov ecx, dword ptr [eax + 4] */ 4006 ecx = MEM32(ecx + 0x8); /* 0x39005988: mov ecx, dword ptr [ecx + 8] */ 4007 L_3900598B: 4008 edx = MEM32(eax + 0x4); /* 0x3900598B: mov edx, dword ptr [eax + 4] */ 4009 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x3900598E: mov dl, byte ptr [edx + 0x2c] */ 4010 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39005991: mov byte ptr [ecx + 0x2c], dl */ 4011 edx = MEM32(eax + 0x4); /* 0x39005994: mov edx, dword ptr [eax + 4] */ 4012 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005997: mov byte ptr [edx + 0x2c], bl */ 4013 ecx = MEM32(ecx + 0x8); /* 0x3900599A: mov ecx, dword ptr [ecx + 8] */ 4014 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x3900599D: mov byte ptr [ecx + 0x2c], bl */ 4015 ecx = MEM32(eax + 0x4); /* 0x390059A0: mov ecx, dword ptr [eax + 4] */ 4016 edx = MEM32(ecx + 0x8); /* 0x390059A3: mov edx, dword ptr [ecx + 8] */ 4017 esi = MEM32(edx); /* 0x390059A6: mov esi, dword ptr [edx] */ 4018 MEM32(ecx + 0x8) = esi; /* 0x390059A8: mov dword ptr [ecx + 8], esi */ 4019 esi = MEM32(edx); /* 0x390059AB: mov esi, dword ptr [edx] */ 4020 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390059AD: cmp esi, dword ptr [edi + 8] */ 4021 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4022 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4023 _flag_k = FK_CMP; 4024 if (CMP_EQ(_flag_a, _flag_b)) goto L_390059B5; /* 0x390059B0: je 0x390059b5 */ 4025 L_390059B2: 4026 MEM32(esi + 0x4) = ecx; /* 0x390059B2: mov dword ptr [esi + 4], ecx */ 4027 L_390059B5: 4028 esi = MEM32(ecx + 0x4); /* 0x390059B5: mov esi, dword ptr [ecx + 4] */ 4029 MEM32(edx + 0x4) = esi; /* 0x390059B8: mov dword ptr [edx + 4], esi */ 4030 esi = MEM32(edi + 0x4); /* 0x390059BB: mov esi, dword ptr [edi + 4] */ 4031 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390059BE: cmp ecx, dword ptr [esi + 4] */ 4032 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4033 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4034 _flag_k = FK_CMP; 4035 if (CMP_NE(_flag_a, _flag_b)) goto L_390059CD; /* 0x390059C1: jne 0x390059cd */ 4036 L_390059C3: 4037 MEM32(esi + 0x4) = edx; /* 0x390059C3: mov dword ptr [esi + 4], edx */ 4038 MEM32(edx) = ecx; /* 0x390059C6: mov dword ptr [edx], ecx */ 4039 goto L_39005A83; /* 0x390059C8: jmp 0x39005a83 */ 4040 L_390059CD: 4041 esi = MEM32(ecx + 0x4); /* 0x390059CD: mov esi, dword ptr [ecx + 4] */ 4042 /* cmp ecx, MEM32(esi) */ /* 0x390059D0: cmp ecx, dword ptr [esi] */ 4043 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 4044 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4045 _flag_k = FK_CMP; 4046 if (CMP_NE(_flag_a, _flag_b)) goto L_390059DD; /* 0x390059D2: jne 0x390059dd */ 4047 L_390059D4: 4048 MEM32(esi) = edx; /* 0x390059D4: mov dword ptr [esi], edx */ 4049 MEM32(edx) = ecx; /* 0x390059D6: mov dword ptr [edx], ecx */ 4050 goto L_39005A83; /* 0x390059D8: jmp 0x39005a83 */ 4051 L_390059DD: 4052 MEM32(esi + 0x8) = edx; /* 0x390059DD: mov dword ptr [esi + 8], edx */ 4053 MEM32(edx) = ecx; /* 0x390059E0: mov dword ptr [edx], ecx */ 4054 goto L_39005A83; /* 0x390059E2: jmp 0x39005a83 */ 4055 L_390059E7: 4056 edx = MEM32(ecx); /* 0x390059E7: mov edx, dword ptr [ecx] */ 4057 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390059E9: cmp byte ptr [edx + 0x2c], bl */ 4058 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4059 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4060 _flag_k = FK_NARROW(FK_CMP, 24); 4061 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A35; /* 0x390059EC: jne 0x39005a35 */ 4062 L_390059EE: 4063 edx = MEM32(ecx + 0x8); /* 0x390059EE: mov edx, dword ptr [ecx + 8] */ 4064 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x390059F1: mov byte ptr [edx + 0x2c], bl */ 4065 edx = MEM32(ecx + 0x8); /* 0x390059F4: mov edx, dword ptr [ecx + 8] */ 4066 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x390059F7: mov byte ptr [ecx + 0x2c], 0 */ 4067 esi = MEM32(edx); /* 0x390059FB: mov esi, dword ptr [edx] */ 4068 MEM32(ecx + 0x8) = esi; /* 0x390059FD: mov dword ptr [ecx + 8], esi */ 4069 esi = MEM32(edx); /* 0x39005A00: mov esi, dword ptr [edx] */ 4070 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005A02: cmp esi, dword ptr [edi + 8] */ 4071 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4072 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4073 _flag_k = FK_CMP; 4074 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005A0A; /* 0x39005A05: je 0x39005a0a */ 4075 L_39005A07: 4076 MEM32(esi + 0x4) = ecx; /* 0x39005A07: mov dword ptr [esi + 4], ecx */ 4077 L_39005A0A: 4078 esi = MEM32(ecx + 0x4); /* 0x39005A0A: mov esi, dword ptr [ecx + 4] */ 4079 MEM32(edx + 0x4) = esi; /* 0x39005A0D: mov dword ptr [edx + 4], esi */ 4080 esi = MEM32(edi + 0x4); /* 0x39005A10: mov esi, dword ptr [edi + 4] */ 4081 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005A13: cmp ecx, dword ptr [esi + 4] */ 4082 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4083 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4084 _flag_k = FK_CMP; 4085 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A1D; /* 0x39005A16: jne 0x39005a1d */ 4086 L_39005A18: 4087 MEM32(esi + 0x4) = edx; /* 0x39005A18: mov dword ptr [esi + 4], edx */ 4088 goto L_39005A2B; /* 0x39005A1B: jmp 0x39005a2b */ 4089 L_39005A1D: 4090 esi = MEM32(ecx + 0x4); /* 0x39005A1D: mov esi, dword ptr [ecx + 4] */ 4091 /* cmp ecx, MEM32(esi) */ /* 0x39005A20: cmp ecx, dword ptr [esi] */ 4092 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 4093 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4094 _flag_k = FK_CMP; 4095 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A28; /* 0x39005A22: jne 0x39005a28 */ 4096 L_39005A24: 4097 MEM32(esi) = edx; /* 0x39005A24: mov dword ptr [esi], edx */ 4098 goto L_39005A2B; /* 0x39005A26: jmp 0x39005a2b */ 4099 L_39005A28: 4100 MEM32(esi + 0x8) = edx; /* 0x39005A28: mov dword ptr [esi + 8], edx */ 4101 L_39005A2B: 4102 MEM32(edx) = ecx; /* 0x39005A2B: mov dword ptr [edx], ecx */ 4103 MEM32(ecx + 0x4) = edx; /* 0x39005A2D: mov dword ptr [ecx + 4], edx */ 4104 ecx = MEM32(eax + 0x4); /* 0x39005A30: mov ecx, dword ptr [eax + 4] */ 4105 ecx = MEM32(ecx); /* 0x39005A33: mov ecx, dword ptr [ecx] */ 4106 L_39005A35: 4107 edx = MEM32(eax + 0x4); /* 0x39005A35: mov edx, dword ptr [eax + 4] */ 4108 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x39005A38: mov dl, byte ptr [edx + 0x2c] */ 4109 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39005A3B: mov byte ptr [ecx + 0x2c], dl */ 4110 edx = MEM32(eax + 0x4); /* 0x39005A3E: mov edx, dword ptr [eax + 4] */ 4111 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A41: mov byte ptr [edx + 0x2c], bl */ 4112 ecx = MEM32(ecx); /* 0x39005A44: mov ecx, dword ptr [ecx] */ 4113 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A46: mov byte ptr [ecx + 0x2c], bl */ 4114 ecx = MEM32(eax + 0x4); /* 0x39005A49: mov ecx, dword ptr [eax + 4] */ 4115 edx = MEM32(ecx); /* 0x39005A4C: mov edx, dword ptr [ecx] */ 4116 esi = MEM32(edx + 0x8); /* 0x39005A4E: mov esi, dword ptr [edx + 8] */ 4117 MEM32(ecx) = esi; /* 0x39005A51: mov dword ptr [ecx], esi */ 4118 esi = MEM32(edx + 0x8); /* 0x39005A53: mov esi, dword ptr [edx + 8] */ 4119 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005A56: cmp esi, dword ptr [edi + 8] */ 4120 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4121 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4122 _flag_k = FK_CMP; 4123 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005A5E; /* 0x39005A59: je 0x39005a5e */ 4124 L_39005A5B: 4125 MEM32(esi + 0x4) = ecx; /* 0x39005A5B: mov dword ptr [esi + 4], ecx */ 4126 L_39005A5E: 4127 esi = MEM32(ecx + 0x4); /* 0x39005A5E: mov esi, dword ptr [ecx + 4] */ 4128 MEM32(edx + 0x4) = esi; /* 0x39005A61: mov dword ptr [edx + 4], esi */ 4129 esi = MEM32(edi + 0x4); /* 0x39005A64: mov esi, dword ptr [edi + 4] */ 4130 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005A67: cmp ecx, dword ptr [esi + 4] */ 4131 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4132 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4133 _flag_k = FK_CMP; 4134 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A71; /* 0x39005A6A: jne 0x39005a71 */ 4135 L_39005A6C: 4136 MEM32(esi + 0x4) = edx; /* 0x39005A6C: mov dword ptr [esi + 4], edx */ 4137 goto L_39005A80; /* 0x39005A6F: jmp 0x39005a80 */ 4138 L_39005A71: 4139 esi = MEM32(ecx + 0x4); /* 0x39005A71: mov esi, dword ptr [ecx + 4] */ 4140 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39005A74: cmp ecx, dword ptr [esi + 8] */ 4141 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4142 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4143 _flag_k = FK_CMP; 4144 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A7E; /* 0x39005A77: jne 0x39005a7e */ 4145 L_39005A79: 4146 MEM32(esi + 0x8) = edx; /* 0x39005A79: mov dword ptr [esi + 8], edx */ 4147 goto L_39005A80; /* 0x39005A7C: jmp 0x39005a80 */ 4148 L_39005A7E: 4149 MEM32(esi) = edx; /* 0x39005A7E: mov dword ptr [esi], edx */ 4150 L_39005A80: 4151 MEM32(edx + 0x8) = ecx; /* 0x39005A80: mov dword ptr [edx + 8], ecx */ 4152 L_39005A83: 4153 MEM32(ecx + 0x4) = edx; /* 0x39005A83: mov dword ptr [ecx + 4], edx */ 4154 L_39005A86: 4155 esi = MEM32(ebp + (-0x4)); /* 0x39005A86: mov esi, dword ptr [ebp - 4] */ 4156 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A89: mov byte ptr [eax + 0x2c], bl */ 4157 L_39005A8C: 4158 ecx = esi + 0xC; /* 0x39005A8C: lea ecx, [esi + 0xc] */ 4159 RECOMP_ICALL(0x39004670u); /* 0x39005A8F: call 0x39004670 */ /* not lifted */ 4160 RECOMP_FLAGS_IN(); 4161 PUSH32(esp, esi); /* 0x39005A94: push esi */ 4162 RECOMP_ICALL(0x3900A0A0u); /* 0x39005A95: call 0x3900a0a0 */ /* not lifted */ 4163 RECOMP_FLAGS_IN(); 4164 eax = MEM32(edi + 0x10); /* 0x39005A9A: mov eax, dword ptr [edi + 0x10] */ 4165 edx = MEM32(ebp + 0xC); /* 0x39005A9D: mov edx, dword ptr [ebp + 0xc] */ 4166 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4167 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4168 esp = esp + 4; /* 0x39005AA0: add esp, 4 */ 4169 _flag_k = FK_ADD; 4170 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 4171 eax = eax - 1; /* 0x39005AA3: dec eax */ 4172 _flag_k = FK_DEC; 4173 MEM32(edi + 0x10) = eax; /* 0x39005AA4: mov dword ptr [edi + 0x10], eax */ 4174 eax = MEM32(ebp + 0x8); /* 0x39005AA7: mov eax, dword ptr [ebp + 8] */ 4175 edi = POP32_VAL(esp); /* 0x39005AAA: pop edi */ 4176 esi = POP32_VAL(esp); /* 0x39005AAB: pop esi */ 4177 MEM32(eax) = edx; /* 0x39005AAC: mov dword ptr [eax], edx */ 4178 ebx = POP32_VAL(esp); /* 0x39005AAE: pop ebx */ 4179 esp = ebp; /* 0x39005AAF: mov esp, ebp */ 4180 ebp = POP32_VAL(esp); /* 0x39005AB1: pop ebp */ 4181 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x39005AB2: ret 8 */ 4182 RECOMP_REGS_OUT(); 4183 } 4184 4185 void sub_39005838(void) { 4186 int _fpu_cmp = 0; 4187 uint32_t _cf = 0; 4188 int _df = 1; 4189 uint32_t _flag_k = FK_NONE; 4190 uint32_t _flag_a = 0, _flag_b = 0; 4191 uint32_t _itail_tgt = 0; 4192 RECOMP_REGS_LOCALS 4193 RECOMP_ENTER(0x39005838u); 4194 4195 L_39005838: 4196 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x39005838: cmp byte ptr [eax + 0x2c], bl */ 4197 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4198 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4199 _flag_k = FK_NARROW(FK_CMP, 24); 4200 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A86; /* 0x3900583B: jne 0x39005a86 */ 4201 L_39005841: 4202 edx = MEM32(eax + 0x4); /* 0x39005841: mov edx, dword ptr [eax + 4] */ 4203 ecx = MEM32(edx); /* 0x39005844: mov ecx, dword ptr [edx] */ 4204 /* cmp eax, ecx */ /* 0x39005846: cmp eax, ecx */ 4205 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 4206 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4207 _flag_k = FK_CMP; 4208 if (CMP_NE(_flag_a, _flag_b)) goto L_390058B8; /* 0x39005848: jne 0x390058b8 */ 4209 L_3900584A: 4210 ecx = MEM32(edx + 0x8); /* 0x3900584A: mov ecx, dword ptr [edx + 8] */ 4211 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x3900584D: mov dl, byte ptr [ecx + 0x2c] */ 4212 /* test LO8(edx), LO8(edx) */ /* 0x39005850: test dl, dl */ 4213 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 4214 _cf = 0; 4215 _flag_k = FK_NARROW(FK_TEST, 24); 4216 if (TEST_NZ(_flag_a, _flag_b)) goto L_3900589F; /* 0x39005852: jne 0x3900589f */ 4217 L_39005854: 4218 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005854: mov byte ptr [ecx + 0x2c], bl */ 4219 edx = MEM32(eax + 0x4); /* 0x39005857: mov edx, dword ptr [eax + 4] */ 4220 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x3900585A: mov byte ptr [edx + 0x2c], 0 */ 4221 ecx = MEM32(eax + 0x4); /* 0x3900585E: mov ecx, dword ptr [eax + 4] */ 4222 edx = MEM32(ecx + 0x8); /* 0x39005861: mov edx, dword ptr [ecx + 8] */ 4223 esi = MEM32(edx); /* 0x39005864: mov esi, dword ptr [edx] */ 4224 MEM32(ecx + 0x8) = esi; /* 0x39005866: mov dword ptr [ecx + 8], esi */ 4225 esi = MEM32(edx); /* 0x39005869: mov esi, dword ptr [edx] */ 4226 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3900586B: cmp esi, dword ptr [edi + 8] */ 4227 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4228 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4229 _flag_k = FK_CMP; 4230 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005873; /* 0x3900586E: je 0x39005873 */ 4231 L_39005870: 4232 MEM32(esi + 0x4) = ecx; /* 0x39005870: mov dword ptr [esi + 4], ecx */ 4233 L_39005873: 4234 esi = MEM32(ecx + 0x4); /* 0x39005873: mov esi, dword ptr [ecx + 4] */ 4235 MEM32(edx + 0x4) = esi; /* 0x39005876: mov dword ptr [edx + 4], esi */ 4236 esi = MEM32(edi + 0x4); /* 0x39005879: mov esi, dword ptr [edi + 4] */ 4237 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x3900587C: cmp ecx, dword ptr [esi + 4] */ 4238 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4239 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4240 _flag_k = FK_CMP; 4241 if (CMP_NE(_flag_a, _flag_b)) goto L_39005886; /* 0x3900587F: jne 0x39005886 */ 4242 L_39005881: 4243 MEM32(esi + 0x4) = edx; /* 0x39005881: mov dword ptr [esi + 4], edx */ 4244 goto L_39005894; /* 0x39005884: jmp 0x39005894 */ 4245 L_39005886: 4246 esi = MEM32(ecx + 0x4); /* 0x39005886: mov esi, dword ptr [ecx + 4] */ 4247 /* cmp ecx, MEM32(esi) */ /* 0x39005889: cmp ecx, dword ptr [esi] */ 4248 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 4249 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4250 _flag_k = FK_CMP; 4251 if (CMP_NE(_flag_a, _flag_b)) goto L_39005891; /* 0x3900588B: jne 0x39005891 */ 4252 L_3900588D: 4253 MEM32(esi) = edx; /* 0x3900588D: mov dword ptr [esi], edx */ 4254 goto L_39005894; /* 0x3900588F: jmp 0x39005894 */ 4255 L_39005891: 4256 MEM32(esi + 0x8) = edx; /* 0x39005891: mov dword ptr [esi + 8], edx */ 4257 L_39005894: 4258 MEM32(edx) = ecx; /* 0x39005894: mov dword ptr [edx], ecx */ 4259 MEM32(ecx + 0x4) = edx; /* 0x39005896: mov dword ptr [ecx + 4], edx */ 4260 ecx = MEM32(eax + 0x4); /* 0x39005899: mov ecx, dword ptr [eax + 4] */ 4261 ecx = MEM32(ecx + 0x8); /* 0x3900589C: mov ecx, dword ptr [ecx + 8] */ 4262 L_3900589F: 4263 edx = MEM32(ecx); /* 0x3900589F: mov edx, dword ptr [ecx] */ 4264 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390058A1: cmp byte ptr [edx + 0x2c], bl */ 4265 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4266 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4267 _flag_k = FK_NARROW(FK_CMP, 24); 4268 if (CMP_NE(_flag_a, _flag_b)) goto L_3900593A; /* 0x390058A4: jne 0x3900593a */ 4269 L_390058AA: 4270 edx = MEM32(ecx + 0x8); /* 0x390058AA: mov edx, dword ptr [ecx + 8] */ 4271 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390058AD: cmp byte ptr [edx + 0x2c], bl */ 4272 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4273 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4274 _flag_k = FK_NARROW(FK_CMP, 24); 4275 if (CMP_NE(_flag_a, _flag_b)) goto L_3900593A; /* 0x390058B0: jne 0x3900593a */ 4276 L_390058B6: 4277 goto L_39005922; /* 0x390058B6: jmp 0x39005922 */ 4278 L_390058B8: 4279 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x390058B8: mov dl, byte ptr [ecx + 0x2c] */ 4280 /* test LO8(edx), LO8(edx) */ /* 0x390058BB: test dl, dl */ 4281 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 4282 _cf = 0; 4283 _flag_k = FK_NARROW(FK_TEST, 24); 4284 if (TEST_NZ(_flag_a, _flag_b)) goto L_3900590B; /* 0x390058BD: jne 0x3900590b */ 4285 L_390058BF: 4286 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x390058BF: mov byte ptr [ecx + 0x2c], bl */ 4287 ecx = MEM32(eax + 0x4); /* 0x390058C2: mov ecx, dword ptr [eax + 4] */ 4288 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x390058C5: mov byte ptr [ecx + 0x2c], 0 */ 4289 ecx = MEM32(eax + 0x4); /* 0x390058C9: mov ecx, dword ptr [eax + 4] */ 4290 edx = MEM32(ecx); /* 0x390058CC: mov edx, dword ptr [ecx] */ 4291 esi = MEM32(edx + 0x8); /* 0x390058CE: mov esi, dword ptr [edx + 8] */ 4292 MEM32(ecx) = esi; /* 0x390058D1: mov dword ptr [ecx], esi */ 4293 esi = MEM32(edx + 0x8); /* 0x390058D3: mov esi, dword ptr [edx + 8] */ 4294 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390058D6: cmp esi, dword ptr [edi + 8] */ 4295 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4296 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4297 _flag_k = FK_CMP; 4298 if (CMP_EQ(_flag_a, _flag_b)) goto L_390058DE; /* 0x390058D9: je 0x390058de */ 4299 L_390058DB: 4300 MEM32(esi + 0x4) = ecx; /* 0x390058DB: mov dword ptr [esi + 4], ecx */ 4301 L_390058DE: 4302 esi = MEM32(ecx + 0x4); /* 0x390058DE: mov esi, dword ptr [ecx + 4] */ 4303 MEM32(edx + 0x4) = esi; /* 0x390058E1: mov dword ptr [edx + 4], esi */ 4304 esi = MEM32(edi + 0x4); /* 0x390058E4: mov esi, dword ptr [edi + 4] */ 4305 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390058E7: cmp ecx, dword ptr [esi + 4] */ 4306 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4307 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4308 _flag_k = FK_CMP; 4309 if (CMP_NE(_flag_a, _flag_b)) goto L_390058F1; /* 0x390058EA: jne 0x390058f1 */ 4310 L_390058EC: 4311 MEM32(esi + 0x4) = edx; /* 0x390058EC: mov dword ptr [esi + 4], edx */ 4312 goto L_39005900; /* 0x390058EF: jmp 0x39005900 */ 4313 L_390058F1: 4314 esi = MEM32(ecx + 0x4); /* 0x390058F1: mov esi, dword ptr [ecx + 4] */ 4315 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x390058F4: cmp ecx, dword ptr [esi + 8] */ 4316 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4317 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4318 _flag_k = FK_CMP; 4319 if (CMP_NE(_flag_a, _flag_b)) goto L_390058FE; /* 0x390058F7: jne 0x390058fe */ 4320 L_390058F9: 4321 MEM32(esi + 0x8) = edx; /* 0x390058F9: mov dword ptr [esi + 8], edx */ 4322 goto L_39005900; /* 0x390058FC: jmp 0x39005900 */ 4323 L_390058FE: 4324 MEM32(esi) = edx; /* 0x390058FE: mov dword ptr [esi], edx */ 4325 L_39005900: 4326 MEM32(edx + 0x8) = ecx; /* 0x39005900: mov dword ptr [edx + 8], ecx */ 4327 MEM32(ecx + 0x4) = edx; /* 0x39005903: mov dword ptr [ecx + 4], edx */ 4328 edx = MEM32(eax + 0x4); /* 0x39005906: mov edx, dword ptr [eax + 4] */ 4329 ecx = MEM32(edx); /* 0x39005909: mov ecx, dword ptr [edx] */ 4330 L_3900590B: 4331 edx = MEM32(ecx + 0x8); /* 0x3900590B: mov edx, dword ptr [ecx + 8] */ 4332 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x3900590E: cmp byte ptr [edx + 0x2c], bl */ 4333 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4334 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4335 _flag_k = FK_NARROW(FK_CMP, 24); 4336 if (CMP_NE(_flag_a, _flag_b)) goto L_390059E7; /* 0x39005911: jne 0x390059e7 */ 4337 L_39005917: 4338 edx = MEM32(ecx); /* 0x39005917: mov edx, dword ptr [ecx] */ 4339 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005919: cmp byte ptr [edx + 0x2c], bl */ 4340 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4341 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4342 _flag_k = FK_NARROW(FK_CMP, 24); 4343 if (CMP_NE(_flag_a, _flag_b)) goto L_390059E7; /* 0x3900591C: jne 0x390059e7 */ 4344 L_39005922: 4345 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39005922: mov byte ptr [ecx + 0x2c], 0 */ 4346 ecx = MEM32(edi + 0x4); /* 0x39005926: mov ecx, dword ptr [edi + 4] */ 4347 eax = MEM32(eax + 0x4); /* 0x39005929: mov eax, dword ptr [eax + 4] */ 4348 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900592C: cmp eax, dword ptr [ecx + 4] */ 4349 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 4350 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4351 _flag_k = FK_CMP; 4352 RECOMP_BACKEDGE(); 4353 if (CMP_NE(_flag_a, _flag_b)) goto L_39005838; /* 0x3900592F: jne 0x39005838 */ 4354 L_39005935: 4355 goto L_39005A86; /* 0x39005935: jmp 0x39005a86 */ 4356 L_3900593A: 4357 edx = MEM32(ecx + 0x8); /* 0x3900593A: mov edx, dword ptr [ecx + 8] */ 4358 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x3900593D: cmp byte ptr [edx + 0x2c], bl */ 4359 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4360 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4361 _flag_k = FK_NARROW(FK_CMP, 24); 4362 if (CMP_NE(_flag_a, _flag_b)) goto L_3900598B; /* 0x39005940: jne 0x3900598b */ 4363 L_39005942: 4364 edx = MEM32(ecx); /* 0x39005942: mov edx, dword ptr [ecx] */ 4365 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005944: mov byte ptr [edx + 0x2c], bl */ 4366 edx = MEM32(ecx); /* 0x39005947: mov edx, dword ptr [ecx] */ 4367 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39005949: mov byte ptr [ecx + 0x2c], 0 */ 4368 esi = MEM32(edx + 0x8); /* 0x3900594D: mov esi, dword ptr [edx + 8] */ 4369 MEM32(ecx) = esi; /* 0x39005950: mov dword ptr [ecx], esi */ 4370 esi = MEM32(edx + 0x8); /* 0x39005952: mov esi, dword ptr [edx + 8] */ 4371 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005955: cmp esi, dword ptr [edi + 8] */ 4372 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4373 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4374 _flag_k = FK_CMP; 4375 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900595D; /* 0x39005958: je 0x3900595d */ 4376 L_3900595A: 4377 MEM32(esi + 0x4) = ecx; /* 0x3900595A: mov dword ptr [esi + 4], ecx */ 4378 L_3900595D: 4379 esi = MEM32(ecx + 0x4); /* 0x3900595D: mov esi, dword ptr [ecx + 4] */ 4380 MEM32(edx + 0x4) = esi; /* 0x39005960: mov dword ptr [edx + 4], esi */ 4381 esi = MEM32(edi + 0x4); /* 0x39005963: mov esi, dword ptr [edi + 4] */ 4382 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005966: cmp ecx, dword ptr [esi + 4] */ 4383 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4384 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4385 _flag_k = FK_CMP; 4386 if (CMP_NE(_flag_a, _flag_b)) goto L_39005970; /* 0x39005969: jne 0x39005970 */ 4387 L_3900596B: 4388 MEM32(esi + 0x4) = edx; /* 0x3900596B: mov dword ptr [esi + 4], edx */ 4389 goto L_3900597F; /* 0x3900596E: jmp 0x3900597f */ 4390 L_39005970: 4391 esi = MEM32(ecx + 0x4); /* 0x39005970: mov esi, dword ptr [ecx + 4] */ 4392 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39005973: cmp ecx, dword ptr [esi + 8] */ 4393 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4394 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4395 _flag_k = FK_CMP; 4396 if (CMP_NE(_flag_a, _flag_b)) goto L_3900597D; /* 0x39005976: jne 0x3900597d */ 4397 L_39005978: 4398 MEM32(esi + 0x8) = edx; /* 0x39005978: mov dword ptr [esi + 8], edx */ 4399 goto L_3900597F; /* 0x3900597B: jmp 0x3900597f */ 4400 L_3900597D: 4401 MEM32(esi) = edx; /* 0x3900597D: mov dword ptr [esi], edx */ 4402 L_3900597F: 4403 MEM32(edx + 0x8) = ecx; /* 0x3900597F: mov dword ptr [edx + 8], ecx */ 4404 MEM32(ecx + 0x4) = edx; /* 0x39005982: mov dword ptr [ecx + 4], edx */ 4405 ecx = MEM32(eax + 0x4); /* 0x39005985: mov ecx, dword ptr [eax + 4] */ 4406 ecx = MEM32(ecx + 0x8); /* 0x39005988: mov ecx, dword ptr [ecx + 8] */ 4407 L_3900598B: 4408 edx = MEM32(eax + 0x4); /* 0x3900598B: mov edx, dword ptr [eax + 4] */ 4409 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x3900598E: mov dl, byte ptr [edx + 0x2c] */ 4410 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39005991: mov byte ptr [ecx + 0x2c], dl */ 4411 edx = MEM32(eax + 0x4); /* 0x39005994: mov edx, dword ptr [eax + 4] */ 4412 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005997: mov byte ptr [edx + 0x2c], bl */ 4413 ecx = MEM32(ecx + 0x8); /* 0x3900599A: mov ecx, dword ptr [ecx + 8] */ 4414 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x3900599D: mov byte ptr [ecx + 0x2c], bl */ 4415 ecx = MEM32(eax + 0x4); /* 0x390059A0: mov ecx, dword ptr [eax + 4] */ 4416 edx = MEM32(ecx + 0x8); /* 0x390059A3: mov edx, dword ptr [ecx + 8] */ 4417 esi = MEM32(edx); /* 0x390059A6: mov esi, dword ptr [edx] */ 4418 MEM32(ecx + 0x8) = esi; /* 0x390059A8: mov dword ptr [ecx + 8], esi */ 4419 esi = MEM32(edx); /* 0x390059AB: mov esi, dword ptr [edx] */ 4420 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390059AD: cmp esi, dword ptr [edi + 8] */ 4421 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4422 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4423 _flag_k = FK_CMP; 4424 if (CMP_EQ(_flag_a, _flag_b)) goto L_390059B5; /* 0x390059B0: je 0x390059b5 */ 4425 L_390059B2: 4426 MEM32(esi + 0x4) = ecx; /* 0x390059B2: mov dword ptr [esi + 4], ecx */ 4427 L_390059B5: 4428 esi = MEM32(ecx + 0x4); /* 0x390059B5: mov esi, dword ptr [ecx + 4] */ 4429 MEM32(edx + 0x4) = esi; /* 0x390059B8: mov dword ptr [edx + 4], esi */ 4430 esi = MEM32(edi + 0x4); /* 0x390059BB: mov esi, dword ptr [edi + 4] */ 4431 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390059BE: cmp ecx, dword ptr [esi + 4] */ 4432 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4433 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4434 _flag_k = FK_CMP; 4435 if (CMP_NE(_flag_a, _flag_b)) goto L_390059CD; /* 0x390059C1: jne 0x390059cd */ 4436 L_390059C3: 4437 MEM32(esi + 0x4) = edx; /* 0x390059C3: mov dword ptr [esi + 4], edx */ 4438 MEM32(edx) = ecx; /* 0x390059C6: mov dword ptr [edx], ecx */ 4439 goto L_39005A83; /* 0x390059C8: jmp 0x39005a83 */ 4440 L_390059CD: 4441 esi = MEM32(ecx + 0x4); /* 0x390059CD: mov esi, dword ptr [ecx + 4] */ 4442 /* cmp ecx, MEM32(esi) */ /* 0x390059D0: cmp ecx, dword ptr [esi] */ 4443 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 4444 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4445 _flag_k = FK_CMP; 4446 if (CMP_NE(_flag_a, _flag_b)) goto L_390059DD; /* 0x390059D2: jne 0x390059dd */ 4447 L_390059D4: 4448 MEM32(esi) = edx; /* 0x390059D4: mov dword ptr [esi], edx */ 4449 MEM32(edx) = ecx; /* 0x390059D6: mov dword ptr [edx], ecx */ 4450 goto L_39005A83; /* 0x390059D8: jmp 0x39005a83 */ 4451 L_390059DD: 4452 MEM32(esi + 0x8) = edx; /* 0x390059DD: mov dword ptr [esi + 8], edx */ 4453 MEM32(edx) = ecx; /* 0x390059E0: mov dword ptr [edx], ecx */ 4454 goto L_39005A83; /* 0x390059E2: jmp 0x39005a83 */ 4455 L_390059E7: 4456 edx = MEM32(ecx); /* 0x390059E7: mov edx, dword ptr [ecx] */ 4457 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390059E9: cmp byte ptr [edx + 0x2c], bl */ 4458 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4459 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4460 _flag_k = FK_NARROW(FK_CMP, 24); 4461 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A35; /* 0x390059EC: jne 0x39005a35 */ 4462 L_390059EE: 4463 edx = MEM32(ecx + 0x8); /* 0x390059EE: mov edx, dword ptr [ecx + 8] */ 4464 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x390059F1: mov byte ptr [edx + 0x2c], bl */ 4465 edx = MEM32(ecx + 0x8); /* 0x390059F4: mov edx, dword ptr [ecx + 8] */ 4466 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x390059F7: mov byte ptr [ecx + 0x2c], 0 */ 4467 esi = MEM32(edx); /* 0x390059FB: mov esi, dword ptr [edx] */ 4468 MEM32(ecx + 0x8) = esi; /* 0x390059FD: mov dword ptr [ecx + 8], esi */ 4469 esi = MEM32(edx); /* 0x39005A00: mov esi, dword ptr [edx] */ 4470 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005A02: cmp esi, dword ptr [edi + 8] */ 4471 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4472 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4473 _flag_k = FK_CMP; 4474 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005A0A; /* 0x39005A05: je 0x39005a0a */ 4475 L_39005A07: 4476 MEM32(esi + 0x4) = ecx; /* 0x39005A07: mov dword ptr [esi + 4], ecx */ 4477 L_39005A0A: 4478 esi = MEM32(ecx + 0x4); /* 0x39005A0A: mov esi, dword ptr [ecx + 4] */ 4479 MEM32(edx + 0x4) = esi; /* 0x39005A0D: mov dword ptr [edx + 4], esi */ 4480 esi = MEM32(edi + 0x4); /* 0x39005A10: mov esi, dword ptr [edi + 4] */ 4481 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005A13: cmp ecx, dword ptr [esi + 4] */ 4482 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4483 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4484 _flag_k = FK_CMP; 4485 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A1D; /* 0x39005A16: jne 0x39005a1d */ 4486 L_39005A18: 4487 MEM32(esi + 0x4) = edx; /* 0x39005A18: mov dword ptr [esi + 4], edx */ 4488 goto L_39005A2B; /* 0x39005A1B: jmp 0x39005a2b */ 4489 L_39005A1D: 4490 esi = MEM32(ecx + 0x4); /* 0x39005A1D: mov esi, dword ptr [ecx + 4] */ 4491 /* cmp ecx, MEM32(esi) */ /* 0x39005A20: cmp ecx, dword ptr [esi] */ 4492 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 4493 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4494 _flag_k = FK_CMP; 4495 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A28; /* 0x39005A22: jne 0x39005a28 */ 4496 L_39005A24: 4497 MEM32(esi) = edx; /* 0x39005A24: mov dword ptr [esi], edx */ 4498 goto L_39005A2B; /* 0x39005A26: jmp 0x39005a2b */ 4499 L_39005A28: 4500 MEM32(esi + 0x8) = edx; /* 0x39005A28: mov dword ptr [esi + 8], edx */ 4501 L_39005A2B: 4502 MEM32(edx) = ecx; /* 0x39005A2B: mov dword ptr [edx], ecx */ 4503 MEM32(ecx + 0x4) = edx; /* 0x39005A2D: mov dword ptr [ecx + 4], edx */ 4504 ecx = MEM32(eax + 0x4); /* 0x39005A30: mov ecx, dword ptr [eax + 4] */ 4505 ecx = MEM32(ecx); /* 0x39005A33: mov ecx, dword ptr [ecx] */ 4506 L_39005A35: 4507 edx = MEM32(eax + 0x4); /* 0x39005A35: mov edx, dword ptr [eax + 4] */ 4508 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x39005A38: mov dl, byte ptr [edx + 0x2c] */ 4509 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39005A3B: mov byte ptr [ecx + 0x2c], dl */ 4510 edx = MEM32(eax + 0x4); /* 0x39005A3E: mov edx, dword ptr [eax + 4] */ 4511 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A41: mov byte ptr [edx + 0x2c], bl */ 4512 ecx = MEM32(ecx); /* 0x39005A44: mov ecx, dword ptr [ecx] */ 4513 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A46: mov byte ptr [ecx + 0x2c], bl */ 4514 ecx = MEM32(eax + 0x4); /* 0x39005A49: mov ecx, dword ptr [eax + 4] */ 4515 edx = MEM32(ecx); /* 0x39005A4C: mov edx, dword ptr [ecx] */ 4516 esi = MEM32(edx + 0x8); /* 0x39005A4E: mov esi, dword ptr [edx + 8] */ 4517 MEM32(ecx) = esi; /* 0x39005A51: mov dword ptr [ecx], esi */ 4518 esi = MEM32(edx + 0x8); /* 0x39005A53: mov esi, dword ptr [edx + 8] */ 4519 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005A56: cmp esi, dword ptr [edi + 8] */ 4520 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4521 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4522 _flag_k = FK_CMP; 4523 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005A5E; /* 0x39005A59: je 0x39005a5e */ 4524 L_39005A5B: 4525 MEM32(esi + 0x4) = ecx; /* 0x39005A5B: mov dword ptr [esi + 4], ecx */ 4526 L_39005A5E: 4527 esi = MEM32(ecx + 0x4); /* 0x39005A5E: mov esi, dword ptr [ecx + 4] */ 4528 MEM32(edx + 0x4) = esi; /* 0x39005A61: mov dword ptr [edx + 4], esi */ 4529 esi = MEM32(edi + 0x4); /* 0x39005A64: mov esi, dword ptr [edi + 4] */ 4530 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005A67: cmp ecx, dword ptr [esi + 4] */ 4531 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4532 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4533 _flag_k = FK_CMP; 4534 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A71; /* 0x39005A6A: jne 0x39005a71 */ 4535 L_39005A6C: 4536 MEM32(esi + 0x4) = edx; /* 0x39005A6C: mov dword ptr [esi + 4], edx */ 4537 goto L_39005A80; /* 0x39005A6F: jmp 0x39005a80 */ 4538 L_39005A71: 4539 esi = MEM32(ecx + 0x4); /* 0x39005A71: mov esi, dword ptr [ecx + 4] */ 4540 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39005A74: cmp ecx, dword ptr [esi + 8] */ 4541 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4542 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4543 _flag_k = FK_CMP; 4544 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A7E; /* 0x39005A77: jne 0x39005a7e */ 4545 L_39005A79: 4546 MEM32(esi + 0x8) = edx; /* 0x39005A79: mov dword ptr [esi + 8], edx */ 4547 goto L_39005A80; /* 0x39005A7C: jmp 0x39005a80 */ 4548 L_39005A7E: 4549 MEM32(esi) = edx; /* 0x39005A7E: mov dword ptr [esi], edx */ 4550 L_39005A80: 4551 MEM32(edx + 0x8) = ecx; /* 0x39005A80: mov dword ptr [edx + 8], ecx */ 4552 L_39005A83: 4553 MEM32(ecx + 0x4) = edx; /* 0x39005A83: mov dword ptr [ecx + 4], edx */ 4554 L_39005A86: 4555 esi = MEM32(ebp + (-0x4)); /* 0x39005A86: mov esi, dword ptr [ebp - 4] */ 4556 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A89: mov byte ptr [eax + 0x2c], bl */ 4557 ecx = esi + 0xC; /* 0x39005A8C: lea ecx, [esi + 0xc] */ 4558 RECOMP_ICALL(0x39004670u); /* 0x39005A8F: call 0x39004670 */ /* not lifted */ 4559 RECOMP_FLAGS_IN(); 4560 PUSH32(esp, esi); /* 0x39005A94: push esi */ 4561 RECOMP_ICALL(0x3900A0A0u); /* 0x39005A95: call 0x3900a0a0 */ /* not lifted */ 4562 RECOMP_FLAGS_IN(); 4563 eax = MEM32(edi + 0x10); /* 0x39005A9A: mov eax, dword ptr [edi + 0x10] */ 4564 edx = MEM32(ebp + 0xC); /* 0x39005A9D: mov edx, dword ptr [ebp + 0xc] */ 4565 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4566 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4567 esp = esp + 4; /* 0x39005AA0: add esp, 4 */ 4568 _flag_k = FK_ADD; 4569 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 4570 eax = eax - 1; /* 0x39005AA3: dec eax */ 4571 _flag_k = FK_DEC; 4572 MEM32(edi + 0x10) = eax; /* 0x39005AA4: mov dword ptr [edi + 0x10], eax */ 4573 eax = MEM32(ebp + 0x8); /* 0x39005AA7: mov eax, dword ptr [ebp + 8] */ 4574 edi = POP32_VAL(esp); /* 0x39005AAA: pop edi */ 4575 esi = POP32_VAL(esp); /* 0x39005AAB: pop esi */ 4576 MEM32(eax) = edx; /* 0x39005AAC: mov dword ptr [eax], edx */ 4577 ebx = POP32_VAL(esp); /* 0x39005AAE: pop ebx */ 4578 esp = ebp; /* 0x39005AAF: mov esp, ebp */ 4579 ebp = POP32_VAL(esp); /* 0x39005AB1: pop ebp */ 4580 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x39005AB2: ret 8 */ 4581 RECOMP_REGS_OUT(); 4582 } 4583 4584 void sub_39005894(void) { 4585 int _fpu_cmp = 0; 4586 uint32_t _cf = 0; 4587 int _df = 1; 4588 uint32_t _flag_k = FK_NONE; 4589 uint32_t _flag_a = 0, _flag_b = 0; 4590 uint32_t _itail_tgt = 0; 4591 RECOMP_REGS_LOCALS 4592 RECOMP_ENTER(0x39005894u); 4593 4594 goto L_39005894; 4595 L_39005838: 4596 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x39005838: cmp byte ptr [eax + 0x2c], bl */ 4597 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4598 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4599 _flag_k = FK_NARROW(FK_CMP, 24); 4600 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A86; /* 0x3900583B: jne 0x39005a86 */ 4601 L_39005841: 4602 edx = MEM32(eax + 0x4); /* 0x39005841: mov edx, dword ptr [eax + 4] */ 4603 ecx = MEM32(edx); /* 0x39005844: mov ecx, dword ptr [edx] */ 4604 /* cmp eax, ecx */ /* 0x39005846: cmp eax, ecx */ 4605 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 4606 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4607 _flag_k = FK_CMP; 4608 if (CMP_NE(_flag_a, _flag_b)) goto L_390058B8; /* 0x39005848: jne 0x390058b8 */ 4609 L_3900584A: 4610 ecx = MEM32(edx + 0x8); /* 0x3900584A: mov ecx, dword ptr [edx + 8] */ 4611 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x3900584D: mov dl, byte ptr [ecx + 0x2c] */ 4612 /* test LO8(edx), LO8(edx) */ /* 0x39005850: test dl, dl */ 4613 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 4614 _cf = 0; 4615 _flag_k = FK_NARROW(FK_TEST, 24); 4616 if (TEST_NZ(_flag_a, _flag_b)) goto L_3900589F; /* 0x39005852: jne 0x3900589f */ 4617 L_39005854: 4618 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005854: mov byte ptr [ecx + 0x2c], bl */ 4619 edx = MEM32(eax + 0x4); /* 0x39005857: mov edx, dword ptr [eax + 4] */ 4620 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x3900585A: mov byte ptr [edx + 0x2c], 0 */ 4621 ecx = MEM32(eax + 0x4); /* 0x3900585E: mov ecx, dword ptr [eax + 4] */ 4622 edx = MEM32(ecx + 0x8); /* 0x39005861: mov edx, dword ptr [ecx + 8] */ 4623 esi = MEM32(edx); /* 0x39005864: mov esi, dword ptr [edx] */ 4624 MEM32(ecx + 0x8) = esi; /* 0x39005866: mov dword ptr [ecx + 8], esi */ 4625 esi = MEM32(edx); /* 0x39005869: mov esi, dword ptr [edx] */ 4626 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3900586B: cmp esi, dword ptr [edi + 8] */ 4627 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4628 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4629 _flag_k = FK_CMP; 4630 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005873; /* 0x3900586E: je 0x39005873 */ 4631 L_39005870: 4632 MEM32(esi + 0x4) = ecx; /* 0x39005870: mov dword ptr [esi + 4], ecx */ 4633 L_39005873: 4634 esi = MEM32(ecx + 0x4); /* 0x39005873: mov esi, dword ptr [ecx + 4] */ 4635 MEM32(edx + 0x4) = esi; /* 0x39005876: mov dword ptr [edx + 4], esi */ 4636 esi = MEM32(edi + 0x4); /* 0x39005879: mov esi, dword ptr [edi + 4] */ 4637 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x3900587C: cmp ecx, dword ptr [esi + 4] */ 4638 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4639 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4640 _flag_k = FK_CMP; 4641 if (CMP_NE(_flag_a, _flag_b)) goto L_39005886; /* 0x3900587F: jne 0x39005886 */ 4642 L_39005881: 4643 MEM32(esi + 0x4) = edx; /* 0x39005881: mov dword ptr [esi + 4], edx */ 4644 goto L_39005894; /* 0x39005884: jmp 0x39005894 */ 4645 L_39005886: 4646 esi = MEM32(ecx + 0x4); /* 0x39005886: mov esi, dword ptr [ecx + 4] */ 4647 /* cmp ecx, MEM32(esi) */ /* 0x39005889: cmp ecx, dword ptr [esi] */ 4648 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 4649 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4650 _flag_k = FK_CMP; 4651 if (CMP_NE(_flag_a, _flag_b)) goto L_39005891; /* 0x3900588B: jne 0x39005891 */ 4652 L_3900588D: 4653 MEM32(esi) = edx; /* 0x3900588D: mov dword ptr [esi], edx */ 4654 goto L_39005894; /* 0x3900588F: jmp 0x39005894 */ 4655 L_39005891: 4656 MEM32(esi + 0x8) = edx; /* 0x39005891: mov dword ptr [esi + 8], edx */ 4657 L_39005894: 4658 MEM32(edx) = ecx; /* 0x39005894: mov dword ptr [edx], ecx */ 4659 MEM32(ecx + 0x4) = edx; /* 0x39005896: mov dword ptr [ecx + 4], edx */ 4660 ecx = MEM32(eax + 0x4); /* 0x39005899: mov ecx, dword ptr [eax + 4] */ 4661 ecx = MEM32(ecx + 0x8); /* 0x3900589C: mov ecx, dword ptr [ecx + 8] */ 4662 L_3900589F: 4663 edx = MEM32(ecx); /* 0x3900589F: mov edx, dword ptr [ecx] */ 4664 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390058A1: cmp byte ptr [edx + 0x2c], bl */ 4665 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4666 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4667 _flag_k = FK_NARROW(FK_CMP, 24); 4668 if (CMP_NE(_flag_a, _flag_b)) goto L_3900593A; /* 0x390058A4: jne 0x3900593a */ 4669 L_390058AA: 4670 edx = MEM32(ecx + 0x8); /* 0x390058AA: mov edx, dword ptr [ecx + 8] */ 4671 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390058AD: cmp byte ptr [edx + 0x2c], bl */ 4672 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4673 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4674 _flag_k = FK_NARROW(FK_CMP, 24); 4675 if (CMP_NE(_flag_a, _flag_b)) goto L_3900593A; /* 0x390058B0: jne 0x3900593a */ 4676 L_390058B6: 4677 goto L_39005922; /* 0x390058B6: jmp 0x39005922 */ 4678 L_390058B8: 4679 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x390058B8: mov dl, byte ptr [ecx + 0x2c] */ 4680 /* test LO8(edx), LO8(edx) */ /* 0x390058BB: test dl, dl */ 4681 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 4682 _cf = 0; 4683 _flag_k = FK_NARROW(FK_TEST, 24); 4684 if (TEST_NZ(_flag_a, _flag_b)) goto L_3900590B; /* 0x390058BD: jne 0x3900590b */ 4685 L_390058BF: 4686 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x390058BF: mov byte ptr [ecx + 0x2c], bl */ 4687 ecx = MEM32(eax + 0x4); /* 0x390058C2: mov ecx, dword ptr [eax + 4] */ 4688 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x390058C5: mov byte ptr [ecx + 0x2c], 0 */ 4689 ecx = MEM32(eax + 0x4); /* 0x390058C9: mov ecx, dword ptr [eax + 4] */ 4690 edx = MEM32(ecx); /* 0x390058CC: mov edx, dword ptr [ecx] */ 4691 esi = MEM32(edx + 0x8); /* 0x390058CE: mov esi, dword ptr [edx + 8] */ 4692 MEM32(ecx) = esi; /* 0x390058D1: mov dword ptr [ecx], esi */ 4693 esi = MEM32(edx + 0x8); /* 0x390058D3: mov esi, dword ptr [edx + 8] */ 4694 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390058D6: cmp esi, dword ptr [edi + 8] */ 4695 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4696 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4697 _flag_k = FK_CMP; 4698 if (CMP_EQ(_flag_a, _flag_b)) goto L_390058DE; /* 0x390058D9: je 0x390058de */ 4699 L_390058DB: 4700 MEM32(esi + 0x4) = ecx; /* 0x390058DB: mov dword ptr [esi + 4], ecx */ 4701 L_390058DE: 4702 esi = MEM32(ecx + 0x4); /* 0x390058DE: mov esi, dword ptr [ecx + 4] */ 4703 MEM32(edx + 0x4) = esi; /* 0x390058E1: mov dword ptr [edx + 4], esi */ 4704 esi = MEM32(edi + 0x4); /* 0x390058E4: mov esi, dword ptr [edi + 4] */ 4705 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390058E7: cmp ecx, dword ptr [esi + 4] */ 4706 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4707 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4708 _flag_k = FK_CMP; 4709 if (CMP_NE(_flag_a, _flag_b)) goto L_390058F1; /* 0x390058EA: jne 0x390058f1 */ 4710 L_390058EC: 4711 MEM32(esi + 0x4) = edx; /* 0x390058EC: mov dword ptr [esi + 4], edx */ 4712 goto L_39005900; /* 0x390058EF: jmp 0x39005900 */ 4713 L_390058F1: 4714 esi = MEM32(ecx + 0x4); /* 0x390058F1: mov esi, dword ptr [ecx + 4] */ 4715 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x390058F4: cmp ecx, dword ptr [esi + 8] */ 4716 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4717 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4718 _flag_k = FK_CMP; 4719 if (CMP_NE(_flag_a, _flag_b)) goto L_390058FE; /* 0x390058F7: jne 0x390058fe */ 4720 L_390058F9: 4721 MEM32(esi + 0x8) = edx; /* 0x390058F9: mov dword ptr [esi + 8], edx */ 4722 goto L_39005900; /* 0x390058FC: jmp 0x39005900 */ 4723 L_390058FE: 4724 MEM32(esi) = edx; /* 0x390058FE: mov dword ptr [esi], edx */ 4725 L_39005900: 4726 MEM32(edx + 0x8) = ecx; /* 0x39005900: mov dword ptr [edx + 8], ecx */ 4727 MEM32(ecx + 0x4) = edx; /* 0x39005903: mov dword ptr [ecx + 4], edx */ 4728 edx = MEM32(eax + 0x4); /* 0x39005906: mov edx, dword ptr [eax + 4] */ 4729 ecx = MEM32(edx); /* 0x39005909: mov ecx, dword ptr [edx] */ 4730 L_3900590B: 4731 edx = MEM32(ecx + 0x8); /* 0x3900590B: mov edx, dword ptr [ecx + 8] */ 4732 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x3900590E: cmp byte ptr [edx + 0x2c], bl */ 4733 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4734 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4735 _flag_k = FK_NARROW(FK_CMP, 24); 4736 if (CMP_NE(_flag_a, _flag_b)) goto L_390059E7; /* 0x39005911: jne 0x390059e7 */ 4737 L_39005917: 4738 edx = MEM32(ecx); /* 0x39005917: mov edx, dword ptr [ecx] */ 4739 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005919: cmp byte ptr [edx + 0x2c], bl */ 4740 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4741 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4742 _flag_k = FK_NARROW(FK_CMP, 24); 4743 if (CMP_NE(_flag_a, _flag_b)) goto L_390059E7; /* 0x3900591C: jne 0x390059e7 */ 4744 L_39005922: 4745 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39005922: mov byte ptr [ecx + 0x2c], 0 */ 4746 ecx = MEM32(edi + 0x4); /* 0x39005926: mov ecx, dword ptr [edi + 4] */ 4747 eax = MEM32(eax + 0x4); /* 0x39005929: mov eax, dword ptr [eax + 4] */ 4748 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900592C: cmp eax, dword ptr [ecx + 4] */ 4749 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 4750 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4751 _flag_k = FK_CMP; 4752 RECOMP_BACKEDGE(); 4753 if (CMP_NE(_flag_a, _flag_b)) goto L_39005838; /* 0x3900592F: jne 0x39005838 */ 4754 L_39005935: 4755 goto L_39005A86; /* 0x39005935: jmp 0x39005a86 */ 4756 L_3900593A: 4757 edx = MEM32(ecx + 0x8); /* 0x3900593A: mov edx, dword ptr [ecx + 8] */ 4758 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x3900593D: cmp byte ptr [edx + 0x2c], bl */ 4759 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4760 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4761 _flag_k = FK_NARROW(FK_CMP, 24); 4762 if (CMP_NE(_flag_a, _flag_b)) goto L_3900598B; /* 0x39005940: jne 0x3900598b */ 4763 L_39005942: 4764 edx = MEM32(ecx); /* 0x39005942: mov edx, dword ptr [ecx] */ 4765 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005944: mov byte ptr [edx + 0x2c], bl */ 4766 edx = MEM32(ecx); /* 0x39005947: mov edx, dword ptr [ecx] */ 4767 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39005949: mov byte ptr [ecx + 0x2c], 0 */ 4768 esi = MEM32(edx + 0x8); /* 0x3900594D: mov esi, dword ptr [edx + 8] */ 4769 MEM32(ecx) = esi; /* 0x39005950: mov dword ptr [ecx], esi */ 4770 esi = MEM32(edx + 0x8); /* 0x39005952: mov esi, dword ptr [edx + 8] */ 4771 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005955: cmp esi, dword ptr [edi + 8] */ 4772 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4773 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4774 _flag_k = FK_CMP; 4775 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900595D; /* 0x39005958: je 0x3900595d */ 4776 L_3900595A: 4777 MEM32(esi + 0x4) = ecx; /* 0x3900595A: mov dword ptr [esi + 4], ecx */ 4778 L_3900595D: 4779 esi = MEM32(ecx + 0x4); /* 0x3900595D: mov esi, dword ptr [ecx + 4] */ 4780 MEM32(edx + 0x4) = esi; /* 0x39005960: mov dword ptr [edx + 4], esi */ 4781 esi = MEM32(edi + 0x4); /* 0x39005963: mov esi, dword ptr [edi + 4] */ 4782 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005966: cmp ecx, dword ptr [esi + 4] */ 4783 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4784 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4785 _flag_k = FK_CMP; 4786 if (CMP_NE(_flag_a, _flag_b)) goto L_39005970; /* 0x39005969: jne 0x39005970 */ 4787 L_3900596B: 4788 MEM32(esi + 0x4) = edx; /* 0x3900596B: mov dword ptr [esi + 4], edx */ 4789 goto L_3900597F; /* 0x3900596E: jmp 0x3900597f */ 4790 L_39005970: 4791 esi = MEM32(ecx + 0x4); /* 0x39005970: mov esi, dword ptr [ecx + 4] */ 4792 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39005973: cmp ecx, dword ptr [esi + 8] */ 4793 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4794 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4795 _flag_k = FK_CMP; 4796 if (CMP_NE(_flag_a, _flag_b)) goto L_3900597D; /* 0x39005976: jne 0x3900597d */ 4797 L_39005978: 4798 MEM32(esi + 0x8) = edx; /* 0x39005978: mov dword ptr [esi + 8], edx */ 4799 goto L_3900597F; /* 0x3900597B: jmp 0x3900597f */ 4800 L_3900597D: 4801 MEM32(esi) = edx; /* 0x3900597D: mov dword ptr [esi], edx */ 4802 L_3900597F: 4803 MEM32(edx + 0x8) = ecx; /* 0x3900597F: mov dword ptr [edx + 8], ecx */ 4804 MEM32(ecx + 0x4) = edx; /* 0x39005982: mov dword ptr [ecx + 4], edx */ 4805 ecx = MEM32(eax + 0x4); /* 0x39005985: mov ecx, dword ptr [eax + 4] */ 4806 ecx = MEM32(ecx + 0x8); /* 0x39005988: mov ecx, dword ptr [ecx + 8] */ 4807 L_3900598B: 4808 edx = MEM32(eax + 0x4); /* 0x3900598B: mov edx, dword ptr [eax + 4] */ 4809 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x3900598E: mov dl, byte ptr [edx + 0x2c] */ 4810 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39005991: mov byte ptr [ecx + 0x2c], dl */ 4811 edx = MEM32(eax + 0x4); /* 0x39005994: mov edx, dword ptr [eax + 4] */ 4812 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005997: mov byte ptr [edx + 0x2c], bl */ 4813 ecx = MEM32(ecx + 0x8); /* 0x3900599A: mov ecx, dword ptr [ecx + 8] */ 4814 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x3900599D: mov byte ptr [ecx + 0x2c], bl */ 4815 ecx = MEM32(eax + 0x4); /* 0x390059A0: mov ecx, dword ptr [eax + 4] */ 4816 edx = MEM32(ecx + 0x8); /* 0x390059A3: mov edx, dword ptr [ecx + 8] */ 4817 esi = MEM32(edx); /* 0x390059A6: mov esi, dword ptr [edx] */ 4818 MEM32(ecx + 0x8) = esi; /* 0x390059A8: mov dword ptr [ecx + 8], esi */ 4819 esi = MEM32(edx); /* 0x390059AB: mov esi, dword ptr [edx] */ 4820 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390059AD: cmp esi, dword ptr [edi + 8] */ 4821 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4822 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4823 _flag_k = FK_CMP; 4824 if (CMP_EQ(_flag_a, _flag_b)) goto L_390059B5; /* 0x390059B0: je 0x390059b5 */ 4825 L_390059B2: 4826 MEM32(esi + 0x4) = ecx; /* 0x390059B2: mov dword ptr [esi + 4], ecx */ 4827 L_390059B5: 4828 esi = MEM32(ecx + 0x4); /* 0x390059B5: mov esi, dword ptr [ecx + 4] */ 4829 MEM32(edx + 0x4) = esi; /* 0x390059B8: mov dword ptr [edx + 4], esi */ 4830 esi = MEM32(edi + 0x4); /* 0x390059BB: mov esi, dword ptr [edi + 4] */ 4831 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390059BE: cmp ecx, dword ptr [esi + 4] */ 4832 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4833 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4834 _flag_k = FK_CMP; 4835 if (CMP_NE(_flag_a, _flag_b)) goto L_390059CD; /* 0x390059C1: jne 0x390059cd */ 4836 L_390059C3: 4837 MEM32(esi + 0x4) = edx; /* 0x390059C3: mov dword ptr [esi + 4], edx */ 4838 MEM32(edx) = ecx; /* 0x390059C6: mov dword ptr [edx], ecx */ 4839 goto L_39005A83; /* 0x390059C8: jmp 0x39005a83 */ 4840 L_390059CD: 4841 esi = MEM32(ecx + 0x4); /* 0x390059CD: mov esi, dword ptr [ecx + 4] */ 4842 /* cmp ecx, MEM32(esi) */ /* 0x390059D0: cmp ecx, dword ptr [esi] */ 4843 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 4844 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4845 _flag_k = FK_CMP; 4846 if (CMP_NE(_flag_a, _flag_b)) goto L_390059DD; /* 0x390059D2: jne 0x390059dd */ 4847 L_390059D4: 4848 MEM32(esi) = edx; /* 0x390059D4: mov dword ptr [esi], edx */ 4849 MEM32(edx) = ecx; /* 0x390059D6: mov dword ptr [edx], ecx */ 4850 goto L_39005A83; /* 0x390059D8: jmp 0x39005a83 */ 4851 L_390059DD: 4852 MEM32(esi + 0x8) = edx; /* 0x390059DD: mov dword ptr [esi + 8], edx */ 4853 MEM32(edx) = ecx; /* 0x390059E0: mov dword ptr [edx], ecx */ 4854 goto L_39005A83; /* 0x390059E2: jmp 0x39005a83 */ 4855 L_390059E7: 4856 edx = MEM32(ecx); /* 0x390059E7: mov edx, dword ptr [ecx] */ 4857 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390059E9: cmp byte ptr [edx + 0x2c], bl */ 4858 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4859 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4860 _flag_k = FK_NARROW(FK_CMP, 24); 4861 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A35; /* 0x390059EC: jne 0x39005a35 */ 4862 L_390059EE: 4863 edx = MEM32(ecx + 0x8); /* 0x390059EE: mov edx, dword ptr [ecx + 8] */ 4864 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x390059F1: mov byte ptr [edx + 0x2c], bl */ 4865 edx = MEM32(ecx + 0x8); /* 0x390059F4: mov edx, dword ptr [ecx + 8] */ 4866 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x390059F7: mov byte ptr [ecx + 0x2c], 0 */ 4867 esi = MEM32(edx); /* 0x390059FB: mov esi, dword ptr [edx] */ 4868 MEM32(ecx + 0x8) = esi; /* 0x390059FD: mov dword ptr [ecx + 8], esi */ 4869 esi = MEM32(edx); /* 0x39005A00: mov esi, dword ptr [edx] */ 4870 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005A02: cmp esi, dword ptr [edi + 8] */ 4871 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4872 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4873 _flag_k = FK_CMP; 4874 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005A0A; /* 0x39005A05: je 0x39005a0a */ 4875 L_39005A07: 4876 MEM32(esi + 0x4) = ecx; /* 0x39005A07: mov dword ptr [esi + 4], ecx */ 4877 L_39005A0A: 4878 esi = MEM32(ecx + 0x4); /* 0x39005A0A: mov esi, dword ptr [ecx + 4] */ 4879 MEM32(edx + 0x4) = esi; /* 0x39005A0D: mov dword ptr [edx + 4], esi */ 4880 esi = MEM32(edi + 0x4); /* 0x39005A10: mov esi, dword ptr [edi + 4] */ 4881 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005A13: cmp ecx, dword ptr [esi + 4] */ 4882 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4883 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4884 _flag_k = FK_CMP; 4885 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A1D; /* 0x39005A16: jne 0x39005a1d */ 4886 L_39005A18: 4887 MEM32(esi + 0x4) = edx; /* 0x39005A18: mov dword ptr [esi + 4], edx */ 4888 goto L_39005A2B; /* 0x39005A1B: jmp 0x39005a2b */ 4889 L_39005A1D: 4890 esi = MEM32(ecx + 0x4); /* 0x39005A1D: mov esi, dword ptr [ecx + 4] */ 4891 /* cmp ecx, MEM32(esi) */ /* 0x39005A20: cmp ecx, dword ptr [esi] */ 4892 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 4893 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4894 _flag_k = FK_CMP; 4895 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A28; /* 0x39005A22: jne 0x39005a28 */ 4896 L_39005A24: 4897 MEM32(esi) = edx; /* 0x39005A24: mov dword ptr [esi], edx */ 4898 goto L_39005A2B; /* 0x39005A26: jmp 0x39005a2b */ 4899 L_39005A28: 4900 MEM32(esi + 0x8) = edx; /* 0x39005A28: mov dword ptr [esi + 8], edx */ 4901 L_39005A2B: 4902 MEM32(edx) = ecx; /* 0x39005A2B: mov dword ptr [edx], ecx */ 4903 MEM32(ecx + 0x4) = edx; /* 0x39005A2D: mov dword ptr [ecx + 4], edx */ 4904 ecx = MEM32(eax + 0x4); /* 0x39005A30: mov ecx, dword ptr [eax + 4] */ 4905 ecx = MEM32(ecx); /* 0x39005A33: mov ecx, dword ptr [ecx] */ 4906 L_39005A35: 4907 edx = MEM32(eax + 0x4); /* 0x39005A35: mov edx, dword ptr [eax + 4] */ 4908 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x39005A38: mov dl, byte ptr [edx + 0x2c] */ 4909 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39005A3B: mov byte ptr [ecx + 0x2c], dl */ 4910 edx = MEM32(eax + 0x4); /* 0x39005A3E: mov edx, dword ptr [eax + 4] */ 4911 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A41: mov byte ptr [edx + 0x2c], bl */ 4912 ecx = MEM32(ecx); /* 0x39005A44: mov ecx, dword ptr [ecx] */ 4913 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A46: mov byte ptr [ecx + 0x2c], bl */ 4914 ecx = MEM32(eax + 0x4); /* 0x39005A49: mov ecx, dword ptr [eax + 4] */ 4915 edx = MEM32(ecx); /* 0x39005A4C: mov edx, dword ptr [ecx] */ 4916 esi = MEM32(edx + 0x8); /* 0x39005A4E: mov esi, dword ptr [edx + 8] */ 4917 MEM32(ecx) = esi; /* 0x39005A51: mov dword ptr [ecx], esi */ 4918 esi = MEM32(edx + 0x8); /* 0x39005A53: mov esi, dword ptr [edx + 8] */ 4919 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005A56: cmp esi, dword ptr [edi + 8] */ 4920 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4921 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4922 _flag_k = FK_CMP; 4923 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005A5E; /* 0x39005A59: je 0x39005a5e */ 4924 L_39005A5B: 4925 MEM32(esi + 0x4) = ecx; /* 0x39005A5B: mov dword ptr [esi + 4], ecx */ 4926 L_39005A5E: 4927 esi = MEM32(ecx + 0x4); /* 0x39005A5E: mov esi, dword ptr [ecx + 4] */ 4928 MEM32(edx + 0x4) = esi; /* 0x39005A61: mov dword ptr [edx + 4], esi */ 4929 esi = MEM32(edi + 0x4); /* 0x39005A64: mov esi, dword ptr [edi + 4] */ 4930 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005A67: cmp ecx, dword ptr [esi + 4] */ 4931 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4932 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4933 _flag_k = FK_CMP; 4934 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A71; /* 0x39005A6A: jne 0x39005a71 */ 4935 L_39005A6C: 4936 MEM32(esi + 0x4) = edx; /* 0x39005A6C: mov dword ptr [esi + 4], edx */ 4937 goto L_39005A80; /* 0x39005A6F: jmp 0x39005a80 */ 4938 L_39005A71: 4939 esi = MEM32(ecx + 0x4); /* 0x39005A71: mov esi, dword ptr [ecx + 4] */ 4940 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39005A74: cmp ecx, dword ptr [esi + 8] */ 4941 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4942 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4943 _flag_k = FK_CMP; 4944 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A7E; /* 0x39005A77: jne 0x39005a7e */ 4945 L_39005A79: 4946 MEM32(esi + 0x8) = edx; /* 0x39005A79: mov dword ptr [esi + 8], edx */ 4947 goto L_39005A80; /* 0x39005A7C: jmp 0x39005a80 */ 4948 L_39005A7E: 4949 MEM32(esi) = edx; /* 0x39005A7E: mov dword ptr [esi], edx */ 4950 L_39005A80: 4951 MEM32(edx + 0x8) = ecx; /* 0x39005A80: mov dword ptr [edx + 8], ecx */ 4952 L_39005A83: 4953 MEM32(ecx + 0x4) = edx; /* 0x39005A83: mov dword ptr [ecx + 4], edx */ 4954 L_39005A86: 4955 esi = MEM32(ebp + (-0x4)); /* 0x39005A86: mov esi, dword ptr [ebp - 4] */ 4956 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A89: mov byte ptr [eax + 0x2c], bl */ 4957 ecx = esi + 0xC; /* 0x39005A8C: lea ecx, [esi + 0xc] */ 4958 RECOMP_ICALL(0x39004670u); /* 0x39005A8F: call 0x39004670 */ /* not lifted */ 4959 RECOMP_FLAGS_IN(); 4960 PUSH32(esp, esi); /* 0x39005A94: push esi */ 4961 RECOMP_ICALL(0x3900A0A0u); /* 0x39005A95: call 0x3900a0a0 */ /* not lifted */ 4962 RECOMP_FLAGS_IN(); 4963 eax = MEM32(edi + 0x10); /* 0x39005A9A: mov eax, dword ptr [edi + 0x10] */ 4964 edx = MEM32(ebp + 0xC); /* 0x39005A9D: mov edx, dword ptr [ebp + 0xc] */ 4965 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4966 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4967 esp = esp + 4; /* 0x39005AA0: add esp, 4 */ 4968 _flag_k = FK_ADD; 4969 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 4970 eax = eax - 1; /* 0x39005AA3: dec eax */ 4971 _flag_k = FK_DEC; 4972 MEM32(edi + 0x10) = eax; /* 0x39005AA4: mov dword ptr [edi + 0x10], eax */ 4973 eax = MEM32(ebp + 0x8); /* 0x39005AA7: mov eax, dword ptr [ebp + 8] */ 4974 edi = POP32_VAL(esp); /* 0x39005AAA: pop edi */ 4975 esi = POP32_VAL(esp); /* 0x39005AAB: pop esi */ 4976 MEM32(eax) = edx; /* 0x39005AAC: mov dword ptr [eax], edx */ 4977 ebx = POP32_VAL(esp); /* 0x39005AAE: pop ebx */ 4978 esp = ebp; /* 0x39005AAF: mov esp, ebp */ 4979 ebp = POP32_VAL(esp); /* 0x39005AB1: pop ebp */ 4980 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x39005AB2: ret 8 */ 4981 RECOMP_REGS_OUT(); 4982 } 4983 4984 void sub_3900589F(void) { 4985 int _fpu_cmp = 0; 4986 uint32_t _cf = 0; 4987 int _df = 1; 4988 uint32_t _flag_k = FK_NONE; 4989 uint32_t _flag_a = 0, _flag_b = 0; 4990 uint32_t _itail_tgt = 0; 4991 RECOMP_REGS_LOCALS 4992 RECOMP_ENTER(0x3900589Fu); 4993 4994 goto L_3900589F; 4995 L_39005838: 4996 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x39005838: cmp byte ptr [eax + 0x2c], bl */ 4997 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4998 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4999 _flag_k = FK_NARROW(FK_CMP, 24); 5000 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A86; /* 0x3900583B: jne 0x39005a86 */ 5001 L_39005841: 5002 edx = MEM32(eax + 0x4); /* 0x39005841: mov edx, dword ptr [eax + 4] */ 5003 ecx = MEM32(edx); /* 0x39005844: mov ecx, dword ptr [edx] */ 5004 /* cmp eax, ecx */ /* 0x39005846: cmp eax, ecx */ 5005 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 5006 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5007 _flag_k = FK_CMP; 5008 if (CMP_NE(_flag_a, _flag_b)) goto L_390058B8; /* 0x39005848: jne 0x390058b8 */ 5009 L_3900584A: 5010 ecx = MEM32(edx + 0x8); /* 0x3900584A: mov ecx, dword ptr [edx + 8] */ 5011 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x3900584D: mov dl, byte ptr [ecx + 0x2c] */ 5012 /* test LO8(edx), LO8(edx) */ /* 0x39005850: test dl, dl */ 5013 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 5014 _cf = 0; 5015 _flag_k = FK_NARROW(FK_TEST, 24); 5016 if (TEST_NZ(_flag_a, _flag_b)) goto L_3900589F; /* 0x39005852: jne 0x3900589f */ 5017 L_39005854: 5018 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005854: mov byte ptr [ecx + 0x2c], bl */ 5019 edx = MEM32(eax + 0x4); /* 0x39005857: mov edx, dword ptr [eax + 4] */ 5020 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x3900585A: mov byte ptr [edx + 0x2c], 0 */ 5021 ecx = MEM32(eax + 0x4); /* 0x3900585E: mov ecx, dword ptr [eax + 4] */ 5022 edx = MEM32(ecx + 0x8); /* 0x39005861: mov edx, dword ptr [ecx + 8] */ 5023 esi = MEM32(edx); /* 0x39005864: mov esi, dword ptr [edx] */ 5024 MEM32(ecx + 0x8) = esi; /* 0x39005866: mov dword ptr [ecx + 8], esi */ 5025 esi = MEM32(edx); /* 0x39005869: mov esi, dword ptr [edx] */ 5026 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3900586B: cmp esi, dword ptr [edi + 8] */ 5027 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5028 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5029 _flag_k = FK_CMP; 5030 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005873; /* 0x3900586E: je 0x39005873 */ 5031 L_39005870: 5032 MEM32(esi + 0x4) = ecx; /* 0x39005870: mov dword ptr [esi + 4], ecx */ 5033 L_39005873: 5034 esi = MEM32(ecx + 0x4); /* 0x39005873: mov esi, dword ptr [ecx + 4] */ 5035 MEM32(edx + 0x4) = esi; /* 0x39005876: mov dword ptr [edx + 4], esi */ 5036 esi = MEM32(edi + 0x4); /* 0x39005879: mov esi, dword ptr [edi + 4] */ 5037 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x3900587C: cmp ecx, dword ptr [esi + 4] */ 5038 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5039 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5040 _flag_k = FK_CMP; 5041 if (CMP_NE(_flag_a, _flag_b)) goto L_39005886; /* 0x3900587F: jne 0x39005886 */ 5042 L_39005881: 5043 MEM32(esi + 0x4) = edx; /* 0x39005881: mov dword ptr [esi + 4], edx */ 5044 goto L_39005894; /* 0x39005884: jmp 0x39005894 */ 5045 L_39005886: 5046 esi = MEM32(ecx + 0x4); /* 0x39005886: mov esi, dword ptr [ecx + 4] */ 5047 /* cmp ecx, MEM32(esi) */ /* 0x39005889: cmp ecx, dword ptr [esi] */ 5048 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5049 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5050 _flag_k = FK_CMP; 5051 if (CMP_NE(_flag_a, _flag_b)) goto L_39005891; /* 0x3900588B: jne 0x39005891 */ 5052 L_3900588D: 5053 MEM32(esi) = edx; /* 0x3900588D: mov dword ptr [esi], edx */ 5054 goto L_39005894; /* 0x3900588F: jmp 0x39005894 */ 5055 L_39005891: 5056 MEM32(esi + 0x8) = edx; /* 0x39005891: mov dword ptr [esi + 8], edx */ 5057 L_39005894: 5058 MEM32(edx) = ecx; /* 0x39005894: mov dword ptr [edx], ecx */ 5059 MEM32(ecx + 0x4) = edx; /* 0x39005896: mov dword ptr [ecx + 4], edx */ 5060 ecx = MEM32(eax + 0x4); /* 0x39005899: mov ecx, dword ptr [eax + 4] */ 5061 ecx = MEM32(ecx + 0x8); /* 0x3900589C: mov ecx, dword ptr [ecx + 8] */ 5062 L_3900589F: 5063 edx = MEM32(ecx); /* 0x3900589F: mov edx, dword ptr [ecx] */ 5064 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390058A1: cmp byte ptr [edx + 0x2c], bl */ 5065 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5066 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5067 _flag_k = FK_NARROW(FK_CMP, 24); 5068 if (CMP_NE(_flag_a, _flag_b)) goto L_3900593A; /* 0x390058A4: jne 0x3900593a */ 5069 L_390058AA: 5070 edx = MEM32(ecx + 0x8); /* 0x390058AA: mov edx, dword ptr [ecx + 8] */ 5071 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390058AD: cmp byte ptr [edx + 0x2c], bl */ 5072 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5073 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5074 _flag_k = FK_NARROW(FK_CMP, 24); 5075 if (CMP_NE(_flag_a, _flag_b)) goto L_3900593A; /* 0x390058B0: jne 0x3900593a */ 5076 L_390058B6: 5077 goto L_39005922; /* 0x390058B6: jmp 0x39005922 */ 5078 L_390058B8: 5079 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x390058B8: mov dl, byte ptr [ecx + 0x2c] */ 5080 /* test LO8(edx), LO8(edx) */ /* 0x390058BB: test dl, dl */ 5081 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 5082 _cf = 0; 5083 _flag_k = FK_NARROW(FK_TEST, 24); 5084 if (TEST_NZ(_flag_a, _flag_b)) goto L_3900590B; /* 0x390058BD: jne 0x3900590b */ 5085 L_390058BF: 5086 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x390058BF: mov byte ptr [ecx + 0x2c], bl */ 5087 ecx = MEM32(eax + 0x4); /* 0x390058C2: mov ecx, dword ptr [eax + 4] */ 5088 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x390058C5: mov byte ptr [ecx + 0x2c], 0 */ 5089 ecx = MEM32(eax + 0x4); /* 0x390058C9: mov ecx, dword ptr [eax + 4] */ 5090 edx = MEM32(ecx); /* 0x390058CC: mov edx, dword ptr [ecx] */ 5091 esi = MEM32(edx + 0x8); /* 0x390058CE: mov esi, dword ptr [edx + 8] */ 5092 MEM32(ecx) = esi; /* 0x390058D1: mov dword ptr [ecx], esi */ 5093 esi = MEM32(edx + 0x8); /* 0x390058D3: mov esi, dword ptr [edx + 8] */ 5094 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390058D6: cmp esi, dword ptr [edi + 8] */ 5095 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5096 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5097 _flag_k = FK_CMP; 5098 if (CMP_EQ(_flag_a, _flag_b)) goto L_390058DE; /* 0x390058D9: je 0x390058de */ 5099 L_390058DB: 5100 MEM32(esi + 0x4) = ecx; /* 0x390058DB: mov dword ptr [esi + 4], ecx */ 5101 L_390058DE: 5102 esi = MEM32(ecx + 0x4); /* 0x390058DE: mov esi, dword ptr [ecx + 4] */ 5103 MEM32(edx + 0x4) = esi; /* 0x390058E1: mov dword ptr [edx + 4], esi */ 5104 esi = MEM32(edi + 0x4); /* 0x390058E4: mov esi, dword ptr [edi + 4] */ 5105 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390058E7: cmp ecx, dword ptr [esi + 4] */ 5106 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5107 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5108 _flag_k = FK_CMP; 5109 if (CMP_NE(_flag_a, _flag_b)) goto L_390058F1; /* 0x390058EA: jne 0x390058f1 */ 5110 L_390058EC: 5111 MEM32(esi + 0x4) = edx; /* 0x390058EC: mov dword ptr [esi + 4], edx */ 5112 goto L_39005900; /* 0x390058EF: jmp 0x39005900 */ 5113 L_390058F1: 5114 esi = MEM32(ecx + 0x4); /* 0x390058F1: mov esi, dword ptr [ecx + 4] */ 5115 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x390058F4: cmp ecx, dword ptr [esi + 8] */ 5116 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5117 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5118 _flag_k = FK_CMP; 5119 if (CMP_NE(_flag_a, _flag_b)) goto L_390058FE; /* 0x390058F7: jne 0x390058fe */ 5120 L_390058F9: 5121 MEM32(esi + 0x8) = edx; /* 0x390058F9: mov dword ptr [esi + 8], edx */ 5122 goto L_39005900; /* 0x390058FC: jmp 0x39005900 */ 5123 L_390058FE: 5124 MEM32(esi) = edx; /* 0x390058FE: mov dword ptr [esi], edx */ 5125 L_39005900: 5126 MEM32(edx + 0x8) = ecx; /* 0x39005900: mov dword ptr [edx + 8], ecx */ 5127 MEM32(ecx + 0x4) = edx; /* 0x39005903: mov dword ptr [ecx + 4], edx */ 5128 edx = MEM32(eax + 0x4); /* 0x39005906: mov edx, dword ptr [eax + 4] */ 5129 ecx = MEM32(edx); /* 0x39005909: mov ecx, dword ptr [edx] */ 5130 L_3900590B: 5131 edx = MEM32(ecx + 0x8); /* 0x3900590B: mov edx, dword ptr [ecx + 8] */ 5132 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x3900590E: cmp byte ptr [edx + 0x2c], bl */ 5133 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5134 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5135 _flag_k = FK_NARROW(FK_CMP, 24); 5136 if (CMP_NE(_flag_a, _flag_b)) goto L_390059E7; /* 0x39005911: jne 0x390059e7 */ 5137 L_39005917: 5138 edx = MEM32(ecx); /* 0x39005917: mov edx, dword ptr [ecx] */ 5139 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005919: cmp byte ptr [edx + 0x2c], bl */ 5140 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5141 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5142 _flag_k = FK_NARROW(FK_CMP, 24); 5143 if (CMP_NE(_flag_a, _flag_b)) goto L_390059E7; /* 0x3900591C: jne 0x390059e7 */ 5144 L_39005922: 5145 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39005922: mov byte ptr [ecx + 0x2c], 0 */ 5146 ecx = MEM32(edi + 0x4); /* 0x39005926: mov ecx, dword ptr [edi + 4] */ 5147 eax = MEM32(eax + 0x4); /* 0x39005929: mov eax, dword ptr [eax + 4] */ 5148 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900592C: cmp eax, dword ptr [ecx + 4] */ 5149 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 5150 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5151 _flag_k = FK_CMP; 5152 RECOMP_BACKEDGE(); 5153 if (CMP_NE(_flag_a, _flag_b)) goto L_39005838; /* 0x3900592F: jne 0x39005838 */ 5154 L_39005935: 5155 goto L_39005A86; /* 0x39005935: jmp 0x39005a86 */ 5156 L_3900593A: 5157 edx = MEM32(ecx + 0x8); /* 0x3900593A: mov edx, dword ptr [ecx + 8] */ 5158 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x3900593D: cmp byte ptr [edx + 0x2c], bl */ 5159 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5160 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5161 _flag_k = FK_NARROW(FK_CMP, 24); 5162 if (CMP_NE(_flag_a, _flag_b)) goto L_3900598B; /* 0x39005940: jne 0x3900598b */ 5163 L_39005942: 5164 edx = MEM32(ecx); /* 0x39005942: mov edx, dword ptr [ecx] */ 5165 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005944: mov byte ptr [edx + 0x2c], bl */ 5166 edx = MEM32(ecx); /* 0x39005947: mov edx, dword ptr [ecx] */ 5167 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39005949: mov byte ptr [ecx + 0x2c], 0 */ 5168 esi = MEM32(edx + 0x8); /* 0x3900594D: mov esi, dword ptr [edx + 8] */ 5169 MEM32(ecx) = esi; /* 0x39005950: mov dword ptr [ecx], esi */ 5170 esi = MEM32(edx + 0x8); /* 0x39005952: mov esi, dword ptr [edx + 8] */ 5171 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005955: cmp esi, dword ptr [edi + 8] */ 5172 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5173 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5174 _flag_k = FK_CMP; 5175 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900595D; /* 0x39005958: je 0x3900595d */ 5176 L_3900595A: 5177 MEM32(esi + 0x4) = ecx; /* 0x3900595A: mov dword ptr [esi + 4], ecx */ 5178 L_3900595D: 5179 esi = MEM32(ecx + 0x4); /* 0x3900595D: mov esi, dword ptr [ecx + 4] */ 5180 MEM32(edx + 0x4) = esi; /* 0x39005960: mov dword ptr [edx + 4], esi */ 5181 esi = MEM32(edi + 0x4); /* 0x39005963: mov esi, dword ptr [edi + 4] */ 5182 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005966: cmp ecx, dword ptr [esi + 4] */ 5183 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5184 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5185 _flag_k = FK_CMP; 5186 if (CMP_NE(_flag_a, _flag_b)) goto L_39005970; /* 0x39005969: jne 0x39005970 */ 5187 L_3900596B: 5188 MEM32(esi + 0x4) = edx; /* 0x3900596B: mov dword ptr [esi + 4], edx */ 5189 goto L_3900597F; /* 0x3900596E: jmp 0x3900597f */ 5190 L_39005970: 5191 esi = MEM32(ecx + 0x4); /* 0x39005970: mov esi, dword ptr [ecx + 4] */ 5192 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39005973: cmp ecx, dword ptr [esi + 8] */ 5193 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5194 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5195 _flag_k = FK_CMP; 5196 if (CMP_NE(_flag_a, _flag_b)) goto L_3900597D; /* 0x39005976: jne 0x3900597d */ 5197 L_39005978: 5198 MEM32(esi + 0x8) = edx; /* 0x39005978: mov dword ptr [esi + 8], edx */ 5199 goto L_3900597F; /* 0x3900597B: jmp 0x3900597f */ 5200 L_3900597D: 5201 MEM32(esi) = edx; /* 0x3900597D: mov dword ptr [esi], edx */ 5202 L_3900597F: 5203 MEM32(edx + 0x8) = ecx; /* 0x3900597F: mov dword ptr [edx + 8], ecx */ 5204 MEM32(ecx + 0x4) = edx; /* 0x39005982: mov dword ptr [ecx + 4], edx */ 5205 ecx = MEM32(eax + 0x4); /* 0x39005985: mov ecx, dword ptr [eax + 4] */ 5206 ecx = MEM32(ecx + 0x8); /* 0x39005988: mov ecx, dword ptr [ecx + 8] */ 5207 L_3900598B: 5208 edx = MEM32(eax + 0x4); /* 0x3900598B: mov edx, dword ptr [eax + 4] */ 5209 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x3900598E: mov dl, byte ptr [edx + 0x2c] */ 5210 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39005991: mov byte ptr [ecx + 0x2c], dl */ 5211 edx = MEM32(eax + 0x4); /* 0x39005994: mov edx, dword ptr [eax + 4] */ 5212 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005997: mov byte ptr [edx + 0x2c], bl */ 5213 ecx = MEM32(ecx + 0x8); /* 0x3900599A: mov ecx, dword ptr [ecx + 8] */ 5214 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x3900599D: mov byte ptr [ecx + 0x2c], bl */ 5215 ecx = MEM32(eax + 0x4); /* 0x390059A0: mov ecx, dword ptr [eax + 4] */ 5216 edx = MEM32(ecx + 0x8); /* 0x390059A3: mov edx, dword ptr [ecx + 8] */ 5217 esi = MEM32(edx); /* 0x390059A6: mov esi, dword ptr [edx] */ 5218 MEM32(ecx + 0x8) = esi; /* 0x390059A8: mov dword ptr [ecx + 8], esi */ 5219 esi = MEM32(edx); /* 0x390059AB: mov esi, dword ptr [edx] */ 5220 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390059AD: cmp esi, dword ptr [edi + 8] */ 5221 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5222 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5223 _flag_k = FK_CMP; 5224 if (CMP_EQ(_flag_a, _flag_b)) goto L_390059B5; /* 0x390059B0: je 0x390059b5 */ 5225 L_390059B2: 5226 MEM32(esi + 0x4) = ecx; /* 0x390059B2: mov dword ptr [esi + 4], ecx */ 5227 L_390059B5: 5228 esi = MEM32(ecx + 0x4); /* 0x390059B5: mov esi, dword ptr [ecx + 4] */ 5229 MEM32(edx + 0x4) = esi; /* 0x390059B8: mov dword ptr [edx + 4], esi */ 5230 esi = MEM32(edi + 0x4); /* 0x390059BB: mov esi, dword ptr [edi + 4] */ 5231 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390059BE: cmp ecx, dword ptr [esi + 4] */ 5232 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5233 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5234 _flag_k = FK_CMP; 5235 if (CMP_NE(_flag_a, _flag_b)) goto L_390059CD; /* 0x390059C1: jne 0x390059cd */ 5236 L_390059C3: 5237 MEM32(esi + 0x4) = edx; /* 0x390059C3: mov dword ptr [esi + 4], edx */ 5238 MEM32(edx) = ecx; /* 0x390059C6: mov dword ptr [edx], ecx */ 5239 goto L_39005A83; /* 0x390059C8: jmp 0x39005a83 */ 5240 L_390059CD: 5241 esi = MEM32(ecx + 0x4); /* 0x390059CD: mov esi, dword ptr [ecx + 4] */ 5242 /* cmp ecx, MEM32(esi) */ /* 0x390059D0: cmp ecx, dword ptr [esi] */ 5243 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5244 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5245 _flag_k = FK_CMP; 5246 if (CMP_NE(_flag_a, _flag_b)) goto L_390059DD; /* 0x390059D2: jne 0x390059dd */ 5247 L_390059D4: 5248 MEM32(esi) = edx; /* 0x390059D4: mov dword ptr [esi], edx */ 5249 MEM32(edx) = ecx; /* 0x390059D6: mov dword ptr [edx], ecx */ 5250 goto L_39005A83; /* 0x390059D8: jmp 0x39005a83 */ 5251 L_390059DD: 5252 MEM32(esi + 0x8) = edx; /* 0x390059DD: mov dword ptr [esi + 8], edx */ 5253 MEM32(edx) = ecx; /* 0x390059E0: mov dword ptr [edx], ecx */ 5254 goto L_39005A83; /* 0x390059E2: jmp 0x39005a83 */ 5255 L_390059E7: 5256 edx = MEM32(ecx); /* 0x390059E7: mov edx, dword ptr [ecx] */ 5257 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390059E9: cmp byte ptr [edx + 0x2c], bl */ 5258 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5259 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5260 _flag_k = FK_NARROW(FK_CMP, 24); 5261 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A35; /* 0x390059EC: jne 0x39005a35 */ 5262 L_390059EE: 5263 edx = MEM32(ecx + 0x8); /* 0x390059EE: mov edx, dword ptr [ecx + 8] */ 5264 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x390059F1: mov byte ptr [edx + 0x2c], bl */ 5265 edx = MEM32(ecx + 0x8); /* 0x390059F4: mov edx, dword ptr [ecx + 8] */ 5266 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x390059F7: mov byte ptr [ecx + 0x2c], 0 */ 5267 esi = MEM32(edx); /* 0x390059FB: mov esi, dword ptr [edx] */ 5268 MEM32(ecx + 0x8) = esi; /* 0x390059FD: mov dword ptr [ecx + 8], esi */ 5269 esi = MEM32(edx); /* 0x39005A00: mov esi, dword ptr [edx] */ 5270 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005A02: cmp esi, dword ptr [edi + 8] */ 5271 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5272 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5273 _flag_k = FK_CMP; 5274 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005A0A; /* 0x39005A05: je 0x39005a0a */ 5275 L_39005A07: 5276 MEM32(esi + 0x4) = ecx; /* 0x39005A07: mov dword ptr [esi + 4], ecx */ 5277 L_39005A0A: 5278 esi = MEM32(ecx + 0x4); /* 0x39005A0A: mov esi, dword ptr [ecx + 4] */ 5279 MEM32(edx + 0x4) = esi; /* 0x39005A0D: mov dword ptr [edx + 4], esi */ 5280 esi = MEM32(edi + 0x4); /* 0x39005A10: mov esi, dword ptr [edi + 4] */ 5281 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005A13: cmp ecx, dword ptr [esi + 4] */ 5282 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5283 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5284 _flag_k = FK_CMP; 5285 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A1D; /* 0x39005A16: jne 0x39005a1d */ 5286 L_39005A18: 5287 MEM32(esi + 0x4) = edx; /* 0x39005A18: mov dword ptr [esi + 4], edx */ 5288 goto L_39005A2B; /* 0x39005A1B: jmp 0x39005a2b */ 5289 L_39005A1D: 5290 esi = MEM32(ecx + 0x4); /* 0x39005A1D: mov esi, dword ptr [ecx + 4] */ 5291 /* cmp ecx, MEM32(esi) */ /* 0x39005A20: cmp ecx, dword ptr [esi] */ 5292 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5293 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5294 _flag_k = FK_CMP; 5295 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A28; /* 0x39005A22: jne 0x39005a28 */ 5296 L_39005A24: 5297 MEM32(esi) = edx; /* 0x39005A24: mov dword ptr [esi], edx */ 5298 goto L_39005A2B; /* 0x39005A26: jmp 0x39005a2b */ 5299 L_39005A28: 5300 MEM32(esi + 0x8) = edx; /* 0x39005A28: mov dword ptr [esi + 8], edx */ 5301 L_39005A2B: 5302 MEM32(edx) = ecx; /* 0x39005A2B: mov dword ptr [edx], ecx */ 5303 MEM32(ecx + 0x4) = edx; /* 0x39005A2D: mov dword ptr [ecx + 4], edx */ 5304 ecx = MEM32(eax + 0x4); /* 0x39005A30: mov ecx, dword ptr [eax + 4] */ 5305 ecx = MEM32(ecx); /* 0x39005A33: mov ecx, dword ptr [ecx] */ 5306 L_39005A35: 5307 edx = MEM32(eax + 0x4); /* 0x39005A35: mov edx, dword ptr [eax + 4] */ 5308 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x39005A38: mov dl, byte ptr [edx + 0x2c] */ 5309 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39005A3B: mov byte ptr [ecx + 0x2c], dl */ 5310 edx = MEM32(eax + 0x4); /* 0x39005A3E: mov edx, dword ptr [eax + 4] */ 5311 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A41: mov byte ptr [edx + 0x2c], bl */ 5312 ecx = MEM32(ecx); /* 0x39005A44: mov ecx, dword ptr [ecx] */ 5313 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A46: mov byte ptr [ecx + 0x2c], bl */ 5314 ecx = MEM32(eax + 0x4); /* 0x39005A49: mov ecx, dword ptr [eax + 4] */ 5315 edx = MEM32(ecx); /* 0x39005A4C: mov edx, dword ptr [ecx] */ 5316 esi = MEM32(edx + 0x8); /* 0x39005A4E: mov esi, dword ptr [edx + 8] */ 5317 MEM32(ecx) = esi; /* 0x39005A51: mov dword ptr [ecx], esi */ 5318 esi = MEM32(edx + 0x8); /* 0x39005A53: mov esi, dword ptr [edx + 8] */ 5319 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005A56: cmp esi, dword ptr [edi + 8] */ 5320 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5321 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5322 _flag_k = FK_CMP; 5323 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005A5E; /* 0x39005A59: je 0x39005a5e */ 5324 L_39005A5B: 5325 MEM32(esi + 0x4) = ecx; /* 0x39005A5B: mov dword ptr [esi + 4], ecx */ 5326 L_39005A5E: 5327 esi = MEM32(ecx + 0x4); /* 0x39005A5E: mov esi, dword ptr [ecx + 4] */ 5328 MEM32(edx + 0x4) = esi; /* 0x39005A61: mov dword ptr [edx + 4], esi */ 5329 esi = MEM32(edi + 0x4); /* 0x39005A64: mov esi, dword ptr [edi + 4] */ 5330 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005A67: cmp ecx, dword ptr [esi + 4] */ 5331 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5332 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5333 _flag_k = FK_CMP; 5334 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A71; /* 0x39005A6A: jne 0x39005a71 */ 5335 L_39005A6C: 5336 MEM32(esi + 0x4) = edx; /* 0x39005A6C: mov dword ptr [esi + 4], edx */ 5337 goto L_39005A80; /* 0x39005A6F: jmp 0x39005a80 */ 5338 L_39005A71: 5339 esi = MEM32(ecx + 0x4); /* 0x39005A71: mov esi, dword ptr [ecx + 4] */ 5340 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39005A74: cmp ecx, dword ptr [esi + 8] */ 5341 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5342 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5343 _flag_k = FK_CMP; 5344 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A7E; /* 0x39005A77: jne 0x39005a7e */ 5345 L_39005A79: 5346 MEM32(esi + 0x8) = edx; /* 0x39005A79: mov dword ptr [esi + 8], edx */ 5347 goto L_39005A80; /* 0x39005A7C: jmp 0x39005a80 */ 5348 L_39005A7E: 5349 MEM32(esi) = edx; /* 0x39005A7E: mov dword ptr [esi], edx */ 5350 L_39005A80: 5351 MEM32(edx + 0x8) = ecx; /* 0x39005A80: mov dword ptr [edx + 8], ecx */ 5352 L_39005A83: 5353 MEM32(ecx + 0x4) = edx; /* 0x39005A83: mov dword ptr [ecx + 4], edx */ 5354 L_39005A86: 5355 esi = MEM32(ebp + (-0x4)); /* 0x39005A86: mov esi, dword ptr [ebp - 4] */ 5356 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A89: mov byte ptr [eax + 0x2c], bl */ 5357 ecx = esi + 0xC; /* 0x39005A8C: lea ecx, [esi + 0xc] */ 5358 RECOMP_ICALL(0x39004670u); /* 0x39005A8F: call 0x39004670 */ /* not lifted */ 5359 RECOMP_FLAGS_IN(); 5360 PUSH32(esp, esi); /* 0x39005A94: push esi */ 5361 RECOMP_ICALL(0x3900A0A0u); /* 0x39005A95: call 0x3900a0a0 */ /* not lifted */ 5362 RECOMP_FLAGS_IN(); 5363 eax = MEM32(edi + 0x10); /* 0x39005A9A: mov eax, dword ptr [edi + 0x10] */ 5364 edx = MEM32(ebp + 0xC); /* 0x39005A9D: mov edx, dword ptr [ebp + 0xc] */ 5365 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5366 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5367 esp = esp + 4; /* 0x39005AA0: add esp, 4 */ 5368 _flag_k = FK_ADD; 5369 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 5370 eax = eax - 1; /* 0x39005AA3: dec eax */ 5371 _flag_k = FK_DEC; 5372 MEM32(edi + 0x10) = eax; /* 0x39005AA4: mov dword ptr [edi + 0x10], eax */ 5373 eax = MEM32(ebp + 0x8); /* 0x39005AA7: mov eax, dword ptr [ebp + 8] */ 5374 edi = POP32_VAL(esp); /* 0x39005AAA: pop edi */ 5375 esi = POP32_VAL(esp); /* 0x39005AAB: pop esi */ 5376 MEM32(eax) = edx; /* 0x39005AAC: mov dword ptr [eax], edx */ 5377 ebx = POP32_VAL(esp); /* 0x39005AAE: pop ebx */ 5378 esp = ebp; /* 0x39005AAF: mov esp, ebp */ 5379 ebp = POP32_VAL(esp); /* 0x39005AB1: pop ebp */ 5380 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x39005AB2: ret 8 */ 5381 RECOMP_REGS_OUT(); 5382 } 5383 5384 void sub_390058B8(void) { 5385 int _fpu_cmp = 0; 5386 uint32_t _cf = 0; 5387 int _df = 1; 5388 uint32_t _flag_k = FK_NONE; 5389 uint32_t _flag_a = 0, _flag_b = 0; 5390 uint32_t _itail_tgt = 0; 5391 RECOMP_REGS_LOCALS 5392 RECOMP_ENTER(0x390058B8u); 5393 5394 goto L_390058B8; 5395 L_39005838: 5396 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x39005838: cmp byte ptr [eax + 0x2c], bl */ 5397 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5398 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5399 _flag_k = FK_NARROW(FK_CMP, 24); 5400 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A86; /* 0x3900583B: jne 0x39005a86 */ 5401 L_39005841: 5402 edx = MEM32(eax + 0x4); /* 0x39005841: mov edx, dword ptr [eax + 4] */ 5403 ecx = MEM32(edx); /* 0x39005844: mov ecx, dword ptr [edx] */ 5404 /* cmp eax, ecx */ /* 0x39005846: cmp eax, ecx */ 5405 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 5406 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5407 _flag_k = FK_CMP; 5408 if (CMP_NE(_flag_a, _flag_b)) goto L_390058B8; /* 0x39005848: jne 0x390058b8 */ 5409 L_3900584A: 5410 ecx = MEM32(edx + 0x8); /* 0x3900584A: mov ecx, dword ptr [edx + 8] */ 5411 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x3900584D: mov dl, byte ptr [ecx + 0x2c] */ 5412 /* test LO8(edx), LO8(edx) */ /* 0x39005850: test dl, dl */ 5413 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 5414 _cf = 0; 5415 _flag_k = FK_NARROW(FK_TEST, 24); 5416 if (TEST_NZ(_flag_a, _flag_b)) goto L_3900589F; /* 0x39005852: jne 0x3900589f */ 5417 L_39005854: 5418 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005854: mov byte ptr [ecx + 0x2c], bl */ 5419 edx = MEM32(eax + 0x4); /* 0x39005857: mov edx, dword ptr [eax + 4] */ 5420 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x3900585A: mov byte ptr [edx + 0x2c], 0 */ 5421 ecx = MEM32(eax + 0x4); /* 0x3900585E: mov ecx, dword ptr [eax + 4] */ 5422 edx = MEM32(ecx + 0x8); /* 0x39005861: mov edx, dword ptr [ecx + 8] */ 5423 esi = MEM32(edx); /* 0x39005864: mov esi, dword ptr [edx] */ 5424 MEM32(ecx + 0x8) = esi; /* 0x39005866: mov dword ptr [ecx + 8], esi */ 5425 esi = MEM32(edx); /* 0x39005869: mov esi, dword ptr [edx] */ 5426 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3900586B: cmp esi, dword ptr [edi + 8] */ 5427 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5428 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5429 _flag_k = FK_CMP; 5430 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005873; /* 0x3900586E: je 0x39005873 */ 5431 L_39005870: 5432 MEM32(esi + 0x4) = ecx; /* 0x39005870: mov dword ptr [esi + 4], ecx */ 5433 L_39005873: 5434 esi = MEM32(ecx + 0x4); /* 0x39005873: mov esi, dword ptr [ecx + 4] */ 5435 MEM32(edx + 0x4) = esi; /* 0x39005876: mov dword ptr [edx + 4], esi */ 5436 esi = MEM32(edi + 0x4); /* 0x39005879: mov esi, dword ptr [edi + 4] */ 5437 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x3900587C: cmp ecx, dword ptr [esi + 4] */ 5438 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5439 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5440 _flag_k = FK_CMP; 5441 if (CMP_NE(_flag_a, _flag_b)) goto L_39005886; /* 0x3900587F: jne 0x39005886 */ 5442 L_39005881: 5443 MEM32(esi + 0x4) = edx; /* 0x39005881: mov dword ptr [esi + 4], edx */ 5444 goto L_39005894; /* 0x39005884: jmp 0x39005894 */ 5445 L_39005886: 5446 esi = MEM32(ecx + 0x4); /* 0x39005886: mov esi, dword ptr [ecx + 4] */ 5447 /* cmp ecx, MEM32(esi) */ /* 0x39005889: cmp ecx, dword ptr [esi] */ 5448 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5449 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5450 _flag_k = FK_CMP; 5451 if (CMP_NE(_flag_a, _flag_b)) goto L_39005891; /* 0x3900588B: jne 0x39005891 */ 5452 L_3900588D: 5453 MEM32(esi) = edx; /* 0x3900588D: mov dword ptr [esi], edx */ 5454 goto L_39005894; /* 0x3900588F: jmp 0x39005894 */ 5455 L_39005891: 5456 MEM32(esi + 0x8) = edx; /* 0x39005891: mov dword ptr [esi + 8], edx */ 5457 L_39005894: 5458 MEM32(edx) = ecx; /* 0x39005894: mov dword ptr [edx], ecx */ 5459 MEM32(ecx + 0x4) = edx; /* 0x39005896: mov dword ptr [ecx + 4], edx */ 5460 ecx = MEM32(eax + 0x4); /* 0x39005899: mov ecx, dword ptr [eax + 4] */ 5461 ecx = MEM32(ecx + 0x8); /* 0x3900589C: mov ecx, dword ptr [ecx + 8] */ 5462 L_3900589F: 5463 edx = MEM32(ecx); /* 0x3900589F: mov edx, dword ptr [ecx] */ 5464 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390058A1: cmp byte ptr [edx + 0x2c], bl */ 5465 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5466 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5467 _flag_k = FK_NARROW(FK_CMP, 24); 5468 if (CMP_NE(_flag_a, _flag_b)) goto L_3900593A; /* 0x390058A4: jne 0x3900593a */ 5469 L_390058AA: 5470 edx = MEM32(ecx + 0x8); /* 0x390058AA: mov edx, dword ptr [ecx + 8] */ 5471 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390058AD: cmp byte ptr [edx + 0x2c], bl */ 5472 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5473 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5474 _flag_k = FK_NARROW(FK_CMP, 24); 5475 if (CMP_NE(_flag_a, _flag_b)) goto L_3900593A; /* 0x390058B0: jne 0x3900593a */ 5476 L_390058B6: 5477 goto L_39005922; /* 0x390058B6: jmp 0x39005922 */ 5478 L_390058B8: 5479 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x390058B8: mov dl, byte ptr [ecx + 0x2c] */ 5480 /* test LO8(edx), LO8(edx) */ /* 0x390058BB: test dl, dl */ 5481 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 5482 _cf = 0; 5483 _flag_k = FK_NARROW(FK_TEST, 24); 5484 if (TEST_NZ(_flag_a, _flag_b)) goto L_3900590B; /* 0x390058BD: jne 0x3900590b */ 5485 L_390058BF: 5486 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x390058BF: mov byte ptr [ecx + 0x2c], bl */ 5487 ecx = MEM32(eax + 0x4); /* 0x390058C2: mov ecx, dword ptr [eax + 4] */ 5488 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x390058C5: mov byte ptr [ecx + 0x2c], 0 */ 5489 ecx = MEM32(eax + 0x4); /* 0x390058C9: mov ecx, dword ptr [eax + 4] */ 5490 edx = MEM32(ecx); /* 0x390058CC: mov edx, dword ptr [ecx] */ 5491 esi = MEM32(edx + 0x8); /* 0x390058CE: mov esi, dword ptr [edx + 8] */ 5492 MEM32(ecx) = esi; /* 0x390058D1: mov dword ptr [ecx], esi */ 5493 esi = MEM32(edx + 0x8); /* 0x390058D3: mov esi, dword ptr [edx + 8] */ 5494 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390058D6: cmp esi, dword ptr [edi + 8] */ 5495 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5496 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5497 _flag_k = FK_CMP; 5498 if (CMP_EQ(_flag_a, _flag_b)) goto L_390058DE; /* 0x390058D9: je 0x390058de */ 5499 L_390058DB: 5500 MEM32(esi + 0x4) = ecx; /* 0x390058DB: mov dword ptr [esi + 4], ecx */ 5501 L_390058DE: 5502 esi = MEM32(ecx + 0x4); /* 0x390058DE: mov esi, dword ptr [ecx + 4] */ 5503 MEM32(edx + 0x4) = esi; /* 0x390058E1: mov dword ptr [edx + 4], esi */ 5504 esi = MEM32(edi + 0x4); /* 0x390058E4: mov esi, dword ptr [edi + 4] */ 5505 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390058E7: cmp ecx, dword ptr [esi + 4] */ 5506 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5507 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5508 _flag_k = FK_CMP; 5509 if (CMP_NE(_flag_a, _flag_b)) goto L_390058F1; /* 0x390058EA: jne 0x390058f1 */ 5510 L_390058EC: 5511 MEM32(esi + 0x4) = edx; /* 0x390058EC: mov dword ptr [esi + 4], edx */ 5512 goto L_39005900; /* 0x390058EF: jmp 0x39005900 */ 5513 L_390058F1: 5514 esi = MEM32(ecx + 0x4); /* 0x390058F1: mov esi, dword ptr [ecx + 4] */ 5515 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x390058F4: cmp ecx, dword ptr [esi + 8] */ 5516 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5517 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5518 _flag_k = FK_CMP; 5519 if (CMP_NE(_flag_a, _flag_b)) goto L_390058FE; /* 0x390058F7: jne 0x390058fe */ 5520 L_390058F9: 5521 MEM32(esi + 0x8) = edx; /* 0x390058F9: mov dword ptr [esi + 8], edx */ 5522 goto L_39005900; /* 0x390058FC: jmp 0x39005900 */ 5523 L_390058FE: 5524 MEM32(esi) = edx; /* 0x390058FE: mov dword ptr [esi], edx */ 5525 L_39005900: 5526 MEM32(edx + 0x8) = ecx; /* 0x39005900: mov dword ptr [edx + 8], ecx */ 5527 MEM32(ecx + 0x4) = edx; /* 0x39005903: mov dword ptr [ecx + 4], edx */ 5528 edx = MEM32(eax + 0x4); /* 0x39005906: mov edx, dword ptr [eax + 4] */ 5529 ecx = MEM32(edx); /* 0x39005909: mov ecx, dword ptr [edx] */ 5530 L_3900590B: 5531 edx = MEM32(ecx + 0x8); /* 0x3900590B: mov edx, dword ptr [ecx + 8] */ 5532 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x3900590E: cmp byte ptr [edx + 0x2c], bl */ 5533 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5534 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5535 _flag_k = FK_NARROW(FK_CMP, 24); 5536 if (CMP_NE(_flag_a, _flag_b)) goto L_390059E7; /* 0x39005911: jne 0x390059e7 */ 5537 L_39005917: 5538 edx = MEM32(ecx); /* 0x39005917: mov edx, dword ptr [ecx] */ 5539 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005919: cmp byte ptr [edx + 0x2c], bl */ 5540 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5541 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5542 _flag_k = FK_NARROW(FK_CMP, 24); 5543 if (CMP_NE(_flag_a, _flag_b)) goto L_390059E7; /* 0x3900591C: jne 0x390059e7 */ 5544 L_39005922: 5545 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39005922: mov byte ptr [ecx + 0x2c], 0 */ 5546 ecx = MEM32(edi + 0x4); /* 0x39005926: mov ecx, dword ptr [edi + 4] */ 5547 eax = MEM32(eax + 0x4); /* 0x39005929: mov eax, dword ptr [eax + 4] */ 5548 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900592C: cmp eax, dword ptr [ecx + 4] */ 5549 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 5550 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5551 _flag_k = FK_CMP; 5552 RECOMP_BACKEDGE(); 5553 if (CMP_NE(_flag_a, _flag_b)) goto L_39005838; /* 0x3900592F: jne 0x39005838 */ 5554 L_39005935: 5555 goto L_39005A86; /* 0x39005935: jmp 0x39005a86 */ 5556 L_3900593A: 5557 edx = MEM32(ecx + 0x8); /* 0x3900593A: mov edx, dword ptr [ecx + 8] */ 5558 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x3900593D: cmp byte ptr [edx + 0x2c], bl */ 5559 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5560 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5561 _flag_k = FK_NARROW(FK_CMP, 24); 5562 if (CMP_NE(_flag_a, _flag_b)) goto L_3900598B; /* 0x39005940: jne 0x3900598b */ 5563 L_39005942: 5564 edx = MEM32(ecx); /* 0x39005942: mov edx, dword ptr [ecx] */ 5565 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005944: mov byte ptr [edx + 0x2c], bl */ 5566 edx = MEM32(ecx); /* 0x39005947: mov edx, dword ptr [ecx] */ 5567 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39005949: mov byte ptr [ecx + 0x2c], 0 */ 5568 esi = MEM32(edx + 0x8); /* 0x3900594D: mov esi, dword ptr [edx + 8] */ 5569 MEM32(ecx) = esi; /* 0x39005950: mov dword ptr [ecx], esi */ 5570 esi = MEM32(edx + 0x8); /* 0x39005952: mov esi, dword ptr [edx + 8] */ 5571 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005955: cmp esi, dword ptr [edi + 8] */ 5572 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5573 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5574 _flag_k = FK_CMP; 5575 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900595D; /* 0x39005958: je 0x3900595d */ 5576 L_3900595A: 5577 MEM32(esi + 0x4) = ecx; /* 0x3900595A: mov dword ptr [esi + 4], ecx */ 5578 L_3900595D: 5579 esi = MEM32(ecx + 0x4); /* 0x3900595D: mov esi, dword ptr [ecx + 4] */ 5580 MEM32(edx + 0x4) = esi; /* 0x39005960: mov dword ptr [edx + 4], esi */ 5581 esi = MEM32(edi + 0x4); /* 0x39005963: mov esi, dword ptr [edi + 4] */ 5582 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005966: cmp ecx, dword ptr [esi + 4] */ 5583 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5584 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5585 _flag_k = FK_CMP; 5586 if (CMP_NE(_flag_a, _flag_b)) goto L_39005970; /* 0x39005969: jne 0x39005970 */ 5587 L_3900596B: 5588 MEM32(esi + 0x4) = edx; /* 0x3900596B: mov dword ptr [esi + 4], edx */ 5589 goto L_3900597F; /* 0x3900596E: jmp 0x3900597f */ 5590 L_39005970: 5591 esi = MEM32(ecx + 0x4); /* 0x39005970: mov esi, dword ptr [ecx + 4] */ 5592 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39005973: cmp ecx, dword ptr [esi + 8] */ 5593 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5594 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5595 _flag_k = FK_CMP; 5596 if (CMP_NE(_flag_a, _flag_b)) goto L_3900597D; /* 0x39005976: jne 0x3900597d */ 5597 L_39005978: 5598 MEM32(esi + 0x8) = edx; /* 0x39005978: mov dword ptr [esi + 8], edx */ 5599 goto L_3900597F; /* 0x3900597B: jmp 0x3900597f */ 5600 L_3900597D: 5601 MEM32(esi) = edx; /* 0x3900597D: mov dword ptr [esi], edx */ 5602 L_3900597F: 5603 MEM32(edx + 0x8) = ecx; /* 0x3900597F: mov dword ptr [edx + 8], ecx */ 5604 MEM32(ecx + 0x4) = edx; /* 0x39005982: mov dword ptr [ecx + 4], edx */ 5605 ecx = MEM32(eax + 0x4); /* 0x39005985: mov ecx, dword ptr [eax + 4] */ 5606 ecx = MEM32(ecx + 0x8); /* 0x39005988: mov ecx, dword ptr [ecx + 8] */ 5607 L_3900598B: 5608 edx = MEM32(eax + 0x4); /* 0x3900598B: mov edx, dword ptr [eax + 4] */ 5609 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x3900598E: mov dl, byte ptr [edx + 0x2c] */ 5610 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39005991: mov byte ptr [ecx + 0x2c], dl */ 5611 edx = MEM32(eax + 0x4); /* 0x39005994: mov edx, dword ptr [eax + 4] */ 5612 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005997: mov byte ptr [edx + 0x2c], bl */ 5613 ecx = MEM32(ecx + 0x8); /* 0x3900599A: mov ecx, dword ptr [ecx + 8] */ 5614 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x3900599D: mov byte ptr [ecx + 0x2c], bl */ 5615 ecx = MEM32(eax + 0x4); /* 0x390059A0: mov ecx, dword ptr [eax + 4] */ 5616 edx = MEM32(ecx + 0x8); /* 0x390059A3: mov edx, dword ptr [ecx + 8] */ 5617 esi = MEM32(edx); /* 0x390059A6: mov esi, dword ptr [edx] */ 5618 MEM32(ecx + 0x8) = esi; /* 0x390059A8: mov dword ptr [ecx + 8], esi */ 5619 esi = MEM32(edx); /* 0x390059AB: mov esi, dword ptr [edx] */ 5620 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390059AD: cmp esi, dword ptr [edi + 8] */ 5621 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5622 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5623 _flag_k = FK_CMP; 5624 if (CMP_EQ(_flag_a, _flag_b)) goto L_390059B5; /* 0x390059B0: je 0x390059b5 */ 5625 L_390059B2: 5626 MEM32(esi + 0x4) = ecx; /* 0x390059B2: mov dword ptr [esi + 4], ecx */ 5627 L_390059B5: 5628 esi = MEM32(ecx + 0x4); /* 0x390059B5: mov esi, dword ptr [ecx + 4] */ 5629 MEM32(edx + 0x4) = esi; /* 0x390059B8: mov dword ptr [edx + 4], esi */ 5630 esi = MEM32(edi + 0x4); /* 0x390059BB: mov esi, dword ptr [edi + 4] */ 5631 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390059BE: cmp ecx, dword ptr [esi + 4] */ 5632 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5633 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5634 _flag_k = FK_CMP; 5635 if (CMP_NE(_flag_a, _flag_b)) goto L_390059CD; /* 0x390059C1: jne 0x390059cd */ 5636 L_390059C3: 5637 MEM32(esi + 0x4) = edx; /* 0x390059C3: mov dword ptr [esi + 4], edx */ 5638 MEM32(edx) = ecx; /* 0x390059C6: mov dword ptr [edx], ecx */ 5639 goto L_39005A83; /* 0x390059C8: jmp 0x39005a83 */ 5640 L_390059CD: 5641 esi = MEM32(ecx + 0x4); /* 0x390059CD: mov esi, dword ptr [ecx + 4] */ 5642 /* cmp ecx, MEM32(esi) */ /* 0x390059D0: cmp ecx, dword ptr [esi] */ 5643 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5644 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5645 _flag_k = FK_CMP; 5646 if (CMP_NE(_flag_a, _flag_b)) goto L_390059DD; /* 0x390059D2: jne 0x390059dd */ 5647 L_390059D4: 5648 MEM32(esi) = edx; /* 0x390059D4: mov dword ptr [esi], edx */ 5649 MEM32(edx) = ecx; /* 0x390059D6: mov dword ptr [edx], ecx */ 5650 goto L_39005A83; /* 0x390059D8: jmp 0x39005a83 */ 5651 L_390059DD: 5652 MEM32(esi + 0x8) = edx; /* 0x390059DD: mov dword ptr [esi + 8], edx */ 5653 MEM32(edx) = ecx; /* 0x390059E0: mov dword ptr [edx], ecx */ 5654 goto L_39005A83; /* 0x390059E2: jmp 0x39005a83 */ 5655 L_390059E7: 5656 edx = MEM32(ecx); /* 0x390059E7: mov edx, dword ptr [ecx] */ 5657 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390059E9: cmp byte ptr [edx + 0x2c], bl */ 5658 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5659 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5660 _flag_k = FK_NARROW(FK_CMP, 24); 5661 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A35; /* 0x390059EC: jne 0x39005a35 */ 5662 L_390059EE: 5663 edx = MEM32(ecx + 0x8); /* 0x390059EE: mov edx, dword ptr [ecx + 8] */ 5664 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x390059F1: mov byte ptr [edx + 0x2c], bl */ 5665 edx = MEM32(ecx + 0x8); /* 0x390059F4: mov edx, dword ptr [ecx + 8] */ 5666 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x390059F7: mov byte ptr [ecx + 0x2c], 0 */ 5667 esi = MEM32(edx); /* 0x390059FB: mov esi, dword ptr [edx] */ 5668 MEM32(ecx + 0x8) = esi; /* 0x390059FD: mov dword ptr [ecx + 8], esi */ 5669 esi = MEM32(edx); /* 0x39005A00: mov esi, dword ptr [edx] */ 5670 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005A02: cmp esi, dword ptr [edi + 8] */ 5671 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5672 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5673 _flag_k = FK_CMP; 5674 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005A0A; /* 0x39005A05: je 0x39005a0a */ 5675 L_39005A07: 5676 MEM32(esi + 0x4) = ecx; /* 0x39005A07: mov dword ptr [esi + 4], ecx */ 5677 L_39005A0A: 5678 esi = MEM32(ecx + 0x4); /* 0x39005A0A: mov esi, dword ptr [ecx + 4] */ 5679 MEM32(edx + 0x4) = esi; /* 0x39005A0D: mov dword ptr [edx + 4], esi */ 5680 esi = MEM32(edi + 0x4); /* 0x39005A10: mov esi, dword ptr [edi + 4] */ 5681 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005A13: cmp ecx, dword ptr [esi + 4] */ 5682 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5683 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5684 _flag_k = FK_CMP; 5685 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A1D; /* 0x39005A16: jne 0x39005a1d */ 5686 L_39005A18: 5687 MEM32(esi + 0x4) = edx; /* 0x39005A18: mov dword ptr [esi + 4], edx */ 5688 goto L_39005A2B; /* 0x39005A1B: jmp 0x39005a2b */ 5689 L_39005A1D: 5690 esi = MEM32(ecx + 0x4); /* 0x39005A1D: mov esi, dword ptr [ecx + 4] */ 5691 /* cmp ecx, MEM32(esi) */ /* 0x39005A20: cmp ecx, dword ptr [esi] */ 5692 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5693 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5694 _flag_k = FK_CMP; 5695 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A28; /* 0x39005A22: jne 0x39005a28 */ 5696 L_39005A24: 5697 MEM32(esi) = edx; /* 0x39005A24: mov dword ptr [esi], edx */ 5698 goto L_39005A2B; /* 0x39005A26: jmp 0x39005a2b */ 5699 L_39005A28: 5700 MEM32(esi + 0x8) = edx; /* 0x39005A28: mov dword ptr [esi + 8], edx */ 5701 L_39005A2B: 5702 MEM32(edx) = ecx; /* 0x39005A2B: mov dword ptr [edx], ecx */ 5703 MEM32(ecx + 0x4) = edx; /* 0x39005A2D: mov dword ptr [ecx + 4], edx */ 5704 ecx = MEM32(eax + 0x4); /* 0x39005A30: mov ecx, dword ptr [eax + 4] */ 5705 ecx = MEM32(ecx); /* 0x39005A33: mov ecx, dword ptr [ecx] */ 5706 L_39005A35: 5707 edx = MEM32(eax + 0x4); /* 0x39005A35: mov edx, dword ptr [eax + 4] */ 5708 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x39005A38: mov dl, byte ptr [edx + 0x2c] */ 5709 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39005A3B: mov byte ptr [ecx + 0x2c], dl */ 5710 edx = MEM32(eax + 0x4); /* 0x39005A3E: mov edx, dword ptr [eax + 4] */ 5711 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A41: mov byte ptr [edx + 0x2c], bl */ 5712 ecx = MEM32(ecx); /* 0x39005A44: mov ecx, dword ptr [ecx] */ 5713 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A46: mov byte ptr [ecx + 0x2c], bl */ 5714 ecx = MEM32(eax + 0x4); /* 0x39005A49: mov ecx, dword ptr [eax + 4] */ 5715 edx = MEM32(ecx); /* 0x39005A4C: mov edx, dword ptr [ecx] */ 5716 esi = MEM32(edx + 0x8); /* 0x39005A4E: mov esi, dword ptr [edx + 8] */ 5717 MEM32(ecx) = esi; /* 0x39005A51: mov dword ptr [ecx], esi */ 5718 esi = MEM32(edx + 0x8); /* 0x39005A53: mov esi, dword ptr [edx + 8] */ 5719 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005A56: cmp esi, dword ptr [edi + 8] */ 5720 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5721 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5722 _flag_k = FK_CMP; 5723 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005A5E; /* 0x39005A59: je 0x39005a5e */ 5724 L_39005A5B: 5725 MEM32(esi + 0x4) = ecx; /* 0x39005A5B: mov dword ptr [esi + 4], ecx */ 5726 L_39005A5E: 5727 esi = MEM32(ecx + 0x4); /* 0x39005A5E: mov esi, dword ptr [ecx + 4] */ 5728 MEM32(edx + 0x4) = esi; /* 0x39005A61: mov dword ptr [edx + 4], esi */ 5729 esi = MEM32(edi + 0x4); /* 0x39005A64: mov esi, dword ptr [edi + 4] */ 5730 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005A67: cmp ecx, dword ptr [esi + 4] */ 5731 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5732 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5733 _flag_k = FK_CMP; 5734 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A71; /* 0x39005A6A: jne 0x39005a71 */ 5735 L_39005A6C: 5736 MEM32(esi + 0x4) = edx; /* 0x39005A6C: mov dword ptr [esi + 4], edx */ 5737 goto L_39005A80; /* 0x39005A6F: jmp 0x39005a80 */ 5738 L_39005A71: 5739 esi = MEM32(ecx + 0x4); /* 0x39005A71: mov esi, dword ptr [ecx + 4] */ 5740 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39005A74: cmp ecx, dword ptr [esi + 8] */ 5741 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5742 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5743 _flag_k = FK_CMP; 5744 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A7E; /* 0x39005A77: jne 0x39005a7e */ 5745 L_39005A79: 5746 MEM32(esi + 0x8) = edx; /* 0x39005A79: mov dword ptr [esi + 8], edx */ 5747 goto L_39005A80; /* 0x39005A7C: jmp 0x39005a80 */ 5748 L_39005A7E: 5749 MEM32(esi) = edx; /* 0x39005A7E: mov dword ptr [esi], edx */ 5750 L_39005A80: 5751 MEM32(edx + 0x8) = ecx; /* 0x39005A80: mov dword ptr [edx + 8], ecx */ 5752 L_39005A83: 5753 MEM32(ecx + 0x4) = edx; /* 0x39005A83: mov dword ptr [ecx + 4], edx */ 5754 L_39005A86: 5755 esi = MEM32(ebp + (-0x4)); /* 0x39005A86: mov esi, dword ptr [ebp - 4] */ 5756 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A89: mov byte ptr [eax + 0x2c], bl */ 5757 ecx = esi + 0xC; /* 0x39005A8C: lea ecx, [esi + 0xc] */ 5758 RECOMP_ICALL(0x39004670u); /* 0x39005A8F: call 0x39004670 */ /* not lifted */ 5759 RECOMP_FLAGS_IN(); 5760 PUSH32(esp, esi); /* 0x39005A94: push esi */ 5761 RECOMP_ICALL(0x3900A0A0u); /* 0x39005A95: call 0x3900a0a0 */ /* not lifted */ 5762 RECOMP_FLAGS_IN(); 5763 eax = MEM32(edi + 0x10); /* 0x39005A9A: mov eax, dword ptr [edi + 0x10] */ 5764 edx = MEM32(ebp + 0xC); /* 0x39005A9D: mov edx, dword ptr [ebp + 0xc] */ 5765 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5766 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5767 esp = esp + 4; /* 0x39005AA0: add esp, 4 */ 5768 _flag_k = FK_ADD; 5769 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 5770 eax = eax - 1; /* 0x39005AA3: dec eax */ 5771 _flag_k = FK_DEC; 5772 MEM32(edi + 0x10) = eax; /* 0x39005AA4: mov dword ptr [edi + 0x10], eax */ 5773 eax = MEM32(ebp + 0x8); /* 0x39005AA7: mov eax, dword ptr [ebp + 8] */ 5774 edi = POP32_VAL(esp); /* 0x39005AAA: pop edi */ 5775 esi = POP32_VAL(esp); /* 0x39005AAB: pop esi */ 5776 MEM32(eax) = edx; /* 0x39005AAC: mov dword ptr [eax], edx */ 5777 ebx = POP32_VAL(esp); /* 0x39005AAE: pop ebx */ 5778 esp = ebp; /* 0x39005AAF: mov esp, ebp */ 5779 ebp = POP32_VAL(esp); /* 0x39005AB1: pop ebp */ 5780 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x39005AB2: ret 8 */ 5781 RECOMP_REGS_OUT(); 5782 } 5783 5784 void sub_39005900(void) { 5785 int _fpu_cmp = 0; 5786 uint32_t _cf = 0; 5787 int _df = 1; 5788 uint32_t _flag_k = FK_NONE; 5789 uint32_t _flag_a = 0, _flag_b = 0; 5790 uint32_t _itail_tgt = 0; 5791 RECOMP_REGS_LOCALS 5792 RECOMP_ENTER(0x39005900u); 5793 5794 goto L_39005900; 5795 L_39005838: 5796 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x39005838: cmp byte ptr [eax + 0x2c], bl */ 5797 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5798 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5799 _flag_k = FK_NARROW(FK_CMP, 24); 5800 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A86; /* 0x3900583B: jne 0x39005a86 */ 5801 L_39005841: 5802 edx = MEM32(eax + 0x4); /* 0x39005841: mov edx, dword ptr [eax + 4] */ 5803 ecx = MEM32(edx); /* 0x39005844: mov ecx, dword ptr [edx] */ 5804 /* cmp eax, ecx */ /* 0x39005846: cmp eax, ecx */ 5805 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 5806 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5807 _flag_k = FK_CMP; 5808 if (CMP_NE(_flag_a, _flag_b)) goto L_390058B8; /* 0x39005848: jne 0x390058b8 */ 5809 L_3900584A: 5810 ecx = MEM32(edx + 0x8); /* 0x3900584A: mov ecx, dword ptr [edx + 8] */ 5811 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x3900584D: mov dl, byte ptr [ecx + 0x2c] */ 5812 /* test LO8(edx), LO8(edx) */ /* 0x39005850: test dl, dl */ 5813 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 5814 _cf = 0; 5815 _flag_k = FK_NARROW(FK_TEST, 24); 5816 if (TEST_NZ(_flag_a, _flag_b)) goto L_3900589F; /* 0x39005852: jne 0x3900589f */ 5817 L_39005854: 5818 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005854: mov byte ptr [ecx + 0x2c], bl */ 5819 edx = MEM32(eax + 0x4); /* 0x39005857: mov edx, dword ptr [eax + 4] */ 5820 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x3900585A: mov byte ptr [edx + 0x2c], 0 */ 5821 ecx = MEM32(eax + 0x4); /* 0x3900585E: mov ecx, dword ptr [eax + 4] */ 5822 edx = MEM32(ecx + 0x8); /* 0x39005861: mov edx, dword ptr [ecx + 8] */ 5823 esi = MEM32(edx); /* 0x39005864: mov esi, dword ptr [edx] */ 5824 MEM32(ecx + 0x8) = esi; /* 0x39005866: mov dword ptr [ecx + 8], esi */ 5825 esi = MEM32(edx); /* 0x39005869: mov esi, dword ptr [edx] */ 5826 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3900586B: cmp esi, dword ptr [edi + 8] */ 5827 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5828 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5829 _flag_k = FK_CMP; 5830 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005873; /* 0x3900586E: je 0x39005873 */ 5831 L_39005870: 5832 MEM32(esi + 0x4) = ecx; /* 0x39005870: mov dword ptr [esi + 4], ecx */ 5833 L_39005873: 5834 esi = MEM32(ecx + 0x4); /* 0x39005873: mov esi, dword ptr [ecx + 4] */ 5835 MEM32(edx + 0x4) = esi; /* 0x39005876: mov dword ptr [edx + 4], esi */ 5836 esi = MEM32(edi + 0x4); /* 0x39005879: mov esi, dword ptr [edi + 4] */ 5837 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x3900587C: cmp ecx, dword ptr [esi + 4] */ 5838 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5839 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5840 _flag_k = FK_CMP; 5841 if (CMP_NE(_flag_a, _flag_b)) goto L_39005886; /* 0x3900587F: jne 0x39005886 */ 5842 L_39005881: 5843 MEM32(esi + 0x4) = edx; /* 0x39005881: mov dword ptr [esi + 4], edx */ 5844 goto L_39005894; /* 0x39005884: jmp 0x39005894 */ 5845 L_39005886: 5846 esi = MEM32(ecx + 0x4); /* 0x39005886: mov esi, dword ptr [ecx + 4] */ 5847 /* cmp ecx, MEM32(esi) */ /* 0x39005889: cmp ecx, dword ptr [esi] */ 5848 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5849 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5850 _flag_k = FK_CMP; 5851 if (CMP_NE(_flag_a, _flag_b)) goto L_39005891; /* 0x3900588B: jne 0x39005891 */ 5852 L_3900588D: 5853 MEM32(esi) = edx; /* 0x3900588D: mov dword ptr [esi], edx */ 5854 goto L_39005894; /* 0x3900588F: jmp 0x39005894 */ 5855 L_39005891: 5856 MEM32(esi + 0x8) = edx; /* 0x39005891: mov dword ptr [esi + 8], edx */ 5857 L_39005894: 5858 MEM32(edx) = ecx; /* 0x39005894: mov dword ptr [edx], ecx */ 5859 MEM32(ecx + 0x4) = edx; /* 0x39005896: mov dword ptr [ecx + 4], edx */ 5860 ecx = MEM32(eax + 0x4); /* 0x39005899: mov ecx, dword ptr [eax + 4] */ 5861 ecx = MEM32(ecx + 0x8); /* 0x3900589C: mov ecx, dword ptr [ecx + 8] */ 5862 L_3900589F: 5863 edx = MEM32(ecx); /* 0x3900589F: mov edx, dword ptr [ecx] */ 5864 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390058A1: cmp byte ptr [edx + 0x2c], bl */ 5865 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5866 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5867 _flag_k = FK_NARROW(FK_CMP, 24); 5868 if (CMP_NE(_flag_a, _flag_b)) goto L_3900593A; /* 0x390058A4: jne 0x3900593a */ 5869 L_390058AA: 5870 edx = MEM32(ecx + 0x8); /* 0x390058AA: mov edx, dword ptr [ecx + 8] */ 5871 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390058AD: cmp byte ptr [edx + 0x2c], bl */ 5872 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5873 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5874 _flag_k = FK_NARROW(FK_CMP, 24); 5875 if (CMP_NE(_flag_a, _flag_b)) goto L_3900593A; /* 0x390058B0: jne 0x3900593a */ 5876 L_390058B6: 5877 goto L_39005922; /* 0x390058B6: jmp 0x39005922 */ 5878 L_390058B8: 5879 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x390058B8: mov dl, byte ptr [ecx + 0x2c] */ 5880 /* test LO8(edx), LO8(edx) */ /* 0x390058BB: test dl, dl */ 5881 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 5882 _cf = 0; 5883 _flag_k = FK_NARROW(FK_TEST, 24); 5884 if (TEST_NZ(_flag_a, _flag_b)) goto L_3900590B; /* 0x390058BD: jne 0x3900590b */ 5885 L_390058BF: 5886 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x390058BF: mov byte ptr [ecx + 0x2c], bl */ 5887 ecx = MEM32(eax + 0x4); /* 0x390058C2: mov ecx, dword ptr [eax + 4] */ 5888 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x390058C5: mov byte ptr [ecx + 0x2c], 0 */ 5889 ecx = MEM32(eax + 0x4); /* 0x390058C9: mov ecx, dword ptr [eax + 4] */ 5890 edx = MEM32(ecx); /* 0x390058CC: mov edx, dword ptr [ecx] */ 5891 esi = MEM32(edx + 0x8); /* 0x390058CE: mov esi, dword ptr [edx + 8] */ 5892 MEM32(ecx) = esi; /* 0x390058D1: mov dword ptr [ecx], esi */ 5893 esi = MEM32(edx + 0x8); /* 0x390058D3: mov esi, dword ptr [edx + 8] */ 5894 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390058D6: cmp esi, dword ptr [edi + 8] */ 5895 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5896 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5897 _flag_k = FK_CMP; 5898 if (CMP_EQ(_flag_a, _flag_b)) goto L_390058DE; /* 0x390058D9: je 0x390058de */ 5899 L_390058DB: 5900 MEM32(esi + 0x4) = ecx; /* 0x390058DB: mov dword ptr [esi + 4], ecx */ 5901 L_390058DE: 5902 esi = MEM32(ecx + 0x4); /* 0x390058DE: mov esi, dword ptr [ecx + 4] */ 5903 MEM32(edx + 0x4) = esi; /* 0x390058E1: mov dword ptr [edx + 4], esi */ 5904 esi = MEM32(edi + 0x4); /* 0x390058E4: mov esi, dword ptr [edi + 4] */ 5905 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390058E7: cmp ecx, dword ptr [esi + 4] */ 5906 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5907 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5908 _flag_k = FK_CMP; 5909 if (CMP_NE(_flag_a, _flag_b)) goto L_390058F1; /* 0x390058EA: jne 0x390058f1 */ 5910 L_390058EC: 5911 MEM32(esi + 0x4) = edx; /* 0x390058EC: mov dword ptr [esi + 4], edx */ 5912 goto L_39005900; /* 0x390058EF: jmp 0x39005900 */ 5913 L_390058F1: 5914 esi = MEM32(ecx + 0x4); /* 0x390058F1: mov esi, dword ptr [ecx + 4] */ 5915 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x390058F4: cmp ecx, dword ptr [esi + 8] */ 5916 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5917 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5918 _flag_k = FK_CMP; 5919 if (CMP_NE(_flag_a, _flag_b)) goto L_390058FE; /* 0x390058F7: jne 0x390058fe */ 5920 L_390058F9: 5921 MEM32(esi + 0x8) = edx; /* 0x390058F9: mov dword ptr [esi + 8], edx */ 5922 goto L_39005900; /* 0x390058FC: jmp 0x39005900 */ 5923 L_390058FE: 5924 MEM32(esi) = edx; /* 0x390058FE: mov dword ptr [esi], edx */ 5925 L_39005900: 5926 MEM32(edx + 0x8) = ecx; /* 0x39005900: mov dword ptr [edx + 8], ecx */ 5927 MEM32(ecx + 0x4) = edx; /* 0x39005903: mov dword ptr [ecx + 4], edx */ 5928 edx = MEM32(eax + 0x4); /* 0x39005906: mov edx, dword ptr [eax + 4] */ 5929 ecx = MEM32(edx); /* 0x39005909: mov ecx, dword ptr [edx] */ 5930 L_3900590B: 5931 edx = MEM32(ecx + 0x8); /* 0x3900590B: mov edx, dword ptr [ecx + 8] */ 5932 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x3900590E: cmp byte ptr [edx + 0x2c], bl */ 5933 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5934 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5935 _flag_k = FK_NARROW(FK_CMP, 24); 5936 if (CMP_NE(_flag_a, _flag_b)) goto L_390059E7; /* 0x39005911: jne 0x390059e7 */ 5937 L_39005917: 5938 edx = MEM32(ecx); /* 0x39005917: mov edx, dword ptr [ecx] */ 5939 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005919: cmp byte ptr [edx + 0x2c], bl */ 5940 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5941 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5942 _flag_k = FK_NARROW(FK_CMP, 24); 5943 if (CMP_NE(_flag_a, _flag_b)) goto L_390059E7; /* 0x3900591C: jne 0x390059e7 */ 5944 L_39005922: 5945 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39005922: mov byte ptr [ecx + 0x2c], 0 */ 5946 ecx = MEM32(edi + 0x4); /* 0x39005926: mov ecx, dword ptr [edi + 4] */ 5947 eax = MEM32(eax + 0x4); /* 0x39005929: mov eax, dword ptr [eax + 4] */ 5948 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900592C: cmp eax, dword ptr [ecx + 4] */ 5949 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 5950 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5951 _flag_k = FK_CMP; 5952 RECOMP_BACKEDGE(); 5953 if (CMP_NE(_flag_a, _flag_b)) goto L_39005838; /* 0x3900592F: jne 0x39005838 */ 5954 L_39005935: 5955 goto L_39005A86; /* 0x39005935: jmp 0x39005a86 */ 5956 L_3900593A: 5957 edx = MEM32(ecx + 0x8); /* 0x3900593A: mov edx, dword ptr [ecx + 8] */ 5958 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x3900593D: cmp byte ptr [edx + 0x2c], bl */ 5959 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5960 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5961 _flag_k = FK_NARROW(FK_CMP, 24); 5962 if (CMP_NE(_flag_a, _flag_b)) goto L_3900598B; /* 0x39005940: jne 0x3900598b */ 5963 L_39005942: 5964 edx = MEM32(ecx); /* 0x39005942: mov edx, dword ptr [ecx] */ 5965 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005944: mov byte ptr [edx + 0x2c], bl */ 5966 edx = MEM32(ecx); /* 0x39005947: mov edx, dword ptr [ecx] */ 5967 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39005949: mov byte ptr [ecx + 0x2c], 0 */ 5968 esi = MEM32(edx + 0x8); /* 0x3900594D: mov esi, dword ptr [edx + 8] */ 5969 MEM32(ecx) = esi; /* 0x39005950: mov dword ptr [ecx], esi */ 5970 esi = MEM32(edx + 0x8); /* 0x39005952: mov esi, dword ptr [edx + 8] */ 5971 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005955: cmp esi, dword ptr [edi + 8] */ 5972 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5973 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5974 _flag_k = FK_CMP; 5975 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900595D; /* 0x39005958: je 0x3900595d */ 5976 L_3900595A: 5977 MEM32(esi + 0x4) = ecx; /* 0x3900595A: mov dword ptr [esi + 4], ecx */ 5978 L_3900595D: 5979 esi = MEM32(ecx + 0x4); /* 0x3900595D: mov esi, dword ptr [ecx + 4] */ 5980 MEM32(edx + 0x4) = esi; /* 0x39005960: mov dword ptr [edx + 4], esi */ 5981 esi = MEM32(edi + 0x4); /* 0x39005963: mov esi, dword ptr [edi + 4] */ 5982 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005966: cmp ecx, dword ptr [esi + 4] */ 5983 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5984 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5985 _flag_k = FK_CMP; 5986 if (CMP_NE(_flag_a, _flag_b)) goto L_39005970; /* 0x39005969: jne 0x39005970 */ 5987 L_3900596B: 5988 MEM32(esi + 0x4) = edx; /* 0x3900596B: mov dword ptr [esi + 4], edx */ 5989 goto L_3900597F; /* 0x3900596E: jmp 0x3900597f */ 5990 L_39005970: 5991 esi = MEM32(ecx + 0x4); /* 0x39005970: mov esi, dword ptr [ecx + 4] */ 5992 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39005973: cmp ecx, dword ptr [esi + 8] */ 5993 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5994 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5995 _flag_k = FK_CMP; 5996 if (CMP_NE(_flag_a, _flag_b)) goto L_3900597D; /* 0x39005976: jne 0x3900597d */ 5997 L_39005978: 5998 MEM32(esi + 0x8) = edx; /* 0x39005978: mov dword ptr [esi + 8], edx */ 5999 goto L_3900597F; /* 0x3900597B: jmp 0x3900597f */ 6000 L_3900597D: 6001 MEM32(esi) = edx; /* 0x3900597D: mov dword ptr [esi], edx */ 6002 L_3900597F: 6003 MEM32(edx + 0x8) = ecx; /* 0x3900597F: mov dword ptr [edx + 8], ecx */ 6004 MEM32(ecx + 0x4) = edx; /* 0x39005982: mov dword ptr [ecx + 4], edx */ 6005 ecx = MEM32(eax + 0x4); /* 0x39005985: mov ecx, dword ptr [eax + 4] */ 6006 ecx = MEM32(ecx + 0x8); /* 0x39005988: mov ecx, dword ptr [ecx + 8] */ 6007 L_3900598B: 6008 edx = MEM32(eax + 0x4); /* 0x3900598B: mov edx, dword ptr [eax + 4] */ 6009 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x3900598E: mov dl, byte ptr [edx + 0x2c] */ 6010 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39005991: mov byte ptr [ecx + 0x2c], dl */ 6011 edx = MEM32(eax + 0x4); /* 0x39005994: mov edx, dword ptr [eax + 4] */ 6012 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005997: mov byte ptr [edx + 0x2c], bl */ 6013 ecx = MEM32(ecx + 0x8); /* 0x3900599A: mov ecx, dword ptr [ecx + 8] */ 6014 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x3900599D: mov byte ptr [ecx + 0x2c], bl */ 6015 ecx = MEM32(eax + 0x4); /* 0x390059A0: mov ecx, dword ptr [eax + 4] */ 6016 edx = MEM32(ecx + 0x8); /* 0x390059A3: mov edx, dword ptr [ecx + 8] */ 6017 esi = MEM32(edx); /* 0x390059A6: mov esi, dword ptr [edx] */ 6018 MEM32(ecx + 0x8) = esi; /* 0x390059A8: mov dword ptr [ecx + 8], esi */ 6019 esi = MEM32(edx); /* 0x390059AB: mov esi, dword ptr [edx] */ 6020 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390059AD: cmp esi, dword ptr [edi + 8] */ 6021 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6022 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6023 _flag_k = FK_CMP; 6024 if (CMP_EQ(_flag_a, _flag_b)) goto L_390059B5; /* 0x390059B0: je 0x390059b5 */ 6025 L_390059B2: 6026 MEM32(esi + 0x4) = ecx; /* 0x390059B2: mov dword ptr [esi + 4], ecx */ 6027 L_390059B5: 6028 esi = MEM32(ecx + 0x4); /* 0x390059B5: mov esi, dword ptr [ecx + 4] */ 6029 MEM32(edx + 0x4) = esi; /* 0x390059B8: mov dword ptr [edx + 4], esi */ 6030 esi = MEM32(edi + 0x4); /* 0x390059BB: mov esi, dword ptr [edi + 4] */ 6031 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390059BE: cmp ecx, dword ptr [esi + 4] */ 6032 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6033 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6034 _flag_k = FK_CMP; 6035 if (CMP_NE(_flag_a, _flag_b)) goto L_390059CD; /* 0x390059C1: jne 0x390059cd */ 6036 L_390059C3: 6037 MEM32(esi + 0x4) = edx; /* 0x390059C3: mov dword ptr [esi + 4], edx */ 6038 MEM32(edx) = ecx; /* 0x390059C6: mov dword ptr [edx], ecx */ 6039 goto L_39005A83; /* 0x390059C8: jmp 0x39005a83 */ 6040 L_390059CD: 6041 esi = MEM32(ecx + 0x4); /* 0x390059CD: mov esi, dword ptr [ecx + 4] */ 6042 /* cmp ecx, MEM32(esi) */ /* 0x390059D0: cmp ecx, dword ptr [esi] */ 6043 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6044 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6045 _flag_k = FK_CMP; 6046 if (CMP_NE(_flag_a, _flag_b)) goto L_390059DD; /* 0x390059D2: jne 0x390059dd */ 6047 L_390059D4: 6048 MEM32(esi) = edx; /* 0x390059D4: mov dword ptr [esi], edx */ 6049 MEM32(edx) = ecx; /* 0x390059D6: mov dword ptr [edx], ecx */ 6050 goto L_39005A83; /* 0x390059D8: jmp 0x39005a83 */ 6051 L_390059DD: 6052 MEM32(esi + 0x8) = edx; /* 0x390059DD: mov dword ptr [esi + 8], edx */ 6053 MEM32(edx) = ecx; /* 0x390059E0: mov dword ptr [edx], ecx */ 6054 goto L_39005A83; /* 0x390059E2: jmp 0x39005a83 */ 6055 L_390059E7: 6056 edx = MEM32(ecx); /* 0x390059E7: mov edx, dword ptr [ecx] */ 6057 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390059E9: cmp byte ptr [edx + 0x2c], bl */ 6058 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6059 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6060 _flag_k = FK_NARROW(FK_CMP, 24); 6061 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A35; /* 0x390059EC: jne 0x39005a35 */ 6062 L_390059EE: 6063 edx = MEM32(ecx + 0x8); /* 0x390059EE: mov edx, dword ptr [ecx + 8] */ 6064 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x390059F1: mov byte ptr [edx + 0x2c], bl */ 6065 edx = MEM32(ecx + 0x8); /* 0x390059F4: mov edx, dword ptr [ecx + 8] */ 6066 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x390059F7: mov byte ptr [ecx + 0x2c], 0 */ 6067 esi = MEM32(edx); /* 0x390059FB: mov esi, dword ptr [edx] */ 6068 MEM32(ecx + 0x8) = esi; /* 0x390059FD: mov dword ptr [ecx + 8], esi */ 6069 esi = MEM32(edx); /* 0x39005A00: mov esi, dword ptr [edx] */ 6070 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005A02: cmp esi, dword ptr [edi + 8] */ 6071 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6072 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6073 _flag_k = FK_CMP; 6074 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005A0A; /* 0x39005A05: je 0x39005a0a */ 6075 L_39005A07: 6076 MEM32(esi + 0x4) = ecx; /* 0x39005A07: mov dword ptr [esi + 4], ecx */ 6077 L_39005A0A: 6078 esi = MEM32(ecx + 0x4); /* 0x39005A0A: mov esi, dword ptr [ecx + 4] */ 6079 MEM32(edx + 0x4) = esi; /* 0x39005A0D: mov dword ptr [edx + 4], esi */ 6080 esi = MEM32(edi + 0x4); /* 0x39005A10: mov esi, dword ptr [edi + 4] */ 6081 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005A13: cmp ecx, dword ptr [esi + 4] */ 6082 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6083 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6084 _flag_k = FK_CMP; 6085 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A1D; /* 0x39005A16: jne 0x39005a1d */ 6086 L_39005A18: 6087 MEM32(esi + 0x4) = edx; /* 0x39005A18: mov dword ptr [esi + 4], edx */ 6088 goto L_39005A2B; /* 0x39005A1B: jmp 0x39005a2b */ 6089 L_39005A1D: 6090 esi = MEM32(ecx + 0x4); /* 0x39005A1D: mov esi, dword ptr [ecx + 4] */ 6091 /* cmp ecx, MEM32(esi) */ /* 0x39005A20: cmp ecx, dword ptr [esi] */ 6092 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6093 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6094 _flag_k = FK_CMP; 6095 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A28; /* 0x39005A22: jne 0x39005a28 */ 6096 L_39005A24: 6097 MEM32(esi) = edx; /* 0x39005A24: mov dword ptr [esi], edx */ 6098 goto L_39005A2B; /* 0x39005A26: jmp 0x39005a2b */ 6099 L_39005A28: 6100 MEM32(esi + 0x8) = edx; /* 0x39005A28: mov dword ptr [esi + 8], edx */ 6101 L_39005A2B: 6102 MEM32(edx) = ecx; /* 0x39005A2B: mov dword ptr [edx], ecx */ 6103 MEM32(ecx + 0x4) = edx; /* 0x39005A2D: mov dword ptr [ecx + 4], edx */ 6104 ecx = MEM32(eax + 0x4); /* 0x39005A30: mov ecx, dword ptr [eax + 4] */ 6105 ecx = MEM32(ecx); /* 0x39005A33: mov ecx, dword ptr [ecx] */ 6106 L_39005A35: 6107 edx = MEM32(eax + 0x4); /* 0x39005A35: mov edx, dword ptr [eax + 4] */ 6108 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x39005A38: mov dl, byte ptr [edx + 0x2c] */ 6109 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39005A3B: mov byte ptr [ecx + 0x2c], dl */ 6110 edx = MEM32(eax + 0x4); /* 0x39005A3E: mov edx, dword ptr [eax + 4] */ 6111 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A41: mov byte ptr [edx + 0x2c], bl */ 6112 ecx = MEM32(ecx); /* 0x39005A44: mov ecx, dword ptr [ecx] */ 6113 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A46: mov byte ptr [ecx + 0x2c], bl */ 6114 ecx = MEM32(eax + 0x4); /* 0x39005A49: mov ecx, dword ptr [eax + 4] */ 6115 edx = MEM32(ecx); /* 0x39005A4C: mov edx, dword ptr [ecx] */ 6116 esi = MEM32(edx + 0x8); /* 0x39005A4E: mov esi, dword ptr [edx + 8] */ 6117 MEM32(ecx) = esi; /* 0x39005A51: mov dword ptr [ecx], esi */ 6118 esi = MEM32(edx + 0x8); /* 0x39005A53: mov esi, dword ptr [edx + 8] */ 6119 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005A56: cmp esi, dword ptr [edi + 8] */ 6120 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6121 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6122 _flag_k = FK_CMP; 6123 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005A5E; /* 0x39005A59: je 0x39005a5e */ 6124 L_39005A5B: 6125 MEM32(esi + 0x4) = ecx; /* 0x39005A5B: mov dword ptr [esi + 4], ecx */ 6126 L_39005A5E: 6127 esi = MEM32(ecx + 0x4); /* 0x39005A5E: mov esi, dword ptr [ecx + 4] */ 6128 MEM32(edx + 0x4) = esi; /* 0x39005A61: mov dword ptr [edx + 4], esi */ 6129 esi = MEM32(edi + 0x4); /* 0x39005A64: mov esi, dword ptr [edi + 4] */ 6130 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005A67: cmp ecx, dword ptr [esi + 4] */ 6131 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6132 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6133 _flag_k = FK_CMP; 6134 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A71; /* 0x39005A6A: jne 0x39005a71 */ 6135 L_39005A6C: 6136 MEM32(esi + 0x4) = edx; /* 0x39005A6C: mov dword ptr [esi + 4], edx */ 6137 goto L_39005A80; /* 0x39005A6F: jmp 0x39005a80 */ 6138 L_39005A71: 6139 esi = MEM32(ecx + 0x4); /* 0x39005A71: mov esi, dword ptr [ecx + 4] */ 6140 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39005A74: cmp ecx, dword ptr [esi + 8] */ 6141 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6142 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6143 _flag_k = FK_CMP; 6144 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A7E; /* 0x39005A77: jne 0x39005a7e */ 6145 L_39005A79: 6146 MEM32(esi + 0x8) = edx; /* 0x39005A79: mov dword ptr [esi + 8], edx */ 6147 goto L_39005A80; /* 0x39005A7C: jmp 0x39005a80 */ 6148 L_39005A7E: 6149 MEM32(esi) = edx; /* 0x39005A7E: mov dword ptr [esi], edx */ 6150 L_39005A80: 6151 MEM32(edx + 0x8) = ecx; /* 0x39005A80: mov dword ptr [edx + 8], ecx */ 6152 L_39005A83: 6153 MEM32(ecx + 0x4) = edx; /* 0x39005A83: mov dword ptr [ecx + 4], edx */ 6154 L_39005A86: 6155 esi = MEM32(ebp + (-0x4)); /* 0x39005A86: mov esi, dword ptr [ebp - 4] */ 6156 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A89: mov byte ptr [eax + 0x2c], bl */ 6157 ecx = esi + 0xC; /* 0x39005A8C: lea ecx, [esi + 0xc] */ 6158 RECOMP_ICALL(0x39004670u); /* 0x39005A8F: call 0x39004670 */ /* not lifted */ 6159 RECOMP_FLAGS_IN(); 6160 PUSH32(esp, esi); /* 0x39005A94: push esi */ 6161 RECOMP_ICALL(0x3900A0A0u); /* 0x39005A95: call 0x3900a0a0 */ /* not lifted */ 6162 RECOMP_FLAGS_IN(); 6163 eax = MEM32(edi + 0x10); /* 0x39005A9A: mov eax, dword ptr [edi + 0x10] */ 6164 edx = MEM32(ebp + 0xC); /* 0x39005A9D: mov edx, dword ptr [ebp + 0xc] */ 6165 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6166 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6167 esp = esp + 4; /* 0x39005AA0: add esp, 4 */ 6168 _flag_k = FK_ADD; 6169 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 6170 eax = eax - 1; /* 0x39005AA3: dec eax */ 6171 _flag_k = FK_DEC; 6172 MEM32(edi + 0x10) = eax; /* 0x39005AA4: mov dword ptr [edi + 0x10], eax */ 6173 eax = MEM32(ebp + 0x8); /* 0x39005AA7: mov eax, dword ptr [ebp + 8] */ 6174 edi = POP32_VAL(esp); /* 0x39005AAA: pop edi */ 6175 esi = POP32_VAL(esp); /* 0x39005AAB: pop esi */ 6176 MEM32(eax) = edx; /* 0x39005AAC: mov dword ptr [eax], edx */ 6177 ebx = POP32_VAL(esp); /* 0x39005AAE: pop ebx */ 6178 esp = ebp; /* 0x39005AAF: mov esp, ebp */ 6179 ebp = POP32_VAL(esp); /* 0x39005AB1: pop ebp */ 6180 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x39005AB2: ret 8 */ 6181 RECOMP_REGS_OUT(); 6182 } 6183 6184 void sub_3900590B(void) { 6185 int _fpu_cmp = 0; 6186 uint32_t _cf = 0; 6187 int _df = 1; 6188 uint32_t _flag_k = FK_NONE; 6189 uint32_t _flag_a = 0, _flag_b = 0; 6190 uint32_t _itail_tgt = 0; 6191 RECOMP_REGS_LOCALS 6192 RECOMP_ENTER(0x3900590Bu); 6193 6194 goto L_3900590B; 6195 L_39005838: 6196 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x39005838: cmp byte ptr [eax + 0x2c], bl */ 6197 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6198 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6199 _flag_k = FK_NARROW(FK_CMP, 24); 6200 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A86; /* 0x3900583B: jne 0x39005a86 */ 6201 L_39005841: 6202 edx = MEM32(eax + 0x4); /* 0x39005841: mov edx, dword ptr [eax + 4] */ 6203 ecx = MEM32(edx); /* 0x39005844: mov ecx, dword ptr [edx] */ 6204 /* cmp eax, ecx */ /* 0x39005846: cmp eax, ecx */ 6205 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 6206 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6207 _flag_k = FK_CMP; 6208 if (CMP_NE(_flag_a, _flag_b)) goto L_390058B8; /* 0x39005848: jne 0x390058b8 */ 6209 L_3900584A: 6210 ecx = MEM32(edx + 0x8); /* 0x3900584A: mov ecx, dword ptr [edx + 8] */ 6211 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x3900584D: mov dl, byte ptr [ecx + 0x2c] */ 6212 /* test LO8(edx), LO8(edx) */ /* 0x39005850: test dl, dl */ 6213 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6214 _cf = 0; 6215 _flag_k = FK_NARROW(FK_TEST, 24); 6216 if (TEST_NZ(_flag_a, _flag_b)) goto L_3900589F; /* 0x39005852: jne 0x3900589f */ 6217 L_39005854: 6218 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005854: mov byte ptr [ecx + 0x2c], bl */ 6219 edx = MEM32(eax + 0x4); /* 0x39005857: mov edx, dword ptr [eax + 4] */ 6220 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x3900585A: mov byte ptr [edx + 0x2c], 0 */ 6221 ecx = MEM32(eax + 0x4); /* 0x3900585E: mov ecx, dword ptr [eax + 4] */ 6222 edx = MEM32(ecx + 0x8); /* 0x39005861: mov edx, dword ptr [ecx + 8] */ 6223 esi = MEM32(edx); /* 0x39005864: mov esi, dword ptr [edx] */ 6224 MEM32(ecx + 0x8) = esi; /* 0x39005866: mov dword ptr [ecx + 8], esi */ 6225 esi = MEM32(edx); /* 0x39005869: mov esi, dword ptr [edx] */ 6226 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3900586B: cmp esi, dword ptr [edi + 8] */ 6227 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6228 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6229 _flag_k = FK_CMP; 6230 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005873; /* 0x3900586E: je 0x39005873 */ 6231 L_39005870: 6232 MEM32(esi + 0x4) = ecx; /* 0x39005870: mov dword ptr [esi + 4], ecx */ 6233 L_39005873: 6234 esi = MEM32(ecx + 0x4); /* 0x39005873: mov esi, dword ptr [ecx + 4] */ 6235 MEM32(edx + 0x4) = esi; /* 0x39005876: mov dword ptr [edx + 4], esi */ 6236 esi = MEM32(edi + 0x4); /* 0x39005879: mov esi, dword ptr [edi + 4] */ 6237 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x3900587C: cmp ecx, dword ptr [esi + 4] */ 6238 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6239 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6240 _flag_k = FK_CMP; 6241 if (CMP_NE(_flag_a, _flag_b)) goto L_39005886; /* 0x3900587F: jne 0x39005886 */ 6242 L_39005881: 6243 MEM32(esi + 0x4) = edx; /* 0x39005881: mov dword ptr [esi + 4], edx */ 6244 goto L_39005894; /* 0x39005884: jmp 0x39005894 */ 6245 L_39005886: 6246 esi = MEM32(ecx + 0x4); /* 0x39005886: mov esi, dword ptr [ecx + 4] */ 6247 /* cmp ecx, MEM32(esi) */ /* 0x39005889: cmp ecx, dword ptr [esi] */ 6248 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6249 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6250 _flag_k = FK_CMP; 6251 if (CMP_NE(_flag_a, _flag_b)) goto L_39005891; /* 0x3900588B: jne 0x39005891 */ 6252 L_3900588D: 6253 MEM32(esi) = edx; /* 0x3900588D: mov dword ptr [esi], edx */ 6254 goto L_39005894; /* 0x3900588F: jmp 0x39005894 */ 6255 L_39005891: 6256 MEM32(esi + 0x8) = edx; /* 0x39005891: mov dword ptr [esi + 8], edx */ 6257 L_39005894: 6258 MEM32(edx) = ecx; /* 0x39005894: mov dword ptr [edx], ecx */ 6259 MEM32(ecx + 0x4) = edx; /* 0x39005896: mov dword ptr [ecx + 4], edx */ 6260 ecx = MEM32(eax + 0x4); /* 0x39005899: mov ecx, dword ptr [eax + 4] */ 6261 ecx = MEM32(ecx + 0x8); /* 0x3900589C: mov ecx, dword ptr [ecx + 8] */ 6262 L_3900589F: 6263 edx = MEM32(ecx); /* 0x3900589F: mov edx, dword ptr [ecx] */ 6264 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390058A1: cmp byte ptr [edx + 0x2c], bl */ 6265 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6266 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6267 _flag_k = FK_NARROW(FK_CMP, 24); 6268 if (CMP_NE(_flag_a, _flag_b)) goto L_3900593A; /* 0x390058A4: jne 0x3900593a */ 6269 L_390058AA: 6270 edx = MEM32(ecx + 0x8); /* 0x390058AA: mov edx, dword ptr [ecx + 8] */ 6271 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390058AD: cmp byte ptr [edx + 0x2c], bl */ 6272 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6273 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6274 _flag_k = FK_NARROW(FK_CMP, 24); 6275 if (CMP_NE(_flag_a, _flag_b)) goto L_3900593A; /* 0x390058B0: jne 0x3900593a */ 6276 L_390058B6: 6277 goto L_39005922; /* 0x390058B6: jmp 0x39005922 */ 6278 L_390058B8: 6279 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x390058B8: mov dl, byte ptr [ecx + 0x2c] */ 6280 /* test LO8(edx), LO8(edx) */ /* 0x390058BB: test dl, dl */ 6281 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6282 _cf = 0; 6283 _flag_k = FK_NARROW(FK_TEST, 24); 6284 if (TEST_NZ(_flag_a, _flag_b)) goto L_3900590B; /* 0x390058BD: jne 0x3900590b */ 6285 L_390058BF: 6286 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x390058BF: mov byte ptr [ecx + 0x2c], bl */ 6287 ecx = MEM32(eax + 0x4); /* 0x390058C2: mov ecx, dword ptr [eax + 4] */ 6288 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x390058C5: mov byte ptr [ecx + 0x2c], 0 */ 6289 ecx = MEM32(eax + 0x4); /* 0x390058C9: mov ecx, dword ptr [eax + 4] */ 6290 edx = MEM32(ecx); /* 0x390058CC: mov edx, dword ptr [ecx] */ 6291 esi = MEM32(edx + 0x8); /* 0x390058CE: mov esi, dword ptr [edx + 8] */ 6292 MEM32(ecx) = esi; /* 0x390058D1: mov dword ptr [ecx], esi */ 6293 esi = MEM32(edx + 0x8); /* 0x390058D3: mov esi, dword ptr [edx + 8] */ 6294 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390058D6: cmp esi, dword ptr [edi + 8] */ 6295 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6296 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6297 _flag_k = FK_CMP; 6298 if (CMP_EQ(_flag_a, _flag_b)) goto L_390058DE; /* 0x390058D9: je 0x390058de */ 6299 L_390058DB: 6300 MEM32(esi + 0x4) = ecx; /* 0x390058DB: mov dword ptr [esi + 4], ecx */ 6301 L_390058DE: 6302 esi = MEM32(ecx + 0x4); /* 0x390058DE: mov esi, dword ptr [ecx + 4] */ 6303 MEM32(edx + 0x4) = esi; /* 0x390058E1: mov dword ptr [edx + 4], esi */ 6304 esi = MEM32(edi + 0x4); /* 0x390058E4: mov esi, dword ptr [edi + 4] */ 6305 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390058E7: cmp ecx, dword ptr [esi + 4] */ 6306 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6307 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6308 _flag_k = FK_CMP; 6309 if (CMP_NE(_flag_a, _flag_b)) goto L_390058F1; /* 0x390058EA: jne 0x390058f1 */ 6310 L_390058EC: 6311 MEM32(esi + 0x4) = edx; /* 0x390058EC: mov dword ptr [esi + 4], edx */ 6312 goto L_39005900; /* 0x390058EF: jmp 0x39005900 */ 6313 L_390058F1: 6314 esi = MEM32(ecx + 0x4); /* 0x390058F1: mov esi, dword ptr [ecx + 4] */ 6315 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x390058F4: cmp ecx, dword ptr [esi + 8] */ 6316 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6317 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6318 _flag_k = FK_CMP; 6319 if (CMP_NE(_flag_a, _flag_b)) goto L_390058FE; /* 0x390058F7: jne 0x390058fe */ 6320 L_390058F9: 6321 MEM32(esi + 0x8) = edx; /* 0x390058F9: mov dword ptr [esi + 8], edx */ 6322 goto L_39005900; /* 0x390058FC: jmp 0x39005900 */ 6323 L_390058FE: 6324 MEM32(esi) = edx; /* 0x390058FE: mov dword ptr [esi], edx */ 6325 L_39005900: 6326 MEM32(edx + 0x8) = ecx; /* 0x39005900: mov dword ptr [edx + 8], ecx */ 6327 MEM32(ecx + 0x4) = edx; /* 0x39005903: mov dword ptr [ecx + 4], edx */ 6328 edx = MEM32(eax + 0x4); /* 0x39005906: mov edx, dword ptr [eax + 4] */ 6329 ecx = MEM32(edx); /* 0x39005909: mov ecx, dword ptr [edx] */ 6330 L_3900590B: 6331 edx = MEM32(ecx + 0x8); /* 0x3900590B: mov edx, dword ptr [ecx + 8] */ 6332 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x3900590E: cmp byte ptr [edx + 0x2c], bl */ 6333 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6334 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6335 _flag_k = FK_NARROW(FK_CMP, 24); 6336 if (CMP_NE(_flag_a, _flag_b)) goto L_390059E7; /* 0x39005911: jne 0x390059e7 */ 6337 L_39005917: 6338 edx = MEM32(ecx); /* 0x39005917: mov edx, dword ptr [ecx] */ 6339 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005919: cmp byte ptr [edx + 0x2c], bl */ 6340 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6341 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6342 _flag_k = FK_NARROW(FK_CMP, 24); 6343 if (CMP_NE(_flag_a, _flag_b)) goto L_390059E7; /* 0x3900591C: jne 0x390059e7 */ 6344 L_39005922: 6345 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39005922: mov byte ptr [ecx + 0x2c], 0 */ 6346 ecx = MEM32(edi + 0x4); /* 0x39005926: mov ecx, dword ptr [edi + 4] */ 6347 eax = MEM32(eax + 0x4); /* 0x39005929: mov eax, dword ptr [eax + 4] */ 6348 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900592C: cmp eax, dword ptr [ecx + 4] */ 6349 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 6350 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6351 _flag_k = FK_CMP; 6352 RECOMP_BACKEDGE(); 6353 if (CMP_NE(_flag_a, _flag_b)) goto L_39005838; /* 0x3900592F: jne 0x39005838 */ 6354 L_39005935: 6355 goto L_39005A86; /* 0x39005935: jmp 0x39005a86 */ 6356 L_3900593A: 6357 edx = MEM32(ecx + 0x8); /* 0x3900593A: mov edx, dword ptr [ecx + 8] */ 6358 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x3900593D: cmp byte ptr [edx + 0x2c], bl */ 6359 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6360 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6361 _flag_k = FK_NARROW(FK_CMP, 24); 6362 if (CMP_NE(_flag_a, _flag_b)) goto L_3900598B; /* 0x39005940: jne 0x3900598b */ 6363 L_39005942: 6364 edx = MEM32(ecx); /* 0x39005942: mov edx, dword ptr [ecx] */ 6365 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005944: mov byte ptr [edx + 0x2c], bl */ 6366 edx = MEM32(ecx); /* 0x39005947: mov edx, dword ptr [ecx] */ 6367 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39005949: mov byte ptr [ecx + 0x2c], 0 */ 6368 esi = MEM32(edx + 0x8); /* 0x3900594D: mov esi, dword ptr [edx + 8] */ 6369 MEM32(ecx) = esi; /* 0x39005950: mov dword ptr [ecx], esi */ 6370 esi = MEM32(edx + 0x8); /* 0x39005952: mov esi, dword ptr [edx + 8] */ 6371 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005955: cmp esi, dword ptr [edi + 8] */ 6372 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6373 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6374 _flag_k = FK_CMP; 6375 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900595D; /* 0x39005958: je 0x3900595d */ 6376 L_3900595A: 6377 MEM32(esi + 0x4) = ecx; /* 0x3900595A: mov dword ptr [esi + 4], ecx */ 6378 L_3900595D: 6379 esi = MEM32(ecx + 0x4); /* 0x3900595D: mov esi, dword ptr [ecx + 4] */ 6380 MEM32(edx + 0x4) = esi; /* 0x39005960: mov dword ptr [edx + 4], esi */ 6381 esi = MEM32(edi + 0x4); /* 0x39005963: mov esi, dword ptr [edi + 4] */ 6382 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005966: cmp ecx, dword ptr [esi + 4] */ 6383 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6384 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6385 _flag_k = FK_CMP; 6386 if (CMP_NE(_flag_a, _flag_b)) goto L_39005970; /* 0x39005969: jne 0x39005970 */ 6387 L_3900596B: 6388 MEM32(esi + 0x4) = edx; /* 0x3900596B: mov dword ptr [esi + 4], edx */ 6389 goto L_3900597F; /* 0x3900596E: jmp 0x3900597f */ 6390 L_39005970: 6391 esi = MEM32(ecx + 0x4); /* 0x39005970: mov esi, dword ptr [ecx + 4] */ 6392 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39005973: cmp ecx, dword ptr [esi + 8] */ 6393 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6394 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6395 _flag_k = FK_CMP; 6396 if (CMP_NE(_flag_a, _flag_b)) goto L_3900597D; /* 0x39005976: jne 0x3900597d */ 6397 L_39005978: 6398 MEM32(esi + 0x8) = edx; /* 0x39005978: mov dword ptr [esi + 8], edx */ 6399 goto L_3900597F; /* 0x3900597B: jmp 0x3900597f */ 6400 L_3900597D: 6401 MEM32(esi) = edx; /* 0x3900597D: mov dword ptr [esi], edx */ 6402 L_3900597F: 6403 MEM32(edx + 0x8) = ecx; /* 0x3900597F: mov dword ptr [edx + 8], ecx */ 6404 MEM32(ecx + 0x4) = edx; /* 0x39005982: mov dword ptr [ecx + 4], edx */ 6405 ecx = MEM32(eax + 0x4); /* 0x39005985: mov ecx, dword ptr [eax + 4] */ 6406 ecx = MEM32(ecx + 0x8); /* 0x39005988: mov ecx, dword ptr [ecx + 8] */ 6407 L_3900598B: 6408 edx = MEM32(eax + 0x4); /* 0x3900598B: mov edx, dword ptr [eax + 4] */ 6409 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x3900598E: mov dl, byte ptr [edx + 0x2c] */ 6410 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39005991: mov byte ptr [ecx + 0x2c], dl */ 6411 edx = MEM32(eax + 0x4); /* 0x39005994: mov edx, dword ptr [eax + 4] */ 6412 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005997: mov byte ptr [edx + 0x2c], bl */ 6413 ecx = MEM32(ecx + 0x8); /* 0x3900599A: mov ecx, dword ptr [ecx + 8] */ 6414 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x3900599D: mov byte ptr [ecx + 0x2c], bl */ 6415 ecx = MEM32(eax + 0x4); /* 0x390059A0: mov ecx, dword ptr [eax + 4] */ 6416 edx = MEM32(ecx + 0x8); /* 0x390059A3: mov edx, dword ptr [ecx + 8] */ 6417 esi = MEM32(edx); /* 0x390059A6: mov esi, dword ptr [edx] */ 6418 MEM32(ecx + 0x8) = esi; /* 0x390059A8: mov dword ptr [ecx + 8], esi */ 6419 esi = MEM32(edx); /* 0x390059AB: mov esi, dword ptr [edx] */ 6420 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390059AD: cmp esi, dword ptr [edi + 8] */ 6421 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6422 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6423 _flag_k = FK_CMP; 6424 if (CMP_EQ(_flag_a, _flag_b)) goto L_390059B5; /* 0x390059B0: je 0x390059b5 */ 6425 L_390059B2: 6426 MEM32(esi + 0x4) = ecx; /* 0x390059B2: mov dword ptr [esi + 4], ecx */ 6427 L_390059B5: 6428 esi = MEM32(ecx + 0x4); /* 0x390059B5: mov esi, dword ptr [ecx + 4] */ 6429 MEM32(edx + 0x4) = esi; /* 0x390059B8: mov dword ptr [edx + 4], esi */ 6430 esi = MEM32(edi + 0x4); /* 0x390059BB: mov esi, dword ptr [edi + 4] */ 6431 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390059BE: cmp ecx, dword ptr [esi + 4] */ 6432 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6433 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6434 _flag_k = FK_CMP; 6435 if (CMP_NE(_flag_a, _flag_b)) goto L_390059CD; /* 0x390059C1: jne 0x390059cd */ 6436 L_390059C3: 6437 MEM32(esi + 0x4) = edx; /* 0x390059C3: mov dword ptr [esi + 4], edx */ 6438 MEM32(edx) = ecx; /* 0x390059C6: mov dword ptr [edx], ecx */ 6439 goto L_39005A83; /* 0x390059C8: jmp 0x39005a83 */ 6440 L_390059CD: 6441 esi = MEM32(ecx + 0x4); /* 0x390059CD: mov esi, dword ptr [ecx + 4] */ 6442 /* cmp ecx, MEM32(esi) */ /* 0x390059D0: cmp ecx, dword ptr [esi] */ 6443 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6444 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6445 _flag_k = FK_CMP; 6446 if (CMP_NE(_flag_a, _flag_b)) goto L_390059DD; /* 0x390059D2: jne 0x390059dd */ 6447 L_390059D4: 6448 MEM32(esi) = edx; /* 0x390059D4: mov dword ptr [esi], edx */ 6449 MEM32(edx) = ecx; /* 0x390059D6: mov dword ptr [edx], ecx */ 6450 goto L_39005A83; /* 0x390059D8: jmp 0x39005a83 */ 6451 L_390059DD: 6452 MEM32(esi + 0x8) = edx; /* 0x390059DD: mov dword ptr [esi + 8], edx */ 6453 MEM32(edx) = ecx; /* 0x390059E0: mov dword ptr [edx], ecx */ 6454 goto L_39005A83; /* 0x390059E2: jmp 0x39005a83 */ 6455 L_390059E7: 6456 edx = MEM32(ecx); /* 0x390059E7: mov edx, dword ptr [ecx] */ 6457 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390059E9: cmp byte ptr [edx + 0x2c], bl */ 6458 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6459 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6460 _flag_k = FK_NARROW(FK_CMP, 24); 6461 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A35; /* 0x390059EC: jne 0x39005a35 */ 6462 L_390059EE: 6463 edx = MEM32(ecx + 0x8); /* 0x390059EE: mov edx, dword ptr [ecx + 8] */ 6464 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x390059F1: mov byte ptr [edx + 0x2c], bl */ 6465 edx = MEM32(ecx + 0x8); /* 0x390059F4: mov edx, dword ptr [ecx + 8] */ 6466 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x390059F7: mov byte ptr [ecx + 0x2c], 0 */ 6467 esi = MEM32(edx); /* 0x390059FB: mov esi, dword ptr [edx] */ 6468 MEM32(ecx + 0x8) = esi; /* 0x390059FD: mov dword ptr [ecx + 8], esi */ 6469 esi = MEM32(edx); /* 0x39005A00: mov esi, dword ptr [edx] */ 6470 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005A02: cmp esi, dword ptr [edi + 8] */ 6471 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6472 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6473 _flag_k = FK_CMP; 6474 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005A0A; /* 0x39005A05: je 0x39005a0a */ 6475 L_39005A07: 6476 MEM32(esi + 0x4) = ecx; /* 0x39005A07: mov dword ptr [esi + 4], ecx */ 6477 L_39005A0A: 6478 esi = MEM32(ecx + 0x4); /* 0x39005A0A: mov esi, dword ptr [ecx + 4] */ 6479 MEM32(edx + 0x4) = esi; /* 0x39005A0D: mov dword ptr [edx + 4], esi */ 6480 esi = MEM32(edi + 0x4); /* 0x39005A10: mov esi, dword ptr [edi + 4] */ 6481 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005A13: cmp ecx, dword ptr [esi + 4] */ 6482 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6483 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6484 _flag_k = FK_CMP; 6485 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A1D; /* 0x39005A16: jne 0x39005a1d */ 6486 L_39005A18: 6487 MEM32(esi + 0x4) = edx; /* 0x39005A18: mov dword ptr [esi + 4], edx */ 6488 goto L_39005A2B; /* 0x39005A1B: jmp 0x39005a2b */ 6489 L_39005A1D: 6490 esi = MEM32(ecx + 0x4); /* 0x39005A1D: mov esi, dword ptr [ecx + 4] */ 6491 /* cmp ecx, MEM32(esi) */ /* 0x39005A20: cmp ecx, dword ptr [esi] */ 6492 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6493 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6494 _flag_k = FK_CMP; 6495 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A28; /* 0x39005A22: jne 0x39005a28 */ 6496 L_39005A24: 6497 MEM32(esi) = edx; /* 0x39005A24: mov dword ptr [esi], edx */ 6498 goto L_39005A2B; /* 0x39005A26: jmp 0x39005a2b */ 6499 L_39005A28: 6500 MEM32(esi + 0x8) = edx; /* 0x39005A28: mov dword ptr [esi + 8], edx */ 6501 L_39005A2B: 6502 MEM32(edx) = ecx; /* 0x39005A2B: mov dword ptr [edx], ecx */ 6503 MEM32(ecx + 0x4) = edx; /* 0x39005A2D: mov dword ptr [ecx + 4], edx */ 6504 ecx = MEM32(eax + 0x4); /* 0x39005A30: mov ecx, dword ptr [eax + 4] */ 6505 ecx = MEM32(ecx); /* 0x39005A33: mov ecx, dword ptr [ecx] */ 6506 L_39005A35: 6507 edx = MEM32(eax + 0x4); /* 0x39005A35: mov edx, dword ptr [eax + 4] */ 6508 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x39005A38: mov dl, byte ptr [edx + 0x2c] */ 6509 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39005A3B: mov byte ptr [ecx + 0x2c], dl */ 6510 edx = MEM32(eax + 0x4); /* 0x39005A3E: mov edx, dword ptr [eax + 4] */ 6511 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A41: mov byte ptr [edx + 0x2c], bl */ 6512 ecx = MEM32(ecx); /* 0x39005A44: mov ecx, dword ptr [ecx] */ 6513 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A46: mov byte ptr [ecx + 0x2c], bl */ 6514 ecx = MEM32(eax + 0x4); /* 0x39005A49: mov ecx, dword ptr [eax + 4] */ 6515 edx = MEM32(ecx); /* 0x39005A4C: mov edx, dword ptr [ecx] */ 6516 esi = MEM32(edx + 0x8); /* 0x39005A4E: mov esi, dword ptr [edx + 8] */ 6517 MEM32(ecx) = esi; /* 0x39005A51: mov dword ptr [ecx], esi */ 6518 esi = MEM32(edx + 0x8); /* 0x39005A53: mov esi, dword ptr [edx + 8] */ 6519 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005A56: cmp esi, dword ptr [edi + 8] */ 6520 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6521 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6522 _flag_k = FK_CMP; 6523 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005A5E; /* 0x39005A59: je 0x39005a5e */ 6524 L_39005A5B: 6525 MEM32(esi + 0x4) = ecx; /* 0x39005A5B: mov dword ptr [esi + 4], ecx */ 6526 L_39005A5E: 6527 esi = MEM32(ecx + 0x4); /* 0x39005A5E: mov esi, dword ptr [ecx + 4] */ 6528 MEM32(edx + 0x4) = esi; /* 0x39005A61: mov dword ptr [edx + 4], esi */ 6529 esi = MEM32(edi + 0x4); /* 0x39005A64: mov esi, dword ptr [edi + 4] */ 6530 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005A67: cmp ecx, dword ptr [esi + 4] */ 6531 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6532 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6533 _flag_k = FK_CMP; 6534 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A71; /* 0x39005A6A: jne 0x39005a71 */ 6535 L_39005A6C: 6536 MEM32(esi + 0x4) = edx; /* 0x39005A6C: mov dword ptr [esi + 4], edx */ 6537 goto L_39005A80; /* 0x39005A6F: jmp 0x39005a80 */ 6538 L_39005A71: 6539 esi = MEM32(ecx + 0x4); /* 0x39005A71: mov esi, dword ptr [ecx + 4] */ 6540 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39005A74: cmp ecx, dword ptr [esi + 8] */ 6541 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6542 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6543 _flag_k = FK_CMP; 6544 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A7E; /* 0x39005A77: jne 0x39005a7e */ 6545 L_39005A79: 6546 MEM32(esi + 0x8) = edx; /* 0x39005A79: mov dword ptr [esi + 8], edx */ 6547 goto L_39005A80; /* 0x39005A7C: jmp 0x39005a80 */ 6548 L_39005A7E: 6549 MEM32(esi) = edx; /* 0x39005A7E: mov dword ptr [esi], edx */ 6550 L_39005A80: 6551 MEM32(edx + 0x8) = ecx; /* 0x39005A80: mov dword ptr [edx + 8], ecx */ 6552 L_39005A83: 6553 MEM32(ecx + 0x4) = edx; /* 0x39005A83: mov dword ptr [ecx + 4], edx */ 6554 L_39005A86: 6555 esi = MEM32(ebp + (-0x4)); /* 0x39005A86: mov esi, dword ptr [ebp - 4] */ 6556 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A89: mov byte ptr [eax + 0x2c], bl */ 6557 ecx = esi + 0xC; /* 0x39005A8C: lea ecx, [esi + 0xc] */ 6558 RECOMP_ICALL(0x39004670u); /* 0x39005A8F: call 0x39004670 */ /* not lifted */ 6559 RECOMP_FLAGS_IN(); 6560 PUSH32(esp, esi); /* 0x39005A94: push esi */ 6561 RECOMP_ICALL(0x3900A0A0u); /* 0x39005A95: call 0x3900a0a0 */ /* not lifted */ 6562 RECOMP_FLAGS_IN(); 6563 eax = MEM32(edi + 0x10); /* 0x39005A9A: mov eax, dword ptr [edi + 0x10] */ 6564 edx = MEM32(ebp + 0xC); /* 0x39005A9D: mov edx, dword ptr [ebp + 0xc] */ 6565 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6566 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6567 esp = esp + 4; /* 0x39005AA0: add esp, 4 */ 6568 _flag_k = FK_ADD; 6569 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 6570 eax = eax - 1; /* 0x39005AA3: dec eax */ 6571 _flag_k = FK_DEC; 6572 MEM32(edi + 0x10) = eax; /* 0x39005AA4: mov dword ptr [edi + 0x10], eax */ 6573 eax = MEM32(ebp + 0x8); /* 0x39005AA7: mov eax, dword ptr [ebp + 8] */ 6574 edi = POP32_VAL(esp); /* 0x39005AAA: pop edi */ 6575 esi = POP32_VAL(esp); /* 0x39005AAB: pop esi */ 6576 MEM32(eax) = edx; /* 0x39005AAC: mov dword ptr [eax], edx */ 6577 ebx = POP32_VAL(esp); /* 0x39005AAE: pop ebx */ 6578 esp = ebp; /* 0x39005AAF: mov esp, ebp */ 6579 ebp = POP32_VAL(esp); /* 0x39005AB1: pop ebp */ 6580 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x39005AB2: ret 8 */ 6581 RECOMP_REGS_OUT(); 6582 } 6583 6584 void sub_39005922(void) { 6585 int _fpu_cmp = 0; 6586 uint32_t _cf = 0; 6587 int _df = 1; 6588 uint32_t _flag_k = FK_NONE; 6589 uint32_t _flag_a = 0, _flag_b = 0; 6590 uint32_t _itail_tgt = 0; 6591 RECOMP_REGS_LOCALS 6592 RECOMP_ENTER(0x39005922u); 6593 6594 goto L_39005922; 6595 L_39005838: 6596 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x39005838: cmp byte ptr [eax + 0x2c], bl */ 6597 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6598 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6599 _flag_k = FK_NARROW(FK_CMP, 24); 6600 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A86; /* 0x3900583B: jne 0x39005a86 */ 6601 L_39005841: 6602 edx = MEM32(eax + 0x4); /* 0x39005841: mov edx, dword ptr [eax + 4] */ 6603 ecx = MEM32(edx); /* 0x39005844: mov ecx, dword ptr [edx] */ 6604 /* cmp eax, ecx */ /* 0x39005846: cmp eax, ecx */ 6605 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 6606 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6607 _flag_k = FK_CMP; 6608 if (CMP_NE(_flag_a, _flag_b)) goto L_390058B8; /* 0x39005848: jne 0x390058b8 */ 6609 L_3900584A: 6610 ecx = MEM32(edx + 0x8); /* 0x3900584A: mov ecx, dword ptr [edx + 8] */ 6611 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x3900584D: mov dl, byte ptr [ecx + 0x2c] */ 6612 /* test LO8(edx), LO8(edx) */ /* 0x39005850: test dl, dl */ 6613 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6614 _cf = 0; 6615 _flag_k = FK_NARROW(FK_TEST, 24); 6616 if (TEST_NZ(_flag_a, _flag_b)) goto L_3900589F; /* 0x39005852: jne 0x3900589f */ 6617 L_39005854: 6618 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005854: mov byte ptr [ecx + 0x2c], bl */ 6619 edx = MEM32(eax + 0x4); /* 0x39005857: mov edx, dword ptr [eax + 4] */ 6620 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x3900585A: mov byte ptr [edx + 0x2c], 0 */ 6621 ecx = MEM32(eax + 0x4); /* 0x3900585E: mov ecx, dword ptr [eax + 4] */ 6622 edx = MEM32(ecx + 0x8); /* 0x39005861: mov edx, dword ptr [ecx + 8] */ 6623 esi = MEM32(edx); /* 0x39005864: mov esi, dword ptr [edx] */ 6624 MEM32(ecx + 0x8) = esi; /* 0x39005866: mov dword ptr [ecx + 8], esi */ 6625 esi = MEM32(edx); /* 0x39005869: mov esi, dword ptr [edx] */ 6626 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3900586B: cmp esi, dword ptr [edi + 8] */ 6627 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6628 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6629 _flag_k = FK_CMP; 6630 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005873; /* 0x3900586E: je 0x39005873 */ 6631 L_39005870: 6632 MEM32(esi + 0x4) = ecx; /* 0x39005870: mov dword ptr [esi + 4], ecx */ 6633 L_39005873: 6634 esi = MEM32(ecx + 0x4); /* 0x39005873: mov esi, dword ptr [ecx + 4] */ 6635 MEM32(edx + 0x4) = esi; /* 0x39005876: mov dword ptr [edx + 4], esi */ 6636 esi = MEM32(edi + 0x4); /* 0x39005879: mov esi, dword ptr [edi + 4] */ 6637 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x3900587C: cmp ecx, dword ptr [esi + 4] */ 6638 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6639 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6640 _flag_k = FK_CMP; 6641 if (CMP_NE(_flag_a, _flag_b)) goto L_39005886; /* 0x3900587F: jne 0x39005886 */ 6642 L_39005881: 6643 MEM32(esi + 0x4) = edx; /* 0x39005881: mov dword ptr [esi + 4], edx */ 6644 goto L_39005894; /* 0x39005884: jmp 0x39005894 */ 6645 L_39005886: 6646 esi = MEM32(ecx + 0x4); /* 0x39005886: mov esi, dword ptr [ecx + 4] */ 6647 /* cmp ecx, MEM32(esi) */ /* 0x39005889: cmp ecx, dword ptr [esi] */ 6648 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6649 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6650 _flag_k = FK_CMP; 6651 if (CMP_NE(_flag_a, _flag_b)) goto L_39005891; /* 0x3900588B: jne 0x39005891 */ 6652 L_3900588D: 6653 MEM32(esi) = edx; /* 0x3900588D: mov dword ptr [esi], edx */ 6654 goto L_39005894; /* 0x3900588F: jmp 0x39005894 */ 6655 L_39005891: 6656 MEM32(esi + 0x8) = edx; /* 0x39005891: mov dword ptr [esi + 8], edx */ 6657 L_39005894: 6658 MEM32(edx) = ecx; /* 0x39005894: mov dword ptr [edx], ecx */ 6659 MEM32(ecx + 0x4) = edx; /* 0x39005896: mov dword ptr [ecx + 4], edx */ 6660 ecx = MEM32(eax + 0x4); /* 0x39005899: mov ecx, dword ptr [eax + 4] */ 6661 ecx = MEM32(ecx + 0x8); /* 0x3900589C: mov ecx, dword ptr [ecx + 8] */ 6662 L_3900589F: 6663 edx = MEM32(ecx); /* 0x3900589F: mov edx, dword ptr [ecx] */ 6664 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390058A1: cmp byte ptr [edx + 0x2c], bl */ 6665 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6666 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6667 _flag_k = FK_NARROW(FK_CMP, 24); 6668 if (CMP_NE(_flag_a, _flag_b)) goto L_3900593A; /* 0x390058A4: jne 0x3900593a */ 6669 L_390058AA: 6670 edx = MEM32(ecx + 0x8); /* 0x390058AA: mov edx, dword ptr [ecx + 8] */ 6671 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390058AD: cmp byte ptr [edx + 0x2c], bl */ 6672 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6673 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6674 _flag_k = FK_NARROW(FK_CMP, 24); 6675 if (CMP_NE(_flag_a, _flag_b)) goto L_3900593A; /* 0x390058B0: jne 0x3900593a */ 6676 L_390058B6: 6677 goto L_39005922; /* 0x390058B6: jmp 0x39005922 */ 6678 L_390058B8: 6679 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x390058B8: mov dl, byte ptr [ecx + 0x2c] */ 6680 /* test LO8(edx), LO8(edx) */ /* 0x390058BB: test dl, dl */ 6681 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6682 _cf = 0; 6683 _flag_k = FK_NARROW(FK_TEST, 24); 6684 if (TEST_NZ(_flag_a, _flag_b)) goto L_3900590B; /* 0x390058BD: jne 0x3900590b */ 6685 L_390058BF: 6686 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x390058BF: mov byte ptr [ecx + 0x2c], bl */ 6687 ecx = MEM32(eax + 0x4); /* 0x390058C2: mov ecx, dword ptr [eax + 4] */ 6688 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x390058C5: mov byte ptr [ecx + 0x2c], 0 */ 6689 ecx = MEM32(eax + 0x4); /* 0x390058C9: mov ecx, dword ptr [eax + 4] */ 6690 edx = MEM32(ecx); /* 0x390058CC: mov edx, dword ptr [ecx] */ 6691 esi = MEM32(edx + 0x8); /* 0x390058CE: mov esi, dword ptr [edx + 8] */ 6692 MEM32(ecx) = esi; /* 0x390058D1: mov dword ptr [ecx], esi */ 6693 esi = MEM32(edx + 0x8); /* 0x390058D3: mov esi, dword ptr [edx + 8] */ 6694 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390058D6: cmp esi, dword ptr [edi + 8] */ 6695 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6696 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6697 _flag_k = FK_CMP; 6698 if (CMP_EQ(_flag_a, _flag_b)) goto L_390058DE; /* 0x390058D9: je 0x390058de */ 6699 L_390058DB: 6700 MEM32(esi + 0x4) = ecx; /* 0x390058DB: mov dword ptr [esi + 4], ecx */ 6701 L_390058DE: 6702 esi = MEM32(ecx + 0x4); /* 0x390058DE: mov esi, dword ptr [ecx + 4] */ 6703 MEM32(edx + 0x4) = esi; /* 0x390058E1: mov dword ptr [edx + 4], esi */ 6704 esi = MEM32(edi + 0x4); /* 0x390058E4: mov esi, dword ptr [edi + 4] */ 6705 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390058E7: cmp ecx, dword ptr [esi + 4] */ 6706 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6707 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6708 _flag_k = FK_CMP; 6709 if (CMP_NE(_flag_a, _flag_b)) goto L_390058F1; /* 0x390058EA: jne 0x390058f1 */ 6710 L_390058EC: 6711 MEM32(esi + 0x4) = edx; /* 0x390058EC: mov dword ptr [esi + 4], edx */ 6712 goto L_39005900; /* 0x390058EF: jmp 0x39005900 */ 6713 L_390058F1: 6714 esi = MEM32(ecx + 0x4); /* 0x390058F1: mov esi, dword ptr [ecx + 4] */ 6715 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x390058F4: cmp ecx, dword ptr [esi + 8] */ 6716 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6717 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6718 _flag_k = FK_CMP; 6719 if (CMP_NE(_flag_a, _flag_b)) goto L_390058FE; /* 0x390058F7: jne 0x390058fe */ 6720 L_390058F9: 6721 MEM32(esi + 0x8) = edx; /* 0x390058F9: mov dword ptr [esi + 8], edx */ 6722 goto L_39005900; /* 0x390058FC: jmp 0x39005900 */ 6723 L_390058FE: 6724 MEM32(esi) = edx; /* 0x390058FE: mov dword ptr [esi], edx */ 6725 L_39005900: 6726 MEM32(edx + 0x8) = ecx; /* 0x39005900: mov dword ptr [edx + 8], ecx */ 6727 MEM32(ecx + 0x4) = edx; /* 0x39005903: mov dword ptr [ecx + 4], edx */ 6728 edx = MEM32(eax + 0x4); /* 0x39005906: mov edx, dword ptr [eax + 4] */ 6729 ecx = MEM32(edx); /* 0x39005909: mov ecx, dword ptr [edx] */ 6730 L_3900590B: 6731 edx = MEM32(ecx + 0x8); /* 0x3900590B: mov edx, dword ptr [ecx + 8] */ 6732 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x3900590E: cmp byte ptr [edx + 0x2c], bl */ 6733 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6734 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6735 _flag_k = FK_NARROW(FK_CMP, 24); 6736 if (CMP_NE(_flag_a, _flag_b)) goto L_390059E7; /* 0x39005911: jne 0x390059e7 */ 6737 L_39005917: 6738 edx = MEM32(ecx); /* 0x39005917: mov edx, dword ptr [ecx] */ 6739 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005919: cmp byte ptr [edx + 0x2c], bl */ 6740 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6741 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6742 _flag_k = FK_NARROW(FK_CMP, 24); 6743 if (CMP_NE(_flag_a, _flag_b)) goto L_390059E7; /* 0x3900591C: jne 0x390059e7 */ 6744 L_39005922: 6745 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39005922: mov byte ptr [ecx + 0x2c], 0 */ 6746 ecx = MEM32(edi + 0x4); /* 0x39005926: mov ecx, dword ptr [edi + 4] */ 6747 eax = MEM32(eax + 0x4); /* 0x39005929: mov eax, dword ptr [eax + 4] */ 6748 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900592C: cmp eax, dword ptr [ecx + 4] */ 6749 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 6750 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6751 _flag_k = FK_CMP; 6752 RECOMP_BACKEDGE(); 6753 if (CMP_NE(_flag_a, _flag_b)) goto L_39005838; /* 0x3900592F: jne 0x39005838 */ 6754 L_39005935: 6755 goto L_39005A86; /* 0x39005935: jmp 0x39005a86 */ 6756 L_3900593A: 6757 edx = MEM32(ecx + 0x8); /* 0x3900593A: mov edx, dword ptr [ecx + 8] */ 6758 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x3900593D: cmp byte ptr [edx + 0x2c], bl */ 6759 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6760 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6761 _flag_k = FK_NARROW(FK_CMP, 24); 6762 if (CMP_NE(_flag_a, _flag_b)) goto L_3900598B; /* 0x39005940: jne 0x3900598b */ 6763 L_39005942: 6764 edx = MEM32(ecx); /* 0x39005942: mov edx, dword ptr [ecx] */ 6765 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005944: mov byte ptr [edx + 0x2c], bl */ 6766 edx = MEM32(ecx); /* 0x39005947: mov edx, dword ptr [ecx] */ 6767 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39005949: mov byte ptr [ecx + 0x2c], 0 */ 6768 esi = MEM32(edx + 0x8); /* 0x3900594D: mov esi, dword ptr [edx + 8] */ 6769 MEM32(ecx) = esi; /* 0x39005950: mov dword ptr [ecx], esi */ 6770 esi = MEM32(edx + 0x8); /* 0x39005952: mov esi, dword ptr [edx + 8] */ 6771 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005955: cmp esi, dword ptr [edi + 8] */ 6772 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6773 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6774 _flag_k = FK_CMP; 6775 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900595D; /* 0x39005958: je 0x3900595d */ 6776 L_3900595A: 6777 MEM32(esi + 0x4) = ecx; /* 0x3900595A: mov dword ptr [esi + 4], ecx */ 6778 L_3900595D: 6779 esi = MEM32(ecx + 0x4); /* 0x3900595D: mov esi, dword ptr [ecx + 4] */ 6780 MEM32(edx + 0x4) = esi; /* 0x39005960: mov dword ptr [edx + 4], esi */ 6781 esi = MEM32(edi + 0x4); /* 0x39005963: mov esi, dword ptr [edi + 4] */ 6782 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005966: cmp ecx, dword ptr [esi + 4] */ 6783 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6784 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6785 _flag_k = FK_CMP; 6786 if (CMP_NE(_flag_a, _flag_b)) goto L_39005970; /* 0x39005969: jne 0x39005970 */ 6787 L_3900596B: 6788 MEM32(esi + 0x4) = edx; /* 0x3900596B: mov dword ptr [esi + 4], edx */ 6789 goto L_3900597F; /* 0x3900596E: jmp 0x3900597f */ 6790 L_39005970: 6791 esi = MEM32(ecx + 0x4); /* 0x39005970: mov esi, dword ptr [ecx + 4] */ 6792 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39005973: cmp ecx, dword ptr [esi + 8] */ 6793 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6794 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6795 _flag_k = FK_CMP; 6796 if (CMP_NE(_flag_a, _flag_b)) goto L_3900597D; /* 0x39005976: jne 0x3900597d */ 6797 L_39005978: 6798 MEM32(esi + 0x8) = edx; /* 0x39005978: mov dword ptr [esi + 8], edx */ 6799 goto L_3900597F; /* 0x3900597B: jmp 0x3900597f */ 6800 L_3900597D: 6801 MEM32(esi) = edx; /* 0x3900597D: mov dword ptr [esi], edx */ 6802 L_3900597F: 6803 MEM32(edx + 0x8) = ecx; /* 0x3900597F: mov dword ptr [edx + 8], ecx */ 6804 MEM32(ecx + 0x4) = edx; /* 0x39005982: mov dword ptr [ecx + 4], edx */ 6805 ecx = MEM32(eax + 0x4); /* 0x39005985: mov ecx, dword ptr [eax + 4] */ 6806 ecx = MEM32(ecx + 0x8); /* 0x39005988: mov ecx, dword ptr [ecx + 8] */ 6807 L_3900598B: 6808 edx = MEM32(eax + 0x4); /* 0x3900598B: mov edx, dword ptr [eax + 4] */ 6809 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x3900598E: mov dl, byte ptr [edx + 0x2c] */ 6810 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39005991: mov byte ptr [ecx + 0x2c], dl */ 6811 edx = MEM32(eax + 0x4); /* 0x39005994: mov edx, dword ptr [eax + 4] */ 6812 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005997: mov byte ptr [edx + 0x2c], bl */ 6813 ecx = MEM32(ecx + 0x8); /* 0x3900599A: mov ecx, dword ptr [ecx + 8] */ 6814 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x3900599D: mov byte ptr [ecx + 0x2c], bl */ 6815 ecx = MEM32(eax + 0x4); /* 0x390059A0: mov ecx, dword ptr [eax + 4] */ 6816 edx = MEM32(ecx + 0x8); /* 0x390059A3: mov edx, dword ptr [ecx + 8] */ 6817 esi = MEM32(edx); /* 0x390059A6: mov esi, dword ptr [edx] */ 6818 MEM32(ecx + 0x8) = esi; /* 0x390059A8: mov dword ptr [ecx + 8], esi */ 6819 esi = MEM32(edx); /* 0x390059AB: mov esi, dword ptr [edx] */ 6820 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390059AD: cmp esi, dword ptr [edi + 8] */ 6821 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6822 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6823 _flag_k = FK_CMP; 6824 if (CMP_EQ(_flag_a, _flag_b)) goto L_390059B5; /* 0x390059B0: je 0x390059b5 */ 6825 L_390059B2: 6826 MEM32(esi + 0x4) = ecx; /* 0x390059B2: mov dword ptr [esi + 4], ecx */ 6827 L_390059B5: 6828 esi = MEM32(ecx + 0x4); /* 0x390059B5: mov esi, dword ptr [ecx + 4] */ 6829 MEM32(edx + 0x4) = esi; /* 0x390059B8: mov dword ptr [edx + 4], esi */ 6830 esi = MEM32(edi + 0x4); /* 0x390059BB: mov esi, dword ptr [edi + 4] */ 6831 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390059BE: cmp ecx, dword ptr [esi + 4] */ 6832 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6833 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6834 _flag_k = FK_CMP; 6835 if (CMP_NE(_flag_a, _flag_b)) goto L_390059CD; /* 0x390059C1: jne 0x390059cd */ 6836 L_390059C3: 6837 MEM32(esi + 0x4) = edx; /* 0x390059C3: mov dword ptr [esi + 4], edx */ 6838 MEM32(edx) = ecx; /* 0x390059C6: mov dword ptr [edx], ecx */ 6839 goto L_39005A83; /* 0x390059C8: jmp 0x39005a83 */ 6840 L_390059CD: 6841 esi = MEM32(ecx + 0x4); /* 0x390059CD: mov esi, dword ptr [ecx + 4] */ 6842 /* cmp ecx, MEM32(esi) */ /* 0x390059D0: cmp ecx, dword ptr [esi] */ 6843 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6844 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6845 _flag_k = FK_CMP; 6846 if (CMP_NE(_flag_a, _flag_b)) goto L_390059DD; /* 0x390059D2: jne 0x390059dd */ 6847 L_390059D4: 6848 MEM32(esi) = edx; /* 0x390059D4: mov dword ptr [esi], edx */ 6849 MEM32(edx) = ecx; /* 0x390059D6: mov dword ptr [edx], ecx */ 6850 goto L_39005A83; /* 0x390059D8: jmp 0x39005a83 */ 6851 L_390059DD: 6852 MEM32(esi + 0x8) = edx; /* 0x390059DD: mov dword ptr [esi + 8], edx */ 6853 MEM32(edx) = ecx; /* 0x390059E0: mov dword ptr [edx], ecx */ 6854 goto L_39005A83; /* 0x390059E2: jmp 0x39005a83 */ 6855 L_390059E7: 6856 edx = MEM32(ecx); /* 0x390059E7: mov edx, dword ptr [ecx] */ 6857 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390059E9: cmp byte ptr [edx + 0x2c], bl */ 6858 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6859 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6860 _flag_k = FK_NARROW(FK_CMP, 24); 6861 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A35; /* 0x390059EC: jne 0x39005a35 */ 6862 L_390059EE: 6863 edx = MEM32(ecx + 0x8); /* 0x390059EE: mov edx, dword ptr [ecx + 8] */ 6864 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x390059F1: mov byte ptr [edx + 0x2c], bl */ 6865 edx = MEM32(ecx + 0x8); /* 0x390059F4: mov edx, dword ptr [ecx + 8] */ 6866 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x390059F7: mov byte ptr [ecx + 0x2c], 0 */ 6867 esi = MEM32(edx); /* 0x390059FB: mov esi, dword ptr [edx] */ 6868 MEM32(ecx + 0x8) = esi; /* 0x390059FD: mov dword ptr [ecx + 8], esi */ 6869 esi = MEM32(edx); /* 0x39005A00: mov esi, dword ptr [edx] */ 6870 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005A02: cmp esi, dword ptr [edi + 8] */ 6871 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6872 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6873 _flag_k = FK_CMP; 6874 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005A0A; /* 0x39005A05: je 0x39005a0a */ 6875 L_39005A07: 6876 MEM32(esi + 0x4) = ecx; /* 0x39005A07: mov dword ptr [esi + 4], ecx */ 6877 L_39005A0A: 6878 esi = MEM32(ecx + 0x4); /* 0x39005A0A: mov esi, dword ptr [ecx + 4] */ 6879 MEM32(edx + 0x4) = esi; /* 0x39005A0D: mov dword ptr [edx + 4], esi */ 6880 esi = MEM32(edi + 0x4); /* 0x39005A10: mov esi, dword ptr [edi + 4] */ 6881 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005A13: cmp ecx, dword ptr [esi + 4] */ 6882 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6883 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6884 _flag_k = FK_CMP; 6885 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A1D; /* 0x39005A16: jne 0x39005a1d */ 6886 L_39005A18: 6887 MEM32(esi + 0x4) = edx; /* 0x39005A18: mov dword ptr [esi + 4], edx */ 6888 goto L_39005A2B; /* 0x39005A1B: jmp 0x39005a2b */ 6889 L_39005A1D: 6890 esi = MEM32(ecx + 0x4); /* 0x39005A1D: mov esi, dword ptr [ecx + 4] */ 6891 /* cmp ecx, MEM32(esi) */ /* 0x39005A20: cmp ecx, dword ptr [esi] */ 6892 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6893 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6894 _flag_k = FK_CMP; 6895 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A28; /* 0x39005A22: jne 0x39005a28 */ 6896 L_39005A24: 6897 MEM32(esi) = edx; /* 0x39005A24: mov dword ptr [esi], edx */ 6898 goto L_39005A2B; /* 0x39005A26: jmp 0x39005a2b */ 6899 L_39005A28: 6900 MEM32(esi + 0x8) = edx; /* 0x39005A28: mov dword ptr [esi + 8], edx */ 6901 L_39005A2B: 6902 MEM32(edx) = ecx; /* 0x39005A2B: mov dword ptr [edx], ecx */ 6903 MEM32(ecx + 0x4) = edx; /* 0x39005A2D: mov dword ptr [ecx + 4], edx */ 6904 ecx = MEM32(eax + 0x4); /* 0x39005A30: mov ecx, dword ptr [eax + 4] */ 6905 ecx = MEM32(ecx); /* 0x39005A33: mov ecx, dword ptr [ecx] */ 6906 L_39005A35: 6907 edx = MEM32(eax + 0x4); /* 0x39005A35: mov edx, dword ptr [eax + 4] */ 6908 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x39005A38: mov dl, byte ptr [edx + 0x2c] */ 6909 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39005A3B: mov byte ptr [ecx + 0x2c], dl */ 6910 edx = MEM32(eax + 0x4); /* 0x39005A3E: mov edx, dword ptr [eax + 4] */ 6911 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A41: mov byte ptr [edx + 0x2c], bl */ 6912 ecx = MEM32(ecx); /* 0x39005A44: mov ecx, dword ptr [ecx] */ 6913 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A46: mov byte ptr [ecx + 0x2c], bl */ 6914 ecx = MEM32(eax + 0x4); /* 0x39005A49: mov ecx, dword ptr [eax + 4] */ 6915 edx = MEM32(ecx); /* 0x39005A4C: mov edx, dword ptr [ecx] */ 6916 esi = MEM32(edx + 0x8); /* 0x39005A4E: mov esi, dword ptr [edx + 8] */ 6917 MEM32(ecx) = esi; /* 0x39005A51: mov dword ptr [ecx], esi */ 6918 esi = MEM32(edx + 0x8); /* 0x39005A53: mov esi, dword ptr [edx + 8] */ 6919 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005A56: cmp esi, dword ptr [edi + 8] */ 6920 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6921 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6922 _flag_k = FK_CMP; 6923 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005A5E; /* 0x39005A59: je 0x39005a5e */ 6924 L_39005A5B: 6925 MEM32(esi + 0x4) = ecx; /* 0x39005A5B: mov dword ptr [esi + 4], ecx */ 6926 L_39005A5E: 6927 esi = MEM32(ecx + 0x4); /* 0x39005A5E: mov esi, dword ptr [ecx + 4] */ 6928 MEM32(edx + 0x4) = esi; /* 0x39005A61: mov dword ptr [edx + 4], esi */ 6929 esi = MEM32(edi + 0x4); /* 0x39005A64: mov esi, dword ptr [edi + 4] */ 6930 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005A67: cmp ecx, dword ptr [esi + 4] */ 6931 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6932 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6933 _flag_k = FK_CMP; 6934 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A71; /* 0x39005A6A: jne 0x39005a71 */ 6935 L_39005A6C: 6936 MEM32(esi + 0x4) = edx; /* 0x39005A6C: mov dword ptr [esi + 4], edx */ 6937 goto L_39005A80; /* 0x39005A6F: jmp 0x39005a80 */ 6938 L_39005A71: 6939 esi = MEM32(ecx + 0x4); /* 0x39005A71: mov esi, dword ptr [ecx + 4] */ 6940 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39005A74: cmp ecx, dword ptr [esi + 8] */ 6941 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6942 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6943 _flag_k = FK_CMP; 6944 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A7E; /* 0x39005A77: jne 0x39005a7e */ 6945 L_39005A79: 6946 MEM32(esi + 0x8) = edx; /* 0x39005A79: mov dword ptr [esi + 8], edx */ 6947 goto L_39005A80; /* 0x39005A7C: jmp 0x39005a80 */ 6948 L_39005A7E: 6949 MEM32(esi) = edx; /* 0x39005A7E: mov dword ptr [esi], edx */ 6950 L_39005A80: 6951 MEM32(edx + 0x8) = ecx; /* 0x39005A80: mov dword ptr [edx + 8], ecx */ 6952 L_39005A83: 6953 MEM32(ecx + 0x4) = edx; /* 0x39005A83: mov dword ptr [ecx + 4], edx */ 6954 L_39005A86: 6955 esi = MEM32(ebp + (-0x4)); /* 0x39005A86: mov esi, dword ptr [ebp - 4] */ 6956 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A89: mov byte ptr [eax + 0x2c], bl */ 6957 ecx = esi + 0xC; /* 0x39005A8C: lea ecx, [esi + 0xc] */ 6958 RECOMP_ICALL(0x39004670u); /* 0x39005A8F: call 0x39004670 */ /* not lifted */ 6959 RECOMP_FLAGS_IN(); 6960 PUSH32(esp, esi); /* 0x39005A94: push esi */ 6961 RECOMP_ICALL(0x3900A0A0u); /* 0x39005A95: call 0x3900a0a0 */ /* not lifted */ 6962 RECOMP_FLAGS_IN(); 6963 eax = MEM32(edi + 0x10); /* 0x39005A9A: mov eax, dword ptr [edi + 0x10] */ 6964 edx = MEM32(ebp + 0xC); /* 0x39005A9D: mov edx, dword ptr [ebp + 0xc] */ 6965 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6966 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6967 esp = esp + 4; /* 0x39005AA0: add esp, 4 */ 6968 _flag_k = FK_ADD; 6969 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 6970 eax = eax - 1; /* 0x39005AA3: dec eax */ 6971 _flag_k = FK_DEC; 6972 MEM32(edi + 0x10) = eax; /* 0x39005AA4: mov dword ptr [edi + 0x10], eax */ 6973 eax = MEM32(ebp + 0x8); /* 0x39005AA7: mov eax, dword ptr [ebp + 8] */ 6974 edi = POP32_VAL(esp); /* 0x39005AAA: pop edi */ 6975 esi = POP32_VAL(esp); /* 0x39005AAB: pop esi */ 6976 MEM32(eax) = edx; /* 0x39005AAC: mov dword ptr [eax], edx */ 6977 ebx = POP32_VAL(esp); /* 0x39005AAE: pop ebx */ 6978 esp = ebp; /* 0x39005AAF: mov esp, ebp */ 6979 ebp = POP32_VAL(esp); /* 0x39005AB1: pop ebp */ 6980 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x39005AB2: ret 8 */ 6981 RECOMP_REGS_OUT(); 6982 } 6983 6984 void sub_3900593A(void) { 6985 int _fpu_cmp = 0; 6986 uint32_t _cf = 0; 6987 int _df = 1; 6988 uint32_t _flag_k = FK_NONE; 6989 uint32_t _flag_a = 0, _flag_b = 0; 6990 uint32_t _itail_tgt = 0; 6991 RECOMP_REGS_LOCALS 6992 RECOMP_ENTER(0x3900593Au); 6993 6994 L_3900593A: 6995 edx = MEM32(ecx + 0x8); /* 0x3900593A: mov edx, dword ptr [ecx + 8] */ 6996 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x3900593D: cmp byte ptr [edx + 0x2c], bl */ 6997 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6998 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6999 _flag_k = FK_NARROW(FK_CMP, 24); 7000 if (CMP_NE(_flag_a, _flag_b)) goto L_3900598B; /* 0x39005940: jne 0x3900598b */ 7001 L_39005942: 7002 edx = MEM32(ecx); /* 0x39005942: mov edx, dword ptr [ecx] */ 7003 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005944: mov byte ptr [edx + 0x2c], bl */ 7004 edx = MEM32(ecx); /* 0x39005947: mov edx, dword ptr [ecx] */ 7005 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39005949: mov byte ptr [ecx + 0x2c], 0 */ 7006 esi = MEM32(edx + 0x8); /* 0x3900594D: mov esi, dword ptr [edx + 8] */ 7007 MEM32(ecx) = esi; /* 0x39005950: mov dword ptr [ecx], esi */ 7008 esi = MEM32(edx + 0x8); /* 0x39005952: mov esi, dword ptr [edx + 8] */ 7009 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005955: cmp esi, dword ptr [edi + 8] */ 7010 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7011 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7012 _flag_k = FK_CMP; 7013 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900595D; /* 0x39005958: je 0x3900595d */ 7014 L_3900595A: 7015 MEM32(esi + 0x4) = ecx; /* 0x3900595A: mov dword ptr [esi + 4], ecx */ 7016 L_3900595D: 7017 esi = MEM32(ecx + 0x4); /* 0x3900595D: mov esi, dword ptr [ecx + 4] */ 7018 MEM32(edx + 0x4) = esi; /* 0x39005960: mov dword ptr [edx + 4], esi */ 7019 esi = MEM32(edi + 0x4); /* 0x39005963: mov esi, dword ptr [edi + 4] */ 7020 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005966: cmp ecx, dword ptr [esi + 4] */ 7021 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7022 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7023 _flag_k = FK_CMP; 7024 if (CMP_NE(_flag_a, _flag_b)) goto L_39005970; /* 0x39005969: jne 0x39005970 */ 7025 L_3900596B: 7026 MEM32(esi + 0x4) = edx; /* 0x3900596B: mov dword ptr [esi + 4], edx */ 7027 goto L_3900597F; /* 0x3900596E: jmp 0x3900597f */ 7028 L_39005970: 7029 esi = MEM32(ecx + 0x4); /* 0x39005970: mov esi, dword ptr [ecx + 4] */ 7030 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39005973: cmp ecx, dword ptr [esi + 8] */ 7031 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7032 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7033 _flag_k = FK_CMP; 7034 if (CMP_NE(_flag_a, _flag_b)) goto L_3900597D; /* 0x39005976: jne 0x3900597d */ 7035 L_39005978: 7036 MEM32(esi + 0x8) = edx; /* 0x39005978: mov dword ptr [esi + 8], edx */ 7037 goto L_3900597F; /* 0x3900597B: jmp 0x3900597f */ 7038 L_3900597D: 7039 MEM32(esi) = edx; /* 0x3900597D: mov dword ptr [esi], edx */ 7040 L_3900597F: 7041 MEM32(edx + 0x8) = ecx; /* 0x3900597F: mov dword ptr [edx + 8], ecx */ 7042 MEM32(ecx + 0x4) = edx; /* 0x39005982: mov dword ptr [ecx + 4], edx */ 7043 ecx = MEM32(eax + 0x4); /* 0x39005985: mov ecx, dword ptr [eax + 4] */ 7044 ecx = MEM32(ecx + 0x8); /* 0x39005988: mov ecx, dword ptr [ecx + 8] */ 7045 L_3900598B: 7046 edx = MEM32(eax + 0x4); /* 0x3900598B: mov edx, dword ptr [eax + 4] */ 7047 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x3900598E: mov dl, byte ptr [edx + 0x2c] */ 7048 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39005991: mov byte ptr [ecx + 0x2c], dl */ 7049 edx = MEM32(eax + 0x4); /* 0x39005994: mov edx, dword ptr [eax + 4] */ 7050 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005997: mov byte ptr [edx + 0x2c], bl */ 7051 ecx = MEM32(ecx + 0x8); /* 0x3900599A: mov ecx, dword ptr [ecx + 8] */ 7052 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x3900599D: mov byte ptr [ecx + 0x2c], bl */ 7053 ecx = MEM32(eax + 0x4); /* 0x390059A0: mov ecx, dword ptr [eax + 4] */ 7054 edx = MEM32(ecx + 0x8); /* 0x390059A3: mov edx, dword ptr [ecx + 8] */ 7055 esi = MEM32(edx); /* 0x390059A6: mov esi, dword ptr [edx] */ 7056 MEM32(ecx + 0x8) = esi; /* 0x390059A8: mov dword ptr [ecx + 8], esi */ 7057 esi = MEM32(edx); /* 0x390059AB: mov esi, dword ptr [edx] */ 7058 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390059AD: cmp esi, dword ptr [edi + 8] */ 7059 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7060 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7061 _flag_k = FK_CMP; 7062 if (CMP_EQ(_flag_a, _flag_b)) goto L_390059B5; /* 0x390059B0: je 0x390059b5 */ 7063 L_390059B2: 7064 MEM32(esi + 0x4) = ecx; /* 0x390059B2: mov dword ptr [esi + 4], ecx */ 7065 L_390059B5: 7066 esi = MEM32(ecx + 0x4); /* 0x390059B5: mov esi, dword ptr [ecx + 4] */ 7067 MEM32(edx + 0x4) = esi; /* 0x390059B8: mov dword ptr [edx + 4], esi */ 7068 esi = MEM32(edi + 0x4); /* 0x390059BB: mov esi, dword ptr [edi + 4] */ 7069 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390059BE: cmp ecx, dword ptr [esi + 4] */ 7070 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7071 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7072 _flag_k = FK_CMP; 7073 if (CMP_NE(_flag_a, _flag_b)) goto L_390059CD; /* 0x390059C1: jne 0x390059cd */ 7074 L_390059C3: 7075 MEM32(esi + 0x4) = edx; /* 0x390059C3: mov dword ptr [esi + 4], edx */ 7076 MEM32(edx) = ecx; /* 0x390059C6: mov dword ptr [edx], ecx */ 7077 goto L_39005A83; /* 0x390059C8: jmp 0x39005a83 */ 7078 L_390059CD: 7079 esi = MEM32(ecx + 0x4); /* 0x390059CD: mov esi, dword ptr [ecx + 4] */ 7080 /* cmp ecx, MEM32(esi) */ /* 0x390059D0: cmp ecx, dword ptr [esi] */ 7081 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 7082 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7083 _flag_k = FK_CMP; 7084 if (CMP_NE(_flag_a, _flag_b)) goto L_390059DD; /* 0x390059D2: jne 0x390059dd */ 7085 L_390059D4: 7086 MEM32(esi) = edx; /* 0x390059D4: mov dword ptr [esi], edx */ 7087 MEM32(edx) = ecx; /* 0x390059D6: mov dword ptr [edx], ecx */ 7088 goto L_39005A83; /* 0x390059D8: jmp 0x39005a83 */ 7089 L_390059DD: 7090 MEM32(esi + 0x8) = edx; /* 0x390059DD: mov dword ptr [esi + 8], edx */ 7091 MEM32(edx) = ecx; /* 0x390059E0: mov dword ptr [edx], ecx */ 7092 goto L_39005A83; /* 0x390059E2: jmp 0x39005a83 */ 7093 L_39005A83: 7094 MEM32(ecx + 0x4) = edx; /* 0x39005A83: mov dword ptr [ecx + 4], edx */ 7095 esi = MEM32(ebp + (-0x4)); /* 0x39005A86: mov esi, dword ptr [ebp - 4] */ 7096 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A89: mov byte ptr [eax + 0x2c], bl */ 7097 ecx = esi + 0xC; /* 0x39005A8C: lea ecx, [esi + 0xc] */ 7098 RECOMP_ICALL(0x39004670u); /* 0x39005A8F: call 0x39004670 */ /* not lifted */ 7099 RECOMP_FLAGS_IN(); 7100 PUSH32(esp, esi); /* 0x39005A94: push esi */ 7101 RECOMP_ICALL(0x3900A0A0u); /* 0x39005A95: call 0x3900a0a0 */ /* not lifted */ 7102 RECOMP_FLAGS_IN(); 7103 eax = MEM32(edi + 0x10); /* 0x39005A9A: mov eax, dword ptr [edi + 0x10] */ 7104 edx = MEM32(ebp + 0xC); /* 0x39005A9D: mov edx, dword ptr [ebp + 0xc] */ 7105 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7106 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7107 esp = esp + 4; /* 0x39005AA0: add esp, 4 */ 7108 _flag_k = FK_ADD; 7109 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7110 eax = eax - 1; /* 0x39005AA3: dec eax */ 7111 _flag_k = FK_DEC; 7112 MEM32(edi + 0x10) = eax; /* 0x39005AA4: mov dword ptr [edi + 0x10], eax */ 7113 eax = MEM32(ebp + 0x8); /* 0x39005AA7: mov eax, dword ptr [ebp + 8] */ 7114 edi = POP32_VAL(esp); /* 0x39005AAA: pop edi */ 7115 esi = POP32_VAL(esp); /* 0x39005AAB: pop esi */ 7116 MEM32(eax) = edx; /* 0x39005AAC: mov dword ptr [eax], edx */ 7117 ebx = POP32_VAL(esp); /* 0x39005AAE: pop ebx */ 7118 esp = ebp; /* 0x39005AAF: mov esp, ebp */ 7119 ebp = POP32_VAL(esp); /* 0x39005AB1: pop ebp */ 7120 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x39005AB2: ret 8 */ 7121 RECOMP_REGS_OUT(); 7122 } 7123 7124 void sub_3900597F(void) { 7125 int _fpu_cmp = 0; 7126 uint32_t _cf = 0; 7127 int _df = 1; 7128 uint32_t _flag_k = FK_NONE; 7129 uint32_t _flag_a = 0, _flag_b = 0; 7130 uint32_t _itail_tgt = 0; 7131 RECOMP_REGS_LOCALS 7132 RECOMP_ENTER(0x3900597Fu); 7133 7134 L_3900597F: 7135 MEM32(edx + 0x8) = ecx; /* 0x3900597F: mov dword ptr [edx + 8], ecx */ 7136 MEM32(ecx + 0x4) = edx; /* 0x39005982: mov dword ptr [ecx + 4], edx */ 7137 ecx = MEM32(eax + 0x4); /* 0x39005985: mov ecx, dword ptr [eax + 4] */ 7138 ecx = MEM32(ecx + 0x8); /* 0x39005988: mov ecx, dword ptr [ecx + 8] */ 7139 edx = MEM32(eax + 0x4); /* 0x3900598B: mov edx, dword ptr [eax + 4] */ 7140 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x3900598E: mov dl, byte ptr [edx + 0x2c] */ 7141 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39005991: mov byte ptr [ecx + 0x2c], dl */ 7142 edx = MEM32(eax + 0x4); /* 0x39005994: mov edx, dword ptr [eax + 4] */ 7143 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005997: mov byte ptr [edx + 0x2c], bl */ 7144 ecx = MEM32(ecx + 0x8); /* 0x3900599A: mov ecx, dword ptr [ecx + 8] */ 7145 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x3900599D: mov byte ptr [ecx + 0x2c], bl */ 7146 ecx = MEM32(eax + 0x4); /* 0x390059A0: mov ecx, dword ptr [eax + 4] */ 7147 edx = MEM32(ecx + 0x8); /* 0x390059A3: mov edx, dword ptr [ecx + 8] */ 7148 esi = MEM32(edx); /* 0x390059A6: mov esi, dword ptr [edx] */ 7149 MEM32(ecx + 0x8) = esi; /* 0x390059A8: mov dword ptr [ecx + 8], esi */ 7150 esi = MEM32(edx); /* 0x390059AB: mov esi, dword ptr [edx] */ 7151 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390059AD: cmp esi, dword ptr [edi + 8] */ 7152 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7153 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7154 _flag_k = FK_CMP; 7155 if (CMP_EQ(_flag_a, _flag_b)) goto L_390059B5; /* 0x390059B0: je 0x390059b5 */ 7156 L_390059B2: 7157 MEM32(esi + 0x4) = ecx; /* 0x390059B2: mov dword ptr [esi + 4], ecx */ 7158 L_390059B5: 7159 esi = MEM32(ecx + 0x4); /* 0x390059B5: mov esi, dword ptr [ecx + 4] */ 7160 MEM32(edx + 0x4) = esi; /* 0x390059B8: mov dword ptr [edx + 4], esi */ 7161 esi = MEM32(edi + 0x4); /* 0x390059BB: mov esi, dword ptr [edi + 4] */ 7162 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390059BE: cmp ecx, dword ptr [esi + 4] */ 7163 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7164 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7165 _flag_k = FK_CMP; 7166 if (CMP_NE(_flag_a, _flag_b)) goto L_390059CD; /* 0x390059C1: jne 0x390059cd */ 7167 L_390059C3: 7168 MEM32(esi + 0x4) = edx; /* 0x390059C3: mov dword ptr [esi + 4], edx */ 7169 MEM32(edx) = ecx; /* 0x390059C6: mov dword ptr [edx], ecx */ 7170 goto L_39005A83; /* 0x390059C8: jmp 0x39005a83 */ 7171 L_390059CD: 7172 esi = MEM32(ecx + 0x4); /* 0x390059CD: mov esi, dword ptr [ecx + 4] */ 7173 /* cmp ecx, MEM32(esi) */ /* 0x390059D0: cmp ecx, dword ptr [esi] */ 7174 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 7175 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7176 _flag_k = FK_CMP; 7177 if (CMP_NE(_flag_a, _flag_b)) goto L_390059DD; /* 0x390059D2: jne 0x390059dd */ 7178 L_390059D4: 7179 MEM32(esi) = edx; /* 0x390059D4: mov dword ptr [esi], edx */ 7180 MEM32(edx) = ecx; /* 0x390059D6: mov dword ptr [edx], ecx */ 7181 goto L_39005A83; /* 0x390059D8: jmp 0x39005a83 */ 7182 L_390059DD: 7183 MEM32(esi + 0x8) = edx; /* 0x390059DD: mov dword ptr [esi + 8], edx */ 7184 MEM32(edx) = ecx; /* 0x390059E0: mov dword ptr [edx], ecx */ 7185 goto L_39005A83; /* 0x390059E2: jmp 0x39005a83 */ 7186 L_39005A83: 7187 MEM32(ecx + 0x4) = edx; /* 0x39005A83: mov dword ptr [ecx + 4], edx */ 7188 esi = MEM32(ebp + (-0x4)); /* 0x39005A86: mov esi, dword ptr [ebp - 4] */ 7189 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A89: mov byte ptr [eax + 0x2c], bl */ 7190 ecx = esi + 0xC; /* 0x39005A8C: lea ecx, [esi + 0xc] */ 7191 RECOMP_ICALL(0x39004670u); /* 0x39005A8F: call 0x39004670 */ /* not lifted */ 7192 RECOMP_FLAGS_IN(); 7193 PUSH32(esp, esi); /* 0x39005A94: push esi */ 7194 RECOMP_ICALL(0x3900A0A0u); /* 0x39005A95: call 0x3900a0a0 */ /* not lifted */ 7195 RECOMP_FLAGS_IN(); 7196 eax = MEM32(edi + 0x10); /* 0x39005A9A: mov eax, dword ptr [edi + 0x10] */ 7197 edx = MEM32(ebp + 0xC); /* 0x39005A9D: mov edx, dword ptr [ebp + 0xc] */ 7198 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7199 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7200 esp = esp + 4; /* 0x39005AA0: add esp, 4 */ 7201 _flag_k = FK_ADD; 7202 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7203 eax = eax - 1; /* 0x39005AA3: dec eax */ 7204 _flag_k = FK_DEC; 7205 MEM32(edi + 0x10) = eax; /* 0x39005AA4: mov dword ptr [edi + 0x10], eax */ 7206 eax = MEM32(ebp + 0x8); /* 0x39005AA7: mov eax, dword ptr [ebp + 8] */ 7207 edi = POP32_VAL(esp); /* 0x39005AAA: pop edi */ 7208 esi = POP32_VAL(esp); /* 0x39005AAB: pop esi */ 7209 MEM32(eax) = edx; /* 0x39005AAC: mov dword ptr [eax], edx */ 7210 ebx = POP32_VAL(esp); /* 0x39005AAE: pop ebx */ 7211 esp = ebp; /* 0x39005AAF: mov esp, ebp */ 7212 ebp = POP32_VAL(esp); /* 0x39005AB1: pop ebp */ 7213 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x39005AB2: ret 8 */ 7214 RECOMP_REGS_OUT(); 7215 } 7216 7217 void sub_39005A2B(void) { 7218 int _fpu_cmp = 0; 7219 uint32_t _cf = 0; 7220 int _df = 1; 7221 uint32_t _flag_k = FK_NONE; 7222 uint32_t _flag_a = 0, _flag_b = 0; 7223 uint32_t _itail_tgt = 0; 7224 RECOMP_REGS_LOCALS 7225 RECOMP_ENTER(0x39005A2Bu); 7226 7227 L_39005A2B: 7228 MEM32(edx) = ecx; /* 0x39005A2B: mov dword ptr [edx], ecx */ 7229 MEM32(ecx + 0x4) = edx; /* 0x39005A2D: mov dword ptr [ecx + 4], edx */ 7230 ecx = MEM32(eax + 0x4); /* 0x39005A30: mov ecx, dword ptr [eax + 4] */ 7231 ecx = MEM32(ecx); /* 0x39005A33: mov ecx, dword ptr [ecx] */ 7232 edx = MEM32(eax + 0x4); /* 0x39005A35: mov edx, dword ptr [eax + 4] */ 7233 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x39005A38: mov dl, byte ptr [edx + 0x2c] */ 7234 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39005A3B: mov byte ptr [ecx + 0x2c], dl */ 7235 edx = MEM32(eax + 0x4); /* 0x39005A3E: mov edx, dword ptr [eax + 4] */ 7236 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A41: mov byte ptr [edx + 0x2c], bl */ 7237 ecx = MEM32(ecx); /* 0x39005A44: mov ecx, dword ptr [ecx] */ 7238 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A46: mov byte ptr [ecx + 0x2c], bl */ 7239 ecx = MEM32(eax + 0x4); /* 0x39005A49: mov ecx, dword ptr [eax + 4] */ 7240 edx = MEM32(ecx); /* 0x39005A4C: mov edx, dword ptr [ecx] */ 7241 esi = MEM32(edx + 0x8); /* 0x39005A4E: mov esi, dword ptr [edx + 8] */ 7242 MEM32(ecx) = esi; /* 0x39005A51: mov dword ptr [ecx], esi */ 7243 esi = MEM32(edx + 0x8); /* 0x39005A53: mov esi, dword ptr [edx + 8] */ 7244 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005A56: cmp esi, dword ptr [edi + 8] */ 7245 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7246 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7247 _flag_k = FK_CMP; 7248 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005A5E; /* 0x39005A59: je 0x39005a5e */ 7249 L_39005A5B: 7250 MEM32(esi + 0x4) = ecx; /* 0x39005A5B: mov dword ptr [esi + 4], ecx */ 7251 L_39005A5E: 7252 esi = MEM32(ecx + 0x4); /* 0x39005A5E: mov esi, dword ptr [ecx + 4] */ 7253 MEM32(edx + 0x4) = esi; /* 0x39005A61: mov dword ptr [edx + 4], esi */ 7254 esi = MEM32(edi + 0x4); /* 0x39005A64: mov esi, dword ptr [edi + 4] */ 7255 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005A67: cmp ecx, dword ptr [esi + 4] */ 7256 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7257 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7258 _flag_k = FK_CMP; 7259 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A71; /* 0x39005A6A: jne 0x39005a71 */ 7260 L_39005A6C: 7261 MEM32(esi + 0x4) = edx; /* 0x39005A6C: mov dword ptr [esi + 4], edx */ 7262 goto L_39005A80; /* 0x39005A6F: jmp 0x39005a80 */ 7263 L_39005A71: 7264 esi = MEM32(ecx + 0x4); /* 0x39005A71: mov esi, dword ptr [ecx + 4] */ 7265 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39005A74: cmp ecx, dword ptr [esi + 8] */ 7266 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7267 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7268 _flag_k = FK_CMP; 7269 if (CMP_NE(_flag_a, _flag_b)) goto L_39005A7E; /* 0x39005A77: jne 0x39005a7e */ 7270 L_39005A79: 7271 MEM32(esi + 0x8) = edx; /* 0x39005A79: mov dword ptr [esi + 8], edx */ 7272 goto L_39005A80; /* 0x39005A7C: jmp 0x39005a80 */ 7273 L_39005A7E: 7274 MEM32(esi) = edx; /* 0x39005A7E: mov dword ptr [esi], edx */ 7275 L_39005A80: 7276 MEM32(edx + 0x8) = ecx; /* 0x39005A80: mov dword ptr [edx + 8], ecx */ 7277 MEM32(ecx + 0x4) = edx; /* 0x39005A83: mov dword ptr [ecx + 4], edx */ 7278 esi = MEM32(ebp + (-0x4)); /* 0x39005A86: mov esi, dword ptr [ebp - 4] */ 7279 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A89: mov byte ptr [eax + 0x2c], bl */ 7280 ecx = esi + 0xC; /* 0x39005A8C: lea ecx, [esi + 0xc] */ 7281 RECOMP_ICALL(0x39004670u); /* 0x39005A8F: call 0x39004670 */ /* not lifted */ 7282 RECOMP_FLAGS_IN(); 7283 PUSH32(esp, esi); /* 0x39005A94: push esi */ 7284 RECOMP_ICALL(0x3900A0A0u); /* 0x39005A95: call 0x3900a0a0 */ /* not lifted */ 7285 RECOMP_FLAGS_IN(); 7286 eax = MEM32(edi + 0x10); /* 0x39005A9A: mov eax, dword ptr [edi + 0x10] */ 7287 edx = MEM32(ebp + 0xC); /* 0x39005A9D: mov edx, dword ptr [ebp + 0xc] */ 7288 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7289 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7290 esp = esp + 4; /* 0x39005AA0: add esp, 4 */ 7291 _flag_k = FK_ADD; 7292 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7293 eax = eax - 1; /* 0x39005AA3: dec eax */ 7294 _flag_k = FK_DEC; 7295 MEM32(edi + 0x10) = eax; /* 0x39005AA4: mov dword ptr [edi + 0x10], eax */ 7296 eax = MEM32(ebp + 0x8); /* 0x39005AA7: mov eax, dword ptr [ebp + 8] */ 7297 edi = POP32_VAL(esp); /* 0x39005AAA: pop edi */ 7298 esi = POP32_VAL(esp); /* 0x39005AAB: pop esi */ 7299 MEM32(eax) = edx; /* 0x39005AAC: mov dword ptr [eax], edx */ 7300 ebx = POP32_VAL(esp); /* 0x39005AAE: pop ebx */ 7301 esp = ebp; /* 0x39005AAF: mov esp, ebp */ 7302 ebp = POP32_VAL(esp); /* 0x39005AB1: pop ebp */ 7303 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x39005AB2: ret 8 */ 7304 RECOMP_REGS_OUT(); 7305 } 7306 7307 void sub_39005A80(void) { 7308 int _fpu_cmp = 0; 7309 uint32_t _cf = 0; 7310 int _df = 1; 7311 uint32_t _flag_k = FK_NONE; 7312 uint32_t _flag_a = 0, _flag_b = 0; 7313 uint32_t _itail_tgt = 0; 7314 RECOMP_REGS_LOCALS 7315 RECOMP_ENTER(0x39005A80u); 7316 7317 L_39005A80: 7318 MEM32(edx + 0x8) = ecx; /* 0x39005A80: mov dword ptr [edx + 8], ecx */ 7319 MEM32(ecx + 0x4) = edx; /* 0x39005A83: mov dword ptr [ecx + 4], edx */ 7320 esi = MEM32(ebp + (-0x4)); /* 0x39005A86: mov esi, dword ptr [ebp - 4] */ 7321 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A89: mov byte ptr [eax + 0x2c], bl */ 7322 ecx = esi + 0xC; /* 0x39005A8C: lea ecx, [esi + 0xc] */ 7323 RECOMP_ICALL(0x39004670u); /* 0x39005A8F: call 0x39004670 */ /* not lifted */ 7324 RECOMP_FLAGS_IN(); 7325 PUSH32(esp, esi); /* 0x39005A94: push esi */ 7326 RECOMP_ICALL(0x3900A0A0u); /* 0x39005A95: call 0x3900a0a0 */ /* not lifted */ 7327 RECOMP_FLAGS_IN(); 7328 eax = MEM32(edi + 0x10); /* 0x39005A9A: mov eax, dword ptr [edi + 0x10] */ 7329 edx = MEM32(ebp + 0xC); /* 0x39005A9D: mov edx, dword ptr [ebp + 0xc] */ 7330 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7331 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7332 esp = esp + 4; /* 0x39005AA0: add esp, 4 */ 7333 _flag_k = FK_ADD; 7334 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7335 eax = eax - 1; /* 0x39005AA3: dec eax */ 7336 _flag_k = FK_DEC; 7337 MEM32(edi + 0x10) = eax; /* 0x39005AA4: mov dword ptr [edi + 0x10], eax */ 7338 eax = MEM32(ebp + 0x8); /* 0x39005AA7: mov eax, dword ptr [ebp + 8] */ 7339 edi = POP32_VAL(esp); /* 0x39005AAA: pop edi */ 7340 esi = POP32_VAL(esp); /* 0x39005AAB: pop esi */ 7341 MEM32(eax) = edx; /* 0x39005AAC: mov dword ptr [eax], edx */ 7342 ebx = POP32_VAL(esp); /* 0x39005AAE: pop ebx */ 7343 esp = ebp; /* 0x39005AAF: mov esp, ebp */ 7344 ebp = POP32_VAL(esp); /* 0x39005AB1: pop ebp */ 7345 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x39005AB2: ret 8 */ 7346 RECOMP_REGS_OUT(); 7347 } 7348 7349 void sub_39005A83(void) { 7350 int _fpu_cmp = 0; 7351 uint32_t _cf = 0; 7352 int _df = 1; 7353 uint32_t _flag_k = FK_NONE; 7354 uint32_t _flag_a = 0, _flag_b = 0; 7355 uint32_t _itail_tgt = 0; 7356 RECOMP_REGS_LOCALS 7357 RECOMP_ENTER(0x39005A83u); 7358 7359 L_39005A83: 7360 MEM32(ecx + 0x4) = edx; /* 0x39005A83: mov dword ptr [ecx + 4], edx */ 7361 esi = MEM32(ebp + (-0x4)); /* 0x39005A86: mov esi, dword ptr [ebp - 4] */ 7362 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A89: mov byte ptr [eax + 0x2c], bl */ 7363 ecx = esi + 0xC; /* 0x39005A8C: lea ecx, [esi + 0xc] */ 7364 RECOMP_ICALL(0x39004670u); /* 0x39005A8F: call 0x39004670 */ /* not lifted */ 7365 RECOMP_FLAGS_IN(); 7366 PUSH32(esp, esi); /* 0x39005A94: push esi */ 7367 RECOMP_ICALL(0x3900A0A0u); /* 0x39005A95: call 0x3900a0a0 */ /* not lifted */ 7368 RECOMP_FLAGS_IN(); 7369 eax = MEM32(edi + 0x10); /* 0x39005A9A: mov eax, dword ptr [edi + 0x10] */ 7370 edx = MEM32(ebp + 0xC); /* 0x39005A9D: mov edx, dword ptr [ebp + 0xc] */ 7371 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7372 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7373 esp = esp + 4; /* 0x39005AA0: add esp, 4 */ 7374 _flag_k = FK_ADD; 7375 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7376 eax = eax - 1; /* 0x39005AA3: dec eax */ 7377 _flag_k = FK_DEC; 7378 MEM32(edi + 0x10) = eax; /* 0x39005AA4: mov dword ptr [edi + 0x10], eax */ 7379 eax = MEM32(ebp + 0x8); /* 0x39005AA7: mov eax, dword ptr [ebp + 8] */ 7380 edi = POP32_VAL(esp); /* 0x39005AAA: pop edi */ 7381 esi = POP32_VAL(esp); /* 0x39005AAB: pop esi */ 7382 MEM32(eax) = edx; /* 0x39005AAC: mov dword ptr [eax], edx */ 7383 ebx = POP32_VAL(esp); /* 0x39005AAE: pop ebx */ 7384 esp = ebp; /* 0x39005AAF: mov esp, ebp */ 7385 ebp = POP32_VAL(esp); /* 0x39005AB1: pop ebp */ 7386 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x39005AB2: ret 8 */ 7387 RECOMP_REGS_OUT(); 7388 } 7389 7390 void sub_39005A86(void) { 7391 int _fpu_cmp = 0; 7392 uint32_t _cf = 0; 7393 int _df = 1; 7394 uint32_t _flag_k = FK_NONE; 7395 uint32_t _flag_a = 0, _flag_b = 0; 7396 uint32_t _itail_tgt = 0; 7397 RECOMP_REGS_LOCALS 7398 RECOMP_ENTER(0x39005A86u); 7399 7400 L_39005A86: 7401 esi = MEM32(ebp + (-0x4)); /* 0x39005A86: mov esi, dword ptr [ebp - 4] */ 7402 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005A89: mov byte ptr [eax + 0x2c], bl */ 7403 ecx = esi + 0xC; /* 0x39005A8C: lea ecx, [esi + 0xc] */ 7404 RECOMP_ICALL(0x39004670u); /* 0x39005A8F: call 0x39004670 */ /* not lifted */ 7405 RECOMP_FLAGS_IN(); 7406 PUSH32(esp, esi); /* 0x39005A94: push esi */ 7407 RECOMP_ICALL(0x3900A0A0u); /* 0x39005A95: call 0x3900a0a0 */ /* not lifted */ 7408 RECOMP_FLAGS_IN(); 7409 eax = MEM32(edi + 0x10); /* 0x39005A9A: mov eax, dword ptr [edi + 0x10] */ 7410 edx = MEM32(ebp + 0xC); /* 0x39005A9D: mov edx, dword ptr [ebp + 0xc] */ 7411 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7412 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7413 esp = esp + 4; /* 0x39005AA0: add esp, 4 */ 7414 _flag_k = FK_ADD; 7415 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7416 eax = eax - 1; /* 0x39005AA3: dec eax */ 7417 _flag_k = FK_DEC; 7418 MEM32(edi + 0x10) = eax; /* 0x39005AA4: mov dword ptr [edi + 0x10], eax */ 7419 eax = MEM32(ebp + 0x8); /* 0x39005AA7: mov eax, dword ptr [ebp + 8] */ 7420 edi = POP32_VAL(esp); /* 0x39005AAA: pop edi */ 7421 esi = POP32_VAL(esp); /* 0x39005AAB: pop esi */ 7422 MEM32(eax) = edx; /* 0x39005AAC: mov dword ptr [eax], edx */ 7423 ebx = POP32_VAL(esp); /* 0x39005AAE: pop ebx */ 7424 esp = ebp; /* 0x39005AAF: mov esp, ebp */ 7425 ebp = POP32_VAL(esp); /* 0x39005AB1: pop ebp */ 7426 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x39005AB2: ret 8 */ 7427 RECOMP_REGS_OUT(); 7428 } 7429 7430 void sub_39005AC0(void) { 7431 int _fpu_cmp = 0; 7432 uint32_t _cf = 0; 7433 int _df = 1; 7434 uint32_t _flag_k = FK_NONE; 7435 uint32_t _flag_a = 0, _flag_b = 0; 7436 uint32_t _itail_tgt = 0; 7437 RECOMP_REGS_LOCALS 7438 RECOMP_ENTER(0x39005AC0u); 7439 7440 L_39005AC0: 7441 PUSH32(esp, ebp); /* 0x39005AC0: push ebp */ 7442 ebp = esp; /* 0x39005AC1: mov ebp, esp */ 7443 PUSH32(esp, ebx); /* 0x39005AC3: push ebx */ 7444 ebx = ecx; /* 0x39005AC4: mov ebx, ecx */ 7445 PUSH32(esp, esi); /* 0x39005AC6: push esi */ 7446 PUSH32(esp, edi); /* 0x39005AC7: push edi */ 7447 edi = MEM32(ebp + 0x8); /* 0x39005AC8: mov edi, dword ptr [ebp + 8] */ 7448 eax = MEM32(ebx + 0x8); /* 0x39005ACB: mov eax, dword ptr [ebx + 8] */ 7449 /* cmp edi, eax */ /* 0x39005ACE: cmp edi, eax */ 7450 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 7451 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7452 _flag_k = FK_CMP; 7453 esi = edi; /* 0x39005AD0: mov esi, edi */ 7454 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005AFB; /* 0x39005AD2: je 0x39005afb */ 7455 L_39005AD4: 7456 eax = MEM32(esi + 0x8); /* 0x39005AD4: mov eax, dword ptr [esi + 8] */ 7457 ecx = ebx; /* 0x39005AD7: mov ecx, ebx */ 7458 PUSH32(esp, eax); /* 0x39005AD9: push eax */ 7459 RECOMP_ICALL(0x39005AC0u); /* 0x39005ADA: call 0x39005ac0 */ /* not lifted */ 7460 RECOMP_FLAGS_IN(); 7461 esi = MEM32(esi); /* 0x39005ADF: mov esi, dword ptr [esi] */ 7462 ecx = edi + 0xC; /* 0x39005AE1: lea ecx, [edi + 0xc] */ 7463 RECOMP_ICALL(0x39004670u); /* 0x39005AE4: call 0x39004670 */ /* not lifted */ 7464 RECOMP_FLAGS_IN(); 7465 PUSH32(esp, edi); /* 0x39005AE9: push edi */ 7466 RECOMP_ICALL(0x3900A0A0u); /* 0x39005AEA: call 0x3900a0a0 */ /* not lifted */ 7467 RECOMP_FLAGS_IN(); 7468 eax = MEM32(ebx + 0x8); /* 0x39005AEF: mov eax, dword ptr [ebx + 8] */ 7469 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7470 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7471 esp = esp + 4; /* 0x39005AF2: add esp, 4 */ 7472 _flag_k = FK_ADD; 7473 /* cmp esi, eax */ /* 0x39005AF5: cmp esi, eax */ 7474 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 7475 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7476 _flag_k = FK_CMP; 7477 edi = esi; /* 0x39005AF7: mov edi, esi */ 7478 RECOMP_BACKEDGE(); 7479 if (CMP_NE(_flag_a, _flag_b)) goto L_39005AD4; /* 0x39005AF9: jne 0x39005ad4 */ 7480 L_39005AFB: 7481 edi = POP32_VAL(esp); /* 0x39005AFB: pop edi */ 7482 esi = POP32_VAL(esp); /* 0x39005AFC: pop esi */ 7483 ebx = POP32_VAL(esp); /* 0x39005AFD: pop ebx */ 7484 ebp = POP32_VAL(esp); /* 0x39005AFE: pop ebp */ 7485 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x39005AFF: ret 4 */ 7486 RECOMP_REGS_OUT(); 7487 } 7488 7489 void sub_39005B10(void) { 7490 int _fpu_cmp = 0; 7491 uint32_t _cf = 0; 7492 int _df = 1; 7493 uint32_t _flag_k = FK_NONE; 7494 uint32_t _flag_a = 0, _flag_b = 0; 7495 uint32_t _itail_tgt = 0; 7496 RECOMP_REGS_LOCALS 7497 RECOMP_ENTER(0x39005B10u); 7498 7499 L_39005B10: 7500 PUSH32(esp, ebx); /* 0x39005B10: push ebx */ 7501 PUSH32(esp, esi); /* 0x39005B11: push esi */ 7502 PUSH32(esp, edi); /* 0x39005B12: push edi */ 7503 esi = ecx; /* 0x39005B13: mov esi, ecx */ 7504 PUSH32(esp, 0x30u); /* 0x39005B15: push 0x30 */ 7505 RECOMP_ICALL(0x3900A0ACu); /* 0x39005B17: call 0x3900a0ac */ /* not lifted */ 7506 RECOMP_FLAGS_IN(); 7507 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 7508 ebx = 0; /* 0x39005B1C: xor ebx, ebx */ 7509 _cf = 0; 7510 _flag_k = FK_TEST; 7511 SET_LO8(ecx, 1); /* 0x39005B1E: mov cl, 1 */ 7512 MEM32(eax + 0x4) = ebx; /* 0x39005B20: mov dword ptr [eax + 4], ebx */ 7513 MEM8(eax + 0x2C) = (uint8_t)(LO8(ecx)); /* 0x39005B23: mov byte ptr [eax + 0x2c], cl */ 7514 MEM8(eax + 0x2D) = (uint8_t)(LO8(ebx)); /* 0x39005B26: mov byte ptr [eax + 0x2d], bl */ 7515 MEM32(esi + 0x8) = eax; /* 0x39005B29: mov dword ptr [esi + 8], eax */ 7516 MEM8(eax + 0x2D) = (uint8_t)(LO8(ecx)); /* 0x39005B2C: mov byte ptr [eax + 0x2d], cl */ 7517 eax = MEM32(esi + 0x8); /* 0x39005B2F: mov eax, dword ptr [esi + 8] */ 7518 PUSH32(esp, 0x30u); /* 0x39005B32: push 0x30 */ 7519 MEM32(eax) = ebx; /* 0x39005B34: mov dword ptr [eax], ebx */ 7520 ecx = MEM32(esi + 0x8); /* 0x39005B36: mov ecx, dword ptr [esi + 8] */ 7521 MEM32(ecx + 0x8) = ebx; /* 0x39005B39: mov dword ptr [ecx + 8], ebx */ 7522 edi = MEM32(esi + 0x8); /* 0x39005B3C: mov edi, dword ptr [esi + 8] */ 7523 RECOMP_ICALL(0x3900A0ACu); /* 0x39005B3F: call 0x3900a0ac */ /* not lifted */ 7524 RECOMP_FLAGS_IN(); 7525 MEM32(eax + 0x4) = edi; /* 0x39005B44: mov dword ptr [eax + 4], edi */ 7526 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005B47: mov byte ptr [eax + 0x2c], bl */ 7527 MEM8(eax + 0x2D) = (uint8_t)(LO8(ebx)); /* 0x39005B4A: mov byte ptr [eax + 0x2d], bl */ 7528 MEM32(esi + 0x4) = eax; /* 0x39005B4D: mov dword ptr [esi + 4], eax */ 7529 MEM32(eax) = eax; /* 0x39005B50: mov dword ptr [eax], eax */ 7530 eax = MEM32(esi + 0x4); /* 0x39005B52: mov eax, dword ptr [esi + 4] */ 7531 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 7532 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7533 esp = esp + 8; /* 0x39005B55: add esp, 8 */ 7534 _flag_k = FK_ADD; 7535 MEM32(eax + 0x8) = eax; /* 0x39005B58: mov dword ptr [eax + 8], eax */ 7536 MEM32(esi + 0x10) = ebx; /* 0x39005B5B: mov dword ptr [esi + 0x10], ebx */ 7537 edi = POP32_VAL(esp); /* 0x39005B5E: pop edi */ 7538 esi = POP32_VAL(esp); /* 0x39005B5F: pop esi */ 7539 ebx = POP32_VAL(esp); /* 0x39005B60: pop ebx */ 7540 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x39005B61: ret */ 7541 RECOMP_REGS_OUT(); 7542 } 7543 7544 void sub_39005B70(void) { 7545 int _fpu_cmp = 0; 7546 uint32_t _cf = 0; 7547 int _df = 1; 7548 uint32_t _flag_k = FK_NONE; 7549 uint32_t _flag_a = 0, _flag_b = 0; 7550 uint32_t _itail_tgt = 0; 7551 RECOMP_REGS_LOCALS 7552 RECOMP_ENTER(0x39005B70u); 7553 7554 L_39005B70: 7555 PUSH32(esp, ebp); /* 0x39005B70: push ebp */ 7556 ebp = esp; /* 0x39005B71: mov ebp, esp */ 7557 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 7558 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7559 esp = esp - 0xCu; /* 0x39005B73: sub esp, 0xc */ 7560 _flag_k = FK_CMP; 7561 PUSH32(esp, ebx); /* 0x39005B76: push ebx */ 7562 PUSH32(esp, esi); /* 0x39005B77: push esi */ 7563 PUSH32(esp, edi); /* 0x39005B78: push edi */ 7564 edi = ecx; /* 0x39005B79: mov edi, ecx */ 7565 SET_LO8(eax, 1); /* 0x39005B7B: mov al, 1 */ 7566 esi = MEM32(edi + 0x4); /* 0x39005B7D: mov esi, dword ptr [edi + 4] */ 7567 ecx = MEM32(edi + 0x8); /* 0x39005B80: mov ecx, dword ptr [edi + 8] */ 7568 ebx = MEM32(esi + 0x4); /* 0x39005B83: mov ebx, dword ptr [esi + 4] */ 7569 /* cmp ebx, ecx */ /* 0x39005B86: cmp ebx, ecx */ 7570 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 7571 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7572 _flag_k = FK_CMP; 7573 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005BAD; /* 0x39005B88: je 0x39005bad */ 7574 L_39005B8A: 7575 ecx = MEM32(ebp + 0xC); /* 0x39005B8A: mov ecx, dword ptr [ebp + 0xc] */ 7576 eax = ebx + 0xC; /* 0x39005B8D: lea eax, [ebx + 0xc] */ 7577 PUSH32(esp, eax); /* 0x39005B90: push eax */ 7578 PUSH32(esp, ecx); /* 0x39005B91: push ecx */ 7579 esi = ebx; /* 0x39005B92: mov esi, ebx */ 7580 RECOMP_ICALL(MEM32(0x3900B030)); /* 0x39005B94: call dword ptr [0x3900b030] */ 7581 RECOMP_FLAGS_IN(); 7582 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 7583 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7584 esp = esp + 8; /* 0x39005B9A: add esp, 8 */ 7585 _flag_k = FK_ADD; 7586 /* test LO8(eax), LO8(eax) */ /* 0x39005B9D: test al, al */ 7587 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7588 _cf = 0; 7589 _flag_k = FK_NARROW(FK_TEST, 24); 7590 if (TEST_Z(_flag_a, _flag_b)) goto L_39005BA5; /* 0x39005B9F: je 0x39005ba5 */ 7591 L_39005BA1: 7592 ebx = MEM32(ebx); /* 0x39005BA1: mov ebx, dword ptr [ebx] */ 7593 goto L_39005BA8; /* 0x39005BA3: jmp 0x39005ba8 */ 7594 L_39005BA5: 7595 ebx = MEM32(ebx + 0x8); /* 0x39005BA5: mov ebx, dword ptr [ebx + 8] */ 7596 L_39005BA8: 7597 /* cmp ebx, MEM32(edi + 0x8) */ /* 0x39005BA8: cmp ebx, dword ptr [edi + 8] */ 7598 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7599 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7600 _flag_k = FK_CMP; 7601 RECOMP_BACKEDGE(); 7602 if (CMP_NE(_flag_a, _flag_b)) goto L_39005B8A; /* 0x39005BAB: jne 0x39005b8a */ 7603 L_39005BAD: 7604 SET_LO8(ecx, MEM8(edi + 0xC)); /* 0x39005BAD: mov cl, byte ptr [edi + 0xc] */ 7605 /* test LO8(ecx), LO8(ecx) */ /* 0x39005BB0: test cl, cl */ 7606 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 7607 _cf = 0; 7608 _flag_k = FK_NARROW(FK_TEST, 24); 7609 if (TEST_Z(_flag_a, _flag_b)) goto L_39005D33; /* 0x39005BB2: je 0x39005d33 */ 7610 L_39005BB8: 7611 PUSH32(esp, 0); /* 0x39005BB8: push 0 */ 7612 PUSH32(esp, esi); /* 0x39005BBA: push esi */ 7613 ecx = edi; /* 0x39005BBB: mov ecx, edi */ 7614 RECOMP_ICALL(0x39006E90u); /* 0x39005BBD: call 0x39006e90 */ /* not lifted */ 7615 RECOMP_FLAGS_IN(); 7616 edx = MEM32(edi + 0x8); /* 0x39005BC2: mov edx, dword ptr [edi + 8] */ 7617 MEM32(ebp + (-0x4)) = eax; /* 0x39005BC5: mov dword ptr [ebp - 4], eax */ 7618 MEM32(eax) = edx; /* 0x39005BC8: mov dword ptr [eax], edx */ 7619 ecx = MEM32(edi + 0x8); /* 0x39005BCA: mov ecx, dword ptr [edi + 8] */ 7620 edx = MEM32(ebp + 0xC); /* 0x39005BCD: mov edx, dword ptr [ebp + 0xc] */ 7621 MEM32(eax + 0x8) = ecx; /* 0x39005BD0: mov dword ptr [eax + 8], ecx */ 7622 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu); 7623 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7624 eax = eax + 0xCu; /* 0x39005BD3: add eax, 0xc */ 7625 _flag_k = FK_ADD; 7626 PUSH32(esp, edx); /* 0x39005BD6: push edx */ 7627 PUSH32(esp, eax); /* 0x39005BD7: push eax */ 7628 RECOMP_ICALL(0x39007400u); /* 0x39005BD8: call 0x39007400 */ /* not lifted */ 7629 RECOMP_FLAGS_IN(); 7630 ecx = MEM32(edi + 0x10); /* 0x39005BDD: mov ecx, dword ptr [edi + 0x10] */ 7631 eax = MEM32(edi + 0x4); /* 0x39005BE0: mov eax, dword ptr [edi + 4] */ 7632 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 7633 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7634 esp = esp + 8; /* 0x39005BE3: add esp, 8 */ 7635 _flag_k = FK_ADD; 7636 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7637 ecx = ecx + 1; /* 0x39005BE6: inc ecx */ 7638 _flag_k = FK_INC; 7639 /* cmp esi, eax */ /* 0x39005BE7: cmp esi, eax */ 7640 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 7641 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7642 _flag_k = FK_CMP; 7643 MEM32(edi + 0x10) = ecx; /* 0x39005BE9: mov dword ptr [edi + 0x10], ecx */ 7644 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005C1B; /* 0x39005BEC: je 0x39005c1b */ 7645 L_39005BEE: 7646 /* cmp ebx, MEM32(edi + 0x8) */ /* 0x39005BEE: cmp ebx, dword ptr [edi + 8] */ 7647 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7648 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7649 _flag_k = FK_CMP; 7650 if (CMP_NE(_flag_a, _flag_b)) goto L_39005C1B; /* 0x39005BF1: jne 0x39005c1b */ 7651 L_39005BF3: 7652 ecx = MEM32(ebp + 0xC); /* 0x39005BF3: mov ecx, dword ptr [ebp + 0xc] */ 7653 eax = esi + 0xC; /* 0x39005BF6: lea eax, [esi + 0xc] */ 7654 PUSH32(esp, eax); /* 0x39005BF9: push eax */ 7655 PUSH32(esp, ecx); /* 0x39005BFA: push ecx */ 7656 RECOMP_ICALL(MEM32(0x3900B030)); /* 0x39005BFB: call dword ptr [0x3900b030] */ 7657 RECOMP_FLAGS_IN(); 7658 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 7659 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7660 esp = esp + 8; /* 0x39005C01: add esp, 8 */ 7661 _flag_k = FK_ADD; 7662 /* test LO8(eax), LO8(eax) */ /* 0x39005C04: test al, al */ 7663 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7664 _cf = 0; 7665 _flag_k = FK_NARROW(FK_TEST, 24); 7666 if (TEST_NZ(_flag_a, _flag_b)) goto L_39005C1B; /* 0x39005C06: jne 0x39005c1b */ 7667 L_39005C08: 7668 ebx = MEM32(ebp + (-0x4)); /* 0x39005C08: mov ebx, dword ptr [ebp - 4] */ 7669 MEM32(esi + 0x8) = ebx; /* 0x39005C0B: mov dword ptr [esi + 8], ebx */ 7670 eax = MEM32(edi + 0x4); /* 0x39005C0E: mov eax, dword ptr [edi + 4] */ 7671 /* cmp esi, MEM32(eax + 0x8) */ /* 0x39005C11: cmp esi, dword ptr [eax + 8] */ 7672 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 7673 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7674 _flag_k = FK_CMP; 7675 if (CMP_NE(_flag_a, _flag_b)) goto L_39005C3E; /* 0x39005C14: jne 0x39005c3e */ 7676 L_39005C16: 7677 MEM32(eax + 0x8) = ebx; /* 0x39005C16: mov dword ptr [eax + 8], ebx */ 7678 goto L_39005C3E; /* 0x39005C19: jmp 0x39005c3e */ 7679 L_39005C1B: 7680 ecx = MEM32(ebp + (-0x4)); /* 0x39005C1B: mov ecx, dword ptr [ebp - 4] */ 7681 MEM32(esi) = ecx; /* 0x39005C1E: mov dword ptr [esi], ecx */ 7682 eax = MEM32(edi + 0x4); /* 0x39005C20: mov eax, dword ptr [edi + 4] */ 7683 /* cmp esi, eax */ /* 0x39005C23: cmp esi, eax */ 7684 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 7685 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7686 _flag_k = FK_CMP; 7687 if (CMP_NE(_flag_a, _flag_b)) goto L_39005C32; /* 0x39005C25: jne 0x39005c32 */ 7688 L_39005C27: 7689 MEM32(eax + 0x4) = ecx; /* 0x39005C27: mov dword ptr [eax + 4], ecx */ 7690 edx = MEM32(edi + 0x4); /* 0x39005C2A: mov edx, dword ptr [edi + 4] */ 7691 MEM32(edx + 0x8) = ecx; /* 0x39005C2D: mov dword ptr [edx + 8], ecx */ 7692 goto L_39005C3B; /* 0x39005C30: jmp 0x39005c3b */ 7693 L_39005C32: 7694 /* cmp esi, MEM32(eax) */ /* 0x39005C32: cmp esi, dword ptr [eax] */ 7695 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax)); 7696 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7697 _flag_k = FK_CMP; 7698 if (CMP_NE(_flag_a, _flag_b)) goto L_39005C3B; /* 0x39005C34: jne 0x39005c3b */ 7699 L_39005C36: 7700 ecx = MEM32(ebp + (-0x4)); /* 0x39005C36: mov ecx, dword ptr [ebp - 4] */ 7701 MEM32(eax) = ecx; /* 0x39005C39: mov dword ptr [eax], ecx */ 7702 L_39005C3B: 7703 ebx = MEM32(ebp + (-0x4)); /* 0x39005C3B: mov ebx, dword ptr [ebp - 4] */ 7704 L_39005C3E: 7705 edx = MEM32(edi + 0x4); /* 0x39005C3E: mov edx, dword ptr [edi + 4] */ 7706 esi = ebx; /* 0x39005C41: mov esi, ebx */ 7707 /* cmp ebx, MEM32(edx + 0x4) */ /* 0x39005C43: cmp ebx, dword ptr [edx + 4] */ 7708 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 7709 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7710 _flag_k = FK_CMP; 7711 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005D11; /* 0x39005C46: je 0x39005d11 */ 7712 L_39005C4C: 7713 eax = MEM32(esi + 0x4); /* 0x39005C4C: mov eax, dword ptr [esi + 4] */ 7714 SET_LO8(ecx, MEM8(eax + 0x2C)); /* 0x39005C4F: mov cl, byte ptr [eax + 0x2c] */ 7715 /* test LO8(ecx), LO8(ecx) */ /* 0x39005C52: test cl, cl */ 7716 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 7717 _cf = 0; 7718 _flag_k = FK_NARROW(FK_TEST, 24); 7719 if (TEST_NZ(_flag_a, _flag_b)) goto L_39005D11; /* 0x39005C54: jne 0x39005d11 */ 7720 L_39005C5A: 7721 edx = MEM32(eax + 0x4); /* 0x39005C5A: mov edx, dword ptr [eax + 4] */ 7722 ecx = MEM32(edx); /* 0x39005C5D: mov ecx, dword ptr [edx] */ 7723 /* cmp eax, ecx */ /* 0x39005C5F: cmp eax, ecx */ 7724 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 7725 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7726 _flag_k = FK_CMP; 7727 if (CMP_NE(_flag_a, _flag_b)) goto L_39005CB7; /* 0x39005C61: jne 0x39005cb7 */ 7728 L_39005C63: 7729 ecx = MEM32(edx + 0x8); /* 0x39005C63: mov ecx, dword ptr [edx + 8] */ 7730 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39005C66: mov dl, byte ptr [ecx + 0x2c] */ 7731 /* test LO8(edx), LO8(edx) */ /* 0x39005C69: test dl, dl */ 7732 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 7733 _cf = 0; 7734 _flag_k = FK_NARROW(FK_TEST, 24); 7735 if (TEST_NZ(_flag_a, _flag_b)) goto L_39005C87; /* 0x39005C6B: jne 0x39005c87 */ 7736 L_39005C6D: 7737 MEM8(eax + 0x2C) = (uint8_t)(1); /* 0x39005C6D: mov byte ptr [eax + 0x2c], 1 */ 7738 MEM8(ecx + 0x2C) = (uint8_t)(1); /* 0x39005C71: mov byte ptr [ecx + 0x2c], 1 */ 7739 eax = MEM32(esi + 0x4); /* 0x39005C75: mov eax, dword ptr [esi + 4] */ 7740 ecx = MEM32(eax + 0x4); /* 0x39005C78: mov ecx, dword ptr [eax + 4] */ 7741 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39005C7B: mov byte ptr [ecx + 0x2c], 0 */ 7742 edx = MEM32(esi + 0x4); /* 0x39005C7F: mov edx, dword ptr [esi + 4] */ 7743 esi = MEM32(edx + 0x4); /* 0x39005C82: mov esi, dword ptr [edx + 4] */ 7744 goto L_39005D05; /* 0x39005C85: jmp 0x39005d05 */ 7745 L_39005C87: 7746 /* cmp esi, MEM32(eax + 0x8) */ /* 0x39005C87: cmp esi, dword ptr [eax + 8] */ 7747 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 7748 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7749 _flag_k = FK_CMP; 7750 if (CMP_NE(_flag_a, _flag_b)) goto L_39005C96; /* 0x39005C8A: jne 0x39005c96 */ 7751 L_39005C8C: 7752 esi = eax; /* 0x39005C8C: mov esi, eax */ 7753 ecx = edi; /* 0x39005C8E: mov ecx, edi */ 7754 PUSH32(esp, esi); /* 0x39005C90: push esi */ 7755 RECOMP_ICALL(0x39006E30u); /* 0x39005C91: call 0x39006e30 */ /* not lifted */ 7756 RECOMP_FLAGS_IN(); 7757 L_39005C96: 7758 eax = MEM32(esi + 0x4); /* 0x39005C96: mov eax, dword ptr [esi + 4] */ 7759 MEM8(eax + 0x2C) = (uint8_t)(1); /* 0x39005C99: mov byte ptr [eax + 0x2c], 1 */ 7760 ecx = MEM32(esi + 0x4); /* 0x39005C9D: mov ecx, dword ptr [esi + 4] */ 7761 edx = MEM32(ecx + 0x4); /* 0x39005CA0: mov edx, dword ptr [ecx + 4] */ 7762 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x39005CA3: mov byte ptr [edx + 0x2c], 0 */ 7763 eax = MEM32(esi + 0x4); /* 0x39005CA7: mov eax, dword ptr [esi + 4] */ 7764 ecx = MEM32(eax + 0x4); /* 0x39005CAA: mov ecx, dword ptr [eax + 4] */ 7765 PUSH32(esp, ecx); /* 0x39005CAD: push ecx */ 7766 ecx = edi; /* 0x39005CAE: mov ecx, edi */ 7767 RECOMP_ICALL(0x39009870u); /* 0x39005CB0: call 0x39009870 */ /* not lifted */ 7768 RECOMP_FLAGS_IN(); 7769 goto L_39005D05; /* 0x39005CB5: jmp 0x39005d05 */ 7770 L_39005CB7: 7771 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39005CB7: mov dl, byte ptr [ecx + 0x2c] */ 7772 /* test LO8(edx), LO8(edx) */ /* 0x39005CBA: test dl, dl */ 7773 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 7774 _cf = 0; 7775 _flag_k = FK_NARROW(FK_TEST, 24); 7776 if (TEST_NZ(_flag_a, _flag_b)) goto L_39005CD8; /* 0x39005CBC: jne 0x39005cd8 */ 7777 L_39005CBE: 7778 MEM8(eax + 0x2C) = (uint8_t)(1); /* 0x39005CBE: mov byte ptr [eax + 0x2c], 1 */ 7779 MEM8(ecx + 0x2C) = (uint8_t)(1); /* 0x39005CC2: mov byte ptr [ecx + 0x2c], 1 */ 7780 edx = MEM32(esi + 0x4); /* 0x39005CC6: mov edx, dword ptr [esi + 4] */ 7781 eax = MEM32(edx + 0x4); /* 0x39005CC9: mov eax, dword ptr [edx + 4] */ 7782 MEM8(eax + 0x2C) = (uint8_t)(0); /* 0x39005CCC: mov byte ptr [eax + 0x2c], 0 */ 7783 ecx = MEM32(esi + 0x4); /* 0x39005CD0: mov ecx, dword ptr [esi + 4] */ 7784 esi = MEM32(ecx + 0x4); /* 0x39005CD3: mov esi, dword ptr [ecx + 4] */ 7785 goto L_39005D05; /* 0x39005CD6: jmp 0x39005d05 */ 7786 L_39005CD8: 7787 /* cmp esi, MEM32(eax) */ /* 0x39005CD8: cmp esi, dword ptr [eax] */ 7788 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax)); 7789 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7790 _flag_k = FK_CMP; 7791 if (CMP_NE(_flag_a, _flag_b)) goto L_39005CE6; /* 0x39005CDA: jne 0x39005ce6 */ 7792 L_39005CDC: 7793 esi = eax; /* 0x39005CDC: mov esi, eax */ 7794 ecx = edi; /* 0x39005CDE: mov ecx, edi */ 7795 PUSH32(esp, esi); /* 0x39005CE0: push esi */ 7796 RECOMP_ICALL(0x39009870u); /* 0x39005CE1: call 0x39009870 */ /* not lifted */ 7797 RECOMP_FLAGS_IN(); 7798 L_39005CE6: 7799 edx = MEM32(esi + 0x4); /* 0x39005CE6: mov edx, dword ptr [esi + 4] */ 7800 MEM8(edx + 0x2C) = (uint8_t)(1); /* 0x39005CE9: mov byte ptr [edx + 0x2c], 1 */ 7801 eax = MEM32(esi + 0x4); /* 0x39005CED: mov eax, dword ptr [esi + 4] */ 7802 ecx = MEM32(eax + 0x4); /* 0x39005CF0: mov ecx, dword ptr [eax + 4] */ 7803 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39005CF3: mov byte ptr [ecx + 0x2c], 0 */ 7804 edx = MEM32(esi + 0x4); /* 0x39005CF7: mov edx, dword ptr [esi + 4] */ 7805 ecx = edi; /* 0x39005CFA: mov ecx, edi */ 7806 eax = MEM32(edx + 0x4); /* 0x39005CFC: mov eax, dword ptr [edx + 4] */ 7807 PUSH32(esp, eax); /* 0x39005CFF: push eax */ 7808 RECOMP_ICALL(0x39006E30u); /* 0x39005D00: call 0x39006e30 */ /* not lifted */ 7809 RECOMP_FLAGS_IN(); 7810 L_39005D05: 7811 ecx = MEM32(edi + 0x4); /* 0x39005D05: mov ecx, dword ptr [edi + 4] */ 7812 /* cmp esi, MEM32(ecx + 0x4) */ /* 0x39005D08: cmp esi, dword ptr [ecx + 4] */ 7813 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 7814 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7815 _flag_k = FK_CMP; 7816 RECOMP_BACKEDGE(); 7817 if (CMP_NE(_flag_a, _flag_b)) goto L_39005C4C; /* 0x39005D0B: jne 0x39005c4c */ 7818 L_39005D11: 7819 edx = MEM32(edi + 0x4); /* 0x39005D11: mov edx, dword ptr [edi + 4] */ 7820 edi = POP32_VAL(esp); /* 0x39005D14: pop edi */ 7821 esi = POP32_VAL(esp); /* 0x39005D15: pop esi */ 7822 eax = MEM32(edx + 0x4); /* 0x39005D16: mov eax, dword ptr [edx + 4] */ 7823 MEM8(eax + 0x2C) = (uint8_t)(1); /* 0x39005D19: mov byte ptr [eax + 0x2c], 1 */ 7824 eax = MEM32(ebp + 0x8); /* 0x39005D1D: mov eax, dword ptr [ebp + 8] */ 7825 MEM8(ebp + (-0x8)) = (uint8_t)(1); /* 0x39005D20: mov byte ptr [ebp - 8], 1 */ 7826 ecx = MEM32(ebp + (-0x8)); /* 0x39005D24: mov ecx, dword ptr [ebp - 8] */ 7827 MEM32(eax) = ebx; /* 0x39005D27: mov dword ptr [eax], ebx */ 7828 MEM32(eax + 0x4) = ecx; /* 0x39005D29: mov dword ptr [eax + 4], ecx */ 7829 ebx = POP32_VAL(esp); /* 0x39005D2C: pop ebx */ 7830 esp = ebp; /* 0x39005D2D: mov esp, ebp */ 7831 ebp = POP32_VAL(esp); /* 0x39005D2F: pop ebp */ 7832 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x39005D30: ret 8 */ 7833 L_39005D33: 7834 /* test LO8(eax), LO8(eax) */ /* 0x39005D33: test al, al */ 7835 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7836 _cf = 0; 7837 _flag_k = FK_NARROW(FK_TEST, 24); 7838 MEM32(ebp + (-0x8)) = esi; /* 0x39005D35: mov dword ptr [ebp - 8], esi */ 7839 if (TEST_Z(_flag_a, _flag_b)) goto L_39005D74; /* 0x39005D38: je 0x39005d74 */ 7840 L_39005D3A: 7841 edx = MEM32(edi + 0x4); /* 0x39005D3A: mov edx, dword ptr [edi + 4] */ 7842 /* cmp esi, MEM32(edx) */ /* 0x39005D3D: cmp esi, dword ptr [edx] */ 7843 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edx)); 7844 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7845 _flag_k = FK_CMP; 7846 if (CMP_NE(_flag_a, _flag_b)) goto L_39005D6C; /* 0x39005D3F: jne 0x39005d6c */ 7847 L_39005D41: 7848 eax = MEM32(ebp + 0xC); /* 0x39005D41: mov eax, dword ptr [ebp + 0xc] */ 7849 ecx = ebp + 0xC; /* 0x39005D44: lea ecx, [ebp + 0xc] */ 7850 PUSH32(esp, eax); /* 0x39005D47: push eax */ 7851 PUSH32(esp, esi); /* 0x39005D48: push esi */ 7852 PUSH32(esp, ebx); /* 0x39005D49: push ebx */ 7853 PUSH32(esp, ecx); /* 0x39005D4A: push ecx */ 7854 ecx = edi; /* 0x39005D4B: mov ecx, edi */ 7855 RECOMP_ICALL(0x39006BE0u); /* 0x39005D4D: call 0x39006be0 */ /* not lifted */ 7856 RECOMP_FLAGS_IN(); 7857 ecx = MEM32(eax); /* 0x39005D52: mov ecx, dword ptr [eax] */ 7858 eax = MEM32(ebp + 0x8); /* 0x39005D54: mov eax, dword ptr [ebp + 8] */ 7859 MEM8(ebp + (-0x8)) = (uint8_t)(1); /* 0x39005D57: mov byte ptr [ebp - 8], 1 */ 7860 edx = MEM32(ebp + (-0x8)); /* 0x39005D5B: mov edx, dword ptr [ebp - 8] */ 7861 edi = POP32_VAL(esp); /* 0x39005D5E: pop edi */ 7862 MEM32(eax) = ecx; /* 0x39005D5F: mov dword ptr [eax], ecx */ 7863 esi = POP32_VAL(esp); /* 0x39005D61: pop esi */ 7864 MEM32(eax + 0x4) = edx; /* 0x39005D62: mov dword ptr [eax + 4], edx */ 7865 ebx = POP32_VAL(esp); /* 0x39005D65: pop ebx */ 7866 esp = ebp; /* 0x39005D66: mov esp, ebp */ 7867 ebp = POP32_VAL(esp); /* 0x39005D68: pop ebp */ 7868 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x39005D69: ret 8 */ 7869 L_39005D6C: 7870 ecx = ebp + (-0x8); /* 0x39005D6C: lea ecx, [ebp - 8] */ 7871 RECOMP_ICALL(0x39007160u); /* 0x39005D6F: call 0x39007160 */ /* not lifted */ 7872 RECOMP_FLAGS_IN(); 7873 L_39005D74: 7874 eax = MEM32(ebp + (-0x8)); /* 0x39005D74: mov eax, dword ptr [ebp - 8] */ 7875 ecx = MEM32(ebp + 0xC); /* 0x39005D77: mov ecx, dword ptr [ebp + 0xc] */ 7876 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu); 7877 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7878 eax = eax + 0xCu; /* 0x39005D7A: add eax, 0xc */ 7879 _flag_k = FK_ADD; 7880 PUSH32(esp, ecx); /* 0x39005D7D: push ecx */ 7881 PUSH32(esp, eax); /* 0x39005D7E: push eax */ 7882 RECOMP_ICALL(MEM32(0x3900B030)); /* 0x39005D7F: call dword ptr [0x3900b030] */ 7883 RECOMP_FLAGS_IN(); 7884 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 7885 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7886 esp = esp + 8; /* 0x39005D85: add esp, 8 */ 7887 _flag_k = FK_ADD; 7888 /* test LO8(eax), LO8(eax) */ /* 0x39005D88: test al, al */ 7889 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7890 _cf = 0; 7891 _flag_k = FK_NARROW(FK_TEST, 24); 7892 if (TEST_Z(_flag_a, _flag_b)) goto L_39005DB7; /* 0x39005D8A: je 0x39005db7 */ 7893 L_39005D8C: 7894 edx = MEM32(ebp + 0xC); /* 0x39005D8C: mov edx, dword ptr [ebp + 0xc] */ 7895 eax = ebp + 0xC; /* 0x39005D8F: lea eax, [ebp + 0xc] */ 7896 PUSH32(esp, edx); /* 0x39005D92: push edx */ 7897 PUSH32(esp, esi); /* 0x39005D93: push esi */ 7898 PUSH32(esp, ebx); /* 0x39005D94: push ebx */ 7899 PUSH32(esp, eax); /* 0x39005D95: push eax */ 7900 ecx = edi; /* 0x39005D96: mov ecx, edi */ 7901 RECOMP_ICALL(0x39006BE0u); /* 0x39005D98: call 0x39006be0 */ /* not lifted */ 7902 RECOMP_FLAGS_IN(); 7903 ecx = MEM32(eax); /* 0x39005D9D: mov ecx, dword ptr [eax] */ 7904 eax = MEM32(ebp + 0x8); /* 0x39005D9F: mov eax, dword ptr [ebp + 8] */ 7905 MEM8(ebp + (-0x8)) = (uint8_t)(1); /* 0x39005DA2: mov byte ptr [ebp - 8], 1 */ 7906 edi = POP32_VAL(esp); /* 0x39005DA6: pop edi */ 7907 MEM32(eax) = ecx; /* 0x39005DA7: mov dword ptr [eax], ecx */ 7908 ecx = MEM32(ebp + (-0x8)); /* 0x39005DA9: mov ecx, dword ptr [ebp - 8] */ 7909 esi = POP32_VAL(esp); /* 0x39005DAC: pop esi */ 7910 MEM32(eax + 0x4) = ecx; /* 0x39005DAD: mov dword ptr [eax + 4], ecx */ 7911 ebx = POP32_VAL(esp); /* 0x39005DB0: pop ebx */ 7912 esp = ebp; /* 0x39005DB1: mov esp, ebp */ 7913 ebp = POP32_VAL(esp); /* 0x39005DB3: pop ebp */ 7914 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x39005DB4: ret 8 */ 7915 L_39005DB7: 7916 ecx = MEM32(ebp + (-0x8)); /* 0x39005DB7: mov ecx, dword ptr [ebp - 8] */ 7917 eax = MEM32(ebp + 0x8); /* 0x39005DBA: mov eax, dword ptr [ebp + 8] */ 7918 MEM8(ebp + (-0x8)) = (uint8_t)(0); /* 0x39005DBD: mov byte ptr [ebp - 8], 0 */ 7919 edx = MEM32(ebp + (-0x8)); /* 0x39005DC1: mov edx, dword ptr [ebp - 8] */ 7920 edi = POP32_VAL(esp); /* 0x39005DC4: pop edi */ 7921 MEM32(eax) = ecx; /* 0x39005DC5: mov dword ptr [eax], ecx */ 7922 esi = POP32_VAL(esp); /* 0x39005DC7: pop esi */ 7923 MEM32(eax + 0x4) = edx; /* 0x39005DC8: mov dword ptr [eax + 4], edx */ 7924 ebx = POP32_VAL(esp); /* 0x39005DCB: pop ebx */ 7925 esp = ebp; /* 0x39005DCC: mov esp, ebp */ 7926 ebp = POP32_VAL(esp); /* 0x39005DCE: pop ebp */ 7927 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x39005DCF: ret 8 */ 7928 RECOMP_REGS_OUT(); 7929 } 7930 7931 void sub_39005DE0(void) { 7932 int _fpu_cmp = 0; 7933 uint32_t _cf = 0; 7934 int _df = 1; 7935 uint32_t _flag_k = FK_NONE; 7936 uint32_t _flag_a = 0, _flag_b = 0; 7937 uint32_t _itail_tgt = 0; 7938 RECOMP_REGS_LOCALS 7939 RECOMP_ENTER(0x39005DE0u); 7940 7941 L_39005DE0: 7942 PUSH32(esp, ebp); /* 0x39005DE0: push ebp */ 7943 ebp = esp; /* 0x39005DE1: mov ebp, esp */ 7944 PUSH32(esp, ecx); /* 0x39005DE3: push ecx */ 7945 PUSH32(esp, ebx); /* 0x39005DE4: push ebx */ 7946 PUSH32(esp, esi); /* 0x39005DE5: push esi */ 7947 esi = MEM32(ebp + 0xC); /* 0x39005DE6: mov esi, dword ptr [ebp + 0xc] */ 7948 PUSH32(esp, edi); /* 0x39005DE9: push edi */ 7949 edi = ecx; /* 0x39005DEA: mov edi, ecx */ 7950 ecx = ebp + 0xC; /* 0x39005DEC: lea ecx, [ebp + 0xc] */ 7951 RECOMP_ICALL(0x39004BA0u); /* 0x39005DEF: call 0x39004ba0 */ /* not lifted */ 7952 RECOMP_FLAGS_IN(); 7953 edx = MEM32(esi); /* 0x39005DF4: mov edx, dword ptr [esi] */ 7954 eax = MEM32(edi + 0x8); /* 0x39005DF6: mov eax, dword ptr [edi + 8] */ 7955 /* cmp edx, eax */ /* 0x39005DF9: cmp edx, eax */ 7956 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 7957 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7958 _flag_k = FK_CMP; 7959 MEM32(ebp + (-0x4)) = esi; /* 0x39005DFB: mov dword ptr [ebp - 4], esi */ 7960 if (CMP_NE(_flag_a, _flag_b)) goto L_39005E20; /* 0x39005DFE: jne 0x39005e20 */ 7961 L_39005E00: 7962 eax = MEM32(esi + 0x8); /* 0x39005E00: mov eax, dword ptr [esi + 8] */ 7963 L_39005E03: 7964 ecx = MEM32(ebp + (-0x4)); /* 0x39005E03: mov ecx, dword ptr [ebp - 4] */ 7965 edx = MEM32(ecx + 0x4); /* 0x39005E06: mov edx, dword ptr [ecx + 4] */ 7966 MEM32(eax + 0x4) = edx; /* 0x39005E09: mov dword ptr [eax + 4], edx */ 7967 ecx = MEM32(edi + 0x4); /* 0x39005E0C: mov ecx, dword ptr [edi + 4] */ 7968 /* cmp MEM32(ecx + 0x4), esi */ /* 0x39005E0F: cmp dword ptr [ecx + 4], esi */ 7969 _flag_a = (uint32_t)(MEM32(ecx + 0x4)); _flag_b = (uint32_t)(esi); 7970 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7971 _flag_k = FK_CMP; 7972 if (CMP_NE(_flag_a, _flag_b)) goto L_39005EA5; /* 0x39005E12: jne 0x39005ea5 */ 7973 L_39005E18: 7974 MEM32(ecx + 0x4) = eax; /* 0x39005E18: mov dword ptr [ecx + 4], eax */ 7975 goto L_39005EB3; /* 0x39005E1B: jmp 0x39005eb3 */ 7976 L_39005E20: 7977 ecx = MEM32(esi + 0x8); /* 0x39005E20: mov ecx, dword ptr [esi + 8] */ 7978 /* cmp ecx, eax */ /* 0x39005E23: cmp ecx, eax */ 7979 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 7980 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7981 _flag_k = FK_CMP; 7982 if (CMP_NE(_flag_a, _flag_b)) goto L_39005E2B; /* 0x39005E25: jne 0x39005e2b */ 7983 L_39005E27: 7984 eax = edx; /* 0x39005E27: mov eax, edx */ 7985 RECOMP_BACKEDGE(); 7986 goto L_39005E03; /* 0x39005E29: jmp 0x39005e03 */ 7987 L_39005E2B: 7988 eax = MEM32(ecx); /* 0x39005E2B: mov eax, dword ptr [ecx] */ 7989 SET_LO8(ebx, MEM8(eax + 0x2D)); /* 0x39005E2D: mov bl, byte ptr [eax + 0x2d] */ 7990 /* test LO8(ebx), LO8(ebx) */ /* 0x39005E30: test bl, bl */ 7991 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7992 _cf = 0; 7993 _flag_k = FK_NARROW(FK_TEST, 24); 7994 if (TEST_NZ(_flag_a, _flag_b)) goto L_39005E3F; /* 0x39005E32: jne 0x39005e3f */ 7995 L_39005E34: 7996 ecx = eax; /* 0x39005E34: mov ecx, eax */ 7997 eax = MEM32(ecx); /* 0x39005E36: mov eax, dword ptr [ecx] */ 7998 SET_LO8(ebx, MEM8(eax + 0x2D)); /* 0x39005E38: mov bl, byte ptr [eax + 0x2d] */ 7999 /* test LO8(ebx), LO8(ebx) */ /* 0x39005E3B: test bl, bl */ 8000 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8001 _cf = 0; 8002 _flag_k = FK_NARROW(FK_TEST, 24); 8003 RECOMP_BACKEDGE(); 8004 if (TEST_Z(_flag_a, _flag_b)) goto L_39005E34; /* 0x39005E3D: je 0x39005e34 */ 8005 L_39005E3F: 8006 eax = MEM32(ecx + 0x8); /* 0x39005E3F: mov eax, dword ptr [ecx + 8] */ 8007 /* cmp ecx, esi */ /* 0x39005E42: cmp ecx, esi */ 8008 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 8009 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8010 _flag_k = FK_CMP; 8011 MEM32(ebp + (-0x4)) = ecx; /* 0x39005E44: mov dword ptr [ebp - 4], ecx */ 8012 RECOMP_BACKEDGE(); 8013 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005E03; /* 0x39005E47: je 0x39005e03 */ 8014 L_39005E49: 8015 MEM32(edx + 0x4) = ecx; /* 0x39005E49: mov dword ptr [edx + 4], ecx */ 8016 edx = MEM32(esi); /* 0x39005E4C: mov edx, dword ptr [esi] */ 8017 MEM32(ecx) = edx; /* 0x39005E4E: mov dword ptr [ecx], edx */ 8018 edx = MEM32(esi + 0x8); /* 0x39005E50: mov edx, dword ptr [esi + 8] */ 8019 /* cmp ecx, edx */ /* 0x39005E53: cmp ecx, edx */ 8020 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 8021 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8022 _flag_k = FK_CMP; 8023 if (CMP_NE(_flag_a, _flag_b)) goto L_39005E5C; /* 0x39005E55: jne 0x39005e5c */ 8024 L_39005E57: 8025 MEM32(eax + 0x4) = ecx; /* 0x39005E57: mov dword ptr [eax + 4], ecx */ 8026 goto L_39005E73; /* 0x39005E5A: jmp 0x39005e73 */ 8027 L_39005E5C: 8028 edx = MEM32(ecx + 0x4); /* 0x39005E5C: mov edx, dword ptr [ecx + 4] */ 8029 MEM32(eax + 0x4) = edx; /* 0x39005E5F: mov dword ptr [eax + 4], edx */ 8030 edx = MEM32(ecx + 0x4); /* 0x39005E62: mov edx, dword ptr [ecx + 4] */ 8031 MEM32(edx) = eax; /* 0x39005E65: mov dword ptr [edx], eax */ 8032 edx = MEM32(esi + 0x8); /* 0x39005E67: mov edx, dword ptr [esi + 8] */ 8033 MEM32(ecx + 0x8) = edx; /* 0x39005E6A: mov dword ptr [ecx + 8], edx */ 8034 edx = MEM32(esi + 0x8); /* 0x39005E6D: mov edx, dword ptr [esi + 8] */ 8035 MEM32(edx + 0x4) = ecx; /* 0x39005E70: mov dword ptr [edx + 4], ecx */ 8036 L_39005E73: 8037 edx = MEM32(edi + 0x4); /* 0x39005E73: mov edx, dword ptr [edi + 4] */ 8038 /* cmp MEM32(edx + 0x4), esi */ /* 0x39005E76: cmp dword ptr [edx + 4], esi */ 8039 _flag_a = (uint32_t)(MEM32(edx + 0x4)); _flag_b = (uint32_t)(esi); 8040 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8041 _flag_k = FK_CMP; 8042 if (CMP_NE(_flag_a, _flag_b)) goto L_39005E80; /* 0x39005E79: jne 0x39005e80 */ 8043 L_39005E7B: 8044 MEM32(edx + 0x4) = ecx; /* 0x39005E7B: mov dword ptr [edx + 4], ecx */ 8045 goto L_39005E8E; /* 0x39005E7E: jmp 0x39005e8e */ 8046 L_39005E80: 8047 edx = MEM32(esi + 0x4); /* 0x39005E80: mov edx, dword ptr [esi + 4] */ 8048 /* cmp MEM32(edx), esi */ /* 0x39005E83: cmp dword ptr [edx], esi */ 8049 _flag_a = (uint32_t)(MEM32(edx)); _flag_b = (uint32_t)(esi); 8050 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8051 _flag_k = FK_CMP; 8052 if (CMP_NE(_flag_a, _flag_b)) goto L_39005E8B; /* 0x39005E85: jne 0x39005e8b */ 8053 L_39005E87: 8054 MEM32(edx) = ecx; /* 0x39005E87: mov dword ptr [edx], ecx */ 8055 goto L_39005E8E; /* 0x39005E89: jmp 0x39005e8e */ 8056 L_39005E8B: 8057 MEM32(edx + 0x8) = ecx; /* 0x39005E8B: mov dword ptr [edx + 8], ecx */ 8058 L_39005E8E: 8059 edx = MEM32(esi + 0x4); /* 0x39005E8E: mov edx, dword ptr [esi + 4] */ 8060 MEM32(ebp + (-0x4)) = esi; /* 0x39005E91: mov dword ptr [ebp - 4], esi */ 8061 MEM32(ecx + 0x4) = edx; /* 0x39005E94: mov dword ptr [ecx + 4], edx */ 8062 SET_LO8(ebx, MEM8(esi + 0x2C)); /* 0x39005E97: mov bl, byte ptr [esi + 0x2c] */ 8063 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39005E9A: mov dl, byte ptr [ecx + 0x2c] */ 8064 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005E9D: mov byte ptr [ecx + 0x2c], bl */ 8065 MEM8(esi + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39005EA0: mov byte ptr [esi + 0x2c], dl */ 8066 goto L_39005F0E; /* 0x39005EA3: jmp 0x39005f0e */ 8067 L_39005EA5: 8068 ecx = MEM32(esi + 0x4); /* 0x39005EA5: mov ecx, dword ptr [esi + 4] */ 8069 /* cmp MEM32(ecx), esi */ /* 0x39005EA8: cmp dword ptr [ecx], esi */ 8070 _flag_a = (uint32_t)(MEM32(ecx)); _flag_b = (uint32_t)(esi); 8071 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8072 _flag_k = FK_CMP; 8073 if (CMP_NE(_flag_a, _flag_b)) goto L_39005EB0; /* 0x39005EAA: jne 0x39005eb0 */ 8074 L_39005EAC: 8075 MEM32(ecx) = eax; /* 0x39005EAC: mov dword ptr [ecx], eax */ 8076 goto L_39005EB3; /* 0x39005EAE: jmp 0x39005eb3 */ 8077 L_39005EB0: 8078 MEM32(ecx + 0x8) = eax; /* 0x39005EB0: mov dword ptr [ecx + 8], eax */ 8079 L_39005EB3: 8080 ebx = MEM32(edi + 0x4); /* 0x39005EB3: mov ebx, dword ptr [edi + 4] */ 8081 /* cmp MEM32(ebx), esi */ /* 0x39005EB6: cmp dword ptr [ebx], esi */ 8082 _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(esi); 8083 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8084 _flag_k = FK_CMP; 8085 if (CMP_NE(_flag_a, _flag_b)) goto L_39005EDF; /* 0x39005EB8: jne 0x39005edf */ 8086 L_39005EBA: 8087 ecx = MEM32(esi + 0x8); /* 0x39005EBA: mov ecx, dword ptr [esi + 8] */ 8088 edx = MEM32(edi + 0x8); /* 0x39005EBD: mov edx, dword ptr [edi + 8] */ 8089 /* cmp ecx, edx */ /* 0x39005EC0: cmp ecx, edx */ 8090 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 8091 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8092 _flag_k = FK_CMP; 8093 if (CMP_NE(_flag_a, _flag_b)) goto L_39005EC9; /* 0x39005EC2: jne 0x39005ec9 */ 8094 L_39005EC4: 8095 edx = MEM32(esi + 0x4); /* 0x39005EC4: mov edx, dword ptr [esi + 4] */ 8096 goto L_39005EDD; /* 0x39005EC7: jmp 0x39005edd */ 8097 L_39005EC9: 8098 ecx = MEM32(eax); /* 0x39005EC9: mov ecx, dword ptr [eax] */ 8099 edx = eax; /* 0x39005ECB: mov edx, eax */ 8100 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x39005ECD: cmp byte ptr [ecx + 0x2d], 0 */ 8101 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 8102 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8103 _flag_k = FK_NARROW(FK_CMP, 24); 8104 if (CMP_NE(_flag_a, _flag_b)) goto L_39005EDD; /* 0x39005ED1: jne 0x39005edd */ 8105 L_39005ED3: 8106 edx = ecx; /* 0x39005ED3: mov edx, ecx */ 8107 ecx = MEM32(edx); /* 0x39005ED5: mov ecx, dword ptr [edx] */ 8108 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x39005ED7: cmp byte ptr [ecx + 0x2d], 0 */ 8109 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 8110 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8111 _flag_k = FK_NARROW(FK_CMP, 24); 8112 RECOMP_BACKEDGE(); 8113 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005ED3; /* 0x39005EDB: je 0x39005ed3 */ 8114 L_39005EDD: 8115 MEM32(ebx) = edx; /* 0x39005EDD: mov dword ptr [ebx], edx */ 8116 L_39005EDF: 8117 ebx = MEM32(edi + 0x4); /* 0x39005EDF: mov ebx, dword ptr [edi + 4] */ 8118 /* cmp MEM32(ebx + 0x8), esi */ /* 0x39005EE2: cmp dword ptr [ebx + 8], esi */ 8119 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 8120 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8121 _flag_k = FK_CMP; 8122 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F0E; /* 0x39005EE5: jne 0x39005f0e */ 8123 L_39005EE7: 8124 ecx = MEM32(esi); /* 0x39005EE7: mov ecx, dword ptr [esi] */ 8125 edx = MEM32(edi + 0x8); /* 0x39005EE9: mov edx, dword ptr [edi + 8] */ 8126 /* cmp ecx, edx */ /* 0x39005EEC: cmp ecx, edx */ 8127 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 8128 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8129 _flag_k = FK_CMP; 8130 if (CMP_NE(_flag_a, _flag_b)) goto L_39005EF5; /* 0x39005EEE: jne 0x39005ef5 */ 8131 L_39005EF0: 8132 edx = MEM32(esi + 0x4); /* 0x39005EF0: mov edx, dword ptr [esi + 4] */ 8133 goto L_39005F0B; /* 0x39005EF3: jmp 0x39005f0b */ 8134 L_39005EF5: 8135 ecx = MEM32(eax + 0x8); /* 0x39005EF5: mov ecx, dword ptr [eax + 8] */ 8136 edx = eax; /* 0x39005EF8: mov edx, eax */ 8137 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x39005EFA: cmp byte ptr [ecx + 0x2d], 0 */ 8138 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 8139 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8140 _flag_k = FK_NARROW(FK_CMP, 24); 8141 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F0B; /* 0x39005EFE: jne 0x39005f0b */ 8142 L_39005F00: 8143 edx = ecx; /* 0x39005F00: mov edx, ecx */ 8144 ecx = MEM32(edx + 0x8); /* 0x39005F02: mov ecx, dword ptr [edx + 8] */ 8145 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x39005F05: cmp byte ptr [ecx + 0x2d], 0 */ 8146 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 8147 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8148 _flag_k = FK_NARROW(FK_CMP, 24); 8149 RECOMP_BACKEDGE(); 8150 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005F00; /* 0x39005F09: je 0x39005f00 */ 8151 L_39005F0B: 8152 MEM32(ebx + 0x8) = edx; /* 0x39005F0B: mov dword ptr [ebx + 8], edx */ 8153 L_39005F0E: 8154 esi = MEM32(ebp + (-0x4)); /* 0x39005F0E: mov esi, dword ptr [ebp - 4] */ 8155 SET_LO8(ebx, 1); /* 0x39005F11: mov bl, 1 */ 8156 /* cmp MEM8(esi + 0x2C), LO8(ebx) */ /* 0x39005F13: cmp byte ptr [esi + 0x2c], bl */ 8157 _flag_a = (uint32_t)(MEM8(esi + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8158 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8159 _flag_k = FK_NARROW(FK_CMP, 24); 8160 if (CMP_NE(_flag_a, _flag_b)) goto L_3900617C; /* 0x39005F16: jne 0x3900617c */ 8161 L_39005F1C: 8162 ecx = MEM32(edi + 0x4); /* 0x39005F1C: mov ecx, dword ptr [edi + 4] */ 8163 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x39005F1F: cmp eax, dword ptr [ecx + 4] */ 8164 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 8165 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8166 _flag_k = FK_CMP; 8167 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006176; /* 0x39005F22: je 0x39006176 */ 8168 L_39005F28: 8169 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x39005F28: cmp byte ptr [eax + 0x2c], bl */ 8170 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8171 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8172 _flag_k = FK_NARROW(FK_CMP, 24); 8173 if (CMP_NE(_flag_a, _flag_b)) goto L_39006176; /* 0x39005F2B: jne 0x39006176 */ 8174 L_39005F31: 8175 edx = MEM32(eax + 0x4); /* 0x39005F31: mov edx, dword ptr [eax + 4] */ 8176 ecx = MEM32(edx); /* 0x39005F34: mov ecx, dword ptr [edx] */ 8177 /* cmp eax, ecx */ /* 0x39005F36: cmp eax, ecx */ 8178 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8179 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8180 _flag_k = FK_CMP; 8181 if (CMP_NE(_flag_a, _flag_b)) goto L_39005FA8; /* 0x39005F38: jne 0x39005fa8 */ 8182 L_39005F3A: 8183 ecx = MEM32(edx + 0x8); /* 0x39005F3A: mov ecx, dword ptr [edx + 8] */ 8184 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39005F3D: mov dl, byte ptr [ecx + 0x2c] */ 8185 /* test LO8(edx), LO8(edx) */ /* 0x39005F40: test dl, dl */ 8186 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 8187 _cf = 0; 8188 _flag_k = FK_NARROW(FK_TEST, 24); 8189 if (TEST_NZ(_flag_a, _flag_b)) goto L_39005F8F; /* 0x39005F42: jne 0x39005f8f */ 8190 L_39005F44: 8191 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005F44: mov byte ptr [ecx + 0x2c], bl */ 8192 edx = MEM32(eax + 0x4); /* 0x39005F47: mov edx, dword ptr [eax + 4] */ 8193 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x39005F4A: mov byte ptr [edx + 0x2c], 0 */ 8194 ecx = MEM32(eax + 0x4); /* 0x39005F4E: mov ecx, dword ptr [eax + 4] */ 8195 edx = MEM32(ecx + 0x8); /* 0x39005F51: mov edx, dword ptr [ecx + 8] */ 8196 esi = MEM32(edx); /* 0x39005F54: mov esi, dword ptr [edx] */ 8197 MEM32(ecx + 0x8) = esi; /* 0x39005F56: mov dword ptr [ecx + 8], esi */ 8198 esi = MEM32(edx); /* 0x39005F59: mov esi, dword ptr [edx] */ 8199 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005F5B: cmp esi, dword ptr [edi + 8] */ 8200 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8201 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8202 _flag_k = FK_CMP; 8203 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005F63; /* 0x39005F5E: je 0x39005f63 */ 8204 L_39005F60: 8205 MEM32(esi + 0x4) = ecx; /* 0x39005F60: mov dword ptr [esi + 4], ecx */ 8206 L_39005F63: 8207 esi = MEM32(ecx + 0x4); /* 0x39005F63: mov esi, dword ptr [ecx + 4] */ 8208 MEM32(edx + 0x4) = esi; /* 0x39005F66: mov dword ptr [edx + 4], esi */ 8209 esi = MEM32(edi + 0x4); /* 0x39005F69: mov esi, dword ptr [edi + 4] */ 8210 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005F6C: cmp ecx, dword ptr [esi + 4] */ 8211 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8212 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8213 _flag_k = FK_CMP; 8214 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F76; /* 0x39005F6F: jne 0x39005f76 */ 8215 L_39005F71: 8216 MEM32(esi + 0x4) = edx; /* 0x39005F71: mov dword ptr [esi + 4], edx */ 8217 goto L_39005F84; /* 0x39005F74: jmp 0x39005f84 */ 8218 L_39005F76: 8219 esi = MEM32(ecx + 0x4); /* 0x39005F76: mov esi, dword ptr [ecx + 4] */ 8220 /* cmp ecx, MEM32(esi) */ /* 0x39005F79: cmp ecx, dword ptr [esi] */ 8221 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 8222 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8223 _flag_k = FK_CMP; 8224 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F81; /* 0x39005F7B: jne 0x39005f81 */ 8225 L_39005F7D: 8226 MEM32(esi) = edx; /* 0x39005F7D: mov dword ptr [esi], edx */ 8227 goto L_39005F84; /* 0x39005F7F: jmp 0x39005f84 */ 8228 L_39005F81: 8229 MEM32(esi + 0x8) = edx; /* 0x39005F81: mov dword ptr [esi + 8], edx */ 8230 L_39005F84: 8231 MEM32(edx) = ecx; /* 0x39005F84: mov dword ptr [edx], ecx */ 8232 MEM32(ecx + 0x4) = edx; /* 0x39005F86: mov dword ptr [ecx + 4], edx */ 8233 ecx = MEM32(eax + 0x4); /* 0x39005F89: mov ecx, dword ptr [eax + 4] */ 8234 ecx = MEM32(ecx + 0x8); /* 0x39005F8C: mov ecx, dword ptr [ecx + 8] */ 8235 L_39005F8F: 8236 edx = MEM32(ecx); /* 0x39005F8F: mov edx, dword ptr [ecx] */ 8237 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005F91: cmp byte ptr [edx + 0x2c], bl */ 8238 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8239 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8240 _flag_k = FK_NARROW(FK_CMP, 24); 8241 if (CMP_NE(_flag_a, _flag_b)) goto L_3900602A; /* 0x39005F94: jne 0x3900602a */ 8242 L_39005F9A: 8243 edx = MEM32(ecx + 0x8); /* 0x39005F9A: mov edx, dword ptr [ecx + 8] */ 8244 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005F9D: cmp byte ptr [edx + 0x2c], bl */ 8245 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8246 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8247 _flag_k = FK_NARROW(FK_CMP, 24); 8248 if (CMP_NE(_flag_a, _flag_b)) goto L_3900602A; /* 0x39005FA0: jne 0x3900602a */ 8249 L_39005FA6: 8250 goto L_39006012; /* 0x39005FA6: jmp 0x39006012 */ 8251 L_39005FA8: 8252 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39005FA8: mov dl, byte ptr [ecx + 0x2c] */ 8253 /* test LO8(edx), LO8(edx) */ /* 0x39005FAB: test dl, dl */ 8254 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 8255 _cf = 0; 8256 _flag_k = FK_NARROW(FK_TEST, 24); 8257 if (TEST_NZ(_flag_a, _flag_b)) goto L_39005FFB; /* 0x39005FAD: jne 0x39005ffb */ 8258 L_39005FAF: 8259 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005FAF: mov byte ptr [ecx + 0x2c], bl */ 8260 ecx = MEM32(eax + 0x4); /* 0x39005FB2: mov ecx, dword ptr [eax + 4] */ 8261 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39005FB5: mov byte ptr [ecx + 0x2c], 0 */ 8262 ecx = MEM32(eax + 0x4); /* 0x39005FB9: mov ecx, dword ptr [eax + 4] */ 8263 edx = MEM32(ecx); /* 0x39005FBC: mov edx, dword ptr [ecx] */ 8264 esi = MEM32(edx + 0x8); /* 0x39005FBE: mov esi, dword ptr [edx + 8] */ 8265 MEM32(ecx) = esi; /* 0x39005FC1: mov dword ptr [ecx], esi */ 8266 esi = MEM32(edx + 0x8); /* 0x39005FC3: mov esi, dword ptr [edx + 8] */ 8267 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005FC6: cmp esi, dword ptr [edi + 8] */ 8268 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8269 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8270 _flag_k = FK_CMP; 8271 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005FCE; /* 0x39005FC9: je 0x39005fce */ 8272 L_39005FCB: 8273 MEM32(esi + 0x4) = ecx; /* 0x39005FCB: mov dword ptr [esi + 4], ecx */ 8274 L_39005FCE: 8275 esi = MEM32(ecx + 0x4); /* 0x39005FCE: mov esi, dword ptr [ecx + 4] */ 8276 MEM32(edx + 0x4) = esi; /* 0x39005FD1: mov dword ptr [edx + 4], esi */ 8277 esi = MEM32(edi + 0x4); /* 0x39005FD4: mov esi, dword ptr [edi + 4] */ 8278 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005FD7: cmp ecx, dword ptr [esi + 4] */ 8279 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8280 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8281 _flag_k = FK_CMP; 8282 if (CMP_NE(_flag_a, _flag_b)) goto L_39005FE1; /* 0x39005FDA: jne 0x39005fe1 */ 8283 L_39005FDC: 8284 MEM32(esi + 0x4) = edx; /* 0x39005FDC: mov dword ptr [esi + 4], edx */ 8285 goto L_39005FF0; /* 0x39005FDF: jmp 0x39005ff0 */ 8286 L_39005FE1: 8287 esi = MEM32(ecx + 0x4); /* 0x39005FE1: mov esi, dword ptr [ecx + 4] */ 8288 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39005FE4: cmp ecx, dword ptr [esi + 8] */ 8289 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8290 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8291 _flag_k = FK_CMP; 8292 if (CMP_NE(_flag_a, _flag_b)) goto L_39005FEE; /* 0x39005FE7: jne 0x39005fee */ 8293 L_39005FE9: 8294 MEM32(esi + 0x8) = edx; /* 0x39005FE9: mov dword ptr [esi + 8], edx */ 8295 goto L_39005FF0; /* 0x39005FEC: jmp 0x39005ff0 */ 8296 L_39005FEE: 8297 MEM32(esi) = edx; /* 0x39005FEE: mov dword ptr [esi], edx */ 8298 L_39005FF0: 8299 MEM32(edx + 0x8) = ecx; /* 0x39005FF0: mov dword ptr [edx + 8], ecx */ 8300 MEM32(ecx + 0x4) = edx; /* 0x39005FF3: mov dword ptr [ecx + 4], edx */ 8301 edx = MEM32(eax + 0x4); /* 0x39005FF6: mov edx, dword ptr [eax + 4] */ 8302 ecx = MEM32(edx); /* 0x39005FF9: mov ecx, dword ptr [edx] */ 8303 L_39005FFB: 8304 edx = MEM32(ecx + 0x8); /* 0x39005FFB: mov edx, dword ptr [ecx + 8] */ 8305 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005FFE: cmp byte ptr [edx + 0x2c], bl */ 8306 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8307 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8308 _flag_k = FK_NARROW(FK_CMP, 24); 8309 if (CMP_NE(_flag_a, _flag_b)) goto L_390060D7; /* 0x39006001: jne 0x390060d7 */ 8310 L_39006007: 8311 edx = MEM32(ecx); /* 0x39006007: mov edx, dword ptr [ecx] */ 8312 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39006009: cmp byte ptr [edx + 0x2c], bl */ 8313 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8314 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8315 _flag_k = FK_NARROW(FK_CMP, 24); 8316 if (CMP_NE(_flag_a, _flag_b)) goto L_390060D7; /* 0x3900600C: jne 0x390060d7 */ 8317 L_39006012: 8318 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006012: mov byte ptr [ecx + 0x2c], 0 */ 8319 ecx = MEM32(edi + 0x4); /* 0x39006016: mov ecx, dword ptr [edi + 4] */ 8320 eax = MEM32(eax + 0x4); /* 0x39006019: mov eax, dword ptr [eax + 4] */ 8321 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900601C: cmp eax, dword ptr [ecx + 4] */ 8322 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 8323 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8324 _flag_k = FK_CMP; 8325 RECOMP_BACKEDGE(); 8326 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F28; /* 0x3900601F: jne 0x39005f28 */ 8327 L_39006025: 8328 goto L_39006176; /* 0x39006025: jmp 0x39006176 */ 8329 L_3900602A: 8330 edx = MEM32(ecx + 0x8); /* 0x3900602A: mov edx, dword ptr [ecx + 8] */ 8331 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x3900602D: cmp byte ptr [edx + 0x2c], bl */ 8332 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8333 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8334 _flag_k = FK_NARROW(FK_CMP, 24); 8335 if (CMP_NE(_flag_a, _flag_b)) goto L_3900607B; /* 0x39006030: jne 0x3900607b */ 8336 L_39006032: 8337 edx = MEM32(ecx); /* 0x39006032: mov edx, dword ptr [ecx] */ 8338 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006034: mov byte ptr [edx + 0x2c], bl */ 8339 edx = MEM32(ecx); /* 0x39006037: mov edx, dword ptr [ecx] */ 8340 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006039: mov byte ptr [ecx + 0x2c], 0 */ 8341 esi = MEM32(edx + 0x8); /* 0x3900603D: mov esi, dword ptr [edx + 8] */ 8342 MEM32(ecx) = esi; /* 0x39006040: mov dword ptr [ecx], esi */ 8343 esi = MEM32(edx + 0x8); /* 0x39006042: mov esi, dword ptr [edx + 8] */ 8344 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006045: cmp esi, dword ptr [edi + 8] */ 8345 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8346 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8347 _flag_k = FK_CMP; 8348 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900604D; /* 0x39006048: je 0x3900604d */ 8349 L_3900604A: 8350 MEM32(esi + 0x4) = ecx; /* 0x3900604A: mov dword ptr [esi + 4], ecx */ 8351 L_3900604D: 8352 esi = MEM32(ecx + 0x4); /* 0x3900604D: mov esi, dword ptr [ecx + 4] */ 8353 MEM32(edx + 0x4) = esi; /* 0x39006050: mov dword ptr [edx + 4], esi */ 8354 esi = MEM32(edi + 0x4); /* 0x39006053: mov esi, dword ptr [edi + 4] */ 8355 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006056: cmp ecx, dword ptr [esi + 4] */ 8356 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8357 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8358 _flag_k = FK_CMP; 8359 if (CMP_NE(_flag_a, _flag_b)) goto L_39006060; /* 0x39006059: jne 0x39006060 */ 8360 L_3900605B: 8361 MEM32(esi + 0x4) = edx; /* 0x3900605B: mov dword ptr [esi + 4], edx */ 8362 goto L_3900606F; /* 0x3900605E: jmp 0x3900606f */ 8363 L_39006060: 8364 esi = MEM32(ecx + 0x4); /* 0x39006060: mov esi, dword ptr [ecx + 4] */ 8365 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39006063: cmp ecx, dword ptr [esi + 8] */ 8366 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8367 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8368 _flag_k = FK_CMP; 8369 if (CMP_NE(_flag_a, _flag_b)) goto L_3900606D; /* 0x39006066: jne 0x3900606d */ 8370 L_39006068: 8371 MEM32(esi + 0x8) = edx; /* 0x39006068: mov dword ptr [esi + 8], edx */ 8372 goto L_3900606F; /* 0x3900606B: jmp 0x3900606f */ 8373 L_3900606D: 8374 MEM32(esi) = edx; /* 0x3900606D: mov dword ptr [esi], edx */ 8375 L_3900606F: 8376 MEM32(edx + 0x8) = ecx; /* 0x3900606F: mov dword ptr [edx + 8], ecx */ 8377 MEM32(ecx + 0x4) = edx; /* 0x39006072: mov dword ptr [ecx + 4], edx */ 8378 ecx = MEM32(eax + 0x4); /* 0x39006075: mov ecx, dword ptr [eax + 4] */ 8379 ecx = MEM32(ecx + 0x8); /* 0x39006078: mov ecx, dword ptr [ecx + 8] */ 8380 L_3900607B: 8381 edx = MEM32(eax + 0x4); /* 0x3900607B: mov edx, dword ptr [eax + 4] */ 8382 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x3900607E: mov dl, byte ptr [edx + 0x2c] */ 8383 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39006081: mov byte ptr [ecx + 0x2c], dl */ 8384 edx = MEM32(eax + 0x4); /* 0x39006084: mov edx, dword ptr [eax + 4] */ 8385 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006087: mov byte ptr [edx + 0x2c], bl */ 8386 ecx = MEM32(ecx + 0x8); /* 0x3900608A: mov ecx, dword ptr [ecx + 8] */ 8387 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x3900608D: mov byte ptr [ecx + 0x2c], bl */ 8388 ecx = MEM32(eax + 0x4); /* 0x39006090: mov ecx, dword ptr [eax + 4] */ 8389 edx = MEM32(ecx + 0x8); /* 0x39006093: mov edx, dword ptr [ecx + 8] */ 8390 esi = MEM32(edx); /* 0x39006096: mov esi, dword ptr [edx] */ 8391 MEM32(ecx + 0x8) = esi; /* 0x39006098: mov dword ptr [ecx + 8], esi */ 8392 esi = MEM32(edx); /* 0x3900609B: mov esi, dword ptr [edx] */ 8393 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3900609D: cmp esi, dword ptr [edi + 8] */ 8394 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8395 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8396 _flag_k = FK_CMP; 8397 if (CMP_EQ(_flag_a, _flag_b)) goto L_390060A5; /* 0x390060A0: je 0x390060a5 */ 8398 L_390060A2: 8399 MEM32(esi + 0x4) = ecx; /* 0x390060A2: mov dword ptr [esi + 4], ecx */ 8400 L_390060A5: 8401 esi = MEM32(ecx + 0x4); /* 0x390060A5: mov esi, dword ptr [ecx + 4] */ 8402 MEM32(edx + 0x4) = esi; /* 0x390060A8: mov dword ptr [edx + 4], esi */ 8403 esi = MEM32(edi + 0x4); /* 0x390060AB: mov esi, dword ptr [edi + 4] */ 8404 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390060AE: cmp ecx, dword ptr [esi + 4] */ 8405 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8406 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8407 _flag_k = FK_CMP; 8408 if (CMP_NE(_flag_a, _flag_b)) goto L_390060BD; /* 0x390060B1: jne 0x390060bd */ 8409 L_390060B3: 8410 MEM32(esi + 0x4) = edx; /* 0x390060B3: mov dword ptr [esi + 4], edx */ 8411 MEM32(edx) = ecx; /* 0x390060B6: mov dword ptr [edx], ecx */ 8412 goto L_39006173; /* 0x390060B8: jmp 0x39006173 */ 8413 L_390060BD: 8414 esi = MEM32(ecx + 0x4); /* 0x390060BD: mov esi, dword ptr [ecx + 4] */ 8415 /* cmp ecx, MEM32(esi) */ /* 0x390060C0: cmp ecx, dword ptr [esi] */ 8416 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 8417 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8418 _flag_k = FK_CMP; 8419 if (CMP_NE(_flag_a, _flag_b)) goto L_390060CD; /* 0x390060C2: jne 0x390060cd */ 8420 L_390060C4: 8421 MEM32(esi) = edx; /* 0x390060C4: mov dword ptr [esi], edx */ 8422 MEM32(edx) = ecx; /* 0x390060C6: mov dword ptr [edx], ecx */ 8423 goto L_39006173; /* 0x390060C8: jmp 0x39006173 */ 8424 L_390060CD: 8425 MEM32(esi + 0x8) = edx; /* 0x390060CD: mov dword ptr [esi + 8], edx */ 8426 MEM32(edx) = ecx; /* 0x390060D0: mov dword ptr [edx], ecx */ 8427 goto L_39006173; /* 0x390060D2: jmp 0x39006173 */ 8428 L_390060D7: 8429 edx = MEM32(ecx); /* 0x390060D7: mov edx, dword ptr [ecx] */ 8430 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390060D9: cmp byte ptr [edx + 0x2c], bl */ 8431 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8432 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8433 _flag_k = FK_NARROW(FK_CMP, 24); 8434 if (CMP_NE(_flag_a, _flag_b)) goto L_39006125; /* 0x390060DC: jne 0x39006125 */ 8435 L_390060DE: 8436 edx = MEM32(ecx + 0x8); /* 0x390060DE: mov edx, dword ptr [ecx + 8] */ 8437 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x390060E1: mov byte ptr [edx + 0x2c], bl */ 8438 edx = MEM32(ecx + 0x8); /* 0x390060E4: mov edx, dword ptr [ecx + 8] */ 8439 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x390060E7: mov byte ptr [ecx + 0x2c], 0 */ 8440 esi = MEM32(edx); /* 0x390060EB: mov esi, dword ptr [edx] */ 8441 MEM32(ecx + 0x8) = esi; /* 0x390060ED: mov dword ptr [ecx + 8], esi */ 8442 esi = MEM32(edx); /* 0x390060F0: mov esi, dword ptr [edx] */ 8443 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390060F2: cmp esi, dword ptr [edi + 8] */ 8444 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8445 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8446 _flag_k = FK_CMP; 8447 if (CMP_EQ(_flag_a, _flag_b)) goto L_390060FA; /* 0x390060F5: je 0x390060fa */ 8448 L_390060F7: 8449 MEM32(esi + 0x4) = ecx; /* 0x390060F7: mov dword ptr [esi + 4], ecx */ 8450 L_390060FA: 8451 esi = MEM32(ecx + 0x4); /* 0x390060FA: mov esi, dword ptr [ecx + 4] */ 8452 MEM32(edx + 0x4) = esi; /* 0x390060FD: mov dword ptr [edx + 4], esi */ 8453 esi = MEM32(edi + 0x4); /* 0x39006100: mov esi, dword ptr [edi + 4] */ 8454 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006103: cmp ecx, dword ptr [esi + 4] */ 8455 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8456 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8457 _flag_k = FK_CMP; 8458 if (CMP_NE(_flag_a, _flag_b)) goto L_3900610D; /* 0x39006106: jne 0x3900610d */ 8459 L_39006108: 8460 MEM32(esi + 0x4) = edx; /* 0x39006108: mov dword ptr [esi + 4], edx */ 8461 goto L_3900611B; /* 0x3900610B: jmp 0x3900611b */ 8462 L_3900610D: 8463 esi = MEM32(ecx + 0x4); /* 0x3900610D: mov esi, dword ptr [ecx + 4] */ 8464 /* cmp ecx, MEM32(esi) */ /* 0x39006110: cmp ecx, dword ptr [esi] */ 8465 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 8466 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8467 _flag_k = FK_CMP; 8468 if (CMP_NE(_flag_a, _flag_b)) goto L_39006118; /* 0x39006112: jne 0x39006118 */ 8469 L_39006114: 8470 MEM32(esi) = edx; /* 0x39006114: mov dword ptr [esi], edx */ 8471 goto L_3900611B; /* 0x39006116: jmp 0x3900611b */ 8472 L_39006118: 8473 MEM32(esi + 0x8) = edx; /* 0x39006118: mov dword ptr [esi + 8], edx */ 8474 L_3900611B: 8475 MEM32(edx) = ecx; /* 0x3900611B: mov dword ptr [edx], ecx */ 8476 MEM32(ecx + 0x4) = edx; /* 0x3900611D: mov dword ptr [ecx + 4], edx */ 8477 ecx = MEM32(eax + 0x4); /* 0x39006120: mov ecx, dword ptr [eax + 4] */ 8478 ecx = MEM32(ecx); /* 0x39006123: mov ecx, dword ptr [ecx] */ 8479 L_39006125: 8480 edx = MEM32(eax + 0x4); /* 0x39006125: mov edx, dword ptr [eax + 4] */ 8481 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x39006128: mov dl, byte ptr [edx + 0x2c] */ 8482 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x3900612B: mov byte ptr [ecx + 0x2c], dl */ 8483 edx = MEM32(eax + 0x4); /* 0x3900612E: mov edx, dword ptr [eax + 4] */ 8484 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006131: mov byte ptr [edx + 0x2c], bl */ 8485 ecx = MEM32(ecx); /* 0x39006134: mov ecx, dword ptr [ecx] */ 8486 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006136: mov byte ptr [ecx + 0x2c], bl */ 8487 ecx = MEM32(eax + 0x4); /* 0x39006139: mov ecx, dword ptr [eax + 4] */ 8488 edx = MEM32(ecx); /* 0x3900613C: mov edx, dword ptr [ecx] */ 8489 esi = MEM32(edx + 0x8); /* 0x3900613E: mov esi, dword ptr [edx + 8] */ 8490 MEM32(ecx) = esi; /* 0x39006141: mov dword ptr [ecx], esi */ 8491 esi = MEM32(edx + 0x8); /* 0x39006143: mov esi, dword ptr [edx + 8] */ 8492 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006146: cmp esi, dword ptr [edi + 8] */ 8493 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8494 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8495 _flag_k = FK_CMP; 8496 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900614E; /* 0x39006149: je 0x3900614e */ 8497 L_3900614B: 8498 MEM32(esi + 0x4) = ecx; /* 0x3900614B: mov dword ptr [esi + 4], ecx */ 8499 L_3900614E: 8500 esi = MEM32(ecx + 0x4); /* 0x3900614E: mov esi, dword ptr [ecx + 4] */ 8501 MEM32(edx + 0x4) = esi; /* 0x39006151: mov dword ptr [edx + 4], esi */ 8502 esi = MEM32(edi + 0x4); /* 0x39006154: mov esi, dword ptr [edi + 4] */ 8503 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006157: cmp ecx, dword ptr [esi + 4] */ 8504 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8505 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8506 _flag_k = FK_CMP; 8507 if (CMP_NE(_flag_a, _flag_b)) goto L_39006161; /* 0x3900615A: jne 0x39006161 */ 8508 L_3900615C: 8509 MEM32(esi + 0x4) = edx; /* 0x3900615C: mov dword ptr [esi + 4], edx */ 8510 goto L_39006170; /* 0x3900615F: jmp 0x39006170 */ 8511 L_39006161: 8512 esi = MEM32(ecx + 0x4); /* 0x39006161: mov esi, dword ptr [ecx + 4] */ 8513 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39006164: cmp ecx, dword ptr [esi + 8] */ 8514 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8515 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8516 _flag_k = FK_CMP; 8517 if (CMP_NE(_flag_a, _flag_b)) goto L_3900616E; /* 0x39006167: jne 0x3900616e */ 8518 L_39006169: 8519 MEM32(esi + 0x8) = edx; /* 0x39006169: mov dword ptr [esi + 8], edx */ 8520 goto L_39006170; /* 0x3900616C: jmp 0x39006170 */ 8521 L_3900616E: 8522 MEM32(esi) = edx; /* 0x3900616E: mov dword ptr [esi], edx */ 8523 L_39006170: 8524 MEM32(edx + 0x8) = ecx; /* 0x39006170: mov dword ptr [edx + 8], ecx */ 8525 L_39006173: 8526 MEM32(ecx + 0x4) = edx; /* 0x39006173: mov dword ptr [ecx + 4], edx */ 8527 L_39006176: 8528 esi = MEM32(ebp + (-0x4)); /* 0x39006176: mov esi, dword ptr [ebp - 4] */ 8529 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006179: mov byte ptr [eax + 0x2c], bl */ 8530 L_3900617C: 8531 ecx = esi + 0xC; /* 0x3900617C: lea ecx, [esi + 0xc] */ 8532 RECOMP_ICALL(0x39004790u); /* 0x3900617F: call 0x39004790 */ /* not lifted */ 8533 RECOMP_FLAGS_IN(); 8534 PUSH32(esp, esi); /* 0x39006184: push esi */ 8535 RECOMP_ICALL(0x3900A0A0u); /* 0x39006185: call 0x3900a0a0 */ /* not lifted */ 8536 RECOMP_FLAGS_IN(); 8537 eax = MEM32(edi + 0x10); /* 0x3900618A: mov eax, dword ptr [edi + 0x10] */ 8538 edx = MEM32(ebp + 0xC); /* 0x3900618D: mov edx, dword ptr [ebp + 0xc] */ 8539 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8540 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8541 esp = esp + 4; /* 0x39006190: add esp, 4 */ 8542 _flag_k = FK_ADD; 8543 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 8544 eax = eax - 1; /* 0x39006193: dec eax */ 8545 _flag_k = FK_DEC; 8546 MEM32(edi + 0x10) = eax; /* 0x39006194: mov dword ptr [edi + 0x10], eax */ 8547 eax = MEM32(ebp + 0x8); /* 0x39006197: mov eax, dword ptr [ebp + 8] */ 8548 edi = POP32_VAL(esp); /* 0x3900619A: pop edi */ 8549 esi = POP32_VAL(esp); /* 0x3900619B: pop esi */ 8550 MEM32(eax) = edx; /* 0x3900619C: mov dword ptr [eax], edx */ 8551 ebx = POP32_VAL(esp); /* 0x3900619E: pop ebx */ 8552 esp = ebp; /* 0x3900619F: mov esp, ebp */ 8553 ebp = POP32_VAL(esp); /* 0x390061A1: pop ebp */ 8554 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x390061A2: ret 8 */ 8555 RECOMP_REGS_OUT(); 8556 } 8557 8558 void sub_39005EB3(void) { 8559 int _fpu_cmp = 0; 8560 uint32_t _cf = 0; 8561 int _df = 1; 8562 uint32_t _flag_k = FK_NONE; 8563 uint32_t _flag_a = 0, _flag_b = 0; 8564 uint32_t _itail_tgt = 0; 8565 RECOMP_REGS_LOCALS 8566 RECOMP_ENTER(0x39005EB3u); 8567 8568 L_39005EB3: 8569 ebx = MEM32(edi + 0x4); /* 0x39005EB3: mov ebx, dword ptr [edi + 4] */ 8570 /* cmp MEM32(ebx), esi */ /* 0x39005EB6: cmp dword ptr [ebx], esi */ 8571 _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(esi); 8572 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8573 _flag_k = FK_CMP; 8574 if (CMP_NE(_flag_a, _flag_b)) goto L_39005EDF; /* 0x39005EB8: jne 0x39005edf */ 8575 L_39005EBA: 8576 ecx = MEM32(esi + 0x8); /* 0x39005EBA: mov ecx, dword ptr [esi + 8] */ 8577 edx = MEM32(edi + 0x8); /* 0x39005EBD: mov edx, dword ptr [edi + 8] */ 8578 /* cmp ecx, edx */ /* 0x39005EC0: cmp ecx, edx */ 8579 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 8580 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8581 _flag_k = FK_CMP; 8582 if (CMP_NE(_flag_a, _flag_b)) goto L_39005EC9; /* 0x39005EC2: jne 0x39005ec9 */ 8583 L_39005EC4: 8584 edx = MEM32(esi + 0x4); /* 0x39005EC4: mov edx, dword ptr [esi + 4] */ 8585 goto L_39005EDD; /* 0x39005EC7: jmp 0x39005edd */ 8586 L_39005EC9: 8587 ecx = MEM32(eax); /* 0x39005EC9: mov ecx, dword ptr [eax] */ 8588 edx = eax; /* 0x39005ECB: mov edx, eax */ 8589 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x39005ECD: cmp byte ptr [ecx + 0x2d], 0 */ 8590 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 8591 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8592 _flag_k = FK_NARROW(FK_CMP, 24); 8593 if (CMP_NE(_flag_a, _flag_b)) goto L_39005EDD; /* 0x39005ED1: jne 0x39005edd */ 8594 L_39005ED3: 8595 edx = ecx; /* 0x39005ED3: mov edx, ecx */ 8596 ecx = MEM32(edx); /* 0x39005ED5: mov ecx, dword ptr [edx] */ 8597 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x39005ED7: cmp byte ptr [ecx + 0x2d], 0 */ 8598 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 8599 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8600 _flag_k = FK_NARROW(FK_CMP, 24); 8601 RECOMP_BACKEDGE(); 8602 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005ED3; /* 0x39005EDB: je 0x39005ed3 */ 8603 L_39005EDD: 8604 MEM32(ebx) = edx; /* 0x39005EDD: mov dword ptr [ebx], edx */ 8605 L_39005EDF: 8606 ebx = MEM32(edi + 0x4); /* 0x39005EDF: mov ebx, dword ptr [edi + 4] */ 8607 /* cmp MEM32(ebx + 0x8), esi */ /* 0x39005EE2: cmp dword ptr [ebx + 8], esi */ 8608 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 8609 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8610 _flag_k = FK_CMP; 8611 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F0E; /* 0x39005EE5: jne 0x39005f0e */ 8612 L_39005EE7: 8613 ecx = MEM32(esi); /* 0x39005EE7: mov ecx, dword ptr [esi] */ 8614 edx = MEM32(edi + 0x8); /* 0x39005EE9: mov edx, dword ptr [edi + 8] */ 8615 /* cmp ecx, edx */ /* 0x39005EEC: cmp ecx, edx */ 8616 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 8617 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8618 _flag_k = FK_CMP; 8619 if (CMP_NE(_flag_a, _flag_b)) goto L_39005EF5; /* 0x39005EEE: jne 0x39005ef5 */ 8620 L_39005EF0: 8621 edx = MEM32(esi + 0x4); /* 0x39005EF0: mov edx, dword ptr [esi + 4] */ 8622 goto L_39005F0B; /* 0x39005EF3: jmp 0x39005f0b */ 8623 L_39005EF5: 8624 ecx = MEM32(eax + 0x8); /* 0x39005EF5: mov ecx, dword ptr [eax + 8] */ 8625 edx = eax; /* 0x39005EF8: mov edx, eax */ 8626 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x39005EFA: cmp byte ptr [ecx + 0x2d], 0 */ 8627 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 8628 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8629 _flag_k = FK_NARROW(FK_CMP, 24); 8630 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F0B; /* 0x39005EFE: jne 0x39005f0b */ 8631 L_39005F00: 8632 edx = ecx; /* 0x39005F00: mov edx, ecx */ 8633 ecx = MEM32(edx + 0x8); /* 0x39005F02: mov ecx, dword ptr [edx + 8] */ 8634 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x39005F05: cmp byte ptr [ecx + 0x2d], 0 */ 8635 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 8636 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8637 _flag_k = FK_NARROW(FK_CMP, 24); 8638 RECOMP_BACKEDGE(); 8639 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005F00; /* 0x39005F09: je 0x39005f00 */ 8640 L_39005F0B: 8641 MEM32(ebx + 0x8) = edx; /* 0x39005F0B: mov dword ptr [ebx + 8], edx */ 8642 L_39005F0E: 8643 esi = MEM32(ebp + (-0x4)); /* 0x39005F0E: mov esi, dword ptr [ebp - 4] */ 8644 SET_LO8(ebx, 1); /* 0x39005F11: mov bl, 1 */ 8645 /* cmp MEM8(esi + 0x2C), LO8(ebx) */ /* 0x39005F13: cmp byte ptr [esi + 0x2c], bl */ 8646 _flag_a = (uint32_t)(MEM8(esi + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8647 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8648 _flag_k = FK_NARROW(FK_CMP, 24); 8649 if (CMP_NE(_flag_a, _flag_b)) goto L_3900617C; /* 0x39005F16: jne 0x3900617c */ 8650 L_39005F1C: 8651 ecx = MEM32(edi + 0x4); /* 0x39005F1C: mov ecx, dword ptr [edi + 4] */ 8652 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x39005F1F: cmp eax, dword ptr [ecx + 4] */ 8653 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 8654 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8655 _flag_k = FK_CMP; 8656 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006176; /* 0x39005F22: je 0x39006176 */ 8657 L_39005F28: 8658 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x39005F28: cmp byte ptr [eax + 0x2c], bl */ 8659 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8660 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8661 _flag_k = FK_NARROW(FK_CMP, 24); 8662 if (CMP_NE(_flag_a, _flag_b)) goto L_39006176; /* 0x39005F2B: jne 0x39006176 */ 8663 L_39005F31: 8664 edx = MEM32(eax + 0x4); /* 0x39005F31: mov edx, dword ptr [eax + 4] */ 8665 ecx = MEM32(edx); /* 0x39005F34: mov ecx, dword ptr [edx] */ 8666 /* cmp eax, ecx */ /* 0x39005F36: cmp eax, ecx */ 8667 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8668 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8669 _flag_k = FK_CMP; 8670 if (CMP_NE(_flag_a, _flag_b)) goto L_39005FA8; /* 0x39005F38: jne 0x39005fa8 */ 8671 L_39005F3A: 8672 ecx = MEM32(edx + 0x8); /* 0x39005F3A: mov ecx, dword ptr [edx + 8] */ 8673 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39005F3D: mov dl, byte ptr [ecx + 0x2c] */ 8674 /* test LO8(edx), LO8(edx) */ /* 0x39005F40: test dl, dl */ 8675 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 8676 _cf = 0; 8677 _flag_k = FK_NARROW(FK_TEST, 24); 8678 if (TEST_NZ(_flag_a, _flag_b)) goto L_39005F8F; /* 0x39005F42: jne 0x39005f8f */ 8679 L_39005F44: 8680 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005F44: mov byte ptr [ecx + 0x2c], bl */ 8681 edx = MEM32(eax + 0x4); /* 0x39005F47: mov edx, dword ptr [eax + 4] */ 8682 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x39005F4A: mov byte ptr [edx + 0x2c], 0 */ 8683 ecx = MEM32(eax + 0x4); /* 0x39005F4E: mov ecx, dword ptr [eax + 4] */ 8684 edx = MEM32(ecx + 0x8); /* 0x39005F51: mov edx, dword ptr [ecx + 8] */ 8685 esi = MEM32(edx); /* 0x39005F54: mov esi, dword ptr [edx] */ 8686 MEM32(ecx + 0x8) = esi; /* 0x39005F56: mov dword ptr [ecx + 8], esi */ 8687 esi = MEM32(edx); /* 0x39005F59: mov esi, dword ptr [edx] */ 8688 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005F5B: cmp esi, dword ptr [edi + 8] */ 8689 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8690 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8691 _flag_k = FK_CMP; 8692 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005F63; /* 0x39005F5E: je 0x39005f63 */ 8693 L_39005F60: 8694 MEM32(esi + 0x4) = ecx; /* 0x39005F60: mov dword ptr [esi + 4], ecx */ 8695 L_39005F63: 8696 esi = MEM32(ecx + 0x4); /* 0x39005F63: mov esi, dword ptr [ecx + 4] */ 8697 MEM32(edx + 0x4) = esi; /* 0x39005F66: mov dword ptr [edx + 4], esi */ 8698 esi = MEM32(edi + 0x4); /* 0x39005F69: mov esi, dword ptr [edi + 4] */ 8699 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005F6C: cmp ecx, dword ptr [esi + 4] */ 8700 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8701 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8702 _flag_k = FK_CMP; 8703 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F76; /* 0x39005F6F: jne 0x39005f76 */ 8704 L_39005F71: 8705 MEM32(esi + 0x4) = edx; /* 0x39005F71: mov dword ptr [esi + 4], edx */ 8706 goto L_39005F84; /* 0x39005F74: jmp 0x39005f84 */ 8707 L_39005F76: 8708 esi = MEM32(ecx + 0x4); /* 0x39005F76: mov esi, dword ptr [ecx + 4] */ 8709 /* cmp ecx, MEM32(esi) */ /* 0x39005F79: cmp ecx, dword ptr [esi] */ 8710 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 8711 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8712 _flag_k = FK_CMP; 8713 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F81; /* 0x39005F7B: jne 0x39005f81 */ 8714 L_39005F7D: 8715 MEM32(esi) = edx; /* 0x39005F7D: mov dword ptr [esi], edx */ 8716 goto L_39005F84; /* 0x39005F7F: jmp 0x39005f84 */ 8717 L_39005F81: 8718 MEM32(esi + 0x8) = edx; /* 0x39005F81: mov dword ptr [esi + 8], edx */ 8719 L_39005F84: 8720 MEM32(edx) = ecx; /* 0x39005F84: mov dword ptr [edx], ecx */ 8721 MEM32(ecx + 0x4) = edx; /* 0x39005F86: mov dword ptr [ecx + 4], edx */ 8722 ecx = MEM32(eax + 0x4); /* 0x39005F89: mov ecx, dword ptr [eax + 4] */ 8723 ecx = MEM32(ecx + 0x8); /* 0x39005F8C: mov ecx, dword ptr [ecx + 8] */ 8724 L_39005F8F: 8725 edx = MEM32(ecx); /* 0x39005F8F: mov edx, dword ptr [ecx] */ 8726 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005F91: cmp byte ptr [edx + 0x2c], bl */ 8727 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8728 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8729 _flag_k = FK_NARROW(FK_CMP, 24); 8730 if (CMP_NE(_flag_a, _flag_b)) goto L_3900602A; /* 0x39005F94: jne 0x3900602a */ 8731 L_39005F9A: 8732 edx = MEM32(ecx + 0x8); /* 0x39005F9A: mov edx, dword ptr [ecx + 8] */ 8733 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005F9D: cmp byte ptr [edx + 0x2c], bl */ 8734 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8735 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8736 _flag_k = FK_NARROW(FK_CMP, 24); 8737 if (CMP_NE(_flag_a, _flag_b)) goto L_3900602A; /* 0x39005FA0: jne 0x3900602a */ 8738 L_39005FA6: 8739 goto L_39006012; /* 0x39005FA6: jmp 0x39006012 */ 8740 L_39005FA8: 8741 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39005FA8: mov dl, byte ptr [ecx + 0x2c] */ 8742 /* test LO8(edx), LO8(edx) */ /* 0x39005FAB: test dl, dl */ 8743 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 8744 _cf = 0; 8745 _flag_k = FK_NARROW(FK_TEST, 24); 8746 if (TEST_NZ(_flag_a, _flag_b)) goto L_39005FFB; /* 0x39005FAD: jne 0x39005ffb */ 8747 L_39005FAF: 8748 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005FAF: mov byte ptr [ecx + 0x2c], bl */ 8749 ecx = MEM32(eax + 0x4); /* 0x39005FB2: mov ecx, dword ptr [eax + 4] */ 8750 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39005FB5: mov byte ptr [ecx + 0x2c], 0 */ 8751 ecx = MEM32(eax + 0x4); /* 0x39005FB9: mov ecx, dword ptr [eax + 4] */ 8752 edx = MEM32(ecx); /* 0x39005FBC: mov edx, dword ptr [ecx] */ 8753 esi = MEM32(edx + 0x8); /* 0x39005FBE: mov esi, dword ptr [edx + 8] */ 8754 MEM32(ecx) = esi; /* 0x39005FC1: mov dword ptr [ecx], esi */ 8755 esi = MEM32(edx + 0x8); /* 0x39005FC3: mov esi, dword ptr [edx + 8] */ 8756 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005FC6: cmp esi, dword ptr [edi + 8] */ 8757 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8758 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8759 _flag_k = FK_CMP; 8760 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005FCE; /* 0x39005FC9: je 0x39005fce */ 8761 L_39005FCB: 8762 MEM32(esi + 0x4) = ecx; /* 0x39005FCB: mov dword ptr [esi + 4], ecx */ 8763 L_39005FCE: 8764 esi = MEM32(ecx + 0x4); /* 0x39005FCE: mov esi, dword ptr [ecx + 4] */ 8765 MEM32(edx + 0x4) = esi; /* 0x39005FD1: mov dword ptr [edx + 4], esi */ 8766 esi = MEM32(edi + 0x4); /* 0x39005FD4: mov esi, dword ptr [edi + 4] */ 8767 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005FD7: cmp ecx, dword ptr [esi + 4] */ 8768 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8769 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8770 _flag_k = FK_CMP; 8771 if (CMP_NE(_flag_a, _flag_b)) goto L_39005FE1; /* 0x39005FDA: jne 0x39005fe1 */ 8772 L_39005FDC: 8773 MEM32(esi + 0x4) = edx; /* 0x39005FDC: mov dword ptr [esi + 4], edx */ 8774 goto L_39005FF0; /* 0x39005FDF: jmp 0x39005ff0 */ 8775 L_39005FE1: 8776 esi = MEM32(ecx + 0x4); /* 0x39005FE1: mov esi, dword ptr [ecx + 4] */ 8777 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39005FE4: cmp ecx, dword ptr [esi + 8] */ 8778 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8779 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8780 _flag_k = FK_CMP; 8781 if (CMP_NE(_flag_a, _flag_b)) goto L_39005FEE; /* 0x39005FE7: jne 0x39005fee */ 8782 L_39005FE9: 8783 MEM32(esi + 0x8) = edx; /* 0x39005FE9: mov dword ptr [esi + 8], edx */ 8784 goto L_39005FF0; /* 0x39005FEC: jmp 0x39005ff0 */ 8785 L_39005FEE: 8786 MEM32(esi) = edx; /* 0x39005FEE: mov dword ptr [esi], edx */ 8787 L_39005FF0: 8788 MEM32(edx + 0x8) = ecx; /* 0x39005FF0: mov dword ptr [edx + 8], ecx */ 8789 MEM32(ecx + 0x4) = edx; /* 0x39005FF3: mov dword ptr [ecx + 4], edx */ 8790 edx = MEM32(eax + 0x4); /* 0x39005FF6: mov edx, dword ptr [eax + 4] */ 8791 ecx = MEM32(edx); /* 0x39005FF9: mov ecx, dword ptr [edx] */ 8792 L_39005FFB: 8793 edx = MEM32(ecx + 0x8); /* 0x39005FFB: mov edx, dword ptr [ecx + 8] */ 8794 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005FFE: cmp byte ptr [edx + 0x2c], bl */ 8795 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8796 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8797 _flag_k = FK_NARROW(FK_CMP, 24); 8798 if (CMP_NE(_flag_a, _flag_b)) goto L_390060D7; /* 0x39006001: jne 0x390060d7 */ 8799 L_39006007: 8800 edx = MEM32(ecx); /* 0x39006007: mov edx, dword ptr [ecx] */ 8801 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39006009: cmp byte ptr [edx + 0x2c], bl */ 8802 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8803 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8804 _flag_k = FK_NARROW(FK_CMP, 24); 8805 if (CMP_NE(_flag_a, _flag_b)) goto L_390060D7; /* 0x3900600C: jne 0x390060d7 */ 8806 L_39006012: 8807 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006012: mov byte ptr [ecx + 0x2c], 0 */ 8808 ecx = MEM32(edi + 0x4); /* 0x39006016: mov ecx, dword ptr [edi + 4] */ 8809 eax = MEM32(eax + 0x4); /* 0x39006019: mov eax, dword ptr [eax + 4] */ 8810 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900601C: cmp eax, dword ptr [ecx + 4] */ 8811 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 8812 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8813 _flag_k = FK_CMP; 8814 RECOMP_BACKEDGE(); 8815 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F28; /* 0x3900601F: jne 0x39005f28 */ 8816 L_39006025: 8817 goto L_39006176; /* 0x39006025: jmp 0x39006176 */ 8818 L_3900602A: 8819 edx = MEM32(ecx + 0x8); /* 0x3900602A: mov edx, dword ptr [ecx + 8] */ 8820 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x3900602D: cmp byte ptr [edx + 0x2c], bl */ 8821 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8822 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8823 _flag_k = FK_NARROW(FK_CMP, 24); 8824 if (CMP_NE(_flag_a, _flag_b)) goto L_3900607B; /* 0x39006030: jne 0x3900607b */ 8825 L_39006032: 8826 edx = MEM32(ecx); /* 0x39006032: mov edx, dword ptr [ecx] */ 8827 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006034: mov byte ptr [edx + 0x2c], bl */ 8828 edx = MEM32(ecx); /* 0x39006037: mov edx, dword ptr [ecx] */ 8829 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006039: mov byte ptr [ecx + 0x2c], 0 */ 8830 esi = MEM32(edx + 0x8); /* 0x3900603D: mov esi, dword ptr [edx + 8] */ 8831 MEM32(ecx) = esi; /* 0x39006040: mov dword ptr [ecx], esi */ 8832 esi = MEM32(edx + 0x8); /* 0x39006042: mov esi, dword ptr [edx + 8] */ 8833 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006045: cmp esi, dword ptr [edi + 8] */ 8834 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8835 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8836 _flag_k = FK_CMP; 8837 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900604D; /* 0x39006048: je 0x3900604d */ 8838 L_3900604A: 8839 MEM32(esi + 0x4) = ecx; /* 0x3900604A: mov dword ptr [esi + 4], ecx */ 8840 L_3900604D: 8841 esi = MEM32(ecx + 0x4); /* 0x3900604D: mov esi, dword ptr [ecx + 4] */ 8842 MEM32(edx + 0x4) = esi; /* 0x39006050: mov dword ptr [edx + 4], esi */ 8843 esi = MEM32(edi + 0x4); /* 0x39006053: mov esi, dword ptr [edi + 4] */ 8844 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006056: cmp ecx, dword ptr [esi + 4] */ 8845 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8846 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8847 _flag_k = FK_CMP; 8848 if (CMP_NE(_flag_a, _flag_b)) goto L_39006060; /* 0x39006059: jne 0x39006060 */ 8849 L_3900605B: 8850 MEM32(esi + 0x4) = edx; /* 0x3900605B: mov dword ptr [esi + 4], edx */ 8851 goto L_3900606F; /* 0x3900605E: jmp 0x3900606f */ 8852 L_39006060: 8853 esi = MEM32(ecx + 0x4); /* 0x39006060: mov esi, dword ptr [ecx + 4] */ 8854 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39006063: cmp ecx, dword ptr [esi + 8] */ 8855 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8856 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8857 _flag_k = FK_CMP; 8858 if (CMP_NE(_flag_a, _flag_b)) goto L_3900606D; /* 0x39006066: jne 0x3900606d */ 8859 L_39006068: 8860 MEM32(esi + 0x8) = edx; /* 0x39006068: mov dword ptr [esi + 8], edx */ 8861 goto L_3900606F; /* 0x3900606B: jmp 0x3900606f */ 8862 L_3900606D: 8863 MEM32(esi) = edx; /* 0x3900606D: mov dword ptr [esi], edx */ 8864 L_3900606F: 8865 MEM32(edx + 0x8) = ecx; /* 0x3900606F: mov dword ptr [edx + 8], ecx */ 8866 MEM32(ecx + 0x4) = edx; /* 0x39006072: mov dword ptr [ecx + 4], edx */ 8867 ecx = MEM32(eax + 0x4); /* 0x39006075: mov ecx, dword ptr [eax + 4] */ 8868 ecx = MEM32(ecx + 0x8); /* 0x39006078: mov ecx, dword ptr [ecx + 8] */ 8869 L_3900607B: 8870 edx = MEM32(eax + 0x4); /* 0x3900607B: mov edx, dword ptr [eax + 4] */ 8871 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x3900607E: mov dl, byte ptr [edx + 0x2c] */ 8872 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39006081: mov byte ptr [ecx + 0x2c], dl */ 8873 edx = MEM32(eax + 0x4); /* 0x39006084: mov edx, dword ptr [eax + 4] */ 8874 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006087: mov byte ptr [edx + 0x2c], bl */ 8875 ecx = MEM32(ecx + 0x8); /* 0x3900608A: mov ecx, dword ptr [ecx + 8] */ 8876 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x3900608D: mov byte ptr [ecx + 0x2c], bl */ 8877 ecx = MEM32(eax + 0x4); /* 0x39006090: mov ecx, dword ptr [eax + 4] */ 8878 edx = MEM32(ecx + 0x8); /* 0x39006093: mov edx, dword ptr [ecx + 8] */ 8879 esi = MEM32(edx); /* 0x39006096: mov esi, dword ptr [edx] */ 8880 MEM32(ecx + 0x8) = esi; /* 0x39006098: mov dword ptr [ecx + 8], esi */ 8881 esi = MEM32(edx); /* 0x3900609B: mov esi, dword ptr [edx] */ 8882 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3900609D: cmp esi, dword ptr [edi + 8] */ 8883 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8884 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8885 _flag_k = FK_CMP; 8886 if (CMP_EQ(_flag_a, _flag_b)) goto L_390060A5; /* 0x390060A0: je 0x390060a5 */ 8887 L_390060A2: 8888 MEM32(esi + 0x4) = ecx; /* 0x390060A2: mov dword ptr [esi + 4], ecx */ 8889 L_390060A5: 8890 esi = MEM32(ecx + 0x4); /* 0x390060A5: mov esi, dword ptr [ecx + 4] */ 8891 MEM32(edx + 0x4) = esi; /* 0x390060A8: mov dword ptr [edx + 4], esi */ 8892 esi = MEM32(edi + 0x4); /* 0x390060AB: mov esi, dword ptr [edi + 4] */ 8893 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390060AE: cmp ecx, dword ptr [esi + 4] */ 8894 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8895 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8896 _flag_k = FK_CMP; 8897 if (CMP_NE(_flag_a, _flag_b)) goto L_390060BD; /* 0x390060B1: jne 0x390060bd */ 8898 L_390060B3: 8899 MEM32(esi + 0x4) = edx; /* 0x390060B3: mov dword ptr [esi + 4], edx */ 8900 MEM32(edx) = ecx; /* 0x390060B6: mov dword ptr [edx], ecx */ 8901 goto L_39006173; /* 0x390060B8: jmp 0x39006173 */ 8902 L_390060BD: 8903 esi = MEM32(ecx + 0x4); /* 0x390060BD: mov esi, dword ptr [ecx + 4] */ 8904 /* cmp ecx, MEM32(esi) */ /* 0x390060C0: cmp ecx, dword ptr [esi] */ 8905 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 8906 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8907 _flag_k = FK_CMP; 8908 if (CMP_NE(_flag_a, _flag_b)) goto L_390060CD; /* 0x390060C2: jne 0x390060cd */ 8909 L_390060C4: 8910 MEM32(esi) = edx; /* 0x390060C4: mov dword ptr [esi], edx */ 8911 MEM32(edx) = ecx; /* 0x390060C6: mov dword ptr [edx], ecx */ 8912 goto L_39006173; /* 0x390060C8: jmp 0x39006173 */ 8913 L_390060CD: 8914 MEM32(esi + 0x8) = edx; /* 0x390060CD: mov dword ptr [esi + 8], edx */ 8915 MEM32(edx) = ecx; /* 0x390060D0: mov dword ptr [edx], ecx */ 8916 goto L_39006173; /* 0x390060D2: jmp 0x39006173 */ 8917 L_390060D7: 8918 edx = MEM32(ecx); /* 0x390060D7: mov edx, dword ptr [ecx] */ 8919 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390060D9: cmp byte ptr [edx + 0x2c], bl */ 8920 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8921 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8922 _flag_k = FK_NARROW(FK_CMP, 24); 8923 if (CMP_NE(_flag_a, _flag_b)) goto L_39006125; /* 0x390060DC: jne 0x39006125 */ 8924 L_390060DE: 8925 edx = MEM32(ecx + 0x8); /* 0x390060DE: mov edx, dword ptr [ecx + 8] */ 8926 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x390060E1: mov byte ptr [edx + 0x2c], bl */ 8927 edx = MEM32(ecx + 0x8); /* 0x390060E4: mov edx, dword ptr [ecx + 8] */ 8928 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x390060E7: mov byte ptr [ecx + 0x2c], 0 */ 8929 esi = MEM32(edx); /* 0x390060EB: mov esi, dword ptr [edx] */ 8930 MEM32(ecx + 0x8) = esi; /* 0x390060ED: mov dword ptr [ecx + 8], esi */ 8931 esi = MEM32(edx); /* 0x390060F0: mov esi, dword ptr [edx] */ 8932 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390060F2: cmp esi, dword ptr [edi + 8] */ 8933 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8934 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8935 _flag_k = FK_CMP; 8936 if (CMP_EQ(_flag_a, _flag_b)) goto L_390060FA; /* 0x390060F5: je 0x390060fa */ 8937 L_390060F7: 8938 MEM32(esi + 0x4) = ecx; /* 0x390060F7: mov dword ptr [esi + 4], ecx */ 8939 L_390060FA: 8940 esi = MEM32(ecx + 0x4); /* 0x390060FA: mov esi, dword ptr [ecx + 4] */ 8941 MEM32(edx + 0x4) = esi; /* 0x390060FD: mov dword ptr [edx + 4], esi */ 8942 esi = MEM32(edi + 0x4); /* 0x39006100: mov esi, dword ptr [edi + 4] */ 8943 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006103: cmp ecx, dword ptr [esi + 4] */ 8944 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8945 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8946 _flag_k = FK_CMP; 8947 if (CMP_NE(_flag_a, _flag_b)) goto L_3900610D; /* 0x39006106: jne 0x3900610d */ 8948 L_39006108: 8949 MEM32(esi + 0x4) = edx; /* 0x39006108: mov dword ptr [esi + 4], edx */ 8950 goto L_3900611B; /* 0x3900610B: jmp 0x3900611b */ 8951 L_3900610D: 8952 esi = MEM32(ecx + 0x4); /* 0x3900610D: mov esi, dword ptr [ecx + 4] */ 8953 /* cmp ecx, MEM32(esi) */ /* 0x39006110: cmp ecx, dword ptr [esi] */ 8954 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 8955 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8956 _flag_k = FK_CMP; 8957 if (CMP_NE(_flag_a, _flag_b)) goto L_39006118; /* 0x39006112: jne 0x39006118 */ 8958 L_39006114: 8959 MEM32(esi) = edx; /* 0x39006114: mov dword ptr [esi], edx */ 8960 goto L_3900611B; /* 0x39006116: jmp 0x3900611b */ 8961 L_39006118: 8962 MEM32(esi + 0x8) = edx; /* 0x39006118: mov dword ptr [esi + 8], edx */ 8963 L_3900611B: 8964 MEM32(edx) = ecx; /* 0x3900611B: mov dword ptr [edx], ecx */ 8965 MEM32(ecx + 0x4) = edx; /* 0x3900611D: mov dword ptr [ecx + 4], edx */ 8966 ecx = MEM32(eax + 0x4); /* 0x39006120: mov ecx, dword ptr [eax + 4] */ 8967 ecx = MEM32(ecx); /* 0x39006123: mov ecx, dword ptr [ecx] */ 8968 L_39006125: 8969 edx = MEM32(eax + 0x4); /* 0x39006125: mov edx, dword ptr [eax + 4] */ 8970 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x39006128: mov dl, byte ptr [edx + 0x2c] */ 8971 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x3900612B: mov byte ptr [ecx + 0x2c], dl */ 8972 edx = MEM32(eax + 0x4); /* 0x3900612E: mov edx, dword ptr [eax + 4] */ 8973 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006131: mov byte ptr [edx + 0x2c], bl */ 8974 ecx = MEM32(ecx); /* 0x39006134: mov ecx, dword ptr [ecx] */ 8975 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006136: mov byte ptr [ecx + 0x2c], bl */ 8976 ecx = MEM32(eax + 0x4); /* 0x39006139: mov ecx, dword ptr [eax + 4] */ 8977 edx = MEM32(ecx); /* 0x3900613C: mov edx, dword ptr [ecx] */ 8978 esi = MEM32(edx + 0x8); /* 0x3900613E: mov esi, dword ptr [edx + 8] */ 8979 MEM32(ecx) = esi; /* 0x39006141: mov dword ptr [ecx], esi */ 8980 esi = MEM32(edx + 0x8); /* 0x39006143: mov esi, dword ptr [edx + 8] */ 8981 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006146: cmp esi, dword ptr [edi + 8] */ 8982 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8983 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8984 _flag_k = FK_CMP; 8985 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900614E; /* 0x39006149: je 0x3900614e */ 8986 L_3900614B: 8987 MEM32(esi + 0x4) = ecx; /* 0x3900614B: mov dword ptr [esi + 4], ecx */ 8988 L_3900614E: 8989 esi = MEM32(ecx + 0x4); /* 0x3900614E: mov esi, dword ptr [ecx + 4] */ 8990 MEM32(edx + 0x4) = esi; /* 0x39006151: mov dword ptr [edx + 4], esi */ 8991 esi = MEM32(edi + 0x4); /* 0x39006154: mov esi, dword ptr [edi + 4] */ 8992 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006157: cmp ecx, dword ptr [esi + 4] */ 8993 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 8994 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8995 _flag_k = FK_CMP; 8996 if (CMP_NE(_flag_a, _flag_b)) goto L_39006161; /* 0x3900615A: jne 0x39006161 */ 8997 L_3900615C: 8998 MEM32(esi + 0x4) = edx; /* 0x3900615C: mov dword ptr [esi + 4], edx */ 8999 goto L_39006170; /* 0x3900615F: jmp 0x39006170 */ 9000 L_39006161: 9001 esi = MEM32(ecx + 0x4); /* 0x39006161: mov esi, dword ptr [ecx + 4] */ 9002 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39006164: cmp ecx, dword ptr [esi + 8] */ 9003 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9004 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9005 _flag_k = FK_CMP; 9006 if (CMP_NE(_flag_a, _flag_b)) goto L_3900616E; /* 0x39006167: jne 0x3900616e */ 9007 L_39006169: 9008 MEM32(esi + 0x8) = edx; /* 0x39006169: mov dword ptr [esi + 8], edx */ 9009 goto L_39006170; /* 0x3900616C: jmp 0x39006170 */ 9010 L_3900616E: 9011 MEM32(esi) = edx; /* 0x3900616E: mov dword ptr [esi], edx */ 9012 L_39006170: 9013 MEM32(edx + 0x8) = ecx; /* 0x39006170: mov dword ptr [edx + 8], ecx */ 9014 L_39006173: 9015 MEM32(ecx + 0x4) = edx; /* 0x39006173: mov dword ptr [ecx + 4], edx */ 9016 L_39006176: 9017 esi = MEM32(ebp + (-0x4)); /* 0x39006176: mov esi, dword ptr [ebp - 4] */ 9018 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006179: mov byte ptr [eax + 0x2c], bl */ 9019 L_3900617C: 9020 ecx = esi + 0xC; /* 0x3900617C: lea ecx, [esi + 0xc] */ 9021 RECOMP_ICALL(0x39004790u); /* 0x3900617F: call 0x39004790 */ /* not lifted */ 9022 RECOMP_FLAGS_IN(); 9023 PUSH32(esp, esi); /* 0x39006184: push esi */ 9024 RECOMP_ICALL(0x3900A0A0u); /* 0x39006185: call 0x3900a0a0 */ /* not lifted */ 9025 RECOMP_FLAGS_IN(); 9026 eax = MEM32(edi + 0x10); /* 0x3900618A: mov eax, dword ptr [edi + 0x10] */ 9027 edx = MEM32(ebp + 0xC); /* 0x3900618D: mov edx, dword ptr [ebp + 0xc] */ 9028 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9029 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9030 esp = esp + 4; /* 0x39006190: add esp, 4 */ 9031 _flag_k = FK_ADD; 9032 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 9033 eax = eax - 1; /* 0x39006193: dec eax */ 9034 _flag_k = FK_DEC; 9035 MEM32(edi + 0x10) = eax; /* 0x39006194: mov dword ptr [edi + 0x10], eax */ 9036 eax = MEM32(ebp + 0x8); /* 0x39006197: mov eax, dword ptr [ebp + 8] */ 9037 edi = POP32_VAL(esp); /* 0x3900619A: pop edi */ 9038 esi = POP32_VAL(esp); /* 0x3900619B: pop esi */ 9039 MEM32(eax) = edx; /* 0x3900619C: mov dword ptr [eax], edx */ 9040 ebx = POP32_VAL(esp); /* 0x3900619E: pop ebx */ 9041 esp = ebp; /* 0x3900619F: mov esp, ebp */ 9042 ebp = POP32_VAL(esp); /* 0x390061A1: pop ebp */ 9043 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x390061A2: ret 8 */ 9044 RECOMP_REGS_OUT(); 9045 } 9046 9047 void sub_39005EDD(void) { 9048 int _fpu_cmp = 0; 9049 uint32_t _cf = 0; 9050 int _df = 1; 9051 uint32_t _flag_k = FK_NONE; 9052 uint32_t _flag_a = 0, _flag_b = 0; 9053 uint32_t _itail_tgt = 0; 9054 RECOMP_REGS_LOCALS 9055 RECOMP_ENTER(0x39005EDDu); 9056 9057 L_39005EDD: 9058 MEM32(ebx) = edx; /* 0x39005EDD: mov dword ptr [ebx], edx */ 9059 ebx = MEM32(edi + 0x4); /* 0x39005EDF: mov ebx, dword ptr [edi + 4] */ 9060 /* cmp MEM32(ebx + 0x8), esi */ /* 0x39005EE2: cmp dword ptr [ebx + 8], esi */ 9061 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 9062 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9063 _flag_k = FK_CMP; 9064 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F0E; /* 0x39005EE5: jne 0x39005f0e */ 9065 L_39005EE7: 9066 ecx = MEM32(esi); /* 0x39005EE7: mov ecx, dword ptr [esi] */ 9067 edx = MEM32(edi + 0x8); /* 0x39005EE9: mov edx, dword ptr [edi + 8] */ 9068 /* cmp ecx, edx */ /* 0x39005EEC: cmp ecx, edx */ 9069 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 9070 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9071 _flag_k = FK_CMP; 9072 if (CMP_NE(_flag_a, _flag_b)) goto L_39005EF5; /* 0x39005EEE: jne 0x39005ef5 */ 9073 L_39005EF0: 9074 edx = MEM32(esi + 0x4); /* 0x39005EF0: mov edx, dword ptr [esi + 4] */ 9075 goto L_39005F0B; /* 0x39005EF3: jmp 0x39005f0b */ 9076 L_39005EF5: 9077 ecx = MEM32(eax + 0x8); /* 0x39005EF5: mov ecx, dword ptr [eax + 8] */ 9078 edx = eax; /* 0x39005EF8: mov edx, eax */ 9079 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x39005EFA: cmp byte ptr [ecx + 0x2d], 0 */ 9080 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 9081 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9082 _flag_k = FK_NARROW(FK_CMP, 24); 9083 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F0B; /* 0x39005EFE: jne 0x39005f0b */ 9084 L_39005F00: 9085 edx = ecx; /* 0x39005F00: mov edx, ecx */ 9086 ecx = MEM32(edx + 0x8); /* 0x39005F02: mov ecx, dword ptr [edx + 8] */ 9087 /* cmp MEM8(ecx + 0x2D), 0 */ /* 0x39005F05: cmp byte ptr [ecx + 0x2d], 0 */ 9088 _flag_a = (uint32_t)(MEM8(ecx + 0x2D)) << 24; _flag_b = (uint32_t)(0) << 24; 9089 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9090 _flag_k = FK_NARROW(FK_CMP, 24); 9091 RECOMP_BACKEDGE(); 9092 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005F00; /* 0x39005F09: je 0x39005f00 */ 9093 L_39005F0B: 9094 MEM32(ebx + 0x8) = edx; /* 0x39005F0B: mov dword ptr [ebx + 8], edx */ 9095 L_39005F0E: 9096 esi = MEM32(ebp + (-0x4)); /* 0x39005F0E: mov esi, dword ptr [ebp - 4] */ 9097 SET_LO8(ebx, 1); /* 0x39005F11: mov bl, 1 */ 9098 /* cmp MEM8(esi + 0x2C), LO8(ebx) */ /* 0x39005F13: cmp byte ptr [esi + 0x2c], bl */ 9099 _flag_a = (uint32_t)(MEM8(esi + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9100 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9101 _flag_k = FK_NARROW(FK_CMP, 24); 9102 if (CMP_NE(_flag_a, _flag_b)) goto L_3900617C; /* 0x39005F16: jne 0x3900617c */ 9103 L_39005F1C: 9104 ecx = MEM32(edi + 0x4); /* 0x39005F1C: mov ecx, dword ptr [edi + 4] */ 9105 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x39005F1F: cmp eax, dword ptr [ecx + 4] */ 9106 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 9107 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9108 _flag_k = FK_CMP; 9109 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006176; /* 0x39005F22: je 0x39006176 */ 9110 L_39005F28: 9111 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x39005F28: cmp byte ptr [eax + 0x2c], bl */ 9112 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9113 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9114 _flag_k = FK_NARROW(FK_CMP, 24); 9115 if (CMP_NE(_flag_a, _flag_b)) goto L_39006176; /* 0x39005F2B: jne 0x39006176 */ 9116 L_39005F31: 9117 edx = MEM32(eax + 0x4); /* 0x39005F31: mov edx, dword ptr [eax + 4] */ 9118 ecx = MEM32(edx); /* 0x39005F34: mov ecx, dword ptr [edx] */ 9119 /* cmp eax, ecx */ /* 0x39005F36: cmp eax, ecx */ 9120 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9121 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9122 _flag_k = FK_CMP; 9123 if (CMP_NE(_flag_a, _flag_b)) goto L_39005FA8; /* 0x39005F38: jne 0x39005fa8 */ 9124 L_39005F3A: 9125 ecx = MEM32(edx + 0x8); /* 0x39005F3A: mov ecx, dword ptr [edx + 8] */ 9126 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39005F3D: mov dl, byte ptr [ecx + 0x2c] */ 9127 /* test LO8(edx), LO8(edx) */ /* 0x39005F40: test dl, dl */ 9128 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 9129 _cf = 0; 9130 _flag_k = FK_NARROW(FK_TEST, 24); 9131 if (TEST_NZ(_flag_a, _flag_b)) goto L_39005F8F; /* 0x39005F42: jne 0x39005f8f */ 9132 L_39005F44: 9133 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005F44: mov byte ptr [ecx + 0x2c], bl */ 9134 edx = MEM32(eax + 0x4); /* 0x39005F47: mov edx, dword ptr [eax + 4] */ 9135 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x39005F4A: mov byte ptr [edx + 0x2c], 0 */ 9136 ecx = MEM32(eax + 0x4); /* 0x39005F4E: mov ecx, dword ptr [eax + 4] */ 9137 edx = MEM32(ecx + 0x8); /* 0x39005F51: mov edx, dword ptr [ecx + 8] */ 9138 esi = MEM32(edx); /* 0x39005F54: mov esi, dword ptr [edx] */ 9139 MEM32(ecx + 0x8) = esi; /* 0x39005F56: mov dword ptr [ecx + 8], esi */ 9140 esi = MEM32(edx); /* 0x39005F59: mov esi, dword ptr [edx] */ 9141 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005F5B: cmp esi, dword ptr [edi + 8] */ 9142 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9143 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9144 _flag_k = FK_CMP; 9145 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005F63; /* 0x39005F5E: je 0x39005f63 */ 9146 L_39005F60: 9147 MEM32(esi + 0x4) = ecx; /* 0x39005F60: mov dword ptr [esi + 4], ecx */ 9148 L_39005F63: 9149 esi = MEM32(ecx + 0x4); /* 0x39005F63: mov esi, dword ptr [ecx + 4] */ 9150 MEM32(edx + 0x4) = esi; /* 0x39005F66: mov dword ptr [edx + 4], esi */ 9151 esi = MEM32(edi + 0x4); /* 0x39005F69: mov esi, dword ptr [edi + 4] */ 9152 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005F6C: cmp ecx, dword ptr [esi + 4] */ 9153 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9154 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9155 _flag_k = FK_CMP; 9156 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F76; /* 0x39005F6F: jne 0x39005f76 */ 9157 L_39005F71: 9158 MEM32(esi + 0x4) = edx; /* 0x39005F71: mov dword ptr [esi + 4], edx */ 9159 goto L_39005F84; /* 0x39005F74: jmp 0x39005f84 */ 9160 L_39005F76: 9161 esi = MEM32(ecx + 0x4); /* 0x39005F76: mov esi, dword ptr [ecx + 4] */ 9162 /* cmp ecx, MEM32(esi) */ /* 0x39005F79: cmp ecx, dword ptr [esi] */ 9163 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 9164 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9165 _flag_k = FK_CMP; 9166 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F81; /* 0x39005F7B: jne 0x39005f81 */ 9167 L_39005F7D: 9168 MEM32(esi) = edx; /* 0x39005F7D: mov dword ptr [esi], edx */ 9169 goto L_39005F84; /* 0x39005F7F: jmp 0x39005f84 */ 9170 L_39005F81: 9171 MEM32(esi + 0x8) = edx; /* 0x39005F81: mov dword ptr [esi + 8], edx */ 9172 L_39005F84: 9173 MEM32(edx) = ecx; /* 0x39005F84: mov dword ptr [edx], ecx */ 9174 MEM32(ecx + 0x4) = edx; /* 0x39005F86: mov dword ptr [ecx + 4], edx */ 9175 ecx = MEM32(eax + 0x4); /* 0x39005F89: mov ecx, dword ptr [eax + 4] */ 9176 ecx = MEM32(ecx + 0x8); /* 0x39005F8C: mov ecx, dword ptr [ecx + 8] */ 9177 L_39005F8F: 9178 edx = MEM32(ecx); /* 0x39005F8F: mov edx, dword ptr [ecx] */ 9179 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005F91: cmp byte ptr [edx + 0x2c], bl */ 9180 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9181 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9182 _flag_k = FK_NARROW(FK_CMP, 24); 9183 if (CMP_NE(_flag_a, _flag_b)) goto L_3900602A; /* 0x39005F94: jne 0x3900602a */ 9184 L_39005F9A: 9185 edx = MEM32(ecx + 0x8); /* 0x39005F9A: mov edx, dword ptr [ecx + 8] */ 9186 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005F9D: cmp byte ptr [edx + 0x2c], bl */ 9187 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9188 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9189 _flag_k = FK_NARROW(FK_CMP, 24); 9190 if (CMP_NE(_flag_a, _flag_b)) goto L_3900602A; /* 0x39005FA0: jne 0x3900602a */ 9191 L_39005FA6: 9192 goto L_39006012; /* 0x39005FA6: jmp 0x39006012 */ 9193 L_39005FA8: 9194 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39005FA8: mov dl, byte ptr [ecx + 0x2c] */ 9195 /* test LO8(edx), LO8(edx) */ /* 0x39005FAB: test dl, dl */ 9196 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 9197 _cf = 0; 9198 _flag_k = FK_NARROW(FK_TEST, 24); 9199 if (TEST_NZ(_flag_a, _flag_b)) goto L_39005FFB; /* 0x39005FAD: jne 0x39005ffb */ 9200 L_39005FAF: 9201 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005FAF: mov byte ptr [ecx + 0x2c], bl */ 9202 ecx = MEM32(eax + 0x4); /* 0x39005FB2: mov ecx, dword ptr [eax + 4] */ 9203 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39005FB5: mov byte ptr [ecx + 0x2c], 0 */ 9204 ecx = MEM32(eax + 0x4); /* 0x39005FB9: mov ecx, dword ptr [eax + 4] */ 9205 edx = MEM32(ecx); /* 0x39005FBC: mov edx, dword ptr [ecx] */ 9206 esi = MEM32(edx + 0x8); /* 0x39005FBE: mov esi, dword ptr [edx + 8] */ 9207 MEM32(ecx) = esi; /* 0x39005FC1: mov dword ptr [ecx], esi */ 9208 esi = MEM32(edx + 0x8); /* 0x39005FC3: mov esi, dword ptr [edx + 8] */ 9209 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005FC6: cmp esi, dword ptr [edi + 8] */ 9210 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9211 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9212 _flag_k = FK_CMP; 9213 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005FCE; /* 0x39005FC9: je 0x39005fce */ 9214 L_39005FCB: 9215 MEM32(esi + 0x4) = ecx; /* 0x39005FCB: mov dword ptr [esi + 4], ecx */ 9216 L_39005FCE: 9217 esi = MEM32(ecx + 0x4); /* 0x39005FCE: mov esi, dword ptr [ecx + 4] */ 9218 MEM32(edx + 0x4) = esi; /* 0x39005FD1: mov dword ptr [edx + 4], esi */ 9219 esi = MEM32(edi + 0x4); /* 0x39005FD4: mov esi, dword ptr [edi + 4] */ 9220 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005FD7: cmp ecx, dword ptr [esi + 4] */ 9221 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9222 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9223 _flag_k = FK_CMP; 9224 if (CMP_NE(_flag_a, _flag_b)) goto L_39005FE1; /* 0x39005FDA: jne 0x39005fe1 */ 9225 L_39005FDC: 9226 MEM32(esi + 0x4) = edx; /* 0x39005FDC: mov dword ptr [esi + 4], edx */ 9227 goto L_39005FF0; /* 0x39005FDF: jmp 0x39005ff0 */ 9228 L_39005FE1: 9229 esi = MEM32(ecx + 0x4); /* 0x39005FE1: mov esi, dword ptr [ecx + 4] */ 9230 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39005FE4: cmp ecx, dword ptr [esi + 8] */ 9231 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9232 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9233 _flag_k = FK_CMP; 9234 if (CMP_NE(_flag_a, _flag_b)) goto L_39005FEE; /* 0x39005FE7: jne 0x39005fee */ 9235 L_39005FE9: 9236 MEM32(esi + 0x8) = edx; /* 0x39005FE9: mov dword ptr [esi + 8], edx */ 9237 goto L_39005FF0; /* 0x39005FEC: jmp 0x39005ff0 */ 9238 L_39005FEE: 9239 MEM32(esi) = edx; /* 0x39005FEE: mov dword ptr [esi], edx */ 9240 L_39005FF0: 9241 MEM32(edx + 0x8) = ecx; /* 0x39005FF0: mov dword ptr [edx + 8], ecx */ 9242 MEM32(ecx + 0x4) = edx; /* 0x39005FF3: mov dword ptr [ecx + 4], edx */ 9243 edx = MEM32(eax + 0x4); /* 0x39005FF6: mov edx, dword ptr [eax + 4] */ 9244 ecx = MEM32(edx); /* 0x39005FF9: mov ecx, dword ptr [edx] */ 9245 L_39005FFB: 9246 edx = MEM32(ecx + 0x8); /* 0x39005FFB: mov edx, dword ptr [ecx + 8] */ 9247 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005FFE: cmp byte ptr [edx + 0x2c], bl */ 9248 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9249 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9250 _flag_k = FK_NARROW(FK_CMP, 24); 9251 if (CMP_NE(_flag_a, _flag_b)) goto L_390060D7; /* 0x39006001: jne 0x390060d7 */ 9252 L_39006007: 9253 edx = MEM32(ecx); /* 0x39006007: mov edx, dword ptr [ecx] */ 9254 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39006009: cmp byte ptr [edx + 0x2c], bl */ 9255 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9256 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9257 _flag_k = FK_NARROW(FK_CMP, 24); 9258 if (CMP_NE(_flag_a, _flag_b)) goto L_390060D7; /* 0x3900600C: jne 0x390060d7 */ 9259 L_39006012: 9260 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006012: mov byte ptr [ecx + 0x2c], 0 */ 9261 ecx = MEM32(edi + 0x4); /* 0x39006016: mov ecx, dword ptr [edi + 4] */ 9262 eax = MEM32(eax + 0x4); /* 0x39006019: mov eax, dword ptr [eax + 4] */ 9263 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900601C: cmp eax, dword ptr [ecx + 4] */ 9264 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 9265 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9266 _flag_k = FK_CMP; 9267 RECOMP_BACKEDGE(); 9268 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F28; /* 0x3900601F: jne 0x39005f28 */ 9269 L_39006025: 9270 goto L_39006176; /* 0x39006025: jmp 0x39006176 */ 9271 L_3900602A: 9272 edx = MEM32(ecx + 0x8); /* 0x3900602A: mov edx, dword ptr [ecx + 8] */ 9273 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x3900602D: cmp byte ptr [edx + 0x2c], bl */ 9274 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9275 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9276 _flag_k = FK_NARROW(FK_CMP, 24); 9277 if (CMP_NE(_flag_a, _flag_b)) goto L_3900607B; /* 0x39006030: jne 0x3900607b */ 9278 L_39006032: 9279 edx = MEM32(ecx); /* 0x39006032: mov edx, dword ptr [ecx] */ 9280 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006034: mov byte ptr [edx + 0x2c], bl */ 9281 edx = MEM32(ecx); /* 0x39006037: mov edx, dword ptr [ecx] */ 9282 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006039: mov byte ptr [ecx + 0x2c], 0 */ 9283 esi = MEM32(edx + 0x8); /* 0x3900603D: mov esi, dword ptr [edx + 8] */ 9284 MEM32(ecx) = esi; /* 0x39006040: mov dword ptr [ecx], esi */ 9285 esi = MEM32(edx + 0x8); /* 0x39006042: mov esi, dword ptr [edx + 8] */ 9286 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006045: cmp esi, dword ptr [edi + 8] */ 9287 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9288 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9289 _flag_k = FK_CMP; 9290 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900604D; /* 0x39006048: je 0x3900604d */ 9291 L_3900604A: 9292 MEM32(esi + 0x4) = ecx; /* 0x3900604A: mov dword ptr [esi + 4], ecx */ 9293 L_3900604D: 9294 esi = MEM32(ecx + 0x4); /* 0x3900604D: mov esi, dword ptr [ecx + 4] */ 9295 MEM32(edx + 0x4) = esi; /* 0x39006050: mov dword ptr [edx + 4], esi */ 9296 esi = MEM32(edi + 0x4); /* 0x39006053: mov esi, dword ptr [edi + 4] */ 9297 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006056: cmp ecx, dword ptr [esi + 4] */ 9298 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9299 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9300 _flag_k = FK_CMP; 9301 if (CMP_NE(_flag_a, _flag_b)) goto L_39006060; /* 0x39006059: jne 0x39006060 */ 9302 L_3900605B: 9303 MEM32(esi + 0x4) = edx; /* 0x3900605B: mov dword ptr [esi + 4], edx */ 9304 goto L_3900606F; /* 0x3900605E: jmp 0x3900606f */ 9305 L_39006060: 9306 esi = MEM32(ecx + 0x4); /* 0x39006060: mov esi, dword ptr [ecx + 4] */ 9307 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39006063: cmp ecx, dword ptr [esi + 8] */ 9308 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9309 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9310 _flag_k = FK_CMP; 9311 if (CMP_NE(_flag_a, _flag_b)) goto L_3900606D; /* 0x39006066: jne 0x3900606d */ 9312 L_39006068: 9313 MEM32(esi + 0x8) = edx; /* 0x39006068: mov dword ptr [esi + 8], edx */ 9314 goto L_3900606F; /* 0x3900606B: jmp 0x3900606f */ 9315 L_3900606D: 9316 MEM32(esi) = edx; /* 0x3900606D: mov dword ptr [esi], edx */ 9317 L_3900606F: 9318 MEM32(edx + 0x8) = ecx; /* 0x3900606F: mov dword ptr [edx + 8], ecx */ 9319 MEM32(ecx + 0x4) = edx; /* 0x39006072: mov dword ptr [ecx + 4], edx */ 9320 ecx = MEM32(eax + 0x4); /* 0x39006075: mov ecx, dword ptr [eax + 4] */ 9321 ecx = MEM32(ecx + 0x8); /* 0x39006078: mov ecx, dword ptr [ecx + 8] */ 9322 L_3900607B: 9323 edx = MEM32(eax + 0x4); /* 0x3900607B: mov edx, dword ptr [eax + 4] */ 9324 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x3900607E: mov dl, byte ptr [edx + 0x2c] */ 9325 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39006081: mov byte ptr [ecx + 0x2c], dl */ 9326 edx = MEM32(eax + 0x4); /* 0x39006084: mov edx, dword ptr [eax + 4] */ 9327 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006087: mov byte ptr [edx + 0x2c], bl */ 9328 ecx = MEM32(ecx + 0x8); /* 0x3900608A: mov ecx, dword ptr [ecx + 8] */ 9329 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x3900608D: mov byte ptr [ecx + 0x2c], bl */ 9330 ecx = MEM32(eax + 0x4); /* 0x39006090: mov ecx, dword ptr [eax + 4] */ 9331 edx = MEM32(ecx + 0x8); /* 0x39006093: mov edx, dword ptr [ecx + 8] */ 9332 esi = MEM32(edx); /* 0x39006096: mov esi, dword ptr [edx] */ 9333 MEM32(ecx + 0x8) = esi; /* 0x39006098: mov dword ptr [ecx + 8], esi */ 9334 esi = MEM32(edx); /* 0x3900609B: mov esi, dword ptr [edx] */ 9335 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3900609D: cmp esi, dword ptr [edi + 8] */ 9336 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9337 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9338 _flag_k = FK_CMP; 9339 if (CMP_EQ(_flag_a, _flag_b)) goto L_390060A5; /* 0x390060A0: je 0x390060a5 */ 9340 L_390060A2: 9341 MEM32(esi + 0x4) = ecx; /* 0x390060A2: mov dword ptr [esi + 4], ecx */ 9342 L_390060A5: 9343 esi = MEM32(ecx + 0x4); /* 0x390060A5: mov esi, dword ptr [ecx + 4] */ 9344 MEM32(edx + 0x4) = esi; /* 0x390060A8: mov dword ptr [edx + 4], esi */ 9345 esi = MEM32(edi + 0x4); /* 0x390060AB: mov esi, dword ptr [edi + 4] */ 9346 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390060AE: cmp ecx, dword ptr [esi + 4] */ 9347 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9348 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9349 _flag_k = FK_CMP; 9350 if (CMP_NE(_flag_a, _flag_b)) goto L_390060BD; /* 0x390060B1: jne 0x390060bd */ 9351 L_390060B3: 9352 MEM32(esi + 0x4) = edx; /* 0x390060B3: mov dword ptr [esi + 4], edx */ 9353 MEM32(edx) = ecx; /* 0x390060B6: mov dword ptr [edx], ecx */ 9354 goto L_39006173; /* 0x390060B8: jmp 0x39006173 */ 9355 L_390060BD: 9356 esi = MEM32(ecx + 0x4); /* 0x390060BD: mov esi, dword ptr [ecx + 4] */ 9357 /* cmp ecx, MEM32(esi) */ /* 0x390060C0: cmp ecx, dword ptr [esi] */ 9358 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 9359 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9360 _flag_k = FK_CMP; 9361 if (CMP_NE(_flag_a, _flag_b)) goto L_390060CD; /* 0x390060C2: jne 0x390060cd */ 9362 L_390060C4: 9363 MEM32(esi) = edx; /* 0x390060C4: mov dword ptr [esi], edx */ 9364 MEM32(edx) = ecx; /* 0x390060C6: mov dword ptr [edx], ecx */ 9365 goto L_39006173; /* 0x390060C8: jmp 0x39006173 */ 9366 L_390060CD: 9367 MEM32(esi + 0x8) = edx; /* 0x390060CD: mov dword ptr [esi + 8], edx */ 9368 MEM32(edx) = ecx; /* 0x390060D0: mov dword ptr [edx], ecx */ 9369 goto L_39006173; /* 0x390060D2: jmp 0x39006173 */ 9370 L_390060D7: 9371 edx = MEM32(ecx); /* 0x390060D7: mov edx, dword ptr [ecx] */ 9372 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390060D9: cmp byte ptr [edx + 0x2c], bl */ 9373 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9374 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9375 _flag_k = FK_NARROW(FK_CMP, 24); 9376 if (CMP_NE(_flag_a, _flag_b)) goto L_39006125; /* 0x390060DC: jne 0x39006125 */ 9377 L_390060DE: 9378 edx = MEM32(ecx + 0x8); /* 0x390060DE: mov edx, dword ptr [ecx + 8] */ 9379 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x390060E1: mov byte ptr [edx + 0x2c], bl */ 9380 edx = MEM32(ecx + 0x8); /* 0x390060E4: mov edx, dword ptr [ecx + 8] */ 9381 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x390060E7: mov byte ptr [ecx + 0x2c], 0 */ 9382 esi = MEM32(edx); /* 0x390060EB: mov esi, dword ptr [edx] */ 9383 MEM32(ecx + 0x8) = esi; /* 0x390060ED: mov dword ptr [ecx + 8], esi */ 9384 esi = MEM32(edx); /* 0x390060F0: mov esi, dword ptr [edx] */ 9385 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390060F2: cmp esi, dword ptr [edi + 8] */ 9386 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9387 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9388 _flag_k = FK_CMP; 9389 if (CMP_EQ(_flag_a, _flag_b)) goto L_390060FA; /* 0x390060F5: je 0x390060fa */ 9390 L_390060F7: 9391 MEM32(esi + 0x4) = ecx; /* 0x390060F7: mov dword ptr [esi + 4], ecx */ 9392 L_390060FA: 9393 esi = MEM32(ecx + 0x4); /* 0x390060FA: mov esi, dword ptr [ecx + 4] */ 9394 MEM32(edx + 0x4) = esi; /* 0x390060FD: mov dword ptr [edx + 4], esi */ 9395 esi = MEM32(edi + 0x4); /* 0x39006100: mov esi, dword ptr [edi + 4] */ 9396 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006103: cmp ecx, dword ptr [esi + 4] */ 9397 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9398 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9399 _flag_k = FK_CMP; 9400 if (CMP_NE(_flag_a, _flag_b)) goto L_3900610D; /* 0x39006106: jne 0x3900610d */ 9401 L_39006108: 9402 MEM32(esi + 0x4) = edx; /* 0x39006108: mov dword ptr [esi + 4], edx */ 9403 goto L_3900611B; /* 0x3900610B: jmp 0x3900611b */ 9404 L_3900610D: 9405 esi = MEM32(ecx + 0x4); /* 0x3900610D: mov esi, dword ptr [ecx + 4] */ 9406 /* cmp ecx, MEM32(esi) */ /* 0x39006110: cmp ecx, dword ptr [esi] */ 9407 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 9408 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9409 _flag_k = FK_CMP; 9410 if (CMP_NE(_flag_a, _flag_b)) goto L_39006118; /* 0x39006112: jne 0x39006118 */ 9411 L_39006114: 9412 MEM32(esi) = edx; /* 0x39006114: mov dword ptr [esi], edx */ 9413 goto L_3900611B; /* 0x39006116: jmp 0x3900611b */ 9414 L_39006118: 9415 MEM32(esi + 0x8) = edx; /* 0x39006118: mov dword ptr [esi + 8], edx */ 9416 L_3900611B: 9417 MEM32(edx) = ecx; /* 0x3900611B: mov dword ptr [edx], ecx */ 9418 MEM32(ecx + 0x4) = edx; /* 0x3900611D: mov dword ptr [ecx + 4], edx */ 9419 ecx = MEM32(eax + 0x4); /* 0x39006120: mov ecx, dword ptr [eax + 4] */ 9420 ecx = MEM32(ecx); /* 0x39006123: mov ecx, dword ptr [ecx] */ 9421 L_39006125: 9422 edx = MEM32(eax + 0x4); /* 0x39006125: mov edx, dword ptr [eax + 4] */ 9423 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x39006128: mov dl, byte ptr [edx + 0x2c] */ 9424 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x3900612B: mov byte ptr [ecx + 0x2c], dl */ 9425 edx = MEM32(eax + 0x4); /* 0x3900612E: mov edx, dword ptr [eax + 4] */ 9426 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006131: mov byte ptr [edx + 0x2c], bl */ 9427 ecx = MEM32(ecx); /* 0x39006134: mov ecx, dword ptr [ecx] */ 9428 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006136: mov byte ptr [ecx + 0x2c], bl */ 9429 ecx = MEM32(eax + 0x4); /* 0x39006139: mov ecx, dword ptr [eax + 4] */ 9430 edx = MEM32(ecx); /* 0x3900613C: mov edx, dword ptr [ecx] */ 9431 esi = MEM32(edx + 0x8); /* 0x3900613E: mov esi, dword ptr [edx + 8] */ 9432 MEM32(ecx) = esi; /* 0x39006141: mov dword ptr [ecx], esi */ 9433 esi = MEM32(edx + 0x8); /* 0x39006143: mov esi, dword ptr [edx + 8] */ 9434 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006146: cmp esi, dword ptr [edi + 8] */ 9435 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9436 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9437 _flag_k = FK_CMP; 9438 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900614E; /* 0x39006149: je 0x3900614e */ 9439 L_3900614B: 9440 MEM32(esi + 0x4) = ecx; /* 0x3900614B: mov dword ptr [esi + 4], ecx */ 9441 L_3900614E: 9442 esi = MEM32(ecx + 0x4); /* 0x3900614E: mov esi, dword ptr [ecx + 4] */ 9443 MEM32(edx + 0x4) = esi; /* 0x39006151: mov dword ptr [edx + 4], esi */ 9444 esi = MEM32(edi + 0x4); /* 0x39006154: mov esi, dword ptr [edi + 4] */ 9445 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006157: cmp ecx, dword ptr [esi + 4] */ 9446 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9447 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9448 _flag_k = FK_CMP; 9449 if (CMP_NE(_flag_a, _flag_b)) goto L_39006161; /* 0x3900615A: jne 0x39006161 */ 9450 L_3900615C: 9451 MEM32(esi + 0x4) = edx; /* 0x3900615C: mov dword ptr [esi + 4], edx */ 9452 goto L_39006170; /* 0x3900615F: jmp 0x39006170 */ 9453 L_39006161: 9454 esi = MEM32(ecx + 0x4); /* 0x39006161: mov esi, dword ptr [ecx + 4] */ 9455 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39006164: cmp ecx, dword ptr [esi + 8] */ 9456 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9457 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9458 _flag_k = FK_CMP; 9459 if (CMP_NE(_flag_a, _flag_b)) goto L_3900616E; /* 0x39006167: jne 0x3900616e */ 9460 L_39006169: 9461 MEM32(esi + 0x8) = edx; /* 0x39006169: mov dword ptr [esi + 8], edx */ 9462 goto L_39006170; /* 0x3900616C: jmp 0x39006170 */ 9463 L_3900616E: 9464 MEM32(esi) = edx; /* 0x3900616E: mov dword ptr [esi], edx */ 9465 L_39006170: 9466 MEM32(edx + 0x8) = ecx; /* 0x39006170: mov dword ptr [edx + 8], ecx */ 9467 L_39006173: 9468 MEM32(ecx + 0x4) = edx; /* 0x39006173: mov dword ptr [ecx + 4], edx */ 9469 L_39006176: 9470 esi = MEM32(ebp + (-0x4)); /* 0x39006176: mov esi, dword ptr [ebp - 4] */ 9471 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006179: mov byte ptr [eax + 0x2c], bl */ 9472 L_3900617C: 9473 ecx = esi + 0xC; /* 0x3900617C: lea ecx, [esi + 0xc] */ 9474 RECOMP_ICALL(0x39004790u); /* 0x3900617F: call 0x39004790 */ /* not lifted */ 9475 RECOMP_FLAGS_IN(); 9476 PUSH32(esp, esi); /* 0x39006184: push esi */ 9477 RECOMP_ICALL(0x3900A0A0u); /* 0x39006185: call 0x3900a0a0 */ /* not lifted */ 9478 RECOMP_FLAGS_IN(); 9479 eax = MEM32(edi + 0x10); /* 0x3900618A: mov eax, dword ptr [edi + 0x10] */ 9480 edx = MEM32(ebp + 0xC); /* 0x3900618D: mov edx, dword ptr [ebp + 0xc] */ 9481 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9482 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9483 esp = esp + 4; /* 0x39006190: add esp, 4 */ 9484 _flag_k = FK_ADD; 9485 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 9486 eax = eax - 1; /* 0x39006193: dec eax */ 9487 _flag_k = FK_DEC; 9488 MEM32(edi + 0x10) = eax; /* 0x39006194: mov dword ptr [edi + 0x10], eax */ 9489 eax = MEM32(ebp + 0x8); /* 0x39006197: mov eax, dword ptr [ebp + 8] */ 9490 edi = POP32_VAL(esp); /* 0x3900619A: pop edi */ 9491 esi = POP32_VAL(esp); /* 0x3900619B: pop esi */ 9492 MEM32(eax) = edx; /* 0x3900619C: mov dword ptr [eax], edx */ 9493 ebx = POP32_VAL(esp); /* 0x3900619E: pop ebx */ 9494 esp = ebp; /* 0x3900619F: mov esp, ebp */ 9495 ebp = POP32_VAL(esp); /* 0x390061A1: pop ebp */ 9496 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x390061A2: ret 8 */ 9497 RECOMP_REGS_OUT(); 9498 } 9499 9500 void sub_39005F0B(void) { 9501 int _fpu_cmp = 0; 9502 uint32_t _cf = 0; 9503 int _df = 1; 9504 uint32_t _flag_k = FK_NONE; 9505 uint32_t _flag_a = 0, _flag_b = 0; 9506 uint32_t _itail_tgt = 0; 9507 RECOMP_REGS_LOCALS 9508 RECOMP_ENTER(0x39005F0Bu); 9509 9510 L_39005F0B: 9511 MEM32(ebx + 0x8) = edx; /* 0x39005F0B: mov dword ptr [ebx + 8], edx */ 9512 esi = MEM32(ebp + (-0x4)); /* 0x39005F0E: mov esi, dword ptr [ebp - 4] */ 9513 SET_LO8(ebx, 1); /* 0x39005F11: mov bl, 1 */ 9514 /* cmp MEM8(esi + 0x2C), LO8(ebx) */ /* 0x39005F13: cmp byte ptr [esi + 0x2c], bl */ 9515 _flag_a = (uint32_t)(MEM8(esi + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9516 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9517 _flag_k = FK_NARROW(FK_CMP, 24); 9518 if (CMP_NE(_flag_a, _flag_b)) goto L_3900617C; /* 0x39005F16: jne 0x3900617c */ 9519 L_39005F1C: 9520 ecx = MEM32(edi + 0x4); /* 0x39005F1C: mov ecx, dword ptr [edi + 4] */ 9521 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x39005F1F: cmp eax, dword ptr [ecx + 4] */ 9522 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 9523 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9524 _flag_k = FK_CMP; 9525 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006176; /* 0x39005F22: je 0x39006176 */ 9526 L_39005F28: 9527 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x39005F28: cmp byte ptr [eax + 0x2c], bl */ 9528 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9529 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9530 _flag_k = FK_NARROW(FK_CMP, 24); 9531 if (CMP_NE(_flag_a, _flag_b)) goto L_39006176; /* 0x39005F2B: jne 0x39006176 */ 9532 L_39005F31: 9533 edx = MEM32(eax + 0x4); /* 0x39005F31: mov edx, dword ptr [eax + 4] */ 9534 ecx = MEM32(edx); /* 0x39005F34: mov ecx, dword ptr [edx] */ 9535 /* cmp eax, ecx */ /* 0x39005F36: cmp eax, ecx */ 9536 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9537 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9538 _flag_k = FK_CMP; 9539 if (CMP_NE(_flag_a, _flag_b)) goto L_39005FA8; /* 0x39005F38: jne 0x39005fa8 */ 9540 L_39005F3A: 9541 ecx = MEM32(edx + 0x8); /* 0x39005F3A: mov ecx, dword ptr [edx + 8] */ 9542 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39005F3D: mov dl, byte ptr [ecx + 0x2c] */ 9543 /* test LO8(edx), LO8(edx) */ /* 0x39005F40: test dl, dl */ 9544 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 9545 _cf = 0; 9546 _flag_k = FK_NARROW(FK_TEST, 24); 9547 if (TEST_NZ(_flag_a, _flag_b)) goto L_39005F8F; /* 0x39005F42: jne 0x39005f8f */ 9548 L_39005F44: 9549 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005F44: mov byte ptr [ecx + 0x2c], bl */ 9550 edx = MEM32(eax + 0x4); /* 0x39005F47: mov edx, dword ptr [eax + 4] */ 9551 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x39005F4A: mov byte ptr [edx + 0x2c], 0 */ 9552 ecx = MEM32(eax + 0x4); /* 0x39005F4E: mov ecx, dword ptr [eax + 4] */ 9553 edx = MEM32(ecx + 0x8); /* 0x39005F51: mov edx, dword ptr [ecx + 8] */ 9554 esi = MEM32(edx); /* 0x39005F54: mov esi, dword ptr [edx] */ 9555 MEM32(ecx + 0x8) = esi; /* 0x39005F56: mov dword ptr [ecx + 8], esi */ 9556 esi = MEM32(edx); /* 0x39005F59: mov esi, dword ptr [edx] */ 9557 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005F5B: cmp esi, dword ptr [edi + 8] */ 9558 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9559 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9560 _flag_k = FK_CMP; 9561 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005F63; /* 0x39005F5E: je 0x39005f63 */ 9562 L_39005F60: 9563 MEM32(esi + 0x4) = ecx; /* 0x39005F60: mov dword ptr [esi + 4], ecx */ 9564 L_39005F63: 9565 esi = MEM32(ecx + 0x4); /* 0x39005F63: mov esi, dword ptr [ecx + 4] */ 9566 MEM32(edx + 0x4) = esi; /* 0x39005F66: mov dword ptr [edx + 4], esi */ 9567 esi = MEM32(edi + 0x4); /* 0x39005F69: mov esi, dword ptr [edi + 4] */ 9568 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005F6C: cmp ecx, dword ptr [esi + 4] */ 9569 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9570 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9571 _flag_k = FK_CMP; 9572 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F76; /* 0x39005F6F: jne 0x39005f76 */ 9573 L_39005F71: 9574 MEM32(esi + 0x4) = edx; /* 0x39005F71: mov dword ptr [esi + 4], edx */ 9575 goto L_39005F84; /* 0x39005F74: jmp 0x39005f84 */ 9576 L_39005F76: 9577 esi = MEM32(ecx + 0x4); /* 0x39005F76: mov esi, dword ptr [ecx + 4] */ 9578 /* cmp ecx, MEM32(esi) */ /* 0x39005F79: cmp ecx, dword ptr [esi] */ 9579 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 9580 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9581 _flag_k = FK_CMP; 9582 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F81; /* 0x39005F7B: jne 0x39005f81 */ 9583 L_39005F7D: 9584 MEM32(esi) = edx; /* 0x39005F7D: mov dword ptr [esi], edx */ 9585 goto L_39005F84; /* 0x39005F7F: jmp 0x39005f84 */ 9586 L_39005F81: 9587 MEM32(esi + 0x8) = edx; /* 0x39005F81: mov dword ptr [esi + 8], edx */ 9588 L_39005F84: 9589 MEM32(edx) = ecx; /* 0x39005F84: mov dword ptr [edx], ecx */ 9590 MEM32(ecx + 0x4) = edx; /* 0x39005F86: mov dword ptr [ecx + 4], edx */ 9591 ecx = MEM32(eax + 0x4); /* 0x39005F89: mov ecx, dword ptr [eax + 4] */ 9592 ecx = MEM32(ecx + 0x8); /* 0x39005F8C: mov ecx, dword ptr [ecx + 8] */ 9593 L_39005F8F: 9594 edx = MEM32(ecx); /* 0x39005F8F: mov edx, dword ptr [ecx] */ 9595 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005F91: cmp byte ptr [edx + 0x2c], bl */ 9596 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9597 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9598 _flag_k = FK_NARROW(FK_CMP, 24); 9599 if (CMP_NE(_flag_a, _flag_b)) goto L_3900602A; /* 0x39005F94: jne 0x3900602a */ 9600 L_39005F9A: 9601 edx = MEM32(ecx + 0x8); /* 0x39005F9A: mov edx, dword ptr [ecx + 8] */ 9602 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005F9D: cmp byte ptr [edx + 0x2c], bl */ 9603 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9604 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9605 _flag_k = FK_NARROW(FK_CMP, 24); 9606 if (CMP_NE(_flag_a, _flag_b)) goto L_3900602A; /* 0x39005FA0: jne 0x3900602a */ 9607 L_39005FA6: 9608 goto L_39006012; /* 0x39005FA6: jmp 0x39006012 */ 9609 L_39005FA8: 9610 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39005FA8: mov dl, byte ptr [ecx + 0x2c] */ 9611 /* test LO8(edx), LO8(edx) */ /* 0x39005FAB: test dl, dl */ 9612 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 9613 _cf = 0; 9614 _flag_k = FK_NARROW(FK_TEST, 24); 9615 if (TEST_NZ(_flag_a, _flag_b)) goto L_39005FFB; /* 0x39005FAD: jne 0x39005ffb */ 9616 L_39005FAF: 9617 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005FAF: mov byte ptr [ecx + 0x2c], bl */ 9618 ecx = MEM32(eax + 0x4); /* 0x39005FB2: mov ecx, dword ptr [eax + 4] */ 9619 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39005FB5: mov byte ptr [ecx + 0x2c], 0 */ 9620 ecx = MEM32(eax + 0x4); /* 0x39005FB9: mov ecx, dword ptr [eax + 4] */ 9621 edx = MEM32(ecx); /* 0x39005FBC: mov edx, dword ptr [ecx] */ 9622 esi = MEM32(edx + 0x8); /* 0x39005FBE: mov esi, dword ptr [edx + 8] */ 9623 MEM32(ecx) = esi; /* 0x39005FC1: mov dword ptr [ecx], esi */ 9624 esi = MEM32(edx + 0x8); /* 0x39005FC3: mov esi, dword ptr [edx + 8] */ 9625 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005FC6: cmp esi, dword ptr [edi + 8] */ 9626 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9627 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9628 _flag_k = FK_CMP; 9629 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005FCE; /* 0x39005FC9: je 0x39005fce */ 9630 L_39005FCB: 9631 MEM32(esi + 0x4) = ecx; /* 0x39005FCB: mov dword ptr [esi + 4], ecx */ 9632 L_39005FCE: 9633 esi = MEM32(ecx + 0x4); /* 0x39005FCE: mov esi, dword ptr [ecx + 4] */ 9634 MEM32(edx + 0x4) = esi; /* 0x39005FD1: mov dword ptr [edx + 4], esi */ 9635 esi = MEM32(edi + 0x4); /* 0x39005FD4: mov esi, dword ptr [edi + 4] */ 9636 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005FD7: cmp ecx, dword ptr [esi + 4] */ 9637 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9638 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9639 _flag_k = FK_CMP; 9640 if (CMP_NE(_flag_a, _flag_b)) goto L_39005FE1; /* 0x39005FDA: jne 0x39005fe1 */ 9641 L_39005FDC: 9642 MEM32(esi + 0x4) = edx; /* 0x39005FDC: mov dword ptr [esi + 4], edx */ 9643 goto L_39005FF0; /* 0x39005FDF: jmp 0x39005ff0 */ 9644 L_39005FE1: 9645 esi = MEM32(ecx + 0x4); /* 0x39005FE1: mov esi, dword ptr [ecx + 4] */ 9646 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39005FE4: cmp ecx, dword ptr [esi + 8] */ 9647 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9648 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9649 _flag_k = FK_CMP; 9650 if (CMP_NE(_flag_a, _flag_b)) goto L_39005FEE; /* 0x39005FE7: jne 0x39005fee */ 9651 L_39005FE9: 9652 MEM32(esi + 0x8) = edx; /* 0x39005FE9: mov dword ptr [esi + 8], edx */ 9653 goto L_39005FF0; /* 0x39005FEC: jmp 0x39005ff0 */ 9654 L_39005FEE: 9655 MEM32(esi) = edx; /* 0x39005FEE: mov dword ptr [esi], edx */ 9656 L_39005FF0: 9657 MEM32(edx + 0x8) = ecx; /* 0x39005FF0: mov dword ptr [edx + 8], ecx */ 9658 MEM32(ecx + 0x4) = edx; /* 0x39005FF3: mov dword ptr [ecx + 4], edx */ 9659 edx = MEM32(eax + 0x4); /* 0x39005FF6: mov edx, dword ptr [eax + 4] */ 9660 ecx = MEM32(edx); /* 0x39005FF9: mov ecx, dword ptr [edx] */ 9661 L_39005FFB: 9662 edx = MEM32(ecx + 0x8); /* 0x39005FFB: mov edx, dword ptr [ecx + 8] */ 9663 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005FFE: cmp byte ptr [edx + 0x2c], bl */ 9664 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9665 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9666 _flag_k = FK_NARROW(FK_CMP, 24); 9667 if (CMP_NE(_flag_a, _flag_b)) goto L_390060D7; /* 0x39006001: jne 0x390060d7 */ 9668 L_39006007: 9669 edx = MEM32(ecx); /* 0x39006007: mov edx, dword ptr [ecx] */ 9670 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39006009: cmp byte ptr [edx + 0x2c], bl */ 9671 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9672 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9673 _flag_k = FK_NARROW(FK_CMP, 24); 9674 if (CMP_NE(_flag_a, _flag_b)) goto L_390060D7; /* 0x3900600C: jne 0x390060d7 */ 9675 L_39006012: 9676 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006012: mov byte ptr [ecx + 0x2c], 0 */ 9677 ecx = MEM32(edi + 0x4); /* 0x39006016: mov ecx, dword ptr [edi + 4] */ 9678 eax = MEM32(eax + 0x4); /* 0x39006019: mov eax, dword ptr [eax + 4] */ 9679 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900601C: cmp eax, dword ptr [ecx + 4] */ 9680 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 9681 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9682 _flag_k = FK_CMP; 9683 RECOMP_BACKEDGE(); 9684 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F28; /* 0x3900601F: jne 0x39005f28 */ 9685 L_39006025: 9686 goto L_39006176; /* 0x39006025: jmp 0x39006176 */ 9687 L_3900602A: 9688 edx = MEM32(ecx + 0x8); /* 0x3900602A: mov edx, dword ptr [ecx + 8] */ 9689 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x3900602D: cmp byte ptr [edx + 0x2c], bl */ 9690 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9691 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9692 _flag_k = FK_NARROW(FK_CMP, 24); 9693 if (CMP_NE(_flag_a, _flag_b)) goto L_3900607B; /* 0x39006030: jne 0x3900607b */ 9694 L_39006032: 9695 edx = MEM32(ecx); /* 0x39006032: mov edx, dword ptr [ecx] */ 9696 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006034: mov byte ptr [edx + 0x2c], bl */ 9697 edx = MEM32(ecx); /* 0x39006037: mov edx, dword ptr [ecx] */ 9698 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006039: mov byte ptr [ecx + 0x2c], 0 */ 9699 esi = MEM32(edx + 0x8); /* 0x3900603D: mov esi, dword ptr [edx + 8] */ 9700 MEM32(ecx) = esi; /* 0x39006040: mov dword ptr [ecx], esi */ 9701 esi = MEM32(edx + 0x8); /* 0x39006042: mov esi, dword ptr [edx + 8] */ 9702 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006045: cmp esi, dword ptr [edi + 8] */ 9703 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9704 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9705 _flag_k = FK_CMP; 9706 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900604D; /* 0x39006048: je 0x3900604d */ 9707 L_3900604A: 9708 MEM32(esi + 0x4) = ecx; /* 0x3900604A: mov dword ptr [esi + 4], ecx */ 9709 L_3900604D: 9710 esi = MEM32(ecx + 0x4); /* 0x3900604D: mov esi, dword ptr [ecx + 4] */ 9711 MEM32(edx + 0x4) = esi; /* 0x39006050: mov dword ptr [edx + 4], esi */ 9712 esi = MEM32(edi + 0x4); /* 0x39006053: mov esi, dword ptr [edi + 4] */ 9713 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006056: cmp ecx, dword ptr [esi + 4] */ 9714 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9715 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9716 _flag_k = FK_CMP; 9717 if (CMP_NE(_flag_a, _flag_b)) goto L_39006060; /* 0x39006059: jne 0x39006060 */ 9718 L_3900605B: 9719 MEM32(esi + 0x4) = edx; /* 0x3900605B: mov dword ptr [esi + 4], edx */ 9720 goto L_3900606F; /* 0x3900605E: jmp 0x3900606f */ 9721 L_39006060: 9722 esi = MEM32(ecx + 0x4); /* 0x39006060: mov esi, dword ptr [ecx + 4] */ 9723 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39006063: cmp ecx, dword ptr [esi + 8] */ 9724 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9725 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9726 _flag_k = FK_CMP; 9727 if (CMP_NE(_flag_a, _flag_b)) goto L_3900606D; /* 0x39006066: jne 0x3900606d */ 9728 L_39006068: 9729 MEM32(esi + 0x8) = edx; /* 0x39006068: mov dword ptr [esi + 8], edx */ 9730 goto L_3900606F; /* 0x3900606B: jmp 0x3900606f */ 9731 L_3900606D: 9732 MEM32(esi) = edx; /* 0x3900606D: mov dword ptr [esi], edx */ 9733 L_3900606F: 9734 MEM32(edx + 0x8) = ecx; /* 0x3900606F: mov dword ptr [edx + 8], ecx */ 9735 MEM32(ecx + 0x4) = edx; /* 0x39006072: mov dword ptr [ecx + 4], edx */ 9736 ecx = MEM32(eax + 0x4); /* 0x39006075: mov ecx, dword ptr [eax + 4] */ 9737 ecx = MEM32(ecx + 0x8); /* 0x39006078: mov ecx, dword ptr [ecx + 8] */ 9738 L_3900607B: 9739 edx = MEM32(eax + 0x4); /* 0x3900607B: mov edx, dword ptr [eax + 4] */ 9740 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x3900607E: mov dl, byte ptr [edx + 0x2c] */ 9741 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39006081: mov byte ptr [ecx + 0x2c], dl */ 9742 edx = MEM32(eax + 0x4); /* 0x39006084: mov edx, dword ptr [eax + 4] */ 9743 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006087: mov byte ptr [edx + 0x2c], bl */ 9744 ecx = MEM32(ecx + 0x8); /* 0x3900608A: mov ecx, dword ptr [ecx + 8] */ 9745 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x3900608D: mov byte ptr [ecx + 0x2c], bl */ 9746 ecx = MEM32(eax + 0x4); /* 0x39006090: mov ecx, dword ptr [eax + 4] */ 9747 edx = MEM32(ecx + 0x8); /* 0x39006093: mov edx, dword ptr [ecx + 8] */ 9748 esi = MEM32(edx); /* 0x39006096: mov esi, dword ptr [edx] */ 9749 MEM32(ecx + 0x8) = esi; /* 0x39006098: mov dword ptr [ecx + 8], esi */ 9750 esi = MEM32(edx); /* 0x3900609B: mov esi, dword ptr [edx] */ 9751 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3900609D: cmp esi, dword ptr [edi + 8] */ 9752 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9753 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9754 _flag_k = FK_CMP; 9755 if (CMP_EQ(_flag_a, _flag_b)) goto L_390060A5; /* 0x390060A0: je 0x390060a5 */ 9756 L_390060A2: 9757 MEM32(esi + 0x4) = ecx; /* 0x390060A2: mov dword ptr [esi + 4], ecx */ 9758 L_390060A5: 9759 esi = MEM32(ecx + 0x4); /* 0x390060A5: mov esi, dword ptr [ecx + 4] */ 9760 MEM32(edx + 0x4) = esi; /* 0x390060A8: mov dword ptr [edx + 4], esi */ 9761 esi = MEM32(edi + 0x4); /* 0x390060AB: mov esi, dword ptr [edi + 4] */ 9762 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390060AE: cmp ecx, dword ptr [esi + 4] */ 9763 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9764 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9765 _flag_k = FK_CMP; 9766 if (CMP_NE(_flag_a, _flag_b)) goto L_390060BD; /* 0x390060B1: jne 0x390060bd */ 9767 L_390060B3: 9768 MEM32(esi + 0x4) = edx; /* 0x390060B3: mov dword ptr [esi + 4], edx */ 9769 MEM32(edx) = ecx; /* 0x390060B6: mov dword ptr [edx], ecx */ 9770 goto L_39006173; /* 0x390060B8: jmp 0x39006173 */ 9771 L_390060BD: 9772 esi = MEM32(ecx + 0x4); /* 0x390060BD: mov esi, dword ptr [ecx + 4] */ 9773 /* cmp ecx, MEM32(esi) */ /* 0x390060C0: cmp ecx, dword ptr [esi] */ 9774 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 9775 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9776 _flag_k = FK_CMP; 9777 if (CMP_NE(_flag_a, _flag_b)) goto L_390060CD; /* 0x390060C2: jne 0x390060cd */ 9778 L_390060C4: 9779 MEM32(esi) = edx; /* 0x390060C4: mov dword ptr [esi], edx */ 9780 MEM32(edx) = ecx; /* 0x390060C6: mov dword ptr [edx], ecx */ 9781 goto L_39006173; /* 0x390060C8: jmp 0x39006173 */ 9782 L_390060CD: 9783 MEM32(esi + 0x8) = edx; /* 0x390060CD: mov dword ptr [esi + 8], edx */ 9784 MEM32(edx) = ecx; /* 0x390060D0: mov dword ptr [edx], ecx */ 9785 goto L_39006173; /* 0x390060D2: jmp 0x39006173 */ 9786 L_390060D7: 9787 edx = MEM32(ecx); /* 0x390060D7: mov edx, dword ptr [ecx] */ 9788 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390060D9: cmp byte ptr [edx + 0x2c], bl */ 9789 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9790 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9791 _flag_k = FK_NARROW(FK_CMP, 24); 9792 if (CMP_NE(_flag_a, _flag_b)) goto L_39006125; /* 0x390060DC: jne 0x39006125 */ 9793 L_390060DE: 9794 edx = MEM32(ecx + 0x8); /* 0x390060DE: mov edx, dword ptr [ecx + 8] */ 9795 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x390060E1: mov byte ptr [edx + 0x2c], bl */ 9796 edx = MEM32(ecx + 0x8); /* 0x390060E4: mov edx, dword ptr [ecx + 8] */ 9797 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x390060E7: mov byte ptr [ecx + 0x2c], 0 */ 9798 esi = MEM32(edx); /* 0x390060EB: mov esi, dword ptr [edx] */ 9799 MEM32(ecx + 0x8) = esi; /* 0x390060ED: mov dword ptr [ecx + 8], esi */ 9800 esi = MEM32(edx); /* 0x390060F0: mov esi, dword ptr [edx] */ 9801 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390060F2: cmp esi, dword ptr [edi + 8] */ 9802 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9803 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9804 _flag_k = FK_CMP; 9805 if (CMP_EQ(_flag_a, _flag_b)) goto L_390060FA; /* 0x390060F5: je 0x390060fa */ 9806 L_390060F7: 9807 MEM32(esi + 0x4) = ecx; /* 0x390060F7: mov dword ptr [esi + 4], ecx */ 9808 L_390060FA: 9809 esi = MEM32(ecx + 0x4); /* 0x390060FA: mov esi, dword ptr [ecx + 4] */ 9810 MEM32(edx + 0x4) = esi; /* 0x390060FD: mov dword ptr [edx + 4], esi */ 9811 esi = MEM32(edi + 0x4); /* 0x39006100: mov esi, dword ptr [edi + 4] */ 9812 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006103: cmp ecx, dword ptr [esi + 4] */ 9813 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9814 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9815 _flag_k = FK_CMP; 9816 if (CMP_NE(_flag_a, _flag_b)) goto L_3900610D; /* 0x39006106: jne 0x3900610d */ 9817 L_39006108: 9818 MEM32(esi + 0x4) = edx; /* 0x39006108: mov dword ptr [esi + 4], edx */ 9819 goto L_3900611B; /* 0x3900610B: jmp 0x3900611b */ 9820 L_3900610D: 9821 esi = MEM32(ecx + 0x4); /* 0x3900610D: mov esi, dword ptr [ecx + 4] */ 9822 /* cmp ecx, MEM32(esi) */ /* 0x39006110: cmp ecx, dword ptr [esi] */ 9823 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 9824 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9825 _flag_k = FK_CMP; 9826 if (CMP_NE(_flag_a, _flag_b)) goto L_39006118; /* 0x39006112: jne 0x39006118 */ 9827 L_39006114: 9828 MEM32(esi) = edx; /* 0x39006114: mov dword ptr [esi], edx */ 9829 goto L_3900611B; /* 0x39006116: jmp 0x3900611b */ 9830 L_39006118: 9831 MEM32(esi + 0x8) = edx; /* 0x39006118: mov dword ptr [esi + 8], edx */ 9832 L_3900611B: 9833 MEM32(edx) = ecx; /* 0x3900611B: mov dword ptr [edx], ecx */ 9834 MEM32(ecx + 0x4) = edx; /* 0x3900611D: mov dword ptr [ecx + 4], edx */ 9835 ecx = MEM32(eax + 0x4); /* 0x39006120: mov ecx, dword ptr [eax + 4] */ 9836 ecx = MEM32(ecx); /* 0x39006123: mov ecx, dword ptr [ecx] */ 9837 L_39006125: 9838 edx = MEM32(eax + 0x4); /* 0x39006125: mov edx, dword ptr [eax + 4] */ 9839 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x39006128: mov dl, byte ptr [edx + 0x2c] */ 9840 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x3900612B: mov byte ptr [ecx + 0x2c], dl */ 9841 edx = MEM32(eax + 0x4); /* 0x3900612E: mov edx, dword ptr [eax + 4] */ 9842 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006131: mov byte ptr [edx + 0x2c], bl */ 9843 ecx = MEM32(ecx); /* 0x39006134: mov ecx, dword ptr [ecx] */ 9844 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006136: mov byte ptr [ecx + 0x2c], bl */ 9845 ecx = MEM32(eax + 0x4); /* 0x39006139: mov ecx, dword ptr [eax + 4] */ 9846 edx = MEM32(ecx); /* 0x3900613C: mov edx, dword ptr [ecx] */ 9847 esi = MEM32(edx + 0x8); /* 0x3900613E: mov esi, dword ptr [edx + 8] */ 9848 MEM32(ecx) = esi; /* 0x39006141: mov dword ptr [ecx], esi */ 9849 esi = MEM32(edx + 0x8); /* 0x39006143: mov esi, dword ptr [edx + 8] */ 9850 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006146: cmp esi, dword ptr [edi + 8] */ 9851 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9852 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9853 _flag_k = FK_CMP; 9854 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900614E; /* 0x39006149: je 0x3900614e */ 9855 L_3900614B: 9856 MEM32(esi + 0x4) = ecx; /* 0x3900614B: mov dword ptr [esi + 4], ecx */ 9857 L_3900614E: 9858 esi = MEM32(ecx + 0x4); /* 0x3900614E: mov esi, dword ptr [ecx + 4] */ 9859 MEM32(edx + 0x4) = esi; /* 0x39006151: mov dword ptr [edx + 4], esi */ 9860 esi = MEM32(edi + 0x4); /* 0x39006154: mov esi, dword ptr [edi + 4] */ 9861 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006157: cmp ecx, dword ptr [esi + 4] */ 9862 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9863 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9864 _flag_k = FK_CMP; 9865 if (CMP_NE(_flag_a, _flag_b)) goto L_39006161; /* 0x3900615A: jne 0x39006161 */ 9866 L_3900615C: 9867 MEM32(esi + 0x4) = edx; /* 0x3900615C: mov dword ptr [esi + 4], edx */ 9868 goto L_39006170; /* 0x3900615F: jmp 0x39006170 */ 9869 L_39006161: 9870 esi = MEM32(ecx + 0x4); /* 0x39006161: mov esi, dword ptr [ecx + 4] */ 9871 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39006164: cmp ecx, dword ptr [esi + 8] */ 9872 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9873 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9874 _flag_k = FK_CMP; 9875 if (CMP_NE(_flag_a, _flag_b)) goto L_3900616E; /* 0x39006167: jne 0x3900616e */ 9876 L_39006169: 9877 MEM32(esi + 0x8) = edx; /* 0x39006169: mov dword ptr [esi + 8], edx */ 9878 goto L_39006170; /* 0x3900616C: jmp 0x39006170 */ 9879 L_3900616E: 9880 MEM32(esi) = edx; /* 0x3900616E: mov dword ptr [esi], edx */ 9881 L_39006170: 9882 MEM32(edx + 0x8) = ecx; /* 0x39006170: mov dword ptr [edx + 8], ecx */ 9883 L_39006173: 9884 MEM32(ecx + 0x4) = edx; /* 0x39006173: mov dword ptr [ecx + 4], edx */ 9885 L_39006176: 9886 esi = MEM32(ebp + (-0x4)); /* 0x39006176: mov esi, dword ptr [ebp - 4] */ 9887 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006179: mov byte ptr [eax + 0x2c], bl */ 9888 L_3900617C: 9889 ecx = esi + 0xC; /* 0x3900617C: lea ecx, [esi + 0xc] */ 9890 RECOMP_ICALL(0x39004790u); /* 0x3900617F: call 0x39004790 */ /* not lifted */ 9891 RECOMP_FLAGS_IN(); 9892 PUSH32(esp, esi); /* 0x39006184: push esi */ 9893 RECOMP_ICALL(0x3900A0A0u); /* 0x39006185: call 0x3900a0a0 */ /* not lifted */ 9894 RECOMP_FLAGS_IN(); 9895 eax = MEM32(edi + 0x10); /* 0x3900618A: mov eax, dword ptr [edi + 0x10] */ 9896 edx = MEM32(ebp + 0xC); /* 0x3900618D: mov edx, dword ptr [ebp + 0xc] */ 9897 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9898 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9899 esp = esp + 4; /* 0x39006190: add esp, 4 */ 9900 _flag_k = FK_ADD; 9901 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 9902 eax = eax - 1; /* 0x39006193: dec eax */ 9903 _flag_k = FK_DEC; 9904 MEM32(edi + 0x10) = eax; /* 0x39006194: mov dword ptr [edi + 0x10], eax */ 9905 eax = MEM32(ebp + 0x8); /* 0x39006197: mov eax, dword ptr [ebp + 8] */ 9906 edi = POP32_VAL(esp); /* 0x3900619A: pop edi */ 9907 esi = POP32_VAL(esp); /* 0x3900619B: pop esi */ 9908 MEM32(eax) = edx; /* 0x3900619C: mov dword ptr [eax], edx */ 9909 ebx = POP32_VAL(esp); /* 0x3900619E: pop ebx */ 9910 esp = ebp; /* 0x3900619F: mov esp, ebp */ 9911 ebp = POP32_VAL(esp); /* 0x390061A1: pop ebp */ 9912 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x390061A2: ret 8 */ 9913 RECOMP_REGS_OUT(); 9914 } 9915 9916 void sub_39005F28(void) { 9917 int _fpu_cmp = 0; 9918 uint32_t _cf = 0; 9919 int _df = 1; 9920 uint32_t _flag_k = FK_NONE; 9921 uint32_t _flag_a = 0, _flag_b = 0; 9922 uint32_t _itail_tgt = 0; 9923 RECOMP_REGS_LOCALS 9924 RECOMP_ENTER(0x39005F28u); 9925 9926 L_39005F28: 9927 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x39005F28: cmp byte ptr [eax + 0x2c], bl */ 9928 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9929 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9930 _flag_k = FK_NARROW(FK_CMP, 24); 9931 if (CMP_NE(_flag_a, _flag_b)) goto L_39006176; /* 0x39005F2B: jne 0x39006176 */ 9932 L_39005F31: 9933 edx = MEM32(eax + 0x4); /* 0x39005F31: mov edx, dword ptr [eax + 4] */ 9934 ecx = MEM32(edx); /* 0x39005F34: mov ecx, dword ptr [edx] */ 9935 /* cmp eax, ecx */ /* 0x39005F36: cmp eax, ecx */ 9936 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9937 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9938 _flag_k = FK_CMP; 9939 if (CMP_NE(_flag_a, _flag_b)) goto L_39005FA8; /* 0x39005F38: jne 0x39005fa8 */ 9940 L_39005F3A: 9941 ecx = MEM32(edx + 0x8); /* 0x39005F3A: mov ecx, dword ptr [edx + 8] */ 9942 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39005F3D: mov dl, byte ptr [ecx + 0x2c] */ 9943 /* test LO8(edx), LO8(edx) */ /* 0x39005F40: test dl, dl */ 9944 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 9945 _cf = 0; 9946 _flag_k = FK_NARROW(FK_TEST, 24); 9947 if (TEST_NZ(_flag_a, _flag_b)) goto L_39005F8F; /* 0x39005F42: jne 0x39005f8f */ 9948 L_39005F44: 9949 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005F44: mov byte ptr [ecx + 0x2c], bl */ 9950 edx = MEM32(eax + 0x4); /* 0x39005F47: mov edx, dword ptr [eax + 4] */ 9951 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x39005F4A: mov byte ptr [edx + 0x2c], 0 */ 9952 ecx = MEM32(eax + 0x4); /* 0x39005F4E: mov ecx, dword ptr [eax + 4] */ 9953 edx = MEM32(ecx + 0x8); /* 0x39005F51: mov edx, dword ptr [ecx + 8] */ 9954 esi = MEM32(edx); /* 0x39005F54: mov esi, dword ptr [edx] */ 9955 MEM32(ecx + 0x8) = esi; /* 0x39005F56: mov dword ptr [ecx + 8], esi */ 9956 esi = MEM32(edx); /* 0x39005F59: mov esi, dword ptr [edx] */ 9957 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005F5B: cmp esi, dword ptr [edi + 8] */ 9958 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9959 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9960 _flag_k = FK_CMP; 9961 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005F63; /* 0x39005F5E: je 0x39005f63 */ 9962 L_39005F60: 9963 MEM32(esi + 0x4) = ecx; /* 0x39005F60: mov dword ptr [esi + 4], ecx */ 9964 L_39005F63: 9965 esi = MEM32(ecx + 0x4); /* 0x39005F63: mov esi, dword ptr [ecx + 4] */ 9966 MEM32(edx + 0x4) = esi; /* 0x39005F66: mov dword ptr [edx + 4], esi */ 9967 esi = MEM32(edi + 0x4); /* 0x39005F69: mov esi, dword ptr [edi + 4] */ 9968 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005F6C: cmp ecx, dword ptr [esi + 4] */ 9969 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 9970 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9971 _flag_k = FK_CMP; 9972 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F76; /* 0x39005F6F: jne 0x39005f76 */ 9973 L_39005F71: 9974 MEM32(esi + 0x4) = edx; /* 0x39005F71: mov dword ptr [esi + 4], edx */ 9975 goto L_39005F84; /* 0x39005F74: jmp 0x39005f84 */ 9976 L_39005F76: 9977 esi = MEM32(ecx + 0x4); /* 0x39005F76: mov esi, dword ptr [ecx + 4] */ 9978 /* cmp ecx, MEM32(esi) */ /* 0x39005F79: cmp ecx, dword ptr [esi] */ 9979 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 9980 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9981 _flag_k = FK_CMP; 9982 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F81; /* 0x39005F7B: jne 0x39005f81 */ 9983 L_39005F7D: 9984 MEM32(esi) = edx; /* 0x39005F7D: mov dword ptr [esi], edx */ 9985 goto L_39005F84; /* 0x39005F7F: jmp 0x39005f84 */ 9986 L_39005F81: 9987 MEM32(esi + 0x8) = edx; /* 0x39005F81: mov dword ptr [esi + 8], edx */ 9988 L_39005F84: 9989 MEM32(edx) = ecx; /* 0x39005F84: mov dword ptr [edx], ecx */ 9990 MEM32(ecx + 0x4) = edx; /* 0x39005F86: mov dword ptr [ecx + 4], edx */ 9991 ecx = MEM32(eax + 0x4); /* 0x39005F89: mov ecx, dword ptr [eax + 4] */ 9992 ecx = MEM32(ecx + 0x8); /* 0x39005F8C: mov ecx, dword ptr [ecx + 8] */ 9993 L_39005F8F: 9994 edx = MEM32(ecx); /* 0x39005F8F: mov edx, dword ptr [ecx] */ 9995 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005F91: cmp byte ptr [edx + 0x2c], bl */ 9996 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9997 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9998 _flag_k = FK_NARROW(FK_CMP, 24); 9999 if (CMP_NE(_flag_a, _flag_b)) goto L_3900602A; /* 0x39005F94: jne 0x3900602a */ 10000 L_39005F9A: 10001 edx = MEM32(ecx + 0x8); /* 0x39005F9A: mov edx, dword ptr [ecx + 8] */ 10002 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005F9D: cmp byte ptr [edx + 0x2c], bl */ 10003 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10004 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10005 _flag_k = FK_NARROW(FK_CMP, 24); 10006 if (CMP_NE(_flag_a, _flag_b)) goto L_3900602A; /* 0x39005FA0: jne 0x3900602a */ 10007 L_39005FA6: 10008 goto L_39006012; /* 0x39005FA6: jmp 0x39006012 */ 10009 L_39005FA8: 10010 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39005FA8: mov dl, byte ptr [ecx + 0x2c] */ 10011 /* test LO8(edx), LO8(edx) */ /* 0x39005FAB: test dl, dl */ 10012 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 10013 _cf = 0; 10014 _flag_k = FK_NARROW(FK_TEST, 24); 10015 if (TEST_NZ(_flag_a, _flag_b)) goto L_39005FFB; /* 0x39005FAD: jne 0x39005ffb */ 10016 L_39005FAF: 10017 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005FAF: mov byte ptr [ecx + 0x2c], bl */ 10018 ecx = MEM32(eax + 0x4); /* 0x39005FB2: mov ecx, dword ptr [eax + 4] */ 10019 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39005FB5: mov byte ptr [ecx + 0x2c], 0 */ 10020 ecx = MEM32(eax + 0x4); /* 0x39005FB9: mov ecx, dword ptr [eax + 4] */ 10021 edx = MEM32(ecx); /* 0x39005FBC: mov edx, dword ptr [ecx] */ 10022 esi = MEM32(edx + 0x8); /* 0x39005FBE: mov esi, dword ptr [edx + 8] */ 10023 MEM32(ecx) = esi; /* 0x39005FC1: mov dword ptr [ecx], esi */ 10024 esi = MEM32(edx + 0x8); /* 0x39005FC3: mov esi, dword ptr [edx + 8] */ 10025 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005FC6: cmp esi, dword ptr [edi + 8] */ 10026 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10027 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10028 _flag_k = FK_CMP; 10029 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005FCE; /* 0x39005FC9: je 0x39005fce */ 10030 L_39005FCB: 10031 MEM32(esi + 0x4) = ecx; /* 0x39005FCB: mov dword ptr [esi + 4], ecx */ 10032 L_39005FCE: 10033 esi = MEM32(ecx + 0x4); /* 0x39005FCE: mov esi, dword ptr [ecx + 4] */ 10034 MEM32(edx + 0x4) = esi; /* 0x39005FD1: mov dword ptr [edx + 4], esi */ 10035 esi = MEM32(edi + 0x4); /* 0x39005FD4: mov esi, dword ptr [edi + 4] */ 10036 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005FD7: cmp ecx, dword ptr [esi + 4] */ 10037 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 10038 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10039 _flag_k = FK_CMP; 10040 if (CMP_NE(_flag_a, _flag_b)) goto L_39005FE1; /* 0x39005FDA: jne 0x39005fe1 */ 10041 L_39005FDC: 10042 MEM32(esi + 0x4) = edx; /* 0x39005FDC: mov dword ptr [esi + 4], edx */ 10043 goto L_39005FF0; /* 0x39005FDF: jmp 0x39005ff0 */ 10044 L_39005FE1: 10045 esi = MEM32(ecx + 0x4); /* 0x39005FE1: mov esi, dword ptr [ecx + 4] */ 10046 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39005FE4: cmp ecx, dword ptr [esi + 8] */ 10047 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10048 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10049 _flag_k = FK_CMP; 10050 if (CMP_NE(_flag_a, _flag_b)) goto L_39005FEE; /* 0x39005FE7: jne 0x39005fee */ 10051 L_39005FE9: 10052 MEM32(esi + 0x8) = edx; /* 0x39005FE9: mov dword ptr [esi + 8], edx */ 10053 goto L_39005FF0; /* 0x39005FEC: jmp 0x39005ff0 */ 10054 L_39005FEE: 10055 MEM32(esi) = edx; /* 0x39005FEE: mov dword ptr [esi], edx */ 10056 L_39005FF0: 10057 MEM32(edx + 0x8) = ecx; /* 0x39005FF0: mov dword ptr [edx + 8], ecx */ 10058 MEM32(ecx + 0x4) = edx; /* 0x39005FF3: mov dword ptr [ecx + 4], edx */ 10059 edx = MEM32(eax + 0x4); /* 0x39005FF6: mov edx, dword ptr [eax + 4] */ 10060 ecx = MEM32(edx); /* 0x39005FF9: mov ecx, dword ptr [edx] */ 10061 L_39005FFB: 10062 edx = MEM32(ecx + 0x8); /* 0x39005FFB: mov edx, dword ptr [ecx + 8] */ 10063 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005FFE: cmp byte ptr [edx + 0x2c], bl */ 10064 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10065 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10066 _flag_k = FK_NARROW(FK_CMP, 24); 10067 if (CMP_NE(_flag_a, _flag_b)) goto L_390060D7; /* 0x39006001: jne 0x390060d7 */ 10068 L_39006007: 10069 edx = MEM32(ecx); /* 0x39006007: mov edx, dword ptr [ecx] */ 10070 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39006009: cmp byte ptr [edx + 0x2c], bl */ 10071 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10072 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10073 _flag_k = FK_NARROW(FK_CMP, 24); 10074 if (CMP_NE(_flag_a, _flag_b)) goto L_390060D7; /* 0x3900600C: jne 0x390060d7 */ 10075 L_39006012: 10076 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006012: mov byte ptr [ecx + 0x2c], 0 */ 10077 ecx = MEM32(edi + 0x4); /* 0x39006016: mov ecx, dword ptr [edi + 4] */ 10078 eax = MEM32(eax + 0x4); /* 0x39006019: mov eax, dword ptr [eax + 4] */ 10079 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900601C: cmp eax, dword ptr [ecx + 4] */ 10080 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 10081 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10082 _flag_k = FK_CMP; 10083 RECOMP_BACKEDGE(); 10084 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F28; /* 0x3900601F: jne 0x39005f28 */ 10085 L_39006025: 10086 goto L_39006176; /* 0x39006025: jmp 0x39006176 */ 10087 L_3900602A: 10088 edx = MEM32(ecx + 0x8); /* 0x3900602A: mov edx, dword ptr [ecx + 8] */ 10089 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x3900602D: cmp byte ptr [edx + 0x2c], bl */ 10090 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10091 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10092 _flag_k = FK_NARROW(FK_CMP, 24); 10093 if (CMP_NE(_flag_a, _flag_b)) goto L_3900607B; /* 0x39006030: jne 0x3900607b */ 10094 L_39006032: 10095 edx = MEM32(ecx); /* 0x39006032: mov edx, dword ptr [ecx] */ 10096 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006034: mov byte ptr [edx + 0x2c], bl */ 10097 edx = MEM32(ecx); /* 0x39006037: mov edx, dword ptr [ecx] */ 10098 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006039: mov byte ptr [ecx + 0x2c], 0 */ 10099 esi = MEM32(edx + 0x8); /* 0x3900603D: mov esi, dword ptr [edx + 8] */ 10100 MEM32(ecx) = esi; /* 0x39006040: mov dword ptr [ecx], esi */ 10101 esi = MEM32(edx + 0x8); /* 0x39006042: mov esi, dword ptr [edx + 8] */ 10102 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006045: cmp esi, dword ptr [edi + 8] */ 10103 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10104 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10105 _flag_k = FK_CMP; 10106 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900604D; /* 0x39006048: je 0x3900604d */ 10107 L_3900604A: 10108 MEM32(esi + 0x4) = ecx; /* 0x3900604A: mov dword ptr [esi + 4], ecx */ 10109 L_3900604D: 10110 esi = MEM32(ecx + 0x4); /* 0x3900604D: mov esi, dword ptr [ecx + 4] */ 10111 MEM32(edx + 0x4) = esi; /* 0x39006050: mov dword ptr [edx + 4], esi */ 10112 esi = MEM32(edi + 0x4); /* 0x39006053: mov esi, dword ptr [edi + 4] */ 10113 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006056: cmp ecx, dword ptr [esi + 4] */ 10114 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 10115 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10116 _flag_k = FK_CMP; 10117 if (CMP_NE(_flag_a, _flag_b)) goto L_39006060; /* 0x39006059: jne 0x39006060 */ 10118 L_3900605B: 10119 MEM32(esi + 0x4) = edx; /* 0x3900605B: mov dword ptr [esi + 4], edx */ 10120 goto L_3900606F; /* 0x3900605E: jmp 0x3900606f */ 10121 L_39006060: 10122 esi = MEM32(ecx + 0x4); /* 0x39006060: mov esi, dword ptr [ecx + 4] */ 10123 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39006063: cmp ecx, dword ptr [esi + 8] */ 10124 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10125 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10126 _flag_k = FK_CMP; 10127 if (CMP_NE(_flag_a, _flag_b)) goto L_3900606D; /* 0x39006066: jne 0x3900606d */ 10128 L_39006068: 10129 MEM32(esi + 0x8) = edx; /* 0x39006068: mov dword ptr [esi + 8], edx */ 10130 goto L_3900606F; /* 0x3900606B: jmp 0x3900606f */ 10131 L_3900606D: 10132 MEM32(esi) = edx; /* 0x3900606D: mov dword ptr [esi], edx */ 10133 L_3900606F: 10134 MEM32(edx + 0x8) = ecx; /* 0x3900606F: mov dword ptr [edx + 8], ecx */ 10135 MEM32(ecx + 0x4) = edx; /* 0x39006072: mov dword ptr [ecx + 4], edx */ 10136 ecx = MEM32(eax + 0x4); /* 0x39006075: mov ecx, dword ptr [eax + 4] */ 10137 ecx = MEM32(ecx + 0x8); /* 0x39006078: mov ecx, dword ptr [ecx + 8] */ 10138 L_3900607B: 10139 edx = MEM32(eax + 0x4); /* 0x3900607B: mov edx, dword ptr [eax + 4] */ 10140 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x3900607E: mov dl, byte ptr [edx + 0x2c] */ 10141 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39006081: mov byte ptr [ecx + 0x2c], dl */ 10142 edx = MEM32(eax + 0x4); /* 0x39006084: mov edx, dword ptr [eax + 4] */ 10143 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006087: mov byte ptr [edx + 0x2c], bl */ 10144 ecx = MEM32(ecx + 0x8); /* 0x3900608A: mov ecx, dword ptr [ecx + 8] */ 10145 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x3900608D: mov byte ptr [ecx + 0x2c], bl */ 10146 ecx = MEM32(eax + 0x4); /* 0x39006090: mov ecx, dword ptr [eax + 4] */ 10147 edx = MEM32(ecx + 0x8); /* 0x39006093: mov edx, dword ptr [ecx + 8] */ 10148 esi = MEM32(edx); /* 0x39006096: mov esi, dword ptr [edx] */ 10149 MEM32(ecx + 0x8) = esi; /* 0x39006098: mov dword ptr [ecx + 8], esi */ 10150 esi = MEM32(edx); /* 0x3900609B: mov esi, dword ptr [edx] */ 10151 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3900609D: cmp esi, dword ptr [edi + 8] */ 10152 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10153 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10154 _flag_k = FK_CMP; 10155 if (CMP_EQ(_flag_a, _flag_b)) goto L_390060A5; /* 0x390060A0: je 0x390060a5 */ 10156 L_390060A2: 10157 MEM32(esi + 0x4) = ecx; /* 0x390060A2: mov dword ptr [esi + 4], ecx */ 10158 L_390060A5: 10159 esi = MEM32(ecx + 0x4); /* 0x390060A5: mov esi, dword ptr [ecx + 4] */ 10160 MEM32(edx + 0x4) = esi; /* 0x390060A8: mov dword ptr [edx + 4], esi */ 10161 esi = MEM32(edi + 0x4); /* 0x390060AB: mov esi, dword ptr [edi + 4] */ 10162 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390060AE: cmp ecx, dword ptr [esi + 4] */ 10163 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 10164 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10165 _flag_k = FK_CMP; 10166 if (CMP_NE(_flag_a, _flag_b)) goto L_390060BD; /* 0x390060B1: jne 0x390060bd */ 10167 L_390060B3: 10168 MEM32(esi + 0x4) = edx; /* 0x390060B3: mov dword ptr [esi + 4], edx */ 10169 MEM32(edx) = ecx; /* 0x390060B6: mov dword ptr [edx], ecx */ 10170 goto L_39006173; /* 0x390060B8: jmp 0x39006173 */ 10171 L_390060BD: 10172 esi = MEM32(ecx + 0x4); /* 0x390060BD: mov esi, dword ptr [ecx + 4] */ 10173 /* cmp ecx, MEM32(esi) */ /* 0x390060C0: cmp ecx, dword ptr [esi] */ 10174 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 10175 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10176 _flag_k = FK_CMP; 10177 if (CMP_NE(_flag_a, _flag_b)) goto L_390060CD; /* 0x390060C2: jne 0x390060cd */ 10178 L_390060C4: 10179 MEM32(esi) = edx; /* 0x390060C4: mov dword ptr [esi], edx */ 10180 MEM32(edx) = ecx; /* 0x390060C6: mov dword ptr [edx], ecx */ 10181 goto L_39006173; /* 0x390060C8: jmp 0x39006173 */ 10182 L_390060CD: 10183 MEM32(esi + 0x8) = edx; /* 0x390060CD: mov dword ptr [esi + 8], edx */ 10184 MEM32(edx) = ecx; /* 0x390060D0: mov dword ptr [edx], ecx */ 10185 goto L_39006173; /* 0x390060D2: jmp 0x39006173 */ 10186 L_390060D7: 10187 edx = MEM32(ecx); /* 0x390060D7: mov edx, dword ptr [ecx] */ 10188 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390060D9: cmp byte ptr [edx + 0x2c], bl */ 10189 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10190 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10191 _flag_k = FK_NARROW(FK_CMP, 24); 10192 if (CMP_NE(_flag_a, _flag_b)) goto L_39006125; /* 0x390060DC: jne 0x39006125 */ 10193 L_390060DE: 10194 edx = MEM32(ecx + 0x8); /* 0x390060DE: mov edx, dword ptr [ecx + 8] */ 10195 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x390060E1: mov byte ptr [edx + 0x2c], bl */ 10196 edx = MEM32(ecx + 0x8); /* 0x390060E4: mov edx, dword ptr [ecx + 8] */ 10197 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x390060E7: mov byte ptr [ecx + 0x2c], 0 */ 10198 esi = MEM32(edx); /* 0x390060EB: mov esi, dword ptr [edx] */ 10199 MEM32(ecx + 0x8) = esi; /* 0x390060ED: mov dword ptr [ecx + 8], esi */ 10200 esi = MEM32(edx); /* 0x390060F0: mov esi, dword ptr [edx] */ 10201 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390060F2: cmp esi, dword ptr [edi + 8] */ 10202 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10203 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10204 _flag_k = FK_CMP; 10205 if (CMP_EQ(_flag_a, _flag_b)) goto L_390060FA; /* 0x390060F5: je 0x390060fa */ 10206 L_390060F7: 10207 MEM32(esi + 0x4) = ecx; /* 0x390060F7: mov dword ptr [esi + 4], ecx */ 10208 L_390060FA: 10209 esi = MEM32(ecx + 0x4); /* 0x390060FA: mov esi, dword ptr [ecx + 4] */ 10210 MEM32(edx + 0x4) = esi; /* 0x390060FD: mov dword ptr [edx + 4], esi */ 10211 esi = MEM32(edi + 0x4); /* 0x39006100: mov esi, dword ptr [edi + 4] */ 10212 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006103: cmp ecx, dword ptr [esi + 4] */ 10213 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 10214 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10215 _flag_k = FK_CMP; 10216 if (CMP_NE(_flag_a, _flag_b)) goto L_3900610D; /* 0x39006106: jne 0x3900610d */ 10217 L_39006108: 10218 MEM32(esi + 0x4) = edx; /* 0x39006108: mov dword ptr [esi + 4], edx */ 10219 goto L_3900611B; /* 0x3900610B: jmp 0x3900611b */ 10220 L_3900610D: 10221 esi = MEM32(ecx + 0x4); /* 0x3900610D: mov esi, dword ptr [ecx + 4] */ 10222 /* cmp ecx, MEM32(esi) */ /* 0x39006110: cmp ecx, dword ptr [esi] */ 10223 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 10224 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10225 _flag_k = FK_CMP; 10226 if (CMP_NE(_flag_a, _flag_b)) goto L_39006118; /* 0x39006112: jne 0x39006118 */ 10227 L_39006114: 10228 MEM32(esi) = edx; /* 0x39006114: mov dword ptr [esi], edx */ 10229 goto L_3900611B; /* 0x39006116: jmp 0x3900611b */ 10230 L_39006118: 10231 MEM32(esi + 0x8) = edx; /* 0x39006118: mov dword ptr [esi + 8], edx */ 10232 L_3900611B: 10233 MEM32(edx) = ecx; /* 0x3900611B: mov dword ptr [edx], ecx */ 10234 MEM32(ecx + 0x4) = edx; /* 0x3900611D: mov dword ptr [ecx + 4], edx */ 10235 ecx = MEM32(eax + 0x4); /* 0x39006120: mov ecx, dword ptr [eax + 4] */ 10236 ecx = MEM32(ecx); /* 0x39006123: mov ecx, dword ptr [ecx] */ 10237 L_39006125: 10238 edx = MEM32(eax + 0x4); /* 0x39006125: mov edx, dword ptr [eax + 4] */ 10239 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x39006128: mov dl, byte ptr [edx + 0x2c] */ 10240 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x3900612B: mov byte ptr [ecx + 0x2c], dl */ 10241 edx = MEM32(eax + 0x4); /* 0x3900612E: mov edx, dword ptr [eax + 4] */ 10242 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006131: mov byte ptr [edx + 0x2c], bl */ 10243 ecx = MEM32(ecx); /* 0x39006134: mov ecx, dword ptr [ecx] */ 10244 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006136: mov byte ptr [ecx + 0x2c], bl */ 10245 ecx = MEM32(eax + 0x4); /* 0x39006139: mov ecx, dword ptr [eax + 4] */ 10246 edx = MEM32(ecx); /* 0x3900613C: mov edx, dword ptr [ecx] */ 10247 esi = MEM32(edx + 0x8); /* 0x3900613E: mov esi, dword ptr [edx + 8] */ 10248 MEM32(ecx) = esi; /* 0x39006141: mov dword ptr [ecx], esi */ 10249 esi = MEM32(edx + 0x8); /* 0x39006143: mov esi, dword ptr [edx + 8] */ 10250 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006146: cmp esi, dword ptr [edi + 8] */ 10251 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10252 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10253 _flag_k = FK_CMP; 10254 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900614E; /* 0x39006149: je 0x3900614e */ 10255 L_3900614B: 10256 MEM32(esi + 0x4) = ecx; /* 0x3900614B: mov dword ptr [esi + 4], ecx */ 10257 L_3900614E: 10258 esi = MEM32(ecx + 0x4); /* 0x3900614E: mov esi, dword ptr [ecx + 4] */ 10259 MEM32(edx + 0x4) = esi; /* 0x39006151: mov dword ptr [edx + 4], esi */ 10260 esi = MEM32(edi + 0x4); /* 0x39006154: mov esi, dword ptr [edi + 4] */ 10261 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006157: cmp ecx, dword ptr [esi + 4] */ 10262 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 10263 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10264 _flag_k = FK_CMP; 10265 if (CMP_NE(_flag_a, _flag_b)) goto L_39006161; /* 0x3900615A: jne 0x39006161 */ 10266 L_3900615C: 10267 MEM32(esi + 0x4) = edx; /* 0x3900615C: mov dword ptr [esi + 4], edx */ 10268 goto L_39006170; /* 0x3900615F: jmp 0x39006170 */ 10269 L_39006161: 10270 esi = MEM32(ecx + 0x4); /* 0x39006161: mov esi, dword ptr [ecx + 4] */ 10271 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39006164: cmp ecx, dword ptr [esi + 8] */ 10272 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10273 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10274 _flag_k = FK_CMP; 10275 if (CMP_NE(_flag_a, _flag_b)) goto L_3900616E; /* 0x39006167: jne 0x3900616e */ 10276 L_39006169: 10277 MEM32(esi + 0x8) = edx; /* 0x39006169: mov dword ptr [esi + 8], edx */ 10278 goto L_39006170; /* 0x3900616C: jmp 0x39006170 */ 10279 L_3900616E: 10280 MEM32(esi) = edx; /* 0x3900616E: mov dword ptr [esi], edx */ 10281 L_39006170: 10282 MEM32(edx + 0x8) = ecx; /* 0x39006170: mov dword ptr [edx + 8], ecx */ 10283 L_39006173: 10284 MEM32(ecx + 0x4) = edx; /* 0x39006173: mov dword ptr [ecx + 4], edx */ 10285 L_39006176: 10286 esi = MEM32(ebp + (-0x4)); /* 0x39006176: mov esi, dword ptr [ebp - 4] */ 10287 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006179: mov byte ptr [eax + 0x2c], bl */ 10288 ecx = esi + 0xC; /* 0x3900617C: lea ecx, [esi + 0xc] */ 10289 RECOMP_ICALL(0x39004790u); /* 0x3900617F: call 0x39004790 */ /* not lifted */ 10290 RECOMP_FLAGS_IN(); 10291 PUSH32(esp, esi); /* 0x39006184: push esi */ 10292 RECOMP_ICALL(0x3900A0A0u); /* 0x39006185: call 0x3900a0a0 */ /* not lifted */ 10293 RECOMP_FLAGS_IN(); 10294 eax = MEM32(edi + 0x10); /* 0x3900618A: mov eax, dword ptr [edi + 0x10] */ 10295 edx = MEM32(ebp + 0xC); /* 0x3900618D: mov edx, dword ptr [ebp + 0xc] */ 10296 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10297 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10298 esp = esp + 4; /* 0x39006190: add esp, 4 */ 10299 _flag_k = FK_ADD; 10300 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 10301 eax = eax - 1; /* 0x39006193: dec eax */ 10302 _flag_k = FK_DEC; 10303 MEM32(edi + 0x10) = eax; /* 0x39006194: mov dword ptr [edi + 0x10], eax */ 10304 eax = MEM32(ebp + 0x8); /* 0x39006197: mov eax, dword ptr [ebp + 8] */ 10305 edi = POP32_VAL(esp); /* 0x3900619A: pop edi */ 10306 esi = POP32_VAL(esp); /* 0x3900619B: pop esi */ 10307 MEM32(eax) = edx; /* 0x3900619C: mov dword ptr [eax], edx */ 10308 ebx = POP32_VAL(esp); /* 0x3900619E: pop ebx */ 10309 esp = ebp; /* 0x3900619F: mov esp, ebp */ 10310 ebp = POP32_VAL(esp); /* 0x390061A1: pop ebp */ 10311 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x390061A2: ret 8 */ 10312 RECOMP_REGS_OUT(); 10313 } 10314 10315 void sub_39005F84(void) { 10316 int _fpu_cmp = 0; 10317 uint32_t _cf = 0; 10318 int _df = 1; 10319 uint32_t _flag_k = FK_NONE; 10320 uint32_t _flag_a = 0, _flag_b = 0; 10321 uint32_t _itail_tgt = 0; 10322 RECOMP_REGS_LOCALS 10323 RECOMP_ENTER(0x39005F84u); 10324 10325 goto L_39005F84; 10326 L_39005F28: 10327 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x39005F28: cmp byte ptr [eax + 0x2c], bl */ 10328 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10329 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10330 _flag_k = FK_NARROW(FK_CMP, 24); 10331 if (CMP_NE(_flag_a, _flag_b)) goto L_39006176; /* 0x39005F2B: jne 0x39006176 */ 10332 L_39005F31: 10333 edx = MEM32(eax + 0x4); /* 0x39005F31: mov edx, dword ptr [eax + 4] */ 10334 ecx = MEM32(edx); /* 0x39005F34: mov ecx, dword ptr [edx] */ 10335 /* cmp eax, ecx */ /* 0x39005F36: cmp eax, ecx */ 10336 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10337 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10338 _flag_k = FK_CMP; 10339 if (CMP_NE(_flag_a, _flag_b)) goto L_39005FA8; /* 0x39005F38: jne 0x39005fa8 */ 10340 L_39005F3A: 10341 ecx = MEM32(edx + 0x8); /* 0x39005F3A: mov ecx, dword ptr [edx + 8] */ 10342 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39005F3D: mov dl, byte ptr [ecx + 0x2c] */ 10343 /* test LO8(edx), LO8(edx) */ /* 0x39005F40: test dl, dl */ 10344 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 10345 _cf = 0; 10346 _flag_k = FK_NARROW(FK_TEST, 24); 10347 if (TEST_NZ(_flag_a, _flag_b)) goto L_39005F8F; /* 0x39005F42: jne 0x39005f8f */ 10348 L_39005F44: 10349 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005F44: mov byte ptr [ecx + 0x2c], bl */ 10350 edx = MEM32(eax + 0x4); /* 0x39005F47: mov edx, dword ptr [eax + 4] */ 10351 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x39005F4A: mov byte ptr [edx + 0x2c], 0 */ 10352 ecx = MEM32(eax + 0x4); /* 0x39005F4E: mov ecx, dword ptr [eax + 4] */ 10353 edx = MEM32(ecx + 0x8); /* 0x39005F51: mov edx, dword ptr [ecx + 8] */ 10354 esi = MEM32(edx); /* 0x39005F54: mov esi, dword ptr [edx] */ 10355 MEM32(ecx + 0x8) = esi; /* 0x39005F56: mov dword ptr [ecx + 8], esi */ 10356 esi = MEM32(edx); /* 0x39005F59: mov esi, dword ptr [edx] */ 10357 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005F5B: cmp esi, dword ptr [edi + 8] */ 10358 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10359 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10360 _flag_k = FK_CMP; 10361 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005F63; /* 0x39005F5E: je 0x39005f63 */ 10362 L_39005F60: 10363 MEM32(esi + 0x4) = ecx; /* 0x39005F60: mov dword ptr [esi + 4], ecx */ 10364 L_39005F63: 10365 esi = MEM32(ecx + 0x4); /* 0x39005F63: mov esi, dword ptr [ecx + 4] */ 10366 MEM32(edx + 0x4) = esi; /* 0x39005F66: mov dword ptr [edx + 4], esi */ 10367 esi = MEM32(edi + 0x4); /* 0x39005F69: mov esi, dword ptr [edi + 4] */ 10368 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005F6C: cmp ecx, dword ptr [esi + 4] */ 10369 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 10370 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10371 _flag_k = FK_CMP; 10372 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F76; /* 0x39005F6F: jne 0x39005f76 */ 10373 L_39005F71: 10374 MEM32(esi + 0x4) = edx; /* 0x39005F71: mov dword ptr [esi + 4], edx */ 10375 goto L_39005F84; /* 0x39005F74: jmp 0x39005f84 */ 10376 L_39005F76: 10377 esi = MEM32(ecx + 0x4); /* 0x39005F76: mov esi, dword ptr [ecx + 4] */ 10378 /* cmp ecx, MEM32(esi) */ /* 0x39005F79: cmp ecx, dword ptr [esi] */ 10379 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 10380 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10381 _flag_k = FK_CMP; 10382 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F81; /* 0x39005F7B: jne 0x39005f81 */ 10383 L_39005F7D: 10384 MEM32(esi) = edx; /* 0x39005F7D: mov dword ptr [esi], edx */ 10385 goto L_39005F84; /* 0x39005F7F: jmp 0x39005f84 */ 10386 L_39005F81: 10387 MEM32(esi + 0x8) = edx; /* 0x39005F81: mov dword ptr [esi + 8], edx */ 10388 L_39005F84: 10389 MEM32(edx) = ecx; /* 0x39005F84: mov dword ptr [edx], ecx */ 10390 MEM32(ecx + 0x4) = edx; /* 0x39005F86: mov dword ptr [ecx + 4], edx */ 10391 ecx = MEM32(eax + 0x4); /* 0x39005F89: mov ecx, dword ptr [eax + 4] */ 10392 ecx = MEM32(ecx + 0x8); /* 0x39005F8C: mov ecx, dword ptr [ecx + 8] */ 10393 L_39005F8F: 10394 edx = MEM32(ecx); /* 0x39005F8F: mov edx, dword ptr [ecx] */ 10395 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005F91: cmp byte ptr [edx + 0x2c], bl */ 10396 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10397 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10398 _flag_k = FK_NARROW(FK_CMP, 24); 10399 if (CMP_NE(_flag_a, _flag_b)) goto L_3900602A; /* 0x39005F94: jne 0x3900602a */ 10400 L_39005F9A: 10401 edx = MEM32(ecx + 0x8); /* 0x39005F9A: mov edx, dword ptr [ecx + 8] */ 10402 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005F9D: cmp byte ptr [edx + 0x2c], bl */ 10403 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10404 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10405 _flag_k = FK_NARROW(FK_CMP, 24); 10406 if (CMP_NE(_flag_a, _flag_b)) goto L_3900602A; /* 0x39005FA0: jne 0x3900602a */ 10407 L_39005FA6: 10408 goto L_39006012; /* 0x39005FA6: jmp 0x39006012 */ 10409 L_39005FA8: 10410 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39005FA8: mov dl, byte ptr [ecx + 0x2c] */ 10411 /* test LO8(edx), LO8(edx) */ /* 0x39005FAB: test dl, dl */ 10412 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 10413 _cf = 0; 10414 _flag_k = FK_NARROW(FK_TEST, 24); 10415 if (TEST_NZ(_flag_a, _flag_b)) goto L_39005FFB; /* 0x39005FAD: jne 0x39005ffb */ 10416 L_39005FAF: 10417 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005FAF: mov byte ptr [ecx + 0x2c], bl */ 10418 ecx = MEM32(eax + 0x4); /* 0x39005FB2: mov ecx, dword ptr [eax + 4] */ 10419 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39005FB5: mov byte ptr [ecx + 0x2c], 0 */ 10420 ecx = MEM32(eax + 0x4); /* 0x39005FB9: mov ecx, dword ptr [eax + 4] */ 10421 edx = MEM32(ecx); /* 0x39005FBC: mov edx, dword ptr [ecx] */ 10422 esi = MEM32(edx + 0x8); /* 0x39005FBE: mov esi, dword ptr [edx + 8] */ 10423 MEM32(ecx) = esi; /* 0x39005FC1: mov dword ptr [ecx], esi */ 10424 esi = MEM32(edx + 0x8); /* 0x39005FC3: mov esi, dword ptr [edx + 8] */ 10425 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005FC6: cmp esi, dword ptr [edi + 8] */ 10426 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10427 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10428 _flag_k = FK_CMP; 10429 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005FCE; /* 0x39005FC9: je 0x39005fce */ 10430 L_39005FCB: 10431 MEM32(esi + 0x4) = ecx; /* 0x39005FCB: mov dword ptr [esi + 4], ecx */ 10432 L_39005FCE: 10433 esi = MEM32(ecx + 0x4); /* 0x39005FCE: mov esi, dword ptr [ecx + 4] */ 10434 MEM32(edx + 0x4) = esi; /* 0x39005FD1: mov dword ptr [edx + 4], esi */ 10435 esi = MEM32(edi + 0x4); /* 0x39005FD4: mov esi, dword ptr [edi + 4] */ 10436 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005FD7: cmp ecx, dword ptr [esi + 4] */ 10437 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 10438 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10439 _flag_k = FK_CMP; 10440 if (CMP_NE(_flag_a, _flag_b)) goto L_39005FE1; /* 0x39005FDA: jne 0x39005fe1 */ 10441 L_39005FDC: 10442 MEM32(esi + 0x4) = edx; /* 0x39005FDC: mov dword ptr [esi + 4], edx */ 10443 goto L_39005FF0; /* 0x39005FDF: jmp 0x39005ff0 */ 10444 L_39005FE1: 10445 esi = MEM32(ecx + 0x4); /* 0x39005FE1: mov esi, dword ptr [ecx + 4] */ 10446 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39005FE4: cmp ecx, dword ptr [esi + 8] */ 10447 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10448 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10449 _flag_k = FK_CMP; 10450 if (CMP_NE(_flag_a, _flag_b)) goto L_39005FEE; /* 0x39005FE7: jne 0x39005fee */ 10451 L_39005FE9: 10452 MEM32(esi + 0x8) = edx; /* 0x39005FE9: mov dword ptr [esi + 8], edx */ 10453 goto L_39005FF0; /* 0x39005FEC: jmp 0x39005ff0 */ 10454 L_39005FEE: 10455 MEM32(esi) = edx; /* 0x39005FEE: mov dword ptr [esi], edx */ 10456 L_39005FF0: 10457 MEM32(edx + 0x8) = ecx; /* 0x39005FF0: mov dword ptr [edx + 8], ecx */ 10458 MEM32(ecx + 0x4) = edx; /* 0x39005FF3: mov dword ptr [ecx + 4], edx */ 10459 edx = MEM32(eax + 0x4); /* 0x39005FF6: mov edx, dword ptr [eax + 4] */ 10460 ecx = MEM32(edx); /* 0x39005FF9: mov ecx, dword ptr [edx] */ 10461 L_39005FFB: 10462 edx = MEM32(ecx + 0x8); /* 0x39005FFB: mov edx, dword ptr [ecx + 8] */ 10463 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005FFE: cmp byte ptr [edx + 0x2c], bl */ 10464 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10465 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10466 _flag_k = FK_NARROW(FK_CMP, 24); 10467 if (CMP_NE(_flag_a, _flag_b)) goto L_390060D7; /* 0x39006001: jne 0x390060d7 */ 10468 L_39006007: 10469 edx = MEM32(ecx); /* 0x39006007: mov edx, dword ptr [ecx] */ 10470 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39006009: cmp byte ptr [edx + 0x2c], bl */ 10471 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10472 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10473 _flag_k = FK_NARROW(FK_CMP, 24); 10474 if (CMP_NE(_flag_a, _flag_b)) goto L_390060D7; /* 0x3900600C: jne 0x390060d7 */ 10475 L_39006012: 10476 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006012: mov byte ptr [ecx + 0x2c], 0 */ 10477 ecx = MEM32(edi + 0x4); /* 0x39006016: mov ecx, dword ptr [edi + 4] */ 10478 eax = MEM32(eax + 0x4); /* 0x39006019: mov eax, dword ptr [eax + 4] */ 10479 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900601C: cmp eax, dword ptr [ecx + 4] */ 10480 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 10481 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10482 _flag_k = FK_CMP; 10483 RECOMP_BACKEDGE(); 10484 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F28; /* 0x3900601F: jne 0x39005f28 */ 10485 L_39006025: 10486 goto L_39006176; /* 0x39006025: jmp 0x39006176 */ 10487 L_3900602A: 10488 edx = MEM32(ecx + 0x8); /* 0x3900602A: mov edx, dword ptr [ecx + 8] */ 10489 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x3900602D: cmp byte ptr [edx + 0x2c], bl */ 10490 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10491 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10492 _flag_k = FK_NARROW(FK_CMP, 24); 10493 if (CMP_NE(_flag_a, _flag_b)) goto L_3900607B; /* 0x39006030: jne 0x3900607b */ 10494 L_39006032: 10495 edx = MEM32(ecx); /* 0x39006032: mov edx, dword ptr [ecx] */ 10496 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006034: mov byte ptr [edx + 0x2c], bl */ 10497 edx = MEM32(ecx); /* 0x39006037: mov edx, dword ptr [ecx] */ 10498 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006039: mov byte ptr [ecx + 0x2c], 0 */ 10499 esi = MEM32(edx + 0x8); /* 0x3900603D: mov esi, dword ptr [edx + 8] */ 10500 MEM32(ecx) = esi; /* 0x39006040: mov dword ptr [ecx], esi */ 10501 esi = MEM32(edx + 0x8); /* 0x39006042: mov esi, dword ptr [edx + 8] */ 10502 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006045: cmp esi, dword ptr [edi + 8] */ 10503 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10504 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10505 _flag_k = FK_CMP; 10506 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900604D; /* 0x39006048: je 0x3900604d */ 10507 L_3900604A: 10508 MEM32(esi + 0x4) = ecx; /* 0x3900604A: mov dword ptr [esi + 4], ecx */ 10509 L_3900604D: 10510 esi = MEM32(ecx + 0x4); /* 0x3900604D: mov esi, dword ptr [ecx + 4] */ 10511 MEM32(edx + 0x4) = esi; /* 0x39006050: mov dword ptr [edx + 4], esi */ 10512 esi = MEM32(edi + 0x4); /* 0x39006053: mov esi, dword ptr [edi + 4] */ 10513 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006056: cmp ecx, dword ptr [esi + 4] */ 10514 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 10515 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10516 _flag_k = FK_CMP; 10517 if (CMP_NE(_flag_a, _flag_b)) goto L_39006060; /* 0x39006059: jne 0x39006060 */ 10518 L_3900605B: 10519 MEM32(esi + 0x4) = edx; /* 0x3900605B: mov dword ptr [esi + 4], edx */ 10520 goto L_3900606F; /* 0x3900605E: jmp 0x3900606f */ 10521 L_39006060: 10522 esi = MEM32(ecx + 0x4); /* 0x39006060: mov esi, dword ptr [ecx + 4] */ 10523 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39006063: cmp ecx, dword ptr [esi + 8] */ 10524 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10525 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10526 _flag_k = FK_CMP; 10527 if (CMP_NE(_flag_a, _flag_b)) goto L_3900606D; /* 0x39006066: jne 0x3900606d */ 10528 L_39006068: 10529 MEM32(esi + 0x8) = edx; /* 0x39006068: mov dword ptr [esi + 8], edx */ 10530 goto L_3900606F; /* 0x3900606B: jmp 0x3900606f */ 10531 L_3900606D: 10532 MEM32(esi) = edx; /* 0x3900606D: mov dword ptr [esi], edx */ 10533 L_3900606F: 10534 MEM32(edx + 0x8) = ecx; /* 0x3900606F: mov dword ptr [edx + 8], ecx */ 10535 MEM32(ecx + 0x4) = edx; /* 0x39006072: mov dword ptr [ecx + 4], edx */ 10536 ecx = MEM32(eax + 0x4); /* 0x39006075: mov ecx, dword ptr [eax + 4] */ 10537 ecx = MEM32(ecx + 0x8); /* 0x39006078: mov ecx, dword ptr [ecx + 8] */ 10538 L_3900607B: 10539 edx = MEM32(eax + 0x4); /* 0x3900607B: mov edx, dword ptr [eax + 4] */ 10540 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x3900607E: mov dl, byte ptr [edx + 0x2c] */ 10541 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39006081: mov byte ptr [ecx + 0x2c], dl */ 10542 edx = MEM32(eax + 0x4); /* 0x39006084: mov edx, dword ptr [eax + 4] */ 10543 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006087: mov byte ptr [edx + 0x2c], bl */ 10544 ecx = MEM32(ecx + 0x8); /* 0x3900608A: mov ecx, dword ptr [ecx + 8] */ 10545 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x3900608D: mov byte ptr [ecx + 0x2c], bl */ 10546 ecx = MEM32(eax + 0x4); /* 0x39006090: mov ecx, dword ptr [eax + 4] */ 10547 edx = MEM32(ecx + 0x8); /* 0x39006093: mov edx, dword ptr [ecx + 8] */ 10548 esi = MEM32(edx); /* 0x39006096: mov esi, dword ptr [edx] */ 10549 MEM32(ecx + 0x8) = esi; /* 0x39006098: mov dword ptr [ecx + 8], esi */ 10550 esi = MEM32(edx); /* 0x3900609B: mov esi, dword ptr [edx] */ 10551 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3900609D: cmp esi, dword ptr [edi + 8] */ 10552 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10553 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10554 _flag_k = FK_CMP; 10555 if (CMP_EQ(_flag_a, _flag_b)) goto L_390060A5; /* 0x390060A0: je 0x390060a5 */ 10556 L_390060A2: 10557 MEM32(esi + 0x4) = ecx; /* 0x390060A2: mov dword ptr [esi + 4], ecx */ 10558 L_390060A5: 10559 esi = MEM32(ecx + 0x4); /* 0x390060A5: mov esi, dword ptr [ecx + 4] */ 10560 MEM32(edx + 0x4) = esi; /* 0x390060A8: mov dword ptr [edx + 4], esi */ 10561 esi = MEM32(edi + 0x4); /* 0x390060AB: mov esi, dword ptr [edi + 4] */ 10562 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390060AE: cmp ecx, dword ptr [esi + 4] */ 10563 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 10564 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10565 _flag_k = FK_CMP; 10566 if (CMP_NE(_flag_a, _flag_b)) goto L_390060BD; /* 0x390060B1: jne 0x390060bd */ 10567 L_390060B3: 10568 MEM32(esi + 0x4) = edx; /* 0x390060B3: mov dword ptr [esi + 4], edx */ 10569 MEM32(edx) = ecx; /* 0x390060B6: mov dword ptr [edx], ecx */ 10570 goto L_39006173; /* 0x390060B8: jmp 0x39006173 */ 10571 L_390060BD: 10572 esi = MEM32(ecx + 0x4); /* 0x390060BD: mov esi, dword ptr [ecx + 4] */ 10573 /* cmp ecx, MEM32(esi) */ /* 0x390060C0: cmp ecx, dword ptr [esi] */ 10574 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 10575 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10576 _flag_k = FK_CMP; 10577 if (CMP_NE(_flag_a, _flag_b)) goto L_390060CD; /* 0x390060C2: jne 0x390060cd */ 10578 L_390060C4: 10579 MEM32(esi) = edx; /* 0x390060C4: mov dword ptr [esi], edx */ 10580 MEM32(edx) = ecx; /* 0x390060C6: mov dword ptr [edx], ecx */ 10581 goto L_39006173; /* 0x390060C8: jmp 0x39006173 */ 10582 L_390060CD: 10583 MEM32(esi + 0x8) = edx; /* 0x390060CD: mov dword ptr [esi + 8], edx */ 10584 MEM32(edx) = ecx; /* 0x390060D0: mov dword ptr [edx], ecx */ 10585 goto L_39006173; /* 0x390060D2: jmp 0x39006173 */ 10586 L_390060D7: 10587 edx = MEM32(ecx); /* 0x390060D7: mov edx, dword ptr [ecx] */ 10588 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390060D9: cmp byte ptr [edx + 0x2c], bl */ 10589 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10590 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10591 _flag_k = FK_NARROW(FK_CMP, 24); 10592 if (CMP_NE(_flag_a, _flag_b)) goto L_39006125; /* 0x390060DC: jne 0x39006125 */ 10593 L_390060DE: 10594 edx = MEM32(ecx + 0x8); /* 0x390060DE: mov edx, dword ptr [ecx + 8] */ 10595 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x390060E1: mov byte ptr [edx + 0x2c], bl */ 10596 edx = MEM32(ecx + 0x8); /* 0x390060E4: mov edx, dword ptr [ecx + 8] */ 10597 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x390060E7: mov byte ptr [ecx + 0x2c], 0 */ 10598 esi = MEM32(edx); /* 0x390060EB: mov esi, dword ptr [edx] */ 10599 MEM32(ecx + 0x8) = esi; /* 0x390060ED: mov dword ptr [ecx + 8], esi */ 10600 esi = MEM32(edx); /* 0x390060F0: mov esi, dword ptr [edx] */ 10601 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390060F2: cmp esi, dword ptr [edi + 8] */ 10602 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10603 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10604 _flag_k = FK_CMP; 10605 if (CMP_EQ(_flag_a, _flag_b)) goto L_390060FA; /* 0x390060F5: je 0x390060fa */ 10606 L_390060F7: 10607 MEM32(esi + 0x4) = ecx; /* 0x390060F7: mov dword ptr [esi + 4], ecx */ 10608 L_390060FA: 10609 esi = MEM32(ecx + 0x4); /* 0x390060FA: mov esi, dword ptr [ecx + 4] */ 10610 MEM32(edx + 0x4) = esi; /* 0x390060FD: mov dword ptr [edx + 4], esi */ 10611 esi = MEM32(edi + 0x4); /* 0x39006100: mov esi, dword ptr [edi + 4] */ 10612 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006103: cmp ecx, dword ptr [esi + 4] */ 10613 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 10614 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10615 _flag_k = FK_CMP; 10616 if (CMP_NE(_flag_a, _flag_b)) goto L_3900610D; /* 0x39006106: jne 0x3900610d */ 10617 L_39006108: 10618 MEM32(esi + 0x4) = edx; /* 0x39006108: mov dword ptr [esi + 4], edx */ 10619 goto L_3900611B; /* 0x3900610B: jmp 0x3900611b */ 10620 L_3900610D: 10621 esi = MEM32(ecx + 0x4); /* 0x3900610D: mov esi, dword ptr [ecx + 4] */ 10622 /* cmp ecx, MEM32(esi) */ /* 0x39006110: cmp ecx, dword ptr [esi] */ 10623 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 10624 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10625 _flag_k = FK_CMP; 10626 if (CMP_NE(_flag_a, _flag_b)) goto L_39006118; /* 0x39006112: jne 0x39006118 */ 10627 L_39006114: 10628 MEM32(esi) = edx; /* 0x39006114: mov dword ptr [esi], edx */ 10629 goto L_3900611B; /* 0x39006116: jmp 0x3900611b */ 10630 L_39006118: 10631 MEM32(esi + 0x8) = edx; /* 0x39006118: mov dword ptr [esi + 8], edx */ 10632 L_3900611B: 10633 MEM32(edx) = ecx; /* 0x3900611B: mov dword ptr [edx], ecx */ 10634 MEM32(ecx + 0x4) = edx; /* 0x3900611D: mov dword ptr [ecx + 4], edx */ 10635 ecx = MEM32(eax + 0x4); /* 0x39006120: mov ecx, dword ptr [eax + 4] */ 10636 ecx = MEM32(ecx); /* 0x39006123: mov ecx, dword ptr [ecx] */ 10637 L_39006125: 10638 edx = MEM32(eax + 0x4); /* 0x39006125: mov edx, dword ptr [eax + 4] */ 10639 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x39006128: mov dl, byte ptr [edx + 0x2c] */ 10640 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x3900612B: mov byte ptr [ecx + 0x2c], dl */ 10641 edx = MEM32(eax + 0x4); /* 0x3900612E: mov edx, dword ptr [eax + 4] */ 10642 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006131: mov byte ptr [edx + 0x2c], bl */ 10643 ecx = MEM32(ecx); /* 0x39006134: mov ecx, dword ptr [ecx] */ 10644 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006136: mov byte ptr [ecx + 0x2c], bl */ 10645 ecx = MEM32(eax + 0x4); /* 0x39006139: mov ecx, dword ptr [eax + 4] */ 10646 edx = MEM32(ecx); /* 0x3900613C: mov edx, dword ptr [ecx] */ 10647 esi = MEM32(edx + 0x8); /* 0x3900613E: mov esi, dword ptr [edx + 8] */ 10648 MEM32(ecx) = esi; /* 0x39006141: mov dword ptr [ecx], esi */ 10649 esi = MEM32(edx + 0x8); /* 0x39006143: mov esi, dword ptr [edx + 8] */ 10650 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006146: cmp esi, dword ptr [edi + 8] */ 10651 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10652 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10653 _flag_k = FK_CMP; 10654 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900614E; /* 0x39006149: je 0x3900614e */ 10655 L_3900614B: 10656 MEM32(esi + 0x4) = ecx; /* 0x3900614B: mov dword ptr [esi + 4], ecx */ 10657 L_3900614E: 10658 esi = MEM32(ecx + 0x4); /* 0x3900614E: mov esi, dword ptr [ecx + 4] */ 10659 MEM32(edx + 0x4) = esi; /* 0x39006151: mov dword ptr [edx + 4], esi */ 10660 esi = MEM32(edi + 0x4); /* 0x39006154: mov esi, dword ptr [edi + 4] */ 10661 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006157: cmp ecx, dword ptr [esi + 4] */ 10662 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 10663 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10664 _flag_k = FK_CMP; 10665 if (CMP_NE(_flag_a, _flag_b)) goto L_39006161; /* 0x3900615A: jne 0x39006161 */ 10666 L_3900615C: 10667 MEM32(esi + 0x4) = edx; /* 0x3900615C: mov dword ptr [esi + 4], edx */ 10668 goto L_39006170; /* 0x3900615F: jmp 0x39006170 */ 10669 L_39006161: 10670 esi = MEM32(ecx + 0x4); /* 0x39006161: mov esi, dword ptr [ecx + 4] */ 10671 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39006164: cmp ecx, dword ptr [esi + 8] */ 10672 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10673 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10674 _flag_k = FK_CMP; 10675 if (CMP_NE(_flag_a, _flag_b)) goto L_3900616E; /* 0x39006167: jne 0x3900616e */ 10676 L_39006169: 10677 MEM32(esi + 0x8) = edx; /* 0x39006169: mov dword ptr [esi + 8], edx */ 10678 goto L_39006170; /* 0x3900616C: jmp 0x39006170 */ 10679 L_3900616E: 10680 MEM32(esi) = edx; /* 0x3900616E: mov dword ptr [esi], edx */ 10681 L_39006170: 10682 MEM32(edx + 0x8) = ecx; /* 0x39006170: mov dword ptr [edx + 8], ecx */ 10683 L_39006173: 10684 MEM32(ecx + 0x4) = edx; /* 0x39006173: mov dword ptr [ecx + 4], edx */ 10685 L_39006176: 10686 esi = MEM32(ebp + (-0x4)); /* 0x39006176: mov esi, dword ptr [ebp - 4] */ 10687 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006179: mov byte ptr [eax + 0x2c], bl */ 10688 ecx = esi + 0xC; /* 0x3900617C: lea ecx, [esi + 0xc] */ 10689 RECOMP_ICALL(0x39004790u); /* 0x3900617F: call 0x39004790 */ /* not lifted */ 10690 RECOMP_FLAGS_IN(); 10691 PUSH32(esp, esi); /* 0x39006184: push esi */ 10692 RECOMP_ICALL(0x3900A0A0u); /* 0x39006185: call 0x3900a0a0 */ /* not lifted */ 10693 RECOMP_FLAGS_IN(); 10694 eax = MEM32(edi + 0x10); /* 0x3900618A: mov eax, dword ptr [edi + 0x10] */ 10695 edx = MEM32(ebp + 0xC); /* 0x3900618D: mov edx, dword ptr [ebp + 0xc] */ 10696 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10697 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10698 esp = esp + 4; /* 0x39006190: add esp, 4 */ 10699 _flag_k = FK_ADD; 10700 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 10701 eax = eax - 1; /* 0x39006193: dec eax */ 10702 _flag_k = FK_DEC; 10703 MEM32(edi + 0x10) = eax; /* 0x39006194: mov dword ptr [edi + 0x10], eax */ 10704 eax = MEM32(ebp + 0x8); /* 0x39006197: mov eax, dword ptr [ebp + 8] */ 10705 edi = POP32_VAL(esp); /* 0x3900619A: pop edi */ 10706 esi = POP32_VAL(esp); /* 0x3900619B: pop esi */ 10707 MEM32(eax) = edx; /* 0x3900619C: mov dword ptr [eax], edx */ 10708 ebx = POP32_VAL(esp); /* 0x3900619E: pop ebx */ 10709 esp = ebp; /* 0x3900619F: mov esp, ebp */ 10710 ebp = POP32_VAL(esp); /* 0x390061A1: pop ebp */ 10711 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x390061A2: ret 8 */ 10712 RECOMP_REGS_OUT(); 10713 } 10714 10715 void sub_39005F8F(void) { 10716 int _fpu_cmp = 0; 10717 uint32_t _cf = 0; 10718 int _df = 1; 10719 uint32_t _flag_k = FK_NONE; 10720 uint32_t _flag_a = 0, _flag_b = 0; 10721 uint32_t _itail_tgt = 0; 10722 RECOMP_REGS_LOCALS 10723 RECOMP_ENTER(0x39005F8Fu); 10724 10725 goto L_39005F8F; 10726 L_39005F28: 10727 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x39005F28: cmp byte ptr [eax + 0x2c], bl */ 10728 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10729 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10730 _flag_k = FK_NARROW(FK_CMP, 24); 10731 if (CMP_NE(_flag_a, _flag_b)) goto L_39006176; /* 0x39005F2B: jne 0x39006176 */ 10732 L_39005F31: 10733 edx = MEM32(eax + 0x4); /* 0x39005F31: mov edx, dword ptr [eax + 4] */ 10734 ecx = MEM32(edx); /* 0x39005F34: mov ecx, dword ptr [edx] */ 10735 /* cmp eax, ecx */ /* 0x39005F36: cmp eax, ecx */ 10736 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10737 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10738 _flag_k = FK_CMP; 10739 if (CMP_NE(_flag_a, _flag_b)) goto L_39005FA8; /* 0x39005F38: jne 0x39005fa8 */ 10740 L_39005F3A: 10741 ecx = MEM32(edx + 0x8); /* 0x39005F3A: mov ecx, dword ptr [edx + 8] */ 10742 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39005F3D: mov dl, byte ptr [ecx + 0x2c] */ 10743 /* test LO8(edx), LO8(edx) */ /* 0x39005F40: test dl, dl */ 10744 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 10745 _cf = 0; 10746 _flag_k = FK_NARROW(FK_TEST, 24); 10747 if (TEST_NZ(_flag_a, _flag_b)) goto L_39005F8F; /* 0x39005F42: jne 0x39005f8f */ 10748 L_39005F44: 10749 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005F44: mov byte ptr [ecx + 0x2c], bl */ 10750 edx = MEM32(eax + 0x4); /* 0x39005F47: mov edx, dword ptr [eax + 4] */ 10751 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x39005F4A: mov byte ptr [edx + 0x2c], 0 */ 10752 ecx = MEM32(eax + 0x4); /* 0x39005F4E: mov ecx, dword ptr [eax + 4] */ 10753 edx = MEM32(ecx + 0x8); /* 0x39005F51: mov edx, dword ptr [ecx + 8] */ 10754 esi = MEM32(edx); /* 0x39005F54: mov esi, dword ptr [edx] */ 10755 MEM32(ecx + 0x8) = esi; /* 0x39005F56: mov dword ptr [ecx + 8], esi */ 10756 esi = MEM32(edx); /* 0x39005F59: mov esi, dword ptr [edx] */ 10757 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005F5B: cmp esi, dword ptr [edi + 8] */ 10758 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10759 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10760 _flag_k = FK_CMP; 10761 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005F63; /* 0x39005F5E: je 0x39005f63 */ 10762 L_39005F60: 10763 MEM32(esi + 0x4) = ecx; /* 0x39005F60: mov dword ptr [esi + 4], ecx */ 10764 L_39005F63: 10765 esi = MEM32(ecx + 0x4); /* 0x39005F63: mov esi, dword ptr [ecx + 4] */ 10766 MEM32(edx + 0x4) = esi; /* 0x39005F66: mov dword ptr [edx + 4], esi */ 10767 esi = MEM32(edi + 0x4); /* 0x39005F69: mov esi, dword ptr [edi + 4] */ 10768 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005F6C: cmp ecx, dword ptr [esi + 4] */ 10769 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 10770 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10771 _flag_k = FK_CMP; 10772 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F76; /* 0x39005F6F: jne 0x39005f76 */ 10773 L_39005F71: 10774 MEM32(esi + 0x4) = edx; /* 0x39005F71: mov dword ptr [esi + 4], edx */ 10775 goto L_39005F84; /* 0x39005F74: jmp 0x39005f84 */ 10776 L_39005F76: 10777 esi = MEM32(ecx + 0x4); /* 0x39005F76: mov esi, dword ptr [ecx + 4] */ 10778 /* cmp ecx, MEM32(esi) */ /* 0x39005F79: cmp ecx, dword ptr [esi] */ 10779 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 10780 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10781 _flag_k = FK_CMP; 10782 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F81; /* 0x39005F7B: jne 0x39005f81 */ 10783 L_39005F7D: 10784 MEM32(esi) = edx; /* 0x39005F7D: mov dword ptr [esi], edx */ 10785 goto L_39005F84; /* 0x39005F7F: jmp 0x39005f84 */ 10786 L_39005F81: 10787 MEM32(esi + 0x8) = edx; /* 0x39005F81: mov dword ptr [esi + 8], edx */ 10788 L_39005F84: 10789 MEM32(edx) = ecx; /* 0x39005F84: mov dword ptr [edx], ecx */ 10790 MEM32(ecx + 0x4) = edx; /* 0x39005F86: mov dword ptr [ecx + 4], edx */ 10791 ecx = MEM32(eax + 0x4); /* 0x39005F89: mov ecx, dword ptr [eax + 4] */ 10792 ecx = MEM32(ecx + 0x8); /* 0x39005F8C: mov ecx, dword ptr [ecx + 8] */ 10793 L_39005F8F: 10794 edx = MEM32(ecx); /* 0x39005F8F: mov edx, dword ptr [ecx] */ 10795 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005F91: cmp byte ptr [edx + 0x2c], bl */ 10796 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10797 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10798 _flag_k = FK_NARROW(FK_CMP, 24); 10799 if (CMP_NE(_flag_a, _flag_b)) goto L_3900602A; /* 0x39005F94: jne 0x3900602a */ 10800 L_39005F9A: 10801 edx = MEM32(ecx + 0x8); /* 0x39005F9A: mov edx, dword ptr [ecx + 8] */ 10802 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005F9D: cmp byte ptr [edx + 0x2c], bl */ 10803 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10804 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10805 _flag_k = FK_NARROW(FK_CMP, 24); 10806 if (CMP_NE(_flag_a, _flag_b)) goto L_3900602A; /* 0x39005FA0: jne 0x3900602a */ 10807 L_39005FA6: 10808 goto L_39006012; /* 0x39005FA6: jmp 0x39006012 */ 10809 L_39005FA8: 10810 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39005FA8: mov dl, byte ptr [ecx + 0x2c] */ 10811 /* test LO8(edx), LO8(edx) */ /* 0x39005FAB: test dl, dl */ 10812 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 10813 _cf = 0; 10814 _flag_k = FK_NARROW(FK_TEST, 24); 10815 if (TEST_NZ(_flag_a, _flag_b)) goto L_39005FFB; /* 0x39005FAD: jne 0x39005ffb */ 10816 L_39005FAF: 10817 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005FAF: mov byte ptr [ecx + 0x2c], bl */ 10818 ecx = MEM32(eax + 0x4); /* 0x39005FB2: mov ecx, dword ptr [eax + 4] */ 10819 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39005FB5: mov byte ptr [ecx + 0x2c], 0 */ 10820 ecx = MEM32(eax + 0x4); /* 0x39005FB9: mov ecx, dword ptr [eax + 4] */ 10821 edx = MEM32(ecx); /* 0x39005FBC: mov edx, dword ptr [ecx] */ 10822 esi = MEM32(edx + 0x8); /* 0x39005FBE: mov esi, dword ptr [edx + 8] */ 10823 MEM32(ecx) = esi; /* 0x39005FC1: mov dword ptr [ecx], esi */ 10824 esi = MEM32(edx + 0x8); /* 0x39005FC3: mov esi, dword ptr [edx + 8] */ 10825 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005FC6: cmp esi, dword ptr [edi + 8] */ 10826 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10827 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10828 _flag_k = FK_CMP; 10829 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005FCE; /* 0x39005FC9: je 0x39005fce */ 10830 L_39005FCB: 10831 MEM32(esi + 0x4) = ecx; /* 0x39005FCB: mov dword ptr [esi + 4], ecx */ 10832 L_39005FCE: 10833 esi = MEM32(ecx + 0x4); /* 0x39005FCE: mov esi, dword ptr [ecx + 4] */ 10834 MEM32(edx + 0x4) = esi; /* 0x39005FD1: mov dword ptr [edx + 4], esi */ 10835 esi = MEM32(edi + 0x4); /* 0x39005FD4: mov esi, dword ptr [edi + 4] */ 10836 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005FD7: cmp ecx, dword ptr [esi + 4] */ 10837 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 10838 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10839 _flag_k = FK_CMP; 10840 if (CMP_NE(_flag_a, _flag_b)) goto L_39005FE1; /* 0x39005FDA: jne 0x39005fe1 */ 10841 L_39005FDC: 10842 MEM32(esi + 0x4) = edx; /* 0x39005FDC: mov dword ptr [esi + 4], edx */ 10843 goto L_39005FF0; /* 0x39005FDF: jmp 0x39005ff0 */ 10844 L_39005FE1: 10845 esi = MEM32(ecx + 0x4); /* 0x39005FE1: mov esi, dword ptr [ecx + 4] */ 10846 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39005FE4: cmp ecx, dword ptr [esi + 8] */ 10847 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10848 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10849 _flag_k = FK_CMP; 10850 if (CMP_NE(_flag_a, _flag_b)) goto L_39005FEE; /* 0x39005FE7: jne 0x39005fee */ 10851 L_39005FE9: 10852 MEM32(esi + 0x8) = edx; /* 0x39005FE9: mov dword ptr [esi + 8], edx */ 10853 goto L_39005FF0; /* 0x39005FEC: jmp 0x39005ff0 */ 10854 L_39005FEE: 10855 MEM32(esi) = edx; /* 0x39005FEE: mov dword ptr [esi], edx */ 10856 L_39005FF0: 10857 MEM32(edx + 0x8) = ecx; /* 0x39005FF0: mov dword ptr [edx + 8], ecx */ 10858 MEM32(ecx + 0x4) = edx; /* 0x39005FF3: mov dword ptr [ecx + 4], edx */ 10859 edx = MEM32(eax + 0x4); /* 0x39005FF6: mov edx, dword ptr [eax + 4] */ 10860 ecx = MEM32(edx); /* 0x39005FF9: mov ecx, dword ptr [edx] */ 10861 L_39005FFB: 10862 edx = MEM32(ecx + 0x8); /* 0x39005FFB: mov edx, dword ptr [ecx + 8] */ 10863 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005FFE: cmp byte ptr [edx + 0x2c], bl */ 10864 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10865 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10866 _flag_k = FK_NARROW(FK_CMP, 24); 10867 if (CMP_NE(_flag_a, _flag_b)) goto L_390060D7; /* 0x39006001: jne 0x390060d7 */ 10868 L_39006007: 10869 edx = MEM32(ecx); /* 0x39006007: mov edx, dword ptr [ecx] */ 10870 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39006009: cmp byte ptr [edx + 0x2c], bl */ 10871 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10872 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10873 _flag_k = FK_NARROW(FK_CMP, 24); 10874 if (CMP_NE(_flag_a, _flag_b)) goto L_390060D7; /* 0x3900600C: jne 0x390060d7 */ 10875 L_39006012: 10876 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006012: mov byte ptr [ecx + 0x2c], 0 */ 10877 ecx = MEM32(edi + 0x4); /* 0x39006016: mov ecx, dword ptr [edi + 4] */ 10878 eax = MEM32(eax + 0x4); /* 0x39006019: mov eax, dword ptr [eax + 4] */ 10879 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900601C: cmp eax, dword ptr [ecx + 4] */ 10880 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 10881 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10882 _flag_k = FK_CMP; 10883 RECOMP_BACKEDGE(); 10884 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F28; /* 0x3900601F: jne 0x39005f28 */ 10885 L_39006025: 10886 goto L_39006176; /* 0x39006025: jmp 0x39006176 */ 10887 L_3900602A: 10888 edx = MEM32(ecx + 0x8); /* 0x3900602A: mov edx, dword ptr [ecx + 8] */ 10889 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x3900602D: cmp byte ptr [edx + 0x2c], bl */ 10890 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10891 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10892 _flag_k = FK_NARROW(FK_CMP, 24); 10893 if (CMP_NE(_flag_a, _flag_b)) goto L_3900607B; /* 0x39006030: jne 0x3900607b */ 10894 L_39006032: 10895 edx = MEM32(ecx); /* 0x39006032: mov edx, dword ptr [ecx] */ 10896 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006034: mov byte ptr [edx + 0x2c], bl */ 10897 edx = MEM32(ecx); /* 0x39006037: mov edx, dword ptr [ecx] */ 10898 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006039: mov byte ptr [ecx + 0x2c], 0 */ 10899 esi = MEM32(edx + 0x8); /* 0x3900603D: mov esi, dword ptr [edx + 8] */ 10900 MEM32(ecx) = esi; /* 0x39006040: mov dword ptr [ecx], esi */ 10901 esi = MEM32(edx + 0x8); /* 0x39006042: mov esi, dword ptr [edx + 8] */ 10902 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006045: cmp esi, dword ptr [edi + 8] */ 10903 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10904 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10905 _flag_k = FK_CMP; 10906 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900604D; /* 0x39006048: je 0x3900604d */ 10907 L_3900604A: 10908 MEM32(esi + 0x4) = ecx; /* 0x3900604A: mov dword ptr [esi + 4], ecx */ 10909 L_3900604D: 10910 esi = MEM32(ecx + 0x4); /* 0x3900604D: mov esi, dword ptr [ecx + 4] */ 10911 MEM32(edx + 0x4) = esi; /* 0x39006050: mov dword ptr [edx + 4], esi */ 10912 esi = MEM32(edi + 0x4); /* 0x39006053: mov esi, dword ptr [edi + 4] */ 10913 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006056: cmp ecx, dword ptr [esi + 4] */ 10914 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 10915 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10916 _flag_k = FK_CMP; 10917 if (CMP_NE(_flag_a, _flag_b)) goto L_39006060; /* 0x39006059: jne 0x39006060 */ 10918 L_3900605B: 10919 MEM32(esi + 0x4) = edx; /* 0x3900605B: mov dword ptr [esi + 4], edx */ 10920 goto L_3900606F; /* 0x3900605E: jmp 0x3900606f */ 10921 L_39006060: 10922 esi = MEM32(ecx + 0x4); /* 0x39006060: mov esi, dword ptr [ecx + 4] */ 10923 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39006063: cmp ecx, dword ptr [esi + 8] */ 10924 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10925 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10926 _flag_k = FK_CMP; 10927 if (CMP_NE(_flag_a, _flag_b)) goto L_3900606D; /* 0x39006066: jne 0x3900606d */ 10928 L_39006068: 10929 MEM32(esi + 0x8) = edx; /* 0x39006068: mov dword ptr [esi + 8], edx */ 10930 goto L_3900606F; /* 0x3900606B: jmp 0x3900606f */ 10931 L_3900606D: 10932 MEM32(esi) = edx; /* 0x3900606D: mov dword ptr [esi], edx */ 10933 L_3900606F: 10934 MEM32(edx + 0x8) = ecx; /* 0x3900606F: mov dword ptr [edx + 8], ecx */ 10935 MEM32(ecx + 0x4) = edx; /* 0x39006072: mov dword ptr [ecx + 4], edx */ 10936 ecx = MEM32(eax + 0x4); /* 0x39006075: mov ecx, dword ptr [eax + 4] */ 10937 ecx = MEM32(ecx + 0x8); /* 0x39006078: mov ecx, dword ptr [ecx + 8] */ 10938 L_3900607B: 10939 edx = MEM32(eax + 0x4); /* 0x3900607B: mov edx, dword ptr [eax + 4] */ 10940 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x3900607E: mov dl, byte ptr [edx + 0x2c] */ 10941 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39006081: mov byte ptr [ecx + 0x2c], dl */ 10942 edx = MEM32(eax + 0x4); /* 0x39006084: mov edx, dword ptr [eax + 4] */ 10943 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006087: mov byte ptr [edx + 0x2c], bl */ 10944 ecx = MEM32(ecx + 0x8); /* 0x3900608A: mov ecx, dword ptr [ecx + 8] */ 10945 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x3900608D: mov byte ptr [ecx + 0x2c], bl */ 10946 ecx = MEM32(eax + 0x4); /* 0x39006090: mov ecx, dword ptr [eax + 4] */ 10947 edx = MEM32(ecx + 0x8); /* 0x39006093: mov edx, dword ptr [ecx + 8] */ 10948 esi = MEM32(edx); /* 0x39006096: mov esi, dword ptr [edx] */ 10949 MEM32(ecx + 0x8) = esi; /* 0x39006098: mov dword ptr [ecx + 8], esi */ 10950 esi = MEM32(edx); /* 0x3900609B: mov esi, dword ptr [edx] */ 10951 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3900609D: cmp esi, dword ptr [edi + 8] */ 10952 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10953 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10954 _flag_k = FK_CMP; 10955 if (CMP_EQ(_flag_a, _flag_b)) goto L_390060A5; /* 0x390060A0: je 0x390060a5 */ 10956 L_390060A2: 10957 MEM32(esi + 0x4) = ecx; /* 0x390060A2: mov dword ptr [esi + 4], ecx */ 10958 L_390060A5: 10959 esi = MEM32(ecx + 0x4); /* 0x390060A5: mov esi, dword ptr [ecx + 4] */ 10960 MEM32(edx + 0x4) = esi; /* 0x390060A8: mov dword ptr [edx + 4], esi */ 10961 esi = MEM32(edi + 0x4); /* 0x390060AB: mov esi, dword ptr [edi + 4] */ 10962 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390060AE: cmp ecx, dword ptr [esi + 4] */ 10963 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 10964 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10965 _flag_k = FK_CMP; 10966 if (CMP_NE(_flag_a, _flag_b)) goto L_390060BD; /* 0x390060B1: jne 0x390060bd */ 10967 L_390060B3: 10968 MEM32(esi + 0x4) = edx; /* 0x390060B3: mov dword ptr [esi + 4], edx */ 10969 MEM32(edx) = ecx; /* 0x390060B6: mov dword ptr [edx], ecx */ 10970 goto L_39006173; /* 0x390060B8: jmp 0x39006173 */ 10971 L_390060BD: 10972 esi = MEM32(ecx + 0x4); /* 0x390060BD: mov esi, dword ptr [ecx + 4] */ 10973 /* cmp ecx, MEM32(esi) */ /* 0x390060C0: cmp ecx, dword ptr [esi] */ 10974 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 10975 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10976 _flag_k = FK_CMP; 10977 if (CMP_NE(_flag_a, _flag_b)) goto L_390060CD; /* 0x390060C2: jne 0x390060cd */ 10978 L_390060C4: 10979 MEM32(esi) = edx; /* 0x390060C4: mov dword ptr [esi], edx */ 10980 MEM32(edx) = ecx; /* 0x390060C6: mov dword ptr [edx], ecx */ 10981 goto L_39006173; /* 0x390060C8: jmp 0x39006173 */ 10982 L_390060CD: 10983 MEM32(esi + 0x8) = edx; /* 0x390060CD: mov dword ptr [esi + 8], edx */ 10984 MEM32(edx) = ecx; /* 0x390060D0: mov dword ptr [edx], ecx */ 10985 goto L_39006173; /* 0x390060D2: jmp 0x39006173 */ 10986 L_390060D7: 10987 edx = MEM32(ecx); /* 0x390060D7: mov edx, dword ptr [ecx] */ 10988 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390060D9: cmp byte ptr [edx + 0x2c], bl */ 10989 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 10990 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10991 _flag_k = FK_NARROW(FK_CMP, 24); 10992 if (CMP_NE(_flag_a, _flag_b)) goto L_39006125; /* 0x390060DC: jne 0x39006125 */ 10993 L_390060DE: 10994 edx = MEM32(ecx + 0x8); /* 0x390060DE: mov edx, dword ptr [ecx + 8] */ 10995 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x390060E1: mov byte ptr [edx + 0x2c], bl */ 10996 edx = MEM32(ecx + 0x8); /* 0x390060E4: mov edx, dword ptr [ecx + 8] */ 10997 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x390060E7: mov byte ptr [ecx + 0x2c], 0 */ 10998 esi = MEM32(edx); /* 0x390060EB: mov esi, dword ptr [edx] */ 10999 MEM32(ecx + 0x8) = esi; /* 0x390060ED: mov dword ptr [ecx + 8], esi */ 11000 esi = MEM32(edx); /* 0x390060F0: mov esi, dword ptr [edx] */ 11001 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390060F2: cmp esi, dword ptr [edi + 8] */ 11002 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 11003 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11004 _flag_k = FK_CMP; 11005 if (CMP_EQ(_flag_a, _flag_b)) goto L_390060FA; /* 0x390060F5: je 0x390060fa */ 11006 L_390060F7: 11007 MEM32(esi + 0x4) = ecx; /* 0x390060F7: mov dword ptr [esi + 4], ecx */ 11008 L_390060FA: 11009 esi = MEM32(ecx + 0x4); /* 0x390060FA: mov esi, dword ptr [ecx + 4] */ 11010 MEM32(edx + 0x4) = esi; /* 0x390060FD: mov dword ptr [edx + 4], esi */ 11011 esi = MEM32(edi + 0x4); /* 0x39006100: mov esi, dword ptr [edi + 4] */ 11012 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006103: cmp ecx, dword ptr [esi + 4] */ 11013 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 11014 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11015 _flag_k = FK_CMP; 11016 if (CMP_NE(_flag_a, _flag_b)) goto L_3900610D; /* 0x39006106: jne 0x3900610d */ 11017 L_39006108: 11018 MEM32(esi + 0x4) = edx; /* 0x39006108: mov dword ptr [esi + 4], edx */ 11019 goto L_3900611B; /* 0x3900610B: jmp 0x3900611b */ 11020 L_3900610D: 11021 esi = MEM32(ecx + 0x4); /* 0x3900610D: mov esi, dword ptr [ecx + 4] */ 11022 /* cmp ecx, MEM32(esi) */ /* 0x39006110: cmp ecx, dword ptr [esi] */ 11023 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 11024 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11025 _flag_k = FK_CMP; 11026 if (CMP_NE(_flag_a, _flag_b)) goto L_39006118; /* 0x39006112: jne 0x39006118 */ 11027 L_39006114: 11028 MEM32(esi) = edx; /* 0x39006114: mov dword ptr [esi], edx */ 11029 goto L_3900611B; /* 0x39006116: jmp 0x3900611b */ 11030 L_39006118: 11031 MEM32(esi + 0x8) = edx; /* 0x39006118: mov dword ptr [esi + 8], edx */ 11032 L_3900611B: 11033 MEM32(edx) = ecx; /* 0x3900611B: mov dword ptr [edx], ecx */ 11034 MEM32(ecx + 0x4) = edx; /* 0x3900611D: mov dword ptr [ecx + 4], edx */ 11035 ecx = MEM32(eax + 0x4); /* 0x39006120: mov ecx, dword ptr [eax + 4] */ 11036 ecx = MEM32(ecx); /* 0x39006123: mov ecx, dword ptr [ecx] */ 11037 L_39006125: 11038 edx = MEM32(eax + 0x4); /* 0x39006125: mov edx, dword ptr [eax + 4] */ 11039 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x39006128: mov dl, byte ptr [edx + 0x2c] */ 11040 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x3900612B: mov byte ptr [ecx + 0x2c], dl */ 11041 edx = MEM32(eax + 0x4); /* 0x3900612E: mov edx, dword ptr [eax + 4] */ 11042 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006131: mov byte ptr [edx + 0x2c], bl */ 11043 ecx = MEM32(ecx); /* 0x39006134: mov ecx, dword ptr [ecx] */ 11044 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006136: mov byte ptr [ecx + 0x2c], bl */ 11045 ecx = MEM32(eax + 0x4); /* 0x39006139: mov ecx, dword ptr [eax + 4] */ 11046 edx = MEM32(ecx); /* 0x3900613C: mov edx, dword ptr [ecx] */ 11047 esi = MEM32(edx + 0x8); /* 0x3900613E: mov esi, dword ptr [edx + 8] */ 11048 MEM32(ecx) = esi; /* 0x39006141: mov dword ptr [ecx], esi */ 11049 esi = MEM32(edx + 0x8); /* 0x39006143: mov esi, dword ptr [edx + 8] */ 11050 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006146: cmp esi, dword ptr [edi + 8] */ 11051 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 11052 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11053 _flag_k = FK_CMP; 11054 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900614E; /* 0x39006149: je 0x3900614e */ 11055 L_3900614B: 11056 MEM32(esi + 0x4) = ecx; /* 0x3900614B: mov dword ptr [esi + 4], ecx */ 11057 L_3900614E: 11058 esi = MEM32(ecx + 0x4); /* 0x3900614E: mov esi, dword ptr [ecx + 4] */ 11059 MEM32(edx + 0x4) = esi; /* 0x39006151: mov dword ptr [edx + 4], esi */ 11060 esi = MEM32(edi + 0x4); /* 0x39006154: mov esi, dword ptr [edi + 4] */ 11061 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006157: cmp ecx, dword ptr [esi + 4] */ 11062 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 11063 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11064 _flag_k = FK_CMP; 11065 if (CMP_NE(_flag_a, _flag_b)) goto L_39006161; /* 0x3900615A: jne 0x39006161 */ 11066 L_3900615C: 11067 MEM32(esi + 0x4) = edx; /* 0x3900615C: mov dword ptr [esi + 4], edx */ 11068 goto L_39006170; /* 0x3900615F: jmp 0x39006170 */ 11069 L_39006161: 11070 esi = MEM32(ecx + 0x4); /* 0x39006161: mov esi, dword ptr [ecx + 4] */ 11071 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39006164: cmp ecx, dword ptr [esi + 8] */ 11072 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11073 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11074 _flag_k = FK_CMP; 11075 if (CMP_NE(_flag_a, _flag_b)) goto L_3900616E; /* 0x39006167: jne 0x3900616e */ 11076 L_39006169: 11077 MEM32(esi + 0x8) = edx; /* 0x39006169: mov dword ptr [esi + 8], edx */ 11078 goto L_39006170; /* 0x3900616C: jmp 0x39006170 */ 11079 L_3900616E: 11080 MEM32(esi) = edx; /* 0x3900616E: mov dword ptr [esi], edx */ 11081 L_39006170: 11082 MEM32(edx + 0x8) = ecx; /* 0x39006170: mov dword ptr [edx + 8], ecx */ 11083 L_39006173: 11084 MEM32(ecx + 0x4) = edx; /* 0x39006173: mov dword ptr [ecx + 4], edx */ 11085 L_39006176: 11086 esi = MEM32(ebp + (-0x4)); /* 0x39006176: mov esi, dword ptr [ebp - 4] */ 11087 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006179: mov byte ptr [eax + 0x2c], bl */ 11088 ecx = esi + 0xC; /* 0x3900617C: lea ecx, [esi + 0xc] */ 11089 RECOMP_ICALL(0x39004790u); /* 0x3900617F: call 0x39004790 */ /* not lifted */ 11090 RECOMP_FLAGS_IN(); 11091 PUSH32(esp, esi); /* 0x39006184: push esi */ 11092 RECOMP_ICALL(0x3900A0A0u); /* 0x39006185: call 0x3900a0a0 */ /* not lifted */ 11093 RECOMP_FLAGS_IN(); 11094 eax = MEM32(edi + 0x10); /* 0x3900618A: mov eax, dword ptr [edi + 0x10] */ 11095 edx = MEM32(ebp + 0xC); /* 0x3900618D: mov edx, dword ptr [ebp + 0xc] */ 11096 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11097 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11098 esp = esp + 4; /* 0x39006190: add esp, 4 */ 11099 _flag_k = FK_ADD; 11100 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 11101 eax = eax - 1; /* 0x39006193: dec eax */ 11102 _flag_k = FK_DEC; 11103 MEM32(edi + 0x10) = eax; /* 0x39006194: mov dword ptr [edi + 0x10], eax */ 11104 eax = MEM32(ebp + 0x8); /* 0x39006197: mov eax, dword ptr [ebp + 8] */ 11105 edi = POP32_VAL(esp); /* 0x3900619A: pop edi */ 11106 esi = POP32_VAL(esp); /* 0x3900619B: pop esi */ 11107 MEM32(eax) = edx; /* 0x3900619C: mov dword ptr [eax], edx */ 11108 ebx = POP32_VAL(esp); /* 0x3900619E: pop ebx */ 11109 esp = ebp; /* 0x3900619F: mov esp, ebp */ 11110 ebp = POP32_VAL(esp); /* 0x390061A1: pop ebp */ 11111 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x390061A2: ret 8 */ 11112 RECOMP_REGS_OUT(); 11113 } 11114 11115 void sub_39005FA8(void) { 11116 int _fpu_cmp = 0; 11117 uint32_t _cf = 0; 11118 int _df = 1; 11119 uint32_t _flag_k = FK_NONE; 11120 uint32_t _flag_a = 0, _flag_b = 0; 11121 uint32_t _itail_tgt = 0; 11122 RECOMP_REGS_LOCALS 11123 RECOMP_ENTER(0x39005FA8u); 11124 11125 goto L_39005FA8; 11126 L_39005F28: 11127 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x39005F28: cmp byte ptr [eax + 0x2c], bl */ 11128 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 11129 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11130 _flag_k = FK_NARROW(FK_CMP, 24); 11131 if (CMP_NE(_flag_a, _flag_b)) goto L_39006176; /* 0x39005F2B: jne 0x39006176 */ 11132 L_39005F31: 11133 edx = MEM32(eax + 0x4); /* 0x39005F31: mov edx, dword ptr [eax + 4] */ 11134 ecx = MEM32(edx); /* 0x39005F34: mov ecx, dword ptr [edx] */ 11135 /* cmp eax, ecx */ /* 0x39005F36: cmp eax, ecx */ 11136 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11137 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11138 _flag_k = FK_CMP; 11139 if (CMP_NE(_flag_a, _flag_b)) goto L_39005FA8; /* 0x39005F38: jne 0x39005fa8 */ 11140 L_39005F3A: 11141 ecx = MEM32(edx + 0x8); /* 0x39005F3A: mov ecx, dword ptr [edx + 8] */ 11142 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39005F3D: mov dl, byte ptr [ecx + 0x2c] */ 11143 /* test LO8(edx), LO8(edx) */ /* 0x39005F40: test dl, dl */ 11144 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 11145 _cf = 0; 11146 _flag_k = FK_NARROW(FK_TEST, 24); 11147 if (TEST_NZ(_flag_a, _flag_b)) goto L_39005F8F; /* 0x39005F42: jne 0x39005f8f */ 11148 L_39005F44: 11149 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005F44: mov byte ptr [ecx + 0x2c], bl */ 11150 edx = MEM32(eax + 0x4); /* 0x39005F47: mov edx, dword ptr [eax + 4] */ 11151 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x39005F4A: mov byte ptr [edx + 0x2c], 0 */ 11152 ecx = MEM32(eax + 0x4); /* 0x39005F4E: mov ecx, dword ptr [eax + 4] */ 11153 edx = MEM32(ecx + 0x8); /* 0x39005F51: mov edx, dword ptr [ecx + 8] */ 11154 esi = MEM32(edx); /* 0x39005F54: mov esi, dword ptr [edx] */ 11155 MEM32(ecx + 0x8) = esi; /* 0x39005F56: mov dword ptr [ecx + 8], esi */ 11156 esi = MEM32(edx); /* 0x39005F59: mov esi, dword ptr [edx] */ 11157 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005F5B: cmp esi, dword ptr [edi + 8] */ 11158 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 11159 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11160 _flag_k = FK_CMP; 11161 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005F63; /* 0x39005F5E: je 0x39005f63 */ 11162 L_39005F60: 11163 MEM32(esi + 0x4) = ecx; /* 0x39005F60: mov dword ptr [esi + 4], ecx */ 11164 L_39005F63: 11165 esi = MEM32(ecx + 0x4); /* 0x39005F63: mov esi, dword ptr [ecx + 4] */ 11166 MEM32(edx + 0x4) = esi; /* 0x39005F66: mov dword ptr [edx + 4], esi */ 11167 esi = MEM32(edi + 0x4); /* 0x39005F69: mov esi, dword ptr [edi + 4] */ 11168 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005F6C: cmp ecx, dword ptr [esi + 4] */ 11169 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 11170 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11171 _flag_k = FK_CMP; 11172 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F76; /* 0x39005F6F: jne 0x39005f76 */ 11173 L_39005F71: 11174 MEM32(esi + 0x4) = edx; /* 0x39005F71: mov dword ptr [esi + 4], edx */ 11175 goto L_39005F84; /* 0x39005F74: jmp 0x39005f84 */ 11176 L_39005F76: 11177 esi = MEM32(ecx + 0x4); /* 0x39005F76: mov esi, dword ptr [ecx + 4] */ 11178 /* cmp ecx, MEM32(esi) */ /* 0x39005F79: cmp ecx, dword ptr [esi] */ 11179 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 11180 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11181 _flag_k = FK_CMP; 11182 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F81; /* 0x39005F7B: jne 0x39005f81 */ 11183 L_39005F7D: 11184 MEM32(esi) = edx; /* 0x39005F7D: mov dword ptr [esi], edx */ 11185 goto L_39005F84; /* 0x39005F7F: jmp 0x39005f84 */ 11186 L_39005F81: 11187 MEM32(esi + 0x8) = edx; /* 0x39005F81: mov dword ptr [esi + 8], edx */ 11188 L_39005F84: 11189 MEM32(edx) = ecx; /* 0x39005F84: mov dword ptr [edx], ecx */ 11190 MEM32(ecx + 0x4) = edx; /* 0x39005F86: mov dword ptr [ecx + 4], edx */ 11191 ecx = MEM32(eax + 0x4); /* 0x39005F89: mov ecx, dword ptr [eax + 4] */ 11192 ecx = MEM32(ecx + 0x8); /* 0x39005F8C: mov ecx, dword ptr [ecx + 8] */ 11193 L_39005F8F: 11194 edx = MEM32(ecx); /* 0x39005F8F: mov edx, dword ptr [ecx] */ 11195 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005F91: cmp byte ptr [edx + 0x2c], bl */ 11196 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 11197 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11198 _flag_k = FK_NARROW(FK_CMP, 24); 11199 if (CMP_NE(_flag_a, _flag_b)) goto L_3900602A; /* 0x39005F94: jne 0x3900602a */ 11200 L_39005F9A: 11201 edx = MEM32(ecx + 0x8); /* 0x39005F9A: mov edx, dword ptr [ecx + 8] */ 11202 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005F9D: cmp byte ptr [edx + 0x2c], bl */ 11203 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 11204 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11205 _flag_k = FK_NARROW(FK_CMP, 24); 11206 if (CMP_NE(_flag_a, _flag_b)) goto L_3900602A; /* 0x39005FA0: jne 0x3900602a */ 11207 L_39005FA6: 11208 goto L_39006012; /* 0x39005FA6: jmp 0x39006012 */ 11209 L_39005FA8: 11210 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39005FA8: mov dl, byte ptr [ecx + 0x2c] */ 11211 /* test LO8(edx), LO8(edx) */ /* 0x39005FAB: test dl, dl */ 11212 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 11213 _cf = 0; 11214 _flag_k = FK_NARROW(FK_TEST, 24); 11215 if (TEST_NZ(_flag_a, _flag_b)) goto L_39005FFB; /* 0x39005FAD: jne 0x39005ffb */ 11216 L_39005FAF: 11217 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005FAF: mov byte ptr [ecx + 0x2c], bl */ 11218 ecx = MEM32(eax + 0x4); /* 0x39005FB2: mov ecx, dword ptr [eax + 4] */ 11219 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39005FB5: mov byte ptr [ecx + 0x2c], 0 */ 11220 ecx = MEM32(eax + 0x4); /* 0x39005FB9: mov ecx, dword ptr [eax + 4] */ 11221 edx = MEM32(ecx); /* 0x39005FBC: mov edx, dword ptr [ecx] */ 11222 esi = MEM32(edx + 0x8); /* 0x39005FBE: mov esi, dword ptr [edx + 8] */ 11223 MEM32(ecx) = esi; /* 0x39005FC1: mov dword ptr [ecx], esi */ 11224 esi = MEM32(edx + 0x8); /* 0x39005FC3: mov esi, dword ptr [edx + 8] */ 11225 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005FC6: cmp esi, dword ptr [edi + 8] */ 11226 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 11227 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11228 _flag_k = FK_CMP; 11229 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005FCE; /* 0x39005FC9: je 0x39005fce */ 11230 L_39005FCB: 11231 MEM32(esi + 0x4) = ecx; /* 0x39005FCB: mov dword ptr [esi + 4], ecx */ 11232 L_39005FCE: 11233 esi = MEM32(ecx + 0x4); /* 0x39005FCE: mov esi, dword ptr [ecx + 4] */ 11234 MEM32(edx + 0x4) = esi; /* 0x39005FD1: mov dword ptr [edx + 4], esi */ 11235 esi = MEM32(edi + 0x4); /* 0x39005FD4: mov esi, dword ptr [edi + 4] */ 11236 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005FD7: cmp ecx, dword ptr [esi + 4] */ 11237 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 11238 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11239 _flag_k = FK_CMP; 11240 if (CMP_NE(_flag_a, _flag_b)) goto L_39005FE1; /* 0x39005FDA: jne 0x39005fe1 */ 11241 L_39005FDC: 11242 MEM32(esi + 0x4) = edx; /* 0x39005FDC: mov dword ptr [esi + 4], edx */ 11243 goto L_39005FF0; /* 0x39005FDF: jmp 0x39005ff0 */ 11244 L_39005FE1: 11245 esi = MEM32(ecx + 0x4); /* 0x39005FE1: mov esi, dword ptr [ecx + 4] */ 11246 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39005FE4: cmp ecx, dword ptr [esi + 8] */ 11247 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11248 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11249 _flag_k = FK_CMP; 11250 if (CMP_NE(_flag_a, _flag_b)) goto L_39005FEE; /* 0x39005FE7: jne 0x39005fee */ 11251 L_39005FE9: 11252 MEM32(esi + 0x8) = edx; /* 0x39005FE9: mov dword ptr [esi + 8], edx */ 11253 goto L_39005FF0; /* 0x39005FEC: jmp 0x39005ff0 */ 11254 L_39005FEE: 11255 MEM32(esi) = edx; /* 0x39005FEE: mov dword ptr [esi], edx */ 11256 L_39005FF0: 11257 MEM32(edx + 0x8) = ecx; /* 0x39005FF0: mov dword ptr [edx + 8], ecx */ 11258 MEM32(ecx + 0x4) = edx; /* 0x39005FF3: mov dword ptr [ecx + 4], edx */ 11259 edx = MEM32(eax + 0x4); /* 0x39005FF6: mov edx, dword ptr [eax + 4] */ 11260 ecx = MEM32(edx); /* 0x39005FF9: mov ecx, dword ptr [edx] */ 11261 L_39005FFB: 11262 edx = MEM32(ecx + 0x8); /* 0x39005FFB: mov edx, dword ptr [ecx + 8] */ 11263 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005FFE: cmp byte ptr [edx + 0x2c], bl */ 11264 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 11265 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11266 _flag_k = FK_NARROW(FK_CMP, 24); 11267 if (CMP_NE(_flag_a, _flag_b)) goto L_390060D7; /* 0x39006001: jne 0x390060d7 */ 11268 L_39006007: 11269 edx = MEM32(ecx); /* 0x39006007: mov edx, dword ptr [ecx] */ 11270 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39006009: cmp byte ptr [edx + 0x2c], bl */ 11271 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 11272 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11273 _flag_k = FK_NARROW(FK_CMP, 24); 11274 if (CMP_NE(_flag_a, _flag_b)) goto L_390060D7; /* 0x3900600C: jne 0x390060d7 */ 11275 L_39006012: 11276 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006012: mov byte ptr [ecx + 0x2c], 0 */ 11277 ecx = MEM32(edi + 0x4); /* 0x39006016: mov ecx, dword ptr [edi + 4] */ 11278 eax = MEM32(eax + 0x4); /* 0x39006019: mov eax, dword ptr [eax + 4] */ 11279 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900601C: cmp eax, dword ptr [ecx + 4] */ 11280 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 11281 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11282 _flag_k = FK_CMP; 11283 RECOMP_BACKEDGE(); 11284 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F28; /* 0x3900601F: jne 0x39005f28 */ 11285 L_39006025: 11286 goto L_39006176; /* 0x39006025: jmp 0x39006176 */ 11287 L_3900602A: 11288 edx = MEM32(ecx + 0x8); /* 0x3900602A: mov edx, dword ptr [ecx + 8] */ 11289 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x3900602D: cmp byte ptr [edx + 0x2c], bl */ 11290 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 11291 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11292 _flag_k = FK_NARROW(FK_CMP, 24); 11293 if (CMP_NE(_flag_a, _flag_b)) goto L_3900607B; /* 0x39006030: jne 0x3900607b */ 11294 L_39006032: 11295 edx = MEM32(ecx); /* 0x39006032: mov edx, dword ptr [ecx] */ 11296 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006034: mov byte ptr [edx + 0x2c], bl */ 11297 edx = MEM32(ecx); /* 0x39006037: mov edx, dword ptr [ecx] */ 11298 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006039: mov byte ptr [ecx + 0x2c], 0 */ 11299 esi = MEM32(edx + 0x8); /* 0x3900603D: mov esi, dword ptr [edx + 8] */ 11300 MEM32(ecx) = esi; /* 0x39006040: mov dword ptr [ecx], esi */ 11301 esi = MEM32(edx + 0x8); /* 0x39006042: mov esi, dword ptr [edx + 8] */ 11302 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006045: cmp esi, dword ptr [edi + 8] */ 11303 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 11304 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11305 _flag_k = FK_CMP; 11306 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900604D; /* 0x39006048: je 0x3900604d */ 11307 L_3900604A: 11308 MEM32(esi + 0x4) = ecx; /* 0x3900604A: mov dword ptr [esi + 4], ecx */ 11309 L_3900604D: 11310 esi = MEM32(ecx + 0x4); /* 0x3900604D: mov esi, dword ptr [ecx + 4] */ 11311 MEM32(edx + 0x4) = esi; /* 0x39006050: mov dword ptr [edx + 4], esi */ 11312 esi = MEM32(edi + 0x4); /* 0x39006053: mov esi, dword ptr [edi + 4] */ 11313 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006056: cmp ecx, dword ptr [esi + 4] */ 11314 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 11315 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11316 _flag_k = FK_CMP; 11317 if (CMP_NE(_flag_a, _flag_b)) goto L_39006060; /* 0x39006059: jne 0x39006060 */ 11318 L_3900605B: 11319 MEM32(esi + 0x4) = edx; /* 0x3900605B: mov dword ptr [esi + 4], edx */ 11320 goto L_3900606F; /* 0x3900605E: jmp 0x3900606f */ 11321 L_39006060: 11322 esi = MEM32(ecx + 0x4); /* 0x39006060: mov esi, dword ptr [ecx + 4] */ 11323 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39006063: cmp ecx, dword ptr [esi + 8] */ 11324 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11325 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11326 _flag_k = FK_CMP; 11327 if (CMP_NE(_flag_a, _flag_b)) goto L_3900606D; /* 0x39006066: jne 0x3900606d */ 11328 L_39006068: 11329 MEM32(esi + 0x8) = edx; /* 0x39006068: mov dword ptr [esi + 8], edx */ 11330 goto L_3900606F; /* 0x3900606B: jmp 0x3900606f */ 11331 L_3900606D: 11332 MEM32(esi) = edx; /* 0x3900606D: mov dword ptr [esi], edx */ 11333 L_3900606F: 11334 MEM32(edx + 0x8) = ecx; /* 0x3900606F: mov dword ptr [edx + 8], ecx */ 11335 MEM32(ecx + 0x4) = edx; /* 0x39006072: mov dword ptr [ecx + 4], edx */ 11336 ecx = MEM32(eax + 0x4); /* 0x39006075: mov ecx, dword ptr [eax + 4] */ 11337 ecx = MEM32(ecx + 0x8); /* 0x39006078: mov ecx, dword ptr [ecx + 8] */ 11338 L_3900607B: 11339 edx = MEM32(eax + 0x4); /* 0x3900607B: mov edx, dword ptr [eax + 4] */ 11340 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x3900607E: mov dl, byte ptr [edx + 0x2c] */ 11341 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39006081: mov byte ptr [ecx + 0x2c], dl */ 11342 edx = MEM32(eax + 0x4); /* 0x39006084: mov edx, dword ptr [eax + 4] */ 11343 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006087: mov byte ptr [edx + 0x2c], bl */ 11344 ecx = MEM32(ecx + 0x8); /* 0x3900608A: mov ecx, dword ptr [ecx + 8] */ 11345 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x3900608D: mov byte ptr [ecx + 0x2c], bl */ 11346 ecx = MEM32(eax + 0x4); /* 0x39006090: mov ecx, dword ptr [eax + 4] */ 11347 edx = MEM32(ecx + 0x8); /* 0x39006093: mov edx, dword ptr [ecx + 8] */ 11348 esi = MEM32(edx); /* 0x39006096: mov esi, dword ptr [edx] */ 11349 MEM32(ecx + 0x8) = esi; /* 0x39006098: mov dword ptr [ecx + 8], esi */ 11350 esi = MEM32(edx); /* 0x3900609B: mov esi, dword ptr [edx] */ 11351 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3900609D: cmp esi, dword ptr [edi + 8] */ 11352 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 11353 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11354 _flag_k = FK_CMP; 11355 if (CMP_EQ(_flag_a, _flag_b)) goto L_390060A5; /* 0x390060A0: je 0x390060a5 */ 11356 L_390060A2: 11357 MEM32(esi + 0x4) = ecx; /* 0x390060A2: mov dword ptr [esi + 4], ecx */ 11358 L_390060A5: 11359 esi = MEM32(ecx + 0x4); /* 0x390060A5: mov esi, dword ptr [ecx + 4] */ 11360 MEM32(edx + 0x4) = esi; /* 0x390060A8: mov dword ptr [edx + 4], esi */ 11361 esi = MEM32(edi + 0x4); /* 0x390060AB: mov esi, dword ptr [edi + 4] */ 11362 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390060AE: cmp ecx, dword ptr [esi + 4] */ 11363 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 11364 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11365 _flag_k = FK_CMP; 11366 if (CMP_NE(_flag_a, _flag_b)) goto L_390060BD; /* 0x390060B1: jne 0x390060bd */ 11367 L_390060B3: 11368 MEM32(esi + 0x4) = edx; /* 0x390060B3: mov dword ptr [esi + 4], edx */ 11369 MEM32(edx) = ecx; /* 0x390060B6: mov dword ptr [edx], ecx */ 11370 goto L_39006173; /* 0x390060B8: jmp 0x39006173 */ 11371 L_390060BD: 11372 esi = MEM32(ecx + 0x4); /* 0x390060BD: mov esi, dword ptr [ecx + 4] */ 11373 /* cmp ecx, MEM32(esi) */ /* 0x390060C0: cmp ecx, dword ptr [esi] */ 11374 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 11375 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11376 _flag_k = FK_CMP; 11377 if (CMP_NE(_flag_a, _flag_b)) goto L_390060CD; /* 0x390060C2: jne 0x390060cd */ 11378 L_390060C4: 11379 MEM32(esi) = edx; /* 0x390060C4: mov dword ptr [esi], edx */ 11380 MEM32(edx) = ecx; /* 0x390060C6: mov dword ptr [edx], ecx */ 11381 goto L_39006173; /* 0x390060C8: jmp 0x39006173 */ 11382 L_390060CD: 11383 MEM32(esi + 0x8) = edx; /* 0x390060CD: mov dword ptr [esi + 8], edx */ 11384 MEM32(edx) = ecx; /* 0x390060D0: mov dword ptr [edx], ecx */ 11385 goto L_39006173; /* 0x390060D2: jmp 0x39006173 */ 11386 L_390060D7: 11387 edx = MEM32(ecx); /* 0x390060D7: mov edx, dword ptr [ecx] */ 11388 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390060D9: cmp byte ptr [edx + 0x2c], bl */ 11389 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 11390 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11391 _flag_k = FK_NARROW(FK_CMP, 24); 11392 if (CMP_NE(_flag_a, _flag_b)) goto L_39006125; /* 0x390060DC: jne 0x39006125 */ 11393 L_390060DE: 11394 edx = MEM32(ecx + 0x8); /* 0x390060DE: mov edx, dword ptr [ecx + 8] */ 11395 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x390060E1: mov byte ptr [edx + 0x2c], bl */ 11396 edx = MEM32(ecx + 0x8); /* 0x390060E4: mov edx, dword ptr [ecx + 8] */ 11397 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x390060E7: mov byte ptr [ecx + 0x2c], 0 */ 11398 esi = MEM32(edx); /* 0x390060EB: mov esi, dword ptr [edx] */ 11399 MEM32(ecx + 0x8) = esi; /* 0x390060ED: mov dword ptr [ecx + 8], esi */ 11400 esi = MEM32(edx); /* 0x390060F0: mov esi, dword ptr [edx] */ 11401 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390060F2: cmp esi, dword ptr [edi + 8] */ 11402 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 11403 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11404 _flag_k = FK_CMP; 11405 if (CMP_EQ(_flag_a, _flag_b)) goto L_390060FA; /* 0x390060F5: je 0x390060fa */ 11406 L_390060F7: 11407 MEM32(esi + 0x4) = ecx; /* 0x390060F7: mov dword ptr [esi + 4], ecx */ 11408 L_390060FA: 11409 esi = MEM32(ecx + 0x4); /* 0x390060FA: mov esi, dword ptr [ecx + 4] */ 11410 MEM32(edx + 0x4) = esi; /* 0x390060FD: mov dword ptr [edx + 4], esi */ 11411 esi = MEM32(edi + 0x4); /* 0x39006100: mov esi, dword ptr [edi + 4] */ 11412 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006103: cmp ecx, dword ptr [esi + 4] */ 11413 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 11414 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11415 _flag_k = FK_CMP; 11416 if (CMP_NE(_flag_a, _flag_b)) goto L_3900610D; /* 0x39006106: jne 0x3900610d */ 11417 L_39006108: 11418 MEM32(esi + 0x4) = edx; /* 0x39006108: mov dword ptr [esi + 4], edx */ 11419 goto L_3900611B; /* 0x3900610B: jmp 0x3900611b */ 11420 L_3900610D: 11421 esi = MEM32(ecx + 0x4); /* 0x3900610D: mov esi, dword ptr [ecx + 4] */ 11422 /* cmp ecx, MEM32(esi) */ /* 0x39006110: cmp ecx, dword ptr [esi] */ 11423 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 11424 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11425 _flag_k = FK_CMP; 11426 if (CMP_NE(_flag_a, _flag_b)) goto L_39006118; /* 0x39006112: jne 0x39006118 */ 11427 L_39006114: 11428 MEM32(esi) = edx; /* 0x39006114: mov dword ptr [esi], edx */ 11429 goto L_3900611B; /* 0x39006116: jmp 0x3900611b */ 11430 L_39006118: 11431 MEM32(esi + 0x8) = edx; /* 0x39006118: mov dword ptr [esi + 8], edx */ 11432 L_3900611B: 11433 MEM32(edx) = ecx; /* 0x3900611B: mov dword ptr [edx], ecx */ 11434 MEM32(ecx + 0x4) = edx; /* 0x3900611D: mov dword ptr [ecx + 4], edx */ 11435 ecx = MEM32(eax + 0x4); /* 0x39006120: mov ecx, dword ptr [eax + 4] */ 11436 ecx = MEM32(ecx); /* 0x39006123: mov ecx, dword ptr [ecx] */ 11437 L_39006125: 11438 edx = MEM32(eax + 0x4); /* 0x39006125: mov edx, dword ptr [eax + 4] */ 11439 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x39006128: mov dl, byte ptr [edx + 0x2c] */ 11440 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x3900612B: mov byte ptr [ecx + 0x2c], dl */ 11441 edx = MEM32(eax + 0x4); /* 0x3900612E: mov edx, dword ptr [eax + 4] */ 11442 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006131: mov byte ptr [edx + 0x2c], bl */ 11443 ecx = MEM32(ecx); /* 0x39006134: mov ecx, dword ptr [ecx] */ 11444 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006136: mov byte ptr [ecx + 0x2c], bl */ 11445 ecx = MEM32(eax + 0x4); /* 0x39006139: mov ecx, dword ptr [eax + 4] */ 11446 edx = MEM32(ecx); /* 0x3900613C: mov edx, dword ptr [ecx] */ 11447 esi = MEM32(edx + 0x8); /* 0x3900613E: mov esi, dword ptr [edx + 8] */ 11448 MEM32(ecx) = esi; /* 0x39006141: mov dword ptr [ecx], esi */ 11449 esi = MEM32(edx + 0x8); /* 0x39006143: mov esi, dword ptr [edx + 8] */ 11450 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006146: cmp esi, dword ptr [edi + 8] */ 11451 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 11452 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11453 _flag_k = FK_CMP; 11454 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900614E; /* 0x39006149: je 0x3900614e */ 11455 L_3900614B: 11456 MEM32(esi + 0x4) = ecx; /* 0x3900614B: mov dword ptr [esi + 4], ecx */ 11457 L_3900614E: 11458 esi = MEM32(ecx + 0x4); /* 0x3900614E: mov esi, dword ptr [ecx + 4] */ 11459 MEM32(edx + 0x4) = esi; /* 0x39006151: mov dword ptr [edx + 4], esi */ 11460 esi = MEM32(edi + 0x4); /* 0x39006154: mov esi, dword ptr [edi + 4] */ 11461 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006157: cmp ecx, dword ptr [esi + 4] */ 11462 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 11463 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11464 _flag_k = FK_CMP; 11465 if (CMP_NE(_flag_a, _flag_b)) goto L_39006161; /* 0x3900615A: jne 0x39006161 */ 11466 L_3900615C: 11467 MEM32(esi + 0x4) = edx; /* 0x3900615C: mov dword ptr [esi + 4], edx */ 11468 goto L_39006170; /* 0x3900615F: jmp 0x39006170 */ 11469 L_39006161: 11470 esi = MEM32(ecx + 0x4); /* 0x39006161: mov esi, dword ptr [ecx + 4] */ 11471 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39006164: cmp ecx, dword ptr [esi + 8] */ 11472 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11473 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11474 _flag_k = FK_CMP; 11475 if (CMP_NE(_flag_a, _flag_b)) goto L_3900616E; /* 0x39006167: jne 0x3900616e */ 11476 L_39006169: 11477 MEM32(esi + 0x8) = edx; /* 0x39006169: mov dword ptr [esi + 8], edx */ 11478 goto L_39006170; /* 0x3900616C: jmp 0x39006170 */ 11479 L_3900616E: 11480 MEM32(esi) = edx; /* 0x3900616E: mov dword ptr [esi], edx */ 11481 L_39006170: 11482 MEM32(edx + 0x8) = ecx; /* 0x39006170: mov dword ptr [edx + 8], ecx */ 11483 L_39006173: 11484 MEM32(ecx + 0x4) = edx; /* 0x39006173: mov dword ptr [ecx + 4], edx */ 11485 L_39006176: 11486 esi = MEM32(ebp + (-0x4)); /* 0x39006176: mov esi, dword ptr [ebp - 4] */ 11487 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006179: mov byte ptr [eax + 0x2c], bl */ 11488 ecx = esi + 0xC; /* 0x3900617C: lea ecx, [esi + 0xc] */ 11489 RECOMP_ICALL(0x39004790u); /* 0x3900617F: call 0x39004790 */ /* not lifted */ 11490 RECOMP_FLAGS_IN(); 11491 PUSH32(esp, esi); /* 0x39006184: push esi */ 11492 RECOMP_ICALL(0x3900A0A0u); /* 0x39006185: call 0x3900a0a0 */ /* not lifted */ 11493 RECOMP_FLAGS_IN(); 11494 eax = MEM32(edi + 0x10); /* 0x3900618A: mov eax, dword ptr [edi + 0x10] */ 11495 edx = MEM32(ebp + 0xC); /* 0x3900618D: mov edx, dword ptr [ebp + 0xc] */ 11496 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11497 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11498 esp = esp + 4; /* 0x39006190: add esp, 4 */ 11499 _flag_k = FK_ADD; 11500 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 11501 eax = eax - 1; /* 0x39006193: dec eax */ 11502 _flag_k = FK_DEC; 11503 MEM32(edi + 0x10) = eax; /* 0x39006194: mov dword ptr [edi + 0x10], eax */ 11504 eax = MEM32(ebp + 0x8); /* 0x39006197: mov eax, dword ptr [ebp + 8] */ 11505 edi = POP32_VAL(esp); /* 0x3900619A: pop edi */ 11506 esi = POP32_VAL(esp); /* 0x3900619B: pop esi */ 11507 MEM32(eax) = edx; /* 0x3900619C: mov dword ptr [eax], edx */ 11508 ebx = POP32_VAL(esp); /* 0x3900619E: pop ebx */ 11509 esp = ebp; /* 0x3900619F: mov esp, ebp */ 11510 ebp = POP32_VAL(esp); /* 0x390061A1: pop ebp */ 11511 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x390061A2: ret 8 */ 11512 RECOMP_REGS_OUT(); 11513 } 11514 11515 void sub_39005FF0(void) { 11516 int _fpu_cmp = 0; 11517 uint32_t _cf = 0; 11518 int _df = 1; 11519 uint32_t _flag_k = FK_NONE; 11520 uint32_t _flag_a = 0, _flag_b = 0; 11521 uint32_t _itail_tgt = 0; 11522 RECOMP_REGS_LOCALS 11523 RECOMP_ENTER(0x39005FF0u); 11524 11525 goto L_39005FF0; 11526 L_39005F28: 11527 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x39005F28: cmp byte ptr [eax + 0x2c], bl */ 11528 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 11529 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11530 _flag_k = FK_NARROW(FK_CMP, 24); 11531 if (CMP_NE(_flag_a, _flag_b)) goto L_39006176; /* 0x39005F2B: jne 0x39006176 */ 11532 L_39005F31: 11533 edx = MEM32(eax + 0x4); /* 0x39005F31: mov edx, dword ptr [eax + 4] */ 11534 ecx = MEM32(edx); /* 0x39005F34: mov ecx, dword ptr [edx] */ 11535 /* cmp eax, ecx */ /* 0x39005F36: cmp eax, ecx */ 11536 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11537 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11538 _flag_k = FK_CMP; 11539 if (CMP_NE(_flag_a, _flag_b)) goto L_39005FA8; /* 0x39005F38: jne 0x39005fa8 */ 11540 L_39005F3A: 11541 ecx = MEM32(edx + 0x8); /* 0x39005F3A: mov ecx, dword ptr [edx + 8] */ 11542 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39005F3D: mov dl, byte ptr [ecx + 0x2c] */ 11543 /* test LO8(edx), LO8(edx) */ /* 0x39005F40: test dl, dl */ 11544 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 11545 _cf = 0; 11546 _flag_k = FK_NARROW(FK_TEST, 24); 11547 if (TEST_NZ(_flag_a, _flag_b)) goto L_39005F8F; /* 0x39005F42: jne 0x39005f8f */ 11548 L_39005F44: 11549 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005F44: mov byte ptr [ecx + 0x2c], bl */ 11550 edx = MEM32(eax + 0x4); /* 0x39005F47: mov edx, dword ptr [eax + 4] */ 11551 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x39005F4A: mov byte ptr [edx + 0x2c], 0 */ 11552 ecx = MEM32(eax + 0x4); /* 0x39005F4E: mov ecx, dword ptr [eax + 4] */ 11553 edx = MEM32(ecx + 0x8); /* 0x39005F51: mov edx, dword ptr [ecx + 8] */ 11554 esi = MEM32(edx); /* 0x39005F54: mov esi, dword ptr [edx] */ 11555 MEM32(ecx + 0x8) = esi; /* 0x39005F56: mov dword ptr [ecx + 8], esi */ 11556 esi = MEM32(edx); /* 0x39005F59: mov esi, dword ptr [edx] */ 11557 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005F5B: cmp esi, dword ptr [edi + 8] */ 11558 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 11559 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11560 _flag_k = FK_CMP; 11561 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005F63; /* 0x39005F5E: je 0x39005f63 */ 11562 L_39005F60: 11563 MEM32(esi + 0x4) = ecx; /* 0x39005F60: mov dword ptr [esi + 4], ecx */ 11564 L_39005F63: 11565 esi = MEM32(ecx + 0x4); /* 0x39005F63: mov esi, dword ptr [ecx + 4] */ 11566 MEM32(edx + 0x4) = esi; /* 0x39005F66: mov dword ptr [edx + 4], esi */ 11567 esi = MEM32(edi + 0x4); /* 0x39005F69: mov esi, dword ptr [edi + 4] */ 11568 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005F6C: cmp ecx, dword ptr [esi + 4] */ 11569 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 11570 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11571 _flag_k = FK_CMP; 11572 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F76; /* 0x39005F6F: jne 0x39005f76 */ 11573 L_39005F71: 11574 MEM32(esi + 0x4) = edx; /* 0x39005F71: mov dword ptr [esi + 4], edx */ 11575 goto L_39005F84; /* 0x39005F74: jmp 0x39005f84 */ 11576 L_39005F76: 11577 esi = MEM32(ecx + 0x4); /* 0x39005F76: mov esi, dword ptr [ecx + 4] */ 11578 /* cmp ecx, MEM32(esi) */ /* 0x39005F79: cmp ecx, dword ptr [esi] */ 11579 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 11580 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11581 _flag_k = FK_CMP; 11582 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F81; /* 0x39005F7B: jne 0x39005f81 */ 11583 L_39005F7D: 11584 MEM32(esi) = edx; /* 0x39005F7D: mov dword ptr [esi], edx */ 11585 goto L_39005F84; /* 0x39005F7F: jmp 0x39005f84 */ 11586 L_39005F81: 11587 MEM32(esi + 0x8) = edx; /* 0x39005F81: mov dword ptr [esi + 8], edx */ 11588 L_39005F84: 11589 MEM32(edx) = ecx; /* 0x39005F84: mov dword ptr [edx], ecx */ 11590 MEM32(ecx + 0x4) = edx; /* 0x39005F86: mov dword ptr [ecx + 4], edx */ 11591 ecx = MEM32(eax + 0x4); /* 0x39005F89: mov ecx, dword ptr [eax + 4] */ 11592 ecx = MEM32(ecx + 0x8); /* 0x39005F8C: mov ecx, dword ptr [ecx + 8] */ 11593 L_39005F8F: 11594 edx = MEM32(ecx); /* 0x39005F8F: mov edx, dword ptr [ecx] */ 11595 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005F91: cmp byte ptr [edx + 0x2c], bl */ 11596 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 11597 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11598 _flag_k = FK_NARROW(FK_CMP, 24); 11599 if (CMP_NE(_flag_a, _flag_b)) goto L_3900602A; /* 0x39005F94: jne 0x3900602a */ 11600 L_39005F9A: 11601 edx = MEM32(ecx + 0x8); /* 0x39005F9A: mov edx, dword ptr [ecx + 8] */ 11602 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005F9D: cmp byte ptr [edx + 0x2c], bl */ 11603 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 11604 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11605 _flag_k = FK_NARROW(FK_CMP, 24); 11606 if (CMP_NE(_flag_a, _flag_b)) goto L_3900602A; /* 0x39005FA0: jne 0x3900602a */ 11607 L_39005FA6: 11608 goto L_39006012; /* 0x39005FA6: jmp 0x39006012 */ 11609 L_39005FA8: 11610 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39005FA8: mov dl, byte ptr [ecx + 0x2c] */ 11611 /* test LO8(edx), LO8(edx) */ /* 0x39005FAB: test dl, dl */ 11612 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 11613 _cf = 0; 11614 _flag_k = FK_NARROW(FK_TEST, 24); 11615 if (TEST_NZ(_flag_a, _flag_b)) goto L_39005FFB; /* 0x39005FAD: jne 0x39005ffb */ 11616 L_39005FAF: 11617 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005FAF: mov byte ptr [ecx + 0x2c], bl */ 11618 ecx = MEM32(eax + 0x4); /* 0x39005FB2: mov ecx, dword ptr [eax + 4] */ 11619 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39005FB5: mov byte ptr [ecx + 0x2c], 0 */ 11620 ecx = MEM32(eax + 0x4); /* 0x39005FB9: mov ecx, dword ptr [eax + 4] */ 11621 edx = MEM32(ecx); /* 0x39005FBC: mov edx, dword ptr [ecx] */ 11622 esi = MEM32(edx + 0x8); /* 0x39005FBE: mov esi, dword ptr [edx + 8] */ 11623 MEM32(ecx) = esi; /* 0x39005FC1: mov dword ptr [ecx], esi */ 11624 esi = MEM32(edx + 0x8); /* 0x39005FC3: mov esi, dword ptr [edx + 8] */ 11625 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005FC6: cmp esi, dword ptr [edi + 8] */ 11626 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 11627 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11628 _flag_k = FK_CMP; 11629 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005FCE; /* 0x39005FC9: je 0x39005fce */ 11630 L_39005FCB: 11631 MEM32(esi + 0x4) = ecx; /* 0x39005FCB: mov dword ptr [esi + 4], ecx */ 11632 L_39005FCE: 11633 esi = MEM32(ecx + 0x4); /* 0x39005FCE: mov esi, dword ptr [ecx + 4] */ 11634 MEM32(edx + 0x4) = esi; /* 0x39005FD1: mov dword ptr [edx + 4], esi */ 11635 esi = MEM32(edi + 0x4); /* 0x39005FD4: mov esi, dword ptr [edi + 4] */ 11636 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005FD7: cmp ecx, dword ptr [esi + 4] */ 11637 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 11638 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11639 _flag_k = FK_CMP; 11640 if (CMP_NE(_flag_a, _flag_b)) goto L_39005FE1; /* 0x39005FDA: jne 0x39005fe1 */ 11641 L_39005FDC: 11642 MEM32(esi + 0x4) = edx; /* 0x39005FDC: mov dword ptr [esi + 4], edx */ 11643 goto L_39005FF0; /* 0x39005FDF: jmp 0x39005ff0 */ 11644 L_39005FE1: 11645 esi = MEM32(ecx + 0x4); /* 0x39005FE1: mov esi, dword ptr [ecx + 4] */ 11646 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39005FE4: cmp ecx, dword ptr [esi + 8] */ 11647 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11648 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11649 _flag_k = FK_CMP; 11650 if (CMP_NE(_flag_a, _flag_b)) goto L_39005FEE; /* 0x39005FE7: jne 0x39005fee */ 11651 L_39005FE9: 11652 MEM32(esi + 0x8) = edx; /* 0x39005FE9: mov dword ptr [esi + 8], edx */ 11653 goto L_39005FF0; /* 0x39005FEC: jmp 0x39005ff0 */ 11654 L_39005FEE: 11655 MEM32(esi) = edx; /* 0x39005FEE: mov dword ptr [esi], edx */ 11656 L_39005FF0: 11657 MEM32(edx + 0x8) = ecx; /* 0x39005FF0: mov dword ptr [edx + 8], ecx */ 11658 MEM32(ecx + 0x4) = edx; /* 0x39005FF3: mov dword ptr [ecx + 4], edx */ 11659 edx = MEM32(eax + 0x4); /* 0x39005FF6: mov edx, dword ptr [eax + 4] */ 11660 ecx = MEM32(edx); /* 0x39005FF9: mov ecx, dword ptr [edx] */ 11661 L_39005FFB: 11662 edx = MEM32(ecx + 0x8); /* 0x39005FFB: mov edx, dword ptr [ecx + 8] */ 11663 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005FFE: cmp byte ptr [edx + 0x2c], bl */ 11664 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 11665 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11666 _flag_k = FK_NARROW(FK_CMP, 24); 11667 if (CMP_NE(_flag_a, _flag_b)) goto L_390060D7; /* 0x39006001: jne 0x390060d7 */ 11668 L_39006007: 11669 edx = MEM32(ecx); /* 0x39006007: mov edx, dword ptr [ecx] */ 11670 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39006009: cmp byte ptr [edx + 0x2c], bl */ 11671 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 11672 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11673 _flag_k = FK_NARROW(FK_CMP, 24); 11674 if (CMP_NE(_flag_a, _flag_b)) goto L_390060D7; /* 0x3900600C: jne 0x390060d7 */ 11675 L_39006012: 11676 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006012: mov byte ptr [ecx + 0x2c], 0 */ 11677 ecx = MEM32(edi + 0x4); /* 0x39006016: mov ecx, dword ptr [edi + 4] */ 11678 eax = MEM32(eax + 0x4); /* 0x39006019: mov eax, dword ptr [eax + 4] */ 11679 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900601C: cmp eax, dword ptr [ecx + 4] */ 11680 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 11681 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11682 _flag_k = FK_CMP; 11683 RECOMP_BACKEDGE(); 11684 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F28; /* 0x3900601F: jne 0x39005f28 */ 11685 L_39006025: 11686 goto L_39006176; /* 0x39006025: jmp 0x39006176 */ 11687 L_3900602A: 11688 edx = MEM32(ecx + 0x8); /* 0x3900602A: mov edx, dword ptr [ecx + 8] */ 11689 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x3900602D: cmp byte ptr [edx + 0x2c], bl */ 11690 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 11691 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11692 _flag_k = FK_NARROW(FK_CMP, 24); 11693 if (CMP_NE(_flag_a, _flag_b)) goto L_3900607B; /* 0x39006030: jne 0x3900607b */ 11694 L_39006032: 11695 edx = MEM32(ecx); /* 0x39006032: mov edx, dword ptr [ecx] */ 11696 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006034: mov byte ptr [edx + 0x2c], bl */ 11697 edx = MEM32(ecx); /* 0x39006037: mov edx, dword ptr [ecx] */ 11698 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006039: mov byte ptr [ecx + 0x2c], 0 */ 11699 esi = MEM32(edx + 0x8); /* 0x3900603D: mov esi, dword ptr [edx + 8] */ 11700 MEM32(ecx) = esi; /* 0x39006040: mov dword ptr [ecx], esi */ 11701 esi = MEM32(edx + 0x8); /* 0x39006042: mov esi, dword ptr [edx + 8] */ 11702 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006045: cmp esi, dword ptr [edi + 8] */ 11703 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 11704 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11705 _flag_k = FK_CMP; 11706 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900604D; /* 0x39006048: je 0x3900604d */ 11707 L_3900604A: 11708 MEM32(esi + 0x4) = ecx; /* 0x3900604A: mov dword ptr [esi + 4], ecx */ 11709 L_3900604D: 11710 esi = MEM32(ecx + 0x4); /* 0x3900604D: mov esi, dword ptr [ecx + 4] */ 11711 MEM32(edx + 0x4) = esi; /* 0x39006050: mov dword ptr [edx + 4], esi */ 11712 esi = MEM32(edi + 0x4); /* 0x39006053: mov esi, dword ptr [edi + 4] */ 11713 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006056: cmp ecx, dword ptr [esi + 4] */ 11714 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 11715 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11716 _flag_k = FK_CMP; 11717 if (CMP_NE(_flag_a, _flag_b)) goto L_39006060; /* 0x39006059: jne 0x39006060 */ 11718 L_3900605B: 11719 MEM32(esi + 0x4) = edx; /* 0x3900605B: mov dword ptr [esi + 4], edx */ 11720 goto L_3900606F; /* 0x3900605E: jmp 0x3900606f */ 11721 L_39006060: 11722 esi = MEM32(ecx + 0x4); /* 0x39006060: mov esi, dword ptr [ecx + 4] */ 11723 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39006063: cmp ecx, dword ptr [esi + 8] */ 11724 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11725 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11726 _flag_k = FK_CMP; 11727 if (CMP_NE(_flag_a, _flag_b)) goto L_3900606D; /* 0x39006066: jne 0x3900606d */ 11728 L_39006068: 11729 MEM32(esi + 0x8) = edx; /* 0x39006068: mov dword ptr [esi + 8], edx */ 11730 goto L_3900606F; /* 0x3900606B: jmp 0x3900606f */ 11731 L_3900606D: 11732 MEM32(esi) = edx; /* 0x3900606D: mov dword ptr [esi], edx */ 11733 L_3900606F: 11734 MEM32(edx + 0x8) = ecx; /* 0x3900606F: mov dword ptr [edx + 8], ecx */ 11735 MEM32(ecx + 0x4) = edx; /* 0x39006072: mov dword ptr [ecx + 4], edx */ 11736 ecx = MEM32(eax + 0x4); /* 0x39006075: mov ecx, dword ptr [eax + 4] */ 11737 ecx = MEM32(ecx + 0x8); /* 0x39006078: mov ecx, dword ptr [ecx + 8] */ 11738 L_3900607B: 11739 edx = MEM32(eax + 0x4); /* 0x3900607B: mov edx, dword ptr [eax + 4] */ 11740 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x3900607E: mov dl, byte ptr [edx + 0x2c] */ 11741 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39006081: mov byte ptr [ecx + 0x2c], dl */ 11742 edx = MEM32(eax + 0x4); /* 0x39006084: mov edx, dword ptr [eax + 4] */ 11743 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006087: mov byte ptr [edx + 0x2c], bl */ 11744 ecx = MEM32(ecx + 0x8); /* 0x3900608A: mov ecx, dword ptr [ecx + 8] */ 11745 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x3900608D: mov byte ptr [ecx + 0x2c], bl */ 11746 ecx = MEM32(eax + 0x4); /* 0x39006090: mov ecx, dword ptr [eax + 4] */ 11747 edx = MEM32(ecx + 0x8); /* 0x39006093: mov edx, dword ptr [ecx + 8] */ 11748 esi = MEM32(edx); /* 0x39006096: mov esi, dword ptr [edx] */ 11749 MEM32(ecx + 0x8) = esi; /* 0x39006098: mov dword ptr [ecx + 8], esi */ 11750 esi = MEM32(edx); /* 0x3900609B: mov esi, dword ptr [edx] */ 11751 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3900609D: cmp esi, dword ptr [edi + 8] */ 11752 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 11753 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11754 _flag_k = FK_CMP; 11755 if (CMP_EQ(_flag_a, _flag_b)) goto L_390060A5; /* 0x390060A0: je 0x390060a5 */ 11756 L_390060A2: 11757 MEM32(esi + 0x4) = ecx; /* 0x390060A2: mov dword ptr [esi + 4], ecx */ 11758 L_390060A5: 11759 esi = MEM32(ecx + 0x4); /* 0x390060A5: mov esi, dword ptr [ecx + 4] */ 11760 MEM32(edx + 0x4) = esi; /* 0x390060A8: mov dword ptr [edx + 4], esi */ 11761 esi = MEM32(edi + 0x4); /* 0x390060AB: mov esi, dword ptr [edi + 4] */ 11762 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390060AE: cmp ecx, dword ptr [esi + 4] */ 11763 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 11764 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11765 _flag_k = FK_CMP; 11766 if (CMP_NE(_flag_a, _flag_b)) goto L_390060BD; /* 0x390060B1: jne 0x390060bd */ 11767 L_390060B3: 11768 MEM32(esi + 0x4) = edx; /* 0x390060B3: mov dword ptr [esi + 4], edx */ 11769 MEM32(edx) = ecx; /* 0x390060B6: mov dword ptr [edx], ecx */ 11770 goto L_39006173; /* 0x390060B8: jmp 0x39006173 */ 11771 L_390060BD: 11772 esi = MEM32(ecx + 0x4); /* 0x390060BD: mov esi, dword ptr [ecx + 4] */ 11773 /* cmp ecx, MEM32(esi) */ /* 0x390060C0: cmp ecx, dword ptr [esi] */ 11774 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 11775 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11776 _flag_k = FK_CMP; 11777 if (CMP_NE(_flag_a, _flag_b)) goto L_390060CD; /* 0x390060C2: jne 0x390060cd */ 11778 L_390060C4: 11779 MEM32(esi) = edx; /* 0x390060C4: mov dword ptr [esi], edx */ 11780 MEM32(edx) = ecx; /* 0x390060C6: mov dword ptr [edx], ecx */ 11781 goto L_39006173; /* 0x390060C8: jmp 0x39006173 */ 11782 L_390060CD: 11783 MEM32(esi + 0x8) = edx; /* 0x390060CD: mov dword ptr [esi + 8], edx */ 11784 MEM32(edx) = ecx; /* 0x390060D0: mov dword ptr [edx], ecx */ 11785 goto L_39006173; /* 0x390060D2: jmp 0x39006173 */ 11786 L_390060D7: 11787 edx = MEM32(ecx); /* 0x390060D7: mov edx, dword ptr [ecx] */ 11788 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390060D9: cmp byte ptr [edx + 0x2c], bl */ 11789 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 11790 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11791 _flag_k = FK_NARROW(FK_CMP, 24); 11792 if (CMP_NE(_flag_a, _flag_b)) goto L_39006125; /* 0x390060DC: jne 0x39006125 */ 11793 L_390060DE: 11794 edx = MEM32(ecx + 0x8); /* 0x390060DE: mov edx, dword ptr [ecx + 8] */ 11795 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x390060E1: mov byte ptr [edx + 0x2c], bl */ 11796 edx = MEM32(ecx + 0x8); /* 0x390060E4: mov edx, dword ptr [ecx + 8] */ 11797 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x390060E7: mov byte ptr [ecx + 0x2c], 0 */ 11798 esi = MEM32(edx); /* 0x390060EB: mov esi, dword ptr [edx] */ 11799 MEM32(ecx + 0x8) = esi; /* 0x390060ED: mov dword ptr [ecx + 8], esi */ 11800 esi = MEM32(edx); /* 0x390060F0: mov esi, dword ptr [edx] */ 11801 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390060F2: cmp esi, dword ptr [edi + 8] */ 11802 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 11803 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11804 _flag_k = FK_CMP; 11805 if (CMP_EQ(_flag_a, _flag_b)) goto L_390060FA; /* 0x390060F5: je 0x390060fa */ 11806 L_390060F7: 11807 MEM32(esi + 0x4) = ecx; /* 0x390060F7: mov dword ptr [esi + 4], ecx */ 11808 L_390060FA: 11809 esi = MEM32(ecx + 0x4); /* 0x390060FA: mov esi, dword ptr [ecx + 4] */ 11810 MEM32(edx + 0x4) = esi; /* 0x390060FD: mov dword ptr [edx + 4], esi */ 11811 esi = MEM32(edi + 0x4); /* 0x39006100: mov esi, dword ptr [edi + 4] */ 11812 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006103: cmp ecx, dword ptr [esi + 4] */ 11813 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 11814 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11815 _flag_k = FK_CMP; 11816 if (CMP_NE(_flag_a, _flag_b)) goto L_3900610D; /* 0x39006106: jne 0x3900610d */ 11817 L_39006108: 11818 MEM32(esi + 0x4) = edx; /* 0x39006108: mov dword ptr [esi + 4], edx */ 11819 goto L_3900611B; /* 0x3900610B: jmp 0x3900611b */ 11820 L_3900610D: 11821 esi = MEM32(ecx + 0x4); /* 0x3900610D: mov esi, dword ptr [ecx + 4] */ 11822 /* cmp ecx, MEM32(esi) */ /* 0x39006110: cmp ecx, dword ptr [esi] */ 11823 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 11824 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11825 _flag_k = FK_CMP; 11826 if (CMP_NE(_flag_a, _flag_b)) goto L_39006118; /* 0x39006112: jne 0x39006118 */ 11827 L_39006114: 11828 MEM32(esi) = edx; /* 0x39006114: mov dword ptr [esi], edx */ 11829 goto L_3900611B; /* 0x39006116: jmp 0x3900611b */ 11830 L_39006118: 11831 MEM32(esi + 0x8) = edx; /* 0x39006118: mov dword ptr [esi + 8], edx */ 11832 L_3900611B: 11833 MEM32(edx) = ecx; /* 0x3900611B: mov dword ptr [edx], ecx */ 11834 MEM32(ecx + 0x4) = edx; /* 0x3900611D: mov dword ptr [ecx + 4], edx */ 11835 ecx = MEM32(eax + 0x4); /* 0x39006120: mov ecx, dword ptr [eax + 4] */ 11836 ecx = MEM32(ecx); /* 0x39006123: mov ecx, dword ptr [ecx] */ 11837 L_39006125: 11838 edx = MEM32(eax + 0x4); /* 0x39006125: mov edx, dword ptr [eax + 4] */ 11839 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x39006128: mov dl, byte ptr [edx + 0x2c] */ 11840 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x3900612B: mov byte ptr [ecx + 0x2c], dl */ 11841 edx = MEM32(eax + 0x4); /* 0x3900612E: mov edx, dword ptr [eax + 4] */ 11842 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006131: mov byte ptr [edx + 0x2c], bl */ 11843 ecx = MEM32(ecx); /* 0x39006134: mov ecx, dword ptr [ecx] */ 11844 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006136: mov byte ptr [ecx + 0x2c], bl */ 11845 ecx = MEM32(eax + 0x4); /* 0x39006139: mov ecx, dword ptr [eax + 4] */ 11846 edx = MEM32(ecx); /* 0x3900613C: mov edx, dword ptr [ecx] */ 11847 esi = MEM32(edx + 0x8); /* 0x3900613E: mov esi, dword ptr [edx + 8] */ 11848 MEM32(ecx) = esi; /* 0x39006141: mov dword ptr [ecx], esi */ 11849 esi = MEM32(edx + 0x8); /* 0x39006143: mov esi, dword ptr [edx + 8] */ 11850 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006146: cmp esi, dword ptr [edi + 8] */ 11851 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 11852 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11853 _flag_k = FK_CMP; 11854 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900614E; /* 0x39006149: je 0x3900614e */ 11855 L_3900614B: 11856 MEM32(esi + 0x4) = ecx; /* 0x3900614B: mov dword ptr [esi + 4], ecx */ 11857 L_3900614E: 11858 esi = MEM32(ecx + 0x4); /* 0x3900614E: mov esi, dword ptr [ecx + 4] */ 11859 MEM32(edx + 0x4) = esi; /* 0x39006151: mov dword ptr [edx + 4], esi */ 11860 esi = MEM32(edi + 0x4); /* 0x39006154: mov esi, dword ptr [edi + 4] */ 11861 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006157: cmp ecx, dword ptr [esi + 4] */ 11862 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 11863 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11864 _flag_k = FK_CMP; 11865 if (CMP_NE(_flag_a, _flag_b)) goto L_39006161; /* 0x3900615A: jne 0x39006161 */ 11866 L_3900615C: 11867 MEM32(esi + 0x4) = edx; /* 0x3900615C: mov dword ptr [esi + 4], edx */ 11868 goto L_39006170; /* 0x3900615F: jmp 0x39006170 */ 11869 L_39006161: 11870 esi = MEM32(ecx + 0x4); /* 0x39006161: mov esi, dword ptr [ecx + 4] */ 11871 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39006164: cmp ecx, dword ptr [esi + 8] */ 11872 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11873 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11874 _flag_k = FK_CMP; 11875 if (CMP_NE(_flag_a, _flag_b)) goto L_3900616E; /* 0x39006167: jne 0x3900616e */ 11876 L_39006169: 11877 MEM32(esi + 0x8) = edx; /* 0x39006169: mov dword ptr [esi + 8], edx */ 11878 goto L_39006170; /* 0x3900616C: jmp 0x39006170 */ 11879 L_3900616E: 11880 MEM32(esi) = edx; /* 0x3900616E: mov dword ptr [esi], edx */ 11881 L_39006170: 11882 MEM32(edx + 0x8) = ecx; /* 0x39006170: mov dword ptr [edx + 8], ecx */ 11883 L_39006173: 11884 MEM32(ecx + 0x4) = edx; /* 0x39006173: mov dword ptr [ecx + 4], edx */ 11885 L_39006176: 11886 esi = MEM32(ebp + (-0x4)); /* 0x39006176: mov esi, dword ptr [ebp - 4] */ 11887 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006179: mov byte ptr [eax + 0x2c], bl */ 11888 ecx = esi + 0xC; /* 0x3900617C: lea ecx, [esi + 0xc] */ 11889 RECOMP_ICALL(0x39004790u); /* 0x3900617F: call 0x39004790 */ /* not lifted */ 11890 RECOMP_FLAGS_IN(); 11891 PUSH32(esp, esi); /* 0x39006184: push esi */ 11892 RECOMP_ICALL(0x3900A0A0u); /* 0x39006185: call 0x3900a0a0 */ /* not lifted */ 11893 RECOMP_FLAGS_IN(); 11894 eax = MEM32(edi + 0x10); /* 0x3900618A: mov eax, dword ptr [edi + 0x10] */ 11895 edx = MEM32(ebp + 0xC); /* 0x3900618D: mov edx, dword ptr [ebp + 0xc] */ 11896 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11897 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11898 esp = esp + 4; /* 0x39006190: add esp, 4 */ 11899 _flag_k = FK_ADD; 11900 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 11901 eax = eax - 1; /* 0x39006193: dec eax */ 11902 _flag_k = FK_DEC; 11903 MEM32(edi + 0x10) = eax; /* 0x39006194: mov dword ptr [edi + 0x10], eax */ 11904 eax = MEM32(ebp + 0x8); /* 0x39006197: mov eax, dword ptr [ebp + 8] */ 11905 edi = POP32_VAL(esp); /* 0x3900619A: pop edi */ 11906 esi = POP32_VAL(esp); /* 0x3900619B: pop esi */ 11907 MEM32(eax) = edx; /* 0x3900619C: mov dword ptr [eax], edx */ 11908 ebx = POP32_VAL(esp); /* 0x3900619E: pop ebx */ 11909 esp = ebp; /* 0x3900619F: mov esp, ebp */ 11910 ebp = POP32_VAL(esp); /* 0x390061A1: pop ebp */ 11911 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x390061A2: ret 8 */ 11912 RECOMP_REGS_OUT(); 11913 } 11914 11915 void sub_39005FFB(void) { 11916 int _fpu_cmp = 0; 11917 uint32_t _cf = 0; 11918 int _df = 1; 11919 uint32_t _flag_k = FK_NONE; 11920 uint32_t _flag_a = 0, _flag_b = 0; 11921 uint32_t _itail_tgt = 0; 11922 RECOMP_REGS_LOCALS 11923 RECOMP_ENTER(0x39005FFBu); 11924 11925 goto L_39005FFB; 11926 L_39005F28: 11927 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x39005F28: cmp byte ptr [eax + 0x2c], bl */ 11928 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 11929 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11930 _flag_k = FK_NARROW(FK_CMP, 24); 11931 if (CMP_NE(_flag_a, _flag_b)) goto L_39006176; /* 0x39005F2B: jne 0x39006176 */ 11932 L_39005F31: 11933 edx = MEM32(eax + 0x4); /* 0x39005F31: mov edx, dword ptr [eax + 4] */ 11934 ecx = MEM32(edx); /* 0x39005F34: mov ecx, dword ptr [edx] */ 11935 /* cmp eax, ecx */ /* 0x39005F36: cmp eax, ecx */ 11936 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11937 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11938 _flag_k = FK_CMP; 11939 if (CMP_NE(_flag_a, _flag_b)) goto L_39005FA8; /* 0x39005F38: jne 0x39005fa8 */ 11940 L_39005F3A: 11941 ecx = MEM32(edx + 0x8); /* 0x39005F3A: mov ecx, dword ptr [edx + 8] */ 11942 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39005F3D: mov dl, byte ptr [ecx + 0x2c] */ 11943 /* test LO8(edx), LO8(edx) */ /* 0x39005F40: test dl, dl */ 11944 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 11945 _cf = 0; 11946 _flag_k = FK_NARROW(FK_TEST, 24); 11947 if (TEST_NZ(_flag_a, _flag_b)) goto L_39005F8F; /* 0x39005F42: jne 0x39005f8f */ 11948 L_39005F44: 11949 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005F44: mov byte ptr [ecx + 0x2c], bl */ 11950 edx = MEM32(eax + 0x4); /* 0x39005F47: mov edx, dword ptr [eax + 4] */ 11951 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x39005F4A: mov byte ptr [edx + 0x2c], 0 */ 11952 ecx = MEM32(eax + 0x4); /* 0x39005F4E: mov ecx, dword ptr [eax + 4] */ 11953 edx = MEM32(ecx + 0x8); /* 0x39005F51: mov edx, dword ptr [ecx + 8] */ 11954 esi = MEM32(edx); /* 0x39005F54: mov esi, dword ptr [edx] */ 11955 MEM32(ecx + 0x8) = esi; /* 0x39005F56: mov dword ptr [ecx + 8], esi */ 11956 esi = MEM32(edx); /* 0x39005F59: mov esi, dword ptr [edx] */ 11957 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005F5B: cmp esi, dword ptr [edi + 8] */ 11958 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 11959 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11960 _flag_k = FK_CMP; 11961 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005F63; /* 0x39005F5E: je 0x39005f63 */ 11962 L_39005F60: 11963 MEM32(esi + 0x4) = ecx; /* 0x39005F60: mov dword ptr [esi + 4], ecx */ 11964 L_39005F63: 11965 esi = MEM32(ecx + 0x4); /* 0x39005F63: mov esi, dword ptr [ecx + 4] */ 11966 MEM32(edx + 0x4) = esi; /* 0x39005F66: mov dword ptr [edx + 4], esi */ 11967 esi = MEM32(edi + 0x4); /* 0x39005F69: mov esi, dword ptr [edi + 4] */ 11968 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005F6C: cmp ecx, dword ptr [esi + 4] */ 11969 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 11970 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11971 _flag_k = FK_CMP; 11972 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F76; /* 0x39005F6F: jne 0x39005f76 */ 11973 L_39005F71: 11974 MEM32(esi + 0x4) = edx; /* 0x39005F71: mov dword ptr [esi + 4], edx */ 11975 goto L_39005F84; /* 0x39005F74: jmp 0x39005f84 */ 11976 L_39005F76: 11977 esi = MEM32(ecx + 0x4); /* 0x39005F76: mov esi, dword ptr [ecx + 4] */ 11978 /* cmp ecx, MEM32(esi) */ /* 0x39005F79: cmp ecx, dword ptr [esi] */ 11979 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 11980 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11981 _flag_k = FK_CMP; 11982 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F81; /* 0x39005F7B: jne 0x39005f81 */ 11983 L_39005F7D: 11984 MEM32(esi) = edx; /* 0x39005F7D: mov dword ptr [esi], edx */ 11985 goto L_39005F84; /* 0x39005F7F: jmp 0x39005f84 */ 11986 L_39005F81: 11987 MEM32(esi + 0x8) = edx; /* 0x39005F81: mov dword ptr [esi + 8], edx */ 11988 L_39005F84: 11989 MEM32(edx) = ecx; /* 0x39005F84: mov dword ptr [edx], ecx */ 11990 MEM32(ecx + 0x4) = edx; /* 0x39005F86: mov dword ptr [ecx + 4], edx */ 11991 ecx = MEM32(eax + 0x4); /* 0x39005F89: mov ecx, dword ptr [eax + 4] */ 11992 ecx = MEM32(ecx + 0x8); /* 0x39005F8C: mov ecx, dword ptr [ecx + 8] */ 11993 L_39005F8F: 11994 edx = MEM32(ecx); /* 0x39005F8F: mov edx, dword ptr [ecx] */ 11995 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005F91: cmp byte ptr [edx + 0x2c], bl */ 11996 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 11997 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11998 _flag_k = FK_NARROW(FK_CMP, 24); 11999 if (CMP_NE(_flag_a, _flag_b)) goto L_3900602A; /* 0x39005F94: jne 0x3900602a */ 12000 L_39005F9A: 12001 edx = MEM32(ecx + 0x8); /* 0x39005F9A: mov edx, dword ptr [ecx + 8] */ 12002 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005F9D: cmp byte ptr [edx + 0x2c], bl */ 12003 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 12004 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12005 _flag_k = FK_NARROW(FK_CMP, 24); 12006 if (CMP_NE(_flag_a, _flag_b)) goto L_3900602A; /* 0x39005FA0: jne 0x3900602a */ 12007 L_39005FA6: 12008 goto L_39006012; /* 0x39005FA6: jmp 0x39006012 */ 12009 L_39005FA8: 12010 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39005FA8: mov dl, byte ptr [ecx + 0x2c] */ 12011 /* test LO8(edx), LO8(edx) */ /* 0x39005FAB: test dl, dl */ 12012 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 12013 _cf = 0; 12014 _flag_k = FK_NARROW(FK_TEST, 24); 12015 if (TEST_NZ(_flag_a, _flag_b)) goto L_39005FFB; /* 0x39005FAD: jne 0x39005ffb */ 12016 L_39005FAF: 12017 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005FAF: mov byte ptr [ecx + 0x2c], bl */ 12018 ecx = MEM32(eax + 0x4); /* 0x39005FB2: mov ecx, dword ptr [eax + 4] */ 12019 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39005FB5: mov byte ptr [ecx + 0x2c], 0 */ 12020 ecx = MEM32(eax + 0x4); /* 0x39005FB9: mov ecx, dword ptr [eax + 4] */ 12021 edx = MEM32(ecx); /* 0x39005FBC: mov edx, dword ptr [ecx] */ 12022 esi = MEM32(edx + 0x8); /* 0x39005FBE: mov esi, dword ptr [edx + 8] */ 12023 MEM32(ecx) = esi; /* 0x39005FC1: mov dword ptr [ecx], esi */ 12024 esi = MEM32(edx + 0x8); /* 0x39005FC3: mov esi, dword ptr [edx + 8] */ 12025 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005FC6: cmp esi, dword ptr [edi + 8] */ 12026 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 12027 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12028 _flag_k = FK_CMP; 12029 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005FCE; /* 0x39005FC9: je 0x39005fce */ 12030 L_39005FCB: 12031 MEM32(esi + 0x4) = ecx; /* 0x39005FCB: mov dword ptr [esi + 4], ecx */ 12032 L_39005FCE: 12033 esi = MEM32(ecx + 0x4); /* 0x39005FCE: mov esi, dword ptr [ecx + 4] */ 12034 MEM32(edx + 0x4) = esi; /* 0x39005FD1: mov dword ptr [edx + 4], esi */ 12035 esi = MEM32(edi + 0x4); /* 0x39005FD4: mov esi, dword ptr [edi + 4] */ 12036 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005FD7: cmp ecx, dword ptr [esi + 4] */ 12037 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 12038 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12039 _flag_k = FK_CMP; 12040 if (CMP_NE(_flag_a, _flag_b)) goto L_39005FE1; /* 0x39005FDA: jne 0x39005fe1 */ 12041 L_39005FDC: 12042 MEM32(esi + 0x4) = edx; /* 0x39005FDC: mov dword ptr [esi + 4], edx */ 12043 goto L_39005FF0; /* 0x39005FDF: jmp 0x39005ff0 */ 12044 L_39005FE1: 12045 esi = MEM32(ecx + 0x4); /* 0x39005FE1: mov esi, dword ptr [ecx + 4] */ 12046 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39005FE4: cmp ecx, dword ptr [esi + 8] */ 12047 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12048 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12049 _flag_k = FK_CMP; 12050 if (CMP_NE(_flag_a, _flag_b)) goto L_39005FEE; /* 0x39005FE7: jne 0x39005fee */ 12051 L_39005FE9: 12052 MEM32(esi + 0x8) = edx; /* 0x39005FE9: mov dword ptr [esi + 8], edx */ 12053 goto L_39005FF0; /* 0x39005FEC: jmp 0x39005ff0 */ 12054 L_39005FEE: 12055 MEM32(esi) = edx; /* 0x39005FEE: mov dword ptr [esi], edx */ 12056 L_39005FF0: 12057 MEM32(edx + 0x8) = ecx; /* 0x39005FF0: mov dword ptr [edx + 8], ecx */ 12058 MEM32(ecx + 0x4) = edx; /* 0x39005FF3: mov dword ptr [ecx + 4], edx */ 12059 edx = MEM32(eax + 0x4); /* 0x39005FF6: mov edx, dword ptr [eax + 4] */ 12060 ecx = MEM32(edx); /* 0x39005FF9: mov ecx, dword ptr [edx] */ 12061 L_39005FFB: 12062 edx = MEM32(ecx + 0x8); /* 0x39005FFB: mov edx, dword ptr [ecx + 8] */ 12063 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005FFE: cmp byte ptr [edx + 0x2c], bl */ 12064 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 12065 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12066 _flag_k = FK_NARROW(FK_CMP, 24); 12067 if (CMP_NE(_flag_a, _flag_b)) goto L_390060D7; /* 0x39006001: jne 0x390060d7 */ 12068 L_39006007: 12069 edx = MEM32(ecx); /* 0x39006007: mov edx, dword ptr [ecx] */ 12070 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39006009: cmp byte ptr [edx + 0x2c], bl */ 12071 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 12072 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12073 _flag_k = FK_NARROW(FK_CMP, 24); 12074 if (CMP_NE(_flag_a, _flag_b)) goto L_390060D7; /* 0x3900600C: jne 0x390060d7 */ 12075 L_39006012: 12076 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006012: mov byte ptr [ecx + 0x2c], 0 */ 12077 ecx = MEM32(edi + 0x4); /* 0x39006016: mov ecx, dword ptr [edi + 4] */ 12078 eax = MEM32(eax + 0x4); /* 0x39006019: mov eax, dword ptr [eax + 4] */ 12079 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900601C: cmp eax, dword ptr [ecx + 4] */ 12080 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 12081 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12082 _flag_k = FK_CMP; 12083 RECOMP_BACKEDGE(); 12084 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F28; /* 0x3900601F: jne 0x39005f28 */ 12085 L_39006025: 12086 goto L_39006176; /* 0x39006025: jmp 0x39006176 */ 12087 L_3900602A: 12088 edx = MEM32(ecx + 0x8); /* 0x3900602A: mov edx, dword ptr [ecx + 8] */ 12089 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x3900602D: cmp byte ptr [edx + 0x2c], bl */ 12090 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 12091 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12092 _flag_k = FK_NARROW(FK_CMP, 24); 12093 if (CMP_NE(_flag_a, _flag_b)) goto L_3900607B; /* 0x39006030: jne 0x3900607b */ 12094 L_39006032: 12095 edx = MEM32(ecx); /* 0x39006032: mov edx, dword ptr [ecx] */ 12096 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006034: mov byte ptr [edx + 0x2c], bl */ 12097 edx = MEM32(ecx); /* 0x39006037: mov edx, dword ptr [ecx] */ 12098 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006039: mov byte ptr [ecx + 0x2c], 0 */ 12099 esi = MEM32(edx + 0x8); /* 0x3900603D: mov esi, dword ptr [edx + 8] */ 12100 MEM32(ecx) = esi; /* 0x39006040: mov dword ptr [ecx], esi */ 12101 esi = MEM32(edx + 0x8); /* 0x39006042: mov esi, dword ptr [edx + 8] */ 12102 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006045: cmp esi, dword ptr [edi + 8] */ 12103 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 12104 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12105 _flag_k = FK_CMP; 12106 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900604D; /* 0x39006048: je 0x3900604d */ 12107 L_3900604A: 12108 MEM32(esi + 0x4) = ecx; /* 0x3900604A: mov dword ptr [esi + 4], ecx */ 12109 L_3900604D: 12110 esi = MEM32(ecx + 0x4); /* 0x3900604D: mov esi, dword ptr [ecx + 4] */ 12111 MEM32(edx + 0x4) = esi; /* 0x39006050: mov dword ptr [edx + 4], esi */ 12112 esi = MEM32(edi + 0x4); /* 0x39006053: mov esi, dword ptr [edi + 4] */ 12113 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006056: cmp ecx, dword ptr [esi + 4] */ 12114 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 12115 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12116 _flag_k = FK_CMP; 12117 if (CMP_NE(_flag_a, _flag_b)) goto L_39006060; /* 0x39006059: jne 0x39006060 */ 12118 L_3900605B: 12119 MEM32(esi + 0x4) = edx; /* 0x3900605B: mov dword ptr [esi + 4], edx */ 12120 goto L_3900606F; /* 0x3900605E: jmp 0x3900606f */ 12121 L_39006060: 12122 esi = MEM32(ecx + 0x4); /* 0x39006060: mov esi, dword ptr [ecx + 4] */ 12123 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39006063: cmp ecx, dword ptr [esi + 8] */ 12124 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12125 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12126 _flag_k = FK_CMP; 12127 if (CMP_NE(_flag_a, _flag_b)) goto L_3900606D; /* 0x39006066: jne 0x3900606d */ 12128 L_39006068: 12129 MEM32(esi + 0x8) = edx; /* 0x39006068: mov dword ptr [esi + 8], edx */ 12130 goto L_3900606F; /* 0x3900606B: jmp 0x3900606f */ 12131 L_3900606D: 12132 MEM32(esi) = edx; /* 0x3900606D: mov dword ptr [esi], edx */ 12133 L_3900606F: 12134 MEM32(edx + 0x8) = ecx; /* 0x3900606F: mov dword ptr [edx + 8], ecx */ 12135 MEM32(ecx + 0x4) = edx; /* 0x39006072: mov dword ptr [ecx + 4], edx */ 12136 ecx = MEM32(eax + 0x4); /* 0x39006075: mov ecx, dword ptr [eax + 4] */ 12137 ecx = MEM32(ecx + 0x8); /* 0x39006078: mov ecx, dword ptr [ecx + 8] */ 12138 L_3900607B: 12139 edx = MEM32(eax + 0x4); /* 0x3900607B: mov edx, dword ptr [eax + 4] */ 12140 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x3900607E: mov dl, byte ptr [edx + 0x2c] */ 12141 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39006081: mov byte ptr [ecx + 0x2c], dl */ 12142 edx = MEM32(eax + 0x4); /* 0x39006084: mov edx, dword ptr [eax + 4] */ 12143 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006087: mov byte ptr [edx + 0x2c], bl */ 12144 ecx = MEM32(ecx + 0x8); /* 0x3900608A: mov ecx, dword ptr [ecx + 8] */ 12145 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x3900608D: mov byte ptr [ecx + 0x2c], bl */ 12146 ecx = MEM32(eax + 0x4); /* 0x39006090: mov ecx, dword ptr [eax + 4] */ 12147 edx = MEM32(ecx + 0x8); /* 0x39006093: mov edx, dword ptr [ecx + 8] */ 12148 esi = MEM32(edx); /* 0x39006096: mov esi, dword ptr [edx] */ 12149 MEM32(ecx + 0x8) = esi; /* 0x39006098: mov dword ptr [ecx + 8], esi */ 12150 esi = MEM32(edx); /* 0x3900609B: mov esi, dword ptr [edx] */ 12151 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3900609D: cmp esi, dword ptr [edi + 8] */ 12152 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 12153 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12154 _flag_k = FK_CMP; 12155 if (CMP_EQ(_flag_a, _flag_b)) goto L_390060A5; /* 0x390060A0: je 0x390060a5 */ 12156 L_390060A2: 12157 MEM32(esi + 0x4) = ecx; /* 0x390060A2: mov dword ptr [esi + 4], ecx */ 12158 L_390060A5: 12159 esi = MEM32(ecx + 0x4); /* 0x390060A5: mov esi, dword ptr [ecx + 4] */ 12160 MEM32(edx + 0x4) = esi; /* 0x390060A8: mov dword ptr [edx + 4], esi */ 12161 esi = MEM32(edi + 0x4); /* 0x390060AB: mov esi, dword ptr [edi + 4] */ 12162 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390060AE: cmp ecx, dword ptr [esi + 4] */ 12163 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 12164 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12165 _flag_k = FK_CMP; 12166 if (CMP_NE(_flag_a, _flag_b)) goto L_390060BD; /* 0x390060B1: jne 0x390060bd */ 12167 L_390060B3: 12168 MEM32(esi + 0x4) = edx; /* 0x390060B3: mov dword ptr [esi + 4], edx */ 12169 MEM32(edx) = ecx; /* 0x390060B6: mov dword ptr [edx], ecx */ 12170 goto L_39006173; /* 0x390060B8: jmp 0x39006173 */ 12171 L_390060BD: 12172 esi = MEM32(ecx + 0x4); /* 0x390060BD: mov esi, dword ptr [ecx + 4] */ 12173 /* cmp ecx, MEM32(esi) */ /* 0x390060C0: cmp ecx, dword ptr [esi] */ 12174 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 12175 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12176 _flag_k = FK_CMP; 12177 if (CMP_NE(_flag_a, _flag_b)) goto L_390060CD; /* 0x390060C2: jne 0x390060cd */ 12178 L_390060C4: 12179 MEM32(esi) = edx; /* 0x390060C4: mov dword ptr [esi], edx */ 12180 MEM32(edx) = ecx; /* 0x390060C6: mov dword ptr [edx], ecx */ 12181 goto L_39006173; /* 0x390060C8: jmp 0x39006173 */ 12182 L_390060CD: 12183 MEM32(esi + 0x8) = edx; /* 0x390060CD: mov dword ptr [esi + 8], edx */ 12184 MEM32(edx) = ecx; /* 0x390060D0: mov dword ptr [edx], ecx */ 12185 goto L_39006173; /* 0x390060D2: jmp 0x39006173 */ 12186 L_390060D7: 12187 edx = MEM32(ecx); /* 0x390060D7: mov edx, dword ptr [ecx] */ 12188 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390060D9: cmp byte ptr [edx + 0x2c], bl */ 12189 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 12190 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12191 _flag_k = FK_NARROW(FK_CMP, 24); 12192 if (CMP_NE(_flag_a, _flag_b)) goto L_39006125; /* 0x390060DC: jne 0x39006125 */ 12193 L_390060DE: 12194 edx = MEM32(ecx + 0x8); /* 0x390060DE: mov edx, dword ptr [ecx + 8] */ 12195 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x390060E1: mov byte ptr [edx + 0x2c], bl */ 12196 edx = MEM32(ecx + 0x8); /* 0x390060E4: mov edx, dword ptr [ecx + 8] */ 12197 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x390060E7: mov byte ptr [ecx + 0x2c], 0 */ 12198 esi = MEM32(edx); /* 0x390060EB: mov esi, dword ptr [edx] */ 12199 MEM32(ecx + 0x8) = esi; /* 0x390060ED: mov dword ptr [ecx + 8], esi */ 12200 esi = MEM32(edx); /* 0x390060F0: mov esi, dword ptr [edx] */ 12201 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390060F2: cmp esi, dword ptr [edi + 8] */ 12202 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 12203 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12204 _flag_k = FK_CMP; 12205 if (CMP_EQ(_flag_a, _flag_b)) goto L_390060FA; /* 0x390060F5: je 0x390060fa */ 12206 L_390060F7: 12207 MEM32(esi + 0x4) = ecx; /* 0x390060F7: mov dword ptr [esi + 4], ecx */ 12208 L_390060FA: 12209 esi = MEM32(ecx + 0x4); /* 0x390060FA: mov esi, dword ptr [ecx + 4] */ 12210 MEM32(edx + 0x4) = esi; /* 0x390060FD: mov dword ptr [edx + 4], esi */ 12211 esi = MEM32(edi + 0x4); /* 0x39006100: mov esi, dword ptr [edi + 4] */ 12212 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006103: cmp ecx, dword ptr [esi + 4] */ 12213 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 12214 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12215 _flag_k = FK_CMP; 12216 if (CMP_NE(_flag_a, _flag_b)) goto L_3900610D; /* 0x39006106: jne 0x3900610d */ 12217 L_39006108: 12218 MEM32(esi + 0x4) = edx; /* 0x39006108: mov dword ptr [esi + 4], edx */ 12219 goto L_3900611B; /* 0x3900610B: jmp 0x3900611b */ 12220 L_3900610D: 12221 esi = MEM32(ecx + 0x4); /* 0x3900610D: mov esi, dword ptr [ecx + 4] */ 12222 /* cmp ecx, MEM32(esi) */ /* 0x39006110: cmp ecx, dword ptr [esi] */ 12223 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 12224 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12225 _flag_k = FK_CMP; 12226 if (CMP_NE(_flag_a, _flag_b)) goto L_39006118; /* 0x39006112: jne 0x39006118 */ 12227 L_39006114: 12228 MEM32(esi) = edx; /* 0x39006114: mov dword ptr [esi], edx */ 12229 goto L_3900611B; /* 0x39006116: jmp 0x3900611b */ 12230 L_39006118: 12231 MEM32(esi + 0x8) = edx; /* 0x39006118: mov dword ptr [esi + 8], edx */ 12232 L_3900611B: 12233 MEM32(edx) = ecx; /* 0x3900611B: mov dword ptr [edx], ecx */ 12234 MEM32(ecx + 0x4) = edx; /* 0x3900611D: mov dword ptr [ecx + 4], edx */ 12235 ecx = MEM32(eax + 0x4); /* 0x39006120: mov ecx, dword ptr [eax + 4] */ 12236 ecx = MEM32(ecx); /* 0x39006123: mov ecx, dword ptr [ecx] */ 12237 L_39006125: 12238 edx = MEM32(eax + 0x4); /* 0x39006125: mov edx, dword ptr [eax + 4] */ 12239 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x39006128: mov dl, byte ptr [edx + 0x2c] */ 12240 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x3900612B: mov byte ptr [ecx + 0x2c], dl */ 12241 edx = MEM32(eax + 0x4); /* 0x3900612E: mov edx, dword ptr [eax + 4] */ 12242 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006131: mov byte ptr [edx + 0x2c], bl */ 12243 ecx = MEM32(ecx); /* 0x39006134: mov ecx, dword ptr [ecx] */ 12244 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006136: mov byte ptr [ecx + 0x2c], bl */ 12245 ecx = MEM32(eax + 0x4); /* 0x39006139: mov ecx, dword ptr [eax + 4] */ 12246 edx = MEM32(ecx); /* 0x3900613C: mov edx, dword ptr [ecx] */ 12247 esi = MEM32(edx + 0x8); /* 0x3900613E: mov esi, dword ptr [edx + 8] */ 12248 MEM32(ecx) = esi; /* 0x39006141: mov dword ptr [ecx], esi */ 12249 esi = MEM32(edx + 0x8); /* 0x39006143: mov esi, dword ptr [edx + 8] */ 12250 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006146: cmp esi, dword ptr [edi + 8] */ 12251 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 12252 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12253 _flag_k = FK_CMP; 12254 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900614E; /* 0x39006149: je 0x3900614e */ 12255 L_3900614B: 12256 MEM32(esi + 0x4) = ecx; /* 0x3900614B: mov dword ptr [esi + 4], ecx */ 12257 L_3900614E: 12258 esi = MEM32(ecx + 0x4); /* 0x3900614E: mov esi, dword ptr [ecx + 4] */ 12259 MEM32(edx + 0x4) = esi; /* 0x39006151: mov dword ptr [edx + 4], esi */ 12260 esi = MEM32(edi + 0x4); /* 0x39006154: mov esi, dword ptr [edi + 4] */ 12261 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006157: cmp ecx, dword ptr [esi + 4] */ 12262 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 12263 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12264 _flag_k = FK_CMP; 12265 if (CMP_NE(_flag_a, _flag_b)) goto L_39006161; /* 0x3900615A: jne 0x39006161 */ 12266 L_3900615C: 12267 MEM32(esi + 0x4) = edx; /* 0x3900615C: mov dword ptr [esi + 4], edx */ 12268 goto L_39006170; /* 0x3900615F: jmp 0x39006170 */ 12269 L_39006161: 12270 esi = MEM32(ecx + 0x4); /* 0x39006161: mov esi, dword ptr [ecx + 4] */ 12271 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39006164: cmp ecx, dword ptr [esi + 8] */ 12272 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12273 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12274 _flag_k = FK_CMP; 12275 if (CMP_NE(_flag_a, _flag_b)) goto L_3900616E; /* 0x39006167: jne 0x3900616e */ 12276 L_39006169: 12277 MEM32(esi + 0x8) = edx; /* 0x39006169: mov dword ptr [esi + 8], edx */ 12278 goto L_39006170; /* 0x3900616C: jmp 0x39006170 */ 12279 L_3900616E: 12280 MEM32(esi) = edx; /* 0x3900616E: mov dword ptr [esi], edx */ 12281 L_39006170: 12282 MEM32(edx + 0x8) = ecx; /* 0x39006170: mov dword ptr [edx + 8], ecx */ 12283 L_39006173: 12284 MEM32(ecx + 0x4) = edx; /* 0x39006173: mov dword ptr [ecx + 4], edx */ 12285 L_39006176: 12286 esi = MEM32(ebp + (-0x4)); /* 0x39006176: mov esi, dword ptr [ebp - 4] */ 12287 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006179: mov byte ptr [eax + 0x2c], bl */ 12288 ecx = esi + 0xC; /* 0x3900617C: lea ecx, [esi + 0xc] */ 12289 RECOMP_ICALL(0x39004790u); /* 0x3900617F: call 0x39004790 */ /* not lifted */ 12290 RECOMP_FLAGS_IN(); 12291 PUSH32(esp, esi); /* 0x39006184: push esi */ 12292 RECOMP_ICALL(0x3900A0A0u); /* 0x39006185: call 0x3900a0a0 */ /* not lifted */ 12293 RECOMP_FLAGS_IN(); 12294 eax = MEM32(edi + 0x10); /* 0x3900618A: mov eax, dword ptr [edi + 0x10] */ 12295 edx = MEM32(ebp + 0xC); /* 0x3900618D: mov edx, dword ptr [ebp + 0xc] */ 12296 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12297 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12298 esp = esp + 4; /* 0x39006190: add esp, 4 */ 12299 _flag_k = FK_ADD; 12300 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 12301 eax = eax - 1; /* 0x39006193: dec eax */ 12302 _flag_k = FK_DEC; 12303 MEM32(edi + 0x10) = eax; /* 0x39006194: mov dword ptr [edi + 0x10], eax */ 12304 eax = MEM32(ebp + 0x8); /* 0x39006197: mov eax, dword ptr [ebp + 8] */ 12305 edi = POP32_VAL(esp); /* 0x3900619A: pop edi */ 12306 esi = POP32_VAL(esp); /* 0x3900619B: pop esi */ 12307 MEM32(eax) = edx; /* 0x3900619C: mov dword ptr [eax], edx */ 12308 ebx = POP32_VAL(esp); /* 0x3900619E: pop ebx */ 12309 esp = ebp; /* 0x3900619F: mov esp, ebp */ 12310 ebp = POP32_VAL(esp); /* 0x390061A1: pop ebp */ 12311 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x390061A2: ret 8 */ 12312 RECOMP_REGS_OUT(); 12313 } 12314 12315 void sub_39006012(void) { 12316 int _fpu_cmp = 0; 12317 uint32_t _cf = 0; 12318 int _df = 1; 12319 uint32_t _flag_k = FK_NONE; 12320 uint32_t _flag_a = 0, _flag_b = 0; 12321 uint32_t _itail_tgt = 0; 12322 RECOMP_REGS_LOCALS 12323 RECOMP_ENTER(0x39006012u); 12324 12325 goto L_39006012; 12326 L_39005F28: 12327 /* cmp MEM8(eax + 0x2C), LO8(ebx) */ /* 0x39005F28: cmp byte ptr [eax + 0x2c], bl */ 12328 _flag_a = (uint32_t)(MEM8(eax + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 12329 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12330 _flag_k = FK_NARROW(FK_CMP, 24); 12331 if (CMP_NE(_flag_a, _flag_b)) goto L_39006176; /* 0x39005F2B: jne 0x39006176 */ 12332 L_39005F31: 12333 edx = MEM32(eax + 0x4); /* 0x39005F31: mov edx, dword ptr [eax + 4] */ 12334 ecx = MEM32(edx); /* 0x39005F34: mov ecx, dword ptr [edx] */ 12335 /* cmp eax, ecx */ /* 0x39005F36: cmp eax, ecx */ 12336 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 12337 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12338 _flag_k = FK_CMP; 12339 if (CMP_NE(_flag_a, _flag_b)) goto L_39005FA8; /* 0x39005F38: jne 0x39005fa8 */ 12340 L_39005F3A: 12341 ecx = MEM32(edx + 0x8); /* 0x39005F3A: mov ecx, dword ptr [edx + 8] */ 12342 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39005F3D: mov dl, byte ptr [ecx + 0x2c] */ 12343 /* test LO8(edx), LO8(edx) */ /* 0x39005F40: test dl, dl */ 12344 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 12345 _cf = 0; 12346 _flag_k = FK_NARROW(FK_TEST, 24); 12347 if (TEST_NZ(_flag_a, _flag_b)) goto L_39005F8F; /* 0x39005F42: jne 0x39005f8f */ 12348 L_39005F44: 12349 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005F44: mov byte ptr [ecx + 0x2c], bl */ 12350 edx = MEM32(eax + 0x4); /* 0x39005F47: mov edx, dword ptr [eax + 4] */ 12351 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x39005F4A: mov byte ptr [edx + 0x2c], 0 */ 12352 ecx = MEM32(eax + 0x4); /* 0x39005F4E: mov ecx, dword ptr [eax + 4] */ 12353 edx = MEM32(ecx + 0x8); /* 0x39005F51: mov edx, dword ptr [ecx + 8] */ 12354 esi = MEM32(edx); /* 0x39005F54: mov esi, dword ptr [edx] */ 12355 MEM32(ecx + 0x8) = esi; /* 0x39005F56: mov dword ptr [ecx + 8], esi */ 12356 esi = MEM32(edx); /* 0x39005F59: mov esi, dword ptr [edx] */ 12357 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005F5B: cmp esi, dword ptr [edi + 8] */ 12358 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 12359 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12360 _flag_k = FK_CMP; 12361 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005F63; /* 0x39005F5E: je 0x39005f63 */ 12362 L_39005F60: 12363 MEM32(esi + 0x4) = ecx; /* 0x39005F60: mov dword ptr [esi + 4], ecx */ 12364 L_39005F63: 12365 esi = MEM32(ecx + 0x4); /* 0x39005F63: mov esi, dword ptr [ecx + 4] */ 12366 MEM32(edx + 0x4) = esi; /* 0x39005F66: mov dword ptr [edx + 4], esi */ 12367 esi = MEM32(edi + 0x4); /* 0x39005F69: mov esi, dword ptr [edi + 4] */ 12368 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005F6C: cmp ecx, dword ptr [esi + 4] */ 12369 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 12370 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12371 _flag_k = FK_CMP; 12372 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F76; /* 0x39005F6F: jne 0x39005f76 */ 12373 L_39005F71: 12374 MEM32(esi + 0x4) = edx; /* 0x39005F71: mov dword ptr [esi + 4], edx */ 12375 goto L_39005F84; /* 0x39005F74: jmp 0x39005f84 */ 12376 L_39005F76: 12377 esi = MEM32(ecx + 0x4); /* 0x39005F76: mov esi, dword ptr [ecx + 4] */ 12378 /* cmp ecx, MEM32(esi) */ /* 0x39005F79: cmp ecx, dword ptr [esi] */ 12379 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 12380 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12381 _flag_k = FK_CMP; 12382 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F81; /* 0x39005F7B: jne 0x39005f81 */ 12383 L_39005F7D: 12384 MEM32(esi) = edx; /* 0x39005F7D: mov dword ptr [esi], edx */ 12385 goto L_39005F84; /* 0x39005F7F: jmp 0x39005f84 */ 12386 L_39005F81: 12387 MEM32(esi + 0x8) = edx; /* 0x39005F81: mov dword ptr [esi + 8], edx */ 12388 L_39005F84: 12389 MEM32(edx) = ecx; /* 0x39005F84: mov dword ptr [edx], ecx */ 12390 MEM32(ecx + 0x4) = edx; /* 0x39005F86: mov dword ptr [ecx + 4], edx */ 12391 ecx = MEM32(eax + 0x4); /* 0x39005F89: mov ecx, dword ptr [eax + 4] */ 12392 ecx = MEM32(ecx + 0x8); /* 0x39005F8C: mov ecx, dword ptr [ecx + 8] */ 12393 L_39005F8F: 12394 edx = MEM32(ecx); /* 0x39005F8F: mov edx, dword ptr [ecx] */ 12395 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005F91: cmp byte ptr [edx + 0x2c], bl */ 12396 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 12397 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12398 _flag_k = FK_NARROW(FK_CMP, 24); 12399 if (CMP_NE(_flag_a, _flag_b)) goto L_3900602A; /* 0x39005F94: jne 0x3900602a */ 12400 L_39005F9A: 12401 edx = MEM32(ecx + 0x8); /* 0x39005F9A: mov edx, dword ptr [ecx + 8] */ 12402 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005F9D: cmp byte ptr [edx + 0x2c], bl */ 12403 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 12404 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12405 _flag_k = FK_NARROW(FK_CMP, 24); 12406 if (CMP_NE(_flag_a, _flag_b)) goto L_3900602A; /* 0x39005FA0: jne 0x3900602a */ 12407 L_39005FA6: 12408 goto L_39006012; /* 0x39005FA6: jmp 0x39006012 */ 12409 L_39005FA8: 12410 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39005FA8: mov dl, byte ptr [ecx + 0x2c] */ 12411 /* test LO8(edx), LO8(edx) */ /* 0x39005FAB: test dl, dl */ 12412 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 12413 _cf = 0; 12414 _flag_k = FK_NARROW(FK_TEST, 24); 12415 if (TEST_NZ(_flag_a, _flag_b)) goto L_39005FFB; /* 0x39005FAD: jne 0x39005ffb */ 12416 L_39005FAF: 12417 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39005FAF: mov byte ptr [ecx + 0x2c], bl */ 12418 ecx = MEM32(eax + 0x4); /* 0x39005FB2: mov ecx, dword ptr [eax + 4] */ 12419 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39005FB5: mov byte ptr [ecx + 0x2c], 0 */ 12420 ecx = MEM32(eax + 0x4); /* 0x39005FB9: mov ecx, dword ptr [eax + 4] */ 12421 edx = MEM32(ecx); /* 0x39005FBC: mov edx, dword ptr [ecx] */ 12422 esi = MEM32(edx + 0x8); /* 0x39005FBE: mov esi, dword ptr [edx + 8] */ 12423 MEM32(ecx) = esi; /* 0x39005FC1: mov dword ptr [ecx], esi */ 12424 esi = MEM32(edx + 0x8); /* 0x39005FC3: mov esi, dword ptr [edx + 8] */ 12425 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39005FC6: cmp esi, dword ptr [edi + 8] */ 12426 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 12427 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12428 _flag_k = FK_CMP; 12429 if (CMP_EQ(_flag_a, _flag_b)) goto L_39005FCE; /* 0x39005FC9: je 0x39005fce */ 12430 L_39005FCB: 12431 MEM32(esi + 0x4) = ecx; /* 0x39005FCB: mov dword ptr [esi + 4], ecx */ 12432 L_39005FCE: 12433 esi = MEM32(ecx + 0x4); /* 0x39005FCE: mov esi, dword ptr [ecx + 4] */ 12434 MEM32(edx + 0x4) = esi; /* 0x39005FD1: mov dword ptr [edx + 4], esi */ 12435 esi = MEM32(edi + 0x4); /* 0x39005FD4: mov esi, dword ptr [edi + 4] */ 12436 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39005FD7: cmp ecx, dword ptr [esi + 4] */ 12437 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 12438 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12439 _flag_k = FK_CMP; 12440 if (CMP_NE(_flag_a, _flag_b)) goto L_39005FE1; /* 0x39005FDA: jne 0x39005fe1 */ 12441 L_39005FDC: 12442 MEM32(esi + 0x4) = edx; /* 0x39005FDC: mov dword ptr [esi + 4], edx */ 12443 goto L_39005FF0; /* 0x39005FDF: jmp 0x39005ff0 */ 12444 L_39005FE1: 12445 esi = MEM32(ecx + 0x4); /* 0x39005FE1: mov esi, dword ptr [ecx + 4] */ 12446 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39005FE4: cmp ecx, dword ptr [esi + 8] */ 12447 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12448 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12449 _flag_k = FK_CMP; 12450 if (CMP_NE(_flag_a, _flag_b)) goto L_39005FEE; /* 0x39005FE7: jne 0x39005fee */ 12451 L_39005FE9: 12452 MEM32(esi + 0x8) = edx; /* 0x39005FE9: mov dword ptr [esi + 8], edx */ 12453 goto L_39005FF0; /* 0x39005FEC: jmp 0x39005ff0 */ 12454 L_39005FEE: 12455 MEM32(esi) = edx; /* 0x39005FEE: mov dword ptr [esi], edx */ 12456 L_39005FF0: 12457 MEM32(edx + 0x8) = ecx; /* 0x39005FF0: mov dword ptr [edx + 8], ecx */ 12458 MEM32(ecx + 0x4) = edx; /* 0x39005FF3: mov dword ptr [ecx + 4], edx */ 12459 edx = MEM32(eax + 0x4); /* 0x39005FF6: mov edx, dword ptr [eax + 4] */ 12460 ecx = MEM32(edx); /* 0x39005FF9: mov ecx, dword ptr [edx] */ 12461 L_39005FFB: 12462 edx = MEM32(ecx + 0x8); /* 0x39005FFB: mov edx, dword ptr [ecx + 8] */ 12463 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39005FFE: cmp byte ptr [edx + 0x2c], bl */ 12464 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 12465 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12466 _flag_k = FK_NARROW(FK_CMP, 24); 12467 if (CMP_NE(_flag_a, _flag_b)) goto L_390060D7; /* 0x39006001: jne 0x390060d7 */ 12468 L_39006007: 12469 edx = MEM32(ecx); /* 0x39006007: mov edx, dword ptr [ecx] */ 12470 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x39006009: cmp byte ptr [edx + 0x2c], bl */ 12471 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 12472 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12473 _flag_k = FK_NARROW(FK_CMP, 24); 12474 if (CMP_NE(_flag_a, _flag_b)) goto L_390060D7; /* 0x3900600C: jne 0x390060d7 */ 12475 L_39006012: 12476 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006012: mov byte ptr [ecx + 0x2c], 0 */ 12477 ecx = MEM32(edi + 0x4); /* 0x39006016: mov ecx, dword ptr [edi + 4] */ 12478 eax = MEM32(eax + 0x4); /* 0x39006019: mov eax, dword ptr [eax + 4] */ 12479 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900601C: cmp eax, dword ptr [ecx + 4] */ 12480 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 12481 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12482 _flag_k = FK_CMP; 12483 RECOMP_BACKEDGE(); 12484 if (CMP_NE(_flag_a, _flag_b)) goto L_39005F28; /* 0x3900601F: jne 0x39005f28 */ 12485 L_39006025: 12486 goto L_39006176; /* 0x39006025: jmp 0x39006176 */ 12487 L_3900602A: 12488 edx = MEM32(ecx + 0x8); /* 0x3900602A: mov edx, dword ptr [ecx + 8] */ 12489 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x3900602D: cmp byte ptr [edx + 0x2c], bl */ 12490 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 12491 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12492 _flag_k = FK_NARROW(FK_CMP, 24); 12493 if (CMP_NE(_flag_a, _flag_b)) goto L_3900607B; /* 0x39006030: jne 0x3900607b */ 12494 L_39006032: 12495 edx = MEM32(ecx); /* 0x39006032: mov edx, dword ptr [ecx] */ 12496 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006034: mov byte ptr [edx + 0x2c], bl */ 12497 edx = MEM32(ecx); /* 0x39006037: mov edx, dword ptr [ecx] */ 12498 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006039: mov byte ptr [ecx + 0x2c], 0 */ 12499 esi = MEM32(edx + 0x8); /* 0x3900603D: mov esi, dword ptr [edx + 8] */ 12500 MEM32(ecx) = esi; /* 0x39006040: mov dword ptr [ecx], esi */ 12501 esi = MEM32(edx + 0x8); /* 0x39006042: mov esi, dword ptr [edx + 8] */ 12502 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006045: cmp esi, dword ptr [edi + 8] */ 12503 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 12504 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12505 _flag_k = FK_CMP; 12506 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900604D; /* 0x39006048: je 0x3900604d */ 12507 L_3900604A: 12508 MEM32(esi + 0x4) = ecx; /* 0x3900604A: mov dword ptr [esi + 4], ecx */ 12509 L_3900604D: 12510 esi = MEM32(ecx + 0x4); /* 0x3900604D: mov esi, dword ptr [ecx + 4] */ 12511 MEM32(edx + 0x4) = esi; /* 0x39006050: mov dword ptr [edx + 4], esi */ 12512 esi = MEM32(edi + 0x4); /* 0x39006053: mov esi, dword ptr [edi + 4] */ 12513 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006056: cmp ecx, dword ptr [esi + 4] */ 12514 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 12515 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12516 _flag_k = FK_CMP; 12517 if (CMP_NE(_flag_a, _flag_b)) goto L_39006060; /* 0x39006059: jne 0x39006060 */ 12518 L_3900605B: 12519 MEM32(esi + 0x4) = edx; /* 0x3900605B: mov dword ptr [esi + 4], edx */ 12520 goto L_3900606F; /* 0x3900605E: jmp 0x3900606f */ 12521 L_39006060: 12522 esi = MEM32(ecx + 0x4); /* 0x39006060: mov esi, dword ptr [ecx + 4] */ 12523 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39006063: cmp ecx, dword ptr [esi + 8] */ 12524 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12525 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12526 _flag_k = FK_CMP; 12527 if (CMP_NE(_flag_a, _flag_b)) goto L_3900606D; /* 0x39006066: jne 0x3900606d */ 12528 L_39006068: 12529 MEM32(esi + 0x8) = edx; /* 0x39006068: mov dword ptr [esi + 8], edx */ 12530 goto L_3900606F; /* 0x3900606B: jmp 0x3900606f */ 12531 L_3900606D: 12532 MEM32(esi) = edx; /* 0x3900606D: mov dword ptr [esi], edx */ 12533 L_3900606F: 12534 MEM32(edx + 0x8) = ecx; /* 0x3900606F: mov dword ptr [edx + 8], ecx */ 12535 MEM32(ecx + 0x4) = edx; /* 0x39006072: mov dword ptr [ecx + 4], edx */ 12536 ecx = MEM32(eax + 0x4); /* 0x39006075: mov ecx, dword ptr [eax + 4] */ 12537 ecx = MEM32(ecx + 0x8); /* 0x39006078: mov ecx, dword ptr [ecx + 8] */ 12538 L_3900607B: 12539 edx = MEM32(eax + 0x4); /* 0x3900607B: mov edx, dword ptr [eax + 4] */ 12540 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x3900607E: mov dl, byte ptr [edx + 0x2c] */ 12541 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39006081: mov byte ptr [ecx + 0x2c], dl */ 12542 edx = MEM32(eax + 0x4); /* 0x39006084: mov edx, dword ptr [eax + 4] */ 12543 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006087: mov byte ptr [edx + 0x2c], bl */ 12544 ecx = MEM32(ecx + 0x8); /* 0x3900608A: mov ecx, dword ptr [ecx + 8] */ 12545 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x3900608D: mov byte ptr [ecx + 0x2c], bl */ 12546 ecx = MEM32(eax + 0x4); /* 0x39006090: mov ecx, dword ptr [eax + 4] */ 12547 edx = MEM32(ecx + 0x8); /* 0x39006093: mov edx, dword ptr [ecx + 8] */ 12548 esi = MEM32(edx); /* 0x39006096: mov esi, dword ptr [edx] */ 12549 MEM32(ecx + 0x8) = esi; /* 0x39006098: mov dword ptr [ecx + 8], esi */ 12550 esi = MEM32(edx); /* 0x3900609B: mov esi, dword ptr [edx] */ 12551 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3900609D: cmp esi, dword ptr [edi + 8] */ 12552 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 12553 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12554 _flag_k = FK_CMP; 12555 if (CMP_EQ(_flag_a, _flag_b)) goto L_390060A5; /* 0x390060A0: je 0x390060a5 */ 12556 L_390060A2: 12557 MEM32(esi + 0x4) = ecx; /* 0x390060A2: mov dword ptr [esi + 4], ecx */ 12558 L_390060A5: 12559 esi = MEM32(ecx + 0x4); /* 0x390060A5: mov esi, dword ptr [ecx + 4] */ 12560 MEM32(edx + 0x4) = esi; /* 0x390060A8: mov dword ptr [edx + 4], esi */ 12561 esi = MEM32(edi + 0x4); /* 0x390060AB: mov esi, dword ptr [edi + 4] */ 12562 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390060AE: cmp ecx, dword ptr [esi + 4] */ 12563 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 12564 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12565 _flag_k = FK_CMP; 12566 if (CMP_NE(_flag_a, _flag_b)) goto L_390060BD; /* 0x390060B1: jne 0x390060bd */ 12567 L_390060B3: 12568 MEM32(esi + 0x4) = edx; /* 0x390060B3: mov dword ptr [esi + 4], edx */ 12569 MEM32(edx) = ecx; /* 0x390060B6: mov dword ptr [edx], ecx */ 12570 goto L_39006173; /* 0x390060B8: jmp 0x39006173 */ 12571 L_390060BD: 12572 esi = MEM32(ecx + 0x4); /* 0x390060BD: mov esi, dword ptr [ecx + 4] */ 12573 /* cmp ecx, MEM32(esi) */ /* 0x390060C0: cmp ecx, dword ptr [esi] */ 12574 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 12575 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12576 _flag_k = FK_CMP; 12577 if (CMP_NE(_flag_a, _flag_b)) goto L_390060CD; /* 0x390060C2: jne 0x390060cd */ 12578 L_390060C4: 12579 MEM32(esi) = edx; /* 0x390060C4: mov dword ptr [esi], edx */ 12580 MEM32(edx) = ecx; /* 0x390060C6: mov dword ptr [edx], ecx */ 12581 goto L_39006173; /* 0x390060C8: jmp 0x39006173 */ 12582 L_390060CD: 12583 MEM32(esi + 0x8) = edx; /* 0x390060CD: mov dword ptr [esi + 8], edx */ 12584 MEM32(edx) = ecx; /* 0x390060D0: mov dword ptr [edx], ecx */ 12585 goto L_39006173; /* 0x390060D2: jmp 0x39006173 */ 12586 L_390060D7: 12587 edx = MEM32(ecx); /* 0x390060D7: mov edx, dword ptr [ecx] */ 12588 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x390060D9: cmp byte ptr [edx + 0x2c], bl */ 12589 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 12590 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12591 _flag_k = FK_NARROW(FK_CMP, 24); 12592 if (CMP_NE(_flag_a, _flag_b)) goto L_39006125; /* 0x390060DC: jne 0x39006125 */ 12593 L_390060DE: 12594 edx = MEM32(ecx + 0x8); /* 0x390060DE: mov edx, dword ptr [ecx + 8] */ 12595 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x390060E1: mov byte ptr [edx + 0x2c], bl */ 12596 edx = MEM32(ecx + 0x8); /* 0x390060E4: mov edx, dword ptr [ecx + 8] */ 12597 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x390060E7: mov byte ptr [ecx + 0x2c], 0 */ 12598 esi = MEM32(edx); /* 0x390060EB: mov esi, dword ptr [edx] */ 12599 MEM32(ecx + 0x8) = esi; /* 0x390060ED: mov dword ptr [ecx + 8], esi */ 12600 esi = MEM32(edx); /* 0x390060F0: mov esi, dword ptr [edx] */ 12601 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390060F2: cmp esi, dword ptr [edi + 8] */ 12602 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 12603 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12604 _flag_k = FK_CMP; 12605 if (CMP_EQ(_flag_a, _flag_b)) goto L_390060FA; /* 0x390060F5: je 0x390060fa */ 12606 L_390060F7: 12607 MEM32(esi + 0x4) = ecx; /* 0x390060F7: mov dword ptr [esi + 4], ecx */ 12608 L_390060FA: 12609 esi = MEM32(ecx + 0x4); /* 0x390060FA: mov esi, dword ptr [ecx + 4] */ 12610 MEM32(edx + 0x4) = esi; /* 0x390060FD: mov dword ptr [edx + 4], esi */ 12611 esi = MEM32(edi + 0x4); /* 0x39006100: mov esi, dword ptr [edi + 4] */ 12612 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006103: cmp ecx, dword ptr [esi + 4] */ 12613 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 12614 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12615 _flag_k = FK_CMP; 12616 if (CMP_NE(_flag_a, _flag_b)) goto L_3900610D; /* 0x39006106: jne 0x3900610d */ 12617 L_39006108: 12618 MEM32(esi + 0x4) = edx; /* 0x39006108: mov dword ptr [esi + 4], edx */ 12619 goto L_3900611B; /* 0x3900610B: jmp 0x3900611b */ 12620 L_3900610D: 12621 esi = MEM32(ecx + 0x4); /* 0x3900610D: mov esi, dword ptr [ecx + 4] */ 12622 /* cmp ecx, MEM32(esi) */ /* 0x39006110: cmp ecx, dword ptr [esi] */ 12623 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 12624 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12625 _flag_k = FK_CMP; 12626 if (CMP_NE(_flag_a, _flag_b)) goto L_39006118; /* 0x39006112: jne 0x39006118 */ 12627 L_39006114: 12628 MEM32(esi) = edx; /* 0x39006114: mov dword ptr [esi], edx */ 12629 goto L_3900611B; /* 0x39006116: jmp 0x3900611b */ 12630 L_39006118: 12631 MEM32(esi + 0x8) = edx; /* 0x39006118: mov dword ptr [esi + 8], edx */ 12632 L_3900611B: 12633 MEM32(edx) = ecx; /* 0x3900611B: mov dword ptr [edx], ecx */ 12634 MEM32(ecx + 0x4) = edx; /* 0x3900611D: mov dword ptr [ecx + 4], edx */ 12635 ecx = MEM32(eax + 0x4); /* 0x39006120: mov ecx, dword ptr [eax + 4] */ 12636 ecx = MEM32(ecx); /* 0x39006123: mov ecx, dword ptr [ecx] */ 12637 L_39006125: 12638 edx = MEM32(eax + 0x4); /* 0x39006125: mov edx, dword ptr [eax + 4] */ 12639 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x39006128: mov dl, byte ptr [edx + 0x2c] */ 12640 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x3900612B: mov byte ptr [ecx + 0x2c], dl */ 12641 edx = MEM32(eax + 0x4); /* 0x3900612E: mov edx, dword ptr [eax + 4] */ 12642 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006131: mov byte ptr [edx + 0x2c], bl */ 12643 ecx = MEM32(ecx); /* 0x39006134: mov ecx, dword ptr [ecx] */ 12644 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006136: mov byte ptr [ecx + 0x2c], bl */ 12645 ecx = MEM32(eax + 0x4); /* 0x39006139: mov ecx, dword ptr [eax + 4] */ 12646 edx = MEM32(ecx); /* 0x3900613C: mov edx, dword ptr [ecx] */ 12647 esi = MEM32(edx + 0x8); /* 0x3900613E: mov esi, dword ptr [edx + 8] */ 12648 MEM32(ecx) = esi; /* 0x39006141: mov dword ptr [ecx], esi */ 12649 esi = MEM32(edx + 0x8); /* 0x39006143: mov esi, dword ptr [edx + 8] */ 12650 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006146: cmp esi, dword ptr [edi + 8] */ 12651 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 12652 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12653 _flag_k = FK_CMP; 12654 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900614E; /* 0x39006149: je 0x3900614e */ 12655 L_3900614B: 12656 MEM32(esi + 0x4) = ecx; /* 0x3900614B: mov dword ptr [esi + 4], ecx */ 12657 L_3900614E: 12658 esi = MEM32(ecx + 0x4); /* 0x3900614E: mov esi, dword ptr [ecx + 4] */ 12659 MEM32(edx + 0x4) = esi; /* 0x39006151: mov dword ptr [edx + 4], esi */ 12660 esi = MEM32(edi + 0x4); /* 0x39006154: mov esi, dword ptr [edi + 4] */ 12661 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006157: cmp ecx, dword ptr [esi + 4] */ 12662 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 12663 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12664 _flag_k = FK_CMP; 12665 if (CMP_NE(_flag_a, _flag_b)) goto L_39006161; /* 0x3900615A: jne 0x39006161 */ 12666 L_3900615C: 12667 MEM32(esi + 0x4) = edx; /* 0x3900615C: mov dword ptr [esi + 4], edx */ 12668 goto L_39006170; /* 0x3900615F: jmp 0x39006170 */ 12669 L_39006161: 12670 esi = MEM32(ecx + 0x4); /* 0x39006161: mov esi, dword ptr [ecx + 4] */ 12671 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39006164: cmp ecx, dword ptr [esi + 8] */ 12672 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12673 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12674 _flag_k = FK_CMP; 12675 if (CMP_NE(_flag_a, _flag_b)) goto L_3900616E; /* 0x39006167: jne 0x3900616e */ 12676 L_39006169: 12677 MEM32(esi + 0x8) = edx; /* 0x39006169: mov dword ptr [esi + 8], edx */ 12678 goto L_39006170; /* 0x3900616C: jmp 0x39006170 */ 12679 L_3900616E: 12680 MEM32(esi) = edx; /* 0x3900616E: mov dword ptr [esi], edx */ 12681 L_39006170: 12682 MEM32(edx + 0x8) = ecx; /* 0x39006170: mov dword ptr [edx + 8], ecx */ 12683 L_39006173: 12684 MEM32(ecx + 0x4) = edx; /* 0x39006173: mov dword ptr [ecx + 4], edx */ 12685 L_39006176: 12686 esi = MEM32(ebp + (-0x4)); /* 0x39006176: mov esi, dword ptr [ebp - 4] */ 12687 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006179: mov byte ptr [eax + 0x2c], bl */ 12688 ecx = esi + 0xC; /* 0x3900617C: lea ecx, [esi + 0xc] */ 12689 RECOMP_ICALL(0x39004790u); /* 0x3900617F: call 0x39004790 */ /* not lifted */ 12690 RECOMP_FLAGS_IN(); 12691 PUSH32(esp, esi); /* 0x39006184: push esi */ 12692 RECOMP_ICALL(0x3900A0A0u); /* 0x39006185: call 0x3900a0a0 */ /* not lifted */ 12693 RECOMP_FLAGS_IN(); 12694 eax = MEM32(edi + 0x10); /* 0x3900618A: mov eax, dword ptr [edi + 0x10] */ 12695 edx = MEM32(ebp + 0xC); /* 0x3900618D: mov edx, dword ptr [ebp + 0xc] */ 12696 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12697 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12698 esp = esp + 4; /* 0x39006190: add esp, 4 */ 12699 _flag_k = FK_ADD; 12700 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 12701 eax = eax - 1; /* 0x39006193: dec eax */ 12702 _flag_k = FK_DEC; 12703 MEM32(edi + 0x10) = eax; /* 0x39006194: mov dword ptr [edi + 0x10], eax */ 12704 eax = MEM32(ebp + 0x8); /* 0x39006197: mov eax, dword ptr [ebp + 8] */ 12705 edi = POP32_VAL(esp); /* 0x3900619A: pop edi */ 12706 esi = POP32_VAL(esp); /* 0x3900619B: pop esi */ 12707 MEM32(eax) = edx; /* 0x3900619C: mov dword ptr [eax], edx */ 12708 ebx = POP32_VAL(esp); /* 0x3900619E: pop ebx */ 12709 esp = ebp; /* 0x3900619F: mov esp, ebp */ 12710 ebp = POP32_VAL(esp); /* 0x390061A1: pop ebp */ 12711 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x390061A2: ret 8 */ 12712 RECOMP_REGS_OUT(); 12713 } 12714 12715 void sub_3900602A(void) { 12716 int _fpu_cmp = 0; 12717 uint32_t _cf = 0; 12718 int _df = 1; 12719 uint32_t _flag_k = FK_NONE; 12720 uint32_t _flag_a = 0, _flag_b = 0; 12721 uint32_t _itail_tgt = 0; 12722 RECOMP_REGS_LOCALS 12723 RECOMP_ENTER(0x3900602Au); 12724 12725 L_3900602A: 12726 edx = MEM32(ecx + 0x8); /* 0x3900602A: mov edx, dword ptr [ecx + 8] */ 12727 /* cmp MEM8(edx + 0x2C), LO8(ebx) */ /* 0x3900602D: cmp byte ptr [edx + 0x2c], bl */ 12728 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 12729 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12730 _flag_k = FK_NARROW(FK_CMP, 24); 12731 if (CMP_NE(_flag_a, _flag_b)) goto L_3900607B; /* 0x39006030: jne 0x3900607b */ 12732 L_39006032: 12733 edx = MEM32(ecx); /* 0x39006032: mov edx, dword ptr [ecx] */ 12734 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006034: mov byte ptr [edx + 0x2c], bl */ 12735 edx = MEM32(ecx); /* 0x39006037: mov edx, dword ptr [ecx] */ 12736 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006039: mov byte ptr [ecx + 0x2c], 0 */ 12737 esi = MEM32(edx + 0x8); /* 0x3900603D: mov esi, dword ptr [edx + 8] */ 12738 MEM32(ecx) = esi; /* 0x39006040: mov dword ptr [ecx], esi */ 12739 esi = MEM32(edx + 0x8); /* 0x39006042: mov esi, dword ptr [edx + 8] */ 12740 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006045: cmp esi, dword ptr [edi + 8] */ 12741 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 12742 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12743 _flag_k = FK_CMP; 12744 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900604D; /* 0x39006048: je 0x3900604d */ 12745 L_3900604A: 12746 MEM32(esi + 0x4) = ecx; /* 0x3900604A: mov dword ptr [esi + 4], ecx */ 12747 L_3900604D: 12748 esi = MEM32(ecx + 0x4); /* 0x3900604D: mov esi, dword ptr [ecx + 4] */ 12749 MEM32(edx + 0x4) = esi; /* 0x39006050: mov dword ptr [edx + 4], esi */ 12750 esi = MEM32(edi + 0x4); /* 0x39006053: mov esi, dword ptr [edi + 4] */ 12751 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006056: cmp ecx, dword ptr [esi + 4] */ 12752 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 12753 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12754 _flag_k = FK_CMP; 12755 if (CMP_NE(_flag_a, _flag_b)) goto L_39006060; /* 0x39006059: jne 0x39006060 */ 12756 L_3900605B: 12757 MEM32(esi + 0x4) = edx; /* 0x3900605B: mov dword ptr [esi + 4], edx */ 12758 goto L_3900606F; /* 0x3900605E: jmp 0x3900606f */ 12759 L_39006060: 12760 esi = MEM32(ecx + 0x4); /* 0x39006060: mov esi, dword ptr [ecx + 4] */ 12761 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39006063: cmp ecx, dword ptr [esi + 8] */ 12762 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12763 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12764 _flag_k = FK_CMP; 12765 if (CMP_NE(_flag_a, _flag_b)) goto L_3900606D; /* 0x39006066: jne 0x3900606d */ 12766 L_39006068: 12767 MEM32(esi + 0x8) = edx; /* 0x39006068: mov dword ptr [esi + 8], edx */ 12768 goto L_3900606F; /* 0x3900606B: jmp 0x3900606f */ 12769 L_3900606D: 12770 MEM32(esi) = edx; /* 0x3900606D: mov dword ptr [esi], edx */ 12771 L_3900606F: 12772 MEM32(edx + 0x8) = ecx; /* 0x3900606F: mov dword ptr [edx + 8], ecx */ 12773 MEM32(ecx + 0x4) = edx; /* 0x39006072: mov dword ptr [ecx + 4], edx */ 12774 ecx = MEM32(eax + 0x4); /* 0x39006075: mov ecx, dword ptr [eax + 4] */ 12775 ecx = MEM32(ecx + 0x8); /* 0x39006078: mov ecx, dword ptr [ecx + 8] */ 12776 L_3900607B: 12777 edx = MEM32(eax + 0x4); /* 0x3900607B: mov edx, dword ptr [eax + 4] */ 12778 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x3900607E: mov dl, byte ptr [edx + 0x2c] */ 12779 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39006081: mov byte ptr [ecx + 0x2c], dl */ 12780 edx = MEM32(eax + 0x4); /* 0x39006084: mov edx, dword ptr [eax + 4] */ 12781 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006087: mov byte ptr [edx + 0x2c], bl */ 12782 ecx = MEM32(ecx + 0x8); /* 0x3900608A: mov ecx, dword ptr [ecx + 8] */ 12783 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x3900608D: mov byte ptr [ecx + 0x2c], bl */ 12784 ecx = MEM32(eax + 0x4); /* 0x39006090: mov ecx, dword ptr [eax + 4] */ 12785 edx = MEM32(ecx + 0x8); /* 0x39006093: mov edx, dword ptr [ecx + 8] */ 12786 esi = MEM32(edx); /* 0x39006096: mov esi, dword ptr [edx] */ 12787 MEM32(ecx + 0x8) = esi; /* 0x39006098: mov dword ptr [ecx + 8], esi */ 12788 esi = MEM32(edx); /* 0x3900609B: mov esi, dword ptr [edx] */ 12789 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3900609D: cmp esi, dword ptr [edi + 8] */ 12790 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 12791 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12792 _flag_k = FK_CMP; 12793 if (CMP_EQ(_flag_a, _flag_b)) goto L_390060A5; /* 0x390060A0: je 0x390060a5 */ 12794 L_390060A2: 12795 MEM32(esi + 0x4) = ecx; /* 0x390060A2: mov dword ptr [esi + 4], ecx */ 12796 L_390060A5: 12797 esi = MEM32(ecx + 0x4); /* 0x390060A5: mov esi, dword ptr [ecx + 4] */ 12798 MEM32(edx + 0x4) = esi; /* 0x390060A8: mov dword ptr [edx + 4], esi */ 12799 esi = MEM32(edi + 0x4); /* 0x390060AB: mov esi, dword ptr [edi + 4] */ 12800 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390060AE: cmp ecx, dword ptr [esi + 4] */ 12801 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 12802 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12803 _flag_k = FK_CMP; 12804 if (CMP_NE(_flag_a, _flag_b)) goto L_390060BD; /* 0x390060B1: jne 0x390060bd */ 12805 L_390060B3: 12806 MEM32(esi + 0x4) = edx; /* 0x390060B3: mov dword ptr [esi + 4], edx */ 12807 MEM32(edx) = ecx; /* 0x390060B6: mov dword ptr [edx], ecx */ 12808 goto L_39006173; /* 0x390060B8: jmp 0x39006173 */ 12809 L_390060BD: 12810 esi = MEM32(ecx + 0x4); /* 0x390060BD: mov esi, dword ptr [ecx + 4] */ 12811 /* cmp ecx, MEM32(esi) */ /* 0x390060C0: cmp ecx, dword ptr [esi] */ 12812 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 12813 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12814 _flag_k = FK_CMP; 12815 if (CMP_NE(_flag_a, _flag_b)) goto L_390060CD; /* 0x390060C2: jne 0x390060cd */ 12816 L_390060C4: 12817 MEM32(esi) = edx; /* 0x390060C4: mov dword ptr [esi], edx */ 12818 MEM32(edx) = ecx; /* 0x390060C6: mov dword ptr [edx], ecx */ 12819 goto L_39006173; /* 0x390060C8: jmp 0x39006173 */ 12820 L_390060CD: 12821 MEM32(esi + 0x8) = edx; /* 0x390060CD: mov dword ptr [esi + 8], edx */ 12822 MEM32(edx) = ecx; /* 0x390060D0: mov dword ptr [edx], ecx */ 12823 goto L_39006173; /* 0x390060D2: jmp 0x39006173 */ 12824 L_39006173: 12825 MEM32(ecx + 0x4) = edx; /* 0x39006173: mov dword ptr [ecx + 4], edx */ 12826 esi = MEM32(ebp + (-0x4)); /* 0x39006176: mov esi, dword ptr [ebp - 4] */ 12827 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006179: mov byte ptr [eax + 0x2c], bl */ 12828 ecx = esi + 0xC; /* 0x3900617C: lea ecx, [esi + 0xc] */ 12829 RECOMP_ICALL(0x39004790u); /* 0x3900617F: call 0x39004790 */ /* not lifted */ 12830 RECOMP_FLAGS_IN(); 12831 PUSH32(esp, esi); /* 0x39006184: push esi */ 12832 RECOMP_ICALL(0x3900A0A0u); /* 0x39006185: call 0x3900a0a0 */ /* not lifted */ 12833 RECOMP_FLAGS_IN(); 12834 eax = MEM32(edi + 0x10); /* 0x3900618A: mov eax, dword ptr [edi + 0x10] */ 12835 edx = MEM32(ebp + 0xC); /* 0x3900618D: mov edx, dword ptr [ebp + 0xc] */ 12836 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12837 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12838 esp = esp + 4; /* 0x39006190: add esp, 4 */ 12839 _flag_k = FK_ADD; 12840 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 12841 eax = eax - 1; /* 0x39006193: dec eax */ 12842 _flag_k = FK_DEC; 12843 MEM32(edi + 0x10) = eax; /* 0x39006194: mov dword ptr [edi + 0x10], eax */ 12844 eax = MEM32(ebp + 0x8); /* 0x39006197: mov eax, dword ptr [ebp + 8] */ 12845 edi = POP32_VAL(esp); /* 0x3900619A: pop edi */ 12846 esi = POP32_VAL(esp); /* 0x3900619B: pop esi */ 12847 MEM32(eax) = edx; /* 0x3900619C: mov dword ptr [eax], edx */ 12848 ebx = POP32_VAL(esp); /* 0x3900619E: pop ebx */ 12849 esp = ebp; /* 0x3900619F: mov esp, ebp */ 12850 ebp = POP32_VAL(esp); /* 0x390061A1: pop ebp */ 12851 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x390061A2: ret 8 */ 12852 RECOMP_REGS_OUT(); 12853 } 12854 12855 void sub_3900606F(void) { 12856 int _fpu_cmp = 0; 12857 uint32_t _cf = 0; 12858 int _df = 1; 12859 uint32_t _flag_k = FK_NONE; 12860 uint32_t _flag_a = 0, _flag_b = 0; 12861 uint32_t _itail_tgt = 0; 12862 RECOMP_REGS_LOCALS 12863 RECOMP_ENTER(0x3900606Fu); 12864 12865 L_3900606F: 12866 MEM32(edx + 0x8) = ecx; /* 0x3900606F: mov dword ptr [edx + 8], ecx */ 12867 MEM32(ecx + 0x4) = edx; /* 0x39006072: mov dword ptr [ecx + 4], edx */ 12868 ecx = MEM32(eax + 0x4); /* 0x39006075: mov ecx, dword ptr [eax + 4] */ 12869 ecx = MEM32(ecx + 0x8); /* 0x39006078: mov ecx, dword ptr [ecx + 8] */ 12870 edx = MEM32(eax + 0x4); /* 0x3900607B: mov edx, dword ptr [eax + 4] */ 12871 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x3900607E: mov dl, byte ptr [edx + 0x2c] */ 12872 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x39006081: mov byte ptr [ecx + 0x2c], dl */ 12873 edx = MEM32(eax + 0x4); /* 0x39006084: mov edx, dword ptr [eax + 4] */ 12874 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006087: mov byte ptr [edx + 0x2c], bl */ 12875 ecx = MEM32(ecx + 0x8); /* 0x3900608A: mov ecx, dword ptr [ecx + 8] */ 12876 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x3900608D: mov byte ptr [ecx + 0x2c], bl */ 12877 ecx = MEM32(eax + 0x4); /* 0x39006090: mov ecx, dword ptr [eax + 4] */ 12878 edx = MEM32(ecx + 0x8); /* 0x39006093: mov edx, dword ptr [ecx + 8] */ 12879 esi = MEM32(edx); /* 0x39006096: mov esi, dword ptr [edx] */ 12880 MEM32(ecx + 0x8) = esi; /* 0x39006098: mov dword ptr [ecx + 8], esi */ 12881 esi = MEM32(edx); /* 0x3900609B: mov esi, dword ptr [edx] */ 12882 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3900609D: cmp esi, dword ptr [edi + 8] */ 12883 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 12884 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12885 _flag_k = FK_CMP; 12886 if (CMP_EQ(_flag_a, _flag_b)) goto L_390060A5; /* 0x390060A0: je 0x390060a5 */ 12887 L_390060A2: 12888 MEM32(esi + 0x4) = ecx; /* 0x390060A2: mov dword ptr [esi + 4], ecx */ 12889 L_390060A5: 12890 esi = MEM32(ecx + 0x4); /* 0x390060A5: mov esi, dword ptr [ecx + 4] */ 12891 MEM32(edx + 0x4) = esi; /* 0x390060A8: mov dword ptr [edx + 4], esi */ 12892 esi = MEM32(edi + 0x4); /* 0x390060AB: mov esi, dword ptr [edi + 4] */ 12893 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390060AE: cmp ecx, dword ptr [esi + 4] */ 12894 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 12895 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12896 _flag_k = FK_CMP; 12897 if (CMP_NE(_flag_a, _flag_b)) goto L_390060BD; /* 0x390060B1: jne 0x390060bd */ 12898 L_390060B3: 12899 MEM32(esi + 0x4) = edx; /* 0x390060B3: mov dword ptr [esi + 4], edx */ 12900 MEM32(edx) = ecx; /* 0x390060B6: mov dword ptr [edx], ecx */ 12901 goto L_39006173; /* 0x390060B8: jmp 0x39006173 */ 12902 L_390060BD: 12903 esi = MEM32(ecx + 0x4); /* 0x390060BD: mov esi, dword ptr [ecx + 4] */ 12904 /* cmp ecx, MEM32(esi) */ /* 0x390060C0: cmp ecx, dword ptr [esi] */ 12905 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 12906 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12907 _flag_k = FK_CMP; 12908 if (CMP_NE(_flag_a, _flag_b)) goto L_390060CD; /* 0x390060C2: jne 0x390060cd */ 12909 L_390060C4: 12910 MEM32(esi) = edx; /* 0x390060C4: mov dword ptr [esi], edx */ 12911 MEM32(edx) = ecx; /* 0x390060C6: mov dword ptr [edx], ecx */ 12912 goto L_39006173; /* 0x390060C8: jmp 0x39006173 */ 12913 L_390060CD: 12914 MEM32(esi + 0x8) = edx; /* 0x390060CD: mov dword ptr [esi + 8], edx */ 12915 MEM32(edx) = ecx; /* 0x390060D0: mov dword ptr [edx], ecx */ 12916 goto L_39006173; /* 0x390060D2: jmp 0x39006173 */ 12917 L_39006173: 12918 MEM32(ecx + 0x4) = edx; /* 0x39006173: mov dword ptr [ecx + 4], edx */ 12919 esi = MEM32(ebp + (-0x4)); /* 0x39006176: mov esi, dword ptr [ebp - 4] */ 12920 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006179: mov byte ptr [eax + 0x2c], bl */ 12921 ecx = esi + 0xC; /* 0x3900617C: lea ecx, [esi + 0xc] */ 12922 RECOMP_ICALL(0x39004790u); /* 0x3900617F: call 0x39004790 */ /* not lifted */ 12923 RECOMP_FLAGS_IN(); 12924 PUSH32(esp, esi); /* 0x39006184: push esi */ 12925 RECOMP_ICALL(0x3900A0A0u); /* 0x39006185: call 0x3900a0a0 */ /* not lifted */ 12926 RECOMP_FLAGS_IN(); 12927 eax = MEM32(edi + 0x10); /* 0x3900618A: mov eax, dword ptr [edi + 0x10] */ 12928 edx = MEM32(ebp + 0xC); /* 0x3900618D: mov edx, dword ptr [ebp + 0xc] */ 12929 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12930 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12931 esp = esp + 4; /* 0x39006190: add esp, 4 */ 12932 _flag_k = FK_ADD; 12933 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 12934 eax = eax - 1; /* 0x39006193: dec eax */ 12935 _flag_k = FK_DEC; 12936 MEM32(edi + 0x10) = eax; /* 0x39006194: mov dword ptr [edi + 0x10], eax */ 12937 eax = MEM32(ebp + 0x8); /* 0x39006197: mov eax, dword ptr [ebp + 8] */ 12938 edi = POP32_VAL(esp); /* 0x3900619A: pop edi */ 12939 esi = POP32_VAL(esp); /* 0x3900619B: pop esi */ 12940 MEM32(eax) = edx; /* 0x3900619C: mov dword ptr [eax], edx */ 12941 ebx = POP32_VAL(esp); /* 0x3900619E: pop ebx */ 12942 esp = ebp; /* 0x3900619F: mov esp, ebp */ 12943 ebp = POP32_VAL(esp); /* 0x390061A1: pop ebp */ 12944 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x390061A2: ret 8 */ 12945 RECOMP_REGS_OUT(); 12946 } 12947 12948 void sub_3900611B(void) { 12949 int _fpu_cmp = 0; 12950 uint32_t _cf = 0; 12951 int _df = 1; 12952 uint32_t _flag_k = FK_NONE; 12953 uint32_t _flag_a = 0, _flag_b = 0; 12954 uint32_t _itail_tgt = 0; 12955 RECOMP_REGS_LOCALS 12956 RECOMP_ENTER(0x3900611Bu); 12957 12958 L_3900611B: 12959 MEM32(edx) = ecx; /* 0x3900611B: mov dword ptr [edx], ecx */ 12960 MEM32(ecx + 0x4) = edx; /* 0x3900611D: mov dword ptr [ecx + 4], edx */ 12961 ecx = MEM32(eax + 0x4); /* 0x39006120: mov ecx, dword ptr [eax + 4] */ 12962 ecx = MEM32(ecx); /* 0x39006123: mov ecx, dword ptr [ecx] */ 12963 edx = MEM32(eax + 0x4); /* 0x39006125: mov edx, dword ptr [eax + 4] */ 12964 SET_LO8(edx, MEM8(edx + 0x2C)); /* 0x39006128: mov dl, byte ptr [edx + 0x2c] */ 12965 MEM8(ecx + 0x2C) = (uint8_t)(LO8(edx)); /* 0x3900612B: mov byte ptr [ecx + 0x2c], dl */ 12966 edx = MEM32(eax + 0x4); /* 0x3900612E: mov edx, dword ptr [eax + 4] */ 12967 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006131: mov byte ptr [edx + 0x2c], bl */ 12968 ecx = MEM32(ecx); /* 0x39006134: mov ecx, dword ptr [ecx] */ 12969 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006136: mov byte ptr [ecx + 0x2c], bl */ 12970 ecx = MEM32(eax + 0x4); /* 0x39006139: mov ecx, dword ptr [eax + 4] */ 12971 edx = MEM32(ecx); /* 0x3900613C: mov edx, dword ptr [ecx] */ 12972 esi = MEM32(edx + 0x8); /* 0x3900613E: mov esi, dword ptr [edx + 8] */ 12973 MEM32(ecx) = esi; /* 0x39006141: mov dword ptr [ecx], esi */ 12974 esi = MEM32(edx + 0x8); /* 0x39006143: mov esi, dword ptr [edx + 8] */ 12975 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006146: cmp esi, dword ptr [edi + 8] */ 12976 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 12977 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12978 _flag_k = FK_CMP; 12979 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900614E; /* 0x39006149: je 0x3900614e */ 12980 L_3900614B: 12981 MEM32(esi + 0x4) = ecx; /* 0x3900614B: mov dword ptr [esi + 4], ecx */ 12982 L_3900614E: 12983 esi = MEM32(ecx + 0x4); /* 0x3900614E: mov esi, dword ptr [ecx + 4] */ 12984 MEM32(edx + 0x4) = esi; /* 0x39006151: mov dword ptr [edx + 4], esi */ 12985 esi = MEM32(edi + 0x4); /* 0x39006154: mov esi, dword ptr [edi + 4] */ 12986 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006157: cmp ecx, dword ptr [esi + 4] */ 12987 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 12988 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12989 _flag_k = FK_CMP; 12990 if (CMP_NE(_flag_a, _flag_b)) goto L_39006161; /* 0x3900615A: jne 0x39006161 */ 12991 L_3900615C: 12992 MEM32(esi + 0x4) = edx; /* 0x3900615C: mov dword ptr [esi + 4], edx */ 12993 goto L_39006170; /* 0x3900615F: jmp 0x39006170 */ 12994 L_39006161: 12995 esi = MEM32(ecx + 0x4); /* 0x39006161: mov esi, dword ptr [ecx + 4] */ 12996 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39006164: cmp ecx, dword ptr [esi + 8] */ 12997 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12998 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12999 _flag_k = FK_CMP; 13000 if (CMP_NE(_flag_a, _flag_b)) goto L_3900616E; /* 0x39006167: jne 0x3900616e */ 13001 L_39006169: 13002 MEM32(esi + 0x8) = edx; /* 0x39006169: mov dword ptr [esi + 8], edx */ 13003 goto L_39006170; /* 0x3900616C: jmp 0x39006170 */ 13004 L_3900616E: 13005 MEM32(esi) = edx; /* 0x3900616E: mov dword ptr [esi], edx */ 13006 L_39006170: 13007 MEM32(edx + 0x8) = ecx; /* 0x39006170: mov dword ptr [edx + 8], ecx */ 13008 MEM32(ecx + 0x4) = edx; /* 0x39006173: mov dword ptr [ecx + 4], edx */ 13009 esi = MEM32(ebp + (-0x4)); /* 0x39006176: mov esi, dword ptr [ebp - 4] */ 13010 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006179: mov byte ptr [eax + 0x2c], bl */ 13011 ecx = esi + 0xC; /* 0x3900617C: lea ecx, [esi + 0xc] */ 13012 RECOMP_ICALL(0x39004790u); /* 0x3900617F: call 0x39004790 */ /* not lifted */ 13013 RECOMP_FLAGS_IN(); 13014 PUSH32(esp, esi); /* 0x39006184: push esi */ 13015 RECOMP_ICALL(0x3900A0A0u); /* 0x39006185: call 0x3900a0a0 */ /* not lifted */ 13016 RECOMP_FLAGS_IN(); 13017 eax = MEM32(edi + 0x10); /* 0x3900618A: mov eax, dword ptr [edi + 0x10] */ 13018 edx = MEM32(ebp + 0xC); /* 0x3900618D: mov edx, dword ptr [ebp + 0xc] */ 13019 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13020 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13021 esp = esp + 4; /* 0x39006190: add esp, 4 */ 13022 _flag_k = FK_ADD; 13023 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 13024 eax = eax - 1; /* 0x39006193: dec eax */ 13025 _flag_k = FK_DEC; 13026 MEM32(edi + 0x10) = eax; /* 0x39006194: mov dword ptr [edi + 0x10], eax */ 13027 eax = MEM32(ebp + 0x8); /* 0x39006197: mov eax, dword ptr [ebp + 8] */ 13028 edi = POP32_VAL(esp); /* 0x3900619A: pop edi */ 13029 esi = POP32_VAL(esp); /* 0x3900619B: pop esi */ 13030 MEM32(eax) = edx; /* 0x3900619C: mov dword ptr [eax], edx */ 13031 ebx = POP32_VAL(esp); /* 0x3900619E: pop ebx */ 13032 esp = ebp; /* 0x3900619F: mov esp, ebp */ 13033 ebp = POP32_VAL(esp); /* 0x390061A1: pop ebp */ 13034 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x390061A2: ret 8 */ 13035 RECOMP_REGS_OUT(); 13036 } 13037 13038 void sub_39006170(void) { 13039 int _fpu_cmp = 0; 13040 uint32_t _cf = 0; 13041 int _df = 1; 13042 uint32_t _flag_k = FK_NONE; 13043 uint32_t _flag_a = 0, _flag_b = 0; 13044 uint32_t _itail_tgt = 0; 13045 RECOMP_REGS_LOCALS 13046 RECOMP_ENTER(0x39006170u); 13047 13048 L_39006170: 13049 MEM32(edx + 0x8) = ecx; /* 0x39006170: mov dword ptr [edx + 8], ecx */ 13050 MEM32(ecx + 0x4) = edx; /* 0x39006173: mov dword ptr [ecx + 4], edx */ 13051 esi = MEM32(ebp + (-0x4)); /* 0x39006176: mov esi, dword ptr [ebp - 4] */ 13052 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006179: mov byte ptr [eax + 0x2c], bl */ 13053 ecx = esi + 0xC; /* 0x3900617C: lea ecx, [esi + 0xc] */ 13054 RECOMP_ICALL(0x39004790u); /* 0x3900617F: call 0x39004790 */ /* not lifted */ 13055 RECOMP_FLAGS_IN(); 13056 PUSH32(esp, esi); /* 0x39006184: push esi */ 13057 RECOMP_ICALL(0x3900A0A0u); /* 0x39006185: call 0x3900a0a0 */ /* not lifted */ 13058 RECOMP_FLAGS_IN(); 13059 eax = MEM32(edi + 0x10); /* 0x3900618A: mov eax, dword ptr [edi + 0x10] */ 13060 edx = MEM32(ebp + 0xC); /* 0x3900618D: mov edx, dword ptr [ebp + 0xc] */ 13061 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13062 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13063 esp = esp + 4; /* 0x39006190: add esp, 4 */ 13064 _flag_k = FK_ADD; 13065 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 13066 eax = eax - 1; /* 0x39006193: dec eax */ 13067 _flag_k = FK_DEC; 13068 MEM32(edi + 0x10) = eax; /* 0x39006194: mov dword ptr [edi + 0x10], eax */ 13069 eax = MEM32(ebp + 0x8); /* 0x39006197: mov eax, dword ptr [ebp + 8] */ 13070 edi = POP32_VAL(esp); /* 0x3900619A: pop edi */ 13071 esi = POP32_VAL(esp); /* 0x3900619B: pop esi */ 13072 MEM32(eax) = edx; /* 0x3900619C: mov dword ptr [eax], edx */ 13073 ebx = POP32_VAL(esp); /* 0x3900619E: pop ebx */ 13074 esp = ebp; /* 0x3900619F: mov esp, ebp */ 13075 ebp = POP32_VAL(esp); /* 0x390061A1: pop ebp */ 13076 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x390061A2: ret 8 */ 13077 RECOMP_REGS_OUT(); 13078 } 13079 13080 void sub_39006173(void) { 13081 int _fpu_cmp = 0; 13082 uint32_t _cf = 0; 13083 int _df = 1; 13084 uint32_t _flag_k = FK_NONE; 13085 uint32_t _flag_a = 0, _flag_b = 0; 13086 uint32_t _itail_tgt = 0; 13087 RECOMP_REGS_LOCALS 13088 RECOMP_ENTER(0x39006173u); 13089 13090 L_39006173: 13091 MEM32(ecx + 0x4) = edx; /* 0x39006173: mov dword ptr [ecx + 4], edx */ 13092 esi = MEM32(ebp + (-0x4)); /* 0x39006176: mov esi, dword ptr [ebp - 4] */ 13093 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006179: mov byte ptr [eax + 0x2c], bl */ 13094 ecx = esi + 0xC; /* 0x3900617C: lea ecx, [esi + 0xc] */ 13095 RECOMP_ICALL(0x39004790u); /* 0x3900617F: call 0x39004790 */ /* not lifted */ 13096 RECOMP_FLAGS_IN(); 13097 PUSH32(esp, esi); /* 0x39006184: push esi */ 13098 RECOMP_ICALL(0x3900A0A0u); /* 0x39006185: call 0x3900a0a0 */ /* not lifted */ 13099 RECOMP_FLAGS_IN(); 13100 eax = MEM32(edi + 0x10); /* 0x3900618A: mov eax, dword ptr [edi + 0x10] */ 13101 edx = MEM32(ebp + 0xC); /* 0x3900618D: mov edx, dword ptr [ebp + 0xc] */ 13102 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13103 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13104 esp = esp + 4; /* 0x39006190: add esp, 4 */ 13105 _flag_k = FK_ADD; 13106 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 13107 eax = eax - 1; /* 0x39006193: dec eax */ 13108 _flag_k = FK_DEC; 13109 MEM32(edi + 0x10) = eax; /* 0x39006194: mov dword ptr [edi + 0x10], eax */ 13110 eax = MEM32(ebp + 0x8); /* 0x39006197: mov eax, dword ptr [ebp + 8] */ 13111 edi = POP32_VAL(esp); /* 0x3900619A: pop edi */ 13112 esi = POP32_VAL(esp); /* 0x3900619B: pop esi */ 13113 MEM32(eax) = edx; /* 0x3900619C: mov dword ptr [eax], edx */ 13114 ebx = POP32_VAL(esp); /* 0x3900619E: pop ebx */ 13115 esp = ebp; /* 0x3900619F: mov esp, ebp */ 13116 ebp = POP32_VAL(esp); /* 0x390061A1: pop ebp */ 13117 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x390061A2: ret 8 */ 13118 RECOMP_REGS_OUT(); 13119 } 13120 13121 void sub_39006176(void) { 13122 int _fpu_cmp = 0; 13123 uint32_t _cf = 0; 13124 int _df = 1; 13125 uint32_t _flag_k = FK_NONE; 13126 uint32_t _flag_a = 0, _flag_b = 0; 13127 uint32_t _itail_tgt = 0; 13128 RECOMP_REGS_LOCALS 13129 RECOMP_ENTER(0x39006176u); 13130 13131 L_39006176: 13132 esi = MEM32(ebp + (-0x4)); /* 0x39006176: mov esi, dword ptr [ebp - 4] */ 13133 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006179: mov byte ptr [eax + 0x2c], bl */ 13134 ecx = esi + 0xC; /* 0x3900617C: lea ecx, [esi + 0xc] */ 13135 RECOMP_ICALL(0x39004790u); /* 0x3900617F: call 0x39004790 */ /* not lifted */ 13136 RECOMP_FLAGS_IN(); 13137 PUSH32(esp, esi); /* 0x39006184: push esi */ 13138 RECOMP_ICALL(0x3900A0A0u); /* 0x39006185: call 0x3900a0a0 */ /* not lifted */ 13139 RECOMP_FLAGS_IN(); 13140 eax = MEM32(edi + 0x10); /* 0x3900618A: mov eax, dword ptr [edi + 0x10] */ 13141 edx = MEM32(ebp + 0xC); /* 0x3900618D: mov edx, dword ptr [ebp + 0xc] */ 13142 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13143 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13144 esp = esp + 4; /* 0x39006190: add esp, 4 */ 13145 _flag_k = FK_ADD; 13146 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 13147 eax = eax - 1; /* 0x39006193: dec eax */ 13148 _flag_k = FK_DEC; 13149 MEM32(edi + 0x10) = eax; /* 0x39006194: mov dword ptr [edi + 0x10], eax */ 13150 eax = MEM32(ebp + 0x8); /* 0x39006197: mov eax, dword ptr [ebp + 8] */ 13151 edi = POP32_VAL(esp); /* 0x3900619A: pop edi */ 13152 esi = POP32_VAL(esp); /* 0x3900619B: pop esi */ 13153 MEM32(eax) = edx; /* 0x3900619C: mov dword ptr [eax], edx */ 13154 ebx = POP32_VAL(esp); /* 0x3900619E: pop ebx */ 13155 esp = ebp; /* 0x3900619F: mov esp, ebp */ 13156 ebp = POP32_VAL(esp); /* 0x390061A1: pop ebp */ 13157 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x390061A2: ret 8 */ 13158 RECOMP_REGS_OUT(); 13159 } 13160 13161 void sub_390061B0(void) { 13162 int _fpu_cmp = 0; 13163 uint32_t _cf = 0; 13164 int _df = 1; 13165 uint32_t _flag_k = FK_NONE; 13166 uint32_t _flag_a = 0, _flag_b = 0; 13167 uint32_t _itail_tgt = 0; 13168 RECOMP_REGS_LOCALS 13169 RECOMP_ENTER(0x390061B0u); 13170 13171 L_390061B0: 13172 PUSH32(esp, ebp); /* 0x390061B0: push ebp */ 13173 ebp = esp; /* 0x390061B1: mov ebp, esp */ 13174 PUSH32(esp, ebx); /* 0x390061B3: push ebx */ 13175 PUSH32(esp, esi); /* 0x390061B4: push esi */ 13176 PUSH32(esp, edi); /* 0x390061B5: push edi */ 13177 edi = ecx; /* 0x390061B6: mov edi, ecx */ 13178 eax = MEM32(edi + 0x4); /* 0x390061B8: mov eax, dword ptr [edi + 4] */ 13179 ebx = eax; /* 0x390061BB: mov ebx, eax */ 13180 esi = MEM32(eax + 0x4); /* 0x390061BD: mov esi, dword ptr [eax + 4] */ 13181 eax = MEM32(edi + 0x8); /* 0x390061C0: mov eax, dword ptr [edi + 8] */ 13182 /* cmp esi, eax */ /* 0x390061C3: cmp esi, eax */ 13183 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 13184 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13185 _flag_k = FK_CMP; 13186 if (CMP_EQ(_flag_a, _flag_b)) goto L_390061EA; /* 0x390061C5: je 0x390061ea */ 13187 L_390061C7: 13188 eax = MEM32(ebp + 0xC); /* 0x390061C7: mov eax, dword ptr [ebp + 0xc] */ 13189 ecx = esi + 0xC; /* 0x390061CA: lea ecx, [esi + 0xc] */ 13190 PUSH32(esp, eax); /* 0x390061CD: push eax */ 13191 PUSH32(esp, ecx); /* 0x390061CE: push ecx */ 13192 RECOMP_ICALL(MEM32(0x3900B030)); /* 0x390061CF: call dword ptr [0x3900b030] */ 13193 RECOMP_FLAGS_IN(); 13194 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 13195 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13196 esp = esp + 8; /* 0x390061D5: add esp, 8 */ 13197 _flag_k = FK_ADD; 13198 /* test LO8(eax), LO8(eax) */ /* 0x390061D8: test al, al */ 13199 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 13200 _cf = 0; 13201 _flag_k = FK_NARROW(FK_TEST, 24); 13202 if (TEST_Z(_flag_a, _flag_b)) goto L_390061E1; /* 0x390061DA: je 0x390061e1 */ 13203 L_390061DC: 13204 esi = MEM32(esi + 0x8); /* 0x390061DC: mov esi, dword ptr [esi + 8] */ 13205 goto L_390061E5; /* 0x390061DF: jmp 0x390061e5 */ 13206 L_390061E1: 13207 ebx = esi; /* 0x390061E1: mov ebx, esi */ 13208 esi = MEM32(esi); /* 0x390061E3: mov esi, dword ptr [esi] */ 13209 L_390061E5: 13210 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390061E5: cmp esi, dword ptr [edi + 8] */ 13211 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13212 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13213 _flag_k = FK_CMP; 13214 RECOMP_BACKEDGE(); 13215 if (CMP_NE(_flag_a, _flag_b)) goto L_390061C7; /* 0x390061E8: jne 0x390061c7 */ 13216 L_390061EA: 13217 eax = MEM32(ebp + 0x8); /* 0x390061EA: mov eax, dword ptr [ebp + 8] */ 13218 edi = POP32_VAL(esp); /* 0x390061ED: pop edi */ 13219 esi = POP32_VAL(esp); /* 0x390061EE: pop esi */ 13220 MEM32(eax) = ebx; /* 0x390061EF: mov dword ptr [eax], ebx */ 13221 ebx = POP32_VAL(esp); /* 0x390061F1: pop ebx */ 13222 ebp = POP32_VAL(esp); /* 0x390061F2: pop ebp */ 13223 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x390061F3: ret 8 */ 13224 RECOMP_REGS_OUT(); 13225 } 13226 13227 void sub_39006200(void) { 13228 int _fpu_cmp = 0; 13229 uint32_t _cf = 0; 13230 int _df = 1; 13231 uint32_t _flag_k = FK_NONE; 13232 uint32_t _flag_a = 0, _flag_b = 0; 13233 uint32_t _itail_tgt = 0; 13234 RECOMP_REGS_LOCALS 13235 RECOMP_ENTER(0x39006200u); 13236 13237 L_39006200: 13238 PUSH32(esp, ebp); /* 0x39006200: push ebp */ 13239 ebp = esp; /* 0x39006201: mov ebp, esp */ 13240 PUSH32(esp, ebx); /* 0x39006203: push ebx */ 13241 ebx = ecx; /* 0x39006204: mov ebx, ecx */ 13242 PUSH32(esp, esi); /* 0x39006206: push esi */ 13243 PUSH32(esp, edi); /* 0x39006207: push edi */ 13244 edi = MEM32(ebp + 0x8); /* 0x39006208: mov edi, dword ptr [ebp + 8] */ 13245 eax = MEM32(ebx + 0x8); /* 0x3900620B: mov eax, dword ptr [ebx + 8] */ 13246 /* cmp edi, eax */ /* 0x3900620E: cmp edi, eax */ 13247 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 13248 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13249 _flag_k = FK_CMP; 13250 esi = edi; /* 0x39006210: mov esi, edi */ 13251 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900623B; /* 0x39006212: je 0x3900623b */ 13252 L_39006214: 13253 eax = MEM32(esi + 0x8); /* 0x39006214: mov eax, dword ptr [esi + 8] */ 13254 ecx = ebx; /* 0x39006217: mov ecx, ebx */ 13255 PUSH32(esp, eax); /* 0x39006219: push eax */ 13256 RECOMP_ICALL(0x39006200u); /* 0x3900621A: call 0x39006200 */ /* not lifted */ 13257 RECOMP_FLAGS_IN(); 13258 esi = MEM32(esi); /* 0x3900621F: mov esi, dword ptr [esi] */ 13259 ecx = edi + 0xC; /* 0x39006221: lea ecx, [edi + 0xc] */ 13260 RECOMP_ICALL(0x39004790u); /* 0x39006224: call 0x39004790 */ /* not lifted */ 13261 RECOMP_FLAGS_IN(); 13262 PUSH32(esp, edi); /* 0x39006229: push edi */ 13263 RECOMP_ICALL(0x3900A0A0u); /* 0x3900622A: call 0x3900a0a0 */ /* not lifted */ 13264 RECOMP_FLAGS_IN(); 13265 eax = MEM32(ebx + 0x8); /* 0x3900622F: mov eax, dword ptr [ebx + 8] */ 13266 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13267 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13268 esp = esp + 4; /* 0x39006232: add esp, 4 */ 13269 _flag_k = FK_ADD; 13270 /* cmp esi, eax */ /* 0x39006235: cmp esi, eax */ 13271 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 13272 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13273 _flag_k = FK_CMP; 13274 edi = esi; /* 0x39006237: mov edi, esi */ 13275 RECOMP_BACKEDGE(); 13276 if (CMP_NE(_flag_a, _flag_b)) goto L_39006214; /* 0x39006239: jne 0x39006214 */ 13277 L_3900623B: 13278 edi = POP32_VAL(esp); /* 0x3900623B: pop edi */ 13279 esi = POP32_VAL(esp); /* 0x3900623C: pop esi */ 13280 ebx = POP32_VAL(esp); /* 0x3900623D: pop ebx */ 13281 ebp = POP32_VAL(esp); /* 0x3900623E: pop ebp */ 13282 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x3900623F: ret 4 */ 13283 RECOMP_REGS_OUT(); 13284 } 13285 13286 void sub_39006250(void) { 13287 int _fpu_cmp = 0; 13288 uint32_t _cf = 0; 13289 int _df = 1; 13290 uint32_t _flag_k = FK_NONE; 13291 uint32_t _flag_a = 0, _flag_b = 0; 13292 uint32_t _itail_tgt = 0; 13293 RECOMP_REGS_LOCALS 13294 RECOMP_ENTER(0x39006250u); 13295 13296 L_39006250: 13297 PUSH32(esp, ebp); /* 0x39006250: push ebp */ 13298 ebp = esp; /* 0x39006251: mov ebp, esp */ 13299 PUSH32(esp, ecx); /* 0x39006253: push ecx */ 13300 PUSH32(esp, ebx); /* 0x39006254: push ebx */ 13301 PUSH32(esp, esi); /* 0x39006255: push esi */ 13302 esi = MEM32(ebp + 0xC); /* 0x39006256: mov esi, dword ptr [ebp + 0xc] */ 13303 PUSH32(esp, edi); /* 0x39006259: push edi */ 13304 edi = ecx; /* 0x3900625A: mov edi, ecx */ 13305 ecx = ebp + 0xC; /* 0x3900625C: lea ecx, [ebp + 0xc] */ 13306 RECOMP_ICALL(0x39004F50u); /* 0x3900625F: call 0x39004f50 */ /* not lifted */ 13307 RECOMP_FLAGS_IN(); 13308 edx = MEM32(esi); /* 0x39006264: mov edx, dword ptr [esi] */ 13309 eax = MEM32(edi + 0x8); /* 0x39006266: mov eax, dword ptr [edi + 8] */ 13310 /* cmp edx, eax */ /* 0x39006269: cmp edx, eax */ 13311 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 13312 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13313 _flag_k = FK_CMP; 13314 MEM32(ebp + (-0x4)) = esi; /* 0x3900626B: mov dword ptr [ebp - 4], esi */ 13315 if (CMP_NE(_flag_a, _flag_b)) goto L_39006290; /* 0x3900626E: jne 0x39006290 */ 13316 L_39006270: 13317 eax = MEM32(esi + 0x8); /* 0x39006270: mov eax, dword ptr [esi + 8] */ 13318 L_39006273: 13319 ecx = MEM32(ebp + (-0x4)); /* 0x39006273: mov ecx, dword ptr [ebp - 4] */ 13320 edx = MEM32(ecx + 0x4); /* 0x39006276: mov edx, dword ptr [ecx + 4] */ 13321 MEM32(eax + 0x4) = edx; /* 0x39006279: mov dword ptr [eax + 4], edx */ 13322 ecx = MEM32(edi + 0x4); /* 0x3900627C: mov ecx, dword ptr [edi + 4] */ 13323 /* cmp MEM32(ecx + 0x4), esi */ /* 0x3900627F: cmp dword ptr [ecx + 4], esi */ 13324 _flag_a = (uint32_t)(MEM32(ecx + 0x4)); _flag_b = (uint32_t)(esi); 13325 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13326 _flag_k = FK_CMP; 13327 if (CMP_NE(_flag_a, _flag_b)) goto L_39006315; /* 0x39006282: jne 0x39006315 */ 13328 L_39006288: 13329 MEM32(ecx + 0x4) = eax; /* 0x39006288: mov dword ptr [ecx + 4], eax */ 13330 goto L_39006323; /* 0x3900628B: jmp 0x39006323 */ 13331 L_39006290: 13332 ecx = MEM32(esi + 0x8); /* 0x39006290: mov ecx, dword ptr [esi + 8] */ 13333 /* cmp ecx, eax */ /* 0x39006293: cmp ecx, eax */ 13334 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 13335 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13336 _flag_k = FK_CMP; 13337 if (CMP_NE(_flag_a, _flag_b)) goto L_3900629B; /* 0x39006295: jne 0x3900629b */ 13338 L_39006297: 13339 eax = edx; /* 0x39006297: mov eax, edx */ 13340 RECOMP_BACKEDGE(); 13341 goto L_39006273; /* 0x39006299: jmp 0x39006273 */ 13342 L_3900629B: 13343 eax = MEM32(ecx); /* 0x3900629B: mov eax, dword ptr [ecx] */ 13344 SET_LO8(ebx, MEM8(eax + 0x39)); /* 0x3900629D: mov bl, byte ptr [eax + 0x39] */ 13345 /* test LO8(ebx), LO8(ebx) */ /* 0x390062A0: test bl, bl */ 13346 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13347 _cf = 0; 13348 _flag_k = FK_NARROW(FK_TEST, 24); 13349 if (TEST_NZ(_flag_a, _flag_b)) goto L_390062AF; /* 0x390062A2: jne 0x390062af */ 13350 L_390062A4: 13351 ecx = eax; /* 0x390062A4: mov ecx, eax */ 13352 eax = MEM32(ecx); /* 0x390062A6: mov eax, dword ptr [ecx] */ 13353 SET_LO8(ebx, MEM8(eax + 0x39)); /* 0x390062A8: mov bl, byte ptr [eax + 0x39] */ 13354 /* test LO8(ebx), LO8(ebx) */ /* 0x390062AB: test bl, bl */ 13355 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13356 _cf = 0; 13357 _flag_k = FK_NARROW(FK_TEST, 24); 13358 RECOMP_BACKEDGE(); 13359 if (TEST_Z(_flag_a, _flag_b)) goto L_390062A4; /* 0x390062AD: je 0x390062a4 */ 13360 L_390062AF: 13361 eax = MEM32(ecx + 0x8); /* 0x390062AF: mov eax, dword ptr [ecx + 8] */ 13362 /* cmp ecx, esi */ /* 0x390062B2: cmp ecx, esi */ 13363 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 13364 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13365 _flag_k = FK_CMP; 13366 MEM32(ebp + (-0x4)) = ecx; /* 0x390062B4: mov dword ptr [ebp - 4], ecx */ 13367 RECOMP_BACKEDGE(); 13368 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006273; /* 0x390062B7: je 0x39006273 */ 13369 L_390062B9: 13370 MEM32(edx + 0x4) = ecx; /* 0x390062B9: mov dword ptr [edx + 4], ecx */ 13371 edx = MEM32(esi); /* 0x390062BC: mov edx, dword ptr [esi] */ 13372 MEM32(ecx) = edx; /* 0x390062BE: mov dword ptr [ecx], edx */ 13373 edx = MEM32(esi + 0x8); /* 0x390062C0: mov edx, dword ptr [esi + 8] */ 13374 /* cmp ecx, edx */ /* 0x390062C3: cmp ecx, edx */ 13375 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 13376 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13377 _flag_k = FK_CMP; 13378 if (CMP_NE(_flag_a, _flag_b)) goto L_390062CC; /* 0x390062C5: jne 0x390062cc */ 13379 L_390062C7: 13380 MEM32(eax + 0x4) = ecx; /* 0x390062C7: mov dword ptr [eax + 4], ecx */ 13381 goto L_390062E3; /* 0x390062CA: jmp 0x390062e3 */ 13382 L_390062CC: 13383 edx = MEM32(ecx + 0x4); /* 0x390062CC: mov edx, dword ptr [ecx + 4] */ 13384 MEM32(eax + 0x4) = edx; /* 0x390062CF: mov dword ptr [eax + 4], edx */ 13385 edx = MEM32(ecx + 0x4); /* 0x390062D2: mov edx, dword ptr [ecx + 4] */ 13386 MEM32(edx) = eax; /* 0x390062D5: mov dword ptr [edx], eax */ 13387 edx = MEM32(esi + 0x8); /* 0x390062D7: mov edx, dword ptr [esi + 8] */ 13388 MEM32(ecx + 0x8) = edx; /* 0x390062DA: mov dword ptr [ecx + 8], edx */ 13389 edx = MEM32(esi + 0x8); /* 0x390062DD: mov edx, dword ptr [esi + 8] */ 13390 MEM32(edx + 0x4) = ecx; /* 0x390062E0: mov dword ptr [edx + 4], ecx */ 13391 L_390062E3: 13392 edx = MEM32(edi + 0x4); /* 0x390062E3: mov edx, dword ptr [edi + 4] */ 13393 /* cmp MEM32(edx + 0x4), esi */ /* 0x390062E6: cmp dword ptr [edx + 4], esi */ 13394 _flag_a = (uint32_t)(MEM32(edx + 0x4)); _flag_b = (uint32_t)(esi); 13395 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13396 _flag_k = FK_CMP; 13397 if (CMP_NE(_flag_a, _flag_b)) goto L_390062F0; /* 0x390062E9: jne 0x390062f0 */ 13398 L_390062EB: 13399 MEM32(edx + 0x4) = ecx; /* 0x390062EB: mov dword ptr [edx + 4], ecx */ 13400 goto L_390062FE; /* 0x390062EE: jmp 0x390062fe */ 13401 L_390062F0: 13402 edx = MEM32(esi + 0x4); /* 0x390062F0: mov edx, dword ptr [esi + 4] */ 13403 /* cmp MEM32(edx), esi */ /* 0x390062F3: cmp dword ptr [edx], esi */ 13404 _flag_a = (uint32_t)(MEM32(edx)); _flag_b = (uint32_t)(esi); 13405 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13406 _flag_k = FK_CMP; 13407 if (CMP_NE(_flag_a, _flag_b)) goto L_390062FB; /* 0x390062F5: jne 0x390062fb */ 13408 L_390062F7: 13409 MEM32(edx) = ecx; /* 0x390062F7: mov dword ptr [edx], ecx */ 13410 goto L_390062FE; /* 0x390062F9: jmp 0x390062fe */ 13411 L_390062FB: 13412 MEM32(edx + 0x8) = ecx; /* 0x390062FB: mov dword ptr [edx + 8], ecx */ 13413 L_390062FE: 13414 edx = MEM32(esi + 0x4); /* 0x390062FE: mov edx, dword ptr [esi + 4] */ 13415 MEM32(ebp + (-0x4)) = esi; /* 0x39006301: mov dword ptr [ebp - 4], esi */ 13416 MEM32(ecx + 0x4) = edx; /* 0x39006304: mov dword ptr [ecx + 4], edx */ 13417 SET_LO8(ebx, MEM8(esi + 0x38)); /* 0x39006307: mov bl, byte ptr [esi + 0x38] */ 13418 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x3900630A: mov dl, byte ptr [ecx + 0x38] */ 13419 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x3900630D: mov byte ptr [ecx + 0x38], bl */ 13420 MEM8(esi + 0x38) = (uint8_t)(LO8(edx)); /* 0x39006310: mov byte ptr [esi + 0x38], dl */ 13421 goto L_3900637E; /* 0x39006313: jmp 0x3900637e */ 13422 L_39006315: 13423 ecx = MEM32(esi + 0x4); /* 0x39006315: mov ecx, dword ptr [esi + 4] */ 13424 /* cmp MEM32(ecx), esi */ /* 0x39006318: cmp dword ptr [ecx], esi */ 13425 _flag_a = (uint32_t)(MEM32(ecx)); _flag_b = (uint32_t)(esi); 13426 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13427 _flag_k = FK_CMP; 13428 if (CMP_NE(_flag_a, _flag_b)) goto L_39006320; /* 0x3900631A: jne 0x39006320 */ 13429 L_3900631C: 13430 MEM32(ecx) = eax; /* 0x3900631C: mov dword ptr [ecx], eax */ 13431 goto L_39006323; /* 0x3900631E: jmp 0x39006323 */ 13432 L_39006320: 13433 MEM32(ecx + 0x8) = eax; /* 0x39006320: mov dword ptr [ecx + 8], eax */ 13434 L_39006323: 13435 ebx = MEM32(edi + 0x4); /* 0x39006323: mov ebx, dword ptr [edi + 4] */ 13436 /* cmp MEM32(ebx), esi */ /* 0x39006326: cmp dword ptr [ebx], esi */ 13437 _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(esi); 13438 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13439 _flag_k = FK_CMP; 13440 if (CMP_NE(_flag_a, _flag_b)) goto L_3900634F; /* 0x39006328: jne 0x3900634f */ 13441 L_3900632A: 13442 ecx = MEM32(esi + 0x8); /* 0x3900632A: mov ecx, dword ptr [esi + 8] */ 13443 edx = MEM32(edi + 0x8); /* 0x3900632D: mov edx, dword ptr [edi + 8] */ 13444 /* cmp ecx, edx */ /* 0x39006330: cmp ecx, edx */ 13445 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 13446 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13447 _flag_k = FK_CMP; 13448 if (CMP_NE(_flag_a, _flag_b)) goto L_39006339; /* 0x39006332: jne 0x39006339 */ 13449 L_39006334: 13450 edx = MEM32(esi + 0x4); /* 0x39006334: mov edx, dword ptr [esi + 4] */ 13451 goto L_3900634D; /* 0x39006337: jmp 0x3900634d */ 13452 L_39006339: 13453 ecx = MEM32(eax); /* 0x39006339: mov ecx, dword ptr [eax] */ 13454 edx = eax; /* 0x3900633B: mov edx, eax */ 13455 /* cmp MEM8(ecx + 0x39), 0 */ /* 0x3900633D: cmp byte ptr [ecx + 0x39], 0 */ 13456 _flag_a = (uint32_t)(MEM8(ecx + 0x39)) << 24; _flag_b = (uint32_t)(0) << 24; 13457 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13458 _flag_k = FK_NARROW(FK_CMP, 24); 13459 if (CMP_NE(_flag_a, _flag_b)) goto L_3900634D; /* 0x39006341: jne 0x3900634d */ 13460 L_39006343: 13461 edx = ecx; /* 0x39006343: mov edx, ecx */ 13462 ecx = MEM32(edx); /* 0x39006345: mov ecx, dword ptr [edx] */ 13463 /* cmp MEM8(ecx + 0x39), 0 */ /* 0x39006347: cmp byte ptr [ecx + 0x39], 0 */ 13464 _flag_a = (uint32_t)(MEM8(ecx + 0x39)) << 24; _flag_b = (uint32_t)(0) << 24; 13465 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13466 _flag_k = FK_NARROW(FK_CMP, 24); 13467 RECOMP_BACKEDGE(); 13468 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006343; /* 0x3900634B: je 0x39006343 */ 13469 L_3900634D: 13470 MEM32(ebx) = edx; /* 0x3900634D: mov dword ptr [ebx], edx */ 13471 L_3900634F: 13472 ebx = MEM32(edi + 0x4); /* 0x3900634F: mov ebx, dword ptr [edi + 4] */ 13473 /* cmp MEM32(ebx + 0x8), esi */ /* 0x39006352: cmp dword ptr [ebx + 8], esi */ 13474 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 13475 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13476 _flag_k = FK_CMP; 13477 if (CMP_NE(_flag_a, _flag_b)) goto L_3900637E; /* 0x39006355: jne 0x3900637e */ 13478 L_39006357: 13479 ecx = MEM32(esi); /* 0x39006357: mov ecx, dword ptr [esi] */ 13480 edx = MEM32(edi + 0x8); /* 0x39006359: mov edx, dword ptr [edi + 8] */ 13481 /* cmp ecx, edx */ /* 0x3900635C: cmp ecx, edx */ 13482 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 13483 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13484 _flag_k = FK_CMP; 13485 if (CMP_NE(_flag_a, _flag_b)) goto L_39006365; /* 0x3900635E: jne 0x39006365 */ 13486 L_39006360: 13487 edx = MEM32(esi + 0x4); /* 0x39006360: mov edx, dword ptr [esi + 4] */ 13488 goto L_3900637B; /* 0x39006363: jmp 0x3900637b */ 13489 L_39006365: 13490 ecx = MEM32(eax + 0x8); /* 0x39006365: mov ecx, dword ptr [eax + 8] */ 13491 edx = eax; /* 0x39006368: mov edx, eax */ 13492 /* cmp MEM8(ecx + 0x39), 0 */ /* 0x3900636A: cmp byte ptr [ecx + 0x39], 0 */ 13493 _flag_a = (uint32_t)(MEM8(ecx + 0x39)) << 24; _flag_b = (uint32_t)(0) << 24; 13494 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13495 _flag_k = FK_NARROW(FK_CMP, 24); 13496 if (CMP_NE(_flag_a, _flag_b)) goto L_3900637B; /* 0x3900636E: jne 0x3900637b */ 13497 L_39006370: 13498 edx = ecx; /* 0x39006370: mov edx, ecx */ 13499 ecx = MEM32(edx + 0x8); /* 0x39006372: mov ecx, dword ptr [edx + 8] */ 13500 /* cmp MEM8(ecx + 0x39), 0 */ /* 0x39006375: cmp byte ptr [ecx + 0x39], 0 */ 13501 _flag_a = (uint32_t)(MEM8(ecx + 0x39)) << 24; _flag_b = (uint32_t)(0) << 24; 13502 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13503 _flag_k = FK_NARROW(FK_CMP, 24); 13504 RECOMP_BACKEDGE(); 13505 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006370; /* 0x39006379: je 0x39006370 */ 13506 L_3900637B: 13507 MEM32(ebx + 0x8) = edx; /* 0x3900637B: mov dword ptr [ebx + 8], edx */ 13508 L_3900637E: 13509 esi = MEM32(ebp + (-0x4)); /* 0x3900637E: mov esi, dword ptr [ebp - 4] */ 13510 SET_LO8(ebx, 1); /* 0x39006381: mov bl, 1 */ 13511 /* cmp MEM8(esi + 0x38), LO8(ebx) */ /* 0x39006383: cmp byte ptr [esi + 0x38], bl */ 13512 _flag_a = (uint32_t)(MEM8(esi + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13513 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13514 _flag_k = FK_NARROW(FK_CMP, 24); 13515 if (CMP_NE(_flag_a, _flag_b)) goto L_390065EC; /* 0x39006386: jne 0x390065ec */ 13516 L_3900638C: 13517 ecx = MEM32(edi + 0x4); /* 0x3900638C: mov ecx, dword ptr [edi + 4] */ 13518 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900638F: cmp eax, dword ptr [ecx + 4] */ 13519 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 13520 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13521 _flag_k = FK_CMP; 13522 if (CMP_EQ(_flag_a, _flag_b)) goto L_390065E6; /* 0x39006392: je 0x390065e6 */ 13523 L_39006398: 13524 /* cmp MEM8(eax + 0x38), LO8(ebx) */ /* 0x39006398: cmp byte ptr [eax + 0x38], bl */ 13525 _flag_a = (uint32_t)(MEM8(eax + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13526 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13527 _flag_k = FK_NARROW(FK_CMP, 24); 13528 if (CMP_NE(_flag_a, _flag_b)) goto L_390065E6; /* 0x3900639B: jne 0x390065e6 */ 13529 L_390063A1: 13530 edx = MEM32(eax + 0x4); /* 0x390063A1: mov edx, dword ptr [eax + 4] */ 13531 ecx = MEM32(edx); /* 0x390063A4: mov ecx, dword ptr [edx] */ 13532 /* cmp eax, ecx */ /* 0x390063A6: cmp eax, ecx */ 13533 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 13534 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13535 _flag_k = FK_CMP; 13536 if (CMP_NE(_flag_a, _flag_b)) goto L_39006418; /* 0x390063A8: jne 0x39006418 */ 13537 L_390063AA: 13538 ecx = MEM32(edx + 0x8); /* 0x390063AA: mov ecx, dword ptr [edx + 8] */ 13539 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x390063AD: mov dl, byte ptr [ecx + 0x38] */ 13540 /* test LO8(edx), LO8(edx) */ /* 0x390063B0: test dl, dl */ 13541 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 13542 _cf = 0; 13543 _flag_k = FK_NARROW(FK_TEST, 24); 13544 if (TEST_NZ(_flag_a, _flag_b)) goto L_390063FF; /* 0x390063B2: jne 0x390063ff */ 13545 L_390063B4: 13546 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390063B4: mov byte ptr [ecx + 0x38], bl */ 13547 edx = MEM32(eax + 0x4); /* 0x390063B7: mov edx, dword ptr [eax + 4] */ 13548 MEM8(edx + 0x38) = (uint8_t)(0); /* 0x390063BA: mov byte ptr [edx + 0x38], 0 */ 13549 ecx = MEM32(eax + 0x4); /* 0x390063BE: mov ecx, dword ptr [eax + 4] */ 13550 edx = MEM32(ecx + 0x8); /* 0x390063C1: mov edx, dword ptr [ecx + 8] */ 13551 esi = MEM32(edx); /* 0x390063C4: mov esi, dword ptr [edx] */ 13552 MEM32(ecx + 0x8) = esi; /* 0x390063C6: mov dword ptr [ecx + 8], esi */ 13553 esi = MEM32(edx); /* 0x390063C9: mov esi, dword ptr [edx] */ 13554 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390063CB: cmp esi, dword ptr [edi + 8] */ 13555 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13556 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13557 _flag_k = FK_CMP; 13558 if (CMP_EQ(_flag_a, _flag_b)) goto L_390063D3; /* 0x390063CE: je 0x390063d3 */ 13559 L_390063D0: 13560 MEM32(esi + 0x4) = ecx; /* 0x390063D0: mov dword ptr [esi + 4], ecx */ 13561 L_390063D3: 13562 esi = MEM32(ecx + 0x4); /* 0x390063D3: mov esi, dword ptr [ecx + 4] */ 13563 MEM32(edx + 0x4) = esi; /* 0x390063D6: mov dword ptr [edx + 4], esi */ 13564 esi = MEM32(edi + 0x4); /* 0x390063D9: mov esi, dword ptr [edi + 4] */ 13565 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390063DC: cmp ecx, dword ptr [esi + 4] */ 13566 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 13567 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13568 _flag_k = FK_CMP; 13569 if (CMP_NE(_flag_a, _flag_b)) goto L_390063E6; /* 0x390063DF: jne 0x390063e6 */ 13570 L_390063E1: 13571 MEM32(esi + 0x4) = edx; /* 0x390063E1: mov dword ptr [esi + 4], edx */ 13572 goto L_390063F4; /* 0x390063E4: jmp 0x390063f4 */ 13573 L_390063E6: 13574 esi = MEM32(ecx + 0x4); /* 0x390063E6: mov esi, dword ptr [ecx + 4] */ 13575 /* cmp ecx, MEM32(esi) */ /* 0x390063E9: cmp ecx, dword ptr [esi] */ 13576 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 13577 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13578 _flag_k = FK_CMP; 13579 if (CMP_NE(_flag_a, _flag_b)) goto L_390063F1; /* 0x390063EB: jne 0x390063f1 */ 13580 L_390063ED: 13581 MEM32(esi) = edx; /* 0x390063ED: mov dword ptr [esi], edx */ 13582 goto L_390063F4; /* 0x390063EF: jmp 0x390063f4 */ 13583 L_390063F1: 13584 MEM32(esi + 0x8) = edx; /* 0x390063F1: mov dword ptr [esi + 8], edx */ 13585 L_390063F4: 13586 MEM32(edx) = ecx; /* 0x390063F4: mov dword ptr [edx], ecx */ 13587 MEM32(ecx + 0x4) = edx; /* 0x390063F6: mov dword ptr [ecx + 4], edx */ 13588 ecx = MEM32(eax + 0x4); /* 0x390063F9: mov ecx, dword ptr [eax + 4] */ 13589 ecx = MEM32(ecx + 0x8); /* 0x390063FC: mov ecx, dword ptr [ecx + 8] */ 13590 L_390063FF: 13591 edx = MEM32(ecx); /* 0x390063FF: mov edx, dword ptr [ecx] */ 13592 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x39006401: cmp byte ptr [edx + 0x38], bl */ 13593 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13594 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13595 _flag_k = FK_NARROW(FK_CMP, 24); 13596 if (CMP_NE(_flag_a, _flag_b)) goto L_3900649A; /* 0x39006404: jne 0x3900649a */ 13597 L_3900640A: 13598 edx = MEM32(ecx + 0x8); /* 0x3900640A: mov edx, dword ptr [ecx + 8] */ 13599 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x3900640D: cmp byte ptr [edx + 0x38], bl */ 13600 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13601 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13602 _flag_k = FK_NARROW(FK_CMP, 24); 13603 if (CMP_NE(_flag_a, _flag_b)) goto L_3900649A; /* 0x39006410: jne 0x3900649a */ 13604 L_39006416: 13605 goto L_39006482; /* 0x39006416: jmp 0x39006482 */ 13606 L_39006418: 13607 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x39006418: mov dl, byte ptr [ecx + 0x38] */ 13608 /* test LO8(edx), LO8(edx) */ /* 0x3900641B: test dl, dl */ 13609 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 13610 _cf = 0; 13611 _flag_k = FK_NARROW(FK_TEST, 24); 13612 if (TEST_NZ(_flag_a, _flag_b)) goto L_3900646B; /* 0x3900641D: jne 0x3900646b */ 13613 L_3900641F: 13614 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x3900641F: mov byte ptr [ecx + 0x38], bl */ 13615 ecx = MEM32(eax + 0x4); /* 0x39006422: mov ecx, dword ptr [eax + 4] */ 13616 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x39006425: mov byte ptr [ecx + 0x38], 0 */ 13617 ecx = MEM32(eax + 0x4); /* 0x39006429: mov ecx, dword ptr [eax + 4] */ 13618 edx = MEM32(ecx); /* 0x3900642C: mov edx, dword ptr [ecx] */ 13619 esi = MEM32(edx + 0x8); /* 0x3900642E: mov esi, dword ptr [edx + 8] */ 13620 MEM32(ecx) = esi; /* 0x39006431: mov dword ptr [ecx], esi */ 13621 esi = MEM32(edx + 0x8); /* 0x39006433: mov esi, dword ptr [edx + 8] */ 13622 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006436: cmp esi, dword ptr [edi + 8] */ 13623 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13624 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13625 _flag_k = FK_CMP; 13626 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900643E; /* 0x39006439: je 0x3900643e */ 13627 L_3900643B: 13628 MEM32(esi + 0x4) = ecx; /* 0x3900643B: mov dword ptr [esi + 4], ecx */ 13629 L_3900643E: 13630 esi = MEM32(ecx + 0x4); /* 0x3900643E: mov esi, dword ptr [ecx + 4] */ 13631 MEM32(edx + 0x4) = esi; /* 0x39006441: mov dword ptr [edx + 4], esi */ 13632 esi = MEM32(edi + 0x4); /* 0x39006444: mov esi, dword ptr [edi + 4] */ 13633 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006447: cmp ecx, dword ptr [esi + 4] */ 13634 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 13635 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13636 _flag_k = FK_CMP; 13637 if (CMP_NE(_flag_a, _flag_b)) goto L_39006451; /* 0x3900644A: jne 0x39006451 */ 13638 L_3900644C: 13639 MEM32(esi + 0x4) = edx; /* 0x3900644C: mov dword ptr [esi + 4], edx */ 13640 goto L_39006460; /* 0x3900644F: jmp 0x39006460 */ 13641 L_39006451: 13642 esi = MEM32(ecx + 0x4); /* 0x39006451: mov esi, dword ptr [ecx + 4] */ 13643 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39006454: cmp ecx, dword ptr [esi + 8] */ 13644 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13645 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13646 _flag_k = FK_CMP; 13647 if (CMP_NE(_flag_a, _flag_b)) goto L_3900645E; /* 0x39006457: jne 0x3900645e */ 13648 L_39006459: 13649 MEM32(esi + 0x8) = edx; /* 0x39006459: mov dword ptr [esi + 8], edx */ 13650 goto L_39006460; /* 0x3900645C: jmp 0x39006460 */ 13651 L_3900645E: 13652 MEM32(esi) = edx; /* 0x3900645E: mov dword ptr [esi], edx */ 13653 L_39006460: 13654 MEM32(edx + 0x8) = ecx; /* 0x39006460: mov dword ptr [edx + 8], ecx */ 13655 MEM32(ecx + 0x4) = edx; /* 0x39006463: mov dword ptr [ecx + 4], edx */ 13656 edx = MEM32(eax + 0x4); /* 0x39006466: mov edx, dword ptr [eax + 4] */ 13657 ecx = MEM32(edx); /* 0x39006469: mov ecx, dword ptr [edx] */ 13658 L_3900646B: 13659 edx = MEM32(ecx + 0x8); /* 0x3900646B: mov edx, dword ptr [ecx + 8] */ 13660 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x3900646E: cmp byte ptr [edx + 0x38], bl */ 13661 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13662 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13663 _flag_k = FK_NARROW(FK_CMP, 24); 13664 if (CMP_NE(_flag_a, _flag_b)) goto L_39006547; /* 0x39006471: jne 0x39006547 */ 13665 L_39006477: 13666 edx = MEM32(ecx); /* 0x39006477: mov edx, dword ptr [ecx] */ 13667 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x39006479: cmp byte ptr [edx + 0x38], bl */ 13668 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13669 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13670 _flag_k = FK_NARROW(FK_CMP, 24); 13671 if (CMP_NE(_flag_a, _flag_b)) goto L_39006547; /* 0x3900647C: jne 0x39006547 */ 13672 L_39006482: 13673 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x39006482: mov byte ptr [ecx + 0x38], 0 */ 13674 ecx = MEM32(edi + 0x4); /* 0x39006486: mov ecx, dword ptr [edi + 4] */ 13675 eax = MEM32(eax + 0x4); /* 0x39006489: mov eax, dword ptr [eax + 4] */ 13676 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900648C: cmp eax, dword ptr [ecx + 4] */ 13677 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 13678 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13679 _flag_k = FK_CMP; 13680 RECOMP_BACKEDGE(); 13681 if (CMP_NE(_flag_a, _flag_b)) goto L_39006398; /* 0x3900648F: jne 0x39006398 */ 13682 L_39006495: 13683 goto L_390065E6; /* 0x39006495: jmp 0x390065e6 */ 13684 L_3900649A: 13685 edx = MEM32(ecx + 0x8); /* 0x3900649A: mov edx, dword ptr [ecx + 8] */ 13686 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x3900649D: cmp byte ptr [edx + 0x38], bl */ 13687 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13688 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13689 _flag_k = FK_NARROW(FK_CMP, 24); 13690 if (CMP_NE(_flag_a, _flag_b)) goto L_390064EB; /* 0x390064A0: jne 0x390064eb */ 13691 L_390064A2: 13692 edx = MEM32(ecx); /* 0x390064A2: mov edx, dword ptr [ecx] */ 13693 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390064A4: mov byte ptr [edx + 0x38], bl */ 13694 edx = MEM32(ecx); /* 0x390064A7: mov edx, dword ptr [ecx] */ 13695 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x390064A9: mov byte ptr [ecx + 0x38], 0 */ 13696 esi = MEM32(edx + 0x8); /* 0x390064AD: mov esi, dword ptr [edx + 8] */ 13697 MEM32(ecx) = esi; /* 0x390064B0: mov dword ptr [ecx], esi */ 13698 esi = MEM32(edx + 0x8); /* 0x390064B2: mov esi, dword ptr [edx + 8] */ 13699 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390064B5: cmp esi, dword ptr [edi + 8] */ 13700 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13701 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13702 _flag_k = FK_CMP; 13703 if (CMP_EQ(_flag_a, _flag_b)) goto L_390064BD; /* 0x390064B8: je 0x390064bd */ 13704 L_390064BA: 13705 MEM32(esi + 0x4) = ecx; /* 0x390064BA: mov dword ptr [esi + 4], ecx */ 13706 L_390064BD: 13707 esi = MEM32(ecx + 0x4); /* 0x390064BD: mov esi, dword ptr [ecx + 4] */ 13708 MEM32(edx + 0x4) = esi; /* 0x390064C0: mov dword ptr [edx + 4], esi */ 13709 esi = MEM32(edi + 0x4); /* 0x390064C3: mov esi, dword ptr [edi + 4] */ 13710 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390064C6: cmp ecx, dword ptr [esi + 4] */ 13711 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 13712 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13713 _flag_k = FK_CMP; 13714 if (CMP_NE(_flag_a, _flag_b)) goto L_390064D0; /* 0x390064C9: jne 0x390064d0 */ 13715 L_390064CB: 13716 MEM32(esi + 0x4) = edx; /* 0x390064CB: mov dword ptr [esi + 4], edx */ 13717 goto L_390064DF; /* 0x390064CE: jmp 0x390064df */ 13718 L_390064D0: 13719 esi = MEM32(ecx + 0x4); /* 0x390064D0: mov esi, dword ptr [ecx + 4] */ 13720 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x390064D3: cmp ecx, dword ptr [esi + 8] */ 13721 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13722 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13723 _flag_k = FK_CMP; 13724 if (CMP_NE(_flag_a, _flag_b)) goto L_390064DD; /* 0x390064D6: jne 0x390064dd */ 13725 L_390064D8: 13726 MEM32(esi + 0x8) = edx; /* 0x390064D8: mov dword ptr [esi + 8], edx */ 13727 goto L_390064DF; /* 0x390064DB: jmp 0x390064df */ 13728 L_390064DD: 13729 MEM32(esi) = edx; /* 0x390064DD: mov dword ptr [esi], edx */ 13730 L_390064DF: 13731 MEM32(edx + 0x8) = ecx; /* 0x390064DF: mov dword ptr [edx + 8], ecx */ 13732 MEM32(ecx + 0x4) = edx; /* 0x390064E2: mov dword ptr [ecx + 4], edx */ 13733 ecx = MEM32(eax + 0x4); /* 0x390064E5: mov ecx, dword ptr [eax + 4] */ 13734 ecx = MEM32(ecx + 0x8); /* 0x390064E8: mov ecx, dword ptr [ecx + 8] */ 13735 L_390064EB: 13736 edx = MEM32(eax + 0x4); /* 0x390064EB: mov edx, dword ptr [eax + 4] */ 13737 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x390064EE: mov dl, byte ptr [edx + 0x38] */ 13738 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x390064F1: mov byte ptr [ecx + 0x38], dl */ 13739 edx = MEM32(eax + 0x4); /* 0x390064F4: mov edx, dword ptr [eax + 4] */ 13740 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390064F7: mov byte ptr [edx + 0x38], bl */ 13741 ecx = MEM32(ecx + 0x8); /* 0x390064FA: mov ecx, dword ptr [ecx + 8] */ 13742 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390064FD: mov byte ptr [ecx + 0x38], bl */ 13743 ecx = MEM32(eax + 0x4); /* 0x39006500: mov ecx, dword ptr [eax + 4] */ 13744 edx = MEM32(ecx + 0x8); /* 0x39006503: mov edx, dword ptr [ecx + 8] */ 13745 esi = MEM32(edx); /* 0x39006506: mov esi, dword ptr [edx] */ 13746 MEM32(ecx + 0x8) = esi; /* 0x39006508: mov dword ptr [ecx + 8], esi */ 13747 esi = MEM32(edx); /* 0x3900650B: mov esi, dword ptr [edx] */ 13748 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3900650D: cmp esi, dword ptr [edi + 8] */ 13749 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13750 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13751 _flag_k = FK_CMP; 13752 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006515; /* 0x39006510: je 0x39006515 */ 13753 L_39006512: 13754 MEM32(esi + 0x4) = ecx; /* 0x39006512: mov dword ptr [esi + 4], ecx */ 13755 L_39006515: 13756 esi = MEM32(ecx + 0x4); /* 0x39006515: mov esi, dword ptr [ecx + 4] */ 13757 MEM32(edx + 0x4) = esi; /* 0x39006518: mov dword ptr [edx + 4], esi */ 13758 esi = MEM32(edi + 0x4); /* 0x3900651B: mov esi, dword ptr [edi + 4] */ 13759 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x3900651E: cmp ecx, dword ptr [esi + 4] */ 13760 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 13761 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13762 _flag_k = FK_CMP; 13763 if (CMP_NE(_flag_a, _flag_b)) goto L_3900652D; /* 0x39006521: jne 0x3900652d */ 13764 L_39006523: 13765 MEM32(esi + 0x4) = edx; /* 0x39006523: mov dword ptr [esi + 4], edx */ 13766 MEM32(edx) = ecx; /* 0x39006526: mov dword ptr [edx], ecx */ 13767 goto L_390065E3; /* 0x39006528: jmp 0x390065e3 */ 13768 L_3900652D: 13769 esi = MEM32(ecx + 0x4); /* 0x3900652D: mov esi, dword ptr [ecx + 4] */ 13770 /* cmp ecx, MEM32(esi) */ /* 0x39006530: cmp ecx, dword ptr [esi] */ 13771 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 13772 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13773 _flag_k = FK_CMP; 13774 if (CMP_NE(_flag_a, _flag_b)) goto L_3900653D; /* 0x39006532: jne 0x3900653d */ 13775 L_39006534: 13776 MEM32(esi) = edx; /* 0x39006534: mov dword ptr [esi], edx */ 13777 MEM32(edx) = ecx; /* 0x39006536: mov dword ptr [edx], ecx */ 13778 goto L_390065E3; /* 0x39006538: jmp 0x390065e3 */ 13779 L_3900653D: 13780 MEM32(esi + 0x8) = edx; /* 0x3900653D: mov dword ptr [esi + 8], edx */ 13781 MEM32(edx) = ecx; /* 0x39006540: mov dword ptr [edx], ecx */ 13782 goto L_390065E3; /* 0x39006542: jmp 0x390065e3 */ 13783 L_39006547: 13784 edx = MEM32(ecx); /* 0x39006547: mov edx, dword ptr [ecx] */ 13785 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x39006549: cmp byte ptr [edx + 0x38], bl */ 13786 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13787 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13788 _flag_k = FK_NARROW(FK_CMP, 24); 13789 if (CMP_NE(_flag_a, _flag_b)) goto L_39006595; /* 0x3900654C: jne 0x39006595 */ 13790 L_3900654E: 13791 edx = MEM32(ecx + 0x8); /* 0x3900654E: mov edx, dword ptr [ecx + 8] */ 13792 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x39006551: mov byte ptr [edx + 0x38], bl */ 13793 edx = MEM32(ecx + 0x8); /* 0x39006554: mov edx, dword ptr [ecx + 8] */ 13794 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x39006557: mov byte ptr [ecx + 0x38], 0 */ 13795 esi = MEM32(edx); /* 0x3900655B: mov esi, dword ptr [edx] */ 13796 MEM32(ecx + 0x8) = esi; /* 0x3900655D: mov dword ptr [ecx + 8], esi */ 13797 esi = MEM32(edx); /* 0x39006560: mov esi, dword ptr [edx] */ 13798 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006562: cmp esi, dword ptr [edi + 8] */ 13799 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13800 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13801 _flag_k = FK_CMP; 13802 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900656A; /* 0x39006565: je 0x3900656a */ 13803 L_39006567: 13804 MEM32(esi + 0x4) = ecx; /* 0x39006567: mov dword ptr [esi + 4], ecx */ 13805 L_3900656A: 13806 esi = MEM32(ecx + 0x4); /* 0x3900656A: mov esi, dword ptr [ecx + 4] */ 13807 MEM32(edx + 0x4) = esi; /* 0x3900656D: mov dword ptr [edx + 4], esi */ 13808 esi = MEM32(edi + 0x4); /* 0x39006570: mov esi, dword ptr [edi + 4] */ 13809 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006573: cmp ecx, dword ptr [esi + 4] */ 13810 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 13811 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13812 _flag_k = FK_CMP; 13813 if (CMP_NE(_flag_a, _flag_b)) goto L_3900657D; /* 0x39006576: jne 0x3900657d */ 13814 L_39006578: 13815 MEM32(esi + 0x4) = edx; /* 0x39006578: mov dword ptr [esi + 4], edx */ 13816 goto L_3900658B; /* 0x3900657B: jmp 0x3900658b */ 13817 L_3900657D: 13818 esi = MEM32(ecx + 0x4); /* 0x3900657D: mov esi, dword ptr [ecx + 4] */ 13819 /* cmp ecx, MEM32(esi) */ /* 0x39006580: cmp ecx, dword ptr [esi] */ 13820 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 13821 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13822 _flag_k = FK_CMP; 13823 if (CMP_NE(_flag_a, _flag_b)) goto L_39006588; /* 0x39006582: jne 0x39006588 */ 13824 L_39006584: 13825 MEM32(esi) = edx; /* 0x39006584: mov dword ptr [esi], edx */ 13826 goto L_3900658B; /* 0x39006586: jmp 0x3900658b */ 13827 L_39006588: 13828 MEM32(esi + 0x8) = edx; /* 0x39006588: mov dword ptr [esi + 8], edx */ 13829 L_3900658B: 13830 MEM32(edx) = ecx; /* 0x3900658B: mov dword ptr [edx], ecx */ 13831 MEM32(ecx + 0x4) = edx; /* 0x3900658D: mov dword ptr [ecx + 4], edx */ 13832 ecx = MEM32(eax + 0x4); /* 0x39006590: mov ecx, dword ptr [eax + 4] */ 13833 ecx = MEM32(ecx); /* 0x39006593: mov ecx, dword ptr [ecx] */ 13834 L_39006595: 13835 edx = MEM32(eax + 0x4); /* 0x39006595: mov edx, dword ptr [eax + 4] */ 13836 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x39006598: mov dl, byte ptr [edx + 0x38] */ 13837 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x3900659B: mov byte ptr [ecx + 0x38], dl */ 13838 edx = MEM32(eax + 0x4); /* 0x3900659E: mov edx, dword ptr [eax + 4] */ 13839 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065A1: mov byte ptr [edx + 0x38], bl */ 13840 ecx = MEM32(ecx); /* 0x390065A4: mov ecx, dword ptr [ecx] */ 13841 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065A6: mov byte ptr [ecx + 0x38], bl */ 13842 ecx = MEM32(eax + 0x4); /* 0x390065A9: mov ecx, dword ptr [eax + 4] */ 13843 edx = MEM32(ecx); /* 0x390065AC: mov edx, dword ptr [ecx] */ 13844 esi = MEM32(edx + 0x8); /* 0x390065AE: mov esi, dword ptr [edx + 8] */ 13845 MEM32(ecx) = esi; /* 0x390065B1: mov dword ptr [ecx], esi */ 13846 esi = MEM32(edx + 0x8); /* 0x390065B3: mov esi, dword ptr [edx + 8] */ 13847 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390065B6: cmp esi, dword ptr [edi + 8] */ 13848 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13849 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13850 _flag_k = FK_CMP; 13851 if (CMP_EQ(_flag_a, _flag_b)) goto L_390065BE; /* 0x390065B9: je 0x390065be */ 13852 L_390065BB: 13853 MEM32(esi + 0x4) = ecx; /* 0x390065BB: mov dword ptr [esi + 4], ecx */ 13854 L_390065BE: 13855 esi = MEM32(ecx + 0x4); /* 0x390065BE: mov esi, dword ptr [ecx + 4] */ 13856 MEM32(edx + 0x4) = esi; /* 0x390065C1: mov dword ptr [edx + 4], esi */ 13857 esi = MEM32(edi + 0x4); /* 0x390065C4: mov esi, dword ptr [edi + 4] */ 13858 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390065C7: cmp ecx, dword ptr [esi + 4] */ 13859 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 13860 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13861 _flag_k = FK_CMP; 13862 if (CMP_NE(_flag_a, _flag_b)) goto L_390065D1; /* 0x390065CA: jne 0x390065d1 */ 13863 L_390065CC: 13864 MEM32(esi + 0x4) = edx; /* 0x390065CC: mov dword ptr [esi + 4], edx */ 13865 goto L_390065E0; /* 0x390065CF: jmp 0x390065e0 */ 13866 L_390065D1: 13867 esi = MEM32(ecx + 0x4); /* 0x390065D1: mov esi, dword ptr [ecx + 4] */ 13868 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x390065D4: cmp ecx, dword ptr [esi + 8] */ 13869 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13870 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13871 _flag_k = FK_CMP; 13872 if (CMP_NE(_flag_a, _flag_b)) goto L_390065DE; /* 0x390065D7: jne 0x390065de */ 13873 L_390065D9: 13874 MEM32(esi + 0x8) = edx; /* 0x390065D9: mov dword ptr [esi + 8], edx */ 13875 goto L_390065E0; /* 0x390065DC: jmp 0x390065e0 */ 13876 L_390065DE: 13877 MEM32(esi) = edx; /* 0x390065DE: mov dword ptr [esi], edx */ 13878 L_390065E0: 13879 MEM32(edx + 0x8) = ecx; /* 0x390065E0: mov dword ptr [edx + 8], ecx */ 13880 L_390065E3: 13881 MEM32(ecx + 0x4) = edx; /* 0x390065E3: mov dword ptr [ecx + 4], edx */ 13882 L_390065E6: 13883 esi = MEM32(ebp + (-0x4)); /* 0x390065E6: mov esi, dword ptr [ebp - 4] */ 13884 MEM8(eax + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065E9: mov byte ptr [eax + 0x38], bl */ 13885 L_390065EC: 13886 ecx = esi + 0xC; /* 0x390065EC: lea ecx, [esi + 0xc] */ 13887 RECOMP_ICALL(0x390047D0u); /* 0x390065EF: call 0x390047d0 */ /* not lifted */ 13888 RECOMP_FLAGS_IN(); 13889 PUSH32(esp, esi); /* 0x390065F4: push esi */ 13890 RECOMP_ICALL(0x3900A0A0u); /* 0x390065F5: call 0x3900a0a0 */ /* not lifted */ 13891 RECOMP_FLAGS_IN(); 13892 eax = MEM32(edi + 0x10); /* 0x390065FA: mov eax, dword ptr [edi + 0x10] */ 13893 edx = MEM32(ebp + 0xC); /* 0x390065FD: mov edx, dword ptr [ebp + 0xc] */ 13894 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13895 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13896 esp = esp + 4; /* 0x39006600: add esp, 4 */ 13897 _flag_k = FK_ADD; 13898 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 13899 eax = eax - 1; /* 0x39006603: dec eax */ 13900 _flag_k = FK_DEC; 13901 MEM32(edi + 0x10) = eax; /* 0x39006604: mov dword ptr [edi + 0x10], eax */ 13902 eax = MEM32(ebp + 0x8); /* 0x39006607: mov eax, dword ptr [ebp + 8] */ 13903 edi = POP32_VAL(esp); /* 0x3900660A: pop edi */ 13904 esi = POP32_VAL(esp); /* 0x3900660B: pop esi */ 13905 MEM32(eax) = edx; /* 0x3900660C: mov dword ptr [eax], edx */ 13906 ebx = POP32_VAL(esp); /* 0x3900660E: pop ebx */ 13907 esp = ebp; /* 0x3900660F: mov esp, ebp */ 13908 ebp = POP32_VAL(esp); /* 0x39006611: pop ebp */ 13909 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x39006612: ret 8 */ 13910 RECOMP_REGS_OUT(); 13911 } 13912 13913 void sub_39006323(void) { 13914 int _fpu_cmp = 0; 13915 uint32_t _cf = 0; 13916 int _df = 1; 13917 uint32_t _flag_k = FK_NONE; 13918 uint32_t _flag_a = 0, _flag_b = 0; 13919 uint32_t _itail_tgt = 0; 13920 RECOMP_REGS_LOCALS 13921 RECOMP_ENTER(0x39006323u); 13922 13923 L_39006323: 13924 ebx = MEM32(edi + 0x4); /* 0x39006323: mov ebx, dword ptr [edi + 4] */ 13925 /* cmp MEM32(ebx), esi */ /* 0x39006326: cmp dword ptr [ebx], esi */ 13926 _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(esi); 13927 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13928 _flag_k = FK_CMP; 13929 if (CMP_NE(_flag_a, _flag_b)) goto L_3900634F; /* 0x39006328: jne 0x3900634f */ 13930 L_3900632A: 13931 ecx = MEM32(esi + 0x8); /* 0x3900632A: mov ecx, dword ptr [esi + 8] */ 13932 edx = MEM32(edi + 0x8); /* 0x3900632D: mov edx, dword ptr [edi + 8] */ 13933 /* cmp ecx, edx */ /* 0x39006330: cmp ecx, edx */ 13934 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 13935 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13936 _flag_k = FK_CMP; 13937 if (CMP_NE(_flag_a, _flag_b)) goto L_39006339; /* 0x39006332: jne 0x39006339 */ 13938 L_39006334: 13939 edx = MEM32(esi + 0x4); /* 0x39006334: mov edx, dword ptr [esi + 4] */ 13940 goto L_3900634D; /* 0x39006337: jmp 0x3900634d */ 13941 L_39006339: 13942 ecx = MEM32(eax); /* 0x39006339: mov ecx, dword ptr [eax] */ 13943 edx = eax; /* 0x3900633B: mov edx, eax */ 13944 /* cmp MEM8(ecx + 0x39), 0 */ /* 0x3900633D: cmp byte ptr [ecx + 0x39], 0 */ 13945 _flag_a = (uint32_t)(MEM8(ecx + 0x39)) << 24; _flag_b = (uint32_t)(0) << 24; 13946 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13947 _flag_k = FK_NARROW(FK_CMP, 24); 13948 if (CMP_NE(_flag_a, _flag_b)) goto L_3900634D; /* 0x39006341: jne 0x3900634d */ 13949 L_39006343: 13950 edx = ecx; /* 0x39006343: mov edx, ecx */ 13951 ecx = MEM32(edx); /* 0x39006345: mov ecx, dword ptr [edx] */ 13952 /* cmp MEM8(ecx + 0x39), 0 */ /* 0x39006347: cmp byte ptr [ecx + 0x39], 0 */ 13953 _flag_a = (uint32_t)(MEM8(ecx + 0x39)) << 24; _flag_b = (uint32_t)(0) << 24; 13954 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13955 _flag_k = FK_NARROW(FK_CMP, 24); 13956 RECOMP_BACKEDGE(); 13957 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006343; /* 0x3900634B: je 0x39006343 */ 13958 L_3900634D: 13959 MEM32(ebx) = edx; /* 0x3900634D: mov dword ptr [ebx], edx */ 13960 L_3900634F: 13961 ebx = MEM32(edi + 0x4); /* 0x3900634F: mov ebx, dword ptr [edi + 4] */ 13962 /* cmp MEM32(ebx + 0x8), esi */ /* 0x39006352: cmp dword ptr [ebx + 8], esi */ 13963 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 13964 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13965 _flag_k = FK_CMP; 13966 if (CMP_NE(_flag_a, _flag_b)) goto L_3900637E; /* 0x39006355: jne 0x3900637e */ 13967 L_39006357: 13968 ecx = MEM32(esi); /* 0x39006357: mov ecx, dword ptr [esi] */ 13969 edx = MEM32(edi + 0x8); /* 0x39006359: mov edx, dword ptr [edi + 8] */ 13970 /* cmp ecx, edx */ /* 0x3900635C: cmp ecx, edx */ 13971 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 13972 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13973 _flag_k = FK_CMP; 13974 if (CMP_NE(_flag_a, _flag_b)) goto L_39006365; /* 0x3900635E: jne 0x39006365 */ 13975 L_39006360: 13976 edx = MEM32(esi + 0x4); /* 0x39006360: mov edx, dword ptr [esi + 4] */ 13977 goto L_3900637B; /* 0x39006363: jmp 0x3900637b */ 13978 L_39006365: 13979 ecx = MEM32(eax + 0x8); /* 0x39006365: mov ecx, dword ptr [eax + 8] */ 13980 edx = eax; /* 0x39006368: mov edx, eax */ 13981 /* cmp MEM8(ecx + 0x39), 0 */ /* 0x3900636A: cmp byte ptr [ecx + 0x39], 0 */ 13982 _flag_a = (uint32_t)(MEM8(ecx + 0x39)) << 24; _flag_b = (uint32_t)(0) << 24; 13983 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13984 _flag_k = FK_NARROW(FK_CMP, 24); 13985 if (CMP_NE(_flag_a, _flag_b)) goto L_3900637B; /* 0x3900636E: jne 0x3900637b */ 13986 L_39006370: 13987 edx = ecx; /* 0x39006370: mov edx, ecx */ 13988 ecx = MEM32(edx + 0x8); /* 0x39006372: mov ecx, dword ptr [edx + 8] */ 13989 /* cmp MEM8(ecx + 0x39), 0 */ /* 0x39006375: cmp byte ptr [ecx + 0x39], 0 */ 13990 _flag_a = (uint32_t)(MEM8(ecx + 0x39)) << 24; _flag_b = (uint32_t)(0) << 24; 13991 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13992 _flag_k = FK_NARROW(FK_CMP, 24); 13993 RECOMP_BACKEDGE(); 13994 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006370; /* 0x39006379: je 0x39006370 */ 13995 L_3900637B: 13996 MEM32(ebx + 0x8) = edx; /* 0x3900637B: mov dword ptr [ebx + 8], edx */ 13997 L_3900637E: 13998 esi = MEM32(ebp + (-0x4)); /* 0x3900637E: mov esi, dword ptr [ebp - 4] */ 13999 SET_LO8(ebx, 1); /* 0x39006381: mov bl, 1 */ 14000 /* cmp MEM8(esi + 0x38), LO8(ebx) */ /* 0x39006383: cmp byte ptr [esi + 0x38], bl */ 14001 _flag_a = (uint32_t)(MEM8(esi + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14002 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14003 _flag_k = FK_NARROW(FK_CMP, 24); 14004 if (CMP_NE(_flag_a, _flag_b)) goto L_390065EC; /* 0x39006386: jne 0x390065ec */ 14005 L_3900638C: 14006 ecx = MEM32(edi + 0x4); /* 0x3900638C: mov ecx, dword ptr [edi + 4] */ 14007 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900638F: cmp eax, dword ptr [ecx + 4] */ 14008 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 14009 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14010 _flag_k = FK_CMP; 14011 if (CMP_EQ(_flag_a, _flag_b)) goto L_390065E6; /* 0x39006392: je 0x390065e6 */ 14012 L_39006398: 14013 /* cmp MEM8(eax + 0x38), LO8(ebx) */ /* 0x39006398: cmp byte ptr [eax + 0x38], bl */ 14014 _flag_a = (uint32_t)(MEM8(eax + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14015 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14016 _flag_k = FK_NARROW(FK_CMP, 24); 14017 if (CMP_NE(_flag_a, _flag_b)) goto L_390065E6; /* 0x3900639B: jne 0x390065e6 */ 14018 L_390063A1: 14019 edx = MEM32(eax + 0x4); /* 0x390063A1: mov edx, dword ptr [eax + 4] */ 14020 ecx = MEM32(edx); /* 0x390063A4: mov ecx, dword ptr [edx] */ 14021 /* cmp eax, ecx */ /* 0x390063A6: cmp eax, ecx */ 14022 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 14023 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14024 _flag_k = FK_CMP; 14025 if (CMP_NE(_flag_a, _flag_b)) goto L_39006418; /* 0x390063A8: jne 0x39006418 */ 14026 L_390063AA: 14027 ecx = MEM32(edx + 0x8); /* 0x390063AA: mov ecx, dword ptr [edx + 8] */ 14028 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x390063AD: mov dl, byte ptr [ecx + 0x38] */ 14029 /* test LO8(edx), LO8(edx) */ /* 0x390063B0: test dl, dl */ 14030 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 14031 _cf = 0; 14032 _flag_k = FK_NARROW(FK_TEST, 24); 14033 if (TEST_NZ(_flag_a, _flag_b)) goto L_390063FF; /* 0x390063B2: jne 0x390063ff */ 14034 L_390063B4: 14035 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390063B4: mov byte ptr [ecx + 0x38], bl */ 14036 edx = MEM32(eax + 0x4); /* 0x390063B7: mov edx, dword ptr [eax + 4] */ 14037 MEM8(edx + 0x38) = (uint8_t)(0); /* 0x390063BA: mov byte ptr [edx + 0x38], 0 */ 14038 ecx = MEM32(eax + 0x4); /* 0x390063BE: mov ecx, dword ptr [eax + 4] */ 14039 edx = MEM32(ecx + 0x8); /* 0x390063C1: mov edx, dword ptr [ecx + 8] */ 14040 esi = MEM32(edx); /* 0x390063C4: mov esi, dword ptr [edx] */ 14041 MEM32(ecx + 0x8) = esi; /* 0x390063C6: mov dword ptr [ecx + 8], esi */ 14042 esi = MEM32(edx); /* 0x390063C9: mov esi, dword ptr [edx] */ 14043 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390063CB: cmp esi, dword ptr [edi + 8] */ 14044 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14045 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14046 _flag_k = FK_CMP; 14047 if (CMP_EQ(_flag_a, _flag_b)) goto L_390063D3; /* 0x390063CE: je 0x390063d3 */ 14048 L_390063D0: 14049 MEM32(esi + 0x4) = ecx; /* 0x390063D0: mov dword ptr [esi + 4], ecx */ 14050 L_390063D3: 14051 esi = MEM32(ecx + 0x4); /* 0x390063D3: mov esi, dword ptr [ecx + 4] */ 14052 MEM32(edx + 0x4) = esi; /* 0x390063D6: mov dword ptr [edx + 4], esi */ 14053 esi = MEM32(edi + 0x4); /* 0x390063D9: mov esi, dword ptr [edi + 4] */ 14054 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390063DC: cmp ecx, dword ptr [esi + 4] */ 14055 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14056 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14057 _flag_k = FK_CMP; 14058 if (CMP_NE(_flag_a, _flag_b)) goto L_390063E6; /* 0x390063DF: jne 0x390063e6 */ 14059 L_390063E1: 14060 MEM32(esi + 0x4) = edx; /* 0x390063E1: mov dword ptr [esi + 4], edx */ 14061 goto L_390063F4; /* 0x390063E4: jmp 0x390063f4 */ 14062 L_390063E6: 14063 esi = MEM32(ecx + 0x4); /* 0x390063E6: mov esi, dword ptr [ecx + 4] */ 14064 /* cmp ecx, MEM32(esi) */ /* 0x390063E9: cmp ecx, dword ptr [esi] */ 14065 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 14066 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14067 _flag_k = FK_CMP; 14068 if (CMP_NE(_flag_a, _flag_b)) goto L_390063F1; /* 0x390063EB: jne 0x390063f1 */ 14069 L_390063ED: 14070 MEM32(esi) = edx; /* 0x390063ED: mov dword ptr [esi], edx */ 14071 goto L_390063F4; /* 0x390063EF: jmp 0x390063f4 */ 14072 L_390063F1: 14073 MEM32(esi + 0x8) = edx; /* 0x390063F1: mov dword ptr [esi + 8], edx */ 14074 L_390063F4: 14075 MEM32(edx) = ecx; /* 0x390063F4: mov dword ptr [edx], ecx */ 14076 MEM32(ecx + 0x4) = edx; /* 0x390063F6: mov dword ptr [ecx + 4], edx */ 14077 ecx = MEM32(eax + 0x4); /* 0x390063F9: mov ecx, dword ptr [eax + 4] */ 14078 ecx = MEM32(ecx + 0x8); /* 0x390063FC: mov ecx, dword ptr [ecx + 8] */ 14079 L_390063FF: 14080 edx = MEM32(ecx); /* 0x390063FF: mov edx, dword ptr [ecx] */ 14081 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x39006401: cmp byte ptr [edx + 0x38], bl */ 14082 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14083 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14084 _flag_k = FK_NARROW(FK_CMP, 24); 14085 if (CMP_NE(_flag_a, _flag_b)) goto L_3900649A; /* 0x39006404: jne 0x3900649a */ 14086 L_3900640A: 14087 edx = MEM32(ecx + 0x8); /* 0x3900640A: mov edx, dword ptr [ecx + 8] */ 14088 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x3900640D: cmp byte ptr [edx + 0x38], bl */ 14089 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14090 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14091 _flag_k = FK_NARROW(FK_CMP, 24); 14092 if (CMP_NE(_flag_a, _flag_b)) goto L_3900649A; /* 0x39006410: jne 0x3900649a */ 14093 L_39006416: 14094 goto L_39006482; /* 0x39006416: jmp 0x39006482 */ 14095 L_39006418: 14096 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x39006418: mov dl, byte ptr [ecx + 0x38] */ 14097 /* test LO8(edx), LO8(edx) */ /* 0x3900641B: test dl, dl */ 14098 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 14099 _cf = 0; 14100 _flag_k = FK_NARROW(FK_TEST, 24); 14101 if (TEST_NZ(_flag_a, _flag_b)) goto L_3900646B; /* 0x3900641D: jne 0x3900646b */ 14102 L_3900641F: 14103 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x3900641F: mov byte ptr [ecx + 0x38], bl */ 14104 ecx = MEM32(eax + 0x4); /* 0x39006422: mov ecx, dword ptr [eax + 4] */ 14105 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x39006425: mov byte ptr [ecx + 0x38], 0 */ 14106 ecx = MEM32(eax + 0x4); /* 0x39006429: mov ecx, dword ptr [eax + 4] */ 14107 edx = MEM32(ecx); /* 0x3900642C: mov edx, dword ptr [ecx] */ 14108 esi = MEM32(edx + 0x8); /* 0x3900642E: mov esi, dword ptr [edx + 8] */ 14109 MEM32(ecx) = esi; /* 0x39006431: mov dword ptr [ecx], esi */ 14110 esi = MEM32(edx + 0x8); /* 0x39006433: mov esi, dword ptr [edx + 8] */ 14111 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006436: cmp esi, dword ptr [edi + 8] */ 14112 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14113 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14114 _flag_k = FK_CMP; 14115 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900643E; /* 0x39006439: je 0x3900643e */ 14116 L_3900643B: 14117 MEM32(esi + 0x4) = ecx; /* 0x3900643B: mov dword ptr [esi + 4], ecx */ 14118 L_3900643E: 14119 esi = MEM32(ecx + 0x4); /* 0x3900643E: mov esi, dword ptr [ecx + 4] */ 14120 MEM32(edx + 0x4) = esi; /* 0x39006441: mov dword ptr [edx + 4], esi */ 14121 esi = MEM32(edi + 0x4); /* 0x39006444: mov esi, dword ptr [edi + 4] */ 14122 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006447: cmp ecx, dword ptr [esi + 4] */ 14123 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14124 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14125 _flag_k = FK_CMP; 14126 if (CMP_NE(_flag_a, _flag_b)) goto L_39006451; /* 0x3900644A: jne 0x39006451 */ 14127 L_3900644C: 14128 MEM32(esi + 0x4) = edx; /* 0x3900644C: mov dword ptr [esi + 4], edx */ 14129 goto L_39006460; /* 0x3900644F: jmp 0x39006460 */ 14130 L_39006451: 14131 esi = MEM32(ecx + 0x4); /* 0x39006451: mov esi, dword ptr [ecx + 4] */ 14132 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39006454: cmp ecx, dword ptr [esi + 8] */ 14133 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 14134 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14135 _flag_k = FK_CMP; 14136 if (CMP_NE(_flag_a, _flag_b)) goto L_3900645E; /* 0x39006457: jne 0x3900645e */ 14137 L_39006459: 14138 MEM32(esi + 0x8) = edx; /* 0x39006459: mov dword ptr [esi + 8], edx */ 14139 goto L_39006460; /* 0x3900645C: jmp 0x39006460 */ 14140 L_3900645E: 14141 MEM32(esi) = edx; /* 0x3900645E: mov dword ptr [esi], edx */ 14142 L_39006460: 14143 MEM32(edx + 0x8) = ecx; /* 0x39006460: mov dword ptr [edx + 8], ecx */ 14144 MEM32(ecx + 0x4) = edx; /* 0x39006463: mov dword ptr [ecx + 4], edx */ 14145 edx = MEM32(eax + 0x4); /* 0x39006466: mov edx, dword ptr [eax + 4] */ 14146 ecx = MEM32(edx); /* 0x39006469: mov ecx, dword ptr [edx] */ 14147 L_3900646B: 14148 edx = MEM32(ecx + 0x8); /* 0x3900646B: mov edx, dword ptr [ecx + 8] */ 14149 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x3900646E: cmp byte ptr [edx + 0x38], bl */ 14150 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14151 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14152 _flag_k = FK_NARROW(FK_CMP, 24); 14153 if (CMP_NE(_flag_a, _flag_b)) goto L_39006547; /* 0x39006471: jne 0x39006547 */ 14154 L_39006477: 14155 edx = MEM32(ecx); /* 0x39006477: mov edx, dword ptr [ecx] */ 14156 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x39006479: cmp byte ptr [edx + 0x38], bl */ 14157 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14158 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14159 _flag_k = FK_NARROW(FK_CMP, 24); 14160 if (CMP_NE(_flag_a, _flag_b)) goto L_39006547; /* 0x3900647C: jne 0x39006547 */ 14161 L_39006482: 14162 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x39006482: mov byte ptr [ecx + 0x38], 0 */ 14163 ecx = MEM32(edi + 0x4); /* 0x39006486: mov ecx, dword ptr [edi + 4] */ 14164 eax = MEM32(eax + 0x4); /* 0x39006489: mov eax, dword ptr [eax + 4] */ 14165 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900648C: cmp eax, dword ptr [ecx + 4] */ 14166 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 14167 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14168 _flag_k = FK_CMP; 14169 RECOMP_BACKEDGE(); 14170 if (CMP_NE(_flag_a, _flag_b)) goto L_39006398; /* 0x3900648F: jne 0x39006398 */ 14171 L_39006495: 14172 goto L_390065E6; /* 0x39006495: jmp 0x390065e6 */ 14173 L_3900649A: 14174 edx = MEM32(ecx + 0x8); /* 0x3900649A: mov edx, dword ptr [ecx + 8] */ 14175 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x3900649D: cmp byte ptr [edx + 0x38], bl */ 14176 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14177 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14178 _flag_k = FK_NARROW(FK_CMP, 24); 14179 if (CMP_NE(_flag_a, _flag_b)) goto L_390064EB; /* 0x390064A0: jne 0x390064eb */ 14180 L_390064A2: 14181 edx = MEM32(ecx); /* 0x390064A2: mov edx, dword ptr [ecx] */ 14182 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390064A4: mov byte ptr [edx + 0x38], bl */ 14183 edx = MEM32(ecx); /* 0x390064A7: mov edx, dword ptr [ecx] */ 14184 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x390064A9: mov byte ptr [ecx + 0x38], 0 */ 14185 esi = MEM32(edx + 0x8); /* 0x390064AD: mov esi, dword ptr [edx + 8] */ 14186 MEM32(ecx) = esi; /* 0x390064B0: mov dword ptr [ecx], esi */ 14187 esi = MEM32(edx + 0x8); /* 0x390064B2: mov esi, dword ptr [edx + 8] */ 14188 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390064B5: cmp esi, dword ptr [edi + 8] */ 14189 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14190 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14191 _flag_k = FK_CMP; 14192 if (CMP_EQ(_flag_a, _flag_b)) goto L_390064BD; /* 0x390064B8: je 0x390064bd */ 14193 L_390064BA: 14194 MEM32(esi + 0x4) = ecx; /* 0x390064BA: mov dword ptr [esi + 4], ecx */ 14195 L_390064BD: 14196 esi = MEM32(ecx + 0x4); /* 0x390064BD: mov esi, dword ptr [ecx + 4] */ 14197 MEM32(edx + 0x4) = esi; /* 0x390064C0: mov dword ptr [edx + 4], esi */ 14198 esi = MEM32(edi + 0x4); /* 0x390064C3: mov esi, dword ptr [edi + 4] */ 14199 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390064C6: cmp ecx, dword ptr [esi + 4] */ 14200 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14201 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14202 _flag_k = FK_CMP; 14203 if (CMP_NE(_flag_a, _flag_b)) goto L_390064D0; /* 0x390064C9: jne 0x390064d0 */ 14204 L_390064CB: 14205 MEM32(esi + 0x4) = edx; /* 0x390064CB: mov dword ptr [esi + 4], edx */ 14206 goto L_390064DF; /* 0x390064CE: jmp 0x390064df */ 14207 L_390064D0: 14208 esi = MEM32(ecx + 0x4); /* 0x390064D0: mov esi, dword ptr [ecx + 4] */ 14209 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x390064D3: cmp ecx, dword ptr [esi + 8] */ 14210 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 14211 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14212 _flag_k = FK_CMP; 14213 if (CMP_NE(_flag_a, _flag_b)) goto L_390064DD; /* 0x390064D6: jne 0x390064dd */ 14214 L_390064D8: 14215 MEM32(esi + 0x8) = edx; /* 0x390064D8: mov dword ptr [esi + 8], edx */ 14216 goto L_390064DF; /* 0x390064DB: jmp 0x390064df */ 14217 L_390064DD: 14218 MEM32(esi) = edx; /* 0x390064DD: mov dword ptr [esi], edx */ 14219 L_390064DF: 14220 MEM32(edx + 0x8) = ecx; /* 0x390064DF: mov dword ptr [edx + 8], ecx */ 14221 MEM32(ecx + 0x4) = edx; /* 0x390064E2: mov dword ptr [ecx + 4], edx */ 14222 ecx = MEM32(eax + 0x4); /* 0x390064E5: mov ecx, dword ptr [eax + 4] */ 14223 ecx = MEM32(ecx + 0x8); /* 0x390064E8: mov ecx, dword ptr [ecx + 8] */ 14224 L_390064EB: 14225 edx = MEM32(eax + 0x4); /* 0x390064EB: mov edx, dword ptr [eax + 4] */ 14226 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x390064EE: mov dl, byte ptr [edx + 0x38] */ 14227 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x390064F1: mov byte ptr [ecx + 0x38], dl */ 14228 edx = MEM32(eax + 0x4); /* 0x390064F4: mov edx, dword ptr [eax + 4] */ 14229 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390064F7: mov byte ptr [edx + 0x38], bl */ 14230 ecx = MEM32(ecx + 0x8); /* 0x390064FA: mov ecx, dword ptr [ecx + 8] */ 14231 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390064FD: mov byte ptr [ecx + 0x38], bl */ 14232 ecx = MEM32(eax + 0x4); /* 0x39006500: mov ecx, dword ptr [eax + 4] */ 14233 edx = MEM32(ecx + 0x8); /* 0x39006503: mov edx, dword ptr [ecx + 8] */ 14234 esi = MEM32(edx); /* 0x39006506: mov esi, dword ptr [edx] */ 14235 MEM32(ecx + 0x8) = esi; /* 0x39006508: mov dword ptr [ecx + 8], esi */ 14236 esi = MEM32(edx); /* 0x3900650B: mov esi, dword ptr [edx] */ 14237 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3900650D: cmp esi, dword ptr [edi + 8] */ 14238 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14239 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14240 _flag_k = FK_CMP; 14241 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006515; /* 0x39006510: je 0x39006515 */ 14242 L_39006512: 14243 MEM32(esi + 0x4) = ecx; /* 0x39006512: mov dword ptr [esi + 4], ecx */ 14244 L_39006515: 14245 esi = MEM32(ecx + 0x4); /* 0x39006515: mov esi, dword ptr [ecx + 4] */ 14246 MEM32(edx + 0x4) = esi; /* 0x39006518: mov dword ptr [edx + 4], esi */ 14247 esi = MEM32(edi + 0x4); /* 0x3900651B: mov esi, dword ptr [edi + 4] */ 14248 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x3900651E: cmp ecx, dword ptr [esi + 4] */ 14249 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14250 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14251 _flag_k = FK_CMP; 14252 if (CMP_NE(_flag_a, _flag_b)) goto L_3900652D; /* 0x39006521: jne 0x3900652d */ 14253 L_39006523: 14254 MEM32(esi + 0x4) = edx; /* 0x39006523: mov dword ptr [esi + 4], edx */ 14255 MEM32(edx) = ecx; /* 0x39006526: mov dword ptr [edx], ecx */ 14256 goto L_390065E3; /* 0x39006528: jmp 0x390065e3 */ 14257 L_3900652D: 14258 esi = MEM32(ecx + 0x4); /* 0x3900652D: mov esi, dword ptr [ecx + 4] */ 14259 /* cmp ecx, MEM32(esi) */ /* 0x39006530: cmp ecx, dword ptr [esi] */ 14260 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 14261 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14262 _flag_k = FK_CMP; 14263 if (CMP_NE(_flag_a, _flag_b)) goto L_3900653D; /* 0x39006532: jne 0x3900653d */ 14264 L_39006534: 14265 MEM32(esi) = edx; /* 0x39006534: mov dword ptr [esi], edx */ 14266 MEM32(edx) = ecx; /* 0x39006536: mov dword ptr [edx], ecx */ 14267 goto L_390065E3; /* 0x39006538: jmp 0x390065e3 */ 14268 L_3900653D: 14269 MEM32(esi + 0x8) = edx; /* 0x3900653D: mov dword ptr [esi + 8], edx */ 14270 MEM32(edx) = ecx; /* 0x39006540: mov dword ptr [edx], ecx */ 14271 goto L_390065E3; /* 0x39006542: jmp 0x390065e3 */ 14272 L_39006547: 14273 edx = MEM32(ecx); /* 0x39006547: mov edx, dword ptr [ecx] */ 14274 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x39006549: cmp byte ptr [edx + 0x38], bl */ 14275 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14276 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14277 _flag_k = FK_NARROW(FK_CMP, 24); 14278 if (CMP_NE(_flag_a, _flag_b)) goto L_39006595; /* 0x3900654C: jne 0x39006595 */ 14279 L_3900654E: 14280 edx = MEM32(ecx + 0x8); /* 0x3900654E: mov edx, dword ptr [ecx + 8] */ 14281 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x39006551: mov byte ptr [edx + 0x38], bl */ 14282 edx = MEM32(ecx + 0x8); /* 0x39006554: mov edx, dword ptr [ecx + 8] */ 14283 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x39006557: mov byte ptr [ecx + 0x38], 0 */ 14284 esi = MEM32(edx); /* 0x3900655B: mov esi, dword ptr [edx] */ 14285 MEM32(ecx + 0x8) = esi; /* 0x3900655D: mov dword ptr [ecx + 8], esi */ 14286 esi = MEM32(edx); /* 0x39006560: mov esi, dword ptr [edx] */ 14287 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006562: cmp esi, dword ptr [edi + 8] */ 14288 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14289 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14290 _flag_k = FK_CMP; 14291 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900656A; /* 0x39006565: je 0x3900656a */ 14292 L_39006567: 14293 MEM32(esi + 0x4) = ecx; /* 0x39006567: mov dword ptr [esi + 4], ecx */ 14294 L_3900656A: 14295 esi = MEM32(ecx + 0x4); /* 0x3900656A: mov esi, dword ptr [ecx + 4] */ 14296 MEM32(edx + 0x4) = esi; /* 0x3900656D: mov dword ptr [edx + 4], esi */ 14297 esi = MEM32(edi + 0x4); /* 0x39006570: mov esi, dword ptr [edi + 4] */ 14298 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006573: cmp ecx, dword ptr [esi + 4] */ 14299 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14300 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14301 _flag_k = FK_CMP; 14302 if (CMP_NE(_flag_a, _flag_b)) goto L_3900657D; /* 0x39006576: jne 0x3900657d */ 14303 L_39006578: 14304 MEM32(esi + 0x4) = edx; /* 0x39006578: mov dword ptr [esi + 4], edx */ 14305 goto L_3900658B; /* 0x3900657B: jmp 0x3900658b */ 14306 L_3900657D: 14307 esi = MEM32(ecx + 0x4); /* 0x3900657D: mov esi, dword ptr [ecx + 4] */ 14308 /* cmp ecx, MEM32(esi) */ /* 0x39006580: cmp ecx, dword ptr [esi] */ 14309 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 14310 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14311 _flag_k = FK_CMP; 14312 if (CMP_NE(_flag_a, _flag_b)) goto L_39006588; /* 0x39006582: jne 0x39006588 */ 14313 L_39006584: 14314 MEM32(esi) = edx; /* 0x39006584: mov dword ptr [esi], edx */ 14315 goto L_3900658B; /* 0x39006586: jmp 0x3900658b */ 14316 L_39006588: 14317 MEM32(esi + 0x8) = edx; /* 0x39006588: mov dword ptr [esi + 8], edx */ 14318 L_3900658B: 14319 MEM32(edx) = ecx; /* 0x3900658B: mov dword ptr [edx], ecx */ 14320 MEM32(ecx + 0x4) = edx; /* 0x3900658D: mov dword ptr [ecx + 4], edx */ 14321 ecx = MEM32(eax + 0x4); /* 0x39006590: mov ecx, dword ptr [eax + 4] */ 14322 ecx = MEM32(ecx); /* 0x39006593: mov ecx, dword ptr [ecx] */ 14323 L_39006595: 14324 edx = MEM32(eax + 0x4); /* 0x39006595: mov edx, dword ptr [eax + 4] */ 14325 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x39006598: mov dl, byte ptr [edx + 0x38] */ 14326 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x3900659B: mov byte ptr [ecx + 0x38], dl */ 14327 edx = MEM32(eax + 0x4); /* 0x3900659E: mov edx, dword ptr [eax + 4] */ 14328 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065A1: mov byte ptr [edx + 0x38], bl */ 14329 ecx = MEM32(ecx); /* 0x390065A4: mov ecx, dword ptr [ecx] */ 14330 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065A6: mov byte ptr [ecx + 0x38], bl */ 14331 ecx = MEM32(eax + 0x4); /* 0x390065A9: mov ecx, dword ptr [eax + 4] */ 14332 edx = MEM32(ecx); /* 0x390065AC: mov edx, dword ptr [ecx] */ 14333 esi = MEM32(edx + 0x8); /* 0x390065AE: mov esi, dword ptr [edx + 8] */ 14334 MEM32(ecx) = esi; /* 0x390065B1: mov dword ptr [ecx], esi */ 14335 esi = MEM32(edx + 0x8); /* 0x390065B3: mov esi, dword ptr [edx + 8] */ 14336 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390065B6: cmp esi, dword ptr [edi + 8] */ 14337 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14338 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14339 _flag_k = FK_CMP; 14340 if (CMP_EQ(_flag_a, _flag_b)) goto L_390065BE; /* 0x390065B9: je 0x390065be */ 14341 L_390065BB: 14342 MEM32(esi + 0x4) = ecx; /* 0x390065BB: mov dword ptr [esi + 4], ecx */ 14343 L_390065BE: 14344 esi = MEM32(ecx + 0x4); /* 0x390065BE: mov esi, dword ptr [ecx + 4] */ 14345 MEM32(edx + 0x4) = esi; /* 0x390065C1: mov dword ptr [edx + 4], esi */ 14346 esi = MEM32(edi + 0x4); /* 0x390065C4: mov esi, dword ptr [edi + 4] */ 14347 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390065C7: cmp ecx, dword ptr [esi + 4] */ 14348 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14349 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14350 _flag_k = FK_CMP; 14351 if (CMP_NE(_flag_a, _flag_b)) goto L_390065D1; /* 0x390065CA: jne 0x390065d1 */ 14352 L_390065CC: 14353 MEM32(esi + 0x4) = edx; /* 0x390065CC: mov dword ptr [esi + 4], edx */ 14354 goto L_390065E0; /* 0x390065CF: jmp 0x390065e0 */ 14355 L_390065D1: 14356 esi = MEM32(ecx + 0x4); /* 0x390065D1: mov esi, dword ptr [ecx + 4] */ 14357 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x390065D4: cmp ecx, dword ptr [esi + 8] */ 14358 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 14359 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14360 _flag_k = FK_CMP; 14361 if (CMP_NE(_flag_a, _flag_b)) goto L_390065DE; /* 0x390065D7: jne 0x390065de */ 14362 L_390065D9: 14363 MEM32(esi + 0x8) = edx; /* 0x390065D9: mov dword ptr [esi + 8], edx */ 14364 goto L_390065E0; /* 0x390065DC: jmp 0x390065e0 */ 14365 L_390065DE: 14366 MEM32(esi) = edx; /* 0x390065DE: mov dword ptr [esi], edx */ 14367 L_390065E0: 14368 MEM32(edx + 0x8) = ecx; /* 0x390065E0: mov dword ptr [edx + 8], ecx */ 14369 L_390065E3: 14370 MEM32(ecx + 0x4) = edx; /* 0x390065E3: mov dword ptr [ecx + 4], edx */ 14371 L_390065E6: 14372 esi = MEM32(ebp + (-0x4)); /* 0x390065E6: mov esi, dword ptr [ebp - 4] */ 14373 MEM8(eax + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065E9: mov byte ptr [eax + 0x38], bl */ 14374 L_390065EC: 14375 ecx = esi + 0xC; /* 0x390065EC: lea ecx, [esi + 0xc] */ 14376 RECOMP_ICALL(0x390047D0u); /* 0x390065EF: call 0x390047d0 */ /* not lifted */ 14377 RECOMP_FLAGS_IN(); 14378 PUSH32(esp, esi); /* 0x390065F4: push esi */ 14379 RECOMP_ICALL(0x3900A0A0u); /* 0x390065F5: call 0x3900a0a0 */ /* not lifted */ 14380 RECOMP_FLAGS_IN(); 14381 eax = MEM32(edi + 0x10); /* 0x390065FA: mov eax, dword ptr [edi + 0x10] */ 14382 edx = MEM32(ebp + 0xC); /* 0x390065FD: mov edx, dword ptr [ebp + 0xc] */ 14383 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14384 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14385 esp = esp + 4; /* 0x39006600: add esp, 4 */ 14386 _flag_k = FK_ADD; 14387 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 14388 eax = eax - 1; /* 0x39006603: dec eax */ 14389 _flag_k = FK_DEC; 14390 MEM32(edi + 0x10) = eax; /* 0x39006604: mov dword ptr [edi + 0x10], eax */ 14391 eax = MEM32(ebp + 0x8); /* 0x39006607: mov eax, dword ptr [ebp + 8] */ 14392 edi = POP32_VAL(esp); /* 0x3900660A: pop edi */ 14393 esi = POP32_VAL(esp); /* 0x3900660B: pop esi */ 14394 MEM32(eax) = edx; /* 0x3900660C: mov dword ptr [eax], edx */ 14395 ebx = POP32_VAL(esp); /* 0x3900660E: pop ebx */ 14396 esp = ebp; /* 0x3900660F: mov esp, ebp */ 14397 ebp = POP32_VAL(esp); /* 0x39006611: pop ebp */ 14398 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x39006612: ret 8 */ 14399 RECOMP_REGS_OUT(); 14400 } 14401 14402 void sub_3900634D(void) { 14403 int _fpu_cmp = 0; 14404 uint32_t _cf = 0; 14405 int _df = 1; 14406 uint32_t _flag_k = FK_NONE; 14407 uint32_t _flag_a = 0, _flag_b = 0; 14408 uint32_t _itail_tgt = 0; 14409 RECOMP_REGS_LOCALS 14410 RECOMP_ENTER(0x3900634Du); 14411 14412 L_3900634D: 14413 MEM32(ebx) = edx; /* 0x3900634D: mov dword ptr [ebx], edx */ 14414 ebx = MEM32(edi + 0x4); /* 0x3900634F: mov ebx, dword ptr [edi + 4] */ 14415 /* cmp MEM32(ebx + 0x8), esi */ /* 0x39006352: cmp dword ptr [ebx + 8], esi */ 14416 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 14417 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14418 _flag_k = FK_CMP; 14419 if (CMP_NE(_flag_a, _flag_b)) goto L_3900637E; /* 0x39006355: jne 0x3900637e */ 14420 L_39006357: 14421 ecx = MEM32(esi); /* 0x39006357: mov ecx, dword ptr [esi] */ 14422 edx = MEM32(edi + 0x8); /* 0x39006359: mov edx, dword ptr [edi + 8] */ 14423 /* cmp ecx, edx */ /* 0x3900635C: cmp ecx, edx */ 14424 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 14425 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14426 _flag_k = FK_CMP; 14427 if (CMP_NE(_flag_a, _flag_b)) goto L_39006365; /* 0x3900635E: jne 0x39006365 */ 14428 L_39006360: 14429 edx = MEM32(esi + 0x4); /* 0x39006360: mov edx, dword ptr [esi + 4] */ 14430 goto L_3900637B; /* 0x39006363: jmp 0x3900637b */ 14431 L_39006365: 14432 ecx = MEM32(eax + 0x8); /* 0x39006365: mov ecx, dword ptr [eax + 8] */ 14433 edx = eax; /* 0x39006368: mov edx, eax */ 14434 /* cmp MEM8(ecx + 0x39), 0 */ /* 0x3900636A: cmp byte ptr [ecx + 0x39], 0 */ 14435 _flag_a = (uint32_t)(MEM8(ecx + 0x39)) << 24; _flag_b = (uint32_t)(0) << 24; 14436 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14437 _flag_k = FK_NARROW(FK_CMP, 24); 14438 if (CMP_NE(_flag_a, _flag_b)) goto L_3900637B; /* 0x3900636E: jne 0x3900637b */ 14439 L_39006370: 14440 edx = ecx; /* 0x39006370: mov edx, ecx */ 14441 ecx = MEM32(edx + 0x8); /* 0x39006372: mov ecx, dword ptr [edx + 8] */ 14442 /* cmp MEM8(ecx + 0x39), 0 */ /* 0x39006375: cmp byte ptr [ecx + 0x39], 0 */ 14443 _flag_a = (uint32_t)(MEM8(ecx + 0x39)) << 24; _flag_b = (uint32_t)(0) << 24; 14444 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14445 _flag_k = FK_NARROW(FK_CMP, 24); 14446 RECOMP_BACKEDGE(); 14447 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006370; /* 0x39006379: je 0x39006370 */ 14448 L_3900637B: 14449 MEM32(ebx + 0x8) = edx; /* 0x3900637B: mov dword ptr [ebx + 8], edx */ 14450 L_3900637E: 14451 esi = MEM32(ebp + (-0x4)); /* 0x3900637E: mov esi, dword ptr [ebp - 4] */ 14452 SET_LO8(ebx, 1); /* 0x39006381: mov bl, 1 */ 14453 /* cmp MEM8(esi + 0x38), LO8(ebx) */ /* 0x39006383: cmp byte ptr [esi + 0x38], bl */ 14454 _flag_a = (uint32_t)(MEM8(esi + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14455 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14456 _flag_k = FK_NARROW(FK_CMP, 24); 14457 if (CMP_NE(_flag_a, _flag_b)) goto L_390065EC; /* 0x39006386: jne 0x390065ec */ 14458 L_3900638C: 14459 ecx = MEM32(edi + 0x4); /* 0x3900638C: mov ecx, dword ptr [edi + 4] */ 14460 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900638F: cmp eax, dword ptr [ecx + 4] */ 14461 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 14462 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14463 _flag_k = FK_CMP; 14464 if (CMP_EQ(_flag_a, _flag_b)) goto L_390065E6; /* 0x39006392: je 0x390065e6 */ 14465 L_39006398: 14466 /* cmp MEM8(eax + 0x38), LO8(ebx) */ /* 0x39006398: cmp byte ptr [eax + 0x38], bl */ 14467 _flag_a = (uint32_t)(MEM8(eax + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14468 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14469 _flag_k = FK_NARROW(FK_CMP, 24); 14470 if (CMP_NE(_flag_a, _flag_b)) goto L_390065E6; /* 0x3900639B: jne 0x390065e6 */ 14471 L_390063A1: 14472 edx = MEM32(eax + 0x4); /* 0x390063A1: mov edx, dword ptr [eax + 4] */ 14473 ecx = MEM32(edx); /* 0x390063A4: mov ecx, dword ptr [edx] */ 14474 /* cmp eax, ecx */ /* 0x390063A6: cmp eax, ecx */ 14475 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 14476 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14477 _flag_k = FK_CMP; 14478 if (CMP_NE(_flag_a, _flag_b)) goto L_39006418; /* 0x390063A8: jne 0x39006418 */ 14479 L_390063AA: 14480 ecx = MEM32(edx + 0x8); /* 0x390063AA: mov ecx, dword ptr [edx + 8] */ 14481 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x390063AD: mov dl, byte ptr [ecx + 0x38] */ 14482 /* test LO8(edx), LO8(edx) */ /* 0x390063B0: test dl, dl */ 14483 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 14484 _cf = 0; 14485 _flag_k = FK_NARROW(FK_TEST, 24); 14486 if (TEST_NZ(_flag_a, _flag_b)) goto L_390063FF; /* 0x390063B2: jne 0x390063ff */ 14487 L_390063B4: 14488 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390063B4: mov byte ptr [ecx + 0x38], bl */ 14489 edx = MEM32(eax + 0x4); /* 0x390063B7: mov edx, dword ptr [eax + 4] */ 14490 MEM8(edx + 0x38) = (uint8_t)(0); /* 0x390063BA: mov byte ptr [edx + 0x38], 0 */ 14491 ecx = MEM32(eax + 0x4); /* 0x390063BE: mov ecx, dword ptr [eax + 4] */ 14492 edx = MEM32(ecx + 0x8); /* 0x390063C1: mov edx, dword ptr [ecx + 8] */ 14493 esi = MEM32(edx); /* 0x390063C4: mov esi, dword ptr [edx] */ 14494 MEM32(ecx + 0x8) = esi; /* 0x390063C6: mov dword ptr [ecx + 8], esi */ 14495 esi = MEM32(edx); /* 0x390063C9: mov esi, dword ptr [edx] */ 14496 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390063CB: cmp esi, dword ptr [edi + 8] */ 14497 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14498 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14499 _flag_k = FK_CMP; 14500 if (CMP_EQ(_flag_a, _flag_b)) goto L_390063D3; /* 0x390063CE: je 0x390063d3 */ 14501 L_390063D0: 14502 MEM32(esi + 0x4) = ecx; /* 0x390063D0: mov dword ptr [esi + 4], ecx */ 14503 L_390063D3: 14504 esi = MEM32(ecx + 0x4); /* 0x390063D3: mov esi, dword ptr [ecx + 4] */ 14505 MEM32(edx + 0x4) = esi; /* 0x390063D6: mov dword ptr [edx + 4], esi */ 14506 esi = MEM32(edi + 0x4); /* 0x390063D9: mov esi, dword ptr [edi + 4] */ 14507 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390063DC: cmp ecx, dword ptr [esi + 4] */ 14508 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14509 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14510 _flag_k = FK_CMP; 14511 if (CMP_NE(_flag_a, _flag_b)) goto L_390063E6; /* 0x390063DF: jne 0x390063e6 */ 14512 L_390063E1: 14513 MEM32(esi + 0x4) = edx; /* 0x390063E1: mov dword ptr [esi + 4], edx */ 14514 goto L_390063F4; /* 0x390063E4: jmp 0x390063f4 */ 14515 L_390063E6: 14516 esi = MEM32(ecx + 0x4); /* 0x390063E6: mov esi, dword ptr [ecx + 4] */ 14517 /* cmp ecx, MEM32(esi) */ /* 0x390063E9: cmp ecx, dword ptr [esi] */ 14518 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 14519 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14520 _flag_k = FK_CMP; 14521 if (CMP_NE(_flag_a, _flag_b)) goto L_390063F1; /* 0x390063EB: jne 0x390063f1 */ 14522 L_390063ED: 14523 MEM32(esi) = edx; /* 0x390063ED: mov dword ptr [esi], edx */ 14524 goto L_390063F4; /* 0x390063EF: jmp 0x390063f4 */ 14525 L_390063F1: 14526 MEM32(esi + 0x8) = edx; /* 0x390063F1: mov dword ptr [esi + 8], edx */ 14527 L_390063F4: 14528 MEM32(edx) = ecx; /* 0x390063F4: mov dword ptr [edx], ecx */ 14529 MEM32(ecx + 0x4) = edx; /* 0x390063F6: mov dword ptr [ecx + 4], edx */ 14530 ecx = MEM32(eax + 0x4); /* 0x390063F9: mov ecx, dword ptr [eax + 4] */ 14531 ecx = MEM32(ecx + 0x8); /* 0x390063FC: mov ecx, dword ptr [ecx + 8] */ 14532 L_390063FF: 14533 edx = MEM32(ecx); /* 0x390063FF: mov edx, dword ptr [ecx] */ 14534 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x39006401: cmp byte ptr [edx + 0x38], bl */ 14535 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14536 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14537 _flag_k = FK_NARROW(FK_CMP, 24); 14538 if (CMP_NE(_flag_a, _flag_b)) goto L_3900649A; /* 0x39006404: jne 0x3900649a */ 14539 L_3900640A: 14540 edx = MEM32(ecx + 0x8); /* 0x3900640A: mov edx, dword ptr [ecx + 8] */ 14541 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x3900640D: cmp byte ptr [edx + 0x38], bl */ 14542 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14543 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14544 _flag_k = FK_NARROW(FK_CMP, 24); 14545 if (CMP_NE(_flag_a, _flag_b)) goto L_3900649A; /* 0x39006410: jne 0x3900649a */ 14546 L_39006416: 14547 goto L_39006482; /* 0x39006416: jmp 0x39006482 */ 14548 L_39006418: 14549 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x39006418: mov dl, byte ptr [ecx + 0x38] */ 14550 /* test LO8(edx), LO8(edx) */ /* 0x3900641B: test dl, dl */ 14551 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 14552 _cf = 0; 14553 _flag_k = FK_NARROW(FK_TEST, 24); 14554 if (TEST_NZ(_flag_a, _flag_b)) goto L_3900646B; /* 0x3900641D: jne 0x3900646b */ 14555 L_3900641F: 14556 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x3900641F: mov byte ptr [ecx + 0x38], bl */ 14557 ecx = MEM32(eax + 0x4); /* 0x39006422: mov ecx, dword ptr [eax + 4] */ 14558 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x39006425: mov byte ptr [ecx + 0x38], 0 */ 14559 ecx = MEM32(eax + 0x4); /* 0x39006429: mov ecx, dword ptr [eax + 4] */ 14560 edx = MEM32(ecx); /* 0x3900642C: mov edx, dword ptr [ecx] */ 14561 esi = MEM32(edx + 0x8); /* 0x3900642E: mov esi, dword ptr [edx + 8] */ 14562 MEM32(ecx) = esi; /* 0x39006431: mov dword ptr [ecx], esi */ 14563 esi = MEM32(edx + 0x8); /* 0x39006433: mov esi, dword ptr [edx + 8] */ 14564 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006436: cmp esi, dword ptr [edi + 8] */ 14565 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14566 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14567 _flag_k = FK_CMP; 14568 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900643E; /* 0x39006439: je 0x3900643e */ 14569 L_3900643B: 14570 MEM32(esi + 0x4) = ecx; /* 0x3900643B: mov dword ptr [esi + 4], ecx */ 14571 L_3900643E: 14572 esi = MEM32(ecx + 0x4); /* 0x3900643E: mov esi, dword ptr [ecx + 4] */ 14573 MEM32(edx + 0x4) = esi; /* 0x39006441: mov dword ptr [edx + 4], esi */ 14574 esi = MEM32(edi + 0x4); /* 0x39006444: mov esi, dword ptr [edi + 4] */ 14575 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006447: cmp ecx, dword ptr [esi + 4] */ 14576 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14577 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14578 _flag_k = FK_CMP; 14579 if (CMP_NE(_flag_a, _flag_b)) goto L_39006451; /* 0x3900644A: jne 0x39006451 */ 14580 L_3900644C: 14581 MEM32(esi + 0x4) = edx; /* 0x3900644C: mov dword ptr [esi + 4], edx */ 14582 goto L_39006460; /* 0x3900644F: jmp 0x39006460 */ 14583 L_39006451: 14584 esi = MEM32(ecx + 0x4); /* 0x39006451: mov esi, dword ptr [ecx + 4] */ 14585 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39006454: cmp ecx, dword ptr [esi + 8] */ 14586 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 14587 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14588 _flag_k = FK_CMP; 14589 if (CMP_NE(_flag_a, _flag_b)) goto L_3900645E; /* 0x39006457: jne 0x3900645e */ 14590 L_39006459: 14591 MEM32(esi + 0x8) = edx; /* 0x39006459: mov dword ptr [esi + 8], edx */ 14592 goto L_39006460; /* 0x3900645C: jmp 0x39006460 */ 14593 L_3900645E: 14594 MEM32(esi) = edx; /* 0x3900645E: mov dword ptr [esi], edx */ 14595 L_39006460: 14596 MEM32(edx + 0x8) = ecx; /* 0x39006460: mov dword ptr [edx + 8], ecx */ 14597 MEM32(ecx + 0x4) = edx; /* 0x39006463: mov dword ptr [ecx + 4], edx */ 14598 edx = MEM32(eax + 0x4); /* 0x39006466: mov edx, dword ptr [eax + 4] */ 14599 ecx = MEM32(edx); /* 0x39006469: mov ecx, dword ptr [edx] */ 14600 L_3900646B: 14601 edx = MEM32(ecx + 0x8); /* 0x3900646B: mov edx, dword ptr [ecx + 8] */ 14602 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x3900646E: cmp byte ptr [edx + 0x38], bl */ 14603 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14604 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14605 _flag_k = FK_NARROW(FK_CMP, 24); 14606 if (CMP_NE(_flag_a, _flag_b)) goto L_39006547; /* 0x39006471: jne 0x39006547 */ 14607 L_39006477: 14608 edx = MEM32(ecx); /* 0x39006477: mov edx, dword ptr [ecx] */ 14609 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x39006479: cmp byte ptr [edx + 0x38], bl */ 14610 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14611 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14612 _flag_k = FK_NARROW(FK_CMP, 24); 14613 if (CMP_NE(_flag_a, _flag_b)) goto L_39006547; /* 0x3900647C: jne 0x39006547 */ 14614 L_39006482: 14615 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x39006482: mov byte ptr [ecx + 0x38], 0 */ 14616 ecx = MEM32(edi + 0x4); /* 0x39006486: mov ecx, dword ptr [edi + 4] */ 14617 eax = MEM32(eax + 0x4); /* 0x39006489: mov eax, dword ptr [eax + 4] */ 14618 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900648C: cmp eax, dword ptr [ecx + 4] */ 14619 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 14620 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14621 _flag_k = FK_CMP; 14622 RECOMP_BACKEDGE(); 14623 if (CMP_NE(_flag_a, _flag_b)) goto L_39006398; /* 0x3900648F: jne 0x39006398 */ 14624 L_39006495: 14625 goto L_390065E6; /* 0x39006495: jmp 0x390065e6 */ 14626 L_3900649A: 14627 edx = MEM32(ecx + 0x8); /* 0x3900649A: mov edx, dword ptr [ecx + 8] */ 14628 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x3900649D: cmp byte ptr [edx + 0x38], bl */ 14629 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14630 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14631 _flag_k = FK_NARROW(FK_CMP, 24); 14632 if (CMP_NE(_flag_a, _flag_b)) goto L_390064EB; /* 0x390064A0: jne 0x390064eb */ 14633 L_390064A2: 14634 edx = MEM32(ecx); /* 0x390064A2: mov edx, dword ptr [ecx] */ 14635 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390064A4: mov byte ptr [edx + 0x38], bl */ 14636 edx = MEM32(ecx); /* 0x390064A7: mov edx, dword ptr [ecx] */ 14637 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x390064A9: mov byte ptr [ecx + 0x38], 0 */ 14638 esi = MEM32(edx + 0x8); /* 0x390064AD: mov esi, dword ptr [edx + 8] */ 14639 MEM32(ecx) = esi; /* 0x390064B0: mov dword ptr [ecx], esi */ 14640 esi = MEM32(edx + 0x8); /* 0x390064B2: mov esi, dword ptr [edx + 8] */ 14641 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390064B5: cmp esi, dword ptr [edi + 8] */ 14642 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14643 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14644 _flag_k = FK_CMP; 14645 if (CMP_EQ(_flag_a, _flag_b)) goto L_390064BD; /* 0x390064B8: je 0x390064bd */ 14646 L_390064BA: 14647 MEM32(esi + 0x4) = ecx; /* 0x390064BA: mov dword ptr [esi + 4], ecx */ 14648 L_390064BD: 14649 esi = MEM32(ecx + 0x4); /* 0x390064BD: mov esi, dword ptr [ecx + 4] */ 14650 MEM32(edx + 0x4) = esi; /* 0x390064C0: mov dword ptr [edx + 4], esi */ 14651 esi = MEM32(edi + 0x4); /* 0x390064C3: mov esi, dword ptr [edi + 4] */ 14652 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390064C6: cmp ecx, dword ptr [esi + 4] */ 14653 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14654 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14655 _flag_k = FK_CMP; 14656 if (CMP_NE(_flag_a, _flag_b)) goto L_390064D0; /* 0x390064C9: jne 0x390064d0 */ 14657 L_390064CB: 14658 MEM32(esi + 0x4) = edx; /* 0x390064CB: mov dword ptr [esi + 4], edx */ 14659 goto L_390064DF; /* 0x390064CE: jmp 0x390064df */ 14660 L_390064D0: 14661 esi = MEM32(ecx + 0x4); /* 0x390064D0: mov esi, dword ptr [ecx + 4] */ 14662 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x390064D3: cmp ecx, dword ptr [esi + 8] */ 14663 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 14664 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14665 _flag_k = FK_CMP; 14666 if (CMP_NE(_flag_a, _flag_b)) goto L_390064DD; /* 0x390064D6: jne 0x390064dd */ 14667 L_390064D8: 14668 MEM32(esi + 0x8) = edx; /* 0x390064D8: mov dword ptr [esi + 8], edx */ 14669 goto L_390064DF; /* 0x390064DB: jmp 0x390064df */ 14670 L_390064DD: 14671 MEM32(esi) = edx; /* 0x390064DD: mov dword ptr [esi], edx */ 14672 L_390064DF: 14673 MEM32(edx + 0x8) = ecx; /* 0x390064DF: mov dword ptr [edx + 8], ecx */ 14674 MEM32(ecx + 0x4) = edx; /* 0x390064E2: mov dword ptr [ecx + 4], edx */ 14675 ecx = MEM32(eax + 0x4); /* 0x390064E5: mov ecx, dword ptr [eax + 4] */ 14676 ecx = MEM32(ecx + 0x8); /* 0x390064E8: mov ecx, dword ptr [ecx + 8] */ 14677 L_390064EB: 14678 edx = MEM32(eax + 0x4); /* 0x390064EB: mov edx, dword ptr [eax + 4] */ 14679 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x390064EE: mov dl, byte ptr [edx + 0x38] */ 14680 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x390064F1: mov byte ptr [ecx + 0x38], dl */ 14681 edx = MEM32(eax + 0x4); /* 0x390064F4: mov edx, dword ptr [eax + 4] */ 14682 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390064F7: mov byte ptr [edx + 0x38], bl */ 14683 ecx = MEM32(ecx + 0x8); /* 0x390064FA: mov ecx, dword ptr [ecx + 8] */ 14684 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390064FD: mov byte ptr [ecx + 0x38], bl */ 14685 ecx = MEM32(eax + 0x4); /* 0x39006500: mov ecx, dword ptr [eax + 4] */ 14686 edx = MEM32(ecx + 0x8); /* 0x39006503: mov edx, dword ptr [ecx + 8] */ 14687 esi = MEM32(edx); /* 0x39006506: mov esi, dword ptr [edx] */ 14688 MEM32(ecx + 0x8) = esi; /* 0x39006508: mov dword ptr [ecx + 8], esi */ 14689 esi = MEM32(edx); /* 0x3900650B: mov esi, dword ptr [edx] */ 14690 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3900650D: cmp esi, dword ptr [edi + 8] */ 14691 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14692 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14693 _flag_k = FK_CMP; 14694 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006515; /* 0x39006510: je 0x39006515 */ 14695 L_39006512: 14696 MEM32(esi + 0x4) = ecx; /* 0x39006512: mov dword ptr [esi + 4], ecx */ 14697 L_39006515: 14698 esi = MEM32(ecx + 0x4); /* 0x39006515: mov esi, dword ptr [ecx + 4] */ 14699 MEM32(edx + 0x4) = esi; /* 0x39006518: mov dword ptr [edx + 4], esi */ 14700 esi = MEM32(edi + 0x4); /* 0x3900651B: mov esi, dword ptr [edi + 4] */ 14701 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x3900651E: cmp ecx, dword ptr [esi + 4] */ 14702 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14703 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14704 _flag_k = FK_CMP; 14705 if (CMP_NE(_flag_a, _flag_b)) goto L_3900652D; /* 0x39006521: jne 0x3900652d */ 14706 L_39006523: 14707 MEM32(esi + 0x4) = edx; /* 0x39006523: mov dword ptr [esi + 4], edx */ 14708 MEM32(edx) = ecx; /* 0x39006526: mov dword ptr [edx], ecx */ 14709 goto L_390065E3; /* 0x39006528: jmp 0x390065e3 */ 14710 L_3900652D: 14711 esi = MEM32(ecx + 0x4); /* 0x3900652D: mov esi, dword ptr [ecx + 4] */ 14712 /* cmp ecx, MEM32(esi) */ /* 0x39006530: cmp ecx, dword ptr [esi] */ 14713 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 14714 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14715 _flag_k = FK_CMP; 14716 if (CMP_NE(_flag_a, _flag_b)) goto L_3900653D; /* 0x39006532: jne 0x3900653d */ 14717 L_39006534: 14718 MEM32(esi) = edx; /* 0x39006534: mov dword ptr [esi], edx */ 14719 MEM32(edx) = ecx; /* 0x39006536: mov dword ptr [edx], ecx */ 14720 goto L_390065E3; /* 0x39006538: jmp 0x390065e3 */ 14721 L_3900653D: 14722 MEM32(esi + 0x8) = edx; /* 0x3900653D: mov dword ptr [esi + 8], edx */ 14723 MEM32(edx) = ecx; /* 0x39006540: mov dword ptr [edx], ecx */ 14724 goto L_390065E3; /* 0x39006542: jmp 0x390065e3 */ 14725 L_39006547: 14726 edx = MEM32(ecx); /* 0x39006547: mov edx, dword ptr [ecx] */ 14727 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x39006549: cmp byte ptr [edx + 0x38], bl */ 14728 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14729 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14730 _flag_k = FK_NARROW(FK_CMP, 24); 14731 if (CMP_NE(_flag_a, _flag_b)) goto L_39006595; /* 0x3900654C: jne 0x39006595 */ 14732 L_3900654E: 14733 edx = MEM32(ecx + 0x8); /* 0x3900654E: mov edx, dword ptr [ecx + 8] */ 14734 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x39006551: mov byte ptr [edx + 0x38], bl */ 14735 edx = MEM32(ecx + 0x8); /* 0x39006554: mov edx, dword ptr [ecx + 8] */ 14736 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x39006557: mov byte ptr [ecx + 0x38], 0 */ 14737 esi = MEM32(edx); /* 0x3900655B: mov esi, dword ptr [edx] */ 14738 MEM32(ecx + 0x8) = esi; /* 0x3900655D: mov dword ptr [ecx + 8], esi */ 14739 esi = MEM32(edx); /* 0x39006560: mov esi, dword ptr [edx] */ 14740 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006562: cmp esi, dword ptr [edi + 8] */ 14741 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14742 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14743 _flag_k = FK_CMP; 14744 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900656A; /* 0x39006565: je 0x3900656a */ 14745 L_39006567: 14746 MEM32(esi + 0x4) = ecx; /* 0x39006567: mov dword ptr [esi + 4], ecx */ 14747 L_3900656A: 14748 esi = MEM32(ecx + 0x4); /* 0x3900656A: mov esi, dword ptr [ecx + 4] */ 14749 MEM32(edx + 0x4) = esi; /* 0x3900656D: mov dword ptr [edx + 4], esi */ 14750 esi = MEM32(edi + 0x4); /* 0x39006570: mov esi, dword ptr [edi + 4] */ 14751 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006573: cmp ecx, dword ptr [esi + 4] */ 14752 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14753 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14754 _flag_k = FK_CMP; 14755 if (CMP_NE(_flag_a, _flag_b)) goto L_3900657D; /* 0x39006576: jne 0x3900657d */ 14756 L_39006578: 14757 MEM32(esi + 0x4) = edx; /* 0x39006578: mov dword ptr [esi + 4], edx */ 14758 goto L_3900658B; /* 0x3900657B: jmp 0x3900658b */ 14759 L_3900657D: 14760 esi = MEM32(ecx + 0x4); /* 0x3900657D: mov esi, dword ptr [ecx + 4] */ 14761 /* cmp ecx, MEM32(esi) */ /* 0x39006580: cmp ecx, dword ptr [esi] */ 14762 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 14763 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14764 _flag_k = FK_CMP; 14765 if (CMP_NE(_flag_a, _flag_b)) goto L_39006588; /* 0x39006582: jne 0x39006588 */ 14766 L_39006584: 14767 MEM32(esi) = edx; /* 0x39006584: mov dword ptr [esi], edx */ 14768 goto L_3900658B; /* 0x39006586: jmp 0x3900658b */ 14769 L_39006588: 14770 MEM32(esi + 0x8) = edx; /* 0x39006588: mov dword ptr [esi + 8], edx */ 14771 L_3900658B: 14772 MEM32(edx) = ecx; /* 0x3900658B: mov dword ptr [edx], ecx */ 14773 MEM32(ecx + 0x4) = edx; /* 0x3900658D: mov dword ptr [ecx + 4], edx */ 14774 ecx = MEM32(eax + 0x4); /* 0x39006590: mov ecx, dword ptr [eax + 4] */ 14775 ecx = MEM32(ecx); /* 0x39006593: mov ecx, dword ptr [ecx] */ 14776 L_39006595: 14777 edx = MEM32(eax + 0x4); /* 0x39006595: mov edx, dword ptr [eax + 4] */ 14778 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x39006598: mov dl, byte ptr [edx + 0x38] */ 14779 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x3900659B: mov byte ptr [ecx + 0x38], dl */ 14780 edx = MEM32(eax + 0x4); /* 0x3900659E: mov edx, dword ptr [eax + 4] */ 14781 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065A1: mov byte ptr [edx + 0x38], bl */ 14782 ecx = MEM32(ecx); /* 0x390065A4: mov ecx, dword ptr [ecx] */ 14783 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065A6: mov byte ptr [ecx + 0x38], bl */ 14784 ecx = MEM32(eax + 0x4); /* 0x390065A9: mov ecx, dword ptr [eax + 4] */ 14785 edx = MEM32(ecx); /* 0x390065AC: mov edx, dword ptr [ecx] */ 14786 esi = MEM32(edx + 0x8); /* 0x390065AE: mov esi, dword ptr [edx + 8] */ 14787 MEM32(ecx) = esi; /* 0x390065B1: mov dword ptr [ecx], esi */ 14788 esi = MEM32(edx + 0x8); /* 0x390065B3: mov esi, dword ptr [edx + 8] */ 14789 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390065B6: cmp esi, dword ptr [edi + 8] */ 14790 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14791 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14792 _flag_k = FK_CMP; 14793 if (CMP_EQ(_flag_a, _flag_b)) goto L_390065BE; /* 0x390065B9: je 0x390065be */ 14794 L_390065BB: 14795 MEM32(esi + 0x4) = ecx; /* 0x390065BB: mov dword ptr [esi + 4], ecx */ 14796 L_390065BE: 14797 esi = MEM32(ecx + 0x4); /* 0x390065BE: mov esi, dword ptr [ecx + 4] */ 14798 MEM32(edx + 0x4) = esi; /* 0x390065C1: mov dword ptr [edx + 4], esi */ 14799 esi = MEM32(edi + 0x4); /* 0x390065C4: mov esi, dword ptr [edi + 4] */ 14800 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390065C7: cmp ecx, dword ptr [esi + 4] */ 14801 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14802 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14803 _flag_k = FK_CMP; 14804 if (CMP_NE(_flag_a, _flag_b)) goto L_390065D1; /* 0x390065CA: jne 0x390065d1 */ 14805 L_390065CC: 14806 MEM32(esi + 0x4) = edx; /* 0x390065CC: mov dword ptr [esi + 4], edx */ 14807 goto L_390065E0; /* 0x390065CF: jmp 0x390065e0 */ 14808 L_390065D1: 14809 esi = MEM32(ecx + 0x4); /* 0x390065D1: mov esi, dword ptr [ecx + 4] */ 14810 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x390065D4: cmp ecx, dword ptr [esi + 8] */ 14811 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 14812 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14813 _flag_k = FK_CMP; 14814 if (CMP_NE(_flag_a, _flag_b)) goto L_390065DE; /* 0x390065D7: jne 0x390065de */ 14815 L_390065D9: 14816 MEM32(esi + 0x8) = edx; /* 0x390065D9: mov dword ptr [esi + 8], edx */ 14817 goto L_390065E0; /* 0x390065DC: jmp 0x390065e0 */ 14818 L_390065DE: 14819 MEM32(esi) = edx; /* 0x390065DE: mov dword ptr [esi], edx */ 14820 L_390065E0: 14821 MEM32(edx + 0x8) = ecx; /* 0x390065E0: mov dword ptr [edx + 8], ecx */ 14822 L_390065E3: 14823 MEM32(ecx + 0x4) = edx; /* 0x390065E3: mov dword ptr [ecx + 4], edx */ 14824 L_390065E6: 14825 esi = MEM32(ebp + (-0x4)); /* 0x390065E6: mov esi, dword ptr [ebp - 4] */ 14826 MEM8(eax + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065E9: mov byte ptr [eax + 0x38], bl */ 14827 L_390065EC: 14828 ecx = esi + 0xC; /* 0x390065EC: lea ecx, [esi + 0xc] */ 14829 RECOMP_ICALL(0x390047D0u); /* 0x390065EF: call 0x390047d0 */ /* not lifted */ 14830 RECOMP_FLAGS_IN(); 14831 PUSH32(esp, esi); /* 0x390065F4: push esi */ 14832 RECOMP_ICALL(0x3900A0A0u); /* 0x390065F5: call 0x3900a0a0 */ /* not lifted */ 14833 RECOMP_FLAGS_IN(); 14834 eax = MEM32(edi + 0x10); /* 0x390065FA: mov eax, dword ptr [edi + 0x10] */ 14835 edx = MEM32(ebp + 0xC); /* 0x390065FD: mov edx, dword ptr [ebp + 0xc] */ 14836 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14837 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14838 esp = esp + 4; /* 0x39006600: add esp, 4 */ 14839 _flag_k = FK_ADD; 14840 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 14841 eax = eax - 1; /* 0x39006603: dec eax */ 14842 _flag_k = FK_DEC; 14843 MEM32(edi + 0x10) = eax; /* 0x39006604: mov dword ptr [edi + 0x10], eax */ 14844 eax = MEM32(ebp + 0x8); /* 0x39006607: mov eax, dword ptr [ebp + 8] */ 14845 edi = POP32_VAL(esp); /* 0x3900660A: pop edi */ 14846 esi = POP32_VAL(esp); /* 0x3900660B: pop esi */ 14847 MEM32(eax) = edx; /* 0x3900660C: mov dword ptr [eax], edx */ 14848 ebx = POP32_VAL(esp); /* 0x3900660E: pop ebx */ 14849 esp = ebp; /* 0x3900660F: mov esp, ebp */ 14850 ebp = POP32_VAL(esp); /* 0x39006611: pop ebp */ 14851 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x39006612: ret 8 */ 14852 RECOMP_REGS_OUT(); 14853 } 14854 14855 void sub_3900637B(void) { 14856 int _fpu_cmp = 0; 14857 uint32_t _cf = 0; 14858 int _df = 1; 14859 uint32_t _flag_k = FK_NONE; 14860 uint32_t _flag_a = 0, _flag_b = 0; 14861 uint32_t _itail_tgt = 0; 14862 RECOMP_REGS_LOCALS 14863 RECOMP_ENTER(0x3900637Bu); 14864 14865 L_3900637B: 14866 MEM32(ebx + 0x8) = edx; /* 0x3900637B: mov dword ptr [ebx + 8], edx */ 14867 esi = MEM32(ebp + (-0x4)); /* 0x3900637E: mov esi, dword ptr [ebp - 4] */ 14868 SET_LO8(ebx, 1); /* 0x39006381: mov bl, 1 */ 14869 /* cmp MEM8(esi + 0x38), LO8(ebx) */ /* 0x39006383: cmp byte ptr [esi + 0x38], bl */ 14870 _flag_a = (uint32_t)(MEM8(esi + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14871 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14872 _flag_k = FK_NARROW(FK_CMP, 24); 14873 if (CMP_NE(_flag_a, _flag_b)) goto L_390065EC; /* 0x39006386: jne 0x390065ec */ 14874 L_3900638C: 14875 ecx = MEM32(edi + 0x4); /* 0x3900638C: mov ecx, dword ptr [edi + 4] */ 14876 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900638F: cmp eax, dword ptr [ecx + 4] */ 14877 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 14878 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14879 _flag_k = FK_CMP; 14880 if (CMP_EQ(_flag_a, _flag_b)) goto L_390065E6; /* 0x39006392: je 0x390065e6 */ 14881 L_39006398: 14882 /* cmp MEM8(eax + 0x38), LO8(ebx) */ /* 0x39006398: cmp byte ptr [eax + 0x38], bl */ 14883 _flag_a = (uint32_t)(MEM8(eax + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14884 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14885 _flag_k = FK_NARROW(FK_CMP, 24); 14886 if (CMP_NE(_flag_a, _flag_b)) goto L_390065E6; /* 0x3900639B: jne 0x390065e6 */ 14887 L_390063A1: 14888 edx = MEM32(eax + 0x4); /* 0x390063A1: mov edx, dword ptr [eax + 4] */ 14889 ecx = MEM32(edx); /* 0x390063A4: mov ecx, dword ptr [edx] */ 14890 /* cmp eax, ecx */ /* 0x390063A6: cmp eax, ecx */ 14891 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 14892 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14893 _flag_k = FK_CMP; 14894 if (CMP_NE(_flag_a, _flag_b)) goto L_39006418; /* 0x390063A8: jne 0x39006418 */ 14895 L_390063AA: 14896 ecx = MEM32(edx + 0x8); /* 0x390063AA: mov ecx, dword ptr [edx + 8] */ 14897 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x390063AD: mov dl, byte ptr [ecx + 0x38] */ 14898 /* test LO8(edx), LO8(edx) */ /* 0x390063B0: test dl, dl */ 14899 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 14900 _cf = 0; 14901 _flag_k = FK_NARROW(FK_TEST, 24); 14902 if (TEST_NZ(_flag_a, _flag_b)) goto L_390063FF; /* 0x390063B2: jne 0x390063ff */ 14903 L_390063B4: 14904 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390063B4: mov byte ptr [ecx + 0x38], bl */ 14905 edx = MEM32(eax + 0x4); /* 0x390063B7: mov edx, dword ptr [eax + 4] */ 14906 MEM8(edx + 0x38) = (uint8_t)(0); /* 0x390063BA: mov byte ptr [edx + 0x38], 0 */ 14907 ecx = MEM32(eax + 0x4); /* 0x390063BE: mov ecx, dword ptr [eax + 4] */ 14908 edx = MEM32(ecx + 0x8); /* 0x390063C1: mov edx, dword ptr [ecx + 8] */ 14909 esi = MEM32(edx); /* 0x390063C4: mov esi, dword ptr [edx] */ 14910 MEM32(ecx + 0x8) = esi; /* 0x390063C6: mov dword ptr [ecx + 8], esi */ 14911 esi = MEM32(edx); /* 0x390063C9: mov esi, dword ptr [edx] */ 14912 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390063CB: cmp esi, dword ptr [edi + 8] */ 14913 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14914 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14915 _flag_k = FK_CMP; 14916 if (CMP_EQ(_flag_a, _flag_b)) goto L_390063D3; /* 0x390063CE: je 0x390063d3 */ 14917 L_390063D0: 14918 MEM32(esi + 0x4) = ecx; /* 0x390063D0: mov dword ptr [esi + 4], ecx */ 14919 L_390063D3: 14920 esi = MEM32(ecx + 0x4); /* 0x390063D3: mov esi, dword ptr [ecx + 4] */ 14921 MEM32(edx + 0x4) = esi; /* 0x390063D6: mov dword ptr [edx + 4], esi */ 14922 esi = MEM32(edi + 0x4); /* 0x390063D9: mov esi, dword ptr [edi + 4] */ 14923 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390063DC: cmp ecx, dword ptr [esi + 4] */ 14924 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14925 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14926 _flag_k = FK_CMP; 14927 if (CMP_NE(_flag_a, _flag_b)) goto L_390063E6; /* 0x390063DF: jne 0x390063e6 */ 14928 L_390063E1: 14929 MEM32(esi + 0x4) = edx; /* 0x390063E1: mov dword ptr [esi + 4], edx */ 14930 goto L_390063F4; /* 0x390063E4: jmp 0x390063f4 */ 14931 L_390063E6: 14932 esi = MEM32(ecx + 0x4); /* 0x390063E6: mov esi, dword ptr [ecx + 4] */ 14933 /* cmp ecx, MEM32(esi) */ /* 0x390063E9: cmp ecx, dword ptr [esi] */ 14934 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 14935 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14936 _flag_k = FK_CMP; 14937 if (CMP_NE(_flag_a, _flag_b)) goto L_390063F1; /* 0x390063EB: jne 0x390063f1 */ 14938 L_390063ED: 14939 MEM32(esi) = edx; /* 0x390063ED: mov dword ptr [esi], edx */ 14940 goto L_390063F4; /* 0x390063EF: jmp 0x390063f4 */ 14941 L_390063F1: 14942 MEM32(esi + 0x8) = edx; /* 0x390063F1: mov dword ptr [esi + 8], edx */ 14943 L_390063F4: 14944 MEM32(edx) = ecx; /* 0x390063F4: mov dword ptr [edx], ecx */ 14945 MEM32(ecx + 0x4) = edx; /* 0x390063F6: mov dword ptr [ecx + 4], edx */ 14946 ecx = MEM32(eax + 0x4); /* 0x390063F9: mov ecx, dword ptr [eax + 4] */ 14947 ecx = MEM32(ecx + 0x8); /* 0x390063FC: mov ecx, dword ptr [ecx + 8] */ 14948 L_390063FF: 14949 edx = MEM32(ecx); /* 0x390063FF: mov edx, dword ptr [ecx] */ 14950 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x39006401: cmp byte ptr [edx + 0x38], bl */ 14951 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14952 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14953 _flag_k = FK_NARROW(FK_CMP, 24); 14954 if (CMP_NE(_flag_a, _flag_b)) goto L_3900649A; /* 0x39006404: jne 0x3900649a */ 14955 L_3900640A: 14956 edx = MEM32(ecx + 0x8); /* 0x3900640A: mov edx, dword ptr [ecx + 8] */ 14957 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x3900640D: cmp byte ptr [edx + 0x38], bl */ 14958 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14959 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14960 _flag_k = FK_NARROW(FK_CMP, 24); 14961 if (CMP_NE(_flag_a, _flag_b)) goto L_3900649A; /* 0x39006410: jne 0x3900649a */ 14962 L_39006416: 14963 goto L_39006482; /* 0x39006416: jmp 0x39006482 */ 14964 L_39006418: 14965 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x39006418: mov dl, byte ptr [ecx + 0x38] */ 14966 /* test LO8(edx), LO8(edx) */ /* 0x3900641B: test dl, dl */ 14967 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 14968 _cf = 0; 14969 _flag_k = FK_NARROW(FK_TEST, 24); 14970 if (TEST_NZ(_flag_a, _flag_b)) goto L_3900646B; /* 0x3900641D: jne 0x3900646b */ 14971 L_3900641F: 14972 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x3900641F: mov byte ptr [ecx + 0x38], bl */ 14973 ecx = MEM32(eax + 0x4); /* 0x39006422: mov ecx, dword ptr [eax + 4] */ 14974 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x39006425: mov byte ptr [ecx + 0x38], 0 */ 14975 ecx = MEM32(eax + 0x4); /* 0x39006429: mov ecx, dword ptr [eax + 4] */ 14976 edx = MEM32(ecx); /* 0x3900642C: mov edx, dword ptr [ecx] */ 14977 esi = MEM32(edx + 0x8); /* 0x3900642E: mov esi, dword ptr [edx + 8] */ 14978 MEM32(ecx) = esi; /* 0x39006431: mov dword ptr [ecx], esi */ 14979 esi = MEM32(edx + 0x8); /* 0x39006433: mov esi, dword ptr [edx + 8] */ 14980 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006436: cmp esi, dword ptr [edi + 8] */ 14981 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14982 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14983 _flag_k = FK_CMP; 14984 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900643E; /* 0x39006439: je 0x3900643e */ 14985 L_3900643B: 14986 MEM32(esi + 0x4) = ecx; /* 0x3900643B: mov dword ptr [esi + 4], ecx */ 14987 L_3900643E: 14988 esi = MEM32(ecx + 0x4); /* 0x3900643E: mov esi, dword ptr [ecx + 4] */ 14989 MEM32(edx + 0x4) = esi; /* 0x39006441: mov dword ptr [edx + 4], esi */ 14990 esi = MEM32(edi + 0x4); /* 0x39006444: mov esi, dword ptr [edi + 4] */ 14991 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006447: cmp ecx, dword ptr [esi + 4] */ 14992 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 14993 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14994 _flag_k = FK_CMP; 14995 if (CMP_NE(_flag_a, _flag_b)) goto L_39006451; /* 0x3900644A: jne 0x39006451 */ 14996 L_3900644C: 14997 MEM32(esi + 0x4) = edx; /* 0x3900644C: mov dword ptr [esi + 4], edx */ 14998 goto L_39006460; /* 0x3900644F: jmp 0x39006460 */ 14999 L_39006451: 15000 esi = MEM32(ecx + 0x4); /* 0x39006451: mov esi, dword ptr [ecx + 4] */ 15001 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39006454: cmp ecx, dword ptr [esi + 8] */ 15002 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 15003 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15004 _flag_k = FK_CMP; 15005 if (CMP_NE(_flag_a, _flag_b)) goto L_3900645E; /* 0x39006457: jne 0x3900645e */ 15006 L_39006459: 15007 MEM32(esi + 0x8) = edx; /* 0x39006459: mov dword ptr [esi + 8], edx */ 15008 goto L_39006460; /* 0x3900645C: jmp 0x39006460 */ 15009 L_3900645E: 15010 MEM32(esi) = edx; /* 0x3900645E: mov dword ptr [esi], edx */ 15011 L_39006460: 15012 MEM32(edx + 0x8) = ecx; /* 0x39006460: mov dword ptr [edx + 8], ecx */ 15013 MEM32(ecx + 0x4) = edx; /* 0x39006463: mov dword ptr [ecx + 4], edx */ 15014 edx = MEM32(eax + 0x4); /* 0x39006466: mov edx, dword ptr [eax + 4] */ 15015 ecx = MEM32(edx); /* 0x39006469: mov ecx, dword ptr [edx] */ 15016 L_3900646B: 15017 edx = MEM32(ecx + 0x8); /* 0x3900646B: mov edx, dword ptr [ecx + 8] */ 15018 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x3900646E: cmp byte ptr [edx + 0x38], bl */ 15019 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15020 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15021 _flag_k = FK_NARROW(FK_CMP, 24); 15022 if (CMP_NE(_flag_a, _flag_b)) goto L_39006547; /* 0x39006471: jne 0x39006547 */ 15023 L_39006477: 15024 edx = MEM32(ecx); /* 0x39006477: mov edx, dword ptr [ecx] */ 15025 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x39006479: cmp byte ptr [edx + 0x38], bl */ 15026 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15027 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15028 _flag_k = FK_NARROW(FK_CMP, 24); 15029 if (CMP_NE(_flag_a, _flag_b)) goto L_39006547; /* 0x3900647C: jne 0x39006547 */ 15030 L_39006482: 15031 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x39006482: mov byte ptr [ecx + 0x38], 0 */ 15032 ecx = MEM32(edi + 0x4); /* 0x39006486: mov ecx, dword ptr [edi + 4] */ 15033 eax = MEM32(eax + 0x4); /* 0x39006489: mov eax, dword ptr [eax + 4] */ 15034 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900648C: cmp eax, dword ptr [ecx + 4] */ 15035 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 15036 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15037 _flag_k = FK_CMP; 15038 RECOMP_BACKEDGE(); 15039 if (CMP_NE(_flag_a, _flag_b)) goto L_39006398; /* 0x3900648F: jne 0x39006398 */ 15040 L_39006495: 15041 goto L_390065E6; /* 0x39006495: jmp 0x390065e6 */ 15042 L_3900649A: 15043 edx = MEM32(ecx + 0x8); /* 0x3900649A: mov edx, dword ptr [ecx + 8] */ 15044 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x3900649D: cmp byte ptr [edx + 0x38], bl */ 15045 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15046 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15047 _flag_k = FK_NARROW(FK_CMP, 24); 15048 if (CMP_NE(_flag_a, _flag_b)) goto L_390064EB; /* 0x390064A0: jne 0x390064eb */ 15049 L_390064A2: 15050 edx = MEM32(ecx); /* 0x390064A2: mov edx, dword ptr [ecx] */ 15051 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390064A4: mov byte ptr [edx + 0x38], bl */ 15052 edx = MEM32(ecx); /* 0x390064A7: mov edx, dword ptr [ecx] */ 15053 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x390064A9: mov byte ptr [ecx + 0x38], 0 */ 15054 esi = MEM32(edx + 0x8); /* 0x390064AD: mov esi, dword ptr [edx + 8] */ 15055 MEM32(ecx) = esi; /* 0x390064B0: mov dword ptr [ecx], esi */ 15056 esi = MEM32(edx + 0x8); /* 0x390064B2: mov esi, dword ptr [edx + 8] */ 15057 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390064B5: cmp esi, dword ptr [edi + 8] */ 15058 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15059 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15060 _flag_k = FK_CMP; 15061 if (CMP_EQ(_flag_a, _flag_b)) goto L_390064BD; /* 0x390064B8: je 0x390064bd */ 15062 L_390064BA: 15063 MEM32(esi + 0x4) = ecx; /* 0x390064BA: mov dword ptr [esi + 4], ecx */ 15064 L_390064BD: 15065 esi = MEM32(ecx + 0x4); /* 0x390064BD: mov esi, dword ptr [ecx + 4] */ 15066 MEM32(edx + 0x4) = esi; /* 0x390064C0: mov dword ptr [edx + 4], esi */ 15067 esi = MEM32(edi + 0x4); /* 0x390064C3: mov esi, dword ptr [edi + 4] */ 15068 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390064C6: cmp ecx, dword ptr [esi + 4] */ 15069 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15070 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15071 _flag_k = FK_CMP; 15072 if (CMP_NE(_flag_a, _flag_b)) goto L_390064D0; /* 0x390064C9: jne 0x390064d0 */ 15073 L_390064CB: 15074 MEM32(esi + 0x4) = edx; /* 0x390064CB: mov dword ptr [esi + 4], edx */ 15075 goto L_390064DF; /* 0x390064CE: jmp 0x390064df */ 15076 L_390064D0: 15077 esi = MEM32(ecx + 0x4); /* 0x390064D0: mov esi, dword ptr [ecx + 4] */ 15078 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x390064D3: cmp ecx, dword ptr [esi + 8] */ 15079 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 15080 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15081 _flag_k = FK_CMP; 15082 if (CMP_NE(_flag_a, _flag_b)) goto L_390064DD; /* 0x390064D6: jne 0x390064dd */ 15083 L_390064D8: 15084 MEM32(esi + 0x8) = edx; /* 0x390064D8: mov dword ptr [esi + 8], edx */ 15085 goto L_390064DF; /* 0x390064DB: jmp 0x390064df */ 15086 L_390064DD: 15087 MEM32(esi) = edx; /* 0x390064DD: mov dword ptr [esi], edx */ 15088 L_390064DF: 15089 MEM32(edx + 0x8) = ecx; /* 0x390064DF: mov dword ptr [edx + 8], ecx */ 15090 MEM32(ecx + 0x4) = edx; /* 0x390064E2: mov dword ptr [ecx + 4], edx */ 15091 ecx = MEM32(eax + 0x4); /* 0x390064E5: mov ecx, dword ptr [eax + 4] */ 15092 ecx = MEM32(ecx + 0x8); /* 0x390064E8: mov ecx, dword ptr [ecx + 8] */ 15093 L_390064EB: 15094 edx = MEM32(eax + 0x4); /* 0x390064EB: mov edx, dword ptr [eax + 4] */ 15095 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x390064EE: mov dl, byte ptr [edx + 0x38] */ 15096 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x390064F1: mov byte ptr [ecx + 0x38], dl */ 15097 edx = MEM32(eax + 0x4); /* 0x390064F4: mov edx, dword ptr [eax + 4] */ 15098 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390064F7: mov byte ptr [edx + 0x38], bl */ 15099 ecx = MEM32(ecx + 0x8); /* 0x390064FA: mov ecx, dword ptr [ecx + 8] */ 15100 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390064FD: mov byte ptr [ecx + 0x38], bl */ 15101 ecx = MEM32(eax + 0x4); /* 0x39006500: mov ecx, dword ptr [eax + 4] */ 15102 edx = MEM32(ecx + 0x8); /* 0x39006503: mov edx, dword ptr [ecx + 8] */ 15103 esi = MEM32(edx); /* 0x39006506: mov esi, dword ptr [edx] */ 15104 MEM32(ecx + 0x8) = esi; /* 0x39006508: mov dword ptr [ecx + 8], esi */ 15105 esi = MEM32(edx); /* 0x3900650B: mov esi, dword ptr [edx] */ 15106 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3900650D: cmp esi, dword ptr [edi + 8] */ 15107 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15108 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15109 _flag_k = FK_CMP; 15110 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006515; /* 0x39006510: je 0x39006515 */ 15111 L_39006512: 15112 MEM32(esi + 0x4) = ecx; /* 0x39006512: mov dword ptr [esi + 4], ecx */ 15113 L_39006515: 15114 esi = MEM32(ecx + 0x4); /* 0x39006515: mov esi, dword ptr [ecx + 4] */ 15115 MEM32(edx + 0x4) = esi; /* 0x39006518: mov dword ptr [edx + 4], esi */ 15116 esi = MEM32(edi + 0x4); /* 0x3900651B: mov esi, dword ptr [edi + 4] */ 15117 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x3900651E: cmp ecx, dword ptr [esi + 4] */ 15118 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15119 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15120 _flag_k = FK_CMP; 15121 if (CMP_NE(_flag_a, _flag_b)) goto L_3900652D; /* 0x39006521: jne 0x3900652d */ 15122 L_39006523: 15123 MEM32(esi + 0x4) = edx; /* 0x39006523: mov dword ptr [esi + 4], edx */ 15124 MEM32(edx) = ecx; /* 0x39006526: mov dword ptr [edx], ecx */ 15125 goto L_390065E3; /* 0x39006528: jmp 0x390065e3 */ 15126 L_3900652D: 15127 esi = MEM32(ecx + 0x4); /* 0x3900652D: mov esi, dword ptr [ecx + 4] */ 15128 /* cmp ecx, MEM32(esi) */ /* 0x39006530: cmp ecx, dword ptr [esi] */ 15129 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 15130 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15131 _flag_k = FK_CMP; 15132 if (CMP_NE(_flag_a, _flag_b)) goto L_3900653D; /* 0x39006532: jne 0x3900653d */ 15133 L_39006534: 15134 MEM32(esi) = edx; /* 0x39006534: mov dword ptr [esi], edx */ 15135 MEM32(edx) = ecx; /* 0x39006536: mov dword ptr [edx], ecx */ 15136 goto L_390065E3; /* 0x39006538: jmp 0x390065e3 */ 15137 L_3900653D: 15138 MEM32(esi + 0x8) = edx; /* 0x3900653D: mov dword ptr [esi + 8], edx */ 15139 MEM32(edx) = ecx; /* 0x39006540: mov dword ptr [edx], ecx */ 15140 goto L_390065E3; /* 0x39006542: jmp 0x390065e3 */ 15141 L_39006547: 15142 edx = MEM32(ecx); /* 0x39006547: mov edx, dword ptr [ecx] */ 15143 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x39006549: cmp byte ptr [edx + 0x38], bl */ 15144 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15145 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15146 _flag_k = FK_NARROW(FK_CMP, 24); 15147 if (CMP_NE(_flag_a, _flag_b)) goto L_39006595; /* 0x3900654C: jne 0x39006595 */ 15148 L_3900654E: 15149 edx = MEM32(ecx + 0x8); /* 0x3900654E: mov edx, dword ptr [ecx + 8] */ 15150 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x39006551: mov byte ptr [edx + 0x38], bl */ 15151 edx = MEM32(ecx + 0x8); /* 0x39006554: mov edx, dword ptr [ecx + 8] */ 15152 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x39006557: mov byte ptr [ecx + 0x38], 0 */ 15153 esi = MEM32(edx); /* 0x3900655B: mov esi, dword ptr [edx] */ 15154 MEM32(ecx + 0x8) = esi; /* 0x3900655D: mov dword ptr [ecx + 8], esi */ 15155 esi = MEM32(edx); /* 0x39006560: mov esi, dword ptr [edx] */ 15156 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006562: cmp esi, dword ptr [edi + 8] */ 15157 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15158 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15159 _flag_k = FK_CMP; 15160 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900656A; /* 0x39006565: je 0x3900656a */ 15161 L_39006567: 15162 MEM32(esi + 0x4) = ecx; /* 0x39006567: mov dword ptr [esi + 4], ecx */ 15163 L_3900656A: 15164 esi = MEM32(ecx + 0x4); /* 0x3900656A: mov esi, dword ptr [ecx + 4] */ 15165 MEM32(edx + 0x4) = esi; /* 0x3900656D: mov dword ptr [edx + 4], esi */ 15166 esi = MEM32(edi + 0x4); /* 0x39006570: mov esi, dword ptr [edi + 4] */ 15167 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006573: cmp ecx, dword ptr [esi + 4] */ 15168 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15169 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15170 _flag_k = FK_CMP; 15171 if (CMP_NE(_flag_a, _flag_b)) goto L_3900657D; /* 0x39006576: jne 0x3900657d */ 15172 L_39006578: 15173 MEM32(esi + 0x4) = edx; /* 0x39006578: mov dword ptr [esi + 4], edx */ 15174 goto L_3900658B; /* 0x3900657B: jmp 0x3900658b */ 15175 L_3900657D: 15176 esi = MEM32(ecx + 0x4); /* 0x3900657D: mov esi, dword ptr [ecx + 4] */ 15177 /* cmp ecx, MEM32(esi) */ /* 0x39006580: cmp ecx, dword ptr [esi] */ 15178 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 15179 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15180 _flag_k = FK_CMP; 15181 if (CMP_NE(_flag_a, _flag_b)) goto L_39006588; /* 0x39006582: jne 0x39006588 */ 15182 L_39006584: 15183 MEM32(esi) = edx; /* 0x39006584: mov dword ptr [esi], edx */ 15184 goto L_3900658B; /* 0x39006586: jmp 0x3900658b */ 15185 L_39006588: 15186 MEM32(esi + 0x8) = edx; /* 0x39006588: mov dword ptr [esi + 8], edx */ 15187 L_3900658B: 15188 MEM32(edx) = ecx; /* 0x3900658B: mov dword ptr [edx], ecx */ 15189 MEM32(ecx + 0x4) = edx; /* 0x3900658D: mov dword ptr [ecx + 4], edx */ 15190 ecx = MEM32(eax + 0x4); /* 0x39006590: mov ecx, dword ptr [eax + 4] */ 15191 ecx = MEM32(ecx); /* 0x39006593: mov ecx, dword ptr [ecx] */ 15192 L_39006595: 15193 edx = MEM32(eax + 0x4); /* 0x39006595: mov edx, dword ptr [eax + 4] */ 15194 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x39006598: mov dl, byte ptr [edx + 0x38] */ 15195 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x3900659B: mov byte ptr [ecx + 0x38], dl */ 15196 edx = MEM32(eax + 0x4); /* 0x3900659E: mov edx, dword ptr [eax + 4] */ 15197 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065A1: mov byte ptr [edx + 0x38], bl */ 15198 ecx = MEM32(ecx); /* 0x390065A4: mov ecx, dword ptr [ecx] */ 15199 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065A6: mov byte ptr [ecx + 0x38], bl */ 15200 ecx = MEM32(eax + 0x4); /* 0x390065A9: mov ecx, dword ptr [eax + 4] */ 15201 edx = MEM32(ecx); /* 0x390065AC: mov edx, dword ptr [ecx] */ 15202 esi = MEM32(edx + 0x8); /* 0x390065AE: mov esi, dword ptr [edx + 8] */ 15203 MEM32(ecx) = esi; /* 0x390065B1: mov dword ptr [ecx], esi */ 15204 esi = MEM32(edx + 0x8); /* 0x390065B3: mov esi, dword ptr [edx + 8] */ 15205 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390065B6: cmp esi, dword ptr [edi + 8] */ 15206 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15207 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15208 _flag_k = FK_CMP; 15209 if (CMP_EQ(_flag_a, _flag_b)) goto L_390065BE; /* 0x390065B9: je 0x390065be */ 15210 L_390065BB: 15211 MEM32(esi + 0x4) = ecx; /* 0x390065BB: mov dword ptr [esi + 4], ecx */ 15212 L_390065BE: 15213 esi = MEM32(ecx + 0x4); /* 0x390065BE: mov esi, dword ptr [ecx + 4] */ 15214 MEM32(edx + 0x4) = esi; /* 0x390065C1: mov dword ptr [edx + 4], esi */ 15215 esi = MEM32(edi + 0x4); /* 0x390065C4: mov esi, dword ptr [edi + 4] */ 15216 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390065C7: cmp ecx, dword ptr [esi + 4] */ 15217 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15218 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15219 _flag_k = FK_CMP; 15220 if (CMP_NE(_flag_a, _flag_b)) goto L_390065D1; /* 0x390065CA: jne 0x390065d1 */ 15221 L_390065CC: 15222 MEM32(esi + 0x4) = edx; /* 0x390065CC: mov dword ptr [esi + 4], edx */ 15223 goto L_390065E0; /* 0x390065CF: jmp 0x390065e0 */ 15224 L_390065D1: 15225 esi = MEM32(ecx + 0x4); /* 0x390065D1: mov esi, dword ptr [ecx + 4] */ 15226 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x390065D4: cmp ecx, dword ptr [esi + 8] */ 15227 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 15228 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15229 _flag_k = FK_CMP; 15230 if (CMP_NE(_flag_a, _flag_b)) goto L_390065DE; /* 0x390065D7: jne 0x390065de */ 15231 L_390065D9: 15232 MEM32(esi + 0x8) = edx; /* 0x390065D9: mov dword ptr [esi + 8], edx */ 15233 goto L_390065E0; /* 0x390065DC: jmp 0x390065e0 */ 15234 L_390065DE: 15235 MEM32(esi) = edx; /* 0x390065DE: mov dword ptr [esi], edx */ 15236 L_390065E0: 15237 MEM32(edx + 0x8) = ecx; /* 0x390065E0: mov dword ptr [edx + 8], ecx */ 15238 L_390065E3: 15239 MEM32(ecx + 0x4) = edx; /* 0x390065E3: mov dword ptr [ecx + 4], edx */ 15240 L_390065E6: 15241 esi = MEM32(ebp + (-0x4)); /* 0x390065E6: mov esi, dword ptr [ebp - 4] */ 15242 MEM8(eax + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065E9: mov byte ptr [eax + 0x38], bl */ 15243 L_390065EC: 15244 ecx = esi + 0xC; /* 0x390065EC: lea ecx, [esi + 0xc] */ 15245 RECOMP_ICALL(0x390047D0u); /* 0x390065EF: call 0x390047d0 */ /* not lifted */ 15246 RECOMP_FLAGS_IN(); 15247 PUSH32(esp, esi); /* 0x390065F4: push esi */ 15248 RECOMP_ICALL(0x3900A0A0u); /* 0x390065F5: call 0x3900a0a0 */ /* not lifted */ 15249 RECOMP_FLAGS_IN(); 15250 eax = MEM32(edi + 0x10); /* 0x390065FA: mov eax, dword ptr [edi + 0x10] */ 15251 edx = MEM32(ebp + 0xC); /* 0x390065FD: mov edx, dword ptr [ebp + 0xc] */ 15252 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15253 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15254 esp = esp + 4; /* 0x39006600: add esp, 4 */ 15255 _flag_k = FK_ADD; 15256 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 15257 eax = eax - 1; /* 0x39006603: dec eax */ 15258 _flag_k = FK_DEC; 15259 MEM32(edi + 0x10) = eax; /* 0x39006604: mov dword ptr [edi + 0x10], eax */ 15260 eax = MEM32(ebp + 0x8); /* 0x39006607: mov eax, dword ptr [ebp + 8] */ 15261 edi = POP32_VAL(esp); /* 0x3900660A: pop edi */ 15262 esi = POP32_VAL(esp); /* 0x3900660B: pop esi */ 15263 MEM32(eax) = edx; /* 0x3900660C: mov dword ptr [eax], edx */ 15264 ebx = POP32_VAL(esp); /* 0x3900660E: pop ebx */ 15265 esp = ebp; /* 0x3900660F: mov esp, ebp */ 15266 ebp = POP32_VAL(esp); /* 0x39006611: pop ebp */ 15267 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x39006612: ret 8 */ 15268 RECOMP_REGS_OUT(); 15269 } 15270 15271 void sub_39006398(void) { 15272 int _fpu_cmp = 0; 15273 uint32_t _cf = 0; 15274 int _df = 1; 15275 uint32_t _flag_k = FK_NONE; 15276 uint32_t _flag_a = 0, _flag_b = 0; 15277 uint32_t _itail_tgt = 0; 15278 RECOMP_REGS_LOCALS 15279 RECOMP_ENTER(0x39006398u); 15280 15281 L_39006398: 15282 /* cmp MEM8(eax + 0x38), LO8(ebx) */ /* 0x39006398: cmp byte ptr [eax + 0x38], bl */ 15283 _flag_a = (uint32_t)(MEM8(eax + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15284 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15285 _flag_k = FK_NARROW(FK_CMP, 24); 15286 if (CMP_NE(_flag_a, _flag_b)) goto L_390065E6; /* 0x3900639B: jne 0x390065e6 */ 15287 L_390063A1: 15288 edx = MEM32(eax + 0x4); /* 0x390063A1: mov edx, dword ptr [eax + 4] */ 15289 ecx = MEM32(edx); /* 0x390063A4: mov ecx, dword ptr [edx] */ 15290 /* cmp eax, ecx */ /* 0x390063A6: cmp eax, ecx */ 15291 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 15292 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15293 _flag_k = FK_CMP; 15294 if (CMP_NE(_flag_a, _flag_b)) goto L_39006418; /* 0x390063A8: jne 0x39006418 */ 15295 L_390063AA: 15296 ecx = MEM32(edx + 0x8); /* 0x390063AA: mov ecx, dword ptr [edx + 8] */ 15297 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x390063AD: mov dl, byte ptr [ecx + 0x38] */ 15298 /* test LO8(edx), LO8(edx) */ /* 0x390063B0: test dl, dl */ 15299 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 15300 _cf = 0; 15301 _flag_k = FK_NARROW(FK_TEST, 24); 15302 if (TEST_NZ(_flag_a, _flag_b)) goto L_390063FF; /* 0x390063B2: jne 0x390063ff */ 15303 L_390063B4: 15304 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390063B4: mov byte ptr [ecx + 0x38], bl */ 15305 edx = MEM32(eax + 0x4); /* 0x390063B7: mov edx, dword ptr [eax + 4] */ 15306 MEM8(edx + 0x38) = (uint8_t)(0); /* 0x390063BA: mov byte ptr [edx + 0x38], 0 */ 15307 ecx = MEM32(eax + 0x4); /* 0x390063BE: mov ecx, dword ptr [eax + 4] */ 15308 edx = MEM32(ecx + 0x8); /* 0x390063C1: mov edx, dword ptr [ecx + 8] */ 15309 esi = MEM32(edx); /* 0x390063C4: mov esi, dword ptr [edx] */ 15310 MEM32(ecx + 0x8) = esi; /* 0x390063C6: mov dword ptr [ecx + 8], esi */ 15311 esi = MEM32(edx); /* 0x390063C9: mov esi, dword ptr [edx] */ 15312 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390063CB: cmp esi, dword ptr [edi + 8] */ 15313 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15314 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15315 _flag_k = FK_CMP; 15316 if (CMP_EQ(_flag_a, _flag_b)) goto L_390063D3; /* 0x390063CE: je 0x390063d3 */ 15317 L_390063D0: 15318 MEM32(esi + 0x4) = ecx; /* 0x390063D0: mov dword ptr [esi + 4], ecx */ 15319 L_390063D3: 15320 esi = MEM32(ecx + 0x4); /* 0x390063D3: mov esi, dword ptr [ecx + 4] */ 15321 MEM32(edx + 0x4) = esi; /* 0x390063D6: mov dword ptr [edx + 4], esi */ 15322 esi = MEM32(edi + 0x4); /* 0x390063D9: mov esi, dword ptr [edi + 4] */ 15323 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390063DC: cmp ecx, dword ptr [esi + 4] */ 15324 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15325 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15326 _flag_k = FK_CMP; 15327 if (CMP_NE(_flag_a, _flag_b)) goto L_390063E6; /* 0x390063DF: jne 0x390063e6 */ 15328 L_390063E1: 15329 MEM32(esi + 0x4) = edx; /* 0x390063E1: mov dword ptr [esi + 4], edx */ 15330 goto L_390063F4; /* 0x390063E4: jmp 0x390063f4 */ 15331 L_390063E6: 15332 esi = MEM32(ecx + 0x4); /* 0x390063E6: mov esi, dword ptr [ecx + 4] */ 15333 /* cmp ecx, MEM32(esi) */ /* 0x390063E9: cmp ecx, dword ptr [esi] */ 15334 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 15335 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15336 _flag_k = FK_CMP; 15337 if (CMP_NE(_flag_a, _flag_b)) goto L_390063F1; /* 0x390063EB: jne 0x390063f1 */ 15338 L_390063ED: 15339 MEM32(esi) = edx; /* 0x390063ED: mov dword ptr [esi], edx */ 15340 goto L_390063F4; /* 0x390063EF: jmp 0x390063f4 */ 15341 L_390063F1: 15342 MEM32(esi + 0x8) = edx; /* 0x390063F1: mov dword ptr [esi + 8], edx */ 15343 L_390063F4: 15344 MEM32(edx) = ecx; /* 0x390063F4: mov dword ptr [edx], ecx */ 15345 MEM32(ecx + 0x4) = edx; /* 0x390063F6: mov dword ptr [ecx + 4], edx */ 15346 ecx = MEM32(eax + 0x4); /* 0x390063F9: mov ecx, dword ptr [eax + 4] */ 15347 ecx = MEM32(ecx + 0x8); /* 0x390063FC: mov ecx, dword ptr [ecx + 8] */ 15348 L_390063FF: 15349 edx = MEM32(ecx); /* 0x390063FF: mov edx, dword ptr [ecx] */ 15350 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x39006401: cmp byte ptr [edx + 0x38], bl */ 15351 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15352 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15353 _flag_k = FK_NARROW(FK_CMP, 24); 15354 if (CMP_NE(_flag_a, _flag_b)) goto L_3900649A; /* 0x39006404: jne 0x3900649a */ 15355 L_3900640A: 15356 edx = MEM32(ecx + 0x8); /* 0x3900640A: mov edx, dword ptr [ecx + 8] */ 15357 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x3900640D: cmp byte ptr [edx + 0x38], bl */ 15358 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15359 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15360 _flag_k = FK_NARROW(FK_CMP, 24); 15361 if (CMP_NE(_flag_a, _flag_b)) goto L_3900649A; /* 0x39006410: jne 0x3900649a */ 15362 L_39006416: 15363 goto L_39006482; /* 0x39006416: jmp 0x39006482 */ 15364 L_39006418: 15365 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x39006418: mov dl, byte ptr [ecx + 0x38] */ 15366 /* test LO8(edx), LO8(edx) */ /* 0x3900641B: test dl, dl */ 15367 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 15368 _cf = 0; 15369 _flag_k = FK_NARROW(FK_TEST, 24); 15370 if (TEST_NZ(_flag_a, _flag_b)) goto L_3900646B; /* 0x3900641D: jne 0x3900646b */ 15371 L_3900641F: 15372 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x3900641F: mov byte ptr [ecx + 0x38], bl */ 15373 ecx = MEM32(eax + 0x4); /* 0x39006422: mov ecx, dword ptr [eax + 4] */ 15374 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x39006425: mov byte ptr [ecx + 0x38], 0 */ 15375 ecx = MEM32(eax + 0x4); /* 0x39006429: mov ecx, dword ptr [eax + 4] */ 15376 edx = MEM32(ecx); /* 0x3900642C: mov edx, dword ptr [ecx] */ 15377 esi = MEM32(edx + 0x8); /* 0x3900642E: mov esi, dword ptr [edx + 8] */ 15378 MEM32(ecx) = esi; /* 0x39006431: mov dword ptr [ecx], esi */ 15379 esi = MEM32(edx + 0x8); /* 0x39006433: mov esi, dword ptr [edx + 8] */ 15380 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006436: cmp esi, dword ptr [edi + 8] */ 15381 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15382 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15383 _flag_k = FK_CMP; 15384 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900643E; /* 0x39006439: je 0x3900643e */ 15385 L_3900643B: 15386 MEM32(esi + 0x4) = ecx; /* 0x3900643B: mov dword ptr [esi + 4], ecx */ 15387 L_3900643E: 15388 esi = MEM32(ecx + 0x4); /* 0x3900643E: mov esi, dword ptr [ecx + 4] */ 15389 MEM32(edx + 0x4) = esi; /* 0x39006441: mov dword ptr [edx + 4], esi */ 15390 esi = MEM32(edi + 0x4); /* 0x39006444: mov esi, dword ptr [edi + 4] */ 15391 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006447: cmp ecx, dword ptr [esi + 4] */ 15392 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15393 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15394 _flag_k = FK_CMP; 15395 if (CMP_NE(_flag_a, _flag_b)) goto L_39006451; /* 0x3900644A: jne 0x39006451 */ 15396 L_3900644C: 15397 MEM32(esi + 0x4) = edx; /* 0x3900644C: mov dword ptr [esi + 4], edx */ 15398 goto L_39006460; /* 0x3900644F: jmp 0x39006460 */ 15399 L_39006451: 15400 esi = MEM32(ecx + 0x4); /* 0x39006451: mov esi, dword ptr [ecx + 4] */ 15401 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39006454: cmp ecx, dword ptr [esi + 8] */ 15402 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 15403 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15404 _flag_k = FK_CMP; 15405 if (CMP_NE(_flag_a, _flag_b)) goto L_3900645E; /* 0x39006457: jne 0x3900645e */ 15406 L_39006459: 15407 MEM32(esi + 0x8) = edx; /* 0x39006459: mov dword ptr [esi + 8], edx */ 15408 goto L_39006460; /* 0x3900645C: jmp 0x39006460 */ 15409 L_3900645E: 15410 MEM32(esi) = edx; /* 0x3900645E: mov dword ptr [esi], edx */ 15411 L_39006460: 15412 MEM32(edx + 0x8) = ecx; /* 0x39006460: mov dword ptr [edx + 8], ecx */ 15413 MEM32(ecx + 0x4) = edx; /* 0x39006463: mov dword ptr [ecx + 4], edx */ 15414 edx = MEM32(eax + 0x4); /* 0x39006466: mov edx, dword ptr [eax + 4] */ 15415 ecx = MEM32(edx); /* 0x39006469: mov ecx, dword ptr [edx] */ 15416 L_3900646B: 15417 edx = MEM32(ecx + 0x8); /* 0x3900646B: mov edx, dword ptr [ecx + 8] */ 15418 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x3900646E: cmp byte ptr [edx + 0x38], bl */ 15419 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15420 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15421 _flag_k = FK_NARROW(FK_CMP, 24); 15422 if (CMP_NE(_flag_a, _flag_b)) goto L_39006547; /* 0x39006471: jne 0x39006547 */ 15423 L_39006477: 15424 edx = MEM32(ecx); /* 0x39006477: mov edx, dword ptr [ecx] */ 15425 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x39006479: cmp byte ptr [edx + 0x38], bl */ 15426 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15427 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15428 _flag_k = FK_NARROW(FK_CMP, 24); 15429 if (CMP_NE(_flag_a, _flag_b)) goto L_39006547; /* 0x3900647C: jne 0x39006547 */ 15430 L_39006482: 15431 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x39006482: mov byte ptr [ecx + 0x38], 0 */ 15432 ecx = MEM32(edi + 0x4); /* 0x39006486: mov ecx, dword ptr [edi + 4] */ 15433 eax = MEM32(eax + 0x4); /* 0x39006489: mov eax, dword ptr [eax + 4] */ 15434 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900648C: cmp eax, dword ptr [ecx + 4] */ 15435 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 15436 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15437 _flag_k = FK_CMP; 15438 RECOMP_BACKEDGE(); 15439 if (CMP_NE(_flag_a, _flag_b)) goto L_39006398; /* 0x3900648F: jne 0x39006398 */ 15440 L_39006495: 15441 goto L_390065E6; /* 0x39006495: jmp 0x390065e6 */ 15442 L_3900649A: 15443 edx = MEM32(ecx + 0x8); /* 0x3900649A: mov edx, dword ptr [ecx + 8] */ 15444 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x3900649D: cmp byte ptr [edx + 0x38], bl */ 15445 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15446 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15447 _flag_k = FK_NARROW(FK_CMP, 24); 15448 if (CMP_NE(_flag_a, _flag_b)) goto L_390064EB; /* 0x390064A0: jne 0x390064eb */ 15449 L_390064A2: 15450 edx = MEM32(ecx); /* 0x390064A2: mov edx, dword ptr [ecx] */ 15451 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390064A4: mov byte ptr [edx + 0x38], bl */ 15452 edx = MEM32(ecx); /* 0x390064A7: mov edx, dword ptr [ecx] */ 15453 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x390064A9: mov byte ptr [ecx + 0x38], 0 */ 15454 esi = MEM32(edx + 0x8); /* 0x390064AD: mov esi, dword ptr [edx + 8] */ 15455 MEM32(ecx) = esi; /* 0x390064B0: mov dword ptr [ecx], esi */ 15456 esi = MEM32(edx + 0x8); /* 0x390064B2: mov esi, dword ptr [edx + 8] */ 15457 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390064B5: cmp esi, dword ptr [edi + 8] */ 15458 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15459 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15460 _flag_k = FK_CMP; 15461 if (CMP_EQ(_flag_a, _flag_b)) goto L_390064BD; /* 0x390064B8: je 0x390064bd */ 15462 L_390064BA: 15463 MEM32(esi + 0x4) = ecx; /* 0x390064BA: mov dword ptr [esi + 4], ecx */ 15464 L_390064BD: 15465 esi = MEM32(ecx + 0x4); /* 0x390064BD: mov esi, dword ptr [ecx + 4] */ 15466 MEM32(edx + 0x4) = esi; /* 0x390064C0: mov dword ptr [edx + 4], esi */ 15467 esi = MEM32(edi + 0x4); /* 0x390064C3: mov esi, dword ptr [edi + 4] */ 15468 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390064C6: cmp ecx, dword ptr [esi + 4] */ 15469 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15470 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15471 _flag_k = FK_CMP; 15472 if (CMP_NE(_flag_a, _flag_b)) goto L_390064D0; /* 0x390064C9: jne 0x390064d0 */ 15473 L_390064CB: 15474 MEM32(esi + 0x4) = edx; /* 0x390064CB: mov dword ptr [esi + 4], edx */ 15475 goto L_390064DF; /* 0x390064CE: jmp 0x390064df */ 15476 L_390064D0: 15477 esi = MEM32(ecx + 0x4); /* 0x390064D0: mov esi, dword ptr [ecx + 4] */ 15478 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x390064D3: cmp ecx, dword ptr [esi + 8] */ 15479 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 15480 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15481 _flag_k = FK_CMP; 15482 if (CMP_NE(_flag_a, _flag_b)) goto L_390064DD; /* 0x390064D6: jne 0x390064dd */ 15483 L_390064D8: 15484 MEM32(esi + 0x8) = edx; /* 0x390064D8: mov dword ptr [esi + 8], edx */ 15485 goto L_390064DF; /* 0x390064DB: jmp 0x390064df */ 15486 L_390064DD: 15487 MEM32(esi) = edx; /* 0x390064DD: mov dword ptr [esi], edx */ 15488 L_390064DF: 15489 MEM32(edx + 0x8) = ecx; /* 0x390064DF: mov dword ptr [edx + 8], ecx */ 15490 MEM32(ecx + 0x4) = edx; /* 0x390064E2: mov dword ptr [ecx + 4], edx */ 15491 ecx = MEM32(eax + 0x4); /* 0x390064E5: mov ecx, dword ptr [eax + 4] */ 15492 ecx = MEM32(ecx + 0x8); /* 0x390064E8: mov ecx, dword ptr [ecx + 8] */ 15493 L_390064EB: 15494 edx = MEM32(eax + 0x4); /* 0x390064EB: mov edx, dword ptr [eax + 4] */ 15495 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x390064EE: mov dl, byte ptr [edx + 0x38] */ 15496 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x390064F1: mov byte ptr [ecx + 0x38], dl */ 15497 edx = MEM32(eax + 0x4); /* 0x390064F4: mov edx, dword ptr [eax + 4] */ 15498 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390064F7: mov byte ptr [edx + 0x38], bl */ 15499 ecx = MEM32(ecx + 0x8); /* 0x390064FA: mov ecx, dword ptr [ecx + 8] */ 15500 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390064FD: mov byte ptr [ecx + 0x38], bl */ 15501 ecx = MEM32(eax + 0x4); /* 0x39006500: mov ecx, dword ptr [eax + 4] */ 15502 edx = MEM32(ecx + 0x8); /* 0x39006503: mov edx, dword ptr [ecx + 8] */ 15503 esi = MEM32(edx); /* 0x39006506: mov esi, dword ptr [edx] */ 15504 MEM32(ecx + 0x8) = esi; /* 0x39006508: mov dword ptr [ecx + 8], esi */ 15505 esi = MEM32(edx); /* 0x3900650B: mov esi, dword ptr [edx] */ 15506 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3900650D: cmp esi, dword ptr [edi + 8] */ 15507 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15508 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15509 _flag_k = FK_CMP; 15510 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006515; /* 0x39006510: je 0x39006515 */ 15511 L_39006512: 15512 MEM32(esi + 0x4) = ecx; /* 0x39006512: mov dword ptr [esi + 4], ecx */ 15513 L_39006515: 15514 esi = MEM32(ecx + 0x4); /* 0x39006515: mov esi, dword ptr [ecx + 4] */ 15515 MEM32(edx + 0x4) = esi; /* 0x39006518: mov dword ptr [edx + 4], esi */ 15516 esi = MEM32(edi + 0x4); /* 0x3900651B: mov esi, dword ptr [edi + 4] */ 15517 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x3900651E: cmp ecx, dword ptr [esi + 4] */ 15518 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15519 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15520 _flag_k = FK_CMP; 15521 if (CMP_NE(_flag_a, _flag_b)) goto L_3900652D; /* 0x39006521: jne 0x3900652d */ 15522 L_39006523: 15523 MEM32(esi + 0x4) = edx; /* 0x39006523: mov dword ptr [esi + 4], edx */ 15524 MEM32(edx) = ecx; /* 0x39006526: mov dword ptr [edx], ecx */ 15525 goto L_390065E3; /* 0x39006528: jmp 0x390065e3 */ 15526 L_3900652D: 15527 esi = MEM32(ecx + 0x4); /* 0x3900652D: mov esi, dword ptr [ecx + 4] */ 15528 /* cmp ecx, MEM32(esi) */ /* 0x39006530: cmp ecx, dword ptr [esi] */ 15529 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 15530 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15531 _flag_k = FK_CMP; 15532 if (CMP_NE(_flag_a, _flag_b)) goto L_3900653D; /* 0x39006532: jne 0x3900653d */ 15533 L_39006534: 15534 MEM32(esi) = edx; /* 0x39006534: mov dword ptr [esi], edx */ 15535 MEM32(edx) = ecx; /* 0x39006536: mov dword ptr [edx], ecx */ 15536 goto L_390065E3; /* 0x39006538: jmp 0x390065e3 */ 15537 L_3900653D: 15538 MEM32(esi + 0x8) = edx; /* 0x3900653D: mov dword ptr [esi + 8], edx */ 15539 MEM32(edx) = ecx; /* 0x39006540: mov dword ptr [edx], ecx */ 15540 goto L_390065E3; /* 0x39006542: jmp 0x390065e3 */ 15541 L_39006547: 15542 edx = MEM32(ecx); /* 0x39006547: mov edx, dword ptr [ecx] */ 15543 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x39006549: cmp byte ptr [edx + 0x38], bl */ 15544 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15545 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15546 _flag_k = FK_NARROW(FK_CMP, 24); 15547 if (CMP_NE(_flag_a, _flag_b)) goto L_39006595; /* 0x3900654C: jne 0x39006595 */ 15548 L_3900654E: 15549 edx = MEM32(ecx + 0x8); /* 0x3900654E: mov edx, dword ptr [ecx + 8] */ 15550 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x39006551: mov byte ptr [edx + 0x38], bl */ 15551 edx = MEM32(ecx + 0x8); /* 0x39006554: mov edx, dword ptr [ecx + 8] */ 15552 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x39006557: mov byte ptr [ecx + 0x38], 0 */ 15553 esi = MEM32(edx); /* 0x3900655B: mov esi, dword ptr [edx] */ 15554 MEM32(ecx + 0x8) = esi; /* 0x3900655D: mov dword ptr [ecx + 8], esi */ 15555 esi = MEM32(edx); /* 0x39006560: mov esi, dword ptr [edx] */ 15556 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006562: cmp esi, dword ptr [edi + 8] */ 15557 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15558 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15559 _flag_k = FK_CMP; 15560 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900656A; /* 0x39006565: je 0x3900656a */ 15561 L_39006567: 15562 MEM32(esi + 0x4) = ecx; /* 0x39006567: mov dword ptr [esi + 4], ecx */ 15563 L_3900656A: 15564 esi = MEM32(ecx + 0x4); /* 0x3900656A: mov esi, dword ptr [ecx + 4] */ 15565 MEM32(edx + 0x4) = esi; /* 0x3900656D: mov dword ptr [edx + 4], esi */ 15566 esi = MEM32(edi + 0x4); /* 0x39006570: mov esi, dword ptr [edi + 4] */ 15567 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006573: cmp ecx, dword ptr [esi + 4] */ 15568 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15569 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15570 _flag_k = FK_CMP; 15571 if (CMP_NE(_flag_a, _flag_b)) goto L_3900657D; /* 0x39006576: jne 0x3900657d */ 15572 L_39006578: 15573 MEM32(esi + 0x4) = edx; /* 0x39006578: mov dword ptr [esi + 4], edx */ 15574 goto L_3900658B; /* 0x3900657B: jmp 0x3900658b */ 15575 L_3900657D: 15576 esi = MEM32(ecx + 0x4); /* 0x3900657D: mov esi, dword ptr [ecx + 4] */ 15577 /* cmp ecx, MEM32(esi) */ /* 0x39006580: cmp ecx, dword ptr [esi] */ 15578 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 15579 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15580 _flag_k = FK_CMP; 15581 if (CMP_NE(_flag_a, _flag_b)) goto L_39006588; /* 0x39006582: jne 0x39006588 */ 15582 L_39006584: 15583 MEM32(esi) = edx; /* 0x39006584: mov dword ptr [esi], edx */ 15584 goto L_3900658B; /* 0x39006586: jmp 0x3900658b */ 15585 L_39006588: 15586 MEM32(esi + 0x8) = edx; /* 0x39006588: mov dword ptr [esi + 8], edx */ 15587 L_3900658B: 15588 MEM32(edx) = ecx; /* 0x3900658B: mov dword ptr [edx], ecx */ 15589 MEM32(ecx + 0x4) = edx; /* 0x3900658D: mov dword ptr [ecx + 4], edx */ 15590 ecx = MEM32(eax + 0x4); /* 0x39006590: mov ecx, dword ptr [eax + 4] */ 15591 ecx = MEM32(ecx); /* 0x39006593: mov ecx, dword ptr [ecx] */ 15592 L_39006595: 15593 edx = MEM32(eax + 0x4); /* 0x39006595: mov edx, dword ptr [eax + 4] */ 15594 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x39006598: mov dl, byte ptr [edx + 0x38] */ 15595 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x3900659B: mov byte ptr [ecx + 0x38], dl */ 15596 edx = MEM32(eax + 0x4); /* 0x3900659E: mov edx, dword ptr [eax + 4] */ 15597 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065A1: mov byte ptr [edx + 0x38], bl */ 15598 ecx = MEM32(ecx); /* 0x390065A4: mov ecx, dword ptr [ecx] */ 15599 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065A6: mov byte ptr [ecx + 0x38], bl */ 15600 ecx = MEM32(eax + 0x4); /* 0x390065A9: mov ecx, dword ptr [eax + 4] */ 15601 edx = MEM32(ecx); /* 0x390065AC: mov edx, dword ptr [ecx] */ 15602 esi = MEM32(edx + 0x8); /* 0x390065AE: mov esi, dword ptr [edx + 8] */ 15603 MEM32(ecx) = esi; /* 0x390065B1: mov dword ptr [ecx], esi */ 15604 esi = MEM32(edx + 0x8); /* 0x390065B3: mov esi, dword ptr [edx + 8] */ 15605 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390065B6: cmp esi, dword ptr [edi + 8] */ 15606 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15607 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15608 _flag_k = FK_CMP; 15609 if (CMP_EQ(_flag_a, _flag_b)) goto L_390065BE; /* 0x390065B9: je 0x390065be */ 15610 L_390065BB: 15611 MEM32(esi + 0x4) = ecx; /* 0x390065BB: mov dword ptr [esi + 4], ecx */ 15612 L_390065BE: 15613 esi = MEM32(ecx + 0x4); /* 0x390065BE: mov esi, dword ptr [ecx + 4] */ 15614 MEM32(edx + 0x4) = esi; /* 0x390065C1: mov dword ptr [edx + 4], esi */ 15615 esi = MEM32(edi + 0x4); /* 0x390065C4: mov esi, dword ptr [edi + 4] */ 15616 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390065C7: cmp ecx, dword ptr [esi + 4] */ 15617 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15618 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15619 _flag_k = FK_CMP; 15620 if (CMP_NE(_flag_a, _flag_b)) goto L_390065D1; /* 0x390065CA: jne 0x390065d1 */ 15621 L_390065CC: 15622 MEM32(esi + 0x4) = edx; /* 0x390065CC: mov dword ptr [esi + 4], edx */ 15623 goto L_390065E0; /* 0x390065CF: jmp 0x390065e0 */ 15624 L_390065D1: 15625 esi = MEM32(ecx + 0x4); /* 0x390065D1: mov esi, dword ptr [ecx + 4] */ 15626 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x390065D4: cmp ecx, dword ptr [esi + 8] */ 15627 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 15628 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15629 _flag_k = FK_CMP; 15630 if (CMP_NE(_flag_a, _flag_b)) goto L_390065DE; /* 0x390065D7: jne 0x390065de */ 15631 L_390065D9: 15632 MEM32(esi + 0x8) = edx; /* 0x390065D9: mov dword ptr [esi + 8], edx */ 15633 goto L_390065E0; /* 0x390065DC: jmp 0x390065e0 */ 15634 L_390065DE: 15635 MEM32(esi) = edx; /* 0x390065DE: mov dword ptr [esi], edx */ 15636 L_390065E0: 15637 MEM32(edx + 0x8) = ecx; /* 0x390065E0: mov dword ptr [edx + 8], ecx */ 15638 L_390065E3: 15639 MEM32(ecx + 0x4) = edx; /* 0x390065E3: mov dword ptr [ecx + 4], edx */ 15640 L_390065E6: 15641 esi = MEM32(ebp + (-0x4)); /* 0x390065E6: mov esi, dword ptr [ebp - 4] */ 15642 MEM8(eax + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065E9: mov byte ptr [eax + 0x38], bl */ 15643 ecx = esi + 0xC; /* 0x390065EC: lea ecx, [esi + 0xc] */ 15644 RECOMP_ICALL(0x390047D0u); /* 0x390065EF: call 0x390047d0 */ /* not lifted */ 15645 RECOMP_FLAGS_IN(); 15646 PUSH32(esp, esi); /* 0x390065F4: push esi */ 15647 RECOMP_ICALL(0x3900A0A0u); /* 0x390065F5: call 0x3900a0a0 */ /* not lifted */ 15648 RECOMP_FLAGS_IN(); 15649 eax = MEM32(edi + 0x10); /* 0x390065FA: mov eax, dword ptr [edi + 0x10] */ 15650 edx = MEM32(ebp + 0xC); /* 0x390065FD: mov edx, dword ptr [ebp + 0xc] */ 15651 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15652 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15653 esp = esp + 4; /* 0x39006600: add esp, 4 */ 15654 _flag_k = FK_ADD; 15655 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 15656 eax = eax - 1; /* 0x39006603: dec eax */ 15657 _flag_k = FK_DEC; 15658 MEM32(edi + 0x10) = eax; /* 0x39006604: mov dword ptr [edi + 0x10], eax */ 15659 eax = MEM32(ebp + 0x8); /* 0x39006607: mov eax, dword ptr [ebp + 8] */ 15660 edi = POP32_VAL(esp); /* 0x3900660A: pop edi */ 15661 esi = POP32_VAL(esp); /* 0x3900660B: pop esi */ 15662 MEM32(eax) = edx; /* 0x3900660C: mov dword ptr [eax], edx */ 15663 ebx = POP32_VAL(esp); /* 0x3900660E: pop ebx */ 15664 esp = ebp; /* 0x3900660F: mov esp, ebp */ 15665 ebp = POP32_VAL(esp); /* 0x39006611: pop ebp */ 15666 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x39006612: ret 8 */ 15667 RECOMP_REGS_OUT(); 15668 } 15669 15670 void sub_390063F4(void) { 15671 int _fpu_cmp = 0; 15672 uint32_t _cf = 0; 15673 int _df = 1; 15674 uint32_t _flag_k = FK_NONE; 15675 uint32_t _flag_a = 0, _flag_b = 0; 15676 uint32_t _itail_tgt = 0; 15677 RECOMP_REGS_LOCALS 15678 RECOMP_ENTER(0x390063F4u); 15679 15680 goto L_390063F4; 15681 L_39006398: 15682 /* cmp MEM8(eax + 0x38), LO8(ebx) */ /* 0x39006398: cmp byte ptr [eax + 0x38], bl */ 15683 _flag_a = (uint32_t)(MEM8(eax + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15684 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15685 _flag_k = FK_NARROW(FK_CMP, 24); 15686 if (CMP_NE(_flag_a, _flag_b)) goto L_390065E6; /* 0x3900639B: jne 0x390065e6 */ 15687 L_390063A1: 15688 edx = MEM32(eax + 0x4); /* 0x390063A1: mov edx, dword ptr [eax + 4] */ 15689 ecx = MEM32(edx); /* 0x390063A4: mov ecx, dword ptr [edx] */ 15690 /* cmp eax, ecx */ /* 0x390063A6: cmp eax, ecx */ 15691 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 15692 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15693 _flag_k = FK_CMP; 15694 if (CMP_NE(_flag_a, _flag_b)) goto L_39006418; /* 0x390063A8: jne 0x39006418 */ 15695 L_390063AA: 15696 ecx = MEM32(edx + 0x8); /* 0x390063AA: mov ecx, dword ptr [edx + 8] */ 15697 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x390063AD: mov dl, byte ptr [ecx + 0x38] */ 15698 /* test LO8(edx), LO8(edx) */ /* 0x390063B0: test dl, dl */ 15699 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 15700 _cf = 0; 15701 _flag_k = FK_NARROW(FK_TEST, 24); 15702 if (TEST_NZ(_flag_a, _flag_b)) goto L_390063FF; /* 0x390063B2: jne 0x390063ff */ 15703 L_390063B4: 15704 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390063B4: mov byte ptr [ecx + 0x38], bl */ 15705 edx = MEM32(eax + 0x4); /* 0x390063B7: mov edx, dword ptr [eax + 4] */ 15706 MEM8(edx + 0x38) = (uint8_t)(0); /* 0x390063BA: mov byte ptr [edx + 0x38], 0 */ 15707 ecx = MEM32(eax + 0x4); /* 0x390063BE: mov ecx, dword ptr [eax + 4] */ 15708 edx = MEM32(ecx + 0x8); /* 0x390063C1: mov edx, dword ptr [ecx + 8] */ 15709 esi = MEM32(edx); /* 0x390063C4: mov esi, dword ptr [edx] */ 15710 MEM32(ecx + 0x8) = esi; /* 0x390063C6: mov dword ptr [ecx + 8], esi */ 15711 esi = MEM32(edx); /* 0x390063C9: mov esi, dword ptr [edx] */ 15712 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390063CB: cmp esi, dword ptr [edi + 8] */ 15713 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15714 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15715 _flag_k = FK_CMP; 15716 if (CMP_EQ(_flag_a, _flag_b)) goto L_390063D3; /* 0x390063CE: je 0x390063d3 */ 15717 L_390063D0: 15718 MEM32(esi + 0x4) = ecx; /* 0x390063D0: mov dword ptr [esi + 4], ecx */ 15719 L_390063D3: 15720 esi = MEM32(ecx + 0x4); /* 0x390063D3: mov esi, dword ptr [ecx + 4] */ 15721 MEM32(edx + 0x4) = esi; /* 0x390063D6: mov dword ptr [edx + 4], esi */ 15722 esi = MEM32(edi + 0x4); /* 0x390063D9: mov esi, dword ptr [edi + 4] */ 15723 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390063DC: cmp ecx, dword ptr [esi + 4] */ 15724 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15725 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15726 _flag_k = FK_CMP; 15727 if (CMP_NE(_flag_a, _flag_b)) goto L_390063E6; /* 0x390063DF: jne 0x390063e6 */ 15728 L_390063E1: 15729 MEM32(esi + 0x4) = edx; /* 0x390063E1: mov dword ptr [esi + 4], edx */ 15730 goto L_390063F4; /* 0x390063E4: jmp 0x390063f4 */ 15731 L_390063E6: 15732 esi = MEM32(ecx + 0x4); /* 0x390063E6: mov esi, dword ptr [ecx + 4] */ 15733 /* cmp ecx, MEM32(esi) */ /* 0x390063E9: cmp ecx, dword ptr [esi] */ 15734 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 15735 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15736 _flag_k = FK_CMP; 15737 if (CMP_NE(_flag_a, _flag_b)) goto L_390063F1; /* 0x390063EB: jne 0x390063f1 */ 15738 L_390063ED: 15739 MEM32(esi) = edx; /* 0x390063ED: mov dword ptr [esi], edx */ 15740 goto L_390063F4; /* 0x390063EF: jmp 0x390063f4 */ 15741 L_390063F1: 15742 MEM32(esi + 0x8) = edx; /* 0x390063F1: mov dword ptr [esi + 8], edx */ 15743 L_390063F4: 15744 MEM32(edx) = ecx; /* 0x390063F4: mov dword ptr [edx], ecx */ 15745 MEM32(ecx + 0x4) = edx; /* 0x390063F6: mov dword ptr [ecx + 4], edx */ 15746 ecx = MEM32(eax + 0x4); /* 0x390063F9: mov ecx, dword ptr [eax + 4] */ 15747 ecx = MEM32(ecx + 0x8); /* 0x390063FC: mov ecx, dword ptr [ecx + 8] */ 15748 L_390063FF: 15749 edx = MEM32(ecx); /* 0x390063FF: mov edx, dword ptr [ecx] */ 15750 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x39006401: cmp byte ptr [edx + 0x38], bl */ 15751 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15752 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15753 _flag_k = FK_NARROW(FK_CMP, 24); 15754 if (CMP_NE(_flag_a, _flag_b)) goto L_3900649A; /* 0x39006404: jne 0x3900649a */ 15755 L_3900640A: 15756 edx = MEM32(ecx + 0x8); /* 0x3900640A: mov edx, dword ptr [ecx + 8] */ 15757 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x3900640D: cmp byte ptr [edx + 0x38], bl */ 15758 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15759 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15760 _flag_k = FK_NARROW(FK_CMP, 24); 15761 if (CMP_NE(_flag_a, _flag_b)) goto L_3900649A; /* 0x39006410: jne 0x3900649a */ 15762 L_39006416: 15763 goto L_39006482; /* 0x39006416: jmp 0x39006482 */ 15764 L_39006418: 15765 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x39006418: mov dl, byte ptr [ecx + 0x38] */ 15766 /* test LO8(edx), LO8(edx) */ /* 0x3900641B: test dl, dl */ 15767 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 15768 _cf = 0; 15769 _flag_k = FK_NARROW(FK_TEST, 24); 15770 if (TEST_NZ(_flag_a, _flag_b)) goto L_3900646B; /* 0x3900641D: jne 0x3900646b */ 15771 L_3900641F: 15772 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x3900641F: mov byte ptr [ecx + 0x38], bl */ 15773 ecx = MEM32(eax + 0x4); /* 0x39006422: mov ecx, dword ptr [eax + 4] */ 15774 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x39006425: mov byte ptr [ecx + 0x38], 0 */ 15775 ecx = MEM32(eax + 0x4); /* 0x39006429: mov ecx, dword ptr [eax + 4] */ 15776 edx = MEM32(ecx); /* 0x3900642C: mov edx, dword ptr [ecx] */ 15777 esi = MEM32(edx + 0x8); /* 0x3900642E: mov esi, dword ptr [edx + 8] */ 15778 MEM32(ecx) = esi; /* 0x39006431: mov dword ptr [ecx], esi */ 15779 esi = MEM32(edx + 0x8); /* 0x39006433: mov esi, dword ptr [edx + 8] */ 15780 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006436: cmp esi, dword ptr [edi + 8] */ 15781 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15782 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15783 _flag_k = FK_CMP; 15784 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900643E; /* 0x39006439: je 0x3900643e */ 15785 L_3900643B: 15786 MEM32(esi + 0x4) = ecx; /* 0x3900643B: mov dword ptr [esi + 4], ecx */ 15787 L_3900643E: 15788 esi = MEM32(ecx + 0x4); /* 0x3900643E: mov esi, dword ptr [ecx + 4] */ 15789 MEM32(edx + 0x4) = esi; /* 0x39006441: mov dword ptr [edx + 4], esi */ 15790 esi = MEM32(edi + 0x4); /* 0x39006444: mov esi, dword ptr [edi + 4] */ 15791 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006447: cmp ecx, dword ptr [esi + 4] */ 15792 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15793 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15794 _flag_k = FK_CMP; 15795 if (CMP_NE(_flag_a, _flag_b)) goto L_39006451; /* 0x3900644A: jne 0x39006451 */ 15796 L_3900644C: 15797 MEM32(esi + 0x4) = edx; /* 0x3900644C: mov dword ptr [esi + 4], edx */ 15798 goto L_39006460; /* 0x3900644F: jmp 0x39006460 */ 15799 L_39006451: 15800 esi = MEM32(ecx + 0x4); /* 0x39006451: mov esi, dword ptr [ecx + 4] */ 15801 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39006454: cmp ecx, dword ptr [esi + 8] */ 15802 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 15803 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15804 _flag_k = FK_CMP; 15805 if (CMP_NE(_flag_a, _flag_b)) goto L_3900645E; /* 0x39006457: jne 0x3900645e */ 15806 L_39006459: 15807 MEM32(esi + 0x8) = edx; /* 0x39006459: mov dword ptr [esi + 8], edx */ 15808 goto L_39006460; /* 0x3900645C: jmp 0x39006460 */ 15809 L_3900645E: 15810 MEM32(esi) = edx; /* 0x3900645E: mov dword ptr [esi], edx */ 15811 L_39006460: 15812 MEM32(edx + 0x8) = ecx; /* 0x39006460: mov dword ptr [edx + 8], ecx */ 15813 MEM32(ecx + 0x4) = edx; /* 0x39006463: mov dword ptr [ecx + 4], edx */ 15814 edx = MEM32(eax + 0x4); /* 0x39006466: mov edx, dword ptr [eax + 4] */ 15815 ecx = MEM32(edx); /* 0x39006469: mov ecx, dword ptr [edx] */ 15816 L_3900646B: 15817 edx = MEM32(ecx + 0x8); /* 0x3900646B: mov edx, dword ptr [ecx + 8] */ 15818 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x3900646E: cmp byte ptr [edx + 0x38], bl */ 15819 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15820 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15821 _flag_k = FK_NARROW(FK_CMP, 24); 15822 if (CMP_NE(_flag_a, _flag_b)) goto L_39006547; /* 0x39006471: jne 0x39006547 */ 15823 L_39006477: 15824 edx = MEM32(ecx); /* 0x39006477: mov edx, dword ptr [ecx] */ 15825 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x39006479: cmp byte ptr [edx + 0x38], bl */ 15826 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15827 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15828 _flag_k = FK_NARROW(FK_CMP, 24); 15829 if (CMP_NE(_flag_a, _flag_b)) goto L_39006547; /* 0x3900647C: jne 0x39006547 */ 15830 L_39006482: 15831 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x39006482: mov byte ptr [ecx + 0x38], 0 */ 15832 ecx = MEM32(edi + 0x4); /* 0x39006486: mov ecx, dword ptr [edi + 4] */ 15833 eax = MEM32(eax + 0x4); /* 0x39006489: mov eax, dword ptr [eax + 4] */ 15834 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900648C: cmp eax, dword ptr [ecx + 4] */ 15835 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 15836 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15837 _flag_k = FK_CMP; 15838 RECOMP_BACKEDGE(); 15839 if (CMP_NE(_flag_a, _flag_b)) goto L_39006398; /* 0x3900648F: jne 0x39006398 */ 15840 L_39006495: 15841 goto L_390065E6; /* 0x39006495: jmp 0x390065e6 */ 15842 L_3900649A: 15843 edx = MEM32(ecx + 0x8); /* 0x3900649A: mov edx, dword ptr [ecx + 8] */ 15844 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x3900649D: cmp byte ptr [edx + 0x38], bl */ 15845 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15846 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15847 _flag_k = FK_NARROW(FK_CMP, 24); 15848 if (CMP_NE(_flag_a, _flag_b)) goto L_390064EB; /* 0x390064A0: jne 0x390064eb */ 15849 L_390064A2: 15850 edx = MEM32(ecx); /* 0x390064A2: mov edx, dword ptr [ecx] */ 15851 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390064A4: mov byte ptr [edx + 0x38], bl */ 15852 edx = MEM32(ecx); /* 0x390064A7: mov edx, dword ptr [ecx] */ 15853 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x390064A9: mov byte ptr [ecx + 0x38], 0 */ 15854 esi = MEM32(edx + 0x8); /* 0x390064AD: mov esi, dword ptr [edx + 8] */ 15855 MEM32(ecx) = esi; /* 0x390064B0: mov dword ptr [ecx], esi */ 15856 esi = MEM32(edx + 0x8); /* 0x390064B2: mov esi, dword ptr [edx + 8] */ 15857 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390064B5: cmp esi, dword ptr [edi + 8] */ 15858 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15859 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15860 _flag_k = FK_CMP; 15861 if (CMP_EQ(_flag_a, _flag_b)) goto L_390064BD; /* 0x390064B8: je 0x390064bd */ 15862 L_390064BA: 15863 MEM32(esi + 0x4) = ecx; /* 0x390064BA: mov dword ptr [esi + 4], ecx */ 15864 L_390064BD: 15865 esi = MEM32(ecx + 0x4); /* 0x390064BD: mov esi, dword ptr [ecx + 4] */ 15866 MEM32(edx + 0x4) = esi; /* 0x390064C0: mov dword ptr [edx + 4], esi */ 15867 esi = MEM32(edi + 0x4); /* 0x390064C3: mov esi, dword ptr [edi + 4] */ 15868 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390064C6: cmp ecx, dword ptr [esi + 4] */ 15869 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15870 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15871 _flag_k = FK_CMP; 15872 if (CMP_NE(_flag_a, _flag_b)) goto L_390064D0; /* 0x390064C9: jne 0x390064d0 */ 15873 L_390064CB: 15874 MEM32(esi + 0x4) = edx; /* 0x390064CB: mov dword ptr [esi + 4], edx */ 15875 goto L_390064DF; /* 0x390064CE: jmp 0x390064df */ 15876 L_390064D0: 15877 esi = MEM32(ecx + 0x4); /* 0x390064D0: mov esi, dword ptr [ecx + 4] */ 15878 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x390064D3: cmp ecx, dword ptr [esi + 8] */ 15879 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 15880 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15881 _flag_k = FK_CMP; 15882 if (CMP_NE(_flag_a, _flag_b)) goto L_390064DD; /* 0x390064D6: jne 0x390064dd */ 15883 L_390064D8: 15884 MEM32(esi + 0x8) = edx; /* 0x390064D8: mov dword ptr [esi + 8], edx */ 15885 goto L_390064DF; /* 0x390064DB: jmp 0x390064df */ 15886 L_390064DD: 15887 MEM32(esi) = edx; /* 0x390064DD: mov dword ptr [esi], edx */ 15888 L_390064DF: 15889 MEM32(edx + 0x8) = ecx; /* 0x390064DF: mov dword ptr [edx + 8], ecx */ 15890 MEM32(ecx + 0x4) = edx; /* 0x390064E2: mov dword ptr [ecx + 4], edx */ 15891 ecx = MEM32(eax + 0x4); /* 0x390064E5: mov ecx, dword ptr [eax + 4] */ 15892 ecx = MEM32(ecx + 0x8); /* 0x390064E8: mov ecx, dword ptr [ecx + 8] */ 15893 L_390064EB: 15894 edx = MEM32(eax + 0x4); /* 0x390064EB: mov edx, dword ptr [eax + 4] */ 15895 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x390064EE: mov dl, byte ptr [edx + 0x38] */ 15896 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x390064F1: mov byte ptr [ecx + 0x38], dl */ 15897 edx = MEM32(eax + 0x4); /* 0x390064F4: mov edx, dword ptr [eax + 4] */ 15898 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390064F7: mov byte ptr [edx + 0x38], bl */ 15899 ecx = MEM32(ecx + 0x8); /* 0x390064FA: mov ecx, dword ptr [ecx + 8] */ 15900 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390064FD: mov byte ptr [ecx + 0x38], bl */ 15901 ecx = MEM32(eax + 0x4); /* 0x39006500: mov ecx, dword ptr [eax + 4] */ 15902 edx = MEM32(ecx + 0x8); /* 0x39006503: mov edx, dword ptr [ecx + 8] */ 15903 esi = MEM32(edx); /* 0x39006506: mov esi, dword ptr [edx] */ 15904 MEM32(ecx + 0x8) = esi; /* 0x39006508: mov dword ptr [ecx + 8], esi */ 15905 esi = MEM32(edx); /* 0x3900650B: mov esi, dword ptr [edx] */ 15906 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3900650D: cmp esi, dword ptr [edi + 8] */ 15907 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15908 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15909 _flag_k = FK_CMP; 15910 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006515; /* 0x39006510: je 0x39006515 */ 15911 L_39006512: 15912 MEM32(esi + 0x4) = ecx; /* 0x39006512: mov dword ptr [esi + 4], ecx */ 15913 L_39006515: 15914 esi = MEM32(ecx + 0x4); /* 0x39006515: mov esi, dword ptr [ecx + 4] */ 15915 MEM32(edx + 0x4) = esi; /* 0x39006518: mov dword ptr [edx + 4], esi */ 15916 esi = MEM32(edi + 0x4); /* 0x3900651B: mov esi, dword ptr [edi + 4] */ 15917 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x3900651E: cmp ecx, dword ptr [esi + 4] */ 15918 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15919 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15920 _flag_k = FK_CMP; 15921 if (CMP_NE(_flag_a, _flag_b)) goto L_3900652D; /* 0x39006521: jne 0x3900652d */ 15922 L_39006523: 15923 MEM32(esi + 0x4) = edx; /* 0x39006523: mov dword ptr [esi + 4], edx */ 15924 MEM32(edx) = ecx; /* 0x39006526: mov dword ptr [edx], ecx */ 15925 goto L_390065E3; /* 0x39006528: jmp 0x390065e3 */ 15926 L_3900652D: 15927 esi = MEM32(ecx + 0x4); /* 0x3900652D: mov esi, dword ptr [ecx + 4] */ 15928 /* cmp ecx, MEM32(esi) */ /* 0x39006530: cmp ecx, dword ptr [esi] */ 15929 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 15930 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15931 _flag_k = FK_CMP; 15932 if (CMP_NE(_flag_a, _flag_b)) goto L_3900653D; /* 0x39006532: jne 0x3900653d */ 15933 L_39006534: 15934 MEM32(esi) = edx; /* 0x39006534: mov dword ptr [esi], edx */ 15935 MEM32(edx) = ecx; /* 0x39006536: mov dword ptr [edx], ecx */ 15936 goto L_390065E3; /* 0x39006538: jmp 0x390065e3 */ 15937 L_3900653D: 15938 MEM32(esi + 0x8) = edx; /* 0x3900653D: mov dword ptr [esi + 8], edx */ 15939 MEM32(edx) = ecx; /* 0x39006540: mov dword ptr [edx], ecx */ 15940 goto L_390065E3; /* 0x39006542: jmp 0x390065e3 */ 15941 L_39006547: 15942 edx = MEM32(ecx); /* 0x39006547: mov edx, dword ptr [ecx] */ 15943 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x39006549: cmp byte ptr [edx + 0x38], bl */ 15944 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15945 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15946 _flag_k = FK_NARROW(FK_CMP, 24); 15947 if (CMP_NE(_flag_a, _flag_b)) goto L_39006595; /* 0x3900654C: jne 0x39006595 */ 15948 L_3900654E: 15949 edx = MEM32(ecx + 0x8); /* 0x3900654E: mov edx, dword ptr [ecx + 8] */ 15950 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x39006551: mov byte ptr [edx + 0x38], bl */ 15951 edx = MEM32(ecx + 0x8); /* 0x39006554: mov edx, dword ptr [ecx + 8] */ 15952 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x39006557: mov byte ptr [ecx + 0x38], 0 */ 15953 esi = MEM32(edx); /* 0x3900655B: mov esi, dword ptr [edx] */ 15954 MEM32(ecx + 0x8) = esi; /* 0x3900655D: mov dword ptr [ecx + 8], esi */ 15955 esi = MEM32(edx); /* 0x39006560: mov esi, dword ptr [edx] */ 15956 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006562: cmp esi, dword ptr [edi + 8] */ 15957 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 15958 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15959 _flag_k = FK_CMP; 15960 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900656A; /* 0x39006565: je 0x3900656a */ 15961 L_39006567: 15962 MEM32(esi + 0x4) = ecx; /* 0x39006567: mov dword ptr [esi + 4], ecx */ 15963 L_3900656A: 15964 esi = MEM32(ecx + 0x4); /* 0x3900656A: mov esi, dword ptr [ecx + 4] */ 15965 MEM32(edx + 0x4) = esi; /* 0x3900656D: mov dword ptr [edx + 4], esi */ 15966 esi = MEM32(edi + 0x4); /* 0x39006570: mov esi, dword ptr [edi + 4] */ 15967 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006573: cmp ecx, dword ptr [esi + 4] */ 15968 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 15969 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15970 _flag_k = FK_CMP; 15971 if (CMP_NE(_flag_a, _flag_b)) goto L_3900657D; /* 0x39006576: jne 0x3900657d */ 15972 L_39006578: 15973 MEM32(esi + 0x4) = edx; /* 0x39006578: mov dword ptr [esi + 4], edx */ 15974 goto L_3900658B; /* 0x3900657B: jmp 0x3900658b */ 15975 L_3900657D: 15976 esi = MEM32(ecx + 0x4); /* 0x3900657D: mov esi, dword ptr [ecx + 4] */ 15977 /* cmp ecx, MEM32(esi) */ /* 0x39006580: cmp ecx, dword ptr [esi] */ 15978 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 15979 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15980 _flag_k = FK_CMP; 15981 if (CMP_NE(_flag_a, _flag_b)) goto L_39006588; /* 0x39006582: jne 0x39006588 */ 15982 L_39006584: 15983 MEM32(esi) = edx; /* 0x39006584: mov dword ptr [esi], edx */ 15984 goto L_3900658B; /* 0x39006586: jmp 0x3900658b */ 15985 L_39006588: 15986 MEM32(esi + 0x8) = edx; /* 0x39006588: mov dword ptr [esi + 8], edx */ 15987 L_3900658B: 15988 MEM32(edx) = ecx; /* 0x3900658B: mov dword ptr [edx], ecx */ 15989 MEM32(ecx + 0x4) = edx; /* 0x3900658D: mov dword ptr [ecx + 4], edx */ 15990 ecx = MEM32(eax + 0x4); /* 0x39006590: mov ecx, dword ptr [eax + 4] */ 15991 ecx = MEM32(ecx); /* 0x39006593: mov ecx, dword ptr [ecx] */ 15992 L_39006595: 15993 edx = MEM32(eax + 0x4); /* 0x39006595: mov edx, dword ptr [eax + 4] */ 15994 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x39006598: mov dl, byte ptr [edx + 0x38] */ 15995 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x3900659B: mov byte ptr [ecx + 0x38], dl */ 15996 edx = MEM32(eax + 0x4); /* 0x3900659E: mov edx, dword ptr [eax + 4] */ 15997 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065A1: mov byte ptr [edx + 0x38], bl */ 15998 ecx = MEM32(ecx); /* 0x390065A4: mov ecx, dword ptr [ecx] */ 15999 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065A6: mov byte ptr [ecx + 0x38], bl */ 16000 ecx = MEM32(eax + 0x4); /* 0x390065A9: mov ecx, dword ptr [eax + 4] */ 16001 edx = MEM32(ecx); /* 0x390065AC: mov edx, dword ptr [ecx] */ 16002 esi = MEM32(edx + 0x8); /* 0x390065AE: mov esi, dword ptr [edx + 8] */ 16003 MEM32(ecx) = esi; /* 0x390065B1: mov dword ptr [ecx], esi */ 16004 esi = MEM32(edx + 0x8); /* 0x390065B3: mov esi, dword ptr [edx + 8] */ 16005 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390065B6: cmp esi, dword ptr [edi + 8] */ 16006 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16007 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16008 _flag_k = FK_CMP; 16009 if (CMP_EQ(_flag_a, _flag_b)) goto L_390065BE; /* 0x390065B9: je 0x390065be */ 16010 L_390065BB: 16011 MEM32(esi + 0x4) = ecx; /* 0x390065BB: mov dword ptr [esi + 4], ecx */ 16012 L_390065BE: 16013 esi = MEM32(ecx + 0x4); /* 0x390065BE: mov esi, dword ptr [ecx + 4] */ 16014 MEM32(edx + 0x4) = esi; /* 0x390065C1: mov dword ptr [edx + 4], esi */ 16015 esi = MEM32(edi + 0x4); /* 0x390065C4: mov esi, dword ptr [edi + 4] */ 16016 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390065C7: cmp ecx, dword ptr [esi + 4] */ 16017 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16018 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16019 _flag_k = FK_CMP; 16020 if (CMP_NE(_flag_a, _flag_b)) goto L_390065D1; /* 0x390065CA: jne 0x390065d1 */ 16021 L_390065CC: 16022 MEM32(esi + 0x4) = edx; /* 0x390065CC: mov dword ptr [esi + 4], edx */ 16023 goto L_390065E0; /* 0x390065CF: jmp 0x390065e0 */ 16024 L_390065D1: 16025 esi = MEM32(ecx + 0x4); /* 0x390065D1: mov esi, dword ptr [ecx + 4] */ 16026 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x390065D4: cmp ecx, dword ptr [esi + 8] */ 16027 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 16028 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16029 _flag_k = FK_CMP; 16030 if (CMP_NE(_flag_a, _flag_b)) goto L_390065DE; /* 0x390065D7: jne 0x390065de */ 16031 L_390065D9: 16032 MEM32(esi + 0x8) = edx; /* 0x390065D9: mov dword ptr [esi + 8], edx */ 16033 goto L_390065E0; /* 0x390065DC: jmp 0x390065e0 */ 16034 L_390065DE: 16035 MEM32(esi) = edx; /* 0x390065DE: mov dword ptr [esi], edx */ 16036 L_390065E0: 16037 MEM32(edx + 0x8) = ecx; /* 0x390065E0: mov dword ptr [edx + 8], ecx */ 16038 L_390065E3: 16039 MEM32(ecx + 0x4) = edx; /* 0x390065E3: mov dword ptr [ecx + 4], edx */ 16040 L_390065E6: 16041 esi = MEM32(ebp + (-0x4)); /* 0x390065E6: mov esi, dword ptr [ebp - 4] */ 16042 MEM8(eax + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065E9: mov byte ptr [eax + 0x38], bl */ 16043 ecx = esi + 0xC; /* 0x390065EC: lea ecx, [esi + 0xc] */ 16044 RECOMP_ICALL(0x390047D0u); /* 0x390065EF: call 0x390047d0 */ /* not lifted */ 16045 RECOMP_FLAGS_IN(); 16046 PUSH32(esp, esi); /* 0x390065F4: push esi */ 16047 RECOMP_ICALL(0x3900A0A0u); /* 0x390065F5: call 0x3900a0a0 */ /* not lifted */ 16048 RECOMP_FLAGS_IN(); 16049 eax = MEM32(edi + 0x10); /* 0x390065FA: mov eax, dword ptr [edi + 0x10] */ 16050 edx = MEM32(ebp + 0xC); /* 0x390065FD: mov edx, dword ptr [ebp + 0xc] */ 16051 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16052 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16053 esp = esp + 4; /* 0x39006600: add esp, 4 */ 16054 _flag_k = FK_ADD; 16055 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 16056 eax = eax - 1; /* 0x39006603: dec eax */ 16057 _flag_k = FK_DEC; 16058 MEM32(edi + 0x10) = eax; /* 0x39006604: mov dword ptr [edi + 0x10], eax */ 16059 eax = MEM32(ebp + 0x8); /* 0x39006607: mov eax, dword ptr [ebp + 8] */ 16060 edi = POP32_VAL(esp); /* 0x3900660A: pop edi */ 16061 esi = POP32_VAL(esp); /* 0x3900660B: pop esi */ 16062 MEM32(eax) = edx; /* 0x3900660C: mov dword ptr [eax], edx */ 16063 ebx = POP32_VAL(esp); /* 0x3900660E: pop ebx */ 16064 esp = ebp; /* 0x3900660F: mov esp, ebp */ 16065 ebp = POP32_VAL(esp); /* 0x39006611: pop ebp */ 16066 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x39006612: ret 8 */ 16067 RECOMP_REGS_OUT(); 16068 } 16069 16070 void sub_390063FF(void) { 16071 int _fpu_cmp = 0; 16072 uint32_t _cf = 0; 16073 int _df = 1; 16074 uint32_t _flag_k = FK_NONE; 16075 uint32_t _flag_a = 0, _flag_b = 0; 16076 uint32_t _itail_tgt = 0; 16077 RECOMP_REGS_LOCALS 16078 RECOMP_ENTER(0x390063FFu); 16079 16080 goto L_390063FF; 16081 L_39006398: 16082 /* cmp MEM8(eax + 0x38), LO8(ebx) */ /* 0x39006398: cmp byte ptr [eax + 0x38], bl */ 16083 _flag_a = (uint32_t)(MEM8(eax + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16084 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16085 _flag_k = FK_NARROW(FK_CMP, 24); 16086 if (CMP_NE(_flag_a, _flag_b)) goto L_390065E6; /* 0x3900639B: jne 0x390065e6 */ 16087 L_390063A1: 16088 edx = MEM32(eax + 0x4); /* 0x390063A1: mov edx, dword ptr [eax + 4] */ 16089 ecx = MEM32(edx); /* 0x390063A4: mov ecx, dword ptr [edx] */ 16090 /* cmp eax, ecx */ /* 0x390063A6: cmp eax, ecx */ 16091 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 16092 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16093 _flag_k = FK_CMP; 16094 if (CMP_NE(_flag_a, _flag_b)) goto L_39006418; /* 0x390063A8: jne 0x39006418 */ 16095 L_390063AA: 16096 ecx = MEM32(edx + 0x8); /* 0x390063AA: mov ecx, dword ptr [edx + 8] */ 16097 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x390063AD: mov dl, byte ptr [ecx + 0x38] */ 16098 /* test LO8(edx), LO8(edx) */ /* 0x390063B0: test dl, dl */ 16099 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 16100 _cf = 0; 16101 _flag_k = FK_NARROW(FK_TEST, 24); 16102 if (TEST_NZ(_flag_a, _flag_b)) goto L_390063FF; /* 0x390063B2: jne 0x390063ff */ 16103 L_390063B4: 16104 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390063B4: mov byte ptr [ecx + 0x38], bl */ 16105 edx = MEM32(eax + 0x4); /* 0x390063B7: mov edx, dword ptr [eax + 4] */ 16106 MEM8(edx + 0x38) = (uint8_t)(0); /* 0x390063BA: mov byte ptr [edx + 0x38], 0 */ 16107 ecx = MEM32(eax + 0x4); /* 0x390063BE: mov ecx, dword ptr [eax + 4] */ 16108 edx = MEM32(ecx + 0x8); /* 0x390063C1: mov edx, dword ptr [ecx + 8] */ 16109 esi = MEM32(edx); /* 0x390063C4: mov esi, dword ptr [edx] */ 16110 MEM32(ecx + 0x8) = esi; /* 0x390063C6: mov dword ptr [ecx + 8], esi */ 16111 esi = MEM32(edx); /* 0x390063C9: mov esi, dword ptr [edx] */ 16112 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390063CB: cmp esi, dword ptr [edi + 8] */ 16113 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16114 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16115 _flag_k = FK_CMP; 16116 if (CMP_EQ(_flag_a, _flag_b)) goto L_390063D3; /* 0x390063CE: je 0x390063d3 */ 16117 L_390063D0: 16118 MEM32(esi + 0x4) = ecx; /* 0x390063D0: mov dword ptr [esi + 4], ecx */ 16119 L_390063D3: 16120 esi = MEM32(ecx + 0x4); /* 0x390063D3: mov esi, dword ptr [ecx + 4] */ 16121 MEM32(edx + 0x4) = esi; /* 0x390063D6: mov dword ptr [edx + 4], esi */ 16122 esi = MEM32(edi + 0x4); /* 0x390063D9: mov esi, dword ptr [edi + 4] */ 16123 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390063DC: cmp ecx, dword ptr [esi + 4] */ 16124 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16125 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16126 _flag_k = FK_CMP; 16127 if (CMP_NE(_flag_a, _flag_b)) goto L_390063E6; /* 0x390063DF: jne 0x390063e6 */ 16128 L_390063E1: 16129 MEM32(esi + 0x4) = edx; /* 0x390063E1: mov dword ptr [esi + 4], edx */ 16130 goto L_390063F4; /* 0x390063E4: jmp 0x390063f4 */ 16131 L_390063E6: 16132 esi = MEM32(ecx + 0x4); /* 0x390063E6: mov esi, dword ptr [ecx + 4] */ 16133 /* cmp ecx, MEM32(esi) */ /* 0x390063E9: cmp ecx, dword ptr [esi] */ 16134 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 16135 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16136 _flag_k = FK_CMP; 16137 if (CMP_NE(_flag_a, _flag_b)) goto L_390063F1; /* 0x390063EB: jne 0x390063f1 */ 16138 L_390063ED: 16139 MEM32(esi) = edx; /* 0x390063ED: mov dword ptr [esi], edx */ 16140 goto L_390063F4; /* 0x390063EF: jmp 0x390063f4 */ 16141 L_390063F1: 16142 MEM32(esi + 0x8) = edx; /* 0x390063F1: mov dword ptr [esi + 8], edx */ 16143 L_390063F4: 16144 MEM32(edx) = ecx; /* 0x390063F4: mov dword ptr [edx], ecx */ 16145 MEM32(ecx + 0x4) = edx; /* 0x390063F6: mov dword ptr [ecx + 4], edx */ 16146 ecx = MEM32(eax + 0x4); /* 0x390063F9: mov ecx, dword ptr [eax + 4] */ 16147 ecx = MEM32(ecx + 0x8); /* 0x390063FC: mov ecx, dword ptr [ecx + 8] */ 16148 L_390063FF: 16149 edx = MEM32(ecx); /* 0x390063FF: mov edx, dword ptr [ecx] */ 16150 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x39006401: cmp byte ptr [edx + 0x38], bl */ 16151 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16152 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16153 _flag_k = FK_NARROW(FK_CMP, 24); 16154 if (CMP_NE(_flag_a, _flag_b)) goto L_3900649A; /* 0x39006404: jne 0x3900649a */ 16155 L_3900640A: 16156 edx = MEM32(ecx + 0x8); /* 0x3900640A: mov edx, dword ptr [ecx + 8] */ 16157 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x3900640D: cmp byte ptr [edx + 0x38], bl */ 16158 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16159 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16160 _flag_k = FK_NARROW(FK_CMP, 24); 16161 if (CMP_NE(_flag_a, _flag_b)) goto L_3900649A; /* 0x39006410: jne 0x3900649a */ 16162 L_39006416: 16163 goto L_39006482; /* 0x39006416: jmp 0x39006482 */ 16164 L_39006418: 16165 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x39006418: mov dl, byte ptr [ecx + 0x38] */ 16166 /* test LO8(edx), LO8(edx) */ /* 0x3900641B: test dl, dl */ 16167 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 16168 _cf = 0; 16169 _flag_k = FK_NARROW(FK_TEST, 24); 16170 if (TEST_NZ(_flag_a, _flag_b)) goto L_3900646B; /* 0x3900641D: jne 0x3900646b */ 16171 L_3900641F: 16172 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x3900641F: mov byte ptr [ecx + 0x38], bl */ 16173 ecx = MEM32(eax + 0x4); /* 0x39006422: mov ecx, dword ptr [eax + 4] */ 16174 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x39006425: mov byte ptr [ecx + 0x38], 0 */ 16175 ecx = MEM32(eax + 0x4); /* 0x39006429: mov ecx, dword ptr [eax + 4] */ 16176 edx = MEM32(ecx); /* 0x3900642C: mov edx, dword ptr [ecx] */ 16177 esi = MEM32(edx + 0x8); /* 0x3900642E: mov esi, dword ptr [edx + 8] */ 16178 MEM32(ecx) = esi; /* 0x39006431: mov dword ptr [ecx], esi */ 16179 esi = MEM32(edx + 0x8); /* 0x39006433: mov esi, dword ptr [edx + 8] */ 16180 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006436: cmp esi, dword ptr [edi + 8] */ 16181 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16182 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16183 _flag_k = FK_CMP; 16184 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900643E; /* 0x39006439: je 0x3900643e */ 16185 L_3900643B: 16186 MEM32(esi + 0x4) = ecx; /* 0x3900643B: mov dword ptr [esi + 4], ecx */ 16187 L_3900643E: 16188 esi = MEM32(ecx + 0x4); /* 0x3900643E: mov esi, dword ptr [ecx + 4] */ 16189 MEM32(edx + 0x4) = esi; /* 0x39006441: mov dword ptr [edx + 4], esi */ 16190 esi = MEM32(edi + 0x4); /* 0x39006444: mov esi, dword ptr [edi + 4] */ 16191 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006447: cmp ecx, dword ptr [esi + 4] */ 16192 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16193 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16194 _flag_k = FK_CMP; 16195 if (CMP_NE(_flag_a, _flag_b)) goto L_39006451; /* 0x3900644A: jne 0x39006451 */ 16196 L_3900644C: 16197 MEM32(esi + 0x4) = edx; /* 0x3900644C: mov dword ptr [esi + 4], edx */ 16198 goto L_39006460; /* 0x3900644F: jmp 0x39006460 */ 16199 L_39006451: 16200 esi = MEM32(ecx + 0x4); /* 0x39006451: mov esi, dword ptr [ecx + 4] */ 16201 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39006454: cmp ecx, dword ptr [esi + 8] */ 16202 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 16203 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16204 _flag_k = FK_CMP; 16205 if (CMP_NE(_flag_a, _flag_b)) goto L_3900645E; /* 0x39006457: jne 0x3900645e */ 16206 L_39006459: 16207 MEM32(esi + 0x8) = edx; /* 0x39006459: mov dword ptr [esi + 8], edx */ 16208 goto L_39006460; /* 0x3900645C: jmp 0x39006460 */ 16209 L_3900645E: 16210 MEM32(esi) = edx; /* 0x3900645E: mov dword ptr [esi], edx */ 16211 L_39006460: 16212 MEM32(edx + 0x8) = ecx; /* 0x39006460: mov dword ptr [edx + 8], ecx */ 16213 MEM32(ecx + 0x4) = edx; /* 0x39006463: mov dword ptr [ecx + 4], edx */ 16214 edx = MEM32(eax + 0x4); /* 0x39006466: mov edx, dword ptr [eax + 4] */ 16215 ecx = MEM32(edx); /* 0x39006469: mov ecx, dword ptr [edx] */ 16216 L_3900646B: 16217 edx = MEM32(ecx + 0x8); /* 0x3900646B: mov edx, dword ptr [ecx + 8] */ 16218 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x3900646E: cmp byte ptr [edx + 0x38], bl */ 16219 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16220 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16221 _flag_k = FK_NARROW(FK_CMP, 24); 16222 if (CMP_NE(_flag_a, _flag_b)) goto L_39006547; /* 0x39006471: jne 0x39006547 */ 16223 L_39006477: 16224 edx = MEM32(ecx); /* 0x39006477: mov edx, dword ptr [ecx] */ 16225 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x39006479: cmp byte ptr [edx + 0x38], bl */ 16226 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16227 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16228 _flag_k = FK_NARROW(FK_CMP, 24); 16229 if (CMP_NE(_flag_a, _flag_b)) goto L_39006547; /* 0x3900647C: jne 0x39006547 */ 16230 L_39006482: 16231 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x39006482: mov byte ptr [ecx + 0x38], 0 */ 16232 ecx = MEM32(edi + 0x4); /* 0x39006486: mov ecx, dword ptr [edi + 4] */ 16233 eax = MEM32(eax + 0x4); /* 0x39006489: mov eax, dword ptr [eax + 4] */ 16234 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900648C: cmp eax, dword ptr [ecx + 4] */ 16235 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 16236 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16237 _flag_k = FK_CMP; 16238 RECOMP_BACKEDGE(); 16239 if (CMP_NE(_flag_a, _flag_b)) goto L_39006398; /* 0x3900648F: jne 0x39006398 */ 16240 L_39006495: 16241 goto L_390065E6; /* 0x39006495: jmp 0x390065e6 */ 16242 L_3900649A: 16243 edx = MEM32(ecx + 0x8); /* 0x3900649A: mov edx, dword ptr [ecx + 8] */ 16244 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x3900649D: cmp byte ptr [edx + 0x38], bl */ 16245 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16246 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16247 _flag_k = FK_NARROW(FK_CMP, 24); 16248 if (CMP_NE(_flag_a, _flag_b)) goto L_390064EB; /* 0x390064A0: jne 0x390064eb */ 16249 L_390064A2: 16250 edx = MEM32(ecx); /* 0x390064A2: mov edx, dword ptr [ecx] */ 16251 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390064A4: mov byte ptr [edx + 0x38], bl */ 16252 edx = MEM32(ecx); /* 0x390064A7: mov edx, dword ptr [ecx] */ 16253 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x390064A9: mov byte ptr [ecx + 0x38], 0 */ 16254 esi = MEM32(edx + 0x8); /* 0x390064AD: mov esi, dword ptr [edx + 8] */ 16255 MEM32(ecx) = esi; /* 0x390064B0: mov dword ptr [ecx], esi */ 16256 esi = MEM32(edx + 0x8); /* 0x390064B2: mov esi, dword ptr [edx + 8] */ 16257 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390064B5: cmp esi, dword ptr [edi + 8] */ 16258 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16259 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16260 _flag_k = FK_CMP; 16261 if (CMP_EQ(_flag_a, _flag_b)) goto L_390064BD; /* 0x390064B8: je 0x390064bd */ 16262 L_390064BA: 16263 MEM32(esi + 0x4) = ecx; /* 0x390064BA: mov dword ptr [esi + 4], ecx */ 16264 L_390064BD: 16265 esi = MEM32(ecx + 0x4); /* 0x390064BD: mov esi, dword ptr [ecx + 4] */ 16266 MEM32(edx + 0x4) = esi; /* 0x390064C0: mov dword ptr [edx + 4], esi */ 16267 esi = MEM32(edi + 0x4); /* 0x390064C3: mov esi, dword ptr [edi + 4] */ 16268 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390064C6: cmp ecx, dword ptr [esi + 4] */ 16269 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16270 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16271 _flag_k = FK_CMP; 16272 if (CMP_NE(_flag_a, _flag_b)) goto L_390064D0; /* 0x390064C9: jne 0x390064d0 */ 16273 L_390064CB: 16274 MEM32(esi + 0x4) = edx; /* 0x390064CB: mov dword ptr [esi + 4], edx */ 16275 goto L_390064DF; /* 0x390064CE: jmp 0x390064df */ 16276 L_390064D0: 16277 esi = MEM32(ecx + 0x4); /* 0x390064D0: mov esi, dword ptr [ecx + 4] */ 16278 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x390064D3: cmp ecx, dword ptr [esi + 8] */ 16279 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 16280 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16281 _flag_k = FK_CMP; 16282 if (CMP_NE(_flag_a, _flag_b)) goto L_390064DD; /* 0x390064D6: jne 0x390064dd */ 16283 L_390064D8: 16284 MEM32(esi + 0x8) = edx; /* 0x390064D8: mov dword ptr [esi + 8], edx */ 16285 goto L_390064DF; /* 0x390064DB: jmp 0x390064df */ 16286 L_390064DD: 16287 MEM32(esi) = edx; /* 0x390064DD: mov dword ptr [esi], edx */ 16288 L_390064DF: 16289 MEM32(edx + 0x8) = ecx; /* 0x390064DF: mov dword ptr [edx + 8], ecx */ 16290 MEM32(ecx + 0x4) = edx; /* 0x390064E2: mov dword ptr [ecx + 4], edx */ 16291 ecx = MEM32(eax + 0x4); /* 0x390064E5: mov ecx, dword ptr [eax + 4] */ 16292 ecx = MEM32(ecx + 0x8); /* 0x390064E8: mov ecx, dword ptr [ecx + 8] */ 16293 L_390064EB: 16294 edx = MEM32(eax + 0x4); /* 0x390064EB: mov edx, dword ptr [eax + 4] */ 16295 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x390064EE: mov dl, byte ptr [edx + 0x38] */ 16296 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x390064F1: mov byte ptr [ecx + 0x38], dl */ 16297 edx = MEM32(eax + 0x4); /* 0x390064F4: mov edx, dword ptr [eax + 4] */ 16298 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390064F7: mov byte ptr [edx + 0x38], bl */ 16299 ecx = MEM32(ecx + 0x8); /* 0x390064FA: mov ecx, dword ptr [ecx + 8] */ 16300 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390064FD: mov byte ptr [ecx + 0x38], bl */ 16301 ecx = MEM32(eax + 0x4); /* 0x39006500: mov ecx, dword ptr [eax + 4] */ 16302 edx = MEM32(ecx + 0x8); /* 0x39006503: mov edx, dword ptr [ecx + 8] */ 16303 esi = MEM32(edx); /* 0x39006506: mov esi, dword ptr [edx] */ 16304 MEM32(ecx + 0x8) = esi; /* 0x39006508: mov dword ptr [ecx + 8], esi */ 16305 esi = MEM32(edx); /* 0x3900650B: mov esi, dword ptr [edx] */ 16306 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3900650D: cmp esi, dword ptr [edi + 8] */ 16307 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16308 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16309 _flag_k = FK_CMP; 16310 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006515; /* 0x39006510: je 0x39006515 */ 16311 L_39006512: 16312 MEM32(esi + 0x4) = ecx; /* 0x39006512: mov dword ptr [esi + 4], ecx */ 16313 L_39006515: 16314 esi = MEM32(ecx + 0x4); /* 0x39006515: mov esi, dword ptr [ecx + 4] */ 16315 MEM32(edx + 0x4) = esi; /* 0x39006518: mov dword ptr [edx + 4], esi */ 16316 esi = MEM32(edi + 0x4); /* 0x3900651B: mov esi, dword ptr [edi + 4] */ 16317 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x3900651E: cmp ecx, dword ptr [esi + 4] */ 16318 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16319 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16320 _flag_k = FK_CMP; 16321 if (CMP_NE(_flag_a, _flag_b)) goto L_3900652D; /* 0x39006521: jne 0x3900652d */ 16322 L_39006523: 16323 MEM32(esi + 0x4) = edx; /* 0x39006523: mov dword ptr [esi + 4], edx */ 16324 MEM32(edx) = ecx; /* 0x39006526: mov dword ptr [edx], ecx */ 16325 goto L_390065E3; /* 0x39006528: jmp 0x390065e3 */ 16326 L_3900652D: 16327 esi = MEM32(ecx + 0x4); /* 0x3900652D: mov esi, dword ptr [ecx + 4] */ 16328 /* cmp ecx, MEM32(esi) */ /* 0x39006530: cmp ecx, dword ptr [esi] */ 16329 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 16330 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16331 _flag_k = FK_CMP; 16332 if (CMP_NE(_flag_a, _flag_b)) goto L_3900653D; /* 0x39006532: jne 0x3900653d */ 16333 L_39006534: 16334 MEM32(esi) = edx; /* 0x39006534: mov dword ptr [esi], edx */ 16335 MEM32(edx) = ecx; /* 0x39006536: mov dword ptr [edx], ecx */ 16336 goto L_390065E3; /* 0x39006538: jmp 0x390065e3 */ 16337 L_3900653D: 16338 MEM32(esi + 0x8) = edx; /* 0x3900653D: mov dword ptr [esi + 8], edx */ 16339 MEM32(edx) = ecx; /* 0x39006540: mov dword ptr [edx], ecx */ 16340 goto L_390065E3; /* 0x39006542: jmp 0x390065e3 */ 16341 L_39006547: 16342 edx = MEM32(ecx); /* 0x39006547: mov edx, dword ptr [ecx] */ 16343 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x39006549: cmp byte ptr [edx + 0x38], bl */ 16344 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16345 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16346 _flag_k = FK_NARROW(FK_CMP, 24); 16347 if (CMP_NE(_flag_a, _flag_b)) goto L_39006595; /* 0x3900654C: jne 0x39006595 */ 16348 L_3900654E: 16349 edx = MEM32(ecx + 0x8); /* 0x3900654E: mov edx, dword ptr [ecx + 8] */ 16350 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x39006551: mov byte ptr [edx + 0x38], bl */ 16351 edx = MEM32(ecx + 0x8); /* 0x39006554: mov edx, dword ptr [ecx + 8] */ 16352 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x39006557: mov byte ptr [ecx + 0x38], 0 */ 16353 esi = MEM32(edx); /* 0x3900655B: mov esi, dword ptr [edx] */ 16354 MEM32(ecx + 0x8) = esi; /* 0x3900655D: mov dword ptr [ecx + 8], esi */ 16355 esi = MEM32(edx); /* 0x39006560: mov esi, dword ptr [edx] */ 16356 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006562: cmp esi, dword ptr [edi + 8] */ 16357 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16358 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16359 _flag_k = FK_CMP; 16360 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900656A; /* 0x39006565: je 0x3900656a */ 16361 L_39006567: 16362 MEM32(esi + 0x4) = ecx; /* 0x39006567: mov dword ptr [esi + 4], ecx */ 16363 L_3900656A: 16364 esi = MEM32(ecx + 0x4); /* 0x3900656A: mov esi, dword ptr [ecx + 4] */ 16365 MEM32(edx + 0x4) = esi; /* 0x3900656D: mov dword ptr [edx + 4], esi */ 16366 esi = MEM32(edi + 0x4); /* 0x39006570: mov esi, dword ptr [edi + 4] */ 16367 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006573: cmp ecx, dword ptr [esi + 4] */ 16368 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16369 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16370 _flag_k = FK_CMP; 16371 if (CMP_NE(_flag_a, _flag_b)) goto L_3900657D; /* 0x39006576: jne 0x3900657d */ 16372 L_39006578: 16373 MEM32(esi + 0x4) = edx; /* 0x39006578: mov dword ptr [esi + 4], edx */ 16374 goto L_3900658B; /* 0x3900657B: jmp 0x3900658b */ 16375 L_3900657D: 16376 esi = MEM32(ecx + 0x4); /* 0x3900657D: mov esi, dword ptr [ecx + 4] */ 16377 /* cmp ecx, MEM32(esi) */ /* 0x39006580: cmp ecx, dword ptr [esi] */ 16378 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 16379 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16380 _flag_k = FK_CMP; 16381 if (CMP_NE(_flag_a, _flag_b)) goto L_39006588; /* 0x39006582: jne 0x39006588 */ 16382 L_39006584: 16383 MEM32(esi) = edx; /* 0x39006584: mov dword ptr [esi], edx */ 16384 goto L_3900658B; /* 0x39006586: jmp 0x3900658b */ 16385 L_39006588: 16386 MEM32(esi + 0x8) = edx; /* 0x39006588: mov dword ptr [esi + 8], edx */ 16387 L_3900658B: 16388 MEM32(edx) = ecx; /* 0x3900658B: mov dword ptr [edx], ecx */ 16389 MEM32(ecx + 0x4) = edx; /* 0x3900658D: mov dword ptr [ecx + 4], edx */ 16390 ecx = MEM32(eax + 0x4); /* 0x39006590: mov ecx, dword ptr [eax + 4] */ 16391 ecx = MEM32(ecx); /* 0x39006593: mov ecx, dword ptr [ecx] */ 16392 L_39006595: 16393 edx = MEM32(eax + 0x4); /* 0x39006595: mov edx, dword ptr [eax + 4] */ 16394 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x39006598: mov dl, byte ptr [edx + 0x38] */ 16395 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x3900659B: mov byte ptr [ecx + 0x38], dl */ 16396 edx = MEM32(eax + 0x4); /* 0x3900659E: mov edx, dword ptr [eax + 4] */ 16397 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065A1: mov byte ptr [edx + 0x38], bl */ 16398 ecx = MEM32(ecx); /* 0x390065A4: mov ecx, dword ptr [ecx] */ 16399 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065A6: mov byte ptr [ecx + 0x38], bl */ 16400 ecx = MEM32(eax + 0x4); /* 0x390065A9: mov ecx, dword ptr [eax + 4] */ 16401 edx = MEM32(ecx); /* 0x390065AC: mov edx, dword ptr [ecx] */ 16402 esi = MEM32(edx + 0x8); /* 0x390065AE: mov esi, dword ptr [edx + 8] */ 16403 MEM32(ecx) = esi; /* 0x390065B1: mov dword ptr [ecx], esi */ 16404 esi = MEM32(edx + 0x8); /* 0x390065B3: mov esi, dword ptr [edx + 8] */ 16405 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390065B6: cmp esi, dword ptr [edi + 8] */ 16406 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16407 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16408 _flag_k = FK_CMP; 16409 if (CMP_EQ(_flag_a, _flag_b)) goto L_390065BE; /* 0x390065B9: je 0x390065be */ 16410 L_390065BB: 16411 MEM32(esi + 0x4) = ecx; /* 0x390065BB: mov dword ptr [esi + 4], ecx */ 16412 L_390065BE: 16413 esi = MEM32(ecx + 0x4); /* 0x390065BE: mov esi, dword ptr [ecx + 4] */ 16414 MEM32(edx + 0x4) = esi; /* 0x390065C1: mov dword ptr [edx + 4], esi */ 16415 esi = MEM32(edi + 0x4); /* 0x390065C4: mov esi, dword ptr [edi + 4] */ 16416 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390065C7: cmp ecx, dword ptr [esi + 4] */ 16417 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16418 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16419 _flag_k = FK_CMP; 16420 if (CMP_NE(_flag_a, _flag_b)) goto L_390065D1; /* 0x390065CA: jne 0x390065d1 */ 16421 L_390065CC: 16422 MEM32(esi + 0x4) = edx; /* 0x390065CC: mov dword ptr [esi + 4], edx */ 16423 goto L_390065E0; /* 0x390065CF: jmp 0x390065e0 */ 16424 L_390065D1: 16425 esi = MEM32(ecx + 0x4); /* 0x390065D1: mov esi, dword ptr [ecx + 4] */ 16426 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x390065D4: cmp ecx, dword ptr [esi + 8] */ 16427 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 16428 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16429 _flag_k = FK_CMP; 16430 if (CMP_NE(_flag_a, _flag_b)) goto L_390065DE; /* 0x390065D7: jne 0x390065de */ 16431 L_390065D9: 16432 MEM32(esi + 0x8) = edx; /* 0x390065D9: mov dword ptr [esi + 8], edx */ 16433 goto L_390065E0; /* 0x390065DC: jmp 0x390065e0 */ 16434 L_390065DE: 16435 MEM32(esi) = edx; /* 0x390065DE: mov dword ptr [esi], edx */ 16436 L_390065E0: 16437 MEM32(edx + 0x8) = ecx; /* 0x390065E0: mov dword ptr [edx + 8], ecx */ 16438 L_390065E3: 16439 MEM32(ecx + 0x4) = edx; /* 0x390065E3: mov dword ptr [ecx + 4], edx */ 16440 L_390065E6: 16441 esi = MEM32(ebp + (-0x4)); /* 0x390065E6: mov esi, dword ptr [ebp - 4] */ 16442 MEM8(eax + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065E9: mov byte ptr [eax + 0x38], bl */ 16443 ecx = esi + 0xC; /* 0x390065EC: lea ecx, [esi + 0xc] */ 16444 RECOMP_ICALL(0x390047D0u); /* 0x390065EF: call 0x390047d0 */ /* not lifted */ 16445 RECOMP_FLAGS_IN(); 16446 PUSH32(esp, esi); /* 0x390065F4: push esi */ 16447 RECOMP_ICALL(0x3900A0A0u); /* 0x390065F5: call 0x3900a0a0 */ /* not lifted */ 16448 RECOMP_FLAGS_IN(); 16449 eax = MEM32(edi + 0x10); /* 0x390065FA: mov eax, dword ptr [edi + 0x10] */ 16450 edx = MEM32(ebp + 0xC); /* 0x390065FD: mov edx, dword ptr [ebp + 0xc] */ 16451 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16452 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16453 esp = esp + 4; /* 0x39006600: add esp, 4 */ 16454 _flag_k = FK_ADD; 16455 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 16456 eax = eax - 1; /* 0x39006603: dec eax */ 16457 _flag_k = FK_DEC; 16458 MEM32(edi + 0x10) = eax; /* 0x39006604: mov dword ptr [edi + 0x10], eax */ 16459 eax = MEM32(ebp + 0x8); /* 0x39006607: mov eax, dword ptr [ebp + 8] */ 16460 edi = POP32_VAL(esp); /* 0x3900660A: pop edi */ 16461 esi = POP32_VAL(esp); /* 0x3900660B: pop esi */ 16462 MEM32(eax) = edx; /* 0x3900660C: mov dword ptr [eax], edx */ 16463 ebx = POP32_VAL(esp); /* 0x3900660E: pop ebx */ 16464 esp = ebp; /* 0x3900660F: mov esp, ebp */ 16465 ebp = POP32_VAL(esp); /* 0x39006611: pop ebp */ 16466 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x39006612: ret 8 */ 16467 RECOMP_REGS_OUT(); 16468 } 16469 16470 void sub_39006418(void) { 16471 int _fpu_cmp = 0; 16472 uint32_t _cf = 0; 16473 int _df = 1; 16474 uint32_t _flag_k = FK_NONE; 16475 uint32_t _flag_a = 0, _flag_b = 0; 16476 uint32_t _itail_tgt = 0; 16477 RECOMP_REGS_LOCALS 16478 RECOMP_ENTER(0x39006418u); 16479 16480 goto L_39006418; 16481 L_39006398: 16482 /* cmp MEM8(eax + 0x38), LO8(ebx) */ /* 0x39006398: cmp byte ptr [eax + 0x38], bl */ 16483 _flag_a = (uint32_t)(MEM8(eax + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16484 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16485 _flag_k = FK_NARROW(FK_CMP, 24); 16486 if (CMP_NE(_flag_a, _flag_b)) goto L_390065E6; /* 0x3900639B: jne 0x390065e6 */ 16487 L_390063A1: 16488 edx = MEM32(eax + 0x4); /* 0x390063A1: mov edx, dword ptr [eax + 4] */ 16489 ecx = MEM32(edx); /* 0x390063A4: mov ecx, dword ptr [edx] */ 16490 /* cmp eax, ecx */ /* 0x390063A6: cmp eax, ecx */ 16491 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 16492 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16493 _flag_k = FK_CMP; 16494 if (CMP_NE(_flag_a, _flag_b)) goto L_39006418; /* 0x390063A8: jne 0x39006418 */ 16495 L_390063AA: 16496 ecx = MEM32(edx + 0x8); /* 0x390063AA: mov ecx, dword ptr [edx + 8] */ 16497 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x390063AD: mov dl, byte ptr [ecx + 0x38] */ 16498 /* test LO8(edx), LO8(edx) */ /* 0x390063B0: test dl, dl */ 16499 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 16500 _cf = 0; 16501 _flag_k = FK_NARROW(FK_TEST, 24); 16502 if (TEST_NZ(_flag_a, _flag_b)) goto L_390063FF; /* 0x390063B2: jne 0x390063ff */ 16503 L_390063B4: 16504 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390063B4: mov byte ptr [ecx + 0x38], bl */ 16505 edx = MEM32(eax + 0x4); /* 0x390063B7: mov edx, dword ptr [eax + 4] */ 16506 MEM8(edx + 0x38) = (uint8_t)(0); /* 0x390063BA: mov byte ptr [edx + 0x38], 0 */ 16507 ecx = MEM32(eax + 0x4); /* 0x390063BE: mov ecx, dword ptr [eax + 4] */ 16508 edx = MEM32(ecx + 0x8); /* 0x390063C1: mov edx, dword ptr [ecx + 8] */ 16509 esi = MEM32(edx); /* 0x390063C4: mov esi, dword ptr [edx] */ 16510 MEM32(ecx + 0x8) = esi; /* 0x390063C6: mov dword ptr [ecx + 8], esi */ 16511 esi = MEM32(edx); /* 0x390063C9: mov esi, dword ptr [edx] */ 16512 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390063CB: cmp esi, dword ptr [edi + 8] */ 16513 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16514 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16515 _flag_k = FK_CMP; 16516 if (CMP_EQ(_flag_a, _flag_b)) goto L_390063D3; /* 0x390063CE: je 0x390063d3 */ 16517 L_390063D0: 16518 MEM32(esi + 0x4) = ecx; /* 0x390063D0: mov dword ptr [esi + 4], ecx */ 16519 L_390063D3: 16520 esi = MEM32(ecx + 0x4); /* 0x390063D3: mov esi, dword ptr [ecx + 4] */ 16521 MEM32(edx + 0x4) = esi; /* 0x390063D6: mov dword ptr [edx + 4], esi */ 16522 esi = MEM32(edi + 0x4); /* 0x390063D9: mov esi, dword ptr [edi + 4] */ 16523 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390063DC: cmp ecx, dword ptr [esi + 4] */ 16524 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16525 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16526 _flag_k = FK_CMP; 16527 if (CMP_NE(_flag_a, _flag_b)) goto L_390063E6; /* 0x390063DF: jne 0x390063e6 */ 16528 L_390063E1: 16529 MEM32(esi + 0x4) = edx; /* 0x390063E1: mov dword ptr [esi + 4], edx */ 16530 goto L_390063F4; /* 0x390063E4: jmp 0x390063f4 */ 16531 L_390063E6: 16532 esi = MEM32(ecx + 0x4); /* 0x390063E6: mov esi, dword ptr [ecx + 4] */ 16533 /* cmp ecx, MEM32(esi) */ /* 0x390063E9: cmp ecx, dword ptr [esi] */ 16534 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 16535 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16536 _flag_k = FK_CMP; 16537 if (CMP_NE(_flag_a, _flag_b)) goto L_390063F1; /* 0x390063EB: jne 0x390063f1 */ 16538 L_390063ED: 16539 MEM32(esi) = edx; /* 0x390063ED: mov dword ptr [esi], edx */ 16540 goto L_390063F4; /* 0x390063EF: jmp 0x390063f4 */ 16541 L_390063F1: 16542 MEM32(esi + 0x8) = edx; /* 0x390063F1: mov dword ptr [esi + 8], edx */ 16543 L_390063F4: 16544 MEM32(edx) = ecx; /* 0x390063F4: mov dword ptr [edx], ecx */ 16545 MEM32(ecx + 0x4) = edx; /* 0x390063F6: mov dword ptr [ecx + 4], edx */ 16546 ecx = MEM32(eax + 0x4); /* 0x390063F9: mov ecx, dword ptr [eax + 4] */ 16547 ecx = MEM32(ecx + 0x8); /* 0x390063FC: mov ecx, dword ptr [ecx + 8] */ 16548 L_390063FF: 16549 edx = MEM32(ecx); /* 0x390063FF: mov edx, dword ptr [ecx] */ 16550 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x39006401: cmp byte ptr [edx + 0x38], bl */ 16551 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16552 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16553 _flag_k = FK_NARROW(FK_CMP, 24); 16554 if (CMP_NE(_flag_a, _flag_b)) goto L_3900649A; /* 0x39006404: jne 0x3900649a */ 16555 L_3900640A: 16556 edx = MEM32(ecx + 0x8); /* 0x3900640A: mov edx, dword ptr [ecx + 8] */ 16557 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x3900640D: cmp byte ptr [edx + 0x38], bl */ 16558 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16559 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16560 _flag_k = FK_NARROW(FK_CMP, 24); 16561 if (CMP_NE(_flag_a, _flag_b)) goto L_3900649A; /* 0x39006410: jne 0x3900649a */ 16562 L_39006416: 16563 goto L_39006482; /* 0x39006416: jmp 0x39006482 */ 16564 L_39006418: 16565 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x39006418: mov dl, byte ptr [ecx + 0x38] */ 16566 /* test LO8(edx), LO8(edx) */ /* 0x3900641B: test dl, dl */ 16567 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 16568 _cf = 0; 16569 _flag_k = FK_NARROW(FK_TEST, 24); 16570 if (TEST_NZ(_flag_a, _flag_b)) goto L_3900646B; /* 0x3900641D: jne 0x3900646b */ 16571 L_3900641F: 16572 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x3900641F: mov byte ptr [ecx + 0x38], bl */ 16573 ecx = MEM32(eax + 0x4); /* 0x39006422: mov ecx, dword ptr [eax + 4] */ 16574 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x39006425: mov byte ptr [ecx + 0x38], 0 */ 16575 ecx = MEM32(eax + 0x4); /* 0x39006429: mov ecx, dword ptr [eax + 4] */ 16576 edx = MEM32(ecx); /* 0x3900642C: mov edx, dword ptr [ecx] */ 16577 esi = MEM32(edx + 0x8); /* 0x3900642E: mov esi, dword ptr [edx + 8] */ 16578 MEM32(ecx) = esi; /* 0x39006431: mov dword ptr [ecx], esi */ 16579 esi = MEM32(edx + 0x8); /* 0x39006433: mov esi, dword ptr [edx + 8] */ 16580 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006436: cmp esi, dword ptr [edi + 8] */ 16581 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16582 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16583 _flag_k = FK_CMP; 16584 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900643E; /* 0x39006439: je 0x3900643e */ 16585 L_3900643B: 16586 MEM32(esi + 0x4) = ecx; /* 0x3900643B: mov dword ptr [esi + 4], ecx */ 16587 L_3900643E: 16588 esi = MEM32(ecx + 0x4); /* 0x3900643E: mov esi, dword ptr [ecx + 4] */ 16589 MEM32(edx + 0x4) = esi; /* 0x39006441: mov dword ptr [edx + 4], esi */ 16590 esi = MEM32(edi + 0x4); /* 0x39006444: mov esi, dword ptr [edi + 4] */ 16591 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006447: cmp ecx, dword ptr [esi + 4] */ 16592 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16593 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16594 _flag_k = FK_CMP; 16595 if (CMP_NE(_flag_a, _flag_b)) goto L_39006451; /* 0x3900644A: jne 0x39006451 */ 16596 L_3900644C: 16597 MEM32(esi + 0x4) = edx; /* 0x3900644C: mov dword ptr [esi + 4], edx */ 16598 goto L_39006460; /* 0x3900644F: jmp 0x39006460 */ 16599 L_39006451: 16600 esi = MEM32(ecx + 0x4); /* 0x39006451: mov esi, dword ptr [ecx + 4] */ 16601 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39006454: cmp ecx, dword ptr [esi + 8] */ 16602 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 16603 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16604 _flag_k = FK_CMP; 16605 if (CMP_NE(_flag_a, _flag_b)) goto L_3900645E; /* 0x39006457: jne 0x3900645e */ 16606 L_39006459: 16607 MEM32(esi + 0x8) = edx; /* 0x39006459: mov dword ptr [esi + 8], edx */ 16608 goto L_39006460; /* 0x3900645C: jmp 0x39006460 */ 16609 L_3900645E: 16610 MEM32(esi) = edx; /* 0x3900645E: mov dword ptr [esi], edx */ 16611 L_39006460: 16612 MEM32(edx + 0x8) = ecx; /* 0x39006460: mov dword ptr [edx + 8], ecx */ 16613 MEM32(ecx + 0x4) = edx; /* 0x39006463: mov dword ptr [ecx + 4], edx */ 16614 edx = MEM32(eax + 0x4); /* 0x39006466: mov edx, dword ptr [eax + 4] */ 16615 ecx = MEM32(edx); /* 0x39006469: mov ecx, dword ptr [edx] */ 16616 L_3900646B: 16617 edx = MEM32(ecx + 0x8); /* 0x3900646B: mov edx, dword ptr [ecx + 8] */ 16618 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x3900646E: cmp byte ptr [edx + 0x38], bl */ 16619 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16620 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16621 _flag_k = FK_NARROW(FK_CMP, 24); 16622 if (CMP_NE(_flag_a, _flag_b)) goto L_39006547; /* 0x39006471: jne 0x39006547 */ 16623 L_39006477: 16624 edx = MEM32(ecx); /* 0x39006477: mov edx, dword ptr [ecx] */ 16625 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x39006479: cmp byte ptr [edx + 0x38], bl */ 16626 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16627 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16628 _flag_k = FK_NARROW(FK_CMP, 24); 16629 if (CMP_NE(_flag_a, _flag_b)) goto L_39006547; /* 0x3900647C: jne 0x39006547 */ 16630 L_39006482: 16631 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x39006482: mov byte ptr [ecx + 0x38], 0 */ 16632 ecx = MEM32(edi + 0x4); /* 0x39006486: mov ecx, dword ptr [edi + 4] */ 16633 eax = MEM32(eax + 0x4); /* 0x39006489: mov eax, dword ptr [eax + 4] */ 16634 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900648C: cmp eax, dword ptr [ecx + 4] */ 16635 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 16636 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16637 _flag_k = FK_CMP; 16638 RECOMP_BACKEDGE(); 16639 if (CMP_NE(_flag_a, _flag_b)) goto L_39006398; /* 0x3900648F: jne 0x39006398 */ 16640 L_39006495: 16641 goto L_390065E6; /* 0x39006495: jmp 0x390065e6 */ 16642 L_3900649A: 16643 edx = MEM32(ecx + 0x8); /* 0x3900649A: mov edx, dword ptr [ecx + 8] */ 16644 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x3900649D: cmp byte ptr [edx + 0x38], bl */ 16645 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16646 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16647 _flag_k = FK_NARROW(FK_CMP, 24); 16648 if (CMP_NE(_flag_a, _flag_b)) goto L_390064EB; /* 0x390064A0: jne 0x390064eb */ 16649 L_390064A2: 16650 edx = MEM32(ecx); /* 0x390064A2: mov edx, dword ptr [ecx] */ 16651 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390064A4: mov byte ptr [edx + 0x38], bl */ 16652 edx = MEM32(ecx); /* 0x390064A7: mov edx, dword ptr [ecx] */ 16653 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x390064A9: mov byte ptr [ecx + 0x38], 0 */ 16654 esi = MEM32(edx + 0x8); /* 0x390064AD: mov esi, dword ptr [edx + 8] */ 16655 MEM32(ecx) = esi; /* 0x390064B0: mov dword ptr [ecx], esi */ 16656 esi = MEM32(edx + 0x8); /* 0x390064B2: mov esi, dword ptr [edx + 8] */ 16657 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390064B5: cmp esi, dword ptr [edi + 8] */ 16658 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16659 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16660 _flag_k = FK_CMP; 16661 if (CMP_EQ(_flag_a, _flag_b)) goto L_390064BD; /* 0x390064B8: je 0x390064bd */ 16662 L_390064BA: 16663 MEM32(esi + 0x4) = ecx; /* 0x390064BA: mov dword ptr [esi + 4], ecx */ 16664 L_390064BD: 16665 esi = MEM32(ecx + 0x4); /* 0x390064BD: mov esi, dword ptr [ecx + 4] */ 16666 MEM32(edx + 0x4) = esi; /* 0x390064C0: mov dword ptr [edx + 4], esi */ 16667 esi = MEM32(edi + 0x4); /* 0x390064C3: mov esi, dword ptr [edi + 4] */ 16668 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390064C6: cmp ecx, dword ptr [esi + 4] */ 16669 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16670 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16671 _flag_k = FK_CMP; 16672 if (CMP_NE(_flag_a, _flag_b)) goto L_390064D0; /* 0x390064C9: jne 0x390064d0 */ 16673 L_390064CB: 16674 MEM32(esi + 0x4) = edx; /* 0x390064CB: mov dword ptr [esi + 4], edx */ 16675 goto L_390064DF; /* 0x390064CE: jmp 0x390064df */ 16676 L_390064D0: 16677 esi = MEM32(ecx + 0x4); /* 0x390064D0: mov esi, dword ptr [ecx + 4] */ 16678 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x390064D3: cmp ecx, dword ptr [esi + 8] */ 16679 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 16680 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16681 _flag_k = FK_CMP; 16682 if (CMP_NE(_flag_a, _flag_b)) goto L_390064DD; /* 0x390064D6: jne 0x390064dd */ 16683 L_390064D8: 16684 MEM32(esi + 0x8) = edx; /* 0x390064D8: mov dword ptr [esi + 8], edx */ 16685 goto L_390064DF; /* 0x390064DB: jmp 0x390064df */ 16686 L_390064DD: 16687 MEM32(esi) = edx; /* 0x390064DD: mov dword ptr [esi], edx */ 16688 L_390064DF: 16689 MEM32(edx + 0x8) = ecx; /* 0x390064DF: mov dword ptr [edx + 8], ecx */ 16690 MEM32(ecx + 0x4) = edx; /* 0x390064E2: mov dword ptr [ecx + 4], edx */ 16691 ecx = MEM32(eax + 0x4); /* 0x390064E5: mov ecx, dword ptr [eax + 4] */ 16692 ecx = MEM32(ecx + 0x8); /* 0x390064E8: mov ecx, dword ptr [ecx + 8] */ 16693 L_390064EB: 16694 edx = MEM32(eax + 0x4); /* 0x390064EB: mov edx, dword ptr [eax + 4] */ 16695 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x390064EE: mov dl, byte ptr [edx + 0x38] */ 16696 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x390064F1: mov byte ptr [ecx + 0x38], dl */ 16697 edx = MEM32(eax + 0x4); /* 0x390064F4: mov edx, dword ptr [eax + 4] */ 16698 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390064F7: mov byte ptr [edx + 0x38], bl */ 16699 ecx = MEM32(ecx + 0x8); /* 0x390064FA: mov ecx, dword ptr [ecx + 8] */ 16700 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390064FD: mov byte ptr [ecx + 0x38], bl */ 16701 ecx = MEM32(eax + 0x4); /* 0x39006500: mov ecx, dword ptr [eax + 4] */ 16702 edx = MEM32(ecx + 0x8); /* 0x39006503: mov edx, dword ptr [ecx + 8] */ 16703 esi = MEM32(edx); /* 0x39006506: mov esi, dword ptr [edx] */ 16704 MEM32(ecx + 0x8) = esi; /* 0x39006508: mov dword ptr [ecx + 8], esi */ 16705 esi = MEM32(edx); /* 0x3900650B: mov esi, dword ptr [edx] */ 16706 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3900650D: cmp esi, dword ptr [edi + 8] */ 16707 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16708 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16709 _flag_k = FK_CMP; 16710 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006515; /* 0x39006510: je 0x39006515 */ 16711 L_39006512: 16712 MEM32(esi + 0x4) = ecx; /* 0x39006512: mov dword ptr [esi + 4], ecx */ 16713 L_39006515: 16714 esi = MEM32(ecx + 0x4); /* 0x39006515: mov esi, dword ptr [ecx + 4] */ 16715 MEM32(edx + 0x4) = esi; /* 0x39006518: mov dword ptr [edx + 4], esi */ 16716 esi = MEM32(edi + 0x4); /* 0x3900651B: mov esi, dword ptr [edi + 4] */ 16717 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x3900651E: cmp ecx, dword ptr [esi + 4] */ 16718 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16719 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16720 _flag_k = FK_CMP; 16721 if (CMP_NE(_flag_a, _flag_b)) goto L_3900652D; /* 0x39006521: jne 0x3900652d */ 16722 L_39006523: 16723 MEM32(esi + 0x4) = edx; /* 0x39006523: mov dword ptr [esi + 4], edx */ 16724 MEM32(edx) = ecx; /* 0x39006526: mov dword ptr [edx], ecx */ 16725 goto L_390065E3; /* 0x39006528: jmp 0x390065e3 */ 16726 L_3900652D: 16727 esi = MEM32(ecx + 0x4); /* 0x3900652D: mov esi, dword ptr [ecx + 4] */ 16728 /* cmp ecx, MEM32(esi) */ /* 0x39006530: cmp ecx, dword ptr [esi] */ 16729 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 16730 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16731 _flag_k = FK_CMP; 16732 if (CMP_NE(_flag_a, _flag_b)) goto L_3900653D; /* 0x39006532: jne 0x3900653d */ 16733 L_39006534: 16734 MEM32(esi) = edx; /* 0x39006534: mov dword ptr [esi], edx */ 16735 MEM32(edx) = ecx; /* 0x39006536: mov dword ptr [edx], ecx */ 16736 goto L_390065E3; /* 0x39006538: jmp 0x390065e3 */ 16737 L_3900653D: 16738 MEM32(esi + 0x8) = edx; /* 0x3900653D: mov dword ptr [esi + 8], edx */ 16739 MEM32(edx) = ecx; /* 0x39006540: mov dword ptr [edx], ecx */ 16740 goto L_390065E3; /* 0x39006542: jmp 0x390065e3 */ 16741 L_39006547: 16742 edx = MEM32(ecx); /* 0x39006547: mov edx, dword ptr [ecx] */ 16743 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x39006549: cmp byte ptr [edx + 0x38], bl */ 16744 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16745 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16746 _flag_k = FK_NARROW(FK_CMP, 24); 16747 if (CMP_NE(_flag_a, _flag_b)) goto L_39006595; /* 0x3900654C: jne 0x39006595 */ 16748 L_3900654E: 16749 edx = MEM32(ecx + 0x8); /* 0x3900654E: mov edx, dword ptr [ecx + 8] */ 16750 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x39006551: mov byte ptr [edx + 0x38], bl */ 16751 edx = MEM32(ecx + 0x8); /* 0x39006554: mov edx, dword ptr [ecx + 8] */ 16752 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x39006557: mov byte ptr [ecx + 0x38], 0 */ 16753 esi = MEM32(edx); /* 0x3900655B: mov esi, dword ptr [edx] */ 16754 MEM32(ecx + 0x8) = esi; /* 0x3900655D: mov dword ptr [ecx + 8], esi */ 16755 esi = MEM32(edx); /* 0x39006560: mov esi, dword ptr [edx] */ 16756 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006562: cmp esi, dword ptr [edi + 8] */ 16757 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16758 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16759 _flag_k = FK_CMP; 16760 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900656A; /* 0x39006565: je 0x3900656a */ 16761 L_39006567: 16762 MEM32(esi + 0x4) = ecx; /* 0x39006567: mov dword ptr [esi + 4], ecx */ 16763 L_3900656A: 16764 esi = MEM32(ecx + 0x4); /* 0x3900656A: mov esi, dword ptr [ecx + 4] */ 16765 MEM32(edx + 0x4) = esi; /* 0x3900656D: mov dword ptr [edx + 4], esi */ 16766 esi = MEM32(edi + 0x4); /* 0x39006570: mov esi, dword ptr [edi + 4] */ 16767 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006573: cmp ecx, dword ptr [esi + 4] */ 16768 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16769 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16770 _flag_k = FK_CMP; 16771 if (CMP_NE(_flag_a, _flag_b)) goto L_3900657D; /* 0x39006576: jne 0x3900657d */ 16772 L_39006578: 16773 MEM32(esi + 0x4) = edx; /* 0x39006578: mov dword ptr [esi + 4], edx */ 16774 goto L_3900658B; /* 0x3900657B: jmp 0x3900658b */ 16775 L_3900657D: 16776 esi = MEM32(ecx + 0x4); /* 0x3900657D: mov esi, dword ptr [ecx + 4] */ 16777 /* cmp ecx, MEM32(esi) */ /* 0x39006580: cmp ecx, dword ptr [esi] */ 16778 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 16779 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16780 _flag_k = FK_CMP; 16781 if (CMP_NE(_flag_a, _flag_b)) goto L_39006588; /* 0x39006582: jne 0x39006588 */ 16782 L_39006584: 16783 MEM32(esi) = edx; /* 0x39006584: mov dword ptr [esi], edx */ 16784 goto L_3900658B; /* 0x39006586: jmp 0x3900658b */ 16785 L_39006588: 16786 MEM32(esi + 0x8) = edx; /* 0x39006588: mov dword ptr [esi + 8], edx */ 16787 L_3900658B: 16788 MEM32(edx) = ecx; /* 0x3900658B: mov dword ptr [edx], ecx */ 16789 MEM32(ecx + 0x4) = edx; /* 0x3900658D: mov dword ptr [ecx + 4], edx */ 16790 ecx = MEM32(eax + 0x4); /* 0x39006590: mov ecx, dword ptr [eax + 4] */ 16791 ecx = MEM32(ecx); /* 0x39006593: mov ecx, dword ptr [ecx] */ 16792 L_39006595: 16793 edx = MEM32(eax + 0x4); /* 0x39006595: mov edx, dword ptr [eax + 4] */ 16794 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x39006598: mov dl, byte ptr [edx + 0x38] */ 16795 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x3900659B: mov byte ptr [ecx + 0x38], dl */ 16796 edx = MEM32(eax + 0x4); /* 0x3900659E: mov edx, dword ptr [eax + 4] */ 16797 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065A1: mov byte ptr [edx + 0x38], bl */ 16798 ecx = MEM32(ecx); /* 0x390065A4: mov ecx, dword ptr [ecx] */ 16799 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065A6: mov byte ptr [ecx + 0x38], bl */ 16800 ecx = MEM32(eax + 0x4); /* 0x390065A9: mov ecx, dword ptr [eax + 4] */ 16801 edx = MEM32(ecx); /* 0x390065AC: mov edx, dword ptr [ecx] */ 16802 esi = MEM32(edx + 0x8); /* 0x390065AE: mov esi, dword ptr [edx + 8] */ 16803 MEM32(ecx) = esi; /* 0x390065B1: mov dword ptr [ecx], esi */ 16804 esi = MEM32(edx + 0x8); /* 0x390065B3: mov esi, dword ptr [edx + 8] */ 16805 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390065B6: cmp esi, dword ptr [edi + 8] */ 16806 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16807 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16808 _flag_k = FK_CMP; 16809 if (CMP_EQ(_flag_a, _flag_b)) goto L_390065BE; /* 0x390065B9: je 0x390065be */ 16810 L_390065BB: 16811 MEM32(esi + 0x4) = ecx; /* 0x390065BB: mov dword ptr [esi + 4], ecx */ 16812 L_390065BE: 16813 esi = MEM32(ecx + 0x4); /* 0x390065BE: mov esi, dword ptr [ecx + 4] */ 16814 MEM32(edx + 0x4) = esi; /* 0x390065C1: mov dword ptr [edx + 4], esi */ 16815 esi = MEM32(edi + 0x4); /* 0x390065C4: mov esi, dword ptr [edi + 4] */ 16816 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390065C7: cmp ecx, dword ptr [esi + 4] */ 16817 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16818 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16819 _flag_k = FK_CMP; 16820 if (CMP_NE(_flag_a, _flag_b)) goto L_390065D1; /* 0x390065CA: jne 0x390065d1 */ 16821 L_390065CC: 16822 MEM32(esi + 0x4) = edx; /* 0x390065CC: mov dword ptr [esi + 4], edx */ 16823 goto L_390065E0; /* 0x390065CF: jmp 0x390065e0 */ 16824 L_390065D1: 16825 esi = MEM32(ecx + 0x4); /* 0x390065D1: mov esi, dword ptr [ecx + 4] */ 16826 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x390065D4: cmp ecx, dword ptr [esi + 8] */ 16827 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 16828 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16829 _flag_k = FK_CMP; 16830 if (CMP_NE(_flag_a, _flag_b)) goto L_390065DE; /* 0x390065D7: jne 0x390065de */ 16831 L_390065D9: 16832 MEM32(esi + 0x8) = edx; /* 0x390065D9: mov dword ptr [esi + 8], edx */ 16833 goto L_390065E0; /* 0x390065DC: jmp 0x390065e0 */ 16834 L_390065DE: 16835 MEM32(esi) = edx; /* 0x390065DE: mov dword ptr [esi], edx */ 16836 L_390065E0: 16837 MEM32(edx + 0x8) = ecx; /* 0x390065E0: mov dword ptr [edx + 8], ecx */ 16838 L_390065E3: 16839 MEM32(ecx + 0x4) = edx; /* 0x390065E3: mov dword ptr [ecx + 4], edx */ 16840 L_390065E6: 16841 esi = MEM32(ebp + (-0x4)); /* 0x390065E6: mov esi, dword ptr [ebp - 4] */ 16842 MEM8(eax + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065E9: mov byte ptr [eax + 0x38], bl */ 16843 ecx = esi + 0xC; /* 0x390065EC: lea ecx, [esi + 0xc] */ 16844 RECOMP_ICALL(0x390047D0u); /* 0x390065EF: call 0x390047d0 */ /* not lifted */ 16845 RECOMP_FLAGS_IN(); 16846 PUSH32(esp, esi); /* 0x390065F4: push esi */ 16847 RECOMP_ICALL(0x3900A0A0u); /* 0x390065F5: call 0x3900a0a0 */ /* not lifted */ 16848 RECOMP_FLAGS_IN(); 16849 eax = MEM32(edi + 0x10); /* 0x390065FA: mov eax, dword ptr [edi + 0x10] */ 16850 edx = MEM32(ebp + 0xC); /* 0x390065FD: mov edx, dword ptr [ebp + 0xc] */ 16851 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16852 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16853 esp = esp + 4; /* 0x39006600: add esp, 4 */ 16854 _flag_k = FK_ADD; 16855 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 16856 eax = eax - 1; /* 0x39006603: dec eax */ 16857 _flag_k = FK_DEC; 16858 MEM32(edi + 0x10) = eax; /* 0x39006604: mov dword ptr [edi + 0x10], eax */ 16859 eax = MEM32(ebp + 0x8); /* 0x39006607: mov eax, dword ptr [ebp + 8] */ 16860 edi = POP32_VAL(esp); /* 0x3900660A: pop edi */ 16861 esi = POP32_VAL(esp); /* 0x3900660B: pop esi */ 16862 MEM32(eax) = edx; /* 0x3900660C: mov dword ptr [eax], edx */ 16863 ebx = POP32_VAL(esp); /* 0x3900660E: pop ebx */ 16864 esp = ebp; /* 0x3900660F: mov esp, ebp */ 16865 ebp = POP32_VAL(esp); /* 0x39006611: pop ebp */ 16866 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x39006612: ret 8 */ 16867 RECOMP_REGS_OUT(); 16868 } 16869 16870 void sub_39006460(void) { 16871 int _fpu_cmp = 0; 16872 uint32_t _cf = 0; 16873 int _df = 1; 16874 uint32_t _flag_k = FK_NONE; 16875 uint32_t _flag_a = 0, _flag_b = 0; 16876 uint32_t _itail_tgt = 0; 16877 RECOMP_REGS_LOCALS 16878 RECOMP_ENTER(0x39006460u); 16879 16880 goto L_39006460; 16881 L_39006398: 16882 /* cmp MEM8(eax + 0x38), LO8(ebx) */ /* 0x39006398: cmp byte ptr [eax + 0x38], bl */ 16883 _flag_a = (uint32_t)(MEM8(eax + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16884 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16885 _flag_k = FK_NARROW(FK_CMP, 24); 16886 if (CMP_NE(_flag_a, _flag_b)) goto L_390065E6; /* 0x3900639B: jne 0x390065e6 */ 16887 L_390063A1: 16888 edx = MEM32(eax + 0x4); /* 0x390063A1: mov edx, dword ptr [eax + 4] */ 16889 ecx = MEM32(edx); /* 0x390063A4: mov ecx, dword ptr [edx] */ 16890 /* cmp eax, ecx */ /* 0x390063A6: cmp eax, ecx */ 16891 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 16892 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16893 _flag_k = FK_CMP; 16894 if (CMP_NE(_flag_a, _flag_b)) goto L_39006418; /* 0x390063A8: jne 0x39006418 */ 16895 L_390063AA: 16896 ecx = MEM32(edx + 0x8); /* 0x390063AA: mov ecx, dword ptr [edx + 8] */ 16897 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x390063AD: mov dl, byte ptr [ecx + 0x38] */ 16898 /* test LO8(edx), LO8(edx) */ /* 0x390063B0: test dl, dl */ 16899 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 16900 _cf = 0; 16901 _flag_k = FK_NARROW(FK_TEST, 24); 16902 if (TEST_NZ(_flag_a, _flag_b)) goto L_390063FF; /* 0x390063B2: jne 0x390063ff */ 16903 L_390063B4: 16904 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390063B4: mov byte ptr [ecx + 0x38], bl */ 16905 edx = MEM32(eax + 0x4); /* 0x390063B7: mov edx, dword ptr [eax + 4] */ 16906 MEM8(edx + 0x38) = (uint8_t)(0); /* 0x390063BA: mov byte ptr [edx + 0x38], 0 */ 16907 ecx = MEM32(eax + 0x4); /* 0x390063BE: mov ecx, dword ptr [eax + 4] */ 16908 edx = MEM32(ecx + 0x8); /* 0x390063C1: mov edx, dword ptr [ecx + 8] */ 16909 esi = MEM32(edx); /* 0x390063C4: mov esi, dword ptr [edx] */ 16910 MEM32(ecx + 0x8) = esi; /* 0x390063C6: mov dword ptr [ecx + 8], esi */ 16911 esi = MEM32(edx); /* 0x390063C9: mov esi, dword ptr [edx] */ 16912 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390063CB: cmp esi, dword ptr [edi + 8] */ 16913 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16914 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16915 _flag_k = FK_CMP; 16916 if (CMP_EQ(_flag_a, _flag_b)) goto L_390063D3; /* 0x390063CE: je 0x390063d3 */ 16917 L_390063D0: 16918 MEM32(esi + 0x4) = ecx; /* 0x390063D0: mov dword ptr [esi + 4], ecx */ 16919 L_390063D3: 16920 esi = MEM32(ecx + 0x4); /* 0x390063D3: mov esi, dword ptr [ecx + 4] */ 16921 MEM32(edx + 0x4) = esi; /* 0x390063D6: mov dword ptr [edx + 4], esi */ 16922 esi = MEM32(edi + 0x4); /* 0x390063D9: mov esi, dword ptr [edi + 4] */ 16923 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390063DC: cmp ecx, dword ptr [esi + 4] */ 16924 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16925 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16926 _flag_k = FK_CMP; 16927 if (CMP_NE(_flag_a, _flag_b)) goto L_390063E6; /* 0x390063DF: jne 0x390063e6 */ 16928 L_390063E1: 16929 MEM32(esi + 0x4) = edx; /* 0x390063E1: mov dword ptr [esi + 4], edx */ 16930 goto L_390063F4; /* 0x390063E4: jmp 0x390063f4 */ 16931 L_390063E6: 16932 esi = MEM32(ecx + 0x4); /* 0x390063E6: mov esi, dword ptr [ecx + 4] */ 16933 /* cmp ecx, MEM32(esi) */ /* 0x390063E9: cmp ecx, dword ptr [esi] */ 16934 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 16935 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16936 _flag_k = FK_CMP; 16937 if (CMP_NE(_flag_a, _flag_b)) goto L_390063F1; /* 0x390063EB: jne 0x390063f1 */ 16938 L_390063ED: 16939 MEM32(esi) = edx; /* 0x390063ED: mov dword ptr [esi], edx */ 16940 goto L_390063F4; /* 0x390063EF: jmp 0x390063f4 */ 16941 L_390063F1: 16942 MEM32(esi + 0x8) = edx; /* 0x390063F1: mov dword ptr [esi + 8], edx */ 16943 L_390063F4: 16944 MEM32(edx) = ecx; /* 0x390063F4: mov dword ptr [edx], ecx */ 16945 MEM32(ecx + 0x4) = edx; /* 0x390063F6: mov dword ptr [ecx + 4], edx */ 16946 ecx = MEM32(eax + 0x4); /* 0x390063F9: mov ecx, dword ptr [eax + 4] */ 16947 ecx = MEM32(ecx + 0x8); /* 0x390063FC: mov ecx, dword ptr [ecx + 8] */ 16948 L_390063FF: 16949 edx = MEM32(ecx); /* 0x390063FF: mov edx, dword ptr [ecx] */ 16950 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x39006401: cmp byte ptr [edx + 0x38], bl */ 16951 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16952 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16953 _flag_k = FK_NARROW(FK_CMP, 24); 16954 if (CMP_NE(_flag_a, _flag_b)) goto L_3900649A; /* 0x39006404: jne 0x3900649a */ 16955 L_3900640A: 16956 edx = MEM32(ecx + 0x8); /* 0x3900640A: mov edx, dword ptr [ecx + 8] */ 16957 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x3900640D: cmp byte ptr [edx + 0x38], bl */ 16958 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 16959 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16960 _flag_k = FK_NARROW(FK_CMP, 24); 16961 if (CMP_NE(_flag_a, _flag_b)) goto L_3900649A; /* 0x39006410: jne 0x3900649a */ 16962 L_39006416: 16963 goto L_39006482; /* 0x39006416: jmp 0x39006482 */ 16964 L_39006418: 16965 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x39006418: mov dl, byte ptr [ecx + 0x38] */ 16966 /* test LO8(edx), LO8(edx) */ /* 0x3900641B: test dl, dl */ 16967 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 16968 _cf = 0; 16969 _flag_k = FK_NARROW(FK_TEST, 24); 16970 if (TEST_NZ(_flag_a, _flag_b)) goto L_3900646B; /* 0x3900641D: jne 0x3900646b */ 16971 L_3900641F: 16972 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x3900641F: mov byte ptr [ecx + 0x38], bl */ 16973 ecx = MEM32(eax + 0x4); /* 0x39006422: mov ecx, dword ptr [eax + 4] */ 16974 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x39006425: mov byte ptr [ecx + 0x38], 0 */ 16975 ecx = MEM32(eax + 0x4); /* 0x39006429: mov ecx, dword ptr [eax + 4] */ 16976 edx = MEM32(ecx); /* 0x3900642C: mov edx, dword ptr [ecx] */ 16977 esi = MEM32(edx + 0x8); /* 0x3900642E: mov esi, dword ptr [edx + 8] */ 16978 MEM32(ecx) = esi; /* 0x39006431: mov dword ptr [ecx], esi */ 16979 esi = MEM32(edx + 0x8); /* 0x39006433: mov esi, dword ptr [edx + 8] */ 16980 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006436: cmp esi, dword ptr [edi + 8] */ 16981 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 16982 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16983 _flag_k = FK_CMP; 16984 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900643E; /* 0x39006439: je 0x3900643e */ 16985 L_3900643B: 16986 MEM32(esi + 0x4) = ecx; /* 0x3900643B: mov dword ptr [esi + 4], ecx */ 16987 L_3900643E: 16988 esi = MEM32(ecx + 0x4); /* 0x3900643E: mov esi, dword ptr [ecx + 4] */ 16989 MEM32(edx + 0x4) = esi; /* 0x39006441: mov dword ptr [edx + 4], esi */ 16990 esi = MEM32(edi + 0x4); /* 0x39006444: mov esi, dword ptr [edi + 4] */ 16991 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006447: cmp ecx, dword ptr [esi + 4] */ 16992 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 16993 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16994 _flag_k = FK_CMP; 16995 if (CMP_NE(_flag_a, _flag_b)) goto L_39006451; /* 0x3900644A: jne 0x39006451 */ 16996 L_3900644C: 16997 MEM32(esi + 0x4) = edx; /* 0x3900644C: mov dword ptr [esi + 4], edx */ 16998 goto L_39006460; /* 0x3900644F: jmp 0x39006460 */ 16999 L_39006451: 17000 esi = MEM32(ecx + 0x4); /* 0x39006451: mov esi, dword ptr [ecx + 4] */ 17001 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39006454: cmp ecx, dword ptr [esi + 8] */ 17002 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 17003 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17004 _flag_k = FK_CMP; 17005 if (CMP_NE(_flag_a, _flag_b)) goto L_3900645E; /* 0x39006457: jne 0x3900645e */ 17006 L_39006459: 17007 MEM32(esi + 0x8) = edx; /* 0x39006459: mov dword ptr [esi + 8], edx */ 17008 goto L_39006460; /* 0x3900645C: jmp 0x39006460 */ 17009 L_3900645E: 17010 MEM32(esi) = edx; /* 0x3900645E: mov dword ptr [esi], edx */ 17011 L_39006460: 17012 MEM32(edx + 0x8) = ecx; /* 0x39006460: mov dword ptr [edx + 8], ecx */ 17013 MEM32(ecx + 0x4) = edx; /* 0x39006463: mov dword ptr [ecx + 4], edx */ 17014 edx = MEM32(eax + 0x4); /* 0x39006466: mov edx, dword ptr [eax + 4] */ 17015 ecx = MEM32(edx); /* 0x39006469: mov ecx, dword ptr [edx] */ 17016 L_3900646B: 17017 edx = MEM32(ecx + 0x8); /* 0x3900646B: mov edx, dword ptr [ecx + 8] */ 17018 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x3900646E: cmp byte ptr [edx + 0x38], bl */ 17019 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17020 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17021 _flag_k = FK_NARROW(FK_CMP, 24); 17022 if (CMP_NE(_flag_a, _flag_b)) goto L_39006547; /* 0x39006471: jne 0x39006547 */ 17023 L_39006477: 17024 edx = MEM32(ecx); /* 0x39006477: mov edx, dword ptr [ecx] */ 17025 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x39006479: cmp byte ptr [edx + 0x38], bl */ 17026 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17027 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17028 _flag_k = FK_NARROW(FK_CMP, 24); 17029 if (CMP_NE(_flag_a, _flag_b)) goto L_39006547; /* 0x3900647C: jne 0x39006547 */ 17030 L_39006482: 17031 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x39006482: mov byte ptr [ecx + 0x38], 0 */ 17032 ecx = MEM32(edi + 0x4); /* 0x39006486: mov ecx, dword ptr [edi + 4] */ 17033 eax = MEM32(eax + 0x4); /* 0x39006489: mov eax, dword ptr [eax + 4] */ 17034 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900648C: cmp eax, dword ptr [ecx + 4] */ 17035 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 17036 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17037 _flag_k = FK_CMP; 17038 RECOMP_BACKEDGE(); 17039 if (CMP_NE(_flag_a, _flag_b)) goto L_39006398; /* 0x3900648F: jne 0x39006398 */ 17040 L_39006495: 17041 goto L_390065E6; /* 0x39006495: jmp 0x390065e6 */ 17042 L_3900649A: 17043 edx = MEM32(ecx + 0x8); /* 0x3900649A: mov edx, dword ptr [ecx + 8] */ 17044 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x3900649D: cmp byte ptr [edx + 0x38], bl */ 17045 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17046 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17047 _flag_k = FK_NARROW(FK_CMP, 24); 17048 if (CMP_NE(_flag_a, _flag_b)) goto L_390064EB; /* 0x390064A0: jne 0x390064eb */ 17049 L_390064A2: 17050 edx = MEM32(ecx); /* 0x390064A2: mov edx, dword ptr [ecx] */ 17051 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390064A4: mov byte ptr [edx + 0x38], bl */ 17052 edx = MEM32(ecx); /* 0x390064A7: mov edx, dword ptr [ecx] */ 17053 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x390064A9: mov byte ptr [ecx + 0x38], 0 */ 17054 esi = MEM32(edx + 0x8); /* 0x390064AD: mov esi, dword ptr [edx + 8] */ 17055 MEM32(ecx) = esi; /* 0x390064B0: mov dword ptr [ecx], esi */ 17056 esi = MEM32(edx + 0x8); /* 0x390064B2: mov esi, dword ptr [edx + 8] */ 17057 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390064B5: cmp esi, dword ptr [edi + 8] */ 17058 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17059 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17060 _flag_k = FK_CMP; 17061 if (CMP_EQ(_flag_a, _flag_b)) goto L_390064BD; /* 0x390064B8: je 0x390064bd */ 17062 L_390064BA: 17063 MEM32(esi + 0x4) = ecx; /* 0x390064BA: mov dword ptr [esi + 4], ecx */ 17064 L_390064BD: 17065 esi = MEM32(ecx + 0x4); /* 0x390064BD: mov esi, dword ptr [ecx + 4] */ 17066 MEM32(edx + 0x4) = esi; /* 0x390064C0: mov dword ptr [edx + 4], esi */ 17067 esi = MEM32(edi + 0x4); /* 0x390064C3: mov esi, dword ptr [edi + 4] */ 17068 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390064C6: cmp ecx, dword ptr [esi + 4] */ 17069 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17070 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17071 _flag_k = FK_CMP; 17072 if (CMP_NE(_flag_a, _flag_b)) goto L_390064D0; /* 0x390064C9: jne 0x390064d0 */ 17073 L_390064CB: 17074 MEM32(esi + 0x4) = edx; /* 0x390064CB: mov dword ptr [esi + 4], edx */ 17075 goto L_390064DF; /* 0x390064CE: jmp 0x390064df */ 17076 L_390064D0: 17077 esi = MEM32(ecx + 0x4); /* 0x390064D0: mov esi, dword ptr [ecx + 4] */ 17078 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x390064D3: cmp ecx, dword ptr [esi + 8] */ 17079 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 17080 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17081 _flag_k = FK_CMP; 17082 if (CMP_NE(_flag_a, _flag_b)) goto L_390064DD; /* 0x390064D6: jne 0x390064dd */ 17083 L_390064D8: 17084 MEM32(esi + 0x8) = edx; /* 0x390064D8: mov dword ptr [esi + 8], edx */ 17085 goto L_390064DF; /* 0x390064DB: jmp 0x390064df */ 17086 L_390064DD: 17087 MEM32(esi) = edx; /* 0x390064DD: mov dword ptr [esi], edx */ 17088 L_390064DF: 17089 MEM32(edx + 0x8) = ecx; /* 0x390064DF: mov dword ptr [edx + 8], ecx */ 17090 MEM32(ecx + 0x4) = edx; /* 0x390064E2: mov dword ptr [ecx + 4], edx */ 17091 ecx = MEM32(eax + 0x4); /* 0x390064E5: mov ecx, dword ptr [eax + 4] */ 17092 ecx = MEM32(ecx + 0x8); /* 0x390064E8: mov ecx, dword ptr [ecx + 8] */ 17093 L_390064EB: 17094 edx = MEM32(eax + 0x4); /* 0x390064EB: mov edx, dword ptr [eax + 4] */ 17095 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x390064EE: mov dl, byte ptr [edx + 0x38] */ 17096 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x390064F1: mov byte ptr [ecx + 0x38], dl */ 17097 edx = MEM32(eax + 0x4); /* 0x390064F4: mov edx, dword ptr [eax + 4] */ 17098 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390064F7: mov byte ptr [edx + 0x38], bl */ 17099 ecx = MEM32(ecx + 0x8); /* 0x390064FA: mov ecx, dword ptr [ecx + 8] */ 17100 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390064FD: mov byte ptr [ecx + 0x38], bl */ 17101 ecx = MEM32(eax + 0x4); /* 0x39006500: mov ecx, dword ptr [eax + 4] */ 17102 edx = MEM32(ecx + 0x8); /* 0x39006503: mov edx, dword ptr [ecx + 8] */ 17103 esi = MEM32(edx); /* 0x39006506: mov esi, dword ptr [edx] */ 17104 MEM32(ecx + 0x8) = esi; /* 0x39006508: mov dword ptr [ecx + 8], esi */ 17105 esi = MEM32(edx); /* 0x3900650B: mov esi, dword ptr [edx] */ 17106 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3900650D: cmp esi, dword ptr [edi + 8] */ 17107 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17108 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17109 _flag_k = FK_CMP; 17110 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006515; /* 0x39006510: je 0x39006515 */ 17111 L_39006512: 17112 MEM32(esi + 0x4) = ecx; /* 0x39006512: mov dword ptr [esi + 4], ecx */ 17113 L_39006515: 17114 esi = MEM32(ecx + 0x4); /* 0x39006515: mov esi, dword ptr [ecx + 4] */ 17115 MEM32(edx + 0x4) = esi; /* 0x39006518: mov dword ptr [edx + 4], esi */ 17116 esi = MEM32(edi + 0x4); /* 0x3900651B: mov esi, dword ptr [edi + 4] */ 17117 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x3900651E: cmp ecx, dword ptr [esi + 4] */ 17118 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17119 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17120 _flag_k = FK_CMP; 17121 if (CMP_NE(_flag_a, _flag_b)) goto L_3900652D; /* 0x39006521: jne 0x3900652d */ 17122 L_39006523: 17123 MEM32(esi + 0x4) = edx; /* 0x39006523: mov dword ptr [esi + 4], edx */ 17124 MEM32(edx) = ecx; /* 0x39006526: mov dword ptr [edx], ecx */ 17125 goto L_390065E3; /* 0x39006528: jmp 0x390065e3 */ 17126 L_3900652D: 17127 esi = MEM32(ecx + 0x4); /* 0x3900652D: mov esi, dword ptr [ecx + 4] */ 17128 /* cmp ecx, MEM32(esi) */ /* 0x39006530: cmp ecx, dword ptr [esi] */ 17129 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 17130 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17131 _flag_k = FK_CMP; 17132 if (CMP_NE(_flag_a, _flag_b)) goto L_3900653D; /* 0x39006532: jne 0x3900653d */ 17133 L_39006534: 17134 MEM32(esi) = edx; /* 0x39006534: mov dword ptr [esi], edx */ 17135 MEM32(edx) = ecx; /* 0x39006536: mov dword ptr [edx], ecx */ 17136 goto L_390065E3; /* 0x39006538: jmp 0x390065e3 */ 17137 L_3900653D: 17138 MEM32(esi + 0x8) = edx; /* 0x3900653D: mov dword ptr [esi + 8], edx */ 17139 MEM32(edx) = ecx; /* 0x39006540: mov dword ptr [edx], ecx */ 17140 goto L_390065E3; /* 0x39006542: jmp 0x390065e3 */ 17141 L_39006547: 17142 edx = MEM32(ecx); /* 0x39006547: mov edx, dword ptr [ecx] */ 17143 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x39006549: cmp byte ptr [edx + 0x38], bl */ 17144 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17145 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17146 _flag_k = FK_NARROW(FK_CMP, 24); 17147 if (CMP_NE(_flag_a, _flag_b)) goto L_39006595; /* 0x3900654C: jne 0x39006595 */ 17148 L_3900654E: 17149 edx = MEM32(ecx + 0x8); /* 0x3900654E: mov edx, dword ptr [ecx + 8] */ 17150 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x39006551: mov byte ptr [edx + 0x38], bl */ 17151 edx = MEM32(ecx + 0x8); /* 0x39006554: mov edx, dword ptr [ecx + 8] */ 17152 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x39006557: mov byte ptr [ecx + 0x38], 0 */ 17153 esi = MEM32(edx); /* 0x3900655B: mov esi, dword ptr [edx] */ 17154 MEM32(ecx + 0x8) = esi; /* 0x3900655D: mov dword ptr [ecx + 8], esi */ 17155 esi = MEM32(edx); /* 0x39006560: mov esi, dword ptr [edx] */ 17156 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006562: cmp esi, dword ptr [edi + 8] */ 17157 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17158 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17159 _flag_k = FK_CMP; 17160 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900656A; /* 0x39006565: je 0x3900656a */ 17161 L_39006567: 17162 MEM32(esi + 0x4) = ecx; /* 0x39006567: mov dword ptr [esi + 4], ecx */ 17163 L_3900656A: 17164 esi = MEM32(ecx + 0x4); /* 0x3900656A: mov esi, dword ptr [ecx + 4] */ 17165 MEM32(edx + 0x4) = esi; /* 0x3900656D: mov dword ptr [edx + 4], esi */ 17166 esi = MEM32(edi + 0x4); /* 0x39006570: mov esi, dword ptr [edi + 4] */ 17167 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006573: cmp ecx, dword ptr [esi + 4] */ 17168 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17169 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17170 _flag_k = FK_CMP; 17171 if (CMP_NE(_flag_a, _flag_b)) goto L_3900657D; /* 0x39006576: jne 0x3900657d */ 17172 L_39006578: 17173 MEM32(esi + 0x4) = edx; /* 0x39006578: mov dword ptr [esi + 4], edx */ 17174 goto L_3900658B; /* 0x3900657B: jmp 0x3900658b */ 17175 L_3900657D: 17176 esi = MEM32(ecx + 0x4); /* 0x3900657D: mov esi, dword ptr [ecx + 4] */ 17177 /* cmp ecx, MEM32(esi) */ /* 0x39006580: cmp ecx, dword ptr [esi] */ 17178 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 17179 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17180 _flag_k = FK_CMP; 17181 if (CMP_NE(_flag_a, _flag_b)) goto L_39006588; /* 0x39006582: jne 0x39006588 */ 17182 L_39006584: 17183 MEM32(esi) = edx; /* 0x39006584: mov dword ptr [esi], edx */ 17184 goto L_3900658B; /* 0x39006586: jmp 0x3900658b */ 17185 L_39006588: 17186 MEM32(esi + 0x8) = edx; /* 0x39006588: mov dword ptr [esi + 8], edx */ 17187 L_3900658B: 17188 MEM32(edx) = ecx; /* 0x3900658B: mov dword ptr [edx], ecx */ 17189 MEM32(ecx + 0x4) = edx; /* 0x3900658D: mov dword ptr [ecx + 4], edx */ 17190 ecx = MEM32(eax + 0x4); /* 0x39006590: mov ecx, dword ptr [eax + 4] */ 17191 ecx = MEM32(ecx); /* 0x39006593: mov ecx, dword ptr [ecx] */ 17192 L_39006595: 17193 edx = MEM32(eax + 0x4); /* 0x39006595: mov edx, dword ptr [eax + 4] */ 17194 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x39006598: mov dl, byte ptr [edx + 0x38] */ 17195 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x3900659B: mov byte ptr [ecx + 0x38], dl */ 17196 edx = MEM32(eax + 0x4); /* 0x3900659E: mov edx, dword ptr [eax + 4] */ 17197 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065A1: mov byte ptr [edx + 0x38], bl */ 17198 ecx = MEM32(ecx); /* 0x390065A4: mov ecx, dword ptr [ecx] */ 17199 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065A6: mov byte ptr [ecx + 0x38], bl */ 17200 ecx = MEM32(eax + 0x4); /* 0x390065A9: mov ecx, dword ptr [eax + 4] */ 17201 edx = MEM32(ecx); /* 0x390065AC: mov edx, dword ptr [ecx] */ 17202 esi = MEM32(edx + 0x8); /* 0x390065AE: mov esi, dword ptr [edx + 8] */ 17203 MEM32(ecx) = esi; /* 0x390065B1: mov dword ptr [ecx], esi */ 17204 esi = MEM32(edx + 0x8); /* 0x390065B3: mov esi, dword ptr [edx + 8] */ 17205 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390065B6: cmp esi, dword ptr [edi + 8] */ 17206 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17207 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17208 _flag_k = FK_CMP; 17209 if (CMP_EQ(_flag_a, _flag_b)) goto L_390065BE; /* 0x390065B9: je 0x390065be */ 17210 L_390065BB: 17211 MEM32(esi + 0x4) = ecx; /* 0x390065BB: mov dword ptr [esi + 4], ecx */ 17212 L_390065BE: 17213 esi = MEM32(ecx + 0x4); /* 0x390065BE: mov esi, dword ptr [ecx + 4] */ 17214 MEM32(edx + 0x4) = esi; /* 0x390065C1: mov dword ptr [edx + 4], esi */ 17215 esi = MEM32(edi + 0x4); /* 0x390065C4: mov esi, dword ptr [edi + 4] */ 17216 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390065C7: cmp ecx, dword ptr [esi + 4] */ 17217 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17218 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17219 _flag_k = FK_CMP; 17220 if (CMP_NE(_flag_a, _flag_b)) goto L_390065D1; /* 0x390065CA: jne 0x390065d1 */ 17221 L_390065CC: 17222 MEM32(esi + 0x4) = edx; /* 0x390065CC: mov dword ptr [esi + 4], edx */ 17223 goto L_390065E0; /* 0x390065CF: jmp 0x390065e0 */ 17224 L_390065D1: 17225 esi = MEM32(ecx + 0x4); /* 0x390065D1: mov esi, dword ptr [ecx + 4] */ 17226 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x390065D4: cmp ecx, dword ptr [esi + 8] */ 17227 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 17228 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17229 _flag_k = FK_CMP; 17230 if (CMP_NE(_flag_a, _flag_b)) goto L_390065DE; /* 0x390065D7: jne 0x390065de */ 17231 L_390065D9: 17232 MEM32(esi + 0x8) = edx; /* 0x390065D9: mov dword ptr [esi + 8], edx */ 17233 goto L_390065E0; /* 0x390065DC: jmp 0x390065e0 */ 17234 L_390065DE: 17235 MEM32(esi) = edx; /* 0x390065DE: mov dword ptr [esi], edx */ 17236 L_390065E0: 17237 MEM32(edx + 0x8) = ecx; /* 0x390065E0: mov dword ptr [edx + 8], ecx */ 17238 L_390065E3: 17239 MEM32(ecx + 0x4) = edx; /* 0x390065E3: mov dword ptr [ecx + 4], edx */ 17240 L_390065E6: 17241 esi = MEM32(ebp + (-0x4)); /* 0x390065E6: mov esi, dword ptr [ebp - 4] */ 17242 MEM8(eax + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065E9: mov byte ptr [eax + 0x38], bl */ 17243 ecx = esi + 0xC; /* 0x390065EC: lea ecx, [esi + 0xc] */ 17244 RECOMP_ICALL(0x390047D0u); /* 0x390065EF: call 0x390047d0 */ /* not lifted */ 17245 RECOMP_FLAGS_IN(); 17246 PUSH32(esp, esi); /* 0x390065F4: push esi */ 17247 RECOMP_ICALL(0x3900A0A0u); /* 0x390065F5: call 0x3900a0a0 */ /* not lifted */ 17248 RECOMP_FLAGS_IN(); 17249 eax = MEM32(edi + 0x10); /* 0x390065FA: mov eax, dword ptr [edi + 0x10] */ 17250 edx = MEM32(ebp + 0xC); /* 0x390065FD: mov edx, dword ptr [ebp + 0xc] */ 17251 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17252 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17253 esp = esp + 4; /* 0x39006600: add esp, 4 */ 17254 _flag_k = FK_ADD; 17255 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 17256 eax = eax - 1; /* 0x39006603: dec eax */ 17257 _flag_k = FK_DEC; 17258 MEM32(edi + 0x10) = eax; /* 0x39006604: mov dword ptr [edi + 0x10], eax */ 17259 eax = MEM32(ebp + 0x8); /* 0x39006607: mov eax, dword ptr [ebp + 8] */ 17260 edi = POP32_VAL(esp); /* 0x3900660A: pop edi */ 17261 esi = POP32_VAL(esp); /* 0x3900660B: pop esi */ 17262 MEM32(eax) = edx; /* 0x3900660C: mov dword ptr [eax], edx */ 17263 ebx = POP32_VAL(esp); /* 0x3900660E: pop ebx */ 17264 esp = ebp; /* 0x3900660F: mov esp, ebp */ 17265 ebp = POP32_VAL(esp); /* 0x39006611: pop ebp */ 17266 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x39006612: ret 8 */ 17267 RECOMP_REGS_OUT(); 17268 } 17269 17270 void sub_3900646B(void) { 17271 int _fpu_cmp = 0; 17272 uint32_t _cf = 0; 17273 int _df = 1; 17274 uint32_t _flag_k = FK_NONE; 17275 uint32_t _flag_a = 0, _flag_b = 0; 17276 uint32_t _itail_tgt = 0; 17277 RECOMP_REGS_LOCALS 17278 RECOMP_ENTER(0x3900646Bu); 17279 17280 goto L_3900646B; 17281 L_39006398: 17282 /* cmp MEM8(eax + 0x38), LO8(ebx) */ /* 0x39006398: cmp byte ptr [eax + 0x38], bl */ 17283 _flag_a = (uint32_t)(MEM8(eax + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17284 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17285 _flag_k = FK_NARROW(FK_CMP, 24); 17286 if (CMP_NE(_flag_a, _flag_b)) goto L_390065E6; /* 0x3900639B: jne 0x390065e6 */ 17287 L_390063A1: 17288 edx = MEM32(eax + 0x4); /* 0x390063A1: mov edx, dword ptr [eax + 4] */ 17289 ecx = MEM32(edx); /* 0x390063A4: mov ecx, dword ptr [edx] */ 17290 /* cmp eax, ecx */ /* 0x390063A6: cmp eax, ecx */ 17291 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 17292 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17293 _flag_k = FK_CMP; 17294 if (CMP_NE(_flag_a, _flag_b)) goto L_39006418; /* 0x390063A8: jne 0x39006418 */ 17295 L_390063AA: 17296 ecx = MEM32(edx + 0x8); /* 0x390063AA: mov ecx, dword ptr [edx + 8] */ 17297 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x390063AD: mov dl, byte ptr [ecx + 0x38] */ 17298 /* test LO8(edx), LO8(edx) */ /* 0x390063B0: test dl, dl */ 17299 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 17300 _cf = 0; 17301 _flag_k = FK_NARROW(FK_TEST, 24); 17302 if (TEST_NZ(_flag_a, _flag_b)) goto L_390063FF; /* 0x390063B2: jne 0x390063ff */ 17303 L_390063B4: 17304 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390063B4: mov byte ptr [ecx + 0x38], bl */ 17305 edx = MEM32(eax + 0x4); /* 0x390063B7: mov edx, dword ptr [eax + 4] */ 17306 MEM8(edx + 0x38) = (uint8_t)(0); /* 0x390063BA: mov byte ptr [edx + 0x38], 0 */ 17307 ecx = MEM32(eax + 0x4); /* 0x390063BE: mov ecx, dword ptr [eax + 4] */ 17308 edx = MEM32(ecx + 0x8); /* 0x390063C1: mov edx, dword ptr [ecx + 8] */ 17309 esi = MEM32(edx); /* 0x390063C4: mov esi, dword ptr [edx] */ 17310 MEM32(ecx + 0x8) = esi; /* 0x390063C6: mov dword ptr [ecx + 8], esi */ 17311 esi = MEM32(edx); /* 0x390063C9: mov esi, dword ptr [edx] */ 17312 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390063CB: cmp esi, dword ptr [edi + 8] */ 17313 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17314 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17315 _flag_k = FK_CMP; 17316 if (CMP_EQ(_flag_a, _flag_b)) goto L_390063D3; /* 0x390063CE: je 0x390063d3 */ 17317 L_390063D0: 17318 MEM32(esi + 0x4) = ecx; /* 0x390063D0: mov dword ptr [esi + 4], ecx */ 17319 L_390063D3: 17320 esi = MEM32(ecx + 0x4); /* 0x390063D3: mov esi, dword ptr [ecx + 4] */ 17321 MEM32(edx + 0x4) = esi; /* 0x390063D6: mov dword ptr [edx + 4], esi */ 17322 esi = MEM32(edi + 0x4); /* 0x390063D9: mov esi, dword ptr [edi + 4] */ 17323 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390063DC: cmp ecx, dword ptr [esi + 4] */ 17324 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17325 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17326 _flag_k = FK_CMP; 17327 if (CMP_NE(_flag_a, _flag_b)) goto L_390063E6; /* 0x390063DF: jne 0x390063e6 */ 17328 L_390063E1: 17329 MEM32(esi + 0x4) = edx; /* 0x390063E1: mov dword ptr [esi + 4], edx */ 17330 goto L_390063F4; /* 0x390063E4: jmp 0x390063f4 */ 17331 L_390063E6: 17332 esi = MEM32(ecx + 0x4); /* 0x390063E6: mov esi, dword ptr [ecx + 4] */ 17333 /* cmp ecx, MEM32(esi) */ /* 0x390063E9: cmp ecx, dword ptr [esi] */ 17334 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 17335 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17336 _flag_k = FK_CMP; 17337 if (CMP_NE(_flag_a, _flag_b)) goto L_390063F1; /* 0x390063EB: jne 0x390063f1 */ 17338 L_390063ED: 17339 MEM32(esi) = edx; /* 0x390063ED: mov dword ptr [esi], edx */ 17340 goto L_390063F4; /* 0x390063EF: jmp 0x390063f4 */ 17341 L_390063F1: 17342 MEM32(esi + 0x8) = edx; /* 0x390063F1: mov dword ptr [esi + 8], edx */ 17343 L_390063F4: 17344 MEM32(edx) = ecx; /* 0x390063F4: mov dword ptr [edx], ecx */ 17345 MEM32(ecx + 0x4) = edx; /* 0x390063F6: mov dword ptr [ecx + 4], edx */ 17346 ecx = MEM32(eax + 0x4); /* 0x390063F9: mov ecx, dword ptr [eax + 4] */ 17347 ecx = MEM32(ecx + 0x8); /* 0x390063FC: mov ecx, dword ptr [ecx + 8] */ 17348 L_390063FF: 17349 edx = MEM32(ecx); /* 0x390063FF: mov edx, dword ptr [ecx] */ 17350 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x39006401: cmp byte ptr [edx + 0x38], bl */ 17351 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17352 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17353 _flag_k = FK_NARROW(FK_CMP, 24); 17354 if (CMP_NE(_flag_a, _flag_b)) goto L_3900649A; /* 0x39006404: jne 0x3900649a */ 17355 L_3900640A: 17356 edx = MEM32(ecx + 0x8); /* 0x3900640A: mov edx, dword ptr [ecx + 8] */ 17357 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x3900640D: cmp byte ptr [edx + 0x38], bl */ 17358 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17359 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17360 _flag_k = FK_NARROW(FK_CMP, 24); 17361 if (CMP_NE(_flag_a, _flag_b)) goto L_3900649A; /* 0x39006410: jne 0x3900649a */ 17362 L_39006416: 17363 goto L_39006482; /* 0x39006416: jmp 0x39006482 */ 17364 L_39006418: 17365 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x39006418: mov dl, byte ptr [ecx + 0x38] */ 17366 /* test LO8(edx), LO8(edx) */ /* 0x3900641B: test dl, dl */ 17367 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 17368 _cf = 0; 17369 _flag_k = FK_NARROW(FK_TEST, 24); 17370 if (TEST_NZ(_flag_a, _flag_b)) goto L_3900646B; /* 0x3900641D: jne 0x3900646b */ 17371 L_3900641F: 17372 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x3900641F: mov byte ptr [ecx + 0x38], bl */ 17373 ecx = MEM32(eax + 0x4); /* 0x39006422: mov ecx, dword ptr [eax + 4] */ 17374 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x39006425: mov byte ptr [ecx + 0x38], 0 */ 17375 ecx = MEM32(eax + 0x4); /* 0x39006429: mov ecx, dword ptr [eax + 4] */ 17376 edx = MEM32(ecx); /* 0x3900642C: mov edx, dword ptr [ecx] */ 17377 esi = MEM32(edx + 0x8); /* 0x3900642E: mov esi, dword ptr [edx + 8] */ 17378 MEM32(ecx) = esi; /* 0x39006431: mov dword ptr [ecx], esi */ 17379 esi = MEM32(edx + 0x8); /* 0x39006433: mov esi, dword ptr [edx + 8] */ 17380 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006436: cmp esi, dword ptr [edi + 8] */ 17381 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17382 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17383 _flag_k = FK_CMP; 17384 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900643E; /* 0x39006439: je 0x3900643e */ 17385 L_3900643B: 17386 MEM32(esi + 0x4) = ecx; /* 0x3900643B: mov dword ptr [esi + 4], ecx */ 17387 L_3900643E: 17388 esi = MEM32(ecx + 0x4); /* 0x3900643E: mov esi, dword ptr [ecx + 4] */ 17389 MEM32(edx + 0x4) = esi; /* 0x39006441: mov dword ptr [edx + 4], esi */ 17390 esi = MEM32(edi + 0x4); /* 0x39006444: mov esi, dword ptr [edi + 4] */ 17391 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006447: cmp ecx, dword ptr [esi + 4] */ 17392 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17393 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17394 _flag_k = FK_CMP; 17395 if (CMP_NE(_flag_a, _flag_b)) goto L_39006451; /* 0x3900644A: jne 0x39006451 */ 17396 L_3900644C: 17397 MEM32(esi + 0x4) = edx; /* 0x3900644C: mov dword ptr [esi + 4], edx */ 17398 goto L_39006460; /* 0x3900644F: jmp 0x39006460 */ 17399 L_39006451: 17400 esi = MEM32(ecx + 0x4); /* 0x39006451: mov esi, dword ptr [ecx + 4] */ 17401 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39006454: cmp ecx, dword ptr [esi + 8] */ 17402 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 17403 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17404 _flag_k = FK_CMP; 17405 if (CMP_NE(_flag_a, _flag_b)) goto L_3900645E; /* 0x39006457: jne 0x3900645e */ 17406 L_39006459: 17407 MEM32(esi + 0x8) = edx; /* 0x39006459: mov dword ptr [esi + 8], edx */ 17408 goto L_39006460; /* 0x3900645C: jmp 0x39006460 */ 17409 L_3900645E: 17410 MEM32(esi) = edx; /* 0x3900645E: mov dword ptr [esi], edx */ 17411 L_39006460: 17412 MEM32(edx + 0x8) = ecx; /* 0x39006460: mov dword ptr [edx + 8], ecx */ 17413 MEM32(ecx + 0x4) = edx; /* 0x39006463: mov dword ptr [ecx + 4], edx */ 17414 edx = MEM32(eax + 0x4); /* 0x39006466: mov edx, dword ptr [eax + 4] */ 17415 ecx = MEM32(edx); /* 0x39006469: mov ecx, dword ptr [edx] */ 17416 L_3900646B: 17417 edx = MEM32(ecx + 0x8); /* 0x3900646B: mov edx, dword ptr [ecx + 8] */ 17418 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x3900646E: cmp byte ptr [edx + 0x38], bl */ 17419 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17420 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17421 _flag_k = FK_NARROW(FK_CMP, 24); 17422 if (CMP_NE(_flag_a, _flag_b)) goto L_39006547; /* 0x39006471: jne 0x39006547 */ 17423 L_39006477: 17424 edx = MEM32(ecx); /* 0x39006477: mov edx, dword ptr [ecx] */ 17425 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x39006479: cmp byte ptr [edx + 0x38], bl */ 17426 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17427 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17428 _flag_k = FK_NARROW(FK_CMP, 24); 17429 if (CMP_NE(_flag_a, _flag_b)) goto L_39006547; /* 0x3900647C: jne 0x39006547 */ 17430 L_39006482: 17431 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x39006482: mov byte ptr [ecx + 0x38], 0 */ 17432 ecx = MEM32(edi + 0x4); /* 0x39006486: mov ecx, dword ptr [edi + 4] */ 17433 eax = MEM32(eax + 0x4); /* 0x39006489: mov eax, dword ptr [eax + 4] */ 17434 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900648C: cmp eax, dword ptr [ecx + 4] */ 17435 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 17436 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17437 _flag_k = FK_CMP; 17438 RECOMP_BACKEDGE(); 17439 if (CMP_NE(_flag_a, _flag_b)) goto L_39006398; /* 0x3900648F: jne 0x39006398 */ 17440 L_39006495: 17441 goto L_390065E6; /* 0x39006495: jmp 0x390065e6 */ 17442 L_3900649A: 17443 edx = MEM32(ecx + 0x8); /* 0x3900649A: mov edx, dword ptr [ecx + 8] */ 17444 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x3900649D: cmp byte ptr [edx + 0x38], bl */ 17445 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17446 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17447 _flag_k = FK_NARROW(FK_CMP, 24); 17448 if (CMP_NE(_flag_a, _flag_b)) goto L_390064EB; /* 0x390064A0: jne 0x390064eb */ 17449 L_390064A2: 17450 edx = MEM32(ecx); /* 0x390064A2: mov edx, dword ptr [ecx] */ 17451 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390064A4: mov byte ptr [edx + 0x38], bl */ 17452 edx = MEM32(ecx); /* 0x390064A7: mov edx, dword ptr [ecx] */ 17453 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x390064A9: mov byte ptr [ecx + 0x38], 0 */ 17454 esi = MEM32(edx + 0x8); /* 0x390064AD: mov esi, dword ptr [edx + 8] */ 17455 MEM32(ecx) = esi; /* 0x390064B0: mov dword ptr [ecx], esi */ 17456 esi = MEM32(edx + 0x8); /* 0x390064B2: mov esi, dword ptr [edx + 8] */ 17457 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390064B5: cmp esi, dword ptr [edi + 8] */ 17458 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17459 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17460 _flag_k = FK_CMP; 17461 if (CMP_EQ(_flag_a, _flag_b)) goto L_390064BD; /* 0x390064B8: je 0x390064bd */ 17462 L_390064BA: 17463 MEM32(esi + 0x4) = ecx; /* 0x390064BA: mov dword ptr [esi + 4], ecx */ 17464 L_390064BD: 17465 esi = MEM32(ecx + 0x4); /* 0x390064BD: mov esi, dword ptr [ecx + 4] */ 17466 MEM32(edx + 0x4) = esi; /* 0x390064C0: mov dword ptr [edx + 4], esi */ 17467 esi = MEM32(edi + 0x4); /* 0x390064C3: mov esi, dword ptr [edi + 4] */ 17468 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390064C6: cmp ecx, dword ptr [esi + 4] */ 17469 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17470 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17471 _flag_k = FK_CMP; 17472 if (CMP_NE(_flag_a, _flag_b)) goto L_390064D0; /* 0x390064C9: jne 0x390064d0 */ 17473 L_390064CB: 17474 MEM32(esi + 0x4) = edx; /* 0x390064CB: mov dword ptr [esi + 4], edx */ 17475 goto L_390064DF; /* 0x390064CE: jmp 0x390064df */ 17476 L_390064D0: 17477 esi = MEM32(ecx + 0x4); /* 0x390064D0: mov esi, dword ptr [ecx + 4] */ 17478 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x390064D3: cmp ecx, dword ptr [esi + 8] */ 17479 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 17480 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17481 _flag_k = FK_CMP; 17482 if (CMP_NE(_flag_a, _flag_b)) goto L_390064DD; /* 0x390064D6: jne 0x390064dd */ 17483 L_390064D8: 17484 MEM32(esi + 0x8) = edx; /* 0x390064D8: mov dword ptr [esi + 8], edx */ 17485 goto L_390064DF; /* 0x390064DB: jmp 0x390064df */ 17486 L_390064DD: 17487 MEM32(esi) = edx; /* 0x390064DD: mov dword ptr [esi], edx */ 17488 L_390064DF: 17489 MEM32(edx + 0x8) = ecx; /* 0x390064DF: mov dword ptr [edx + 8], ecx */ 17490 MEM32(ecx + 0x4) = edx; /* 0x390064E2: mov dword ptr [ecx + 4], edx */ 17491 ecx = MEM32(eax + 0x4); /* 0x390064E5: mov ecx, dword ptr [eax + 4] */ 17492 ecx = MEM32(ecx + 0x8); /* 0x390064E8: mov ecx, dword ptr [ecx + 8] */ 17493 L_390064EB: 17494 edx = MEM32(eax + 0x4); /* 0x390064EB: mov edx, dword ptr [eax + 4] */ 17495 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x390064EE: mov dl, byte ptr [edx + 0x38] */ 17496 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x390064F1: mov byte ptr [ecx + 0x38], dl */ 17497 edx = MEM32(eax + 0x4); /* 0x390064F4: mov edx, dword ptr [eax + 4] */ 17498 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390064F7: mov byte ptr [edx + 0x38], bl */ 17499 ecx = MEM32(ecx + 0x8); /* 0x390064FA: mov ecx, dword ptr [ecx + 8] */ 17500 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390064FD: mov byte ptr [ecx + 0x38], bl */ 17501 ecx = MEM32(eax + 0x4); /* 0x39006500: mov ecx, dword ptr [eax + 4] */ 17502 edx = MEM32(ecx + 0x8); /* 0x39006503: mov edx, dword ptr [ecx + 8] */ 17503 esi = MEM32(edx); /* 0x39006506: mov esi, dword ptr [edx] */ 17504 MEM32(ecx + 0x8) = esi; /* 0x39006508: mov dword ptr [ecx + 8], esi */ 17505 esi = MEM32(edx); /* 0x3900650B: mov esi, dword ptr [edx] */ 17506 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3900650D: cmp esi, dword ptr [edi + 8] */ 17507 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17508 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17509 _flag_k = FK_CMP; 17510 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006515; /* 0x39006510: je 0x39006515 */ 17511 L_39006512: 17512 MEM32(esi + 0x4) = ecx; /* 0x39006512: mov dword ptr [esi + 4], ecx */ 17513 L_39006515: 17514 esi = MEM32(ecx + 0x4); /* 0x39006515: mov esi, dword ptr [ecx + 4] */ 17515 MEM32(edx + 0x4) = esi; /* 0x39006518: mov dword ptr [edx + 4], esi */ 17516 esi = MEM32(edi + 0x4); /* 0x3900651B: mov esi, dword ptr [edi + 4] */ 17517 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x3900651E: cmp ecx, dword ptr [esi + 4] */ 17518 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17519 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17520 _flag_k = FK_CMP; 17521 if (CMP_NE(_flag_a, _flag_b)) goto L_3900652D; /* 0x39006521: jne 0x3900652d */ 17522 L_39006523: 17523 MEM32(esi + 0x4) = edx; /* 0x39006523: mov dword ptr [esi + 4], edx */ 17524 MEM32(edx) = ecx; /* 0x39006526: mov dword ptr [edx], ecx */ 17525 goto L_390065E3; /* 0x39006528: jmp 0x390065e3 */ 17526 L_3900652D: 17527 esi = MEM32(ecx + 0x4); /* 0x3900652D: mov esi, dword ptr [ecx + 4] */ 17528 /* cmp ecx, MEM32(esi) */ /* 0x39006530: cmp ecx, dword ptr [esi] */ 17529 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 17530 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17531 _flag_k = FK_CMP; 17532 if (CMP_NE(_flag_a, _flag_b)) goto L_3900653D; /* 0x39006532: jne 0x3900653d */ 17533 L_39006534: 17534 MEM32(esi) = edx; /* 0x39006534: mov dword ptr [esi], edx */ 17535 MEM32(edx) = ecx; /* 0x39006536: mov dword ptr [edx], ecx */ 17536 goto L_390065E3; /* 0x39006538: jmp 0x390065e3 */ 17537 L_3900653D: 17538 MEM32(esi + 0x8) = edx; /* 0x3900653D: mov dword ptr [esi + 8], edx */ 17539 MEM32(edx) = ecx; /* 0x39006540: mov dword ptr [edx], ecx */ 17540 goto L_390065E3; /* 0x39006542: jmp 0x390065e3 */ 17541 L_39006547: 17542 edx = MEM32(ecx); /* 0x39006547: mov edx, dword ptr [ecx] */ 17543 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x39006549: cmp byte ptr [edx + 0x38], bl */ 17544 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17545 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17546 _flag_k = FK_NARROW(FK_CMP, 24); 17547 if (CMP_NE(_flag_a, _flag_b)) goto L_39006595; /* 0x3900654C: jne 0x39006595 */ 17548 L_3900654E: 17549 edx = MEM32(ecx + 0x8); /* 0x3900654E: mov edx, dword ptr [ecx + 8] */ 17550 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x39006551: mov byte ptr [edx + 0x38], bl */ 17551 edx = MEM32(ecx + 0x8); /* 0x39006554: mov edx, dword ptr [ecx + 8] */ 17552 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x39006557: mov byte ptr [ecx + 0x38], 0 */ 17553 esi = MEM32(edx); /* 0x3900655B: mov esi, dword ptr [edx] */ 17554 MEM32(ecx + 0x8) = esi; /* 0x3900655D: mov dword ptr [ecx + 8], esi */ 17555 esi = MEM32(edx); /* 0x39006560: mov esi, dword ptr [edx] */ 17556 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006562: cmp esi, dword ptr [edi + 8] */ 17557 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17558 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17559 _flag_k = FK_CMP; 17560 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900656A; /* 0x39006565: je 0x3900656a */ 17561 L_39006567: 17562 MEM32(esi + 0x4) = ecx; /* 0x39006567: mov dword ptr [esi + 4], ecx */ 17563 L_3900656A: 17564 esi = MEM32(ecx + 0x4); /* 0x3900656A: mov esi, dword ptr [ecx + 4] */ 17565 MEM32(edx + 0x4) = esi; /* 0x3900656D: mov dword ptr [edx + 4], esi */ 17566 esi = MEM32(edi + 0x4); /* 0x39006570: mov esi, dword ptr [edi + 4] */ 17567 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006573: cmp ecx, dword ptr [esi + 4] */ 17568 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17569 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17570 _flag_k = FK_CMP; 17571 if (CMP_NE(_flag_a, _flag_b)) goto L_3900657D; /* 0x39006576: jne 0x3900657d */ 17572 L_39006578: 17573 MEM32(esi + 0x4) = edx; /* 0x39006578: mov dword ptr [esi + 4], edx */ 17574 goto L_3900658B; /* 0x3900657B: jmp 0x3900658b */ 17575 L_3900657D: 17576 esi = MEM32(ecx + 0x4); /* 0x3900657D: mov esi, dword ptr [ecx + 4] */ 17577 /* cmp ecx, MEM32(esi) */ /* 0x39006580: cmp ecx, dword ptr [esi] */ 17578 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 17579 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17580 _flag_k = FK_CMP; 17581 if (CMP_NE(_flag_a, _flag_b)) goto L_39006588; /* 0x39006582: jne 0x39006588 */ 17582 L_39006584: 17583 MEM32(esi) = edx; /* 0x39006584: mov dword ptr [esi], edx */ 17584 goto L_3900658B; /* 0x39006586: jmp 0x3900658b */ 17585 L_39006588: 17586 MEM32(esi + 0x8) = edx; /* 0x39006588: mov dword ptr [esi + 8], edx */ 17587 L_3900658B: 17588 MEM32(edx) = ecx; /* 0x3900658B: mov dword ptr [edx], ecx */ 17589 MEM32(ecx + 0x4) = edx; /* 0x3900658D: mov dword ptr [ecx + 4], edx */ 17590 ecx = MEM32(eax + 0x4); /* 0x39006590: mov ecx, dword ptr [eax + 4] */ 17591 ecx = MEM32(ecx); /* 0x39006593: mov ecx, dword ptr [ecx] */ 17592 L_39006595: 17593 edx = MEM32(eax + 0x4); /* 0x39006595: mov edx, dword ptr [eax + 4] */ 17594 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x39006598: mov dl, byte ptr [edx + 0x38] */ 17595 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x3900659B: mov byte ptr [ecx + 0x38], dl */ 17596 edx = MEM32(eax + 0x4); /* 0x3900659E: mov edx, dword ptr [eax + 4] */ 17597 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065A1: mov byte ptr [edx + 0x38], bl */ 17598 ecx = MEM32(ecx); /* 0x390065A4: mov ecx, dword ptr [ecx] */ 17599 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065A6: mov byte ptr [ecx + 0x38], bl */ 17600 ecx = MEM32(eax + 0x4); /* 0x390065A9: mov ecx, dword ptr [eax + 4] */ 17601 edx = MEM32(ecx); /* 0x390065AC: mov edx, dword ptr [ecx] */ 17602 esi = MEM32(edx + 0x8); /* 0x390065AE: mov esi, dword ptr [edx + 8] */ 17603 MEM32(ecx) = esi; /* 0x390065B1: mov dword ptr [ecx], esi */ 17604 esi = MEM32(edx + 0x8); /* 0x390065B3: mov esi, dword ptr [edx + 8] */ 17605 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390065B6: cmp esi, dword ptr [edi + 8] */ 17606 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17607 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17608 _flag_k = FK_CMP; 17609 if (CMP_EQ(_flag_a, _flag_b)) goto L_390065BE; /* 0x390065B9: je 0x390065be */ 17610 L_390065BB: 17611 MEM32(esi + 0x4) = ecx; /* 0x390065BB: mov dword ptr [esi + 4], ecx */ 17612 L_390065BE: 17613 esi = MEM32(ecx + 0x4); /* 0x390065BE: mov esi, dword ptr [ecx + 4] */ 17614 MEM32(edx + 0x4) = esi; /* 0x390065C1: mov dword ptr [edx + 4], esi */ 17615 esi = MEM32(edi + 0x4); /* 0x390065C4: mov esi, dword ptr [edi + 4] */ 17616 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390065C7: cmp ecx, dword ptr [esi + 4] */ 17617 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17618 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17619 _flag_k = FK_CMP; 17620 if (CMP_NE(_flag_a, _flag_b)) goto L_390065D1; /* 0x390065CA: jne 0x390065d1 */ 17621 L_390065CC: 17622 MEM32(esi + 0x4) = edx; /* 0x390065CC: mov dword ptr [esi + 4], edx */ 17623 goto L_390065E0; /* 0x390065CF: jmp 0x390065e0 */ 17624 L_390065D1: 17625 esi = MEM32(ecx + 0x4); /* 0x390065D1: mov esi, dword ptr [ecx + 4] */ 17626 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x390065D4: cmp ecx, dword ptr [esi + 8] */ 17627 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 17628 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17629 _flag_k = FK_CMP; 17630 if (CMP_NE(_flag_a, _flag_b)) goto L_390065DE; /* 0x390065D7: jne 0x390065de */ 17631 L_390065D9: 17632 MEM32(esi + 0x8) = edx; /* 0x390065D9: mov dword ptr [esi + 8], edx */ 17633 goto L_390065E0; /* 0x390065DC: jmp 0x390065e0 */ 17634 L_390065DE: 17635 MEM32(esi) = edx; /* 0x390065DE: mov dword ptr [esi], edx */ 17636 L_390065E0: 17637 MEM32(edx + 0x8) = ecx; /* 0x390065E0: mov dword ptr [edx + 8], ecx */ 17638 L_390065E3: 17639 MEM32(ecx + 0x4) = edx; /* 0x390065E3: mov dword ptr [ecx + 4], edx */ 17640 L_390065E6: 17641 esi = MEM32(ebp + (-0x4)); /* 0x390065E6: mov esi, dword ptr [ebp - 4] */ 17642 MEM8(eax + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065E9: mov byte ptr [eax + 0x38], bl */ 17643 ecx = esi + 0xC; /* 0x390065EC: lea ecx, [esi + 0xc] */ 17644 RECOMP_ICALL(0x390047D0u); /* 0x390065EF: call 0x390047d0 */ /* not lifted */ 17645 RECOMP_FLAGS_IN(); 17646 PUSH32(esp, esi); /* 0x390065F4: push esi */ 17647 RECOMP_ICALL(0x3900A0A0u); /* 0x390065F5: call 0x3900a0a0 */ /* not lifted */ 17648 RECOMP_FLAGS_IN(); 17649 eax = MEM32(edi + 0x10); /* 0x390065FA: mov eax, dword ptr [edi + 0x10] */ 17650 edx = MEM32(ebp + 0xC); /* 0x390065FD: mov edx, dword ptr [ebp + 0xc] */ 17651 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17652 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17653 esp = esp + 4; /* 0x39006600: add esp, 4 */ 17654 _flag_k = FK_ADD; 17655 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 17656 eax = eax - 1; /* 0x39006603: dec eax */ 17657 _flag_k = FK_DEC; 17658 MEM32(edi + 0x10) = eax; /* 0x39006604: mov dword ptr [edi + 0x10], eax */ 17659 eax = MEM32(ebp + 0x8); /* 0x39006607: mov eax, dword ptr [ebp + 8] */ 17660 edi = POP32_VAL(esp); /* 0x3900660A: pop edi */ 17661 esi = POP32_VAL(esp); /* 0x3900660B: pop esi */ 17662 MEM32(eax) = edx; /* 0x3900660C: mov dword ptr [eax], edx */ 17663 ebx = POP32_VAL(esp); /* 0x3900660E: pop ebx */ 17664 esp = ebp; /* 0x3900660F: mov esp, ebp */ 17665 ebp = POP32_VAL(esp); /* 0x39006611: pop ebp */ 17666 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x39006612: ret 8 */ 17667 RECOMP_REGS_OUT(); 17668 } 17669 17670 void sub_39006482(void) { 17671 int _fpu_cmp = 0; 17672 uint32_t _cf = 0; 17673 int _df = 1; 17674 uint32_t _flag_k = FK_NONE; 17675 uint32_t _flag_a = 0, _flag_b = 0; 17676 uint32_t _itail_tgt = 0; 17677 RECOMP_REGS_LOCALS 17678 RECOMP_ENTER(0x39006482u); 17679 17680 goto L_39006482; 17681 L_39006398: 17682 /* cmp MEM8(eax + 0x38), LO8(ebx) */ /* 0x39006398: cmp byte ptr [eax + 0x38], bl */ 17683 _flag_a = (uint32_t)(MEM8(eax + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17684 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17685 _flag_k = FK_NARROW(FK_CMP, 24); 17686 if (CMP_NE(_flag_a, _flag_b)) goto L_390065E6; /* 0x3900639B: jne 0x390065e6 */ 17687 L_390063A1: 17688 edx = MEM32(eax + 0x4); /* 0x390063A1: mov edx, dword ptr [eax + 4] */ 17689 ecx = MEM32(edx); /* 0x390063A4: mov ecx, dword ptr [edx] */ 17690 /* cmp eax, ecx */ /* 0x390063A6: cmp eax, ecx */ 17691 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 17692 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17693 _flag_k = FK_CMP; 17694 if (CMP_NE(_flag_a, _flag_b)) goto L_39006418; /* 0x390063A8: jne 0x39006418 */ 17695 L_390063AA: 17696 ecx = MEM32(edx + 0x8); /* 0x390063AA: mov ecx, dword ptr [edx + 8] */ 17697 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x390063AD: mov dl, byte ptr [ecx + 0x38] */ 17698 /* test LO8(edx), LO8(edx) */ /* 0x390063B0: test dl, dl */ 17699 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 17700 _cf = 0; 17701 _flag_k = FK_NARROW(FK_TEST, 24); 17702 if (TEST_NZ(_flag_a, _flag_b)) goto L_390063FF; /* 0x390063B2: jne 0x390063ff */ 17703 L_390063B4: 17704 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390063B4: mov byte ptr [ecx + 0x38], bl */ 17705 edx = MEM32(eax + 0x4); /* 0x390063B7: mov edx, dword ptr [eax + 4] */ 17706 MEM8(edx + 0x38) = (uint8_t)(0); /* 0x390063BA: mov byte ptr [edx + 0x38], 0 */ 17707 ecx = MEM32(eax + 0x4); /* 0x390063BE: mov ecx, dword ptr [eax + 4] */ 17708 edx = MEM32(ecx + 0x8); /* 0x390063C1: mov edx, dword ptr [ecx + 8] */ 17709 esi = MEM32(edx); /* 0x390063C4: mov esi, dword ptr [edx] */ 17710 MEM32(ecx + 0x8) = esi; /* 0x390063C6: mov dword ptr [ecx + 8], esi */ 17711 esi = MEM32(edx); /* 0x390063C9: mov esi, dword ptr [edx] */ 17712 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390063CB: cmp esi, dword ptr [edi + 8] */ 17713 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17714 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17715 _flag_k = FK_CMP; 17716 if (CMP_EQ(_flag_a, _flag_b)) goto L_390063D3; /* 0x390063CE: je 0x390063d3 */ 17717 L_390063D0: 17718 MEM32(esi + 0x4) = ecx; /* 0x390063D0: mov dword ptr [esi + 4], ecx */ 17719 L_390063D3: 17720 esi = MEM32(ecx + 0x4); /* 0x390063D3: mov esi, dword ptr [ecx + 4] */ 17721 MEM32(edx + 0x4) = esi; /* 0x390063D6: mov dword ptr [edx + 4], esi */ 17722 esi = MEM32(edi + 0x4); /* 0x390063D9: mov esi, dword ptr [edi + 4] */ 17723 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390063DC: cmp ecx, dword ptr [esi + 4] */ 17724 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17725 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17726 _flag_k = FK_CMP; 17727 if (CMP_NE(_flag_a, _flag_b)) goto L_390063E6; /* 0x390063DF: jne 0x390063e6 */ 17728 L_390063E1: 17729 MEM32(esi + 0x4) = edx; /* 0x390063E1: mov dword ptr [esi + 4], edx */ 17730 goto L_390063F4; /* 0x390063E4: jmp 0x390063f4 */ 17731 L_390063E6: 17732 esi = MEM32(ecx + 0x4); /* 0x390063E6: mov esi, dword ptr [ecx + 4] */ 17733 /* cmp ecx, MEM32(esi) */ /* 0x390063E9: cmp ecx, dword ptr [esi] */ 17734 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 17735 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17736 _flag_k = FK_CMP; 17737 if (CMP_NE(_flag_a, _flag_b)) goto L_390063F1; /* 0x390063EB: jne 0x390063f1 */ 17738 L_390063ED: 17739 MEM32(esi) = edx; /* 0x390063ED: mov dword ptr [esi], edx */ 17740 goto L_390063F4; /* 0x390063EF: jmp 0x390063f4 */ 17741 L_390063F1: 17742 MEM32(esi + 0x8) = edx; /* 0x390063F1: mov dword ptr [esi + 8], edx */ 17743 L_390063F4: 17744 MEM32(edx) = ecx; /* 0x390063F4: mov dword ptr [edx], ecx */ 17745 MEM32(ecx + 0x4) = edx; /* 0x390063F6: mov dword ptr [ecx + 4], edx */ 17746 ecx = MEM32(eax + 0x4); /* 0x390063F9: mov ecx, dword ptr [eax + 4] */ 17747 ecx = MEM32(ecx + 0x8); /* 0x390063FC: mov ecx, dword ptr [ecx + 8] */ 17748 L_390063FF: 17749 edx = MEM32(ecx); /* 0x390063FF: mov edx, dword ptr [ecx] */ 17750 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x39006401: cmp byte ptr [edx + 0x38], bl */ 17751 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17752 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17753 _flag_k = FK_NARROW(FK_CMP, 24); 17754 if (CMP_NE(_flag_a, _flag_b)) goto L_3900649A; /* 0x39006404: jne 0x3900649a */ 17755 L_3900640A: 17756 edx = MEM32(ecx + 0x8); /* 0x3900640A: mov edx, dword ptr [ecx + 8] */ 17757 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x3900640D: cmp byte ptr [edx + 0x38], bl */ 17758 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17759 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17760 _flag_k = FK_NARROW(FK_CMP, 24); 17761 if (CMP_NE(_flag_a, _flag_b)) goto L_3900649A; /* 0x39006410: jne 0x3900649a */ 17762 L_39006416: 17763 goto L_39006482; /* 0x39006416: jmp 0x39006482 */ 17764 L_39006418: 17765 SET_LO8(edx, MEM8(ecx + 0x38)); /* 0x39006418: mov dl, byte ptr [ecx + 0x38] */ 17766 /* test LO8(edx), LO8(edx) */ /* 0x3900641B: test dl, dl */ 17767 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 17768 _cf = 0; 17769 _flag_k = FK_NARROW(FK_TEST, 24); 17770 if (TEST_NZ(_flag_a, _flag_b)) goto L_3900646B; /* 0x3900641D: jne 0x3900646b */ 17771 L_3900641F: 17772 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x3900641F: mov byte ptr [ecx + 0x38], bl */ 17773 ecx = MEM32(eax + 0x4); /* 0x39006422: mov ecx, dword ptr [eax + 4] */ 17774 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x39006425: mov byte ptr [ecx + 0x38], 0 */ 17775 ecx = MEM32(eax + 0x4); /* 0x39006429: mov ecx, dword ptr [eax + 4] */ 17776 edx = MEM32(ecx); /* 0x3900642C: mov edx, dword ptr [ecx] */ 17777 esi = MEM32(edx + 0x8); /* 0x3900642E: mov esi, dword ptr [edx + 8] */ 17778 MEM32(ecx) = esi; /* 0x39006431: mov dword ptr [ecx], esi */ 17779 esi = MEM32(edx + 0x8); /* 0x39006433: mov esi, dword ptr [edx + 8] */ 17780 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006436: cmp esi, dword ptr [edi + 8] */ 17781 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17782 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17783 _flag_k = FK_CMP; 17784 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900643E; /* 0x39006439: je 0x3900643e */ 17785 L_3900643B: 17786 MEM32(esi + 0x4) = ecx; /* 0x3900643B: mov dword ptr [esi + 4], ecx */ 17787 L_3900643E: 17788 esi = MEM32(ecx + 0x4); /* 0x3900643E: mov esi, dword ptr [ecx + 4] */ 17789 MEM32(edx + 0x4) = esi; /* 0x39006441: mov dword ptr [edx + 4], esi */ 17790 esi = MEM32(edi + 0x4); /* 0x39006444: mov esi, dword ptr [edi + 4] */ 17791 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006447: cmp ecx, dword ptr [esi + 4] */ 17792 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17793 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17794 _flag_k = FK_CMP; 17795 if (CMP_NE(_flag_a, _flag_b)) goto L_39006451; /* 0x3900644A: jne 0x39006451 */ 17796 L_3900644C: 17797 MEM32(esi + 0x4) = edx; /* 0x3900644C: mov dword ptr [esi + 4], edx */ 17798 goto L_39006460; /* 0x3900644F: jmp 0x39006460 */ 17799 L_39006451: 17800 esi = MEM32(ecx + 0x4); /* 0x39006451: mov esi, dword ptr [ecx + 4] */ 17801 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x39006454: cmp ecx, dword ptr [esi + 8] */ 17802 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 17803 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17804 _flag_k = FK_CMP; 17805 if (CMP_NE(_flag_a, _flag_b)) goto L_3900645E; /* 0x39006457: jne 0x3900645e */ 17806 L_39006459: 17807 MEM32(esi + 0x8) = edx; /* 0x39006459: mov dword ptr [esi + 8], edx */ 17808 goto L_39006460; /* 0x3900645C: jmp 0x39006460 */ 17809 L_3900645E: 17810 MEM32(esi) = edx; /* 0x3900645E: mov dword ptr [esi], edx */ 17811 L_39006460: 17812 MEM32(edx + 0x8) = ecx; /* 0x39006460: mov dword ptr [edx + 8], ecx */ 17813 MEM32(ecx + 0x4) = edx; /* 0x39006463: mov dword ptr [ecx + 4], edx */ 17814 edx = MEM32(eax + 0x4); /* 0x39006466: mov edx, dword ptr [eax + 4] */ 17815 ecx = MEM32(edx); /* 0x39006469: mov ecx, dword ptr [edx] */ 17816 L_3900646B: 17817 edx = MEM32(ecx + 0x8); /* 0x3900646B: mov edx, dword ptr [ecx + 8] */ 17818 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x3900646E: cmp byte ptr [edx + 0x38], bl */ 17819 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17820 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17821 _flag_k = FK_NARROW(FK_CMP, 24); 17822 if (CMP_NE(_flag_a, _flag_b)) goto L_39006547; /* 0x39006471: jne 0x39006547 */ 17823 L_39006477: 17824 edx = MEM32(ecx); /* 0x39006477: mov edx, dword ptr [ecx] */ 17825 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x39006479: cmp byte ptr [edx + 0x38], bl */ 17826 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17827 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17828 _flag_k = FK_NARROW(FK_CMP, 24); 17829 if (CMP_NE(_flag_a, _flag_b)) goto L_39006547; /* 0x3900647C: jne 0x39006547 */ 17830 L_39006482: 17831 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x39006482: mov byte ptr [ecx + 0x38], 0 */ 17832 ecx = MEM32(edi + 0x4); /* 0x39006486: mov ecx, dword ptr [edi + 4] */ 17833 eax = MEM32(eax + 0x4); /* 0x39006489: mov eax, dword ptr [eax + 4] */ 17834 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3900648C: cmp eax, dword ptr [ecx + 4] */ 17835 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 17836 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17837 _flag_k = FK_CMP; 17838 RECOMP_BACKEDGE(); 17839 if (CMP_NE(_flag_a, _flag_b)) goto L_39006398; /* 0x3900648F: jne 0x39006398 */ 17840 L_39006495: 17841 goto L_390065E6; /* 0x39006495: jmp 0x390065e6 */ 17842 L_3900649A: 17843 edx = MEM32(ecx + 0x8); /* 0x3900649A: mov edx, dword ptr [ecx + 8] */ 17844 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x3900649D: cmp byte ptr [edx + 0x38], bl */ 17845 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17846 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17847 _flag_k = FK_NARROW(FK_CMP, 24); 17848 if (CMP_NE(_flag_a, _flag_b)) goto L_390064EB; /* 0x390064A0: jne 0x390064eb */ 17849 L_390064A2: 17850 edx = MEM32(ecx); /* 0x390064A2: mov edx, dword ptr [ecx] */ 17851 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390064A4: mov byte ptr [edx + 0x38], bl */ 17852 edx = MEM32(ecx); /* 0x390064A7: mov edx, dword ptr [ecx] */ 17853 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x390064A9: mov byte ptr [ecx + 0x38], 0 */ 17854 esi = MEM32(edx + 0x8); /* 0x390064AD: mov esi, dword ptr [edx + 8] */ 17855 MEM32(ecx) = esi; /* 0x390064B0: mov dword ptr [ecx], esi */ 17856 esi = MEM32(edx + 0x8); /* 0x390064B2: mov esi, dword ptr [edx + 8] */ 17857 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390064B5: cmp esi, dword ptr [edi + 8] */ 17858 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17859 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17860 _flag_k = FK_CMP; 17861 if (CMP_EQ(_flag_a, _flag_b)) goto L_390064BD; /* 0x390064B8: je 0x390064bd */ 17862 L_390064BA: 17863 MEM32(esi + 0x4) = ecx; /* 0x390064BA: mov dword ptr [esi + 4], ecx */ 17864 L_390064BD: 17865 esi = MEM32(ecx + 0x4); /* 0x390064BD: mov esi, dword ptr [ecx + 4] */ 17866 MEM32(edx + 0x4) = esi; /* 0x390064C0: mov dword ptr [edx + 4], esi */ 17867 esi = MEM32(edi + 0x4); /* 0x390064C3: mov esi, dword ptr [edi + 4] */ 17868 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390064C6: cmp ecx, dword ptr [esi + 4] */ 17869 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17870 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17871 _flag_k = FK_CMP; 17872 if (CMP_NE(_flag_a, _flag_b)) goto L_390064D0; /* 0x390064C9: jne 0x390064d0 */ 17873 L_390064CB: 17874 MEM32(esi + 0x4) = edx; /* 0x390064CB: mov dword ptr [esi + 4], edx */ 17875 goto L_390064DF; /* 0x390064CE: jmp 0x390064df */ 17876 L_390064D0: 17877 esi = MEM32(ecx + 0x4); /* 0x390064D0: mov esi, dword ptr [ecx + 4] */ 17878 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x390064D3: cmp ecx, dword ptr [esi + 8] */ 17879 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 17880 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17881 _flag_k = FK_CMP; 17882 if (CMP_NE(_flag_a, _flag_b)) goto L_390064DD; /* 0x390064D6: jne 0x390064dd */ 17883 L_390064D8: 17884 MEM32(esi + 0x8) = edx; /* 0x390064D8: mov dword ptr [esi + 8], edx */ 17885 goto L_390064DF; /* 0x390064DB: jmp 0x390064df */ 17886 L_390064DD: 17887 MEM32(esi) = edx; /* 0x390064DD: mov dword ptr [esi], edx */ 17888 L_390064DF: 17889 MEM32(edx + 0x8) = ecx; /* 0x390064DF: mov dword ptr [edx + 8], ecx */ 17890 MEM32(ecx + 0x4) = edx; /* 0x390064E2: mov dword ptr [ecx + 4], edx */ 17891 ecx = MEM32(eax + 0x4); /* 0x390064E5: mov ecx, dword ptr [eax + 4] */ 17892 ecx = MEM32(ecx + 0x8); /* 0x390064E8: mov ecx, dword ptr [ecx + 8] */ 17893 L_390064EB: 17894 edx = MEM32(eax + 0x4); /* 0x390064EB: mov edx, dword ptr [eax + 4] */ 17895 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x390064EE: mov dl, byte ptr [edx + 0x38] */ 17896 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x390064F1: mov byte ptr [ecx + 0x38], dl */ 17897 edx = MEM32(eax + 0x4); /* 0x390064F4: mov edx, dword ptr [eax + 4] */ 17898 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390064F7: mov byte ptr [edx + 0x38], bl */ 17899 ecx = MEM32(ecx + 0x8); /* 0x390064FA: mov ecx, dword ptr [ecx + 8] */ 17900 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390064FD: mov byte ptr [ecx + 0x38], bl */ 17901 ecx = MEM32(eax + 0x4); /* 0x39006500: mov ecx, dword ptr [eax + 4] */ 17902 edx = MEM32(ecx + 0x8); /* 0x39006503: mov edx, dword ptr [ecx + 8] */ 17903 esi = MEM32(edx); /* 0x39006506: mov esi, dword ptr [edx] */ 17904 MEM32(ecx + 0x8) = esi; /* 0x39006508: mov dword ptr [ecx + 8], esi */ 17905 esi = MEM32(edx); /* 0x3900650B: mov esi, dword ptr [edx] */ 17906 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3900650D: cmp esi, dword ptr [edi + 8] */ 17907 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17908 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17909 _flag_k = FK_CMP; 17910 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006515; /* 0x39006510: je 0x39006515 */ 17911 L_39006512: 17912 MEM32(esi + 0x4) = ecx; /* 0x39006512: mov dword ptr [esi + 4], ecx */ 17913 L_39006515: 17914 esi = MEM32(ecx + 0x4); /* 0x39006515: mov esi, dword ptr [ecx + 4] */ 17915 MEM32(edx + 0x4) = esi; /* 0x39006518: mov dword ptr [edx + 4], esi */ 17916 esi = MEM32(edi + 0x4); /* 0x3900651B: mov esi, dword ptr [edi + 4] */ 17917 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x3900651E: cmp ecx, dword ptr [esi + 4] */ 17918 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17919 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17920 _flag_k = FK_CMP; 17921 if (CMP_NE(_flag_a, _flag_b)) goto L_3900652D; /* 0x39006521: jne 0x3900652d */ 17922 L_39006523: 17923 MEM32(esi + 0x4) = edx; /* 0x39006523: mov dword ptr [esi + 4], edx */ 17924 MEM32(edx) = ecx; /* 0x39006526: mov dword ptr [edx], ecx */ 17925 goto L_390065E3; /* 0x39006528: jmp 0x390065e3 */ 17926 L_3900652D: 17927 esi = MEM32(ecx + 0x4); /* 0x3900652D: mov esi, dword ptr [ecx + 4] */ 17928 /* cmp ecx, MEM32(esi) */ /* 0x39006530: cmp ecx, dword ptr [esi] */ 17929 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 17930 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17931 _flag_k = FK_CMP; 17932 if (CMP_NE(_flag_a, _flag_b)) goto L_3900653D; /* 0x39006532: jne 0x3900653d */ 17933 L_39006534: 17934 MEM32(esi) = edx; /* 0x39006534: mov dword ptr [esi], edx */ 17935 MEM32(edx) = ecx; /* 0x39006536: mov dword ptr [edx], ecx */ 17936 goto L_390065E3; /* 0x39006538: jmp 0x390065e3 */ 17937 L_3900653D: 17938 MEM32(esi + 0x8) = edx; /* 0x3900653D: mov dword ptr [esi + 8], edx */ 17939 MEM32(edx) = ecx; /* 0x39006540: mov dword ptr [edx], ecx */ 17940 goto L_390065E3; /* 0x39006542: jmp 0x390065e3 */ 17941 L_39006547: 17942 edx = MEM32(ecx); /* 0x39006547: mov edx, dword ptr [ecx] */ 17943 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x39006549: cmp byte ptr [edx + 0x38], bl */ 17944 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 17945 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17946 _flag_k = FK_NARROW(FK_CMP, 24); 17947 if (CMP_NE(_flag_a, _flag_b)) goto L_39006595; /* 0x3900654C: jne 0x39006595 */ 17948 L_3900654E: 17949 edx = MEM32(ecx + 0x8); /* 0x3900654E: mov edx, dword ptr [ecx + 8] */ 17950 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x39006551: mov byte ptr [edx + 0x38], bl */ 17951 edx = MEM32(ecx + 0x8); /* 0x39006554: mov edx, dword ptr [ecx + 8] */ 17952 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x39006557: mov byte ptr [ecx + 0x38], 0 */ 17953 esi = MEM32(edx); /* 0x3900655B: mov esi, dword ptr [edx] */ 17954 MEM32(ecx + 0x8) = esi; /* 0x3900655D: mov dword ptr [ecx + 8], esi */ 17955 esi = MEM32(edx); /* 0x39006560: mov esi, dword ptr [edx] */ 17956 /* cmp esi, MEM32(edi + 0x8) */ /* 0x39006562: cmp esi, dword ptr [edi + 8] */ 17957 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 17958 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17959 _flag_k = FK_CMP; 17960 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900656A; /* 0x39006565: je 0x3900656a */ 17961 L_39006567: 17962 MEM32(esi + 0x4) = ecx; /* 0x39006567: mov dword ptr [esi + 4], ecx */ 17963 L_3900656A: 17964 esi = MEM32(ecx + 0x4); /* 0x3900656A: mov esi, dword ptr [ecx + 4] */ 17965 MEM32(edx + 0x4) = esi; /* 0x3900656D: mov dword ptr [edx + 4], esi */ 17966 esi = MEM32(edi + 0x4); /* 0x39006570: mov esi, dword ptr [edi + 4] */ 17967 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x39006573: cmp ecx, dword ptr [esi + 4] */ 17968 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 17969 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17970 _flag_k = FK_CMP; 17971 if (CMP_NE(_flag_a, _flag_b)) goto L_3900657D; /* 0x39006576: jne 0x3900657d */ 17972 L_39006578: 17973 MEM32(esi + 0x4) = edx; /* 0x39006578: mov dword ptr [esi + 4], edx */ 17974 goto L_3900658B; /* 0x3900657B: jmp 0x3900658b */ 17975 L_3900657D: 17976 esi = MEM32(ecx + 0x4); /* 0x3900657D: mov esi, dword ptr [ecx + 4] */ 17977 /* cmp ecx, MEM32(esi) */ /* 0x39006580: cmp ecx, dword ptr [esi] */ 17978 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 17979 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17980 _flag_k = FK_CMP; 17981 if (CMP_NE(_flag_a, _flag_b)) goto L_39006588; /* 0x39006582: jne 0x39006588 */ 17982 L_39006584: 17983 MEM32(esi) = edx; /* 0x39006584: mov dword ptr [esi], edx */ 17984 goto L_3900658B; /* 0x39006586: jmp 0x3900658b */ 17985 L_39006588: 17986 MEM32(esi + 0x8) = edx; /* 0x39006588: mov dword ptr [esi + 8], edx */ 17987 L_3900658B: 17988 MEM32(edx) = ecx; /* 0x3900658B: mov dword ptr [edx], ecx */ 17989 MEM32(ecx + 0x4) = edx; /* 0x3900658D: mov dword ptr [ecx + 4], edx */ 17990 ecx = MEM32(eax + 0x4); /* 0x39006590: mov ecx, dword ptr [eax + 4] */ 17991 ecx = MEM32(ecx); /* 0x39006593: mov ecx, dword ptr [ecx] */ 17992 L_39006595: 17993 edx = MEM32(eax + 0x4); /* 0x39006595: mov edx, dword ptr [eax + 4] */ 17994 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x39006598: mov dl, byte ptr [edx + 0x38] */ 17995 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x3900659B: mov byte ptr [ecx + 0x38], dl */ 17996 edx = MEM32(eax + 0x4); /* 0x3900659E: mov edx, dword ptr [eax + 4] */ 17997 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065A1: mov byte ptr [edx + 0x38], bl */ 17998 ecx = MEM32(ecx); /* 0x390065A4: mov ecx, dword ptr [ecx] */ 17999 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065A6: mov byte ptr [ecx + 0x38], bl */ 18000 ecx = MEM32(eax + 0x4); /* 0x390065A9: mov ecx, dword ptr [eax + 4] */ 18001 edx = MEM32(ecx); /* 0x390065AC: mov edx, dword ptr [ecx] */ 18002 esi = MEM32(edx + 0x8); /* 0x390065AE: mov esi, dword ptr [edx + 8] */ 18003 MEM32(ecx) = esi; /* 0x390065B1: mov dword ptr [ecx], esi */ 18004 esi = MEM32(edx + 0x8); /* 0x390065B3: mov esi, dword ptr [edx + 8] */ 18005 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390065B6: cmp esi, dword ptr [edi + 8] */ 18006 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 18007 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18008 _flag_k = FK_CMP; 18009 if (CMP_EQ(_flag_a, _flag_b)) goto L_390065BE; /* 0x390065B9: je 0x390065be */ 18010 L_390065BB: 18011 MEM32(esi + 0x4) = ecx; /* 0x390065BB: mov dword ptr [esi + 4], ecx */ 18012 L_390065BE: 18013 esi = MEM32(ecx + 0x4); /* 0x390065BE: mov esi, dword ptr [ecx + 4] */ 18014 MEM32(edx + 0x4) = esi; /* 0x390065C1: mov dword ptr [edx + 4], esi */ 18015 esi = MEM32(edi + 0x4); /* 0x390065C4: mov esi, dword ptr [edi + 4] */ 18016 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390065C7: cmp ecx, dword ptr [esi + 4] */ 18017 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 18018 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18019 _flag_k = FK_CMP; 18020 if (CMP_NE(_flag_a, _flag_b)) goto L_390065D1; /* 0x390065CA: jne 0x390065d1 */ 18021 L_390065CC: 18022 MEM32(esi + 0x4) = edx; /* 0x390065CC: mov dword ptr [esi + 4], edx */ 18023 goto L_390065E0; /* 0x390065CF: jmp 0x390065e0 */ 18024 L_390065D1: 18025 esi = MEM32(ecx + 0x4); /* 0x390065D1: mov esi, dword ptr [ecx + 4] */ 18026 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x390065D4: cmp ecx, dword ptr [esi + 8] */ 18027 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 18028 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18029 _flag_k = FK_CMP; 18030 if (CMP_NE(_flag_a, _flag_b)) goto L_390065DE; /* 0x390065D7: jne 0x390065de */ 18031 L_390065D9: 18032 MEM32(esi + 0x8) = edx; /* 0x390065D9: mov dword ptr [esi + 8], edx */ 18033 goto L_390065E0; /* 0x390065DC: jmp 0x390065e0 */ 18034 L_390065DE: 18035 MEM32(esi) = edx; /* 0x390065DE: mov dword ptr [esi], edx */ 18036 L_390065E0: 18037 MEM32(edx + 0x8) = ecx; /* 0x390065E0: mov dword ptr [edx + 8], ecx */ 18038 L_390065E3: 18039 MEM32(ecx + 0x4) = edx; /* 0x390065E3: mov dword ptr [ecx + 4], edx */ 18040 L_390065E6: 18041 esi = MEM32(ebp + (-0x4)); /* 0x390065E6: mov esi, dword ptr [ebp - 4] */ 18042 MEM8(eax + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065E9: mov byte ptr [eax + 0x38], bl */ 18043 ecx = esi + 0xC; /* 0x390065EC: lea ecx, [esi + 0xc] */ 18044 RECOMP_ICALL(0x390047D0u); /* 0x390065EF: call 0x390047d0 */ /* not lifted */ 18045 RECOMP_FLAGS_IN(); 18046 PUSH32(esp, esi); /* 0x390065F4: push esi */ 18047 RECOMP_ICALL(0x3900A0A0u); /* 0x390065F5: call 0x3900a0a0 */ /* not lifted */ 18048 RECOMP_FLAGS_IN(); 18049 eax = MEM32(edi + 0x10); /* 0x390065FA: mov eax, dword ptr [edi + 0x10] */ 18050 edx = MEM32(ebp + 0xC); /* 0x390065FD: mov edx, dword ptr [ebp + 0xc] */ 18051 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18052 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18053 esp = esp + 4; /* 0x39006600: add esp, 4 */ 18054 _flag_k = FK_ADD; 18055 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 18056 eax = eax - 1; /* 0x39006603: dec eax */ 18057 _flag_k = FK_DEC; 18058 MEM32(edi + 0x10) = eax; /* 0x39006604: mov dword ptr [edi + 0x10], eax */ 18059 eax = MEM32(ebp + 0x8); /* 0x39006607: mov eax, dword ptr [ebp + 8] */ 18060 edi = POP32_VAL(esp); /* 0x3900660A: pop edi */ 18061 esi = POP32_VAL(esp); /* 0x3900660B: pop esi */ 18062 MEM32(eax) = edx; /* 0x3900660C: mov dword ptr [eax], edx */ 18063 ebx = POP32_VAL(esp); /* 0x3900660E: pop ebx */ 18064 esp = ebp; /* 0x3900660F: mov esp, ebp */ 18065 ebp = POP32_VAL(esp); /* 0x39006611: pop ebp */ 18066 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x39006612: ret 8 */ 18067 RECOMP_REGS_OUT(); 18068 } 18069 18070 void sub_3900649A(void) { 18071 int _fpu_cmp = 0; 18072 uint32_t _cf = 0; 18073 int _df = 1; 18074 uint32_t _flag_k = FK_NONE; 18075 uint32_t _flag_a = 0, _flag_b = 0; 18076 uint32_t _itail_tgt = 0; 18077 RECOMP_REGS_LOCALS 18078 RECOMP_ENTER(0x3900649Au); 18079 18080 L_3900649A: 18081 edx = MEM32(ecx + 0x8); /* 0x3900649A: mov edx, dword ptr [ecx + 8] */ 18082 /* cmp MEM8(edx + 0x38), LO8(ebx) */ /* 0x3900649D: cmp byte ptr [edx + 0x38], bl */ 18083 _flag_a = (uint32_t)(MEM8(edx + 0x38)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 18084 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18085 _flag_k = FK_NARROW(FK_CMP, 24); 18086 if (CMP_NE(_flag_a, _flag_b)) goto L_390064EB; /* 0x390064A0: jne 0x390064eb */ 18087 L_390064A2: 18088 edx = MEM32(ecx); /* 0x390064A2: mov edx, dword ptr [ecx] */ 18089 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390064A4: mov byte ptr [edx + 0x38], bl */ 18090 edx = MEM32(ecx); /* 0x390064A7: mov edx, dword ptr [ecx] */ 18091 MEM8(ecx + 0x38) = (uint8_t)(0); /* 0x390064A9: mov byte ptr [ecx + 0x38], 0 */ 18092 esi = MEM32(edx + 0x8); /* 0x390064AD: mov esi, dword ptr [edx + 8] */ 18093 MEM32(ecx) = esi; /* 0x390064B0: mov dword ptr [ecx], esi */ 18094 esi = MEM32(edx + 0x8); /* 0x390064B2: mov esi, dword ptr [edx + 8] */ 18095 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390064B5: cmp esi, dword ptr [edi + 8] */ 18096 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 18097 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18098 _flag_k = FK_CMP; 18099 if (CMP_EQ(_flag_a, _flag_b)) goto L_390064BD; /* 0x390064B8: je 0x390064bd */ 18100 L_390064BA: 18101 MEM32(esi + 0x4) = ecx; /* 0x390064BA: mov dword ptr [esi + 4], ecx */ 18102 L_390064BD: 18103 esi = MEM32(ecx + 0x4); /* 0x390064BD: mov esi, dword ptr [ecx + 4] */ 18104 MEM32(edx + 0x4) = esi; /* 0x390064C0: mov dword ptr [edx + 4], esi */ 18105 esi = MEM32(edi + 0x4); /* 0x390064C3: mov esi, dword ptr [edi + 4] */ 18106 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390064C6: cmp ecx, dword ptr [esi + 4] */ 18107 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 18108 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18109 _flag_k = FK_CMP; 18110 if (CMP_NE(_flag_a, _flag_b)) goto L_390064D0; /* 0x390064C9: jne 0x390064d0 */ 18111 L_390064CB: 18112 MEM32(esi + 0x4) = edx; /* 0x390064CB: mov dword ptr [esi + 4], edx */ 18113 goto L_390064DF; /* 0x390064CE: jmp 0x390064df */ 18114 L_390064D0: 18115 esi = MEM32(ecx + 0x4); /* 0x390064D0: mov esi, dword ptr [ecx + 4] */ 18116 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x390064D3: cmp ecx, dword ptr [esi + 8] */ 18117 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 18118 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18119 _flag_k = FK_CMP; 18120 if (CMP_NE(_flag_a, _flag_b)) goto L_390064DD; /* 0x390064D6: jne 0x390064dd */ 18121 L_390064D8: 18122 MEM32(esi + 0x8) = edx; /* 0x390064D8: mov dword ptr [esi + 8], edx */ 18123 goto L_390064DF; /* 0x390064DB: jmp 0x390064df */ 18124 L_390064DD: 18125 MEM32(esi) = edx; /* 0x390064DD: mov dword ptr [esi], edx */ 18126 L_390064DF: 18127 MEM32(edx + 0x8) = ecx; /* 0x390064DF: mov dword ptr [edx + 8], ecx */ 18128 MEM32(ecx + 0x4) = edx; /* 0x390064E2: mov dword ptr [ecx + 4], edx */ 18129 ecx = MEM32(eax + 0x4); /* 0x390064E5: mov ecx, dword ptr [eax + 4] */ 18130 ecx = MEM32(ecx + 0x8); /* 0x390064E8: mov ecx, dword ptr [ecx + 8] */ 18131 L_390064EB: 18132 edx = MEM32(eax + 0x4); /* 0x390064EB: mov edx, dword ptr [eax + 4] */ 18133 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x390064EE: mov dl, byte ptr [edx + 0x38] */ 18134 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x390064F1: mov byte ptr [ecx + 0x38], dl */ 18135 edx = MEM32(eax + 0x4); /* 0x390064F4: mov edx, dword ptr [eax + 4] */ 18136 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390064F7: mov byte ptr [edx + 0x38], bl */ 18137 ecx = MEM32(ecx + 0x8); /* 0x390064FA: mov ecx, dword ptr [ecx + 8] */ 18138 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390064FD: mov byte ptr [ecx + 0x38], bl */ 18139 ecx = MEM32(eax + 0x4); /* 0x39006500: mov ecx, dword ptr [eax + 4] */ 18140 edx = MEM32(ecx + 0x8); /* 0x39006503: mov edx, dword ptr [ecx + 8] */ 18141 esi = MEM32(edx); /* 0x39006506: mov esi, dword ptr [edx] */ 18142 MEM32(ecx + 0x8) = esi; /* 0x39006508: mov dword ptr [ecx + 8], esi */ 18143 esi = MEM32(edx); /* 0x3900650B: mov esi, dword ptr [edx] */ 18144 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3900650D: cmp esi, dword ptr [edi + 8] */ 18145 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 18146 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18147 _flag_k = FK_CMP; 18148 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006515; /* 0x39006510: je 0x39006515 */ 18149 L_39006512: 18150 MEM32(esi + 0x4) = ecx; /* 0x39006512: mov dword ptr [esi + 4], ecx */ 18151 L_39006515: 18152 esi = MEM32(ecx + 0x4); /* 0x39006515: mov esi, dword ptr [ecx + 4] */ 18153 MEM32(edx + 0x4) = esi; /* 0x39006518: mov dword ptr [edx + 4], esi */ 18154 esi = MEM32(edi + 0x4); /* 0x3900651B: mov esi, dword ptr [edi + 4] */ 18155 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x3900651E: cmp ecx, dword ptr [esi + 4] */ 18156 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 18157 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18158 _flag_k = FK_CMP; 18159 if (CMP_NE(_flag_a, _flag_b)) goto L_3900652D; /* 0x39006521: jne 0x3900652d */ 18160 L_39006523: 18161 MEM32(esi + 0x4) = edx; /* 0x39006523: mov dword ptr [esi + 4], edx */ 18162 MEM32(edx) = ecx; /* 0x39006526: mov dword ptr [edx], ecx */ 18163 goto L_390065E3; /* 0x39006528: jmp 0x390065e3 */ 18164 L_3900652D: 18165 esi = MEM32(ecx + 0x4); /* 0x3900652D: mov esi, dword ptr [ecx + 4] */ 18166 /* cmp ecx, MEM32(esi) */ /* 0x39006530: cmp ecx, dword ptr [esi] */ 18167 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 18168 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18169 _flag_k = FK_CMP; 18170 if (CMP_NE(_flag_a, _flag_b)) goto L_3900653D; /* 0x39006532: jne 0x3900653d */ 18171 L_39006534: 18172 MEM32(esi) = edx; /* 0x39006534: mov dword ptr [esi], edx */ 18173 MEM32(edx) = ecx; /* 0x39006536: mov dword ptr [edx], ecx */ 18174 goto L_390065E3; /* 0x39006538: jmp 0x390065e3 */ 18175 L_3900653D: 18176 MEM32(esi + 0x8) = edx; /* 0x3900653D: mov dword ptr [esi + 8], edx */ 18177 MEM32(edx) = ecx; /* 0x39006540: mov dword ptr [edx], ecx */ 18178 goto L_390065E3; /* 0x39006542: jmp 0x390065e3 */ 18179 L_390065E3: 18180 MEM32(ecx + 0x4) = edx; /* 0x390065E3: mov dword ptr [ecx + 4], edx */ 18181 esi = MEM32(ebp + (-0x4)); /* 0x390065E6: mov esi, dword ptr [ebp - 4] */ 18182 MEM8(eax + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065E9: mov byte ptr [eax + 0x38], bl */ 18183 ecx = esi + 0xC; /* 0x390065EC: lea ecx, [esi + 0xc] */ 18184 RECOMP_ICALL(0x390047D0u); /* 0x390065EF: call 0x390047d0 */ /* not lifted */ 18185 RECOMP_FLAGS_IN(); 18186 PUSH32(esp, esi); /* 0x390065F4: push esi */ 18187 RECOMP_ICALL(0x3900A0A0u); /* 0x390065F5: call 0x3900a0a0 */ /* not lifted */ 18188 RECOMP_FLAGS_IN(); 18189 eax = MEM32(edi + 0x10); /* 0x390065FA: mov eax, dword ptr [edi + 0x10] */ 18190 edx = MEM32(ebp + 0xC); /* 0x390065FD: mov edx, dword ptr [ebp + 0xc] */ 18191 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18192 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18193 esp = esp + 4; /* 0x39006600: add esp, 4 */ 18194 _flag_k = FK_ADD; 18195 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 18196 eax = eax - 1; /* 0x39006603: dec eax */ 18197 _flag_k = FK_DEC; 18198 MEM32(edi + 0x10) = eax; /* 0x39006604: mov dword ptr [edi + 0x10], eax */ 18199 eax = MEM32(ebp + 0x8); /* 0x39006607: mov eax, dword ptr [ebp + 8] */ 18200 edi = POP32_VAL(esp); /* 0x3900660A: pop edi */ 18201 esi = POP32_VAL(esp); /* 0x3900660B: pop esi */ 18202 MEM32(eax) = edx; /* 0x3900660C: mov dword ptr [eax], edx */ 18203 ebx = POP32_VAL(esp); /* 0x3900660E: pop ebx */ 18204 esp = ebp; /* 0x3900660F: mov esp, ebp */ 18205 ebp = POP32_VAL(esp); /* 0x39006611: pop ebp */ 18206 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x39006612: ret 8 */ 18207 RECOMP_REGS_OUT(); 18208 } 18209 18210 void sub_390064DF(void) { 18211 int _fpu_cmp = 0; 18212 uint32_t _cf = 0; 18213 int _df = 1; 18214 uint32_t _flag_k = FK_NONE; 18215 uint32_t _flag_a = 0, _flag_b = 0; 18216 uint32_t _itail_tgt = 0; 18217 RECOMP_REGS_LOCALS 18218 RECOMP_ENTER(0x390064DFu); 18219 18220 L_390064DF: 18221 MEM32(edx + 0x8) = ecx; /* 0x390064DF: mov dword ptr [edx + 8], ecx */ 18222 MEM32(ecx + 0x4) = edx; /* 0x390064E2: mov dword ptr [ecx + 4], edx */ 18223 ecx = MEM32(eax + 0x4); /* 0x390064E5: mov ecx, dword ptr [eax + 4] */ 18224 ecx = MEM32(ecx + 0x8); /* 0x390064E8: mov ecx, dword ptr [ecx + 8] */ 18225 edx = MEM32(eax + 0x4); /* 0x390064EB: mov edx, dword ptr [eax + 4] */ 18226 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x390064EE: mov dl, byte ptr [edx + 0x38] */ 18227 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x390064F1: mov byte ptr [ecx + 0x38], dl */ 18228 edx = MEM32(eax + 0x4); /* 0x390064F4: mov edx, dword ptr [eax + 4] */ 18229 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390064F7: mov byte ptr [edx + 0x38], bl */ 18230 ecx = MEM32(ecx + 0x8); /* 0x390064FA: mov ecx, dword ptr [ecx + 8] */ 18231 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390064FD: mov byte ptr [ecx + 0x38], bl */ 18232 ecx = MEM32(eax + 0x4); /* 0x39006500: mov ecx, dword ptr [eax + 4] */ 18233 edx = MEM32(ecx + 0x8); /* 0x39006503: mov edx, dword ptr [ecx + 8] */ 18234 esi = MEM32(edx); /* 0x39006506: mov esi, dword ptr [edx] */ 18235 MEM32(ecx + 0x8) = esi; /* 0x39006508: mov dword ptr [ecx + 8], esi */ 18236 esi = MEM32(edx); /* 0x3900650B: mov esi, dword ptr [edx] */ 18237 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3900650D: cmp esi, dword ptr [edi + 8] */ 18238 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 18239 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18240 _flag_k = FK_CMP; 18241 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006515; /* 0x39006510: je 0x39006515 */ 18242 L_39006512: 18243 MEM32(esi + 0x4) = ecx; /* 0x39006512: mov dword ptr [esi + 4], ecx */ 18244 L_39006515: 18245 esi = MEM32(ecx + 0x4); /* 0x39006515: mov esi, dword ptr [ecx + 4] */ 18246 MEM32(edx + 0x4) = esi; /* 0x39006518: mov dword ptr [edx + 4], esi */ 18247 esi = MEM32(edi + 0x4); /* 0x3900651B: mov esi, dword ptr [edi + 4] */ 18248 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x3900651E: cmp ecx, dword ptr [esi + 4] */ 18249 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 18250 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18251 _flag_k = FK_CMP; 18252 if (CMP_NE(_flag_a, _flag_b)) goto L_3900652D; /* 0x39006521: jne 0x3900652d */ 18253 L_39006523: 18254 MEM32(esi + 0x4) = edx; /* 0x39006523: mov dword ptr [esi + 4], edx */ 18255 MEM32(edx) = ecx; /* 0x39006526: mov dword ptr [edx], ecx */ 18256 goto L_390065E3; /* 0x39006528: jmp 0x390065e3 */ 18257 L_3900652D: 18258 esi = MEM32(ecx + 0x4); /* 0x3900652D: mov esi, dword ptr [ecx + 4] */ 18259 /* cmp ecx, MEM32(esi) */ /* 0x39006530: cmp ecx, dword ptr [esi] */ 18260 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 18261 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18262 _flag_k = FK_CMP; 18263 if (CMP_NE(_flag_a, _flag_b)) goto L_3900653D; /* 0x39006532: jne 0x3900653d */ 18264 L_39006534: 18265 MEM32(esi) = edx; /* 0x39006534: mov dword ptr [esi], edx */ 18266 MEM32(edx) = ecx; /* 0x39006536: mov dword ptr [edx], ecx */ 18267 goto L_390065E3; /* 0x39006538: jmp 0x390065e3 */ 18268 L_3900653D: 18269 MEM32(esi + 0x8) = edx; /* 0x3900653D: mov dword ptr [esi + 8], edx */ 18270 MEM32(edx) = ecx; /* 0x39006540: mov dword ptr [edx], ecx */ 18271 goto L_390065E3; /* 0x39006542: jmp 0x390065e3 */ 18272 L_390065E3: 18273 MEM32(ecx + 0x4) = edx; /* 0x390065E3: mov dword ptr [ecx + 4], edx */ 18274 esi = MEM32(ebp + (-0x4)); /* 0x390065E6: mov esi, dword ptr [ebp - 4] */ 18275 MEM8(eax + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065E9: mov byte ptr [eax + 0x38], bl */ 18276 ecx = esi + 0xC; /* 0x390065EC: lea ecx, [esi + 0xc] */ 18277 RECOMP_ICALL(0x390047D0u); /* 0x390065EF: call 0x390047d0 */ /* not lifted */ 18278 RECOMP_FLAGS_IN(); 18279 PUSH32(esp, esi); /* 0x390065F4: push esi */ 18280 RECOMP_ICALL(0x3900A0A0u); /* 0x390065F5: call 0x3900a0a0 */ /* not lifted */ 18281 RECOMP_FLAGS_IN(); 18282 eax = MEM32(edi + 0x10); /* 0x390065FA: mov eax, dword ptr [edi + 0x10] */ 18283 edx = MEM32(ebp + 0xC); /* 0x390065FD: mov edx, dword ptr [ebp + 0xc] */ 18284 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18285 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18286 esp = esp + 4; /* 0x39006600: add esp, 4 */ 18287 _flag_k = FK_ADD; 18288 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 18289 eax = eax - 1; /* 0x39006603: dec eax */ 18290 _flag_k = FK_DEC; 18291 MEM32(edi + 0x10) = eax; /* 0x39006604: mov dword ptr [edi + 0x10], eax */ 18292 eax = MEM32(ebp + 0x8); /* 0x39006607: mov eax, dword ptr [ebp + 8] */ 18293 edi = POP32_VAL(esp); /* 0x3900660A: pop edi */ 18294 esi = POP32_VAL(esp); /* 0x3900660B: pop esi */ 18295 MEM32(eax) = edx; /* 0x3900660C: mov dword ptr [eax], edx */ 18296 ebx = POP32_VAL(esp); /* 0x3900660E: pop ebx */ 18297 esp = ebp; /* 0x3900660F: mov esp, ebp */ 18298 ebp = POP32_VAL(esp); /* 0x39006611: pop ebp */ 18299 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x39006612: ret 8 */ 18300 RECOMP_REGS_OUT(); 18301 } 18302 18303 void sub_3900658B(void) { 18304 int _fpu_cmp = 0; 18305 uint32_t _cf = 0; 18306 int _df = 1; 18307 uint32_t _flag_k = FK_NONE; 18308 uint32_t _flag_a = 0, _flag_b = 0; 18309 uint32_t _itail_tgt = 0; 18310 RECOMP_REGS_LOCALS 18311 RECOMP_ENTER(0x3900658Bu); 18312 18313 L_3900658B: 18314 MEM32(edx) = ecx; /* 0x3900658B: mov dword ptr [edx], ecx */ 18315 MEM32(ecx + 0x4) = edx; /* 0x3900658D: mov dword ptr [ecx + 4], edx */ 18316 ecx = MEM32(eax + 0x4); /* 0x39006590: mov ecx, dword ptr [eax + 4] */ 18317 ecx = MEM32(ecx); /* 0x39006593: mov ecx, dword ptr [ecx] */ 18318 edx = MEM32(eax + 0x4); /* 0x39006595: mov edx, dword ptr [eax + 4] */ 18319 SET_LO8(edx, MEM8(edx + 0x38)); /* 0x39006598: mov dl, byte ptr [edx + 0x38] */ 18320 MEM8(ecx + 0x38) = (uint8_t)(LO8(edx)); /* 0x3900659B: mov byte ptr [ecx + 0x38], dl */ 18321 edx = MEM32(eax + 0x4); /* 0x3900659E: mov edx, dword ptr [eax + 4] */ 18322 MEM8(edx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065A1: mov byte ptr [edx + 0x38], bl */ 18323 ecx = MEM32(ecx); /* 0x390065A4: mov ecx, dword ptr [ecx] */ 18324 MEM8(ecx + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065A6: mov byte ptr [ecx + 0x38], bl */ 18325 ecx = MEM32(eax + 0x4); /* 0x390065A9: mov ecx, dword ptr [eax + 4] */ 18326 edx = MEM32(ecx); /* 0x390065AC: mov edx, dword ptr [ecx] */ 18327 esi = MEM32(edx + 0x8); /* 0x390065AE: mov esi, dword ptr [edx + 8] */ 18328 MEM32(ecx) = esi; /* 0x390065B1: mov dword ptr [ecx], esi */ 18329 esi = MEM32(edx + 0x8); /* 0x390065B3: mov esi, dword ptr [edx + 8] */ 18330 /* cmp esi, MEM32(edi + 0x8) */ /* 0x390065B6: cmp esi, dword ptr [edi + 8] */ 18331 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 18332 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18333 _flag_k = FK_CMP; 18334 if (CMP_EQ(_flag_a, _flag_b)) goto L_390065BE; /* 0x390065B9: je 0x390065be */ 18335 L_390065BB: 18336 MEM32(esi + 0x4) = ecx; /* 0x390065BB: mov dword ptr [esi + 4], ecx */ 18337 L_390065BE: 18338 esi = MEM32(ecx + 0x4); /* 0x390065BE: mov esi, dword ptr [ecx + 4] */ 18339 MEM32(edx + 0x4) = esi; /* 0x390065C1: mov dword ptr [edx + 4], esi */ 18340 esi = MEM32(edi + 0x4); /* 0x390065C4: mov esi, dword ptr [edi + 4] */ 18341 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x390065C7: cmp ecx, dword ptr [esi + 4] */ 18342 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 18343 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18344 _flag_k = FK_CMP; 18345 if (CMP_NE(_flag_a, _flag_b)) goto L_390065D1; /* 0x390065CA: jne 0x390065d1 */ 18346 L_390065CC: 18347 MEM32(esi + 0x4) = edx; /* 0x390065CC: mov dword ptr [esi + 4], edx */ 18348 goto L_390065E0; /* 0x390065CF: jmp 0x390065e0 */ 18349 L_390065D1: 18350 esi = MEM32(ecx + 0x4); /* 0x390065D1: mov esi, dword ptr [ecx + 4] */ 18351 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x390065D4: cmp ecx, dword ptr [esi + 8] */ 18352 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 18353 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18354 _flag_k = FK_CMP; 18355 if (CMP_NE(_flag_a, _flag_b)) goto L_390065DE; /* 0x390065D7: jne 0x390065de */ 18356 L_390065D9: 18357 MEM32(esi + 0x8) = edx; /* 0x390065D9: mov dword ptr [esi + 8], edx */ 18358 goto L_390065E0; /* 0x390065DC: jmp 0x390065e0 */ 18359 L_390065DE: 18360 MEM32(esi) = edx; /* 0x390065DE: mov dword ptr [esi], edx */ 18361 L_390065E0: 18362 MEM32(edx + 0x8) = ecx; /* 0x390065E0: mov dword ptr [edx + 8], ecx */ 18363 MEM32(ecx + 0x4) = edx; /* 0x390065E3: mov dword ptr [ecx + 4], edx */ 18364 esi = MEM32(ebp + (-0x4)); /* 0x390065E6: mov esi, dword ptr [ebp - 4] */ 18365 MEM8(eax + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065E9: mov byte ptr [eax + 0x38], bl */ 18366 ecx = esi + 0xC; /* 0x390065EC: lea ecx, [esi + 0xc] */ 18367 RECOMP_ICALL(0x390047D0u); /* 0x390065EF: call 0x390047d0 */ /* not lifted */ 18368 RECOMP_FLAGS_IN(); 18369 PUSH32(esp, esi); /* 0x390065F4: push esi */ 18370 RECOMP_ICALL(0x3900A0A0u); /* 0x390065F5: call 0x3900a0a0 */ /* not lifted */ 18371 RECOMP_FLAGS_IN(); 18372 eax = MEM32(edi + 0x10); /* 0x390065FA: mov eax, dword ptr [edi + 0x10] */ 18373 edx = MEM32(ebp + 0xC); /* 0x390065FD: mov edx, dword ptr [ebp + 0xc] */ 18374 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18375 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18376 esp = esp + 4; /* 0x39006600: add esp, 4 */ 18377 _flag_k = FK_ADD; 18378 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 18379 eax = eax - 1; /* 0x39006603: dec eax */ 18380 _flag_k = FK_DEC; 18381 MEM32(edi + 0x10) = eax; /* 0x39006604: mov dword ptr [edi + 0x10], eax */ 18382 eax = MEM32(ebp + 0x8); /* 0x39006607: mov eax, dword ptr [ebp + 8] */ 18383 edi = POP32_VAL(esp); /* 0x3900660A: pop edi */ 18384 esi = POP32_VAL(esp); /* 0x3900660B: pop esi */ 18385 MEM32(eax) = edx; /* 0x3900660C: mov dword ptr [eax], edx */ 18386 ebx = POP32_VAL(esp); /* 0x3900660E: pop ebx */ 18387 esp = ebp; /* 0x3900660F: mov esp, ebp */ 18388 ebp = POP32_VAL(esp); /* 0x39006611: pop ebp */ 18389 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x39006612: ret 8 */ 18390 RECOMP_REGS_OUT(); 18391 } 18392 18393 void sub_390065E0(void) { 18394 int _fpu_cmp = 0; 18395 uint32_t _cf = 0; 18396 int _df = 1; 18397 uint32_t _flag_k = FK_NONE; 18398 uint32_t _flag_a = 0, _flag_b = 0; 18399 uint32_t _itail_tgt = 0; 18400 RECOMP_REGS_LOCALS 18401 RECOMP_ENTER(0x390065E0u); 18402 18403 L_390065E0: 18404 MEM32(edx + 0x8) = ecx; /* 0x390065E0: mov dword ptr [edx + 8], ecx */ 18405 MEM32(ecx + 0x4) = edx; /* 0x390065E3: mov dword ptr [ecx + 4], edx */ 18406 esi = MEM32(ebp + (-0x4)); /* 0x390065E6: mov esi, dword ptr [ebp - 4] */ 18407 MEM8(eax + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065E9: mov byte ptr [eax + 0x38], bl */ 18408 ecx = esi + 0xC; /* 0x390065EC: lea ecx, [esi + 0xc] */ 18409 RECOMP_ICALL(0x390047D0u); /* 0x390065EF: call 0x390047d0 */ /* not lifted */ 18410 RECOMP_FLAGS_IN(); 18411 PUSH32(esp, esi); /* 0x390065F4: push esi */ 18412 RECOMP_ICALL(0x3900A0A0u); /* 0x390065F5: call 0x3900a0a0 */ /* not lifted */ 18413 RECOMP_FLAGS_IN(); 18414 eax = MEM32(edi + 0x10); /* 0x390065FA: mov eax, dword ptr [edi + 0x10] */ 18415 edx = MEM32(ebp + 0xC); /* 0x390065FD: mov edx, dword ptr [ebp + 0xc] */ 18416 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18417 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18418 esp = esp + 4; /* 0x39006600: add esp, 4 */ 18419 _flag_k = FK_ADD; 18420 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 18421 eax = eax - 1; /* 0x39006603: dec eax */ 18422 _flag_k = FK_DEC; 18423 MEM32(edi + 0x10) = eax; /* 0x39006604: mov dword ptr [edi + 0x10], eax */ 18424 eax = MEM32(ebp + 0x8); /* 0x39006607: mov eax, dword ptr [ebp + 8] */ 18425 edi = POP32_VAL(esp); /* 0x3900660A: pop edi */ 18426 esi = POP32_VAL(esp); /* 0x3900660B: pop esi */ 18427 MEM32(eax) = edx; /* 0x3900660C: mov dword ptr [eax], edx */ 18428 ebx = POP32_VAL(esp); /* 0x3900660E: pop ebx */ 18429 esp = ebp; /* 0x3900660F: mov esp, ebp */ 18430 ebp = POP32_VAL(esp); /* 0x39006611: pop ebp */ 18431 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x39006612: ret 8 */ 18432 RECOMP_REGS_OUT(); 18433 } 18434 18435 void sub_390065E3(void) { 18436 int _fpu_cmp = 0; 18437 uint32_t _cf = 0; 18438 int _df = 1; 18439 uint32_t _flag_k = FK_NONE; 18440 uint32_t _flag_a = 0, _flag_b = 0; 18441 uint32_t _itail_tgt = 0; 18442 RECOMP_REGS_LOCALS 18443 RECOMP_ENTER(0x390065E3u); 18444 18445 L_390065E3: 18446 MEM32(ecx + 0x4) = edx; /* 0x390065E3: mov dword ptr [ecx + 4], edx */ 18447 esi = MEM32(ebp + (-0x4)); /* 0x390065E6: mov esi, dword ptr [ebp - 4] */ 18448 MEM8(eax + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065E9: mov byte ptr [eax + 0x38], bl */ 18449 ecx = esi + 0xC; /* 0x390065EC: lea ecx, [esi + 0xc] */ 18450 RECOMP_ICALL(0x390047D0u); /* 0x390065EF: call 0x390047d0 */ /* not lifted */ 18451 RECOMP_FLAGS_IN(); 18452 PUSH32(esp, esi); /* 0x390065F4: push esi */ 18453 RECOMP_ICALL(0x3900A0A0u); /* 0x390065F5: call 0x3900a0a0 */ /* not lifted */ 18454 RECOMP_FLAGS_IN(); 18455 eax = MEM32(edi + 0x10); /* 0x390065FA: mov eax, dword ptr [edi + 0x10] */ 18456 edx = MEM32(ebp + 0xC); /* 0x390065FD: mov edx, dword ptr [ebp + 0xc] */ 18457 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18458 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18459 esp = esp + 4; /* 0x39006600: add esp, 4 */ 18460 _flag_k = FK_ADD; 18461 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 18462 eax = eax - 1; /* 0x39006603: dec eax */ 18463 _flag_k = FK_DEC; 18464 MEM32(edi + 0x10) = eax; /* 0x39006604: mov dword ptr [edi + 0x10], eax */ 18465 eax = MEM32(ebp + 0x8); /* 0x39006607: mov eax, dword ptr [ebp + 8] */ 18466 edi = POP32_VAL(esp); /* 0x3900660A: pop edi */ 18467 esi = POP32_VAL(esp); /* 0x3900660B: pop esi */ 18468 MEM32(eax) = edx; /* 0x3900660C: mov dword ptr [eax], edx */ 18469 ebx = POP32_VAL(esp); /* 0x3900660E: pop ebx */ 18470 esp = ebp; /* 0x3900660F: mov esp, ebp */ 18471 ebp = POP32_VAL(esp); /* 0x39006611: pop ebp */ 18472 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x39006612: ret 8 */ 18473 RECOMP_REGS_OUT(); 18474 } 18475 18476 void sub_390065E6(void) { 18477 int _fpu_cmp = 0; 18478 uint32_t _cf = 0; 18479 int _df = 1; 18480 uint32_t _flag_k = FK_NONE; 18481 uint32_t _flag_a = 0, _flag_b = 0; 18482 uint32_t _itail_tgt = 0; 18483 RECOMP_REGS_LOCALS 18484 RECOMP_ENTER(0x390065E6u); 18485 18486 L_390065E6: 18487 esi = MEM32(ebp + (-0x4)); /* 0x390065E6: mov esi, dword ptr [ebp - 4] */ 18488 MEM8(eax + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390065E9: mov byte ptr [eax + 0x38], bl */ 18489 ecx = esi + 0xC; /* 0x390065EC: lea ecx, [esi + 0xc] */ 18490 RECOMP_ICALL(0x390047D0u); /* 0x390065EF: call 0x390047d0 */ /* not lifted */ 18491 RECOMP_FLAGS_IN(); 18492 PUSH32(esp, esi); /* 0x390065F4: push esi */ 18493 RECOMP_ICALL(0x3900A0A0u); /* 0x390065F5: call 0x3900a0a0 */ /* not lifted */ 18494 RECOMP_FLAGS_IN(); 18495 eax = MEM32(edi + 0x10); /* 0x390065FA: mov eax, dword ptr [edi + 0x10] */ 18496 edx = MEM32(ebp + 0xC); /* 0x390065FD: mov edx, dword ptr [ebp + 0xc] */ 18497 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18498 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18499 esp = esp + 4; /* 0x39006600: add esp, 4 */ 18500 _flag_k = FK_ADD; 18501 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 18502 eax = eax - 1; /* 0x39006603: dec eax */ 18503 _flag_k = FK_DEC; 18504 MEM32(edi + 0x10) = eax; /* 0x39006604: mov dword ptr [edi + 0x10], eax */ 18505 eax = MEM32(ebp + 0x8); /* 0x39006607: mov eax, dword ptr [ebp + 8] */ 18506 edi = POP32_VAL(esp); /* 0x3900660A: pop edi */ 18507 esi = POP32_VAL(esp); /* 0x3900660B: pop esi */ 18508 MEM32(eax) = edx; /* 0x3900660C: mov dword ptr [eax], edx */ 18509 ebx = POP32_VAL(esp); /* 0x3900660E: pop ebx */ 18510 esp = ebp; /* 0x3900660F: mov esp, ebp */ 18511 ebp = POP32_VAL(esp); /* 0x39006611: pop ebp */ 18512 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x39006612: ret 8 */ 18513 RECOMP_REGS_OUT(); 18514 } 18515 18516 void sub_39006620(void) { 18517 int _fpu_cmp = 0; 18518 uint32_t _cf = 0; 18519 int _df = 1; 18520 uint32_t _flag_k = FK_NONE; 18521 uint32_t _flag_a = 0, _flag_b = 0; 18522 uint32_t _itail_tgt = 0; 18523 RECOMP_REGS_LOCALS 18524 RECOMP_ENTER(0x39006620u); 18525 18526 L_39006620: 18527 PUSH32(esp, ebp); /* 0x39006620: push ebp */ 18528 ebp = esp; /* 0x39006621: mov ebp, esp */ 18529 PUSH32(esp, ebx); /* 0x39006623: push ebx */ 18530 ebx = ecx; /* 0x39006624: mov ebx, ecx */ 18531 PUSH32(esp, esi); /* 0x39006626: push esi */ 18532 PUSH32(esp, edi); /* 0x39006627: push edi */ 18533 edi = MEM32(ebp + 0x8); /* 0x39006628: mov edi, dword ptr [ebp + 8] */ 18534 eax = MEM32(ebx + 0x8); /* 0x3900662B: mov eax, dword ptr [ebx + 8] */ 18535 /* cmp edi, eax */ /* 0x3900662E: cmp edi, eax */ 18536 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 18537 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18538 _flag_k = FK_CMP; 18539 esi = edi; /* 0x39006630: mov esi, edi */ 18540 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900665B; /* 0x39006632: je 0x3900665b */ 18541 L_39006634: 18542 eax = MEM32(esi + 0x8); /* 0x39006634: mov eax, dword ptr [esi + 8] */ 18543 ecx = ebx; /* 0x39006637: mov ecx, ebx */ 18544 PUSH32(esp, eax); /* 0x39006639: push eax */ 18545 RECOMP_ICALL(0x39006620u); /* 0x3900663A: call 0x39006620 */ /* not lifted */ 18546 RECOMP_FLAGS_IN(); 18547 esi = MEM32(esi); /* 0x3900663F: mov esi, dword ptr [esi] */ 18548 ecx = edi + 0xC; /* 0x39006641: lea ecx, [edi + 0xc] */ 18549 RECOMP_ICALL(0x390047D0u); /* 0x39006644: call 0x390047d0 */ /* not lifted */ 18550 RECOMP_FLAGS_IN(); 18551 PUSH32(esp, edi); /* 0x39006649: push edi */ 18552 RECOMP_ICALL(0x3900A0A0u); /* 0x3900664A: call 0x3900a0a0 */ /* not lifted */ 18553 RECOMP_FLAGS_IN(); 18554 eax = MEM32(ebx + 0x8); /* 0x3900664F: mov eax, dword ptr [ebx + 8] */ 18555 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18556 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18557 esp = esp + 4; /* 0x39006652: add esp, 4 */ 18558 _flag_k = FK_ADD; 18559 /* cmp esi, eax */ /* 0x39006655: cmp esi, eax */ 18560 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 18561 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18562 _flag_k = FK_CMP; 18563 edi = esi; /* 0x39006657: mov edi, esi */ 18564 RECOMP_BACKEDGE(); 18565 if (CMP_NE(_flag_a, _flag_b)) goto L_39006634; /* 0x39006659: jne 0x39006634 */ 18566 L_3900665B: 18567 edi = POP32_VAL(esp); /* 0x3900665B: pop edi */ 18568 esi = POP32_VAL(esp); /* 0x3900665C: pop esi */ 18569 ebx = POP32_VAL(esp); /* 0x3900665D: pop ebx */ 18570 ebp = POP32_VAL(esp); /* 0x3900665E: pop ebp */ 18571 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x3900665F: ret 4 */ 18572 RECOMP_REGS_OUT(); 18573 } 18574 18575 void sub_39006670(void) { 18576 int _fpu_cmp = 0; 18577 uint32_t _cf = 0; 18578 int _df = 1; 18579 uint32_t _flag_k = FK_NONE; 18580 uint32_t _flag_a = 0, _flag_b = 0; 18581 uint32_t _itail_tgt = 0; 18582 RECOMP_REGS_LOCALS 18583 RECOMP_ENTER(0x39006670u); 18584 18585 L_39006670: 18586 PUSH32(esp, ebx); /* 0x39006670: push ebx */ 18587 PUSH32(esp, esi); /* 0x39006671: push esi */ 18588 PUSH32(esp, edi); /* 0x39006672: push edi */ 18589 esi = ecx; /* 0x39006673: mov esi, ecx */ 18590 PUSH32(esp, 0x3Cu); /* 0x39006675: push 0x3c */ 18591 RECOMP_ICALL(0x3900A0ACu); /* 0x39006677: call 0x3900a0ac */ /* not lifted */ 18592 RECOMP_FLAGS_IN(); 18593 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18594 ebx = 0; /* 0x3900667C: xor ebx, ebx */ 18595 _cf = 0; 18596 _flag_k = FK_TEST; 18597 SET_LO8(ecx, 1); /* 0x3900667E: mov cl, 1 */ 18598 MEM32(eax + 0x4) = ebx; /* 0x39006680: mov dword ptr [eax + 4], ebx */ 18599 MEM8(eax + 0x38) = (uint8_t)(LO8(ecx)); /* 0x39006683: mov byte ptr [eax + 0x38], cl */ 18600 MEM8(eax + 0x39) = (uint8_t)(LO8(ebx)); /* 0x39006686: mov byte ptr [eax + 0x39], bl */ 18601 MEM32(esi + 0x8) = eax; /* 0x39006689: mov dword ptr [esi + 8], eax */ 18602 MEM8(eax + 0x39) = (uint8_t)(LO8(ecx)); /* 0x3900668C: mov byte ptr [eax + 0x39], cl */ 18603 eax = MEM32(esi + 0x8); /* 0x3900668F: mov eax, dword ptr [esi + 8] */ 18604 PUSH32(esp, 0x3Cu); /* 0x39006692: push 0x3c */ 18605 MEM32(eax) = ebx; /* 0x39006694: mov dword ptr [eax], ebx */ 18606 ecx = MEM32(esi + 0x8); /* 0x39006696: mov ecx, dword ptr [esi + 8] */ 18607 MEM32(ecx + 0x8) = ebx; /* 0x39006699: mov dword ptr [ecx + 8], ebx */ 18608 edi = MEM32(esi + 0x8); /* 0x3900669C: mov edi, dword ptr [esi + 8] */ 18609 RECOMP_ICALL(0x3900A0ACu); /* 0x3900669F: call 0x3900a0ac */ /* not lifted */ 18610 RECOMP_FLAGS_IN(); 18611 MEM32(eax + 0x4) = edi; /* 0x390066A4: mov dword ptr [eax + 4], edi */ 18612 MEM8(eax + 0x38) = (uint8_t)(LO8(ebx)); /* 0x390066A7: mov byte ptr [eax + 0x38], bl */ 18613 MEM8(eax + 0x39) = (uint8_t)(LO8(ebx)); /* 0x390066AA: mov byte ptr [eax + 0x39], bl */ 18614 MEM32(esi + 0x4) = eax; /* 0x390066AD: mov dword ptr [esi + 4], eax */ 18615 MEM32(eax) = eax; /* 0x390066B0: mov dword ptr [eax], eax */ 18616 eax = MEM32(esi + 0x4); /* 0x390066B2: mov eax, dword ptr [esi + 4] */ 18617 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 18618 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18619 esp = esp + 8; /* 0x390066B5: add esp, 8 */ 18620 _flag_k = FK_ADD; 18621 MEM32(eax + 0x8) = eax; /* 0x390066B8: mov dword ptr [eax + 8], eax */ 18622 MEM32(esi + 0x10) = ebx; /* 0x390066BB: mov dword ptr [esi + 0x10], ebx */ 18623 edi = POP32_VAL(esp); /* 0x390066BE: pop edi */ 18624 esi = POP32_VAL(esp); /* 0x390066BF: pop esi */ 18625 ebx = POP32_VAL(esp); /* 0x390066C0: pop ebx */ 18626 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x390066C1: ret */ 18627 RECOMP_REGS_OUT(); 18628 } 18629 18630 void sub_390066D0(void) { 18631 int _fpu_cmp = 0; 18632 uint32_t _cf = 0; 18633 int _df = 1; 18634 uint32_t _flag_k = FK_NONE; 18635 uint32_t _flag_a = 0, _flag_b = 0; 18636 uint32_t _itail_tgt = 0; 18637 RECOMP_REGS_LOCALS 18638 RECOMP_ENTER(0x390066D0u); 18639 18640 L_390066D0: 18641 PUSH32(esp, ebp); /* 0x390066D0: push ebp */ 18642 ebp = esp; /* 0x390066D1: mov ebp, esp */ 18643 PUSH32(esp, ecx); /* 0x390066D3: push ecx */ 18644 PUSH32(esp, ebx); /* 0x390066D4: push ebx */ 18645 PUSH32(esp, esi); /* 0x390066D5: push esi */ 18646 PUSH32(esp, edi); /* 0x390066D6: push edi */ 18647 esi = ecx; /* 0x390066D7: mov esi, ecx */ 18648 PUSH32(esp, 0x18u); /* 0x390066D9: push 0x18 */ 18649 RECOMP_ICALL(0x3900A0ACu); /* 0x390066DB: call 0x3900a0ac */ /* not lifted */ 18650 RECOMP_FLAGS_IN(); 18651 edi = MEM32(ebp + 0x10); /* 0x390066E0: mov edi, dword ptr [ebp + 0x10] */ 18652 ebx = MEM32(ebp + 0x14); /* 0x390066E3: mov ebx, dword ptr [ebp + 0x14] */ 18653 MEM32(eax + 0x4) = edi; /* 0x390066E6: mov dword ptr [eax + 4], edi */ 18654 MEM8(eax + 0x14) = (uint8_t)(0); /* 0x390066E9: mov byte ptr [eax + 0x14], 0 */ 18655 MEM8(eax + 0x15) = (uint8_t)(0); /* 0x390066ED: mov byte ptr [eax + 0x15], 0 */ 18656 ecx = MEM32(esi + 0x8); /* 0x390066F1: mov ecx, dword ptr [esi + 8] */ 18657 MEM32(eax) = ecx; /* 0x390066F4: mov dword ptr [eax], ecx */ 18658 edx = MEM32(esi + 0x8); /* 0x390066F6: mov edx, dword ptr [esi + 8] */ 18659 MEM32(ebp + (-0x4)) = eax; /* 0x390066F9: mov dword ptr [ebp - 4], eax */ 18660 MEM32(eax + 0x8) = edx; /* 0x390066FC: mov dword ptr [eax + 8], edx */ 18661 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu); 18662 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18663 eax = eax + 0xCu; /* 0x390066FF: add eax, 0xc */ 18664 _flag_k = FK_ADD; 18665 PUSH32(esp, ebx); /* 0x39006702: push ebx */ 18666 PUSH32(esp, eax); /* 0x39006703: push eax */ 18667 RECOMP_ICALL(0x39007240u); /* 0x39006704: call 0x39007240 */ /* not lifted */ 18668 RECOMP_FLAGS_IN(); 18669 ecx = MEM32(esi + 0x10); /* 0x39006709: mov ecx, dword ptr [esi + 0x10] */ 18670 eax = MEM32(esi + 0x4); /* 0x3900670C: mov eax, dword ptr [esi + 4] */ 18671 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 18672 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18673 esp = esp + 0xCu; /* 0x3900670F: add esp, 0xc */ 18674 _flag_k = FK_ADD; 18675 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 18676 ecx = ecx + 1; /* 0x39006712: inc ecx */ 18677 _flag_k = FK_INC; 18678 /* cmp edi, eax */ /* 0x39006713: cmp edi, eax */ 18679 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 18680 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18681 _flag_k = FK_CMP; 18682 MEM32(esi + 0x10) = ecx; /* 0x39006715: mov dword ptr [esi + 0x10], ecx */ 18683 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006740; /* 0x39006718: je 0x39006740 */ 18684 L_3900671A: 18685 eax = MEM32(ebp + 0xC); /* 0x3900671A: mov eax, dword ptr [ebp + 0xc] */ 18686 ecx = MEM32(esi + 0x8); /* 0x3900671D: mov ecx, dword ptr [esi + 8] */ 18687 /* cmp eax, ecx */ /* 0x39006720: cmp eax, ecx */ 18688 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 18689 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18690 _flag_k = FK_CMP; 18691 if (CMP_NE(_flag_a, _flag_b)) goto L_39006740; /* 0x39006722: jne 0x39006740 */ 18692 L_39006724: 18693 ecx = MEM32(ebx); /* 0x39006724: mov ecx, dword ptr [ebx] */ 18694 eax = MEM32(edi + 0xC); /* 0x39006726: mov eax, dword ptr [edi + 0xc] */ 18695 /* cmp ecx, eax */ /* 0x39006729: cmp ecx, eax */ 18696 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 18697 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18698 _flag_k = FK_CMP; 18699 if (CMP_B(_flag_a, _flag_b)) goto L_39006740; /* 0x3900672B: jb 0x39006740 */ 18700 L_3900672D: 18701 ecx = MEM32(ebp + (-0x4)); /* 0x3900672D: mov ecx, dword ptr [ebp - 4] */ 18702 MEM32(edi + 0x8) = ecx; /* 0x39006730: mov dword ptr [edi + 8], ecx */ 18703 eax = MEM32(esi + 0x4); /* 0x39006733: mov eax, dword ptr [esi + 4] */ 18704 /* cmp edi, MEM32(eax + 0x8) */ /* 0x39006736: cmp edi, dword ptr [eax + 8] */ 18705 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 18706 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18707 _flag_k = FK_CMP; 18708 if (CMP_NE(_flag_a, _flag_b)) goto L_39006760; /* 0x39006739: jne 0x39006760 */ 18709 L_3900673B: 18710 MEM32(eax + 0x8) = ecx; /* 0x3900673B: mov dword ptr [eax + 8], ecx */ 18711 goto L_39006760; /* 0x3900673E: jmp 0x39006760 */ 18712 L_39006740: 18713 ecx = MEM32(ebp + (-0x4)); /* 0x39006740: mov ecx, dword ptr [ebp - 4] */ 18714 MEM32(edi) = ecx; /* 0x39006743: mov dword ptr [edi], ecx */ 18715 eax = MEM32(esi + 0x4); /* 0x39006745: mov eax, dword ptr [esi + 4] */ 18716 /* cmp edi, eax */ /* 0x39006748: cmp edi, eax */ 18717 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 18718 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18719 _flag_k = FK_CMP; 18720 if (CMP_NE(_flag_a, _flag_b)) goto L_39006757; /* 0x3900674A: jne 0x39006757 */ 18721 L_3900674C: 18722 MEM32(eax + 0x4) = ecx; /* 0x3900674C: mov dword ptr [eax + 4], ecx */ 18723 edx = MEM32(esi + 0x4); /* 0x3900674F: mov edx, dword ptr [esi + 4] */ 18724 MEM32(edx + 0x8) = ecx; /* 0x39006752: mov dword ptr [edx + 8], ecx */ 18725 goto L_39006760; /* 0x39006755: jmp 0x39006760 */ 18726 L_39006757: 18727 /* cmp edi, MEM32(eax) */ /* 0x39006757: cmp edi, dword ptr [eax] */ 18728 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax)); 18729 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18730 _flag_k = FK_CMP; 18731 if (CMP_NE(_flag_a, _flag_b)) goto L_39006760; /* 0x39006759: jne 0x39006760 */ 18732 L_3900675B: 18733 ecx = MEM32(ebp + (-0x4)); /* 0x3900675B: mov ecx, dword ptr [ebp - 4] */ 18734 MEM32(eax) = ecx; /* 0x3900675E: mov dword ptr [eax], ecx */ 18735 L_39006760: 18736 edx = MEM32(esi + 0x4); /* 0x39006760: mov edx, dword ptr [esi + 4] */ 18737 eax = MEM32(ebp + (-0x4)); /* 0x39006763: mov eax, dword ptr [ebp - 4] */ 18738 SET_LO8(ebx, 1); /* 0x39006766: mov bl, 1 */ 18739 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006768: cmp eax, dword ptr [edx + 4] */ 18740 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 18741 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18742 _flag_k = FK_CMP; 18743 if (CMP_EQ(_flag_a, _flag_b)) goto L_390068F1; /* 0x3900676B: je 0x390068f1 */ 18744 L_39006771: 18745 ecx = MEM32(eax + 0x4); /* 0x39006771: mov ecx, dword ptr [eax + 4] */ 18746 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x39006774: mov dl, byte ptr [ecx + 0x14] */ 18747 /* test LO8(edx), LO8(edx) */ /* 0x39006777: test dl, dl */ 18748 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 18749 _cf = 0; 18750 _flag_k = FK_NARROW(FK_TEST, 24); 18751 if (TEST_NZ(_flag_a, _flag_b)) goto L_390068F1; /* 0x39006779: jne 0x390068f1 */ 18752 L_3900677F: 18753 edi = MEM32(ecx + 0x4); /* 0x3900677F: mov edi, dword ptr [ecx + 4] */ 18754 edx = MEM32(edi); /* 0x39006782: mov edx, dword ptr [edi] */ 18755 /* cmp ecx, edx */ /* 0x39006784: cmp ecx, edx */ 18756 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 18757 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18758 _flag_k = FK_CMP; 18759 if (CMP_NE(_flag_a, _flag_b)) goto L_3900684D; /* 0x39006786: jne 0x3900684d */ 18760 L_3900678C: 18761 edx = MEM32(edi + 0x8); /* 0x3900678C: mov edx, dword ptr [edi + 8] */ 18762 /* cmp MEM8(edx + 0x14), 0 */ /* 0x3900678F: cmp byte ptr [edx + 0x14], 0 */ 18763 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 18764 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18765 _flag_k = FK_NARROW(FK_CMP, 24); 18766 if (CMP_NE(_flag_a, _flag_b)) goto L_390067B0; /* 0x39006793: jne 0x390067b0 */ 18767 L_39006795: 18768 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39006795: mov byte ptr [ecx + 0x14], bl */ 18769 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39006798: mov byte ptr [edx + 0x14], bl */ 18770 ecx = MEM32(eax + 0x4); /* 0x3900679B: mov ecx, dword ptr [eax + 4] */ 18771 edx = MEM32(ecx + 0x4); /* 0x3900679E: mov edx, dword ptr [ecx + 4] */ 18772 MEM8(edx + 0x14) = (uint8_t)(0); /* 0x390067A1: mov byte ptr [edx + 0x14], 0 */ 18773 eax = MEM32(eax + 0x4); /* 0x390067A5: mov eax, dword ptr [eax + 4] */ 18774 eax = MEM32(eax + 0x4); /* 0x390067A8: mov eax, dword ptr [eax + 4] */ 18775 goto L_390068E5; /* 0x390067AB: jmp 0x390068e5 */ 18776 L_390067B0: 18777 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x390067B0: cmp eax, dword ptr [ecx + 8] */ 18778 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 18779 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18780 _flag_k = FK_CMP; 18781 if (CMP_NE(_flag_a, _flag_b)) goto L_390067EF; /* 0x390067B3: jne 0x390067ef */ 18782 L_390067B5: 18783 eax = ecx; /* 0x390067B5: mov eax, ecx */ 18784 ecx = MEM32(eax + 0x8); /* 0x390067B7: mov ecx, dword ptr [eax + 8] */ 18785 edx = MEM32(ecx); /* 0x390067BA: mov edx, dword ptr [ecx] */ 18786 MEM32(eax + 0x8) = edx; /* 0x390067BC: mov dword ptr [eax + 8], edx */ 18787 edx = MEM32(ecx); /* 0x390067BF: mov edx, dword ptr [ecx] */ 18788 /* cmp edx, MEM32(esi + 0x8) */ /* 0x390067C1: cmp edx, dword ptr [esi + 8] */ 18789 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 18790 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18791 _flag_k = FK_CMP; 18792 if (CMP_EQ(_flag_a, _flag_b)) goto L_390067C9; /* 0x390067C4: je 0x390067c9 */ 18793 L_390067C6: 18794 MEM32(edx + 0x4) = eax; /* 0x390067C6: mov dword ptr [edx + 4], eax */ 18795 L_390067C9: 18796 edx = MEM32(eax + 0x4); /* 0x390067C9: mov edx, dword ptr [eax + 4] */ 18797 MEM32(ecx + 0x4) = edx; /* 0x390067CC: mov dword ptr [ecx + 4], edx */ 18798 edx = MEM32(esi + 0x4); /* 0x390067CF: mov edx, dword ptr [esi + 4] */ 18799 /* cmp eax, MEM32(edx + 0x4) */ /* 0x390067D2: cmp eax, dword ptr [edx + 4] */ 18800 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 18801 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18802 _flag_k = FK_CMP; 18803 if (CMP_NE(_flag_a, _flag_b)) goto L_390067DC; /* 0x390067D5: jne 0x390067dc */ 18804 L_390067D7: 18805 MEM32(edx + 0x4) = ecx; /* 0x390067D7: mov dword ptr [edx + 4], ecx */ 18806 goto L_390067EA; /* 0x390067DA: jmp 0x390067ea */ 18807 L_390067DC: 18808 edx = MEM32(eax + 0x4); /* 0x390067DC: mov edx, dword ptr [eax + 4] */ 18809 /* cmp eax, MEM32(edx) */ /* 0x390067DF: cmp eax, dword ptr [edx] */ 18810 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 18811 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18812 _flag_k = FK_CMP; 18813 if (CMP_NE(_flag_a, _flag_b)) goto L_390067E7; /* 0x390067E1: jne 0x390067e7 */ 18814 L_390067E3: 18815 MEM32(edx) = ecx; /* 0x390067E3: mov dword ptr [edx], ecx */ 18816 goto L_390067EA; /* 0x390067E5: jmp 0x390067ea */ 18817 L_390067E7: 18818 MEM32(edx + 0x8) = ecx; /* 0x390067E7: mov dword ptr [edx + 8], ecx */ 18819 L_390067EA: 18820 MEM32(ecx) = eax; /* 0x390067EA: mov dword ptr [ecx], eax */ 18821 MEM32(eax + 0x4) = ecx; /* 0x390067EC: mov dword ptr [eax + 4], ecx */ 18822 L_390067EF: 18823 ecx = MEM32(eax + 0x4); /* 0x390067EF: mov ecx, dword ptr [eax + 4] */ 18824 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x390067F2: mov byte ptr [ecx + 0x14], bl */ 18825 edx = MEM32(eax + 0x4); /* 0x390067F5: mov edx, dword ptr [eax + 4] */ 18826 ecx = MEM32(edx + 0x4); /* 0x390067F8: mov ecx, dword ptr [edx + 4] */ 18827 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x390067FB: mov byte ptr [ecx + 0x14], 0 */ 18828 edx = MEM32(eax + 0x4); /* 0x390067FF: mov edx, dword ptr [eax + 4] */ 18829 ecx = MEM32(edx + 0x4); /* 0x39006802: mov ecx, dword ptr [edx + 4] */ 18830 edx = MEM32(ecx); /* 0x39006805: mov edx, dword ptr [ecx] */ 18831 edi = MEM32(edx + 0x8); /* 0x39006807: mov edi, dword ptr [edx + 8] */ 18832 MEM32(ecx) = edi; /* 0x3900680A: mov dword ptr [ecx], edi */ 18833 edi = MEM32(edx + 0x8); /* 0x3900680C: mov edi, dword ptr [edx + 8] */ 18834 /* cmp edi, MEM32(esi + 0x8) */ /* 0x3900680F: cmp edi, dword ptr [esi + 8] */ 18835 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 18836 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18837 _flag_k = FK_CMP; 18838 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006817; /* 0x39006812: je 0x39006817 */ 18839 L_39006814: 18840 MEM32(edi + 0x4) = ecx; /* 0x39006814: mov dword ptr [edi + 4], ecx */ 18841 L_39006817: 18842 edi = MEM32(ecx + 0x4); /* 0x39006817: mov edi, dword ptr [ecx + 4] */ 18843 MEM32(edx + 0x4) = edi; /* 0x3900681A: mov dword ptr [edx + 4], edi */ 18844 edi = MEM32(esi + 0x4); /* 0x3900681D: mov edi, dword ptr [esi + 4] */ 18845 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006820: cmp ecx, dword ptr [edi + 4] */ 18846 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 18847 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18848 _flag_k = FK_CMP; 18849 if (CMP_NE(_flag_a, _flag_b)) goto L_39006830; /* 0x39006823: jne 0x39006830 */ 18850 L_39006825: 18851 MEM32(edi + 0x4) = edx; /* 0x39006825: mov dword ptr [edi + 4], edx */ 18852 MEM32(edx + 0x8) = ecx; /* 0x39006828: mov dword ptr [edx + 8], ecx */ 18853 goto L_390068E2; /* 0x3900682B: jmp 0x390068e2 */ 18854 L_39006830: 18855 edi = MEM32(ecx + 0x4); /* 0x39006830: mov edi, dword ptr [ecx + 4] */ 18856 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x39006833: cmp ecx, dword ptr [edi + 8] */ 18857 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 18858 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18859 _flag_k = FK_CMP; 18860 if (CMP_NE(_flag_a, _flag_b)) goto L_39006843; /* 0x39006836: jne 0x39006843 */ 18861 L_39006838: 18862 MEM32(edi + 0x8) = edx; /* 0x39006838: mov dword ptr [edi + 8], edx */ 18863 MEM32(edx + 0x8) = ecx; /* 0x3900683B: mov dword ptr [edx + 8], ecx */ 18864 goto L_390068E2; /* 0x3900683E: jmp 0x390068e2 */ 18865 L_39006843: 18866 MEM32(edi) = edx; /* 0x39006843: mov dword ptr [edi], edx */ 18867 MEM32(edx + 0x8) = ecx; /* 0x39006845: mov dword ptr [edx + 8], ecx */ 18868 goto L_390068E2; /* 0x39006848: jmp 0x390068e2 */ 18869 L_3900684D: 18870 /* cmp MEM8(edx + 0x14), 0 */ /* 0x3900684D: cmp byte ptr [edx + 0x14], 0 */ 18871 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 18872 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18873 _flag_k = FK_NARROW(FK_CMP, 24); 18874 RECOMP_BACKEDGE(); 18875 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006795; /* 0x39006851: je 0x39006795 */ 18876 L_39006857: 18877 /* cmp eax, MEM32(ecx) */ /* 0x39006857: cmp eax, dword ptr [ecx] */ 18878 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 18879 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18880 _flag_k = FK_CMP; 18881 if (CMP_NE(_flag_a, _flag_b)) goto L_39006897; /* 0x39006859: jne 0x39006897 */ 18882 L_3900685B: 18883 eax = ecx; /* 0x3900685B: mov eax, ecx */ 18884 ecx = MEM32(eax); /* 0x3900685D: mov ecx, dword ptr [eax] */ 18885 edx = MEM32(ecx + 0x8); /* 0x3900685F: mov edx, dword ptr [ecx + 8] */ 18886 MEM32(eax) = edx; /* 0x39006862: mov dword ptr [eax], edx */ 18887 edx = MEM32(ecx + 0x8); /* 0x39006864: mov edx, dword ptr [ecx + 8] */ 18888 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006867: cmp edx, dword ptr [esi + 8] */ 18889 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 18890 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18891 _flag_k = FK_CMP; 18892 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900686F; /* 0x3900686A: je 0x3900686f */ 18893 L_3900686C: 18894 MEM32(edx + 0x4) = eax; /* 0x3900686C: mov dword ptr [edx + 4], eax */ 18895 L_3900686F: 18896 edx = MEM32(eax + 0x4); /* 0x3900686F: mov edx, dword ptr [eax + 4] */ 18897 MEM32(ecx + 0x4) = edx; /* 0x39006872: mov dword ptr [ecx + 4], edx */ 18898 edx = MEM32(esi + 0x4); /* 0x39006875: mov edx, dword ptr [esi + 4] */ 18899 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006878: cmp eax, dword ptr [edx + 4] */ 18900 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 18901 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18902 _flag_k = FK_CMP; 18903 if (CMP_NE(_flag_a, _flag_b)) goto L_39006882; /* 0x3900687B: jne 0x39006882 */ 18904 L_3900687D: 18905 MEM32(edx + 0x4) = ecx; /* 0x3900687D: mov dword ptr [edx + 4], ecx */ 18906 goto L_39006891; /* 0x39006880: jmp 0x39006891 */ 18907 L_39006882: 18908 edx = MEM32(eax + 0x4); /* 0x39006882: mov edx, dword ptr [eax + 4] */ 18909 /* cmp eax, MEM32(edx + 0x8) */ /* 0x39006885: cmp eax, dword ptr [edx + 8] */ 18910 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 18911 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18912 _flag_k = FK_CMP; 18913 if (CMP_NE(_flag_a, _flag_b)) goto L_3900688F; /* 0x39006888: jne 0x3900688f */ 18914 L_3900688A: 18915 MEM32(edx + 0x8) = ecx; /* 0x3900688A: mov dword ptr [edx + 8], ecx */ 18916 goto L_39006891; /* 0x3900688D: jmp 0x39006891 */ 18917 L_3900688F: 18918 MEM32(edx) = ecx; /* 0x3900688F: mov dword ptr [edx], ecx */ 18919 L_39006891: 18920 MEM32(ecx + 0x8) = eax; /* 0x39006891: mov dword ptr [ecx + 8], eax */ 18921 MEM32(eax + 0x4) = ecx; /* 0x39006894: mov dword ptr [eax + 4], ecx */ 18922 L_39006897: 18923 ecx = MEM32(eax + 0x4); /* 0x39006897: mov ecx, dword ptr [eax + 4] */ 18924 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x3900689A: mov byte ptr [ecx + 0x14], bl */ 18925 edx = MEM32(eax + 0x4); /* 0x3900689D: mov edx, dword ptr [eax + 4] */ 18926 ecx = MEM32(edx + 0x4); /* 0x390068A0: mov ecx, dword ptr [edx + 4] */ 18927 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x390068A3: mov byte ptr [ecx + 0x14], 0 */ 18928 edx = MEM32(eax + 0x4); /* 0x390068A7: mov edx, dword ptr [eax + 4] */ 18929 ecx = MEM32(edx + 0x4); /* 0x390068AA: mov ecx, dword ptr [edx + 4] */ 18930 edx = MEM32(ecx + 0x8); /* 0x390068AD: mov edx, dword ptr [ecx + 8] */ 18931 edi = MEM32(edx); /* 0x390068B0: mov edi, dword ptr [edx] */ 18932 MEM32(ecx + 0x8) = edi; /* 0x390068B2: mov dword ptr [ecx + 8], edi */ 18933 edi = MEM32(edx); /* 0x390068B5: mov edi, dword ptr [edx] */ 18934 /* cmp edi, MEM32(esi + 0x8) */ /* 0x390068B7: cmp edi, dword ptr [esi + 8] */ 18935 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 18936 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18937 _flag_k = FK_CMP; 18938 if (CMP_EQ(_flag_a, _flag_b)) goto L_390068BF; /* 0x390068BA: je 0x390068bf */ 18939 L_390068BC: 18940 MEM32(edi + 0x4) = ecx; /* 0x390068BC: mov dword ptr [edi + 4], ecx */ 18941 L_390068BF: 18942 edi = MEM32(ecx + 0x4); /* 0x390068BF: mov edi, dword ptr [ecx + 4] */ 18943 MEM32(edx + 0x4) = edi; /* 0x390068C2: mov dword ptr [edx + 4], edi */ 18944 edi = MEM32(esi + 0x4); /* 0x390068C5: mov edi, dword ptr [esi + 4] */ 18945 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x390068C8: cmp ecx, dword ptr [edi + 4] */ 18946 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 18947 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18948 _flag_k = FK_CMP; 18949 if (CMP_NE(_flag_a, _flag_b)) goto L_390068D2; /* 0x390068CB: jne 0x390068d2 */ 18950 L_390068CD: 18951 MEM32(edi + 0x4) = edx; /* 0x390068CD: mov dword ptr [edi + 4], edx */ 18952 goto L_390068E0; /* 0x390068D0: jmp 0x390068e0 */ 18953 L_390068D2: 18954 edi = MEM32(ecx + 0x4); /* 0x390068D2: mov edi, dword ptr [ecx + 4] */ 18955 /* cmp ecx, MEM32(edi) */ /* 0x390068D5: cmp ecx, dword ptr [edi] */ 18956 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 18957 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18958 _flag_k = FK_CMP; 18959 if (CMP_NE(_flag_a, _flag_b)) goto L_390068DD; /* 0x390068D7: jne 0x390068dd */ 18960 L_390068D9: 18961 MEM32(edi) = edx; /* 0x390068D9: mov dword ptr [edi], edx */ 18962 goto L_390068E0; /* 0x390068DB: jmp 0x390068e0 */ 18963 L_390068DD: 18964 MEM32(edi + 0x8) = edx; /* 0x390068DD: mov dword ptr [edi + 8], edx */ 18965 L_390068E0: 18966 MEM32(edx) = ecx; /* 0x390068E0: mov dword ptr [edx], ecx */ 18967 L_390068E2: 18968 MEM32(ecx + 0x4) = edx; /* 0x390068E2: mov dword ptr [ecx + 4], edx */ 18969 L_390068E5: 18970 ecx = MEM32(esi + 0x4); /* 0x390068E5: mov ecx, dword ptr [esi + 4] */ 18971 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x390068E8: cmp eax, dword ptr [ecx + 4] */ 18972 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 18973 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18974 _flag_k = FK_CMP; 18975 RECOMP_BACKEDGE(); 18976 if (CMP_NE(_flag_a, _flag_b)) goto L_39006771; /* 0x390068EB: jne 0x39006771 */ 18977 L_390068F1: 18978 edx = MEM32(esi + 0x4); /* 0x390068F1: mov edx, dword ptr [esi + 4] */ 18979 ecx = MEM32(ebp + (-0x4)); /* 0x390068F4: mov ecx, dword ptr [ebp - 4] */ 18980 edi = POP32_VAL(esp); /* 0x390068F7: pop edi */ 18981 esi = POP32_VAL(esp); /* 0x390068F8: pop esi */ 18982 eax = MEM32(edx + 0x4); /* 0x390068F9: mov eax, dword ptr [edx + 4] */ 18983 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x390068FC: mov byte ptr [eax + 0x14], bl */ 18984 eax = MEM32(ebp + 0x8); /* 0x390068FF: mov eax, dword ptr [ebp + 8] */ 18985 ebx = POP32_VAL(esp); /* 0x39006902: pop ebx */ 18986 MEM32(eax) = ecx; /* 0x39006903: mov dword ptr [eax], ecx */ 18987 esp = ebp; /* 0x39006905: mov esp, ebp */ 18988 ebp = POP32_VAL(esp); /* 0x39006907: pop ebp */ 18989 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39006908: ret 0x10 */ 18990 RECOMP_REGS_OUT(); 18991 } 18992 18993 void sub_39006771(void) { 18994 int _fpu_cmp = 0; 18995 uint32_t _cf = 0; 18996 int _df = 1; 18997 uint32_t _flag_k = FK_NONE; 18998 uint32_t _flag_a = 0, _flag_b = 0; 18999 uint32_t _itail_tgt = 0; 19000 RECOMP_REGS_LOCALS 19001 RECOMP_ENTER(0x39006771u); 19002 19003 L_39006771: 19004 ecx = MEM32(eax + 0x4); /* 0x39006771: mov ecx, dword ptr [eax + 4] */ 19005 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x39006774: mov dl, byte ptr [ecx + 0x14] */ 19006 /* test LO8(edx), LO8(edx) */ /* 0x39006777: test dl, dl */ 19007 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 19008 _cf = 0; 19009 _flag_k = FK_NARROW(FK_TEST, 24); 19010 if (TEST_NZ(_flag_a, _flag_b)) goto L_390068F1; /* 0x39006779: jne 0x390068f1 */ 19011 L_3900677F: 19012 edi = MEM32(ecx + 0x4); /* 0x3900677F: mov edi, dword ptr [ecx + 4] */ 19013 edx = MEM32(edi); /* 0x39006782: mov edx, dword ptr [edi] */ 19014 /* cmp ecx, edx */ /* 0x39006784: cmp ecx, edx */ 19015 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 19016 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19017 _flag_k = FK_CMP; 19018 if (CMP_NE(_flag_a, _flag_b)) goto L_3900684D; /* 0x39006786: jne 0x3900684d */ 19019 L_3900678C: 19020 edx = MEM32(edi + 0x8); /* 0x3900678C: mov edx, dword ptr [edi + 8] */ 19021 /* cmp MEM8(edx + 0x14), 0 */ /* 0x3900678F: cmp byte ptr [edx + 0x14], 0 */ 19022 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 19023 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19024 _flag_k = FK_NARROW(FK_CMP, 24); 19025 if (CMP_NE(_flag_a, _flag_b)) goto L_390067B0; /* 0x39006793: jne 0x390067b0 */ 19026 L_39006795: 19027 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39006795: mov byte ptr [ecx + 0x14], bl */ 19028 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39006798: mov byte ptr [edx + 0x14], bl */ 19029 ecx = MEM32(eax + 0x4); /* 0x3900679B: mov ecx, dword ptr [eax + 4] */ 19030 edx = MEM32(ecx + 0x4); /* 0x3900679E: mov edx, dword ptr [ecx + 4] */ 19031 MEM8(edx + 0x14) = (uint8_t)(0); /* 0x390067A1: mov byte ptr [edx + 0x14], 0 */ 19032 eax = MEM32(eax + 0x4); /* 0x390067A5: mov eax, dword ptr [eax + 4] */ 19033 eax = MEM32(eax + 0x4); /* 0x390067A8: mov eax, dword ptr [eax + 4] */ 19034 goto L_390068E5; /* 0x390067AB: jmp 0x390068e5 */ 19035 L_390067B0: 19036 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x390067B0: cmp eax, dword ptr [ecx + 8] */ 19037 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 19038 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19039 _flag_k = FK_CMP; 19040 if (CMP_NE(_flag_a, _flag_b)) goto L_390067EF; /* 0x390067B3: jne 0x390067ef */ 19041 L_390067B5: 19042 eax = ecx; /* 0x390067B5: mov eax, ecx */ 19043 ecx = MEM32(eax + 0x8); /* 0x390067B7: mov ecx, dword ptr [eax + 8] */ 19044 edx = MEM32(ecx); /* 0x390067BA: mov edx, dword ptr [ecx] */ 19045 MEM32(eax + 0x8) = edx; /* 0x390067BC: mov dword ptr [eax + 8], edx */ 19046 edx = MEM32(ecx); /* 0x390067BF: mov edx, dword ptr [ecx] */ 19047 /* cmp edx, MEM32(esi + 0x8) */ /* 0x390067C1: cmp edx, dword ptr [esi + 8] */ 19048 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19049 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19050 _flag_k = FK_CMP; 19051 if (CMP_EQ(_flag_a, _flag_b)) goto L_390067C9; /* 0x390067C4: je 0x390067c9 */ 19052 L_390067C6: 19053 MEM32(edx + 0x4) = eax; /* 0x390067C6: mov dword ptr [edx + 4], eax */ 19054 L_390067C9: 19055 edx = MEM32(eax + 0x4); /* 0x390067C9: mov edx, dword ptr [eax + 4] */ 19056 MEM32(ecx + 0x4) = edx; /* 0x390067CC: mov dword ptr [ecx + 4], edx */ 19057 edx = MEM32(esi + 0x4); /* 0x390067CF: mov edx, dword ptr [esi + 4] */ 19058 /* cmp eax, MEM32(edx + 0x4) */ /* 0x390067D2: cmp eax, dword ptr [edx + 4] */ 19059 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 19060 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19061 _flag_k = FK_CMP; 19062 if (CMP_NE(_flag_a, _flag_b)) goto L_390067DC; /* 0x390067D5: jne 0x390067dc */ 19063 L_390067D7: 19064 MEM32(edx + 0x4) = ecx; /* 0x390067D7: mov dword ptr [edx + 4], ecx */ 19065 goto L_390067EA; /* 0x390067DA: jmp 0x390067ea */ 19066 L_390067DC: 19067 edx = MEM32(eax + 0x4); /* 0x390067DC: mov edx, dword ptr [eax + 4] */ 19068 /* cmp eax, MEM32(edx) */ /* 0x390067DF: cmp eax, dword ptr [edx] */ 19069 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 19070 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19071 _flag_k = FK_CMP; 19072 if (CMP_NE(_flag_a, _flag_b)) goto L_390067E7; /* 0x390067E1: jne 0x390067e7 */ 19073 L_390067E3: 19074 MEM32(edx) = ecx; /* 0x390067E3: mov dword ptr [edx], ecx */ 19075 goto L_390067EA; /* 0x390067E5: jmp 0x390067ea */ 19076 L_390067E7: 19077 MEM32(edx + 0x8) = ecx; /* 0x390067E7: mov dword ptr [edx + 8], ecx */ 19078 L_390067EA: 19079 MEM32(ecx) = eax; /* 0x390067EA: mov dword ptr [ecx], eax */ 19080 MEM32(eax + 0x4) = ecx; /* 0x390067EC: mov dword ptr [eax + 4], ecx */ 19081 L_390067EF: 19082 ecx = MEM32(eax + 0x4); /* 0x390067EF: mov ecx, dword ptr [eax + 4] */ 19083 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x390067F2: mov byte ptr [ecx + 0x14], bl */ 19084 edx = MEM32(eax + 0x4); /* 0x390067F5: mov edx, dword ptr [eax + 4] */ 19085 ecx = MEM32(edx + 0x4); /* 0x390067F8: mov ecx, dword ptr [edx + 4] */ 19086 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x390067FB: mov byte ptr [ecx + 0x14], 0 */ 19087 edx = MEM32(eax + 0x4); /* 0x390067FF: mov edx, dword ptr [eax + 4] */ 19088 ecx = MEM32(edx + 0x4); /* 0x39006802: mov ecx, dword ptr [edx + 4] */ 19089 edx = MEM32(ecx); /* 0x39006805: mov edx, dword ptr [ecx] */ 19090 edi = MEM32(edx + 0x8); /* 0x39006807: mov edi, dword ptr [edx + 8] */ 19091 MEM32(ecx) = edi; /* 0x3900680A: mov dword ptr [ecx], edi */ 19092 edi = MEM32(edx + 0x8); /* 0x3900680C: mov edi, dword ptr [edx + 8] */ 19093 /* cmp edi, MEM32(esi + 0x8) */ /* 0x3900680F: cmp edi, dword ptr [esi + 8] */ 19094 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19095 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19096 _flag_k = FK_CMP; 19097 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006817; /* 0x39006812: je 0x39006817 */ 19098 L_39006814: 19099 MEM32(edi + 0x4) = ecx; /* 0x39006814: mov dword ptr [edi + 4], ecx */ 19100 L_39006817: 19101 edi = MEM32(ecx + 0x4); /* 0x39006817: mov edi, dword ptr [ecx + 4] */ 19102 MEM32(edx + 0x4) = edi; /* 0x3900681A: mov dword ptr [edx + 4], edi */ 19103 edi = MEM32(esi + 0x4); /* 0x3900681D: mov edi, dword ptr [esi + 4] */ 19104 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006820: cmp ecx, dword ptr [edi + 4] */ 19105 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 19106 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19107 _flag_k = FK_CMP; 19108 if (CMP_NE(_flag_a, _flag_b)) goto L_39006830; /* 0x39006823: jne 0x39006830 */ 19109 L_39006825: 19110 MEM32(edi + 0x4) = edx; /* 0x39006825: mov dword ptr [edi + 4], edx */ 19111 MEM32(edx + 0x8) = ecx; /* 0x39006828: mov dword ptr [edx + 8], ecx */ 19112 goto L_390068E2; /* 0x3900682B: jmp 0x390068e2 */ 19113 L_39006830: 19114 edi = MEM32(ecx + 0x4); /* 0x39006830: mov edi, dword ptr [ecx + 4] */ 19115 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x39006833: cmp ecx, dword ptr [edi + 8] */ 19116 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 19117 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19118 _flag_k = FK_CMP; 19119 if (CMP_NE(_flag_a, _flag_b)) goto L_39006843; /* 0x39006836: jne 0x39006843 */ 19120 L_39006838: 19121 MEM32(edi + 0x8) = edx; /* 0x39006838: mov dword ptr [edi + 8], edx */ 19122 MEM32(edx + 0x8) = ecx; /* 0x3900683B: mov dword ptr [edx + 8], ecx */ 19123 goto L_390068E2; /* 0x3900683E: jmp 0x390068e2 */ 19124 L_39006843: 19125 MEM32(edi) = edx; /* 0x39006843: mov dword ptr [edi], edx */ 19126 MEM32(edx + 0x8) = ecx; /* 0x39006845: mov dword ptr [edx + 8], ecx */ 19127 goto L_390068E2; /* 0x39006848: jmp 0x390068e2 */ 19128 L_3900684D: 19129 /* cmp MEM8(edx + 0x14), 0 */ /* 0x3900684D: cmp byte ptr [edx + 0x14], 0 */ 19130 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 19131 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19132 _flag_k = FK_NARROW(FK_CMP, 24); 19133 RECOMP_BACKEDGE(); 19134 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006795; /* 0x39006851: je 0x39006795 */ 19135 L_39006857: 19136 /* cmp eax, MEM32(ecx) */ /* 0x39006857: cmp eax, dword ptr [ecx] */ 19137 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 19138 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19139 _flag_k = FK_CMP; 19140 if (CMP_NE(_flag_a, _flag_b)) goto L_39006897; /* 0x39006859: jne 0x39006897 */ 19141 L_3900685B: 19142 eax = ecx; /* 0x3900685B: mov eax, ecx */ 19143 ecx = MEM32(eax); /* 0x3900685D: mov ecx, dword ptr [eax] */ 19144 edx = MEM32(ecx + 0x8); /* 0x3900685F: mov edx, dword ptr [ecx + 8] */ 19145 MEM32(eax) = edx; /* 0x39006862: mov dword ptr [eax], edx */ 19146 edx = MEM32(ecx + 0x8); /* 0x39006864: mov edx, dword ptr [ecx + 8] */ 19147 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006867: cmp edx, dword ptr [esi + 8] */ 19148 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19149 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19150 _flag_k = FK_CMP; 19151 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900686F; /* 0x3900686A: je 0x3900686f */ 19152 L_3900686C: 19153 MEM32(edx + 0x4) = eax; /* 0x3900686C: mov dword ptr [edx + 4], eax */ 19154 L_3900686F: 19155 edx = MEM32(eax + 0x4); /* 0x3900686F: mov edx, dword ptr [eax + 4] */ 19156 MEM32(ecx + 0x4) = edx; /* 0x39006872: mov dword ptr [ecx + 4], edx */ 19157 edx = MEM32(esi + 0x4); /* 0x39006875: mov edx, dword ptr [esi + 4] */ 19158 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006878: cmp eax, dword ptr [edx + 4] */ 19159 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 19160 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19161 _flag_k = FK_CMP; 19162 if (CMP_NE(_flag_a, _flag_b)) goto L_39006882; /* 0x3900687B: jne 0x39006882 */ 19163 L_3900687D: 19164 MEM32(edx + 0x4) = ecx; /* 0x3900687D: mov dword ptr [edx + 4], ecx */ 19165 goto L_39006891; /* 0x39006880: jmp 0x39006891 */ 19166 L_39006882: 19167 edx = MEM32(eax + 0x4); /* 0x39006882: mov edx, dword ptr [eax + 4] */ 19168 /* cmp eax, MEM32(edx + 0x8) */ /* 0x39006885: cmp eax, dword ptr [edx + 8] */ 19169 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 19170 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19171 _flag_k = FK_CMP; 19172 if (CMP_NE(_flag_a, _flag_b)) goto L_3900688F; /* 0x39006888: jne 0x3900688f */ 19173 L_3900688A: 19174 MEM32(edx + 0x8) = ecx; /* 0x3900688A: mov dword ptr [edx + 8], ecx */ 19175 goto L_39006891; /* 0x3900688D: jmp 0x39006891 */ 19176 L_3900688F: 19177 MEM32(edx) = ecx; /* 0x3900688F: mov dword ptr [edx], ecx */ 19178 L_39006891: 19179 MEM32(ecx + 0x8) = eax; /* 0x39006891: mov dword ptr [ecx + 8], eax */ 19180 MEM32(eax + 0x4) = ecx; /* 0x39006894: mov dword ptr [eax + 4], ecx */ 19181 L_39006897: 19182 ecx = MEM32(eax + 0x4); /* 0x39006897: mov ecx, dword ptr [eax + 4] */ 19183 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x3900689A: mov byte ptr [ecx + 0x14], bl */ 19184 edx = MEM32(eax + 0x4); /* 0x3900689D: mov edx, dword ptr [eax + 4] */ 19185 ecx = MEM32(edx + 0x4); /* 0x390068A0: mov ecx, dword ptr [edx + 4] */ 19186 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x390068A3: mov byte ptr [ecx + 0x14], 0 */ 19187 edx = MEM32(eax + 0x4); /* 0x390068A7: mov edx, dword ptr [eax + 4] */ 19188 ecx = MEM32(edx + 0x4); /* 0x390068AA: mov ecx, dword ptr [edx + 4] */ 19189 edx = MEM32(ecx + 0x8); /* 0x390068AD: mov edx, dword ptr [ecx + 8] */ 19190 edi = MEM32(edx); /* 0x390068B0: mov edi, dword ptr [edx] */ 19191 MEM32(ecx + 0x8) = edi; /* 0x390068B2: mov dword ptr [ecx + 8], edi */ 19192 edi = MEM32(edx); /* 0x390068B5: mov edi, dword ptr [edx] */ 19193 /* cmp edi, MEM32(esi + 0x8) */ /* 0x390068B7: cmp edi, dword ptr [esi + 8] */ 19194 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19195 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19196 _flag_k = FK_CMP; 19197 if (CMP_EQ(_flag_a, _flag_b)) goto L_390068BF; /* 0x390068BA: je 0x390068bf */ 19198 L_390068BC: 19199 MEM32(edi + 0x4) = ecx; /* 0x390068BC: mov dword ptr [edi + 4], ecx */ 19200 L_390068BF: 19201 edi = MEM32(ecx + 0x4); /* 0x390068BF: mov edi, dword ptr [ecx + 4] */ 19202 MEM32(edx + 0x4) = edi; /* 0x390068C2: mov dword ptr [edx + 4], edi */ 19203 edi = MEM32(esi + 0x4); /* 0x390068C5: mov edi, dword ptr [esi + 4] */ 19204 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x390068C8: cmp ecx, dword ptr [edi + 4] */ 19205 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 19206 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19207 _flag_k = FK_CMP; 19208 if (CMP_NE(_flag_a, _flag_b)) goto L_390068D2; /* 0x390068CB: jne 0x390068d2 */ 19209 L_390068CD: 19210 MEM32(edi + 0x4) = edx; /* 0x390068CD: mov dword ptr [edi + 4], edx */ 19211 goto L_390068E0; /* 0x390068D0: jmp 0x390068e0 */ 19212 L_390068D2: 19213 edi = MEM32(ecx + 0x4); /* 0x390068D2: mov edi, dword ptr [ecx + 4] */ 19214 /* cmp ecx, MEM32(edi) */ /* 0x390068D5: cmp ecx, dword ptr [edi] */ 19215 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 19216 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19217 _flag_k = FK_CMP; 19218 if (CMP_NE(_flag_a, _flag_b)) goto L_390068DD; /* 0x390068D7: jne 0x390068dd */ 19219 L_390068D9: 19220 MEM32(edi) = edx; /* 0x390068D9: mov dword ptr [edi], edx */ 19221 goto L_390068E0; /* 0x390068DB: jmp 0x390068e0 */ 19222 L_390068DD: 19223 MEM32(edi + 0x8) = edx; /* 0x390068DD: mov dword ptr [edi + 8], edx */ 19224 L_390068E0: 19225 MEM32(edx) = ecx; /* 0x390068E0: mov dword ptr [edx], ecx */ 19226 L_390068E2: 19227 MEM32(ecx + 0x4) = edx; /* 0x390068E2: mov dword ptr [ecx + 4], edx */ 19228 L_390068E5: 19229 ecx = MEM32(esi + 0x4); /* 0x390068E5: mov ecx, dword ptr [esi + 4] */ 19230 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x390068E8: cmp eax, dword ptr [ecx + 4] */ 19231 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 19232 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19233 _flag_k = FK_CMP; 19234 RECOMP_BACKEDGE(); 19235 if (CMP_NE(_flag_a, _flag_b)) goto L_39006771; /* 0x390068EB: jne 0x39006771 */ 19236 L_390068F1: 19237 edx = MEM32(esi + 0x4); /* 0x390068F1: mov edx, dword ptr [esi + 4] */ 19238 ecx = MEM32(ebp + (-0x4)); /* 0x390068F4: mov ecx, dword ptr [ebp - 4] */ 19239 edi = POP32_VAL(esp); /* 0x390068F7: pop edi */ 19240 esi = POP32_VAL(esp); /* 0x390068F8: pop esi */ 19241 eax = MEM32(edx + 0x4); /* 0x390068F9: mov eax, dword ptr [edx + 4] */ 19242 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x390068FC: mov byte ptr [eax + 0x14], bl */ 19243 eax = MEM32(ebp + 0x8); /* 0x390068FF: mov eax, dword ptr [ebp + 8] */ 19244 ebx = POP32_VAL(esp); /* 0x39006902: pop ebx */ 19245 MEM32(eax) = ecx; /* 0x39006903: mov dword ptr [eax], ecx */ 19246 esp = ebp; /* 0x39006905: mov esp, ebp */ 19247 ebp = POP32_VAL(esp); /* 0x39006907: pop ebp */ 19248 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39006908: ret 0x10 */ 19249 RECOMP_REGS_OUT(); 19250 } 19251 19252 void sub_39006795(void) { 19253 int _fpu_cmp = 0; 19254 uint32_t _cf = 0; 19255 int _df = 1; 19256 uint32_t _flag_k = FK_NONE; 19257 uint32_t _flag_a = 0, _flag_b = 0; 19258 uint32_t _itail_tgt = 0; 19259 RECOMP_REGS_LOCALS 19260 RECOMP_ENTER(0x39006795u); 19261 19262 goto L_39006795; 19263 L_39006771: 19264 ecx = MEM32(eax + 0x4); /* 0x39006771: mov ecx, dword ptr [eax + 4] */ 19265 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x39006774: mov dl, byte ptr [ecx + 0x14] */ 19266 /* test LO8(edx), LO8(edx) */ /* 0x39006777: test dl, dl */ 19267 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 19268 _cf = 0; 19269 _flag_k = FK_NARROW(FK_TEST, 24); 19270 if (TEST_NZ(_flag_a, _flag_b)) goto L_390068F1; /* 0x39006779: jne 0x390068f1 */ 19271 L_3900677F: 19272 edi = MEM32(ecx + 0x4); /* 0x3900677F: mov edi, dword ptr [ecx + 4] */ 19273 edx = MEM32(edi); /* 0x39006782: mov edx, dword ptr [edi] */ 19274 /* cmp ecx, edx */ /* 0x39006784: cmp ecx, edx */ 19275 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 19276 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19277 _flag_k = FK_CMP; 19278 if (CMP_NE(_flag_a, _flag_b)) goto L_3900684D; /* 0x39006786: jne 0x3900684d */ 19279 L_3900678C: 19280 edx = MEM32(edi + 0x8); /* 0x3900678C: mov edx, dword ptr [edi + 8] */ 19281 /* cmp MEM8(edx + 0x14), 0 */ /* 0x3900678F: cmp byte ptr [edx + 0x14], 0 */ 19282 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 19283 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19284 _flag_k = FK_NARROW(FK_CMP, 24); 19285 if (CMP_NE(_flag_a, _flag_b)) goto L_390067B0; /* 0x39006793: jne 0x390067b0 */ 19286 L_39006795: 19287 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39006795: mov byte ptr [ecx + 0x14], bl */ 19288 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39006798: mov byte ptr [edx + 0x14], bl */ 19289 ecx = MEM32(eax + 0x4); /* 0x3900679B: mov ecx, dword ptr [eax + 4] */ 19290 edx = MEM32(ecx + 0x4); /* 0x3900679E: mov edx, dword ptr [ecx + 4] */ 19291 MEM8(edx + 0x14) = (uint8_t)(0); /* 0x390067A1: mov byte ptr [edx + 0x14], 0 */ 19292 eax = MEM32(eax + 0x4); /* 0x390067A5: mov eax, dword ptr [eax + 4] */ 19293 eax = MEM32(eax + 0x4); /* 0x390067A8: mov eax, dword ptr [eax + 4] */ 19294 goto L_390068E5; /* 0x390067AB: jmp 0x390068e5 */ 19295 L_390067B0: 19296 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x390067B0: cmp eax, dword ptr [ecx + 8] */ 19297 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 19298 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19299 _flag_k = FK_CMP; 19300 if (CMP_NE(_flag_a, _flag_b)) goto L_390067EF; /* 0x390067B3: jne 0x390067ef */ 19301 L_390067B5: 19302 eax = ecx; /* 0x390067B5: mov eax, ecx */ 19303 ecx = MEM32(eax + 0x8); /* 0x390067B7: mov ecx, dword ptr [eax + 8] */ 19304 edx = MEM32(ecx); /* 0x390067BA: mov edx, dword ptr [ecx] */ 19305 MEM32(eax + 0x8) = edx; /* 0x390067BC: mov dword ptr [eax + 8], edx */ 19306 edx = MEM32(ecx); /* 0x390067BF: mov edx, dword ptr [ecx] */ 19307 /* cmp edx, MEM32(esi + 0x8) */ /* 0x390067C1: cmp edx, dword ptr [esi + 8] */ 19308 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19309 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19310 _flag_k = FK_CMP; 19311 if (CMP_EQ(_flag_a, _flag_b)) goto L_390067C9; /* 0x390067C4: je 0x390067c9 */ 19312 L_390067C6: 19313 MEM32(edx + 0x4) = eax; /* 0x390067C6: mov dword ptr [edx + 4], eax */ 19314 L_390067C9: 19315 edx = MEM32(eax + 0x4); /* 0x390067C9: mov edx, dword ptr [eax + 4] */ 19316 MEM32(ecx + 0x4) = edx; /* 0x390067CC: mov dword ptr [ecx + 4], edx */ 19317 edx = MEM32(esi + 0x4); /* 0x390067CF: mov edx, dword ptr [esi + 4] */ 19318 /* cmp eax, MEM32(edx + 0x4) */ /* 0x390067D2: cmp eax, dword ptr [edx + 4] */ 19319 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 19320 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19321 _flag_k = FK_CMP; 19322 if (CMP_NE(_flag_a, _flag_b)) goto L_390067DC; /* 0x390067D5: jne 0x390067dc */ 19323 L_390067D7: 19324 MEM32(edx + 0x4) = ecx; /* 0x390067D7: mov dword ptr [edx + 4], ecx */ 19325 goto L_390067EA; /* 0x390067DA: jmp 0x390067ea */ 19326 L_390067DC: 19327 edx = MEM32(eax + 0x4); /* 0x390067DC: mov edx, dword ptr [eax + 4] */ 19328 /* cmp eax, MEM32(edx) */ /* 0x390067DF: cmp eax, dword ptr [edx] */ 19329 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 19330 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19331 _flag_k = FK_CMP; 19332 if (CMP_NE(_flag_a, _flag_b)) goto L_390067E7; /* 0x390067E1: jne 0x390067e7 */ 19333 L_390067E3: 19334 MEM32(edx) = ecx; /* 0x390067E3: mov dword ptr [edx], ecx */ 19335 goto L_390067EA; /* 0x390067E5: jmp 0x390067ea */ 19336 L_390067E7: 19337 MEM32(edx + 0x8) = ecx; /* 0x390067E7: mov dword ptr [edx + 8], ecx */ 19338 L_390067EA: 19339 MEM32(ecx) = eax; /* 0x390067EA: mov dword ptr [ecx], eax */ 19340 MEM32(eax + 0x4) = ecx; /* 0x390067EC: mov dword ptr [eax + 4], ecx */ 19341 L_390067EF: 19342 ecx = MEM32(eax + 0x4); /* 0x390067EF: mov ecx, dword ptr [eax + 4] */ 19343 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x390067F2: mov byte ptr [ecx + 0x14], bl */ 19344 edx = MEM32(eax + 0x4); /* 0x390067F5: mov edx, dword ptr [eax + 4] */ 19345 ecx = MEM32(edx + 0x4); /* 0x390067F8: mov ecx, dword ptr [edx + 4] */ 19346 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x390067FB: mov byte ptr [ecx + 0x14], 0 */ 19347 edx = MEM32(eax + 0x4); /* 0x390067FF: mov edx, dword ptr [eax + 4] */ 19348 ecx = MEM32(edx + 0x4); /* 0x39006802: mov ecx, dword ptr [edx + 4] */ 19349 edx = MEM32(ecx); /* 0x39006805: mov edx, dword ptr [ecx] */ 19350 edi = MEM32(edx + 0x8); /* 0x39006807: mov edi, dword ptr [edx + 8] */ 19351 MEM32(ecx) = edi; /* 0x3900680A: mov dword ptr [ecx], edi */ 19352 edi = MEM32(edx + 0x8); /* 0x3900680C: mov edi, dword ptr [edx + 8] */ 19353 /* cmp edi, MEM32(esi + 0x8) */ /* 0x3900680F: cmp edi, dword ptr [esi + 8] */ 19354 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19355 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19356 _flag_k = FK_CMP; 19357 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006817; /* 0x39006812: je 0x39006817 */ 19358 L_39006814: 19359 MEM32(edi + 0x4) = ecx; /* 0x39006814: mov dword ptr [edi + 4], ecx */ 19360 L_39006817: 19361 edi = MEM32(ecx + 0x4); /* 0x39006817: mov edi, dword ptr [ecx + 4] */ 19362 MEM32(edx + 0x4) = edi; /* 0x3900681A: mov dword ptr [edx + 4], edi */ 19363 edi = MEM32(esi + 0x4); /* 0x3900681D: mov edi, dword ptr [esi + 4] */ 19364 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006820: cmp ecx, dword ptr [edi + 4] */ 19365 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 19366 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19367 _flag_k = FK_CMP; 19368 if (CMP_NE(_flag_a, _flag_b)) goto L_39006830; /* 0x39006823: jne 0x39006830 */ 19369 L_39006825: 19370 MEM32(edi + 0x4) = edx; /* 0x39006825: mov dword ptr [edi + 4], edx */ 19371 MEM32(edx + 0x8) = ecx; /* 0x39006828: mov dword ptr [edx + 8], ecx */ 19372 goto L_390068E2; /* 0x3900682B: jmp 0x390068e2 */ 19373 L_39006830: 19374 edi = MEM32(ecx + 0x4); /* 0x39006830: mov edi, dword ptr [ecx + 4] */ 19375 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x39006833: cmp ecx, dword ptr [edi + 8] */ 19376 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 19377 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19378 _flag_k = FK_CMP; 19379 if (CMP_NE(_flag_a, _flag_b)) goto L_39006843; /* 0x39006836: jne 0x39006843 */ 19380 L_39006838: 19381 MEM32(edi + 0x8) = edx; /* 0x39006838: mov dword ptr [edi + 8], edx */ 19382 MEM32(edx + 0x8) = ecx; /* 0x3900683B: mov dword ptr [edx + 8], ecx */ 19383 goto L_390068E2; /* 0x3900683E: jmp 0x390068e2 */ 19384 L_39006843: 19385 MEM32(edi) = edx; /* 0x39006843: mov dword ptr [edi], edx */ 19386 MEM32(edx + 0x8) = ecx; /* 0x39006845: mov dword ptr [edx + 8], ecx */ 19387 goto L_390068E2; /* 0x39006848: jmp 0x390068e2 */ 19388 L_3900684D: 19389 /* cmp MEM8(edx + 0x14), 0 */ /* 0x3900684D: cmp byte ptr [edx + 0x14], 0 */ 19390 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 19391 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19392 _flag_k = FK_NARROW(FK_CMP, 24); 19393 RECOMP_BACKEDGE(); 19394 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006795; /* 0x39006851: je 0x39006795 */ 19395 L_39006857: 19396 /* cmp eax, MEM32(ecx) */ /* 0x39006857: cmp eax, dword ptr [ecx] */ 19397 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 19398 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19399 _flag_k = FK_CMP; 19400 if (CMP_NE(_flag_a, _flag_b)) goto L_39006897; /* 0x39006859: jne 0x39006897 */ 19401 L_3900685B: 19402 eax = ecx; /* 0x3900685B: mov eax, ecx */ 19403 ecx = MEM32(eax); /* 0x3900685D: mov ecx, dword ptr [eax] */ 19404 edx = MEM32(ecx + 0x8); /* 0x3900685F: mov edx, dword ptr [ecx + 8] */ 19405 MEM32(eax) = edx; /* 0x39006862: mov dword ptr [eax], edx */ 19406 edx = MEM32(ecx + 0x8); /* 0x39006864: mov edx, dword ptr [ecx + 8] */ 19407 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006867: cmp edx, dword ptr [esi + 8] */ 19408 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19409 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19410 _flag_k = FK_CMP; 19411 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900686F; /* 0x3900686A: je 0x3900686f */ 19412 L_3900686C: 19413 MEM32(edx + 0x4) = eax; /* 0x3900686C: mov dword ptr [edx + 4], eax */ 19414 L_3900686F: 19415 edx = MEM32(eax + 0x4); /* 0x3900686F: mov edx, dword ptr [eax + 4] */ 19416 MEM32(ecx + 0x4) = edx; /* 0x39006872: mov dword ptr [ecx + 4], edx */ 19417 edx = MEM32(esi + 0x4); /* 0x39006875: mov edx, dword ptr [esi + 4] */ 19418 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006878: cmp eax, dword ptr [edx + 4] */ 19419 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 19420 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19421 _flag_k = FK_CMP; 19422 if (CMP_NE(_flag_a, _flag_b)) goto L_39006882; /* 0x3900687B: jne 0x39006882 */ 19423 L_3900687D: 19424 MEM32(edx + 0x4) = ecx; /* 0x3900687D: mov dword ptr [edx + 4], ecx */ 19425 goto L_39006891; /* 0x39006880: jmp 0x39006891 */ 19426 L_39006882: 19427 edx = MEM32(eax + 0x4); /* 0x39006882: mov edx, dword ptr [eax + 4] */ 19428 /* cmp eax, MEM32(edx + 0x8) */ /* 0x39006885: cmp eax, dword ptr [edx + 8] */ 19429 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 19430 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19431 _flag_k = FK_CMP; 19432 if (CMP_NE(_flag_a, _flag_b)) goto L_3900688F; /* 0x39006888: jne 0x3900688f */ 19433 L_3900688A: 19434 MEM32(edx + 0x8) = ecx; /* 0x3900688A: mov dword ptr [edx + 8], ecx */ 19435 goto L_39006891; /* 0x3900688D: jmp 0x39006891 */ 19436 L_3900688F: 19437 MEM32(edx) = ecx; /* 0x3900688F: mov dword ptr [edx], ecx */ 19438 L_39006891: 19439 MEM32(ecx + 0x8) = eax; /* 0x39006891: mov dword ptr [ecx + 8], eax */ 19440 MEM32(eax + 0x4) = ecx; /* 0x39006894: mov dword ptr [eax + 4], ecx */ 19441 L_39006897: 19442 ecx = MEM32(eax + 0x4); /* 0x39006897: mov ecx, dword ptr [eax + 4] */ 19443 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x3900689A: mov byte ptr [ecx + 0x14], bl */ 19444 edx = MEM32(eax + 0x4); /* 0x3900689D: mov edx, dword ptr [eax + 4] */ 19445 ecx = MEM32(edx + 0x4); /* 0x390068A0: mov ecx, dword ptr [edx + 4] */ 19446 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x390068A3: mov byte ptr [ecx + 0x14], 0 */ 19447 edx = MEM32(eax + 0x4); /* 0x390068A7: mov edx, dword ptr [eax + 4] */ 19448 ecx = MEM32(edx + 0x4); /* 0x390068AA: mov ecx, dword ptr [edx + 4] */ 19449 edx = MEM32(ecx + 0x8); /* 0x390068AD: mov edx, dword ptr [ecx + 8] */ 19450 edi = MEM32(edx); /* 0x390068B0: mov edi, dword ptr [edx] */ 19451 MEM32(ecx + 0x8) = edi; /* 0x390068B2: mov dword ptr [ecx + 8], edi */ 19452 edi = MEM32(edx); /* 0x390068B5: mov edi, dword ptr [edx] */ 19453 /* cmp edi, MEM32(esi + 0x8) */ /* 0x390068B7: cmp edi, dword ptr [esi + 8] */ 19454 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19455 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19456 _flag_k = FK_CMP; 19457 if (CMP_EQ(_flag_a, _flag_b)) goto L_390068BF; /* 0x390068BA: je 0x390068bf */ 19458 L_390068BC: 19459 MEM32(edi + 0x4) = ecx; /* 0x390068BC: mov dword ptr [edi + 4], ecx */ 19460 L_390068BF: 19461 edi = MEM32(ecx + 0x4); /* 0x390068BF: mov edi, dword ptr [ecx + 4] */ 19462 MEM32(edx + 0x4) = edi; /* 0x390068C2: mov dword ptr [edx + 4], edi */ 19463 edi = MEM32(esi + 0x4); /* 0x390068C5: mov edi, dword ptr [esi + 4] */ 19464 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x390068C8: cmp ecx, dword ptr [edi + 4] */ 19465 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 19466 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19467 _flag_k = FK_CMP; 19468 if (CMP_NE(_flag_a, _flag_b)) goto L_390068D2; /* 0x390068CB: jne 0x390068d2 */ 19469 L_390068CD: 19470 MEM32(edi + 0x4) = edx; /* 0x390068CD: mov dword ptr [edi + 4], edx */ 19471 goto L_390068E0; /* 0x390068D0: jmp 0x390068e0 */ 19472 L_390068D2: 19473 edi = MEM32(ecx + 0x4); /* 0x390068D2: mov edi, dword ptr [ecx + 4] */ 19474 /* cmp ecx, MEM32(edi) */ /* 0x390068D5: cmp ecx, dword ptr [edi] */ 19475 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 19476 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19477 _flag_k = FK_CMP; 19478 if (CMP_NE(_flag_a, _flag_b)) goto L_390068DD; /* 0x390068D7: jne 0x390068dd */ 19479 L_390068D9: 19480 MEM32(edi) = edx; /* 0x390068D9: mov dword ptr [edi], edx */ 19481 goto L_390068E0; /* 0x390068DB: jmp 0x390068e0 */ 19482 L_390068DD: 19483 MEM32(edi + 0x8) = edx; /* 0x390068DD: mov dword ptr [edi + 8], edx */ 19484 L_390068E0: 19485 MEM32(edx) = ecx; /* 0x390068E0: mov dword ptr [edx], ecx */ 19486 L_390068E2: 19487 MEM32(ecx + 0x4) = edx; /* 0x390068E2: mov dword ptr [ecx + 4], edx */ 19488 L_390068E5: 19489 ecx = MEM32(esi + 0x4); /* 0x390068E5: mov ecx, dword ptr [esi + 4] */ 19490 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x390068E8: cmp eax, dword ptr [ecx + 4] */ 19491 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 19492 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19493 _flag_k = FK_CMP; 19494 RECOMP_BACKEDGE(); 19495 if (CMP_NE(_flag_a, _flag_b)) goto L_39006771; /* 0x390068EB: jne 0x39006771 */ 19496 L_390068F1: 19497 edx = MEM32(esi + 0x4); /* 0x390068F1: mov edx, dword ptr [esi + 4] */ 19498 ecx = MEM32(ebp + (-0x4)); /* 0x390068F4: mov ecx, dword ptr [ebp - 4] */ 19499 edi = POP32_VAL(esp); /* 0x390068F7: pop edi */ 19500 esi = POP32_VAL(esp); /* 0x390068F8: pop esi */ 19501 eax = MEM32(edx + 0x4); /* 0x390068F9: mov eax, dword ptr [edx + 4] */ 19502 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x390068FC: mov byte ptr [eax + 0x14], bl */ 19503 eax = MEM32(ebp + 0x8); /* 0x390068FF: mov eax, dword ptr [ebp + 8] */ 19504 ebx = POP32_VAL(esp); /* 0x39006902: pop ebx */ 19505 MEM32(eax) = ecx; /* 0x39006903: mov dword ptr [eax], ecx */ 19506 esp = ebp; /* 0x39006905: mov esp, ebp */ 19507 ebp = POP32_VAL(esp); /* 0x39006907: pop ebp */ 19508 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39006908: ret 0x10 */ 19509 RECOMP_REGS_OUT(); 19510 } 19511 19512 void sub_390067EA(void) { 19513 int _fpu_cmp = 0; 19514 uint32_t _cf = 0; 19515 int _df = 1; 19516 uint32_t _flag_k = FK_NONE; 19517 uint32_t _flag_a = 0, _flag_b = 0; 19518 uint32_t _itail_tgt = 0; 19519 RECOMP_REGS_LOCALS 19520 RECOMP_ENTER(0x390067EAu); 19521 19522 goto L_390067EA; 19523 L_39006771: 19524 ecx = MEM32(eax + 0x4); /* 0x39006771: mov ecx, dword ptr [eax + 4] */ 19525 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x39006774: mov dl, byte ptr [ecx + 0x14] */ 19526 /* test LO8(edx), LO8(edx) */ /* 0x39006777: test dl, dl */ 19527 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 19528 _cf = 0; 19529 _flag_k = FK_NARROW(FK_TEST, 24); 19530 if (TEST_NZ(_flag_a, _flag_b)) goto L_390068F1; /* 0x39006779: jne 0x390068f1 */ 19531 L_3900677F: 19532 edi = MEM32(ecx + 0x4); /* 0x3900677F: mov edi, dword ptr [ecx + 4] */ 19533 edx = MEM32(edi); /* 0x39006782: mov edx, dword ptr [edi] */ 19534 /* cmp ecx, edx */ /* 0x39006784: cmp ecx, edx */ 19535 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 19536 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19537 _flag_k = FK_CMP; 19538 if (CMP_NE(_flag_a, _flag_b)) goto L_3900684D; /* 0x39006786: jne 0x3900684d */ 19539 L_3900678C: 19540 edx = MEM32(edi + 0x8); /* 0x3900678C: mov edx, dword ptr [edi + 8] */ 19541 /* cmp MEM8(edx + 0x14), 0 */ /* 0x3900678F: cmp byte ptr [edx + 0x14], 0 */ 19542 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 19543 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19544 _flag_k = FK_NARROW(FK_CMP, 24); 19545 if (CMP_NE(_flag_a, _flag_b)) goto L_390067B0; /* 0x39006793: jne 0x390067b0 */ 19546 L_39006795: 19547 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39006795: mov byte ptr [ecx + 0x14], bl */ 19548 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39006798: mov byte ptr [edx + 0x14], bl */ 19549 ecx = MEM32(eax + 0x4); /* 0x3900679B: mov ecx, dword ptr [eax + 4] */ 19550 edx = MEM32(ecx + 0x4); /* 0x3900679E: mov edx, dword ptr [ecx + 4] */ 19551 MEM8(edx + 0x14) = (uint8_t)(0); /* 0x390067A1: mov byte ptr [edx + 0x14], 0 */ 19552 eax = MEM32(eax + 0x4); /* 0x390067A5: mov eax, dword ptr [eax + 4] */ 19553 eax = MEM32(eax + 0x4); /* 0x390067A8: mov eax, dword ptr [eax + 4] */ 19554 goto L_390068E5; /* 0x390067AB: jmp 0x390068e5 */ 19555 L_390067B0: 19556 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x390067B0: cmp eax, dword ptr [ecx + 8] */ 19557 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 19558 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19559 _flag_k = FK_CMP; 19560 if (CMP_NE(_flag_a, _flag_b)) goto L_390067EF; /* 0x390067B3: jne 0x390067ef */ 19561 L_390067B5: 19562 eax = ecx; /* 0x390067B5: mov eax, ecx */ 19563 ecx = MEM32(eax + 0x8); /* 0x390067B7: mov ecx, dword ptr [eax + 8] */ 19564 edx = MEM32(ecx); /* 0x390067BA: mov edx, dword ptr [ecx] */ 19565 MEM32(eax + 0x8) = edx; /* 0x390067BC: mov dword ptr [eax + 8], edx */ 19566 edx = MEM32(ecx); /* 0x390067BF: mov edx, dword ptr [ecx] */ 19567 /* cmp edx, MEM32(esi + 0x8) */ /* 0x390067C1: cmp edx, dword ptr [esi + 8] */ 19568 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19569 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19570 _flag_k = FK_CMP; 19571 if (CMP_EQ(_flag_a, _flag_b)) goto L_390067C9; /* 0x390067C4: je 0x390067c9 */ 19572 L_390067C6: 19573 MEM32(edx + 0x4) = eax; /* 0x390067C6: mov dword ptr [edx + 4], eax */ 19574 L_390067C9: 19575 edx = MEM32(eax + 0x4); /* 0x390067C9: mov edx, dword ptr [eax + 4] */ 19576 MEM32(ecx + 0x4) = edx; /* 0x390067CC: mov dword ptr [ecx + 4], edx */ 19577 edx = MEM32(esi + 0x4); /* 0x390067CF: mov edx, dword ptr [esi + 4] */ 19578 /* cmp eax, MEM32(edx + 0x4) */ /* 0x390067D2: cmp eax, dword ptr [edx + 4] */ 19579 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 19580 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19581 _flag_k = FK_CMP; 19582 if (CMP_NE(_flag_a, _flag_b)) goto L_390067DC; /* 0x390067D5: jne 0x390067dc */ 19583 L_390067D7: 19584 MEM32(edx + 0x4) = ecx; /* 0x390067D7: mov dword ptr [edx + 4], ecx */ 19585 goto L_390067EA; /* 0x390067DA: jmp 0x390067ea */ 19586 L_390067DC: 19587 edx = MEM32(eax + 0x4); /* 0x390067DC: mov edx, dword ptr [eax + 4] */ 19588 /* cmp eax, MEM32(edx) */ /* 0x390067DF: cmp eax, dword ptr [edx] */ 19589 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 19590 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19591 _flag_k = FK_CMP; 19592 if (CMP_NE(_flag_a, _flag_b)) goto L_390067E7; /* 0x390067E1: jne 0x390067e7 */ 19593 L_390067E3: 19594 MEM32(edx) = ecx; /* 0x390067E3: mov dword ptr [edx], ecx */ 19595 goto L_390067EA; /* 0x390067E5: jmp 0x390067ea */ 19596 L_390067E7: 19597 MEM32(edx + 0x8) = ecx; /* 0x390067E7: mov dword ptr [edx + 8], ecx */ 19598 L_390067EA: 19599 MEM32(ecx) = eax; /* 0x390067EA: mov dword ptr [ecx], eax */ 19600 MEM32(eax + 0x4) = ecx; /* 0x390067EC: mov dword ptr [eax + 4], ecx */ 19601 L_390067EF: 19602 ecx = MEM32(eax + 0x4); /* 0x390067EF: mov ecx, dword ptr [eax + 4] */ 19603 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x390067F2: mov byte ptr [ecx + 0x14], bl */ 19604 edx = MEM32(eax + 0x4); /* 0x390067F5: mov edx, dword ptr [eax + 4] */ 19605 ecx = MEM32(edx + 0x4); /* 0x390067F8: mov ecx, dword ptr [edx + 4] */ 19606 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x390067FB: mov byte ptr [ecx + 0x14], 0 */ 19607 edx = MEM32(eax + 0x4); /* 0x390067FF: mov edx, dword ptr [eax + 4] */ 19608 ecx = MEM32(edx + 0x4); /* 0x39006802: mov ecx, dword ptr [edx + 4] */ 19609 edx = MEM32(ecx); /* 0x39006805: mov edx, dword ptr [ecx] */ 19610 edi = MEM32(edx + 0x8); /* 0x39006807: mov edi, dword ptr [edx + 8] */ 19611 MEM32(ecx) = edi; /* 0x3900680A: mov dword ptr [ecx], edi */ 19612 edi = MEM32(edx + 0x8); /* 0x3900680C: mov edi, dword ptr [edx + 8] */ 19613 /* cmp edi, MEM32(esi + 0x8) */ /* 0x3900680F: cmp edi, dword ptr [esi + 8] */ 19614 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19615 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19616 _flag_k = FK_CMP; 19617 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006817; /* 0x39006812: je 0x39006817 */ 19618 L_39006814: 19619 MEM32(edi + 0x4) = ecx; /* 0x39006814: mov dword ptr [edi + 4], ecx */ 19620 L_39006817: 19621 edi = MEM32(ecx + 0x4); /* 0x39006817: mov edi, dword ptr [ecx + 4] */ 19622 MEM32(edx + 0x4) = edi; /* 0x3900681A: mov dword ptr [edx + 4], edi */ 19623 edi = MEM32(esi + 0x4); /* 0x3900681D: mov edi, dword ptr [esi + 4] */ 19624 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006820: cmp ecx, dword ptr [edi + 4] */ 19625 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 19626 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19627 _flag_k = FK_CMP; 19628 if (CMP_NE(_flag_a, _flag_b)) goto L_39006830; /* 0x39006823: jne 0x39006830 */ 19629 L_39006825: 19630 MEM32(edi + 0x4) = edx; /* 0x39006825: mov dword ptr [edi + 4], edx */ 19631 MEM32(edx + 0x8) = ecx; /* 0x39006828: mov dword ptr [edx + 8], ecx */ 19632 goto L_390068E2; /* 0x3900682B: jmp 0x390068e2 */ 19633 L_39006830: 19634 edi = MEM32(ecx + 0x4); /* 0x39006830: mov edi, dword ptr [ecx + 4] */ 19635 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x39006833: cmp ecx, dword ptr [edi + 8] */ 19636 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 19637 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19638 _flag_k = FK_CMP; 19639 if (CMP_NE(_flag_a, _flag_b)) goto L_39006843; /* 0x39006836: jne 0x39006843 */ 19640 L_39006838: 19641 MEM32(edi + 0x8) = edx; /* 0x39006838: mov dword ptr [edi + 8], edx */ 19642 MEM32(edx + 0x8) = ecx; /* 0x3900683B: mov dword ptr [edx + 8], ecx */ 19643 goto L_390068E2; /* 0x3900683E: jmp 0x390068e2 */ 19644 L_39006843: 19645 MEM32(edi) = edx; /* 0x39006843: mov dword ptr [edi], edx */ 19646 MEM32(edx + 0x8) = ecx; /* 0x39006845: mov dword ptr [edx + 8], ecx */ 19647 goto L_390068E2; /* 0x39006848: jmp 0x390068e2 */ 19648 L_3900684D: 19649 /* cmp MEM8(edx + 0x14), 0 */ /* 0x3900684D: cmp byte ptr [edx + 0x14], 0 */ 19650 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 19651 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19652 _flag_k = FK_NARROW(FK_CMP, 24); 19653 RECOMP_BACKEDGE(); 19654 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006795; /* 0x39006851: je 0x39006795 */ 19655 L_39006857: 19656 /* cmp eax, MEM32(ecx) */ /* 0x39006857: cmp eax, dword ptr [ecx] */ 19657 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 19658 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19659 _flag_k = FK_CMP; 19660 if (CMP_NE(_flag_a, _flag_b)) goto L_39006897; /* 0x39006859: jne 0x39006897 */ 19661 L_3900685B: 19662 eax = ecx; /* 0x3900685B: mov eax, ecx */ 19663 ecx = MEM32(eax); /* 0x3900685D: mov ecx, dword ptr [eax] */ 19664 edx = MEM32(ecx + 0x8); /* 0x3900685F: mov edx, dword ptr [ecx + 8] */ 19665 MEM32(eax) = edx; /* 0x39006862: mov dword ptr [eax], edx */ 19666 edx = MEM32(ecx + 0x8); /* 0x39006864: mov edx, dword ptr [ecx + 8] */ 19667 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006867: cmp edx, dword ptr [esi + 8] */ 19668 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19669 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19670 _flag_k = FK_CMP; 19671 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900686F; /* 0x3900686A: je 0x3900686f */ 19672 L_3900686C: 19673 MEM32(edx + 0x4) = eax; /* 0x3900686C: mov dword ptr [edx + 4], eax */ 19674 L_3900686F: 19675 edx = MEM32(eax + 0x4); /* 0x3900686F: mov edx, dword ptr [eax + 4] */ 19676 MEM32(ecx + 0x4) = edx; /* 0x39006872: mov dword ptr [ecx + 4], edx */ 19677 edx = MEM32(esi + 0x4); /* 0x39006875: mov edx, dword ptr [esi + 4] */ 19678 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006878: cmp eax, dword ptr [edx + 4] */ 19679 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 19680 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19681 _flag_k = FK_CMP; 19682 if (CMP_NE(_flag_a, _flag_b)) goto L_39006882; /* 0x3900687B: jne 0x39006882 */ 19683 L_3900687D: 19684 MEM32(edx + 0x4) = ecx; /* 0x3900687D: mov dword ptr [edx + 4], ecx */ 19685 goto L_39006891; /* 0x39006880: jmp 0x39006891 */ 19686 L_39006882: 19687 edx = MEM32(eax + 0x4); /* 0x39006882: mov edx, dword ptr [eax + 4] */ 19688 /* cmp eax, MEM32(edx + 0x8) */ /* 0x39006885: cmp eax, dword ptr [edx + 8] */ 19689 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 19690 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19691 _flag_k = FK_CMP; 19692 if (CMP_NE(_flag_a, _flag_b)) goto L_3900688F; /* 0x39006888: jne 0x3900688f */ 19693 L_3900688A: 19694 MEM32(edx + 0x8) = ecx; /* 0x3900688A: mov dword ptr [edx + 8], ecx */ 19695 goto L_39006891; /* 0x3900688D: jmp 0x39006891 */ 19696 L_3900688F: 19697 MEM32(edx) = ecx; /* 0x3900688F: mov dword ptr [edx], ecx */ 19698 L_39006891: 19699 MEM32(ecx + 0x8) = eax; /* 0x39006891: mov dword ptr [ecx + 8], eax */ 19700 MEM32(eax + 0x4) = ecx; /* 0x39006894: mov dword ptr [eax + 4], ecx */ 19701 L_39006897: 19702 ecx = MEM32(eax + 0x4); /* 0x39006897: mov ecx, dword ptr [eax + 4] */ 19703 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x3900689A: mov byte ptr [ecx + 0x14], bl */ 19704 edx = MEM32(eax + 0x4); /* 0x3900689D: mov edx, dword ptr [eax + 4] */ 19705 ecx = MEM32(edx + 0x4); /* 0x390068A0: mov ecx, dword ptr [edx + 4] */ 19706 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x390068A3: mov byte ptr [ecx + 0x14], 0 */ 19707 edx = MEM32(eax + 0x4); /* 0x390068A7: mov edx, dword ptr [eax + 4] */ 19708 ecx = MEM32(edx + 0x4); /* 0x390068AA: mov ecx, dword ptr [edx + 4] */ 19709 edx = MEM32(ecx + 0x8); /* 0x390068AD: mov edx, dword ptr [ecx + 8] */ 19710 edi = MEM32(edx); /* 0x390068B0: mov edi, dword ptr [edx] */ 19711 MEM32(ecx + 0x8) = edi; /* 0x390068B2: mov dword ptr [ecx + 8], edi */ 19712 edi = MEM32(edx); /* 0x390068B5: mov edi, dword ptr [edx] */ 19713 /* cmp edi, MEM32(esi + 0x8) */ /* 0x390068B7: cmp edi, dword ptr [esi + 8] */ 19714 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19715 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19716 _flag_k = FK_CMP; 19717 if (CMP_EQ(_flag_a, _flag_b)) goto L_390068BF; /* 0x390068BA: je 0x390068bf */ 19718 L_390068BC: 19719 MEM32(edi + 0x4) = ecx; /* 0x390068BC: mov dword ptr [edi + 4], ecx */ 19720 L_390068BF: 19721 edi = MEM32(ecx + 0x4); /* 0x390068BF: mov edi, dword ptr [ecx + 4] */ 19722 MEM32(edx + 0x4) = edi; /* 0x390068C2: mov dword ptr [edx + 4], edi */ 19723 edi = MEM32(esi + 0x4); /* 0x390068C5: mov edi, dword ptr [esi + 4] */ 19724 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x390068C8: cmp ecx, dword ptr [edi + 4] */ 19725 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 19726 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19727 _flag_k = FK_CMP; 19728 if (CMP_NE(_flag_a, _flag_b)) goto L_390068D2; /* 0x390068CB: jne 0x390068d2 */ 19729 L_390068CD: 19730 MEM32(edi + 0x4) = edx; /* 0x390068CD: mov dword ptr [edi + 4], edx */ 19731 goto L_390068E0; /* 0x390068D0: jmp 0x390068e0 */ 19732 L_390068D2: 19733 edi = MEM32(ecx + 0x4); /* 0x390068D2: mov edi, dword ptr [ecx + 4] */ 19734 /* cmp ecx, MEM32(edi) */ /* 0x390068D5: cmp ecx, dword ptr [edi] */ 19735 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 19736 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19737 _flag_k = FK_CMP; 19738 if (CMP_NE(_flag_a, _flag_b)) goto L_390068DD; /* 0x390068D7: jne 0x390068dd */ 19739 L_390068D9: 19740 MEM32(edi) = edx; /* 0x390068D9: mov dword ptr [edi], edx */ 19741 goto L_390068E0; /* 0x390068DB: jmp 0x390068e0 */ 19742 L_390068DD: 19743 MEM32(edi + 0x8) = edx; /* 0x390068DD: mov dword ptr [edi + 8], edx */ 19744 L_390068E0: 19745 MEM32(edx) = ecx; /* 0x390068E0: mov dword ptr [edx], ecx */ 19746 L_390068E2: 19747 MEM32(ecx + 0x4) = edx; /* 0x390068E2: mov dword ptr [ecx + 4], edx */ 19748 L_390068E5: 19749 ecx = MEM32(esi + 0x4); /* 0x390068E5: mov ecx, dword ptr [esi + 4] */ 19750 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x390068E8: cmp eax, dword ptr [ecx + 4] */ 19751 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 19752 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19753 _flag_k = FK_CMP; 19754 RECOMP_BACKEDGE(); 19755 if (CMP_NE(_flag_a, _flag_b)) goto L_39006771; /* 0x390068EB: jne 0x39006771 */ 19756 L_390068F1: 19757 edx = MEM32(esi + 0x4); /* 0x390068F1: mov edx, dword ptr [esi + 4] */ 19758 ecx = MEM32(ebp + (-0x4)); /* 0x390068F4: mov ecx, dword ptr [ebp - 4] */ 19759 edi = POP32_VAL(esp); /* 0x390068F7: pop edi */ 19760 esi = POP32_VAL(esp); /* 0x390068F8: pop esi */ 19761 eax = MEM32(edx + 0x4); /* 0x390068F9: mov eax, dword ptr [edx + 4] */ 19762 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x390068FC: mov byte ptr [eax + 0x14], bl */ 19763 eax = MEM32(ebp + 0x8); /* 0x390068FF: mov eax, dword ptr [ebp + 8] */ 19764 ebx = POP32_VAL(esp); /* 0x39006902: pop ebx */ 19765 MEM32(eax) = ecx; /* 0x39006903: mov dword ptr [eax], ecx */ 19766 esp = ebp; /* 0x39006905: mov esp, ebp */ 19767 ebp = POP32_VAL(esp); /* 0x39006907: pop ebp */ 19768 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39006908: ret 0x10 */ 19769 RECOMP_REGS_OUT(); 19770 } 19771 19772 void sub_390067EF(void) { 19773 int _fpu_cmp = 0; 19774 uint32_t _cf = 0; 19775 int _df = 1; 19776 uint32_t _flag_k = FK_NONE; 19777 uint32_t _flag_a = 0, _flag_b = 0; 19778 uint32_t _itail_tgt = 0; 19779 RECOMP_REGS_LOCALS 19780 RECOMP_ENTER(0x390067EFu); 19781 19782 goto L_390067EF; 19783 L_39006771: 19784 ecx = MEM32(eax + 0x4); /* 0x39006771: mov ecx, dword ptr [eax + 4] */ 19785 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x39006774: mov dl, byte ptr [ecx + 0x14] */ 19786 /* test LO8(edx), LO8(edx) */ /* 0x39006777: test dl, dl */ 19787 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 19788 _cf = 0; 19789 _flag_k = FK_NARROW(FK_TEST, 24); 19790 if (TEST_NZ(_flag_a, _flag_b)) goto L_390068F1; /* 0x39006779: jne 0x390068f1 */ 19791 L_3900677F: 19792 edi = MEM32(ecx + 0x4); /* 0x3900677F: mov edi, dword ptr [ecx + 4] */ 19793 edx = MEM32(edi); /* 0x39006782: mov edx, dword ptr [edi] */ 19794 /* cmp ecx, edx */ /* 0x39006784: cmp ecx, edx */ 19795 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 19796 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19797 _flag_k = FK_CMP; 19798 if (CMP_NE(_flag_a, _flag_b)) goto L_3900684D; /* 0x39006786: jne 0x3900684d */ 19799 L_3900678C: 19800 edx = MEM32(edi + 0x8); /* 0x3900678C: mov edx, dword ptr [edi + 8] */ 19801 /* cmp MEM8(edx + 0x14), 0 */ /* 0x3900678F: cmp byte ptr [edx + 0x14], 0 */ 19802 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 19803 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19804 _flag_k = FK_NARROW(FK_CMP, 24); 19805 if (CMP_NE(_flag_a, _flag_b)) goto L_390067B0; /* 0x39006793: jne 0x390067b0 */ 19806 L_39006795: 19807 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39006795: mov byte ptr [ecx + 0x14], bl */ 19808 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39006798: mov byte ptr [edx + 0x14], bl */ 19809 ecx = MEM32(eax + 0x4); /* 0x3900679B: mov ecx, dword ptr [eax + 4] */ 19810 edx = MEM32(ecx + 0x4); /* 0x3900679E: mov edx, dword ptr [ecx + 4] */ 19811 MEM8(edx + 0x14) = (uint8_t)(0); /* 0x390067A1: mov byte ptr [edx + 0x14], 0 */ 19812 eax = MEM32(eax + 0x4); /* 0x390067A5: mov eax, dword ptr [eax + 4] */ 19813 eax = MEM32(eax + 0x4); /* 0x390067A8: mov eax, dword ptr [eax + 4] */ 19814 goto L_390068E5; /* 0x390067AB: jmp 0x390068e5 */ 19815 L_390067B0: 19816 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x390067B0: cmp eax, dword ptr [ecx + 8] */ 19817 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 19818 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19819 _flag_k = FK_CMP; 19820 if (CMP_NE(_flag_a, _flag_b)) goto L_390067EF; /* 0x390067B3: jne 0x390067ef */ 19821 L_390067B5: 19822 eax = ecx; /* 0x390067B5: mov eax, ecx */ 19823 ecx = MEM32(eax + 0x8); /* 0x390067B7: mov ecx, dword ptr [eax + 8] */ 19824 edx = MEM32(ecx); /* 0x390067BA: mov edx, dword ptr [ecx] */ 19825 MEM32(eax + 0x8) = edx; /* 0x390067BC: mov dword ptr [eax + 8], edx */ 19826 edx = MEM32(ecx); /* 0x390067BF: mov edx, dword ptr [ecx] */ 19827 /* cmp edx, MEM32(esi + 0x8) */ /* 0x390067C1: cmp edx, dword ptr [esi + 8] */ 19828 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19829 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19830 _flag_k = FK_CMP; 19831 if (CMP_EQ(_flag_a, _flag_b)) goto L_390067C9; /* 0x390067C4: je 0x390067c9 */ 19832 L_390067C6: 19833 MEM32(edx + 0x4) = eax; /* 0x390067C6: mov dword ptr [edx + 4], eax */ 19834 L_390067C9: 19835 edx = MEM32(eax + 0x4); /* 0x390067C9: mov edx, dword ptr [eax + 4] */ 19836 MEM32(ecx + 0x4) = edx; /* 0x390067CC: mov dword ptr [ecx + 4], edx */ 19837 edx = MEM32(esi + 0x4); /* 0x390067CF: mov edx, dword ptr [esi + 4] */ 19838 /* cmp eax, MEM32(edx + 0x4) */ /* 0x390067D2: cmp eax, dword ptr [edx + 4] */ 19839 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 19840 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19841 _flag_k = FK_CMP; 19842 if (CMP_NE(_flag_a, _flag_b)) goto L_390067DC; /* 0x390067D5: jne 0x390067dc */ 19843 L_390067D7: 19844 MEM32(edx + 0x4) = ecx; /* 0x390067D7: mov dword ptr [edx + 4], ecx */ 19845 goto L_390067EA; /* 0x390067DA: jmp 0x390067ea */ 19846 L_390067DC: 19847 edx = MEM32(eax + 0x4); /* 0x390067DC: mov edx, dword ptr [eax + 4] */ 19848 /* cmp eax, MEM32(edx) */ /* 0x390067DF: cmp eax, dword ptr [edx] */ 19849 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 19850 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19851 _flag_k = FK_CMP; 19852 if (CMP_NE(_flag_a, _flag_b)) goto L_390067E7; /* 0x390067E1: jne 0x390067e7 */ 19853 L_390067E3: 19854 MEM32(edx) = ecx; /* 0x390067E3: mov dword ptr [edx], ecx */ 19855 goto L_390067EA; /* 0x390067E5: jmp 0x390067ea */ 19856 L_390067E7: 19857 MEM32(edx + 0x8) = ecx; /* 0x390067E7: mov dword ptr [edx + 8], ecx */ 19858 L_390067EA: 19859 MEM32(ecx) = eax; /* 0x390067EA: mov dword ptr [ecx], eax */ 19860 MEM32(eax + 0x4) = ecx; /* 0x390067EC: mov dword ptr [eax + 4], ecx */ 19861 L_390067EF: 19862 ecx = MEM32(eax + 0x4); /* 0x390067EF: mov ecx, dword ptr [eax + 4] */ 19863 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x390067F2: mov byte ptr [ecx + 0x14], bl */ 19864 edx = MEM32(eax + 0x4); /* 0x390067F5: mov edx, dword ptr [eax + 4] */ 19865 ecx = MEM32(edx + 0x4); /* 0x390067F8: mov ecx, dword ptr [edx + 4] */ 19866 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x390067FB: mov byte ptr [ecx + 0x14], 0 */ 19867 edx = MEM32(eax + 0x4); /* 0x390067FF: mov edx, dword ptr [eax + 4] */ 19868 ecx = MEM32(edx + 0x4); /* 0x39006802: mov ecx, dword ptr [edx + 4] */ 19869 edx = MEM32(ecx); /* 0x39006805: mov edx, dword ptr [ecx] */ 19870 edi = MEM32(edx + 0x8); /* 0x39006807: mov edi, dword ptr [edx + 8] */ 19871 MEM32(ecx) = edi; /* 0x3900680A: mov dword ptr [ecx], edi */ 19872 edi = MEM32(edx + 0x8); /* 0x3900680C: mov edi, dword ptr [edx + 8] */ 19873 /* cmp edi, MEM32(esi + 0x8) */ /* 0x3900680F: cmp edi, dword ptr [esi + 8] */ 19874 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19875 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19876 _flag_k = FK_CMP; 19877 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006817; /* 0x39006812: je 0x39006817 */ 19878 L_39006814: 19879 MEM32(edi + 0x4) = ecx; /* 0x39006814: mov dword ptr [edi + 4], ecx */ 19880 L_39006817: 19881 edi = MEM32(ecx + 0x4); /* 0x39006817: mov edi, dword ptr [ecx + 4] */ 19882 MEM32(edx + 0x4) = edi; /* 0x3900681A: mov dword ptr [edx + 4], edi */ 19883 edi = MEM32(esi + 0x4); /* 0x3900681D: mov edi, dword ptr [esi + 4] */ 19884 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006820: cmp ecx, dword ptr [edi + 4] */ 19885 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 19886 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19887 _flag_k = FK_CMP; 19888 if (CMP_NE(_flag_a, _flag_b)) goto L_39006830; /* 0x39006823: jne 0x39006830 */ 19889 L_39006825: 19890 MEM32(edi + 0x4) = edx; /* 0x39006825: mov dword ptr [edi + 4], edx */ 19891 MEM32(edx + 0x8) = ecx; /* 0x39006828: mov dword ptr [edx + 8], ecx */ 19892 goto L_390068E2; /* 0x3900682B: jmp 0x390068e2 */ 19893 L_39006830: 19894 edi = MEM32(ecx + 0x4); /* 0x39006830: mov edi, dword ptr [ecx + 4] */ 19895 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x39006833: cmp ecx, dword ptr [edi + 8] */ 19896 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 19897 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19898 _flag_k = FK_CMP; 19899 if (CMP_NE(_flag_a, _flag_b)) goto L_39006843; /* 0x39006836: jne 0x39006843 */ 19900 L_39006838: 19901 MEM32(edi + 0x8) = edx; /* 0x39006838: mov dword ptr [edi + 8], edx */ 19902 MEM32(edx + 0x8) = ecx; /* 0x3900683B: mov dword ptr [edx + 8], ecx */ 19903 goto L_390068E2; /* 0x3900683E: jmp 0x390068e2 */ 19904 L_39006843: 19905 MEM32(edi) = edx; /* 0x39006843: mov dword ptr [edi], edx */ 19906 MEM32(edx + 0x8) = ecx; /* 0x39006845: mov dword ptr [edx + 8], ecx */ 19907 goto L_390068E2; /* 0x39006848: jmp 0x390068e2 */ 19908 L_3900684D: 19909 /* cmp MEM8(edx + 0x14), 0 */ /* 0x3900684D: cmp byte ptr [edx + 0x14], 0 */ 19910 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 19911 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19912 _flag_k = FK_NARROW(FK_CMP, 24); 19913 RECOMP_BACKEDGE(); 19914 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006795; /* 0x39006851: je 0x39006795 */ 19915 L_39006857: 19916 /* cmp eax, MEM32(ecx) */ /* 0x39006857: cmp eax, dword ptr [ecx] */ 19917 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 19918 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19919 _flag_k = FK_CMP; 19920 if (CMP_NE(_flag_a, _flag_b)) goto L_39006897; /* 0x39006859: jne 0x39006897 */ 19921 L_3900685B: 19922 eax = ecx; /* 0x3900685B: mov eax, ecx */ 19923 ecx = MEM32(eax); /* 0x3900685D: mov ecx, dword ptr [eax] */ 19924 edx = MEM32(ecx + 0x8); /* 0x3900685F: mov edx, dword ptr [ecx + 8] */ 19925 MEM32(eax) = edx; /* 0x39006862: mov dword ptr [eax], edx */ 19926 edx = MEM32(ecx + 0x8); /* 0x39006864: mov edx, dword ptr [ecx + 8] */ 19927 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006867: cmp edx, dword ptr [esi + 8] */ 19928 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19929 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19930 _flag_k = FK_CMP; 19931 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900686F; /* 0x3900686A: je 0x3900686f */ 19932 L_3900686C: 19933 MEM32(edx + 0x4) = eax; /* 0x3900686C: mov dword ptr [edx + 4], eax */ 19934 L_3900686F: 19935 edx = MEM32(eax + 0x4); /* 0x3900686F: mov edx, dword ptr [eax + 4] */ 19936 MEM32(ecx + 0x4) = edx; /* 0x39006872: mov dword ptr [ecx + 4], edx */ 19937 edx = MEM32(esi + 0x4); /* 0x39006875: mov edx, dword ptr [esi + 4] */ 19938 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006878: cmp eax, dword ptr [edx + 4] */ 19939 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 19940 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19941 _flag_k = FK_CMP; 19942 if (CMP_NE(_flag_a, _flag_b)) goto L_39006882; /* 0x3900687B: jne 0x39006882 */ 19943 L_3900687D: 19944 MEM32(edx + 0x4) = ecx; /* 0x3900687D: mov dword ptr [edx + 4], ecx */ 19945 goto L_39006891; /* 0x39006880: jmp 0x39006891 */ 19946 L_39006882: 19947 edx = MEM32(eax + 0x4); /* 0x39006882: mov edx, dword ptr [eax + 4] */ 19948 /* cmp eax, MEM32(edx + 0x8) */ /* 0x39006885: cmp eax, dword ptr [edx + 8] */ 19949 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 19950 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19951 _flag_k = FK_CMP; 19952 if (CMP_NE(_flag_a, _flag_b)) goto L_3900688F; /* 0x39006888: jne 0x3900688f */ 19953 L_3900688A: 19954 MEM32(edx + 0x8) = ecx; /* 0x3900688A: mov dword ptr [edx + 8], ecx */ 19955 goto L_39006891; /* 0x3900688D: jmp 0x39006891 */ 19956 L_3900688F: 19957 MEM32(edx) = ecx; /* 0x3900688F: mov dword ptr [edx], ecx */ 19958 L_39006891: 19959 MEM32(ecx + 0x8) = eax; /* 0x39006891: mov dword ptr [ecx + 8], eax */ 19960 MEM32(eax + 0x4) = ecx; /* 0x39006894: mov dword ptr [eax + 4], ecx */ 19961 L_39006897: 19962 ecx = MEM32(eax + 0x4); /* 0x39006897: mov ecx, dword ptr [eax + 4] */ 19963 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x3900689A: mov byte ptr [ecx + 0x14], bl */ 19964 edx = MEM32(eax + 0x4); /* 0x3900689D: mov edx, dword ptr [eax + 4] */ 19965 ecx = MEM32(edx + 0x4); /* 0x390068A0: mov ecx, dword ptr [edx + 4] */ 19966 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x390068A3: mov byte ptr [ecx + 0x14], 0 */ 19967 edx = MEM32(eax + 0x4); /* 0x390068A7: mov edx, dword ptr [eax + 4] */ 19968 ecx = MEM32(edx + 0x4); /* 0x390068AA: mov ecx, dword ptr [edx + 4] */ 19969 edx = MEM32(ecx + 0x8); /* 0x390068AD: mov edx, dword ptr [ecx + 8] */ 19970 edi = MEM32(edx); /* 0x390068B0: mov edi, dword ptr [edx] */ 19971 MEM32(ecx + 0x8) = edi; /* 0x390068B2: mov dword ptr [ecx + 8], edi */ 19972 edi = MEM32(edx); /* 0x390068B5: mov edi, dword ptr [edx] */ 19973 /* cmp edi, MEM32(esi + 0x8) */ /* 0x390068B7: cmp edi, dword ptr [esi + 8] */ 19974 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 19975 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19976 _flag_k = FK_CMP; 19977 if (CMP_EQ(_flag_a, _flag_b)) goto L_390068BF; /* 0x390068BA: je 0x390068bf */ 19978 L_390068BC: 19979 MEM32(edi + 0x4) = ecx; /* 0x390068BC: mov dword ptr [edi + 4], ecx */ 19980 L_390068BF: 19981 edi = MEM32(ecx + 0x4); /* 0x390068BF: mov edi, dword ptr [ecx + 4] */ 19982 MEM32(edx + 0x4) = edi; /* 0x390068C2: mov dword ptr [edx + 4], edi */ 19983 edi = MEM32(esi + 0x4); /* 0x390068C5: mov edi, dword ptr [esi + 4] */ 19984 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x390068C8: cmp ecx, dword ptr [edi + 4] */ 19985 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 19986 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19987 _flag_k = FK_CMP; 19988 if (CMP_NE(_flag_a, _flag_b)) goto L_390068D2; /* 0x390068CB: jne 0x390068d2 */ 19989 L_390068CD: 19990 MEM32(edi + 0x4) = edx; /* 0x390068CD: mov dword ptr [edi + 4], edx */ 19991 goto L_390068E0; /* 0x390068D0: jmp 0x390068e0 */ 19992 L_390068D2: 19993 edi = MEM32(ecx + 0x4); /* 0x390068D2: mov edi, dword ptr [ecx + 4] */ 19994 /* cmp ecx, MEM32(edi) */ /* 0x390068D5: cmp ecx, dword ptr [edi] */ 19995 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 19996 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 19997 _flag_k = FK_CMP; 19998 if (CMP_NE(_flag_a, _flag_b)) goto L_390068DD; /* 0x390068D7: jne 0x390068dd */ 19999 L_390068D9: 20000 MEM32(edi) = edx; /* 0x390068D9: mov dword ptr [edi], edx */ 20001 goto L_390068E0; /* 0x390068DB: jmp 0x390068e0 */ 20002 L_390068DD: 20003 MEM32(edi + 0x8) = edx; /* 0x390068DD: mov dword ptr [edi + 8], edx */ 20004 L_390068E0: 20005 MEM32(edx) = ecx; /* 0x390068E0: mov dword ptr [edx], ecx */ 20006 L_390068E2: 20007 MEM32(ecx + 0x4) = edx; /* 0x390068E2: mov dword ptr [ecx + 4], edx */ 20008 L_390068E5: 20009 ecx = MEM32(esi + 0x4); /* 0x390068E5: mov ecx, dword ptr [esi + 4] */ 20010 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x390068E8: cmp eax, dword ptr [ecx + 4] */ 20011 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 20012 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20013 _flag_k = FK_CMP; 20014 RECOMP_BACKEDGE(); 20015 if (CMP_NE(_flag_a, _flag_b)) goto L_39006771; /* 0x390068EB: jne 0x39006771 */ 20016 L_390068F1: 20017 edx = MEM32(esi + 0x4); /* 0x390068F1: mov edx, dword ptr [esi + 4] */ 20018 ecx = MEM32(ebp + (-0x4)); /* 0x390068F4: mov ecx, dword ptr [ebp - 4] */ 20019 edi = POP32_VAL(esp); /* 0x390068F7: pop edi */ 20020 esi = POP32_VAL(esp); /* 0x390068F8: pop esi */ 20021 eax = MEM32(edx + 0x4); /* 0x390068F9: mov eax, dword ptr [edx + 4] */ 20022 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x390068FC: mov byte ptr [eax + 0x14], bl */ 20023 eax = MEM32(ebp + 0x8); /* 0x390068FF: mov eax, dword ptr [ebp + 8] */ 20024 ebx = POP32_VAL(esp); /* 0x39006902: pop ebx */ 20025 MEM32(eax) = ecx; /* 0x39006903: mov dword ptr [eax], ecx */ 20026 esp = ebp; /* 0x39006905: mov esp, ebp */ 20027 ebp = POP32_VAL(esp); /* 0x39006907: pop ebp */ 20028 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39006908: ret 0x10 */ 20029 RECOMP_REGS_OUT(); 20030 } 20031 20032 void sub_3900684D(void) { 20033 int _fpu_cmp = 0; 20034 uint32_t _cf = 0; 20035 int _df = 1; 20036 uint32_t _flag_k = FK_NONE; 20037 uint32_t _flag_a = 0, _flag_b = 0; 20038 uint32_t _itail_tgt = 0; 20039 RECOMP_REGS_LOCALS 20040 RECOMP_ENTER(0x3900684Du); 20041 20042 goto L_3900684D; 20043 L_39006771: 20044 ecx = MEM32(eax + 0x4); /* 0x39006771: mov ecx, dword ptr [eax + 4] */ 20045 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x39006774: mov dl, byte ptr [ecx + 0x14] */ 20046 /* test LO8(edx), LO8(edx) */ /* 0x39006777: test dl, dl */ 20047 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 20048 _cf = 0; 20049 _flag_k = FK_NARROW(FK_TEST, 24); 20050 if (TEST_NZ(_flag_a, _flag_b)) goto L_390068F1; /* 0x39006779: jne 0x390068f1 */ 20051 L_3900677F: 20052 edi = MEM32(ecx + 0x4); /* 0x3900677F: mov edi, dword ptr [ecx + 4] */ 20053 edx = MEM32(edi); /* 0x39006782: mov edx, dword ptr [edi] */ 20054 /* cmp ecx, edx */ /* 0x39006784: cmp ecx, edx */ 20055 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 20056 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20057 _flag_k = FK_CMP; 20058 if (CMP_NE(_flag_a, _flag_b)) goto L_3900684D; /* 0x39006786: jne 0x3900684d */ 20059 L_3900678C: 20060 edx = MEM32(edi + 0x8); /* 0x3900678C: mov edx, dword ptr [edi + 8] */ 20061 /* cmp MEM8(edx + 0x14), 0 */ /* 0x3900678F: cmp byte ptr [edx + 0x14], 0 */ 20062 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 20063 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20064 _flag_k = FK_NARROW(FK_CMP, 24); 20065 if (CMP_NE(_flag_a, _flag_b)) goto L_390067B0; /* 0x39006793: jne 0x390067b0 */ 20066 L_39006795: 20067 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39006795: mov byte ptr [ecx + 0x14], bl */ 20068 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39006798: mov byte ptr [edx + 0x14], bl */ 20069 ecx = MEM32(eax + 0x4); /* 0x3900679B: mov ecx, dword ptr [eax + 4] */ 20070 edx = MEM32(ecx + 0x4); /* 0x3900679E: mov edx, dword ptr [ecx + 4] */ 20071 MEM8(edx + 0x14) = (uint8_t)(0); /* 0x390067A1: mov byte ptr [edx + 0x14], 0 */ 20072 eax = MEM32(eax + 0x4); /* 0x390067A5: mov eax, dword ptr [eax + 4] */ 20073 eax = MEM32(eax + 0x4); /* 0x390067A8: mov eax, dword ptr [eax + 4] */ 20074 goto L_390068E5; /* 0x390067AB: jmp 0x390068e5 */ 20075 L_390067B0: 20076 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x390067B0: cmp eax, dword ptr [ecx + 8] */ 20077 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 20078 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20079 _flag_k = FK_CMP; 20080 if (CMP_NE(_flag_a, _flag_b)) goto L_390067EF; /* 0x390067B3: jne 0x390067ef */ 20081 L_390067B5: 20082 eax = ecx; /* 0x390067B5: mov eax, ecx */ 20083 ecx = MEM32(eax + 0x8); /* 0x390067B7: mov ecx, dword ptr [eax + 8] */ 20084 edx = MEM32(ecx); /* 0x390067BA: mov edx, dword ptr [ecx] */ 20085 MEM32(eax + 0x8) = edx; /* 0x390067BC: mov dword ptr [eax + 8], edx */ 20086 edx = MEM32(ecx); /* 0x390067BF: mov edx, dword ptr [ecx] */ 20087 /* cmp edx, MEM32(esi + 0x8) */ /* 0x390067C1: cmp edx, dword ptr [esi + 8] */ 20088 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20089 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20090 _flag_k = FK_CMP; 20091 if (CMP_EQ(_flag_a, _flag_b)) goto L_390067C9; /* 0x390067C4: je 0x390067c9 */ 20092 L_390067C6: 20093 MEM32(edx + 0x4) = eax; /* 0x390067C6: mov dword ptr [edx + 4], eax */ 20094 L_390067C9: 20095 edx = MEM32(eax + 0x4); /* 0x390067C9: mov edx, dword ptr [eax + 4] */ 20096 MEM32(ecx + 0x4) = edx; /* 0x390067CC: mov dword ptr [ecx + 4], edx */ 20097 edx = MEM32(esi + 0x4); /* 0x390067CF: mov edx, dword ptr [esi + 4] */ 20098 /* cmp eax, MEM32(edx + 0x4) */ /* 0x390067D2: cmp eax, dword ptr [edx + 4] */ 20099 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 20100 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20101 _flag_k = FK_CMP; 20102 if (CMP_NE(_flag_a, _flag_b)) goto L_390067DC; /* 0x390067D5: jne 0x390067dc */ 20103 L_390067D7: 20104 MEM32(edx + 0x4) = ecx; /* 0x390067D7: mov dword ptr [edx + 4], ecx */ 20105 goto L_390067EA; /* 0x390067DA: jmp 0x390067ea */ 20106 L_390067DC: 20107 edx = MEM32(eax + 0x4); /* 0x390067DC: mov edx, dword ptr [eax + 4] */ 20108 /* cmp eax, MEM32(edx) */ /* 0x390067DF: cmp eax, dword ptr [edx] */ 20109 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 20110 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20111 _flag_k = FK_CMP; 20112 if (CMP_NE(_flag_a, _flag_b)) goto L_390067E7; /* 0x390067E1: jne 0x390067e7 */ 20113 L_390067E3: 20114 MEM32(edx) = ecx; /* 0x390067E3: mov dword ptr [edx], ecx */ 20115 goto L_390067EA; /* 0x390067E5: jmp 0x390067ea */ 20116 L_390067E7: 20117 MEM32(edx + 0x8) = ecx; /* 0x390067E7: mov dword ptr [edx + 8], ecx */ 20118 L_390067EA: 20119 MEM32(ecx) = eax; /* 0x390067EA: mov dword ptr [ecx], eax */ 20120 MEM32(eax + 0x4) = ecx; /* 0x390067EC: mov dword ptr [eax + 4], ecx */ 20121 L_390067EF: 20122 ecx = MEM32(eax + 0x4); /* 0x390067EF: mov ecx, dword ptr [eax + 4] */ 20123 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x390067F2: mov byte ptr [ecx + 0x14], bl */ 20124 edx = MEM32(eax + 0x4); /* 0x390067F5: mov edx, dword ptr [eax + 4] */ 20125 ecx = MEM32(edx + 0x4); /* 0x390067F8: mov ecx, dword ptr [edx + 4] */ 20126 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x390067FB: mov byte ptr [ecx + 0x14], 0 */ 20127 edx = MEM32(eax + 0x4); /* 0x390067FF: mov edx, dword ptr [eax + 4] */ 20128 ecx = MEM32(edx + 0x4); /* 0x39006802: mov ecx, dword ptr [edx + 4] */ 20129 edx = MEM32(ecx); /* 0x39006805: mov edx, dword ptr [ecx] */ 20130 edi = MEM32(edx + 0x8); /* 0x39006807: mov edi, dword ptr [edx + 8] */ 20131 MEM32(ecx) = edi; /* 0x3900680A: mov dword ptr [ecx], edi */ 20132 edi = MEM32(edx + 0x8); /* 0x3900680C: mov edi, dword ptr [edx + 8] */ 20133 /* cmp edi, MEM32(esi + 0x8) */ /* 0x3900680F: cmp edi, dword ptr [esi + 8] */ 20134 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20135 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20136 _flag_k = FK_CMP; 20137 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006817; /* 0x39006812: je 0x39006817 */ 20138 L_39006814: 20139 MEM32(edi + 0x4) = ecx; /* 0x39006814: mov dword ptr [edi + 4], ecx */ 20140 L_39006817: 20141 edi = MEM32(ecx + 0x4); /* 0x39006817: mov edi, dword ptr [ecx + 4] */ 20142 MEM32(edx + 0x4) = edi; /* 0x3900681A: mov dword ptr [edx + 4], edi */ 20143 edi = MEM32(esi + 0x4); /* 0x3900681D: mov edi, dword ptr [esi + 4] */ 20144 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006820: cmp ecx, dword ptr [edi + 4] */ 20145 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 20146 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20147 _flag_k = FK_CMP; 20148 if (CMP_NE(_flag_a, _flag_b)) goto L_39006830; /* 0x39006823: jne 0x39006830 */ 20149 L_39006825: 20150 MEM32(edi + 0x4) = edx; /* 0x39006825: mov dword ptr [edi + 4], edx */ 20151 MEM32(edx + 0x8) = ecx; /* 0x39006828: mov dword ptr [edx + 8], ecx */ 20152 goto L_390068E2; /* 0x3900682B: jmp 0x390068e2 */ 20153 L_39006830: 20154 edi = MEM32(ecx + 0x4); /* 0x39006830: mov edi, dword ptr [ecx + 4] */ 20155 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x39006833: cmp ecx, dword ptr [edi + 8] */ 20156 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20157 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20158 _flag_k = FK_CMP; 20159 if (CMP_NE(_flag_a, _flag_b)) goto L_39006843; /* 0x39006836: jne 0x39006843 */ 20160 L_39006838: 20161 MEM32(edi + 0x8) = edx; /* 0x39006838: mov dword ptr [edi + 8], edx */ 20162 MEM32(edx + 0x8) = ecx; /* 0x3900683B: mov dword ptr [edx + 8], ecx */ 20163 goto L_390068E2; /* 0x3900683E: jmp 0x390068e2 */ 20164 L_39006843: 20165 MEM32(edi) = edx; /* 0x39006843: mov dword ptr [edi], edx */ 20166 MEM32(edx + 0x8) = ecx; /* 0x39006845: mov dword ptr [edx + 8], ecx */ 20167 goto L_390068E2; /* 0x39006848: jmp 0x390068e2 */ 20168 L_3900684D: 20169 /* cmp MEM8(edx + 0x14), 0 */ /* 0x3900684D: cmp byte ptr [edx + 0x14], 0 */ 20170 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 20171 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20172 _flag_k = FK_NARROW(FK_CMP, 24); 20173 RECOMP_BACKEDGE(); 20174 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006795; /* 0x39006851: je 0x39006795 */ 20175 L_39006857: 20176 /* cmp eax, MEM32(ecx) */ /* 0x39006857: cmp eax, dword ptr [ecx] */ 20177 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 20178 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20179 _flag_k = FK_CMP; 20180 if (CMP_NE(_flag_a, _flag_b)) goto L_39006897; /* 0x39006859: jne 0x39006897 */ 20181 L_3900685B: 20182 eax = ecx; /* 0x3900685B: mov eax, ecx */ 20183 ecx = MEM32(eax); /* 0x3900685D: mov ecx, dword ptr [eax] */ 20184 edx = MEM32(ecx + 0x8); /* 0x3900685F: mov edx, dword ptr [ecx + 8] */ 20185 MEM32(eax) = edx; /* 0x39006862: mov dword ptr [eax], edx */ 20186 edx = MEM32(ecx + 0x8); /* 0x39006864: mov edx, dword ptr [ecx + 8] */ 20187 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006867: cmp edx, dword ptr [esi + 8] */ 20188 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20189 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20190 _flag_k = FK_CMP; 20191 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900686F; /* 0x3900686A: je 0x3900686f */ 20192 L_3900686C: 20193 MEM32(edx + 0x4) = eax; /* 0x3900686C: mov dword ptr [edx + 4], eax */ 20194 L_3900686F: 20195 edx = MEM32(eax + 0x4); /* 0x3900686F: mov edx, dword ptr [eax + 4] */ 20196 MEM32(ecx + 0x4) = edx; /* 0x39006872: mov dword ptr [ecx + 4], edx */ 20197 edx = MEM32(esi + 0x4); /* 0x39006875: mov edx, dword ptr [esi + 4] */ 20198 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006878: cmp eax, dword ptr [edx + 4] */ 20199 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 20200 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20201 _flag_k = FK_CMP; 20202 if (CMP_NE(_flag_a, _flag_b)) goto L_39006882; /* 0x3900687B: jne 0x39006882 */ 20203 L_3900687D: 20204 MEM32(edx + 0x4) = ecx; /* 0x3900687D: mov dword ptr [edx + 4], ecx */ 20205 goto L_39006891; /* 0x39006880: jmp 0x39006891 */ 20206 L_39006882: 20207 edx = MEM32(eax + 0x4); /* 0x39006882: mov edx, dword ptr [eax + 4] */ 20208 /* cmp eax, MEM32(edx + 0x8) */ /* 0x39006885: cmp eax, dword ptr [edx + 8] */ 20209 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 20210 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20211 _flag_k = FK_CMP; 20212 if (CMP_NE(_flag_a, _flag_b)) goto L_3900688F; /* 0x39006888: jne 0x3900688f */ 20213 L_3900688A: 20214 MEM32(edx + 0x8) = ecx; /* 0x3900688A: mov dword ptr [edx + 8], ecx */ 20215 goto L_39006891; /* 0x3900688D: jmp 0x39006891 */ 20216 L_3900688F: 20217 MEM32(edx) = ecx; /* 0x3900688F: mov dword ptr [edx], ecx */ 20218 L_39006891: 20219 MEM32(ecx + 0x8) = eax; /* 0x39006891: mov dword ptr [ecx + 8], eax */ 20220 MEM32(eax + 0x4) = ecx; /* 0x39006894: mov dword ptr [eax + 4], ecx */ 20221 L_39006897: 20222 ecx = MEM32(eax + 0x4); /* 0x39006897: mov ecx, dword ptr [eax + 4] */ 20223 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x3900689A: mov byte ptr [ecx + 0x14], bl */ 20224 edx = MEM32(eax + 0x4); /* 0x3900689D: mov edx, dword ptr [eax + 4] */ 20225 ecx = MEM32(edx + 0x4); /* 0x390068A0: mov ecx, dword ptr [edx + 4] */ 20226 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x390068A3: mov byte ptr [ecx + 0x14], 0 */ 20227 edx = MEM32(eax + 0x4); /* 0x390068A7: mov edx, dword ptr [eax + 4] */ 20228 ecx = MEM32(edx + 0x4); /* 0x390068AA: mov ecx, dword ptr [edx + 4] */ 20229 edx = MEM32(ecx + 0x8); /* 0x390068AD: mov edx, dword ptr [ecx + 8] */ 20230 edi = MEM32(edx); /* 0x390068B0: mov edi, dword ptr [edx] */ 20231 MEM32(ecx + 0x8) = edi; /* 0x390068B2: mov dword ptr [ecx + 8], edi */ 20232 edi = MEM32(edx); /* 0x390068B5: mov edi, dword ptr [edx] */ 20233 /* cmp edi, MEM32(esi + 0x8) */ /* 0x390068B7: cmp edi, dword ptr [esi + 8] */ 20234 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20235 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20236 _flag_k = FK_CMP; 20237 if (CMP_EQ(_flag_a, _flag_b)) goto L_390068BF; /* 0x390068BA: je 0x390068bf */ 20238 L_390068BC: 20239 MEM32(edi + 0x4) = ecx; /* 0x390068BC: mov dword ptr [edi + 4], ecx */ 20240 L_390068BF: 20241 edi = MEM32(ecx + 0x4); /* 0x390068BF: mov edi, dword ptr [ecx + 4] */ 20242 MEM32(edx + 0x4) = edi; /* 0x390068C2: mov dword ptr [edx + 4], edi */ 20243 edi = MEM32(esi + 0x4); /* 0x390068C5: mov edi, dword ptr [esi + 4] */ 20244 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x390068C8: cmp ecx, dword ptr [edi + 4] */ 20245 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 20246 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20247 _flag_k = FK_CMP; 20248 if (CMP_NE(_flag_a, _flag_b)) goto L_390068D2; /* 0x390068CB: jne 0x390068d2 */ 20249 L_390068CD: 20250 MEM32(edi + 0x4) = edx; /* 0x390068CD: mov dword ptr [edi + 4], edx */ 20251 goto L_390068E0; /* 0x390068D0: jmp 0x390068e0 */ 20252 L_390068D2: 20253 edi = MEM32(ecx + 0x4); /* 0x390068D2: mov edi, dword ptr [ecx + 4] */ 20254 /* cmp ecx, MEM32(edi) */ /* 0x390068D5: cmp ecx, dword ptr [edi] */ 20255 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 20256 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20257 _flag_k = FK_CMP; 20258 if (CMP_NE(_flag_a, _flag_b)) goto L_390068DD; /* 0x390068D7: jne 0x390068dd */ 20259 L_390068D9: 20260 MEM32(edi) = edx; /* 0x390068D9: mov dword ptr [edi], edx */ 20261 goto L_390068E0; /* 0x390068DB: jmp 0x390068e0 */ 20262 L_390068DD: 20263 MEM32(edi + 0x8) = edx; /* 0x390068DD: mov dword ptr [edi + 8], edx */ 20264 L_390068E0: 20265 MEM32(edx) = ecx; /* 0x390068E0: mov dword ptr [edx], ecx */ 20266 L_390068E2: 20267 MEM32(ecx + 0x4) = edx; /* 0x390068E2: mov dword ptr [ecx + 4], edx */ 20268 L_390068E5: 20269 ecx = MEM32(esi + 0x4); /* 0x390068E5: mov ecx, dword ptr [esi + 4] */ 20270 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x390068E8: cmp eax, dword ptr [ecx + 4] */ 20271 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 20272 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20273 _flag_k = FK_CMP; 20274 RECOMP_BACKEDGE(); 20275 if (CMP_NE(_flag_a, _flag_b)) goto L_39006771; /* 0x390068EB: jne 0x39006771 */ 20276 L_390068F1: 20277 edx = MEM32(esi + 0x4); /* 0x390068F1: mov edx, dword ptr [esi + 4] */ 20278 ecx = MEM32(ebp + (-0x4)); /* 0x390068F4: mov ecx, dword ptr [ebp - 4] */ 20279 edi = POP32_VAL(esp); /* 0x390068F7: pop edi */ 20280 esi = POP32_VAL(esp); /* 0x390068F8: pop esi */ 20281 eax = MEM32(edx + 0x4); /* 0x390068F9: mov eax, dword ptr [edx + 4] */ 20282 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x390068FC: mov byte ptr [eax + 0x14], bl */ 20283 eax = MEM32(ebp + 0x8); /* 0x390068FF: mov eax, dword ptr [ebp + 8] */ 20284 ebx = POP32_VAL(esp); /* 0x39006902: pop ebx */ 20285 MEM32(eax) = ecx; /* 0x39006903: mov dword ptr [eax], ecx */ 20286 esp = ebp; /* 0x39006905: mov esp, ebp */ 20287 ebp = POP32_VAL(esp); /* 0x39006907: pop ebp */ 20288 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39006908: ret 0x10 */ 20289 RECOMP_REGS_OUT(); 20290 } 20291 20292 void sub_39006891(void) { 20293 int _fpu_cmp = 0; 20294 uint32_t _cf = 0; 20295 int _df = 1; 20296 uint32_t _flag_k = FK_NONE; 20297 uint32_t _flag_a = 0, _flag_b = 0; 20298 uint32_t _itail_tgt = 0; 20299 RECOMP_REGS_LOCALS 20300 RECOMP_ENTER(0x39006891u); 20301 20302 goto L_39006891; 20303 L_39006771: 20304 ecx = MEM32(eax + 0x4); /* 0x39006771: mov ecx, dword ptr [eax + 4] */ 20305 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x39006774: mov dl, byte ptr [ecx + 0x14] */ 20306 /* test LO8(edx), LO8(edx) */ /* 0x39006777: test dl, dl */ 20307 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 20308 _cf = 0; 20309 _flag_k = FK_NARROW(FK_TEST, 24); 20310 if (TEST_NZ(_flag_a, _flag_b)) goto L_390068F1; /* 0x39006779: jne 0x390068f1 */ 20311 L_3900677F: 20312 edi = MEM32(ecx + 0x4); /* 0x3900677F: mov edi, dword ptr [ecx + 4] */ 20313 edx = MEM32(edi); /* 0x39006782: mov edx, dword ptr [edi] */ 20314 /* cmp ecx, edx */ /* 0x39006784: cmp ecx, edx */ 20315 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 20316 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20317 _flag_k = FK_CMP; 20318 if (CMP_NE(_flag_a, _flag_b)) goto L_3900684D; /* 0x39006786: jne 0x3900684d */ 20319 L_3900678C: 20320 edx = MEM32(edi + 0x8); /* 0x3900678C: mov edx, dword ptr [edi + 8] */ 20321 /* cmp MEM8(edx + 0x14), 0 */ /* 0x3900678F: cmp byte ptr [edx + 0x14], 0 */ 20322 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 20323 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20324 _flag_k = FK_NARROW(FK_CMP, 24); 20325 if (CMP_NE(_flag_a, _flag_b)) goto L_390067B0; /* 0x39006793: jne 0x390067b0 */ 20326 L_39006795: 20327 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39006795: mov byte ptr [ecx + 0x14], bl */ 20328 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39006798: mov byte ptr [edx + 0x14], bl */ 20329 ecx = MEM32(eax + 0x4); /* 0x3900679B: mov ecx, dword ptr [eax + 4] */ 20330 edx = MEM32(ecx + 0x4); /* 0x3900679E: mov edx, dword ptr [ecx + 4] */ 20331 MEM8(edx + 0x14) = (uint8_t)(0); /* 0x390067A1: mov byte ptr [edx + 0x14], 0 */ 20332 eax = MEM32(eax + 0x4); /* 0x390067A5: mov eax, dword ptr [eax + 4] */ 20333 eax = MEM32(eax + 0x4); /* 0x390067A8: mov eax, dword ptr [eax + 4] */ 20334 goto L_390068E5; /* 0x390067AB: jmp 0x390068e5 */ 20335 L_390067B0: 20336 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x390067B0: cmp eax, dword ptr [ecx + 8] */ 20337 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 20338 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20339 _flag_k = FK_CMP; 20340 if (CMP_NE(_flag_a, _flag_b)) goto L_390067EF; /* 0x390067B3: jne 0x390067ef */ 20341 L_390067B5: 20342 eax = ecx; /* 0x390067B5: mov eax, ecx */ 20343 ecx = MEM32(eax + 0x8); /* 0x390067B7: mov ecx, dword ptr [eax + 8] */ 20344 edx = MEM32(ecx); /* 0x390067BA: mov edx, dword ptr [ecx] */ 20345 MEM32(eax + 0x8) = edx; /* 0x390067BC: mov dword ptr [eax + 8], edx */ 20346 edx = MEM32(ecx); /* 0x390067BF: mov edx, dword ptr [ecx] */ 20347 /* cmp edx, MEM32(esi + 0x8) */ /* 0x390067C1: cmp edx, dword ptr [esi + 8] */ 20348 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20349 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20350 _flag_k = FK_CMP; 20351 if (CMP_EQ(_flag_a, _flag_b)) goto L_390067C9; /* 0x390067C4: je 0x390067c9 */ 20352 L_390067C6: 20353 MEM32(edx + 0x4) = eax; /* 0x390067C6: mov dword ptr [edx + 4], eax */ 20354 L_390067C9: 20355 edx = MEM32(eax + 0x4); /* 0x390067C9: mov edx, dword ptr [eax + 4] */ 20356 MEM32(ecx + 0x4) = edx; /* 0x390067CC: mov dword ptr [ecx + 4], edx */ 20357 edx = MEM32(esi + 0x4); /* 0x390067CF: mov edx, dword ptr [esi + 4] */ 20358 /* cmp eax, MEM32(edx + 0x4) */ /* 0x390067D2: cmp eax, dword ptr [edx + 4] */ 20359 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 20360 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20361 _flag_k = FK_CMP; 20362 if (CMP_NE(_flag_a, _flag_b)) goto L_390067DC; /* 0x390067D5: jne 0x390067dc */ 20363 L_390067D7: 20364 MEM32(edx + 0x4) = ecx; /* 0x390067D7: mov dword ptr [edx + 4], ecx */ 20365 goto L_390067EA; /* 0x390067DA: jmp 0x390067ea */ 20366 L_390067DC: 20367 edx = MEM32(eax + 0x4); /* 0x390067DC: mov edx, dword ptr [eax + 4] */ 20368 /* cmp eax, MEM32(edx) */ /* 0x390067DF: cmp eax, dword ptr [edx] */ 20369 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 20370 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20371 _flag_k = FK_CMP; 20372 if (CMP_NE(_flag_a, _flag_b)) goto L_390067E7; /* 0x390067E1: jne 0x390067e7 */ 20373 L_390067E3: 20374 MEM32(edx) = ecx; /* 0x390067E3: mov dword ptr [edx], ecx */ 20375 goto L_390067EA; /* 0x390067E5: jmp 0x390067ea */ 20376 L_390067E7: 20377 MEM32(edx + 0x8) = ecx; /* 0x390067E7: mov dword ptr [edx + 8], ecx */ 20378 L_390067EA: 20379 MEM32(ecx) = eax; /* 0x390067EA: mov dword ptr [ecx], eax */ 20380 MEM32(eax + 0x4) = ecx; /* 0x390067EC: mov dword ptr [eax + 4], ecx */ 20381 L_390067EF: 20382 ecx = MEM32(eax + 0x4); /* 0x390067EF: mov ecx, dword ptr [eax + 4] */ 20383 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x390067F2: mov byte ptr [ecx + 0x14], bl */ 20384 edx = MEM32(eax + 0x4); /* 0x390067F5: mov edx, dword ptr [eax + 4] */ 20385 ecx = MEM32(edx + 0x4); /* 0x390067F8: mov ecx, dword ptr [edx + 4] */ 20386 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x390067FB: mov byte ptr [ecx + 0x14], 0 */ 20387 edx = MEM32(eax + 0x4); /* 0x390067FF: mov edx, dword ptr [eax + 4] */ 20388 ecx = MEM32(edx + 0x4); /* 0x39006802: mov ecx, dword ptr [edx + 4] */ 20389 edx = MEM32(ecx); /* 0x39006805: mov edx, dword ptr [ecx] */ 20390 edi = MEM32(edx + 0x8); /* 0x39006807: mov edi, dword ptr [edx + 8] */ 20391 MEM32(ecx) = edi; /* 0x3900680A: mov dword ptr [ecx], edi */ 20392 edi = MEM32(edx + 0x8); /* 0x3900680C: mov edi, dword ptr [edx + 8] */ 20393 /* cmp edi, MEM32(esi + 0x8) */ /* 0x3900680F: cmp edi, dword ptr [esi + 8] */ 20394 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20395 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20396 _flag_k = FK_CMP; 20397 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006817; /* 0x39006812: je 0x39006817 */ 20398 L_39006814: 20399 MEM32(edi + 0x4) = ecx; /* 0x39006814: mov dword ptr [edi + 4], ecx */ 20400 L_39006817: 20401 edi = MEM32(ecx + 0x4); /* 0x39006817: mov edi, dword ptr [ecx + 4] */ 20402 MEM32(edx + 0x4) = edi; /* 0x3900681A: mov dword ptr [edx + 4], edi */ 20403 edi = MEM32(esi + 0x4); /* 0x3900681D: mov edi, dword ptr [esi + 4] */ 20404 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006820: cmp ecx, dword ptr [edi + 4] */ 20405 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 20406 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20407 _flag_k = FK_CMP; 20408 if (CMP_NE(_flag_a, _flag_b)) goto L_39006830; /* 0x39006823: jne 0x39006830 */ 20409 L_39006825: 20410 MEM32(edi + 0x4) = edx; /* 0x39006825: mov dword ptr [edi + 4], edx */ 20411 MEM32(edx + 0x8) = ecx; /* 0x39006828: mov dword ptr [edx + 8], ecx */ 20412 goto L_390068E2; /* 0x3900682B: jmp 0x390068e2 */ 20413 L_39006830: 20414 edi = MEM32(ecx + 0x4); /* 0x39006830: mov edi, dword ptr [ecx + 4] */ 20415 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x39006833: cmp ecx, dword ptr [edi + 8] */ 20416 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20417 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20418 _flag_k = FK_CMP; 20419 if (CMP_NE(_flag_a, _flag_b)) goto L_39006843; /* 0x39006836: jne 0x39006843 */ 20420 L_39006838: 20421 MEM32(edi + 0x8) = edx; /* 0x39006838: mov dword ptr [edi + 8], edx */ 20422 MEM32(edx + 0x8) = ecx; /* 0x3900683B: mov dword ptr [edx + 8], ecx */ 20423 goto L_390068E2; /* 0x3900683E: jmp 0x390068e2 */ 20424 L_39006843: 20425 MEM32(edi) = edx; /* 0x39006843: mov dword ptr [edi], edx */ 20426 MEM32(edx + 0x8) = ecx; /* 0x39006845: mov dword ptr [edx + 8], ecx */ 20427 goto L_390068E2; /* 0x39006848: jmp 0x390068e2 */ 20428 L_3900684D: 20429 /* cmp MEM8(edx + 0x14), 0 */ /* 0x3900684D: cmp byte ptr [edx + 0x14], 0 */ 20430 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 20431 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20432 _flag_k = FK_NARROW(FK_CMP, 24); 20433 RECOMP_BACKEDGE(); 20434 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006795; /* 0x39006851: je 0x39006795 */ 20435 L_39006857: 20436 /* cmp eax, MEM32(ecx) */ /* 0x39006857: cmp eax, dword ptr [ecx] */ 20437 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 20438 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20439 _flag_k = FK_CMP; 20440 if (CMP_NE(_flag_a, _flag_b)) goto L_39006897; /* 0x39006859: jne 0x39006897 */ 20441 L_3900685B: 20442 eax = ecx; /* 0x3900685B: mov eax, ecx */ 20443 ecx = MEM32(eax); /* 0x3900685D: mov ecx, dword ptr [eax] */ 20444 edx = MEM32(ecx + 0x8); /* 0x3900685F: mov edx, dword ptr [ecx + 8] */ 20445 MEM32(eax) = edx; /* 0x39006862: mov dword ptr [eax], edx */ 20446 edx = MEM32(ecx + 0x8); /* 0x39006864: mov edx, dword ptr [ecx + 8] */ 20447 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006867: cmp edx, dword ptr [esi + 8] */ 20448 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20449 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20450 _flag_k = FK_CMP; 20451 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900686F; /* 0x3900686A: je 0x3900686f */ 20452 L_3900686C: 20453 MEM32(edx + 0x4) = eax; /* 0x3900686C: mov dword ptr [edx + 4], eax */ 20454 L_3900686F: 20455 edx = MEM32(eax + 0x4); /* 0x3900686F: mov edx, dword ptr [eax + 4] */ 20456 MEM32(ecx + 0x4) = edx; /* 0x39006872: mov dword ptr [ecx + 4], edx */ 20457 edx = MEM32(esi + 0x4); /* 0x39006875: mov edx, dword ptr [esi + 4] */ 20458 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006878: cmp eax, dword ptr [edx + 4] */ 20459 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 20460 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20461 _flag_k = FK_CMP; 20462 if (CMP_NE(_flag_a, _flag_b)) goto L_39006882; /* 0x3900687B: jne 0x39006882 */ 20463 L_3900687D: 20464 MEM32(edx + 0x4) = ecx; /* 0x3900687D: mov dword ptr [edx + 4], ecx */ 20465 goto L_39006891; /* 0x39006880: jmp 0x39006891 */ 20466 L_39006882: 20467 edx = MEM32(eax + 0x4); /* 0x39006882: mov edx, dword ptr [eax + 4] */ 20468 /* cmp eax, MEM32(edx + 0x8) */ /* 0x39006885: cmp eax, dword ptr [edx + 8] */ 20469 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 20470 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20471 _flag_k = FK_CMP; 20472 if (CMP_NE(_flag_a, _flag_b)) goto L_3900688F; /* 0x39006888: jne 0x3900688f */ 20473 L_3900688A: 20474 MEM32(edx + 0x8) = ecx; /* 0x3900688A: mov dword ptr [edx + 8], ecx */ 20475 goto L_39006891; /* 0x3900688D: jmp 0x39006891 */ 20476 L_3900688F: 20477 MEM32(edx) = ecx; /* 0x3900688F: mov dword ptr [edx], ecx */ 20478 L_39006891: 20479 MEM32(ecx + 0x8) = eax; /* 0x39006891: mov dword ptr [ecx + 8], eax */ 20480 MEM32(eax + 0x4) = ecx; /* 0x39006894: mov dword ptr [eax + 4], ecx */ 20481 L_39006897: 20482 ecx = MEM32(eax + 0x4); /* 0x39006897: mov ecx, dword ptr [eax + 4] */ 20483 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x3900689A: mov byte ptr [ecx + 0x14], bl */ 20484 edx = MEM32(eax + 0x4); /* 0x3900689D: mov edx, dword ptr [eax + 4] */ 20485 ecx = MEM32(edx + 0x4); /* 0x390068A0: mov ecx, dword ptr [edx + 4] */ 20486 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x390068A3: mov byte ptr [ecx + 0x14], 0 */ 20487 edx = MEM32(eax + 0x4); /* 0x390068A7: mov edx, dword ptr [eax + 4] */ 20488 ecx = MEM32(edx + 0x4); /* 0x390068AA: mov ecx, dword ptr [edx + 4] */ 20489 edx = MEM32(ecx + 0x8); /* 0x390068AD: mov edx, dword ptr [ecx + 8] */ 20490 edi = MEM32(edx); /* 0x390068B0: mov edi, dword ptr [edx] */ 20491 MEM32(ecx + 0x8) = edi; /* 0x390068B2: mov dword ptr [ecx + 8], edi */ 20492 edi = MEM32(edx); /* 0x390068B5: mov edi, dword ptr [edx] */ 20493 /* cmp edi, MEM32(esi + 0x8) */ /* 0x390068B7: cmp edi, dword ptr [esi + 8] */ 20494 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20495 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20496 _flag_k = FK_CMP; 20497 if (CMP_EQ(_flag_a, _flag_b)) goto L_390068BF; /* 0x390068BA: je 0x390068bf */ 20498 L_390068BC: 20499 MEM32(edi + 0x4) = ecx; /* 0x390068BC: mov dword ptr [edi + 4], ecx */ 20500 L_390068BF: 20501 edi = MEM32(ecx + 0x4); /* 0x390068BF: mov edi, dword ptr [ecx + 4] */ 20502 MEM32(edx + 0x4) = edi; /* 0x390068C2: mov dword ptr [edx + 4], edi */ 20503 edi = MEM32(esi + 0x4); /* 0x390068C5: mov edi, dword ptr [esi + 4] */ 20504 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x390068C8: cmp ecx, dword ptr [edi + 4] */ 20505 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 20506 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20507 _flag_k = FK_CMP; 20508 if (CMP_NE(_flag_a, _flag_b)) goto L_390068D2; /* 0x390068CB: jne 0x390068d2 */ 20509 L_390068CD: 20510 MEM32(edi + 0x4) = edx; /* 0x390068CD: mov dword ptr [edi + 4], edx */ 20511 goto L_390068E0; /* 0x390068D0: jmp 0x390068e0 */ 20512 L_390068D2: 20513 edi = MEM32(ecx + 0x4); /* 0x390068D2: mov edi, dword ptr [ecx + 4] */ 20514 /* cmp ecx, MEM32(edi) */ /* 0x390068D5: cmp ecx, dword ptr [edi] */ 20515 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 20516 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20517 _flag_k = FK_CMP; 20518 if (CMP_NE(_flag_a, _flag_b)) goto L_390068DD; /* 0x390068D7: jne 0x390068dd */ 20519 L_390068D9: 20520 MEM32(edi) = edx; /* 0x390068D9: mov dword ptr [edi], edx */ 20521 goto L_390068E0; /* 0x390068DB: jmp 0x390068e0 */ 20522 L_390068DD: 20523 MEM32(edi + 0x8) = edx; /* 0x390068DD: mov dword ptr [edi + 8], edx */ 20524 L_390068E0: 20525 MEM32(edx) = ecx; /* 0x390068E0: mov dword ptr [edx], ecx */ 20526 L_390068E2: 20527 MEM32(ecx + 0x4) = edx; /* 0x390068E2: mov dword ptr [ecx + 4], edx */ 20528 L_390068E5: 20529 ecx = MEM32(esi + 0x4); /* 0x390068E5: mov ecx, dword ptr [esi + 4] */ 20530 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x390068E8: cmp eax, dword ptr [ecx + 4] */ 20531 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 20532 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20533 _flag_k = FK_CMP; 20534 RECOMP_BACKEDGE(); 20535 if (CMP_NE(_flag_a, _flag_b)) goto L_39006771; /* 0x390068EB: jne 0x39006771 */ 20536 L_390068F1: 20537 edx = MEM32(esi + 0x4); /* 0x390068F1: mov edx, dword ptr [esi + 4] */ 20538 ecx = MEM32(ebp + (-0x4)); /* 0x390068F4: mov ecx, dword ptr [ebp - 4] */ 20539 edi = POP32_VAL(esp); /* 0x390068F7: pop edi */ 20540 esi = POP32_VAL(esp); /* 0x390068F8: pop esi */ 20541 eax = MEM32(edx + 0x4); /* 0x390068F9: mov eax, dword ptr [edx + 4] */ 20542 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x390068FC: mov byte ptr [eax + 0x14], bl */ 20543 eax = MEM32(ebp + 0x8); /* 0x390068FF: mov eax, dword ptr [ebp + 8] */ 20544 ebx = POP32_VAL(esp); /* 0x39006902: pop ebx */ 20545 MEM32(eax) = ecx; /* 0x39006903: mov dword ptr [eax], ecx */ 20546 esp = ebp; /* 0x39006905: mov esp, ebp */ 20547 ebp = POP32_VAL(esp); /* 0x39006907: pop ebp */ 20548 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39006908: ret 0x10 */ 20549 RECOMP_REGS_OUT(); 20550 } 20551 20552 void sub_39006897(void) { 20553 int _fpu_cmp = 0; 20554 uint32_t _cf = 0; 20555 int _df = 1; 20556 uint32_t _flag_k = FK_NONE; 20557 uint32_t _flag_a = 0, _flag_b = 0; 20558 uint32_t _itail_tgt = 0; 20559 RECOMP_REGS_LOCALS 20560 RECOMP_ENTER(0x39006897u); 20561 20562 goto L_39006897; 20563 L_39006771: 20564 ecx = MEM32(eax + 0x4); /* 0x39006771: mov ecx, dword ptr [eax + 4] */ 20565 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x39006774: mov dl, byte ptr [ecx + 0x14] */ 20566 /* test LO8(edx), LO8(edx) */ /* 0x39006777: test dl, dl */ 20567 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 20568 _cf = 0; 20569 _flag_k = FK_NARROW(FK_TEST, 24); 20570 if (TEST_NZ(_flag_a, _flag_b)) goto L_390068F1; /* 0x39006779: jne 0x390068f1 */ 20571 L_3900677F: 20572 edi = MEM32(ecx + 0x4); /* 0x3900677F: mov edi, dword ptr [ecx + 4] */ 20573 edx = MEM32(edi); /* 0x39006782: mov edx, dword ptr [edi] */ 20574 /* cmp ecx, edx */ /* 0x39006784: cmp ecx, edx */ 20575 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 20576 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20577 _flag_k = FK_CMP; 20578 if (CMP_NE(_flag_a, _flag_b)) goto L_3900684D; /* 0x39006786: jne 0x3900684d */ 20579 L_3900678C: 20580 edx = MEM32(edi + 0x8); /* 0x3900678C: mov edx, dword ptr [edi + 8] */ 20581 /* cmp MEM8(edx + 0x14), 0 */ /* 0x3900678F: cmp byte ptr [edx + 0x14], 0 */ 20582 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 20583 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20584 _flag_k = FK_NARROW(FK_CMP, 24); 20585 if (CMP_NE(_flag_a, _flag_b)) goto L_390067B0; /* 0x39006793: jne 0x390067b0 */ 20586 L_39006795: 20587 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39006795: mov byte ptr [ecx + 0x14], bl */ 20588 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39006798: mov byte ptr [edx + 0x14], bl */ 20589 ecx = MEM32(eax + 0x4); /* 0x3900679B: mov ecx, dword ptr [eax + 4] */ 20590 edx = MEM32(ecx + 0x4); /* 0x3900679E: mov edx, dword ptr [ecx + 4] */ 20591 MEM8(edx + 0x14) = (uint8_t)(0); /* 0x390067A1: mov byte ptr [edx + 0x14], 0 */ 20592 eax = MEM32(eax + 0x4); /* 0x390067A5: mov eax, dword ptr [eax + 4] */ 20593 eax = MEM32(eax + 0x4); /* 0x390067A8: mov eax, dword ptr [eax + 4] */ 20594 goto L_390068E5; /* 0x390067AB: jmp 0x390068e5 */ 20595 L_390067B0: 20596 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x390067B0: cmp eax, dword ptr [ecx + 8] */ 20597 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 20598 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20599 _flag_k = FK_CMP; 20600 if (CMP_NE(_flag_a, _flag_b)) goto L_390067EF; /* 0x390067B3: jne 0x390067ef */ 20601 L_390067B5: 20602 eax = ecx; /* 0x390067B5: mov eax, ecx */ 20603 ecx = MEM32(eax + 0x8); /* 0x390067B7: mov ecx, dword ptr [eax + 8] */ 20604 edx = MEM32(ecx); /* 0x390067BA: mov edx, dword ptr [ecx] */ 20605 MEM32(eax + 0x8) = edx; /* 0x390067BC: mov dword ptr [eax + 8], edx */ 20606 edx = MEM32(ecx); /* 0x390067BF: mov edx, dword ptr [ecx] */ 20607 /* cmp edx, MEM32(esi + 0x8) */ /* 0x390067C1: cmp edx, dword ptr [esi + 8] */ 20608 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20609 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20610 _flag_k = FK_CMP; 20611 if (CMP_EQ(_flag_a, _flag_b)) goto L_390067C9; /* 0x390067C4: je 0x390067c9 */ 20612 L_390067C6: 20613 MEM32(edx + 0x4) = eax; /* 0x390067C6: mov dword ptr [edx + 4], eax */ 20614 L_390067C9: 20615 edx = MEM32(eax + 0x4); /* 0x390067C9: mov edx, dword ptr [eax + 4] */ 20616 MEM32(ecx + 0x4) = edx; /* 0x390067CC: mov dword ptr [ecx + 4], edx */ 20617 edx = MEM32(esi + 0x4); /* 0x390067CF: mov edx, dword ptr [esi + 4] */ 20618 /* cmp eax, MEM32(edx + 0x4) */ /* 0x390067D2: cmp eax, dword ptr [edx + 4] */ 20619 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 20620 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20621 _flag_k = FK_CMP; 20622 if (CMP_NE(_flag_a, _flag_b)) goto L_390067DC; /* 0x390067D5: jne 0x390067dc */ 20623 L_390067D7: 20624 MEM32(edx + 0x4) = ecx; /* 0x390067D7: mov dword ptr [edx + 4], ecx */ 20625 goto L_390067EA; /* 0x390067DA: jmp 0x390067ea */ 20626 L_390067DC: 20627 edx = MEM32(eax + 0x4); /* 0x390067DC: mov edx, dword ptr [eax + 4] */ 20628 /* cmp eax, MEM32(edx) */ /* 0x390067DF: cmp eax, dword ptr [edx] */ 20629 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 20630 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20631 _flag_k = FK_CMP; 20632 if (CMP_NE(_flag_a, _flag_b)) goto L_390067E7; /* 0x390067E1: jne 0x390067e7 */ 20633 L_390067E3: 20634 MEM32(edx) = ecx; /* 0x390067E3: mov dword ptr [edx], ecx */ 20635 goto L_390067EA; /* 0x390067E5: jmp 0x390067ea */ 20636 L_390067E7: 20637 MEM32(edx + 0x8) = ecx; /* 0x390067E7: mov dword ptr [edx + 8], ecx */ 20638 L_390067EA: 20639 MEM32(ecx) = eax; /* 0x390067EA: mov dword ptr [ecx], eax */ 20640 MEM32(eax + 0x4) = ecx; /* 0x390067EC: mov dword ptr [eax + 4], ecx */ 20641 L_390067EF: 20642 ecx = MEM32(eax + 0x4); /* 0x390067EF: mov ecx, dword ptr [eax + 4] */ 20643 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x390067F2: mov byte ptr [ecx + 0x14], bl */ 20644 edx = MEM32(eax + 0x4); /* 0x390067F5: mov edx, dword ptr [eax + 4] */ 20645 ecx = MEM32(edx + 0x4); /* 0x390067F8: mov ecx, dword ptr [edx + 4] */ 20646 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x390067FB: mov byte ptr [ecx + 0x14], 0 */ 20647 edx = MEM32(eax + 0x4); /* 0x390067FF: mov edx, dword ptr [eax + 4] */ 20648 ecx = MEM32(edx + 0x4); /* 0x39006802: mov ecx, dword ptr [edx + 4] */ 20649 edx = MEM32(ecx); /* 0x39006805: mov edx, dword ptr [ecx] */ 20650 edi = MEM32(edx + 0x8); /* 0x39006807: mov edi, dword ptr [edx + 8] */ 20651 MEM32(ecx) = edi; /* 0x3900680A: mov dword ptr [ecx], edi */ 20652 edi = MEM32(edx + 0x8); /* 0x3900680C: mov edi, dword ptr [edx + 8] */ 20653 /* cmp edi, MEM32(esi + 0x8) */ /* 0x3900680F: cmp edi, dword ptr [esi + 8] */ 20654 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20655 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20656 _flag_k = FK_CMP; 20657 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006817; /* 0x39006812: je 0x39006817 */ 20658 L_39006814: 20659 MEM32(edi + 0x4) = ecx; /* 0x39006814: mov dword ptr [edi + 4], ecx */ 20660 L_39006817: 20661 edi = MEM32(ecx + 0x4); /* 0x39006817: mov edi, dword ptr [ecx + 4] */ 20662 MEM32(edx + 0x4) = edi; /* 0x3900681A: mov dword ptr [edx + 4], edi */ 20663 edi = MEM32(esi + 0x4); /* 0x3900681D: mov edi, dword ptr [esi + 4] */ 20664 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006820: cmp ecx, dword ptr [edi + 4] */ 20665 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 20666 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20667 _flag_k = FK_CMP; 20668 if (CMP_NE(_flag_a, _flag_b)) goto L_39006830; /* 0x39006823: jne 0x39006830 */ 20669 L_39006825: 20670 MEM32(edi + 0x4) = edx; /* 0x39006825: mov dword ptr [edi + 4], edx */ 20671 MEM32(edx + 0x8) = ecx; /* 0x39006828: mov dword ptr [edx + 8], ecx */ 20672 goto L_390068E2; /* 0x3900682B: jmp 0x390068e2 */ 20673 L_39006830: 20674 edi = MEM32(ecx + 0x4); /* 0x39006830: mov edi, dword ptr [ecx + 4] */ 20675 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x39006833: cmp ecx, dword ptr [edi + 8] */ 20676 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20677 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20678 _flag_k = FK_CMP; 20679 if (CMP_NE(_flag_a, _flag_b)) goto L_39006843; /* 0x39006836: jne 0x39006843 */ 20680 L_39006838: 20681 MEM32(edi + 0x8) = edx; /* 0x39006838: mov dword ptr [edi + 8], edx */ 20682 MEM32(edx + 0x8) = ecx; /* 0x3900683B: mov dword ptr [edx + 8], ecx */ 20683 goto L_390068E2; /* 0x3900683E: jmp 0x390068e2 */ 20684 L_39006843: 20685 MEM32(edi) = edx; /* 0x39006843: mov dword ptr [edi], edx */ 20686 MEM32(edx + 0x8) = ecx; /* 0x39006845: mov dword ptr [edx + 8], ecx */ 20687 goto L_390068E2; /* 0x39006848: jmp 0x390068e2 */ 20688 L_3900684D: 20689 /* cmp MEM8(edx + 0x14), 0 */ /* 0x3900684D: cmp byte ptr [edx + 0x14], 0 */ 20690 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 20691 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20692 _flag_k = FK_NARROW(FK_CMP, 24); 20693 RECOMP_BACKEDGE(); 20694 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006795; /* 0x39006851: je 0x39006795 */ 20695 L_39006857: 20696 /* cmp eax, MEM32(ecx) */ /* 0x39006857: cmp eax, dword ptr [ecx] */ 20697 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 20698 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20699 _flag_k = FK_CMP; 20700 if (CMP_NE(_flag_a, _flag_b)) goto L_39006897; /* 0x39006859: jne 0x39006897 */ 20701 L_3900685B: 20702 eax = ecx; /* 0x3900685B: mov eax, ecx */ 20703 ecx = MEM32(eax); /* 0x3900685D: mov ecx, dword ptr [eax] */ 20704 edx = MEM32(ecx + 0x8); /* 0x3900685F: mov edx, dword ptr [ecx + 8] */ 20705 MEM32(eax) = edx; /* 0x39006862: mov dword ptr [eax], edx */ 20706 edx = MEM32(ecx + 0x8); /* 0x39006864: mov edx, dword ptr [ecx + 8] */ 20707 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006867: cmp edx, dword ptr [esi + 8] */ 20708 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20709 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20710 _flag_k = FK_CMP; 20711 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900686F; /* 0x3900686A: je 0x3900686f */ 20712 L_3900686C: 20713 MEM32(edx + 0x4) = eax; /* 0x3900686C: mov dword ptr [edx + 4], eax */ 20714 L_3900686F: 20715 edx = MEM32(eax + 0x4); /* 0x3900686F: mov edx, dword ptr [eax + 4] */ 20716 MEM32(ecx + 0x4) = edx; /* 0x39006872: mov dword ptr [ecx + 4], edx */ 20717 edx = MEM32(esi + 0x4); /* 0x39006875: mov edx, dword ptr [esi + 4] */ 20718 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006878: cmp eax, dword ptr [edx + 4] */ 20719 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 20720 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20721 _flag_k = FK_CMP; 20722 if (CMP_NE(_flag_a, _flag_b)) goto L_39006882; /* 0x3900687B: jne 0x39006882 */ 20723 L_3900687D: 20724 MEM32(edx + 0x4) = ecx; /* 0x3900687D: mov dword ptr [edx + 4], ecx */ 20725 goto L_39006891; /* 0x39006880: jmp 0x39006891 */ 20726 L_39006882: 20727 edx = MEM32(eax + 0x4); /* 0x39006882: mov edx, dword ptr [eax + 4] */ 20728 /* cmp eax, MEM32(edx + 0x8) */ /* 0x39006885: cmp eax, dword ptr [edx + 8] */ 20729 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 20730 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20731 _flag_k = FK_CMP; 20732 if (CMP_NE(_flag_a, _flag_b)) goto L_3900688F; /* 0x39006888: jne 0x3900688f */ 20733 L_3900688A: 20734 MEM32(edx + 0x8) = ecx; /* 0x3900688A: mov dword ptr [edx + 8], ecx */ 20735 goto L_39006891; /* 0x3900688D: jmp 0x39006891 */ 20736 L_3900688F: 20737 MEM32(edx) = ecx; /* 0x3900688F: mov dword ptr [edx], ecx */ 20738 L_39006891: 20739 MEM32(ecx + 0x8) = eax; /* 0x39006891: mov dword ptr [ecx + 8], eax */ 20740 MEM32(eax + 0x4) = ecx; /* 0x39006894: mov dword ptr [eax + 4], ecx */ 20741 L_39006897: 20742 ecx = MEM32(eax + 0x4); /* 0x39006897: mov ecx, dword ptr [eax + 4] */ 20743 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x3900689A: mov byte ptr [ecx + 0x14], bl */ 20744 edx = MEM32(eax + 0x4); /* 0x3900689D: mov edx, dword ptr [eax + 4] */ 20745 ecx = MEM32(edx + 0x4); /* 0x390068A0: mov ecx, dword ptr [edx + 4] */ 20746 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x390068A3: mov byte ptr [ecx + 0x14], 0 */ 20747 edx = MEM32(eax + 0x4); /* 0x390068A7: mov edx, dword ptr [eax + 4] */ 20748 ecx = MEM32(edx + 0x4); /* 0x390068AA: mov ecx, dword ptr [edx + 4] */ 20749 edx = MEM32(ecx + 0x8); /* 0x390068AD: mov edx, dword ptr [ecx + 8] */ 20750 edi = MEM32(edx); /* 0x390068B0: mov edi, dword ptr [edx] */ 20751 MEM32(ecx + 0x8) = edi; /* 0x390068B2: mov dword ptr [ecx + 8], edi */ 20752 edi = MEM32(edx); /* 0x390068B5: mov edi, dword ptr [edx] */ 20753 /* cmp edi, MEM32(esi + 0x8) */ /* 0x390068B7: cmp edi, dword ptr [esi + 8] */ 20754 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20755 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20756 _flag_k = FK_CMP; 20757 if (CMP_EQ(_flag_a, _flag_b)) goto L_390068BF; /* 0x390068BA: je 0x390068bf */ 20758 L_390068BC: 20759 MEM32(edi + 0x4) = ecx; /* 0x390068BC: mov dword ptr [edi + 4], ecx */ 20760 L_390068BF: 20761 edi = MEM32(ecx + 0x4); /* 0x390068BF: mov edi, dword ptr [ecx + 4] */ 20762 MEM32(edx + 0x4) = edi; /* 0x390068C2: mov dword ptr [edx + 4], edi */ 20763 edi = MEM32(esi + 0x4); /* 0x390068C5: mov edi, dword ptr [esi + 4] */ 20764 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x390068C8: cmp ecx, dword ptr [edi + 4] */ 20765 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 20766 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20767 _flag_k = FK_CMP; 20768 if (CMP_NE(_flag_a, _flag_b)) goto L_390068D2; /* 0x390068CB: jne 0x390068d2 */ 20769 L_390068CD: 20770 MEM32(edi + 0x4) = edx; /* 0x390068CD: mov dword ptr [edi + 4], edx */ 20771 goto L_390068E0; /* 0x390068D0: jmp 0x390068e0 */ 20772 L_390068D2: 20773 edi = MEM32(ecx + 0x4); /* 0x390068D2: mov edi, dword ptr [ecx + 4] */ 20774 /* cmp ecx, MEM32(edi) */ /* 0x390068D5: cmp ecx, dword ptr [edi] */ 20775 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 20776 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20777 _flag_k = FK_CMP; 20778 if (CMP_NE(_flag_a, _flag_b)) goto L_390068DD; /* 0x390068D7: jne 0x390068dd */ 20779 L_390068D9: 20780 MEM32(edi) = edx; /* 0x390068D9: mov dword ptr [edi], edx */ 20781 goto L_390068E0; /* 0x390068DB: jmp 0x390068e0 */ 20782 L_390068DD: 20783 MEM32(edi + 0x8) = edx; /* 0x390068DD: mov dword ptr [edi + 8], edx */ 20784 L_390068E0: 20785 MEM32(edx) = ecx; /* 0x390068E0: mov dword ptr [edx], ecx */ 20786 L_390068E2: 20787 MEM32(ecx + 0x4) = edx; /* 0x390068E2: mov dword ptr [ecx + 4], edx */ 20788 L_390068E5: 20789 ecx = MEM32(esi + 0x4); /* 0x390068E5: mov ecx, dword ptr [esi + 4] */ 20790 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x390068E8: cmp eax, dword ptr [ecx + 4] */ 20791 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 20792 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20793 _flag_k = FK_CMP; 20794 RECOMP_BACKEDGE(); 20795 if (CMP_NE(_flag_a, _flag_b)) goto L_39006771; /* 0x390068EB: jne 0x39006771 */ 20796 L_390068F1: 20797 edx = MEM32(esi + 0x4); /* 0x390068F1: mov edx, dword ptr [esi + 4] */ 20798 ecx = MEM32(ebp + (-0x4)); /* 0x390068F4: mov ecx, dword ptr [ebp - 4] */ 20799 edi = POP32_VAL(esp); /* 0x390068F7: pop edi */ 20800 esi = POP32_VAL(esp); /* 0x390068F8: pop esi */ 20801 eax = MEM32(edx + 0x4); /* 0x390068F9: mov eax, dword ptr [edx + 4] */ 20802 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x390068FC: mov byte ptr [eax + 0x14], bl */ 20803 eax = MEM32(ebp + 0x8); /* 0x390068FF: mov eax, dword ptr [ebp + 8] */ 20804 ebx = POP32_VAL(esp); /* 0x39006902: pop ebx */ 20805 MEM32(eax) = ecx; /* 0x39006903: mov dword ptr [eax], ecx */ 20806 esp = ebp; /* 0x39006905: mov esp, ebp */ 20807 ebp = POP32_VAL(esp); /* 0x39006907: pop ebp */ 20808 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39006908: ret 0x10 */ 20809 RECOMP_REGS_OUT(); 20810 } 20811 20812 void sub_390068E0(void) { 20813 int _fpu_cmp = 0; 20814 uint32_t _cf = 0; 20815 int _df = 1; 20816 uint32_t _flag_k = FK_NONE; 20817 uint32_t _flag_a = 0, _flag_b = 0; 20818 uint32_t _itail_tgt = 0; 20819 RECOMP_REGS_LOCALS 20820 RECOMP_ENTER(0x390068E0u); 20821 20822 goto L_390068E0; 20823 L_39006771: 20824 ecx = MEM32(eax + 0x4); /* 0x39006771: mov ecx, dword ptr [eax + 4] */ 20825 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x39006774: mov dl, byte ptr [ecx + 0x14] */ 20826 /* test LO8(edx), LO8(edx) */ /* 0x39006777: test dl, dl */ 20827 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 20828 _cf = 0; 20829 _flag_k = FK_NARROW(FK_TEST, 24); 20830 if (TEST_NZ(_flag_a, _flag_b)) goto L_390068F1; /* 0x39006779: jne 0x390068f1 */ 20831 L_3900677F: 20832 edi = MEM32(ecx + 0x4); /* 0x3900677F: mov edi, dword ptr [ecx + 4] */ 20833 edx = MEM32(edi); /* 0x39006782: mov edx, dword ptr [edi] */ 20834 /* cmp ecx, edx */ /* 0x39006784: cmp ecx, edx */ 20835 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 20836 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20837 _flag_k = FK_CMP; 20838 if (CMP_NE(_flag_a, _flag_b)) goto L_3900684D; /* 0x39006786: jne 0x3900684d */ 20839 L_3900678C: 20840 edx = MEM32(edi + 0x8); /* 0x3900678C: mov edx, dword ptr [edi + 8] */ 20841 /* cmp MEM8(edx + 0x14), 0 */ /* 0x3900678F: cmp byte ptr [edx + 0x14], 0 */ 20842 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 20843 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20844 _flag_k = FK_NARROW(FK_CMP, 24); 20845 if (CMP_NE(_flag_a, _flag_b)) goto L_390067B0; /* 0x39006793: jne 0x390067b0 */ 20846 L_39006795: 20847 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39006795: mov byte ptr [ecx + 0x14], bl */ 20848 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39006798: mov byte ptr [edx + 0x14], bl */ 20849 ecx = MEM32(eax + 0x4); /* 0x3900679B: mov ecx, dword ptr [eax + 4] */ 20850 edx = MEM32(ecx + 0x4); /* 0x3900679E: mov edx, dword ptr [ecx + 4] */ 20851 MEM8(edx + 0x14) = (uint8_t)(0); /* 0x390067A1: mov byte ptr [edx + 0x14], 0 */ 20852 eax = MEM32(eax + 0x4); /* 0x390067A5: mov eax, dword ptr [eax + 4] */ 20853 eax = MEM32(eax + 0x4); /* 0x390067A8: mov eax, dword ptr [eax + 4] */ 20854 goto L_390068E5; /* 0x390067AB: jmp 0x390068e5 */ 20855 L_390067B0: 20856 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x390067B0: cmp eax, dword ptr [ecx + 8] */ 20857 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 20858 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20859 _flag_k = FK_CMP; 20860 if (CMP_NE(_flag_a, _flag_b)) goto L_390067EF; /* 0x390067B3: jne 0x390067ef */ 20861 L_390067B5: 20862 eax = ecx; /* 0x390067B5: mov eax, ecx */ 20863 ecx = MEM32(eax + 0x8); /* 0x390067B7: mov ecx, dword ptr [eax + 8] */ 20864 edx = MEM32(ecx); /* 0x390067BA: mov edx, dword ptr [ecx] */ 20865 MEM32(eax + 0x8) = edx; /* 0x390067BC: mov dword ptr [eax + 8], edx */ 20866 edx = MEM32(ecx); /* 0x390067BF: mov edx, dword ptr [ecx] */ 20867 /* cmp edx, MEM32(esi + 0x8) */ /* 0x390067C1: cmp edx, dword ptr [esi + 8] */ 20868 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20869 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20870 _flag_k = FK_CMP; 20871 if (CMP_EQ(_flag_a, _flag_b)) goto L_390067C9; /* 0x390067C4: je 0x390067c9 */ 20872 L_390067C6: 20873 MEM32(edx + 0x4) = eax; /* 0x390067C6: mov dword ptr [edx + 4], eax */ 20874 L_390067C9: 20875 edx = MEM32(eax + 0x4); /* 0x390067C9: mov edx, dword ptr [eax + 4] */ 20876 MEM32(ecx + 0x4) = edx; /* 0x390067CC: mov dword ptr [ecx + 4], edx */ 20877 edx = MEM32(esi + 0x4); /* 0x390067CF: mov edx, dword ptr [esi + 4] */ 20878 /* cmp eax, MEM32(edx + 0x4) */ /* 0x390067D2: cmp eax, dword ptr [edx + 4] */ 20879 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 20880 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20881 _flag_k = FK_CMP; 20882 if (CMP_NE(_flag_a, _flag_b)) goto L_390067DC; /* 0x390067D5: jne 0x390067dc */ 20883 L_390067D7: 20884 MEM32(edx + 0x4) = ecx; /* 0x390067D7: mov dword ptr [edx + 4], ecx */ 20885 goto L_390067EA; /* 0x390067DA: jmp 0x390067ea */ 20886 L_390067DC: 20887 edx = MEM32(eax + 0x4); /* 0x390067DC: mov edx, dword ptr [eax + 4] */ 20888 /* cmp eax, MEM32(edx) */ /* 0x390067DF: cmp eax, dword ptr [edx] */ 20889 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 20890 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20891 _flag_k = FK_CMP; 20892 if (CMP_NE(_flag_a, _flag_b)) goto L_390067E7; /* 0x390067E1: jne 0x390067e7 */ 20893 L_390067E3: 20894 MEM32(edx) = ecx; /* 0x390067E3: mov dword ptr [edx], ecx */ 20895 goto L_390067EA; /* 0x390067E5: jmp 0x390067ea */ 20896 L_390067E7: 20897 MEM32(edx + 0x8) = ecx; /* 0x390067E7: mov dword ptr [edx + 8], ecx */ 20898 L_390067EA: 20899 MEM32(ecx) = eax; /* 0x390067EA: mov dword ptr [ecx], eax */ 20900 MEM32(eax + 0x4) = ecx; /* 0x390067EC: mov dword ptr [eax + 4], ecx */ 20901 L_390067EF: 20902 ecx = MEM32(eax + 0x4); /* 0x390067EF: mov ecx, dword ptr [eax + 4] */ 20903 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x390067F2: mov byte ptr [ecx + 0x14], bl */ 20904 edx = MEM32(eax + 0x4); /* 0x390067F5: mov edx, dword ptr [eax + 4] */ 20905 ecx = MEM32(edx + 0x4); /* 0x390067F8: mov ecx, dword ptr [edx + 4] */ 20906 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x390067FB: mov byte ptr [ecx + 0x14], 0 */ 20907 edx = MEM32(eax + 0x4); /* 0x390067FF: mov edx, dword ptr [eax + 4] */ 20908 ecx = MEM32(edx + 0x4); /* 0x39006802: mov ecx, dword ptr [edx + 4] */ 20909 edx = MEM32(ecx); /* 0x39006805: mov edx, dword ptr [ecx] */ 20910 edi = MEM32(edx + 0x8); /* 0x39006807: mov edi, dword ptr [edx + 8] */ 20911 MEM32(ecx) = edi; /* 0x3900680A: mov dword ptr [ecx], edi */ 20912 edi = MEM32(edx + 0x8); /* 0x3900680C: mov edi, dword ptr [edx + 8] */ 20913 /* cmp edi, MEM32(esi + 0x8) */ /* 0x3900680F: cmp edi, dword ptr [esi + 8] */ 20914 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20915 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20916 _flag_k = FK_CMP; 20917 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006817; /* 0x39006812: je 0x39006817 */ 20918 L_39006814: 20919 MEM32(edi + 0x4) = ecx; /* 0x39006814: mov dword ptr [edi + 4], ecx */ 20920 L_39006817: 20921 edi = MEM32(ecx + 0x4); /* 0x39006817: mov edi, dword ptr [ecx + 4] */ 20922 MEM32(edx + 0x4) = edi; /* 0x3900681A: mov dword ptr [edx + 4], edi */ 20923 edi = MEM32(esi + 0x4); /* 0x3900681D: mov edi, dword ptr [esi + 4] */ 20924 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006820: cmp ecx, dword ptr [edi + 4] */ 20925 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 20926 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20927 _flag_k = FK_CMP; 20928 if (CMP_NE(_flag_a, _flag_b)) goto L_39006830; /* 0x39006823: jne 0x39006830 */ 20929 L_39006825: 20930 MEM32(edi + 0x4) = edx; /* 0x39006825: mov dword ptr [edi + 4], edx */ 20931 MEM32(edx + 0x8) = ecx; /* 0x39006828: mov dword ptr [edx + 8], ecx */ 20932 goto L_390068E2; /* 0x3900682B: jmp 0x390068e2 */ 20933 L_39006830: 20934 edi = MEM32(ecx + 0x4); /* 0x39006830: mov edi, dword ptr [ecx + 4] */ 20935 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x39006833: cmp ecx, dword ptr [edi + 8] */ 20936 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 20937 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20938 _flag_k = FK_CMP; 20939 if (CMP_NE(_flag_a, _flag_b)) goto L_39006843; /* 0x39006836: jne 0x39006843 */ 20940 L_39006838: 20941 MEM32(edi + 0x8) = edx; /* 0x39006838: mov dword ptr [edi + 8], edx */ 20942 MEM32(edx + 0x8) = ecx; /* 0x3900683B: mov dword ptr [edx + 8], ecx */ 20943 goto L_390068E2; /* 0x3900683E: jmp 0x390068e2 */ 20944 L_39006843: 20945 MEM32(edi) = edx; /* 0x39006843: mov dword ptr [edi], edx */ 20946 MEM32(edx + 0x8) = ecx; /* 0x39006845: mov dword ptr [edx + 8], ecx */ 20947 goto L_390068E2; /* 0x39006848: jmp 0x390068e2 */ 20948 L_3900684D: 20949 /* cmp MEM8(edx + 0x14), 0 */ /* 0x3900684D: cmp byte ptr [edx + 0x14], 0 */ 20950 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 20951 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20952 _flag_k = FK_NARROW(FK_CMP, 24); 20953 RECOMP_BACKEDGE(); 20954 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006795; /* 0x39006851: je 0x39006795 */ 20955 L_39006857: 20956 /* cmp eax, MEM32(ecx) */ /* 0x39006857: cmp eax, dword ptr [ecx] */ 20957 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 20958 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20959 _flag_k = FK_CMP; 20960 if (CMP_NE(_flag_a, _flag_b)) goto L_39006897; /* 0x39006859: jne 0x39006897 */ 20961 L_3900685B: 20962 eax = ecx; /* 0x3900685B: mov eax, ecx */ 20963 ecx = MEM32(eax); /* 0x3900685D: mov ecx, dword ptr [eax] */ 20964 edx = MEM32(ecx + 0x8); /* 0x3900685F: mov edx, dword ptr [ecx + 8] */ 20965 MEM32(eax) = edx; /* 0x39006862: mov dword ptr [eax], edx */ 20966 edx = MEM32(ecx + 0x8); /* 0x39006864: mov edx, dword ptr [ecx + 8] */ 20967 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006867: cmp edx, dword ptr [esi + 8] */ 20968 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 20969 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20970 _flag_k = FK_CMP; 20971 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900686F; /* 0x3900686A: je 0x3900686f */ 20972 L_3900686C: 20973 MEM32(edx + 0x4) = eax; /* 0x3900686C: mov dword ptr [edx + 4], eax */ 20974 L_3900686F: 20975 edx = MEM32(eax + 0x4); /* 0x3900686F: mov edx, dword ptr [eax + 4] */ 20976 MEM32(ecx + 0x4) = edx; /* 0x39006872: mov dword ptr [ecx + 4], edx */ 20977 edx = MEM32(esi + 0x4); /* 0x39006875: mov edx, dword ptr [esi + 4] */ 20978 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006878: cmp eax, dword ptr [edx + 4] */ 20979 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 20980 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20981 _flag_k = FK_CMP; 20982 if (CMP_NE(_flag_a, _flag_b)) goto L_39006882; /* 0x3900687B: jne 0x39006882 */ 20983 L_3900687D: 20984 MEM32(edx + 0x4) = ecx; /* 0x3900687D: mov dword ptr [edx + 4], ecx */ 20985 goto L_39006891; /* 0x39006880: jmp 0x39006891 */ 20986 L_39006882: 20987 edx = MEM32(eax + 0x4); /* 0x39006882: mov edx, dword ptr [eax + 4] */ 20988 /* cmp eax, MEM32(edx + 0x8) */ /* 0x39006885: cmp eax, dword ptr [edx + 8] */ 20989 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 20990 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20991 _flag_k = FK_CMP; 20992 if (CMP_NE(_flag_a, _flag_b)) goto L_3900688F; /* 0x39006888: jne 0x3900688f */ 20993 L_3900688A: 20994 MEM32(edx + 0x8) = ecx; /* 0x3900688A: mov dword ptr [edx + 8], ecx */ 20995 goto L_39006891; /* 0x3900688D: jmp 0x39006891 */ 20996 L_3900688F: 20997 MEM32(edx) = ecx; /* 0x3900688F: mov dword ptr [edx], ecx */ 20998 L_39006891: 20999 MEM32(ecx + 0x8) = eax; /* 0x39006891: mov dword ptr [ecx + 8], eax */ 21000 MEM32(eax + 0x4) = ecx; /* 0x39006894: mov dword ptr [eax + 4], ecx */ 21001 L_39006897: 21002 ecx = MEM32(eax + 0x4); /* 0x39006897: mov ecx, dword ptr [eax + 4] */ 21003 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x3900689A: mov byte ptr [ecx + 0x14], bl */ 21004 edx = MEM32(eax + 0x4); /* 0x3900689D: mov edx, dword ptr [eax + 4] */ 21005 ecx = MEM32(edx + 0x4); /* 0x390068A0: mov ecx, dword ptr [edx + 4] */ 21006 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x390068A3: mov byte ptr [ecx + 0x14], 0 */ 21007 edx = MEM32(eax + 0x4); /* 0x390068A7: mov edx, dword ptr [eax + 4] */ 21008 ecx = MEM32(edx + 0x4); /* 0x390068AA: mov ecx, dword ptr [edx + 4] */ 21009 edx = MEM32(ecx + 0x8); /* 0x390068AD: mov edx, dword ptr [ecx + 8] */ 21010 edi = MEM32(edx); /* 0x390068B0: mov edi, dword ptr [edx] */ 21011 MEM32(ecx + 0x8) = edi; /* 0x390068B2: mov dword ptr [ecx + 8], edi */ 21012 edi = MEM32(edx); /* 0x390068B5: mov edi, dword ptr [edx] */ 21013 /* cmp edi, MEM32(esi + 0x8) */ /* 0x390068B7: cmp edi, dword ptr [esi + 8] */ 21014 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21015 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21016 _flag_k = FK_CMP; 21017 if (CMP_EQ(_flag_a, _flag_b)) goto L_390068BF; /* 0x390068BA: je 0x390068bf */ 21018 L_390068BC: 21019 MEM32(edi + 0x4) = ecx; /* 0x390068BC: mov dword ptr [edi + 4], ecx */ 21020 L_390068BF: 21021 edi = MEM32(ecx + 0x4); /* 0x390068BF: mov edi, dword ptr [ecx + 4] */ 21022 MEM32(edx + 0x4) = edi; /* 0x390068C2: mov dword ptr [edx + 4], edi */ 21023 edi = MEM32(esi + 0x4); /* 0x390068C5: mov edi, dword ptr [esi + 4] */ 21024 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x390068C8: cmp ecx, dword ptr [edi + 4] */ 21025 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 21026 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21027 _flag_k = FK_CMP; 21028 if (CMP_NE(_flag_a, _flag_b)) goto L_390068D2; /* 0x390068CB: jne 0x390068d2 */ 21029 L_390068CD: 21030 MEM32(edi + 0x4) = edx; /* 0x390068CD: mov dword ptr [edi + 4], edx */ 21031 goto L_390068E0; /* 0x390068D0: jmp 0x390068e0 */ 21032 L_390068D2: 21033 edi = MEM32(ecx + 0x4); /* 0x390068D2: mov edi, dword ptr [ecx + 4] */ 21034 /* cmp ecx, MEM32(edi) */ /* 0x390068D5: cmp ecx, dword ptr [edi] */ 21035 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 21036 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21037 _flag_k = FK_CMP; 21038 if (CMP_NE(_flag_a, _flag_b)) goto L_390068DD; /* 0x390068D7: jne 0x390068dd */ 21039 L_390068D9: 21040 MEM32(edi) = edx; /* 0x390068D9: mov dword ptr [edi], edx */ 21041 goto L_390068E0; /* 0x390068DB: jmp 0x390068e0 */ 21042 L_390068DD: 21043 MEM32(edi + 0x8) = edx; /* 0x390068DD: mov dword ptr [edi + 8], edx */ 21044 L_390068E0: 21045 MEM32(edx) = ecx; /* 0x390068E0: mov dword ptr [edx], ecx */ 21046 L_390068E2: 21047 MEM32(ecx + 0x4) = edx; /* 0x390068E2: mov dword ptr [ecx + 4], edx */ 21048 L_390068E5: 21049 ecx = MEM32(esi + 0x4); /* 0x390068E5: mov ecx, dword ptr [esi + 4] */ 21050 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x390068E8: cmp eax, dword ptr [ecx + 4] */ 21051 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 21052 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21053 _flag_k = FK_CMP; 21054 RECOMP_BACKEDGE(); 21055 if (CMP_NE(_flag_a, _flag_b)) goto L_39006771; /* 0x390068EB: jne 0x39006771 */ 21056 L_390068F1: 21057 edx = MEM32(esi + 0x4); /* 0x390068F1: mov edx, dword ptr [esi + 4] */ 21058 ecx = MEM32(ebp + (-0x4)); /* 0x390068F4: mov ecx, dword ptr [ebp - 4] */ 21059 edi = POP32_VAL(esp); /* 0x390068F7: pop edi */ 21060 esi = POP32_VAL(esp); /* 0x390068F8: pop esi */ 21061 eax = MEM32(edx + 0x4); /* 0x390068F9: mov eax, dword ptr [edx + 4] */ 21062 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x390068FC: mov byte ptr [eax + 0x14], bl */ 21063 eax = MEM32(ebp + 0x8); /* 0x390068FF: mov eax, dword ptr [ebp + 8] */ 21064 ebx = POP32_VAL(esp); /* 0x39006902: pop ebx */ 21065 MEM32(eax) = ecx; /* 0x39006903: mov dword ptr [eax], ecx */ 21066 esp = ebp; /* 0x39006905: mov esp, ebp */ 21067 ebp = POP32_VAL(esp); /* 0x39006907: pop ebp */ 21068 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39006908: ret 0x10 */ 21069 RECOMP_REGS_OUT(); 21070 } 21071 21072 void sub_390068E2(void) { 21073 int _fpu_cmp = 0; 21074 uint32_t _cf = 0; 21075 int _df = 1; 21076 uint32_t _flag_k = FK_NONE; 21077 uint32_t _flag_a = 0, _flag_b = 0; 21078 uint32_t _itail_tgt = 0; 21079 RECOMP_REGS_LOCALS 21080 RECOMP_ENTER(0x390068E2u); 21081 21082 goto L_390068E2; 21083 L_39006771: 21084 ecx = MEM32(eax + 0x4); /* 0x39006771: mov ecx, dword ptr [eax + 4] */ 21085 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x39006774: mov dl, byte ptr [ecx + 0x14] */ 21086 /* test LO8(edx), LO8(edx) */ /* 0x39006777: test dl, dl */ 21087 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 21088 _cf = 0; 21089 _flag_k = FK_NARROW(FK_TEST, 24); 21090 if (TEST_NZ(_flag_a, _flag_b)) goto L_390068F1; /* 0x39006779: jne 0x390068f1 */ 21091 L_3900677F: 21092 edi = MEM32(ecx + 0x4); /* 0x3900677F: mov edi, dword ptr [ecx + 4] */ 21093 edx = MEM32(edi); /* 0x39006782: mov edx, dword ptr [edi] */ 21094 /* cmp ecx, edx */ /* 0x39006784: cmp ecx, edx */ 21095 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 21096 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21097 _flag_k = FK_CMP; 21098 if (CMP_NE(_flag_a, _flag_b)) goto L_3900684D; /* 0x39006786: jne 0x3900684d */ 21099 L_3900678C: 21100 edx = MEM32(edi + 0x8); /* 0x3900678C: mov edx, dword ptr [edi + 8] */ 21101 /* cmp MEM8(edx + 0x14), 0 */ /* 0x3900678F: cmp byte ptr [edx + 0x14], 0 */ 21102 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 21103 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21104 _flag_k = FK_NARROW(FK_CMP, 24); 21105 if (CMP_NE(_flag_a, _flag_b)) goto L_390067B0; /* 0x39006793: jne 0x390067b0 */ 21106 L_39006795: 21107 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39006795: mov byte ptr [ecx + 0x14], bl */ 21108 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39006798: mov byte ptr [edx + 0x14], bl */ 21109 ecx = MEM32(eax + 0x4); /* 0x3900679B: mov ecx, dword ptr [eax + 4] */ 21110 edx = MEM32(ecx + 0x4); /* 0x3900679E: mov edx, dword ptr [ecx + 4] */ 21111 MEM8(edx + 0x14) = (uint8_t)(0); /* 0x390067A1: mov byte ptr [edx + 0x14], 0 */ 21112 eax = MEM32(eax + 0x4); /* 0x390067A5: mov eax, dword ptr [eax + 4] */ 21113 eax = MEM32(eax + 0x4); /* 0x390067A8: mov eax, dword ptr [eax + 4] */ 21114 goto L_390068E5; /* 0x390067AB: jmp 0x390068e5 */ 21115 L_390067B0: 21116 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x390067B0: cmp eax, dword ptr [ecx + 8] */ 21117 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 21118 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21119 _flag_k = FK_CMP; 21120 if (CMP_NE(_flag_a, _flag_b)) goto L_390067EF; /* 0x390067B3: jne 0x390067ef */ 21121 L_390067B5: 21122 eax = ecx; /* 0x390067B5: mov eax, ecx */ 21123 ecx = MEM32(eax + 0x8); /* 0x390067B7: mov ecx, dword ptr [eax + 8] */ 21124 edx = MEM32(ecx); /* 0x390067BA: mov edx, dword ptr [ecx] */ 21125 MEM32(eax + 0x8) = edx; /* 0x390067BC: mov dword ptr [eax + 8], edx */ 21126 edx = MEM32(ecx); /* 0x390067BF: mov edx, dword ptr [ecx] */ 21127 /* cmp edx, MEM32(esi + 0x8) */ /* 0x390067C1: cmp edx, dword ptr [esi + 8] */ 21128 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21129 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21130 _flag_k = FK_CMP; 21131 if (CMP_EQ(_flag_a, _flag_b)) goto L_390067C9; /* 0x390067C4: je 0x390067c9 */ 21132 L_390067C6: 21133 MEM32(edx + 0x4) = eax; /* 0x390067C6: mov dword ptr [edx + 4], eax */ 21134 L_390067C9: 21135 edx = MEM32(eax + 0x4); /* 0x390067C9: mov edx, dword ptr [eax + 4] */ 21136 MEM32(ecx + 0x4) = edx; /* 0x390067CC: mov dword ptr [ecx + 4], edx */ 21137 edx = MEM32(esi + 0x4); /* 0x390067CF: mov edx, dword ptr [esi + 4] */ 21138 /* cmp eax, MEM32(edx + 0x4) */ /* 0x390067D2: cmp eax, dword ptr [edx + 4] */ 21139 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 21140 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21141 _flag_k = FK_CMP; 21142 if (CMP_NE(_flag_a, _flag_b)) goto L_390067DC; /* 0x390067D5: jne 0x390067dc */ 21143 L_390067D7: 21144 MEM32(edx + 0x4) = ecx; /* 0x390067D7: mov dword ptr [edx + 4], ecx */ 21145 goto L_390067EA; /* 0x390067DA: jmp 0x390067ea */ 21146 L_390067DC: 21147 edx = MEM32(eax + 0x4); /* 0x390067DC: mov edx, dword ptr [eax + 4] */ 21148 /* cmp eax, MEM32(edx) */ /* 0x390067DF: cmp eax, dword ptr [edx] */ 21149 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 21150 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21151 _flag_k = FK_CMP; 21152 if (CMP_NE(_flag_a, _flag_b)) goto L_390067E7; /* 0x390067E1: jne 0x390067e7 */ 21153 L_390067E3: 21154 MEM32(edx) = ecx; /* 0x390067E3: mov dword ptr [edx], ecx */ 21155 goto L_390067EA; /* 0x390067E5: jmp 0x390067ea */ 21156 L_390067E7: 21157 MEM32(edx + 0x8) = ecx; /* 0x390067E7: mov dword ptr [edx + 8], ecx */ 21158 L_390067EA: 21159 MEM32(ecx) = eax; /* 0x390067EA: mov dword ptr [ecx], eax */ 21160 MEM32(eax + 0x4) = ecx; /* 0x390067EC: mov dword ptr [eax + 4], ecx */ 21161 L_390067EF: 21162 ecx = MEM32(eax + 0x4); /* 0x390067EF: mov ecx, dword ptr [eax + 4] */ 21163 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x390067F2: mov byte ptr [ecx + 0x14], bl */ 21164 edx = MEM32(eax + 0x4); /* 0x390067F5: mov edx, dword ptr [eax + 4] */ 21165 ecx = MEM32(edx + 0x4); /* 0x390067F8: mov ecx, dword ptr [edx + 4] */ 21166 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x390067FB: mov byte ptr [ecx + 0x14], 0 */ 21167 edx = MEM32(eax + 0x4); /* 0x390067FF: mov edx, dword ptr [eax + 4] */ 21168 ecx = MEM32(edx + 0x4); /* 0x39006802: mov ecx, dword ptr [edx + 4] */ 21169 edx = MEM32(ecx); /* 0x39006805: mov edx, dword ptr [ecx] */ 21170 edi = MEM32(edx + 0x8); /* 0x39006807: mov edi, dword ptr [edx + 8] */ 21171 MEM32(ecx) = edi; /* 0x3900680A: mov dword ptr [ecx], edi */ 21172 edi = MEM32(edx + 0x8); /* 0x3900680C: mov edi, dword ptr [edx + 8] */ 21173 /* cmp edi, MEM32(esi + 0x8) */ /* 0x3900680F: cmp edi, dword ptr [esi + 8] */ 21174 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21175 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21176 _flag_k = FK_CMP; 21177 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006817; /* 0x39006812: je 0x39006817 */ 21178 L_39006814: 21179 MEM32(edi + 0x4) = ecx; /* 0x39006814: mov dword ptr [edi + 4], ecx */ 21180 L_39006817: 21181 edi = MEM32(ecx + 0x4); /* 0x39006817: mov edi, dword ptr [ecx + 4] */ 21182 MEM32(edx + 0x4) = edi; /* 0x3900681A: mov dword ptr [edx + 4], edi */ 21183 edi = MEM32(esi + 0x4); /* 0x3900681D: mov edi, dword ptr [esi + 4] */ 21184 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006820: cmp ecx, dword ptr [edi + 4] */ 21185 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 21186 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21187 _flag_k = FK_CMP; 21188 if (CMP_NE(_flag_a, _flag_b)) goto L_39006830; /* 0x39006823: jne 0x39006830 */ 21189 L_39006825: 21190 MEM32(edi + 0x4) = edx; /* 0x39006825: mov dword ptr [edi + 4], edx */ 21191 MEM32(edx + 0x8) = ecx; /* 0x39006828: mov dword ptr [edx + 8], ecx */ 21192 goto L_390068E2; /* 0x3900682B: jmp 0x390068e2 */ 21193 L_39006830: 21194 edi = MEM32(ecx + 0x4); /* 0x39006830: mov edi, dword ptr [ecx + 4] */ 21195 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x39006833: cmp ecx, dword ptr [edi + 8] */ 21196 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21197 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21198 _flag_k = FK_CMP; 21199 if (CMP_NE(_flag_a, _flag_b)) goto L_39006843; /* 0x39006836: jne 0x39006843 */ 21200 L_39006838: 21201 MEM32(edi + 0x8) = edx; /* 0x39006838: mov dword ptr [edi + 8], edx */ 21202 MEM32(edx + 0x8) = ecx; /* 0x3900683B: mov dword ptr [edx + 8], ecx */ 21203 goto L_390068E2; /* 0x3900683E: jmp 0x390068e2 */ 21204 L_39006843: 21205 MEM32(edi) = edx; /* 0x39006843: mov dword ptr [edi], edx */ 21206 MEM32(edx + 0x8) = ecx; /* 0x39006845: mov dword ptr [edx + 8], ecx */ 21207 goto L_390068E2; /* 0x39006848: jmp 0x390068e2 */ 21208 L_3900684D: 21209 /* cmp MEM8(edx + 0x14), 0 */ /* 0x3900684D: cmp byte ptr [edx + 0x14], 0 */ 21210 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 21211 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21212 _flag_k = FK_NARROW(FK_CMP, 24); 21213 RECOMP_BACKEDGE(); 21214 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006795; /* 0x39006851: je 0x39006795 */ 21215 L_39006857: 21216 /* cmp eax, MEM32(ecx) */ /* 0x39006857: cmp eax, dword ptr [ecx] */ 21217 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 21218 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21219 _flag_k = FK_CMP; 21220 if (CMP_NE(_flag_a, _flag_b)) goto L_39006897; /* 0x39006859: jne 0x39006897 */ 21221 L_3900685B: 21222 eax = ecx; /* 0x3900685B: mov eax, ecx */ 21223 ecx = MEM32(eax); /* 0x3900685D: mov ecx, dword ptr [eax] */ 21224 edx = MEM32(ecx + 0x8); /* 0x3900685F: mov edx, dword ptr [ecx + 8] */ 21225 MEM32(eax) = edx; /* 0x39006862: mov dword ptr [eax], edx */ 21226 edx = MEM32(ecx + 0x8); /* 0x39006864: mov edx, dword ptr [ecx + 8] */ 21227 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006867: cmp edx, dword ptr [esi + 8] */ 21228 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21229 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21230 _flag_k = FK_CMP; 21231 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900686F; /* 0x3900686A: je 0x3900686f */ 21232 L_3900686C: 21233 MEM32(edx + 0x4) = eax; /* 0x3900686C: mov dword ptr [edx + 4], eax */ 21234 L_3900686F: 21235 edx = MEM32(eax + 0x4); /* 0x3900686F: mov edx, dword ptr [eax + 4] */ 21236 MEM32(ecx + 0x4) = edx; /* 0x39006872: mov dword ptr [ecx + 4], edx */ 21237 edx = MEM32(esi + 0x4); /* 0x39006875: mov edx, dword ptr [esi + 4] */ 21238 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006878: cmp eax, dword ptr [edx + 4] */ 21239 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 21240 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21241 _flag_k = FK_CMP; 21242 if (CMP_NE(_flag_a, _flag_b)) goto L_39006882; /* 0x3900687B: jne 0x39006882 */ 21243 L_3900687D: 21244 MEM32(edx + 0x4) = ecx; /* 0x3900687D: mov dword ptr [edx + 4], ecx */ 21245 goto L_39006891; /* 0x39006880: jmp 0x39006891 */ 21246 L_39006882: 21247 edx = MEM32(eax + 0x4); /* 0x39006882: mov edx, dword ptr [eax + 4] */ 21248 /* cmp eax, MEM32(edx + 0x8) */ /* 0x39006885: cmp eax, dword ptr [edx + 8] */ 21249 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 21250 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21251 _flag_k = FK_CMP; 21252 if (CMP_NE(_flag_a, _flag_b)) goto L_3900688F; /* 0x39006888: jne 0x3900688f */ 21253 L_3900688A: 21254 MEM32(edx + 0x8) = ecx; /* 0x3900688A: mov dword ptr [edx + 8], ecx */ 21255 goto L_39006891; /* 0x3900688D: jmp 0x39006891 */ 21256 L_3900688F: 21257 MEM32(edx) = ecx; /* 0x3900688F: mov dword ptr [edx], ecx */ 21258 L_39006891: 21259 MEM32(ecx + 0x8) = eax; /* 0x39006891: mov dword ptr [ecx + 8], eax */ 21260 MEM32(eax + 0x4) = ecx; /* 0x39006894: mov dword ptr [eax + 4], ecx */ 21261 L_39006897: 21262 ecx = MEM32(eax + 0x4); /* 0x39006897: mov ecx, dword ptr [eax + 4] */ 21263 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x3900689A: mov byte ptr [ecx + 0x14], bl */ 21264 edx = MEM32(eax + 0x4); /* 0x3900689D: mov edx, dword ptr [eax + 4] */ 21265 ecx = MEM32(edx + 0x4); /* 0x390068A0: mov ecx, dword ptr [edx + 4] */ 21266 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x390068A3: mov byte ptr [ecx + 0x14], 0 */ 21267 edx = MEM32(eax + 0x4); /* 0x390068A7: mov edx, dword ptr [eax + 4] */ 21268 ecx = MEM32(edx + 0x4); /* 0x390068AA: mov ecx, dword ptr [edx + 4] */ 21269 edx = MEM32(ecx + 0x8); /* 0x390068AD: mov edx, dword ptr [ecx + 8] */ 21270 edi = MEM32(edx); /* 0x390068B0: mov edi, dword ptr [edx] */ 21271 MEM32(ecx + 0x8) = edi; /* 0x390068B2: mov dword ptr [ecx + 8], edi */ 21272 edi = MEM32(edx); /* 0x390068B5: mov edi, dword ptr [edx] */ 21273 /* cmp edi, MEM32(esi + 0x8) */ /* 0x390068B7: cmp edi, dword ptr [esi + 8] */ 21274 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21275 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21276 _flag_k = FK_CMP; 21277 if (CMP_EQ(_flag_a, _flag_b)) goto L_390068BF; /* 0x390068BA: je 0x390068bf */ 21278 L_390068BC: 21279 MEM32(edi + 0x4) = ecx; /* 0x390068BC: mov dword ptr [edi + 4], ecx */ 21280 L_390068BF: 21281 edi = MEM32(ecx + 0x4); /* 0x390068BF: mov edi, dword ptr [ecx + 4] */ 21282 MEM32(edx + 0x4) = edi; /* 0x390068C2: mov dword ptr [edx + 4], edi */ 21283 edi = MEM32(esi + 0x4); /* 0x390068C5: mov edi, dword ptr [esi + 4] */ 21284 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x390068C8: cmp ecx, dword ptr [edi + 4] */ 21285 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 21286 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21287 _flag_k = FK_CMP; 21288 if (CMP_NE(_flag_a, _flag_b)) goto L_390068D2; /* 0x390068CB: jne 0x390068d2 */ 21289 L_390068CD: 21290 MEM32(edi + 0x4) = edx; /* 0x390068CD: mov dword ptr [edi + 4], edx */ 21291 goto L_390068E0; /* 0x390068D0: jmp 0x390068e0 */ 21292 L_390068D2: 21293 edi = MEM32(ecx + 0x4); /* 0x390068D2: mov edi, dword ptr [ecx + 4] */ 21294 /* cmp ecx, MEM32(edi) */ /* 0x390068D5: cmp ecx, dword ptr [edi] */ 21295 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 21296 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21297 _flag_k = FK_CMP; 21298 if (CMP_NE(_flag_a, _flag_b)) goto L_390068DD; /* 0x390068D7: jne 0x390068dd */ 21299 L_390068D9: 21300 MEM32(edi) = edx; /* 0x390068D9: mov dword ptr [edi], edx */ 21301 goto L_390068E0; /* 0x390068DB: jmp 0x390068e0 */ 21302 L_390068DD: 21303 MEM32(edi + 0x8) = edx; /* 0x390068DD: mov dword ptr [edi + 8], edx */ 21304 L_390068E0: 21305 MEM32(edx) = ecx; /* 0x390068E0: mov dword ptr [edx], ecx */ 21306 L_390068E2: 21307 MEM32(ecx + 0x4) = edx; /* 0x390068E2: mov dword ptr [ecx + 4], edx */ 21308 L_390068E5: 21309 ecx = MEM32(esi + 0x4); /* 0x390068E5: mov ecx, dword ptr [esi + 4] */ 21310 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x390068E8: cmp eax, dword ptr [ecx + 4] */ 21311 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 21312 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21313 _flag_k = FK_CMP; 21314 RECOMP_BACKEDGE(); 21315 if (CMP_NE(_flag_a, _flag_b)) goto L_39006771; /* 0x390068EB: jne 0x39006771 */ 21316 L_390068F1: 21317 edx = MEM32(esi + 0x4); /* 0x390068F1: mov edx, dword ptr [esi + 4] */ 21318 ecx = MEM32(ebp + (-0x4)); /* 0x390068F4: mov ecx, dword ptr [ebp - 4] */ 21319 edi = POP32_VAL(esp); /* 0x390068F7: pop edi */ 21320 esi = POP32_VAL(esp); /* 0x390068F8: pop esi */ 21321 eax = MEM32(edx + 0x4); /* 0x390068F9: mov eax, dword ptr [edx + 4] */ 21322 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x390068FC: mov byte ptr [eax + 0x14], bl */ 21323 eax = MEM32(ebp + 0x8); /* 0x390068FF: mov eax, dword ptr [ebp + 8] */ 21324 ebx = POP32_VAL(esp); /* 0x39006902: pop ebx */ 21325 MEM32(eax) = ecx; /* 0x39006903: mov dword ptr [eax], ecx */ 21326 esp = ebp; /* 0x39006905: mov esp, ebp */ 21327 ebp = POP32_VAL(esp); /* 0x39006907: pop ebp */ 21328 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39006908: ret 0x10 */ 21329 RECOMP_REGS_OUT(); 21330 } 21331 21332 void sub_390068E5(void) { 21333 int _fpu_cmp = 0; 21334 uint32_t _cf = 0; 21335 int _df = 1; 21336 uint32_t _flag_k = FK_NONE; 21337 uint32_t _flag_a = 0, _flag_b = 0; 21338 uint32_t _itail_tgt = 0; 21339 RECOMP_REGS_LOCALS 21340 RECOMP_ENTER(0x390068E5u); 21341 21342 goto L_390068E5; 21343 L_39006771: 21344 ecx = MEM32(eax + 0x4); /* 0x39006771: mov ecx, dword ptr [eax + 4] */ 21345 SET_LO8(edx, MEM8(ecx + 0x14)); /* 0x39006774: mov dl, byte ptr [ecx + 0x14] */ 21346 /* test LO8(edx), LO8(edx) */ /* 0x39006777: test dl, dl */ 21347 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 21348 _cf = 0; 21349 _flag_k = FK_NARROW(FK_TEST, 24); 21350 if (TEST_NZ(_flag_a, _flag_b)) goto L_390068F1; /* 0x39006779: jne 0x390068f1 */ 21351 L_3900677F: 21352 edi = MEM32(ecx + 0x4); /* 0x3900677F: mov edi, dword ptr [ecx + 4] */ 21353 edx = MEM32(edi); /* 0x39006782: mov edx, dword ptr [edi] */ 21354 /* cmp ecx, edx */ /* 0x39006784: cmp ecx, edx */ 21355 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 21356 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21357 _flag_k = FK_CMP; 21358 if (CMP_NE(_flag_a, _flag_b)) goto L_3900684D; /* 0x39006786: jne 0x3900684d */ 21359 L_3900678C: 21360 edx = MEM32(edi + 0x8); /* 0x3900678C: mov edx, dword ptr [edi + 8] */ 21361 /* cmp MEM8(edx + 0x14), 0 */ /* 0x3900678F: cmp byte ptr [edx + 0x14], 0 */ 21362 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 21363 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21364 _flag_k = FK_NARROW(FK_CMP, 24); 21365 if (CMP_NE(_flag_a, _flag_b)) goto L_390067B0; /* 0x39006793: jne 0x390067b0 */ 21366 L_39006795: 21367 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39006795: mov byte ptr [ecx + 0x14], bl */ 21368 MEM8(edx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x39006798: mov byte ptr [edx + 0x14], bl */ 21369 ecx = MEM32(eax + 0x4); /* 0x3900679B: mov ecx, dword ptr [eax + 4] */ 21370 edx = MEM32(ecx + 0x4); /* 0x3900679E: mov edx, dword ptr [ecx + 4] */ 21371 MEM8(edx + 0x14) = (uint8_t)(0); /* 0x390067A1: mov byte ptr [edx + 0x14], 0 */ 21372 eax = MEM32(eax + 0x4); /* 0x390067A5: mov eax, dword ptr [eax + 4] */ 21373 eax = MEM32(eax + 0x4); /* 0x390067A8: mov eax, dword ptr [eax + 4] */ 21374 goto L_390068E5; /* 0x390067AB: jmp 0x390068e5 */ 21375 L_390067B0: 21376 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x390067B0: cmp eax, dword ptr [ecx + 8] */ 21377 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 21378 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21379 _flag_k = FK_CMP; 21380 if (CMP_NE(_flag_a, _flag_b)) goto L_390067EF; /* 0x390067B3: jne 0x390067ef */ 21381 L_390067B5: 21382 eax = ecx; /* 0x390067B5: mov eax, ecx */ 21383 ecx = MEM32(eax + 0x8); /* 0x390067B7: mov ecx, dword ptr [eax + 8] */ 21384 edx = MEM32(ecx); /* 0x390067BA: mov edx, dword ptr [ecx] */ 21385 MEM32(eax + 0x8) = edx; /* 0x390067BC: mov dword ptr [eax + 8], edx */ 21386 edx = MEM32(ecx); /* 0x390067BF: mov edx, dword ptr [ecx] */ 21387 /* cmp edx, MEM32(esi + 0x8) */ /* 0x390067C1: cmp edx, dword ptr [esi + 8] */ 21388 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21389 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21390 _flag_k = FK_CMP; 21391 if (CMP_EQ(_flag_a, _flag_b)) goto L_390067C9; /* 0x390067C4: je 0x390067c9 */ 21392 L_390067C6: 21393 MEM32(edx + 0x4) = eax; /* 0x390067C6: mov dword ptr [edx + 4], eax */ 21394 L_390067C9: 21395 edx = MEM32(eax + 0x4); /* 0x390067C9: mov edx, dword ptr [eax + 4] */ 21396 MEM32(ecx + 0x4) = edx; /* 0x390067CC: mov dword ptr [ecx + 4], edx */ 21397 edx = MEM32(esi + 0x4); /* 0x390067CF: mov edx, dword ptr [esi + 4] */ 21398 /* cmp eax, MEM32(edx + 0x4) */ /* 0x390067D2: cmp eax, dword ptr [edx + 4] */ 21399 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 21400 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21401 _flag_k = FK_CMP; 21402 if (CMP_NE(_flag_a, _flag_b)) goto L_390067DC; /* 0x390067D5: jne 0x390067dc */ 21403 L_390067D7: 21404 MEM32(edx + 0x4) = ecx; /* 0x390067D7: mov dword ptr [edx + 4], ecx */ 21405 goto L_390067EA; /* 0x390067DA: jmp 0x390067ea */ 21406 L_390067DC: 21407 edx = MEM32(eax + 0x4); /* 0x390067DC: mov edx, dword ptr [eax + 4] */ 21408 /* cmp eax, MEM32(edx) */ /* 0x390067DF: cmp eax, dword ptr [edx] */ 21409 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 21410 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21411 _flag_k = FK_CMP; 21412 if (CMP_NE(_flag_a, _flag_b)) goto L_390067E7; /* 0x390067E1: jne 0x390067e7 */ 21413 L_390067E3: 21414 MEM32(edx) = ecx; /* 0x390067E3: mov dword ptr [edx], ecx */ 21415 goto L_390067EA; /* 0x390067E5: jmp 0x390067ea */ 21416 L_390067E7: 21417 MEM32(edx + 0x8) = ecx; /* 0x390067E7: mov dword ptr [edx + 8], ecx */ 21418 L_390067EA: 21419 MEM32(ecx) = eax; /* 0x390067EA: mov dword ptr [ecx], eax */ 21420 MEM32(eax + 0x4) = ecx; /* 0x390067EC: mov dword ptr [eax + 4], ecx */ 21421 L_390067EF: 21422 ecx = MEM32(eax + 0x4); /* 0x390067EF: mov ecx, dword ptr [eax + 4] */ 21423 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x390067F2: mov byte ptr [ecx + 0x14], bl */ 21424 edx = MEM32(eax + 0x4); /* 0x390067F5: mov edx, dword ptr [eax + 4] */ 21425 ecx = MEM32(edx + 0x4); /* 0x390067F8: mov ecx, dword ptr [edx + 4] */ 21426 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x390067FB: mov byte ptr [ecx + 0x14], 0 */ 21427 edx = MEM32(eax + 0x4); /* 0x390067FF: mov edx, dword ptr [eax + 4] */ 21428 ecx = MEM32(edx + 0x4); /* 0x39006802: mov ecx, dword ptr [edx + 4] */ 21429 edx = MEM32(ecx); /* 0x39006805: mov edx, dword ptr [ecx] */ 21430 edi = MEM32(edx + 0x8); /* 0x39006807: mov edi, dword ptr [edx + 8] */ 21431 MEM32(ecx) = edi; /* 0x3900680A: mov dword ptr [ecx], edi */ 21432 edi = MEM32(edx + 0x8); /* 0x3900680C: mov edi, dword ptr [edx + 8] */ 21433 /* cmp edi, MEM32(esi + 0x8) */ /* 0x3900680F: cmp edi, dword ptr [esi + 8] */ 21434 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21435 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21436 _flag_k = FK_CMP; 21437 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006817; /* 0x39006812: je 0x39006817 */ 21438 L_39006814: 21439 MEM32(edi + 0x4) = ecx; /* 0x39006814: mov dword ptr [edi + 4], ecx */ 21440 L_39006817: 21441 edi = MEM32(ecx + 0x4); /* 0x39006817: mov edi, dword ptr [ecx + 4] */ 21442 MEM32(edx + 0x4) = edi; /* 0x3900681A: mov dword ptr [edx + 4], edi */ 21443 edi = MEM32(esi + 0x4); /* 0x3900681D: mov edi, dword ptr [esi + 4] */ 21444 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006820: cmp ecx, dword ptr [edi + 4] */ 21445 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 21446 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21447 _flag_k = FK_CMP; 21448 if (CMP_NE(_flag_a, _flag_b)) goto L_39006830; /* 0x39006823: jne 0x39006830 */ 21449 L_39006825: 21450 MEM32(edi + 0x4) = edx; /* 0x39006825: mov dword ptr [edi + 4], edx */ 21451 MEM32(edx + 0x8) = ecx; /* 0x39006828: mov dword ptr [edx + 8], ecx */ 21452 goto L_390068E2; /* 0x3900682B: jmp 0x390068e2 */ 21453 L_39006830: 21454 edi = MEM32(ecx + 0x4); /* 0x39006830: mov edi, dword ptr [ecx + 4] */ 21455 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x39006833: cmp ecx, dword ptr [edi + 8] */ 21456 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21457 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21458 _flag_k = FK_CMP; 21459 if (CMP_NE(_flag_a, _flag_b)) goto L_39006843; /* 0x39006836: jne 0x39006843 */ 21460 L_39006838: 21461 MEM32(edi + 0x8) = edx; /* 0x39006838: mov dword ptr [edi + 8], edx */ 21462 MEM32(edx + 0x8) = ecx; /* 0x3900683B: mov dword ptr [edx + 8], ecx */ 21463 goto L_390068E2; /* 0x3900683E: jmp 0x390068e2 */ 21464 L_39006843: 21465 MEM32(edi) = edx; /* 0x39006843: mov dword ptr [edi], edx */ 21466 MEM32(edx + 0x8) = ecx; /* 0x39006845: mov dword ptr [edx + 8], ecx */ 21467 goto L_390068E2; /* 0x39006848: jmp 0x390068e2 */ 21468 L_3900684D: 21469 /* cmp MEM8(edx + 0x14), 0 */ /* 0x3900684D: cmp byte ptr [edx + 0x14], 0 */ 21470 _flag_a = (uint32_t)(MEM8(edx + 0x14)) << 24; _flag_b = (uint32_t)(0) << 24; 21471 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21472 _flag_k = FK_NARROW(FK_CMP, 24); 21473 RECOMP_BACKEDGE(); 21474 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006795; /* 0x39006851: je 0x39006795 */ 21475 L_39006857: 21476 /* cmp eax, MEM32(ecx) */ /* 0x39006857: cmp eax, dword ptr [ecx] */ 21477 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 21478 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21479 _flag_k = FK_CMP; 21480 if (CMP_NE(_flag_a, _flag_b)) goto L_39006897; /* 0x39006859: jne 0x39006897 */ 21481 L_3900685B: 21482 eax = ecx; /* 0x3900685B: mov eax, ecx */ 21483 ecx = MEM32(eax); /* 0x3900685D: mov ecx, dword ptr [eax] */ 21484 edx = MEM32(ecx + 0x8); /* 0x3900685F: mov edx, dword ptr [ecx + 8] */ 21485 MEM32(eax) = edx; /* 0x39006862: mov dword ptr [eax], edx */ 21486 edx = MEM32(ecx + 0x8); /* 0x39006864: mov edx, dword ptr [ecx + 8] */ 21487 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006867: cmp edx, dword ptr [esi + 8] */ 21488 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21489 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21490 _flag_k = FK_CMP; 21491 if (CMP_EQ(_flag_a, _flag_b)) goto L_3900686F; /* 0x3900686A: je 0x3900686f */ 21492 L_3900686C: 21493 MEM32(edx + 0x4) = eax; /* 0x3900686C: mov dword ptr [edx + 4], eax */ 21494 L_3900686F: 21495 edx = MEM32(eax + 0x4); /* 0x3900686F: mov edx, dword ptr [eax + 4] */ 21496 MEM32(ecx + 0x4) = edx; /* 0x39006872: mov dword ptr [ecx + 4], edx */ 21497 edx = MEM32(esi + 0x4); /* 0x39006875: mov edx, dword ptr [esi + 4] */ 21498 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006878: cmp eax, dword ptr [edx + 4] */ 21499 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 21500 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21501 _flag_k = FK_CMP; 21502 if (CMP_NE(_flag_a, _flag_b)) goto L_39006882; /* 0x3900687B: jne 0x39006882 */ 21503 L_3900687D: 21504 MEM32(edx + 0x4) = ecx; /* 0x3900687D: mov dword ptr [edx + 4], ecx */ 21505 goto L_39006891; /* 0x39006880: jmp 0x39006891 */ 21506 L_39006882: 21507 edx = MEM32(eax + 0x4); /* 0x39006882: mov edx, dword ptr [eax + 4] */ 21508 /* cmp eax, MEM32(edx + 0x8) */ /* 0x39006885: cmp eax, dword ptr [edx + 8] */ 21509 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 21510 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21511 _flag_k = FK_CMP; 21512 if (CMP_NE(_flag_a, _flag_b)) goto L_3900688F; /* 0x39006888: jne 0x3900688f */ 21513 L_3900688A: 21514 MEM32(edx + 0x8) = ecx; /* 0x3900688A: mov dword ptr [edx + 8], ecx */ 21515 goto L_39006891; /* 0x3900688D: jmp 0x39006891 */ 21516 L_3900688F: 21517 MEM32(edx) = ecx; /* 0x3900688F: mov dword ptr [edx], ecx */ 21518 L_39006891: 21519 MEM32(ecx + 0x8) = eax; /* 0x39006891: mov dword ptr [ecx + 8], eax */ 21520 MEM32(eax + 0x4) = ecx; /* 0x39006894: mov dword ptr [eax + 4], ecx */ 21521 L_39006897: 21522 ecx = MEM32(eax + 0x4); /* 0x39006897: mov ecx, dword ptr [eax + 4] */ 21523 MEM8(ecx + 0x14) = (uint8_t)(LO8(ebx)); /* 0x3900689A: mov byte ptr [ecx + 0x14], bl */ 21524 edx = MEM32(eax + 0x4); /* 0x3900689D: mov edx, dword ptr [eax + 4] */ 21525 ecx = MEM32(edx + 0x4); /* 0x390068A0: mov ecx, dword ptr [edx + 4] */ 21526 MEM8(ecx + 0x14) = (uint8_t)(0); /* 0x390068A3: mov byte ptr [ecx + 0x14], 0 */ 21527 edx = MEM32(eax + 0x4); /* 0x390068A7: mov edx, dword ptr [eax + 4] */ 21528 ecx = MEM32(edx + 0x4); /* 0x390068AA: mov ecx, dword ptr [edx + 4] */ 21529 edx = MEM32(ecx + 0x8); /* 0x390068AD: mov edx, dword ptr [ecx + 8] */ 21530 edi = MEM32(edx); /* 0x390068B0: mov edi, dword ptr [edx] */ 21531 MEM32(ecx + 0x8) = edi; /* 0x390068B2: mov dword ptr [ecx + 8], edi */ 21532 edi = MEM32(edx); /* 0x390068B5: mov edi, dword ptr [edx] */ 21533 /* cmp edi, MEM32(esi + 0x8) */ /* 0x390068B7: cmp edi, dword ptr [esi + 8] */ 21534 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21535 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21536 _flag_k = FK_CMP; 21537 if (CMP_EQ(_flag_a, _flag_b)) goto L_390068BF; /* 0x390068BA: je 0x390068bf */ 21538 L_390068BC: 21539 MEM32(edi + 0x4) = ecx; /* 0x390068BC: mov dword ptr [edi + 4], ecx */ 21540 L_390068BF: 21541 edi = MEM32(ecx + 0x4); /* 0x390068BF: mov edi, dword ptr [ecx + 4] */ 21542 MEM32(edx + 0x4) = edi; /* 0x390068C2: mov dword ptr [edx + 4], edi */ 21543 edi = MEM32(esi + 0x4); /* 0x390068C5: mov edi, dword ptr [esi + 4] */ 21544 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x390068C8: cmp ecx, dword ptr [edi + 4] */ 21545 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 21546 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21547 _flag_k = FK_CMP; 21548 if (CMP_NE(_flag_a, _flag_b)) goto L_390068D2; /* 0x390068CB: jne 0x390068d2 */ 21549 L_390068CD: 21550 MEM32(edi + 0x4) = edx; /* 0x390068CD: mov dword ptr [edi + 4], edx */ 21551 goto L_390068E0; /* 0x390068D0: jmp 0x390068e0 */ 21552 L_390068D2: 21553 edi = MEM32(ecx + 0x4); /* 0x390068D2: mov edi, dword ptr [ecx + 4] */ 21554 /* cmp ecx, MEM32(edi) */ /* 0x390068D5: cmp ecx, dword ptr [edi] */ 21555 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 21556 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21557 _flag_k = FK_CMP; 21558 if (CMP_NE(_flag_a, _flag_b)) goto L_390068DD; /* 0x390068D7: jne 0x390068dd */ 21559 L_390068D9: 21560 MEM32(edi) = edx; /* 0x390068D9: mov dword ptr [edi], edx */ 21561 goto L_390068E0; /* 0x390068DB: jmp 0x390068e0 */ 21562 L_390068DD: 21563 MEM32(edi + 0x8) = edx; /* 0x390068DD: mov dword ptr [edi + 8], edx */ 21564 L_390068E0: 21565 MEM32(edx) = ecx; /* 0x390068E0: mov dword ptr [edx], ecx */ 21566 L_390068E2: 21567 MEM32(ecx + 0x4) = edx; /* 0x390068E2: mov dword ptr [ecx + 4], edx */ 21568 L_390068E5: 21569 ecx = MEM32(esi + 0x4); /* 0x390068E5: mov ecx, dword ptr [esi + 4] */ 21570 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x390068E8: cmp eax, dword ptr [ecx + 4] */ 21571 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 21572 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21573 _flag_k = FK_CMP; 21574 RECOMP_BACKEDGE(); 21575 if (CMP_NE(_flag_a, _flag_b)) goto L_39006771; /* 0x390068EB: jne 0x39006771 */ 21576 L_390068F1: 21577 edx = MEM32(esi + 0x4); /* 0x390068F1: mov edx, dword ptr [esi + 4] */ 21578 ecx = MEM32(ebp + (-0x4)); /* 0x390068F4: mov ecx, dword ptr [ebp - 4] */ 21579 edi = POP32_VAL(esp); /* 0x390068F7: pop edi */ 21580 esi = POP32_VAL(esp); /* 0x390068F8: pop esi */ 21581 eax = MEM32(edx + 0x4); /* 0x390068F9: mov eax, dword ptr [edx + 4] */ 21582 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x390068FC: mov byte ptr [eax + 0x14], bl */ 21583 eax = MEM32(ebp + 0x8); /* 0x390068FF: mov eax, dword ptr [ebp + 8] */ 21584 ebx = POP32_VAL(esp); /* 0x39006902: pop ebx */ 21585 MEM32(eax) = ecx; /* 0x39006903: mov dword ptr [eax], ecx */ 21586 esp = ebp; /* 0x39006905: mov esp, ebp */ 21587 ebp = POP32_VAL(esp); /* 0x39006907: pop ebp */ 21588 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39006908: ret 0x10 */ 21589 RECOMP_REGS_OUT(); 21590 } 21591 21592 void sub_390068F1(void) { 21593 int _fpu_cmp = 0; 21594 uint32_t _cf = 0; 21595 int _df = 1; 21596 uint32_t _flag_k = FK_NONE; 21597 uint32_t _flag_a = 0, _flag_b = 0; 21598 uint32_t _itail_tgt = 0; 21599 RECOMP_REGS_LOCALS 21600 RECOMP_ENTER(0x390068F1u); 21601 21602 L_390068F1: 21603 edx = MEM32(esi + 0x4); /* 0x390068F1: mov edx, dword ptr [esi + 4] */ 21604 ecx = MEM32(ebp + (-0x4)); /* 0x390068F4: mov ecx, dword ptr [ebp - 4] */ 21605 edi = POP32_VAL(esp); /* 0x390068F7: pop edi */ 21606 esi = POP32_VAL(esp); /* 0x390068F8: pop esi */ 21607 eax = MEM32(edx + 0x4); /* 0x390068F9: mov eax, dword ptr [edx + 4] */ 21608 MEM8(eax + 0x14) = (uint8_t)(LO8(ebx)); /* 0x390068FC: mov byte ptr [eax + 0x14], bl */ 21609 eax = MEM32(ebp + 0x8); /* 0x390068FF: mov eax, dword ptr [ebp + 8] */ 21610 ebx = POP32_VAL(esp); /* 0x39006902: pop ebx */ 21611 MEM32(eax) = ecx; /* 0x39006903: mov dword ptr [eax], ecx */ 21612 esp = ebp; /* 0x39006905: mov esp, ebp */ 21613 ebp = POP32_VAL(esp); /* 0x39006907: pop ebp */ 21614 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39006908: ret 0x10 */ 21615 RECOMP_REGS_OUT(); 21616 } 21617 21618 void sub_39006910(void) { 21619 int _fpu_cmp = 0; 21620 uint32_t _cf = 0; 21621 int _df = 1; 21622 uint32_t _flag_k = FK_NONE; 21623 uint32_t _flag_a = 0, _flag_b = 0; 21624 uint32_t _itail_tgt = 0; 21625 RECOMP_REGS_LOCALS 21626 RECOMP_ENTER(0x39006910u); 21627 21628 L_39006910: 21629 PUSH32(esp, ebp); /* 0x39006910: push ebp */ 21630 ebp = esp; /* 0x39006911: mov ebp, esp */ 21631 eax = MEM32(ebp + 0x8); /* 0x39006913: mov eax, dword ptr [ebp + 8] */ 21632 ecx = MEM32(eax); /* 0x39006916: mov ecx, dword ptr [eax] */ 21633 SET_LO8(edx, MEM8(ecx + 0x15)); /* 0x39006918: mov dl, byte ptr [ecx + 0x15] */ 21634 /* test LO8(edx), LO8(edx) */ /* 0x3900691B: test dl, dl */ 21635 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 21636 _cf = 0; 21637 _flag_k = FK_NARROW(FK_TEST, 24); 21638 if (TEST_NZ(_flag_a, _flag_b)) goto L_3900692A; /* 0x3900691D: jne 0x3900692a */ 21639 L_3900691F: 21640 eax = ecx; /* 0x3900691F: mov eax, ecx */ 21641 ecx = MEM32(eax); /* 0x39006921: mov ecx, dword ptr [eax] */ 21642 SET_LO8(edx, MEM8(ecx + 0x15)); /* 0x39006923: mov dl, byte ptr [ecx + 0x15] */ 21643 /* test LO8(edx), LO8(edx) */ /* 0x39006926: test dl, dl */ 21644 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 21645 _cf = 0; 21646 _flag_k = FK_NARROW(FK_TEST, 24); 21647 RECOMP_BACKEDGE(); 21648 if (TEST_Z(_flag_a, _flag_b)) goto L_3900691F; /* 0x39006928: je 0x3900691f */ 21649 L_3900692A: 21650 ebp = POP32_VAL(esp); /* 0x3900692A: pop ebp */ 21651 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3900692B: ret */ 21652 RECOMP_REGS_OUT(); 21653 } 21654 21655 void sub_39006930(void) { 21656 int _fpu_cmp = 0; 21657 uint32_t _cf = 0; 21658 int _df = 1; 21659 uint32_t _flag_k = FK_NONE; 21660 uint32_t _flag_a = 0, _flag_b = 0; 21661 uint32_t _itail_tgt = 0; 21662 RECOMP_REGS_LOCALS 21663 RECOMP_ENTER(0x39006930u); 21664 21665 L_39006930: 21666 eax = MEM32(ecx); /* 0x39006930: mov eax, dword ptr [ecx] */ 21667 PUSH32(esp, ebx); /* 0x39006932: push ebx */ 21668 SET_LO8(edx, MEM8(eax + 0x14)); /* 0x39006933: mov dl, byte ptr [eax + 0x14] */ 21669 /* test LO8(edx), LO8(edx) */ /* 0x39006936: test dl, dl */ 21670 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 21671 _cf = 0; 21672 _flag_k = FK_NARROW(FK_TEST, 24); 21673 if (TEST_NZ(_flag_a, _flag_b)) goto L_39006949; /* 0x39006938: jne 0x39006949 */ 21674 L_3900693A: 21675 edx = MEM32(eax + 0x4); /* 0x3900693A: mov edx, dword ptr [eax + 4] */ 21676 /* cmp MEM32(edx + 0x4), eax */ /* 0x3900693D: cmp dword ptr [edx + 4], eax */ 21677 _flag_a = (uint32_t)(MEM32(edx + 0x4)); _flag_b = (uint32_t)(eax); 21678 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21679 _flag_k = FK_CMP; 21680 if (CMP_NE(_flag_a, _flag_b)) goto L_39006949; /* 0x39006940: jne 0x39006949 */ 21681 L_39006942: 21682 eax = MEM32(eax + 0x8); /* 0x39006942: mov eax, dword ptr [eax + 8] */ 21683 MEM32(ecx) = eax; /* 0x39006945: mov dword ptr [ecx], eax */ 21684 ebx = POP32_VAL(esp); /* 0x39006947: pop ebx */ 21685 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x39006948: ret */ 21686 L_39006949: 21687 edx = MEM32(eax); /* 0x39006949: mov edx, dword ptr [eax] */ 21688 SET_LO8(ebx, MEM8(edx + 0x15)); /* 0x3900694B: mov bl, byte ptr [edx + 0x15] */ 21689 /* test LO8(ebx), LO8(ebx) */ /* 0x3900694E: test bl, bl */ 21690 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21691 _cf = 0; 21692 _flag_k = FK_NARROW(FK_TEST, 24); 21693 if (TEST_NZ(_flag_a, _flag_b)) goto L_3900696C; /* 0x39006950: jne 0x3900696c */ 21694 L_39006952: 21695 eax = MEM32(edx + 0x8); /* 0x39006952: mov eax, dword ptr [edx + 8] */ 21696 SET_LO8(ebx, MEM8(eax + 0x15)); /* 0x39006955: mov bl, byte ptr [eax + 0x15] */ 21697 /* test LO8(ebx), LO8(ebx) */ /* 0x39006958: test bl, bl */ 21698 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21699 _cf = 0; 21700 _flag_k = FK_NARROW(FK_TEST, 24); 21701 if (TEST_NZ(_flag_a, _flag_b)) goto L_39006968; /* 0x3900695A: jne 0x39006968 */ 21702 L_3900695C: 21703 edx = eax; /* 0x3900695C: mov edx, eax */ 21704 eax = MEM32(edx + 0x8); /* 0x3900695E: mov eax, dword ptr [edx + 8] */ 21705 SET_LO8(ebx, MEM8(eax + 0x15)); /* 0x39006961: mov bl, byte ptr [eax + 0x15] */ 21706 /* test LO8(ebx), LO8(ebx) */ /* 0x39006964: test bl, bl */ 21707 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 21708 _cf = 0; 21709 _flag_k = FK_NARROW(FK_TEST, 24); 21710 RECOMP_BACKEDGE(); 21711 if (TEST_Z(_flag_a, _flag_b)) goto L_3900695C; /* 0x39006966: je 0x3900695c */ 21712 L_39006968: 21713 MEM32(ecx) = edx; /* 0x39006968: mov dword ptr [ecx], edx */ 21714 ebx = POP32_VAL(esp); /* 0x3900696A: pop ebx */ 21715 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3900696B: ret */ 21716 L_3900696C: 21717 eax = MEM32(eax + 0x4); /* 0x3900696C: mov eax, dword ptr [eax + 4] */ 21718 edx = MEM32(ecx); /* 0x3900696F: mov edx, dword ptr [ecx] */ 21719 /* cmp edx, MEM32(eax) */ /* 0x39006971: cmp edx, dword ptr [eax] */ 21720 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax)); 21721 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21722 _flag_k = FK_CMP; 21723 if (CMP_NE(_flag_a, _flag_b)) goto L_39006980; /* 0x39006973: jne 0x39006980 */ 21724 L_39006975: 21725 MEM32(ecx) = eax; /* 0x39006975: mov dword ptr [ecx], eax */ 21726 eax = MEM32(eax + 0x4); /* 0x39006977: mov eax, dword ptr [eax + 4] */ 21727 edx = MEM32(ecx); /* 0x3900697A: mov edx, dword ptr [ecx] */ 21728 /* cmp edx, MEM32(eax) */ /* 0x3900697C: cmp edx, dword ptr [eax] */ 21729 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax)); 21730 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21731 _flag_k = FK_CMP; 21732 RECOMP_BACKEDGE(); 21733 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006975; /* 0x3900697E: je 0x39006975 */ 21734 L_39006980: 21735 MEM32(ecx) = eax; /* 0x39006980: mov dword ptr [ecx], eax */ 21736 ebx = POP32_VAL(esp); /* 0x39006982: pop ebx */ 21737 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x39006983: ret */ 21738 RECOMP_REGS_OUT(); 21739 } 21740 21741 void sub_39006990(void) { 21742 int _fpu_cmp = 0; 21743 uint32_t _cf = 0; 21744 int _df = 1; 21745 uint32_t _flag_k = FK_NONE; 21746 uint32_t _flag_a = 0, _flag_b = 0; 21747 uint32_t _itail_tgt = 0; 21748 RECOMP_REGS_LOCALS 21749 RECOMP_ENTER(0x39006990u); 21750 21751 L_39006990: 21752 PUSH32(esp, ebp); /* 0x39006990: push ebp */ 21753 ebp = esp; /* 0x39006991: mov ebp, esp */ 21754 PUSH32(esp, ecx); /* 0x39006993: push ecx */ 21755 PUSH32(esp, ebx); /* 0x39006994: push ebx */ 21756 PUSH32(esp, esi); /* 0x39006995: push esi */ 21757 PUSH32(esp, edi); /* 0x39006996: push edi */ 21758 esi = ecx; /* 0x39006997: mov esi, ecx */ 21759 PUSH32(esp, 0x30u); /* 0x39006999: push 0x30 */ 21760 RECOMP_ICALL(0x3900A0ACu); /* 0x3900699B: call 0x3900a0ac */ /* not lifted */ 21761 RECOMP_FLAGS_IN(); 21762 edi = MEM32(ebp + 0x10); /* 0x390069A0: mov edi, dword ptr [ebp + 0x10] */ 21763 ebx = MEM32(ebp + 0x14); /* 0x390069A3: mov ebx, dword ptr [ebp + 0x14] */ 21764 MEM32(eax + 0x4) = edi; /* 0x390069A6: mov dword ptr [eax + 4], edi */ 21765 MEM8(eax + 0x2C) = (uint8_t)(0); /* 0x390069A9: mov byte ptr [eax + 0x2c], 0 */ 21766 MEM8(eax + 0x2D) = (uint8_t)(0); /* 0x390069AD: mov byte ptr [eax + 0x2d], 0 */ 21767 ecx = MEM32(esi + 0x8); /* 0x390069B1: mov ecx, dword ptr [esi + 8] */ 21768 MEM32(eax) = ecx; /* 0x390069B4: mov dword ptr [eax], ecx */ 21769 edx = MEM32(esi + 0x8); /* 0x390069B6: mov edx, dword ptr [esi + 8] */ 21770 MEM32(ebp + (-0x4)) = eax; /* 0x390069B9: mov dword ptr [ebp - 4], eax */ 21771 MEM32(eax + 0x8) = edx; /* 0x390069BC: mov dword ptr [eax + 8], edx */ 21772 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu); 21773 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21774 eax = eax + 0xCu; /* 0x390069BF: add eax, 0xc */ 21775 _flag_k = FK_ADD; 21776 PUSH32(esp, ebx); /* 0x390069C2: push ebx */ 21777 PUSH32(esp, eax); /* 0x390069C3: push eax */ 21778 RECOMP_ICALL(0x39007260u); /* 0x390069C4: call 0x39007260 */ /* not lifted */ 21779 RECOMP_FLAGS_IN(); 21780 ecx = MEM32(esi + 0x10); /* 0x390069C9: mov ecx, dword ptr [esi + 0x10] */ 21781 eax = MEM32(esi + 0x4); /* 0x390069CC: mov eax, dword ptr [esi + 4] */ 21782 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 21783 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21784 esp = esp + 0xCu; /* 0x390069CF: add esp, 0xc */ 21785 _flag_k = FK_ADD; 21786 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 21787 ecx = ecx + 1; /* 0x390069D2: inc ecx */ 21788 _flag_k = FK_INC; 21789 /* cmp edi, eax */ /* 0x390069D3: cmp edi, eax */ 21790 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 21791 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21792 _flag_k = FK_CMP; 21793 MEM32(esi + 0x10) = ecx; /* 0x390069D5: mov dword ptr [esi + 0x10], ecx */ 21794 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006A09; /* 0x390069D8: je 0x39006a09 */ 21795 L_390069DA: 21796 eax = MEM32(ebp + 0xC); /* 0x390069DA: mov eax, dword ptr [ebp + 0xc] */ 21797 ecx = MEM32(esi + 0x8); /* 0x390069DD: mov ecx, dword ptr [esi + 8] */ 21798 /* cmp eax, ecx */ /* 0x390069E0: cmp eax, ecx */ 21799 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 21800 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21801 _flag_k = FK_CMP; 21802 if (CMP_NE(_flag_a, _flag_b)) goto L_39006A09; /* 0x390069E2: jne 0x39006a09 */ 21803 L_390069E4: 21804 ecx = edi + 0xC; /* 0x390069E4: lea ecx, [edi + 0xc] */ 21805 PUSH32(esp, ecx); /* 0x390069E7: push ecx */ 21806 PUSH32(esp, ebx); /* 0x390069E8: push ebx */ 21807 RECOMP_ICALL(MEM32(0x3900B030)); /* 0x390069E9: call dword ptr [0x3900b030] */ 21808 RECOMP_FLAGS_IN(); 21809 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 21810 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 21811 esp = esp + 8; /* 0x390069EF: add esp, 8 */ 21812 _flag_k = FK_ADD; 21813 /* test LO8(eax), LO8(eax) */ /* 0x390069F2: test al, al */ 21814 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 21815 _cf = 0; 21816 _flag_k = FK_NARROW(FK_TEST, 24); 21817 if (TEST_NZ(_flag_a, _flag_b)) goto L_39006A09; /* 0x390069F4: jne 0x39006a09 */ 21818 L_390069F6: 21819 ecx = MEM32(ebp + (-0x4)); /* 0x390069F6: mov ecx, dword ptr [ebp - 4] */ 21820 MEM32(edi + 0x8) = ecx; /* 0x390069F9: mov dword ptr [edi + 8], ecx */ 21821 eax = MEM32(esi + 0x4); /* 0x390069FC: mov eax, dword ptr [esi + 4] */ 21822 /* cmp edi, MEM32(eax + 0x8) */ /* 0x390069FF: cmp edi, dword ptr [eax + 8] */ 21823 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 21824 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21825 _flag_k = FK_CMP; 21826 if (CMP_NE(_flag_a, _flag_b)) goto L_39006A29; /* 0x39006A02: jne 0x39006a29 */ 21827 L_39006A04: 21828 MEM32(eax + 0x8) = ecx; /* 0x39006A04: mov dword ptr [eax + 8], ecx */ 21829 goto L_39006A29; /* 0x39006A07: jmp 0x39006a29 */ 21830 L_39006A09: 21831 ecx = MEM32(ebp + (-0x4)); /* 0x39006A09: mov ecx, dword ptr [ebp - 4] */ 21832 MEM32(edi) = ecx; /* 0x39006A0C: mov dword ptr [edi], ecx */ 21833 eax = MEM32(esi + 0x4); /* 0x39006A0E: mov eax, dword ptr [esi + 4] */ 21834 /* cmp edi, eax */ /* 0x39006A11: cmp edi, eax */ 21835 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 21836 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21837 _flag_k = FK_CMP; 21838 if (CMP_NE(_flag_a, _flag_b)) goto L_39006A20; /* 0x39006A13: jne 0x39006a20 */ 21839 L_39006A15: 21840 MEM32(eax + 0x4) = ecx; /* 0x39006A15: mov dword ptr [eax + 4], ecx */ 21841 edx = MEM32(esi + 0x4); /* 0x39006A18: mov edx, dword ptr [esi + 4] */ 21842 MEM32(edx + 0x8) = ecx; /* 0x39006A1B: mov dword ptr [edx + 8], ecx */ 21843 goto L_39006A29; /* 0x39006A1E: jmp 0x39006a29 */ 21844 L_39006A20: 21845 /* cmp edi, MEM32(eax) */ /* 0x39006A20: cmp edi, dword ptr [eax] */ 21846 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax)); 21847 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21848 _flag_k = FK_CMP; 21849 if (CMP_NE(_flag_a, _flag_b)) goto L_39006A29; /* 0x39006A22: jne 0x39006a29 */ 21850 L_39006A24: 21851 ecx = MEM32(ebp + (-0x4)); /* 0x39006A24: mov ecx, dword ptr [ebp - 4] */ 21852 MEM32(eax) = ecx; /* 0x39006A27: mov dword ptr [eax], ecx */ 21853 L_39006A29: 21854 edx = MEM32(esi + 0x4); /* 0x39006A29: mov edx, dword ptr [esi + 4] */ 21855 eax = MEM32(ebp + (-0x4)); /* 0x39006A2C: mov eax, dword ptr [ebp - 4] */ 21856 SET_LO8(ebx, 1); /* 0x39006A2F: mov bl, 1 */ 21857 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006A31: cmp eax, dword ptr [edx + 4] */ 21858 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 21859 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21860 _flag_k = FK_CMP; 21861 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006BBA; /* 0x39006A34: je 0x39006bba */ 21862 L_39006A3A: 21863 ecx = MEM32(eax + 0x4); /* 0x39006A3A: mov ecx, dword ptr [eax + 4] */ 21864 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39006A3D: mov dl, byte ptr [ecx + 0x2c] */ 21865 /* test LO8(edx), LO8(edx) */ /* 0x39006A40: test dl, dl */ 21866 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 21867 _cf = 0; 21868 _flag_k = FK_NARROW(FK_TEST, 24); 21869 if (TEST_NZ(_flag_a, _flag_b)) goto L_39006BBA; /* 0x39006A42: jne 0x39006bba */ 21870 L_39006A48: 21871 edi = MEM32(ecx + 0x4); /* 0x39006A48: mov edi, dword ptr [ecx + 4] */ 21872 edx = MEM32(edi); /* 0x39006A4B: mov edx, dword ptr [edi] */ 21873 /* cmp ecx, edx */ /* 0x39006A4D: cmp ecx, edx */ 21874 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 21875 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21876 _flag_k = FK_CMP; 21877 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B16; /* 0x39006A4F: jne 0x39006b16 */ 21878 L_39006A55: 21879 edx = MEM32(edi + 0x8); /* 0x39006A55: mov edx, dword ptr [edi + 8] */ 21880 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x39006A58: cmp byte ptr [edx + 0x2c], 0 */ 21881 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 21882 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21883 _flag_k = FK_NARROW(FK_CMP, 24); 21884 if (CMP_NE(_flag_a, _flag_b)) goto L_39006A79; /* 0x39006A5C: jne 0x39006a79 */ 21885 L_39006A5E: 21886 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006A5E: mov byte ptr [ecx + 0x2c], bl */ 21887 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006A61: mov byte ptr [edx + 0x2c], bl */ 21888 ecx = MEM32(eax + 0x4); /* 0x39006A64: mov ecx, dword ptr [eax + 4] */ 21889 edx = MEM32(ecx + 0x4); /* 0x39006A67: mov edx, dword ptr [ecx + 4] */ 21890 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x39006A6A: mov byte ptr [edx + 0x2c], 0 */ 21891 eax = MEM32(eax + 0x4); /* 0x39006A6E: mov eax, dword ptr [eax + 4] */ 21892 eax = MEM32(eax + 0x4); /* 0x39006A71: mov eax, dword ptr [eax + 4] */ 21893 goto L_39006BAE; /* 0x39006A74: jmp 0x39006bae */ 21894 L_39006A79: 21895 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x39006A79: cmp eax, dword ptr [ecx + 8] */ 21896 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 21897 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21898 _flag_k = FK_CMP; 21899 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AB8; /* 0x39006A7C: jne 0x39006ab8 */ 21900 L_39006A7E: 21901 eax = ecx; /* 0x39006A7E: mov eax, ecx */ 21902 ecx = MEM32(eax + 0x8); /* 0x39006A80: mov ecx, dword ptr [eax + 8] */ 21903 edx = MEM32(ecx); /* 0x39006A83: mov edx, dword ptr [ecx] */ 21904 MEM32(eax + 0x8) = edx; /* 0x39006A85: mov dword ptr [eax + 8], edx */ 21905 edx = MEM32(ecx); /* 0x39006A88: mov edx, dword ptr [ecx] */ 21906 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006A8A: cmp edx, dword ptr [esi + 8] */ 21907 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21908 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21909 _flag_k = FK_CMP; 21910 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006A92; /* 0x39006A8D: je 0x39006a92 */ 21911 L_39006A8F: 21912 MEM32(edx + 0x4) = eax; /* 0x39006A8F: mov dword ptr [edx + 4], eax */ 21913 L_39006A92: 21914 edx = MEM32(eax + 0x4); /* 0x39006A92: mov edx, dword ptr [eax + 4] */ 21915 MEM32(ecx + 0x4) = edx; /* 0x39006A95: mov dword ptr [ecx + 4], edx */ 21916 edx = MEM32(esi + 0x4); /* 0x39006A98: mov edx, dword ptr [esi + 4] */ 21917 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006A9B: cmp eax, dword ptr [edx + 4] */ 21918 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 21919 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21920 _flag_k = FK_CMP; 21921 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AA5; /* 0x39006A9E: jne 0x39006aa5 */ 21922 L_39006AA0: 21923 MEM32(edx + 0x4) = ecx; /* 0x39006AA0: mov dword ptr [edx + 4], ecx */ 21924 goto L_39006AB3; /* 0x39006AA3: jmp 0x39006ab3 */ 21925 L_39006AA5: 21926 edx = MEM32(eax + 0x4); /* 0x39006AA5: mov edx, dword ptr [eax + 4] */ 21927 /* cmp eax, MEM32(edx) */ /* 0x39006AA8: cmp eax, dword ptr [edx] */ 21928 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 21929 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21930 _flag_k = FK_CMP; 21931 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AB0; /* 0x39006AAA: jne 0x39006ab0 */ 21932 L_39006AAC: 21933 MEM32(edx) = ecx; /* 0x39006AAC: mov dword ptr [edx], ecx */ 21934 goto L_39006AB3; /* 0x39006AAE: jmp 0x39006ab3 */ 21935 L_39006AB0: 21936 MEM32(edx + 0x8) = ecx; /* 0x39006AB0: mov dword ptr [edx + 8], ecx */ 21937 L_39006AB3: 21938 MEM32(ecx) = eax; /* 0x39006AB3: mov dword ptr [ecx], eax */ 21939 MEM32(eax + 0x4) = ecx; /* 0x39006AB5: mov dword ptr [eax + 4], ecx */ 21940 L_39006AB8: 21941 ecx = MEM32(eax + 0x4); /* 0x39006AB8: mov ecx, dword ptr [eax + 4] */ 21942 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006ABB: mov byte ptr [ecx + 0x2c], bl */ 21943 edx = MEM32(eax + 0x4); /* 0x39006ABE: mov edx, dword ptr [eax + 4] */ 21944 ecx = MEM32(edx + 0x4); /* 0x39006AC1: mov ecx, dword ptr [edx + 4] */ 21945 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006AC4: mov byte ptr [ecx + 0x2c], 0 */ 21946 edx = MEM32(eax + 0x4); /* 0x39006AC8: mov edx, dword ptr [eax + 4] */ 21947 ecx = MEM32(edx + 0x4); /* 0x39006ACB: mov ecx, dword ptr [edx + 4] */ 21948 edx = MEM32(ecx); /* 0x39006ACE: mov edx, dword ptr [ecx] */ 21949 edi = MEM32(edx + 0x8); /* 0x39006AD0: mov edi, dword ptr [edx + 8] */ 21950 MEM32(ecx) = edi; /* 0x39006AD3: mov dword ptr [ecx], edi */ 21951 edi = MEM32(edx + 0x8); /* 0x39006AD5: mov edi, dword ptr [edx + 8] */ 21952 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39006AD8: cmp edi, dword ptr [esi + 8] */ 21953 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 21954 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21955 _flag_k = FK_CMP; 21956 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006AE0; /* 0x39006ADB: je 0x39006ae0 */ 21957 L_39006ADD: 21958 MEM32(edi + 0x4) = ecx; /* 0x39006ADD: mov dword ptr [edi + 4], ecx */ 21959 L_39006AE0: 21960 edi = MEM32(ecx + 0x4); /* 0x39006AE0: mov edi, dword ptr [ecx + 4] */ 21961 MEM32(edx + 0x4) = edi; /* 0x39006AE3: mov dword ptr [edx + 4], edi */ 21962 edi = MEM32(esi + 0x4); /* 0x39006AE6: mov edi, dword ptr [esi + 4] */ 21963 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006AE9: cmp ecx, dword ptr [edi + 4] */ 21964 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 21965 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21966 _flag_k = FK_CMP; 21967 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AF9; /* 0x39006AEC: jne 0x39006af9 */ 21968 L_39006AEE: 21969 MEM32(edi + 0x4) = edx; /* 0x39006AEE: mov dword ptr [edi + 4], edx */ 21970 MEM32(edx + 0x8) = ecx; /* 0x39006AF1: mov dword ptr [edx + 8], ecx */ 21971 goto L_39006BAB; /* 0x39006AF4: jmp 0x39006bab */ 21972 L_39006AF9: 21973 edi = MEM32(ecx + 0x4); /* 0x39006AF9: mov edi, dword ptr [ecx + 4] */ 21974 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x39006AFC: cmp ecx, dword ptr [edi + 8] */ 21975 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 21976 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21977 _flag_k = FK_CMP; 21978 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B0C; /* 0x39006AFF: jne 0x39006b0c */ 21979 L_39006B01: 21980 MEM32(edi + 0x8) = edx; /* 0x39006B01: mov dword ptr [edi + 8], edx */ 21981 MEM32(edx + 0x8) = ecx; /* 0x39006B04: mov dword ptr [edx + 8], ecx */ 21982 goto L_39006BAB; /* 0x39006B07: jmp 0x39006bab */ 21983 L_39006B0C: 21984 MEM32(edi) = edx; /* 0x39006B0C: mov dword ptr [edi], edx */ 21985 MEM32(edx + 0x8) = ecx; /* 0x39006B0E: mov dword ptr [edx + 8], ecx */ 21986 goto L_39006BAB; /* 0x39006B11: jmp 0x39006bab */ 21987 L_39006B16: 21988 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x39006B16: cmp byte ptr [edx + 0x2c], 0 */ 21989 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 21990 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21991 _flag_k = FK_NARROW(FK_CMP, 24); 21992 RECOMP_BACKEDGE(); 21993 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006A5E; /* 0x39006B1A: je 0x39006a5e */ 21994 L_39006B20: 21995 /* cmp eax, MEM32(ecx) */ /* 0x39006B20: cmp eax, dword ptr [ecx] */ 21996 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 21997 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 21998 _flag_k = FK_CMP; 21999 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B60; /* 0x39006B22: jne 0x39006b60 */ 22000 L_39006B24: 22001 eax = ecx; /* 0x39006B24: mov eax, ecx */ 22002 ecx = MEM32(eax); /* 0x39006B26: mov ecx, dword ptr [eax] */ 22003 edx = MEM32(ecx + 0x8); /* 0x39006B28: mov edx, dword ptr [ecx + 8] */ 22004 MEM32(eax) = edx; /* 0x39006B2B: mov dword ptr [eax], edx */ 22005 edx = MEM32(ecx + 0x8); /* 0x39006B2D: mov edx, dword ptr [ecx + 8] */ 22006 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006B30: cmp edx, dword ptr [esi + 8] */ 22007 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22008 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22009 _flag_k = FK_CMP; 22010 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006B38; /* 0x39006B33: je 0x39006b38 */ 22011 L_39006B35: 22012 MEM32(edx + 0x4) = eax; /* 0x39006B35: mov dword ptr [edx + 4], eax */ 22013 L_39006B38: 22014 edx = MEM32(eax + 0x4); /* 0x39006B38: mov edx, dword ptr [eax + 4] */ 22015 MEM32(ecx + 0x4) = edx; /* 0x39006B3B: mov dword ptr [ecx + 4], edx */ 22016 edx = MEM32(esi + 0x4); /* 0x39006B3E: mov edx, dword ptr [esi + 4] */ 22017 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006B41: cmp eax, dword ptr [edx + 4] */ 22018 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 22019 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22020 _flag_k = FK_CMP; 22021 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B4B; /* 0x39006B44: jne 0x39006b4b */ 22022 L_39006B46: 22023 MEM32(edx + 0x4) = ecx; /* 0x39006B46: mov dword ptr [edx + 4], ecx */ 22024 goto L_39006B5A; /* 0x39006B49: jmp 0x39006b5a */ 22025 L_39006B4B: 22026 edx = MEM32(eax + 0x4); /* 0x39006B4B: mov edx, dword ptr [eax + 4] */ 22027 /* cmp eax, MEM32(edx + 0x8) */ /* 0x39006B4E: cmp eax, dword ptr [edx + 8] */ 22028 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 22029 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22030 _flag_k = FK_CMP; 22031 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B58; /* 0x39006B51: jne 0x39006b58 */ 22032 L_39006B53: 22033 MEM32(edx + 0x8) = ecx; /* 0x39006B53: mov dword ptr [edx + 8], ecx */ 22034 goto L_39006B5A; /* 0x39006B56: jmp 0x39006b5a */ 22035 L_39006B58: 22036 MEM32(edx) = ecx; /* 0x39006B58: mov dword ptr [edx], ecx */ 22037 L_39006B5A: 22038 MEM32(ecx + 0x8) = eax; /* 0x39006B5A: mov dword ptr [ecx + 8], eax */ 22039 MEM32(eax + 0x4) = ecx; /* 0x39006B5D: mov dword ptr [eax + 4], ecx */ 22040 L_39006B60: 22041 ecx = MEM32(eax + 0x4); /* 0x39006B60: mov ecx, dword ptr [eax + 4] */ 22042 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006B63: mov byte ptr [ecx + 0x2c], bl */ 22043 edx = MEM32(eax + 0x4); /* 0x39006B66: mov edx, dword ptr [eax + 4] */ 22044 ecx = MEM32(edx + 0x4); /* 0x39006B69: mov ecx, dword ptr [edx + 4] */ 22045 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006B6C: mov byte ptr [ecx + 0x2c], 0 */ 22046 edx = MEM32(eax + 0x4); /* 0x39006B70: mov edx, dword ptr [eax + 4] */ 22047 ecx = MEM32(edx + 0x4); /* 0x39006B73: mov ecx, dword ptr [edx + 4] */ 22048 edx = MEM32(ecx + 0x8); /* 0x39006B76: mov edx, dword ptr [ecx + 8] */ 22049 edi = MEM32(edx); /* 0x39006B79: mov edi, dword ptr [edx] */ 22050 MEM32(ecx + 0x8) = edi; /* 0x39006B7B: mov dword ptr [ecx + 8], edi */ 22051 edi = MEM32(edx); /* 0x39006B7E: mov edi, dword ptr [edx] */ 22052 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39006B80: cmp edi, dword ptr [esi + 8] */ 22053 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22054 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22055 _flag_k = FK_CMP; 22056 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006B88; /* 0x39006B83: je 0x39006b88 */ 22057 L_39006B85: 22058 MEM32(edi + 0x4) = ecx; /* 0x39006B85: mov dword ptr [edi + 4], ecx */ 22059 L_39006B88: 22060 edi = MEM32(ecx + 0x4); /* 0x39006B88: mov edi, dword ptr [ecx + 4] */ 22061 MEM32(edx + 0x4) = edi; /* 0x39006B8B: mov dword ptr [edx + 4], edi */ 22062 edi = MEM32(esi + 0x4); /* 0x39006B8E: mov edi, dword ptr [esi + 4] */ 22063 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006B91: cmp ecx, dword ptr [edi + 4] */ 22064 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 22065 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22066 _flag_k = FK_CMP; 22067 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B9B; /* 0x39006B94: jne 0x39006b9b */ 22068 L_39006B96: 22069 MEM32(edi + 0x4) = edx; /* 0x39006B96: mov dword ptr [edi + 4], edx */ 22070 goto L_39006BA9; /* 0x39006B99: jmp 0x39006ba9 */ 22071 L_39006B9B: 22072 edi = MEM32(ecx + 0x4); /* 0x39006B9B: mov edi, dword ptr [ecx + 4] */ 22073 /* cmp ecx, MEM32(edi) */ /* 0x39006B9E: cmp ecx, dword ptr [edi] */ 22074 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 22075 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22076 _flag_k = FK_CMP; 22077 if (CMP_NE(_flag_a, _flag_b)) goto L_39006BA6; /* 0x39006BA0: jne 0x39006ba6 */ 22078 L_39006BA2: 22079 MEM32(edi) = edx; /* 0x39006BA2: mov dword ptr [edi], edx */ 22080 goto L_39006BA9; /* 0x39006BA4: jmp 0x39006ba9 */ 22081 L_39006BA6: 22082 MEM32(edi + 0x8) = edx; /* 0x39006BA6: mov dword ptr [edi + 8], edx */ 22083 L_39006BA9: 22084 MEM32(edx) = ecx; /* 0x39006BA9: mov dword ptr [edx], ecx */ 22085 L_39006BAB: 22086 MEM32(ecx + 0x4) = edx; /* 0x39006BAB: mov dword ptr [ecx + 4], edx */ 22087 L_39006BAE: 22088 ecx = MEM32(esi + 0x4); /* 0x39006BAE: mov ecx, dword ptr [esi + 4] */ 22089 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x39006BB1: cmp eax, dword ptr [ecx + 4] */ 22090 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 22091 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22092 _flag_k = FK_CMP; 22093 RECOMP_BACKEDGE(); 22094 if (CMP_NE(_flag_a, _flag_b)) goto L_39006A3A; /* 0x39006BB4: jne 0x39006a3a */ 22095 L_39006BBA: 22096 edx = MEM32(esi + 0x4); /* 0x39006BBA: mov edx, dword ptr [esi + 4] */ 22097 ecx = MEM32(ebp + (-0x4)); /* 0x39006BBD: mov ecx, dword ptr [ebp - 4] */ 22098 edi = POP32_VAL(esp); /* 0x39006BC0: pop edi */ 22099 esi = POP32_VAL(esp); /* 0x39006BC1: pop esi */ 22100 eax = MEM32(edx + 0x4); /* 0x39006BC2: mov eax, dword ptr [edx + 4] */ 22101 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006BC5: mov byte ptr [eax + 0x2c], bl */ 22102 eax = MEM32(ebp + 0x8); /* 0x39006BC8: mov eax, dword ptr [ebp + 8] */ 22103 ebx = POP32_VAL(esp); /* 0x39006BCB: pop ebx */ 22104 MEM32(eax) = ecx; /* 0x39006BCC: mov dword ptr [eax], ecx */ 22105 esp = ebp; /* 0x39006BCE: mov esp, ebp */ 22106 ebp = POP32_VAL(esp); /* 0x39006BD0: pop ebp */ 22107 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39006BD1: ret 0x10 */ 22108 RECOMP_REGS_OUT(); 22109 } 22110 22111 void sub_39006A3A(void) { 22112 int _fpu_cmp = 0; 22113 uint32_t _cf = 0; 22114 int _df = 1; 22115 uint32_t _flag_k = FK_NONE; 22116 uint32_t _flag_a = 0, _flag_b = 0; 22117 uint32_t _itail_tgt = 0; 22118 RECOMP_REGS_LOCALS 22119 RECOMP_ENTER(0x39006A3Au); 22120 22121 L_39006A3A: 22122 ecx = MEM32(eax + 0x4); /* 0x39006A3A: mov ecx, dword ptr [eax + 4] */ 22123 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39006A3D: mov dl, byte ptr [ecx + 0x2c] */ 22124 /* test LO8(edx), LO8(edx) */ /* 0x39006A40: test dl, dl */ 22125 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 22126 _cf = 0; 22127 _flag_k = FK_NARROW(FK_TEST, 24); 22128 if (TEST_NZ(_flag_a, _flag_b)) goto L_39006BBA; /* 0x39006A42: jne 0x39006bba */ 22129 L_39006A48: 22130 edi = MEM32(ecx + 0x4); /* 0x39006A48: mov edi, dword ptr [ecx + 4] */ 22131 edx = MEM32(edi); /* 0x39006A4B: mov edx, dword ptr [edi] */ 22132 /* cmp ecx, edx */ /* 0x39006A4D: cmp ecx, edx */ 22133 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 22134 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22135 _flag_k = FK_CMP; 22136 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B16; /* 0x39006A4F: jne 0x39006b16 */ 22137 L_39006A55: 22138 edx = MEM32(edi + 0x8); /* 0x39006A55: mov edx, dword ptr [edi + 8] */ 22139 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x39006A58: cmp byte ptr [edx + 0x2c], 0 */ 22140 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 22141 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22142 _flag_k = FK_NARROW(FK_CMP, 24); 22143 if (CMP_NE(_flag_a, _flag_b)) goto L_39006A79; /* 0x39006A5C: jne 0x39006a79 */ 22144 L_39006A5E: 22145 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006A5E: mov byte ptr [ecx + 0x2c], bl */ 22146 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006A61: mov byte ptr [edx + 0x2c], bl */ 22147 ecx = MEM32(eax + 0x4); /* 0x39006A64: mov ecx, dword ptr [eax + 4] */ 22148 edx = MEM32(ecx + 0x4); /* 0x39006A67: mov edx, dword ptr [ecx + 4] */ 22149 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x39006A6A: mov byte ptr [edx + 0x2c], 0 */ 22150 eax = MEM32(eax + 0x4); /* 0x39006A6E: mov eax, dword ptr [eax + 4] */ 22151 eax = MEM32(eax + 0x4); /* 0x39006A71: mov eax, dword ptr [eax + 4] */ 22152 goto L_39006BAE; /* 0x39006A74: jmp 0x39006bae */ 22153 L_39006A79: 22154 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x39006A79: cmp eax, dword ptr [ecx + 8] */ 22155 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 22156 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22157 _flag_k = FK_CMP; 22158 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AB8; /* 0x39006A7C: jne 0x39006ab8 */ 22159 L_39006A7E: 22160 eax = ecx; /* 0x39006A7E: mov eax, ecx */ 22161 ecx = MEM32(eax + 0x8); /* 0x39006A80: mov ecx, dword ptr [eax + 8] */ 22162 edx = MEM32(ecx); /* 0x39006A83: mov edx, dword ptr [ecx] */ 22163 MEM32(eax + 0x8) = edx; /* 0x39006A85: mov dword ptr [eax + 8], edx */ 22164 edx = MEM32(ecx); /* 0x39006A88: mov edx, dword ptr [ecx] */ 22165 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006A8A: cmp edx, dword ptr [esi + 8] */ 22166 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22167 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22168 _flag_k = FK_CMP; 22169 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006A92; /* 0x39006A8D: je 0x39006a92 */ 22170 L_39006A8F: 22171 MEM32(edx + 0x4) = eax; /* 0x39006A8F: mov dword ptr [edx + 4], eax */ 22172 L_39006A92: 22173 edx = MEM32(eax + 0x4); /* 0x39006A92: mov edx, dword ptr [eax + 4] */ 22174 MEM32(ecx + 0x4) = edx; /* 0x39006A95: mov dword ptr [ecx + 4], edx */ 22175 edx = MEM32(esi + 0x4); /* 0x39006A98: mov edx, dword ptr [esi + 4] */ 22176 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006A9B: cmp eax, dword ptr [edx + 4] */ 22177 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 22178 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22179 _flag_k = FK_CMP; 22180 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AA5; /* 0x39006A9E: jne 0x39006aa5 */ 22181 L_39006AA0: 22182 MEM32(edx + 0x4) = ecx; /* 0x39006AA0: mov dword ptr [edx + 4], ecx */ 22183 goto L_39006AB3; /* 0x39006AA3: jmp 0x39006ab3 */ 22184 L_39006AA5: 22185 edx = MEM32(eax + 0x4); /* 0x39006AA5: mov edx, dword ptr [eax + 4] */ 22186 /* cmp eax, MEM32(edx) */ /* 0x39006AA8: cmp eax, dword ptr [edx] */ 22187 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 22188 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22189 _flag_k = FK_CMP; 22190 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AB0; /* 0x39006AAA: jne 0x39006ab0 */ 22191 L_39006AAC: 22192 MEM32(edx) = ecx; /* 0x39006AAC: mov dword ptr [edx], ecx */ 22193 goto L_39006AB3; /* 0x39006AAE: jmp 0x39006ab3 */ 22194 L_39006AB0: 22195 MEM32(edx + 0x8) = ecx; /* 0x39006AB0: mov dword ptr [edx + 8], ecx */ 22196 L_39006AB3: 22197 MEM32(ecx) = eax; /* 0x39006AB3: mov dword ptr [ecx], eax */ 22198 MEM32(eax + 0x4) = ecx; /* 0x39006AB5: mov dword ptr [eax + 4], ecx */ 22199 L_39006AB8: 22200 ecx = MEM32(eax + 0x4); /* 0x39006AB8: mov ecx, dword ptr [eax + 4] */ 22201 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006ABB: mov byte ptr [ecx + 0x2c], bl */ 22202 edx = MEM32(eax + 0x4); /* 0x39006ABE: mov edx, dword ptr [eax + 4] */ 22203 ecx = MEM32(edx + 0x4); /* 0x39006AC1: mov ecx, dword ptr [edx + 4] */ 22204 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006AC4: mov byte ptr [ecx + 0x2c], 0 */ 22205 edx = MEM32(eax + 0x4); /* 0x39006AC8: mov edx, dword ptr [eax + 4] */ 22206 ecx = MEM32(edx + 0x4); /* 0x39006ACB: mov ecx, dword ptr [edx + 4] */ 22207 edx = MEM32(ecx); /* 0x39006ACE: mov edx, dword ptr [ecx] */ 22208 edi = MEM32(edx + 0x8); /* 0x39006AD0: mov edi, dword ptr [edx + 8] */ 22209 MEM32(ecx) = edi; /* 0x39006AD3: mov dword ptr [ecx], edi */ 22210 edi = MEM32(edx + 0x8); /* 0x39006AD5: mov edi, dword ptr [edx + 8] */ 22211 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39006AD8: cmp edi, dword ptr [esi + 8] */ 22212 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22213 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22214 _flag_k = FK_CMP; 22215 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006AE0; /* 0x39006ADB: je 0x39006ae0 */ 22216 L_39006ADD: 22217 MEM32(edi + 0x4) = ecx; /* 0x39006ADD: mov dword ptr [edi + 4], ecx */ 22218 L_39006AE0: 22219 edi = MEM32(ecx + 0x4); /* 0x39006AE0: mov edi, dword ptr [ecx + 4] */ 22220 MEM32(edx + 0x4) = edi; /* 0x39006AE3: mov dword ptr [edx + 4], edi */ 22221 edi = MEM32(esi + 0x4); /* 0x39006AE6: mov edi, dword ptr [esi + 4] */ 22222 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006AE9: cmp ecx, dword ptr [edi + 4] */ 22223 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 22224 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22225 _flag_k = FK_CMP; 22226 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AF9; /* 0x39006AEC: jne 0x39006af9 */ 22227 L_39006AEE: 22228 MEM32(edi + 0x4) = edx; /* 0x39006AEE: mov dword ptr [edi + 4], edx */ 22229 MEM32(edx + 0x8) = ecx; /* 0x39006AF1: mov dword ptr [edx + 8], ecx */ 22230 goto L_39006BAB; /* 0x39006AF4: jmp 0x39006bab */ 22231 L_39006AF9: 22232 edi = MEM32(ecx + 0x4); /* 0x39006AF9: mov edi, dword ptr [ecx + 4] */ 22233 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x39006AFC: cmp ecx, dword ptr [edi + 8] */ 22234 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 22235 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22236 _flag_k = FK_CMP; 22237 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B0C; /* 0x39006AFF: jne 0x39006b0c */ 22238 L_39006B01: 22239 MEM32(edi + 0x8) = edx; /* 0x39006B01: mov dword ptr [edi + 8], edx */ 22240 MEM32(edx + 0x8) = ecx; /* 0x39006B04: mov dword ptr [edx + 8], ecx */ 22241 goto L_39006BAB; /* 0x39006B07: jmp 0x39006bab */ 22242 L_39006B0C: 22243 MEM32(edi) = edx; /* 0x39006B0C: mov dword ptr [edi], edx */ 22244 MEM32(edx + 0x8) = ecx; /* 0x39006B0E: mov dword ptr [edx + 8], ecx */ 22245 goto L_39006BAB; /* 0x39006B11: jmp 0x39006bab */ 22246 L_39006B16: 22247 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x39006B16: cmp byte ptr [edx + 0x2c], 0 */ 22248 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 22249 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22250 _flag_k = FK_NARROW(FK_CMP, 24); 22251 RECOMP_BACKEDGE(); 22252 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006A5E; /* 0x39006B1A: je 0x39006a5e */ 22253 L_39006B20: 22254 /* cmp eax, MEM32(ecx) */ /* 0x39006B20: cmp eax, dword ptr [ecx] */ 22255 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 22256 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22257 _flag_k = FK_CMP; 22258 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B60; /* 0x39006B22: jne 0x39006b60 */ 22259 L_39006B24: 22260 eax = ecx; /* 0x39006B24: mov eax, ecx */ 22261 ecx = MEM32(eax); /* 0x39006B26: mov ecx, dword ptr [eax] */ 22262 edx = MEM32(ecx + 0x8); /* 0x39006B28: mov edx, dword ptr [ecx + 8] */ 22263 MEM32(eax) = edx; /* 0x39006B2B: mov dword ptr [eax], edx */ 22264 edx = MEM32(ecx + 0x8); /* 0x39006B2D: mov edx, dword ptr [ecx + 8] */ 22265 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006B30: cmp edx, dword ptr [esi + 8] */ 22266 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22267 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22268 _flag_k = FK_CMP; 22269 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006B38; /* 0x39006B33: je 0x39006b38 */ 22270 L_39006B35: 22271 MEM32(edx + 0x4) = eax; /* 0x39006B35: mov dword ptr [edx + 4], eax */ 22272 L_39006B38: 22273 edx = MEM32(eax + 0x4); /* 0x39006B38: mov edx, dword ptr [eax + 4] */ 22274 MEM32(ecx + 0x4) = edx; /* 0x39006B3B: mov dword ptr [ecx + 4], edx */ 22275 edx = MEM32(esi + 0x4); /* 0x39006B3E: mov edx, dword ptr [esi + 4] */ 22276 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006B41: cmp eax, dword ptr [edx + 4] */ 22277 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 22278 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22279 _flag_k = FK_CMP; 22280 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B4B; /* 0x39006B44: jne 0x39006b4b */ 22281 L_39006B46: 22282 MEM32(edx + 0x4) = ecx; /* 0x39006B46: mov dword ptr [edx + 4], ecx */ 22283 goto L_39006B5A; /* 0x39006B49: jmp 0x39006b5a */ 22284 L_39006B4B: 22285 edx = MEM32(eax + 0x4); /* 0x39006B4B: mov edx, dword ptr [eax + 4] */ 22286 /* cmp eax, MEM32(edx + 0x8) */ /* 0x39006B4E: cmp eax, dword ptr [edx + 8] */ 22287 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 22288 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22289 _flag_k = FK_CMP; 22290 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B58; /* 0x39006B51: jne 0x39006b58 */ 22291 L_39006B53: 22292 MEM32(edx + 0x8) = ecx; /* 0x39006B53: mov dword ptr [edx + 8], ecx */ 22293 goto L_39006B5A; /* 0x39006B56: jmp 0x39006b5a */ 22294 L_39006B58: 22295 MEM32(edx) = ecx; /* 0x39006B58: mov dword ptr [edx], ecx */ 22296 L_39006B5A: 22297 MEM32(ecx + 0x8) = eax; /* 0x39006B5A: mov dword ptr [ecx + 8], eax */ 22298 MEM32(eax + 0x4) = ecx; /* 0x39006B5D: mov dword ptr [eax + 4], ecx */ 22299 L_39006B60: 22300 ecx = MEM32(eax + 0x4); /* 0x39006B60: mov ecx, dword ptr [eax + 4] */ 22301 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006B63: mov byte ptr [ecx + 0x2c], bl */ 22302 edx = MEM32(eax + 0x4); /* 0x39006B66: mov edx, dword ptr [eax + 4] */ 22303 ecx = MEM32(edx + 0x4); /* 0x39006B69: mov ecx, dword ptr [edx + 4] */ 22304 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006B6C: mov byte ptr [ecx + 0x2c], 0 */ 22305 edx = MEM32(eax + 0x4); /* 0x39006B70: mov edx, dword ptr [eax + 4] */ 22306 ecx = MEM32(edx + 0x4); /* 0x39006B73: mov ecx, dword ptr [edx + 4] */ 22307 edx = MEM32(ecx + 0x8); /* 0x39006B76: mov edx, dword ptr [ecx + 8] */ 22308 edi = MEM32(edx); /* 0x39006B79: mov edi, dword ptr [edx] */ 22309 MEM32(ecx + 0x8) = edi; /* 0x39006B7B: mov dword ptr [ecx + 8], edi */ 22310 edi = MEM32(edx); /* 0x39006B7E: mov edi, dword ptr [edx] */ 22311 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39006B80: cmp edi, dword ptr [esi + 8] */ 22312 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22313 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22314 _flag_k = FK_CMP; 22315 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006B88; /* 0x39006B83: je 0x39006b88 */ 22316 L_39006B85: 22317 MEM32(edi + 0x4) = ecx; /* 0x39006B85: mov dword ptr [edi + 4], ecx */ 22318 L_39006B88: 22319 edi = MEM32(ecx + 0x4); /* 0x39006B88: mov edi, dword ptr [ecx + 4] */ 22320 MEM32(edx + 0x4) = edi; /* 0x39006B8B: mov dword ptr [edx + 4], edi */ 22321 edi = MEM32(esi + 0x4); /* 0x39006B8E: mov edi, dword ptr [esi + 4] */ 22322 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006B91: cmp ecx, dword ptr [edi + 4] */ 22323 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 22324 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22325 _flag_k = FK_CMP; 22326 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B9B; /* 0x39006B94: jne 0x39006b9b */ 22327 L_39006B96: 22328 MEM32(edi + 0x4) = edx; /* 0x39006B96: mov dword ptr [edi + 4], edx */ 22329 goto L_39006BA9; /* 0x39006B99: jmp 0x39006ba9 */ 22330 L_39006B9B: 22331 edi = MEM32(ecx + 0x4); /* 0x39006B9B: mov edi, dword ptr [ecx + 4] */ 22332 /* cmp ecx, MEM32(edi) */ /* 0x39006B9E: cmp ecx, dword ptr [edi] */ 22333 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 22334 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22335 _flag_k = FK_CMP; 22336 if (CMP_NE(_flag_a, _flag_b)) goto L_39006BA6; /* 0x39006BA0: jne 0x39006ba6 */ 22337 L_39006BA2: 22338 MEM32(edi) = edx; /* 0x39006BA2: mov dword ptr [edi], edx */ 22339 goto L_39006BA9; /* 0x39006BA4: jmp 0x39006ba9 */ 22340 L_39006BA6: 22341 MEM32(edi + 0x8) = edx; /* 0x39006BA6: mov dword ptr [edi + 8], edx */ 22342 L_39006BA9: 22343 MEM32(edx) = ecx; /* 0x39006BA9: mov dword ptr [edx], ecx */ 22344 L_39006BAB: 22345 MEM32(ecx + 0x4) = edx; /* 0x39006BAB: mov dword ptr [ecx + 4], edx */ 22346 L_39006BAE: 22347 ecx = MEM32(esi + 0x4); /* 0x39006BAE: mov ecx, dword ptr [esi + 4] */ 22348 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x39006BB1: cmp eax, dword ptr [ecx + 4] */ 22349 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 22350 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22351 _flag_k = FK_CMP; 22352 RECOMP_BACKEDGE(); 22353 if (CMP_NE(_flag_a, _flag_b)) goto L_39006A3A; /* 0x39006BB4: jne 0x39006a3a */ 22354 L_39006BBA: 22355 edx = MEM32(esi + 0x4); /* 0x39006BBA: mov edx, dword ptr [esi + 4] */ 22356 ecx = MEM32(ebp + (-0x4)); /* 0x39006BBD: mov ecx, dword ptr [ebp - 4] */ 22357 edi = POP32_VAL(esp); /* 0x39006BC0: pop edi */ 22358 esi = POP32_VAL(esp); /* 0x39006BC1: pop esi */ 22359 eax = MEM32(edx + 0x4); /* 0x39006BC2: mov eax, dword ptr [edx + 4] */ 22360 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006BC5: mov byte ptr [eax + 0x2c], bl */ 22361 eax = MEM32(ebp + 0x8); /* 0x39006BC8: mov eax, dword ptr [ebp + 8] */ 22362 ebx = POP32_VAL(esp); /* 0x39006BCB: pop ebx */ 22363 MEM32(eax) = ecx; /* 0x39006BCC: mov dword ptr [eax], ecx */ 22364 esp = ebp; /* 0x39006BCE: mov esp, ebp */ 22365 ebp = POP32_VAL(esp); /* 0x39006BD0: pop ebp */ 22366 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39006BD1: ret 0x10 */ 22367 RECOMP_REGS_OUT(); 22368 } 22369 22370 void sub_39006A5E(void) { 22371 int _fpu_cmp = 0; 22372 uint32_t _cf = 0; 22373 int _df = 1; 22374 uint32_t _flag_k = FK_NONE; 22375 uint32_t _flag_a = 0, _flag_b = 0; 22376 uint32_t _itail_tgt = 0; 22377 RECOMP_REGS_LOCALS 22378 RECOMP_ENTER(0x39006A5Eu); 22379 22380 goto L_39006A5E; 22381 L_39006A3A: 22382 ecx = MEM32(eax + 0x4); /* 0x39006A3A: mov ecx, dword ptr [eax + 4] */ 22383 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39006A3D: mov dl, byte ptr [ecx + 0x2c] */ 22384 /* test LO8(edx), LO8(edx) */ /* 0x39006A40: test dl, dl */ 22385 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 22386 _cf = 0; 22387 _flag_k = FK_NARROW(FK_TEST, 24); 22388 if (TEST_NZ(_flag_a, _flag_b)) goto L_39006BBA; /* 0x39006A42: jne 0x39006bba */ 22389 L_39006A48: 22390 edi = MEM32(ecx + 0x4); /* 0x39006A48: mov edi, dword ptr [ecx + 4] */ 22391 edx = MEM32(edi); /* 0x39006A4B: mov edx, dword ptr [edi] */ 22392 /* cmp ecx, edx */ /* 0x39006A4D: cmp ecx, edx */ 22393 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 22394 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22395 _flag_k = FK_CMP; 22396 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B16; /* 0x39006A4F: jne 0x39006b16 */ 22397 L_39006A55: 22398 edx = MEM32(edi + 0x8); /* 0x39006A55: mov edx, dword ptr [edi + 8] */ 22399 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x39006A58: cmp byte ptr [edx + 0x2c], 0 */ 22400 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 22401 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22402 _flag_k = FK_NARROW(FK_CMP, 24); 22403 if (CMP_NE(_flag_a, _flag_b)) goto L_39006A79; /* 0x39006A5C: jne 0x39006a79 */ 22404 L_39006A5E: 22405 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006A5E: mov byte ptr [ecx + 0x2c], bl */ 22406 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006A61: mov byte ptr [edx + 0x2c], bl */ 22407 ecx = MEM32(eax + 0x4); /* 0x39006A64: mov ecx, dword ptr [eax + 4] */ 22408 edx = MEM32(ecx + 0x4); /* 0x39006A67: mov edx, dword ptr [ecx + 4] */ 22409 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x39006A6A: mov byte ptr [edx + 0x2c], 0 */ 22410 eax = MEM32(eax + 0x4); /* 0x39006A6E: mov eax, dword ptr [eax + 4] */ 22411 eax = MEM32(eax + 0x4); /* 0x39006A71: mov eax, dword ptr [eax + 4] */ 22412 goto L_39006BAE; /* 0x39006A74: jmp 0x39006bae */ 22413 L_39006A79: 22414 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x39006A79: cmp eax, dword ptr [ecx + 8] */ 22415 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 22416 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22417 _flag_k = FK_CMP; 22418 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AB8; /* 0x39006A7C: jne 0x39006ab8 */ 22419 L_39006A7E: 22420 eax = ecx; /* 0x39006A7E: mov eax, ecx */ 22421 ecx = MEM32(eax + 0x8); /* 0x39006A80: mov ecx, dword ptr [eax + 8] */ 22422 edx = MEM32(ecx); /* 0x39006A83: mov edx, dword ptr [ecx] */ 22423 MEM32(eax + 0x8) = edx; /* 0x39006A85: mov dword ptr [eax + 8], edx */ 22424 edx = MEM32(ecx); /* 0x39006A88: mov edx, dword ptr [ecx] */ 22425 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006A8A: cmp edx, dword ptr [esi + 8] */ 22426 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22427 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22428 _flag_k = FK_CMP; 22429 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006A92; /* 0x39006A8D: je 0x39006a92 */ 22430 L_39006A8F: 22431 MEM32(edx + 0x4) = eax; /* 0x39006A8F: mov dword ptr [edx + 4], eax */ 22432 L_39006A92: 22433 edx = MEM32(eax + 0x4); /* 0x39006A92: mov edx, dword ptr [eax + 4] */ 22434 MEM32(ecx + 0x4) = edx; /* 0x39006A95: mov dword ptr [ecx + 4], edx */ 22435 edx = MEM32(esi + 0x4); /* 0x39006A98: mov edx, dword ptr [esi + 4] */ 22436 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006A9B: cmp eax, dword ptr [edx + 4] */ 22437 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 22438 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22439 _flag_k = FK_CMP; 22440 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AA5; /* 0x39006A9E: jne 0x39006aa5 */ 22441 L_39006AA0: 22442 MEM32(edx + 0x4) = ecx; /* 0x39006AA0: mov dword ptr [edx + 4], ecx */ 22443 goto L_39006AB3; /* 0x39006AA3: jmp 0x39006ab3 */ 22444 L_39006AA5: 22445 edx = MEM32(eax + 0x4); /* 0x39006AA5: mov edx, dword ptr [eax + 4] */ 22446 /* cmp eax, MEM32(edx) */ /* 0x39006AA8: cmp eax, dword ptr [edx] */ 22447 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 22448 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22449 _flag_k = FK_CMP; 22450 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AB0; /* 0x39006AAA: jne 0x39006ab0 */ 22451 L_39006AAC: 22452 MEM32(edx) = ecx; /* 0x39006AAC: mov dword ptr [edx], ecx */ 22453 goto L_39006AB3; /* 0x39006AAE: jmp 0x39006ab3 */ 22454 L_39006AB0: 22455 MEM32(edx + 0x8) = ecx; /* 0x39006AB0: mov dword ptr [edx + 8], ecx */ 22456 L_39006AB3: 22457 MEM32(ecx) = eax; /* 0x39006AB3: mov dword ptr [ecx], eax */ 22458 MEM32(eax + 0x4) = ecx; /* 0x39006AB5: mov dword ptr [eax + 4], ecx */ 22459 L_39006AB8: 22460 ecx = MEM32(eax + 0x4); /* 0x39006AB8: mov ecx, dword ptr [eax + 4] */ 22461 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006ABB: mov byte ptr [ecx + 0x2c], bl */ 22462 edx = MEM32(eax + 0x4); /* 0x39006ABE: mov edx, dword ptr [eax + 4] */ 22463 ecx = MEM32(edx + 0x4); /* 0x39006AC1: mov ecx, dword ptr [edx + 4] */ 22464 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006AC4: mov byte ptr [ecx + 0x2c], 0 */ 22465 edx = MEM32(eax + 0x4); /* 0x39006AC8: mov edx, dword ptr [eax + 4] */ 22466 ecx = MEM32(edx + 0x4); /* 0x39006ACB: mov ecx, dword ptr [edx + 4] */ 22467 edx = MEM32(ecx); /* 0x39006ACE: mov edx, dword ptr [ecx] */ 22468 edi = MEM32(edx + 0x8); /* 0x39006AD0: mov edi, dword ptr [edx + 8] */ 22469 MEM32(ecx) = edi; /* 0x39006AD3: mov dword ptr [ecx], edi */ 22470 edi = MEM32(edx + 0x8); /* 0x39006AD5: mov edi, dword ptr [edx + 8] */ 22471 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39006AD8: cmp edi, dword ptr [esi + 8] */ 22472 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22473 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22474 _flag_k = FK_CMP; 22475 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006AE0; /* 0x39006ADB: je 0x39006ae0 */ 22476 L_39006ADD: 22477 MEM32(edi + 0x4) = ecx; /* 0x39006ADD: mov dword ptr [edi + 4], ecx */ 22478 L_39006AE0: 22479 edi = MEM32(ecx + 0x4); /* 0x39006AE0: mov edi, dword ptr [ecx + 4] */ 22480 MEM32(edx + 0x4) = edi; /* 0x39006AE3: mov dword ptr [edx + 4], edi */ 22481 edi = MEM32(esi + 0x4); /* 0x39006AE6: mov edi, dword ptr [esi + 4] */ 22482 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006AE9: cmp ecx, dword ptr [edi + 4] */ 22483 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 22484 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22485 _flag_k = FK_CMP; 22486 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AF9; /* 0x39006AEC: jne 0x39006af9 */ 22487 L_39006AEE: 22488 MEM32(edi + 0x4) = edx; /* 0x39006AEE: mov dword ptr [edi + 4], edx */ 22489 MEM32(edx + 0x8) = ecx; /* 0x39006AF1: mov dword ptr [edx + 8], ecx */ 22490 goto L_39006BAB; /* 0x39006AF4: jmp 0x39006bab */ 22491 L_39006AF9: 22492 edi = MEM32(ecx + 0x4); /* 0x39006AF9: mov edi, dword ptr [ecx + 4] */ 22493 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x39006AFC: cmp ecx, dword ptr [edi + 8] */ 22494 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 22495 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22496 _flag_k = FK_CMP; 22497 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B0C; /* 0x39006AFF: jne 0x39006b0c */ 22498 L_39006B01: 22499 MEM32(edi + 0x8) = edx; /* 0x39006B01: mov dword ptr [edi + 8], edx */ 22500 MEM32(edx + 0x8) = ecx; /* 0x39006B04: mov dword ptr [edx + 8], ecx */ 22501 goto L_39006BAB; /* 0x39006B07: jmp 0x39006bab */ 22502 L_39006B0C: 22503 MEM32(edi) = edx; /* 0x39006B0C: mov dword ptr [edi], edx */ 22504 MEM32(edx + 0x8) = ecx; /* 0x39006B0E: mov dword ptr [edx + 8], ecx */ 22505 goto L_39006BAB; /* 0x39006B11: jmp 0x39006bab */ 22506 L_39006B16: 22507 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x39006B16: cmp byte ptr [edx + 0x2c], 0 */ 22508 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 22509 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22510 _flag_k = FK_NARROW(FK_CMP, 24); 22511 RECOMP_BACKEDGE(); 22512 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006A5E; /* 0x39006B1A: je 0x39006a5e */ 22513 L_39006B20: 22514 /* cmp eax, MEM32(ecx) */ /* 0x39006B20: cmp eax, dword ptr [ecx] */ 22515 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 22516 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22517 _flag_k = FK_CMP; 22518 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B60; /* 0x39006B22: jne 0x39006b60 */ 22519 L_39006B24: 22520 eax = ecx; /* 0x39006B24: mov eax, ecx */ 22521 ecx = MEM32(eax); /* 0x39006B26: mov ecx, dword ptr [eax] */ 22522 edx = MEM32(ecx + 0x8); /* 0x39006B28: mov edx, dword ptr [ecx + 8] */ 22523 MEM32(eax) = edx; /* 0x39006B2B: mov dword ptr [eax], edx */ 22524 edx = MEM32(ecx + 0x8); /* 0x39006B2D: mov edx, dword ptr [ecx + 8] */ 22525 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006B30: cmp edx, dword ptr [esi + 8] */ 22526 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22527 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22528 _flag_k = FK_CMP; 22529 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006B38; /* 0x39006B33: je 0x39006b38 */ 22530 L_39006B35: 22531 MEM32(edx + 0x4) = eax; /* 0x39006B35: mov dword ptr [edx + 4], eax */ 22532 L_39006B38: 22533 edx = MEM32(eax + 0x4); /* 0x39006B38: mov edx, dword ptr [eax + 4] */ 22534 MEM32(ecx + 0x4) = edx; /* 0x39006B3B: mov dword ptr [ecx + 4], edx */ 22535 edx = MEM32(esi + 0x4); /* 0x39006B3E: mov edx, dword ptr [esi + 4] */ 22536 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006B41: cmp eax, dword ptr [edx + 4] */ 22537 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 22538 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22539 _flag_k = FK_CMP; 22540 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B4B; /* 0x39006B44: jne 0x39006b4b */ 22541 L_39006B46: 22542 MEM32(edx + 0x4) = ecx; /* 0x39006B46: mov dword ptr [edx + 4], ecx */ 22543 goto L_39006B5A; /* 0x39006B49: jmp 0x39006b5a */ 22544 L_39006B4B: 22545 edx = MEM32(eax + 0x4); /* 0x39006B4B: mov edx, dword ptr [eax + 4] */ 22546 /* cmp eax, MEM32(edx + 0x8) */ /* 0x39006B4E: cmp eax, dword ptr [edx + 8] */ 22547 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 22548 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22549 _flag_k = FK_CMP; 22550 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B58; /* 0x39006B51: jne 0x39006b58 */ 22551 L_39006B53: 22552 MEM32(edx + 0x8) = ecx; /* 0x39006B53: mov dword ptr [edx + 8], ecx */ 22553 goto L_39006B5A; /* 0x39006B56: jmp 0x39006b5a */ 22554 L_39006B58: 22555 MEM32(edx) = ecx; /* 0x39006B58: mov dword ptr [edx], ecx */ 22556 L_39006B5A: 22557 MEM32(ecx + 0x8) = eax; /* 0x39006B5A: mov dword ptr [ecx + 8], eax */ 22558 MEM32(eax + 0x4) = ecx; /* 0x39006B5D: mov dword ptr [eax + 4], ecx */ 22559 L_39006B60: 22560 ecx = MEM32(eax + 0x4); /* 0x39006B60: mov ecx, dword ptr [eax + 4] */ 22561 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006B63: mov byte ptr [ecx + 0x2c], bl */ 22562 edx = MEM32(eax + 0x4); /* 0x39006B66: mov edx, dword ptr [eax + 4] */ 22563 ecx = MEM32(edx + 0x4); /* 0x39006B69: mov ecx, dword ptr [edx + 4] */ 22564 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006B6C: mov byte ptr [ecx + 0x2c], 0 */ 22565 edx = MEM32(eax + 0x4); /* 0x39006B70: mov edx, dword ptr [eax + 4] */ 22566 ecx = MEM32(edx + 0x4); /* 0x39006B73: mov ecx, dword ptr [edx + 4] */ 22567 edx = MEM32(ecx + 0x8); /* 0x39006B76: mov edx, dword ptr [ecx + 8] */ 22568 edi = MEM32(edx); /* 0x39006B79: mov edi, dword ptr [edx] */ 22569 MEM32(ecx + 0x8) = edi; /* 0x39006B7B: mov dword ptr [ecx + 8], edi */ 22570 edi = MEM32(edx); /* 0x39006B7E: mov edi, dword ptr [edx] */ 22571 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39006B80: cmp edi, dword ptr [esi + 8] */ 22572 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22573 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22574 _flag_k = FK_CMP; 22575 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006B88; /* 0x39006B83: je 0x39006b88 */ 22576 L_39006B85: 22577 MEM32(edi + 0x4) = ecx; /* 0x39006B85: mov dword ptr [edi + 4], ecx */ 22578 L_39006B88: 22579 edi = MEM32(ecx + 0x4); /* 0x39006B88: mov edi, dword ptr [ecx + 4] */ 22580 MEM32(edx + 0x4) = edi; /* 0x39006B8B: mov dword ptr [edx + 4], edi */ 22581 edi = MEM32(esi + 0x4); /* 0x39006B8E: mov edi, dword ptr [esi + 4] */ 22582 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006B91: cmp ecx, dword ptr [edi + 4] */ 22583 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 22584 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22585 _flag_k = FK_CMP; 22586 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B9B; /* 0x39006B94: jne 0x39006b9b */ 22587 L_39006B96: 22588 MEM32(edi + 0x4) = edx; /* 0x39006B96: mov dword ptr [edi + 4], edx */ 22589 goto L_39006BA9; /* 0x39006B99: jmp 0x39006ba9 */ 22590 L_39006B9B: 22591 edi = MEM32(ecx + 0x4); /* 0x39006B9B: mov edi, dword ptr [ecx + 4] */ 22592 /* cmp ecx, MEM32(edi) */ /* 0x39006B9E: cmp ecx, dword ptr [edi] */ 22593 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 22594 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22595 _flag_k = FK_CMP; 22596 if (CMP_NE(_flag_a, _flag_b)) goto L_39006BA6; /* 0x39006BA0: jne 0x39006ba6 */ 22597 L_39006BA2: 22598 MEM32(edi) = edx; /* 0x39006BA2: mov dword ptr [edi], edx */ 22599 goto L_39006BA9; /* 0x39006BA4: jmp 0x39006ba9 */ 22600 L_39006BA6: 22601 MEM32(edi + 0x8) = edx; /* 0x39006BA6: mov dword ptr [edi + 8], edx */ 22602 L_39006BA9: 22603 MEM32(edx) = ecx; /* 0x39006BA9: mov dword ptr [edx], ecx */ 22604 L_39006BAB: 22605 MEM32(ecx + 0x4) = edx; /* 0x39006BAB: mov dword ptr [ecx + 4], edx */ 22606 L_39006BAE: 22607 ecx = MEM32(esi + 0x4); /* 0x39006BAE: mov ecx, dword ptr [esi + 4] */ 22608 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x39006BB1: cmp eax, dword ptr [ecx + 4] */ 22609 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 22610 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22611 _flag_k = FK_CMP; 22612 RECOMP_BACKEDGE(); 22613 if (CMP_NE(_flag_a, _flag_b)) goto L_39006A3A; /* 0x39006BB4: jne 0x39006a3a */ 22614 L_39006BBA: 22615 edx = MEM32(esi + 0x4); /* 0x39006BBA: mov edx, dword ptr [esi + 4] */ 22616 ecx = MEM32(ebp + (-0x4)); /* 0x39006BBD: mov ecx, dword ptr [ebp - 4] */ 22617 edi = POP32_VAL(esp); /* 0x39006BC0: pop edi */ 22618 esi = POP32_VAL(esp); /* 0x39006BC1: pop esi */ 22619 eax = MEM32(edx + 0x4); /* 0x39006BC2: mov eax, dword ptr [edx + 4] */ 22620 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006BC5: mov byte ptr [eax + 0x2c], bl */ 22621 eax = MEM32(ebp + 0x8); /* 0x39006BC8: mov eax, dword ptr [ebp + 8] */ 22622 ebx = POP32_VAL(esp); /* 0x39006BCB: pop ebx */ 22623 MEM32(eax) = ecx; /* 0x39006BCC: mov dword ptr [eax], ecx */ 22624 esp = ebp; /* 0x39006BCE: mov esp, ebp */ 22625 ebp = POP32_VAL(esp); /* 0x39006BD0: pop ebp */ 22626 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39006BD1: ret 0x10 */ 22627 RECOMP_REGS_OUT(); 22628 } 22629 22630 void sub_39006AB3(void) { 22631 int _fpu_cmp = 0; 22632 uint32_t _cf = 0; 22633 int _df = 1; 22634 uint32_t _flag_k = FK_NONE; 22635 uint32_t _flag_a = 0, _flag_b = 0; 22636 uint32_t _itail_tgt = 0; 22637 RECOMP_REGS_LOCALS 22638 RECOMP_ENTER(0x39006AB3u); 22639 22640 goto L_39006AB3; 22641 L_39006A3A: 22642 ecx = MEM32(eax + 0x4); /* 0x39006A3A: mov ecx, dword ptr [eax + 4] */ 22643 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39006A3D: mov dl, byte ptr [ecx + 0x2c] */ 22644 /* test LO8(edx), LO8(edx) */ /* 0x39006A40: test dl, dl */ 22645 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 22646 _cf = 0; 22647 _flag_k = FK_NARROW(FK_TEST, 24); 22648 if (TEST_NZ(_flag_a, _flag_b)) goto L_39006BBA; /* 0x39006A42: jne 0x39006bba */ 22649 L_39006A48: 22650 edi = MEM32(ecx + 0x4); /* 0x39006A48: mov edi, dword ptr [ecx + 4] */ 22651 edx = MEM32(edi); /* 0x39006A4B: mov edx, dword ptr [edi] */ 22652 /* cmp ecx, edx */ /* 0x39006A4D: cmp ecx, edx */ 22653 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 22654 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22655 _flag_k = FK_CMP; 22656 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B16; /* 0x39006A4F: jne 0x39006b16 */ 22657 L_39006A55: 22658 edx = MEM32(edi + 0x8); /* 0x39006A55: mov edx, dword ptr [edi + 8] */ 22659 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x39006A58: cmp byte ptr [edx + 0x2c], 0 */ 22660 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 22661 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22662 _flag_k = FK_NARROW(FK_CMP, 24); 22663 if (CMP_NE(_flag_a, _flag_b)) goto L_39006A79; /* 0x39006A5C: jne 0x39006a79 */ 22664 L_39006A5E: 22665 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006A5E: mov byte ptr [ecx + 0x2c], bl */ 22666 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006A61: mov byte ptr [edx + 0x2c], bl */ 22667 ecx = MEM32(eax + 0x4); /* 0x39006A64: mov ecx, dword ptr [eax + 4] */ 22668 edx = MEM32(ecx + 0x4); /* 0x39006A67: mov edx, dword ptr [ecx + 4] */ 22669 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x39006A6A: mov byte ptr [edx + 0x2c], 0 */ 22670 eax = MEM32(eax + 0x4); /* 0x39006A6E: mov eax, dword ptr [eax + 4] */ 22671 eax = MEM32(eax + 0x4); /* 0x39006A71: mov eax, dword ptr [eax + 4] */ 22672 goto L_39006BAE; /* 0x39006A74: jmp 0x39006bae */ 22673 L_39006A79: 22674 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x39006A79: cmp eax, dword ptr [ecx + 8] */ 22675 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 22676 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22677 _flag_k = FK_CMP; 22678 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AB8; /* 0x39006A7C: jne 0x39006ab8 */ 22679 L_39006A7E: 22680 eax = ecx; /* 0x39006A7E: mov eax, ecx */ 22681 ecx = MEM32(eax + 0x8); /* 0x39006A80: mov ecx, dword ptr [eax + 8] */ 22682 edx = MEM32(ecx); /* 0x39006A83: mov edx, dword ptr [ecx] */ 22683 MEM32(eax + 0x8) = edx; /* 0x39006A85: mov dword ptr [eax + 8], edx */ 22684 edx = MEM32(ecx); /* 0x39006A88: mov edx, dword ptr [ecx] */ 22685 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006A8A: cmp edx, dword ptr [esi + 8] */ 22686 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22687 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22688 _flag_k = FK_CMP; 22689 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006A92; /* 0x39006A8D: je 0x39006a92 */ 22690 L_39006A8F: 22691 MEM32(edx + 0x4) = eax; /* 0x39006A8F: mov dword ptr [edx + 4], eax */ 22692 L_39006A92: 22693 edx = MEM32(eax + 0x4); /* 0x39006A92: mov edx, dword ptr [eax + 4] */ 22694 MEM32(ecx + 0x4) = edx; /* 0x39006A95: mov dword ptr [ecx + 4], edx */ 22695 edx = MEM32(esi + 0x4); /* 0x39006A98: mov edx, dword ptr [esi + 4] */ 22696 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006A9B: cmp eax, dword ptr [edx + 4] */ 22697 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 22698 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22699 _flag_k = FK_CMP; 22700 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AA5; /* 0x39006A9E: jne 0x39006aa5 */ 22701 L_39006AA0: 22702 MEM32(edx + 0x4) = ecx; /* 0x39006AA0: mov dword ptr [edx + 4], ecx */ 22703 goto L_39006AB3; /* 0x39006AA3: jmp 0x39006ab3 */ 22704 L_39006AA5: 22705 edx = MEM32(eax + 0x4); /* 0x39006AA5: mov edx, dword ptr [eax + 4] */ 22706 /* cmp eax, MEM32(edx) */ /* 0x39006AA8: cmp eax, dword ptr [edx] */ 22707 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 22708 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22709 _flag_k = FK_CMP; 22710 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AB0; /* 0x39006AAA: jne 0x39006ab0 */ 22711 L_39006AAC: 22712 MEM32(edx) = ecx; /* 0x39006AAC: mov dword ptr [edx], ecx */ 22713 goto L_39006AB3; /* 0x39006AAE: jmp 0x39006ab3 */ 22714 L_39006AB0: 22715 MEM32(edx + 0x8) = ecx; /* 0x39006AB0: mov dword ptr [edx + 8], ecx */ 22716 L_39006AB3: 22717 MEM32(ecx) = eax; /* 0x39006AB3: mov dword ptr [ecx], eax */ 22718 MEM32(eax + 0x4) = ecx; /* 0x39006AB5: mov dword ptr [eax + 4], ecx */ 22719 L_39006AB8: 22720 ecx = MEM32(eax + 0x4); /* 0x39006AB8: mov ecx, dword ptr [eax + 4] */ 22721 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006ABB: mov byte ptr [ecx + 0x2c], bl */ 22722 edx = MEM32(eax + 0x4); /* 0x39006ABE: mov edx, dword ptr [eax + 4] */ 22723 ecx = MEM32(edx + 0x4); /* 0x39006AC1: mov ecx, dword ptr [edx + 4] */ 22724 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006AC4: mov byte ptr [ecx + 0x2c], 0 */ 22725 edx = MEM32(eax + 0x4); /* 0x39006AC8: mov edx, dword ptr [eax + 4] */ 22726 ecx = MEM32(edx + 0x4); /* 0x39006ACB: mov ecx, dword ptr [edx + 4] */ 22727 edx = MEM32(ecx); /* 0x39006ACE: mov edx, dword ptr [ecx] */ 22728 edi = MEM32(edx + 0x8); /* 0x39006AD0: mov edi, dword ptr [edx + 8] */ 22729 MEM32(ecx) = edi; /* 0x39006AD3: mov dword ptr [ecx], edi */ 22730 edi = MEM32(edx + 0x8); /* 0x39006AD5: mov edi, dword ptr [edx + 8] */ 22731 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39006AD8: cmp edi, dword ptr [esi + 8] */ 22732 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22733 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22734 _flag_k = FK_CMP; 22735 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006AE0; /* 0x39006ADB: je 0x39006ae0 */ 22736 L_39006ADD: 22737 MEM32(edi + 0x4) = ecx; /* 0x39006ADD: mov dword ptr [edi + 4], ecx */ 22738 L_39006AE0: 22739 edi = MEM32(ecx + 0x4); /* 0x39006AE0: mov edi, dword ptr [ecx + 4] */ 22740 MEM32(edx + 0x4) = edi; /* 0x39006AE3: mov dword ptr [edx + 4], edi */ 22741 edi = MEM32(esi + 0x4); /* 0x39006AE6: mov edi, dword ptr [esi + 4] */ 22742 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006AE9: cmp ecx, dword ptr [edi + 4] */ 22743 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 22744 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22745 _flag_k = FK_CMP; 22746 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AF9; /* 0x39006AEC: jne 0x39006af9 */ 22747 L_39006AEE: 22748 MEM32(edi + 0x4) = edx; /* 0x39006AEE: mov dword ptr [edi + 4], edx */ 22749 MEM32(edx + 0x8) = ecx; /* 0x39006AF1: mov dword ptr [edx + 8], ecx */ 22750 goto L_39006BAB; /* 0x39006AF4: jmp 0x39006bab */ 22751 L_39006AF9: 22752 edi = MEM32(ecx + 0x4); /* 0x39006AF9: mov edi, dword ptr [ecx + 4] */ 22753 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x39006AFC: cmp ecx, dword ptr [edi + 8] */ 22754 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 22755 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22756 _flag_k = FK_CMP; 22757 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B0C; /* 0x39006AFF: jne 0x39006b0c */ 22758 L_39006B01: 22759 MEM32(edi + 0x8) = edx; /* 0x39006B01: mov dword ptr [edi + 8], edx */ 22760 MEM32(edx + 0x8) = ecx; /* 0x39006B04: mov dword ptr [edx + 8], ecx */ 22761 goto L_39006BAB; /* 0x39006B07: jmp 0x39006bab */ 22762 L_39006B0C: 22763 MEM32(edi) = edx; /* 0x39006B0C: mov dword ptr [edi], edx */ 22764 MEM32(edx + 0x8) = ecx; /* 0x39006B0E: mov dword ptr [edx + 8], ecx */ 22765 goto L_39006BAB; /* 0x39006B11: jmp 0x39006bab */ 22766 L_39006B16: 22767 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x39006B16: cmp byte ptr [edx + 0x2c], 0 */ 22768 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 22769 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22770 _flag_k = FK_NARROW(FK_CMP, 24); 22771 RECOMP_BACKEDGE(); 22772 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006A5E; /* 0x39006B1A: je 0x39006a5e */ 22773 L_39006B20: 22774 /* cmp eax, MEM32(ecx) */ /* 0x39006B20: cmp eax, dword ptr [ecx] */ 22775 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 22776 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22777 _flag_k = FK_CMP; 22778 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B60; /* 0x39006B22: jne 0x39006b60 */ 22779 L_39006B24: 22780 eax = ecx; /* 0x39006B24: mov eax, ecx */ 22781 ecx = MEM32(eax); /* 0x39006B26: mov ecx, dword ptr [eax] */ 22782 edx = MEM32(ecx + 0x8); /* 0x39006B28: mov edx, dword ptr [ecx + 8] */ 22783 MEM32(eax) = edx; /* 0x39006B2B: mov dword ptr [eax], edx */ 22784 edx = MEM32(ecx + 0x8); /* 0x39006B2D: mov edx, dword ptr [ecx + 8] */ 22785 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006B30: cmp edx, dword ptr [esi + 8] */ 22786 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22787 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22788 _flag_k = FK_CMP; 22789 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006B38; /* 0x39006B33: je 0x39006b38 */ 22790 L_39006B35: 22791 MEM32(edx + 0x4) = eax; /* 0x39006B35: mov dword ptr [edx + 4], eax */ 22792 L_39006B38: 22793 edx = MEM32(eax + 0x4); /* 0x39006B38: mov edx, dword ptr [eax + 4] */ 22794 MEM32(ecx + 0x4) = edx; /* 0x39006B3B: mov dword ptr [ecx + 4], edx */ 22795 edx = MEM32(esi + 0x4); /* 0x39006B3E: mov edx, dword ptr [esi + 4] */ 22796 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006B41: cmp eax, dword ptr [edx + 4] */ 22797 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 22798 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22799 _flag_k = FK_CMP; 22800 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B4B; /* 0x39006B44: jne 0x39006b4b */ 22801 L_39006B46: 22802 MEM32(edx + 0x4) = ecx; /* 0x39006B46: mov dword ptr [edx + 4], ecx */ 22803 goto L_39006B5A; /* 0x39006B49: jmp 0x39006b5a */ 22804 L_39006B4B: 22805 edx = MEM32(eax + 0x4); /* 0x39006B4B: mov edx, dword ptr [eax + 4] */ 22806 /* cmp eax, MEM32(edx + 0x8) */ /* 0x39006B4E: cmp eax, dword ptr [edx + 8] */ 22807 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 22808 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22809 _flag_k = FK_CMP; 22810 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B58; /* 0x39006B51: jne 0x39006b58 */ 22811 L_39006B53: 22812 MEM32(edx + 0x8) = ecx; /* 0x39006B53: mov dword ptr [edx + 8], ecx */ 22813 goto L_39006B5A; /* 0x39006B56: jmp 0x39006b5a */ 22814 L_39006B58: 22815 MEM32(edx) = ecx; /* 0x39006B58: mov dword ptr [edx], ecx */ 22816 L_39006B5A: 22817 MEM32(ecx + 0x8) = eax; /* 0x39006B5A: mov dword ptr [ecx + 8], eax */ 22818 MEM32(eax + 0x4) = ecx; /* 0x39006B5D: mov dword ptr [eax + 4], ecx */ 22819 L_39006B60: 22820 ecx = MEM32(eax + 0x4); /* 0x39006B60: mov ecx, dword ptr [eax + 4] */ 22821 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006B63: mov byte ptr [ecx + 0x2c], bl */ 22822 edx = MEM32(eax + 0x4); /* 0x39006B66: mov edx, dword ptr [eax + 4] */ 22823 ecx = MEM32(edx + 0x4); /* 0x39006B69: mov ecx, dword ptr [edx + 4] */ 22824 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006B6C: mov byte ptr [ecx + 0x2c], 0 */ 22825 edx = MEM32(eax + 0x4); /* 0x39006B70: mov edx, dword ptr [eax + 4] */ 22826 ecx = MEM32(edx + 0x4); /* 0x39006B73: mov ecx, dword ptr [edx + 4] */ 22827 edx = MEM32(ecx + 0x8); /* 0x39006B76: mov edx, dword ptr [ecx + 8] */ 22828 edi = MEM32(edx); /* 0x39006B79: mov edi, dword ptr [edx] */ 22829 MEM32(ecx + 0x8) = edi; /* 0x39006B7B: mov dword ptr [ecx + 8], edi */ 22830 edi = MEM32(edx); /* 0x39006B7E: mov edi, dword ptr [edx] */ 22831 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39006B80: cmp edi, dword ptr [esi + 8] */ 22832 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22833 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22834 _flag_k = FK_CMP; 22835 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006B88; /* 0x39006B83: je 0x39006b88 */ 22836 L_39006B85: 22837 MEM32(edi + 0x4) = ecx; /* 0x39006B85: mov dword ptr [edi + 4], ecx */ 22838 L_39006B88: 22839 edi = MEM32(ecx + 0x4); /* 0x39006B88: mov edi, dword ptr [ecx + 4] */ 22840 MEM32(edx + 0x4) = edi; /* 0x39006B8B: mov dword ptr [edx + 4], edi */ 22841 edi = MEM32(esi + 0x4); /* 0x39006B8E: mov edi, dword ptr [esi + 4] */ 22842 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006B91: cmp ecx, dword ptr [edi + 4] */ 22843 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 22844 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22845 _flag_k = FK_CMP; 22846 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B9B; /* 0x39006B94: jne 0x39006b9b */ 22847 L_39006B96: 22848 MEM32(edi + 0x4) = edx; /* 0x39006B96: mov dword ptr [edi + 4], edx */ 22849 goto L_39006BA9; /* 0x39006B99: jmp 0x39006ba9 */ 22850 L_39006B9B: 22851 edi = MEM32(ecx + 0x4); /* 0x39006B9B: mov edi, dword ptr [ecx + 4] */ 22852 /* cmp ecx, MEM32(edi) */ /* 0x39006B9E: cmp ecx, dword ptr [edi] */ 22853 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 22854 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22855 _flag_k = FK_CMP; 22856 if (CMP_NE(_flag_a, _flag_b)) goto L_39006BA6; /* 0x39006BA0: jne 0x39006ba6 */ 22857 L_39006BA2: 22858 MEM32(edi) = edx; /* 0x39006BA2: mov dword ptr [edi], edx */ 22859 goto L_39006BA9; /* 0x39006BA4: jmp 0x39006ba9 */ 22860 L_39006BA6: 22861 MEM32(edi + 0x8) = edx; /* 0x39006BA6: mov dword ptr [edi + 8], edx */ 22862 L_39006BA9: 22863 MEM32(edx) = ecx; /* 0x39006BA9: mov dword ptr [edx], ecx */ 22864 L_39006BAB: 22865 MEM32(ecx + 0x4) = edx; /* 0x39006BAB: mov dword ptr [ecx + 4], edx */ 22866 L_39006BAE: 22867 ecx = MEM32(esi + 0x4); /* 0x39006BAE: mov ecx, dword ptr [esi + 4] */ 22868 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x39006BB1: cmp eax, dword ptr [ecx + 4] */ 22869 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 22870 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22871 _flag_k = FK_CMP; 22872 RECOMP_BACKEDGE(); 22873 if (CMP_NE(_flag_a, _flag_b)) goto L_39006A3A; /* 0x39006BB4: jne 0x39006a3a */ 22874 L_39006BBA: 22875 edx = MEM32(esi + 0x4); /* 0x39006BBA: mov edx, dword ptr [esi + 4] */ 22876 ecx = MEM32(ebp + (-0x4)); /* 0x39006BBD: mov ecx, dword ptr [ebp - 4] */ 22877 edi = POP32_VAL(esp); /* 0x39006BC0: pop edi */ 22878 esi = POP32_VAL(esp); /* 0x39006BC1: pop esi */ 22879 eax = MEM32(edx + 0x4); /* 0x39006BC2: mov eax, dword ptr [edx + 4] */ 22880 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006BC5: mov byte ptr [eax + 0x2c], bl */ 22881 eax = MEM32(ebp + 0x8); /* 0x39006BC8: mov eax, dword ptr [ebp + 8] */ 22882 ebx = POP32_VAL(esp); /* 0x39006BCB: pop ebx */ 22883 MEM32(eax) = ecx; /* 0x39006BCC: mov dword ptr [eax], ecx */ 22884 esp = ebp; /* 0x39006BCE: mov esp, ebp */ 22885 ebp = POP32_VAL(esp); /* 0x39006BD0: pop ebp */ 22886 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39006BD1: ret 0x10 */ 22887 RECOMP_REGS_OUT(); 22888 } 22889 22890 void sub_39006AB8(void) { 22891 int _fpu_cmp = 0; 22892 uint32_t _cf = 0; 22893 int _df = 1; 22894 uint32_t _flag_k = FK_NONE; 22895 uint32_t _flag_a = 0, _flag_b = 0; 22896 uint32_t _itail_tgt = 0; 22897 RECOMP_REGS_LOCALS 22898 RECOMP_ENTER(0x39006AB8u); 22899 22900 goto L_39006AB8; 22901 L_39006A3A: 22902 ecx = MEM32(eax + 0x4); /* 0x39006A3A: mov ecx, dword ptr [eax + 4] */ 22903 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39006A3D: mov dl, byte ptr [ecx + 0x2c] */ 22904 /* test LO8(edx), LO8(edx) */ /* 0x39006A40: test dl, dl */ 22905 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 22906 _cf = 0; 22907 _flag_k = FK_NARROW(FK_TEST, 24); 22908 if (TEST_NZ(_flag_a, _flag_b)) goto L_39006BBA; /* 0x39006A42: jne 0x39006bba */ 22909 L_39006A48: 22910 edi = MEM32(ecx + 0x4); /* 0x39006A48: mov edi, dword ptr [ecx + 4] */ 22911 edx = MEM32(edi); /* 0x39006A4B: mov edx, dword ptr [edi] */ 22912 /* cmp ecx, edx */ /* 0x39006A4D: cmp ecx, edx */ 22913 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 22914 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22915 _flag_k = FK_CMP; 22916 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B16; /* 0x39006A4F: jne 0x39006b16 */ 22917 L_39006A55: 22918 edx = MEM32(edi + 0x8); /* 0x39006A55: mov edx, dword ptr [edi + 8] */ 22919 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x39006A58: cmp byte ptr [edx + 0x2c], 0 */ 22920 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 22921 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22922 _flag_k = FK_NARROW(FK_CMP, 24); 22923 if (CMP_NE(_flag_a, _flag_b)) goto L_39006A79; /* 0x39006A5C: jne 0x39006a79 */ 22924 L_39006A5E: 22925 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006A5E: mov byte ptr [ecx + 0x2c], bl */ 22926 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006A61: mov byte ptr [edx + 0x2c], bl */ 22927 ecx = MEM32(eax + 0x4); /* 0x39006A64: mov ecx, dword ptr [eax + 4] */ 22928 edx = MEM32(ecx + 0x4); /* 0x39006A67: mov edx, dword ptr [ecx + 4] */ 22929 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x39006A6A: mov byte ptr [edx + 0x2c], 0 */ 22930 eax = MEM32(eax + 0x4); /* 0x39006A6E: mov eax, dword ptr [eax + 4] */ 22931 eax = MEM32(eax + 0x4); /* 0x39006A71: mov eax, dword ptr [eax + 4] */ 22932 goto L_39006BAE; /* 0x39006A74: jmp 0x39006bae */ 22933 L_39006A79: 22934 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x39006A79: cmp eax, dword ptr [ecx + 8] */ 22935 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 22936 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22937 _flag_k = FK_CMP; 22938 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AB8; /* 0x39006A7C: jne 0x39006ab8 */ 22939 L_39006A7E: 22940 eax = ecx; /* 0x39006A7E: mov eax, ecx */ 22941 ecx = MEM32(eax + 0x8); /* 0x39006A80: mov ecx, dword ptr [eax + 8] */ 22942 edx = MEM32(ecx); /* 0x39006A83: mov edx, dword ptr [ecx] */ 22943 MEM32(eax + 0x8) = edx; /* 0x39006A85: mov dword ptr [eax + 8], edx */ 22944 edx = MEM32(ecx); /* 0x39006A88: mov edx, dword ptr [ecx] */ 22945 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006A8A: cmp edx, dword ptr [esi + 8] */ 22946 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22947 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22948 _flag_k = FK_CMP; 22949 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006A92; /* 0x39006A8D: je 0x39006a92 */ 22950 L_39006A8F: 22951 MEM32(edx + 0x4) = eax; /* 0x39006A8F: mov dword ptr [edx + 4], eax */ 22952 L_39006A92: 22953 edx = MEM32(eax + 0x4); /* 0x39006A92: mov edx, dword ptr [eax + 4] */ 22954 MEM32(ecx + 0x4) = edx; /* 0x39006A95: mov dword ptr [ecx + 4], edx */ 22955 edx = MEM32(esi + 0x4); /* 0x39006A98: mov edx, dword ptr [esi + 4] */ 22956 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006A9B: cmp eax, dword ptr [edx + 4] */ 22957 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 22958 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22959 _flag_k = FK_CMP; 22960 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AA5; /* 0x39006A9E: jne 0x39006aa5 */ 22961 L_39006AA0: 22962 MEM32(edx + 0x4) = ecx; /* 0x39006AA0: mov dword ptr [edx + 4], ecx */ 22963 goto L_39006AB3; /* 0x39006AA3: jmp 0x39006ab3 */ 22964 L_39006AA5: 22965 edx = MEM32(eax + 0x4); /* 0x39006AA5: mov edx, dword ptr [eax + 4] */ 22966 /* cmp eax, MEM32(edx) */ /* 0x39006AA8: cmp eax, dword ptr [edx] */ 22967 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 22968 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22969 _flag_k = FK_CMP; 22970 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AB0; /* 0x39006AAA: jne 0x39006ab0 */ 22971 L_39006AAC: 22972 MEM32(edx) = ecx; /* 0x39006AAC: mov dword ptr [edx], ecx */ 22973 goto L_39006AB3; /* 0x39006AAE: jmp 0x39006ab3 */ 22974 L_39006AB0: 22975 MEM32(edx + 0x8) = ecx; /* 0x39006AB0: mov dword ptr [edx + 8], ecx */ 22976 L_39006AB3: 22977 MEM32(ecx) = eax; /* 0x39006AB3: mov dword ptr [ecx], eax */ 22978 MEM32(eax + 0x4) = ecx; /* 0x39006AB5: mov dword ptr [eax + 4], ecx */ 22979 L_39006AB8: 22980 ecx = MEM32(eax + 0x4); /* 0x39006AB8: mov ecx, dword ptr [eax + 4] */ 22981 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006ABB: mov byte ptr [ecx + 0x2c], bl */ 22982 edx = MEM32(eax + 0x4); /* 0x39006ABE: mov edx, dword ptr [eax + 4] */ 22983 ecx = MEM32(edx + 0x4); /* 0x39006AC1: mov ecx, dword ptr [edx + 4] */ 22984 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006AC4: mov byte ptr [ecx + 0x2c], 0 */ 22985 edx = MEM32(eax + 0x4); /* 0x39006AC8: mov edx, dword ptr [eax + 4] */ 22986 ecx = MEM32(edx + 0x4); /* 0x39006ACB: mov ecx, dword ptr [edx + 4] */ 22987 edx = MEM32(ecx); /* 0x39006ACE: mov edx, dword ptr [ecx] */ 22988 edi = MEM32(edx + 0x8); /* 0x39006AD0: mov edi, dword ptr [edx + 8] */ 22989 MEM32(ecx) = edi; /* 0x39006AD3: mov dword ptr [ecx], edi */ 22990 edi = MEM32(edx + 0x8); /* 0x39006AD5: mov edi, dword ptr [edx + 8] */ 22991 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39006AD8: cmp edi, dword ptr [esi + 8] */ 22992 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 22993 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 22994 _flag_k = FK_CMP; 22995 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006AE0; /* 0x39006ADB: je 0x39006ae0 */ 22996 L_39006ADD: 22997 MEM32(edi + 0x4) = ecx; /* 0x39006ADD: mov dword ptr [edi + 4], ecx */ 22998 L_39006AE0: 22999 edi = MEM32(ecx + 0x4); /* 0x39006AE0: mov edi, dword ptr [ecx + 4] */ 23000 MEM32(edx + 0x4) = edi; /* 0x39006AE3: mov dword ptr [edx + 4], edi */ 23001 edi = MEM32(esi + 0x4); /* 0x39006AE6: mov edi, dword ptr [esi + 4] */ 23002 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006AE9: cmp ecx, dword ptr [edi + 4] */ 23003 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 23004 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23005 _flag_k = FK_CMP; 23006 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AF9; /* 0x39006AEC: jne 0x39006af9 */ 23007 L_39006AEE: 23008 MEM32(edi + 0x4) = edx; /* 0x39006AEE: mov dword ptr [edi + 4], edx */ 23009 MEM32(edx + 0x8) = ecx; /* 0x39006AF1: mov dword ptr [edx + 8], ecx */ 23010 goto L_39006BAB; /* 0x39006AF4: jmp 0x39006bab */ 23011 L_39006AF9: 23012 edi = MEM32(ecx + 0x4); /* 0x39006AF9: mov edi, dword ptr [ecx + 4] */ 23013 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x39006AFC: cmp ecx, dword ptr [edi + 8] */ 23014 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 23015 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23016 _flag_k = FK_CMP; 23017 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B0C; /* 0x39006AFF: jne 0x39006b0c */ 23018 L_39006B01: 23019 MEM32(edi + 0x8) = edx; /* 0x39006B01: mov dword ptr [edi + 8], edx */ 23020 MEM32(edx + 0x8) = ecx; /* 0x39006B04: mov dword ptr [edx + 8], ecx */ 23021 goto L_39006BAB; /* 0x39006B07: jmp 0x39006bab */ 23022 L_39006B0C: 23023 MEM32(edi) = edx; /* 0x39006B0C: mov dword ptr [edi], edx */ 23024 MEM32(edx + 0x8) = ecx; /* 0x39006B0E: mov dword ptr [edx + 8], ecx */ 23025 goto L_39006BAB; /* 0x39006B11: jmp 0x39006bab */ 23026 L_39006B16: 23027 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x39006B16: cmp byte ptr [edx + 0x2c], 0 */ 23028 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 23029 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23030 _flag_k = FK_NARROW(FK_CMP, 24); 23031 RECOMP_BACKEDGE(); 23032 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006A5E; /* 0x39006B1A: je 0x39006a5e */ 23033 L_39006B20: 23034 /* cmp eax, MEM32(ecx) */ /* 0x39006B20: cmp eax, dword ptr [ecx] */ 23035 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 23036 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23037 _flag_k = FK_CMP; 23038 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B60; /* 0x39006B22: jne 0x39006b60 */ 23039 L_39006B24: 23040 eax = ecx; /* 0x39006B24: mov eax, ecx */ 23041 ecx = MEM32(eax); /* 0x39006B26: mov ecx, dword ptr [eax] */ 23042 edx = MEM32(ecx + 0x8); /* 0x39006B28: mov edx, dword ptr [ecx + 8] */ 23043 MEM32(eax) = edx; /* 0x39006B2B: mov dword ptr [eax], edx */ 23044 edx = MEM32(ecx + 0x8); /* 0x39006B2D: mov edx, dword ptr [ecx + 8] */ 23045 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006B30: cmp edx, dword ptr [esi + 8] */ 23046 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 23047 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23048 _flag_k = FK_CMP; 23049 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006B38; /* 0x39006B33: je 0x39006b38 */ 23050 L_39006B35: 23051 MEM32(edx + 0x4) = eax; /* 0x39006B35: mov dword ptr [edx + 4], eax */ 23052 L_39006B38: 23053 edx = MEM32(eax + 0x4); /* 0x39006B38: mov edx, dword ptr [eax + 4] */ 23054 MEM32(ecx + 0x4) = edx; /* 0x39006B3B: mov dword ptr [ecx + 4], edx */ 23055 edx = MEM32(esi + 0x4); /* 0x39006B3E: mov edx, dword ptr [esi + 4] */ 23056 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006B41: cmp eax, dword ptr [edx + 4] */ 23057 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 23058 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23059 _flag_k = FK_CMP; 23060 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B4B; /* 0x39006B44: jne 0x39006b4b */ 23061 L_39006B46: 23062 MEM32(edx + 0x4) = ecx; /* 0x39006B46: mov dword ptr [edx + 4], ecx */ 23063 goto L_39006B5A; /* 0x39006B49: jmp 0x39006b5a */ 23064 L_39006B4B: 23065 edx = MEM32(eax + 0x4); /* 0x39006B4B: mov edx, dword ptr [eax + 4] */ 23066 /* cmp eax, MEM32(edx + 0x8) */ /* 0x39006B4E: cmp eax, dword ptr [edx + 8] */ 23067 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 23068 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23069 _flag_k = FK_CMP; 23070 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B58; /* 0x39006B51: jne 0x39006b58 */ 23071 L_39006B53: 23072 MEM32(edx + 0x8) = ecx; /* 0x39006B53: mov dword ptr [edx + 8], ecx */ 23073 goto L_39006B5A; /* 0x39006B56: jmp 0x39006b5a */ 23074 L_39006B58: 23075 MEM32(edx) = ecx; /* 0x39006B58: mov dword ptr [edx], ecx */ 23076 L_39006B5A: 23077 MEM32(ecx + 0x8) = eax; /* 0x39006B5A: mov dword ptr [ecx + 8], eax */ 23078 MEM32(eax + 0x4) = ecx; /* 0x39006B5D: mov dword ptr [eax + 4], ecx */ 23079 L_39006B60: 23080 ecx = MEM32(eax + 0x4); /* 0x39006B60: mov ecx, dword ptr [eax + 4] */ 23081 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006B63: mov byte ptr [ecx + 0x2c], bl */ 23082 edx = MEM32(eax + 0x4); /* 0x39006B66: mov edx, dword ptr [eax + 4] */ 23083 ecx = MEM32(edx + 0x4); /* 0x39006B69: mov ecx, dword ptr [edx + 4] */ 23084 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006B6C: mov byte ptr [ecx + 0x2c], 0 */ 23085 edx = MEM32(eax + 0x4); /* 0x39006B70: mov edx, dword ptr [eax + 4] */ 23086 ecx = MEM32(edx + 0x4); /* 0x39006B73: mov ecx, dword ptr [edx + 4] */ 23087 edx = MEM32(ecx + 0x8); /* 0x39006B76: mov edx, dword ptr [ecx + 8] */ 23088 edi = MEM32(edx); /* 0x39006B79: mov edi, dword ptr [edx] */ 23089 MEM32(ecx + 0x8) = edi; /* 0x39006B7B: mov dword ptr [ecx + 8], edi */ 23090 edi = MEM32(edx); /* 0x39006B7E: mov edi, dword ptr [edx] */ 23091 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39006B80: cmp edi, dword ptr [esi + 8] */ 23092 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 23093 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23094 _flag_k = FK_CMP; 23095 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006B88; /* 0x39006B83: je 0x39006b88 */ 23096 L_39006B85: 23097 MEM32(edi + 0x4) = ecx; /* 0x39006B85: mov dword ptr [edi + 4], ecx */ 23098 L_39006B88: 23099 edi = MEM32(ecx + 0x4); /* 0x39006B88: mov edi, dword ptr [ecx + 4] */ 23100 MEM32(edx + 0x4) = edi; /* 0x39006B8B: mov dword ptr [edx + 4], edi */ 23101 edi = MEM32(esi + 0x4); /* 0x39006B8E: mov edi, dword ptr [esi + 4] */ 23102 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006B91: cmp ecx, dword ptr [edi + 4] */ 23103 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 23104 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23105 _flag_k = FK_CMP; 23106 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B9B; /* 0x39006B94: jne 0x39006b9b */ 23107 L_39006B96: 23108 MEM32(edi + 0x4) = edx; /* 0x39006B96: mov dword ptr [edi + 4], edx */ 23109 goto L_39006BA9; /* 0x39006B99: jmp 0x39006ba9 */ 23110 L_39006B9B: 23111 edi = MEM32(ecx + 0x4); /* 0x39006B9B: mov edi, dword ptr [ecx + 4] */ 23112 /* cmp ecx, MEM32(edi) */ /* 0x39006B9E: cmp ecx, dword ptr [edi] */ 23113 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 23114 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23115 _flag_k = FK_CMP; 23116 if (CMP_NE(_flag_a, _flag_b)) goto L_39006BA6; /* 0x39006BA0: jne 0x39006ba6 */ 23117 L_39006BA2: 23118 MEM32(edi) = edx; /* 0x39006BA2: mov dword ptr [edi], edx */ 23119 goto L_39006BA9; /* 0x39006BA4: jmp 0x39006ba9 */ 23120 L_39006BA6: 23121 MEM32(edi + 0x8) = edx; /* 0x39006BA6: mov dword ptr [edi + 8], edx */ 23122 L_39006BA9: 23123 MEM32(edx) = ecx; /* 0x39006BA9: mov dword ptr [edx], ecx */ 23124 L_39006BAB: 23125 MEM32(ecx + 0x4) = edx; /* 0x39006BAB: mov dword ptr [ecx + 4], edx */ 23126 L_39006BAE: 23127 ecx = MEM32(esi + 0x4); /* 0x39006BAE: mov ecx, dword ptr [esi + 4] */ 23128 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x39006BB1: cmp eax, dword ptr [ecx + 4] */ 23129 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 23130 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23131 _flag_k = FK_CMP; 23132 RECOMP_BACKEDGE(); 23133 if (CMP_NE(_flag_a, _flag_b)) goto L_39006A3A; /* 0x39006BB4: jne 0x39006a3a */ 23134 L_39006BBA: 23135 edx = MEM32(esi + 0x4); /* 0x39006BBA: mov edx, dword ptr [esi + 4] */ 23136 ecx = MEM32(ebp + (-0x4)); /* 0x39006BBD: mov ecx, dword ptr [ebp - 4] */ 23137 edi = POP32_VAL(esp); /* 0x39006BC0: pop edi */ 23138 esi = POP32_VAL(esp); /* 0x39006BC1: pop esi */ 23139 eax = MEM32(edx + 0x4); /* 0x39006BC2: mov eax, dword ptr [edx + 4] */ 23140 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006BC5: mov byte ptr [eax + 0x2c], bl */ 23141 eax = MEM32(ebp + 0x8); /* 0x39006BC8: mov eax, dword ptr [ebp + 8] */ 23142 ebx = POP32_VAL(esp); /* 0x39006BCB: pop ebx */ 23143 MEM32(eax) = ecx; /* 0x39006BCC: mov dword ptr [eax], ecx */ 23144 esp = ebp; /* 0x39006BCE: mov esp, ebp */ 23145 ebp = POP32_VAL(esp); /* 0x39006BD0: pop ebp */ 23146 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39006BD1: ret 0x10 */ 23147 RECOMP_REGS_OUT(); 23148 } 23149 23150 void sub_39006B16(void) { 23151 int _fpu_cmp = 0; 23152 uint32_t _cf = 0; 23153 int _df = 1; 23154 uint32_t _flag_k = FK_NONE; 23155 uint32_t _flag_a = 0, _flag_b = 0; 23156 uint32_t _itail_tgt = 0; 23157 RECOMP_REGS_LOCALS 23158 RECOMP_ENTER(0x39006B16u); 23159 23160 goto L_39006B16; 23161 L_39006A3A: 23162 ecx = MEM32(eax + 0x4); /* 0x39006A3A: mov ecx, dword ptr [eax + 4] */ 23163 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39006A3D: mov dl, byte ptr [ecx + 0x2c] */ 23164 /* test LO8(edx), LO8(edx) */ /* 0x39006A40: test dl, dl */ 23165 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 23166 _cf = 0; 23167 _flag_k = FK_NARROW(FK_TEST, 24); 23168 if (TEST_NZ(_flag_a, _flag_b)) goto L_39006BBA; /* 0x39006A42: jne 0x39006bba */ 23169 L_39006A48: 23170 edi = MEM32(ecx + 0x4); /* 0x39006A48: mov edi, dword ptr [ecx + 4] */ 23171 edx = MEM32(edi); /* 0x39006A4B: mov edx, dword ptr [edi] */ 23172 /* cmp ecx, edx */ /* 0x39006A4D: cmp ecx, edx */ 23173 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 23174 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23175 _flag_k = FK_CMP; 23176 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B16; /* 0x39006A4F: jne 0x39006b16 */ 23177 L_39006A55: 23178 edx = MEM32(edi + 0x8); /* 0x39006A55: mov edx, dword ptr [edi + 8] */ 23179 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x39006A58: cmp byte ptr [edx + 0x2c], 0 */ 23180 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 23181 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23182 _flag_k = FK_NARROW(FK_CMP, 24); 23183 if (CMP_NE(_flag_a, _flag_b)) goto L_39006A79; /* 0x39006A5C: jne 0x39006a79 */ 23184 L_39006A5E: 23185 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006A5E: mov byte ptr [ecx + 0x2c], bl */ 23186 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006A61: mov byte ptr [edx + 0x2c], bl */ 23187 ecx = MEM32(eax + 0x4); /* 0x39006A64: mov ecx, dword ptr [eax + 4] */ 23188 edx = MEM32(ecx + 0x4); /* 0x39006A67: mov edx, dword ptr [ecx + 4] */ 23189 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x39006A6A: mov byte ptr [edx + 0x2c], 0 */ 23190 eax = MEM32(eax + 0x4); /* 0x39006A6E: mov eax, dword ptr [eax + 4] */ 23191 eax = MEM32(eax + 0x4); /* 0x39006A71: mov eax, dword ptr [eax + 4] */ 23192 goto L_39006BAE; /* 0x39006A74: jmp 0x39006bae */ 23193 L_39006A79: 23194 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x39006A79: cmp eax, dword ptr [ecx + 8] */ 23195 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 23196 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23197 _flag_k = FK_CMP; 23198 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AB8; /* 0x39006A7C: jne 0x39006ab8 */ 23199 L_39006A7E: 23200 eax = ecx; /* 0x39006A7E: mov eax, ecx */ 23201 ecx = MEM32(eax + 0x8); /* 0x39006A80: mov ecx, dword ptr [eax + 8] */ 23202 edx = MEM32(ecx); /* 0x39006A83: mov edx, dword ptr [ecx] */ 23203 MEM32(eax + 0x8) = edx; /* 0x39006A85: mov dword ptr [eax + 8], edx */ 23204 edx = MEM32(ecx); /* 0x39006A88: mov edx, dword ptr [ecx] */ 23205 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006A8A: cmp edx, dword ptr [esi + 8] */ 23206 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 23207 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23208 _flag_k = FK_CMP; 23209 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006A92; /* 0x39006A8D: je 0x39006a92 */ 23210 L_39006A8F: 23211 MEM32(edx + 0x4) = eax; /* 0x39006A8F: mov dword ptr [edx + 4], eax */ 23212 L_39006A92: 23213 edx = MEM32(eax + 0x4); /* 0x39006A92: mov edx, dword ptr [eax + 4] */ 23214 MEM32(ecx + 0x4) = edx; /* 0x39006A95: mov dword ptr [ecx + 4], edx */ 23215 edx = MEM32(esi + 0x4); /* 0x39006A98: mov edx, dword ptr [esi + 4] */ 23216 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006A9B: cmp eax, dword ptr [edx + 4] */ 23217 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 23218 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23219 _flag_k = FK_CMP; 23220 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AA5; /* 0x39006A9E: jne 0x39006aa5 */ 23221 L_39006AA0: 23222 MEM32(edx + 0x4) = ecx; /* 0x39006AA0: mov dword ptr [edx + 4], ecx */ 23223 goto L_39006AB3; /* 0x39006AA3: jmp 0x39006ab3 */ 23224 L_39006AA5: 23225 edx = MEM32(eax + 0x4); /* 0x39006AA5: mov edx, dword ptr [eax + 4] */ 23226 /* cmp eax, MEM32(edx) */ /* 0x39006AA8: cmp eax, dword ptr [edx] */ 23227 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 23228 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23229 _flag_k = FK_CMP; 23230 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AB0; /* 0x39006AAA: jne 0x39006ab0 */ 23231 L_39006AAC: 23232 MEM32(edx) = ecx; /* 0x39006AAC: mov dword ptr [edx], ecx */ 23233 goto L_39006AB3; /* 0x39006AAE: jmp 0x39006ab3 */ 23234 L_39006AB0: 23235 MEM32(edx + 0x8) = ecx; /* 0x39006AB0: mov dword ptr [edx + 8], ecx */ 23236 L_39006AB3: 23237 MEM32(ecx) = eax; /* 0x39006AB3: mov dword ptr [ecx], eax */ 23238 MEM32(eax + 0x4) = ecx; /* 0x39006AB5: mov dword ptr [eax + 4], ecx */ 23239 L_39006AB8: 23240 ecx = MEM32(eax + 0x4); /* 0x39006AB8: mov ecx, dword ptr [eax + 4] */ 23241 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006ABB: mov byte ptr [ecx + 0x2c], bl */ 23242 edx = MEM32(eax + 0x4); /* 0x39006ABE: mov edx, dword ptr [eax + 4] */ 23243 ecx = MEM32(edx + 0x4); /* 0x39006AC1: mov ecx, dword ptr [edx + 4] */ 23244 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006AC4: mov byte ptr [ecx + 0x2c], 0 */ 23245 edx = MEM32(eax + 0x4); /* 0x39006AC8: mov edx, dword ptr [eax + 4] */ 23246 ecx = MEM32(edx + 0x4); /* 0x39006ACB: mov ecx, dword ptr [edx + 4] */ 23247 edx = MEM32(ecx); /* 0x39006ACE: mov edx, dword ptr [ecx] */ 23248 edi = MEM32(edx + 0x8); /* 0x39006AD0: mov edi, dword ptr [edx + 8] */ 23249 MEM32(ecx) = edi; /* 0x39006AD3: mov dword ptr [ecx], edi */ 23250 edi = MEM32(edx + 0x8); /* 0x39006AD5: mov edi, dword ptr [edx + 8] */ 23251 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39006AD8: cmp edi, dword ptr [esi + 8] */ 23252 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 23253 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23254 _flag_k = FK_CMP; 23255 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006AE0; /* 0x39006ADB: je 0x39006ae0 */ 23256 L_39006ADD: 23257 MEM32(edi + 0x4) = ecx; /* 0x39006ADD: mov dword ptr [edi + 4], ecx */ 23258 L_39006AE0: 23259 edi = MEM32(ecx + 0x4); /* 0x39006AE0: mov edi, dword ptr [ecx + 4] */ 23260 MEM32(edx + 0x4) = edi; /* 0x39006AE3: mov dword ptr [edx + 4], edi */ 23261 edi = MEM32(esi + 0x4); /* 0x39006AE6: mov edi, dword ptr [esi + 4] */ 23262 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006AE9: cmp ecx, dword ptr [edi + 4] */ 23263 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 23264 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23265 _flag_k = FK_CMP; 23266 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AF9; /* 0x39006AEC: jne 0x39006af9 */ 23267 L_39006AEE: 23268 MEM32(edi + 0x4) = edx; /* 0x39006AEE: mov dword ptr [edi + 4], edx */ 23269 MEM32(edx + 0x8) = ecx; /* 0x39006AF1: mov dword ptr [edx + 8], ecx */ 23270 goto L_39006BAB; /* 0x39006AF4: jmp 0x39006bab */ 23271 L_39006AF9: 23272 edi = MEM32(ecx + 0x4); /* 0x39006AF9: mov edi, dword ptr [ecx + 4] */ 23273 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x39006AFC: cmp ecx, dword ptr [edi + 8] */ 23274 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 23275 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23276 _flag_k = FK_CMP; 23277 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B0C; /* 0x39006AFF: jne 0x39006b0c */ 23278 L_39006B01: 23279 MEM32(edi + 0x8) = edx; /* 0x39006B01: mov dword ptr [edi + 8], edx */ 23280 MEM32(edx + 0x8) = ecx; /* 0x39006B04: mov dword ptr [edx + 8], ecx */ 23281 goto L_39006BAB; /* 0x39006B07: jmp 0x39006bab */ 23282 L_39006B0C: 23283 MEM32(edi) = edx; /* 0x39006B0C: mov dword ptr [edi], edx */ 23284 MEM32(edx + 0x8) = ecx; /* 0x39006B0E: mov dword ptr [edx + 8], ecx */ 23285 goto L_39006BAB; /* 0x39006B11: jmp 0x39006bab */ 23286 L_39006B16: 23287 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x39006B16: cmp byte ptr [edx + 0x2c], 0 */ 23288 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 23289 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23290 _flag_k = FK_NARROW(FK_CMP, 24); 23291 RECOMP_BACKEDGE(); 23292 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006A5E; /* 0x39006B1A: je 0x39006a5e */ 23293 L_39006B20: 23294 /* cmp eax, MEM32(ecx) */ /* 0x39006B20: cmp eax, dword ptr [ecx] */ 23295 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 23296 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23297 _flag_k = FK_CMP; 23298 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B60; /* 0x39006B22: jne 0x39006b60 */ 23299 L_39006B24: 23300 eax = ecx; /* 0x39006B24: mov eax, ecx */ 23301 ecx = MEM32(eax); /* 0x39006B26: mov ecx, dword ptr [eax] */ 23302 edx = MEM32(ecx + 0x8); /* 0x39006B28: mov edx, dword ptr [ecx + 8] */ 23303 MEM32(eax) = edx; /* 0x39006B2B: mov dword ptr [eax], edx */ 23304 edx = MEM32(ecx + 0x8); /* 0x39006B2D: mov edx, dword ptr [ecx + 8] */ 23305 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006B30: cmp edx, dword ptr [esi + 8] */ 23306 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 23307 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23308 _flag_k = FK_CMP; 23309 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006B38; /* 0x39006B33: je 0x39006b38 */ 23310 L_39006B35: 23311 MEM32(edx + 0x4) = eax; /* 0x39006B35: mov dword ptr [edx + 4], eax */ 23312 L_39006B38: 23313 edx = MEM32(eax + 0x4); /* 0x39006B38: mov edx, dword ptr [eax + 4] */ 23314 MEM32(ecx + 0x4) = edx; /* 0x39006B3B: mov dword ptr [ecx + 4], edx */ 23315 edx = MEM32(esi + 0x4); /* 0x39006B3E: mov edx, dword ptr [esi + 4] */ 23316 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006B41: cmp eax, dword ptr [edx + 4] */ 23317 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 23318 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23319 _flag_k = FK_CMP; 23320 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B4B; /* 0x39006B44: jne 0x39006b4b */ 23321 L_39006B46: 23322 MEM32(edx + 0x4) = ecx; /* 0x39006B46: mov dword ptr [edx + 4], ecx */ 23323 goto L_39006B5A; /* 0x39006B49: jmp 0x39006b5a */ 23324 L_39006B4B: 23325 edx = MEM32(eax + 0x4); /* 0x39006B4B: mov edx, dword ptr [eax + 4] */ 23326 /* cmp eax, MEM32(edx + 0x8) */ /* 0x39006B4E: cmp eax, dword ptr [edx + 8] */ 23327 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 23328 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23329 _flag_k = FK_CMP; 23330 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B58; /* 0x39006B51: jne 0x39006b58 */ 23331 L_39006B53: 23332 MEM32(edx + 0x8) = ecx; /* 0x39006B53: mov dword ptr [edx + 8], ecx */ 23333 goto L_39006B5A; /* 0x39006B56: jmp 0x39006b5a */ 23334 L_39006B58: 23335 MEM32(edx) = ecx; /* 0x39006B58: mov dword ptr [edx], ecx */ 23336 L_39006B5A: 23337 MEM32(ecx + 0x8) = eax; /* 0x39006B5A: mov dword ptr [ecx + 8], eax */ 23338 MEM32(eax + 0x4) = ecx; /* 0x39006B5D: mov dword ptr [eax + 4], ecx */ 23339 L_39006B60: 23340 ecx = MEM32(eax + 0x4); /* 0x39006B60: mov ecx, dword ptr [eax + 4] */ 23341 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006B63: mov byte ptr [ecx + 0x2c], bl */ 23342 edx = MEM32(eax + 0x4); /* 0x39006B66: mov edx, dword ptr [eax + 4] */ 23343 ecx = MEM32(edx + 0x4); /* 0x39006B69: mov ecx, dword ptr [edx + 4] */ 23344 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006B6C: mov byte ptr [ecx + 0x2c], 0 */ 23345 edx = MEM32(eax + 0x4); /* 0x39006B70: mov edx, dword ptr [eax + 4] */ 23346 ecx = MEM32(edx + 0x4); /* 0x39006B73: mov ecx, dword ptr [edx + 4] */ 23347 edx = MEM32(ecx + 0x8); /* 0x39006B76: mov edx, dword ptr [ecx + 8] */ 23348 edi = MEM32(edx); /* 0x39006B79: mov edi, dword ptr [edx] */ 23349 MEM32(ecx + 0x8) = edi; /* 0x39006B7B: mov dword ptr [ecx + 8], edi */ 23350 edi = MEM32(edx); /* 0x39006B7E: mov edi, dword ptr [edx] */ 23351 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39006B80: cmp edi, dword ptr [esi + 8] */ 23352 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 23353 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23354 _flag_k = FK_CMP; 23355 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006B88; /* 0x39006B83: je 0x39006b88 */ 23356 L_39006B85: 23357 MEM32(edi + 0x4) = ecx; /* 0x39006B85: mov dword ptr [edi + 4], ecx */ 23358 L_39006B88: 23359 edi = MEM32(ecx + 0x4); /* 0x39006B88: mov edi, dword ptr [ecx + 4] */ 23360 MEM32(edx + 0x4) = edi; /* 0x39006B8B: mov dword ptr [edx + 4], edi */ 23361 edi = MEM32(esi + 0x4); /* 0x39006B8E: mov edi, dword ptr [esi + 4] */ 23362 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006B91: cmp ecx, dword ptr [edi + 4] */ 23363 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 23364 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23365 _flag_k = FK_CMP; 23366 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B9B; /* 0x39006B94: jne 0x39006b9b */ 23367 L_39006B96: 23368 MEM32(edi + 0x4) = edx; /* 0x39006B96: mov dword ptr [edi + 4], edx */ 23369 goto L_39006BA9; /* 0x39006B99: jmp 0x39006ba9 */ 23370 L_39006B9B: 23371 edi = MEM32(ecx + 0x4); /* 0x39006B9B: mov edi, dword ptr [ecx + 4] */ 23372 /* cmp ecx, MEM32(edi) */ /* 0x39006B9E: cmp ecx, dword ptr [edi] */ 23373 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 23374 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23375 _flag_k = FK_CMP; 23376 if (CMP_NE(_flag_a, _flag_b)) goto L_39006BA6; /* 0x39006BA0: jne 0x39006ba6 */ 23377 L_39006BA2: 23378 MEM32(edi) = edx; /* 0x39006BA2: mov dword ptr [edi], edx */ 23379 goto L_39006BA9; /* 0x39006BA4: jmp 0x39006ba9 */ 23380 L_39006BA6: 23381 MEM32(edi + 0x8) = edx; /* 0x39006BA6: mov dword ptr [edi + 8], edx */ 23382 L_39006BA9: 23383 MEM32(edx) = ecx; /* 0x39006BA9: mov dword ptr [edx], ecx */ 23384 L_39006BAB: 23385 MEM32(ecx + 0x4) = edx; /* 0x39006BAB: mov dword ptr [ecx + 4], edx */ 23386 L_39006BAE: 23387 ecx = MEM32(esi + 0x4); /* 0x39006BAE: mov ecx, dword ptr [esi + 4] */ 23388 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x39006BB1: cmp eax, dword ptr [ecx + 4] */ 23389 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 23390 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23391 _flag_k = FK_CMP; 23392 RECOMP_BACKEDGE(); 23393 if (CMP_NE(_flag_a, _flag_b)) goto L_39006A3A; /* 0x39006BB4: jne 0x39006a3a */ 23394 L_39006BBA: 23395 edx = MEM32(esi + 0x4); /* 0x39006BBA: mov edx, dword ptr [esi + 4] */ 23396 ecx = MEM32(ebp + (-0x4)); /* 0x39006BBD: mov ecx, dword ptr [ebp - 4] */ 23397 edi = POP32_VAL(esp); /* 0x39006BC0: pop edi */ 23398 esi = POP32_VAL(esp); /* 0x39006BC1: pop esi */ 23399 eax = MEM32(edx + 0x4); /* 0x39006BC2: mov eax, dword ptr [edx + 4] */ 23400 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006BC5: mov byte ptr [eax + 0x2c], bl */ 23401 eax = MEM32(ebp + 0x8); /* 0x39006BC8: mov eax, dword ptr [ebp + 8] */ 23402 ebx = POP32_VAL(esp); /* 0x39006BCB: pop ebx */ 23403 MEM32(eax) = ecx; /* 0x39006BCC: mov dword ptr [eax], ecx */ 23404 esp = ebp; /* 0x39006BCE: mov esp, ebp */ 23405 ebp = POP32_VAL(esp); /* 0x39006BD0: pop ebp */ 23406 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39006BD1: ret 0x10 */ 23407 RECOMP_REGS_OUT(); 23408 } 23409 23410 void sub_39006B5A(void) { 23411 int _fpu_cmp = 0; 23412 uint32_t _cf = 0; 23413 int _df = 1; 23414 uint32_t _flag_k = FK_NONE; 23415 uint32_t _flag_a = 0, _flag_b = 0; 23416 uint32_t _itail_tgt = 0; 23417 RECOMP_REGS_LOCALS 23418 RECOMP_ENTER(0x39006B5Au); 23419 23420 goto L_39006B5A; 23421 L_39006A3A: 23422 ecx = MEM32(eax + 0x4); /* 0x39006A3A: mov ecx, dword ptr [eax + 4] */ 23423 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39006A3D: mov dl, byte ptr [ecx + 0x2c] */ 23424 /* test LO8(edx), LO8(edx) */ /* 0x39006A40: test dl, dl */ 23425 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 23426 _cf = 0; 23427 _flag_k = FK_NARROW(FK_TEST, 24); 23428 if (TEST_NZ(_flag_a, _flag_b)) goto L_39006BBA; /* 0x39006A42: jne 0x39006bba */ 23429 L_39006A48: 23430 edi = MEM32(ecx + 0x4); /* 0x39006A48: mov edi, dword ptr [ecx + 4] */ 23431 edx = MEM32(edi); /* 0x39006A4B: mov edx, dword ptr [edi] */ 23432 /* cmp ecx, edx */ /* 0x39006A4D: cmp ecx, edx */ 23433 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 23434 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23435 _flag_k = FK_CMP; 23436 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B16; /* 0x39006A4F: jne 0x39006b16 */ 23437 L_39006A55: 23438 edx = MEM32(edi + 0x8); /* 0x39006A55: mov edx, dword ptr [edi + 8] */ 23439 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x39006A58: cmp byte ptr [edx + 0x2c], 0 */ 23440 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 23441 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23442 _flag_k = FK_NARROW(FK_CMP, 24); 23443 if (CMP_NE(_flag_a, _flag_b)) goto L_39006A79; /* 0x39006A5C: jne 0x39006a79 */ 23444 L_39006A5E: 23445 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006A5E: mov byte ptr [ecx + 0x2c], bl */ 23446 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006A61: mov byte ptr [edx + 0x2c], bl */ 23447 ecx = MEM32(eax + 0x4); /* 0x39006A64: mov ecx, dword ptr [eax + 4] */ 23448 edx = MEM32(ecx + 0x4); /* 0x39006A67: mov edx, dword ptr [ecx + 4] */ 23449 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x39006A6A: mov byte ptr [edx + 0x2c], 0 */ 23450 eax = MEM32(eax + 0x4); /* 0x39006A6E: mov eax, dword ptr [eax + 4] */ 23451 eax = MEM32(eax + 0x4); /* 0x39006A71: mov eax, dword ptr [eax + 4] */ 23452 goto L_39006BAE; /* 0x39006A74: jmp 0x39006bae */ 23453 L_39006A79: 23454 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x39006A79: cmp eax, dword ptr [ecx + 8] */ 23455 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 23456 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23457 _flag_k = FK_CMP; 23458 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AB8; /* 0x39006A7C: jne 0x39006ab8 */ 23459 L_39006A7E: 23460 eax = ecx; /* 0x39006A7E: mov eax, ecx */ 23461 ecx = MEM32(eax + 0x8); /* 0x39006A80: mov ecx, dword ptr [eax + 8] */ 23462 edx = MEM32(ecx); /* 0x39006A83: mov edx, dword ptr [ecx] */ 23463 MEM32(eax + 0x8) = edx; /* 0x39006A85: mov dword ptr [eax + 8], edx */ 23464 edx = MEM32(ecx); /* 0x39006A88: mov edx, dword ptr [ecx] */ 23465 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006A8A: cmp edx, dword ptr [esi + 8] */ 23466 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 23467 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23468 _flag_k = FK_CMP; 23469 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006A92; /* 0x39006A8D: je 0x39006a92 */ 23470 L_39006A8F: 23471 MEM32(edx + 0x4) = eax; /* 0x39006A8F: mov dword ptr [edx + 4], eax */ 23472 L_39006A92: 23473 edx = MEM32(eax + 0x4); /* 0x39006A92: mov edx, dword ptr [eax + 4] */ 23474 MEM32(ecx + 0x4) = edx; /* 0x39006A95: mov dword ptr [ecx + 4], edx */ 23475 edx = MEM32(esi + 0x4); /* 0x39006A98: mov edx, dword ptr [esi + 4] */ 23476 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006A9B: cmp eax, dword ptr [edx + 4] */ 23477 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 23478 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23479 _flag_k = FK_CMP; 23480 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AA5; /* 0x39006A9E: jne 0x39006aa5 */ 23481 L_39006AA0: 23482 MEM32(edx + 0x4) = ecx; /* 0x39006AA0: mov dword ptr [edx + 4], ecx */ 23483 goto L_39006AB3; /* 0x39006AA3: jmp 0x39006ab3 */ 23484 L_39006AA5: 23485 edx = MEM32(eax + 0x4); /* 0x39006AA5: mov edx, dword ptr [eax + 4] */ 23486 /* cmp eax, MEM32(edx) */ /* 0x39006AA8: cmp eax, dword ptr [edx] */ 23487 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 23488 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23489 _flag_k = FK_CMP; 23490 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AB0; /* 0x39006AAA: jne 0x39006ab0 */ 23491 L_39006AAC: 23492 MEM32(edx) = ecx; /* 0x39006AAC: mov dword ptr [edx], ecx */ 23493 goto L_39006AB3; /* 0x39006AAE: jmp 0x39006ab3 */ 23494 L_39006AB0: 23495 MEM32(edx + 0x8) = ecx; /* 0x39006AB0: mov dword ptr [edx + 8], ecx */ 23496 L_39006AB3: 23497 MEM32(ecx) = eax; /* 0x39006AB3: mov dword ptr [ecx], eax */ 23498 MEM32(eax + 0x4) = ecx; /* 0x39006AB5: mov dword ptr [eax + 4], ecx */ 23499 L_39006AB8: 23500 ecx = MEM32(eax + 0x4); /* 0x39006AB8: mov ecx, dword ptr [eax + 4] */ 23501 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006ABB: mov byte ptr [ecx + 0x2c], bl */ 23502 edx = MEM32(eax + 0x4); /* 0x39006ABE: mov edx, dword ptr [eax + 4] */ 23503 ecx = MEM32(edx + 0x4); /* 0x39006AC1: mov ecx, dword ptr [edx + 4] */ 23504 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006AC4: mov byte ptr [ecx + 0x2c], 0 */ 23505 edx = MEM32(eax + 0x4); /* 0x39006AC8: mov edx, dword ptr [eax + 4] */ 23506 ecx = MEM32(edx + 0x4); /* 0x39006ACB: mov ecx, dword ptr [edx + 4] */ 23507 edx = MEM32(ecx); /* 0x39006ACE: mov edx, dword ptr [ecx] */ 23508 edi = MEM32(edx + 0x8); /* 0x39006AD0: mov edi, dword ptr [edx + 8] */ 23509 MEM32(ecx) = edi; /* 0x39006AD3: mov dword ptr [ecx], edi */ 23510 edi = MEM32(edx + 0x8); /* 0x39006AD5: mov edi, dword ptr [edx + 8] */ 23511 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39006AD8: cmp edi, dword ptr [esi + 8] */ 23512 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 23513 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23514 _flag_k = FK_CMP; 23515 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006AE0; /* 0x39006ADB: je 0x39006ae0 */ 23516 L_39006ADD: 23517 MEM32(edi + 0x4) = ecx; /* 0x39006ADD: mov dword ptr [edi + 4], ecx */ 23518 L_39006AE0: 23519 edi = MEM32(ecx + 0x4); /* 0x39006AE0: mov edi, dword ptr [ecx + 4] */ 23520 MEM32(edx + 0x4) = edi; /* 0x39006AE3: mov dword ptr [edx + 4], edi */ 23521 edi = MEM32(esi + 0x4); /* 0x39006AE6: mov edi, dword ptr [esi + 4] */ 23522 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006AE9: cmp ecx, dword ptr [edi + 4] */ 23523 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 23524 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23525 _flag_k = FK_CMP; 23526 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AF9; /* 0x39006AEC: jne 0x39006af9 */ 23527 L_39006AEE: 23528 MEM32(edi + 0x4) = edx; /* 0x39006AEE: mov dword ptr [edi + 4], edx */ 23529 MEM32(edx + 0x8) = ecx; /* 0x39006AF1: mov dword ptr [edx + 8], ecx */ 23530 goto L_39006BAB; /* 0x39006AF4: jmp 0x39006bab */ 23531 L_39006AF9: 23532 edi = MEM32(ecx + 0x4); /* 0x39006AF9: mov edi, dword ptr [ecx + 4] */ 23533 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x39006AFC: cmp ecx, dword ptr [edi + 8] */ 23534 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 23535 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23536 _flag_k = FK_CMP; 23537 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B0C; /* 0x39006AFF: jne 0x39006b0c */ 23538 L_39006B01: 23539 MEM32(edi + 0x8) = edx; /* 0x39006B01: mov dword ptr [edi + 8], edx */ 23540 MEM32(edx + 0x8) = ecx; /* 0x39006B04: mov dword ptr [edx + 8], ecx */ 23541 goto L_39006BAB; /* 0x39006B07: jmp 0x39006bab */ 23542 L_39006B0C: 23543 MEM32(edi) = edx; /* 0x39006B0C: mov dword ptr [edi], edx */ 23544 MEM32(edx + 0x8) = ecx; /* 0x39006B0E: mov dword ptr [edx + 8], ecx */ 23545 goto L_39006BAB; /* 0x39006B11: jmp 0x39006bab */ 23546 L_39006B16: 23547 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x39006B16: cmp byte ptr [edx + 0x2c], 0 */ 23548 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 23549 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23550 _flag_k = FK_NARROW(FK_CMP, 24); 23551 RECOMP_BACKEDGE(); 23552 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006A5E; /* 0x39006B1A: je 0x39006a5e */ 23553 L_39006B20: 23554 /* cmp eax, MEM32(ecx) */ /* 0x39006B20: cmp eax, dword ptr [ecx] */ 23555 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 23556 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23557 _flag_k = FK_CMP; 23558 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B60; /* 0x39006B22: jne 0x39006b60 */ 23559 L_39006B24: 23560 eax = ecx; /* 0x39006B24: mov eax, ecx */ 23561 ecx = MEM32(eax); /* 0x39006B26: mov ecx, dword ptr [eax] */ 23562 edx = MEM32(ecx + 0x8); /* 0x39006B28: mov edx, dword ptr [ecx + 8] */ 23563 MEM32(eax) = edx; /* 0x39006B2B: mov dword ptr [eax], edx */ 23564 edx = MEM32(ecx + 0x8); /* 0x39006B2D: mov edx, dword ptr [ecx + 8] */ 23565 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006B30: cmp edx, dword ptr [esi + 8] */ 23566 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 23567 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23568 _flag_k = FK_CMP; 23569 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006B38; /* 0x39006B33: je 0x39006b38 */ 23570 L_39006B35: 23571 MEM32(edx + 0x4) = eax; /* 0x39006B35: mov dword ptr [edx + 4], eax */ 23572 L_39006B38: 23573 edx = MEM32(eax + 0x4); /* 0x39006B38: mov edx, dword ptr [eax + 4] */ 23574 MEM32(ecx + 0x4) = edx; /* 0x39006B3B: mov dword ptr [ecx + 4], edx */ 23575 edx = MEM32(esi + 0x4); /* 0x39006B3E: mov edx, dword ptr [esi + 4] */ 23576 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006B41: cmp eax, dword ptr [edx + 4] */ 23577 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 23578 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23579 _flag_k = FK_CMP; 23580 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B4B; /* 0x39006B44: jne 0x39006b4b */ 23581 L_39006B46: 23582 MEM32(edx + 0x4) = ecx; /* 0x39006B46: mov dword ptr [edx + 4], ecx */ 23583 goto L_39006B5A; /* 0x39006B49: jmp 0x39006b5a */ 23584 L_39006B4B: 23585 edx = MEM32(eax + 0x4); /* 0x39006B4B: mov edx, dword ptr [eax + 4] */ 23586 /* cmp eax, MEM32(edx + 0x8) */ /* 0x39006B4E: cmp eax, dword ptr [edx + 8] */ 23587 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 23588 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23589 _flag_k = FK_CMP; 23590 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B58; /* 0x39006B51: jne 0x39006b58 */ 23591 L_39006B53: 23592 MEM32(edx + 0x8) = ecx; /* 0x39006B53: mov dword ptr [edx + 8], ecx */ 23593 goto L_39006B5A; /* 0x39006B56: jmp 0x39006b5a */ 23594 L_39006B58: 23595 MEM32(edx) = ecx; /* 0x39006B58: mov dword ptr [edx], ecx */ 23596 L_39006B5A: 23597 MEM32(ecx + 0x8) = eax; /* 0x39006B5A: mov dword ptr [ecx + 8], eax */ 23598 MEM32(eax + 0x4) = ecx; /* 0x39006B5D: mov dword ptr [eax + 4], ecx */ 23599 L_39006B60: 23600 ecx = MEM32(eax + 0x4); /* 0x39006B60: mov ecx, dword ptr [eax + 4] */ 23601 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006B63: mov byte ptr [ecx + 0x2c], bl */ 23602 edx = MEM32(eax + 0x4); /* 0x39006B66: mov edx, dword ptr [eax + 4] */ 23603 ecx = MEM32(edx + 0x4); /* 0x39006B69: mov ecx, dword ptr [edx + 4] */ 23604 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006B6C: mov byte ptr [ecx + 0x2c], 0 */ 23605 edx = MEM32(eax + 0x4); /* 0x39006B70: mov edx, dword ptr [eax + 4] */ 23606 ecx = MEM32(edx + 0x4); /* 0x39006B73: mov ecx, dword ptr [edx + 4] */ 23607 edx = MEM32(ecx + 0x8); /* 0x39006B76: mov edx, dword ptr [ecx + 8] */ 23608 edi = MEM32(edx); /* 0x39006B79: mov edi, dword ptr [edx] */ 23609 MEM32(ecx + 0x8) = edi; /* 0x39006B7B: mov dword ptr [ecx + 8], edi */ 23610 edi = MEM32(edx); /* 0x39006B7E: mov edi, dword ptr [edx] */ 23611 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39006B80: cmp edi, dword ptr [esi + 8] */ 23612 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 23613 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23614 _flag_k = FK_CMP; 23615 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006B88; /* 0x39006B83: je 0x39006b88 */ 23616 L_39006B85: 23617 MEM32(edi + 0x4) = ecx; /* 0x39006B85: mov dword ptr [edi + 4], ecx */ 23618 L_39006B88: 23619 edi = MEM32(ecx + 0x4); /* 0x39006B88: mov edi, dword ptr [ecx + 4] */ 23620 MEM32(edx + 0x4) = edi; /* 0x39006B8B: mov dword ptr [edx + 4], edi */ 23621 edi = MEM32(esi + 0x4); /* 0x39006B8E: mov edi, dword ptr [esi + 4] */ 23622 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006B91: cmp ecx, dword ptr [edi + 4] */ 23623 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 23624 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23625 _flag_k = FK_CMP; 23626 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B9B; /* 0x39006B94: jne 0x39006b9b */ 23627 L_39006B96: 23628 MEM32(edi + 0x4) = edx; /* 0x39006B96: mov dword ptr [edi + 4], edx */ 23629 goto L_39006BA9; /* 0x39006B99: jmp 0x39006ba9 */ 23630 L_39006B9B: 23631 edi = MEM32(ecx + 0x4); /* 0x39006B9B: mov edi, dword ptr [ecx + 4] */ 23632 /* cmp ecx, MEM32(edi) */ /* 0x39006B9E: cmp ecx, dword ptr [edi] */ 23633 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 23634 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23635 _flag_k = FK_CMP; 23636 if (CMP_NE(_flag_a, _flag_b)) goto L_39006BA6; /* 0x39006BA0: jne 0x39006ba6 */ 23637 L_39006BA2: 23638 MEM32(edi) = edx; /* 0x39006BA2: mov dword ptr [edi], edx */ 23639 goto L_39006BA9; /* 0x39006BA4: jmp 0x39006ba9 */ 23640 L_39006BA6: 23641 MEM32(edi + 0x8) = edx; /* 0x39006BA6: mov dword ptr [edi + 8], edx */ 23642 L_39006BA9: 23643 MEM32(edx) = ecx; /* 0x39006BA9: mov dword ptr [edx], ecx */ 23644 L_39006BAB: 23645 MEM32(ecx + 0x4) = edx; /* 0x39006BAB: mov dword ptr [ecx + 4], edx */ 23646 L_39006BAE: 23647 ecx = MEM32(esi + 0x4); /* 0x39006BAE: mov ecx, dword ptr [esi + 4] */ 23648 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x39006BB1: cmp eax, dword ptr [ecx + 4] */ 23649 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 23650 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23651 _flag_k = FK_CMP; 23652 RECOMP_BACKEDGE(); 23653 if (CMP_NE(_flag_a, _flag_b)) goto L_39006A3A; /* 0x39006BB4: jne 0x39006a3a */ 23654 L_39006BBA: 23655 edx = MEM32(esi + 0x4); /* 0x39006BBA: mov edx, dword ptr [esi + 4] */ 23656 ecx = MEM32(ebp + (-0x4)); /* 0x39006BBD: mov ecx, dword ptr [ebp - 4] */ 23657 edi = POP32_VAL(esp); /* 0x39006BC0: pop edi */ 23658 esi = POP32_VAL(esp); /* 0x39006BC1: pop esi */ 23659 eax = MEM32(edx + 0x4); /* 0x39006BC2: mov eax, dword ptr [edx + 4] */ 23660 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006BC5: mov byte ptr [eax + 0x2c], bl */ 23661 eax = MEM32(ebp + 0x8); /* 0x39006BC8: mov eax, dword ptr [ebp + 8] */ 23662 ebx = POP32_VAL(esp); /* 0x39006BCB: pop ebx */ 23663 MEM32(eax) = ecx; /* 0x39006BCC: mov dword ptr [eax], ecx */ 23664 esp = ebp; /* 0x39006BCE: mov esp, ebp */ 23665 ebp = POP32_VAL(esp); /* 0x39006BD0: pop ebp */ 23666 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39006BD1: ret 0x10 */ 23667 RECOMP_REGS_OUT(); 23668 } 23669 23670 void sub_39006B60(void) { 23671 int _fpu_cmp = 0; 23672 uint32_t _cf = 0; 23673 int _df = 1; 23674 uint32_t _flag_k = FK_NONE; 23675 uint32_t _flag_a = 0, _flag_b = 0; 23676 uint32_t _itail_tgt = 0; 23677 RECOMP_REGS_LOCALS 23678 RECOMP_ENTER(0x39006B60u); 23679 23680 goto L_39006B60; 23681 L_39006A3A: 23682 ecx = MEM32(eax + 0x4); /* 0x39006A3A: mov ecx, dword ptr [eax + 4] */ 23683 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39006A3D: mov dl, byte ptr [ecx + 0x2c] */ 23684 /* test LO8(edx), LO8(edx) */ /* 0x39006A40: test dl, dl */ 23685 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 23686 _cf = 0; 23687 _flag_k = FK_NARROW(FK_TEST, 24); 23688 if (TEST_NZ(_flag_a, _flag_b)) goto L_39006BBA; /* 0x39006A42: jne 0x39006bba */ 23689 L_39006A48: 23690 edi = MEM32(ecx + 0x4); /* 0x39006A48: mov edi, dword ptr [ecx + 4] */ 23691 edx = MEM32(edi); /* 0x39006A4B: mov edx, dword ptr [edi] */ 23692 /* cmp ecx, edx */ /* 0x39006A4D: cmp ecx, edx */ 23693 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 23694 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23695 _flag_k = FK_CMP; 23696 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B16; /* 0x39006A4F: jne 0x39006b16 */ 23697 L_39006A55: 23698 edx = MEM32(edi + 0x8); /* 0x39006A55: mov edx, dword ptr [edi + 8] */ 23699 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x39006A58: cmp byte ptr [edx + 0x2c], 0 */ 23700 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 23701 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23702 _flag_k = FK_NARROW(FK_CMP, 24); 23703 if (CMP_NE(_flag_a, _flag_b)) goto L_39006A79; /* 0x39006A5C: jne 0x39006a79 */ 23704 L_39006A5E: 23705 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006A5E: mov byte ptr [ecx + 0x2c], bl */ 23706 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006A61: mov byte ptr [edx + 0x2c], bl */ 23707 ecx = MEM32(eax + 0x4); /* 0x39006A64: mov ecx, dword ptr [eax + 4] */ 23708 edx = MEM32(ecx + 0x4); /* 0x39006A67: mov edx, dword ptr [ecx + 4] */ 23709 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x39006A6A: mov byte ptr [edx + 0x2c], 0 */ 23710 eax = MEM32(eax + 0x4); /* 0x39006A6E: mov eax, dword ptr [eax + 4] */ 23711 eax = MEM32(eax + 0x4); /* 0x39006A71: mov eax, dword ptr [eax + 4] */ 23712 goto L_39006BAE; /* 0x39006A74: jmp 0x39006bae */ 23713 L_39006A79: 23714 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x39006A79: cmp eax, dword ptr [ecx + 8] */ 23715 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 23716 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23717 _flag_k = FK_CMP; 23718 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AB8; /* 0x39006A7C: jne 0x39006ab8 */ 23719 L_39006A7E: 23720 eax = ecx; /* 0x39006A7E: mov eax, ecx */ 23721 ecx = MEM32(eax + 0x8); /* 0x39006A80: mov ecx, dword ptr [eax + 8] */ 23722 edx = MEM32(ecx); /* 0x39006A83: mov edx, dword ptr [ecx] */ 23723 MEM32(eax + 0x8) = edx; /* 0x39006A85: mov dword ptr [eax + 8], edx */ 23724 edx = MEM32(ecx); /* 0x39006A88: mov edx, dword ptr [ecx] */ 23725 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006A8A: cmp edx, dword ptr [esi + 8] */ 23726 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 23727 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23728 _flag_k = FK_CMP; 23729 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006A92; /* 0x39006A8D: je 0x39006a92 */ 23730 L_39006A8F: 23731 MEM32(edx + 0x4) = eax; /* 0x39006A8F: mov dword ptr [edx + 4], eax */ 23732 L_39006A92: 23733 edx = MEM32(eax + 0x4); /* 0x39006A92: mov edx, dword ptr [eax + 4] */ 23734 MEM32(ecx + 0x4) = edx; /* 0x39006A95: mov dword ptr [ecx + 4], edx */ 23735 edx = MEM32(esi + 0x4); /* 0x39006A98: mov edx, dword ptr [esi + 4] */ 23736 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006A9B: cmp eax, dword ptr [edx + 4] */ 23737 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 23738 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23739 _flag_k = FK_CMP; 23740 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AA5; /* 0x39006A9E: jne 0x39006aa5 */ 23741 L_39006AA0: 23742 MEM32(edx + 0x4) = ecx; /* 0x39006AA0: mov dword ptr [edx + 4], ecx */ 23743 goto L_39006AB3; /* 0x39006AA3: jmp 0x39006ab3 */ 23744 L_39006AA5: 23745 edx = MEM32(eax + 0x4); /* 0x39006AA5: mov edx, dword ptr [eax + 4] */ 23746 /* cmp eax, MEM32(edx) */ /* 0x39006AA8: cmp eax, dword ptr [edx] */ 23747 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 23748 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23749 _flag_k = FK_CMP; 23750 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AB0; /* 0x39006AAA: jne 0x39006ab0 */ 23751 L_39006AAC: 23752 MEM32(edx) = ecx; /* 0x39006AAC: mov dword ptr [edx], ecx */ 23753 goto L_39006AB3; /* 0x39006AAE: jmp 0x39006ab3 */ 23754 L_39006AB0: 23755 MEM32(edx + 0x8) = ecx; /* 0x39006AB0: mov dword ptr [edx + 8], ecx */ 23756 L_39006AB3: 23757 MEM32(ecx) = eax; /* 0x39006AB3: mov dword ptr [ecx], eax */ 23758 MEM32(eax + 0x4) = ecx; /* 0x39006AB5: mov dword ptr [eax + 4], ecx */ 23759 L_39006AB8: 23760 ecx = MEM32(eax + 0x4); /* 0x39006AB8: mov ecx, dword ptr [eax + 4] */ 23761 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006ABB: mov byte ptr [ecx + 0x2c], bl */ 23762 edx = MEM32(eax + 0x4); /* 0x39006ABE: mov edx, dword ptr [eax + 4] */ 23763 ecx = MEM32(edx + 0x4); /* 0x39006AC1: mov ecx, dword ptr [edx + 4] */ 23764 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006AC4: mov byte ptr [ecx + 0x2c], 0 */ 23765 edx = MEM32(eax + 0x4); /* 0x39006AC8: mov edx, dword ptr [eax + 4] */ 23766 ecx = MEM32(edx + 0x4); /* 0x39006ACB: mov ecx, dword ptr [edx + 4] */ 23767 edx = MEM32(ecx); /* 0x39006ACE: mov edx, dword ptr [ecx] */ 23768 edi = MEM32(edx + 0x8); /* 0x39006AD0: mov edi, dword ptr [edx + 8] */ 23769 MEM32(ecx) = edi; /* 0x39006AD3: mov dword ptr [ecx], edi */ 23770 edi = MEM32(edx + 0x8); /* 0x39006AD5: mov edi, dword ptr [edx + 8] */ 23771 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39006AD8: cmp edi, dword ptr [esi + 8] */ 23772 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 23773 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23774 _flag_k = FK_CMP; 23775 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006AE0; /* 0x39006ADB: je 0x39006ae0 */ 23776 L_39006ADD: 23777 MEM32(edi + 0x4) = ecx; /* 0x39006ADD: mov dword ptr [edi + 4], ecx */ 23778 L_39006AE0: 23779 edi = MEM32(ecx + 0x4); /* 0x39006AE0: mov edi, dword ptr [ecx + 4] */ 23780 MEM32(edx + 0x4) = edi; /* 0x39006AE3: mov dword ptr [edx + 4], edi */ 23781 edi = MEM32(esi + 0x4); /* 0x39006AE6: mov edi, dword ptr [esi + 4] */ 23782 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006AE9: cmp ecx, dword ptr [edi + 4] */ 23783 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 23784 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23785 _flag_k = FK_CMP; 23786 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AF9; /* 0x39006AEC: jne 0x39006af9 */ 23787 L_39006AEE: 23788 MEM32(edi + 0x4) = edx; /* 0x39006AEE: mov dword ptr [edi + 4], edx */ 23789 MEM32(edx + 0x8) = ecx; /* 0x39006AF1: mov dword ptr [edx + 8], ecx */ 23790 goto L_39006BAB; /* 0x39006AF4: jmp 0x39006bab */ 23791 L_39006AF9: 23792 edi = MEM32(ecx + 0x4); /* 0x39006AF9: mov edi, dword ptr [ecx + 4] */ 23793 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x39006AFC: cmp ecx, dword ptr [edi + 8] */ 23794 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 23795 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23796 _flag_k = FK_CMP; 23797 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B0C; /* 0x39006AFF: jne 0x39006b0c */ 23798 L_39006B01: 23799 MEM32(edi + 0x8) = edx; /* 0x39006B01: mov dword ptr [edi + 8], edx */ 23800 MEM32(edx + 0x8) = ecx; /* 0x39006B04: mov dword ptr [edx + 8], ecx */ 23801 goto L_39006BAB; /* 0x39006B07: jmp 0x39006bab */ 23802 L_39006B0C: 23803 MEM32(edi) = edx; /* 0x39006B0C: mov dword ptr [edi], edx */ 23804 MEM32(edx + 0x8) = ecx; /* 0x39006B0E: mov dword ptr [edx + 8], ecx */ 23805 goto L_39006BAB; /* 0x39006B11: jmp 0x39006bab */ 23806 L_39006B16: 23807 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x39006B16: cmp byte ptr [edx + 0x2c], 0 */ 23808 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 23809 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23810 _flag_k = FK_NARROW(FK_CMP, 24); 23811 RECOMP_BACKEDGE(); 23812 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006A5E; /* 0x39006B1A: je 0x39006a5e */ 23813 L_39006B20: 23814 /* cmp eax, MEM32(ecx) */ /* 0x39006B20: cmp eax, dword ptr [ecx] */ 23815 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 23816 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23817 _flag_k = FK_CMP; 23818 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B60; /* 0x39006B22: jne 0x39006b60 */ 23819 L_39006B24: 23820 eax = ecx; /* 0x39006B24: mov eax, ecx */ 23821 ecx = MEM32(eax); /* 0x39006B26: mov ecx, dword ptr [eax] */ 23822 edx = MEM32(ecx + 0x8); /* 0x39006B28: mov edx, dword ptr [ecx + 8] */ 23823 MEM32(eax) = edx; /* 0x39006B2B: mov dword ptr [eax], edx */ 23824 edx = MEM32(ecx + 0x8); /* 0x39006B2D: mov edx, dword ptr [ecx + 8] */ 23825 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006B30: cmp edx, dword ptr [esi + 8] */ 23826 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 23827 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23828 _flag_k = FK_CMP; 23829 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006B38; /* 0x39006B33: je 0x39006b38 */ 23830 L_39006B35: 23831 MEM32(edx + 0x4) = eax; /* 0x39006B35: mov dword ptr [edx + 4], eax */ 23832 L_39006B38: 23833 edx = MEM32(eax + 0x4); /* 0x39006B38: mov edx, dword ptr [eax + 4] */ 23834 MEM32(ecx + 0x4) = edx; /* 0x39006B3B: mov dword ptr [ecx + 4], edx */ 23835 edx = MEM32(esi + 0x4); /* 0x39006B3E: mov edx, dword ptr [esi + 4] */ 23836 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006B41: cmp eax, dword ptr [edx + 4] */ 23837 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 23838 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23839 _flag_k = FK_CMP; 23840 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B4B; /* 0x39006B44: jne 0x39006b4b */ 23841 L_39006B46: 23842 MEM32(edx + 0x4) = ecx; /* 0x39006B46: mov dword ptr [edx + 4], ecx */ 23843 goto L_39006B5A; /* 0x39006B49: jmp 0x39006b5a */ 23844 L_39006B4B: 23845 edx = MEM32(eax + 0x4); /* 0x39006B4B: mov edx, dword ptr [eax + 4] */ 23846 /* cmp eax, MEM32(edx + 0x8) */ /* 0x39006B4E: cmp eax, dword ptr [edx + 8] */ 23847 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 23848 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23849 _flag_k = FK_CMP; 23850 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B58; /* 0x39006B51: jne 0x39006b58 */ 23851 L_39006B53: 23852 MEM32(edx + 0x8) = ecx; /* 0x39006B53: mov dword ptr [edx + 8], ecx */ 23853 goto L_39006B5A; /* 0x39006B56: jmp 0x39006b5a */ 23854 L_39006B58: 23855 MEM32(edx) = ecx; /* 0x39006B58: mov dword ptr [edx], ecx */ 23856 L_39006B5A: 23857 MEM32(ecx + 0x8) = eax; /* 0x39006B5A: mov dword ptr [ecx + 8], eax */ 23858 MEM32(eax + 0x4) = ecx; /* 0x39006B5D: mov dword ptr [eax + 4], ecx */ 23859 L_39006B60: 23860 ecx = MEM32(eax + 0x4); /* 0x39006B60: mov ecx, dword ptr [eax + 4] */ 23861 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006B63: mov byte ptr [ecx + 0x2c], bl */ 23862 edx = MEM32(eax + 0x4); /* 0x39006B66: mov edx, dword ptr [eax + 4] */ 23863 ecx = MEM32(edx + 0x4); /* 0x39006B69: mov ecx, dword ptr [edx + 4] */ 23864 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006B6C: mov byte ptr [ecx + 0x2c], 0 */ 23865 edx = MEM32(eax + 0x4); /* 0x39006B70: mov edx, dword ptr [eax + 4] */ 23866 ecx = MEM32(edx + 0x4); /* 0x39006B73: mov ecx, dword ptr [edx + 4] */ 23867 edx = MEM32(ecx + 0x8); /* 0x39006B76: mov edx, dword ptr [ecx + 8] */ 23868 edi = MEM32(edx); /* 0x39006B79: mov edi, dword ptr [edx] */ 23869 MEM32(ecx + 0x8) = edi; /* 0x39006B7B: mov dword ptr [ecx + 8], edi */ 23870 edi = MEM32(edx); /* 0x39006B7E: mov edi, dword ptr [edx] */ 23871 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39006B80: cmp edi, dword ptr [esi + 8] */ 23872 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 23873 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23874 _flag_k = FK_CMP; 23875 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006B88; /* 0x39006B83: je 0x39006b88 */ 23876 L_39006B85: 23877 MEM32(edi + 0x4) = ecx; /* 0x39006B85: mov dword ptr [edi + 4], ecx */ 23878 L_39006B88: 23879 edi = MEM32(ecx + 0x4); /* 0x39006B88: mov edi, dword ptr [ecx + 4] */ 23880 MEM32(edx + 0x4) = edi; /* 0x39006B8B: mov dword ptr [edx + 4], edi */ 23881 edi = MEM32(esi + 0x4); /* 0x39006B8E: mov edi, dword ptr [esi + 4] */ 23882 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006B91: cmp ecx, dword ptr [edi + 4] */ 23883 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 23884 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23885 _flag_k = FK_CMP; 23886 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B9B; /* 0x39006B94: jne 0x39006b9b */ 23887 L_39006B96: 23888 MEM32(edi + 0x4) = edx; /* 0x39006B96: mov dword ptr [edi + 4], edx */ 23889 goto L_39006BA9; /* 0x39006B99: jmp 0x39006ba9 */ 23890 L_39006B9B: 23891 edi = MEM32(ecx + 0x4); /* 0x39006B9B: mov edi, dword ptr [ecx + 4] */ 23892 /* cmp ecx, MEM32(edi) */ /* 0x39006B9E: cmp ecx, dword ptr [edi] */ 23893 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 23894 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23895 _flag_k = FK_CMP; 23896 if (CMP_NE(_flag_a, _flag_b)) goto L_39006BA6; /* 0x39006BA0: jne 0x39006ba6 */ 23897 L_39006BA2: 23898 MEM32(edi) = edx; /* 0x39006BA2: mov dword ptr [edi], edx */ 23899 goto L_39006BA9; /* 0x39006BA4: jmp 0x39006ba9 */ 23900 L_39006BA6: 23901 MEM32(edi + 0x8) = edx; /* 0x39006BA6: mov dword ptr [edi + 8], edx */ 23902 L_39006BA9: 23903 MEM32(edx) = ecx; /* 0x39006BA9: mov dword ptr [edx], ecx */ 23904 L_39006BAB: 23905 MEM32(ecx + 0x4) = edx; /* 0x39006BAB: mov dword ptr [ecx + 4], edx */ 23906 L_39006BAE: 23907 ecx = MEM32(esi + 0x4); /* 0x39006BAE: mov ecx, dword ptr [esi + 4] */ 23908 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x39006BB1: cmp eax, dword ptr [ecx + 4] */ 23909 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 23910 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23911 _flag_k = FK_CMP; 23912 RECOMP_BACKEDGE(); 23913 if (CMP_NE(_flag_a, _flag_b)) goto L_39006A3A; /* 0x39006BB4: jne 0x39006a3a */ 23914 L_39006BBA: 23915 edx = MEM32(esi + 0x4); /* 0x39006BBA: mov edx, dword ptr [esi + 4] */ 23916 ecx = MEM32(ebp + (-0x4)); /* 0x39006BBD: mov ecx, dword ptr [ebp - 4] */ 23917 edi = POP32_VAL(esp); /* 0x39006BC0: pop edi */ 23918 esi = POP32_VAL(esp); /* 0x39006BC1: pop esi */ 23919 eax = MEM32(edx + 0x4); /* 0x39006BC2: mov eax, dword ptr [edx + 4] */ 23920 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006BC5: mov byte ptr [eax + 0x2c], bl */ 23921 eax = MEM32(ebp + 0x8); /* 0x39006BC8: mov eax, dword ptr [ebp + 8] */ 23922 ebx = POP32_VAL(esp); /* 0x39006BCB: pop ebx */ 23923 MEM32(eax) = ecx; /* 0x39006BCC: mov dword ptr [eax], ecx */ 23924 esp = ebp; /* 0x39006BCE: mov esp, ebp */ 23925 ebp = POP32_VAL(esp); /* 0x39006BD0: pop ebp */ 23926 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39006BD1: ret 0x10 */ 23927 RECOMP_REGS_OUT(); 23928 } 23929 23930 void sub_39006BA9(void) { 23931 int _fpu_cmp = 0; 23932 uint32_t _cf = 0; 23933 int _df = 1; 23934 uint32_t _flag_k = FK_NONE; 23935 uint32_t _flag_a = 0, _flag_b = 0; 23936 uint32_t _itail_tgt = 0; 23937 RECOMP_REGS_LOCALS 23938 RECOMP_ENTER(0x39006BA9u); 23939 23940 goto L_39006BA9; 23941 L_39006A3A: 23942 ecx = MEM32(eax + 0x4); /* 0x39006A3A: mov ecx, dword ptr [eax + 4] */ 23943 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39006A3D: mov dl, byte ptr [ecx + 0x2c] */ 23944 /* test LO8(edx), LO8(edx) */ /* 0x39006A40: test dl, dl */ 23945 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 23946 _cf = 0; 23947 _flag_k = FK_NARROW(FK_TEST, 24); 23948 if (TEST_NZ(_flag_a, _flag_b)) goto L_39006BBA; /* 0x39006A42: jne 0x39006bba */ 23949 L_39006A48: 23950 edi = MEM32(ecx + 0x4); /* 0x39006A48: mov edi, dword ptr [ecx + 4] */ 23951 edx = MEM32(edi); /* 0x39006A4B: mov edx, dword ptr [edi] */ 23952 /* cmp ecx, edx */ /* 0x39006A4D: cmp ecx, edx */ 23953 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 23954 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23955 _flag_k = FK_CMP; 23956 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B16; /* 0x39006A4F: jne 0x39006b16 */ 23957 L_39006A55: 23958 edx = MEM32(edi + 0x8); /* 0x39006A55: mov edx, dword ptr [edi + 8] */ 23959 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x39006A58: cmp byte ptr [edx + 0x2c], 0 */ 23960 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 23961 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23962 _flag_k = FK_NARROW(FK_CMP, 24); 23963 if (CMP_NE(_flag_a, _flag_b)) goto L_39006A79; /* 0x39006A5C: jne 0x39006a79 */ 23964 L_39006A5E: 23965 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006A5E: mov byte ptr [ecx + 0x2c], bl */ 23966 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006A61: mov byte ptr [edx + 0x2c], bl */ 23967 ecx = MEM32(eax + 0x4); /* 0x39006A64: mov ecx, dword ptr [eax + 4] */ 23968 edx = MEM32(ecx + 0x4); /* 0x39006A67: mov edx, dword ptr [ecx + 4] */ 23969 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x39006A6A: mov byte ptr [edx + 0x2c], 0 */ 23970 eax = MEM32(eax + 0x4); /* 0x39006A6E: mov eax, dword ptr [eax + 4] */ 23971 eax = MEM32(eax + 0x4); /* 0x39006A71: mov eax, dword ptr [eax + 4] */ 23972 goto L_39006BAE; /* 0x39006A74: jmp 0x39006bae */ 23973 L_39006A79: 23974 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x39006A79: cmp eax, dword ptr [ecx + 8] */ 23975 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 23976 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23977 _flag_k = FK_CMP; 23978 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AB8; /* 0x39006A7C: jne 0x39006ab8 */ 23979 L_39006A7E: 23980 eax = ecx; /* 0x39006A7E: mov eax, ecx */ 23981 ecx = MEM32(eax + 0x8); /* 0x39006A80: mov ecx, dword ptr [eax + 8] */ 23982 edx = MEM32(ecx); /* 0x39006A83: mov edx, dword ptr [ecx] */ 23983 MEM32(eax + 0x8) = edx; /* 0x39006A85: mov dword ptr [eax + 8], edx */ 23984 edx = MEM32(ecx); /* 0x39006A88: mov edx, dword ptr [ecx] */ 23985 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006A8A: cmp edx, dword ptr [esi + 8] */ 23986 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 23987 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23988 _flag_k = FK_CMP; 23989 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006A92; /* 0x39006A8D: je 0x39006a92 */ 23990 L_39006A8F: 23991 MEM32(edx + 0x4) = eax; /* 0x39006A8F: mov dword ptr [edx + 4], eax */ 23992 L_39006A92: 23993 edx = MEM32(eax + 0x4); /* 0x39006A92: mov edx, dword ptr [eax + 4] */ 23994 MEM32(ecx + 0x4) = edx; /* 0x39006A95: mov dword ptr [ecx + 4], edx */ 23995 edx = MEM32(esi + 0x4); /* 0x39006A98: mov edx, dword ptr [esi + 4] */ 23996 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006A9B: cmp eax, dword ptr [edx + 4] */ 23997 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 23998 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23999 _flag_k = FK_CMP; 24000 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AA5; /* 0x39006A9E: jne 0x39006aa5 */ 24001 L_39006AA0: 24002 MEM32(edx + 0x4) = ecx; /* 0x39006AA0: mov dword ptr [edx + 4], ecx */ 24003 goto L_39006AB3; /* 0x39006AA3: jmp 0x39006ab3 */ 24004 L_39006AA5: 24005 edx = MEM32(eax + 0x4); /* 0x39006AA5: mov edx, dword ptr [eax + 4] */ 24006 /* cmp eax, MEM32(edx) */ /* 0x39006AA8: cmp eax, dword ptr [edx] */ 24007 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 24008 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24009 _flag_k = FK_CMP; 24010 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AB0; /* 0x39006AAA: jne 0x39006ab0 */ 24011 L_39006AAC: 24012 MEM32(edx) = ecx; /* 0x39006AAC: mov dword ptr [edx], ecx */ 24013 goto L_39006AB3; /* 0x39006AAE: jmp 0x39006ab3 */ 24014 L_39006AB0: 24015 MEM32(edx + 0x8) = ecx; /* 0x39006AB0: mov dword ptr [edx + 8], ecx */ 24016 L_39006AB3: 24017 MEM32(ecx) = eax; /* 0x39006AB3: mov dword ptr [ecx], eax */ 24018 MEM32(eax + 0x4) = ecx; /* 0x39006AB5: mov dword ptr [eax + 4], ecx */ 24019 L_39006AB8: 24020 ecx = MEM32(eax + 0x4); /* 0x39006AB8: mov ecx, dword ptr [eax + 4] */ 24021 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006ABB: mov byte ptr [ecx + 0x2c], bl */ 24022 edx = MEM32(eax + 0x4); /* 0x39006ABE: mov edx, dword ptr [eax + 4] */ 24023 ecx = MEM32(edx + 0x4); /* 0x39006AC1: mov ecx, dword ptr [edx + 4] */ 24024 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006AC4: mov byte ptr [ecx + 0x2c], 0 */ 24025 edx = MEM32(eax + 0x4); /* 0x39006AC8: mov edx, dword ptr [eax + 4] */ 24026 ecx = MEM32(edx + 0x4); /* 0x39006ACB: mov ecx, dword ptr [edx + 4] */ 24027 edx = MEM32(ecx); /* 0x39006ACE: mov edx, dword ptr [ecx] */ 24028 edi = MEM32(edx + 0x8); /* 0x39006AD0: mov edi, dword ptr [edx + 8] */ 24029 MEM32(ecx) = edi; /* 0x39006AD3: mov dword ptr [ecx], edi */ 24030 edi = MEM32(edx + 0x8); /* 0x39006AD5: mov edi, dword ptr [edx + 8] */ 24031 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39006AD8: cmp edi, dword ptr [esi + 8] */ 24032 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 24033 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24034 _flag_k = FK_CMP; 24035 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006AE0; /* 0x39006ADB: je 0x39006ae0 */ 24036 L_39006ADD: 24037 MEM32(edi + 0x4) = ecx; /* 0x39006ADD: mov dword ptr [edi + 4], ecx */ 24038 L_39006AE0: 24039 edi = MEM32(ecx + 0x4); /* 0x39006AE0: mov edi, dword ptr [ecx + 4] */ 24040 MEM32(edx + 0x4) = edi; /* 0x39006AE3: mov dword ptr [edx + 4], edi */ 24041 edi = MEM32(esi + 0x4); /* 0x39006AE6: mov edi, dword ptr [esi + 4] */ 24042 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006AE9: cmp ecx, dword ptr [edi + 4] */ 24043 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 24044 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24045 _flag_k = FK_CMP; 24046 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AF9; /* 0x39006AEC: jne 0x39006af9 */ 24047 L_39006AEE: 24048 MEM32(edi + 0x4) = edx; /* 0x39006AEE: mov dword ptr [edi + 4], edx */ 24049 MEM32(edx + 0x8) = ecx; /* 0x39006AF1: mov dword ptr [edx + 8], ecx */ 24050 goto L_39006BAB; /* 0x39006AF4: jmp 0x39006bab */ 24051 L_39006AF9: 24052 edi = MEM32(ecx + 0x4); /* 0x39006AF9: mov edi, dword ptr [ecx + 4] */ 24053 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x39006AFC: cmp ecx, dword ptr [edi + 8] */ 24054 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 24055 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24056 _flag_k = FK_CMP; 24057 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B0C; /* 0x39006AFF: jne 0x39006b0c */ 24058 L_39006B01: 24059 MEM32(edi + 0x8) = edx; /* 0x39006B01: mov dword ptr [edi + 8], edx */ 24060 MEM32(edx + 0x8) = ecx; /* 0x39006B04: mov dword ptr [edx + 8], ecx */ 24061 goto L_39006BAB; /* 0x39006B07: jmp 0x39006bab */ 24062 L_39006B0C: 24063 MEM32(edi) = edx; /* 0x39006B0C: mov dword ptr [edi], edx */ 24064 MEM32(edx + 0x8) = ecx; /* 0x39006B0E: mov dword ptr [edx + 8], ecx */ 24065 goto L_39006BAB; /* 0x39006B11: jmp 0x39006bab */ 24066 L_39006B16: 24067 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x39006B16: cmp byte ptr [edx + 0x2c], 0 */ 24068 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 24069 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24070 _flag_k = FK_NARROW(FK_CMP, 24); 24071 RECOMP_BACKEDGE(); 24072 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006A5E; /* 0x39006B1A: je 0x39006a5e */ 24073 L_39006B20: 24074 /* cmp eax, MEM32(ecx) */ /* 0x39006B20: cmp eax, dword ptr [ecx] */ 24075 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 24076 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24077 _flag_k = FK_CMP; 24078 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B60; /* 0x39006B22: jne 0x39006b60 */ 24079 L_39006B24: 24080 eax = ecx; /* 0x39006B24: mov eax, ecx */ 24081 ecx = MEM32(eax); /* 0x39006B26: mov ecx, dword ptr [eax] */ 24082 edx = MEM32(ecx + 0x8); /* 0x39006B28: mov edx, dword ptr [ecx + 8] */ 24083 MEM32(eax) = edx; /* 0x39006B2B: mov dword ptr [eax], edx */ 24084 edx = MEM32(ecx + 0x8); /* 0x39006B2D: mov edx, dword ptr [ecx + 8] */ 24085 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006B30: cmp edx, dword ptr [esi + 8] */ 24086 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 24087 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24088 _flag_k = FK_CMP; 24089 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006B38; /* 0x39006B33: je 0x39006b38 */ 24090 L_39006B35: 24091 MEM32(edx + 0x4) = eax; /* 0x39006B35: mov dword ptr [edx + 4], eax */ 24092 L_39006B38: 24093 edx = MEM32(eax + 0x4); /* 0x39006B38: mov edx, dword ptr [eax + 4] */ 24094 MEM32(ecx + 0x4) = edx; /* 0x39006B3B: mov dword ptr [ecx + 4], edx */ 24095 edx = MEM32(esi + 0x4); /* 0x39006B3E: mov edx, dword ptr [esi + 4] */ 24096 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006B41: cmp eax, dword ptr [edx + 4] */ 24097 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 24098 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24099 _flag_k = FK_CMP; 24100 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B4B; /* 0x39006B44: jne 0x39006b4b */ 24101 L_39006B46: 24102 MEM32(edx + 0x4) = ecx; /* 0x39006B46: mov dword ptr [edx + 4], ecx */ 24103 goto L_39006B5A; /* 0x39006B49: jmp 0x39006b5a */ 24104 L_39006B4B: 24105 edx = MEM32(eax + 0x4); /* 0x39006B4B: mov edx, dword ptr [eax + 4] */ 24106 /* cmp eax, MEM32(edx + 0x8) */ /* 0x39006B4E: cmp eax, dword ptr [edx + 8] */ 24107 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 24108 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24109 _flag_k = FK_CMP; 24110 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B58; /* 0x39006B51: jne 0x39006b58 */ 24111 L_39006B53: 24112 MEM32(edx + 0x8) = ecx; /* 0x39006B53: mov dword ptr [edx + 8], ecx */ 24113 goto L_39006B5A; /* 0x39006B56: jmp 0x39006b5a */ 24114 L_39006B58: 24115 MEM32(edx) = ecx; /* 0x39006B58: mov dword ptr [edx], ecx */ 24116 L_39006B5A: 24117 MEM32(ecx + 0x8) = eax; /* 0x39006B5A: mov dword ptr [ecx + 8], eax */ 24118 MEM32(eax + 0x4) = ecx; /* 0x39006B5D: mov dword ptr [eax + 4], ecx */ 24119 L_39006B60: 24120 ecx = MEM32(eax + 0x4); /* 0x39006B60: mov ecx, dword ptr [eax + 4] */ 24121 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006B63: mov byte ptr [ecx + 0x2c], bl */ 24122 edx = MEM32(eax + 0x4); /* 0x39006B66: mov edx, dword ptr [eax + 4] */ 24123 ecx = MEM32(edx + 0x4); /* 0x39006B69: mov ecx, dword ptr [edx + 4] */ 24124 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006B6C: mov byte ptr [ecx + 0x2c], 0 */ 24125 edx = MEM32(eax + 0x4); /* 0x39006B70: mov edx, dword ptr [eax + 4] */ 24126 ecx = MEM32(edx + 0x4); /* 0x39006B73: mov ecx, dword ptr [edx + 4] */ 24127 edx = MEM32(ecx + 0x8); /* 0x39006B76: mov edx, dword ptr [ecx + 8] */ 24128 edi = MEM32(edx); /* 0x39006B79: mov edi, dword ptr [edx] */ 24129 MEM32(ecx + 0x8) = edi; /* 0x39006B7B: mov dword ptr [ecx + 8], edi */ 24130 edi = MEM32(edx); /* 0x39006B7E: mov edi, dword ptr [edx] */ 24131 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39006B80: cmp edi, dword ptr [esi + 8] */ 24132 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 24133 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24134 _flag_k = FK_CMP; 24135 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006B88; /* 0x39006B83: je 0x39006b88 */ 24136 L_39006B85: 24137 MEM32(edi + 0x4) = ecx; /* 0x39006B85: mov dword ptr [edi + 4], ecx */ 24138 L_39006B88: 24139 edi = MEM32(ecx + 0x4); /* 0x39006B88: mov edi, dword ptr [ecx + 4] */ 24140 MEM32(edx + 0x4) = edi; /* 0x39006B8B: mov dword ptr [edx + 4], edi */ 24141 edi = MEM32(esi + 0x4); /* 0x39006B8E: mov edi, dword ptr [esi + 4] */ 24142 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006B91: cmp ecx, dword ptr [edi + 4] */ 24143 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 24144 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24145 _flag_k = FK_CMP; 24146 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B9B; /* 0x39006B94: jne 0x39006b9b */ 24147 L_39006B96: 24148 MEM32(edi + 0x4) = edx; /* 0x39006B96: mov dword ptr [edi + 4], edx */ 24149 goto L_39006BA9; /* 0x39006B99: jmp 0x39006ba9 */ 24150 L_39006B9B: 24151 edi = MEM32(ecx + 0x4); /* 0x39006B9B: mov edi, dword ptr [ecx + 4] */ 24152 /* cmp ecx, MEM32(edi) */ /* 0x39006B9E: cmp ecx, dword ptr [edi] */ 24153 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 24154 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24155 _flag_k = FK_CMP; 24156 if (CMP_NE(_flag_a, _flag_b)) goto L_39006BA6; /* 0x39006BA0: jne 0x39006ba6 */ 24157 L_39006BA2: 24158 MEM32(edi) = edx; /* 0x39006BA2: mov dword ptr [edi], edx */ 24159 goto L_39006BA9; /* 0x39006BA4: jmp 0x39006ba9 */ 24160 L_39006BA6: 24161 MEM32(edi + 0x8) = edx; /* 0x39006BA6: mov dword ptr [edi + 8], edx */ 24162 L_39006BA9: 24163 MEM32(edx) = ecx; /* 0x39006BA9: mov dword ptr [edx], ecx */ 24164 L_39006BAB: 24165 MEM32(ecx + 0x4) = edx; /* 0x39006BAB: mov dword ptr [ecx + 4], edx */ 24166 L_39006BAE: 24167 ecx = MEM32(esi + 0x4); /* 0x39006BAE: mov ecx, dword ptr [esi + 4] */ 24168 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x39006BB1: cmp eax, dword ptr [ecx + 4] */ 24169 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 24170 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24171 _flag_k = FK_CMP; 24172 RECOMP_BACKEDGE(); 24173 if (CMP_NE(_flag_a, _flag_b)) goto L_39006A3A; /* 0x39006BB4: jne 0x39006a3a */ 24174 L_39006BBA: 24175 edx = MEM32(esi + 0x4); /* 0x39006BBA: mov edx, dword ptr [esi + 4] */ 24176 ecx = MEM32(ebp + (-0x4)); /* 0x39006BBD: mov ecx, dword ptr [ebp - 4] */ 24177 edi = POP32_VAL(esp); /* 0x39006BC0: pop edi */ 24178 esi = POP32_VAL(esp); /* 0x39006BC1: pop esi */ 24179 eax = MEM32(edx + 0x4); /* 0x39006BC2: mov eax, dword ptr [edx + 4] */ 24180 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006BC5: mov byte ptr [eax + 0x2c], bl */ 24181 eax = MEM32(ebp + 0x8); /* 0x39006BC8: mov eax, dword ptr [ebp + 8] */ 24182 ebx = POP32_VAL(esp); /* 0x39006BCB: pop ebx */ 24183 MEM32(eax) = ecx; /* 0x39006BCC: mov dword ptr [eax], ecx */ 24184 esp = ebp; /* 0x39006BCE: mov esp, ebp */ 24185 ebp = POP32_VAL(esp); /* 0x39006BD0: pop ebp */ 24186 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39006BD1: ret 0x10 */ 24187 RECOMP_REGS_OUT(); 24188 } 24189 24190 void sub_39006BAB(void) { 24191 int _fpu_cmp = 0; 24192 uint32_t _cf = 0; 24193 int _df = 1; 24194 uint32_t _flag_k = FK_NONE; 24195 uint32_t _flag_a = 0, _flag_b = 0; 24196 uint32_t _itail_tgt = 0; 24197 RECOMP_REGS_LOCALS 24198 RECOMP_ENTER(0x39006BABu); 24199 24200 goto L_39006BAB; 24201 L_39006A3A: 24202 ecx = MEM32(eax + 0x4); /* 0x39006A3A: mov ecx, dword ptr [eax + 4] */ 24203 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39006A3D: mov dl, byte ptr [ecx + 0x2c] */ 24204 /* test LO8(edx), LO8(edx) */ /* 0x39006A40: test dl, dl */ 24205 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 24206 _cf = 0; 24207 _flag_k = FK_NARROW(FK_TEST, 24); 24208 if (TEST_NZ(_flag_a, _flag_b)) goto L_39006BBA; /* 0x39006A42: jne 0x39006bba */ 24209 L_39006A48: 24210 edi = MEM32(ecx + 0x4); /* 0x39006A48: mov edi, dword ptr [ecx + 4] */ 24211 edx = MEM32(edi); /* 0x39006A4B: mov edx, dword ptr [edi] */ 24212 /* cmp ecx, edx */ /* 0x39006A4D: cmp ecx, edx */ 24213 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 24214 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24215 _flag_k = FK_CMP; 24216 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B16; /* 0x39006A4F: jne 0x39006b16 */ 24217 L_39006A55: 24218 edx = MEM32(edi + 0x8); /* 0x39006A55: mov edx, dword ptr [edi + 8] */ 24219 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x39006A58: cmp byte ptr [edx + 0x2c], 0 */ 24220 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 24221 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24222 _flag_k = FK_NARROW(FK_CMP, 24); 24223 if (CMP_NE(_flag_a, _flag_b)) goto L_39006A79; /* 0x39006A5C: jne 0x39006a79 */ 24224 L_39006A5E: 24225 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006A5E: mov byte ptr [ecx + 0x2c], bl */ 24226 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006A61: mov byte ptr [edx + 0x2c], bl */ 24227 ecx = MEM32(eax + 0x4); /* 0x39006A64: mov ecx, dword ptr [eax + 4] */ 24228 edx = MEM32(ecx + 0x4); /* 0x39006A67: mov edx, dword ptr [ecx + 4] */ 24229 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x39006A6A: mov byte ptr [edx + 0x2c], 0 */ 24230 eax = MEM32(eax + 0x4); /* 0x39006A6E: mov eax, dword ptr [eax + 4] */ 24231 eax = MEM32(eax + 0x4); /* 0x39006A71: mov eax, dword ptr [eax + 4] */ 24232 goto L_39006BAE; /* 0x39006A74: jmp 0x39006bae */ 24233 L_39006A79: 24234 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x39006A79: cmp eax, dword ptr [ecx + 8] */ 24235 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 24236 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24237 _flag_k = FK_CMP; 24238 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AB8; /* 0x39006A7C: jne 0x39006ab8 */ 24239 L_39006A7E: 24240 eax = ecx; /* 0x39006A7E: mov eax, ecx */ 24241 ecx = MEM32(eax + 0x8); /* 0x39006A80: mov ecx, dword ptr [eax + 8] */ 24242 edx = MEM32(ecx); /* 0x39006A83: mov edx, dword ptr [ecx] */ 24243 MEM32(eax + 0x8) = edx; /* 0x39006A85: mov dword ptr [eax + 8], edx */ 24244 edx = MEM32(ecx); /* 0x39006A88: mov edx, dword ptr [ecx] */ 24245 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006A8A: cmp edx, dword ptr [esi + 8] */ 24246 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 24247 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24248 _flag_k = FK_CMP; 24249 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006A92; /* 0x39006A8D: je 0x39006a92 */ 24250 L_39006A8F: 24251 MEM32(edx + 0x4) = eax; /* 0x39006A8F: mov dword ptr [edx + 4], eax */ 24252 L_39006A92: 24253 edx = MEM32(eax + 0x4); /* 0x39006A92: mov edx, dword ptr [eax + 4] */ 24254 MEM32(ecx + 0x4) = edx; /* 0x39006A95: mov dword ptr [ecx + 4], edx */ 24255 edx = MEM32(esi + 0x4); /* 0x39006A98: mov edx, dword ptr [esi + 4] */ 24256 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006A9B: cmp eax, dword ptr [edx + 4] */ 24257 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 24258 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24259 _flag_k = FK_CMP; 24260 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AA5; /* 0x39006A9E: jne 0x39006aa5 */ 24261 L_39006AA0: 24262 MEM32(edx + 0x4) = ecx; /* 0x39006AA0: mov dword ptr [edx + 4], ecx */ 24263 goto L_39006AB3; /* 0x39006AA3: jmp 0x39006ab3 */ 24264 L_39006AA5: 24265 edx = MEM32(eax + 0x4); /* 0x39006AA5: mov edx, dword ptr [eax + 4] */ 24266 /* cmp eax, MEM32(edx) */ /* 0x39006AA8: cmp eax, dword ptr [edx] */ 24267 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 24268 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24269 _flag_k = FK_CMP; 24270 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AB0; /* 0x39006AAA: jne 0x39006ab0 */ 24271 L_39006AAC: 24272 MEM32(edx) = ecx; /* 0x39006AAC: mov dword ptr [edx], ecx */ 24273 goto L_39006AB3; /* 0x39006AAE: jmp 0x39006ab3 */ 24274 L_39006AB0: 24275 MEM32(edx + 0x8) = ecx; /* 0x39006AB0: mov dword ptr [edx + 8], ecx */ 24276 L_39006AB3: 24277 MEM32(ecx) = eax; /* 0x39006AB3: mov dword ptr [ecx], eax */ 24278 MEM32(eax + 0x4) = ecx; /* 0x39006AB5: mov dword ptr [eax + 4], ecx */ 24279 L_39006AB8: 24280 ecx = MEM32(eax + 0x4); /* 0x39006AB8: mov ecx, dword ptr [eax + 4] */ 24281 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006ABB: mov byte ptr [ecx + 0x2c], bl */ 24282 edx = MEM32(eax + 0x4); /* 0x39006ABE: mov edx, dword ptr [eax + 4] */ 24283 ecx = MEM32(edx + 0x4); /* 0x39006AC1: mov ecx, dword ptr [edx + 4] */ 24284 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006AC4: mov byte ptr [ecx + 0x2c], 0 */ 24285 edx = MEM32(eax + 0x4); /* 0x39006AC8: mov edx, dword ptr [eax + 4] */ 24286 ecx = MEM32(edx + 0x4); /* 0x39006ACB: mov ecx, dword ptr [edx + 4] */ 24287 edx = MEM32(ecx); /* 0x39006ACE: mov edx, dword ptr [ecx] */ 24288 edi = MEM32(edx + 0x8); /* 0x39006AD0: mov edi, dword ptr [edx + 8] */ 24289 MEM32(ecx) = edi; /* 0x39006AD3: mov dword ptr [ecx], edi */ 24290 edi = MEM32(edx + 0x8); /* 0x39006AD5: mov edi, dword ptr [edx + 8] */ 24291 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39006AD8: cmp edi, dword ptr [esi + 8] */ 24292 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 24293 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24294 _flag_k = FK_CMP; 24295 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006AE0; /* 0x39006ADB: je 0x39006ae0 */ 24296 L_39006ADD: 24297 MEM32(edi + 0x4) = ecx; /* 0x39006ADD: mov dword ptr [edi + 4], ecx */ 24298 L_39006AE0: 24299 edi = MEM32(ecx + 0x4); /* 0x39006AE0: mov edi, dword ptr [ecx + 4] */ 24300 MEM32(edx + 0x4) = edi; /* 0x39006AE3: mov dword ptr [edx + 4], edi */ 24301 edi = MEM32(esi + 0x4); /* 0x39006AE6: mov edi, dword ptr [esi + 4] */ 24302 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006AE9: cmp ecx, dword ptr [edi + 4] */ 24303 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 24304 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24305 _flag_k = FK_CMP; 24306 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AF9; /* 0x39006AEC: jne 0x39006af9 */ 24307 L_39006AEE: 24308 MEM32(edi + 0x4) = edx; /* 0x39006AEE: mov dword ptr [edi + 4], edx */ 24309 MEM32(edx + 0x8) = ecx; /* 0x39006AF1: mov dword ptr [edx + 8], ecx */ 24310 goto L_39006BAB; /* 0x39006AF4: jmp 0x39006bab */ 24311 L_39006AF9: 24312 edi = MEM32(ecx + 0x4); /* 0x39006AF9: mov edi, dword ptr [ecx + 4] */ 24313 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x39006AFC: cmp ecx, dword ptr [edi + 8] */ 24314 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 24315 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24316 _flag_k = FK_CMP; 24317 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B0C; /* 0x39006AFF: jne 0x39006b0c */ 24318 L_39006B01: 24319 MEM32(edi + 0x8) = edx; /* 0x39006B01: mov dword ptr [edi + 8], edx */ 24320 MEM32(edx + 0x8) = ecx; /* 0x39006B04: mov dword ptr [edx + 8], ecx */ 24321 goto L_39006BAB; /* 0x39006B07: jmp 0x39006bab */ 24322 L_39006B0C: 24323 MEM32(edi) = edx; /* 0x39006B0C: mov dword ptr [edi], edx */ 24324 MEM32(edx + 0x8) = ecx; /* 0x39006B0E: mov dword ptr [edx + 8], ecx */ 24325 goto L_39006BAB; /* 0x39006B11: jmp 0x39006bab */ 24326 L_39006B16: 24327 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x39006B16: cmp byte ptr [edx + 0x2c], 0 */ 24328 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 24329 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24330 _flag_k = FK_NARROW(FK_CMP, 24); 24331 RECOMP_BACKEDGE(); 24332 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006A5E; /* 0x39006B1A: je 0x39006a5e */ 24333 L_39006B20: 24334 /* cmp eax, MEM32(ecx) */ /* 0x39006B20: cmp eax, dword ptr [ecx] */ 24335 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 24336 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24337 _flag_k = FK_CMP; 24338 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B60; /* 0x39006B22: jne 0x39006b60 */ 24339 L_39006B24: 24340 eax = ecx; /* 0x39006B24: mov eax, ecx */ 24341 ecx = MEM32(eax); /* 0x39006B26: mov ecx, dword ptr [eax] */ 24342 edx = MEM32(ecx + 0x8); /* 0x39006B28: mov edx, dword ptr [ecx + 8] */ 24343 MEM32(eax) = edx; /* 0x39006B2B: mov dword ptr [eax], edx */ 24344 edx = MEM32(ecx + 0x8); /* 0x39006B2D: mov edx, dword ptr [ecx + 8] */ 24345 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006B30: cmp edx, dword ptr [esi + 8] */ 24346 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 24347 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24348 _flag_k = FK_CMP; 24349 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006B38; /* 0x39006B33: je 0x39006b38 */ 24350 L_39006B35: 24351 MEM32(edx + 0x4) = eax; /* 0x39006B35: mov dword ptr [edx + 4], eax */ 24352 L_39006B38: 24353 edx = MEM32(eax + 0x4); /* 0x39006B38: mov edx, dword ptr [eax + 4] */ 24354 MEM32(ecx + 0x4) = edx; /* 0x39006B3B: mov dword ptr [ecx + 4], edx */ 24355 edx = MEM32(esi + 0x4); /* 0x39006B3E: mov edx, dword ptr [esi + 4] */ 24356 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006B41: cmp eax, dword ptr [edx + 4] */ 24357 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 24358 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24359 _flag_k = FK_CMP; 24360 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B4B; /* 0x39006B44: jne 0x39006b4b */ 24361 L_39006B46: 24362 MEM32(edx + 0x4) = ecx; /* 0x39006B46: mov dword ptr [edx + 4], ecx */ 24363 goto L_39006B5A; /* 0x39006B49: jmp 0x39006b5a */ 24364 L_39006B4B: 24365 edx = MEM32(eax + 0x4); /* 0x39006B4B: mov edx, dword ptr [eax + 4] */ 24366 /* cmp eax, MEM32(edx + 0x8) */ /* 0x39006B4E: cmp eax, dword ptr [edx + 8] */ 24367 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 24368 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24369 _flag_k = FK_CMP; 24370 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B58; /* 0x39006B51: jne 0x39006b58 */ 24371 L_39006B53: 24372 MEM32(edx + 0x8) = ecx; /* 0x39006B53: mov dword ptr [edx + 8], ecx */ 24373 goto L_39006B5A; /* 0x39006B56: jmp 0x39006b5a */ 24374 L_39006B58: 24375 MEM32(edx) = ecx; /* 0x39006B58: mov dword ptr [edx], ecx */ 24376 L_39006B5A: 24377 MEM32(ecx + 0x8) = eax; /* 0x39006B5A: mov dword ptr [ecx + 8], eax */ 24378 MEM32(eax + 0x4) = ecx; /* 0x39006B5D: mov dword ptr [eax + 4], ecx */ 24379 L_39006B60: 24380 ecx = MEM32(eax + 0x4); /* 0x39006B60: mov ecx, dword ptr [eax + 4] */ 24381 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006B63: mov byte ptr [ecx + 0x2c], bl */ 24382 edx = MEM32(eax + 0x4); /* 0x39006B66: mov edx, dword ptr [eax + 4] */ 24383 ecx = MEM32(edx + 0x4); /* 0x39006B69: mov ecx, dword ptr [edx + 4] */ 24384 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006B6C: mov byte ptr [ecx + 0x2c], 0 */ 24385 edx = MEM32(eax + 0x4); /* 0x39006B70: mov edx, dword ptr [eax + 4] */ 24386 ecx = MEM32(edx + 0x4); /* 0x39006B73: mov ecx, dword ptr [edx + 4] */ 24387 edx = MEM32(ecx + 0x8); /* 0x39006B76: mov edx, dword ptr [ecx + 8] */ 24388 edi = MEM32(edx); /* 0x39006B79: mov edi, dword ptr [edx] */ 24389 MEM32(ecx + 0x8) = edi; /* 0x39006B7B: mov dword ptr [ecx + 8], edi */ 24390 edi = MEM32(edx); /* 0x39006B7E: mov edi, dword ptr [edx] */ 24391 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39006B80: cmp edi, dword ptr [esi + 8] */ 24392 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 24393 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24394 _flag_k = FK_CMP; 24395 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006B88; /* 0x39006B83: je 0x39006b88 */ 24396 L_39006B85: 24397 MEM32(edi + 0x4) = ecx; /* 0x39006B85: mov dword ptr [edi + 4], ecx */ 24398 L_39006B88: 24399 edi = MEM32(ecx + 0x4); /* 0x39006B88: mov edi, dword ptr [ecx + 4] */ 24400 MEM32(edx + 0x4) = edi; /* 0x39006B8B: mov dword ptr [edx + 4], edi */ 24401 edi = MEM32(esi + 0x4); /* 0x39006B8E: mov edi, dword ptr [esi + 4] */ 24402 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006B91: cmp ecx, dword ptr [edi + 4] */ 24403 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 24404 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24405 _flag_k = FK_CMP; 24406 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B9B; /* 0x39006B94: jne 0x39006b9b */ 24407 L_39006B96: 24408 MEM32(edi + 0x4) = edx; /* 0x39006B96: mov dword ptr [edi + 4], edx */ 24409 goto L_39006BA9; /* 0x39006B99: jmp 0x39006ba9 */ 24410 L_39006B9B: 24411 edi = MEM32(ecx + 0x4); /* 0x39006B9B: mov edi, dword ptr [ecx + 4] */ 24412 /* cmp ecx, MEM32(edi) */ /* 0x39006B9E: cmp ecx, dword ptr [edi] */ 24413 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 24414 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24415 _flag_k = FK_CMP; 24416 if (CMP_NE(_flag_a, _flag_b)) goto L_39006BA6; /* 0x39006BA0: jne 0x39006ba6 */ 24417 L_39006BA2: 24418 MEM32(edi) = edx; /* 0x39006BA2: mov dword ptr [edi], edx */ 24419 goto L_39006BA9; /* 0x39006BA4: jmp 0x39006ba9 */ 24420 L_39006BA6: 24421 MEM32(edi + 0x8) = edx; /* 0x39006BA6: mov dword ptr [edi + 8], edx */ 24422 L_39006BA9: 24423 MEM32(edx) = ecx; /* 0x39006BA9: mov dword ptr [edx], ecx */ 24424 L_39006BAB: 24425 MEM32(ecx + 0x4) = edx; /* 0x39006BAB: mov dword ptr [ecx + 4], edx */ 24426 L_39006BAE: 24427 ecx = MEM32(esi + 0x4); /* 0x39006BAE: mov ecx, dword ptr [esi + 4] */ 24428 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x39006BB1: cmp eax, dword ptr [ecx + 4] */ 24429 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 24430 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24431 _flag_k = FK_CMP; 24432 RECOMP_BACKEDGE(); 24433 if (CMP_NE(_flag_a, _flag_b)) goto L_39006A3A; /* 0x39006BB4: jne 0x39006a3a */ 24434 L_39006BBA: 24435 edx = MEM32(esi + 0x4); /* 0x39006BBA: mov edx, dword ptr [esi + 4] */ 24436 ecx = MEM32(ebp + (-0x4)); /* 0x39006BBD: mov ecx, dword ptr [ebp - 4] */ 24437 edi = POP32_VAL(esp); /* 0x39006BC0: pop edi */ 24438 esi = POP32_VAL(esp); /* 0x39006BC1: pop esi */ 24439 eax = MEM32(edx + 0x4); /* 0x39006BC2: mov eax, dword ptr [edx + 4] */ 24440 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006BC5: mov byte ptr [eax + 0x2c], bl */ 24441 eax = MEM32(ebp + 0x8); /* 0x39006BC8: mov eax, dword ptr [ebp + 8] */ 24442 ebx = POP32_VAL(esp); /* 0x39006BCB: pop ebx */ 24443 MEM32(eax) = ecx; /* 0x39006BCC: mov dword ptr [eax], ecx */ 24444 esp = ebp; /* 0x39006BCE: mov esp, ebp */ 24445 ebp = POP32_VAL(esp); /* 0x39006BD0: pop ebp */ 24446 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39006BD1: ret 0x10 */ 24447 RECOMP_REGS_OUT(); 24448 } 24449 24450 void sub_39006BAE(void) { 24451 int _fpu_cmp = 0; 24452 uint32_t _cf = 0; 24453 int _df = 1; 24454 uint32_t _flag_k = FK_NONE; 24455 uint32_t _flag_a = 0, _flag_b = 0; 24456 uint32_t _itail_tgt = 0; 24457 RECOMP_REGS_LOCALS 24458 RECOMP_ENTER(0x39006BAEu); 24459 24460 goto L_39006BAE; 24461 L_39006A3A: 24462 ecx = MEM32(eax + 0x4); /* 0x39006A3A: mov ecx, dword ptr [eax + 4] */ 24463 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39006A3D: mov dl, byte ptr [ecx + 0x2c] */ 24464 /* test LO8(edx), LO8(edx) */ /* 0x39006A40: test dl, dl */ 24465 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 24466 _cf = 0; 24467 _flag_k = FK_NARROW(FK_TEST, 24); 24468 if (TEST_NZ(_flag_a, _flag_b)) goto L_39006BBA; /* 0x39006A42: jne 0x39006bba */ 24469 L_39006A48: 24470 edi = MEM32(ecx + 0x4); /* 0x39006A48: mov edi, dword ptr [ecx + 4] */ 24471 edx = MEM32(edi); /* 0x39006A4B: mov edx, dword ptr [edi] */ 24472 /* cmp ecx, edx */ /* 0x39006A4D: cmp ecx, edx */ 24473 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 24474 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24475 _flag_k = FK_CMP; 24476 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B16; /* 0x39006A4F: jne 0x39006b16 */ 24477 L_39006A55: 24478 edx = MEM32(edi + 0x8); /* 0x39006A55: mov edx, dword ptr [edi + 8] */ 24479 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x39006A58: cmp byte ptr [edx + 0x2c], 0 */ 24480 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 24481 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24482 _flag_k = FK_NARROW(FK_CMP, 24); 24483 if (CMP_NE(_flag_a, _flag_b)) goto L_39006A79; /* 0x39006A5C: jne 0x39006a79 */ 24484 L_39006A5E: 24485 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006A5E: mov byte ptr [ecx + 0x2c], bl */ 24486 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006A61: mov byte ptr [edx + 0x2c], bl */ 24487 ecx = MEM32(eax + 0x4); /* 0x39006A64: mov ecx, dword ptr [eax + 4] */ 24488 edx = MEM32(ecx + 0x4); /* 0x39006A67: mov edx, dword ptr [ecx + 4] */ 24489 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x39006A6A: mov byte ptr [edx + 0x2c], 0 */ 24490 eax = MEM32(eax + 0x4); /* 0x39006A6E: mov eax, dword ptr [eax + 4] */ 24491 eax = MEM32(eax + 0x4); /* 0x39006A71: mov eax, dword ptr [eax + 4] */ 24492 goto L_39006BAE; /* 0x39006A74: jmp 0x39006bae */ 24493 L_39006A79: 24494 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x39006A79: cmp eax, dword ptr [ecx + 8] */ 24495 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 24496 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24497 _flag_k = FK_CMP; 24498 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AB8; /* 0x39006A7C: jne 0x39006ab8 */ 24499 L_39006A7E: 24500 eax = ecx; /* 0x39006A7E: mov eax, ecx */ 24501 ecx = MEM32(eax + 0x8); /* 0x39006A80: mov ecx, dword ptr [eax + 8] */ 24502 edx = MEM32(ecx); /* 0x39006A83: mov edx, dword ptr [ecx] */ 24503 MEM32(eax + 0x8) = edx; /* 0x39006A85: mov dword ptr [eax + 8], edx */ 24504 edx = MEM32(ecx); /* 0x39006A88: mov edx, dword ptr [ecx] */ 24505 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006A8A: cmp edx, dword ptr [esi + 8] */ 24506 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 24507 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24508 _flag_k = FK_CMP; 24509 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006A92; /* 0x39006A8D: je 0x39006a92 */ 24510 L_39006A8F: 24511 MEM32(edx + 0x4) = eax; /* 0x39006A8F: mov dword ptr [edx + 4], eax */ 24512 L_39006A92: 24513 edx = MEM32(eax + 0x4); /* 0x39006A92: mov edx, dword ptr [eax + 4] */ 24514 MEM32(ecx + 0x4) = edx; /* 0x39006A95: mov dword ptr [ecx + 4], edx */ 24515 edx = MEM32(esi + 0x4); /* 0x39006A98: mov edx, dword ptr [esi + 4] */ 24516 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006A9B: cmp eax, dword ptr [edx + 4] */ 24517 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 24518 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24519 _flag_k = FK_CMP; 24520 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AA5; /* 0x39006A9E: jne 0x39006aa5 */ 24521 L_39006AA0: 24522 MEM32(edx + 0x4) = ecx; /* 0x39006AA0: mov dword ptr [edx + 4], ecx */ 24523 goto L_39006AB3; /* 0x39006AA3: jmp 0x39006ab3 */ 24524 L_39006AA5: 24525 edx = MEM32(eax + 0x4); /* 0x39006AA5: mov edx, dword ptr [eax + 4] */ 24526 /* cmp eax, MEM32(edx) */ /* 0x39006AA8: cmp eax, dword ptr [edx] */ 24527 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 24528 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24529 _flag_k = FK_CMP; 24530 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AB0; /* 0x39006AAA: jne 0x39006ab0 */ 24531 L_39006AAC: 24532 MEM32(edx) = ecx; /* 0x39006AAC: mov dword ptr [edx], ecx */ 24533 goto L_39006AB3; /* 0x39006AAE: jmp 0x39006ab3 */ 24534 L_39006AB0: 24535 MEM32(edx + 0x8) = ecx; /* 0x39006AB0: mov dword ptr [edx + 8], ecx */ 24536 L_39006AB3: 24537 MEM32(ecx) = eax; /* 0x39006AB3: mov dword ptr [ecx], eax */ 24538 MEM32(eax + 0x4) = ecx; /* 0x39006AB5: mov dword ptr [eax + 4], ecx */ 24539 L_39006AB8: 24540 ecx = MEM32(eax + 0x4); /* 0x39006AB8: mov ecx, dword ptr [eax + 4] */ 24541 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006ABB: mov byte ptr [ecx + 0x2c], bl */ 24542 edx = MEM32(eax + 0x4); /* 0x39006ABE: mov edx, dword ptr [eax + 4] */ 24543 ecx = MEM32(edx + 0x4); /* 0x39006AC1: mov ecx, dword ptr [edx + 4] */ 24544 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006AC4: mov byte ptr [ecx + 0x2c], 0 */ 24545 edx = MEM32(eax + 0x4); /* 0x39006AC8: mov edx, dword ptr [eax + 4] */ 24546 ecx = MEM32(edx + 0x4); /* 0x39006ACB: mov ecx, dword ptr [edx + 4] */ 24547 edx = MEM32(ecx); /* 0x39006ACE: mov edx, dword ptr [ecx] */ 24548 edi = MEM32(edx + 0x8); /* 0x39006AD0: mov edi, dword ptr [edx + 8] */ 24549 MEM32(ecx) = edi; /* 0x39006AD3: mov dword ptr [ecx], edi */ 24550 edi = MEM32(edx + 0x8); /* 0x39006AD5: mov edi, dword ptr [edx + 8] */ 24551 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39006AD8: cmp edi, dword ptr [esi + 8] */ 24552 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 24553 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24554 _flag_k = FK_CMP; 24555 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006AE0; /* 0x39006ADB: je 0x39006ae0 */ 24556 L_39006ADD: 24557 MEM32(edi + 0x4) = ecx; /* 0x39006ADD: mov dword ptr [edi + 4], ecx */ 24558 L_39006AE0: 24559 edi = MEM32(ecx + 0x4); /* 0x39006AE0: mov edi, dword ptr [ecx + 4] */ 24560 MEM32(edx + 0x4) = edi; /* 0x39006AE3: mov dword ptr [edx + 4], edi */ 24561 edi = MEM32(esi + 0x4); /* 0x39006AE6: mov edi, dword ptr [esi + 4] */ 24562 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006AE9: cmp ecx, dword ptr [edi + 4] */ 24563 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 24564 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24565 _flag_k = FK_CMP; 24566 if (CMP_NE(_flag_a, _flag_b)) goto L_39006AF9; /* 0x39006AEC: jne 0x39006af9 */ 24567 L_39006AEE: 24568 MEM32(edi + 0x4) = edx; /* 0x39006AEE: mov dword ptr [edi + 4], edx */ 24569 MEM32(edx + 0x8) = ecx; /* 0x39006AF1: mov dword ptr [edx + 8], ecx */ 24570 goto L_39006BAB; /* 0x39006AF4: jmp 0x39006bab */ 24571 L_39006AF9: 24572 edi = MEM32(ecx + 0x4); /* 0x39006AF9: mov edi, dword ptr [ecx + 4] */ 24573 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x39006AFC: cmp ecx, dword ptr [edi + 8] */ 24574 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 24575 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24576 _flag_k = FK_CMP; 24577 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B0C; /* 0x39006AFF: jne 0x39006b0c */ 24578 L_39006B01: 24579 MEM32(edi + 0x8) = edx; /* 0x39006B01: mov dword ptr [edi + 8], edx */ 24580 MEM32(edx + 0x8) = ecx; /* 0x39006B04: mov dword ptr [edx + 8], ecx */ 24581 goto L_39006BAB; /* 0x39006B07: jmp 0x39006bab */ 24582 L_39006B0C: 24583 MEM32(edi) = edx; /* 0x39006B0C: mov dword ptr [edi], edx */ 24584 MEM32(edx + 0x8) = ecx; /* 0x39006B0E: mov dword ptr [edx + 8], ecx */ 24585 goto L_39006BAB; /* 0x39006B11: jmp 0x39006bab */ 24586 L_39006B16: 24587 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x39006B16: cmp byte ptr [edx + 0x2c], 0 */ 24588 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 24589 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24590 _flag_k = FK_NARROW(FK_CMP, 24); 24591 RECOMP_BACKEDGE(); 24592 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006A5E; /* 0x39006B1A: je 0x39006a5e */ 24593 L_39006B20: 24594 /* cmp eax, MEM32(ecx) */ /* 0x39006B20: cmp eax, dword ptr [ecx] */ 24595 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 24596 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24597 _flag_k = FK_CMP; 24598 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B60; /* 0x39006B22: jne 0x39006b60 */ 24599 L_39006B24: 24600 eax = ecx; /* 0x39006B24: mov eax, ecx */ 24601 ecx = MEM32(eax); /* 0x39006B26: mov ecx, dword ptr [eax] */ 24602 edx = MEM32(ecx + 0x8); /* 0x39006B28: mov edx, dword ptr [ecx + 8] */ 24603 MEM32(eax) = edx; /* 0x39006B2B: mov dword ptr [eax], edx */ 24604 edx = MEM32(ecx + 0x8); /* 0x39006B2D: mov edx, dword ptr [ecx + 8] */ 24605 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006B30: cmp edx, dword ptr [esi + 8] */ 24606 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 24607 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24608 _flag_k = FK_CMP; 24609 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006B38; /* 0x39006B33: je 0x39006b38 */ 24610 L_39006B35: 24611 MEM32(edx + 0x4) = eax; /* 0x39006B35: mov dword ptr [edx + 4], eax */ 24612 L_39006B38: 24613 edx = MEM32(eax + 0x4); /* 0x39006B38: mov edx, dword ptr [eax + 4] */ 24614 MEM32(ecx + 0x4) = edx; /* 0x39006B3B: mov dword ptr [ecx + 4], edx */ 24615 edx = MEM32(esi + 0x4); /* 0x39006B3E: mov edx, dword ptr [esi + 4] */ 24616 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006B41: cmp eax, dword ptr [edx + 4] */ 24617 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 24618 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24619 _flag_k = FK_CMP; 24620 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B4B; /* 0x39006B44: jne 0x39006b4b */ 24621 L_39006B46: 24622 MEM32(edx + 0x4) = ecx; /* 0x39006B46: mov dword ptr [edx + 4], ecx */ 24623 goto L_39006B5A; /* 0x39006B49: jmp 0x39006b5a */ 24624 L_39006B4B: 24625 edx = MEM32(eax + 0x4); /* 0x39006B4B: mov edx, dword ptr [eax + 4] */ 24626 /* cmp eax, MEM32(edx + 0x8) */ /* 0x39006B4E: cmp eax, dword ptr [edx + 8] */ 24627 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 24628 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24629 _flag_k = FK_CMP; 24630 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B58; /* 0x39006B51: jne 0x39006b58 */ 24631 L_39006B53: 24632 MEM32(edx + 0x8) = ecx; /* 0x39006B53: mov dword ptr [edx + 8], ecx */ 24633 goto L_39006B5A; /* 0x39006B56: jmp 0x39006b5a */ 24634 L_39006B58: 24635 MEM32(edx) = ecx; /* 0x39006B58: mov dword ptr [edx], ecx */ 24636 L_39006B5A: 24637 MEM32(ecx + 0x8) = eax; /* 0x39006B5A: mov dword ptr [ecx + 8], eax */ 24638 MEM32(eax + 0x4) = ecx; /* 0x39006B5D: mov dword ptr [eax + 4], ecx */ 24639 L_39006B60: 24640 ecx = MEM32(eax + 0x4); /* 0x39006B60: mov ecx, dword ptr [eax + 4] */ 24641 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006B63: mov byte ptr [ecx + 0x2c], bl */ 24642 edx = MEM32(eax + 0x4); /* 0x39006B66: mov edx, dword ptr [eax + 4] */ 24643 ecx = MEM32(edx + 0x4); /* 0x39006B69: mov ecx, dword ptr [edx + 4] */ 24644 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006B6C: mov byte ptr [ecx + 0x2c], 0 */ 24645 edx = MEM32(eax + 0x4); /* 0x39006B70: mov edx, dword ptr [eax + 4] */ 24646 ecx = MEM32(edx + 0x4); /* 0x39006B73: mov ecx, dword ptr [edx + 4] */ 24647 edx = MEM32(ecx + 0x8); /* 0x39006B76: mov edx, dword ptr [ecx + 8] */ 24648 edi = MEM32(edx); /* 0x39006B79: mov edi, dword ptr [edx] */ 24649 MEM32(ecx + 0x8) = edi; /* 0x39006B7B: mov dword ptr [ecx + 8], edi */ 24650 edi = MEM32(edx); /* 0x39006B7E: mov edi, dword ptr [edx] */ 24651 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39006B80: cmp edi, dword ptr [esi + 8] */ 24652 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 24653 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24654 _flag_k = FK_CMP; 24655 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006B88; /* 0x39006B83: je 0x39006b88 */ 24656 L_39006B85: 24657 MEM32(edi + 0x4) = ecx; /* 0x39006B85: mov dword ptr [edi + 4], ecx */ 24658 L_39006B88: 24659 edi = MEM32(ecx + 0x4); /* 0x39006B88: mov edi, dword ptr [ecx + 4] */ 24660 MEM32(edx + 0x4) = edi; /* 0x39006B8B: mov dword ptr [edx + 4], edi */ 24661 edi = MEM32(esi + 0x4); /* 0x39006B8E: mov edi, dword ptr [esi + 4] */ 24662 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006B91: cmp ecx, dword ptr [edi + 4] */ 24663 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 24664 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24665 _flag_k = FK_CMP; 24666 if (CMP_NE(_flag_a, _flag_b)) goto L_39006B9B; /* 0x39006B94: jne 0x39006b9b */ 24667 L_39006B96: 24668 MEM32(edi + 0x4) = edx; /* 0x39006B96: mov dword ptr [edi + 4], edx */ 24669 goto L_39006BA9; /* 0x39006B99: jmp 0x39006ba9 */ 24670 L_39006B9B: 24671 edi = MEM32(ecx + 0x4); /* 0x39006B9B: mov edi, dword ptr [ecx + 4] */ 24672 /* cmp ecx, MEM32(edi) */ /* 0x39006B9E: cmp ecx, dword ptr [edi] */ 24673 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 24674 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24675 _flag_k = FK_CMP; 24676 if (CMP_NE(_flag_a, _flag_b)) goto L_39006BA6; /* 0x39006BA0: jne 0x39006ba6 */ 24677 L_39006BA2: 24678 MEM32(edi) = edx; /* 0x39006BA2: mov dword ptr [edi], edx */ 24679 goto L_39006BA9; /* 0x39006BA4: jmp 0x39006ba9 */ 24680 L_39006BA6: 24681 MEM32(edi + 0x8) = edx; /* 0x39006BA6: mov dword ptr [edi + 8], edx */ 24682 L_39006BA9: 24683 MEM32(edx) = ecx; /* 0x39006BA9: mov dword ptr [edx], ecx */ 24684 L_39006BAB: 24685 MEM32(ecx + 0x4) = edx; /* 0x39006BAB: mov dword ptr [ecx + 4], edx */ 24686 L_39006BAE: 24687 ecx = MEM32(esi + 0x4); /* 0x39006BAE: mov ecx, dword ptr [esi + 4] */ 24688 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x39006BB1: cmp eax, dword ptr [ecx + 4] */ 24689 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 24690 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24691 _flag_k = FK_CMP; 24692 RECOMP_BACKEDGE(); 24693 if (CMP_NE(_flag_a, _flag_b)) goto L_39006A3A; /* 0x39006BB4: jne 0x39006a3a */ 24694 L_39006BBA: 24695 edx = MEM32(esi + 0x4); /* 0x39006BBA: mov edx, dword ptr [esi + 4] */ 24696 ecx = MEM32(ebp + (-0x4)); /* 0x39006BBD: mov ecx, dword ptr [ebp - 4] */ 24697 edi = POP32_VAL(esp); /* 0x39006BC0: pop edi */ 24698 esi = POP32_VAL(esp); /* 0x39006BC1: pop esi */ 24699 eax = MEM32(edx + 0x4); /* 0x39006BC2: mov eax, dword ptr [edx + 4] */ 24700 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006BC5: mov byte ptr [eax + 0x2c], bl */ 24701 eax = MEM32(ebp + 0x8); /* 0x39006BC8: mov eax, dword ptr [ebp + 8] */ 24702 ebx = POP32_VAL(esp); /* 0x39006BCB: pop ebx */ 24703 MEM32(eax) = ecx; /* 0x39006BCC: mov dword ptr [eax], ecx */ 24704 esp = ebp; /* 0x39006BCE: mov esp, ebp */ 24705 ebp = POP32_VAL(esp); /* 0x39006BD0: pop ebp */ 24706 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39006BD1: ret 0x10 */ 24707 RECOMP_REGS_OUT(); 24708 } 24709 24710 void sub_39006BBA(void) { 24711 int _fpu_cmp = 0; 24712 uint32_t _cf = 0; 24713 int _df = 1; 24714 uint32_t _flag_k = FK_NONE; 24715 uint32_t _flag_a = 0, _flag_b = 0; 24716 uint32_t _itail_tgt = 0; 24717 RECOMP_REGS_LOCALS 24718 RECOMP_ENTER(0x39006BBAu); 24719 24720 L_39006BBA: 24721 edx = MEM32(esi + 0x4); /* 0x39006BBA: mov edx, dword ptr [esi + 4] */ 24722 ecx = MEM32(ebp + (-0x4)); /* 0x39006BBD: mov ecx, dword ptr [ebp - 4] */ 24723 edi = POP32_VAL(esp); /* 0x39006BC0: pop edi */ 24724 esi = POP32_VAL(esp); /* 0x39006BC1: pop esi */ 24725 eax = MEM32(edx + 0x4); /* 0x39006BC2: mov eax, dword ptr [edx + 4] */ 24726 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006BC5: mov byte ptr [eax + 0x2c], bl */ 24727 eax = MEM32(ebp + 0x8); /* 0x39006BC8: mov eax, dword ptr [ebp + 8] */ 24728 ebx = POP32_VAL(esp); /* 0x39006BCB: pop ebx */ 24729 MEM32(eax) = ecx; /* 0x39006BCC: mov dword ptr [eax], ecx */ 24730 esp = ebp; /* 0x39006BCE: mov esp, ebp */ 24731 ebp = POP32_VAL(esp); /* 0x39006BD0: pop ebp */ 24732 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39006BD1: ret 0x10 */ 24733 RECOMP_REGS_OUT(); 24734 } 24735 24736 void sub_39006BE0(void) { 24737 int _fpu_cmp = 0; 24738 uint32_t _cf = 0; 24739 int _df = 1; 24740 uint32_t _flag_k = FK_NONE; 24741 uint32_t _flag_a = 0, _flag_b = 0; 24742 uint32_t _itail_tgt = 0; 24743 RECOMP_REGS_LOCALS 24744 RECOMP_ENTER(0x39006BE0u); 24745 24746 L_39006BE0: 24747 PUSH32(esp, ebp); /* 0x39006BE0: push ebp */ 24748 ebp = esp; /* 0x39006BE1: mov ebp, esp */ 24749 PUSH32(esp, ecx); /* 0x39006BE3: push ecx */ 24750 PUSH32(esp, ebx); /* 0x39006BE4: push ebx */ 24751 PUSH32(esp, esi); /* 0x39006BE5: push esi */ 24752 PUSH32(esp, edi); /* 0x39006BE6: push edi */ 24753 esi = ecx; /* 0x39006BE7: mov esi, ecx */ 24754 PUSH32(esp, 0x30u); /* 0x39006BE9: push 0x30 */ 24755 RECOMP_ICALL(0x3900A0ACu); /* 0x39006BEB: call 0x3900a0ac */ /* not lifted */ 24756 RECOMP_FLAGS_IN(); 24757 edi = MEM32(ebp + 0x10); /* 0x39006BF0: mov edi, dword ptr [ebp + 0x10] */ 24758 ebx = MEM32(ebp + 0x14); /* 0x39006BF3: mov ebx, dword ptr [ebp + 0x14] */ 24759 MEM32(eax + 0x4) = edi; /* 0x39006BF6: mov dword ptr [eax + 4], edi */ 24760 MEM8(eax + 0x2C) = (uint8_t)(0); /* 0x39006BF9: mov byte ptr [eax + 0x2c], 0 */ 24761 MEM8(eax + 0x2D) = (uint8_t)(0); /* 0x39006BFD: mov byte ptr [eax + 0x2d], 0 */ 24762 ecx = MEM32(esi + 0x8); /* 0x39006C01: mov ecx, dword ptr [esi + 8] */ 24763 MEM32(eax) = ecx; /* 0x39006C04: mov dword ptr [eax], ecx */ 24764 edx = MEM32(esi + 0x8); /* 0x39006C06: mov edx, dword ptr [esi + 8] */ 24765 MEM32(ebp + (-0x4)) = eax; /* 0x39006C09: mov dword ptr [ebp - 4], eax */ 24766 MEM32(eax + 0x8) = edx; /* 0x39006C0C: mov dword ptr [eax + 8], edx */ 24767 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu); 24768 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 24769 eax = eax + 0xCu; /* 0x39006C0F: add eax, 0xc */ 24770 _flag_k = FK_ADD; 24771 PUSH32(esp, ebx); /* 0x39006C12: push ebx */ 24772 PUSH32(esp, eax); /* 0x39006C13: push eax */ 24773 RECOMP_ICALL(0x39007400u); /* 0x39006C14: call 0x39007400 */ /* not lifted */ 24774 RECOMP_FLAGS_IN(); 24775 ecx = MEM32(esi + 0x10); /* 0x39006C19: mov ecx, dword ptr [esi + 0x10] */ 24776 eax = MEM32(esi + 0x4); /* 0x39006C1C: mov eax, dword ptr [esi + 4] */ 24777 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 24778 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 24779 esp = esp + 0xCu; /* 0x39006C1F: add esp, 0xc */ 24780 _flag_k = FK_ADD; 24781 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 24782 ecx = ecx + 1; /* 0x39006C22: inc ecx */ 24783 _flag_k = FK_INC; 24784 /* cmp edi, eax */ /* 0x39006C23: cmp edi, eax */ 24785 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 24786 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24787 _flag_k = FK_CMP; 24788 MEM32(esi + 0x10) = ecx; /* 0x39006C25: mov dword ptr [esi + 0x10], ecx */ 24789 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006C59; /* 0x39006C28: je 0x39006c59 */ 24790 L_39006C2A: 24791 eax = MEM32(ebp + 0xC); /* 0x39006C2A: mov eax, dword ptr [ebp + 0xc] */ 24792 ecx = MEM32(esi + 0x8); /* 0x39006C2D: mov ecx, dword ptr [esi + 8] */ 24793 /* cmp eax, ecx */ /* 0x39006C30: cmp eax, ecx */ 24794 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 24795 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24796 _flag_k = FK_CMP; 24797 if (CMP_NE(_flag_a, _flag_b)) goto L_39006C59; /* 0x39006C32: jne 0x39006c59 */ 24798 L_39006C34: 24799 ecx = edi + 0xC; /* 0x39006C34: lea ecx, [edi + 0xc] */ 24800 PUSH32(esp, ecx); /* 0x39006C37: push ecx */ 24801 PUSH32(esp, ebx); /* 0x39006C38: push ebx */ 24802 RECOMP_ICALL(MEM32(0x3900B030)); /* 0x39006C39: call dword ptr [0x3900b030] */ 24803 RECOMP_FLAGS_IN(); 24804 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 24805 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 24806 esp = esp + 8; /* 0x39006C3F: add esp, 8 */ 24807 _flag_k = FK_ADD; 24808 /* test LO8(eax), LO8(eax) */ /* 0x39006C42: test al, al */ 24809 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 24810 _cf = 0; 24811 _flag_k = FK_NARROW(FK_TEST, 24); 24812 if (TEST_NZ(_flag_a, _flag_b)) goto L_39006C59; /* 0x39006C44: jne 0x39006c59 */ 24813 L_39006C46: 24814 ecx = MEM32(ebp + (-0x4)); /* 0x39006C46: mov ecx, dword ptr [ebp - 4] */ 24815 MEM32(edi + 0x8) = ecx; /* 0x39006C49: mov dword ptr [edi + 8], ecx */ 24816 eax = MEM32(esi + 0x4); /* 0x39006C4C: mov eax, dword ptr [esi + 4] */ 24817 /* cmp edi, MEM32(eax + 0x8) */ /* 0x39006C4F: cmp edi, dword ptr [eax + 8] */ 24818 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 24819 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24820 _flag_k = FK_CMP; 24821 if (CMP_NE(_flag_a, _flag_b)) goto L_39006C79; /* 0x39006C52: jne 0x39006c79 */ 24822 L_39006C54: 24823 MEM32(eax + 0x8) = ecx; /* 0x39006C54: mov dword ptr [eax + 8], ecx */ 24824 goto L_39006C79; /* 0x39006C57: jmp 0x39006c79 */ 24825 L_39006C59: 24826 ecx = MEM32(ebp + (-0x4)); /* 0x39006C59: mov ecx, dword ptr [ebp - 4] */ 24827 MEM32(edi) = ecx; /* 0x39006C5C: mov dword ptr [edi], ecx */ 24828 eax = MEM32(esi + 0x4); /* 0x39006C5E: mov eax, dword ptr [esi + 4] */ 24829 /* cmp edi, eax */ /* 0x39006C61: cmp edi, eax */ 24830 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 24831 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24832 _flag_k = FK_CMP; 24833 if (CMP_NE(_flag_a, _flag_b)) goto L_39006C70; /* 0x39006C63: jne 0x39006c70 */ 24834 L_39006C65: 24835 MEM32(eax + 0x4) = ecx; /* 0x39006C65: mov dword ptr [eax + 4], ecx */ 24836 edx = MEM32(esi + 0x4); /* 0x39006C68: mov edx, dword ptr [esi + 4] */ 24837 MEM32(edx + 0x8) = ecx; /* 0x39006C6B: mov dword ptr [edx + 8], ecx */ 24838 goto L_39006C79; /* 0x39006C6E: jmp 0x39006c79 */ 24839 L_39006C70: 24840 /* cmp edi, MEM32(eax) */ /* 0x39006C70: cmp edi, dword ptr [eax] */ 24841 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax)); 24842 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24843 _flag_k = FK_CMP; 24844 if (CMP_NE(_flag_a, _flag_b)) goto L_39006C79; /* 0x39006C72: jne 0x39006c79 */ 24845 L_39006C74: 24846 ecx = MEM32(ebp + (-0x4)); /* 0x39006C74: mov ecx, dword ptr [ebp - 4] */ 24847 MEM32(eax) = ecx; /* 0x39006C77: mov dword ptr [eax], ecx */ 24848 L_39006C79: 24849 edx = MEM32(esi + 0x4); /* 0x39006C79: mov edx, dword ptr [esi + 4] */ 24850 eax = MEM32(ebp + (-0x4)); /* 0x39006C7C: mov eax, dword ptr [ebp - 4] */ 24851 SET_LO8(ebx, 1); /* 0x39006C7F: mov bl, 1 */ 24852 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006C81: cmp eax, dword ptr [edx + 4] */ 24853 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 24854 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24855 _flag_k = FK_CMP; 24856 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006E0A; /* 0x39006C84: je 0x39006e0a */ 24857 L_39006C8A: 24858 ecx = MEM32(eax + 0x4); /* 0x39006C8A: mov ecx, dword ptr [eax + 4] */ 24859 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39006C8D: mov dl, byte ptr [ecx + 0x2c] */ 24860 /* test LO8(edx), LO8(edx) */ /* 0x39006C90: test dl, dl */ 24861 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 24862 _cf = 0; 24863 _flag_k = FK_NARROW(FK_TEST, 24); 24864 if (TEST_NZ(_flag_a, _flag_b)) goto L_39006E0A; /* 0x39006C92: jne 0x39006e0a */ 24865 L_39006C98: 24866 edi = MEM32(ecx + 0x4); /* 0x39006C98: mov edi, dword ptr [ecx + 4] */ 24867 edx = MEM32(edi); /* 0x39006C9B: mov edx, dword ptr [edi] */ 24868 /* cmp ecx, edx */ /* 0x39006C9D: cmp ecx, edx */ 24869 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 24870 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24871 _flag_k = FK_CMP; 24872 if (CMP_NE(_flag_a, _flag_b)) goto L_39006D66; /* 0x39006C9F: jne 0x39006d66 */ 24873 L_39006CA5: 24874 edx = MEM32(edi + 0x8); /* 0x39006CA5: mov edx, dword ptr [edi + 8] */ 24875 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x39006CA8: cmp byte ptr [edx + 0x2c], 0 */ 24876 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 24877 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24878 _flag_k = FK_NARROW(FK_CMP, 24); 24879 if (CMP_NE(_flag_a, _flag_b)) goto L_39006CC9; /* 0x39006CAC: jne 0x39006cc9 */ 24880 L_39006CAE: 24881 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006CAE: mov byte ptr [ecx + 0x2c], bl */ 24882 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006CB1: mov byte ptr [edx + 0x2c], bl */ 24883 ecx = MEM32(eax + 0x4); /* 0x39006CB4: mov ecx, dword ptr [eax + 4] */ 24884 edx = MEM32(ecx + 0x4); /* 0x39006CB7: mov edx, dword ptr [ecx + 4] */ 24885 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x39006CBA: mov byte ptr [edx + 0x2c], 0 */ 24886 eax = MEM32(eax + 0x4); /* 0x39006CBE: mov eax, dword ptr [eax + 4] */ 24887 eax = MEM32(eax + 0x4); /* 0x39006CC1: mov eax, dword ptr [eax + 4] */ 24888 goto L_39006DFE; /* 0x39006CC4: jmp 0x39006dfe */ 24889 L_39006CC9: 24890 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x39006CC9: cmp eax, dword ptr [ecx + 8] */ 24891 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 24892 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24893 _flag_k = FK_CMP; 24894 if (CMP_NE(_flag_a, _flag_b)) goto L_39006D08; /* 0x39006CCC: jne 0x39006d08 */ 24895 L_39006CCE: 24896 eax = ecx; /* 0x39006CCE: mov eax, ecx */ 24897 ecx = MEM32(eax + 0x8); /* 0x39006CD0: mov ecx, dword ptr [eax + 8] */ 24898 edx = MEM32(ecx); /* 0x39006CD3: mov edx, dword ptr [ecx] */ 24899 MEM32(eax + 0x8) = edx; /* 0x39006CD5: mov dword ptr [eax + 8], edx */ 24900 edx = MEM32(ecx); /* 0x39006CD8: mov edx, dword ptr [ecx] */ 24901 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006CDA: cmp edx, dword ptr [esi + 8] */ 24902 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 24903 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24904 _flag_k = FK_CMP; 24905 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006CE2; /* 0x39006CDD: je 0x39006ce2 */ 24906 L_39006CDF: 24907 MEM32(edx + 0x4) = eax; /* 0x39006CDF: mov dword ptr [edx + 4], eax */ 24908 L_39006CE2: 24909 edx = MEM32(eax + 0x4); /* 0x39006CE2: mov edx, dword ptr [eax + 4] */ 24910 MEM32(ecx + 0x4) = edx; /* 0x39006CE5: mov dword ptr [ecx + 4], edx */ 24911 edx = MEM32(esi + 0x4); /* 0x39006CE8: mov edx, dword ptr [esi + 4] */ 24912 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006CEB: cmp eax, dword ptr [edx + 4] */ 24913 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 24914 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24915 _flag_k = FK_CMP; 24916 if (CMP_NE(_flag_a, _flag_b)) goto L_39006CF5; /* 0x39006CEE: jne 0x39006cf5 */ 24917 L_39006CF0: 24918 MEM32(edx + 0x4) = ecx; /* 0x39006CF0: mov dword ptr [edx + 4], ecx */ 24919 goto L_39006D03; /* 0x39006CF3: jmp 0x39006d03 */ 24920 L_39006CF5: 24921 edx = MEM32(eax + 0x4); /* 0x39006CF5: mov edx, dword ptr [eax + 4] */ 24922 /* cmp eax, MEM32(edx) */ /* 0x39006CF8: cmp eax, dword ptr [edx] */ 24923 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 24924 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24925 _flag_k = FK_CMP; 24926 if (CMP_NE(_flag_a, _flag_b)) goto L_39006D00; /* 0x39006CFA: jne 0x39006d00 */ 24927 L_39006CFC: 24928 MEM32(edx) = ecx; /* 0x39006CFC: mov dword ptr [edx], ecx */ 24929 goto L_39006D03; /* 0x39006CFE: jmp 0x39006d03 */ 24930 L_39006D00: 24931 MEM32(edx + 0x8) = ecx; /* 0x39006D00: mov dword ptr [edx + 8], ecx */ 24932 L_39006D03: 24933 MEM32(ecx) = eax; /* 0x39006D03: mov dword ptr [ecx], eax */ 24934 MEM32(eax + 0x4) = ecx; /* 0x39006D05: mov dword ptr [eax + 4], ecx */ 24935 L_39006D08: 24936 ecx = MEM32(eax + 0x4); /* 0x39006D08: mov ecx, dword ptr [eax + 4] */ 24937 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006D0B: mov byte ptr [ecx + 0x2c], bl */ 24938 edx = MEM32(eax + 0x4); /* 0x39006D0E: mov edx, dword ptr [eax + 4] */ 24939 ecx = MEM32(edx + 0x4); /* 0x39006D11: mov ecx, dword ptr [edx + 4] */ 24940 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006D14: mov byte ptr [ecx + 0x2c], 0 */ 24941 edx = MEM32(eax + 0x4); /* 0x39006D18: mov edx, dword ptr [eax + 4] */ 24942 ecx = MEM32(edx + 0x4); /* 0x39006D1B: mov ecx, dword ptr [edx + 4] */ 24943 edx = MEM32(ecx); /* 0x39006D1E: mov edx, dword ptr [ecx] */ 24944 edi = MEM32(edx + 0x8); /* 0x39006D20: mov edi, dword ptr [edx + 8] */ 24945 MEM32(ecx) = edi; /* 0x39006D23: mov dword ptr [ecx], edi */ 24946 edi = MEM32(edx + 0x8); /* 0x39006D25: mov edi, dword ptr [edx + 8] */ 24947 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39006D28: cmp edi, dword ptr [esi + 8] */ 24948 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 24949 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24950 _flag_k = FK_CMP; 24951 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006D30; /* 0x39006D2B: je 0x39006d30 */ 24952 L_39006D2D: 24953 MEM32(edi + 0x4) = ecx; /* 0x39006D2D: mov dword ptr [edi + 4], ecx */ 24954 L_39006D30: 24955 edi = MEM32(ecx + 0x4); /* 0x39006D30: mov edi, dword ptr [ecx + 4] */ 24956 MEM32(edx + 0x4) = edi; /* 0x39006D33: mov dword ptr [edx + 4], edi */ 24957 edi = MEM32(esi + 0x4); /* 0x39006D36: mov edi, dword ptr [esi + 4] */ 24958 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006D39: cmp ecx, dword ptr [edi + 4] */ 24959 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 24960 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24961 _flag_k = FK_CMP; 24962 if (CMP_NE(_flag_a, _flag_b)) goto L_39006D49; /* 0x39006D3C: jne 0x39006d49 */ 24963 L_39006D3E: 24964 MEM32(edi + 0x4) = edx; /* 0x39006D3E: mov dword ptr [edi + 4], edx */ 24965 MEM32(edx + 0x8) = ecx; /* 0x39006D41: mov dword ptr [edx + 8], ecx */ 24966 goto L_39006DFB; /* 0x39006D44: jmp 0x39006dfb */ 24967 L_39006D49: 24968 edi = MEM32(ecx + 0x4); /* 0x39006D49: mov edi, dword ptr [ecx + 4] */ 24969 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x39006D4C: cmp ecx, dword ptr [edi + 8] */ 24970 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 24971 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24972 _flag_k = FK_CMP; 24973 if (CMP_NE(_flag_a, _flag_b)) goto L_39006D5C; /* 0x39006D4F: jne 0x39006d5c */ 24974 L_39006D51: 24975 MEM32(edi + 0x8) = edx; /* 0x39006D51: mov dword ptr [edi + 8], edx */ 24976 MEM32(edx + 0x8) = ecx; /* 0x39006D54: mov dword ptr [edx + 8], ecx */ 24977 goto L_39006DFB; /* 0x39006D57: jmp 0x39006dfb */ 24978 L_39006D5C: 24979 MEM32(edi) = edx; /* 0x39006D5C: mov dword ptr [edi], edx */ 24980 MEM32(edx + 0x8) = ecx; /* 0x39006D5E: mov dword ptr [edx + 8], ecx */ 24981 goto L_39006DFB; /* 0x39006D61: jmp 0x39006dfb */ 24982 L_39006D66: 24983 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x39006D66: cmp byte ptr [edx + 0x2c], 0 */ 24984 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 24985 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24986 _flag_k = FK_NARROW(FK_CMP, 24); 24987 RECOMP_BACKEDGE(); 24988 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006CAE; /* 0x39006D6A: je 0x39006cae */ 24989 L_39006D70: 24990 /* cmp eax, MEM32(ecx) */ /* 0x39006D70: cmp eax, dword ptr [ecx] */ 24991 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 24992 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 24993 _flag_k = FK_CMP; 24994 if (CMP_NE(_flag_a, _flag_b)) goto L_39006DB0; /* 0x39006D72: jne 0x39006db0 */ 24995 L_39006D74: 24996 eax = ecx; /* 0x39006D74: mov eax, ecx */ 24997 ecx = MEM32(eax); /* 0x39006D76: mov ecx, dword ptr [eax] */ 24998 edx = MEM32(ecx + 0x8); /* 0x39006D78: mov edx, dword ptr [ecx + 8] */ 24999 MEM32(eax) = edx; /* 0x39006D7B: mov dword ptr [eax], edx */ 25000 edx = MEM32(ecx + 0x8); /* 0x39006D7D: mov edx, dword ptr [ecx + 8] */ 25001 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006D80: cmp edx, dword ptr [esi + 8] */ 25002 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 25003 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25004 _flag_k = FK_CMP; 25005 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006D88; /* 0x39006D83: je 0x39006d88 */ 25006 L_39006D85: 25007 MEM32(edx + 0x4) = eax; /* 0x39006D85: mov dword ptr [edx + 4], eax */ 25008 L_39006D88: 25009 edx = MEM32(eax + 0x4); /* 0x39006D88: mov edx, dword ptr [eax + 4] */ 25010 MEM32(ecx + 0x4) = edx; /* 0x39006D8B: mov dword ptr [ecx + 4], edx */ 25011 edx = MEM32(esi + 0x4); /* 0x39006D8E: mov edx, dword ptr [esi + 4] */ 25012 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006D91: cmp eax, dword ptr [edx + 4] */ 25013 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 25014 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25015 _flag_k = FK_CMP; 25016 if (CMP_NE(_flag_a, _flag_b)) goto L_39006D9B; /* 0x39006D94: jne 0x39006d9b */ 25017 L_39006D96: 25018 MEM32(edx + 0x4) = ecx; /* 0x39006D96: mov dword ptr [edx + 4], ecx */ 25019 goto L_39006DAA; /* 0x39006D99: jmp 0x39006daa */ 25020 L_39006D9B: 25021 edx = MEM32(eax + 0x4); /* 0x39006D9B: mov edx, dword ptr [eax + 4] */ 25022 /* cmp eax, MEM32(edx + 0x8) */ /* 0x39006D9E: cmp eax, dword ptr [edx + 8] */ 25023 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 25024 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25025 _flag_k = FK_CMP; 25026 if (CMP_NE(_flag_a, _flag_b)) goto L_39006DA8; /* 0x39006DA1: jne 0x39006da8 */ 25027 L_39006DA3: 25028 MEM32(edx + 0x8) = ecx; /* 0x39006DA3: mov dword ptr [edx + 8], ecx */ 25029 goto L_39006DAA; /* 0x39006DA6: jmp 0x39006daa */ 25030 L_39006DA8: 25031 MEM32(edx) = ecx; /* 0x39006DA8: mov dword ptr [edx], ecx */ 25032 L_39006DAA: 25033 MEM32(ecx + 0x8) = eax; /* 0x39006DAA: mov dword ptr [ecx + 8], eax */ 25034 MEM32(eax + 0x4) = ecx; /* 0x39006DAD: mov dword ptr [eax + 4], ecx */ 25035 L_39006DB0: 25036 ecx = MEM32(eax + 0x4); /* 0x39006DB0: mov ecx, dword ptr [eax + 4] */ 25037 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006DB3: mov byte ptr [ecx + 0x2c], bl */ 25038 edx = MEM32(eax + 0x4); /* 0x39006DB6: mov edx, dword ptr [eax + 4] */ 25039 ecx = MEM32(edx + 0x4); /* 0x39006DB9: mov ecx, dword ptr [edx + 4] */ 25040 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006DBC: mov byte ptr [ecx + 0x2c], 0 */ 25041 edx = MEM32(eax + 0x4); /* 0x39006DC0: mov edx, dword ptr [eax + 4] */ 25042 ecx = MEM32(edx + 0x4); /* 0x39006DC3: mov ecx, dword ptr [edx + 4] */ 25043 edx = MEM32(ecx + 0x8); /* 0x39006DC6: mov edx, dword ptr [ecx + 8] */ 25044 edi = MEM32(edx); /* 0x39006DC9: mov edi, dword ptr [edx] */ 25045 MEM32(ecx + 0x8) = edi; /* 0x39006DCB: mov dword ptr [ecx + 8], edi */ 25046 edi = MEM32(edx); /* 0x39006DCE: mov edi, dword ptr [edx] */ 25047 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39006DD0: cmp edi, dword ptr [esi + 8] */ 25048 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 25049 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25050 _flag_k = FK_CMP; 25051 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006DD8; /* 0x39006DD3: je 0x39006dd8 */ 25052 L_39006DD5: 25053 MEM32(edi + 0x4) = ecx; /* 0x39006DD5: mov dword ptr [edi + 4], ecx */ 25054 L_39006DD8: 25055 edi = MEM32(ecx + 0x4); /* 0x39006DD8: mov edi, dword ptr [ecx + 4] */ 25056 MEM32(edx + 0x4) = edi; /* 0x39006DDB: mov dword ptr [edx + 4], edi */ 25057 edi = MEM32(esi + 0x4); /* 0x39006DDE: mov edi, dword ptr [esi + 4] */ 25058 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006DE1: cmp ecx, dword ptr [edi + 4] */ 25059 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 25060 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25061 _flag_k = FK_CMP; 25062 if (CMP_NE(_flag_a, _flag_b)) goto L_39006DEB; /* 0x39006DE4: jne 0x39006deb */ 25063 L_39006DE6: 25064 MEM32(edi + 0x4) = edx; /* 0x39006DE6: mov dword ptr [edi + 4], edx */ 25065 goto L_39006DF9; /* 0x39006DE9: jmp 0x39006df9 */ 25066 L_39006DEB: 25067 edi = MEM32(ecx + 0x4); /* 0x39006DEB: mov edi, dword ptr [ecx + 4] */ 25068 /* cmp ecx, MEM32(edi) */ /* 0x39006DEE: cmp ecx, dword ptr [edi] */ 25069 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 25070 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25071 _flag_k = FK_CMP; 25072 if (CMP_NE(_flag_a, _flag_b)) goto L_39006DF6; /* 0x39006DF0: jne 0x39006df6 */ 25073 L_39006DF2: 25074 MEM32(edi) = edx; /* 0x39006DF2: mov dword ptr [edi], edx */ 25075 goto L_39006DF9; /* 0x39006DF4: jmp 0x39006df9 */ 25076 L_39006DF6: 25077 MEM32(edi + 0x8) = edx; /* 0x39006DF6: mov dword ptr [edi + 8], edx */ 25078 L_39006DF9: 25079 MEM32(edx) = ecx; /* 0x39006DF9: mov dword ptr [edx], ecx */ 25080 L_39006DFB: 25081 MEM32(ecx + 0x4) = edx; /* 0x39006DFB: mov dword ptr [ecx + 4], edx */ 25082 L_39006DFE: 25083 ecx = MEM32(esi + 0x4); /* 0x39006DFE: mov ecx, dword ptr [esi + 4] */ 25084 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x39006E01: cmp eax, dword ptr [ecx + 4] */ 25085 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 25086 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25087 _flag_k = FK_CMP; 25088 RECOMP_BACKEDGE(); 25089 if (CMP_NE(_flag_a, _flag_b)) goto L_39006C8A; /* 0x39006E04: jne 0x39006c8a */ 25090 L_39006E0A: 25091 edx = MEM32(esi + 0x4); /* 0x39006E0A: mov edx, dword ptr [esi + 4] */ 25092 ecx = MEM32(ebp + (-0x4)); /* 0x39006E0D: mov ecx, dword ptr [ebp - 4] */ 25093 edi = POP32_VAL(esp); /* 0x39006E10: pop edi */ 25094 esi = POP32_VAL(esp); /* 0x39006E11: pop esi */ 25095 eax = MEM32(edx + 0x4); /* 0x39006E12: mov eax, dword ptr [edx + 4] */ 25096 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006E15: mov byte ptr [eax + 0x2c], bl */ 25097 eax = MEM32(ebp + 0x8); /* 0x39006E18: mov eax, dword ptr [ebp + 8] */ 25098 ebx = POP32_VAL(esp); /* 0x39006E1B: pop ebx */ 25099 MEM32(eax) = ecx; /* 0x39006E1C: mov dword ptr [eax], ecx */ 25100 esp = ebp; /* 0x39006E1E: mov esp, ebp */ 25101 ebp = POP32_VAL(esp); /* 0x39006E20: pop ebp */ 25102 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39006E21: ret 0x10 */ 25103 RECOMP_REGS_OUT(); 25104 } 25105 25106 void sub_39006C8A(void) { 25107 int _fpu_cmp = 0; 25108 uint32_t _cf = 0; 25109 int _df = 1; 25110 uint32_t _flag_k = FK_NONE; 25111 uint32_t _flag_a = 0, _flag_b = 0; 25112 uint32_t _itail_tgt = 0; 25113 RECOMP_REGS_LOCALS 25114 RECOMP_ENTER(0x39006C8Au); 25115 25116 L_39006C8A: 25117 ecx = MEM32(eax + 0x4); /* 0x39006C8A: mov ecx, dword ptr [eax + 4] */ 25118 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39006C8D: mov dl, byte ptr [ecx + 0x2c] */ 25119 /* test LO8(edx), LO8(edx) */ /* 0x39006C90: test dl, dl */ 25120 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 25121 _cf = 0; 25122 _flag_k = FK_NARROW(FK_TEST, 24); 25123 if (TEST_NZ(_flag_a, _flag_b)) goto L_39006E0A; /* 0x39006C92: jne 0x39006e0a */ 25124 L_39006C98: 25125 edi = MEM32(ecx + 0x4); /* 0x39006C98: mov edi, dword ptr [ecx + 4] */ 25126 edx = MEM32(edi); /* 0x39006C9B: mov edx, dword ptr [edi] */ 25127 /* cmp ecx, edx */ /* 0x39006C9D: cmp ecx, edx */ 25128 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 25129 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25130 _flag_k = FK_CMP; 25131 if (CMP_NE(_flag_a, _flag_b)) goto L_39006D66; /* 0x39006C9F: jne 0x39006d66 */ 25132 L_39006CA5: 25133 edx = MEM32(edi + 0x8); /* 0x39006CA5: mov edx, dword ptr [edi + 8] */ 25134 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x39006CA8: cmp byte ptr [edx + 0x2c], 0 */ 25135 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 25136 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25137 _flag_k = FK_NARROW(FK_CMP, 24); 25138 if (CMP_NE(_flag_a, _flag_b)) goto L_39006CC9; /* 0x39006CAC: jne 0x39006cc9 */ 25139 L_39006CAE: 25140 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006CAE: mov byte ptr [ecx + 0x2c], bl */ 25141 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006CB1: mov byte ptr [edx + 0x2c], bl */ 25142 ecx = MEM32(eax + 0x4); /* 0x39006CB4: mov ecx, dword ptr [eax + 4] */ 25143 edx = MEM32(ecx + 0x4); /* 0x39006CB7: mov edx, dword ptr [ecx + 4] */ 25144 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x39006CBA: mov byte ptr [edx + 0x2c], 0 */ 25145 eax = MEM32(eax + 0x4); /* 0x39006CBE: mov eax, dword ptr [eax + 4] */ 25146 eax = MEM32(eax + 0x4); /* 0x39006CC1: mov eax, dword ptr [eax + 4] */ 25147 goto L_39006DFE; /* 0x39006CC4: jmp 0x39006dfe */ 25148 L_39006CC9: 25149 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x39006CC9: cmp eax, dword ptr [ecx + 8] */ 25150 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 25151 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25152 _flag_k = FK_CMP; 25153 if (CMP_NE(_flag_a, _flag_b)) goto L_39006D08; /* 0x39006CCC: jne 0x39006d08 */ 25154 L_39006CCE: 25155 eax = ecx; /* 0x39006CCE: mov eax, ecx */ 25156 ecx = MEM32(eax + 0x8); /* 0x39006CD0: mov ecx, dword ptr [eax + 8] */ 25157 edx = MEM32(ecx); /* 0x39006CD3: mov edx, dword ptr [ecx] */ 25158 MEM32(eax + 0x8) = edx; /* 0x39006CD5: mov dword ptr [eax + 8], edx */ 25159 edx = MEM32(ecx); /* 0x39006CD8: mov edx, dword ptr [ecx] */ 25160 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006CDA: cmp edx, dword ptr [esi + 8] */ 25161 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 25162 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25163 _flag_k = FK_CMP; 25164 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006CE2; /* 0x39006CDD: je 0x39006ce2 */ 25165 L_39006CDF: 25166 MEM32(edx + 0x4) = eax; /* 0x39006CDF: mov dword ptr [edx + 4], eax */ 25167 L_39006CE2: 25168 edx = MEM32(eax + 0x4); /* 0x39006CE2: mov edx, dword ptr [eax + 4] */ 25169 MEM32(ecx + 0x4) = edx; /* 0x39006CE5: mov dword ptr [ecx + 4], edx */ 25170 edx = MEM32(esi + 0x4); /* 0x39006CE8: mov edx, dword ptr [esi + 4] */ 25171 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006CEB: cmp eax, dword ptr [edx + 4] */ 25172 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 25173 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25174 _flag_k = FK_CMP; 25175 if (CMP_NE(_flag_a, _flag_b)) goto L_39006CF5; /* 0x39006CEE: jne 0x39006cf5 */ 25176 L_39006CF0: 25177 MEM32(edx + 0x4) = ecx; /* 0x39006CF0: mov dword ptr [edx + 4], ecx */ 25178 goto L_39006D03; /* 0x39006CF3: jmp 0x39006d03 */ 25179 L_39006CF5: 25180 edx = MEM32(eax + 0x4); /* 0x39006CF5: mov edx, dword ptr [eax + 4] */ 25181 /* cmp eax, MEM32(edx) */ /* 0x39006CF8: cmp eax, dword ptr [edx] */ 25182 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 25183 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25184 _flag_k = FK_CMP; 25185 if (CMP_NE(_flag_a, _flag_b)) goto L_39006D00; /* 0x39006CFA: jne 0x39006d00 */ 25186 L_39006CFC: 25187 MEM32(edx) = ecx; /* 0x39006CFC: mov dword ptr [edx], ecx */ 25188 goto L_39006D03; /* 0x39006CFE: jmp 0x39006d03 */ 25189 L_39006D00: 25190 MEM32(edx + 0x8) = ecx; /* 0x39006D00: mov dword ptr [edx + 8], ecx */ 25191 L_39006D03: 25192 MEM32(ecx) = eax; /* 0x39006D03: mov dword ptr [ecx], eax */ 25193 MEM32(eax + 0x4) = ecx; /* 0x39006D05: mov dword ptr [eax + 4], ecx */ 25194 L_39006D08: 25195 ecx = MEM32(eax + 0x4); /* 0x39006D08: mov ecx, dword ptr [eax + 4] */ 25196 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006D0B: mov byte ptr [ecx + 0x2c], bl */ 25197 edx = MEM32(eax + 0x4); /* 0x39006D0E: mov edx, dword ptr [eax + 4] */ 25198 ecx = MEM32(edx + 0x4); /* 0x39006D11: mov ecx, dword ptr [edx + 4] */ 25199 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006D14: mov byte ptr [ecx + 0x2c], 0 */ 25200 edx = MEM32(eax + 0x4); /* 0x39006D18: mov edx, dword ptr [eax + 4] */ 25201 ecx = MEM32(edx + 0x4); /* 0x39006D1B: mov ecx, dword ptr [edx + 4] */ 25202 edx = MEM32(ecx); /* 0x39006D1E: mov edx, dword ptr [ecx] */ 25203 edi = MEM32(edx + 0x8); /* 0x39006D20: mov edi, dword ptr [edx + 8] */ 25204 MEM32(ecx) = edi; /* 0x39006D23: mov dword ptr [ecx], edi */ 25205 edi = MEM32(edx + 0x8); /* 0x39006D25: mov edi, dword ptr [edx + 8] */ 25206 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39006D28: cmp edi, dword ptr [esi + 8] */ 25207 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 25208 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25209 _flag_k = FK_CMP; 25210 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006D30; /* 0x39006D2B: je 0x39006d30 */ 25211 L_39006D2D: 25212 MEM32(edi + 0x4) = ecx; /* 0x39006D2D: mov dword ptr [edi + 4], ecx */ 25213 L_39006D30: 25214 edi = MEM32(ecx + 0x4); /* 0x39006D30: mov edi, dword ptr [ecx + 4] */ 25215 MEM32(edx + 0x4) = edi; /* 0x39006D33: mov dword ptr [edx + 4], edi */ 25216 edi = MEM32(esi + 0x4); /* 0x39006D36: mov edi, dword ptr [esi + 4] */ 25217 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006D39: cmp ecx, dword ptr [edi + 4] */ 25218 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 25219 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25220 _flag_k = FK_CMP; 25221 if (CMP_NE(_flag_a, _flag_b)) goto L_39006D49; /* 0x39006D3C: jne 0x39006d49 */ 25222 L_39006D3E: 25223 MEM32(edi + 0x4) = edx; /* 0x39006D3E: mov dword ptr [edi + 4], edx */ 25224 MEM32(edx + 0x8) = ecx; /* 0x39006D41: mov dword ptr [edx + 8], ecx */ 25225 goto L_39006DFB; /* 0x39006D44: jmp 0x39006dfb */ 25226 L_39006D49: 25227 edi = MEM32(ecx + 0x4); /* 0x39006D49: mov edi, dword ptr [ecx + 4] */ 25228 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x39006D4C: cmp ecx, dword ptr [edi + 8] */ 25229 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 25230 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25231 _flag_k = FK_CMP; 25232 if (CMP_NE(_flag_a, _flag_b)) goto L_39006D5C; /* 0x39006D4F: jne 0x39006d5c */ 25233 L_39006D51: 25234 MEM32(edi + 0x8) = edx; /* 0x39006D51: mov dword ptr [edi + 8], edx */ 25235 MEM32(edx + 0x8) = ecx; /* 0x39006D54: mov dword ptr [edx + 8], ecx */ 25236 goto L_39006DFB; /* 0x39006D57: jmp 0x39006dfb */ 25237 L_39006D5C: 25238 MEM32(edi) = edx; /* 0x39006D5C: mov dword ptr [edi], edx */ 25239 MEM32(edx + 0x8) = ecx; /* 0x39006D5E: mov dword ptr [edx + 8], ecx */ 25240 goto L_39006DFB; /* 0x39006D61: jmp 0x39006dfb */ 25241 L_39006D66: 25242 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x39006D66: cmp byte ptr [edx + 0x2c], 0 */ 25243 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 25244 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25245 _flag_k = FK_NARROW(FK_CMP, 24); 25246 RECOMP_BACKEDGE(); 25247 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006CAE; /* 0x39006D6A: je 0x39006cae */ 25248 L_39006D70: 25249 /* cmp eax, MEM32(ecx) */ /* 0x39006D70: cmp eax, dword ptr [ecx] */ 25250 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 25251 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25252 _flag_k = FK_CMP; 25253 if (CMP_NE(_flag_a, _flag_b)) goto L_39006DB0; /* 0x39006D72: jne 0x39006db0 */ 25254 L_39006D74: 25255 eax = ecx; /* 0x39006D74: mov eax, ecx */ 25256 ecx = MEM32(eax); /* 0x39006D76: mov ecx, dword ptr [eax] */ 25257 edx = MEM32(ecx + 0x8); /* 0x39006D78: mov edx, dword ptr [ecx + 8] */ 25258 MEM32(eax) = edx; /* 0x39006D7B: mov dword ptr [eax], edx */ 25259 edx = MEM32(ecx + 0x8); /* 0x39006D7D: mov edx, dword ptr [ecx + 8] */ 25260 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006D80: cmp edx, dword ptr [esi + 8] */ 25261 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 25262 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25263 _flag_k = FK_CMP; 25264 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006D88; /* 0x39006D83: je 0x39006d88 */ 25265 L_39006D85: 25266 MEM32(edx + 0x4) = eax; /* 0x39006D85: mov dword ptr [edx + 4], eax */ 25267 L_39006D88: 25268 edx = MEM32(eax + 0x4); /* 0x39006D88: mov edx, dword ptr [eax + 4] */ 25269 MEM32(ecx + 0x4) = edx; /* 0x39006D8B: mov dword ptr [ecx + 4], edx */ 25270 edx = MEM32(esi + 0x4); /* 0x39006D8E: mov edx, dword ptr [esi + 4] */ 25271 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006D91: cmp eax, dword ptr [edx + 4] */ 25272 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 25273 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25274 _flag_k = FK_CMP; 25275 if (CMP_NE(_flag_a, _flag_b)) goto L_39006D9B; /* 0x39006D94: jne 0x39006d9b */ 25276 L_39006D96: 25277 MEM32(edx + 0x4) = ecx; /* 0x39006D96: mov dword ptr [edx + 4], ecx */ 25278 goto L_39006DAA; /* 0x39006D99: jmp 0x39006daa */ 25279 L_39006D9B: 25280 edx = MEM32(eax + 0x4); /* 0x39006D9B: mov edx, dword ptr [eax + 4] */ 25281 /* cmp eax, MEM32(edx + 0x8) */ /* 0x39006D9E: cmp eax, dword ptr [edx + 8] */ 25282 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 25283 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25284 _flag_k = FK_CMP; 25285 if (CMP_NE(_flag_a, _flag_b)) goto L_39006DA8; /* 0x39006DA1: jne 0x39006da8 */ 25286 L_39006DA3: 25287 MEM32(edx + 0x8) = ecx; /* 0x39006DA3: mov dword ptr [edx + 8], ecx */ 25288 goto L_39006DAA; /* 0x39006DA6: jmp 0x39006daa */ 25289 L_39006DA8: 25290 MEM32(edx) = ecx; /* 0x39006DA8: mov dword ptr [edx], ecx */ 25291 L_39006DAA: 25292 MEM32(ecx + 0x8) = eax; /* 0x39006DAA: mov dword ptr [ecx + 8], eax */ 25293 MEM32(eax + 0x4) = ecx; /* 0x39006DAD: mov dword ptr [eax + 4], ecx */ 25294 L_39006DB0: 25295 ecx = MEM32(eax + 0x4); /* 0x39006DB0: mov ecx, dword ptr [eax + 4] */ 25296 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006DB3: mov byte ptr [ecx + 0x2c], bl */ 25297 edx = MEM32(eax + 0x4); /* 0x39006DB6: mov edx, dword ptr [eax + 4] */ 25298 ecx = MEM32(edx + 0x4); /* 0x39006DB9: mov ecx, dword ptr [edx + 4] */ 25299 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006DBC: mov byte ptr [ecx + 0x2c], 0 */ 25300 edx = MEM32(eax + 0x4); /* 0x39006DC0: mov edx, dword ptr [eax + 4] */ 25301 ecx = MEM32(edx + 0x4); /* 0x39006DC3: mov ecx, dword ptr [edx + 4] */ 25302 edx = MEM32(ecx + 0x8); /* 0x39006DC6: mov edx, dword ptr [ecx + 8] */ 25303 edi = MEM32(edx); /* 0x39006DC9: mov edi, dword ptr [edx] */ 25304 MEM32(ecx + 0x8) = edi; /* 0x39006DCB: mov dword ptr [ecx + 8], edi */ 25305 edi = MEM32(edx); /* 0x39006DCE: mov edi, dword ptr [edx] */ 25306 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39006DD0: cmp edi, dword ptr [esi + 8] */ 25307 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 25308 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25309 _flag_k = FK_CMP; 25310 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006DD8; /* 0x39006DD3: je 0x39006dd8 */ 25311 L_39006DD5: 25312 MEM32(edi + 0x4) = ecx; /* 0x39006DD5: mov dword ptr [edi + 4], ecx */ 25313 L_39006DD8: 25314 edi = MEM32(ecx + 0x4); /* 0x39006DD8: mov edi, dword ptr [ecx + 4] */ 25315 MEM32(edx + 0x4) = edi; /* 0x39006DDB: mov dword ptr [edx + 4], edi */ 25316 edi = MEM32(esi + 0x4); /* 0x39006DDE: mov edi, dword ptr [esi + 4] */ 25317 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006DE1: cmp ecx, dword ptr [edi + 4] */ 25318 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 25319 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25320 _flag_k = FK_CMP; 25321 if (CMP_NE(_flag_a, _flag_b)) goto L_39006DEB; /* 0x39006DE4: jne 0x39006deb */ 25322 L_39006DE6: 25323 MEM32(edi + 0x4) = edx; /* 0x39006DE6: mov dword ptr [edi + 4], edx */ 25324 goto L_39006DF9; /* 0x39006DE9: jmp 0x39006df9 */ 25325 L_39006DEB: 25326 edi = MEM32(ecx + 0x4); /* 0x39006DEB: mov edi, dword ptr [ecx + 4] */ 25327 /* cmp ecx, MEM32(edi) */ /* 0x39006DEE: cmp ecx, dword ptr [edi] */ 25328 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 25329 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25330 _flag_k = FK_CMP; 25331 if (CMP_NE(_flag_a, _flag_b)) goto L_39006DF6; /* 0x39006DF0: jne 0x39006df6 */ 25332 L_39006DF2: 25333 MEM32(edi) = edx; /* 0x39006DF2: mov dword ptr [edi], edx */ 25334 goto L_39006DF9; /* 0x39006DF4: jmp 0x39006df9 */ 25335 L_39006DF6: 25336 MEM32(edi + 0x8) = edx; /* 0x39006DF6: mov dword ptr [edi + 8], edx */ 25337 L_39006DF9: 25338 MEM32(edx) = ecx; /* 0x39006DF9: mov dword ptr [edx], ecx */ 25339 L_39006DFB: 25340 MEM32(ecx + 0x4) = edx; /* 0x39006DFB: mov dword ptr [ecx + 4], edx */ 25341 L_39006DFE: 25342 ecx = MEM32(esi + 0x4); /* 0x39006DFE: mov ecx, dword ptr [esi + 4] */ 25343 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x39006E01: cmp eax, dword ptr [ecx + 4] */ 25344 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 25345 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25346 _flag_k = FK_CMP; 25347 RECOMP_BACKEDGE(); 25348 if (CMP_NE(_flag_a, _flag_b)) goto L_39006C8A; /* 0x39006E04: jne 0x39006c8a */ 25349 L_39006E0A: 25350 edx = MEM32(esi + 0x4); /* 0x39006E0A: mov edx, dword ptr [esi + 4] */ 25351 ecx = MEM32(ebp + (-0x4)); /* 0x39006E0D: mov ecx, dword ptr [ebp - 4] */ 25352 edi = POP32_VAL(esp); /* 0x39006E10: pop edi */ 25353 esi = POP32_VAL(esp); /* 0x39006E11: pop esi */ 25354 eax = MEM32(edx + 0x4); /* 0x39006E12: mov eax, dword ptr [edx + 4] */ 25355 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006E15: mov byte ptr [eax + 0x2c], bl */ 25356 eax = MEM32(ebp + 0x8); /* 0x39006E18: mov eax, dword ptr [ebp + 8] */ 25357 ebx = POP32_VAL(esp); /* 0x39006E1B: pop ebx */ 25358 MEM32(eax) = ecx; /* 0x39006E1C: mov dword ptr [eax], ecx */ 25359 esp = ebp; /* 0x39006E1E: mov esp, ebp */ 25360 ebp = POP32_VAL(esp); /* 0x39006E20: pop ebp */ 25361 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39006E21: ret 0x10 */ 25362 RECOMP_REGS_OUT(); 25363 } 25364 25365 void sub_39006CAE(void) { 25366 int _fpu_cmp = 0; 25367 uint32_t _cf = 0; 25368 int _df = 1; 25369 uint32_t _flag_k = FK_NONE; 25370 uint32_t _flag_a = 0, _flag_b = 0; 25371 uint32_t _itail_tgt = 0; 25372 RECOMP_REGS_LOCALS 25373 RECOMP_ENTER(0x39006CAEu); 25374 25375 goto L_39006CAE; 25376 L_39006C8A: 25377 ecx = MEM32(eax + 0x4); /* 0x39006C8A: mov ecx, dword ptr [eax + 4] */ 25378 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39006C8D: mov dl, byte ptr [ecx + 0x2c] */ 25379 /* test LO8(edx), LO8(edx) */ /* 0x39006C90: test dl, dl */ 25380 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 25381 _cf = 0; 25382 _flag_k = FK_NARROW(FK_TEST, 24); 25383 if (TEST_NZ(_flag_a, _flag_b)) goto L_39006E0A; /* 0x39006C92: jne 0x39006e0a */ 25384 L_39006C98: 25385 edi = MEM32(ecx + 0x4); /* 0x39006C98: mov edi, dword ptr [ecx + 4] */ 25386 edx = MEM32(edi); /* 0x39006C9B: mov edx, dword ptr [edi] */ 25387 /* cmp ecx, edx */ /* 0x39006C9D: cmp ecx, edx */ 25388 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 25389 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25390 _flag_k = FK_CMP; 25391 if (CMP_NE(_flag_a, _flag_b)) goto L_39006D66; /* 0x39006C9F: jne 0x39006d66 */ 25392 L_39006CA5: 25393 edx = MEM32(edi + 0x8); /* 0x39006CA5: mov edx, dword ptr [edi + 8] */ 25394 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x39006CA8: cmp byte ptr [edx + 0x2c], 0 */ 25395 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 25396 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25397 _flag_k = FK_NARROW(FK_CMP, 24); 25398 if (CMP_NE(_flag_a, _flag_b)) goto L_39006CC9; /* 0x39006CAC: jne 0x39006cc9 */ 25399 L_39006CAE: 25400 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006CAE: mov byte ptr [ecx + 0x2c], bl */ 25401 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006CB1: mov byte ptr [edx + 0x2c], bl */ 25402 ecx = MEM32(eax + 0x4); /* 0x39006CB4: mov ecx, dword ptr [eax + 4] */ 25403 edx = MEM32(ecx + 0x4); /* 0x39006CB7: mov edx, dword ptr [ecx + 4] */ 25404 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x39006CBA: mov byte ptr [edx + 0x2c], 0 */ 25405 eax = MEM32(eax + 0x4); /* 0x39006CBE: mov eax, dword ptr [eax + 4] */ 25406 eax = MEM32(eax + 0x4); /* 0x39006CC1: mov eax, dword ptr [eax + 4] */ 25407 goto L_39006DFE; /* 0x39006CC4: jmp 0x39006dfe */ 25408 L_39006CC9: 25409 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x39006CC9: cmp eax, dword ptr [ecx + 8] */ 25410 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 25411 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25412 _flag_k = FK_CMP; 25413 if (CMP_NE(_flag_a, _flag_b)) goto L_39006D08; /* 0x39006CCC: jne 0x39006d08 */ 25414 L_39006CCE: 25415 eax = ecx; /* 0x39006CCE: mov eax, ecx */ 25416 ecx = MEM32(eax + 0x8); /* 0x39006CD0: mov ecx, dword ptr [eax + 8] */ 25417 edx = MEM32(ecx); /* 0x39006CD3: mov edx, dword ptr [ecx] */ 25418 MEM32(eax + 0x8) = edx; /* 0x39006CD5: mov dword ptr [eax + 8], edx */ 25419 edx = MEM32(ecx); /* 0x39006CD8: mov edx, dword ptr [ecx] */ 25420 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006CDA: cmp edx, dword ptr [esi + 8] */ 25421 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 25422 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25423 _flag_k = FK_CMP; 25424 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006CE2; /* 0x39006CDD: je 0x39006ce2 */ 25425 L_39006CDF: 25426 MEM32(edx + 0x4) = eax; /* 0x39006CDF: mov dword ptr [edx + 4], eax */ 25427 L_39006CE2: 25428 edx = MEM32(eax + 0x4); /* 0x39006CE2: mov edx, dword ptr [eax + 4] */ 25429 MEM32(ecx + 0x4) = edx; /* 0x39006CE5: mov dword ptr [ecx + 4], edx */ 25430 edx = MEM32(esi + 0x4); /* 0x39006CE8: mov edx, dword ptr [esi + 4] */ 25431 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006CEB: cmp eax, dword ptr [edx + 4] */ 25432 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 25433 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25434 _flag_k = FK_CMP; 25435 if (CMP_NE(_flag_a, _flag_b)) goto L_39006CF5; /* 0x39006CEE: jne 0x39006cf5 */ 25436 L_39006CF0: 25437 MEM32(edx + 0x4) = ecx; /* 0x39006CF0: mov dword ptr [edx + 4], ecx */ 25438 goto L_39006D03; /* 0x39006CF3: jmp 0x39006d03 */ 25439 L_39006CF5: 25440 edx = MEM32(eax + 0x4); /* 0x39006CF5: mov edx, dword ptr [eax + 4] */ 25441 /* cmp eax, MEM32(edx) */ /* 0x39006CF8: cmp eax, dword ptr [edx] */ 25442 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 25443 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25444 _flag_k = FK_CMP; 25445 if (CMP_NE(_flag_a, _flag_b)) goto L_39006D00; /* 0x39006CFA: jne 0x39006d00 */ 25446 L_39006CFC: 25447 MEM32(edx) = ecx; /* 0x39006CFC: mov dword ptr [edx], ecx */ 25448 goto L_39006D03; /* 0x39006CFE: jmp 0x39006d03 */ 25449 L_39006D00: 25450 MEM32(edx + 0x8) = ecx; /* 0x39006D00: mov dword ptr [edx + 8], ecx */ 25451 L_39006D03: 25452 MEM32(ecx) = eax; /* 0x39006D03: mov dword ptr [ecx], eax */ 25453 MEM32(eax + 0x4) = ecx; /* 0x39006D05: mov dword ptr [eax + 4], ecx */ 25454 L_39006D08: 25455 ecx = MEM32(eax + 0x4); /* 0x39006D08: mov ecx, dword ptr [eax + 4] */ 25456 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006D0B: mov byte ptr [ecx + 0x2c], bl */ 25457 edx = MEM32(eax + 0x4); /* 0x39006D0E: mov edx, dword ptr [eax + 4] */ 25458 ecx = MEM32(edx + 0x4); /* 0x39006D11: mov ecx, dword ptr [edx + 4] */ 25459 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006D14: mov byte ptr [ecx + 0x2c], 0 */ 25460 edx = MEM32(eax + 0x4); /* 0x39006D18: mov edx, dword ptr [eax + 4] */ 25461 ecx = MEM32(edx + 0x4); /* 0x39006D1B: mov ecx, dword ptr [edx + 4] */ 25462 edx = MEM32(ecx); /* 0x39006D1E: mov edx, dword ptr [ecx] */ 25463 edi = MEM32(edx + 0x8); /* 0x39006D20: mov edi, dword ptr [edx + 8] */ 25464 MEM32(ecx) = edi; /* 0x39006D23: mov dword ptr [ecx], edi */ 25465 edi = MEM32(edx + 0x8); /* 0x39006D25: mov edi, dword ptr [edx + 8] */ 25466 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39006D28: cmp edi, dword ptr [esi + 8] */ 25467 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 25468 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25469 _flag_k = FK_CMP; 25470 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006D30; /* 0x39006D2B: je 0x39006d30 */ 25471 L_39006D2D: 25472 MEM32(edi + 0x4) = ecx; /* 0x39006D2D: mov dword ptr [edi + 4], ecx */ 25473 L_39006D30: 25474 edi = MEM32(ecx + 0x4); /* 0x39006D30: mov edi, dword ptr [ecx + 4] */ 25475 MEM32(edx + 0x4) = edi; /* 0x39006D33: mov dword ptr [edx + 4], edi */ 25476 edi = MEM32(esi + 0x4); /* 0x39006D36: mov edi, dword ptr [esi + 4] */ 25477 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006D39: cmp ecx, dword ptr [edi + 4] */ 25478 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 25479 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25480 _flag_k = FK_CMP; 25481 if (CMP_NE(_flag_a, _flag_b)) goto L_39006D49; /* 0x39006D3C: jne 0x39006d49 */ 25482 L_39006D3E: 25483 MEM32(edi + 0x4) = edx; /* 0x39006D3E: mov dword ptr [edi + 4], edx */ 25484 MEM32(edx + 0x8) = ecx; /* 0x39006D41: mov dword ptr [edx + 8], ecx */ 25485 goto L_39006DFB; /* 0x39006D44: jmp 0x39006dfb */ 25486 L_39006D49: 25487 edi = MEM32(ecx + 0x4); /* 0x39006D49: mov edi, dword ptr [ecx + 4] */ 25488 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x39006D4C: cmp ecx, dword ptr [edi + 8] */ 25489 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 25490 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25491 _flag_k = FK_CMP; 25492 if (CMP_NE(_flag_a, _flag_b)) goto L_39006D5C; /* 0x39006D4F: jne 0x39006d5c */ 25493 L_39006D51: 25494 MEM32(edi + 0x8) = edx; /* 0x39006D51: mov dword ptr [edi + 8], edx */ 25495 MEM32(edx + 0x8) = ecx; /* 0x39006D54: mov dword ptr [edx + 8], ecx */ 25496 goto L_39006DFB; /* 0x39006D57: jmp 0x39006dfb */ 25497 L_39006D5C: 25498 MEM32(edi) = edx; /* 0x39006D5C: mov dword ptr [edi], edx */ 25499 MEM32(edx + 0x8) = ecx; /* 0x39006D5E: mov dword ptr [edx + 8], ecx */ 25500 goto L_39006DFB; /* 0x39006D61: jmp 0x39006dfb */ 25501 L_39006D66: 25502 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x39006D66: cmp byte ptr [edx + 0x2c], 0 */ 25503 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 25504 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25505 _flag_k = FK_NARROW(FK_CMP, 24); 25506 RECOMP_BACKEDGE(); 25507 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006CAE; /* 0x39006D6A: je 0x39006cae */ 25508 L_39006D70: 25509 /* cmp eax, MEM32(ecx) */ /* 0x39006D70: cmp eax, dword ptr [ecx] */ 25510 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 25511 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25512 _flag_k = FK_CMP; 25513 if (CMP_NE(_flag_a, _flag_b)) goto L_39006DB0; /* 0x39006D72: jne 0x39006db0 */ 25514 L_39006D74: 25515 eax = ecx; /* 0x39006D74: mov eax, ecx */ 25516 ecx = MEM32(eax); /* 0x39006D76: mov ecx, dword ptr [eax] */ 25517 edx = MEM32(ecx + 0x8); /* 0x39006D78: mov edx, dword ptr [ecx + 8] */ 25518 MEM32(eax) = edx; /* 0x39006D7B: mov dword ptr [eax], edx */ 25519 edx = MEM32(ecx + 0x8); /* 0x39006D7D: mov edx, dword ptr [ecx + 8] */ 25520 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006D80: cmp edx, dword ptr [esi + 8] */ 25521 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 25522 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25523 _flag_k = FK_CMP; 25524 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006D88; /* 0x39006D83: je 0x39006d88 */ 25525 L_39006D85: 25526 MEM32(edx + 0x4) = eax; /* 0x39006D85: mov dword ptr [edx + 4], eax */ 25527 L_39006D88: 25528 edx = MEM32(eax + 0x4); /* 0x39006D88: mov edx, dword ptr [eax + 4] */ 25529 MEM32(ecx + 0x4) = edx; /* 0x39006D8B: mov dword ptr [ecx + 4], edx */ 25530 edx = MEM32(esi + 0x4); /* 0x39006D8E: mov edx, dword ptr [esi + 4] */ 25531 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006D91: cmp eax, dword ptr [edx + 4] */ 25532 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 25533 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25534 _flag_k = FK_CMP; 25535 if (CMP_NE(_flag_a, _flag_b)) goto L_39006D9B; /* 0x39006D94: jne 0x39006d9b */ 25536 L_39006D96: 25537 MEM32(edx + 0x4) = ecx; /* 0x39006D96: mov dword ptr [edx + 4], ecx */ 25538 goto L_39006DAA; /* 0x39006D99: jmp 0x39006daa */ 25539 L_39006D9B: 25540 edx = MEM32(eax + 0x4); /* 0x39006D9B: mov edx, dword ptr [eax + 4] */ 25541 /* cmp eax, MEM32(edx + 0x8) */ /* 0x39006D9E: cmp eax, dword ptr [edx + 8] */ 25542 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 25543 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25544 _flag_k = FK_CMP; 25545 if (CMP_NE(_flag_a, _flag_b)) goto L_39006DA8; /* 0x39006DA1: jne 0x39006da8 */ 25546 L_39006DA3: 25547 MEM32(edx + 0x8) = ecx; /* 0x39006DA3: mov dword ptr [edx + 8], ecx */ 25548 goto L_39006DAA; /* 0x39006DA6: jmp 0x39006daa */ 25549 L_39006DA8: 25550 MEM32(edx) = ecx; /* 0x39006DA8: mov dword ptr [edx], ecx */ 25551 L_39006DAA: 25552 MEM32(ecx + 0x8) = eax; /* 0x39006DAA: mov dword ptr [ecx + 8], eax */ 25553 MEM32(eax + 0x4) = ecx; /* 0x39006DAD: mov dword ptr [eax + 4], ecx */ 25554 L_39006DB0: 25555 ecx = MEM32(eax + 0x4); /* 0x39006DB0: mov ecx, dword ptr [eax + 4] */ 25556 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006DB3: mov byte ptr [ecx + 0x2c], bl */ 25557 edx = MEM32(eax + 0x4); /* 0x39006DB6: mov edx, dword ptr [eax + 4] */ 25558 ecx = MEM32(edx + 0x4); /* 0x39006DB9: mov ecx, dword ptr [edx + 4] */ 25559 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006DBC: mov byte ptr [ecx + 0x2c], 0 */ 25560 edx = MEM32(eax + 0x4); /* 0x39006DC0: mov edx, dword ptr [eax + 4] */ 25561 ecx = MEM32(edx + 0x4); /* 0x39006DC3: mov ecx, dword ptr [edx + 4] */ 25562 edx = MEM32(ecx + 0x8); /* 0x39006DC6: mov edx, dword ptr [ecx + 8] */ 25563 edi = MEM32(edx); /* 0x39006DC9: mov edi, dword ptr [edx] */ 25564 MEM32(ecx + 0x8) = edi; /* 0x39006DCB: mov dword ptr [ecx + 8], edi */ 25565 edi = MEM32(edx); /* 0x39006DCE: mov edi, dword ptr [edx] */ 25566 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39006DD0: cmp edi, dword ptr [esi + 8] */ 25567 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 25568 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25569 _flag_k = FK_CMP; 25570 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006DD8; /* 0x39006DD3: je 0x39006dd8 */ 25571 L_39006DD5: 25572 MEM32(edi + 0x4) = ecx; /* 0x39006DD5: mov dword ptr [edi + 4], ecx */ 25573 L_39006DD8: 25574 edi = MEM32(ecx + 0x4); /* 0x39006DD8: mov edi, dword ptr [ecx + 4] */ 25575 MEM32(edx + 0x4) = edi; /* 0x39006DDB: mov dword ptr [edx + 4], edi */ 25576 edi = MEM32(esi + 0x4); /* 0x39006DDE: mov edi, dword ptr [esi + 4] */ 25577 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006DE1: cmp ecx, dword ptr [edi + 4] */ 25578 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 25579 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25580 _flag_k = FK_CMP; 25581 if (CMP_NE(_flag_a, _flag_b)) goto L_39006DEB; /* 0x39006DE4: jne 0x39006deb */ 25582 L_39006DE6: 25583 MEM32(edi + 0x4) = edx; /* 0x39006DE6: mov dword ptr [edi + 4], edx */ 25584 goto L_39006DF9; /* 0x39006DE9: jmp 0x39006df9 */ 25585 L_39006DEB: 25586 edi = MEM32(ecx + 0x4); /* 0x39006DEB: mov edi, dword ptr [ecx + 4] */ 25587 /* cmp ecx, MEM32(edi) */ /* 0x39006DEE: cmp ecx, dword ptr [edi] */ 25588 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 25589 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25590 _flag_k = FK_CMP; 25591 if (CMP_NE(_flag_a, _flag_b)) goto L_39006DF6; /* 0x39006DF0: jne 0x39006df6 */ 25592 L_39006DF2: 25593 MEM32(edi) = edx; /* 0x39006DF2: mov dword ptr [edi], edx */ 25594 goto L_39006DF9; /* 0x39006DF4: jmp 0x39006df9 */ 25595 L_39006DF6: 25596 MEM32(edi + 0x8) = edx; /* 0x39006DF6: mov dword ptr [edi + 8], edx */ 25597 L_39006DF9: 25598 MEM32(edx) = ecx; /* 0x39006DF9: mov dword ptr [edx], ecx */ 25599 L_39006DFB: 25600 MEM32(ecx + 0x4) = edx; /* 0x39006DFB: mov dword ptr [ecx + 4], edx */ 25601 L_39006DFE: 25602 ecx = MEM32(esi + 0x4); /* 0x39006DFE: mov ecx, dword ptr [esi + 4] */ 25603 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x39006E01: cmp eax, dword ptr [ecx + 4] */ 25604 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 25605 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25606 _flag_k = FK_CMP; 25607 RECOMP_BACKEDGE(); 25608 if (CMP_NE(_flag_a, _flag_b)) goto L_39006C8A; /* 0x39006E04: jne 0x39006c8a */ 25609 L_39006E0A: 25610 edx = MEM32(esi + 0x4); /* 0x39006E0A: mov edx, dword ptr [esi + 4] */ 25611 ecx = MEM32(ebp + (-0x4)); /* 0x39006E0D: mov ecx, dword ptr [ebp - 4] */ 25612 edi = POP32_VAL(esp); /* 0x39006E10: pop edi */ 25613 esi = POP32_VAL(esp); /* 0x39006E11: pop esi */ 25614 eax = MEM32(edx + 0x4); /* 0x39006E12: mov eax, dword ptr [edx + 4] */ 25615 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006E15: mov byte ptr [eax + 0x2c], bl */ 25616 eax = MEM32(ebp + 0x8); /* 0x39006E18: mov eax, dword ptr [ebp + 8] */ 25617 ebx = POP32_VAL(esp); /* 0x39006E1B: pop ebx */ 25618 MEM32(eax) = ecx; /* 0x39006E1C: mov dword ptr [eax], ecx */ 25619 esp = ebp; /* 0x39006E1E: mov esp, ebp */ 25620 ebp = POP32_VAL(esp); /* 0x39006E20: pop ebp */ 25621 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39006E21: ret 0x10 */ 25622 RECOMP_REGS_OUT(); 25623 } 25624 25625 void sub_39006D03(void) { 25626 int _fpu_cmp = 0; 25627 uint32_t _cf = 0; 25628 int _df = 1; 25629 uint32_t _flag_k = FK_NONE; 25630 uint32_t _flag_a = 0, _flag_b = 0; 25631 uint32_t _itail_tgt = 0; 25632 RECOMP_REGS_LOCALS 25633 RECOMP_ENTER(0x39006D03u); 25634 25635 goto L_39006D03; 25636 L_39006C8A: 25637 ecx = MEM32(eax + 0x4); /* 0x39006C8A: mov ecx, dword ptr [eax + 4] */ 25638 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39006C8D: mov dl, byte ptr [ecx + 0x2c] */ 25639 /* test LO8(edx), LO8(edx) */ /* 0x39006C90: test dl, dl */ 25640 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 25641 _cf = 0; 25642 _flag_k = FK_NARROW(FK_TEST, 24); 25643 if (TEST_NZ(_flag_a, _flag_b)) goto L_39006E0A; /* 0x39006C92: jne 0x39006e0a */ 25644 L_39006C98: 25645 edi = MEM32(ecx + 0x4); /* 0x39006C98: mov edi, dword ptr [ecx + 4] */ 25646 edx = MEM32(edi); /* 0x39006C9B: mov edx, dword ptr [edi] */ 25647 /* cmp ecx, edx */ /* 0x39006C9D: cmp ecx, edx */ 25648 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 25649 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25650 _flag_k = FK_CMP; 25651 if (CMP_NE(_flag_a, _flag_b)) goto L_39006D66; /* 0x39006C9F: jne 0x39006d66 */ 25652 L_39006CA5: 25653 edx = MEM32(edi + 0x8); /* 0x39006CA5: mov edx, dword ptr [edi + 8] */ 25654 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x39006CA8: cmp byte ptr [edx + 0x2c], 0 */ 25655 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 25656 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25657 _flag_k = FK_NARROW(FK_CMP, 24); 25658 if (CMP_NE(_flag_a, _flag_b)) goto L_39006CC9; /* 0x39006CAC: jne 0x39006cc9 */ 25659 L_39006CAE: 25660 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006CAE: mov byte ptr [ecx + 0x2c], bl */ 25661 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006CB1: mov byte ptr [edx + 0x2c], bl */ 25662 ecx = MEM32(eax + 0x4); /* 0x39006CB4: mov ecx, dword ptr [eax + 4] */ 25663 edx = MEM32(ecx + 0x4); /* 0x39006CB7: mov edx, dword ptr [ecx + 4] */ 25664 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x39006CBA: mov byte ptr [edx + 0x2c], 0 */ 25665 eax = MEM32(eax + 0x4); /* 0x39006CBE: mov eax, dword ptr [eax + 4] */ 25666 eax = MEM32(eax + 0x4); /* 0x39006CC1: mov eax, dword ptr [eax + 4] */ 25667 goto L_39006DFE; /* 0x39006CC4: jmp 0x39006dfe */ 25668 L_39006CC9: 25669 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x39006CC9: cmp eax, dword ptr [ecx + 8] */ 25670 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 25671 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25672 _flag_k = FK_CMP; 25673 if (CMP_NE(_flag_a, _flag_b)) goto L_39006D08; /* 0x39006CCC: jne 0x39006d08 */ 25674 L_39006CCE: 25675 eax = ecx; /* 0x39006CCE: mov eax, ecx */ 25676 ecx = MEM32(eax + 0x8); /* 0x39006CD0: mov ecx, dword ptr [eax + 8] */ 25677 edx = MEM32(ecx); /* 0x39006CD3: mov edx, dword ptr [ecx] */ 25678 MEM32(eax + 0x8) = edx; /* 0x39006CD5: mov dword ptr [eax + 8], edx */ 25679 edx = MEM32(ecx); /* 0x39006CD8: mov edx, dword ptr [ecx] */ 25680 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006CDA: cmp edx, dword ptr [esi + 8] */ 25681 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 25682 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25683 _flag_k = FK_CMP; 25684 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006CE2; /* 0x39006CDD: je 0x39006ce2 */ 25685 L_39006CDF: 25686 MEM32(edx + 0x4) = eax; /* 0x39006CDF: mov dword ptr [edx + 4], eax */ 25687 L_39006CE2: 25688 edx = MEM32(eax + 0x4); /* 0x39006CE2: mov edx, dword ptr [eax + 4] */ 25689 MEM32(ecx + 0x4) = edx; /* 0x39006CE5: mov dword ptr [ecx + 4], edx */ 25690 edx = MEM32(esi + 0x4); /* 0x39006CE8: mov edx, dword ptr [esi + 4] */ 25691 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006CEB: cmp eax, dword ptr [edx + 4] */ 25692 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 25693 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25694 _flag_k = FK_CMP; 25695 if (CMP_NE(_flag_a, _flag_b)) goto L_39006CF5; /* 0x39006CEE: jne 0x39006cf5 */ 25696 L_39006CF0: 25697 MEM32(edx + 0x4) = ecx; /* 0x39006CF0: mov dword ptr [edx + 4], ecx */ 25698 goto L_39006D03; /* 0x39006CF3: jmp 0x39006d03 */ 25699 L_39006CF5: 25700 edx = MEM32(eax + 0x4); /* 0x39006CF5: mov edx, dword ptr [eax + 4] */ 25701 /* cmp eax, MEM32(edx) */ /* 0x39006CF8: cmp eax, dword ptr [edx] */ 25702 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 25703 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25704 _flag_k = FK_CMP; 25705 if (CMP_NE(_flag_a, _flag_b)) goto L_39006D00; /* 0x39006CFA: jne 0x39006d00 */ 25706 L_39006CFC: 25707 MEM32(edx) = ecx; /* 0x39006CFC: mov dword ptr [edx], ecx */ 25708 goto L_39006D03; /* 0x39006CFE: jmp 0x39006d03 */ 25709 L_39006D00: 25710 MEM32(edx + 0x8) = ecx; /* 0x39006D00: mov dword ptr [edx + 8], ecx */ 25711 L_39006D03: 25712 MEM32(ecx) = eax; /* 0x39006D03: mov dword ptr [ecx], eax */ 25713 MEM32(eax + 0x4) = ecx; /* 0x39006D05: mov dword ptr [eax + 4], ecx */ 25714 L_39006D08: 25715 ecx = MEM32(eax + 0x4); /* 0x39006D08: mov ecx, dword ptr [eax + 4] */ 25716 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006D0B: mov byte ptr [ecx + 0x2c], bl */ 25717 edx = MEM32(eax + 0x4); /* 0x39006D0E: mov edx, dword ptr [eax + 4] */ 25718 ecx = MEM32(edx + 0x4); /* 0x39006D11: mov ecx, dword ptr [edx + 4] */ 25719 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006D14: mov byte ptr [ecx + 0x2c], 0 */ 25720 edx = MEM32(eax + 0x4); /* 0x39006D18: mov edx, dword ptr [eax + 4] */ 25721 ecx = MEM32(edx + 0x4); /* 0x39006D1B: mov ecx, dword ptr [edx + 4] */ 25722 edx = MEM32(ecx); /* 0x39006D1E: mov edx, dword ptr [ecx] */ 25723 edi = MEM32(edx + 0x8); /* 0x39006D20: mov edi, dword ptr [edx + 8] */ 25724 MEM32(ecx) = edi; /* 0x39006D23: mov dword ptr [ecx], edi */ 25725 edi = MEM32(edx + 0x8); /* 0x39006D25: mov edi, dword ptr [edx + 8] */ 25726 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39006D28: cmp edi, dword ptr [esi + 8] */ 25727 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 25728 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25729 _flag_k = FK_CMP; 25730 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006D30; /* 0x39006D2B: je 0x39006d30 */ 25731 L_39006D2D: 25732 MEM32(edi + 0x4) = ecx; /* 0x39006D2D: mov dword ptr [edi + 4], ecx */ 25733 L_39006D30: 25734 edi = MEM32(ecx + 0x4); /* 0x39006D30: mov edi, dword ptr [ecx + 4] */ 25735 MEM32(edx + 0x4) = edi; /* 0x39006D33: mov dword ptr [edx + 4], edi */ 25736 edi = MEM32(esi + 0x4); /* 0x39006D36: mov edi, dword ptr [esi + 4] */ 25737 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006D39: cmp ecx, dword ptr [edi + 4] */ 25738 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 25739 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25740 _flag_k = FK_CMP; 25741 if (CMP_NE(_flag_a, _flag_b)) goto L_39006D49; /* 0x39006D3C: jne 0x39006d49 */ 25742 L_39006D3E: 25743 MEM32(edi + 0x4) = edx; /* 0x39006D3E: mov dword ptr [edi + 4], edx */ 25744 MEM32(edx + 0x8) = ecx; /* 0x39006D41: mov dword ptr [edx + 8], ecx */ 25745 goto L_39006DFB; /* 0x39006D44: jmp 0x39006dfb */ 25746 L_39006D49: 25747 edi = MEM32(ecx + 0x4); /* 0x39006D49: mov edi, dword ptr [ecx + 4] */ 25748 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x39006D4C: cmp ecx, dword ptr [edi + 8] */ 25749 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 25750 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25751 _flag_k = FK_CMP; 25752 if (CMP_NE(_flag_a, _flag_b)) goto L_39006D5C; /* 0x39006D4F: jne 0x39006d5c */ 25753 L_39006D51: 25754 MEM32(edi + 0x8) = edx; /* 0x39006D51: mov dword ptr [edi + 8], edx */ 25755 MEM32(edx + 0x8) = ecx; /* 0x39006D54: mov dword ptr [edx + 8], ecx */ 25756 goto L_39006DFB; /* 0x39006D57: jmp 0x39006dfb */ 25757 L_39006D5C: 25758 MEM32(edi) = edx; /* 0x39006D5C: mov dword ptr [edi], edx */ 25759 MEM32(edx + 0x8) = ecx; /* 0x39006D5E: mov dword ptr [edx + 8], ecx */ 25760 goto L_39006DFB; /* 0x39006D61: jmp 0x39006dfb */ 25761 L_39006D66: 25762 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x39006D66: cmp byte ptr [edx + 0x2c], 0 */ 25763 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 25764 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25765 _flag_k = FK_NARROW(FK_CMP, 24); 25766 RECOMP_BACKEDGE(); 25767 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006CAE; /* 0x39006D6A: je 0x39006cae */ 25768 L_39006D70: 25769 /* cmp eax, MEM32(ecx) */ /* 0x39006D70: cmp eax, dword ptr [ecx] */ 25770 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 25771 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25772 _flag_k = FK_CMP; 25773 if (CMP_NE(_flag_a, _flag_b)) goto L_39006DB0; /* 0x39006D72: jne 0x39006db0 */ 25774 L_39006D74: 25775 eax = ecx; /* 0x39006D74: mov eax, ecx */ 25776 ecx = MEM32(eax); /* 0x39006D76: mov ecx, dword ptr [eax] */ 25777 edx = MEM32(ecx + 0x8); /* 0x39006D78: mov edx, dword ptr [ecx + 8] */ 25778 MEM32(eax) = edx; /* 0x39006D7B: mov dword ptr [eax], edx */ 25779 edx = MEM32(ecx + 0x8); /* 0x39006D7D: mov edx, dword ptr [ecx + 8] */ 25780 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006D80: cmp edx, dword ptr [esi + 8] */ 25781 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 25782 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25783 _flag_k = FK_CMP; 25784 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006D88; /* 0x39006D83: je 0x39006d88 */ 25785 L_39006D85: 25786 MEM32(edx + 0x4) = eax; /* 0x39006D85: mov dword ptr [edx + 4], eax */ 25787 L_39006D88: 25788 edx = MEM32(eax + 0x4); /* 0x39006D88: mov edx, dword ptr [eax + 4] */ 25789 MEM32(ecx + 0x4) = edx; /* 0x39006D8B: mov dword ptr [ecx + 4], edx */ 25790 edx = MEM32(esi + 0x4); /* 0x39006D8E: mov edx, dword ptr [esi + 4] */ 25791 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006D91: cmp eax, dword ptr [edx + 4] */ 25792 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 25793 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25794 _flag_k = FK_CMP; 25795 if (CMP_NE(_flag_a, _flag_b)) goto L_39006D9B; /* 0x39006D94: jne 0x39006d9b */ 25796 L_39006D96: 25797 MEM32(edx + 0x4) = ecx; /* 0x39006D96: mov dword ptr [edx + 4], ecx */ 25798 goto L_39006DAA; /* 0x39006D99: jmp 0x39006daa */ 25799 L_39006D9B: 25800 edx = MEM32(eax + 0x4); /* 0x39006D9B: mov edx, dword ptr [eax + 4] */ 25801 /* cmp eax, MEM32(edx + 0x8) */ /* 0x39006D9E: cmp eax, dword ptr [edx + 8] */ 25802 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 25803 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25804 _flag_k = FK_CMP; 25805 if (CMP_NE(_flag_a, _flag_b)) goto L_39006DA8; /* 0x39006DA1: jne 0x39006da8 */ 25806 L_39006DA3: 25807 MEM32(edx + 0x8) = ecx; /* 0x39006DA3: mov dword ptr [edx + 8], ecx */ 25808 goto L_39006DAA; /* 0x39006DA6: jmp 0x39006daa */ 25809 L_39006DA8: 25810 MEM32(edx) = ecx; /* 0x39006DA8: mov dword ptr [edx], ecx */ 25811 L_39006DAA: 25812 MEM32(ecx + 0x8) = eax; /* 0x39006DAA: mov dword ptr [ecx + 8], eax */ 25813 MEM32(eax + 0x4) = ecx; /* 0x39006DAD: mov dword ptr [eax + 4], ecx */ 25814 L_39006DB0: 25815 ecx = MEM32(eax + 0x4); /* 0x39006DB0: mov ecx, dword ptr [eax + 4] */ 25816 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006DB3: mov byte ptr [ecx + 0x2c], bl */ 25817 edx = MEM32(eax + 0x4); /* 0x39006DB6: mov edx, dword ptr [eax + 4] */ 25818 ecx = MEM32(edx + 0x4); /* 0x39006DB9: mov ecx, dword ptr [edx + 4] */ 25819 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006DBC: mov byte ptr [ecx + 0x2c], 0 */ 25820 edx = MEM32(eax + 0x4); /* 0x39006DC0: mov edx, dword ptr [eax + 4] */ 25821 ecx = MEM32(edx + 0x4); /* 0x39006DC3: mov ecx, dword ptr [edx + 4] */ 25822 edx = MEM32(ecx + 0x8); /* 0x39006DC6: mov edx, dword ptr [ecx + 8] */ 25823 edi = MEM32(edx); /* 0x39006DC9: mov edi, dword ptr [edx] */ 25824 MEM32(ecx + 0x8) = edi; /* 0x39006DCB: mov dword ptr [ecx + 8], edi */ 25825 edi = MEM32(edx); /* 0x39006DCE: mov edi, dword ptr [edx] */ 25826 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39006DD0: cmp edi, dword ptr [esi + 8] */ 25827 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 25828 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25829 _flag_k = FK_CMP; 25830 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006DD8; /* 0x39006DD3: je 0x39006dd8 */ 25831 L_39006DD5: 25832 MEM32(edi + 0x4) = ecx; /* 0x39006DD5: mov dword ptr [edi + 4], ecx */ 25833 L_39006DD8: 25834 edi = MEM32(ecx + 0x4); /* 0x39006DD8: mov edi, dword ptr [ecx + 4] */ 25835 MEM32(edx + 0x4) = edi; /* 0x39006DDB: mov dword ptr [edx + 4], edi */ 25836 edi = MEM32(esi + 0x4); /* 0x39006DDE: mov edi, dword ptr [esi + 4] */ 25837 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006DE1: cmp ecx, dword ptr [edi + 4] */ 25838 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 25839 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25840 _flag_k = FK_CMP; 25841 if (CMP_NE(_flag_a, _flag_b)) goto L_39006DEB; /* 0x39006DE4: jne 0x39006deb */ 25842 L_39006DE6: 25843 MEM32(edi + 0x4) = edx; /* 0x39006DE6: mov dword ptr [edi + 4], edx */ 25844 goto L_39006DF9; /* 0x39006DE9: jmp 0x39006df9 */ 25845 L_39006DEB: 25846 edi = MEM32(ecx + 0x4); /* 0x39006DEB: mov edi, dword ptr [ecx + 4] */ 25847 /* cmp ecx, MEM32(edi) */ /* 0x39006DEE: cmp ecx, dword ptr [edi] */ 25848 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 25849 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25850 _flag_k = FK_CMP; 25851 if (CMP_NE(_flag_a, _flag_b)) goto L_39006DF6; /* 0x39006DF0: jne 0x39006df6 */ 25852 L_39006DF2: 25853 MEM32(edi) = edx; /* 0x39006DF2: mov dword ptr [edi], edx */ 25854 goto L_39006DF9; /* 0x39006DF4: jmp 0x39006df9 */ 25855 L_39006DF6: 25856 MEM32(edi + 0x8) = edx; /* 0x39006DF6: mov dword ptr [edi + 8], edx */ 25857 L_39006DF9: 25858 MEM32(edx) = ecx; /* 0x39006DF9: mov dword ptr [edx], ecx */ 25859 L_39006DFB: 25860 MEM32(ecx + 0x4) = edx; /* 0x39006DFB: mov dword ptr [ecx + 4], edx */ 25861 L_39006DFE: 25862 ecx = MEM32(esi + 0x4); /* 0x39006DFE: mov ecx, dword ptr [esi + 4] */ 25863 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x39006E01: cmp eax, dword ptr [ecx + 4] */ 25864 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 25865 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25866 _flag_k = FK_CMP; 25867 RECOMP_BACKEDGE(); 25868 if (CMP_NE(_flag_a, _flag_b)) goto L_39006C8A; /* 0x39006E04: jne 0x39006c8a */ 25869 L_39006E0A: 25870 edx = MEM32(esi + 0x4); /* 0x39006E0A: mov edx, dword ptr [esi + 4] */ 25871 ecx = MEM32(ebp + (-0x4)); /* 0x39006E0D: mov ecx, dword ptr [ebp - 4] */ 25872 edi = POP32_VAL(esp); /* 0x39006E10: pop edi */ 25873 esi = POP32_VAL(esp); /* 0x39006E11: pop esi */ 25874 eax = MEM32(edx + 0x4); /* 0x39006E12: mov eax, dword ptr [edx + 4] */ 25875 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006E15: mov byte ptr [eax + 0x2c], bl */ 25876 eax = MEM32(ebp + 0x8); /* 0x39006E18: mov eax, dword ptr [ebp + 8] */ 25877 ebx = POP32_VAL(esp); /* 0x39006E1B: pop ebx */ 25878 MEM32(eax) = ecx; /* 0x39006E1C: mov dword ptr [eax], ecx */ 25879 esp = ebp; /* 0x39006E1E: mov esp, ebp */ 25880 ebp = POP32_VAL(esp); /* 0x39006E20: pop ebp */ 25881 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39006E21: ret 0x10 */ 25882 RECOMP_REGS_OUT(); 25883 } 25884 25885 void sub_39006D08(void) { 25886 int _fpu_cmp = 0; 25887 uint32_t _cf = 0; 25888 int _df = 1; 25889 uint32_t _flag_k = FK_NONE; 25890 uint32_t _flag_a = 0, _flag_b = 0; 25891 uint32_t _itail_tgt = 0; 25892 RECOMP_REGS_LOCALS 25893 RECOMP_ENTER(0x39006D08u); 25894 25895 goto L_39006D08; 25896 L_39006C8A: 25897 ecx = MEM32(eax + 0x4); /* 0x39006C8A: mov ecx, dword ptr [eax + 4] */ 25898 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39006C8D: mov dl, byte ptr [ecx + 0x2c] */ 25899 /* test LO8(edx), LO8(edx) */ /* 0x39006C90: test dl, dl */ 25900 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 25901 _cf = 0; 25902 _flag_k = FK_NARROW(FK_TEST, 24); 25903 if (TEST_NZ(_flag_a, _flag_b)) goto L_39006E0A; /* 0x39006C92: jne 0x39006e0a */ 25904 L_39006C98: 25905 edi = MEM32(ecx + 0x4); /* 0x39006C98: mov edi, dword ptr [ecx + 4] */ 25906 edx = MEM32(edi); /* 0x39006C9B: mov edx, dword ptr [edi] */ 25907 /* cmp ecx, edx */ /* 0x39006C9D: cmp ecx, edx */ 25908 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 25909 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25910 _flag_k = FK_CMP; 25911 if (CMP_NE(_flag_a, _flag_b)) goto L_39006D66; /* 0x39006C9F: jne 0x39006d66 */ 25912 L_39006CA5: 25913 edx = MEM32(edi + 0x8); /* 0x39006CA5: mov edx, dword ptr [edi + 8] */ 25914 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x39006CA8: cmp byte ptr [edx + 0x2c], 0 */ 25915 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 25916 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25917 _flag_k = FK_NARROW(FK_CMP, 24); 25918 if (CMP_NE(_flag_a, _flag_b)) goto L_39006CC9; /* 0x39006CAC: jne 0x39006cc9 */ 25919 L_39006CAE: 25920 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006CAE: mov byte ptr [ecx + 0x2c], bl */ 25921 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006CB1: mov byte ptr [edx + 0x2c], bl */ 25922 ecx = MEM32(eax + 0x4); /* 0x39006CB4: mov ecx, dword ptr [eax + 4] */ 25923 edx = MEM32(ecx + 0x4); /* 0x39006CB7: mov edx, dword ptr [ecx + 4] */ 25924 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x39006CBA: mov byte ptr [edx + 0x2c], 0 */ 25925 eax = MEM32(eax + 0x4); /* 0x39006CBE: mov eax, dword ptr [eax + 4] */ 25926 eax = MEM32(eax + 0x4); /* 0x39006CC1: mov eax, dword ptr [eax + 4] */ 25927 goto L_39006DFE; /* 0x39006CC4: jmp 0x39006dfe */ 25928 L_39006CC9: 25929 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x39006CC9: cmp eax, dword ptr [ecx + 8] */ 25930 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 25931 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25932 _flag_k = FK_CMP; 25933 if (CMP_NE(_flag_a, _flag_b)) goto L_39006D08; /* 0x39006CCC: jne 0x39006d08 */ 25934 L_39006CCE: 25935 eax = ecx; /* 0x39006CCE: mov eax, ecx */ 25936 ecx = MEM32(eax + 0x8); /* 0x39006CD0: mov ecx, dword ptr [eax + 8] */ 25937 edx = MEM32(ecx); /* 0x39006CD3: mov edx, dword ptr [ecx] */ 25938 MEM32(eax + 0x8) = edx; /* 0x39006CD5: mov dword ptr [eax + 8], edx */ 25939 edx = MEM32(ecx); /* 0x39006CD8: mov edx, dword ptr [ecx] */ 25940 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006CDA: cmp edx, dword ptr [esi + 8] */ 25941 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 25942 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25943 _flag_k = FK_CMP; 25944 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006CE2; /* 0x39006CDD: je 0x39006ce2 */ 25945 L_39006CDF: 25946 MEM32(edx + 0x4) = eax; /* 0x39006CDF: mov dword ptr [edx + 4], eax */ 25947 L_39006CE2: 25948 edx = MEM32(eax + 0x4); /* 0x39006CE2: mov edx, dword ptr [eax + 4] */ 25949 MEM32(ecx + 0x4) = edx; /* 0x39006CE5: mov dword ptr [ecx + 4], edx */ 25950 edx = MEM32(esi + 0x4); /* 0x39006CE8: mov edx, dword ptr [esi + 4] */ 25951 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006CEB: cmp eax, dword ptr [edx + 4] */ 25952 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 25953 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25954 _flag_k = FK_CMP; 25955 if (CMP_NE(_flag_a, _flag_b)) goto L_39006CF5; /* 0x39006CEE: jne 0x39006cf5 */ 25956 L_39006CF0: 25957 MEM32(edx + 0x4) = ecx; /* 0x39006CF0: mov dword ptr [edx + 4], ecx */ 25958 goto L_39006D03; /* 0x39006CF3: jmp 0x39006d03 */ 25959 L_39006CF5: 25960 edx = MEM32(eax + 0x4); /* 0x39006CF5: mov edx, dword ptr [eax + 4] */ 25961 /* cmp eax, MEM32(edx) */ /* 0x39006CF8: cmp eax, dword ptr [edx] */ 25962 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 25963 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25964 _flag_k = FK_CMP; 25965 if (CMP_NE(_flag_a, _flag_b)) goto L_39006D00; /* 0x39006CFA: jne 0x39006d00 */ 25966 L_39006CFC: 25967 MEM32(edx) = ecx; /* 0x39006CFC: mov dword ptr [edx], ecx */ 25968 goto L_39006D03; /* 0x39006CFE: jmp 0x39006d03 */ 25969 L_39006D00: 25970 MEM32(edx + 0x8) = ecx; /* 0x39006D00: mov dword ptr [edx + 8], ecx */ 25971 L_39006D03: 25972 MEM32(ecx) = eax; /* 0x39006D03: mov dword ptr [ecx], eax */ 25973 MEM32(eax + 0x4) = ecx; /* 0x39006D05: mov dword ptr [eax + 4], ecx */ 25974 L_39006D08: 25975 ecx = MEM32(eax + 0x4); /* 0x39006D08: mov ecx, dword ptr [eax + 4] */ 25976 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006D0B: mov byte ptr [ecx + 0x2c], bl */ 25977 edx = MEM32(eax + 0x4); /* 0x39006D0E: mov edx, dword ptr [eax + 4] */ 25978 ecx = MEM32(edx + 0x4); /* 0x39006D11: mov ecx, dword ptr [edx + 4] */ 25979 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006D14: mov byte ptr [ecx + 0x2c], 0 */ 25980 edx = MEM32(eax + 0x4); /* 0x39006D18: mov edx, dword ptr [eax + 4] */ 25981 ecx = MEM32(edx + 0x4); /* 0x39006D1B: mov ecx, dword ptr [edx + 4] */ 25982 edx = MEM32(ecx); /* 0x39006D1E: mov edx, dword ptr [ecx] */ 25983 edi = MEM32(edx + 0x8); /* 0x39006D20: mov edi, dword ptr [edx + 8] */ 25984 MEM32(ecx) = edi; /* 0x39006D23: mov dword ptr [ecx], edi */ 25985 edi = MEM32(edx + 0x8); /* 0x39006D25: mov edi, dword ptr [edx + 8] */ 25986 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39006D28: cmp edi, dword ptr [esi + 8] */ 25987 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 25988 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 25989 _flag_k = FK_CMP; 25990 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006D30; /* 0x39006D2B: je 0x39006d30 */ 25991 L_39006D2D: 25992 MEM32(edi + 0x4) = ecx; /* 0x39006D2D: mov dword ptr [edi + 4], ecx */ 25993 L_39006D30: 25994 edi = MEM32(ecx + 0x4); /* 0x39006D30: mov edi, dword ptr [ecx + 4] */ 25995 MEM32(edx + 0x4) = edi; /* 0x39006D33: mov dword ptr [edx + 4], edi */ 25996 edi = MEM32(esi + 0x4); /* 0x39006D36: mov edi, dword ptr [esi + 4] */ 25997 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006D39: cmp ecx, dword ptr [edi + 4] */ 25998 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 25999 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26000 _flag_k = FK_CMP; 26001 if (CMP_NE(_flag_a, _flag_b)) goto L_39006D49; /* 0x39006D3C: jne 0x39006d49 */ 26002 L_39006D3E: 26003 MEM32(edi + 0x4) = edx; /* 0x39006D3E: mov dword ptr [edi + 4], edx */ 26004 MEM32(edx + 0x8) = ecx; /* 0x39006D41: mov dword ptr [edx + 8], ecx */ 26005 goto L_39006DFB; /* 0x39006D44: jmp 0x39006dfb */ 26006 L_39006D49: 26007 edi = MEM32(ecx + 0x4); /* 0x39006D49: mov edi, dword ptr [ecx + 4] */ 26008 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x39006D4C: cmp ecx, dword ptr [edi + 8] */ 26009 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 26010 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26011 _flag_k = FK_CMP; 26012 if (CMP_NE(_flag_a, _flag_b)) goto L_39006D5C; /* 0x39006D4F: jne 0x39006d5c */ 26013 L_39006D51: 26014 MEM32(edi + 0x8) = edx; /* 0x39006D51: mov dword ptr [edi + 8], edx */ 26015 MEM32(edx + 0x8) = ecx; /* 0x39006D54: mov dword ptr [edx + 8], ecx */ 26016 goto L_39006DFB; /* 0x39006D57: jmp 0x39006dfb */ 26017 L_39006D5C: 26018 MEM32(edi) = edx; /* 0x39006D5C: mov dword ptr [edi], edx */ 26019 MEM32(edx + 0x8) = ecx; /* 0x39006D5E: mov dword ptr [edx + 8], ecx */ 26020 goto L_39006DFB; /* 0x39006D61: jmp 0x39006dfb */ 26021 L_39006D66: 26022 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x39006D66: cmp byte ptr [edx + 0x2c], 0 */ 26023 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 26024 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26025 _flag_k = FK_NARROW(FK_CMP, 24); 26026 RECOMP_BACKEDGE(); 26027 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006CAE; /* 0x39006D6A: je 0x39006cae */ 26028 L_39006D70: 26029 /* cmp eax, MEM32(ecx) */ /* 0x39006D70: cmp eax, dword ptr [ecx] */ 26030 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 26031 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26032 _flag_k = FK_CMP; 26033 if (CMP_NE(_flag_a, _flag_b)) goto L_39006DB0; /* 0x39006D72: jne 0x39006db0 */ 26034 L_39006D74: 26035 eax = ecx; /* 0x39006D74: mov eax, ecx */ 26036 ecx = MEM32(eax); /* 0x39006D76: mov ecx, dword ptr [eax] */ 26037 edx = MEM32(ecx + 0x8); /* 0x39006D78: mov edx, dword ptr [ecx + 8] */ 26038 MEM32(eax) = edx; /* 0x39006D7B: mov dword ptr [eax], edx */ 26039 edx = MEM32(ecx + 0x8); /* 0x39006D7D: mov edx, dword ptr [ecx + 8] */ 26040 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006D80: cmp edx, dword ptr [esi + 8] */ 26041 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 26042 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26043 _flag_k = FK_CMP; 26044 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006D88; /* 0x39006D83: je 0x39006d88 */ 26045 L_39006D85: 26046 MEM32(edx + 0x4) = eax; /* 0x39006D85: mov dword ptr [edx + 4], eax */ 26047 L_39006D88: 26048 edx = MEM32(eax + 0x4); /* 0x39006D88: mov edx, dword ptr [eax + 4] */ 26049 MEM32(ecx + 0x4) = edx; /* 0x39006D8B: mov dword ptr [ecx + 4], edx */ 26050 edx = MEM32(esi + 0x4); /* 0x39006D8E: mov edx, dword ptr [esi + 4] */ 26051 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006D91: cmp eax, dword ptr [edx + 4] */ 26052 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 26053 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26054 _flag_k = FK_CMP; 26055 if (CMP_NE(_flag_a, _flag_b)) goto L_39006D9B; /* 0x39006D94: jne 0x39006d9b */ 26056 L_39006D96: 26057 MEM32(edx + 0x4) = ecx; /* 0x39006D96: mov dword ptr [edx + 4], ecx */ 26058 goto L_39006DAA; /* 0x39006D99: jmp 0x39006daa */ 26059 L_39006D9B: 26060 edx = MEM32(eax + 0x4); /* 0x39006D9B: mov edx, dword ptr [eax + 4] */ 26061 /* cmp eax, MEM32(edx + 0x8) */ /* 0x39006D9E: cmp eax, dword ptr [edx + 8] */ 26062 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 26063 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26064 _flag_k = FK_CMP; 26065 if (CMP_NE(_flag_a, _flag_b)) goto L_39006DA8; /* 0x39006DA1: jne 0x39006da8 */ 26066 L_39006DA3: 26067 MEM32(edx + 0x8) = ecx; /* 0x39006DA3: mov dword ptr [edx + 8], ecx */ 26068 goto L_39006DAA; /* 0x39006DA6: jmp 0x39006daa */ 26069 L_39006DA8: 26070 MEM32(edx) = ecx; /* 0x39006DA8: mov dword ptr [edx], ecx */ 26071 L_39006DAA: 26072 MEM32(ecx + 0x8) = eax; /* 0x39006DAA: mov dword ptr [ecx + 8], eax */ 26073 MEM32(eax + 0x4) = ecx; /* 0x39006DAD: mov dword ptr [eax + 4], ecx */ 26074 L_39006DB0: 26075 ecx = MEM32(eax + 0x4); /* 0x39006DB0: mov ecx, dword ptr [eax + 4] */ 26076 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006DB3: mov byte ptr [ecx + 0x2c], bl */ 26077 edx = MEM32(eax + 0x4); /* 0x39006DB6: mov edx, dword ptr [eax + 4] */ 26078 ecx = MEM32(edx + 0x4); /* 0x39006DB9: mov ecx, dword ptr [edx + 4] */ 26079 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006DBC: mov byte ptr [ecx + 0x2c], 0 */ 26080 edx = MEM32(eax + 0x4); /* 0x39006DC0: mov edx, dword ptr [eax + 4] */ 26081 ecx = MEM32(edx + 0x4); /* 0x39006DC3: mov ecx, dword ptr [edx + 4] */ 26082 edx = MEM32(ecx + 0x8); /* 0x39006DC6: mov edx, dword ptr [ecx + 8] */ 26083 edi = MEM32(edx); /* 0x39006DC9: mov edi, dword ptr [edx] */ 26084 MEM32(ecx + 0x8) = edi; /* 0x39006DCB: mov dword ptr [ecx + 8], edi */ 26085 edi = MEM32(edx); /* 0x39006DCE: mov edi, dword ptr [edx] */ 26086 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39006DD0: cmp edi, dword ptr [esi + 8] */ 26087 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 26088 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26089 _flag_k = FK_CMP; 26090 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006DD8; /* 0x39006DD3: je 0x39006dd8 */ 26091 L_39006DD5: 26092 MEM32(edi + 0x4) = ecx; /* 0x39006DD5: mov dword ptr [edi + 4], ecx */ 26093 L_39006DD8: 26094 edi = MEM32(ecx + 0x4); /* 0x39006DD8: mov edi, dword ptr [ecx + 4] */ 26095 MEM32(edx + 0x4) = edi; /* 0x39006DDB: mov dword ptr [edx + 4], edi */ 26096 edi = MEM32(esi + 0x4); /* 0x39006DDE: mov edi, dword ptr [esi + 4] */ 26097 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006DE1: cmp ecx, dword ptr [edi + 4] */ 26098 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 26099 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26100 _flag_k = FK_CMP; 26101 if (CMP_NE(_flag_a, _flag_b)) goto L_39006DEB; /* 0x39006DE4: jne 0x39006deb */ 26102 L_39006DE6: 26103 MEM32(edi + 0x4) = edx; /* 0x39006DE6: mov dword ptr [edi + 4], edx */ 26104 goto L_39006DF9; /* 0x39006DE9: jmp 0x39006df9 */ 26105 L_39006DEB: 26106 edi = MEM32(ecx + 0x4); /* 0x39006DEB: mov edi, dword ptr [ecx + 4] */ 26107 /* cmp ecx, MEM32(edi) */ /* 0x39006DEE: cmp ecx, dword ptr [edi] */ 26108 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 26109 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26110 _flag_k = FK_CMP; 26111 if (CMP_NE(_flag_a, _flag_b)) goto L_39006DF6; /* 0x39006DF0: jne 0x39006df6 */ 26112 L_39006DF2: 26113 MEM32(edi) = edx; /* 0x39006DF2: mov dword ptr [edi], edx */ 26114 goto L_39006DF9; /* 0x39006DF4: jmp 0x39006df9 */ 26115 L_39006DF6: 26116 MEM32(edi + 0x8) = edx; /* 0x39006DF6: mov dword ptr [edi + 8], edx */ 26117 L_39006DF9: 26118 MEM32(edx) = ecx; /* 0x39006DF9: mov dword ptr [edx], ecx */ 26119 L_39006DFB: 26120 MEM32(ecx + 0x4) = edx; /* 0x39006DFB: mov dword ptr [ecx + 4], edx */ 26121 L_39006DFE: 26122 ecx = MEM32(esi + 0x4); /* 0x39006DFE: mov ecx, dword ptr [esi + 4] */ 26123 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x39006E01: cmp eax, dword ptr [ecx + 4] */ 26124 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 26125 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26126 _flag_k = FK_CMP; 26127 RECOMP_BACKEDGE(); 26128 if (CMP_NE(_flag_a, _flag_b)) goto L_39006C8A; /* 0x39006E04: jne 0x39006c8a */ 26129 L_39006E0A: 26130 edx = MEM32(esi + 0x4); /* 0x39006E0A: mov edx, dword ptr [esi + 4] */ 26131 ecx = MEM32(ebp + (-0x4)); /* 0x39006E0D: mov ecx, dword ptr [ebp - 4] */ 26132 edi = POP32_VAL(esp); /* 0x39006E10: pop edi */ 26133 esi = POP32_VAL(esp); /* 0x39006E11: pop esi */ 26134 eax = MEM32(edx + 0x4); /* 0x39006E12: mov eax, dword ptr [edx + 4] */ 26135 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006E15: mov byte ptr [eax + 0x2c], bl */ 26136 eax = MEM32(ebp + 0x8); /* 0x39006E18: mov eax, dword ptr [ebp + 8] */ 26137 ebx = POP32_VAL(esp); /* 0x39006E1B: pop ebx */ 26138 MEM32(eax) = ecx; /* 0x39006E1C: mov dword ptr [eax], ecx */ 26139 esp = ebp; /* 0x39006E1E: mov esp, ebp */ 26140 ebp = POP32_VAL(esp); /* 0x39006E20: pop ebp */ 26141 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39006E21: ret 0x10 */ 26142 RECOMP_REGS_OUT(); 26143 } 26144 26145 void sub_39006D66(void) { 26146 int _fpu_cmp = 0; 26147 uint32_t _cf = 0; 26148 int _df = 1; 26149 uint32_t _flag_k = FK_NONE; 26150 uint32_t _flag_a = 0, _flag_b = 0; 26151 uint32_t _itail_tgt = 0; 26152 RECOMP_REGS_LOCALS 26153 RECOMP_ENTER(0x39006D66u); 26154 26155 goto L_39006D66; 26156 L_39006C8A: 26157 ecx = MEM32(eax + 0x4); /* 0x39006C8A: mov ecx, dword ptr [eax + 4] */ 26158 SET_LO8(edx, MEM8(ecx + 0x2C)); /* 0x39006C8D: mov dl, byte ptr [ecx + 0x2c] */ 26159 /* test LO8(edx), LO8(edx) */ /* 0x39006C90: test dl, dl */ 26160 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 26161 _cf = 0; 26162 _flag_k = FK_NARROW(FK_TEST, 24); 26163 if (TEST_NZ(_flag_a, _flag_b)) goto L_39006E0A; /* 0x39006C92: jne 0x39006e0a */ 26164 L_39006C98: 26165 edi = MEM32(ecx + 0x4); /* 0x39006C98: mov edi, dword ptr [ecx + 4] */ 26166 edx = MEM32(edi); /* 0x39006C9B: mov edx, dword ptr [edi] */ 26167 /* cmp ecx, edx */ /* 0x39006C9D: cmp ecx, edx */ 26168 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 26169 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26170 _flag_k = FK_CMP; 26171 if (CMP_NE(_flag_a, _flag_b)) goto L_39006D66; /* 0x39006C9F: jne 0x39006d66 */ 26172 L_39006CA5: 26173 edx = MEM32(edi + 0x8); /* 0x39006CA5: mov edx, dword ptr [edi + 8] */ 26174 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x39006CA8: cmp byte ptr [edx + 0x2c], 0 */ 26175 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 26176 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26177 _flag_k = FK_NARROW(FK_CMP, 24); 26178 if (CMP_NE(_flag_a, _flag_b)) goto L_39006CC9; /* 0x39006CAC: jne 0x39006cc9 */ 26179 L_39006CAE: 26180 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006CAE: mov byte ptr [ecx + 0x2c], bl */ 26181 MEM8(edx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006CB1: mov byte ptr [edx + 0x2c], bl */ 26182 ecx = MEM32(eax + 0x4); /* 0x39006CB4: mov ecx, dword ptr [eax + 4] */ 26183 edx = MEM32(ecx + 0x4); /* 0x39006CB7: mov edx, dword ptr [ecx + 4] */ 26184 MEM8(edx + 0x2C) = (uint8_t)(0); /* 0x39006CBA: mov byte ptr [edx + 0x2c], 0 */ 26185 eax = MEM32(eax + 0x4); /* 0x39006CBE: mov eax, dword ptr [eax + 4] */ 26186 eax = MEM32(eax + 0x4); /* 0x39006CC1: mov eax, dword ptr [eax + 4] */ 26187 goto L_39006DFE; /* 0x39006CC4: jmp 0x39006dfe */ 26188 L_39006CC9: 26189 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x39006CC9: cmp eax, dword ptr [ecx + 8] */ 26190 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 26191 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26192 _flag_k = FK_CMP; 26193 if (CMP_NE(_flag_a, _flag_b)) goto L_39006D08; /* 0x39006CCC: jne 0x39006d08 */ 26194 L_39006CCE: 26195 eax = ecx; /* 0x39006CCE: mov eax, ecx */ 26196 ecx = MEM32(eax + 0x8); /* 0x39006CD0: mov ecx, dword ptr [eax + 8] */ 26197 edx = MEM32(ecx); /* 0x39006CD3: mov edx, dword ptr [ecx] */ 26198 MEM32(eax + 0x8) = edx; /* 0x39006CD5: mov dword ptr [eax + 8], edx */ 26199 edx = MEM32(ecx); /* 0x39006CD8: mov edx, dword ptr [ecx] */ 26200 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006CDA: cmp edx, dword ptr [esi + 8] */ 26201 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 26202 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26203 _flag_k = FK_CMP; 26204 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006CE2; /* 0x39006CDD: je 0x39006ce2 */ 26205 L_39006CDF: 26206 MEM32(edx + 0x4) = eax; /* 0x39006CDF: mov dword ptr [edx + 4], eax */ 26207 L_39006CE2: 26208 edx = MEM32(eax + 0x4); /* 0x39006CE2: mov edx, dword ptr [eax + 4] */ 26209 MEM32(ecx + 0x4) = edx; /* 0x39006CE5: mov dword ptr [ecx + 4], edx */ 26210 edx = MEM32(esi + 0x4); /* 0x39006CE8: mov edx, dword ptr [esi + 4] */ 26211 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006CEB: cmp eax, dword ptr [edx + 4] */ 26212 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 26213 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26214 _flag_k = FK_CMP; 26215 if (CMP_NE(_flag_a, _flag_b)) goto L_39006CF5; /* 0x39006CEE: jne 0x39006cf5 */ 26216 L_39006CF0: 26217 MEM32(edx + 0x4) = ecx; /* 0x39006CF0: mov dword ptr [edx + 4], ecx */ 26218 goto L_39006D03; /* 0x39006CF3: jmp 0x39006d03 */ 26219 L_39006CF5: 26220 edx = MEM32(eax + 0x4); /* 0x39006CF5: mov edx, dword ptr [eax + 4] */ 26221 /* cmp eax, MEM32(edx) */ /* 0x39006CF8: cmp eax, dword ptr [edx] */ 26222 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 26223 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26224 _flag_k = FK_CMP; 26225 if (CMP_NE(_flag_a, _flag_b)) goto L_39006D00; /* 0x39006CFA: jne 0x39006d00 */ 26226 L_39006CFC: 26227 MEM32(edx) = ecx; /* 0x39006CFC: mov dword ptr [edx], ecx */ 26228 goto L_39006D03; /* 0x39006CFE: jmp 0x39006d03 */ 26229 L_39006D00: 26230 MEM32(edx + 0x8) = ecx; /* 0x39006D00: mov dword ptr [edx + 8], ecx */ 26231 L_39006D03: 26232 MEM32(ecx) = eax; /* 0x39006D03: mov dword ptr [ecx], eax */ 26233 MEM32(eax + 0x4) = ecx; /* 0x39006D05: mov dword ptr [eax + 4], ecx */ 26234 L_39006D08: 26235 ecx = MEM32(eax + 0x4); /* 0x39006D08: mov ecx, dword ptr [eax + 4] */ 26236 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006D0B: mov byte ptr [ecx + 0x2c], bl */ 26237 edx = MEM32(eax + 0x4); /* 0x39006D0E: mov edx, dword ptr [eax + 4] */ 26238 ecx = MEM32(edx + 0x4); /* 0x39006D11: mov ecx, dword ptr [edx + 4] */ 26239 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006D14: mov byte ptr [ecx + 0x2c], 0 */ 26240 edx = MEM32(eax + 0x4); /* 0x39006D18: mov edx, dword ptr [eax + 4] */ 26241 ecx = MEM32(edx + 0x4); /* 0x39006D1B: mov ecx, dword ptr [edx + 4] */ 26242 edx = MEM32(ecx); /* 0x39006D1E: mov edx, dword ptr [ecx] */ 26243 edi = MEM32(edx + 0x8); /* 0x39006D20: mov edi, dword ptr [edx + 8] */ 26244 MEM32(ecx) = edi; /* 0x39006D23: mov dword ptr [ecx], edi */ 26245 edi = MEM32(edx + 0x8); /* 0x39006D25: mov edi, dword ptr [edx + 8] */ 26246 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39006D28: cmp edi, dword ptr [esi + 8] */ 26247 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 26248 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26249 _flag_k = FK_CMP; 26250 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006D30; /* 0x39006D2B: je 0x39006d30 */ 26251 L_39006D2D: 26252 MEM32(edi + 0x4) = ecx; /* 0x39006D2D: mov dword ptr [edi + 4], ecx */ 26253 L_39006D30: 26254 edi = MEM32(ecx + 0x4); /* 0x39006D30: mov edi, dword ptr [ecx + 4] */ 26255 MEM32(edx + 0x4) = edi; /* 0x39006D33: mov dword ptr [edx + 4], edi */ 26256 edi = MEM32(esi + 0x4); /* 0x39006D36: mov edi, dword ptr [esi + 4] */ 26257 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006D39: cmp ecx, dword ptr [edi + 4] */ 26258 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 26259 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26260 _flag_k = FK_CMP; 26261 if (CMP_NE(_flag_a, _flag_b)) goto L_39006D49; /* 0x39006D3C: jne 0x39006d49 */ 26262 L_39006D3E: 26263 MEM32(edi + 0x4) = edx; /* 0x39006D3E: mov dword ptr [edi + 4], edx */ 26264 MEM32(edx + 0x8) = ecx; /* 0x39006D41: mov dword ptr [edx + 8], ecx */ 26265 goto L_39006DFB; /* 0x39006D44: jmp 0x39006dfb */ 26266 L_39006D49: 26267 edi = MEM32(ecx + 0x4); /* 0x39006D49: mov edi, dword ptr [ecx + 4] */ 26268 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x39006D4C: cmp ecx, dword ptr [edi + 8] */ 26269 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 26270 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26271 _flag_k = FK_CMP; 26272 if (CMP_NE(_flag_a, _flag_b)) goto L_39006D5C; /* 0x39006D4F: jne 0x39006d5c */ 26273 L_39006D51: 26274 MEM32(edi + 0x8) = edx; /* 0x39006D51: mov dword ptr [edi + 8], edx */ 26275 MEM32(edx + 0x8) = ecx; /* 0x39006D54: mov dword ptr [edx + 8], ecx */ 26276 goto L_39006DFB; /* 0x39006D57: jmp 0x39006dfb */ 26277 L_39006D5C: 26278 MEM32(edi) = edx; /* 0x39006D5C: mov dword ptr [edi], edx */ 26279 MEM32(edx + 0x8) = ecx; /* 0x39006D5E: mov dword ptr [edx + 8], ecx */ 26280 goto L_39006DFB; /* 0x39006D61: jmp 0x39006dfb */ 26281 L_39006D66: 26282 /* cmp MEM8(edx + 0x2C), 0 */ /* 0x39006D66: cmp byte ptr [edx + 0x2c], 0 */ 26283 _flag_a = (uint32_t)(MEM8(edx + 0x2C)) << 24; _flag_b = (uint32_t)(0) << 24; 26284 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26285 _flag_k = FK_NARROW(FK_CMP, 24); 26286 RECOMP_BACKEDGE(); 26287 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006CAE; /* 0x39006D6A: je 0x39006cae */ 26288 L_39006D70: 26289 /* cmp eax, MEM32(ecx) */ /* 0x39006D70: cmp eax, dword ptr [ecx] */ 26290 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 26291 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26292 _flag_k = FK_CMP; 26293 if (CMP_NE(_flag_a, _flag_b)) goto L_39006DB0; /* 0x39006D72: jne 0x39006db0 */ 26294 L_39006D74: 26295 eax = ecx; /* 0x39006D74: mov eax, ecx */ 26296 ecx = MEM32(eax); /* 0x39006D76: mov ecx, dword ptr [eax] */ 26297 edx = MEM32(ecx + 0x8); /* 0x39006D78: mov edx, dword ptr [ecx + 8] */ 26298 MEM32(eax) = edx; /* 0x39006D7B: mov dword ptr [eax], edx */ 26299 edx = MEM32(ecx + 0x8); /* 0x39006D7D: mov edx, dword ptr [ecx + 8] */ 26300 /* cmp edx, MEM32(esi + 0x8) */ /* 0x39006D80: cmp edx, dword ptr [esi + 8] */ 26301 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 26302 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26303 _flag_k = FK_CMP; 26304 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006D88; /* 0x39006D83: je 0x39006d88 */ 26305 L_39006D85: 26306 MEM32(edx + 0x4) = eax; /* 0x39006D85: mov dword ptr [edx + 4], eax */ 26307 L_39006D88: 26308 edx = MEM32(eax + 0x4); /* 0x39006D88: mov edx, dword ptr [eax + 4] */ 26309 MEM32(ecx + 0x4) = edx; /* 0x39006D8B: mov dword ptr [ecx + 4], edx */ 26310 edx = MEM32(esi + 0x4); /* 0x39006D8E: mov edx, dword ptr [esi + 4] */ 26311 /* cmp eax, MEM32(edx + 0x4) */ /* 0x39006D91: cmp eax, dword ptr [edx + 4] */ 26312 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 26313 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26314 _flag_k = FK_CMP; 26315 if (CMP_NE(_flag_a, _flag_b)) goto L_39006D9B; /* 0x39006D94: jne 0x39006d9b */ 26316 L_39006D96: 26317 MEM32(edx + 0x4) = ecx; /* 0x39006D96: mov dword ptr [edx + 4], ecx */ 26318 goto L_39006DAA; /* 0x39006D99: jmp 0x39006daa */ 26319 L_39006D9B: 26320 edx = MEM32(eax + 0x4); /* 0x39006D9B: mov edx, dword ptr [eax + 4] */ 26321 /* cmp eax, MEM32(edx + 0x8) */ /* 0x39006D9E: cmp eax, dword ptr [edx + 8] */ 26322 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 26323 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26324 _flag_k = FK_CMP; 26325 if (CMP_NE(_flag_a, _flag_b)) goto L_39006DA8; /* 0x39006DA1: jne 0x39006da8 */ 26326 L_39006DA3: 26327 MEM32(edx + 0x8) = ecx; /* 0x39006DA3: mov dword ptr [edx + 8], ecx */ 26328 goto L_39006DAA; /* 0x39006DA6: jmp 0x39006daa */ 26329 L_39006DA8: 26330 MEM32(edx) = ecx; /* 0x39006DA8: mov dword ptr [edx], ecx */ 26331 L_39006DAA: 26332 MEM32(ecx + 0x8) = eax; /* 0x39006DAA: mov dword ptr [ecx + 8], eax */ 26333 MEM32(eax + 0x4) = ecx; /* 0x39006DAD: mov dword ptr [eax + 4], ecx */ 26334 L_39006DB0: 26335 ecx = MEM32(eax + 0x4); /* 0x39006DB0: mov ecx, dword ptr [eax + 4] */ 26336 MEM8(ecx + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006DB3: mov byte ptr [ecx + 0x2c], bl */ 26337 edx = MEM32(eax + 0x4); /* 0x39006DB6: mov edx, dword ptr [eax + 4] */ 26338 ecx = MEM32(edx + 0x4); /* 0x39006DB9: mov ecx, dword ptr [edx + 4] */ 26339 MEM8(ecx + 0x2C) = (uint8_t)(0); /* 0x39006DBC: mov byte ptr [ecx + 0x2c], 0 */ 26340 edx = MEM32(eax + 0x4); /* 0x39006DC0: mov edx, dword ptr [eax + 4] */ 26341 ecx = MEM32(edx + 0x4); /* 0x39006DC3: mov ecx, dword ptr [edx + 4] */ 26342 edx = MEM32(ecx + 0x8); /* 0x39006DC6: mov edx, dword ptr [ecx + 8] */ 26343 edi = MEM32(edx); /* 0x39006DC9: mov edi, dword ptr [edx] */ 26344 MEM32(ecx + 0x8) = edi; /* 0x39006DCB: mov dword ptr [ecx + 8], edi */ 26345 edi = MEM32(edx); /* 0x39006DCE: mov edi, dword ptr [edx] */ 26346 /* cmp edi, MEM32(esi + 0x8) */ /* 0x39006DD0: cmp edi, dword ptr [esi + 8] */ 26347 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 26348 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26349 _flag_k = FK_CMP; 26350 if (CMP_EQ(_flag_a, _flag_b)) goto L_39006DD8; /* 0x39006DD3: je 0x39006dd8 */ 26351 L_39006DD5: 26352 MEM32(edi + 0x4) = ecx; /* 0x39006DD5: mov dword ptr [edi + 4], ecx */ 26353 L_39006DD8: 26354 edi = MEM32(ecx + 0x4); /* 0x39006DD8: mov edi, dword ptr [ecx + 4] */ 26355 MEM32(edx + 0x4) = edi; /* 0x39006DDB: mov dword ptr [edx + 4], edi */ 26356 edi = MEM32(esi + 0x4); /* 0x39006DDE: mov edi, dword ptr [esi + 4] */ 26357 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x39006DE1: cmp ecx, dword ptr [edi + 4] */ 26358 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 26359 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26360 _flag_k = FK_CMP; 26361 if (CMP_NE(_flag_a, _flag_b)) goto L_39006DEB; /* 0x39006DE4: jne 0x39006deb */ 26362 L_39006DE6: 26363 MEM32(edi + 0x4) = edx; /* 0x39006DE6: mov dword ptr [edi + 4], edx */ 26364 goto L_39006DF9; /* 0x39006DE9: jmp 0x39006df9 */ 26365 L_39006DEB: 26366 edi = MEM32(ecx + 0x4); /* 0x39006DEB: mov edi, dword ptr [ecx + 4] */ 26367 /* cmp ecx, MEM32(edi) */ /* 0x39006DEE: cmp ecx, dword ptr [edi] */ 26368 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 26369 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26370 _flag_k = FK_CMP; 26371 if (CMP_NE(_flag_a, _flag_b)) goto L_39006DF6; /* 0x39006DF0: jne 0x39006df6 */ 26372 L_39006DF2: 26373 MEM32(edi) = edx; /* 0x39006DF2: mov dword ptr [edi], edx */ 26374 goto L_39006DF9; /* 0x39006DF4: jmp 0x39006df9 */ 26375 L_39006DF6: 26376 MEM32(edi + 0x8) = edx; /* 0x39006DF6: mov dword ptr [edi + 8], edx */ 26377 L_39006DF9: 26378 MEM32(edx) = ecx; /* 0x39006DF9: mov dword ptr [edx], ecx */ 26379 L_39006DFB: 26380 MEM32(ecx + 0x4) = edx; /* 0x39006DFB: mov dword ptr [ecx + 4], edx */ 26381 L_39006DFE: 26382 ecx = MEM32(esi + 0x4); /* 0x39006DFE: mov ecx, dword ptr [esi + 4] */ 26383 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x39006E01: cmp eax, dword ptr [ecx + 4] */ 26384 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 26385 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 26386 _flag_k = FK_CMP; 26387 RECOMP_BACKEDGE(); 26388 if (CMP_NE(_flag_a, _flag_b)) goto L_39006C8A; /* 0x39006E04: jne 0x39006c8a */ 26389 L_39006E0A: 26390 edx = MEM32(esi + 0x4); /* 0x39006E0A: mov edx, dword ptr [esi + 4] */ 26391 ecx = MEM32(ebp + (-0x4)); /* 0x39006E0D: mov ecx, dword ptr [ebp - 4] */ 26392 edi = POP32_VAL(esp); /* 0x39006E10: pop edi */ 26393 esi = POP32_VAL(esp); /* 0x39006E11: pop esi */ 26394 eax = MEM32(edx + 0x4); /* 0x39006E12: mov eax, dword ptr [edx + 4] */ 26395 MEM8(eax + 0x2C) = (uint8_t)(LO8(ebx)); /* 0x39006E15: mov byte ptr [eax + 0x2c], bl */ 26396 eax = MEM32(ebp + 0x8); /* 0x39006E18: mov eax, dword ptr [ebp + 8] */ 26397 ebx = POP32_VAL(esp); /* 0x39006E1B: pop ebx */ 26398 MEM32(eax) = ecx; /* 0x39006E1C: mov dword ptr [eax], ecx */ 26399 esp = ebp; /* 0x39006E1E: mov esp, ebp */ 26400 ebp = POP32_VAL(esp); /* 0x39006E20: pop ebp */ 26401 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x39006E21: ret 0x10 */ 26402 RECOMP_REGS_OUT(); 26403 }