client/game/ffr.dll/lifted-0005.c (866584B)
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_2F0102A4(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(0x2F0102A4u); 17 18 goto L_2F0102A4; 19 L_2F010248: 20 /* cmp MEM8(eax + 0x24), LO8(ebx) */ /* 0x2F010248: cmp byte ptr [eax + 0x24], bl */ 21 _flag_a = (uint32_t)(MEM8(eax + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 22 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 23 _flag_k = FK_NARROW(FK_CMP, 24); 24 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010496; /* 0x2F01024B: jne 0x2f010496 */ 25 L_2F010251: 26 edx = MEM32(eax + 0x4); /* 0x2F010251: mov edx, dword ptr [eax + 4] */ 27 ecx = MEM32(edx); /* 0x2F010254: mov ecx, dword ptr [edx] */ 28 /* cmp eax, ecx */ /* 0x2F010256: cmp eax, ecx */ 29 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 30 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 31 _flag_k = FK_CMP; 32 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0102C8; /* 0x2F010258: jne 0x2f0102c8 */ 33 L_2F01025A: 34 ecx = MEM32(edx + 0x8); /* 0x2F01025A: mov ecx, dword ptr [edx + 8] */ 35 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2F01025D: mov dl, byte ptr [ecx + 0x24] */ 36 /* test LO8(edx), LO8(edx) */ /* 0x2F010260: test dl, dl */ 37 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 38 _cf = 0; 39 _flag_k = FK_NARROW(FK_TEST, 24); 40 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F0102AF; /* 0x2F010262: jne 0x2f0102af */ 41 L_2F010264: 42 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010264: mov byte ptr [ecx + 0x24], bl */ 43 edx = MEM32(eax + 0x4); /* 0x2F010267: mov edx, dword ptr [eax + 4] */ 44 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2F01026A: mov byte ptr [edx + 0x24], 0 */ 45 ecx = MEM32(eax + 0x4); /* 0x2F01026E: mov ecx, dword ptr [eax + 4] */ 46 edx = MEM32(ecx + 0x8); /* 0x2F010271: mov edx, dword ptr [ecx + 8] */ 47 esi = MEM32(edx); /* 0x2F010274: mov esi, dword ptr [edx] */ 48 MEM32(ecx + 0x8) = esi; /* 0x2F010276: mov dword ptr [ecx + 8], esi */ 49 esi = MEM32(edx); /* 0x2F010279: mov esi, dword ptr [edx] */ 50 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F01027B: cmp esi, dword ptr [edi + 8] */ 51 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 52 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 53 _flag_k = FK_CMP; 54 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010283; /* 0x2F01027E: je 0x2f010283 */ 55 L_2F010280: 56 MEM32(esi + 0x4) = ecx; /* 0x2F010280: mov dword ptr [esi + 4], ecx */ 57 L_2F010283: 58 esi = MEM32(ecx + 0x4); /* 0x2F010283: mov esi, dword ptr [ecx + 4] */ 59 MEM32(edx + 0x4) = esi; /* 0x2F010286: mov dword ptr [edx + 4], esi */ 60 esi = MEM32(edi + 0x4); /* 0x2F010289: mov esi, dword ptr [edi + 4] */ 61 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F01028C: cmp ecx, dword ptr [esi + 4] */ 62 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 63 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 64 _flag_k = FK_CMP; 65 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010296; /* 0x2F01028F: jne 0x2f010296 */ 66 L_2F010291: 67 MEM32(esi + 0x4) = edx; /* 0x2F010291: mov dword ptr [esi + 4], edx */ 68 goto L_2F0102A4; /* 0x2F010294: jmp 0x2f0102a4 */ 69 L_2F010296: 70 esi = MEM32(ecx + 0x4); /* 0x2F010296: mov esi, dword ptr [ecx + 4] */ 71 /* cmp ecx, MEM32(esi) */ /* 0x2F010299: cmp ecx, dword ptr [esi] */ 72 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 73 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 74 _flag_k = FK_CMP; 75 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0102A1; /* 0x2F01029B: jne 0x2f0102a1 */ 76 L_2F01029D: 77 MEM32(esi) = edx; /* 0x2F01029D: mov dword ptr [esi], edx */ 78 goto L_2F0102A4; /* 0x2F01029F: jmp 0x2f0102a4 */ 79 L_2F0102A1: 80 MEM32(esi + 0x8) = edx; /* 0x2F0102A1: mov dword ptr [esi + 8], edx */ 81 L_2F0102A4: 82 MEM32(edx) = ecx; /* 0x2F0102A4: mov dword ptr [edx], ecx */ 83 MEM32(ecx + 0x4) = edx; /* 0x2F0102A6: mov dword ptr [ecx + 4], edx */ 84 ecx = MEM32(eax + 0x4); /* 0x2F0102A9: mov ecx, dword ptr [eax + 4] */ 85 ecx = MEM32(ecx + 0x8); /* 0x2F0102AC: mov ecx, dword ptr [ecx + 8] */ 86 L_2F0102AF: 87 edx = MEM32(ecx); /* 0x2F0102AF: mov edx, dword ptr [ecx] */ 88 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2F0102B1: cmp byte ptr [edx + 0x24], bl */ 89 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 90 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 91 _flag_k = FK_NARROW(FK_CMP, 24); 92 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01034A; /* 0x2F0102B4: jne 0x2f01034a */ 93 L_2F0102BA: 94 edx = MEM32(ecx + 0x8); /* 0x2F0102BA: mov edx, dword ptr [ecx + 8] */ 95 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2F0102BD: cmp byte ptr [edx + 0x24], bl */ 96 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 97 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 98 _flag_k = FK_NARROW(FK_CMP, 24); 99 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01034A; /* 0x2F0102C0: jne 0x2f01034a */ 100 L_2F0102C6: 101 goto L_2F010332; /* 0x2F0102C6: jmp 0x2f010332 */ 102 L_2F0102C8: 103 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2F0102C8: mov dl, byte ptr [ecx + 0x24] */ 104 /* test LO8(edx), LO8(edx) */ /* 0x2F0102CB: test dl, dl */ 105 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 106 _cf = 0; 107 _flag_k = FK_NARROW(FK_TEST, 24); 108 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F01031B; /* 0x2F0102CD: jne 0x2f01031b */ 109 L_2F0102CF: 110 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F0102CF: mov byte ptr [ecx + 0x24], bl */ 111 ecx = MEM32(eax + 0x4); /* 0x2F0102D2: mov ecx, dword ptr [eax + 4] */ 112 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F0102D5: mov byte ptr [ecx + 0x24], 0 */ 113 ecx = MEM32(eax + 0x4); /* 0x2F0102D9: mov ecx, dword ptr [eax + 4] */ 114 edx = MEM32(ecx); /* 0x2F0102DC: mov edx, dword ptr [ecx] */ 115 esi = MEM32(edx + 0x8); /* 0x2F0102DE: mov esi, dword ptr [edx + 8] */ 116 MEM32(ecx) = esi; /* 0x2F0102E1: mov dword ptr [ecx], esi */ 117 esi = MEM32(edx + 0x8); /* 0x2F0102E3: mov esi, dword ptr [edx + 8] */ 118 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F0102E6: cmp esi, dword ptr [edi + 8] */ 119 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 120 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 121 _flag_k = FK_CMP; 122 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0102EE; /* 0x2F0102E9: je 0x2f0102ee */ 123 L_2F0102EB: 124 MEM32(esi + 0x4) = ecx; /* 0x2F0102EB: mov dword ptr [esi + 4], ecx */ 125 L_2F0102EE: 126 esi = MEM32(ecx + 0x4); /* 0x2F0102EE: mov esi, dword ptr [ecx + 4] */ 127 MEM32(edx + 0x4) = esi; /* 0x2F0102F1: mov dword ptr [edx + 4], esi */ 128 esi = MEM32(edi + 0x4); /* 0x2F0102F4: mov esi, dword ptr [edi + 4] */ 129 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F0102F7: cmp ecx, dword ptr [esi + 4] */ 130 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 131 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 132 _flag_k = FK_CMP; 133 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010301; /* 0x2F0102FA: jne 0x2f010301 */ 134 L_2F0102FC: 135 MEM32(esi + 0x4) = edx; /* 0x2F0102FC: mov dword ptr [esi + 4], edx */ 136 goto L_2F010310; /* 0x2F0102FF: jmp 0x2f010310 */ 137 L_2F010301: 138 esi = MEM32(ecx + 0x4); /* 0x2F010301: mov esi, dword ptr [ecx + 4] */ 139 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F010304: cmp ecx, dword ptr [esi + 8] */ 140 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 141 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 142 _flag_k = FK_CMP; 143 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01030E; /* 0x2F010307: jne 0x2f01030e */ 144 L_2F010309: 145 MEM32(esi + 0x8) = edx; /* 0x2F010309: mov dword ptr [esi + 8], edx */ 146 goto L_2F010310; /* 0x2F01030C: jmp 0x2f010310 */ 147 L_2F01030E: 148 MEM32(esi) = edx; /* 0x2F01030E: mov dword ptr [esi], edx */ 149 L_2F010310: 150 MEM32(edx + 0x8) = ecx; /* 0x2F010310: mov dword ptr [edx + 8], ecx */ 151 MEM32(ecx + 0x4) = edx; /* 0x2F010313: mov dword ptr [ecx + 4], edx */ 152 edx = MEM32(eax + 0x4); /* 0x2F010316: mov edx, dword ptr [eax + 4] */ 153 ecx = MEM32(edx); /* 0x2F010319: mov ecx, dword ptr [edx] */ 154 L_2F01031B: 155 edx = MEM32(ecx + 0x8); /* 0x2F01031B: mov edx, dword ptr [ecx + 8] */ 156 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2F01031E: cmp byte ptr [edx + 0x24], bl */ 157 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 158 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 159 _flag_k = FK_NARROW(FK_CMP, 24); 160 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0103F7; /* 0x2F010321: jne 0x2f0103f7 */ 161 L_2F010327: 162 edx = MEM32(ecx); /* 0x2F010327: mov edx, dword ptr [ecx] */ 163 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2F010329: cmp byte ptr [edx + 0x24], bl */ 164 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 165 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 166 _flag_k = FK_NARROW(FK_CMP, 24); 167 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0103F7; /* 0x2F01032C: jne 0x2f0103f7 */ 168 L_2F010332: 169 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010332: mov byte ptr [ecx + 0x24], 0 */ 170 ecx = MEM32(edi + 0x4); /* 0x2F010336: mov ecx, dword ptr [edi + 4] */ 171 eax = MEM32(eax + 0x4); /* 0x2F010339: mov eax, dword ptr [eax + 4] */ 172 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F01033C: cmp eax, dword ptr [ecx + 4] */ 173 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 174 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 175 _flag_k = FK_CMP; 176 RECOMP_BACKEDGE(); 177 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010248; /* 0x2F01033F: jne 0x2f010248 */ 178 L_2F010345: 179 goto L_2F010496; /* 0x2F010345: jmp 0x2f010496 */ 180 L_2F01034A: 181 edx = MEM32(ecx + 0x8); /* 0x2F01034A: mov edx, dword ptr [ecx + 8] */ 182 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2F01034D: cmp byte ptr [edx + 0x24], bl */ 183 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 184 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 185 _flag_k = FK_NARROW(FK_CMP, 24); 186 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01039B; /* 0x2F010350: jne 0x2f01039b */ 187 L_2F010352: 188 edx = MEM32(ecx); /* 0x2F010352: mov edx, dword ptr [ecx] */ 189 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010354: mov byte ptr [edx + 0x24], bl */ 190 edx = MEM32(ecx); /* 0x2F010357: mov edx, dword ptr [ecx] */ 191 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010359: mov byte ptr [ecx + 0x24], 0 */ 192 esi = MEM32(edx + 0x8); /* 0x2F01035D: mov esi, dword ptr [edx + 8] */ 193 MEM32(ecx) = esi; /* 0x2F010360: mov dword ptr [ecx], esi */ 194 esi = MEM32(edx + 0x8); /* 0x2F010362: mov esi, dword ptr [edx + 8] */ 195 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010365: cmp esi, dword ptr [edi + 8] */ 196 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 197 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 198 _flag_k = FK_CMP; 199 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01036D; /* 0x2F010368: je 0x2f01036d */ 200 L_2F01036A: 201 MEM32(esi + 0x4) = ecx; /* 0x2F01036A: mov dword ptr [esi + 4], ecx */ 202 L_2F01036D: 203 esi = MEM32(ecx + 0x4); /* 0x2F01036D: mov esi, dword ptr [ecx + 4] */ 204 MEM32(edx + 0x4) = esi; /* 0x2F010370: mov dword ptr [edx + 4], esi */ 205 esi = MEM32(edi + 0x4); /* 0x2F010373: mov esi, dword ptr [edi + 4] */ 206 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010376: cmp ecx, dword ptr [esi + 4] */ 207 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 208 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 209 _flag_k = FK_CMP; 210 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010380; /* 0x2F010379: jne 0x2f010380 */ 211 L_2F01037B: 212 MEM32(esi + 0x4) = edx; /* 0x2F01037B: mov dword ptr [esi + 4], edx */ 213 goto L_2F01038F; /* 0x2F01037E: jmp 0x2f01038f */ 214 L_2F010380: 215 esi = MEM32(ecx + 0x4); /* 0x2F010380: mov esi, dword ptr [ecx + 4] */ 216 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F010383: cmp ecx, dword ptr [esi + 8] */ 217 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 218 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 219 _flag_k = FK_CMP; 220 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01038D; /* 0x2F010386: jne 0x2f01038d */ 221 L_2F010388: 222 MEM32(esi + 0x8) = edx; /* 0x2F010388: mov dword ptr [esi + 8], edx */ 223 goto L_2F01038F; /* 0x2F01038B: jmp 0x2f01038f */ 224 L_2F01038D: 225 MEM32(esi) = edx; /* 0x2F01038D: mov dword ptr [esi], edx */ 226 L_2F01038F: 227 MEM32(edx + 0x8) = ecx; /* 0x2F01038F: mov dword ptr [edx + 8], ecx */ 228 MEM32(ecx + 0x4) = edx; /* 0x2F010392: mov dword ptr [ecx + 4], edx */ 229 ecx = MEM32(eax + 0x4); /* 0x2F010395: mov ecx, dword ptr [eax + 4] */ 230 ecx = MEM32(ecx + 0x8); /* 0x2F010398: mov ecx, dword ptr [ecx + 8] */ 231 L_2F01039B: 232 edx = MEM32(eax + 0x4); /* 0x2F01039B: mov edx, dword ptr [eax + 4] */ 233 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2F01039E: mov dl, byte ptr [edx + 0x24] */ 234 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2F0103A1: mov byte ptr [ecx + 0x24], dl */ 235 edx = MEM32(eax + 0x4); /* 0x2F0103A4: mov edx, dword ptr [eax + 4] */ 236 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F0103A7: mov byte ptr [edx + 0x24], bl */ 237 ecx = MEM32(ecx + 0x8); /* 0x2F0103AA: mov ecx, dword ptr [ecx + 8] */ 238 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F0103AD: mov byte ptr [ecx + 0x24], bl */ 239 ecx = MEM32(eax + 0x4); /* 0x2F0103B0: mov ecx, dword ptr [eax + 4] */ 240 edx = MEM32(ecx + 0x8); /* 0x2F0103B3: mov edx, dword ptr [ecx + 8] */ 241 esi = MEM32(edx); /* 0x2F0103B6: mov esi, dword ptr [edx] */ 242 MEM32(ecx + 0x8) = esi; /* 0x2F0103B8: mov dword ptr [ecx + 8], esi */ 243 esi = MEM32(edx); /* 0x2F0103BB: mov esi, dword ptr [edx] */ 244 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F0103BD: cmp esi, dword ptr [edi + 8] */ 245 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 246 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 247 _flag_k = FK_CMP; 248 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0103C5; /* 0x2F0103C0: je 0x2f0103c5 */ 249 L_2F0103C2: 250 MEM32(esi + 0x4) = ecx; /* 0x2F0103C2: mov dword ptr [esi + 4], ecx */ 251 L_2F0103C5: 252 esi = MEM32(ecx + 0x4); /* 0x2F0103C5: mov esi, dword ptr [ecx + 4] */ 253 MEM32(edx + 0x4) = esi; /* 0x2F0103C8: mov dword ptr [edx + 4], esi */ 254 esi = MEM32(edi + 0x4); /* 0x2F0103CB: mov esi, dword ptr [edi + 4] */ 255 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F0103CE: cmp ecx, dword ptr [esi + 4] */ 256 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 257 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 258 _flag_k = FK_CMP; 259 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0103DD; /* 0x2F0103D1: jne 0x2f0103dd */ 260 L_2F0103D3: 261 MEM32(esi + 0x4) = edx; /* 0x2F0103D3: mov dword ptr [esi + 4], edx */ 262 MEM32(edx) = ecx; /* 0x2F0103D6: mov dword ptr [edx], ecx */ 263 goto L_2F010493; /* 0x2F0103D8: jmp 0x2f010493 */ 264 L_2F0103DD: 265 esi = MEM32(ecx + 0x4); /* 0x2F0103DD: mov esi, dword ptr [ecx + 4] */ 266 /* cmp ecx, MEM32(esi) */ /* 0x2F0103E0: cmp ecx, dword ptr [esi] */ 267 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 268 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 269 _flag_k = FK_CMP; 270 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0103ED; /* 0x2F0103E2: jne 0x2f0103ed */ 271 L_2F0103E4: 272 MEM32(esi) = edx; /* 0x2F0103E4: mov dword ptr [esi], edx */ 273 MEM32(edx) = ecx; /* 0x2F0103E6: mov dword ptr [edx], ecx */ 274 goto L_2F010493; /* 0x2F0103E8: jmp 0x2f010493 */ 275 L_2F0103ED: 276 MEM32(esi + 0x8) = edx; /* 0x2F0103ED: mov dword ptr [esi + 8], edx */ 277 MEM32(edx) = ecx; /* 0x2F0103F0: mov dword ptr [edx], ecx */ 278 goto L_2F010493; /* 0x2F0103F2: jmp 0x2f010493 */ 279 L_2F0103F7: 280 edx = MEM32(ecx); /* 0x2F0103F7: mov edx, dword ptr [ecx] */ 281 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2F0103F9: cmp byte ptr [edx + 0x24], bl */ 282 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 283 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 284 _flag_k = FK_NARROW(FK_CMP, 24); 285 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010445; /* 0x2F0103FC: jne 0x2f010445 */ 286 L_2F0103FE: 287 edx = MEM32(ecx + 0x8); /* 0x2F0103FE: mov edx, dword ptr [ecx + 8] */ 288 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010401: mov byte ptr [edx + 0x24], bl */ 289 edx = MEM32(ecx + 0x8); /* 0x2F010404: mov edx, dword ptr [ecx + 8] */ 290 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010407: mov byte ptr [ecx + 0x24], 0 */ 291 esi = MEM32(edx); /* 0x2F01040B: mov esi, dword ptr [edx] */ 292 MEM32(ecx + 0x8) = esi; /* 0x2F01040D: mov dword ptr [ecx + 8], esi */ 293 esi = MEM32(edx); /* 0x2F010410: mov esi, dword ptr [edx] */ 294 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010412: cmp esi, dword ptr [edi + 8] */ 295 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 296 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 297 _flag_k = FK_CMP; 298 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01041A; /* 0x2F010415: je 0x2f01041a */ 299 L_2F010417: 300 MEM32(esi + 0x4) = ecx; /* 0x2F010417: mov dword ptr [esi + 4], ecx */ 301 L_2F01041A: 302 esi = MEM32(ecx + 0x4); /* 0x2F01041A: mov esi, dword ptr [ecx + 4] */ 303 MEM32(edx + 0x4) = esi; /* 0x2F01041D: mov dword ptr [edx + 4], esi */ 304 esi = MEM32(edi + 0x4); /* 0x2F010420: mov esi, dword ptr [edi + 4] */ 305 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010423: cmp ecx, dword ptr [esi + 4] */ 306 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 307 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 308 _flag_k = FK_CMP; 309 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01042D; /* 0x2F010426: jne 0x2f01042d */ 310 L_2F010428: 311 MEM32(esi + 0x4) = edx; /* 0x2F010428: mov dword ptr [esi + 4], edx */ 312 goto L_2F01043B; /* 0x2F01042B: jmp 0x2f01043b */ 313 L_2F01042D: 314 esi = MEM32(ecx + 0x4); /* 0x2F01042D: mov esi, dword ptr [ecx + 4] */ 315 /* cmp ecx, MEM32(esi) */ /* 0x2F010430: cmp ecx, dword ptr [esi] */ 316 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 317 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 318 _flag_k = FK_CMP; 319 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010438; /* 0x2F010432: jne 0x2f010438 */ 320 L_2F010434: 321 MEM32(esi) = edx; /* 0x2F010434: mov dword ptr [esi], edx */ 322 goto L_2F01043B; /* 0x2F010436: jmp 0x2f01043b */ 323 L_2F010438: 324 MEM32(esi + 0x8) = edx; /* 0x2F010438: mov dword ptr [esi + 8], edx */ 325 L_2F01043B: 326 MEM32(edx) = ecx; /* 0x2F01043B: mov dword ptr [edx], ecx */ 327 MEM32(ecx + 0x4) = edx; /* 0x2F01043D: mov dword ptr [ecx + 4], edx */ 328 ecx = MEM32(eax + 0x4); /* 0x2F010440: mov ecx, dword ptr [eax + 4] */ 329 ecx = MEM32(ecx); /* 0x2F010443: mov ecx, dword ptr [ecx] */ 330 L_2F010445: 331 edx = MEM32(eax + 0x4); /* 0x2F010445: mov edx, dword ptr [eax + 4] */ 332 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2F010448: mov dl, byte ptr [edx + 0x24] */ 333 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2F01044B: mov byte ptr [ecx + 0x24], dl */ 334 edx = MEM32(eax + 0x4); /* 0x2F01044E: mov edx, dword ptr [eax + 4] */ 335 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010451: mov byte ptr [edx + 0x24], bl */ 336 ecx = MEM32(ecx); /* 0x2F010454: mov ecx, dword ptr [ecx] */ 337 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010456: mov byte ptr [ecx + 0x24], bl */ 338 ecx = MEM32(eax + 0x4); /* 0x2F010459: mov ecx, dword ptr [eax + 4] */ 339 edx = MEM32(ecx); /* 0x2F01045C: mov edx, dword ptr [ecx] */ 340 esi = MEM32(edx + 0x8); /* 0x2F01045E: mov esi, dword ptr [edx + 8] */ 341 MEM32(ecx) = esi; /* 0x2F010461: mov dword ptr [ecx], esi */ 342 esi = MEM32(edx + 0x8); /* 0x2F010463: mov esi, dword ptr [edx + 8] */ 343 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010466: cmp esi, dword ptr [edi + 8] */ 344 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 345 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 346 _flag_k = FK_CMP; 347 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01046E; /* 0x2F010469: je 0x2f01046e */ 348 L_2F01046B: 349 MEM32(esi + 0x4) = ecx; /* 0x2F01046B: mov dword ptr [esi + 4], ecx */ 350 L_2F01046E: 351 esi = MEM32(ecx + 0x4); /* 0x2F01046E: mov esi, dword ptr [ecx + 4] */ 352 MEM32(edx + 0x4) = esi; /* 0x2F010471: mov dword ptr [edx + 4], esi */ 353 esi = MEM32(edi + 0x4); /* 0x2F010474: mov esi, dword ptr [edi + 4] */ 354 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010477: cmp ecx, dword ptr [esi + 4] */ 355 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 356 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 357 _flag_k = FK_CMP; 358 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010481; /* 0x2F01047A: jne 0x2f010481 */ 359 L_2F01047C: 360 MEM32(esi + 0x4) = edx; /* 0x2F01047C: mov dword ptr [esi + 4], edx */ 361 goto L_2F010490; /* 0x2F01047F: jmp 0x2f010490 */ 362 L_2F010481: 363 esi = MEM32(ecx + 0x4); /* 0x2F010481: mov esi, dword ptr [ecx + 4] */ 364 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F010484: cmp ecx, dword ptr [esi + 8] */ 365 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 366 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 367 _flag_k = FK_CMP; 368 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01048E; /* 0x2F010487: jne 0x2f01048e */ 369 L_2F010489: 370 MEM32(esi + 0x8) = edx; /* 0x2F010489: mov dword ptr [esi + 8], edx */ 371 goto L_2F010490; /* 0x2F01048C: jmp 0x2f010490 */ 372 L_2F01048E: 373 MEM32(esi) = edx; /* 0x2F01048E: mov dword ptr [esi], edx */ 374 L_2F010490: 375 MEM32(edx + 0x8) = ecx; /* 0x2F010490: mov dword ptr [edx + 8], ecx */ 376 L_2F010493: 377 MEM32(ecx + 0x4) = edx; /* 0x2F010493: mov dword ptr [ecx + 4], edx */ 378 L_2F010496: 379 esi = MEM32(ebp + (-0x4)); /* 0x2F010496: mov esi, dword ptr [ebp - 4] */ 380 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010499: mov byte ptr [eax + 0x24], bl */ 381 ecx = esi + 0xC; /* 0x2F01049C: lea ecx, [esi + 0xc] */ 382 RECOMP_ICALL(0x2F00FA50u); /* 0x2F01049F: call 0x2f00fa50 */ /* not lifted */ 383 RECOMP_FLAGS_IN(); 384 PUSH32(esp, esi); /* 0x2F0104A4: push esi */ 385 RECOMP_ICALL(0x2F0116B4u); /* 0x2F0104A5: call 0x2f0116b4 */ /* not lifted */ 386 RECOMP_FLAGS_IN(); 387 eax = MEM32(edi + 0x10); /* 0x2F0104AA: mov eax, dword ptr [edi + 0x10] */ 388 edx = MEM32(ebp + 0xC); /* 0x2F0104AD: mov edx, dword ptr [ebp + 0xc] */ 389 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 390 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 391 esp = esp + 4; /* 0x2F0104B0: add esp, 4 */ 392 _flag_k = FK_ADD; 393 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 394 eax = eax - 1; /* 0x2F0104B3: dec eax */ 395 _flag_k = FK_DEC; 396 MEM32(edi + 0x10) = eax; /* 0x2F0104B4: mov dword ptr [edi + 0x10], eax */ 397 eax = MEM32(ebp + 0x8); /* 0x2F0104B7: mov eax, dword ptr [ebp + 8] */ 398 edi = POP32_VAL(esp); /* 0x2F0104BA: pop edi */ 399 esi = POP32_VAL(esp); /* 0x2F0104BB: pop esi */ 400 MEM32(eax) = edx; /* 0x2F0104BC: mov dword ptr [eax], edx */ 401 ebx = POP32_VAL(esp); /* 0x2F0104BE: pop ebx */ 402 esp = ebp; /* 0x2F0104BF: mov esp, ebp */ 403 ebp = POP32_VAL(esp); /* 0x2F0104C1: pop ebp */ 404 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2F0104C2: ret 8 */ 405 RECOMP_REGS_OUT(); 406 } 407 408 void sub_2F0102AF(void) { 409 int _fpu_cmp = 0; 410 uint32_t _cf = 0; 411 int _df = 1; 412 uint32_t _flag_k = FK_NONE; 413 uint32_t _flag_a = 0, _flag_b = 0; 414 uint32_t _itail_tgt = 0; 415 RECOMP_REGS_LOCALS 416 RECOMP_ENTER(0x2F0102AFu); 417 418 goto L_2F0102AF; 419 L_2F010248: 420 /* cmp MEM8(eax + 0x24), LO8(ebx) */ /* 0x2F010248: cmp byte ptr [eax + 0x24], bl */ 421 _flag_a = (uint32_t)(MEM8(eax + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 422 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 423 _flag_k = FK_NARROW(FK_CMP, 24); 424 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010496; /* 0x2F01024B: jne 0x2f010496 */ 425 L_2F010251: 426 edx = MEM32(eax + 0x4); /* 0x2F010251: mov edx, dword ptr [eax + 4] */ 427 ecx = MEM32(edx); /* 0x2F010254: mov ecx, dword ptr [edx] */ 428 /* cmp eax, ecx */ /* 0x2F010256: cmp eax, ecx */ 429 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 430 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 431 _flag_k = FK_CMP; 432 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0102C8; /* 0x2F010258: jne 0x2f0102c8 */ 433 L_2F01025A: 434 ecx = MEM32(edx + 0x8); /* 0x2F01025A: mov ecx, dword ptr [edx + 8] */ 435 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2F01025D: mov dl, byte ptr [ecx + 0x24] */ 436 /* test LO8(edx), LO8(edx) */ /* 0x2F010260: test dl, dl */ 437 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 438 _cf = 0; 439 _flag_k = FK_NARROW(FK_TEST, 24); 440 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F0102AF; /* 0x2F010262: jne 0x2f0102af */ 441 L_2F010264: 442 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010264: mov byte ptr [ecx + 0x24], bl */ 443 edx = MEM32(eax + 0x4); /* 0x2F010267: mov edx, dword ptr [eax + 4] */ 444 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2F01026A: mov byte ptr [edx + 0x24], 0 */ 445 ecx = MEM32(eax + 0x4); /* 0x2F01026E: mov ecx, dword ptr [eax + 4] */ 446 edx = MEM32(ecx + 0x8); /* 0x2F010271: mov edx, dword ptr [ecx + 8] */ 447 esi = MEM32(edx); /* 0x2F010274: mov esi, dword ptr [edx] */ 448 MEM32(ecx + 0x8) = esi; /* 0x2F010276: mov dword ptr [ecx + 8], esi */ 449 esi = MEM32(edx); /* 0x2F010279: mov esi, dword ptr [edx] */ 450 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F01027B: cmp esi, dword ptr [edi + 8] */ 451 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 452 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 453 _flag_k = FK_CMP; 454 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010283; /* 0x2F01027E: je 0x2f010283 */ 455 L_2F010280: 456 MEM32(esi + 0x4) = ecx; /* 0x2F010280: mov dword ptr [esi + 4], ecx */ 457 L_2F010283: 458 esi = MEM32(ecx + 0x4); /* 0x2F010283: mov esi, dword ptr [ecx + 4] */ 459 MEM32(edx + 0x4) = esi; /* 0x2F010286: mov dword ptr [edx + 4], esi */ 460 esi = MEM32(edi + 0x4); /* 0x2F010289: mov esi, dword ptr [edi + 4] */ 461 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F01028C: cmp ecx, dword ptr [esi + 4] */ 462 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 463 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 464 _flag_k = FK_CMP; 465 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010296; /* 0x2F01028F: jne 0x2f010296 */ 466 L_2F010291: 467 MEM32(esi + 0x4) = edx; /* 0x2F010291: mov dword ptr [esi + 4], edx */ 468 goto L_2F0102A4; /* 0x2F010294: jmp 0x2f0102a4 */ 469 L_2F010296: 470 esi = MEM32(ecx + 0x4); /* 0x2F010296: mov esi, dword ptr [ecx + 4] */ 471 /* cmp ecx, MEM32(esi) */ /* 0x2F010299: cmp ecx, dword ptr [esi] */ 472 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 473 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 474 _flag_k = FK_CMP; 475 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0102A1; /* 0x2F01029B: jne 0x2f0102a1 */ 476 L_2F01029D: 477 MEM32(esi) = edx; /* 0x2F01029D: mov dword ptr [esi], edx */ 478 goto L_2F0102A4; /* 0x2F01029F: jmp 0x2f0102a4 */ 479 L_2F0102A1: 480 MEM32(esi + 0x8) = edx; /* 0x2F0102A1: mov dword ptr [esi + 8], edx */ 481 L_2F0102A4: 482 MEM32(edx) = ecx; /* 0x2F0102A4: mov dword ptr [edx], ecx */ 483 MEM32(ecx + 0x4) = edx; /* 0x2F0102A6: mov dword ptr [ecx + 4], edx */ 484 ecx = MEM32(eax + 0x4); /* 0x2F0102A9: mov ecx, dword ptr [eax + 4] */ 485 ecx = MEM32(ecx + 0x8); /* 0x2F0102AC: mov ecx, dword ptr [ecx + 8] */ 486 L_2F0102AF: 487 edx = MEM32(ecx); /* 0x2F0102AF: mov edx, dword ptr [ecx] */ 488 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2F0102B1: cmp byte ptr [edx + 0x24], bl */ 489 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 490 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 491 _flag_k = FK_NARROW(FK_CMP, 24); 492 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01034A; /* 0x2F0102B4: jne 0x2f01034a */ 493 L_2F0102BA: 494 edx = MEM32(ecx + 0x8); /* 0x2F0102BA: mov edx, dword ptr [ecx + 8] */ 495 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2F0102BD: cmp byte ptr [edx + 0x24], bl */ 496 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 497 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 498 _flag_k = FK_NARROW(FK_CMP, 24); 499 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01034A; /* 0x2F0102C0: jne 0x2f01034a */ 500 L_2F0102C6: 501 goto L_2F010332; /* 0x2F0102C6: jmp 0x2f010332 */ 502 L_2F0102C8: 503 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2F0102C8: mov dl, byte ptr [ecx + 0x24] */ 504 /* test LO8(edx), LO8(edx) */ /* 0x2F0102CB: test dl, dl */ 505 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 506 _cf = 0; 507 _flag_k = FK_NARROW(FK_TEST, 24); 508 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F01031B; /* 0x2F0102CD: jne 0x2f01031b */ 509 L_2F0102CF: 510 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F0102CF: mov byte ptr [ecx + 0x24], bl */ 511 ecx = MEM32(eax + 0x4); /* 0x2F0102D2: mov ecx, dword ptr [eax + 4] */ 512 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F0102D5: mov byte ptr [ecx + 0x24], 0 */ 513 ecx = MEM32(eax + 0x4); /* 0x2F0102D9: mov ecx, dword ptr [eax + 4] */ 514 edx = MEM32(ecx); /* 0x2F0102DC: mov edx, dword ptr [ecx] */ 515 esi = MEM32(edx + 0x8); /* 0x2F0102DE: mov esi, dword ptr [edx + 8] */ 516 MEM32(ecx) = esi; /* 0x2F0102E1: mov dword ptr [ecx], esi */ 517 esi = MEM32(edx + 0x8); /* 0x2F0102E3: mov esi, dword ptr [edx + 8] */ 518 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F0102E6: cmp esi, dword ptr [edi + 8] */ 519 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 520 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 521 _flag_k = FK_CMP; 522 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0102EE; /* 0x2F0102E9: je 0x2f0102ee */ 523 L_2F0102EB: 524 MEM32(esi + 0x4) = ecx; /* 0x2F0102EB: mov dword ptr [esi + 4], ecx */ 525 L_2F0102EE: 526 esi = MEM32(ecx + 0x4); /* 0x2F0102EE: mov esi, dword ptr [ecx + 4] */ 527 MEM32(edx + 0x4) = esi; /* 0x2F0102F1: mov dword ptr [edx + 4], esi */ 528 esi = MEM32(edi + 0x4); /* 0x2F0102F4: mov esi, dword ptr [edi + 4] */ 529 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F0102F7: cmp ecx, dword ptr [esi + 4] */ 530 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 531 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 532 _flag_k = FK_CMP; 533 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010301; /* 0x2F0102FA: jne 0x2f010301 */ 534 L_2F0102FC: 535 MEM32(esi + 0x4) = edx; /* 0x2F0102FC: mov dword ptr [esi + 4], edx */ 536 goto L_2F010310; /* 0x2F0102FF: jmp 0x2f010310 */ 537 L_2F010301: 538 esi = MEM32(ecx + 0x4); /* 0x2F010301: mov esi, dword ptr [ecx + 4] */ 539 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F010304: cmp ecx, dword ptr [esi + 8] */ 540 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 541 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 542 _flag_k = FK_CMP; 543 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01030E; /* 0x2F010307: jne 0x2f01030e */ 544 L_2F010309: 545 MEM32(esi + 0x8) = edx; /* 0x2F010309: mov dword ptr [esi + 8], edx */ 546 goto L_2F010310; /* 0x2F01030C: jmp 0x2f010310 */ 547 L_2F01030E: 548 MEM32(esi) = edx; /* 0x2F01030E: mov dword ptr [esi], edx */ 549 L_2F010310: 550 MEM32(edx + 0x8) = ecx; /* 0x2F010310: mov dword ptr [edx + 8], ecx */ 551 MEM32(ecx + 0x4) = edx; /* 0x2F010313: mov dword ptr [ecx + 4], edx */ 552 edx = MEM32(eax + 0x4); /* 0x2F010316: mov edx, dword ptr [eax + 4] */ 553 ecx = MEM32(edx); /* 0x2F010319: mov ecx, dword ptr [edx] */ 554 L_2F01031B: 555 edx = MEM32(ecx + 0x8); /* 0x2F01031B: mov edx, dword ptr [ecx + 8] */ 556 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2F01031E: cmp byte ptr [edx + 0x24], bl */ 557 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 558 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 559 _flag_k = FK_NARROW(FK_CMP, 24); 560 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0103F7; /* 0x2F010321: jne 0x2f0103f7 */ 561 L_2F010327: 562 edx = MEM32(ecx); /* 0x2F010327: mov edx, dword ptr [ecx] */ 563 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2F010329: cmp byte ptr [edx + 0x24], bl */ 564 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 565 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 566 _flag_k = FK_NARROW(FK_CMP, 24); 567 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0103F7; /* 0x2F01032C: jne 0x2f0103f7 */ 568 L_2F010332: 569 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010332: mov byte ptr [ecx + 0x24], 0 */ 570 ecx = MEM32(edi + 0x4); /* 0x2F010336: mov ecx, dword ptr [edi + 4] */ 571 eax = MEM32(eax + 0x4); /* 0x2F010339: mov eax, dword ptr [eax + 4] */ 572 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F01033C: cmp eax, dword ptr [ecx + 4] */ 573 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 574 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 575 _flag_k = FK_CMP; 576 RECOMP_BACKEDGE(); 577 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010248; /* 0x2F01033F: jne 0x2f010248 */ 578 L_2F010345: 579 goto L_2F010496; /* 0x2F010345: jmp 0x2f010496 */ 580 L_2F01034A: 581 edx = MEM32(ecx + 0x8); /* 0x2F01034A: mov edx, dword ptr [ecx + 8] */ 582 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2F01034D: cmp byte ptr [edx + 0x24], bl */ 583 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 584 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 585 _flag_k = FK_NARROW(FK_CMP, 24); 586 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01039B; /* 0x2F010350: jne 0x2f01039b */ 587 L_2F010352: 588 edx = MEM32(ecx); /* 0x2F010352: mov edx, dword ptr [ecx] */ 589 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010354: mov byte ptr [edx + 0x24], bl */ 590 edx = MEM32(ecx); /* 0x2F010357: mov edx, dword ptr [ecx] */ 591 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010359: mov byte ptr [ecx + 0x24], 0 */ 592 esi = MEM32(edx + 0x8); /* 0x2F01035D: mov esi, dword ptr [edx + 8] */ 593 MEM32(ecx) = esi; /* 0x2F010360: mov dword ptr [ecx], esi */ 594 esi = MEM32(edx + 0x8); /* 0x2F010362: mov esi, dword ptr [edx + 8] */ 595 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010365: cmp esi, dword ptr [edi + 8] */ 596 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 597 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 598 _flag_k = FK_CMP; 599 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01036D; /* 0x2F010368: je 0x2f01036d */ 600 L_2F01036A: 601 MEM32(esi + 0x4) = ecx; /* 0x2F01036A: mov dword ptr [esi + 4], ecx */ 602 L_2F01036D: 603 esi = MEM32(ecx + 0x4); /* 0x2F01036D: mov esi, dword ptr [ecx + 4] */ 604 MEM32(edx + 0x4) = esi; /* 0x2F010370: mov dword ptr [edx + 4], esi */ 605 esi = MEM32(edi + 0x4); /* 0x2F010373: mov esi, dword ptr [edi + 4] */ 606 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010376: cmp ecx, dword ptr [esi + 4] */ 607 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 608 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 609 _flag_k = FK_CMP; 610 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010380; /* 0x2F010379: jne 0x2f010380 */ 611 L_2F01037B: 612 MEM32(esi + 0x4) = edx; /* 0x2F01037B: mov dword ptr [esi + 4], edx */ 613 goto L_2F01038F; /* 0x2F01037E: jmp 0x2f01038f */ 614 L_2F010380: 615 esi = MEM32(ecx + 0x4); /* 0x2F010380: mov esi, dword ptr [ecx + 4] */ 616 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F010383: cmp ecx, dword ptr [esi + 8] */ 617 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 618 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 619 _flag_k = FK_CMP; 620 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01038D; /* 0x2F010386: jne 0x2f01038d */ 621 L_2F010388: 622 MEM32(esi + 0x8) = edx; /* 0x2F010388: mov dword ptr [esi + 8], edx */ 623 goto L_2F01038F; /* 0x2F01038B: jmp 0x2f01038f */ 624 L_2F01038D: 625 MEM32(esi) = edx; /* 0x2F01038D: mov dword ptr [esi], edx */ 626 L_2F01038F: 627 MEM32(edx + 0x8) = ecx; /* 0x2F01038F: mov dword ptr [edx + 8], ecx */ 628 MEM32(ecx + 0x4) = edx; /* 0x2F010392: mov dword ptr [ecx + 4], edx */ 629 ecx = MEM32(eax + 0x4); /* 0x2F010395: mov ecx, dword ptr [eax + 4] */ 630 ecx = MEM32(ecx + 0x8); /* 0x2F010398: mov ecx, dword ptr [ecx + 8] */ 631 L_2F01039B: 632 edx = MEM32(eax + 0x4); /* 0x2F01039B: mov edx, dword ptr [eax + 4] */ 633 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2F01039E: mov dl, byte ptr [edx + 0x24] */ 634 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2F0103A1: mov byte ptr [ecx + 0x24], dl */ 635 edx = MEM32(eax + 0x4); /* 0x2F0103A4: mov edx, dword ptr [eax + 4] */ 636 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F0103A7: mov byte ptr [edx + 0x24], bl */ 637 ecx = MEM32(ecx + 0x8); /* 0x2F0103AA: mov ecx, dword ptr [ecx + 8] */ 638 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F0103AD: mov byte ptr [ecx + 0x24], bl */ 639 ecx = MEM32(eax + 0x4); /* 0x2F0103B0: mov ecx, dword ptr [eax + 4] */ 640 edx = MEM32(ecx + 0x8); /* 0x2F0103B3: mov edx, dword ptr [ecx + 8] */ 641 esi = MEM32(edx); /* 0x2F0103B6: mov esi, dword ptr [edx] */ 642 MEM32(ecx + 0x8) = esi; /* 0x2F0103B8: mov dword ptr [ecx + 8], esi */ 643 esi = MEM32(edx); /* 0x2F0103BB: mov esi, dword ptr [edx] */ 644 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F0103BD: cmp esi, dword ptr [edi + 8] */ 645 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 646 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 647 _flag_k = FK_CMP; 648 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0103C5; /* 0x2F0103C0: je 0x2f0103c5 */ 649 L_2F0103C2: 650 MEM32(esi + 0x4) = ecx; /* 0x2F0103C2: mov dword ptr [esi + 4], ecx */ 651 L_2F0103C5: 652 esi = MEM32(ecx + 0x4); /* 0x2F0103C5: mov esi, dword ptr [ecx + 4] */ 653 MEM32(edx + 0x4) = esi; /* 0x2F0103C8: mov dword ptr [edx + 4], esi */ 654 esi = MEM32(edi + 0x4); /* 0x2F0103CB: mov esi, dword ptr [edi + 4] */ 655 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F0103CE: cmp ecx, dword ptr [esi + 4] */ 656 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 657 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 658 _flag_k = FK_CMP; 659 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0103DD; /* 0x2F0103D1: jne 0x2f0103dd */ 660 L_2F0103D3: 661 MEM32(esi + 0x4) = edx; /* 0x2F0103D3: mov dword ptr [esi + 4], edx */ 662 MEM32(edx) = ecx; /* 0x2F0103D6: mov dword ptr [edx], ecx */ 663 goto L_2F010493; /* 0x2F0103D8: jmp 0x2f010493 */ 664 L_2F0103DD: 665 esi = MEM32(ecx + 0x4); /* 0x2F0103DD: mov esi, dword ptr [ecx + 4] */ 666 /* cmp ecx, MEM32(esi) */ /* 0x2F0103E0: cmp ecx, dword ptr [esi] */ 667 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 668 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 669 _flag_k = FK_CMP; 670 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0103ED; /* 0x2F0103E2: jne 0x2f0103ed */ 671 L_2F0103E4: 672 MEM32(esi) = edx; /* 0x2F0103E4: mov dword ptr [esi], edx */ 673 MEM32(edx) = ecx; /* 0x2F0103E6: mov dword ptr [edx], ecx */ 674 goto L_2F010493; /* 0x2F0103E8: jmp 0x2f010493 */ 675 L_2F0103ED: 676 MEM32(esi + 0x8) = edx; /* 0x2F0103ED: mov dword ptr [esi + 8], edx */ 677 MEM32(edx) = ecx; /* 0x2F0103F0: mov dword ptr [edx], ecx */ 678 goto L_2F010493; /* 0x2F0103F2: jmp 0x2f010493 */ 679 L_2F0103F7: 680 edx = MEM32(ecx); /* 0x2F0103F7: mov edx, dword ptr [ecx] */ 681 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2F0103F9: cmp byte ptr [edx + 0x24], bl */ 682 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 683 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 684 _flag_k = FK_NARROW(FK_CMP, 24); 685 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010445; /* 0x2F0103FC: jne 0x2f010445 */ 686 L_2F0103FE: 687 edx = MEM32(ecx + 0x8); /* 0x2F0103FE: mov edx, dword ptr [ecx + 8] */ 688 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010401: mov byte ptr [edx + 0x24], bl */ 689 edx = MEM32(ecx + 0x8); /* 0x2F010404: mov edx, dword ptr [ecx + 8] */ 690 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010407: mov byte ptr [ecx + 0x24], 0 */ 691 esi = MEM32(edx); /* 0x2F01040B: mov esi, dword ptr [edx] */ 692 MEM32(ecx + 0x8) = esi; /* 0x2F01040D: mov dword ptr [ecx + 8], esi */ 693 esi = MEM32(edx); /* 0x2F010410: mov esi, dword ptr [edx] */ 694 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010412: cmp esi, dword ptr [edi + 8] */ 695 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 696 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 697 _flag_k = FK_CMP; 698 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01041A; /* 0x2F010415: je 0x2f01041a */ 699 L_2F010417: 700 MEM32(esi + 0x4) = ecx; /* 0x2F010417: mov dword ptr [esi + 4], ecx */ 701 L_2F01041A: 702 esi = MEM32(ecx + 0x4); /* 0x2F01041A: mov esi, dword ptr [ecx + 4] */ 703 MEM32(edx + 0x4) = esi; /* 0x2F01041D: mov dword ptr [edx + 4], esi */ 704 esi = MEM32(edi + 0x4); /* 0x2F010420: mov esi, dword ptr [edi + 4] */ 705 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010423: cmp ecx, dword ptr [esi + 4] */ 706 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 707 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 708 _flag_k = FK_CMP; 709 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01042D; /* 0x2F010426: jne 0x2f01042d */ 710 L_2F010428: 711 MEM32(esi + 0x4) = edx; /* 0x2F010428: mov dword ptr [esi + 4], edx */ 712 goto L_2F01043B; /* 0x2F01042B: jmp 0x2f01043b */ 713 L_2F01042D: 714 esi = MEM32(ecx + 0x4); /* 0x2F01042D: mov esi, dword ptr [ecx + 4] */ 715 /* cmp ecx, MEM32(esi) */ /* 0x2F010430: cmp ecx, dword ptr [esi] */ 716 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 717 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 718 _flag_k = FK_CMP; 719 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010438; /* 0x2F010432: jne 0x2f010438 */ 720 L_2F010434: 721 MEM32(esi) = edx; /* 0x2F010434: mov dword ptr [esi], edx */ 722 goto L_2F01043B; /* 0x2F010436: jmp 0x2f01043b */ 723 L_2F010438: 724 MEM32(esi + 0x8) = edx; /* 0x2F010438: mov dword ptr [esi + 8], edx */ 725 L_2F01043B: 726 MEM32(edx) = ecx; /* 0x2F01043B: mov dword ptr [edx], ecx */ 727 MEM32(ecx + 0x4) = edx; /* 0x2F01043D: mov dword ptr [ecx + 4], edx */ 728 ecx = MEM32(eax + 0x4); /* 0x2F010440: mov ecx, dword ptr [eax + 4] */ 729 ecx = MEM32(ecx); /* 0x2F010443: mov ecx, dword ptr [ecx] */ 730 L_2F010445: 731 edx = MEM32(eax + 0x4); /* 0x2F010445: mov edx, dword ptr [eax + 4] */ 732 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2F010448: mov dl, byte ptr [edx + 0x24] */ 733 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2F01044B: mov byte ptr [ecx + 0x24], dl */ 734 edx = MEM32(eax + 0x4); /* 0x2F01044E: mov edx, dword ptr [eax + 4] */ 735 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010451: mov byte ptr [edx + 0x24], bl */ 736 ecx = MEM32(ecx); /* 0x2F010454: mov ecx, dword ptr [ecx] */ 737 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010456: mov byte ptr [ecx + 0x24], bl */ 738 ecx = MEM32(eax + 0x4); /* 0x2F010459: mov ecx, dword ptr [eax + 4] */ 739 edx = MEM32(ecx); /* 0x2F01045C: mov edx, dword ptr [ecx] */ 740 esi = MEM32(edx + 0x8); /* 0x2F01045E: mov esi, dword ptr [edx + 8] */ 741 MEM32(ecx) = esi; /* 0x2F010461: mov dword ptr [ecx], esi */ 742 esi = MEM32(edx + 0x8); /* 0x2F010463: mov esi, dword ptr [edx + 8] */ 743 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010466: cmp esi, dword ptr [edi + 8] */ 744 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 745 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 746 _flag_k = FK_CMP; 747 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01046E; /* 0x2F010469: je 0x2f01046e */ 748 L_2F01046B: 749 MEM32(esi + 0x4) = ecx; /* 0x2F01046B: mov dword ptr [esi + 4], ecx */ 750 L_2F01046E: 751 esi = MEM32(ecx + 0x4); /* 0x2F01046E: mov esi, dword ptr [ecx + 4] */ 752 MEM32(edx + 0x4) = esi; /* 0x2F010471: mov dword ptr [edx + 4], esi */ 753 esi = MEM32(edi + 0x4); /* 0x2F010474: mov esi, dword ptr [edi + 4] */ 754 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010477: cmp ecx, dword ptr [esi + 4] */ 755 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 756 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 757 _flag_k = FK_CMP; 758 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010481; /* 0x2F01047A: jne 0x2f010481 */ 759 L_2F01047C: 760 MEM32(esi + 0x4) = edx; /* 0x2F01047C: mov dword ptr [esi + 4], edx */ 761 goto L_2F010490; /* 0x2F01047F: jmp 0x2f010490 */ 762 L_2F010481: 763 esi = MEM32(ecx + 0x4); /* 0x2F010481: mov esi, dword ptr [ecx + 4] */ 764 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F010484: cmp ecx, dword ptr [esi + 8] */ 765 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 766 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 767 _flag_k = FK_CMP; 768 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01048E; /* 0x2F010487: jne 0x2f01048e */ 769 L_2F010489: 770 MEM32(esi + 0x8) = edx; /* 0x2F010489: mov dword ptr [esi + 8], edx */ 771 goto L_2F010490; /* 0x2F01048C: jmp 0x2f010490 */ 772 L_2F01048E: 773 MEM32(esi) = edx; /* 0x2F01048E: mov dword ptr [esi], edx */ 774 L_2F010490: 775 MEM32(edx + 0x8) = ecx; /* 0x2F010490: mov dword ptr [edx + 8], ecx */ 776 L_2F010493: 777 MEM32(ecx + 0x4) = edx; /* 0x2F010493: mov dword ptr [ecx + 4], edx */ 778 L_2F010496: 779 esi = MEM32(ebp + (-0x4)); /* 0x2F010496: mov esi, dword ptr [ebp - 4] */ 780 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010499: mov byte ptr [eax + 0x24], bl */ 781 ecx = esi + 0xC; /* 0x2F01049C: lea ecx, [esi + 0xc] */ 782 RECOMP_ICALL(0x2F00FA50u); /* 0x2F01049F: call 0x2f00fa50 */ /* not lifted */ 783 RECOMP_FLAGS_IN(); 784 PUSH32(esp, esi); /* 0x2F0104A4: push esi */ 785 RECOMP_ICALL(0x2F0116B4u); /* 0x2F0104A5: call 0x2f0116b4 */ /* not lifted */ 786 RECOMP_FLAGS_IN(); 787 eax = MEM32(edi + 0x10); /* 0x2F0104AA: mov eax, dword ptr [edi + 0x10] */ 788 edx = MEM32(ebp + 0xC); /* 0x2F0104AD: mov edx, dword ptr [ebp + 0xc] */ 789 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 790 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 791 esp = esp + 4; /* 0x2F0104B0: add esp, 4 */ 792 _flag_k = FK_ADD; 793 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 794 eax = eax - 1; /* 0x2F0104B3: dec eax */ 795 _flag_k = FK_DEC; 796 MEM32(edi + 0x10) = eax; /* 0x2F0104B4: mov dword ptr [edi + 0x10], eax */ 797 eax = MEM32(ebp + 0x8); /* 0x2F0104B7: mov eax, dword ptr [ebp + 8] */ 798 edi = POP32_VAL(esp); /* 0x2F0104BA: pop edi */ 799 esi = POP32_VAL(esp); /* 0x2F0104BB: pop esi */ 800 MEM32(eax) = edx; /* 0x2F0104BC: mov dword ptr [eax], edx */ 801 ebx = POP32_VAL(esp); /* 0x2F0104BE: pop ebx */ 802 esp = ebp; /* 0x2F0104BF: mov esp, ebp */ 803 ebp = POP32_VAL(esp); /* 0x2F0104C1: pop ebp */ 804 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2F0104C2: ret 8 */ 805 RECOMP_REGS_OUT(); 806 } 807 808 void sub_2F0102C8(void) { 809 int _fpu_cmp = 0; 810 uint32_t _cf = 0; 811 int _df = 1; 812 uint32_t _flag_k = FK_NONE; 813 uint32_t _flag_a = 0, _flag_b = 0; 814 uint32_t _itail_tgt = 0; 815 RECOMP_REGS_LOCALS 816 RECOMP_ENTER(0x2F0102C8u); 817 818 goto L_2F0102C8; 819 L_2F010248: 820 /* cmp MEM8(eax + 0x24), LO8(ebx) */ /* 0x2F010248: cmp byte ptr [eax + 0x24], bl */ 821 _flag_a = (uint32_t)(MEM8(eax + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 822 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 823 _flag_k = FK_NARROW(FK_CMP, 24); 824 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010496; /* 0x2F01024B: jne 0x2f010496 */ 825 L_2F010251: 826 edx = MEM32(eax + 0x4); /* 0x2F010251: mov edx, dword ptr [eax + 4] */ 827 ecx = MEM32(edx); /* 0x2F010254: mov ecx, dword ptr [edx] */ 828 /* cmp eax, ecx */ /* 0x2F010256: cmp eax, ecx */ 829 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 830 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 831 _flag_k = FK_CMP; 832 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0102C8; /* 0x2F010258: jne 0x2f0102c8 */ 833 L_2F01025A: 834 ecx = MEM32(edx + 0x8); /* 0x2F01025A: mov ecx, dword ptr [edx + 8] */ 835 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2F01025D: mov dl, byte ptr [ecx + 0x24] */ 836 /* test LO8(edx), LO8(edx) */ /* 0x2F010260: test dl, dl */ 837 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 838 _cf = 0; 839 _flag_k = FK_NARROW(FK_TEST, 24); 840 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F0102AF; /* 0x2F010262: jne 0x2f0102af */ 841 L_2F010264: 842 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010264: mov byte ptr [ecx + 0x24], bl */ 843 edx = MEM32(eax + 0x4); /* 0x2F010267: mov edx, dword ptr [eax + 4] */ 844 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2F01026A: mov byte ptr [edx + 0x24], 0 */ 845 ecx = MEM32(eax + 0x4); /* 0x2F01026E: mov ecx, dword ptr [eax + 4] */ 846 edx = MEM32(ecx + 0x8); /* 0x2F010271: mov edx, dword ptr [ecx + 8] */ 847 esi = MEM32(edx); /* 0x2F010274: mov esi, dword ptr [edx] */ 848 MEM32(ecx + 0x8) = esi; /* 0x2F010276: mov dword ptr [ecx + 8], esi */ 849 esi = MEM32(edx); /* 0x2F010279: mov esi, dword ptr [edx] */ 850 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F01027B: cmp esi, dword ptr [edi + 8] */ 851 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 852 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 853 _flag_k = FK_CMP; 854 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010283; /* 0x2F01027E: je 0x2f010283 */ 855 L_2F010280: 856 MEM32(esi + 0x4) = ecx; /* 0x2F010280: mov dword ptr [esi + 4], ecx */ 857 L_2F010283: 858 esi = MEM32(ecx + 0x4); /* 0x2F010283: mov esi, dword ptr [ecx + 4] */ 859 MEM32(edx + 0x4) = esi; /* 0x2F010286: mov dword ptr [edx + 4], esi */ 860 esi = MEM32(edi + 0x4); /* 0x2F010289: mov esi, dword ptr [edi + 4] */ 861 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F01028C: cmp ecx, dword ptr [esi + 4] */ 862 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 863 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 864 _flag_k = FK_CMP; 865 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010296; /* 0x2F01028F: jne 0x2f010296 */ 866 L_2F010291: 867 MEM32(esi + 0x4) = edx; /* 0x2F010291: mov dword ptr [esi + 4], edx */ 868 goto L_2F0102A4; /* 0x2F010294: jmp 0x2f0102a4 */ 869 L_2F010296: 870 esi = MEM32(ecx + 0x4); /* 0x2F010296: mov esi, dword ptr [ecx + 4] */ 871 /* cmp ecx, MEM32(esi) */ /* 0x2F010299: cmp ecx, dword ptr [esi] */ 872 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 873 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 874 _flag_k = FK_CMP; 875 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0102A1; /* 0x2F01029B: jne 0x2f0102a1 */ 876 L_2F01029D: 877 MEM32(esi) = edx; /* 0x2F01029D: mov dword ptr [esi], edx */ 878 goto L_2F0102A4; /* 0x2F01029F: jmp 0x2f0102a4 */ 879 L_2F0102A1: 880 MEM32(esi + 0x8) = edx; /* 0x2F0102A1: mov dword ptr [esi + 8], edx */ 881 L_2F0102A4: 882 MEM32(edx) = ecx; /* 0x2F0102A4: mov dword ptr [edx], ecx */ 883 MEM32(ecx + 0x4) = edx; /* 0x2F0102A6: mov dword ptr [ecx + 4], edx */ 884 ecx = MEM32(eax + 0x4); /* 0x2F0102A9: mov ecx, dword ptr [eax + 4] */ 885 ecx = MEM32(ecx + 0x8); /* 0x2F0102AC: mov ecx, dword ptr [ecx + 8] */ 886 L_2F0102AF: 887 edx = MEM32(ecx); /* 0x2F0102AF: mov edx, dword ptr [ecx] */ 888 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2F0102B1: cmp byte ptr [edx + 0x24], bl */ 889 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 890 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 891 _flag_k = FK_NARROW(FK_CMP, 24); 892 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01034A; /* 0x2F0102B4: jne 0x2f01034a */ 893 L_2F0102BA: 894 edx = MEM32(ecx + 0x8); /* 0x2F0102BA: mov edx, dword ptr [ecx + 8] */ 895 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2F0102BD: cmp byte ptr [edx + 0x24], bl */ 896 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 897 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 898 _flag_k = FK_NARROW(FK_CMP, 24); 899 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01034A; /* 0x2F0102C0: jne 0x2f01034a */ 900 L_2F0102C6: 901 goto L_2F010332; /* 0x2F0102C6: jmp 0x2f010332 */ 902 L_2F0102C8: 903 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2F0102C8: mov dl, byte ptr [ecx + 0x24] */ 904 /* test LO8(edx), LO8(edx) */ /* 0x2F0102CB: test dl, dl */ 905 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 906 _cf = 0; 907 _flag_k = FK_NARROW(FK_TEST, 24); 908 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F01031B; /* 0x2F0102CD: jne 0x2f01031b */ 909 L_2F0102CF: 910 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F0102CF: mov byte ptr [ecx + 0x24], bl */ 911 ecx = MEM32(eax + 0x4); /* 0x2F0102D2: mov ecx, dword ptr [eax + 4] */ 912 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F0102D5: mov byte ptr [ecx + 0x24], 0 */ 913 ecx = MEM32(eax + 0x4); /* 0x2F0102D9: mov ecx, dword ptr [eax + 4] */ 914 edx = MEM32(ecx); /* 0x2F0102DC: mov edx, dword ptr [ecx] */ 915 esi = MEM32(edx + 0x8); /* 0x2F0102DE: mov esi, dword ptr [edx + 8] */ 916 MEM32(ecx) = esi; /* 0x2F0102E1: mov dword ptr [ecx], esi */ 917 esi = MEM32(edx + 0x8); /* 0x2F0102E3: mov esi, dword ptr [edx + 8] */ 918 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F0102E6: cmp esi, dword ptr [edi + 8] */ 919 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 920 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 921 _flag_k = FK_CMP; 922 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0102EE; /* 0x2F0102E9: je 0x2f0102ee */ 923 L_2F0102EB: 924 MEM32(esi + 0x4) = ecx; /* 0x2F0102EB: mov dword ptr [esi + 4], ecx */ 925 L_2F0102EE: 926 esi = MEM32(ecx + 0x4); /* 0x2F0102EE: mov esi, dword ptr [ecx + 4] */ 927 MEM32(edx + 0x4) = esi; /* 0x2F0102F1: mov dword ptr [edx + 4], esi */ 928 esi = MEM32(edi + 0x4); /* 0x2F0102F4: mov esi, dword ptr [edi + 4] */ 929 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F0102F7: cmp ecx, dword ptr [esi + 4] */ 930 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 931 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 932 _flag_k = FK_CMP; 933 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010301; /* 0x2F0102FA: jne 0x2f010301 */ 934 L_2F0102FC: 935 MEM32(esi + 0x4) = edx; /* 0x2F0102FC: mov dword ptr [esi + 4], edx */ 936 goto L_2F010310; /* 0x2F0102FF: jmp 0x2f010310 */ 937 L_2F010301: 938 esi = MEM32(ecx + 0x4); /* 0x2F010301: mov esi, dword ptr [ecx + 4] */ 939 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F010304: cmp ecx, dword ptr [esi + 8] */ 940 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 941 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 942 _flag_k = FK_CMP; 943 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01030E; /* 0x2F010307: jne 0x2f01030e */ 944 L_2F010309: 945 MEM32(esi + 0x8) = edx; /* 0x2F010309: mov dword ptr [esi + 8], edx */ 946 goto L_2F010310; /* 0x2F01030C: jmp 0x2f010310 */ 947 L_2F01030E: 948 MEM32(esi) = edx; /* 0x2F01030E: mov dword ptr [esi], edx */ 949 L_2F010310: 950 MEM32(edx + 0x8) = ecx; /* 0x2F010310: mov dword ptr [edx + 8], ecx */ 951 MEM32(ecx + 0x4) = edx; /* 0x2F010313: mov dword ptr [ecx + 4], edx */ 952 edx = MEM32(eax + 0x4); /* 0x2F010316: mov edx, dword ptr [eax + 4] */ 953 ecx = MEM32(edx); /* 0x2F010319: mov ecx, dword ptr [edx] */ 954 L_2F01031B: 955 edx = MEM32(ecx + 0x8); /* 0x2F01031B: mov edx, dword ptr [ecx + 8] */ 956 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2F01031E: cmp byte ptr [edx + 0x24], bl */ 957 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 958 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 959 _flag_k = FK_NARROW(FK_CMP, 24); 960 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0103F7; /* 0x2F010321: jne 0x2f0103f7 */ 961 L_2F010327: 962 edx = MEM32(ecx); /* 0x2F010327: mov edx, dword ptr [ecx] */ 963 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2F010329: cmp byte ptr [edx + 0x24], bl */ 964 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 965 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 966 _flag_k = FK_NARROW(FK_CMP, 24); 967 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0103F7; /* 0x2F01032C: jne 0x2f0103f7 */ 968 L_2F010332: 969 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010332: mov byte ptr [ecx + 0x24], 0 */ 970 ecx = MEM32(edi + 0x4); /* 0x2F010336: mov ecx, dword ptr [edi + 4] */ 971 eax = MEM32(eax + 0x4); /* 0x2F010339: mov eax, dword ptr [eax + 4] */ 972 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F01033C: cmp eax, dword ptr [ecx + 4] */ 973 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 974 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 975 _flag_k = FK_CMP; 976 RECOMP_BACKEDGE(); 977 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010248; /* 0x2F01033F: jne 0x2f010248 */ 978 L_2F010345: 979 goto L_2F010496; /* 0x2F010345: jmp 0x2f010496 */ 980 L_2F01034A: 981 edx = MEM32(ecx + 0x8); /* 0x2F01034A: mov edx, dword ptr [ecx + 8] */ 982 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2F01034D: cmp byte ptr [edx + 0x24], bl */ 983 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 984 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 985 _flag_k = FK_NARROW(FK_CMP, 24); 986 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01039B; /* 0x2F010350: jne 0x2f01039b */ 987 L_2F010352: 988 edx = MEM32(ecx); /* 0x2F010352: mov edx, dword ptr [ecx] */ 989 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010354: mov byte ptr [edx + 0x24], bl */ 990 edx = MEM32(ecx); /* 0x2F010357: mov edx, dword ptr [ecx] */ 991 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010359: mov byte ptr [ecx + 0x24], 0 */ 992 esi = MEM32(edx + 0x8); /* 0x2F01035D: mov esi, dword ptr [edx + 8] */ 993 MEM32(ecx) = esi; /* 0x2F010360: mov dword ptr [ecx], esi */ 994 esi = MEM32(edx + 0x8); /* 0x2F010362: mov esi, dword ptr [edx + 8] */ 995 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010365: cmp esi, dword ptr [edi + 8] */ 996 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 997 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 998 _flag_k = FK_CMP; 999 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01036D; /* 0x2F010368: je 0x2f01036d */ 1000 L_2F01036A: 1001 MEM32(esi + 0x4) = ecx; /* 0x2F01036A: mov dword ptr [esi + 4], ecx */ 1002 L_2F01036D: 1003 esi = MEM32(ecx + 0x4); /* 0x2F01036D: mov esi, dword ptr [ecx + 4] */ 1004 MEM32(edx + 0x4) = esi; /* 0x2F010370: mov dword ptr [edx + 4], esi */ 1005 esi = MEM32(edi + 0x4); /* 0x2F010373: mov esi, dword ptr [edi + 4] */ 1006 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010376: cmp ecx, dword ptr [esi + 4] */ 1007 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1008 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1009 _flag_k = FK_CMP; 1010 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010380; /* 0x2F010379: jne 0x2f010380 */ 1011 L_2F01037B: 1012 MEM32(esi + 0x4) = edx; /* 0x2F01037B: mov dword ptr [esi + 4], edx */ 1013 goto L_2F01038F; /* 0x2F01037E: jmp 0x2f01038f */ 1014 L_2F010380: 1015 esi = MEM32(ecx + 0x4); /* 0x2F010380: mov esi, dword ptr [ecx + 4] */ 1016 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F010383: cmp ecx, dword ptr [esi + 8] */ 1017 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1018 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1019 _flag_k = FK_CMP; 1020 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01038D; /* 0x2F010386: jne 0x2f01038d */ 1021 L_2F010388: 1022 MEM32(esi + 0x8) = edx; /* 0x2F010388: mov dword ptr [esi + 8], edx */ 1023 goto L_2F01038F; /* 0x2F01038B: jmp 0x2f01038f */ 1024 L_2F01038D: 1025 MEM32(esi) = edx; /* 0x2F01038D: mov dword ptr [esi], edx */ 1026 L_2F01038F: 1027 MEM32(edx + 0x8) = ecx; /* 0x2F01038F: mov dword ptr [edx + 8], ecx */ 1028 MEM32(ecx + 0x4) = edx; /* 0x2F010392: mov dword ptr [ecx + 4], edx */ 1029 ecx = MEM32(eax + 0x4); /* 0x2F010395: mov ecx, dword ptr [eax + 4] */ 1030 ecx = MEM32(ecx + 0x8); /* 0x2F010398: mov ecx, dword ptr [ecx + 8] */ 1031 L_2F01039B: 1032 edx = MEM32(eax + 0x4); /* 0x2F01039B: mov edx, dword ptr [eax + 4] */ 1033 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2F01039E: mov dl, byte ptr [edx + 0x24] */ 1034 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2F0103A1: mov byte ptr [ecx + 0x24], dl */ 1035 edx = MEM32(eax + 0x4); /* 0x2F0103A4: mov edx, dword ptr [eax + 4] */ 1036 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F0103A7: mov byte ptr [edx + 0x24], bl */ 1037 ecx = MEM32(ecx + 0x8); /* 0x2F0103AA: mov ecx, dword ptr [ecx + 8] */ 1038 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F0103AD: mov byte ptr [ecx + 0x24], bl */ 1039 ecx = MEM32(eax + 0x4); /* 0x2F0103B0: mov ecx, dword ptr [eax + 4] */ 1040 edx = MEM32(ecx + 0x8); /* 0x2F0103B3: mov edx, dword ptr [ecx + 8] */ 1041 esi = MEM32(edx); /* 0x2F0103B6: mov esi, dword ptr [edx] */ 1042 MEM32(ecx + 0x8) = esi; /* 0x2F0103B8: mov dword ptr [ecx + 8], esi */ 1043 esi = MEM32(edx); /* 0x2F0103BB: mov esi, dword ptr [edx] */ 1044 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F0103BD: cmp esi, dword ptr [edi + 8] */ 1045 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1046 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1047 _flag_k = FK_CMP; 1048 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0103C5; /* 0x2F0103C0: je 0x2f0103c5 */ 1049 L_2F0103C2: 1050 MEM32(esi + 0x4) = ecx; /* 0x2F0103C2: mov dword ptr [esi + 4], ecx */ 1051 L_2F0103C5: 1052 esi = MEM32(ecx + 0x4); /* 0x2F0103C5: mov esi, dword ptr [ecx + 4] */ 1053 MEM32(edx + 0x4) = esi; /* 0x2F0103C8: mov dword ptr [edx + 4], esi */ 1054 esi = MEM32(edi + 0x4); /* 0x2F0103CB: mov esi, dword ptr [edi + 4] */ 1055 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F0103CE: cmp ecx, dword ptr [esi + 4] */ 1056 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1057 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1058 _flag_k = FK_CMP; 1059 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0103DD; /* 0x2F0103D1: jne 0x2f0103dd */ 1060 L_2F0103D3: 1061 MEM32(esi + 0x4) = edx; /* 0x2F0103D3: mov dword ptr [esi + 4], edx */ 1062 MEM32(edx) = ecx; /* 0x2F0103D6: mov dword ptr [edx], ecx */ 1063 goto L_2F010493; /* 0x2F0103D8: jmp 0x2f010493 */ 1064 L_2F0103DD: 1065 esi = MEM32(ecx + 0x4); /* 0x2F0103DD: mov esi, dword ptr [ecx + 4] */ 1066 /* cmp ecx, MEM32(esi) */ /* 0x2F0103E0: cmp ecx, dword ptr [esi] */ 1067 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 1068 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1069 _flag_k = FK_CMP; 1070 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0103ED; /* 0x2F0103E2: jne 0x2f0103ed */ 1071 L_2F0103E4: 1072 MEM32(esi) = edx; /* 0x2F0103E4: mov dword ptr [esi], edx */ 1073 MEM32(edx) = ecx; /* 0x2F0103E6: mov dword ptr [edx], ecx */ 1074 goto L_2F010493; /* 0x2F0103E8: jmp 0x2f010493 */ 1075 L_2F0103ED: 1076 MEM32(esi + 0x8) = edx; /* 0x2F0103ED: mov dword ptr [esi + 8], edx */ 1077 MEM32(edx) = ecx; /* 0x2F0103F0: mov dword ptr [edx], ecx */ 1078 goto L_2F010493; /* 0x2F0103F2: jmp 0x2f010493 */ 1079 L_2F0103F7: 1080 edx = MEM32(ecx); /* 0x2F0103F7: mov edx, dword ptr [ecx] */ 1081 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2F0103F9: cmp byte ptr [edx + 0x24], bl */ 1082 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1083 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1084 _flag_k = FK_NARROW(FK_CMP, 24); 1085 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010445; /* 0x2F0103FC: jne 0x2f010445 */ 1086 L_2F0103FE: 1087 edx = MEM32(ecx + 0x8); /* 0x2F0103FE: mov edx, dword ptr [ecx + 8] */ 1088 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010401: mov byte ptr [edx + 0x24], bl */ 1089 edx = MEM32(ecx + 0x8); /* 0x2F010404: mov edx, dword ptr [ecx + 8] */ 1090 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010407: mov byte ptr [ecx + 0x24], 0 */ 1091 esi = MEM32(edx); /* 0x2F01040B: mov esi, dword ptr [edx] */ 1092 MEM32(ecx + 0x8) = esi; /* 0x2F01040D: mov dword ptr [ecx + 8], esi */ 1093 esi = MEM32(edx); /* 0x2F010410: mov esi, dword ptr [edx] */ 1094 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010412: cmp esi, dword ptr [edi + 8] */ 1095 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1096 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1097 _flag_k = FK_CMP; 1098 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01041A; /* 0x2F010415: je 0x2f01041a */ 1099 L_2F010417: 1100 MEM32(esi + 0x4) = ecx; /* 0x2F010417: mov dword ptr [esi + 4], ecx */ 1101 L_2F01041A: 1102 esi = MEM32(ecx + 0x4); /* 0x2F01041A: mov esi, dword ptr [ecx + 4] */ 1103 MEM32(edx + 0x4) = esi; /* 0x2F01041D: mov dword ptr [edx + 4], esi */ 1104 esi = MEM32(edi + 0x4); /* 0x2F010420: mov esi, dword ptr [edi + 4] */ 1105 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010423: cmp ecx, dword ptr [esi + 4] */ 1106 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1107 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1108 _flag_k = FK_CMP; 1109 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01042D; /* 0x2F010426: jne 0x2f01042d */ 1110 L_2F010428: 1111 MEM32(esi + 0x4) = edx; /* 0x2F010428: mov dword ptr [esi + 4], edx */ 1112 goto L_2F01043B; /* 0x2F01042B: jmp 0x2f01043b */ 1113 L_2F01042D: 1114 esi = MEM32(ecx + 0x4); /* 0x2F01042D: mov esi, dword ptr [ecx + 4] */ 1115 /* cmp ecx, MEM32(esi) */ /* 0x2F010430: cmp ecx, dword ptr [esi] */ 1116 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 1117 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1118 _flag_k = FK_CMP; 1119 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010438; /* 0x2F010432: jne 0x2f010438 */ 1120 L_2F010434: 1121 MEM32(esi) = edx; /* 0x2F010434: mov dword ptr [esi], edx */ 1122 goto L_2F01043B; /* 0x2F010436: jmp 0x2f01043b */ 1123 L_2F010438: 1124 MEM32(esi + 0x8) = edx; /* 0x2F010438: mov dword ptr [esi + 8], edx */ 1125 L_2F01043B: 1126 MEM32(edx) = ecx; /* 0x2F01043B: mov dword ptr [edx], ecx */ 1127 MEM32(ecx + 0x4) = edx; /* 0x2F01043D: mov dword ptr [ecx + 4], edx */ 1128 ecx = MEM32(eax + 0x4); /* 0x2F010440: mov ecx, dword ptr [eax + 4] */ 1129 ecx = MEM32(ecx); /* 0x2F010443: mov ecx, dword ptr [ecx] */ 1130 L_2F010445: 1131 edx = MEM32(eax + 0x4); /* 0x2F010445: mov edx, dword ptr [eax + 4] */ 1132 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2F010448: mov dl, byte ptr [edx + 0x24] */ 1133 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2F01044B: mov byte ptr [ecx + 0x24], dl */ 1134 edx = MEM32(eax + 0x4); /* 0x2F01044E: mov edx, dword ptr [eax + 4] */ 1135 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010451: mov byte ptr [edx + 0x24], bl */ 1136 ecx = MEM32(ecx); /* 0x2F010454: mov ecx, dword ptr [ecx] */ 1137 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010456: mov byte ptr [ecx + 0x24], bl */ 1138 ecx = MEM32(eax + 0x4); /* 0x2F010459: mov ecx, dword ptr [eax + 4] */ 1139 edx = MEM32(ecx); /* 0x2F01045C: mov edx, dword ptr [ecx] */ 1140 esi = MEM32(edx + 0x8); /* 0x2F01045E: mov esi, dword ptr [edx + 8] */ 1141 MEM32(ecx) = esi; /* 0x2F010461: mov dword ptr [ecx], esi */ 1142 esi = MEM32(edx + 0x8); /* 0x2F010463: mov esi, dword ptr [edx + 8] */ 1143 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010466: cmp esi, dword ptr [edi + 8] */ 1144 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1145 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1146 _flag_k = FK_CMP; 1147 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01046E; /* 0x2F010469: je 0x2f01046e */ 1148 L_2F01046B: 1149 MEM32(esi + 0x4) = ecx; /* 0x2F01046B: mov dword ptr [esi + 4], ecx */ 1150 L_2F01046E: 1151 esi = MEM32(ecx + 0x4); /* 0x2F01046E: mov esi, dword ptr [ecx + 4] */ 1152 MEM32(edx + 0x4) = esi; /* 0x2F010471: mov dword ptr [edx + 4], esi */ 1153 esi = MEM32(edi + 0x4); /* 0x2F010474: mov esi, dword ptr [edi + 4] */ 1154 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010477: cmp ecx, dword ptr [esi + 4] */ 1155 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1156 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1157 _flag_k = FK_CMP; 1158 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010481; /* 0x2F01047A: jne 0x2f010481 */ 1159 L_2F01047C: 1160 MEM32(esi + 0x4) = edx; /* 0x2F01047C: mov dword ptr [esi + 4], edx */ 1161 goto L_2F010490; /* 0x2F01047F: jmp 0x2f010490 */ 1162 L_2F010481: 1163 esi = MEM32(ecx + 0x4); /* 0x2F010481: mov esi, dword ptr [ecx + 4] */ 1164 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F010484: cmp ecx, dword ptr [esi + 8] */ 1165 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1166 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1167 _flag_k = FK_CMP; 1168 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01048E; /* 0x2F010487: jne 0x2f01048e */ 1169 L_2F010489: 1170 MEM32(esi + 0x8) = edx; /* 0x2F010489: mov dword ptr [esi + 8], edx */ 1171 goto L_2F010490; /* 0x2F01048C: jmp 0x2f010490 */ 1172 L_2F01048E: 1173 MEM32(esi) = edx; /* 0x2F01048E: mov dword ptr [esi], edx */ 1174 L_2F010490: 1175 MEM32(edx + 0x8) = ecx; /* 0x2F010490: mov dword ptr [edx + 8], ecx */ 1176 L_2F010493: 1177 MEM32(ecx + 0x4) = edx; /* 0x2F010493: mov dword ptr [ecx + 4], edx */ 1178 L_2F010496: 1179 esi = MEM32(ebp + (-0x4)); /* 0x2F010496: mov esi, dword ptr [ebp - 4] */ 1180 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010499: mov byte ptr [eax + 0x24], bl */ 1181 ecx = esi + 0xC; /* 0x2F01049C: lea ecx, [esi + 0xc] */ 1182 RECOMP_ICALL(0x2F00FA50u); /* 0x2F01049F: call 0x2f00fa50 */ /* not lifted */ 1183 RECOMP_FLAGS_IN(); 1184 PUSH32(esp, esi); /* 0x2F0104A4: push esi */ 1185 RECOMP_ICALL(0x2F0116B4u); /* 0x2F0104A5: call 0x2f0116b4 */ /* not lifted */ 1186 RECOMP_FLAGS_IN(); 1187 eax = MEM32(edi + 0x10); /* 0x2F0104AA: mov eax, dword ptr [edi + 0x10] */ 1188 edx = MEM32(ebp + 0xC); /* 0x2F0104AD: mov edx, dword ptr [ebp + 0xc] */ 1189 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1190 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1191 esp = esp + 4; /* 0x2F0104B0: add esp, 4 */ 1192 _flag_k = FK_ADD; 1193 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 1194 eax = eax - 1; /* 0x2F0104B3: dec eax */ 1195 _flag_k = FK_DEC; 1196 MEM32(edi + 0x10) = eax; /* 0x2F0104B4: mov dword ptr [edi + 0x10], eax */ 1197 eax = MEM32(ebp + 0x8); /* 0x2F0104B7: mov eax, dword ptr [ebp + 8] */ 1198 edi = POP32_VAL(esp); /* 0x2F0104BA: pop edi */ 1199 esi = POP32_VAL(esp); /* 0x2F0104BB: pop esi */ 1200 MEM32(eax) = edx; /* 0x2F0104BC: mov dword ptr [eax], edx */ 1201 ebx = POP32_VAL(esp); /* 0x2F0104BE: pop ebx */ 1202 esp = ebp; /* 0x2F0104BF: mov esp, ebp */ 1203 ebp = POP32_VAL(esp); /* 0x2F0104C1: pop ebp */ 1204 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2F0104C2: ret 8 */ 1205 RECOMP_REGS_OUT(); 1206 } 1207 1208 void sub_2F010310(void) { 1209 int _fpu_cmp = 0; 1210 uint32_t _cf = 0; 1211 int _df = 1; 1212 uint32_t _flag_k = FK_NONE; 1213 uint32_t _flag_a = 0, _flag_b = 0; 1214 uint32_t _itail_tgt = 0; 1215 RECOMP_REGS_LOCALS 1216 RECOMP_ENTER(0x2F010310u); 1217 1218 goto L_2F010310; 1219 L_2F010248: 1220 /* cmp MEM8(eax + 0x24), LO8(ebx) */ /* 0x2F010248: cmp byte ptr [eax + 0x24], bl */ 1221 _flag_a = (uint32_t)(MEM8(eax + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1222 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1223 _flag_k = FK_NARROW(FK_CMP, 24); 1224 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010496; /* 0x2F01024B: jne 0x2f010496 */ 1225 L_2F010251: 1226 edx = MEM32(eax + 0x4); /* 0x2F010251: mov edx, dword ptr [eax + 4] */ 1227 ecx = MEM32(edx); /* 0x2F010254: mov ecx, dword ptr [edx] */ 1228 /* cmp eax, ecx */ /* 0x2F010256: cmp eax, ecx */ 1229 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1230 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1231 _flag_k = FK_CMP; 1232 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0102C8; /* 0x2F010258: jne 0x2f0102c8 */ 1233 L_2F01025A: 1234 ecx = MEM32(edx + 0x8); /* 0x2F01025A: mov ecx, dword ptr [edx + 8] */ 1235 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2F01025D: mov dl, byte ptr [ecx + 0x24] */ 1236 /* test LO8(edx), LO8(edx) */ /* 0x2F010260: test dl, dl */ 1237 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 1238 _cf = 0; 1239 _flag_k = FK_NARROW(FK_TEST, 24); 1240 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F0102AF; /* 0x2F010262: jne 0x2f0102af */ 1241 L_2F010264: 1242 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010264: mov byte ptr [ecx + 0x24], bl */ 1243 edx = MEM32(eax + 0x4); /* 0x2F010267: mov edx, dword ptr [eax + 4] */ 1244 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2F01026A: mov byte ptr [edx + 0x24], 0 */ 1245 ecx = MEM32(eax + 0x4); /* 0x2F01026E: mov ecx, dword ptr [eax + 4] */ 1246 edx = MEM32(ecx + 0x8); /* 0x2F010271: mov edx, dword ptr [ecx + 8] */ 1247 esi = MEM32(edx); /* 0x2F010274: mov esi, dword ptr [edx] */ 1248 MEM32(ecx + 0x8) = esi; /* 0x2F010276: mov dword ptr [ecx + 8], esi */ 1249 esi = MEM32(edx); /* 0x2F010279: mov esi, dword ptr [edx] */ 1250 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F01027B: cmp esi, dword ptr [edi + 8] */ 1251 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1252 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1253 _flag_k = FK_CMP; 1254 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010283; /* 0x2F01027E: je 0x2f010283 */ 1255 L_2F010280: 1256 MEM32(esi + 0x4) = ecx; /* 0x2F010280: mov dword ptr [esi + 4], ecx */ 1257 L_2F010283: 1258 esi = MEM32(ecx + 0x4); /* 0x2F010283: mov esi, dword ptr [ecx + 4] */ 1259 MEM32(edx + 0x4) = esi; /* 0x2F010286: mov dword ptr [edx + 4], esi */ 1260 esi = MEM32(edi + 0x4); /* 0x2F010289: mov esi, dword ptr [edi + 4] */ 1261 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F01028C: cmp ecx, dword ptr [esi + 4] */ 1262 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1263 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1264 _flag_k = FK_CMP; 1265 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010296; /* 0x2F01028F: jne 0x2f010296 */ 1266 L_2F010291: 1267 MEM32(esi + 0x4) = edx; /* 0x2F010291: mov dword ptr [esi + 4], edx */ 1268 goto L_2F0102A4; /* 0x2F010294: jmp 0x2f0102a4 */ 1269 L_2F010296: 1270 esi = MEM32(ecx + 0x4); /* 0x2F010296: mov esi, dword ptr [ecx + 4] */ 1271 /* cmp ecx, MEM32(esi) */ /* 0x2F010299: cmp ecx, dword ptr [esi] */ 1272 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 1273 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1274 _flag_k = FK_CMP; 1275 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0102A1; /* 0x2F01029B: jne 0x2f0102a1 */ 1276 L_2F01029D: 1277 MEM32(esi) = edx; /* 0x2F01029D: mov dword ptr [esi], edx */ 1278 goto L_2F0102A4; /* 0x2F01029F: jmp 0x2f0102a4 */ 1279 L_2F0102A1: 1280 MEM32(esi + 0x8) = edx; /* 0x2F0102A1: mov dword ptr [esi + 8], edx */ 1281 L_2F0102A4: 1282 MEM32(edx) = ecx; /* 0x2F0102A4: mov dword ptr [edx], ecx */ 1283 MEM32(ecx + 0x4) = edx; /* 0x2F0102A6: mov dword ptr [ecx + 4], edx */ 1284 ecx = MEM32(eax + 0x4); /* 0x2F0102A9: mov ecx, dword ptr [eax + 4] */ 1285 ecx = MEM32(ecx + 0x8); /* 0x2F0102AC: mov ecx, dword ptr [ecx + 8] */ 1286 L_2F0102AF: 1287 edx = MEM32(ecx); /* 0x2F0102AF: mov edx, dword ptr [ecx] */ 1288 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2F0102B1: cmp byte ptr [edx + 0x24], bl */ 1289 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1290 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1291 _flag_k = FK_NARROW(FK_CMP, 24); 1292 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01034A; /* 0x2F0102B4: jne 0x2f01034a */ 1293 L_2F0102BA: 1294 edx = MEM32(ecx + 0x8); /* 0x2F0102BA: mov edx, dword ptr [ecx + 8] */ 1295 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2F0102BD: cmp byte ptr [edx + 0x24], bl */ 1296 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1297 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1298 _flag_k = FK_NARROW(FK_CMP, 24); 1299 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01034A; /* 0x2F0102C0: jne 0x2f01034a */ 1300 L_2F0102C6: 1301 goto L_2F010332; /* 0x2F0102C6: jmp 0x2f010332 */ 1302 L_2F0102C8: 1303 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2F0102C8: mov dl, byte ptr [ecx + 0x24] */ 1304 /* test LO8(edx), LO8(edx) */ /* 0x2F0102CB: test dl, dl */ 1305 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 1306 _cf = 0; 1307 _flag_k = FK_NARROW(FK_TEST, 24); 1308 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F01031B; /* 0x2F0102CD: jne 0x2f01031b */ 1309 L_2F0102CF: 1310 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F0102CF: mov byte ptr [ecx + 0x24], bl */ 1311 ecx = MEM32(eax + 0x4); /* 0x2F0102D2: mov ecx, dword ptr [eax + 4] */ 1312 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F0102D5: mov byte ptr [ecx + 0x24], 0 */ 1313 ecx = MEM32(eax + 0x4); /* 0x2F0102D9: mov ecx, dword ptr [eax + 4] */ 1314 edx = MEM32(ecx); /* 0x2F0102DC: mov edx, dword ptr [ecx] */ 1315 esi = MEM32(edx + 0x8); /* 0x2F0102DE: mov esi, dword ptr [edx + 8] */ 1316 MEM32(ecx) = esi; /* 0x2F0102E1: mov dword ptr [ecx], esi */ 1317 esi = MEM32(edx + 0x8); /* 0x2F0102E3: mov esi, dword ptr [edx + 8] */ 1318 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F0102E6: cmp esi, dword ptr [edi + 8] */ 1319 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1320 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1321 _flag_k = FK_CMP; 1322 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0102EE; /* 0x2F0102E9: je 0x2f0102ee */ 1323 L_2F0102EB: 1324 MEM32(esi + 0x4) = ecx; /* 0x2F0102EB: mov dword ptr [esi + 4], ecx */ 1325 L_2F0102EE: 1326 esi = MEM32(ecx + 0x4); /* 0x2F0102EE: mov esi, dword ptr [ecx + 4] */ 1327 MEM32(edx + 0x4) = esi; /* 0x2F0102F1: mov dword ptr [edx + 4], esi */ 1328 esi = MEM32(edi + 0x4); /* 0x2F0102F4: mov esi, dword ptr [edi + 4] */ 1329 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F0102F7: cmp ecx, dword ptr [esi + 4] */ 1330 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1331 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1332 _flag_k = FK_CMP; 1333 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010301; /* 0x2F0102FA: jne 0x2f010301 */ 1334 L_2F0102FC: 1335 MEM32(esi + 0x4) = edx; /* 0x2F0102FC: mov dword ptr [esi + 4], edx */ 1336 goto L_2F010310; /* 0x2F0102FF: jmp 0x2f010310 */ 1337 L_2F010301: 1338 esi = MEM32(ecx + 0x4); /* 0x2F010301: mov esi, dword ptr [ecx + 4] */ 1339 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F010304: cmp ecx, dword ptr [esi + 8] */ 1340 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1341 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1342 _flag_k = FK_CMP; 1343 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01030E; /* 0x2F010307: jne 0x2f01030e */ 1344 L_2F010309: 1345 MEM32(esi + 0x8) = edx; /* 0x2F010309: mov dword ptr [esi + 8], edx */ 1346 goto L_2F010310; /* 0x2F01030C: jmp 0x2f010310 */ 1347 L_2F01030E: 1348 MEM32(esi) = edx; /* 0x2F01030E: mov dword ptr [esi], edx */ 1349 L_2F010310: 1350 MEM32(edx + 0x8) = ecx; /* 0x2F010310: mov dword ptr [edx + 8], ecx */ 1351 MEM32(ecx + 0x4) = edx; /* 0x2F010313: mov dword ptr [ecx + 4], edx */ 1352 edx = MEM32(eax + 0x4); /* 0x2F010316: mov edx, dword ptr [eax + 4] */ 1353 ecx = MEM32(edx); /* 0x2F010319: mov ecx, dword ptr [edx] */ 1354 L_2F01031B: 1355 edx = MEM32(ecx + 0x8); /* 0x2F01031B: mov edx, dword ptr [ecx + 8] */ 1356 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2F01031E: cmp byte ptr [edx + 0x24], bl */ 1357 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1358 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1359 _flag_k = FK_NARROW(FK_CMP, 24); 1360 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0103F7; /* 0x2F010321: jne 0x2f0103f7 */ 1361 L_2F010327: 1362 edx = MEM32(ecx); /* 0x2F010327: mov edx, dword ptr [ecx] */ 1363 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2F010329: cmp byte ptr [edx + 0x24], bl */ 1364 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1365 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1366 _flag_k = FK_NARROW(FK_CMP, 24); 1367 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0103F7; /* 0x2F01032C: jne 0x2f0103f7 */ 1368 L_2F010332: 1369 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010332: mov byte ptr [ecx + 0x24], 0 */ 1370 ecx = MEM32(edi + 0x4); /* 0x2F010336: mov ecx, dword ptr [edi + 4] */ 1371 eax = MEM32(eax + 0x4); /* 0x2F010339: mov eax, dword ptr [eax + 4] */ 1372 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F01033C: cmp eax, dword ptr [ecx + 4] */ 1373 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 1374 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1375 _flag_k = FK_CMP; 1376 RECOMP_BACKEDGE(); 1377 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010248; /* 0x2F01033F: jne 0x2f010248 */ 1378 L_2F010345: 1379 goto L_2F010496; /* 0x2F010345: jmp 0x2f010496 */ 1380 L_2F01034A: 1381 edx = MEM32(ecx + 0x8); /* 0x2F01034A: mov edx, dword ptr [ecx + 8] */ 1382 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2F01034D: cmp byte ptr [edx + 0x24], bl */ 1383 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1384 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1385 _flag_k = FK_NARROW(FK_CMP, 24); 1386 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01039B; /* 0x2F010350: jne 0x2f01039b */ 1387 L_2F010352: 1388 edx = MEM32(ecx); /* 0x2F010352: mov edx, dword ptr [ecx] */ 1389 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010354: mov byte ptr [edx + 0x24], bl */ 1390 edx = MEM32(ecx); /* 0x2F010357: mov edx, dword ptr [ecx] */ 1391 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010359: mov byte ptr [ecx + 0x24], 0 */ 1392 esi = MEM32(edx + 0x8); /* 0x2F01035D: mov esi, dword ptr [edx + 8] */ 1393 MEM32(ecx) = esi; /* 0x2F010360: mov dword ptr [ecx], esi */ 1394 esi = MEM32(edx + 0x8); /* 0x2F010362: mov esi, dword ptr [edx + 8] */ 1395 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010365: cmp esi, dword ptr [edi + 8] */ 1396 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1397 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1398 _flag_k = FK_CMP; 1399 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01036D; /* 0x2F010368: je 0x2f01036d */ 1400 L_2F01036A: 1401 MEM32(esi + 0x4) = ecx; /* 0x2F01036A: mov dword ptr [esi + 4], ecx */ 1402 L_2F01036D: 1403 esi = MEM32(ecx + 0x4); /* 0x2F01036D: mov esi, dword ptr [ecx + 4] */ 1404 MEM32(edx + 0x4) = esi; /* 0x2F010370: mov dword ptr [edx + 4], esi */ 1405 esi = MEM32(edi + 0x4); /* 0x2F010373: mov esi, dword ptr [edi + 4] */ 1406 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010376: cmp ecx, dword ptr [esi + 4] */ 1407 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1408 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1409 _flag_k = FK_CMP; 1410 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010380; /* 0x2F010379: jne 0x2f010380 */ 1411 L_2F01037B: 1412 MEM32(esi + 0x4) = edx; /* 0x2F01037B: mov dword ptr [esi + 4], edx */ 1413 goto L_2F01038F; /* 0x2F01037E: jmp 0x2f01038f */ 1414 L_2F010380: 1415 esi = MEM32(ecx + 0x4); /* 0x2F010380: mov esi, dword ptr [ecx + 4] */ 1416 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F010383: cmp ecx, dword ptr [esi + 8] */ 1417 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1418 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1419 _flag_k = FK_CMP; 1420 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01038D; /* 0x2F010386: jne 0x2f01038d */ 1421 L_2F010388: 1422 MEM32(esi + 0x8) = edx; /* 0x2F010388: mov dword ptr [esi + 8], edx */ 1423 goto L_2F01038F; /* 0x2F01038B: jmp 0x2f01038f */ 1424 L_2F01038D: 1425 MEM32(esi) = edx; /* 0x2F01038D: mov dword ptr [esi], edx */ 1426 L_2F01038F: 1427 MEM32(edx + 0x8) = ecx; /* 0x2F01038F: mov dword ptr [edx + 8], ecx */ 1428 MEM32(ecx + 0x4) = edx; /* 0x2F010392: mov dword ptr [ecx + 4], edx */ 1429 ecx = MEM32(eax + 0x4); /* 0x2F010395: mov ecx, dword ptr [eax + 4] */ 1430 ecx = MEM32(ecx + 0x8); /* 0x2F010398: mov ecx, dword ptr [ecx + 8] */ 1431 L_2F01039B: 1432 edx = MEM32(eax + 0x4); /* 0x2F01039B: mov edx, dword ptr [eax + 4] */ 1433 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2F01039E: mov dl, byte ptr [edx + 0x24] */ 1434 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2F0103A1: mov byte ptr [ecx + 0x24], dl */ 1435 edx = MEM32(eax + 0x4); /* 0x2F0103A4: mov edx, dword ptr [eax + 4] */ 1436 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F0103A7: mov byte ptr [edx + 0x24], bl */ 1437 ecx = MEM32(ecx + 0x8); /* 0x2F0103AA: mov ecx, dword ptr [ecx + 8] */ 1438 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F0103AD: mov byte ptr [ecx + 0x24], bl */ 1439 ecx = MEM32(eax + 0x4); /* 0x2F0103B0: mov ecx, dword ptr [eax + 4] */ 1440 edx = MEM32(ecx + 0x8); /* 0x2F0103B3: mov edx, dword ptr [ecx + 8] */ 1441 esi = MEM32(edx); /* 0x2F0103B6: mov esi, dword ptr [edx] */ 1442 MEM32(ecx + 0x8) = esi; /* 0x2F0103B8: mov dword ptr [ecx + 8], esi */ 1443 esi = MEM32(edx); /* 0x2F0103BB: mov esi, dword ptr [edx] */ 1444 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F0103BD: cmp esi, dword ptr [edi + 8] */ 1445 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1446 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1447 _flag_k = FK_CMP; 1448 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0103C5; /* 0x2F0103C0: je 0x2f0103c5 */ 1449 L_2F0103C2: 1450 MEM32(esi + 0x4) = ecx; /* 0x2F0103C2: mov dword ptr [esi + 4], ecx */ 1451 L_2F0103C5: 1452 esi = MEM32(ecx + 0x4); /* 0x2F0103C5: mov esi, dword ptr [ecx + 4] */ 1453 MEM32(edx + 0x4) = esi; /* 0x2F0103C8: mov dword ptr [edx + 4], esi */ 1454 esi = MEM32(edi + 0x4); /* 0x2F0103CB: mov esi, dword ptr [edi + 4] */ 1455 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F0103CE: cmp ecx, dword ptr [esi + 4] */ 1456 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1457 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1458 _flag_k = FK_CMP; 1459 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0103DD; /* 0x2F0103D1: jne 0x2f0103dd */ 1460 L_2F0103D3: 1461 MEM32(esi + 0x4) = edx; /* 0x2F0103D3: mov dword ptr [esi + 4], edx */ 1462 MEM32(edx) = ecx; /* 0x2F0103D6: mov dword ptr [edx], ecx */ 1463 goto L_2F010493; /* 0x2F0103D8: jmp 0x2f010493 */ 1464 L_2F0103DD: 1465 esi = MEM32(ecx + 0x4); /* 0x2F0103DD: mov esi, dword ptr [ecx + 4] */ 1466 /* cmp ecx, MEM32(esi) */ /* 0x2F0103E0: cmp ecx, dword ptr [esi] */ 1467 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 1468 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1469 _flag_k = FK_CMP; 1470 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0103ED; /* 0x2F0103E2: jne 0x2f0103ed */ 1471 L_2F0103E4: 1472 MEM32(esi) = edx; /* 0x2F0103E4: mov dword ptr [esi], edx */ 1473 MEM32(edx) = ecx; /* 0x2F0103E6: mov dword ptr [edx], ecx */ 1474 goto L_2F010493; /* 0x2F0103E8: jmp 0x2f010493 */ 1475 L_2F0103ED: 1476 MEM32(esi + 0x8) = edx; /* 0x2F0103ED: mov dword ptr [esi + 8], edx */ 1477 MEM32(edx) = ecx; /* 0x2F0103F0: mov dword ptr [edx], ecx */ 1478 goto L_2F010493; /* 0x2F0103F2: jmp 0x2f010493 */ 1479 L_2F0103F7: 1480 edx = MEM32(ecx); /* 0x2F0103F7: mov edx, dword ptr [ecx] */ 1481 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2F0103F9: cmp byte ptr [edx + 0x24], bl */ 1482 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1483 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1484 _flag_k = FK_NARROW(FK_CMP, 24); 1485 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010445; /* 0x2F0103FC: jne 0x2f010445 */ 1486 L_2F0103FE: 1487 edx = MEM32(ecx + 0x8); /* 0x2F0103FE: mov edx, dword ptr [ecx + 8] */ 1488 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010401: mov byte ptr [edx + 0x24], bl */ 1489 edx = MEM32(ecx + 0x8); /* 0x2F010404: mov edx, dword ptr [ecx + 8] */ 1490 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010407: mov byte ptr [ecx + 0x24], 0 */ 1491 esi = MEM32(edx); /* 0x2F01040B: mov esi, dword ptr [edx] */ 1492 MEM32(ecx + 0x8) = esi; /* 0x2F01040D: mov dword ptr [ecx + 8], esi */ 1493 esi = MEM32(edx); /* 0x2F010410: mov esi, dword ptr [edx] */ 1494 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010412: cmp esi, dword ptr [edi + 8] */ 1495 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1496 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1497 _flag_k = FK_CMP; 1498 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01041A; /* 0x2F010415: je 0x2f01041a */ 1499 L_2F010417: 1500 MEM32(esi + 0x4) = ecx; /* 0x2F010417: mov dword ptr [esi + 4], ecx */ 1501 L_2F01041A: 1502 esi = MEM32(ecx + 0x4); /* 0x2F01041A: mov esi, dword ptr [ecx + 4] */ 1503 MEM32(edx + 0x4) = esi; /* 0x2F01041D: mov dword ptr [edx + 4], esi */ 1504 esi = MEM32(edi + 0x4); /* 0x2F010420: mov esi, dword ptr [edi + 4] */ 1505 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010423: cmp ecx, dword ptr [esi + 4] */ 1506 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1507 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1508 _flag_k = FK_CMP; 1509 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01042D; /* 0x2F010426: jne 0x2f01042d */ 1510 L_2F010428: 1511 MEM32(esi + 0x4) = edx; /* 0x2F010428: mov dword ptr [esi + 4], edx */ 1512 goto L_2F01043B; /* 0x2F01042B: jmp 0x2f01043b */ 1513 L_2F01042D: 1514 esi = MEM32(ecx + 0x4); /* 0x2F01042D: mov esi, dword ptr [ecx + 4] */ 1515 /* cmp ecx, MEM32(esi) */ /* 0x2F010430: cmp ecx, dword ptr [esi] */ 1516 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 1517 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1518 _flag_k = FK_CMP; 1519 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010438; /* 0x2F010432: jne 0x2f010438 */ 1520 L_2F010434: 1521 MEM32(esi) = edx; /* 0x2F010434: mov dword ptr [esi], edx */ 1522 goto L_2F01043B; /* 0x2F010436: jmp 0x2f01043b */ 1523 L_2F010438: 1524 MEM32(esi + 0x8) = edx; /* 0x2F010438: mov dword ptr [esi + 8], edx */ 1525 L_2F01043B: 1526 MEM32(edx) = ecx; /* 0x2F01043B: mov dword ptr [edx], ecx */ 1527 MEM32(ecx + 0x4) = edx; /* 0x2F01043D: mov dword ptr [ecx + 4], edx */ 1528 ecx = MEM32(eax + 0x4); /* 0x2F010440: mov ecx, dword ptr [eax + 4] */ 1529 ecx = MEM32(ecx); /* 0x2F010443: mov ecx, dword ptr [ecx] */ 1530 L_2F010445: 1531 edx = MEM32(eax + 0x4); /* 0x2F010445: mov edx, dword ptr [eax + 4] */ 1532 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2F010448: mov dl, byte ptr [edx + 0x24] */ 1533 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2F01044B: mov byte ptr [ecx + 0x24], dl */ 1534 edx = MEM32(eax + 0x4); /* 0x2F01044E: mov edx, dword ptr [eax + 4] */ 1535 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010451: mov byte ptr [edx + 0x24], bl */ 1536 ecx = MEM32(ecx); /* 0x2F010454: mov ecx, dword ptr [ecx] */ 1537 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010456: mov byte ptr [ecx + 0x24], bl */ 1538 ecx = MEM32(eax + 0x4); /* 0x2F010459: mov ecx, dword ptr [eax + 4] */ 1539 edx = MEM32(ecx); /* 0x2F01045C: mov edx, dword ptr [ecx] */ 1540 esi = MEM32(edx + 0x8); /* 0x2F01045E: mov esi, dword ptr [edx + 8] */ 1541 MEM32(ecx) = esi; /* 0x2F010461: mov dword ptr [ecx], esi */ 1542 esi = MEM32(edx + 0x8); /* 0x2F010463: mov esi, dword ptr [edx + 8] */ 1543 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010466: cmp esi, dword ptr [edi + 8] */ 1544 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1545 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1546 _flag_k = FK_CMP; 1547 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01046E; /* 0x2F010469: je 0x2f01046e */ 1548 L_2F01046B: 1549 MEM32(esi + 0x4) = ecx; /* 0x2F01046B: mov dword ptr [esi + 4], ecx */ 1550 L_2F01046E: 1551 esi = MEM32(ecx + 0x4); /* 0x2F01046E: mov esi, dword ptr [ecx + 4] */ 1552 MEM32(edx + 0x4) = esi; /* 0x2F010471: mov dword ptr [edx + 4], esi */ 1553 esi = MEM32(edi + 0x4); /* 0x2F010474: mov esi, dword ptr [edi + 4] */ 1554 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010477: cmp ecx, dword ptr [esi + 4] */ 1555 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1556 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1557 _flag_k = FK_CMP; 1558 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010481; /* 0x2F01047A: jne 0x2f010481 */ 1559 L_2F01047C: 1560 MEM32(esi + 0x4) = edx; /* 0x2F01047C: mov dword ptr [esi + 4], edx */ 1561 goto L_2F010490; /* 0x2F01047F: jmp 0x2f010490 */ 1562 L_2F010481: 1563 esi = MEM32(ecx + 0x4); /* 0x2F010481: mov esi, dword ptr [ecx + 4] */ 1564 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F010484: cmp ecx, dword ptr [esi + 8] */ 1565 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1566 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1567 _flag_k = FK_CMP; 1568 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01048E; /* 0x2F010487: jne 0x2f01048e */ 1569 L_2F010489: 1570 MEM32(esi + 0x8) = edx; /* 0x2F010489: mov dword ptr [esi + 8], edx */ 1571 goto L_2F010490; /* 0x2F01048C: jmp 0x2f010490 */ 1572 L_2F01048E: 1573 MEM32(esi) = edx; /* 0x2F01048E: mov dword ptr [esi], edx */ 1574 L_2F010490: 1575 MEM32(edx + 0x8) = ecx; /* 0x2F010490: mov dword ptr [edx + 8], ecx */ 1576 L_2F010493: 1577 MEM32(ecx + 0x4) = edx; /* 0x2F010493: mov dword ptr [ecx + 4], edx */ 1578 L_2F010496: 1579 esi = MEM32(ebp + (-0x4)); /* 0x2F010496: mov esi, dword ptr [ebp - 4] */ 1580 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010499: mov byte ptr [eax + 0x24], bl */ 1581 ecx = esi + 0xC; /* 0x2F01049C: lea ecx, [esi + 0xc] */ 1582 RECOMP_ICALL(0x2F00FA50u); /* 0x2F01049F: call 0x2f00fa50 */ /* not lifted */ 1583 RECOMP_FLAGS_IN(); 1584 PUSH32(esp, esi); /* 0x2F0104A4: push esi */ 1585 RECOMP_ICALL(0x2F0116B4u); /* 0x2F0104A5: call 0x2f0116b4 */ /* not lifted */ 1586 RECOMP_FLAGS_IN(); 1587 eax = MEM32(edi + 0x10); /* 0x2F0104AA: mov eax, dword ptr [edi + 0x10] */ 1588 edx = MEM32(ebp + 0xC); /* 0x2F0104AD: mov edx, dword ptr [ebp + 0xc] */ 1589 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1590 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1591 esp = esp + 4; /* 0x2F0104B0: add esp, 4 */ 1592 _flag_k = FK_ADD; 1593 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 1594 eax = eax - 1; /* 0x2F0104B3: dec eax */ 1595 _flag_k = FK_DEC; 1596 MEM32(edi + 0x10) = eax; /* 0x2F0104B4: mov dword ptr [edi + 0x10], eax */ 1597 eax = MEM32(ebp + 0x8); /* 0x2F0104B7: mov eax, dword ptr [ebp + 8] */ 1598 edi = POP32_VAL(esp); /* 0x2F0104BA: pop edi */ 1599 esi = POP32_VAL(esp); /* 0x2F0104BB: pop esi */ 1600 MEM32(eax) = edx; /* 0x2F0104BC: mov dword ptr [eax], edx */ 1601 ebx = POP32_VAL(esp); /* 0x2F0104BE: pop ebx */ 1602 esp = ebp; /* 0x2F0104BF: mov esp, ebp */ 1603 ebp = POP32_VAL(esp); /* 0x2F0104C1: pop ebp */ 1604 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2F0104C2: ret 8 */ 1605 RECOMP_REGS_OUT(); 1606 } 1607 1608 void sub_2F01031B(void) { 1609 int _fpu_cmp = 0; 1610 uint32_t _cf = 0; 1611 int _df = 1; 1612 uint32_t _flag_k = FK_NONE; 1613 uint32_t _flag_a = 0, _flag_b = 0; 1614 uint32_t _itail_tgt = 0; 1615 RECOMP_REGS_LOCALS 1616 RECOMP_ENTER(0x2F01031Bu); 1617 1618 goto L_2F01031B; 1619 L_2F010248: 1620 /* cmp MEM8(eax + 0x24), LO8(ebx) */ /* 0x2F010248: cmp byte ptr [eax + 0x24], bl */ 1621 _flag_a = (uint32_t)(MEM8(eax + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1622 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1623 _flag_k = FK_NARROW(FK_CMP, 24); 1624 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010496; /* 0x2F01024B: jne 0x2f010496 */ 1625 L_2F010251: 1626 edx = MEM32(eax + 0x4); /* 0x2F010251: mov edx, dword ptr [eax + 4] */ 1627 ecx = MEM32(edx); /* 0x2F010254: mov ecx, dword ptr [edx] */ 1628 /* cmp eax, ecx */ /* 0x2F010256: cmp eax, ecx */ 1629 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1630 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1631 _flag_k = FK_CMP; 1632 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0102C8; /* 0x2F010258: jne 0x2f0102c8 */ 1633 L_2F01025A: 1634 ecx = MEM32(edx + 0x8); /* 0x2F01025A: mov ecx, dword ptr [edx + 8] */ 1635 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2F01025D: mov dl, byte ptr [ecx + 0x24] */ 1636 /* test LO8(edx), LO8(edx) */ /* 0x2F010260: test dl, dl */ 1637 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 1638 _cf = 0; 1639 _flag_k = FK_NARROW(FK_TEST, 24); 1640 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F0102AF; /* 0x2F010262: jne 0x2f0102af */ 1641 L_2F010264: 1642 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010264: mov byte ptr [ecx + 0x24], bl */ 1643 edx = MEM32(eax + 0x4); /* 0x2F010267: mov edx, dword ptr [eax + 4] */ 1644 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2F01026A: mov byte ptr [edx + 0x24], 0 */ 1645 ecx = MEM32(eax + 0x4); /* 0x2F01026E: mov ecx, dword ptr [eax + 4] */ 1646 edx = MEM32(ecx + 0x8); /* 0x2F010271: mov edx, dword ptr [ecx + 8] */ 1647 esi = MEM32(edx); /* 0x2F010274: mov esi, dword ptr [edx] */ 1648 MEM32(ecx + 0x8) = esi; /* 0x2F010276: mov dword ptr [ecx + 8], esi */ 1649 esi = MEM32(edx); /* 0x2F010279: mov esi, dword ptr [edx] */ 1650 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F01027B: cmp esi, dword ptr [edi + 8] */ 1651 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1652 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1653 _flag_k = FK_CMP; 1654 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010283; /* 0x2F01027E: je 0x2f010283 */ 1655 L_2F010280: 1656 MEM32(esi + 0x4) = ecx; /* 0x2F010280: mov dword ptr [esi + 4], ecx */ 1657 L_2F010283: 1658 esi = MEM32(ecx + 0x4); /* 0x2F010283: mov esi, dword ptr [ecx + 4] */ 1659 MEM32(edx + 0x4) = esi; /* 0x2F010286: mov dword ptr [edx + 4], esi */ 1660 esi = MEM32(edi + 0x4); /* 0x2F010289: mov esi, dword ptr [edi + 4] */ 1661 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F01028C: cmp ecx, dword ptr [esi + 4] */ 1662 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1663 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1664 _flag_k = FK_CMP; 1665 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010296; /* 0x2F01028F: jne 0x2f010296 */ 1666 L_2F010291: 1667 MEM32(esi + 0x4) = edx; /* 0x2F010291: mov dword ptr [esi + 4], edx */ 1668 goto L_2F0102A4; /* 0x2F010294: jmp 0x2f0102a4 */ 1669 L_2F010296: 1670 esi = MEM32(ecx + 0x4); /* 0x2F010296: mov esi, dword ptr [ecx + 4] */ 1671 /* cmp ecx, MEM32(esi) */ /* 0x2F010299: cmp ecx, dword ptr [esi] */ 1672 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 1673 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1674 _flag_k = FK_CMP; 1675 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0102A1; /* 0x2F01029B: jne 0x2f0102a1 */ 1676 L_2F01029D: 1677 MEM32(esi) = edx; /* 0x2F01029D: mov dword ptr [esi], edx */ 1678 goto L_2F0102A4; /* 0x2F01029F: jmp 0x2f0102a4 */ 1679 L_2F0102A1: 1680 MEM32(esi + 0x8) = edx; /* 0x2F0102A1: mov dword ptr [esi + 8], edx */ 1681 L_2F0102A4: 1682 MEM32(edx) = ecx; /* 0x2F0102A4: mov dword ptr [edx], ecx */ 1683 MEM32(ecx + 0x4) = edx; /* 0x2F0102A6: mov dword ptr [ecx + 4], edx */ 1684 ecx = MEM32(eax + 0x4); /* 0x2F0102A9: mov ecx, dword ptr [eax + 4] */ 1685 ecx = MEM32(ecx + 0x8); /* 0x2F0102AC: mov ecx, dword ptr [ecx + 8] */ 1686 L_2F0102AF: 1687 edx = MEM32(ecx); /* 0x2F0102AF: mov edx, dword ptr [ecx] */ 1688 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2F0102B1: cmp byte ptr [edx + 0x24], bl */ 1689 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1690 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1691 _flag_k = FK_NARROW(FK_CMP, 24); 1692 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01034A; /* 0x2F0102B4: jne 0x2f01034a */ 1693 L_2F0102BA: 1694 edx = MEM32(ecx + 0x8); /* 0x2F0102BA: mov edx, dword ptr [ecx + 8] */ 1695 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2F0102BD: cmp byte ptr [edx + 0x24], bl */ 1696 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1697 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1698 _flag_k = FK_NARROW(FK_CMP, 24); 1699 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01034A; /* 0x2F0102C0: jne 0x2f01034a */ 1700 L_2F0102C6: 1701 goto L_2F010332; /* 0x2F0102C6: jmp 0x2f010332 */ 1702 L_2F0102C8: 1703 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2F0102C8: mov dl, byte ptr [ecx + 0x24] */ 1704 /* test LO8(edx), LO8(edx) */ /* 0x2F0102CB: test dl, dl */ 1705 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 1706 _cf = 0; 1707 _flag_k = FK_NARROW(FK_TEST, 24); 1708 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F01031B; /* 0x2F0102CD: jne 0x2f01031b */ 1709 L_2F0102CF: 1710 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F0102CF: mov byte ptr [ecx + 0x24], bl */ 1711 ecx = MEM32(eax + 0x4); /* 0x2F0102D2: mov ecx, dword ptr [eax + 4] */ 1712 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F0102D5: mov byte ptr [ecx + 0x24], 0 */ 1713 ecx = MEM32(eax + 0x4); /* 0x2F0102D9: mov ecx, dword ptr [eax + 4] */ 1714 edx = MEM32(ecx); /* 0x2F0102DC: mov edx, dword ptr [ecx] */ 1715 esi = MEM32(edx + 0x8); /* 0x2F0102DE: mov esi, dword ptr [edx + 8] */ 1716 MEM32(ecx) = esi; /* 0x2F0102E1: mov dword ptr [ecx], esi */ 1717 esi = MEM32(edx + 0x8); /* 0x2F0102E3: mov esi, dword ptr [edx + 8] */ 1718 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F0102E6: cmp esi, dword ptr [edi + 8] */ 1719 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1720 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1721 _flag_k = FK_CMP; 1722 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0102EE; /* 0x2F0102E9: je 0x2f0102ee */ 1723 L_2F0102EB: 1724 MEM32(esi + 0x4) = ecx; /* 0x2F0102EB: mov dword ptr [esi + 4], ecx */ 1725 L_2F0102EE: 1726 esi = MEM32(ecx + 0x4); /* 0x2F0102EE: mov esi, dword ptr [ecx + 4] */ 1727 MEM32(edx + 0x4) = esi; /* 0x2F0102F1: mov dword ptr [edx + 4], esi */ 1728 esi = MEM32(edi + 0x4); /* 0x2F0102F4: mov esi, dword ptr [edi + 4] */ 1729 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F0102F7: cmp ecx, dword ptr [esi + 4] */ 1730 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1731 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1732 _flag_k = FK_CMP; 1733 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010301; /* 0x2F0102FA: jne 0x2f010301 */ 1734 L_2F0102FC: 1735 MEM32(esi + 0x4) = edx; /* 0x2F0102FC: mov dword ptr [esi + 4], edx */ 1736 goto L_2F010310; /* 0x2F0102FF: jmp 0x2f010310 */ 1737 L_2F010301: 1738 esi = MEM32(ecx + 0x4); /* 0x2F010301: mov esi, dword ptr [ecx + 4] */ 1739 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F010304: cmp ecx, dword ptr [esi + 8] */ 1740 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1741 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1742 _flag_k = FK_CMP; 1743 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01030E; /* 0x2F010307: jne 0x2f01030e */ 1744 L_2F010309: 1745 MEM32(esi + 0x8) = edx; /* 0x2F010309: mov dword ptr [esi + 8], edx */ 1746 goto L_2F010310; /* 0x2F01030C: jmp 0x2f010310 */ 1747 L_2F01030E: 1748 MEM32(esi) = edx; /* 0x2F01030E: mov dword ptr [esi], edx */ 1749 L_2F010310: 1750 MEM32(edx + 0x8) = ecx; /* 0x2F010310: mov dword ptr [edx + 8], ecx */ 1751 MEM32(ecx + 0x4) = edx; /* 0x2F010313: mov dword ptr [ecx + 4], edx */ 1752 edx = MEM32(eax + 0x4); /* 0x2F010316: mov edx, dword ptr [eax + 4] */ 1753 ecx = MEM32(edx); /* 0x2F010319: mov ecx, dword ptr [edx] */ 1754 L_2F01031B: 1755 edx = MEM32(ecx + 0x8); /* 0x2F01031B: mov edx, dword ptr [ecx + 8] */ 1756 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2F01031E: cmp byte ptr [edx + 0x24], bl */ 1757 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1758 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1759 _flag_k = FK_NARROW(FK_CMP, 24); 1760 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0103F7; /* 0x2F010321: jne 0x2f0103f7 */ 1761 L_2F010327: 1762 edx = MEM32(ecx); /* 0x2F010327: mov edx, dword ptr [ecx] */ 1763 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2F010329: cmp byte ptr [edx + 0x24], bl */ 1764 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1765 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1766 _flag_k = FK_NARROW(FK_CMP, 24); 1767 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0103F7; /* 0x2F01032C: jne 0x2f0103f7 */ 1768 L_2F010332: 1769 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010332: mov byte ptr [ecx + 0x24], 0 */ 1770 ecx = MEM32(edi + 0x4); /* 0x2F010336: mov ecx, dword ptr [edi + 4] */ 1771 eax = MEM32(eax + 0x4); /* 0x2F010339: mov eax, dword ptr [eax + 4] */ 1772 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F01033C: cmp eax, dword ptr [ecx + 4] */ 1773 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 1774 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1775 _flag_k = FK_CMP; 1776 RECOMP_BACKEDGE(); 1777 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010248; /* 0x2F01033F: jne 0x2f010248 */ 1778 L_2F010345: 1779 goto L_2F010496; /* 0x2F010345: jmp 0x2f010496 */ 1780 L_2F01034A: 1781 edx = MEM32(ecx + 0x8); /* 0x2F01034A: mov edx, dword ptr [ecx + 8] */ 1782 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2F01034D: cmp byte ptr [edx + 0x24], bl */ 1783 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1784 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1785 _flag_k = FK_NARROW(FK_CMP, 24); 1786 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01039B; /* 0x2F010350: jne 0x2f01039b */ 1787 L_2F010352: 1788 edx = MEM32(ecx); /* 0x2F010352: mov edx, dword ptr [ecx] */ 1789 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010354: mov byte ptr [edx + 0x24], bl */ 1790 edx = MEM32(ecx); /* 0x2F010357: mov edx, dword ptr [ecx] */ 1791 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010359: mov byte ptr [ecx + 0x24], 0 */ 1792 esi = MEM32(edx + 0x8); /* 0x2F01035D: mov esi, dword ptr [edx + 8] */ 1793 MEM32(ecx) = esi; /* 0x2F010360: mov dword ptr [ecx], esi */ 1794 esi = MEM32(edx + 0x8); /* 0x2F010362: mov esi, dword ptr [edx + 8] */ 1795 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010365: cmp esi, dword ptr [edi + 8] */ 1796 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1797 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1798 _flag_k = FK_CMP; 1799 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01036D; /* 0x2F010368: je 0x2f01036d */ 1800 L_2F01036A: 1801 MEM32(esi + 0x4) = ecx; /* 0x2F01036A: mov dword ptr [esi + 4], ecx */ 1802 L_2F01036D: 1803 esi = MEM32(ecx + 0x4); /* 0x2F01036D: mov esi, dword ptr [ecx + 4] */ 1804 MEM32(edx + 0x4) = esi; /* 0x2F010370: mov dword ptr [edx + 4], esi */ 1805 esi = MEM32(edi + 0x4); /* 0x2F010373: mov esi, dword ptr [edi + 4] */ 1806 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010376: cmp ecx, dword ptr [esi + 4] */ 1807 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1808 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1809 _flag_k = FK_CMP; 1810 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010380; /* 0x2F010379: jne 0x2f010380 */ 1811 L_2F01037B: 1812 MEM32(esi + 0x4) = edx; /* 0x2F01037B: mov dword ptr [esi + 4], edx */ 1813 goto L_2F01038F; /* 0x2F01037E: jmp 0x2f01038f */ 1814 L_2F010380: 1815 esi = MEM32(ecx + 0x4); /* 0x2F010380: mov esi, dword ptr [ecx + 4] */ 1816 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F010383: cmp ecx, dword ptr [esi + 8] */ 1817 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1818 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1819 _flag_k = FK_CMP; 1820 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01038D; /* 0x2F010386: jne 0x2f01038d */ 1821 L_2F010388: 1822 MEM32(esi + 0x8) = edx; /* 0x2F010388: mov dword ptr [esi + 8], edx */ 1823 goto L_2F01038F; /* 0x2F01038B: jmp 0x2f01038f */ 1824 L_2F01038D: 1825 MEM32(esi) = edx; /* 0x2F01038D: mov dword ptr [esi], edx */ 1826 L_2F01038F: 1827 MEM32(edx + 0x8) = ecx; /* 0x2F01038F: mov dword ptr [edx + 8], ecx */ 1828 MEM32(ecx + 0x4) = edx; /* 0x2F010392: mov dword ptr [ecx + 4], edx */ 1829 ecx = MEM32(eax + 0x4); /* 0x2F010395: mov ecx, dword ptr [eax + 4] */ 1830 ecx = MEM32(ecx + 0x8); /* 0x2F010398: mov ecx, dword ptr [ecx + 8] */ 1831 L_2F01039B: 1832 edx = MEM32(eax + 0x4); /* 0x2F01039B: mov edx, dword ptr [eax + 4] */ 1833 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2F01039E: mov dl, byte ptr [edx + 0x24] */ 1834 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2F0103A1: mov byte ptr [ecx + 0x24], dl */ 1835 edx = MEM32(eax + 0x4); /* 0x2F0103A4: mov edx, dword ptr [eax + 4] */ 1836 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F0103A7: mov byte ptr [edx + 0x24], bl */ 1837 ecx = MEM32(ecx + 0x8); /* 0x2F0103AA: mov ecx, dword ptr [ecx + 8] */ 1838 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F0103AD: mov byte ptr [ecx + 0x24], bl */ 1839 ecx = MEM32(eax + 0x4); /* 0x2F0103B0: mov ecx, dword ptr [eax + 4] */ 1840 edx = MEM32(ecx + 0x8); /* 0x2F0103B3: mov edx, dword ptr [ecx + 8] */ 1841 esi = MEM32(edx); /* 0x2F0103B6: mov esi, dword ptr [edx] */ 1842 MEM32(ecx + 0x8) = esi; /* 0x2F0103B8: mov dword ptr [ecx + 8], esi */ 1843 esi = MEM32(edx); /* 0x2F0103BB: mov esi, dword ptr [edx] */ 1844 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F0103BD: cmp esi, dword ptr [edi + 8] */ 1845 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1846 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1847 _flag_k = FK_CMP; 1848 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0103C5; /* 0x2F0103C0: je 0x2f0103c5 */ 1849 L_2F0103C2: 1850 MEM32(esi + 0x4) = ecx; /* 0x2F0103C2: mov dword ptr [esi + 4], ecx */ 1851 L_2F0103C5: 1852 esi = MEM32(ecx + 0x4); /* 0x2F0103C5: mov esi, dword ptr [ecx + 4] */ 1853 MEM32(edx + 0x4) = esi; /* 0x2F0103C8: mov dword ptr [edx + 4], esi */ 1854 esi = MEM32(edi + 0x4); /* 0x2F0103CB: mov esi, dword ptr [edi + 4] */ 1855 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F0103CE: cmp ecx, dword ptr [esi + 4] */ 1856 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1857 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1858 _flag_k = FK_CMP; 1859 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0103DD; /* 0x2F0103D1: jne 0x2f0103dd */ 1860 L_2F0103D3: 1861 MEM32(esi + 0x4) = edx; /* 0x2F0103D3: mov dword ptr [esi + 4], edx */ 1862 MEM32(edx) = ecx; /* 0x2F0103D6: mov dword ptr [edx], ecx */ 1863 goto L_2F010493; /* 0x2F0103D8: jmp 0x2f010493 */ 1864 L_2F0103DD: 1865 esi = MEM32(ecx + 0x4); /* 0x2F0103DD: mov esi, dword ptr [ecx + 4] */ 1866 /* cmp ecx, MEM32(esi) */ /* 0x2F0103E0: cmp ecx, dword ptr [esi] */ 1867 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 1868 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1869 _flag_k = FK_CMP; 1870 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0103ED; /* 0x2F0103E2: jne 0x2f0103ed */ 1871 L_2F0103E4: 1872 MEM32(esi) = edx; /* 0x2F0103E4: mov dword ptr [esi], edx */ 1873 MEM32(edx) = ecx; /* 0x2F0103E6: mov dword ptr [edx], ecx */ 1874 goto L_2F010493; /* 0x2F0103E8: jmp 0x2f010493 */ 1875 L_2F0103ED: 1876 MEM32(esi + 0x8) = edx; /* 0x2F0103ED: mov dword ptr [esi + 8], edx */ 1877 MEM32(edx) = ecx; /* 0x2F0103F0: mov dword ptr [edx], ecx */ 1878 goto L_2F010493; /* 0x2F0103F2: jmp 0x2f010493 */ 1879 L_2F0103F7: 1880 edx = MEM32(ecx); /* 0x2F0103F7: mov edx, dword ptr [ecx] */ 1881 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2F0103F9: cmp byte ptr [edx + 0x24], bl */ 1882 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1883 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1884 _flag_k = FK_NARROW(FK_CMP, 24); 1885 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010445; /* 0x2F0103FC: jne 0x2f010445 */ 1886 L_2F0103FE: 1887 edx = MEM32(ecx + 0x8); /* 0x2F0103FE: mov edx, dword ptr [ecx + 8] */ 1888 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010401: mov byte ptr [edx + 0x24], bl */ 1889 edx = MEM32(ecx + 0x8); /* 0x2F010404: mov edx, dword ptr [ecx + 8] */ 1890 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010407: mov byte ptr [ecx + 0x24], 0 */ 1891 esi = MEM32(edx); /* 0x2F01040B: mov esi, dword ptr [edx] */ 1892 MEM32(ecx + 0x8) = esi; /* 0x2F01040D: mov dword ptr [ecx + 8], esi */ 1893 esi = MEM32(edx); /* 0x2F010410: mov esi, dword ptr [edx] */ 1894 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010412: cmp esi, dword ptr [edi + 8] */ 1895 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1896 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1897 _flag_k = FK_CMP; 1898 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01041A; /* 0x2F010415: je 0x2f01041a */ 1899 L_2F010417: 1900 MEM32(esi + 0x4) = ecx; /* 0x2F010417: mov dword ptr [esi + 4], ecx */ 1901 L_2F01041A: 1902 esi = MEM32(ecx + 0x4); /* 0x2F01041A: mov esi, dword ptr [ecx + 4] */ 1903 MEM32(edx + 0x4) = esi; /* 0x2F01041D: mov dword ptr [edx + 4], esi */ 1904 esi = MEM32(edi + 0x4); /* 0x2F010420: mov esi, dword ptr [edi + 4] */ 1905 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010423: cmp ecx, dword ptr [esi + 4] */ 1906 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1907 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1908 _flag_k = FK_CMP; 1909 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01042D; /* 0x2F010426: jne 0x2f01042d */ 1910 L_2F010428: 1911 MEM32(esi + 0x4) = edx; /* 0x2F010428: mov dword ptr [esi + 4], edx */ 1912 goto L_2F01043B; /* 0x2F01042B: jmp 0x2f01043b */ 1913 L_2F01042D: 1914 esi = MEM32(ecx + 0x4); /* 0x2F01042D: mov esi, dword ptr [ecx + 4] */ 1915 /* cmp ecx, MEM32(esi) */ /* 0x2F010430: cmp ecx, dword ptr [esi] */ 1916 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 1917 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1918 _flag_k = FK_CMP; 1919 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010438; /* 0x2F010432: jne 0x2f010438 */ 1920 L_2F010434: 1921 MEM32(esi) = edx; /* 0x2F010434: mov dword ptr [esi], edx */ 1922 goto L_2F01043B; /* 0x2F010436: jmp 0x2f01043b */ 1923 L_2F010438: 1924 MEM32(esi + 0x8) = edx; /* 0x2F010438: mov dword ptr [esi + 8], edx */ 1925 L_2F01043B: 1926 MEM32(edx) = ecx; /* 0x2F01043B: mov dword ptr [edx], ecx */ 1927 MEM32(ecx + 0x4) = edx; /* 0x2F01043D: mov dword ptr [ecx + 4], edx */ 1928 ecx = MEM32(eax + 0x4); /* 0x2F010440: mov ecx, dword ptr [eax + 4] */ 1929 ecx = MEM32(ecx); /* 0x2F010443: mov ecx, dword ptr [ecx] */ 1930 L_2F010445: 1931 edx = MEM32(eax + 0x4); /* 0x2F010445: mov edx, dword ptr [eax + 4] */ 1932 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2F010448: mov dl, byte ptr [edx + 0x24] */ 1933 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2F01044B: mov byte ptr [ecx + 0x24], dl */ 1934 edx = MEM32(eax + 0x4); /* 0x2F01044E: mov edx, dword ptr [eax + 4] */ 1935 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010451: mov byte ptr [edx + 0x24], bl */ 1936 ecx = MEM32(ecx); /* 0x2F010454: mov ecx, dword ptr [ecx] */ 1937 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010456: mov byte ptr [ecx + 0x24], bl */ 1938 ecx = MEM32(eax + 0x4); /* 0x2F010459: mov ecx, dword ptr [eax + 4] */ 1939 edx = MEM32(ecx); /* 0x2F01045C: mov edx, dword ptr [ecx] */ 1940 esi = MEM32(edx + 0x8); /* 0x2F01045E: mov esi, dword ptr [edx + 8] */ 1941 MEM32(ecx) = esi; /* 0x2F010461: mov dword ptr [ecx], esi */ 1942 esi = MEM32(edx + 0x8); /* 0x2F010463: mov esi, dword ptr [edx + 8] */ 1943 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010466: cmp esi, dword ptr [edi + 8] */ 1944 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1945 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1946 _flag_k = FK_CMP; 1947 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01046E; /* 0x2F010469: je 0x2f01046e */ 1948 L_2F01046B: 1949 MEM32(esi + 0x4) = ecx; /* 0x2F01046B: mov dword ptr [esi + 4], ecx */ 1950 L_2F01046E: 1951 esi = MEM32(ecx + 0x4); /* 0x2F01046E: mov esi, dword ptr [ecx + 4] */ 1952 MEM32(edx + 0x4) = esi; /* 0x2F010471: mov dword ptr [edx + 4], esi */ 1953 esi = MEM32(edi + 0x4); /* 0x2F010474: mov esi, dword ptr [edi + 4] */ 1954 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010477: cmp ecx, dword ptr [esi + 4] */ 1955 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1956 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1957 _flag_k = FK_CMP; 1958 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010481; /* 0x2F01047A: jne 0x2f010481 */ 1959 L_2F01047C: 1960 MEM32(esi + 0x4) = edx; /* 0x2F01047C: mov dword ptr [esi + 4], edx */ 1961 goto L_2F010490; /* 0x2F01047F: jmp 0x2f010490 */ 1962 L_2F010481: 1963 esi = MEM32(ecx + 0x4); /* 0x2F010481: mov esi, dword ptr [ecx + 4] */ 1964 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F010484: cmp ecx, dword ptr [esi + 8] */ 1965 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1966 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1967 _flag_k = FK_CMP; 1968 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01048E; /* 0x2F010487: jne 0x2f01048e */ 1969 L_2F010489: 1970 MEM32(esi + 0x8) = edx; /* 0x2F010489: mov dword ptr [esi + 8], edx */ 1971 goto L_2F010490; /* 0x2F01048C: jmp 0x2f010490 */ 1972 L_2F01048E: 1973 MEM32(esi) = edx; /* 0x2F01048E: mov dword ptr [esi], edx */ 1974 L_2F010490: 1975 MEM32(edx + 0x8) = ecx; /* 0x2F010490: mov dword ptr [edx + 8], ecx */ 1976 L_2F010493: 1977 MEM32(ecx + 0x4) = edx; /* 0x2F010493: mov dword ptr [ecx + 4], edx */ 1978 L_2F010496: 1979 esi = MEM32(ebp + (-0x4)); /* 0x2F010496: mov esi, dword ptr [ebp - 4] */ 1980 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010499: mov byte ptr [eax + 0x24], bl */ 1981 ecx = esi + 0xC; /* 0x2F01049C: lea ecx, [esi + 0xc] */ 1982 RECOMP_ICALL(0x2F00FA50u); /* 0x2F01049F: call 0x2f00fa50 */ /* not lifted */ 1983 RECOMP_FLAGS_IN(); 1984 PUSH32(esp, esi); /* 0x2F0104A4: push esi */ 1985 RECOMP_ICALL(0x2F0116B4u); /* 0x2F0104A5: call 0x2f0116b4 */ /* not lifted */ 1986 RECOMP_FLAGS_IN(); 1987 eax = MEM32(edi + 0x10); /* 0x2F0104AA: mov eax, dword ptr [edi + 0x10] */ 1988 edx = MEM32(ebp + 0xC); /* 0x2F0104AD: mov edx, dword ptr [ebp + 0xc] */ 1989 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1990 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1991 esp = esp + 4; /* 0x2F0104B0: add esp, 4 */ 1992 _flag_k = FK_ADD; 1993 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 1994 eax = eax - 1; /* 0x2F0104B3: dec eax */ 1995 _flag_k = FK_DEC; 1996 MEM32(edi + 0x10) = eax; /* 0x2F0104B4: mov dword ptr [edi + 0x10], eax */ 1997 eax = MEM32(ebp + 0x8); /* 0x2F0104B7: mov eax, dword ptr [ebp + 8] */ 1998 edi = POP32_VAL(esp); /* 0x2F0104BA: pop edi */ 1999 esi = POP32_VAL(esp); /* 0x2F0104BB: pop esi */ 2000 MEM32(eax) = edx; /* 0x2F0104BC: mov dword ptr [eax], edx */ 2001 ebx = POP32_VAL(esp); /* 0x2F0104BE: pop ebx */ 2002 esp = ebp; /* 0x2F0104BF: mov esp, ebp */ 2003 ebp = POP32_VAL(esp); /* 0x2F0104C1: pop ebp */ 2004 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2F0104C2: ret 8 */ 2005 RECOMP_REGS_OUT(); 2006 } 2007 2008 void sub_2F010332(void) { 2009 int _fpu_cmp = 0; 2010 uint32_t _cf = 0; 2011 int _df = 1; 2012 uint32_t _flag_k = FK_NONE; 2013 uint32_t _flag_a = 0, _flag_b = 0; 2014 uint32_t _itail_tgt = 0; 2015 RECOMP_REGS_LOCALS 2016 RECOMP_ENTER(0x2F010332u); 2017 2018 goto L_2F010332; 2019 L_2F010248: 2020 /* cmp MEM8(eax + 0x24), LO8(ebx) */ /* 0x2F010248: cmp byte ptr [eax + 0x24], bl */ 2021 _flag_a = (uint32_t)(MEM8(eax + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2022 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2023 _flag_k = FK_NARROW(FK_CMP, 24); 2024 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010496; /* 0x2F01024B: jne 0x2f010496 */ 2025 L_2F010251: 2026 edx = MEM32(eax + 0x4); /* 0x2F010251: mov edx, dword ptr [eax + 4] */ 2027 ecx = MEM32(edx); /* 0x2F010254: mov ecx, dword ptr [edx] */ 2028 /* cmp eax, ecx */ /* 0x2F010256: cmp eax, ecx */ 2029 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2030 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2031 _flag_k = FK_CMP; 2032 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0102C8; /* 0x2F010258: jne 0x2f0102c8 */ 2033 L_2F01025A: 2034 ecx = MEM32(edx + 0x8); /* 0x2F01025A: mov ecx, dword ptr [edx + 8] */ 2035 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2F01025D: mov dl, byte ptr [ecx + 0x24] */ 2036 /* test LO8(edx), LO8(edx) */ /* 0x2F010260: test dl, dl */ 2037 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 2038 _cf = 0; 2039 _flag_k = FK_NARROW(FK_TEST, 24); 2040 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F0102AF; /* 0x2F010262: jne 0x2f0102af */ 2041 L_2F010264: 2042 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010264: mov byte ptr [ecx + 0x24], bl */ 2043 edx = MEM32(eax + 0x4); /* 0x2F010267: mov edx, dword ptr [eax + 4] */ 2044 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2F01026A: mov byte ptr [edx + 0x24], 0 */ 2045 ecx = MEM32(eax + 0x4); /* 0x2F01026E: mov ecx, dword ptr [eax + 4] */ 2046 edx = MEM32(ecx + 0x8); /* 0x2F010271: mov edx, dword ptr [ecx + 8] */ 2047 esi = MEM32(edx); /* 0x2F010274: mov esi, dword ptr [edx] */ 2048 MEM32(ecx + 0x8) = esi; /* 0x2F010276: mov dword ptr [ecx + 8], esi */ 2049 esi = MEM32(edx); /* 0x2F010279: mov esi, dword ptr [edx] */ 2050 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F01027B: cmp esi, dword ptr [edi + 8] */ 2051 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2052 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2053 _flag_k = FK_CMP; 2054 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010283; /* 0x2F01027E: je 0x2f010283 */ 2055 L_2F010280: 2056 MEM32(esi + 0x4) = ecx; /* 0x2F010280: mov dword ptr [esi + 4], ecx */ 2057 L_2F010283: 2058 esi = MEM32(ecx + 0x4); /* 0x2F010283: mov esi, dword ptr [ecx + 4] */ 2059 MEM32(edx + 0x4) = esi; /* 0x2F010286: mov dword ptr [edx + 4], esi */ 2060 esi = MEM32(edi + 0x4); /* 0x2F010289: mov esi, dword ptr [edi + 4] */ 2061 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F01028C: cmp ecx, dword ptr [esi + 4] */ 2062 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2063 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2064 _flag_k = FK_CMP; 2065 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010296; /* 0x2F01028F: jne 0x2f010296 */ 2066 L_2F010291: 2067 MEM32(esi + 0x4) = edx; /* 0x2F010291: mov dword ptr [esi + 4], edx */ 2068 goto L_2F0102A4; /* 0x2F010294: jmp 0x2f0102a4 */ 2069 L_2F010296: 2070 esi = MEM32(ecx + 0x4); /* 0x2F010296: mov esi, dword ptr [ecx + 4] */ 2071 /* cmp ecx, MEM32(esi) */ /* 0x2F010299: cmp ecx, dword ptr [esi] */ 2072 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 2073 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2074 _flag_k = FK_CMP; 2075 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0102A1; /* 0x2F01029B: jne 0x2f0102a1 */ 2076 L_2F01029D: 2077 MEM32(esi) = edx; /* 0x2F01029D: mov dword ptr [esi], edx */ 2078 goto L_2F0102A4; /* 0x2F01029F: jmp 0x2f0102a4 */ 2079 L_2F0102A1: 2080 MEM32(esi + 0x8) = edx; /* 0x2F0102A1: mov dword ptr [esi + 8], edx */ 2081 L_2F0102A4: 2082 MEM32(edx) = ecx; /* 0x2F0102A4: mov dword ptr [edx], ecx */ 2083 MEM32(ecx + 0x4) = edx; /* 0x2F0102A6: mov dword ptr [ecx + 4], edx */ 2084 ecx = MEM32(eax + 0x4); /* 0x2F0102A9: mov ecx, dword ptr [eax + 4] */ 2085 ecx = MEM32(ecx + 0x8); /* 0x2F0102AC: mov ecx, dword ptr [ecx + 8] */ 2086 L_2F0102AF: 2087 edx = MEM32(ecx); /* 0x2F0102AF: mov edx, dword ptr [ecx] */ 2088 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2F0102B1: cmp byte ptr [edx + 0x24], bl */ 2089 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2090 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2091 _flag_k = FK_NARROW(FK_CMP, 24); 2092 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01034A; /* 0x2F0102B4: jne 0x2f01034a */ 2093 L_2F0102BA: 2094 edx = MEM32(ecx + 0x8); /* 0x2F0102BA: mov edx, dword ptr [ecx + 8] */ 2095 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2F0102BD: cmp byte ptr [edx + 0x24], bl */ 2096 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2097 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2098 _flag_k = FK_NARROW(FK_CMP, 24); 2099 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01034A; /* 0x2F0102C0: jne 0x2f01034a */ 2100 L_2F0102C6: 2101 goto L_2F010332; /* 0x2F0102C6: jmp 0x2f010332 */ 2102 L_2F0102C8: 2103 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2F0102C8: mov dl, byte ptr [ecx + 0x24] */ 2104 /* test LO8(edx), LO8(edx) */ /* 0x2F0102CB: test dl, dl */ 2105 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 2106 _cf = 0; 2107 _flag_k = FK_NARROW(FK_TEST, 24); 2108 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F01031B; /* 0x2F0102CD: jne 0x2f01031b */ 2109 L_2F0102CF: 2110 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F0102CF: mov byte ptr [ecx + 0x24], bl */ 2111 ecx = MEM32(eax + 0x4); /* 0x2F0102D2: mov ecx, dword ptr [eax + 4] */ 2112 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F0102D5: mov byte ptr [ecx + 0x24], 0 */ 2113 ecx = MEM32(eax + 0x4); /* 0x2F0102D9: mov ecx, dword ptr [eax + 4] */ 2114 edx = MEM32(ecx); /* 0x2F0102DC: mov edx, dword ptr [ecx] */ 2115 esi = MEM32(edx + 0x8); /* 0x2F0102DE: mov esi, dword ptr [edx + 8] */ 2116 MEM32(ecx) = esi; /* 0x2F0102E1: mov dword ptr [ecx], esi */ 2117 esi = MEM32(edx + 0x8); /* 0x2F0102E3: mov esi, dword ptr [edx + 8] */ 2118 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F0102E6: cmp esi, dword ptr [edi + 8] */ 2119 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2120 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2121 _flag_k = FK_CMP; 2122 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0102EE; /* 0x2F0102E9: je 0x2f0102ee */ 2123 L_2F0102EB: 2124 MEM32(esi + 0x4) = ecx; /* 0x2F0102EB: mov dword ptr [esi + 4], ecx */ 2125 L_2F0102EE: 2126 esi = MEM32(ecx + 0x4); /* 0x2F0102EE: mov esi, dword ptr [ecx + 4] */ 2127 MEM32(edx + 0x4) = esi; /* 0x2F0102F1: mov dword ptr [edx + 4], esi */ 2128 esi = MEM32(edi + 0x4); /* 0x2F0102F4: mov esi, dword ptr [edi + 4] */ 2129 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F0102F7: cmp ecx, dword ptr [esi + 4] */ 2130 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2131 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2132 _flag_k = FK_CMP; 2133 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010301; /* 0x2F0102FA: jne 0x2f010301 */ 2134 L_2F0102FC: 2135 MEM32(esi + 0x4) = edx; /* 0x2F0102FC: mov dword ptr [esi + 4], edx */ 2136 goto L_2F010310; /* 0x2F0102FF: jmp 0x2f010310 */ 2137 L_2F010301: 2138 esi = MEM32(ecx + 0x4); /* 0x2F010301: mov esi, dword ptr [ecx + 4] */ 2139 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F010304: cmp ecx, dword ptr [esi + 8] */ 2140 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2141 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2142 _flag_k = FK_CMP; 2143 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01030E; /* 0x2F010307: jne 0x2f01030e */ 2144 L_2F010309: 2145 MEM32(esi + 0x8) = edx; /* 0x2F010309: mov dword ptr [esi + 8], edx */ 2146 goto L_2F010310; /* 0x2F01030C: jmp 0x2f010310 */ 2147 L_2F01030E: 2148 MEM32(esi) = edx; /* 0x2F01030E: mov dword ptr [esi], edx */ 2149 L_2F010310: 2150 MEM32(edx + 0x8) = ecx; /* 0x2F010310: mov dword ptr [edx + 8], ecx */ 2151 MEM32(ecx + 0x4) = edx; /* 0x2F010313: mov dword ptr [ecx + 4], edx */ 2152 edx = MEM32(eax + 0x4); /* 0x2F010316: mov edx, dword ptr [eax + 4] */ 2153 ecx = MEM32(edx); /* 0x2F010319: mov ecx, dword ptr [edx] */ 2154 L_2F01031B: 2155 edx = MEM32(ecx + 0x8); /* 0x2F01031B: mov edx, dword ptr [ecx + 8] */ 2156 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2F01031E: cmp byte ptr [edx + 0x24], bl */ 2157 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2158 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2159 _flag_k = FK_NARROW(FK_CMP, 24); 2160 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0103F7; /* 0x2F010321: jne 0x2f0103f7 */ 2161 L_2F010327: 2162 edx = MEM32(ecx); /* 0x2F010327: mov edx, dword ptr [ecx] */ 2163 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2F010329: cmp byte ptr [edx + 0x24], bl */ 2164 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2165 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2166 _flag_k = FK_NARROW(FK_CMP, 24); 2167 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0103F7; /* 0x2F01032C: jne 0x2f0103f7 */ 2168 L_2F010332: 2169 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010332: mov byte ptr [ecx + 0x24], 0 */ 2170 ecx = MEM32(edi + 0x4); /* 0x2F010336: mov ecx, dword ptr [edi + 4] */ 2171 eax = MEM32(eax + 0x4); /* 0x2F010339: mov eax, dword ptr [eax + 4] */ 2172 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F01033C: cmp eax, dword ptr [ecx + 4] */ 2173 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 2174 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2175 _flag_k = FK_CMP; 2176 RECOMP_BACKEDGE(); 2177 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010248; /* 0x2F01033F: jne 0x2f010248 */ 2178 L_2F010345: 2179 goto L_2F010496; /* 0x2F010345: jmp 0x2f010496 */ 2180 L_2F01034A: 2181 edx = MEM32(ecx + 0x8); /* 0x2F01034A: mov edx, dword ptr [ecx + 8] */ 2182 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2F01034D: cmp byte ptr [edx + 0x24], bl */ 2183 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2184 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2185 _flag_k = FK_NARROW(FK_CMP, 24); 2186 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01039B; /* 0x2F010350: jne 0x2f01039b */ 2187 L_2F010352: 2188 edx = MEM32(ecx); /* 0x2F010352: mov edx, dword ptr [ecx] */ 2189 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010354: mov byte ptr [edx + 0x24], bl */ 2190 edx = MEM32(ecx); /* 0x2F010357: mov edx, dword ptr [ecx] */ 2191 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010359: mov byte ptr [ecx + 0x24], 0 */ 2192 esi = MEM32(edx + 0x8); /* 0x2F01035D: mov esi, dword ptr [edx + 8] */ 2193 MEM32(ecx) = esi; /* 0x2F010360: mov dword ptr [ecx], esi */ 2194 esi = MEM32(edx + 0x8); /* 0x2F010362: mov esi, dword ptr [edx + 8] */ 2195 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010365: cmp esi, dword ptr [edi + 8] */ 2196 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2197 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2198 _flag_k = FK_CMP; 2199 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01036D; /* 0x2F010368: je 0x2f01036d */ 2200 L_2F01036A: 2201 MEM32(esi + 0x4) = ecx; /* 0x2F01036A: mov dword ptr [esi + 4], ecx */ 2202 L_2F01036D: 2203 esi = MEM32(ecx + 0x4); /* 0x2F01036D: mov esi, dword ptr [ecx + 4] */ 2204 MEM32(edx + 0x4) = esi; /* 0x2F010370: mov dword ptr [edx + 4], esi */ 2205 esi = MEM32(edi + 0x4); /* 0x2F010373: mov esi, dword ptr [edi + 4] */ 2206 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010376: cmp ecx, dword ptr [esi + 4] */ 2207 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2208 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2209 _flag_k = FK_CMP; 2210 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010380; /* 0x2F010379: jne 0x2f010380 */ 2211 L_2F01037B: 2212 MEM32(esi + 0x4) = edx; /* 0x2F01037B: mov dword ptr [esi + 4], edx */ 2213 goto L_2F01038F; /* 0x2F01037E: jmp 0x2f01038f */ 2214 L_2F010380: 2215 esi = MEM32(ecx + 0x4); /* 0x2F010380: mov esi, dword ptr [ecx + 4] */ 2216 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F010383: cmp ecx, dword ptr [esi + 8] */ 2217 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2218 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2219 _flag_k = FK_CMP; 2220 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01038D; /* 0x2F010386: jne 0x2f01038d */ 2221 L_2F010388: 2222 MEM32(esi + 0x8) = edx; /* 0x2F010388: mov dword ptr [esi + 8], edx */ 2223 goto L_2F01038F; /* 0x2F01038B: jmp 0x2f01038f */ 2224 L_2F01038D: 2225 MEM32(esi) = edx; /* 0x2F01038D: mov dword ptr [esi], edx */ 2226 L_2F01038F: 2227 MEM32(edx + 0x8) = ecx; /* 0x2F01038F: mov dword ptr [edx + 8], ecx */ 2228 MEM32(ecx + 0x4) = edx; /* 0x2F010392: mov dword ptr [ecx + 4], edx */ 2229 ecx = MEM32(eax + 0x4); /* 0x2F010395: mov ecx, dword ptr [eax + 4] */ 2230 ecx = MEM32(ecx + 0x8); /* 0x2F010398: mov ecx, dword ptr [ecx + 8] */ 2231 L_2F01039B: 2232 edx = MEM32(eax + 0x4); /* 0x2F01039B: mov edx, dword ptr [eax + 4] */ 2233 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2F01039E: mov dl, byte ptr [edx + 0x24] */ 2234 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2F0103A1: mov byte ptr [ecx + 0x24], dl */ 2235 edx = MEM32(eax + 0x4); /* 0x2F0103A4: mov edx, dword ptr [eax + 4] */ 2236 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F0103A7: mov byte ptr [edx + 0x24], bl */ 2237 ecx = MEM32(ecx + 0x8); /* 0x2F0103AA: mov ecx, dword ptr [ecx + 8] */ 2238 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F0103AD: mov byte ptr [ecx + 0x24], bl */ 2239 ecx = MEM32(eax + 0x4); /* 0x2F0103B0: mov ecx, dword ptr [eax + 4] */ 2240 edx = MEM32(ecx + 0x8); /* 0x2F0103B3: mov edx, dword ptr [ecx + 8] */ 2241 esi = MEM32(edx); /* 0x2F0103B6: mov esi, dword ptr [edx] */ 2242 MEM32(ecx + 0x8) = esi; /* 0x2F0103B8: mov dword ptr [ecx + 8], esi */ 2243 esi = MEM32(edx); /* 0x2F0103BB: mov esi, dword ptr [edx] */ 2244 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F0103BD: cmp esi, dword ptr [edi + 8] */ 2245 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2246 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2247 _flag_k = FK_CMP; 2248 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0103C5; /* 0x2F0103C0: je 0x2f0103c5 */ 2249 L_2F0103C2: 2250 MEM32(esi + 0x4) = ecx; /* 0x2F0103C2: mov dword ptr [esi + 4], ecx */ 2251 L_2F0103C5: 2252 esi = MEM32(ecx + 0x4); /* 0x2F0103C5: mov esi, dword ptr [ecx + 4] */ 2253 MEM32(edx + 0x4) = esi; /* 0x2F0103C8: mov dword ptr [edx + 4], esi */ 2254 esi = MEM32(edi + 0x4); /* 0x2F0103CB: mov esi, dword ptr [edi + 4] */ 2255 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F0103CE: cmp ecx, dword ptr [esi + 4] */ 2256 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2257 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2258 _flag_k = FK_CMP; 2259 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0103DD; /* 0x2F0103D1: jne 0x2f0103dd */ 2260 L_2F0103D3: 2261 MEM32(esi + 0x4) = edx; /* 0x2F0103D3: mov dword ptr [esi + 4], edx */ 2262 MEM32(edx) = ecx; /* 0x2F0103D6: mov dword ptr [edx], ecx */ 2263 goto L_2F010493; /* 0x2F0103D8: jmp 0x2f010493 */ 2264 L_2F0103DD: 2265 esi = MEM32(ecx + 0x4); /* 0x2F0103DD: mov esi, dword ptr [ecx + 4] */ 2266 /* cmp ecx, MEM32(esi) */ /* 0x2F0103E0: cmp ecx, dword ptr [esi] */ 2267 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 2268 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2269 _flag_k = FK_CMP; 2270 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0103ED; /* 0x2F0103E2: jne 0x2f0103ed */ 2271 L_2F0103E4: 2272 MEM32(esi) = edx; /* 0x2F0103E4: mov dword ptr [esi], edx */ 2273 MEM32(edx) = ecx; /* 0x2F0103E6: mov dword ptr [edx], ecx */ 2274 goto L_2F010493; /* 0x2F0103E8: jmp 0x2f010493 */ 2275 L_2F0103ED: 2276 MEM32(esi + 0x8) = edx; /* 0x2F0103ED: mov dword ptr [esi + 8], edx */ 2277 MEM32(edx) = ecx; /* 0x2F0103F0: mov dword ptr [edx], ecx */ 2278 goto L_2F010493; /* 0x2F0103F2: jmp 0x2f010493 */ 2279 L_2F0103F7: 2280 edx = MEM32(ecx); /* 0x2F0103F7: mov edx, dword ptr [ecx] */ 2281 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2F0103F9: cmp byte ptr [edx + 0x24], bl */ 2282 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2283 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2284 _flag_k = FK_NARROW(FK_CMP, 24); 2285 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010445; /* 0x2F0103FC: jne 0x2f010445 */ 2286 L_2F0103FE: 2287 edx = MEM32(ecx + 0x8); /* 0x2F0103FE: mov edx, dword ptr [ecx + 8] */ 2288 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010401: mov byte ptr [edx + 0x24], bl */ 2289 edx = MEM32(ecx + 0x8); /* 0x2F010404: mov edx, dword ptr [ecx + 8] */ 2290 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010407: mov byte ptr [ecx + 0x24], 0 */ 2291 esi = MEM32(edx); /* 0x2F01040B: mov esi, dword ptr [edx] */ 2292 MEM32(ecx + 0x8) = esi; /* 0x2F01040D: mov dword ptr [ecx + 8], esi */ 2293 esi = MEM32(edx); /* 0x2F010410: mov esi, dword ptr [edx] */ 2294 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010412: cmp esi, dword ptr [edi + 8] */ 2295 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2296 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2297 _flag_k = FK_CMP; 2298 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01041A; /* 0x2F010415: je 0x2f01041a */ 2299 L_2F010417: 2300 MEM32(esi + 0x4) = ecx; /* 0x2F010417: mov dword ptr [esi + 4], ecx */ 2301 L_2F01041A: 2302 esi = MEM32(ecx + 0x4); /* 0x2F01041A: mov esi, dword ptr [ecx + 4] */ 2303 MEM32(edx + 0x4) = esi; /* 0x2F01041D: mov dword ptr [edx + 4], esi */ 2304 esi = MEM32(edi + 0x4); /* 0x2F010420: mov esi, dword ptr [edi + 4] */ 2305 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010423: cmp ecx, dword ptr [esi + 4] */ 2306 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2307 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2308 _flag_k = FK_CMP; 2309 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01042D; /* 0x2F010426: jne 0x2f01042d */ 2310 L_2F010428: 2311 MEM32(esi + 0x4) = edx; /* 0x2F010428: mov dword ptr [esi + 4], edx */ 2312 goto L_2F01043B; /* 0x2F01042B: jmp 0x2f01043b */ 2313 L_2F01042D: 2314 esi = MEM32(ecx + 0x4); /* 0x2F01042D: mov esi, dword ptr [ecx + 4] */ 2315 /* cmp ecx, MEM32(esi) */ /* 0x2F010430: cmp ecx, dword ptr [esi] */ 2316 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 2317 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2318 _flag_k = FK_CMP; 2319 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010438; /* 0x2F010432: jne 0x2f010438 */ 2320 L_2F010434: 2321 MEM32(esi) = edx; /* 0x2F010434: mov dword ptr [esi], edx */ 2322 goto L_2F01043B; /* 0x2F010436: jmp 0x2f01043b */ 2323 L_2F010438: 2324 MEM32(esi + 0x8) = edx; /* 0x2F010438: mov dword ptr [esi + 8], edx */ 2325 L_2F01043B: 2326 MEM32(edx) = ecx; /* 0x2F01043B: mov dword ptr [edx], ecx */ 2327 MEM32(ecx + 0x4) = edx; /* 0x2F01043D: mov dword ptr [ecx + 4], edx */ 2328 ecx = MEM32(eax + 0x4); /* 0x2F010440: mov ecx, dword ptr [eax + 4] */ 2329 ecx = MEM32(ecx); /* 0x2F010443: mov ecx, dword ptr [ecx] */ 2330 L_2F010445: 2331 edx = MEM32(eax + 0x4); /* 0x2F010445: mov edx, dword ptr [eax + 4] */ 2332 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2F010448: mov dl, byte ptr [edx + 0x24] */ 2333 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2F01044B: mov byte ptr [ecx + 0x24], dl */ 2334 edx = MEM32(eax + 0x4); /* 0x2F01044E: mov edx, dword ptr [eax + 4] */ 2335 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010451: mov byte ptr [edx + 0x24], bl */ 2336 ecx = MEM32(ecx); /* 0x2F010454: mov ecx, dword ptr [ecx] */ 2337 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010456: mov byte ptr [ecx + 0x24], bl */ 2338 ecx = MEM32(eax + 0x4); /* 0x2F010459: mov ecx, dword ptr [eax + 4] */ 2339 edx = MEM32(ecx); /* 0x2F01045C: mov edx, dword ptr [ecx] */ 2340 esi = MEM32(edx + 0x8); /* 0x2F01045E: mov esi, dword ptr [edx + 8] */ 2341 MEM32(ecx) = esi; /* 0x2F010461: mov dword ptr [ecx], esi */ 2342 esi = MEM32(edx + 0x8); /* 0x2F010463: mov esi, dword ptr [edx + 8] */ 2343 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010466: cmp esi, dword ptr [edi + 8] */ 2344 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2345 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2346 _flag_k = FK_CMP; 2347 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01046E; /* 0x2F010469: je 0x2f01046e */ 2348 L_2F01046B: 2349 MEM32(esi + 0x4) = ecx; /* 0x2F01046B: mov dword ptr [esi + 4], ecx */ 2350 L_2F01046E: 2351 esi = MEM32(ecx + 0x4); /* 0x2F01046E: mov esi, dword ptr [ecx + 4] */ 2352 MEM32(edx + 0x4) = esi; /* 0x2F010471: mov dword ptr [edx + 4], esi */ 2353 esi = MEM32(edi + 0x4); /* 0x2F010474: mov esi, dword ptr [edi + 4] */ 2354 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010477: cmp ecx, dword ptr [esi + 4] */ 2355 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2356 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2357 _flag_k = FK_CMP; 2358 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010481; /* 0x2F01047A: jne 0x2f010481 */ 2359 L_2F01047C: 2360 MEM32(esi + 0x4) = edx; /* 0x2F01047C: mov dword ptr [esi + 4], edx */ 2361 goto L_2F010490; /* 0x2F01047F: jmp 0x2f010490 */ 2362 L_2F010481: 2363 esi = MEM32(ecx + 0x4); /* 0x2F010481: mov esi, dword ptr [ecx + 4] */ 2364 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F010484: cmp ecx, dword ptr [esi + 8] */ 2365 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2366 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2367 _flag_k = FK_CMP; 2368 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01048E; /* 0x2F010487: jne 0x2f01048e */ 2369 L_2F010489: 2370 MEM32(esi + 0x8) = edx; /* 0x2F010489: mov dword ptr [esi + 8], edx */ 2371 goto L_2F010490; /* 0x2F01048C: jmp 0x2f010490 */ 2372 L_2F01048E: 2373 MEM32(esi) = edx; /* 0x2F01048E: mov dword ptr [esi], edx */ 2374 L_2F010490: 2375 MEM32(edx + 0x8) = ecx; /* 0x2F010490: mov dword ptr [edx + 8], ecx */ 2376 L_2F010493: 2377 MEM32(ecx + 0x4) = edx; /* 0x2F010493: mov dword ptr [ecx + 4], edx */ 2378 L_2F010496: 2379 esi = MEM32(ebp + (-0x4)); /* 0x2F010496: mov esi, dword ptr [ebp - 4] */ 2380 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010499: mov byte ptr [eax + 0x24], bl */ 2381 ecx = esi + 0xC; /* 0x2F01049C: lea ecx, [esi + 0xc] */ 2382 RECOMP_ICALL(0x2F00FA50u); /* 0x2F01049F: call 0x2f00fa50 */ /* not lifted */ 2383 RECOMP_FLAGS_IN(); 2384 PUSH32(esp, esi); /* 0x2F0104A4: push esi */ 2385 RECOMP_ICALL(0x2F0116B4u); /* 0x2F0104A5: call 0x2f0116b4 */ /* not lifted */ 2386 RECOMP_FLAGS_IN(); 2387 eax = MEM32(edi + 0x10); /* 0x2F0104AA: mov eax, dword ptr [edi + 0x10] */ 2388 edx = MEM32(ebp + 0xC); /* 0x2F0104AD: mov edx, dword ptr [ebp + 0xc] */ 2389 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2390 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2391 esp = esp + 4; /* 0x2F0104B0: add esp, 4 */ 2392 _flag_k = FK_ADD; 2393 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 2394 eax = eax - 1; /* 0x2F0104B3: dec eax */ 2395 _flag_k = FK_DEC; 2396 MEM32(edi + 0x10) = eax; /* 0x2F0104B4: mov dword ptr [edi + 0x10], eax */ 2397 eax = MEM32(ebp + 0x8); /* 0x2F0104B7: mov eax, dword ptr [ebp + 8] */ 2398 edi = POP32_VAL(esp); /* 0x2F0104BA: pop edi */ 2399 esi = POP32_VAL(esp); /* 0x2F0104BB: pop esi */ 2400 MEM32(eax) = edx; /* 0x2F0104BC: mov dword ptr [eax], edx */ 2401 ebx = POP32_VAL(esp); /* 0x2F0104BE: pop ebx */ 2402 esp = ebp; /* 0x2F0104BF: mov esp, ebp */ 2403 ebp = POP32_VAL(esp); /* 0x2F0104C1: pop ebp */ 2404 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2F0104C2: ret 8 */ 2405 RECOMP_REGS_OUT(); 2406 } 2407 2408 void sub_2F01034A(void) { 2409 int _fpu_cmp = 0; 2410 uint32_t _cf = 0; 2411 int _df = 1; 2412 uint32_t _flag_k = FK_NONE; 2413 uint32_t _flag_a = 0, _flag_b = 0; 2414 uint32_t _itail_tgt = 0; 2415 RECOMP_REGS_LOCALS 2416 RECOMP_ENTER(0x2F01034Au); 2417 2418 L_2F01034A: 2419 edx = MEM32(ecx + 0x8); /* 0x2F01034A: mov edx, dword ptr [ecx + 8] */ 2420 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x2F01034D: cmp byte ptr [edx + 0x24], bl */ 2421 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2422 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2423 _flag_k = FK_NARROW(FK_CMP, 24); 2424 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01039B; /* 0x2F010350: jne 0x2f01039b */ 2425 L_2F010352: 2426 edx = MEM32(ecx); /* 0x2F010352: mov edx, dword ptr [ecx] */ 2427 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010354: mov byte ptr [edx + 0x24], bl */ 2428 edx = MEM32(ecx); /* 0x2F010357: mov edx, dword ptr [ecx] */ 2429 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010359: mov byte ptr [ecx + 0x24], 0 */ 2430 esi = MEM32(edx + 0x8); /* 0x2F01035D: mov esi, dword ptr [edx + 8] */ 2431 MEM32(ecx) = esi; /* 0x2F010360: mov dword ptr [ecx], esi */ 2432 esi = MEM32(edx + 0x8); /* 0x2F010362: mov esi, dword ptr [edx + 8] */ 2433 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010365: cmp esi, dword ptr [edi + 8] */ 2434 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2435 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2436 _flag_k = FK_CMP; 2437 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01036D; /* 0x2F010368: je 0x2f01036d */ 2438 L_2F01036A: 2439 MEM32(esi + 0x4) = ecx; /* 0x2F01036A: mov dword ptr [esi + 4], ecx */ 2440 L_2F01036D: 2441 esi = MEM32(ecx + 0x4); /* 0x2F01036D: mov esi, dword ptr [ecx + 4] */ 2442 MEM32(edx + 0x4) = esi; /* 0x2F010370: mov dword ptr [edx + 4], esi */ 2443 esi = MEM32(edi + 0x4); /* 0x2F010373: mov esi, dword ptr [edi + 4] */ 2444 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010376: cmp ecx, dword ptr [esi + 4] */ 2445 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2446 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2447 _flag_k = FK_CMP; 2448 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010380; /* 0x2F010379: jne 0x2f010380 */ 2449 L_2F01037B: 2450 MEM32(esi + 0x4) = edx; /* 0x2F01037B: mov dword ptr [esi + 4], edx */ 2451 goto L_2F01038F; /* 0x2F01037E: jmp 0x2f01038f */ 2452 L_2F010380: 2453 esi = MEM32(ecx + 0x4); /* 0x2F010380: mov esi, dword ptr [ecx + 4] */ 2454 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F010383: cmp ecx, dword ptr [esi + 8] */ 2455 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2456 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2457 _flag_k = FK_CMP; 2458 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01038D; /* 0x2F010386: jne 0x2f01038d */ 2459 L_2F010388: 2460 MEM32(esi + 0x8) = edx; /* 0x2F010388: mov dword ptr [esi + 8], edx */ 2461 goto L_2F01038F; /* 0x2F01038B: jmp 0x2f01038f */ 2462 L_2F01038D: 2463 MEM32(esi) = edx; /* 0x2F01038D: mov dword ptr [esi], edx */ 2464 L_2F01038F: 2465 MEM32(edx + 0x8) = ecx; /* 0x2F01038F: mov dword ptr [edx + 8], ecx */ 2466 MEM32(ecx + 0x4) = edx; /* 0x2F010392: mov dword ptr [ecx + 4], edx */ 2467 ecx = MEM32(eax + 0x4); /* 0x2F010395: mov ecx, dword ptr [eax + 4] */ 2468 ecx = MEM32(ecx + 0x8); /* 0x2F010398: mov ecx, dword ptr [ecx + 8] */ 2469 L_2F01039B: 2470 edx = MEM32(eax + 0x4); /* 0x2F01039B: mov edx, dword ptr [eax + 4] */ 2471 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2F01039E: mov dl, byte ptr [edx + 0x24] */ 2472 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2F0103A1: mov byte ptr [ecx + 0x24], dl */ 2473 edx = MEM32(eax + 0x4); /* 0x2F0103A4: mov edx, dword ptr [eax + 4] */ 2474 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F0103A7: mov byte ptr [edx + 0x24], bl */ 2475 ecx = MEM32(ecx + 0x8); /* 0x2F0103AA: mov ecx, dword ptr [ecx + 8] */ 2476 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F0103AD: mov byte ptr [ecx + 0x24], bl */ 2477 ecx = MEM32(eax + 0x4); /* 0x2F0103B0: mov ecx, dword ptr [eax + 4] */ 2478 edx = MEM32(ecx + 0x8); /* 0x2F0103B3: mov edx, dword ptr [ecx + 8] */ 2479 esi = MEM32(edx); /* 0x2F0103B6: mov esi, dword ptr [edx] */ 2480 MEM32(ecx + 0x8) = esi; /* 0x2F0103B8: mov dword ptr [ecx + 8], esi */ 2481 esi = MEM32(edx); /* 0x2F0103BB: mov esi, dword ptr [edx] */ 2482 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F0103BD: cmp esi, dword ptr [edi + 8] */ 2483 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2484 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2485 _flag_k = FK_CMP; 2486 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0103C5; /* 0x2F0103C0: je 0x2f0103c5 */ 2487 L_2F0103C2: 2488 MEM32(esi + 0x4) = ecx; /* 0x2F0103C2: mov dword ptr [esi + 4], ecx */ 2489 L_2F0103C5: 2490 esi = MEM32(ecx + 0x4); /* 0x2F0103C5: mov esi, dword ptr [ecx + 4] */ 2491 MEM32(edx + 0x4) = esi; /* 0x2F0103C8: mov dword ptr [edx + 4], esi */ 2492 esi = MEM32(edi + 0x4); /* 0x2F0103CB: mov esi, dword ptr [edi + 4] */ 2493 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F0103CE: cmp ecx, dword ptr [esi + 4] */ 2494 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2495 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2496 _flag_k = FK_CMP; 2497 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0103DD; /* 0x2F0103D1: jne 0x2f0103dd */ 2498 L_2F0103D3: 2499 MEM32(esi + 0x4) = edx; /* 0x2F0103D3: mov dword ptr [esi + 4], edx */ 2500 MEM32(edx) = ecx; /* 0x2F0103D6: mov dword ptr [edx], ecx */ 2501 goto L_2F010493; /* 0x2F0103D8: jmp 0x2f010493 */ 2502 L_2F0103DD: 2503 esi = MEM32(ecx + 0x4); /* 0x2F0103DD: mov esi, dword ptr [ecx + 4] */ 2504 /* cmp ecx, MEM32(esi) */ /* 0x2F0103E0: cmp ecx, dword ptr [esi] */ 2505 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 2506 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2507 _flag_k = FK_CMP; 2508 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0103ED; /* 0x2F0103E2: jne 0x2f0103ed */ 2509 L_2F0103E4: 2510 MEM32(esi) = edx; /* 0x2F0103E4: mov dword ptr [esi], edx */ 2511 MEM32(edx) = ecx; /* 0x2F0103E6: mov dword ptr [edx], ecx */ 2512 goto L_2F010493; /* 0x2F0103E8: jmp 0x2f010493 */ 2513 L_2F0103ED: 2514 MEM32(esi + 0x8) = edx; /* 0x2F0103ED: mov dword ptr [esi + 8], edx */ 2515 MEM32(edx) = ecx; /* 0x2F0103F0: mov dword ptr [edx], ecx */ 2516 goto L_2F010493; /* 0x2F0103F2: jmp 0x2f010493 */ 2517 L_2F010493: 2518 MEM32(ecx + 0x4) = edx; /* 0x2F010493: mov dword ptr [ecx + 4], edx */ 2519 esi = MEM32(ebp + (-0x4)); /* 0x2F010496: mov esi, dword ptr [ebp - 4] */ 2520 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010499: mov byte ptr [eax + 0x24], bl */ 2521 ecx = esi + 0xC; /* 0x2F01049C: lea ecx, [esi + 0xc] */ 2522 RECOMP_ICALL(0x2F00FA50u); /* 0x2F01049F: call 0x2f00fa50 */ /* not lifted */ 2523 RECOMP_FLAGS_IN(); 2524 PUSH32(esp, esi); /* 0x2F0104A4: push esi */ 2525 RECOMP_ICALL(0x2F0116B4u); /* 0x2F0104A5: call 0x2f0116b4 */ /* not lifted */ 2526 RECOMP_FLAGS_IN(); 2527 eax = MEM32(edi + 0x10); /* 0x2F0104AA: mov eax, dword ptr [edi + 0x10] */ 2528 edx = MEM32(ebp + 0xC); /* 0x2F0104AD: mov edx, dword ptr [ebp + 0xc] */ 2529 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2530 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2531 esp = esp + 4; /* 0x2F0104B0: add esp, 4 */ 2532 _flag_k = FK_ADD; 2533 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 2534 eax = eax - 1; /* 0x2F0104B3: dec eax */ 2535 _flag_k = FK_DEC; 2536 MEM32(edi + 0x10) = eax; /* 0x2F0104B4: mov dword ptr [edi + 0x10], eax */ 2537 eax = MEM32(ebp + 0x8); /* 0x2F0104B7: mov eax, dword ptr [ebp + 8] */ 2538 edi = POP32_VAL(esp); /* 0x2F0104BA: pop edi */ 2539 esi = POP32_VAL(esp); /* 0x2F0104BB: pop esi */ 2540 MEM32(eax) = edx; /* 0x2F0104BC: mov dword ptr [eax], edx */ 2541 ebx = POP32_VAL(esp); /* 0x2F0104BE: pop ebx */ 2542 esp = ebp; /* 0x2F0104BF: mov esp, ebp */ 2543 ebp = POP32_VAL(esp); /* 0x2F0104C1: pop ebp */ 2544 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2F0104C2: ret 8 */ 2545 RECOMP_REGS_OUT(); 2546 } 2547 2548 void sub_2F01038F(void) { 2549 int _fpu_cmp = 0; 2550 uint32_t _cf = 0; 2551 int _df = 1; 2552 uint32_t _flag_k = FK_NONE; 2553 uint32_t _flag_a = 0, _flag_b = 0; 2554 uint32_t _itail_tgt = 0; 2555 RECOMP_REGS_LOCALS 2556 RECOMP_ENTER(0x2F01038Fu); 2557 2558 L_2F01038F: 2559 MEM32(edx + 0x8) = ecx; /* 0x2F01038F: mov dword ptr [edx + 8], ecx */ 2560 MEM32(ecx + 0x4) = edx; /* 0x2F010392: mov dword ptr [ecx + 4], edx */ 2561 ecx = MEM32(eax + 0x4); /* 0x2F010395: mov ecx, dword ptr [eax + 4] */ 2562 ecx = MEM32(ecx + 0x8); /* 0x2F010398: mov ecx, dword ptr [ecx + 8] */ 2563 edx = MEM32(eax + 0x4); /* 0x2F01039B: mov edx, dword ptr [eax + 4] */ 2564 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2F01039E: mov dl, byte ptr [edx + 0x24] */ 2565 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2F0103A1: mov byte ptr [ecx + 0x24], dl */ 2566 edx = MEM32(eax + 0x4); /* 0x2F0103A4: mov edx, dword ptr [eax + 4] */ 2567 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F0103A7: mov byte ptr [edx + 0x24], bl */ 2568 ecx = MEM32(ecx + 0x8); /* 0x2F0103AA: mov ecx, dword ptr [ecx + 8] */ 2569 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F0103AD: mov byte ptr [ecx + 0x24], bl */ 2570 ecx = MEM32(eax + 0x4); /* 0x2F0103B0: mov ecx, dword ptr [eax + 4] */ 2571 edx = MEM32(ecx + 0x8); /* 0x2F0103B3: mov edx, dword ptr [ecx + 8] */ 2572 esi = MEM32(edx); /* 0x2F0103B6: mov esi, dword ptr [edx] */ 2573 MEM32(ecx + 0x8) = esi; /* 0x2F0103B8: mov dword ptr [ecx + 8], esi */ 2574 esi = MEM32(edx); /* 0x2F0103BB: mov esi, dword ptr [edx] */ 2575 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F0103BD: cmp esi, dword ptr [edi + 8] */ 2576 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2577 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2578 _flag_k = FK_CMP; 2579 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0103C5; /* 0x2F0103C0: je 0x2f0103c5 */ 2580 L_2F0103C2: 2581 MEM32(esi + 0x4) = ecx; /* 0x2F0103C2: mov dword ptr [esi + 4], ecx */ 2582 L_2F0103C5: 2583 esi = MEM32(ecx + 0x4); /* 0x2F0103C5: mov esi, dword ptr [ecx + 4] */ 2584 MEM32(edx + 0x4) = esi; /* 0x2F0103C8: mov dword ptr [edx + 4], esi */ 2585 esi = MEM32(edi + 0x4); /* 0x2F0103CB: mov esi, dword ptr [edi + 4] */ 2586 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F0103CE: cmp ecx, dword ptr [esi + 4] */ 2587 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2588 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2589 _flag_k = FK_CMP; 2590 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0103DD; /* 0x2F0103D1: jne 0x2f0103dd */ 2591 L_2F0103D3: 2592 MEM32(esi + 0x4) = edx; /* 0x2F0103D3: mov dword ptr [esi + 4], edx */ 2593 MEM32(edx) = ecx; /* 0x2F0103D6: mov dword ptr [edx], ecx */ 2594 goto L_2F010493; /* 0x2F0103D8: jmp 0x2f010493 */ 2595 L_2F0103DD: 2596 esi = MEM32(ecx + 0x4); /* 0x2F0103DD: mov esi, dword ptr [ecx + 4] */ 2597 /* cmp ecx, MEM32(esi) */ /* 0x2F0103E0: cmp ecx, dword ptr [esi] */ 2598 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 2599 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2600 _flag_k = FK_CMP; 2601 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0103ED; /* 0x2F0103E2: jne 0x2f0103ed */ 2602 L_2F0103E4: 2603 MEM32(esi) = edx; /* 0x2F0103E4: mov dword ptr [esi], edx */ 2604 MEM32(edx) = ecx; /* 0x2F0103E6: mov dword ptr [edx], ecx */ 2605 goto L_2F010493; /* 0x2F0103E8: jmp 0x2f010493 */ 2606 L_2F0103ED: 2607 MEM32(esi + 0x8) = edx; /* 0x2F0103ED: mov dword ptr [esi + 8], edx */ 2608 MEM32(edx) = ecx; /* 0x2F0103F0: mov dword ptr [edx], ecx */ 2609 goto L_2F010493; /* 0x2F0103F2: jmp 0x2f010493 */ 2610 L_2F010493: 2611 MEM32(ecx + 0x4) = edx; /* 0x2F010493: mov dword ptr [ecx + 4], edx */ 2612 esi = MEM32(ebp + (-0x4)); /* 0x2F010496: mov esi, dword ptr [ebp - 4] */ 2613 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010499: mov byte ptr [eax + 0x24], bl */ 2614 ecx = esi + 0xC; /* 0x2F01049C: lea ecx, [esi + 0xc] */ 2615 RECOMP_ICALL(0x2F00FA50u); /* 0x2F01049F: call 0x2f00fa50 */ /* not lifted */ 2616 RECOMP_FLAGS_IN(); 2617 PUSH32(esp, esi); /* 0x2F0104A4: push esi */ 2618 RECOMP_ICALL(0x2F0116B4u); /* 0x2F0104A5: call 0x2f0116b4 */ /* not lifted */ 2619 RECOMP_FLAGS_IN(); 2620 eax = MEM32(edi + 0x10); /* 0x2F0104AA: mov eax, dword ptr [edi + 0x10] */ 2621 edx = MEM32(ebp + 0xC); /* 0x2F0104AD: mov edx, dword ptr [ebp + 0xc] */ 2622 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2623 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2624 esp = esp + 4; /* 0x2F0104B0: add esp, 4 */ 2625 _flag_k = FK_ADD; 2626 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 2627 eax = eax - 1; /* 0x2F0104B3: dec eax */ 2628 _flag_k = FK_DEC; 2629 MEM32(edi + 0x10) = eax; /* 0x2F0104B4: mov dword ptr [edi + 0x10], eax */ 2630 eax = MEM32(ebp + 0x8); /* 0x2F0104B7: mov eax, dword ptr [ebp + 8] */ 2631 edi = POP32_VAL(esp); /* 0x2F0104BA: pop edi */ 2632 esi = POP32_VAL(esp); /* 0x2F0104BB: pop esi */ 2633 MEM32(eax) = edx; /* 0x2F0104BC: mov dword ptr [eax], edx */ 2634 ebx = POP32_VAL(esp); /* 0x2F0104BE: pop ebx */ 2635 esp = ebp; /* 0x2F0104BF: mov esp, ebp */ 2636 ebp = POP32_VAL(esp); /* 0x2F0104C1: pop ebp */ 2637 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2F0104C2: ret 8 */ 2638 RECOMP_REGS_OUT(); 2639 } 2640 2641 void sub_2F01043B(void) { 2642 int _fpu_cmp = 0; 2643 uint32_t _cf = 0; 2644 int _df = 1; 2645 uint32_t _flag_k = FK_NONE; 2646 uint32_t _flag_a = 0, _flag_b = 0; 2647 uint32_t _itail_tgt = 0; 2648 RECOMP_REGS_LOCALS 2649 RECOMP_ENTER(0x2F01043Bu); 2650 2651 L_2F01043B: 2652 MEM32(edx) = ecx; /* 0x2F01043B: mov dword ptr [edx], ecx */ 2653 MEM32(ecx + 0x4) = edx; /* 0x2F01043D: mov dword ptr [ecx + 4], edx */ 2654 ecx = MEM32(eax + 0x4); /* 0x2F010440: mov ecx, dword ptr [eax + 4] */ 2655 ecx = MEM32(ecx); /* 0x2F010443: mov ecx, dword ptr [ecx] */ 2656 edx = MEM32(eax + 0x4); /* 0x2F010445: mov edx, dword ptr [eax + 4] */ 2657 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x2F010448: mov dl, byte ptr [edx + 0x24] */ 2658 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x2F01044B: mov byte ptr [ecx + 0x24], dl */ 2659 edx = MEM32(eax + 0x4); /* 0x2F01044E: mov edx, dword ptr [eax + 4] */ 2660 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010451: mov byte ptr [edx + 0x24], bl */ 2661 ecx = MEM32(ecx); /* 0x2F010454: mov ecx, dword ptr [ecx] */ 2662 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010456: mov byte ptr [ecx + 0x24], bl */ 2663 ecx = MEM32(eax + 0x4); /* 0x2F010459: mov ecx, dword ptr [eax + 4] */ 2664 edx = MEM32(ecx); /* 0x2F01045C: mov edx, dword ptr [ecx] */ 2665 esi = MEM32(edx + 0x8); /* 0x2F01045E: mov esi, dword ptr [edx + 8] */ 2666 MEM32(ecx) = esi; /* 0x2F010461: mov dword ptr [ecx], esi */ 2667 esi = MEM32(edx + 0x8); /* 0x2F010463: mov esi, dword ptr [edx + 8] */ 2668 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010466: cmp esi, dword ptr [edi + 8] */ 2669 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2670 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2671 _flag_k = FK_CMP; 2672 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01046E; /* 0x2F010469: je 0x2f01046e */ 2673 L_2F01046B: 2674 MEM32(esi + 0x4) = ecx; /* 0x2F01046B: mov dword ptr [esi + 4], ecx */ 2675 L_2F01046E: 2676 esi = MEM32(ecx + 0x4); /* 0x2F01046E: mov esi, dword ptr [ecx + 4] */ 2677 MEM32(edx + 0x4) = esi; /* 0x2F010471: mov dword ptr [edx + 4], esi */ 2678 esi = MEM32(edi + 0x4); /* 0x2F010474: mov esi, dword ptr [edi + 4] */ 2679 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010477: cmp ecx, dword ptr [esi + 4] */ 2680 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2681 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2682 _flag_k = FK_CMP; 2683 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010481; /* 0x2F01047A: jne 0x2f010481 */ 2684 L_2F01047C: 2685 MEM32(esi + 0x4) = edx; /* 0x2F01047C: mov dword ptr [esi + 4], edx */ 2686 goto L_2F010490; /* 0x2F01047F: jmp 0x2f010490 */ 2687 L_2F010481: 2688 esi = MEM32(ecx + 0x4); /* 0x2F010481: mov esi, dword ptr [ecx + 4] */ 2689 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F010484: cmp ecx, dword ptr [esi + 8] */ 2690 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2691 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2692 _flag_k = FK_CMP; 2693 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01048E; /* 0x2F010487: jne 0x2f01048e */ 2694 L_2F010489: 2695 MEM32(esi + 0x8) = edx; /* 0x2F010489: mov dword ptr [esi + 8], edx */ 2696 goto L_2F010490; /* 0x2F01048C: jmp 0x2f010490 */ 2697 L_2F01048E: 2698 MEM32(esi) = edx; /* 0x2F01048E: mov dword ptr [esi], edx */ 2699 L_2F010490: 2700 MEM32(edx + 0x8) = ecx; /* 0x2F010490: mov dword ptr [edx + 8], ecx */ 2701 MEM32(ecx + 0x4) = edx; /* 0x2F010493: mov dword ptr [ecx + 4], edx */ 2702 esi = MEM32(ebp + (-0x4)); /* 0x2F010496: mov esi, dword ptr [ebp - 4] */ 2703 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010499: mov byte ptr [eax + 0x24], bl */ 2704 ecx = esi + 0xC; /* 0x2F01049C: lea ecx, [esi + 0xc] */ 2705 RECOMP_ICALL(0x2F00FA50u); /* 0x2F01049F: call 0x2f00fa50 */ /* not lifted */ 2706 RECOMP_FLAGS_IN(); 2707 PUSH32(esp, esi); /* 0x2F0104A4: push esi */ 2708 RECOMP_ICALL(0x2F0116B4u); /* 0x2F0104A5: call 0x2f0116b4 */ /* not lifted */ 2709 RECOMP_FLAGS_IN(); 2710 eax = MEM32(edi + 0x10); /* 0x2F0104AA: mov eax, dword ptr [edi + 0x10] */ 2711 edx = MEM32(ebp + 0xC); /* 0x2F0104AD: mov edx, dword ptr [ebp + 0xc] */ 2712 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2713 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2714 esp = esp + 4; /* 0x2F0104B0: add esp, 4 */ 2715 _flag_k = FK_ADD; 2716 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 2717 eax = eax - 1; /* 0x2F0104B3: dec eax */ 2718 _flag_k = FK_DEC; 2719 MEM32(edi + 0x10) = eax; /* 0x2F0104B4: mov dword ptr [edi + 0x10], eax */ 2720 eax = MEM32(ebp + 0x8); /* 0x2F0104B7: mov eax, dword ptr [ebp + 8] */ 2721 edi = POP32_VAL(esp); /* 0x2F0104BA: pop edi */ 2722 esi = POP32_VAL(esp); /* 0x2F0104BB: pop esi */ 2723 MEM32(eax) = edx; /* 0x2F0104BC: mov dword ptr [eax], edx */ 2724 ebx = POP32_VAL(esp); /* 0x2F0104BE: pop ebx */ 2725 esp = ebp; /* 0x2F0104BF: mov esp, ebp */ 2726 ebp = POP32_VAL(esp); /* 0x2F0104C1: pop ebp */ 2727 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2F0104C2: ret 8 */ 2728 RECOMP_REGS_OUT(); 2729 } 2730 2731 void sub_2F010490(void) { 2732 int _fpu_cmp = 0; 2733 uint32_t _cf = 0; 2734 int _df = 1; 2735 uint32_t _flag_k = FK_NONE; 2736 uint32_t _flag_a = 0, _flag_b = 0; 2737 uint32_t _itail_tgt = 0; 2738 RECOMP_REGS_LOCALS 2739 RECOMP_ENTER(0x2F010490u); 2740 2741 L_2F010490: 2742 MEM32(edx + 0x8) = ecx; /* 0x2F010490: mov dword ptr [edx + 8], ecx */ 2743 MEM32(ecx + 0x4) = edx; /* 0x2F010493: mov dword ptr [ecx + 4], edx */ 2744 esi = MEM32(ebp + (-0x4)); /* 0x2F010496: mov esi, dword ptr [ebp - 4] */ 2745 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010499: mov byte ptr [eax + 0x24], bl */ 2746 ecx = esi + 0xC; /* 0x2F01049C: lea ecx, [esi + 0xc] */ 2747 RECOMP_ICALL(0x2F00FA50u); /* 0x2F01049F: call 0x2f00fa50 */ /* not lifted */ 2748 RECOMP_FLAGS_IN(); 2749 PUSH32(esp, esi); /* 0x2F0104A4: push esi */ 2750 RECOMP_ICALL(0x2F0116B4u); /* 0x2F0104A5: call 0x2f0116b4 */ /* not lifted */ 2751 RECOMP_FLAGS_IN(); 2752 eax = MEM32(edi + 0x10); /* 0x2F0104AA: mov eax, dword ptr [edi + 0x10] */ 2753 edx = MEM32(ebp + 0xC); /* 0x2F0104AD: mov edx, dword ptr [ebp + 0xc] */ 2754 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2755 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2756 esp = esp + 4; /* 0x2F0104B0: add esp, 4 */ 2757 _flag_k = FK_ADD; 2758 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 2759 eax = eax - 1; /* 0x2F0104B3: dec eax */ 2760 _flag_k = FK_DEC; 2761 MEM32(edi + 0x10) = eax; /* 0x2F0104B4: mov dword ptr [edi + 0x10], eax */ 2762 eax = MEM32(ebp + 0x8); /* 0x2F0104B7: mov eax, dword ptr [ebp + 8] */ 2763 edi = POP32_VAL(esp); /* 0x2F0104BA: pop edi */ 2764 esi = POP32_VAL(esp); /* 0x2F0104BB: pop esi */ 2765 MEM32(eax) = edx; /* 0x2F0104BC: mov dword ptr [eax], edx */ 2766 ebx = POP32_VAL(esp); /* 0x2F0104BE: pop ebx */ 2767 esp = ebp; /* 0x2F0104BF: mov esp, ebp */ 2768 ebp = POP32_VAL(esp); /* 0x2F0104C1: pop ebp */ 2769 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2F0104C2: ret 8 */ 2770 RECOMP_REGS_OUT(); 2771 } 2772 2773 void sub_2F010493(void) { 2774 int _fpu_cmp = 0; 2775 uint32_t _cf = 0; 2776 int _df = 1; 2777 uint32_t _flag_k = FK_NONE; 2778 uint32_t _flag_a = 0, _flag_b = 0; 2779 uint32_t _itail_tgt = 0; 2780 RECOMP_REGS_LOCALS 2781 RECOMP_ENTER(0x2F010493u); 2782 2783 L_2F010493: 2784 MEM32(ecx + 0x4) = edx; /* 0x2F010493: mov dword ptr [ecx + 4], edx */ 2785 esi = MEM32(ebp + (-0x4)); /* 0x2F010496: mov esi, dword ptr [ebp - 4] */ 2786 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010499: mov byte ptr [eax + 0x24], bl */ 2787 ecx = esi + 0xC; /* 0x2F01049C: lea ecx, [esi + 0xc] */ 2788 RECOMP_ICALL(0x2F00FA50u); /* 0x2F01049F: call 0x2f00fa50 */ /* not lifted */ 2789 RECOMP_FLAGS_IN(); 2790 PUSH32(esp, esi); /* 0x2F0104A4: push esi */ 2791 RECOMP_ICALL(0x2F0116B4u); /* 0x2F0104A5: call 0x2f0116b4 */ /* not lifted */ 2792 RECOMP_FLAGS_IN(); 2793 eax = MEM32(edi + 0x10); /* 0x2F0104AA: mov eax, dword ptr [edi + 0x10] */ 2794 edx = MEM32(ebp + 0xC); /* 0x2F0104AD: mov edx, dword ptr [ebp + 0xc] */ 2795 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2796 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2797 esp = esp + 4; /* 0x2F0104B0: add esp, 4 */ 2798 _flag_k = FK_ADD; 2799 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 2800 eax = eax - 1; /* 0x2F0104B3: dec eax */ 2801 _flag_k = FK_DEC; 2802 MEM32(edi + 0x10) = eax; /* 0x2F0104B4: mov dword ptr [edi + 0x10], eax */ 2803 eax = MEM32(ebp + 0x8); /* 0x2F0104B7: mov eax, dword ptr [ebp + 8] */ 2804 edi = POP32_VAL(esp); /* 0x2F0104BA: pop edi */ 2805 esi = POP32_VAL(esp); /* 0x2F0104BB: pop esi */ 2806 MEM32(eax) = edx; /* 0x2F0104BC: mov dword ptr [eax], edx */ 2807 ebx = POP32_VAL(esp); /* 0x2F0104BE: pop ebx */ 2808 esp = ebp; /* 0x2F0104BF: mov esp, ebp */ 2809 ebp = POP32_VAL(esp); /* 0x2F0104C1: pop ebp */ 2810 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2F0104C2: ret 8 */ 2811 RECOMP_REGS_OUT(); 2812 } 2813 2814 void sub_2F010496(void) { 2815 int _fpu_cmp = 0; 2816 uint32_t _cf = 0; 2817 int _df = 1; 2818 uint32_t _flag_k = FK_NONE; 2819 uint32_t _flag_a = 0, _flag_b = 0; 2820 uint32_t _itail_tgt = 0; 2821 RECOMP_REGS_LOCALS 2822 RECOMP_ENTER(0x2F010496u); 2823 2824 L_2F010496: 2825 esi = MEM32(ebp + (-0x4)); /* 0x2F010496: mov esi, dword ptr [ebp - 4] */ 2826 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010499: mov byte ptr [eax + 0x24], bl */ 2827 ecx = esi + 0xC; /* 0x2F01049C: lea ecx, [esi + 0xc] */ 2828 RECOMP_ICALL(0x2F00FA50u); /* 0x2F01049F: call 0x2f00fa50 */ /* not lifted */ 2829 RECOMP_FLAGS_IN(); 2830 PUSH32(esp, esi); /* 0x2F0104A4: push esi */ 2831 RECOMP_ICALL(0x2F0116B4u); /* 0x2F0104A5: call 0x2f0116b4 */ /* not lifted */ 2832 RECOMP_FLAGS_IN(); 2833 eax = MEM32(edi + 0x10); /* 0x2F0104AA: mov eax, dword ptr [edi + 0x10] */ 2834 edx = MEM32(ebp + 0xC); /* 0x2F0104AD: mov edx, dword ptr [ebp + 0xc] */ 2835 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2836 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2837 esp = esp + 4; /* 0x2F0104B0: add esp, 4 */ 2838 _flag_k = FK_ADD; 2839 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 2840 eax = eax - 1; /* 0x2F0104B3: dec eax */ 2841 _flag_k = FK_DEC; 2842 MEM32(edi + 0x10) = eax; /* 0x2F0104B4: mov dword ptr [edi + 0x10], eax */ 2843 eax = MEM32(ebp + 0x8); /* 0x2F0104B7: mov eax, dword ptr [ebp + 8] */ 2844 edi = POP32_VAL(esp); /* 0x2F0104BA: pop edi */ 2845 esi = POP32_VAL(esp); /* 0x2F0104BB: pop esi */ 2846 MEM32(eax) = edx; /* 0x2F0104BC: mov dword ptr [eax], edx */ 2847 ebx = POP32_VAL(esp); /* 0x2F0104BE: pop ebx */ 2848 esp = ebp; /* 0x2F0104BF: mov esp, ebp */ 2849 ebp = POP32_VAL(esp); /* 0x2F0104C1: pop ebp */ 2850 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2F0104C2: ret 8 */ 2851 RECOMP_REGS_OUT(); 2852 } 2853 2854 void sub_2F0104D0(void) { 2855 int _fpu_cmp = 0; 2856 uint32_t _cf = 0; 2857 int _df = 1; 2858 uint32_t _flag_k = FK_NONE; 2859 uint32_t _flag_a = 0, _flag_b = 0; 2860 uint32_t _itail_tgt = 0; 2861 RECOMP_REGS_LOCALS 2862 RECOMP_ENTER(0x2F0104D0u); 2863 2864 L_2F0104D0: 2865 PUSH32(esp, ebp); /* 0x2F0104D0: push ebp */ 2866 ebp = esp; /* 0x2F0104D1: mov ebp, esp */ 2867 PUSH32(esp, ebx); /* 0x2F0104D3: push ebx */ 2868 ebx = ecx; /* 0x2F0104D4: mov ebx, ecx */ 2869 PUSH32(esp, esi); /* 0x2F0104D6: push esi */ 2870 PUSH32(esp, edi); /* 0x2F0104D7: push edi */ 2871 edi = MEM32(ebp + 0x8); /* 0x2F0104D8: mov edi, dword ptr [ebp + 8] */ 2872 eax = MEM32(ebx + 0x8); /* 0x2F0104DB: mov eax, dword ptr [ebx + 8] */ 2873 /* cmp edi, eax */ /* 0x2F0104DE: cmp edi, eax */ 2874 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 2875 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2876 _flag_k = FK_CMP; 2877 esi = edi; /* 0x2F0104E0: mov esi, edi */ 2878 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01050B; /* 0x2F0104E2: je 0x2f01050b */ 2879 L_2F0104E4: 2880 eax = MEM32(esi + 0x8); /* 0x2F0104E4: mov eax, dword ptr [esi + 8] */ 2881 ecx = ebx; /* 0x2F0104E7: mov ecx, ebx */ 2882 PUSH32(esp, eax); /* 0x2F0104E9: push eax */ 2883 RECOMP_ICALL(0x2F0104D0u); /* 0x2F0104EA: call 0x2f0104d0 */ /* not lifted */ 2884 RECOMP_FLAGS_IN(); 2885 esi = MEM32(esi); /* 0x2F0104EF: mov esi, dword ptr [esi] */ 2886 ecx = edi + 0xC; /* 0x2F0104F1: lea ecx, [edi + 0xc] */ 2887 RECOMP_ICALL(0x2F00FA50u); /* 0x2F0104F4: call 0x2f00fa50 */ /* not lifted */ 2888 RECOMP_FLAGS_IN(); 2889 PUSH32(esp, edi); /* 0x2F0104F9: push edi */ 2890 RECOMP_ICALL(0x2F0116B4u); /* 0x2F0104FA: call 0x2f0116b4 */ /* not lifted */ 2891 RECOMP_FLAGS_IN(); 2892 eax = MEM32(ebx + 0x8); /* 0x2F0104FF: mov eax, dword ptr [ebx + 8] */ 2893 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2894 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2895 esp = esp + 4; /* 0x2F010502: add esp, 4 */ 2896 _flag_k = FK_ADD; 2897 /* cmp esi, eax */ /* 0x2F010505: cmp esi, eax */ 2898 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 2899 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2900 _flag_k = FK_CMP; 2901 edi = esi; /* 0x2F010507: mov edi, esi */ 2902 RECOMP_BACKEDGE(); 2903 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0104E4; /* 0x2F010509: jne 0x2f0104e4 */ 2904 L_2F01050B: 2905 edi = POP32_VAL(esp); /* 0x2F01050B: pop edi */ 2906 esi = POP32_VAL(esp); /* 0x2F01050C: pop esi */ 2907 ebx = POP32_VAL(esp); /* 0x2F01050D: pop ebx */ 2908 ebp = POP32_VAL(esp); /* 0x2F01050E: pop ebp */ 2909 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2F01050F: ret 4 */ 2910 RECOMP_REGS_OUT(); 2911 } 2912 2913 void sub_2F010520(void) { 2914 int _fpu_cmp = 0; 2915 uint32_t _cf = 0; 2916 int _df = 1; 2917 uint32_t _flag_k = FK_NONE; 2918 uint32_t _flag_a = 0, _flag_b = 0; 2919 uint32_t _itail_tgt = 0; 2920 RECOMP_REGS_LOCALS 2921 RECOMP_ENTER(0x2F010520u); 2922 2923 L_2F010520: 2924 PUSH32(esp, ebp); /* 0x2F010520: push ebp */ 2925 ebp = esp; /* 0x2F010521: mov ebp, esp */ 2926 PUSH32(esp, ecx); /* 0x2F010523: push ecx */ 2927 PUSH32(esp, ebx); /* 0x2F010524: push ebx */ 2928 PUSH32(esp, esi); /* 0x2F010525: push esi */ 2929 esi = MEM32(ebp + 0xC); /* 0x2F010526: mov esi, dword ptr [ebp + 0xc] */ 2930 PUSH32(esp, edi); /* 0x2F010529: push edi */ 2931 edi = ecx; /* 0x2F01052A: mov edi, ecx */ 2932 ecx = ebp + 0xC; /* 0x2F01052C: lea ecx, [ebp + 0xc] */ 2933 RECOMP_ICALL(0x2F0110B0u); /* 0x2F01052F: call 0x2f0110b0 */ /* not lifted */ 2934 RECOMP_FLAGS_IN(); 2935 edx = MEM32(esi); /* 0x2F010534: mov edx, dword ptr [esi] */ 2936 eax = MEM32(edi + 0x8); /* 0x2F010536: mov eax, dword ptr [edi + 8] */ 2937 /* cmp edx, eax */ /* 0x2F010539: cmp edx, eax */ 2938 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 2939 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2940 _flag_k = FK_CMP; 2941 MEM32(ebp + (-0x4)) = esi; /* 0x2F01053B: mov dword ptr [ebp - 4], esi */ 2942 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010560; /* 0x2F01053E: jne 0x2f010560 */ 2943 L_2F010540: 2944 eax = MEM32(esi + 0x8); /* 0x2F010540: mov eax, dword ptr [esi + 8] */ 2945 L_2F010543: 2946 ecx = MEM32(ebp + (-0x4)); /* 0x2F010543: mov ecx, dword ptr [ebp - 4] */ 2947 edx = MEM32(ecx + 0x4); /* 0x2F010546: mov edx, dword ptr [ecx + 4] */ 2948 MEM32(eax + 0x4) = edx; /* 0x2F010549: mov dword ptr [eax + 4], edx */ 2949 ecx = MEM32(edi + 0x4); /* 0x2F01054C: mov ecx, dword ptr [edi + 4] */ 2950 /* cmp MEM32(ecx + 0x4), esi */ /* 0x2F01054F: cmp dword ptr [ecx + 4], esi */ 2951 _flag_a = (uint32_t)(MEM32(ecx + 0x4)); _flag_b = (uint32_t)(esi); 2952 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2953 _flag_k = FK_CMP; 2954 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0105E5; /* 0x2F010552: jne 0x2f0105e5 */ 2955 L_2F010558: 2956 MEM32(ecx + 0x4) = eax; /* 0x2F010558: mov dword ptr [ecx + 4], eax */ 2957 goto L_2F0105F3; /* 0x2F01055B: jmp 0x2f0105f3 */ 2958 L_2F010560: 2959 ecx = MEM32(esi + 0x8); /* 0x2F010560: mov ecx, dword ptr [esi + 8] */ 2960 /* cmp ecx, eax */ /* 0x2F010563: cmp ecx, eax */ 2961 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 2962 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2963 _flag_k = FK_CMP; 2964 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01056B; /* 0x2F010565: jne 0x2f01056b */ 2965 L_2F010567: 2966 eax = edx; /* 0x2F010567: mov eax, edx */ 2967 RECOMP_BACKEDGE(); 2968 goto L_2F010543; /* 0x2F010569: jmp 0x2f010543 */ 2969 L_2F01056B: 2970 eax = MEM32(ecx); /* 0x2F01056B: mov eax, dword ptr [ecx] */ 2971 SET_LO8(ebx, MEM8(eax + 0x21)); /* 0x2F01056D: mov bl, byte ptr [eax + 0x21] */ 2972 /* test LO8(ebx), LO8(ebx) */ /* 0x2F010570: test bl, bl */ 2973 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2974 _cf = 0; 2975 _flag_k = FK_NARROW(FK_TEST, 24); 2976 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F01057F; /* 0x2F010572: jne 0x2f01057f */ 2977 L_2F010574: 2978 ecx = eax; /* 0x2F010574: mov ecx, eax */ 2979 eax = MEM32(ecx); /* 0x2F010576: mov eax, dword ptr [ecx] */ 2980 SET_LO8(ebx, MEM8(eax + 0x21)); /* 0x2F010578: mov bl, byte ptr [eax + 0x21] */ 2981 /* test LO8(ebx), LO8(ebx) */ /* 0x2F01057B: test bl, bl */ 2982 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2983 _cf = 0; 2984 _flag_k = FK_NARROW(FK_TEST, 24); 2985 RECOMP_BACKEDGE(); 2986 if (TEST_Z(_flag_a, _flag_b)) goto L_2F010574; /* 0x2F01057D: je 0x2f010574 */ 2987 L_2F01057F: 2988 eax = MEM32(ecx + 0x8); /* 0x2F01057F: mov eax, dword ptr [ecx + 8] */ 2989 /* cmp ecx, esi */ /* 0x2F010582: cmp ecx, esi */ 2990 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 2991 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2992 _flag_k = FK_CMP; 2993 MEM32(ebp + (-0x4)) = ecx; /* 0x2F010584: mov dword ptr [ebp - 4], ecx */ 2994 RECOMP_BACKEDGE(); 2995 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010543; /* 0x2F010587: je 0x2f010543 */ 2996 L_2F010589: 2997 MEM32(edx + 0x4) = ecx; /* 0x2F010589: mov dword ptr [edx + 4], ecx */ 2998 edx = MEM32(esi); /* 0x2F01058C: mov edx, dword ptr [esi] */ 2999 MEM32(ecx) = edx; /* 0x2F01058E: mov dword ptr [ecx], edx */ 3000 edx = MEM32(esi + 0x8); /* 0x2F010590: mov edx, dword ptr [esi + 8] */ 3001 /* cmp ecx, edx */ /* 0x2F010593: cmp ecx, edx */ 3002 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 3003 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3004 _flag_k = FK_CMP; 3005 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01059C; /* 0x2F010595: jne 0x2f01059c */ 3006 L_2F010597: 3007 MEM32(eax + 0x4) = ecx; /* 0x2F010597: mov dword ptr [eax + 4], ecx */ 3008 goto L_2F0105B3; /* 0x2F01059A: jmp 0x2f0105b3 */ 3009 L_2F01059C: 3010 edx = MEM32(ecx + 0x4); /* 0x2F01059C: mov edx, dword ptr [ecx + 4] */ 3011 MEM32(eax + 0x4) = edx; /* 0x2F01059F: mov dword ptr [eax + 4], edx */ 3012 edx = MEM32(ecx + 0x4); /* 0x2F0105A2: mov edx, dword ptr [ecx + 4] */ 3013 MEM32(edx) = eax; /* 0x2F0105A5: mov dword ptr [edx], eax */ 3014 edx = MEM32(esi + 0x8); /* 0x2F0105A7: mov edx, dword ptr [esi + 8] */ 3015 MEM32(ecx + 0x8) = edx; /* 0x2F0105AA: mov dword ptr [ecx + 8], edx */ 3016 edx = MEM32(esi + 0x8); /* 0x2F0105AD: mov edx, dword ptr [esi + 8] */ 3017 MEM32(edx + 0x4) = ecx; /* 0x2F0105B0: mov dword ptr [edx + 4], ecx */ 3018 L_2F0105B3: 3019 edx = MEM32(edi + 0x4); /* 0x2F0105B3: mov edx, dword ptr [edi + 4] */ 3020 /* cmp MEM32(edx + 0x4), esi */ /* 0x2F0105B6: cmp dword ptr [edx + 4], esi */ 3021 _flag_a = (uint32_t)(MEM32(edx + 0x4)); _flag_b = (uint32_t)(esi); 3022 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3023 _flag_k = FK_CMP; 3024 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0105C0; /* 0x2F0105B9: jne 0x2f0105c0 */ 3025 L_2F0105BB: 3026 MEM32(edx + 0x4) = ecx; /* 0x2F0105BB: mov dword ptr [edx + 4], ecx */ 3027 goto L_2F0105CE; /* 0x2F0105BE: jmp 0x2f0105ce */ 3028 L_2F0105C0: 3029 edx = MEM32(esi + 0x4); /* 0x2F0105C0: mov edx, dword ptr [esi + 4] */ 3030 /* cmp MEM32(edx), esi */ /* 0x2F0105C3: cmp dword ptr [edx], esi */ 3031 _flag_a = (uint32_t)(MEM32(edx)); _flag_b = (uint32_t)(esi); 3032 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3033 _flag_k = FK_CMP; 3034 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0105CB; /* 0x2F0105C5: jne 0x2f0105cb */ 3035 L_2F0105C7: 3036 MEM32(edx) = ecx; /* 0x2F0105C7: mov dword ptr [edx], ecx */ 3037 goto L_2F0105CE; /* 0x2F0105C9: jmp 0x2f0105ce */ 3038 L_2F0105CB: 3039 MEM32(edx + 0x8) = ecx; /* 0x2F0105CB: mov dword ptr [edx + 8], ecx */ 3040 L_2F0105CE: 3041 edx = MEM32(esi + 0x4); /* 0x2F0105CE: mov edx, dword ptr [esi + 4] */ 3042 MEM32(ebp + (-0x4)) = esi; /* 0x2F0105D1: mov dword ptr [ebp - 4], esi */ 3043 MEM32(ecx + 0x4) = edx; /* 0x2F0105D4: mov dword ptr [ecx + 4], edx */ 3044 SET_LO8(ebx, MEM8(esi + 0x20)); /* 0x2F0105D7: mov bl, byte ptr [esi + 0x20] */ 3045 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x2F0105DA: mov dl, byte ptr [ecx + 0x20] */ 3046 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0105DD: mov byte ptr [ecx + 0x20], bl */ 3047 MEM8(esi + 0x20) = (uint8_t)(LO8(edx)); /* 0x2F0105E0: mov byte ptr [esi + 0x20], dl */ 3048 goto L_2F01064E; /* 0x2F0105E3: jmp 0x2f01064e */ 3049 L_2F0105E5: 3050 ecx = MEM32(esi + 0x4); /* 0x2F0105E5: mov ecx, dword ptr [esi + 4] */ 3051 /* cmp MEM32(ecx), esi */ /* 0x2F0105E8: cmp dword ptr [ecx], esi */ 3052 _flag_a = (uint32_t)(MEM32(ecx)); _flag_b = (uint32_t)(esi); 3053 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3054 _flag_k = FK_CMP; 3055 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0105F0; /* 0x2F0105EA: jne 0x2f0105f0 */ 3056 L_2F0105EC: 3057 MEM32(ecx) = eax; /* 0x2F0105EC: mov dword ptr [ecx], eax */ 3058 goto L_2F0105F3; /* 0x2F0105EE: jmp 0x2f0105f3 */ 3059 L_2F0105F0: 3060 MEM32(ecx + 0x8) = eax; /* 0x2F0105F0: mov dword ptr [ecx + 8], eax */ 3061 L_2F0105F3: 3062 ebx = MEM32(edi + 0x4); /* 0x2F0105F3: mov ebx, dword ptr [edi + 4] */ 3063 /* cmp MEM32(ebx), esi */ /* 0x2F0105F6: cmp dword ptr [ebx], esi */ 3064 _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(esi); 3065 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3066 _flag_k = FK_CMP; 3067 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01061F; /* 0x2F0105F8: jne 0x2f01061f */ 3068 L_2F0105FA: 3069 ecx = MEM32(esi + 0x8); /* 0x2F0105FA: mov ecx, dword ptr [esi + 8] */ 3070 edx = MEM32(edi + 0x8); /* 0x2F0105FD: mov edx, dword ptr [edi + 8] */ 3071 /* cmp ecx, edx */ /* 0x2F010600: cmp ecx, edx */ 3072 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 3073 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3074 _flag_k = FK_CMP; 3075 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010609; /* 0x2F010602: jne 0x2f010609 */ 3076 L_2F010604: 3077 edx = MEM32(esi + 0x4); /* 0x2F010604: mov edx, dword ptr [esi + 4] */ 3078 goto L_2F01061D; /* 0x2F010607: jmp 0x2f01061d */ 3079 L_2F010609: 3080 ecx = MEM32(eax); /* 0x2F010609: mov ecx, dword ptr [eax] */ 3081 edx = eax; /* 0x2F01060B: mov edx, eax */ 3082 /* cmp MEM8(ecx + 0x21), 0 */ /* 0x2F01060D: cmp byte ptr [ecx + 0x21], 0 */ 3083 _flag_a = (uint32_t)(MEM8(ecx + 0x21)) << 24; _flag_b = (uint32_t)(0) << 24; 3084 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3085 _flag_k = FK_NARROW(FK_CMP, 24); 3086 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01061D; /* 0x2F010611: jne 0x2f01061d */ 3087 L_2F010613: 3088 edx = ecx; /* 0x2F010613: mov edx, ecx */ 3089 ecx = MEM32(edx); /* 0x2F010615: mov ecx, dword ptr [edx] */ 3090 /* cmp MEM8(ecx + 0x21), 0 */ /* 0x2F010617: cmp byte ptr [ecx + 0x21], 0 */ 3091 _flag_a = (uint32_t)(MEM8(ecx + 0x21)) << 24; _flag_b = (uint32_t)(0) << 24; 3092 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3093 _flag_k = FK_NARROW(FK_CMP, 24); 3094 RECOMP_BACKEDGE(); 3095 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010613; /* 0x2F01061B: je 0x2f010613 */ 3096 L_2F01061D: 3097 MEM32(ebx) = edx; /* 0x2F01061D: mov dword ptr [ebx], edx */ 3098 L_2F01061F: 3099 ebx = MEM32(edi + 0x4); /* 0x2F01061F: mov ebx, dword ptr [edi + 4] */ 3100 /* cmp MEM32(ebx + 0x8), esi */ /* 0x2F010622: cmp dword ptr [ebx + 8], esi */ 3101 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 3102 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3103 _flag_k = FK_CMP; 3104 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01064E; /* 0x2F010625: jne 0x2f01064e */ 3105 L_2F010627: 3106 ecx = MEM32(esi); /* 0x2F010627: mov ecx, dword ptr [esi] */ 3107 edx = MEM32(edi + 0x8); /* 0x2F010629: mov edx, dword ptr [edi + 8] */ 3108 /* cmp ecx, edx */ /* 0x2F01062C: cmp ecx, edx */ 3109 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 3110 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3111 _flag_k = FK_CMP; 3112 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010635; /* 0x2F01062E: jne 0x2f010635 */ 3113 L_2F010630: 3114 edx = MEM32(esi + 0x4); /* 0x2F010630: mov edx, dword ptr [esi + 4] */ 3115 goto L_2F01064B; /* 0x2F010633: jmp 0x2f01064b */ 3116 L_2F010635: 3117 ecx = MEM32(eax + 0x8); /* 0x2F010635: mov ecx, dword ptr [eax + 8] */ 3118 edx = eax; /* 0x2F010638: mov edx, eax */ 3119 /* cmp MEM8(ecx + 0x21), 0 */ /* 0x2F01063A: cmp byte ptr [ecx + 0x21], 0 */ 3120 _flag_a = (uint32_t)(MEM8(ecx + 0x21)) << 24; _flag_b = (uint32_t)(0) << 24; 3121 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3122 _flag_k = FK_NARROW(FK_CMP, 24); 3123 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01064B; /* 0x2F01063E: jne 0x2f01064b */ 3124 L_2F010640: 3125 edx = ecx; /* 0x2F010640: mov edx, ecx */ 3126 ecx = MEM32(edx + 0x8); /* 0x2F010642: mov ecx, dword ptr [edx + 8] */ 3127 /* cmp MEM8(ecx + 0x21), 0 */ /* 0x2F010645: cmp byte ptr [ecx + 0x21], 0 */ 3128 _flag_a = (uint32_t)(MEM8(ecx + 0x21)) << 24; _flag_b = (uint32_t)(0) << 24; 3129 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3130 _flag_k = FK_NARROW(FK_CMP, 24); 3131 RECOMP_BACKEDGE(); 3132 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010640; /* 0x2F010649: je 0x2f010640 */ 3133 L_2F01064B: 3134 MEM32(ebx + 0x8) = edx; /* 0x2F01064B: mov dword ptr [ebx + 8], edx */ 3135 L_2F01064E: 3136 esi = MEM32(ebp + (-0x4)); /* 0x2F01064E: mov esi, dword ptr [ebp - 4] */ 3137 SET_LO8(ebx, 1); /* 0x2F010651: mov bl, 1 */ 3138 /* cmp MEM8(esi + 0x20), LO8(ebx) */ /* 0x2F010653: cmp byte ptr [esi + 0x20], bl */ 3139 _flag_a = (uint32_t)(MEM8(esi + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3140 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3141 _flag_k = FK_NARROW(FK_CMP, 24); 3142 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0108BC; /* 0x2F010656: jne 0x2f0108bc */ 3143 L_2F01065C: 3144 ecx = MEM32(edi + 0x4); /* 0x2F01065C: mov ecx, dword ptr [edi + 4] */ 3145 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F01065F: cmp eax, dword ptr [ecx + 4] */ 3146 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 3147 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3148 _flag_k = FK_CMP; 3149 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0108B6; /* 0x2F010662: je 0x2f0108b6 */ 3150 L_2F010668: 3151 /* cmp MEM8(eax + 0x20), LO8(ebx) */ /* 0x2F010668: cmp byte ptr [eax + 0x20], bl */ 3152 _flag_a = (uint32_t)(MEM8(eax + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3153 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3154 _flag_k = FK_NARROW(FK_CMP, 24); 3155 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0108B6; /* 0x2F01066B: jne 0x2f0108b6 */ 3156 L_2F010671: 3157 edx = MEM32(eax + 0x4); /* 0x2F010671: mov edx, dword ptr [eax + 4] */ 3158 ecx = MEM32(edx); /* 0x2F010674: mov ecx, dword ptr [edx] */ 3159 /* cmp eax, ecx */ /* 0x2F010676: cmp eax, ecx */ 3160 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 3161 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3162 _flag_k = FK_CMP; 3163 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0106E8; /* 0x2F010678: jne 0x2f0106e8 */ 3164 L_2F01067A: 3165 ecx = MEM32(edx + 0x8); /* 0x2F01067A: mov ecx, dword ptr [edx + 8] */ 3166 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x2F01067D: mov dl, byte ptr [ecx + 0x20] */ 3167 /* test LO8(edx), LO8(edx) */ /* 0x2F010680: test dl, dl */ 3168 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 3169 _cf = 0; 3170 _flag_k = FK_NARROW(FK_TEST, 24); 3171 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F0106CF; /* 0x2F010682: jne 0x2f0106cf */ 3172 L_2F010684: 3173 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010684: mov byte ptr [ecx + 0x20], bl */ 3174 edx = MEM32(eax + 0x4); /* 0x2F010687: mov edx, dword ptr [eax + 4] */ 3175 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x2F01068A: mov byte ptr [edx + 0x20], 0 */ 3176 ecx = MEM32(eax + 0x4); /* 0x2F01068E: mov ecx, dword ptr [eax + 4] */ 3177 edx = MEM32(ecx + 0x8); /* 0x2F010691: mov edx, dword ptr [ecx + 8] */ 3178 esi = MEM32(edx); /* 0x2F010694: mov esi, dword ptr [edx] */ 3179 MEM32(ecx + 0x8) = esi; /* 0x2F010696: mov dword ptr [ecx + 8], esi */ 3180 esi = MEM32(edx); /* 0x2F010699: mov esi, dword ptr [edx] */ 3181 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F01069B: cmp esi, dword ptr [edi + 8] */ 3182 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3183 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3184 _flag_k = FK_CMP; 3185 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0106A3; /* 0x2F01069E: je 0x2f0106a3 */ 3186 L_2F0106A0: 3187 MEM32(esi + 0x4) = ecx; /* 0x2F0106A0: mov dword ptr [esi + 4], ecx */ 3188 L_2F0106A3: 3189 esi = MEM32(ecx + 0x4); /* 0x2F0106A3: mov esi, dword ptr [ecx + 4] */ 3190 MEM32(edx + 0x4) = esi; /* 0x2F0106A6: mov dword ptr [edx + 4], esi */ 3191 esi = MEM32(edi + 0x4); /* 0x2F0106A9: mov esi, dword ptr [edi + 4] */ 3192 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F0106AC: cmp ecx, dword ptr [esi + 4] */ 3193 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3194 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3195 _flag_k = FK_CMP; 3196 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0106B6; /* 0x2F0106AF: jne 0x2f0106b6 */ 3197 L_2F0106B1: 3198 MEM32(esi + 0x4) = edx; /* 0x2F0106B1: mov dword ptr [esi + 4], edx */ 3199 goto L_2F0106C4; /* 0x2F0106B4: jmp 0x2f0106c4 */ 3200 L_2F0106B6: 3201 esi = MEM32(ecx + 0x4); /* 0x2F0106B6: mov esi, dword ptr [ecx + 4] */ 3202 /* cmp ecx, MEM32(esi) */ /* 0x2F0106B9: cmp ecx, dword ptr [esi] */ 3203 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 3204 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3205 _flag_k = FK_CMP; 3206 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0106C1; /* 0x2F0106BB: jne 0x2f0106c1 */ 3207 L_2F0106BD: 3208 MEM32(esi) = edx; /* 0x2F0106BD: mov dword ptr [esi], edx */ 3209 goto L_2F0106C4; /* 0x2F0106BF: jmp 0x2f0106c4 */ 3210 L_2F0106C1: 3211 MEM32(esi + 0x8) = edx; /* 0x2F0106C1: mov dword ptr [esi + 8], edx */ 3212 L_2F0106C4: 3213 MEM32(edx) = ecx; /* 0x2F0106C4: mov dword ptr [edx], ecx */ 3214 MEM32(ecx + 0x4) = edx; /* 0x2F0106C6: mov dword ptr [ecx + 4], edx */ 3215 ecx = MEM32(eax + 0x4); /* 0x2F0106C9: mov ecx, dword ptr [eax + 4] */ 3216 ecx = MEM32(ecx + 0x8); /* 0x2F0106CC: mov ecx, dword ptr [ecx + 8] */ 3217 L_2F0106CF: 3218 edx = MEM32(ecx); /* 0x2F0106CF: mov edx, dword ptr [ecx] */ 3219 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F0106D1: cmp byte ptr [edx + 0x20], bl */ 3220 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3221 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3222 _flag_k = FK_NARROW(FK_CMP, 24); 3223 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01076A; /* 0x2F0106D4: jne 0x2f01076a */ 3224 L_2F0106DA: 3225 edx = MEM32(ecx + 0x8); /* 0x2F0106DA: mov edx, dword ptr [ecx + 8] */ 3226 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F0106DD: cmp byte ptr [edx + 0x20], bl */ 3227 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3228 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3229 _flag_k = FK_NARROW(FK_CMP, 24); 3230 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01076A; /* 0x2F0106E0: jne 0x2f01076a */ 3231 L_2F0106E6: 3232 goto L_2F010752; /* 0x2F0106E6: jmp 0x2f010752 */ 3233 L_2F0106E8: 3234 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x2F0106E8: mov dl, byte ptr [ecx + 0x20] */ 3235 /* test LO8(edx), LO8(edx) */ /* 0x2F0106EB: test dl, dl */ 3236 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 3237 _cf = 0; 3238 _flag_k = FK_NARROW(FK_TEST, 24); 3239 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F01073B; /* 0x2F0106ED: jne 0x2f01073b */ 3240 L_2F0106EF: 3241 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0106EF: mov byte ptr [ecx + 0x20], bl */ 3242 ecx = MEM32(eax + 0x4); /* 0x2F0106F2: mov ecx, dword ptr [eax + 4] */ 3243 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F0106F5: mov byte ptr [ecx + 0x20], 0 */ 3244 ecx = MEM32(eax + 0x4); /* 0x2F0106F9: mov ecx, dword ptr [eax + 4] */ 3245 edx = MEM32(ecx); /* 0x2F0106FC: mov edx, dword ptr [ecx] */ 3246 esi = MEM32(edx + 0x8); /* 0x2F0106FE: mov esi, dword ptr [edx + 8] */ 3247 MEM32(ecx) = esi; /* 0x2F010701: mov dword ptr [ecx], esi */ 3248 esi = MEM32(edx + 0x8); /* 0x2F010703: mov esi, dword ptr [edx + 8] */ 3249 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010706: cmp esi, dword ptr [edi + 8] */ 3250 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3251 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3252 _flag_k = FK_CMP; 3253 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01070E; /* 0x2F010709: je 0x2f01070e */ 3254 L_2F01070B: 3255 MEM32(esi + 0x4) = ecx; /* 0x2F01070B: mov dword ptr [esi + 4], ecx */ 3256 L_2F01070E: 3257 esi = MEM32(ecx + 0x4); /* 0x2F01070E: mov esi, dword ptr [ecx + 4] */ 3258 MEM32(edx + 0x4) = esi; /* 0x2F010711: mov dword ptr [edx + 4], esi */ 3259 esi = MEM32(edi + 0x4); /* 0x2F010714: mov esi, dword ptr [edi + 4] */ 3260 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010717: cmp ecx, dword ptr [esi + 4] */ 3261 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3262 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3263 _flag_k = FK_CMP; 3264 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010721; /* 0x2F01071A: jne 0x2f010721 */ 3265 L_2F01071C: 3266 MEM32(esi + 0x4) = edx; /* 0x2F01071C: mov dword ptr [esi + 4], edx */ 3267 goto L_2F010730; /* 0x2F01071F: jmp 0x2f010730 */ 3268 L_2F010721: 3269 esi = MEM32(ecx + 0x4); /* 0x2F010721: mov esi, dword ptr [ecx + 4] */ 3270 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F010724: cmp ecx, dword ptr [esi + 8] */ 3271 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3272 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3273 _flag_k = FK_CMP; 3274 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01072E; /* 0x2F010727: jne 0x2f01072e */ 3275 L_2F010729: 3276 MEM32(esi + 0x8) = edx; /* 0x2F010729: mov dword ptr [esi + 8], edx */ 3277 goto L_2F010730; /* 0x2F01072C: jmp 0x2f010730 */ 3278 L_2F01072E: 3279 MEM32(esi) = edx; /* 0x2F01072E: mov dword ptr [esi], edx */ 3280 L_2F010730: 3281 MEM32(edx + 0x8) = ecx; /* 0x2F010730: mov dword ptr [edx + 8], ecx */ 3282 MEM32(ecx + 0x4) = edx; /* 0x2F010733: mov dword ptr [ecx + 4], edx */ 3283 edx = MEM32(eax + 0x4); /* 0x2F010736: mov edx, dword ptr [eax + 4] */ 3284 ecx = MEM32(edx); /* 0x2F010739: mov ecx, dword ptr [edx] */ 3285 L_2F01073B: 3286 edx = MEM32(ecx + 0x8); /* 0x2F01073B: mov edx, dword ptr [ecx + 8] */ 3287 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F01073E: cmp byte ptr [edx + 0x20], bl */ 3288 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3289 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3290 _flag_k = FK_NARROW(FK_CMP, 24); 3291 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010817; /* 0x2F010741: jne 0x2f010817 */ 3292 L_2F010747: 3293 edx = MEM32(ecx); /* 0x2F010747: mov edx, dword ptr [ecx] */ 3294 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F010749: cmp byte ptr [edx + 0x20], bl */ 3295 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3296 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3297 _flag_k = FK_NARROW(FK_CMP, 24); 3298 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010817; /* 0x2F01074C: jne 0x2f010817 */ 3299 L_2F010752: 3300 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010752: mov byte ptr [ecx + 0x20], 0 */ 3301 ecx = MEM32(edi + 0x4); /* 0x2F010756: mov ecx, dword ptr [edi + 4] */ 3302 eax = MEM32(eax + 0x4); /* 0x2F010759: mov eax, dword ptr [eax + 4] */ 3303 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F01075C: cmp eax, dword ptr [ecx + 4] */ 3304 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 3305 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3306 _flag_k = FK_CMP; 3307 RECOMP_BACKEDGE(); 3308 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010668; /* 0x2F01075F: jne 0x2f010668 */ 3309 L_2F010765: 3310 goto L_2F0108B6; /* 0x2F010765: jmp 0x2f0108b6 */ 3311 L_2F01076A: 3312 edx = MEM32(ecx + 0x8); /* 0x2F01076A: mov edx, dword ptr [ecx + 8] */ 3313 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F01076D: cmp byte ptr [edx + 0x20], bl */ 3314 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3315 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3316 _flag_k = FK_NARROW(FK_CMP, 24); 3317 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0107BB; /* 0x2F010770: jne 0x2f0107bb */ 3318 L_2F010772: 3319 edx = MEM32(ecx); /* 0x2F010772: mov edx, dword ptr [ecx] */ 3320 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010774: mov byte ptr [edx + 0x20], bl */ 3321 edx = MEM32(ecx); /* 0x2F010777: mov edx, dword ptr [ecx] */ 3322 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010779: mov byte ptr [ecx + 0x20], 0 */ 3323 esi = MEM32(edx + 0x8); /* 0x2F01077D: mov esi, dword ptr [edx + 8] */ 3324 MEM32(ecx) = esi; /* 0x2F010780: mov dword ptr [ecx], esi */ 3325 esi = MEM32(edx + 0x8); /* 0x2F010782: mov esi, dword ptr [edx + 8] */ 3326 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010785: cmp esi, dword ptr [edi + 8] */ 3327 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3328 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3329 _flag_k = FK_CMP; 3330 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01078D; /* 0x2F010788: je 0x2f01078d */ 3331 L_2F01078A: 3332 MEM32(esi + 0x4) = ecx; /* 0x2F01078A: mov dword ptr [esi + 4], ecx */ 3333 L_2F01078D: 3334 esi = MEM32(ecx + 0x4); /* 0x2F01078D: mov esi, dword ptr [ecx + 4] */ 3335 MEM32(edx + 0x4) = esi; /* 0x2F010790: mov dword ptr [edx + 4], esi */ 3336 esi = MEM32(edi + 0x4); /* 0x2F010793: mov esi, dword ptr [edi + 4] */ 3337 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010796: cmp ecx, dword ptr [esi + 4] */ 3338 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 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_2F0107A0; /* 0x2F010799: jne 0x2f0107a0 */ 3342 L_2F01079B: 3343 MEM32(esi + 0x4) = edx; /* 0x2F01079B: mov dword ptr [esi + 4], edx */ 3344 goto L_2F0107AF; /* 0x2F01079E: jmp 0x2f0107af */ 3345 L_2F0107A0: 3346 esi = MEM32(ecx + 0x4); /* 0x2F0107A0: mov esi, dword ptr [ecx + 4] */ 3347 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F0107A3: cmp ecx, dword ptr [esi + 8] */ 3348 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3349 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3350 _flag_k = FK_CMP; 3351 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0107AD; /* 0x2F0107A6: jne 0x2f0107ad */ 3352 L_2F0107A8: 3353 MEM32(esi + 0x8) = edx; /* 0x2F0107A8: mov dword ptr [esi + 8], edx */ 3354 goto L_2F0107AF; /* 0x2F0107AB: jmp 0x2f0107af */ 3355 L_2F0107AD: 3356 MEM32(esi) = edx; /* 0x2F0107AD: mov dword ptr [esi], edx */ 3357 L_2F0107AF: 3358 MEM32(edx + 0x8) = ecx; /* 0x2F0107AF: mov dword ptr [edx + 8], ecx */ 3359 MEM32(ecx + 0x4) = edx; /* 0x2F0107B2: mov dword ptr [ecx + 4], edx */ 3360 ecx = MEM32(eax + 0x4); /* 0x2F0107B5: mov ecx, dword ptr [eax + 4] */ 3361 ecx = MEM32(ecx + 0x8); /* 0x2F0107B8: mov ecx, dword ptr [ecx + 8] */ 3362 L_2F0107BB: 3363 edx = MEM32(eax + 0x4); /* 0x2F0107BB: mov edx, dword ptr [eax + 4] */ 3364 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x2F0107BE: mov dl, byte ptr [edx + 0x20] */ 3365 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x2F0107C1: mov byte ptr [ecx + 0x20], dl */ 3366 edx = MEM32(eax + 0x4); /* 0x2F0107C4: mov edx, dword ptr [eax + 4] */ 3367 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0107C7: mov byte ptr [edx + 0x20], bl */ 3368 ecx = MEM32(ecx + 0x8); /* 0x2F0107CA: mov ecx, dword ptr [ecx + 8] */ 3369 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0107CD: mov byte ptr [ecx + 0x20], bl */ 3370 ecx = MEM32(eax + 0x4); /* 0x2F0107D0: mov ecx, dword ptr [eax + 4] */ 3371 edx = MEM32(ecx + 0x8); /* 0x2F0107D3: mov edx, dword ptr [ecx + 8] */ 3372 esi = MEM32(edx); /* 0x2F0107D6: mov esi, dword ptr [edx] */ 3373 MEM32(ecx + 0x8) = esi; /* 0x2F0107D8: mov dword ptr [ecx + 8], esi */ 3374 esi = MEM32(edx); /* 0x2F0107DB: mov esi, dword ptr [edx] */ 3375 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F0107DD: cmp esi, dword ptr [edi + 8] */ 3376 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3377 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3378 _flag_k = FK_CMP; 3379 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0107E5; /* 0x2F0107E0: je 0x2f0107e5 */ 3380 L_2F0107E2: 3381 MEM32(esi + 0x4) = ecx; /* 0x2F0107E2: mov dword ptr [esi + 4], ecx */ 3382 L_2F0107E5: 3383 esi = MEM32(ecx + 0x4); /* 0x2F0107E5: mov esi, dword ptr [ecx + 4] */ 3384 MEM32(edx + 0x4) = esi; /* 0x2F0107E8: mov dword ptr [edx + 4], esi */ 3385 esi = MEM32(edi + 0x4); /* 0x2F0107EB: mov esi, dword ptr [edi + 4] */ 3386 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F0107EE: cmp ecx, dword ptr [esi + 4] */ 3387 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3388 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3389 _flag_k = FK_CMP; 3390 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0107FD; /* 0x2F0107F1: jne 0x2f0107fd */ 3391 L_2F0107F3: 3392 MEM32(esi + 0x4) = edx; /* 0x2F0107F3: mov dword ptr [esi + 4], edx */ 3393 MEM32(edx) = ecx; /* 0x2F0107F6: mov dword ptr [edx], ecx */ 3394 goto L_2F0108B3; /* 0x2F0107F8: jmp 0x2f0108b3 */ 3395 L_2F0107FD: 3396 esi = MEM32(ecx + 0x4); /* 0x2F0107FD: mov esi, dword ptr [ecx + 4] */ 3397 /* cmp ecx, MEM32(esi) */ /* 0x2F010800: cmp ecx, dword ptr [esi] */ 3398 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 3399 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3400 _flag_k = FK_CMP; 3401 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01080D; /* 0x2F010802: jne 0x2f01080d */ 3402 L_2F010804: 3403 MEM32(esi) = edx; /* 0x2F010804: mov dword ptr [esi], edx */ 3404 MEM32(edx) = ecx; /* 0x2F010806: mov dword ptr [edx], ecx */ 3405 goto L_2F0108B3; /* 0x2F010808: jmp 0x2f0108b3 */ 3406 L_2F01080D: 3407 MEM32(esi + 0x8) = edx; /* 0x2F01080D: mov dword ptr [esi + 8], edx */ 3408 MEM32(edx) = ecx; /* 0x2F010810: mov dword ptr [edx], ecx */ 3409 goto L_2F0108B3; /* 0x2F010812: jmp 0x2f0108b3 */ 3410 L_2F010817: 3411 edx = MEM32(ecx); /* 0x2F010817: mov edx, dword ptr [ecx] */ 3412 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F010819: cmp byte ptr [edx + 0x20], bl */ 3413 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3414 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3415 _flag_k = FK_NARROW(FK_CMP, 24); 3416 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010865; /* 0x2F01081C: jne 0x2f010865 */ 3417 L_2F01081E: 3418 edx = MEM32(ecx + 0x8); /* 0x2F01081E: mov edx, dword ptr [ecx + 8] */ 3419 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010821: mov byte ptr [edx + 0x20], bl */ 3420 edx = MEM32(ecx + 0x8); /* 0x2F010824: mov edx, dword ptr [ecx + 8] */ 3421 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010827: mov byte ptr [ecx + 0x20], 0 */ 3422 esi = MEM32(edx); /* 0x2F01082B: mov esi, dword ptr [edx] */ 3423 MEM32(ecx + 0x8) = esi; /* 0x2F01082D: mov dword ptr [ecx + 8], esi */ 3424 esi = MEM32(edx); /* 0x2F010830: mov esi, dword ptr [edx] */ 3425 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010832: cmp esi, dword ptr [edi + 8] */ 3426 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3427 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3428 _flag_k = FK_CMP; 3429 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01083A; /* 0x2F010835: je 0x2f01083a */ 3430 L_2F010837: 3431 MEM32(esi + 0x4) = ecx; /* 0x2F010837: mov dword ptr [esi + 4], ecx */ 3432 L_2F01083A: 3433 esi = MEM32(ecx + 0x4); /* 0x2F01083A: mov esi, dword ptr [ecx + 4] */ 3434 MEM32(edx + 0x4) = esi; /* 0x2F01083D: mov dword ptr [edx + 4], esi */ 3435 esi = MEM32(edi + 0x4); /* 0x2F010840: mov esi, dword ptr [edi + 4] */ 3436 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010843: cmp ecx, dword ptr [esi + 4] */ 3437 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3438 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3439 _flag_k = FK_CMP; 3440 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01084D; /* 0x2F010846: jne 0x2f01084d */ 3441 L_2F010848: 3442 MEM32(esi + 0x4) = edx; /* 0x2F010848: mov dword ptr [esi + 4], edx */ 3443 goto L_2F01085B; /* 0x2F01084B: jmp 0x2f01085b */ 3444 L_2F01084D: 3445 esi = MEM32(ecx + 0x4); /* 0x2F01084D: mov esi, dword ptr [ecx + 4] */ 3446 /* cmp ecx, MEM32(esi) */ /* 0x2F010850: cmp ecx, dword ptr [esi] */ 3447 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 3448 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3449 _flag_k = FK_CMP; 3450 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010858; /* 0x2F010852: jne 0x2f010858 */ 3451 L_2F010854: 3452 MEM32(esi) = edx; /* 0x2F010854: mov dword ptr [esi], edx */ 3453 goto L_2F01085B; /* 0x2F010856: jmp 0x2f01085b */ 3454 L_2F010858: 3455 MEM32(esi + 0x8) = edx; /* 0x2F010858: mov dword ptr [esi + 8], edx */ 3456 L_2F01085B: 3457 MEM32(edx) = ecx; /* 0x2F01085B: mov dword ptr [edx], ecx */ 3458 MEM32(ecx + 0x4) = edx; /* 0x2F01085D: mov dword ptr [ecx + 4], edx */ 3459 ecx = MEM32(eax + 0x4); /* 0x2F010860: mov ecx, dword ptr [eax + 4] */ 3460 ecx = MEM32(ecx); /* 0x2F010863: mov ecx, dword ptr [ecx] */ 3461 L_2F010865: 3462 edx = MEM32(eax + 0x4); /* 0x2F010865: mov edx, dword ptr [eax + 4] */ 3463 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x2F010868: mov dl, byte ptr [edx + 0x20] */ 3464 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x2F01086B: mov byte ptr [ecx + 0x20], dl */ 3465 edx = MEM32(eax + 0x4); /* 0x2F01086E: mov edx, dword ptr [eax + 4] */ 3466 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010871: mov byte ptr [edx + 0x20], bl */ 3467 ecx = MEM32(ecx); /* 0x2F010874: mov ecx, dword ptr [ecx] */ 3468 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010876: mov byte ptr [ecx + 0x20], bl */ 3469 ecx = MEM32(eax + 0x4); /* 0x2F010879: mov ecx, dword ptr [eax + 4] */ 3470 edx = MEM32(ecx); /* 0x2F01087C: mov edx, dword ptr [ecx] */ 3471 esi = MEM32(edx + 0x8); /* 0x2F01087E: mov esi, dword ptr [edx + 8] */ 3472 MEM32(ecx) = esi; /* 0x2F010881: mov dword ptr [ecx], esi */ 3473 esi = MEM32(edx + 0x8); /* 0x2F010883: mov esi, dword ptr [edx + 8] */ 3474 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010886: cmp esi, dword ptr [edi + 8] */ 3475 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3476 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3477 _flag_k = FK_CMP; 3478 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01088E; /* 0x2F010889: je 0x2f01088e */ 3479 L_2F01088B: 3480 MEM32(esi + 0x4) = ecx; /* 0x2F01088B: mov dword ptr [esi + 4], ecx */ 3481 L_2F01088E: 3482 esi = MEM32(ecx + 0x4); /* 0x2F01088E: mov esi, dword ptr [ecx + 4] */ 3483 MEM32(edx + 0x4) = esi; /* 0x2F010891: mov dword ptr [edx + 4], esi */ 3484 esi = MEM32(edi + 0x4); /* 0x2F010894: mov esi, dword ptr [edi + 4] */ 3485 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010897: cmp ecx, dword ptr [esi + 4] */ 3486 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3487 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3488 _flag_k = FK_CMP; 3489 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0108A1; /* 0x2F01089A: jne 0x2f0108a1 */ 3490 L_2F01089C: 3491 MEM32(esi + 0x4) = edx; /* 0x2F01089C: mov dword ptr [esi + 4], edx */ 3492 goto L_2F0108B0; /* 0x2F01089F: jmp 0x2f0108b0 */ 3493 L_2F0108A1: 3494 esi = MEM32(ecx + 0x4); /* 0x2F0108A1: mov esi, dword ptr [ecx + 4] */ 3495 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F0108A4: cmp ecx, dword ptr [esi + 8] */ 3496 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3497 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3498 _flag_k = FK_CMP; 3499 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0108AE; /* 0x2F0108A7: jne 0x2f0108ae */ 3500 L_2F0108A9: 3501 MEM32(esi + 0x8) = edx; /* 0x2F0108A9: mov dword ptr [esi + 8], edx */ 3502 goto L_2F0108B0; /* 0x2F0108AC: jmp 0x2f0108b0 */ 3503 L_2F0108AE: 3504 MEM32(esi) = edx; /* 0x2F0108AE: mov dword ptr [esi], edx */ 3505 L_2F0108B0: 3506 MEM32(edx + 0x8) = ecx; /* 0x2F0108B0: mov dword ptr [edx + 8], ecx */ 3507 L_2F0108B3: 3508 MEM32(ecx + 0x4) = edx; /* 0x2F0108B3: mov dword ptr [ecx + 4], edx */ 3509 L_2F0108B6: 3510 esi = MEM32(ebp + (-0x4)); /* 0x2F0108B6: mov esi, dword ptr [ebp - 4] */ 3511 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0108B9: mov byte ptr [eax + 0x20], bl */ 3512 L_2F0108BC: 3513 ecx = esi + 0xC; /* 0x2F0108BC: lea ecx, [esi + 0xc] */ 3514 RECOMP_ICALL(0x2F00F8E0u); /* 0x2F0108BF: call 0x2f00f8e0 */ /* not lifted */ 3515 RECOMP_FLAGS_IN(); 3516 PUSH32(esp, esi); /* 0x2F0108C4: push esi */ 3517 RECOMP_ICALL(0x2F0116B4u); /* 0x2F0108C5: call 0x2f0116b4 */ /* not lifted */ 3518 RECOMP_FLAGS_IN(); 3519 eax = MEM32(edi + 0x10); /* 0x2F0108CA: mov eax, dword ptr [edi + 0x10] */ 3520 edx = MEM32(ebp + 0xC); /* 0x2F0108CD: mov edx, dword ptr [ebp + 0xc] */ 3521 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3522 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3523 esp = esp + 4; /* 0x2F0108D0: add esp, 4 */ 3524 _flag_k = FK_ADD; 3525 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3526 eax = eax - 1; /* 0x2F0108D3: dec eax */ 3527 _flag_k = FK_DEC; 3528 MEM32(edi + 0x10) = eax; /* 0x2F0108D4: mov dword ptr [edi + 0x10], eax */ 3529 eax = MEM32(ebp + 0x8); /* 0x2F0108D7: mov eax, dword ptr [ebp + 8] */ 3530 edi = POP32_VAL(esp); /* 0x2F0108DA: pop edi */ 3531 esi = POP32_VAL(esp); /* 0x2F0108DB: pop esi */ 3532 MEM32(eax) = edx; /* 0x2F0108DC: mov dword ptr [eax], edx */ 3533 ebx = POP32_VAL(esp); /* 0x2F0108DE: pop ebx */ 3534 esp = ebp; /* 0x2F0108DF: mov esp, ebp */ 3535 ebp = POP32_VAL(esp); /* 0x2F0108E1: pop ebp */ 3536 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2F0108E2: ret 8 */ 3537 RECOMP_REGS_OUT(); 3538 } 3539 3540 void sub_2F0105F3(void) { 3541 int _fpu_cmp = 0; 3542 uint32_t _cf = 0; 3543 int _df = 1; 3544 uint32_t _flag_k = FK_NONE; 3545 uint32_t _flag_a = 0, _flag_b = 0; 3546 uint32_t _itail_tgt = 0; 3547 RECOMP_REGS_LOCALS 3548 RECOMP_ENTER(0x2F0105F3u); 3549 3550 L_2F0105F3: 3551 ebx = MEM32(edi + 0x4); /* 0x2F0105F3: mov ebx, dword ptr [edi + 4] */ 3552 /* cmp MEM32(ebx), esi */ /* 0x2F0105F6: cmp dword ptr [ebx], esi */ 3553 _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(esi); 3554 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3555 _flag_k = FK_CMP; 3556 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01061F; /* 0x2F0105F8: jne 0x2f01061f */ 3557 L_2F0105FA: 3558 ecx = MEM32(esi + 0x8); /* 0x2F0105FA: mov ecx, dword ptr [esi + 8] */ 3559 edx = MEM32(edi + 0x8); /* 0x2F0105FD: mov edx, dword ptr [edi + 8] */ 3560 /* cmp ecx, edx */ /* 0x2F010600: cmp ecx, edx */ 3561 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 3562 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3563 _flag_k = FK_CMP; 3564 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010609; /* 0x2F010602: jne 0x2f010609 */ 3565 L_2F010604: 3566 edx = MEM32(esi + 0x4); /* 0x2F010604: mov edx, dword ptr [esi + 4] */ 3567 goto L_2F01061D; /* 0x2F010607: jmp 0x2f01061d */ 3568 L_2F010609: 3569 ecx = MEM32(eax); /* 0x2F010609: mov ecx, dword ptr [eax] */ 3570 edx = eax; /* 0x2F01060B: mov edx, eax */ 3571 /* cmp MEM8(ecx + 0x21), 0 */ /* 0x2F01060D: cmp byte ptr [ecx + 0x21], 0 */ 3572 _flag_a = (uint32_t)(MEM8(ecx + 0x21)) << 24; _flag_b = (uint32_t)(0) << 24; 3573 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3574 _flag_k = FK_NARROW(FK_CMP, 24); 3575 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01061D; /* 0x2F010611: jne 0x2f01061d */ 3576 L_2F010613: 3577 edx = ecx; /* 0x2F010613: mov edx, ecx */ 3578 ecx = MEM32(edx); /* 0x2F010615: mov ecx, dword ptr [edx] */ 3579 /* cmp MEM8(ecx + 0x21), 0 */ /* 0x2F010617: cmp byte ptr [ecx + 0x21], 0 */ 3580 _flag_a = (uint32_t)(MEM8(ecx + 0x21)) << 24; _flag_b = (uint32_t)(0) << 24; 3581 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3582 _flag_k = FK_NARROW(FK_CMP, 24); 3583 RECOMP_BACKEDGE(); 3584 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010613; /* 0x2F01061B: je 0x2f010613 */ 3585 L_2F01061D: 3586 MEM32(ebx) = edx; /* 0x2F01061D: mov dword ptr [ebx], edx */ 3587 L_2F01061F: 3588 ebx = MEM32(edi + 0x4); /* 0x2F01061F: mov ebx, dword ptr [edi + 4] */ 3589 /* cmp MEM32(ebx + 0x8), esi */ /* 0x2F010622: cmp dword ptr [ebx + 8], esi */ 3590 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 3591 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3592 _flag_k = FK_CMP; 3593 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01064E; /* 0x2F010625: jne 0x2f01064e */ 3594 L_2F010627: 3595 ecx = MEM32(esi); /* 0x2F010627: mov ecx, dword ptr [esi] */ 3596 edx = MEM32(edi + 0x8); /* 0x2F010629: mov edx, dword ptr [edi + 8] */ 3597 /* cmp ecx, edx */ /* 0x2F01062C: cmp ecx, edx */ 3598 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 3599 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3600 _flag_k = FK_CMP; 3601 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010635; /* 0x2F01062E: jne 0x2f010635 */ 3602 L_2F010630: 3603 edx = MEM32(esi + 0x4); /* 0x2F010630: mov edx, dword ptr [esi + 4] */ 3604 goto L_2F01064B; /* 0x2F010633: jmp 0x2f01064b */ 3605 L_2F010635: 3606 ecx = MEM32(eax + 0x8); /* 0x2F010635: mov ecx, dword ptr [eax + 8] */ 3607 edx = eax; /* 0x2F010638: mov edx, eax */ 3608 /* cmp MEM8(ecx + 0x21), 0 */ /* 0x2F01063A: cmp byte ptr [ecx + 0x21], 0 */ 3609 _flag_a = (uint32_t)(MEM8(ecx + 0x21)) << 24; _flag_b = (uint32_t)(0) << 24; 3610 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3611 _flag_k = FK_NARROW(FK_CMP, 24); 3612 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01064B; /* 0x2F01063E: jne 0x2f01064b */ 3613 L_2F010640: 3614 edx = ecx; /* 0x2F010640: mov edx, ecx */ 3615 ecx = MEM32(edx + 0x8); /* 0x2F010642: mov ecx, dword ptr [edx + 8] */ 3616 /* cmp MEM8(ecx + 0x21), 0 */ /* 0x2F010645: cmp byte ptr [ecx + 0x21], 0 */ 3617 _flag_a = (uint32_t)(MEM8(ecx + 0x21)) << 24; _flag_b = (uint32_t)(0) << 24; 3618 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3619 _flag_k = FK_NARROW(FK_CMP, 24); 3620 RECOMP_BACKEDGE(); 3621 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010640; /* 0x2F010649: je 0x2f010640 */ 3622 L_2F01064B: 3623 MEM32(ebx + 0x8) = edx; /* 0x2F01064B: mov dword ptr [ebx + 8], edx */ 3624 L_2F01064E: 3625 esi = MEM32(ebp + (-0x4)); /* 0x2F01064E: mov esi, dword ptr [ebp - 4] */ 3626 SET_LO8(ebx, 1); /* 0x2F010651: mov bl, 1 */ 3627 /* cmp MEM8(esi + 0x20), LO8(ebx) */ /* 0x2F010653: cmp byte ptr [esi + 0x20], bl */ 3628 _flag_a = (uint32_t)(MEM8(esi + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3629 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3630 _flag_k = FK_NARROW(FK_CMP, 24); 3631 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0108BC; /* 0x2F010656: jne 0x2f0108bc */ 3632 L_2F01065C: 3633 ecx = MEM32(edi + 0x4); /* 0x2F01065C: mov ecx, dword ptr [edi + 4] */ 3634 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F01065F: cmp eax, dword ptr [ecx + 4] */ 3635 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 3636 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3637 _flag_k = FK_CMP; 3638 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0108B6; /* 0x2F010662: je 0x2f0108b6 */ 3639 L_2F010668: 3640 /* cmp MEM8(eax + 0x20), LO8(ebx) */ /* 0x2F010668: cmp byte ptr [eax + 0x20], bl */ 3641 _flag_a = (uint32_t)(MEM8(eax + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3642 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3643 _flag_k = FK_NARROW(FK_CMP, 24); 3644 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0108B6; /* 0x2F01066B: jne 0x2f0108b6 */ 3645 L_2F010671: 3646 edx = MEM32(eax + 0x4); /* 0x2F010671: mov edx, dword ptr [eax + 4] */ 3647 ecx = MEM32(edx); /* 0x2F010674: mov ecx, dword ptr [edx] */ 3648 /* cmp eax, ecx */ /* 0x2F010676: cmp eax, ecx */ 3649 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 3650 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3651 _flag_k = FK_CMP; 3652 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0106E8; /* 0x2F010678: jne 0x2f0106e8 */ 3653 L_2F01067A: 3654 ecx = MEM32(edx + 0x8); /* 0x2F01067A: mov ecx, dword ptr [edx + 8] */ 3655 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x2F01067D: mov dl, byte ptr [ecx + 0x20] */ 3656 /* test LO8(edx), LO8(edx) */ /* 0x2F010680: test dl, dl */ 3657 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 3658 _cf = 0; 3659 _flag_k = FK_NARROW(FK_TEST, 24); 3660 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F0106CF; /* 0x2F010682: jne 0x2f0106cf */ 3661 L_2F010684: 3662 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010684: mov byte ptr [ecx + 0x20], bl */ 3663 edx = MEM32(eax + 0x4); /* 0x2F010687: mov edx, dword ptr [eax + 4] */ 3664 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x2F01068A: mov byte ptr [edx + 0x20], 0 */ 3665 ecx = MEM32(eax + 0x4); /* 0x2F01068E: mov ecx, dword ptr [eax + 4] */ 3666 edx = MEM32(ecx + 0x8); /* 0x2F010691: mov edx, dword ptr [ecx + 8] */ 3667 esi = MEM32(edx); /* 0x2F010694: mov esi, dword ptr [edx] */ 3668 MEM32(ecx + 0x8) = esi; /* 0x2F010696: mov dword ptr [ecx + 8], esi */ 3669 esi = MEM32(edx); /* 0x2F010699: mov esi, dword ptr [edx] */ 3670 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F01069B: cmp esi, dword ptr [edi + 8] */ 3671 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3672 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3673 _flag_k = FK_CMP; 3674 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0106A3; /* 0x2F01069E: je 0x2f0106a3 */ 3675 L_2F0106A0: 3676 MEM32(esi + 0x4) = ecx; /* 0x2F0106A0: mov dword ptr [esi + 4], ecx */ 3677 L_2F0106A3: 3678 esi = MEM32(ecx + 0x4); /* 0x2F0106A3: mov esi, dword ptr [ecx + 4] */ 3679 MEM32(edx + 0x4) = esi; /* 0x2F0106A6: mov dword ptr [edx + 4], esi */ 3680 esi = MEM32(edi + 0x4); /* 0x2F0106A9: mov esi, dword ptr [edi + 4] */ 3681 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F0106AC: cmp ecx, dword ptr [esi + 4] */ 3682 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3683 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3684 _flag_k = FK_CMP; 3685 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0106B6; /* 0x2F0106AF: jne 0x2f0106b6 */ 3686 L_2F0106B1: 3687 MEM32(esi + 0x4) = edx; /* 0x2F0106B1: mov dword ptr [esi + 4], edx */ 3688 goto L_2F0106C4; /* 0x2F0106B4: jmp 0x2f0106c4 */ 3689 L_2F0106B6: 3690 esi = MEM32(ecx + 0x4); /* 0x2F0106B6: mov esi, dword ptr [ecx + 4] */ 3691 /* cmp ecx, MEM32(esi) */ /* 0x2F0106B9: cmp ecx, dword ptr [esi] */ 3692 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 3693 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3694 _flag_k = FK_CMP; 3695 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0106C1; /* 0x2F0106BB: jne 0x2f0106c1 */ 3696 L_2F0106BD: 3697 MEM32(esi) = edx; /* 0x2F0106BD: mov dword ptr [esi], edx */ 3698 goto L_2F0106C4; /* 0x2F0106BF: jmp 0x2f0106c4 */ 3699 L_2F0106C1: 3700 MEM32(esi + 0x8) = edx; /* 0x2F0106C1: mov dword ptr [esi + 8], edx */ 3701 L_2F0106C4: 3702 MEM32(edx) = ecx; /* 0x2F0106C4: mov dword ptr [edx], ecx */ 3703 MEM32(ecx + 0x4) = edx; /* 0x2F0106C6: mov dword ptr [ecx + 4], edx */ 3704 ecx = MEM32(eax + 0x4); /* 0x2F0106C9: mov ecx, dword ptr [eax + 4] */ 3705 ecx = MEM32(ecx + 0x8); /* 0x2F0106CC: mov ecx, dword ptr [ecx + 8] */ 3706 L_2F0106CF: 3707 edx = MEM32(ecx); /* 0x2F0106CF: mov edx, dword ptr [ecx] */ 3708 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F0106D1: cmp byte ptr [edx + 0x20], bl */ 3709 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3710 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3711 _flag_k = FK_NARROW(FK_CMP, 24); 3712 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01076A; /* 0x2F0106D4: jne 0x2f01076a */ 3713 L_2F0106DA: 3714 edx = MEM32(ecx + 0x8); /* 0x2F0106DA: mov edx, dword ptr [ecx + 8] */ 3715 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F0106DD: cmp byte ptr [edx + 0x20], bl */ 3716 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3717 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3718 _flag_k = FK_NARROW(FK_CMP, 24); 3719 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01076A; /* 0x2F0106E0: jne 0x2f01076a */ 3720 L_2F0106E6: 3721 goto L_2F010752; /* 0x2F0106E6: jmp 0x2f010752 */ 3722 L_2F0106E8: 3723 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x2F0106E8: mov dl, byte ptr [ecx + 0x20] */ 3724 /* test LO8(edx), LO8(edx) */ /* 0x2F0106EB: test dl, dl */ 3725 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 3726 _cf = 0; 3727 _flag_k = FK_NARROW(FK_TEST, 24); 3728 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F01073B; /* 0x2F0106ED: jne 0x2f01073b */ 3729 L_2F0106EF: 3730 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0106EF: mov byte ptr [ecx + 0x20], bl */ 3731 ecx = MEM32(eax + 0x4); /* 0x2F0106F2: mov ecx, dword ptr [eax + 4] */ 3732 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F0106F5: mov byte ptr [ecx + 0x20], 0 */ 3733 ecx = MEM32(eax + 0x4); /* 0x2F0106F9: mov ecx, dword ptr [eax + 4] */ 3734 edx = MEM32(ecx); /* 0x2F0106FC: mov edx, dword ptr [ecx] */ 3735 esi = MEM32(edx + 0x8); /* 0x2F0106FE: mov esi, dword ptr [edx + 8] */ 3736 MEM32(ecx) = esi; /* 0x2F010701: mov dword ptr [ecx], esi */ 3737 esi = MEM32(edx + 0x8); /* 0x2F010703: mov esi, dword ptr [edx + 8] */ 3738 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010706: cmp esi, dword ptr [edi + 8] */ 3739 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3740 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3741 _flag_k = FK_CMP; 3742 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01070E; /* 0x2F010709: je 0x2f01070e */ 3743 L_2F01070B: 3744 MEM32(esi + 0x4) = ecx; /* 0x2F01070B: mov dword ptr [esi + 4], ecx */ 3745 L_2F01070E: 3746 esi = MEM32(ecx + 0x4); /* 0x2F01070E: mov esi, dword ptr [ecx + 4] */ 3747 MEM32(edx + 0x4) = esi; /* 0x2F010711: mov dword ptr [edx + 4], esi */ 3748 esi = MEM32(edi + 0x4); /* 0x2F010714: mov esi, dword ptr [edi + 4] */ 3749 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010717: cmp ecx, dword ptr [esi + 4] */ 3750 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3751 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3752 _flag_k = FK_CMP; 3753 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010721; /* 0x2F01071A: jne 0x2f010721 */ 3754 L_2F01071C: 3755 MEM32(esi + 0x4) = edx; /* 0x2F01071C: mov dword ptr [esi + 4], edx */ 3756 goto L_2F010730; /* 0x2F01071F: jmp 0x2f010730 */ 3757 L_2F010721: 3758 esi = MEM32(ecx + 0x4); /* 0x2F010721: mov esi, dword ptr [ecx + 4] */ 3759 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F010724: cmp ecx, dword ptr [esi + 8] */ 3760 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3761 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3762 _flag_k = FK_CMP; 3763 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01072E; /* 0x2F010727: jne 0x2f01072e */ 3764 L_2F010729: 3765 MEM32(esi + 0x8) = edx; /* 0x2F010729: mov dword ptr [esi + 8], edx */ 3766 goto L_2F010730; /* 0x2F01072C: jmp 0x2f010730 */ 3767 L_2F01072E: 3768 MEM32(esi) = edx; /* 0x2F01072E: mov dword ptr [esi], edx */ 3769 L_2F010730: 3770 MEM32(edx + 0x8) = ecx; /* 0x2F010730: mov dword ptr [edx + 8], ecx */ 3771 MEM32(ecx + 0x4) = edx; /* 0x2F010733: mov dword ptr [ecx + 4], edx */ 3772 edx = MEM32(eax + 0x4); /* 0x2F010736: mov edx, dword ptr [eax + 4] */ 3773 ecx = MEM32(edx); /* 0x2F010739: mov ecx, dword ptr [edx] */ 3774 L_2F01073B: 3775 edx = MEM32(ecx + 0x8); /* 0x2F01073B: mov edx, dword ptr [ecx + 8] */ 3776 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F01073E: cmp byte ptr [edx + 0x20], bl */ 3777 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3778 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3779 _flag_k = FK_NARROW(FK_CMP, 24); 3780 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010817; /* 0x2F010741: jne 0x2f010817 */ 3781 L_2F010747: 3782 edx = MEM32(ecx); /* 0x2F010747: mov edx, dword ptr [ecx] */ 3783 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F010749: cmp byte ptr [edx + 0x20], bl */ 3784 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 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_2F010817; /* 0x2F01074C: jne 0x2f010817 */ 3788 L_2F010752: 3789 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010752: mov byte ptr [ecx + 0x20], 0 */ 3790 ecx = MEM32(edi + 0x4); /* 0x2F010756: mov ecx, dword ptr [edi + 4] */ 3791 eax = MEM32(eax + 0x4); /* 0x2F010759: mov eax, dword ptr [eax + 4] */ 3792 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F01075C: cmp eax, dword ptr [ecx + 4] */ 3793 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 3794 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3795 _flag_k = FK_CMP; 3796 RECOMP_BACKEDGE(); 3797 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010668; /* 0x2F01075F: jne 0x2f010668 */ 3798 L_2F010765: 3799 goto L_2F0108B6; /* 0x2F010765: jmp 0x2f0108b6 */ 3800 L_2F01076A: 3801 edx = MEM32(ecx + 0x8); /* 0x2F01076A: mov edx, dword ptr [ecx + 8] */ 3802 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F01076D: cmp byte ptr [edx + 0x20], bl */ 3803 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3804 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3805 _flag_k = FK_NARROW(FK_CMP, 24); 3806 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0107BB; /* 0x2F010770: jne 0x2f0107bb */ 3807 L_2F010772: 3808 edx = MEM32(ecx); /* 0x2F010772: mov edx, dword ptr [ecx] */ 3809 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010774: mov byte ptr [edx + 0x20], bl */ 3810 edx = MEM32(ecx); /* 0x2F010777: mov edx, dword ptr [ecx] */ 3811 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010779: mov byte ptr [ecx + 0x20], 0 */ 3812 esi = MEM32(edx + 0x8); /* 0x2F01077D: mov esi, dword ptr [edx + 8] */ 3813 MEM32(ecx) = esi; /* 0x2F010780: mov dword ptr [ecx], esi */ 3814 esi = MEM32(edx + 0x8); /* 0x2F010782: mov esi, dword ptr [edx + 8] */ 3815 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010785: cmp esi, dword ptr [edi + 8] */ 3816 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3817 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3818 _flag_k = FK_CMP; 3819 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01078D; /* 0x2F010788: je 0x2f01078d */ 3820 L_2F01078A: 3821 MEM32(esi + 0x4) = ecx; /* 0x2F01078A: mov dword ptr [esi + 4], ecx */ 3822 L_2F01078D: 3823 esi = MEM32(ecx + 0x4); /* 0x2F01078D: mov esi, dword ptr [ecx + 4] */ 3824 MEM32(edx + 0x4) = esi; /* 0x2F010790: mov dword ptr [edx + 4], esi */ 3825 esi = MEM32(edi + 0x4); /* 0x2F010793: mov esi, dword ptr [edi + 4] */ 3826 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010796: cmp ecx, dword ptr [esi + 4] */ 3827 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3828 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3829 _flag_k = FK_CMP; 3830 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0107A0; /* 0x2F010799: jne 0x2f0107a0 */ 3831 L_2F01079B: 3832 MEM32(esi + 0x4) = edx; /* 0x2F01079B: mov dword ptr [esi + 4], edx */ 3833 goto L_2F0107AF; /* 0x2F01079E: jmp 0x2f0107af */ 3834 L_2F0107A0: 3835 esi = MEM32(ecx + 0x4); /* 0x2F0107A0: mov esi, dword ptr [ecx + 4] */ 3836 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F0107A3: cmp ecx, dword ptr [esi + 8] */ 3837 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3838 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3839 _flag_k = FK_CMP; 3840 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0107AD; /* 0x2F0107A6: jne 0x2f0107ad */ 3841 L_2F0107A8: 3842 MEM32(esi + 0x8) = edx; /* 0x2F0107A8: mov dword ptr [esi + 8], edx */ 3843 goto L_2F0107AF; /* 0x2F0107AB: jmp 0x2f0107af */ 3844 L_2F0107AD: 3845 MEM32(esi) = edx; /* 0x2F0107AD: mov dword ptr [esi], edx */ 3846 L_2F0107AF: 3847 MEM32(edx + 0x8) = ecx; /* 0x2F0107AF: mov dword ptr [edx + 8], ecx */ 3848 MEM32(ecx + 0x4) = edx; /* 0x2F0107B2: mov dword ptr [ecx + 4], edx */ 3849 ecx = MEM32(eax + 0x4); /* 0x2F0107B5: mov ecx, dword ptr [eax + 4] */ 3850 ecx = MEM32(ecx + 0x8); /* 0x2F0107B8: mov ecx, dword ptr [ecx + 8] */ 3851 L_2F0107BB: 3852 edx = MEM32(eax + 0x4); /* 0x2F0107BB: mov edx, dword ptr [eax + 4] */ 3853 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x2F0107BE: mov dl, byte ptr [edx + 0x20] */ 3854 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x2F0107C1: mov byte ptr [ecx + 0x20], dl */ 3855 edx = MEM32(eax + 0x4); /* 0x2F0107C4: mov edx, dword ptr [eax + 4] */ 3856 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0107C7: mov byte ptr [edx + 0x20], bl */ 3857 ecx = MEM32(ecx + 0x8); /* 0x2F0107CA: mov ecx, dword ptr [ecx + 8] */ 3858 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0107CD: mov byte ptr [ecx + 0x20], bl */ 3859 ecx = MEM32(eax + 0x4); /* 0x2F0107D0: mov ecx, dword ptr [eax + 4] */ 3860 edx = MEM32(ecx + 0x8); /* 0x2F0107D3: mov edx, dword ptr [ecx + 8] */ 3861 esi = MEM32(edx); /* 0x2F0107D6: mov esi, dword ptr [edx] */ 3862 MEM32(ecx + 0x8) = esi; /* 0x2F0107D8: mov dword ptr [ecx + 8], esi */ 3863 esi = MEM32(edx); /* 0x2F0107DB: mov esi, dword ptr [edx] */ 3864 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F0107DD: cmp esi, dword ptr [edi + 8] */ 3865 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3866 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3867 _flag_k = FK_CMP; 3868 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0107E5; /* 0x2F0107E0: je 0x2f0107e5 */ 3869 L_2F0107E2: 3870 MEM32(esi + 0x4) = ecx; /* 0x2F0107E2: mov dword ptr [esi + 4], ecx */ 3871 L_2F0107E5: 3872 esi = MEM32(ecx + 0x4); /* 0x2F0107E5: mov esi, dword ptr [ecx + 4] */ 3873 MEM32(edx + 0x4) = esi; /* 0x2F0107E8: mov dword ptr [edx + 4], esi */ 3874 esi = MEM32(edi + 0x4); /* 0x2F0107EB: mov esi, dword ptr [edi + 4] */ 3875 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F0107EE: cmp ecx, dword ptr [esi + 4] */ 3876 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3877 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3878 _flag_k = FK_CMP; 3879 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0107FD; /* 0x2F0107F1: jne 0x2f0107fd */ 3880 L_2F0107F3: 3881 MEM32(esi + 0x4) = edx; /* 0x2F0107F3: mov dword ptr [esi + 4], edx */ 3882 MEM32(edx) = ecx; /* 0x2F0107F6: mov dword ptr [edx], ecx */ 3883 goto L_2F0108B3; /* 0x2F0107F8: jmp 0x2f0108b3 */ 3884 L_2F0107FD: 3885 esi = MEM32(ecx + 0x4); /* 0x2F0107FD: mov esi, dword ptr [ecx + 4] */ 3886 /* cmp ecx, MEM32(esi) */ /* 0x2F010800: cmp ecx, dword ptr [esi] */ 3887 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 3888 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3889 _flag_k = FK_CMP; 3890 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01080D; /* 0x2F010802: jne 0x2f01080d */ 3891 L_2F010804: 3892 MEM32(esi) = edx; /* 0x2F010804: mov dword ptr [esi], edx */ 3893 MEM32(edx) = ecx; /* 0x2F010806: mov dword ptr [edx], ecx */ 3894 goto L_2F0108B3; /* 0x2F010808: jmp 0x2f0108b3 */ 3895 L_2F01080D: 3896 MEM32(esi + 0x8) = edx; /* 0x2F01080D: mov dword ptr [esi + 8], edx */ 3897 MEM32(edx) = ecx; /* 0x2F010810: mov dword ptr [edx], ecx */ 3898 goto L_2F0108B3; /* 0x2F010812: jmp 0x2f0108b3 */ 3899 L_2F010817: 3900 edx = MEM32(ecx); /* 0x2F010817: mov edx, dword ptr [ecx] */ 3901 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F010819: cmp byte ptr [edx + 0x20], bl */ 3902 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3903 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3904 _flag_k = FK_NARROW(FK_CMP, 24); 3905 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010865; /* 0x2F01081C: jne 0x2f010865 */ 3906 L_2F01081E: 3907 edx = MEM32(ecx + 0x8); /* 0x2F01081E: mov edx, dword ptr [ecx + 8] */ 3908 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010821: mov byte ptr [edx + 0x20], bl */ 3909 edx = MEM32(ecx + 0x8); /* 0x2F010824: mov edx, dword ptr [ecx + 8] */ 3910 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010827: mov byte ptr [ecx + 0x20], 0 */ 3911 esi = MEM32(edx); /* 0x2F01082B: mov esi, dword ptr [edx] */ 3912 MEM32(ecx + 0x8) = esi; /* 0x2F01082D: mov dword ptr [ecx + 8], esi */ 3913 esi = MEM32(edx); /* 0x2F010830: mov esi, dword ptr [edx] */ 3914 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010832: cmp esi, dword ptr [edi + 8] */ 3915 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3916 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3917 _flag_k = FK_CMP; 3918 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01083A; /* 0x2F010835: je 0x2f01083a */ 3919 L_2F010837: 3920 MEM32(esi + 0x4) = ecx; /* 0x2F010837: mov dword ptr [esi + 4], ecx */ 3921 L_2F01083A: 3922 esi = MEM32(ecx + 0x4); /* 0x2F01083A: mov esi, dword ptr [ecx + 4] */ 3923 MEM32(edx + 0x4) = esi; /* 0x2F01083D: mov dword ptr [edx + 4], esi */ 3924 esi = MEM32(edi + 0x4); /* 0x2F010840: mov esi, dword ptr [edi + 4] */ 3925 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010843: cmp ecx, dword ptr [esi + 4] */ 3926 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3927 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3928 _flag_k = FK_CMP; 3929 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01084D; /* 0x2F010846: jne 0x2f01084d */ 3930 L_2F010848: 3931 MEM32(esi + 0x4) = edx; /* 0x2F010848: mov dword ptr [esi + 4], edx */ 3932 goto L_2F01085B; /* 0x2F01084B: jmp 0x2f01085b */ 3933 L_2F01084D: 3934 esi = MEM32(ecx + 0x4); /* 0x2F01084D: mov esi, dword ptr [ecx + 4] */ 3935 /* cmp ecx, MEM32(esi) */ /* 0x2F010850: cmp ecx, dword ptr [esi] */ 3936 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 3937 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3938 _flag_k = FK_CMP; 3939 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010858; /* 0x2F010852: jne 0x2f010858 */ 3940 L_2F010854: 3941 MEM32(esi) = edx; /* 0x2F010854: mov dword ptr [esi], edx */ 3942 goto L_2F01085B; /* 0x2F010856: jmp 0x2f01085b */ 3943 L_2F010858: 3944 MEM32(esi + 0x8) = edx; /* 0x2F010858: mov dword ptr [esi + 8], edx */ 3945 L_2F01085B: 3946 MEM32(edx) = ecx; /* 0x2F01085B: mov dword ptr [edx], ecx */ 3947 MEM32(ecx + 0x4) = edx; /* 0x2F01085D: mov dword ptr [ecx + 4], edx */ 3948 ecx = MEM32(eax + 0x4); /* 0x2F010860: mov ecx, dword ptr [eax + 4] */ 3949 ecx = MEM32(ecx); /* 0x2F010863: mov ecx, dword ptr [ecx] */ 3950 L_2F010865: 3951 edx = MEM32(eax + 0x4); /* 0x2F010865: mov edx, dword ptr [eax + 4] */ 3952 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x2F010868: mov dl, byte ptr [edx + 0x20] */ 3953 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x2F01086B: mov byte ptr [ecx + 0x20], dl */ 3954 edx = MEM32(eax + 0x4); /* 0x2F01086E: mov edx, dword ptr [eax + 4] */ 3955 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010871: mov byte ptr [edx + 0x20], bl */ 3956 ecx = MEM32(ecx); /* 0x2F010874: mov ecx, dword ptr [ecx] */ 3957 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010876: mov byte ptr [ecx + 0x20], bl */ 3958 ecx = MEM32(eax + 0x4); /* 0x2F010879: mov ecx, dword ptr [eax + 4] */ 3959 edx = MEM32(ecx); /* 0x2F01087C: mov edx, dword ptr [ecx] */ 3960 esi = MEM32(edx + 0x8); /* 0x2F01087E: mov esi, dword ptr [edx + 8] */ 3961 MEM32(ecx) = esi; /* 0x2F010881: mov dword ptr [ecx], esi */ 3962 esi = MEM32(edx + 0x8); /* 0x2F010883: mov esi, dword ptr [edx + 8] */ 3963 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010886: cmp esi, dword ptr [edi + 8] */ 3964 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3965 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3966 _flag_k = FK_CMP; 3967 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01088E; /* 0x2F010889: je 0x2f01088e */ 3968 L_2F01088B: 3969 MEM32(esi + 0x4) = ecx; /* 0x2F01088B: mov dword ptr [esi + 4], ecx */ 3970 L_2F01088E: 3971 esi = MEM32(ecx + 0x4); /* 0x2F01088E: mov esi, dword ptr [ecx + 4] */ 3972 MEM32(edx + 0x4) = esi; /* 0x2F010891: mov dword ptr [edx + 4], esi */ 3973 esi = MEM32(edi + 0x4); /* 0x2F010894: mov esi, dword ptr [edi + 4] */ 3974 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010897: cmp ecx, dword ptr [esi + 4] */ 3975 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3976 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3977 _flag_k = FK_CMP; 3978 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0108A1; /* 0x2F01089A: jne 0x2f0108a1 */ 3979 L_2F01089C: 3980 MEM32(esi + 0x4) = edx; /* 0x2F01089C: mov dword ptr [esi + 4], edx */ 3981 goto L_2F0108B0; /* 0x2F01089F: jmp 0x2f0108b0 */ 3982 L_2F0108A1: 3983 esi = MEM32(ecx + 0x4); /* 0x2F0108A1: mov esi, dword ptr [ecx + 4] */ 3984 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F0108A4: cmp ecx, dword ptr [esi + 8] */ 3985 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3986 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3987 _flag_k = FK_CMP; 3988 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0108AE; /* 0x2F0108A7: jne 0x2f0108ae */ 3989 L_2F0108A9: 3990 MEM32(esi + 0x8) = edx; /* 0x2F0108A9: mov dword ptr [esi + 8], edx */ 3991 goto L_2F0108B0; /* 0x2F0108AC: jmp 0x2f0108b0 */ 3992 L_2F0108AE: 3993 MEM32(esi) = edx; /* 0x2F0108AE: mov dword ptr [esi], edx */ 3994 L_2F0108B0: 3995 MEM32(edx + 0x8) = ecx; /* 0x2F0108B0: mov dword ptr [edx + 8], ecx */ 3996 L_2F0108B3: 3997 MEM32(ecx + 0x4) = edx; /* 0x2F0108B3: mov dword ptr [ecx + 4], edx */ 3998 L_2F0108B6: 3999 esi = MEM32(ebp + (-0x4)); /* 0x2F0108B6: mov esi, dword ptr [ebp - 4] */ 4000 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0108B9: mov byte ptr [eax + 0x20], bl */ 4001 L_2F0108BC: 4002 ecx = esi + 0xC; /* 0x2F0108BC: lea ecx, [esi + 0xc] */ 4003 RECOMP_ICALL(0x2F00F8E0u); /* 0x2F0108BF: call 0x2f00f8e0 */ /* not lifted */ 4004 RECOMP_FLAGS_IN(); 4005 PUSH32(esp, esi); /* 0x2F0108C4: push esi */ 4006 RECOMP_ICALL(0x2F0116B4u); /* 0x2F0108C5: call 0x2f0116b4 */ /* not lifted */ 4007 RECOMP_FLAGS_IN(); 4008 eax = MEM32(edi + 0x10); /* 0x2F0108CA: mov eax, dword ptr [edi + 0x10] */ 4009 edx = MEM32(ebp + 0xC); /* 0x2F0108CD: mov edx, dword ptr [ebp + 0xc] */ 4010 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4011 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4012 esp = esp + 4; /* 0x2F0108D0: add esp, 4 */ 4013 _flag_k = FK_ADD; 4014 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 4015 eax = eax - 1; /* 0x2F0108D3: dec eax */ 4016 _flag_k = FK_DEC; 4017 MEM32(edi + 0x10) = eax; /* 0x2F0108D4: mov dword ptr [edi + 0x10], eax */ 4018 eax = MEM32(ebp + 0x8); /* 0x2F0108D7: mov eax, dword ptr [ebp + 8] */ 4019 edi = POP32_VAL(esp); /* 0x2F0108DA: pop edi */ 4020 esi = POP32_VAL(esp); /* 0x2F0108DB: pop esi */ 4021 MEM32(eax) = edx; /* 0x2F0108DC: mov dword ptr [eax], edx */ 4022 ebx = POP32_VAL(esp); /* 0x2F0108DE: pop ebx */ 4023 esp = ebp; /* 0x2F0108DF: mov esp, ebp */ 4024 ebp = POP32_VAL(esp); /* 0x2F0108E1: pop ebp */ 4025 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2F0108E2: ret 8 */ 4026 RECOMP_REGS_OUT(); 4027 } 4028 4029 void sub_2F01061D(void) { 4030 int _fpu_cmp = 0; 4031 uint32_t _cf = 0; 4032 int _df = 1; 4033 uint32_t _flag_k = FK_NONE; 4034 uint32_t _flag_a = 0, _flag_b = 0; 4035 uint32_t _itail_tgt = 0; 4036 RECOMP_REGS_LOCALS 4037 RECOMP_ENTER(0x2F01061Du); 4038 4039 L_2F01061D: 4040 MEM32(ebx) = edx; /* 0x2F01061D: mov dword ptr [ebx], edx */ 4041 ebx = MEM32(edi + 0x4); /* 0x2F01061F: mov ebx, dword ptr [edi + 4] */ 4042 /* cmp MEM32(ebx + 0x8), esi */ /* 0x2F010622: cmp dword ptr [ebx + 8], esi */ 4043 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(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_2F01064E; /* 0x2F010625: jne 0x2f01064e */ 4047 L_2F010627: 4048 ecx = MEM32(esi); /* 0x2F010627: mov ecx, dword ptr [esi] */ 4049 edx = MEM32(edi + 0x8); /* 0x2F010629: mov edx, dword ptr [edi + 8] */ 4050 /* cmp ecx, edx */ /* 0x2F01062C: cmp ecx, edx */ 4051 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 4052 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4053 _flag_k = FK_CMP; 4054 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010635; /* 0x2F01062E: jne 0x2f010635 */ 4055 L_2F010630: 4056 edx = MEM32(esi + 0x4); /* 0x2F010630: mov edx, dword ptr [esi + 4] */ 4057 goto L_2F01064B; /* 0x2F010633: jmp 0x2f01064b */ 4058 L_2F010635: 4059 ecx = MEM32(eax + 0x8); /* 0x2F010635: mov ecx, dword ptr [eax + 8] */ 4060 edx = eax; /* 0x2F010638: mov edx, eax */ 4061 /* cmp MEM8(ecx + 0x21), 0 */ /* 0x2F01063A: cmp byte ptr [ecx + 0x21], 0 */ 4062 _flag_a = (uint32_t)(MEM8(ecx + 0x21)) << 24; _flag_b = (uint32_t)(0) << 24; 4063 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4064 _flag_k = FK_NARROW(FK_CMP, 24); 4065 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01064B; /* 0x2F01063E: jne 0x2f01064b */ 4066 L_2F010640: 4067 edx = ecx; /* 0x2F010640: mov edx, ecx */ 4068 ecx = MEM32(edx + 0x8); /* 0x2F010642: mov ecx, dword ptr [edx + 8] */ 4069 /* cmp MEM8(ecx + 0x21), 0 */ /* 0x2F010645: cmp byte ptr [ecx + 0x21], 0 */ 4070 _flag_a = (uint32_t)(MEM8(ecx + 0x21)) << 24; _flag_b = (uint32_t)(0) << 24; 4071 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4072 _flag_k = FK_NARROW(FK_CMP, 24); 4073 RECOMP_BACKEDGE(); 4074 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010640; /* 0x2F010649: je 0x2f010640 */ 4075 L_2F01064B: 4076 MEM32(ebx + 0x8) = edx; /* 0x2F01064B: mov dword ptr [ebx + 8], edx */ 4077 L_2F01064E: 4078 esi = MEM32(ebp + (-0x4)); /* 0x2F01064E: mov esi, dword ptr [ebp - 4] */ 4079 SET_LO8(ebx, 1); /* 0x2F010651: mov bl, 1 */ 4080 /* cmp MEM8(esi + 0x20), LO8(ebx) */ /* 0x2F010653: cmp byte ptr [esi + 0x20], bl */ 4081 _flag_a = (uint32_t)(MEM8(esi + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4082 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4083 _flag_k = FK_NARROW(FK_CMP, 24); 4084 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0108BC; /* 0x2F010656: jne 0x2f0108bc */ 4085 L_2F01065C: 4086 ecx = MEM32(edi + 0x4); /* 0x2F01065C: mov ecx, dword ptr [edi + 4] */ 4087 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F01065F: cmp eax, dword ptr [ecx + 4] */ 4088 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 4089 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4090 _flag_k = FK_CMP; 4091 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0108B6; /* 0x2F010662: je 0x2f0108b6 */ 4092 L_2F010668: 4093 /* cmp MEM8(eax + 0x20), LO8(ebx) */ /* 0x2F010668: cmp byte ptr [eax + 0x20], bl */ 4094 _flag_a = (uint32_t)(MEM8(eax + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4095 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4096 _flag_k = FK_NARROW(FK_CMP, 24); 4097 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0108B6; /* 0x2F01066B: jne 0x2f0108b6 */ 4098 L_2F010671: 4099 edx = MEM32(eax + 0x4); /* 0x2F010671: mov edx, dword ptr [eax + 4] */ 4100 ecx = MEM32(edx); /* 0x2F010674: mov ecx, dword ptr [edx] */ 4101 /* cmp eax, ecx */ /* 0x2F010676: cmp eax, ecx */ 4102 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 4103 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4104 _flag_k = FK_CMP; 4105 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0106E8; /* 0x2F010678: jne 0x2f0106e8 */ 4106 L_2F01067A: 4107 ecx = MEM32(edx + 0x8); /* 0x2F01067A: mov ecx, dword ptr [edx + 8] */ 4108 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x2F01067D: mov dl, byte ptr [ecx + 0x20] */ 4109 /* test LO8(edx), LO8(edx) */ /* 0x2F010680: test dl, dl */ 4110 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 4111 _cf = 0; 4112 _flag_k = FK_NARROW(FK_TEST, 24); 4113 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F0106CF; /* 0x2F010682: jne 0x2f0106cf */ 4114 L_2F010684: 4115 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010684: mov byte ptr [ecx + 0x20], bl */ 4116 edx = MEM32(eax + 0x4); /* 0x2F010687: mov edx, dword ptr [eax + 4] */ 4117 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x2F01068A: mov byte ptr [edx + 0x20], 0 */ 4118 ecx = MEM32(eax + 0x4); /* 0x2F01068E: mov ecx, dword ptr [eax + 4] */ 4119 edx = MEM32(ecx + 0x8); /* 0x2F010691: mov edx, dword ptr [ecx + 8] */ 4120 esi = MEM32(edx); /* 0x2F010694: mov esi, dword ptr [edx] */ 4121 MEM32(ecx + 0x8) = esi; /* 0x2F010696: mov dword ptr [ecx + 8], esi */ 4122 esi = MEM32(edx); /* 0x2F010699: mov esi, dword ptr [edx] */ 4123 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F01069B: cmp esi, dword ptr [edi + 8] */ 4124 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4125 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4126 _flag_k = FK_CMP; 4127 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0106A3; /* 0x2F01069E: je 0x2f0106a3 */ 4128 L_2F0106A0: 4129 MEM32(esi + 0x4) = ecx; /* 0x2F0106A0: mov dword ptr [esi + 4], ecx */ 4130 L_2F0106A3: 4131 esi = MEM32(ecx + 0x4); /* 0x2F0106A3: mov esi, dword ptr [ecx + 4] */ 4132 MEM32(edx + 0x4) = esi; /* 0x2F0106A6: mov dword ptr [edx + 4], esi */ 4133 esi = MEM32(edi + 0x4); /* 0x2F0106A9: mov esi, dword ptr [edi + 4] */ 4134 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F0106AC: cmp ecx, dword ptr [esi + 4] */ 4135 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4136 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4137 _flag_k = FK_CMP; 4138 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0106B6; /* 0x2F0106AF: jne 0x2f0106b6 */ 4139 L_2F0106B1: 4140 MEM32(esi + 0x4) = edx; /* 0x2F0106B1: mov dword ptr [esi + 4], edx */ 4141 goto L_2F0106C4; /* 0x2F0106B4: jmp 0x2f0106c4 */ 4142 L_2F0106B6: 4143 esi = MEM32(ecx + 0x4); /* 0x2F0106B6: mov esi, dword ptr [ecx + 4] */ 4144 /* cmp ecx, MEM32(esi) */ /* 0x2F0106B9: cmp ecx, dword ptr [esi] */ 4145 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 4146 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4147 _flag_k = FK_CMP; 4148 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0106C1; /* 0x2F0106BB: jne 0x2f0106c1 */ 4149 L_2F0106BD: 4150 MEM32(esi) = edx; /* 0x2F0106BD: mov dword ptr [esi], edx */ 4151 goto L_2F0106C4; /* 0x2F0106BF: jmp 0x2f0106c4 */ 4152 L_2F0106C1: 4153 MEM32(esi + 0x8) = edx; /* 0x2F0106C1: mov dword ptr [esi + 8], edx */ 4154 L_2F0106C4: 4155 MEM32(edx) = ecx; /* 0x2F0106C4: mov dword ptr [edx], ecx */ 4156 MEM32(ecx + 0x4) = edx; /* 0x2F0106C6: mov dword ptr [ecx + 4], edx */ 4157 ecx = MEM32(eax + 0x4); /* 0x2F0106C9: mov ecx, dword ptr [eax + 4] */ 4158 ecx = MEM32(ecx + 0x8); /* 0x2F0106CC: mov ecx, dword ptr [ecx + 8] */ 4159 L_2F0106CF: 4160 edx = MEM32(ecx); /* 0x2F0106CF: mov edx, dword ptr [ecx] */ 4161 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F0106D1: cmp byte ptr [edx + 0x20], bl */ 4162 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4163 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4164 _flag_k = FK_NARROW(FK_CMP, 24); 4165 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01076A; /* 0x2F0106D4: jne 0x2f01076a */ 4166 L_2F0106DA: 4167 edx = MEM32(ecx + 0x8); /* 0x2F0106DA: mov edx, dword ptr [ecx + 8] */ 4168 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F0106DD: cmp byte ptr [edx + 0x20], bl */ 4169 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4170 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4171 _flag_k = FK_NARROW(FK_CMP, 24); 4172 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01076A; /* 0x2F0106E0: jne 0x2f01076a */ 4173 L_2F0106E6: 4174 goto L_2F010752; /* 0x2F0106E6: jmp 0x2f010752 */ 4175 L_2F0106E8: 4176 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x2F0106E8: mov dl, byte ptr [ecx + 0x20] */ 4177 /* test LO8(edx), LO8(edx) */ /* 0x2F0106EB: test dl, dl */ 4178 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 4179 _cf = 0; 4180 _flag_k = FK_NARROW(FK_TEST, 24); 4181 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F01073B; /* 0x2F0106ED: jne 0x2f01073b */ 4182 L_2F0106EF: 4183 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0106EF: mov byte ptr [ecx + 0x20], bl */ 4184 ecx = MEM32(eax + 0x4); /* 0x2F0106F2: mov ecx, dword ptr [eax + 4] */ 4185 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F0106F5: mov byte ptr [ecx + 0x20], 0 */ 4186 ecx = MEM32(eax + 0x4); /* 0x2F0106F9: mov ecx, dword ptr [eax + 4] */ 4187 edx = MEM32(ecx); /* 0x2F0106FC: mov edx, dword ptr [ecx] */ 4188 esi = MEM32(edx + 0x8); /* 0x2F0106FE: mov esi, dword ptr [edx + 8] */ 4189 MEM32(ecx) = esi; /* 0x2F010701: mov dword ptr [ecx], esi */ 4190 esi = MEM32(edx + 0x8); /* 0x2F010703: mov esi, dword ptr [edx + 8] */ 4191 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010706: cmp esi, dword ptr [edi + 8] */ 4192 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4193 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4194 _flag_k = FK_CMP; 4195 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01070E; /* 0x2F010709: je 0x2f01070e */ 4196 L_2F01070B: 4197 MEM32(esi + 0x4) = ecx; /* 0x2F01070B: mov dword ptr [esi + 4], ecx */ 4198 L_2F01070E: 4199 esi = MEM32(ecx + 0x4); /* 0x2F01070E: mov esi, dword ptr [ecx + 4] */ 4200 MEM32(edx + 0x4) = esi; /* 0x2F010711: mov dword ptr [edx + 4], esi */ 4201 esi = MEM32(edi + 0x4); /* 0x2F010714: mov esi, dword ptr [edi + 4] */ 4202 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010717: cmp ecx, dword ptr [esi + 4] */ 4203 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4204 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4205 _flag_k = FK_CMP; 4206 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010721; /* 0x2F01071A: jne 0x2f010721 */ 4207 L_2F01071C: 4208 MEM32(esi + 0x4) = edx; /* 0x2F01071C: mov dword ptr [esi + 4], edx */ 4209 goto L_2F010730; /* 0x2F01071F: jmp 0x2f010730 */ 4210 L_2F010721: 4211 esi = MEM32(ecx + 0x4); /* 0x2F010721: mov esi, dword ptr [ecx + 4] */ 4212 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F010724: cmp ecx, dword ptr [esi + 8] */ 4213 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4214 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4215 _flag_k = FK_CMP; 4216 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01072E; /* 0x2F010727: jne 0x2f01072e */ 4217 L_2F010729: 4218 MEM32(esi + 0x8) = edx; /* 0x2F010729: mov dword ptr [esi + 8], edx */ 4219 goto L_2F010730; /* 0x2F01072C: jmp 0x2f010730 */ 4220 L_2F01072E: 4221 MEM32(esi) = edx; /* 0x2F01072E: mov dword ptr [esi], edx */ 4222 L_2F010730: 4223 MEM32(edx + 0x8) = ecx; /* 0x2F010730: mov dword ptr [edx + 8], ecx */ 4224 MEM32(ecx + 0x4) = edx; /* 0x2F010733: mov dword ptr [ecx + 4], edx */ 4225 edx = MEM32(eax + 0x4); /* 0x2F010736: mov edx, dword ptr [eax + 4] */ 4226 ecx = MEM32(edx); /* 0x2F010739: mov ecx, dword ptr [edx] */ 4227 L_2F01073B: 4228 edx = MEM32(ecx + 0x8); /* 0x2F01073B: mov edx, dword ptr [ecx + 8] */ 4229 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F01073E: cmp byte ptr [edx + 0x20], bl */ 4230 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4231 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4232 _flag_k = FK_NARROW(FK_CMP, 24); 4233 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010817; /* 0x2F010741: jne 0x2f010817 */ 4234 L_2F010747: 4235 edx = MEM32(ecx); /* 0x2F010747: mov edx, dword ptr [ecx] */ 4236 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F010749: cmp byte ptr [edx + 0x20], bl */ 4237 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4238 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4239 _flag_k = FK_NARROW(FK_CMP, 24); 4240 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010817; /* 0x2F01074C: jne 0x2f010817 */ 4241 L_2F010752: 4242 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010752: mov byte ptr [ecx + 0x20], 0 */ 4243 ecx = MEM32(edi + 0x4); /* 0x2F010756: mov ecx, dword ptr [edi + 4] */ 4244 eax = MEM32(eax + 0x4); /* 0x2F010759: mov eax, dword ptr [eax + 4] */ 4245 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F01075C: cmp eax, dword ptr [ecx + 4] */ 4246 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 4247 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4248 _flag_k = FK_CMP; 4249 RECOMP_BACKEDGE(); 4250 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010668; /* 0x2F01075F: jne 0x2f010668 */ 4251 L_2F010765: 4252 goto L_2F0108B6; /* 0x2F010765: jmp 0x2f0108b6 */ 4253 L_2F01076A: 4254 edx = MEM32(ecx + 0x8); /* 0x2F01076A: mov edx, dword ptr [ecx + 8] */ 4255 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F01076D: cmp byte ptr [edx + 0x20], bl */ 4256 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4257 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4258 _flag_k = FK_NARROW(FK_CMP, 24); 4259 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0107BB; /* 0x2F010770: jne 0x2f0107bb */ 4260 L_2F010772: 4261 edx = MEM32(ecx); /* 0x2F010772: mov edx, dword ptr [ecx] */ 4262 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010774: mov byte ptr [edx + 0x20], bl */ 4263 edx = MEM32(ecx); /* 0x2F010777: mov edx, dword ptr [ecx] */ 4264 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010779: mov byte ptr [ecx + 0x20], 0 */ 4265 esi = MEM32(edx + 0x8); /* 0x2F01077D: mov esi, dword ptr [edx + 8] */ 4266 MEM32(ecx) = esi; /* 0x2F010780: mov dword ptr [ecx], esi */ 4267 esi = MEM32(edx + 0x8); /* 0x2F010782: mov esi, dword ptr [edx + 8] */ 4268 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010785: cmp esi, dword ptr [edi + 8] */ 4269 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4270 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4271 _flag_k = FK_CMP; 4272 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01078D; /* 0x2F010788: je 0x2f01078d */ 4273 L_2F01078A: 4274 MEM32(esi + 0x4) = ecx; /* 0x2F01078A: mov dword ptr [esi + 4], ecx */ 4275 L_2F01078D: 4276 esi = MEM32(ecx + 0x4); /* 0x2F01078D: mov esi, dword ptr [ecx + 4] */ 4277 MEM32(edx + 0x4) = esi; /* 0x2F010790: mov dword ptr [edx + 4], esi */ 4278 esi = MEM32(edi + 0x4); /* 0x2F010793: mov esi, dword ptr [edi + 4] */ 4279 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010796: cmp ecx, dword ptr [esi + 4] */ 4280 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4281 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4282 _flag_k = FK_CMP; 4283 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0107A0; /* 0x2F010799: jne 0x2f0107a0 */ 4284 L_2F01079B: 4285 MEM32(esi + 0x4) = edx; /* 0x2F01079B: mov dword ptr [esi + 4], edx */ 4286 goto L_2F0107AF; /* 0x2F01079E: jmp 0x2f0107af */ 4287 L_2F0107A0: 4288 esi = MEM32(ecx + 0x4); /* 0x2F0107A0: mov esi, dword ptr [ecx + 4] */ 4289 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F0107A3: cmp ecx, dword ptr [esi + 8] */ 4290 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4291 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4292 _flag_k = FK_CMP; 4293 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0107AD; /* 0x2F0107A6: jne 0x2f0107ad */ 4294 L_2F0107A8: 4295 MEM32(esi + 0x8) = edx; /* 0x2F0107A8: mov dword ptr [esi + 8], edx */ 4296 goto L_2F0107AF; /* 0x2F0107AB: jmp 0x2f0107af */ 4297 L_2F0107AD: 4298 MEM32(esi) = edx; /* 0x2F0107AD: mov dword ptr [esi], edx */ 4299 L_2F0107AF: 4300 MEM32(edx + 0x8) = ecx; /* 0x2F0107AF: mov dword ptr [edx + 8], ecx */ 4301 MEM32(ecx + 0x4) = edx; /* 0x2F0107B2: mov dword ptr [ecx + 4], edx */ 4302 ecx = MEM32(eax + 0x4); /* 0x2F0107B5: mov ecx, dword ptr [eax + 4] */ 4303 ecx = MEM32(ecx + 0x8); /* 0x2F0107B8: mov ecx, dword ptr [ecx + 8] */ 4304 L_2F0107BB: 4305 edx = MEM32(eax + 0x4); /* 0x2F0107BB: mov edx, dword ptr [eax + 4] */ 4306 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x2F0107BE: mov dl, byte ptr [edx + 0x20] */ 4307 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x2F0107C1: mov byte ptr [ecx + 0x20], dl */ 4308 edx = MEM32(eax + 0x4); /* 0x2F0107C4: mov edx, dword ptr [eax + 4] */ 4309 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0107C7: mov byte ptr [edx + 0x20], bl */ 4310 ecx = MEM32(ecx + 0x8); /* 0x2F0107CA: mov ecx, dword ptr [ecx + 8] */ 4311 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0107CD: mov byte ptr [ecx + 0x20], bl */ 4312 ecx = MEM32(eax + 0x4); /* 0x2F0107D0: mov ecx, dword ptr [eax + 4] */ 4313 edx = MEM32(ecx + 0x8); /* 0x2F0107D3: mov edx, dword ptr [ecx + 8] */ 4314 esi = MEM32(edx); /* 0x2F0107D6: mov esi, dword ptr [edx] */ 4315 MEM32(ecx + 0x8) = esi; /* 0x2F0107D8: mov dword ptr [ecx + 8], esi */ 4316 esi = MEM32(edx); /* 0x2F0107DB: mov esi, dword ptr [edx] */ 4317 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F0107DD: cmp esi, dword ptr [edi + 8] */ 4318 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4319 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4320 _flag_k = FK_CMP; 4321 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0107E5; /* 0x2F0107E0: je 0x2f0107e5 */ 4322 L_2F0107E2: 4323 MEM32(esi + 0x4) = ecx; /* 0x2F0107E2: mov dword ptr [esi + 4], ecx */ 4324 L_2F0107E5: 4325 esi = MEM32(ecx + 0x4); /* 0x2F0107E5: mov esi, dword ptr [ecx + 4] */ 4326 MEM32(edx + 0x4) = esi; /* 0x2F0107E8: mov dword ptr [edx + 4], esi */ 4327 esi = MEM32(edi + 0x4); /* 0x2F0107EB: mov esi, dword ptr [edi + 4] */ 4328 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F0107EE: cmp ecx, dword ptr [esi + 4] */ 4329 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4330 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4331 _flag_k = FK_CMP; 4332 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0107FD; /* 0x2F0107F1: jne 0x2f0107fd */ 4333 L_2F0107F3: 4334 MEM32(esi + 0x4) = edx; /* 0x2F0107F3: mov dword ptr [esi + 4], edx */ 4335 MEM32(edx) = ecx; /* 0x2F0107F6: mov dword ptr [edx], ecx */ 4336 goto L_2F0108B3; /* 0x2F0107F8: jmp 0x2f0108b3 */ 4337 L_2F0107FD: 4338 esi = MEM32(ecx + 0x4); /* 0x2F0107FD: mov esi, dword ptr [ecx + 4] */ 4339 /* cmp ecx, MEM32(esi) */ /* 0x2F010800: cmp ecx, dword ptr [esi] */ 4340 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 4341 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4342 _flag_k = FK_CMP; 4343 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01080D; /* 0x2F010802: jne 0x2f01080d */ 4344 L_2F010804: 4345 MEM32(esi) = edx; /* 0x2F010804: mov dword ptr [esi], edx */ 4346 MEM32(edx) = ecx; /* 0x2F010806: mov dword ptr [edx], ecx */ 4347 goto L_2F0108B3; /* 0x2F010808: jmp 0x2f0108b3 */ 4348 L_2F01080D: 4349 MEM32(esi + 0x8) = edx; /* 0x2F01080D: mov dword ptr [esi + 8], edx */ 4350 MEM32(edx) = ecx; /* 0x2F010810: mov dword ptr [edx], ecx */ 4351 goto L_2F0108B3; /* 0x2F010812: jmp 0x2f0108b3 */ 4352 L_2F010817: 4353 edx = MEM32(ecx); /* 0x2F010817: mov edx, dword ptr [ecx] */ 4354 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F010819: cmp byte ptr [edx + 0x20], bl */ 4355 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4356 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4357 _flag_k = FK_NARROW(FK_CMP, 24); 4358 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010865; /* 0x2F01081C: jne 0x2f010865 */ 4359 L_2F01081E: 4360 edx = MEM32(ecx + 0x8); /* 0x2F01081E: mov edx, dword ptr [ecx + 8] */ 4361 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010821: mov byte ptr [edx + 0x20], bl */ 4362 edx = MEM32(ecx + 0x8); /* 0x2F010824: mov edx, dword ptr [ecx + 8] */ 4363 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010827: mov byte ptr [ecx + 0x20], 0 */ 4364 esi = MEM32(edx); /* 0x2F01082B: mov esi, dword ptr [edx] */ 4365 MEM32(ecx + 0x8) = esi; /* 0x2F01082D: mov dword ptr [ecx + 8], esi */ 4366 esi = MEM32(edx); /* 0x2F010830: mov esi, dword ptr [edx] */ 4367 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010832: cmp esi, dword ptr [edi + 8] */ 4368 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4369 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4370 _flag_k = FK_CMP; 4371 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01083A; /* 0x2F010835: je 0x2f01083a */ 4372 L_2F010837: 4373 MEM32(esi + 0x4) = ecx; /* 0x2F010837: mov dword ptr [esi + 4], ecx */ 4374 L_2F01083A: 4375 esi = MEM32(ecx + 0x4); /* 0x2F01083A: mov esi, dword ptr [ecx + 4] */ 4376 MEM32(edx + 0x4) = esi; /* 0x2F01083D: mov dword ptr [edx + 4], esi */ 4377 esi = MEM32(edi + 0x4); /* 0x2F010840: mov esi, dword ptr [edi + 4] */ 4378 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010843: cmp ecx, dword ptr [esi + 4] */ 4379 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4380 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4381 _flag_k = FK_CMP; 4382 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01084D; /* 0x2F010846: jne 0x2f01084d */ 4383 L_2F010848: 4384 MEM32(esi + 0x4) = edx; /* 0x2F010848: mov dword ptr [esi + 4], edx */ 4385 goto L_2F01085B; /* 0x2F01084B: jmp 0x2f01085b */ 4386 L_2F01084D: 4387 esi = MEM32(ecx + 0x4); /* 0x2F01084D: mov esi, dword ptr [ecx + 4] */ 4388 /* cmp ecx, MEM32(esi) */ /* 0x2F010850: cmp ecx, dword ptr [esi] */ 4389 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 4390 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4391 _flag_k = FK_CMP; 4392 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010858; /* 0x2F010852: jne 0x2f010858 */ 4393 L_2F010854: 4394 MEM32(esi) = edx; /* 0x2F010854: mov dword ptr [esi], edx */ 4395 goto L_2F01085B; /* 0x2F010856: jmp 0x2f01085b */ 4396 L_2F010858: 4397 MEM32(esi + 0x8) = edx; /* 0x2F010858: mov dword ptr [esi + 8], edx */ 4398 L_2F01085B: 4399 MEM32(edx) = ecx; /* 0x2F01085B: mov dword ptr [edx], ecx */ 4400 MEM32(ecx + 0x4) = edx; /* 0x2F01085D: mov dword ptr [ecx + 4], edx */ 4401 ecx = MEM32(eax + 0x4); /* 0x2F010860: mov ecx, dword ptr [eax + 4] */ 4402 ecx = MEM32(ecx); /* 0x2F010863: mov ecx, dword ptr [ecx] */ 4403 L_2F010865: 4404 edx = MEM32(eax + 0x4); /* 0x2F010865: mov edx, dword ptr [eax + 4] */ 4405 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x2F010868: mov dl, byte ptr [edx + 0x20] */ 4406 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x2F01086B: mov byte ptr [ecx + 0x20], dl */ 4407 edx = MEM32(eax + 0x4); /* 0x2F01086E: mov edx, dword ptr [eax + 4] */ 4408 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010871: mov byte ptr [edx + 0x20], bl */ 4409 ecx = MEM32(ecx); /* 0x2F010874: mov ecx, dword ptr [ecx] */ 4410 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010876: mov byte ptr [ecx + 0x20], bl */ 4411 ecx = MEM32(eax + 0x4); /* 0x2F010879: mov ecx, dword ptr [eax + 4] */ 4412 edx = MEM32(ecx); /* 0x2F01087C: mov edx, dword ptr [ecx] */ 4413 esi = MEM32(edx + 0x8); /* 0x2F01087E: mov esi, dword ptr [edx + 8] */ 4414 MEM32(ecx) = esi; /* 0x2F010881: mov dword ptr [ecx], esi */ 4415 esi = MEM32(edx + 0x8); /* 0x2F010883: mov esi, dword ptr [edx + 8] */ 4416 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010886: cmp esi, dword ptr [edi + 8] */ 4417 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4418 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4419 _flag_k = FK_CMP; 4420 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01088E; /* 0x2F010889: je 0x2f01088e */ 4421 L_2F01088B: 4422 MEM32(esi + 0x4) = ecx; /* 0x2F01088B: mov dword ptr [esi + 4], ecx */ 4423 L_2F01088E: 4424 esi = MEM32(ecx + 0x4); /* 0x2F01088E: mov esi, dword ptr [ecx + 4] */ 4425 MEM32(edx + 0x4) = esi; /* 0x2F010891: mov dword ptr [edx + 4], esi */ 4426 esi = MEM32(edi + 0x4); /* 0x2F010894: mov esi, dword ptr [edi + 4] */ 4427 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010897: cmp ecx, dword ptr [esi + 4] */ 4428 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4429 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4430 _flag_k = FK_CMP; 4431 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0108A1; /* 0x2F01089A: jne 0x2f0108a1 */ 4432 L_2F01089C: 4433 MEM32(esi + 0x4) = edx; /* 0x2F01089C: mov dword ptr [esi + 4], edx */ 4434 goto L_2F0108B0; /* 0x2F01089F: jmp 0x2f0108b0 */ 4435 L_2F0108A1: 4436 esi = MEM32(ecx + 0x4); /* 0x2F0108A1: mov esi, dword ptr [ecx + 4] */ 4437 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F0108A4: cmp ecx, dword ptr [esi + 8] */ 4438 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4439 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4440 _flag_k = FK_CMP; 4441 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0108AE; /* 0x2F0108A7: jne 0x2f0108ae */ 4442 L_2F0108A9: 4443 MEM32(esi + 0x8) = edx; /* 0x2F0108A9: mov dword ptr [esi + 8], edx */ 4444 goto L_2F0108B0; /* 0x2F0108AC: jmp 0x2f0108b0 */ 4445 L_2F0108AE: 4446 MEM32(esi) = edx; /* 0x2F0108AE: mov dword ptr [esi], edx */ 4447 L_2F0108B0: 4448 MEM32(edx + 0x8) = ecx; /* 0x2F0108B0: mov dword ptr [edx + 8], ecx */ 4449 L_2F0108B3: 4450 MEM32(ecx + 0x4) = edx; /* 0x2F0108B3: mov dword ptr [ecx + 4], edx */ 4451 L_2F0108B6: 4452 esi = MEM32(ebp + (-0x4)); /* 0x2F0108B6: mov esi, dword ptr [ebp - 4] */ 4453 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0108B9: mov byte ptr [eax + 0x20], bl */ 4454 L_2F0108BC: 4455 ecx = esi + 0xC; /* 0x2F0108BC: lea ecx, [esi + 0xc] */ 4456 RECOMP_ICALL(0x2F00F8E0u); /* 0x2F0108BF: call 0x2f00f8e0 */ /* not lifted */ 4457 RECOMP_FLAGS_IN(); 4458 PUSH32(esp, esi); /* 0x2F0108C4: push esi */ 4459 RECOMP_ICALL(0x2F0116B4u); /* 0x2F0108C5: call 0x2f0116b4 */ /* not lifted */ 4460 RECOMP_FLAGS_IN(); 4461 eax = MEM32(edi + 0x10); /* 0x2F0108CA: mov eax, dword ptr [edi + 0x10] */ 4462 edx = MEM32(ebp + 0xC); /* 0x2F0108CD: mov edx, dword ptr [ebp + 0xc] */ 4463 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4464 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4465 esp = esp + 4; /* 0x2F0108D0: add esp, 4 */ 4466 _flag_k = FK_ADD; 4467 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 4468 eax = eax - 1; /* 0x2F0108D3: dec eax */ 4469 _flag_k = FK_DEC; 4470 MEM32(edi + 0x10) = eax; /* 0x2F0108D4: mov dword ptr [edi + 0x10], eax */ 4471 eax = MEM32(ebp + 0x8); /* 0x2F0108D7: mov eax, dword ptr [ebp + 8] */ 4472 edi = POP32_VAL(esp); /* 0x2F0108DA: pop edi */ 4473 esi = POP32_VAL(esp); /* 0x2F0108DB: pop esi */ 4474 MEM32(eax) = edx; /* 0x2F0108DC: mov dword ptr [eax], edx */ 4475 ebx = POP32_VAL(esp); /* 0x2F0108DE: pop ebx */ 4476 esp = ebp; /* 0x2F0108DF: mov esp, ebp */ 4477 ebp = POP32_VAL(esp); /* 0x2F0108E1: pop ebp */ 4478 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2F0108E2: ret 8 */ 4479 RECOMP_REGS_OUT(); 4480 } 4481 4482 void sub_2F01064B(void) { 4483 int _fpu_cmp = 0; 4484 uint32_t _cf = 0; 4485 int _df = 1; 4486 uint32_t _flag_k = FK_NONE; 4487 uint32_t _flag_a = 0, _flag_b = 0; 4488 uint32_t _itail_tgt = 0; 4489 RECOMP_REGS_LOCALS 4490 RECOMP_ENTER(0x2F01064Bu); 4491 4492 L_2F01064B: 4493 MEM32(ebx + 0x8) = edx; /* 0x2F01064B: mov dword ptr [ebx + 8], edx */ 4494 esi = MEM32(ebp + (-0x4)); /* 0x2F01064E: mov esi, dword ptr [ebp - 4] */ 4495 SET_LO8(ebx, 1); /* 0x2F010651: mov bl, 1 */ 4496 /* cmp MEM8(esi + 0x20), LO8(ebx) */ /* 0x2F010653: cmp byte ptr [esi + 0x20], bl */ 4497 _flag_a = (uint32_t)(MEM8(esi + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4498 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4499 _flag_k = FK_NARROW(FK_CMP, 24); 4500 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0108BC; /* 0x2F010656: jne 0x2f0108bc */ 4501 L_2F01065C: 4502 ecx = MEM32(edi + 0x4); /* 0x2F01065C: mov ecx, dword ptr [edi + 4] */ 4503 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F01065F: cmp eax, dword ptr [ecx + 4] */ 4504 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 4505 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4506 _flag_k = FK_CMP; 4507 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0108B6; /* 0x2F010662: je 0x2f0108b6 */ 4508 L_2F010668: 4509 /* cmp MEM8(eax + 0x20), LO8(ebx) */ /* 0x2F010668: cmp byte ptr [eax + 0x20], bl */ 4510 _flag_a = (uint32_t)(MEM8(eax + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4511 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4512 _flag_k = FK_NARROW(FK_CMP, 24); 4513 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0108B6; /* 0x2F01066B: jne 0x2f0108b6 */ 4514 L_2F010671: 4515 edx = MEM32(eax + 0x4); /* 0x2F010671: mov edx, dword ptr [eax + 4] */ 4516 ecx = MEM32(edx); /* 0x2F010674: mov ecx, dword ptr [edx] */ 4517 /* cmp eax, ecx */ /* 0x2F010676: cmp eax, ecx */ 4518 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 4519 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4520 _flag_k = FK_CMP; 4521 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0106E8; /* 0x2F010678: jne 0x2f0106e8 */ 4522 L_2F01067A: 4523 ecx = MEM32(edx + 0x8); /* 0x2F01067A: mov ecx, dword ptr [edx + 8] */ 4524 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x2F01067D: mov dl, byte ptr [ecx + 0x20] */ 4525 /* test LO8(edx), LO8(edx) */ /* 0x2F010680: test dl, dl */ 4526 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 4527 _cf = 0; 4528 _flag_k = FK_NARROW(FK_TEST, 24); 4529 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F0106CF; /* 0x2F010682: jne 0x2f0106cf */ 4530 L_2F010684: 4531 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010684: mov byte ptr [ecx + 0x20], bl */ 4532 edx = MEM32(eax + 0x4); /* 0x2F010687: mov edx, dword ptr [eax + 4] */ 4533 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x2F01068A: mov byte ptr [edx + 0x20], 0 */ 4534 ecx = MEM32(eax + 0x4); /* 0x2F01068E: mov ecx, dword ptr [eax + 4] */ 4535 edx = MEM32(ecx + 0x8); /* 0x2F010691: mov edx, dword ptr [ecx + 8] */ 4536 esi = MEM32(edx); /* 0x2F010694: mov esi, dword ptr [edx] */ 4537 MEM32(ecx + 0x8) = esi; /* 0x2F010696: mov dword ptr [ecx + 8], esi */ 4538 esi = MEM32(edx); /* 0x2F010699: mov esi, dword ptr [edx] */ 4539 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F01069B: cmp esi, dword ptr [edi + 8] */ 4540 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4541 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4542 _flag_k = FK_CMP; 4543 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0106A3; /* 0x2F01069E: je 0x2f0106a3 */ 4544 L_2F0106A0: 4545 MEM32(esi + 0x4) = ecx; /* 0x2F0106A0: mov dword ptr [esi + 4], ecx */ 4546 L_2F0106A3: 4547 esi = MEM32(ecx + 0x4); /* 0x2F0106A3: mov esi, dword ptr [ecx + 4] */ 4548 MEM32(edx + 0x4) = esi; /* 0x2F0106A6: mov dword ptr [edx + 4], esi */ 4549 esi = MEM32(edi + 0x4); /* 0x2F0106A9: mov esi, dword ptr [edi + 4] */ 4550 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F0106AC: cmp ecx, dword ptr [esi + 4] */ 4551 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4552 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4553 _flag_k = FK_CMP; 4554 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0106B6; /* 0x2F0106AF: jne 0x2f0106b6 */ 4555 L_2F0106B1: 4556 MEM32(esi + 0x4) = edx; /* 0x2F0106B1: mov dword ptr [esi + 4], edx */ 4557 goto L_2F0106C4; /* 0x2F0106B4: jmp 0x2f0106c4 */ 4558 L_2F0106B6: 4559 esi = MEM32(ecx + 0x4); /* 0x2F0106B6: mov esi, dword ptr [ecx + 4] */ 4560 /* cmp ecx, MEM32(esi) */ /* 0x2F0106B9: cmp ecx, dword ptr [esi] */ 4561 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 4562 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4563 _flag_k = FK_CMP; 4564 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0106C1; /* 0x2F0106BB: jne 0x2f0106c1 */ 4565 L_2F0106BD: 4566 MEM32(esi) = edx; /* 0x2F0106BD: mov dword ptr [esi], edx */ 4567 goto L_2F0106C4; /* 0x2F0106BF: jmp 0x2f0106c4 */ 4568 L_2F0106C1: 4569 MEM32(esi + 0x8) = edx; /* 0x2F0106C1: mov dword ptr [esi + 8], edx */ 4570 L_2F0106C4: 4571 MEM32(edx) = ecx; /* 0x2F0106C4: mov dword ptr [edx], ecx */ 4572 MEM32(ecx + 0x4) = edx; /* 0x2F0106C6: mov dword ptr [ecx + 4], edx */ 4573 ecx = MEM32(eax + 0x4); /* 0x2F0106C9: mov ecx, dword ptr [eax + 4] */ 4574 ecx = MEM32(ecx + 0x8); /* 0x2F0106CC: mov ecx, dword ptr [ecx + 8] */ 4575 L_2F0106CF: 4576 edx = MEM32(ecx); /* 0x2F0106CF: mov edx, dword ptr [ecx] */ 4577 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F0106D1: cmp byte ptr [edx + 0x20], bl */ 4578 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4579 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4580 _flag_k = FK_NARROW(FK_CMP, 24); 4581 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01076A; /* 0x2F0106D4: jne 0x2f01076a */ 4582 L_2F0106DA: 4583 edx = MEM32(ecx + 0x8); /* 0x2F0106DA: mov edx, dword ptr [ecx + 8] */ 4584 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F0106DD: cmp byte ptr [edx + 0x20], bl */ 4585 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4586 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4587 _flag_k = FK_NARROW(FK_CMP, 24); 4588 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01076A; /* 0x2F0106E0: jne 0x2f01076a */ 4589 L_2F0106E6: 4590 goto L_2F010752; /* 0x2F0106E6: jmp 0x2f010752 */ 4591 L_2F0106E8: 4592 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x2F0106E8: mov dl, byte ptr [ecx + 0x20] */ 4593 /* test LO8(edx), LO8(edx) */ /* 0x2F0106EB: test dl, dl */ 4594 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 4595 _cf = 0; 4596 _flag_k = FK_NARROW(FK_TEST, 24); 4597 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F01073B; /* 0x2F0106ED: jne 0x2f01073b */ 4598 L_2F0106EF: 4599 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0106EF: mov byte ptr [ecx + 0x20], bl */ 4600 ecx = MEM32(eax + 0x4); /* 0x2F0106F2: mov ecx, dword ptr [eax + 4] */ 4601 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F0106F5: mov byte ptr [ecx + 0x20], 0 */ 4602 ecx = MEM32(eax + 0x4); /* 0x2F0106F9: mov ecx, dword ptr [eax + 4] */ 4603 edx = MEM32(ecx); /* 0x2F0106FC: mov edx, dword ptr [ecx] */ 4604 esi = MEM32(edx + 0x8); /* 0x2F0106FE: mov esi, dword ptr [edx + 8] */ 4605 MEM32(ecx) = esi; /* 0x2F010701: mov dword ptr [ecx], esi */ 4606 esi = MEM32(edx + 0x8); /* 0x2F010703: mov esi, dword ptr [edx + 8] */ 4607 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010706: cmp esi, dword ptr [edi + 8] */ 4608 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4609 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4610 _flag_k = FK_CMP; 4611 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01070E; /* 0x2F010709: je 0x2f01070e */ 4612 L_2F01070B: 4613 MEM32(esi + 0x4) = ecx; /* 0x2F01070B: mov dword ptr [esi + 4], ecx */ 4614 L_2F01070E: 4615 esi = MEM32(ecx + 0x4); /* 0x2F01070E: mov esi, dword ptr [ecx + 4] */ 4616 MEM32(edx + 0x4) = esi; /* 0x2F010711: mov dword ptr [edx + 4], esi */ 4617 esi = MEM32(edi + 0x4); /* 0x2F010714: mov esi, dword ptr [edi + 4] */ 4618 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010717: cmp ecx, dword ptr [esi + 4] */ 4619 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4620 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4621 _flag_k = FK_CMP; 4622 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010721; /* 0x2F01071A: jne 0x2f010721 */ 4623 L_2F01071C: 4624 MEM32(esi + 0x4) = edx; /* 0x2F01071C: mov dword ptr [esi + 4], edx */ 4625 goto L_2F010730; /* 0x2F01071F: jmp 0x2f010730 */ 4626 L_2F010721: 4627 esi = MEM32(ecx + 0x4); /* 0x2F010721: mov esi, dword ptr [ecx + 4] */ 4628 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F010724: cmp ecx, dword ptr [esi + 8] */ 4629 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4630 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4631 _flag_k = FK_CMP; 4632 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01072E; /* 0x2F010727: jne 0x2f01072e */ 4633 L_2F010729: 4634 MEM32(esi + 0x8) = edx; /* 0x2F010729: mov dword ptr [esi + 8], edx */ 4635 goto L_2F010730; /* 0x2F01072C: jmp 0x2f010730 */ 4636 L_2F01072E: 4637 MEM32(esi) = edx; /* 0x2F01072E: mov dword ptr [esi], edx */ 4638 L_2F010730: 4639 MEM32(edx + 0x8) = ecx; /* 0x2F010730: mov dword ptr [edx + 8], ecx */ 4640 MEM32(ecx + 0x4) = edx; /* 0x2F010733: mov dword ptr [ecx + 4], edx */ 4641 edx = MEM32(eax + 0x4); /* 0x2F010736: mov edx, dword ptr [eax + 4] */ 4642 ecx = MEM32(edx); /* 0x2F010739: mov ecx, dword ptr [edx] */ 4643 L_2F01073B: 4644 edx = MEM32(ecx + 0x8); /* 0x2F01073B: mov edx, dword ptr [ecx + 8] */ 4645 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F01073E: cmp byte ptr [edx + 0x20], bl */ 4646 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4647 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4648 _flag_k = FK_NARROW(FK_CMP, 24); 4649 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010817; /* 0x2F010741: jne 0x2f010817 */ 4650 L_2F010747: 4651 edx = MEM32(ecx); /* 0x2F010747: mov edx, dword ptr [ecx] */ 4652 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F010749: cmp byte ptr [edx + 0x20], bl */ 4653 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4654 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4655 _flag_k = FK_NARROW(FK_CMP, 24); 4656 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010817; /* 0x2F01074C: jne 0x2f010817 */ 4657 L_2F010752: 4658 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010752: mov byte ptr [ecx + 0x20], 0 */ 4659 ecx = MEM32(edi + 0x4); /* 0x2F010756: mov ecx, dword ptr [edi + 4] */ 4660 eax = MEM32(eax + 0x4); /* 0x2F010759: mov eax, dword ptr [eax + 4] */ 4661 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F01075C: cmp eax, dword ptr [ecx + 4] */ 4662 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 4663 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4664 _flag_k = FK_CMP; 4665 RECOMP_BACKEDGE(); 4666 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010668; /* 0x2F01075F: jne 0x2f010668 */ 4667 L_2F010765: 4668 goto L_2F0108B6; /* 0x2F010765: jmp 0x2f0108b6 */ 4669 L_2F01076A: 4670 edx = MEM32(ecx + 0x8); /* 0x2F01076A: mov edx, dword ptr [ecx + 8] */ 4671 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F01076D: cmp byte ptr [edx + 0x20], bl */ 4672 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 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_2F0107BB; /* 0x2F010770: jne 0x2f0107bb */ 4676 L_2F010772: 4677 edx = MEM32(ecx); /* 0x2F010772: mov edx, dword ptr [ecx] */ 4678 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010774: mov byte ptr [edx + 0x20], bl */ 4679 edx = MEM32(ecx); /* 0x2F010777: mov edx, dword ptr [ecx] */ 4680 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010779: mov byte ptr [ecx + 0x20], 0 */ 4681 esi = MEM32(edx + 0x8); /* 0x2F01077D: mov esi, dword ptr [edx + 8] */ 4682 MEM32(ecx) = esi; /* 0x2F010780: mov dword ptr [ecx], esi */ 4683 esi = MEM32(edx + 0x8); /* 0x2F010782: mov esi, dword ptr [edx + 8] */ 4684 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010785: cmp esi, dword ptr [edi + 8] */ 4685 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4686 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4687 _flag_k = FK_CMP; 4688 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01078D; /* 0x2F010788: je 0x2f01078d */ 4689 L_2F01078A: 4690 MEM32(esi + 0x4) = ecx; /* 0x2F01078A: mov dword ptr [esi + 4], ecx */ 4691 L_2F01078D: 4692 esi = MEM32(ecx + 0x4); /* 0x2F01078D: mov esi, dword ptr [ecx + 4] */ 4693 MEM32(edx + 0x4) = esi; /* 0x2F010790: mov dword ptr [edx + 4], esi */ 4694 esi = MEM32(edi + 0x4); /* 0x2F010793: mov esi, dword ptr [edi + 4] */ 4695 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010796: cmp ecx, dword ptr [esi + 4] */ 4696 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4697 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4698 _flag_k = FK_CMP; 4699 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0107A0; /* 0x2F010799: jne 0x2f0107a0 */ 4700 L_2F01079B: 4701 MEM32(esi + 0x4) = edx; /* 0x2F01079B: mov dword ptr [esi + 4], edx */ 4702 goto L_2F0107AF; /* 0x2F01079E: jmp 0x2f0107af */ 4703 L_2F0107A0: 4704 esi = MEM32(ecx + 0x4); /* 0x2F0107A0: mov esi, dword ptr [ecx + 4] */ 4705 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F0107A3: cmp ecx, dword ptr [esi + 8] */ 4706 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 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_2F0107AD; /* 0x2F0107A6: jne 0x2f0107ad */ 4710 L_2F0107A8: 4711 MEM32(esi + 0x8) = edx; /* 0x2F0107A8: mov dword ptr [esi + 8], edx */ 4712 goto L_2F0107AF; /* 0x2F0107AB: jmp 0x2f0107af */ 4713 L_2F0107AD: 4714 MEM32(esi) = edx; /* 0x2F0107AD: mov dword ptr [esi], edx */ 4715 L_2F0107AF: 4716 MEM32(edx + 0x8) = ecx; /* 0x2F0107AF: mov dword ptr [edx + 8], ecx */ 4717 MEM32(ecx + 0x4) = edx; /* 0x2F0107B2: mov dword ptr [ecx + 4], edx */ 4718 ecx = MEM32(eax + 0x4); /* 0x2F0107B5: mov ecx, dword ptr [eax + 4] */ 4719 ecx = MEM32(ecx + 0x8); /* 0x2F0107B8: mov ecx, dword ptr [ecx + 8] */ 4720 L_2F0107BB: 4721 edx = MEM32(eax + 0x4); /* 0x2F0107BB: mov edx, dword ptr [eax + 4] */ 4722 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x2F0107BE: mov dl, byte ptr [edx + 0x20] */ 4723 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x2F0107C1: mov byte ptr [ecx + 0x20], dl */ 4724 edx = MEM32(eax + 0x4); /* 0x2F0107C4: mov edx, dword ptr [eax + 4] */ 4725 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0107C7: mov byte ptr [edx + 0x20], bl */ 4726 ecx = MEM32(ecx + 0x8); /* 0x2F0107CA: mov ecx, dword ptr [ecx + 8] */ 4727 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0107CD: mov byte ptr [ecx + 0x20], bl */ 4728 ecx = MEM32(eax + 0x4); /* 0x2F0107D0: mov ecx, dword ptr [eax + 4] */ 4729 edx = MEM32(ecx + 0x8); /* 0x2F0107D3: mov edx, dword ptr [ecx + 8] */ 4730 esi = MEM32(edx); /* 0x2F0107D6: mov esi, dword ptr [edx] */ 4731 MEM32(ecx + 0x8) = esi; /* 0x2F0107D8: mov dword ptr [ecx + 8], esi */ 4732 esi = MEM32(edx); /* 0x2F0107DB: mov esi, dword ptr [edx] */ 4733 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F0107DD: cmp esi, dword ptr [edi + 8] */ 4734 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4735 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4736 _flag_k = FK_CMP; 4737 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0107E5; /* 0x2F0107E0: je 0x2f0107e5 */ 4738 L_2F0107E2: 4739 MEM32(esi + 0x4) = ecx; /* 0x2F0107E2: mov dword ptr [esi + 4], ecx */ 4740 L_2F0107E5: 4741 esi = MEM32(ecx + 0x4); /* 0x2F0107E5: mov esi, dword ptr [ecx + 4] */ 4742 MEM32(edx + 0x4) = esi; /* 0x2F0107E8: mov dword ptr [edx + 4], esi */ 4743 esi = MEM32(edi + 0x4); /* 0x2F0107EB: mov esi, dword ptr [edi + 4] */ 4744 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F0107EE: cmp ecx, dword ptr [esi + 4] */ 4745 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4746 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4747 _flag_k = FK_CMP; 4748 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0107FD; /* 0x2F0107F1: jne 0x2f0107fd */ 4749 L_2F0107F3: 4750 MEM32(esi + 0x4) = edx; /* 0x2F0107F3: mov dword ptr [esi + 4], edx */ 4751 MEM32(edx) = ecx; /* 0x2F0107F6: mov dword ptr [edx], ecx */ 4752 goto L_2F0108B3; /* 0x2F0107F8: jmp 0x2f0108b3 */ 4753 L_2F0107FD: 4754 esi = MEM32(ecx + 0x4); /* 0x2F0107FD: mov esi, dword ptr [ecx + 4] */ 4755 /* cmp ecx, MEM32(esi) */ /* 0x2F010800: cmp ecx, dword ptr [esi] */ 4756 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 4757 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4758 _flag_k = FK_CMP; 4759 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01080D; /* 0x2F010802: jne 0x2f01080d */ 4760 L_2F010804: 4761 MEM32(esi) = edx; /* 0x2F010804: mov dword ptr [esi], edx */ 4762 MEM32(edx) = ecx; /* 0x2F010806: mov dword ptr [edx], ecx */ 4763 goto L_2F0108B3; /* 0x2F010808: jmp 0x2f0108b3 */ 4764 L_2F01080D: 4765 MEM32(esi + 0x8) = edx; /* 0x2F01080D: mov dword ptr [esi + 8], edx */ 4766 MEM32(edx) = ecx; /* 0x2F010810: mov dword ptr [edx], ecx */ 4767 goto L_2F0108B3; /* 0x2F010812: jmp 0x2f0108b3 */ 4768 L_2F010817: 4769 edx = MEM32(ecx); /* 0x2F010817: mov edx, dword ptr [ecx] */ 4770 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F010819: cmp byte ptr [edx + 0x20], bl */ 4771 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4772 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4773 _flag_k = FK_NARROW(FK_CMP, 24); 4774 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010865; /* 0x2F01081C: jne 0x2f010865 */ 4775 L_2F01081E: 4776 edx = MEM32(ecx + 0x8); /* 0x2F01081E: mov edx, dword ptr [ecx + 8] */ 4777 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010821: mov byte ptr [edx + 0x20], bl */ 4778 edx = MEM32(ecx + 0x8); /* 0x2F010824: mov edx, dword ptr [ecx + 8] */ 4779 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010827: mov byte ptr [ecx + 0x20], 0 */ 4780 esi = MEM32(edx); /* 0x2F01082B: mov esi, dword ptr [edx] */ 4781 MEM32(ecx + 0x8) = esi; /* 0x2F01082D: mov dword ptr [ecx + 8], esi */ 4782 esi = MEM32(edx); /* 0x2F010830: mov esi, dword ptr [edx] */ 4783 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010832: cmp esi, dword ptr [edi + 8] */ 4784 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4785 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4786 _flag_k = FK_CMP; 4787 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01083A; /* 0x2F010835: je 0x2f01083a */ 4788 L_2F010837: 4789 MEM32(esi + 0x4) = ecx; /* 0x2F010837: mov dword ptr [esi + 4], ecx */ 4790 L_2F01083A: 4791 esi = MEM32(ecx + 0x4); /* 0x2F01083A: mov esi, dword ptr [ecx + 4] */ 4792 MEM32(edx + 0x4) = esi; /* 0x2F01083D: mov dword ptr [edx + 4], esi */ 4793 esi = MEM32(edi + 0x4); /* 0x2F010840: mov esi, dword ptr [edi + 4] */ 4794 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010843: cmp ecx, dword ptr [esi + 4] */ 4795 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4796 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4797 _flag_k = FK_CMP; 4798 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01084D; /* 0x2F010846: jne 0x2f01084d */ 4799 L_2F010848: 4800 MEM32(esi + 0x4) = edx; /* 0x2F010848: mov dword ptr [esi + 4], edx */ 4801 goto L_2F01085B; /* 0x2F01084B: jmp 0x2f01085b */ 4802 L_2F01084D: 4803 esi = MEM32(ecx + 0x4); /* 0x2F01084D: mov esi, dword ptr [ecx + 4] */ 4804 /* cmp ecx, MEM32(esi) */ /* 0x2F010850: cmp ecx, dword ptr [esi] */ 4805 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 4806 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4807 _flag_k = FK_CMP; 4808 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010858; /* 0x2F010852: jne 0x2f010858 */ 4809 L_2F010854: 4810 MEM32(esi) = edx; /* 0x2F010854: mov dword ptr [esi], edx */ 4811 goto L_2F01085B; /* 0x2F010856: jmp 0x2f01085b */ 4812 L_2F010858: 4813 MEM32(esi + 0x8) = edx; /* 0x2F010858: mov dword ptr [esi + 8], edx */ 4814 L_2F01085B: 4815 MEM32(edx) = ecx; /* 0x2F01085B: mov dword ptr [edx], ecx */ 4816 MEM32(ecx + 0x4) = edx; /* 0x2F01085D: mov dword ptr [ecx + 4], edx */ 4817 ecx = MEM32(eax + 0x4); /* 0x2F010860: mov ecx, dword ptr [eax + 4] */ 4818 ecx = MEM32(ecx); /* 0x2F010863: mov ecx, dword ptr [ecx] */ 4819 L_2F010865: 4820 edx = MEM32(eax + 0x4); /* 0x2F010865: mov edx, dword ptr [eax + 4] */ 4821 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x2F010868: mov dl, byte ptr [edx + 0x20] */ 4822 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x2F01086B: mov byte ptr [ecx + 0x20], dl */ 4823 edx = MEM32(eax + 0x4); /* 0x2F01086E: mov edx, dword ptr [eax + 4] */ 4824 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010871: mov byte ptr [edx + 0x20], bl */ 4825 ecx = MEM32(ecx); /* 0x2F010874: mov ecx, dword ptr [ecx] */ 4826 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010876: mov byte ptr [ecx + 0x20], bl */ 4827 ecx = MEM32(eax + 0x4); /* 0x2F010879: mov ecx, dword ptr [eax + 4] */ 4828 edx = MEM32(ecx); /* 0x2F01087C: mov edx, dword ptr [ecx] */ 4829 esi = MEM32(edx + 0x8); /* 0x2F01087E: mov esi, dword ptr [edx + 8] */ 4830 MEM32(ecx) = esi; /* 0x2F010881: mov dword ptr [ecx], esi */ 4831 esi = MEM32(edx + 0x8); /* 0x2F010883: mov esi, dword ptr [edx + 8] */ 4832 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010886: cmp esi, dword ptr [edi + 8] */ 4833 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4834 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4835 _flag_k = FK_CMP; 4836 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01088E; /* 0x2F010889: je 0x2f01088e */ 4837 L_2F01088B: 4838 MEM32(esi + 0x4) = ecx; /* 0x2F01088B: mov dword ptr [esi + 4], ecx */ 4839 L_2F01088E: 4840 esi = MEM32(ecx + 0x4); /* 0x2F01088E: mov esi, dword ptr [ecx + 4] */ 4841 MEM32(edx + 0x4) = esi; /* 0x2F010891: mov dword ptr [edx + 4], esi */ 4842 esi = MEM32(edi + 0x4); /* 0x2F010894: mov esi, dword ptr [edi + 4] */ 4843 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010897: cmp ecx, dword ptr [esi + 4] */ 4844 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4845 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4846 _flag_k = FK_CMP; 4847 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0108A1; /* 0x2F01089A: jne 0x2f0108a1 */ 4848 L_2F01089C: 4849 MEM32(esi + 0x4) = edx; /* 0x2F01089C: mov dword ptr [esi + 4], edx */ 4850 goto L_2F0108B0; /* 0x2F01089F: jmp 0x2f0108b0 */ 4851 L_2F0108A1: 4852 esi = MEM32(ecx + 0x4); /* 0x2F0108A1: mov esi, dword ptr [ecx + 4] */ 4853 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F0108A4: cmp ecx, dword ptr [esi + 8] */ 4854 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4855 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4856 _flag_k = FK_CMP; 4857 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0108AE; /* 0x2F0108A7: jne 0x2f0108ae */ 4858 L_2F0108A9: 4859 MEM32(esi + 0x8) = edx; /* 0x2F0108A9: mov dword ptr [esi + 8], edx */ 4860 goto L_2F0108B0; /* 0x2F0108AC: jmp 0x2f0108b0 */ 4861 L_2F0108AE: 4862 MEM32(esi) = edx; /* 0x2F0108AE: mov dword ptr [esi], edx */ 4863 L_2F0108B0: 4864 MEM32(edx + 0x8) = ecx; /* 0x2F0108B0: mov dword ptr [edx + 8], ecx */ 4865 L_2F0108B3: 4866 MEM32(ecx + 0x4) = edx; /* 0x2F0108B3: mov dword ptr [ecx + 4], edx */ 4867 L_2F0108B6: 4868 esi = MEM32(ebp + (-0x4)); /* 0x2F0108B6: mov esi, dword ptr [ebp - 4] */ 4869 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0108B9: mov byte ptr [eax + 0x20], bl */ 4870 L_2F0108BC: 4871 ecx = esi + 0xC; /* 0x2F0108BC: lea ecx, [esi + 0xc] */ 4872 RECOMP_ICALL(0x2F00F8E0u); /* 0x2F0108BF: call 0x2f00f8e0 */ /* not lifted */ 4873 RECOMP_FLAGS_IN(); 4874 PUSH32(esp, esi); /* 0x2F0108C4: push esi */ 4875 RECOMP_ICALL(0x2F0116B4u); /* 0x2F0108C5: call 0x2f0116b4 */ /* not lifted */ 4876 RECOMP_FLAGS_IN(); 4877 eax = MEM32(edi + 0x10); /* 0x2F0108CA: mov eax, dword ptr [edi + 0x10] */ 4878 edx = MEM32(ebp + 0xC); /* 0x2F0108CD: mov edx, dword ptr [ebp + 0xc] */ 4879 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4880 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4881 esp = esp + 4; /* 0x2F0108D0: add esp, 4 */ 4882 _flag_k = FK_ADD; 4883 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 4884 eax = eax - 1; /* 0x2F0108D3: dec eax */ 4885 _flag_k = FK_DEC; 4886 MEM32(edi + 0x10) = eax; /* 0x2F0108D4: mov dword ptr [edi + 0x10], eax */ 4887 eax = MEM32(ebp + 0x8); /* 0x2F0108D7: mov eax, dword ptr [ebp + 8] */ 4888 edi = POP32_VAL(esp); /* 0x2F0108DA: pop edi */ 4889 esi = POP32_VAL(esp); /* 0x2F0108DB: pop esi */ 4890 MEM32(eax) = edx; /* 0x2F0108DC: mov dword ptr [eax], edx */ 4891 ebx = POP32_VAL(esp); /* 0x2F0108DE: pop ebx */ 4892 esp = ebp; /* 0x2F0108DF: mov esp, ebp */ 4893 ebp = POP32_VAL(esp); /* 0x2F0108E1: pop ebp */ 4894 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2F0108E2: ret 8 */ 4895 RECOMP_REGS_OUT(); 4896 } 4897 4898 void sub_2F010668(void) { 4899 int _fpu_cmp = 0; 4900 uint32_t _cf = 0; 4901 int _df = 1; 4902 uint32_t _flag_k = FK_NONE; 4903 uint32_t _flag_a = 0, _flag_b = 0; 4904 uint32_t _itail_tgt = 0; 4905 RECOMP_REGS_LOCALS 4906 RECOMP_ENTER(0x2F010668u); 4907 4908 L_2F010668: 4909 /* cmp MEM8(eax + 0x20), LO8(ebx) */ /* 0x2F010668: cmp byte ptr [eax + 0x20], bl */ 4910 _flag_a = (uint32_t)(MEM8(eax + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4911 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4912 _flag_k = FK_NARROW(FK_CMP, 24); 4913 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0108B6; /* 0x2F01066B: jne 0x2f0108b6 */ 4914 L_2F010671: 4915 edx = MEM32(eax + 0x4); /* 0x2F010671: mov edx, dword ptr [eax + 4] */ 4916 ecx = MEM32(edx); /* 0x2F010674: mov ecx, dword ptr [edx] */ 4917 /* cmp eax, ecx */ /* 0x2F010676: cmp eax, ecx */ 4918 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 4919 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4920 _flag_k = FK_CMP; 4921 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0106E8; /* 0x2F010678: jne 0x2f0106e8 */ 4922 L_2F01067A: 4923 ecx = MEM32(edx + 0x8); /* 0x2F01067A: mov ecx, dword ptr [edx + 8] */ 4924 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x2F01067D: mov dl, byte ptr [ecx + 0x20] */ 4925 /* test LO8(edx), LO8(edx) */ /* 0x2F010680: test dl, dl */ 4926 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 4927 _cf = 0; 4928 _flag_k = FK_NARROW(FK_TEST, 24); 4929 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F0106CF; /* 0x2F010682: jne 0x2f0106cf */ 4930 L_2F010684: 4931 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010684: mov byte ptr [ecx + 0x20], bl */ 4932 edx = MEM32(eax + 0x4); /* 0x2F010687: mov edx, dword ptr [eax + 4] */ 4933 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x2F01068A: mov byte ptr [edx + 0x20], 0 */ 4934 ecx = MEM32(eax + 0x4); /* 0x2F01068E: mov ecx, dword ptr [eax + 4] */ 4935 edx = MEM32(ecx + 0x8); /* 0x2F010691: mov edx, dword ptr [ecx + 8] */ 4936 esi = MEM32(edx); /* 0x2F010694: mov esi, dword ptr [edx] */ 4937 MEM32(ecx + 0x8) = esi; /* 0x2F010696: mov dword ptr [ecx + 8], esi */ 4938 esi = MEM32(edx); /* 0x2F010699: mov esi, dword ptr [edx] */ 4939 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F01069B: cmp esi, dword ptr [edi + 8] */ 4940 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4941 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4942 _flag_k = FK_CMP; 4943 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0106A3; /* 0x2F01069E: je 0x2f0106a3 */ 4944 L_2F0106A0: 4945 MEM32(esi + 0x4) = ecx; /* 0x2F0106A0: mov dword ptr [esi + 4], ecx */ 4946 L_2F0106A3: 4947 esi = MEM32(ecx + 0x4); /* 0x2F0106A3: mov esi, dword ptr [ecx + 4] */ 4948 MEM32(edx + 0x4) = esi; /* 0x2F0106A6: mov dword ptr [edx + 4], esi */ 4949 esi = MEM32(edi + 0x4); /* 0x2F0106A9: mov esi, dword ptr [edi + 4] */ 4950 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F0106AC: cmp ecx, dword ptr [esi + 4] */ 4951 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4952 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4953 _flag_k = FK_CMP; 4954 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0106B6; /* 0x2F0106AF: jne 0x2f0106b6 */ 4955 L_2F0106B1: 4956 MEM32(esi + 0x4) = edx; /* 0x2F0106B1: mov dword ptr [esi + 4], edx */ 4957 goto L_2F0106C4; /* 0x2F0106B4: jmp 0x2f0106c4 */ 4958 L_2F0106B6: 4959 esi = MEM32(ecx + 0x4); /* 0x2F0106B6: mov esi, dword ptr [ecx + 4] */ 4960 /* cmp ecx, MEM32(esi) */ /* 0x2F0106B9: cmp ecx, dword ptr [esi] */ 4961 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 4962 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4963 _flag_k = FK_CMP; 4964 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0106C1; /* 0x2F0106BB: jne 0x2f0106c1 */ 4965 L_2F0106BD: 4966 MEM32(esi) = edx; /* 0x2F0106BD: mov dword ptr [esi], edx */ 4967 goto L_2F0106C4; /* 0x2F0106BF: jmp 0x2f0106c4 */ 4968 L_2F0106C1: 4969 MEM32(esi + 0x8) = edx; /* 0x2F0106C1: mov dword ptr [esi + 8], edx */ 4970 L_2F0106C4: 4971 MEM32(edx) = ecx; /* 0x2F0106C4: mov dword ptr [edx], ecx */ 4972 MEM32(ecx + 0x4) = edx; /* 0x2F0106C6: mov dword ptr [ecx + 4], edx */ 4973 ecx = MEM32(eax + 0x4); /* 0x2F0106C9: mov ecx, dword ptr [eax + 4] */ 4974 ecx = MEM32(ecx + 0x8); /* 0x2F0106CC: mov ecx, dword ptr [ecx + 8] */ 4975 L_2F0106CF: 4976 edx = MEM32(ecx); /* 0x2F0106CF: mov edx, dword ptr [ecx] */ 4977 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F0106D1: cmp byte ptr [edx + 0x20], bl */ 4978 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4979 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4980 _flag_k = FK_NARROW(FK_CMP, 24); 4981 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01076A; /* 0x2F0106D4: jne 0x2f01076a */ 4982 L_2F0106DA: 4983 edx = MEM32(ecx + 0x8); /* 0x2F0106DA: mov edx, dword ptr [ecx + 8] */ 4984 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F0106DD: cmp byte ptr [edx + 0x20], bl */ 4985 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4986 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4987 _flag_k = FK_NARROW(FK_CMP, 24); 4988 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01076A; /* 0x2F0106E0: jne 0x2f01076a */ 4989 L_2F0106E6: 4990 goto L_2F010752; /* 0x2F0106E6: jmp 0x2f010752 */ 4991 L_2F0106E8: 4992 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x2F0106E8: mov dl, byte ptr [ecx + 0x20] */ 4993 /* test LO8(edx), LO8(edx) */ /* 0x2F0106EB: test dl, dl */ 4994 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 4995 _cf = 0; 4996 _flag_k = FK_NARROW(FK_TEST, 24); 4997 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F01073B; /* 0x2F0106ED: jne 0x2f01073b */ 4998 L_2F0106EF: 4999 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0106EF: mov byte ptr [ecx + 0x20], bl */ 5000 ecx = MEM32(eax + 0x4); /* 0x2F0106F2: mov ecx, dword ptr [eax + 4] */ 5001 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F0106F5: mov byte ptr [ecx + 0x20], 0 */ 5002 ecx = MEM32(eax + 0x4); /* 0x2F0106F9: mov ecx, dword ptr [eax + 4] */ 5003 edx = MEM32(ecx); /* 0x2F0106FC: mov edx, dword ptr [ecx] */ 5004 esi = MEM32(edx + 0x8); /* 0x2F0106FE: mov esi, dword ptr [edx + 8] */ 5005 MEM32(ecx) = esi; /* 0x2F010701: mov dword ptr [ecx], esi */ 5006 esi = MEM32(edx + 0x8); /* 0x2F010703: mov esi, dword ptr [edx + 8] */ 5007 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010706: cmp esi, dword ptr [edi + 8] */ 5008 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5009 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5010 _flag_k = FK_CMP; 5011 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01070E; /* 0x2F010709: je 0x2f01070e */ 5012 L_2F01070B: 5013 MEM32(esi + 0x4) = ecx; /* 0x2F01070B: mov dword ptr [esi + 4], ecx */ 5014 L_2F01070E: 5015 esi = MEM32(ecx + 0x4); /* 0x2F01070E: mov esi, dword ptr [ecx + 4] */ 5016 MEM32(edx + 0x4) = esi; /* 0x2F010711: mov dword ptr [edx + 4], esi */ 5017 esi = MEM32(edi + 0x4); /* 0x2F010714: mov esi, dword ptr [edi + 4] */ 5018 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010717: cmp ecx, dword ptr [esi + 4] */ 5019 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5020 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5021 _flag_k = FK_CMP; 5022 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010721; /* 0x2F01071A: jne 0x2f010721 */ 5023 L_2F01071C: 5024 MEM32(esi + 0x4) = edx; /* 0x2F01071C: mov dword ptr [esi + 4], edx */ 5025 goto L_2F010730; /* 0x2F01071F: jmp 0x2f010730 */ 5026 L_2F010721: 5027 esi = MEM32(ecx + 0x4); /* 0x2F010721: mov esi, dword ptr [ecx + 4] */ 5028 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F010724: cmp ecx, dword ptr [esi + 8] */ 5029 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5030 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5031 _flag_k = FK_CMP; 5032 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01072E; /* 0x2F010727: jne 0x2f01072e */ 5033 L_2F010729: 5034 MEM32(esi + 0x8) = edx; /* 0x2F010729: mov dword ptr [esi + 8], edx */ 5035 goto L_2F010730; /* 0x2F01072C: jmp 0x2f010730 */ 5036 L_2F01072E: 5037 MEM32(esi) = edx; /* 0x2F01072E: mov dword ptr [esi], edx */ 5038 L_2F010730: 5039 MEM32(edx + 0x8) = ecx; /* 0x2F010730: mov dword ptr [edx + 8], ecx */ 5040 MEM32(ecx + 0x4) = edx; /* 0x2F010733: mov dword ptr [ecx + 4], edx */ 5041 edx = MEM32(eax + 0x4); /* 0x2F010736: mov edx, dword ptr [eax + 4] */ 5042 ecx = MEM32(edx); /* 0x2F010739: mov ecx, dword ptr [edx] */ 5043 L_2F01073B: 5044 edx = MEM32(ecx + 0x8); /* 0x2F01073B: mov edx, dword ptr [ecx + 8] */ 5045 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F01073E: cmp byte ptr [edx + 0x20], bl */ 5046 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5047 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5048 _flag_k = FK_NARROW(FK_CMP, 24); 5049 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010817; /* 0x2F010741: jne 0x2f010817 */ 5050 L_2F010747: 5051 edx = MEM32(ecx); /* 0x2F010747: mov edx, dword ptr [ecx] */ 5052 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F010749: cmp byte ptr [edx + 0x20], bl */ 5053 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5054 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5055 _flag_k = FK_NARROW(FK_CMP, 24); 5056 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010817; /* 0x2F01074C: jne 0x2f010817 */ 5057 L_2F010752: 5058 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010752: mov byte ptr [ecx + 0x20], 0 */ 5059 ecx = MEM32(edi + 0x4); /* 0x2F010756: mov ecx, dword ptr [edi + 4] */ 5060 eax = MEM32(eax + 0x4); /* 0x2F010759: mov eax, dword ptr [eax + 4] */ 5061 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F01075C: cmp eax, dword ptr [ecx + 4] */ 5062 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 5063 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5064 _flag_k = FK_CMP; 5065 RECOMP_BACKEDGE(); 5066 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010668; /* 0x2F01075F: jne 0x2f010668 */ 5067 L_2F010765: 5068 goto L_2F0108B6; /* 0x2F010765: jmp 0x2f0108b6 */ 5069 L_2F01076A: 5070 edx = MEM32(ecx + 0x8); /* 0x2F01076A: mov edx, dword ptr [ecx + 8] */ 5071 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F01076D: cmp byte ptr [edx + 0x20], bl */ 5072 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 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_2F0107BB; /* 0x2F010770: jne 0x2f0107bb */ 5076 L_2F010772: 5077 edx = MEM32(ecx); /* 0x2F010772: mov edx, dword ptr [ecx] */ 5078 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010774: mov byte ptr [edx + 0x20], bl */ 5079 edx = MEM32(ecx); /* 0x2F010777: mov edx, dword ptr [ecx] */ 5080 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010779: mov byte ptr [ecx + 0x20], 0 */ 5081 esi = MEM32(edx + 0x8); /* 0x2F01077D: mov esi, dword ptr [edx + 8] */ 5082 MEM32(ecx) = esi; /* 0x2F010780: mov dword ptr [ecx], esi */ 5083 esi = MEM32(edx + 0x8); /* 0x2F010782: mov esi, dword ptr [edx + 8] */ 5084 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010785: cmp esi, dword ptr [edi + 8] */ 5085 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5086 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5087 _flag_k = FK_CMP; 5088 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01078D; /* 0x2F010788: je 0x2f01078d */ 5089 L_2F01078A: 5090 MEM32(esi + 0x4) = ecx; /* 0x2F01078A: mov dword ptr [esi + 4], ecx */ 5091 L_2F01078D: 5092 esi = MEM32(ecx + 0x4); /* 0x2F01078D: mov esi, dword ptr [ecx + 4] */ 5093 MEM32(edx + 0x4) = esi; /* 0x2F010790: mov dword ptr [edx + 4], esi */ 5094 esi = MEM32(edi + 0x4); /* 0x2F010793: mov esi, dword ptr [edi + 4] */ 5095 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010796: cmp ecx, dword ptr [esi + 4] */ 5096 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5097 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5098 _flag_k = FK_CMP; 5099 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0107A0; /* 0x2F010799: jne 0x2f0107a0 */ 5100 L_2F01079B: 5101 MEM32(esi + 0x4) = edx; /* 0x2F01079B: mov dword ptr [esi + 4], edx */ 5102 goto L_2F0107AF; /* 0x2F01079E: jmp 0x2f0107af */ 5103 L_2F0107A0: 5104 esi = MEM32(ecx + 0x4); /* 0x2F0107A0: mov esi, dword ptr [ecx + 4] */ 5105 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F0107A3: cmp ecx, dword ptr [esi + 8] */ 5106 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 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_2F0107AD; /* 0x2F0107A6: jne 0x2f0107ad */ 5110 L_2F0107A8: 5111 MEM32(esi + 0x8) = edx; /* 0x2F0107A8: mov dword ptr [esi + 8], edx */ 5112 goto L_2F0107AF; /* 0x2F0107AB: jmp 0x2f0107af */ 5113 L_2F0107AD: 5114 MEM32(esi) = edx; /* 0x2F0107AD: mov dword ptr [esi], edx */ 5115 L_2F0107AF: 5116 MEM32(edx + 0x8) = ecx; /* 0x2F0107AF: mov dword ptr [edx + 8], ecx */ 5117 MEM32(ecx + 0x4) = edx; /* 0x2F0107B2: mov dword ptr [ecx + 4], edx */ 5118 ecx = MEM32(eax + 0x4); /* 0x2F0107B5: mov ecx, dword ptr [eax + 4] */ 5119 ecx = MEM32(ecx + 0x8); /* 0x2F0107B8: mov ecx, dword ptr [ecx + 8] */ 5120 L_2F0107BB: 5121 edx = MEM32(eax + 0x4); /* 0x2F0107BB: mov edx, dword ptr [eax + 4] */ 5122 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x2F0107BE: mov dl, byte ptr [edx + 0x20] */ 5123 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x2F0107C1: mov byte ptr [ecx + 0x20], dl */ 5124 edx = MEM32(eax + 0x4); /* 0x2F0107C4: mov edx, dword ptr [eax + 4] */ 5125 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0107C7: mov byte ptr [edx + 0x20], bl */ 5126 ecx = MEM32(ecx + 0x8); /* 0x2F0107CA: mov ecx, dword ptr [ecx + 8] */ 5127 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0107CD: mov byte ptr [ecx + 0x20], bl */ 5128 ecx = MEM32(eax + 0x4); /* 0x2F0107D0: mov ecx, dword ptr [eax + 4] */ 5129 edx = MEM32(ecx + 0x8); /* 0x2F0107D3: mov edx, dword ptr [ecx + 8] */ 5130 esi = MEM32(edx); /* 0x2F0107D6: mov esi, dword ptr [edx] */ 5131 MEM32(ecx + 0x8) = esi; /* 0x2F0107D8: mov dword ptr [ecx + 8], esi */ 5132 esi = MEM32(edx); /* 0x2F0107DB: mov esi, dword ptr [edx] */ 5133 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F0107DD: cmp esi, dword ptr [edi + 8] */ 5134 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5135 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5136 _flag_k = FK_CMP; 5137 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0107E5; /* 0x2F0107E0: je 0x2f0107e5 */ 5138 L_2F0107E2: 5139 MEM32(esi + 0x4) = ecx; /* 0x2F0107E2: mov dword ptr [esi + 4], ecx */ 5140 L_2F0107E5: 5141 esi = MEM32(ecx + 0x4); /* 0x2F0107E5: mov esi, dword ptr [ecx + 4] */ 5142 MEM32(edx + 0x4) = esi; /* 0x2F0107E8: mov dword ptr [edx + 4], esi */ 5143 esi = MEM32(edi + 0x4); /* 0x2F0107EB: mov esi, dword ptr [edi + 4] */ 5144 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F0107EE: cmp ecx, dword ptr [esi + 4] */ 5145 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5146 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5147 _flag_k = FK_CMP; 5148 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0107FD; /* 0x2F0107F1: jne 0x2f0107fd */ 5149 L_2F0107F3: 5150 MEM32(esi + 0x4) = edx; /* 0x2F0107F3: mov dword ptr [esi + 4], edx */ 5151 MEM32(edx) = ecx; /* 0x2F0107F6: mov dword ptr [edx], ecx */ 5152 goto L_2F0108B3; /* 0x2F0107F8: jmp 0x2f0108b3 */ 5153 L_2F0107FD: 5154 esi = MEM32(ecx + 0x4); /* 0x2F0107FD: mov esi, dword ptr [ecx + 4] */ 5155 /* cmp ecx, MEM32(esi) */ /* 0x2F010800: cmp ecx, dword ptr [esi] */ 5156 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5157 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5158 _flag_k = FK_CMP; 5159 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01080D; /* 0x2F010802: jne 0x2f01080d */ 5160 L_2F010804: 5161 MEM32(esi) = edx; /* 0x2F010804: mov dword ptr [esi], edx */ 5162 MEM32(edx) = ecx; /* 0x2F010806: mov dword ptr [edx], ecx */ 5163 goto L_2F0108B3; /* 0x2F010808: jmp 0x2f0108b3 */ 5164 L_2F01080D: 5165 MEM32(esi + 0x8) = edx; /* 0x2F01080D: mov dword ptr [esi + 8], edx */ 5166 MEM32(edx) = ecx; /* 0x2F010810: mov dword ptr [edx], ecx */ 5167 goto L_2F0108B3; /* 0x2F010812: jmp 0x2f0108b3 */ 5168 L_2F010817: 5169 edx = MEM32(ecx); /* 0x2F010817: mov edx, dword ptr [ecx] */ 5170 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F010819: cmp byte ptr [edx + 0x20], bl */ 5171 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5172 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5173 _flag_k = FK_NARROW(FK_CMP, 24); 5174 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010865; /* 0x2F01081C: jne 0x2f010865 */ 5175 L_2F01081E: 5176 edx = MEM32(ecx + 0x8); /* 0x2F01081E: mov edx, dword ptr [ecx + 8] */ 5177 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010821: mov byte ptr [edx + 0x20], bl */ 5178 edx = MEM32(ecx + 0x8); /* 0x2F010824: mov edx, dword ptr [ecx + 8] */ 5179 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010827: mov byte ptr [ecx + 0x20], 0 */ 5180 esi = MEM32(edx); /* 0x2F01082B: mov esi, dword ptr [edx] */ 5181 MEM32(ecx + 0x8) = esi; /* 0x2F01082D: mov dword ptr [ecx + 8], esi */ 5182 esi = MEM32(edx); /* 0x2F010830: mov esi, dword ptr [edx] */ 5183 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010832: cmp esi, dword ptr [edi + 8] */ 5184 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5185 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5186 _flag_k = FK_CMP; 5187 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01083A; /* 0x2F010835: je 0x2f01083a */ 5188 L_2F010837: 5189 MEM32(esi + 0x4) = ecx; /* 0x2F010837: mov dword ptr [esi + 4], ecx */ 5190 L_2F01083A: 5191 esi = MEM32(ecx + 0x4); /* 0x2F01083A: mov esi, dword ptr [ecx + 4] */ 5192 MEM32(edx + 0x4) = esi; /* 0x2F01083D: mov dword ptr [edx + 4], esi */ 5193 esi = MEM32(edi + 0x4); /* 0x2F010840: mov esi, dword ptr [edi + 4] */ 5194 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010843: cmp ecx, dword ptr [esi + 4] */ 5195 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5196 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5197 _flag_k = FK_CMP; 5198 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01084D; /* 0x2F010846: jne 0x2f01084d */ 5199 L_2F010848: 5200 MEM32(esi + 0x4) = edx; /* 0x2F010848: mov dword ptr [esi + 4], edx */ 5201 goto L_2F01085B; /* 0x2F01084B: jmp 0x2f01085b */ 5202 L_2F01084D: 5203 esi = MEM32(ecx + 0x4); /* 0x2F01084D: mov esi, dword ptr [ecx + 4] */ 5204 /* cmp ecx, MEM32(esi) */ /* 0x2F010850: cmp ecx, dword ptr [esi] */ 5205 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5206 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5207 _flag_k = FK_CMP; 5208 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010858; /* 0x2F010852: jne 0x2f010858 */ 5209 L_2F010854: 5210 MEM32(esi) = edx; /* 0x2F010854: mov dword ptr [esi], edx */ 5211 goto L_2F01085B; /* 0x2F010856: jmp 0x2f01085b */ 5212 L_2F010858: 5213 MEM32(esi + 0x8) = edx; /* 0x2F010858: mov dword ptr [esi + 8], edx */ 5214 L_2F01085B: 5215 MEM32(edx) = ecx; /* 0x2F01085B: mov dword ptr [edx], ecx */ 5216 MEM32(ecx + 0x4) = edx; /* 0x2F01085D: mov dword ptr [ecx + 4], edx */ 5217 ecx = MEM32(eax + 0x4); /* 0x2F010860: mov ecx, dword ptr [eax + 4] */ 5218 ecx = MEM32(ecx); /* 0x2F010863: mov ecx, dword ptr [ecx] */ 5219 L_2F010865: 5220 edx = MEM32(eax + 0x4); /* 0x2F010865: mov edx, dword ptr [eax + 4] */ 5221 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x2F010868: mov dl, byte ptr [edx + 0x20] */ 5222 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x2F01086B: mov byte ptr [ecx + 0x20], dl */ 5223 edx = MEM32(eax + 0x4); /* 0x2F01086E: mov edx, dword ptr [eax + 4] */ 5224 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010871: mov byte ptr [edx + 0x20], bl */ 5225 ecx = MEM32(ecx); /* 0x2F010874: mov ecx, dword ptr [ecx] */ 5226 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010876: mov byte ptr [ecx + 0x20], bl */ 5227 ecx = MEM32(eax + 0x4); /* 0x2F010879: mov ecx, dword ptr [eax + 4] */ 5228 edx = MEM32(ecx); /* 0x2F01087C: mov edx, dword ptr [ecx] */ 5229 esi = MEM32(edx + 0x8); /* 0x2F01087E: mov esi, dword ptr [edx + 8] */ 5230 MEM32(ecx) = esi; /* 0x2F010881: mov dword ptr [ecx], esi */ 5231 esi = MEM32(edx + 0x8); /* 0x2F010883: mov esi, dword ptr [edx + 8] */ 5232 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010886: cmp esi, dword ptr [edi + 8] */ 5233 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5234 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5235 _flag_k = FK_CMP; 5236 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01088E; /* 0x2F010889: je 0x2f01088e */ 5237 L_2F01088B: 5238 MEM32(esi + 0x4) = ecx; /* 0x2F01088B: mov dword ptr [esi + 4], ecx */ 5239 L_2F01088E: 5240 esi = MEM32(ecx + 0x4); /* 0x2F01088E: mov esi, dword ptr [ecx + 4] */ 5241 MEM32(edx + 0x4) = esi; /* 0x2F010891: mov dword ptr [edx + 4], esi */ 5242 esi = MEM32(edi + 0x4); /* 0x2F010894: mov esi, dword ptr [edi + 4] */ 5243 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010897: cmp ecx, dword ptr [esi + 4] */ 5244 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5245 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5246 _flag_k = FK_CMP; 5247 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0108A1; /* 0x2F01089A: jne 0x2f0108a1 */ 5248 L_2F01089C: 5249 MEM32(esi + 0x4) = edx; /* 0x2F01089C: mov dword ptr [esi + 4], edx */ 5250 goto L_2F0108B0; /* 0x2F01089F: jmp 0x2f0108b0 */ 5251 L_2F0108A1: 5252 esi = MEM32(ecx + 0x4); /* 0x2F0108A1: mov esi, dword ptr [ecx + 4] */ 5253 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F0108A4: cmp ecx, dword ptr [esi + 8] */ 5254 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5255 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5256 _flag_k = FK_CMP; 5257 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0108AE; /* 0x2F0108A7: jne 0x2f0108ae */ 5258 L_2F0108A9: 5259 MEM32(esi + 0x8) = edx; /* 0x2F0108A9: mov dword ptr [esi + 8], edx */ 5260 goto L_2F0108B0; /* 0x2F0108AC: jmp 0x2f0108b0 */ 5261 L_2F0108AE: 5262 MEM32(esi) = edx; /* 0x2F0108AE: mov dword ptr [esi], edx */ 5263 L_2F0108B0: 5264 MEM32(edx + 0x8) = ecx; /* 0x2F0108B0: mov dword ptr [edx + 8], ecx */ 5265 L_2F0108B3: 5266 MEM32(ecx + 0x4) = edx; /* 0x2F0108B3: mov dword ptr [ecx + 4], edx */ 5267 L_2F0108B6: 5268 esi = MEM32(ebp + (-0x4)); /* 0x2F0108B6: mov esi, dword ptr [ebp - 4] */ 5269 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0108B9: mov byte ptr [eax + 0x20], bl */ 5270 ecx = esi + 0xC; /* 0x2F0108BC: lea ecx, [esi + 0xc] */ 5271 RECOMP_ICALL(0x2F00F8E0u); /* 0x2F0108BF: call 0x2f00f8e0 */ /* not lifted */ 5272 RECOMP_FLAGS_IN(); 5273 PUSH32(esp, esi); /* 0x2F0108C4: push esi */ 5274 RECOMP_ICALL(0x2F0116B4u); /* 0x2F0108C5: call 0x2f0116b4 */ /* not lifted */ 5275 RECOMP_FLAGS_IN(); 5276 eax = MEM32(edi + 0x10); /* 0x2F0108CA: mov eax, dword ptr [edi + 0x10] */ 5277 edx = MEM32(ebp + 0xC); /* 0x2F0108CD: mov edx, dword ptr [ebp + 0xc] */ 5278 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5279 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5280 esp = esp + 4; /* 0x2F0108D0: add esp, 4 */ 5281 _flag_k = FK_ADD; 5282 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 5283 eax = eax - 1; /* 0x2F0108D3: dec eax */ 5284 _flag_k = FK_DEC; 5285 MEM32(edi + 0x10) = eax; /* 0x2F0108D4: mov dword ptr [edi + 0x10], eax */ 5286 eax = MEM32(ebp + 0x8); /* 0x2F0108D7: mov eax, dword ptr [ebp + 8] */ 5287 edi = POP32_VAL(esp); /* 0x2F0108DA: pop edi */ 5288 esi = POP32_VAL(esp); /* 0x2F0108DB: pop esi */ 5289 MEM32(eax) = edx; /* 0x2F0108DC: mov dword ptr [eax], edx */ 5290 ebx = POP32_VAL(esp); /* 0x2F0108DE: pop ebx */ 5291 esp = ebp; /* 0x2F0108DF: mov esp, ebp */ 5292 ebp = POP32_VAL(esp); /* 0x2F0108E1: pop ebp */ 5293 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2F0108E2: ret 8 */ 5294 RECOMP_REGS_OUT(); 5295 } 5296 5297 void sub_2F0106C4(void) { 5298 int _fpu_cmp = 0; 5299 uint32_t _cf = 0; 5300 int _df = 1; 5301 uint32_t _flag_k = FK_NONE; 5302 uint32_t _flag_a = 0, _flag_b = 0; 5303 uint32_t _itail_tgt = 0; 5304 RECOMP_REGS_LOCALS 5305 RECOMP_ENTER(0x2F0106C4u); 5306 5307 goto L_2F0106C4; 5308 L_2F010668: 5309 /* cmp MEM8(eax + 0x20), LO8(ebx) */ /* 0x2F010668: cmp byte ptr [eax + 0x20], bl */ 5310 _flag_a = (uint32_t)(MEM8(eax + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5311 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5312 _flag_k = FK_NARROW(FK_CMP, 24); 5313 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0108B6; /* 0x2F01066B: jne 0x2f0108b6 */ 5314 L_2F010671: 5315 edx = MEM32(eax + 0x4); /* 0x2F010671: mov edx, dword ptr [eax + 4] */ 5316 ecx = MEM32(edx); /* 0x2F010674: mov ecx, dword ptr [edx] */ 5317 /* cmp eax, ecx */ /* 0x2F010676: cmp eax, ecx */ 5318 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 5319 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5320 _flag_k = FK_CMP; 5321 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0106E8; /* 0x2F010678: jne 0x2f0106e8 */ 5322 L_2F01067A: 5323 ecx = MEM32(edx + 0x8); /* 0x2F01067A: mov ecx, dword ptr [edx + 8] */ 5324 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x2F01067D: mov dl, byte ptr [ecx + 0x20] */ 5325 /* test LO8(edx), LO8(edx) */ /* 0x2F010680: test dl, dl */ 5326 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 5327 _cf = 0; 5328 _flag_k = FK_NARROW(FK_TEST, 24); 5329 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F0106CF; /* 0x2F010682: jne 0x2f0106cf */ 5330 L_2F010684: 5331 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010684: mov byte ptr [ecx + 0x20], bl */ 5332 edx = MEM32(eax + 0x4); /* 0x2F010687: mov edx, dword ptr [eax + 4] */ 5333 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x2F01068A: mov byte ptr [edx + 0x20], 0 */ 5334 ecx = MEM32(eax + 0x4); /* 0x2F01068E: mov ecx, dword ptr [eax + 4] */ 5335 edx = MEM32(ecx + 0x8); /* 0x2F010691: mov edx, dword ptr [ecx + 8] */ 5336 esi = MEM32(edx); /* 0x2F010694: mov esi, dword ptr [edx] */ 5337 MEM32(ecx + 0x8) = esi; /* 0x2F010696: mov dword ptr [ecx + 8], esi */ 5338 esi = MEM32(edx); /* 0x2F010699: mov esi, dword ptr [edx] */ 5339 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F01069B: cmp esi, dword ptr [edi + 8] */ 5340 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5341 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5342 _flag_k = FK_CMP; 5343 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0106A3; /* 0x2F01069E: je 0x2f0106a3 */ 5344 L_2F0106A0: 5345 MEM32(esi + 0x4) = ecx; /* 0x2F0106A0: mov dword ptr [esi + 4], ecx */ 5346 L_2F0106A3: 5347 esi = MEM32(ecx + 0x4); /* 0x2F0106A3: mov esi, dword ptr [ecx + 4] */ 5348 MEM32(edx + 0x4) = esi; /* 0x2F0106A6: mov dword ptr [edx + 4], esi */ 5349 esi = MEM32(edi + 0x4); /* 0x2F0106A9: mov esi, dword ptr [edi + 4] */ 5350 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F0106AC: cmp ecx, dword ptr [esi + 4] */ 5351 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5352 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5353 _flag_k = FK_CMP; 5354 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0106B6; /* 0x2F0106AF: jne 0x2f0106b6 */ 5355 L_2F0106B1: 5356 MEM32(esi + 0x4) = edx; /* 0x2F0106B1: mov dword ptr [esi + 4], edx */ 5357 goto L_2F0106C4; /* 0x2F0106B4: jmp 0x2f0106c4 */ 5358 L_2F0106B6: 5359 esi = MEM32(ecx + 0x4); /* 0x2F0106B6: mov esi, dword ptr [ecx + 4] */ 5360 /* cmp ecx, MEM32(esi) */ /* 0x2F0106B9: cmp ecx, dword ptr [esi] */ 5361 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5362 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5363 _flag_k = FK_CMP; 5364 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0106C1; /* 0x2F0106BB: jne 0x2f0106c1 */ 5365 L_2F0106BD: 5366 MEM32(esi) = edx; /* 0x2F0106BD: mov dword ptr [esi], edx */ 5367 goto L_2F0106C4; /* 0x2F0106BF: jmp 0x2f0106c4 */ 5368 L_2F0106C1: 5369 MEM32(esi + 0x8) = edx; /* 0x2F0106C1: mov dword ptr [esi + 8], edx */ 5370 L_2F0106C4: 5371 MEM32(edx) = ecx; /* 0x2F0106C4: mov dword ptr [edx], ecx */ 5372 MEM32(ecx + 0x4) = edx; /* 0x2F0106C6: mov dword ptr [ecx + 4], edx */ 5373 ecx = MEM32(eax + 0x4); /* 0x2F0106C9: mov ecx, dword ptr [eax + 4] */ 5374 ecx = MEM32(ecx + 0x8); /* 0x2F0106CC: mov ecx, dword ptr [ecx + 8] */ 5375 L_2F0106CF: 5376 edx = MEM32(ecx); /* 0x2F0106CF: mov edx, dword ptr [ecx] */ 5377 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F0106D1: cmp byte ptr [edx + 0x20], bl */ 5378 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5379 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5380 _flag_k = FK_NARROW(FK_CMP, 24); 5381 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01076A; /* 0x2F0106D4: jne 0x2f01076a */ 5382 L_2F0106DA: 5383 edx = MEM32(ecx + 0x8); /* 0x2F0106DA: mov edx, dword ptr [ecx + 8] */ 5384 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F0106DD: cmp byte ptr [edx + 0x20], bl */ 5385 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5386 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5387 _flag_k = FK_NARROW(FK_CMP, 24); 5388 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01076A; /* 0x2F0106E0: jne 0x2f01076a */ 5389 L_2F0106E6: 5390 goto L_2F010752; /* 0x2F0106E6: jmp 0x2f010752 */ 5391 L_2F0106E8: 5392 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x2F0106E8: mov dl, byte ptr [ecx + 0x20] */ 5393 /* test LO8(edx), LO8(edx) */ /* 0x2F0106EB: test dl, dl */ 5394 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 5395 _cf = 0; 5396 _flag_k = FK_NARROW(FK_TEST, 24); 5397 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F01073B; /* 0x2F0106ED: jne 0x2f01073b */ 5398 L_2F0106EF: 5399 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0106EF: mov byte ptr [ecx + 0x20], bl */ 5400 ecx = MEM32(eax + 0x4); /* 0x2F0106F2: mov ecx, dword ptr [eax + 4] */ 5401 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F0106F5: mov byte ptr [ecx + 0x20], 0 */ 5402 ecx = MEM32(eax + 0x4); /* 0x2F0106F9: mov ecx, dword ptr [eax + 4] */ 5403 edx = MEM32(ecx); /* 0x2F0106FC: mov edx, dword ptr [ecx] */ 5404 esi = MEM32(edx + 0x8); /* 0x2F0106FE: mov esi, dword ptr [edx + 8] */ 5405 MEM32(ecx) = esi; /* 0x2F010701: mov dword ptr [ecx], esi */ 5406 esi = MEM32(edx + 0x8); /* 0x2F010703: mov esi, dword ptr [edx + 8] */ 5407 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010706: cmp esi, dword ptr [edi + 8] */ 5408 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5409 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5410 _flag_k = FK_CMP; 5411 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01070E; /* 0x2F010709: je 0x2f01070e */ 5412 L_2F01070B: 5413 MEM32(esi + 0x4) = ecx; /* 0x2F01070B: mov dword ptr [esi + 4], ecx */ 5414 L_2F01070E: 5415 esi = MEM32(ecx + 0x4); /* 0x2F01070E: mov esi, dword ptr [ecx + 4] */ 5416 MEM32(edx + 0x4) = esi; /* 0x2F010711: mov dword ptr [edx + 4], esi */ 5417 esi = MEM32(edi + 0x4); /* 0x2F010714: mov esi, dword ptr [edi + 4] */ 5418 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010717: cmp ecx, dword ptr [esi + 4] */ 5419 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5420 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5421 _flag_k = FK_CMP; 5422 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010721; /* 0x2F01071A: jne 0x2f010721 */ 5423 L_2F01071C: 5424 MEM32(esi + 0x4) = edx; /* 0x2F01071C: mov dword ptr [esi + 4], edx */ 5425 goto L_2F010730; /* 0x2F01071F: jmp 0x2f010730 */ 5426 L_2F010721: 5427 esi = MEM32(ecx + 0x4); /* 0x2F010721: mov esi, dword ptr [ecx + 4] */ 5428 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F010724: cmp ecx, dword ptr [esi + 8] */ 5429 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5430 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5431 _flag_k = FK_CMP; 5432 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01072E; /* 0x2F010727: jne 0x2f01072e */ 5433 L_2F010729: 5434 MEM32(esi + 0x8) = edx; /* 0x2F010729: mov dword ptr [esi + 8], edx */ 5435 goto L_2F010730; /* 0x2F01072C: jmp 0x2f010730 */ 5436 L_2F01072E: 5437 MEM32(esi) = edx; /* 0x2F01072E: mov dword ptr [esi], edx */ 5438 L_2F010730: 5439 MEM32(edx + 0x8) = ecx; /* 0x2F010730: mov dword ptr [edx + 8], ecx */ 5440 MEM32(ecx + 0x4) = edx; /* 0x2F010733: mov dword ptr [ecx + 4], edx */ 5441 edx = MEM32(eax + 0x4); /* 0x2F010736: mov edx, dword ptr [eax + 4] */ 5442 ecx = MEM32(edx); /* 0x2F010739: mov ecx, dword ptr [edx] */ 5443 L_2F01073B: 5444 edx = MEM32(ecx + 0x8); /* 0x2F01073B: mov edx, dword ptr [ecx + 8] */ 5445 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F01073E: cmp byte ptr [edx + 0x20], bl */ 5446 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5447 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5448 _flag_k = FK_NARROW(FK_CMP, 24); 5449 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010817; /* 0x2F010741: jne 0x2f010817 */ 5450 L_2F010747: 5451 edx = MEM32(ecx); /* 0x2F010747: mov edx, dword ptr [ecx] */ 5452 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F010749: cmp byte ptr [edx + 0x20], bl */ 5453 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5454 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5455 _flag_k = FK_NARROW(FK_CMP, 24); 5456 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010817; /* 0x2F01074C: jne 0x2f010817 */ 5457 L_2F010752: 5458 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010752: mov byte ptr [ecx + 0x20], 0 */ 5459 ecx = MEM32(edi + 0x4); /* 0x2F010756: mov ecx, dword ptr [edi + 4] */ 5460 eax = MEM32(eax + 0x4); /* 0x2F010759: mov eax, dword ptr [eax + 4] */ 5461 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F01075C: cmp eax, dword ptr [ecx + 4] */ 5462 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 5463 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5464 _flag_k = FK_CMP; 5465 RECOMP_BACKEDGE(); 5466 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010668; /* 0x2F01075F: jne 0x2f010668 */ 5467 L_2F010765: 5468 goto L_2F0108B6; /* 0x2F010765: jmp 0x2f0108b6 */ 5469 L_2F01076A: 5470 edx = MEM32(ecx + 0x8); /* 0x2F01076A: mov edx, dword ptr [ecx + 8] */ 5471 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F01076D: cmp byte ptr [edx + 0x20], bl */ 5472 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 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_2F0107BB; /* 0x2F010770: jne 0x2f0107bb */ 5476 L_2F010772: 5477 edx = MEM32(ecx); /* 0x2F010772: mov edx, dword ptr [ecx] */ 5478 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010774: mov byte ptr [edx + 0x20], bl */ 5479 edx = MEM32(ecx); /* 0x2F010777: mov edx, dword ptr [ecx] */ 5480 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010779: mov byte ptr [ecx + 0x20], 0 */ 5481 esi = MEM32(edx + 0x8); /* 0x2F01077D: mov esi, dword ptr [edx + 8] */ 5482 MEM32(ecx) = esi; /* 0x2F010780: mov dword ptr [ecx], esi */ 5483 esi = MEM32(edx + 0x8); /* 0x2F010782: mov esi, dword ptr [edx + 8] */ 5484 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010785: cmp esi, dword ptr [edi + 8] */ 5485 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5486 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5487 _flag_k = FK_CMP; 5488 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01078D; /* 0x2F010788: je 0x2f01078d */ 5489 L_2F01078A: 5490 MEM32(esi + 0x4) = ecx; /* 0x2F01078A: mov dword ptr [esi + 4], ecx */ 5491 L_2F01078D: 5492 esi = MEM32(ecx + 0x4); /* 0x2F01078D: mov esi, dword ptr [ecx + 4] */ 5493 MEM32(edx + 0x4) = esi; /* 0x2F010790: mov dword ptr [edx + 4], esi */ 5494 esi = MEM32(edi + 0x4); /* 0x2F010793: mov esi, dword ptr [edi + 4] */ 5495 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010796: cmp ecx, dword ptr [esi + 4] */ 5496 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5497 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5498 _flag_k = FK_CMP; 5499 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0107A0; /* 0x2F010799: jne 0x2f0107a0 */ 5500 L_2F01079B: 5501 MEM32(esi + 0x4) = edx; /* 0x2F01079B: mov dword ptr [esi + 4], edx */ 5502 goto L_2F0107AF; /* 0x2F01079E: jmp 0x2f0107af */ 5503 L_2F0107A0: 5504 esi = MEM32(ecx + 0x4); /* 0x2F0107A0: mov esi, dword ptr [ecx + 4] */ 5505 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F0107A3: cmp ecx, dword ptr [esi + 8] */ 5506 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 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_2F0107AD; /* 0x2F0107A6: jne 0x2f0107ad */ 5510 L_2F0107A8: 5511 MEM32(esi + 0x8) = edx; /* 0x2F0107A8: mov dword ptr [esi + 8], edx */ 5512 goto L_2F0107AF; /* 0x2F0107AB: jmp 0x2f0107af */ 5513 L_2F0107AD: 5514 MEM32(esi) = edx; /* 0x2F0107AD: mov dword ptr [esi], edx */ 5515 L_2F0107AF: 5516 MEM32(edx + 0x8) = ecx; /* 0x2F0107AF: mov dword ptr [edx + 8], ecx */ 5517 MEM32(ecx + 0x4) = edx; /* 0x2F0107B2: mov dword ptr [ecx + 4], edx */ 5518 ecx = MEM32(eax + 0x4); /* 0x2F0107B5: mov ecx, dword ptr [eax + 4] */ 5519 ecx = MEM32(ecx + 0x8); /* 0x2F0107B8: mov ecx, dword ptr [ecx + 8] */ 5520 L_2F0107BB: 5521 edx = MEM32(eax + 0x4); /* 0x2F0107BB: mov edx, dword ptr [eax + 4] */ 5522 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x2F0107BE: mov dl, byte ptr [edx + 0x20] */ 5523 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x2F0107C1: mov byte ptr [ecx + 0x20], dl */ 5524 edx = MEM32(eax + 0x4); /* 0x2F0107C4: mov edx, dword ptr [eax + 4] */ 5525 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0107C7: mov byte ptr [edx + 0x20], bl */ 5526 ecx = MEM32(ecx + 0x8); /* 0x2F0107CA: mov ecx, dword ptr [ecx + 8] */ 5527 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0107CD: mov byte ptr [ecx + 0x20], bl */ 5528 ecx = MEM32(eax + 0x4); /* 0x2F0107D0: mov ecx, dword ptr [eax + 4] */ 5529 edx = MEM32(ecx + 0x8); /* 0x2F0107D3: mov edx, dword ptr [ecx + 8] */ 5530 esi = MEM32(edx); /* 0x2F0107D6: mov esi, dword ptr [edx] */ 5531 MEM32(ecx + 0x8) = esi; /* 0x2F0107D8: mov dword ptr [ecx + 8], esi */ 5532 esi = MEM32(edx); /* 0x2F0107DB: mov esi, dword ptr [edx] */ 5533 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F0107DD: cmp esi, dword ptr [edi + 8] */ 5534 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5535 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5536 _flag_k = FK_CMP; 5537 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0107E5; /* 0x2F0107E0: je 0x2f0107e5 */ 5538 L_2F0107E2: 5539 MEM32(esi + 0x4) = ecx; /* 0x2F0107E2: mov dword ptr [esi + 4], ecx */ 5540 L_2F0107E5: 5541 esi = MEM32(ecx + 0x4); /* 0x2F0107E5: mov esi, dword ptr [ecx + 4] */ 5542 MEM32(edx + 0x4) = esi; /* 0x2F0107E8: mov dword ptr [edx + 4], esi */ 5543 esi = MEM32(edi + 0x4); /* 0x2F0107EB: mov esi, dword ptr [edi + 4] */ 5544 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F0107EE: cmp ecx, dword ptr [esi + 4] */ 5545 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5546 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5547 _flag_k = FK_CMP; 5548 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0107FD; /* 0x2F0107F1: jne 0x2f0107fd */ 5549 L_2F0107F3: 5550 MEM32(esi + 0x4) = edx; /* 0x2F0107F3: mov dword ptr [esi + 4], edx */ 5551 MEM32(edx) = ecx; /* 0x2F0107F6: mov dword ptr [edx], ecx */ 5552 goto L_2F0108B3; /* 0x2F0107F8: jmp 0x2f0108b3 */ 5553 L_2F0107FD: 5554 esi = MEM32(ecx + 0x4); /* 0x2F0107FD: mov esi, dword ptr [ecx + 4] */ 5555 /* cmp ecx, MEM32(esi) */ /* 0x2F010800: cmp ecx, dword ptr [esi] */ 5556 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5557 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5558 _flag_k = FK_CMP; 5559 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01080D; /* 0x2F010802: jne 0x2f01080d */ 5560 L_2F010804: 5561 MEM32(esi) = edx; /* 0x2F010804: mov dword ptr [esi], edx */ 5562 MEM32(edx) = ecx; /* 0x2F010806: mov dword ptr [edx], ecx */ 5563 goto L_2F0108B3; /* 0x2F010808: jmp 0x2f0108b3 */ 5564 L_2F01080D: 5565 MEM32(esi + 0x8) = edx; /* 0x2F01080D: mov dword ptr [esi + 8], edx */ 5566 MEM32(edx) = ecx; /* 0x2F010810: mov dword ptr [edx], ecx */ 5567 goto L_2F0108B3; /* 0x2F010812: jmp 0x2f0108b3 */ 5568 L_2F010817: 5569 edx = MEM32(ecx); /* 0x2F010817: mov edx, dword ptr [ecx] */ 5570 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F010819: cmp byte ptr [edx + 0x20], bl */ 5571 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5572 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5573 _flag_k = FK_NARROW(FK_CMP, 24); 5574 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010865; /* 0x2F01081C: jne 0x2f010865 */ 5575 L_2F01081E: 5576 edx = MEM32(ecx + 0x8); /* 0x2F01081E: mov edx, dword ptr [ecx + 8] */ 5577 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010821: mov byte ptr [edx + 0x20], bl */ 5578 edx = MEM32(ecx + 0x8); /* 0x2F010824: mov edx, dword ptr [ecx + 8] */ 5579 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010827: mov byte ptr [ecx + 0x20], 0 */ 5580 esi = MEM32(edx); /* 0x2F01082B: mov esi, dword ptr [edx] */ 5581 MEM32(ecx + 0x8) = esi; /* 0x2F01082D: mov dword ptr [ecx + 8], esi */ 5582 esi = MEM32(edx); /* 0x2F010830: mov esi, dword ptr [edx] */ 5583 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010832: cmp esi, dword ptr [edi + 8] */ 5584 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5585 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5586 _flag_k = FK_CMP; 5587 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01083A; /* 0x2F010835: je 0x2f01083a */ 5588 L_2F010837: 5589 MEM32(esi + 0x4) = ecx; /* 0x2F010837: mov dword ptr [esi + 4], ecx */ 5590 L_2F01083A: 5591 esi = MEM32(ecx + 0x4); /* 0x2F01083A: mov esi, dword ptr [ecx + 4] */ 5592 MEM32(edx + 0x4) = esi; /* 0x2F01083D: mov dword ptr [edx + 4], esi */ 5593 esi = MEM32(edi + 0x4); /* 0x2F010840: mov esi, dword ptr [edi + 4] */ 5594 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010843: cmp ecx, dword ptr [esi + 4] */ 5595 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5596 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5597 _flag_k = FK_CMP; 5598 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01084D; /* 0x2F010846: jne 0x2f01084d */ 5599 L_2F010848: 5600 MEM32(esi + 0x4) = edx; /* 0x2F010848: mov dword ptr [esi + 4], edx */ 5601 goto L_2F01085B; /* 0x2F01084B: jmp 0x2f01085b */ 5602 L_2F01084D: 5603 esi = MEM32(ecx + 0x4); /* 0x2F01084D: mov esi, dword ptr [ecx + 4] */ 5604 /* cmp ecx, MEM32(esi) */ /* 0x2F010850: cmp ecx, dword ptr [esi] */ 5605 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5606 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5607 _flag_k = FK_CMP; 5608 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010858; /* 0x2F010852: jne 0x2f010858 */ 5609 L_2F010854: 5610 MEM32(esi) = edx; /* 0x2F010854: mov dword ptr [esi], edx */ 5611 goto L_2F01085B; /* 0x2F010856: jmp 0x2f01085b */ 5612 L_2F010858: 5613 MEM32(esi + 0x8) = edx; /* 0x2F010858: mov dword ptr [esi + 8], edx */ 5614 L_2F01085B: 5615 MEM32(edx) = ecx; /* 0x2F01085B: mov dword ptr [edx], ecx */ 5616 MEM32(ecx + 0x4) = edx; /* 0x2F01085D: mov dword ptr [ecx + 4], edx */ 5617 ecx = MEM32(eax + 0x4); /* 0x2F010860: mov ecx, dword ptr [eax + 4] */ 5618 ecx = MEM32(ecx); /* 0x2F010863: mov ecx, dword ptr [ecx] */ 5619 L_2F010865: 5620 edx = MEM32(eax + 0x4); /* 0x2F010865: mov edx, dword ptr [eax + 4] */ 5621 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x2F010868: mov dl, byte ptr [edx + 0x20] */ 5622 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x2F01086B: mov byte ptr [ecx + 0x20], dl */ 5623 edx = MEM32(eax + 0x4); /* 0x2F01086E: mov edx, dword ptr [eax + 4] */ 5624 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010871: mov byte ptr [edx + 0x20], bl */ 5625 ecx = MEM32(ecx); /* 0x2F010874: mov ecx, dword ptr [ecx] */ 5626 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010876: mov byte ptr [ecx + 0x20], bl */ 5627 ecx = MEM32(eax + 0x4); /* 0x2F010879: mov ecx, dword ptr [eax + 4] */ 5628 edx = MEM32(ecx); /* 0x2F01087C: mov edx, dword ptr [ecx] */ 5629 esi = MEM32(edx + 0x8); /* 0x2F01087E: mov esi, dword ptr [edx + 8] */ 5630 MEM32(ecx) = esi; /* 0x2F010881: mov dword ptr [ecx], esi */ 5631 esi = MEM32(edx + 0x8); /* 0x2F010883: mov esi, dword ptr [edx + 8] */ 5632 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010886: cmp esi, dword ptr [edi + 8] */ 5633 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5634 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5635 _flag_k = FK_CMP; 5636 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01088E; /* 0x2F010889: je 0x2f01088e */ 5637 L_2F01088B: 5638 MEM32(esi + 0x4) = ecx; /* 0x2F01088B: mov dword ptr [esi + 4], ecx */ 5639 L_2F01088E: 5640 esi = MEM32(ecx + 0x4); /* 0x2F01088E: mov esi, dword ptr [ecx + 4] */ 5641 MEM32(edx + 0x4) = esi; /* 0x2F010891: mov dword ptr [edx + 4], esi */ 5642 esi = MEM32(edi + 0x4); /* 0x2F010894: mov esi, dword ptr [edi + 4] */ 5643 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010897: cmp ecx, dword ptr [esi + 4] */ 5644 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5645 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5646 _flag_k = FK_CMP; 5647 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0108A1; /* 0x2F01089A: jne 0x2f0108a1 */ 5648 L_2F01089C: 5649 MEM32(esi + 0x4) = edx; /* 0x2F01089C: mov dword ptr [esi + 4], edx */ 5650 goto L_2F0108B0; /* 0x2F01089F: jmp 0x2f0108b0 */ 5651 L_2F0108A1: 5652 esi = MEM32(ecx + 0x4); /* 0x2F0108A1: mov esi, dword ptr [ecx + 4] */ 5653 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F0108A4: cmp ecx, dword ptr [esi + 8] */ 5654 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5655 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5656 _flag_k = FK_CMP; 5657 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0108AE; /* 0x2F0108A7: jne 0x2f0108ae */ 5658 L_2F0108A9: 5659 MEM32(esi + 0x8) = edx; /* 0x2F0108A9: mov dword ptr [esi + 8], edx */ 5660 goto L_2F0108B0; /* 0x2F0108AC: jmp 0x2f0108b0 */ 5661 L_2F0108AE: 5662 MEM32(esi) = edx; /* 0x2F0108AE: mov dword ptr [esi], edx */ 5663 L_2F0108B0: 5664 MEM32(edx + 0x8) = ecx; /* 0x2F0108B0: mov dword ptr [edx + 8], ecx */ 5665 L_2F0108B3: 5666 MEM32(ecx + 0x4) = edx; /* 0x2F0108B3: mov dword ptr [ecx + 4], edx */ 5667 L_2F0108B6: 5668 esi = MEM32(ebp + (-0x4)); /* 0x2F0108B6: mov esi, dword ptr [ebp - 4] */ 5669 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0108B9: mov byte ptr [eax + 0x20], bl */ 5670 ecx = esi + 0xC; /* 0x2F0108BC: lea ecx, [esi + 0xc] */ 5671 RECOMP_ICALL(0x2F00F8E0u); /* 0x2F0108BF: call 0x2f00f8e0 */ /* not lifted */ 5672 RECOMP_FLAGS_IN(); 5673 PUSH32(esp, esi); /* 0x2F0108C4: push esi */ 5674 RECOMP_ICALL(0x2F0116B4u); /* 0x2F0108C5: call 0x2f0116b4 */ /* not lifted */ 5675 RECOMP_FLAGS_IN(); 5676 eax = MEM32(edi + 0x10); /* 0x2F0108CA: mov eax, dword ptr [edi + 0x10] */ 5677 edx = MEM32(ebp + 0xC); /* 0x2F0108CD: mov edx, dword ptr [ebp + 0xc] */ 5678 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5679 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5680 esp = esp + 4; /* 0x2F0108D0: add esp, 4 */ 5681 _flag_k = FK_ADD; 5682 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 5683 eax = eax - 1; /* 0x2F0108D3: dec eax */ 5684 _flag_k = FK_DEC; 5685 MEM32(edi + 0x10) = eax; /* 0x2F0108D4: mov dword ptr [edi + 0x10], eax */ 5686 eax = MEM32(ebp + 0x8); /* 0x2F0108D7: mov eax, dword ptr [ebp + 8] */ 5687 edi = POP32_VAL(esp); /* 0x2F0108DA: pop edi */ 5688 esi = POP32_VAL(esp); /* 0x2F0108DB: pop esi */ 5689 MEM32(eax) = edx; /* 0x2F0108DC: mov dword ptr [eax], edx */ 5690 ebx = POP32_VAL(esp); /* 0x2F0108DE: pop ebx */ 5691 esp = ebp; /* 0x2F0108DF: mov esp, ebp */ 5692 ebp = POP32_VAL(esp); /* 0x2F0108E1: pop ebp */ 5693 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2F0108E2: ret 8 */ 5694 RECOMP_REGS_OUT(); 5695 } 5696 5697 void sub_2F0106CF(void) { 5698 int _fpu_cmp = 0; 5699 uint32_t _cf = 0; 5700 int _df = 1; 5701 uint32_t _flag_k = FK_NONE; 5702 uint32_t _flag_a = 0, _flag_b = 0; 5703 uint32_t _itail_tgt = 0; 5704 RECOMP_REGS_LOCALS 5705 RECOMP_ENTER(0x2F0106CFu); 5706 5707 goto L_2F0106CF; 5708 L_2F010668: 5709 /* cmp MEM8(eax + 0x20), LO8(ebx) */ /* 0x2F010668: cmp byte ptr [eax + 0x20], bl */ 5710 _flag_a = (uint32_t)(MEM8(eax + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5711 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5712 _flag_k = FK_NARROW(FK_CMP, 24); 5713 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0108B6; /* 0x2F01066B: jne 0x2f0108b6 */ 5714 L_2F010671: 5715 edx = MEM32(eax + 0x4); /* 0x2F010671: mov edx, dword ptr [eax + 4] */ 5716 ecx = MEM32(edx); /* 0x2F010674: mov ecx, dword ptr [edx] */ 5717 /* cmp eax, ecx */ /* 0x2F010676: cmp eax, ecx */ 5718 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 5719 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5720 _flag_k = FK_CMP; 5721 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0106E8; /* 0x2F010678: jne 0x2f0106e8 */ 5722 L_2F01067A: 5723 ecx = MEM32(edx + 0x8); /* 0x2F01067A: mov ecx, dword ptr [edx + 8] */ 5724 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x2F01067D: mov dl, byte ptr [ecx + 0x20] */ 5725 /* test LO8(edx), LO8(edx) */ /* 0x2F010680: test dl, dl */ 5726 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 5727 _cf = 0; 5728 _flag_k = FK_NARROW(FK_TEST, 24); 5729 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F0106CF; /* 0x2F010682: jne 0x2f0106cf */ 5730 L_2F010684: 5731 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010684: mov byte ptr [ecx + 0x20], bl */ 5732 edx = MEM32(eax + 0x4); /* 0x2F010687: mov edx, dword ptr [eax + 4] */ 5733 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x2F01068A: mov byte ptr [edx + 0x20], 0 */ 5734 ecx = MEM32(eax + 0x4); /* 0x2F01068E: mov ecx, dword ptr [eax + 4] */ 5735 edx = MEM32(ecx + 0x8); /* 0x2F010691: mov edx, dword ptr [ecx + 8] */ 5736 esi = MEM32(edx); /* 0x2F010694: mov esi, dword ptr [edx] */ 5737 MEM32(ecx + 0x8) = esi; /* 0x2F010696: mov dword ptr [ecx + 8], esi */ 5738 esi = MEM32(edx); /* 0x2F010699: mov esi, dword ptr [edx] */ 5739 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F01069B: cmp esi, dword ptr [edi + 8] */ 5740 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5741 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5742 _flag_k = FK_CMP; 5743 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0106A3; /* 0x2F01069E: je 0x2f0106a3 */ 5744 L_2F0106A0: 5745 MEM32(esi + 0x4) = ecx; /* 0x2F0106A0: mov dword ptr [esi + 4], ecx */ 5746 L_2F0106A3: 5747 esi = MEM32(ecx + 0x4); /* 0x2F0106A3: mov esi, dword ptr [ecx + 4] */ 5748 MEM32(edx + 0x4) = esi; /* 0x2F0106A6: mov dword ptr [edx + 4], esi */ 5749 esi = MEM32(edi + 0x4); /* 0x2F0106A9: mov esi, dword ptr [edi + 4] */ 5750 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F0106AC: cmp ecx, dword ptr [esi + 4] */ 5751 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5752 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5753 _flag_k = FK_CMP; 5754 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0106B6; /* 0x2F0106AF: jne 0x2f0106b6 */ 5755 L_2F0106B1: 5756 MEM32(esi + 0x4) = edx; /* 0x2F0106B1: mov dword ptr [esi + 4], edx */ 5757 goto L_2F0106C4; /* 0x2F0106B4: jmp 0x2f0106c4 */ 5758 L_2F0106B6: 5759 esi = MEM32(ecx + 0x4); /* 0x2F0106B6: mov esi, dword ptr [ecx + 4] */ 5760 /* cmp ecx, MEM32(esi) */ /* 0x2F0106B9: cmp ecx, dword ptr [esi] */ 5761 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5762 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5763 _flag_k = FK_CMP; 5764 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0106C1; /* 0x2F0106BB: jne 0x2f0106c1 */ 5765 L_2F0106BD: 5766 MEM32(esi) = edx; /* 0x2F0106BD: mov dword ptr [esi], edx */ 5767 goto L_2F0106C4; /* 0x2F0106BF: jmp 0x2f0106c4 */ 5768 L_2F0106C1: 5769 MEM32(esi + 0x8) = edx; /* 0x2F0106C1: mov dword ptr [esi + 8], edx */ 5770 L_2F0106C4: 5771 MEM32(edx) = ecx; /* 0x2F0106C4: mov dword ptr [edx], ecx */ 5772 MEM32(ecx + 0x4) = edx; /* 0x2F0106C6: mov dword ptr [ecx + 4], edx */ 5773 ecx = MEM32(eax + 0x4); /* 0x2F0106C9: mov ecx, dword ptr [eax + 4] */ 5774 ecx = MEM32(ecx + 0x8); /* 0x2F0106CC: mov ecx, dword ptr [ecx + 8] */ 5775 L_2F0106CF: 5776 edx = MEM32(ecx); /* 0x2F0106CF: mov edx, dword ptr [ecx] */ 5777 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F0106D1: cmp byte ptr [edx + 0x20], bl */ 5778 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5779 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5780 _flag_k = FK_NARROW(FK_CMP, 24); 5781 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01076A; /* 0x2F0106D4: jne 0x2f01076a */ 5782 L_2F0106DA: 5783 edx = MEM32(ecx + 0x8); /* 0x2F0106DA: mov edx, dword ptr [ecx + 8] */ 5784 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F0106DD: cmp byte ptr [edx + 0x20], bl */ 5785 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5786 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5787 _flag_k = FK_NARROW(FK_CMP, 24); 5788 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01076A; /* 0x2F0106E0: jne 0x2f01076a */ 5789 L_2F0106E6: 5790 goto L_2F010752; /* 0x2F0106E6: jmp 0x2f010752 */ 5791 L_2F0106E8: 5792 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x2F0106E8: mov dl, byte ptr [ecx + 0x20] */ 5793 /* test LO8(edx), LO8(edx) */ /* 0x2F0106EB: test dl, dl */ 5794 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 5795 _cf = 0; 5796 _flag_k = FK_NARROW(FK_TEST, 24); 5797 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F01073B; /* 0x2F0106ED: jne 0x2f01073b */ 5798 L_2F0106EF: 5799 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0106EF: mov byte ptr [ecx + 0x20], bl */ 5800 ecx = MEM32(eax + 0x4); /* 0x2F0106F2: mov ecx, dword ptr [eax + 4] */ 5801 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F0106F5: mov byte ptr [ecx + 0x20], 0 */ 5802 ecx = MEM32(eax + 0x4); /* 0x2F0106F9: mov ecx, dword ptr [eax + 4] */ 5803 edx = MEM32(ecx); /* 0x2F0106FC: mov edx, dword ptr [ecx] */ 5804 esi = MEM32(edx + 0x8); /* 0x2F0106FE: mov esi, dword ptr [edx + 8] */ 5805 MEM32(ecx) = esi; /* 0x2F010701: mov dword ptr [ecx], esi */ 5806 esi = MEM32(edx + 0x8); /* 0x2F010703: mov esi, dword ptr [edx + 8] */ 5807 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010706: cmp esi, dword ptr [edi + 8] */ 5808 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5809 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5810 _flag_k = FK_CMP; 5811 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01070E; /* 0x2F010709: je 0x2f01070e */ 5812 L_2F01070B: 5813 MEM32(esi + 0x4) = ecx; /* 0x2F01070B: mov dword ptr [esi + 4], ecx */ 5814 L_2F01070E: 5815 esi = MEM32(ecx + 0x4); /* 0x2F01070E: mov esi, dword ptr [ecx + 4] */ 5816 MEM32(edx + 0x4) = esi; /* 0x2F010711: mov dword ptr [edx + 4], esi */ 5817 esi = MEM32(edi + 0x4); /* 0x2F010714: mov esi, dword ptr [edi + 4] */ 5818 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010717: cmp ecx, dword ptr [esi + 4] */ 5819 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5820 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5821 _flag_k = FK_CMP; 5822 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010721; /* 0x2F01071A: jne 0x2f010721 */ 5823 L_2F01071C: 5824 MEM32(esi + 0x4) = edx; /* 0x2F01071C: mov dword ptr [esi + 4], edx */ 5825 goto L_2F010730; /* 0x2F01071F: jmp 0x2f010730 */ 5826 L_2F010721: 5827 esi = MEM32(ecx + 0x4); /* 0x2F010721: mov esi, dword ptr [ecx + 4] */ 5828 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F010724: cmp ecx, dword ptr [esi + 8] */ 5829 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5830 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5831 _flag_k = FK_CMP; 5832 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01072E; /* 0x2F010727: jne 0x2f01072e */ 5833 L_2F010729: 5834 MEM32(esi + 0x8) = edx; /* 0x2F010729: mov dword ptr [esi + 8], edx */ 5835 goto L_2F010730; /* 0x2F01072C: jmp 0x2f010730 */ 5836 L_2F01072E: 5837 MEM32(esi) = edx; /* 0x2F01072E: mov dword ptr [esi], edx */ 5838 L_2F010730: 5839 MEM32(edx + 0x8) = ecx; /* 0x2F010730: mov dword ptr [edx + 8], ecx */ 5840 MEM32(ecx + 0x4) = edx; /* 0x2F010733: mov dword ptr [ecx + 4], edx */ 5841 edx = MEM32(eax + 0x4); /* 0x2F010736: mov edx, dword ptr [eax + 4] */ 5842 ecx = MEM32(edx); /* 0x2F010739: mov ecx, dword ptr [edx] */ 5843 L_2F01073B: 5844 edx = MEM32(ecx + 0x8); /* 0x2F01073B: mov edx, dword ptr [ecx + 8] */ 5845 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F01073E: cmp byte ptr [edx + 0x20], bl */ 5846 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5847 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5848 _flag_k = FK_NARROW(FK_CMP, 24); 5849 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010817; /* 0x2F010741: jne 0x2f010817 */ 5850 L_2F010747: 5851 edx = MEM32(ecx); /* 0x2F010747: mov edx, dword ptr [ecx] */ 5852 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F010749: cmp byte ptr [edx + 0x20], bl */ 5853 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5854 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5855 _flag_k = FK_NARROW(FK_CMP, 24); 5856 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010817; /* 0x2F01074C: jne 0x2f010817 */ 5857 L_2F010752: 5858 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010752: mov byte ptr [ecx + 0x20], 0 */ 5859 ecx = MEM32(edi + 0x4); /* 0x2F010756: mov ecx, dword ptr [edi + 4] */ 5860 eax = MEM32(eax + 0x4); /* 0x2F010759: mov eax, dword ptr [eax + 4] */ 5861 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F01075C: cmp eax, dword ptr [ecx + 4] */ 5862 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 5863 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5864 _flag_k = FK_CMP; 5865 RECOMP_BACKEDGE(); 5866 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010668; /* 0x2F01075F: jne 0x2f010668 */ 5867 L_2F010765: 5868 goto L_2F0108B6; /* 0x2F010765: jmp 0x2f0108b6 */ 5869 L_2F01076A: 5870 edx = MEM32(ecx + 0x8); /* 0x2F01076A: mov edx, dword ptr [ecx + 8] */ 5871 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F01076D: cmp byte ptr [edx + 0x20], bl */ 5872 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 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_2F0107BB; /* 0x2F010770: jne 0x2f0107bb */ 5876 L_2F010772: 5877 edx = MEM32(ecx); /* 0x2F010772: mov edx, dword ptr [ecx] */ 5878 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010774: mov byte ptr [edx + 0x20], bl */ 5879 edx = MEM32(ecx); /* 0x2F010777: mov edx, dword ptr [ecx] */ 5880 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010779: mov byte ptr [ecx + 0x20], 0 */ 5881 esi = MEM32(edx + 0x8); /* 0x2F01077D: mov esi, dword ptr [edx + 8] */ 5882 MEM32(ecx) = esi; /* 0x2F010780: mov dword ptr [ecx], esi */ 5883 esi = MEM32(edx + 0x8); /* 0x2F010782: mov esi, dword ptr [edx + 8] */ 5884 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010785: cmp esi, dword ptr [edi + 8] */ 5885 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5886 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5887 _flag_k = FK_CMP; 5888 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01078D; /* 0x2F010788: je 0x2f01078d */ 5889 L_2F01078A: 5890 MEM32(esi + 0x4) = ecx; /* 0x2F01078A: mov dword ptr [esi + 4], ecx */ 5891 L_2F01078D: 5892 esi = MEM32(ecx + 0x4); /* 0x2F01078D: mov esi, dword ptr [ecx + 4] */ 5893 MEM32(edx + 0x4) = esi; /* 0x2F010790: mov dword ptr [edx + 4], esi */ 5894 esi = MEM32(edi + 0x4); /* 0x2F010793: mov esi, dword ptr [edi + 4] */ 5895 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010796: cmp ecx, dword ptr [esi + 4] */ 5896 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5897 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5898 _flag_k = FK_CMP; 5899 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0107A0; /* 0x2F010799: jne 0x2f0107a0 */ 5900 L_2F01079B: 5901 MEM32(esi + 0x4) = edx; /* 0x2F01079B: mov dword ptr [esi + 4], edx */ 5902 goto L_2F0107AF; /* 0x2F01079E: jmp 0x2f0107af */ 5903 L_2F0107A0: 5904 esi = MEM32(ecx + 0x4); /* 0x2F0107A0: mov esi, dword ptr [ecx + 4] */ 5905 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F0107A3: cmp ecx, dword ptr [esi + 8] */ 5906 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 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_2F0107AD; /* 0x2F0107A6: jne 0x2f0107ad */ 5910 L_2F0107A8: 5911 MEM32(esi + 0x8) = edx; /* 0x2F0107A8: mov dword ptr [esi + 8], edx */ 5912 goto L_2F0107AF; /* 0x2F0107AB: jmp 0x2f0107af */ 5913 L_2F0107AD: 5914 MEM32(esi) = edx; /* 0x2F0107AD: mov dword ptr [esi], edx */ 5915 L_2F0107AF: 5916 MEM32(edx + 0x8) = ecx; /* 0x2F0107AF: mov dword ptr [edx + 8], ecx */ 5917 MEM32(ecx + 0x4) = edx; /* 0x2F0107B2: mov dword ptr [ecx + 4], edx */ 5918 ecx = MEM32(eax + 0x4); /* 0x2F0107B5: mov ecx, dword ptr [eax + 4] */ 5919 ecx = MEM32(ecx + 0x8); /* 0x2F0107B8: mov ecx, dword ptr [ecx + 8] */ 5920 L_2F0107BB: 5921 edx = MEM32(eax + 0x4); /* 0x2F0107BB: mov edx, dword ptr [eax + 4] */ 5922 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x2F0107BE: mov dl, byte ptr [edx + 0x20] */ 5923 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x2F0107C1: mov byte ptr [ecx + 0x20], dl */ 5924 edx = MEM32(eax + 0x4); /* 0x2F0107C4: mov edx, dword ptr [eax + 4] */ 5925 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0107C7: mov byte ptr [edx + 0x20], bl */ 5926 ecx = MEM32(ecx + 0x8); /* 0x2F0107CA: mov ecx, dword ptr [ecx + 8] */ 5927 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0107CD: mov byte ptr [ecx + 0x20], bl */ 5928 ecx = MEM32(eax + 0x4); /* 0x2F0107D0: mov ecx, dword ptr [eax + 4] */ 5929 edx = MEM32(ecx + 0x8); /* 0x2F0107D3: mov edx, dword ptr [ecx + 8] */ 5930 esi = MEM32(edx); /* 0x2F0107D6: mov esi, dword ptr [edx] */ 5931 MEM32(ecx + 0x8) = esi; /* 0x2F0107D8: mov dword ptr [ecx + 8], esi */ 5932 esi = MEM32(edx); /* 0x2F0107DB: mov esi, dword ptr [edx] */ 5933 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F0107DD: cmp esi, dword ptr [edi + 8] */ 5934 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5935 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5936 _flag_k = FK_CMP; 5937 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0107E5; /* 0x2F0107E0: je 0x2f0107e5 */ 5938 L_2F0107E2: 5939 MEM32(esi + 0x4) = ecx; /* 0x2F0107E2: mov dword ptr [esi + 4], ecx */ 5940 L_2F0107E5: 5941 esi = MEM32(ecx + 0x4); /* 0x2F0107E5: mov esi, dword ptr [ecx + 4] */ 5942 MEM32(edx + 0x4) = esi; /* 0x2F0107E8: mov dword ptr [edx + 4], esi */ 5943 esi = MEM32(edi + 0x4); /* 0x2F0107EB: mov esi, dword ptr [edi + 4] */ 5944 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F0107EE: cmp ecx, dword ptr [esi + 4] */ 5945 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5946 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5947 _flag_k = FK_CMP; 5948 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0107FD; /* 0x2F0107F1: jne 0x2f0107fd */ 5949 L_2F0107F3: 5950 MEM32(esi + 0x4) = edx; /* 0x2F0107F3: mov dword ptr [esi + 4], edx */ 5951 MEM32(edx) = ecx; /* 0x2F0107F6: mov dword ptr [edx], ecx */ 5952 goto L_2F0108B3; /* 0x2F0107F8: jmp 0x2f0108b3 */ 5953 L_2F0107FD: 5954 esi = MEM32(ecx + 0x4); /* 0x2F0107FD: mov esi, dword ptr [ecx + 4] */ 5955 /* cmp ecx, MEM32(esi) */ /* 0x2F010800: cmp ecx, dword ptr [esi] */ 5956 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5957 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5958 _flag_k = FK_CMP; 5959 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01080D; /* 0x2F010802: jne 0x2f01080d */ 5960 L_2F010804: 5961 MEM32(esi) = edx; /* 0x2F010804: mov dword ptr [esi], edx */ 5962 MEM32(edx) = ecx; /* 0x2F010806: mov dword ptr [edx], ecx */ 5963 goto L_2F0108B3; /* 0x2F010808: jmp 0x2f0108b3 */ 5964 L_2F01080D: 5965 MEM32(esi + 0x8) = edx; /* 0x2F01080D: mov dword ptr [esi + 8], edx */ 5966 MEM32(edx) = ecx; /* 0x2F010810: mov dword ptr [edx], ecx */ 5967 goto L_2F0108B3; /* 0x2F010812: jmp 0x2f0108b3 */ 5968 L_2F010817: 5969 edx = MEM32(ecx); /* 0x2F010817: mov edx, dword ptr [ecx] */ 5970 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F010819: cmp byte ptr [edx + 0x20], bl */ 5971 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5972 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5973 _flag_k = FK_NARROW(FK_CMP, 24); 5974 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010865; /* 0x2F01081C: jne 0x2f010865 */ 5975 L_2F01081E: 5976 edx = MEM32(ecx + 0x8); /* 0x2F01081E: mov edx, dword ptr [ecx + 8] */ 5977 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010821: mov byte ptr [edx + 0x20], bl */ 5978 edx = MEM32(ecx + 0x8); /* 0x2F010824: mov edx, dword ptr [ecx + 8] */ 5979 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010827: mov byte ptr [ecx + 0x20], 0 */ 5980 esi = MEM32(edx); /* 0x2F01082B: mov esi, dword ptr [edx] */ 5981 MEM32(ecx + 0x8) = esi; /* 0x2F01082D: mov dword ptr [ecx + 8], esi */ 5982 esi = MEM32(edx); /* 0x2F010830: mov esi, dword ptr [edx] */ 5983 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010832: cmp esi, dword ptr [edi + 8] */ 5984 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5985 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5986 _flag_k = FK_CMP; 5987 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01083A; /* 0x2F010835: je 0x2f01083a */ 5988 L_2F010837: 5989 MEM32(esi + 0x4) = ecx; /* 0x2F010837: mov dword ptr [esi + 4], ecx */ 5990 L_2F01083A: 5991 esi = MEM32(ecx + 0x4); /* 0x2F01083A: mov esi, dword ptr [ecx + 4] */ 5992 MEM32(edx + 0x4) = esi; /* 0x2F01083D: mov dword ptr [edx + 4], esi */ 5993 esi = MEM32(edi + 0x4); /* 0x2F010840: mov esi, dword ptr [edi + 4] */ 5994 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010843: cmp ecx, dword ptr [esi + 4] */ 5995 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5996 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5997 _flag_k = FK_CMP; 5998 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01084D; /* 0x2F010846: jne 0x2f01084d */ 5999 L_2F010848: 6000 MEM32(esi + 0x4) = edx; /* 0x2F010848: mov dword ptr [esi + 4], edx */ 6001 goto L_2F01085B; /* 0x2F01084B: jmp 0x2f01085b */ 6002 L_2F01084D: 6003 esi = MEM32(ecx + 0x4); /* 0x2F01084D: mov esi, dword ptr [ecx + 4] */ 6004 /* cmp ecx, MEM32(esi) */ /* 0x2F010850: cmp ecx, dword ptr [esi] */ 6005 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6006 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6007 _flag_k = FK_CMP; 6008 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010858; /* 0x2F010852: jne 0x2f010858 */ 6009 L_2F010854: 6010 MEM32(esi) = edx; /* 0x2F010854: mov dword ptr [esi], edx */ 6011 goto L_2F01085B; /* 0x2F010856: jmp 0x2f01085b */ 6012 L_2F010858: 6013 MEM32(esi + 0x8) = edx; /* 0x2F010858: mov dword ptr [esi + 8], edx */ 6014 L_2F01085B: 6015 MEM32(edx) = ecx; /* 0x2F01085B: mov dword ptr [edx], ecx */ 6016 MEM32(ecx + 0x4) = edx; /* 0x2F01085D: mov dword ptr [ecx + 4], edx */ 6017 ecx = MEM32(eax + 0x4); /* 0x2F010860: mov ecx, dword ptr [eax + 4] */ 6018 ecx = MEM32(ecx); /* 0x2F010863: mov ecx, dword ptr [ecx] */ 6019 L_2F010865: 6020 edx = MEM32(eax + 0x4); /* 0x2F010865: mov edx, dword ptr [eax + 4] */ 6021 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x2F010868: mov dl, byte ptr [edx + 0x20] */ 6022 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x2F01086B: mov byte ptr [ecx + 0x20], dl */ 6023 edx = MEM32(eax + 0x4); /* 0x2F01086E: mov edx, dword ptr [eax + 4] */ 6024 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010871: mov byte ptr [edx + 0x20], bl */ 6025 ecx = MEM32(ecx); /* 0x2F010874: mov ecx, dword ptr [ecx] */ 6026 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010876: mov byte ptr [ecx + 0x20], bl */ 6027 ecx = MEM32(eax + 0x4); /* 0x2F010879: mov ecx, dword ptr [eax + 4] */ 6028 edx = MEM32(ecx); /* 0x2F01087C: mov edx, dword ptr [ecx] */ 6029 esi = MEM32(edx + 0x8); /* 0x2F01087E: mov esi, dword ptr [edx + 8] */ 6030 MEM32(ecx) = esi; /* 0x2F010881: mov dword ptr [ecx], esi */ 6031 esi = MEM32(edx + 0x8); /* 0x2F010883: mov esi, dword ptr [edx + 8] */ 6032 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010886: cmp esi, dword ptr [edi + 8] */ 6033 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6034 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6035 _flag_k = FK_CMP; 6036 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01088E; /* 0x2F010889: je 0x2f01088e */ 6037 L_2F01088B: 6038 MEM32(esi + 0x4) = ecx; /* 0x2F01088B: mov dword ptr [esi + 4], ecx */ 6039 L_2F01088E: 6040 esi = MEM32(ecx + 0x4); /* 0x2F01088E: mov esi, dword ptr [ecx + 4] */ 6041 MEM32(edx + 0x4) = esi; /* 0x2F010891: mov dword ptr [edx + 4], esi */ 6042 esi = MEM32(edi + 0x4); /* 0x2F010894: mov esi, dword ptr [edi + 4] */ 6043 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010897: cmp ecx, dword ptr [esi + 4] */ 6044 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6045 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6046 _flag_k = FK_CMP; 6047 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0108A1; /* 0x2F01089A: jne 0x2f0108a1 */ 6048 L_2F01089C: 6049 MEM32(esi + 0x4) = edx; /* 0x2F01089C: mov dword ptr [esi + 4], edx */ 6050 goto L_2F0108B0; /* 0x2F01089F: jmp 0x2f0108b0 */ 6051 L_2F0108A1: 6052 esi = MEM32(ecx + 0x4); /* 0x2F0108A1: mov esi, dword ptr [ecx + 4] */ 6053 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F0108A4: cmp ecx, dword ptr [esi + 8] */ 6054 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6055 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6056 _flag_k = FK_CMP; 6057 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0108AE; /* 0x2F0108A7: jne 0x2f0108ae */ 6058 L_2F0108A9: 6059 MEM32(esi + 0x8) = edx; /* 0x2F0108A9: mov dword ptr [esi + 8], edx */ 6060 goto L_2F0108B0; /* 0x2F0108AC: jmp 0x2f0108b0 */ 6061 L_2F0108AE: 6062 MEM32(esi) = edx; /* 0x2F0108AE: mov dword ptr [esi], edx */ 6063 L_2F0108B0: 6064 MEM32(edx + 0x8) = ecx; /* 0x2F0108B0: mov dword ptr [edx + 8], ecx */ 6065 L_2F0108B3: 6066 MEM32(ecx + 0x4) = edx; /* 0x2F0108B3: mov dword ptr [ecx + 4], edx */ 6067 L_2F0108B6: 6068 esi = MEM32(ebp + (-0x4)); /* 0x2F0108B6: mov esi, dword ptr [ebp - 4] */ 6069 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0108B9: mov byte ptr [eax + 0x20], bl */ 6070 ecx = esi + 0xC; /* 0x2F0108BC: lea ecx, [esi + 0xc] */ 6071 RECOMP_ICALL(0x2F00F8E0u); /* 0x2F0108BF: call 0x2f00f8e0 */ /* not lifted */ 6072 RECOMP_FLAGS_IN(); 6073 PUSH32(esp, esi); /* 0x2F0108C4: push esi */ 6074 RECOMP_ICALL(0x2F0116B4u); /* 0x2F0108C5: call 0x2f0116b4 */ /* not lifted */ 6075 RECOMP_FLAGS_IN(); 6076 eax = MEM32(edi + 0x10); /* 0x2F0108CA: mov eax, dword ptr [edi + 0x10] */ 6077 edx = MEM32(ebp + 0xC); /* 0x2F0108CD: mov edx, dword ptr [ebp + 0xc] */ 6078 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6079 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6080 esp = esp + 4; /* 0x2F0108D0: add esp, 4 */ 6081 _flag_k = FK_ADD; 6082 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 6083 eax = eax - 1; /* 0x2F0108D3: dec eax */ 6084 _flag_k = FK_DEC; 6085 MEM32(edi + 0x10) = eax; /* 0x2F0108D4: mov dword ptr [edi + 0x10], eax */ 6086 eax = MEM32(ebp + 0x8); /* 0x2F0108D7: mov eax, dword ptr [ebp + 8] */ 6087 edi = POP32_VAL(esp); /* 0x2F0108DA: pop edi */ 6088 esi = POP32_VAL(esp); /* 0x2F0108DB: pop esi */ 6089 MEM32(eax) = edx; /* 0x2F0108DC: mov dword ptr [eax], edx */ 6090 ebx = POP32_VAL(esp); /* 0x2F0108DE: pop ebx */ 6091 esp = ebp; /* 0x2F0108DF: mov esp, ebp */ 6092 ebp = POP32_VAL(esp); /* 0x2F0108E1: pop ebp */ 6093 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2F0108E2: ret 8 */ 6094 RECOMP_REGS_OUT(); 6095 } 6096 6097 void sub_2F0106E8(void) { 6098 int _fpu_cmp = 0; 6099 uint32_t _cf = 0; 6100 int _df = 1; 6101 uint32_t _flag_k = FK_NONE; 6102 uint32_t _flag_a = 0, _flag_b = 0; 6103 uint32_t _itail_tgt = 0; 6104 RECOMP_REGS_LOCALS 6105 RECOMP_ENTER(0x2F0106E8u); 6106 6107 goto L_2F0106E8; 6108 L_2F010668: 6109 /* cmp MEM8(eax + 0x20), LO8(ebx) */ /* 0x2F010668: cmp byte ptr [eax + 0x20], bl */ 6110 _flag_a = (uint32_t)(MEM8(eax + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6111 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6112 _flag_k = FK_NARROW(FK_CMP, 24); 6113 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0108B6; /* 0x2F01066B: jne 0x2f0108b6 */ 6114 L_2F010671: 6115 edx = MEM32(eax + 0x4); /* 0x2F010671: mov edx, dword ptr [eax + 4] */ 6116 ecx = MEM32(edx); /* 0x2F010674: mov ecx, dword ptr [edx] */ 6117 /* cmp eax, ecx */ /* 0x2F010676: cmp eax, ecx */ 6118 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 6119 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6120 _flag_k = FK_CMP; 6121 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0106E8; /* 0x2F010678: jne 0x2f0106e8 */ 6122 L_2F01067A: 6123 ecx = MEM32(edx + 0x8); /* 0x2F01067A: mov ecx, dword ptr [edx + 8] */ 6124 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x2F01067D: mov dl, byte ptr [ecx + 0x20] */ 6125 /* test LO8(edx), LO8(edx) */ /* 0x2F010680: test dl, dl */ 6126 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6127 _cf = 0; 6128 _flag_k = FK_NARROW(FK_TEST, 24); 6129 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F0106CF; /* 0x2F010682: jne 0x2f0106cf */ 6130 L_2F010684: 6131 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010684: mov byte ptr [ecx + 0x20], bl */ 6132 edx = MEM32(eax + 0x4); /* 0x2F010687: mov edx, dword ptr [eax + 4] */ 6133 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x2F01068A: mov byte ptr [edx + 0x20], 0 */ 6134 ecx = MEM32(eax + 0x4); /* 0x2F01068E: mov ecx, dword ptr [eax + 4] */ 6135 edx = MEM32(ecx + 0x8); /* 0x2F010691: mov edx, dword ptr [ecx + 8] */ 6136 esi = MEM32(edx); /* 0x2F010694: mov esi, dword ptr [edx] */ 6137 MEM32(ecx + 0x8) = esi; /* 0x2F010696: mov dword ptr [ecx + 8], esi */ 6138 esi = MEM32(edx); /* 0x2F010699: mov esi, dword ptr [edx] */ 6139 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F01069B: cmp esi, dword ptr [edi + 8] */ 6140 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6141 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6142 _flag_k = FK_CMP; 6143 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0106A3; /* 0x2F01069E: je 0x2f0106a3 */ 6144 L_2F0106A0: 6145 MEM32(esi + 0x4) = ecx; /* 0x2F0106A0: mov dword ptr [esi + 4], ecx */ 6146 L_2F0106A3: 6147 esi = MEM32(ecx + 0x4); /* 0x2F0106A3: mov esi, dword ptr [ecx + 4] */ 6148 MEM32(edx + 0x4) = esi; /* 0x2F0106A6: mov dword ptr [edx + 4], esi */ 6149 esi = MEM32(edi + 0x4); /* 0x2F0106A9: mov esi, dword ptr [edi + 4] */ 6150 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F0106AC: cmp ecx, dword ptr [esi + 4] */ 6151 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6152 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6153 _flag_k = FK_CMP; 6154 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0106B6; /* 0x2F0106AF: jne 0x2f0106b6 */ 6155 L_2F0106B1: 6156 MEM32(esi + 0x4) = edx; /* 0x2F0106B1: mov dword ptr [esi + 4], edx */ 6157 goto L_2F0106C4; /* 0x2F0106B4: jmp 0x2f0106c4 */ 6158 L_2F0106B6: 6159 esi = MEM32(ecx + 0x4); /* 0x2F0106B6: mov esi, dword ptr [ecx + 4] */ 6160 /* cmp ecx, MEM32(esi) */ /* 0x2F0106B9: cmp ecx, dword ptr [esi] */ 6161 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6162 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6163 _flag_k = FK_CMP; 6164 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0106C1; /* 0x2F0106BB: jne 0x2f0106c1 */ 6165 L_2F0106BD: 6166 MEM32(esi) = edx; /* 0x2F0106BD: mov dword ptr [esi], edx */ 6167 goto L_2F0106C4; /* 0x2F0106BF: jmp 0x2f0106c4 */ 6168 L_2F0106C1: 6169 MEM32(esi + 0x8) = edx; /* 0x2F0106C1: mov dword ptr [esi + 8], edx */ 6170 L_2F0106C4: 6171 MEM32(edx) = ecx; /* 0x2F0106C4: mov dword ptr [edx], ecx */ 6172 MEM32(ecx + 0x4) = edx; /* 0x2F0106C6: mov dword ptr [ecx + 4], edx */ 6173 ecx = MEM32(eax + 0x4); /* 0x2F0106C9: mov ecx, dword ptr [eax + 4] */ 6174 ecx = MEM32(ecx + 0x8); /* 0x2F0106CC: mov ecx, dword ptr [ecx + 8] */ 6175 L_2F0106CF: 6176 edx = MEM32(ecx); /* 0x2F0106CF: mov edx, dword ptr [ecx] */ 6177 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F0106D1: cmp byte ptr [edx + 0x20], bl */ 6178 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6179 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6180 _flag_k = FK_NARROW(FK_CMP, 24); 6181 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01076A; /* 0x2F0106D4: jne 0x2f01076a */ 6182 L_2F0106DA: 6183 edx = MEM32(ecx + 0x8); /* 0x2F0106DA: mov edx, dword ptr [ecx + 8] */ 6184 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F0106DD: cmp byte ptr [edx + 0x20], bl */ 6185 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6186 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6187 _flag_k = FK_NARROW(FK_CMP, 24); 6188 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01076A; /* 0x2F0106E0: jne 0x2f01076a */ 6189 L_2F0106E6: 6190 goto L_2F010752; /* 0x2F0106E6: jmp 0x2f010752 */ 6191 L_2F0106E8: 6192 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x2F0106E8: mov dl, byte ptr [ecx + 0x20] */ 6193 /* test LO8(edx), LO8(edx) */ /* 0x2F0106EB: test dl, dl */ 6194 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6195 _cf = 0; 6196 _flag_k = FK_NARROW(FK_TEST, 24); 6197 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F01073B; /* 0x2F0106ED: jne 0x2f01073b */ 6198 L_2F0106EF: 6199 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0106EF: mov byte ptr [ecx + 0x20], bl */ 6200 ecx = MEM32(eax + 0x4); /* 0x2F0106F2: mov ecx, dword ptr [eax + 4] */ 6201 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F0106F5: mov byte ptr [ecx + 0x20], 0 */ 6202 ecx = MEM32(eax + 0x4); /* 0x2F0106F9: mov ecx, dword ptr [eax + 4] */ 6203 edx = MEM32(ecx); /* 0x2F0106FC: mov edx, dword ptr [ecx] */ 6204 esi = MEM32(edx + 0x8); /* 0x2F0106FE: mov esi, dword ptr [edx + 8] */ 6205 MEM32(ecx) = esi; /* 0x2F010701: mov dword ptr [ecx], esi */ 6206 esi = MEM32(edx + 0x8); /* 0x2F010703: mov esi, dword ptr [edx + 8] */ 6207 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010706: cmp esi, dword ptr [edi + 8] */ 6208 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6209 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6210 _flag_k = FK_CMP; 6211 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01070E; /* 0x2F010709: je 0x2f01070e */ 6212 L_2F01070B: 6213 MEM32(esi + 0x4) = ecx; /* 0x2F01070B: mov dword ptr [esi + 4], ecx */ 6214 L_2F01070E: 6215 esi = MEM32(ecx + 0x4); /* 0x2F01070E: mov esi, dword ptr [ecx + 4] */ 6216 MEM32(edx + 0x4) = esi; /* 0x2F010711: mov dword ptr [edx + 4], esi */ 6217 esi = MEM32(edi + 0x4); /* 0x2F010714: mov esi, dword ptr [edi + 4] */ 6218 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010717: cmp ecx, dword ptr [esi + 4] */ 6219 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6220 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6221 _flag_k = FK_CMP; 6222 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010721; /* 0x2F01071A: jne 0x2f010721 */ 6223 L_2F01071C: 6224 MEM32(esi + 0x4) = edx; /* 0x2F01071C: mov dword ptr [esi + 4], edx */ 6225 goto L_2F010730; /* 0x2F01071F: jmp 0x2f010730 */ 6226 L_2F010721: 6227 esi = MEM32(ecx + 0x4); /* 0x2F010721: mov esi, dword ptr [ecx + 4] */ 6228 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F010724: cmp ecx, dword ptr [esi + 8] */ 6229 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6230 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6231 _flag_k = FK_CMP; 6232 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01072E; /* 0x2F010727: jne 0x2f01072e */ 6233 L_2F010729: 6234 MEM32(esi + 0x8) = edx; /* 0x2F010729: mov dword ptr [esi + 8], edx */ 6235 goto L_2F010730; /* 0x2F01072C: jmp 0x2f010730 */ 6236 L_2F01072E: 6237 MEM32(esi) = edx; /* 0x2F01072E: mov dword ptr [esi], edx */ 6238 L_2F010730: 6239 MEM32(edx + 0x8) = ecx; /* 0x2F010730: mov dword ptr [edx + 8], ecx */ 6240 MEM32(ecx + 0x4) = edx; /* 0x2F010733: mov dword ptr [ecx + 4], edx */ 6241 edx = MEM32(eax + 0x4); /* 0x2F010736: mov edx, dword ptr [eax + 4] */ 6242 ecx = MEM32(edx); /* 0x2F010739: mov ecx, dword ptr [edx] */ 6243 L_2F01073B: 6244 edx = MEM32(ecx + 0x8); /* 0x2F01073B: mov edx, dword ptr [ecx + 8] */ 6245 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F01073E: cmp byte ptr [edx + 0x20], bl */ 6246 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6247 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6248 _flag_k = FK_NARROW(FK_CMP, 24); 6249 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010817; /* 0x2F010741: jne 0x2f010817 */ 6250 L_2F010747: 6251 edx = MEM32(ecx); /* 0x2F010747: mov edx, dword ptr [ecx] */ 6252 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F010749: cmp byte ptr [edx + 0x20], bl */ 6253 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6254 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6255 _flag_k = FK_NARROW(FK_CMP, 24); 6256 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010817; /* 0x2F01074C: jne 0x2f010817 */ 6257 L_2F010752: 6258 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010752: mov byte ptr [ecx + 0x20], 0 */ 6259 ecx = MEM32(edi + 0x4); /* 0x2F010756: mov ecx, dword ptr [edi + 4] */ 6260 eax = MEM32(eax + 0x4); /* 0x2F010759: mov eax, dword ptr [eax + 4] */ 6261 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F01075C: cmp eax, dword ptr [ecx + 4] */ 6262 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 6263 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6264 _flag_k = FK_CMP; 6265 RECOMP_BACKEDGE(); 6266 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010668; /* 0x2F01075F: jne 0x2f010668 */ 6267 L_2F010765: 6268 goto L_2F0108B6; /* 0x2F010765: jmp 0x2f0108b6 */ 6269 L_2F01076A: 6270 edx = MEM32(ecx + 0x8); /* 0x2F01076A: mov edx, dword ptr [ecx + 8] */ 6271 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F01076D: cmp byte ptr [edx + 0x20], bl */ 6272 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 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_2F0107BB; /* 0x2F010770: jne 0x2f0107bb */ 6276 L_2F010772: 6277 edx = MEM32(ecx); /* 0x2F010772: mov edx, dword ptr [ecx] */ 6278 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010774: mov byte ptr [edx + 0x20], bl */ 6279 edx = MEM32(ecx); /* 0x2F010777: mov edx, dword ptr [ecx] */ 6280 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010779: mov byte ptr [ecx + 0x20], 0 */ 6281 esi = MEM32(edx + 0x8); /* 0x2F01077D: mov esi, dword ptr [edx + 8] */ 6282 MEM32(ecx) = esi; /* 0x2F010780: mov dword ptr [ecx], esi */ 6283 esi = MEM32(edx + 0x8); /* 0x2F010782: mov esi, dword ptr [edx + 8] */ 6284 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010785: cmp esi, dword ptr [edi + 8] */ 6285 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6286 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6287 _flag_k = FK_CMP; 6288 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01078D; /* 0x2F010788: je 0x2f01078d */ 6289 L_2F01078A: 6290 MEM32(esi + 0x4) = ecx; /* 0x2F01078A: mov dword ptr [esi + 4], ecx */ 6291 L_2F01078D: 6292 esi = MEM32(ecx + 0x4); /* 0x2F01078D: mov esi, dword ptr [ecx + 4] */ 6293 MEM32(edx + 0x4) = esi; /* 0x2F010790: mov dword ptr [edx + 4], esi */ 6294 esi = MEM32(edi + 0x4); /* 0x2F010793: mov esi, dword ptr [edi + 4] */ 6295 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010796: cmp ecx, dword ptr [esi + 4] */ 6296 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6297 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6298 _flag_k = FK_CMP; 6299 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0107A0; /* 0x2F010799: jne 0x2f0107a0 */ 6300 L_2F01079B: 6301 MEM32(esi + 0x4) = edx; /* 0x2F01079B: mov dword ptr [esi + 4], edx */ 6302 goto L_2F0107AF; /* 0x2F01079E: jmp 0x2f0107af */ 6303 L_2F0107A0: 6304 esi = MEM32(ecx + 0x4); /* 0x2F0107A0: mov esi, dword ptr [ecx + 4] */ 6305 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F0107A3: cmp ecx, dword ptr [esi + 8] */ 6306 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 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_2F0107AD; /* 0x2F0107A6: jne 0x2f0107ad */ 6310 L_2F0107A8: 6311 MEM32(esi + 0x8) = edx; /* 0x2F0107A8: mov dword ptr [esi + 8], edx */ 6312 goto L_2F0107AF; /* 0x2F0107AB: jmp 0x2f0107af */ 6313 L_2F0107AD: 6314 MEM32(esi) = edx; /* 0x2F0107AD: mov dword ptr [esi], edx */ 6315 L_2F0107AF: 6316 MEM32(edx + 0x8) = ecx; /* 0x2F0107AF: mov dword ptr [edx + 8], ecx */ 6317 MEM32(ecx + 0x4) = edx; /* 0x2F0107B2: mov dword ptr [ecx + 4], edx */ 6318 ecx = MEM32(eax + 0x4); /* 0x2F0107B5: mov ecx, dword ptr [eax + 4] */ 6319 ecx = MEM32(ecx + 0x8); /* 0x2F0107B8: mov ecx, dword ptr [ecx + 8] */ 6320 L_2F0107BB: 6321 edx = MEM32(eax + 0x4); /* 0x2F0107BB: mov edx, dword ptr [eax + 4] */ 6322 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x2F0107BE: mov dl, byte ptr [edx + 0x20] */ 6323 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x2F0107C1: mov byte ptr [ecx + 0x20], dl */ 6324 edx = MEM32(eax + 0x4); /* 0x2F0107C4: mov edx, dword ptr [eax + 4] */ 6325 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0107C7: mov byte ptr [edx + 0x20], bl */ 6326 ecx = MEM32(ecx + 0x8); /* 0x2F0107CA: mov ecx, dword ptr [ecx + 8] */ 6327 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0107CD: mov byte ptr [ecx + 0x20], bl */ 6328 ecx = MEM32(eax + 0x4); /* 0x2F0107D0: mov ecx, dword ptr [eax + 4] */ 6329 edx = MEM32(ecx + 0x8); /* 0x2F0107D3: mov edx, dword ptr [ecx + 8] */ 6330 esi = MEM32(edx); /* 0x2F0107D6: mov esi, dword ptr [edx] */ 6331 MEM32(ecx + 0x8) = esi; /* 0x2F0107D8: mov dword ptr [ecx + 8], esi */ 6332 esi = MEM32(edx); /* 0x2F0107DB: mov esi, dword ptr [edx] */ 6333 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F0107DD: cmp esi, dword ptr [edi + 8] */ 6334 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6335 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6336 _flag_k = FK_CMP; 6337 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0107E5; /* 0x2F0107E0: je 0x2f0107e5 */ 6338 L_2F0107E2: 6339 MEM32(esi + 0x4) = ecx; /* 0x2F0107E2: mov dword ptr [esi + 4], ecx */ 6340 L_2F0107E5: 6341 esi = MEM32(ecx + 0x4); /* 0x2F0107E5: mov esi, dword ptr [ecx + 4] */ 6342 MEM32(edx + 0x4) = esi; /* 0x2F0107E8: mov dword ptr [edx + 4], esi */ 6343 esi = MEM32(edi + 0x4); /* 0x2F0107EB: mov esi, dword ptr [edi + 4] */ 6344 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F0107EE: cmp ecx, dword ptr [esi + 4] */ 6345 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6346 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6347 _flag_k = FK_CMP; 6348 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0107FD; /* 0x2F0107F1: jne 0x2f0107fd */ 6349 L_2F0107F3: 6350 MEM32(esi + 0x4) = edx; /* 0x2F0107F3: mov dword ptr [esi + 4], edx */ 6351 MEM32(edx) = ecx; /* 0x2F0107F6: mov dword ptr [edx], ecx */ 6352 goto L_2F0108B3; /* 0x2F0107F8: jmp 0x2f0108b3 */ 6353 L_2F0107FD: 6354 esi = MEM32(ecx + 0x4); /* 0x2F0107FD: mov esi, dword ptr [ecx + 4] */ 6355 /* cmp ecx, MEM32(esi) */ /* 0x2F010800: cmp ecx, dword ptr [esi] */ 6356 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6357 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6358 _flag_k = FK_CMP; 6359 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01080D; /* 0x2F010802: jne 0x2f01080d */ 6360 L_2F010804: 6361 MEM32(esi) = edx; /* 0x2F010804: mov dword ptr [esi], edx */ 6362 MEM32(edx) = ecx; /* 0x2F010806: mov dword ptr [edx], ecx */ 6363 goto L_2F0108B3; /* 0x2F010808: jmp 0x2f0108b3 */ 6364 L_2F01080D: 6365 MEM32(esi + 0x8) = edx; /* 0x2F01080D: mov dword ptr [esi + 8], edx */ 6366 MEM32(edx) = ecx; /* 0x2F010810: mov dword ptr [edx], ecx */ 6367 goto L_2F0108B3; /* 0x2F010812: jmp 0x2f0108b3 */ 6368 L_2F010817: 6369 edx = MEM32(ecx); /* 0x2F010817: mov edx, dword ptr [ecx] */ 6370 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F010819: cmp byte ptr [edx + 0x20], bl */ 6371 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6372 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6373 _flag_k = FK_NARROW(FK_CMP, 24); 6374 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010865; /* 0x2F01081C: jne 0x2f010865 */ 6375 L_2F01081E: 6376 edx = MEM32(ecx + 0x8); /* 0x2F01081E: mov edx, dword ptr [ecx + 8] */ 6377 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010821: mov byte ptr [edx + 0x20], bl */ 6378 edx = MEM32(ecx + 0x8); /* 0x2F010824: mov edx, dword ptr [ecx + 8] */ 6379 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010827: mov byte ptr [ecx + 0x20], 0 */ 6380 esi = MEM32(edx); /* 0x2F01082B: mov esi, dword ptr [edx] */ 6381 MEM32(ecx + 0x8) = esi; /* 0x2F01082D: mov dword ptr [ecx + 8], esi */ 6382 esi = MEM32(edx); /* 0x2F010830: mov esi, dword ptr [edx] */ 6383 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010832: cmp esi, dword ptr [edi + 8] */ 6384 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6385 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6386 _flag_k = FK_CMP; 6387 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01083A; /* 0x2F010835: je 0x2f01083a */ 6388 L_2F010837: 6389 MEM32(esi + 0x4) = ecx; /* 0x2F010837: mov dword ptr [esi + 4], ecx */ 6390 L_2F01083A: 6391 esi = MEM32(ecx + 0x4); /* 0x2F01083A: mov esi, dword ptr [ecx + 4] */ 6392 MEM32(edx + 0x4) = esi; /* 0x2F01083D: mov dword ptr [edx + 4], esi */ 6393 esi = MEM32(edi + 0x4); /* 0x2F010840: mov esi, dword ptr [edi + 4] */ 6394 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010843: cmp ecx, dword ptr [esi + 4] */ 6395 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6396 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6397 _flag_k = FK_CMP; 6398 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01084D; /* 0x2F010846: jne 0x2f01084d */ 6399 L_2F010848: 6400 MEM32(esi + 0x4) = edx; /* 0x2F010848: mov dword ptr [esi + 4], edx */ 6401 goto L_2F01085B; /* 0x2F01084B: jmp 0x2f01085b */ 6402 L_2F01084D: 6403 esi = MEM32(ecx + 0x4); /* 0x2F01084D: mov esi, dword ptr [ecx + 4] */ 6404 /* cmp ecx, MEM32(esi) */ /* 0x2F010850: cmp ecx, dword ptr [esi] */ 6405 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6406 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6407 _flag_k = FK_CMP; 6408 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010858; /* 0x2F010852: jne 0x2f010858 */ 6409 L_2F010854: 6410 MEM32(esi) = edx; /* 0x2F010854: mov dword ptr [esi], edx */ 6411 goto L_2F01085B; /* 0x2F010856: jmp 0x2f01085b */ 6412 L_2F010858: 6413 MEM32(esi + 0x8) = edx; /* 0x2F010858: mov dword ptr [esi + 8], edx */ 6414 L_2F01085B: 6415 MEM32(edx) = ecx; /* 0x2F01085B: mov dword ptr [edx], ecx */ 6416 MEM32(ecx + 0x4) = edx; /* 0x2F01085D: mov dword ptr [ecx + 4], edx */ 6417 ecx = MEM32(eax + 0x4); /* 0x2F010860: mov ecx, dword ptr [eax + 4] */ 6418 ecx = MEM32(ecx); /* 0x2F010863: mov ecx, dword ptr [ecx] */ 6419 L_2F010865: 6420 edx = MEM32(eax + 0x4); /* 0x2F010865: mov edx, dword ptr [eax + 4] */ 6421 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x2F010868: mov dl, byte ptr [edx + 0x20] */ 6422 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x2F01086B: mov byte ptr [ecx + 0x20], dl */ 6423 edx = MEM32(eax + 0x4); /* 0x2F01086E: mov edx, dword ptr [eax + 4] */ 6424 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010871: mov byte ptr [edx + 0x20], bl */ 6425 ecx = MEM32(ecx); /* 0x2F010874: mov ecx, dword ptr [ecx] */ 6426 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010876: mov byte ptr [ecx + 0x20], bl */ 6427 ecx = MEM32(eax + 0x4); /* 0x2F010879: mov ecx, dword ptr [eax + 4] */ 6428 edx = MEM32(ecx); /* 0x2F01087C: mov edx, dword ptr [ecx] */ 6429 esi = MEM32(edx + 0x8); /* 0x2F01087E: mov esi, dword ptr [edx + 8] */ 6430 MEM32(ecx) = esi; /* 0x2F010881: mov dword ptr [ecx], esi */ 6431 esi = MEM32(edx + 0x8); /* 0x2F010883: mov esi, dword ptr [edx + 8] */ 6432 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010886: cmp esi, dword ptr [edi + 8] */ 6433 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6434 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6435 _flag_k = FK_CMP; 6436 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01088E; /* 0x2F010889: je 0x2f01088e */ 6437 L_2F01088B: 6438 MEM32(esi + 0x4) = ecx; /* 0x2F01088B: mov dword ptr [esi + 4], ecx */ 6439 L_2F01088E: 6440 esi = MEM32(ecx + 0x4); /* 0x2F01088E: mov esi, dword ptr [ecx + 4] */ 6441 MEM32(edx + 0x4) = esi; /* 0x2F010891: mov dword ptr [edx + 4], esi */ 6442 esi = MEM32(edi + 0x4); /* 0x2F010894: mov esi, dword ptr [edi + 4] */ 6443 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010897: cmp ecx, dword ptr [esi + 4] */ 6444 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6445 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6446 _flag_k = FK_CMP; 6447 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0108A1; /* 0x2F01089A: jne 0x2f0108a1 */ 6448 L_2F01089C: 6449 MEM32(esi + 0x4) = edx; /* 0x2F01089C: mov dword ptr [esi + 4], edx */ 6450 goto L_2F0108B0; /* 0x2F01089F: jmp 0x2f0108b0 */ 6451 L_2F0108A1: 6452 esi = MEM32(ecx + 0x4); /* 0x2F0108A1: mov esi, dword ptr [ecx + 4] */ 6453 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F0108A4: cmp ecx, dword ptr [esi + 8] */ 6454 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6455 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6456 _flag_k = FK_CMP; 6457 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0108AE; /* 0x2F0108A7: jne 0x2f0108ae */ 6458 L_2F0108A9: 6459 MEM32(esi + 0x8) = edx; /* 0x2F0108A9: mov dword ptr [esi + 8], edx */ 6460 goto L_2F0108B0; /* 0x2F0108AC: jmp 0x2f0108b0 */ 6461 L_2F0108AE: 6462 MEM32(esi) = edx; /* 0x2F0108AE: mov dword ptr [esi], edx */ 6463 L_2F0108B0: 6464 MEM32(edx + 0x8) = ecx; /* 0x2F0108B0: mov dword ptr [edx + 8], ecx */ 6465 L_2F0108B3: 6466 MEM32(ecx + 0x4) = edx; /* 0x2F0108B3: mov dword ptr [ecx + 4], edx */ 6467 L_2F0108B6: 6468 esi = MEM32(ebp + (-0x4)); /* 0x2F0108B6: mov esi, dword ptr [ebp - 4] */ 6469 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0108B9: mov byte ptr [eax + 0x20], bl */ 6470 ecx = esi + 0xC; /* 0x2F0108BC: lea ecx, [esi + 0xc] */ 6471 RECOMP_ICALL(0x2F00F8E0u); /* 0x2F0108BF: call 0x2f00f8e0 */ /* not lifted */ 6472 RECOMP_FLAGS_IN(); 6473 PUSH32(esp, esi); /* 0x2F0108C4: push esi */ 6474 RECOMP_ICALL(0x2F0116B4u); /* 0x2F0108C5: call 0x2f0116b4 */ /* not lifted */ 6475 RECOMP_FLAGS_IN(); 6476 eax = MEM32(edi + 0x10); /* 0x2F0108CA: mov eax, dword ptr [edi + 0x10] */ 6477 edx = MEM32(ebp + 0xC); /* 0x2F0108CD: mov edx, dword ptr [ebp + 0xc] */ 6478 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6479 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6480 esp = esp + 4; /* 0x2F0108D0: add esp, 4 */ 6481 _flag_k = FK_ADD; 6482 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 6483 eax = eax - 1; /* 0x2F0108D3: dec eax */ 6484 _flag_k = FK_DEC; 6485 MEM32(edi + 0x10) = eax; /* 0x2F0108D4: mov dword ptr [edi + 0x10], eax */ 6486 eax = MEM32(ebp + 0x8); /* 0x2F0108D7: mov eax, dword ptr [ebp + 8] */ 6487 edi = POP32_VAL(esp); /* 0x2F0108DA: pop edi */ 6488 esi = POP32_VAL(esp); /* 0x2F0108DB: pop esi */ 6489 MEM32(eax) = edx; /* 0x2F0108DC: mov dword ptr [eax], edx */ 6490 ebx = POP32_VAL(esp); /* 0x2F0108DE: pop ebx */ 6491 esp = ebp; /* 0x2F0108DF: mov esp, ebp */ 6492 ebp = POP32_VAL(esp); /* 0x2F0108E1: pop ebp */ 6493 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2F0108E2: ret 8 */ 6494 RECOMP_REGS_OUT(); 6495 } 6496 6497 void sub_2F010730(void) { 6498 int _fpu_cmp = 0; 6499 uint32_t _cf = 0; 6500 int _df = 1; 6501 uint32_t _flag_k = FK_NONE; 6502 uint32_t _flag_a = 0, _flag_b = 0; 6503 uint32_t _itail_tgt = 0; 6504 RECOMP_REGS_LOCALS 6505 RECOMP_ENTER(0x2F010730u); 6506 6507 goto L_2F010730; 6508 L_2F010668: 6509 /* cmp MEM8(eax + 0x20), LO8(ebx) */ /* 0x2F010668: cmp byte ptr [eax + 0x20], bl */ 6510 _flag_a = (uint32_t)(MEM8(eax + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6511 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6512 _flag_k = FK_NARROW(FK_CMP, 24); 6513 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0108B6; /* 0x2F01066B: jne 0x2f0108b6 */ 6514 L_2F010671: 6515 edx = MEM32(eax + 0x4); /* 0x2F010671: mov edx, dword ptr [eax + 4] */ 6516 ecx = MEM32(edx); /* 0x2F010674: mov ecx, dword ptr [edx] */ 6517 /* cmp eax, ecx */ /* 0x2F010676: cmp eax, ecx */ 6518 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 6519 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6520 _flag_k = FK_CMP; 6521 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0106E8; /* 0x2F010678: jne 0x2f0106e8 */ 6522 L_2F01067A: 6523 ecx = MEM32(edx + 0x8); /* 0x2F01067A: mov ecx, dword ptr [edx + 8] */ 6524 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x2F01067D: mov dl, byte ptr [ecx + 0x20] */ 6525 /* test LO8(edx), LO8(edx) */ /* 0x2F010680: test dl, dl */ 6526 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6527 _cf = 0; 6528 _flag_k = FK_NARROW(FK_TEST, 24); 6529 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F0106CF; /* 0x2F010682: jne 0x2f0106cf */ 6530 L_2F010684: 6531 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010684: mov byte ptr [ecx + 0x20], bl */ 6532 edx = MEM32(eax + 0x4); /* 0x2F010687: mov edx, dword ptr [eax + 4] */ 6533 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x2F01068A: mov byte ptr [edx + 0x20], 0 */ 6534 ecx = MEM32(eax + 0x4); /* 0x2F01068E: mov ecx, dword ptr [eax + 4] */ 6535 edx = MEM32(ecx + 0x8); /* 0x2F010691: mov edx, dword ptr [ecx + 8] */ 6536 esi = MEM32(edx); /* 0x2F010694: mov esi, dword ptr [edx] */ 6537 MEM32(ecx + 0x8) = esi; /* 0x2F010696: mov dword ptr [ecx + 8], esi */ 6538 esi = MEM32(edx); /* 0x2F010699: mov esi, dword ptr [edx] */ 6539 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F01069B: cmp esi, dword ptr [edi + 8] */ 6540 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6541 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6542 _flag_k = FK_CMP; 6543 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0106A3; /* 0x2F01069E: je 0x2f0106a3 */ 6544 L_2F0106A0: 6545 MEM32(esi + 0x4) = ecx; /* 0x2F0106A0: mov dword ptr [esi + 4], ecx */ 6546 L_2F0106A3: 6547 esi = MEM32(ecx + 0x4); /* 0x2F0106A3: mov esi, dword ptr [ecx + 4] */ 6548 MEM32(edx + 0x4) = esi; /* 0x2F0106A6: mov dword ptr [edx + 4], esi */ 6549 esi = MEM32(edi + 0x4); /* 0x2F0106A9: mov esi, dword ptr [edi + 4] */ 6550 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F0106AC: cmp ecx, dword ptr [esi + 4] */ 6551 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6552 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6553 _flag_k = FK_CMP; 6554 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0106B6; /* 0x2F0106AF: jne 0x2f0106b6 */ 6555 L_2F0106B1: 6556 MEM32(esi + 0x4) = edx; /* 0x2F0106B1: mov dword ptr [esi + 4], edx */ 6557 goto L_2F0106C4; /* 0x2F0106B4: jmp 0x2f0106c4 */ 6558 L_2F0106B6: 6559 esi = MEM32(ecx + 0x4); /* 0x2F0106B6: mov esi, dword ptr [ecx + 4] */ 6560 /* cmp ecx, MEM32(esi) */ /* 0x2F0106B9: cmp ecx, dword ptr [esi] */ 6561 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6562 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6563 _flag_k = FK_CMP; 6564 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0106C1; /* 0x2F0106BB: jne 0x2f0106c1 */ 6565 L_2F0106BD: 6566 MEM32(esi) = edx; /* 0x2F0106BD: mov dword ptr [esi], edx */ 6567 goto L_2F0106C4; /* 0x2F0106BF: jmp 0x2f0106c4 */ 6568 L_2F0106C1: 6569 MEM32(esi + 0x8) = edx; /* 0x2F0106C1: mov dword ptr [esi + 8], edx */ 6570 L_2F0106C4: 6571 MEM32(edx) = ecx; /* 0x2F0106C4: mov dword ptr [edx], ecx */ 6572 MEM32(ecx + 0x4) = edx; /* 0x2F0106C6: mov dword ptr [ecx + 4], edx */ 6573 ecx = MEM32(eax + 0x4); /* 0x2F0106C9: mov ecx, dword ptr [eax + 4] */ 6574 ecx = MEM32(ecx + 0x8); /* 0x2F0106CC: mov ecx, dword ptr [ecx + 8] */ 6575 L_2F0106CF: 6576 edx = MEM32(ecx); /* 0x2F0106CF: mov edx, dword ptr [ecx] */ 6577 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F0106D1: cmp byte ptr [edx + 0x20], bl */ 6578 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6579 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6580 _flag_k = FK_NARROW(FK_CMP, 24); 6581 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01076A; /* 0x2F0106D4: jne 0x2f01076a */ 6582 L_2F0106DA: 6583 edx = MEM32(ecx + 0x8); /* 0x2F0106DA: mov edx, dword ptr [ecx + 8] */ 6584 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F0106DD: cmp byte ptr [edx + 0x20], bl */ 6585 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6586 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6587 _flag_k = FK_NARROW(FK_CMP, 24); 6588 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01076A; /* 0x2F0106E0: jne 0x2f01076a */ 6589 L_2F0106E6: 6590 goto L_2F010752; /* 0x2F0106E6: jmp 0x2f010752 */ 6591 L_2F0106E8: 6592 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x2F0106E8: mov dl, byte ptr [ecx + 0x20] */ 6593 /* test LO8(edx), LO8(edx) */ /* 0x2F0106EB: test dl, dl */ 6594 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6595 _cf = 0; 6596 _flag_k = FK_NARROW(FK_TEST, 24); 6597 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F01073B; /* 0x2F0106ED: jne 0x2f01073b */ 6598 L_2F0106EF: 6599 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0106EF: mov byte ptr [ecx + 0x20], bl */ 6600 ecx = MEM32(eax + 0x4); /* 0x2F0106F2: mov ecx, dword ptr [eax + 4] */ 6601 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F0106F5: mov byte ptr [ecx + 0x20], 0 */ 6602 ecx = MEM32(eax + 0x4); /* 0x2F0106F9: mov ecx, dword ptr [eax + 4] */ 6603 edx = MEM32(ecx); /* 0x2F0106FC: mov edx, dword ptr [ecx] */ 6604 esi = MEM32(edx + 0x8); /* 0x2F0106FE: mov esi, dword ptr [edx + 8] */ 6605 MEM32(ecx) = esi; /* 0x2F010701: mov dword ptr [ecx], esi */ 6606 esi = MEM32(edx + 0x8); /* 0x2F010703: mov esi, dword ptr [edx + 8] */ 6607 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010706: cmp esi, dword ptr [edi + 8] */ 6608 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6609 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6610 _flag_k = FK_CMP; 6611 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01070E; /* 0x2F010709: je 0x2f01070e */ 6612 L_2F01070B: 6613 MEM32(esi + 0x4) = ecx; /* 0x2F01070B: mov dword ptr [esi + 4], ecx */ 6614 L_2F01070E: 6615 esi = MEM32(ecx + 0x4); /* 0x2F01070E: mov esi, dword ptr [ecx + 4] */ 6616 MEM32(edx + 0x4) = esi; /* 0x2F010711: mov dword ptr [edx + 4], esi */ 6617 esi = MEM32(edi + 0x4); /* 0x2F010714: mov esi, dword ptr [edi + 4] */ 6618 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010717: cmp ecx, dword ptr [esi + 4] */ 6619 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6620 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6621 _flag_k = FK_CMP; 6622 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010721; /* 0x2F01071A: jne 0x2f010721 */ 6623 L_2F01071C: 6624 MEM32(esi + 0x4) = edx; /* 0x2F01071C: mov dword ptr [esi + 4], edx */ 6625 goto L_2F010730; /* 0x2F01071F: jmp 0x2f010730 */ 6626 L_2F010721: 6627 esi = MEM32(ecx + 0x4); /* 0x2F010721: mov esi, dword ptr [ecx + 4] */ 6628 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F010724: cmp ecx, dword ptr [esi + 8] */ 6629 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6630 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6631 _flag_k = FK_CMP; 6632 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01072E; /* 0x2F010727: jne 0x2f01072e */ 6633 L_2F010729: 6634 MEM32(esi + 0x8) = edx; /* 0x2F010729: mov dword ptr [esi + 8], edx */ 6635 goto L_2F010730; /* 0x2F01072C: jmp 0x2f010730 */ 6636 L_2F01072E: 6637 MEM32(esi) = edx; /* 0x2F01072E: mov dword ptr [esi], edx */ 6638 L_2F010730: 6639 MEM32(edx + 0x8) = ecx; /* 0x2F010730: mov dword ptr [edx + 8], ecx */ 6640 MEM32(ecx + 0x4) = edx; /* 0x2F010733: mov dword ptr [ecx + 4], edx */ 6641 edx = MEM32(eax + 0x4); /* 0x2F010736: mov edx, dword ptr [eax + 4] */ 6642 ecx = MEM32(edx); /* 0x2F010739: mov ecx, dword ptr [edx] */ 6643 L_2F01073B: 6644 edx = MEM32(ecx + 0x8); /* 0x2F01073B: mov edx, dword ptr [ecx + 8] */ 6645 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F01073E: cmp byte ptr [edx + 0x20], bl */ 6646 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6647 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6648 _flag_k = FK_NARROW(FK_CMP, 24); 6649 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010817; /* 0x2F010741: jne 0x2f010817 */ 6650 L_2F010747: 6651 edx = MEM32(ecx); /* 0x2F010747: mov edx, dword ptr [ecx] */ 6652 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F010749: cmp byte ptr [edx + 0x20], bl */ 6653 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6654 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6655 _flag_k = FK_NARROW(FK_CMP, 24); 6656 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010817; /* 0x2F01074C: jne 0x2f010817 */ 6657 L_2F010752: 6658 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010752: mov byte ptr [ecx + 0x20], 0 */ 6659 ecx = MEM32(edi + 0x4); /* 0x2F010756: mov ecx, dword ptr [edi + 4] */ 6660 eax = MEM32(eax + 0x4); /* 0x2F010759: mov eax, dword ptr [eax + 4] */ 6661 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F01075C: cmp eax, dword ptr [ecx + 4] */ 6662 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 6663 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6664 _flag_k = FK_CMP; 6665 RECOMP_BACKEDGE(); 6666 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010668; /* 0x2F01075F: jne 0x2f010668 */ 6667 L_2F010765: 6668 goto L_2F0108B6; /* 0x2F010765: jmp 0x2f0108b6 */ 6669 L_2F01076A: 6670 edx = MEM32(ecx + 0x8); /* 0x2F01076A: mov edx, dword ptr [ecx + 8] */ 6671 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F01076D: cmp byte ptr [edx + 0x20], bl */ 6672 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 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_2F0107BB; /* 0x2F010770: jne 0x2f0107bb */ 6676 L_2F010772: 6677 edx = MEM32(ecx); /* 0x2F010772: mov edx, dword ptr [ecx] */ 6678 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010774: mov byte ptr [edx + 0x20], bl */ 6679 edx = MEM32(ecx); /* 0x2F010777: mov edx, dword ptr [ecx] */ 6680 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010779: mov byte ptr [ecx + 0x20], 0 */ 6681 esi = MEM32(edx + 0x8); /* 0x2F01077D: mov esi, dword ptr [edx + 8] */ 6682 MEM32(ecx) = esi; /* 0x2F010780: mov dword ptr [ecx], esi */ 6683 esi = MEM32(edx + 0x8); /* 0x2F010782: mov esi, dword ptr [edx + 8] */ 6684 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010785: cmp esi, dword ptr [edi + 8] */ 6685 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6686 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6687 _flag_k = FK_CMP; 6688 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01078D; /* 0x2F010788: je 0x2f01078d */ 6689 L_2F01078A: 6690 MEM32(esi + 0x4) = ecx; /* 0x2F01078A: mov dword ptr [esi + 4], ecx */ 6691 L_2F01078D: 6692 esi = MEM32(ecx + 0x4); /* 0x2F01078D: mov esi, dword ptr [ecx + 4] */ 6693 MEM32(edx + 0x4) = esi; /* 0x2F010790: mov dword ptr [edx + 4], esi */ 6694 esi = MEM32(edi + 0x4); /* 0x2F010793: mov esi, dword ptr [edi + 4] */ 6695 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010796: cmp ecx, dword ptr [esi + 4] */ 6696 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6697 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6698 _flag_k = FK_CMP; 6699 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0107A0; /* 0x2F010799: jne 0x2f0107a0 */ 6700 L_2F01079B: 6701 MEM32(esi + 0x4) = edx; /* 0x2F01079B: mov dword ptr [esi + 4], edx */ 6702 goto L_2F0107AF; /* 0x2F01079E: jmp 0x2f0107af */ 6703 L_2F0107A0: 6704 esi = MEM32(ecx + 0x4); /* 0x2F0107A0: mov esi, dword ptr [ecx + 4] */ 6705 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F0107A3: cmp ecx, dword ptr [esi + 8] */ 6706 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 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_2F0107AD; /* 0x2F0107A6: jne 0x2f0107ad */ 6710 L_2F0107A8: 6711 MEM32(esi + 0x8) = edx; /* 0x2F0107A8: mov dword ptr [esi + 8], edx */ 6712 goto L_2F0107AF; /* 0x2F0107AB: jmp 0x2f0107af */ 6713 L_2F0107AD: 6714 MEM32(esi) = edx; /* 0x2F0107AD: mov dword ptr [esi], edx */ 6715 L_2F0107AF: 6716 MEM32(edx + 0x8) = ecx; /* 0x2F0107AF: mov dword ptr [edx + 8], ecx */ 6717 MEM32(ecx + 0x4) = edx; /* 0x2F0107B2: mov dword ptr [ecx + 4], edx */ 6718 ecx = MEM32(eax + 0x4); /* 0x2F0107B5: mov ecx, dword ptr [eax + 4] */ 6719 ecx = MEM32(ecx + 0x8); /* 0x2F0107B8: mov ecx, dword ptr [ecx + 8] */ 6720 L_2F0107BB: 6721 edx = MEM32(eax + 0x4); /* 0x2F0107BB: mov edx, dword ptr [eax + 4] */ 6722 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x2F0107BE: mov dl, byte ptr [edx + 0x20] */ 6723 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x2F0107C1: mov byte ptr [ecx + 0x20], dl */ 6724 edx = MEM32(eax + 0x4); /* 0x2F0107C4: mov edx, dword ptr [eax + 4] */ 6725 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0107C7: mov byte ptr [edx + 0x20], bl */ 6726 ecx = MEM32(ecx + 0x8); /* 0x2F0107CA: mov ecx, dword ptr [ecx + 8] */ 6727 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0107CD: mov byte ptr [ecx + 0x20], bl */ 6728 ecx = MEM32(eax + 0x4); /* 0x2F0107D0: mov ecx, dword ptr [eax + 4] */ 6729 edx = MEM32(ecx + 0x8); /* 0x2F0107D3: mov edx, dword ptr [ecx + 8] */ 6730 esi = MEM32(edx); /* 0x2F0107D6: mov esi, dword ptr [edx] */ 6731 MEM32(ecx + 0x8) = esi; /* 0x2F0107D8: mov dword ptr [ecx + 8], esi */ 6732 esi = MEM32(edx); /* 0x2F0107DB: mov esi, dword ptr [edx] */ 6733 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F0107DD: cmp esi, dword ptr [edi + 8] */ 6734 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6735 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6736 _flag_k = FK_CMP; 6737 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0107E5; /* 0x2F0107E0: je 0x2f0107e5 */ 6738 L_2F0107E2: 6739 MEM32(esi + 0x4) = ecx; /* 0x2F0107E2: mov dword ptr [esi + 4], ecx */ 6740 L_2F0107E5: 6741 esi = MEM32(ecx + 0x4); /* 0x2F0107E5: mov esi, dword ptr [ecx + 4] */ 6742 MEM32(edx + 0x4) = esi; /* 0x2F0107E8: mov dword ptr [edx + 4], esi */ 6743 esi = MEM32(edi + 0x4); /* 0x2F0107EB: mov esi, dword ptr [edi + 4] */ 6744 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F0107EE: cmp ecx, dword ptr [esi + 4] */ 6745 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6746 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6747 _flag_k = FK_CMP; 6748 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0107FD; /* 0x2F0107F1: jne 0x2f0107fd */ 6749 L_2F0107F3: 6750 MEM32(esi + 0x4) = edx; /* 0x2F0107F3: mov dword ptr [esi + 4], edx */ 6751 MEM32(edx) = ecx; /* 0x2F0107F6: mov dword ptr [edx], ecx */ 6752 goto L_2F0108B3; /* 0x2F0107F8: jmp 0x2f0108b3 */ 6753 L_2F0107FD: 6754 esi = MEM32(ecx + 0x4); /* 0x2F0107FD: mov esi, dword ptr [ecx + 4] */ 6755 /* cmp ecx, MEM32(esi) */ /* 0x2F010800: cmp ecx, dword ptr [esi] */ 6756 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6757 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6758 _flag_k = FK_CMP; 6759 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01080D; /* 0x2F010802: jne 0x2f01080d */ 6760 L_2F010804: 6761 MEM32(esi) = edx; /* 0x2F010804: mov dword ptr [esi], edx */ 6762 MEM32(edx) = ecx; /* 0x2F010806: mov dword ptr [edx], ecx */ 6763 goto L_2F0108B3; /* 0x2F010808: jmp 0x2f0108b3 */ 6764 L_2F01080D: 6765 MEM32(esi + 0x8) = edx; /* 0x2F01080D: mov dword ptr [esi + 8], edx */ 6766 MEM32(edx) = ecx; /* 0x2F010810: mov dword ptr [edx], ecx */ 6767 goto L_2F0108B3; /* 0x2F010812: jmp 0x2f0108b3 */ 6768 L_2F010817: 6769 edx = MEM32(ecx); /* 0x2F010817: mov edx, dword ptr [ecx] */ 6770 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F010819: cmp byte ptr [edx + 0x20], bl */ 6771 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6772 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6773 _flag_k = FK_NARROW(FK_CMP, 24); 6774 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010865; /* 0x2F01081C: jne 0x2f010865 */ 6775 L_2F01081E: 6776 edx = MEM32(ecx + 0x8); /* 0x2F01081E: mov edx, dword ptr [ecx + 8] */ 6777 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010821: mov byte ptr [edx + 0x20], bl */ 6778 edx = MEM32(ecx + 0x8); /* 0x2F010824: mov edx, dword ptr [ecx + 8] */ 6779 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010827: mov byte ptr [ecx + 0x20], 0 */ 6780 esi = MEM32(edx); /* 0x2F01082B: mov esi, dword ptr [edx] */ 6781 MEM32(ecx + 0x8) = esi; /* 0x2F01082D: mov dword ptr [ecx + 8], esi */ 6782 esi = MEM32(edx); /* 0x2F010830: mov esi, dword ptr [edx] */ 6783 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010832: cmp esi, dword ptr [edi + 8] */ 6784 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6785 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6786 _flag_k = FK_CMP; 6787 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01083A; /* 0x2F010835: je 0x2f01083a */ 6788 L_2F010837: 6789 MEM32(esi + 0x4) = ecx; /* 0x2F010837: mov dword ptr [esi + 4], ecx */ 6790 L_2F01083A: 6791 esi = MEM32(ecx + 0x4); /* 0x2F01083A: mov esi, dword ptr [ecx + 4] */ 6792 MEM32(edx + 0x4) = esi; /* 0x2F01083D: mov dword ptr [edx + 4], esi */ 6793 esi = MEM32(edi + 0x4); /* 0x2F010840: mov esi, dword ptr [edi + 4] */ 6794 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010843: cmp ecx, dword ptr [esi + 4] */ 6795 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6796 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6797 _flag_k = FK_CMP; 6798 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01084D; /* 0x2F010846: jne 0x2f01084d */ 6799 L_2F010848: 6800 MEM32(esi + 0x4) = edx; /* 0x2F010848: mov dword ptr [esi + 4], edx */ 6801 goto L_2F01085B; /* 0x2F01084B: jmp 0x2f01085b */ 6802 L_2F01084D: 6803 esi = MEM32(ecx + 0x4); /* 0x2F01084D: mov esi, dword ptr [ecx + 4] */ 6804 /* cmp ecx, MEM32(esi) */ /* 0x2F010850: cmp ecx, dword ptr [esi] */ 6805 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6806 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6807 _flag_k = FK_CMP; 6808 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010858; /* 0x2F010852: jne 0x2f010858 */ 6809 L_2F010854: 6810 MEM32(esi) = edx; /* 0x2F010854: mov dword ptr [esi], edx */ 6811 goto L_2F01085B; /* 0x2F010856: jmp 0x2f01085b */ 6812 L_2F010858: 6813 MEM32(esi + 0x8) = edx; /* 0x2F010858: mov dword ptr [esi + 8], edx */ 6814 L_2F01085B: 6815 MEM32(edx) = ecx; /* 0x2F01085B: mov dword ptr [edx], ecx */ 6816 MEM32(ecx + 0x4) = edx; /* 0x2F01085D: mov dword ptr [ecx + 4], edx */ 6817 ecx = MEM32(eax + 0x4); /* 0x2F010860: mov ecx, dword ptr [eax + 4] */ 6818 ecx = MEM32(ecx); /* 0x2F010863: mov ecx, dword ptr [ecx] */ 6819 L_2F010865: 6820 edx = MEM32(eax + 0x4); /* 0x2F010865: mov edx, dword ptr [eax + 4] */ 6821 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x2F010868: mov dl, byte ptr [edx + 0x20] */ 6822 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x2F01086B: mov byte ptr [ecx + 0x20], dl */ 6823 edx = MEM32(eax + 0x4); /* 0x2F01086E: mov edx, dword ptr [eax + 4] */ 6824 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010871: mov byte ptr [edx + 0x20], bl */ 6825 ecx = MEM32(ecx); /* 0x2F010874: mov ecx, dword ptr [ecx] */ 6826 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010876: mov byte ptr [ecx + 0x20], bl */ 6827 ecx = MEM32(eax + 0x4); /* 0x2F010879: mov ecx, dword ptr [eax + 4] */ 6828 edx = MEM32(ecx); /* 0x2F01087C: mov edx, dword ptr [ecx] */ 6829 esi = MEM32(edx + 0x8); /* 0x2F01087E: mov esi, dword ptr [edx + 8] */ 6830 MEM32(ecx) = esi; /* 0x2F010881: mov dword ptr [ecx], esi */ 6831 esi = MEM32(edx + 0x8); /* 0x2F010883: mov esi, dword ptr [edx + 8] */ 6832 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010886: cmp esi, dword ptr [edi + 8] */ 6833 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6834 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6835 _flag_k = FK_CMP; 6836 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01088E; /* 0x2F010889: je 0x2f01088e */ 6837 L_2F01088B: 6838 MEM32(esi + 0x4) = ecx; /* 0x2F01088B: mov dword ptr [esi + 4], ecx */ 6839 L_2F01088E: 6840 esi = MEM32(ecx + 0x4); /* 0x2F01088E: mov esi, dword ptr [ecx + 4] */ 6841 MEM32(edx + 0x4) = esi; /* 0x2F010891: mov dword ptr [edx + 4], esi */ 6842 esi = MEM32(edi + 0x4); /* 0x2F010894: mov esi, dword ptr [edi + 4] */ 6843 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010897: cmp ecx, dword ptr [esi + 4] */ 6844 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6845 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6846 _flag_k = FK_CMP; 6847 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0108A1; /* 0x2F01089A: jne 0x2f0108a1 */ 6848 L_2F01089C: 6849 MEM32(esi + 0x4) = edx; /* 0x2F01089C: mov dword ptr [esi + 4], edx */ 6850 goto L_2F0108B0; /* 0x2F01089F: jmp 0x2f0108b0 */ 6851 L_2F0108A1: 6852 esi = MEM32(ecx + 0x4); /* 0x2F0108A1: mov esi, dword ptr [ecx + 4] */ 6853 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F0108A4: cmp ecx, dword ptr [esi + 8] */ 6854 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6855 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6856 _flag_k = FK_CMP; 6857 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0108AE; /* 0x2F0108A7: jne 0x2f0108ae */ 6858 L_2F0108A9: 6859 MEM32(esi + 0x8) = edx; /* 0x2F0108A9: mov dword ptr [esi + 8], edx */ 6860 goto L_2F0108B0; /* 0x2F0108AC: jmp 0x2f0108b0 */ 6861 L_2F0108AE: 6862 MEM32(esi) = edx; /* 0x2F0108AE: mov dword ptr [esi], edx */ 6863 L_2F0108B0: 6864 MEM32(edx + 0x8) = ecx; /* 0x2F0108B0: mov dword ptr [edx + 8], ecx */ 6865 L_2F0108B3: 6866 MEM32(ecx + 0x4) = edx; /* 0x2F0108B3: mov dword ptr [ecx + 4], edx */ 6867 L_2F0108B6: 6868 esi = MEM32(ebp + (-0x4)); /* 0x2F0108B6: mov esi, dword ptr [ebp - 4] */ 6869 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0108B9: mov byte ptr [eax + 0x20], bl */ 6870 ecx = esi + 0xC; /* 0x2F0108BC: lea ecx, [esi + 0xc] */ 6871 RECOMP_ICALL(0x2F00F8E0u); /* 0x2F0108BF: call 0x2f00f8e0 */ /* not lifted */ 6872 RECOMP_FLAGS_IN(); 6873 PUSH32(esp, esi); /* 0x2F0108C4: push esi */ 6874 RECOMP_ICALL(0x2F0116B4u); /* 0x2F0108C5: call 0x2f0116b4 */ /* not lifted */ 6875 RECOMP_FLAGS_IN(); 6876 eax = MEM32(edi + 0x10); /* 0x2F0108CA: mov eax, dword ptr [edi + 0x10] */ 6877 edx = MEM32(ebp + 0xC); /* 0x2F0108CD: mov edx, dword ptr [ebp + 0xc] */ 6878 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6879 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6880 esp = esp + 4; /* 0x2F0108D0: add esp, 4 */ 6881 _flag_k = FK_ADD; 6882 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 6883 eax = eax - 1; /* 0x2F0108D3: dec eax */ 6884 _flag_k = FK_DEC; 6885 MEM32(edi + 0x10) = eax; /* 0x2F0108D4: mov dword ptr [edi + 0x10], eax */ 6886 eax = MEM32(ebp + 0x8); /* 0x2F0108D7: mov eax, dword ptr [ebp + 8] */ 6887 edi = POP32_VAL(esp); /* 0x2F0108DA: pop edi */ 6888 esi = POP32_VAL(esp); /* 0x2F0108DB: pop esi */ 6889 MEM32(eax) = edx; /* 0x2F0108DC: mov dword ptr [eax], edx */ 6890 ebx = POP32_VAL(esp); /* 0x2F0108DE: pop ebx */ 6891 esp = ebp; /* 0x2F0108DF: mov esp, ebp */ 6892 ebp = POP32_VAL(esp); /* 0x2F0108E1: pop ebp */ 6893 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2F0108E2: ret 8 */ 6894 RECOMP_REGS_OUT(); 6895 } 6896 6897 void sub_2F01073B(void) { 6898 int _fpu_cmp = 0; 6899 uint32_t _cf = 0; 6900 int _df = 1; 6901 uint32_t _flag_k = FK_NONE; 6902 uint32_t _flag_a = 0, _flag_b = 0; 6903 uint32_t _itail_tgt = 0; 6904 RECOMP_REGS_LOCALS 6905 RECOMP_ENTER(0x2F01073Bu); 6906 6907 goto L_2F01073B; 6908 L_2F010668: 6909 /* cmp MEM8(eax + 0x20), LO8(ebx) */ /* 0x2F010668: cmp byte ptr [eax + 0x20], bl */ 6910 _flag_a = (uint32_t)(MEM8(eax + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6911 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6912 _flag_k = FK_NARROW(FK_CMP, 24); 6913 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0108B6; /* 0x2F01066B: jne 0x2f0108b6 */ 6914 L_2F010671: 6915 edx = MEM32(eax + 0x4); /* 0x2F010671: mov edx, dword ptr [eax + 4] */ 6916 ecx = MEM32(edx); /* 0x2F010674: mov ecx, dword ptr [edx] */ 6917 /* cmp eax, ecx */ /* 0x2F010676: cmp eax, ecx */ 6918 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 6919 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6920 _flag_k = FK_CMP; 6921 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0106E8; /* 0x2F010678: jne 0x2f0106e8 */ 6922 L_2F01067A: 6923 ecx = MEM32(edx + 0x8); /* 0x2F01067A: mov ecx, dword ptr [edx + 8] */ 6924 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x2F01067D: mov dl, byte ptr [ecx + 0x20] */ 6925 /* test LO8(edx), LO8(edx) */ /* 0x2F010680: test dl, dl */ 6926 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6927 _cf = 0; 6928 _flag_k = FK_NARROW(FK_TEST, 24); 6929 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F0106CF; /* 0x2F010682: jne 0x2f0106cf */ 6930 L_2F010684: 6931 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010684: mov byte ptr [ecx + 0x20], bl */ 6932 edx = MEM32(eax + 0x4); /* 0x2F010687: mov edx, dword ptr [eax + 4] */ 6933 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x2F01068A: mov byte ptr [edx + 0x20], 0 */ 6934 ecx = MEM32(eax + 0x4); /* 0x2F01068E: mov ecx, dword ptr [eax + 4] */ 6935 edx = MEM32(ecx + 0x8); /* 0x2F010691: mov edx, dword ptr [ecx + 8] */ 6936 esi = MEM32(edx); /* 0x2F010694: mov esi, dword ptr [edx] */ 6937 MEM32(ecx + 0x8) = esi; /* 0x2F010696: mov dword ptr [ecx + 8], esi */ 6938 esi = MEM32(edx); /* 0x2F010699: mov esi, dword ptr [edx] */ 6939 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F01069B: cmp esi, dword ptr [edi + 8] */ 6940 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6941 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6942 _flag_k = FK_CMP; 6943 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0106A3; /* 0x2F01069E: je 0x2f0106a3 */ 6944 L_2F0106A0: 6945 MEM32(esi + 0x4) = ecx; /* 0x2F0106A0: mov dword ptr [esi + 4], ecx */ 6946 L_2F0106A3: 6947 esi = MEM32(ecx + 0x4); /* 0x2F0106A3: mov esi, dword ptr [ecx + 4] */ 6948 MEM32(edx + 0x4) = esi; /* 0x2F0106A6: mov dword ptr [edx + 4], esi */ 6949 esi = MEM32(edi + 0x4); /* 0x2F0106A9: mov esi, dword ptr [edi + 4] */ 6950 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F0106AC: cmp ecx, dword ptr [esi + 4] */ 6951 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6952 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6953 _flag_k = FK_CMP; 6954 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0106B6; /* 0x2F0106AF: jne 0x2f0106b6 */ 6955 L_2F0106B1: 6956 MEM32(esi + 0x4) = edx; /* 0x2F0106B1: mov dword ptr [esi + 4], edx */ 6957 goto L_2F0106C4; /* 0x2F0106B4: jmp 0x2f0106c4 */ 6958 L_2F0106B6: 6959 esi = MEM32(ecx + 0x4); /* 0x2F0106B6: mov esi, dword ptr [ecx + 4] */ 6960 /* cmp ecx, MEM32(esi) */ /* 0x2F0106B9: cmp ecx, dword ptr [esi] */ 6961 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6962 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6963 _flag_k = FK_CMP; 6964 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0106C1; /* 0x2F0106BB: jne 0x2f0106c1 */ 6965 L_2F0106BD: 6966 MEM32(esi) = edx; /* 0x2F0106BD: mov dword ptr [esi], edx */ 6967 goto L_2F0106C4; /* 0x2F0106BF: jmp 0x2f0106c4 */ 6968 L_2F0106C1: 6969 MEM32(esi + 0x8) = edx; /* 0x2F0106C1: mov dword ptr [esi + 8], edx */ 6970 L_2F0106C4: 6971 MEM32(edx) = ecx; /* 0x2F0106C4: mov dword ptr [edx], ecx */ 6972 MEM32(ecx + 0x4) = edx; /* 0x2F0106C6: mov dword ptr [ecx + 4], edx */ 6973 ecx = MEM32(eax + 0x4); /* 0x2F0106C9: mov ecx, dword ptr [eax + 4] */ 6974 ecx = MEM32(ecx + 0x8); /* 0x2F0106CC: mov ecx, dword ptr [ecx + 8] */ 6975 L_2F0106CF: 6976 edx = MEM32(ecx); /* 0x2F0106CF: mov edx, dword ptr [ecx] */ 6977 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F0106D1: cmp byte ptr [edx + 0x20], bl */ 6978 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6979 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6980 _flag_k = FK_NARROW(FK_CMP, 24); 6981 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01076A; /* 0x2F0106D4: jne 0x2f01076a */ 6982 L_2F0106DA: 6983 edx = MEM32(ecx + 0x8); /* 0x2F0106DA: mov edx, dword ptr [ecx + 8] */ 6984 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F0106DD: cmp byte ptr [edx + 0x20], bl */ 6985 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6986 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6987 _flag_k = FK_NARROW(FK_CMP, 24); 6988 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01076A; /* 0x2F0106E0: jne 0x2f01076a */ 6989 L_2F0106E6: 6990 goto L_2F010752; /* 0x2F0106E6: jmp 0x2f010752 */ 6991 L_2F0106E8: 6992 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x2F0106E8: mov dl, byte ptr [ecx + 0x20] */ 6993 /* test LO8(edx), LO8(edx) */ /* 0x2F0106EB: test dl, dl */ 6994 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6995 _cf = 0; 6996 _flag_k = FK_NARROW(FK_TEST, 24); 6997 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F01073B; /* 0x2F0106ED: jne 0x2f01073b */ 6998 L_2F0106EF: 6999 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0106EF: mov byte ptr [ecx + 0x20], bl */ 7000 ecx = MEM32(eax + 0x4); /* 0x2F0106F2: mov ecx, dword ptr [eax + 4] */ 7001 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F0106F5: mov byte ptr [ecx + 0x20], 0 */ 7002 ecx = MEM32(eax + 0x4); /* 0x2F0106F9: mov ecx, dword ptr [eax + 4] */ 7003 edx = MEM32(ecx); /* 0x2F0106FC: mov edx, dword ptr [ecx] */ 7004 esi = MEM32(edx + 0x8); /* 0x2F0106FE: mov esi, dword ptr [edx + 8] */ 7005 MEM32(ecx) = esi; /* 0x2F010701: mov dword ptr [ecx], esi */ 7006 esi = MEM32(edx + 0x8); /* 0x2F010703: mov esi, dword ptr [edx + 8] */ 7007 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010706: cmp esi, dword ptr [edi + 8] */ 7008 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7009 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7010 _flag_k = FK_CMP; 7011 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01070E; /* 0x2F010709: je 0x2f01070e */ 7012 L_2F01070B: 7013 MEM32(esi + 0x4) = ecx; /* 0x2F01070B: mov dword ptr [esi + 4], ecx */ 7014 L_2F01070E: 7015 esi = MEM32(ecx + 0x4); /* 0x2F01070E: mov esi, dword ptr [ecx + 4] */ 7016 MEM32(edx + 0x4) = esi; /* 0x2F010711: mov dword ptr [edx + 4], esi */ 7017 esi = MEM32(edi + 0x4); /* 0x2F010714: mov esi, dword ptr [edi + 4] */ 7018 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010717: cmp ecx, dword ptr [esi + 4] */ 7019 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7020 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7021 _flag_k = FK_CMP; 7022 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010721; /* 0x2F01071A: jne 0x2f010721 */ 7023 L_2F01071C: 7024 MEM32(esi + 0x4) = edx; /* 0x2F01071C: mov dword ptr [esi + 4], edx */ 7025 goto L_2F010730; /* 0x2F01071F: jmp 0x2f010730 */ 7026 L_2F010721: 7027 esi = MEM32(ecx + 0x4); /* 0x2F010721: mov esi, dword ptr [ecx + 4] */ 7028 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F010724: cmp ecx, dword ptr [esi + 8] */ 7029 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7030 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7031 _flag_k = FK_CMP; 7032 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01072E; /* 0x2F010727: jne 0x2f01072e */ 7033 L_2F010729: 7034 MEM32(esi + 0x8) = edx; /* 0x2F010729: mov dword ptr [esi + 8], edx */ 7035 goto L_2F010730; /* 0x2F01072C: jmp 0x2f010730 */ 7036 L_2F01072E: 7037 MEM32(esi) = edx; /* 0x2F01072E: mov dword ptr [esi], edx */ 7038 L_2F010730: 7039 MEM32(edx + 0x8) = ecx; /* 0x2F010730: mov dword ptr [edx + 8], ecx */ 7040 MEM32(ecx + 0x4) = edx; /* 0x2F010733: mov dword ptr [ecx + 4], edx */ 7041 edx = MEM32(eax + 0x4); /* 0x2F010736: mov edx, dword ptr [eax + 4] */ 7042 ecx = MEM32(edx); /* 0x2F010739: mov ecx, dword ptr [edx] */ 7043 L_2F01073B: 7044 edx = MEM32(ecx + 0x8); /* 0x2F01073B: mov edx, dword ptr [ecx + 8] */ 7045 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F01073E: cmp byte ptr [edx + 0x20], bl */ 7046 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7047 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7048 _flag_k = FK_NARROW(FK_CMP, 24); 7049 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010817; /* 0x2F010741: jne 0x2f010817 */ 7050 L_2F010747: 7051 edx = MEM32(ecx); /* 0x2F010747: mov edx, dword ptr [ecx] */ 7052 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F010749: cmp byte ptr [edx + 0x20], bl */ 7053 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7054 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7055 _flag_k = FK_NARROW(FK_CMP, 24); 7056 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010817; /* 0x2F01074C: jne 0x2f010817 */ 7057 L_2F010752: 7058 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010752: mov byte ptr [ecx + 0x20], 0 */ 7059 ecx = MEM32(edi + 0x4); /* 0x2F010756: mov ecx, dword ptr [edi + 4] */ 7060 eax = MEM32(eax + 0x4); /* 0x2F010759: mov eax, dword ptr [eax + 4] */ 7061 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F01075C: cmp eax, dword ptr [ecx + 4] */ 7062 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 7063 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7064 _flag_k = FK_CMP; 7065 RECOMP_BACKEDGE(); 7066 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010668; /* 0x2F01075F: jne 0x2f010668 */ 7067 L_2F010765: 7068 goto L_2F0108B6; /* 0x2F010765: jmp 0x2f0108b6 */ 7069 L_2F01076A: 7070 edx = MEM32(ecx + 0x8); /* 0x2F01076A: mov edx, dword ptr [ecx + 8] */ 7071 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F01076D: cmp byte ptr [edx + 0x20], bl */ 7072 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7073 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7074 _flag_k = FK_NARROW(FK_CMP, 24); 7075 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0107BB; /* 0x2F010770: jne 0x2f0107bb */ 7076 L_2F010772: 7077 edx = MEM32(ecx); /* 0x2F010772: mov edx, dword ptr [ecx] */ 7078 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010774: mov byte ptr [edx + 0x20], bl */ 7079 edx = MEM32(ecx); /* 0x2F010777: mov edx, dword ptr [ecx] */ 7080 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010779: mov byte ptr [ecx + 0x20], 0 */ 7081 esi = MEM32(edx + 0x8); /* 0x2F01077D: mov esi, dword ptr [edx + 8] */ 7082 MEM32(ecx) = esi; /* 0x2F010780: mov dword ptr [ecx], esi */ 7083 esi = MEM32(edx + 0x8); /* 0x2F010782: mov esi, dword ptr [edx + 8] */ 7084 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010785: cmp esi, dword ptr [edi + 8] */ 7085 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7086 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7087 _flag_k = FK_CMP; 7088 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01078D; /* 0x2F010788: je 0x2f01078d */ 7089 L_2F01078A: 7090 MEM32(esi + 0x4) = ecx; /* 0x2F01078A: mov dword ptr [esi + 4], ecx */ 7091 L_2F01078D: 7092 esi = MEM32(ecx + 0x4); /* 0x2F01078D: mov esi, dword ptr [ecx + 4] */ 7093 MEM32(edx + 0x4) = esi; /* 0x2F010790: mov dword ptr [edx + 4], esi */ 7094 esi = MEM32(edi + 0x4); /* 0x2F010793: mov esi, dword ptr [edi + 4] */ 7095 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010796: cmp ecx, dword ptr [esi + 4] */ 7096 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7097 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7098 _flag_k = FK_CMP; 7099 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0107A0; /* 0x2F010799: jne 0x2f0107a0 */ 7100 L_2F01079B: 7101 MEM32(esi + 0x4) = edx; /* 0x2F01079B: mov dword ptr [esi + 4], edx */ 7102 goto L_2F0107AF; /* 0x2F01079E: jmp 0x2f0107af */ 7103 L_2F0107A0: 7104 esi = MEM32(ecx + 0x4); /* 0x2F0107A0: mov esi, dword ptr [ecx + 4] */ 7105 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F0107A3: cmp ecx, dword ptr [esi + 8] */ 7106 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7107 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7108 _flag_k = FK_CMP; 7109 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0107AD; /* 0x2F0107A6: jne 0x2f0107ad */ 7110 L_2F0107A8: 7111 MEM32(esi + 0x8) = edx; /* 0x2F0107A8: mov dword ptr [esi + 8], edx */ 7112 goto L_2F0107AF; /* 0x2F0107AB: jmp 0x2f0107af */ 7113 L_2F0107AD: 7114 MEM32(esi) = edx; /* 0x2F0107AD: mov dword ptr [esi], edx */ 7115 L_2F0107AF: 7116 MEM32(edx + 0x8) = ecx; /* 0x2F0107AF: mov dword ptr [edx + 8], ecx */ 7117 MEM32(ecx + 0x4) = edx; /* 0x2F0107B2: mov dword ptr [ecx + 4], edx */ 7118 ecx = MEM32(eax + 0x4); /* 0x2F0107B5: mov ecx, dword ptr [eax + 4] */ 7119 ecx = MEM32(ecx + 0x8); /* 0x2F0107B8: mov ecx, dword ptr [ecx + 8] */ 7120 L_2F0107BB: 7121 edx = MEM32(eax + 0x4); /* 0x2F0107BB: mov edx, dword ptr [eax + 4] */ 7122 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x2F0107BE: mov dl, byte ptr [edx + 0x20] */ 7123 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x2F0107C1: mov byte ptr [ecx + 0x20], dl */ 7124 edx = MEM32(eax + 0x4); /* 0x2F0107C4: mov edx, dword ptr [eax + 4] */ 7125 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0107C7: mov byte ptr [edx + 0x20], bl */ 7126 ecx = MEM32(ecx + 0x8); /* 0x2F0107CA: mov ecx, dword ptr [ecx + 8] */ 7127 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0107CD: mov byte ptr [ecx + 0x20], bl */ 7128 ecx = MEM32(eax + 0x4); /* 0x2F0107D0: mov ecx, dword ptr [eax + 4] */ 7129 edx = MEM32(ecx + 0x8); /* 0x2F0107D3: mov edx, dword ptr [ecx + 8] */ 7130 esi = MEM32(edx); /* 0x2F0107D6: mov esi, dword ptr [edx] */ 7131 MEM32(ecx + 0x8) = esi; /* 0x2F0107D8: mov dword ptr [ecx + 8], esi */ 7132 esi = MEM32(edx); /* 0x2F0107DB: mov esi, dword ptr [edx] */ 7133 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F0107DD: cmp esi, dword ptr [edi + 8] */ 7134 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7135 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7136 _flag_k = FK_CMP; 7137 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0107E5; /* 0x2F0107E0: je 0x2f0107e5 */ 7138 L_2F0107E2: 7139 MEM32(esi + 0x4) = ecx; /* 0x2F0107E2: mov dword ptr [esi + 4], ecx */ 7140 L_2F0107E5: 7141 esi = MEM32(ecx + 0x4); /* 0x2F0107E5: mov esi, dword ptr [ecx + 4] */ 7142 MEM32(edx + 0x4) = esi; /* 0x2F0107E8: mov dword ptr [edx + 4], esi */ 7143 esi = MEM32(edi + 0x4); /* 0x2F0107EB: mov esi, dword ptr [edi + 4] */ 7144 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F0107EE: cmp ecx, dword ptr [esi + 4] */ 7145 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7146 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7147 _flag_k = FK_CMP; 7148 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0107FD; /* 0x2F0107F1: jne 0x2f0107fd */ 7149 L_2F0107F3: 7150 MEM32(esi + 0x4) = edx; /* 0x2F0107F3: mov dword ptr [esi + 4], edx */ 7151 MEM32(edx) = ecx; /* 0x2F0107F6: mov dword ptr [edx], ecx */ 7152 goto L_2F0108B3; /* 0x2F0107F8: jmp 0x2f0108b3 */ 7153 L_2F0107FD: 7154 esi = MEM32(ecx + 0x4); /* 0x2F0107FD: mov esi, dword ptr [ecx + 4] */ 7155 /* cmp ecx, MEM32(esi) */ /* 0x2F010800: cmp ecx, dword ptr [esi] */ 7156 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 7157 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7158 _flag_k = FK_CMP; 7159 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01080D; /* 0x2F010802: jne 0x2f01080d */ 7160 L_2F010804: 7161 MEM32(esi) = edx; /* 0x2F010804: mov dword ptr [esi], edx */ 7162 MEM32(edx) = ecx; /* 0x2F010806: mov dword ptr [edx], ecx */ 7163 goto L_2F0108B3; /* 0x2F010808: jmp 0x2f0108b3 */ 7164 L_2F01080D: 7165 MEM32(esi + 0x8) = edx; /* 0x2F01080D: mov dword ptr [esi + 8], edx */ 7166 MEM32(edx) = ecx; /* 0x2F010810: mov dword ptr [edx], ecx */ 7167 goto L_2F0108B3; /* 0x2F010812: jmp 0x2f0108b3 */ 7168 L_2F010817: 7169 edx = MEM32(ecx); /* 0x2F010817: mov edx, dword ptr [ecx] */ 7170 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F010819: cmp byte ptr [edx + 0x20], bl */ 7171 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7172 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7173 _flag_k = FK_NARROW(FK_CMP, 24); 7174 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010865; /* 0x2F01081C: jne 0x2f010865 */ 7175 L_2F01081E: 7176 edx = MEM32(ecx + 0x8); /* 0x2F01081E: mov edx, dword ptr [ecx + 8] */ 7177 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010821: mov byte ptr [edx + 0x20], bl */ 7178 edx = MEM32(ecx + 0x8); /* 0x2F010824: mov edx, dword ptr [ecx + 8] */ 7179 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010827: mov byte ptr [ecx + 0x20], 0 */ 7180 esi = MEM32(edx); /* 0x2F01082B: mov esi, dword ptr [edx] */ 7181 MEM32(ecx + 0x8) = esi; /* 0x2F01082D: mov dword ptr [ecx + 8], esi */ 7182 esi = MEM32(edx); /* 0x2F010830: mov esi, dword ptr [edx] */ 7183 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010832: cmp esi, dword ptr [edi + 8] */ 7184 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7185 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7186 _flag_k = FK_CMP; 7187 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01083A; /* 0x2F010835: je 0x2f01083a */ 7188 L_2F010837: 7189 MEM32(esi + 0x4) = ecx; /* 0x2F010837: mov dword ptr [esi + 4], ecx */ 7190 L_2F01083A: 7191 esi = MEM32(ecx + 0x4); /* 0x2F01083A: mov esi, dword ptr [ecx + 4] */ 7192 MEM32(edx + 0x4) = esi; /* 0x2F01083D: mov dword ptr [edx + 4], esi */ 7193 esi = MEM32(edi + 0x4); /* 0x2F010840: mov esi, dword ptr [edi + 4] */ 7194 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010843: cmp ecx, dword ptr [esi + 4] */ 7195 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7196 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7197 _flag_k = FK_CMP; 7198 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01084D; /* 0x2F010846: jne 0x2f01084d */ 7199 L_2F010848: 7200 MEM32(esi + 0x4) = edx; /* 0x2F010848: mov dword ptr [esi + 4], edx */ 7201 goto L_2F01085B; /* 0x2F01084B: jmp 0x2f01085b */ 7202 L_2F01084D: 7203 esi = MEM32(ecx + 0x4); /* 0x2F01084D: mov esi, dword ptr [ecx + 4] */ 7204 /* cmp ecx, MEM32(esi) */ /* 0x2F010850: cmp ecx, dword ptr [esi] */ 7205 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 7206 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7207 _flag_k = FK_CMP; 7208 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010858; /* 0x2F010852: jne 0x2f010858 */ 7209 L_2F010854: 7210 MEM32(esi) = edx; /* 0x2F010854: mov dword ptr [esi], edx */ 7211 goto L_2F01085B; /* 0x2F010856: jmp 0x2f01085b */ 7212 L_2F010858: 7213 MEM32(esi + 0x8) = edx; /* 0x2F010858: mov dword ptr [esi + 8], edx */ 7214 L_2F01085B: 7215 MEM32(edx) = ecx; /* 0x2F01085B: mov dword ptr [edx], ecx */ 7216 MEM32(ecx + 0x4) = edx; /* 0x2F01085D: mov dword ptr [ecx + 4], edx */ 7217 ecx = MEM32(eax + 0x4); /* 0x2F010860: mov ecx, dword ptr [eax + 4] */ 7218 ecx = MEM32(ecx); /* 0x2F010863: mov ecx, dword ptr [ecx] */ 7219 L_2F010865: 7220 edx = MEM32(eax + 0x4); /* 0x2F010865: mov edx, dword ptr [eax + 4] */ 7221 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x2F010868: mov dl, byte ptr [edx + 0x20] */ 7222 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x2F01086B: mov byte ptr [ecx + 0x20], dl */ 7223 edx = MEM32(eax + 0x4); /* 0x2F01086E: mov edx, dword ptr [eax + 4] */ 7224 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010871: mov byte ptr [edx + 0x20], bl */ 7225 ecx = MEM32(ecx); /* 0x2F010874: mov ecx, dword ptr [ecx] */ 7226 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010876: mov byte ptr [ecx + 0x20], bl */ 7227 ecx = MEM32(eax + 0x4); /* 0x2F010879: mov ecx, dword ptr [eax + 4] */ 7228 edx = MEM32(ecx); /* 0x2F01087C: mov edx, dword ptr [ecx] */ 7229 esi = MEM32(edx + 0x8); /* 0x2F01087E: mov esi, dword ptr [edx + 8] */ 7230 MEM32(ecx) = esi; /* 0x2F010881: mov dword ptr [ecx], esi */ 7231 esi = MEM32(edx + 0x8); /* 0x2F010883: mov esi, dword ptr [edx + 8] */ 7232 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010886: cmp esi, dword ptr [edi + 8] */ 7233 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7234 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7235 _flag_k = FK_CMP; 7236 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01088E; /* 0x2F010889: je 0x2f01088e */ 7237 L_2F01088B: 7238 MEM32(esi + 0x4) = ecx; /* 0x2F01088B: mov dword ptr [esi + 4], ecx */ 7239 L_2F01088E: 7240 esi = MEM32(ecx + 0x4); /* 0x2F01088E: mov esi, dword ptr [ecx + 4] */ 7241 MEM32(edx + 0x4) = esi; /* 0x2F010891: mov dword ptr [edx + 4], esi */ 7242 esi = MEM32(edi + 0x4); /* 0x2F010894: mov esi, dword ptr [edi + 4] */ 7243 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010897: cmp ecx, dword ptr [esi + 4] */ 7244 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7245 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7246 _flag_k = FK_CMP; 7247 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0108A1; /* 0x2F01089A: jne 0x2f0108a1 */ 7248 L_2F01089C: 7249 MEM32(esi + 0x4) = edx; /* 0x2F01089C: mov dword ptr [esi + 4], edx */ 7250 goto L_2F0108B0; /* 0x2F01089F: jmp 0x2f0108b0 */ 7251 L_2F0108A1: 7252 esi = MEM32(ecx + 0x4); /* 0x2F0108A1: mov esi, dword ptr [ecx + 4] */ 7253 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F0108A4: cmp ecx, dword ptr [esi + 8] */ 7254 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7255 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7256 _flag_k = FK_CMP; 7257 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0108AE; /* 0x2F0108A7: jne 0x2f0108ae */ 7258 L_2F0108A9: 7259 MEM32(esi + 0x8) = edx; /* 0x2F0108A9: mov dword ptr [esi + 8], edx */ 7260 goto L_2F0108B0; /* 0x2F0108AC: jmp 0x2f0108b0 */ 7261 L_2F0108AE: 7262 MEM32(esi) = edx; /* 0x2F0108AE: mov dword ptr [esi], edx */ 7263 L_2F0108B0: 7264 MEM32(edx + 0x8) = ecx; /* 0x2F0108B0: mov dword ptr [edx + 8], ecx */ 7265 L_2F0108B3: 7266 MEM32(ecx + 0x4) = edx; /* 0x2F0108B3: mov dword ptr [ecx + 4], edx */ 7267 L_2F0108B6: 7268 esi = MEM32(ebp + (-0x4)); /* 0x2F0108B6: mov esi, dword ptr [ebp - 4] */ 7269 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0108B9: mov byte ptr [eax + 0x20], bl */ 7270 ecx = esi + 0xC; /* 0x2F0108BC: lea ecx, [esi + 0xc] */ 7271 RECOMP_ICALL(0x2F00F8E0u); /* 0x2F0108BF: call 0x2f00f8e0 */ /* not lifted */ 7272 RECOMP_FLAGS_IN(); 7273 PUSH32(esp, esi); /* 0x2F0108C4: push esi */ 7274 RECOMP_ICALL(0x2F0116B4u); /* 0x2F0108C5: call 0x2f0116b4 */ /* not lifted */ 7275 RECOMP_FLAGS_IN(); 7276 eax = MEM32(edi + 0x10); /* 0x2F0108CA: mov eax, dword ptr [edi + 0x10] */ 7277 edx = MEM32(ebp + 0xC); /* 0x2F0108CD: mov edx, dword ptr [ebp + 0xc] */ 7278 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7279 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7280 esp = esp + 4; /* 0x2F0108D0: add esp, 4 */ 7281 _flag_k = FK_ADD; 7282 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7283 eax = eax - 1; /* 0x2F0108D3: dec eax */ 7284 _flag_k = FK_DEC; 7285 MEM32(edi + 0x10) = eax; /* 0x2F0108D4: mov dword ptr [edi + 0x10], eax */ 7286 eax = MEM32(ebp + 0x8); /* 0x2F0108D7: mov eax, dword ptr [ebp + 8] */ 7287 edi = POP32_VAL(esp); /* 0x2F0108DA: pop edi */ 7288 esi = POP32_VAL(esp); /* 0x2F0108DB: pop esi */ 7289 MEM32(eax) = edx; /* 0x2F0108DC: mov dword ptr [eax], edx */ 7290 ebx = POP32_VAL(esp); /* 0x2F0108DE: pop ebx */ 7291 esp = ebp; /* 0x2F0108DF: mov esp, ebp */ 7292 ebp = POP32_VAL(esp); /* 0x2F0108E1: pop ebp */ 7293 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2F0108E2: ret 8 */ 7294 RECOMP_REGS_OUT(); 7295 } 7296 7297 void sub_2F010752(void) { 7298 int _fpu_cmp = 0; 7299 uint32_t _cf = 0; 7300 int _df = 1; 7301 uint32_t _flag_k = FK_NONE; 7302 uint32_t _flag_a = 0, _flag_b = 0; 7303 uint32_t _itail_tgt = 0; 7304 RECOMP_REGS_LOCALS 7305 RECOMP_ENTER(0x2F010752u); 7306 7307 goto L_2F010752; 7308 L_2F010668: 7309 /* cmp MEM8(eax + 0x20), LO8(ebx) */ /* 0x2F010668: cmp byte ptr [eax + 0x20], bl */ 7310 _flag_a = (uint32_t)(MEM8(eax + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7311 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7312 _flag_k = FK_NARROW(FK_CMP, 24); 7313 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0108B6; /* 0x2F01066B: jne 0x2f0108b6 */ 7314 L_2F010671: 7315 edx = MEM32(eax + 0x4); /* 0x2F010671: mov edx, dword ptr [eax + 4] */ 7316 ecx = MEM32(edx); /* 0x2F010674: mov ecx, dword ptr [edx] */ 7317 /* cmp eax, ecx */ /* 0x2F010676: cmp eax, ecx */ 7318 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 7319 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7320 _flag_k = FK_CMP; 7321 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0106E8; /* 0x2F010678: jne 0x2f0106e8 */ 7322 L_2F01067A: 7323 ecx = MEM32(edx + 0x8); /* 0x2F01067A: mov ecx, dword ptr [edx + 8] */ 7324 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x2F01067D: mov dl, byte ptr [ecx + 0x20] */ 7325 /* test LO8(edx), LO8(edx) */ /* 0x2F010680: test dl, dl */ 7326 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 7327 _cf = 0; 7328 _flag_k = FK_NARROW(FK_TEST, 24); 7329 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F0106CF; /* 0x2F010682: jne 0x2f0106cf */ 7330 L_2F010684: 7331 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010684: mov byte ptr [ecx + 0x20], bl */ 7332 edx = MEM32(eax + 0x4); /* 0x2F010687: mov edx, dword ptr [eax + 4] */ 7333 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x2F01068A: mov byte ptr [edx + 0x20], 0 */ 7334 ecx = MEM32(eax + 0x4); /* 0x2F01068E: mov ecx, dword ptr [eax + 4] */ 7335 edx = MEM32(ecx + 0x8); /* 0x2F010691: mov edx, dword ptr [ecx + 8] */ 7336 esi = MEM32(edx); /* 0x2F010694: mov esi, dword ptr [edx] */ 7337 MEM32(ecx + 0x8) = esi; /* 0x2F010696: mov dword ptr [ecx + 8], esi */ 7338 esi = MEM32(edx); /* 0x2F010699: mov esi, dword ptr [edx] */ 7339 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F01069B: cmp esi, dword ptr [edi + 8] */ 7340 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7341 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7342 _flag_k = FK_CMP; 7343 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0106A3; /* 0x2F01069E: je 0x2f0106a3 */ 7344 L_2F0106A0: 7345 MEM32(esi + 0x4) = ecx; /* 0x2F0106A0: mov dword ptr [esi + 4], ecx */ 7346 L_2F0106A3: 7347 esi = MEM32(ecx + 0x4); /* 0x2F0106A3: mov esi, dword ptr [ecx + 4] */ 7348 MEM32(edx + 0x4) = esi; /* 0x2F0106A6: mov dword ptr [edx + 4], esi */ 7349 esi = MEM32(edi + 0x4); /* 0x2F0106A9: mov esi, dword ptr [edi + 4] */ 7350 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F0106AC: cmp ecx, dword ptr [esi + 4] */ 7351 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7352 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7353 _flag_k = FK_CMP; 7354 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0106B6; /* 0x2F0106AF: jne 0x2f0106b6 */ 7355 L_2F0106B1: 7356 MEM32(esi + 0x4) = edx; /* 0x2F0106B1: mov dword ptr [esi + 4], edx */ 7357 goto L_2F0106C4; /* 0x2F0106B4: jmp 0x2f0106c4 */ 7358 L_2F0106B6: 7359 esi = MEM32(ecx + 0x4); /* 0x2F0106B6: mov esi, dword ptr [ecx + 4] */ 7360 /* cmp ecx, MEM32(esi) */ /* 0x2F0106B9: cmp ecx, dword ptr [esi] */ 7361 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 7362 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7363 _flag_k = FK_CMP; 7364 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0106C1; /* 0x2F0106BB: jne 0x2f0106c1 */ 7365 L_2F0106BD: 7366 MEM32(esi) = edx; /* 0x2F0106BD: mov dword ptr [esi], edx */ 7367 goto L_2F0106C4; /* 0x2F0106BF: jmp 0x2f0106c4 */ 7368 L_2F0106C1: 7369 MEM32(esi + 0x8) = edx; /* 0x2F0106C1: mov dword ptr [esi + 8], edx */ 7370 L_2F0106C4: 7371 MEM32(edx) = ecx; /* 0x2F0106C4: mov dword ptr [edx], ecx */ 7372 MEM32(ecx + 0x4) = edx; /* 0x2F0106C6: mov dword ptr [ecx + 4], edx */ 7373 ecx = MEM32(eax + 0x4); /* 0x2F0106C9: mov ecx, dword ptr [eax + 4] */ 7374 ecx = MEM32(ecx + 0x8); /* 0x2F0106CC: mov ecx, dword ptr [ecx + 8] */ 7375 L_2F0106CF: 7376 edx = MEM32(ecx); /* 0x2F0106CF: mov edx, dword ptr [ecx] */ 7377 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F0106D1: cmp byte ptr [edx + 0x20], bl */ 7378 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7379 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7380 _flag_k = FK_NARROW(FK_CMP, 24); 7381 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01076A; /* 0x2F0106D4: jne 0x2f01076a */ 7382 L_2F0106DA: 7383 edx = MEM32(ecx + 0x8); /* 0x2F0106DA: mov edx, dword ptr [ecx + 8] */ 7384 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F0106DD: cmp byte ptr [edx + 0x20], bl */ 7385 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7386 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7387 _flag_k = FK_NARROW(FK_CMP, 24); 7388 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01076A; /* 0x2F0106E0: jne 0x2f01076a */ 7389 L_2F0106E6: 7390 goto L_2F010752; /* 0x2F0106E6: jmp 0x2f010752 */ 7391 L_2F0106E8: 7392 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x2F0106E8: mov dl, byte ptr [ecx + 0x20] */ 7393 /* test LO8(edx), LO8(edx) */ /* 0x2F0106EB: test dl, dl */ 7394 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 7395 _cf = 0; 7396 _flag_k = FK_NARROW(FK_TEST, 24); 7397 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F01073B; /* 0x2F0106ED: jne 0x2f01073b */ 7398 L_2F0106EF: 7399 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0106EF: mov byte ptr [ecx + 0x20], bl */ 7400 ecx = MEM32(eax + 0x4); /* 0x2F0106F2: mov ecx, dword ptr [eax + 4] */ 7401 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F0106F5: mov byte ptr [ecx + 0x20], 0 */ 7402 ecx = MEM32(eax + 0x4); /* 0x2F0106F9: mov ecx, dword ptr [eax + 4] */ 7403 edx = MEM32(ecx); /* 0x2F0106FC: mov edx, dword ptr [ecx] */ 7404 esi = MEM32(edx + 0x8); /* 0x2F0106FE: mov esi, dword ptr [edx + 8] */ 7405 MEM32(ecx) = esi; /* 0x2F010701: mov dword ptr [ecx], esi */ 7406 esi = MEM32(edx + 0x8); /* 0x2F010703: mov esi, dword ptr [edx + 8] */ 7407 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010706: cmp esi, dword ptr [edi + 8] */ 7408 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7409 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7410 _flag_k = FK_CMP; 7411 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01070E; /* 0x2F010709: je 0x2f01070e */ 7412 L_2F01070B: 7413 MEM32(esi + 0x4) = ecx; /* 0x2F01070B: mov dword ptr [esi + 4], ecx */ 7414 L_2F01070E: 7415 esi = MEM32(ecx + 0x4); /* 0x2F01070E: mov esi, dword ptr [ecx + 4] */ 7416 MEM32(edx + 0x4) = esi; /* 0x2F010711: mov dword ptr [edx + 4], esi */ 7417 esi = MEM32(edi + 0x4); /* 0x2F010714: mov esi, dword ptr [edi + 4] */ 7418 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010717: cmp ecx, dword ptr [esi + 4] */ 7419 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7420 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7421 _flag_k = FK_CMP; 7422 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010721; /* 0x2F01071A: jne 0x2f010721 */ 7423 L_2F01071C: 7424 MEM32(esi + 0x4) = edx; /* 0x2F01071C: mov dword ptr [esi + 4], edx */ 7425 goto L_2F010730; /* 0x2F01071F: jmp 0x2f010730 */ 7426 L_2F010721: 7427 esi = MEM32(ecx + 0x4); /* 0x2F010721: mov esi, dword ptr [ecx + 4] */ 7428 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F010724: cmp ecx, dword ptr [esi + 8] */ 7429 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7430 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7431 _flag_k = FK_CMP; 7432 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01072E; /* 0x2F010727: jne 0x2f01072e */ 7433 L_2F010729: 7434 MEM32(esi + 0x8) = edx; /* 0x2F010729: mov dword ptr [esi + 8], edx */ 7435 goto L_2F010730; /* 0x2F01072C: jmp 0x2f010730 */ 7436 L_2F01072E: 7437 MEM32(esi) = edx; /* 0x2F01072E: mov dword ptr [esi], edx */ 7438 L_2F010730: 7439 MEM32(edx + 0x8) = ecx; /* 0x2F010730: mov dword ptr [edx + 8], ecx */ 7440 MEM32(ecx + 0x4) = edx; /* 0x2F010733: mov dword ptr [ecx + 4], edx */ 7441 edx = MEM32(eax + 0x4); /* 0x2F010736: mov edx, dword ptr [eax + 4] */ 7442 ecx = MEM32(edx); /* 0x2F010739: mov ecx, dword ptr [edx] */ 7443 L_2F01073B: 7444 edx = MEM32(ecx + 0x8); /* 0x2F01073B: mov edx, dword ptr [ecx + 8] */ 7445 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F01073E: cmp byte ptr [edx + 0x20], bl */ 7446 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7447 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7448 _flag_k = FK_NARROW(FK_CMP, 24); 7449 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010817; /* 0x2F010741: jne 0x2f010817 */ 7450 L_2F010747: 7451 edx = MEM32(ecx); /* 0x2F010747: mov edx, dword ptr [ecx] */ 7452 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F010749: cmp byte ptr [edx + 0x20], bl */ 7453 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7454 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7455 _flag_k = FK_NARROW(FK_CMP, 24); 7456 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010817; /* 0x2F01074C: jne 0x2f010817 */ 7457 L_2F010752: 7458 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010752: mov byte ptr [ecx + 0x20], 0 */ 7459 ecx = MEM32(edi + 0x4); /* 0x2F010756: mov ecx, dword ptr [edi + 4] */ 7460 eax = MEM32(eax + 0x4); /* 0x2F010759: mov eax, dword ptr [eax + 4] */ 7461 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F01075C: cmp eax, dword ptr [ecx + 4] */ 7462 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 7463 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7464 _flag_k = FK_CMP; 7465 RECOMP_BACKEDGE(); 7466 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010668; /* 0x2F01075F: jne 0x2f010668 */ 7467 L_2F010765: 7468 goto L_2F0108B6; /* 0x2F010765: jmp 0x2f0108b6 */ 7469 L_2F01076A: 7470 edx = MEM32(ecx + 0x8); /* 0x2F01076A: mov edx, dword ptr [ecx + 8] */ 7471 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F01076D: cmp byte ptr [edx + 0x20], bl */ 7472 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7473 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7474 _flag_k = FK_NARROW(FK_CMP, 24); 7475 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0107BB; /* 0x2F010770: jne 0x2f0107bb */ 7476 L_2F010772: 7477 edx = MEM32(ecx); /* 0x2F010772: mov edx, dword ptr [ecx] */ 7478 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010774: mov byte ptr [edx + 0x20], bl */ 7479 edx = MEM32(ecx); /* 0x2F010777: mov edx, dword ptr [ecx] */ 7480 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010779: mov byte ptr [ecx + 0x20], 0 */ 7481 esi = MEM32(edx + 0x8); /* 0x2F01077D: mov esi, dword ptr [edx + 8] */ 7482 MEM32(ecx) = esi; /* 0x2F010780: mov dword ptr [ecx], esi */ 7483 esi = MEM32(edx + 0x8); /* 0x2F010782: mov esi, dword ptr [edx + 8] */ 7484 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010785: cmp esi, dword ptr [edi + 8] */ 7485 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7486 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7487 _flag_k = FK_CMP; 7488 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01078D; /* 0x2F010788: je 0x2f01078d */ 7489 L_2F01078A: 7490 MEM32(esi + 0x4) = ecx; /* 0x2F01078A: mov dword ptr [esi + 4], ecx */ 7491 L_2F01078D: 7492 esi = MEM32(ecx + 0x4); /* 0x2F01078D: mov esi, dword ptr [ecx + 4] */ 7493 MEM32(edx + 0x4) = esi; /* 0x2F010790: mov dword ptr [edx + 4], esi */ 7494 esi = MEM32(edi + 0x4); /* 0x2F010793: mov esi, dword ptr [edi + 4] */ 7495 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010796: cmp ecx, dword ptr [esi + 4] */ 7496 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7497 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7498 _flag_k = FK_CMP; 7499 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0107A0; /* 0x2F010799: jne 0x2f0107a0 */ 7500 L_2F01079B: 7501 MEM32(esi + 0x4) = edx; /* 0x2F01079B: mov dword ptr [esi + 4], edx */ 7502 goto L_2F0107AF; /* 0x2F01079E: jmp 0x2f0107af */ 7503 L_2F0107A0: 7504 esi = MEM32(ecx + 0x4); /* 0x2F0107A0: mov esi, dword ptr [ecx + 4] */ 7505 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F0107A3: cmp ecx, dword ptr [esi + 8] */ 7506 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7507 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7508 _flag_k = FK_CMP; 7509 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0107AD; /* 0x2F0107A6: jne 0x2f0107ad */ 7510 L_2F0107A8: 7511 MEM32(esi + 0x8) = edx; /* 0x2F0107A8: mov dword ptr [esi + 8], edx */ 7512 goto L_2F0107AF; /* 0x2F0107AB: jmp 0x2f0107af */ 7513 L_2F0107AD: 7514 MEM32(esi) = edx; /* 0x2F0107AD: mov dword ptr [esi], edx */ 7515 L_2F0107AF: 7516 MEM32(edx + 0x8) = ecx; /* 0x2F0107AF: mov dword ptr [edx + 8], ecx */ 7517 MEM32(ecx + 0x4) = edx; /* 0x2F0107B2: mov dword ptr [ecx + 4], edx */ 7518 ecx = MEM32(eax + 0x4); /* 0x2F0107B5: mov ecx, dword ptr [eax + 4] */ 7519 ecx = MEM32(ecx + 0x8); /* 0x2F0107B8: mov ecx, dword ptr [ecx + 8] */ 7520 L_2F0107BB: 7521 edx = MEM32(eax + 0x4); /* 0x2F0107BB: mov edx, dword ptr [eax + 4] */ 7522 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x2F0107BE: mov dl, byte ptr [edx + 0x20] */ 7523 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x2F0107C1: mov byte ptr [ecx + 0x20], dl */ 7524 edx = MEM32(eax + 0x4); /* 0x2F0107C4: mov edx, dword ptr [eax + 4] */ 7525 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0107C7: mov byte ptr [edx + 0x20], bl */ 7526 ecx = MEM32(ecx + 0x8); /* 0x2F0107CA: mov ecx, dword ptr [ecx + 8] */ 7527 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0107CD: mov byte ptr [ecx + 0x20], bl */ 7528 ecx = MEM32(eax + 0x4); /* 0x2F0107D0: mov ecx, dword ptr [eax + 4] */ 7529 edx = MEM32(ecx + 0x8); /* 0x2F0107D3: mov edx, dword ptr [ecx + 8] */ 7530 esi = MEM32(edx); /* 0x2F0107D6: mov esi, dword ptr [edx] */ 7531 MEM32(ecx + 0x8) = esi; /* 0x2F0107D8: mov dword ptr [ecx + 8], esi */ 7532 esi = MEM32(edx); /* 0x2F0107DB: mov esi, dword ptr [edx] */ 7533 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F0107DD: cmp esi, dword ptr [edi + 8] */ 7534 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7535 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7536 _flag_k = FK_CMP; 7537 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0107E5; /* 0x2F0107E0: je 0x2f0107e5 */ 7538 L_2F0107E2: 7539 MEM32(esi + 0x4) = ecx; /* 0x2F0107E2: mov dword ptr [esi + 4], ecx */ 7540 L_2F0107E5: 7541 esi = MEM32(ecx + 0x4); /* 0x2F0107E5: mov esi, dword ptr [ecx + 4] */ 7542 MEM32(edx + 0x4) = esi; /* 0x2F0107E8: mov dword ptr [edx + 4], esi */ 7543 esi = MEM32(edi + 0x4); /* 0x2F0107EB: mov esi, dword ptr [edi + 4] */ 7544 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F0107EE: cmp ecx, dword ptr [esi + 4] */ 7545 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7546 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7547 _flag_k = FK_CMP; 7548 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0107FD; /* 0x2F0107F1: jne 0x2f0107fd */ 7549 L_2F0107F3: 7550 MEM32(esi + 0x4) = edx; /* 0x2F0107F3: mov dword ptr [esi + 4], edx */ 7551 MEM32(edx) = ecx; /* 0x2F0107F6: mov dword ptr [edx], ecx */ 7552 goto L_2F0108B3; /* 0x2F0107F8: jmp 0x2f0108b3 */ 7553 L_2F0107FD: 7554 esi = MEM32(ecx + 0x4); /* 0x2F0107FD: mov esi, dword ptr [ecx + 4] */ 7555 /* cmp ecx, MEM32(esi) */ /* 0x2F010800: cmp ecx, dword ptr [esi] */ 7556 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 7557 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7558 _flag_k = FK_CMP; 7559 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01080D; /* 0x2F010802: jne 0x2f01080d */ 7560 L_2F010804: 7561 MEM32(esi) = edx; /* 0x2F010804: mov dword ptr [esi], edx */ 7562 MEM32(edx) = ecx; /* 0x2F010806: mov dword ptr [edx], ecx */ 7563 goto L_2F0108B3; /* 0x2F010808: jmp 0x2f0108b3 */ 7564 L_2F01080D: 7565 MEM32(esi + 0x8) = edx; /* 0x2F01080D: mov dword ptr [esi + 8], edx */ 7566 MEM32(edx) = ecx; /* 0x2F010810: mov dword ptr [edx], ecx */ 7567 goto L_2F0108B3; /* 0x2F010812: jmp 0x2f0108b3 */ 7568 L_2F010817: 7569 edx = MEM32(ecx); /* 0x2F010817: mov edx, dword ptr [ecx] */ 7570 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F010819: cmp byte ptr [edx + 0x20], bl */ 7571 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7572 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7573 _flag_k = FK_NARROW(FK_CMP, 24); 7574 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010865; /* 0x2F01081C: jne 0x2f010865 */ 7575 L_2F01081E: 7576 edx = MEM32(ecx + 0x8); /* 0x2F01081E: mov edx, dword ptr [ecx + 8] */ 7577 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010821: mov byte ptr [edx + 0x20], bl */ 7578 edx = MEM32(ecx + 0x8); /* 0x2F010824: mov edx, dword ptr [ecx + 8] */ 7579 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010827: mov byte ptr [ecx + 0x20], 0 */ 7580 esi = MEM32(edx); /* 0x2F01082B: mov esi, dword ptr [edx] */ 7581 MEM32(ecx + 0x8) = esi; /* 0x2F01082D: mov dword ptr [ecx + 8], esi */ 7582 esi = MEM32(edx); /* 0x2F010830: mov esi, dword ptr [edx] */ 7583 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010832: cmp esi, dword ptr [edi + 8] */ 7584 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7585 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7586 _flag_k = FK_CMP; 7587 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01083A; /* 0x2F010835: je 0x2f01083a */ 7588 L_2F010837: 7589 MEM32(esi + 0x4) = ecx; /* 0x2F010837: mov dword ptr [esi + 4], ecx */ 7590 L_2F01083A: 7591 esi = MEM32(ecx + 0x4); /* 0x2F01083A: mov esi, dword ptr [ecx + 4] */ 7592 MEM32(edx + 0x4) = esi; /* 0x2F01083D: mov dword ptr [edx + 4], esi */ 7593 esi = MEM32(edi + 0x4); /* 0x2F010840: mov esi, dword ptr [edi + 4] */ 7594 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010843: cmp ecx, dword ptr [esi + 4] */ 7595 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7596 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7597 _flag_k = FK_CMP; 7598 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01084D; /* 0x2F010846: jne 0x2f01084d */ 7599 L_2F010848: 7600 MEM32(esi + 0x4) = edx; /* 0x2F010848: mov dword ptr [esi + 4], edx */ 7601 goto L_2F01085B; /* 0x2F01084B: jmp 0x2f01085b */ 7602 L_2F01084D: 7603 esi = MEM32(ecx + 0x4); /* 0x2F01084D: mov esi, dword ptr [ecx + 4] */ 7604 /* cmp ecx, MEM32(esi) */ /* 0x2F010850: cmp ecx, dword ptr [esi] */ 7605 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 7606 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7607 _flag_k = FK_CMP; 7608 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010858; /* 0x2F010852: jne 0x2f010858 */ 7609 L_2F010854: 7610 MEM32(esi) = edx; /* 0x2F010854: mov dword ptr [esi], edx */ 7611 goto L_2F01085B; /* 0x2F010856: jmp 0x2f01085b */ 7612 L_2F010858: 7613 MEM32(esi + 0x8) = edx; /* 0x2F010858: mov dword ptr [esi + 8], edx */ 7614 L_2F01085B: 7615 MEM32(edx) = ecx; /* 0x2F01085B: mov dword ptr [edx], ecx */ 7616 MEM32(ecx + 0x4) = edx; /* 0x2F01085D: mov dword ptr [ecx + 4], edx */ 7617 ecx = MEM32(eax + 0x4); /* 0x2F010860: mov ecx, dword ptr [eax + 4] */ 7618 ecx = MEM32(ecx); /* 0x2F010863: mov ecx, dword ptr [ecx] */ 7619 L_2F010865: 7620 edx = MEM32(eax + 0x4); /* 0x2F010865: mov edx, dword ptr [eax + 4] */ 7621 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x2F010868: mov dl, byte ptr [edx + 0x20] */ 7622 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x2F01086B: mov byte ptr [ecx + 0x20], dl */ 7623 edx = MEM32(eax + 0x4); /* 0x2F01086E: mov edx, dword ptr [eax + 4] */ 7624 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010871: mov byte ptr [edx + 0x20], bl */ 7625 ecx = MEM32(ecx); /* 0x2F010874: mov ecx, dword ptr [ecx] */ 7626 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010876: mov byte ptr [ecx + 0x20], bl */ 7627 ecx = MEM32(eax + 0x4); /* 0x2F010879: mov ecx, dword ptr [eax + 4] */ 7628 edx = MEM32(ecx); /* 0x2F01087C: mov edx, dword ptr [ecx] */ 7629 esi = MEM32(edx + 0x8); /* 0x2F01087E: mov esi, dword ptr [edx + 8] */ 7630 MEM32(ecx) = esi; /* 0x2F010881: mov dword ptr [ecx], esi */ 7631 esi = MEM32(edx + 0x8); /* 0x2F010883: mov esi, dword ptr [edx + 8] */ 7632 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010886: cmp esi, dword ptr [edi + 8] */ 7633 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7634 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7635 _flag_k = FK_CMP; 7636 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01088E; /* 0x2F010889: je 0x2f01088e */ 7637 L_2F01088B: 7638 MEM32(esi + 0x4) = ecx; /* 0x2F01088B: mov dword ptr [esi + 4], ecx */ 7639 L_2F01088E: 7640 esi = MEM32(ecx + 0x4); /* 0x2F01088E: mov esi, dword ptr [ecx + 4] */ 7641 MEM32(edx + 0x4) = esi; /* 0x2F010891: mov dword ptr [edx + 4], esi */ 7642 esi = MEM32(edi + 0x4); /* 0x2F010894: mov esi, dword ptr [edi + 4] */ 7643 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010897: cmp ecx, dword ptr [esi + 4] */ 7644 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7645 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7646 _flag_k = FK_CMP; 7647 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0108A1; /* 0x2F01089A: jne 0x2f0108a1 */ 7648 L_2F01089C: 7649 MEM32(esi + 0x4) = edx; /* 0x2F01089C: mov dword ptr [esi + 4], edx */ 7650 goto L_2F0108B0; /* 0x2F01089F: jmp 0x2f0108b0 */ 7651 L_2F0108A1: 7652 esi = MEM32(ecx + 0x4); /* 0x2F0108A1: mov esi, dword ptr [ecx + 4] */ 7653 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F0108A4: cmp ecx, dword ptr [esi + 8] */ 7654 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7655 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7656 _flag_k = FK_CMP; 7657 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0108AE; /* 0x2F0108A7: jne 0x2f0108ae */ 7658 L_2F0108A9: 7659 MEM32(esi + 0x8) = edx; /* 0x2F0108A9: mov dword ptr [esi + 8], edx */ 7660 goto L_2F0108B0; /* 0x2F0108AC: jmp 0x2f0108b0 */ 7661 L_2F0108AE: 7662 MEM32(esi) = edx; /* 0x2F0108AE: mov dword ptr [esi], edx */ 7663 L_2F0108B0: 7664 MEM32(edx + 0x8) = ecx; /* 0x2F0108B0: mov dword ptr [edx + 8], ecx */ 7665 L_2F0108B3: 7666 MEM32(ecx + 0x4) = edx; /* 0x2F0108B3: mov dword ptr [ecx + 4], edx */ 7667 L_2F0108B6: 7668 esi = MEM32(ebp + (-0x4)); /* 0x2F0108B6: mov esi, dword ptr [ebp - 4] */ 7669 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0108B9: mov byte ptr [eax + 0x20], bl */ 7670 ecx = esi + 0xC; /* 0x2F0108BC: lea ecx, [esi + 0xc] */ 7671 RECOMP_ICALL(0x2F00F8E0u); /* 0x2F0108BF: call 0x2f00f8e0 */ /* not lifted */ 7672 RECOMP_FLAGS_IN(); 7673 PUSH32(esp, esi); /* 0x2F0108C4: push esi */ 7674 RECOMP_ICALL(0x2F0116B4u); /* 0x2F0108C5: call 0x2f0116b4 */ /* not lifted */ 7675 RECOMP_FLAGS_IN(); 7676 eax = MEM32(edi + 0x10); /* 0x2F0108CA: mov eax, dword ptr [edi + 0x10] */ 7677 edx = MEM32(ebp + 0xC); /* 0x2F0108CD: mov edx, dword ptr [ebp + 0xc] */ 7678 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7679 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7680 esp = esp + 4; /* 0x2F0108D0: add esp, 4 */ 7681 _flag_k = FK_ADD; 7682 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7683 eax = eax - 1; /* 0x2F0108D3: dec eax */ 7684 _flag_k = FK_DEC; 7685 MEM32(edi + 0x10) = eax; /* 0x2F0108D4: mov dword ptr [edi + 0x10], eax */ 7686 eax = MEM32(ebp + 0x8); /* 0x2F0108D7: mov eax, dword ptr [ebp + 8] */ 7687 edi = POP32_VAL(esp); /* 0x2F0108DA: pop edi */ 7688 esi = POP32_VAL(esp); /* 0x2F0108DB: pop esi */ 7689 MEM32(eax) = edx; /* 0x2F0108DC: mov dword ptr [eax], edx */ 7690 ebx = POP32_VAL(esp); /* 0x2F0108DE: pop ebx */ 7691 esp = ebp; /* 0x2F0108DF: mov esp, ebp */ 7692 ebp = POP32_VAL(esp); /* 0x2F0108E1: pop ebp */ 7693 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2F0108E2: ret 8 */ 7694 RECOMP_REGS_OUT(); 7695 } 7696 7697 void sub_2F01076A(void) { 7698 int _fpu_cmp = 0; 7699 uint32_t _cf = 0; 7700 int _df = 1; 7701 uint32_t _flag_k = FK_NONE; 7702 uint32_t _flag_a = 0, _flag_b = 0; 7703 uint32_t _itail_tgt = 0; 7704 RECOMP_REGS_LOCALS 7705 RECOMP_ENTER(0x2F01076Au); 7706 7707 L_2F01076A: 7708 edx = MEM32(ecx + 0x8); /* 0x2F01076A: mov edx, dword ptr [ecx + 8] */ 7709 /* cmp MEM8(edx + 0x20), LO8(ebx) */ /* 0x2F01076D: cmp byte ptr [edx + 0x20], bl */ 7710 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 7711 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7712 _flag_k = FK_NARROW(FK_CMP, 24); 7713 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0107BB; /* 0x2F010770: jne 0x2f0107bb */ 7714 L_2F010772: 7715 edx = MEM32(ecx); /* 0x2F010772: mov edx, dword ptr [ecx] */ 7716 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010774: mov byte ptr [edx + 0x20], bl */ 7717 edx = MEM32(ecx); /* 0x2F010777: mov edx, dword ptr [ecx] */ 7718 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010779: mov byte ptr [ecx + 0x20], 0 */ 7719 esi = MEM32(edx + 0x8); /* 0x2F01077D: mov esi, dword ptr [edx + 8] */ 7720 MEM32(ecx) = esi; /* 0x2F010780: mov dword ptr [ecx], esi */ 7721 esi = MEM32(edx + 0x8); /* 0x2F010782: mov esi, dword ptr [edx + 8] */ 7722 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010785: cmp esi, dword ptr [edi + 8] */ 7723 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7724 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7725 _flag_k = FK_CMP; 7726 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01078D; /* 0x2F010788: je 0x2f01078d */ 7727 L_2F01078A: 7728 MEM32(esi + 0x4) = ecx; /* 0x2F01078A: mov dword ptr [esi + 4], ecx */ 7729 L_2F01078D: 7730 esi = MEM32(ecx + 0x4); /* 0x2F01078D: mov esi, dword ptr [ecx + 4] */ 7731 MEM32(edx + 0x4) = esi; /* 0x2F010790: mov dword ptr [edx + 4], esi */ 7732 esi = MEM32(edi + 0x4); /* 0x2F010793: mov esi, dword ptr [edi + 4] */ 7733 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010796: cmp ecx, dword ptr [esi + 4] */ 7734 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7735 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7736 _flag_k = FK_CMP; 7737 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0107A0; /* 0x2F010799: jne 0x2f0107a0 */ 7738 L_2F01079B: 7739 MEM32(esi + 0x4) = edx; /* 0x2F01079B: mov dword ptr [esi + 4], edx */ 7740 goto L_2F0107AF; /* 0x2F01079E: jmp 0x2f0107af */ 7741 L_2F0107A0: 7742 esi = MEM32(ecx + 0x4); /* 0x2F0107A0: mov esi, dword ptr [ecx + 4] */ 7743 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F0107A3: cmp ecx, dword ptr [esi + 8] */ 7744 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7745 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7746 _flag_k = FK_CMP; 7747 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0107AD; /* 0x2F0107A6: jne 0x2f0107ad */ 7748 L_2F0107A8: 7749 MEM32(esi + 0x8) = edx; /* 0x2F0107A8: mov dword ptr [esi + 8], edx */ 7750 goto L_2F0107AF; /* 0x2F0107AB: jmp 0x2f0107af */ 7751 L_2F0107AD: 7752 MEM32(esi) = edx; /* 0x2F0107AD: mov dword ptr [esi], edx */ 7753 L_2F0107AF: 7754 MEM32(edx + 0x8) = ecx; /* 0x2F0107AF: mov dword ptr [edx + 8], ecx */ 7755 MEM32(ecx + 0x4) = edx; /* 0x2F0107B2: mov dword ptr [ecx + 4], edx */ 7756 ecx = MEM32(eax + 0x4); /* 0x2F0107B5: mov ecx, dword ptr [eax + 4] */ 7757 ecx = MEM32(ecx + 0x8); /* 0x2F0107B8: mov ecx, dword ptr [ecx + 8] */ 7758 L_2F0107BB: 7759 edx = MEM32(eax + 0x4); /* 0x2F0107BB: mov edx, dword ptr [eax + 4] */ 7760 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x2F0107BE: mov dl, byte ptr [edx + 0x20] */ 7761 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x2F0107C1: mov byte ptr [ecx + 0x20], dl */ 7762 edx = MEM32(eax + 0x4); /* 0x2F0107C4: mov edx, dword ptr [eax + 4] */ 7763 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0107C7: mov byte ptr [edx + 0x20], bl */ 7764 ecx = MEM32(ecx + 0x8); /* 0x2F0107CA: mov ecx, dword ptr [ecx + 8] */ 7765 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0107CD: mov byte ptr [ecx + 0x20], bl */ 7766 ecx = MEM32(eax + 0x4); /* 0x2F0107D0: mov ecx, dword ptr [eax + 4] */ 7767 edx = MEM32(ecx + 0x8); /* 0x2F0107D3: mov edx, dword ptr [ecx + 8] */ 7768 esi = MEM32(edx); /* 0x2F0107D6: mov esi, dword ptr [edx] */ 7769 MEM32(ecx + 0x8) = esi; /* 0x2F0107D8: mov dword ptr [ecx + 8], esi */ 7770 esi = MEM32(edx); /* 0x2F0107DB: mov esi, dword ptr [edx] */ 7771 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F0107DD: cmp esi, dword ptr [edi + 8] */ 7772 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7773 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7774 _flag_k = FK_CMP; 7775 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0107E5; /* 0x2F0107E0: je 0x2f0107e5 */ 7776 L_2F0107E2: 7777 MEM32(esi + 0x4) = ecx; /* 0x2F0107E2: mov dword ptr [esi + 4], ecx */ 7778 L_2F0107E5: 7779 esi = MEM32(ecx + 0x4); /* 0x2F0107E5: mov esi, dword ptr [ecx + 4] */ 7780 MEM32(edx + 0x4) = esi; /* 0x2F0107E8: mov dword ptr [edx + 4], esi */ 7781 esi = MEM32(edi + 0x4); /* 0x2F0107EB: mov esi, dword ptr [edi + 4] */ 7782 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F0107EE: cmp ecx, dword ptr [esi + 4] */ 7783 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7784 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7785 _flag_k = FK_CMP; 7786 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0107FD; /* 0x2F0107F1: jne 0x2f0107fd */ 7787 L_2F0107F3: 7788 MEM32(esi + 0x4) = edx; /* 0x2F0107F3: mov dword ptr [esi + 4], edx */ 7789 MEM32(edx) = ecx; /* 0x2F0107F6: mov dword ptr [edx], ecx */ 7790 goto L_2F0108B3; /* 0x2F0107F8: jmp 0x2f0108b3 */ 7791 L_2F0107FD: 7792 esi = MEM32(ecx + 0x4); /* 0x2F0107FD: mov esi, dword ptr [ecx + 4] */ 7793 /* cmp ecx, MEM32(esi) */ /* 0x2F010800: cmp ecx, dword ptr [esi] */ 7794 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 7795 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7796 _flag_k = FK_CMP; 7797 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01080D; /* 0x2F010802: jne 0x2f01080d */ 7798 L_2F010804: 7799 MEM32(esi) = edx; /* 0x2F010804: mov dword ptr [esi], edx */ 7800 MEM32(edx) = ecx; /* 0x2F010806: mov dword ptr [edx], ecx */ 7801 goto L_2F0108B3; /* 0x2F010808: jmp 0x2f0108b3 */ 7802 L_2F01080D: 7803 MEM32(esi + 0x8) = edx; /* 0x2F01080D: mov dword ptr [esi + 8], edx */ 7804 MEM32(edx) = ecx; /* 0x2F010810: mov dword ptr [edx], ecx */ 7805 goto L_2F0108B3; /* 0x2F010812: jmp 0x2f0108b3 */ 7806 L_2F0108B3: 7807 MEM32(ecx + 0x4) = edx; /* 0x2F0108B3: mov dword ptr [ecx + 4], edx */ 7808 esi = MEM32(ebp + (-0x4)); /* 0x2F0108B6: mov esi, dword ptr [ebp - 4] */ 7809 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0108B9: mov byte ptr [eax + 0x20], bl */ 7810 ecx = esi + 0xC; /* 0x2F0108BC: lea ecx, [esi + 0xc] */ 7811 RECOMP_ICALL(0x2F00F8E0u); /* 0x2F0108BF: call 0x2f00f8e0 */ /* not lifted */ 7812 RECOMP_FLAGS_IN(); 7813 PUSH32(esp, esi); /* 0x2F0108C4: push esi */ 7814 RECOMP_ICALL(0x2F0116B4u); /* 0x2F0108C5: call 0x2f0116b4 */ /* not lifted */ 7815 RECOMP_FLAGS_IN(); 7816 eax = MEM32(edi + 0x10); /* 0x2F0108CA: mov eax, dword ptr [edi + 0x10] */ 7817 edx = MEM32(ebp + 0xC); /* 0x2F0108CD: mov edx, dword ptr [ebp + 0xc] */ 7818 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7819 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7820 esp = esp + 4; /* 0x2F0108D0: add esp, 4 */ 7821 _flag_k = FK_ADD; 7822 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7823 eax = eax - 1; /* 0x2F0108D3: dec eax */ 7824 _flag_k = FK_DEC; 7825 MEM32(edi + 0x10) = eax; /* 0x2F0108D4: mov dword ptr [edi + 0x10], eax */ 7826 eax = MEM32(ebp + 0x8); /* 0x2F0108D7: mov eax, dword ptr [ebp + 8] */ 7827 edi = POP32_VAL(esp); /* 0x2F0108DA: pop edi */ 7828 esi = POP32_VAL(esp); /* 0x2F0108DB: pop esi */ 7829 MEM32(eax) = edx; /* 0x2F0108DC: mov dword ptr [eax], edx */ 7830 ebx = POP32_VAL(esp); /* 0x2F0108DE: pop ebx */ 7831 esp = ebp; /* 0x2F0108DF: mov esp, ebp */ 7832 ebp = POP32_VAL(esp); /* 0x2F0108E1: pop ebp */ 7833 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2F0108E2: ret 8 */ 7834 RECOMP_REGS_OUT(); 7835 } 7836 7837 void sub_2F0107AF(void) { 7838 int _fpu_cmp = 0; 7839 uint32_t _cf = 0; 7840 int _df = 1; 7841 uint32_t _flag_k = FK_NONE; 7842 uint32_t _flag_a = 0, _flag_b = 0; 7843 uint32_t _itail_tgt = 0; 7844 RECOMP_REGS_LOCALS 7845 RECOMP_ENTER(0x2F0107AFu); 7846 7847 L_2F0107AF: 7848 MEM32(edx + 0x8) = ecx; /* 0x2F0107AF: mov dword ptr [edx + 8], ecx */ 7849 MEM32(ecx + 0x4) = edx; /* 0x2F0107B2: mov dword ptr [ecx + 4], edx */ 7850 ecx = MEM32(eax + 0x4); /* 0x2F0107B5: mov ecx, dword ptr [eax + 4] */ 7851 ecx = MEM32(ecx + 0x8); /* 0x2F0107B8: mov ecx, dword ptr [ecx + 8] */ 7852 edx = MEM32(eax + 0x4); /* 0x2F0107BB: mov edx, dword ptr [eax + 4] */ 7853 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x2F0107BE: mov dl, byte ptr [edx + 0x20] */ 7854 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x2F0107C1: mov byte ptr [ecx + 0x20], dl */ 7855 edx = MEM32(eax + 0x4); /* 0x2F0107C4: mov edx, dword ptr [eax + 4] */ 7856 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0107C7: mov byte ptr [edx + 0x20], bl */ 7857 ecx = MEM32(ecx + 0x8); /* 0x2F0107CA: mov ecx, dword ptr [ecx + 8] */ 7858 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0107CD: mov byte ptr [ecx + 0x20], bl */ 7859 ecx = MEM32(eax + 0x4); /* 0x2F0107D0: mov ecx, dword ptr [eax + 4] */ 7860 edx = MEM32(ecx + 0x8); /* 0x2F0107D3: mov edx, dword ptr [ecx + 8] */ 7861 esi = MEM32(edx); /* 0x2F0107D6: mov esi, dword ptr [edx] */ 7862 MEM32(ecx + 0x8) = esi; /* 0x2F0107D8: mov dword ptr [ecx + 8], esi */ 7863 esi = MEM32(edx); /* 0x2F0107DB: mov esi, dword ptr [edx] */ 7864 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F0107DD: cmp esi, dword ptr [edi + 8] */ 7865 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7866 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7867 _flag_k = FK_CMP; 7868 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0107E5; /* 0x2F0107E0: je 0x2f0107e5 */ 7869 L_2F0107E2: 7870 MEM32(esi + 0x4) = ecx; /* 0x2F0107E2: mov dword ptr [esi + 4], ecx */ 7871 L_2F0107E5: 7872 esi = MEM32(ecx + 0x4); /* 0x2F0107E5: mov esi, dword ptr [ecx + 4] */ 7873 MEM32(edx + 0x4) = esi; /* 0x2F0107E8: mov dword ptr [edx + 4], esi */ 7874 esi = MEM32(edi + 0x4); /* 0x2F0107EB: mov esi, dword ptr [edi + 4] */ 7875 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F0107EE: cmp ecx, dword ptr [esi + 4] */ 7876 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7877 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7878 _flag_k = FK_CMP; 7879 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0107FD; /* 0x2F0107F1: jne 0x2f0107fd */ 7880 L_2F0107F3: 7881 MEM32(esi + 0x4) = edx; /* 0x2F0107F3: mov dword ptr [esi + 4], edx */ 7882 MEM32(edx) = ecx; /* 0x2F0107F6: mov dword ptr [edx], ecx */ 7883 goto L_2F0108B3; /* 0x2F0107F8: jmp 0x2f0108b3 */ 7884 L_2F0107FD: 7885 esi = MEM32(ecx + 0x4); /* 0x2F0107FD: mov esi, dword ptr [ecx + 4] */ 7886 /* cmp ecx, MEM32(esi) */ /* 0x2F010800: cmp ecx, dword ptr [esi] */ 7887 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 7888 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7889 _flag_k = FK_CMP; 7890 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01080D; /* 0x2F010802: jne 0x2f01080d */ 7891 L_2F010804: 7892 MEM32(esi) = edx; /* 0x2F010804: mov dword ptr [esi], edx */ 7893 MEM32(edx) = ecx; /* 0x2F010806: mov dword ptr [edx], ecx */ 7894 goto L_2F0108B3; /* 0x2F010808: jmp 0x2f0108b3 */ 7895 L_2F01080D: 7896 MEM32(esi + 0x8) = edx; /* 0x2F01080D: mov dword ptr [esi + 8], edx */ 7897 MEM32(edx) = ecx; /* 0x2F010810: mov dword ptr [edx], ecx */ 7898 goto L_2F0108B3; /* 0x2F010812: jmp 0x2f0108b3 */ 7899 L_2F0108B3: 7900 MEM32(ecx + 0x4) = edx; /* 0x2F0108B3: mov dword ptr [ecx + 4], edx */ 7901 esi = MEM32(ebp + (-0x4)); /* 0x2F0108B6: mov esi, dword ptr [ebp - 4] */ 7902 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0108B9: mov byte ptr [eax + 0x20], bl */ 7903 ecx = esi + 0xC; /* 0x2F0108BC: lea ecx, [esi + 0xc] */ 7904 RECOMP_ICALL(0x2F00F8E0u); /* 0x2F0108BF: call 0x2f00f8e0 */ /* not lifted */ 7905 RECOMP_FLAGS_IN(); 7906 PUSH32(esp, esi); /* 0x2F0108C4: push esi */ 7907 RECOMP_ICALL(0x2F0116B4u); /* 0x2F0108C5: call 0x2f0116b4 */ /* not lifted */ 7908 RECOMP_FLAGS_IN(); 7909 eax = MEM32(edi + 0x10); /* 0x2F0108CA: mov eax, dword ptr [edi + 0x10] */ 7910 edx = MEM32(ebp + 0xC); /* 0x2F0108CD: mov edx, dword ptr [ebp + 0xc] */ 7911 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7912 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7913 esp = esp + 4; /* 0x2F0108D0: add esp, 4 */ 7914 _flag_k = FK_ADD; 7915 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7916 eax = eax - 1; /* 0x2F0108D3: dec eax */ 7917 _flag_k = FK_DEC; 7918 MEM32(edi + 0x10) = eax; /* 0x2F0108D4: mov dword ptr [edi + 0x10], eax */ 7919 eax = MEM32(ebp + 0x8); /* 0x2F0108D7: mov eax, dword ptr [ebp + 8] */ 7920 edi = POP32_VAL(esp); /* 0x2F0108DA: pop edi */ 7921 esi = POP32_VAL(esp); /* 0x2F0108DB: pop esi */ 7922 MEM32(eax) = edx; /* 0x2F0108DC: mov dword ptr [eax], edx */ 7923 ebx = POP32_VAL(esp); /* 0x2F0108DE: pop ebx */ 7924 esp = ebp; /* 0x2F0108DF: mov esp, ebp */ 7925 ebp = POP32_VAL(esp); /* 0x2F0108E1: pop ebp */ 7926 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2F0108E2: ret 8 */ 7927 RECOMP_REGS_OUT(); 7928 } 7929 7930 void sub_2F01085B(void) { 7931 int _fpu_cmp = 0; 7932 uint32_t _cf = 0; 7933 int _df = 1; 7934 uint32_t _flag_k = FK_NONE; 7935 uint32_t _flag_a = 0, _flag_b = 0; 7936 uint32_t _itail_tgt = 0; 7937 RECOMP_REGS_LOCALS 7938 RECOMP_ENTER(0x2F01085Bu); 7939 7940 L_2F01085B: 7941 MEM32(edx) = ecx; /* 0x2F01085B: mov dword ptr [edx], ecx */ 7942 MEM32(ecx + 0x4) = edx; /* 0x2F01085D: mov dword ptr [ecx + 4], edx */ 7943 ecx = MEM32(eax + 0x4); /* 0x2F010860: mov ecx, dword ptr [eax + 4] */ 7944 ecx = MEM32(ecx); /* 0x2F010863: mov ecx, dword ptr [ecx] */ 7945 edx = MEM32(eax + 0x4); /* 0x2F010865: mov edx, dword ptr [eax + 4] */ 7946 SET_LO8(edx, MEM8(edx + 0x20)); /* 0x2F010868: mov dl, byte ptr [edx + 0x20] */ 7947 MEM8(ecx + 0x20) = (uint8_t)(LO8(edx)); /* 0x2F01086B: mov byte ptr [ecx + 0x20], dl */ 7948 edx = MEM32(eax + 0x4); /* 0x2F01086E: mov edx, dword ptr [eax + 4] */ 7949 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010871: mov byte ptr [edx + 0x20], bl */ 7950 ecx = MEM32(ecx); /* 0x2F010874: mov ecx, dword ptr [ecx] */ 7951 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010876: mov byte ptr [ecx + 0x20], bl */ 7952 ecx = MEM32(eax + 0x4); /* 0x2F010879: mov ecx, dword ptr [eax + 4] */ 7953 edx = MEM32(ecx); /* 0x2F01087C: mov edx, dword ptr [ecx] */ 7954 esi = MEM32(edx + 0x8); /* 0x2F01087E: mov esi, dword ptr [edx + 8] */ 7955 MEM32(ecx) = esi; /* 0x2F010881: mov dword ptr [ecx], esi */ 7956 esi = MEM32(edx + 0x8); /* 0x2F010883: mov esi, dword ptr [edx + 8] */ 7957 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2F010886: cmp esi, dword ptr [edi + 8] */ 7958 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7959 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7960 _flag_k = FK_CMP; 7961 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01088E; /* 0x2F010889: je 0x2f01088e */ 7962 L_2F01088B: 7963 MEM32(esi + 0x4) = ecx; /* 0x2F01088B: mov dword ptr [esi + 4], ecx */ 7964 L_2F01088E: 7965 esi = MEM32(ecx + 0x4); /* 0x2F01088E: mov esi, dword ptr [ecx + 4] */ 7966 MEM32(edx + 0x4) = esi; /* 0x2F010891: mov dword ptr [edx + 4], esi */ 7967 esi = MEM32(edi + 0x4); /* 0x2F010894: mov esi, dword ptr [edi + 4] */ 7968 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2F010897: cmp ecx, dword ptr [esi + 4] */ 7969 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 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_2F0108A1; /* 0x2F01089A: jne 0x2f0108a1 */ 7973 L_2F01089C: 7974 MEM32(esi + 0x4) = edx; /* 0x2F01089C: mov dword ptr [esi + 4], edx */ 7975 goto L_2F0108B0; /* 0x2F01089F: jmp 0x2f0108b0 */ 7976 L_2F0108A1: 7977 esi = MEM32(ecx + 0x4); /* 0x2F0108A1: mov esi, dword ptr [ecx + 4] */ 7978 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F0108A4: cmp ecx, dword ptr [esi + 8] */ 7979 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 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_2F0108AE; /* 0x2F0108A7: jne 0x2f0108ae */ 7983 L_2F0108A9: 7984 MEM32(esi + 0x8) = edx; /* 0x2F0108A9: mov dword ptr [esi + 8], edx */ 7985 goto L_2F0108B0; /* 0x2F0108AC: jmp 0x2f0108b0 */ 7986 L_2F0108AE: 7987 MEM32(esi) = edx; /* 0x2F0108AE: mov dword ptr [esi], edx */ 7988 L_2F0108B0: 7989 MEM32(edx + 0x8) = ecx; /* 0x2F0108B0: mov dword ptr [edx + 8], ecx */ 7990 MEM32(ecx + 0x4) = edx; /* 0x2F0108B3: mov dword ptr [ecx + 4], edx */ 7991 esi = MEM32(ebp + (-0x4)); /* 0x2F0108B6: mov esi, dword ptr [ebp - 4] */ 7992 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0108B9: mov byte ptr [eax + 0x20], bl */ 7993 ecx = esi + 0xC; /* 0x2F0108BC: lea ecx, [esi + 0xc] */ 7994 RECOMP_ICALL(0x2F00F8E0u); /* 0x2F0108BF: call 0x2f00f8e0 */ /* not lifted */ 7995 RECOMP_FLAGS_IN(); 7996 PUSH32(esp, esi); /* 0x2F0108C4: push esi */ 7997 RECOMP_ICALL(0x2F0116B4u); /* 0x2F0108C5: call 0x2f0116b4 */ /* not lifted */ 7998 RECOMP_FLAGS_IN(); 7999 eax = MEM32(edi + 0x10); /* 0x2F0108CA: mov eax, dword ptr [edi + 0x10] */ 8000 edx = MEM32(ebp + 0xC); /* 0x2F0108CD: mov edx, dword ptr [ebp + 0xc] */ 8001 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8002 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8003 esp = esp + 4; /* 0x2F0108D0: add esp, 4 */ 8004 _flag_k = FK_ADD; 8005 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 8006 eax = eax - 1; /* 0x2F0108D3: dec eax */ 8007 _flag_k = FK_DEC; 8008 MEM32(edi + 0x10) = eax; /* 0x2F0108D4: mov dword ptr [edi + 0x10], eax */ 8009 eax = MEM32(ebp + 0x8); /* 0x2F0108D7: mov eax, dword ptr [ebp + 8] */ 8010 edi = POP32_VAL(esp); /* 0x2F0108DA: pop edi */ 8011 esi = POP32_VAL(esp); /* 0x2F0108DB: pop esi */ 8012 MEM32(eax) = edx; /* 0x2F0108DC: mov dword ptr [eax], edx */ 8013 ebx = POP32_VAL(esp); /* 0x2F0108DE: pop ebx */ 8014 esp = ebp; /* 0x2F0108DF: mov esp, ebp */ 8015 ebp = POP32_VAL(esp); /* 0x2F0108E1: pop ebp */ 8016 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2F0108E2: ret 8 */ 8017 RECOMP_REGS_OUT(); 8018 } 8019 8020 void sub_2F0108B0(void) { 8021 int _fpu_cmp = 0; 8022 uint32_t _cf = 0; 8023 int _df = 1; 8024 uint32_t _flag_k = FK_NONE; 8025 uint32_t _flag_a = 0, _flag_b = 0; 8026 uint32_t _itail_tgt = 0; 8027 RECOMP_REGS_LOCALS 8028 RECOMP_ENTER(0x2F0108B0u); 8029 8030 L_2F0108B0: 8031 MEM32(edx + 0x8) = ecx; /* 0x2F0108B0: mov dword ptr [edx + 8], ecx */ 8032 MEM32(ecx + 0x4) = edx; /* 0x2F0108B3: mov dword ptr [ecx + 4], edx */ 8033 esi = MEM32(ebp + (-0x4)); /* 0x2F0108B6: mov esi, dword ptr [ebp - 4] */ 8034 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0108B9: mov byte ptr [eax + 0x20], bl */ 8035 ecx = esi + 0xC; /* 0x2F0108BC: lea ecx, [esi + 0xc] */ 8036 RECOMP_ICALL(0x2F00F8E0u); /* 0x2F0108BF: call 0x2f00f8e0 */ /* not lifted */ 8037 RECOMP_FLAGS_IN(); 8038 PUSH32(esp, esi); /* 0x2F0108C4: push esi */ 8039 RECOMP_ICALL(0x2F0116B4u); /* 0x2F0108C5: call 0x2f0116b4 */ /* not lifted */ 8040 RECOMP_FLAGS_IN(); 8041 eax = MEM32(edi + 0x10); /* 0x2F0108CA: mov eax, dword ptr [edi + 0x10] */ 8042 edx = MEM32(ebp + 0xC); /* 0x2F0108CD: mov edx, dword ptr [ebp + 0xc] */ 8043 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8044 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8045 esp = esp + 4; /* 0x2F0108D0: add esp, 4 */ 8046 _flag_k = FK_ADD; 8047 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 8048 eax = eax - 1; /* 0x2F0108D3: dec eax */ 8049 _flag_k = FK_DEC; 8050 MEM32(edi + 0x10) = eax; /* 0x2F0108D4: mov dword ptr [edi + 0x10], eax */ 8051 eax = MEM32(ebp + 0x8); /* 0x2F0108D7: mov eax, dword ptr [ebp + 8] */ 8052 edi = POP32_VAL(esp); /* 0x2F0108DA: pop edi */ 8053 esi = POP32_VAL(esp); /* 0x2F0108DB: pop esi */ 8054 MEM32(eax) = edx; /* 0x2F0108DC: mov dword ptr [eax], edx */ 8055 ebx = POP32_VAL(esp); /* 0x2F0108DE: pop ebx */ 8056 esp = ebp; /* 0x2F0108DF: mov esp, ebp */ 8057 ebp = POP32_VAL(esp); /* 0x2F0108E1: pop ebp */ 8058 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2F0108E2: ret 8 */ 8059 RECOMP_REGS_OUT(); 8060 } 8061 8062 void sub_2F0108B3(void) { 8063 int _fpu_cmp = 0; 8064 uint32_t _cf = 0; 8065 int _df = 1; 8066 uint32_t _flag_k = FK_NONE; 8067 uint32_t _flag_a = 0, _flag_b = 0; 8068 uint32_t _itail_tgt = 0; 8069 RECOMP_REGS_LOCALS 8070 RECOMP_ENTER(0x2F0108B3u); 8071 8072 L_2F0108B3: 8073 MEM32(ecx + 0x4) = edx; /* 0x2F0108B3: mov dword ptr [ecx + 4], edx */ 8074 esi = MEM32(ebp + (-0x4)); /* 0x2F0108B6: mov esi, dword ptr [ebp - 4] */ 8075 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0108B9: mov byte ptr [eax + 0x20], bl */ 8076 ecx = esi + 0xC; /* 0x2F0108BC: lea ecx, [esi + 0xc] */ 8077 RECOMP_ICALL(0x2F00F8E0u); /* 0x2F0108BF: call 0x2f00f8e0 */ /* not lifted */ 8078 RECOMP_FLAGS_IN(); 8079 PUSH32(esp, esi); /* 0x2F0108C4: push esi */ 8080 RECOMP_ICALL(0x2F0116B4u); /* 0x2F0108C5: call 0x2f0116b4 */ /* not lifted */ 8081 RECOMP_FLAGS_IN(); 8082 eax = MEM32(edi + 0x10); /* 0x2F0108CA: mov eax, dword ptr [edi + 0x10] */ 8083 edx = MEM32(ebp + 0xC); /* 0x2F0108CD: mov edx, dword ptr [ebp + 0xc] */ 8084 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8085 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8086 esp = esp + 4; /* 0x2F0108D0: add esp, 4 */ 8087 _flag_k = FK_ADD; 8088 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 8089 eax = eax - 1; /* 0x2F0108D3: dec eax */ 8090 _flag_k = FK_DEC; 8091 MEM32(edi + 0x10) = eax; /* 0x2F0108D4: mov dword ptr [edi + 0x10], eax */ 8092 eax = MEM32(ebp + 0x8); /* 0x2F0108D7: mov eax, dword ptr [ebp + 8] */ 8093 edi = POP32_VAL(esp); /* 0x2F0108DA: pop edi */ 8094 esi = POP32_VAL(esp); /* 0x2F0108DB: pop esi */ 8095 MEM32(eax) = edx; /* 0x2F0108DC: mov dword ptr [eax], edx */ 8096 ebx = POP32_VAL(esp); /* 0x2F0108DE: pop ebx */ 8097 esp = ebp; /* 0x2F0108DF: mov esp, ebp */ 8098 ebp = POP32_VAL(esp); /* 0x2F0108E1: pop ebp */ 8099 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2F0108E2: ret 8 */ 8100 RECOMP_REGS_OUT(); 8101 } 8102 8103 void sub_2F0108B6(void) { 8104 int _fpu_cmp = 0; 8105 uint32_t _cf = 0; 8106 int _df = 1; 8107 uint32_t _flag_k = FK_NONE; 8108 uint32_t _flag_a = 0, _flag_b = 0; 8109 uint32_t _itail_tgt = 0; 8110 RECOMP_REGS_LOCALS 8111 RECOMP_ENTER(0x2F0108B6u); 8112 8113 L_2F0108B6: 8114 esi = MEM32(ebp + (-0x4)); /* 0x2F0108B6: mov esi, dword ptr [ebp - 4] */ 8115 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F0108B9: mov byte ptr [eax + 0x20], bl */ 8116 ecx = esi + 0xC; /* 0x2F0108BC: lea ecx, [esi + 0xc] */ 8117 RECOMP_ICALL(0x2F00F8E0u); /* 0x2F0108BF: call 0x2f00f8e0 */ /* not lifted */ 8118 RECOMP_FLAGS_IN(); 8119 PUSH32(esp, esi); /* 0x2F0108C4: push esi */ 8120 RECOMP_ICALL(0x2F0116B4u); /* 0x2F0108C5: call 0x2f0116b4 */ /* not lifted */ 8121 RECOMP_FLAGS_IN(); 8122 eax = MEM32(edi + 0x10); /* 0x2F0108CA: mov eax, dword ptr [edi + 0x10] */ 8123 edx = MEM32(ebp + 0xC); /* 0x2F0108CD: mov edx, dword ptr [ebp + 0xc] */ 8124 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8125 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8126 esp = esp + 4; /* 0x2F0108D0: add esp, 4 */ 8127 _flag_k = FK_ADD; 8128 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 8129 eax = eax - 1; /* 0x2F0108D3: dec eax */ 8130 _flag_k = FK_DEC; 8131 MEM32(edi + 0x10) = eax; /* 0x2F0108D4: mov dword ptr [edi + 0x10], eax */ 8132 eax = MEM32(ebp + 0x8); /* 0x2F0108D7: mov eax, dword ptr [ebp + 8] */ 8133 edi = POP32_VAL(esp); /* 0x2F0108DA: pop edi */ 8134 esi = POP32_VAL(esp); /* 0x2F0108DB: pop esi */ 8135 MEM32(eax) = edx; /* 0x2F0108DC: mov dword ptr [eax], edx */ 8136 ebx = POP32_VAL(esp); /* 0x2F0108DE: pop ebx */ 8137 esp = ebp; /* 0x2F0108DF: mov esp, ebp */ 8138 ebp = POP32_VAL(esp); /* 0x2F0108E1: pop ebp */ 8139 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2F0108E2: ret 8 */ 8140 RECOMP_REGS_OUT(); 8141 } 8142 8143 void sub_2F0108F0(void) { 8144 int _fpu_cmp = 0; 8145 uint32_t _cf = 0; 8146 int _df = 1; 8147 uint32_t _flag_k = FK_NONE; 8148 uint32_t _flag_a = 0, _flag_b = 0; 8149 uint32_t _itail_tgt = 0; 8150 RECOMP_REGS_LOCALS 8151 RECOMP_ENTER(0x2F0108F0u); 8152 8153 L_2F0108F0: 8154 PUSH32(esp, ebp); /* 0x2F0108F0: push ebp */ 8155 ebp = esp; /* 0x2F0108F1: mov ebp, esp */ 8156 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 8157 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8158 esp = esp - 0xCu; /* 0x2F0108F3: sub esp, 0xc */ 8159 _flag_k = FK_CMP; 8160 PUSH32(esp, ebx); /* 0x2F0108F6: push ebx */ 8161 PUSH32(esp, esi); /* 0x2F0108F7: push esi */ 8162 esi = ecx; /* 0x2F0108F8: mov esi, ecx */ 8163 ecx = MEM32(ebp + 0x8); /* 0x2F0108FA: mov ecx, dword ptr [ebp + 8] */ 8164 eax = MEM32(esi + 0x4); /* 0x2F0108FD: mov eax, dword ptr [esi + 4] */ 8165 edx = MEM32(ecx + 0x4); /* 0x2F010900: mov edx, dword ptr [ecx + 4] */ 8166 MEM32(ebp + (-0xC)) = eax; /* 0x2F010903: mov dword ptr [ebp - 0xc], eax */ 8167 eax = MEM32(esi + 0x8); /* 0x2F010906: mov eax, dword ptr [esi + 8] */ 8168 ebx = MEM32(edx + 0x4); /* 0x2F010909: mov ebx, dword ptr [edx + 4] */ 8169 MEM32(ebp + (-0x8)) = eax; /* 0x2F01090C: mov dword ptr [ebp - 8], eax */ 8170 SET_LO8(eax, MEM8(ebx + 0x21)); /* 0x2F01090F: mov al, byte ptr [ebx + 0x21] */ 8171 /* test LO8(eax), LO8(eax) */ /* 0x2F010912: test al, al */ 8172 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8173 _cf = 0; 8174 _flag_k = FK_NARROW(FK_TEST, 24); 8175 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F01097B; /* 0x2F010914: jne 0x2f01097b */ 8176 L_2F010916: 8177 SET_LO8(ecx, MEM8(ebx + 0x20)); /* 0x2F010916: mov cl, byte ptr [ebx + 0x20] */ 8178 PUSH32(esp, edi); /* 0x2F010919: push edi */ 8179 PUSH32(esp, 0x24u); /* 0x2F01091A: push 0x24 */ 8180 MEM8(ebp + (-0x1)) = (uint8_t)(LO8(ecx)); /* 0x2F01091C: mov byte ptr [ebp - 1], cl */ 8181 RECOMP_ICALL(0x2F0117DCu); /* 0x2F01091F: call 0x2f0117dc */ /* not lifted */ 8182 RECOMP_FLAGS_IN(); 8183 edx = MEM32(ebp + (-0xC)); /* 0x2F010924: mov edx, dword ptr [ebp - 0xc] */ 8184 edi = eax; /* 0x2F010927: mov edi, eax */ 8185 SET_LO8(eax, MEM8(ebp + (-0x1))); /* 0x2F010929: mov al, byte ptr [ebp - 1] */ 8186 ecx = ebx + 0xC; /* 0x2F01092C: lea ecx, [ebx + 0xc] */ 8187 MEM32(edi + 0x4) = edx; /* 0x2F01092F: mov dword ptr [edi + 4], edx */ 8188 edx = edi + 0xC; /* 0x2F010932: lea edx, [edi + 0xc] */ 8189 PUSH32(esp, ecx); /* 0x2F010935: push ecx */ 8190 PUSH32(esp, edx); /* 0x2F010936: push edx */ 8191 MEM8(edi + 0x20) = (uint8_t)(LO8(eax)); /* 0x2F010937: mov byte ptr [edi + 0x20], al */ 8192 MEM8(edi + 0x21) = (uint8_t)(0); /* 0x2F01093A: mov byte ptr [edi + 0x21], 0 */ 8193 RECOMP_ICALL(0x2F0111B0u); /* 0x2F01093E: call 0x2f0111b0 */ /* not lifted */ 8194 RECOMP_FLAGS_IN(); 8195 eax = MEM32(esi + 0x8); /* 0x2F010943: mov eax, dword ptr [esi + 8] */ 8196 edx = MEM32(ebp + (-0x8)); /* 0x2F010946: mov edx, dword ptr [ebp - 8] */ 8197 MEM32(edi) = eax; /* 0x2F010949: mov dword ptr [edi], eax */ 8198 ecx = MEM32(esi + 0x8); /* 0x2F01094B: mov ecx, dword ptr [esi + 8] */ 8199 MEM32(edi + 0x8) = ecx; /* 0x2F01094E: mov dword ptr [edi + 8], ecx */ 8200 eax = MEM32(esi + 0x8); /* 0x2F010951: mov eax, dword ptr [esi + 8] */ 8201 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 8202 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8203 esp = esp + 0xCu; /* 0x2F010954: add esp, 0xc */ 8204 _flag_k = FK_ADD; 8205 /* cmp edx, eax */ /* 0x2F010957: cmp edx, eax */ 8206 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 8207 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8208 _flag_k = FK_CMP; 8209 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01095E; /* 0x2F010959: jne 0x2f01095e */ 8210 L_2F01095B: 8211 MEM32(ebp + (-0x8)) = edi; /* 0x2F01095B: mov dword ptr [ebp - 8], edi */ 8212 L_2F01095E: 8213 eax = MEM32(ebx); /* 0x2F01095E: mov eax, dword ptr [ebx] */ 8214 PUSH32(esp, edi); /* 0x2F010960: push edi */ 8215 PUSH32(esp, eax); /* 0x2F010961: push eax */ 8216 ecx = esi; /* 0x2F010962: mov ecx, esi */ 8217 RECOMP_ICALL(0x2F010ED0u); /* 0x2F010964: call 0x2f010ed0 */ /* not lifted */ 8218 RECOMP_FLAGS_IN(); 8219 MEM32(edi) = eax; /* 0x2F010969: mov dword ptr [edi], eax */ 8220 ecx = MEM32(ebx + 0x8); /* 0x2F01096B: mov ecx, dword ptr [ebx + 8] */ 8221 PUSH32(esp, edi); /* 0x2F01096E: push edi */ 8222 PUSH32(esp, ecx); /* 0x2F01096F: push ecx */ 8223 ecx = esi; /* 0x2F010970: mov ecx, esi */ 8224 RECOMP_ICALL(0x2F010ED0u); /* 0x2F010972: call 0x2f010ed0 */ /* not lifted */ 8225 RECOMP_FLAGS_IN(); 8226 MEM32(edi + 0x8) = eax; /* 0x2F010977: mov dword ptr [edi + 8], eax */ 8227 edi = POP32_VAL(esp); /* 0x2F01097A: pop edi */ 8228 L_2F01097B: 8229 edx = MEM32(esi + 0x4); /* 0x2F01097B: mov edx, dword ptr [esi + 4] */ 8230 eax = MEM32(ebp + (-0x8)); /* 0x2F01097E: mov eax, dword ptr [ebp - 8] */ 8231 ecx = MEM32(ebp + 0x8); /* 0x2F010981: mov ecx, dword ptr [ebp + 8] */ 8232 MEM32(edx + 0x4) = eax; /* 0x2F010984: mov dword ptr [edx + 4], eax */ 8233 edx = MEM32(ecx + 0x10); /* 0x2F010987: mov edx, dword ptr [ecx + 0x10] */ 8234 ecx = MEM32(esi + 0x8); /* 0x2F01098A: mov ecx, dword ptr [esi + 8] */ 8235 MEM32(esi + 0x10) = edx; /* 0x2F01098D: mov dword ptr [esi + 0x10], edx */ 8236 edx = MEM32(esi + 0x4); /* 0x2F010990: mov edx, dword ptr [esi + 4] */ 8237 eax = MEM32(edx + 0x4); /* 0x2F010993: mov eax, dword ptr [edx + 4] */ 8238 /* cmp eax, ecx */ /* 0x2F010996: cmp eax, ecx */ 8239 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8240 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8241 _flag_k = FK_CMP; 8242 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0109D7; /* 0x2F010998: je 0x2f0109d7 */ 8243 L_2F01099A: 8244 ecx = MEM32(eax); /* 0x2F01099A: mov ecx, dword ptr [eax] */ 8245 SET_LO8(ebx, MEM8(ecx + 0x21)); /* 0x2F01099C: mov bl, byte ptr [ecx + 0x21] */ 8246 /* test LO8(ebx), LO8(ebx) */ /* 0x2F01099F: test bl, bl */ 8247 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8248 _cf = 0; 8249 _flag_k = FK_NARROW(FK_TEST, 24); 8250 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F0109AE; /* 0x2F0109A1: jne 0x2f0109ae */ 8251 L_2F0109A3: 8252 eax = ecx; /* 0x2F0109A3: mov eax, ecx */ 8253 ecx = MEM32(eax); /* 0x2F0109A5: mov ecx, dword ptr [eax] */ 8254 SET_LO8(ebx, MEM8(ecx + 0x21)); /* 0x2F0109A7: mov bl, byte ptr [ecx + 0x21] */ 8255 /* test LO8(ebx), LO8(ebx) */ /* 0x2F0109AA: test bl, bl */ 8256 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 8257 _cf = 0; 8258 _flag_k = FK_NARROW(FK_TEST, 24); 8259 RECOMP_BACKEDGE(); 8260 if (TEST_Z(_flag_a, _flag_b)) goto L_2F0109A3; /* 0x2F0109AC: je 0x2f0109a3 */ 8261 L_2F0109AE: 8262 MEM32(edx) = eax; /* 0x2F0109AE: mov dword ptr [edx], eax */ 8263 esi = MEM32(esi + 0x4); /* 0x2F0109B0: mov esi, dword ptr [esi + 4] */ 8264 ecx = MEM32(esi + 0x4); /* 0x2F0109B3: mov ecx, dword ptr [esi + 4] */ 8265 eax = MEM32(ecx + 0x8); /* 0x2F0109B6: mov eax, dword ptr [ecx + 8] */ 8266 SET_LO8(edx, MEM8(eax + 0x21)); /* 0x2F0109B9: mov dl, byte ptr [eax + 0x21] */ 8267 /* test LO8(edx), LO8(edx) */ /* 0x2F0109BC: test dl, dl */ 8268 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 8269 _cf = 0; 8270 _flag_k = FK_NARROW(FK_TEST, 24); 8271 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F0109CC; /* 0x2F0109BE: jne 0x2f0109cc */ 8272 L_2F0109C0: 8273 ecx = eax; /* 0x2F0109C0: mov ecx, eax */ 8274 eax = MEM32(ecx + 0x8); /* 0x2F0109C2: mov eax, dword ptr [ecx + 8] */ 8275 SET_LO8(edx, MEM8(eax + 0x21)); /* 0x2F0109C5: mov dl, byte ptr [eax + 0x21] */ 8276 /* test LO8(edx), LO8(edx) */ /* 0x2F0109C8: test dl, dl */ 8277 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 8278 _cf = 0; 8279 _flag_k = FK_NARROW(FK_TEST, 24); 8280 RECOMP_BACKEDGE(); 8281 if (TEST_Z(_flag_a, _flag_b)) goto L_2F0109C0; /* 0x2F0109CA: je 0x2f0109c0 */ 8282 L_2F0109CC: 8283 MEM32(esi + 0x8) = ecx; /* 0x2F0109CC: mov dword ptr [esi + 8], ecx */ 8284 esi = POP32_VAL(esp); /* 0x2F0109CF: pop esi */ 8285 ebx = POP32_VAL(esp); /* 0x2F0109D0: pop ebx */ 8286 esp = ebp; /* 0x2F0109D1: mov esp, ebp */ 8287 ebp = POP32_VAL(esp); /* 0x2F0109D3: pop ebp */ 8288 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2F0109D4: ret 4 */ 8289 L_2F0109D7: 8290 MEM32(edx) = edx; /* 0x2F0109D7: mov dword ptr [edx], edx */ 8291 esi = MEM32(esi + 0x4); /* 0x2F0109D9: mov esi, dword ptr [esi + 4] */ 8292 MEM32(esi + 0x8) = esi; /* 0x2F0109DC: mov dword ptr [esi + 8], esi */ 8293 esi = POP32_VAL(esp); /* 0x2F0109DF: pop esi */ 8294 ebx = POP32_VAL(esp); /* 0x2F0109E0: pop ebx */ 8295 esp = ebp; /* 0x2F0109E1: mov esp, ebp */ 8296 ebp = POP32_VAL(esp); /* 0x2F0109E3: pop ebp */ 8297 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2F0109E4: ret 4 */ 8298 RECOMP_REGS_OUT(); 8299 } 8300 8301 void sub_2F0109F0(void) { 8302 int _fpu_cmp = 0; 8303 uint32_t _cf = 0; 8304 int _df = 1; 8305 uint32_t _flag_k = FK_NONE; 8306 uint32_t _flag_a = 0, _flag_b = 0; 8307 uint32_t _itail_tgt = 0; 8308 RECOMP_REGS_LOCALS 8309 RECOMP_ENTER(0x2F0109F0u); 8310 8311 L_2F0109F0: 8312 PUSH32(esp, ebp); /* 0x2F0109F0: push ebp */ 8313 ebp = esp; /* 0x2F0109F1: mov ebp, esp */ 8314 PUSH32(esp, ebx); /* 0x2F0109F3: push ebx */ 8315 ebx = ecx; /* 0x2F0109F4: mov ebx, ecx */ 8316 PUSH32(esp, esi); /* 0x2F0109F6: push esi */ 8317 PUSH32(esp, edi); /* 0x2F0109F7: push edi */ 8318 edi = MEM32(ebp + 0x8); /* 0x2F0109F8: mov edi, dword ptr [ebp + 8] */ 8319 eax = MEM32(ebx + 0x8); /* 0x2F0109FB: mov eax, dword ptr [ebx + 8] */ 8320 /* cmp edi, eax */ /* 0x2F0109FE: cmp edi, eax */ 8321 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 8322 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8323 _flag_k = FK_CMP; 8324 esi = edi; /* 0x2F010A00: mov esi, edi */ 8325 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010A2B; /* 0x2F010A02: je 0x2f010a2b */ 8326 L_2F010A04: 8327 eax = MEM32(esi + 0x8); /* 0x2F010A04: mov eax, dword ptr [esi + 8] */ 8328 ecx = ebx; /* 0x2F010A07: mov ecx, ebx */ 8329 PUSH32(esp, eax); /* 0x2F010A09: push eax */ 8330 RECOMP_ICALL(0x2F0109F0u); /* 0x2F010A0A: call 0x2f0109f0 */ /* not lifted */ 8331 RECOMP_FLAGS_IN(); 8332 esi = MEM32(esi); /* 0x2F010A0F: mov esi, dword ptr [esi] */ 8333 ecx = edi + 0xC; /* 0x2F010A11: lea ecx, [edi + 0xc] */ 8334 RECOMP_ICALL(0x2F00F8E0u); /* 0x2F010A14: call 0x2f00f8e0 */ /* not lifted */ 8335 RECOMP_FLAGS_IN(); 8336 PUSH32(esp, edi); /* 0x2F010A19: push edi */ 8337 RECOMP_ICALL(0x2F0116B4u); /* 0x2F010A1A: call 0x2f0116b4 */ /* not lifted */ 8338 RECOMP_FLAGS_IN(); 8339 eax = MEM32(ebx + 0x8); /* 0x2F010A1F: mov eax, dword ptr [ebx + 8] */ 8340 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 8341 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8342 esp = esp + 4; /* 0x2F010A22: add esp, 4 */ 8343 _flag_k = FK_ADD; 8344 /* cmp esi, eax */ /* 0x2F010A25: cmp esi, eax */ 8345 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 8346 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8347 _flag_k = FK_CMP; 8348 edi = esi; /* 0x2F010A27: mov edi, esi */ 8349 RECOMP_BACKEDGE(); 8350 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010A04; /* 0x2F010A29: jne 0x2f010a04 */ 8351 L_2F010A2B: 8352 edi = POP32_VAL(esp); /* 0x2F010A2B: pop edi */ 8353 esi = POP32_VAL(esp); /* 0x2F010A2C: pop esi */ 8354 ebx = POP32_VAL(esp); /* 0x2F010A2D: pop ebx */ 8355 ebp = POP32_VAL(esp); /* 0x2F010A2E: pop ebp */ 8356 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2F010A2F: ret 4 */ 8357 RECOMP_REGS_OUT(); 8358 } 8359 8360 void sub_2F010A40(void) { 8361 int _fpu_cmp = 0; 8362 uint32_t _cf = 0; 8363 int _df = 1; 8364 uint32_t _flag_k = FK_NONE; 8365 uint32_t _flag_a = 0, _flag_b = 0; 8366 uint32_t _itail_tgt = 0; 8367 RECOMP_REGS_LOCALS 8368 RECOMP_ENTER(0x2F010A40u); 8369 8370 L_2F010A40: 8371 PUSH32(esp, ebp); /* 0x2F010A40: push ebp */ 8372 ebp = esp; /* 0x2F010A41: mov ebp, esp */ 8373 PUSH32(esp, ecx); /* 0x2F010A43: push ecx */ 8374 PUSH32(esp, ebx); /* 0x2F010A44: push ebx */ 8375 PUSH32(esp, esi); /* 0x2F010A45: push esi */ 8376 PUSH32(esp, edi); /* 0x2F010A46: push edi */ 8377 esi = ecx; /* 0x2F010A47: mov esi, ecx */ 8378 PUSH32(esp, 0x24u); /* 0x2F010A49: push 0x24 */ 8379 RECOMP_ICALL(0x2F0117DCu); /* 0x2F010A4B: call 0x2f0117dc */ /* not lifted */ 8380 RECOMP_FLAGS_IN(); 8381 edi = MEM32(ebp + 0x10); /* 0x2F010A50: mov edi, dword ptr [ebp + 0x10] */ 8382 ebx = MEM32(ebp + 0x14); /* 0x2F010A53: mov ebx, dword ptr [ebp + 0x14] */ 8383 MEM32(eax + 0x4) = edi; /* 0x2F010A56: mov dword ptr [eax + 4], edi */ 8384 MEM8(eax + 0x20) = (uint8_t)(0); /* 0x2F010A59: mov byte ptr [eax + 0x20], 0 */ 8385 MEM8(eax + 0x21) = (uint8_t)(0); /* 0x2F010A5D: mov byte ptr [eax + 0x21], 0 */ 8386 ecx = MEM32(esi + 0x8); /* 0x2F010A61: mov ecx, dword ptr [esi + 8] */ 8387 MEM32(eax) = ecx; /* 0x2F010A64: mov dword ptr [eax], ecx */ 8388 edx = MEM32(esi + 0x8); /* 0x2F010A66: mov edx, dword ptr [esi + 8] */ 8389 MEM32(ebp + (-0x4)) = eax; /* 0x2F010A69: mov dword ptr [ebp - 4], eax */ 8390 MEM32(eax + 0x8) = edx; /* 0x2F010A6C: mov dword ptr [eax + 8], edx */ 8391 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu); 8392 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8393 eax = eax + 0xCu; /* 0x2F010A6F: add eax, 0xc */ 8394 _flag_k = FK_ADD; 8395 PUSH32(esp, ebx); /* 0x2F010A72: push ebx */ 8396 PUSH32(esp, eax); /* 0x2F010A73: push eax */ 8397 RECOMP_ICALL(0x2F0111B0u); /* 0x2F010A74: call 0x2f0111b0 */ /* not lifted */ 8398 RECOMP_FLAGS_IN(); 8399 ecx = MEM32(esi + 0x10); /* 0x2F010A79: mov ecx, dword ptr [esi + 0x10] */ 8400 eax = MEM32(esi + 0x4); /* 0x2F010A7C: mov eax, dword ptr [esi + 4] */ 8401 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 8402 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8403 esp = esp + 0xCu; /* 0x2F010A7F: add esp, 0xc */ 8404 _flag_k = FK_ADD; 8405 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 8406 ecx = ecx + 1; /* 0x2F010A82: inc ecx */ 8407 _flag_k = FK_INC; 8408 /* cmp edi, eax */ /* 0x2F010A83: cmp edi, eax */ 8409 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 8410 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8411 _flag_k = FK_CMP; 8412 MEM32(esi + 0x10) = ecx; /* 0x2F010A85: mov dword ptr [esi + 0x10], ecx */ 8413 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010AB9; /* 0x2F010A88: je 0x2f010ab9 */ 8414 L_2F010A8A: 8415 eax = MEM32(ebp + 0xC); /* 0x2F010A8A: mov eax, dword ptr [ebp + 0xc] */ 8416 ecx = MEM32(esi + 0x8); /* 0x2F010A8D: mov ecx, dword ptr [esi + 8] */ 8417 /* cmp eax, ecx */ /* 0x2F010A90: cmp eax, ecx */ 8418 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 8419 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8420 _flag_k = FK_CMP; 8421 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010AB9; /* 0x2F010A92: jne 0x2f010ab9 */ 8422 L_2F010A94: 8423 ecx = edi + 0xC; /* 0x2F010A94: lea ecx, [edi + 0xc] */ 8424 PUSH32(esp, ecx); /* 0x2F010A97: push ecx */ 8425 PUSH32(esp, ebx); /* 0x2F010A98: push ebx */ 8426 RECOMP_ICALL(MEM32(0x2F013160)); /* 0x2F010A99: call dword ptr [0x2f013160] */ 8427 RECOMP_FLAGS_IN(); 8428 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 8429 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 8430 esp = esp + 8; /* 0x2F010A9F: add esp, 8 */ 8431 _flag_k = FK_ADD; 8432 /* test LO8(eax), LO8(eax) */ /* 0x2F010AA2: test al, al */ 8433 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 8434 _cf = 0; 8435 _flag_k = FK_NARROW(FK_TEST, 24); 8436 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F010AB9; /* 0x2F010AA4: jne 0x2f010ab9 */ 8437 L_2F010AA6: 8438 ecx = MEM32(ebp + (-0x4)); /* 0x2F010AA6: mov ecx, dword ptr [ebp - 4] */ 8439 MEM32(edi + 0x8) = ecx; /* 0x2F010AA9: mov dword ptr [edi + 8], ecx */ 8440 eax = MEM32(esi + 0x4); /* 0x2F010AAC: mov eax, dword ptr [esi + 4] */ 8441 /* cmp edi, MEM32(eax + 0x8) */ /* 0x2F010AAF: cmp edi, dword ptr [eax + 8] */ 8442 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 8443 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8444 _flag_k = FK_CMP; 8445 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010AD9; /* 0x2F010AB2: jne 0x2f010ad9 */ 8446 L_2F010AB4: 8447 MEM32(eax + 0x8) = ecx; /* 0x2F010AB4: mov dword ptr [eax + 8], ecx */ 8448 goto L_2F010AD9; /* 0x2F010AB7: jmp 0x2f010ad9 */ 8449 L_2F010AB9: 8450 ecx = MEM32(ebp + (-0x4)); /* 0x2F010AB9: mov ecx, dword ptr [ebp - 4] */ 8451 MEM32(edi) = ecx; /* 0x2F010ABC: mov dword ptr [edi], ecx */ 8452 eax = MEM32(esi + 0x4); /* 0x2F010ABE: mov eax, dword ptr [esi + 4] */ 8453 /* cmp edi, eax */ /* 0x2F010AC1: cmp edi, eax */ 8454 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 8455 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8456 _flag_k = FK_CMP; 8457 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010AD0; /* 0x2F010AC3: jne 0x2f010ad0 */ 8458 L_2F010AC5: 8459 MEM32(eax + 0x4) = ecx; /* 0x2F010AC5: mov dword ptr [eax + 4], ecx */ 8460 edx = MEM32(esi + 0x4); /* 0x2F010AC8: mov edx, dword ptr [esi + 4] */ 8461 MEM32(edx + 0x8) = ecx; /* 0x2F010ACB: mov dword ptr [edx + 8], ecx */ 8462 goto L_2F010AD9; /* 0x2F010ACE: jmp 0x2f010ad9 */ 8463 L_2F010AD0: 8464 /* cmp edi, MEM32(eax) */ /* 0x2F010AD0: cmp edi, dword ptr [eax] */ 8465 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax)); 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_2F010AD9; /* 0x2F010AD2: jne 0x2f010ad9 */ 8469 L_2F010AD4: 8470 ecx = MEM32(ebp + (-0x4)); /* 0x2F010AD4: mov ecx, dword ptr [ebp - 4] */ 8471 MEM32(eax) = ecx; /* 0x2F010AD7: mov dword ptr [eax], ecx */ 8472 L_2F010AD9: 8473 edx = MEM32(esi + 0x4); /* 0x2F010AD9: mov edx, dword ptr [esi + 4] */ 8474 eax = MEM32(ebp + (-0x4)); /* 0x2F010ADC: mov eax, dword ptr [ebp - 4] */ 8475 SET_LO8(ebx, 1); /* 0x2F010ADF: mov bl, 1 */ 8476 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010AE1: cmp eax, dword ptr [edx + 4] */ 8477 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 8478 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8479 _flag_k = FK_CMP; 8480 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010C6A; /* 0x2F010AE4: je 0x2f010c6a */ 8481 L_2F010AEA: 8482 ecx = MEM32(eax + 0x4); /* 0x2F010AEA: mov ecx, dword ptr [eax + 4] */ 8483 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x2F010AED: mov dl, byte ptr [ecx + 0x20] */ 8484 /* test LO8(edx), LO8(edx) */ /* 0x2F010AF0: test dl, dl */ 8485 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 8486 _cf = 0; 8487 _flag_k = FK_NARROW(FK_TEST, 24); 8488 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F010C6A; /* 0x2F010AF2: jne 0x2f010c6a */ 8489 L_2F010AF8: 8490 edi = MEM32(ecx + 0x4); /* 0x2F010AF8: mov edi, dword ptr [ecx + 4] */ 8491 edx = MEM32(edi); /* 0x2F010AFB: mov edx, dword ptr [edi] */ 8492 /* cmp ecx, edx */ /* 0x2F010AFD: cmp ecx, edx */ 8493 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 8494 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8495 _flag_k = FK_CMP; 8496 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BC6; /* 0x2F010AFF: jne 0x2f010bc6 */ 8497 L_2F010B05: 8498 edx = MEM32(edi + 0x8); /* 0x2F010B05: mov edx, dword ptr [edi + 8] */ 8499 /* cmp MEM8(edx + 0x20), 0 */ /* 0x2F010B08: cmp byte ptr [edx + 0x20], 0 */ 8500 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 8501 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8502 _flag_k = FK_NARROW(FK_CMP, 24); 8503 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B29; /* 0x2F010B0C: jne 0x2f010b29 */ 8504 L_2F010B0E: 8505 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010B0E: mov byte ptr [ecx + 0x20], bl */ 8506 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010B11: mov byte ptr [edx + 0x20], bl */ 8507 ecx = MEM32(eax + 0x4); /* 0x2F010B14: mov ecx, dword ptr [eax + 4] */ 8508 edx = MEM32(ecx + 0x4); /* 0x2F010B17: mov edx, dword ptr [ecx + 4] */ 8509 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x2F010B1A: mov byte ptr [edx + 0x20], 0 */ 8510 eax = MEM32(eax + 0x4); /* 0x2F010B1E: mov eax, dword ptr [eax + 4] */ 8511 eax = MEM32(eax + 0x4); /* 0x2F010B21: mov eax, dword ptr [eax + 4] */ 8512 goto L_2F010C5E; /* 0x2F010B24: jmp 0x2f010c5e */ 8513 L_2F010B29: 8514 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2F010B29: cmp eax, dword ptr [ecx + 8] */ 8515 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 8516 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8517 _flag_k = FK_CMP; 8518 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B68; /* 0x2F010B2C: jne 0x2f010b68 */ 8519 L_2F010B2E: 8520 eax = ecx; /* 0x2F010B2E: mov eax, ecx */ 8521 ecx = MEM32(eax + 0x8); /* 0x2F010B30: mov ecx, dword ptr [eax + 8] */ 8522 edx = MEM32(ecx); /* 0x2F010B33: mov edx, dword ptr [ecx] */ 8523 MEM32(eax + 0x8) = edx; /* 0x2F010B35: mov dword ptr [eax + 8], edx */ 8524 edx = MEM32(ecx); /* 0x2F010B38: mov edx, dword ptr [ecx] */ 8525 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010B3A: cmp edx, dword ptr [esi + 8] */ 8526 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8527 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8528 _flag_k = FK_CMP; 8529 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010B42; /* 0x2F010B3D: je 0x2f010b42 */ 8530 L_2F010B3F: 8531 MEM32(edx + 0x4) = eax; /* 0x2F010B3F: mov dword ptr [edx + 4], eax */ 8532 L_2F010B42: 8533 edx = MEM32(eax + 0x4); /* 0x2F010B42: mov edx, dword ptr [eax + 4] */ 8534 MEM32(ecx + 0x4) = edx; /* 0x2F010B45: mov dword ptr [ecx + 4], edx */ 8535 edx = MEM32(esi + 0x4); /* 0x2F010B48: mov edx, dword ptr [esi + 4] */ 8536 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010B4B: cmp eax, dword ptr [edx + 4] */ 8537 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 8538 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8539 _flag_k = FK_CMP; 8540 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B55; /* 0x2F010B4E: jne 0x2f010b55 */ 8541 L_2F010B50: 8542 MEM32(edx + 0x4) = ecx; /* 0x2F010B50: mov dword ptr [edx + 4], ecx */ 8543 goto L_2F010B63; /* 0x2F010B53: jmp 0x2f010b63 */ 8544 L_2F010B55: 8545 edx = MEM32(eax + 0x4); /* 0x2F010B55: mov edx, dword ptr [eax + 4] */ 8546 /* cmp eax, MEM32(edx) */ /* 0x2F010B58: cmp eax, dword ptr [edx] */ 8547 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 8548 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8549 _flag_k = FK_CMP; 8550 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B60; /* 0x2F010B5A: jne 0x2f010b60 */ 8551 L_2F010B5C: 8552 MEM32(edx) = ecx; /* 0x2F010B5C: mov dword ptr [edx], ecx */ 8553 goto L_2F010B63; /* 0x2F010B5E: jmp 0x2f010b63 */ 8554 L_2F010B60: 8555 MEM32(edx + 0x8) = ecx; /* 0x2F010B60: mov dword ptr [edx + 8], ecx */ 8556 L_2F010B63: 8557 MEM32(ecx) = eax; /* 0x2F010B63: mov dword ptr [ecx], eax */ 8558 MEM32(eax + 0x4) = ecx; /* 0x2F010B65: mov dword ptr [eax + 4], ecx */ 8559 L_2F010B68: 8560 ecx = MEM32(eax + 0x4); /* 0x2F010B68: mov ecx, dword ptr [eax + 4] */ 8561 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010B6B: mov byte ptr [ecx + 0x20], bl */ 8562 edx = MEM32(eax + 0x4); /* 0x2F010B6E: mov edx, dword ptr [eax + 4] */ 8563 ecx = MEM32(edx + 0x4); /* 0x2F010B71: mov ecx, dword ptr [edx + 4] */ 8564 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010B74: mov byte ptr [ecx + 0x20], 0 */ 8565 edx = MEM32(eax + 0x4); /* 0x2F010B78: mov edx, dword ptr [eax + 4] */ 8566 ecx = MEM32(edx + 0x4); /* 0x2F010B7B: mov ecx, dword ptr [edx + 4] */ 8567 edx = MEM32(ecx); /* 0x2F010B7E: mov edx, dword ptr [ecx] */ 8568 edi = MEM32(edx + 0x8); /* 0x2F010B80: mov edi, dword ptr [edx + 8] */ 8569 MEM32(ecx) = edi; /* 0x2F010B83: mov dword ptr [ecx], edi */ 8570 edi = MEM32(edx + 0x8); /* 0x2F010B85: mov edi, dword ptr [edx + 8] */ 8571 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010B88: cmp edi, dword ptr [esi + 8] */ 8572 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8573 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8574 _flag_k = FK_CMP; 8575 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010B90; /* 0x2F010B8B: je 0x2f010b90 */ 8576 L_2F010B8D: 8577 MEM32(edi + 0x4) = ecx; /* 0x2F010B8D: mov dword ptr [edi + 4], ecx */ 8578 L_2F010B90: 8579 edi = MEM32(ecx + 0x4); /* 0x2F010B90: mov edi, dword ptr [ecx + 4] */ 8580 MEM32(edx + 0x4) = edi; /* 0x2F010B93: mov dword ptr [edx + 4], edi */ 8581 edi = MEM32(esi + 0x4); /* 0x2F010B96: mov edi, dword ptr [esi + 4] */ 8582 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010B99: cmp ecx, dword ptr [edi + 4] */ 8583 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 8584 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8585 _flag_k = FK_CMP; 8586 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BA9; /* 0x2F010B9C: jne 0x2f010ba9 */ 8587 L_2F010B9E: 8588 MEM32(edi + 0x4) = edx; /* 0x2F010B9E: mov dword ptr [edi + 4], edx */ 8589 MEM32(edx + 0x8) = ecx; /* 0x2F010BA1: mov dword ptr [edx + 8], ecx */ 8590 goto L_2F010C5B; /* 0x2F010BA4: jmp 0x2f010c5b */ 8591 L_2F010BA9: 8592 edi = MEM32(ecx + 0x4); /* 0x2F010BA9: mov edi, dword ptr [ecx + 4] */ 8593 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2F010BAC: cmp ecx, dword ptr [edi + 8] */ 8594 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8595 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8596 _flag_k = FK_CMP; 8597 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BBC; /* 0x2F010BAF: jne 0x2f010bbc */ 8598 L_2F010BB1: 8599 MEM32(edi + 0x8) = edx; /* 0x2F010BB1: mov dword ptr [edi + 8], edx */ 8600 MEM32(edx + 0x8) = ecx; /* 0x2F010BB4: mov dword ptr [edx + 8], ecx */ 8601 goto L_2F010C5B; /* 0x2F010BB7: jmp 0x2f010c5b */ 8602 L_2F010BBC: 8603 MEM32(edi) = edx; /* 0x2F010BBC: mov dword ptr [edi], edx */ 8604 MEM32(edx + 0x8) = ecx; /* 0x2F010BBE: mov dword ptr [edx + 8], ecx */ 8605 goto L_2F010C5B; /* 0x2F010BC1: jmp 0x2f010c5b */ 8606 L_2F010BC6: 8607 /* cmp MEM8(edx + 0x20), 0 */ /* 0x2F010BC6: cmp byte ptr [edx + 0x20], 0 */ 8608 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 8609 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8610 _flag_k = FK_NARROW(FK_CMP, 24); 8611 RECOMP_BACKEDGE(); 8612 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010B0E; /* 0x2F010BCA: je 0x2f010b0e */ 8613 L_2F010BD0: 8614 /* cmp eax, MEM32(ecx) */ /* 0x2F010BD0: cmp eax, dword ptr [ecx] */ 8615 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 8616 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8617 _flag_k = FK_CMP; 8618 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C10; /* 0x2F010BD2: jne 0x2f010c10 */ 8619 L_2F010BD4: 8620 eax = ecx; /* 0x2F010BD4: mov eax, ecx */ 8621 ecx = MEM32(eax); /* 0x2F010BD6: mov ecx, dword ptr [eax] */ 8622 edx = MEM32(ecx + 0x8); /* 0x2F010BD8: mov edx, dword ptr [ecx + 8] */ 8623 MEM32(eax) = edx; /* 0x2F010BDB: mov dword ptr [eax], edx */ 8624 edx = MEM32(ecx + 0x8); /* 0x2F010BDD: mov edx, dword ptr [ecx + 8] */ 8625 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010BE0: cmp edx, dword ptr [esi + 8] */ 8626 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8627 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8628 _flag_k = FK_CMP; 8629 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010BE8; /* 0x2F010BE3: je 0x2f010be8 */ 8630 L_2F010BE5: 8631 MEM32(edx + 0x4) = eax; /* 0x2F010BE5: mov dword ptr [edx + 4], eax */ 8632 L_2F010BE8: 8633 edx = MEM32(eax + 0x4); /* 0x2F010BE8: mov edx, dword ptr [eax + 4] */ 8634 MEM32(ecx + 0x4) = edx; /* 0x2F010BEB: mov dword ptr [ecx + 4], edx */ 8635 edx = MEM32(esi + 0x4); /* 0x2F010BEE: mov edx, dword ptr [esi + 4] */ 8636 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010BF1: cmp eax, dword ptr [edx + 4] */ 8637 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 8638 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8639 _flag_k = FK_CMP; 8640 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BFB; /* 0x2F010BF4: jne 0x2f010bfb */ 8641 L_2F010BF6: 8642 MEM32(edx + 0x4) = ecx; /* 0x2F010BF6: mov dword ptr [edx + 4], ecx */ 8643 goto L_2F010C0A; /* 0x2F010BF9: jmp 0x2f010c0a */ 8644 L_2F010BFB: 8645 edx = MEM32(eax + 0x4); /* 0x2F010BFB: mov edx, dword ptr [eax + 4] */ 8646 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2F010BFE: cmp eax, dword ptr [edx + 8] */ 8647 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 8648 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8649 _flag_k = FK_CMP; 8650 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C08; /* 0x2F010C01: jne 0x2f010c08 */ 8651 L_2F010C03: 8652 MEM32(edx + 0x8) = ecx; /* 0x2F010C03: mov dword ptr [edx + 8], ecx */ 8653 goto L_2F010C0A; /* 0x2F010C06: jmp 0x2f010c0a */ 8654 L_2F010C08: 8655 MEM32(edx) = ecx; /* 0x2F010C08: mov dword ptr [edx], ecx */ 8656 L_2F010C0A: 8657 MEM32(ecx + 0x8) = eax; /* 0x2F010C0A: mov dword ptr [ecx + 8], eax */ 8658 MEM32(eax + 0x4) = ecx; /* 0x2F010C0D: mov dword ptr [eax + 4], ecx */ 8659 L_2F010C10: 8660 ecx = MEM32(eax + 0x4); /* 0x2F010C10: mov ecx, dword ptr [eax + 4] */ 8661 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010C13: mov byte ptr [ecx + 0x20], bl */ 8662 edx = MEM32(eax + 0x4); /* 0x2F010C16: mov edx, dword ptr [eax + 4] */ 8663 ecx = MEM32(edx + 0x4); /* 0x2F010C19: mov ecx, dword ptr [edx + 4] */ 8664 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010C1C: mov byte ptr [ecx + 0x20], 0 */ 8665 edx = MEM32(eax + 0x4); /* 0x2F010C20: mov edx, dword ptr [eax + 4] */ 8666 ecx = MEM32(edx + 0x4); /* 0x2F010C23: mov ecx, dword ptr [edx + 4] */ 8667 edx = MEM32(ecx + 0x8); /* 0x2F010C26: mov edx, dword ptr [ecx + 8] */ 8668 edi = MEM32(edx); /* 0x2F010C29: mov edi, dword ptr [edx] */ 8669 MEM32(ecx + 0x8) = edi; /* 0x2F010C2B: mov dword ptr [ecx + 8], edi */ 8670 edi = MEM32(edx); /* 0x2F010C2E: mov edi, dword ptr [edx] */ 8671 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010C30: cmp edi, dword ptr [esi + 8] */ 8672 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8673 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8674 _flag_k = FK_CMP; 8675 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010C38; /* 0x2F010C33: je 0x2f010c38 */ 8676 L_2F010C35: 8677 MEM32(edi + 0x4) = ecx; /* 0x2F010C35: mov dword ptr [edi + 4], ecx */ 8678 L_2F010C38: 8679 edi = MEM32(ecx + 0x4); /* 0x2F010C38: mov edi, dword ptr [ecx + 4] */ 8680 MEM32(edx + 0x4) = edi; /* 0x2F010C3B: mov dword ptr [edx + 4], edi */ 8681 edi = MEM32(esi + 0x4); /* 0x2F010C3E: mov edi, dword ptr [esi + 4] */ 8682 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010C41: cmp ecx, dword ptr [edi + 4] */ 8683 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 8684 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8685 _flag_k = FK_CMP; 8686 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C4B; /* 0x2F010C44: jne 0x2f010c4b */ 8687 L_2F010C46: 8688 MEM32(edi + 0x4) = edx; /* 0x2F010C46: mov dword ptr [edi + 4], edx */ 8689 goto L_2F010C59; /* 0x2F010C49: jmp 0x2f010c59 */ 8690 L_2F010C4B: 8691 edi = MEM32(ecx + 0x4); /* 0x2F010C4B: mov edi, dword ptr [ecx + 4] */ 8692 /* cmp ecx, MEM32(edi) */ /* 0x2F010C4E: cmp ecx, dword ptr [edi] */ 8693 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 8694 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8695 _flag_k = FK_CMP; 8696 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C56; /* 0x2F010C50: jne 0x2f010c56 */ 8697 L_2F010C52: 8698 MEM32(edi) = edx; /* 0x2F010C52: mov dword ptr [edi], edx */ 8699 goto L_2F010C59; /* 0x2F010C54: jmp 0x2f010c59 */ 8700 L_2F010C56: 8701 MEM32(edi + 0x8) = edx; /* 0x2F010C56: mov dword ptr [edi + 8], edx */ 8702 L_2F010C59: 8703 MEM32(edx) = ecx; /* 0x2F010C59: mov dword ptr [edx], ecx */ 8704 L_2F010C5B: 8705 MEM32(ecx + 0x4) = edx; /* 0x2F010C5B: mov dword ptr [ecx + 4], edx */ 8706 L_2F010C5E: 8707 ecx = MEM32(esi + 0x4); /* 0x2F010C5E: mov ecx, dword ptr [esi + 4] */ 8708 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F010C61: cmp eax, dword ptr [ecx + 4] */ 8709 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 8710 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8711 _flag_k = FK_CMP; 8712 RECOMP_BACKEDGE(); 8713 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010AEA; /* 0x2F010C64: jne 0x2f010aea */ 8714 L_2F010C6A: 8715 edx = MEM32(esi + 0x4); /* 0x2F010C6A: mov edx, dword ptr [esi + 4] */ 8716 ecx = MEM32(ebp + (-0x4)); /* 0x2F010C6D: mov ecx, dword ptr [ebp - 4] */ 8717 edi = POP32_VAL(esp); /* 0x2F010C70: pop edi */ 8718 esi = POP32_VAL(esp); /* 0x2F010C71: pop esi */ 8719 eax = MEM32(edx + 0x4); /* 0x2F010C72: mov eax, dword ptr [edx + 4] */ 8720 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010C75: mov byte ptr [eax + 0x20], bl */ 8721 eax = MEM32(ebp + 0x8); /* 0x2F010C78: mov eax, dword ptr [ebp + 8] */ 8722 ebx = POP32_VAL(esp); /* 0x2F010C7B: pop ebx */ 8723 MEM32(eax) = ecx; /* 0x2F010C7C: mov dword ptr [eax], ecx */ 8724 esp = ebp; /* 0x2F010C7E: mov esp, ebp */ 8725 ebp = POP32_VAL(esp); /* 0x2F010C80: pop ebp */ 8726 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2F010C81: ret 0x10 */ 8727 RECOMP_REGS_OUT(); 8728 } 8729 8730 void sub_2F010AEA(void) { 8731 int _fpu_cmp = 0; 8732 uint32_t _cf = 0; 8733 int _df = 1; 8734 uint32_t _flag_k = FK_NONE; 8735 uint32_t _flag_a = 0, _flag_b = 0; 8736 uint32_t _itail_tgt = 0; 8737 RECOMP_REGS_LOCALS 8738 RECOMP_ENTER(0x2F010AEAu); 8739 8740 L_2F010AEA: 8741 ecx = MEM32(eax + 0x4); /* 0x2F010AEA: mov ecx, dword ptr [eax + 4] */ 8742 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x2F010AED: mov dl, byte ptr [ecx + 0x20] */ 8743 /* test LO8(edx), LO8(edx) */ /* 0x2F010AF0: test dl, dl */ 8744 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 8745 _cf = 0; 8746 _flag_k = FK_NARROW(FK_TEST, 24); 8747 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F010C6A; /* 0x2F010AF2: jne 0x2f010c6a */ 8748 L_2F010AF8: 8749 edi = MEM32(ecx + 0x4); /* 0x2F010AF8: mov edi, dword ptr [ecx + 4] */ 8750 edx = MEM32(edi); /* 0x2F010AFB: mov edx, dword ptr [edi] */ 8751 /* cmp ecx, edx */ /* 0x2F010AFD: cmp ecx, edx */ 8752 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 8753 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8754 _flag_k = FK_CMP; 8755 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BC6; /* 0x2F010AFF: jne 0x2f010bc6 */ 8756 L_2F010B05: 8757 edx = MEM32(edi + 0x8); /* 0x2F010B05: mov edx, dword ptr [edi + 8] */ 8758 /* cmp MEM8(edx + 0x20), 0 */ /* 0x2F010B08: cmp byte ptr [edx + 0x20], 0 */ 8759 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 8760 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8761 _flag_k = FK_NARROW(FK_CMP, 24); 8762 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B29; /* 0x2F010B0C: jne 0x2f010b29 */ 8763 L_2F010B0E: 8764 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010B0E: mov byte ptr [ecx + 0x20], bl */ 8765 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010B11: mov byte ptr [edx + 0x20], bl */ 8766 ecx = MEM32(eax + 0x4); /* 0x2F010B14: mov ecx, dword ptr [eax + 4] */ 8767 edx = MEM32(ecx + 0x4); /* 0x2F010B17: mov edx, dword ptr [ecx + 4] */ 8768 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x2F010B1A: mov byte ptr [edx + 0x20], 0 */ 8769 eax = MEM32(eax + 0x4); /* 0x2F010B1E: mov eax, dword ptr [eax + 4] */ 8770 eax = MEM32(eax + 0x4); /* 0x2F010B21: mov eax, dword ptr [eax + 4] */ 8771 goto L_2F010C5E; /* 0x2F010B24: jmp 0x2f010c5e */ 8772 L_2F010B29: 8773 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2F010B29: cmp eax, dword ptr [ecx + 8] */ 8774 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 8775 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8776 _flag_k = FK_CMP; 8777 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B68; /* 0x2F010B2C: jne 0x2f010b68 */ 8778 L_2F010B2E: 8779 eax = ecx; /* 0x2F010B2E: mov eax, ecx */ 8780 ecx = MEM32(eax + 0x8); /* 0x2F010B30: mov ecx, dword ptr [eax + 8] */ 8781 edx = MEM32(ecx); /* 0x2F010B33: mov edx, dword ptr [ecx] */ 8782 MEM32(eax + 0x8) = edx; /* 0x2F010B35: mov dword ptr [eax + 8], edx */ 8783 edx = MEM32(ecx); /* 0x2F010B38: mov edx, dword ptr [ecx] */ 8784 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010B3A: cmp edx, dword ptr [esi + 8] */ 8785 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8786 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8787 _flag_k = FK_CMP; 8788 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010B42; /* 0x2F010B3D: je 0x2f010b42 */ 8789 L_2F010B3F: 8790 MEM32(edx + 0x4) = eax; /* 0x2F010B3F: mov dword ptr [edx + 4], eax */ 8791 L_2F010B42: 8792 edx = MEM32(eax + 0x4); /* 0x2F010B42: mov edx, dword ptr [eax + 4] */ 8793 MEM32(ecx + 0x4) = edx; /* 0x2F010B45: mov dword ptr [ecx + 4], edx */ 8794 edx = MEM32(esi + 0x4); /* 0x2F010B48: mov edx, dword ptr [esi + 4] */ 8795 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010B4B: cmp eax, dword ptr [edx + 4] */ 8796 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 8797 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8798 _flag_k = FK_CMP; 8799 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B55; /* 0x2F010B4E: jne 0x2f010b55 */ 8800 L_2F010B50: 8801 MEM32(edx + 0x4) = ecx; /* 0x2F010B50: mov dword ptr [edx + 4], ecx */ 8802 goto L_2F010B63; /* 0x2F010B53: jmp 0x2f010b63 */ 8803 L_2F010B55: 8804 edx = MEM32(eax + 0x4); /* 0x2F010B55: mov edx, dword ptr [eax + 4] */ 8805 /* cmp eax, MEM32(edx) */ /* 0x2F010B58: cmp eax, dword ptr [edx] */ 8806 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 8807 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8808 _flag_k = FK_CMP; 8809 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B60; /* 0x2F010B5A: jne 0x2f010b60 */ 8810 L_2F010B5C: 8811 MEM32(edx) = ecx; /* 0x2F010B5C: mov dword ptr [edx], ecx */ 8812 goto L_2F010B63; /* 0x2F010B5E: jmp 0x2f010b63 */ 8813 L_2F010B60: 8814 MEM32(edx + 0x8) = ecx; /* 0x2F010B60: mov dword ptr [edx + 8], ecx */ 8815 L_2F010B63: 8816 MEM32(ecx) = eax; /* 0x2F010B63: mov dword ptr [ecx], eax */ 8817 MEM32(eax + 0x4) = ecx; /* 0x2F010B65: mov dword ptr [eax + 4], ecx */ 8818 L_2F010B68: 8819 ecx = MEM32(eax + 0x4); /* 0x2F010B68: mov ecx, dword ptr [eax + 4] */ 8820 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010B6B: mov byte ptr [ecx + 0x20], bl */ 8821 edx = MEM32(eax + 0x4); /* 0x2F010B6E: mov edx, dword ptr [eax + 4] */ 8822 ecx = MEM32(edx + 0x4); /* 0x2F010B71: mov ecx, dword ptr [edx + 4] */ 8823 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010B74: mov byte ptr [ecx + 0x20], 0 */ 8824 edx = MEM32(eax + 0x4); /* 0x2F010B78: mov edx, dword ptr [eax + 4] */ 8825 ecx = MEM32(edx + 0x4); /* 0x2F010B7B: mov ecx, dword ptr [edx + 4] */ 8826 edx = MEM32(ecx); /* 0x2F010B7E: mov edx, dword ptr [ecx] */ 8827 edi = MEM32(edx + 0x8); /* 0x2F010B80: mov edi, dword ptr [edx + 8] */ 8828 MEM32(ecx) = edi; /* 0x2F010B83: mov dword ptr [ecx], edi */ 8829 edi = MEM32(edx + 0x8); /* 0x2F010B85: mov edi, dword ptr [edx + 8] */ 8830 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010B88: cmp edi, dword ptr [esi + 8] */ 8831 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8832 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8833 _flag_k = FK_CMP; 8834 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010B90; /* 0x2F010B8B: je 0x2f010b90 */ 8835 L_2F010B8D: 8836 MEM32(edi + 0x4) = ecx; /* 0x2F010B8D: mov dword ptr [edi + 4], ecx */ 8837 L_2F010B90: 8838 edi = MEM32(ecx + 0x4); /* 0x2F010B90: mov edi, dword ptr [ecx + 4] */ 8839 MEM32(edx + 0x4) = edi; /* 0x2F010B93: mov dword ptr [edx + 4], edi */ 8840 edi = MEM32(esi + 0x4); /* 0x2F010B96: mov edi, dword ptr [esi + 4] */ 8841 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010B99: cmp ecx, dword ptr [edi + 4] */ 8842 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 8843 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8844 _flag_k = FK_CMP; 8845 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BA9; /* 0x2F010B9C: jne 0x2f010ba9 */ 8846 L_2F010B9E: 8847 MEM32(edi + 0x4) = edx; /* 0x2F010B9E: mov dword ptr [edi + 4], edx */ 8848 MEM32(edx + 0x8) = ecx; /* 0x2F010BA1: mov dword ptr [edx + 8], ecx */ 8849 goto L_2F010C5B; /* 0x2F010BA4: jmp 0x2f010c5b */ 8850 L_2F010BA9: 8851 edi = MEM32(ecx + 0x4); /* 0x2F010BA9: mov edi, dword ptr [ecx + 4] */ 8852 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2F010BAC: cmp ecx, dword ptr [edi + 8] */ 8853 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8854 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8855 _flag_k = FK_CMP; 8856 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BBC; /* 0x2F010BAF: jne 0x2f010bbc */ 8857 L_2F010BB1: 8858 MEM32(edi + 0x8) = edx; /* 0x2F010BB1: mov dword ptr [edi + 8], edx */ 8859 MEM32(edx + 0x8) = ecx; /* 0x2F010BB4: mov dword ptr [edx + 8], ecx */ 8860 goto L_2F010C5B; /* 0x2F010BB7: jmp 0x2f010c5b */ 8861 L_2F010BBC: 8862 MEM32(edi) = edx; /* 0x2F010BBC: mov dword ptr [edi], edx */ 8863 MEM32(edx + 0x8) = ecx; /* 0x2F010BBE: mov dword ptr [edx + 8], ecx */ 8864 goto L_2F010C5B; /* 0x2F010BC1: jmp 0x2f010c5b */ 8865 L_2F010BC6: 8866 /* cmp MEM8(edx + 0x20), 0 */ /* 0x2F010BC6: cmp byte ptr [edx + 0x20], 0 */ 8867 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 8868 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8869 _flag_k = FK_NARROW(FK_CMP, 24); 8870 RECOMP_BACKEDGE(); 8871 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010B0E; /* 0x2F010BCA: je 0x2f010b0e */ 8872 L_2F010BD0: 8873 /* cmp eax, MEM32(ecx) */ /* 0x2F010BD0: cmp eax, dword ptr [ecx] */ 8874 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 8875 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8876 _flag_k = FK_CMP; 8877 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C10; /* 0x2F010BD2: jne 0x2f010c10 */ 8878 L_2F010BD4: 8879 eax = ecx; /* 0x2F010BD4: mov eax, ecx */ 8880 ecx = MEM32(eax); /* 0x2F010BD6: mov ecx, dword ptr [eax] */ 8881 edx = MEM32(ecx + 0x8); /* 0x2F010BD8: mov edx, dword ptr [ecx + 8] */ 8882 MEM32(eax) = edx; /* 0x2F010BDB: mov dword ptr [eax], edx */ 8883 edx = MEM32(ecx + 0x8); /* 0x2F010BDD: mov edx, dword ptr [ecx + 8] */ 8884 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010BE0: cmp edx, dword ptr [esi + 8] */ 8885 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8886 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8887 _flag_k = FK_CMP; 8888 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010BE8; /* 0x2F010BE3: je 0x2f010be8 */ 8889 L_2F010BE5: 8890 MEM32(edx + 0x4) = eax; /* 0x2F010BE5: mov dword ptr [edx + 4], eax */ 8891 L_2F010BE8: 8892 edx = MEM32(eax + 0x4); /* 0x2F010BE8: mov edx, dword ptr [eax + 4] */ 8893 MEM32(ecx + 0x4) = edx; /* 0x2F010BEB: mov dword ptr [ecx + 4], edx */ 8894 edx = MEM32(esi + 0x4); /* 0x2F010BEE: mov edx, dword ptr [esi + 4] */ 8895 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010BF1: cmp eax, dword ptr [edx + 4] */ 8896 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 8897 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8898 _flag_k = FK_CMP; 8899 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BFB; /* 0x2F010BF4: jne 0x2f010bfb */ 8900 L_2F010BF6: 8901 MEM32(edx + 0x4) = ecx; /* 0x2F010BF6: mov dword ptr [edx + 4], ecx */ 8902 goto L_2F010C0A; /* 0x2F010BF9: jmp 0x2f010c0a */ 8903 L_2F010BFB: 8904 edx = MEM32(eax + 0x4); /* 0x2F010BFB: mov edx, dword ptr [eax + 4] */ 8905 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2F010BFE: cmp eax, dword ptr [edx + 8] */ 8906 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 8907 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8908 _flag_k = FK_CMP; 8909 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C08; /* 0x2F010C01: jne 0x2f010c08 */ 8910 L_2F010C03: 8911 MEM32(edx + 0x8) = ecx; /* 0x2F010C03: mov dword ptr [edx + 8], ecx */ 8912 goto L_2F010C0A; /* 0x2F010C06: jmp 0x2f010c0a */ 8913 L_2F010C08: 8914 MEM32(edx) = ecx; /* 0x2F010C08: mov dword ptr [edx], ecx */ 8915 L_2F010C0A: 8916 MEM32(ecx + 0x8) = eax; /* 0x2F010C0A: mov dword ptr [ecx + 8], eax */ 8917 MEM32(eax + 0x4) = ecx; /* 0x2F010C0D: mov dword ptr [eax + 4], ecx */ 8918 L_2F010C10: 8919 ecx = MEM32(eax + 0x4); /* 0x2F010C10: mov ecx, dword ptr [eax + 4] */ 8920 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010C13: mov byte ptr [ecx + 0x20], bl */ 8921 edx = MEM32(eax + 0x4); /* 0x2F010C16: mov edx, dword ptr [eax + 4] */ 8922 ecx = MEM32(edx + 0x4); /* 0x2F010C19: mov ecx, dword ptr [edx + 4] */ 8923 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010C1C: mov byte ptr [ecx + 0x20], 0 */ 8924 edx = MEM32(eax + 0x4); /* 0x2F010C20: mov edx, dword ptr [eax + 4] */ 8925 ecx = MEM32(edx + 0x4); /* 0x2F010C23: mov ecx, dword ptr [edx + 4] */ 8926 edx = MEM32(ecx + 0x8); /* 0x2F010C26: mov edx, dword ptr [ecx + 8] */ 8927 edi = MEM32(edx); /* 0x2F010C29: mov edi, dword ptr [edx] */ 8928 MEM32(ecx + 0x8) = edi; /* 0x2F010C2B: mov dword ptr [ecx + 8], edi */ 8929 edi = MEM32(edx); /* 0x2F010C2E: mov edi, dword ptr [edx] */ 8930 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010C30: cmp edi, dword ptr [esi + 8] */ 8931 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8932 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8933 _flag_k = FK_CMP; 8934 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010C38; /* 0x2F010C33: je 0x2f010c38 */ 8935 L_2F010C35: 8936 MEM32(edi + 0x4) = ecx; /* 0x2F010C35: mov dword ptr [edi + 4], ecx */ 8937 L_2F010C38: 8938 edi = MEM32(ecx + 0x4); /* 0x2F010C38: mov edi, dword ptr [ecx + 4] */ 8939 MEM32(edx + 0x4) = edi; /* 0x2F010C3B: mov dword ptr [edx + 4], edi */ 8940 edi = MEM32(esi + 0x4); /* 0x2F010C3E: mov edi, dword ptr [esi + 4] */ 8941 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010C41: cmp ecx, dword ptr [edi + 4] */ 8942 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 8943 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8944 _flag_k = FK_CMP; 8945 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C4B; /* 0x2F010C44: jne 0x2f010c4b */ 8946 L_2F010C46: 8947 MEM32(edi + 0x4) = edx; /* 0x2F010C46: mov dword ptr [edi + 4], edx */ 8948 goto L_2F010C59; /* 0x2F010C49: jmp 0x2f010c59 */ 8949 L_2F010C4B: 8950 edi = MEM32(ecx + 0x4); /* 0x2F010C4B: mov edi, dword ptr [ecx + 4] */ 8951 /* cmp ecx, MEM32(edi) */ /* 0x2F010C4E: cmp ecx, dword ptr [edi] */ 8952 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 8953 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8954 _flag_k = FK_CMP; 8955 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C56; /* 0x2F010C50: jne 0x2f010c56 */ 8956 L_2F010C52: 8957 MEM32(edi) = edx; /* 0x2F010C52: mov dword ptr [edi], edx */ 8958 goto L_2F010C59; /* 0x2F010C54: jmp 0x2f010c59 */ 8959 L_2F010C56: 8960 MEM32(edi + 0x8) = edx; /* 0x2F010C56: mov dword ptr [edi + 8], edx */ 8961 L_2F010C59: 8962 MEM32(edx) = ecx; /* 0x2F010C59: mov dword ptr [edx], ecx */ 8963 L_2F010C5B: 8964 MEM32(ecx + 0x4) = edx; /* 0x2F010C5B: mov dword ptr [ecx + 4], edx */ 8965 L_2F010C5E: 8966 ecx = MEM32(esi + 0x4); /* 0x2F010C5E: mov ecx, dword ptr [esi + 4] */ 8967 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F010C61: cmp eax, dword ptr [ecx + 4] */ 8968 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 8969 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8970 _flag_k = FK_CMP; 8971 RECOMP_BACKEDGE(); 8972 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010AEA; /* 0x2F010C64: jne 0x2f010aea */ 8973 L_2F010C6A: 8974 edx = MEM32(esi + 0x4); /* 0x2F010C6A: mov edx, dword ptr [esi + 4] */ 8975 ecx = MEM32(ebp + (-0x4)); /* 0x2F010C6D: mov ecx, dword ptr [ebp - 4] */ 8976 edi = POP32_VAL(esp); /* 0x2F010C70: pop edi */ 8977 esi = POP32_VAL(esp); /* 0x2F010C71: pop esi */ 8978 eax = MEM32(edx + 0x4); /* 0x2F010C72: mov eax, dword ptr [edx + 4] */ 8979 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010C75: mov byte ptr [eax + 0x20], bl */ 8980 eax = MEM32(ebp + 0x8); /* 0x2F010C78: mov eax, dword ptr [ebp + 8] */ 8981 ebx = POP32_VAL(esp); /* 0x2F010C7B: pop ebx */ 8982 MEM32(eax) = ecx; /* 0x2F010C7C: mov dword ptr [eax], ecx */ 8983 esp = ebp; /* 0x2F010C7E: mov esp, ebp */ 8984 ebp = POP32_VAL(esp); /* 0x2F010C80: pop ebp */ 8985 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2F010C81: ret 0x10 */ 8986 RECOMP_REGS_OUT(); 8987 } 8988 8989 void sub_2F010B0E(void) { 8990 int _fpu_cmp = 0; 8991 uint32_t _cf = 0; 8992 int _df = 1; 8993 uint32_t _flag_k = FK_NONE; 8994 uint32_t _flag_a = 0, _flag_b = 0; 8995 uint32_t _itail_tgt = 0; 8996 RECOMP_REGS_LOCALS 8997 RECOMP_ENTER(0x2F010B0Eu); 8998 8999 goto L_2F010B0E; 9000 L_2F010AEA: 9001 ecx = MEM32(eax + 0x4); /* 0x2F010AEA: mov ecx, dword ptr [eax + 4] */ 9002 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x2F010AED: mov dl, byte ptr [ecx + 0x20] */ 9003 /* test LO8(edx), LO8(edx) */ /* 0x2F010AF0: test dl, dl */ 9004 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 9005 _cf = 0; 9006 _flag_k = FK_NARROW(FK_TEST, 24); 9007 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F010C6A; /* 0x2F010AF2: jne 0x2f010c6a */ 9008 L_2F010AF8: 9009 edi = MEM32(ecx + 0x4); /* 0x2F010AF8: mov edi, dword ptr [ecx + 4] */ 9010 edx = MEM32(edi); /* 0x2F010AFB: mov edx, dword ptr [edi] */ 9011 /* cmp ecx, edx */ /* 0x2F010AFD: cmp ecx, edx */ 9012 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 9013 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9014 _flag_k = FK_CMP; 9015 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BC6; /* 0x2F010AFF: jne 0x2f010bc6 */ 9016 L_2F010B05: 9017 edx = MEM32(edi + 0x8); /* 0x2F010B05: mov edx, dword ptr [edi + 8] */ 9018 /* cmp MEM8(edx + 0x20), 0 */ /* 0x2F010B08: cmp byte ptr [edx + 0x20], 0 */ 9019 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 9020 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9021 _flag_k = FK_NARROW(FK_CMP, 24); 9022 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B29; /* 0x2F010B0C: jne 0x2f010b29 */ 9023 L_2F010B0E: 9024 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010B0E: mov byte ptr [ecx + 0x20], bl */ 9025 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010B11: mov byte ptr [edx + 0x20], bl */ 9026 ecx = MEM32(eax + 0x4); /* 0x2F010B14: mov ecx, dword ptr [eax + 4] */ 9027 edx = MEM32(ecx + 0x4); /* 0x2F010B17: mov edx, dword ptr [ecx + 4] */ 9028 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x2F010B1A: mov byte ptr [edx + 0x20], 0 */ 9029 eax = MEM32(eax + 0x4); /* 0x2F010B1E: mov eax, dword ptr [eax + 4] */ 9030 eax = MEM32(eax + 0x4); /* 0x2F010B21: mov eax, dword ptr [eax + 4] */ 9031 goto L_2F010C5E; /* 0x2F010B24: jmp 0x2f010c5e */ 9032 L_2F010B29: 9033 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2F010B29: cmp eax, dword ptr [ecx + 8] */ 9034 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 9035 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9036 _flag_k = FK_CMP; 9037 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B68; /* 0x2F010B2C: jne 0x2f010b68 */ 9038 L_2F010B2E: 9039 eax = ecx; /* 0x2F010B2E: mov eax, ecx */ 9040 ecx = MEM32(eax + 0x8); /* 0x2F010B30: mov ecx, dword ptr [eax + 8] */ 9041 edx = MEM32(ecx); /* 0x2F010B33: mov edx, dword ptr [ecx] */ 9042 MEM32(eax + 0x8) = edx; /* 0x2F010B35: mov dword ptr [eax + 8], edx */ 9043 edx = MEM32(ecx); /* 0x2F010B38: mov edx, dword ptr [ecx] */ 9044 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010B3A: cmp edx, dword ptr [esi + 8] */ 9045 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9046 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9047 _flag_k = FK_CMP; 9048 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010B42; /* 0x2F010B3D: je 0x2f010b42 */ 9049 L_2F010B3F: 9050 MEM32(edx + 0x4) = eax; /* 0x2F010B3F: mov dword ptr [edx + 4], eax */ 9051 L_2F010B42: 9052 edx = MEM32(eax + 0x4); /* 0x2F010B42: mov edx, dword ptr [eax + 4] */ 9053 MEM32(ecx + 0x4) = edx; /* 0x2F010B45: mov dword ptr [ecx + 4], edx */ 9054 edx = MEM32(esi + 0x4); /* 0x2F010B48: mov edx, dword ptr [esi + 4] */ 9055 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010B4B: cmp eax, dword ptr [edx + 4] */ 9056 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 9057 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9058 _flag_k = FK_CMP; 9059 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B55; /* 0x2F010B4E: jne 0x2f010b55 */ 9060 L_2F010B50: 9061 MEM32(edx + 0x4) = ecx; /* 0x2F010B50: mov dword ptr [edx + 4], ecx */ 9062 goto L_2F010B63; /* 0x2F010B53: jmp 0x2f010b63 */ 9063 L_2F010B55: 9064 edx = MEM32(eax + 0x4); /* 0x2F010B55: mov edx, dword ptr [eax + 4] */ 9065 /* cmp eax, MEM32(edx) */ /* 0x2F010B58: cmp eax, dword ptr [edx] */ 9066 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 9067 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9068 _flag_k = FK_CMP; 9069 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B60; /* 0x2F010B5A: jne 0x2f010b60 */ 9070 L_2F010B5C: 9071 MEM32(edx) = ecx; /* 0x2F010B5C: mov dword ptr [edx], ecx */ 9072 goto L_2F010B63; /* 0x2F010B5E: jmp 0x2f010b63 */ 9073 L_2F010B60: 9074 MEM32(edx + 0x8) = ecx; /* 0x2F010B60: mov dword ptr [edx + 8], ecx */ 9075 L_2F010B63: 9076 MEM32(ecx) = eax; /* 0x2F010B63: mov dword ptr [ecx], eax */ 9077 MEM32(eax + 0x4) = ecx; /* 0x2F010B65: mov dword ptr [eax + 4], ecx */ 9078 L_2F010B68: 9079 ecx = MEM32(eax + 0x4); /* 0x2F010B68: mov ecx, dword ptr [eax + 4] */ 9080 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010B6B: mov byte ptr [ecx + 0x20], bl */ 9081 edx = MEM32(eax + 0x4); /* 0x2F010B6E: mov edx, dword ptr [eax + 4] */ 9082 ecx = MEM32(edx + 0x4); /* 0x2F010B71: mov ecx, dword ptr [edx + 4] */ 9083 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010B74: mov byte ptr [ecx + 0x20], 0 */ 9084 edx = MEM32(eax + 0x4); /* 0x2F010B78: mov edx, dword ptr [eax + 4] */ 9085 ecx = MEM32(edx + 0x4); /* 0x2F010B7B: mov ecx, dword ptr [edx + 4] */ 9086 edx = MEM32(ecx); /* 0x2F010B7E: mov edx, dword ptr [ecx] */ 9087 edi = MEM32(edx + 0x8); /* 0x2F010B80: mov edi, dword ptr [edx + 8] */ 9088 MEM32(ecx) = edi; /* 0x2F010B83: mov dword ptr [ecx], edi */ 9089 edi = MEM32(edx + 0x8); /* 0x2F010B85: mov edi, dword ptr [edx + 8] */ 9090 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010B88: cmp edi, dword ptr [esi + 8] */ 9091 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9092 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9093 _flag_k = FK_CMP; 9094 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010B90; /* 0x2F010B8B: je 0x2f010b90 */ 9095 L_2F010B8D: 9096 MEM32(edi + 0x4) = ecx; /* 0x2F010B8D: mov dword ptr [edi + 4], ecx */ 9097 L_2F010B90: 9098 edi = MEM32(ecx + 0x4); /* 0x2F010B90: mov edi, dword ptr [ecx + 4] */ 9099 MEM32(edx + 0x4) = edi; /* 0x2F010B93: mov dword ptr [edx + 4], edi */ 9100 edi = MEM32(esi + 0x4); /* 0x2F010B96: mov edi, dword ptr [esi + 4] */ 9101 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010B99: cmp ecx, dword ptr [edi + 4] */ 9102 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 9103 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9104 _flag_k = FK_CMP; 9105 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BA9; /* 0x2F010B9C: jne 0x2f010ba9 */ 9106 L_2F010B9E: 9107 MEM32(edi + 0x4) = edx; /* 0x2F010B9E: mov dword ptr [edi + 4], edx */ 9108 MEM32(edx + 0x8) = ecx; /* 0x2F010BA1: mov dword ptr [edx + 8], ecx */ 9109 goto L_2F010C5B; /* 0x2F010BA4: jmp 0x2f010c5b */ 9110 L_2F010BA9: 9111 edi = MEM32(ecx + 0x4); /* 0x2F010BA9: mov edi, dword ptr [ecx + 4] */ 9112 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2F010BAC: cmp ecx, dword ptr [edi + 8] */ 9113 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9114 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9115 _flag_k = FK_CMP; 9116 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BBC; /* 0x2F010BAF: jne 0x2f010bbc */ 9117 L_2F010BB1: 9118 MEM32(edi + 0x8) = edx; /* 0x2F010BB1: mov dword ptr [edi + 8], edx */ 9119 MEM32(edx + 0x8) = ecx; /* 0x2F010BB4: mov dword ptr [edx + 8], ecx */ 9120 goto L_2F010C5B; /* 0x2F010BB7: jmp 0x2f010c5b */ 9121 L_2F010BBC: 9122 MEM32(edi) = edx; /* 0x2F010BBC: mov dword ptr [edi], edx */ 9123 MEM32(edx + 0x8) = ecx; /* 0x2F010BBE: mov dword ptr [edx + 8], ecx */ 9124 goto L_2F010C5B; /* 0x2F010BC1: jmp 0x2f010c5b */ 9125 L_2F010BC6: 9126 /* cmp MEM8(edx + 0x20), 0 */ /* 0x2F010BC6: cmp byte ptr [edx + 0x20], 0 */ 9127 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 9128 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9129 _flag_k = FK_NARROW(FK_CMP, 24); 9130 RECOMP_BACKEDGE(); 9131 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010B0E; /* 0x2F010BCA: je 0x2f010b0e */ 9132 L_2F010BD0: 9133 /* cmp eax, MEM32(ecx) */ /* 0x2F010BD0: cmp eax, dword ptr [ecx] */ 9134 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 9135 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9136 _flag_k = FK_CMP; 9137 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C10; /* 0x2F010BD2: jne 0x2f010c10 */ 9138 L_2F010BD4: 9139 eax = ecx; /* 0x2F010BD4: mov eax, ecx */ 9140 ecx = MEM32(eax); /* 0x2F010BD6: mov ecx, dword ptr [eax] */ 9141 edx = MEM32(ecx + 0x8); /* 0x2F010BD8: mov edx, dword ptr [ecx + 8] */ 9142 MEM32(eax) = edx; /* 0x2F010BDB: mov dword ptr [eax], edx */ 9143 edx = MEM32(ecx + 0x8); /* 0x2F010BDD: mov edx, dword ptr [ecx + 8] */ 9144 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010BE0: cmp edx, dword ptr [esi + 8] */ 9145 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9146 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9147 _flag_k = FK_CMP; 9148 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010BE8; /* 0x2F010BE3: je 0x2f010be8 */ 9149 L_2F010BE5: 9150 MEM32(edx + 0x4) = eax; /* 0x2F010BE5: mov dword ptr [edx + 4], eax */ 9151 L_2F010BE8: 9152 edx = MEM32(eax + 0x4); /* 0x2F010BE8: mov edx, dword ptr [eax + 4] */ 9153 MEM32(ecx + 0x4) = edx; /* 0x2F010BEB: mov dword ptr [ecx + 4], edx */ 9154 edx = MEM32(esi + 0x4); /* 0x2F010BEE: mov edx, dword ptr [esi + 4] */ 9155 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010BF1: cmp eax, dword ptr [edx + 4] */ 9156 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 9157 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9158 _flag_k = FK_CMP; 9159 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BFB; /* 0x2F010BF4: jne 0x2f010bfb */ 9160 L_2F010BF6: 9161 MEM32(edx + 0x4) = ecx; /* 0x2F010BF6: mov dword ptr [edx + 4], ecx */ 9162 goto L_2F010C0A; /* 0x2F010BF9: jmp 0x2f010c0a */ 9163 L_2F010BFB: 9164 edx = MEM32(eax + 0x4); /* 0x2F010BFB: mov edx, dword ptr [eax + 4] */ 9165 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2F010BFE: cmp eax, dword ptr [edx + 8] */ 9166 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 9167 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9168 _flag_k = FK_CMP; 9169 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C08; /* 0x2F010C01: jne 0x2f010c08 */ 9170 L_2F010C03: 9171 MEM32(edx + 0x8) = ecx; /* 0x2F010C03: mov dword ptr [edx + 8], ecx */ 9172 goto L_2F010C0A; /* 0x2F010C06: jmp 0x2f010c0a */ 9173 L_2F010C08: 9174 MEM32(edx) = ecx; /* 0x2F010C08: mov dword ptr [edx], ecx */ 9175 L_2F010C0A: 9176 MEM32(ecx + 0x8) = eax; /* 0x2F010C0A: mov dword ptr [ecx + 8], eax */ 9177 MEM32(eax + 0x4) = ecx; /* 0x2F010C0D: mov dword ptr [eax + 4], ecx */ 9178 L_2F010C10: 9179 ecx = MEM32(eax + 0x4); /* 0x2F010C10: mov ecx, dword ptr [eax + 4] */ 9180 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010C13: mov byte ptr [ecx + 0x20], bl */ 9181 edx = MEM32(eax + 0x4); /* 0x2F010C16: mov edx, dword ptr [eax + 4] */ 9182 ecx = MEM32(edx + 0x4); /* 0x2F010C19: mov ecx, dword ptr [edx + 4] */ 9183 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010C1C: mov byte ptr [ecx + 0x20], 0 */ 9184 edx = MEM32(eax + 0x4); /* 0x2F010C20: mov edx, dword ptr [eax + 4] */ 9185 ecx = MEM32(edx + 0x4); /* 0x2F010C23: mov ecx, dword ptr [edx + 4] */ 9186 edx = MEM32(ecx + 0x8); /* 0x2F010C26: mov edx, dword ptr [ecx + 8] */ 9187 edi = MEM32(edx); /* 0x2F010C29: mov edi, dword ptr [edx] */ 9188 MEM32(ecx + 0x8) = edi; /* 0x2F010C2B: mov dword ptr [ecx + 8], edi */ 9189 edi = MEM32(edx); /* 0x2F010C2E: mov edi, dword ptr [edx] */ 9190 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010C30: cmp edi, dword ptr [esi + 8] */ 9191 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9192 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9193 _flag_k = FK_CMP; 9194 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010C38; /* 0x2F010C33: je 0x2f010c38 */ 9195 L_2F010C35: 9196 MEM32(edi + 0x4) = ecx; /* 0x2F010C35: mov dword ptr [edi + 4], ecx */ 9197 L_2F010C38: 9198 edi = MEM32(ecx + 0x4); /* 0x2F010C38: mov edi, dword ptr [ecx + 4] */ 9199 MEM32(edx + 0x4) = edi; /* 0x2F010C3B: mov dword ptr [edx + 4], edi */ 9200 edi = MEM32(esi + 0x4); /* 0x2F010C3E: mov edi, dword ptr [esi + 4] */ 9201 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010C41: cmp ecx, dword ptr [edi + 4] */ 9202 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 9203 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9204 _flag_k = FK_CMP; 9205 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C4B; /* 0x2F010C44: jne 0x2f010c4b */ 9206 L_2F010C46: 9207 MEM32(edi + 0x4) = edx; /* 0x2F010C46: mov dword ptr [edi + 4], edx */ 9208 goto L_2F010C59; /* 0x2F010C49: jmp 0x2f010c59 */ 9209 L_2F010C4B: 9210 edi = MEM32(ecx + 0x4); /* 0x2F010C4B: mov edi, dword ptr [ecx + 4] */ 9211 /* cmp ecx, MEM32(edi) */ /* 0x2F010C4E: cmp ecx, dword ptr [edi] */ 9212 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 9213 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9214 _flag_k = FK_CMP; 9215 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C56; /* 0x2F010C50: jne 0x2f010c56 */ 9216 L_2F010C52: 9217 MEM32(edi) = edx; /* 0x2F010C52: mov dword ptr [edi], edx */ 9218 goto L_2F010C59; /* 0x2F010C54: jmp 0x2f010c59 */ 9219 L_2F010C56: 9220 MEM32(edi + 0x8) = edx; /* 0x2F010C56: mov dword ptr [edi + 8], edx */ 9221 L_2F010C59: 9222 MEM32(edx) = ecx; /* 0x2F010C59: mov dword ptr [edx], ecx */ 9223 L_2F010C5B: 9224 MEM32(ecx + 0x4) = edx; /* 0x2F010C5B: mov dword ptr [ecx + 4], edx */ 9225 L_2F010C5E: 9226 ecx = MEM32(esi + 0x4); /* 0x2F010C5E: mov ecx, dword ptr [esi + 4] */ 9227 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F010C61: cmp eax, dword ptr [ecx + 4] */ 9228 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 9229 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9230 _flag_k = FK_CMP; 9231 RECOMP_BACKEDGE(); 9232 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010AEA; /* 0x2F010C64: jne 0x2f010aea */ 9233 L_2F010C6A: 9234 edx = MEM32(esi + 0x4); /* 0x2F010C6A: mov edx, dword ptr [esi + 4] */ 9235 ecx = MEM32(ebp + (-0x4)); /* 0x2F010C6D: mov ecx, dword ptr [ebp - 4] */ 9236 edi = POP32_VAL(esp); /* 0x2F010C70: pop edi */ 9237 esi = POP32_VAL(esp); /* 0x2F010C71: pop esi */ 9238 eax = MEM32(edx + 0x4); /* 0x2F010C72: mov eax, dword ptr [edx + 4] */ 9239 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010C75: mov byte ptr [eax + 0x20], bl */ 9240 eax = MEM32(ebp + 0x8); /* 0x2F010C78: mov eax, dword ptr [ebp + 8] */ 9241 ebx = POP32_VAL(esp); /* 0x2F010C7B: pop ebx */ 9242 MEM32(eax) = ecx; /* 0x2F010C7C: mov dword ptr [eax], ecx */ 9243 esp = ebp; /* 0x2F010C7E: mov esp, ebp */ 9244 ebp = POP32_VAL(esp); /* 0x2F010C80: pop ebp */ 9245 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2F010C81: ret 0x10 */ 9246 RECOMP_REGS_OUT(); 9247 } 9248 9249 void sub_2F010B63(void) { 9250 int _fpu_cmp = 0; 9251 uint32_t _cf = 0; 9252 int _df = 1; 9253 uint32_t _flag_k = FK_NONE; 9254 uint32_t _flag_a = 0, _flag_b = 0; 9255 uint32_t _itail_tgt = 0; 9256 RECOMP_REGS_LOCALS 9257 RECOMP_ENTER(0x2F010B63u); 9258 9259 goto L_2F010B63; 9260 L_2F010AEA: 9261 ecx = MEM32(eax + 0x4); /* 0x2F010AEA: mov ecx, dword ptr [eax + 4] */ 9262 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x2F010AED: mov dl, byte ptr [ecx + 0x20] */ 9263 /* test LO8(edx), LO8(edx) */ /* 0x2F010AF0: test dl, dl */ 9264 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 9265 _cf = 0; 9266 _flag_k = FK_NARROW(FK_TEST, 24); 9267 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F010C6A; /* 0x2F010AF2: jne 0x2f010c6a */ 9268 L_2F010AF8: 9269 edi = MEM32(ecx + 0x4); /* 0x2F010AF8: mov edi, dword ptr [ecx + 4] */ 9270 edx = MEM32(edi); /* 0x2F010AFB: mov edx, dword ptr [edi] */ 9271 /* cmp ecx, edx */ /* 0x2F010AFD: cmp ecx, edx */ 9272 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 9273 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9274 _flag_k = FK_CMP; 9275 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BC6; /* 0x2F010AFF: jne 0x2f010bc6 */ 9276 L_2F010B05: 9277 edx = MEM32(edi + 0x8); /* 0x2F010B05: mov edx, dword ptr [edi + 8] */ 9278 /* cmp MEM8(edx + 0x20), 0 */ /* 0x2F010B08: cmp byte ptr [edx + 0x20], 0 */ 9279 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 9280 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9281 _flag_k = FK_NARROW(FK_CMP, 24); 9282 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B29; /* 0x2F010B0C: jne 0x2f010b29 */ 9283 L_2F010B0E: 9284 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010B0E: mov byte ptr [ecx + 0x20], bl */ 9285 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010B11: mov byte ptr [edx + 0x20], bl */ 9286 ecx = MEM32(eax + 0x4); /* 0x2F010B14: mov ecx, dword ptr [eax + 4] */ 9287 edx = MEM32(ecx + 0x4); /* 0x2F010B17: mov edx, dword ptr [ecx + 4] */ 9288 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x2F010B1A: mov byte ptr [edx + 0x20], 0 */ 9289 eax = MEM32(eax + 0x4); /* 0x2F010B1E: mov eax, dword ptr [eax + 4] */ 9290 eax = MEM32(eax + 0x4); /* 0x2F010B21: mov eax, dword ptr [eax + 4] */ 9291 goto L_2F010C5E; /* 0x2F010B24: jmp 0x2f010c5e */ 9292 L_2F010B29: 9293 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2F010B29: cmp eax, dword ptr [ecx + 8] */ 9294 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 9295 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9296 _flag_k = FK_CMP; 9297 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B68; /* 0x2F010B2C: jne 0x2f010b68 */ 9298 L_2F010B2E: 9299 eax = ecx; /* 0x2F010B2E: mov eax, ecx */ 9300 ecx = MEM32(eax + 0x8); /* 0x2F010B30: mov ecx, dword ptr [eax + 8] */ 9301 edx = MEM32(ecx); /* 0x2F010B33: mov edx, dword ptr [ecx] */ 9302 MEM32(eax + 0x8) = edx; /* 0x2F010B35: mov dword ptr [eax + 8], edx */ 9303 edx = MEM32(ecx); /* 0x2F010B38: mov edx, dword ptr [ecx] */ 9304 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010B3A: cmp edx, dword ptr [esi + 8] */ 9305 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9306 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9307 _flag_k = FK_CMP; 9308 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010B42; /* 0x2F010B3D: je 0x2f010b42 */ 9309 L_2F010B3F: 9310 MEM32(edx + 0x4) = eax; /* 0x2F010B3F: mov dword ptr [edx + 4], eax */ 9311 L_2F010B42: 9312 edx = MEM32(eax + 0x4); /* 0x2F010B42: mov edx, dword ptr [eax + 4] */ 9313 MEM32(ecx + 0x4) = edx; /* 0x2F010B45: mov dword ptr [ecx + 4], edx */ 9314 edx = MEM32(esi + 0x4); /* 0x2F010B48: mov edx, dword ptr [esi + 4] */ 9315 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010B4B: cmp eax, dword ptr [edx + 4] */ 9316 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 9317 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9318 _flag_k = FK_CMP; 9319 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B55; /* 0x2F010B4E: jne 0x2f010b55 */ 9320 L_2F010B50: 9321 MEM32(edx + 0x4) = ecx; /* 0x2F010B50: mov dword ptr [edx + 4], ecx */ 9322 goto L_2F010B63; /* 0x2F010B53: jmp 0x2f010b63 */ 9323 L_2F010B55: 9324 edx = MEM32(eax + 0x4); /* 0x2F010B55: mov edx, dword ptr [eax + 4] */ 9325 /* cmp eax, MEM32(edx) */ /* 0x2F010B58: cmp eax, dword ptr [edx] */ 9326 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 9327 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9328 _flag_k = FK_CMP; 9329 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B60; /* 0x2F010B5A: jne 0x2f010b60 */ 9330 L_2F010B5C: 9331 MEM32(edx) = ecx; /* 0x2F010B5C: mov dword ptr [edx], ecx */ 9332 goto L_2F010B63; /* 0x2F010B5E: jmp 0x2f010b63 */ 9333 L_2F010B60: 9334 MEM32(edx + 0x8) = ecx; /* 0x2F010B60: mov dword ptr [edx + 8], ecx */ 9335 L_2F010B63: 9336 MEM32(ecx) = eax; /* 0x2F010B63: mov dword ptr [ecx], eax */ 9337 MEM32(eax + 0x4) = ecx; /* 0x2F010B65: mov dword ptr [eax + 4], ecx */ 9338 L_2F010B68: 9339 ecx = MEM32(eax + 0x4); /* 0x2F010B68: mov ecx, dword ptr [eax + 4] */ 9340 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010B6B: mov byte ptr [ecx + 0x20], bl */ 9341 edx = MEM32(eax + 0x4); /* 0x2F010B6E: mov edx, dword ptr [eax + 4] */ 9342 ecx = MEM32(edx + 0x4); /* 0x2F010B71: mov ecx, dword ptr [edx + 4] */ 9343 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010B74: mov byte ptr [ecx + 0x20], 0 */ 9344 edx = MEM32(eax + 0x4); /* 0x2F010B78: mov edx, dword ptr [eax + 4] */ 9345 ecx = MEM32(edx + 0x4); /* 0x2F010B7B: mov ecx, dword ptr [edx + 4] */ 9346 edx = MEM32(ecx); /* 0x2F010B7E: mov edx, dword ptr [ecx] */ 9347 edi = MEM32(edx + 0x8); /* 0x2F010B80: mov edi, dword ptr [edx + 8] */ 9348 MEM32(ecx) = edi; /* 0x2F010B83: mov dword ptr [ecx], edi */ 9349 edi = MEM32(edx + 0x8); /* 0x2F010B85: mov edi, dword ptr [edx + 8] */ 9350 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010B88: cmp edi, dword ptr [esi + 8] */ 9351 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9352 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9353 _flag_k = FK_CMP; 9354 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010B90; /* 0x2F010B8B: je 0x2f010b90 */ 9355 L_2F010B8D: 9356 MEM32(edi + 0x4) = ecx; /* 0x2F010B8D: mov dword ptr [edi + 4], ecx */ 9357 L_2F010B90: 9358 edi = MEM32(ecx + 0x4); /* 0x2F010B90: mov edi, dword ptr [ecx + 4] */ 9359 MEM32(edx + 0x4) = edi; /* 0x2F010B93: mov dword ptr [edx + 4], edi */ 9360 edi = MEM32(esi + 0x4); /* 0x2F010B96: mov edi, dword ptr [esi + 4] */ 9361 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010B99: cmp ecx, dword ptr [edi + 4] */ 9362 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 9363 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9364 _flag_k = FK_CMP; 9365 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BA9; /* 0x2F010B9C: jne 0x2f010ba9 */ 9366 L_2F010B9E: 9367 MEM32(edi + 0x4) = edx; /* 0x2F010B9E: mov dword ptr [edi + 4], edx */ 9368 MEM32(edx + 0x8) = ecx; /* 0x2F010BA1: mov dword ptr [edx + 8], ecx */ 9369 goto L_2F010C5B; /* 0x2F010BA4: jmp 0x2f010c5b */ 9370 L_2F010BA9: 9371 edi = MEM32(ecx + 0x4); /* 0x2F010BA9: mov edi, dword ptr [ecx + 4] */ 9372 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2F010BAC: cmp ecx, dword ptr [edi + 8] */ 9373 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9374 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9375 _flag_k = FK_CMP; 9376 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BBC; /* 0x2F010BAF: jne 0x2f010bbc */ 9377 L_2F010BB1: 9378 MEM32(edi + 0x8) = edx; /* 0x2F010BB1: mov dword ptr [edi + 8], edx */ 9379 MEM32(edx + 0x8) = ecx; /* 0x2F010BB4: mov dword ptr [edx + 8], ecx */ 9380 goto L_2F010C5B; /* 0x2F010BB7: jmp 0x2f010c5b */ 9381 L_2F010BBC: 9382 MEM32(edi) = edx; /* 0x2F010BBC: mov dword ptr [edi], edx */ 9383 MEM32(edx + 0x8) = ecx; /* 0x2F010BBE: mov dword ptr [edx + 8], ecx */ 9384 goto L_2F010C5B; /* 0x2F010BC1: jmp 0x2f010c5b */ 9385 L_2F010BC6: 9386 /* cmp MEM8(edx + 0x20), 0 */ /* 0x2F010BC6: cmp byte ptr [edx + 0x20], 0 */ 9387 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 9388 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9389 _flag_k = FK_NARROW(FK_CMP, 24); 9390 RECOMP_BACKEDGE(); 9391 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010B0E; /* 0x2F010BCA: je 0x2f010b0e */ 9392 L_2F010BD0: 9393 /* cmp eax, MEM32(ecx) */ /* 0x2F010BD0: cmp eax, dword ptr [ecx] */ 9394 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 9395 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9396 _flag_k = FK_CMP; 9397 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C10; /* 0x2F010BD2: jne 0x2f010c10 */ 9398 L_2F010BD4: 9399 eax = ecx; /* 0x2F010BD4: mov eax, ecx */ 9400 ecx = MEM32(eax); /* 0x2F010BD6: mov ecx, dword ptr [eax] */ 9401 edx = MEM32(ecx + 0x8); /* 0x2F010BD8: mov edx, dword ptr [ecx + 8] */ 9402 MEM32(eax) = edx; /* 0x2F010BDB: mov dword ptr [eax], edx */ 9403 edx = MEM32(ecx + 0x8); /* 0x2F010BDD: mov edx, dword ptr [ecx + 8] */ 9404 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010BE0: cmp edx, dword ptr [esi + 8] */ 9405 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9406 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9407 _flag_k = FK_CMP; 9408 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010BE8; /* 0x2F010BE3: je 0x2f010be8 */ 9409 L_2F010BE5: 9410 MEM32(edx + 0x4) = eax; /* 0x2F010BE5: mov dword ptr [edx + 4], eax */ 9411 L_2F010BE8: 9412 edx = MEM32(eax + 0x4); /* 0x2F010BE8: mov edx, dword ptr [eax + 4] */ 9413 MEM32(ecx + 0x4) = edx; /* 0x2F010BEB: mov dword ptr [ecx + 4], edx */ 9414 edx = MEM32(esi + 0x4); /* 0x2F010BEE: mov edx, dword ptr [esi + 4] */ 9415 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010BF1: cmp eax, dword ptr [edx + 4] */ 9416 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 9417 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9418 _flag_k = FK_CMP; 9419 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BFB; /* 0x2F010BF4: jne 0x2f010bfb */ 9420 L_2F010BF6: 9421 MEM32(edx + 0x4) = ecx; /* 0x2F010BF6: mov dword ptr [edx + 4], ecx */ 9422 goto L_2F010C0A; /* 0x2F010BF9: jmp 0x2f010c0a */ 9423 L_2F010BFB: 9424 edx = MEM32(eax + 0x4); /* 0x2F010BFB: mov edx, dword ptr [eax + 4] */ 9425 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2F010BFE: cmp eax, dword ptr [edx + 8] */ 9426 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 9427 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9428 _flag_k = FK_CMP; 9429 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C08; /* 0x2F010C01: jne 0x2f010c08 */ 9430 L_2F010C03: 9431 MEM32(edx + 0x8) = ecx; /* 0x2F010C03: mov dword ptr [edx + 8], ecx */ 9432 goto L_2F010C0A; /* 0x2F010C06: jmp 0x2f010c0a */ 9433 L_2F010C08: 9434 MEM32(edx) = ecx; /* 0x2F010C08: mov dword ptr [edx], ecx */ 9435 L_2F010C0A: 9436 MEM32(ecx + 0x8) = eax; /* 0x2F010C0A: mov dword ptr [ecx + 8], eax */ 9437 MEM32(eax + 0x4) = ecx; /* 0x2F010C0D: mov dword ptr [eax + 4], ecx */ 9438 L_2F010C10: 9439 ecx = MEM32(eax + 0x4); /* 0x2F010C10: mov ecx, dword ptr [eax + 4] */ 9440 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010C13: mov byte ptr [ecx + 0x20], bl */ 9441 edx = MEM32(eax + 0x4); /* 0x2F010C16: mov edx, dword ptr [eax + 4] */ 9442 ecx = MEM32(edx + 0x4); /* 0x2F010C19: mov ecx, dword ptr [edx + 4] */ 9443 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010C1C: mov byte ptr [ecx + 0x20], 0 */ 9444 edx = MEM32(eax + 0x4); /* 0x2F010C20: mov edx, dword ptr [eax + 4] */ 9445 ecx = MEM32(edx + 0x4); /* 0x2F010C23: mov ecx, dword ptr [edx + 4] */ 9446 edx = MEM32(ecx + 0x8); /* 0x2F010C26: mov edx, dword ptr [ecx + 8] */ 9447 edi = MEM32(edx); /* 0x2F010C29: mov edi, dword ptr [edx] */ 9448 MEM32(ecx + 0x8) = edi; /* 0x2F010C2B: mov dword ptr [ecx + 8], edi */ 9449 edi = MEM32(edx); /* 0x2F010C2E: mov edi, dword ptr [edx] */ 9450 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010C30: cmp edi, dword ptr [esi + 8] */ 9451 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9452 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9453 _flag_k = FK_CMP; 9454 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010C38; /* 0x2F010C33: je 0x2f010c38 */ 9455 L_2F010C35: 9456 MEM32(edi + 0x4) = ecx; /* 0x2F010C35: mov dword ptr [edi + 4], ecx */ 9457 L_2F010C38: 9458 edi = MEM32(ecx + 0x4); /* 0x2F010C38: mov edi, dword ptr [ecx + 4] */ 9459 MEM32(edx + 0x4) = edi; /* 0x2F010C3B: mov dword ptr [edx + 4], edi */ 9460 edi = MEM32(esi + 0x4); /* 0x2F010C3E: mov edi, dword ptr [esi + 4] */ 9461 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010C41: cmp ecx, dword ptr [edi + 4] */ 9462 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 9463 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9464 _flag_k = FK_CMP; 9465 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C4B; /* 0x2F010C44: jne 0x2f010c4b */ 9466 L_2F010C46: 9467 MEM32(edi + 0x4) = edx; /* 0x2F010C46: mov dword ptr [edi + 4], edx */ 9468 goto L_2F010C59; /* 0x2F010C49: jmp 0x2f010c59 */ 9469 L_2F010C4B: 9470 edi = MEM32(ecx + 0x4); /* 0x2F010C4B: mov edi, dword ptr [ecx + 4] */ 9471 /* cmp ecx, MEM32(edi) */ /* 0x2F010C4E: cmp ecx, dword ptr [edi] */ 9472 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 9473 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9474 _flag_k = FK_CMP; 9475 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C56; /* 0x2F010C50: jne 0x2f010c56 */ 9476 L_2F010C52: 9477 MEM32(edi) = edx; /* 0x2F010C52: mov dword ptr [edi], edx */ 9478 goto L_2F010C59; /* 0x2F010C54: jmp 0x2f010c59 */ 9479 L_2F010C56: 9480 MEM32(edi + 0x8) = edx; /* 0x2F010C56: mov dword ptr [edi + 8], edx */ 9481 L_2F010C59: 9482 MEM32(edx) = ecx; /* 0x2F010C59: mov dword ptr [edx], ecx */ 9483 L_2F010C5B: 9484 MEM32(ecx + 0x4) = edx; /* 0x2F010C5B: mov dword ptr [ecx + 4], edx */ 9485 L_2F010C5E: 9486 ecx = MEM32(esi + 0x4); /* 0x2F010C5E: mov ecx, dword ptr [esi + 4] */ 9487 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F010C61: cmp eax, dword ptr [ecx + 4] */ 9488 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 9489 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9490 _flag_k = FK_CMP; 9491 RECOMP_BACKEDGE(); 9492 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010AEA; /* 0x2F010C64: jne 0x2f010aea */ 9493 L_2F010C6A: 9494 edx = MEM32(esi + 0x4); /* 0x2F010C6A: mov edx, dword ptr [esi + 4] */ 9495 ecx = MEM32(ebp + (-0x4)); /* 0x2F010C6D: mov ecx, dword ptr [ebp - 4] */ 9496 edi = POP32_VAL(esp); /* 0x2F010C70: pop edi */ 9497 esi = POP32_VAL(esp); /* 0x2F010C71: pop esi */ 9498 eax = MEM32(edx + 0x4); /* 0x2F010C72: mov eax, dword ptr [edx + 4] */ 9499 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010C75: mov byte ptr [eax + 0x20], bl */ 9500 eax = MEM32(ebp + 0x8); /* 0x2F010C78: mov eax, dword ptr [ebp + 8] */ 9501 ebx = POP32_VAL(esp); /* 0x2F010C7B: pop ebx */ 9502 MEM32(eax) = ecx; /* 0x2F010C7C: mov dword ptr [eax], ecx */ 9503 esp = ebp; /* 0x2F010C7E: mov esp, ebp */ 9504 ebp = POP32_VAL(esp); /* 0x2F010C80: pop ebp */ 9505 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2F010C81: ret 0x10 */ 9506 RECOMP_REGS_OUT(); 9507 } 9508 9509 void sub_2F010B68(void) { 9510 int _fpu_cmp = 0; 9511 uint32_t _cf = 0; 9512 int _df = 1; 9513 uint32_t _flag_k = FK_NONE; 9514 uint32_t _flag_a = 0, _flag_b = 0; 9515 uint32_t _itail_tgt = 0; 9516 RECOMP_REGS_LOCALS 9517 RECOMP_ENTER(0x2F010B68u); 9518 9519 goto L_2F010B68; 9520 L_2F010AEA: 9521 ecx = MEM32(eax + 0x4); /* 0x2F010AEA: mov ecx, dword ptr [eax + 4] */ 9522 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x2F010AED: mov dl, byte ptr [ecx + 0x20] */ 9523 /* test LO8(edx), LO8(edx) */ /* 0x2F010AF0: test dl, dl */ 9524 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 9525 _cf = 0; 9526 _flag_k = FK_NARROW(FK_TEST, 24); 9527 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F010C6A; /* 0x2F010AF2: jne 0x2f010c6a */ 9528 L_2F010AF8: 9529 edi = MEM32(ecx + 0x4); /* 0x2F010AF8: mov edi, dword ptr [ecx + 4] */ 9530 edx = MEM32(edi); /* 0x2F010AFB: mov edx, dword ptr [edi] */ 9531 /* cmp ecx, edx */ /* 0x2F010AFD: cmp ecx, edx */ 9532 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 9533 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9534 _flag_k = FK_CMP; 9535 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BC6; /* 0x2F010AFF: jne 0x2f010bc6 */ 9536 L_2F010B05: 9537 edx = MEM32(edi + 0x8); /* 0x2F010B05: mov edx, dword ptr [edi + 8] */ 9538 /* cmp MEM8(edx + 0x20), 0 */ /* 0x2F010B08: cmp byte ptr [edx + 0x20], 0 */ 9539 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 9540 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9541 _flag_k = FK_NARROW(FK_CMP, 24); 9542 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B29; /* 0x2F010B0C: jne 0x2f010b29 */ 9543 L_2F010B0E: 9544 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010B0E: mov byte ptr [ecx + 0x20], bl */ 9545 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010B11: mov byte ptr [edx + 0x20], bl */ 9546 ecx = MEM32(eax + 0x4); /* 0x2F010B14: mov ecx, dword ptr [eax + 4] */ 9547 edx = MEM32(ecx + 0x4); /* 0x2F010B17: mov edx, dword ptr [ecx + 4] */ 9548 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x2F010B1A: mov byte ptr [edx + 0x20], 0 */ 9549 eax = MEM32(eax + 0x4); /* 0x2F010B1E: mov eax, dword ptr [eax + 4] */ 9550 eax = MEM32(eax + 0x4); /* 0x2F010B21: mov eax, dword ptr [eax + 4] */ 9551 goto L_2F010C5E; /* 0x2F010B24: jmp 0x2f010c5e */ 9552 L_2F010B29: 9553 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2F010B29: cmp eax, dword ptr [ecx + 8] */ 9554 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 9555 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9556 _flag_k = FK_CMP; 9557 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B68; /* 0x2F010B2C: jne 0x2f010b68 */ 9558 L_2F010B2E: 9559 eax = ecx; /* 0x2F010B2E: mov eax, ecx */ 9560 ecx = MEM32(eax + 0x8); /* 0x2F010B30: mov ecx, dword ptr [eax + 8] */ 9561 edx = MEM32(ecx); /* 0x2F010B33: mov edx, dword ptr [ecx] */ 9562 MEM32(eax + 0x8) = edx; /* 0x2F010B35: mov dword ptr [eax + 8], edx */ 9563 edx = MEM32(ecx); /* 0x2F010B38: mov edx, dword ptr [ecx] */ 9564 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010B3A: cmp edx, dword ptr [esi + 8] */ 9565 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9566 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9567 _flag_k = FK_CMP; 9568 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010B42; /* 0x2F010B3D: je 0x2f010b42 */ 9569 L_2F010B3F: 9570 MEM32(edx + 0x4) = eax; /* 0x2F010B3F: mov dword ptr [edx + 4], eax */ 9571 L_2F010B42: 9572 edx = MEM32(eax + 0x4); /* 0x2F010B42: mov edx, dword ptr [eax + 4] */ 9573 MEM32(ecx + 0x4) = edx; /* 0x2F010B45: mov dword ptr [ecx + 4], edx */ 9574 edx = MEM32(esi + 0x4); /* 0x2F010B48: mov edx, dword ptr [esi + 4] */ 9575 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010B4B: cmp eax, dword ptr [edx + 4] */ 9576 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 9577 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9578 _flag_k = FK_CMP; 9579 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B55; /* 0x2F010B4E: jne 0x2f010b55 */ 9580 L_2F010B50: 9581 MEM32(edx + 0x4) = ecx; /* 0x2F010B50: mov dword ptr [edx + 4], ecx */ 9582 goto L_2F010B63; /* 0x2F010B53: jmp 0x2f010b63 */ 9583 L_2F010B55: 9584 edx = MEM32(eax + 0x4); /* 0x2F010B55: mov edx, dword ptr [eax + 4] */ 9585 /* cmp eax, MEM32(edx) */ /* 0x2F010B58: cmp eax, dword ptr [edx] */ 9586 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 9587 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9588 _flag_k = FK_CMP; 9589 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B60; /* 0x2F010B5A: jne 0x2f010b60 */ 9590 L_2F010B5C: 9591 MEM32(edx) = ecx; /* 0x2F010B5C: mov dword ptr [edx], ecx */ 9592 goto L_2F010B63; /* 0x2F010B5E: jmp 0x2f010b63 */ 9593 L_2F010B60: 9594 MEM32(edx + 0x8) = ecx; /* 0x2F010B60: mov dword ptr [edx + 8], ecx */ 9595 L_2F010B63: 9596 MEM32(ecx) = eax; /* 0x2F010B63: mov dword ptr [ecx], eax */ 9597 MEM32(eax + 0x4) = ecx; /* 0x2F010B65: mov dword ptr [eax + 4], ecx */ 9598 L_2F010B68: 9599 ecx = MEM32(eax + 0x4); /* 0x2F010B68: mov ecx, dword ptr [eax + 4] */ 9600 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010B6B: mov byte ptr [ecx + 0x20], bl */ 9601 edx = MEM32(eax + 0x4); /* 0x2F010B6E: mov edx, dword ptr [eax + 4] */ 9602 ecx = MEM32(edx + 0x4); /* 0x2F010B71: mov ecx, dword ptr [edx + 4] */ 9603 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010B74: mov byte ptr [ecx + 0x20], 0 */ 9604 edx = MEM32(eax + 0x4); /* 0x2F010B78: mov edx, dword ptr [eax + 4] */ 9605 ecx = MEM32(edx + 0x4); /* 0x2F010B7B: mov ecx, dword ptr [edx + 4] */ 9606 edx = MEM32(ecx); /* 0x2F010B7E: mov edx, dword ptr [ecx] */ 9607 edi = MEM32(edx + 0x8); /* 0x2F010B80: mov edi, dword ptr [edx + 8] */ 9608 MEM32(ecx) = edi; /* 0x2F010B83: mov dword ptr [ecx], edi */ 9609 edi = MEM32(edx + 0x8); /* 0x2F010B85: mov edi, dword ptr [edx + 8] */ 9610 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010B88: cmp edi, dword ptr [esi + 8] */ 9611 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9612 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9613 _flag_k = FK_CMP; 9614 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010B90; /* 0x2F010B8B: je 0x2f010b90 */ 9615 L_2F010B8D: 9616 MEM32(edi + 0x4) = ecx; /* 0x2F010B8D: mov dword ptr [edi + 4], ecx */ 9617 L_2F010B90: 9618 edi = MEM32(ecx + 0x4); /* 0x2F010B90: mov edi, dword ptr [ecx + 4] */ 9619 MEM32(edx + 0x4) = edi; /* 0x2F010B93: mov dword ptr [edx + 4], edi */ 9620 edi = MEM32(esi + 0x4); /* 0x2F010B96: mov edi, dword ptr [esi + 4] */ 9621 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010B99: cmp ecx, dword ptr [edi + 4] */ 9622 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 9623 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9624 _flag_k = FK_CMP; 9625 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BA9; /* 0x2F010B9C: jne 0x2f010ba9 */ 9626 L_2F010B9E: 9627 MEM32(edi + 0x4) = edx; /* 0x2F010B9E: mov dword ptr [edi + 4], edx */ 9628 MEM32(edx + 0x8) = ecx; /* 0x2F010BA1: mov dword ptr [edx + 8], ecx */ 9629 goto L_2F010C5B; /* 0x2F010BA4: jmp 0x2f010c5b */ 9630 L_2F010BA9: 9631 edi = MEM32(ecx + 0x4); /* 0x2F010BA9: mov edi, dword ptr [ecx + 4] */ 9632 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2F010BAC: cmp ecx, dword ptr [edi + 8] */ 9633 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9634 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9635 _flag_k = FK_CMP; 9636 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BBC; /* 0x2F010BAF: jne 0x2f010bbc */ 9637 L_2F010BB1: 9638 MEM32(edi + 0x8) = edx; /* 0x2F010BB1: mov dword ptr [edi + 8], edx */ 9639 MEM32(edx + 0x8) = ecx; /* 0x2F010BB4: mov dword ptr [edx + 8], ecx */ 9640 goto L_2F010C5B; /* 0x2F010BB7: jmp 0x2f010c5b */ 9641 L_2F010BBC: 9642 MEM32(edi) = edx; /* 0x2F010BBC: mov dword ptr [edi], edx */ 9643 MEM32(edx + 0x8) = ecx; /* 0x2F010BBE: mov dword ptr [edx + 8], ecx */ 9644 goto L_2F010C5B; /* 0x2F010BC1: jmp 0x2f010c5b */ 9645 L_2F010BC6: 9646 /* cmp MEM8(edx + 0x20), 0 */ /* 0x2F010BC6: cmp byte ptr [edx + 0x20], 0 */ 9647 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 9648 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9649 _flag_k = FK_NARROW(FK_CMP, 24); 9650 RECOMP_BACKEDGE(); 9651 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010B0E; /* 0x2F010BCA: je 0x2f010b0e */ 9652 L_2F010BD0: 9653 /* cmp eax, MEM32(ecx) */ /* 0x2F010BD0: cmp eax, dword ptr [ecx] */ 9654 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 9655 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9656 _flag_k = FK_CMP; 9657 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C10; /* 0x2F010BD2: jne 0x2f010c10 */ 9658 L_2F010BD4: 9659 eax = ecx; /* 0x2F010BD4: mov eax, ecx */ 9660 ecx = MEM32(eax); /* 0x2F010BD6: mov ecx, dword ptr [eax] */ 9661 edx = MEM32(ecx + 0x8); /* 0x2F010BD8: mov edx, dword ptr [ecx + 8] */ 9662 MEM32(eax) = edx; /* 0x2F010BDB: mov dword ptr [eax], edx */ 9663 edx = MEM32(ecx + 0x8); /* 0x2F010BDD: mov edx, dword ptr [ecx + 8] */ 9664 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010BE0: cmp edx, dword ptr [esi + 8] */ 9665 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9666 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9667 _flag_k = FK_CMP; 9668 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010BE8; /* 0x2F010BE3: je 0x2f010be8 */ 9669 L_2F010BE5: 9670 MEM32(edx + 0x4) = eax; /* 0x2F010BE5: mov dword ptr [edx + 4], eax */ 9671 L_2F010BE8: 9672 edx = MEM32(eax + 0x4); /* 0x2F010BE8: mov edx, dword ptr [eax + 4] */ 9673 MEM32(ecx + 0x4) = edx; /* 0x2F010BEB: mov dword ptr [ecx + 4], edx */ 9674 edx = MEM32(esi + 0x4); /* 0x2F010BEE: mov edx, dword ptr [esi + 4] */ 9675 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010BF1: cmp eax, dword ptr [edx + 4] */ 9676 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 9677 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9678 _flag_k = FK_CMP; 9679 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BFB; /* 0x2F010BF4: jne 0x2f010bfb */ 9680 L_2F010BF6: 9681 MEM32(edx + 0x4) = ecx; /* 0x2F010BF6: mov dword ptr [edx + 4], ecx */ 9682 goto L_2F010C0A; /* 0x2F010BF9: jmp 0x2f010c0a */ 9683 L_2F010BFB: 9684 edx = MEM32(eax + 0x4); /* 0x2F010BFB: mov edx, dword ptr [eax + 4] */ 9685 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2F010BFE: cmp eax, dword ptr [edx + 8] */ 9686 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 9687 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9688 _flag_k = FK_CMP; 9689 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C08; /* 0x2F010C01: jne 0x2f010c08 */ 9690 L_2F010C03: 9691 MEM32(edx + 0x8) = ecx; /* 0x2F010C03: mov dword ptr [edx + 8], ecx */ 9692 goto L_2F010C0A; /* 0x2F010C06: jmp 0x2f010c0a */ 9693 L_2F010C08: 9694 MEM32(edx) = ecx; /* 0x2F010C08: mov dword ptr [edx], ecx */ 9695 L_2F010C0A: 9696 MEM32(ecx + 0x8) = eax; /* 0x2F010C0A: mov dword ptr [ecx + 8], eax */ 9697 MEM32(eax + 0x4) = ecx; /* 0x2F010C0D: mov dword ptr [eax + 4], ecx */ 9698 L_2F010C10: 9699 ecx = MEM32(eax + 0x4); /* 0x2F010C10: mov ecx, dword ptr [eax + 4] */ 9700 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010C13: mov byte ptr [ecx + 0x20], bl */ 9701 edx = MEM32(eax + 0x4); /* 0x2F010C16: mov edx, dword ptr [eax + 4] */ 9702 ecx = MEM32(edx + 0x4); /* 0x2F010C19: mov ecx, dword ptr [edx + 4] */ 9703 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010C1C: mov byte ptr [ecx + 0x20], 0 */ 9704 edx = MEM32(eax + 0x4); /* 0x2F010C20: mov edx, dword ptr [eax + 4] */ 9705 ecx = MEM32(edx + 0x4); /* 0x2F010C23: mov ecx, dword ptr [edx + 4] */ 9706 edx = MEM32(ecx + 0x8); /* 0x2F010C26: mov edx, dword ptr [ecx + 8] */ 9707 edi = MEM32(edx); /* 0x2F010C29: mov edi, dword ptr [edx] */ 9708 MEM32(ecx + 0x8) = edi; /* 0x2F010C2B: mov dword ptr [ecx + 8], edi */ 9709 edi = MEM32(edx); /* 0x2F010C2E: mov edi, dword ptr [edx] */ 9710 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010C30: cmp edi, dword ptr [esi + 8] */ 9711 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9712 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9713 _flag_k = FK_CMP; 9714 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010C38; /* 0x2F010C33: je 0x2f010c38 */ 9715 L_2F010C35: 9716 MEM32(edi + 0x4) = ecx; /* 0x2F010C35: mov dword ptr [edi + 4], ecx */ 9717 L_2F010C38: 9718 edi = MEM32(ecx + 0x4); /* 0x2F010C38: mov edi, dword ptr [ecx + 4] */ 9719 MEM32(edx + 0x4) = edi; /* 0x2F010C3B: mov dword ptr [edx + 4], edi */ 9720 edi = MEM32(esi + 0x4); /* 0x2F010C3E: mov edi, dword ptr [esi + 4] */ 9721 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010C41: cmp ecx, dword ptr [edi + 4] */ 9722 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 9723 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9724 _flag_k = FK_CMP; 9725 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C4B; /* 0x2F010C44: jne 0x2f010c4b */ 9726 L_2F010C46: 9727 MEM32(edi + 0x4) = edx; /* 0x2F010C46: mov dword ptr [edi + 4], edx */ 9728 goto L_2F010C59; /* 0x2F010C49: jmp 0x2f010c59 */ 9729 L_2F010C4B: 9730 edi = MEM32(ecx + 0x4); /* 0x2F010C4B: mov edi, dword ptr [ecx + 4] */ 9731 /* cmp ecx, MEM32(edi) */ /* 0x2F010C4E: cmp ecx, dword ptr [edi] */ 9732 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 9733 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9734 _flag_k = FK_CMP; 9735 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C56; /* 0x2F010C50: jne 0x2f010c56 */ 9736 L_2F010C52: 9737 MEM32(edi) = edx; /* 0x2F010C52: mov dword ptr [edi], edx */ 9738 goto L_2F010C59; /* 0x2F010C54: jmp 0x2f010c59 */ 9739 L_2F010C56: 9740 MEM32(edi + 0x8) = edx; /* 0x2F010C56: mov dword ptr [edi + 8], edx */ 9741 L_2F010C59: 9742 MEM32(edx) = ecx; /* 0x2F010C59: mov dword ptr [edx], ecx */ 9743 L_2F010C5B: 9744 MEM32(ecx + 0x4) = edx; /* 0x2F010C5B: mov dword ptr [ecx + 4], edx */ 9745 L_2F010C5E: 9746 ecx = MEM32(esi + 0x4); /* 0x2F010C5E: mov ecx, dword ptr [esi + 4] */ 9747 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F010C61: cmp eax, dword ptr [ecx + 4] */ 9748 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 9749 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9750 _flag_k = FK_CMP; 9751 RECOMP_BACKEDGE(); 9752 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010AEA; /* 0x2F010C64: jne 0x2f010aea */ 9753 L_2F010C6A: 9754 edx = MEM32(esi + 0x4); /* 0x2F010C6A: mov edx, dword ptr [esi + 4] */ 9755 ecx = MEM32(ebp + (-0x4)); /* 0x2F010C6D: mov ecx, dword ptr [ebp - 4] */ 9756 edi = POP32_VAL(esp); /* 0x2F010C70: pop edi */ 9757 esi = POP32_VAL(esp); /* 0x2F010C71: pop esi */ 9758 eax = MEM32(edx + 0x4); /* 0x2F010C72: mov eax, dword ptr [edx + 4] */ 9759 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010C75: mov byte ptr [eax + 0x20], bl */ 9760 eax = MEM32(ebp + 0x8); /* 0x2F010C78: mov eax, dword ptr [ebp + 8] */ 9761 ebx = POP32_VAL(esp); /* 0x2F010C7B: pop ebx */ 9762 MEM32(eax) = ecx; /* 0x2F010C7C: mov dword ptr [eax], ecx */ 9763 esp = ebp; /* 0x2F010C7E: mov esp, ebp */ 9764 ebp = POP32_VAL(esp); /* 0x2F010C80: pop ebp */ 9765 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2F010C81: ret 0x10 */ 9766 RECOMP_REGS_OUT(); 9767 } 9768 9769 void sub_2F010BC6(void) { 9770 int _fpu_cmp = 0; 9771 uint32_t _cf = 0; 9772 int _df = 1; 9773 uint32_t _flag_k = FK_NONE; 9774 uint32_t _flag_a = 0, _flag_b = 0; 9775 uint32_t _itail_tgt = 0; 9776 RECOMP_REGS_LOCALS 9777 RECOMP_ENTER(0x2F010BC6u); 9778 9779 goto L_2F010BC6; 9780 L_2F010AEA: 9781 ecx = MEM32(eax + 0x4); /* 0x2F010AEA: mov ecx, dword ptr [eax + 4] */ 9782 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x2F010AED: mov dl, byte ptr [ecx + 0x20] */ 9783 /* test LO8(edx), LO8(edx) */ /* 0x2F010AF0: test dl, dl */ 9784 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 9785 _cf = 0; 9786 _flag_k = FK_NARROW(FK_TEST, 24); 9787 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F010C6A; /* 0x2F010AF2: jne 0x2f010c6a */ 9788 L_2F010AF8: 9789 edi = MEM32(ecx + 0x4); /* 0x2F010AF8: mov edi, dword ptr [ecx + 4] */ 9790 edx = MEM32(edi); /* 0x2F010AFB: mov edx, dword ptr [edi] */ 9791 /* cmp ecx, edx */ /* 0x2F010AFD: cmp ecx, edx */ 9792 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 9793 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9794 _flag_k = FK_CMP; 9795 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BC6; /* 0x2F010AFF: jne 0x2f010bc6 */ 9796 L_2F010B05: 9797 edx = MEM32(edi + 0x8); /* 0x2F010B05: mov edx, dword ptr [edi + 8] */ 9798 /* cmp MEM8(edx + 0x20), 0 */ /* 0x2F010B08: cmp byte ptr [edx + 0x20], 0 */ 9799 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 9800 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9801 _flag_k = FK_NARROW(FK_CMP, 24); 9802 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B29; /* 0x2F010B0C: jne 0x2f010b29 */ 9803 L_2F010B0E: 9804 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010B0E: mov byte ptr [ecx + 0x20], bl */ 9805 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010B11: mov byte ptr [edx + 0x20], bl */ 9806 ecx = MEM32(eax + 0x4); /* 0x2F010B14: mov ecx, dword ptr [eax + 4] */ 9807 edx = MEM32(ecx + 0x4); /* 0x2F010B17: mov edx, dword ptr [ecx + 4] */ 9808 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x2F010B1A: mov byte ptr [edx + 0x20], 0 */ 9809 eax = MEM32(eax + 0x4); /* 0x2F010B1E: mov eax, dword ptr [eax + 4] */ 9810 eax = MEM32(eax + 0x4); /* 0x2F010B21: mov eax, dword ptr [eax + 4] */ 9811 goto L_2F010C5E; /* 0x2F010B24: jmp 0x2f010c5e */ 9812 L_2F010B29: 9813 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2F010B29: cmp eax, dword ptr [ecx + 8] */ 9814 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 9815 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9816 _flag_k = FK_CMP; 9817 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B68; /* 0x2F010B2C: jne 0x2f010b68 */ 9818 L_2F010B2E: 9819 eax = ecx; /* 0x2F010B2E: mov eax, ecx */ 9820 ecx = MEM32(eax + 0x8); /* 0x2F010B30: mov ecx, dword ptr [eax + 8] */ 9821 edx = MEM32(ecx); /* 0x2F010B33: mov edx, dword ptr [ecx] */ 9822 MEM32(eax + 0x8) = edx; /* 0x2F010B35: mov dword ptr [eax + 8], edx */ 9823 edx = MEM32(ecx); /* 0x2F010B38: mov edx, dword ptr [ecx] */ 9824 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010B3A: cmp edx, dword ptr [esi + 8] */ 9825 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9826 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9827 _flag_k = FK_CMP; 9828 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010B42; /* 0x2F010B3D: je 0x2f010b42 */ 9829 L_2F010B3F: 9830 MEM32(edx + 0x4) = eax; /* 0x2F010B3F: mov dword ptr [edx + 4], eax */ 9831 L_2F010B42: 9832 edx = MEM32(eax + 0x4); /* 0x2F010B42: mov edx, dword ptr [eax + 4] */ 9833 MEM32(ecx + 0x4) = edx; /* 0x2F010B45: mov dword ptr [ecx + 4], edx */ 9834 edx = MEM32(esi + 0x4); /* 0x2F010B48: mov edx, dword ptr [esi + 4] */ 9835 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010B4B: cmp eax, dword ptr [edx + 4] */ 9836 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 9837 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9838 _flag_k = FK_CMP; 9839 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B55; /* 0x2F010B4E: jne 0x2f010b55 */ 9840 L_2F010B50: 9841 MEM32(edx + 0x4) = ecx; /* 0x2F010B50: mov dword ptr [edx + 4], ecx */ 9842 goto L_2F010B63; /* 0x2F010B53: jmp 0x2f010b63 */ 9843 L_2F010B55: 9844 edx = MEM32(eax + 0x4); /* 0x2F010B55: mov edx, dword ptr [eax + 4] */ 9845 /* cmp eax, MEM32(edx) */ /* 0x2F010B58: cmp eax, dword ptr [edx] */ 9846 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 9847 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9848 _flag_k = FK_CMP; 9849 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B60; /* 0x2F010B5A: jne 0x2f010b60 */ 9850 L_2F010B5C: 9851 MEM32(edx) = ecx; /* 0x2F010B5C: mov dword ptr [edx], ecx */ 9852 goto L_2F010B63; /* 0x2F010B5E: jmp 0x2f010b63 */ 9853 L_2F010B60: 9854 MEM32(edx + 0x8) = ecx; /* 0x2F010B60: mov dword ptr [edx + 8], ecx */ 9855 L_2F010B63: 9856 MEM32(ecx) = eax; /* 0x2F010B63: mov dword ptr [ecx], eax */ 9857 MEM32(eax + 0x4) = ecx; /* 0x2F010B65: mov dword ptr [eax + 4], ecx */ 9858 L_2F010B68: 9859 ecx = MEM32(eax + 0x4); /* 0x2F010B68: mov ecx, dword ptr [eax + 4] */ 9860 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010B6B: mov byte ptr [ecx + 0x20], bl */ 9861 edx = MEM32(eax + 0x4); /* 0x2F010B6E: mov edx, dword ptr [eax + 4] */ 9862 ecx = MEM32(edx + 0x4); /* 0x2F010B71: mov ecx, dword ptr [edx + 4] */ 9863 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010B74: mov byte ptr [ecx + 0x20], 0 */ 9864 edx = MEM32(eax + 0x4); /* 0x2F010B78: mov edx, dword ptr [eax + 4] */ 9865 ecx = MEM32(edx + 0x4); /* 0x2F010B7B: mov ecx, dword ptr [edx + 4] */ 9866 edx = MEM32(ecx); /* 0x2F010B7E: mov edx, dword ptr [ecx] */ 9867 edi = MEM32(edx + 0x8); /* 0x2F010B80: mov edi, dword ptr [edx + 8] */ 9868 MEM32(ecx) = edi; /* 0x2F010B83: mov dword ptr [ecx], edi */ 9869 edi = MEM32(edx + 0x8); /* 0x2F010B85: mov edi, dword ptr [edx + 8] */ 9870 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010B88: cmp edi, dword ptr [esi + 8] */ 9871 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9872 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9873 _flag_k = FK_CMP; 9874 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010B90; /* 0x2F010B8B: je 0x2f010b90 */ 9875 L_2F010B8D: 9876 MEM32(edi + 0x4) = ecx; /* 0x2F010B8D: mov dword ptr [edi + 4], ecx */ 9877 L_2F010B90: 9878 edi = MEM32(ecx + 0x4); /* 0x2F010B90: mov edi, dword ptr [ecx + 4] */ 9879 MEM32(edx + 0x4) = edi; /* 0x2F010B93: mov dword ptr [edx + 4], edi */ 9880 edi = MEM32(esi + 0x4); /* 0x2F010B96: mov edi, dword ptr [esi + 4] */ 9881 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010B99: cmp ecx, dword ptr [edi + 4] */ 9882 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 9883 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9884 _flag_k = FK_CMP; 9885 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BA9; /* 0x2F010B9C: jne 0x2f010ba9 */ 9886 L_2F010B9E: 9887 MEM32(edi + 0x4) = edx; /* 0x2F010B9E: mov dword ptr [edi + 4], edx */ 9888 MEM32(edx + 0x8) = ecx; /* 0x2F010BA1: mov dword ptr [edx + 8], ecx */ 9889 goto L_2F010C5B; /* 0x2F010BA4: jmp 0x2f010c5b */ 9890 L_2F010BA9: 9891 edi = MEM32(ecx + 0x4); /* 0x2F010BA9: mov edi, dword ptr [ecx + 4] */ 9892 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2F010BAC: cmp ecx, dword ptr [edi + 8] */ 9893 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9894 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9895 _flag_k = FK_CMP; 9896 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BBC; /* 0x2F010BAF: jne 0x2f010bbc */ 9897 L_2F010BB1: 9898 MEM32(edi + 0x8) = edx; /* 0x2F010BB1: mov dword ptr [edi + 8], edx */ 9899 MEM32(edx + 0x8) = ecx; /* 0x2F010BB4: mov dword ptr [edx + 8], ecx */ 9900 goto L_2F010C5B; /* 0x2F010BB7: jmp 0x2f010c5b */ 9901 L_2F010BBC: 9902 MEM32(edi) = edx; /* 0x2F010BBC: mov dword ptr [edi], edx */ 9903 MEM32(edx + 0x8) = ecx; /* 0x2F010BBE: mov dword ptr [edx + 8], ecx */ 9904 goto L_2F010C5B; /* 0x2F010BC1: jmp 0x2f010c5b */ 9905 L_2F010BC6: 9906 /* cmp MEM8(edx + 0x20), 0 */ /* 0x2F010BC6: cmp byte ptr [edx + 0x20], 0 */ 9907 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 9908 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9909 _flag_k = FK_NARROW(FK_CMP, 24); 9910 RECOMP_BACKEDGE(); 9911 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010B0E; /* 0x2F010BCA: je 0x2f010b0e */ 9912 L_2F010BD0: 9913 /* cmp eax, MEM32(ecx) */ /* 0x2F010BD0: cmp eax, dword ptr [ecx] */ 9914 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 9915 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9916 _flag_k = FK_CMP; 9917 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C10; /* 0x2F010BD2: jne 0x2f010c10 */ 9918 L_2F010BD4: 9919 eax = ecx; /* 0x2F010BD4: mov eax, ecx */ 9920 ecx = MEM32(eax); /* 0x2F010BD6: mov ecx, dword ptr [eax] */ 9921 edx = MEM32(ecx + 0x8); /* 0x2F010BD8: mov edx, dword ptr [ecx + 8] */ 9922 MEM32(eax) = edx; /* 0x2F010BDB: mov dword ptr [eax], edx */ 9923 edx = MEM32(ecx + 0x8); /* 0x2F010BDD: mov edx, dword ptr [ecx + 8] */ 9924 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010BE0: cmp edx, dword ptr [esi + 8] */ 9925 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9926 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9927 _flag_k = FK_CMP; 9928 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010BE8; /* 0x2F010BE3: je 0x2f010be8 */ 9929 L_2F010BE5: 9930 MEM32(edx + 0x4) = eax; /* 0x2F010BE5: mov dword ptr [edx + 4], eax */ 9931 L_2F010BE8: 9932 edx = MEM32(eax + 0x4); /* 0x2F010BE8: mov edx, dword ptr [eax + 4] */ 9933 MEM32(ecx + 0x4) = edx; /* 0x2F010BEB: mov dword ptr [ecx + 4], edx */ 9934 edx = MEM32(esi + 0x4); /* 0x2F010BEE: mov edx, dword ptr [esi + 4] */ 9935 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010BF1: cmp eax, dword ptr [edx + 4] */ 9936 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 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_2F010BFB; /* 0x2F010BF4: jne 0x2f010bfb */ 9940 L_2F010BF6: 9941 MEM32(edx + 0x4) = ecx; /* 0x2F010BF6: mov dword ptr [edx + 4], ecx */ 9942 goto L_2F010C0A; /* 0x2F010BF9: jmp 0x2f010c0a */ 9943 L_2F010BFB: 9944 edx = MEM32(eax + 0x4); /* 0x2F010BFB: mov edx, dword ptr [eax + 4] */ 9945 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2F010BFE: cmp eax, dword ptr [edx + 8] */ 9946 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 9947 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9948 _flag_k = FK_CMP; 9949 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C08; /* 0x2F010C01: jne 0x2f010c08 */ 9950 L_2F010C03: 9951 MEM32(edx + 0x8) = ecx; /* 0x2F010C03: mov dword ptr [edx + 8], ecx */ 9952 goto L_2F010C0A; /* 0x2F010C06: jmp 0x2f010c0a */ 9953 L_2F010C08: 9954 MEM32(edx) = ecx; /* 0x2F010C08: mov dword ptr [edx], ecx */ 9955 L_2F010C0A: 9956 MEM32(ecx + 0x8) = eax; /* 0x2F010C0A: mov dword ptr [ecx + 8], eax */ 9957 MEM32(eax + 0x4) = ecx; /* 0x2F010C0D: mov dword ptr [eax + 4], ecx */ 9958 L_2F010C10: 9959 ecx = MEM32(eax + 0x4); /* 0x2F010C10: mov ecx, dword ptr [eax + 4] */ 9960 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010C13: mov byte ptr [ecx + 0x20], bl */ 9961 edx = MEM32(eax + 0x4); /* 0x2F010C16: mov edx, dword ptr [eax + 4] */ 9962 ecx = MEM32(edx + 0x4); /* 0x2F010C19: mov ecx, dword ptr [edx + 4] */ 9963 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010C1C: mov byte ptr [ecx + 0x20], 0 */ 9964 edx = MEM32(eax + 0x4); /* 0x2F010C20: mov edx, dword ptr [eax + 4] */ 9965 ecx = MEM32(edx + 0x4); /* 0x2F010C23: mov ecx, dword ptr [edx + 4] */ 9966 edx = MEM32(ecx + 0x8); /* 0x2F010C26: mov edx, dword ptr [ecx + 8] */ 9967 edi = MEM32(edx); /* 0x2F010C29: mov edi, dword ptr [edx] */ 9968 MEM32(ecx + 0x8) = edi; /* 0x2F010C2B: mov dword ptr [ecx + 8], edi */ 9969 edi = MEM32(edx); /* 0x2F010C2E: mov edi, dword ptr [edx] */ 9970 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010C30: cmp edi, dword ptr [esi + 8] */ 9971 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9972 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9973 _flag_k = FK_CMP; 9974 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010C38; /* 0x2F010C33: je 0x2f010c38 */ 9975 L_2F010C35: 9976 MEM32(edi + 0x4) = ecx; /* 0x2F010C35: mov dword ptr [edi + 4], ecx */ 9977 L_2F010C38: 9978 edi = MEM32(ecx + 0x4); /* 0x2F010C38: mov edi, dword ptr [ecx + 4] */ 9979 MEM32(edx + 0x4) = edi; /* 0x2F010C3B: mov dword ptr [edx + 4], edi */ 9980 edi = MEM32(esi + 0x4); /* 0x2F010C3E: mov edi, dword ptr [esi + 4] */ 9981 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010C41: cmp ecx, dword ptr [edi + 4] */ 9982 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 9983 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9984 _flag_k = FK_CMP; 9985 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C4B; /* 0x2F010C44: jne 0x2f010c4b */ 9986 L_2F010C46: 9987 MEM32(edi + 0x4) = edx; /* 0x2F010C46: mov dword ptr [edi + 4], edx */ 9988 goto L_2F010C59; /* 0x2F010C49: jmp 0x2f010c59 */ 9989 L_2F010C4B: 9990 edi = MEM32(ecx + 0x4); /* 0x2F010C4B: mov edi, dword ptr [ecx + 4] */ 9991 /* cmp ecx, MEM32(edi) */ /* 0x2F010C4E: cmp ecx, dword ptr [edi] */ 9992 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 9993 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9994 _flag_k = FK_CMP; 9995 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C56; /* 0x2F010C50: jne 0x2f010c56 */ 9996 L_2F010C52: 9997 MEM32(edi) = edx; /* 0x2F010C52: mov dword ptr [edi], edx */ 9998 goto L_2F010C59; /* 0x2F010C54: jmp 0x2f010c59 */ 9999 L_2F010C56: 10000 MEM32(edi + 0x8) = edx; /* 0x2F010C56: mov dword ptr [edi + 8], edx */ 10001 L_2F010C59: 10002 MEM32(edx) = ecx; /* 0x2F010C59: mov dword ptr [edx], ecx */ 10003 L_2F010C5B: 10004 MEM32(ecx + 0x4) = edx; /* 0x2F010C5B: mov dword ptr [ecx + 4], edx */ 10005 L_2F010C5E: 10006 ecx = MEM32(esi + 0x4); /* 0x2F010C5E: mov ecx, dword ptr [esi + 4] */ 10007 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F010C61: cmp eax, dword ptr [ecx + 4] */ 10008 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 10009 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10010 _flag_k = FK_CMP; 10011 RECOMP_BACKEDGE(); 10012 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010AEA; /* 0x2F010C64: jne 0x2f010aea */ 10013 L_2F010C6A: 10014 edx = MEM32(esi + 0x4); /* 0x2F010C6A: mov edx, dword ptr [esi + 4] */ 10015 ecx = MEM32(ebp + (-0x4)); /* 0x2F010C6D: mov ecx, dword ptr [ebp - 4] */ 10016 edi = POP32_VAL(esp); /* 0x2F010C70: pop edi */ 10017 esi = POP32_VAL(esp); /* 0x2F010C71: pop esi */ 10018 eax = MEM32(edx + 0x4); /* 0x2F010C72: mov eax, dword ptr [edx + 4] */ 10019 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010C75: mov byte ptr [eax + 0x20], bl */ 10020 eax = MEM32(ebp + 0x8); /* 0x2F010C78: mov eax, dword ptr [ebp + 8] */ 10021 ebx = POP32_VAL(esp); /* 0x2F010C7B: pop ebx */ 10022 MEM32(eax) = ecx; /* 0x2F010C7C: mov dword ptr [eax], ecx */ 10023 esp = ebp; /* 0x2F010C7E: mov esp, ebp */ 10024 ebp = POP32_VAL(esp); /* 0x2F010C80: pop ebp */ 10025 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2F010C81: ret 0x10 */ 10026 RECOMP_REGS_OUT(); 10027 } 10028 10029 void sub_2F010C0A(void) { 10030 int _fpu_cmp = 0; 10031 uint32_t _cf = 0; 10032 int _df = 1; 10033 uint32_t _flag_k = FK_NONE; 10034 uint32_t _flag_a = 0, _flag_b = 0; 10035 uint32_t _itail_tgt = 0; 10036 RECOMP_REGS_LOCALS 10037 RECOMP_ENTER(0x2F010C0Au); 10038 10039 goto L_2F010C0A; 10040 L_2F010AEA: 10041 ecx = MEM32(eax + 0x4); /* 0x2F010AEA: mov ecx, dword ptr [eax + 4] */ 10042 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x2F010AED: mov dl, byte ptr [ecx + 0x20] */ 10043 /* test LO8(edx), LO8(edx) */ /* 0x2F010AF0: test dl, dl */ 10044 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 10045 _cf = 0; 10046 _flag_k = FK_NARROW(FK_TEST, 24); 10047 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F010C6A; /* 0x2F010AF2: jne 0x2f010c6a */ 10048 L_2F010AF8: 10049 edi = MEM32(ecx + 0x4); /* 0x2F010AF8: mov edi, dword ptr [ecx + 4] */ 10050 edx = MEM32(edi); /* 0x2F010AFB: mov edx, dword ptr [edi] */ 10051 /* cmp ecx, edx */ /* 0x2F010AFD: cmp ecx, edx */ 10052 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 10053 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10054 _flag_k = FK_CMP; 10055 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BC6; /* 0x2F010AFF: jne 0x2f010bc6 */ 10056 L_2F010B05: 10057 edx = MEM32(edi + 0x8); /* 0x2F010B05: mov edx, dword ptr [edi + 8] */ 10058 /* cmp MEM8(edx + 0x20), 0 */ /* 0x2F010B08: cmp byte ptr [edx + 0x20], 0 */ 10059 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 10060 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10061 _flag_k = FK_NARROW(FK_CMP, 24); 10062 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B29; /* 0x2F010B0C: jne 0x2f010b29 */ 10063 L_2F010B0E: 10064 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010B0E: mov byte ptr [ecx + 0x20], bl */ 10065 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010B11: mov byte ptr [edx + 0x20], bl */ 10066 ecx = MEM32(eax + 0x4); /* 0x2F010B14: mov ecx, dword ptr [eax + 4] */ 10067 edx = MEM32(ecx + 0x4); /* 0x2F010B17: mov edx, dword ptr [ecx + 4] */ 10068 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x2F010B1A: mov byte ptr [edx + 0x20], 0 */ 10069 eax = MEM32(eax + 0x4); /* 0x2F010B1E: mov eax, dword ptr [eax + 4] */ 10070 eax = MEM32(eax + 0x4); /* 0x2F010B21: mov eax, dword ptr [eax + 4] */ 10071 goto L_2F010C5E; /* 0x2F010B24: jmp 0x2f010c5e */ 10072 L_2F010B29: 10073 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2F010B29: cmp eax, dword ptr [ecx + 8] */ 10074 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 10075 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10076 _flag_k = FK_CMP; 10077 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B68; /* 0x2F010B2C: jne 0x2f010b68 */ 10078 L_2F010B2E: 10079 eax = ecx; /* 0x2F010B2E: mov eax, ecx */ 10080 ecx = MEM32(eax + 0x8); /* 0x2F010B30: mov ecx, dword ptr [eax + 8] */ 10081 edx = MEM32(ecx); /* 0x2F010B33: mov edx, dword ptr [ecx] */ 10082 MEM32(eax + 0x8) = edx; /* 0x2F010B35: mov dword ptr [eax + 8], edx */ 10083 edx = MEM32(ecx); /* 0x2F010B38: mov edx, dword ptr [ecx] */ 10084 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010B3A: cmp edx, dword ptr [esi + 8] */ 10085 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10086 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10087 _flag_k = FK_CMP; 10088 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010B42; /* 0x2F010B3D: je 0x2f010b42 */ 10089 L_2F010B3F: 10090 MEM32(edx + 0x4) = eax; /* 0x2F010B3F: mov dword ptr [edx + 4], eax */ 10091 L_2F010B42: 10092 edx = MEM32(eax + 0x4); /* 0x2F010B42: mov edx, dword ptr [eax + 4] */ 10093 MEM32(ecx + 0x4) = edx; /* 0x2F010B45: mov dword ptr [ecx + 4], edx */ 10094 edx = MEM32(esi + 0x4); /* 0x2F010B48: mov edx, dword ptr [esi + 4] */ 10095 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010B4B: cmp eax, dword ptr [edx + 4] */ 10096 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 10097 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10098 _flag_k = FK_CMP; 10099 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B55; /* 0x2F010B4E: jne 0x2f010b55 */ 10100 L_2F010B50: 10101 MEM32(edx + 0x4) = ecx; /* 0x2F010B50: mov dword ptr [edx + 4], ecx */ 10102 goto L_2F010B63; /* 0x2F010B53: jmp 0x2f010b63 */ 10103 L_2F010B55: 10104 edx = MEM32(eax + 0x4); /* 0x2F010B55: mov edx, dword ptr [eax + 4] */ 10105 /* cmp eax, MEM32(edx) */ /* 0x2F010B58: cmp eax, dword ptr [edx] */ 10106 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 10107 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10108 _flag_k = FK_CMP; 10109 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B60; /* 0x2F010B5A: jne 0x2f010b60 */ 10110 L_2F010B5C: 10111 MEM32(edx) = ecx; /* 0x2F010B5C: mov dword ptr [edx], ecx */ 10112 goto L_2F010B63; /* 0x2F010B5E: jmp 0x2f010b63 */ 10113 L_2F010B60: 10114 MEM32(edx + 0x8) = ecx; /* 0x2F010B60: mov dword ptr [edx + 8], ecx */ 10115 L_2F010B63: 10116 MEM32(ecx) = eax; /* 0x2F010B63: mov dword ptr [ecx], eax */ 10117 MEM32(eax + 0x4) = ecx; /* 0x2F010B65: mov dword ptr [eax + 4], ecx */ 10118 L_2F010B68: 10119 ecx = MEM32(eax + 0x4); /* 0x2F010B68: mov ecx, dword ptr [eax + 4] */ 10120 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010B6B: mov byte ptr [ecx + 0x20], bl */ 10121 edx = MEM32(eax + 0x4); /* 0x2F010B6E: mov edx, dword ptr [eax + 4] */ 10122 ecx = MEM32(edx + 0x4); /* 0x2F010B71: mov ecx, dword ptr [edx + 4] */ 10123 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010B74: mov byte ptr [ecx + 0x20], 0 */ 10124 edx = MEM32(eax + 0x4); /* 0x2F010B78: mov edx, dword ptr [eax + 4] */ 10125 ecx = MEM32(edx + 0x4); /* 0x2F010B7B: mov ecx, dword ptr [edx + 4] */ 10126 edx = MEM32(ecx); /* 0x2F010B7E: mov edx, dword ptr [ecx] */ 10127 edi = MEM32(edx + 0x8); /* 0x2F010B80: mov edi, dword ptr [edx + 8] */ 10128 MEM32(ecx) = edi; /* 0x2F010B83: mov dword ptr [ecx], edi */ 10129 edi = MEM32(edx + 0x8); /* 0x2F010B85: mov edi, dword ptr [edx + 8] */ 10130 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010B88: cmp edi, dword ptr [esi + 8] */ 10131 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10132 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10133 _flag_k = FK_CMP; 10134 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010B90; /* 0x2F010B8B: je 0x2f010b90 */ 10135 L_2F010B8D: 10136 MEM32(edi + 0x4) = ecx; /* 0x2F010B8D: mov dword ptr [edi + 4], ecx */ 10137 L_2F010B90: 10138 edi = MEM32(ecx + 0x4); /* 0x2F010B90: mov edi, dword ptr [ecx + 4] */ 10139 MEM32(edx + 0x4) = edi; /* 0x2F010B93: mov dword ptr [edx + 4], edi */ 10140 edi = MEM32(esi + 0x4); /* 0x2F010B96: mov edi, dword ptr [esi + 4] */ 10141 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010B99: cmp ecx, dword ptr [edi + 4] */ 10142 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 10143 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10144 _flag_k = FK_CMP; 10145 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BA9; /* 0x2F010B9C: jne 0x2f010ba9 */ 10146 L_2F010B9E: 10147 MEM32(edi + 0x4) = edx; /* 0x2F010B9E: mov dword ptr [edi + 4], edx */ 10148 MEM32(edx + 0x8) = ecx; /* 0x2F010BA1: mov dword ptr [edx + 8], ecx */ 10149 goto L_2F010C5B; /* 0x2F010BA4: jmp 0x2f010c5b */ 10150 L_2F010BA9: 10151 edi = MEM32(ecx + 0x4); /* 0x2F010BA9: mov edi, dword ptr [ecx + 4] */ 10152 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2F010BAC: cmp ecx, dword ptr [edi + 8] */ 10153 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10154 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10155 _flag_k = FK_CMP; 10156 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BBC; /* 0x2F010BAF: jne 0x2f010bbc */ 10157 L_2F010BB1: 10158 MEM32(edi + 0x8) = edx; /* 0x2F010BB1: mov dword ptr [edi + 8], edx */ 10159 MEM32(edx + 0x8) = ecx; /* 0x2F010BB4: mov dword ptr [edx + 8], ecx */ 10160 goto L_2F010C5B; /* 0x2F010BB7: jmp 0x2f010c5b */ 10161 L_2F010BBC: 10162 MEM32(edi) = edx; /* 0x2F010BBC: mov dword ptr [edi], edx */ 10163 MEM32(edx + 0x8) = ecx; /* 0x2F010BBE: mov dword ptr [edx + 8], ecx */ 10164 goto L_2F010C5B; /* 0x2F010BC1: jmp 0x2f010c5b */ 10165 L_2F010BC6: 10166 /* cmp MEM8(edx + 0x20), 0 */ /* 0x2F010BC6: cmp byte ptr [edx + 0x20], 0 */ 10167 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 10168 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10169 _flag_k = FK_NARROW(FK_CMP, 24); 10170 RECOMP_BACKEDGE(); 10171 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010B0E; /* 0x2F010BCA: je 0x2f010b0e */ 10172 L_2F010BD0: 10173 /* cmp eax, MEM32(ecx) */ /* 0x2F010BD0: cmp eax, dword ptr [ecx] */ 10174 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 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_2F010C10; /* 0x2F010BD2: jne 0x2f010c10 */ 10178 L_2F010BD4: 10179 eax = ecx; /* 0x2F010BD4: mov eax, ecx */ 10180 ecx = MEM32(eax); /* 0x2F010BD6: mov ecx, dword ptr [eax] */ 10181 edx = MEM32(ecx + 0x8); /* 0x2F010BD8: mov edx, dword ptr [ecx + 8] */ 10182 MEM32(eax) = edx; /* 0x2F010BDB: mov dword ptr [eax], edx */ 10183 edx = MEM32(ecx + 0x8); /* 0x2F010BDD: mov edx, dword ptr [ecx + 8] */ 10184 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010BE0: cmp edx, dword ptr [esi + 8] */ 10185 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10186 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10187 _flag_k = FK_CMP; 10188 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010BE8; /* 0x2F010BE3: je 0x2f010be8 */ 10189 L_2F010BE5: 10190 MEM32(edx + 0x4) = eax; /* 0x2F010BE5: mov dword ptr [edx + 4], eax */ 10191 L_2F010BE8: 10192 edx = MEM32(eax + 0x4); /* 0x2F010BE8: mov edx, dword ptr [eax + 4] */ 10193 MEM32(ecx + 0x4) = edx; /* 0x2F010BEB: mov dword ptr [ecx + 4], edx */ 10194 edx = MEM32(esi + 0x4); /* 0x2F010BEE: mov edx, dword ptr [esi + 4] */ 10195 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010BF1: cmp eax, dword ptr [edx + 4] */ 10196 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 10197 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10198 _flag_k = FK_CMP; 10199 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BFB; /* 0x2F010BF4: jne 0x2f010bfb */ 10200 L_2F010BF6: 10201 MEM32(edx + 0x4) = ecx; /* 0x2F010BF6: mov dword ptr [edx + 4], ecx */ 10202 goto L_2F010C0A; /* 0x2F010BF9: jmp 0x2f010c0a */ 10203 L_2F010BFB: 10204 edx = MEM32(eax + 0x4); /* 0x2F010BFB: mov edx, dword ptr [eax + 4] */ 10205 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2F010BFE: cmp eax, dword ptr [edx + 8] */ 10206 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 10207 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10208 _flag_k = FK_CMP; 10209 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C08; /* 0x2F010C01: jne 0x2f010c08 */ 10210 L_2F010C03: 10211 MEM32(edx + 0x8) = ecx; /* 0x2F010C03: mov dword ptr [edx + 8], ecx */ 10212 goto L_2F010C0A; /* 0x2F010C06: jmp 0x2f010c0a */ 10213 L_2F010C08: 10214 MEM32(edx) = ecx; /* 0x2F010C08: mov dword ptr [edx], ecx */ 10215 L_2F010C0A: 10216 MEM32(ecx + 0x8) = eax; /* 0x2F010C0A: mov dword ptr [ecx + 8], eax */ 10217 MEM32(eax + 0x4) = ecx; /* 0x2F010C0D: mov dword ptr [eax + 4], ecx */ 10218 L_2F010C10: 10219 ecx = MEM32(eax + 0x4); /* 0x2F010C10: mov ecx, dword ptr [eax + 4] */ 10220 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010C13: mov byte ptr [ecx + 0x20], bl */ 10221 edx = MEM32(eax + 0x4); /* 0x2F010C16: mov edx, dword ptr [eax + 4] */ 10222 ecx = MEM32(edx + 0x4); /* 0x2F010C19: mov ecx, dword ptr [edx + 4] */ 10223 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010C1C: mov byte ptr [ecx + 0x20], 0 */ 10224 edx = MEM32(eax + 0x4); /* 0x2F010C20: mov edx, dword ptr [eax + 4] */ 10225 ecx = MEM32(edx + 0x4); /* 0x2F010C23: mov ecx, dword ptr [edx + 4] */ 10226 edx = MEM32(ecx + 0x8); /* 0x2F010C26: mov edx, dword ptr [ecx + 8] */ 10227 edi = MEM32(edx); /* 0x2F010C29: mov edi, dword ptr [edx] */ 10228 MEM32(ecx + 0x8) = edi; /* 0x2F010C2B: mov dword ptr [ecx + 8], edi */ 10229 edi = MEM32(edx); /* 0x2F010C2E: mov edi, dword ptr [edx] */ 10230 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010C30: cmp edi, dword ptr [esi + 8] */ 10231 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10232 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10233 _flag_k = FK_CMP; 10234 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010C38; /* 0x2F010C33: je 0x2f010c38 */ 10235 L_2F010C35: 10236 MEM32(edi + 0x4) = ecx; /* 0x2F010C35: mov dword ptr [edi + 4], ecx */ 10237 L_2F010C38: 10238 edi = MEM32(ecx + 0x4); /* 0x2F010C38: mov edi, dword ptr [ecx + 4] */ 10239 MEM32(edx + 0x4) = edi; /* 0x2F010C3B: mov dword ptr [edx + 4], edi */ 10240 edi = MEM32(esi + 0x4); /* 0x2F010C3E: mov edi, dword ptr [esi + 4] */ 10241 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010C41: cmp ecx, dword ptr [edi + 4] */ 10242 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 10243 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10244 _flag_k = FK_CMP; 10245 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C4B; /* 0x2F010C44: jne 0x2f010c4b */ 10246 L_2F010C46: 10247 MEM32(edi + 0x4) = edx; /* 0x2F010C46: mov dword ptr [edi + 4], edx */ 10248 goto L_2F010C59; /* 0x2F010C49: jmp 0x2f010c59 */ 10249 L_2F010C4B: 10250 edi = MEM32(ecx + 0x4); /* 0x2F010C4B: mov edi, dword ptr [ecx + 4] */ 10251 /* cmp ecx, MEM32(edi) */ /* 0x2F010C4E: cmp ecx, dword ptr [edi] */ 10252 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 10253 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10254 _flag_k = FK_CMP; 10255 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C56; /* 0x2F010C50: jne 0x2f010c56 */ 10256 L_2F010C52: 10257 MEM32(edi) = edx; /* 0x2F010C52: mov dword ptr [edi], edx */ 10258 goto L_2F010C59; /* 0x2F010C54: jmp 0x2f010c59 */ 10259 L_2F010C56: 10260 MEM32(edi + 0x8) = edx; /* 0x2F010C56: mov dword ptr [edi + 8], edx */ 10261 L_2F010C59: 10262 MEM32(edx) = ecx; /* 0x2F010C59: mov dword ptr [edx], ecx */ 10263 L_2F010C5B: 10264 MEM32(ecx + 0x4) = edx; /* 0x2F010C5B: mov dword ptr [ecx + 4], edx */ 10265 L_2F010C5E: 10266 ecx = MEM32(esi + 0x4); /* 0x2F010C5E: mov ecx, dword ptr [esi + 4] */ 10267 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F010C61: cmp eax, dword ptr [ecx + 4] */ 10268 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 10269 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10270 _flag_k = FK_CMP; 10271 RECOMP_BACKEDGE(); 10272 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010AEA; /* 0x2F010C64: jne 0x2f010aea */ 10273 L_2F010C6A: 10274 edx = MEM32(esi + 0x4); /* 0x2F010C6A: mov edx, dword ptr [esi + 4] */ 10275 ecx = MEM32(ebp + (-0x4)); /* 0x2F010C6D: mov ecx, dword ptr [ebp - 4] */ 10276 edi = POP32_VAL(esp); /* 0x2F010C70: pop edi */ 10277 esi = POP32_VAL(esp); /* 0x2F010C71: pop esi */ 10278 eax = MEM32(edx + 0x4); /* 0x2F010C72: mov eax, dword ptr [edx + 4] */ 10279 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010C75: mov byte ptr [eax + 0x20], bl */ 10280 eax = MEM32(ebp + 0x8); /* 0x2F010C78: mov eax, dword ptr [ebp + 8] */ 10281 ebx = POP32_VAL(esp); /* 0x2F010C7B: pop ebx */ 10282 MEM32(eax) = ecx; /* 0x2F010C7C: mov dword ptr [eax], ecx */ 10283 esp = ebp; /* 0x2F010C7E: mov esp, ebp */ 10284 ebp = POP32_VAL(esp); /* 0x2F010C80: pop ebp */ 10285 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2F010C81: ret 0x10 */ 10286 RECOMP_REGS_OUT(); 10287 } 10288 10289 void sub_2F010C10(void) { 10290 int _fpu_cmp = 0; 10291 uint32_t _cf = 0; 10292 int _df = 1; 10293 uint32_t _flag_k = FK_NONE; 10294 uint32_t _flag_a = 0, _flag_b = 0; 10295 uint32_t _itail_tgt = 0; 10296 RECOMP_REGS_LOCALS 10297 RECOMP_ENTER(0x2F010C10u); 10298 10299 goto L_2F010C10; 10300 L_2F010AEA: 10301 ecx = MEM32(eax + 0x4); /* 0x2F010AEA: mov ecx, dword ptr [eax + 4] */ 10302 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x2F010AED: mov dl, byte ptr [ecx + 0x20] */ 10303 /* test LO8(edx), LO8(edx) */ /* 0x2F010AF0: test dl, dl */ 10304 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 10305 _cf = 0; 10306 _flag_k = FK_NARROW(FK_TEST, 24); 10307 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F010C6A; /* 0x2F010AF2: jne 0x2f010c6a */ 10308 L_2F010AF8: 10309 edi = MEM32(ecx + 0x4); /* 0x2F010AF8: mov edi, dword ptr [ecx + 4] */ 10310 edx = MEM32(edi); /* 0x2F010AFB: mov edx, dword ptr [edi] */ 10311 /* cmp ecx, edx */ /* 0x2F010AFD: cmp ecx, edx */ 10312 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 10313 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10314 _flag_k = FK_CMP; 10315 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BC6; /* 0x2F010AFF: jne 0x2f010bc6 */ 10316 L_2F010B05: 10317 edx = MEM32(edi + 0x8); /* 0x2F010B05: mov edx, dword ptr [edi + 8] */ 10318 /* cmp MEM8(edx + 0x20), 0 */ /* 0x2F010B08: cmp byte ptr [edx + 0x20], 0 */ 10319 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 10320 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10321 _flag_k = FK_NARROW(FK_CMP, 24); 10322 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B29; /* 0x2F010B0C: jne 0x2f010b29 */ 10323 L_2F010B0E: 10324 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010B0E: mov byte ptr [ecx + 0x20], bl */ 10325 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010B11: mov byte ptr [edx + 0x20], bl */ 10326 ecx = MEM32(eax + 0x4); /* 0x2F010B14: mov ecx, dword ptr [eax + 4] */ 10327 edx = MEM32(ecx + 0x4); /* 0x2F010B17: mov edx, dword ptr [ecx + 4] */ 10328 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x2F010B1A: mov byte ptr [edx + 0x20], 0 */ 10329 eax = MEM32(eax + 0x4); /* 0x2F010B1E: mov eax, dword ptr [eax + 4] */ 10330 eax = MEM32(eax + 0x4); /* 0x2F010B21: mov eax, dword ptr [eax + 4] */ 10331 goto L_2F010C5E; /* 0x2F010B24: jmp 0x2f010c5e */ 10332 L_2F010B29: 10333 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2F010B29: cmp eax, dword ptr [ecx + 8] */ 10334 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 10335 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10336 _flag_k = FK_CMP; 10337 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B68; /* 0x2F010B2C: jne 0x2f010b68 */ 10338 L_2F010B2E: 10339 eax = ecx; /* 0x2F010B2E: mov eax, ecx */ 10340 ecx = MEM32(eax + 0x8); /* 0x2F010B30: mov ecx, dword ptr [eax + 8] */ 10341 edx = MEM32(ecx); /* 0x2F010B33: mov edx, dword ptr [ecx] */ 10342 MEM32(eax + 0x8) = edx; /* 0x2F010B35: mov dword ptr [eax + 8], edx */ 10343 edx = MEM32(ecx); /* 0x2F010B38: mov edx, dword ptr [ecx] */ 10344 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010B3A: cmp edx, dword ptr [esi + 8] */ 10345 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10346 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10347 _flag_k = FK_CMP; 10348 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010B42; /* 0x2F010B3D: je 0x2f010b42 */ 10349 L_2F010B3F: 10350 MEM32(edx + 0x4) = eax; /* 0x2F010B3F: mov dword ptr [edx + 4], eax */ 10351 L_2F010B42: 10352 edx = MEM32(eax + 0x4); /* 0x2F010B42: mov edx, dword ptr [eax + 4] */ 10353 MEM32(ecx + 0x4) = edx; /* 0x2F010B45: mov dword ptr [ecx + 4], edx */ 10354 edx = MEM32(esi + 0x4); /* 0x2F010B48: mov edx, dword ptr [esi + 4] */ 10355 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010B4B: cmp eax, dword ptr [edx + 4] */ 10356 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 10357 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10358 _flag_k = FK_CMP; 10359 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B55; /* 0x2F010B4E: jne 0x2f010b55 */ 10360 L_2F010B50: 10361 MEM32(edx + 0x4) = ecx; /* 0x2F010B50: mov dword ptr [edx + 4], ecx */ 10362 goto L_2F010B63; /* 0x2F010B53: jmp 0x2f010b63 */ 10363 L_2F010B55: 10364 edx = MEM32(eax + 0x4); /* 0x2F010B55: mov edx, dword ptr [eax + 4] */ 10365 /* cmp eax, MEM32(edx) */ /* 0x2F010B58: cmp eax, dword ptr [edx] */ 10366 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 10367 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10368 _flag_k = FK_CMP; 10369 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B60; /* 0x2F010B5A: jne 0x2f010b60 */ 10370 L_2F010B5C: 10371 MEM32(edx) = ecx; /* 0x2F010B5C: mov dword ptr [edx], ecx */ 10372 goto L_2F010B63; /* 0x2F010B5E: jmp 0x2f010b63 */ 10373 L_2F010B60: 10374 MEM32(edx + 0x8) = ecx; /* 0x2F010B60: mov dword ptr [edx + 8], ecx */ 10375 L_2F010B63: 10376 MEM32(ecx) = eax; /* 0x2F010B63: mov dword ptr [ecx], eax */ 10377 MEM32(eax + 0x4) = ecx; /* 0x2F010B65: mov dword ptr [eax + 4], ecx */ 10378 L_2F010B68: 10379 ecx = MEM32(eax + 0x4); /* 0x2F010B68: mov ecx, dword ptr [eax + 4] */ 10380 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010B6B: mov byte ptr [ecx + 0x20], bl */ 10381 edx = MEM32(eax + 0x4); /* 0x2F010B6E: mov edx, dword ptr [eax + 4] */ 10382 ecx = MEM32(edx + 0x4); /* 0x2F010B71: mov ecx, dword ptr [edx + 4] */ 10383 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010B74: mov byte ptr [ecx + 0x20], 0 */ 10384 edx = MEM32(eax + 0x4); /* 0x2F010B78: mov edx, dword ptr [eax + 4] */ 10385 ecx = MEM32(edx + 0x4); /* 0x2F010B7B: mov ecx, dword ptr [edx + 4] */ 10386 edx = MEM32(ecx); /* 0x2F010B7E: mov edx, dword ptr [ecx] */ 10387 edi = MEM32(edx + 0x8); /* 0x2F010B80: mov edi, dword ptr [edx + 8] */ 10388 MEM32(ecx) = edi; /* 0x2F010B83: mov dword ptr [ecx], edi */ 10389 edi = MEM32(edx + 0x8); /* 0x2F010B85: mov edi, dword ptr [edx + 8] */ 10390 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010B88: cmp edi, dword ptr [esi + 8] */ 10391 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10392 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10393 _flag_k = FK_CMP; 10394 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010B90; /* 0x2F010B8B: je 0x2f010b90 */ 10395 L_2F010B8D: 10396 MEM32(edi + 0x4) = ecx; /* 0x2F010B8D: mov dword ptr [edi + 4], ecx */ 10397 L_2F010B90: 10398 edi = MEM32(ecx + 0x4); /* 0x2F010B90: mov edi, dword ptr [ecx + 4] */ 10399 MEM32(edx + 0x4) = edi; /* 0x2F010B93: mov dword ptr [edx + 4], edi */ 10400 edi = MEM32(esi + 0x4); /* 0x2F010B96: mov edi, dword ptr [esi + 4] */ 10401 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010B99: cmp ecx, dword ptr [edi + 4] */ 10402 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 10403 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10404 _flag_k = FK_CMP; 10405 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BA9; /* 0x2F010B9C: jne 0x2f010ba9 */ 10406 L_2F010B9E: 10407 MEM32(edi + 0x4) = edx; /* 0x2F010B9E: mov dword ptr [edi + 4], edx */ 10408 MEM32(edx + 0x8) = ecx; /* 0x2F010BA1: mov dword ptr [edx + 8], ecx */ 10409 goto L_2F010C5B; /* 0x2F010BA4: jmp 0x2f010c5b */ 10410 L_2F010BA9: 10411 edi = MEM32(ecx + 0x4); /* 0x2F010BA9: mov edi, dword ptr [ecx + 4] */ 10412 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2F010BAC: cmp ecx, dword ptr [edi + 8] */ 10413 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10414 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10415 _flag_k = FK_CMP; 10416 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BBC; /* 0x2F010BAF: jne 0x2f010bbc */ 10417 L_2F010BB1: 10418 MEM32(edi + 0x8) = edx; /* 0x2F010BB1: mov dword ptr [edi + 8], edx */ 10419 MEM32(edx + 0x8) = ecx; /* 0x2F010BB4: mov dword ptr [edx + 8], ecx */ 10420 goto L_2F010C5B; /* 0x2F010BB7: jmp 0x2f010c5b */ 10421 L_2F010BBC: 10422 MEM32(edi) = edx; /* 0x2F010BBC: mov dword ptr [edi], edx */ 10423 MEM32(edx + 0x8) = ecx; /* 0x2F010BBE: mov dword ptr [edx + 8], ecx */ 10424 goto L_2F010C5B; /* 0x2F010BC1: jmp 0x2f010c5b */ 10425 L_2F010BC6: 10426 /* cmp MEM8(edx + 0x20), 0 */ /* 0x2F010BC6: cmp byte ptr [edx + 0x20], 0 */ 10427 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 10428 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10429 _flag_k = FK_NARROW(FK_CMP, 24); 10430 RECOMP_BACKEDGE(); 10431 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010B0E; /* 0x2F010BCA: je 0x2f010b0e */ 10432 L_2F010BD0: 10433 /* cmp eax, MEM32(ecx) */ /* 0x2F010BD0: cmp eax, dword ptr [ecx] */ 10434 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 10435 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10436 _flag_k = FK_CMP; 10437 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C10; /* 0x2F010BD2: jne 0x2f010c10 */ 10438 L_2F010BD4: 10439 eax = ecx; /* 0x2F010BD4: mov eax, ecx */ 10440 ecx = MEM32(eax); /* 0x2F010BD6: mov ecx, dword ptr [eax] */ 10441 edx = MEM32(ecx + 0x8); /* 0x2F010BD8: mov edx, dword ptr [ecx + 8] */ 10442 MEM32(eax) = edx; /* 0x2F010BDB: mov dword ptr [eax], edx */ 10443 edx = MEM32(ecx + 0x8); /* 0x2F010BDD: mov edx, dword ptr [ecx + 8] */ 10444 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010BE0: cmp edx, dword ptr [esi + 8] */ 10445 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10446 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10447 _flag_k = FK_CMP; 10448 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010BE8; /* 0x2F010BE3: je 0x2f010be8 */ 10449 L_2F010BE5: 10450 MEM32(edx + 0x4) = eax; /* 0x2F010BE5: mov dword ptr [edx + 4], eax */ 10451 L_2F010BE8: 10452 edx = MEM32(eax + 0x4); /* 0x2F010BE8: mov edx, dword ptr [eax + 4] */ 10453 MEM32(ecx + 0x4) = edx; /* 0x2F010BEB: mov dword ptr [ecx + 4], edx */ 10454 edx = MEM32(esi + 0x4); /* 0x2F010BEE: mov edx, dword ptr [esi + 4] */ 10455 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010BF1: cmp eax, dword ptr [edx + 4] */ 10456 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 10457 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10458 _flag_k = FK_CMP; 10459 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BFB; /* 0x2F010BF4: jne 0x2f010bfb */ 10460 L_2F010BF6: 10461 MEM32(edx + 0x4) = ecx; /* 0x2F010BF6: mov dword ptr [edx + 4], ecx */ 10462 goto L_2F010C0A; /* 0x2F010BF9: jmp 0x2f010c0a */ 10463 L_2F010BFB: 10464 edx = MEM32(eax + 0x4); /* 0x2F010BFB: mov edx, dword ptr [eax + 4] */ 10465 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2F010BFE: cmp eax, dword ptr [edx + 8] */ 10466 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 10467 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10468 _flag_k = FK_CMP; 10469 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C08; /* 0x2F010C01: jne 0x2f010c08 */ 10470 L_2F010C03: 10471 MEM32(edx + 0x8) = ecx; /* 0x2F010C03: mov dword ptr [edx + 8], ecx */ 10472 goto L_2F010C0A; /* 0x2F010C06: jmp 0x2f010c0a */ 10473 L_2F010C08: 10474 MEM32(edx) = ecx; /* 0x2F010C08: mov dword ptr [edx], ecx */ 10475 L_2F010C0A: 10476 MEM32(ecx + 0x8) = eax; /* 0x2F010C0A: mov dword ptr [ecx + 8], eax */ 10477 MEM32(eax + 0x4) = ecx; /* 0x2F010C0D: mov dword ptr [eax + 4], ecx */ 10478 L_2F010C10: 10479 ecx = MEM32(eax + 0x4); /* 0x2F010C10: mov ecx, dword ptr [eax + 4] */ 10480 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010C13: mov byte ptr [ecx + 0x20], bl */ 10481 edx = MEM32(eax + 0x4); /* 0x2F010C16: mov edx, dword ptr [eax + 4] */ 10482 ecx = MEM32(edx + 0x4); /* 0x2F010C19: mov ecx, dword ptr [edx + 4] */ 10483 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010C1C: mov byte ptr [ecx + 0x20], 0 */ 10484 edx = MEM32(eax + 0x4); /* 0x2F010C20: mov edx, dword ptr [eax + 4] */ 10485 ecx = MEM32(edx + 0x4); /* 0x2F010C23: mov ecx, dword ptr [edx + 4] */ 10486 edx = MEM32(ecx + 0x8); /* 0x2F010C26: mov edx, dword ptr [ecx + 8] */ 10487 edi = MEM32(edx); /* 0x2F010C29: mov edi, dword ptr [edx] */ 10488 MEM32(ecx + 0x8) = edi; /* 0x2F010C2B: mov dword ptr [ecx + 8], edi */ 10489 edi = MEM32(edx); /* 0x2F010C2E: mov edi, dword ptr [edx] */ 10490 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010C30: cmp edi, dword ptr [esi + 8] */ 10491 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10492 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10493 _flag_k = FK_CMP; 10494 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010C38; /* 0x2F010C33: je 0x2f010c38 */ 10495 L_2F010C35: 10496 MEM32(edi + 0x4) = ecx; /* 0x2F010C35: mov dword ptr [edi + 4], ecx */ 10497 L_2F010C38: 10498 edi = MEM32(ecx + 0x4); /* 0x2F010C38: mov edi, dword ptr [ecx + 4] */ 10499 MEM32(edx + 0x4) = edi; /* 0x2F010C3B: mov dword ptr [edx + 4], edi */ 10500 edi = MEM32(esi + 0x4); /* 0x2F010C3E: mov edi, dword ptr [esi + 4] */ 10501 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010C41: cmp ecx, dword ptr [edi + 4] */ 10502 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 10503 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10504 _flag_k = FK_CMP; 10505 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C4B; /* 0x2F010C44: jne 0x2f010c4b */ 10506 L_2F010C46: 10507 MEM32(edi + 0x4) = edx; /* 0x2F010C46: mov dword ptr [edi + 4], edx */ 10508 goto L_2F010C59; /* 0x2F010C49: jmp 0x2f010c59 */ 10509 L_2F010C4B: 10510 edi = MEM32(ecx + 0x4); /* 0x2F010C4B: mov edi, dword ptr [ecx + 4] */ 10511 /* cmp ecx, MEM32(edi) */ /* 0x2F010C4E: cmp ecx, dword ptr [edi] */ 10512 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 10513 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10514 _flag_k = FK_CMP; 10515 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C56; /* 0x2F010C50: jne 0x2f010c56 */ 10516 L_2F010C52: 10517 MEM32(edi) = edx; /* 0x2F010C52: mov dword ptr [edi], edx */ 10518 goto L_2F010C59; /* 0x2F010C54: jmp 0x2f010c59 */ 10519 L_2F010C56: 10520 MEM32(edi + 0x8) = edx; /* 0x2F010C56: mov dword ptr [edi + 8], edx */ 10521 L_2F010C59: 10522 MEM32(edx) = ecx; /* 0x2F010C59: mov dword ptr [edx], ecx */ 10523 L_2F010C5B: 10524 MEM32(ecx + 0x4) = edx; /* 0x2F010C5B: mov dword ptr [ecx + 4], edx */ 10525 L_2F010C5E: 10526 ecx = MEM32(esi + 0x4); /* 0x2F010C5E: mov ecx, dword ptr [esi + 4] */ 10527 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F010C61: cmp eax, dword ptr [ecx + 4] */ 10528 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 10529 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10530 _flag_k = FK_CMP; 10531 RECOMP_BACKEDGE(); 10532 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010AEA; /* 0x2F010C64: jne 0x2f010aea */ 10533 L_2F010C6A: 10534 edx = MEM32(esi + 0x4); /* 0x2F010C6A: mov edx, dword ptr [esi + 4] */ 10535 ecx = MEM32(ebp + (-0x4)); /* 0x2F010C6D: mov ecx, dword ptr [ebp - 4] */ 10536 edi = POP32_VAL(esp); /* 0x2F010C70: pop edi */ 10537 esi = POP32_VAL(esp); /* 0x2F010C71: pop esi */ 10538 eax = MEM32(edx + 0x4); /* 0x2F010C72: mov eax, dword ptr [edx + 4] */ 10539 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010C75: mov byte ptr [eax + 0x20], bl */ 10540 eax = MEM32(ebp + 0x8); /* 0x2F010C78: mov eax, dword ptr [ebp + 8] */ 10541 ebx = POP32_VAL(esp); /* 0x2F010C7B: pop ebx */ 10542 MEM32(eax) = ecx; /* 0x2F010C7C: mov dword ptr [eax], ecx */ 10543 esp = ebp; /* 0x2F010C7E: mov esp, ebp */ 10544 ebp = POP32_VAL(esp); /* 0x2F010C80: pop ebp */ 10545 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2F010C81: ret 0x10 */ 10546 RECOMP_REGS_OUT(); 10547 } 10548 10549 void sub_2F010C59(void) { 10550 int _fpu_cmp = 0; 10551 uint32_t _cf = 0; 10552 int _df = 1; 10553 uint32_t _flag_k = FK_NONE; 10554 uint32_t _flag_a = 0, _flag_b = 0; 10555 uint32_t _itail_tgt = 0; 10556 RECOMP_REGS_LOCALS 10557 RECOMP_ENTER(0x2F010C59u); 10558 10559 goto L_2F010C59; 10560 L_2F010AEA: 10561 ecx = MEM32(eax + 0x4); /* 0x2F010AEA: mov ecx, dword ptr [eax + 4] */ 10562 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x2F010AED: mov dl, byte ptr [ecx + 0x20] */ 10563 /* test LO8(edx), LO8(edx) */ /* 0x2F010AF0: test dl, dl */ 10564 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 10565 _cf = 0; 10566 _flag_k = FK_NARROW(FK_TEST, 24); 10567 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F010C6A; /* 0x2F010AF2: jne 0x2f010c6a */ 10568 L_2F010AF8: 10569 edi = MEM32(ecx + 0x4); /* 0x2F010AF8: mov edi, dword ptr [ecx + 4] */ 10570 edx = MEM32(edi); /* 0x2F010AFB: mov edx, dword ptr [edi] */ 10571 /* cmp ecx, edx */ /* 0x2F010AFD: cmp ecx, edx */ 10572 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 10573 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10574 _flag_k = FK_CMP; 10575 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BC6; /* 0x2F010AFF: jne 0x2f010bc6 */ 10576 L_2F010B05: 10577 edx = MEM32(edi + 0x8); /* 0x2F010B05: mov edx, dword ptr [edi + 8] */ 10578 /* cmp MEM8(edx + 0x20), 0 */ /* 0x2F010B08: cmp byte ptr [edx + 0x20], 0 */ 10579 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 10580 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10581 _flag_k = FK_NARROW(FK_CMP, 24); 10582 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B29; /* 0x2F010B0C: jne 0x2f010b29 */ 10583 L_2F010B0E: 10584 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010B0E: mov byte ptr [ecx + 0x20], bl */ 10585 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010B11: mov byte ptr [edx + 0x20], bl */ 10586 ecx = MEM32(eax + 0x4); /* 0x2F010B14: mov ecx, dword ptr [eax + 4] */ 10587 edx = MEM32(ecx + 0x4); /* 0x2F010B17: mov edx, dword ptr [ecx + 4] */ 10588 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x2F010B1A: mov byte ptr [edx + 0x20], 0 */ 10589 eax = MEM32(eax + 0x4); /* 0x2F010B1E: mov eax, dword ptr [eax + 4] */ 10590 eax = MEM32(eax + 0x4); /* 0x2F010B21: mov eax, dword ptr [eax + 4] */ 10591 goto L_2F010C5E; /* 0x2F010B24: jmp 0x2f010c5e */ 10592 L_2F010B29: 10593 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2F010B29: cmp eax, dword ptr [ecx + 8] */ 10594 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 10595 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10596 _flag_k = FK_CMP; 10597 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B68; /* 0x2F010B2C: jne 0x2f010b68 */ 10598 L_2F010B2E: 10599 eax = ecx; /* 0x2F010B2E: mov eax, ecx */ 10600 ecx = MEM32(eax + 0x8); /* 0x2F010B30: mov ecx, dword ptr [eax + 8] */ 10601 edx = MEM32(ecx); /* 0x2F010B33: mov edx, dword ptr [ecx] */ 10602 MEM32(eax + 0x8) = edx; /* 0x2F010B35: mov dword ptr [eax + 8], edx */ 10603 edx = MEM32(ecx); /* 0x2F010B38: mov edx, dword ptr [ecx] */ 10604 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010B3A: cmp edx, dword ptr [esi + 8] */ 10605 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10606 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10607 _flag_k = FK_CMP; 10608 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010B42; /* 0x2F010B3D: je 0x2f010b42 */ 10609 L_2F010B3F: 10610 MEM32(edx + 0x4) = eax; /* 0x2F010B3F: mov dword ptr [edx + 4], eax */ 10611 L_2F010B42: 10612 edx = MEM32(eax + 0x4); /* 0x2F010B42: mov edx, dword ptr [eax + 4] */ 10613 MEM32(ecx + 0x4) = edx; /* 0x2F010B45: mov dword ptr [ecx + 4], edx */ 10614 edx = MEM32(esi + 0x4); /* 0x2F010B48: mov edx, dword ptr [esi + 4] */ 10615 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010B4B: cmp eax, dword ptr [edx + 4] */ 10616 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 10617 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10618 _flag_k = FK_CMP; 10619 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B55; /* 0x2F010B4E: jne 0x2f010b55 */ 10620 L_2F010B50: 10621 MEM32(edx + 0x4) = ecx; /* 0x2F010B50: mov dword ptr [edx + 4], ecx */ 10622 goto L_2F010B63; /* 0x2F010B53: jmp 0x2f010b63 */ 10623 L_2F010B55: 10624 edx = MEM32(eax + 0x4); /* 0x2F010B55: mov edx, dword ptr [eax + 4] */ 10625 /* cmp eax, MEM32(edx) */ /* 0x2F010B58: cmp eax, dword ptr [edx] */ 10626 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 10627 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10628 _flag_k = FK_CMP; 10629 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B60; /* 0x2F010B5A: jne 0x2f010b60 */ 10630 L_2F010B5C: 10631 MEM32(edx) = ecx; /* 0x2F010B5C: mov dword ptr [edx], ecx */ 10632 goto L_2F010B63; /* 0x2F010B5E: jmp 0x2f010b63 */ 10633 L_2F010B60: 10634 MEM32(edx + 0x8) = ecx; /* 0x2F010B60: mov dword ptr [edx + 8], ecx */ 10635 L_2F010B63: 10636 MEM32(ecx) = eax; /* 0x2F010B63: mov dword ptr [ecx], eax */ 10637 MEM32(eax + 0x4) = ecx; /* 0x2F010B65: mov dword ptr [eax + 4], ecx */ 10638 L_2F010B68: 10639 ecx = MEM32(eax + 0x4); /* 0x2F010B68: mov ecx, dword ptr [eax + 4] */ 10640 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010B6B: mov byte ptr [ecx + 0x20], bl */ 10641 edx = MEM32(eax + 0x4); /* 0x2F010B6E: mov edx, dword ptr [eax + 4] */ 10642 ecx = MEM32(edx + 0x4); /* 0x2F010B71: mov ecx, dword ptr [edx + 4] */ 10643 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010B74: mov byte ptr [ecx + 0x20], 0 */ 10644 edx = MEM32(eax + 0x4); /* 0x2F010B78: mov edx, dword ptr [eax + 4] */ 10645 ecx = MEM32(edx + 0x4); /* 0x2F010B7B: mov ecx, dword ptr [edx + 4] */ 10646 edx = MEM32(ecx); /* 0x2F010B7E: mov edx, dword ptr [ecx] */ 10647 edi = MEM32(edx + 0x8); /* 0x2F010B80: mov edi, dword ptr [edx + 8] */ 10648 MEM32(ecx) = edi; /* 0x2F010B83: mov dword ptr [ecx], edi */ 10649 edi = MEM32(edx + 0x8); /* 0x2F010B85: mov edi, dword ptr [edx + 8] */ 10650 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010B88: cmp edi, dword ptr [esi + 8] */ 10651 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 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_2F010B90; /* 0x2F010B8B: je 0x2f010b90 */ 10655 L_2F010B8D: 10656 MEM32(edi + 0x4) = ecx; /* 0x2F010B8D: mov dword ptr [edi + 4], ecx */ 10657 L_2F010B90: 10658 edi = MEM32(ecx + 0x4); /* 0x2F010B90: mov edi, dword ptr [ecx + 4] */ 10659 MEM32(edx + 0x4) = edi; /* 0x2F010B93: mov dword ptr [edx + 4], edi */ 10660 edi = MEM32(esi + 0x4); /* 0x2F010B96: mov edi, dword ptr [esi + 4] */ 10661 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010B99: cmp ecx, dword ptr [edi + 4] */ 10662 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 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_2F010BA9; /* 0x2F010B9C: jne 0x2f010ba9 */ 10666 L_2F010B9E: 10667 MEM32(edi + 0x4) = edx; /* 0x2F010B9E: mov dword ptr [edi + 4], edx */ 10668 MEM32(edx + 0x8) = ecx; /* 0x2F010BA1: mov dword ptr [edx + 8], ecx */ 10669 goto L_2F010C5B; /* 0x2F010BA4: jmp 0x2f010c5b */ 10670 L_2F010BA9: 10671 edi = MEM32(ecx + 0x4); /* 0x2F010BA9: mov edi, dword ptr [ecx + 4] */ 10672 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2F010BAC: cmp ecx, dword ptr [edi + 8] */ 10673 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10674 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10675 _flag_k = FK_CMP; 10676 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BBC; /* 0x2F010BAF: jne 0x2f010bbc */ 10677 L_2F010BB1: 10678 MEM32(edi + 0x8) = edx; /* 0x2F010BB1: mov dword ptr [edi + 8], edx */ 10679 MEM32(edx + 0x8) = ecx; /* 0x2F010BB4: mov dword ptr [edx + 8], ecx */ 10680 goto L_2F010C5B; /* 0x2F010BB7: jmp 0x2f010c5b */ 10681 L_2F010BBC: 10682 MEM32(edi) = edx; /* 0x2F010BBC: mov dword ptr [edi], edx */ 10683 MEM32(edx + 0x8) = ecx; /* 0x2F010BBE: mov dword ptr [edx + 8], ecx */ 10684 goto L_2F010C5B; /* 0x2F010BC1: jmp 0x2f010c5b */ 10685 L_2F010BC6: 10686 /* cmp MEM8(edx + 0x20), 0 */ /* 0x2F010BC6: cmp byte ptr [edx + 0x20], 0 */ 10687 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 10688 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10689 _flag_k = FK_NARROW(FK_CMP, 24); 10690 RECOMP_BACKEDGE(); 10691 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010B0E; /* 0x2F010BCA: je 0x2f010b0e */ 10692 L_2F010BD0: 10693 /* cmp eax, MEM32(ecx) */ /* 0x2F010BD0: cmp eax, dword ptr [ecx] */ 10694 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 10695 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10696 _flag_k = FK_CMP; 10697 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C10; /* 0x2F010BD2: jne 0x2f010c10 */ 10698 L_2F010BD4: 10699 eax = ecx; /* 0x2F010BD4: mov eax, ecx */ 10700 ecx = MEM32(eax); /* 0x2F010BD6: mov ecx, dword ptr [eax] */ 10701 edx = MEM32(ecx + 0x8); /* 0x2F010BD8: mov edx, dword ptr [ecx + 8] */ 10702 MEM32(eax) = edx; /* 0x2F010BDB: mov dword ptr [eax], edx */ 10703 edx = MEM32(ecx + 0x8); /* 0x2F010BDD: mov edx, dword ptr [ecx + 8] */ 10704 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010BE0: cmp edx, dword ptr [esi + 8] */ 10705 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10706 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10707 _flag_k = FK_CMP; 10708 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010BE8; /* 0x2F010BE3: je 0x2f010be8 */ 10709 L_2F010BE5: 10710 MEM32(edx + 0x4) = eax; /* 0x2F010BE5: mov dword ptr [edx + 4], eax */ 10711 L_2F010BE8: 10712 edx = MEM32(eax + 0x4); /* 0x2F010BE8: mov edx, dword ptr [eax + 4] */ 10713 MEM32(ecx + 0x4) = edx; /* 0x2F010BEB: mov dword ptr [ecx + 4], edx */ 10714 edx = MEM32(esi + 0x4); /* 0x2F010BEE: mov edx, dword ptr [esi + 4] */ 10715 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010BF1: cmp eax, dword ptr [edx + 4] */ 10716 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 10717 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10718 _flag_k = FK_CMP; 10719 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BFB; /* 0x2F010BF4: jne 0x2f010bfb */ 10720 L_2F010BF6: 10721 MEM32(edx + 0x4) = ecx; /* 0x2F010BF6: mov dword ptr [edx + 4], ecx */ 10722 goto L_2F010C0A; /* 0x2F010BF9: jmp 0x2f010c0a */ 10723 L_2F010BFB: 10724 edx = MEM32(eax + 0x4); /* 0x2F010BFB: mov edx, dword ptr [eax + 4] */ 10725 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2F010BFE: cmp eax, dword ptr [edx + 8] */ 10726 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 10727 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10728 _flag_k = FK_CMP; 10729 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C08; /* 0x2F010C01: jne 0x2f010c08 */ 10730 L_2F010C03: 10731 MEM32(edx + 0x8) = ecx; /* 0x2F010C03: mov dword ptr [edx + 8], ecx */ 10732 goto L_2F010C0A; /* 0x2F010C06: jmp 0x2f010c0a */ 10733 L_2F010C08: 10734 MEM32(edx) = ecx; /* 0x2F010C08: mov dword ptr [edx], ecx */ 10735 L_2F010C0A: 10736 MEM32(ecx + 0x8) = eax; /* 0x2F010C0A: mov dword ptr [ecx + 8], eax */ 10737 MEM32(eax + 0x4) = ecx; /* 0x2F010C0D: mov dword ptr [eax + 4], ecx */ 10738 L_2F010C10: 10739 ecx = MEM32(eax + 0x4); /* 0x2F010C10: mov ecx, dword ptr [eax + 4] */ 10740 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010C13: mov byte ptr [ecx + 0x20], bl */ 10741 edx = MEM32(eax + 0x4); /* 0x2F010C16: mov edx, dword ptr [eax + 4] */ 10742 ecx = MEM32(edx + 0x4); /* 0x2F010C19: mov ecx, dword ptr [edx + 4] */ 10743 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010C1C: mov byte ptr [ecx + 0x20], 0 */ 10744 edx = MEM32(eax + 0x4); /* 0x2F010C20: mov edx, dword ptr [eax + 4] */ 10745 ecx = MEM32(edx + 0x4); /* 0x2F010C23: mov ecx, dword ptr [edx + 4] */ 10746 edx = MEM32(ecx + 0x8); /* 0x2F010C26: mov edx, dword ptr [ecx + 8] */ 10747 edi = MEM32(edx); /* 0x2F010C29: mov edi, dword ptr [edx] */ 10748 MEM32(ecx + 0x8) = edi; /* 0x2F010C2B: mov dword ptr [ecx + 8], edi */ 10749 edi = MEM32(edx); /* 0x2F010C2E: mov edi, dword ptr [edx] */ 10750 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010C30: cmp edi, dword ptr [esi + 8] */ 10751 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10752 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10753 _flag_k = FK_CMP; 10754 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010C38; /* 0x2F010C33: je 0x2f010c38 */ 10755 L_2F010C35: 10756 MEM32(edi + 0x4) = ecx; /* 0x2F010C35: mov dword ptr [edi + 4], ecx */ 10757 L_2F010C38: 10758 edi = MEM32(ecx + 0x4); /* 0x2F010C38: mov edi, dword ptr [ecx + 4] */ 10759 MEM32(edx + 0x4) = edi; /* 0x2F010C3B: mov dword ptr [edx + 4], edi */ 10760 edi = MEM32(esi + 0x4); /* 0x2F010C3E: mov edi, dword ptr [esi + 4] */ 10761 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010C41: cmp ecx, dword ptr [edi + 4] */ 10762 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 10763 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10764 _flag_k = FK_CMP; 10765 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C4B; /* 0x2F010C44: jne 0x2f010c4b */ 10766 L_2F010C46: 10767 MEM32(edi + 0x4) = edx; /* 0x2F010C46: mov dword ptr [edi + 4], edx */ 10768 goto L_2F010C59; /* 0x2F010C49: jmp 0x2f010c59 */ 10769 L_2F010C4B: 10770 edi = MEM32(ecx + 0x4); /* 0x2F010C4B: mov edi, dword ptr [ecx + 4] */ 10771 /* cmp ecx, MEM32(edi) */ /* 0x2F010C4E: cmp ecx, dword ptr [edi] */ 10772 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 10773 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10774 _flag_k = FK_CMP; 10775 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C56; /* 0x2F010C50: jne 0x2f010c56 */ 10776 L_2F010C52: 10777 MEM32(edi) = edx; /* 0x2F010C52: mov dword ptr [edi], edx */ 10778 goto L_2F010C59; /* 0x2F010C54: jmp 0x2f010c59 */ 10779 L_2F010C56: 10780 MEM32(edi + 0x8) = edx; /* 0x2F010C56: mov dword ptr [edi + 8], edx */ 10781 L_2F010C59: 10782 MEM32(edx) = ecx; /* 0x2F010C59: mov dword ptr [edx], ecx */ 10783 L_2F010C5B: 10784 MEM32(ecx + 0x4) = edx; /* 0x2F010C5B: mov dword ptr [ecx + 4], edx */ 10785 L_2F010C5E: 10786 ecx = MEM32(esi + 0x4); /* 0x2F010C5E: mov ecx, dword ptr [esi + 4] */ 10787 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F010C61: cmp eax, dword ptr [ecx + 4] */ 10788 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 10789 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10790 _flag_k = FK_CMP; 10791 RECOMP_BACKEDGE(); 10792 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010AEA; /* 0x2F010C64: jne 0x2f010aea */ 10793 L_2F010C6A: 10794 edx = MEM32(esi + 0x4); /* 0x2F010C6A: mov edx, dword ptr [esi + 4] */ 10795 ecx = MEM32(ebp + (-0x4)); /* 0x2F010C6D: mov ecx, dword ptr [ebp - 4] */ 10796 edi = POP32_VAL(esp); /* 0x2F010C70: pop edi */ 10797 esi = POP32_VAL(esp); /* 0x2F010C71: pop esi */ 10798 eax = MEM32(edx + 0x4); /* 0x2F010C72: mov eax, dword ptr [edx + 4] */ 10799 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010C75: mov byte ptr [eax + 0x20], bl */ 10800 eax = MEM32(ebp + 0x8); /* 0x2F010C78: mov eax, dword ptr [ebp + 8] */ 10801 ebx = POP32_VAL(esp); /* 0x2F010C7B: pop ebx */ 10802 MEM32(eax) = ecx; /* 0x2F010C7C: mov dword ptr [eax], ecx */ 10803 esp = ebp; /* 0x2F010C7E: mov esp, ebp */ 10804 ebp = POP32_VAL(esp); /* 0x2F010C80: pop ebp */ 10805 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2F010C81: ret 0x10 */ 10806 RECOMP_REGS_OUT(); 10807 } 10808 10809 void sub_2F010C5B(void) { 10810 int _fpu_cmp = 0; 10811 uint32_t _cf = 0; 10812 int _df = 1; 10813 uint32_t _flag_k = FK_NONE; 10814 uint32_t _flag_a = 0, _flag_b = 0; 10815 uint32_t _itail_tgt = 0; 10816 RECOMP_REGS_LOCALS 10817 RECOMP_ENTER(0x2F010C5Bu); 10818 10819 goto L_2F010C5B; 10820 L_2F010AEA: 10821 ecx = MEM32(eax + 0x4); /* 0x2F010AEA: mov ecx, dword ptr [eax + 4] */ 10822 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x2F010AED: mov dl, byte ptr [ecx + 0x20] */ 10823 /* test LO8(edx), LO8(edx) */ /* 0x2F010AF0: test dl, dl */ 10824 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 10825 _cf = 0; 10826 _flag_k = FK_NARROW(FK_TEST, 24); 10827 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F010C6A; /* 0x2F010AF2: jne 0x2f010c6a */ 10828 L_2F010AF8: 10829 edi = MEM32(ecx + 0x4); /* 0x2F010AF8: mov edi, dword ptr [ecx + 4] */ 10830 edx = MEM32(edi); /* 0x2F010AFB: mov edx, dword ptr [edi] */ 10831 /* cmp ecx, edx */ /* 0x2F010AFD: cmp ecx, edx */ 10832 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 10833 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10834 _flag_k = FK_CMP; 10835 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BC6; /* 0x2F010AFF: jne 0x2f010bc6 */ 10836 L_2F010B05: 10837 edx = MEM32(edi + 0x8); /* 0x2F010B05: mov edx, dword ptr [edi + 8] */ 10838 /* cmp MEM8(edx + 0x20), 0 */ /* 0x2F010B08: cmp byte ptr [edx + 0x20], 0 */ 10839 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 10840 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10841 _flag_k = FK_NARROW(FK_CMP, 24); 10842 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B29; /* 0x2F010B0C: jne 0x2f010b29 */ 10843 L_2F010B0E: 10844 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010B0E: mov byte ptr [ecx + 0x20], bl */ 10845 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010B11: mov byte ptr [edx + 0x20], bl */ 10846 ecx = MEM32(eax + 0x4); /* 0x2F010B14: mov ecx, dword ptr [eax + 4] */ 10847 edx = MEM32(ecx + 0x4); /* 0x2F010B17: mov edx, dword ptr [ecx + 4] */ 10848 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x2F010B1A: mov byte ptr [edx + 0x20], 0 */ 10849 eax = MEM32(eax + 0x4); /* 0x2F010B1E: mov eax, dword ptr [eax + 4] */ 10850 eax = MEM32(eax + 0x4); /* 0x2F010B21: mov eax, dword ptr [eax + 4] */ 10851 goto L_2F010C5E; /* 0x2F010B24: jmp 0x2f010c5e */ 10852 L_2F010B29: 10853 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2F010B29: cmp eax, dword ptr [ecx + 8] */ 10854 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 10855 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10856 _flag_k = FK_CMP; 10857 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B68; /* 0x2F010B2C: jne 0x2f010b68 */ 10858 L_2F010B2E: 10859 eax = ecx; /* 0x2F010B2E: mov eax, ecx */ 10860 ecx = MEM32(eax + 0x8); /* 0x2F010B30: mov ecx, dword ptr [eax + 8] */ 10861 edx = MEM32(ecx); /* 0x2F010B33: mov edx, dword ptr [ecx] */ 10862 MEM32(eax + 0x8) = edx; /* 0x2F010B35: mov dword ptr [eax + 8], edx */ 10863 edx = MEM32(ecx); /* 0x2F010B38: mov edx, dword ptr [ecx] */ 10864 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010B3A: cmp edx, dword ptr [esi + 8] */ 10865 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10866 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10867 _flag_k = FK_CMP; 10868 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010B42; /* 0x2F010B3D: je 0x2f010b42 */ 10869 L_2F010B3F: 10870 MEM32(edx + 0x4) = eax; /* 0x2F010B3F: mov dword ptr [edx + 4], eax */ 10871 L_2F010B42: 10872 edx = MEM32(eax + 0x4); /* 0x2F010B42: mov edx, dword ptr [eax + 4] */ 10873 MEM32(ecx + 0x4) = edx; /* 0x2F010B45: mov dword ptr [ecx + 4], edx */ 10874 edx = MEM32(esi + 0x4); /* 0x2F010B48: mov edx, dword ptr [esi + 4] */ 10875 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010B4B: cmp eax, dword ptr [edx + 4] */ 10876 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 10877 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10878 _flag_k = FK_CMP; 10879 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B55; /* 0x2F010B4E: jne 0x2f010b55 */ 10880 L_2F010B50: 10881 MEM32(edx + 0x4) = ecx; /* 0x2F010B50: mov dword ptr [edx + 4], ecx */ 10882 goto L_2F010B63; /* 0x2F010B53: jmp 0x2f010b63 */ 10883 L_2F010B55: 10884 edx = MEM32(eax + 0x4); /* 0x2F010B55: mov edx, dword ptr [eax + 4] */ 10885 /* cmp eax, MEM32(edx) */ /* 0x2F010B58: cmp eax, dword ptr [edx] */ 10886 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 10887 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10888 _flag_k = FK_CMP; 10889 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B60; /* 0x2F010B5A: jne 0x2f010b60 */ 10890 L_2F010B5C: 10891 MEM32(edx) = ecx; /* 0x2F010B5C: mov dword ptr [edx], ecx */ 10892 goto L_2F010B63; /* 0x2F010B5E: jmp 0x2f010b63 */ 10893 L_2F010B60: 10894 MEM32(edx + 0x8) = ecx; /* 0x2F010B60: mov dword ptr [edx + 8], ecx */ 10895 L_2F010B63: 10896 MEM32(ecx) = eax; /* 0x2F010B63: mov dword ptr [ecx], eax */ 10897 MEM32(eax + 0x4) = ecx; /* 0x2F010B65: mov dword ptr [eax + 4], ecx */ 10898 L_2F010B68: 10899 ecx = MEM32(eax + 0x4); /* 0x2F010B68: mov ecx, dword ptr [eax + 4] */ 10900 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010B6B: mov byte ptr [ecx + 0x20], bl */ 10901 edx = MEM32(eax + 0x4); /* 0x2F010B6E: mov edx, dword ptr [eax + 4] */ 10902 ecx = MEM32(edx + 0x4); /* 0x2F010B71: mov ecx, dword ptr [edx + 4] */ 10903 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010B74: mov byte ptr [ecx + 0x20], 0 */ 10904 edx = MEM32(eax + 0x4); /* 0x2F010B78: mov edx, dword ptr [eax + 4] */ 10905 ecx = MEM32(edx + 0x4); /* 0x2F010B7B: mov ecx, dword ptr [edx + 4] */ 10906 edx = MEM32(ecx); /* 0x2F010B7E: mov edx, dword ptr [ecx] */ 10907 edi = MEM32(edx + 0x8); /* 0x2F010B80: mov edi, dword ptr [edx + 8] */ 10908 MEM32(ecx) = edi; /* 0x2F010B83: mov dword ptr [ecx], edi */ 10909 edi = MEM32(edx + 0x8); /* 0x2F010B85: mov edi, dword ptr [edx + 8] */ 10910 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010B88: cmp edi, dword ptr [esi + 8] */ 10911 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10912 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10913 _flag_k = FK_CMP; 10914 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010B90; /* 0x2F010B8B: je 0x2f010b90 */ 10915 L_2F010B8D: 10916 MEM32(edi + 0x4) = ecx; /* 0x2F010B8D: mov dword ptr [edi + 4], ecx */ 10917 L_2F010B90: 10918 edi = MEM32(ecx + 0x4); /* 0x2F010B90: mov edi, dword ptr [ecx + 4] */ 10919 MEM32(edx + 0x4) = edi; /* 0x2F010B93: mov dword ptr [edx + 4], edi */ 10920 edi = MEM32(esi + 0x4); /* 0x2F010B96: mov edi, dword ptr [esi + 4] */ 10921 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010B99: cmp ecx, dword ptr [edi + 4] */ 10922 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 10923 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10924 _flag_k = FK_CMP; 10925 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BA9; /* 0x2F010B9C: jne 0x2f010ba9 */ 10926 L_2F010B9E: 10927 MEM32(edi + 0x4) = edx; /* 0x2F010B9E: mov dword ptr [edi + 4], edx */ 10928 MEM32(edx + 0x8) = ecx; /* 0x2F010BA1: mov dword ptr [edx + 8], ecx */ 10929 goto L_2F010C5B; /* 0x2F010BA4: jmp 0x2f010c5b */ 10930 L_2F010BA9: 10931 edi = MEM32(ecx + 0x4); /* 0x2F010BA9: mov edi, dword ptr [ecx + 4] */ 10932 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2F010BAC: cmp ecx, dword ptr [edi + 8] */ 10933 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10934 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10935 _flag_k = FK_CMP; 10936 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BBC; /* 0x2F010BAF: jne 0x2f010bbc */ 10937 L_2F010BB1: 10938 MEM32(edi + 0x8) = edx; /* 0x2F010BB1: mov dword ptr [edi + 8], edx */ 10939 MEM32(edx + 0x8) = ecx; /* 0x2F010BB4: mov dword ptr [edx + 8], ecx */ 10940 goto L_2F010C5B; /* 0x2F010BB7: jmp 0x2f010c5b */ 10941 L_2F010BBC: 10942 MEM32(edi) = edx; /* 0x2F010BBC: mov dword ptr [edi], edx */ 10943 MEM32(edx + 0x8) = ecx; /* 0x2F010BBE: mov dword ptr [edx + 8], ecx */ 10944 goto L_2F010C5B; /* 0x2F010BC1: jmp 0x2f010c5b */ 10945 L_2F010BC6: 10946 /* cmp MEM8(edx + 0x20), 0 */ /* 0x2F010BC6: cmp byte ptr [edx + 0x20], 0 */ 10947 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 10948 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10949 _flag_k = FK_NARROW(FK_CMP, 24); 10950 RECOMP_BACKEDGE(); 10951 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010B0E; /* 0x2F010BCA: je 0x2f010b0e */ 10952 L_2F010BD0: 10953 /* cmp eax, MEM32(ecx) */ /* 0x2F010BD0: cmp eax, dword ptr [ecx] */ 10954 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 10955 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10956 _flag_k = FK_CMP; 10957 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C10; /* 0x2F010BD2: jne 0x2f010c10 */ 10958 L_2F010BD4: 10959 eax = ecx; /* 0x2F010BD4: mov eax, ecx */ 10960 ecx = MEM32(eax); /* 0x2F010BD6: mov ecx, dword ptr [eax] */ 10961 edx = MEM32(ecx + 0x8); /* 0x2F010BD8: mov edx, dword ptr [ecx + 8] */ 10962 MEM32(eax) = edx; /* 0x2F010BDB: mov dword ptr [eax], edx */ 10963 edx = MEM32(ecx + 0x8); /* 0x2F010BDD: mov edx, dword ptr [ecx + 8] */ 10964 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010BE0: cmp edx, dword ptr [esi + 8] */ 10965 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10966 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10967 _flag_k = FK_CMP; 10968 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010BE8; /* 0x2F010BE3: je 0x2f010be8 */ 10969 L_2F010BE5: 10970 MEM32(edx + 0x4) = eax; /* 0x2F010BE5: mov dword ptr [edx + 4], eax */ 10971 L_2F010BE8: 10972 edx = MEM32(eax + 0x4); /* 0x2F010BE8: mov edx, dword ptr [eax + 4] */ 10973 MEM32(ecx + 0x4) = edx; /* 0x2F010BEB: mov dword ptr [ecx + 4], edx */ 10974 edx = MEM32(esi + 0x4); /* 0x2F010BEE: mov edx, dword ptr [esi + 4] */ 10975 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010BF1: cmp eax, dword ptr [edx + 4] */ 10976 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 10977 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10978 _flag_k = FK_CMP; 10979 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BFB; /* 0x2F010BF4: jne 0x2f010bfb */ 10980 L_2F010BF6: 10981 MEM32(edx + 0x4) = ecx; /* 0x2F010BF6: mov dword ptr [edx + 4], ecx */ 10982 goto L_2F010C0A; /* 0x2F010BF9: jmp 0x2f010c0a */ 10983 L_2F010BFB: 10984 edx = MEM32(eax + 0x4); /* 0x2F010BFB: mov edx, dword ptr [eax + 4] */ 10985 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2F010BFE: cmp eax, dword ptr [edx + 8] */ 10986 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 10987 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10988 _flag_k = FK_CMP; 10989 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C08; /* 0x2F010C01: jne 0x2f010c08 */ 10990 L_2F010C03: 10991 MEM32(edx + 0x8) = ecx; /* 0x2F010C03: mov dword ptr [edx + 8], ecx */ 10992 goto L_2F010C0A; /* 0x2F010C06: jmp 0x2f010c0a */ 10993 L_2F010C08: 10994 MEM32(edx) = ecx; /* 0x2F010C08: mov dword ptr [edx], ecx */ 10995 L_2F010C0A: 10996 MEM32(ecx + 0x8) = eax; /* 0x2F010C0A: mov dword ptr [ecx + 8], eax */ 10997 MEM32(eax + 0x4) = ecx; /* 0x2F010C0D: mov dword ptr [eax + 4], ecx */ 10998 L_2F010C10: 10999 ecx = MEM32(eax + 0x4); /* 0x2F010C10: mov ecx, dword ptr [eax + 4] */ 11000 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010C13: mov byte ptr [ecx + 0x20], bl */ 11001 edx = MEM32(eax + 0x4); /* 0x2F010C16: mov edx, dword ptr [eax + 4] */ 11002 ecx = MEM32(edx + 0x4); /* 0x2F010C19: mov ecx, dword ptr [edx + 4] */ 11003 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010C1C: mov byte ptr [ecx + 0x20], 0 */ 11004 edx = MEM32(eax + 0x4); /* 0x2F010C20: mov edx, dword ptr [eax + 4] */ 11005 ecx = MEM32(edx + 0x4); /* 0x2F010C23: mov ecx, dword ptr [edx + 4] */ 11006 edx = MEM32(ecx + 0x8); /* 0x2F010C26: mov edx, dword ptr [ecx + 8] */ 11007 edi = MEM32(edx); /* 0x2F010C29: mov edi, dword ptr [edx] */ 11008 MEM32(ecx + 0x8) = edi; /* 0x2F010C2B: mov dword ptr [ecx + 8], edi */ 11009 edi = MEM32(edx); /* 0x2F010C2E: mov edi, dword ptr [edx] */ 11010 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010C30: cmp edi, dword ptr [esi + 8] */ 11011 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11012 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11013 _flag_k = FK_CMP; 11014 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010C38; /* 0x2F010C33: je 0x2f010c38 */ 11015 L_2F010C35: 11016 MEM32(edi + 0x4) = ecx; /* 0x2F010C35: mov dword ptr [edi + 4], ecx */ 11017 L_2F010C38: 11018 edi = MEM32(ecx + 0x4); /* 0x2F010C38: mov edi, dword ptr [ecx + 4] */ 11019 MEM32(edx + 0x4) = edi; /* 0x2F010C3B: mov dword ptr [edx + 4], edi */ 11020 edi = MEM32(esi + 0x4); /* 0x2F010C3E: mov edi, dword ptr [esi + 4] */ 11021 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010C41: cmp ecx, dword ptr [edi + 4] */ 11022 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 11023 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11024 _flag_k = FK_CMP; 11025 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C4B; /* 0x2F010C44: jne 0x2f010c4b */ 11026 L_2F010C46: 11027 MEM32(edi + 0x4) = edx; /* 0x2F010C46: mov dword ptr [edi + 4], edx */ 11028 goto L_2F010C59; /* 0x2F010C49: jmp 0x2f010c59 */ 11029 L_2F010C4B: 11030 edi = MEM32(ecx + 0x4); /* 0x2F010C4B: mov edi, dword ptr [ecx + 4] */ 11031 /* cmp ecx, MEM32(edi) */ /* 0x2F010C4E: cmp ecx, dword ptr [edi] */ 11032 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 11033 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11034 _flag_k = FK_CMP; 11035 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C56; /* 0x2F010C50: jne 0x2f010c56 */ 11036 L_2F010C52: 11037 MEM32(edi) = edx; /* 0x2F010C52: mov dword ptr [edi], edx */ 11038 goto L_2F010C59; /* 0x2F010C54: jmp 0x2f010c59 */ 11039 L_2F010C56: 11040 MEM32(edi + 0x8) = edx; /* 0x2F010C56: mov dword ptr [edi + 8], edx */ 11041 L_2F010C59: 11042 MEM32(edx) = ecx; /* 0x2F010C59: mov dword ptr [edx], ecx */ 11043 L_2F010C5B: 11044 MEM32(ecx + 0x4) = edx; /* 0x2F010C5B: mov dword ptr [ecx + 4], edx */ 11045 L_2F010C5E: 11046 ecx = MEM32(esi + 0x4); /* 0x2F010C5E: mov ecx, dword ptr [esi + 4] */ 11047 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F010C61: cmp eax, dword ptr [ecx + 4] */ 11048 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 11049 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11050 _flag_k = FK_CMP; 11051 RECOMP_BACKEDGE(); 11052 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010AEA; /* 0x2F010C64: jne 0x2f010aea */ 11053 L_2F010C6A: 11054 edx = MEM32(esi + 0x4); /* 0x2F010C6A: mov edx, dword ptr [esi + 4] */ 11055 ecx = MEM32(ebp + (-0x4)); /* 0x2F010C6D: mov ecx, dword ptr [ebp - 4] */ 11056 edi = POP32_VAL(esp); /* 0x2F010C70: pop edi */ 11057 esi = POP32_VAL(esp); /* 0x2F010C71: pop esi */ 11058 eax = MEM32(edx + 0x4); /* 0x2F010C72: mov eax, dword ptr [edx + 4] */ 11059 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010C75: mov byte ptr [eax + 0x20], bl */ 11060 eax = MEM32(ebp + 0x8); /* 0x2F010C78: mov eax, dword ptr [ebp + 8] */ 11061 ebx = POP32_VAL(esp); /* 0x2F010C7B: pop ebx */ 11062 MEM32(eax) = ecx; /* 0x2F010C7C: mov dword ptr [eax], ecx */ 11063 esp = ebp; /* 0x2F010C7E: mov esp, ebp */ 11064 ebp = POP32_VAL(esp); /* 0x2F010C80: pop ebp */ 11065 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2F010C81: ret 0x10 */ 11066 RECOMP_REGS_OUT(); 11067 } 11068 11069 void sub_2F010C5E(void) { 11070 int _fpu_cmp = 0; 11071 uint32_t _cf = 0; 11072 int _df = 1; 11073 uint32_t _flag_k = FK_NONE; 11074 uint32_t _flag_a = 0, _flag_b = 0; 11075 uint32_t _itail_tgt = 0; 11076 RECOMP_REGS_LOCALS 11077 RECOMP_ENTER(0x2F010C5Eu); 11078 11079 goto L_2F010C5E; 11080 L_2F010AEA: 11081 ecx = MEM32(eax + 0x4); /* 0x2F010AEA: mov ecx, dword ptr [eax + 4] */ 11082 SET_LO8(edx, MEM8(ecx + 0x20)); /* 0x2F010AED: mov dl, byte ptr [ecx + 0x20] */ 11083 /* test LO8(edx), LO8(edx) */ /* 0x2F010AF0: test dl, dl */ 11084 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 11085 _cf = 0; 11086 _flag_k = FK_NARROW(FK_TEST, 24); 11087 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F010C6A; /* 0x2F010AF2: jne 0x2f010c6a */ 11088 L_2F010AF8: 11089 edi = MEM32(ecx + 0x4); /* 0x2F010AF8: mov edi, dword ptr [ecx + 4] */ 11090 edx = MEM32(edi); /* 0x2F010AFB: mov edx, dword ptr [edi] */ 11091 /* cmp ecx, edx */ /* 0x2F010AFD: cmp ecx, edx */ 11092 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 11093 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11094 _flag_k = FK_CMP; 11095 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BC6; /* 0x2F010AFF: jne 0x2f010bc6 */ 11096 L_2F010B05: 11097 edx = MEM32(edi + 0x8); /* 0x2F010B05: mov edx, dword ptr [edi + 8] */ 11098 /* cmp MEM8(edx + 0x20), 0 */ /* 0x2F010B08: cmp byte ptr [edx + 0x20], 0 */ 11099 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 11100 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11101 _flag_k = FK_NARROW(FK_CMP, 24); 11102 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B29; /* 0x2F010B0C: jne 0x2f010b29 */ 11103 L_2F010B0E: 11104 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010B0E: mov byte ptr [ecx + 0x20], bl */ 11105 MEM8(edx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010B11: mov byte ptr [edx + 0x20], bl */ 11106 ecx = MEM32(eax + 0x4); /* 0x2F010B14: mov ecx, dword ptr [eax + 4] */ 11107 edx = MEM32(ecx + 0x4); /* 0x2F010B17: mov edx, dword ptr [ecx + 4] */ 11108 MEM8(edx + 0x20) = (uint8_t)(0); /* 0x2F010B1A: mov byte ptr [edx + 0x20], 0 */ 11109 eax = MEM32(eax + 0x4); /* 0x2F010B1E: mov eax, dword ptr [eax + 4] */ 11110 eax = MEM32(eax + 0x4); /* 0x2F010B21: mov eax, dword ptr [eax + 4] */ 11111 goto L_2F010C5E; /* 0x2F010B24: jmp 0x2f010c5e */ 11112 L_2F010B29: 11113 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2F010B29: cmp eax, dword ptr [ecx + 8] */ 11114 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 11115 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11116 _flag_k = FK_CMP; 11117 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B68; /* 0x2F010B2C: jne 0x2f010b68 */ 11118 L_2F010B2E: 11119 eax = ecx; /* 0x2F010B2E: mov eax, ecx */ 11120 ecx = MEM32(eax + 0x8); /* 0x2F010B30: mov ecx, dword ptr [eax + 8] */ 11121 edx = MEM32(ecx); /* 0x2F010B33: mov edx, dword ptr [ecx] */ 11122 MEM32(eax + 0x8) = edx; /* 0x2F010B35: mov dword ptr [eax + 8], edx */ 11123 edx = MEM32(ecx); /* 0x2F010B38: mov edx, dword ptr [ecx] */ 11124 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010B3A: cmp edx, dword ptr [esi + 8] */ 11125 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11126 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11127 _flag_k = FK_CMP; 11128 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010B42; /* 0x2F010B3D: je 0x2f010b42 */ 11129 L_2F010B3F: 11130 MEM32(edx + 0x4) = eax; /* 0x2F010B3F: mov dword ptr [edx + 4], eax */ 11131 L_2F010B42: 11132 edx = MEM32(eax + 0x4); /* 0x2F010B42: mov edx, dword ptr [eax + 4] */ 11133 MEM32(ecx + 0x4) = edx; /* 0x2F010B45: mov dword ptr [ecx + 4], edx */ 11134 edx = MEM32(esi + 0x4); /* 0x2F010B48: mov edx, dword ptr [esi + 4] */ 11135 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010B4B: cmp eax, dword ptr [edx + 4] */ 11136 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 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_2F010B55; /* 0x2F010B4E: jne 0x2f010b55 */ 11140 L_2F010B50: 11141 MEM32(edx + 0x4) = ecx; /* 0x2F010B50: mov dword ptr [edx + 4], ecx */ 11142 goto L_2F010B63; /* 0x2F010B53: jmp 0x2f010b63 */ 11143 L_2F010B55: 11144 edx = MEM32(eax + 0x4); /* 0x2F010B55: mov edx, dword ptr [eax + 4] */ 11145 /* cmp eax, MEM32(edx) */ /* 0x2F010B58: cmp eax, dword ptr [edx] */ 11146 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 11147 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11148 _flag_k = FK_CMP; 11149 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010B60; /* 0x2F010B5A: jne 0x2f010b60 */ 11150 L_2F010B5C: 11151 MEM32(edx) = ecx; /* 0x2F010B5C: mov dword ptr [edx], ecx */ 11152 goto L_2F010B63; /* 0x2F010B5E: jmp 0x2f010b63 */ 11153 L_2F010B60: 11154 MEM32(edx + 0x8) = ecx; /* 0x2F010B60: mov dword ptr [edx + 8], ecx */ 11155 L_2F010B63: 11156 MEM32(ecx) = eax; /* 0x2F010B63: mov dword ptr [ecx], eax */ 11157 MEM32(eax + 0x4) = ecx; /* 0x2F010B65: mov dword ptr [eax + 4], ecx */ 11158 L_2F010B68: 11159 ecx = MEM32(eax + 0x4); /* 0x2F010B68: mov ecx, dword ptr [eax + 4] */ 11160 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010B6B: mov byte ptr [ecx + 0x20], bl */ 11161 edx = MEM32(eax + 0x4); /* 0x2F010B6E: mov edx, dword ptr [eax + 4] */ 11162 ecx = MEM32(edx + 0x4); /* 0x2F010B71: mov ecx, dword ptr [edx + 4] */ 11163 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010B74: mov byte ptr [ecx + 0x20], 0 */ 11164 edx = MEM32(eax + 0x4); /* 0x2F010B78: mov edx, dword ptr [eax + 4] */ 11165 ecx = MEM32(edx + 0x4); /* 0x2F010B7B: mov ecx, dword ptr [edx + 4] */ 11166 edx = MEM32(ecx); /* 0x2F010B7E: mov edx, dword ptr [ecx] */ 11167 edi = MEM32(edx + 0x8); /* 0x2F010B80: mov edi, dword ptr [edx + 8] */ 11168 MEM32(ecx) = edi; /* 0x2F010B83: mov dword ptr [ecx], edi */ 11169 edi = MEM32(edx + 0x8); /* 0x2F010B85: mov edi, dword ptr [edx + 8] */ 11170 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010B88: cmp edi, dword ptr [esi + 8] */ 11171 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11172 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11173 _flag_k = FK_CMP; 11174 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010B90; /* 0x2F010B8B: je 0x2f010b90 */ 11175 L_2F010B8D: 11176 MEM32(edi + 0x4) = ecx; /* 0x2F010B8D: mov dword ptr [edi + 4], ecx */ 11177 L_2F010B90: 11178 edi = MEM32(ecx + 0x4); /* 0x2F010B90: mov edi, dword ptr [ecx + 4] */ 11179 MEM32(edx + 0x4) = edi; /* 0x2F010B93: mov dword ptr [edx + 4], edi */ 11180 edi = MEM32(esi + 0x4); /* 0x2F010B96: mov edi, dword ptr [esi + 4] */ 11181 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010B99: cmp ecx, dword ptr [edi + 4] */ 11182 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 11183 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11184 _flag_k = FK_CMP; 11185 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BA9; /* 0x2F010B9C: jne 0x2f010ba9 */ 11186 L_2F010B9E: 11187 MEM32(edi + 0x4) = edx; /* 0x2F010B9E: mov dword ptr [edi + 4], edx */ 11188 MEM32(edx + 0x8) = ecx; /* 0x2F010BA1: mov dword ptr [edx + 8], ecx */ 11189 goto L_2F010C5B; /* 0x2F010BA4: jmp 0x2f010c5b */ 11190 L_2F010BA9: 11191 edi = MEM32(ecx + 0x4); /* 0x2F010BA9: mov edi, dword ptr [ecx + 4] */ 11192 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2F010BAC: cmp ecx, dword ptr [edi + 8] */ 11193 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 11194 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11195 _flag_k = FK_CMP; 11196 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BBC; /* 0x2F010BAF: jne 0x2f010bbc */ 11197 L_2F010BB1: 11198 MEM32(edi + 0x8) = edx; /* 0x2F010BB1: mov dword ptr [edi + 8], edx */ 11199 MEM32(edx + 0x8) = ecx; /* 0x2F010BB4: mov dword ptr [edx + 8], ecx */ 11200 goto L_2F010C5B; /* 0x2F010BB7: jmp 0x2f010c5b */ 11201 L_2F010BBC: 11202 MEM32(edi) = edx; /* 0x2F010BBC: mov dword ptr [edi], edx */ 11203 MEM32(edx + 0x8) = ecx; /* 0x2F010BBE: mov dword ptr [edx + 8], ecx */ 11204 goto L_2F010C5B; /* 0x2F010BC1: jmp 0x2f010c5b */ 11205 L_2F010BC6: 11206 /* cmp MEM8(edx + 0x20), 0 */ /* 0x2F010BC6: cmp byte ptr [edx + 0x20], 0 */ 11207 _flag_a = (uint32_t)(MEM8(edx + 0x20)) << 24; _flag_b = (uint32_t)(0) << 24; 11208 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11209 _flag_k = FK_NARROW(FK_CMP, 24); 11210 RECOMP_BACKEDGE(); 11211 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010B0E; /* 0x2F010BCA: je 0x2f010b0e */ 11212 L_2F010BD0: 11213 /* cmp eax, MEM32(ecx) */ /* 0x2F010BD0: cmp eax, dword ptr [ecx] */ 11214 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 11215 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11216 _flag_k = FK_CMP; 11217 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C10; /* 0x2F010BD2: jne 0x2f010c10 */ 11218 L_2F010BD4: 11219 eax = ecx; /* 0x2F010BD4: mov eax, ecx */ 11220 ecx = MEM32(eax); /* 0x2F010BD6: mov ecx, dword ptr [eax] */ 11221 edx = MEM32(ecx + 0x8); /* 0x2F010BD8: mov edx, dword ptr [ecx + 8] */ 11222 MEM32(eax) = edx; /* 0x2F010BDB: mov dword ptr [eax], edx */ 11223 edx = MEM32(ecx + 0x8); /* 0x2F010BDD: mov edx, dword ptr [ecx + 8] */ 11224 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010BE0: cmp edx, dword ptr [esi + 8] */ 11225 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11226 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11227 _flag_k = FK_CMP; 11228 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010BE8; /* 0x2F010BE3: je 0x2f010be8 */ 11229 L_2F010BE5: 11230 MEM32(edx + 0x4) = eax; /* 0x2F010BE5: mov dword ptr [edx + 4], eax */ 11231 L_2F010BE8: 11232 edx = MEM32(eax + 0x4); /* 0x2F010BE8: mov edx, dword ptr [eax + 4] */ 11233 MEM32(ecx + 0x4) = edx; /* 0x2F010BEB: mov dword ptr [ecx + 4], edx */ 11234 edx = MEM32(esi + 0x4); /* 0x2F010BEE: mov edx, dword ptr [esi + 4] */ 11235 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010BF1: cmp eax, dword ptr [edx + 4] */ 11236 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 11237 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11238 _flag_k = FK_CMP; 11239 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010BFB; /* 0x2F010BF4: jne 0x2f010bfb */ 11240 L_2F010BF6: 11241 MEM32(edx + 0x4) = ecx; /* 0x2F010BF6: mov dword ptr [edx + 4], ecx */ 11242 goto L_2F010C0A; /* 0x2F010BF9: jmp 0x2f010c0a */ 11243 L_2F010BFB: 11244 edx = MEM32(eax + 0x4); /* 0x2F010BFB: mov edx, dword ptr [eax + 4] */ 11245 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2F010BFE: cmp eax, dword ptr [edx + 8] */ 11246 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 11247 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11248 _flag_k = FK_CMP; 11249 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C08; /* 0x2F010C01: jne 0x2f010c08 */ 11250 L_2F010C03: 11251 MEM32(edx + 0x8) = ecx; /* 0x2F010C03: mov dword ptr [edx + 8], ecx */ 11252 goto L_2F010C0A; /* 0x2F010C06: jmp 0x2f010c0a */ 11253 L_2F010C08: 11254 MEM32(edx) = ecx; /* 0x2F010C08: mov dword ptr [edx], ecx */ 11255 L_2F010C0A: 11256 MEM32(ecx + 0x8) = eax; /* 0x2F010C0A: mov dword ptr [ecx + 8], eax */ 11257 MEM32(eax + 0x4) = ecx; /* 0x2F010C0D: mov dword ptr [eax + 4], ecx */ 11258 L_2F010C10: 11259 ecx = MEM32(eax + 0x4); /* 0x2F010C10: mov ecx, dword ptr [eax + 4] */ 11260 MEM8(ecx + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010C13: mov byte ptr [ecx + 0x20], bl */ 11261 edx = MEM32(eax + 0x4); /* 0x2F010C16: mov edx, dword ptr [eax + 4] */ 11262 ecx = MEM32(edx + 0x4); /* 0x2F010C19: mov ecx, dword ptr [edx + 4] */ 11263 MEM8(ecx + 0x20) = (uint8_t)(0); /* 0x2F010C1C: mov byte ptr [ecx + 0x20], 0 */ 11264 edx = MEM32(eax + 0x4); /* 0x2F010C20: mov edx, dword ptr [eax + 4] */ 11265 ecx = MEM32(edx + 0x4); /* 0x2F010C23: mov ecx, dword ptr [edx + 4] */ 11266 edx = MEM32(ecx + 0x8); /* 0x2F010C26: mov edx, dword ptr [ecx + 8] */ 11267 edi = MEM32(edx); /* 0x2F010C29: mov edi, dword ptr [edx] */ 11268 MEM32(ecx + 0x8) = edi; /* 0x2F010C2B: mov dword ptr [ecx + 8], edi */ 11269 edi = MEM32(edx); /* 0x2F010C2E: mov edi, dword ptr [edx] */ 11270 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010C30: cmp edi, dword ptr [esi + 8] */ 11271 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11272 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11273 _flag_k = FK_CMP; 11274 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010C38; /* 0x2F010C33: je 0x2f010c38 */ 11275 L_2F010C35: 11276 MEM32(edi + 0x4) = ecx; /* 0x2F010C35: mov dword ptr [edi + 4], ecx */ 11277 L_2F010C38: 11278 edi = MEM32(ecx + 0x4); /* 0x2F010C38: mov edi, dword ptr [ecx + 4] */ 11279 MEM32(edx + 0x4) = edi; /* 0x2F010C3B: mov dword ptr [edx + 4], edi */ 11280 edi = MEM32(esi + 0x4); /* 0x2F010C3E: mov edi, dword ptr [esi + 4] */ 11281 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010C41: cmp ecx, dword ptr [edi + 4] */ 11282 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 11283 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11284 _flag_k = FK_CMP; 11285 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C4B; /* 0x2F010C44: jne 0x2f010c4b */ 11286 L_2F010C46: 11287 MEM32(edi + 0x4) = edx; /* 0x2F010C46: mov dword ptr [edi + 4], edx */ 11288 goto L_2F010C59; /* 0x2F010C49: jmp 0x2f010c59 */ 11289 L_2F010C4B: 11290 edi = MEM32(ecx + 0x4); /* 0x2F010C4B: mov edi, dword ptr [ecx + 4] */ 11291 /* cmp ecx, MEM32(edi) */ /* 0x2F010C4E: cmp ecx, dword ptr [edi] */ 11292 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 11293 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11294 _flag_k = FK_CMP; 11295 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010C56; /* 0x2F010C50: jne 0x2f010c56 */ 11296 L_2F010C52: 11297 MEM32(edi) = edx; /* 0x2F010C52: mov dword ptr [edi], edx */ 11298 goto L_2F010C59; /* 0x2F010C54: jmp 0x2f010c59 */ 11299 L_2F010C56: 11300 MEM32(edi + 0x8) = edx; /* 0x2F010C56: mov dword ptr [edi + 8], edx */ 11301 L_2F010C59: 11302 MEM32(edx) = ecx; /* 0x2F010C59: mov dword ptr [edx], ecx */ 11303 L_2F010C5B: 11304 MEM32(ecx + 0x4) = edx; /* 0x2F010C5B: mov dword ptr [ecx + 4], edx */ 11305 L_2F010C5E: 11306 ecx = MEM32(esi + 0x4); /* 0x2F010C5E: mov ecx, dword ptr [esi + 4] */ 11307 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F010C61: cmp eax, dword ptr [ecx + 4] */ 11308 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 11309 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11310 _flag_k = FK_CMP; 11311 RECOMP_BACKEDGE(); 11312 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010AEA; /* 0x2F010C64: jne 0x2f010aea */ 11313 L_2F010C6A: 11314 edx = MEM32(esi + 0x4); /* 0x2F010C6A: mov edx, dword ptr [esi + 4] */ 11315 ecx = MEM32(ebp + (-0x4)); /* 0x2F010C6D: mov ecx, dword ptr [ebp - 4] */ 11316 edi = POP32_VAL(esp); /* 0x2F010C70: pop edi */ 11317 esi = POP32_VAL(esp); /* 0x2F010C71: pop esi */ 11318 eax = MEM32(edx + 0x4); /* 0x2F010C72: mov eax, dword ptr [edx + 4] */ 11319 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010C75: mov byte ptr [eax + 0x20], bl */ 11320 eax = MEM32(ebp + 0x8); /* 0x2F010C78: mov eax, dword ptr [ebp + 8] */ 11321 ebx = POP32_VAL(esp); /* 0x2F010C7B: pop ebx */ 11322 MEM32(eax) = ecx; /* 0x2F010C7C: mov dword ptr [eax], ecx */ 11323 esp = ebp; /* 0x2F010C7E: mov esp, ebp */ 11324 ebp = POP32_VAL(esp); /* 0x2F010C80: pop ebp */ 11325 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2F010C81: ret 0x10 */ 11326 RECOMP_REGS_OUT(); 11327 } 11328 11329 void sub_2F010C6A(void) { 11330 int _fpu_cmp = 0; 11331 uint32_t _cf = 0; 11332 int _df = 1; 11333 uint32_t _flag_k = FK_NONE; 11334 uint32_t _flag_a = 0, _flag_b = 0; 11335 uint32_t _itail_tgt = 0; 11336 RECOMP_REGS_LOCALS 11337 RECOMP_ENTER(0x2F010C6Au); 11338 11339 L_2F010C6A: 11340 edx = MEM32(esi + 0x4); /* 0x2F010C6A: mov edx, dword ptr [esi + 4] */ 11341 ecx = MEM32(ebp + (-0x4)); /* 0x2F010C6D: mov ecx, dword ptr [ebp - 4] */ 11342 edi = POP32_VAL(esp); /* 0x2F010C70: pop edi */ 11343 esi = POP32_VAL(esp); /* 0x2F010C71: pop esi */ 11344 eax = MEM32(edx + 0x4); /* 0x2F010C72: mov eax, dword ptr [edx + 4] */ 11345 MEM8(eax + 0x20) = (uint8_t)(LO8(ebx)); /* 0x2F010C75: mov byte ptr [eax + 0x20], bl */ 11346 eax = MEM32(ebp + 0x8); /* 0x2F010C78: mov eax, dword ptr [ebp + 8] */ 11347 ebx = POP32_VAL(esp); /* 0x2F010C7B: pop ebx */ 11348 MEM32(eax) = ecx; /* 0x2F010C7C: mov dword ptr [eax], ecx */ 11349 esp = ebp; /* 0x2F010C7E: mov esp, ebp */ 11350 ebp = POP32_VAL(esp); /* 0x2F010C80: pop ebp */ 11351 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2F010C81: ret 0x10 */ 11352 RECOMP_REGS_OUT(); 11353 } 11354 11355 void sub_2F010C90(void) { 11356 int _fpu_cmp = 0; 11357 uint32_t _cf = 0; 11358 int _df = 1; 11359 uint32_t _flag_k = FK_NONE; 11360 uint32_t _flag_a = 0, _flag_b = 0; 11361 uint32_t _itail_tgt = 0; 11362 RECOMP_REGS_LOCALS 11363 RECOMP_ENTER(0x2F010C90u); 11364 11365 L_2F010C90: 11366 PUSH32(esp, ebp); /* 0x2F010C90: push ebp */ 11367 ebp = esp; /* 0x2F010C91: mov ebp, esp */ 11368 PUSH32(esp, ecx); /* 0x2F010C93: push ecx */ 11369 PUSH32(esp, ebx); /* 0x2F010C94: push ebx */ 11370 PUSH32(esp, esi); /* 0x2F010C95: push esi */ 11371 PUSH32(esp, edi); /* 0x2F010C96: push edi */ 11372 esi = ecx; /* 0x2F010C97: mov esi, ecx */ 11373 PUSH32(esp, 0x28u); /* 0x2F010C99: push 0x28 */ 11374 RECOMP_ICALL(0x2F0117DCu); /* 0x2F010C9B: call 0x2f0117dc */ /* not lifted */ 11375 RECOMP_FLAGS_IN(); 11376 edi = MEM32(ebp + 0x10); /* 0x2F010CA0: mov edi, dword ptr [ebp + 0x10] */ 11377 ebx = MEM32(ebp + 0x14); /* 0x2F010CA3: mov ebx, dword ptr [ebp + 0x14] */ 11378 MEM32(eax + 0x4) = edi; /* 0x2F010CA6: mov dword ptr [eax + 4], edi */ 11379 MEM8(eax + 0x24) = (uint8_t)(0); /* 0x2F010CA9: mov byte ptr [eax + 0x24], 0 */ 11380 MEM8(eax + 0x25) = (uint8_t)(0); /* 0x2F010CAD: mov byte ptr [eax + 0x25], 0 */ 11381 ecx = MEM32(esi + 0x8); /* 0x2F010CB1: mov ecx, dword ptr [esi + 8] */ 11382 MEM32(eax) = ecx; /* 0x2F010CB4: mov dword ptr [eax], ecx */ 11383 edx = MEM32(esi + 0x8); /* 0x2F010CB6: mov edx, dword ptr [esi + 8] */ 11384 MEM32(ebp + (-0x4)) = eax; /* 0x2F010CB9: mov dword ptr [ebp - 4], eax */ 11385 MEM32(eax + 0x8) = edx; /* 0x2F010CBC: mov dword ptr [eax + 8], edx */ 11386 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu); 11387 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11388 eax = eax + 0xCu; /* 0x2F010CBF: add eax, 0xc */ 11389 _flag_k = FK_ADD; 11390 PUSH32(esp, ebx); /* 0x2F010CC2: push ebx */ 11391 PUSH32(esp, eax); /* 0x2F010CC3: push eax */ 11392 RECOMP_ICALL(0x2F011320u); /* 0x2F010CC4: call 0x2f011320 */ /* not lifted */ 11393 RECOMP_FLAGS_IN(); 11394 ecx = MEM32(esi + 0x10); /* 0x2F010CC9: mov ecx, dword ptr [esi + 0x10] */ 11395 eax = MEM32(esi + 0x4); /* 0x2F010CCC: mov eax, dword ptr [esi + 4] */ 11396 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 11397 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11398 esp = esp + 0xCu; /* 0x2F010CCF: add esp, 0xc */ 11399 _flag_k = FK_ADD; 11400 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 11401 ecx = ecx + 1; /* 0x2F010CD2: inc ecx */ 11402 _flag_k = FK_INC; 11403 /* cmp edi, eax */ /* 0x2F010CD3: cmp edi, eax */ 11404 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 11405 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11406 _flag_k = FK_CMP; 11407 MEM32(esi + 0x10) = ecx; /* 0x2F010CD5: mov dword ptr [esi + 0x10], ecx */ 11408 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010D00; /* 0x2F010CD8: je 0x2f010d00 */ 11409 L_2F010CDA: 11410 eax = MEM32(ebp + 0xC); /* 0x2F010CDA: mov eax, dword ptr [ebp + 0xc] */ 11411 ecx = MEM32(esi + 0x8); /* 0x2F010CDD: mov ecx, dword ptr [esi + 8] */ 11412 /* cmp eax, ecx */ /* 0x2F010CE0: cmp eax, ecx */ 11413 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 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_2F010D00; /* 0x2F010CE2: jne 0x2f010d00 */ 11417 L_2F010CE4: 11418 ecx = MEM32(ebx); /* 0x2F010CE4: mov ecx, dword ptr [ebx] */ 11419 eax = MEM32(edi + 0xC); /* 0x2F010CE6: mov eax, dword ptr [edi + 0xc] */ 11420 /* cmp ecx, eax */ /* 0x2F010CE9: cmp ecx, eax */ 11421 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 11422 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11423 _flag_k = FK_CMP; 11424 if (CMP_L(_flag_a, _flag_b)) goto L_2F010D00; /* 0x2F010CEB: jl 0x2f010d00 */ 11425 L_2F010CED: 11426 ecx = MEM32(ebp + (-0x4)); /* 0x2F010CED: mov ecx, dword ptr [ebp - 4] */ 11427 MEM32(edi + 0x8) = ecx; /* 0x2F010CF0: mov dword ptr [edi + 8], ecx */ 11428 eax = MEM32(esi + 0x4); /* 0x2F010CF3: mov eax, dword ptr [esi + 4] */ 11429 /* cmp edi, MEM32(eax + 0x8) */ /* 0x2F010CF6: cmp edi, dword ptr [eax + 8] */ 11430 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 11431 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11432 _flag_k = FK_CMP; 11433 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010D20; /* 0x2F010CF9: jne 0x2f010d20 */ 11434 L_2F010CFB: 11435 MEM32(eax + 0x8) = ecx; /* 0x2F010CFB: mov dword ptr [eax + 8], ecx */ 11436 goto L_2F010D20; /* 0x2F010CFE: jmp 0x2f010d20 */ 11437 L_2F010D00: 11438 ecx = MEM32(ebp + (-0x4)); /* 0x2F010D00: mov ecx, dword ptr [ebp - 4] */ 11439 MEM32(edi) = ecx; /* 0x2F010D03: mov dword ptr [edi], ecx */ 11440 eax = MEM32(esi + 0x4); /* 0x2F010D05: mov eax, dword ptr [esi + 4] */ 11441 /* cmp edi, eax */ /* 0x2F010D08: cmp edi, eax */ 11442 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 11443 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11444 _flag_k = FK_CMP; 11445 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010D17; /* 0x2F010D0A: jne 0x2f010d17 */ 11446 L_2F010D0C: 11447 MEM32(eax + 0x4) = ecx; /* 0x2F010D0C: mov dword ptr [eax + 4], ecx */ 11448 edx = MEM32(esi + 0x4); /* 0x2F010D0F: mov edx, dword ptr [esi + 4] */ 11449 MEM32(edx + 0x8) = ecx; /* 0x2F010D12: mov dword ptr [edx + 8], ecx */ 11450 goto L_2F010D20; /* 0x2F010D15: jmp 0x2f010d20 */ 11451 L_2F010D17: 11452 /* cmp edi, MEM32(eax) */ /* 0x2F010D17: cmp edi, dword ptr [eax] */ 11453 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax)); 11454 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11455 _flag_k = FK_CMP; 11456 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010D20; /* 0x2F010D19: jne 0x2f010d20 */ 11457 L_2F010D1B: 11458 ecx = MEM32(ebp + (-0x4)); /* 0x2F010D1B: mov ecx, dword ptr [ebp - 4] */ 11459 MEM32(eax) = ecx; /* 0x2F010D1E: mov dword ptr [eax], ecx */ 11460 L_2F010D20: 11461 edx = MEM32(esi + 0x4); /* 0x2F010D20: mov edx, dword ptr [esi + 4] */ 11462 eax = MEM32(ebp + (-0x4)); /* 0x2F010D23: mov eax, dword ptr [ebp - 4] */ 11463 SET_LO8(ebx, 1); /* 0x2F010D26: mov bl, 1 */ 11464 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010D28: cmp eax, dword ptr [edx + 4] */ 11465 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 11466 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11467 _flag_k = FK_CMP; 11468 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010EB1; /* 0x2F010D2B: je 0x2f010eb1 */ 11469 L_2F010D31: 11470 ecx = MEM32(eax + 0x4); /* 0x2F010D31: mov ecx, dword ptr [eax + 4] */ 11471 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2F010D34: mov dl, byte ptr [ecx + 0x24] */ 11472 /* test LO8(edx), LO8(edx) */ /* 0x2F010D37: test dl, dl */ 11473 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 11474 _cf = 0; 11475 _flag_k = FK_NARROW(FK_TEST, 24); 11476 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F010EB1; /* 0x2F010D39: jne 0x2f010eb1 */ 11477 L_2F010D3F: 11478 edi = MEM32(ecx + 0x4); /* 0x2F010D3F: mov edi, dword ptr [ecx + 4] */ 11479 edx = MEM32(edi); /* 0x2F010D42: mov edx, dword ptr [edi] */ 11480 /* cmp ecx, edx */ /* 0x2F010D44: cmp ecx, edx */ 11481 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 11482 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11483 _flag_k = FK_CMP; 11484 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E0D; /* 0x2F010D46: jne 0x2f010e0d */ 11485 L_2F010D4C: 11486 edx = MEM32(edi + 0x8); /* 0x2F010D4C: mov edx, dword ptr [edi + 8] */ 11487 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2F010D4F: cmp byte ptr [edx + 0x24], 0 */ 11488 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 11489 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11490 _flag_k = FK_NARROW(FK_CMP, 24); 11491 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010D70; /* 0x2F010D53: jne 0x2f010d70 */ 11492 L_2F010D55: 11493 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010D55: mov byte ptr [ecx + 0x24], bl */ 11494 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010D58: mov byte ptr [edx + 0x24], bl */ 11495 ecx = MEM32(eax + 0x4); /* 0x2F010D5B: mov ecx, dword ptr [eax + 4] */ 11496 edx = MEM32(ecx + 0x4); /* 0x2F010D5E: mov edx, dword ptr [ecx + 4] */ 11497 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2F010D61: mov byte ptr [edx + 0x24], 0 */ 11498 eax = MEM32(eax + 0x4); /* 0x2F010D65: mov eax, dword ptr [eax + 4] */ 11499 eax = MEM32(eax + 0x4); /* 0x2F010D68: mov eax, dword ptr [eax + 4] */ 11500 goto L_2F010EA5; /* 0x2F010D6B: jmp 0x2f010ea5 */ 11501 L_2F010D70: 11502 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2F010D70: cmp eax, dword ptr [ecx + 8] */ 11503 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 11504 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11505 _flag_k = FK_CMP; 11506 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010DAF; /* 0x2F010D73: jne 0x2f010daf */ 11507 L_2F010D75: 11508 eax = ecx; /* 0x2F010D75: mov eax, ecx */ 11509 ecx = MEM32(eax + 0x8); /* 0x2F010D77: mov ecx, dword ptr [eax + 8] */ 11510 edx = MEM32(ecx); /* 0x2F010D7A: mov edx, dword ptr [ecx] */ 11511 MEM32(eax + 0x8) = edx; /* 0x2F010D7C: mov dword ptr [eax + 8], edx */ 11512 edx = MEM32(ecx); /* 0x2F010D7F: mov edx, dword ptr [ecx] */ 11513 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010D81: cmp edx, dword ptr [esi + 8] */ 11514 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11515 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11516 _flag_k = FK_CMP; 11517 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010D89; /* 0x2F010D84: je 0x2f010d89 */ 11518 L_2F010D86: 11519 MEM32(edx + 0x4) = eax; /* 0x2F010D86: mov dword ptr [edx + 4], eax */ 11520 L_2F010D89: 11521 edx = MEM32(eax + 0x4); /* 0x2F010D89: mov edx, dword ptr [eax + 4] */ 11522 MEM32(ecx + 0x4) = edx; /* 0x2F010D8C: mov dword ptr [ecx + 4], edx */ 11523 edx = MEM32(esi + 0x4); /* 0x2F010D8F: mov edx, dword ptr [esi + 4] */ 11524 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010D92: cmp eax, dword ptr [edx + 4] */ 11525 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 11526 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11527 _flag_k = FK_CMP; 11528 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010D9C; /* 0x2F010D95: jne 0x2f010d9c */ 11529 L_2F010D97: 11530 MEM32(edx + 0x4) = ecx; /* 0x2F010D97: mov dword ptr [edx + 4], ecx */ 11531 goto L_2F010DAA; /* 0x2F010D9A: jmp 0x2f010daa */ 11532 L_2F010D9C: 11533 edx = MEM32(eax + 0x4); /* 0x2F010D9C: mov edx, dword ptr [eax + 4] */ 11534 /* cmp eax, MEM32(edx) */ /* 0x2F010D9F: cmp eax, dword ptr [edx] */ 11535 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 11536 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11537 _flag_k = FK_CMP; 11538 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010DA7; /* 0x2F010DA1: jne 0x2f010da7 */ 11539 L_2F010DA3: 11540 MEM32(edx) = ecx; /* 0x2F010DA3: mov dword ptr [edx], ecx */ 11541 goto L_2F010DAA; /* 0x2F010DA5: jmp 0x2f010daa */ 11542 L_2F010DA7: 11543 MEM32(edx + 0x8) = ecx; /* 0x2F010DA7: mov dword ptr [edx + 8], ecx */ 11544 L_2F010DAA: 11545 MEM32(ecx) = eax; /* 0x2F010DAA: mov dword ptr [ecx], eax */ 11546 MEM32(eax + 0x4) = ecx; /* 0x2F010DAC: mov dword ptr [eax + 4], ecx */ 11547 L_2F010DAF: 11548 ecx = MEM32(eax + 0x4); /* 0x2F010DAF: mov ecx, dword ptr [eax + 4] */ 11549 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010DB2: mov byte ptr [ecx + 0x24], bl */ 11550 edx = MEM32(eax + 0x4); /* 0x2F010DB5: mov edx, dword ptr [eax + 4] */ 11551 ecx = MEM32(edx + 0x4); /* 0x2F010DB8: mov ecx, dword ptr [edx + 4] */ 11552 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010DBB: mov byte ptr [ecx + 0x24], 0 */ 11553 edx = MEM32(eax + 0x4); /* 0x2F010DBF: mov edx, dword ptr [eax + 4] */ 11554 ecx = MEM32(edx + 0x4); /* 0x2F010DC2: mov ecx, dword ptr [edx + 4] */ 11555 edx = MEM32(ecx); /* 0x2F010DC5: mov edx, dword ptr [ecx] */ 11556 edi = MEM32(edx + 0x8); /* 0x2F010DC7: mov edi, dword ptr [edx + 8] */ 11557 MEM32(ecx) = edi; /* 0x2F010DCA: mov dword ptr [ecx], edi */ 11558 edi = MEM32(edx + 0x8); /* 0x2F010DCC: mov edi, dword ptr [edx + 8] */ 11559 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010DCF: cmp edi, dword ptr [esi + 8] */ 11560 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11561 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11562 _flag_k = FK_CMP; 11563 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010DD7; /* 0x2F010DD2: je 0x2f010dd7 */ 11564 L_2F010DD4: 11565 MEM32(edi + 0x4) = ecx; /* 0x2F010DD4: mov dword ptr [edi + 4], ecx */ 11566 L_2F010DD7: 11567 edi = MEM32(ecx + 0x4); /* 0x2F010DD7: mov edi, dword ptr [ecx + 4] */ 11568 MEM32(edx + 0x4) = edi; /* 0x2F010DDA: mov dword ptr [edx + 4], edi */ 11569 edi = MEM32(esi + 0x4); /* 0x2F010DDD: mov edi, dword ptr [esi + 4] */ 11570 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010DE0: cmp ecx, dword ptr [edi + 4] */ 11571 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 11572 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11573 _flag_k = FK_CMP; 11574 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010DF0; /* 0x2F010DE3: jne 0x2f010df0 */ 11575 L_2F010DE5: 11576 MEM32(edi + 0x4) = edx; /* 0x2F010DE5: mov dword ptr [edi + 4], edx */ 11577 MEM32(edx + 0x8) = ecx; /* 0x2F010DE8: mov dword ptr [edx + 8], ecx */ 11578 goto L_2F010EA2; /* 0x2F010DEB: jmp 0x2f010ea2 */ 11579 L_2F010DF0: 11580 edi = MEM32(ecx + 0x4); /* 0x2F010DF0: mov edi, dword ptr [ecx + 4] */ 11581 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2F010DF3: cmp ecx, dword ptr [edi + 8] */ 11582 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 11583 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11584 _flag_k = FK_CMP; 11585 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E03; /* 0x2F010DF6: jne 0x2f010e03 */ 11586 L_2F010DF8: 11587 MEM32(edi + 0x8) = edx; /* 0x2F010DF8: mov dword ptr [edi + 8], edx */ 11588 MEM32(edx + 0x8) = ecx; /* 0x2F010DFB: mov dword ptr [edx + 8], ecx */ 11589 goto L_2F010EA2; /* 0x2F010DFE: jmp 0x2f010ea2 */ 11590 L_2F010E03: 11591 MEM32(edi) = edx; /* 0x2F010E03: mov dword ptr [edi], edx */ 11592 MEM32(edx + 0x8) = ecx; /* 0x2F010E05: mov dword ptr [edx + 8], ecx */ 11593 goto L_2F010EA2; /* 0x2F010E08: jmp 0x2f010ea2 */ 11594 L_2F010E0D: 11595 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2F010E0D: cmp byte ptr [edx + 0x24], 0 */ 11596 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 11597 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11598 _flag_k = FK_NARROW(FK_CMP, 24); 11599 RECOMP_BACKEDGE(); 11600 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010D55; /* 0x2F010E11: je 0x2f010d55 */ 11601 L_2F010E17: 11602 /* cmp eax, MEM32(ecx) */ /* 0x2F010E17: cmp eax, dword ptr [ecx] */ 11603 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 11604 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11605 _flag_k = FK_CMP; 11606 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E57; /* 0x2F010E19: jne 0x2f010e57 */ 11607 L_2F010E1B: 11608 eax = ecx; /* 0x2F010E1B: mov eax, ecx */ 11609 ecx = MEM32(eax); /* 0x2F010E1D: mov ecx, dword ptr [eax] */ 11610 edx = MEM32(ecx + 0x8); /* 0x2F010E1F: mov edx, dword ptr [ecx + 8] */ 11611 MEM32(eax) = edx; /* 0x2F010E22: mov dword ptr [eax], edx */ 11612 edx = MEM32(ecx + 0x8); /* 0x2F010E24: mov edx, dword ptr [ecx + 8] */ 11613 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010E27: cmp edx, dword ptr [esi + 8] */ 11614 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11615 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11616 _flag_k = FK_CMP; 11617 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010E2F; /* 0x2F010E2A: je 0x2f010e2f */ 11618 L_2F010E2C: 11619 MEM32(edx + 0x4) = eax; /* 0x2F010E2C: mov dword ptr [edx + 4], eax */ 11620 L_2F010E2F: 11621 edx = MEM32(eax + 0x4); /* 0x2F010E2F: mov edx, dword ptr [eax + 4] */ 11622 MEM32(ecx + 0x4) = edx; /* 0x2F010E32: mov dword ptr [ecx + 4], edx */ 11623 edx = MEM32(esi + 0x4); /* 0x2F010E35: mov edx, dword ptr [esi + 4] */ 11624 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010E38: cmp eax, dword ptr [edx + 4] */ 11625 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 11626 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11627 _flag_k = FK_CMP; 11628 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E42; /* 0x2F010E3B: jne 0x2f010e42 */ 11629 L_2F010E3D: 11630 MEM32(edx + 0x4) = ecx; /* 0x2F010E3D: mov dword ptr [edx + 4], ecx */ 11631 goto L_2F010E51; /* 0x2F010E40: jmp 0x2f010e51 */ 11632 L_2F010E42: 11633 edx = MEM32(eax + 0x4); /* 0x2F010E42: mov edx, dword ptr [eax + 4] */ 11634 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2F010E45: cmp eax, dword ptr [edx + 8] */ 11635 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 11636 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11637 _flag_k = FK_CMP; 11638 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E4F; /* 0x2F010E48: jne 0x2f010e4f */ 11639 L_2F010E4A: 11640 MEM32(edx + 0x8) = ecx; /* 0x2F010E4A: mov dword ptr [edx + 8], ecx */ 11641 goto L_2F010E51; /* 0x2F010E4D: jmp 0x2f010e51 */ 11642 L_2F010E4F: 11643 MEM32(edx) = ecx; /* 0x2F010E4F: mov dword ptr [edx], ecx */ 11644 L_2F010E51: 11645 MEM32(ecx + 0x8) = eax; /* 0x2F010E51: mov dword ptr [ecx + 8], eax */ 11646 MEM32(eax + 0x4) = ecx; /* 0x2F010E54: mov dword ptr [eax + 4], ecx */ 11647 L_2F010E57: 11648 ecx = MEM32(eax + 0x4); /* 0x2F010E57: mov ecx, dword ptr [eax + 4] */ 11649 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010E5A: mov byte ptr [ecx + 0x24], bl */ 11650 edx = MEM32(eax + 0x4); /* 0x2F010E5D: mov edx, dword ptr [eax + 4] */ 11651 ecx = MEM32(edx + 0x4); /* 0x2F010E60: mov ecx, dword ptr [edx + 4] */ 11652 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010E63: mov byte ptr [ecx + 0x24], 0 */ 11653 edx = MEM32(eax + 0x4); /* 0x2F010E67: mov edx, dword ptr [eax + 4] */ 11654 ecx = MEM32(edx + 0x4); /* 0x2F010E6A: mov ecx, dword ptr [edx + 4] */ 11655 edx = MEM32(ecx + 0x8); /* 0x2F010E6D: mov edx, dword ptr [ecx + 8] */ 11656 edi = MEM32(edx); /* 0x2F010E70: mov edi, dword ptr [edx] */ 11657 MEM32(ecx + 0x8) = edi; /* 0x2F010E72: mov dword ptr [ecx + 8], edi */ 11658 edi = MEM32(edx); /* 0x2F010E75: mov edi, dword ptr [edx] */ 11659 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010E77: cmp edi, dword ptr [esi + 8] */ 11660 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11661 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11662 _flag_k = FK_CMP; 11663 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010E7F; /* 0x2F010E7A: je 0x2f010e7f */ 11664 L_2F010E7C: 11665 MEM32(edi + 0x4) = ecx; /* 0x2F010E7C: mov dword ptr [edi + 4], ecx */ 11666 L_2F010E7F: 11667 edi = MEM32(ecx + 0x4); /* 0x2F010E7F: mov edi, dword ptr [ecx + 4] */ 11668 MEM32(edx + 0x4) = edi; /* 0x2F010E82: mov dword ptr [edx + 4], edi */ 11669 edi = MEM32(esi + 0x4); /* 0x2F010E85: mov edi, dword ptr [esi + 4] */ 11670 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010E88: cmp ecx, dword ptr [edi + 4] */ 11671 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 11672 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11673 _flag_k = FK_CMP; 11674 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E92; /* 0x2F010E8B: jne 0x2f010e92 */ 11675 L_2F010E8D: 11676 MEM32(edi + 0x4) = edx; /* 0x2F010E8D: mov dword ptr [edi + 4], edx */ 11677 goto L_2F010EA0; /* 0x2F010E90: jmp 0x2f010ea0 */ 11678 L_2F010E92: 11679 edi = MEM32(ecx + 0x4); /* 0x2F010E92: mov edi, dword ptr [ecx + 4] */ 11680 /* cmp ecx, MEM32(edi) */ /* 0x2F010E95: cmp ecx, dword ptr [edi] */ 11681 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 11682 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11683 _flag_k = FK_CMP; 11684 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E9D; /* 0x2F010E97: jne 0x2f010e9d */ 11685 L_2F010E99: 11686 MEM32(edi) = edx; /* 0x2F010E99: mov dword ptr [edi], edx */ 11687 goto L_2F010EA0; /* 0x2F010E9B: jmp 0x2f010ea0 */ 11688 L_2F010E9D: 11689 MEM32(edi + 0x8) = edx; /* 0x2F010E9D: mov dword ptr [edi + 8], edx */ 11690 L_2F010EA0: 11691 MEM32(edx) = ecx; /* 0x2F010EA0: mov dword ptr [edx], ecx */ 11692 L_2F010EA2: 11693 MEM32(ecx + 0x4) = edx; /* 0x2F010EA2: mov dword ptr [ecx + 4], edx */ 11694 L_2F010EA5: 11695 ecx = MEM32(esi + 0x4); /* 0x2F010EA5: mov ecx, dword ptr [esi + 4] */ 11696 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F010EA8: cmp eax, dword ptr [ecx + 4] */ 11697 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 11698 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11699 _flag_k = FK_CMP; 11700 RECOMP_BACKEDGE(); 11701 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010D31; /* 0x2F010EAB: jne 0x2f010d31 */ 11702 L_2F010EB1: 11703 edx = MEM32(esi + 0x4); /* 0x2F010EB1: mov edx, dword ptr [esi + 4] */ 11704 ecx = MEM32(ebp + (-0x4)); /* 0x2F010EB4: mov ecx, dword ptr [ebp - 4] */ 11705 edi = POP32_VAL(esp); /* 0x2F010EB7: pop edi */ 11706 esi = POP32_VAL(esp); /* 0x2F010EB8: pop esi */ 11707 eax = MEM32(edx + 0x4); /* 0x2F010EB9: mov eax, dword ptr [edx + 4] */ 11708 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010EBC: mov byte ptr [eax + 0x24], bl */ 11709 eax = MEM32(ebp + 0x8); /* 0x2F010EBF: mov eax, dword ptr [ebp + 8] */ 11710 ebx = POP32_VAL(esp); /* 0x2F010EC2: pop ebx */ 11711 MEM32(eax) = ecx; /* 0x2F010EC3: mov dword ptr [eax], ecx */ 11712 esp = ebp; /* 0x2F010EC5: mov esp, ebp */ 11713 ebp = POP32_VAL(esp); /* 0x2F010EC7: pop ebp */ 11714 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2F010EC8: ret 0x10 */ 11715 RECOMP_REGS_OUT(); 11716 } 11717 11718 void sub_2F010D31(void) { 11719 int _fpu_cmp = 0; 11720 uint32_t _cf = 0; 11721 int _df = 1; 11722 uint32_t _flag_k = FK_NONE; 11723 uint32_t _flag_a = 0, _flag_b = 0; 11724 uint32_t _itail_tgt = 0; 11725 RECOMP_REGS_LOCALS 11726 RECOMP_ENTER(0x2F010D31u); 11727 11728 L_2F010D31: 11729 ecx = MEM32(eax + 0x4); /* 0x2F010D31: mov ecx, dword ptr [eax + 4] */ 11730 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2F010D34: mov dl, byte ptr [ecx + 0x24] */ 11731 /* test LO8(edx), LO8(edx) */ /* 0x2F010D37: test dl, dl */ 11732 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 11733 _cf = 0; 11734 _flag_k = FK_NARROW(FK_TEST, 24); 11735 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F010EB1; /* 0x2F010D39: jne 0x2f010eb1 */ 11736 L_2F010D3F: 11737 edi = MEM32(ecx + 0x4); /* 0x2F010D3F: mov edi, dword ptr [ecx + 4] */ 11738 edx = MEM32(edi); /* 0x2F010D42: mov edx, dword ptr [edi] */ 11739 /* cmp ecx, edx */ /* 0x2F010D44: cmp ecx, edx */ 11740 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 11741 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11742 _flag_k = FK_CMP; 11743 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E0D; /* 0x2F010D46: jne 0x2f010e0d */ 11744 L_2F010D4C: 11745 edx = MEM32(edi + 0x8); /* 0x2F010D4C: mov edx, dword ptr [edi + 8] */ 11746 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2F010D4F: cmp byte ptr [edx + 0x24], 0 */ 11747 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 11748 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11749 _flag_k = FK_NARROW(FK_CMP, 24); 11750 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010D70; /* 0x2F010D53: jne 0x2f010d70 */ 11751 L_2F010D55: 11752 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010D55: mov byte ptr [ecx + 0x24], bl */ 11753 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010D58: mov byte ptr [edx + 0x24], bl */ 11754 ecx = MEM32(eax + 0x4); /* 0x2F010D5B: mov ecx, dword ptr [eax + 4] */ 11755 edx = MEM32(ecx + 0x4); /* 0x2F010D5E: mov edx, dword ptr [ecx + 4] */ 11756 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2F010D61: mov byte ptr [edx + 0x24], 0 */ 11757 eax = MEM32(eax + 0x4); /* 0x2F010D65: mov eax, dword ptr [eax + 4] */ 11758 eax = MEM32(eax + 0x4); /* 0x2F010D68: mov eax, dword ptr [eax + 4] */ 11759 goto L_2F010EA5; /* 0x2F010D6B: jmp 0x2f010ea5 */ 11760 L_2F010D70: 11761 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2F010D70: cmp eax, dword ptr [ecx + 8] */ 11762 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 11763 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11764 _flag_k = FK_CMP; 11765 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010DAF; /* 0x2F010D73: jne 0x2f010daf */ 11766 L_2F010D75: 11767 eax = ecx; /* 0x2F010D75: mov eax, ecx */ 11768 ecx = MEM32(eax + 0x8); /* 0x2F010D77: mov ecx, dword ptr [eax + 8] */ 11769 edx = MEM32(ecx); /* 0x2F010D7A: mov edx, dword ptr [ecx] */ 11770 MEM32(eax + 0x8) = edx; /* 0x2F010D7C: mov dword ptr [eax + 8], edx */ 11771 edx = MEM32(ecx); /* 0x2F010D7F: mov edx, dword ptr [ecx] */ 11772 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010D81: cmp edx, dword ptr [esi + 8] */ 11773 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11774 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11775 _flag_k = FK_CMP; 11776 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010D89; /* 0x2F010D84: je 0x2f010d89 */ 11777 L_2F010D86: 11778 MEM32(edx + 0x4) = eax; /* 0x2F010D86: mov dword ptr [edx + 4], eax */ 11779 L_2F010D89: 11780 edx = MEM32(eax + 0x4); /* 0x2F010D89: mov edx, dword ptr [eax + 4] */ 11781 MEM32(ecx + 0x4) = edx; /* 0x2F010D8C: mov dword ptr [ecx + 4], edx */ 11782 edx = MEM32(esi + 0x4); /* 0x2F010D8F: mov edx, dword ptr [esi + 4] */ 11783 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010D92: cmp eax, dword ptr [edx + 4] */ 11784 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 11785 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11786 _flag_k = FK_CMP; 11787 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010D9C; /* 0x2F010D95: jne 0x2f010d9c */ 11788 L_2F010D97: 11789 MEM32(edx + 0x4) = ecx; /* 0x2F010D97: mov dword ptr [edx + 4], ecx */ 11790 goto L_2F010DAA; /* 0x2F010D9A: jmp 0x2f010daa */ 11791 L_2F010D9C: 11792 edx = MEM32(eax + 0x4); /* 0x2F010D9C: mov edx, dword ptr [eax + 4] */ 11793 /* cmp eax, MEM32(edx) */ /* 0x2F010D9F: cmp eax, dword ptr [edx] */ 11794 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 11795 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11796 _flag_k = FK_CMP; 11797 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010DA7; /* 0x2F010DA1: jne 0x2f010da7 */ 11798 L_2F010DA3: 11799 MEM32(edx) = ecx; /* 0x2F010DA3: mov dword ptr [edx], ecx */ 11800 goto L_2F010DAA; /* 0x2F010DA5: jmp 0x2f010daa */ 11801 L_2F010DA7: 11802 MEM32(edx + 0x8) = ecx; /* 0x2F010DA7: mov dword ptr [edx + 8], ecx */ 11803 L_2F010DAA: 11804 MEM32(ecx) = eax; /* 0x2F010DAA: mov dword ptr [ecx], eax */ 11805 MEM32(eax + 0x4) = ecx; /* 0x2F010DAC: mov dword ptr [eax + 4], ecx */ 11806 L_2F010DAF: 11807 ecx = MEM32(eax + 0x4); /* 0x2F010DAF: mov ecx, dword ptr [eax + 4] */ 11808 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010DB2: mov byte ptr [ecx + 0x24], bl */ 11809 edx = MEM32(eax + 0x4); /* 0x2F010DB5: mov edx, dword ptr [eax + 4] */ 11810 ecx = MEM32(edx + 0x4); /* 0x2F010DB8: mov ecx, dword ptr [edx + 4] */ 11811 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010DBB: mov byte ptr [ecx + 0x24], 0 */ 11812 edx = MEM32(eax + 0x4); /* 0x2F010DBF: mov edx, dword ptr [eax + 4] */ 11813 ecx = MEM32(edx + 0x4); /* 0x2F010DC2: mov ecx, dword ptr [edx + 4] */ 11814 edx = MEM32(ecx); /* 0x2F010DC5: mov edx, dword ptr [ecx] */ 11815 edi = MEM32(edx + 0x8); /* 0x2F010DC7: mov edi, dword ptr [edx + 8] */ 11816 MEM32(ecx) = edi; /* 0x2F010DCA: mov dword ptr [ecx], edi */ 11817 edi = MEM32(edx + 0x8); /* 0x2F010DCC: mov edi, dword ptr [edx + 8] */ 11818 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010DCF: cmp edi, dword ptr [esi + 8] */ 11819 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11820 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11821 _flag_k = FK_CMP; 11822 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010DD7; /* 0x2F010DD2: je 0x2f010dd7 */ 11823 L_2F010DD4: 11824 MEM32(edi + 0x4) = ecx; /* 0x2F010DD4: mov dword ptr [edi + 4], ecx */ 11825 L_2F010DD7: 11826 edi = MEM32(ecx + 0x4); /* 0x2F010DD7: mov edi, dword ptr [ecx + 4] */ 11827 MEM32(edx + 0x4) = edi; /* 0x2F010DDA: mov dword ptr [edx + 4], edi */ 11828 edi = MEM32(esi + 0x4); /* 0x2F010DDD: mov edi, dword ptr [esi + 4] */ 11829 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010DE0: cmp ecx, dword ptr [edi + 4] */ 11830 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 11831 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11832 _flag_k = FK_CMP; 11833 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010DF0; /* 0x2F010DE3: jne 0x2f010df0 */ 11834 L_2F010DE5: 11835 MEM32(edi + 0x4) = edx; /* 0x2F010DE5: mov dword ptr [edi + 4], edx */ 11836 MEM32(edx + 0x8) = ecx; /* 0x2F010DE8: mov dword ptr [edx + 8], ecx */ 11837 goto L_2F010EA2; /* 0x2F010DEB: jmp 0x2f010ea2 */ 11838 L_2F010DF0: 11839 edi = MEM32(ecx + 0x4); /* 0x2F010DF0: mov edi, dword ptr [ecx + 4] */ 11840 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2F010DF3: cmp ecx, dword ptr [edi + 8] */ 11841 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 11842 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11843 _flag_k = FK_CMP; 11844 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E03; /* 0x2F010DF6: jne 0x2f010e03 */ 11845 L_2F010DF8: 11846 MEM32(edi + 0x8) = edx; /* 0x2F010DF8: mov dword ptr [edi + 8], edx */ 11847 MEM32(edx + 0x8) = ecx; /* 0x2F010DFB: mov dword ptr [edx + 8], ecx */ 11848 goto L_2F010EA2; /* 0x2F010DFE: jmp 0x2f010ea2 */ 11849 L_2F010E03: 11850 MEM32(edi) = edx; /* 0x2F010E03: mov dword ptr [edi], edx */ 11851 MEM32(edx + 0x8) = ecx; /* 0x2F010E05: mov dword ptr [edx + 8], ecx */ 11852 goto L_2F010EA2; /* 0x2F010E08: jmp 0x2f010ea2 */ 11853 L_2F010E0D: 11854 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2F010E0D: cmp byte ptr [edx + 0x24], 0 */ 11855 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 11856 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11857 _flag_k = FK_NARROW(FK_CMP, 24); 11858 RECOMP_BACKEDGE(); 11859 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010D55; /* 0x2F010E11: je 0x2f010d55 */ 11860 L_2F010E17: 11861 /* cmp eax, MEM32(ecx) */ /* 0x2F010E17: cmp eax, dword ptr [ecx] */ 11862 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 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_2F010E57; /* 0x2F010E19: jne 0x2f010e57 */ 11866 L_2F010E1B: 11867 eax = ecx; /* 0x2F010E1B: mov eax, ecx */ 11868 ecx = MEM32(eax); /* 0x2F010E1D: mov ecx, dword ptr [eax] */ 11869 edx = MEM32(ecx + 0x8); /* 0x2F010E1F: mov edx, dword ptr [ecx + 8] */ 11870 MEM32(eax) = edx; /* 0x2F010E22: mov dword ptr [eax], edx */ 11871 edx = MEM32(ecx + 0x8); /* 0x2F010E24: mov edx, dword ptr [ecx + 8] */ 11872 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010E27: cmp edx, dword ptr [esi + 8] */ 11873 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11874 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11875 _flag_k = FK_CMP; 11876 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010E2F; /* 0x2F010E2A: je 0x2f010e2f */ 11877 L_2F010E2C: 11878 MEM32(edx + 0x4) = eax; /* 0x2F010E2C: mov dword ptr [edx + 4], eax */ 11879 L_2F010E2F: 11880 edx = MEM32(eax + 0x4); /* 0x2F010E2F: mov edx, dword ptr [eax + 4] */ 11881 MEM32(ecx + 0x4) = edx; /* 0x2F010E32: mov dword ptr [ecx + 4], edx */ 11882 edx = MEM32(esi + 0x4); /* 0x2F010E35: mov edx, dword ptr [esi + 4] */ 11883 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010E38: cmp eax, dword ptr [edx + 4] */ 11884 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 11885 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11886 _flag_k = FK_CMP; 11887 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E42; /* 0x2F010E3B: jne 0x2f010e42 */ 11888 L_2F010E3D: 11889 MEM32(edx + 0x4) = ecx; /* 0x2F010E3D: mov dword ptr [edx + 4], ecx */ 11890 goto L_2F010E51; /* 0x2F010E40: jmp 0x2f010e51 */ 11891 L_2F010E42: 11892 edx = MEM32(eax + 0x4); /* 0x2F010E42: mov edx, dword ptr [eax + 4] */ 11893 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2F010E45: cmp eax, dword ptr [edx + 8] */ 11894 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 11895 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11896 _flag_k = FK_CMP; 11897 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E4F; /* 0x2F010E48: jne 0x2f010e4f */ 11898 L_2F010E4A: 11899 MEM32(edx + 0x8) = ecx; /* 0x2F010E4A: mov dword ptr [edx + 8], ecx */ 11900 goto L_2F010E51; /* 0x2F010E4D: jmp 0x2f010e51 */ 11901 L_2F010E4F: 11902 MEM32(edx) = ecx; /* 0x2F010E4F: mov dword ptr [edx], ecx */ 11903 L_2F010E51: 11904 MEM32(ecx + 0x8) = eax; /* 0x2F010E51: mov dword ptr [ecx + 8], eax */ 11905 MEM32(eax + 0x4) = ecx; /* 0x2F010E54: mov dword ptr [eax + 4], ecx */ 11906 L_2F010E57: 11907 ecx = MEM32(eax + 0x4); /* 0x2F010E57: mov ecx, dword ptr [eax + 4] */ 11908 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010E5A: mov byte ptr [ecx + 0x24], bl */ 11909 edx = MEM32(eax + 0x4); /* 0x2F010E5D: mov edx, dword ptr [eax + 4] */ 11910 ecx = MEM32(edx + 0x4); /* 0x2F010E60: mov ecx, dword ptr [edx + 4] */ 11911 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010E63: mov byte ptr [ecx + 0x24], 0 */ 11912 edx = MEM32(eax + 0x4); /* 0x2F010E67: mov edx, dword ptr [eax + 4] */ 11913 ecx = MEM32(edx + 0x4); /* 0x2F010E6A: mov ecx, dword ptr [edx + 4] */ 11914 edx = MEM32(ecx + 0x8); /* 0x2F010E6D: mov edx, dword ptr [ecx + 8] */ 11915 edi = MEM32(edx); /* 0x2F010E70: mov edi, dword ptr [edx] */ 11916 MEM32(ecx + 0x8) = edi; /* 0x2F010E72: mov dword ptr [ecx + 8], edi */ 11917 edi = MEM32(edx); /* 0x2F010E75: mov edi, dword ptr [edx] */ 11918 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010E77: cmp edi, dword ptr [esi + 8] */ 11919 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11920 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11921 _flag_k = FK_CMP; 11922 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010E7F; /* 0x2F010E7A: je 0x2f010e7f */ 11923 L_2F010E7C: 11924 MEM32(edi + 0x4) = ecx; /* 0x2F010E7C: mov dword ptr [edi + 4], ecx */ 11925 L_2F010E7F: 11926 edi = MEM32(ecx + 0x4); /* 0x2F010E7F: mov edi, dword ptr [ecx + 4] */ 11927 MEM32(edx + 0x4) = edi; /* 0x2F010E82: mov dword ptr [edx + 4], edi */ 11928 edi = MEM32(esi + 0x4); /* 0x2F010E85: mov edi, dword ptr [esi + 4] */ 11929 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010E88: cmp ecx, dword ptr [edi + 4] */ 11930 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 11931 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11932 _flag_k = FK_CMP; 11933 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E92; /* 0x2F010E8B: jne 0x2f010e92 */ 11934 L_2F010E8D: 11935 MEM32(edi + 0x4) = edx; /* 0x2F010E8D: mov dword ptr [edi + 4], edx */ 11936 goto L_2F010EA0; /* 0x2F010E90: jmp 0x2f010ea0 */ 11937 L_2F010E92: 11938 edi = MEM32(ecx + 0x4); /* 0x2F010E92: mov edi, dword ptr [ecx + 4] */ 11939 /* cmp ecx, MEM32(edi) */ /* 0x2F010E95: cmp ecx, dword ptr [edi] */ 11940 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 11941 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11942 _flag_k = FK_CMP; 11943 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E9D; /* 0x2F010E97: jne 0x2f010e9d */ 11944 L_2F010E99: 11945 MEM32(edi) = edx; /* 0x2F010E99: mov dword ptr [edi], edx */ 11946 goto L_2F010EA0; /* 0x2F010E9B: jmp 0x2f010ea0 */ 11947 L_2F010E9D: 11948 MEM32(edi + 0x8) = edx; /* 0x2F010E9D: mov dword ptr [edi + 8], edx */ 11949 L_2F010EA0: 11950 MEM32(edx) = ecx; /* 0x2F010EA0: mov dword ptr [edx], ecx */ 11951 L_2F010EA2: 11952 MEM32(ecx + 0x4) = edx; /* 0x2F010EA2: mov dword ptr [ecx + 4], edx */ 11953 L_2F010EA5: 11954 ecx = MEM32(esi + 0x4); /* 0x2F010EA5: mov ecx, dword ptr [esi + 4] */ 11955 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F010EA8: cmp eax, dword ptr [ecx + 4] */ 11956 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 11957 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11958 _flag_k = FK_CMP; 11959 RECOMP_BACKEDGE(); 11960 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010D31; /* 0x2F010EAB: jne 0x2f010d31 */ 11961 L_2F010EB1: 11962 edx = MEM32(esi + 0x4); /* 0x2F010EB1: mov edx, dword ptr [esi + 4] */ 11963 ecx = MEM32(ebp + (-0x4)); /* 0x2F010EB4: mov ecx, dword ptr [ebp - 4] */ 11964 edi = POP32_VAL(esp); /* 0x2F010EB7: pop edi */ 11965 esi = POP32_VAL(esp); /* 0x2F010EB8: pop esi */ 11966 eax = MEM32(edx + 0x4); /* 0x2F010EB9: mov eax, dword ptr [edx + 4] */ 11967 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010EBC: mov byte ptr [eax + 0x24], bl */ 11968 eax = MEM32(ebp + 0x8); /* 0x2F010EBF: mov eax, dword ptr [ebp + 8] */ 11969 ebx = POP32_VAL(esp); /* 0x2F010EC2: pop ebx */ 11970 MEM32(eax) = ecx; /* 0x2F010EC3: mov dword ptr [eax], ecx */ 11971 esp = ebp; /* 0x2F010EC5: mov esp, ebp */ 11972 ebp = POP32_VAL(esp); /* 0x2F010EC7: pop ebp */ 11973 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2F010EC8: ret 0x10 */ 11974 RECOMP_REGS_OUT(); 11975 } 11976 11977 void sub_2F010D55(void) { 11978 int _fpu_cmp = 0; 11979 uint32_t _cf = 0; 11980 int _df = 1; 11981 uint32_t _flag_k = FK_NONE; 11982 uint32_t _flag_a = 0, _flag_b = 0; 11983 uint32_t _itail_tgt = 0; 11984 RECOMP_REGS_LOCALS 11985 RECOMP_ENTER(0x2F010D55u); 11986 11987 goto L_2F010D55; 11988 L_2F010D31: 11989 ecx = MEM32(eax + 0x4); /* 0x2F010D31: mov ecx, dword ptr [eax + 4] */ 11990 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2F010D34: mov dl, byte ptr [ecx + 0x24] */ 11991 /* test LO8(edx), LO8(edx) */ /* 0x2F010D37: test dl, dl */ 11992 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 11993 _cf = 0; 11994 _flag_k = FK_NARROW(FK_TEST, 24); 11995 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F010EB1; /* 0x2F010D39: jne 0x2f010eb1 */ 11996 L_2F010D3F: 11997 edi = MEM32(ecx + 0x4); /* 0x2F010D3F: mov edi, dword ptr [ecx + 4] */ 11998 edx = MEM32(edi); /* 0x2F010D42: mov edx, dword ptr [edi] */ 11999 /* cmp ecx, edx */ /* 0x2F010D44: cmp ecx, edx */ 12000 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 12001 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12002 _flag_k = FK_CMP; 12003 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E0D; /* 0x2F010D46: jne 0x2f010e0d */ 12004 L_2F010D4C: 12005 edx = MEM32(edi + 0x8); /* 0x2F010D4C: mov edx, dword ptr [edi + 8] */ 12006 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2F010D4F: cmp byte ptr [edx + 0x24], 0 */ 12007 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 12008 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12009 _flag_k = FK_NARROW(FK_CMP, 24); 12010 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010D70; /* 0x2F010D53: jne 0x2f010d70 */ 12011 L_2F010D55: 12012 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010D55: mov byte ptr [ecx + 0x24], bl */ 12013 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010D58: mov byte ptr [edx + 0x24], bl */ 12014 ecx = MEM32(eax + 0x4); /* 0x2F010D5B: mov ecx, dword ptr [eax + 4] */ 12015 edx = MEM32(ecx + 0x4); /* 0x2F010D5E: mov edx, dword ptr [ecx + 4] */ 12016 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2F010D61: mov byte ptr [edx + 0x24], 0 */ 12017 eax = MEM32(eax + 0x4); /* 0x2F010D65: mov eax, dword ptr [eax + 4] */ 12018 eax = MEM32(eax + 0x4); /* 0x2F010D68: mov eax, dword ptr [eax + 4] */ 12019 goto L_2F010EA5; /* 0x2F010D6B: jmp 0x2f010ea5 */ 12020 L_2F010D70: 12021 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2F010D70: cmp eax, dword ptr [ecx + 8] */ 12022 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 12023 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12024 _flag_k = FK_CMP; 12025 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010DAF; /* 0x2F010D73: jne 0x2f010daf */ 12026 L_2F010D75: 12027 eax = ecx; /* 0x2F010D75: mov eax, ecx */ 12028 ecx = MEM32(eax + 0x8); /* 0x2F010D77: mov ecx, dword ptr [eax + 8] */ 12029 edx = MEM32(ecx); /* 0x2F010D7A: mov edx, dword ptr [ecx] */ 12030 MEM32(eax + 0x8) = edx; /* 0x2F010D7C: mov dword ptr [eax + 8], edx */ 12031 edx = MEM32(ecx); /* 0x2F010D7F: mov edx, dword ptr [ecx] */ 12032 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010D81: cmp edx, dword ptr [esi + 8] */ 12033 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12034 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12035 _flag_k = FK_CMP; 12036 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010D89; /* 0x2F010D84: je 0x2f010d89 */ 12037 L_2F010D86: 12038 MEM32(edx + 0x4) = eax; /* 0x2F010D86: mov dword ptr [edx + 4], eax */ 12039 L_2F010D89: 12040 edx = MEM32(eax + 0x4); /* 0x2F010D89: mov edx, dword ptr [eax + 4] */ 12041 MEM32(ecx + 0x4) = edx; /* 0x2F010D8C: mov dword ptr [ecx + 4], edx */ 12042 edx = MEM32(esi + 0x4); /* 0x2F010D8F: mov edx, dword ptr [esi + 4] */ 12043 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010D92: cmp eax, dword ptr [edx + 4] */ 12044 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 12045 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12046 _flag_k = FK_CMP; 12047 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010D9C; /* 0x2F010D95: jne 0x2f010d9c */ 12048 L_2F010D97: 12049 MEM32(edx + 0x4) = ecx; /* 0x2F010D97: mov dword ptr [edx + 4], ecx */ 12050 goto L_2F010DAA; /* 0x2F010D9A: jmp 0x2f010daa */ 12051 L_2F010D9C: 12052 edx = MEM32(eax + 0x4); /* 0x2F010D9C: mov edx, dword ptr [eax + 4] */ 12053 /* cmp eax, MEM32(edx) */ /* 0x2F010D9F: cmp eax, dword ptr [edx] */ 12054 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 12055 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12056 _flag_k = FK_CMP; 12057 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010DA7; /* 0x2F010DA1: jne 0x2f010da7 */ 12058 L_2F010DA3: 12059 MEM32(edx) = ecx; /* 0x2F010DA3: mov dword ptr [edx], ecx */ 12060 goto L_2F010DAA; /* 0x2F010DA5: jmp 0x2f010daa */ 12061 L_2F010DA7: 12062 MEM32(edx + 0x8) = ecx; /* 0x2F010DA7: mov dword ptr [edx + 8], ecx */ 12063 L_2F010DAA: 12064 MEM32(ecx) = eax; /* 0x2F010DAA: mov dword ptr [ecx], eax */ 12065 MEM32(eax + 0x4) = ecx; /* 0x2F010DAC: mov dword ptr [eax + 4], ecx */ 12066 L_2F010DAF: 12067 ecx = MEM32(eax + 0x4); /* 0x2F010DAF: mov ecx, dword ptr [eax + 4] */ 12068 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010DB2: mov byte ptr [ecx + 0x24], bl */ 12069 edx = MEM32(eax + 0x4); /* 0x2F010DB5: mov edx, dword ptr [eax + 4] */ 12070 ecx = MEM32(edx + 0x4); /* 0x2F010DB8: mov ecx, dword ptr [edx + 4] */ 12071 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010DBB: mov byte ptr [ecx + 0x24], 0 */ 12072 edx = MEM32(eax + 0x4); /* 0x2F010DBF: mov edx, dword ptr [eax + 4] */ 12073 ecx = MEM32(edx + 0x4); /* 0x2F010DC2: mov ecx, dword ptr [edx + 4] */ 12074 edx = MEM32(ecx); /* 0x2F010DC5: mov edx, dword ptr [ecx] */ 12075 edi = MEM32(edx + 0x8); /* 0x2F010DC7: mov edi, dword ptr [edx + 8] */ 12076 MEM32(ecx) = edi; /* 0x2F010DCA: mov dword ptr [ecx], edi */ 12077 edi = MEM32(edx + 0x8); /* 0x2F010DCC: mov edi, dword ptr [edx + 8] */ 12078 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010DCF: cmp edi, dword ptr [esi + 8] */ 12079 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12080 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12081 _flag_k = FK_CMP; 12082 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010DD7; /* 0x2F010DD2: je 0x2f010dd7 */ 12083 L_2F010DD4: 12084 MEM32(edi + 0x4) = ecx; /* 0x2F010DD4: mov dword ptr [edi + 4], ecx */ 12085 L_2F010DD7: 12086 edi = MEM32(ecx + 0x4); /* 0x2F010DD7: mov edi, dword ptr [ecx + 4] */ 12087 MEM32(edx + 0x4) = edi; /* 0x2F010DDA: mov dword ptr [edx + 4], edi */ 12088 edi = MEM32(esi + 0x4); /* 0x2F010DDD: mov edi, dword ptr [esi + 4] */ 12089 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010DE0: cmp ecx, dword ptr [edi + 4] */ 12090 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 12091 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12092 _flag_k = FK_CMP; 12093 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010DF0; /* 0x2F010DE3: jne 0x2f010df0 */ 12094 L_2F010DE5: 12095 MEM32(edi + 0x4) = edx; /* 0x2F010DE5: mov dword ptr [edi + 4], edx */ 12096 MEM32(edx + 0x8) = ecx; /* 0x2F010DE8: mov dword ptr [edx + 8], ecx */ 12097 goto L_2F010EA2; /* 0x2F010DEB: jmp 0x2f010ea2 */ 12098 L_2F010DF0: 12099 edi = MEM32(ecx + 0x4); /* 0x2F010DF0: mov edi, dword ptr [ecx + 4] */ 12100 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2F010DF3: cmp ecx, dword ptr [edi + 8] */ 12101 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 12102 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12103 _flag_k = FK_CMP; 12104 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E03; /* 0x2F010DF6: jne 0x2f010e03 */ 12105 L_2F010DF8: 12106 MEM32(edi + 0x8) = edx; /* 0x2F010DF8: mov dword ptr [edi + 8], edx */ 12107 MEM32(edx + 0x8) = ecx; /* 0x2F010DFB: mov dword ptr [edx + 8], ecx */ 12108 goto L_2F010EA2; /* 0x2F010DFE: jmp 0x2f010ea2 */ 12109 L_2F010E03: 12110 MEM32(edi) = edx; /* 0x2F010E03: mov dword ptr [edi], edx */ 12111 MEM32(edx + 0x8) = ecx; /* 0x2F010E05: mov dword ptr [edx + 8], ecx */ 12112 goto L_2F010EA2; /* 0x2F010E08: jmp 0x2f010ea2 */ 12113 L_2F010E0D: 12114 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2F010E0D: cmp byte ptr [edx + 0x24], 0 */ 12115 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 12116 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12117 _flag_k = FK_NARROW(FK_CMP, 24); 12118 RECOMP_BACKEDGE(); 12119 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010D55; /* 0x2F010E11: je 0x2f010d55 */ 12120 L_2F010E17: 12121 /* cmp eax, MEM32(ecx) */ /* 0x2F010E17: cmp eax, dword ptr [ecx] */ 12122 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 12123 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12124 _flag_k = FK_CMP; 12125 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E57; /* 0x2F010E19: jne 0x2f010e57 */ 12126 L_2F010E1B: 12127 eax = ecx; /* 0x2F010E1B: mov eax, ecx */ 12128 ecx = MEM32(eax); /* 0x2F010E1D: mov ecx, dword ptr [eax] */ 12129 edx = MEM32(ecx + 0x8); /* 0x2F010E1F: mov edx, dword ptr [ecx + 8] */ 12130 MEM32(eax) = edx; /* 0x2F010E22: mov dword ptr [eax], edx */ 12131 edx = MEM32(ecx + 0x8); /* 0x2F010E24: mov edx, dword ptr [ecx + 8] */ 12132 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010E27: cmp edx, dword ptr [esi + 8] */ 12133 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12134 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12135 _flag_k = FK_CMP; 12136 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010E2F; /* 0x2F010E2A: je 0x2f010e2f */ 12137 L_2F010E2C: 12138 MEM32(edx + 0x4) = eax; /* 0x2F010E2C: mov dword ptr [edx + 4], eax */ 12139 L_2F010E2F: 12140 edx = MEM32(eax + 0x4); /* 0x2F010E2F: mov edx, dword ptr [eax + 4] */ 12141 MEM32(ecx + 0x4) = edx; /* 0x2F010E32: mov dword ptr [ecx + 4], edx */ 12142 edx = MEM32(esi + 0x4); /* 0x2F010E35: mov edx, dword ptr [esi + 4] */ 12143 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010E38: cmp eax, dword ptr [edx + 4] */ 12144 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 12145 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12146 _flag_k = FK_CMP; 12147 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E42; /* 0x2F010E3B: jne 0x2f010e42 */ 12148 L_2F010E3D: 12149 MEM32(edx + 0x4) = ecx; /* 0x2F010E3D: mov dword ptr [edx + 4], ecx */ 12150 goto L_2F010E51; /* 0x2F010E40: jmp 0x2f010e51 */ 12151 L_2F010E42: 12152 edx = MEM32(eax + 0x4); /* 0x2F010E42: mov edx, dword ptr [eax + 4] */ 12153 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2F010E45: cmp eax, dword ptr [edx + 8] */ 12154 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 12155 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12156 _flag_k = FK_CMP; 12157 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E4F; /* 0x2F010E48: jne 0x2f010e4f */ 12158 L_2F010E4A: 12159 MEM32(edx + 0x8) = ecx; /* 0x2F010E4A: mov dword ptr [edx + 8], ecx */ 12160 goto L_2F010E51; /* 0x2F010E4D: jmp 0x2f010e51 */ 12161 L_2F010E4F: 12162 MEM32(edx) = ecx; /* 0x2F010E4F: mov dword ptr [edx], ecx */ 12163 L_2F010E51: 12164 MEM32(ecx + 0x8) = eax; /* 0x2F010E51: mov dword ptr [ecx + 8], eax */ 12165 MEM32(eax + 0x4) = ecx; /* 0x2F010E54: mov dword ptr [eax + 4], ecx */ 12166 L_2F010E57: 12167 ecx = MEM32(eax + 0x4); /* 0x2F010E57: mov ecx, dword ptr [eax + 4] */ 12168 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010E5A: mov byte ptr [ecx + 0x24], bl */ 12169 edx = MEM32(eax + 0x4); /* 0x2F010E5D: mov edx, dword ptr [eax + 4] */ 12170 ecx = MEM32(edx + 0x4); /* 0x2F010E60: mov ecx, dword ptr [edx + 4] */ 12171 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010E63: mov byte ptr [ecx + 0x24], 0 */ 12172 edx = MEM32(eax + 0x4); /* 0x2F010E67: mov edx, dword ptr [eax + 4] */ 12173 ecx = MEM32(edx + 0x4); /* 0x2F010E6A: mov ecx, dword ptr [edx + 4] */ 12174 edx = MEM32(ecx + 0x8); /* 0x2F010E6D: mov edx, dword ptr [ecx + 8] */ 12175 edi = MEM32(edx); /* 0x2F010E70: mov edi, dword ptr [edx] */ 12176 MEM32(ecx + 0x8) = edi; /* 0x2F010E72: mov dword ptr [ecx + 8], edi */ 12177 edi = MEM32(edx); /* 0x2F010E75: mov edi, dword ptr [edx] */ 12178 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010E77: cmp edi, dword ptr [esi + 8] */ 12179 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12180 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12181 _flag_k = FK_CMP; 12182 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010E7F; /* 0x2F010E7A: je 0x2f010e7f */ 12183 L_2F010E7C: 12184 MEM32(edi + 0x4) = ecx; /* 0x2F010E7C: mov dword ptr [edi + 4], ecx */ 12185 L_2F010E7F: 12186 edi = MEM32(ecx + 0x4); /* 0x2F010E7F: mov edi, dword ptr [ecx + 4] */ 12187 MEM32(edx + 0x4) = edi; /* 0x2F010E82: mov dword ptr [edx + 4], edi */ 12188 edi = MEM32(esi + 0x4); /* 0x2F010E85: mov edi, dword ptr [esi + 4] */ 12189 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010E88: cmp ecx, dword ptr [edi + 4] */ 12190 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 12191 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12192 _flag_k = FK_CMP; 12193 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E92; /* 0x2F010E8B: jne 0x2f010e92 */ 12194 L_2F010E8D: 12195 MEM32(edi + 0x4) = edx; /* 0x2F010E8D: mov dword ptr [edi + 4], edx */ 12196 goto L_2F010EA0; /* 0x2F010E90: jmp 0x2f010ea0 */ 12197 L_2F010E92: 12198 edi = MEM32(ecx + 0x4); /* 0x2F010E92: mov edi, dword ptr [ecx + 4] */ 12199 /* cmp ecx, MEM32(edi) */ /* 0x2F010E95: cmp ecx, dword ptr [edi] */ 12200 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 12201 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12202 _flag_k = FK_CMP; 12203 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E9D; /* 0x2F010E97: jne 0x2f010e9d */ 12204 L_2F010E99: 12205 MEM32(edi) = edx; /* 0x2F010E99: mov dword ptr [edi], edx */ 12206 goto L_2F010EA0; /* 0x2F010E9B: jmp 0x2f010ea0 */ 12207 L_2F010E9D: 12208 MEM32(edi + 0x8) = edx; /* 0x2F010E9D: mov dword ptr [edi + 8], edx */ 12209 L_2F010EA0: 12210 MEM32(edx) = ecx; /* 0x2F010EA0: mov dword ptr [edx], ecx */ 12211 L_2F010EA2: 12212 MEM32(ecx + 0x4) = edx; /* 0x2F010EA2: mov dword ptr [ecx + 4], edx */ 12213 L_2F010EA5: 12214 ecx = MEM32(esi + 0x4); /* 0x2F010EA5: mov ecx, dword ptr [esi + 4] */ 12215 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F010EA8: cmp eax, dword ptr [ecx + 4] */ 12216 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 12217 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12218 _flag_k = FK_CMP; 12219 RECOMP_BACKEDGE(); 12220 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010D31; /* 0x2F010EAB: jne 0x2f010d31 */ 12221 L_2F010EB1: 12222 edx = MEM32(esi + 0x4); /* 0x2F010EB1: mov edx, dword ptr [esi + 4] */ 12223 ecx = MEM32(ebp + (-0x4)); /* 0x2F010EB4: mov ecx, dword ptr [ebp - 4] */ 12224 edi = POP32_VAL(esp); /* 0x2F010EB7: pop edi */ 12225 esi = POP32_VAL(esp); /* 0x2F010EB8: pop esi */ 12226 eax = MEM32(edx + 0x4); /* 0x2F010EB9: mov eax, dword ptr [edx + 4] */ 12227 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010EBC: mov byte ptr [eax + 0x24], bl */ 12228 eax = MEM32(ebp + 0x8); /* 0x2F010EBF: mov eax, dword ptr [ebp + 8] */ 12229 ebx = POP32_VAL(esp); /* 0x2F010EC2: pop ebx */ 12230 MEM32(eax) = ecx; /* 0x2F010EC3: mov dword ptr [eax], ecx */ 12231 esp = ebp; /* 0x2F010EC5: mov esp, ebp */ 12232 ebp = POP32_VAL(esp); /* 0x2F010EC7: pop ebp */ 12233 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2F010EC8: ret 0x10 */ 12234 RECOMP_REGS_OUT(); 12235 } 12236 12237 void sub_2F010DAA(void) { 12238 int _fpu_cmp = 0; 12239 uint32_t _cf = 0; 12240 int _df = 1; 12241 uint32_t _flag_k = FK_NONE; 12242 uint32_t _flag_a = 0, _flag_b = 0; 12243 uint32_t _itail_tgt = 0; 12244 RECOMP_REGS_LOCALS 12245 RECOMP_ENTER(0x2F010DAAu); 12246 12247 goto L_2F010DAA; 12248 L_2F010D31: 12249 ecx = MEM32(eax + 0x4); /* 0x2F010D31: mov ecx, dword ptr [eax + 4] */ 12250 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2F010D34: mov dl, byte ptr [ecx + 0x24] */ 12251 /* test LO8(edx), LO8(edx) */ /* 0x2F010D37: test dl, dl */ 12252 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 12253 _cf = 0; 12254 _flag_k = FK_NARROW(FK_TEST, 24); 12255 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F010EB1; /* 0x2F010D39: jne 0x2f010eb1 */ 12256 L_2F010D3F: 12257 edi = MEM32(ecx + 0x4); /* 0x2F010D3F: mov edi, dword ptr [ecx + 4] */ 12258 edx = MEM32(edi); /* 0x2F010D42: mov edx, dword ptr [edi] */ 12259 /* cmp ecx, edx */ /* 0x2F010D44: cmp ecx, edx */ 12260 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 12261 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12262 _flag_k = FK_CMP; 12263 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E0D; /* 0x2F010D46: jne 0x2f010e0d */ 12264 L_2F010D4C: 12265 edx = MEM32(edi + 0x8); /* 0x2F010D4C: mov edx, dword ptr [edi + 8] */ 12266 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2F010D4F: cmp byte ptr [edx + 0x24], 0 */ 12267 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 12268 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12269 _flag_k = FK_NARROW(FK_CMP, 24); 12270 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010D70; /* 0x2F010D53: jne 0x2f010d70 */ 12271 L_2F010D55: 12272 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010D55: mov byte ptr [ecx + 0x24], bl */ 12273 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010D58: mov byte ptr [edx + 0x24], bl */ 12274 ecx = MEM32(eax + 0x4); /* 0x2F010D5B: mov ecx, dword ptr [eax + 4] */ 12275 edx = MEM32(ecx + 0x4); /* 0x2F010D5E: mov edx, dword ptr [ecx + 4] */ 12276 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2F010D61: mov byte ptr [edx + 0x24], 0 */ 12277 eax = MEM32(eax + 0x4); /* 0x2F010D65: mov eax, dword ptr [eax + 4] */ 12278 eax = MEM32(eax + 0x4); /* 0x2F010D68: mov eax, dword ptr [eax + 4] */ 12279 goto L_2F010EA5; /* 0x2F010D6B: jmp 0x2f010ea5 */ 12280 L_2F010D70: 12281 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2F010D70: cmp eax, dword ptr [ecx + 8] */ 12282 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 12283 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12284 _flag_k = FK_CMP; 12285 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010DAF; /* 0x2F010D73: jne 0x2f010daf */ 12286 L_2F010D75: 12287 eax = ecx; /* 0x2F010D75: mov eax, ecx */ 12288 ecx = MEM32(eax + 0x8); /* 0x2F010D77: mov ecx, dword ptr [eax + 8] */ 12289 edx = MEM32(ecx); /* 0x2F010D7A: mov edx, dword ptr [ecx] */ 12290 MEM32(eax + 0x8) = edx; /* 0x2F010D7C: mov dword ptr [eax + 8], edx */ 12291 edx = MEM32(ecx); /* 0x2F010D7F: mov edx, dword ptr [ecx] */ 12292 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010D81: cmp edx, dword ptr [esi + 8] */ 12293 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12294 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12295 _flag_k = FK_CMP; 12296 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010D89; /* 0x2F010D84: je 0x2f010d89 */ 12297 L_2F010D86: 12298 MEM32(edx + 0x4) = eax; /* 0x2F010D86: mov dword ptr [edx + 4], eax */ 12299 L_2F010D89: 12300 edx = MEM32(eax + 0x4); /* 0x2F010D89: mov edx, dword ptr [eax + 4] */ 12301 MEM32(ecx + 0x4) = edx; /* 0x2F010D8C: mov dword ptr [ecx + 4], edx */ 12302 edx = MEM32(esi + 0x4); /* 0x2F010D8F: mov edx, dword ptr [esi + 4] */ 12303 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010D92: cmp eax, dword ptr [edx + 4] */ 12304 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 12305 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12306 _flag_k = FK_CMP; 12307 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010D9C; /* 0x2F010D95: jne 0x2f010d9c */ 12308 L_2F010D97: 12309 MEM32(edx + 0x4) = ecx; /* 0x2F010D97: mov dword ptr [edx + 4], ecx */ 12310 goto L_2F010DAA; /* 0x2F010D9A: jmp 0x2f010daa */ 12311 L_2F010D9C: 12312 edx = MEM32(eax + 0x4); /* 0x2F010D9C: mov edx, dword ptr [eax + 4] */ 12313 /* cmp eax, MEM32(edx) */ /* 0x2F010D9F: cmp eax, dword ptr [edx] */ 12314 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 12315 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12316 _flag_k = FK_CMP; 12317 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010DA7; /* 0x2F010DA1: jne 0x2f010da7 */ 12318 L_2F010DA3: 12319 MEM32(edx) = ecx; /* 0x2F010DA3: mov dword ptr [edx], ecx */ 12320 goto L_2F010DAA; /* 0x2F010DA5: jmp 0x2f010daa */ 12321 L_2F010DA7: 12322 MEM32(edx + 0x8) = ecx; /* 0x2F010DA7: mov dword ptr [edx + 8], ecx */ 12323 L_2F010DAA: 12324 MEM32(ecx) = eax; /* 0x2F010DAA: mov dword ptr [ecx], eax */ 12325 MEM32(eax + 0x4) = ecx; /* 0x2F010DAC: mov dword ptr [eax + 4], ecx */ 12326 L_2F010DAF: 12327 ecx = MEM32(eax + 0x4); /* 0x2F010DAF: mov ecx, dword ptr [eax + 4] */ 12328 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010DB2: mov byte ptr [ecx + 0x24], bl */ 12329 edx = MEM32(eax + 0x4); /* 0x2F010DB5: mov edx, dword ptr [eax + 4] */ 12330 ecx = MEM32(edx + 0x4); /* 0x2F010DB8: mov ecx, dword ptr [edx + 4] */ 12331 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010DBB: mov byte ptr [ecx + 0x24], 0 */ 12332 edx = MEM32(eax + 0x4); /* 0x2F010DBF: mov edx, dword ptr [eax + 4] */ 12333 ecx = MEM32(edx + 0x4); /* 0x2F010DC2: mov ecx, dword ptr [edx + 4] */ 12334 edx = MEM32(ecx); /* 0x2F010DC5: mov edx, dword ptr [ecx] */ 12335 edi = MEM32(edx + 0x8); /* 0x2F010DC7: mov edi, dword ptr [edx + 8] */ 12336 MEM32(ecx) = edi; /* 0x2F010DCA: mov dword ptr [ecx], edi */ 12337 edi = MEM32(edx + 0x8); /* 0x2F010DCC: mov edi, dword ptr [edx + 8] */ 12338 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010DCF: cmp edi, dword ptr [esi + 8] */ 12339 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12340 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12341 _flag_k = FK_CMP; 12342 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010DD7; /* 0x2F010DD2: je 0x2f010dd7 */ 12343 L_2F010DD4: 12344 MEM32(edi + 0x4) = ecx; /* 0x2F010DD4: mov dword ptr [edi + 4], ecx */ 12345 L_2F010DD7: 12346 edi = MEM32(ecx + 0x4); /* 0x2F010DD7: mov edi, dword ptr [ecx + 4] */ 12347 MEM32(edx + 0x4) = edi; /* 0x2F010DDA: mov dword ptr [edx + 4], edi */ 12348 edi = MEM32(esi + 0x4); /* 0x2F010DDD: mov edi, dword ptr [esi + 4] */ 12349 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010DE0: cmp ecx, dword ptr [edi + 4] */ 12350 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 12351 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12352 _flag_k = FK_CMP; 12353 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010DF0; /* 0x2F010DE3: jne 0x2f010df0 */ 12354 L_2F010DE5: 12355 MEM32(edi + 0x4) = edx; /* 0x2F010DE5: mov dword ptr [edi + 4], edx */ 12356 MEM32(edx + 0x8) = ecx; /* 0x2F010DE8: mov dword ptr [edx + 8], ecx */ 12357 goto L_2F010EA2; /* 0x2F010DEB: jmp 0x2f010ea2 */ 12358 L_2F010DF0: 12359 edi = MEM32(ecx + 0x4); /* 0x2F010DF0: mov edi, dword ptr [ecx + 4] */ 12360 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2F010DF3: cmp ecx, dword ptr [edi + 8] */ 12361 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 12362 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12363 _flag_k = FK_CMP; 12364 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E03; /* 0x2F010DF6: jne 0x2f010e03 */ 12365 L_2F010DF8: 12366 MEM32(edi + 0x8) = edx; /* 0x2F010DF8: mov dword ptr [edi + 8], edx */ 12367 MEM32(edx + 0x8) = ecx; /* 0x2F010DFB: mov dword ptr [edx + 8], ecx */ 12368 goto L_2F010EA2; /* 0x2F010DFE: jmp 0x2f010ea2 */ 12369 L_2F010E03: 12370 MEM32(edi) = edx; /* 0x2F010E03: mov dword ptr [edi], edx */ 12371 MEM32(edx + 0x8) = ecx; /* 0x2F010E05: mov dword ptr [edx + 8], ecx */ 12372 goto L_2F010EA2; /* 0x2F010E08: jmp 0x2f010ea2 */ 12373 L_2F010E0D: 12374 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2F010E0D: cmp byte ptr [edx + 0x24], 0 */ 12375 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 12376 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12377 _flag_k = FK_NARROW(FK_CMP, 24); 12378 RECOMP_BACKEDGE(); 12379 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010D55; /* 0x2F010E11: je 0x2f010d55 */ 12380 L_2F010E17: 12381 /* cmp eax, MEM32(ecx) */ /* 0x2F010E17: cmp eax, dword ptr [ecx] */ 12382 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 12383 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12384 _flag_k = FK_CMP; 12385 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E57; /* 0x2F010E19: jne 0x2f010e57 */ 12386 L_2F010E1B: 12387 eax = ecx; /* 0x2F010E1B: mov eax, ecx */ 12388 ecx = MEM32(eax); /* 0x2F010E1D: mov ecx, dword ptr [eax] */ 12389 edx = MEM32(ecx + 0x8); /* 0x2F010E1F: mov edx, dword ptr [ecx + 8] */ 12390 MEM32(eax) = edx; /* 0x2F010E22: mov dword ptr [eax], edx */ 12391 edx = MEM32(ecx + 0x8); /* 0x2F010E24: mov edx, dword ptr [ecx + 8] */ 12392 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010E27: cmp edx, dword ptr [esi + 8] */ 12393 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12394 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12395 _flag_k = FK_CMP; 12396 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010E2F; /* 0x2F010E2A: je 0x2f010e2f */ 12397 L_2F010E2C: 12398 MEM32(edx + 0x4) = eax; /* 0x2F010E2C: mov dword ptr [edx + 4], eax */ 12399 L_2F010E2F: 12400 edx = MEM32(eax + 0x4); /* 0x2F010E2F: mov edx, dword ptr [eax + 4] */ 12401 MEM32(ecx + 0x4) = edx; /* 0x2F010E32: mov dword ptr [ecx + 4], edx */ 12402 edx = MEM32(esi + 0x4); /* 0x2F010E35: mov edx, dword ptr [esi + 4] */ 12403 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010E38: cmp eax, dword ptr [edx + 4] */ 12404 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 12405 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12406 _flag_k = FK_CMP; 12407 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E42; /* 0x2F010E3B: jne 0x2f010e42 */ 12408 L_2F010E3D: 12409 MEM32(edx + 0x4) = ecx; /* 0x2F010E3D: mov dword ptr [edx + 4], ecx */ 12410 goto L_2F010E51; /* 0x2F010E40: jmp 0x2f010e51 */ 12411 L_2F010E42: 12412 edx = MEM32(eax + 0x4); /* 0x2F010E42: mov edx, dword ptr [eax + 4] */ 12413 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2F010E45: cmp eax, dword ptr [edx + 8] */ 12414 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 12415 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12416 _flag_k = FK_CMP; 12417 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E4F; /* 0x2F010E48: jne 0x2f010e4f */ 12418 L_2F010E4A: 12419 MEM32(edx + 0x8) = ecx; /* 0x2F010E4A: mov dword ptr [edx + 8], ecx */ 12420 goto L_2F010E51; /* 0x2F010E4D: jmp 0x2f010e51 */ 12421 L_2F010E4F: 12422 MEM32(edx) = ecx; /* 0x2F010E4F: mov dword ptr [edx], ecx */ 12423 L_2F010E51: 12424 MEM32(ecx + 0x8) = eax; /* 0x2F010E51: mov dword ptr [ecx + 8], eax */ 12425 MEM32(eax + 0x4) = ecx; /* 0x2F010E54: mov dword ptr [eax + 4], ecx */ 12426 L_2F010E57: 12427 ecx = MEM32(eax + 0x4); /* 0x2F010E57: mov ecx, dword ptr [eax + 4] */ 12428 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010E5A: mov byte ptr [ecx + 0x24], bl */ 12429 edx = MEM32(eax + 0x4); /* 0x2F010E5D: mov edx, dword ptr [eax + 4] */ 12430 ecx = MEM32(edx + 0x4); /* 0x2F010E60: mov ecx, dword ptr [edx + 4] */ 12431 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010E63: mov byte ptr [ecx + 0x24], 0 */ 12432 edx = MEM32(eax + 0x4); /* 0x2F010E67: mov edx, dword ptr [eax + 4] */ 12433 ecx = MEM32(edx + 0x4); /* 0x2F010E6A: mov ecx, dword ptr [edx + 4] */ 12434 edx = MEM32(ecx + 0x8); /* 0x2F010E6D: mov edx, dword ptr [ecx + 8] */ 12435 edi = MEM32(edx); /* 0x2F010E70: mov edi, dword ptr [edx] */ 12436 MEM32(ecx + 0x8) = edi; /* 0x2F010E72: mov dword ptr [ecx + 8], edi */ 12437 edi = MEM32(edx); /* 0x2F010E75: mov edi, dword ptr [edx] */ 12438 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010E77: cmp edi, dword ptr [esi + 8] */ 12439 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12440 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12441 _flag_k = FK_CMP; 12442 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010E7F; /* 0x2F010E7A: je 0x2f010e7f */ 12443 L_2F010E7C: 12444 MEM32(edi + 0x4) = ecx; /* 0x2F010E7C: mov dword ptr [edi + 4], ecx */ 12445 L_2F010E7F: 12446 edi = MEM32(ecx + 0x4); /* 0x2F010E7F: mov edi, dword ptr [ecx + 4] */ 12447 MEM32(edx + 0x4) = edi; /* 0x2F010E82: mov dword ptr [edx + 4], edi */ 12448 edi = MEM32(esi + 0x4); /* 0x2F010E85: mov edi, dword ptr [esi + 4] */ 12449 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010E88: cmp ecx, dword ptr [edi + 4] */ 12450 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 12451 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12452 _flag_k = FK_CMP; 12453 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E92; /* 0x2F010E8B: jne 0x2f010e92 */ 12454 L_2F010E8D: 12455 MEM32(edi + 0x4) = edx; /* 0x2F010E8D: mov dword ptr [edi + 4], edx */ 12456 goto L_2F010EA0; /* 0x2F010E90: jmp 0x2f010ea0 */ 12457 L_2F010E92: 12458 edi = MEM32(ecx + 0x4); /* 0x2F010E92: mov edi, dword ptr [ecx + 4] */ 12459 /* cmp ecx, MEM32(edi) */ /* 0x2F010E95: cmp ecx, dword ptr [edi] */ 12460 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 12461 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12462 _flag_k = FK_CMP; 12463 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E9D; /* 0x2F010E97: jne 0x2f010e9d */ 12464 L_2F010E99: 12465 MEM32(edi) = edx; /* 0x2F010E99: mov dword ptr [edi], edx */ 12466 goto L_2F010EA0; /* 0x2F010E9B: jmp 0x2f010ea0 */ 12467 L_2F010E9D: 12468 MEM32(edi + 0x8) = edx; /* 0x2F010E9D: mov dword ptr [edi + 8], edx */ 12469 L_2F010EA0: 12470 MEM32(edx) = ecx; /* 0x2F010EA0: mov dword ptr [edx], ecx */ 12471 L_2F010EA2: 12472 MEM32(ecx + 0x4) = edx; /* 0x2F010EA2: mov dword ptr [ecx + 4], edx */ 12473 L_2F010EA5: 12474 ecx = MEM32(esi + 0x4); /* 0x2F010EA5: mov ecx, dword ptr [esi + 4] */ 12475 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F010EA8: cmp eax, dword ptr [ecx + 4] */ 12476 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 12477 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12478 _flag_k = FK_CMP; 12479 RECOMP_BACKEDGE(); 12480 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010D31; /* 0x2F010EAB: jne 0x2f010d31 */ 12481 L_2F010EB1: 12482 edx = MEM32(esi + 0x4); /* 0x2F010EB1: mov edx, dword ptr [esi + 4] */ 12483 ecx = MEM32(ebp + (-0x4)); /* 0x2F010EB4: mov ecx, dword ptr [ebp - 4] */ 12484 edi = POP32_VAL(esp); /* 0x2F010EB7: pop edi */ 12485 esi = POP32_VAL(esp); /* 0x2F010EB8: pop esi */ 12486 eax = MEM32(edx + 0x4); /* 0x2F010EB9: mov eax, dword ptr [edx + 4] */ 12487 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010EBC: mov byte ptr [eax + 0x24], bl */ 12488 eax = MEM32(ebp + 0x8); /* 0x2F010EBF: mov eax, dword ptr [ebp + 8] */ 12489 ebx = POP32_VAL(esp); /* 0x2F010EC2: pop ebx */ 12490 MEM32(eax) = ecx; /* 0x2F010EC3: mov dword ptr [eax], ecx */ 12491 esp = ebp; /* 0x2F010EC5: mov esp, ebp */ 12492 ebp = POP32_VAL(esp); /* 0x2F010EC7: pop ebp */ 12493 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2F010EC8: ret 0x10 */ 12494 RECOMP_REGS_OUT(); 12495 } 12496 12497 void sub_2F010DAF(void) { 12498 int _fpu_cmp = 0; 12499 uint32_t _cf = 0; 12500 int _df = 1; 12501 uint32_t _flag_k = FK_NONE; 12502 uint32_t _flag_a = 0, _flag_b = 0; 12503 uint32_t _itail_tgt = 0; 12504 RECOMP_REGS_LOCALS 12505 RECOMP_ENTER(0x2F010DAFu); 12506 12507 goto L_2F010DAF; 12508 L_2F010D31: 12509 ecx = MEM32(eax + 0x4); /* 0x2F010D31: mov ecx, dword ptr [eax + 4] */ 12510 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2F010D34: mov dl, byte ptr [ecx + 0x24] */ 12511 /* test LO8(edx), LO8(edx) */ /* 0x2F010D37: test dl, dl */ 12512 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 12513 _cf = 0; 12514 _flag_k = FK_NARROW(FK_TEST, 24); 12515 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F010EB1; /* 0x2F010D39: jne 0x2f010eb1 */ 12516 L_2F010D3F: 12517 edi = MEM32(ecx + 0x4); /* 0x2F010D3F: mov edi, dword ptr [ecx + 4] */ 12518 edx = MEM32(edi); /* 0x2F010D42: mov edx, dword ptr [edi] */ 12519 /* cmp ecx, edx */ /* 0x2F010D44: cmp ecx, edx */ 12520 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 12521 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12522 _flag_k = FK_CMP; 12523 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E0D; /* 0x2F010D46: jne 0x2f010e0d */ 12524 L_2F010D4C: 12525 edx = MEM32(edi + 0x8); /* 0x2F010D4C: mov edx, dword ptr [edi + 8] */ 12526 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2F010D4F: cmp byte ptr [edx + 0x24], 0 */ 12527 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 12528 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12529 _flag_k = FK_NARROW(FK_CMP, 24); 12530 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010D70; /* 0x2F010D53: jne 0x2f010d70 */ 12531 L_2F010D55: 12532 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010D55: mov byte ptr [ecx + 0x24], bl */ 12533 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010D58: mov byte ptr [edx + 0x24], bl */ 12534 ecx = MEM32(eax + 0x4); /* 0x2F010D5B: mov ecx, dword ptr [eax + 4] */ 12535 edx = MEM32(ecx + 0x4); /* 0x2F010D5E: mov edx, dword ptr [ecx + 4] */ 12536 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2F010D61: mov byte ptr [edx + 0x24], 0 */ 12537 eax = MEM32(eax + 0x4); /* 0x2F010D65: mov eax, dword ptr [eax + 4] */ 12538 eax = MEM32(eax + 0x4); /* 0x2F010D68: mov eax, dword ptr [eax + 4] */ 12539 goto L_2F010EA5; /* 0x2F010D6B: jmp 0x2f010ea5 */ 12540 L_2F010D70: 12541 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2F010D70: cmp eax, dword ptr [ecx + 8] */ 12542 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 12543 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12544 _flag_k = FK_CMP; 12545 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010DAF; /* 0x2F010D73: jne 0x2f010daf */ 12546 L_2F010D75: 12547 eax = ecx; /* 0x2F010D75: mov eax, ecx */ 12548 ecx = MEM32(eax + 0x8); /* 0x2F010D77: mov ecx, dword ptr [eax + 8] */ 12549 edx = MEM32(ecx); /* 0x2F010D7A: mov edx, dword ptr [ecx] */ 12550 MEM32(eax + 0x8) = edx; /* 0x2F010D7C: mov dword ptr [eax + 8], edx */ 12551 edx = MEM32(ecx); /* 0x2F010D7F: mov edx, dword ptr [ecx] */ 12552 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010D81: cmp edx, dword ptr [esi + 8] */ 12553 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12554 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12555 _flag_k = FK_CMP; 12556 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010D89; /* 0x2F010D84: je 0x2f010d89 */ 12557 L_2F010D86: 12558 MEM32(edx + 0x4) = eax; /* 0x2F010D86: mov dword ptr [edx + 4], eax */ 12559 L_2F010D89: 12560 edx = MEM32(eax + 0x4); /* 0x2F010D89: mov edx, dword ptr [eax + 4] */ 12561 MEM32(ecx + 0x4) = edx; /* 0x2F010D8C: mov dword ptr [ecx + 4], edx */ 12562 edx = MEM32(esi + 0x4); /* 0x2F010D8F: mov edx, dword ptr [esi + 4] */ 12563 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010D92: cmp eax, dword ptr [edx + 4] */ 12564 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 12565 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12566 _flag_k = FK_CMP; 12567 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010D9C; /* 0x2F010D95: jne 0x2f010d9c */ 12568 L_2F010D97: 12569 MEM32(edx + 0x4) = ecx; /* 0x2F010D97: mov dword ptr [edx + 4], ecx */ 12570 goto L_2F010DAA; /* 0x2F010D9A: jmp 0x2f010daa */ 12571 L_2F010D9C: 12572 edx = MEM32(eax + 0x4); /* 0x2F010D9C: mov edx, dword ptr [eax + 4] */ 12573 /* cmp eax, MEM32(edx) */ /* 0x2F010D9F: cmp eax, dword ptr [edx] */ 12574 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 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_2F010DA7; /* 0x2F010DA1: jne 0x2f010da7 */ 12578 L_2F010DA3: 12579 MEM32(edx) = ecx; /* 0x2F010DA3: mov dword ptr [edx], ecx */ 12580 goto L_2F010DAA; /* 0x2F010DA5: jmp 0x2f010daa */ 12581 L_2F010DA7: 12582 MEM32(edx + 0x8) = ecx; /* 0x2F010DA7: mov dword ptr [edx + 8], ecx */ 12583 L_2F010DAA: 12584 MEM32(ecx) = eax; /* 0x2F010DAA: mov dword ptr [ecx], eax */ 12585 MEM32(eax + 0x4) = ecx; /* 0x2F010DAC: mov dword ptr [eax + 4], ecx */ 12586 L_2F010DAF: 12587 ecx = MEM32(eax + 0x4); /* 0x2F010DAF: mov ecx, dword ptr [eax + 4] */ 12588 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010DB2: mov byte ptr [ecx + 0x24], bl */ 12589 edx = MEM32(eax + 0x4); /* 0x2F010DB5: mov edx, dword ptr [eax + 4] */ 12590 ecx = MEM32(edx + 0x4); /* 0x2F010DB8: mov ecx, dword ptr [edx + 4] */ 12591 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010DBB: mov byte ptr [ecx + 0x24], 0 */ 12592 edx = MEM32(eax + 0x4); /* 0x2F010DBF: mov edx, dword ptr [eax + 4] */ 12593 ecx = MEM32(edx + 0x4); /* 0x2F010DC2: mov ecx, dword ptr [edx + 4] */ 12594 edx = MEM32(ecx); /* 0x2F010DC5: mov edx, dword ptr [ecx] */ 12595 edi = MEM32(edx + 0x8); /* 0x2F010DC7: mov edi, dword ptr [edx + 8] */ 12596 MEM32(ecx) = edi; /* 0x2F010DCA: mov dword ptr [ecx], edi */ 12597 edi = MEM32(edx + 0x8); /* 0x2F010DCC: mov edi, dword ptr [edx + 8] */ 12598 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010DCF: cmp edi, dword ptr [esi + 8] */ 12599 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12600 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12601 _flag_k = FK_CMP; 12602 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010DD7; /* 0x2F010DD2: je 0x2f010dd7 */ 12603 L_2F010DD4: 12604 MEM32(edi + 0x4) = ecx; /* 0x2F010DD4: mov dword ptr [edi + 4], ecx */ 12605 L_2F010DD7: 12606 edi = MEM32(ecx + 0x4); /* 0x2F010DD7: mov edi, dword ptr [ecx + 4] */ 12607 MEM32(edx + 0x4) = edi; /* 0x2F010DDA: mov dword ptr [edx + 4], edi */ 12608 edi = MEM32(esi + 0x4); /* 0x2F010DDD: mov edi, dword ptr [esi + 4] */ 12609 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010DE0: cmp ecx, dword ptr [edi + 4] */ 12610 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 12611 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12612 _flag_k = FK_CMP; 12613 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010DF0; /* 0x2F010DE3: jne 0x2f010df0 */ 12614 L_2F010DE5: 12615 MEM32(edi + 0x4) = edx; /* 0x2F010DE5: mov dword ptr [edi + 4], edx */ 12616 MEM32(edx + 0x8) = ecx; /* 0x2F010DE8: mov dword ptr [edx + 8], ecx */ 12617 goto L_2F010EA2; /* 0x2F010DEB: jmp 0x2f010ea2 */ 12618 L_2F010DF0: 12619 edi = MEM32(ecx + 0x4); /* 0x2F010DF0: mov edi, dword ptr [ecx + 4] */ 12620 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2F010DF3: cmp ecx, dword ptr [edi + 8] */ 12621 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 12622 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12623 _flag_k = FK_CMP; 12624 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E03; /* 0x2F010DF6: jne 0x2f010e03 */ 12625 L_2F010DF8: 12626 MEM32(edi + 0x8) = edx; /* 0x2F010DF8: mov dword ptr [edi + 8], edx */ 12627 MEM32(edx + 0x8) = ecx; /* 0x2F010DFB: mov dword ptr [edx + 8], ecx */ 12628 goto L_2F010EA2; /* 0x2F010DFE: jmp 0x2f010ea2 */ 12629 L_2F010E03: 12630 MEM32(edi) = edx; /* 0x2F010E03: mov dword ptr [edi], edx */ 12631 MEM32(edx + 0x8) = ecx; /* 0x2F010E05: mov dword ptr [edx + 8], ecx */ 12632 goto L_2F010EA2; /* 0x2F010E08: jmp 0x2f010ea2 */ 12633 L_2F010E0D: 12634 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2F010E0D: cmp byte ptr [edx + 0x24], 0 */ 12635 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 12636 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12637 _flag_k = FK_NARROW(FK_CMP, 24); 12638 RECOMP_BACKEDGE(); 12639 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010D55; /* 0x2F010E11: je 0x2f010d55 */ 12640 L_2F010E17: 12641 /* cmp eax, MEM32(ecx) */ /* 0x2F010E17: cmp eax, dword ptr [ecx] */ 12642 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 12643 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12644 _flag_k = FK_CMP; 12645 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E57; /* 0x2F010E19: jne 0x2f010e57 */ 12646 L_2F010E1B: 12647 eax = ecx; /* 0x2F010E1B: mov eax, ecx */ 12648 ecx = MEM32(eax); /* 0x2F010E1D: mov ecx, dword ptr [eax] */ 12649 edx = MEM32(ecx + 0x8); /* 0x2F010E1F: mov edx, dword ptr [ecx + 8] */ 12650 MEM32(eax) = edx; /* 0x2F010E22: mov dword ptr [eax], edx */ 12651 edx = MEM32(ecx + 0x8); /* 0x2F010E24: mov edx, dword ptr [ecx + 8] */ 12652 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010E27: cmp edx, dword ptr [esi + 8] */ 12653 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12654 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12655 _flag_k = FK_CMP; 12656 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010E2F; /* 0x2F010E2A: je 0x2f010e2f */ 12657 L_2F010E2C: 12658 MEM32(edx + 0x4) = eax; /* 0x2F010E2C: mov dword ptr [edx + 4], eax */ 12659 L_2F010E2F: 12660 edx = MEM32(eax + 0x4); /* 0x2F010E2F: mov edx, dword ptr [eax + 4] */ 12661 MEM32(ecx + 0x4) = edx; /* 0x2F010E32: mov dword ptr [ecx + 4], edx */ 12662 edx = MEM32(esi + 0x4); /* 0x2F010E35: mov edx, dword ptr [esi + 4] */ 12663 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010E38: cmp eax, dword ptr [edx + 4] */ 12664 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 12665 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12666 _flag_k = FK_CMP; 12667 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E42; /* 0x2F010E3B: jne 0x2f010e42 */ 12668 L_2F010E3D: 12669 MEM32(edx + 0x4) = ecx; /* 0x2F010E3D: mov dword ptr [edx + 4], ecx */ 12670 goto L_2F010E51; /* 0x2F010E40: jmp 0x2f010e51 */ 12671 L_2F010E42: 12672 edx = MEM32(eax + 0x4); /* 0x2F010E42: mov edx, dword ptr [eax + 4] */ 12673 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2F010E45: cmp eax, dword ptr [edx + 8] */ 12674 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 12675 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12676 _flag_k = FK_CMP; 12677 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E4F; /* 0x2F010E48: jne 0x2f010e4f */ 12678 L_2F010E4A: 12679 MEM32(edx + 0x8) = ecx; /* 0x2F010E4A: mov dword ptr [edx + 8], ecx */ 12680 goto L_2F010E51; /* 0x2F010E4D: jmp 0x2f010e51 */ 12681 L_2F010E4F: 12682 MEM32(edx) = ecx; /* 0x2F010E4F: mov dword ptr [edx], ecx */ 12683 L_2F010E51: 12684 MEM32(ecx + 0x8) = eax; /* 0x2F010E51: mov dword ptr [ecx + 8], eax */ 12685 MEM32(eax + 0x4) = ecx; /* 0x2F010E54: mov dword ptr [eax + 4], ecx */ 12686 L_2F010E57: 12687 ecx = MEM32(eax + 0x4); /* 0x2F010E57: mov ecx, dword ptr [eax + 4] */ 12688 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010E5A: mov byte ptr [ecx + 0x24], bl */ 12689 edx = MEM32(eax + 0x4); /* 0x2F010E5D: mov edx, dword ptr [eax + 4] */ 12690 ecx = MEM32(edx + 0x4); /* 0x2F010E60: mov ecx, dword ptr [edx + 4] */ 12691 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010E63: mov byte ptr [ecx + 0x24], 0 */ 12692 edx = MEM32(eax + 0x4); /* 0x2F010E67: mov edx, dword ptr [eax + 4] */ 12693 ecx = MEM32(edx + 0x4); /* 0x2F010E6A: mov ecx, dword ptr [edx + 4] */ 12694 edx = MEM32(ecx + 0x8); /* 0x2F010E6D: mov edx, dword ptr [ecx + 8] */ 12695 edi = MEM32(edx); /* 0x2F010E70: mov edi, dword ptr [edx] */ 12696 MEM32(ecx + 0x8) = edi; /* 0x2F010E72: mov dword ptr [ecx + 8], edi */ 12697 edi = MEM32(edx); /* 0x2F010E75: mov edi, dword ptr [edx] */ 12698 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010E77: cmp edi, dword ptr [esi + 8] */ 12699 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12700 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12701 _flag_k = FK_CMP; 12702 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010E7F; /* 0x2F010E7A: je 0x2f010e7f */ 12703 L_2F010E7C: 12704 MEM32(edi + 0x4) = ecx; /* 0x2F010E7C: mov dword ptr [edi + 4], ecx */ 12705 L_2F010E7F: 12706 edi = MEM32(ecx + 0x4); /* 0x2F010E7F: mov edi, dword ptr [ecx + 4] */ 12707 MEM32(edx + 0x4) = edi; /* 0x2F010E82: mov dword ptr [edx + 4], edi */ 12708 edi = MEM32(esi + 0x4); /* 0x2F010E85: mov edi, dword ptr [esi + 4] */ 12709 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010E88: cmp ecx, dword ptr [edi + 4] */ 12710 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 12711 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12712 _flag_k = FK_CMP; 12713 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E92; /* 0x2F010E8B: jne 0x2f010e92 */ 12714 L_2F010E8D: 12715 MEM32(edi + 0x4) = edx; /* 0x2F010E8D: mov dword ptr [edi + 4], edx */ 12716 goto L_2F010EA0; /* 0x2F010E90: jmp 0x2f010ea0 */ 12717 L_2F010E92: 12718 edi = MEM32(ecx + 0x4); /* 0x2F010E92: mov edi, dword ptr [ecx + 4] */ 12719 /* cmp ecx, MEM32(edi) */ /* 0x2F010E95: cmp ecx, dword ptr [edi] */ 12720 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 12721 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12722 _flag_k = FK_CMP; 12723 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E9D; /* 0x2F010E97: jne 0x2f010e9d */ 12724 L_2F010E99: 12725 MEM32(edi) = edx; /* 0x2F010E99: mov dword ptr [edi], edx */ 12726 goto L_2F010EA0; /* 0x2F010E9B: jmp 0x2f010ea0 */ 12727 L_2F010E9D: 12728 MEM32(edi + 0x8) = edx; /* 0x2F010E9D: mov dword ptr [edi + 8], edx */ 12729 L_2F010EA0: 12730 MEM32(edx) = ecx; /* 0x2F010EA0: mov dword ptr [edx], ecx */ 12731 L_2F010EA2: 12732 MEM32(ecx + 0x4) = edx; /* 0x2F010EA2: mov dword ptr [ecx + 4], edx */ 12733 L_2F010EA5: 12734 ecx = MEM32(esi + 0x4); /* 0x2F010EA5: mov ecx, dword ptr [esi + 4] */ 12735 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F010EA8: cmp eax, dword ptr [ecx + 4] */ 12736 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 12737 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12738 _flag_k = FK_CMP; 12739 RECOMP_BACKEDGE(); 12740 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010D31; /* 0x2F010EAB: jne 0x2f010d31 */ 12741 L_2F010EB1: 12742 edx = MEM32(esi + 0x4); /* 0x2F010EB1: mov edx, dword ptr [esi + 4] */ 12743 ecx = MEM32(ebp + (-0x4)); /* 0x2F010EB4: mov ecx, dword ptr [ebp - 4] */ 12744 edi = POP32_VAL(esp); /* 0x2F010EB7: pop edi */ 12745 esi = POP32_VAL(esp); /* 0x2F010EB8: pop esi */ 12746 eax = MEM32(edx + 0x4); /* 0x2F010EB9: mov eax, dword ptr [edx + 4] */ 12747 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010EBC: mov byte ptr [eax + 0x24], bl */ 12748 eax = MEM32(ebp + 0x8); /* 0x2F010EBF: mov eax, dword ptr [ebp + 8] */ 12749 ebx = POP32_VAL(esp); /* 0x2F010EC2: pop ebx */ 12750 MEM32(eax) = ecx; /* 0x2F010EC3: mov dword ptr [eax], ecx */ 12751 esp = ebp; /* 0x2F010EC5: mov esp, ebp */ 12752 ebp = POP32_VAL(esp); /* 0x2F010EC7: pop ebp */ 12753 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2F010EC8: ret 0x10 */ 12754 RECOMP_REGS_OUT(); 12755 } 12756 12757 void sub_2F010E0D(void) { 12758 int _fpu_cmp = 0; 12759 uint32_t _cf = 0; 12760 int _df = 1; 12761 uint32_t _flag_k = FK_NONE; 12762 uint32_t _flag_a = 0, _flag_b = 0; 12763 uint32_t _itail_tgt = 0; 12764 RECOMP_REGS_LOCALS 12765 RECOMP_ENTER(0x2F010E0Du); 12766 12767 goto L_2F010E0D; 12768 L_2F010D31: 12769 ecx = MEM32(eax + 0x4); /* 0x2F010D31: mov ecx, dword ptr [eax + 4] */ 12770 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2F010D34: mov dl, byte ptr [ecx + 0x24] */ 12771 /* test LO8(edx), LO8(edx) */ /* 0x2F010D37: test dl, dl */ 12772 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 12773 _cf = 0; 12774 _flag_k = FK_NARROW(FK_TEST, 24); 12775 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F010EB1; /* 0x2F010D39: jne 0x2f010eb1 */ 12776 L_2F010D3F: 12777 edi = MEM32(ecx + 0x4); /* 0x2F010D3F: mov edi, dword ptr [ecx + 4] */ 12778 edx = MEM32(edi); /* 0x2F010D42: mov edx, dword ptr [edi] */ 12779 /* cmp ecx, edx */ /* 0x2F010D44: cmp ecx, edx */ 12780 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 12781 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12782 _flag_k = FK_CMP; 12783 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E0D; /* 0x2F010D46: jne 0x2f010e0d */ 12784 L_2F010D4C: 12785 edx = MEM32(edi + 0x8); /* 0x2F010D4C: mov edx, dword ptr [edi + 8] */ 12786 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2F010D4F: cmp byte ptr [edx + 0x24], 0 */ 12787 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 12788 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12789 _flag_k = FK_NARROW(FK_CMP, 24); 12790 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010D70; /* 0x2F010D53: jne 0x2f010d70 */ 12791 L_2F010D55: 12792 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010D55: mov byte ptr [ecx + 0x24], bl */ 12793 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010D58: mov byte ptr [edx + 0x24], bl */ 12794 ecx = MEM32(eax + 0x4); /* 0x2F010D5B: mov ecx, dword ptr [eax + 4] */ 12795 edx = MEM32(ecx + 0x4); /* 0x2F010D5E: mov edx, dword ptr [ecx + 4] */ 12796 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2F010D61: mov byte ptr [edx + 0x24], 0 */ 12797 eax = MEM32(eax + 0x4); /* 0x2F010D65: mov eax, dword ptr [eax + 4] */ 12798 eax = MEM32(eax + 0x4); /* 0x2F010D68: mov eax, dword ptr [eax + 4] */ 12799 goto L_2F010EA5; /* 0x2F010D6B: jmp 0x2f010ea5 */ 12800 L_2F010D70: 12801 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2F010D70: cmp eax, dword ptr [ecx + 8] */ 12802 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 12803 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12804 _flag_k = FK_CMP; 12805 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010DAF; /* 0x2F010D73: jne 0x2f010daf */ 12806 L_2F010D75: 12807 eax = ecx; /* 0x2F010D75: mov eax, ecx */ 12808 ecx = MEM32(eax + 0x8); /* 0x2F010D77: mov ecx, dword ptr [eax + 8] */ 12809 edx = MEM32(ecx); /* 0x2F010D7A: mov edx, dword ptr [ecx] */ 12810 MEM32(eax + 0x8) = edx; /* 0x2F010D7C: mov dword ptr [eax + 8], edx */ 12811 edx = MEM32(ecx); /* 0x2F010D7F: mov edx, dword ptr [ecx] */ 12812 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010D81: cmp edx, dword ptr [esi + 8] */ 12813 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12814 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12815 _flag_k = FK_CMP; 12816 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010D89; /* 0x2F010D84: je 0x2f010d89 */ 12817 L_2F010D86: 12818 MEM32(edx + 0x4) = eax; /* 0x2F010D86: mov dword ptr [edx + 4], eax */ 12819 L_2F010D89: 12820 edx = MEM32(eax + 0x4); /* 0x2F010D89: mov edx, dword ptr [eax + 4] */ 12821 MEM32(ecx + 0x4) = edx; /* 0x2F010D8C: mov dword ptr [ecx + 4], edx */ 12822 edx = MEM32(esi + 0x4); /* 0x2F010D8F: mov edx, dword ptr [esi + 4] */ 12823 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010D92: cmp eax, dword ptr [edx + 4] */ 12824 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 12825 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12826 _flag_k = FK_CMP; 12827 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010D9C; /* 0x2F010D95: jne 0x2f010d9c */ 12828 L_2F010D97: 12829 MEM32(edx + 0x4) = ecx; /* 0x2F010D97: mov dword ptr [edx + 4], ecx */ 12830 goto L_2F010DAA; /* 0x2F010D9A: jmp 0x2f010daa */ 12831 L_2F010D9C: 12832 edx = MEM32(eax + 0x4); /* 0x2F010D9C: mov edx, dword ptr [eax + 4] */ 12833 /* cmp eax, MEM32(edx) */ /* 0x2F010D9F: cmp eax, dword ptr [edx] */ 12834 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 12835 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12836 _flag_k = FK_CMP; 12837 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010DA7; /* 0x2F010DA1: jne 0x2f010da7 */ 12838 L_2F010DA3: 12839 MEM32(edx) = ecx; /* 0x2F010DA3: mov dword ptr [edx], ecx */ 12840 goto L_2F010DAA; /* 0x2F010DA5: jmp 0x2f010daa */ 12841 L_2F010DA7: 12842 MEM32(edx + 0x8) = ecx; /* 0x2F010DA7: mov dword ptr [edx + 8], ecx */ 12843 L_2F010DAA: 12844 MEM32(ecx) = eax; /* 0x2F010DAA: mov dword ptr [ecx], eax */ 12845 MEM32(eax + 0x4) = ecx; /* 0x2F010DAC: mov dword ptr [eax + 4], ecx */ 12846 L_2F010DAF: 12847 ecx = MEM32(eax + 0x4); /* 0x2F010DAF: mov ecx, dword ptr [eax + 4] */ 12848 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010DB2: mov byte ptr [ecx + 0x24], bl */ 12849 edx = MEM32(eax + 0x4); /* 0x2F010DB5: mov edx, dword ptr [eax + 4] */ 12850 ecx = MEM32(edx + 0x4); /* 0x2F010DB8: mov ecx, dword ptr [edx + 4] */ 12851 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010DBB: mov byte ptr [ecx + 0x24], 0 */ 12852 edx = MEM32(eax + 0x4); /* 0x2F010DBF: mov edx, dword ptr [eax + 4] */ 12853 ecx = MEM32(edx + 0x4); /* 0x2F010DC2: mov ecx, dword ptr [edx + 4] */ 12854 edx = MEM32(ecx); /* 0x2F010DC5: mov edx, dword ptr [ecx] */ 12855 edi = MEM32(edx + 0x8); /* 0x2F010DC7: mov edi, dword ptr [edx + 8] */ 12856 MEM32(ecx) = edi; /* 0x2F010DCA: mov dword ptr [ecx], edi */ 12857 edi = MEM32(edx + 0x8); /* 0x2F010DCC: mov edi, dword ptr [edx + 8] */ 12858 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010DCF: cmp edi, dword ptr [esi + 8] */ 12859 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12860 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12861 _flag_k = FK_CMP; 12862 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010DD7; /* 0x2F010DD2: je 0x2f010dd7 */ 12863 L_2F010DD4: 12864 MEM32(edi + 0x4) = ecx; /* 0x2F010DD4: mov dword ptr [edi + 4], ecx */ 12865 L_2F010DD7: 12866 edi = MEM32(ecx + 0x4); /* 0x2F010DD7: mov edi, dword ptr [ecx + 4] */ 12867 MEM32(edx + 0x4) = edi; /* 0x2F010DDA: mov dword ptr [edx + 4], edi */ 12868 edi = MEM32(esi + 0x4); /* 0x2F010DDD: mov edi, dword ptr [esi + 4] */ 12869 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010DE0: cmp ecx, dword ptr [edi + 4] */ 12870 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 12871 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12872 _flag_k = FK_CMP; 12873 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010DF0; /* 0x2F010DE3: jne 0x2f010df0 */ 12874 L_2F010DE5: 12875 MEM32(edi + 0x4) = edx; /* 0x2F010DE5: mov dword ptr [edi + 4], edx */ 12876 MEM32(edx + 0x8) = ecx; /* 0x2F010DE8: mov dword ptr [edx + 8], ecx */ 12877 goto L_2F010EA2; /* 0x2F010DEB: jmp 0x2f010ea2 */ 12878 L_2F010DF0: 12879 edi = MEM32(ecx + 0x4); /* 0x2F010DF0: mov edi, dword ptr [ecx + 4] */ 12880 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2F010DF3: cmp ecx, dword ptr [edi + 8] */ 12881 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 12882 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12883 _flag_k = FK_CMP; 12884 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E03; /* 0x2F010DF6: jne 0x2f010e03 */ 12885 L_2F010DF8: 12886 MEM32(edi + 0x8) = edx; /* 0x2F010DF8: mov dword ptr [edi + 8], edx */ 12887 MEM32(edx + 0x8) = ecx; /* 0x2F010DFB: mov dword ptr [edx + 8], ecx */ 12888 goto L_2F010EA2; /* 0x2F010DFE: jmp 0x2f010ea2 */ 12889 L_2F010E03: 12890 MEM32(edi) = edx; /* 0x2F010E03: mov dword ptr [edi], edx */ 12891 MEM32(edx + 0x8) = ecx; /* 0x2F010E05: mov dword ptr [edx + 8], ecx */ 12892 goto L_2F010EA2; /* 0x2F010E08: jmp 0x2f010ea2 */ 12893 L_2F010E0D: 12894 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2F010E0D: cmp byte ptr [edx + 0x24], 0 */ 12895 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 12896 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12897 _flag_k = FK_NARROW(FK_CMP, 24); 12898 RECOMP_BACKEDGE(); 12899 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010D55; /* 0x2F010E11: je 0x2f010d55 */ 12900 L_2F010E17: 12901 /* cmp eax, MEM32(ecx) */ /* 0x2F010E17: cmp eax, dword ptr [ecx] */ 12902 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 12903 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12904 _flag_k = FK_CMP; 12905 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E57; /* 0x2F010E19: jne 0x2f010e57 */ 12906 L_2F010E1B: 12907 eax = ecx; /* 0x2F010E1B: mov eax, ecx */ 12908 ecx = MEM32(eax); /* 0x2F010E1D: mov ecx, dword ptr [eax] */ 12909 edx = MEM32(ecx + 0x8); /* 0x2F010E1F: mov edx, dword ptr [ecx + 8] */ 12910 MEM32(eax) = edx; /* 0x2F010E22: mov dword ptr [eax], edx */ 12911 edx = MEM32(ecx + 0x8); /* 0x2F010E24: mov edx, dword ptr [ecx + 8] */ 12912 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010E27: cmp edx, dword ptr [esi + 8] */ 12913 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12914 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12915 _flag_k = FK_CMP; 12916 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010E2F; /* 0x2F010E2A: je 0x2f010e2f */ 12917 L_2F010E2C: 12918 MEM32(edx + 0x4) = eax; /* 0x2F010E2C: mov dword ptr [edx + 4], eax */ 12919 L_2F010E2F: 12920 edx = MEM32(eax + 0x4); /* 0x2F010E2F: mov edx, dword ptr [eax + 4] */ 12921 MEM32(ecx + 0x4) = edx; /* 0x2F010E32: mov dword ptr [ecx + 4], edx */ 12922 edx = MEM32(esi + 0x4); /* 0x2F010E35: mov edx, dword ptr [esi + 4] */ 12923 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010E38: cmp eax, dword ptr [edx + 4] */ 12924 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 12925 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12926 _flag_k = FK_CMP; 12927 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E42; /* 0x2F010E3B: jne 0x2f010e42 */ 12928 L_2F010E3D: 12929 MEM32(edx + 0x4) = ecx; /* 0x2F010E3D: mov dword ptr [edx + 4], ecx */ 12930 goto L_2F010E51; /* 0x2F010E40: jmp 0x2f010e51 */ 12931 L_2F010E42: 12932 edx = MEM32(eax + 0x4); /* 0x2F010E42: mov edx, dword ptr [eax + 4] */ 12933 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2F010E45: cmp eax, dword ptr [edx + 8] */ 12934 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 12935 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12936 _flag_k = FK_CMP; 12937 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E4F; /* 0x2F010E48: jne 0x2f010e4f */ 12938 L_2F010E4A: 12939 MEM32(edx + 0x8) = ecx; /* 0x2F010E4A: mov dword ptr [edx + 8], ecx */ 12940 goto L_2F010E51; /* 0x2F010E4D: jmp 0x2f010e51 */ 12941 L_2F010E4F: 12942 MEM32(edx) = ecx; /* 0x2F010E4F: mov dword ptr [edx], ecx */ 12943 L_2F010E51: 12944 MEM32(ecx + 0x8) = eax; /* 0x2F010E51: mov dword ptr [ecx + 8], eax */ 12945 MEM32(eax + 0x4) = ecx; /* 0x2F010E54: mov dword ptr [eax + 4], ecx */ 12946 L_2F010E57: 12947 ecx = MEM32(eax + 0x4); /* 0x2F010E57: mov ecx, dword ptr [eax + 4] */ 12948 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010E5A: mov byte ptr [ecx + 0x24], bl */ 12949 edx = MEM32(eax + 0x4); /* 0x2F010E5D: mov edx, dword ptr [eax + 4] */ 12950 ecx = MEM32(edx + 0x4); /* 0x2F010E60: mov ecx, dword ptr [edx + 4] */ 12951 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010E63: mov byte ptr [ecx + 0x24], 0 */ 12952 edx = MEM32(eax + 0x4); /* 0x2F010E67: mov edx, dword ptr [eax + 4] */ 12953 ecx = MEM32(edx + 0x4); /* 0x2F010E6A: mov ecx, dword ptr [edx + 4] */ 12954 edx = MEM32(ecx + 0x8); /* 0x2F010E6D: mov edx, dword ptr [ecx + 8] */ 12955 edi = MEM32(edx); /* 0x2F010E70: mov edi, dword ptr [edx] */ 12956 MEM32(ecx + 0x8) = edi; /* 0x2F010E72: mov dword ptr [ecx + 8], edi */ 12957 edi = MEM32(edx); /* 0x2F010E75: mov edi, dword ptr [edx] */ 12958 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010E77: cmp edi, dword ptr [esi + 8] */ 12959 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12960 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12961 _flag_k = FK_CMP; 12962 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010E7F; /* 0x2F010E7A: je 0x2f010e7f */ 12963 L_2F010E7C: 12964 MEM32(edi + 0x4) = ecx; /* 0x2F010E7C: mov dword ptr [edi + 4], ecx */ 12965 L_2F010E7F: 12966 edi = MEM32(ecx + 0x4); /* 0x2F010E7F: mov edi, dword ptr [ecx + 4] */ 12967 MEM32(edx + 0x4) = edi; /* 0x2F010E82: mov dword ptr [edx + 4], edi */ 12968 edi = MEM32(esi + 0x4); /* 0x2F010E85: mov edi, dword ptr [esi + 4] */ 12969 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010E88: cmp ecx, dword ptr [edi + 4] */ 12970 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 12971 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12972 _flag_k = FK_CMP; 12973 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E92; /* 0x2F010E8B: jne 0x2f010e92 */ 12974 L_2F010E8D: 12975 MEM32(edi + 0x4) = edx; /* 0x2F010E8D: mov dword ptr [edi + 4], edx */ 12976 goto L_2F010EA0; /* 0x2F010E90: jmp 0x2f010ea0 */ 12977 L_2F010E92: 12978 edi = MEM32(ecx + 0x4); /* 0x2F010E92: mov edi, dword ptr [ecx + 4] */ 12979 /* cmp ecx, MEM32(edi) */ /* 0x2F010E95: cmp ecx, dword ptr [edi] */ 12980 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 12981 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12982 _flag_k = FK_CMP; 12983 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E9D; /* 0x2F010E97: jne 0x2f010e9d */ 12984 L_2F010E99: 12985 MEM32(edi) = edx; /* 0x2F010E99: mov dword ptr [edi], edx */ 12986 goto L_2F010EA0; /* 0x2F010E9B: jmp 0x2f010ea0 */ 12987 L_2F010E9D: 12988 MEM32(edi + 0x8) = edx; /* 0x2F010E9D: mov dword ptr [edi + 8], edx */ 12989 L_2F010EA0: 12990 MEM32(edx) = ecx; /* 0x2F010EA0: mov dword ptr [edx], ecx */ 12991 L_2F010EA2: 12992 MEM32(ecx + 0x4) = edx; /* 0x2F010EA2: mov dword ptr [ecx + 4], edx */ 12993 L_2F010EA5: 12994 ecx = MEM32(esi + 0x4); /* 0x2F010EA5: mov ecx, dword ptr [esi + 4] */ 12995 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F010EA8: cmp eax, dword ptr [ecx + 4] */ 12996 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 12997 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12998 _flag_k = FK_CMP; 12999 RECOMP_BACKEDGE(); 13000 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010D31; /* 0x2F010EAB: jne 0x2f010d31 */ 13001 L_2F010EB1: 13002 edx = MEM32(esi + 0x4); /* 0x2F010EB1: mov edx, dword ptr [esi + 4] */ 13003 ecx = MEM32(ebp + (-0x4)); /* 0x2F010EB4: mov ecx, dword ptr [ebp - 4] */ 13004 edi = POP32_VAL(esp); /* 0x2F010EB7: pop edi */ 13005 esi = POP32_VAL(esp); /* 0x2F010EB8: pop esi */ 13006 eax = MEM32(edx + 0x4); /* 0x2F010EB9: mov eax, dword ptr [edx + 4] */ 13007 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010EBC: mov byte ptr [eax + 0x24], bl */ 13008 eax = MEM32(ebp + 0x8); /* 0x2F010EBF: mov eax, dword ptr [ebp + 8] */ 13009 ebx = POP32_VAL(esp); /* 0x2F010EC2: pop ebx */ 13010 MEM32(eax) = ecx; /* 0x2F010EC3: mov dword ptr [eax], ecx */ 13011 esp = ebp; /* 0x2F010EC5: mov esp, ebp */ 13012 ebp = POP32_VAL(esp); /* 0x2F010EC7: pop ebp */ 13013 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2F010EC8: ret 0x10 */ 13014 RECOMP_REGS_OUT(); 13015 } 13016 13017 void sub_2F010E51(void) { 13018 int _fpu_cmp = 0; 13019 uint32_t _cf = 0; 13020 int _df = 1; 13021 uint32_t _flag_k = FK_NONE; 13022 uint32_t _flag_a = 0, _flag_b = 0; 13023 uint32_t _itail_tgt = 0; 13024 RECOMP_REGS_LOCALS 13025 RECOMP_ENTER(0x2F010E51u); 13026 13027 goto L_2F010E51; 13028 L_2F010D31: 13029 ecx = MEM32(eax + 0x4); /* 0x2F010D31: mov ecx, dword ptr [eax + 4] */ 13030 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2F010D34: mov dl, byte ptr [ecx + 0x24] */ 13031 /* test LO8(edx), LO8(edx) */ /* 0x2F010D37: test dl, dl */ 13032 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 13033 _cf = 0; 13034 _flag_k = FK_NARROW(FK_TEST, 24); 13035 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F010EB1; /* 0x2F010D39: jne 0x2f010eb1 */ 13036 L_2F010D3F: 13037 edi = MEM32(ecx + 0x4); /* 0x2F010D3F: mov edi, dword ptr [ecx + 4] */ 13038 edx = MEM32(edi); /* 0x2F010D42: mov edx, dword ptr [edi] */ 13039 /* cmp ecx, edx */ /* 0x2F010D44: cmp ecx, edx */ 13040 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 13041 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13042 _flag_k = FK_CMP; 13043 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E0D; /* 0x2F010D46: jne 0x2f010e0d */ 13044 L_2F010D4C: 13045 edx = MEM32(edi + 0x8); /* 0x2F010D4C: mov edx, dword ptr [edi + 8] */ 13046 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2F010D4F: cmp byte ptr [edx + 0x24], 0 */ 13047 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 13048 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13049 _flag_k = FK_NARROW(FK_CMP, 24); 13050 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010D70; /* 0x2F010D53: jne 0x2f010d70 */ 13051 L_2F010D55: 13052 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010D55: mov byte ptr [ecx + 0x24], bl */ 13053 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010D58: mov byte ptr [edx + 0x24], bl */ 13054 ecx = MEM32(eax + 0x4); /* 0x2F010D5B: mov ecx, dword ptr [eax + 4] */ 13055 edx = MEM32(ecx + 0x4); /* 0x2F010D5E: mov edx, dword ptr [ecx + 4] */ 13056 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2F010D61: mov byte ptr [edx + 0x24], 0 */ 13057 eax = MEM32(eax + 0x4); /* 0x2F010D65: mov eax, dword ptr [eax + 4] */ 13058 eax = MEM32(eax + 0x4); /* 0x2F010D68: mov eax, dword ptr [eax + 4] */ 13059 goto L_2F010EA5; /* 0x2F010D6B: jmp 0x2f010ea5 */ 13060 L_2F010D70: 13061 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2F010D70: cmp eax, dword ptr [ecx + 8] */ 13062 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 13063 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13064 _flag_k = FK_CMP; 13065 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010DAF; /* 0x2F010D73: jne 0x2f010daf */ 13066 L_2F010D75: 13067 eax = ecx; /* 0x2F010D75: mov eax, ecx */ 13068 ecx = MEM32(eax + 0x8); /* 0x2F010D77: mov ecx, dword ptr [eax + 8] */ 13069 edx = MEM32(ecx); /* 0x2F010D7A: mov edx, dword ptr [ecx] */ 13070 MEM32(eax + 0x8) = edx; /* 0x2F010D7C: mov dword ptr [eax + 8], edx */ 13071 edx = MEM32(ecx); /* 0x2F010D7F: mov edx, dword ptr [ecx] */ 13072 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010D81: cmp edx, dword ptr [esi + 8] */ 13073 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13074 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13075 _flag_k = FK_CMP; 13076 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010D89; /* 0x2F010D84: je 0x2f010d89 */ 13077 L_2F010D86: 13078 MEM32(edx + 0x4) = eax; /* 0x2F010D86: mov dword ptr [edx + 4], eax */ 13079 L_2F010D89: 13080 edx = MEM32(eax + 0x4); /* 0x2F010D89: mov edx, dword ptr [eax + 4] */ 13081 MEM32(ecx + 0x4) = edx; /* 0x2F010D8C: mov dword ptr [ecx + 4], edx */ 13082 edx = MEM32(esi + 0x4); /* 0x2F010D8F: mov edx, dword ptr [esi + 4] */ 13083 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010D92: cmp eax, dword ptr [edx + 4] */ 13084 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 13085 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13086 _flag_k = FK_CMP; 13087 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010D9C; /* 0x2F010D95: jne 0x2f010d9c */ 13088 L_2F010D97: 13089 MEM32(edx + 0x4) = ecx; /* 0x2F010D97: mov dword ptr [edx + 4], ecx */ 13090 goto L_2F010DAA; /* 0x2F010D9A: jmp 0x2f010daa */ 13091 L_2F010D9C: 13092 edx = MEM32(eax + 0x4); /* 0x2F010D9C: mov edx, dword ptr [eax + 4] */ 13093 /* cmp eax, MEM32(edx) */ /* 0x2F010D9F: cmp eax, dword ptr [edx] */ 13094 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 13095 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13096 _flag_k = FK_CMP; 13097 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010DA7; /* 0x2F010DA1: jne 0x2f010da7 */ 13098 L_2F010DA3: 13099 MEM32(edx) = ecx; /* 0x2F010DA3: mov dword ptr [edx], ecx */ 13100 goto L_2F010DAA; /* 0x2F010DA5: jmp 0x2f010daa */ 13101 L_2F010DA7: 13102 MEM32(edx + 0x8) = ecx; /* 0x2F010DA7: mov dword ptr [edx + 8], ecx */ 13103 L_2F010DAA: 13104 MEM32(ecx) = eax; /* 0x2F010DAA: mov dword ptr [ecx], eax */ 13105 MEM32(eax + 0x4) = ecx; /* 0x2F010DAC: mov dword ptr [eax + 4], ecx */ 13106 L_2F010DAF: 13107 ecx = MEM32(eax + 0x4); /* 0x2F010DAF: mov ecx, dword ptr [eax + 4] */ 13108 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010DB2: mov byte ptr [ecx + 0x24], bl */ 13109 edx = MEM32(eax + 0x4); /* 0x2F010DB5: mov edx, dword ptr [eax + 4] */ 13110 ecx = MEM32(edx + 0x4); /* 0x2F010DB8: mov ecx, dword ptr [edx + 4] */ 13111 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010DBB: mov byte ptr [ecx + 0x24], 0 */ 13112 edx = MEM32(eax + 0x4); /* 0x2F010DBF: mov edx, dword ptr [eax + 4] */ 13113 ecx = MEM32(edx + 0x4); /* 0x2F010DC2: mov ecx, dword ptr [edx + 4] */ 13114 edx = MEM32(ecx); /* 0x2F010DC5: mov edx, dword ptr [ecx] */ 13115 edi = MEM32(edx + 0x8); /* 0x2F010DC7: mov edi, dword ptr [edx + 8] */ 13116 MEM32(ecx) = edi; /* 0x2F010DCA: mov dword ptr [ecx], edi */ 13117 edi = MEM32(edx + 0x8); /* 0x2F010DCC: mov edi, dword ptr [edx + 8] */ 13118 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010DCF: cmp edi, dword ptr [esi + 8] */ 13119 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13120 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13121 _flag_k = FK_CMP; 13122 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010DD7; /* 0x2F010DD2: je 0x2f010dd7 */ 13123 L_2F010DD4: 13124 MEM32(edi + 0x4) = ecx; /* 0x2F010DD4: mov dword ptr [edi + 4], ecx */ 13125 L_2F010DD7: 13126 edi = MEM32(ecx + 0x4); /* 0x2F010DD7: mov edi, dword ptr [ecx + 4] */ 13127 MEM32(edx + 0x4) = edi; /* 0x2F010DDA: mov dword ptr [edx + 4], edi */ 13128 edi = MEM32(esi + 0x4); /* 0x2F010DDD: mov edi, dword ptr [esi + 4] */ 13129 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010DE0: cmp ecx, dword ptr [edi + 4] */ 13130 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 13131 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13132 _flag_k = FK_CMP; 13133 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010DF0; /* 0x2F010DE3: jne 0x2f010df0 */ 13134 L_2F010DE5: 13135 MEM32(edi + 0x4) = edx; /* 0x2F010DE5: mov dword ptr [edi + 4], edx */ 13136 MEM32(edx + 0x8) = ecx; /* 0x2F010DE8: mov dword ptr [edx + 8], ecx */ 13137 goto L_2F010EA2; /* 0x2F010DEB: jmp 0x2f010ea2 */ 13138 L_2F010DF0: 13139 edi = MEM32(ecx + 0x4); /* 0x2F010DF0: mov edi, dword ptr [ecx + 4] */ 13140 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2F010DF3: cmp ecx, dword ptr [edi + 8] */ 13141 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13142 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13143 _flag_k = FK_CMP; 13144 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E03; /* 0x2F010DF6: jne 0x2f010e03 */ 13145 L_2F010DF8: 13146 MEM32(edi + 0x8) = edx; /* 0x2F010DF8: mov dword ptr [edi + 8], edx */ 13147 MEM32(edx + 0x8) = ecx; /* 0x2F010DFB: mov dword ptr [edx + 8], ecx */ 13148 goto L_2F010EA2; /* 0x2F010DFE: jmp 0x2f010ea2 */ 13149 L_2F010E03: 13150 MEM32(edi) = edx; /* 0x2F010E03: mov dword ptr [edi], edx */ 13151 MEM32(edx + 0x8) = ecx; /* 0x2F010E05: mov dword ptr [edx + 8], ecx */ 13152 goto L_2F010EA2; /* 0x2F010E08: jmp 0x2f010ea2 */ 13153 L_2F010E0D: 13154 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2F010E0D: cmp byte ptr [edx + 0x24], 0 */ 13155 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 13156 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13157 _flag_k = FK_NARROW(FK_CMP, 24); 13158 RECOMP_BACKEDGE(); 13159 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010D55; /* 0x2F010E11: je 0x2f010d55 */ 13160 L_2F010E17: 13161 /* cmp eax, MEM32(ecx) */ /* 0x2F010E17: cmp eax, dword ptr [ecx] */ 13162 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 13163 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13164 _flag_k = FK_CMP; 13165 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E57; /* 0x2F010E19: jne 0x2f010e57 */ 13166 L_2F010E1B: 13167 eax = ecx; /* 0x2F010E1B: mov eax, ecx */ 13168 ecx = MEM32(eax); /* 0x2F010E1D: mov ecx, dword ptr [eax] */ 13169 edx = MEM32(ecx + 0x8); /* 0x2F010E1F: mov edx, dword ptr [ecx + 8] */ 13170 MEM32(eax) = edx; /* 0x2F010E22: mov dword ptr [eax], edx */ 13171 edx = MEM32(ecx + 0x8); /* 0x2F010E24: mov edx, dword ptr [ecx + 8] */ 13172 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010E27: cmp edx, dword ptr [esi + 8] */ 13173 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13174 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13175 _flag_k = FK_CMP; 13176 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010E2F; /* 0x2F010E2A: je 0x2f010e2f */ 13177 L_2F010E2C: 13178 MEM32(edx + 0x4) = eax; /* 0x2F010E2C: mov dword ptr [edx + 4], eax */ 13179 L_2F010E2F: 13180 edx = MEM32(eax + 0x4); /* 0x2F010E2F: mov edx, dword ptr [eax + 4] */ 13181 MEM32(ecx + 0x4) = edx; /* 0x2F010E32: mov dword ptr [ecx + 4], edx */ 13182 edx = MEM32(esi + 0x4); /* 0x2F010E35: mov edx, dword ptr [esi + 4] */ 13183 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010E38: cmp eax, dword ptr [edx + 4] */ 13184 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 13185 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13186 _flag_k = FK_CMP; 13187 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E42; /* 0x2F010E3B: jne 0x2f010e42 */ 13188 L_2F010E3D: 13189 MEM32(edx + 0x4) = ecx; /* 0x2F010E3D: mov dword ptr [edx + 4], ecx */ 13190 goto L_2F010E51; /* 0x2F010E40: jmp 0x2f010e51 */ 13191 L_2F010E42: 13192 edx = MEM32(eax + 0x4); /* 0x2F010E42: mov edx, dword ptr [eax + 4] */ 13193 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2F010E45: cmp eax, dword ptr [edx + 8] */ 13194 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 13195 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13196 _flag_k = FK_CMP; 13197 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E4F; /* 0x2F010E48: jne 0x2f010e4f */ 13198 L_2F010E4A: 13199 MEM32(edx + 0x8) = ecx; /* 0x2F010E4A: mov dword ptr [edx + 8], ecx */ 13200 goto L_2F010E51; /* 0x2F010E4D: jmp 0x2f010e51 */ 13201 L_2F010E4F: 13202 MEM32(edx) = ecx; /* 0x2F010E4F: mov dword ptr [edx], ecx */ 13203 L_2F010E51: 13204 MEM32(ecx + 0x8) = eax; /* 0x2F010E51: mov dword ptr [ecx + 8], eax */ 13205 MEM32(eax + 0x4) = ecx; /* 0x2F010E54: mov dword ptr [eax + 4], ecx */ 13206 L_2F010E57: 13207 ecx = MEM32(eax + 0x4); /* 0x2F010E57: mov ecx, dword ptr [eax + 4] */ 13208 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010E5A: mov byte ptr [ecx + 0x24], bl */ 13209 edx = MEM32(eax + 0x4); /* 0x2F010E5D: mov edx, dword ptr [eax + 4] */ 13210 ecx = MEM32(edx + 0x4); /* 0x2F010E60: mov ecx, dword ptr [edx + 4] */ 13211 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010E63: mov byte ptr [ecx + 0x24], 0 */ 13212 edx = MEM32(eax + 0x4); /* 0x2F010E67: mov edx, dword ptr [eax + 4] */ 13213 ecx = MEM32(edx + 0x4); /* 0x2F010E6A: mov ecx, dword ptr [edx + 4] */ 13214 edx = MEM32(ecx + 0x8); /* 0x2F010E6D: mov edx, dword ptr [ecx + 8] */ 13215 edi = MEM32(edx); /* 0x2F010E70: mov edi, dword ptr [edx] */ 13216 MEM32(ecx + 0x8) = edi; /* 0x2F010E72: mov dword ptr [ecx + 8], edi */ 13217 edi = MEM32(edx); /* 0x2F010E75: mov edi, dword ptr [edx] */ 13218 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010E77: cmp edi, dword ptr [esi + 8] */ 13219 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13220 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13221 _flag_k = FK_CMP; 13222 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010E7F; /* 0x2F010E7A: je 0x2f010e7f */ 13223 L_2F010E7C: 13224 MEM32(edi + 0x4) = ecx; /* 0x2F010E7C: mov dword ptr [edi + 4], ecx */ 13225 L_2F010E7F: 13226 edi = MEM32(ecx + 0x4); /* 0x2F010E7F: mov edi, dword ptr [ecx + 4] */ 13227 MEM32(edx + 0x4) = edi; /* 0x2F010E82: mov dword ptr [edx + 4], edi */ 13228 edi = MEM32(esi + 0x4); /* 0x2F010E85: mov edi, dword ptr [esi + 4] */ 13229 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010E88: cmp ecx, dword ptr [edi + 4] */ 13230 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 13231 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13232 _flag_k = FK_CMP; 13233 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E92; /* 0x2F010E8B: jne 0x2f010e92 */ 13234 L_2F010E8D: 13235 MEM32(edi + 0x4) = edx; /* 0x2F010E8D: mov dword ptr [edi + 4], edx */ 13236 goto L_2F010EA0; /* 0x2F010E90: jmp 0x2f010ea0 */ 13237 L_2F010E92: 13238 edi = MEM32(ecx + 0x4); /* 0x2F010E92: mov edi, dword ptr [ecx + 4] */ 13239 /* cmp ecx, MEM32(edi) */ /* 0x2F010E95: cmp ecx, dword ptr [edi] */ 13240 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 13241 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13242 _flag_k = FK_CMP; 13243 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E9D; /* 0x2F010E97: jne 0x2f010e9d */ 13244 L_2F010E99: 13245 MEM32(edi) = edx; /* 0x2F010E99: mov dword ptr [edi], edx */ 13246 goto L_2F010EA0; /* 0x2F010E9B: jmp 0x2f010ea0 */ 13247 L_2F010E9D: 13248 MEM32(edi + 0x8) = edx; /* 0x2F010E9D: mov dword ptr [edi + 8], edx */ 13249 L_2F010EA0: 13250 MEM32(edx) = ecx; /* 0x2F010EA0: mov dword ptr [edx], ecx */ 13251 L_2F010EA2: 13252 MEM32(ecx + 0x4) = edx; /* 0x2F010EA2: mov dword ptr [ecx + 4], edx */ 13253 L_2F010EA5: 13254 ecx = MEM32(esi + 0x4); /* 0x2F010EA5: mov ecx, dword ptr [esi + 4] */ 13255 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F010EA8: cmp eax, dword ptr [ecx + 4] */ 13256 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 13257 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13258 _flag_k = FK_CMP; 13259 RECOMP_BACKEDGE(); 13260 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010D31; /* 0x2F010EAB: jne 0x2f010d31 */ 13261 L_2F010EB1: 13262 edx = MEM32(esi + 0x4); /* 0x2F010EB1: mov edx, dword ptr [esi + 4] */ 13263 ecx = MEM32(ebp + (-0x4)); /* 0x2F010EB4: mov ecx, dword ptr [ebp - 4] */ 13264 edi = POP32_VAL(esp); /* 0x2F010EB7: pop edi */ 13265 esi = POP32_VAL(esp); /* 0x2F010EB8: pop esi */ 13266 eax = MEM32(edx + 0x4); /* 0x2F010EB9: mov eax, dword ptr [edx + 4] */ 13267 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010EBC: mov byte ptr [eax + 0x24], bl */ 13268 eax = MEM32(ebp + 0x8); /* 0x2F010EBF: mov eax, dword ptr [ebp + 8] */ 13269 ebx = POP32_VAL(esp); /* 0x2F010EC2: pop ebx */ 13270 MEM32(eax) = ecx; /* 0x2F010EC3: mov dword ptr [eax], ecx */ 13271 esp = ebp; /* 0x2F010EC5: mov esp, ebp */ 13272 ebp = POP32_VAL(esp); /* 0x2F010EC7: pop ebp */ 13273 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2F010EC8: ret 0x10 */ 13274 RECOMP_REGS_OUT(); 13275 } 13276 13277 void sub_2F010E57(void) { 13278 int _fpu_cmp = 0; 13279 uint32_t _cf = 0; 13280 int _df = 1; 13281 uint32_t _flag_k = FK_NONE; 13282 uint32_t _flag_a = 0, _flag_b = 0; 13283 uint32_t _itail_tgt = 0; 13284 RECOMP_REGS_LOCALS 13285 RECOMP_ENTER(0x2F010E57u); 13286 13287 goto L_2F010E57; 13288 L_2F010D31: 13289 ecx = MEM32(eax + 0x4); /* 0x2F010D31: mov ecx, dword ptr [eax + 4] */ 13290 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2F010D34: mov dl, byte ptr [ecx + 0x24] */ 13291 /* test LO8(edx), LO8(edx) */ /* 0x2F010D37: test dl, dl */ 13292 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 13293 _cf = 0; 13294 _flag_k = FK_NARROW(FK_TEST, 24); 13295 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F010EB1; /* 0x2F010D39: jne 0x2f010eb1 */ 13296 L_2F010D3F: 13297 edi = MEM32(ecx + 0x4); /* 0x2F010D3F: mov edi, dword ptr [ecx + 4] */ 13298 edx = MEM32(edi); /* 0x2F010D42: mov edx, dword ptr [edi] */ 13299 /* cmp ecx, edx */ /* 0x2F010D44: cmp ecx, edx */ 13300 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 13301 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13302 _flag_k = FK_CMP; 13303 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E0D; /* 0x2F010D46: jne 0x2f010e0d */ 13304 L_2F010D4C: 13305 edx = MEM32(edi + 0x8); /* 0x2F010D4C: mov edx, dword ptr [edi + 8] */ 13306 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2F010D4F: cmp byte ptr [edx + 0x24], 0 */ 13307 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 13308 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13309 _flag_k = FK_NARROW(FK_CMP, 24); 13310 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010D70; /* 0x2F010D53: jne 0x2f010d70 */ 13311 L_2F010D55: 13312 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010D55: mov byte ptr [ecx + 0x24], bl */ 13313 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010D58: mov byte ptr [edx + 0x24], bl */ 13314 ecx = MEM32(eax + 0x4); /* 0x2F010D5B: mov ecx, dword ptr [eax + 4] */ 13315 edx = MEM32(ecx + 0x4); /* 0x2F010D5E: mov edx, dword ptr [ecx + 4] */ 13316 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2F010D61: mov byte ptr [edx + 0x24], 0 */ 13317 eax = MEM32(eax + 0x4); /* 0x2F010D65: mov eax, dword ptr [eax + 4] */ 13318 eax = MEM32(eax + 0x4); /* 0x2F010D68: mov eax, dword ptr [eax + 4] */ 13319 goto L_2F010EA5; /* 0x2F010D6B: jmp 0x2f010ea5 */ 13320 L_2F010D70: 13321 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2F010D70: cmp eax, dword ptr [ecx + 8] */ 13322 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 13323 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13324 _flag_k = FK_CMP; 13325 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010DAF; /* 0x2F010D73: jne 0x2f010daf */ 13326 L_2F010D75: 13327 eax = ecx; /* 0x2F010D75: mov eax, ecx */ 13328 ecx = MEM32(eax + 0x8); /* 0x2F010D77: mov ecx, dword ptr [eax + 8] */ 13329 edx = MEM32(ecx); /* 0x2F010D7A: mov edx, dword ptr [ecx] */ 13330 MEM32(eax + 0x8) = edx; /* 0x2F010D7C: mov dword ptr [eax + 8], edx */ 13331 edx = MEM32(ecx); /* 0x2F010D7F: mov edx, dword ptr [ecx] */ 13332 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010D81: cmp edx, dword ptr [esi + 8] */ 13333 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13334 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13335 _flag_k = FK_CMP; 13336 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010D89; /* 0x2F010D84: je 0x2f010d89 */ 13337 L_2F010D86: 13338 MEM32(edx + 0x4) = eax; /* 0x2F010D86: mov dword ptr [edx + 4], eax */ 13339 L_2F010D89: 13340 edx = MEM32(eax + 0x4); /* 0x2F010D89: mov edx, dword ptr [eax + 4] */ 13341 MEM32(ecx + 0x4) = edx; /* 0x2F010D8C: mov dword ptr [ecx + 4], edx */ 13342 edx = MEM32(esi + 0x4); /* 0x2F010D8F: mov edx, dword ptr [esi + 4] */ 13343 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010D92: cmp eax, dword ptr [edx + 4] */ 13344 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 13345 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13346 _flag_k = FK_CMP; 13347 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010D9C; /* 0x2F010D95: jne 0x2f010d9c */ 13348 L_2F010D97: 13349 MEM32(edx + 0x4) = ecx; /* 0x2F010D97: mov dword ptr [edx + 4], ecx */ 13350 goto L_2F010DAA; /* 0x2F010D9A: jmp 0x2f010daa */ 13351 L_2F010D9C: 13352 edx = MEM32(eax + 0x4); /* 0x2F010D9C: mov edx, dword ptr [eax + 4] */ 13353 /* cmp eax, MEM32(edx) */ /* 0x2F010D9F: cmp eax, dword ptr [edx] */ 13354 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 13355 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13356 _flag_k = FK_CMP; 13357 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010DA7; /* 0x2F010DA1: jne 0x2f010da7 */ 13358 L_2F010DA3: 13359 MEM32(edx) = ecx; /* 0x2F010DA3: mov dword ptr [edx], ecx */ 13360 goto L_2F010DAA; /* 0x2F010DA5: jmp 0x2f010daa */ 13361 L_2F010DA7: 13362 MEM32(edx + 0x8) = ecx; /* 0x2F010DA7: mov dword ptr [edx + 8], ecx */ 13363 L_2F010DAA: 13364 MEM32(ecx) = eax; /* 0x2F010DAA: mov dword ptr [ecx], eax */ 13365 MEM32(eax + 0x4) = ecx; /* 0x2F010DAC: mov dword ptr [eax + 4], ecx */ 13366 L_2F010DAF: 13367 ecx = MEM32(eax + 0x4); /* 0x2F010DAF: mov ecx, dword ptr [eax + 4] */ 13368 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010DB2: mov byte ptr [ecx + 0x24], bl */ 13369 edx = MEM32(eax + 0x4); /* 0x2F010DB5: mov edx, dword ptr [eax + 4] */ 13370 ecx = MEM32(edx + 0x4); /* 0x2F010DB8: mov ecx, dword ptr [edx + 4] */ 13371 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010DBB: mov byte ptr [ecx + 0x24], 0 */ 13372 edx = MEM32(eax + 0x4); /* 0x2F010DBF: mov edx, dword ptr [eax + 4] */ 13373 ecx = MEM32(edx + 0x4); /* 0x2F010DC2: mov ecx, dword ptr [edx + 4] */ 13374 edx = MEM32(ecx); /* 0x2F010DC5: mov edx, dword ptr [ecx] */ 13375 edi = MEM32(edx + 0x8); /* 0x2F010DC7: mov edi, dword ptr [edx + 8] */ 13376 MEM32(ecx) = edi; /* 0x2F010DCA: mov dword ptr [ecx], edi */ 13377 edi = MEM32(edx + 0x8); /* 0x2F010DCC: mov edi, dword ptr [edx + 8] */ 13378 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010DCF: cmp edi, dword ptr [esi + 8] */ 13379 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13380 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13381 _flag_k = FK_CMP; 13382 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010DD7; /* 0x2F010DD2: je 0x2f010dd7 */ 13383 L_2F010DD4: 13384 MEM32(edi + 0x4) = ecx; /* 0x2F010DD4: mov dword ptr [edi + 4], ecx */ 13385 L_2F010DD7: 13386 edi = MEM32(ecx + 0x4); /* 0x2F010DD7: mov edi, dword ptr [ecx + 4] */ 13387 MEM32(edx + 0x4) = edi; /* 0x2F010DDA: mov dword ptr [edx + 4], edi */ 13388 edi = MEM32(esi + 0x4); /* 0x2F010DDD: mov edi, dword ptr [esi + 4] */ 13389 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010DE0: cmp ecx, dword ptr [edi + 4] */ 13390 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 13391 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13392 _flag_k = FK_CMP; 13393 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010DF0; /* 0x2F010DE3: jne 0x2f010df0 */ 13394 L_2F010DE5: 13395 MEM32(edi + 0x4) = edx; /* 0x2F010DE5: mov dword ptr [edi + 4], edx */ 13396 MEM32(edx + 0x8) = ecx; /* 0x2F010DE8: mov dword ptr [edx + 8], ecx */ 13397 goto L_2F010EA2; /* 0x2F010DEB: jmp 0x2f010ea2 */ 13398 L_2F010DF0: 13399 edi = MEM32(ecx + 0x4); /* 0x2F010DF0: mov edi, dword ptr [ecx + 4] */ 13400 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2F010DF3: cmp ecx, dword ptr [edi + 8] */ 13401 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13402 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13403 _flag_k = FK_CMP; 13404 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E03; /* 0x2F010DF6: jne 0x2f010e03 */ 13405 L_2F010DF8: 13406 MEM32(edi + 0x8) = edx; /* 0x2F010DF8: mov dword ptr [edi + 8], edx */ 13407 MEM32(edx + 0x8) = ecx; /* 0x2F010DFB: mov dword ptr [edx + 8], ecx */ 13408 goto L_2F010EA2; /* 0x2F010DFE: jmp 0x2f010ea2 */ 13409 L_2F010E03: 13410 MEM32(edi) = edx; /* 0x2F010E03: mov dword ptr [edi], edx */ 13411 MEM32(edx + 0x8) = ecx; /* 0x2F010E05: mov dword ptr [edx + 8], ecx */ 13412 goto L_2F010EA2; /* 0x2F010E08: jmp 0x2f010ea2 */ 13413 L_2F010E0D: 13414 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2F010E0D: cmp byte ptr [edx + 0x24], 0 */ 13415 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 13416 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13417 _flag_k = FK_NARROW(FK_CMP, 24); 13418 RECOMP_BACKEDGE(); 13419 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010D55; /* 0x2F010E11: je 0x2f010d55 */ 13420 L_2F010E17: 13421 /* cmp eax, MEM32(ecx) */ /* 0x2F010E17: cmp eax, dword ptr [ecx] */ 13422 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 13423 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13424 _flag_k = FK_CMP; 13425 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E57; /* 0x2F010E19: jne 0x2f010e57 */ 13426 L_2F010E1B: 13427 eax = ecx; /* 0x2F010E1B: mov eax, ecx */ 13428 ecx = MEM32(eax); /* 0x2F010E1D: mov ecx, dword ptr [eax] */ 13429 edx = MEM32(ecx + 0x8); /* 0x2F010E1F: mov edx, dword ptr [ecx + 8] */ 13430 MEM32(eax) = edx; /* 0x2F010E22: mov dword ptr [eax], edx */ 13431 edx = MEM32(ecx + 0x8); /* 0x2F010E24: mov edx, dword ptr [ecx + 8] */ 13432 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010E27: cmp edx, dword ptr [esi + 8] */ 13433 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13434 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13435 _flag_k = FK_CMP; 13436 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010E2F; /* 0x2F010E2A: je 0x2f010e2f */ 13437 L_2F010E2C: 13438 MEM32(edx + 0x4) = eax; /* 0x2F010E2C: mov dword ptr [edx + 4], eax */ 13439 L_2F010E2F: 13440 edx = MEM32(eax + 0x4); /* 0x2F010E2F: mov edx, dword ptr [eax + 4] */ 13441 MEM32(ecx + 0x4) = edx; /* 0x2F010E32: mov dword ptr [ecx + 4], edx */ 13442 edx = MEM32(esi + 0x4); /* 0x2F010E35: mov edx, dword ptr [esi + 4] */ 13443 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010E38: cmp eax, dword ptr [edx + 4] */ 13444 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 13445 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13446 _flag_k = FK_CMP; 13447 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E42; /* 0x2F010E3B: jne 0x2f010e42 */ 13448 L_2F010E3D: 13449 MEM32(edx + 0x4) = ecx; /* 0x2F010E3D: mov dword ptr [edx + 4], ecx */ 13450 goto L_2F010E51; /* 0x2F010E40: jmp 0x2f010e51 */ 13451 L_2F010E42: 13452 edx = MEM32(eax + 0x4); /* 0x2F010E42: mov edx, dword ptr [eax + 4] */ 13453 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2F010E45: cmp eax, dword ptr [edx + 8] */ 13454 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 13455 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13456 _flag_k = FK_CMP; 13457 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E4F; /* 0x2F010E48: jne 0x2f010e4f */ 13458 L_2F010E4A: 13459 MEM32(edx + 0x8) = ecx; /* 0x2F010E4A: mov dword ptr [edx + 8], ecx */ 13460 goto L_2F010E51; /* 0x2F010E4D: jmp 0x2f010e51 */ 13461 L_2F010E4F: 13462 MEM32(edx) = ecx; /* 0x2F010E4F: mov dword ptr [edx], ecx */ 13463 L_2F010E51: 13464 MEM32(ecx + 0x8) = eax; /* 0x2F010E51: mov dword ptr [ecx + 8], eax */ 13465 MEM32(eax + 0x4) = ecx; /* 0x2F010E54: mov dword ptr [eax + 4], ecx */ 13466 L_2F010E57: 13467 ecx = MEM32(eax + 0x4); /* 0x2F010E57: mov ecx, dword ptr [eax + 4] */ 13468 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010E5A: mov byte ptr [ecx + 0x24], bl */ 13469 edx = MEM32(eax + 0x4); /* 0x2F010E5D: mov edx, dword ptr [eax + 4] */ 13470 ecx = MEM32(edx + 0x4); /* 0x2F010E60: mov ecx, dword ptr [edx + 4] */ 13471 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010E63: mov byte ptr [ecx + 0x24], 0 */ 13472 edx = MEM32(eax + 0x4); /* 0x2F010E67: mov edx, dword ptr [eax + 4] */ 13473 ecx = MEM32(edx + 0x4); /* 0x2F010E6A: mov ecx, dword ptr [edx + 4] */ 13474 edx = MEM32(ecx + 0x8); /* 0x2F010E6D: mov edx, dword ptr [ecx + 8] */ 13475 edi = MEM32(edx); /* 0x2F010E70: mov edi, dword ptr [edx] */ 13476 MEM32(ecx + 0x8) = edi; /* 0x2F010E72: mov dword ptr [ecx + 8], edi */ 13477 edi = MEM32(edx); /* 0x2F010E75: mov edi, dword ptr [edx] */ 13478 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010E77: cmp edi, dword ptr [esi + 8] */ 13479 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13480 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13481 _flag_k = FK_CMP; 13482 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010E7F; /* 0x2F010E7A: je 0x2f010e7f */ 13483 L_2F010E7C: 13484 MEM32(edi + 0x4) = ecx; /* 0x2F010E7C: mov dword ptr [edi + 4], ecx */ 13485 L_2F010E7F: 13486 edi = MEM32(ecx + 0x4); /* 0x2F010E7F: mov edi, dword ptr [ecx + 4] */ 13487 MEM32(edx + 0x4) = edi; /* 0x2F010E82: mov dword ptr [edx + 4], edi */ 13488 edi = MEM32(esi + 0x4); /* 0x2F010E85: mov edi, dword ptr [esi + 4] */ 13489 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010E88: cmp ecx, dword ptr [edi + 4] */ 13490 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 13491 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13492 _flag_k = FK_CMP; 13493 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E92; /* 0x2F010E8B: jne 0x2f010e92 */ 13494 L_2F010E8D: 13495 MEM32(edi + 0x4) = edx; /* 0x2F010E8D: mov dword ptr [edi + 4], edx */ 13496 goto L_2F010EA0; /* 0x2F010E90: jmp 0x2f010ea0 */ 13497 L_2F010E92: 13498 edi = MEM32(ecx + 0x4); /* 0x2F010E92: mov edi, dword ptr [ecx + 4] */ 13499 /* cmp ecx, MEM32(edi) */ /* 0x2F010E95: cmp ecx, dword ptr [edi] */ 13500 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 13501 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13502 _flag_k = FK_CMP; 13503 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E9D; /* 0x2F010E97: jne 0x2f010e9d */ 13504 L_2F010E99: 13505 MEM32(edi) = edx; /* 0x2F010E99: mov dword ptr [edi], edx */ 13506 goto L_2F010EA0; /* 0x2F010E9B: jmp 0x2f010ea0 */ 13507 L_2F010E9D: 13508 MEM32(edi + 0x8) = edx; /* 0x2F010E9D: mov dword ptr [edi + 8], edx */ 13509 L_2F010EA0: 13510 MEM32(edx) = ecx; /* 0x2F010EA0: mov dword ptr [edx], ecx */ 13511 L_2F010EA2: 13512 MEM32(ecx + 0x4) = edx; /* 0x2F010EA2: mov dword ptr [ecx + 4], edx */ 13513 L_2F010EA5: 13514 ecx = MEM32(esi + 0x4); /* 0x2F010EA5: mov ecx, dword ptr [esi + 4] */ 13515 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F010EA8: cmp eax, dword ptr [ecx + 4] */ 13516 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 13517 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13518 _flag_k = FK_CMP; 13519 RECOMP_BACKEDGE(); 13520 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010D31; /* 0x2F010EAB: jne 0x2f010d31 */ 13521 L_2F010EB1: 13522 edx = MEM32(esi + 0x4); /* 0x2F010EB1: mov edx, dword ptr [esi + 4] */ 13523 ecx = MEM32(ebp + (-0x4)); /* 0x2F010EB4: mov ecx, dword ptr [ebp - 4] */ 13524 edi = POP32_VAL(esp); /* 0x2F010EB7: pop edi */ 13525 esi = POP32_VAL(esp); /* 0x2F010EB8: pop esi */ 13526 eax = MEM32(edx + 0x4); /* 0x2F010EB9: mov eax, dword ptr [edx + 4] */ 13527 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010EBC: mov byte ptr [eax + 0x24], bl */ 13528 eax = MEM32(ebp + 0x8); /* 0x2F010EBF: mov eax, dword ptr [ebp + 8] */ 13529 ebx = POP32_VAL(esp); /* 0x2F010EC2: pop ebx */ 13530 MEM32(eax) = ecx; /* 0x2F010EC3: mov dword ptr [eax], ecx */ 13531 esp = ebp; /* 0x2F010EC5: mov esp, ebp */ 13532 ebp = POP32_VAL(esp); /* 0x2F010EC7: pop ebp */ 13533 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2F010EC8: ret 0x10 */ 13534 RECOMP_REGS_OUT(); 13535 } 13536 13537 void sub_2F010EA0(void) { 13538 int _fpu_cmp = 0; 13539 uint32_t _cf = 0; 13540 int _df = 1; 13541 uint32_t _flag_k = FK_NONE; 13542 uint32_t _flag_a = 0, _flag_b = 0; 13543 uint32_t _itail_tgt = 0; 13544 RECOMP_REGS_LOCALS 13545 RECOMP_ENTER(0x2F010EA0u); 13546 13547 goto L_2F010EA0; 13548 L_2F010D31: 13549 ecx = MEM32(eax + 0x4); /* 0x2F010D31: mov ecx, dword ptr [eax + 4] */ 13550 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2F010D34: mov dl, byte ptr [ecx + 0x24] */ 13551 /* test LO8(edx), LO8(edx) */ /* 0x2F010D37: test dl, dl */ 13552 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 13553 _cf = 0; 13554 _flag_k = FK_NARROW(FK_TEST, 24); 13555 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F010EB1; /* 0x2F010D39: jne 0x2f010eb1 */ 13556 L_2F010D3F: 13557 edi = MEM32(ecx + 0x4); /* 0x2F010D3F: mov edi, dword ptr [ecx + 4] */ 13558 edx = MEM32(edi); /* 0x2F010D42: mov edx, dword ptr [edi] */ 13559 /* cmp ecx, edx */ /* 0x2F010D44: cmp ecx, edx */ 13560 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 13561 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13562 _flag_k = FK_CMP; 13563 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E0D; /* 0x2F010D46: jne 0x2f010e0d */ 13564 L_2F010D4C: 13565 edx = MEM32(edi + 0x8); /* 0x2F010D4C: mov edx, dword ptr [edi + 8] */ 13566 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2F010D4F: cmp byte ptr [edx + 0x24], 0 */ 13567 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 13568 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13569 _flag_k = FK_NARROW(FK_CMP, 24); 13570 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010D70; /* 0x2F010D53: jne 0x2f010d70 */ 13571 L_2F010D55: 13572 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010D55: mov byte ptr [ecx + 0x24], bl */ 13573 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010D58: mov byte ptr [edx + 0x24], bl */ 13574 ecx = MEM32(eax + 0x4); /* 0x2F010D5B: mov ecx, dword ptr [eax + 4] */ 13575 edx = MEM32(ecx + 0x4); /* 0x2F010D5E: mov edx, dword ptr [ecx + 4] */ 13576 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2F010D61: mov byte ptr [edx + 0x24], 0 */ 13577 eax = MEM32(eax + 0x4); /* 0x2F010D65: mov eax, dword ptr [eax + 4] */ 13578 eax = MEM32(eax + 0x4); /* 0x2F010D68: mov eax, dword ptr [eax + 4] */ 13579 goto L_2F010EA5; /* 0x2F010D6B: jmp 0x2f010ea5 */ 13580 L_2F010D70: 13581 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2F010D70: cmp eax, dword ptr [ecx + 8] */ 13582 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 13583 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13584 _flag_k = FK_CMP; 13585 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010DAF; /* 0x2F010D73: jne 0x2f010daf */ 13586 L_2F010D75: 13587 eax = ecx; /* 0x2F010D75: mov eax, ecx */ 13588 ecx = MEM32(eax + 0x8); /* 0x2F010D77: mov ecx, dword ptr [eax + 8] */ 13589 edx = MEM32(ecx); /* 0x2F010D7A: mov edx, dword ptr [ecx] */ 13590 MEM32(eax + 0x8) = edx; /* 0x2F010D7C: mov dword ptr [eax + 8], edx */ 13591 edx = MEM32(ecx); /* 0x2F010D7F: mov edx, dword ptr [ecx] */ 13592 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010D81: cmp edx, dword ptr [esi + 8] */ 13593 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13594 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13595 _flag_k = FK_CMP; 13596 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010D89; /* 0x2F010D84: je 0x2f010d89 */ 13597 L_2F010D86: 13598 MEM32(edx + 0x4) = eax; /* 0x2F010D86: mov dword ptr [edx + 4], eax */ 13599 L_2F010D89: 13600 edx = MEM32(eax + 0x4); /* 0x2F010D89: mov edx, dword ptr [eax + 4] */ 13601 MEM32(ecx + 0x4) = edx; /* 0x2F010D8C: mov dword ptr [ecx + 4], edx */ 13602 edx = MEM32(esi + 0x4); /* 0x2F010D8F: mov edx, dword ptr [esi + 4] */ 13603 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010D92: cmp eax, dword ptr [edx + 4] */ 13604 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 13605 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13606 _flag_k = FK_CMP; 13607 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010D9C; /* 0x2F010D95: jne 0x2f010d9c */ 13608 L_2F010D97: 13609 MEM32(edx + 0x4) = ecx; /* 0x2F010D97: mov dword ptr [edx + 4], ecx */ 13610 goto L_2F010DAA; /* 0x2F010D9A: jmp 0x2f010daa */ 13611 L_2F010D9C: 13612 edx = MEM32(eax + 0x4); /* 0x2F010D9C: mov edx, dword ptr [eax + 4] */ 13613 /* cmp eax, MEM32(edx) */ /* 0x2F010D9F: cmp eax, dword ptr [edx] */ 13614 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 13615 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13616 _flag_k = FK_CMP; 13617 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010DA7; /* 0x2F010DA1: jne 0x2f010da7 */ 13618 L_2F010DA3: 13619 MEM32(edx) = ecx; /* 0x2F010DA3: mov dword ptr [edx], ecx */ 13620 goto L_2F010DAA; /* 0x2F010DA5: jmp 0x2f010daa */ 13621 L_2F010DA7: 13622 MEM32(edx + 0x8) = ecx; /* 0x2F010DA7: mov dword ptr [edx + 8], ecx */ 13623 L_2F010DAA: 13624 MEM32(ecx) = eax; /* 0x2F010DAA: mov dword ptr [ecx], eax */ 13625 MEM32(eax + 0x4) = ecx; /* 0x2F010DAC: mov dword ptr [eax + 4], ecx */ 13626 L_2F010DAF: 13627 ecx = MEM32(eax + 0x4); /* 0x2F010DAF: mov ecx, dword ptr [eax + 4] */ 13628 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010DB2: mov byte ptr [ecx + 0x24], bl */ 13629 edx = MEM32(eax + 0x4); /* 0x2F010DB5: mov edx, dword ptr [eax + 4] */ 13630 ecx = MEM32(edx + 0x4); /* 0x2F010DB8: mov ecx, dword ptr [edx + 4] */ 13631 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010DBB: mov byte ptr [ecx + 0x24], 0 */ 13632 edx = MEM32(eax + 0x4); /* 0x2F010DBF: mov edx, dword ptr [eax + 4] */ 13633 ecx = MEM32(edx + 0x4); /* 0x2F010DC2: mov ecx, dword ptr [edx + 4] */ 13634 edx = MEM32(ecx); /* 0x2F010DC5: mov edx, dword ptr [ecx] */ 13635 edi = MEM32(edx + 0x8); /* 0x2F010DC7: mov edi, dword ptr [edx + 8] */ 13636 MEM32(ecx) = edi; /* 0x2F010DCA: mov dword ptr [ecx], edi */ 13637 edi = MEM32(edx + 0x8); /* 0x2F010DCC: mov edi, dword ptr [edx + 8] */ 13638 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010DCF: cmp edi, dword ptr [esi + 8] */ 13639 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13640 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13641 _flag_k = FK_CMP; 13642 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010DD7; /* 0x2F010DD2: je 0x2f010dd7 */ 13643 L_2F010DD4: 13644 MEM32(edi + 0x4) = ecx; /* 0x2F010DD4: mov dword ptr [edi + 4], ecx */ 13645 L_2F010DD7: 13646 edi = MEM32(ecx + 0x4); /* 0x2F010DD7: mov edi, dword ptr [ecx + 4] */ 13647 MEM32(edx + 0x4) = edi; /* 0x2F010DDA: mov dword ptr [edx + 4], edi */ 13648 edi = MEM32(esi + 0x4); /* 0x2F010DDD: mov edi, dword ptr [esi + 4] */ 13649 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010DE0: cmp ecx, dword ptr [edi + 4] */ 13650 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 13651 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13652 _flag_k = FK_CMP; 13653 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010DF0; /* 0x2F010DE3: jne 0x2f010df0 */ 13654 L_2F010DE5: 13655 MEM32(edi + 0x4) = edx; /* 0x2F010DE5: mov dword ptr [edi + 4], edx */ 13656 MEM32(edx + 0x8) = ecx; /* 0x2F010DE8: mov dword ptr [edx + 8], ecx */ 13657 goto L_2F010EA2; /* 0x2F010DEB: jmp 0x2f010ea2 */ 13658 L_2F010DF0: 13659 edi = MEM32(ecx + 0x4); /* 0x2F010DF0: mov edi, dword ptr [ecx + 4] */ 13660 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2F010DF3: cmp ecx, dword ptr [edi + 8] */ 13661 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13662 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13663 _flag_k = FK_CMP; 13664 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E03; /* 0x2F010DF6: jne 0x2f010e03 */ 13665 L_2F010DF8: 13666 MEM32(edi + 0x8) = edx; /* 0x2F010DF8: mov dword ptr [edi + 8], edx */ 13667 MEM32(edx + 0x8) = ecx; /* 0x2F010DFB: mov dword ptr [edx + 8], ecx */ 13668 goto L_2F010EA2; /* 0x2F010DFE: jmp 0x2f010ea2 */ 13669 L_2F010E03: 13670 MEM32(edi) = edx; /* 0x2F010E03: mov dword ptr [edi], edx */ 13671 MEM32(edx + 0x8) = ecx; /* 0x2F010E05: mov dword ptr [edx + 8], ecx */ 13672 goto L_2F010EA2; /* 0x2F010E08: jmp 0x2f010ea2 */ 13673 L_2F010E0D: 13674 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2F010E0D: cmp byte ptr [edx + 0x24], 0 */ 13675 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 13676 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13677 _flag_k = FK_NARROW(FK_CMP, 24); 13678 RECOMP_BACKEDGE(); 13679 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010D55; /* 0x2F010E11: je 0x2f010d55 */ 13680 L_2F010E17: 13681 /* cmp eax, MEM32(ecx) */ /* 0x2F010E17: cmp eax, dword ptr [ecx] */ 13682 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 13683 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13684 _flag_k = FK_CMP; 13685 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E57; /* 0x2F010E19: jne 0x2f010e57 */ 13686 L_2F010E1B: 13687 eax = ecx; /* 0x2F010E1B: mov eax, ecx */ 13688 ecx = MEM32(eax); /* 0x2F010E1D: mov ecx, dword ptr [eax] */ 13689 edx = MEM32(ecx + 0x8); /* 0x2F010E1F: mov edx, dword ptr [ecx + 8] */ 13690 MEM32(eax) = edx; /* 0x2F010E22: mov dword ptr [eax], edx */ 13691 edx = MEM32(ecx + 0x8); /* 0x2F010E24: mov edx, dword ptr [ecx + 8] */ 13692 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010E27: cmp edx, dword ptr [esi + 8] */ 13693 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13694 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13695 _flag_k = FK_CMP; 13696 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010E2F; /* 0x2F010E2A: je 0x2f010e2f */ 13697 L_2F010E2C: 13698 MEM32(edx + 0x4) = eax; /* 0x2F010E2C: mov dword ptr [edx + 4], eax */ 13699 L_2F010E2F: 13700 edx = MEM32(eax + 0x4); /* 0x2F010E2F: mov edx, dword ptr [eax + 4] */ 13701 MEM32(ecx + 0x4) = edx; /* 0x2F010E32: mov dword ptr [ecx + 4], edx */ 13702 edx = MEM32(esi + 0x4); /* 0x2F010E35: mov edx, dword ptr [esi + 4] */ 13703 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010E38: cmp eax, dword ptr [edx + 4] */ 13704 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 13705 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13706 _flag_k = FK_CMP; 13707 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E42; /* 0x2F010E3B: jne 0x2f010e42 */ 13708 L_2F010E3D: 13709 MEM32(edx + 0x4) = ecx; /* 0x2F010E3D: mov dword ptr [edx + 4], ecx */ 13710 goto L_2F010E51; /* 0x2F010E40: jmp 0x2f010e51 */ 13711 L_2F010E42: 13712 edx = MEM32(eax + 0x4); /* 0x2F010E42: mov edx, dword ptr [eax + 4] */ 13713 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2F010E45: cmp eax, dword ptr [edx + 8] */ 13714 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 13715 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13716 _flag_k = FK_CMP; 13717 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E4F; /* 0x2F010E48: jne 0x2f010e4f */ 13718 L_2F010E4A: 13719 MEM32(edx + 0x8) = ecx; /* 0x2F010E4A: mov dword ptr [edx + 8], ecx */ 13720 goto L_2F010E51; /* 0x2F010E4D: jmp 0x2f010e51 */ 13721 L_2F010E4F: 13722 MEM32(edx) = ecx; /* 0x2F010E4F: mov dword ptr [edx], ecx */ 13723 L_2F010E51: 13724 MEM32(ecx + 0x8) = eax; /* 0x2F010E51: mov dword ptr [ecx + 8], eax */ 13725 MEM32(eax + 0x4) = ecx; /* 0x2F010E54: mov dword ptr [eax + 4], ecx */ 13726 L_2F010E57: 13727 ecx = MEM32(eax + 0x4); /* 0x2F010E57: mov ecx, dword ptr [eax + 4] */ 13728 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010E5A: mov byte ptr [ecx + 0x24], bl */ 13729 edx = MEM32(eax + 0x4); /* 0x2F010E5D: mov edx, dword ptr [eax + 4] */ 13730 ecx = MEM32(edx + 0x4); /* 0x2F010E60: mov ecx, dword ptr [edx + 4] */ 13731 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010E63: mov byte ptr [ecx + 0x24], 0 */ 13732 edx = MEM32(eax + 0x4); /* 0x2F010E67: mov edx, dword ptr [eax + 4] */ 13733 ecx = MEM32(edx + 0x4); /* 0x2F010E6A: mov ecx, dword ptr [edx + 4] */ 13734 edx = MEM32(ecx + 0x8); /* 0x2F010E6D: mov edx, dword ptr [ecx + 8] */ 13735 edi = MEM32(edx); /* 0x2F010E70: mov edi, dword ptr [edx] */ 13736 MEM32(ecx + 0x8) = edi; /* 0x2F010E72: mov dword ptr [ecx + 8], edi */ 13737 edi = MEM32(edx); /* 0x2F010E75: mov edi, dword ptr [edx] */ 13738 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010E77: cmp edi, dword ptr [esi + 8] */ 13739 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13740 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13741 _flag_k = FK_CMP; 13742 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010E7F; /* 0x2F010E7A: je 0x2f010e7f */ 13743 L_2F010E7C: 13744 MEM32(edi + 0x4) = ecx; /* 0x2F010E7C: mov dword ptr [edi + 4], ecx */ 13745 L_2F010E7F: 13746 edi = MEM32(ecx + 0x4); /* 0x2F010E7F: mov edi, dword ptr [ecx + 4] */ 13747 MEM32(edx + 0x4) = edi; /* 0x2F010E82: mov dword ptr [edx + 4], edi */ 13748 edi = MEM32(esi + 0x4); /* 0x2F010E85: mov edi, dword ptr [esi + 4] */ 13749 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010E88: cmp ecx, dword ptr [edi + 4] */ 13750 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 13751 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13752 _flag_k = FK_CMP; 13753 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E92; /* 0x2F010E8B: jne 0x2f010e92 */ 13754 L_2F010E8D: 13755 MEM32(edi + 0x4) = edx; /* 0x2F010E8D: mov dword ptr [edi + 4], edx */ 13756 goto L_2F010EA0; /* 0x2F010E90: jmp 0x2f010ea0 */ 13757 L_2F010E92: 13758 edi = MEM32(ecx + 0x4); /* 0x2F010E92: mov edi, dword ptr [ecx + 4] */ 13759 /* cmp ecx, MEM32(edi) */ /* 0x2F010E95: cmp ecx, dword ptr [edi] */ 13760 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 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_2F010E9D; /* 0x2F010E97: jne 0x2f010e9d */ 13764 L_2F010E99: 13765 MEM32(edi) = edx; /* 0x2F010E99: mov dword ptr [edi], edx */ 13766 goto L_2F010EA0; /* 0x2F010E9B: jmp 0x2f010ea0 */ 13767 L_2F010E9D: 13768 MEM32(edi + 0x8) = edx; /* 0x2F010E9D: mov dword ptr [edi + 8], edx */ 13769 L_2F010EA0: 13770 MEM32(edx) = ecx; /* 0x2F010EA0: mov dword ptr [edx], ecx */ 13771 L_2F010EA2: 13772 MEM32(ecx + 0x4) = edx; /* 0x2F010EA2: mov dword ptr [ecx + 4], edx */ 13773 L_2F010EA5: 13774 ecx = MEM32(esi + 0x4); /* 0x2F010EA5: mov ecx, dword ptr [esi + 4] */ 13775 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F010EA8: cmp eax, dword ptr [ecx + 4] */ 13776 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 13777 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13778 _flag_k = FK_CMP; 13779 RECOMP_BACKEDGE(); 13780 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010D31; /* 0x2F010EAB: jne 0x2f010d31 */ 13781 L_2F010EB1: 13782 edx = MEM32(esi + 0x4); /* 0x2F010EB1: mov edx, dword ptr [esi + 4] */ 13783 ecx = MEM32(ebp + (-0x4)); /* 0x2F010EB4: mov ecx, dword ptr [ebp - 4] */ 13784 edi = POP32_VAL(esp); /* 0x2F010EB7: pop edi */ 13785 esi = POP32_VAL(esp); /* 0x2F010EB8: pop esi */ 13786 eax = MEM32(edx + 0x4); /* 0x2F010EB9: mov eax, dword ptr [edx + 4] */ 13787 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010EBC: mov byte ptr [eax + 0x24], bl */ 13788 eax = MEM32(ebp + 0x8); /* 0x2F010EBF: mov eax, dword ptr [ebp + 8] */ 13789 ebx = POP32_VAL(esp); /* 0x2F010EC2: pop ebx */ 13790 MEM32(eax) = ecx; /* 0x2F010EC3: mov dword ptr [eax], ecx */ 13791 esp = ebp; /* 0x2F010EC5: mov esp, ebp */ 13792 ebp = POP32_VAL(esp); /* 0x2F010EC7: pop ebp */ 13793 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2F010EC8: ret 0x10 */ 13794 RECOMP_REGS_OUT(); 13795 } 13796 13797 void sub_2F010EA2(void) { 13798 int _fpu_cmp = 0; 13799 uint32_t _cf = 0; 13800 int _df = 1; 13801 uint32_t _flag_k = FK_NONE; 13802 uint32_t _flag_a = 0, _flag_b = 0; 13803 uint32_t _itail_tgt = 0; 13804 RECOMP_REGS_LOCALS 13805 RECOMP_ENTER(0x2F010EA2u); 13806 13807 goto L_2F010EA2; 13808 L_2F010D31: 13809 ecx = MEM32(eax + 0x4); /* 0x2F010D31: mov ecx, dword ptr [eax + 4] */ 13810 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2F010D34: mov dl, byte ptr [ecx + 0x24] */ 13811 /* test LO8(edx), LO8(edx) */ /* 0x2F010D37: test dl, dl */ 13812 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 13813 _cf = 0; 13814 _flag_k = FK_NARROW(FK_TEST, 24); 13815 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F010EB1; /* 0x2F010D39: jne 0x2f010eb1 */ 13816 L_2F010D3F: 13817 edi = MEM32(ecx + 0x4); /* 0x2F010D3F: mov edi, dword ptr [ecx + 4] */ 13818 edx = MEM32(edi); /* 0x2F010D42: mov edx, dword ptr [edi] */ 13819 /* cmp ecx, edx */ /* 0x2F010D44: cmp ecx, edx */ 13820 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 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_2F010E0D; /* 0x2F010D46: jne 0x2f010e0d */ 13824 L_2F010D4C: 13825 edx = MEM32(edi + 0x8); /* 0x2F010D4C: mov edx, dword ptr [edi + 8] */ 13826 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2F010D4F: cmp byte ptr [edx + 0x24], 0 */ 13827 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 13828 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13829 _flag_k = FK_NARROW(FK_CMP, 24); 13830 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010D70; /* 0x2F010D53: jne 0x2f010d70 */ 13831 L_2F010D55: 13832 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010D55: mov byte ptr [ecx + 0x24], bl */ 13833 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010D58: mov byte ptr [edx + 0x24], bl */ 13834 ecx = MEM32(eax + 0x4); /* 0x2F010D5B: mov ecx, dword ptr [eax + 4] */ 13835 edx = MEM32(ecx + 0x4); /* 0x2F010D5E: mov edx, dword ptr [ecx + 4] */ 13836 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2F010D61: mov byte ptr [edx + 0x24], 0 */ 13837 eax = MEM32(eax + 0x4); /* 0x2F010D65: mov eax, dword ptr [eax + 4] */ 13838 eax = MEM32(eax + 0x4); /* 0x2F010D68: mov eax, dword ptr [eax + 4] */ 13839 goto L_2F010EA5; /* 0x2F010D6B: jmp 0x2f010ea5 */ 13840 L_2F010D70: 13841 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2F010D70: cmp eax, dword ptr [ecx + 8] */ 13842 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 13843 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13844 _flag_k = FK_CMP; 13845 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010DAF; /* 0x2F010D73: jne 0x2f010daf */ 13846 L_2F010D75: 13847 eax = ecx; /* 0x2F010D75: mov eax, ecx */ 13848 ecx = MEM32(eax + 0x8); /* 0x2F010D77: mov ecx, dword ptr [eax + 8] */ 13849 edx = MEM32(ecx); /* 0x2F010D7A: mov edx, dword ptr [ecx] */ 13850 MEM32(eax + 0x8) = edx; /* 0x2F010D7C: mov dword ptr [eax + 8], edx */ 13851 edx = MEM32(ecx); /* 0x2F010D7F: mov edx, dword ptr [ecx] */ 13852 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010D81: cmp edx, dword ptr [esi + 8] */ 13853 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13854 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13855 _flag_k = FK_CMP; 13856 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010D89; /* 0x2F010D84: je 0x2f010d89 */ 13857 L_2F010D86: 13858 MEM32(edx + 0x4) = eax; /* 0x2F010D86: mov dword ptr [edx + 4], eax */ 13859 L_2F010D89: 13860 edx = MEM32(eax + 0x4); /* 0x2F010D89: mov edx, dword ptr [eax + 4] */ 13861 MEM32(ecx + 0x4) = edx; /* 0x2F010D8C: mov dword ptr [ecx + 4], edx */ 13862 edx = MEM32(esi + 0x4); /* 0x2F010D8F: mov edx, dword ptr [esi + 4] */ 13863 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010D92: cmp eax, dword ptr [edx + 4] */ 13864 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 13865 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13866 _flag_k = FK_CMP; 13867 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010D9C; /* 0x2F010D95: jne 0x2f010d9c */ 13868 L_2F010D97: 13869 MEM32(edx + 0x4) = ecx; /* 0x2F010D97: mov dword ptr [edx + 4], ecx */ 13870 goto L_2F010DAA; /* 0x2F010D9A: jmp 0x2f010daa */ 13871 L_2F010D9C: 13872 edx = MEM32(eax + 0x4); /* 0x2F010D9C: mov edx, dword ptr [eax + 4] */ 13873 /* cmp eax, MEM32(edx) */ /* 0x2F010D9F: cmp eax, dword ptr [edx] */ 13874 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 13875 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13876 _flag_k = FK_CMP; 13877 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010DA7; /* 0x2F010DA1: jne 0x2f010da7 */ 13878 L_2F010DA3: 13879 MEM32(edx) = ecx; /* 0x2F010DA3: mov dword ptr [edx], ecx */ 13880 goto L_2F010DAA; /* 0x2F010DA5: jmp 0x2f010daa */ 13881 L_2F010DA7: 13882 MEM32(edx + 0x8) = ecx; /* 0x2F010DA7: mov dword ptr [edx + 8], ecx */ 13883 L_2F010DAA: 13884 MEM32(ecx) = eax; /* 0x2F010DAA: mov dword ptr [ecx], eax */ 13885 MEM32(eax + 0x4) = ecx; /* 0x2F010DAC: mov dword ptr [eax + 4], ecx */ 13886 L_2F010DAF: 13887 ecx = MEM32(eax + 0x4); /* 0x2F010DAF: mov ecx, dword ptr [eax + 4] */ 13888 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010DB2: mov byte ptr [ecx + 0x24], bl */ 13889 edx = MEM32(eax + 0x4); /* 0x2F010DB5: mov edx, dword ptr [eax + 4] */ 13890 ecx = MEM32(edx + 0x4); /* 0x2F010DB8: mov ecx, dword ptr [edx + 4] */ 13891 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010DBB: mov byte ptr [ecx + 0x24], 0 */ 13892 edx = MEM32(eax + 0x4); /* 0x2F010DBF: mov edx, dword ptr [eax + 4] */ 13893 ecx = MEM32(edx + 0x4); /* 0x2F010DC2: mov ecx, dword ptr [edx + 4] */ 13894 edx = MEM32(ecx); /* 0x2F010DC5: mov edx, dword ptr [ecx] */ 13895 edi = MEM32(edx + 0x8); /* 0x2F010DC7: mov edi, dword ptr [edx + 8] */ 13896 MEM32(ecx) = edi; /* 0x2F010DCA: mov dword ptr [ecx], edi */ 13897 edi = MEM32(edx + 0x8); /* 0x2F010DCC: mov edi, dword ptr [edx + 8] */ 13898 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010DCF: cmp edi, dword ptr [esi + 8] */ 13899 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13900 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13901 _flag_k = FK_CMP; 13902 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010DD7; /* 0x2F010DD2: je 0x2f010dd7 */ 13903 L_2F010DD4: 13904 MEM32(edi + 0x4) = ecx; /* 0x2F010DD4: mov dword ptr [edi + 4], ecx */ 13905 L_2F010DD7: 13906 edi = MEM32(ecx + 0x4); /* 0x2F010DD7: mov edi, dword ptr [ecx + 4] */ 13907 MEM32(edx + 0x4) = edi; /* 0x2F010DDA: mov dword ptr [edx + 4], edi */ 13908 edi = MEM32(esi + 0x4); /* 0x2F010DDD: mov edi, dword ptr [esi + 4] */ 13909 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010DE0: cmp ecx, dword ptr [edi + 4] */ 13910 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 13911 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13912 _flag_k = FK_CMP; 13913 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010DF0; /* 0x2F010DE3: jne 0x2f010df0 */ 13914 L_2F010DE5: 13915 MEM32(edi + 0x4) = edx; /* 0x2F010DE5: mov dword ptr [edi + 4], edx */ 13916 MEM32(edx + 0x8) = ecx; /* 0x2F010DE8: mov dword ptr [edx + 8], ecx */ 13917 goto L_2F010EA2; /* 0x2F010DEB: jmp 0x2f010ea2 */ 13918 L_2F010DF0: 13919 edi = MEM32(ecx + 0x4); /* 0x2F010DF0: mov edi, dword ptr [ecx + 4] */ 13920 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2F010DF3: cmp ecx, dword ptr [edi + 8] */ 13921 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13922 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13923 _flag_k = FK_CMP; 13924 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E03; /* 0x2F010DF6: jne 0x2f010e03 */ 13925 L_2F010DF8: 13926 MEM32(edi + 0x8) = edx; /* 0x2F010DF8: mov dword ptr [edi + 8], edx */ 13927 MEM32(edx + 0x8) = ecx; /* 0x2F010DFB: mov dword ptr [edx + 8], ecx */ 13928 goto L_2F010EA2; /* 0x2F010DFE: jmp 0x2f010ea2 */ 13929 L_2F010E03: 13930 MEM32(edi) = edx; /* 0x2F010E03: mov dword ptr [edi], edx */ 13931 MEM32(edx + 0x8) = ecx; /* 0x2F010E05: mov dword ptr [edx + 8], ecx */ 13932 goto L_2F010EA2; /* 0x2F010E08: jmp 0x2f010ea2 */ 13933 L_2F010E0D: 13934 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2F010E0D: cmp byte ptr [edx + 0x24], 0 */ 13935 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 13936 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13937 _flag_k = FK_NARROW(FK_CMP, 24); 13938 RECOMP_BACKEDGE(); 13939 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010D55; /* 0x2F010E11: je 0x2f010d55 */ 13940 L_2F010E17: 13941 /* cmp eax, MEM32(ecx) */ /* 0x2F010E17: cmp eax, dword ptr [ecx] */ 13942 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 13943 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13944 _flag_k = FK_CMP; 13945 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E57; /* 0x2F010E19: jne 0x2f010e57 */ 13946 L_2F010E1B: 13947 eax = ecx; /* 0x2F010E1B: mov eax, ecx */ 13948 ecx = MEM32(eax); /* 0x2F010E1D: mov ecx, dword ptr [eax] */ 13949 edx = MEM32(ecx + 0x8); /* 0x2F010E1F: mov edx, dword ptr [ecx + 8] */ 13950 MEM32(eax) = edx; /* 0x2F010E22: mov dword ptr [eax], edx */ 13951 edx = MEM32(ecx + 0x8); /* 0x2F010E24: mov edx, dword ptr [ecx + 8] */ 13952 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010E27: cmp edx, dword ptr [esi + 8] */ 13953 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13954 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13955 _flag_k = FK_CMP; 13956 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010E2F; /* 0x2F010E2A: je 0x2f010e2f */ 13957 L_2F010E2C: 13958 MEM32(edx + 0x4) = eax; /* 0x2F010E2C: mov dword ptr [edx + 4], eax */ 13959 L_2F010E2F: 13960 edx = MEM32(eax + 0x4); /* 0x2F010E2F: mov edx, dword ptr [eax + 4] */ 13961 MEM32(ecx + 0x4) = edx; /* 0x2F010E32: mov dword ptr [ecx + 4], edx */ 13962 edx = MEM32(esi + 0x4); /* 0x2F010E35: mov edx, dword ptr [esi + 4] */ 13963 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010E38: cmp eax, dword ptr [edx + 4] */ 13964 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 13965 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13966 _flag_k = FK_CMP; 13967 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E42; /* 0x2F010E3B: jne 0x2f010e42 */ 13968 L_2F010E3D: 13969 MEM32(edx + 0x4) = ecx; /* 0x2F010E3D: mov dword ptr [edx + 4], ecx */ 13970 goto L_2F010E51; /* 0x2F010E40: jmp 0x2f010e51 */ 13971 L_2F010E42: 13972 edx = MEM32(eax + 0x4); /* 0x2F010E42: mov edx, dword ptr [eax + 4] */ 13973 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2F010E45: cmp eax, dword ptr [edx + 8] */ 13974 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 13975 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13976 _flag_k = FK_CMP; 13977 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E4F; /* 0x2F010E48: jne 0x2f010e4f */ 13978 L_2F010E4A: 13979 MEM32(edx + 0x8) = ecx; /* 0x2F010E4A: mov dword ptr [edx + 8], ecx */ 13980 goto L_2F010E51; /* 0x2F010E4D: jmp 0x2f010e51 */ 13981 L_2F010E4F: 13982 MEM32(edx) = ecx; /* 0x2F010E4F: mov dword ptr [edx], ecx */ 13983 L_2F010E51: 13984 MEM32(ecx + 0x8) = eax; /* 0x2F010E51: mov dword ptr [ecx + 8], eax */ 13985 MEM32(eax + 0x4) = ecx; /* 0x2F010E54: mov dword ptr [eax + 4], ecx */ 13986 L_2F010E57: 13987 ecx = MEM32(eax + 0x4); /* 0x2F010E57: mov ecx, dword ptr [eax + 4] */ 13988 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010E5A: mov byte ptr [ecx + 0x24], bl */ 13989 edx = MEM32(eax + 0x4); /* 0x2F010E5D: mov edx, dword ptr [eax + 4] */ 13990 ecx = MEM32(edx + 0x4); /* 0x2F010E60: mov ecx, dword ptr [edx + 4] */ 13991 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010E63: mov byte ptr [ecx + 0x24], 0 */ 13992 edx = MEM32(eax + 0x4); /* 0x2F010E67: mov edx, dword ptr [eax + 4] */ 13993 ecx = MEM32(edx + 0x4); /* 0x2F010E6A: mov ecx, dword ptr [edx + 4] */ 13994 edx = MEM32(ecx + 0x8); /* 0x2F010E6D: mov edx, dword ptr [ecx + 8] */ 13995 edi = MEM32(edx); /* 0x2F010E70: mov edi, dword ptr [edx] */ 13996 MEM32(ecx + 0x8) = edi; /* 0x2F010E72: mov dword ptr [ecx + 8], edi */ 13997 edi = MEM32(edx); /* 0x2F010E75: mov edi, dword ptr [edx] */ 13998 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010E77: cmp edi, dword ptr [esi + 8] */ 13999 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 14000 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14001 _flag_k = FK_CMP; 14002 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010E7F; /* 0x2F010E7A: je 0x2f010e7f */ 14003 L_2F010E7C: 14004 MEM32(edi + 0x4) = ecx; /* 0x2F010E7C: mov dword ptr [edi + 4], ecx */ 14005 L_2F010E7F: 14006 edi = MEM32(ecx + 0x4); /* 0x2F010E7F: mov edi, dword ptr [ecx + 4] */ 14007 MEM32(edx + 0x4) = edi; /* 0x2F010E82: mov dword ptr [edx + 4], edi */ 14008 edi = MEM32(esi + 0x4); /* 0x2F010E85: mov edi, dword ptr [esi + 4] */ 14009 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010E88: cmp ecx, dword ptr [edi + 4] */ 14010 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 14011 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14012 _flag_k = FK_CMP; 14013 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E92; /* 0x2F010E8B: jne 0x2f010e92 */ 14014 L_2F010E8D: 14015 MEM32(edi + 0x4) = edx; /* 0x2F010E8D: mov dword ptr [edi + 4], edx */ 14016 goto L_2F010EA0; /* 0x2F010E90: jmp 0x2f010ea0 */ 14017 L_2F010E92: 14018 edi = MEM32(ecx + 0x4); /* 0x2F010E92: mov edi, dword ptr [ecx + 4] */ 14019 /* cmp ecx, MEM32(edi) */ /* 0x2F010E95: cmp ecx, dword ptr [edi] */ 14020 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 14021 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14022 _flag_k = FK_CMP; 14023 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E9D; /* 0x2F010E97: jne 0x2f010e9d */ 14024 L_2F010E99: 14025 MEM32(edi) = edx; /* 0x2F010E99: mov dword ptr [edi], edx */ 14026 goto L_2F010EA0; /* 0x2F010E9B: jmp 0x2f010ea0 */ 14027 L_2F010E9D: 14028 MEM32(edi + 0x8) = edx; /* 0x2F010E9D: mov dword ptr [edi + 8], edx */ 14029 L_2F010EA0: 14030 MEM32(edx) = ecx; /* 0x2F010EA0: mov dword ptr [edx], ecx */ 14031 L_2F010EA2: 14032 MEM32(ecx + 0x4) = edx; /* 0x2F010EA2: mov dword ptr [ecx + 4], edx */ 14033 L_2F010EA5: 14034 ecx = MEM32(esi + 0x4); /* 0x2F010EA5: mov ecx, dword ptr [esi + 4] */ 14035 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F010EA8: cmp eax, dword ptr [ecx + 4] */ 14036 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 14037 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14038 _flag_k = FK_CMP; 14039 RECOMP_BACKEDGE(); 14040 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010D31; /* 0x2F010EAB: jne 0x2f010d31 */ 14041 L_2F010EB1: 14042 edx = MEM32(esi + 0x4); /* 0x2F010EB1: mov edx, dword ptr [esi + 4] */ 14043 ecx = MEM32(ebp + (-0x4)); /* 0x2F010EB4: mov ecx, dword ptr [ebp - 4] */ 14044 edi = POP32_VAL(esp); /* 0x2F010EB7: pop edi */ 14045 esi = POP32_VAL(esp); /* 0x2F010EB8: pop esi */ 14046 eax = MEM32(edx + 0x4); /* 0x2F010EB9: mov eax, dword ptr [edx + 4] */ 14047 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010EBC: mov byte ptr [eax + 0x24], bl */ 14048 eax = MEM32(ebp + 0x8); /* 0x2F010EBF: mov eax, dword ptr [ebp + 8] */ 14049 ebx = POP32_VAL(esp); /* 0x2F010EC2: pop ebx */ 14050 MEM32(eax) = ecx; /* 0x2F010EC3: mov dword ptr [eax], ecx */ 14051 esp = ebp; /* 0x2F010EC5: mov esp, ebp */ 14052 ebp = POP32_VAL(esp); /* 0x2F010EC7: pop ebp */ 14053 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2F010EC8: ret 0x10 */ 14054 RECOMP_REGS_OUT(); 14055 } 14056 14057 void sub_2F010EA5(void) { 14058 int _fpu_cmp = 0; 14059 uint32_t _cf = 0; 14060 int _df = 1; 14061 uint32_t _flag_k = FK_NONE; 14062 uint32_t _flag_a = 0, _flag_b = 0; 14063 uint32_t _itail_tgt = 0; 14064 RECOMP_REGS_LOCALS 14065 RECOMP_ENTER(0x2F010EA5u); 14066 14067 goto L_2F010EA5; 14068 L_2F010D31: 14069 ecx = MEM32(eax + 0x4); /* 0x2F010D31: mov ecx, dword ptr [eax + 4] */ 14070 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x2F010D34: mov dl, byte ptr [ecx + 0x24] */ 14071 /* test LO8(edx), LO8(edx) */ /* 0x2F010D37: test dl, dl */ 14072 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 14073 _cf = 0; 14074 _flag_k = FK_NARROW(FK_TEST, 24); 14075 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F010EB1; /* 0x2F010D39: jne 0x2f010eb1 */ 14076 L_2F010D3F: 14077 edi = MEM32(ecx + 0x4); /* 0x2F010D3F: mov edi, dword ptr [ecx + 4] */ 14078 edx = MEM32(edi); /* 0x2F010D42: mov edx, dword ptr [edi] */ 14079 /* cmp ecx, edx */ /* 0x2F010D44: cmp ecx, edx */ 14080 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 14081 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14082 _flag_k = FK_CMP; 14083 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E0D; /* 0x2F010D46: jne 0x2f010e0d */ 14084 L_2F010D4C: 14085 edx = MEM32(edi + 0x8); /* 0x2F010D4C: mov edx, dword ptr [edi + 8] */ 14086 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2F010D4F: cmp byte ptr [edx + 0x24], 0 */ 14087 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 14088 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14089 _flag_k = FK_NARROW(FK_CMP, 24); 14090 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010D70; /* 0x2F010D53: jne 0x2f010d70 */ 14091 L_2F010D55: 14092 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010D55: mov byte ptr [ecx + 0x24], bl */ 14093 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010D58: mov byte ptr [edx + 0x24], bl */ 14094 ecx = MEM32(eax + 0x4); /* 0x2F010D5B: mov ecx, dword ptr [eax + 4] */ 14095 edx = MEM32(ecx + 0x4); /* 0x2F010D5E: mov edx, dword ptr [ecx + 4] */ 14096 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x2F010D61: mov byte ptr [edx + 0x24], 0 */ 14097 eax = MEM32(eax + 0x4); /* 0x2F010D65: mov eax, dword ptr [eax + 4] */ 14098 eax = MEM32(eax + 0x4); /* 0x2F010D68: mov eax, dword ptr [eax + 4] */ 14099 goto L_2F010EA5; /* 0x2F010D6B: jmp 0x2f010ea5 */ 14100 L_2F010D70: 14101 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2F010D70: cmp eax, dword ptr [ecx + 8] */ 14102 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 14103 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14104 _flag_k = FK_CMP; 14105 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010DAF; /* 0x2F010D73: jne 0x2f010daf */ 14106 L_2F010D75: 14107 eax = ecx; /* 0x2F010D75: mov eax, ecx */ 14108 ecx = MEM32(eax + 0x8); /* 0x2F010D77: mov ecx, dword ptr [eax + 8] */ 14109 edx = MEM32(ecx); /* 0x2F010D7A: mov edx, dword ptr [ecx] */ 14110 MEM32(eax + 0x8) = edx; /* 0x2F010D7C: mov dword ptr [eax + 8], edx */ 14111 edx = MEM32(ecx); /* 0x2F010D7F: mov edx, dword ptr [ecx] */ 14112 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010D81: cmp edx, dword ptr [esi + 8] */ 14113 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 14114 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14115 _flag_k = FK_CMP; 14116 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010D89; /* 0x2F010D84: je 0x2f010d89 */ 14117 L_2F010D86: 14118 MEM32(edx + 0x4) = eax; /* 0x2F010D86: mov dword ptr [edx + 4], eax */ 14119 L_2F010D89: 14120 edx = MEM32(eax + 0x4); /* 0x2F010D89: mov edx, dword ptr [eax + 4] */ 14121 MEM32(ecx + 0x4) = edx; /* 0x2F010D8C: mov dword ptr [ecx + 4], edx */ 14122 edx = MEM32(esi + 0x4); /* 0x2F010D8F: mov edx, dword ptr [esi + 4] */ 14123 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010D92: cmp eax, dword ptr [edx + 4] */ 14124 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 14125 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14126 _flag_k = FK_CMP; 14127 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010D9C; /* 0x2F010D95: jne 0x2f010d9c */ 14128 L_2F010D97: 14129 MEM32(edx + 0x4) = ecx; /* 0x2F010D97: mov dword ptr [edx + 4], ecx */ 14130 goto L_2F010DAA; /* 0x2F010D9A: jmp 0x2f010daa */ 14131 L_2F010D9C: 14132 edx = MEM32(eax + 0x4); /* 0x2F010D9C: mov edx, dword ptr [eax + 4] */ 14133 /* cmp eax, MEM32(edx) */ /* 0x2F010D9F: cmp eax, dword ptr [edx] */ 14134 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 14135 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14136 _flag_k = FK_CMP; 14137 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010DA7; /* 0x2F010DA1: jne 0x2f010da7 */ 14138 L_2F010DA3: 14139 MEM32(edx) = ecx; /* 0x2F010DA3: mov dword ptr [edx], ecx */ 14140 goto L_2F010DAA; /* 0x2F010DA5: jmp 0x2f010daa */ 14141 L_2F010DA7: 14142 MEM32(edx + 0x8) = ecx; /* 0x2F010DA7: mov dword ptr [edx + 8], ecx */ 14143 L_2F010DAA: 14144 MEM32(ecx) = eax; /* 0x2F010DAA: mov dword ptr [ecx], eax */ 14145 MEM32(eax + 0x4) = ecx; /* 0x2F010DAC: mov dword ptr [eax + 4], ecx */ 14146 L_2F010DAF: 14147 ecx = MEM32(eax + 0x4); /* 0x2F010DAF: mov ecx, dword ptr [eax + 4] */ 14148 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010DB2: mov byte ptr [ecx + 0x24], bl */ 14149 edx = MEM32(eax + 0x4); /* 0x2F010DB5: mov edx, dword ptr [eax + 4] */ 14150 ecx = MEM32(edx + 0x4); /* 0x2F010DB8: mov ecx, dword ptr [edx + 4] */ 14151 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010DBB: mov byte ptr [ecx + 0x24], 0 */ 14152 edx = MEM32(eax + 0x4); /* 0x2F010DBF: mov edx, dword ptr [eax + 4] */ 14153 ecx = MEM32(edx + 0x4); /* 0x2F010DC2: mov ecx, dword ptr [edx + 4] */ 14154 edx = MEM32(ecx); /* 0x2F010DC5: mov edx, dword ptr [ecx] */ 14155 edi = MEM32(edx + 0x8); /* 0x2F010DC7: mov edi, dword ptr [edx + 8] */ 14156 MEM32(ecx) = edi; /* 0x2F010DCA: mov dword ptr [ecx], edi */ 14157 edi = MEM32(edx + 0x8); /* 0x2F010DCC: mov edi, dword ptr [edx + 8] */ 14158 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010DCF: cmp edi, dword ptr [esi + 8] */ 14159 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 14160 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14161 _flag_k = FK_CMP; 14162 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010DD7; /* 0x2F010DD2: je 0x2f010dd7 */ 14163 L_2F010DD4: 14164 MEM32(edi + 0x4) = ecx; /* 0x2F010DD4: mov dword ptr [edi + 4], ecx */ 14165 L_2F010DD7: 14166 edi = MEM32(ecx + 0x4); /* 0x2F010DD7: mov edi, dword ptr [ecx + 4] */ 14167 MEM32(edx + 0x4) = edi; /* 0x2F010DDA: mov dword ptr [edx + 4], edi */ 14168 edi = MEM32(esi + 0x4); /* 0x2F010DDD: mov edi, dword ptr [esi + 4] */ 14169 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010DE0: cmp ecx, dword ptr [edi + 4] */ 14170 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 14171 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14172 _flag_k = FK_CMP; 14173 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010DF0; /* 0x2F010DE3: jne 0x2f010df0 */ 14174 L_2F010DE5: 14175 MEM32(edi + 0x4) = edx; /* 0x2F010DE5: mov dword ptr [edi + 4], edx */ 14176 MEM32(edx + 0x8) = ecx; /* 0x2F010DE8: mov dword ptr [edx + 8], ecx */ 14177 goto L_2F010EA2; /* 0x2F010DEB: jmp 0x2f010ea2 */ 14178 L_2F010DF0: 14179 edi = MEM32(ecx + 0x4); /* 0x2F010DF0: mov edi, dword ptr [ecx + 4] */ 14180 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2F010DF3: cmp ecx, dword ptr [edi + 8] */ 14181 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 14182 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14183 _flag_k = FK_CMP; 14184 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E03; /* 0x2F010DF6: jne 0x2f010e03 */ 14185 L_2F010DF8: 14186 MEM32(edi + 0x8) = edx; /* 0x2F010DF8: mov dword ptr [edi + 8], edx */ 14187 MEM32(edx + 0x8) = ecx; /* 0x2F010DFB: mov dword ptr [edx + 8], ecx */ 14188 goto L_2F010EA2; /* 0x2F010DFE: jmp 0x2f010ea2 */ 14189 L_2F010E03: 14190 MEM32(edi) = edx; /* 0x2F010E03: mov dword ptr [edi], edx */ 14191 MEM32(edx + 0x8) = ecx; /* 0x2F010E05: mov dword ptr [edx + 8], ecx */ 14192 goto L_2F010EA2; /* 0x2F010E08: jmp 0x2f010ea2 */ 14193 L_2F010E0D: 14194 /* cmp MEM8(edx + 0x24), 0 */ /* 0x2F010E0D: cmp byte ptr [edx + 0x24], 0 */ 14195 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 14196 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14197 _flag_k = FK_NARROW(FK_CMP, 24); 14198 RECOMP_BACKEDGE(); 14199 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010D55; /* 0x2F010E11: je 0x2f010d55 */ 14200 L_2F010E17: 14201 /* cmp eax, MEM32(ecx) */ /* 0x2F010E17: cmp eax, dword ptr [ecx] */ 14202 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 14203 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14204 _flag_k = FK_CMP; 14205 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E57; /* 0x2F010E19: jne 0x2f010e57 */ 14206 L_2F010E1B: 14207 eax = ecx; /* 0x2F010E1B: mov eax, ecx */ 14208 ecx = MEM32(eax); /* 0x2F010E1D: mov ecx, dword ptr [eax] */ 14209 edx = MEM32(ecx + 0x8); /* 0x2F010E1F: mov edx, dword ptr [ecx + 8] */ 14210 MEM32(eax) = edx; /* 0x2F010E22: mov dword ptr [eax], edx */ 14211 edx = MEM32(ecx + 0x8); /* 0x2F010E24: mov edx, dword ptr [ecx + 8] */ 14212 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2F010E27: cmp edx, dword ptr [esi + 8] */ 14213 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 14214 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14215 _flag_k = FK_CMP; 14216 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010E2F; /* 0x2F010E2A: je 0x2f010e2f */ 14217 L_2F010E2C: 14218 MEM32(edx + 0x4) = eax; /* 0x2F010E2C: mov dword ptr [edx + 4], eax */ 14219 L_2F010E2F: 14220 edx = MEM32(eax + 0x4); /* 0x2F010E2F: mov edx, dword ptr [eax + 4] */ 14221 MEM32(ecx + 0x4) = edx; /* 0x2F010E32: mov dword ptr [ecx + 4], edx */ 14222 edx = MEM32(esi + 0x4); /* 0x2F010E35: mov edx, dword ptr [esi + 4] */ 14223 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2F010E38: cmp eax, dword ptr [edx + 4] */ 14224 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 14225 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14226 _flag_k = FK_CMP; 14227 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E42; /* 0x2F010E3B: jne 0x2f010e42 */ 14228 L_2F010E3D: 14229 MEM32(edx + 0x4) = ecx; /* 0x2F010E3D: mov dword ptr [edx + 4], ecx */ 14230 goto L_2F010E51; /* 0x2F010E40: jmp 0x2f010e51 */ 14231 L_2F010E42: 14232 edx = MEM32(eax + 0x4); /* 0x2F010E42: mov edx, dword ptr [eax + 4] */ 14233 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2F010E45: cmp eax, dword ptr [edx + 8] */ 14234 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 14235 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14236 _flag_k = FK_CMP; 14237 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E4F; /* 0x2F010E48: jne 0x2f010e4f */ 14238 L_2F010E4A: 14239 MEM32(edx + 0x8) = ecx; /* 0x2F010E4A: mov dword ptr [edx + 8], ecx */ 14240 goto L_2F010E51; /* 0x2F010E4D: jmp 0x2f010e51 */ 14241 L_2F010E4F: 14242 MEM32(edx) = ecx; /* 0x2F010E4F: mov dword ptr [edx], ecx */ 14243 L_2F010E51: 14244 MEM32(ecx + 0x8) = eax; /* 0x2F010E51: mov dword ptr [ecx + 8], eax */ 14245 MEM32(eax + 0x4) = ecx; /* 0x2F010E54: mov dword ptr [eax + 4], ecx */ 14246 L_2F010E57: 14247 ecx = MEM32(eax + 0x4); /* 0x2F010E57: mov ecx, dword ptr [eax + 4] */ 14248 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010E5A: mov byte ptr [ecx + 0x24], bl */ 14249 edx = MEM32(eax + 0x4); /* 0x2F010E5D: mov edx, dword ptr [eax + 4] */ 14250 ecx = MEM32(edx + 0x4); /* 0x2F010E60: mov ecx, dword ptr [edx + 4] */ 14251 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x2F010E63: mov byte ptr [ecx + 0x24], 0 */ 14252 edx = MEM32(eax + 0x4); /* 0x2F010E67: mov edx, dword ptr [eax + 4] */ 14253 ecx = MEM32(edx + 0x4); /* 0x2F010E6A: mov ecx, dword ptr [edx + 4] */ 14254 edx = MEM32(ecx + 0x8); /* 0x2F010E6D: mov edx, dword ptr [ecx + 8] */ 14255 edi = MEM32(edx); /* 0x2F010E70: mov edi, dword ptr [edx] */ 14256 MEM32(ecx + 0x8) = edi; /* 0x2F010E72: mov dword ptr [ecx + 8], edi */ 14257 edi = MEM32(edx); /* 0x2F010E75: mov edi, dword ptr [edx] */ 14258 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2F010E77: cmp edi, dword ptr [esi + 8] */ 14259 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 14260 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14261 _flag_k = FK_CMP; 14262 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010E7F; /* 0x2F010E7A: je 0x2f010e7f */ 14263 L_2F010E7C: 14264 MEM32(edi + 0x4) = ecx; /* 0x2F010E7C: mov dword ptr [edi + 4], ecx */ 14265 L_2F010E7F: 14266 edi = MEM32(ecx + 0x4); /* 0x2F010E7F: mov edi, dword ptr [ecx + 4] */ 14267 MEM32(edx + 0x4) = edi; /* 0x2F010E82: mov dword ptr [edx + 4], edi */ 14268 edi = MEM32(esi + 0x4); /* 0x2F010E85: mov edi, dword ptr [esi + 4] */ 14269 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2F010E88: cmp ecx, dword ptr [edi + 4] */ 14270 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 14271 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14272 _flag_k = FK_CMP; 14273 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E92; /* 0x2F010E8B: jne 0x2f010e92 */ 14274 L_2F010E8D: 14275 MEM32(edi + 0x4) = edx; /* 0x2F010E8D: mov dword ptr [edi + 4], edx */ 14276 goto L_2F010EA0; /* 0x2F010E90: jmp 0x2f010ea0 */ 14277 L_2F010E92: 14278 edi = MEM32(ecx + 0x4); /* 0x2F010E92: mov edi, dword ptr [ecx + 4] */ 14279 /* cmp ecx, MEM32(edi) */ /* 0x2F010E95: cmp ecx, dword ptr [edi] */ 14280 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 14281 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14282 _flag_k = FK_CMP; 14283 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010E9D; /* 0x2F010E97: jne 0x2f010e9d */ 14284 L_2F010E99: 14285 MEM32(edi) = edx; /* 0x2F010E99: mov dword ptr [edi], edx */ 14286 goto L_2F010EA0; /* 0x2F010E9B: jmp 0x2f010ea0 */ 14287 L_2F010E9D: 14288 MEM32(edi + 0x8) = edx; /* 0x2F010E9D: mov dword ptr [edi + 8], edx */ 14289 L_2F010EA0: 14290 MEM32(edx) = ecx; /* 0x2F010EA0: mov dword ptr [edx], ecx */ 14291 L_2F010EA2: 14292 MEM32(ecx + 0x4) = edx; /* 0x2F010EA2: mov dword ptr [ecx + 4], edx */ 14293 L_2F010EA5: 14294 ecx = MEM32(esi + 0x4); /* 0x2F010EA5: mov ecx, dword ptr [esi + 4] */ 14295 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2F010EA8: cmp eax, dword ptr [ecx + 4] */ 14296 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 14297 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14298 _flag_k = FK_CMP; 14299 RECOMP_BACKEDGE(); 14300 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010D31; /* 0x2F010EAB: jne 0x2f010d31 */ 14301 L_2F010EB1: 14302 edx = MEM32(esi + 0x4); /* 0x2F010EB1: mov edx, dword ptr [esi + 4] */ 14303 ecx = MEM32(ebp + (-0x4)); /* 0x2F010EB4: mov ecx, dword ptr [ebp - 4] */ 14304 edi = POP32_VAL(esp); /* 0x2F010EB7: pop edi */ 14305 esi = POP32_VAL(esp); /* 0x2F010EB8: pop esi */ 14306 eax = MEM32(edx + 0x4); /* 0x2F010EB9: mov eax, dword ptr [edx + 4] */ 14307 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010EBC: mov byte ptr [eax + 0x24], bl */ 14308 eax = MEM32(ebp + 0x8); /* 0x2F010EBF: mov eax, dword ptr [ebp + 8] */ 14309 ebx = POP32_VAL(esp); /* 0x2F010EC2: pop ebx */ 14310 MEM32(eax) = ecx; /* 0x2F010EC3: mov dword ptr [eax], ecx */ 14311 esp = ebp; /* 0x2F010EC5: mov esp, ebp */ 14312 ebp = POP32_VAL(esp); /* 0x2F010EC7: pop ebp */ 14313 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2F010EC8: ret 0x10 */ 14314 RECOMP_REGS_OUT(); 14315 } 14316 14317 void sub_2F010EB1(void) { 14318 int _fpu_cmp = 0; 14319 uint32_t _cf = 0; 14320 int _df = 1; 14321 uint32_t _flag_k = FK_NONE; 14322 uint32_t _flag_a = 0, _flag_b = 0; 14323 uint32_t _itail_tgt = 0; 14324 RECOMP_REGS_LOCALS 14325 RECOMP_ENTER(0x2F010EB1u); 14326 14327 L_2F010EB1: 14328 edx = MEM32(esi + 0x4); /* 0x2F010EB1: mov edx, dword ptr [esi + 4] */ 14329 ecx = MEM32(ebp + (-0x4)); /* 0x2F010EB4: mov ecx, dword ptr [ebp - 4] */ 14330 edi = POP32_VAL(esp); /* 0x2F010EB7: pop edi */ 14331 esi = POP32_VAL(esp); /* 0x2F010EB8: pop esi */ 14332 eax = MEM32(edx + 0x4); /* 0x2F010EB9: mov eax, dword ptr [edx + 4] */ 14333 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x2F010EBC: mov byte ptr [eax + 0x24], bl */ 14334 eax = MEM32(ebp + 0x8); /* 0x2F010EBF: mov eax, dword ptr [ebp + 8] */ 14335 ebx = POP32_VAL(esp); /* 0x2F010EC2: pop ebx */ 14336 MEM32(eax) = ecx; /* 0x2F010EC3: mov dword ptr [eax], ecx */ 14337 esp = ebp; /* 0x2F010EC5: mov esp, ebp */ 14338 ebp = POP32_VAL(esp); /* 0x2F010EC7: pop ebp */ 14339 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2F010EC8: ret 0x10 */ 14340 RECOMP_REGS_OUT(); 14341 } 14342 14343 void sub_2F010ED0(void) { 14344 int _fpu_cmp = 0; 14345 uint32_t _cf = 0; 14346 int _df = 1; 14347 uint32_t _flag_k = FK_NONE; 14348 uint32_t _flag_a = 0, _flag_b = 0; 14349 uint32_t _itail_tgt = 0; 14350 RECOMP_REGS_LOCALS 14351 RECOMP_ENTER(0x2F010ED0u); 14352 14353 L_2F010ED0: 14354 PUSH32(esp, ebp); /* 0x2F010ED0: push ebp */ 14355 ebp = esp; /* 0x2F010ED1: mov ebp, esp */ 14356 PUSH32(esp, ecx); /* 0x2F010ED3: push ecx */ 14357 PUSH32(esp, ebx); /* 0x2F010ED4: push ebx */ 14358 ebx = MEM32(ebp + 0x8); /* 0x2F010ED5: mov ebx, dword ptr [ebp + 8] */ 14359 PUSH32(esp, edi); /* 0x2F010ED8: push edi */ 14360 edi = ecx; /* 0x2F010ED9: mov edi, ecx */ 14361 SET_LO8(ecx, MEM8(ebx + 0x21)); /* 0x2F010EDB: mov cl, byte ptr [ebx + 0x21] */ 14362 eax = MEM32(edi + 0x8); /* 0x2F010EDE: mov eax, dword ptr [edi + 8] */ 14363 /* test LO8(ecx), LO8(ecx) */ /* 0x2F010EE1: test cl, cl */ 14364 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 14365 _cf = 0; 14366 _flag_k = FK_NARROW(FK_TEST, 24); 14367 MEM32(ebp + (-0x4)) = eax; /* 0x2F010EE3: mov dword ptr [ebp - 4], eax */ 14368 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F010F50; /* 0x2F010EE6: jne 0x2f010f50 */ 14369 L_2F010EE8: 14370 SET_LO8(eax, MEM8(ebx + 0x20)); /* 0x2F010EE8: mov al, byte ptr [ebx + 0x20] */ 14371 PUSH32(esp, esi); /* 0x2F010EEB: push esi */ 14372 PUSH32(esp, 0x24u); /* 0x2F010EEC: push 0x24 */ 14373 MEM8(ebp + 0xB) = (uint8_t)(LO8(eax)); /* 0x2F010EEE: mov byte ptr [ebp + 0xb], al */ 14374 RECOMP_ICALL(0x2F0117DCu); /* 0x2F010EF1: call 0x2f0117dc */ /* not lifted */ 14375 RECOMP_FLAGS_IN(); 14376 ecx = MEM32(ebp + 0xC); /* 0x2F010EF6: mov ecx, dword ptr [ebp + 0xc] */ 14377 SET_LO8(edx, MEM8(ebp + 0xB)); /* 0x2F010EF9: mov dl, byte ptr [ebp + 0xb] */ 14378 esi = eax; /* 0x2F010EFC: mov esi, eax */ 14379 eax = ebx + 0xC; /* 0x2F010EFE: lea eax, [ebx + 0xc] */ 14380 PUSH32(esp, eax); /* 0x2F010F01: push eax */ 14381 MEM32(esi + 0x4) = ecx; /* 0x2F010F02: mov dword ptr [esi + 4], ecx */ 14382 ecx = esi + 0xC; /* 0x2F010F05: lea ecx, [esi + 0xc] */ 14383 PUSH32(esp, ecx); /* 0x2F010F08: push ecx */ 14384 MEM8(esi + 0x20) = (uint8_t)(LO8(edx)); /* 0x2F010F09: mov byte ptr [esi + 0x20], dl */ 14385 MEM8(esi + 0x21) = (uint8_t)(0); /* 0x2F010F0C: mov byte ptr [esi + 0x21], 0 */ 14386 RECOMP_ICALL(0x2F0111B0u); /* 0x2F010F10: call 0x2f0111b0 */ /* not lifted */ 14387 RECOMP_FLAGS_IN(); 14388 edx = MEM32(edi + 0x8); /* 0x2F010F15: mov edx, dword ptr [edi + 8] */ 14389 ecx = MEM32(ebp + (-0x4)); /* 0x2F010F18: mov ecx, dword ptr [ebp - 4] */ 14390 MEM32(esi) = edx; /* 0x2F010F1B: mov dword ptr [esi], edx */ 14391 eax = MEM32(edi + 0x8); /* 0x2F010F1D: mov eax, dword ptr [edi + 8] */ 14392 MEM32(esi + 0x8) = eax; /* 0x2F010F20: mov dword ptr [esi + 8], eax */ 14393 eax = MEM32(edi + 0x8); /* 0x2F010F23: mov eax, dword ptr [edi + 8] */ 14394 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 14395 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14396 esp = esp + 0xCu; /* 0x2F010F26: add esp, 0xc */ 14397 _flag_k = FK_ADD; 14398 /* cmp ecx, eax */ /* 0x2F010F29: cmp ecx, eax */ 14399 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 14400 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14401 _flag_k = FK_CMP; 14402 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010F30; /* 0x2F010F2B: jne 0x2f010f30 */ 14403 L_2F010F2D: 14404 MEM32(ebp + (-0x4)) = esi; /* 0x2F010F2D: mov dword ptr [ebp - 4], esi */ 14405 L_2F010F30: 14406 edx = MEM32(ebx); /* 0x2F010F30: mov edx, dword ptr [ebx] */ 14407 PUSH32(esp, esi); /* 0x2F010F32: push esi */ 14408 PUSH32(esp, edx); /* 0x2F010F33: push edx */ 14409 ecx = edi; /* 0x2F010F34: mov ecx, edi */ 14410 RECOMP_ICALL(0x2F010ED0u); /* 0x2F010F36: call 0x2f010ed0 */ /* not lifted */ 14411 RECOMP_FLAGS_IN(); 14412 MEM32(esi) = eax; /* 0x2F010F3B: mov dword ptr [esi], eax */ 14413 eax = MEM32(ebx + 0x8); /* 0x2F010F3D: mov eax, dword ptr [ebx + 8] */ 14414 PUSH32(esp, esi); /* 0x2F010F40: push esi */ 14415 PUSH32(esp, eax); /* 0x2F010F41: push eax */ 14416 ecx = edi; /* 0x2F010F42: mov ecx, edi */ 14417 RECOMP_ICALL(0x2F010ED0u); /* 0x2F010F44: call 0x2f010ed0 */ /* not lifted */ 14418 RECOMP_FLAGS_IN(); 14419 MEM32(esi + 0x8) = eax; /* 0x2F010F49: mov dword ptr [esi + 8], eax */ 14420 eax = MEM32(ebp + (-0x4)); /* 0x2F010F4C: mov eax, dword ptr [ebp - 4] */ 14421 esi = POP32_VAL(esp); /* 0x2F010F4F: pop esi */ 14422 L_2F010F50: 14423 edi = POP32_VAL(esp); /* 0x2F010F50: pop edi */ 14424 ebx = POP32_VAL(esp); /* 0x2F010F51: pop ebx */ 14425 esp = ebp; /* 0x2F010F52: mov esp, ebp */ 14426 ebp = POP32_VAL(esp); /* 0x2F010F54: pop ebp */ 14427 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2F010F55: ret 8 */ 14428 RECOMP_REGS_OUT(); 14429 } 14430 14431 void sub_2F010F60(void) { 14432 int _fpu_cmp = 0; 14433 uint32_t _cf = 0; 14434 int _df = 1; 14435 uint32_t _flag_k = FK_NONE; 14436 uint32_t _flag_a = 0, _flag_b = 0; 14437 uint32_t _itail_tgt = 0; 14438 RECOMP_REGS_LOCALS 14439 RECOMP_ENTER(0x2F010F60u); 14440 14441 L_2F010F60: 14442 PUSH32(esp, ebp); /* 0x2F010F60: push ebp */ 14443 ebp = esp; /* 0x2F010F61: mov ebp, esp */ 14444 edx = MEM32(ebp + 0x8); /* 0x2F010F63: mov edx, dword ptr [ebp + 8] */ 14445 PUSH32(esp, esi); /* 0x2F010F66: push esi */ 14446 eax = MEM32(edx + 0x8); /* 0x2F010F67: mov eax, dword ptr [edx + 8] */ 14447 esi = MEM32(eax); /* 0x2F010F6A: mov esi, dword ptr [eax] */ 14448 MEM32(edx + 0x8) = esi; /* 0x2F010F6C: mov dword ptr [edx + 8], esi */ 14449 esi = MEM32(eax); /* 0x2F010F6F: mov esi, dword ptr [eax] */ 14450 /* cmp esi, MEM32(ecx + 0x8) */ /* 0x2F010F71: cmp esi, dword ptr [ecx + 8] */ 14451 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 14452 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14453 _flag_k = FK_CMP; 14454 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010F79; /* 0x2F010F74: je 0x2f010f79 */ 14455 L_2F010F76: 14456 MEM32(esi + 0x4) = edx; /* 0x2F010F76: mov dword ptr [esi + 4], edx */ 14457 L_2F010F79: 14458 esi = MEM32(edx + 0x4); /* 0x2F010F79: mov esi, dword ptr [edx + 4] */ 14459 MEM32(eax + 0x4) = esi; /* 0x2F010F7C: mov dword ptr [eax + 4], esi */ 14460 ecx = MEM32(ecx + 0x4); /* 0x2F010F7F: mov ecx, dword ptr [ecx + 4] */ 14461 /* cmp edx, MEM32(ecx + 0x4) */ /* 0x2F010F82: cmp edx, dword ptr [ecx + 4] */ 14462 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 14463 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14464 _flag_k = FK_CMP; 14465 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010F94; /* 0x2F010F85: jne 0x2f010f94 */ 14466 L_2F010F87: 14467 MEM32(ecx + 0x4) = eax; /* 0x2F010F87: mov dword ptr [ecx + 4], eax */ 14468 MEM32(eax) = edx; /* 0x2F010F8A: mov dword ptr [eax], edx */ 14469 MEM32(edx + 0x4) = eax; /* 0x2F010F8C: mov dword ptr [edx + 4], eax */ 14470 esi = POP32_VAL(esp); /* 0x2F010F8F: pop esi */ 14471 ebp = POP32_VAL(esp); /* 0x2F010F90: pop ebp */ 14472 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2F010F91: ret 4 */ 14473 L_2F010F94: 14474 ecx = MEM32(edx + 0x4); /* 0x2F010F94: mov ecx, dword ptr [edx + 4] */ 14475 /* cmp edx, MEM32(ecx) */ /* 0x2F010F97: cmp edx, dword ptr [ecx] */ 14476 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ecx)); 14477 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14478 _flag_k = FK_CMP; 14479 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010FA7; /* 0x2F010F99: jne 0x2f010fa7 */ 14480 L_2F010F9B: 14481 MEM32(ecx) = eax; /* 0x2F010F9B: mov dword ptr [ecx], eax */ 14482 MEM32(eax) = edx; /* 0x2F010F9D: mov dword ptr [eax], edx */ 14483 MEM32(edx + 0x4) = eax; /* 0x2F010F9F: mov dword ptr [edx + 4], eax */ 14484 esi = POP32_VAL(esp); /* 0x2F010FA2: pop esi */ 14485 ebp = POP32_VAL(esp); /* 0x2F010FA3: pop ebp */ 14486 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2F010FA4: ret 4 */ 14487 L_2F010FA7: 14488 MEM32(ecx + 0x8) = eax; /* 0x2F010FA7: mov dword ptr [ecx + 8], eax */ 14489 MEM32(eax) = edx; /* 0x2F010FAA: mov dword ptr [eax], edx */ 14490 MEM32(edx + 0x4) = eax; /* 0x2F010FAC: mov dword ptr [edx + 4], eax */ 14491 esi = POP32_VAL(esp); /* 0x2F010FAF: pop esi */ 14492 ebp = POP32_VAL(esp); /* 0x2F010FB0: pop ebp */ 14493 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2F010FB1: ret 4 */ 14494 RECOMP_REGS_OUT(); 14495 } 14496 14497 void sub_2F010FC0(void) { 14498 int _fpu_cmp = 0; 14499 uint32_t _cf = 0; 14500 int _df = 1; 14501 uint32_t _flag_k = FK_NONE; 14502 uint32_t _flag_a = 0, _flag_b = 0; 14503 uint32_t _itail_tgt = 0; 14504 RECOMP_REGS_LOCALS 14505 RECOMP_ENTER(0x2F010FC0u); 14506 14507 L_2F010FC0: 14508 PUSH32(esp, ebp); /* 0x2F010FC0: push ebp */ 14509 ebp = esp; /* 0x2F010FC1: mov ebp, esp */ 14510 edx = MEM32(ebp + 0x8); /* 0x2F010FC3: mov edx, dword ptr [ebp + 8] */ 14511 PUSH32(esp, esi); /* 0x2F010FC6: push esi */ 14512 eax = MEM32(edx); /* 0x2F010FC7: mov eax, dword ptr [edx] */ 14513 esi = MEM32(eax + 0x8); /* 0x2F010FC9: mov esi, dword ptr [eax + 8] */ 14514 MEM32(edx) = esi; /* 0x2F010FCC: mov dword ptr [edx], esi */ 14515 esi = MEM32(eax + 0x8); /* 0x2F010FCE: mov esi, dword ptr [eax + 8] */ 14516 /* cmp esi, MEM32(ecx + 0x8) */ /* 0x2F010FD1: cmp esi, dword ptr [ecx + 8] */ 14517 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 14518 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14519 _flag_k = FK_CMP; 14520 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F010FD9; /* 0x2F010FD4: je 0x2f010fd9 */ 14521 L_2F010FD6: 14522 MEM32(esi + 0x4) = edx; /* 0x2F010FD6: mov dword ptr [esi + 4], edx */ 14523 L_2F010FD9: 14524 esi = MEM32(edx + 0x4); /* 0x2F010FD9: mov esi, dword ptr [edx + 4] */ 14525 MEM32(eax + 0x4) = esi; /* 0x2F010FDC: mov dword ptr [eax + 4], esi */ 14526 ecx = MEM32(ecx + 0x4); /* 0x2F010FDF: mov ecx, dword ptr [ecx + 4] */ 14527 /* cmp edx, MEM32(ecx + 0x4) */ /* 0x2F010FE2: cmp edx, dword ptr [ecx + 4] */ 14528 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 14529 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14530 _flag_k = FK_CMP; 14531 if (CMP_NE(_flag_a, _flag_b)) goto L_2F010FF5; /* 0x2F010FE5: jne 0x2f010ff5 */ 14532 L_2F010FE7: 14533 MEM32(ecx + 0x4) = eax; /* 0x2F010FE7: mov dword ptr [ecx + 4], eax */ 14534 MEM32(eax + 0x8) = edx; /* 0x2F010FEA: mov dword ptr [eax + 8], edx */ 14535 MEM32(edx + 0x4) = eax; /* 0x2F010FED: mov dword ptr [edx + 4], eax */ 14536 esi = POP32_VAL(esp); /* 0x2F010FF0: pop esi */ 14537 ebp = POP32_VAL(esp); /* 0x2F010FF1: pop ebp */ 14538 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2F010FF2: ret 4 */ 14539 L_2F010FF5: 14540 ecx = MEM32(edx + 0x4); /* 0x2F010FF5: mov ecx, dword ptr [edx + 4] */ 14541 /* cmp edx, MEM32(ecx + 0x8) */ /* 0x2F010FF8: cmp edx, dword ptr [ecx + 8] */ 14542 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 14543 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14544 _flag_k = FK_CMP; 14545 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01100B; /* 0x2F010FFB: jne 0x2f01100b */ 14546 L_2F010FFD: 14547 MEM32(ecx + 0x8) = eax; /* 0x2F010FFD: mov dword ptr [ecx + 8], eax */ 14548 MEM32(eax + 0x8) = edx; /* 0x2F011000: mov dword ptr [eax + 8], edx */ 14549 MEM32(edx + 0x4) = eax; /* 0x2F011003: mov dword ptr [edx + 4], eax */ 14550 esi = POP32_VAL(esp); /* 0x2F011006: pop esi */ 14551 ebp = POP32_VAL(esp); /* 0x2F011007: pop ebp */ 14552 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2F011008: ret 4 */ 14553 L_2F01100B: 14554 MEM32(ecx) = eax; /* 0x2F01100B: mov dword ptr [ecx], eax */ 14555 MEM32(eax + 0x8) = edx; /* 0x2F01100D: mov dword ptr [eax + 8], edx */ 14556 MEM32(edx + 0x4) = eax; /* 0x2F011010: mov dword ptr [edx + 4], eax */ 14557 esi = POP32_VAL(esp); /* 0x2F011013: pop esi */ 14558 ebp = POP32_VAL(esp); /* 0x2F011014: pop ebp */ 14559 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2F011015: ret 4 */ 14560 RECOMP_REGS_OUT(); 14561 } 14562 14563 void sub_2F011020(void) { 14564 int _fpu_cmp = 0; 14565 uint32_t _cf = 0; 14566 int _df = 1; 14567 uint32_t _flag_k = FK_NONE; 14568 uint32_t _flag_a = 0, _flag_b = 0; 14569 uint32_t _itail_tgt = 0; 14570 RECOMP_REGS_LOCALS 14571 RECOMP_ENTER(0x2F011020u); 14572 14573 L_2F011020: 14574 PUSH32(esp, ebp); /* 0x2F011020: push ebp */ 14575 ebp = esp; /* 0x2F011021: mov ebp, esp */ 14576 PUSH32(esp, 0x24u); /* 0x2F011023: push 0x24 */ 14577 RECOMP_ICALL(0x2F0117DCu); /* 0x2F011025: call 0x2f0117dc */ /* not lifted */ 14578 RECOMP_FLAGS_IN(); 14579 ecx = MEM32(ebp + 0x8); /* 0x2F01102A: mov ecx, dword ptr [ebp + 8] */ 14580 SET_LO8(edx, MEM8(ebp + 0xC)); /* 0x2F01102D: mov dl, byte ptr [ebp + 0xc] */ 14581 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14582 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14583 esp = esp + 4; /* 0x2F011030: add esp, 4 */ 14584 _flag_k = FK_ADD; 14585 MEM32(eax + 0x4) = ecx; /* 0x2F011033: mov dword ptr [eax + 4], ecx */ 14586 MEM8(eax + 0x20) = (uint8_t)(LO8(edx)); /* 0x2F011036: mov byte ptr [eax + 0x20], dl */ 14587 MEM8(eax + 0x21) = (uint8_t)(0); /* 0x2F011039: mov byte ptr [eax + 0x21], 0 */ 14588 ebp = POP32_VAL(esp); /* 0x2F01103D: pop ebp */ 14589 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2F01103E: ret 8 */ 14590 RECOMP_REGS_OUT(); 14591 } 14592 14593 void sub_2F011050(void) { 14594 int _fpu_cmp = 0; 14595 uint32_t _cf = 0; 14596 int _df = 1; 14597 uint32_t _flag_k = FK_NONE; 14598 uint32_t _flag_a = 0, _flag_b = 0; 14599 uint32_t _itail_tgt = 0; 14600 RECOMP_REGS_LOCALS 14601 RECOMP_ENTER(0x2F011050u); 14602 14603 L_2F011050: 14604 eax = MEM32(ecx); /* 0x2F011050: mov eax, dword ptr [ecx] */ 14605 PUSH32(esp, ebx); /* 0x2F011052: push ebx */ 14606 SET_LO8(edx, MEM8(eax + 0x20)); /* 0x2F011053: mov dl, byte ptr [eax + 0x20] */ 14607 /* test LO8(edx), LO8(edx) */ /* 0x2F011056: test dl, dl */ 14608 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 14609 _cf = 0; 14610 _flag_k = FK_NARROW(FK_TEST, 24); 14611 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F011069; /* 0x2F011058: jne 0x2f011069 */ 14612 L_2F01105A: 14613 edx = MEM32(eax + 0x4); /* 0x2F01105A: mov edx, dword ptr [eax + 4] */ 14614 /* cmp MEM32(edx + 0x4), eax */ /* 0x2F01105D: cmp dword ptr [edx + 4], eax */ 14615 _flag_a = (uint32_t)(MEM32(edx + 0x4)); _flag_b = (uint32_t)(eax); 14616 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14617 _flag_k = FK_CMP; 14618 if (CMP_NE(_flag_a, _flag_b)) goto L_2F011069; /* 0x2F011060: jne 0x2f011069 */ 14619 L_2F011062: 14620 eax = MEM32(eax + 0x8); /* 0x2F011062: mov eax, dword ptr [eax + 8] */ 14621 MEM32(ecx) = eax; /* 0x2F011065: mov dword ptr [ecx], eax */ 14622 ebx = POP32_VAL(esp); /* 0x2F011067: pop ebx */ 14623 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2F011068: ret */ 14624 L_2F011069: 14625 edx = MEM32(eax); /* 0x2F011069: mov edx, dword ptr [eax] */ 14626 SET_LO8(ebx, MEM8(edx + 0x21)); /* 0x2F01106B: mov bl, byte ptr [edx + 0x21] */ 14627 /* test LO8(ebx), LO8(ebx) */ /* 0x2F01106E: test bl, bl */ 14628 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14629 _cf = 0; 14630 _flag_k = FK_NARROW(FK_TEST, 24); 14631 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F01108C; /* 0x2F011070: jne 0x2f01108c */ 14632 L_2F011072: 14633 eax = MEM32(edx + 0x8); /* 0x2F011072: mov eax, dword ptr [edx + 8] */ 14634 SET_LO8(ebx, MEM8(eax + 0x21)); /* 0x2F011075: mov bl, byte ptr [eax + 0x21] */ 14635 /* test LO8(ebx), LO8(ebx) */ /* 0x2F011078: test bl, bl */ 14636 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14637 _cf = 0; 14638 _flag_k = FK_NARROW(FK_TEST, 24); 14639 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F011088; /* 0x2F01107A: jne 0x2f011088 */ 14640 L_2F01107C: 14641 edx = eax; /* 0x2F01107C: mov edx, eax */ 14642 eax = MEM32(edx + 0x8); /* 0x2F01107E: mov eax, dword ptr [edx + 8] */ 14643 SET_LO8(ebx, MEM8(eax + 0x21)); /* 0x2F011081: mov bl, byte ptr [eax + 0x21] */ 14644 /* test LO8(ebx), LO8(ebx) */ /* 0x2F011084: test bl, bl */ 14645 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14646 _cf = 0; 14647 _flag_k = FK_NARROW(FK_TEST, 24); 14648 RECOMP_BACKEDGE(); 14649 if (TEST_Z(_flag_a, _flag_b)) goto L_2F01107C; /* 0x2F011086: je 0x2f01107c */ 14650 L_2F011088: 14651 MEM32(ecx) = edx; /* 0x2F011088: mov dword ptr [ecx], edx */ 14652 ebx = POP32_VAL(esp); /* 0x2F01108A: pop ebx */ 14653 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2F01108B: ret */ 14654 L_2F01108C: 14655 eax = MEM32(eax + 0x4); /* 0x2F01108C: mov eax, dword ptr [eax + 4] */ 14656 edx = MEM32(ecx); /* 0x2F01108F: mov edx, dword ptr [ecx] */ 14657 /* cmp edx, MEM32(eax) */ /* 0x2F011091: cmp edx, dword ptr [eax] */ 14658 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax)); 14659 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14660 _flag_k = FK_CMP; 14661 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0110A0; /* 0x2F011093: jne 0x2f0110a0 */ 14662 L_2F011095: 14663 MEM32(ecx) = eax; /* 0x2F011095: mov dword ptr [ecx], eax */ 14664 eax = MEM32(eax + 0x4); /* 0x2F011097: mov eax, dword ptr [eax + 4] */ 14665 edx = MEM32(ecx); /* 0x2F01109A: mov edx, dword ptr [ecx] */ 14666 /* cmp edx, MEM32(eax) */ /* 0x2F01109C: cmp edx, dword ptr [eax] */ 14667 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax)); 14668 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14669 _flag_k = FK_CMP; 14670 RECOMP_BACKEDGE(); 14671 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F011095; /* 0x2F01109E: je 0x2f011095 */ 14672 L_2F0110A0: 14673 MEM32(ecx) = eax; /* 0x2F0110A0: mov dword ptr [ecx], eax */ 14674 ebx = POP32_VAL(esp); /* 0x2F0110A2: pop ebx */ 14675 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2F0110A3: ret */ 14676 RECOMP_REGS_OUT(); 14677 } 14678 14679 void sub_2F0110B0(void) { 14680 int _fpu_cmp = 0; 14681 uint32_t _cf = 0; 14682 int _df = 1; 14683 uint32_t _flag_k = FK_NONE; 14684 uint32_t _flag_a = 0, _flag_b = 0; 14685 uint32_t _itail_tgt = 0; 14686 RECOMP_REGS_LOCALS 14687 RECOMP_ENTER(0x2F0110B0u); 14688 14689 L_2F0110B0: 14690 eax = MEM32(ecx); /* 0x2F0110B0: mov eax, dword ptr [ecx] */ 14691 PUSH32(esp, ebx); /* 0x2F0110B2: push ebx */ 14692 edx = MEM32(eax + 0x8); /* 0x2F0110B3: mov edx, dword ptr [eax + 8] */ 14693 SET_LO8(ebx, MEM8(edx + 0x21)); /* 0x2F0110B6: mov bl, byte ptr [edx + 0x21] */ 14694 /* test LO8(ebx), LO8(ebx) */ /* 0x2F0110B9: test bl, bl */ 14695 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14696 _cf = 0; 14697 _flag_k = FK_NARROW(FK_TEST, 24); 14698 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F0110D5; /* 0x2F0110BB: jne 0x2f0110d5 */ 14699 L_2F0110BD: 14700 eax = MEM32(edx); /* 0x2F0110BD: mov eax, dword ptr [edx] */ 14701 SET_LO8(ebx, MEM8(eax + 0x21)); /* 0x2F0110BF: mov bl, byte ptr [eax + 0x21] */ 14702 /* test LO8(ebx), LO8(ebx) */ /* 0x2F0110C2: test bl, bl */ 14703 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14704 _cf = 0; 14705 _flag_k = FK_NARROW(FK_TEST, 24); 14706 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F0110D1; /* 0x2F0110C4: jne 0x2f0110d1 */ 14707 L_2F0110C6: 14708 edx = eax; /* 0x2F0110C6: mov edx, eax */ 14709 eax = MEM32(edx); /* 0x2F0110C8: mov eax, dword ptr [edx] */ 14710 SET_LO8(ebx, MEM8(eax + 0x21)); /* 0x2F0110CA: mov bl, byte ptr [eax + 0x21] */ 14711 /* test LO8(ebx), LO8(ebx) */ /* 0x2F0110CD: test bl, bl */ 14712 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14713 _cf = 0; 14714 _flag_k = FK_NARROW(FK_TEST, 24); 14715 RECOMP_BACKEDGE(); 14716 if (TEST_Z(_flag_a, _flag_b)) goto L_2F0110C6; /* 0x2F0110CF: je 0x2f0110c6 */ 14717 L_2F0110D1: 14718 MEM32(ecx) = edx; /* 0x2F0110D1: mov dword ptr [ecx], edx */ 14719 ebx = POP32_VAL(esp); /* 0x2F0110D3: pop ebx */ 14720 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2F0110D4: ret */ 14721 L_2F0110D5: 14722 eax = MEM32(eax + 0x4); /* 0x2F0110D5: mov eax, dword ptr [eax + 4] */ 14723 edx = MEM32(ecx); /* 0x2F0110D8: mov edx, dword ptr [ecx] */ 14724 /* cmp edx, MEM32(eax + 0x8) */ /* 0x2F0110DA: cmp edx, dword ptr [eax + 8] */ 14725 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 14726 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14727 _flag_k = FK_CMP; 14728 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0110EB; /* 0x2F0110DD: jne 0x2f0110eb */ 14729 L_2F0110DF: 14730 MEM32(ecx) = eax; /* 0x2F0110DF: mov dword ptr [ecx], eax */ 14731 eax = MEM32(eax + 0x4); /* 0x2F0110E1: mov eax, dword ptr [eax + 4] */ 14732 edx = MEM32(ecx); /* 0x2F0110E4: mov edx, dword ptr [ecx] */ 14733 /* cmp edx, MEM32(eax + 0x8) */ /* 0x2F0110E6: cmp edx, dword ptr [eax + 8] */ 14734 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 14735 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14736 _flag_k = FK_CMP; 14737 RECOMP_BACKEDGE(); 14738 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0110DF; /* 0x2F0110E9: je 0x2f0110df */ 14739 L_2F0110EB: 14740 edx = MEM32(ecx); /* 0x2F0110EB: mov edx, dword ptr [ecx] */ 14741 /* cmp MEM32(edx + 0x8), eax */ /* 0x2F0110ED: cmp dword ptr [edx + 8], eax */ 14742 _flag_a = (uint32_t)(MEM32(edx + 0x8)); _flag_b = (uint32_t)(eax); 14743 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14744 _flag_k = FK_CMP; 14745 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0110F4; /* 0x2F0110F0: je 0x2f0110f4 */ 14746 L_2F0110F2: 14747 MEM32(ecx) = eax; /* 0x2F0110F2: mov dword ptr [ecx], eax */ 14748 L_2F0110F4: 14749 ebx = POP32_VAL(esp); /* 0x2F0110F4: pop ebx */ 14750 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2F0110F5: ret */ 14751 RECOMP_REGS_OUT(); 14752 } 14753 14754 void sub_2F011100(void) { 14755 int _fpu_cmp = 0; 14756 uint32_t _cf = 0; 14757 int _df = 1; 14758 uint32_t _flag_k = FK_NONE; 14759 uint32_t _flag_a = 0, _flag_b = 0; 14760 uint32_t _itail_tgt = 0; 14761 RECOMP_REGS_LOCALS 14762 RECOMP_ENTER(0x2F011100u); 14763 14764 L_2F011100: 14765 eax = MEM32(ecx); /* 0x2F011100: mov eax, dword ptr [ecx] */ 14766 PUSH32(esp, ebx); /* 0x2F011102: push ebx */ 14767 SET_LO8(edx, MEM8(eax + 0x24)); /* 0x2F011103: mov dl, byte ptr [eax + 0x24] */ 14768 /* test LO8(edx), LO8(edx) */ /* 0x2F011106: test dl, dl */ 14769 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 14770 _cf = 0; 14771 _flag_k = FK_NARROW(FK_TEST, 24); 14772 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F011119; /* 0x2F011108: jne 0x2f011119 */ 14773 L_2F01110A: 14774 edx = MEM32(eax + 0x4); /* 0x2F01110A: mov edx, dword ptr [eax + 4] */ 14775 /* cmp MEM32(edx + 0x4), eax */ /* 0x2F01110D: cmp dword ptr [edx + 4], eax */ 14776 _flag_a = (uint32_t)(MEM32(edx + 0x4)); _flag_b = (uint32_t)(eax); 14777 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14778 _flag_k = FK_CMP; 14779 if (CMP_NE(_flag_a, _flag_b)) goto L_2F011119; /* 0x2F011110: jne 0x2f011119 */ 14780 L_2F011112: 14781 eax = MEM32(eax + 0x8); /* 0x2F011112: mov eax, dword ptr [eax + 8] */ 14782 MEM32(ecx) = eax; /* 0x2F011115: mov dword ptr [ecx], eax */ 14783 ebx = POP32_VAL(esp); /* 0x2F011117: pop ebx */ 14784 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2F011118: ret */ 14785 L_2F011119: 14786 edx = MEM32(eax); /* 0x2F011119: mov edx, dword ptr [eax] */ 14787 SET_LO8(ebx, MEM8(edx + 0x25)); /* 0x2F01111B: mov bl, byte ptr [edx + 0x25] */ 14788 /* test LO8(ebx), LO8(ebx) */ /* 0x2F01111E: test bl, bl */ 14789 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14790 _cf = 0; 14791 _flag_k = FK_NARROW(FK_TEST, 24); 14792 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F01113C; /* 0x2F011120: jne 0x2f01113c */ 14793 L_2F011122: 14794 eax = MEM32(edx + 0x8); /* 0x2F011122: mov eax, dword ptr [edx + 8] */ 14795 SET_LO8(ebx, MEM8(eax + 0x25)); /* 0x2F011125: mov bl, byte ptr [eax + 0x25] */ 14796 /* test LO8(ebx), LO8(ebx) */ /* 0x2F011128: test bl, bl */ 14797 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14798 _cf = 0; 14799 _flag_k = FK_NARROW(FK_TEST, 24); 14800 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F011138; /* 0x2F01112A: jne 0x2f011138 */ 14801 L_2F01112C: 14802 edx = eax; /* 0x2F01112C: mov edx, eax */ 14803 eax = MEM32(edx + 0x8); /* 0x2F01112E: mov eax, dword ptr [edx + 8] */ 14804 SET_LO8(ebx, MEM8(eax + 0x25)); /* 0x2F011131: mov bl, byte ptr [eax + 0x25] */ 14805 /* test LO8(ebx), LO8(ebx) */ /* 0x2F011134: test bl, bl */ 14806 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14807 _cf = 0; 14808 _flag_k = FK_NARROW(FK_TEST, 24); 14809 RECOMP_BACKEDGE(); 14810 if (TEST_Z(_flag_a, _flag_b)) goto L_2F01112C; /* 0x2F011136: je 0x2f01112c */ 14811 L_2F011138: 14812 MEM32(ecx) = edx; /* 0x2F011138: mov dword ptr [ecx], edx */ 14813 ebx = POP32_VAL(esp); /* 0x2F01113A: pop ebx */ 14814 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2F01113B: ret */ 14815 L_2F01113C: 14816 eax = MEM32(eax + 0x4); /* 0x2F01113C: mov eax, dword ptr [eax + 4] */ 14817 edx = MEM32(ecx); /* 0x2F01113F: mov edx, dword ptr [ecx] */ 14818 /* cmp edx, MEM32(eax) */ /* 0x2F011141: cmp edx, dword ptr [eax] */ 14819 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax)); 14820 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14821 _flag_k = FK_CMP; 14822 if (CMP_NE(_flag_a, _flag_b)) goto L_2F011150; /* 0x2F011143: jne 0x2f011150 */ 14823 L_2F011145: 14824 MEM32(ecx) = eax; /* 0x2F011145: mov dword ptr [ecx], eax */ 14825 eax = MEM32(eax + 0x4); /* 0x2F011147: mov eax, dword ptr [eax + 4] */ 14826 edx = MEM32(ecx); /* 0x2F01114A: mov edx, dword ptr [ecx] */ 14827 /* cmp edx, MEM32(eax) */ /* 0x2F01114C: cmp edx, dword ptr [eax] */ 14828 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax)); 14829 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14830 _flag_k = FK_CMP; 14831 RECOMP_BACKEDGE(); 14832 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F011145; /* 0x2F01114E: je 0x2f011145 */ 14833 L_2F011150: 14834 MEM32(ecx) = eax; /* 0x2F011150: mov dword ptr [ecx], eax */ 14835 ebx = POP32_VAL(esp); /* 0x2F011152: pop ebx */ 14836 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2F011153: ret */ 14837 RECOMP_REGS_OUT(); 14838 } 14839 14840 void sub_2F011160(void) { 14841 int _fpu_cmp = 0; 14842 uint32_t _cf = 0; 14843 int _df = 1; 14844 uint32_t _flag_k = FK_NONE; 14845 uint32_t _flag_a = 0, _flag_b = 0; 14846 uint32_t _itail_tgt = 0; 14847 RECOMP_REGS_LOCALS 14848 RECOMP_ENTER(0x2F011160u); 14849 14850 L_2F011160: 14851 eax = MEM32(ecx); /* 0x2F011160: mov eax, dword ptr [ecx] */ 14852 PUSH32(esp, ebx); /* 0x2F011162: push ebx */ 14853 edx = MEM32(eax + 0x8); /* 0x2F011163: mov edx, dword ptr [eax + 8] */ 14854 SET_LO8(ebx, MEM8(edx + 0x25)); /* 0x2F011166: mov bl, byte ptr [edx + 0x25] */ 14855 /* test LO8(ebx), LO8(ebx) */ /* 0x2F011169: test bl, bl */ 14856 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14857 _cf = 0; 14858 _flag_k = FK_NARROW(FK_TEST, 24); 14859 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F011185; /* 0x2F01116B: jne 0x2f011185 */ 14860 L_2F01116D: 14861 eax = MEM32(edx); /* 0x2F01116D: mov eax, dword ptr [edx] */ 14862 SET_LO8(ebx, MEM8(eax + 0x25)); /* 0x2F01116F: mov bl, byte ptr [eax + 0x25] */ 14863 /* test LO8(ebx), LO8(ebx) */ /* 0x2F011172: test bl, bl */ 14864 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14865 _cf = 0; 14866 _flag_k = FK_NARROW(FK_TEST, 24); 14867 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F011181; /* 0x2F011174: jne 0x2f011181 */ 14868 L_2F011176: 14869 edx = eax; /* 0x2F011176: mov edx, eax */ 14870 eax = MEM32(edx); /* 0x2F011178: mov eax, dword ptr [edx] */ 14871 SET_LO8(ebx, MEM8(eax + 0x25)); /* 0x2F01117A: mov bl, byte ptr [eax + 0x25] */ 14872 /* test LO8(ebx), LO8(ebx) */ /* 0x2F01117D: test bl, bl */ 14873 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14874 _cf = 0; 14875 _flag_k = FK_NARROW(FK_TEST, 24); 14876 RECOMP_BACKEDGE(); 14877 if (TEST_Z(_flag_a, _flag_b)) goto L_2F011176; /* 0x2F01117F: je 0x2f011176 */ 14878 L_2F011181: 14879 MEM32(ecx) = edx; /* 0x2F011181: mov dword ptr [ecx], edx */ 14880 ebx = POP32_VAL(esp); /* 0x2F011183: pop ebx */ 14881 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2F011184: ret */ 14882 L_2F011185: 14883 eax = MEM32(eax + 0x4); /* 0x2F011185: mov eax, dword ptr [eax + 4] */ 14884 edx = MEM32(ecx); /* 0x2F011188: mov edx, dword ptr [ecx] */ 14885 /* cmp edx, MEM32(eax + 0x8) */ /* 0x2F01118A: cmp edx, dword ptr [eax + 8] */ 14886 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 14887 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14888 _flag_k = FK_CMP; 14889 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01119B; /* 0x2F01118D: jne 0x2f01119b */ 14890 L_2F01118F: 14891 MEM32(ecx) = eax; /* 0x2F01118F: mov dword ptr [ecx], eax */ 14892 eax = MEM32(eax + 0x4); /* 0x2F011191: mov eax, dword ptr [eax + 4] */ 14893 edx = MEM32(ecx); /* 0x2F011194: mov edx, dword ptr [ecx] */ 14894 /* cmp edx, MEM32(eax + 0x8) */ /* 0x2F011196: cmp edx, dword ptr [eax + 8] */ 14895 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 14896 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14897 _flag_k = FK_CMP; 14898 RECOMP_BACKEDGE(); 14899 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01118F; /* 0x2F011199: je 0x2f01118f */ 14900 L_2F01119B: 14901 edx = MEM32(ecx); /* 0x2F01119B: mov edx, dword ptr [ecx] */ 14902 /* cmp MEM32(edx + 0x8), eax */ /* 0x2F01119D: cmp dword ptr [edx + 8], eax */ 14903 _flag_a = (uint32_t)(MEM32(edx + 0x8)); _flag_b = (uint32_t)(eax); 14904 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14905 _flag_k = FK_CMP; 14906 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F0111A4; /* 0x2F0111A0: je 0x2f0111a4 */ 14907 L_2F0111A2: 14908 MEM32(ecx) = eax; /* 0x2F0111A2: mov dword ptr [ecx], eax */ 14909 L_2F0111A4: 14910 ebx = POP32_VAL(esp); /* 0x2F0111A4: pop ebx */ 14911 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2F0111A5: ret */ 14912 RECOMP_REGS_OUT(); 14913 } 14914 14915 void sub_2F0111B0(void) { 14916 int _fpu_cmp = 0; 14917 uint32_t _cf = 0; 14918 int _df = 1; 14919 uint32_t _flag_k = FK_NONE; 14920 uint32_t _flag_a = 0, _flag_b = 0; 14921 uint32_t _itail_tgt = 0; 14922 RECOMP_REGS_LOCALS 14923 RECOMP_ENTER(0x2F0111B0u); 14924 14925 L_2F0111B0: 14926 PUSH32(esp, ebp); /* 0x2F0111B0: push ebp */ 14927 ebp = esp; /* 0x2F0111B1: mov ebp, esp */ 14928 PUSH32(esp, 0xFFFFFFFFu); /* 0x2F0111B3: push -1 */ 14929 PUSH32(esp, 0x2F012A51u); /* 0x2F0111B5: push 0x2f012a51 */ 14930 eax = MEM32(FS_BASE + (0)); /* 0x2F0111BA: mov eax, dword ptr fs:[0] */ 14931 PUSH32(esp, eax); /* 0x2F0111C0: push eax */ 14932 MEM32(FS_BASE + (0)) = esp; /* 0x2F0111C1: mov dword ptr fs:[0], esp */ 14933 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 14934 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14935 esp = esp - 8; /* 0x2F0111C8: sub esp, 8 */ 14936 _flag_k = FK_CMP; 14937 PUSH32(esp, ebx); /* 0x2F0111CB: push ebx */ 14938 ebx = MEM32(ebp + 0x8); /* 0x2F0111CC: mov ebx, dword ptr [ebp + 8] */ 14939 MEM32(ebp + (-0x14)) = ebx; /* 0x2F0111CF: mov dword ptr [ebp - 0x14], ebx */ 14940 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14941 ecx = 0; /* 0x2F0111D2: xor ecx, ecx */ 14942 _cf = 0; 14943 _flag_k = FK_TEST; 14944 /* cmp ebx, ecx */ /* 0x2F0111D4: cmp ebx, ecx */ 14945 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 14946 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14947 _flag_k = FK_CMP; 14948 MEM32(ebp + (-0x4)) = ecx; /* 0x2F0111D6: mov dword ptr [ebp - 4], ecx */ 14949 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01130D; /* 0x2F0111D9: je 0x2f01130d */ 14950 L_2F0111DF: 14951 edx = MEM32(ebp + 0xC); /* 0x2F0111DF: mov edx, dword ptr [ebp + 0xc] */ 14952 PUSH32(esp, esi); /* 0x2F0111E2: push esi */ 14953 PUSH32(esp, edi); /* 0x2F0111E3: push edi */ 14954 SET_LO8(eax, MEM8(edx)); /* 0x2F0111E4: mov al, byte ptr [edx] */ 14955 MEM32(ebx + 0x4) = ecx; /* 0x2F0111E6: mov dword ptr [ebx + 4], ecx */ 14956 MEM8(ebx) = (uint8_t)(LO8(eax)); /* 0x2F0111E9: mov byte ptr [ebx], al */ 14957 MEM32(ebx + 0x8) = ecx; /* 0x2F0111EB: mov dword ptr [ebx + 8], ecx */ 14958 MEM32(ebx + 0xC) = ecx; /* 0x2F0111EE: mov dword ptr [ebx + 0xc], ecx */ 14959 eax = MEM32(0x2F0130F4); /* 0x2F0111F1: mov eax, dword ptr [0x2f0130f4] */ 14960 esi = MEM32(eax); /* 0x2F0111F6: mov esi, dword ptr [eax] */ 14961 eax = MEM32(edx + 0x8); /* 0x2F0111F8: mov eax, dword ptr [edx + 8] */ 14962 edi = eax; /* 0x2F0111FB: mov edi, eax */ 14963 /* cmp esi, edi */ /* 0x2F0111FD: cmp esi, edi */ 14964 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edi); 14965 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14966 _flag_k = FK_CMP; 14967 MEM32(ebp + (-0x10)) = edi; /* 0x2F0111FF: mov dword ptr [ebp - 0x10], edi */ 14968 if (CMP_AE(_flag_a, _flag_b)) goto L_2F011209; /* 0x2F011202: jae 0x2f011209 */ 14969 L_2F011204: 14970 MEM32(ebp + (-0x10)) = esi; /* 0x2F011204: mov dword ptr [ebp - 0x10], esi */ 14971 edi = esi; /* 0x2F011207: mov edi, esi */ 14972 L_2F011209: 14973 /* cmp ebx, edx */ /* 0x2F011209: cmp ebx, edx */ 14974 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edx); 14975 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14976 _flag_k = FK_CMP; 14977 if (CMP_NE(_flag_a, _flag_b)) goto L_2F011276; /* 0x2F01120B: jne 0x2f011276 */ 14978 L_2F01120D: 14979 /* cmp edi, ecx */ /* 0x2F01120D: cmp edi, ecx */ 14980 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 14981 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14982 _flag_k = FK_CMP; 14983 if (CMP_BE(_flag_a, _flag_b)) goto L_2F011219; /* 0x2F01120F: jbe 0x2f011219 */ 14984 L_2F011211: 14985 RECOMP_ICALL(MEM32(0x2F0130E0)); /* 0x2F011211: call dword ptr [0x2f0130e0] */ 14986 RECOMP_FLAGS_IN(); 14987 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14988 ecx = 0; /* 0x2F011217: xor ecx, ecx */ 14989 _cf = 0; 14990 _flag_k = FK_TEST; 14991 L_2F011219: 14992 eax = MEM32(ebx + 0x8); /* 0x2F011219: mov eax, dword ptr [ebx + 8] */ 14993 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 14994 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14995 eax = eax - edi; /* 0x2F01121C: sub eax, edi */ 14996 _flag_k = FK_CMP; 14997 /* cmp eax, esi */ /* 0x2F01121E: cmp eax, esi */ 14998 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 14999 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15000 _flag_k = FK_CMP; 15001 if (CMP_AE(_flag_a, _flag_b)) goto L_2F011224; /* 0x2F011220: jae 0x2f011224 */ 15002 L_2F011222: 15003 esi = eax; /* 0x2F011222: mov esi, eax */ 15004 L_2F011224: 15005 /* cmp esi, ecx */ /* 0x2F011224: cmp esi, ecx */ 15006 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 15007 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15008 _flag_k = FK_CMP; 15009 if (CMP_BE(_flag_a, _flag_b)) goto L_2F011302; /* 0x2F011226: jbe 0x2f011302 */ 15010 L_2F01122C: 15011 ecx = ebx; /* 0x2F01122C: mov ecx, ebx */ 15012 RECOMP_ICALL(MEM32(0x2F0130E4)); /* 0x2F01122E: call dword ptr [0x2f0130e4] */ 15013 RECOMP_FLAGS_IN(); 15014 ecx = MEM32(ebx + 0x4); /* 0x2F011234: mov ecx, dword ptr [ebx + 4] */ 15015 edx = MEM32(ebx + 0x8); /* 0x2F011237: mov edx, dword ptr [ebx + 8] */ 15016 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(esi); 15017 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15018 edx = edx - esi; /* 0x2F01123A: sub edx, esi */ 15019 _flag_k = FK_CMP; 15020 eax = ecx + edi; /* 0x2F01123C: lea eax, [ecx + edi] */ 15021 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 15022 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15023 edx = edx - edi; /* 0x2F01123F: sub edx, edi */ 15024 _flag_k = FK_CMP; 15025 PUSH32(esp, edx); /* 0x2F011241: push edx */ 15026 ecx = eax + esi; /* 0x2F011242: lea ecx, [eax + esi] */ 15027 PUSH32(esp, ecx); /* 0x2F011245: push ecx */ 15028 PUSH32(esp, eax); /* 0x2F011246: push eax */ 15029 RECOMP_ICALL(MEM32(0x2F0131A4)); /* 0x2F011247: call dword ptr [0x2f0131a4] */ 15030 RECOMP_FLAGS_IN(); 15031 edi = MEM32(ebx + 0x8); /* 0x2F01124D: mov edi, dword ptr [ebx + 8] */ 15032 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 15033 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15034 esp = esp + 0xCu; /* 0x2F011250: add esp, 0xc */ 15035 _flag_k = FK_ADD; 15036 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 15037 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15038 edi = edi - esi; /* 0x2F011253: sub edi, esi */ 15039 _flag_k = FK_CMP; 15040 ecx = ebx; /* 0x2F011255: mov ecx, ebx */ 15041 PUSH32(esp, 0); /* 0x2F011257: push 0 */ 15042 PUSH32(esp, edi); /* 0x2F011259: push edi */ 15043 RECOMP_ICALL(MEM32(0x2F013100)); /* 0x2F01125A: call dword ptr [0x2f013100] */ 15044 RECOMP_FLAGS_IN(); 15045 /* test LO8(eax), LO8(eax) */ /* 0x2F011260: test al, al */ 15046 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 15047 _cf = 0; 15048 _flag_k = FK_NARROW(FK_TEST, 24); 15049 if (TEST_Z(_flag_a, _flag_b)) goto L_2F011302; /* 0x2F011262: je 0x2f011302 */ 15050 L_2F011268: 15051 PUSH32(esp, edi); /* 0x2F011268: push edi */ 15052 ecx = ebx; /* 0x2F011269: mov ecx, ebx */ 15053 RECOMP_ICALL(MEM32(0x2F013104)); /* 0x2F01126B: call dword ptr [0x2f013104] */ 15054 RECOMP_FLAGS_IN(); 15055 goto L_2F011302; /* 0x2F011271: jmp 0x2f011302 */ 15056 L_2F011276: 15057 /* cmp edi, ecx */ /* 0x2F011276: cmp edi, ecx */ 15058 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 15059 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15060 _flag_k = FK_CMP; 15061 if (CMP_BE(_flag_a, _flag_b)) goto L_2F0112C2; /* 0x2F011278: jbe 0x2f0112c2 */ 15062 L_2F01127A: 15063 /* cmp edi, eax */ /* 0x2F01127A: cmp edi, eax */ 15064 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 15065 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15066 _flag_k = FK_CMP; 15067 if (CMP_NE(_flag_a, _flag_b)) goto L_2F0112C2; /* 0x2F01127C: jne 0x2f0112c2 */ 15068 L_2F01127E: 15069 eax = MEM32(edx + 0x4); /* 0x2F01127E: mov eax, dword ptr [edx + 4] */ 15070 /* cmp eax, ecx */ /* 0x2F011281: cmp eax, ecx */ 15071 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 15072 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15073 _flag_k = FK_CMP; 15074 if (CMP_NE(_flag_a, _flag_b)) goto L_2F01128A; /* 0x2F011283: jne 0x2f01128a */ 15075 L_2F011285: 15076 eax = MEM32(0x2F0130FC); /* 0x2F011285: mov eax, dword ptr [0x2f0130fc] */ 15077 L_2F01128A: 15078 /* cmp MEM8(eax + (-0x1)), 0xFEu */ /* 0x2F01128A: cmp byte ptr [eax - 1], 0xfe */ 15079 _flag_a = (uint32_t)(MEM8(eax + (-0x1))) << 24; _flag_b = (uint32_t)(0xFEu) << 24; 15080 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15081 _flag_k = FK_NARROW(FK_CMP, 24); 15082 if (CMP_AE(_flag_a, _flag_b)) goto L_2F0112C2; /* 0x2F01128E: jae 0x2f0112c2 */ 15083 L_2F011290: 15084 PUSH32(esp, 1); /* 0x2F011290: push 1 */ 15085 ecx = ebx; /* 0x2F011292: mov ecx, ebx */ 15086 RECOMP_ICALL(MEM32(0x2F01310C)); /* 0x2F011294: call dword ptr [0x2f01310c] */ 15087 RECOMP_FLAGS_IN(); 15088 ecx = MEM32(ebp + 0xC); /* 0x2F01129A: mov ecx, dword ptr [ebp + 0xc] */ 15089 eax = MEM32(ecx + 0x4); /* 0x2F01129D: mov eax, dword ptr [ecx + 4] */ 15090 /* test eax, eax */ /* 0x2F0112A0: test eax, eax */ 15091 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15092 _cf = 0; 15093 _flag_k = FK_TEST; 15094 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F0112A9; /* 0x2F0112A2: jne 0x2f0112a9 */ 15095 L_2F0112A4: 15096 eax = MEM32(0x2F0130FC); /* 0x2F0112A4: mov eax, dword ptr [0x2f0130fc] */ 15097 L_2F0112A9: 15098 MEM32(ebx + 0x4) = eax; /* 0x2F0112A9: mov dword ptr [ebx + 4], eax */ 15099 edx = MEM32(ecx + 0x8); /* 0x2F0112AC: mov edx, dword ptr [ecx + 8] */ 15100 MEM32(ebx + 0x8) = edx; /* 0x2F0112AF: mov dword ptr [ebx + 8], edx */ 15101 ecx = MEM32(ecx + 0xC); /* 0x2F0112B2: mov ecx, dword ptr [ecx + 0xc] */ 15102 MEM32(ebx + 0xC) = ecx; /* 0x2F0112B5: mov dword ptr [ebx + 0xc], ecx */ 15103 SET_LO8(ecx, MEM8(eax + (-0x1))); /* 0x2F0112B8: mov cl, byte ptr [eax - 1] */ 15104 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(1) << 24; 15105 SET_LO8(ecx, LO8(ecx) + 1); /* 0x2F0112BB: inc cl */ 15106 _flag_k = FK_NARROW(FK_INC, 24); 15107 MEM8(eax + (-0x1)) = (uint8_t)(LO8(ecx)); /* 0x2F0112BD: mov byte ptr [eax - 1], cl */ 15108 goto L_2F011302; /* 0x2F0112C0: jmp 0x2f011302 */ 15109 L_2F0112C2: 15110 PUSH32(esp, 1); /* 0x2F0112C2: push 1 */ 15111 PUSH32(esp, edi); /* 0x2F0112C4: push edi */ 15112 ecx = ebx; /* 0x2F0112C5: mov ecx, ebx */ 15113 RECOMP_ICALL(MEM32(0x2F013100)); /* 0x2F0112C7: call dword ptr [0x2f013100] */ 15114 RECOMP_FLAGS_IN(); 15115 /* test LO8(eax), LO8(eax) */ /* 0x2F0112CD: test al, al */ 15116 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 15117 _cf = 0; 15118 _flag_k = FK_NARROW(FK_TEST, 24); 15119 if (TEST_Z(_flag_a, _flag_b)) goto L_2F011302; /* 0x2F0112CF: je 0x2f011302 */ 15120 L_2F0112D1: 15121 edx = MEM32(ebp + 0xC); /* 0x2F0112D1: mov edx, dword ptr [ebp + 0xc] */ 15122 eax = MEM32(edx + 0x4); /* 0x2F0112D4: mov eax, dword ptr [edx + 4] */ 15123 /* test eax, eax */ /* 0x2F0112D7: test eax, eax */ 15124 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15125 _cf = 0; 15126 _flag_k = FK_TEST; 15127 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F0112E0; /* 0x2F0112D9: jne 0x2f0112e0 */ 15128 L_2F0112DB: 15129 eax = MEM32(0x2F0130FC); /* 0x2F0112DB: mov eax, dword ptr [0x2f0130fc] */ 15130 L_2F0112E0: 15131 ecx = edi; /* 0x2F0112E0: mov ecx, edi */ 15132 edi = MEM32(ebx + 0x4); /* 0x2F0112E2: mov edi, dword ptr [ebx + 4] */ 15133 esi = eax; /* 0x2F0112E5: mov esi, eax */ 15134 eax = ecx; /* 0x2F0112E7: mov eax, ecx */ 15135 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2F0112E9: shr ecx, 2 */ 15136 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 15137 ecx = ecx >> 2u; /* 0x2F0112E9: shr ecx, 2 */ 15138 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2F0112EC: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 15139 ecx = eax; /* 0x2F0112EE: mov ecx, eax */ 15140 eax = MEM32(ebp + (-0x10)); /* 0x2F0112F0: mov eax, dword ptr [ebp - 0x10] */ 15141 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 15142 ecx = ecx & 3; /* 0x2F0112F3: and ecx, 3 */ 15143 _cf = 0; 15144 _flag_k = FK_TEST; 15145 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2F0112F6: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; } 15146 ecx = MEM32(ebx + 0x4); /* 0x2F0112F8: mov ecx, dword ptr [ebx + 4] */ 15147 MEM32(ebx + 0x8) = eax; /* 0x2F0112FB: mov dword ptr [ebx + 8], eax */ 15148 MEM8(ecx + eax) = (uint8_t)(0); /* 0x2F0112FE: mov byte ptr [ecx + eax], 0 */ 15149 L_2F011302: 15150 edx = MEM32(ebp + 0xC); /* 0x2F011302: mov edx, dword ptr [ebp + 0xc] */ 15151 edi = POP32_VAL(esp); /* 0x2F011305: pop edi */ 15152 esi = POP32_VAL(esp); /* 0x2F011306: pop esi */ 15153 eax = MEM32(edx + 0x10); /* 0x2F011307: mov eax, dword ptr [edx + 0x10] */ 15154 MEM32(ebx + 0x10) = eax; /* 0x2F01130A: mov dword ptr [ebx + 0x10], eax */ 15155 L_2F01130D: 15156 ecx = MEM32(ebp + (-0xC)); /* 0x2F01130D: mov ecx, dword ptr [ebp - 0xc] */ 15157 ebx = POP32_VAL(esp); /* 0x2F011310: pop ebx */ 15158 MEM32(FS_BASE + (0)) = ecx; /* 0x2F011311: mov dword ptr fs:[0], ecx */ 15159 esp = ebp; /* 0x2F011318: mov esp, ebp */ 15160 ebp = POP32_VAL(esp); /* 0x2F01131A: pop ebp */ 15161 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2F01131B: ret */ 15162 RECOMP_REGS_OUT(); 15163 } 15164 15165 void sub_2F011302(void) { 15166 int _fpu_cmp = 0; 15167 uint32_t _cf = 0; 15168 int _df = 1; 15169 uint32_t _flag_k = FK_NONE; 15170 uint32_t _flag_a = 0, _flag_b = 0; 15171 uint32_t _itail_tgt = 0; 15172 RECOMP_REGS_LOCALS 15173 RECOMP_ENTER(0x2F011302u); 15174 15175 L_2F011302: 15176 edx = MEM32(ebp + 0xC); /* 0x2F011302: mov edx, dword ptr [ebp + 0xc] */ 15177 edi = POP32_VAL(esp); /* 0x2F011305: pop edi */ 15178 esi = POP32_VAL(esp); /* 0x2F011306: pop esi */ 15179 eax = MEM32(edx + 0x10); /* 0x2F011307: mov eax, dword ptr [edx + 0x10] */ 15180 MEM32(ebx + 0x10) = eax; /* 0x2F01130A: mov dword ptr [ebx + 0x10], eax */ 15181 ecx = MEM32(ebp + (-0xC)); /* 0x2F01130D: mov ecx, dword ptr [ebp - 0xc] */ 15182 ebx = POP32_VAL(esp); /* 0x2F011310: pop ebx */ 15183 MEM32(FS_BASE + (0)) = ecx; /* 0x2F011311: mov dword ptr fs:[0], ecx */ 15184 esp = ebp; /* 0x2F011318: mov esp, ebp */ 15185 ebp = POP32_VAL(esp); /* 0x2F01131A: pop ebp */ 15186 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2F01131B: ret */ 15187 RECOMP_REGS_OUT(); 15188 } 15189 15190 void sub_2F011320(void) { 15191 int _fpu_cmp = 0; 15192 uint32_t _cf = 0; 15193 int _df = 1; 15194 uint32_t _flag_k = FK_NONE; 15195 uint32_t _flag_a = 0, _flag_b = 0; 15196 uint32_t _itail_tgt = 0; 15197 RECOMP_REGS_LOCALS 15198 RECOMP_ENTER(0x2F011320u); 15199 15200 L_2F011320: 15201 PUSH32(esp, ebp); /* 0x2F011320: push ebp */ 15202 ebp = esp; /* 0x2F011321: mov ebp, esp */ 15203 PUSH32(esp, 0xFFFFFFFFu); /* 0x2F011323: push -1 */ 15204 PUSH32(esp, 0x2F012A71u); /* 0x2F011325: push 0x2f012a71 */ 15205 eax = MEM32(FS_BASE + (0)); /* 0x2F01132A: mov eax, dword ptr fs:[0] */ 15206 PUSH32(esp, eax); /* 0x2F011330: push eax */ 15207 MEM32(FS_BASE + (0)) = esp; /* 0x2F011331: mov dword ptr fs:[0], esp */ 15208 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 15209 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15210 esp = esp - 8; /* 0x2F011338: sub esp, 8 */ 15211 _flag_k = FK_CMP; 15212 PUSH32(esp, ebx); /* 0x2F01133B: push ebx */ 15213 PUSH32(esp, esi); /* 0x2F01133C: push esi */ 15214 esi = MEM32(ebp + 0x8); /* 0x2F01133D: mov esi, dword ptr [ebp + 8] */ 15215 MEM32(ebp + (-0x14)) = esi; /* 0x2F011340: mov dword ptr [ebp - 0x14], esi */ 15216 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15217 ebx = 0; /* 0x2F011343: xor ebx, ebx */ 15218 _cf = 0; 15219 _flag_k = FK_TEST; 15220 /* cmp esi, ebx */ /* 0x2F011345: cmp esi, ebx */ 15221 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 15222 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15223 _flag_k = FK_CMP; 15224 MEM32(ebp + (-0x4)) = ebx; /* 0x2F011347: mov dword ptr [ebp - 4], ebx */ 15225 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F011494; /* 0x2F01134A: je 0x2f011494 */ 15226 L_2F011350: 15227 PUSH32(esp, edi); /* 0x2F011350: push edi */ 15228 edi = MEM32(ebp + 0xC); /* 0x2F011351: mov edi, dword ptr [ebp + 0xc] */ 15229 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(4); 15230 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15231 esi = esi + 4; /* 0x2F011354: add esi, 4 */ 15232 _flag_k = FK_ADD; 15233 PUSH32(esp, 0x24u); /* 0x2F011357: push 0x24 */ 15234 eax = MEM32(edi); /* 0x2F011359: mov eax, dword ptr [edi] */ 15235 MEM32(esi + (-0x4)) = eax; /* 0x2F01135B: mov dword ptr [esi - 4], eax */ 15236 SET_LO8(ecx, MEM8(edi + 0x4)); /* 0x2F01135E: mov cl, byte ptr [edi + 4] */ 15237 MEM8(esi) = (uint8_t)(LO8(ecx)); /* 0x2F011361: mov byte ptr [esi], cl */ 15238 SET_LO8(edx, MEM8(edi + 0x5)); /* 0x2F011363: mov dl, byte ptr [edi + 5] */ 15239 MEM8(esi + 0x1) = (uint8_t)(LO8(edx)); /* 0x2F011366: mov byte ptr [esi + 1], dl */ 15240 SET_LO8(eax, MEM8(edi + 0x10)); /* 0x2F011369: mov al, byte ptr [edi + 0x10] */ 15241 MEM8(esi + 0xC) = (uint8_t)(LO8(eax)); /* 0x2F01136C: mov byte ptr [esi + 0xc], al */ 15242 RECOMP_ICALL(0x2F0117DCu); /* 0x2F01136F: call 0x2f0117dc */ /* not lifted */ 15243 RECOMP_FLAGS_IN(); 15244 SET_LO8(ecx, 1); /* 0x2F011374: mov cl, 1 */ 15245 MEM32(eax + 0x4) = ebx; /* 0x2F011376: mov dword ptr [eax + 4], ebx */ 15246 MEM8(eax + 0x20) = (uint8_t)(LO8(ecx)); /* 0x2F011379: mov byte ptr [eax + 0x20], cl */ 15247 MEM8(eax + 0x21) = (uint8_t)(LO8(ebx)); /* 0x2F01137C: mov byte ptr [eax + 0x21], bl */ 15248 MEM32(esi + 0x8) = eax; /* 0x2F01137F: mov dword ptr [esi + 8], eax */ 15249 MEM8(eax + 0x21) = (uint8_t)(LO8(ecx)); /* 0x2F011382: mov byte ptr [eax + 0x21], cl */ 15250 ecx = MEM32(esi + 0x8); /* 0x2F011385: mov ecx, dword ptr [esi + 8] */ 15251 PUSH32(esp, 0x24u); /* 0x2F011388: push 0x24 */ 15252 MEM32(ecx) = ebx; /* 0x2F01138A: mov dword ptr [ecx], ebx */ 15253 edx = MEM32(esi + 0x8); /* 0x2F01138C: mov edx, dword ptr [esi + 8] */ 15254 MEM32(edx + 0x8) = ebx; /* 0x2F01138F: mov dword ptr [edx + 8], ebx */ 15255 ebx = MEM32(esi + 0x8); /* 0x2F011392: mov ebx, dword ptr [esi + 8] */ 15256 RECOMP_ICALL(0x2F0117DCu); /* 0x2F011395: call 0x2f0117dc */ /* not lifted */ 15257 RECOMP_FLAGS_IN(); 15258 MEM32(eax + 0x4) = ebx; /* 0x2F01139A: mov dword ptr [eax + 4], ebx */ 15259 MEM8(eax + 0x20) = (uint8_t)(0); /* 0x2F01139D: mov byte ptr [eax + 0x20], 0 */ 15260 MEM8(eax + 0x21) = (uint8_t)(0); /* 0x2F0113A1: mov byte ptr [eax + 0x21], 0 */ 15261 MEM32(esi + 0x4) = eax; /* 0x2F0113A5: mov dword ptr [esi + 4], eax */ 15262 MEM32(eax) = eax; /* 0x2F0113A8: mov dword ptr [eax], eax */ 15263 eax = MEM32(esi + 0x4); /* 0x2F0113AA: mov eax, dword ptr [esi + 4] */ 15264 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 15265 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15266 esp = esp + 8; /* 0x2F0113AD: add esp, 8 */ 15267 _flag_k = FK_ADD; 15268 MEM32(eax + 0x8) = eax; /* 0x2F0113B0: mov dword ptr [eax + 8], eax */ 15269 MEM32(esi + 0x10) = 0; /* 0x2F0113B3: mov dword ptr [esi + 0x10], 0 */ 15270 ecx = MEM32(edi + 0x8); /* 0x2F0113BA: mov ecx, dword ptr [edi + 8] */ 15271 edx = MEM32(esi + 0x8); /* 0x2F0113BD: mov edx, dword ptr [esi + 8] */ 15272 eax = MEM32(esi + 0x4); /* 0x2F0113C0: mov eax, dword ptr [esi + 4] */ 15273 MEM32(ebp + (-0x10)) = edx; /* 0x2F0113C3: mov dword ptr [ebp - 0x10], edx */ 15274 ebx = MEM32(ecx + 0x4); /* 0x2F0113C6: mov ebx, dword ptr [ecx + 4] */ 15275 SET_LO8(ecx, MEM8(ebx + 0x21)); /* 0x2F0113C9: mov cl, byte ptr [ebx + 0x21] */ 15276 /* test LO8(ecx), LO8(ecx) */ /* 0x2F0113CC: test cl, cl */ 15277 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 15278 _cf = 0; 15279 _flag_k = FK_NARROW(FK_TEST, 24); 15280 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F01142A; /* 0x2F0113CE: jne 0x2f01142a */ 15281 L_2F0113D0: 15282 SET_LO8(ecx, MEM8(ebx + 0x20)); /* 0x2F0113D0: mov cl, byte ptr [ebx + 0x20] */ 15283 PUSH32(esp, ecx); /* 0x2F0113D3: push ecx */ 15284 PUSH32(esp, eax); /* 0x2F0113D4: push eax */ 15285 ecx = esi; /* 0x2F0113D5: mov ecx, esi */ 15286 RECOMP_ICALL(0x2F011020u); /* 0x2F0113D7: call 0x2f011020 */ /* not lifted */ 15287 RECOMP_FLAGS_IN(); 15288 MEM32(ebp + 0xC) = eax; /* 0x2F0113DC: mov dword ptr [ebp + 0xc], eax */ 15289 edx = ebx + 0xC; /* 0x2F0113DF: lea edx, [ebx + 0xc] */ 15290 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu); 15291 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15292 eax = eax + 0xCu; /* 0x2F0113E2: add eax, 0xc */ 15293 _flag_k = FK_ADD; 15294 PUSH32(esp, edx); /* 0x2F0113E5: push edx */ 15295 PUSH32(esp, eax); /* 0x2F0113E6: push eax */ 15296 RECOMP_ICALL(0x2F0111B0u); /* 0x2F0113E7: call 0x2f0111b0 */ /* not lifted */ 15297 RECOMP_FLAGS_IN(); 15298 eax = MEM32(ebp + 0xC); /* 0x2F0113EC: mov eax, dword ptr [ebp + 0xc] */ 15299 ecx = MEM32(esi + 0x8); /* 0x2F0113EF: mov ecx, dword ptr [esi + 8] */ 15300 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 15301 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15302 esp = esp + 8; /* 0x2F0113F2: add esp, 8 */ 15303 _flag_k = FK_ADD; 15304 MEM32(eax) = ecx; /* 0x2F0113F5: mov dword ptr [eax], ecx */ 15305 edx = MEM32(esi + 0x8); /* 0x2F0113F7: mov edx, dword ptr [esi + 8] */ 15306 ecx = MEM32(ebp + (-0x10)); /* 0x2F0113FA: mov ecx, dword ptr [ebp - 0x10] */ 15307 MEM32(eax + 0x8) = edx; /* 0x2F0113FD: mov dword ptr [eax + 8], edx */ 15308 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2F011400: cmp ecx, dword ptr [esi + 8] */ 15309 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 15310 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15311 _flag_k = FK_CMP; 15312 if (CMP_NE(_flag_a, _flag_b)) goto L_2F011408; /* 0x2F011403: jne 0x2f011408 */ 15313 L_2F011405: 15314 MEM32(ebp + (-0x10)) = eax; /* 0x2F011405: mov dword ptr [ebp - 0x10], eax */ 15315 L_2F011408: 15316 edx = MEM32(ebx); /* 0x2F011408: mov edx, dword ptr [ebx] */ 15317 PUSH32(esp, eax); /* 0x2F01140A: push eax */ 15318 PUSH32(esp, edx); /* 0x2F01140B: push edx */ 15319 ecx = esi; /* 0x2F01140C: mov ecx, esi */ 15320 RECOMP_ICALL(0x2F010ED0u); /* 0x2F01140E: call 0x2f010ed0 */ /* not lifted */ 15321 RECOMP_FLAGS_IN(); 15322 ecx = MEM32(ebp + 0xC); /* 0x2F011413: mov ecx, dword ptr [ebp + 0xc] */ 15323 PUSH32(esp, ecx); /* 0x2F011416: push ecx */ 15324 MEM32(ecx) = eax; /* 0x2F011417: mov dword ptr [ecx], eax */ 15325 eax = MEM32(ebx + 0x8); /* 0x2F011419: mov eax, dword ptr [ebx + 8] */ 15326 PUSH32(esp, eax); /* 0x2F01141C: push eax */ 15327 ecx = esi; /* 0x2F01141D: mov ecx, esi */ 15328 RECOMP_ICALL(0x2F010ED0u); /* 0x2F01141F: call 0x2f010ed0 */ /* not lifted */ 15329 RECOMP_FLAGS_IN(); 15330 ecx = MEM32(ebp + 0xC); /* 0x2F011424: mov ecx, dword ptr [ebp + 0xc] */ 15331 MEM32(ecx + 0x8) = eax; /* 0x2F011427: mov dword ptr [ecx + 8], eax */ 15332 L_2F01142A: 15333 edx = MEM32(esi + 0x4); /* 0x2F01142A: mov edx, dword ptr [esi + 4] */ 15334 eax = MEM32(ebp + (-0x10)); /* 0x2F01142D: mov eax, dword ptr [ebp - 0x10] */ 15335 MEM32(edx + 0x4) = eax; /* 0x2F011430: mov dword ptr [edx + 4], eax */ 15336 ecx = MEM32(edi + 0x14); /* 0x2F011433: mov ecx, dword ptr [edi + 0x14] */ 15337 edx = MEM32(esi + 0x4); /* 0x2F011436: mov edx, dword ptr [esi + 4] */ 15338 MEM32(esi + 0x10) = ecx; /* 0x2F011439: mov dword ptr [esi + 0x10], ecx */ 15339 ecx = MEM32(esi + 0x8); /* 0x2F01143C: mov ecx, dword ptr [esi + 8] */ 15340 edi = POP32_VAL(esp); /* 0x2F01143F: pop edi */ 15341 eax = MEM32(edx + 0x4); /* 0x2F011440: mov eax, dword ptr [edx + 4] */ 15342 /* cmp eax, ecx */ /* 0x2F011443: cmp eax, ecx */ 15343 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 15344 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15345 _flag_k = FK_CMP; 15346 if (CMP_EQ(_flag_a, _flag_b)) goto L_2F01148C; /* 0x2F011445: je 0x2f01148c */ 15347 L_2F011447: 15348 ecx = MEM32(eax); /* 0x2F011447: mov ecx, dword ptr [eax] */ 15349 SET_LO8(ebx, MEM8(ecx + 0x21)); /* 0x2F011449: mov bl, byte ptr [ecx + 0x21] */ 15350 /* test LO8(ebx), LO8(ebx) */ /* 0x2F01144C: test bl, bl */ 15351 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15352 _cf = 0; 15353 _flag_k = FK_NARROW(FK_TEST, 24); 15354 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F01145B; /* 0x2F01144E: jne 0x2f01145b */ 15355 L_2F011450: 15356 eax = ecx; /* 0x2F011450: mov eax, ecx */ 15357 ecx = MEM32(eax); /* 0x2F011452: mov ecx, dword ptr [eax] */ 15358 SET_LO8(ebx, MEM8(ecx + 0x21)); /* 0x2F011454: mov bl, byte ptr [ecx + 0x21] */ 15359 /* test LO8(ebx), LO8(ebx) */ /* 0x2F011457: test bl, bl */ 15360 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 15361 _cf = 0; 15362 _flag_k = FK_NARROW(FK_TEST, 24); 15363 RECOMP_BACKEDGE(); 15364 if (TEST_Z(_flag_a, _flag_b)) goto L_2F011450; /* 0x2F011459: je 0x2f011450 */ 15365 L_2F01145B: 15366 MEM32(edx) = eax; /* 0x2F01145B: mov dword ptr [edx], eax */ 15367 esi = MEM32(esi + 0x4); /* 0x2F01145D: mov esi, dword ptr [esi + 4] */ 15368 ecx = MEM32(esi + 0x4); /* 0x2F011460: mov ecx, dword ptr [esi + 4] */ 15369 eax = MEM32(ecx + 0x8); /* 0x2F011463: mov eax, dword ptr [ecx + 8] */ 15370 SET_LO8(edx, MEM8(eax + 0x21)); /* 0x2F011466: mov dl, byte ptr [eax + 0x21] */ 15371 /* test LO8(edx), LO8(edx) */ /* 0x2F011469: test dl, dl */ 15372 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 15373 _cf = 0; 15374 _flag_k = FK_NARROW(FK_TEST, 24); 15375 if (TEST_NZ(_flag_a, _flag_b)) goto L_2F011479; /* 0x2F01146B: jne 0x2f011479 */ 15376 L_2F01146D: 15377 ecx = eax; /* 0x2F01146D: mov ecx, eax */ 15378 eax = MEM32(ecx + 0x8); /* 0x2F01146F: mov eax, dword ptr [ecx + 8] */ 15379 SET_LO8(edx, MEM8(eax + 0x21)); /* 0x2F011472: mov dl, byte ptr [eax + 0x21] */ 15380 /* test LO8(edx), LO8(edx) */ /* 0x2F011475: test dl, dl */ 15381 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 15382 _cf = 0; 15383 _flag_k = FK_NARROW(FK_TEST, 24); 15384 RECOMP_BACKEDGE(); 15385 if (TEST_Z(_flag_a, _flag_b)) goto L_2F01146D; /* 0x2F011477: je 0x2f01146d */ 15386 L_2F011479: 15387 MEM32(esi + 0x8) = ecx; /* 0x2F011479: mov dword ptr [esi + 8], ecx */ 15388 esi = POP32_VAL(esp); /* 0x2F01147C: pop esi */ 15389 ebx = POP32_VAL(esp); /* 0x2F01147D: pop ebx */ 15390 ecx = MEM32(ebp + (-0xC)); /* 0x2F01147E: mov ecx, dword ptr [ebp - 0xc] */ 15391 MEM32(FS_BASE + (0)) = ecx; /* 0x2F011481: mov dword ptr fs:[0], ecx */ 15392 esp = ebp; /* 0x2F011488: mov esp, ebp */ 15393 ebp = POP32_VAL(esp); /* 0x2F01148A: pop ebp */ 15394 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2F01148B: ret */ 15395 L_2F01148C: 15396 MEM32(edx) = edx; /* 0x2F01148C: mov dword ptr [edx], edx */ 15397 esi = MEM32(esi + 0x4); /* 0x2F01148E: mov esi, dword ptr [esi + 4] */ 15398 MEM32(esi + 0x8) = esi; /* 0x2F011491: mov dword ptr [esi + 8], esi */ 15399 L_2F011494: 15400 ecx = MEM32(ebp + (-0xC)); /* 0x2F011494: mov ecx, dword ptr [ebp - 0xc] */ 15401 esi = POP32_VAL(esp); /* 0x2F011497: pop esi */ 15402 ebx = POP32_VAL(esp); /* 0x2F011498: pop ebx */ 15403 MEM32(FS_BASE + (0)) = ecx; /* 0x2F011499: mov dword ptr fs:[0], ecx */ 15404 esp = ebp; /* 0x2F0114A0: mov esp, ebp */ 15405 ebp = POP32_VAL(esp); /* 0x2F0114A2: pop ebp */ 15406 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2F0114A3: ret */ 15407 RECOMP_REGS_OUT(); 15408 } 15409 15410 void sub_2F0114B0(void) { 15411 int _fpu_cmp = 0; 15412 uint32_t _cf = 0; 15413 int _df = 1; 15414 uint32_t _flag_k = FK_NONE; 15415 uint32_t _flag_a = 0, _flag_b = 0; 15416 uint32_t _itail_tgt = 0; 15417 RECOMP_REGS_LOCALS 15418 RECOMP_ENTER(0x2F0114B0u); 15419 15420 L_2F0114B0: 15421 PUSH32(esp, ebp); /* 0x2F0114B0: push ebp */ 15422 ebp = esp; /* 0x2F0114B1: mov ebp, esp */ 15423 PUSH32(esp, esi); /* 0x2F0114B3: push esi */ 15424 esi = ecx; /* 0x2F0114B4: mov esi, ecx */ 15425 RECOMP_ICALL(0x2F00F8E0u); /* 0x2F0114B6: call 0x2f00f8e0 */ /* not lifted */ 15426 RECOMP_FLAGS_IN(); 15427 /* test MEM8(ebp + 0x8), 1 */ /* 0x2F0114BB: test byte ptr [ebp + 8], 1 */ 15428 _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24; 15429 _cf = 0; 15430 _flag_k = FK_NARROW(FK_TEST, 24); 15431 if (TEST_Z(_flag_a, _flag_b)) goto L_2F0114CA; /* 0x2F0114BF: je 0x2f0114ca */ 15432 L_2F0114C1: 15433 PUSH32(esp, esi); /* 0x2F0114C1: push esi */ 15434 RECOMP_ICALL(0x2F0116B4u); /* 0x2F0114C2: call 0x2f0116b4 */ /* not lifted */ 15435 RECOMP_FLAGS_IN(); 15436 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15437 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15438 esp = esp + 4; /* 0x2F0114C7: add esp, 4 */ 15439 _flag_k = FK_ADD; 15440 L_2F0114CA: 15441 eax = esi; /* 0x2F0114CA: mov eax, esi */ 15442 esi = POP32_VAL(esp); /* 0x2F0114CC: pop esi */ 15443 ebp = POP32_VAL(esp); /* 0x2F0114CD: pop ebp */ 15444 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2F0114CE: ret 4 */ 15445 RECOMP_REGS_OUT(); 15446 } 15447 15448 void sub_2F0114E0(void) { 15449 int _fpu_cmp = 0; 15450 uint32_t _cf = 0; 15451 int _df = 1; 15452 uint32_t _flag_k = FK_NONE; 15453 uint32_t _flag_a = 0, _flag_b = 0; 15454 uint32_t _itail_tgt = 0; 15455 RECOMP_REGS_LOCALS 15456 RECOMP_ENTER(0x2F0114E0u); 15457 15458 L_2F0114E0: 15459 { _itail_tgt = (uint32_t)(MEM32(0x2F013340)); goto _ljump; } 15460 { RECOMP_REGS_OUT(); return; } /* end of function */ 15461 _ljump: 15462 switch (_itail_tgt) { 15463 case 0x2F0114E0u: goto L_2F0114E0; 15464 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 15465 } 15466 RECOMP_REGS_OUT(); 15467 } 15468 15469 void sub_2F0114E6(void) { 15470 int _fpu_cmp = 0; 15471 uint32_t _cf = 0; 15472 int _df = 1; 15473 uint32_t _flag_k = FK_NONE; 15474 uint32_t _flag_a = 0, _flag_b = 0; 15475 uint32_t _itail_tgt = 0; 15476 RECOMP_REGS_LOCALS 15477 RECOMP_ENTER(0x2F0114E6u); 15478 15479 L_2F0114E6: 15480 { _itail_tgt = (uint32_t)(MEM32(0x2F0133C0)); goto _ljump; } 15481 { RECOMP_REGS_OUT(); return; } /* end of function */ 15482 _ljump: 15483 switch (_itail_tgt) { 15484 case 0x2F0114E6u: goto L_2F0114E6; 15485 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 15486 } 15487 RECOMP_REGS_OUT(); 15488 } 15489 15490 void sub_2F0114EC(void) { 15491 int _fpu_cmp = 0; 15492 uint32_t _cf = 0; 15493 int _df = 1; 15494 uint32_t _flag_k = FK_NONE; 15495 uint32_t _flag_a = 0, _flag_b = 0; 15496 uint32_t _itail_tgt = 0; 15497 RECOMP_REGS_LOCALS 15498 RECOMP_ENTER(0x2F0114ECu); 15499 15500 L_2F0114EC: 15501 { _itail_tgt = (uint32_t)(MEM32(0x2F0133C4)); goto _ljump; } 15502 { RECOMP_REGS_OUT(); return; } /* end of function */ 15503 _ljump: 15504 switch (_itail_tgt) { 15505 case 0x2F0114ECu: goto L_2F0114EC; 15506 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 15507 } 15508 RECOMP_REGS_OUT(); 15509 } 15510 15511 void sub_2F0114F2(void) { 15512 int _fpu_cmp = 0; 15513 uint32_t _cf = 0; 15514 int _df = 1; 15515 uint32_t _flag_k = FK_NONE; 15516 uint32_t _flag_a = 0, _flag_b = 0; 15517 uint32_t _itail_tgt = 0; 15518 RECOMP_REGS_LOCALS 15519 RECOMP_ENTER(0x2F0114F2u); 15520 15521 L_2F0114F2: 15522 { _itail_tgt = (uint32_t)(MEM32(0x2F0132E4)); goto _ljump; } 15523 { RECOMP_REGS_OUT(); return; } /* end of function */ 15524 _ljump: 15525 switch (_itail_tgt) { 15526 case 0x2F0114F2u: goto L_2F0114F2; 15527 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 15528 } 15529 RECOMP_REGS_OUT(); 15530 } 15531 15532 void sub_2F0114F8(void) { 15533 int _fpu_cmp = 0; 15534 uint32_t _cf = 0; 15535 int _df = 1; 15536 uint32_t _flag_k = FK_NONE; 15537 uint32_t _flag_a = 0, _flag_b = 0; 15538 uint32_t _itail_tgt = 0; 15539 RECOMP_REGS_LOCALS 15540 RECOMP_ENTER(0x2F0114F8u); 15541 15542 L_2F0114F8: 15543 { _itail_tgt = (uint32_t)(MEM32(0x2F0133CC)); goto _ljump; } 15544 { RECOMP_REGS_OUT(); return; } /* end of function */ 15545 _ljump: 15546 switch (_itail_tgt) { 15547 case 0x2F0114F8u: goto L_2F0114F8; 15548 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 15549 } 15550 RECOMP_REGS_OUT(); 15551 } 15552 15553 void sub_2F0114FE(void) { 15554 int _fpu_cmp = 0; 15555 uint32_t _cf = 0; 15556 int _df = 1; 15557 uint32_t _flag_k = FK_NONE; 15558 uint32_t _flag_a = 0, _flag_b = 0; 15559 uint32_t _itail_tgt = 0; 15560 RECOMP_REGS_LOCALS 15561 RECOMP_ENTER(0x2F0114FEu); 15562 15563 L_2F0114FE: 15564 { _itail_tgt = (uint32_t)(MEM32(0x2F0132E8)); goto _ljump; } 15565 { RECOMP_REGS_OUT(); return; } /* end of function */ 15566 _ljump: 15567 switch (_itail_tgt) { 15568 case 0x2F0114FEu: goto L_2F0114FE; 15569 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 15570 } 15571 RECOMP_REGS_OUT(); 15572 } 15573 15574 void sub_2F011504(void) { 15575 int _fpu_cmp = 0; 15576 uint32_t _cf = 0; 15577 int _df = 1; 15578 uint32_t _flag_k = FK_NONE; 15579 uint32_t _flag_a = 0, _flag_b = 0; 15580 uint32_t _itail_tgt = 0; 15581 RECOMP_REGS_LOCALS 15582 RECOMP_ENTER(0x2F011504u); 15583 15584 L_2F011504: 15585 { _itail_tgt = (uint32_t)(MEM32(0x2F0133D4)); goto _ljump; } 15586 { RECOMP_REGS_OUT(); return; } /* end of function */ 15587 _ljump: 15588 switch (_itail_tgt) { 15589 case 0x2F011504u: goto L_2F011504; 15590 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 15591 } 15592 RECOMP_REGS_OUT(); 15593 } 15594 15595 void sub_2F01150A(void) { 15596 int _fpu_cmp = 0; 15597 uint32_t _cf = 0; 15598 int _df = 1; 15599 uint32_t _flag_k = FK_NONE; 15600 uint32_t _flag_a = 0, _flag_b = 0; 15601 uint32_t _itail_tgt = 0; 15602 RECOMP_REGS_LOCALS 15603 RECOMP_ENTER(0x2F01150Au); 15604 15605 L_2F01150A: 15606 { _itail_tgt = (uint32_t)(MEM32(0x2F0133D8)); goto _ljump; } 15607 { RECOMP_REGS_OUT(); return; } /* end of function */ 15608 _ljump: 15609 switch (_itail_tgt) { 15610 case 0x2F01150Au: goto L_2F01150A; 15611 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 15612 } 15613 RECOMP_REGS_OUT(); 15614 } 15615 15616 void sub_2F011510(void) { 15617 int _fpu_cmp = 0; 15618 uint32_t _cf = 0; 15619 int _df = 1; 15620 uint32_t _flag_k = FK_NONE; 15621 uint32_t _flag_a = 0, _flag_b = 0; 15622 uint32_t _itail_tgt = 0; 15623 RECOMP_REGS_LOCALS 15624 RECOMP_ENTER(0x2F011510u); 15625 15626 L_2F011510: 15627 { _itail_tgt = (uint32_t)(MEM32(0x2F0133DC)); goto _ljump; } 15628 { RECOMP_REGS_OUT(); return; } /* end of function */ 15629 _ljump: 15630 switch (_itail_tgt) { 15631 case 0x2F011510u: goto L_2F011510; 15632 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 15633 } 15634 RECOMP_REGS_OUT(); 15635 } 15636 15637 void sub_2F011516(void) { 15638 int _fpu_cmp = 0; 15639 uint32_t _cf = 0; 15640 int _df = 1; 15641 uint32_t _flag_k = FK_NONE; 15642 uint32_t _flag_a = 0, _flag_b = 0; 15643 uint32_t _itail_tgt = 0; 15644 RECOMP_REGS_LOCALS 15645 RECOMP_ENTER(0x2F011516u); 15646 15647 L_2F011516: 15648 { _itail_tgt = (uint32_t)(MEM32(0x2F0133E0)); goto _ljump; } 15649 { RECOMP_REGS_OUT(); return; } /* end of function */ 15650 _ljump: 15651 switch (_itail_tgt) { 15652 case 0x2F011516u: goto L_2F011516; 15653 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 15654 } 15655 RECOMP_REGS_OUT(); 15656 } 15657 15658 void sub_2F01151C(void) { 15659 int _fpu_cmp = 0; 15660 uint32_t _cf = 0; 15661 int _df = 1; 15662 uint32_t _flag_k = FK_NONE; 15663 uint32_t _flag_a = 0, _flag_b = 0; 15664 uint32_t _itail_tgt = 0; 15665 RECOMP_REGS_LOCALS 15666 RECOMP_ENTER(0x2F01151Cu); 15667 15668 L_2F01151C: 15669 { _itail_tgt = (uint32_t)(MEM32(0x2F0133E4)); goto _ljump; } 15670 { RECOMP_REGS_OUT(); return; } /* end of function */ 15671 _ljump: 15672 switch (_itail_tgt) { 15673 case 0x2F01151Cu: goto L_2F01151C; 15674 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 15675 } 15676 RECOMP_REGS_OUT(); 15677 } 15678 15679 void sub_2F011522(void) { 15680 int _fpu_cmp = 0; 15681 uint32_t _cf = 0; 15682 int _df = 1; 15683 uint32_t _flag_k = FK_NONE; 15684 uint32_t _flag_a = 0, _flag_b = 0; 15685 uint32_t _itail_tgt = 0; 15686 RECOMP_REGS_LOCALS 15687 RECOMP_ENTER(0x2F011522u); 15688 15689 L_2F011522: 15690 { _itail_tgt = (uint32_t)(MEM32(0x2F013324)); goto _ljump; } 15691 { RECOMP_REGS_OUT(); return; } /* end of function */ 15692 _ljump: 15693 switch (_itail_tgt) { 15694 case 0x2F011522u: goto L_2F011522; 15695 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 15696 } 15697 RECOMP_REGS_OUT(); 15698 } 15699 15700 void sub_2F011528(void) { 15701 int _fpu_cmp = 0; 15702 uint32_t _cf = 0; 15703 int _df = 1; 15704 uint32_t _flag_k = FK_NONE; 15705 uint32_t _flag_a = 0, _flag_b = 0; 15706 uint32_t _itail_tgt = 0; 15707 RECOMP_REGS_LOCALS 15708 RECOMP_ENTER(0x2F011528u); 15709 15710 L_2F011528: 15711 { _itail_tgt = (uint32_t)(MEM32(0x2F013320)); goto _ljump; } 15712 { RECOMP_REGS_OUT(); return; } /* end of function */ 15713 _ljump: 15714 switch (_itail_tgt) { 15715 case 0x2F011528u: goto L_2F011528; 15716 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 15717 } 15718 RECOMP_REGS_OUT(); 15719 } 15720 15721 void sub_2F01152E(void) { 15722 int _fpu_cmp = 0; 15723 uint32_t _cf = 0; 15724 int _df = 1; 15725 uint32_t _flag_k = FK_NONE; 15726 uint32_t _flag_a = 0, _flag_b = 0; 15727 uint32_t _itail_tgt = 0; 15728 RECOMP_REGS_LOCALS 15729 RECOMP_ENTER(0x2F01152Eu); 15730 15731 L_2F01152E: 15732 { _itail_tgt = (uint32_t)(MEM32(0x2F0133F4)); goto _ljump; } 15733 { RECOMP_REGS_OUT(); return; } /* end of function */ 15734 _ljump: 15735 switch (_itail_tgt) { 15736 case 0x2F01152Eu: goto L_2F01152E; 15737 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 15738 } 15739 RECOMP_REGS_OUT(); 15740 } 15741 15742 void sub_2F011534(void) { 15743 int _fpu_cmp = 0; 15744 uint32_t _cf = 0; 15745 int _df = 1; 15746 uint32_t _flag_k = FK_NONE; 15747 uint32_t _flag_a = 0, _flag_b = 0; 15748 uint32_t _itail_tgt = 0; 15749 RECOMP_REGS_LOCALS 15750 RECOMP_ENTER(0x2F011534u); 15751 15752 L_2F011534: 15753 { _itail_tgt = (uint32_t)(MEM32(0x2F0133F8)); goto _ljump; } 15754 { RECOMP_REGS_OUT(); return; } /* end of function */ 15755 _ljump: 15756 switch (_itail_tgt) { 15757 case 0x2F011534u: goto L_2F011534; 15758 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 15759 } 15760 RECOMP_REGS_OUT(); 15761 } 15762 15763 void sub_2F01153A(void) { 15764 int _fpu_cmp = 0; 15765 uint32_t _cf = 0; 15766 int _df = 1; 15767 uint32_t _flag_k = FK_NONE; 15768 uint32_t _flag_a = 0, _flag_b = 0; 15769 uint32_t _itail_tgt = 0; 15770 RECOMP_REGS_LOCALS 15771 RECOMP_ENTER(0x2F01153Au); 15772 15773 L_2F01153A: 15774 { _itail_tgt = (uint32_t)(MEM32(0x2F0133B8)); goto _ljump; } 15775 { RECOMP_REGS_OUT(); return; } /* end of function */ 15776 _ljump: 15777 switch (_itail_tgt) { 15778 case 0x2F01153Au: goto L_2F01153A; 15779 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 15780 } 15781 RECOMP_REGS_OUT(); 15782 } 15783 15784 void sub_2F011540(void) { 15785 int _fpu_cmp = 0; 15786 uint32_t _cf = 0; 15787 int _df = 1; 15788 uint32_t _flag_k = FK_NONE; 15789 uint32_t _flag_a = 0, _flag_b = 0; 15790 uint32_t _itail_tgt = 0; 15791 RECOMP_REGS_LOCALS 15792 RECOMP_ENTER(0x2F011540u); 15793 15794 L_2F011540: 15795 { _itail_tgt = (uint32_t)(MEM32(0x2F013364)); goto _ljump; } 15796 { RECOMP_REGS_OUT(); return; } /* end of function */ 15797 _ljump: 15798 switch (_itail_tgt) { 15799 case 0x2F011540u: goto L_2F011540; 15800 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 15801 } 15802 RECOMP_REGS_OUT(); 15803 } 15804 15805 void sub_2F011546(void) { 15806 int _fpu_cmp = 0; 15807 uint32_t _cf = 0; 15808 int _df = 1; 15809 uint32_t _flag_k = FK_NONE; 15810 uint32_t _flag_a = 0, _flag_b = 0; 15811 uint32_t _itail_tgt = 0; 15812 RECOMP_REGS_LOCALS 15813 RECOMP_ENTER(0x2F011546u); 15814 15815 L_2F011546: 15816 { _itail_tgt = (uint32_t)(MEM32(0x2F0133F0)); goto _ljump; } 15817 { RECOMP_REGS_OUT(); return; } /* end of function */ 15818 _ljump: 15819 switch (_itail_tgt) { 15820 case 0x2F011546u: goto L_2F011546; 15821 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 15822 } 15823 RECOMP_REGS_OUT(); 15824 } 15825 15826 void sub_2F01154C(void) { 15827 int _fpu_cmp = 0; 15828 uint32_t _cf = 0; 15829 int _df = 1; 15830 uint32_t _flag_k = FK_NONE; 15831 uint32_t _flag_a = 0, _flag_b = 0; 15832 uint32_t _itail_tgt = 0; 15833 RECOMP_REGS_LOCALS 15834 RECOMP_ENTER(0x2F01154Cu); 15835 15836 L_2F01154C: 15837 { _itail_tgt = (uint32_t)(MEM32(0x2F0133EC)); goto _ljump; } 15838 { RECOMP_REGS_OUT(); return; } /* end of function */ 15839 _ljump: 15840 switch (_itail_tgt) { 15841 case 0x2F01154Cu: goto L_2F01154C; 15842 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 15843 } 15844 RECOMP_REGS_OUT(); 15845 } 15846 15847 void sub_2F011552(void) { 15848 int _fpu_cmp = 0; 15849 uint32_t _cf = 0; 15850 int _df = 1; 15851 uint32_t _flag_k = FK_NONE; 15852 uint32_t _flag_a = 0, _flag_b = 0; 15853 uint32_t _itail_tgt = 0; 15854 RECOMP_REGS_LOCALS 15855 RECOMP_ENTER(0x2F011552u); 15856 15857 L_2F011552: 15858 { _itail_tgt = (uint32_t)(MEM32(0x2F0133BC)); goto _ljump; } 15859 { RECOMP_REGS_OUT(); return; } /* end of function */ 15860 _ljump: 15861 switch (_itail_tgt) { 15862 case 0x2F011552u: goto L_2F011552; 15863 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 15864 } 15865 RECOMP_REGS_OUT(); 15866 } 15867 15868 void sub_2F011558(void) { 15869 int _fpu_cmp = 0; 15870 uint32_t _cf = 0; 15871 int _df = 1; 15872 uint32_t _flag_k = FK_NONE; 15873 uint32_t _flag_a = 0, _flag_b = 0; 15874 uint32_t _itail_tgt = 0; 15875 RECOMP_REGS_LOCALS 15876 RECOMP_ENTER(0x2F011558u); 15877 15878 L_2F011558: 15879 { _itail_tgt = (uint32_t)(MEM32(0x2F0133C8)); goto _ljump; } 15880 { RECOMP_REGS_OUT(); return; } /* end of function */ 15881 _ljump: 15882 switch (_itail_tgt) { 15883 case 0x2F011558u: goto L_2F011558; 15884 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 15885 } 15886 RECOMP_REGS_OUT(); 15887 } 15888 15889 void sub_2F01155E(void) { 15890 int _fpu_cmp = 0; 15891 uint32_t _cf = 0; 15892 int _df = 1; 15893 uint32_t _flag_k = FK_NONE; 15894 uint32_t _flag_a = 0, _flag_b = 0; 15895 uint32_t _itail_tgt = 0; 15896 RECOMP_REGS_LOCALS 15897 RECOMP_ENTER(0x2F01155Eu); 15898 15899 L_2F01155E: 15900 { _itail_tgt = (uint32_t)(MEM32(0x2F0132EC)); goto _ljump; } 15901 { RECOMP_REGS_OUT(); return; } /* end of function */ 15902 _ljump: 15903 switch (_itail_tgt) { 15904 case 0x2F01155Eu: goto L_2F01155E; 15905 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 15906 } 15907 RECOMP_REGS_OUT(); 15908 } 15909 15910 void sub_2F011564(void) { 15911 int _fpu_cmp = 0; 15912 uint32_t _cf = 0; 15913 int _df = 1; 15914 uint32_t _flag_k = FK_NONE; 15915 uint32_t _flag_a = 0, _flag_b = 0; 15916 uint32_t _itail_tgt = 0; 15917 RECOMP_REGS_LOCALS 15918 RECOMP_ENTER(0x2F011564u); 15919 15920 L_2F011564: 15921 { _itail_tgt = (uint32_t)(MEM32(0x2F0132F0)); goto _ljump; } 15922 { RECOMP_REGS_OUT(); return; } /* end of function */ 15923 _ljump: 15924 switch (_itail_tgt) { 15925 case 0x2F011564u: goto L_2F011564; 15926 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 15927 } 15928 RECOMP_REGS_OUT(); 15929 } 15930 15931 void sub_2F01156A(void) { 15932 int _fpu_cmp = 0; 15933 uint32_t _cf = 0; 15934 int _df = 1; 15935 uint32_t _flag_k = FK_NONE; 15936 uint32_t _flag_a = 0, _flag_b = 0; 15937 uint32_t _itail_tgt = 0; 15938 RECOMP_REGS_LOCALS 15939 RECOMP_ENTER(0x2F01156Au); 15940 15941 L_2F01156A: 15942 { _itail_tgt = (uint32_t)(MEM32(0x2F0132F4)); goto _ljump; } 15943 { RECOMP_REGS_OUT(); return; } /* end of function */ 15944 _ljump: 15945 switch (_itail_tgt) { 15946 case 0x2F01156Au: goto L_2F01156A; 15947 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 15948 } 15949 RECOMP_REGS_OUT(); 15950 } 15951 15952 void sub_2F011570(void) { 15953 int _fpu_cmp = 0; 15954 uint32_t _cf = 0; 15955 int _df = 1; 15956 uint32_t _flag_k = FK_NONE; 15957 uint32_t _flag_a = 0, _flag_b = 0; 15958 uint32_t _itail_tgt = 0; 15959 RECOMP_REGS_LOCALS 15960 RECOMP_ENTER(0x2F011570u); 15961 15962 L_2F011570: 15963 { _itail_tgt = (uint32_t)(MEM32(0x2F0132F8)); goto _ljump; } 15964 { RECOMP_REGS_OUT(); return; } /* end of function */ 15965 _ljump: 15966 switch (_itail_tgt) { 15967 case 0x2F011570u: goto L_2F011570; 15968 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 15969 } 15970 RECOMP_REGS_OUT(); 15971 } 15972 15973 void sub_2F011576(void) { 15974 int _fpu_cmp = 0; 15975 uint32_t _cf = 0; 15976 int _df = 1; 15977 uint32_t _flag_k = FK_NONE; 15978 uint32_t _flag_a = 0, _flag_b = 0; 15979 uint32_t _itail_tgt = 0; 15980 RECOMP_REGS_LOCALS 15981 RECOMP_ENTER(0x2F011576u); 15982 15983 L_2F011576: 15984 { _itail_tgt = (uint32_t)(MEM32(0x2F0132FC)); goto _ljump; } 15985 { RECOMP_REGS_OUT(); return; } /* end of function */ 15986 _ljump: 15987 switch (_itail_tgt) { 15988 case 0x2F011576u: goto L_2F011576; 15989 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 15990 } 15991 RECOMP_REGS_OUT(); 15992 } 15993 15994 void sub_2F01157C(void) { 15995 int _fpu_cmp = 0; 15996 uint32_t _cf = 0; 15997 int _df = 1; 15998 uint32_t _flag_k = FK_NONE; 15999 uint32_t _flag_a = 0, _flag_b = 0; 16000 uint32_t _itail_tgt = 0; 16001 RECOMP_REGS_LOCALS 16002 RECOMP_ENTER(0x2F01157Cu); 16003 16004 L_2F01157C: 16005 { _itail_tgt = (uint32_t)(MEM32(0x2F013300)); goto _ljump; } 16006 { RECOMP_REGS_OUT(); return; } /* end of function */ 16007 _ljump: 16008 switch (_itail_tgt) { 16009 case 0x2F01157Cu: goto L_2F01157C; 16010 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 16011 } 16012 RECOMP_REGS_OUT(); 16013 } 16014 16015 void sub_2F011582(void) { 16016 int _fpu_cmp = 0; 16017 uint32_t _cf = 0; 16018 int _df = 1; 16019 uint32_t _flag_k = FK_NONE; 16020 uint32_t _flag_a = 0, _flag_b = 0; 16021 uint32_t _itail_tgt = 0; 16022 RECOMP_REGS_LOCALS 16023 RECOMP_ENTER(0x2F011582u); 16024 16025 L_2F011582: 16026 { _itail_tgt = (uint32_t)(MEM32(0x2F0134B4)); goto _ljump; } 16027 { RECOMP_REGS_OUT(); return; } /* end of function */ 16028 _ljump: 16029 switch (_itail_tgt) { 16030 case 0x2F011582u: goto L_2F011582; 16031 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 16032 } 16033 RECOMP_REGS_OUT(); 16034 } 16035 16036 void sub_2F011588(void) { 16037 int _fpu_cmp = 0; 16038 uint32_t _cf = 0; 16039 int _df = 1; 16040 uint32_t _flag_k = FK_NONE; 16041 uint32_t _flag_a = 0, _flag_b = 0; 16042 uint32_t _itail_tgt = 0; 16043 RECOMP_REGS_LOCALS 16044 RECOMP_ENTER(0x2F011588u); 16045 16046 L_2F011588: 16047 { _itail_tgt = (uint32_t)(MEM32(0x2F0134B0)); goto _ljump; } 16048 { RECOMP_REGS_OUT(); return; } /* end of function */ 16049 _ljump: 16050 switch (_itail_tgt) { 16051 case 0x2F011588u: goto L_2F011588; 16052 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 16053 } 16054 RECOMP_REGS_OUT(); 16055 } 16056 16057 void sub_2F01158E(void) { 16058 int _fpu_cmp = 0; 16059 uint32_t _cf = 0; 16060 int _df = 1; 16061 uint32_t _flag_k = FK_NONE; 16062 uint32_t _flag_a = 0, _flag_b = 0; 16063 uint32_t _itail_tgt = 0; 16064 RECOMP_REGS_LOCALS 16065 RECOMP_ENTER(0x2F01158Eu); 16066 16067 L_2F01158E: 16068 { _itail_tgt = (uint32_t)(MEM32(0x2F0134AC)); goto _ljump; } 16069 { RECOMP_REGS_OUT(); return; } /* end of function */ 16070 _ljump: 16071 switch (_itail_tgt) { 16072 case 0x2F01158Eu: goto L_2F01158E; 16073 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 16074 } 16075 RECOMP_REGS_OUT(); 16076 } 16077 16078 void sub_2F011594(void) { 16079 int _fpu_cmp = 0; 16080 uint32_t _cf = 0; 16081 int _df = 1; 16082 uint32_t _flag_k = FK_NONE; 16083 uint32_t _flag_a = 0, _flag_b = 0; 16084 uint32_t _itail_tgt = 0; 16085 RECOMP_REGS_LOCALS 16086 RECOMP_ENTER(0x2F011594u); 16087 16088 L_2F011594: 16089 { _itail_tgt = (uint32_t)(MEM32(0x2F01345C)); goto _ljump; } 16090 { RECOMP_REGS_OUT(); return; } /* end of function */ 16091 _ljump: 16092 switch (_itail_tgt) { 16093 case 0x2F011594u: goto L_2F011594; 16094 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 16095 } 16096 RECOMP_REGS_OUT(); 16097 } 16098 16099 void sub_2F01159A(void) { 16100 int _fpu_cmp = 0; 16101 uint32_t _cf = 0; 16102 int _df = 1; 16103 uint32_t _flag_k = FK_NONE; 16104 uint32_t _flag_a = 0, _flag_b = 0; 16105 uint32_t _itail_tgt = 0; 16106 RECOMP_REGS_LOCALS 16107 RECOMP_ENTER(0x2F01159Au); 16108 16109 L_2F01159A: 16110 { _itail_tgt = (uint32_t)(MEM32(0x2F013458)); goto _ljump; } 16111 { RECOMP_REGS_OUT(); return; } /* end of function */ 16112 _ljump: 16113 switch (_itail_tgt) { 16114 case 0x2F01159Au: goto L_2F01159A; 16115 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 16116 } 16117 RECOMP_REGS_OUT(); 16118 }