client/game/ddr.dll/lifted-0010.c (994013B)
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_2B02976C(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(0x2B02976Cu); 17 18 goto L_2B02976C; 19 L_2B0296A4: 20 /* cmp MEM8(eax + 0x3C), LO8(ebx) */ /* 0x2B0296A4: cmp byte ptr [eax + 0x3c], bl */ 21 _flag_a = (uint32_t)(MEM8(eax + 0x3C)) << 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_2B0298F2; /* 0x2B0296A7: jne 0x2b0298f2 */ 25 L_2B0296AD: 26 edx = MEM32(eax + 0x4); /* 0x2B0296AD: mov edx, dword ptr [eax + 4] */ 27 ecx = MEM32(edx); /* 0x2B0296B0: mov ecx, dword ptr [edx] */ 28 /* cmp eax, ecx */ /* 0x2B0296B2: 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_2B029724; /* 0x2B0296B4: jne 0x2b029724 */ 33 L_2B0296B6: 34 ecx = MEM32(edx + 0x8); /* 0x2B0296B6: mov ecx, dword ptr [edx + 8] */ 35 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B0296B9: mov dl, byte ptr [ecx + 0x3c] */ 36 /* test LO8(edx), LO8(edx) */ /* 0x2B0296BC: 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_2B02970B; /* 0x2B0296BE: jne 0x2b02970b */ 41 L_2B0296C0: 42 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0296C0: mov byte ptr [ecx + 0x3c], bl */ 43 edx = MEM32(eax + 0x4); /* 0x2B0296C3: mov edx, dword ptr [eax + 4] */ 44 MEM8(edx + 0x3C) = (uint8_t)(0); /* 0x2B0296C6: mov byte ptr [edx + 0x3c], 0 */ 45 ecx = MEM32(eax + 0x4); /* 0x2B0296CA: mov ecx, dword ptr [eax + 4] */ 46 edx = MEM32(ecx + 0x8); /* 0x2B0296CD: mov edx, dword ptr [ecx + 8] */ 47 esi = MEM32(edx); /* 0x2B0296D0: mov esi, dword ptr [edx] */ 48 MEM32(ecx + 0x8) = esi; /* 0x2B0296D2: mov dword ptr [ecx + 8], esi */ 49 esi = MEM32(edx); /* 0x2B0296D5: mov esi, dword ptr [edx] */ 50 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0296D7: 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_2B0296DF; /* 0x2B0296DA: je 0x2b0296df */ 55 L_2B0296DC: 56 MEM32(esi + 0x4) = ecx; /* 0x2B0296DC: mov dword ptr [esi + 4], ecx */ 57 L_2B0296DF: 58 esi = MEM32(ecx + 0x4); /* 0x2B0296DF: mov esi, dword ptr [ecx + 4] */ 59 MEM32(edx + 0x4) = esi; /* 0x2B0296E2: mov dword ptr [edx + 4], esi */ 60 esi = MEM32(edi + 0x4); /* 0x2B0296E5: mov esi, dword ptr [edi + 4] */ 61 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0296E8: 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_2B0296F2; /* 0x2B0296EB: jne 0x2b0296f2 */ 66 L_2B0296ED: 67 MEM32(esi + 0x4) = edx; /* 0x2B0296ED: mov dword ptr [esi + 4], edx */ 68 goto L_2B029700; /* 0x2B0296F0: jmp 0x2b029700 */ 69 L_2B0296F2: 70 esi = MEM32(ecx + 0x4); /* 0x2B0296F2: mov esi, dword ptr [ecx + 4] */ 71 /* cmp ecx, MEM32(esi) */ /* 0x2B0296F5: 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_2B0296FD; /* 0x2B0296F7: jne 0x2b0296fd */ 76 L_2B0296F9: 77 MEM32(esi) = edx; /* 0x2B0296F9: mov dword ptr [esi], edx */ 78 goto L_2B029700; /* 0x2B0296FB: jmp 0x2b029700 */ 79 L_2B0296FD: 80 MEM32(esi + 0x8) = edx; /* 0x2B0296FD: mov dword ptr [esi + 8], edx */ 81 L_2B029700: 82 MEM32(edx) = ecx; /* 0x2B029700: mov dword ptr [edx], ecx */ 83 MEM32(ecx + 0x4) = edx; /* 0x2B029702: mov dword ptr [ecx + 4], edx */ 84 ecx = MEM32(eax + 0x4); /* 0x2B029705: mov ecx, dword ptr [eax + 4] */ 85 ecx = MEM32(ecx + 0x8); /* 0x2B029708: mov ecx, dword ptr [ecx + 8] */ 86 L_2B02970B: 87 edx = MEM32(ecx); /* 0x2B02970B: mov edx, dword ptr [ecx] */ 88 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B02970D: cmp byte ptr [edx + 0x3c], bl */ 89 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 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_2B0297A6; /* 0x2B029710: jne 0x2b0297a6 */ 93 L_2B029716: 94 edx = MEM32(ecx + 0x8); /* 0x2B029716: mov edx, dword ptr [ecx + 8] */ 95 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B029719: cmp byte ptr [edx + 0x3c], bl */ 96 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 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_2B0297A6; /* 0x2B02971C: jne 0x2b0297a6 */ 100 L_2B029722: 101 goto L_2B02978E; /* 0x2B029722: jmp 0x2b02978e */ 102 L_2B029724: 103 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B029724: mov dl, byte ptr [ecx + 0x3c] */ 104 /* test LO8(edx), LO8(edx) */ /* 0x2B029727: 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_2B029777; /* 0x2B029729: jne 0x2b029777 */ 109 L_2B02972B: 110 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02972B: mov byte ptr [ecx + 0x3c], bl */ 111 ecx = MEM32(eax + 0x4); /* 0x2B02972E: mov ecx, dword ptr [eax + 4] */ 112 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B029731: mov byte ptr [ecx + 0x3c], 0 */ 113 ecx = MEM32(eax + 0x4); /* 0x2B029735: mov ecx, dword ptr [eax + 4] */ 114 edx = MEM32(ecx); /* 0x2B029738: mov edx, dword ptr [ecx] */ 115 esi = MEM32(edx + 0x8); /* 0x2B02973A: mov esi, dword ptr [edx + 8] */ 116 MEM32(ecx) = esi; /* 0x2B02973D: mov dword ptr [ecx], esi */ 117 esi = MEM32(edx + 0x8); /* 0x2B02973F: mov esi, dword ptr [edx + 8] */ 118 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029742: 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_2B02974A; /* 0x2B029745: je 0x2b02974a */ 123 L_2B029747: 124 MEM32(esi + 0x4) = ecx; /* 0x2B029747: mov dword ptr [esi + 4], ecx */ 125 L_2B02974A: 126 esi = MEM32(ecx + 0x4); /* 0x2B02974A: mov esi, dword ptr [ecx + 4] */ 127 MEM32(edx + 0x4) = esi; /* 0x2B02974D: mov dword ptr [edx + 4], esi */ 128 esi = MEM32(edi + 0x4); /* 0x2B029750: mov esi, dword ptr [edi + 4] */ 129 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029753: 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_2B02975D; /* 0x2B029756: jne 0x2b02975d */ 134 L_2B029758: 135 MEM32(esi + 0x4) = edx; /* 0x2B029758: mov dword ptr [esi + 4], edx */ 136 goto L_2B02976C; /* 0x2B02975B: jmp 0x2b02976c */ 137 L_2B02975D: 138 esi = MEM32(ecx + 0x4); /* 0x2B02975D: mov esi, dword ptr [ecx + 4] */ 139 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029760: 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_2B02976A; /* 0x2B029763: jne 0x2b02976a */ 144 L_2B029765: 145 MEM32(esi + 0x8) = edx; /* 0x2B029765: mov dword ptr [esi + 8], edx */ 146 goto L_2B02976C; /* 0x2B029768: jmp 0x2b02976c */ 147 L_2B02976A: 148 MEM32(esi) = edx; /* 0x2B02976A: mov dword ptr [esi], edx */ 149 L_2B02976C: 150 MEM32(edx + 0x8) = ecx; /* 0x2B02976C: mov dword ptr [edx + 8], ecx */ 151 MEM32(ecx + 0x4) = edx; /* 0x2B02976F: mov dword ptr [ecx + 4], edx */ 152 edx = MEM32(eax + 0x4); /* 0x2B029772: mov edx, dword ptr [eax + 4] */ 153 ecx = MEM32(edx); /* 0x2B029775: mov ecx, dword ptr [edx] */ 154 L_2B029777: 155 edx = MEM32(ecx + 0x8); /* 0x2B029777: mov edx, dword ptr [ecx + 8] */ 156 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B02977A: cmp byte ptr [edx + 0x3c], bl */ 157 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 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_2B029853; /* 0x2B02977D: jne 0x2b029853 */ 161 L_2B029783: 162 edx = MEM32(ecx); /* 0x2B029783: mov edx, dword ptr [ecx] */ 163 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B029785: cmp byte ptr [edx + 0x3c], bl */ 164 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 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_2B029853; /* 0x2B029788: jne 0x2b029853 */ 168 L_2B02978E: 169 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B02978E: mov byte ptr [ecx + 0x3c], 0 */ 170 ecx = MEM32(edi + 0x4); /* 0x2B029792: mov ecx, dword ptr [edi + 4] */ 171 eax = MEM32(eax + 0x4); /* 0x2B029795: mov eax, dword ptr [eax + 4] */ 172 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B029798: 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_2B0296A4; /* 0x2B02979B: jne 0x2b0296a4 */ 178 L_2B0297A1: 179 goto L_2B0298F2; /* 0x2B0297A1: jmp 0x2b0298f2 */ 180 L_2B0297A6: 181 edx = MEM32(ecx + 0x8); /* 0x2B0297A6: mov edx, dword ptr [ecx + 8] */ 182 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B0297A9: cmp byte ptr [edx + 0x3c], bl */ 183 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 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_2B0297F7; /* 0x2B0297AC: jne 0x2b0297f7 */ 187 L_2B0297AE: 188 edx = MEM32(ecx); /* 0x2B0297AE: mov edx, dword ptr [ecx] */ 189 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0297B0: mov byte ptr [edx + 0x3c], bl */ 190 edx = MEM32(ecx); /* 0x2B0297B3: mov edx, dword ptr [ecx] */ 191 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B0297B5: mov byte ptr [ecx + 0x3c], 0 */ 192 esi = MEM32(edx + 0x8); /* 0x2B0297B9: mov esi, dword ptr [edx + 8] */ 193 MEM32(ecx) = esi; /* 0x2B0297BC: mov dword ptr [ecx], esi */ 194 esi = MEM32(edx + 0x8); /* 0x2B0297BE: mov esi, dword ptr [edx + 8] */ 195 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0297C1: 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_2B0297C9; /* 0x2B0297C4: je 0x2b0297c9 */ 200 L_2B0297C6: 201 MEM32(esi + 0x4) = ecx; /* 0x2B0297C6: mov dword ptr [esi + 4], ecx */ 202 L_2B0297C9: 203 esi = MEM32(ecx + 0x4); /* 0x2B0297C9: mov esi, dword ptr [ecx + 4] */ 204 MEM32(edx + 0x4) = esi; /* 0x2B0297CC: mov dword ptr [edx + 4], esi */ 205 esi = MEM32(edi + 0x4); /* 0x2B0297CF: mov esi, dword ptr [edi + 4] */ 206 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0297D2: 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_2B0297DC; /* 0x2B0297D5: jne 0x2b0297dc */ 211 L_2B0297D7: 212 MEM32(esi + 0x4) = edx; /* 0x2B0297D7: mov dword ptr [esi + 4], edx */ 213 goto L_2B0297EB; /* 0x2B0297DA: jmp 0x2b0297eb */ 214 L_2B0297DC: 215 esi = MEM32(ecx + 0x4); /* 0x2B0297DC: mov esi, dword ptr [ecx + 4] */ 216 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0297DF: 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_2B0297E9; /* 0x2B0297E2: jne 0x2b0297e9 */ 221 L_2B0297E4: 222 MEM32(esi + 0x8) = edx; /* 0x2B0297E4: mov dword ptr [esi + 8], edx */ 223 goto L_2B0297EB; /* 0x2B0297E7: jmp 0x2b0297eb */ 224 L_2B0297E9: 225 MEM32(esi) = edx; /* 0x2B0297E9: mov dword ptr [esi], edx */ 226 L_2B0297EB: 227 MEM32(edx + 0x8) = ecx; /* 0x2B0297EB: mov dword ptr [edx + 8], ecx */ 228 MEM32(ecx + 0x4) = edx; /* 0x2B0297EE: mov dword ptr [ecx + 4], edx */ 229 ecx = MEM32(eax + 0x4); /* 0x2B0297F1: mov ecx, dword ptr [eax + 4] */ 230 ecx = MEM32(ecx + 0x8); /* 0x2B0297F4: mov ecx, dword ptr [ecx + 8] */ 231 L_2B0297F7: 232 edx = MEM32(eax + 0x4); /* 0x2B0297F7: mov edx, dword ptr [eax + 4] */ 233 SET_LO8(edx, MEM8(edx + 0x3C)); /* 0x2B0297FA: mov dl, byte ptr [edx + 0x3c] */ 234 MEM8(ecx + 0x3C) = (uint8_t)(LO8(edx)); /* 0x2B0297FD: mov byte ptr [ecx + 0x3c], dl */ 235 edx = MEM32(eax + 0x4); /* 0x2B029800: mov edx, dword ptr [eax + 4] */ 236 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B029803: mov byte ptr [edx + 0x3c], bl */ 237 ecx = MEM32(ecx + 0x8); /* 0x2B029806: mov ecx, dword ptr [ecx + 8] */ 238 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B029809: mov byte ptr [ecx + 0x3c], bl */ 239 ecx = MEM32(eax + 0x4); /* 0x2B02980C: mov ecx, dword ptr [eax + 4] */ 240 edx = MEM32(ecx + 0x8); /* 0x2B02980F: mov edx, dword ptr [ecx + 8] */ 241 esi = MEM32(edx); /* 0x2B029812: mov esi, dword ptr [edx] */ 242 MEM32(ecx + 0x8) = esi; /* 0x2B029814: mov dword ptr [ecx + 8], esi */ 243 esi = MEM32(edx); /* 0x2B029817: mov esi, dword ptr [edx] */ 244 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029819: 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_2B029821; /* 0x2B02981C: je 0x2b029821 */ 249 L_2B02981E: 250 MEM32(esi + 0x4) = ecx; /* 0x2B02981E: mov dword ptr [esi + 4], ecx */ 251 L_2B029821: 252 esi = MEM32(ecx + 0x4); /* 0x2B029821: mov esi, dword ptr [ecx + 4] */ 253 MEM32(edx + 0x4) = esi; /* 0x2B029824: mov dword ptr [edx + 4], esi */ 254 esi = MEM32(edi + 0x4); /* 0x2B029827: mov esi, dword ptr [edi + 4] */ 255 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B02982A: 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_2B029839; /* 0x2B02982D: jne 0x2b029839 */ 260 L_2B02982F: 261 MEM32(esi + 0x4) = edx; /* 0x2B02982F: mov dword ptr [esi + 4], edx */ 262 MEM32(edx) = ecx; /* 0x2B029832: mov dword ptr [edx], ecx */ 263 goto L_2B0298EF; /* 0x2B029834: jmp 0x2b0298ef */ 264 L_2B029839: 265 esi = MEM32(ecx + 0x4); /* 0x2B029839: mov esi, dword ptr [ecx + 4] */ 266 /* cmp ecx, MEM32(esi) */ /* 0x2B02983C: 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_2B029849; /* 0x2B02983E: jne 0x2b029849 */ 271 L_2B029840: 272 MEM32(esi) = edx; /* 0x2B029840: mov dword ptr [esi], edx */ 273 MEM32(edx) = ecx; /* 0x2B029842: mov dword ptr [edx], ecx */ 274 goto L_2B0298EF; /* 0x2B029844: jmp 0x2b0298ef */ 275 L_2B029849: 276 MEM32(esi + 0x8) = edx; /* 0x2B029849: mov dword ptr [esi + 8], edx */ 277 MEM32(edx) = ecx; /* 0x2B02984C: mov dword ptr [edx], ecx */ 278 goto L_2B0298EF; /* 0x2B02984E: jmp 0x2b0298ef */ 279 L_2B029853: 280 edx = MEM32(ecx); /* 0x2B029853: mov edx, dword ptr [ecx] */ 281 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B029855: cmp byte ptr [edx + 0x3c], bl */ 282 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 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_2B0298A1; /* 0x2B029858: jne 0x2b0298a1 */ 286 L_2B02985A: 287 edx = MEM32(ecx + 0x8); /* 0x2B02985A: mov edx, dword ptr [ecx + 8] */ 288 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02985D: mov byte ptr [edx + 0x3c], bl */ 289 edx = MEM32(ecx + 0x8); /* 0x2B029860: mov edx, dword ptr [ecx + 8] */ 290 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B029863: mov byte ptr [ecx + 0x3c], 0 */ 291 esi = MEM32(edx); /* 0x2B029867: mov esi, dword ptr [edx] */ 292 MEM32(ecx + 0x8) = esi; /* 0x2B029869: mov dword ptr [ecx + 8], esi */ 293 esi = MEM32(edx); /* 0x2B02986C: mov esi, dword ptr [edx] */ 294 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B02986E: 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_2B029876; /* 0x2B029871: je 0x2b029876 */ 299 L_2B029873: 300 MEM32(esi + 0x4) = ecx; /* 0x2B029873: mov dword ptr [esi + 4], ecx */ 301 L_2B029876: 302 esi = MEM32(ecx + 0x4); /* 0x2B029876: mov esi, dword ptr [ecx + 4] */ 303 MEM32(edx + 0x4) = esi; /* 0x2B029879: mov dword ptr [edx + 4], esi */ 304 esi = MEM32(edi + 0x4); /* 0x2B02987C: mov esi, dword ptr [edi + 4] */ 305 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B02987F: 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_2B029889; /* 0x2B029882: jne 0x2b029889 */ 310 L_2B029884: 311 MEM32(esi + 0x4) = edx; /* 0x2B029884: mov dword ptr [esi + 4], edx */ 312 goto L_2B029897; /* 0x2B029887: jmp 0x2b029897 */ 313 L_2B029889: 314 esi = MEM32(ecx + 0x4); /* 0x2B029889: mov esi, dword ptr [ecx + 4] */ 315 /* cmp ecx, MEM32(esi) */ /* 0x2B02988C: 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_2B029894; /* 0x2B02988E: jne 0x2b029894 */ 320 L_2B029890: 321 MEM32(esi) = edx; /* 0x2B029890: mov dword ptr [esi], edx */ 322 goto L_2B029897; /* 0x2B029892: jmp 0x2b029897 */ 323 L_2B029894: 324 MEM32(esi + 0x8) = edx; /* 0x2B029894: mov dword ptr [esi + 8], edx */ 325 L_2B029897: 326 MEM32(edx) = ecx; /* 0x2B029897: mov dword ptr [edx], ecx */ 327 MEM32(ecx + 0x4) = edx; /* 0x2B029899: mov dword ptr [ecx + 4], edx */ 328 ecx = MEM32(eax + 0x4); /* 0x2B02989C: mov ecx, dword ptr [eax + 4] */ 329 ecx = MEM32(ecx); /* 0x2B02989F: mov ecx, dword ptr [ecx] */ 330 L_2B0298A1: 331 edx = MEM32(eax + 0x4); /* 0x2B0298A1: mov edx, dword ptr [eax + 4] */ 332 SET_LO8(edx, MEM8(edx + 0x3C)); /* 0x2B0298A4: mov dl, byte ptr [edx + 0x3c] */ 333 MEM8(ecx + 0x3C) = (uint8_t)(LO8(edx)); /* 0x2B0298A7: mov byte ptr [ecx + 0x3c], dl */ 334 edx = MEM32(eax + 0x4); /* 0x2B0298AA: mov edx, dword ptr [eax + 4] */ 335 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0298AD: mov byte ptr [edx + 0x3c], bl */ 336 ecx = MEM32(ecx); /* 0x2B0298B0: mov ecx, dword ptr [ecx] */ 337 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0298B2: mov byte ptr [ecx + 0x3c], bl */ 338 ecx = MEM32(eax + 0x4); /* 0x2B0298B5: mov ecx, dword ptr [eax + 4] */ 339 edx = MEM32(ecx); /* 0x2B0298B8: mov edx, dword ptr [ecx] */ 340 esi = MEM32(edx + 0x8); /* 0x2B0298BA: mov esi, dword ptr [edx + 8] */ 341 MEM32(ecx) = esi; /* 0x2B0298BD: mov dword ptr [ecx], esi */ 342 esi = MEM32(edx + 0x8); /* 0x2B0298BF: mov esi, dword ptr [edx + 8] */ 343 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0298C2: 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_2B0298CA; /* 0x2B0298C5: je 0x2b0298ca */ 348 L_2B0298C7: 349 MEM32(esi + 0x4) = ecx; /* 0x2B0298C7: mov dword ptr [esi + 4], ecx */ 350 L_2B0298CA: 351 esi = MEM32(ecx + 0x4); /* 0x2B0298CA: mov esi, dword ptr [ecx + 4] */ 352 MEM32(edx + 0x4) = esi; /* 0x2B0298CD: mov dword ptr [edx + 4], esi */ 353 esi = MEM32(edi + 0x4); /* 0x2B0298D0: mov esi, dword ptr [edi + 4] */ 354 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0298D3: 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_2B0298DD; /* 0x2B0298D6: jne 0x2b0298dd */ 359 L_2B0298D8: 360 MEM32(esi + 0x4) = edx; /* 0x2B0298D8: mov dword ptr [esi + 4], edx */ 361 goto L_2B0298EC; /* 0x2B0298DB: jmp 0x2b0298ec */ 362 L_2B0298DD: 363 esi = MEM32(ecx + 0x4); /* 0x2B0298DD: mov esi, dword ptr [ecx + 4] */ 364 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0298E0: 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_2B0298EA; /* 0x2B0298E3: jne 0x2b0298ea */ 369 L_2B0298E5: 370 MEM32(esi + 0x8) = edx; /* 0x2B0298E5: mov dword ptr [esi + 8], edx */ 371 goto L_2B0298EC; /* 0x2B0298E8: jmp 0x2b0298ec */ 372 L_2B0298EA: 373 MEM32(esi) = edx; /* 0x2B0298EA: mov dword ptr [esi], edx */ 374 L_2B0298EC: 375 MEM32(edx + 0x8) = ecx; /* 0x2B0298EC: mov dword ptr [edx + 8], ecx */ 376 L_2B0298EF: 377 MEM32(ecx + 0x4) = edx; /* 0x2B0298EF: mov dword ptr [ecx + 4], edx */ 378 L_2B0298F2: 379 esi = MEM32(ebp + (-0x4)); /* 0x2B0298F2: mov esi, dword ptr [ebp - 4] */ 380 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0298F5: mov byte ptr [eax + 0x3c], bl */ 381 ecx = esi + 0xC; /* 0x2B0298F8: lea ecx, [esi + 0xc] */ 382 RECOMP_ICALL(0x2B012D80u); /* 0x2B0298FB: call 0x2b012d80 */ /* not lifted */ 383 RECOMP_FLAGS_IN(); 384 PUSH32(esp, esi); /* 0x2B029900: push esi */ 385 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B029901: call 0x2b0ab1ba */ /* not lifted */ 386 RECOMP_FLAGS_IN(); 387 eax = MEM32(edi + 0x10); /* 0x2B029906: mov eax, dword ptr [edi + 0x10] */ 388 edx = MEM32(ebp + 0xC); /* 0x2B029909: 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; /* 0x2B02990C: add esp, 4 */ 392 _flag_k = FK_ADD; 393 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 394 eax = eax - 1; /* 0x2B02990F: dec eax */ 395 _flag_k = FK_DEC; 396 MEM32(edi + 0x10) = eax; /* 0x2B029910: mov dword ptr [edi + 0x10], eax */ 397 eax = MEM32(ebp + 0x8); /* 0x2B029913: mov eax, dword ptr [ebp + 8] */ 398 edi = POP32_VAL(esp); /* 0x2B029916: pop edi */ 399 esi = POP32_VAL(esp); /* 0x2B029917: pop esi */ 400 MEM32(eax) = edx; /* 0x2B029918: mov dword ptr [eax], edx */ 401 ebx = POP32_VAL(esp); /* 0x2B02991A: pop ebx */ 402 esp = ebp; /* 0x2B02991B: mov esp, ebp */ 403 ebp = POP32_VAL(esp); /* 0x2B02991D: pop ebp */ 404 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B02991E: ret 8 */ 405 RECOMP_REGS_OUT(); 406 } 407 408 void sub_2B029777(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(0x2B029777u); 417 418 goto L_2B029777; 419 L_2B0296A4: 420 /* cmp MEM8(eax + 0x3C), LO8(ebx) */ /* 0x2B0296A4: cmp byte ptr [eax + 0x3c], bl */ 421 _flag_a = (uint32_t)(MEM8(eax + 0x3C)) << 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_2B0298F2; /* 0x2B0296A7: jne 0x2b0298f2 */ 425 L_2B0296AD: 426 edx = MEM32(eax + 0x4); /* 0x2B0296AD: mov edx, dword ptr [eax + 4] */ 427 ecx = MEM32(edx); /* 0x2B0296B0: mov ecx, dword ptr [edx] */ 428 /* cmp eax, ecx */ /* 0x2B0296B2: 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_2B029724; /* 0x2B0296B4: jne 0x2b029724 */ 433 L_2B0296B6: 434 ecx = MEM32(edx + 0x8); /* 0x2B0296B6: mov ecx, dword ptr [edx + 8] */ 435 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B0296B9: mov dl, byte ptr [ecx + 0x3c] */ 436 /* test LO8(edx), LO8(edx) */ /* 0x2B0296BC: 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_2B02970B; /* 0x2B0296BE: jne 0x2b02970b */ 441 L_2B0296C0: 442 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0296C0: mov byte ptr [ecx + 0x3c], bl */ 443 edx = MEM32(eax + 0x4); /* 0x2B0296C3: mov edx, dword ptr [eax + 4] */ 444 MEM8(edx + 0x3C) = (uint8_t)(0); /* 0x2B0296C6: mov byte ptr [edx + 0x3c], 0 */ 445 ecx = MEM32(eax + 0x4); /* 0x2B0296CA: mov ecx, dword ptr [eax + 4] */ 446 edx = MEM32(ecx + 0x8); /* 0x2B0296CD: mov edx, dword ptr [ecx + 8] */ 447 esi = MEM32(edx); /* 0x2B0296D0: mov esi, dword ptr [edx] */ 448 MEM32(ecx + 0x8) = esi; /* 0x2B0296D2: mov dword ptr [ecx + 8], esi */ 449 esi = MEM32(edx); /* 0x2B0296D5: mov esi, dword ptr [edx] */ 450 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0296D7: 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_2B0296DF; /* 0x2B0296DA: je 0x2b0296df */ 455 L_2B0296DC: 456 MEM32(esi + 0x4) = ecx; /* 0x2B0296DC: mov dword ptr [esi + 4], ecx */ 457 L_2B0296DF: 458 esi = MEM32(ecx + 0x4); /* 0x2B0296DF: mov esi, dword ptr [ecx + 4] */ 459 MEM32(edx + 0x4) = esi; /* 0x2B0296E2: mov dword ptr [edx + 4], esi */ 460 esi = MEM32(edi + 0x4); /* 0x2B0296E5: mov esi, dword ptr [edi + 4] */ 461 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0296E8: 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_2B0296F2; /* 0x2B0296EB: jne 0x2b0296f2 */ 466 L_2B0296ED: 467 MEM32(esi + 0x4) = edx; /* 0x2B0296ED: mov dword ptr [esi + 4], edx */ 468 goto L_2B029700; /* 0x2B0296F0: jmp 0x2b029700 */ 469 L_2B0296F2: 470 esi = MEM32(ecx + 0x4); /* 0x2B0296F2: mov esi, dword ptr [ecx + 4] */ 471 /* cmp ecx, MEM32(esi) */ /* 0x2B0296F5: 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_2B0296FD; /* 0x2B0296F7: jne 0x2b0296fd */ 476 L_2B0296F9: 477 MEM32(esi) = edx; /* 0x2B0296F9: mov dword ptr [esi], edx */ 478 goto L_2B029700; /* 0x2B0296FB: jmp 0x2b029700 */ 479 L_2B0296FD: 480 MEM32(esi + 0x8) = edx; /* 0x2B0296FD: mov dword ptr [esi + 8], edx */ 481 L_2B029700: 482 MEM32(edx) = ecx; /* 0x2B029700: mov dword ptr [edx], ecx */ 483 MEM32(ecx + 0x4) = edx; /* 0x2B029702: mov dword ptr [ecx + 4], edx */ 484 ecx = MEM32(eax + 0x4); /* 0x2B029705: mov ecx, dword ptr [eax + 4] */ 485 ecx = MEM32(ecx + 0x8); /* 0x2B029708: mov ecx, dword ptr [ecx + 8] */ 486 L_2B02970B: 487 edx = MEM32(ecx); /* 0x2B02970B: mov edx, dword ptr [ecx] */ 488 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B02970D: cmp byte ptr [edx + 0x3c], bl */ 489 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 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_2B0297A6; /* 0x2B029710: jne 0x2b0297a6 */ 493 L_2B029716: 494 edx = MEM32(ecx + 0x8); /* 0x2B029716: mov edx, dword ptr [ecx + 8] */ 495 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B029719: cmp byte ptr [edx + 0x3c], bl */ 496 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 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_2B0297A6; /* 0x2B02971C: jne 0x2b0297a6 */ 500 L_2B029722: 501 goto L_2B02978E; /* 0x2B029722: jmp 0x2b02978e */ 502 L_2B029724: 503 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B029724: mov dl, byte ptr [ecx + 0x3c] */ 504 /* test LO8(edx), LO8(edx) */ /* 0x2B029727: 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_2B029777; /* 0x2B029729: jne 0x2b029777 */ 509 L_2B02972B: 510 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02972B: mov byte ptr [ecx + 0x3c], bl */ 511 ecx = MEM32(eax + 0x4); /* 0x2B02972E: mov ecx, dword ptr [eax + 4] */ 512 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B029731: mov byte ptr [ecx + 0x3c], 0 */ 513 ecx = MEM32(eax + 0x4); /* 0x2B029735: mov ecx, dword ptr [eax + 4] */ 514 edx = MEM32(ecx); /* 0x2B029738: mov edx, dword ptr [ecx] */ 515 esi = MEM32(edx + 0x8); /* 0x2B02973A: mov esi, dword ptr [edx + 8] */ 516 MEM32(ecx) = esi; /* 0x2B02973D: mov dword ptr [ecx], esi */ 517 esi = MEM32(edx + 0x8); /* 0x2B02973F: mov esi, dword ptr [edx + 8] */ 518 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029742: 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_2B02974A; /* 0x2B029745: je 0x2b02974a */ 523 L_2B029747: 524 MEM32(esi + 0x4) = ecx; /* 0x2B029747: mov dword ptr [esi + 4], ecx */ 525 L_2B02974A: 526 esi = MEM32(ecx + 0x4); /* 0x2B02974A: mov esi, dword ptr [ecx + 4] */ 527 MEM32(edx + 0x4) = esi; /* 0x2B02974D: mov dword ptr [edx + 4], esi */ 528 esi = MEM32(edi + 0x4); /* 0x2B029750: mov esi, dword ptr [edi + 4] */ 529 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029753: 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_2B02975D; /* 0x2B029756: jne 0x2b02975d */ 534 L_2B029758: 535 MEM32(esi + 0x4) = edx; /* 0x2B029758: mov dword ptr [esi + 4], edx */ 536 goto L_2B02976C; /* 0x2B02975B: jmp 0x2b02976c */ 537 L_2B02975D: 538 esi = MEM32(ecx + 0x4); /* 0x2B02975D: mov esi, dword ptr [ecx + 4] */ 539 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029760: 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_2B02976A; /* 0x2B029763: jne 0x2b02976a */ 544 L_2B029765: 545 MEM32(esi + 0x8) = edx; /* 0x2B029765: mov dword ptr [esi + 8], edx */ 546 goto L_2B02976C; /* 0x2B029768: jmp 0x2b02976c */ 547 L_2B02976A: 548 MEM32(esi) = edx; /* 0x2B02976A: mov dword ptr [esi], edx */ 549 L_2B02976C: 550 MEM32(edx + 0x8) = ecx; /* 0x2B02976C: mov dword ptr [edx + 8], ecx */ 551 MEM32(ecx + 0x4) = edx; /* 0x2B02976F: mov dword ptr [ecx + 4], edx */ 552 edx = MEM32(eax + 0x4); /* 0x2B029772: mov edx, dword ptr [eax + 4] */ 553 ecx = MEM32(edx); /* 0x2B029775: mov ecx, dword ptr [edx] */ 554 L_2B029777: 555 edx = MEM32(ecx + 0x8); /* 0x2B029777: mov edx, dword ptr [ecx + 8] */ 556 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B02977A: cmp byte ptr [edx + 0x3c], bl */ 557 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 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_2B029853; /* 0x2B02977D: jne 0x2b029853 */ 561 L_2B029783: 562 edx = MEM32(ecx); /* 0x2B029783: mov edx, dword ptr [ecx] */ 563 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B029785: cmp byte ptr [edx + 0x3c], bl */ 564 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 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_2B029853; /* 0x2B029788: jne 0x2b029853 */ 568 L_2B02978E: 569 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B02978E: mov byte ptr [ecx + 0x3c], 0 */ 570 ecx = MEM32(edi + 0x4); /* 0x2B029792: mov ecx, dword ptr [edi + 4] */ 571 eax = MEM32(eax + 0x4); /* 0x2B029795: mov eax, dword ptr [eax + 4] */ 572 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B029798: 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_2B0296A4; /* 0x2B02979B: jne 0x2b0296a4 */ 578 L_2B0297A1: 579 goto L_2B0298F2; /* 0x2B0297A1: jmp 0x2b0298f2 */ 580 L_2B0297A6: 581 edx = MEM32(ecx + 0x8); /* 0x2B0297A6: mov edx, dword ptr [ecx + 8] */ 582 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B0297A9: cmp byte ptr [edx + 0x3c], bl */ 583 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 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_2B0297F7; /* 0x2B0297AC: jne 0x2b0297f7 */ 587 L_2B0297AE: 588 edx = MEM32(ecx); /* 0x2B0297AE: mov edx, dword ptr [ecx] */ 589 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0297B0: mov byte ptr [edx + 0x3c], bl */ 590 edx = MEM32(ecx); /* 0x2B0297B3: mov edx, dword ptr [ecx] */ 591 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B0297B5: mov byte ptr [ecx + 0x3c], 0 */ 592 esi = MEM32(edx + 0x8); /* 0x2B0297B9: mov esi, dword ptr [edx + 8] */ 593 MEM32(ecx) = esi; /* 0x2B0297BC: mov dword ptr [ecx], esi */ 594 esi = MEM32(edx + 0x8); /* 0x2B0297BE: mov esi, dword ptr [edx + 8] */ 595 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0297C1: 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_2B0297C9; /* 0x2B0297C4: je 0x2b0297c9 */ 600 L_2B0297C6: 601 MEM32(esi + 0x4) = ecx; /* 0x2B0297C6: mov dword ptr [esi + 4], ecx */ 602 L_2B0297C9: 603 esi = MEM32(ecx + 0x4); /* 0x2B0297C9: mov esi, dword ptr [ecx + 4] */ 604 MEM32(edx + 0x4) = esi; /* 0x2B0297CC: mov dword ptr [edx + 4], esi */ 605 esi = MEM32(edi + 0x4); /* 0x2B0297CF: mov esi, dword ptr [edi + 4] */ 606 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0297D2: 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_2B0297DC; /* 0x2B0297D5: jne 0x2b0297dc */ 611 L_2B0297D7: 612 MEM32(esi + 0x4) = edx; /* 0x2B0297D7: mov dword ptr [esi + 4], edx */ 613 goto L_2B0297EB; /* 0x2B0297DA: jmp 0x2b0297eb */ 614 L_2B0297DC: 615 esi = MEM32(ecx + 0x4); /* 0x2B0297DC: mov esi, dword ptr [ecx + 4] */ 616 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0297DF: 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_2B0297E9; /* 0x2B0297E2: jne 0x2b0297e9 */ 621 L_2B0297E4: 622 MEM32(esi + 0x8) = edx; /* 0x2B0297E4: mov dword ptr [esi + 8], edx */ 623 goto L_2B0297EB; /* 0x2B0297E7: jmp 0x2b0297eb */ 624 L_2B0297E9: 625 MEM32(esi) = edx; /* 0x2B0297E9: mov dword ptr [esi], edx */ 626 L_2B0297EB: 627 MEM32(edx + 0x8) = ecx; /* 0x2B0297EB: mov dword ptr [edx + 8], ecx */ 628 MEM32(ecx + 0x4) = edx; /* 0x2B0297EE: mov dword ptr [ecx + 4], edx */ 629 ecx = MEM32(eax + 0x4); /* 0x2B0297F1: mov ecx, dword ptr [eax + 4] */ 630 ecx = MEM32(ecx + 0x8); /* 0x2B0297F4: mov ecx, dword ptr [ecx + 8] */ 631 L_2B0297F7: 632 edx = MEM32(eax + 0x4); /* 0x2B0297F7: mov edx, dword ptr [eax + 4] */ 633 SET_LO8(edx, MEM8(edx + 0x3C)); /* 0x2B0297FA: mov dl, byte ptr [edx + 0x3c] */ 634 MEM8(ecx + 0x3C) = (uint8_t)(LO8(edx)); /* 0x2B0297FD: mov byte ptr [ecx + 0x3c], dl */ 635 edx = MEM32(eax + 0x4); /* 0x2B029800: mov edx, dword ptr [eax + 4] */ 636 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B029803: mov byte ptr [edx + 0x3c], bl */ 637 ecx = MEM32(ecx + 0x8); /* 0x2B029806: mov ecx, dword ptr [ecx + 8] */ 638 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B029809: mov byte ptr [ecx + 0x3c], bl */ 639 ecx = MEM32(eax + 0x4); /* 0x2B02980C: mov ecx, dword ptr [eax + 4] */ 640 edx = MEM32(ecx + 0x8); /* 0x2B02980F: mov edx, dword ptr [ecx + 8] */ 641 esi = MEM32(edx); /* 0x2B029812: mov esi, dword ptr [edx] */ 642 MEM32(ecx + 0x8) = esi; /* 0x2B029814: mov dword ptr [ecx + 8], esi */ 643 esi = MEM32(edx); /* 0x2B029817: mov esi, dword ptr [edx] */ 644 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029819: 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_2B029821; /* 0x2B02981C: je 0x2b029821 */ 649 L_2B02981E: 650 MEM32(esi + 0x4) = ecx; /* 0x2B02981E: mov dword ptr [esi + 4], ecx */ 651 L_2B029821: 652 esi = MEM32(ecx + 0x4); /* 0x2B029821: mov esi, dword ptr [ecx + 4] */ 653 MEM32(edx + 0x4) = esi; /* 0x2B029824: mov dword ptr [edx + 4], esi */ 654 esi = MEM32(edi + 0x4); /* 0x2B029827: mov esi, dword ptr [edi + 4] */ 655 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B02982A: 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_2B029839; /* 0x2B02982D: jne 0x2b029839 */ 660 L_2B02982F: 661 MEM32(esi + 0x4) = edx; /* 0x2B02982F: mov dword ptr [esi + 4], edx */ 662 MEM32(edx) = ecx; /* 0x2B029832: mov dword ptr [edx], ecx */ 663 goto L_2B0298EF; /* 0x2B029834: jmp 0x2b0298ef */ 664 L_2B029839: 665 esi = MEM32(ecx + 0x4); /* 0x2B029839: mov esi, dword ptr [ecx + 4] */ 666 /* cmp ecx, MEM32(esi) */ /* 0x2B02983C: 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_2B029849; /* 0x2B02983E: jne 0x2b029849 */ 671 L_2B029840: 672 MEM32(esi) = edx; /* 0x2B029840: mov dword ptr [esi], edx */ 673 MEM32(edx) = ecx; /* 0x2B029842: mov dword ptr [edx], ecx */ 674 goto L_2B0298EF; /* 0x2B029844: jmp 0x2b0298ef */ 675 L_2B029849: 676 MEM32(esi + 0x8) = edx; /* 0x2B029849: mov dword ptr [esi + 8], edx */ 677 MEM32(edx) = ecx; /* 0x2B02984C: mov dword ptr [edx], ecx */ 678 goto L_2B0298EF; /* 0x2B02984E: jmp 0x2b0298ef */ 679 L_2B029853: 680 edx = MEM32(ecx); /* 0x2B029853: mov edx, dword ptr [ecx] */ 681 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B029855: cmp byte ptr [edx + 0x3c], bl */ 682 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 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_2B0298A1; /* 0x2B029858: jne 0x2b0298a1 */ 686 L_2B02985A: 687 edx = MEM32(ecx + 0x8); /* 0x2B02985A: mov edx, dword ptr [ecx + 8] */ 688 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02985D: mov byte ptr [edx + 0x3c], bl */ 689 edx = MEM32(ecx + 0x8); /* 0x2B029860: mov edx, dword ptr [ecx + 8] */ 690 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B029863: mov byte ptr [ecx + 0x3c], 0 */ 691 esi = MEM32(edx); /* 0x2B029867: mov esi, dword ptr [edx] */ 692 MEM32(ecx + 0x8) = esi; /* 0x2B029869: mov dword ptr [ecx + 8], esi */ 693 esi = MEM32(edx); /* 0x2B02986C: mov esi, dword ptr [edx] */ 694 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B02986E: 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_2B029876; /* 0x2B029871: je 0x2b029876 */ 699 L_2B029873: 700 MEM32(esi + 0x4) = ecx; /* 0x2B029873: mov dword ptr [esi + 4], ecx */ 701 L_2B029876: 702 esi = MEM32(ecx + 0x4); /* 0x2B029876: mov esi, dword ptr [ecx + 4] */ 703 MEM32(edx + 0x4) = esi; /* 0x2B029879: mov dword ptr [edx + 4], esi */ 704 esi = MEM32(edi + 0x4); /* 0x2B02987C: mov esi, dword ptr [edi + 4] */ 705 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B02987F: 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_2B029889; /* 0x2B029882: jne 0x2b029889 */ 710 L_2B029884: 711 MEM32(esi + 0x4) = edx; /* 0x2B029884: mov dword ptr [esi + 4], edx */ 712 goto L_2B029897; /* 0x2B029887: jmp 0x2b029897 */ 713 L_2B029889: 714 esi = MEM32(ecx + 0x4); /* 0x2B029889: mov esi, dword ptr [ecx + 4] */ 715 /* cmp ecx, MEM32(esi) */ /* 0x2B02988C: 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_2B029894; /* 0x2B02988E: jne 0x2b029894 */ 720 L_2B029890: 721 MEM32(esi) = edx; /* 0x2B029890: mov dword ptr [esi], edx */ 722 goto L_2B029897; /* 0x2B029892: jmp 0x2b029897 */ 723 L_2B029894: 724 MEM32(esi + 0x8) = edx; /* 0x2B029894: mov dword ptr [esi + 8], edx */ 725 L_2B029897: 726 MEM32(edx) = ecx; /* 0x2B029897: mov dword ptr [edx], ecx */ 727 MEM32(ecx + 0x4) = edx; /* 0x2B029899: mov dword ptr [ecx + 4], edx */ 728 ecx = MEM32(eax + 0x4); /* 0x2B02989C: mov ecx, dword ptr [eax + 4] */ 729 ecx = MEM32(ecx); /* 0x2B02989F: mov ecx, dword ptr [ecx] */ 730 L_2B0298A1: 731 edx = MEM32(eax + 0x4); /* 0x2B0298A1: mov edx, dword ptr [eax + 4] */ 732 SET_LO8(edx, MEM8(edx + 0x3C)); /* 0x2B0298A4: mov dl, byte ptr [edx + 0x3c] */ 733 MEM8(ecx + 0x3C) = (uint8_t)(LO8(edx)); /* 0x2B0298A7: mov byte ptr [ecx + 0x3c], dl */ 734 edx = MEM32(eax + 0x4); /* 0x2B0298AA: mov edx, dword ptr [eax + 4] */ 735 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0298AD: mov byte ptr [edx + 0x3c], bl */ 736 ecx = MEM32(ecx); /* 0x2B0298B0: mov ecx, dword ptr [ecx] */ 737 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0298B2: mov byte ptr [ecx + 0x3c], bl */ 738 ecx = MEM32(eax + 0x4); /* 0x2B0298B5: mov ecx, dword ptr [eax + 4] */ 739 edx = MEM32(ecx); /* 0x2B0298B8: mov edx, dword ptr [ecx] */ 740 esi = MEM32(edx + 0x8); /* 0x2B0298BA: mov esi, dword ptr [edx + 8] */ 741 MEM32(ecx) = esi; /* 0x2B0298BD: mov dword ptr [ecx], esi */ 742 esi = MEM32(edx + 0x8); /* 0x2B0298BF: mov esi, dword ptr [edx + 8] */ 743 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0298C2: 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_2B0298CA; /* 0x2B0298C5: je 0x2b0298ca */ 748 L_2B0298C7: 749 MEM32(esi + 0x4) = ecx; /* 0x2B0298C7: mov dword ptr [esi + 4], ecx */ 750 L_2B0298CA: 751 esi = MEM32(ecx + 0x4); /* 0x2B0298CA: mov esi, dword ptr [ecx + 4] */ 752 MEM32(edx + 0x4) = esi; /* 0x2B0298CD: mov dword ptr [edx + 4], esi */ 753 esi = MEM32(edi + 0x4); /* 0x2B0298D0: mov esi, dword ptr [edi + 4] */ 754 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0298D3: 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_2B0298DD; /* 0x2B0298D6: jne 0x2b0298dd */ 759 L_2B0298D8: 760 MEM32(esi + 0x4) = edx; /* 0x2B0298D8: mov dword ptr [esi + 4], edx */ 761 goto L_2B0298EC; /* 0x2B0298DB: jmp 0x2b0298ec */ 762 L_2B0298DD: 763 esi = MEM32(ecx + 0x4); /* 0x2B0298DD: mov esi, dword ptr [ecx + 4] */ 764 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0298E0: 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_2B0298EA; /* 0x2B0298E3: jne 0x2b0298ea */ 769 L_2B0298E5: 770 MEM32(esi + 0x8) = edx; /* 0x2B0298E5: mov dword ptr [esi + 8], edx */ 771 goto L_2B0298EC; /* 0x2B0298E8: jmp 0x2b0298ec */ 772 L_2B0298EA: 773 MEM32(esi) = edx; /* 0x2B0298EA: mov dword ptr [esi], edx */ 774 L_2B0298EC: 775 MEM32(edx + 0x8) = ecx; /* 0x2B0298EC: mov dword ptr [edx + 8], ecx */ 776 L_2B0298EF: 777 MEM32(ecx + 0x4) = edx; /* 0x2B0298EF: mov dword ptr [ecx + 4], edx */ 778 L_2B0298F2: 779 esi = MEM32(ebp + (-0x4)); /* 0x2B0298F2: mov esi, dword ptr [ebp - 4] */ 780 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0298F5: mov byte ptr [eax + 0x3c], bl */ 781 ecx = esi + 0xC; /* 0x2B0298F8: lea ecx, [esi + 0xc] */ 782 RECOMP_ICALL(0x2B012D80u); /* 0x2B0298FB: call 0x2b012d80 */ /* not lifted */ 783 RECOMP_FLAGS_IN(); 784 PUSH32(esp, esi); /* 0x2B029900: push esi */ 785 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B029901: call 0x2b0ab1ba */ /* not lifted */ 786 RECOMP_FLAGS_IN(); 787 eax = MEM32(edi + 0x10); /* 0x2B029906: mov eax, dword ptr [edi + 0x10] */ 788 edx = MEM32(ebp + 0xC); /* 0x2B029909: 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; /* 0x2B02990C: add esp, 4 */ 792 _flag_k = FK_ADD; 793 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 794 eax = eax - 1; /* 0x2B02990F: dec eax */ 795 _flag_k = FK_DEC; 796 MEM32(edi + 0x10) = eax; /* 0x2B029910: mov dword ptr [edi + 0x10], eax */ 797 eax = MEM32(ebp + 0x8); /* 0x2B029913: mov eax, dword ptr [ebp + 8] */ 798 edi = POP32_VAL(esp); /* 0x2B029916: pop edi */ 799 esi = POP32_VAL(esp); /* 0x2B029917: pop esi */ 800 MEM32(eax) = edx; /* 0x2B029918: mov dword ptr [eax], edx */ 801 ebx = POP32_VAL(esp); /* 0x2B02991A: pop ebx */ 802 esp = ebp; /* 0x2B02991B: mov esp, ebp */ 803 ebp = POP32_VAL(esp); /* 0x2B02991D: pop ebp */ 804 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B02991E: ret 8 */ 805 RECOMP_REGS_OUT(); 806 } 807 808 void sub_2B02978E(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(0x2B02978Eu); 817 818 goto L_2B02978E; 819 L_2B0296A4: 820 /* cmp MEM8(eax + 0x3C), LO8(ebx) */ /* 0x2B0296A4: cmp byte ptr [eax + 0x3c], bl */ 821 _flag_a = (uint32_t)(MEM8(eax + 0x3C)) << 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_2B0298F2; /* 0x2B0296A7: jne 0x2b0298f2 */ 825 L_2B0296AD: 826 edx = MEM32(eax + 0x4); /* 0x2B0296AD: mov edx, dword ptr [eax + 4] */ 827 ecx = MEM32(edx); /* 0x2B0296B0: mov ecx, dword ptr [edx] */ 828 /* cmp eax, ecx */ /* 0x2B0296B2: 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_2B029724; /* 0x2B0296B4: jne 0x2b029724 */ 833 L_2B0296B6: 834 ecx = MEM32(edx + 0x8); /* 0x2B0296B6: mov ecx, dword ptr [edx + 8] */ 835 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B0296B9: mov dl, byte ptr [ecx + 0x3c] */ 836 /* test LO8(edx), LO8(edx) */ /* 0x2B0296BC: 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_2B02970B; /* 0x2B0296BE: jne 0x2b02970b */ 841 L_2B0296C0: 842 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0296C0: mov byte ptr [ecx + 0x3c], bl */ 843 edx = MEM32(eax + 0x4); /* 0x2B0296C3: mov edx, dword ptr [eax + 4] */ 844 MEM8(edx + 0x3C) = (uint8_t)(0); /* 0x2B0296C6: mov byte ptr [edx + 0x3c], 0 */ 845 ecx = MEM32(eax + 0x4); /* 0x2B0296CA: mov ecx, dword ptr [eax + 4] */ 846 edx = MEM32(ecx + 0x8); /* 0x2B0296CD: mov edx, dword ptr [ecx + 8] */ 847 esi = MEM32(edx); /* 0x2B0296D0: mov esi, dword ptr [edx] */ 848 MEM32(ecx + 0x8) = esi; /* 0x2B0296D2: mov dword ptr [ecx + 8], esi */ 849 esi = MEM32(edx); /* 0x2B0296D5: mov esi, dword ptr [edx] */ 850 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0296D7: 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_2B0296DF; /* 0x2B0296DA: je 0x2b0296df */ 855 L_2B0296DC: 856 MEM32(esi + 0x4) = ecx; /* 0x2B0296DC: mov dword ptr [esi + 4], ecx */ 857 L_2B0296DF: 858 esi = MEM32(ecx + 0x4); /* 0x2B0296DF: mov esi, dword ptr [ecx + 4] */ 859 MEM32(edx + 0x4) = esi; /* 0x2B0296E2: mov dword ptr [edx + 4], esi */ 860 esi = MEM32(edi + 0x4); /* 0x2B0296E5: mov esi, dword ptr [edi + 4] */ 861 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0296E8: 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_2B0296F2; /* 0x2B0296EB: jne 0x2b0296f2 */ 866 L_2B0296ED: 867 MEM32(esi + 0x4) = edx; /* 0x2B0296ED: mov dword ptr [esi + 4], edx */ 868 goto L_2B029700; /* 0x2B0296F0: jmp 0x2b029700 */ 869 L_2B0296F2: 870 esi = MEM32(ecx + 0x4); /* 0x2B0296F2: mov esi, dword ptr [ecx + 4] */ 871 /* cmp ecx, MEM32(esi) */ /* 0x2B0296F5: 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_2B0296FD; /* 0x2B0296F7: jne 0x2b0296fd */ 876 L_2B0296F9: 877 MEM32(esi) = edx; /* 0x2B0296F9: mov dword ptr [esi], edx */ 878 goto L_2B029700; /* 0x2B0296FB: jmp 0x2b029700 */ 879 L_2B0296FD: 880 MEM32(esi + 0x8) = edx; /* 0x2B0296FD: mov dword ptr [esi + 8], edx */ 881 L_2B029700: 882 MEM32(edx) = ecx; /* 0x2B029700: mov dword ptr [edx], ecx */ 883 MEM32(ecx + 0x4) = edx; /* 0x2B029702: mov dword ptr [ecx + 4], edx */ 884 ecx = MEM32(eax + 0x4); /* 0x2B029705: mov ecx, dword ptr [eax + 4] */ 885 ecx = MEM32(ecx + 0x8); /* 0x2B029708: mov ecx, dword ptr [ecx + 8] */ 886 L_2B02970B: 887 edx = MEM32(ecx); /* 0x2B02970B: mov edx, dword ptr [ecx] */ 888 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B02970D: cmp byte ptr [edx + 0x3c], bl */ 889 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 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_2B0297A6; /* 0x2B029710: jne 0x2b0297a6 */ 893 L_2B029716: 894 edx = MEM32(ecx + 0x8); /* 0x2B029716: mov edx, dword ptr [ecx + 8] */ 895 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B029719: cmp byte ptr [edx + 0x3c], bl */ 896 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 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_2B0297A6; /* 0x2B02971C: jne 0x2b0297a6 */ 900 L_2B029722: 901 goto L_2B02978E; /* 0x2B029722: jmp 0x2b02978e */ 902 L_2B029724: 903 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B029724: mov dl, byte ptr [ecx + 0x3c] */ 904 /* test LO8(edx), LO8(edx) */ /* 0x2B029727: 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_2B029777; /* 0x2B029729: jne 0x2b029777 */ 909 L_2B02972B: 910 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02972B: mov byte ptr [ecx + 0x3c], bl */ 911 ecx = MEM32(eax + 0x4); /* 0x2B02972E: mov ecx, dword ptr [eax + 4] */ 912 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B029731: mov byte ptr [ecx + 0x3c], 0 */ 913 ecx = MEM32(eax + 0x4); /* 0x2B029735: mov ecx, dword ptr [eax + 4] */ 914 edx = MEM32(ecx); /* 0x2B029738: mov edx, dword ptr [ecx] */ 915 esi = MEM32(edx + 0x8); /* 0x2B02973A: mov esi, dword ptr [edx + 8] */ 916 MEM32(ecx) = esi; /* 0x2B02973D: mov dword ptr [ecx], esi */ 917 esi = MEM32(edx + 0x8); /* 0x2B02973F: mov esi, dword ptr [edx + 8] */ 918 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029742: 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_2B02974A; /* 0x2B029745: je 0x2b02974a */ 923 L_2B029747: 924 MEM32(esi + 0x4) = ecx; /* 0x2B029747: mov dword ptr [esi + 4], ecx */ 925 L_2B02974A: 926 esi = MEM32(ecx + 0x4); /* 0x2B02974A: mov esi, dword ptr [ecx + 4] */ 927 MEM32(edx + 0x4) = esi; /* 0x2B02974D: mov dword ptr [edx + 4], esi */ 928 esi = MEM32(edi + 0x4); /* 0x2B029750: mov esi, dword ptr [edi + 4] */ 929 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029753: 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_2B02975D; /* 0x2B029756: jne 0x2b02975d */ 934 L_2B029758: 935 MEM32(esi + 0x4) = edx; /* 0x2B029758: mov dword ptr [esi + 4], edx */ 936 goto L_2B02976C; /* 0x2B02975B: jmp 0x2b02976c */ 937 L_2B02975D: 938 esi = MEM32(ecx + 0x4); /* 0x2B02975D: mov esi, dword ptr [ecx + 4] */ 939 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029760: 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_2B02976A; /* 0x2B029763: jne 0x2b02976a */ 944 L_2B029765: 945 MEM32(esi + 0x8) = edx; /* 0x2B029765: mov dword ptr [esi + 8], edx */ 946 goto L_2B02976C; /* 0x2B029768: jmp 0x2b02976c */ 947 L_2B02976A: 948 MEM32(esi) = edx; /* 0x2B02976A: mov dword ptr [esi], edx */ 949 L_2B02976C: 950 MEM32(edx + 0x8) = ecx; /* 0x2B02976C: mov dword ptr [edx + 8], ecx */ 951 MEM32(ecx + 0x4) = edx; /* 0x2B02976F: mov dword ptr [ecx + 4], edx */ 952 edx = MEM32(eax + 0x4); /* 0x2B029772: mov edx, dword ptr [eax + 4] */ 953 ecx = MEM32(edx); /* 0x2B029775: mov ecx, dword ptr [edx] */ 954 L_2B029777: 955 edx = MEM32(ecx + 0x8); /* 0x2B029777: mov edx, dword ptr [ecx + 8] */ 956 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B02977A: cmp byte ptr [edx + 0x3c], bl */ 957 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 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_2B029853; /* 0x2B02977D: jne 0x2b029853 */ 961 L_2B029783: 962 edx = MEM32(ecx); /* 0x2B029783: mov edx, dword ptr [ecx] */ 963 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B029785: cmp byte ptr [edx + 0x3c], bl */ 964 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 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_2B029853; /* 0x2B029788: jne 0x2b029853 */ 968 L_2B02978E: 969 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B02978E: mov byte ptr [ecx + 0x3c], 0 */ 970 ecx = MEM32(edi + 0x4); /* 0x2B029792: mov ecx, dword ptr [edi + 4] */ 971 eax = MEM32(eax + 0x4); /* 0x2B029795: mov eax, dword ptr [eax + 4] */ 972 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B029798: 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_2B0296A4; /* 0x2B02979B: jne 0x2b0296a4 */ 978 L_2B0297A1: 979 goto L_2B0298F2; /* 0x2B0297A1: jmp 0x2b0298f2 */ 980 L_2B0297A6: 981 edx = MEM32(ecx + 0x8); /* 0x2B0297A6: mov edx, dword ptr [ecx + 8] */ 982 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B0297A9: cmp byte ptr [edx + 0x3c], bl */ 983 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 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_2B0297F7; /* 0x2B0297AC: jne 0x2b0297f7 */ 987 L_2B0297AE: 988 edx = MEM32(ecx); /* 0x2B0297AE: mov edx, dword ptr [ecx] */ 989 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0297B0: mov byte ptr [edx + 0x3c], bl */ 990 edx = MEM32(ecx); /* 0x2B0297B3: mov edx, dword ptr [ecx] */ 991 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B0297B5: mov byte ptr [ecx + 0x3c], 0 */ 992 esi = MEM32(edx + 0x8); /* 0x2B0297B9: mov esi, dword ptr [edx + 8] */ 993 MEM32(ecx) = esi; /* 0x2B0297BC: mov dword ptr [ecx], esi */ 994 esi = MEM32(edx + 0x8); /* 0x2B0297BE: mov esi, dword ptr [edx + 8] */ 995 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0297C1: 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_2B0297C9; /* 0x2B0297C4: je 0x2b0297c9 */ 1000 L_2B0297C6: 1001 MEM32(esi + 0x4) = ecx; /* 0x2B0297C6: mov dword ptr [esi + 4], ecx */ 1002 L_2B0297C9: 1003 esi = MEM32(ecx + 0x4); /* 0x2B0297C9: mov esi, dword ptr [ecx + 4] */ 1004 MEM32(edx + 0x4) = esi; /* 0x2B0297CC: mov dword ptr [edx + 4], esi */ 1005 esi = MEM32(edi + 0x4); /* 0x2B0297CF: mov esi, dword ptr [edi + 4] */ 1006 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0297D2: 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_2B0297DC; /* 0x2B0297D5: jne 0x2b0297dc */ 1011 L_2B0297D7: 1012 MEM32(esi + 0x4) = edx; /* 0x2B0297D7: mov dword ptr [esi + 4], edx */ 1013 goto L_2B0297EB; /* 0x2B0297DA: jmp 0x2b0297eb */ 1014 L_2B0297DC: 1015 esi = MEM32(ecx + 0x4); /* 0x2B0297DC: mov esi, dword ptr [ecx + 4] */ 1016 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0297DF: 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_2B0297E9; /* 0x2B0297E2: jne 0x2b0297e9 */ 1021 L_2B0297E4: 1022 MEM32(esi + 0x8) = edx; /* 0x2B0297E4: mov dword ptr [esi + 8], edx */ 1023 goto L_2B0297EB; /* 0x2B0297E7: jmp 0x2b0297eb */ 1024 L_2B0297E9: 1025 MEM32(esi) = edx; /* 0x2B0297E9: mov dword ptr [esi], edx */ 1026 L_2B0297EB: 1027 MEM32(edx + 0x8) = ecx; /* 0x2B0297EB: mov dword ptr [edx + 8], ecx */ 1028 MEM32(ecx + 0x4) = edx; /* 0x2B0297EE: mov dword ptr [ecx + 4], edx */ 1029 ecx = MEM32(eax + 0x4); /* 0x2B0297F1: mov ecx, dword ptr [eax + 4] */ 1030 ecx = MEM32(ecx + 0x8); /* 0x2B0297F4: mov ecx, dword ptr [ecx + 8] */ 1031 L_2B0297F7: 1032 edx = MEM32(eax + 0x4); /* 0x2B0297F7: mov edx, dword ptr [eax + 4] */ 1033 SET_LO8(edx, MEM8(edx + 0x3C)); /* 0x2B0297FA: mov dl, byte ptr [edx + 0x3c] */ 1034 MEM8(ecx + 0x3C) = (uint8_t)(LO8(edx)); /* 0x2B0297FD: mov byte ptr [ecx + 0x3c], dl */ 1035 edx = MEM32(eax + 0x4); /* 0x2B029800: mov edx, dword ptr [eax + 4] */ 1036 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B029803: mov byte ptr [edx + 0x3c], bl */ 1037 ecx = MEM32(ecx + 0x8); /* 0x2B029806: mov ecx, dword ptr [ecx + 8] */ 1038 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B029809: mov byte ptr [ecx + 0x3c], bl */ 1039 ecx = MEM32(eax + 0x4); /* 0x2B02980C: mov ecx, dword ptr [eax + 4] */ 1040 edx = MEM32(ecx + 0x8); /* 0x2B02980F: mov edx, dword ptr [ecx + 8] */ 1041 esi = MEM32(edx); /* 0x2B029812: mov esi, dword ptr [edx] */ 1042 MEM32(ecx + 0x8) = esi; /* 0x2B029814: mov dword ptr [ecx + 8], esi */ 1043 esi = MEM32(edx); /* 0x2B029817: mov esi, dword ptr [edx] */ 1044 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029819: 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_2B029821; /* 0x2B02981C: je 0x2b029821 */ 1049 L_2B02981E: 1050 MEM32(esi + 0x4) = ecx; /* 0x2B02981E: mov dword ptr [esi + 4], ecx */ 1051 L_2B029821: 1052 esi = MEM32(ecx + 0x4); /* 0x2B029821: mov esi, dword ptr [ecx + 4] */ 1053 MEM32(edx + 0x4) = esi; /* 0x2B029824: mov dword ptr [edx + 4], esi */ 1054 esi = MEM32(edi + 0x4); /* 0x2B029827: mov esi, dword ptr [edi + 4] */ 1055 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B02982A: 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_2B029839; /* 0x2B02982D: jne 0x2b029839 */ 1060 L_2B02982F: 1061 MEM32(esi + 0x4) = edx; /* 0x2B02982F: mov dword ptr [esi + 4], edx */ 1062 MEM32(edx) = ecx; /* 0x2B029832: mov dword ptr [edx], ecx */ 1063 goto L_2B0298EF; /* 0x2B029834: jmp 0x2b0298ef */ 1064 L_2B029839: 1065 esi = MEM32(ecx + 0x4); /* 0x2B029839: mov esi, dword ptr [ecx + 4] */ 1066 /* cmp ecx, MEM32(esi) */ /* 0x2B02983C: 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_2B029849; /* 0x2B02983E: jne 0x2b029849 */ 1071 L_2B029840: 1072 MEM32(esi) = edx; /* 0x2B029840: mov dword ptr [esi], edx */ 1073 MEM32(edx) = ecx; /* 0x2B029842: mov dword ptr [edx], ecx */ 1074 goto L_2B0298EF; /* 0x2B029844: jmp 0x2b0298ef */ 1075 L_2B029849: 1076 MEM32(esi + 0x8) = edx; /* 0x2B029849: mov dword ptr [esi + 8], edx */ 1077 MEM32(edx) = ecx; /* 0x2B02984C: mov dword ptr [edx], ecx */ 1078 goto L_2B0298EF; /* 0x2B02984E: jmp 0x2b0298ef */ 1079 L_2B029853: 1080 edx = MEM32(ecx); /* 0x2B029853: mov edx, dword ptr [ecx] */ 1081 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B029855: cmp byte ptr [edx + 0x3c], bl */ 1082 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 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_2B0298A1; /* 0x2B029858: jne 0x2b0298a1 */ 1086 L_2B02985A: 1087 edx = MEM32(ecx + 0x8); /* 0x2B02985A: mov edx, dword ptr [ecx + 8] */ 1088 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02985D: mov byte ptr [edx + 0x3c], bl */ 1089 edx = MEM32(ecx + 0x8); /* 0x2B029860: mov edx, dword ptr [ecx + 8] */ 1090 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B029863: mov byte ptr [ecx + 0x3c], 0 */ 1091 esi = MEM32(edx); /* 0x2B029867: mov esi, dword ptr [edx] */ 1092 MEM32(ecx + 0x8) = esi; /* 0x2B029869: mov dword ptr [ecx + 8], esi */ 1093 esi = MEM32(edx); /* 0x2B02986C: mov esi, dword ptr [edx] */ 1094 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B02986E: 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_2B029876; /* 0x2B029871: je 0x2b029876 */ 1099 L_2B029873: 1100 MEM32(esi + 0x4) = ecx; /* 0x2B029873: mov dword ptr [esi + 4], ecx */ 1101 L_2B029876: 1102 esi = MEM32(ecx + 0x4); /* 0x2B029876: mov esi, dword ptr [ecx + 4] */ 1103 MEM32(edx + 0x4) = esi; /* 0x2B029879: mov dword ptr [edx + 4], esi */ 1104 esi = MEM32(edi + 0x4); /* 0x2B02987C: mov esi, dword ptr [edi + 4] */ 1105 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B02987F: 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_2B029889; /* 0x2B029882: jne 0x2b029889 */ 1110 L_2B029884: 1111 MEM32(esi + 0x4) = edx; /* 0x2B029884: mov dword ptr [esi + 4], edx */ 1112 goto L_2B029897; /* 0x2B029887: jmp 0x2b029897 */ 1113 L_2B029889: 1114 esi = MEM32(ecx + 0x4); /* 0x2B029889: mov esi, dword ptr [ecx + 4] */ 1115 /* cmp ecx, MEM32(esi) */ /* 0x2B02988C: 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_2B029894; /* 0x2B02988E: jne 0x2b029894 */ 1120 L_2B029890: 1121 MEM32(esi) = edx; /* 0x2B029890: mov dword ptr [esi], edx */ 1122 goto L_2B029897; /* 0x2B029892: jmp 0x2b029897 */ 1123 L_2B029894: 1124 MEM32(esi + 0x8) = edx; /* 0x2B029894: mov dword ptr [esi + 8], edx */ 1125 L_2B029897: 1126 MEM32(edx) = ecx; /* 0x2B029897: mov dword ptr [edx], ecx */ 1127 MEM32(ecx + 0x4) = edx; /* 0x2B029899: mov dword ptr [ecx + 4], edx */ 1128 ecx = MEM32(eax + 0x4); /* 0x2B02989C: mov ecx, dword ptr [eax + 4] */ 1129 ecx = MEM32(ecx); /* 0x2B02989F: mov ecx, dword ptr [ecx] */ 1130 L_2B0298A1: 1131 edx = MEM32(eax + 0x4); /* 0x2B0298A1: mov edx, dword ptr [eax + 4] */ 1132 SET_LO8(edx, MEM8(edx + 0x3C)); /* 0x2B0298A4: mov dl, byte ptr [edx + 0x3c] */ 1133 MEM8(ecx + 0x3C) = (uint8_t)(LO8(edx)); /* 0x2B0298A7: mov byte ptr [ecx + 0x3c], dl */ 1134 edx = MEM32(eax + 0x4); /* 0x2B0298AA: mov edx, dword ptr [eax + 4] */ 1135 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0298AD: mov byte ptr [edx + 0x3c], bl */ 1136 ecx = MEM32(ecx); /* 0x2B0298B0: mov ecx, dword ptr [ecx] */ 1137 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0298B2: mov byte ptr [ecx + 0x3c], bl */ 1138 ecx = MEM32(eax + 0x4); /* 0x2B0298B5: mov ecx, dword ptr [eax + 4] */ 1139 edx = MEM32(ecx); /* 0x2B0298B8: mov edx, dword ptr [ecx] */ 1140 esi = MEM32(edx + 0x8); /* 0x2B0298BA: mov esi, dword ptr [edx + 8] */ 1141 MEM32(ecx) = esi; /* 0x2B0298BD: mov dword ptr [ecx], esi */ 1142 esi = MEM32(edx + 0x8); /* 0x2B0298BF: mov esi, dword ptr [edx + 8] */ 1143 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0298C2: 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_2B0298CA; /* 0x2B0298C5: je 0x2b0298ca */ 1148 L_2B0298C7: 1149 MEM32(esi + 0x4) = ecx; /* 0x2B0298C7: mov dword ptr [esi + 4], ecx */ 1150 L_2B0298CA: 1151 esi = MEM32(ecx + 0x4); /* 0x2B0298CA: mov esi, dword ptr [ecx + 4] */ 1152 MEM32(edx + 0x4) = esi; /* 0x2B0298CD: mov dword ptr [edx + 4], esi */ 1153 esi = MEM32(edi + 0x4); /* 0x2B0298D0: mov esi, dword ptr [edi + 4] */ 1154 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0298D3: 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_2B0298DD; /* 0x2B0298D6: jne 0x2b0298dd */ 1159 L_2B0298D8: 1160 MEM32(esi + 0x4) = edx; /* 0x2B0298D8: mov dword ptr [esi + 4], edx */ 1161 goto L_2B0298EC; /* 0x2B0298DB: jmp 0x2b0298ec */ 1162 L_2B0298DD: 1163 esi = MEM32(ecx + 0x4); /* 0x2B0298DD: mov esi, dword ptr [ecx + 4] */ 1164 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0298E0: 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_2B0298EA; /* 0x2B0298E3: jne 0x2b0298ea */ 1169 L_2B0298E5: 1170 MEM32(esi + 0x8) = edx; /* 0x2B0298E5: mov dword ptr [esi + 8], edx */ 1171 goto L_2B0298EC; /* 0x2B0298E8: jmp 0x2b0298ec */ 1172 L_2B0298EA: 1173 MEM32(esi) = edx; /* 0x2B0298EA: mov dword ptr [esi], edx */ 1174 L_2B0298EC: 1175 MEM32(edx + 0x8) = ecx; /* 0x2B0298EC: mov dword ptr [edx + 8], ecx */ 1176 L_2B0298EF: 1177 MEM32(ecx + 0x4) = edx; /* 0x2B0298EF: mov dword ptr [ecx + 4], edx */ 1178 L_2B0298F2: 1179 esi = MEM32(ebp + (-0x4)); /* 0x2B0298F2: mov esi, dword ptr [ebp - 4] */ 1180 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0298F5: mov byte ptr [eax + 0x3c], bl */ 1181 ecx = esi + 0xC; /* 0x2B0298F8: lea ecx, [esi + 0xc] */ 1182 RECOMP_ICALL(0x2B012D80u); /* 0x2B0298FB: call 0x2b012d80 */ /* not lifted */ 1183 RECOMP_FLAGS_IN(); 1184 PUSH32(esp, esi); /* 0x2B029900: push esi */ 1185 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B029901: call 0x2b0ab1ba */ /* not lifted */ 1186 RECOMP_FLAGS_IN(); 1187 eax = MEM32(edi + 0x10); /* 0x2B029906: mov eax, dword ptr [edi + 0x10] */ 1188 edx = MEM32(ebp + 0xC); /* 0x2B029909: 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; /* 0x2B02990C: add esp, 4 */ 1192 _flag_k = FK_ADD; 1193 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 1194 eax = eax - 1; /* 0x2B02990F: dec eax */ 1195 _flag_k = FK_DEC; 1196 MEM32(edi + 0x10) = eax; /* 0x2B029910: mov dword ptr [edi + 0x10], eax */ 1197 eax = MEM32(ebp + 0x8); /* 0x2B029913: mov eax, dword ptr [ebp + 8] */ 1198 edi = POP32_VAL(esp); /* 0x2B029916: pop edi */ 1199 esi = POP32_VAL(esp); /* 0x2B029917: pop esi */ 1200 MEM32(eax) = edx; /* 0x2B029918: mov dword ptr [eax], edx */ 1201 ebx = POP32_VAL(esp); /* 0x2B02991A: pop ebx */ 1202 esp = ebp; /* 0x2B02991B: mov esp, ebp */ 1203 ebp = POP32_VAL(esp); /* 0x2B02991D: pop ebp */ 1204 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B02991E: ret 8 */ 1205 RECOMP_REGS_OUT(); 1206 } 1207 1208 void sub_2B0297A6(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(0x2B0297A6u); 1217 1218 L_2B0297A6: 1219 edx = MEM32(ecx + 0x8); /* 0x2B0297A6: mov edx, dword ptr [ecx + 8] */ 1220 /* cmp MEM8(edx + 0x3C), LO8(ebx) */ /* 0x2B0297A9: cmp byte ptr [edx + 0x3c], bl */ 1221 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 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_2B0297F7; /* 0x2B0297AC: jne 0x2b0297f7 */ 1225 L_2B0297AE: 1226 edx = MEM32(ecx); /* 0x2B0297AE: mov edx, dword ptr [ecx] */ 1227 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0297B0: mov byte ptr [edx + 0x3c], bl */ 1228 edx = MEM32(ecx); /* 0x2B0297B3: mov edx, dword ptr [ecx] */ 1229 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B0297B5: mov byte ptr [ecx + 0x3c], 0 */ 1230 esi = MEM32(edx + 0x8); /* 0x2B0297B9: mov esi, dword ptr [edx + 8] */ 1231 MEM32(ecx) = esi; /* 0x2B0297BC: mov dword ptr [ecx], esi */ 1232 esi = MEM32(edx + 0x8); /* 0x2B0297BE: mov esi, dword ptr [edx + 8] */ 1233 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0297C1: cmp esi, dword ptr [edi + 8] */ 1234 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1235 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1236 _flag_k = FK_CMP; 1237 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0297C9; /* 0x2B0297C4: je 0x2b0297c9 */ 1238 L_2B0297C6: 1239 MEM32(esi + 0x4) = ecx; /* 0x2B0297C6: mov dword ptr [esi + 4], ecx */ 1240 L_2B0297C9: 1241 esi = MEM32(ecx + 0x4); /* 0x2B0297C9: mov esi, dword ptr [ecx + 4] */ 1242 MEM32(edx + 0x4) = esi; /* 0x2B0297CC: mov dword ptr [edx + 4], esi */ 1243 esi = MEM32(edi + 0x4); /* 0x2B0297CF: mov esi, dword ptr [edi + 4] */ 1244 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0297D2: cmp ecx, dword ptr [esi + 4] */ 1245 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1246 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1247 _flag_k = FK_CMP; 1248 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0297DC; /* 0x2B0297D5: jne 0x2b0297dc */ 1249 L_2B0297D7: 1250 MEM32(esi + 0x4) = edx; /* 0x2B0297D7: mov dword ptr [esi + 4], edx */ 1251 goto L_2B0297EB; /* 0x2B0297DA: jmp 0x2b0297eb */ 1252 L_2B0297DC: 1253 esi = MEM32(ecx + 0x4); /* 0x2B0297DC: mov esi, dword ptr [ecx + 4] */ 1254 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0297DF: cmp ecx, dword ptr [esi + 8] */ 1255 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1256 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1257 _flag_k = FK_CMP; 1258 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0297E9; /* 0x2B0297E2: jne 0x2b0297e9 */ 1259 L_2B0297E4: 1260 MEM32(esi + 0x8) = edx; /* 0x2B0297E4: mov dword ptr [esi + 8], edx */ 1261 goto L_2B0297EB; /* 0x2B0297E7: jmp 0x2b0297eb */ 1262 L_2B0297E9: 1263 MEM32(esi) = edx; /* 0x2B0297E9: mov dword ptr [esi], edx */ 1264 L_2B0297EB: 1265 MEM32(edx + 0x8) = ecx; /* 0x2B0297EB: mov dword ptr [edx + 8], ecx */ 1266 MEM32(ecx + 0x4) = edx; /* 0x2B0297EE: mov dword ptr [ecx + 4], edx */ 1267 ecx = MEM32(eax + 0x4); /* 0x2B0297F1: mov ecx, dword ptr [eax + 4] */ 1268 ecx = MEM32(ecx + 0x8); /* 0x2B0297F4: mov ecx, dword ptr [ecx + 8] */ 1269 L_2B0297F7: 1270 edx = MEM32(eax + 0x4); /* 0x2B0297F7: mov edx, dword ptr [eax + 4] */ 1271 SET_LO8(edx, MEM8(edx + 0x3C)); /* 0x2B0297FA: mov dl, byte ptr [edx + 0x3c] */ 1272 MEM8(ecx + 0x3C) = (uint8_t)(LO8(edx)); /* 0x2B0297FD: mov byte ptr [ecx + 0x3c], dl */ 1273 edx = MEM32(eax + 0x4); /* 0x2B029800: mov edx, dword ptr [eax + 4] */ 1274 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B029803: mov byte ptr [edx + 0x3c], bl */ 1275 ecx = MEM32(ecx + 0x8); /* 0x2B029806: mov ecx, dword ptr [ecx + 8] */ 1276 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B029809: mov byte ptr [ecx + 0x3c], bl */ 1277 ecx = MEM32(eax + 0x4); /* 0x2B02980C: mov ecx, dword ptr [eax + 4] */ 1278 edx = MEM32(ecx + 0x8); /* 0x2B02980F: mov edx, dword ptr [ecx + 8] */ 1279 esi = MEM32(edx); /* 0x2B029812: mov esi, dword ptr [edx] */ 1280 MEM32(ecx + 0x8) = esi; /* 0x2B029814: mov dword ptr [ecx + 8], esi */ 1281 esi = MEM32(edx); /* 0x2B029817: mov esi, dword ptr [edx] */ 1282 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029819: cmp esi, dword ptr [edi + 8] */ 1283 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1284 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1285 _flag_k = FK_CMP; 1286 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029821; /* 0x2B02981C: je 0x2b029821 */ 1287 L_2B02981E: 1288 MEM32(esi + 0x4) = ecx; /* 0x2B02981E: mov dword ptr [esi + 4], ecx */ 1289 L_2B029821: 1290 esi = MEM32(ecx + 0x4); /* 0x2B029821: mov esi, dword ptr [ecx + 4] */ 1291 MEM32(edx + 0x4) = esi; /* 0x2B029824: mov dword ptr [edx + 4], esi */ 1292 esi = MEM32(edi + 0x4); /* 0x2B029827: mov esi, dword ptr [edi + 4] */ 1293 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B02982A: cmp ecx, dword ptr [esi + 4] */ 1294 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1295 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1296 _flag_k = FK_CMP; 1297 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029839; /* 0x2B02982D: jne 0x2b029839 */ 1298 L_2B02982F: 1299 MEM32(esi + 0x4) = edx; /* 0x2B02982F: mov dword ptr [esi + 4], edx */ 1300 MEM32(edx) = ecx; /* 0x2B029832: mov dword ptr [edx], ecx */ 1301 goto L_2B0298EF; /* 0x2B029834: jmp 0x2b0298ef */ 1302 L_2B029839: 1303 esi = MEM32(ecx + 0x4); /* 0x2B029839: mov esi, dword ptr [ecx + 4] */ 1304 /* cmp ecx, MEM32(esi) */ /* 0x2B02983C: cmp ecx, dword ptr [esi] */ 1305 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 1306 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1307 _flag_k = FK_CMP; 1308 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029849; /* 0x2B02983E: jne 0x2b029849 */ 1309 L_2B029840: 1310 MEM32(esi) = edx; /* 0x2B029840: mov dword ptr [esi], edx */ 1311 MEM32(edx) = ecx; /* 0x2B029842: mov dword ptr [edx], ecx */ 1312 goto L_2B0298EF; /* 0x2B029844: jmp 0x2b0298ef */ 1313 L_2B029849: 1314 MEM32(esi + 0x8) = edx; /* 0x2B029849: mov dword ptr [esi + 8], edx */ 1315 MEM32(edx) = ecx; /* 0x2B02984C: mov dword ptr [edx], ecx */ 1316 goto L_2B0298EF; /* 0x2B02984E: jmp 0x2b0298ef */ 1317 L_2B0298EF: 1318 MEM32(ecx + 0x4) = edx; /* 0x2B0298EF: mov dword ptr [ecx + 4], edx */ 1319 esi = MEM32(ebp + (-0x4)); /* 0x2B0298F2: mov esi, dword ptr [ebp - 4] */ 1320 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0298F5: mov byte ptr [eax + 0x3c], bl */ 1321 ecx = esi + 0xC; /* 0x2B0298F8: lea ecx, [esi + 0xc] */ 1322 RECOMP_ICALL(0x2B012D80u); /* 0x2B0298FB: call 0x2b012d80 */ /* not lifted */ 1323 RECOMP_FLAGS_IN(); 1324 PUSH32(esp, esi); /* 0x2B029900: push esi */ 1325 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B029901: call 0x2b0ab1ba */ /* not lifted */ 1326 RECOMP_FLAGS_IN(); 1327 eax = MEM32(edi + 0x10); /* 0x2B029906: mov eax, dword ptr [edi + 0x10] */ 1328 edx = MEM32(ebp + 0xC); /* 0x2B029909: mov edx, dword ptr [ebp + 0xc] */ 1329 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1330 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1331 esp = esp + 4; /* 0x2B02990C: add esp, 4 */ 1332 _flag_k = FK_ADD; 1333 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 1334 eax = eax - 1; /* 0x2B02990F: dec eax */ 1335 _flag_k = FK_DEC; 1336 MEM32(edi + 0x10) = eax; /* 0x2B029910: mov dword ptr [edi + 0x10], eax */ 1337 eax = MEM32(ebp + 0x8); /* 0x2B029913: mov eax, dword ptr [ebp + 8] */ 1338 edi = POP32_VAL(esp); /* 0x2B029916: pop edi */ 1339 esi = POP32_VAL(esp); /* 0x2B029917: pop esi */ 1340 MEM32(eax) = edx; /* 0x2B029918: mov dword ptr [eax], edx */ 1341 ebx = POP32_VAL(esp); /* 0x2B02991A: pop ebx */ 1342 esp = ebp; /* 0x2B02991B: mov esp, ebp */ 1343 ebp = POP32_VAL(esp); /* 0x2B02991D: pop ebp */ 1344 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B02991E: ret 8 */ 1345 RECOMP_REGS_OUT(); 1346 } 1347 1348 void sub_2B0297EB(void) { 1349 int _fpu_cmp = 0; 1350 uint32_t _cf = 0; 1351 int _df = 1; 1352 uint32_t _flag_k = FK_NONE; 1353 uint32_t _flag_a = 0, _flag_b = 0; 1354 uint32_t _itail_tgt = 0; 1355 RECOMP_REGS_LOCALS 1356 RECOMP_ENTER(0x2B0297EBu); 1357 1358 L_2B0297EB: 1359 MEM32(edx + 0x8) = ecx; /* 0x2B0297EB: mov dword ptr [edx + 8], ecx */ 1360 MEM32(ecx + 0x4) = edx; /* 0x2B0297EE: mov dword ptr [ecx + 4], edx */ 1361 ecx = MEM32(eax + 0x4); /* 0x2B0297F1: mov ecx, dword ptr [eax + 4] */ 1362 ecx = MEM32(ecx + 0x8); /* 0x2B0297F4: mov ecx, dword ptr [ecx + 8] */ 1363 edx = MEM32(eax + 0x4); /* 0x2B0297F7: mov edx, dword ptr [eax + 4] */ 1364 SET_LO8(edx, MEM8(edx + 0x3C)); /* 0x2B0297FA: mov dl, byte ptr [edx + 0x3c] */ 1365 MEM8(ecx + 0x3C) = (uint8_t)(LO8(edx)); /* 0x2B0297FD: mov byte ptr [ecx + 0x3c], dl */ 1366 edx = MEM32(eax + 0x4); /* 0x2B029800: mov edx, dword ptr [eax + 4] */ 1367 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B029803: mov byte ptr [edx + 0x3c], bl */ 1368 ecx = MEM32(ecx + 0x8); /* 0x2B029806: mov ecx, dword ptr [ecx + 8] */ 1369 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B029809: mov byte ptr [ecx + 0x3c], bl */ 1370 ecx = MEM32(eax + 0x4); /* 0x2B02980C: mov ecx, dword ptr [eax + 4] */ 1371 edx = MEM32(ecx + 0x8); /* 0x2B02980F: mov edx, dword ptr [ecx + 8] */ 1372 esi = MEM32(edx); /* 0x2B029812: mov esi, dword ptr [edx] */ 1373 MEM32(ecx + 0x8) = esi; /* 0x2B029814: mov dword ptr [ecx + 8], esi */ 1374 esi = MEM32(edx); /* 0x2B029817: mov esi, dword ptr [edx] */ 1375 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029819: cmp esi, dword ptr [edi + 8] */ 1376 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1377 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1378 _flag_k = FK_CMP; 1379 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029821; /* 0x2B02981C: je 0x2b029821 */ 1380 L_2B02981E: 1381 MEM32(esi + 0x4) = ecx; /* 0x2B02981E: mov dword ptr [esi + 4], ecx */ 1382 L_2B029821: 1383 esi = MEM32(ecx + 0x4); /* 0x2B029821: mov esi, dword ptr [ecx + 4] */ 1384 MEM32(edx + 0x4) = esi; /* 0x2B029824: mov dword ptr [edx + 4], esi */ 1385 esi = MEM32(edi + 0x4); /* 0x2B029827: mov esi, dword ptr [edi + 4] */ 1386 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B02982A: cmp ecx, dword ptr [esi + 4] */ 1387 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1388 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1389 _flag_k = FK_CMP; 1390 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029839; /* 0x2B02982D: jne 0x2b029839 */ 1391 L_2B02982F: 1392 MEM32(esi + 0x4) = edx; /* 0x2B02982F: mov dword ptr [esi + 4], edx */ 1393 MEM32(edx) = ecx; /* 0x2B029832: mov dword ptr [edx], ecx */ 1394 goto L_2B0298EF; /* 0x2B029834: jmp 0x2b0298ef */ 1395 L_2B029839: 1396 esi = MEM32(ecx + 0x4); /* 0x2B029839: mov esi, dword ptr [ecx + 4] */ 1397 /* cmp ecx, MEM32(esi) */ /* 0x2B02983C: cmp ecx, dword ptr [esi] */ 1398 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 1399 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1400 _flag_k = FK_CMP; 1401 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029849; /* 0x2B02983E: jne 0x2b029849 */ 1402 L_2B029840: 1403 MEM32(esi) = edx; /* 0x2B029840: mov dword ptr [esi], edx */ 1404 MEM32(edx) = ecx; /* 0x2B029842: mov dword ptr [edx], ecx */ 1405 goto L_2B0298EF; /* 0x2B029844: jmp 0x2b0298ef */ 1406 L_2B029849: 1407 MEM32(esi + 0x8) = edx; /* 0x2B029849: mov dword ptr [esi + 8], edx */ 1408 MEM32(edx) = ecx; /* 0x2B02984C: mov dword ptr [edx], ecx */ 1409 goto L_2B0298EF; /* 0x2B02984E: jmp 0x2b0298ef */ 1410 L_2B0298EF: 1411 MEM32(ecx + 0x4) = edx; /* 0x2B0298EF: mov dword ptr [ecx + 4], edx */ 1412 esi = MEM32(ebp + (-0x4)); /* 0x2B0298F2: mov esi, dword ptr [ebp - 4] */ 1413 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0298F5: mov byte ptr [eax + 0x3c], bl */ 1414 ecx = esi + 0xC; /* 0x2B0298F8: lea ecx, [esi + 0xc] */ 1415 RECOMP_ICALL(0x2B012D80u); /* 0x2B0298FB: call 0x2b012d80 */ /* not lifted */ 1416 RECOMP_FLAGS_IN(); 1417 PUSH32(esp, esi); /* 0x2B029900: push esi */ 1418 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B029901: call 0x2b0ab1ba */ /* not lifted */ 1419 RECOMP_FLAGS_IN(); 1420 eax = MEM32(edi + 0x10); /* 0x2B029906: mov eax, dword ptr [edi + 0x10] */ 1421 edx = MEM32(ebp + 0xC); /* 0x2B029909: mov edx, dword ptr [ebp + 0xc] */ 1422 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1423 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1424 esp = esp + 4; /* 0x2B02990C: add esp, 4 */ 1425 _flag_k = FK_ADD; 1426 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 1427 eax = eax - 1; /* 0x2B02990F: dec eax */ 1428 _flag_k = FK_DEC; 1429 MEM32(edi + 0x10) = eax; /* 0x2B029910: mov dword ptr [edi + 0x10], eax */ 1430 eax = MEM32(ebp + 0x8); /* 0x2B029913: mov eax, dword ptr [ebp + 8] */ 1431 edi = POP32_VAL(esp); /* 0x2B029916: pop edi */ 1432 esi = POP32_VAL(esp); /* 0x2B029917: pop esi */ 1433 MEM32(eax) = edx; /* 0x2B029918: mov dword ptr [eax], edx */ 1434 ebx = POP32_VAL(esp); /* 0x2B02991A: pop ebx */ 1435 esp = ebp; /* 0x2B02991B: mov esp, ebp */ 1436 ebp = POP32_VAL(esp); /* 0x2B02991D: pop ebp */ 1437 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B02991E: ret 8 */ 1438 RECOMP_REGS_OUT(); 1439 } 1440 1441 void sub_2B029897(void) { 1442 int _fpu_cmp = 0; 1443 uint32_t _cf = 0; 1444 int _df = 1; 1445 uint32_t _flag_k = FK_NONE; 1446 uint32_t _flag_a = 0, _flag_b = 0; 1447 uint32_t _itail_tgt = 0; 1448 RECOMP_REGS_LOCALS 1449 RECOMP_ENTER(0x2B029897u); 1450 1451 L_2B029897: 1452 MEM32(edx) = ecx; /* 0x2B029897: mov dword ptr [edx], ecx */ 1453 MEM32(ecx + 0x4) = edx; /* 0x2B029899: mov dword ptr [ecx + 4], edx */ 1454 ecx = MEM32(eax + 0x4); /* 0x2B02989C: mov ecx, dword ptr [eax + 4] */ 1455 ecx = MEM32(ecx); /* 0x2B02989F: mov ecx, dword ptr [ecx] */ 1456 edx = MEM32(eax + 0x4); /* 0x2B0298A1: mov edx, dword ptr [eax + 4] */ 1457 SET_LO8(edx, MEM8(edx + 0x3C)); /* 0x2B0298A4: mov dl, byte ptr [edx + 0x3c] */ 1458 MEM8(ecx + 0x3C) = (uint8_t)(LO8(edx)); /* 0x2B0298A7: mov byte ptr [ecx + 0x3c], dl */ 1459 edx = MEM32(eax + 0x4); /* 0x2B0298AA: mov edx, dword ptr [eax + 4] */ 1460 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0298AD: mov byte ptr [edx + 0x3c], bl */ 1461 ecx = MEM32(ecx); /* 0x2B0298B0: mov ecx, dword ptr [ecx] */ 1462 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0298B2: mov byte ptr [ecx + 0x3c], bl */ 1463 ecx = MEM32(eax + 0x4); /* 0x2B0298B5: mov ecx, dword ptr [eax + 4] */ 1464 edx = MEM32(ecx); /* 0x2B0298B8: mov edx, dword ptr [ecx] */ 1465 esi = MEM32(edx + 0x8); /* 0x2B0298BA: mov esi, dword ptr [edx + 8] */ 1466 MEM32(ecx) = esi; /* 0x2B0298BD: mov dword ptr [ecx], esi */ 1467 esi = MEM32(edx + 0x8); /* 0x2B0298BF: mov esi, dword ptr [edx + 8] */ 1468 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0298C2: cmp esi, dword ptr [edi + 8] */ 1469 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1470 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1471 _flag_k = FK_CMP; 1472 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0298CA; /* 0x2B0298C5: je 0x2b0298ca */ 1473 L_2B0298C7: 1474 MEM32(esi + 0x4) = ecx; /* 0x2B0298C7: mov dword ptr [esi + 4], ecx */ 1475 L_2B0298CA: 1476 esi = MEM32(ecx + 0x4); /* 0x2B0298CA: mov esi, dword ptr [ecx + 4] */ 1477 MEM32(edx + 0x4) = esi; /* 0x2B0298CD: mov dword ptr [edx + 4], esi */ 1478 esi = MEM32(edi + 0x4); /* 0x2B0298D0: mov esi, dword ptr [edi + 4] */ 1479 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B0298D3: cmp ecx, dword ptr [esi + 4] */ 1480 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1481 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1482 _flag_k = FK_CMP; 1483 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0298DD; /* 0x2B0298D6: jne 0x2b0298dd */ 1484 L_2B0298D8: 1485 MEM32(esi + 0x4) = edx; /* 0x2B0298D8: mov dword ptr [esi + 4], edx */ 1486 goto L_2B0298EC; /* 0x2B0298DB: jmp 0x2b0298ec */ 1487 L_2B0298DD: 1488 esi = MEM32(ecx + 0x4); /* 0x2B0298DD: mov esi, dword ptr [ecx + 4] */ 1489 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B0298E0: cmp ecx, dword ptr [esi + 8] */ 1490 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1491 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1492 _flag_k = FK_CMP; 1493 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0298EA; /* 0x2B0298E3: jne 0x2b0298ea */ 1494 L_2B0298E5: 1495 MEM32(esi + 0x8) = edx; /* 0x2B0298E5: mov dword ptr [esi + 8], edx */ 1496 goto L_2B0298EC; /* 0x2B0298E8: jmp 0x2b0298ec */ 1497 L_2B0298EA: 1498 MEM32(esi) = edx; /* 0x2B0298EA: mov dword ptr [esi], edx */ 1499 L_2B0298EC: 1500 MEM32(edx + 0x8) = ecx; /* 0x2B0298EC: mov dword ptr [edx + 8], ecx */ 1501 MEM32(ecx + 0x4) = edx; /* 0x2B0298EF: mov dword ptr [ecx + 4], edx */ 1502 esi = MEM32(ebp + (-0x4)); /* 0x2B0298F2: mov esi, dword ptr [ebp - 4] */ 1503 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0298F5: mov byte ptr [eax + 0x3c], bl */ 1504 ecx = esi + 0xC; /* 0x2B0298F8: lea ecx, [esi + 0xc] */ 1505 RECOMP_ICALL(0x2B012D80u); /* 0x2B0298FB: call 0x2b012d80 */ /* not lifted */ 1506 RECOMP_FLAGS_IN(); 1507 PUSH32(esp, esi); /* 0x2B029900: push esi */ 1508 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B029901: call 0x2b0ab1ba */ /* not lifted */ 1509 RECOMP_FLAGS_IN(); 1510 eax = MEM32(edi + 0x10); /* 0x2B029906: mov eax, dword ptr [edi + 0x10] */ 1511 edx = MEM32(ebp + 0xC); /* 0x2B029909: mov edx, dword ptr [ebp + 0xc] */ 1512 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1513 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1514 esp = esp + 4; /* 0x2B02990C: add esp, 4 */ 1515 _flag_k = FK_ADD; 1516 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 1517 eax = eax - 1; /* 0x2B02990F: dec eax */ 1518 _flag_k = FK_DEC; 1519 MEM32(edi + 0x10) = eax; /* 0x2B029910: mov dword ptr [edi + 0x10], eax */ 1520 eax = MEM32(ebp + 0x8); /* 0x2B029913: mov eax, dword ptr [ebp + 8] */ 1521 edi = POP32_VAL(esp); /* 0x2B029916: pop edi */ 1522 esi = POP32_VAL(esp); /* 0x2B029917: pop esi */ 1523 MEM32(eax) = edx; /* 0x2B029918: mov dword ptr [eax], edx */ 1524 ebx = POP32_VAL(esp); /* 0x2B02991A: pop ebx */ 1525 esp = ebp; /* 0x2B02991B: mov esp, ebp */ 1526 ebp = POP32_VAL(esp); /* 0x2B02991D: pop ebp */ 1527 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B02991E: ret 8 */ 1528 RECOMP_REGS_OUT(); 1529 } 1530 1531 void sub_2B0298EC(void) { 1532 int _fpu_cmp = 0; 1533 uint32_t _cf = 0; 1534 int _df = 1; 1535 uint32_t _flag_k = FK_NONE; 1536 uint32_t _flag_a = 0, _flag_b = 0; 1537 uint32_t _itail_tgt = 0; 1538 RECOMP_REGS_LOCALS 1539 RECOMP_ENTER(0x2B0298ECu); 1540 1541 L_2B0298EC: 1542 MEM32(edx + 0x8) = ecx; /* 0x2B0298EC: mov dword ptr [edx + 8], ecx */ 1543 MEM32(ecx + 0x4) = edx; /* 0x2B0298EF: mov dword ptr [ecx + 4], edx */ 1544 esi = MEM32(ebp + (-0x4)); /* 0x2B0298F2: mov esi, dword ptr [ebp - 4] */ 1545 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0298F5: mov byte ptr [eax + 0x3c], bl */ 1546 ecx = esi + 0xC; /* 0x2B0298F8: lea ecx, [esi + 0xc] */ 1547 RECOMP_ICALL(0x2B012D80u); /* 0x2B0298FB: call 0x2b012d80 */ /* not lifted */ 1548 RECOMP_FLAGS_IN(); 1549 PUSH32(esp, esi); /* 0x2B029900: push esi */ 1550 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B029901: call 0x2b0ab1ba */ /* not lifted */ 1551 RECOMP_FLAGS_IN(); 1552 eax = MEM32(edi + 0x10); /* 0x2B029906: mov eax, dword ptr [edi + 0x10] */ 1553 edx = MEM32(ebp + 0xC); /* 0x2B029909: mov edx, dword ptr [ebp + 0xc] */ 1554 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1555 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1556 esp = esp + 4; /* 0x2B02990C: add esp, 4 */ 1557 _flag_k = FK_ADD; 1558 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 1559 eax = eax - 1; /* 0x2B02990F: dec eax */ 1560 _flag_k = FK_DEC; 1561 MEM32(edi + 0x10) = eax; /* 0x2B029910: mov dword ptr [edi + 0x10], eax */ 1562 eax = MEM32(ebp + 0x8); /* 0x2B029913: mov eax, dword ptr [ebp + 8] */ 1563 edi = POP32_VAL(esp); /* 0x2B029916: pop edi */ 1564 esi = POP32_VAL(esp); /* 0x2B029917: pop esi */ 1565 MEM32(eax) = edx; /* 0x2B029918: mov dword ptr [eax], edx */ 1566 ebx = POP32_VAL(esp); /* 0x2B02991A: pop ebx */ 1567 esp = ebp; /* 0x2B02991B: mov esp, ebp */ 1568 ebp = POP32_VAL(esp); /* 0x2B02991D: pop ebp */ 1569 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B02991E: ret 8 */ 1570 RECOMP_REGS_OUT(); 1571 } 1572 1573 void sub_2B0298EF(void) { 1574 int _fpu_cmp = 0; 1575 uint32_t _cf = 0; 1576 int _df = 1; 1577 uint32_t _flag_k = FK_NONE; 1578 uint32_t _flag_a = 0, _flag_b = 0; 1579 uint32_t _itail_tgt = 0; 1580 RECOMP_REGS_LOCALS 1581 RECOMP_ENTER(0x2B0298EFu); 1582 1583 L_2B0298EF: 1584 MEM32(ecx + 0x4) = edx; /* 0x2B0298EF: mov dword ptr [ecx + 4], edx */ 1585 esi = MEM32(ebp + (-0x4)); /* 0x2B0298F2: mov esi, dword ptr [ebp - 4] */ 1586 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0298F5: mov byte ptr [eax + 0x3c], bl */ 1587 ecx = esi + 0xC; /* 0x2B0298F8: lea ecx, [esi + 0xc] */ 1588 RECOMP_ICALL(0x2B012D80u); /* 0x2B0298FB: call 0x2b012d80 */ /* not lifted */ 1589 RECOMP_FLAGS_IN(); 1590 PUSH32(esp, esi); /* 0x2B029900: push esi */ 1591 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B029901: call 0x2b0ab1ba */ /* not lifted */ 1592 RECOMP_FLAGS_IN(); 1593 eax = MEM32(edi + 0x10); /* 0x2B029906: mov eax, dword ptr [edi + 0x10] */ 1594 edx = MEM32(ebp + 0xC); /* 0x2B029909: mov edx, dword ptr [ebp + 0xc] */ 1595 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1596 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1597 esp = esp + 4; /* 0x2B02990C: add esp, 4 */ 1598 _flag_k = FK_ADD; 1599 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 1600 eax = eax - 1; /* 0x2B02990F: dec eax */ 1601 _flag_k = FK_DEC; 1602 MEM32(edi + 0x10) = eax; /* 0x2B029910: mov dword ptr [edi + 0x10], eax */ 1603 eax = MEM32(ebp + 0x8); /* 0x2B029913: mov eax, dword ptr [ebp + 8] */ 1604 edi = POP32_VAL(esp); /* 0x2B029916: pop edi */ 1605 esi = POP32_VAL(esp); /* 0x2B029917: pop esi */ 1606 MEM32(eax) = edx; /* 0x2B029918: mov dword ptr [eax], edx */ 1607 ebx = POP32_VAL(esp); /* 0x2B02991A: pop ebx */ 1608 esp = ebp; /* 0x2B02991B: mov esp, ebp */ 1609 ebp = POP32_VAL(esp); /* 0x2B02991D: pop ebp */ 1610 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B02991E: ret 8 */ 1611 RECOMP_REGS_OUT(); 1612 } 1613 1614 void sub_2B0298F2(void) { 1615 int _fpu_cmp = 0; 1616 uint32_t _cf = 0; 1617 int _df = 1; 1618 uint32_t _flag_k = FK_NONE; 1619 uint32_t _flag_a = 0, _flag_b = 0; 1620 uint32_t _itail_tgt = 0; 1621 RECOMP_REGS_LOCALS 1622 RECOMP_ENTER(0x2B0298F2u); 1623 1624 L_2B0298F2: 1625 esi = MEM32(ebp + (-0x4)); /* 0x2B0298F2: mov esi, dword ptr [ebp - 4] */ 1626 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B0298F5: mov byte ptr [eax + 0x3c], bl */ 1627 ecx = esi + 0xC; /* 0x2B0298F8: lea ecx, [esi + 0xc] */ 1628 RECOMP_ICALL(0x2B012D80u); /* 0x2B0298FB: call 0x2b012d80 */ /* not lifted */ 1629 RECOMP_FLAGS_IN(); 1630 PUSH32(esp, esi); /* 0x2B029900: push esi */ 1631 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B029901: call 0x2b0ab1ba */ /* not lifted */ 1632 RECOMP_FLAGS_IN(); 1633 eax = MEM32(edi + 0x10); /* 0x2B029906: mov eax, dword ptr [edi + 0x10] */ 1634 edx = MEM32(ebp + 0xC); /* 0x2B029909: mov edx, dword ptr [ebp + 0xc] */ 1635 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1636 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1637 esp = esp + 4; /* 0x2B02990C: add esp, 4 */ 1638 _flag_k = FK_ADD; 1639 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 1640 eax = eax - 1; /* 0x2B02990F: dec eax */ 1641 _flag_k = FK_DEC; 1642 MEM32(edi + 0x10) = eax; /* 0x2B029910: mov dword ptr [edi + 0x10], eax */ 1643 eax = MEM32(ebp + 0x8); /* 0x2B029913: mov eax, dword ptr [ebp + 8] */ 1644 edi = POP32_VAL(esp); /* 0x2B029916: pop edi */ 1645 esi = POP32_VAL(esp); /* 0x2B029917: pop esi */ 1646 MEM32(eax) = edx; /* 0x2B029918: mov dword ptr [eax], edx */ 1647 ebx = POP32_VAL(esp); /* 0x2B02991A: pop ebx */ 1648 esp = ebp; /* 0x2B02991B: mov esp, ebp */ 1649 ebp = POP32_VAL(esp); /* 0x2B02991D: pop ebp */ 1650 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B02991E: ret 8 */ 1651 RECOMP_REGS_OUT(); 1652 } 1653 1654 void sub_2B029930(void) { 1655 int _fpu_cmp = 0; 1656 uint32_t _cf = 0; 1657 int _df = 1; 1658 uint32_t _flag_k = FK_NONE; 1659 uint32_t _flag_a = 0, _flag_b = 0; 1660 uint32_t _itail_tgt = 0; 1661 RECOMP_REGS_LOCALS 1662 RECOMP_ENTER(0x2B029930u); 1663 1664 L_2B029930: 1665 PUSH32(esp, ebp); /* 0x2B029930: push ebp */ 1666 ebp = esp; /* 0x2B029931: mov ebp, esp */ 1667 PUSH32(esp, ebx); /* 0x2B029933: push ebx */ 1668 PUSH32(esp, esi); /* 0x2B029934: push esi */ 1669 ebx = ecx; /* 0x2B029935: mov ebx, ecx */ 1670 eax = MEM32(ebx + 0x8); /* 0x2B029937: mov eax, dword ptr [ebx + 8] */ 1671 PUSH32(esp, edi); /* 0x2B02993A: push edi */ 1672 edi = MEM32(ebp + 0x8); /* 0x2B02993B: mov edi, dword ptr [ebp + 8] */ 1673 /* cmp edi, eax */ /* 0x2B02993E: cmp edi, eax */ 1674 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 1675 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1676 _flag_k = FK_CMP; 1677 esi = edi; /* 0x2B029940: mov esi, edi */ 1678 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02996B; /* 0x2B029942: je 0x2b02996b */ 1679 L_2B029944: 1680 eax = MEM32(esi + 0x8); /* 0x2B029944: mov eax, dword ptr [esi + 8] */ 1681 PUSH32(esp, eax); /* 0x2B029947: push eax */ 1682 ecx = ebx; /* 0x2B029948: mov ecx, ebx */ 1683 RECOMP_ICALL(0x2B029930u); /* 0x2B02994A: call 0x2b029930 */ /* not lifted */ 1684 RECOMP_FLAGS_IN(); 1685 esi = MEM32(esi); /* 0x2B02994F: mov esi, dword ptr [esi] */ 1686 ecx = edi + 0xC; /* 0x2B029951: lea ecx, [edi + 0xc] */ 1687 RECOMP_ICALL(0x2B012D80u); /* 0x2B029954: call 0x2b012d80 */ /* not lifted */ 1688 RECOMP_FLAGS_IN(); 1689 PUSH32(esp, edi); /* 0x2B029959: push edi */ 1690 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B02995A: call 0x2b0ab1ba */ /* not lifted */ 1691 RECOMP_FLAGS_IN(); 1692 eax = MEM32(ebx + 0x8); /* 0x2B02995F: mov eax, dword ptr [ebx + 8] */ 1693 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1694 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1695 esp = esp + 4; /* 0x2B029962: add esp, 4 */ 1696 _flag_k = FK_ADD; 1697 /* cmp esi, eax */ /* 0x2B029965: cmp esi, eax */ 1698 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 1699 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1700 _flag_k = FK_CMP; 1701 edi = esi; /* 0x2B029967: mov edi, esi */ 1702 RECOMP_BACKEDGE(); 1703 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029944; /* 0x2B029969: jne 0x2b029944 */ 1704 L_2B02996B: 1705 edi = POP32_VAL(esp); /* 0x2B02996B: pop edi */ 1706 esi = POP32_VAL(esp); /* 0x2B02996C: pop esi */ 1707 ebx = POP32_VAL(esp); /* 0x2B02996D: pop ebx */ 1708 ebp = POP32_VAL(esp); /* 0x2B02996E: pop ebp */ 1709 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B02996F: ret 4 */ 1710 RECOMP_REGS_OUT(); 1711 } 1712 1713 void sub_2B029980(void) { 1714 int _fpu_cmp = 0; 1715 uint32_t _cf = 0; 1716 int _df = 1; 1717 uint32_t _flag_k = FK_NONE; 1718 uint32_t _flag_a = 0, _flag_b = 0; 1719 uint32_t _itail_tgt = 0; 1720 RECOMP_REGS_LOCALS 1721 RECOMP_ENTER(0x2B029980u); 1722 1723 L_2B029980: 1724 PUSH32(esp, ebp); /* 0x2B029980: push ebp */ 1725 ebp = esp; /* 0x2B029981: mov ebp, esp */ 1726 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 1727 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1728 esp = esp - 0x10u; /* 0x2B029983: sub esp, 0x10 */ 1729 _flag_k = FK_CMP; 1730 PUSH32(esp, ebx); /* 0x2B029986: push ebx */ 1731 PUSH32(esp, esi); /* 0x2B029987: push esi */ 1732 PUSH32(esp, edi); /* 0x2B029988: push edi */ 1733 edi = ecx; /* 0x2B029989: mov edi, ecx */ 1734 ebx = MEM32(edi + 0x4); /* 0x2B02998B: mov ebx, dword ptr [edi + 4] */ 1735 esi = MEM32(ebx + 0x4); /* 0x2B02998E: mov esi, dword ptr [ebx + 4] */ 1736 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029991: cmp esi, dword ptr [edi + 8] */ 1737 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1738 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1739 _flag_k = FK_CMP; 1740 SET_LO8(eax, 1); /* 0x2B029994: mov al, 1 */ 1741 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0299CE; /* 0x2B029996: je 0x2b0299ce */ 1742 L_2B029998: 1743 eax = MEM32(esi + 0x14); /* 0x2B029998: mov eax, dword ptr [esi + 0x14] */ 1744 edx = MEM32(ebp + 0xC); /* 0x2B02999B: mov edx, dword ptr [ebp + 0xc] */ 1745 edx = MEM32(edx + 0x8); /* 0x2B02999E: mov edx, dword ptr [edx + 8] */ 1746 ecx = MEM32(esi + 0x10); /* 0x2B0299A1: mov ecx, dword ptr [esi + 0x10] */ 1747 PUSH32(esp, eax); /* 0x2B0299A4: push eax */ 1748 MEM32(ebp + (-0x4)) = edx; /* 0x2B0299A5: mov dword ptr [ebp - 4], edx */ 1749 eax = MEM32(ebp + (-0x4)); /* 0x2B0299A8: mov eax, dword ptr [ebp - 4] */ 1750 edx = MEM32(ebp + 0xC); /* 0x2B0299AB: mov edx, dword ptr [ebp + 0xc] */ 1751 edx = MEM32(edx + 0x4); /* 0x2B0299AE: mov edx, dword ptr [edx + 4] */ 1752 PUSH32(esp, ecx); /* 0x2B0299B1: push ecx */ 1753 PUSH32(esp, eax); /* 0x2B0299B2: push eax */ 1754 PUSH32(esp, edx); /* 0x2B0299B3: push edx */ 1755 ebx = esi; /* 0x2B0299B4: mov ebx, esi */ 1756 RECOMP_ICALL(0x2B02ABB0u); /* 0x2B0299B6: call 0x2b02abb0 */ /* not lifted */ 1757 RECOMP_FLAGS_IN(); 1758 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 1759 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1760 esp = esp + 0x10u; /* 0x2B0299BB: add esp, 0x10 */ 1761 _flag_k = FK_ADD; 1762 /* test LO8(eax), LO8(eax) */ /* 0x2B0299BE: test al, al */ 1763 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1764 _cf = 0; 1765 _flag_k = FK_NARROW(FK_TEST, 24); 1766 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0299C6; /* 0x2B0299C0: je 0x2b0299c6 */ 1767 L_2B0299C2: 1768 esi = MEM32(esi); /* 0x2B0299C2: mov esi, dword ptr [esi] */ 1769 goto L_2B0299C9; /* 0x2B0299C4: jmp 0x2b0299c9 */ 1770 L_2B0299C6: 1771 esi = MEM32(esi + 0x8); /* 0x2B0299C6: mov esi, dword ptr [esi + 8] */ 1772 L_2B0299C9: 1773 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B0299C9: cmp esi, dword ptr [edi + 8] */ 1774 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1775 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1776 _flag_k = FK_CMP; 1777 RECOMP_BACKEDGE(); 1778 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029998; /* 0x2B0299CC: jne 0x2b029998 */ 1779 L_2B0299CE: 1780 SET_LO8(ecx, MEM8(edi + 0xC)); /* 0x2B0299CE: mov cl, byte ptr [edi + 0xc] */ 1781 /* test LO8(ecx), LO8(ecx) */ /* 0x2B0299D1: test cl, cl */ 1782 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1783 _cf = 0; 1784 _flag_k = FK_NARROW(FK_TEST, 24); 1785 if (TEST_Z(_flag_a, _flag_b)) goto L_2B029B50; /* 0x2B0299D3: je 0x2b029b50 */ 1786 L_2B0299D9: 1787 PUSH32(esp, 0); /* 0x2B0299D9: push 0 */ 1788 PUSH32(esp, ebx); /* 0x2B0299DB: push ebx */ 1789 ecx = edi; /* 0x2B0299DC: mov ecx, edi */ 1790 RECOMP_ICALL(0x2B02A600u); /* 0x2B0299DE: call 0x2b02a600 */ /* not lifted */ 1791 RECOMP_FLAGS_IN(); 1792 ecx = MEM32(edi + 0x8); /* 0x2B0299E3: mov ecx, dword ptr [edi + 8] */ 1793 MEM32(eax) = ecx; /* 0x2B0299E6: mov dword ptr [eax], ecx */ 1794 edx = MEM32(edi + 0x8); /* 0x2B0299E8: mov edx, dword ptr [edi + 8] */ 1795 ecx = MEM32(ebp + 0xC); /* 0x2B0299EB: mov ecx, dword ptr [ebp + 0xc] */ 1796 MEM32(ebp + (-0x4)) = eax; /* 0x2B0299EE: mov dword ptr [ebp - 4], eax */ 1797 MEM32(eax + 0x8) = edx; /* 0x2B0299F1: mov dword ptr [eax + 8], edx */ 1798 PUSH32(esp, ecx); /* 0x2B0299F4: push ecx */ 1799 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu); 1800 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1801 eax = eax + 0xCu; /* 0x2B0299F5: add eax, 0xc */ 1802 _flag_k = FK_ADD; 1803 PUSH32(esp, eax); /* 0x2B0299F8: push eax */ 1804 RECOMP_ICALL(0x2B02A920u); /* 0x2B0299F9: call 0x2b02a920 */ /* not lifted */ 1805 RECOMP_FLAGS_IN(); 1806 ecx = MEM32(edi + 0x10); /* 0x2B0299FE: mov ecx, dword ptr [edi + 0x10] */ 1807 eax = MEM32(edi + 0x4); /* 0x2B029A01: mov eax, dword ptr [edi + 4] */ 1808 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1809 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1810 esp = esp + 8; /* 0x2B029A04: add esp, 8 */ 1811 _flag_k = FK_ADD; 1812 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1813 ecx = ecx + 1; /* 0x2B029A07: inc ecx */ 1814 _flag_k = FK_INC; 1815 /* cmp ebx, eax */ /* 0x2B029A08: cmp ebx, eax */ 1816 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 1817 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1818 _flag_k = FK_CMP; 1819 MEM32(edi + 0x10) = ecx; /* 0x2B029A0A: mov dword ptr [edi + 0x10], ecx */ 1820 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029A37; /* 0x2B029A0D: je 0x2b029a37 */ 1821 L_2B029A0F: 1822 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029A0F: cmp esi, dword ptr [edi + 8] */ 1823 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1824 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1825 _flag_k = FK_CMP; 1826 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029A37; /* 0x2B029A12: jne 0x2b029a37 */ 1827 L_2B029A14: 1828 ecx = MEM32(ebp + 0xC); /* 0x2B029A14: mov ecx, dword ptr [ebp + 0xc] */ 1829 edx = ebx + 0xC; /* 0x2B029A17: lea edx, [ebx + 0xc] */ 1830 PUSH32(esp, edx); /* 0x2B029A1A: push edx */ 1831 RECOMP_ICALL(0x2B02AB60u); /* 0x2B029A1B: call 0x2b02ab60 */ /* not lifted */ 1832 RECOMP_FLAGS_IN(); 1833 /* test LO8(eax), LO8(eax) */ /* 0x2B029A20: test al, al */ 1834 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1835 _cf = 0; 1836 _flag_k = FK_NARROW(FK_TEST, 24); 1837 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B029A37; /* 0x2B029A22: jne 0x2b029a37 */ 1838 L_2B029A24: 1839 ecx = MEM32(ebp + (-0x4)); /* 0x2B029A24: mov ecx, dword ptr [ebp - 4] */ 1840 MEM32(ebx + 0x8) = ecx; /* 0x2B029A27: mov dword ptr [ebx + 8], ecx */ 1841 eax = MEM32(edi + 0x4); /* 0x2B029A2A: mov eax, dword ptr [edi + 4] */ 1842 /* cmp ebx, MEM32(eax + 0x8) */ /* 0x2B029A2D: cmp ebx, dword ptr [eax + 8] */ 1843 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 1844 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1845 _flag_k = FK_CMP; 1846 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029A57; /* 0x2B029A30: jne 0x2b029a57 */ 1847 L_2B029A32: 1848 MEM32(eax + 0x8) = ecx; /* 0x2B029A32: mov dword ptr [eax + 8], ecx */ 1849 goto L_2B029A57; /* 0x2B029A35: jmp 0x2b029a57 */ 1850 L_2B029A37: 1851 ecx = MEM32(ebp + (-0x4)); /* 0x2B029A37: mov ecx, dword ptr [ebp - 4] */ 1852 MEM32(ebx) = ecx; /* 0x2B029A3A: mov dword ptr [ebx], ecx */ 1853 eax = MEM32(edi + 0x4); /* 0x2B029A3C: mov eax, dword ptr [edi + 4] */ 1854 /* cmp ebx, eax */ /* 0x2B029A3F: cmp ebx, eax */ 1855 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 1856 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1857 _flag_k = FK_CMP; 1858 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029A4E; /* 0x2B029A41: jne 0x2b029a4e */ 1859 L_2B029A43: 1860 MEM32(eax + 0x4) = ecx; /* 0x2B029A43: mov dword ptr [eax + 4], ecx */ 1861 eax = MEM32(edi + 0x4); /* 0x2B029A46: mov eax, dword ptr [edi + 4] */ 1862 MEM32(eax + 0x8) = ecx; /* 0x2B029A49: mov dword ptr [eax + 8], ecx */ 1863 goto L_2B029A57; /* 0x2B029A4C: jmp 0x2b029a57 */ 1864 L_2B029A4E: 1865 /* cmp ebx, MEM32(eax) */ /* 0x2B029A4E: cmp ebx, dword ptr [eax] */ 1866 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(eax)); 1867 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1868 _flag_k = FK_CMP; 1869 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029A57; /* 0x2B029A50: jne 0x2b029a57 */ 1870 L_2B029A52: 1871 ecx = MEM32(ebp + (-0x4)); /* 0x2B029A52: mov ecx, dword ptr [ebp - 4] */ 1872 MEM32(eax) = ecx; /* 0x2B029A55: mov dword ptr [eax], ecx */ 1873 L_2B029A57: 1874 edx = MEM32(edi + 0x4); /* 0x2B029A57: mov edx, dword ptr [edi + 4] */ 1875 esi = MEM32(ebp + (-0x4)); /* 0x2B029A5A: mov esi, dword ptr [ebp - 4] */ 1876 /* cmp esi, MEM32(edx + 0x4) */ /* 0x2B029A5D: cmp esi, dword ptr [edx + 4] */ 1877 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 1878 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1879 _flag_k = FK_CMP; 1880 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029B2B; /* 0x2B029A60: je 0x2b029b2b */ 1881 L_2B029A66: 1882 eax = MEM32(esi + 0x4); /* 0x2B029A66: mov eax, dword ptr [esi + 4] */ 1883 SET_LO8(ecx, MEM8(eax + 0x34)); /* 0x2B029A69: mov cl, byte ptr [eax + 0x34] */ 1884 /* test LO8(ecx), LO8(ecx) */ /* 0x2B029A6C: test cl, cl */ 1885 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1886 _cf = 0; 1887 _flag_k = FK_NARROW(FK_TEST, 24); 1888 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B029B2B; /* 0x2B029A6E: jne 0x2b029b2b */ 1889 L_2B029A74: 1890 edx = MEM32(eax + 0x4); /* 0x2B029A74: mov edx, dword ptr [eax + 4] */ 1891 ecx = MEM32(edx); /* 0x2B029A77: mov ecx, dword ptr [edx] */ 1892 /* cmp eax, ecx */ /* 0x2B029A79: cmp eax, ecx */ 1893 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1894 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1895 _flag_k = FK_CMP; 1896 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029AD1; /* 0x2B029A7B: jne 0x2b029ad1 */ 1897 L_2B029A7D: 1898 ecx = MEM32(edx + 0x8); /* 0x2B029A7D: mov ecx, dword ptr [edx + 8] */ 1899 SET_LO8(edx, MEM8(ecx + 0x34)); /* 0x2B029A80: mov dl, byte ptr [ecx + 0x34] */ 1900 /* test LO8(edx), LO8(edx) */ /* 0x2B029A83: test dl, dl */ 1901 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 1902 _cf = 0; 1903 _flag_k = FK_NARROW(FK_TEST, 24); 1904 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B029AA1; /* 0x2B029A85: jne 0x2b029aa1 */ 1905 L_2B029A87: 1906 MEM8(eax + 0x34) = (uint8_t)(1); /* 0x2B029A87: mov byte ptr [eax + 0x34], 1 */ 1907 MEM8(ecx + 0x34) = (uint8_t)(1); /* 0x2B029A8B: mov byte ptr [ecx + 0x34], 1 */ 1908 eax = MEM32(esi + 0x4); /* 0x2B029A8F: mov eax, dword ptr [esi + 4] */ 1909 ecx = MEM32(eax + 0x4); /* 0x2B029A92: mov ecx, dword ptr [eax + 4] */ 1910 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029A95: mov byte ptr [ecx + 0x34], 0 */ 1911 edx = MEM32(esi + 0x4); /* 0x2B029A99: mov edx, dword ptr [esi + 4] */ 1912 esi = MEM32(edx + 0x4); /* 0x2B029A9C: mov esi, dword ptr [edx + 4] */ 1913 goto L_2B029B1F; /* 0x2B029A9F: jmp 0x2b029b1f */ 1914 L_2B029AA1: 1915 /* cmp esi, MEM32(eax + 0x8) */ /* 0x2B029AA1: cmp esi, dword ptr [eax + 8] */ 1916 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 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_2B029AB0; /* 0x2B029AA4: jne 0x2b029ab0 */ 1920 L_2B029AA6: 1921 esi = eax; /* 0x2B029AA6: mov esi, eax */ 1922 PUSH32(esp, esi); /* 0x2B029AA8: push esi */ 1923 ecx = edi; /* 0x2B029AA9: mov ecx, edi */ 1924 RECOMP_ICALL(0x2B02A580u); /* 0x2B029AAB: call 0x2b02a580 */ /* not lifted */ 1925 RECOMP_FLAGS_IN(); 1926 L_2B029AB0: 1927 eax = MEM32(esi + 0x4); /* 0x2B029AB0: mov eax, dword ptr [esi + 4] */ 1928 MEM8(eax + 0x34) = (uint8_t)(1); /* 0x2B029AB3: mov byte ptr [eax + 0x34], 1 */ 1929 ecx = MEM32(esi + 0x4); /* 0x2B029AB7: mov ecx, dword ptr [esi + 4] */ 1930 edx = MEM32(ecx + 0x4); /* 0x2B029ABA: mov edx, dword ptr [ecx + 4] */ 1931 MEM8(edx + 0x34) = (uint8_t)(0); /* 0x2B029ABD: mov byte ptr [edx + 0x34], 0 */ 1932 eax = MEM32(esi + 0x4); /* 0x2B029AC1: mov eax, dword ptr [esi + 4] */ 1933 ecx = MEM32(eax + 0x4); /* 0x2B029AC4: mov ecx, dword ptr [eax + 4] */ 1934 PUSH32(esp, ecx); /* 0x2B029AC7: push ecx */ 1935 ecx = edi; /* 0x2B029AC8: mov ecx, edi */ 1936 RECOMP_ICALL(0x2B08B210u); /* 0x2B029ACA: call 0x2b08b210 */ /* not lifted */ 1937 RECOMP_FLAGS_IN(); 1938 goto L_2B029B1F; /* 0x2B029ACF: jmp 0x2b029b1f */ 1939 L_2B029AD1: 1940 SET_LO8(edx, MEM8(ecx + 0x34)); /* 0x2B029AD1: mov dl, byte ptr [ecx + 0x34] */ 1941 /* test LO8(edx), LO8(edx) */ /* 0x2B029AD4: test dl, dl */ 1942 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 1943 _cf = 0; 1944 _flag_k = FK_NARROW(FK_TEST, 24); 1945 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B029AF2; /* 0x2B029AD6: jne 0x2b029af2 */ 1946 L_2B029AD8: 1947 MEM8(eax + 0x34) = (uint8_t)(1); /* 0x2B029AD8: mov byte ptr [eax + 0x34], 1 */ 1948 MEM8(ecx + 0x34) = (uint8_t)(1); /* 0x2B029ADC: mov byte ptr [ecx + 0x34], 1 */ 1949 edx = MEM32(esi + 0x4); /* 0x2B029AE0: mov edx, dword ptr [esi + 4] */ 1950 eax = MEM32(edx + 0x4); /* 0x2B029AE3: mov eax, dword ptr [edx + 4] */ 1951 MEM8(eax + 0x34) = (uint8_t)(0); /* 0x2B029AE6: mov byte ptr [eax + 0x34], 0 */ 1952 ecx = MEM32(esi + 0x4); /* 0x2B029AEA: mov ecx, dword ptr [esi + 4] */ 1953 esi = MEM32(ecx + 0x4); /* 0x2B029AED: mov esi, dword ptr [ecx + 4] */ 1954 goto L_2B029B1F; /* 0x2B029AF0: jmp 0x2b029b1f */ 1955 L_2B029AF2: 1956 /* cmp esi, MEM32(eax) */ /* 0x2B029AF2: cmp esi, dword ptr [eax] */ 1957 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax)); 1958 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1959 _flag_k = FK_CMP; 1960 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029B00; /* 0x2B029AF4: jne 0x2b029b00 */ 1961 L_2B029AF6: 1962 esi = eax; /* 0x2B029AF6: mov esi, eax */ 1963 PUSH32(esp, esi); /* 0x2B029AF8: push esi */ 1964 ecx = edi; /* 0x2B029AF9: mov ecx, edi */ 1965 RECOMP_ICALL(0x2B08B210u); /* 0x2B029AFB: call 0x2b08b210 */ /* not lifted */ 1966 RECOMP_FLAGS_IN(); 1967 L_2B029B00: 1968 edx = MEM32(esi + 0x4); /* 0x2B029B00: mov edx, dword ptr [esi + 4] */ 1969 MEM8(edx + 0x34) = (uint8_t)(1); /* 0x2B029B03: mov byte ptr [edx + 0x34], 1 */ 1970 eax = MEM32(esi + 0x4); /* 0x2B029B07: mov eax, dword ptr [esi + 4] */ 1971 ecx = MEM32(eax + 0x4); /* 0x2B029B0A: mov ecx, dword ptr [eax + 4] */ 1972 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029B0D: mov byte ptr [ecx + 0x34], 0 */ 1973 edx = MEM32(esi + 0x4); /* 0x2B029B11: mov edx, dword ptr [esi + 4] */ 1974 eax = MEM32(edx + 0x4); /* 0x2B029B14: mov eax, dword ptr [edx + 4] */ 1975 PUSH32(esp, eax); /* 0x2B029B17: push eax */ 1976 ecx = edi; /* 0x2B029B18: mov ecx, edi */ 1977 RECOMP_ICALL(0x2B02A580u); /* 0x2B029B1A: call 0x2b02a580 */ /* not lifted */ 1978 RECOMP_FLAGS_IN(); 1979 L_2B029B1F: 1980 ecx = MEM32(edi + 0x4); /* 0x2B029B1F: mov ecx, dword ptr [edi + 4] */ 1981 /* cmp esi, MEM32(ecx + 0x4) */ /* 0x2B029B22: cmp esi, dword ptr [ecx + 4] */ 1982 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 1983 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1984 _flag_k = FK_CMP; 1985 RECOMP_BACKEDGE(); 1986 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029A66; /* 0x2B029B25: jne 0x2b029a66 */ 1987 L_2B029B2B: 1988 edx = MEM32(edi + 0x4); /* 0x2B029B2B: mov edx, dword ptr [edi + 4] */ 1989 eax = MEM32(edx + 0x4); /* 0x2B029B2E: mov eax, dword ptr [edx + 4] */ 1990 ecx = MEM32(ebp + (-0x4)); /* 0x2B029B31: mov ecx, dword ptr [ebp - 4] */ 1991 MEM8(eax + 0x34) = (uint8_t)(1); /* 0x2B029B34: mov byte ptr [eax + 0x34], 1 */ 1992 eax = MEM32(ebp + 0x8); /* 0x2B029B38: mov eax, dword ptr [ebp + 8] */ 1993 edi = POP32_VAL(esp); /* 0x2B029B3B: pop edi */ 1994 MEM8(ebp + (-0xC)) = (uint8_t)(1); /* 0x2B029B3C: mov byte ptr [ebp - 0xc], 1 */ 1995 edx = MEM32(ebp + (-0xC)); /* 0x2B029B40: mov edx, dword ptr [ebp - 0xc] */ 1996 esi = POP32_VAL(esp); /* 0x2B029B43: pop esi */ 1997 MEM32(eax) = ecx; /* 0x2B029B44: mov dword ptr [eax], ecx */ 1998 MEM32(eax + 0x4) = edx; /* 0x2B029B46: mov dword ptr [eax + 4], edx */ 1999 ebx = POP32_VAL(esp); /* 0x2B029B49: pop ebx */ 2000 esp = ebp; /* 0x2B029B4A: mov esp, ebp */ 2001 ebp = POP32_VAL(esp); /* 0x2B029B4C: pop ebp */ 2002 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B029B4D: ret 8 */ 2003 L_2B029B50: 2004 /* test LO8(eax), LO8(eax) */ /* 0x2B029B50: test al, al */ 2005 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2006 _cf = 0; 2007 _flag_k = FK_NARROW(FK_TEST, 24); 2008 MEM32(ebp + (-0xC)) = ebx; /* 0x2B029B52: mov dword ptr [ebp - 0xc], ebx */ 2009 if (TEST_Z(_flag_a, _flag_b)) goto L_2B029B91; /* 0x2B029B55: je 0x2b029b91 */ 2010 L_2B029B57: 2011 eax = MEM32(edi + 0x4); /* 0x2B029B57: mov eax, dword ptr [edi + 4] */ 2012 /* cmp ebx, MEM32(eax) */ /* 0x2B029B5A: cmp ebx, dword ptr [eax] */ 2013 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(eax)); 2014 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2015 _flag_k = FK_CMP; 2016 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029B89; /* 0x2B029B5C: jne 0x2b029b89 */ 2017 L_2B029B5E: 2018 ecx = MEM32(ebp + 0xC); /* 0x2B029B5E: mov ecx, dword ptr [ebp + 0xc] */ 2019 PUSH32(esp, ecx); /* 0x2B029B61: push ecx */ 2020 PUSH32(esp, ebx); /* 0x2B029B62: push ebx */ 2021 PUSH32(esp, esi); /* 0x2B029B63: push esi */ 2022 edx = ebp + 0xC; /* 0x2B029B64: lea edx, [ebp + 0xc] */ 2023 PUSH32(esp, edx); /* 0x2B029B67: push edx */ 2024 ecx = edi; /* 0x2B029B68: mov ecx, edi */ 2025 RECOMP_ICALL(0x2B02A2C0u); /* 0x2B029B6A: call 0x2b02a2c0 */ /* not lifted */ 2026 RECOMP_FLAGS_IN(); 2027 ecx = MEM32(eax); /* 0x2B029B6F: mov ecx, dword ptr [eax] */ 2028 eax = MEM32(ebp + 0x8); /* 0x2B029B71: mov eax, dword ptr [ebp + 8] */ 2029 edi = POP32_VAL(esp); /* 0x2B029B74: pop edi */ 2030 MEM32(eax) = ecx; /* 0x2B029B75: mov dword ptr [eax], ecx */ 2031 MEM8(ebp + (-0xC)) = (uint8_t)(1); /* 0x2B029B77: mov byte ptr [ebp - 0xc], 1 */ 2032 ecx = MEM32(ebp + (-0xC)); /* 0x2B029B7B: mov ecx, dword ptr [ebp - 0xc] */ 2033 esi = POP32_VAL(esp); /* 0x2B029B7E: pop esi */ 2034 MEM32(eax + 0x4) = ecx; /* 0x2B029B7F: mov dword ptr [eax + 4], ecx */ 2035 ebx = POP32_VAL(esp); /* 0x2B029B82: pop ebx */ 2036 esp = ebp; /* 0x2B029B83: mov esp, ebp */ 2037 ebp = POP32_VAL(esp); /* 0x2B029B85: pop ebp */ 2038 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B029B86: ret 8 */ 2039 L_2B029B89: 2040 ecx = ebp + (-0xC); /* 0x2B029B89: lea ecx, [ebp - 0xc] */ 2041 RECOMP_ICALL(0x2B02A730u); /* 0x2B029B8C: call 0x2b02a730 */ /* not lifted */ 2042 RECOMP_FLAGS_IN(); 2043 L_2B029B91: 2044 edx = MEM32(ebp + (-0xC)); /* 0x2B029B91: mov edx, dword ptr [ebp - 0xc] */ 2045 eax = MEM32(ebp + 0xC); /* 0x2B029B94: mov eax, dword ptr [ebp + 0xc] */ 2046 ecx = edx + 0xC; /* 0x2B029B97: lea ecx, [edx + 0xc] */ 2047 PUSH32(esp, eax); /* 0x2B029B9A: push eax */ 2048 RECOMP_ICALL(0x2B02AB60u); /* 0x2B029B9B: call 0x2b02ab60 */ /* not lifted */ 2049 RECOMP_FLAGS_IN(); 2050 /* test LO8(eax), LO8(eax) */ /* 0x2B029BA0: test al, al */ 2051 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2052 _cf = 0; 2053 _flag_k = FK_NARROW(FK_TEST, 24); 2054 if (TEST_Z(_flag_a, _flag_b)) goto L_2B029BCF; /* 0x2B029BA2: je 0x2b029bcf */ 2055 L_2B029BA4: 2056 ecx = MEM32(ebp + 0xC); /* 0x2B029BA4: mov ecx, dword ptr [ebp + 0xc] */ 2057 PUSH32(esp, ecx); /* 0x2B029BA7: push ecx */ 2058 PUSH32(esp, ebx); /* 0x2B029BA8: push ebx */ 2059 PUSH32(esp, esi); /* 0x2B029BA9: push esi */ 2060 edx = ebp + 0xC; /* 0x2B029BAA: lea edx, [ebp + 0xc] */ 2061 PUSH32(esp, edx); /* 0x2B029BAD: push edx */ 2062 ecx = edi; /* 0x2B029BAE: mov ecx, edi */ 2063 RECOMP_ICALL(0x2B02A2C0u); /* 0x2B029BB0: call 0x2b02a2c0 */ /* not lifted */ 2064 RECOMP_FLAGS_IN(); 2065 ecx = MEM32(eax); /* 0x2B029BB5: mov ecx, dword ptr [eax] */ 2066 eax = MEM32(ebp + 0x8); /* 0x2B029BB7: mov eax, dword ptr [ebp + 8] */ 2067 edi = POP32_VAL(esp); /* 0x2B029BBA: pop edi */ 2068 MEM32(eax) = ecx; /* 0x2B029BBB: mov dword ptr [eax], ecx */ 2069 MEM8(ebp + (-0xC)) = (uint8_t)(1); /* 0x2B029BBD: mov byte ptr [ebp - 0xc], 1 */ 2070 ecx = MEM32(ebp + (-0xC)); /* 0x2B029BC1: mov ecx, dword ptr [ebp - 0xc] */ 2071 esi = POP32_VAL(esp); /* 0x2B029BC4: pop esi */ 2072 MEM32(eax + 0x4) = ecx; /* 0x2B029BC5: mov dword ptr [eax + 4], ecx */ 2073 ebx = POP32_VAL(esp); /* 0x2B029BC8: pop ebx */ 2074 esp = ebp; /* 0x2B029BC9: mov esp, ebp */ 2075 ebp = POP32_VAL(esp); /* 0x2B029BCB: pop ebp */ 2076 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B029BCC: ret 8 */ 2077 L_2B029BCF: 2078 edx = ebp + 0xF; /* 0x2B029BCF: lea edx, [ebp + 0xf] */ 2079 PUSH32(esp, edx); /* 0x2B029BD2: push edx */ 2080 eax = ebp + (-0xC); /* 0x2B029BD3: lea eax, [ebp - 0xc] */ 2081 PUSH32(esp, eax); /* 0x2B029BD6: push eax */ 2082 ecx = ebp + (-0x8); /* 0x2B029BD7: lea ecx, [ebp - 8] */ 2083 MEM8(ebp + 0xF) = (uint8_t)(0); /* 0x2B029BDA: mov byte ptr [ebp + 0xf], 0 */ 2084 RECOMP_ICALL(0x2B02A020u); /* 0x2B029BDE: call 0x2b02a020 */ /* not lifted */ 2085 RECOMP_FLAGS_IN(); 2086 ecx = eax; /* 0x2B029BE3: mov ecx, eax */ 2087 edx = MEM32(ecx); /* 0x2B029BE5: mov edx, dword ptr [ecx] */ 2088 eax = MEM32(ebp + 0x8); /* 0x2B029BE7: mov eax, dword ptr [ebp + 8] */ 2089 edi = POP32_VAL(esp); /* 0x2B029BEA: pop edi */ 2090 MEM32(eax) = edx; /* 0x2B029BEB: mov dword ptr [eax], edx */ 2091 ecx = MEM32(ecx + 0x4); /* 0x2B029BED: mov ecx, dword ptr [ecx + 4] */ 2092 esi = POP32_VAL(esp); /* 0x2B029BF0: pop esi */ 2093 MEM32(eax + 0x4) = ecx; /* 0x2B029BF1: mov dword ptr [eax + 4], ecx */ 2094 ebx = POP32_VAL(esp); /* 0x2B029BF4: pop ebx */ 2095 esp = ebp; /* 0x2B029BF5: mov esp, ebp */ 2096 ebp = POP32_VAL(esp); /* 0x2B029BF7: pop ebp */ 2097 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B029BF8: ret 8 */ 2098 RECOMP_REGS_OUT(); 2099 } 2100 2101 void sub_2B029C00(void) { 2102 int _fpu_cmp = 0; 2103 uint32_t _cf = 0; 2104 int _df = 1; 2105 uint32_t _flag_k = FK_NONE; 2106 uint32_t _flag_a = 0, _flag_b = 0; 2107 uint32_t _itail_tgt = 0; 2108 RECOMP_REGS_LOCALS 2109 RECOMP_ENTER(0x2B029C00u); 2110 2111 L_2B029C00: 2112 PUSH32(esp, ebp); /* 0x2B029C00: push ebp */ 2113 ebp = esp; /* 0x2B029C01: mov ebp, esp */ 2114 PUSH32(esp, ecx); /* 0x2B029C03: push ecx */ 2115 PUSH32(esp, ebx); /* 0x2B029C04: push ebx */ 2116 PUSH32(esp, esi); /* 0x2B029C05: push esi */ 2117 esi = MEM32(ebp + 0xC); /* 0x2B029C06: mov esi, dword ptr [ebp + 0xc] */ 2118 PUSH32(esp, edi); /* 0x2B029C09: push edi */ 2119 edi = ecx; /* 0x2B029C0A: mov edi, ecx */ 2120 ecx = ebp + 0xC; /* 0x2B029C0C: lea ecx, [ebp + 0xc] */ 2121 RECOMP_ICALL(0x2B02A790u); /* 0x2B029C0F: call 0x2b02a790 */ /* not lifted */ 2122 RECOMP_FLAGS_IN(); 2123 edx = MEM32(esi); /* 0x2B029C14: mov edx, dword ptr [esi] */ 2124 eax = MEM32(edi + 0x8); /* 0x2B029C16: mov eax, dword ptr [edi + 8] */ 2125 /* cmp edx, eax */ /* 0x2B029C19: cmp edx, eax */ 2126 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 2127 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2128 _flag_k = FK_CMP; 2129 MEM32(ebp + (-0x4)) = esi; /* 0x2B029C1B: mov dword ptr [ebp - 4], esi */ 2130 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029C40; /* 0x2B029C1E: jne 0x2b029c40 */ 2131 L_2B029C20: 2132 eax = MEM32(esi + 0x8); /* 0x2B029C20: mov eax, dword ptr [esi + 8] */ 2133 L_2B029C23: 2134 ecx = MEM32(ebp + (-0x4)); /* 0x2B029C23: mov ecx, dword ptr [ebp - 4] */ 2135 edx = MEM32(ecx + 0x4); /* 0x2B029C26: mov edx, dword ptr [ecx + 4] */ 2136 MEM32(eax + 0x4) = edx; /* 0x2B029C29: mov dword ptr [eax + 4], edx */ 2137 ecx = MEM32(edi + 0x4); /* 0x2B029C2C: mov ecx, dword ptr [edi + 4] */ 2138 /* cmp MEM32(ecx + 0x4), esi */ /* 0x2B029C2F: cmp dword ptr [ecx + 4], esi */ 2139 _flag_a = (uint32_t)(MEM32(ecx + 0x4)); _flag_b = (uint32_t)(esi); 2140 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2141 _flag_k = FK_CMP; 2142 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029CC3; /* 0x2B029C32: jne 0x2b029cc3 */ 2143 L_2B029C38: 2144 MEM32(ecx + 0x4) = eax; /* 0x2B029C38: mov dword ptr [ecx + 4], eax */ 2145 goto L_2B029CD1; /* 0x2B029C3B: jmp 0x2b029cd1 */ 2146 L_2B029C40: 2147 ecx = MEM32(esi + 0x8); /* 0x2B029C40: mov ecx, dword ptr [esi + 8] */ 2148 /* cmp ecx, eax */ /* 0x2B029C43: cmp ecx, eax */ 2149 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 2150 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2151 _flag_k = FK_CMP; 2152 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029C4B; /* 0x2B029C45: jne 0x2b029c4b */ 2153 L_2B029C47: 2154 eax = edx; /* 0x2B029C47: mov eax, edx */ 2155 RECOMP_BACKEDGE(); 2156 goto L_2B029C23; /* 0x2B029C49: jmp 0x2b029c23 */ 2157 L_2B029C4B: 2158 eax = MEM32(ecx); /* 0x2B029C4B: mov eax, dword ptr [ecx] */ 2159 SET_LO8(ebx, MEM8(eax + 0x35)); /* 0x2B029C4D: mov bl, byte ptr [eax + 0x35] */ 2160 /* test LO8(ebx), LO8(ebx) */ /* 0x2B029C50: test bl, bl */ 2161 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2162 _cf = 0; 2163 _flag_k = FK_NARROW(FK_TEST, 24); 2164 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B029C5F; /* 0x2B029C52: jne 0x2b029c5f */ 2165 L_2B029C54: 2166 ecx = eax; /* 0x2B029C54: mov ecx, eax */ 2167 eax = MEM32(ecx); /* 0x2B029C56: mov eax, dword ptr [ecx] */ 2168 SET_LO8(ebx, MEM8(eax + 0x35)); /* 0x2B029C58: mov bl, byte ptr [eax + 0x35] */ 2169 /* test LO8(ebx), LO8(ebx) */ /* 0x2B029C5B: test bl, bl */ 2170 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2171 _cf = 0; 2172 _flag_k = FK_NARROW(FK_TEST, 24); 2173 RECOMP_BACKEDGE(); 2174 if (TEST_Z(_flag_a, _flag_b)) goto L_2B029C54; /* 0x2B029C5D: je 0x2b029c54 */ 2175 L_2B029C5F: 2176 /* cmp ecx, esi */ /* 0x2B029C5F: cmp ecx, esi */ 2177 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 2178 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2179 _flag_k = FK_CMP; 2180 eax = MEM32(ecx + 0x8); /* 0x2B029C61: mov eax, dword ptr [ecx + 8] */ 2181 MEM32(ebp + (-0x4)) = ecx; /* 0x2B029C64: mov dword ptr [ebp - 4], ecx */ 2182 RECOMP_BACKEDGE(); 2183 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029C23; /* 0x2B029C67: je 0x2b029c23 */ 2184 L_2B029C69: 2185 MEM32(edx + 0x4) = ecx; /* 0x2B029C69: mov dword ptr [edx + 4], ecx */ 2186 edx = MEM32(esi); /* 0x2B029C6C: mov edx, dword ptr [esi] */ 2187 MEM32(ecx) = edx; /* 0x2B029C6E: mov dword ptr [ecx], edx */ 2188 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029C70: cmp ecx, dword ptr [esi + 8] */ 2189 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2190 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2191 _flag_k = FK_CMP; 2192 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029C7A; /* 0x2B029C73: jne 0x2b029c7a */ 2193 L_2B029C75: 2194 MEM32(eax + 0x4) = ecx; /* 0x2B029C75: mov dword ptr [eax + 4], ecx */ 2195 goto L_2B029C91; /* 0x2B029C78: jmp 0x2b029c91 */ 2196 L_2B029C7A: 2197 edx = MEM32(ecx + 0x4); /* 0x2B029C7A: mov edx, dword ptr [ecx + 4] */ 2198 MEM32(eax + 0x4) = edx; /* 0x2B029C7D: mov dword ptr [eax + 4], edx */ 2199 edx = MEM32(ecx + 0x4); /* 0x2B029C80: mov edx, dword ptr [ecx + 4] */ 2200 MEM32(edx) = eax; /* 0x2B029C83: mov dword ptr [edx], eax */ 2201 edx = MEM32(esi + 0x8); /* 0x2B029C85: mov edx, dword ptr [esi + 8] */ 2202 MEM32(ecx + 0x8) = edx; /* 0x2B029C88: mov dword ptr [ecx + 8], edx */ 2203 edx = MEM32(esi + 0x8); /* 0x2B029C8B: mov edx, dword ptr [esi + 8] */ 2204 MEM32(edx + 0x4) = ecx; /* 0x2B029C8E: mov dword ptr [edx + 4], ecx */ 2205 L_2B029C91: 2206 edx = MEM32(edi + 0x4); /* 0x2B029C91: mov edx, dword ptr [edi + 4] */ 2207 /* cmp MEM32(edx + 0x4), esi */ /* 0x2B029C94: cmp dword ptr [edx + 4], esi */ 2208 _flag_a = (uint32_t)(MEM32(edx + 0x4)); _flag_b = (uint32_t)(esi); 2209 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2210 _flag_k = FK_CMP; 2211 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029C9E; /* 0x2B029C97: jne 0x2b029c9e */ 2212 L_2B029C99: 2213 MEM32(edx + 0x4) = ecx; /* 0x2B029C99: mov dword ptr [edx + 4], ecx */ 2214 goto L_2B029CAC; /* 0x2B029C9C: jmp 0x2b029cac */ 2215 L_2B029C9E: 2216 edx = MEM32(esi + 0x4); /* 0x2B029C9E: mov edx, dword ptr [esi + 4] */ 2217 /* cmp MEM32(edx), esi */ /* 0x2B029CA1: cmp dword ptr [edx], esi */ 2218 _flag_a = (uint32_t)(MEM32(edx)); _flag_b = (uint32_t)(esi); 2219 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2220 _flag_k = FK_CMP; 2221 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029CA9; /* 0x2B029CA3: jne 0x2b029ca9 */ 2222 L_2B029CA5: 2223 MEM32(edx) = ecx; /* 0x2B029CA5: mov dword ptr [edx], ecx */ 2224 goto L_2B029CAC; /* 0x2B029CA7: jmp 0x2b029cac */ 2225 L_2B029CA9: 2226 MEM32(edx + 0x8) = ecx; /* 0x2B029CA9: mov dword ptr [edx + 8], ecx */ 2227 L_2B029CAC: 2228 edx = MEM32(esi + 0x4); /* 0x2B029CAC: mov edx, dword ptr [esi + 4] */ 2229 MEM32(ecx + 0x4) = edx; /* 0x2B029CAF: mov dword ptr [ecx + 4], edx */ 2230 SET_LO8(ebx, MEM8(esi + 0x34)); /* 0x2B029CB2: mov bl, byte ptr [esi + 0x34] */ 2231 SET_LO8(edx, MEM8(ecx + 0x34)); /* 0x2B029CB5: mov dl, byte ptr [ecx + 0x34] */ 2232 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029CB8: mov byte ptr [ecx + 0x34], bl */ 2233 MEM8(esi + 0x34) = (uint8_t)(LO8(edx)); /* 0x2B029CBB: mov byte ptr [esi + 0x34], dl */ 2234 MEM32(ebp + (-0x4)) = esi; /* 0x2B029CBE: mov dword ptr [ebp - 4], esi */ 2235 goto L_2B029D28; /* 0x2B029CC1: jmp 0x2b029d28 */ 2236 L_2B029CC3: 2237 ecx = MEM32(esi + 0x4); /* 0x2B029CC3: mov ecx, dword ptr [esi + 4] */ 2238 /* cmp MEM32(ecx), esi */ /* 0x2B029CC6: cmp dword ptr [ecx], esi */ 2239 _flag_a = (uint32_t)(MEM32(ecx)); _flag_b = (uint32_t)(esi); 2240 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2241 _flag_k = FK_CMP; 2242 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029CCE; /* 0x2B029CC8: jne 0x2b029cce */ 2243 L_2B029CCA: 2244 MEM32(ecx) = eax; /* 0x2B029CCA: mov dword ptr [ecx], eax */ 2245 goto L_2B029CD1; /* 0x2B029CCC: jmp 0x2b029cd1 */ 2246 L_2B029CCE: 2247 MEM32(ecx + 0x8) = eax; /* 0x2B029CCE: mov dword ptr [ecx + 8], eax */ 2248 L_2B029CD1: 2249 ebx = MEM32(edi + 0x4); /* 0x2B029CD1: mov ebx, dword ptr [edi + 4] */ 2250 /* cmp MEM32(ebx), esi */ /* 0x2B029CD4: cmp dword ptr [ebx], esi */ 2251 _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(esi); 2252 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2253 _flag_k = FK_CMP; 2254 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029CFB; /* 0x2B029CD6: jne 0x2b029cfb */ 2255 L_2B029CD8: 2256 ecx = MEM32(esi + 0x8); /* 0x2B029CD8: mov ecx, dword ptr [esi + 8] */ 2257 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B029CDB: cmp ecx, dword ptr [edi + 8] */ 2258 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2259 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2260 _flag_k = FK_CMP; 2261 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029CE5; /* 0x2B029CDE: jne 0x2b029ce5 */ 2262 L_2B029CE0: 2263 edx = MEM32(esi + 0x4); /* 0x2B029CE0: mov edx, dword ptr [esi + 4] */ 2264 goto L_2B029CF9; /* 0x2B029CE3: jmp 0x2b029cf9 */ 2265 L_2B029CE5: 2266 ecx = MEM32(eax); /* 0x2B029CE5: mov ecx, dword ptr [eax] */ 2267 /* cmp MEM8(ecx + 0x35), 0 */ /* 0x2B029CE7: cmp byte ptr [ecx + 0x35], 0 */ 2268 _flag_a = (uint32_t)(MEM8(ecx + 0x35)) << 24; _flag_b = (uint32_t)(0) << 24; 2269 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2270 _flag_k = FK_NARROW(FK_CMP, 24); 2271 edx = eax; /* 0x2B029CEB: mov edx, eax */ 2272 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029CF9; /* 0x2B029CED: jne 0x2b029cf9 */ 2273 L_2B029CEF: 2274 edx = ecx; /* 0x2B029CEF: mov edx, ecx */ 2275 ecx = MEM32(edx); /* 0x2B029CF1: mov ecx, dword ptr [edx] */ 2276 /* cmp MEM8(ecx + 0x35), 0 */ /* 0x2B029CF3: cmp byte ptr [ecx + 0x35], 0 */ 2277 _flag_a = (uint32_t)(MEM8(ecx + 0x35)) << 24; _flag_b = (uint32_t)(0) << 24; 2278 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2279 _flag_k = FK_NARROW(FK_CMP, 24); 2280 RECOMP_BACKEDGE(); 2281 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029CEF; /* 0x2B029CF7: je 0x2b029cef */ 2282 L_2B029CF9: 2283 MEM32(ebx) = edx; /* 0x2B029CF9: mov dword ptr [ebx], edx */ 2284 L_2B029CFB: 2285 ebx = MEM32(edi + 0x4); /* 0x2B029CFB: mov ebx, dword ptr [edi + 4] */ 2286 /* cmp MEM32(ebx + 0x8), esi */ /* 0x2B029CFE: cmp dword ptr [ebx + 8], esi */ 2287 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 2288 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2289 _flag_k = FK_CMP; 2290 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D28; /* 0x2B029D01: jne 0x2b029d28 */ 2291 L_2B029D03: 2292 ecx = MEM32(esi); /* 0x2B029D03: mov ecx, dword ptr [esi] */ 2293 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B029D05: cmp ecx, dword ptr [edi + 8] */ 2294 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2295 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2296 _flag_k = FK_CMP; 2297 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D0F; /* 0x2B029D08: jne 0x2b029d0f */ 2298 L_2B029D0A: 2299 edx = MEM32(esi + 0x4); /* 0x2B029D0A: mov edx, dword ptr [esi + 4] */ 2300 goto L_2B029D25; /* 0x2B029D0D: jmp 0x2b029d25 */ 2301 L_2B029D0F: 2302 ecx = MEM32(eax + 0x8); /* 0x2B029D0F: mov ecx, dword ptr [eax + 8] */ 2303 /* cmp MEM8(ecx + 0x35), 0 */ /* 0x2B029D12: cmp byte ptr [ecx + 0x35], 0 */ 2304 _flag_a = (uint32_t)(MEM8(ecx + 0x35)) << 24; _flag_b = (uint32_t)(0) << 24; 2305 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2306 _flag_k = FK_NARROW(FK_CMP, 24); 2307 edx = eax; /* 0x2B029D16: mov edx, eax */ 2308 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D25; /* 0x2B029D18: jne 0x2b029d25 */ 2309 L_2B029D1A: 2310 edx = ecx; /* 0x2B029D1A: mov edx, ecx */ 2311 ecx = MEM32(edx + 0x8); /* 0x2B029D1C: mov ecx, dword ptr [edx + 8] */ 2312 /* cmp MEM8(ecx + 0x35), 0 */ /* 0x2B029D1F: cmp byte ptr [ecx + 0x35], 0 */ 2313 _flag_a = (uint32_t)(MEM8(ecx + 0x35)) << 24; _flag_b = (uint32_t)(0) << 24; 2314 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2315 _flag_k = FK_NARROW(FK_CMP, 24); 2316 RECOMP_BACKEDGE(); 2317 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029D1A; /* 0x2B029D23: je 0x2b029d1a */ 2318 L_2B029D25: 2319 MEM32(ebx + 0x8) = edx; /* 0x2B029D25: mov dword ptr [ebx + 8], edx */ 2320 L_2B029D28: 2321 esi = MEM32(ebp + (-0x4)); /* 0x2B029D28: mov esi, dword ptr [ebp - 4] */ 2322 SET_LO8(ecx, MEM8(esi + 0x34)); /* 0x2B029D2B: mov cl, byte ptr [esi + 0x34] */ 2323 SET_LO8(ebx, 1); /* 0x2B029D2E: mov bl, 1 */ 2324 /* cmp LO8(ecx), LO8(ebx) */ /* 0x2B029D30: cmp cl, bl */ 2325 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2326 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2327 _flag_k = FK_NARROW(FK_CMP, 24); 2328 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F98; /* 0x2B029D32: jne 0x2b029f98 */ 2329 L_2B029D38: 2330 ecx = MEM32(edi + 0x4); /* 0x2B029D38: mov ecx, dword ptr [edi + 4] */ 2331 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B029D3B: cmp eax, dword ptr [ecx + 4] */ 2332 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 2333 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2334 _flag_k = FK_CMP; 2335 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029F92; /* 0x2B029D3E: je 0x2b029f92 */ 2336 L_2B029D44: 2337 /* cmp MEM8(eax + 0x34), LO8(ebx) */ /* 0x2B029D44: cmp byte ptr [eax + 0x34], bl */ 2338 _flag_a = (uint32_t)(MEM8(eax + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2339 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2340 _flag_k = FK_NARROW(FK_CMP, 24); 2341 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F92; /* 0x2B029D47: jne 0x2b029f92 */ 2342 L_2B029D4D: 2343 edx = MEM32(eax + 0x4); /* 0x2B029D4D: mov edx, dword ptr [eax + 4] */ 2344 ecx = MEM32(edx); /* 0x2B029D50: mov ecx, dword ptr [edx] */ 2345 /* cmp eax, ecx */ /* 0x2B029D52: cmp eax, ecx */ 2346 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2347 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2348 _flag_k = FK_CMP; 2349 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029DC4; /* 0x2B029D54: jne 0x2b029dc4 */ 2350 L_2B029D56: 2351 ecx = MEM32(edx + 0x8); /* 0x2B029D56: mov ecx, dword ptr [edx + 8] */ 2352 SET_LO8(edx, MEM8(ecx + 0x34)); /* 0x2B029D59: mov dl, byte ptr [ecx + 0x34] */ 2353 /* test LO8(edx), LO8(edx) */ /* 0x2B029D5C: test dl, dl */ 2354 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 2355 _cf = 0; 2356 _flag_k = FK_NARROW(FK_TEST, 24); 2357 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B029DAB; /* 0x2B029D5E: jne 0x2b029dab */ 2358 L_2B029D60: 2359 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029D60: mov byte ptr [ecx + 0x34], bl */ 2360 edx = MEM32(eax + 0x4); /* 0x2B029D63: mov edx, dword ptr [eax + 4] */ 2361 MEM8(edx + 0x34) = (uint8_t)(0); /* 0x2B029D66: mov byte ptr [edx + 0x34], 0 */ 2362 ecx = MEM32(eax + 0x4); /* 0x2B029D6A: mov ecx, dword ptr [eax + 4] */ 2363 edx = MEM32(ecx + 0x8); /* 0x2B029D6D: mov edx, dword ptr [ecx + 8] */ 2364 esi = MEM32(edx); /* 0x2B029D70: mov esi, dword ptr [edx] */ 2365 MEM32(ecx + 0x8) = esi; /* 0x2B029D72: mov dword ptr [ecx + 8], esi */ 2366 esi = MEM32(edx); /* 0x2B029D75: mov esi, dword ptr [edx] */ 2367 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029D77: cmp esi, dword ptr [edi + 8] */ 2368 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2369 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2370 _flag_k = FK_CMP; 2371 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029D7F; /* 0x2B029D7A: je 0x2b029d7f */ 2372 L_2B029D7C: 2373 MEM32(esi + 0x4) = ecx; /* 0x2B029D7C: mov dword ptr [esi + 4], ecx */ 2374 L_2B029D7F: 2375 esi = MEM32(ecx + 0x4); /* 0x2B029D7F: mov esi, dword ptr [ecx + 4] */ 2376 MEM32(edx + 0x4) = esi; /* 0x2B029D82: mov dword ptr [edx + 4], esi */ 2377 esi = MEM32(edi + 0x4); /* 0x2B029D85: mov esi, dword ptr [edi + 4] */ 2378 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029D88: cmp ecx, dword ptr [esi + 4] */ 2379 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2380 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2381 _flag_k = FK_CMP; 2382 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D92; /* 0x2B029D8B: jne 0x2b029d92 */ 2383 L_2B029D8D: 2384 MEM32(esi + 0x4) = edx; /* 0x2B029D8D: mov dword ptr [esi + 4], edx */ 2385 goto L_2B029DA0; /* 0x2B029D90: jmp 0x2b029da0 */ 2386 L_2B029D92: 2387 esi = MEM32(ecx + 0x4); /* 0x2B029D92: mov esi, dword ptr [ecx + 4] */ 2388 /* cmp ecx, MEM32(esi) */ /* 0x2B029D95: cmp ecx, dword ptr [esi] */ 2389 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 2390 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2391 _flag_k = FK_CMP; 2392 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D9D; /* 0x2B029D97: jne 0x2b029d9d */ 2393 L_2B029D99: 2394 MEM32(esi) = edx; /* 0x2B029D99: mov dword ptr [esi], edx */ 2395 goto L_2B029DA0; /* 0x2B029D9B: jmp 0x2b029da0 */ 2396 L_2B029D9D: 2397 MEM32(esi + 0x8) = edx; /* 0x2B029D9D: mov dword ptr [esi + 8], edx */ 2398 L_2B029DA0: 2399 MEM32(edx) = ecx; /* 0x2B029DA0: mov dword ptr [edx], ecx */ 2400 MEM32(ecx + 0x4) = edx; /* 0x2B029DA2: mov dword ptr [ecx + 4], edx */ 2401 ecx = MEM32(eax + 0x4); /* 0x2B029DA5: mov ecx, dword ptr [eax + 4] */ 2402 ecx = MEM32(ecx + 0x8); /* 0x2B029DA8: mov ecx, dword ptr [ecx + 8] */ 2403 L_2B029DAB: 2404 edx = MEM32(ecx); /* 0x2B029DAB: mov edx, dword ptr [ecx] */ 2405 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029DAD: cmp byte ptr [edx + 0x34], bl */ 2406 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2407 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2408 _flag_k = FK_NARROW(FK_CMP, 24); 2409 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E46; /* 0x2B029DB0: jne 0x2b029e46 */ 2410 L_2B029DB6: 2411 edx = MEM32(ecx + 0x8); /* 0x2B029DB6: mov edx, dword ptr [ecx + 8] */ 2412 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029DB9: cmp byte ptr [edx + 0x34], bl */ 2413 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2414 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2415 _flag_k = FK_NARROW(FK_CMP, 24); 2416 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E46; /* 0x2B029DBC: jne 0x2b029e46 */ 2417 L_2B029DC2: 2418 goto L_2B029E2E; /* 0x2B029DC2: jmp 0x2b029e2e */ 2419 L_2B029DC4: 2420 SET_LO8(edx, MEM8(ecx + 0x34)); /* 0x2B029DC4: mov dl, byte ptr [ecx + 0x34] */ 2421 /* test LO8(edx), LO8(edx) */ /* 0x2B029DC7: test dl, dl */ 2422 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 2423 _cf = 0; 2424 _flag_k = FK_NARROW(FK_TEST, 24); 2425 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B029E17; /* 0x2B029DC9: jne 0x2b029e17 */ 2426 L_2B029DCB: 2427 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029DCB: mov byte ptr [ecx + 0x34], bl */ 2428 ecx = MEM32(eax + 0x4); /* 0x2B029DCE: mov ecx, dword ptr [eax + 4] */ 2429 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029DD1: mov byte ptr [ecx + 0x34], 0 */ 2430 ecx = MEM32(eax + 0x4); /* 0x2B029DD5: mov ecx, dword ptr [eax + 4] */ 2431 edx = MEM32(ecx); /* 0x2B029DD8: mov edx, dword ptr [ecx] */ 2432 esi = MEM32(edx + 0x8); /* 0x2B029DDA: mov esi, dword ptr [edx + 8] */ 2433 MEM32(ecx) = esi; /* 0x2B029DDD: mov dword ptr [ecx], esi */ 2434 esi = MEM32(edx + 0x8); /* 0x2B029DDF: mov esi, dword ptr [edx + 8] */ 2435 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029DE2: cmp esi, dword ptr [edi + 8] */ 2436 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2437 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2438 _flag_k = FK_CMP; 2439 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029DEA; /* 0x2B029DE5: je 0x2b029dea */ 2440 L_2B029DE7: 2441 MEM32(esi + 0x4) = ecx; /* 0x2B029DE7: mov dword ptr [esi + 4], ecx */ 2442 L_2B029DEA: 2443 esi = MEM32(ecx + 0x4); /* 0x2B029DEA: mov esi, dword ptr [ecx + 4] */ 2444 MEM32(edx + 0x4) = esi; /* 0x2B029DED: mov dword ptr [edx + 4], esi */ 2445 esi = MEM32(edi + 0x4); /* 0x2B029DF0: mov esi, dword ptr [edi + 4] */ 2446 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029DF3: cmp ecx, dword ptr [esi + 4] */ 2447 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2448 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2449 _flag_k = FK_CMP; 2450 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029DFD; /* 0x2B029DF6: jne 0x2b029dfd */ 2451 L_2B029DF8: 2452 MEM32(esi + 0x4) = edx; /* 0x2B029DF8: mov dword ptr [esi + 4], edx */ 2453 goto L_2B029E0C; /* 0x2B029DFB: jmp 0x2b029e0c */ 2454 L_2B029DFD: 2455 esi = MEM32(ecx + 0x4); /* 0x2B029DFD: mov esi, dword ptr [ecx + 4] */ 2456 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029E00: cmp ecx, dword ptr [esi + 8] */ 2457 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2458 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2459 _flag_k = FK_CMP; 2460 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E0A; /* 0x2B029E03: jne 0x2b029e0a */ 2461 L_2B029E05: 2462 MEM32(esi + 0x8) = edx; /* 0x2B029E05: mov dword ptr [esi + 8], edx */ 2463 goto L_2B029E0C; /* 0x2B029E08: jmp 0x2b029e0c */ 2464 L_2B029E0A: 2465 MEM32(esi) = edx; /* 0x2B029E0A: mov dword ptr [esi], edx */ 2466 L_2B029E0C: 2467 MEM32(edx + 0x8) = ecx; /* 0x2B029E0C: mov dword ptr [edx + 8], ecx */ 2468 MEM32(ecx + 0x4) = edx; /* 0x2B029E0F: mov dword ptr [ecx + 4], edx */ 2469 edx = MEM32(eax + 0x4); /* 0x2B029E12: mov edx, dword ptr [eax + 4] */ 2470 ecx = MEM32(edx); /* 0x2B029E15: mov ecx, dword ptr [edx] */ 2471 L_2B029E17: 2472 edx = MEM32(ecx + 0x8); /* 0x2B029E17: mov edx, dword ptr [ecx + 8] */ 2473 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029E1A: cmp byte ptr [edx + 0x34], bl */ 2474 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2475 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2476 _flag_k = FK_NARROW(FK_CMP, 24); 2477 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029EF3; /* 0x2B029E1D: jne 0x2b029ef3 */ 2478 L_2B029E23: 2479 edx = MEM32(ecx); /* 0x2B029E23: mov edx, dword ptr [ecx] */ 2480 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029E25: cmp byte ptr [edx + 0x34], bl */ 2481 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2482 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2483 _flag_k = FK_NARROW(FK_CMP, 24); 2484 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029EF3; /* 0x2B029E28: jne 0x2b029ef3 */ 2485 L_2B029E2E: 2486 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029E2E: mov byte ptr [ecx + 0x34], 0 */ 2487 ecx = MEM32(edi + 0x4); /* 0x2B029E32: mov ecx, dword ptr [edi + 4] */ 2488 eax = MEM32(eax + 0x4); /* 0x2B029E35: mov eax, dword ptr [eax + 4] */ 2489 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B029E38: cmp eax, dword ptr [ecx + 4] */ 2490 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 2491 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2492 _flag_k = FK_CMP; 2493 RECOMP_BACKEDGE(); 2494 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D44; /* 0x2B029E3B: jne 0x2b029d44 */ 2495 L_2B029E41: 2496 goto L_2B029F92; /* 0x2B029E41: jmp 0x2b029f92 */ 2497 L_2B029E46: 2498 edx = MEM32(ecx + 0x8); /* 0x2B029E46: mov edx, dword ptr [ecx + 8] */ 2499 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029E49: cmp byte ptr [edx + 0x34], bl */ 2500 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2501 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2502 _flag_k = FK_NARROW(FK_CMP, 24); 2503 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E97; /* 0x2B029E4C: jne 0x2b029e97 */ 2504 L_2B029E4E: 2505 edx = MEM32(ecx); /* 0x2B029E4E: mov edx, dword ptr [ecx] */ 2506 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029E50: mov byte ptr [edx + 0x34], bl */ 2507 edx = MEM32(ecx); /* 0x2B029E53: mov edx, dword ptr [ecx] */ 2508 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029E55: mov byte ptr [ecx + 0x34], 0 */ 2509 esi = MEM32(edx + 0x8); /* 0x2B029E59: mov esi, dword ptr [edx + 8] */ 2510 MEM32(ecx) = esi; /* 0x2B029E5C: mov dword ptr [ecx], esi */ 2511 esi = MEM32(edx + 0x8); /* 0x2B029E5E: mov esi, dword ptr [edx + 8] */ 2512 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029E61: cmp esi, dword ptr [edi + 8] */ 2513 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2514 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2515 _flag_k = FK_CMP; 2516 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029E69; /* 0x2B029E64: je 0x2b029e69 */ 2517 L_2B029E66: 2518 MEM32(esi + 0x4) = ecx; /* 0x2B029E66: mov dword ptr [esi + 4], ecx */ 2519 L_2B029E69: 2520 esi = MEM32(ecx + 0x4); /* 0x2B029E69: mov esi, dword ptr [ecx + 4] */ 2521 MEM32(edx + 0x4) = esi; /* 0x2B029E6C: mov dword ptr [edx + 4], esi */ 2522 esi = MEM32(edi + 0x4); /* 0x2B029E6F: mov esi, dword ptr [edi + 4] */ 2523 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029E72: cmp ecx, dword ptr [esi + 4] */ 2524 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2525 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2526 _flag_k = FK_CMP; 2527 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E7C; /* 0x2B029E75: jne 0x2b029e7c */ 2528 L_2B029E77: 2529 MEM32(esi + 0x4) = edx; /* 0x2B029E77: mov dword ptr [esi + 4], edx */ 2530 goto L_2B029E8B; /* 0x2B029E7A: jmp 0x2b029e8b */ 2531 L_2B029E7C: 2532 esi = MEM32(ecx + 0x4); /* 0x2B029E7C: mov esi, dword ptr [ecx + 4] */ 2533 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029E7F: cmp ecx, dword ptr [esi + 8] */ 2534 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2535 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2536 _flag_k = FK_CMP; 2537 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E89; /* 0x2B029E82: jne 0x2b029e89 */ 2538 L_2B029E84: 2539 MEM32(esi + 0x8) = edx; /* 0x2B029E84: mov dword ptr [esi + 8], edx */ 2540 goto L_2B029E8B; /* 0x2B029E87: jmp 0x2b029e8b */ 2541 L_2B029E89: 2542 MEM32(esi) = edx; /* 0x2B029E89: mov dword ptr [esi], edx */ 2543 L_2B029E8B: 2544 MEM32(edx + 0x8) = ecx; /* 0x2B029E8B: mov dword ptr [edx + 8], ecx */ 2545 MEM32(ecx + 0x4) = edx; /* 0x2B029E8E: mov dword ptr [ecx + 4], edx */ 2546 ecx = MEM32(eax + 0x4); /* 0x2B029E91: mov ecx, dword ptr [eax + 4] */ 2547 ecx = MEM32(ecx + 0x8); /* 0x2B029E94: mov ecx, dword ptr [ecx + 8] */ 2548 L_2B029E97: 2549 edx = MEM32(eax + 0x4); /* 0x2B029E97: mov edx, dword ptr [eax + 4] */ 2550 SET_LO8(edx, MEM8(edx + 0x34)); /* 0x2B029E9A: mov dl, byte ptr [edx + 0x34] */ 2551 MEM8(ecx + 0x34) = (uint8_t)(LO8(edx)); /* 0x2B029E9D: mov byte ptr [ecx + 0x34], dl */ 2552 edx = MEM32(eax + 0x4); /* 0x2B029EA0: mov edx, dword ptr [eax + 4] */ 2553 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029EA3: mov byte ptr [edx + 0x34], bl */ 2554 ecx = MEM32(ecx + 0x8); /* 0x2B029EA6: mov ecx, dword ptr [ecx + 8] */ 2555 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029EA9: mov byte ptr [ecx + 0x34], bl */ 2556 ecx = MEM32(eax + 0x4); /* 0x2B029EAC: mov ecx, dword ptr [eax + 4] */ 2557 edx = MEM32(ecx + 0x8); /* 0x2B029EAF: mov edx, dword ptr [ecx + 8] */ 2558 esi = MEM32(edx); /* 0x2B029EB2: mov esi, dword ptr [edx] */ 2559 MEM32(ecx + 0x8) = esi; /* 0x2B029EB4: mov dword ptr [ecx + 8], esi */ 2560 esi = MEM32(edx); /* 0x2B029EB7: mov esi, dword ptr [edx] */ 2561 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029EB9: cmp esi, dword ptr [edi + 8] */ 2562 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2563 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2564 _flag_k = FK_CMP; 2565 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029EC1; /* 0x2B029EBC: je 0x2b029ec1 */ 2566 L_2B029EBE: 2567 MEM32(esi + 0x4) = ecx; /* 0x2B029EBE: mov dword ptr [esi + 4], ecx */ 2568 L_2B029EC1: 2569 esi = MEM32(ecx + 0x4); /* 0x2B029EC1: mov esi, dword ptr [ecx + 4] */ 2570 MEM32(edx + 0x4) = esi; /* 0x2B029EC4: mov dword ptr [edx + 4], esi */ 2571 esi = MEM32(edi + 0x4); /* 0x2B029EC7: mov esi, dword ptr [edi + 4] */ 2572 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029ECA: cmp ecx, dword ptr [esi + 4] */ 2573 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2574 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2575 _flag_k = FK_CMP; 2576 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029ED9; /* 0x2B029ECD: jne 0x2b029ed9 */ 2577 L_2B029ECF: 2578 MEM32(esi + 0x4) = edx; /* 0x2B029ECF: mov dword ptr [esi + 4], edx */ 2579 MEM32(edx) = ecx; /* 0x2B029ED2: mov dword ptr [edx], ecx */ 2580 goto L_2B029F8F; /* 0x2B029ED4: jmp 0x2b029f8f */ 2581 L_2B029ED9: 2582 esi = MEM32(ecx + 0x4); /* 0x2B029ED9: mov esi, dword ptr [ecx + 4] */ 2583 /* cmp ecx, MEM32(esi) */ /* 0x2B029EDC: cmp ecx, dword ptr [esi] */ 2584 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 2585 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2586 _flag_k = FK_CMP; 2587 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029EE9; /* 0x2B029EDE: jne 0x2b029ee9 */ 2588 L_2B029EE0: 2589 MEM32(esi) = edx; /* 0x2B029EE0: mov dword ptr [esi], edx */ 2590 MEM32(edx) = ecx; /* 0x2B029EE2: mov dword ptr [edx], ecx */ 2591 goto L_2B029F8F; /* 0x2B029EE4: jmp 0x2b029f8f */ 2592 L_2B029EE9: 2593 MEM32(esi + 0x8) = edx; /* 0x2B029EE9: mov dword ptr [esi + 8], edx */ 2594 MEM32(edx) = ecx; /* 0x2B029EEC: mov dword ptr [edx], ecx */ 2595 goto L_2B029F8F; /* 0x2B029EEE: jmp 0x2b029f8f */ 2596 L_2B029EF3: 2597 edx = MEM32(ecx); /* 0x2B029EF3: mov edx, dword ptr [ecx] */ 2598 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029EF5: cmp byte ptr [edx + 0x34], bl */ 2599 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2600 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2601 _flag_k = FK_NARROW(FK_CMP, 24); 2602 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F41; /* 0x2B029EF8: jne 0x2b029f41 */ 2603 L_2B029EFA: 2604 edx = MEM32(ecx + 0x8); /* 0x2B029EFA: mov edx, dword ptr [ecx + 8] */ 2605 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029EFD: mov byte ptr [edx + 0x34], bl */ 2606 edx = MEM32(ecx + 0x8); /* 0x2B029F00: mov edx, dword ptr [ecx + 8] */ 2607 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029F03: mov byte ptr [ecx + 0x34], 0 */ 2608 esi = MEM32(edx); /* 0x2B029F07: mov esi, dword ptr [edx] */ 2609 MEM32(ecx + 0x8) = esi; /* 0x2B029F09: mov dword ptr [ecx + 8], esi */ 2610 esi = MEM32(edx); /* 0x2B029F0C: mov esi, dword ptr [edx] */ 2611 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029F0E: cmp esi, dword ptr [edi + 8] */ 2612 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2613 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2614 _flag_k = FK_CMP; 2615 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029F16; /* 0x2B029F11: je 0x2b029f16 */ 2616 L_2B029F13: 2617 MEM32(esi + 0x4) = ecx; /* 0x2B029F13: mov dword ptr [esi + 4], ecx */ 2618 L_2B029F16: 2619 esi = MEM32(ecx + 0x4); /* 0x2B029F16: mov esi, dword ptr [ecx + 4] */ 2620 MEM32(edx + 0x4) = esi; /* 0x2B029F19: mov dword ptr [edx + 4], esi */ 2621 esi = MEM32(edi + 0x4); /* 0x2B029F1C: mov esi, dword ptr [edi + 4] */ 2622 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029F1F: cmp ecx, dword ptr [esi + 4] */ 2623 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2624 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2625 _flag_k = FK_CMP; 2626 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F29; /* 0x2B029F22: jne 0x2b029f29 */ 2627 L_2B029F24: 2628 MEM32(esi + 0x4) = edx; /* 0x2B029F24: mov dword ptr [esi + 4], edx */ 2629 goto L_2B029F37; /* 0x2B029F27: jmp 0x2b029f37 */ 2630 L_2B029F29: 2631 esi = MEM32(ecx + 0x4); /* 0x2B029F29: mov esi, dword ptr [ecx + 4] */ 2632 /* cmp ecx, MEM32(esi) */ /* 0x2B029F2C: cmp ecx, dword ptr [esi] */ 2633 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 2634 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2635 _flag_k = FK_CMP; 2636 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F34; /* 0x2B029F2E: jne 0x2b029f34 */ 2637 L_2B029F30: 2638 MEM32(esi) = edx; /* 0x2B029F30: mov dword ptr [esi], edx */ 2639 goto L_2B029F37; /* 0x2B029F32: jmp 0x2b029f37 */ 2640 L_2B029F34: 2641 MEM32(esi + 0x8) = edx; /* 0x2B029F34: mov dword ptr [esi + 8], edx */ 2642 L_2B029F37: 2643 MEM32(edx) = ecx; /* 0x2B029F37: mov dword ptr [edx], ecx */ 2644 MEM32(ecx + 0x4) = edx; /* 0x2B029F39: mov dword ptr [ecx + 4], edx */ 2645 ecx = MEM32(eax + 0x4); /* 0x2B029F3C: mov ecx, dword ptr [eax + 4] */ 2646 ecx = MEM32(ecx); /* 0x2B029F3F: mov ecx, dword ptr [ecx] */ 2647 L_2B029F41: 2648 edx = MEM32(eax + 0x4); /* 0x2B029F41: mov edx, dword ptr [eax + 4] */ 2649 SET_LO8(edx, MEM8(edx + 0x34)); /* 0x2B029F44: mov dl, byte ptr [edx + 0x34] */ 2650 MEM8(ecx + 0x34) = (uint8_t)(LO8(edx)); /* 0x2B029F47: mov byte ptr [ecx + 0x34], dl */ 2651 edx = MEM32(eax + 0x4); /* 0x2B029F4A: mov edx, dword ptr [eax + 4] */ 2652 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F4D: mov byte ptr [edx + 0x34], bl */ 2653 ecx = MEM32(ecx); /* 0x2B029F50: mov ecx, dword ptr [ecx] */ 2654 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F52: mov byte ptr [ecx + 0x34], bl */ 2655 ecx = MEM32(eax + 0x4); /* 0x2B029F55: mov ecx, dword ptr [eax + 4] */ 2656 edx = MEM32(ecx); /* 0x2B029F58: mov edx, dword ptr [ecx] */ 2657 esi = MEM32(edx + 0x8); /* 0x2B029F5A: mov esi, dword ptr [edx + 8] */ 2658 MEM32(ecx) = esi; /* 0x2B029F5D: mov dword ptr [ecx], esi */ 2659 esi = MEM32(edx + 0x8); /* 0x2B029F5F: mov esi, dword ptr [edx + 8] */ 2660 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029F62: cmp esi, dword ptr [edi + 8] */ 2661 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2662 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2663 _flag_k = FK_CMP; 2664 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029F6A; /* 0x2B029F65: je 0x2b029f6a */ 2665 L_2B029F67: 2666 MEM32(esi + 0x4) = ecx; /* 0x2B029F67: mov dword ptr [esi + 4], ecx */ 2667 L_2B029F6A: 2668 esi = MEM32(ecx + 0x4); /* 0x2B029F6A: mov esi, dword ptr [ecx + 4] */ 2669 MEM32(edx + 0x4) = esi; /* 0x2B029F6D: mov dword ptr [edx + 4], esi */ 2670 esi = MEM32(edi + 0x4); /* 0x2B029F70: mov esi, dword ptr [edi + 4] */ 2671 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029F73: cmp ecx, dword ptr [esi + 4] */ 2672 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2673 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2674 _flag_k = FK_CMP; 2675 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F7D; /* 0x2B029F76: jne 0x2b029f7d */ 2676 L_2B029F78: 2677 MEM32(esi + 0x4) = edx; /* 0x2B029F78: mov dword ptr [esi + 4], edx */ 2678 goto L_2B029F8C; /* 0x2B029F7B: jmp 0x2b029f8c */ 2679 L_2B029F7D: 2680 esi = MEM32(ecx + 0x4); /* 0x2B029F7D: mov esi, dword ptr [ecx + 4] */ 2681 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029F80: cmp ecx, dword ptr [esi + 8] */ 2682 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2683 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2684 _flag_k = FK_CMP; 2685 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F8A; /* 0x2B029F83: jne 0x2b029f8a */ 2686 L_2B029F85: 2687 MEM32(esi + 0x8) = edx; /* 0x2B029F85: mov dword ptr [esi + 8], edx */ 2688 goto L_2B029F8C; /* 0x2B029F88: jmp 0x2b029f8c */ 2689 L_2B029F8A: 2690 MEM32(esi) = edx; /* 0x2B029F8A: mov dword ptr [esi], edx */ 2691 L_2B029F8C: 2692 MEM32(edx + 0x8) = ecx; /* 0x2B029F8C: mov dword ptr [edx + 8], ecx */ 2693 L_2B029F8F: 2694 MEM32(ecx + 0x4) = edx; /* 0x2B029F8F: mov dword ptr [ecx + 4], edx */ 2695 L_2B029F92: 2696 esi = MEM32(ebp + (-0x4)); /* 0x2B029F92: mov esi, dword ptr [ebp - 4] */ 2697 MEM8(eax + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F95: mov byte ptr [eax + 0x34], bl */ 2698 L_2B029F98: 2699 ecx = esi + 0xC; /* 0x2B029F98: lea ecx, [esi + 0xc] */ 2700 RECOMP_ICALL(0x2B028990u); /* 0x2B029F9B: call 0x2b028990 */ /* not lifted */ 2701 RECOMP_FLAGS_IN(); 2702 PUSH32(esp, esi); /* 0x2B029FA0: push esi */ 2703 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B029FA1: call 0x2b0ab1ba */ /* not lifted */ 2704 RECOMP_FLAGS_IN(); 2705 eax = MEM32(edi + 0x10); /* 0x2B029FA6: mov eax, dword ptr [edi + 0x10] */ 2706 edx = MEM32(ebp + 0xC); /* 0x2B029FA9: mov edx, dword ptr [ebp + 0xc] */ 2707 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2708 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2709 esp = esp + 4; /* 0x2B029FAC: add esp, 4 */ 2710 _flag_k = FK_ADD; 2711 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 2712 eax = eax - 1; /* 0x2B029FAF: dec eax */ 2713 _flag_k = FK_DEC; 2714 MEM32(edi + 0x10) = eax; /* 0x2B029FB0: mov dword ptr [edi + 0x10], eax */ 2715 eax = MEM32(ebp + 0x8); /* 0x2B029FB3: mov eax, dword ptr [ebp + 8] */ 2716 edi = POP32_VAL(esp); /* 0x2B029FB6: pop edi */ 2717 esi = POP32_VAL(esp); /* 0x2B029FB7: pop esi */ 2718 MEM32(eax) = edx; /* 0x2B029FB8: mov dword ptr [eax], edx */ 2719 ebx = POP32_VAL(esp); /* 0x2B029FBA: pop ebx */ 2720 esp = ebp; /* 0x2B029FBB: mov esp, ebp */ 2721 ebp = POP32_VAL(esp); /* 0x2B029FBD: pop ebp */ 2722 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B029FBE: ret 8 */ 2723 RECOMP_REGS_OUT(); 2724 } 2725 2726 void sub_2B029CD1(void) { 2727 int _fpu_cmp = 0; 2728 uint32_t _cf = 0; 2729 int _df = 1; 2730 uint32_t _flag_k = FK_NONE; 2731 uint32_t _flag_a = 0, _flag_b = 0; 2732 uint32_t _itail_tgt = 0; 2733 RECOMP_REGS_LOCALS 2734 RECOMP_ENTER(0x2B029CD1u); 2735 2736 L_2B029CD1: 2737 ebx = MEM32(edi + 0x4); /* 0x2B029CD1: mov ebx, dword ptr [edi + 4] */ 2738 /* cmp MEM32(ebx), esi */ /* 0x2B029CD4: cmp dword ptr [ebx], esi */ 2739 _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(esi); 2740 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2741 _flag_k = FK_CMP; 2742 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029CFB; /* 0x2B029CD6: jne 0x2b029cfb */ 2743 L_2B029CD8: 2744 ecx = MEM32(esi + 0x8); /* 0x2B029CD8: mov ecx, dword ptr [esi + 8] */ 2745 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B029CDB: cmp ecx, dword ptr [edi + 8] */ 2746 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2747 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2748 _flag_k = FK_CMP; 2749 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029CE5; /* 0x2B029CDE: jne 0x2b029ce5 */ 2750 L_2B029CE0: 2751 edx = MEM32(esi + 0x4); /* 0x2B029CE0: mov edx, dword ptr [esi + 4] */ 2752 goto L_2B029CF9; /* 0x2B029CE3: jmp 0x2b029cf9 */ 2753 L_2B029CE5: 2754 ecx = MEM32(eax); /* 0x2B029CE5: mov ecx, dword ptr [eax] */ 2755 /* cmp MEM8(ecx + 0x35), 0 */ /* 0x2B029CE7: cmp byte ptr [ecx + 0x35], 0 */ 2756 _flag_a = (uint32_t)(MEM8(ecx + 0x35)) << 24; _flag_b = (uint32_t)(0) << 24; 2757 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2758 _flag_k = FK_NARROW(FK_CMP, 24); 2759 edx = eax; /* 0x2B029CEB: mov edx, eax */ 2760 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029CF9; /* 0x2B029CED: jne 0x2b029cf9 */ 2761 L_2B029CEF: 2762 edx = ecx; /* 0x2B029CEF: mov edx, ecx */ 2763 ecx = MEM32(edx); /* 0x2B029CF1: mov ecx, dword ptr [edx] */ 2764 /* cmp MEM8(ecx + 0x35), 0 */ /* 0x2B029CF3: cmp byte ptr [ecx + 0x35], 0 */ 2765 _flag_a = (uint32_t)(MEM8(ecx + 0x35)) << 24; _flag_b = (uint32_t)(0) << 24; 2766 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2767 _flag_k = FK_NARROW(FK_CMP, 24); 2768 RECOMP_BACKEDGE(); 2769 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029CEF; /* 0x2B029CF7: je 0x2b029cef */ 2770 L_2B029CF9: 2771 MEM32(ebx) = edx; /* 0x2B029CF9: mov dword ptr [ebx], edx */ 2772 L_2B029CFB: 2773 ebx = MEM32(edi + 0x4); /* 0x2B029CFB: mov ebx, dword ptr [edi + 4] */ 2774 /* cmp MEM32(ebx + 0x8), esi */ /* 0x2B029CFE: cmp dword ptr [ebx + 8], esi */ 2775 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 2776 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2777 _flag_k = FK_CMP; 2778 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D28; /* 0x2B029D01: jne 0x2b029d28 */ 2779 L_2B029D03: 2780 ecx = MEM32(esi); /* 0x2B029D03: mov ecx, dword ptr [esi] */ 2781 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B029D05: cmp ecx, dword ptr [edi + 8] */ 2782 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2783 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2784 _flag_k = FK_CMP; 2785 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D0F; /* 0x2B029D08: jne 0x2b029d0f */ 2786 L_2B029D0A: 2787 edx = MEM32(esi + 0x4); /* 0x2B029D0A: mov edx, dword ptr [esi + 4] */ 2788 goto L_2B029D25; /* 0x2B029D0D: jmp 0x2b029d25 */ 2789 L_2B029D0F: 2790 ecx = MEM32(eax + 0x8); /* 0x2B029D0F: mov ecx, dword ptr [eax + 8] */ 2791 /* cmp MEM8(ecx + 0x35), 0 */ /* 0x2B029D12: cmp byte ptr [ecx + 0x35], 0 */ 2792 _flag_a = (uint32_t)(MEM8(ecx + 0x35)) << 24; _flag_b = (uint32_t)(0) << 24; 2793 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2794 _flag_k = FK_NARROW(FK_CMP, 24); 2795 edx = eax; /* 0x2B029D16: mov edx, eax */ 2796 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D25; /* 0x2B029D18: jne 0x2b029d25 */ 2797 L_2B029D1A: 2798 edx = ecx; /* 0x2B029D1A: mov edx, ecx */ 2799 ecx = MEM32(edx + 0x8); /* 0x2B029D1C: mov ecx, dword ptr [edx + 8] */ 2800 /* cmp MEM8(ecx + 0x35), 0 */ /* 0x2B029D1F: cmp byte ptr [ecx + 0x35], 0 */ 2801 _flag_a = (uint32_t)(MEM8(ecx + 0x35)) << 24; _flag_b = (uint32_t)(0) << 24; 2802 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2803 _flag_k = FK_NARROW(FK_CMP, 24); 2804 RECOMP_BACKEDGE(); 2805 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029D1A; /* 0x2B029D23: je 0x2b029d1a */ 2806 L_2B029D25: 2807 MEM32(ebx + 0x8) = edx; /* 0x2B029D25: mov dword ptr [ebx + 8], edx */ 2808 L_2B029D28: 2809 esi = MEM32(ebp + (-0x4)); /* 0x2B029D28: mov esi, dword ptr [ebp - 4] */ 2810 SET_LO8(ecx, MEM8(esi + 0x34)); /* 0x2B029D2B: mov cl, byte ptr [esi + 0x34] */ 2811 SET_LO8(ebx, 1); /* 0x2B029D2E: mov bl, 1 */ 2812 /* cmp LO8(ecx), LO8(ebx) */ /* 0x2B029D30: cmp cl, bl */ 2813 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2814 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2815 _flag_k = FK_NARROW(FK_CMP, 24); 2816 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F98; /* 0x2B029D32: jne 0x2b029f98 */ 2817 L_2B029D38: 2818 ecx = MEM32(edi + 0x4); /* 0x2B029D38: mov ecx, dword ptr [edi + 4] */ 2819 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B029D3B: cmp eax, dword ptr [ecx + 4] */ 2820 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 2821 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2822 _flag_k = FK_CMP; 2823 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029F92; /* 0x2B029D3E: je 0x2b029f92 */ 2824 L_2B029D44: 2825 /* cmp MEM8(eax + 0x34), LO8(ebx) */ /* 0x2B029D44: cmp byte ptr [eax + 0x34], bl */ 2826 _flag_a = (uint32_t)(MEM8(eax + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2827 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2828 _flag_k = FK_NARROW(FK_CMP, 24); 2829 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F92; /* 0x2B029D47: jne 0x2b029f92 */ 2830 L_2B029D4D: 2831 edx = MEM32(eax + 0x4); /* 0x2B029D4D: mov edx, dword ptr [eax + 4] */ 2832 ecx = MEM32(edx); /* 0x2B029D50: mov ecx, dword ptr [edx] */ 2833 /* cmp eax, ecx */ /* 0x2B029D52: cmp eax, ecx */ 2834 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2835 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2836 _flag_k = FK_CMP; 2837 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029DC4; /* 0x2B029D54: jne 0x2b029dc4 */ 2838 L_2B029D56: 2839 ecx = MEM32(edx + 0x8); /* 0x2B029D56: mov ecx, dword ptr [edx + 8] */ 2840 SET_LO8(edx, MEM8(ecx + 0x34)); /* 0x2B029D59: mov dl, byte ptr [ecx + 0x34] */ 2841 /* test LO8(edx), LO8(edx) */ /* 0x2B029D5C: test dl, dl */ 2842 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 2843 _cf = 0; 2844 _flag_k = FK_NARROW(FK_TEST, 24); 2845 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B029DAB; /* 0x2B029D5E: jne 0x2b029dab */ 2846 L_2B029D60: 2847 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029D60: mov byte ptr [ecx + 0x34], bl */ 2848 edx = MEM32(eax + 0x4); /* 0x2B029D63: mov edx, dword ptr [eax + 4] */ 2849 MEM8(edx + 0x34) = (uint8_t)(0); /* 0x2B029D66: mov byte ptr [edx + 0x34], 0 */ 2850 ecx = MEM32(eax + 0x4); /* 0x2B029D6A: mov ecx, dword ptr [eax + 4] */ 2851 edx = MEM32(ecx + 0x8); /* 0x2B029D6D: mov edx, dword ptr [ecx + 8] */ 2852 esi = MEM32(edx); /* 0x2B029D70: mov esi, dword ptr [edx] */ 2853 MEM32(ecx + 0x8) = esi; /* 0x2B029D72: mov dword ptr [ecx + 8], esi */ 2854 esi = MEM32(edx); /* 0x2B029D75: mov esi, dword ptr [edx] */ 2855 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029D77: cmp esi, dword ptr [edi + 8] */ 2856 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2857 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2858 _flag_k = FK_CMP; 2859 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029D7F; /* 0x2B029D7A: je 0x2b029d7f */ 2860 L_2B029D7C: 2861 MEM32(esi + 0x4) = ecx; /* 0x2B029D7C: mov dword ptr [esi + 4], ecx */ 2862 L_2B029D7F: 2863 esi = MEM32(ecx + 0x4); /* 0x2B029D7F: mov esi, dword ptr [ecx + 4] */ 2864 MEM32(edx + 0x4) = esi; /* 0x2B029D82: mov dword ptr [edx + 4], esi */ 2865 esi = MEM32(edi + 0x4); /* 0x2B029D85: mov esi, dword ptr [edi + 4] */ 2866 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029D88: cmp ecx, dword ptr [esi + 4] */ 2867 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2868 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2869 _flag_k = FK_CMP; 2870 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D92; /* 0x2B029D8B: jne 0x2b029d92 */ 2871 L_2B029D8D: 2872 MEM32(esi + 0x4) = edx; /* 0x2B029D8D: mov dword ptr [esi + 4], edx */ 2873 goto L_2B029DA0; /* 0x2B029D90: jmp 0x2b029da0 */ 2874 L_2B029D92: 2875 esi = MEM32(ecx + 0x4); /* 0x2B029D92: mov esi, dword ptr [ecx + 4] */ 2876 /* cmp ecx, MEM32(esi) */ /* 0x2B029D95: cmp ecx, dword ptr [esi] */ 2877 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 2878 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2879 _flag_k = FK_CMP; 2880 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D9D; /* 0x2B029D97: jne 0x2b029d9d */ 2881 L_2B029D99: 2882 MEM32(esi) = edx; /* 0x2B029D99: mov dword ptr [esi], edx */ 2883 goto L_2B029DA0; /* 0x2B029D9B: jmp 0x2b029da0 */ 2884 L_2B029D9D: 2885 MEM32(esi + 0x8) = edx; /* 0x2B029D9D: mov dword ptr [esi + 8], edx */ 2886 L_2B029DA0: 2887 MEM32(edx) = ecx; /* 0x2B029DA0: mov dword ptr [edx], ecx */ 2888 MEM32(ecx + 0x4) = edx; /* 0x2B029DA2: mov dword ptr [ecx + 4], edx */ 2889 ecx = MEM32(eax + 0x4); /* 0x2B029DA5: mov ecx, dword ptr [eax + 4] */ 2890 ecx = MEM32(ecx + 0x8); /* 0x2B029DA8: mov ecx, dword ptr [ecx + 8] */ 2891 L_2B029DAB: 2892 edx = MEM32(ecx); /* 0x2B029DAB: mov edx, dword ptr [ecx] */ 2893 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029DAD: cmp byte ptr [edx + 0x34], bl */ 2894 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2895 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2896 _flag_k = FK_NARROW(FK_CMP, 24); 2897 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E46; /* 0x2B029DB0: jne 0x2b029e46 */ 2898 L_2B029DB6: 2899 edx = MEM32(ecx + 0x8); /* 0x2B029DB6: mov edx, dword ptr [ecx + 8] */ 2900 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029DB9: cmp byte ptr [edx + 0x34], bl */ 2901 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2902 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2903 _flag_k = FK_NARROW(FK_CMP, 24); 2904 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E46; /* 0x2B029DBC: jne 0x2b029e46 */ 2905 L_2B029DC2: 2906 goto L_2B029E2E; /* 0x2B029DC2: jmp 0x2b029e2e */ 2907 L_2B029DC4: 2908 SET_LO8(edx, MEM8(ecx + 0x34)); /* 0x2B029DC4: mov dl, byte ptr [ecx + 0x34] */ 2909 /* test LO8(edx), LO8(edx) */ /* 0x2B029DC7: test dl, dl */ 2910 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 2911 _cf = 0; 2912 _flag_k = FK_NARROW(FK_TEST, 24); 2913 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B029E17; /* 0x2B029DC9: jne 0x2b029e17 */ 2914 L_2B029DCB: 2915 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029DCB: mov byte ptr [ecx + 0x34], bl */ 2916 ecx = MEM32(eax + 0x4); /* 0x2B029DCE: mov ecx, dword ptr [eax + 4] */ 2917 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029DD1: mov byte ptr [ecx + 0x34], 0 */ 2918 ecx = MEM32(eax + 0x4); /* 0x2B029DD5: mov ecx, dword ptr [eax + 4] */ 2919 edx = MEM32(ecx); /* 0x2B029DD8: mov edx, dword ptr [ecx] */ 2920 esi = MEM32(edx + 0x8); /* 0x2B029DDA: mov esi, dword ptr [edx + 8] */ 2921 MEM32(ecx) = esi; /* 0x2B029DDD: mov dword ptr [ecx], esi */ 2922 esi = MEM32(edx + 0x8); /* 0x2B029DDF: mov esi, dword ptr [edx + 8] */ 2923 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029DE2: cmp esi, dword ptr [edi + 8] */ 2924 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2925 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2926 _flag_k = FK_CMP; 2927 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029DEA; /* 0x2B029DE5: je 0x2b029dea */ 2928 L_2B029DE7: 2929 MEM32(esi + 0x4) = ecx; /* 0x2B029DE7: mov dword ptr [esi + 4], ecx */ 2930 L_2B029DEA: 2931 esi = MEM32(ecx + 0x4); /* 0x2B029DEA: mov esi, dword ptr [ecx + 4] */ 2932 MEM32(edx + 0x4) = esi; /* 0x2B029DED: mov dword ptr [edx + 4], esi */ 2933 esi = MEM32(edi + 0x4); /* 0x2B029DF0: mov esi, dword ptr [edi + 4] */ 2934 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029DF3: cmp ecx, dword ptr [esi + 4] */ 2935 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2936 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2937 _flag_k = FK_CMP; 2938 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029DFD; /* 0x2B029DF6: jne 0x2b029dfd */ 2939 L_2B029DF8: 2940 MEM32(esi + 0x4) = edx; /* 0x2B029DF8: mov dword ptr [esi + 4], edx */ 2941 goto L_2B029E0C; /* 0x2B029DFB: jmp 0x2b029e0c */ 2942 L_2B029DFD: 2943 esi = MEM32(ecx + 0x4); /* 0x2B029DFD: mov esi, dword ptr [ecx + 4] */ 2944 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029E00: cmp ecx, dword ptr [esi + 8] */ 2945 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2946 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2947 _flag_k = FK_CMP; 2948 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E0A; /* 0x2B029E03: jne 0x2b029e0a */ 2949 L_2B029E05: 2950 MEM32(esi + 0x8) = edx; /* 0x2B029E05: mov dword ptr [esi + 8], edx */ 2951 goto L_2B029E0C; /* 0x2B029E08: jmp 0x2b029e0c */ 2952 L_2B029E0A: 2953 MEM32(esi) = edx; /* 0x2B029E0A: mov dword ptr [esi], edx */ 2954 L_2B029E0C: 2955 MEM32(edx + 0x8) = ecx; /* 0x2B029E0C: mov dword ptr [edx + 8], ecx */ 2956 MEM32(ecx + 0x4) = edx; /* 0x2B029E0F: mov dword ptr [ecx + 4], edx */ 2957 edx = MEM32(eax + 0x4); /* 0x2B029E12: mov edx, dword ptr [eax + 4] */ 2958 ecx = MEM32(edx); /* 0x2B029E15: mov ecx, dword ptr [edx] */ 2959 L_2B029E17: 2960 edx = MEM32(ecx + 0x8); /* 0x2B029E17: mov edx, dword ptr [ecx + 8] */ 2961 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029E1A: cmp byte ptr [edx + 0x34], bl */ 2962 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2963 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2964 _flag_k = FK_NARROW(FK_CMP, 24); 2965 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029EF3; /* 0x2B029E1D: jne 0x2b029ef3 */ 2966 L_2B029E23: 2967 edx = MEM32(ecx); /* 0x2B029E23: mov edx, dword ptr [ecx] */ 2968 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029E25: cmp byte ptr [edx + 0x34], bl */ 2969 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2970 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2971 _flag_k = FK_NARROW(FK_CMP, 24); 2972 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029EF3; /* 0x2B029E28: jne 0x2b029ef3 */ 2973 L_2B029E2E: 2974 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029E2E: mov byte ptr [ecx + 0x34], 0 */ 2975 ecx = MEM32(edi + 0x4); /* 0x2B029E32: mov ecx, dword ptr [edi + 4] */ 2976 eax = MEM32(eax + 0x4); /* 0x2B029E35: mov eax, dword ptr [eax + 4] */ 2977 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B029E38: cmp eax, dword ptr [ecx + 4] */ 2978 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 2979 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2980 _flag_k = FK_CMP; 2981 RECOMP_BACKEDGE(); 2982 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D44; /* 0x2B029E3B: jne 0x2b029d44 */ 2983 L_2B029E41: 2984 goto L_2B029F92; /* 0x2B029E41: jmp 0x2b029f92 */ 2985 L_2B029E46: 2986 edx = MEM32(ecx + 0x8); /* 0x2B029E46: mov edx, dword ptr [ecx + 8] */ 2987 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029E49: cmp byte ptr [edx + 0x34], bl */ 2988 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2989 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2990 _flag_k = FK_NARROW(FK_CMP, 24); 2991 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E97; /* 0x2B029E4C: jne 0x2b029e97 */ 2992 L_2B029E4E: 2993 edx = MEM32(ecx); /* 0x2B029E4E: mov edx, dword ptr [ecx] */ 2994 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029E50: mov byte ptr [edx + 0x34], bl */ 2995 edx = MEM32(ecx); /* 0x2B029E53: mov edx, dword ptr [ecx] */ 2996 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029E55: mov byte ptr [ecx + 0x34], 0 */ 2997 esi = MEM32(edx + 0x8); /* 0x2B029E59: mov esi, dword ptr [edx + 8] */ 2998 MEM32(ecx) = esi; /* 0x2B029E5C: mov dword ptr [ecx], esi */ 2999 esi = MEM32(edx + 0x8); /* 0x2B029E5E: mov esi, dword ptr [edx + 8] */ 3000 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029E61: cmp esi, dword ptr [edi + 8] */ 3001 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3002 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3003 _flag_k = FK_CMP; 3004 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029E69; /* 0x2B029E64: je 0x2b029e69 */ 3005 L_2B029E66: 3006 MEM32(esi + 0x4) = ecx; /* 0x2B029E66: mov dword ptr [esi + 4], ecx */ 3007 L_2B029E69: 3008 esi = MEM32(ecx + 0x4); /* 0x2B029E69: mov esi, dword ptr [ecx + 4] */ 3009 MEM32(edx + 0x4) = esi; /* 0x2B029E6C: mov dword ptr [edx + 4], esi */ 3010 esi = MEM32(edi + 0x4); /* 0x2B029E6F: mov esi, dword ptr [edi + 4] */ 3011 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029E72: cmp ecx, dword ptr [esi + 4] */ 3012 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3013 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3014 _flag_k = FK_CMP; 3015 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E7C; /* 0x2B029E75: jne 0x2b029e7c */ 3016 L_2B029E77: 3017 MEM32(esi + 0x4) = edx; /* 0x2B029E77: mov dword ptr [esi + 4], edx */ 3018 goto L_2B029E8B; /* 0x2B029E7A: jmp 0x2b029e8b */ 3019 L_2B029E7C: 3020 esi = MEM32(ecx + 0x4); /* 0x2B029E7C: mov esi, dword ptr [ecx + 4] */ 3021 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029E7F: cmp ecx, dword ptr [esi + 8] */ 3022 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3023 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3024 _flag_k = FK_CMP; 3025 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E89; /* 0x2B029E82: jne 0x2b029e89 */ 3026 L_2B029E84: 3027 MEM32(esi + 0x8) = edx; /* 0x2B029E84: mov dword ptr [esi + 8], edx */ 3028 goto L_2B029E8B; /* 0x2B029E87: jmp 0x2b029e8b */ 3029 L_2B029E89: 3030 MEM32(esi) = edx; /* 0x2B029E89: mov dword ptr [esi], edx */ 3031 L_2B029E8B: 3032 MEM32(edx + 0x8) = ecx; /* 0x2B029E8B: mov dword ptr [edx + 8], ecx */ 3033 MEM32(ecx + 0x4) = edx; /* 0x2B029E8E: mov dword ptr [ecx + 4], edx */ 3034 ecx = MEM32(eax + 0x4); /* 0x2B029E91: mov ecx, dword ptr [eax + 4] */ 3035 ecx = MEM32(ecx + 0x8); /* 0x2B029E94: mov ecx, dword ptr [ecx + 8] */ 3036 L_2B029E97: 3037 edx = MEM32(eax + 0x4); /* 0x2B029E97: mov edx, dword ptr [eax + 4] */ 3038 SET_LO8(edx, MEM8(edx + 0x34)); /* 0x2B029E9A: mov dl, byte ptr [edx + 0x34] */ 3039 MEM8(ecx + 0x34) = (uint8_t)(LO8(edx)); /* 0x2B029E9D: mov byte ptr [ecx + 0x34], dl */ 3040 edx = MEM32(eax + 0x4); /* 0x2B029EA0: mov edx, dword ptr [eax + 4] */ 3041 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029EA3: mov byte ptr [edx + 0x34], bl */ 3042 ecx = MEM32(ecx + 0x8); /* 0x2B029EA6: mov ecx, dword ptr [ecx + 8] */ 3043 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029EA9: mov byte ptr [ecx + 0x34], bl */ 3044 ecx = MEM32(eax + 0x4); /* 0x2B029EAC: mov ecx, dword ptr [eax + 4] */ 3045 edx = MEM32(ecx + 0x8); /* 0x2B029EAF: mov edx, dword ptr [ecx + 8] */ 3046 esi = MEM32(edx); /* 0x2B029EB2: mov esi, dword ptr [edx] */ 3047 MEM32(ecx + 0x8) = esi; /* 0x2B029EB4: mov dword ptr [ecx + 8], esi */ 3048 esi = MEM32(edx); /* 0x2B029EB7: mov esi, dword ptr [edx] */ 3049 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029EB9: cmp esi, dword ptr [edi + 8] */ 3050 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3051 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3052 _flag_k = FK_CMP; 3053 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029EC1; /* 0x2B029EBC: je 0x2b029ec1 */ 3054 L_2B029EBE: 3055 MEM32(esi + 0x4) = ecx; /* 0x2B029EBE: mov dword ptr [esi + 4], ecx */ 3056 L_2B029EC1: 3057 esi = MEM32(ecx + 0x4); /* 0x2B029EC1: mov esi, dword ptr [ecx + 4] */ 3058 MEM32(edx + 0x4) = esi; /* 0x2B029EC4: mov dword ptr [edx + 4], esi */ 3059 esi = MEM32(edi + 0x4); /* 0x2B029EC7: mov esi, dword ptr [edi + 4] */ 3060 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029ECA: cmp ecx, dword ptr [esi + 4] */ 3061 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3062 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3063 _flag_k = FK_CMP; 3064 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029ED9; /* 0x2B029ECD: jne 0x2b029ed9 */ 3065 L_2B029ECF: 3066 MEM32(esi + 0x4) = edx; /* 0x2B029ECF: mov dword ptr [esi + 4], edx */ 3067 MEM32(edx) = ecx; /* 0x2B029ED2: mov dword ptr [edx], ecx */ 3068 goto L_2B029F8F; /* 0x2B029ED4: jmp 0x2b029f8f */ 3069 L_2B029ED9: 3070 esi = MEM32(ecx + 0x4); /* 0x2B029ED9: mov esi, dword ptr [ecx + 4] */ 3071 /* cmp ecx, MEM32(esi) */ /* 0x2B029EDC: cmp ecx, dword ptr [esi] */ 3072 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 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_2B029EE9; /* 0x2B029EDE: jne 0x2b029ee9 */ 3076 L_2B029EE0: 3077 MEM32(esi) = edx; /* 0x2B029EE0: mov dword ptr [esi], edx */ 3078 MEM32(edx) = ecx; /* 0x2B029EE2: mov dword ptr [edx], ecx */ 3079 goto L_2B029F8F; /* 0x2B029EE4: jmp 0x2b029f8f */ 3080 L_2B029EE9: 3081 MEM32(esi + 0x8) = edx; /* 0x2B029EE9: mov dword ptr [esi + 8], edx */ 3082 MEM32(edx) = ecx; /* 0x2B029EEC: mov dword ptr [edx], ecx */ 3083 goto L_2B029F8F; /* 0x2B029EEE: jmp 0x2b029f8f */ 3084 L_2B029EF3: 3085 edx = MEM32(ecx); /* 0x2B029EF3: mov edx, dword ptr [ecx] */ 3086 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029EF5: cmp byte ptr [edx + 0x34], bl */ 3087 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3088 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3089 _flag_k = FK_NARROW(FK_CMP, 24); 3090 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F41; /* 0x2B029EF8: jne 0x2b029f41 */ 3091 L_2B029EFA: 3092 edx = MEM32(ecx + 0x8); /* 0x2B029EFA: mov edx, dword ptr [ecx + 8] */ 3093 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029EFD: mov byte ptr [edx + 0x34], bl */ 3094 edx = MEM32(ecx + 0x8); /* 0x2B029F00: mov edx, dword ptr [ecx + 8] */ 3095 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029F03: mov byte ptr [ecx + 0x34], 0 */ 3096 esi = MEM32(edx); /* 0x2B029F07: mov esi, dword ptr [edx] */ 3097 MEM32(ecx + 0x8) = esi; /* 0x2B029F09: mov dword ptr [ecx + 8], esi */ 3098 esi = MEM32(edx); /* 0x2B029F0C: mov esi, dword ptr [edx] */ 3099 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029F0E: cmp esi, dword ptr [edi + 8] */ 3100 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3101 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3102 _flag_k = FK_CMP; 3103 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029F16; /* 0x2B029F11: je 0x2b029f16 */ 3104 L_2B029F13: 3105 MEM32(esi + 0x4) = ecx; /* 0x2B029F13: mov dword ptr [esi + 4], ecx */ 3106 L_2B029F16: 3107 esi = MEM32(ecx + 0x4); /* 0x2B029F16: mov esi, dword ptr [ecx + 4] */ 3108 MEM32(edx + 0x4) = esi; /* 0x2B029F19: mov dword ptr [edx + 4], esi */ 3109 esi = MEM32(edi + 0x4); /* 0x2B029F1C: mov esi, dword ptr [edi + 4] */ 3110 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029F1F: cmp ecx, dword ptr [esi + 4] */ 3111 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3112 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3113 _flag_k = FK_CMP; 3114 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F29; /* 0x2B029F22: jne 0x2b029f29 */ 3115 L_2B029F24: 3116 MEM32(esi + 0x4) = edx; /* 0x2B029F24: mov dword ptr [esi + 4], edx */ 3117 goto L_2B029F37; /* 0x2B029F27: jmp 0x2b029f37 */ 3118 L_2B029F29: 3119 esi = MEM32(ecx + 0x4); /* 0x2B029F29: mov esi, dword ptr [ecx + 4] */ 3120 /* cmp ecx, MEM32(esi) */ /* 0x2B029F2C: cmp ecx, dword ptr [esi] */ 3121 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 3122 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3123 _flag_k = FK_CMP; 3124 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F34; /* 0x2B029F2E: jne 0x2b029f34 */ 3125 L_2B029F30: 3126 MEM32(esi) = edx; /* 0x2B029F30: mov dword ptr [esi], edx */ 3127 goto L_2B029F37; /* 0x2B029F32: jmp 0x2b029f37 */ 3128 L_2B029F34: 3129 MEM32(esi + 0x8) = edx; /* 0x2B029F34: mov dword ptr [esi + 8], edx */ 3130 L_2B029F37: 3131 MEM32(edx) = ecx; /* 0x2B029F37: mov dword ptr [edx], ecx */ 3132 MEM32(ecx + 0x4) = edx; /* 0x2B029F39: mov dword ptr [ecx + 4], edx */ 3133 ecx = MEM32(eax + 0x4); /* 0x2B029F3C: mov ecx, dword ptr [eax + 4] */ 3134 ecx = MEM32(ecx); /* 0x2B029F3F: mov ecx, dword ptr [ecx] */ 3135 L_2B029F41: 3136 edx = MEM32(eax + 0x4); /* 0x2B029F41: mov edx, dword ptr [eax + 4] */ 3137 SET_LO8(edx, MEM8(edx + 0x34)); /* 0x2B029F44: mov dl, byte ptr [edx + 0x34] */ 3138 MEM8(ecx + 0x34) = (uint8_t)(LO8(edx)); /* 0x2B029F47: mov byte ptr [ecx + 0x34], dl */ 3139 edx = MEM32(eax + 0x4); /* 0x2B029F4A: mov edx, dword ptr [eax + 4] */ 3140 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F4D: mov byte ptr [edx + 0x34], bl */ 3141 ecx = MEM32(ecx); /* 0x2B029F50: mov ecx, dword ptr [ecx] */ 3142 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F52: mov byte ptr [ecx + 0x34], bl */ 3143 ecx = MEM32(eax + 0x4); /* 0x2B029F55: mov ecx, dword ptr [eax + 4] */ 3144 edx = MEM32(ecx); /* 0x2B029F58: mov edx, dword ptr [ecx] */ 3145 esi = MEM32(edx + 0x8); /* 0x2B029F5A: mov esi, dword ptr [edx + 8] */ 3146 MEM32(ecx) = esi; /* 0x2B029F5D: mov dword ptr [ecx], esi */ 3147 esi = MEM32(edx + 0x8); /* 0x2B029F5F: mov esi, dword ptr [edx + 8] */ 3148 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029F62: cmp esi, dword ptr [edi + 8] */ 3149 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3150 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3151 _flag_k = FK_CMP; 3152 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029F6A; /* 0x2B029F65: je 0x2b029f6a */ 3153 L_2B029F67: 3154 MEM32(esi + 0x4) = ecx; /* 0x2B029F67: mov dword ptr [esi + 4], ecx */ 3155 L_2B029F6A: 3156 esi = MEM32(ecx + 0x4); /* 0x2B029F6A: mov esi, dword ptr [ecx + 4] */ 3157 MEM32(edx + 0x4) = esi; /* 0x2B029F6D: mov dword ptr [edx + 4], esi */ 3158 esi = MEM32(edi + 0x4); /* 0x2B029F70: mov esi, dword ptr [edi + 4] */ 3159 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029F73: cmp ecx, dword ptr [esi + 4] */ 3160 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 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_2B029F7D; /* 0x2B029F76: jne 0x2b029f7d */ 3164 L_2B029F78: 3165 MEM32(esi + 0x4) = edx; /* 0x2B029F78: mov dword ptr [esi + 4], edx */ 3166 goto L_2B029F8C; /* 0x2B029F7B: jmp 0x2b029f8c */ 3167 L_2B029F7D: 3168 esi = MEM32(ecx + 0x4); /* 0x2B029F7D: mov esi, dword ptr [ecx + 4] */ 3169 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029F80: cmp ecx, dword ptr [esi + 8] */ 3170 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3171 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3172 _flag_k = FK_CMP; 3173 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F8A; /* 0x2B029F83: jne 0x2b029f8a */ 3174 L_2B029F85: 3175 MEM32(esi + 0x8) = edx; /* 0x2B029F85: mov dword ptr [esi + 8], edx */ 3176 goto L_2B029F8C; /* 0x2B029F88: jmp 0x2b029f8c */ 3177 L_2B029F8A: 3178 MEM32(esi) = edx; /* 0x2B029F8A: mov dword ptr [esi], edx */ 3179 L_2B029F8C: 3180 MEM32(edx + 0x8) = ecx; /* 0x2B029F8C: mov dword ptr [edx + 8], ecx */ 3181 L_2B029F8F: 3182 MEM32(ecx + 0x4) = edx; /* 0x2B029F8F: mov dword ptr [ecx + 4], edx */ 3183 L_2B029F92: 3184 esi = MEM32(ebp + (-0x4)); /* 0x2B029F92: mov esi, dword ptr [ebp - 4] */ 3185 MEM8(eax + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F95: mov byte ptr [eax + 0x34], bl */ 3186 L_2B029F98: 3187 ecx = esi + 0xC; /* 0x2B029F98: lea ecx, [esi + 0xc] */ 3188 RECOMP_ICALL(0x2B028990u); /* 0x2B029F9B: call 0x2b028990 */ /* not lifted */ 3189 RECOMP_FLAGS_IN(); 3190 PUSH32(esp, esi); /* 0x2B029FA0: push esi */ 3191 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B029FA1: call 0x2b0ab1ba */ /* not lifted */ 3192 RECOMP_FLAGS_IN(); 3193 eax = MEM32(edi + 0x10); /* 0x2B029FA6: mov eax, dword ptr [edi + 0x10] */ 3194 edx = MEM32(ebp + 0xC); /* 0x2B029FA9: mov edx, dword ptr [ebp + 0xc] */ 3195 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3196 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3197 esp = esp + 4; /* 0x2B029FAC: add esp, 4 */ 3198 _flag_k = FK_ADD; 3199 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3200 eax = eax - 1; /* 0x2B029FAF: dec eax */ 3201 _flag_k = FK_DEC; 3202 MEM32(edi + 0x10) = eax; /* 0x2B029FB0: mov dword ptr [edi + 0x10], eax */ 3203 eax = MEM32(ebp + 0x8); /* 0x2B029FB3: mov eax, dword ptr [ebp + 8] */ 3204 edi = POP32_VAL(esp); /* 0x2B029FB6: pop edi */ 3205 esi = POP32_VAL(esp); /* 0x2B029FB7: pop esi */ 3206 MEM32(eax) = edx; /* 0x2B029FB8: mov dword ptr [eax], edx */ 3207 ebx = POP32_VAL(esp); /* 0x2B029FBA: pop ebx */ 3208 esp = ebp; /* 0x2B029FBB: mov esp, ebp */ 3209 ebp = POP32_VAL(esp); /* 0x2B029FBD: pop ebp */ 3210 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B029FBE: ret 8 */ 3211 RECOMP_REGS_OUT(); 3212 } 3213 3214 void sub_2B029CF9(void) { 3215 int _fpu_cmp = 0; 3216 uint32_t _cf = 0; 3217 int _df = 1; 3218 uint32_t _flag_k = FK_NONE; 3219 uint32_t _flag_a = 0, _flag_b = 0; 3220 uint32_t _itail_tgt = 0; 3221 RECOMP_REGS_LOCALS 3222 RECOMP_ENTER(0x2B029CF9u); 3223 3224 L_2B029CF9: 3225 MEM32(ebx) = edx; /* 0x2B029CF9: mov dword ptr [ebx], edx */ 3226 ebx = MEM32(edi + 0x4); /* 0x2B029CFB: mov ebx, dword ptr [edi + 4] */ 3227 /* cmp MEM32(ebx + 0x8), esi */ /* 0x2B029CFE: cmp dword ptr [ebx + 8], esi */ 3228 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 3229 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3230 _flag_k = FK_CMP; 3231 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D28; /* 0x2B029D01: jne 0x2b029d28 */ 3232 L_2B029D03: 3233 ecx = MEM32(esi); /* 0x2B029D03: mov ecx, dword ptr [esi] */ 3234 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B029D05: cmp ecx, dword ptr [edi + 8] */ 3235 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3236 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3237 _flag_k = FK_CMP; 3238 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D0F; /* 0x2B029D08: jne 0x2b029d0f */ 3239 L_2B029D0A: 3240 edx = MEM32(esi + 0x4); /* 0x2B029D0A: mov edx, dword ptr [esi + 4] */ 3241 goto L_2B029D25; /* 0x2B029D0D: jmp 0x2b029d25 */ 3242 L_2B029D0F: 3243 ecx = MEM32(eax + 0x8); /* 0x2B029D0F: mov ecx, dword ptr [eax + 8] */ 3244 /* cmp MEM8(ecx + 0x35), 0 */ /* 0x2B029D12: cmp byte ptr [ecx + 0x35], 0 */ 3245 _flag_a = (uint32_t)(MEM8(ecx + 0x35)) << 24; _flag_b = (uint32_t)(0) << 24; 3246 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3247 _flag_k = FK_NARROW(FK_CMP, 24); 3248 edx = eax; /* 0x2B029D16: mov edx, eax */ 3249 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D25; /* 0x2B029D18: jne 0x2b029d25 */ 3250 L_2B029D1A: 3251 edx = ecx; /* 0x2B029D1A: mov edx, ecx */ 3252 ecx = MEM32(edx + 0x8); /* 0x2B029D1C: mov ecx, dword ptr [edx + 8] */ 3253 /* cmp MEM8(ecx + 0x35), 0 */ /* 0x2B029D1F: cmp byte ptr [ecx + 0x35], 0 */ 3254 _flag_a = (uint32_t)(MEM8(ecx + 0x35)) << 24; _flag_b = (uint32_t)(0) << 24; 3255 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3256 _flag_k = FK_NARROW(FK_CMP, 24); 3257 RECOMP_BACKEDGE(); 3258 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029D1A; /* 0x2B029D23: je 0x2b029d1a */ 3259 L_2B029D25: 3260 MEM32(ebx + 0x8) = edx; /* 0x2B029D25: mov dword ptr [ebx + 8], edx */ 3261 L_2B029D28: 3262 esi = MEM32(ebp + (-0x4)); /* 0x2B029D28: mov esi, dword ptr [ebp - 4] */ 3263 SET_LO8(ecx, MEM8(esi + 0x34)); /* 0x2B029D2B: mov cl, byte ptr [esi + 0x34] */ 3264 SET_LO8(ebx, 1); /* 0x2B029D2E: mov bl, 1 */ 3265 /* cmp LO8(ecx), LO8(ebx) */ /* 0x2B029D30: cmp cl, bl */ 3266 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3267 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3268 _flag_k = FK_NARROW(FK_CMP, 24); 3269 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F98; /* 0x2B029D32: jne 0x2b029f98 */ 3270 L_2B029D38: 3271 ecx = MEM32(edi + 0x4); /* 0x2B029D38: mov ecx, dword ptr [edi + 4] */ 3272 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B029D3B: cmp eax, dword ptr [ecx + 4] */ 3273 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 3274 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3275 _flag_k = FK_CMP; 3276 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029F92; /* 0x2B029D3E: je 0x2b029f92 */ 3277 L_2B029D44: 3278 /* cmp MEM8(eax + 0x34), LO8(ebx) */ /* 0x2B029D44: cmp byte ptr [eax + 0x34], bl */ 3279 _flag_a = (uint32_t)(MEM8(eax + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3280 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3281 _flag_k = FK_NARROW(FK_CMP, 24); 3282 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F92; /* 0x2B029D47: jne 0x2b029f92 */ 3283 L_2B029D4D: 3284 edx = MEM32(eax + 0x4); /* 0x2B029D4D: mov edx, dword ptr [eax + 4] */ 3285 ecx = MEM32(edx); /* 0x2B029D50: mov ecx, dword ptr [edx] */ 3286 /* cmp eax, ecx */ /* 0x2B029D52: cmp eax, ecx */ 3287 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 3288 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3289 _flag_k = FK_CMP; 3290 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029DC4; /* 0x2B029D54: jne 0x2b029dc4 */ 3291 L_2B029D56: 3292 ecx = MEM32(edx + 0x8); /* 0x2B029D56: mov ecx, dword ptr [edx + 8] */ 3293 SET_LO8(edx, MEM8(ecx + 0x34)); /* 0x2B029D59: mov dl, byte ptr [ecx + 0x34] */ 3294 /* test LO8(edx), LO8(edx) */ /* 0x2B029D5C: test dl, dl */ 3295 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 3296 _cf = 0; 3297 _flag_k = FK_NARROW(FK_TEST, 24); 3298 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B029DAB; /* 0x2B029D5E: jne 0x2b029dab */ 3299 L_2B029D60: 3300 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029D60: mov byte ptr [ecx + 0x34], bl */ 3301 edx = MEM32(eax + 0x4); /* 0x2B029D63: mov edx, dword ptr [eax + 4] */ 3302 MEM8(edx + 0x34) = (uint8_t)(0); /* 0x2B029D66: mov byte ptr [edx + 0x34], 0 */ 3303 ecx = MEM32(eax + 0x4); /* 0x2B029D6A: mov ecx, dword ptr [eax + 4] */ 3304 edx = MEM32(ecx + 0x8); /* 0x2B029D6D: mov edx, dword ptr [ecx + 8] */ 3305 esi = MEM32(edx); /* 0x2B029D70: mov esi, dword ptr [edx] */ 3306 MEM32(ecx + 0x8) = esi; /* 0x2B029D72: mov dword ptr [ecx + 8], esi */ 3307 esi = MEM32(edx); /* 0x2B029D75: mov esi, dword ptr [edx] */ 3308 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029D77: cmp esi, dword ptr [edi + 8] */ 3309 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3310 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3311 _flag_k = FK_CMP; 3312 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029D7F; /* 0x2B029D7A: je 0x2b029d7f */ 3313 L_2B029D7C: 3314 MEM32(esi + 0x4) = ecx; /* 0x2B029D7C: mov dword ptr [esi + 4], ecx */ 3315 L_2B029D7F: 3316 esi = MEM32(ecx + 0x4); /* 0x2B029D7F: mov esi, dword ptr [ecx + 4] */ 3317 MEM32(edx + 0x4) = esi; /* 0x2B029D82: mov dword ptr [edx + 4], esi */ 3318 esi = MEM32(edi + 0x4); /* 0x2B029D85: mov esi, dword ptr [edi + 4] */ 3319 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029D88: cmp ecx, dword ptr [esi + 4] */ 3320 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3321 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3322 _flag_k = FK_CMP; 3323 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D92; /* 0x2B029D8B: jne 0x2b029d92 */ 3324 L_2B029D8D: 3325 MEM32(esi + 0x4) = edx; /* 0x2B029D8D: mov dword ptr [esi + 4], edx */ 3326 goto L_2B029DA0; /* 0x2B029D90: jmp 0x2b029da0 */ 3327 L_2B029D92: 3328 esi = MEM32(ecx + 0x4); /* 0x2B029D92: mov esi, dword ptr [ecx + 4] */ 3329 /* cmp ecx, MEM32(esi) */ /* 0x2B029D95: cmp ecx, dword ptr [esi] */ 3330 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 3331 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3332 _flag_k = FK_CMP; 3333 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D9D; /* 0x2B029D97: jne 0x2b029d9d */ 3334 L_2B029D99: 3335 MEM32(esi) = edx; /* 0x2B029D99: mov dword ptr [esi], edx */ 3336 goto L_2B029DA0; /* 0x2B029D9B: jmp 0x2b029da0 */ 3337 L_2B029D9D: 3338 MEM32(esi + 0x8) = edx; /* 0x2B029D9D: mov dword ptr [esi + 8], edx */ 3339 L_2B029DA0: 3340 MEM32(edx) = ecx; /* 0x2B029DA0: mov dword ptr [edx], ecx */ 3341 MEM32(ecx + 0x4) = edx; /* 0x2B029DA2: mov dword ptr [ecx + 4], edx */ 3342 ecx = MEM32(eax + 0x4); /* 0x2B029DA5: mov ecx, dword ptr [eax + 4] */ 3343 ecx = MEM32(ecx + 0x8); /* 0x2B029DA8: mov ecx, dword ptr [ecx + 8] */ 3344 L_2B029DAB: 3345 edx = MEM32(ecx); /* 0x2B029DAB: mov edx, dword ptr [ecx] */ 3346 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029DAD: cmp byte ptr [edx + 0x34], bl */ 3347 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3348 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3349 _flag_k = FK_NARROW(FK_CMP, 24); 3350 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E46; /* 0x2B029DB0: jne 0x2b029e46 */ 3351 L_2B029DB6: 3352 edx = MEM32(ecx + 0x8); /* 0x2B029DB6: mov edx, dword ptr [ecx + 8] */ 3353 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029DB9: cmp byte ptr [edx + 0x34], bl */ 3354 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3355 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3356 _flag_k = FK_NARROW(FK_CMP, 24); 3357 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E46; /* 0x2B029DBC: jne 0x2b029e46 */ 3358 L_2B029DC2: 3359 goto L_2B029E2E; /* 0x2B029DC2: jmp 0x2b029e2e */ 3360 L_2B029DC4: 3361 SET_LO8(edx, MEM8(ecx + 0x34)); /* 0x2B029DC4: mov dl, byte ptr [ecx + 0x34] */ 3362 /* test LO8(edx), LO8(edx) */ /* 0x2B029DC7: test dl, dl */ 3363 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 3364 _cf = 0; 3365 _flag_k = FK_NARROW(FK_TEST, 24); 3366 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B029E17; /* 0x2B029DC9: jne 0x2b029e17 */ 3367 L_2B029DCB: 3368 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029DCB: mov byte ptr [ecx + 0x34], bl */ 3369 ecx = MEM32(eax + 0x4); /* 0x2B029DCE: mov ecx, dword ptr [eax + 4] */ 3370 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029DD1: mov byte ptr [ecx + 0x34], 0 */ 3371 ecx = MEM32(eax + 0x4); /* 0x2B029DD5: mov ecx, dword ptr [eax + 4] */ 3372 edx = MEM32(ecx); /* 0x2B029DD8: mov edx, dword ptr [ecx] */ 3373 esi = MEM32(edx + 0x8); /* 0x2B029DDA: mov esi, dword ptr [edx + 8] */ 3374 MEM32(ecx) = esi; /* 0x2B029DDD: mov dword ptr [ecx], esi */ 3375 esi = MEM32(edx + 0x8); /* 0x2B029DDF: mov esi, dword ptr [edx + 8] */ 3376 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029DE2: cmp esi, dword ptr [edi + 8] */ 3377 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3378 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3379 _flag_k = FK_CMP; 3380 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029DEA; /* 0x2B029DE5: je 0x2b029dea */ 3381 L_2B029DE7: 3382 MEM32(esi + 0x4) = ecx; /* 0x2B029DE7: mov dword ptr [esi + 4], ecx */ 3383 L_2B029DEA: 3384 esi = MEM32(ecx + 0x4); /* 0x2B029DEA: mov esi, dword ptr [ecx + 4] */ 3385 MEM32(edx + 0x4) = esi; /* 0x2B029DED: mov dword ptr [edx + 4], esi */ 3386 esi = MEM32(edi + 0x4); /* 0x2B029DF0: mov esi, dword ptr [edi + 4] */ 3387 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029DF3: cmp ecx, dword ptr [esi + 4] */ 3388 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3389 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3390 _flag_k = FK_CMP; 3391 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029DFD; /* 0x2B029DF6: jne 0x2b029dfd */ 3392 L_2B029DF8: 3393 MEM32(esi + 0x4) = edx; /* 0x2B029DF8: mov dword ptr [esi + 4], edx */ 3394 goto L_2B029E0C; /* 0x2B029DFB: jmp 0x2b029e0c */ 3395 L_2B029DFD: 3396 esi = MEM32(ecx + 0x4); /* 0x2B029DFD: mov esi, dword ptr [ecx + 4] */ 3397 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029E00: cmp ecx, dword ptr [esi + 8] */ 3398 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 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_2B029E0A; /* 0x2B029E03: jne 0x2b029e0a */ 3402 L_2B029E05: 3403 MEM32(esi + 0x8) = edx; /* 0x2B029E05: mov dword ptr [esi + 8], edx */ 3404 goto L_2B029E0C; /* 0x2B029E08: jmp 0x2b029e0c */ 3405 L_2B029E0A: 3406 MEM32(esi) = edx; /* 0x2B029E0A: mov dword ptr [esi], edx */ 3407 L_2B029E0C: 3408 MEM32(edx + 0x8) = ecx; /* 0x2B029E0C: mov dword ptr [edx + 8], ecx */ 3409 MEM32(ecx + 0x4) = edx; /* 0x2B029E0F: mov dword ptr [ecx + 4], edx */ 3410 edx = MEM32(eax + 0x4); /* 0x2B029E12: mov edx, dword ptr [eax + 4] */ 3411 ecx = MEM32(edx); /* 0x2B029E15: mov ecx, dword ptr [edx] */ 3412 L_2B029E17: 3413 edx = MEM32(ecx + 0x8); /* 0x2B029E17: mov edx, dword ptr [ecx + 8] */ 3414 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029E1A: cmp byte ptr [edx + 0x34], bl */ 3415 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3416 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3417 _flag_k = FK_NARROW(FK_CMP, 24); 3418 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029EF3; /* 0x2B029E1D: jne 0x2b029ef3 */ 3419 L_2B029E23: 3420 edx = MEM32(ecx); /* 0x2B029E23: mov edx, dword ptr [ecx] */ 3421 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029E25: cmp byte ptr [edx + 0x34], bl */ 3422 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3423 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3424 _flag_k = FK_NARROW(FK_CMP, 24); 3425 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029EF3; /* 0x2B029E28: jne 0x2b029ef3 */ 3426 L_2B029E2E: 3427 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029E2E: mov byte ptr [ecx + 0x34], 0 */ 3428 ecx = MEM32(edi + 0x4); /* 0x2B029E32: mov ecx, dword ptr [edi + 4] */ 3429 eax = MEM32(eax + 0x4); /* 0x2B029E35: mov eax, dword ptr [eax + 4] */ 3430 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B029E38: cmp eax, dword ptr [ecx + 4] */ 3431 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 3432 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3433 _flag_k = FK_CMP; 3434 RECOMP_BACKEDGE(); 3435 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D44; /* 0x2B029E3B: jne 0x2b029d44 */ 3436 L_2B029E41: 3437 goto L_2B029F92; /* 0x2B029E41: jmp 0x2b029f92 */ 3438 L_2B029E46: 3439 edx = MEM32(ecx + 0x8); /* 0x2B029E46: mov edx, dword ptr [ecx + 8] */ 3440 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029E49: cmp byte ptr [edx + 0x34], bl */ 3441 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3442 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3443 _flag_k = FK_NARROW(FK_CMP, 24); 3444 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E97; /* 0x2B029E4C: jne 0x2b029e97 */ 3445 L_2B029E4E: 3446 edx = MEM32(ecx); /* 0x2B029E4E: mov edx, dword ptr [ecx] */ 3447 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029E50: mov byte ptr [edx + 0x34], bl */ 3448 edx = MEM32(ecx); /* 0x2B029E53: mov edx, dword ptr [ecx] */ 3449 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029E55: mov byte ptr [ecx + 0x34], 0 */ 3450 esi = MEM32(edx + 0x8); /* 0x2B029E59: mov esi, dword ptr [edx + 8] */ 3451 MEM32(ecx) = esi; /* 0x2B029E5C: mov dword ptr [ecx], esi */ 3452 esi = MEM32(edx + 0x8); /* 0x2B029E5E: mov esi, dword ptr [edx + 8] */ 3453 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029E61: cmp esi, dword ptr [edi + 8] */ 3454 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3455 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3456 _flag_k = FK_CMP; 3457 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029E69; /* 0x2B029E64: je 0x2b029e69 */ 3458 L_2B029E66: 3459 MEM32(esi + 0x4) = ecx; /* 0x2B029E66: mov dword ptr [esi + 4], ecx */ 3460 L_2B029E69: 3461 esi = MEM32(ecx + 0x4); /* 0x2B029E69: mov esi, dword ptr [ecx + 4] */ 3462 MEM32(edx + 0x4) = esi; /* 0x2B029E6C: mov dword ptr [edx + 4], esi */ 3463 esi = MEM32(edi + 0x4); /* 0x2B029E6F: mov esi, dword ptr [edi + 4] */ 3464 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029E72: cmp ecx, dword ptr [esi + 4] */ 3465 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3466 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3467 _flag_k = FK_CMP; 3468 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E7C; /* 0x2B029E75: jne 0x2b029e7c */ 3469 L_2B029E77: 3470 MEM32(esi + 0x4) = edx; /* 0x2B029E77: mov dword ptr [esi + 4], edx */ 3471 goto L_2B029E8B; /* 0x2B029E7A: jmp 0x2b029e8b */ 3472 L_2B029E7C: 3473 esi = MEM32(ecx + 0x4); /* 0x2B029E7C: mov esi, dword ptr [ecx + 4] */ 3474 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029E7F: cmp ecx, dword ptr [esi + 8] */ 3475 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3476 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3477 _flag_k = FK_CMP; 3478 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E89; /* 0x2B029E82: jne 0x2b029e89 */ 3479 L_2B029E84: 3480 MEM32(esi + 0x8) = edx; /* 0x2B029E84: mov dword ptr [esi + 8], edx */ 3481 goto L_2B029E8B; /* 0x2B029E87: jmp 0x2b029e8b */ 3482 L_2B029E89: 3483 MEM32(esi) = edx; /* 0x2B029E89: mov dword ptr [esi], edx */ 3484 L_2B029E8B: 3485 MEM32(edx + 0x8) = ecx; /* 0x2B029E8B: mov dword ptr [edx + 8], ecx */ 3486 MEM32(ecx + 0x4) = edx; /* 0x2B029E8E: mov dword ptr [ecx + 4], edx */ 3487 ecx = MEM32(eax + 0x4); /* 0x2B029E91: mov ecx, dword ptr [eax + 4] */ 3488 ecx = MEM32(ecx + 0x8); /* 0x2B029E94: mov ecx, dword ptr [ecx + 8] */ 3489 L_2B029E97: 3490 edx = MEM32(eax + 0x4); /* 0x2B029E97: mov edx, dword ptr [eax + 4] */ 3491 SET_LO8(edx, MEM8(edx + 0x34)); /* 0x2B029E9A: mov dl, byte ptr [edx + 0x34] */ 3492 MEM8(ecx + 0x34) = (uint8_t)(LO8(edx)); /* 0x2B029E9D: mov byte ptr [ecx + 0x34], dl */ 3493 edx = MEM32(eax + 0x4); /* 0x2B029EA0: mov edx, dword ptr [eax + 4] */ 3494 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029EA3: mov byte ptr [edx + 0x34], bl */ 3495 ecx = MEM32(ecx + 0x8); /* 0x2B029EA6: mov ecx, dword ptr [ecx + 8] */ 3496 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029EA9: mov byte ptr [ecx + 0x34], bl */ 3497 ecx = MEM32(eax + 0x4); /* 0x2B029EAC: mov ecx, dword ptr [eax + 4] */ 3498 edx = MEM32(ecx + 0x8); /* 0x2B029EAF: mov edx, dword ptr [ecx + 8] */ 3499 esi = MEM32(edx); /* 0x2B029EB2: mov esi, dword ptr [edx] */ 3500 MEM32(ecx + 0x8) = esi; /* 0x2B029EB4: mov dword ptr [ecx + 8], esi */ 3501 esi = MEM32(edx); /* 0x2B029EB7: mov esi, dword ptr [edx] */ 3502 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029EB9: cmp esi, dword ptr [edi + 8] */ 3503 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3504 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3505 _flag_k = FK_CMP; 3506 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029EC1; /* 0x2B029EBC: je 0x2b029ec1 */ 3507 L_2B029EBE: 3508 MEM32(esi + 0x4) = ecx; /* 0x2B029EBE: mov dword ptr [esi + 4], ecx */ 3509 L_2B029EC1: 3510 esi = MEM32(ecx + 0x4); /* 0x2B029EC1: mov esi, dword ptr [ecx + 4] */ 3511 MEM32(edx + 0x4) = esi; /* 0x2B029EC4: mov dword ptr [edx + 4], esi */ 3512 esi = MEM32(edi + 0x4); /* 0x2B029EC7: mov esi, dword ptr [edi + 4] */ 3513 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029ECA: cmp ecx, dword ptr [esi + 4] */ 3514 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3515 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3516 _flag_k = FK_CMP; 3517 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029ED9; /* 0x2B029ECD: jne 0x2b029ed9 */ 3518 L_2B029ECF: 3519 MEM32(esi + 0x4) = edx; /* 0x2B029ECF: mov dword ptr [esi + 4], edx */ 3520 MEM32(edx) = ecx; /* 0x2B029ED2: mov dword ptr [edx], ecx */ 3521 goto L_2B029F8F; /* 0x2B029ED4: jmp 0x2b029f8f */ 3522 L_2B029ED9: 3523 esi = MEM32(ecx + 0x4); /* 0x2B029ED9: mov esi, dword ptr [ecx + 4] */ 3524 /* cmp ecx, MEM32(esi) */ /* 0x2B029EDC: cmp ecx, dword ptr [esi] */ 3525 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 3526 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3527 _flag_k = FK_CMP; 3528 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029EE9; /* 0x2B029EDE: jne 0x2b029ee9 */ 3529 L_2B029EE0: 3530 MEM32(esi) = edx; /* 0x2B029EE0: mov dword ptr [esi], edx */ 3531 MEM32(edx) = ecx; /* 0x2B029EE2: mov dword ptr [edx], ecx */ 3532 goto L_2B029F8F; /* 0x2B029EE4: jmp 0x2b029f8f */ 3533 L_2B029EE9: 3534 MEM32(esi + 0x8) = edx; /* 0x2B029EE9: mov dword ptr [esi + 8], edx */ 3535 MEM32(edx) = ecx; /* 0x2B029EEC: mov dword ptr [edx], ecx */ 3536 goto L_2B029F8F; /* 0x2B029EEE: jmp 0x2b029f8f */ 3537 L_2B029EF3: 3538 edx = MEM32(ecx); /* 0x2B029EF3: mov edx, dword ptr [ecx] */ 3539 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029EF5: cmp byte ptr [edx + 0x34], bl */ 3540 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3541 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3542 _flag_k = FK_NARROW(FK_CMP, 24); 3543 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F41; /* 0x2B029EF8: jne 0x2b029f41 */ 3544 L_2B029EFA: 3545 edx = MEM32(ecx + 0x8); /* 0x2B029EFA: mov edx, dword ptr [ecx + 8] */ 3546 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029EFD: mov byte ptr [edx + 0x34], bl */ 3547 edx = MEM32(ecx + 0x8); /* 0x2B029F00: mov edx, dword ptr [ecx + 8] */ 3548 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029F03: mov byte ptr [ecx + 0x34], 0 */ 3549 esi = MEM32(edx); /* 0x2B029F07: mov esi, dword ptr [edx] */ 3550 MEM32(ecx + 0x8) = esi; /* 0x2B029F09: mov dword ptr [ecx + 8], esi */ 3551 esi = MEM32(edx); /* 0x2B029F0C: mov esi, dword ptr [edx] */ 3552 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029F0E: cmp esi, dword ptr [edi + 8] */ 3553 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3554 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3555 _flag_k = FK_CMP; 3556 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029F16; /* 0x2B029F11: je 0x2b029f16 */ 3557 L_2B029F13: 3558 MEM32(esi + 0x4) = ecx; /* 0x2B029F13: mov dword ptr [esi + 4], ecx */ 3559 L_2B029F16: 3560 esi = MEM32(ecx + 0x4); /* 0x2B029F16: mov esi, dword ptr [ecx + 4] */ 3561 MEM32(edx + 0x4) = esi; /* 0x2B029F19: mov dword ptr [edx + 4], esi */ 3562 esi = MEM32(edi + 0x4); /* 0x2B029F1C: mov esi, dword ptr [edi + 4] */ 3563 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029F1F: cmp ecx, dword ptr [esi + 4] */ 3564 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3565 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3566 _flag_k = FK_CMP; 3567 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F29; /* 0x2B029F22: jne 0x2b029f29 */ 3568 L_2B029F24: 3569 MEM32(esi + 0x4) = edx; /* 0x2B029F24: mov dword ptr [esi + 4], edx */ 3570 goto L_2B029F37; /* 0x2B029F27: jmp 0x2b029f37 */ 3571 L_2B029F29: 3572 esi = MEM32(ecx + 0x4); /* 0x2B029F29: mov esi, dword ptr [ecx + 4] */ 3573 /* cmp ecx, MEM32(esi) */ /* 0x2B029F2C: cmp ecx, dword ptr [esi] */ 3574 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 3575 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3576 _flag_k = FK_CMP; 3577 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F34; /* 0x2B029F2E: jne 0x2b029f34 */ 3578 L_2B029F30: 3579 MEM32(esi) = edx; /* 0x2B029F30: mov dword ptr [esi], edx */ 3580 goto L_2B029F37; /* 0x2B029F32: jmp 0x2b029f37 */ 3581 L_2B029F34: 3582 MEM32(esi + 0x8) = edx; /* 0x2B029F34: mov dword ptr [esi + 8], edx */ 3583 L_2B029F37: 3584 MEM32(edx) = ecx; /* 0x2B029F37: mov dword ptr [edx], ecx */ 3585 MEM32(ecx + 0x4) = edx; /* 0x2B029F39: mov dword ptr [ecx + 4], edx */ 3586 ecx = MEM32(eax + 0x4); /* 0x2B029F3C: mov ecx, dword ptr [eax + 4] */ 3587 ecx = MEM32(ecx); /* 0x2B029F3F: mov ecx, dword ptr [ecx] */ 3588 L_2B029F41: 3589 edx = MEM32(eax + 0x4); /* 0x2B029F41: mov edx, dword ptr [eax + 4] */ 3590 SET_LO8(edx, MEM8(edx + 0x34)); /* 0x2B029F44: mov dl, byte ptr [edx + 0x34] */ 3591 MEM8(ecx + 0x34) = (uint8_t)(LO8(edx)); /* 0x2B029F47: mov byte ptr [ecx + 0x34], dl */ 3592 edx = MEM32(eax + 0x4); /* 0x2B029F4A: mov edx, dword ptr [eax + 4] */ 3593 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F4D: mov byte ptr [edx + 0x34], bl */ 3594 ecx = MEM32(ecx); /* 0x2B029F50: mov ecx, dword ptr [ecx] */ 3595 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F52: mov byte ptr [ecx + 0x34], bl */ 3596 ecx = MEM32(eax + 0x4); /* 0x2B029F55: mov ecx, dword ptr [eax + 4] */ 3597 edx = MEM32(ecx); /* 0x2B029F58: mov edx, dword ptr [ecx] */ 3598 esi = MEM32(edx + 0x8); /* 0x2B029F5A: mov esi, dword ptr [edx + 8] */ 3599 MEM32(ecx) = esi; /* 0x2B029F5D: mov dword ptr [ecx], esi */ 3600 esi = MEM32(edx + 0x8); /* 0x2B029F5F: mov esi, dword ptr [edx + 8] */ 3601 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029F62: cmp esi, dword ptr [edi + 8] */ 3602 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3603 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3604 _flag_k = FK_CMP; 3605 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029F6A; /* 0x2B029F65: je 0x2b029f6a */ 3606 L_2B029F67: 3607 MEM32(esi + 0x4) = ecx; /* 0x2B029F67: mov dword ptr [esi + 4], ecx */ 3608 L_2B029F6A: 3609 esi = MEM32(ecx + 0x4); /* 0x2B029F6A: mov esi, dword ptr [ecx + 4] */ 3610 MEM32(edx + 0x4) = esi; /* 0x2B029F6D: mov dword ptr [edx + 4], esi */ 3611 esi = MEM32(edi + 0x4); /* 0x2B029F70: mov esi, dword ptr [edi + 4] */ 3612 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029F73: cmp ecx, dword ptr [esi + 4] */ 3613 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3614 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3615 _flag_k = FK_CMP; 3616 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F7D; /* 0x2B029F76: jne 0x2b029f7d */ 3617 L_2B029F78: 3618 MEM32(esi + 0x4) = edx; /* 0x2B029F78: mov dword ptr [esi + 4], edx */ 3619 goto L_2B029F8C; /* 0x2B029F7B: jmp 0x2b029f8c */ 3620 L_2B029F7D: 3621 esi = MEM32(ecx + 0x4); /* 0x2B029F7D: mov esi, dword ptr [ecx + 4] */ 3622 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029F80: cmp ecx, dword ptr [esi + 8] */ 3623 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3624 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3625 _flag_k = FK_CMP; 3626 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F8A; /* 0x2B029F83: jne 0x2b029f8a */ 3627 L_2B029F85: 3628 MEM32(esi + 0x8) = edx; /* 0x2B029F85: mov dword ptr [esi + 8], edx */ 3629 goto L_2B029F8C; /* 0x2B029F88: jmp 0x2b029f8c */ 3630 L_2B029F8A: 3631 MEM32(esi) = edx; /* 0x2B029F8A: mov dword ptr [esi], edx */ 3632 L_2B029F8C: 3633 MEM32(edx + 0x8) = ecx; /* 0x2B029F8C: mov dword ptr [edx + 8], ecx */ 3634 L_2B029F8F: 3635 MEM32(ecx + 0x4) = edx; /* 0x2B029F8F: mov dword ptr [ecx + 4], edx */ 3636 L_2B029F92: 3637 esi = MEM32(ebp + (-0x4)); /* 0x2B029F92: mov esi, dword ptr [ebp - 4] */ 3638 MEM8(eax + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F95: mov byte ptr [eax + 0x34], bl */ 3639 L_2B029F98: 3640 ecx = esi + 0xC; /* 0x2B029F98: lea ecx, [esi + 0xc] */ 3641 RECOMP_ICALL(0x2B028990u); /* 0x2B029F9B: call 0x2b028990 */ /* not lifted */ 3642 RECOMP_FLAGS_IN(); 3643 PUSH32(esp, esi); /* 0x2B029FA0: push esi */ 3644 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B029FA1: call 0x2b0ab1ba */ /* not lifted */ 3645 RECOMP_FLAGS_IN(); 3646 eax = MEM32(edi + 0x10); /* 0x2B029FA6: mov eax, dword ptr [edi + 0x10] */ 3647 edx = MEM32(ebp + 0xC); /* 0x2B029FA9: mov edx, dword ptr [ebp + 0xc] */ 3648 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3649 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3650 esp = esp + 4; /* 0x2B029FAC: add esp, 4 */ 3651 _flag_k = FK_ADD; 3652 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3653 eax = eax - 1; /* 0x2B029FAF: dec eax */ 3654 _flag_k = FK_DEC; 3655 MEM32(edi + 0x10) = eax; /* 0x2B029FB0: mov dword ptr [edi + 0x10], eax */ 3656 eax = MEM32(ebp + 0x8); /* 0x2B029FB3: mov eax, dword ptr [ebp + 8] */ 3657 edi = POP32_VAL(esp); /* 0x2B029FB6: pop edi */ 3658 esi = POP32_VAL(esp); /* 0x2B029FB7: pop esi */ 3659 MEM32(eax) = edx; /* 0x2B029FB8: mov dword ptr [eax], edx */ 3660 ebx = POP32_VAL(esp); /* 0x2B029FBA: pop ebx */ 3661 esp = ebp; /* 0x2B029FBB: mov esp, ebp */ 3662 ebp = POP32_VAL(esp); /* 0x2B029FBD: pop ebp */ 3663 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B029FBE: ret 8 */ 3664 RECOMP_REGS_OUT(); 3665 } 3666 3667 void sub_2B029D25(void) { 3668 int _fpu_cmp = 0; 3669 uint32_t _cf = 0; 3670 int _df = 1; 3671 uint32_t _flag_k = FK_NONE; 3672 uint32_t _flag_a = 0, _flag_b = 0; 3673 uint32_t _itail_tgt = 0; 3674 RECOMP_REGS_LOCALS 3675 RECOMP_ENTER(0x2B029D25u); 3676 3677 L_2B029D25: 3678 MEM32(ebx + 0x8) = edx; /* 0x2B029D25: mov dword ptr [ebx + 8], edx */ 3679 esi = MEM32(ebp + (-0x4)); /* 0x2B029D28: mov esi, dword ptr [ebp - 4] */ 3680 SET_LO8(ecx, MEM8(esi + 0x34)); /* 0x2B029D2B: mov cl, byte ptr [esi + 0x34] */ 3681 SET_LO8(ebx, 1); /* 0x2B029D2E: mov bl, 1 */ 3682 /* cmp LO8(ecx), LO8(ebx) */ /* 0x2B029D30: cmp cl, bl */ 3683 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3684 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3685 _flag_k = FK_NARROW(FK_CMP, 24); 3686 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F98; /* 0x2B029D32: jne 0x2b029f98 */ 3687 L_2B029D38: 3688 ecx = MEM32(edi + 0x4); /* 0x2B029D38: mov ecx, dword ptr [edi + 4] */ 3689 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B029D3B: cmp eax, dword ptr [ecx + 4] */ 3690 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 3691 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3692 _flag_k = FK_CMP; 3693 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029F92; /* 0x2B029D3E: je 0x2b029f92 */ 3694 L_2B029D44: 3695 /* cmp MEM8(eax + 0x34), LO8(ebx) */ /* 0x2B029D44: cmp byte ptr [eax + 0x34], bl */ 3696 _flag_a = (uint32_t)(MEM8(eax + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3697 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3698 _flag_k = FK_NARROW(FK_CMP, 24); 3699 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F92; /* 0x2B029D47: jne 0x2b029f92 */ 3700 L_2B029D4D: 3701 edx = MEM32(eax + 0x4); /* 0x2B029D4D: mov edx, dword ptr [eax + 4] */ 3702 ecx = MEM32(edx); /* 0x2B029D50: mov ecx, dword ptr [edx] */ 3703 /* cmp eax, ecx */ /* 0x2B029D52: cmp eax, ecx */ 3704 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 3705 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3706 _flag_k = FK_CMP; 3707 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029DC4; /* 0x2B029D54: jne 0x2b029dc4 */ 3708 L_2B029D56: 3709 ecx = MEM32(edx + 0x8); /* 0x2B029D56: mov ecx, dword ptr [edx + 8] */ 3710 SET_LO8(edx, MEM8(ecx + 0x34)); /* 0x2B029D59: mov dl, byte ptr [ecx + 0x34] */ 3711 /* test LO8(edx), LO8(edx) */ /* 0x2B029D5C: test dl, dl */ 3712 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 3713 _cf = 0; 3714 _flag_k = FK_NARROW(FK_TEST, 24); 3715 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B029DAB; /* 0x2B029D5E: jne 0x2b029dab */ 3716 L_2B029D60: 3717 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029D60: mov byte ptr [ecx + 0x34], bl */ 3718 edx = MEM32(eax + 0x4); /* 0x2B029D63: mov edx, dword ptr [eax + 4] */ 3719 MEM8(edx + 0x34) = (uint8_t)(0); /* 0x2B029D66: mov byte ptr [edx + 0x34], 0 */ 3720 ecx = MEM32(eax + 0x4); /* 0x2B029D6A: mov ecx, dword ptr [eax + 4] */ 3721 edx = MEM32(ecx + 0x8); /* 0x2B029D6D: mov edx, dword ptr [ecx + 8] */ 3722 esi = MEM32(edx); /* 0x2B029D70: mov esi, dword ptr [edx] */ 3723 MEM32(ecx + 0x8) = esi; /* 0x2B029D72: mov dword ptr [ecx + 8], esi */ 3724 esi = MEM32(edx); /* 0x2B029D75: mov esi, dword ptr [edx] */ 3725 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029D77: cmp esi, dword ptr [edi + 8] */ 3726 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3727 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3728 _flag_k = FK_CMP; 3729 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029D7F; /* 0x2B029D7A: je 0x2b029d7f */ 3730 L_2B029D7C: 3731 MEM32(esi + 0x4) = ecx; /* 0x2B029D7C: mov dword ptr [esi + 4], ecx */ 3732 L_2B029D7F: 3733 esi = MEM32(ecx + 0x4); /* 0x2B029D7F: mov esi, dword ptr [ecx + 4] */ 3734 MEM32(edx + 0x4) = esi; /* 0x2B029D82: mov dword ptr [edx + 4], esi */ 3735 esi = MEM32(edi + 0x4); /* 0x2B029D85: mov esi, dword ptr [edi + 4] */ 3736 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029D88: cmp ecx, dword ptr [esi + 4] */ 3737 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3738 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3739 _flag_k = FK_CMP; 3740 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D92; /* 0x2B029D8B: jne 0x2b029d92 */ 3741 L_2B029D8D: 3742 MEM32(esi + 0x4) = edx; /* 0x2B029D8D: mov dword ptr [esi + 4], edx */ 3743 goto L_2B029DA0; /* 0x2B029D90: jmp 0x2b029da0 */ 3744 L_2B029D92: 3745 esi = MEM32(ecx + 0x4); /* 0x2B029D92: mov esi, dword ptr [ecx + 4] */ 3746 /* cmp ecx, MEM32(esi) */ /* 0x2B029D95: cmp ecx, dword ptr [esi] */ 3747 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 3748 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3749 _flag_k = FK_CMP; 3750 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D9D; /* 0x2B029D97: jne 0x2b029d9d */ 3751 L_2B029D99: 3752 MEM32(esi) = edx; /* 0x2B029D99: mov dword ptr [esi], edx */ 3753 goto L_2B029DA0; /* 0x2B029D9B: jmp 0x2b029da0 */ 3754 L_2B029D9D: 3755 MEM32(esi + 0x8) = edx; /* 0x2B029D9D: mov dword ptr [esi + 8], edx */ 3756 L_2B029DA0: 3757 MEM32(edx) = ecx; /* 0x2B029DA0: mov dword ptr [edx], ecx */ 3758 MEM32(ecx + 0x4) = edx; /* 0x2B029DA2: mov dword ptr [ecx + 4], edx */ 3759 ecx = MEM32(eax + 0x4); /* 0x2B029DA5: mov ecx, dword ptr [eax + 4] */ 3760 ecx = MEM32(ecx + 0x8); /* 0x2B029DA8: mov ecx, dword ptr [ecx + 8] */ 3761 L_2B029DAB: 3762 edx = MEM32(ecx); /* 0x2B029DAB: mov edx, dword ptr [ecx] */ 3763 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029DAD: cmp byte ptr [edx + 0x34], bl */ 3764 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3765 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3766 _flag_k = FK_NARROW(FK_CMP, 24); 3767 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E46; /* 0x2B029DB0: jne 0x2b029e46 */ 3768 L_2B029DB6: 3769 edx = MEM32(ecx + 0x8); /* 0x2B029DB6: mov edx, dword ptr [ecx + 8] */ 3770 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029DB9: cmp byte ptr [edx + 0x34], bl */ 3771 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3772 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3773 _flag_k = FK_NARROW(FK_CMP, 24); 3774 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E46; /* 0x2B029DBC: jne 0x2b029e46 */ 3775 L_2B029DC2: 3776 goto L_2B029E2E; /* 0x2B029DC2: jmp 0x2b029e2e */ 3777 L_2B029DC4: 3778 SET_LO8(edx, MEM8(ecx + 0x34)); /* 0x2B029DC4: mov dl, byte ptr [ecx + 0x34] */ 3779 /* test LO8(edx), LO8(edx) */ /* 0x2B029DC7: test dl, dl */ 3780 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 3781 _cf = 0; 3782 _flag_k = FK_NARROW(FK_TEST, 24); 3783 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B029E17; /* 0x2B029DC9: jne 0x2b029e17 */ 3784 L_2B029DCB: 3785 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029DCB: mov byte ptr [ecx + 0x34], bl */ 3786 ecx = MEM32(eax + 0x4); /* 0x2B029DCE: mov ecx, dword ptr [eax + 4] */ 3787 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029DD1: mov byte ptr [ecx + 0x34], 0 */ 3788 ecx = MEM32(eax + 0x4); /* 0x2B029DD5: mov ecx, dword ptr [eax + 4] */ 3789 edx = MEM32(ecx); /* 0x2B029DD8: mov edx, dword ptr [ecx] */ 3790 esi = MEM32(edx + 0x8); /* 0x2B029DDA: mov esi, dword ptr [edx + 8] */ 3791 MEM32(ecx) = esi; /* 0x2B029DDD: mov dword ptr [ecx], esi */ 3792 esi = MEM32(edx + 0x8); /* 0x2B029DDF: mov esi, dword ptr [edx + 8] */ 3793 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029DE2: cmp esi, dword ptr [edi + 8] */ 3794 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3795 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3796 _flag_k = FK_CMP; 3797 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029DEA; /* 0x2B029DE5: je 0x2b029dea */ 3798 L_2B029DE7: 3799 MEM32(esi + 0x4) = ecx; /* 0x2B029DE7: mov dword ptr [esi + 4], ecx */ 3800 L_2B029DEA: 3801 esi = MEM32(ecx + 0x4); /* 0x2B029DEA: mov esi, dword ptr [ecx + 4] */ 3802 MEM32(edx + 0x4) = esi; /* 0x2B029DED: mov dword ptr [edx + 4], esi */ 3803 esi = MEM32(edi + 0x4); /* 0x2B029DF0: mov esi, dword ptr [edi + 4] */ 3804 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029DF3: cmp ecx, dword ptr [esi + 4] */ 3805 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3806 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3807 _flag_k = FK_CMP; 3808 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029DFD; /* 0x2B029DF6: jne 0x2b029dfd */ 3809 L_2B029DF8: 3810 MEM32(esi + 0x4) = edx; /* 0x2B029DF8: mov dword ptr [esi + 4], edx */ 3811 goto L_2B029E0C; /* 0x2B029DFB: jmp 0x2b029e0c */ 3812 L_2B029DFD: 3813 esi = MEM32(ecx + 0x4); /* 0x2B029DFD: mov esi, dword ptr [ecx + 4] */ 3814 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029E00: cmp ecx, dword ptr [esi + 8] */ 3815 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3816 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3817 _flag_k = FK_CMP; 3818 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E0A; /* 0x2B029E03: jne 0x2b029e0a */ 3819 L_2B029E05: 3820 MEM32(esi + 0x8) = edx; /* 0x2B029E05: mov dword ptr [esi + 8], edx */ 3821 goto L_2B029E0C; /* 0x2B029E08: jmp 0x2b029e0c */ 3822 L_2B029E0A: 3823 MEM32(esi) = edx; /* 0x2B029E0A: mov dword ptr [esi], edx */ 3824 L_2B029E0C: 3825 MEM32(edx + 0x8) = ecx; /* 0x2B029E0C: mov dword ptr [edx + 8], ecx */ 3826 MEM32(ecx + 0x4) = edx; /* 0x2B029E0F: mov dword ptr [ecx + 4], edx */ 3827 edx = MEM32(eax + 0x4); /* 0x2B029E12: mov edx, dword ptr [eax + 4] */ 3828 ecx = MEM32(edx); /* 0x2B029E15: mov ecx, dword ptr [edx] */ 3829 L_2B029E17: 3830 edx = MEM32(ecx + 0x8); /* 0x2B029E17: mov edx, dword ptr [ecx + 8] */ 3831 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029E1A: cmp byte ptr [edx + 0x34], bl */ 3832 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3833 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3834 _flag_k = FK_NARROW(FK_CMP, 24); 3835 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029EF3; /* 0x2B029E1D: jne 0x2b029ef3 */ 3836 L_2B029E23: 3837 edx = MEM32(ecx); /* 0x2B029E23: mov edx, dword ptr [ecx] */ 3838 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029E25: cmp byte ptr [edx + 0x34], bl */ 3839 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3840 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3841 _flag_k = FK_NARROW(FK_CMP, 24); 3842 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029EF3; /* 0x2B029E28: jne 0x2b029ef3 */ 3843 L_2B029E2E: 3844 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029E2E: mov byte ptr [ecx + 0x34], 0 */ 3845 ecx = MEM32(edi + 0x4); /* 0x2B029E32: mov ecx, dword ptr [edi + 4] */ 3846 eax = MEM32(eax + 0x4); /* 0x2B029E35: mov eax, dword ptr [eax + 4] */ 3847 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B029E38: cmp eax, dword ptr [ecx + 4] */ 3848 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 3849 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3850 _flag_k = FK_CMP; 3851 RECOMP_BACKEDGE(); 3852 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D44; /* 0x2B029E3B: jne 0x2b029d44 */ 3853 L_2B029E41: 3854 goto L_2B029F92; /* 0x2B029E41: jmp 0x2b029f92 */ 3855 L_2B029E46: 3856 edx = MEM32(ecx + 0x8); /* 0x2B029E46: mov edx, dword ptr [ecx + 8] */ 3857 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029E49: cmp byte ptr [edx + 0x34], bl */ 3858 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3859 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3860 _flag_k = FK_NARROW(FK_CMP, 24); 3861 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E97; /* 0x2B029E4C: jne 0x2b029e97 */ 3862 L_2B029E4E: 3863 edx = MEM32(ecx); /* 0x2B029E4E: mov edx, dword ptr [ecx] */ 3864 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029E50: mov byte ptr [edx + 0x34], bl */ 3865 edx = MEM32(ecx); /* 0x2B029E53: mov edx, dword ptr [ecx] */ 3866 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029E55: mov byte ptr [ecx + 0x34], 0 */ 3867 esi = MEM32(edx + 0x8); /* 0x2B029E59: mov esi, dword ptr [edx + 8] */ 3868 MEM32(ecx) = esi; /* 0x2B029E5C: mov dword ptr [ecx], esi */ 3869 esi = MEM32(edx + 0x8); /* 0x2B029E5E: mov esi, dword ptr [edx + 8] */ 3870 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029E61: cmp esi, dword ptr [edi + 8] */ 3871 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3872 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3873 _flag_k = FK_CMP; 3874 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029E69; /* 0x2B029E64: je 0x2b029e69 */ 3875 L_2B029E66: 3876 MEM32(esi + 0x4) = ecx; /* 0x2B029E66: mov dword ptr [esi + 4], ecx */ 3877 L_2B029E69: 3878 esi = MEM32(ecx + 0x4); /* 0x2B029E69: mov esi, dword ptr [ecx + 4] */ 3879 MEM32(edx + 0x4) = esi; /* 0x2B029E6C: mov dword ptr [edx + 4], esi */ 3880 esi = MEM32(edi + 0x4); /* 0x2B029E6F: mov esi, dword ptr [edi + 4] */ 3881 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029E72: cmp ecx, dword ptr [esi + 4] */ 3882 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3883 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3884 _flag_k = FK_CMP; 3885 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E7C; /* 0x2B029E75: jne 0x2b029e7c */ 3886 L_2B029E77: 3887 MEM32(esi + 0x4) = edx; /* 0x2B029E77: mov dword ptr [esi + 4], edx */ 3888 goto L_2B029E8B; /* 0x2B029E7A: jmp 0x2b029e8b */ 3889 L_2B029E7C: 3890 esi = MEM32(ecx + 0x4); /* 0x2B029E7C: mov esi, dword ptr [ecx + 4] */ 3891 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029E7F: cmp ecx, dword ptr [esi + 8] */ 3892 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3893 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3894 _flag_k = FK_CMP; 3895 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E89; /* 0x2B029E82: jne 0x2b029e89 */ 3896 L_2B029E84: 3897 MEM32(esi + 0x8) = edx; /* 0x2B029E84: mov dword ptr [esi + 8], edx */ 3898 goto L_2B029E8B; /* 0x2B029E87: jmp 0x2b029e8b */ 3899 L_2B029E89: 3900 MEM32(esi) = edx; /* 0x2B029E89: mov dword ptr [esi], edx */ 3901 L_2B029E8B: 3902 MEM32(edx + 0x8) = ecx; /* 0x2B029E8B: mov dword ptr [edx + 8], ecx */ 3903 MEM32(ecx + 0x4) = edx; /* 0x2B029E8E: mov dword ptr [ecx + 4], edx */ 3904 ecx = MEM32(eax + 0x4); /* 0x2B029E91: mov ecx, dword ptr [eax + 4] */ 3905 ecx = MEM32(ecx + 0x8); /* 0x2B029E94: mov ecx, dword ptr [ecx + 8] */ 3906 L_2B029E97: 3907 edx = MEM32(eax + 0x4); /* 0x2B029E97: mov edx, dword ptr [eax + 4] */ 3908 SET_LO8(edx, MEM8(edx + 0x34)); /* 0x2B029E9A: mov dl, byte ptr [edx + 0x34] */ 3909 MEM8(ecx + 0x34) = (uint8_t)(LO8(edx)); /* 0x2B029E9D: mov byte ptr [ecx + 0x34], dl */ 3910 edx = MEM32(eax + 0x4); /* 0x2B029EA0: mov edx, dword ptr [eax + 4] */ 3911 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029EA3: mov byte ptr [edx + 0x34], bl */ 3912 ecx = MEM32(ecx + 0x8); /* 0x2B029EA6: mov ecx, dword ptr [ecx + 8] */ 3913 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029EA9: mov byte ptr [ecx + 0x34], bl */ 3914 ecx = MEM32(eax + 0x4); /* 0x2B029EAC: mov ecx, dword ptr [eax + 4] */ 3915 edx = MEM32(ecx + 0x8); /* 0x2B029EAF: mov edx, dword ptr [ecx + 8] */ 3916 esi = MEM32(edx); /* 0x2B029EB2: mov esi, dword ptr [edx] */ 3917 MEM32(ecx + 0x8) = esi; /* 0x2B029EB4: mov dword ptr [ecx + 8], esi */ 3918 esi = MEM32(edx); /* 0x2B029EB7: mov esi, dword ptr [edx] */ 3919 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029EB9: cmp esi, dword ptr [edi + 8] */ 3920 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3921 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3922 _flag_k = FK_CMP; 3923 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029EC1; /* 0x2B029EBC: je 0x2b029ec1 */ 3924 L_2B029EBE: 3925 MEM32(esi + 0x4) = ecx; /* 0x2B029EBE: mov dword ptr [esi + 4], ecx */ 3926 L_2B029EC1: 3927 esi = MEM32(ecx + 0x4); /* 0x2B029EC1: mov esi, dword ptr [ecx + 4] */ 3928 MEM32(edx + 0x4) = esi; /* 0x2B029EC4: mov dword ptr [edx + 4], esi */ 3929 esi = MEM32(edi + 0x4); /* 0x2B029EC7: mov esi, dword ptr [edi + 4] */ 3930 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029ECA: cmp ecx, dword ptr [esi + 4] */ 3931 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3932 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3933 _flag_k = FK_CMP; 3934 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029ED9; /* 0x2B029ECD: jne 0x2b029ed9 */ 3935 L_2B029ECF: 3936 MEM32(esi + 0x4) = edx; /* 0x2B029ECF: mov dword ptr [esi + 4], edx */ 3937 MEM32(edx) = ecx; /* 0x2B029ED2: mov dword ptr [edx], ecx */ 3938 goto L_2B029F8F; /* 0x2B029ED4: jmp 0x2b029f8f */ 3939 L_2B029ED9: 3940 esi = MEM32(ecx + 0x4); /* 0x2B029ED9: mov esi, dword ptr [ecx + 4] */ 3941 /* cmp ecx, MEM32(esi) */ /* 0x2B029EDC: cmp ecx, dword ptr [esi] */ 3942 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 3943 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3944 _flag_k = FK_CMP; 3945 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029EE9; /* 0x2B029EDE: jne 0x2b029ee9 */ 3946 L_2B029EE0: 3947 MEM32(esi) = edx; /* 0x2B029EE0: mov dword ptr [esi], edx */ 3948 MEM32(edx) = ecx; /* 0x2B029EE2: mov dword ptr [edx], ecx */ 3949 goto L_2B029F8F; /* 0x2B029EE4: jmp 0x2b029f8f */ 3950 L_2B029EE9: 3951 MEM32(esi + 0x8) = edx; /* 0x2B029EE9: mov dword ptr [esi + 8], edx */ 3952 MEM32(edx) = ecx; /* 0x2B029EEC: mov dword ptr [edx], ecx */ 3953 goto L_2B029F8F; /* 0x2B029EEE: jmp 0x2b029f8f */ 3954 L_2B029EF3: 3955 edx = MEM32(ecx); /* 0x2B029EF3: mov edx, dword ptr [ecx] */ 3956 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029EF5: cmp byte ptr [edx + 0x34], bl */ 3957 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3958 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3959 _flag_k = FK_NARROW(FK_CMP, 24); 3960 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F41; /* 0x2B029EF8: jne 0x2b029f41 */ 3961 L_2B029EFA: 3962 edx = MEM32(ecx + 0x8); /* 0x2B029EFA: mov edx, dword ptr [ecx + 8] */ 3963 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029EFD: mov byte ptr [edx + 0x34], bl */ 3964 edx = MEM32(ecx + 0x8); /* 0x2B029F00: mov edx, dword ptr [ecx + 8] */ 3965 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029F03: mov byte ptr [ecx + 0x34], 0 */ 3966 esi = MEM32(edx); /* 0x2B029F07: mov esi, dword ptr [edx] */ 3967 MEM32(ecx + 0x8) = esi; /* 0x2B029F09: mov dword ptr [ecx + 8], esi */ 3968 esi = MEM32(edx); /* 0x2B029F0C: mov esi, dword ptr [edx] */ 3969 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029F0E: cmp esi, dword ptr [edi + 8] */ 3970 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3971 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3972 _flag_k = FK_CMP; 3973 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029F16; /* 0x2B029F11: je 0x2b029f16 */ 3974 L_2B029F13: 3975 MEM32(esi + 0x4) = ecx; /* 0x2B029F13: mov dword ptr [esi + 4], ecx */ 3976 L_2B029F16: 3977 esi = MEM32(ecx + 0x4); /* 0x2B029F16: mov esi, dword ptr [ecx + 4] */ 3978 MEM32(edx + 0x4) = esi; /* 0x2B029F19: mov dword ptr [edx + 4], esi */ 3979 esi = MEM32(edi + 0x4); /* 0x2B029F1C: mov esi, dword ptr [edi + 4] */ 3980 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029F1F: cmp ecx, dword ptr [esi + 4] */ 3981 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3982 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3983 _flag_k = FK_CMP; 3984 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F29; /* 0x2B029F22: jne 0x2b029f29 */ 3985 L_2B029F24: 3986 MEM32(esi + 0x4) = edx; /* 0x2B029F24: mov dword ptr [esi + 4], edx */ 3987 goto L_2B029F37; /* 0x2B029F27: jmp 0x2b029f37 */ 3988 L_2B029F29: 3989 esi = MEM32(ecx + 0x4); /* 0x2B029F29: mov esi, dword ptr [ecx + 4] */ 3990 /* cmp ecx, MEM32(esi) */ /* 0x2B029F2C: cmp ecx, dword ptr [esi] */ 3991 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 3992 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3993 _flag_k = FK_CMP; 3994 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F34; /* 0x2B029F2E: jne 0x2b029f34 */ 3995 L_2B029F30: 3996 MEM32(esi) = edx; /* 0x2B029F30: mov dword ptr [esi], edx */ 3997 goto L_2B029F37; /* 0x2B029F32: jmp 0x2b029f37 */ 3998 L_2B029F34: 3999 MEM32(esi + 0x8) = edx; /* 0x2B029F34: mov dword ptr [esi + 8], edx */ 4000 L_2B029F37: 4001 MEM32(edx) = ecx; /* 0x2B029F37: mov dword ptr [edx], ecx */ 4002 MEM32(ecx + 0x4) = edx; /* 0x2B029F39: mov dword ptr [ecx + 4], edx */ 4003 ecx = MEM32(eax + 0x4); /* 0x2B029F3C: mov ecx, dword ptr [eax + 4] */ 4004 ecx = MEM32(ecx); /* 0x2B029F3F: mov ecx, dword ptr [ecx] */ 4005 L_2B029F41: 4006 edx = MEM32(eax + 0x4); /* 0x2B029F41: mov edx, dword ptr [eax + 4] */ 4007 SET_LO8(edx, MEM8(edx + 0x34)); /* 0x2B029F44: mov dl, byte ptr [edx + 0x34] */ 4008 MEM8(ecx + 0x34) = (uint8_t)(LO8(edx)); /* 0x2B029F47: mov byte ptr [ecx + 0x34], dl */ 4009 edx = MEM32(eax + 0x4); /* 0x2B029F4A: mov edx, dword ptr [eax + 4] */ 4010 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F4D: mov byte ptr [edx + 0x34], bl */ 4011 ecx = MEM32(ecx); /* 0x2B029F50: mov ecx, dword ptr [ecx] */ 4012 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F52: mov byte ptr [ecx + 0x34], bl */ 4013 ecx = MEM32(eax + 0x4); /* 0x2B029F55: mov ecx, dword ptr [eax + 4] */ 4014 edx = MEM32(ecx); /* 0x2B029F58: mov edx, dword ptr [ecx] */ 4015 esi = MEM32(edx + 0x8); /* 0x2B029F5A: mov esi, dword ptr [edx + 8] */ 4016 MEM32(ecx) = esi; /* 0x2B029F5D: mov dword ptr [ecx], esi */ 4017 esi = MEM32(edx + 0x8); /* 0x2B029F5F: mov esi, dword ptr [edx + 8] */ 4018 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029F62: cmp esi, dword ptr [edi + 8] */ 4019 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4020 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4021 _flag_k = FK_CMP; 4022 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029F6A; /* 0x2B029F65: je 0x2b029f6a */ 4023 L_2B029F67: 4024 MEM32(esi + 0x4) = ecx; /* 0x2B029F67: mov dword ptr [esi + 4], ecx */ 4025 L_2B029F6A: 4026 esi = MEM32(ecx + 0x4); /* 0x2B029F6A: mov esi, dword ptr [ecx + 4] */ 4027 MEM32(edx + 0x4) = esi; /* 0x2B029F6D: mov dword ptr [edx + 4], esi */ 4028 esi = MEM32(edi + 0x4); /* 0x2B029F70: mov esi, dword ptr [edi + 4] */ 4029 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029F73: cmp ecx, dword ptr [esi + 4] */ 4030 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4031 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4032 _flag_k = FK_CMP; 4033 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F7D; /* 0x2B029F76: jne 0x2b029f7d */ 4034 L_2B029F78: 4035 MEM32(esi + 0x4) = edx; /* 0x2B029F78: mov dword ptr [esi + 4], edx */ 4036 goto L_2B029F8C; /* 0x2B029F7B: jmp 0x2b029f8c */ 4037 L_2B029F7D: 4038 esi = MEM32(ecx + 0x4); /* 0x2B029F7D: mov esi, dword ptr [ecx + 4] */ 4039 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029F80: cmp ecx, dword ptr [esi + 8] */ 4040 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4041 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4042 _flag_k = FK_CMP; 4043 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F8A; /* 0x2B029F83: jne 0x2b029f8a */ 4044 L_2B029F85: 4045 MEM32(esi + 0x8) = edx; /* 0x2B029F85: mov dword ptr [esi + 8], edx */ 4046 goto L_2B029F8C; /* 0x2B029F88: jmp 0x2b029f8c */ 4047 L_2B029F8A: 4048 MEM32(esi) = edx; /* 0x2B029F8A: mov dword ptr [esi], edx */ 4049 L_2B029F8C: 4050 MEM32(edx + 0x8) = ecx; /* 0x2B029F8C: mov dword ptr [edx + 8], ecx */ 4051 L_2B029F8F: 4052 MEM32(ecx + 0x4) = edx; /* 0x2B029F8F: mov dword ptr [ecx + 4], edx */ 4053 L_2B029F92: 4054 esi = MEM32(ebp + (-0x4)); /* 0x2B029F92: mov esi, dword ptr [ebp - 4] */ 4055 MEM8(eax + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F95: mov byte ptr [eax + 0x34], bl */ 4056 L_2B029F98: 4057 ecx = esi + 0xC; /* 0x2B029F98: lea ecx, [esi + 0xc] */ 4058 RECOMP_ICALL(0x2B028990u); /* 0x2B029F9B: call 0x2b028990 */ /* not lifted */ 4059 RECOMP_FLAGS_IN(); 4060 PUSH32(esp, esi); /* 0x2B029FA0: push esi */ 4061 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B029FA1: call 0x2b0ab1ba */ /* not lifted */ 4062 RECOMP_FLAGS_IN(); 4063 eax = MEM32(edi + 0x10); /* 0x2B029FA6: mov eax, dword ptr [edi + 0x10] */ 4064 edx = MEM32(ebp + 0xC); /* 0x2B029FA9: mov edx, dword ptr [ebp + 0xc] */ 4065 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4066 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4067 esp = esp + 4; /* 0x2B029FAC: add esp, 4 */ 4068 _flag_k = FK_ADD; 4069 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 4070 eax = eax - 1; /* 0x2B029FAF: dec eax */ 4071 _flag_k = FK_DEC; 4072 MEM32(edi + 0x10) = eax; /* 0x2B029FB0: mov dword ptr [edi + 0x10], eax */ 4073 eax = MEM32(ebp + 0x8); /* 0x2B029FB3: mov eax, dword ptr [ebp + 8] */ 4074 edi = POP32_VAL(esp); /* 0x2B029FB6: pop edi */ 4075 esi = POP32_VAL(esp); /* 0x2B029FB7: pop esi */ 4076 MEM32(eax) = edx; /* 0x2B029FB8: mov dword ptr [eax], edx */ 4077 ebx = POP32_VAL(esp); /* 0x2B029FBA: pop ebx */ 4078 esp = ebp; /* 0x2B029FBB: mov esp, ebp */ 4079 ebp = POP32_VAL(esp); /* 0x2B029FBD: pop ebp */ 4080 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B029FBE: ret 8 */ 4081 RECOMP_REGS_OUT(); 4082 } 4083 4084 void sub_2B029D44(void) { 4085 int _fpu_cmp = 0; 4086 uint32_t _cf = 0; 4087 int _df = 1; 4088 uint32_t _flag_k = FK_NONE; 4089 uint32_t _flag_a = 0, _flag_b = 0; 4090 uint32_t _itail_tgt = 0; 4091 RECOMP_REGS_LOCALS 4092 RECOMP_ENTER(0x2B029D44u); 4093 4094 L_2B029D44: 4095 /* cmp MEM8(eax + 0x34), LO8(ebx) */ /* 0x2B029D44: cmp byte ptr [eax + 0x34], bl */ 4096 _flag_a = (uint32_t)(MEM8(eax + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4097 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4098 _flag_k = FK_NARROW(FK_CMP, 24); 4099 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F92; /* 0x2B029D47: jne 0x2b029f92 */ 4100 L_2B029D4D: 4101 edx = MEM32(eax + 0x4); /* 0x2B029D4D: mov edx, dword ptr [eax + 4] */ 4102 ecx = MEM32(edx); /* 0x2B029D50: mov ecx, dword ptr [edx] */ 4103 /* cmp eax, ecx */ /* 0x2B029D52: cmp eax, ecx */ 4104 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 4105 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4106 _flag_k = FK_CMP; 4107 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029DC4; /* 0x2B029D54: jne 0x2b029dc4 */ 4108 L_2B029D56: 4109 ecx = MEM32(edx + 0x8); /* 0x2B029D56: mov ecx, dword ptr [edx + 8] */ 4110 SET_LO8(edx, MEM8(ecx + 0x34)); /* 0x2B029D59: mov dl, byte ptr [ecx + 0x34] */ 4111 /* test LO8(edx), LO8(edx) */ /* 0x2B029D5C: test dl, dl */ 4112 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 4113 _cf = 0; 4114 _flag_k = FK_NARROW(FK_TEST, 24); 4115 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B029DAB; /* 0x2B029D5E: jne 0x2b029dab */ 4116 L_2B029D60: 4117 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029D60: mov byte ptr [ecx + 0x34], bl */ 4118 edx = MEM32(eax + 0x4); /* 0x2B029D63: mov edx, dword ptr [eax + 4] */ 4119 MEM8(edx + 0x34) = (uint8_t)(0); /* 0x2B029D66: mov byte ptr [edx + 0x34], 0 */ 4120 ecx = MEM32(eax + 0x4); /* 0x2B029D6A: mov ecx, dword ptr [eax + 4] */ 4121 edx = MEM32(ecx + 0x8); /* 0x2B029D6D: mov edx, dword ptr [ecx + 8] */ 4122 esi = MEM32(edx); /* 0x2B029D70: mov esi, dword ptr [edx] */ 4123 MEM32(ecx + 0x8) = esi; /* 0x2B029D72: mov dword ptr [ecx + 8], esi */ 4124 esi = MEM32(edx); /* 0x2B029D75: mov esi, dword ptr [edx] */ 4125 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029D77: cmp esi, dword ptr [edi + 8] */ 4126 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4127 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4128 _flag_k = FK_CMP; 4129 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029D7F; /* 0x2B029D7A: je 0x2b029d7f */ 4130 L_2B029D7C: 4131 MEM32(esi + 0x4) = ecx; /* 0x2B029D7C: mov dword ptr [esi + 4], ecx */ 4132 L_2B029D7F: 4133 esi = MEM32(ecx + 0x4); /* 0x2B029D7F: mov esi, dword ptr [ecx + 4] */ 4134 MEM32(edx + 0x4) = esi; /* 0x2B029D82: mov dword ptr [edx + 4], esi */ 4135 esi = MEM32(edi + 0x4); /* 0x2B029D85: mov esi, dword ptr [edi + 4] */ 4136 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029D88: cmp ecx, dword ptr [esi + 4] */ 4137 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4138 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4139 _flag_k = FK_CMP; 4140 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D92; /* 0x2B029D8B: jne 0x2b029d92 */ 4141 L_2B029D8D: 4142 MEM32(esi + 0x4) = edx; /* 0x2B029D8D: mov dword ptr [esi + 4], edx */ 4143 goto L_2B029DA0; /* 0x2B029D90: jmp 0x2b029da0 */ 4144 L_2B029D92: 4145 esi = MEM32(ecx + 0x4); /* 0x2B029D92: mov esi, dword ptr [ecx + 4] */ 4146 /* cmp ecx, MEM32(esi) */ /* 0x2B029D95: cmp ecx, dword ptr [esi] */ 4147 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 4148 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4149 _flag_k = FK_CMP; 4150 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D9D; /* 0x2B029D97: jne 0x2b029d9d */ 4151 L_2B029D99: 4152 MEM32(esi) = edx; /* 0x2B029D99: mov dword ptr [esi], edx */ 4153 goto L_2B029DA0; /* 0x2B029D9B: jmp 0x2b029da0 */ 4154 L_2B029D9D: 4155 MEM32(esi + 0x8) = edx; /* 0x2B029D9D: mov dword ptr [esi + 8], edx */ 4156 L_2B029DA0: 4157 MEM32(edx) = ecx; /* 0x2B029DA0: mov dword ptr [edx], ecx */ 4158 MEM32(ecx + 0x4) = edx; /* 0x2B029DA2: mov dword ptr [ecx + 4], edx */ 4159 ecx = MEM32(eax + 0x4); /* 0x2B029DA5: mov ecx, dword ptr [eax + 4] */ 4160 ecx = MEM32(ecx + 0x8); /* 0x2B029DA8: mov ecx, dword ptr [ecx + 8] */ 4161 L_2B029DAB: 4162 edx = MEM32(ecx); /* 0x2B029DAB: mov edx, dword ptr [ecx] */ 4163 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029DAD: cmp byte ptr [edx + 0x34], bl */ 4164 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4165 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4166 _flag_k = FK_NARROW(FK_CMP, 24); 4167 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E46; /* 0x2B029DB0: jne 0x2b029e46 */ 4168 L_2B029DB6: 4169 edx = MEM32(ecx + 0x8); /* 0x2B029DB6: mov edx, dword ptr [ecx + 8] */ 4170 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029DB9: cmp byte ptr [edx + 0x34], bl */ 4171 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4172 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4173 _flag_k = FK_NARROW(FK_CMP, 24); 4174 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E46; /* 0x2B029DBC: jne 0x2b029e46 */ 4175 L_2B029DC2: 4176 goto L_2B029E2E; /* 0x2B029DC2: jmp 0x2b029e2e */ 4177 L_2B029DC4: 4178 SET_LO8(edx, MEM8(ecx + 0x34)); /* 0x2B029DC4: mov dl, byte ptr [ecx + 0x34] */ 4179 /* test LO8(edx), LO8(edx) */ /* 0x2B029DC7: test dl, dl */ 4180 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 4181 _cf = 0; 4182 _flag_k = FK_NARROW(FK_TEST, 24); 4183 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B029E17; /* 0x2B029DC9: jne 0x2b029e17 */ 4184 L_2B029DCB: 4185 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029DCB: mov byte ptr [ecx + 0x34], bl */ 4186 ecx = MEM32(eax + 0x4); /* 0x2B029DCE: mov ecx, dword ptr [eax + 4] */ 4187 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029DD1: mov byte ptr [ecx + 0x34], 0 */ 4188 ecx = MEM32(eax + 0x4); /* 0x2B029DD5: mov ecx, dword ptr [eax + 4] */ 4189 edx = MEM32(ecx); /* 0x2B029DD8: mov edx, dword ptr [ecx] */ 4190 esi = MEM32(edx + 0x8); /* 0x2B029DDA: mov esi, dword ptr [edx + 8] */ 4191 MEM32(ecx) = esi; /* 0x2B029DDD: mov dword ptr [ecx], esi */ 4192 esi = MEM32(edx + 0x8); /* 0x2B029DDF: mov esi, dword ptr [edx + 8] */ 4193 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029DE2: cmp esi, dword ptr [edi + 8] */ 4194 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4195 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4196 _flag_k = FK_CMP; 4197 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029DEA; /* 0x2B029DE5: je 0x2b029dea */ 4198 L_2B029DE7: 4199 MEM32(esi + 0x4) = ecx; /* 0x2B029DE7: mov dword ptr [esi + 4], ecx */ 4200 L_2B029DEA: 4201 esi = MEM32(ecx + 0x4); /* 0x2B029DEA: mov esi, dword ptr [ecx + 4] */ 4202 MEM32(edx + 0x4) = esi; /* 0x2B029DED: mov dword ptr [edx + 4], esi */ 4203 esi = MEM32(edi + 0x4); /* 0x2B029DF0: mov esi, dword ptr [edi + 4] */ 4204 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029DF3: cmp ecx, dword ptr [esi + 4] */ 4205 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4206 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4207 _flag_k = FK_CMP; 4208 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029DFD; /* 0x2B029DF6: jne 0x2b029dfd */ 4209 L_2B029DF8: 4210 MEM32(esi + 0x4) = edx; /* 0x2B029DF8: mov dword ptr [esi + 4], edx */ 4211 goto L_2B029E0C; /* 0x2B029DFB: jmp 0x2b029e0c */ 4212 L_2B029DFD: 4213 esi = MEM32(ecx + 0x4); /* 0x2B029DFD: mov esi, dword ptr [ecx + 4] */ 4214 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029E00: cmp ecx, dword ptr [esi + 8] */ 4215 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4216 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4217 _flag_k = FK_CMP; 4218 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E0A; /* 0x2B029E03: jne 0x2b029e0a */ 4219 L_2B029E05: 4220 MEM32(esi + 0x8) = edx; /* 0x2B029E05: mov dword ptr [esi + 8], edx */ 4221 goto L_2B029E0C; /* 0x2B029E08: jmp 0x2b029e0c */ 4222 L_2B029E0A: 4223 MEM32(esi) = edx; /* 0x2B029E0A: mov dword ptr [esi], edx */ 4224 L_2B029E0C: 4225 MEM32(edx + 0x8) = ecx; /* 0x2B029E0C: mov dword ptr [edx + 8], ecx */ 4226 MEM32(ecx + 0x4) = edx; /* 0x2B029E0F: mov dword ptr [ecx + 4], edx */ 4227 edx = MEM32(eax + 0x4); /* 0x2B029E12: mov edx, dword ptr [eax + 4] */ 4228 ecx = MEM32(edx); /* 0x2B029E15: mov ecx, dword ptr [edx] */ 4229 L_2B029E17: 4230 edx = MEM32(ecx + 0x8); /* 0x2B029E17: mov edx, dword ptr [ecx + 8] */ 4231 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029E1A: cmp byte ptr [edx + 0x34], bl */ 4232 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4233 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4234 _flag_k = FK_NARROW(FK_CMP, 24); 4235 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029EF3; /* 0x2B029E1D: jne 0x2b029ef3 */ 4236 L_2B029E23: 4237 edx = MEM32(ecx); /* 0x2B029E23: mov edx, dword ptr [ecx] */ 4238 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029E25: cmp byte ptr [edx + 0x34], bl */ 4239 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4240 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4241 _flag_k = FK_NARROW(FK_CMP, 24); 4242 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029EF3; /* 0x2B029E28: jne 0x2b029ef3 */ 4243 L_2B029E2E: 4244 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029E2E: mov byte ptr [ecx + 0x34], 0 */ 4245 ecx = MEM32(edi + 0x4); /* 0x2B029E32: mov ecx, dword ptr [edi + 4] */ 4246 eax = MEM32(eax + 0x4); /* 0x2B029E35: mov eax, dword ptr [eax + 4] */ 4247 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B029E38: cmp eax, dword ptr [ecx + 4] */ 4248 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 4249 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4250 _flag_k = FK_CMP; 4251 RECOMP_BACKEDGE(); 4252 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D44; /* 0x2B029E3B: jne 0x2b029d44 */ 4253 L_2B029E41: 4254 goto L_2B029F92; /* 0x2B029E41: jmp 0x2b029f92 */ 4255 L_2B029E46: 4256 edx = MEM32(ecx + 0x8); /* 0x2B029E46: mov edx, dword ptr [ecx + 8] */ 4257 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029E49: cmp byte ptr [edx + 0x34], bl */ 4258 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4259 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4260 _flag_k = FK_NARROW(FK_CMP, 24); 4261 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E97; /* 0x2B029E4C: jne 0x2b029e97 */ 4262 L_2B029E4E: 4263 edx = MEM32(ecx); /* 0x2B029E4E: mov edx, dword ptr [ecx] */ 4264 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029E50: mov byte ptr [edx + 0x34], bl */ 4265 edx = MEM32(ecx); /* 0x2B029E53: mov edx, dword ptr [ecx] */ 4266 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029E55: mov byte ptr [ecx + 0x34], 0 */ 4267 esi = MEM32(edx + 0x8); /* 0x2B029E59: mov esi, dword ptr [edx + 8] */ 4268 MEM32(ecx) = esi; /* 0x2B029E5C: mov dword ptr [ecx], esi */ 4269 esi = MEM32(edx + 0x8); /* 0x2B029E5E: mov esi, dword ptr [edx + 8] */ 4270 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029E61: cmp esi, dword ptr [edi + 8] */ 4271 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4272 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4273 _flag_k = FK_CMP; 4274 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029E69; /* 0x2B029E64: je 0x2b029e69 */ 4275 L_2B029E66: 4276 MEM32(esi + 0x4) = ecx; /* 0x2B029E66: mov dword ptr [esi + 4], ecx */ 4277 L_2B029E69: 4278 esi = MEM32(ecx + 0x4); /* 0x2B029E69: mov esi, dword ptr [ecx + 4] */ 4279 MEM32(edx + 0x4) = esi; /* 0x2B029E6C: mov dword ptr [edx + 4], esi */ 4280 esi = MEM32(edi + 0x4); /* 0x2B029E6F: mov esi, dword ptr [edi + 4] */ 4281 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029E72: cmp ecx, dword ptr [esi + 4] */ 4282 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4283 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4284 _flag_k = FK_CMP; 4285 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E7C; /* 0x2B029E75: jne 0x2b029e7c */ 4286 L_2B029E77: 4287 MEM32(esi + 0x4) = edx; /* 0x2B029E77: mov dword ptr [esi + 4], edx */ 4288 goto L_2B029E8B; /* 0x2B029E7A: jmp 0x2b029e8b */ 4289 L_2B029E7C: 4290 esi = MEM32(ecx + 0x4); /* 0x2B029E7C: mov esi, dword ptr [ecx + 4] */ 4291 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029E7F: cmp ecx, dword ptr [esi + 8] */ 4292 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4293 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4294 _flag_k = FK_CMP; 4295 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E89; /* 0x2B029E82: jne 0x2b029e89 */ 4296 L_2B029E84: 4297 MEM32(esi + 0x8) = edx; /* 0x2B029E84: mov dword ptr [esi + 8], edx */ 4298 goto L_2B029E8B; /* 0x2B029E87: jmp 0x2b029e8b */ 4299 L_2B029E89: 4300 MEM32(esi) = edx; /* 0x2B029E89: mov dword ptr [esi], edx */ 4301 L_2B029E8B: 4302 MEM32(edx + 0x8) = ecx; /* 0x2B029E8B: mov dword ptr [edx + 8], ecx */ 4303 MEM32(ecx + 0x4) = edx; /* 0x2B029E8E: mov dword ptr [ecx + 4], edx */ 4304 ecx = MEM32(eax + 0x4); /* 0x2B029E91: mov ecx, dword ptr [eax + 4] */ 4305 ecx = MEM32(ecx + 0x8); /* 0x2B029E94: mov ecx, dword ptr [ecx + 8] */ 4306 L_2B029E97: 4307 edx = MEM32(eax + 0x4); /* 0x2B029E97: mov edx, dword ptr [eax + 4] */ 4308 SET_LO8(edx, MEM8(edx + 0x34)); /* 0x2B029E9A: mov dl, byte ptr [edx + 0x34] */ 4309 MEM8(ecx + 0x34) = (uint8_t)(LO8(edx)); /* 0x2B029E9D: mov byte ptr [ecx + 0x34], dl */ 4310 edx = MEM32(eax + 0x4); /* 0x2B029EA0: mov edx, dword ptr [eax + 4] */ 4311 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029EA3: mov byte ptr [edx + 0x34], bl */ 4312 ecx = MEM32(ecx + 0x8); /* 0x2B029EA6: mov ecx, dword ptr [ecx + 8] */ 4313 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029EA9: mov byte ptr [ecx + 0x34], bl */ 4314 ecx = MEM32(eax + 0x4); /* 0x2B029EAC: mov ecx, dword ptr [eax + 4] */ 4315 edx = MEM32(ecx + 0x8); /* 0x2B029EAF: mov edx, dword ptr [ecx + 8] */ 4316 esi = MEM32(edx); /* 0x2B029EB2: mov esi, dword ptr [edx] */ 4317 MEM32(ecx + 0x8) = esi; /* 0x2B029EB4: mov dword ptr [ecx + 8], esi */ 4318 esi = MEM32(edx); /* 0x2B029EB7: mov esi, dword ptr [edx] */ 4319 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029EB9: cmp esi, dword ptr [edi + 8] */ 4320 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4321 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4322 _flag_k = FK_CMP; 4323 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029EC1; /* 0x2B029EBC: je 0x2b029ec1 */ 4324 L_2B029EBE: 4325 MEM32(esi + 0x4) = ecx; /* 0x2B029EBE: mov dword ptr [esi + 4], ecx */ 4326 L_2B029EC1: 4327 esi = MEM32(ecx + 0x4); /* 0x2B029EC1: mov esi, dword ptr [ecx + 4] */ 4328 MEM32(edx + 0x4) = esi; /* 0x2B029EC4: mov dword ptr [edx + 4], esi */ 4329 esi = MEM32(edi + 0x4); /* 0x2B029EC7: mov esi, dword ptr [edi + 4] */ 4330 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029ECA: cmp ecx, dword ptr [esi + 4] */ 4331 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4332 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4333 _flag_k = FK_CMP; 4334 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029ED9; /* 0x2B029ECD: jne 0x2b029ed9 */ 4335 L_2B029ECF: 4336 MEM32(esi + 0x4) = edx; /* 0x2B029ECF: mov dword ptr [esi + 4], edx */ 4337 MEM32(edx) = ecx; /* 0x2B029ED2: mov dword ptr [edx], ecx */ 4338 goto L_2B029F8F; /* 0x2B029ED4: jmp 0x2b029f8f */ 4339 L_2B029ED9: 4340 esi = MEM32(ecx + 0x4); /* 0x2B029ED9: mov esi, dword ptr [ecx + 4] */ 4341 /* cmp ecx, MEM32(esi) */ /* 0x2B029EDC: cmp ecx, dword ptr [esi] */ 4342 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 4343 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4344 _flag_k = FK_CMP; 4345 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029EE9; /* 0x2B029EDE: jne 0x2b029ee9 */ 4346 L_2B029EE0: 4347 MEM32(esi) = edx; /* 0x2B029EE0: mov dword ptr [esi], edx */ 4348 MEM32(edx) = ecx; /* 0x2B029EE2: mov dword ptr [edx], ecx */ 4349 goto L_2B029F8F; /* 0x2B029EE4: jmp 0x2b029f8f */ 4350 L_2B029EE9: 4351 MEM32(esi + 0x8) = edx; /* 0x2B029EE9: mov dword ptr [esi + 8], edx */ 4352 MEM32(edx) = ecx; /* 0x2B029EEC: mov dword ptr [edx], ecx */ 4353 goto L_2B029F8F; /* 0x2B029EEE: jmp 0x2b029f8f */ 4354 L_2B029EF3: 4355 edx = MEM32(ecx); /* 0x2B029EF3: mov edx, dword ptr [ecx] */ 4356 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029EF5: cmp byte ptr [edx + 0x34], bl */ 4357 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4358 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4359 _flag_k = FK_NARROW(FK_CMP, 24); 4360 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F41; /* 0x2B029EF8: jne 0x2b029f41 */ 4361 L_2B029EFA: 4362 edx = MEM32(ecx + 0x8); /* 0x2B029EFA: mov edx, dword ptr [ecx + 8] */ 4363 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029EFD: mov byte ptr [edx + 0x34], bl */ 4364 edx = MEM32(ecx + 0x8); /* 0x2B029F00: mov edx, dword ptr [ecx + 8] */ 4365 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029F03: mov byte ptr [ecx + 0x34], 0 */ 4366 esi = MEM32(edx); /* 0x2B029F07: mov esi, dword ptr [edx] */ 4367 MEM32(ecx + 0x8) = esi; /* 0x2B029F09: mov dword ptr [ecx + 8], esi */ 4368 esi = MEM32(edx); /* 0x2B029F0C: mov esi, dword ptr [edx] */ 4369 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029F0E: cmp esi, dword ptr [edi + 8] */ 4370 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4371 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4372 _flag_k = FK_CMP; 4373 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029F16; /* 0x2B029F11: je 0x2b029f16 */ 4374 L_2B029F13: 4375 MEM32(esi + 0x4) = ecx; /* 0x2B029F13: mov dword ptr [esi + 4], ecx */ 4376 L_2B029F16: 4377 esi = MEM32(ecx + 0x4); /* 0x2B029F16: mov esi, dword ptr [ecx + 4] */ 4378 MEM32(edx + 0x4) = esi; /* 0x2B029F19: mov dword ptr [edx + 4], esi */ 4379 esi = MEM32(edi + 0x4); /* 0x2B029F1C: mov esi, dword ptr [edi + 4] */ 4380 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029F1F: cmp ecx, dword ptr [esi + 4] */ 4381 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4382 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4383 _flag_k = FK_CMP; 4384 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F29; /* 0x2B029F22: jne 0x2b029f29 */ 4385 L_2B029F24: 4386 MEM32(esi + 0x4) = edx; /* 0x2B029F24: mov dword ptr [esi + 4], edx */ 4387 goto L_2B029F37; /* 0x2B029F27: jmp 0x2b029f37 */ 4388 L_2B029F29: 4389 esi = MEM32(ecx + 0x4); /* 0x2B029F29: mov esi, dword ptr [ecx + 4] */ 4390 /* cmp ecx, MEM32(esi) */ /* 0x2B029F2C: cmp ecx, dword ptr [esi] */ 4391 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 4392 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4393 _flag_k = FK_CMP; 4394 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F34; /* 0x2B029F2E: jne 0x2b029f34 */ 4395 L_2B029F30: 4396 MEM32(esi) = edx; /* 0x2B029F30: mov dword ptr [esi], edx */ 4397 goto L_2B029F37; /* 0x2B029F32: jmp 0x2b029f37 */ 4398 L_2B029F34: 4399 MEM32(esi + 0x8) = edx; /* 0x2B029F34: mov dword ptr [esi + 8], edx */ 4400 L_2B029F37: 4401 MEM32(edx) = ecx; /* 0x2B029F37: mov dword ptr [edx], ecx */ 4402 MEM32(ecx + 0x4) = edx; /* 0x2B029F39: mov dword ptr [ecx + 4], edx */ 4403 ecx = MEM32(eax + 0x4); /* 0x2B029F3C: mov ecx, dword ptr [eax + 4] */ 4404 ecx = MEM32(ecx); /* 0x2B029F3F: mov ecx, dword ptr [ecx] */ 4405 L_2B029F41: 4406 edx = MEM32(eax + 0x4); /* 0x2B029F41: mov edx, dword ptr [eax + 4] */ 4407 SET_LO8(edx, MEM8(edx + 0x34)); /* 0x2B029F44: mov dl, byte ptr [edx + 0x34] */ 4408 MEM8(ecx + 0x34) = (uint8_t)(LO8(edx)); /* 0x2B029F47: mov byte ptr [ecx + 0x34], dl */ 4409 edx = MEM32(eax + 0x4); /* 0x2B029F4A: mov edx, dword ptr [eax + 4] */ 4410 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F4D: mov byte ptr [edx + 0x34], bl */ 4411 ecx = MEM32(ecx); /* 0x2B029F50: mov ecx, dword ptr [ecx] */ 4412 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F52: mov byte ptr [ecx + 0x34], bl */ 4413 ecx = MEM32(eax + 0x4); /* 0x2B029F55: mov ecx, dword ptr [eax + 4] */ 4414 edx = MEM32(ecx); /* 0x2B029F58: mov edx, dword ptr [ecx] */ 4415 esi = MEM32(edx + 0x8); /* 0x2B029F5A: mov esi, dword ptr [edx + 8] */ 4416 MEM32(ecx) = esi; /* 0x2B029F5D: mov dword ptr [ecx], esi */ 4417 esi = MEM32(edx + 0x8); /* 0x2B029F5F: mov esi, dword ptr [edx + 8] */ 4418 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029F62: cmp esi, dword ptr [edi + 8] */ 4419 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4420 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4421 _flag_k = FK_CMP; 4422 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029F6A; /* 0x2B029F65: je 0x2b029f6a */ 4423 L_2B029F67: 4424 MEM32(esi + 0x4) = ecx; /* 0x2B029F67: mov dword ptr [esi + 4], ecx */ 4425 L_2B029F6A: 4426 esi = MEM32(ecx + 0x4); /* 0x2B029F6A: mov esi, dword ptr [ecx + 4] */ 4427 MEM32(edx + 0x4) = esi; /* 0x2B029F6D: mov dword ptr [edx + 4], esi */ 4428 esi = MEM32(edi + 0x4); /* 0x2B029F70: mov esi, dword ptr [edi + 4] */ 4429 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029F73: cmp ecx, dword ptr [esi + 4] */ 4430 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4431 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4432 _flag_k = FK_CMP; 4433 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F7D; /* 0x2B029F76: jne 0x2b029f7d */ 4434 L_2B029F78: 4435 MEM32(esi + 0x4) = edx; /* 0x2B029F78: mov dword ptr [esi + 4], edx */ 4436 goto L_2B029F8C; /* 0x2B029F7B: jmp 0x2b029f8c */ 4437 L_2B029F7D: 4438 esi = MEM32(ecx + 0x4); /* 0x2B029F7D: mov esi, dword ptr [ecx + 4] */ 4439 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029F80: cmp ecx, dword ptr [esi + 8] */ 4440 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4441 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4442 _flag_k = FK_CMP; 4443 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F8A; /* 0x2B029F83: jne 0x2b029f8a */ 4444 L_2B029F85: 4445 MEM32(esi + 0x8) = edx; /* 0x2B029F85: mov dword ptr [esi + 8], edx */ 4446 goto L_2B029F8C; /* 0x2B029F88: jmp 0x2b029f8c */ 4447 L_2B029F8A: 4448 MEM32(esi) = edx; /* 0x2B029F8A: mov dword ptr [esi], edx */ 4449 L_2B029F8C: 4450 MEM32(edx + 0x8) = ecx; /* 0x2B029F8C: mov dword ptr [edx + 8], ecx */ 4451 L_2B029F8F: 4452 MEM32(ecx + 0x4) = edx; /* 0x2B029F8F: mov dword ptr [ecx + 4], edx */ 4453 L_2B029F92: 4454 esi = MEM32(ebp + (-0x4)); /* 0x2B029F92: mov esi, dword ptr [ebp - 4] */ 4455 MEM8(eax + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F95: mov byte ptr [eax + 0x34], bl */ 4456 ecx = esi + 0xC; /* 0x2B029F98: lea ecx, [esi + 0xc] */ 4457 RECOMP_ICALL(0x2B028990u); /* 0x2B029F9B: call 0x2b028990 */ /* not lifted */ 4458 RECOMP_FLAGS_IN(); 4459 PUSH32(esp, esi); /* 0x2B029FA0: push esi */ 4460 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B029FA1: call 0x2b0ab1ba */ /* not lifted */ 4461 RECOMP_FLAGS_IN(); 4462 eax = MEM32(edi + 0x10); /* 0x2B029FA6: mov eax, dword ptr [edi + 0x10] */ 4463 edx = MEM32(ebp + 0xC); /* 0x2B029FA9: mov edx, dword ptr [ebp + 0xc] */ 4464 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4465 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4466 esp = esp + 4; /* 0x2B029FAC: add esp, 4 */ 4467 _flag_k = FK_ADD; 4468 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 4469 eax = eax - 1; /* 0x2B029FAF: dec eax */ 4470 _flag_k = FK_DEC; 4471 MEM32(edi + 0x10) = eax; /* 0x2B029FB0: mov dword ptr [edi + 0x10], eax */ 4472 eax = MEM32(ebp + 0x8); /* 0x2B029FB3: mov eax, dword ptr [ebp + 8] */ 4473 edi = POP32_VAL(esp); /* 0x2B029FB6: pop edi */ 4474 esi = POP32_VAL(esp); /* 0x2B029FB7: pop esi */ 4475 MEM32(eax) = edx; /* 0x2B029FB8: mov dword ptr [eax], edx */ 4476 ebx = POP32_VAL(esp); /* 0x2B029FBA: pop ebx */ 4477 esp = ebp; /* 0x2B029FBB: mov esp, ebp */ 4478 ebp = POP32_VAL(esp); /* 0x2B029FBD: pop ebp */ 4479 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B029FBE: ret 8 */ 4480 RECOMP_REGS_OUT(); 4481 } 4482 4483 void sub_2B029DA0(void) { 4484 int _fpu_cmp = 0; 4485 uint32_t _cf = 0; 4486 int _df = 1; 4487 uint32_t _flag_k = FK_NONE; 4488 uint32_t _flag_a = 0, _flag_b = 0; 4489 uint32_t _itail_tgt = 0; 4490 RECOMP_REGS_LOCALS 4491 RECOMP_ENTER(0x2B029DA0u); 4492 4493 goto L_2B029DA0; 4494 L_2B029D44: 4495 /* cmp MEM8(eax + 0x34), LO8(ebx) */ /* 0x2B029D44: cmp byte ptr [eax + 0x34], bl */ 4496 _flag_a = (uint32_t)(MEM8(eax + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4497 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4498 _flag_k = FK_NARROW(FK_CMP, 24); 4499 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F92; /* 0x2B029D47: jne 0x2b029f92 */ 4500 L_2B029D4D: 4501 edx = MEM32(eax + 0x4); /* 0x2B029D4D: mov edx, dword ptr [eax + 4] */ 4502 ecx = MEM32(edx); /* 0x2B029D50: mov ecx, dword ptr [edx] */ 4503 /* cmp eax, ecx */ /* 0x2B029D52: cmp eax, ecx */ 4504 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 4505 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4506 _flag_k = FK_CMP; 4507 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029DC4; /* 0x2B029D54: jne 0x2b029dc4 */ 4508 L_2B029D56: 4509 ecx = MEM32(edx + 0x8); /* 0x2B029D56: mov ecx, dword ptr [edx + 8] */ 4510 SET_LO8(edx, MEM8(ecx + 0x34)); /* 0x2B029D59: mov dl, byte ptr [ecx + 0x34] */ 4511 /* test LO8(edx), LO8(edx) */ /* 0x2B029D5C: test dl, dl */ 4512 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 4513 _cf = 0; 4514 _flag_k = FK_NARROW(FK_TEST, 24); 4515 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B029DAB; /* 0x2B029D5E: jne 0x2b029dab */ 4516 L_2B029D60: 4517 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029D60: mov byte ptr [ecx + 0x34], bl */ 4518 edx = MEM32(eax + 0x4); /* 0x2B029D63: mov edx, dword ptr [eax + 4] */ 4519 MEM8(edx + 0x34) = (uint8_t)(0); /* 0x2B029D66: mov byte ptr [edx + 0x34], 0 */ 4520 ecx = MEM32(eax + 0x4); /* 0x2B029D6A: mov ecx, dword ptr [eax + 4] */ 4521 edx = MEM32(ecx + 0x8); /* 0x2B029D6D: mov edx, dword ptr [ecx + 8] */ 4522 esi = MEM32(edx); /* 0x2B029D70: mov esi, dword ptr [edx] */ 4523 MEM32(ecx + 0x8) = esi; /* 0x2B029D72: mov dword ptr [ecx + 8], esi */ 4524 esi = MEM32(edx); /* 0x2B029D75: mov esi, dword ptr [edx] */ 4525 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029D77: cmp esi, dword ptr [edi + 8] */ 4526 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4527 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4528 _flag_k = FK_CMP; 4529 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029D7F; /* 0x2B029D7A: je 0x2b029d7f */ 4530 L_2B029D7C: 4531 MEM32(esi + 0x4) = ecx; /* 0x2B029D7C: mov dword ptr [esi + 4], ecx */ 4532 L_2B029D7F: 4533 esi = MEM32(ecx + 0x4); /* 0x2B029D7F: mov esi, dword ptr [ecx + 4] */ 4534 MEM32(edx + 0x4) = esi; /* 0x2B029D82: mov dword ptr [edx + 4], esi */ 4535 esi = MEM32(edi + 0x4); /* 0x2B029D85: mov esi, dword ptr [edi + 4] */ 4536 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029D88: cmp ecx, dword ptr [esi + 4] */ 4537 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4538 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4539 _flag_k = FK_CMP; 4540 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D92; /* 0x2B029D8B: jne 0x2b029d92 */ 4541 L_2B029D8D: 4542 MEM32(esi + 0x4) = edx; /* 0x2B029D8D: mov dword ptr [esi + 4], edx */ 4543 goto L_2B029DA0; /* 0x2B029D90: jmp 0x2b029da0 */ 4544 L_2B029D92: 4545 esi = MEM32(ecx + 0x4); /* 0x2B029D92: mov esi, dword ptr [ecx + 4] */ 4546 /* cmp ecx, MEM32(esi) */ /* 0x2B029D95: cmp ecx, dword ptr [esi] */ 4547 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 4548 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4549 _flag_k = FK_CMP; 4550 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D9D; /* 0x2B029D97: jne 0x2b029d9d */ 4551 L_2B029D99: 4552 MEM32(esi) = edx; /* 0x2B029D99: mov dword ptr [esi], edx */ 4553 goto L_2B029DA0; /* 0x2B029D9B: jmp 0x2b029da0 */ 4554 L_2B029D9D: 4555 MEM32(esi + 0x8) = edx; /* 0x2B029D9D: mov dword ptr [esi + 8], edx */ 4556 L_2B029DA0: 4557 MEM32(edx) = ecx; /* 0x2B029DA0: mov dword ptr [edx], ecx */ 4558 MEM32(ecx + 0x4) = edx; /* 0x2B029DA2: mov dword ptr [ecx + 4], edx */ 4559 ecx = MEM32(eax + 0x4); /* 0x2B029DA5: mov ecx, dword ptr [eax + 4] */ 4560 ecx = MEM32(ecx + 0x8); /* 0x2B029DA8: mov ecx, dword ptr [ecx + 8] */ 4561 L_2B029DAB: 4562 edx = MEM32(ecx); /* 0x2B029DAB: mov edx, dword ptr [ecx] */ 4563 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029DAD: cmp byte ptr [edx + 0x34], bl */ 4564 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4565 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4566 _flag_k = FK_NARROW(FK_CMP, 24); 4567 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E46; /* 0x2B029DB0: jne 0x2b029e46 */ 4568 L_2B029DB6: 4569 edx = MEM32(ecx + 0x8); /* 0x2B029DB6: mov edx, dword ptr [ecx + 8] */ 4570 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029DB9: cmp byte ptr [edx + 0x34], bl */ 4571 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4572 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4573 _flag_k = FK_NARROW(FK_CMP, 24); 4574 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E46; /* 0x2B029DBC: jne 0x2b029e46 */ 4575 L_2B029DC2: 4576 goto L_2B029E2E; /* 0x2B029DC2: jmp 0x2b029e2e */ 4577 L_2B029DC4: 4578 SET_LO8(edx, MEM8(ecx + 0x34)); /* 0x2B029DC4: mov dl, byte ptr [ecx + 0x34] */ 4579 /* test LO8(edx), LO8(edx) */ /* 0x2B029DC7: test dl, dl */ 4580 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 4581 _cf = 0; 4582 _flag_k = FK_NARROW(FK_TEST, 24); 4583 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B029E17; /* 0x2B029DC9: jne 0x2b029e17 */ 4584 L_2B029DCB: 4585 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029DCB: mov byte ptr [ecx + 0x34], bl */ 4586 ecx = MEM32(eax + 0x4); /* 0x2B029DCE: mov ecx, dword ptr [eax + 4] */ 4587 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029DD1: mov byte ptr [ecx + 0x34], 0 */ 4588 ecx = MEM32(eax + 0x4); /* 0x2B029DD5: mov ecx, dword ptr [eax + 4] */ 4589 edx = MEM32(ecx); /* 0x2B029DD8: mov edx, dword ptr [ecx] */ 4590 esi = MEM32(edx + 0x8); /* 0x2B029DDA: mov esi, dword ptr [edx + 8] */ 4591 MEM32(ecx) = esi; /* 0x2B029DDD: mov dword ptr [ecx], esi */ 4592 esi = MEM32(edx + 0x8); /* 0x2B029DDF: mov esi, dword ptr [edx + 8] */ 4593 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029DE2: cmp esi, dword ptr [edi + 8] */ 4594 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4595 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4596 _flag_k = FK_CMP; 4597 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029DEA; /* 0x2B029DE5: je 0x2b029dea */ 4598 L_2B029DE7: 4599 MEM32(esi + 0x4) = ecx; /* 0x2B029DE7: mov dword ptr [esi + 4], ecx */ 4600 L_2B029DEA: 4601 esi = MEM32(ecx + 0x4); /* 0x2B029DEA: mov esi, dword ptr [ecx + 4] */ 4602 MEM32(edx + 0x4) = esi; /* 0x2B029DED: mov dword ptr [edx + 4], esi */ 4603 esi = MEM32(edi + 0x4); /* 0x2B029DF0: mov esi, dword ptr [edi + 4] */ 4604 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029DF3: cmp ecx, dword ptr [esi + 4] */ 4605 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4606 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4607 _flag_k = FK_CMP; 4608 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029DFD; /* 0x2B029DF6: jne 0x2b029dfd */ 4609 L_2B029DF8: 4610 MEM32(esi + 0x4) = edx; /* 0x2B029DF8: mov dword ptr [esi + 4], edx */ 4611 goto L_2B029E0C; /* 0x2B029DFB: jmp 0x2b029e0c */ 4612 L_2B029DFD: 4613 esi = MEM32(ecx + 0x4); /* 0x2B029DFD: mov esi, dword ptr [ecx + 4] */ 4614 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029E00: cmp ecx, dword ptr [esi + 8] */ 4615 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4616 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4617 _flag_k = FK_CMP; 4618 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E0A; /* 0x2B029E03: jne 0x2b029e0a */ 4619 L_2B029E05: 4620 MEM32(esi + 0x8) = edx; /* 0x2B029E05: mov dword ptr [esi + 8], edx */ 4621 goto L_2B029E0C; /* 0x2B029E08: jmp 0x2b029e0c */ 4622 L_2B029E0A: 4623 MEM32(esi) = edx; /* 0x2B029E0A: mov dword ptr [esi], edx */ 4624 L_2B029E0C: 4625 MEM32(edx + 0x8) = ecx; /* 0x2B029E0C: mov dword ptr [edx + 8], ecx */ 4626 MEM32(ecx + 0x4) = edx; /* 0x2B029E0F: mov dword ptr [ecx + 4], edx */ 4627 edx = MEM32(eax + 0x4); /* 0x2B029E12: mov edx, dword ptr [eax + 4] */ 4628 ecx = MEM32(edx); /* 0x2B029E15: mov ecx, dword ptr [edx] */ 4629 L_2B029E17: 4630 edx = MEM32(ecx + 0x8); /* 0x2B029E17: mov edx, dword ptr [ecx + 8] */ 4631 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029E1A: cmp byte ptr [edx + 0x34], bl */ 4632 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4633 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4634 _flag_k = FK_NARROW(FK_CMP, 24); 4635 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029EF3; /* 0x2B029E1D: jne 0x2b029ef3 */ 4636 L_2B029E23: 4637 edx = MEM32(ecx); /* 0x2B029E23: mov edx, dword ptr [ecx] */ 4638 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029E25: cmp byte ptr [edx + 0x34], bl */ 4639 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4640 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4641 _flag_k = FK_NARROW(FK_CMP, 24); 4642 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029EF3; /* 0x2B029E28: jne 0x2b029ef3 */ 4643 L_2B029E2E: 4644 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029E2E: mov byte ptr [ecx + 0x34], 0 */ 4645 ecx = MEM32(edi + 0x4); /* 0x2B029E32: mov ecx, dword ptr [edi + 4] */ 4646 eax = MEM32(eax + 0x4); /* 0x2B029E35: mov eax, dword ptr [eax + 4] */ 4647 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B029E38: cmp eax, dword ptr [ecx + 4] */ 4648 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 4649 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4650 _flag_k = FK_CMP; 4651 RECOMP_BACKEDGE(); 4652 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D44; /* 0x2B029E3B: jne 0x2b029d44 */ 4653 L_2B029E41: 4654 goto L_2B029F92; /* 0x2B029E41: jmp 0x2b029f92 */ 4655 L_2B029E46: 4656 edx = MEM32(ecx + 0x8); /* 0x2B029E46: mov edx, dword ptr [ecx + 8] */ 4657 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029E49: cmp byte ptr [edx + 0x34], bl */ 4658 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4659 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4660 _flag_k = FK_NARROW(FK_CMP, 24); 4661 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E97; /* 0x2B029E4C: jne 0x2b029e97 */ 4662 L_2B029E4E: 4663 edx = MEM32(ecx); /* 0x2B029E4E: mov edx, dword ptr [ecx] */ 4664 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029E50: mov byte ptr [edx + 0x34], bl */ 4665 edx = MEM32(ecx); /* 0x2B029E53: mov edx, dword ptr [ecx] */ 4666 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029E55: mov byte ptr [ecx + 0x34], 0 */ 4667 esi = MEM32(edx + 0x8); /* 0x2B029E59: mov esi, dword ptr [edx + 8] */ 4668 MEM32(ecx) = esi; /* 0x2B029E5C: mov dword ptr [ecx], esi */ 4669 esi = MEM32(edx + 0x8); /* 0x2B029E5E: mov esi, dword ptr [edx + 8] */ 4670 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029E61: cmp esi, dword ptr [edi + 8] */ 4671 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4672 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4673 _flag_k = FK_CMP; 4674 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029E69; /* 0x2B029E64: je 0x2b029e69 */ 4675 L_2B029E66: 4676 MEM32(esi + 0x4) = ecx; /* 0x2B029E66: mov dword ptr [esi + 4], ecx */ 4677 L_2B029E69: 4678 esi = MEM32(ecx + 0x4); /* 0x2B029E69: mov esi, dword ptr [ecx + 4] */ 4679 MEM32(edx + 0x4) = esi; /* 0x2B029E6C: mov dword ptr [edx + 4], esi */ 4680 esi = MEM32(edi + 0x4); /* 0x2B029E6F: mov esi, dword ptr [edi + 4] */ 4681 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029E72: cmp ecx, dword ptr [esi + 4] */ 4682 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4683 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4684 _flag_k = FK_CMP; 4685 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E7C; /* 0x2B029E75: jne 0x2b029e7c */ 4686 L_2B029E77: 4687 MEM32(esi + 0x4) = edx; /* 0x2B029E77: mov dword ptr [esi + 4], edx */ 4688 goto L_2B029E8B; /* 0x2B029E7A: jmp 0x2b029e8b */ 4689 L_2B029E7C: 4690 esi = MEM32(ecx + 0x4); /* 0x2B029E7C: mov esi, dword ptr [ecx + 4] */ 4691 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029E7F: cmp ecx, dword ptr [esi + 8] */ 4692 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4693 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4694 _flag_k = FK_CMP; 4695 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E89; /* 0x2B029E82: jne 0x2b029e89 */ 4696 L_2B029E84: 4697 MEM32(esi + 0x8) = edx; /* 0x2B029E84: mov dword ptr [esi + 8], edx */ 4698 goto L_2B029E8B; /* 0x2B029E87: jmp 0x2b029e8b */ 4699 L_2B029E89: 4700 MEM32(esi) = edx; /* 0x2B029E89: mov dword ptr [esi], edx */ 4701 L_2B029E8B: 4702 MEM32(edx + 0x8) = ecx; /* 0x2B029E8B: mov dword ptr [edx + 8], ecx */ 4703 MEM32(ecx + 0x4) = edx; /* 0x2B029E8E: mov dword ptr [ecx + 4], edx */ 4704 ecx = MEM32(eax + 0x4); /* 0x2B029E91: mov ecx, dword ptr [eax + 4] */ 4705 ecx = MEM32(ecx + 0x8); /* 0x2B029E94: mov ecx, dword ptr [ecx + 8] */ 4706 L_2B029E97: 4707 edx = MEM32(eax + 0x4); /* 0x2B029E97: mov edx, dword ptr [eax + 4] */ 4708 SET_LO8(edx, MEM8(edx + 0x34)); /* 0x2B029E9A: mov dl, byte ptr [edx + 0x34] */ 4709 MEM8(ecx + 0x34) = (uint8_t)(LO8(edx)); /* 0x2B029E9D: mov byte ptr [ecx + 0x34], dl */ 4710 edx = MEM32(eax + 0x4); /* 0x2B029EA0: mov edx, dword ptr [eax + 4] */ 4711 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029EA3: mov byte ptr [edx + 0x34], bl */ 4712 ecx = MEM32(ecx + 0x8); /* 0x2B029EA6: mov ecx, dword ptr [ecx + 8] */ 4713 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029EA9: mov byte ptr [ecx + 0x34], bl */ 4714 ecx = MEM32(eax + 0x4); /* 0x2B029EAC: mov ecx, dword ptr [eax + 4] */ 4715 edx = MEM32(ecx + 0x8); /* 0x2B029EAF: mov edx, dword ptr [ecx + 8] */ 4716 esi = MEM32(edx); /* 0x2B029EB2: mov esi, dword ptr [edx] */ 4717 MEM32(ecx + 0x8) = esi; /* 0x2B029EB4: mov dword ptr [ecx + 8], esi */ 4718 esi = MEM32(edx); /* 0x2B029EB7: mov esi, dword ptr [edx] */ 4719 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029EB9: cmp esi, dword ptr [edi + 8] */ 4720 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4721 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4722 _flag_k = FK_CMP; 4723 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029EC1; /* 0x2B029EBC: je 0x2b029ec1 */ 4724 L_2B029EBE: 4725 MEM32(esi + 0x4) = ecx; /* 0x2B029EBE: mov dword ptr [esi + 4], ecx */ 4726 L_2B029EC1: 4727 esi = MEM32(ecx + 0x4); /* 0x2B029EC1: mov esi, dword ptr [ecx + 4] */ 4728 MEM32(edx + 0x4) = esi; /* 0x2B029EC4: mov dword ptr [edx + 4], esi */ 4729 esi = MEM32(edi + 0x4); /* 0x2B029EC7: mov esi, dword ptr [edi + 4] */ 4730 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029ECA: cmp ecx, dword ptr [esi + 4] */ 4731 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4732 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4733 _flag_k = FK_CMP; 4734 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029ED9; /* 0x2B029ECD: jne 0x2b029ed9 */ 4735 L_2B029ECF: 4736 MEM32(esi + 0x4) = edx; /* 0x2B029ECF: mov dword ptr [esi + 4], edx */ 4737 MEM32(edx) = ecx; /* 0x2B029ED2: mov dword ptr [edx], ecx */ 4738 goto L_2B029F8F; /* 0x2B029ED4: jmp 0x2b029f8f */ 4739 L_2B029ED9: 4740 esi = MEM32(ecx + 0x4); /* 0x2B029ED9: mov esi, dword ptr [ecx + 4] */ 4741 /* cmp ecx, MEM32(esi) */ /* 0x2B029EDC: cmp ecx, dword ptr [esi] */ 4742 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 4743 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4744 _flag_k = FK_CMP; 4745 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029EE9; /* 0x2B029EDE: jne 0x2b029ee9 */ 4746 L_2B029EE0: 4747 MEM32(esi) = edx; /* 0x2B029EE0: mov dword ptr [esi], edx */ 4748 MEM32(edx) = ecx; /* 0x2B029EE2: mov dword ptr [edx], ecx */ 4749 goto L_2B029F8F; /* 0x2B029EE4: jmp 0x2b029f8f */ 4750 L_2B029EE9: 4751 MEM32(esi + 0x8) = edx; /* 0x2B029EE9: mov dword ptr [esi + 8], edx */ 4752 MEM32(edx) = ecx; /* 0x2B029EEC: mov dword ptr [edx], ecx */ 4753 goto L_2B029F8F; /* 0x2B029EEE: jmp 0x2b029f8f */ 4754 L_2B029EF3: 4755 edx = MEM32(ecx); /* 0x2B029EF3: mov edx, dword ptr [ecx] */ 4756 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029EF5: cmp byte ptr [edx + 0x34], bl */ 4757 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4758 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4759 _flag_k = FK_NARROW(FK_CMP, 24); 4760 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F41; /* 0x2B029EF8: jne 0x2b029f41 */ 4761 L_2B029EFA: 4762 edx = MEM32(ecx + 0x8); /* 0x2B029EFA: mov edx, dword ptr [ecx + 8] */ 4763 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029EFD: mov byte ptr [edx + 0x34], bl */ 4764 edx = MEM32(ecx + 0x8); /* 0x2B029F00: mov edx, dword ptr [ecx + 8] */ 4765 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029F03: mov byte ptr [ecx + 0x34], 0 */ 4766 esi = MEM32(edx); /* 0x2B029F07: mov esi, dword ptr [edx] */ 4767 MEM32(ecx + 0x8) = esi; /* 0x2B029F09: mov dword ptr [ecx + 8], esi */ 4768 esi = MEM32(edx); /* 0x2B029F0C: mov esi, dword ptr [edx] */ 4769 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029F0E: cmp esi, dword ptr [edi + 8] */ 4770 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4771 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4772 _flag_k = FK_CMP; 4773 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029F16; /* 0x2B029F11: je 0x2b029f16 */ 4774 L_2B029F13: 4775 MEM32(esi + 0x4) = ecx; /* 0x2B029F13: mov dword ptr [esi + 4], ecx */ 4776 L_2B029F16: 4777 esi = MEM32(ecx + 0x4); /* 0x2B029F16: mov esi, dword ptr [ecx + 4] */ 4778 MEM32(edx + 0x4) = esi; /* 0x2B029F19: mov dword ptr [edx + 4], esi */ 4779 esi = MEM32(edi + 0x4); /* 0x2B029F1C: mov esi, dword ptr [edi + 4] */ 4780 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029F1F: cmp ecx, dword ptr [esi + 4] */ 4781 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4782 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4783 _flag_k = FK_CMP; 4784 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F29; /* 0x2B029F22: jne 0x2b029f29 */ 4785 L_2B029F24: 4786 MEM32(esi + 0x4) = edx; /* 0x2B029F24: mov dword ptr [esi + 4], edx */ 4787 goto L_2B029F37; /* 0x2B029F27: jmp 0x2b029f37 */ 4788 L_2B029F29: 4789 esi = MEM32(ecx + 0x4); /* 0x2B029F29: mov esi, dword ptr [ecx + 4] */ 4790 /* cmp ecx, MEM32(esi) */ /* 0x2B029F2C: cmp ecx, dword ptr [esi] */ 4791 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 4792 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4793 _flag_k = FK_CMP; 4794 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F34; /* 0x2B029F2E: jne 0x2b029f34 */ 4795 L_2B029F30: 4796 MEM32(esi) = edx; /* 0x2B029F30: mov dword ptr [esi], edx */ 4797 goto L_2B029F37; /* 0x2B029F32: jmp 0x2b029f37 */ 4798 L_2B029F34: 4799 MEM32(esi + 0x8) = edx; /* 0x2B029F34: mov dword ptr [esi + 8], edx */ 4800 L_2B029F37: 4801 MEM32(edx) = ecx; /* 0x2B029F37: mov dword ptr [edx], ecx */ 4802 MEM32(ecx + 0x4) = edx; /* 0x2B029F39: mov dword ptr [ecx + 4], edx */ 4803 ecx = MEM32(eax + 0x4); /* 0x2B029F3C: mov ecx, dword ptr [eax + 4] */ 4804 ecx = MEM32(ecx); /* 0x2B029F3F: mov ecx, dword ptr [ecx] */ 4805 L_2B029F41: 4806 edx = MEM32(eax + 0x4); /* 0x2B029F41: mov edx, dword ptr [eax + 4] */ 4807 SET_LO8(edx, MEM8(edx + 0x34)); /* 0x2B029F44: mov dl, byte ptr [edx + 0x34] */ 4808 MEM8(ecx + 0x34) = (uint8_t)(LO8(edx)); /* 0x2B029F47: mov byte ptr [ecx + 0x34], dl */ 4809 edx = MEM32(eax + 0x4); /* 0x2B029F4A: mov edx, dword ptr [eax + 4] */ 4810 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F4D: mov byte ptr [edx + 0x34], bl */ 4811 ecx = MEM32(ecx); /* 0x2B029F50: mov ecx, dword ptr [ecx] */ 4812 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F52: mov byte ptr [ecx + 0x34], bl */ 4813 ecx = MEM32(eax + 0x4); /* 0x2B029F55: mov ecx, dword ptr [eax + 4] */ 4814 edx = MEM32(ecx); /* 0x2B029F58: mov edx, dword ptr [ecx] */ 4815 esi = MEM32(edx + 0x8); /* 0x2B029F5A: mov esi, dword ptr [edx + 8] */ 4816 MEM32(ecx) = esi; /* 0x2B029F5D: mov dword ptr [ecx], esi */ 4817 esi = MEM32(edx + 0x8); /* 0x2B029F5F: mov esi, dword ptr [edx + 8] */ 4818 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029F62: cmp esi, dword ptr [edi + 8] */ 4819 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4820 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4821 _flag_k = FK_CMP; 4822 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029F6A; /* 0x2B029F65: je 0x2b029f6a */ 4823 L_2B029F67: 4824 MEM32(esi + 0x4) = ecx; /* 0x2B029F67: mov dword ptr [esi + 4], ecx */ 4825 L_2B029F6A: 4826 esi = MEM32(ecx + 0x4); /* 0x2B029F6A: mov esi, dword ptr [ecx + 4] */ 4827 MEM32(edx + 0x4) = esi; /* 0x2B029F6D: mov dword ptr [edx + 4], esi */ 4828 esi = MEM32(edi + 0x4); /* 0x2B029F70: mov esi, dword ptr [edi + 4] */ 4829 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029F73: cmp ecx, dword ptr [esi + 4] */ 4830 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4831 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4832 _flag_k = FK_CMP; 4833 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F7D; /* 0x2B029F76: jne 0x2b029f7d */ 4834 L_2B029F78: 4835 MEM32(esi + 0x4) = edx; /* 0x2B029F78: mov dword ptr [esi + 4], edx */ 4836 goto L_2B029F8C; /* 0x2B029F7B: jmp 0x2b029f8c */ 4837 L_2B029F7D: 4838 esi = MEM32(ecx + 0x4); /* 0x2B029F7D: mov esi, dword ptr [ecx + 4] */ 4839 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029F80: cmp ecx, dword ptr [esi + 8] */ 4840 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4841 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4842 _flag_k = FK_CMP; 4843 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F8A; /* 0x2B029F83: jne 0x2b029f8a */ 4844 L_2B029F85: 4845 MEM32(esi + 0x8) = edx; /* 0x2B029F85: mov dword ptr [esi + 8], edx */ 4846 goto L_2B029F8C; /* 0x2B029F88: jmp 0x2b029f8c */ 4847 L_2B029F8A: 4848 MEM32(esi) = edx; /* 0x2B029F8A: mov dword ptr [esi], edx */ 4849 L_2B029F8C: 4850 MEM32(edx + 0x8) = ecx; /* 0x2B029F8C: mov dword ptr [edx + 8], ecx */ 4851 L_2B029F8F: 4852 MEM32(ecx + 0x4) = edx; /* 0x2B029F8F: mov dword ptr [ecx + 4], edx */ 4853 L_2B029F92: 4854 esi = MEM32(ebp + (-0x4)); /* 0x2B029F92: mov esi, dword ptr [ebp - 4] */ 4855 MEM8(eax + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F95: mov byte ptr [eax + 0x34], bl */ 4856 ecx = esi + 0xC; /* 0x2B029F98: lea ecx, [esi + 0xc] */ 4857 RECOMP_ICALL(0x2B028990u); /* 0x2B029F9B: call 0x2b028990 */ /* not lifted */ 4858 RECOMP_FLAGS_IN(); 4859 PUSH32(esp, esi); /* 0x2B029FA0: push esi */ 4860 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B029FA1: call 0x2b0ab1ba */ /* not lifted */ 4861 RECOMP_FLAGS_IN(); 4862 eax = MEM32(edi + 0x10); /* 0x2B029FA6: mov eax, dword ptr [edi + 0x10] */ 4863 edx = MEM32(ebp + 0xC); /* 0x2B029FA9: mov edx, dword ptr [ebp + 0xc] */ 4864 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4865 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4866 esp = esp + 4; /* 0x2B029FAC: add esp, 4 */ 4867 _flag_k = FK_ADD; 4868 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 4869 eax = eax - 1; /* 0x2B029FAF: dec eax */ 4870 _flag_k = FK_DEC; 4871 MEM32(edi + 0x10) = eax; /* 0x2B029FB0: mov dword ptr [edi + 0x10], eax */ 4872 eax = MEM32(ebp + 0x8); /* 0x2B029FB3: mov eax, dword ptr [ebp + 8] */ 4873 edi = POP32_VAL(esp); /* 0x2B029FB6: pop edi */ 4874 esi = POP32_VAL(esp); /* 0x2B029FB7: pop esi */ 4875 MEM32(eax) = edx; /* 0x2B029FB8: mov dword ptr [eax], edx */ 4876 ebx = POP32_VAL(esp); /* 0x2B029FBA: pop ebx */ 4877 esp = ebp; /* 0x2B029FBB: mov esp, ebp */ 4878 ebp = POP32_VAL(esp); /* 0x2B029FBD: pop ebp */ 4879 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B029FBE: ret 8 */ 4880 RECOMP_REGS_OUT(); 4881 } 4882 4883 void sub_2B029DAB(void) { 4884 int _fpu_cmp = 0; 4885 uint32_t _cf = 0; 4886 int _df = 1; 4887 uint32_t _flag_k = FK_NONE; 4888 uint32_t _flag_a = 0, _flag_b = 0; 4889 uint32_t _itail_tgt = 0; 4890 RECOMP_REGS_LOCALS 4891 RECOMP_ENTER(0x2B029DABu); 4892 4893 goto L_2B029DAB; 4894 L_2B029D44: 4895 /* cmp MEM8(eax + 0x34), LO8(ebx) */ /* 0x2B029D44: cmp byte ptr [eax + 0x34], bl */ 4896 _flag_a = (uint32_t)(MEM8(eax + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4897 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4898 _flag_k = FK_NARROW(FK_CMP, 24); 4899 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F92; /* 0x2B029D47: jne 0x2b029f92 */ 4900 L_2B029D4D: 4901 edx = MEM32(eax + 0x4); /* 0x2B029D4D: mov edx, dword ptr [eax + 4] */ 4902 ecx = MEM32(edx); /* 0x2B029D50: mov ecx, dword ptr [edx] */ 4903 /* cmp eax, ecx */ /* 0x2B029D52: cmp eax, ecx */ 4904 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 4905 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4906 _flag_k = FK_CMP; 4907 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029DC4; /* 0x2B029D54: jne 0x2b029dc4 */ 4908 L_2B029D56: 4909 ecx = MEM32(edx + 0x8); /* 0x2B029D56: mov ecx, dword ptr [edx + 8] */ 4910 SET_LO8(edx, MEM8(ecx + 0x34)); /* 0x2B029D59: mov dl, byte ptr [ecx + 0x34] */ 4911 /* test LO8(edx), LO8(edx) */ /* 0x2B029D5C: test dl, dl */ 4912 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 4913 _cf = 0; 4914 _flag_k = FK_NARROW(FK_TEST, 24); 4915 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B029DAB; /* 0x2B029D5E: jne 0x2b029dab */ 4916 L_2B029D60: 4917 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029D60: mov byte ptr [ecx + 0x34], bl */ 4918 edx = MEM32(eax + 0x4); /* 0x2B029D63: mov edx, dword ptr [eax + 4] */ 4919 MEM8(edx + 0x34) = (uint8_t)(0); /* 0x2B029D66: mov byte ptr [edx + 0x34], 0 */ 4920 ecx = MEM32(eax + 0x4); /* 0x2B029D6A: mov ecx, dword ptr [eax + 4] */ 4921 edx = MEM32(ecx + 0x8); /* 0x2B029D6D: mov edx, dword ptr [ecx + 8] */ 4922 esi = MEM32(edx); /* 0x2B029D70: mov esi, dword ptr [edx] */ 4923 MEM32(ecx + 0x8) = esi; /* 0x2B029D72: mov dword ptr [ecx + 8], esi */ 4924 esi = MEM32(edx); /* 0x2B029D75: mov esi, dword ptr [edx] */ 4925 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029D77: cmp esi, dword ptr [edi + 8] */ 4926 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4927 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4928 _flag_k = FK_CMP; 4929 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029D7F; /* 0x2B029D7A: je 0x2b029d7f */ 4930 L_2B029D7C: 4931 MEM32(esi + 0x4) = ecx; /* 0x2B029D7C: mov dword ptr [esi + 4], ecx */ 4932 L_2B029D7F: 4933 esi = MEM32(ecx + 0x4); /* 0x2B029D7F: mov esi, dword ptr [ecx + 4] */ 4934 MEM32(edx + 0x4) = esi; /* 0x2B029D82: mov dword ptr [edx + 4], esi */ 4935 esi = MEM32(edi + 0x4); /* 0x2B029D85: mov esi, dword ptr [edi + 4] */ 4936 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029D88: cmp ecx, dword ptr [esi + 4] */ 4937 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4938 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4939 _flag_k = FK_CMP; 4940 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D92; /* 0x2B029D8B: jne 0x2b029d92 */ 4941 L_2B029D8D: 4942 MEM32(esi + 0x4) = edx; /* 0x2B029D8D: mov dword ptr [esi + 4], edx */ 4943 goto L_2B029DA0; /* 0x2B029D90: jmp 0x2b029da0 */ 4944 L_2B029D92: 4945 esi = MEM32(ecx + 0x4); /* 0x2B029D92: mov esi, dword ptr [ecx + 4] */ 4946 /* cmp ecx, MEM32(esi) */ /* 0x2B029D95: cmp ecx, dword ptr [esi] */ 4947 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 4948 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4949 _flag_k = FK_CMP; 4950 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D9D; /* 0x2B029D97: jne 0x2b029d9d */ 4951 L_2B029D99: 4952 MEM32(esi) = edx; /* 0x2B029D99: mov dword ptr [esi], edx */ 4953 goto L_2B029DA0; /* 0x2B029D9B: jmp 0x2b029da0 */ 4954 L_2B029D9D: 4955 MEM32(esi + 0x8) = edx; /* 0x2B029D9D: mov dword ptr [esi + 8], edx */ 4956 L_2B029DA0: 4957 MEM32(edx) = ecx; /* 0x2B029DA0: mov dword ptr [edx], ecx */ 4958 MEM32(ecx + 0x4) = edx; /* 0x2B029DA2: mov dword ptr [ecx + 4], edx */ 4959 ecx = MEM32(eax + 0x4); /* 0x2B029DA5: mov ecx, dword ptr [eax + 4] */ 4960 ecx = MEM32(ecx + 0x8); /* 0x2B029DA8: mov ecx, dword ptr [ecx + 8] */ 4961 L_2B029DAB: 4962 edx = MEM32(ecx); /* 0x2B029DAB: mov edx, dword ptr [ecx] */ 4963 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029DAD: cmp byte ptr [edx + 0x34], bl */ 4964 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4965 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4966 _flag_k = FK_NARROW(FK_CMP, 24); 4967 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E46; /* 0x2B029DB0: jne 0x2b029e46 */ 4968 L_2B029DB6: 4969 edx = MEM32(ecx + 0x8); /* 0x2B029DB6: mov edx, dword ptr [ecx + 8] */ 4970 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029DB9: cmp byte ptr [edx + 0x34], bl */ 4971 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4972 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4973 _flag_k = FK_NARROW(FK_CMP, 24); 4974 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E46; /* 0x2B029DBC: jne 0x2b029e46 */ 4975 L_2B029DC2: 4976 goto L_2B029E2E; /* 0x2B029DC2: jmp 0x2b029e2e */ 4977 L_2B029DC4: 4978 SET_LO8(edx, MEM8(ecx + 0x34)); /* 0x2B029DC4: mov dl, byte ptr [ecx + 0x34] */ 4979 /* test LO8(edx), LO8(edx) */ /* 0x2B029DC7: test dl, dl */ 4980 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 4981 _cf = 0; 4982 _flag_k = FK_NARROW(FK_TEST, 24); 4983 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B029E17; /* 0x2B029DC9: jne 0x2b029e17 */ 4984 L_2B029DCB: 4985 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029DCB: mov byte ptr [ecx + 0x34], bl */ 4986 ecx = MEM32(eax + 0x4); /* 0x2B029DCE: mov ecx, dword ptr [eax + 4] */ 4987 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029DD1: mov byte ptr [ecx + 0x34], 0 */ 4988 ecx = MEM32(eax + 0x4); /* 0x2B029DD5: mov ecx, dword ptr [eax + 4] */ 4989 edx = MEM32(ecx); /* 0x2B029DD8: mov edx, dword ptr [ecx] */ 4990 esi = MEM32(edx + 0x8); /* 0x2B029DDA: mov esi, dword ptr [edx + 8] */ 4991 MEM32(ecx) = esi; /* 0x2B029DDD: mov dword ptr [ecx], esi */ 4992 esi = MEM32(edx + 0x8); /* 0x2B029DDF: mov esi, dword ptr [edx + 8] */ 4993 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029DE2: cmp esi, dword ptr [edi + 8] */ 4994 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4995 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4996 _flag_k = FK_CMP; 4997 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029DEA; /* 0x2B029DE5: je 0x2b029dea */ 4998 L_2B029DE7: 4999 MEM32(esi + 0x4) = ecx; /* 0x2B029DE7: mov dword ptr [esi + 4], ecx */ 5000 L_2B029DEA: 5001 esi = MEM32(ecx + 0x4); /* 0x2B029DEA: mov esi, dword ptr [ecx + 4] */ 5002 MEM32(edx + 0x4) = esi; /* 0x2B029DED: mov dword ptr [edx + 4], esi */ 5003 esi = MEM32(edi + 0x4); /* 0x2B029DF0: mov esi, dword ptr [edi + 4] */ 5004 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029DF3: cmp ecx, dword ptr [esi + 4] */ 5005 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5006 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5007 _flag_k = FK_CMP; 5008 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029DFD; /* 0x2B029DF6: jne 0x2b029dfd */ 5009 L_2B029DF8: 5010 MEM32(esi + 0x4) = edx; /* 0x2B029DF8: mov dword ptr [esi + 4], edx */ 5011 goto L_2B029E0C; /* 0x2B029DFB: jmp 0x2b029e0c */ 5012 L_2B029DFD: 5013 esi = MEM32(ecx + 0x4); /* 0x2B029DFD: mov esi, dword ptr [ecx + 4] */ 5014 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029E00: cmp ecx, dword ptr [esi + 8] */ 5015 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5016 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5017 _flag_k = FK_CMP; 5018 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E0A; /* 0x2B029E03: jne 0x2b029e0a */ 5019 L_2B029E05: 5020 MEM32(esi + 0x8) = edx; /* 0x2B029E05: mov dword ptr [esi + 8], edx */ 5021 goto L_2B029E0C; /* 0x2B029E08: jmp 0x2b029e0c */ 5022 L_2B029E0A: 5023 MEM32(esi) = edx; /* 0x2B029E0A: mov dword ptr [esi], edx */ 5024 L_2B029E0C: 5025 MEM32(edx + 0x8) = ecx; /* 0x2B029E0C: mov dword ptr [edx + 8], ecx */ 5026 MEM32(ecx + 0x4) = edx; /* 0x2B029E0F: mov dword ptr [ecx + 4], edx */ 5027 edx = MEM32(eax + 0x4); /* 0x2B029E12: mov edx, dword ptr [eax + 4] */ 5028 ecx = MEM32(edx); /* 0x2B029E15: mov ecx, dword ptr [edx] */ 5029 L_2B029E17: 5030 edx = MEM32(ecx + 0x8); /* 0x2B029E17: mov edx, dword ptr [ecx + 8] */ 5031 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029E1A: cmp byte ptr [edx + 0x34], bl */ 5032 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5033 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5034 _flag_k = FK_NARROW(FK_CMP, 24); 5035 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029EF3; /* 0x2B029E1D: jne 0x2b029ef3 */ 5036 L_2B029E23: 5037 edx = MEM32(ecx); /* 0x2B029E23: mov edx, dword ptr [ecx] */ 5038 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029E25: cmp byte ptr [edx + 0x34], bl */ 5039 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5040 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5041 _flag_k = FK_NARROW(FK_CMP, 24); 5042 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029EF3; /* 0x2B029E28: jne 0x2b029ef3 */ 5043 L_2B029E2E: 5044 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029E2E: mov byte ptr [ecx + 0x34], 0 */ 5045 ecx = MEM32(edi + 0x4); /* 0x2B029E32: mov ecx, dword ptr [edi + 4] */ 5046 eax = MEM32(eax + 0x4); /* 0x2B029E35: mov eax, dword ptr [eax + 4] */ 5047 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B029E38: cmp eax, dword ptr [ecx + 4] */ 5048 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 5049 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5050 _flag_k = FK_CMP; 5051 RECOMP_BACKEDGE(); 5052 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D44; /* 0x2B029E3B: jne 0x2b029d44 */ 5053 L_2B029E41: 5054 goto L_2B029F92; /* 0x2B029E41: jmp 0x2b029f92 */ 5055 L_2B029E46: 5056 edx = MEM32(ecx + 0x8); /* 0x2B029E46: mov edx, dword ptr [ecx + 8] */ 5057 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029E49: cmp byte ptr [edx + 0x34], bl */ 5058 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5059 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5060 _flag_k = FK_NARROW(FK_CMP, 24); 5061 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E97; /* 0x2B029E4C: jne 0x2b029e97 */ 5062 L_2B029E4E: 5063 edx = MEM32(ecx); /* 0x2B029E4E: mov edx, dword ptr [ecx] */ 5064 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029E50: mov byte ptr [edx + 0x34], bl */ 5065 edx = MEM32(ecx); /* 0x2B029E53: mov edx, dword ptr [ecx] */ 5066 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029E55: mov byte ptr [ecx + 0x34], 0 */ 5067 esi = MEM32(edx + 0x8); /* 0x2B029E59: mov esi, dword ptr [edx + 8] */ 5068 MEM32(ecx) = esi; /* 0x2B029E5C: mov dword ptr [ecx], esi */ 5069 esi = MEM32(edx + 0x8); /* 0x2B029E5E: mov esi, dword ptr [edx + 8] */ 5070 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029E61: cmp esi, dword ptr [edi + 8] */ 5071 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5072 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5073 _flag_k = FK_CMP; 5074 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029E69; /* 0x2B029E64: je 0x2b029e69 */ 5075 L_2B029E66: 5076 MEM32(esi + 0x4) = ecx; /* 0x2B029E66: mov dword ptr [esi + 4], ecx */ 5077 L_2B029E69: 5078 esi = MEM32(ecx + 0x4); /* 0x2B029E69: mov esi, dword ptr [ecx + 4] */ 5079 MEM32(edx + 0x4) = esi; /* 0x2B029E6C: mov dword ptr [edx + 4], esi */ 5080 esi = MEM32(edi + 0x4); /* 0x2B029E6F: mov esi, dword ptr [edi + 4] */ 5081 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029E72: cmp ecx, dword ptr [esi + 4] */ 5082 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5083 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5084 _flag_k = FK_CMP; 5085 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E7C; /* 0x2B029E75: jne 0x2b029e7c */ 5086 L_2B029E77: 5087 MEM32(esi + 0x4) = edx; /* 0x2B029E77: mov dword ptr [esi + 4], edx */ 5088 goto L_2B029E8B; /* 0x2B029E7A: jmp 0x2b029e8b */ 5089 L_2B029E7C: 5090 esi = MEM32(ecx + 0x4); /* 0x2B029E7C: mov esi, dword ptr [ecx + 4] */ 5091 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029E7F: cmp ecx, dword ptr [esi + 8] */ 5092 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5093 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5094 _flag_k = FK_CMP; 5095 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E89; /* 0x2B029E82: jne 0x2b029e89 */ 5096 L_2B029E84: 5097 MEM32(esi + 0x8) = edx; /* 0x2B029E84: mov dword ptr [esi + 8], edx */ 5098 goto L_2B029E8B; /* 0x2B029E87: jmp 0x2b029e8b */ 5099 L_2B029E89: 5100 MEM32(esi) = edx; /* 0x2B029E89: mov dword ptr [esi], edx */ 5101 L_2B029E8B: 5102 MEM32(edx + 0x8) = ecx; /* 0x2B029E8B: mov dword ptr [edx + 8], ecx */ 5103 MEM32(ecx + 0x4) = edx; /* 0x2B029E8E: mov dword ptr [ecx + 4], edx */ 5104 ecx = MEM32(eax + 0x4); /* 0x2B029E91: mov ecx, dword ptr [eax + 4] */ 5105 ecx = MEM32(ecx + 0x8); /* 0x2B029E94: mov ecx, dword ptr [ecx + 8] */ 5106 L_2B029E97: 5107 edx = MEM32(eax + 0x4); /* 0x2B029E97: mov edx, dword ptr [eax + 4] */ 5108 SET_LO8(edx, MEM8(edx + 0x34)); /* 0x2B029E9A: mov dl, byte ptr [edx + 0x34] */ 5109 MEM8(ecx + 0x34) = (uint8_t)(LO8(edx)); /* 0x2B029E9D: mov byte ptr [ecx + 0x34], dl */ 5110 edx = MEM32(eax + 0x4); /* 0x2B029EA0: mov edx, dword ptr [eax + 4] */ 5111 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029EA3: mov byte ptr [edx + 0x34], bl */ 5112 ecx = MEM32(ecx + 0x8); /* 0x2B029EA6: mov ecx, dword ptr [ecx + 8] */ 5113 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029EA9: mov byte ptr [ecx + 0x34], bl */ 5114 ecx = MEM32(eax + 0x4); /* 0x2B029EAC: mov ecx, dword ptr [eax + 4] */ 5115 edx = MEM32(ecx + 0x8); /* 0x2B029EAF: mov edx, dword ptr [ecx + 8] */ 5116 esi = MEM32(edx); /* 0x2B029EB2: mov esi, dword ptr [edx] */ 5117 MEM32(ecx + 0x8) = esi; /* 0x2B029EB4: mov dword ptr [ecx + 8], esi */ 5118 esi = MEM32(edx); /* 0x2B029EB7: mov esi, dword ptr [edx] */ 5119 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029EB9: cmp esi, dword ptr [edi + 8] */ 5120 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5121 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5122 _flag_k = FK_CMP; 5123 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029EC1; /* 0x2B029EBC: je 0x2b029ec1 */ 5124 L_2B029EBE: 5125 MEM32(esi + 0x4) = ecx; /* 0x2B029EBE: mov dword ptr [esi + 4], ecx */ 5126 L_2B029EC1: 5127 esi = MEM32(ecx + 0x4); /* 0x2B029EC1: mov esi, dword ptr [ecx + 4] */ 5128 MEM32(edx + 0x4) = esi; /* 0x2B029EC4: mov dword ptr [edx + 4], esi */ 5129 esi = MEM32(edi + 0x4); /* 0x2B029EC7: mov esi, dword ptr [edi + 4] */ 5130 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029ECA: cmp ecx, dword ptr [esi + 4] */ 5131 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5132 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5133 _flag_k = FK_CMP; 5134 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029ED9; /* 0x2B029ECD: jne 0x2b029ed9 */ 5135 L_2B029ECF: 5136 MEM32(esi + 0x4) = edx; /* 0x2B029ECF: mov dword ptr [esi + 4], edx */ 5137 MEM32(edx) = ecx; /* 0x2B029ED2: mov dword ptr [edx], ecx */ 5138 goto L_2B029F8F; /* 0x2B029ED4: jmp 0x2b029f8f */ 5139 L_2B029ED9: 5140 esi = MEM32(ecx + 0x4); /* 0x2B029ED9: mov esi, dword ptr [ecx + 4] */ 5141 /* cmp ecx, MEM32(esi) */ /* 0x2B029EDC: cmp ecx, dword ptr [esi] */ 5142 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5143 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5144 _flag_k = FK_CMP; 5145 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029EE9; /* 0x2B029EDE: jne 0x2b029ee9 */ 5146 L_2B029EE0: 5147 MEM32(esi) = edx; /* 0x2B029EE0: mov dword ptr [esi], edx */ 5148 MEM32(edx) = ecx; /* 0x2B029EE2: mov dword ptr [edx], ecx */ 5149 goto L_2B029F8F; /* 0x2B029EE4: jmp 0x2b029f8f */ 5150 L_2B029EE9: 5151 MEM32(esi + 0x8) = edx; /* 0x2B029EE9: mov dword ptr [esi + 8], edx */ 5152 MEM32(edx) = ecx; /* 0x2B029EEC: mov dword ptr [edx], ecx */ 5153 goto L_2B029F8F; /* 0x2B029EEE: jmp 0x2b029f8f */ 5154 L_2B029EF3: 5155 edx = MEM32(ecx); /* 0x2B029EF3: mov edx, dword ptr [ecx] */ 5156 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029EF5: cmp byte ptr [edx + 0x34], bl */ 5157 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5158 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5159 _flag_k = FK_NARROW(FK_CMP, 24); 5160 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F41; /* 0x2B029EF8: jne 0x2b029f41 */ 5161 L_2B029EFA: 5162 edx = MEM32(ecx + 0x8); /* 0x2B029EFA: mov edx, dword ptr [ecx + 8] */ 5163 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029EFD: mov byte ptr [edx + 0x34], bl */ 5164 edx = MEM32(ecx + 0x8); /* 0x2B029F00: mov edx, dword ptr [ecx + 8] */ 5165 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029F03: mov byte ptr [ecx + 0x34], 0 */ 5166 esi = MEM32(edx); /* 0x2B029F07: mov esi, dword ptr [edx] */ 5167 MEM32(ecx + 0x8) = esi; /* 0x2B029F09: mov dword ptr [ecx + 8], esi */ 5168 esi = MEM32(edx); /* 0x2B029F0C: mov esi, dword ptr [edx] */ 5169 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029F0E: cmp esi, dword ptr [edi + 8] */ 5170 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5171 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5172 _flag_k = FK_CMP; 5173 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029F16; /* 0x2B029F11: je 0x2b029f16 */ 5174 L_2B029F13: 5175 MEM32(esi + 0x4) = ecx; /* 0x2B029F13: mov dword ptr [esi + 4], ecx */ 5176 L_2B029F16: 5177 esi = MEM32(ecx + 0x4); /* 0x2B029F16: mov esi, dword ptr [ecx + 4] */ 5178 MEM32(edx + 0x4) = esi; /* 0x2B029F19: mov dword ptr [edx + 4], esi */ 5179 esi = MEM32(edi + 0x4); /* 0x2B029F1C: mov esi, dword ptr [edi + 4] */ 5180 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029F1F: cmp ecx, dword ptr [esi + 4] */ 5181 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5182 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5183 _flag_k = FK_CMP; 5184 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F29; /* 0x2B029F22: jne 0x2b029f29 */ 5185 L_2B029F24: 5186 MEM32(esi + 0x4) = edx; /* 0x2B029F24: mov dword ptr [esi + 4], edx */ 5187 goto L_2B029F37; /* 0x2B029F27: jmp 0x2b029f37 */ 5188 L_2B029F29: 5189 esi = MEM32(ecx + 0x4); /* 0x2B029F29: mov esi, dword ptr [ecx + 4] */ 5190 /* cmp ecx, MEM32(esi) */ /* 0x2B029F2C: cmp ecx, dword ptr [esi] */ 5191 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5192 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5193 _flag_k = FK_CMP; 5194 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F34; /* 0x2B029F2E: jne 0x2b029f34 */ 5195 L_2B029F30: 5196 MEM32(esi) = edx; /* 0x2B029F30: mov dword ptr [esi], edx */ 5197 goto L_2B029F37; /* 0x2B029F32: jmp 0x2b029f37 */ 5198 L_2B029F34: 5199 MEM32(esi + 0x8) = edx; /* 0x2B029F34: mov dword ptr [esi + 8], edx */ 5200 L_2B029F37: 5201 MEM32(edx) = ecx; /* 0x2B029F37: mov dword ptr [edx], ecx */ 5202 MEM32(ecx + 0x4) = edx; /* 0x2B029F39: mov dword ptr [ecx + 4], edx */ 5203 ecx = MEM32(eax + 0x4); /* 0x2B029F3C: mov ecx, dword ptr [eax + 4] */ 5204 ecx = MEM32(ecx); /* 0x2B029F3F: mov ecx, dword ptr [ecx] */ 5205 L_2B029F41: 5206 edx = MEM32(eax + 0x4); /* 0x2B029F41: mov edx, dword ptr [eax + 4] */ 5207 SET_LO8(edx, MEM8(edx + 0x34)); /* 0x2B029F44: mov dl, byte ptr [edx + 0x34] */ 5208 MEM8(ecx + 0x34) = (uint8_t)(LO8(edx)); /* 0x2B029F47: mov byte ptr [ecx + 0x34], dl */ 5209 edx = MEM32(eax + 0x4); /* 0x2B029F4A: mov edx, dword ptr [eax + 4] */ 5210 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F4D: mov byte ptr [edx + 0x34], bl */ 5211 ecx = MEM32(ecx); /* 0x2B029F50: mov ecx, dword ptr [ecx] */ 5212 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F52: mov byte ptr [ecx + 0x34], bl */ 5213 ecx = MEM32(eax + 0x4); /* 0x2B029F55: mov ecx, dword ptr [eax + 4] */ 5214 edx = MEM32(ecx); /* 0x2B029F58: mov edx, dword ptr [ecx] */ 5215 esi = MEM32(edx + 0x8); /* 0x2B029F5A: mov esi, dword ptr [edx + 8] */ 5216 MEM32(ecx) = esi; /* 0x2B029F5D: mov dword ptr [ecx], esi */ 5217 esi = MEM32(edx + 0x8); /* 0x2B029F5F: mov esi, dword ptr [edx + 8] */ 5218 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029F62: cmp esi, dword ptr [edi + 8] */ 5219 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5220 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5221 _flag_k = FK_CMP; 5222 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029F6A; /* 0x2B029F65: je 0x2b029f6a */ 5223 L_2B029F67: 5224 MEM32(esi + 0x4) = ecx; /* 0x2B029F67: mov dword ptr [esi + 4], ecx */ 5225 L_2B029F6A: 5226 esi = MEM32(ecx + 0x4); /* 0x2B029F6A: mov esi, dword ptr [ecx + 4] */ 5227 MEM32(edx + 0x4) = esi; /* 0x2B029F6D: mov dword ptr [edx + 4], esi */ 5228 esi = MEM32(edi + 0x4); /* 0x2B029F70: mov esi, dword ptr [edi + 4] */ 5229 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029F73: cmp ecx, dword ptr [esi + 4] */ 5230 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5231 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5232 _flag_k = FK_CMP; 5233 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F7D; /* 0x2B029F76: jne 0x2b029f7d */ 5234 L_2B029F78: 5235 MEM32(esi + 0x4) = edx; /* 0x2B029F78: mov dword ptr [esi + 4], edx */ 5236 goto L_2B029F8C; /* 0x2B029F7B: jmp 0x2b029f8c */ 5237 L_2B029F7D: 5238 esi = MEM32(ecx + 0x4); /* 0x2B029F7D: mov esi, dword ptr [ecx + 4] */ 5239 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029F80: cmp ecx, dword ptr [esi + 8] */ 5240 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5241 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5242 _flag_k = FK_CMP; 5243 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F8A; /* 0x2B029F83: jne 0x2b029f8a */ 5244 L_2B029F85: 5245 MEM32(esi + 0x8) = edx; /* 0x2B029F85: mov dword ptr [esi + 8], edx */ 5246 goto L_2B029F8C; /* 0x2B029F88: jmp 0x2b029f8c */ 5247 L_2B029F8A: 5248 MEM32(esi) = edx; /* 0x2B029F8A: mov dword ptr [esi], edx */ 5249 L_2B029F8C: 5250 MEM32(edx + 0x8) = ecx; /* 0x2B029F8C: mov dword ptr [edx + 8], ecx */ 5251 L_2B029F8F: 5252 MEM32(ecx + 0x4) = edx; /* 0x2B029F8F: mov dword ptr [ecx + 4], edx */ 5253 L_2B029F92: 5254 esi = MEM32(ebp + (-0x4)); /* 0x2B029F92: mov esi, dword ptr [ebp - 4] */ 5255 MEM8(eax + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F95: mov byte ptr [eax + 0x34], bl */ 5256 ecx = esi + 0xC; /* 0x2B029F98: lea ecx, [esi + 0xc] */ 5257 RECOMP_ICALL(0x2B028990u); /* 0x2B029F9B: call 0x2b028990 */ /* not lifted */ 5258 RECOMP_FLAGS_IN(); 5259 PUSH32(esp, esi); /* 0x2B029FA0: push esi */ 5260 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B029FA1: call 0x2b0ab1ba */ /* not lifted */ 5261 RECOMP_FLAGS_IN(); 5262 eax = MEM32(edi + 0x10); /* 0x2B029FA6: mov eax, dword ptr [edi + 0x10] */ 5263 edx = MEM32(ebp + 0xC); /* 0x2B029FA9: mov edx, dword ptr [ebp + 0xc] */ 5264 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5265 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5266 esp = esp + 4; /* 0x2B029FAC: add esp, 4 */ 5267 _flag_k = FK_ADD; 5268 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 5269 eax = eax - 1; /* 0x2B029FAF: dec eax */ 5270 _flag_k = FK_DEC; 5271 MEM32(edi + 0x10) = eax; /* 0x2B029FB0: mov dword ptr [edi + 0x10], eax */ 5272 eax = MEM32(ebp + 0x8); /* 0x2B029FB3: mov eax, dword ptr [ebp + 8] */ 5273 edi = POP32_VAL(esp); /* 0x2B029FB6: pop edi */ 5274 esi = POP32_VAL(esp); /* 0x2B029FB7: pop esi */ 5275 MEM32(eax) = edx; /* 0x2B029FB8: mov dword ptr [eax], edx */ 5276 ebx = POP32_VAL(esp); /* 0x2B029FBA: pop ebx */ 5277 esp = ebp; /* 0x2B029FBB: mov esp, ebp */ 5278 ebp = POP32_VAL(esp); /* 0x2B029FBD: pop ebp */ 5279 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B029FBE: ret 8 */ 5280 RECOMP_REGS_OUT(); 5281 } 5282 5283 void sub_2B029DC4(void) { 5284 int _fpu_cmp = 0; 5285 uint32_t _cf = 0; 5286 int _df = 1; 5287 uint32_t _flag_k = FK_NONE; 5288 uint32_t _flag_a = 0, _flag_b = 0; 5289 uint32_t _itail_tgt = 0; 5290 RECOMP_REGS_LOCALS 5291 RECOMP_ENTER(0x2B029DC4u); 5292 5293 goto L_2B029DC4; 5294 L_2B029D44: 5295 /* cmp MEM8(eax + 0x34), LO8(ebx) */ /* 0x2B029D44: cmp byte ptr [eax + 0x34], bl */ 5296 _flag_a = (uint32_t)(MEM8(eax + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5297 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5298 _flag_k = FK_NARROW(FK_CMP, 24); 5299 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F92; /* 0x2B029D47: jne 0x2b029f92 */ 5300 L_2B029D4D: 5301 edx = MEM32(eax + 0x4); /* 0x2B029D4D: mov edx, dword ptr [eax + 4] */ 5302 ecx = MEM32(edx); /* 0x2B029D50: mov ecx, dword ptr [edx] */ 5303 /* cmp eax, ecx */ /* 0x2B029D52: cmp eax, ecx */ 5304 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 5305 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5306 _flag_k = FK_CMP; 5307 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029DC4; /* 0x2B029D54: jne 0x2b029dc4 */ 5308 L_2B029D56: 5309 ecx = MEM32(edx + 0x8); /* 0x2B029D56: mov ecx, dword ptr [edx + 8] */ 5310 SET_LO8(edx, MEM8(ecx + 0x34)); /* 0x2B029D59: mov dl, byte ptr [ecx + 0x34] */ 5311 /* test LO8(edx), LO8(edx) */ /* 0x2B029D5C: test dl, dl */ 5312 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 5313 _cf = 0; 5314 _flag_k = FK_NARROW(FK_TEST, 24); 5315 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B029DAB; /* 0x2B029D5E: jne 0x2b029dab */ 5316 L_2B029D60: 5317 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029D60: mov byte ptr [ecx + 0x34], bl */ 5318 edx = MEM32(eax + 0x4); /* 0x2B029D63: mov edx, dword ptr [eax + 4] */ 5319 MEM8(edx + 0x34) = (uint8_t)(0); /* 0x2B029D66: mov byte ptr [edx + 0x34], 0 */ 5320 ecx = MEM32(eax + 0x4); /* 0x2B029D6A: mov ecx, dword ptr [eax + 4] */ 5321 edx = MEM32(ecx + 0x8); /* 0x2B029D6D: mov edx, dword ptr [ecx + 8] */ 5322 esi = MEM32(edx); /* 0x2B029D70: mov esi, dword ptr [edx] */ 5323 MEM32(ecx + 0x8) = esi; /* 0x2B029D72: mov dword ptr [ecx + 8], esi */ 5324 esi = MEM32(edx); /* 0x2B029D75: mov esi, dword ptr [edx] */ 5325 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029D77: cmp esi, dword ptr [edi + 8] */ 5326 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5327 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5328 _flag_k = FK_CMP; 5329 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029D7F; /* 0x2B029D7A: je 0x2b029d7f */ 5330 L_2B029D7C: 5331 MEM32(esi + 0x4) = ecx; /* 0x2B029D7C: mov dword ptr [esi + 4], ecx */ 5332 L_2B029D7F: 5333 esi = MEM32(ecx + 0x4); /* 0x2B029D7F: mov esi, dword ptr [ecx + 4] */ 5334 MEM32(edx + 0x4) = esi; /* 0x2B029D82: mov dword ptr [edx + 4], esi */ 5335 esi = MEM32(edi + 0x4); /* 0x2B029D85: mov esi, dword ptr [edi + 4] */ 5336 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029D88: cmp ecx, dword ptr [esi + 4] */ 5337 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5338 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5339 _flag_k = FK_CMP; 5340 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D92; /* 0x2B029D8B: jne 0x2b029d92 */ 5341 L_2B029D8D: 5342 MEM32(esi + 0x4) = edx; /* 0x2B029D8D: mov dword ptr [esi + 4], edx */ 5343 goto L_2B029DA0; /* 0x2B029D90: jmp 0x2b029da0 */ 5344 L_2B029D92: 5345 esi = MEM32(ecx + 0x4); /* 0x2B029D92: mov esi, dword ptr [ecx + 4] */ 5346 /* cmp ecx, MEM32(esi) */ /* 0x2B029D95: cmp ecx, dword ptr [esi] */ 5347 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5348 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5349 _flag_k = FK_CMP; 5350 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D9D; /* 0x2B029D97: jne 0x2b029d9d */ 5351 L_2B029D99: 5352 MEM32(esi) = edx; /* 0x2B029D99: mov dword ptr [esi], edx */ 5353 goto L_2B029DA0; /* 0x2B029D9B: jmp 0x2b029da0 */ 5354 L_2B029D9D: 5355 MEM32(esi + 0x8) = edx; /* 0x2B029D9D: mov dword ptr [esi + 8], edx */ 5356 L_2B029DA0: 5357 MEM32(edx) = ecx; /* 0x2B029DA0: mov dword ptr [edx], ecx */ 5358 MEM32(ecx + 0x4) = edx; /* 0x2B029DA2: mov dword ptr [ecx + 4], edx */ 5359 ecx = MEM32(eax + 0x4); /* 0x2B029DA5: mov ecx, dword ptr [eax + 4] */ 5360 ecx = MEM32(ecx + 0x8); /* 0x2B029DA8: mov ecx, dword ptr [ecx + 8] */ 5361 L_2B029DAB: 5362 edx = MEM32(ecx); /* 0x2B029DAB: mov edx, dword ptr [ecx] */ 5363 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029DAD: cmp byte ptr [edx + 0x34], bl */ 5364 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5365 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5366 _flag_k = FK_NARROW(FK_CMP, 24); 5367 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E46; /* 0x2B029DB0: jne 0x2b029e46 */ 5368 L_2B029DB6: 5369 edx = MEM32(ecx + 0x8); /* 0x2B029DB6: mov edx, dword ptr [ecx + 8] */ 5370 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029DB9: cmp byte ptr [edx + 0x34], bl */ 5371 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5372 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5373 _flag_k = FK_NARROW(FK_CMP, 24); 5374 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E46; /* 0x2B029DBC: jne 0x2b029e46 */ 5375 L_2B029DC2: 5376 goto L_2B029E2E; /* 0x2B029DC2: jmp 0x2b029e2e */ 5377 L_2B029DC4: 5378 SET_LO8(edx, MEM8(ecx + 0x34)); /* 0x2B029DC4: mov dl, byte ptr [ecx + 0x34] */ 5379 /* test LO8(edx), LO8(edx) */ /* 0x2B029DC7: test dl, dl */ 5380 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 5381 _cf = 0; 5382 _flag_k = FK_NARROW(FK_TEST, 24); 5383 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B029E17; /* 0x2B029DC9: jne 0x2b029e17 */ 5384 L_2B029DCB: 5385 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029DCB: mov byte ptr [ecx + 0x34], bl */ 5386 ecx = MEM32(eax + 0x4); /* 0x2B029DCE: mov ecx, dword ptr [eax + 4] */ 5387 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029DD1: mov byte ptr [ecx + 0x34], 0 */ 5388 ecx = MEM32(eax + 0x4); /* 0x2B029DD5: mov ecx, dword ptr [eax + 4] */ 5389 edx = MEM32(ecx); /* 0x2B029DD8: mov edx, dword ptr [ecx] */ 5390 esi = MEM32(edx + 0x8); /* 0x2B029DDA: mov esi, dword ptr [edx + 8] */ 5391 MEM32(ecx) = esi; /* 0x2B029DDD: mov dword ptr [ecx], esi */ 5392 esi = MEM32(edx + 0x8); /* 0x2B029DDF: mov esi, dword ptr [edx + 8] */ 5393 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029DE2: cmp esi, dword ptr [edi + 8] */ 5394 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5395 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5396 _flag_k = FK_CMP; 5397 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029DEA; /* 0x2B029DE5: je 0x2b029dea */ 5398 L_2B029DE7: 5399 MEM32(esi + 0x4) = ecx; /* 0x2B029DE7: mov dword ptr [esi + 4], ecx */ 5400 L_2B029DEA: 5401 esi = MEM32(ecx + 0x4); /* 0x2B029DEA: mov esi, dword ptr [ecx + 4] */ 5402 MEM32(edx + 0x4) = esi; /* 0x2B029DED: mov dword ptr [edx + 4], esi */ 5403 esi = MEM32(edi + 0x4); /* 0x2B029DF0: mov esi, dword ptr [edi + 4] */ 5404 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029DF3: cmp ecx, dword ptr [esi + 4] */ 5405 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5406 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5407 _flag_k = FK_CMP; 5408 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029DFD; /* 0x2B029DF6: jne 0x2b029dfd */ 5409 L_2B029DF8: 5410 MEM32(esi + 0x4) = edx; /* 0x2B029DF8: mov dword ptr [esi + 4], edx */ 5411 goto L_2B029E0C; /* 0x2B029DFB: jmp 0x2b029e0c */ 5412 L_2B029DFD: 5413 esi = MEM32(ecx + 0x4); /* 0x2B029DFD: mov esi, dword ptr [ecx + 4] */ 5414 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029E00: cmp ecx, dword ptr [esi + 8] */ 5415 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5416 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5417 _flag_k = FK_CMP; 5418 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E0A; /* 0x2B029E03: jne 0x2b029e0a */ 5419 L_2B029E05: 5420 MEM32(esi + 0x8) = edx; /* 0x2B029E05: mov dword ptr [esi + 8], edx */ 5421 goto L_2B029E0C; /* 0x2B029E08: jmp 0x2b029e0c */ 5422 L_2B029E0A: 5423 MEM32(esi) = edx; /* 0x2B029E0A: mov dword ptr [esi], edx */ 5424 L_2B029E0C: 5425 MEM32(edx + 0x8) = ecx; /* 0x2B029E0C: mov dword ptr [edx + 8], ecx */ 5426 MEM32(ecx + 0x4) = edx; /* 0x2B029E0F: mov dword ptr [ecx + 4], edx */ 5427 edx = MEM32(eax + 0x4); /* 0x2B029E12: mov edx, dword ptr [eax + 4] */ 5428 ecx = MEM32(edx); /* 0x2B029E15: mov ecx, dword ptr [edx] */ 5429 L_2B029E17: 5430 edx = MEM32(ecx + 0x8); /* 0x2B029E17: mov edx, dword ptr [ecx + 8] */ 5431 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029E1A: cmp byte ptr [edx + 0x34], bl */ 5432 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5433 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5434 _flag_k = FK_NARROW(FK_CMP, 24); 5435 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029EF3; /* 0x2B029E1D: jne 0x2b029ef3 */ 5436 L_2B029E23: 5437 edx = MEM32(ecx); /* 0x2B029E23: mov edx, dword ptr [ecx] */ 5438 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029E25: cmp byte ptr [edx + 0x34], bl */ 5439 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5440 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5441 _flag_k = FK_NARROW(FK_CMP, 24); 5442 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029EF3; /* 0x2B029E28: jne 0x2b029ef3 */ 5443 L_2B029E2E: 5444 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029E2E: mov byte ptr [ecx + 0x34], 0 */ 5445 ecx = MEM32(edi + 0x4); /* 0x2B029E32: mov ecx, dword ptr [edi + 4] */ 5446 eax = MEM32(eax + 0x4); /* 0x2B029E35: mov eax, dword ptr [eax + 4] */ 5447 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B029E38: cmp eax, dword ptr [ecx + 4] */ 5448 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 5449 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5450 _flag_k = FK_CMP; 5451 RECOMP_BACKEDGE(); 5452 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D44; /* 0x2B029E3B: jne 0x2b029d44 */ 5453 L_2B029E41: 5454 goto L_2B029F92; /* 0x2B029E41: jmp 0x2b029f92 */ 5455 L_2B029E46: 5456 edx = MEM32(ecx + 0x8); /* 0x2B029E46: mov edx, dword ptr [ecx + 8] */ 5457 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029E49: cmp byte ptr [edx + 0x34], bl */ 5458 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5459 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5460 _flag_k = FK_NARROW(FK_CMP, 24); 5461 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E97; /* 0x2B029E4C: jne 0x2b029e97 */ 5462 L_2B029E4E: 5463 edx = MEM32(ecx); /* 0x2B029E4E: mov edx, dword ptr [ecx] */ 5464 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029E50: mov byte ptr [edx + 0x34], bl */ 5465 edx = MEM32(ecx); /* 0x2B029E53: mov edx, dword ptr [ecx] */ 5466 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029E55: mov byte ptr [ecx + 0x34], 0 */ 5467 esi = MEM32(edx + 0x8); /* 0x2B029E59: mov esi, dword ptr [edx + 8] */ 5468 MEM32(ecx) = esi; /* 0x2B029E5C: mov dword ptr [ecx], esi */ 5469 esi = MEM32(edx + 0x8); /* 0x2B029E5E: mov esi, dword ptr [edx + 8] */ 5470 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029E61: cmp esi, dword ptr [edi + 8] */ 5471 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5472 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5473 _flag_k = FK_CMP; 5474 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029E69; /* 0x2B029E64: je 0x2b029e69 */ 5475 L_2B029E66: 5476 MEM32(esi + 0x4) = ecx; /* 0x2B029E66: mov dword ptr [esi + 4], ecx */ 5477 L_2B029E69: 5478 esi = MEM32(ecx + 0x4); /* 0x2B029E69: mov esi, dword ptr [ecx + 4] */ 5479 MEM32(edx + 0x4) = esi; /* 0x2B029E6C: mov dword ptr [edx + 4], esi */ 5480 esi = MEM32(edi + 0x4); /* 0x2B029E6F: mov esi, dword ptr [edi + 4] */ 5481 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029E72: cmp ecx, dword ptr [esi + 4] */ 5482 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5483 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5484 _flag_k = FK_CMP; 5485 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E7C; /* 0x2B029E75: jne 0x2b029e7c */ 5486 L_2B029E77: 5487 MEM32(esi + 0x4) = edx; /* 0x2B029E77: mov dword ptr [esi + 4], edx */ 5488 goto L_2B029E8B; /* 0x2B029E7A: jmp 0x2b029e8b */ 5489 L_2B029E7C: 5490 esi = MEM32(ecx + 0x4); /* 0x2B029E7C: mov esi, dword ptr [ecx + 4] */ 5491 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029E7F: cmp ecx, dword ptr [esi + 8] */ 5492 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5493 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5494 _flag_k = FK_CMP; 5495 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E89; /* 0x2B029E82: jne 0x2b029e89 */ 5496 L_2B029E84: 5497 MEM32(esi + 0x8) = edx; /* 0x2B029E84: mov dword ptr [esi + 8], edx */ 5498 goto L_2B029E8B; /* 0x2B029E87: jmp 0x2b029e8b */ 5499 L_2B029E89: 5500 MEM32(esi) = edx; /* 0x2B029E89: mov dword ptr [esi], edx */ 5501 L_2B029E8B: 5502 MEM32(edx + 0x8) = ecx; /* 0x2B029E8B: mov dword ptr [edx + 8], ecx */ 5503 MEM32(ecx + 0x4) = edx; /* 0x2B029E8E: mov dword ptr [ecx + 4], edx */ 5504 ecx = MEM32(eax + 0x4); /* 0x2B029E91: mov ecx, dword ptr [eax + 4] */ 5505 ecx = MEM32(ecx + 0x8); /* 0x2B029E94: mov ecx, dword ptr [ecx + 8] */ 5506 L_2B029E97: 5507 edx = MEM32(eax + 0x4); /* 0x2B029E97: mov edx, dword ptr [eax + 4] */ 5508 SET_LO8(edx, MEM8(edx + 0x34)); /* 0x2B029E9A: mov dl, byte ptr [edx + 0x34] */ 5509 MEM8(ecx + 0x34) = (uint8_t)(LO8(edx)); /* 0x2B029E9D: mov byte ptr [ecx + 0x34], dl */ 5510 edx = MEM32(eax + 0x4); /* 0x2B029EA0: mov edx, dword ptr [eax + 4] */ 5511 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029EA3: mov byte ptr [edx + 0x34], bl */ 5512 ecx = MEM32(ecx + 0x8); /* 0x2B029EA6: mov ecx, dword ptr [ecx + 8] */ 5513 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029EA9: mov byte ptr [ecx + 0x34], bl */ 5514 ecx = MEM32(eax + 0x4); /* 0x2B029EAC: mov ecx, dword ptr [eax + 4] */ 5515 edx = MEM32(ecx + 0x8); /* 0x2B029EAF: mov edx, dword ptr [ecx + 8] */ 5516 esi = MEM32(edx); /* 0x2B029EB2: mov esi, dword ptr [edx] */ 5517 MEM32(ecx + 0x8) = esi; /* 0x2B029EB4: mov dword ptr [ecx + 8], esi */ 5518 esi = MEM32(edx); /* 0x2B029EB7: mov esi, dword ptr [edx] */ 5519 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029EB9: cmp esi, dword ptr [edi + 8] */ 5520 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5521 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5522 _flag_k = FK_CMP; 5523 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029EC1; /* 0x2B029EBC: je 0x2b029ec1 */ 5524 L_2B029EBE: 5525 MEM32(esi + 0x4) = ecx; /* 0x2B029EBE: mov dword ptr [esi + 4], ecx */ 5526 L_2B029EC1: 5527 esi = MEM32(ecx + 0x4); /* 0x2B029EC1: mov esi, dword ptr [ecx + 4] */ 5528 MEM32(edx + 0x4) = esi; /* 0x2B029EC4: mov dword ptr [edx + 4], esi */ 5529 esi = MEM32(edi + 0x4); /* 0x2B029EC7: mov esi, dword ptr [edi + 4] */ 5530 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029ECA: cmp ecx, dword ptr [esi + 4] */ 5531 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5532 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5533 _flag_k = FK_CMP; 5534 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029ED9; /* 0x2B029ECD: jne 0x2b029ed9 */ 5535 L_2B029ECF: 5536 MEM32(esi + 0x4) = edx; /* 0x2B029ECF: mov dword ptr [esi + 4], edx */ 5537 MEM32(edx) = ecx; /* 0x2B029ED2: mov dword ptr [edx], ecx */ 5538 goto L_2B029F8F; /* 0x2B029ED4: jmp 0x2b029f8f */ 5539 L_2B029ED9: 5540 esi = MEM32(ecx + 0x4); /* 0x2B029ED9: mov esi, dword ptr [ecx + 4] */ 5541 /* cmp ecx, MEM32(esi) */ /* 0x2B029EDC: cmp ecx, dword ptr [esi] */ 5542 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5543 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5544 _flag_k = FK_CMP; 5545 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029EE9; /* 0x2B029EDE: jne 0x2b029ee9 */ 5546 L_2B029EE0: 5547 MEM32(esi) = edx; /* 0x2B029EE0: mov dword ptr [esi], edx */ 5548 MEM32(edx) = ecx; /* 0x2B029EE2: mov dword ptr [edx], ecx */ 5549 goto L_2B029F8F; /* 0x2B029EE4: jmp 0x2b029f8f */ 5550 L_2B029EE9: 5551 MEM32(esi + 0x8) = edx; /* 0x2B029EE9: mov dword ptr [esi + 8], edx */ 5552 MEM32(edx) = ecx; /* 0x2B029EEC: mov dword ptr [edx], ecx */ 5553 goto L_2B029F8F; /* 0x2B029EEE: jmp 0x2b029f8f */ 5554 L_2B029EF3: 5555 edx = MEM32(ecx); /* 0x2B029EF3: mov edx, dword ptr [ecx] */ 5556 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029EF5: cmp byte ptr [edx + 0x34], bl */ 5557 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5558 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5559 _flag_k = FK_NARROW(FK_CMP, 24); 5560 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F41; /* 0x2B029EF8: jne 0x2b029f41 */ 5561 L_2B029EFA: 5562 edx = MEM32(ecx + 0x8); /* 0x2B029EFA: mov edx, dword ptr [ecx + 8] */ 5563 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029EFD: mov byte ptr [edx + 0x34], bl */ 5564 edx = MEM32(ecx + 0x8); /* 0x2B029F00: mov edx, dword ptr [ecx + 8] */ 5565 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029F03: mov byte ptr [ecx + 0x34], 0 */ 5566 esi = MEM32(edx); /* 0x2B029F07: mov esi, dword ptr [edx] */ 5567 MEM32(ecx + 0x8) = esi; /* 0x2B029F09: mov dword ptr [ecx + 8], esi */ 5568 esi = MEM32(edx); /* 0x2B029F0C: mov esi, dword ptr [edx] */ 5569 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029F0E: cmp esi, dword ptr [edi + 8] */ 5570 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5571 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5572 _flag_k = FK_CMP; 5573 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029F16; /* 0x2B029F11: je 0x2b029f16 */ 5574 L_2B029F13: 5575 MEM32(esi + 0x4) = ecx; /* 0x2B029F13: mov dword ptr [esi + 4], ecx */ 5576 L_2B029F16: 5577 esi = MEM32(ecx + 0x4); /* 0x2B029F16: mov esi, dword ptr [ecx + 4] */ 5578 MEM32(edx + 0x4) = esi; /* 0x2B029F19: mov dword ptr [edx + 4], esi */ 5579 esi = MEM32(edi + 0x4); /* 0x2B029F1C: mov esi, dword ptr [edi + 4] */ 5580 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029F1F: cmp ecx, dword ptr [esi + 4] */ 5581 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5582 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5583 _flag_k = FK_CMP; 5584 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F29; /* 0x2B029F22: jne 0x2b029f29 */ 5585 L_2B029F24: 5586 MEM32(esi + 0x4) = edx; /* 0x2B029F24: mov dword ptr [esi + 4], edx */ 5587 goto L_2B029F37; /* 0x2B029F27: jmp 0x2b029f37 */ 5588 L_2B029F29: 5589 esi = MEM32(ecx + 0x4); /* 0x2B029F29: mov esi, dword ptr [ecx + 4] */ 5590 /* cmp ecx, MEM32(esi) */ /* 0x2B029F2C: cmp ecx, dword ptr [esi] */ 5591 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5592 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5593 _flag_k = FK_CMP; 5594 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F34; /* 0x2B029F2E: jne 0x2b029f34 */ 5595 L_2B029F30: 5596 MEM32(esi) = edx; /* 0x2B029F30: mov dword ptr [esi], edx */ 5597 goto L_2B029F37; /* 0x2B029F32: jmp 0x2b029f37 */ 5598 L_2B029F34: 5599 MEM32(esi + 0x8) = edx; /* 0x2B029F34: mov dword ptr [esi + 8], edx */ 5600 L_2B029F37: 5601 MEM32(edx) = ecx; /* 0x2B029F37: mov dword ptr [edx], ecx */ 5602 MEM32(ecx + 0x4) = edx; /* 0x2B029F39: mov dword ptr [ecx + 4], edx */ 5603 ecx = MEM32(eax + 0x4); /* 0x2B029F3C: mov ecx, dword ptr [eax + 4] */ 5604 ecx = MEM32(ecx); /* 0x2B029F3F: mov ecx, dword ptr [ecx] */ 5605 L_2B029F41: 5606 edx = MEM32(eax + 0x4); /* 0x2B029F41: mov edx, dword ptr [eax + 4] */ 5607 SET_LO8(edx, MEM8(edx + 0x34)); /* 0x2B029F44: mov dl, byte ptr [edx + 0x34] */ 5608 MEM8(ecx + 0x34) = (uint8_t)(LO8(edx)); /* 0x2B029F47: mov byte ptr [ecx + 0x34], dl */ 5609 edx = MEM32(eax + 0x4); /* 0x2B029F4A: mov edx, dword ptr [eax + 4] */ 5610 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F4D: mov byte ptr [edx + 0x34], bl */ 5611 ecx = MEM32(ecx); /* 0x2B029F50: mov ecx, dword ptr [ecx] */ 5612 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F52: mov byte ptr [ecx + 0x34], bl */ 5613 ecx = MEM32(eax + 0x4); /* 0x2B029F55: mov ecx, dword ptr [eax + 4] */ 5614 edx = MEM32(ecx); /* 0x2B029F58: mov edx, dword ptr [ecx] */ 5615 esi = MEM32(edx + 0x8); /* 0x2B029F5A: mov esi, dword ptr [edx + 8] */ 5616 MEM32(ecx) = esi; /* 0x2B029F5D: mov dword ptr [ecx], esi */ 5617 esi = MEM32(edx + 0x8); /* 0x2B029F5F: mov esi, dword ptr [edx + 8] */ 5618 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029F62: cmp esi, dword ptr [edi + 8] */ 5619 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5620 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5621 _flag_k = FK_CMP; 5622 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029F6A; /* 0x2B029F65: je 0x2b029f6a */ 5623 L_2B029F67: 5624 MEM32(esi + 0x4) = ecx; /* 0x2B029F67: mov dword ptr [esi + 4], ecx */ 5625 L_2B029F6A: 5626 esi = MEM32(ecx + 0x4); /* 0x2B029F6A: mov esi, dword ptr [ecx + 4] */ 5627 MEM32(edx + 0x4) = esi; /* 0x2B029F6D: mov dword ptr [edx + 4], esi */ 5628 esi = MEM32(edi + 0x4); /* 0x2B029F70: mov esi, dword ptr [edi + 4] */ 5629 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029F73: cmp ecx, dword ptr [esi + 4] */ 5630 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5631 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5632 _flag_k = FK_CMP; 5633 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F7D; /* 0x2B029F76: jne 0x2b029f7d */ 5634 L_2B029F78: 5635 MEM32(esi + 0x4) = edx; /* 0x2B029F78: mov dword ptr [esi + 4], edx */ 5636 goto L_2B029F8C; /* 0x2B029F7B: jmp 0x2b029f8c */ 5637 L_2B029F7D: 5638 esi = MEM32(ecx + 0x4); /* 0x2B029F7D: mov esi, dword ptr [ecx + 4] */ 5639 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029F80: cmp ecx, dword ptr [esi + 8] */ 5640 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5641 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5642 _flag_k = FK_CMP; 5643 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F8A; /* 0x2B029F83: jne 0x2b029f8a */ 5644 L_2B029F85: 5645 MEM32(esi + 0x8) = edx; /* 0x2B029F85: mov dword ptr [esi + 8], edx */ 5646 goto L_2B029F8C; /* 0x2B029F88: jmp 0x2b029f8c */ 5647 L_2B029F8A: 5648 MEM32(esi) = edx; /* 0x2B029F8A: mov dword ptr [esi], edx */ 5649 L_2B029F8C: 5650 MEM32(edx + 0x8) = ecx; /* 0x2B029F8C: mov dword ptr [edx + 8], ecx */ 5651 L_2B029F8F: 5652 MEM32(ecx + 0x4) = edx; /* 0x2B029F8F: mov dword ptr [ecx + 4], edx */ 5653 L_2B029F92: 5654 esi = MEM32(ebp + (-0x4)); /* 0x2B029F92: mov esi, dword ptr [ebp - 4] */ 5655 MEM8(eax + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F95: mov byte ptr [eax + 0x34], bl */ 5656 ecx = esi + 0xC; /* 0x2B029F98: lea ecx, [esi + 0xc] */ 5657 RECOMP_ICALL(0x2B028990u); /* 0x2B029F9B: call 0x2b028990 */ /* not lifted */ 5658 RECOMP_FLAGS_IN(); 5659 PUSH32(esp, esi); /* 0x2B029FA0: push esi */ 5660 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B029FA1: call 0x2b0ab1ba */ /* not lifted */ 5661 RECOMP_FLAGS_IN(); 5662 eax = MEM32(edi + 0x10); /* 0x2B029FA6: mov eax, dword ptr [edi + 0x10] */ 5663 edx = MEM32(ebp + 0xC); /* 0x2B029FA9: mov edx, dword ptr [ebp + 0xc] */ 5664 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5665 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5666 esp = esp + 4; /* 0x2B029FAC: add esp, 4 */ 5667 _flag_k = FK_ADD; 5668 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 5669 eax = eax - 1; /* 0x2B029FAF: dec eax */ 5670 _flag_k = FK_DEC; 5671 MEM32(edi + 0x10) = eax; /* 0x2B029FB0: mov dword ptr [edi + 0x10], eax */ 5672 eax = MEM32(ebp + 0x8); /* 0x2B029FB3: mov eax, dword ptr [ebp + 8] */ 5673 edi = POP32_VAL(esp); /* 0x2B029FB6: pop edi */ 5674 esi = POP32_VAL(esp); /* 0x2B029FB7: pop esi */ 5675 MEM32(eax) = edx; /* 0x2B029FB8: mov dword ptr [eax], edx */ 5676 ebx = POP32_VAL(esp); /* 0x2B029FBA: pop ebx */ 5677 esp = ebp; /* 0x2B029FBB: mov esp, ebp */ 5678 ebp = POP32_VAL(esp); /* 0x2B029FBD: pop ebp */ 5679 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B029FBE: ret 8 */ 5680 RECOMP_REGS_OUT(); 5681 } 5682 5683 void sub_2B029E0C(void) { 5684 int _fpu_cmp = 0; 5685 uint32_t _cf = 0; 5686 int _df = 1; 5687 uint32_t _flag_k = FK_NONE; 5688 uint32_t _flag_a = 0, _flag_b = 0; 5689 uint32_t _itail_tgt = 0; 5690 RECOMP_REGS_LOCALS 5691 RECOMP_ENTER(0x2B029E0Cu); 5692 5693 goto L_2B029E0C; 5694 L_2B029D44: 5695 /* cmp MEM8(eax + 0x34), LO8(ebx) */ /* 0x2B029D44: cmp byte ptr [eax + 0x34], bl */ 5696 _flag_a = (uint32_t)(MEM8(eax + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5697 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5698 _flag_k = FK_NARROW(FK_CMP, 24); 5699 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F92; /* 0x2B029D47: jne 0x2b029f92 */ 5700 L_2B029D4D: 5701 edx = MEM32(eax + 0x4); /* 0x2B029D4D: mov edx, dword ptr [eax + 4] */ 5702 ecx = MEM32(edx); /* 0x2B029D50: mov ecx, dword ptr [edx] */ 5703 /* cmp eax, ecx */ /* 0x2B029D52: cmp eax, ecx */ 5704 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 5705 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5706 _flag_k = FK_CMP; 5707 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029DC4; /* 0x2B029D54: jne 0x2b029dc4 */ 5708 L_2B029D56: 5709 ecx = MEM32(edx + 0x8); /* 0x2B029D56: mov ecx, dword ptr [edx + 8] */ 5710 SET_LO8(edx, MEM8(ecx + 0x34)); /* 0x2B029D59: mov dl, byte ptr [ecx + 0x34] */ 5711 /* test LO8(edx), LO8(edx) */ /* 0x2B029D5C: test dl, dl */ 5712 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 5713 _cf = 0; 5714 _flag_k = FK_NARROW(FK_TEST, 24); 5715 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B029DAB; /* 0x2B029D5E: jne 0x2b029dab */ 5716 L_2B029D60: 5717 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029D60: mov byte ptr [ecx + 0x34], bl */ 5718 edx = MEM32(eax + 0x4); /* 0x2B029D63: mov edx, dword ptr [eax + 4] */ 5719 MEM8(edx + 0x34) = (uint8_t)(0); /* 0x2B029D66: mov byte ptr [edx + 0x34], 0 */ 5720 ecx = MEM32(eax + 0x4); /* 0x2B029D6A: mov ecx, dword ptr [eax + 4] */ 5721 edx = MEM32(ecx + 0x8); /* 0x2B029D6D: mov edx, dword ptr [ecx + 8] */ 5722 esi = MEM32(edx); /* 0x2B029D70: mov esi, dword ptr [edx] */ 5723 MEM32(ecx + 0x8) = esi; /* 0x2B029D72: mov dword ptr [ecx + 8], esi */ 5724 esi = MEM32(edx); /* 0x2B029D75: mov esi, dword ptr [edx] */ 5725 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029D77: cmp esi, dword ptr [edi + 8] */ 5726 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5727 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5728 _flag_k = FK_CMP; 5729 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029D7F; /* 0x2B029D7A: je 0x2b029d7f */ 5730 L_2B029D7C: 5731 MEM32(esi + 0x4) = ecx; /* 0x2B029D7C: mov dword ptr [esi + 4], ecx */ 5732 L_2B029D7F: 5733 esi = MEM32(ecx + 0x4); /* 0x2B029D7F: mov esi, dword ptr [ecx + 4] */ 5734 MEM32(edx + 0x4) = esi; /* 0x2B029D82: mov dword ptr [edx + 4], esi */ 5735 esi = MEM32(edi + 0x4); /* 0x2B029D85: mov esi, dword ptr [edi + 4] */ 5736 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029D88: cmp ecx, dword ptr [esi + 4] */ 5737 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5738 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5739 _flag_k = FK_CMP; 5740 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D92; /* 0x2B029D8B: jne 0x2b029d92 */ 5741 L_2B029D8D: 5742 MEM32(esi + 0x4) = edx; /* 0x2B029D8D: mov dword ptr [esi + 4], edx */ 5743 goto L_2B029DA0; /* 0x2B029D90: jmp 0x2b029da0 */ 5744 L_2B029D92: 5745 esi = MEM32(ecx + 0x4); /* 0x2B029D92: mov esi, dword ptr [ecx + 4] */ 5746 /* cmp ecx, MEM32(esi) */ /* 0x2B029D95: cmp ecx, dword ptr [esi] */ 5747 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5748 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5749 _flag_k = FK_CMP; 5750 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D9D; /* 0x2B029D97: jne 0x2b029d9d */ 5751 L_2B029D99: 5752 MEM32(esi) = edx; /* 0x2B029D99: mov dword ptr [esi], edx */ 5753 goto L_2B029DA0; /* 0x2B029D9B: jmp 0x2b029da0 */ 5754 L_2B029D9D: 5755 MEM32(esi + 0x8) = edx; /* 0x2B029D9D: mov dword ptr [esi + 8], edx */ 5756 L_2B029DA0: 5757 MEM32(edx) = ecx; /* 0x2B029DA0: mov dword ptr [edx], ecx */ 5758 MEM32(ecx + 0x4) = edx; /* 0x2B029DA2: mov dword ptr [ecx + 4], edx */ 5759 ecx = MEM32(eax + 0x4); /* 0x2B029DA5: mov ecx, dword ptr [eax + 4] */ 5760 ecx = MEM32(ecx + 0x8); /* 0x2B029DA8: mov ecx, dword ptr [ecx + 8] */ 5761 L_2B029DAB: 5762 edx = MEM32(ecx); /* 0x2B029DAB: mov edx, dword ptr [ecx] */ 5763 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029DAD: cmp byte ptr [edx + 0x34], bl */ 5764 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5765 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5766 _flag_k = FK_NARROW(FK_CMP, 24); 5767 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E46; /* 0x2B029DB0: jne 0x2b029e46 */ 5768 L_2B029DB6: 5769 edx = MEM32(ecx + 0x8); /* 0x2B029DB6: mov edx, dword ptr [ecx + 8] */ 5770 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029DB9: cmp byte ptr [edx + 0x34], bl */ 5771 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5772 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5773 _flag_k = FK_NARROW(FK_CMP, 24); 5774 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E46; /* 0x2B029DBC: jne 0x2b029e46 */ 5775 L_2B029DC2: 5776 goto L_2B029E2E; /* 0x2B029DC2: jmp 0x2b029e2e */ 5777 L_2B029DC4: 5778 SET_LO8(edx, MEM8(ecx + 0x34)); /* 0x2B029DC4: mov dl, byte ptr [ecx + 0x34] */ 5779 /* test LO8(edx), LO8(edx) */ /* 0x2B029DC7: test dl, dl */ 5780 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 5781 _cf = 0; 5782 _flag_k = FK_NARROW(FK_TEST, 24); 5783 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B029E17; /* 0x2B029DC9: jne 0x2b029e17 */ 5784 L_2B029DCB: 5785 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029DCB: mov byte ptr [ecx + 0x34], bl */ 5786 ecx = MEM32(eax + 0x4); /* 0x2B029DCE: mov ecx, dword ptr [eax + 4] */ 5787 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029DD1: mov byte ptr [ecx + 0x34], 0 */ 5788 ecx = MEM32(eax + 0x4); /* 0x2B029DD5: mov ecx, dword ptr [eax + 4] */ 5789 edx = MEM32(ecx); /* 0x2B029DD8: mov edx, dword ptr [ecx] */ 5790 esi = MEM32(edx + 0x8); /* 0x2B029DDA: mov esi, dword ptr [edx + 8] */ 5791 MEM32(ecx) = esi; /* 0x2B029DDD: mov dword ptr [ecx], esi */ 5792 esi = MEM32(edx + 0x8); /* 0x2B029DDF: mov esi, dword ptr [edx + 8] */ 5793 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029DE2: cmp esi, dword ptr [edi + 8] */ 5794 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5795 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5796 _flag_k = FK_CMP; 5797 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029DEA; /* 0x2B029DE5: je 0x2b029dea */ 5798 L_2B029DE7: 5799 MEM32(esi + 0x4) = ecx; /* 0x2B029DE7: mov dword ptr [esi + 4], ecx */ 5800 L_2B029DEA: 5801 esi = MEM32(ecx + 0x4); /* 0x2B029DEA: mov esi, dword ptr [ecx + 4] */ 5802 MEM32(edx + 0x4) = esi; /* 0x2B029DED: mov dword ptr [edx + 4], esi */ 5803 esi = MEM32(edi + 0x4); /* 0x2B029DF0: mov esi, dword ptr [edi + 4] */ 5804 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029DF3: cmp ecx, dword ptr [esi + 4] */ 5805 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5806 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5807 _flag_k = FK_CMP; 5808 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029DFD; /* 0x2B029DF6: jne 0x2b029dfd */ 5809 L_2B029DF8: 5810 MEM32(esi + 0x4) = edx; /* 0x2B029DF8: mov dword ptr [esi + 4], edx */ 5811 goto L_2B029E0C; /* 0x2B029DFB: jmp 0x2b029e0c */ 5812 L_2B029DFD: 5813 esi = MEM32(ecx + 0x4); /* 0x2B029DFD: mov esi, dword ptr [ecx + 4] */ 5814 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029E00: cmp ecx, dword ptr [esi + 8] */ 5815 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5816 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5817 _flag_k = FK_CMP; 5818 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E0A; /* 0x2B029E03: jne 0x2b029e0a */ 5819 L_2B029E05: 5820 MEM32(esi + 0x8) = edx; /* 0x2B029E05: mov dword ptr [esi + 8], edx */ 5821 goto L_2B029E0C; /* 0x2B029E08: jmp 0x2b029e0c */ 5822 L_2B029E0A: 5823 MEM32(esi) = edx; /* 0x2B029E0A: mov dword ptr [esi], edx */ 5824 L_2B029E0C: 5825 MEM32(edx + 0x8) = ecx; /* 0x2B029E0C: mov dword ptr [edx + 8], ecx */ 5826 MEM32(ecx + 0x4) = edx; /* 0x2B029E0F: mov dword ptr [ecx + 4], edx */ 5827 edx = MEM32(eax + 0x4); /* 0x2B029E12: mov edx, dword ptr [eax + 4] */ 5828 ecx = MEM32(edx); /* 0x2B029E15: mov ecx, dword ptr [edx] */ 5829 L_2B029E17: 5830 edx = MEM32(ecx + 0x8); /* 0x2B029E17: mov edx, dword ptr [ecx + 8] */ 5831 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029E1A: cmp byte ptr [edx + 0x34], bl */ 5832 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5833 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5834 _flag_k = FK_NARROW(FK_CMP, 24); 5835 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029EF3; /* 0x2B029E1D: jne 0x2b029ef3 */ 5836 L_2B029E23: 5837 edx = MEM32(ecx); /* 0x2B029E23: mov edx, dword ptr [ecx] */ 5838 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029E25: cmp byte ptr [edx + 0x34], bl */ 5839 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5840 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5841 _flag_k = FK_NARROW(FK_CMP, 24); 5842 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029EF3; /* 0x2B029E28: jne 0x2b029ef3 */ 5843 L_2B029E2E: 5844 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029E2E: mov byte ptr [ecx + 0x34], 0 */ 5845 ecx = MEM32(edi + 0x4); /* 0x2B029E32: mov ecx, dword ptr [edi + 4] */ 5846 eax = MEM32(eax + 0x4); /* 0x2B029E35: mov eax, dword ptr [eax + 4] */ 5847 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B029E38: cmp eax, dword ptr [ecx + 4] */ 5848 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 5849 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5850 _flag_k = FK_CMP; 5851 RECOMP_BACKEDGE(); 5852 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D44; /* 0x2B029E3B: jne 0x2b029d44 */ 5853 L_2B029E41: 5854 goto L_2B029F92; /* 0x2B029E41: jmp 0x2b029f92 */ 5855 L_2B029E46: 5856 edx = MEM32(ecx + 0x8); /* 0x2B029E46: mov edx, dword ptr [ecx + 8] */ 5857 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029E49: cmp byte ptr [edx + 0x34], bl */ 5858 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5859 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5860 _flag_k = FK_NARROW(FK_CMP, 24); 5861 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E97; /* 0x2B029E4C: jne 0x2b029e97 */ 5862 L_2B029E4E: 5863 edx = MEM32(ecx); /* 0x2B029E4E: mov edx, dword ptr [ecx] */ 5864 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029E50: mov byte ptr [edx + 0x34], bl */ 5865 edx = MEM32(ecx); /* 0x2B029E53: mov edx, dword ptr [ecx] */ 5866 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029E55: mov byte ptr [ecx + 0x34], 0 */ 5867 esi = MEM32(edx + 0x8); /* 0x2B029E59: mov esi, dword ptr [edx + 8] */ 5868 MEM32(ecx) = esi; /* 0x2B029E5C: mov dword ptr [ecx], esi */ 5869 esi = MEM32(edx + 0x8); /* 0x2B029E5E: mov esi, dword ptr [edx + 8] */ 5870 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029E61: cmp esi, dword ptr [edi + 8] */ 5871 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5872 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5873 _flag_k = FK_CMP; 5874 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029E69; /* 0x2B029E64: je 0x2b029e69 */ 5875 L_2B029E66: 5876 MEM32(esi + 0x4) = ecx; /* 0x2B029E66: mov dword ptr [esi + 4], ecx */ 5877 L_2B029E69: 5878 esi = MEM32(ecx + 0x4); /* 0x2B029E69: mov esi, dword ptr [ecx + 4] */ 5879 MEM32(edx + 0x4) = esi; /* 0x2B029E6C: mov dword ptr [edx + 4], esi */ 5880 esi = MEM32(edi + 0x4); /* 0x2B029E6F: mov esi, dword ptr [edi + 4] */ 5881 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029E72: cmp ecx, dword ptr [esi + 4] */ 5882 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5883 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5884 _flag_k = FK_CMP; 5885 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E7C; /* 0x2B029E75: jne 0x2b029e7c */ 5886 L_2B029E77: 5887 MEM32(esi + 0x4) = edx; /* 0x2B029E77: mov dword ptr [esi + 4], edx */ 5888 goto L_2B029E8B; /* 0x2B029E7A: jmp 0x2b029e8b */ 5889 L_2B029E7C: 5890 esi = MEM32(ecx + 0x4); /* 0x2B029E7C: mov esi, dword ptr [ecx + 4] */ 5891 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029E7F: cmp ecx, dword ptr [esi + 8] */ 5892 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5893 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5894 _flag_k = FK_CMP; 5895 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E89; /* 0x2B029E82: jne 0x2b029e89 */ 5896 L_2B029E84: 5897 MEM32(esi + 0x8) = edx; /* 0x2B029E84: mov dword ptr [esi + 8], edx */ 5898 goto L_2B029E8B; /* 0x2B029E87: jmp 0x2b029e8b */ 5899 L_2B029E89: 5900 MEM32(esi) = edx; /* 0x2B029E89: mov dword ptr [esi], edx */ 5901 L_2B029E8B: 5902 MEM32(edx + 0x8) = ecx; /* 0x2B029E8B: mov dword ptr [edx + 8], ecx */ 5903 MEM32(ecx + 0x4) = edx; /* 0x2B029E8E: mov dword ptr [ecx + 4], edx */ 5904 ecx = MEM32(eax + 0x4); /* 0x2B029E91: mov ecx, dword ptr [eax + 4] */ 5905 ecx = MEM32(ecx + 0x8); /* 0x2B029E94: mov ecx, dword ptr [ecx + 8] */ 5906 L_2B029E97: 5907 edx = MEM32(eax + 0x4); /* 0x2B029E97: mov edx, dword ptr [eax + 4] */ 5908 SET_LO8(edx, MEM8(edx + 0x34)); /* 0x2B029E9A: mov dl, byte ptr [edx + 0x34] */ 5909 MEM8(ecx + 0x34) = (uint8_t)(LO8(edx)); /* 0x2B029E9D: mov byte ptr [ecx + 0x34], dl */ 5910 edx = MEM32(eax + 0x4); /* 0x2B029EA0: mov edx, dword ptr [eax + 4] */ 5911 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029EA3: mov byte ptr [edx + 0x34], bl */ 5912 ecx = MEM32(ecx + 0x8); /* 0x2B029EA6: mov ecx, dword ptr [ecx + 8] */ 5913 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029EA9: mov byte ptr [ecx + 0x34], bl */ 5914 ecx = MEM32(eax + 0x4); /* 0x2B029EAC: mov ecx, dword ptr [eax + 4] */ 5915 edx = MEM32(ecx + 0x8); /* 0x2B029EAF: mov edx, dword ptr [ecx + 8] */ 5916 esi = MEM32(edx); /* 0x2B029EB2: mov esi, dword ptr [edx] */ 5917 MEM32(ecx + 0x8) = esi; /* 0x2B029EB4: mov dword ptr [ecx + 8], esi */ 5918 esi = MEM32(edx); /* 0x2B029EB7: mov esi, dword ptr [edx] */ 5919 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029EB9: cmp esi, dword ptr [edi + 8] */ 5920 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5921 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5922 _flag_k = FK_CMP; 5923 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029EC1; /* 0x2B029EBC: je 0x2b029ec1 */ 5924 L_2B029EBE: 5925 MEM32(esi + 0x4) = ecx; /* 0x2B029EBE: mov dword ptr [esi + 4], ecx */ 5926 L_2B029EC1: 5927 esi = MEM32(ecx + 0x4); /* 0x2B029EC1: mov esi, dword ptr [ecx + 4] */ 5928 MEM32(edx + 0x4) = esi; /* 0x2B029EC4: mov dword ptr [edx + 4], esi */ 5929 esi = MEM32(edi + 0x4); /* 0x2B029EC7: mov esi, dword ptr [edi + 4] */ 5930 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029ECA: cmp ecx, dword ptr [esi + 4] */ 5931 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5932 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5933 _flag_k = FK_CMP; 5934 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029ED9; /* 0x2B029ECD: jne 0x2b029ed9 */ 5935 L_2B029ECF: 5936 MEM32(esi + 0x4) = edx; /* 0x2B029ECF: mov dword ptr [esi + 4], edx */ 5937 MEM32(edx) = ecx; /* 0x2B029ED2: mov dword ptr [edx], ecx */ 5938 goto L_2B029F8F; /* 0x2B029ED4: jmp 0x2b029f8f */ 5939 L_2B029ED9: 5940 esi = MEM32(ecx + 0x4); /* 0x2B029ED9: mov esi, dword ptr [ecx + 4] */ 5941 /* cmp ecx, MEM32(esi) */ /* 0x2B029EDC: cmp ecx, dword ptr [esi] */ 5942 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5943 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5944 _flag_k = FK_CMP; 5945 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029EE9; /* 0x2B029EDE: jne 0x2b029ee9 */ 5946 L_2B029EE0: 5947 MEM32(esi) = edx; /* 0x2B029EE0: mov dword ptr [esi], edx */ 5948 MEM32(edx) = ecx; /* 0x2B029EE2: mov dword ptr [edx], ecx */ 5949 goto L_2B029F8F; /* 0x2B029EE4: jmp 0x2b029f8f */ 5950 L_2B029EE9: 5951 MEM32(esi + 0x8) = edx; /* 0x2B029EE9: mov dword ptr [esi + 8], edx */ 5952 MEM32(edx) = ecx; /* 0x2B029EEC: mov dword ptr [edx], ecx */ 5953 goto L_2B029F8F; /* 0x2B029EEE: jmp 0x2b029f8f */ 5954 L_2B029EF3: 5955 edx = MEM32(ecx); /* 0x2B029EF3: mov edx, dword ptr [ecx] */ 5956 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029EF5: cmp byte ptr [edx + 0x34], bl */ 5957 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5958 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5959 _flag_k = FK_NARROW(FK_CMP, 24); 5960 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F41; /* 0x2B029EF8: jne 0x2b029f41 */ 5961 L_2B029EFA: 5962 edx = MEM32(ecx + 0x8); /* 0x2B029EFA: mov edx, dword ptr [ecx + 8] */ 5963 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029EFD: mov byte ptr [edx + 0x34], bl */ 5964 edx = MEM32(ecx + 0x8); /* 0x2B029F00: mov edx, dword ptr [ecx + 8] */ 5965 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029F03: mov byte ptr [ecx + 0x34], 0 */ 5966 esi = MEM32(edx); /* 0x2B029F07: mov esi, dword ptr [edx] */ 5967 MEM32(ecx + 0x8) = esi; /* 0x2B029F09: mov dword ptr [ecx + 8], esi */ 5968 esi = MEM32(edx); /* 0x2B029F0C: mov esi, dword ptr [edx] */ 5969 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029F0E: cmp esi, dword ptr [edi + 8] */ 5970 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5971 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5972 _flag_k = FK_CMP; 5973 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029F16; /* 0x2B029F11: je 0x2b029f16 */ 5974 L_2B029F13: 5975 MEM32(esi + 0x4) = ecx; /* 0x2B029F13: mov dword ptr [esi + 4], ecx */ 5976 L_2B029F16: 5977 esi = MEM32(ecx + 0x4); /* 0x2B029F16: mov esi, dword ptr [ecx + 4] */ 5978 MEM32(edx + 0x4) = esi; /* 0x2B029F19: mov dword ptr [edx + 4], esi */ 5979 esi = MEM32(edi + 0x4); /* 0x2B029F1C: mov esi, dword ptr [edi + 4] */ 5980 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029F1F: cmp ecx, dword ptr [esi + 4] */ 5981 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5982 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5983 _flag_k = FK_CMP; 5984 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F29; /* 0x2B029F22: jne 0x2b029f29 */ 5985 L_2B029F24: 5986 MEM32(esi + 0x4) = edx; /* 0x2B029F24: mov dword ptr [esi + 4], edx */ 5987 goto L_2B029F37; /* 0x2B029F27: jmp 0x2b029f37 */ 5988 L_2B029F29: 5989 esi = MEM32(ecx + 0x4); /* 0x2B029F29: mov esi, dword ptr [ecx + 4] */ 5990 /* cmp ecx, MEM32(esi) */ /* 0x2B029F2C: cmp ecx, dword ptr [esi] */ 5991 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5992 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5993 _flag_k = FK_CMP; 5994 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F34; /* 0x2B029F2E: jne 0x2b029f34 */ 5995 L_2B029F30: 5996 MEM32(esi) = edx; /* 0x2B029F30: mov dword ptr [esi], edx */ 5997 goto L_2B029F37; /* 0x2B029F32: jmp 0x2b029f37 */ 5998 L_2B029F34: 5999 MEM32(esi + 0x8) = edx; /* 0x2B029F34: mov dword ptr [esi + 8], edx */ 6000 L_2B029F37: 6001 MEM32(edx) = ecx; /* 0x2B029F37: mov dword ptr [edx], ecx */ 6002 MEM32(ecx + 0x4) = edx; /* 0x2B029F39: mov dword ptr [ecx + 4], edx */ 6003 ecx = MEM32(eax + 0x4); /* 0x2B029F3C: mov ecx, dword ptr [eax + 4] */ 6004 ecx = MEM32(ecx); /* 0x2B029F3F: mov ecx, dword ptr [ecx] */ 6005 L_2B029F41: 6006 edx = MEM32(eax + 0x4); /* 0x2B029F41: mov edx, dword ptr [eax + 4] */ 6007 SET_LO8(edx, MEM8(edx + 0x34)); /* 0x2B029F44: mov dl, byte ptr [edx + 0x34] */ 6008 MEM8(ecx + 0x34) = (uint8_t)(LO8(edx)); /* 0x2B029F47: mov byte ptr [ecx + 0x34], dl */ 6009 edx = MEM32(eax + 0x4); /* 0x2B029F4A: mov edx, dword ptr [eax + 4] */ 6010 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F4D: mov byte ptr [edx + 0x34], bl */ 6011 ecx = MEM32(ecx); /* 0x2B029F50: mov ecx, dword ptr [ecx] */ 6012 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F52: mov byte ptr [ecx + 0x34], bl */ 6013 ecx = MEM32(eax + 0x4); /* 0x2B029F55: mov ecx, dword ptr [eax + 4] */ 6014 edx = MEM32(ecx); /* 0x2B029F58: mov edx, dword ptr [ecx] */ 6015 esi = MEM32(edx + 0x8); /* 0x2B029F5A: mov esi, dword ptr [edx + 8] */ 6016 MEM32(ecx) = esi; /* 0x2B029F5D: mov dword ptr [ecx], esi */ 6017 esi = MEM32(edx + 0x8); /* 0x2B029F5F: mov esi, dword ptr [edx + 8] */ 6018 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029F62: cmp esi, dword ptr [edi + 8] */ 6019 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6020 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6021 _flag_k = FK_CMP; 6022 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029F6A; /* 0x2B029F65: je 0x2b029f6a */ 6023 L_2B029F67: 6024 MEM32(esi + 0x4) = ecx; /* 0x2B029F67: mov dword ptr [esi + 4], ecx */ 6025 L_2B029F6A: 6026 esi = MEM32(ecx + 0x4); /* 0x2B029F6A: mov esi, dword ptr [ecx + 4] */ 6027 MEM32(edx + 0x4) = esi; /* 0x2B029F6D: mov dword ptr [edx + 4], esi */ 6028 esi = MEM32(edi + 0x4); /* 0x2B029F70: mov esi, dword ptr [edi + 4] */ 6029 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029F73: cmp ecx, dword ptr [esi + 4] */ 6030 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6031 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6032 _flag_k = FK_CMP; 6033 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F7D; /* 0x2B029F76: jne 0x2b029f7d */ 6034 L_2B029F78: 6035 MEM32(esi + 0x4) = edx; /* 0x2B029F78: mov dword ptr [esi + 4], edx */ 6036 goto L_2B029F8C; /* 0x2B029F7B: jmp 0x2b029f8c */ 6037 L_2B029F7D: 6038 esi = MEM32(ecx + 0x4); /* 0x2B029F7D: mov esi, dword ptr [ecx + 4] */ 6039 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029F80: cmp ecx, dword ptr [esi + 8] */ 6040 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6041 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6042 _flag_k = FK_CMP; 6043 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F8A; /* 0x2B029F83: jne 0x2b029f8a */ 6044 L_2B029F85: 6045 MEM32(esi + 0x8) = edx; /* 0x2B029F85: mov dword ptr [esi + 8], edx */ 6046 goto L_2B029F8C; /* 0x2B029F88: jmp 0x2b029f8c */ 6047 L_2B029F8A: 6048 MEM32(esi) = edx; /* 0x2B029F8A: mov dword ptr [esi], edx */ 6049 L_2B029F8C: 6050 MEM32(edx + 0x8) = ecx; /* 0x2B029F8C: mov dword ptr [edx + 8], ecx */ 6051 L_2B029F8F: 6052 MEM32(ecx + 0x4) = edx; /* 0x2B029F8F: mov dword ptr [ecx + 4], edx */ 6053 L_2B029F92: 6054 esi = MEM32(ebp + (-0x4)); /* 0x2B029F92: mov esi, dword ptr [ebp - 4] */ 6055 MEM8(eax + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F95: mov byte ptr [eax + 0x34], bl */ 6056 ecx = esi + 0xC; /* 0x2B029F98: lea ecx, [esi + 0xc] */ 6057 RECOMP_ICALL(0x2B028990u); /* 0x2B029F9B: call 0x2b028990 */ /* not lifted */ 6058 RECOMP_FLAGS_IN(); 6059 PUSH32(esp, esi); /* 0x2B029FA0: push esi */ 6060 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B029FA1: call 0x2b0ab1ba */ /* not lifted */ 6061 RECOMP_FLAGS_IN(); 6062 eax = MEM32(edi + 0x10); /* 0x2B029FA6: mov eax, dword ptr [edi + 0x10] */ 6063 edx = MEM32(ebp + 0xC); /* 0x2B029FA9: mov edx, dword ptr [ebp + 0xc] */ 6064 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6065 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6066 esp = esp + 4; /* 0x2B029FAC: add esp, 4 */ 6067 _flag_k = FK_ADD; 6068 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 6069 eax = eax - 1; /* 0x2B029FAF: dec eax */ 6070 _flag_k = FK_DEC; 6071 MEM32(edi + 0x10) = eax; /* 0x2B029FB0: mov dword ptr [edi + 0x10], eax */ 6072 eax = MEM32(ebp + 0x8); /* 0x2B029FB3: mov eax, dword ptr [ebp + 8] */ 6073 edi = POP32_VAL(esp); /* 0x2B029FB6: pop edi */ 6074 esi = POP32_VAL(esp); /* 0x2B029FB7: pop esi */ 6075 MEM32(eax) = edx; /* 0x2B029FB8: mov dword ptr [eax], edx */ 6076 ebx = POP32_VAL(esp); /* 0x2B029FBA: pop ebx */ 6077 esp = ebp; /* 0x2B029FBB: mov esp, ebp */ 6078 ebp = POP32_VAL(esp); /* 0x2B029FBD: pop ebp */ 6079 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B029FBE: ret 8 */ 6080 RECOMP_REGS_OUT(); 6081 } 6082 6083 void sub_2B029E17(void) { 6084 int _fpu_cmp = 0; 6085 uint32_t _cf = 0; 6086 int _df = 1; 6087 uint32_t _flag_k = FK_NONE; 6088 uint32_t _flag_a = 0, _flag_b = 0; 6089 uint32_t _itail_tgt = 0; 6090 RECOMP_REGS_LOCALS 6091 RECOMP_ENTER(0x2B029E17u); 6092 6093 goto L_2B029E17; 6094 L_2B029D44: 6095 /* cmp MEM8(eax + 0x34), LO8(ebx) */ /* 0x2B029D44: cmp byte ptr [eax + 0x34], bl */ 6096 _flag_a = (uint32_t)(MEM8(eax + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6097 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6098 _flag_k = FK_NARROW(FK_CMP, 24); 6099 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F92; /* 0x2B029D47: jne 0x2b029f92 */ 6100 L_2B029D4D: 6101 edx = MEM32(eax + 0x4); /* 0x2B029D4D: mov edx, dword ptr [eax + 4] */ 6102 ecx = MEM32(edx); /* 0x2B029D50: mov ecx, dword ptr [edx] */ 6103 /* cmp eax, ecx */ /* 0x2B029D52: cmp eax, ecx */ 6104 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 6105 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6106 _flag_k = FK_CMP; 6107 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029DC4; /* 0x2B029D54: jne 0x2b029dc4 */ 6108 L_2B029D56: 6109 ecx = MEM32(edx + 0x8); /* 0x2B029D56: mov ecx, dword ptr [edx + 8] */ 6110 SET_LO8(edx, MEM8(ecx + 0x34)); /* 0x2B029D59: mov dl, byte ptr [ecx + 0x34] */ 6111 /* test LO8(edx), LO8(edx) */ /* 0x2B029D5C: test dl, dl */ 6112 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6113 _cf = 0; 6114 _flag_k = FK_NARROW(FK_TEST, 24); 6115 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B029DAB; /* 0x2B029D5E: jne 0x2b029dab */ 6116 L_2B029D60: 6117 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029D60: mov byte ptr [ecx + 0x34], bl */ 6118 edx = MEM32(eax + 0x4); /* 0x2B029D63: mov edx, dword ptr [eax + 4] */ 6119 MEM8(edx + 0x34) = (uint8_t)(0); /* 0x2B029D66: mov byte ptr [edx + 0x34], 0 */ 6120 ecx = MEM32(eax + 0x4); /* 0x2B029D6A: mov ecx, dword ptr [eax + 4] */ 6121 edx = MEM32(ecx + 0x8); /* 0x2B029D6D: mov edx, dword ptr [ecx + 8] */ 6122 esi = MEM32(edx); /* 0x2B029D70: mov esi, dword ptr [edx] */ 6123 MEM32(ecx + 0x8) = esi; /* 0x2B029D72: mov dword ptr [ecx + 8], esi */ 6124 esi = MEM32(edx); /* 0x2B029D75: mov esi, dword ptr [edx] */ 6125 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029D77: cmp esi, dword ptr [edi + 8] */ 6126 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6127 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6128 _flag_k = FK_CMP; 6129 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029D7F; /* 0x2B029D7A: je 0x2b029d7f */ 6130 L_2B029D7C: 6131 MEM32(esi + 0x4) = ecx; /* 0x2B029D7C: mov dword ptr [esi + 4], ecx */ 6132 L_2B029D7F: 6133 esi = MEM32(ecx + 0x4); /* 0x2B029D7F: mov esi, dword ptr [ecx + 4] */ 6134 MEM32(edx + 0x4) = esi; /* 0x2B029D82: mov dword ptr [edx + 4], esi */ 6135 esi = MEM32(edi + 0x4); /* 0x2B029D85: mov esi, dword ptr [edi + 4] */ 6136 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029D88: cmp ecx, dword ptr [esi + 4] */ 6137 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6138 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6139 _flag_k = FK_CMP; 6140 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D92; /* 0x2B029D8B: jne 0x2b029d92 */ 6141 L_2B029D8D: 6142 MEM32(esi + 0x4) = edx; /* 0x2B029D8D: mov dword ptr [esi + 4], edx */ 6143 goto L_2B029DA0; /* 0x2B029D90: jmp 0x2b029da0 */ 6144 L_2B029D92: 6145 esi = MEM32(ecx + 0x4); /* 0x2B029D92: mov esi, dword ptr [ecx + 4] */ 6146 /* cmp ecx, MEM32(esi) */ /* 0x2B029D95: cmp ecx, dword ptr [esi] */ 6147 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6148 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6149 _flag_k = FK_CMP; 6150 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D9D; /* 0x2B029D97: jne 0x2b029d9d */ 6151 L_2B029D99: 6152 MEM32(esi) = edx; /* 0x2B029D99: mov dword ptr [esi], edx */ 6153 goto L_2B029DA0; /* 0x2B029D9B: jmp 0x2b029da0 */ 6154 L_2B029D9D: 6155 MEM32(esi + 0x8) = edx; /* 0x2B029D9D: mov dword ptr [esi + 8], edx */ 6156 L_2B029DA0: 6157 MEM32(edx) = ecx; /* 0x2B029DA0: mov dword ptr [edx], ecx */ 6158 MEM32(ecx + 0x4) = edx; /* 0x2B029DA2: mov dword ptr [ecx + 4], edx */ 6159 ecx = MEM32(eax + 0x4); /* 0x2B029DA5: mov ecx, dword ptr [eax + 4] */ 6160 ecx = MEM32(ecx + 0x8); /* 0x2B029DA8: mov ecx, dword ptr [ecx + 8] */ 6161 L_2B029DAB: 6162 edx = MEM32(ecx); /* 0x2B029DAB: mov edx, dword ptr [ecx] */ 6163 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029DAD: cmp byte ptr [edx + 0x34], bl */ 6164 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6165 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6166 _flag_k = FK_NARROW(FK_CMP, 24); 6167 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E46; /* 0x2B029DB0: jne 0x2b029e46 */ 6168 L_2B029DB6: 6169 edx = MEM32(ecx + 0x8); /* 0x2B029DB6: mov edx, dword ptr [ecx + 8] */ 6170 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029DB9: cmp byte ptr [edx + 0x34], bl */ 6171 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6172 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6173 _flag_k = FK_NARROW(FK_CMP, 24); 6174 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E46; /* 0x2B029DBC: jne 0x2b029e46 */ 6175 L_2B029DC2: 6176 goto L_2B029E2E; /* 0x2B029DC2: jmp 0x2b029e2e */ 6177 L_2B029DC4: 6178 SET_LO8(edx, MEM8(ecx + 0x34)); /* 0x2B029DC4: mov dl, byte ptr [ecx + 0x34] */ 6179 /* test LO8(edx), LO8(edx) */ /* 0x2B029DC7: test dl, dl */ 6180 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6181 _cf = 0; 6182 _flag_k = FK_NARROW(FK_TEST, 24); 6183 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B029E17; /* 0x2B029DC9: jne 0x2b029e17 */ 6184 L_2B029DCB: 6185 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029DCB: mov byte ptr [ecx + 0x34], bl */ 6186 ecx = MEM32(eax + 0x4); /* 0x2B029DCE: mov ecx, dword ptr [eax + 4] */ 6187 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029DD1: mov byte ptr [ecx + 0x34], 0 */ 6188 ecx = MEM32(eax + 0x4); /* 0x2B029DD5: mov ecx, dword ptr [eax + 4] */ 6189 edx = MEM32(ecx); /* 0x2B029DD8: mov edx, dword ptr [ecx] */ 6190 esi = MEM32(edx + 0x8); /* 0x2B029DDA: mov esi, dword ptr [edx + 8] */ 6191 MEM32(ecx) = esi; /* 0x2B029DDD: mov dword ptr [ecx], esi */ 6192 esi = MEM32(edx + 0x8); /* 0x2B029DDF: mov esi, dword ptr [edx + 8] */ 6193 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029DE2: cmp esi, dword ptr [edi + 8] */ 6194 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6195 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6196 _flag_k = FK_CMP; 6197 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029DEA; /* 0x2B029DE5: je 0x2b029dea */ 6198 L_2B029DE7: 6199 MEM32(esi + 0x4) = ecx; /* 0x2B029DE7: mov dword ptr [esi + 4], ecx */ 6200 L_2B029DEA: 6201 esi = MEM32(ecx + 0x4); /* 0x2B029DEA: mov esi, dword ptr [ecx + 4] */ 6202 MEM32(edx + 0x4) = esi; /* 0x2B029DED: mov dword ptr [edx + 4], esi */ 6203 esi = MEM32(edi + 0x4); /* 0x2B029DF0: mov esi, dword ptr [edi + 4] */ 6204 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029DF3: cmp ecx, dword ptr [esi + 4] */ 6205 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6206 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6207 _flag_k = FK_CMP; 6208 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029DFD; /* 0x2B029DF6: jne 0x2b029dfd */ 6209 L_2B029DF8: 6210 MEM32(esi + 0x4) = edx; /* 0x2B029DF8: mov dword ptr [esi + 4], edx */ 6211 goto L_2B029E0C; /* 0x2B029DFB: jmp 0x2b029e0c */ 6212 L_2B029DFD: 6213 esi = MEM32(ecx + 0x4); /* 0x2B029DFD: mov esi, dword ptr [ecx + 4] */ 6214 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029E00: cmp ecx, dword ptr [esi + 8] */ 6215 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6216 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6217 _flag_k = FK_CMP; 6218 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E0A; /* 0x2B029E03: jne 0x2b029e0a */ 6219 L_2B029E05: 6220 MEM32(esi + 0x8) = edx; /* 0x2B029E05: mov dword ptr [esi + 8], edx */ 6221 goto L_2B029E0C; /* 0x2B029E08: jmp 0x2b029e0c */ 6222 L_2B029E0A: 6223 MEM32(esi) = edx; /* 0x2B029E0A: mov dword ptr [esi], edx */ 6224 L_2B029E0C: 6225 MEM32(edx + 0x8) = ecx; /* 0x2B029E0C: mov dword ptr [edx + 8], ecx */ 6226 MEM32(ecx + 0x4) = edx; /* 0x2B029E0F: mov dword ptr [ecx + 4], edx */ 6227 edx = MEM32(eax + 0x4); /* 0x2B029E12: mov edx, dword ptr [eax + 4] */ 6228 ecx = MEM32(edx); /* 0x2B029E15: mov ecx, dword ptr [edx] */ 6229 L_2B029E17: 6230 edx = MEM32(ecx + 0x8); /* 0x2B029E17: mov edx, dword ptr [ecx + 8] */ 6231 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029E1A: cmp byte ptr [edx + 0x34], bl */ 6232 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6233 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6234 _flag_k = FK_NARROW(FK_CMP, 24); 6235 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029EF3; /* 0x2B029E1D: jne 0x2b029ef3 */ 6236 L_2B029E23: 6237 edx = MEM32(ecx); /* 0x2B029E23: mov edx, dword ptr [ecx] */ 6238 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029E25: cmp byte ptr [edx + 0x34], bl */ 6239 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6240 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6241 _flag_k = FK_NARROW(FK_CMP, 24); 6242 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029EF3; /* 0x2B029E28: jne 0x2b029ef3 */ 6243 L_2B029E2E: 6244 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029E2E: mov byte ptr [ecx + 0x34], 0 */ 6245 ecx = MEM32(edi + 0x4); /* 0x2B029E32: mov ecx, dword ptr [edi + 4] */ 6246 eax = MEM32(eax + 0x4); /* 0x2B029E35: mov eax, dword ptr [eax + 4] */ 6247 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B029E38: cmp eax, dword ptr [ecx + 4] */ 6248 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 6249 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6250 _flag_k = FK_CMP; 6251 RECOMP_BACKEDGE(); 6252 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D44; /* 0x2B029E3B: jne 0x2b029d44 */ 6253 L_2B029E41: 6254 goto L_2B029F92; /* 0x2B029E41: jmp 0x2b029f92 */ 6255 L_2B029E46: 6256 edx = MEM32(ecx + 0x8); /* 0x2B029E46: mov edx, dword ptr [ecx + 8] */ 6257 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029E49: cmp byte ptr [edx + 0x34], bl */ 6258 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6259 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6260 _flag_k = FK_NARROW(FK_CMP, 24); 6261 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E97; /* 0x2B029E4C: jne 0x2b029e97 */ 6262 L_2B029E4E: 6263 edx = MEM32(ecx); /* 0x2B029E4E: mov edx, dword ptr [ecx] */ 6264 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029E50: mov byte ptr [edx + 0x34], bl */ 6265 edx = MEM32(ecx); /* 0x2B029E53: mov edx, dword ptr [ecx] */ 6266 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029E55: mov byte ptr [ecx + 0x34], 0 */ 6267 esi = MEM32(edx + 0x8); /* 0x2B029E59: mov esi, dword ptr [edx + 8] */ 6268 MEM32(ecx) = esi; /* 0x2B029E5C: mov dword ptr [ecx], esi */ 6269 esi = MEM32(edx + 0x8); /* 0x2B029E5E: mov esi, dword ptr [edx + 8] */ 6270 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029E61: cmp esi, dword ptr [edi + 8] */ 6271 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6272 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6273 _flag_k = FK_CMP; 6274 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029E69; /* 0x2B029E64: je 0x2b029e69 */ 6275 L_2B029E66: 6276 MEM32(esi + 0x4) = ecx; /* 0x2B029E66: mov dword ptr [esi + 4], ecx */ 6277 L_2B029E69: 6278 esi = MEM32(ecx + 0x4); /* 0x2B029E69: mov esi, dword ptr [ecx + 4] */ 6279 MEM32(edx + 0x4) = esi; /* 0x2B029E6C: mov dword ptr [edx + 4], esi */ 6280 esi = MEM32(edi + 0x4); /* 0x2B029E6F: mov esi, dword ptr [edi + 4] */ 6281 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029E72: cmp ecx, dword ptr [esi + 4] */ 6282 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6283 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6284 _flag_k = FK_CMP; 6285 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E7C; /* 0x2B029E75: jne 0x2b029e7c */ 6286 L_2B029E77: 6287 MEM32(esi + 0x4) = edx; /* 0x2B029E77: mov dword ptr [esi + 4], edx */ 6288 goto L_2B029E8B; /* 0x2B029E7A: jmp 0x2b029e8b */ 6289 L_2B029E7C: 6290 esi = MEM32(ecx + 0x4); /* 0x2B029E7C: mov esi, dword ptr [ecx + 4] */ 6291 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029E7F: cmp ecx, dword ptr [esi + 8] */ 6292 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6293 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6294 _flag_k = FK_CMP; 6295 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E89; /* 0x2B029E82: jne 0x2b029e89 */ 6296 L_2B029E84: 6297 MEM32(esi + 0x8) = edx; /* 0x2B029E84: mov dword ptr [esi + 8], edx */ 6298 goto L_2B029E8B; /* 0x2B029E87: jmp 0x2b029e8b */ 6299 L_2B029E89: 6300 MEM32(esi) = edx; /* 0x2B029E89: mov dword ptr [esi], edx */ 6301 L_2B029E8B: 6302 MEM32(edx + 0x8) = ecx; /* 0x2B029E8B: mov dword ptr [edx + 8], ecx */ 6303 MEM32(ecx + 0x4) = edx; /* 0x2B029E8E: mov dword ptr [ecx + 4], edx */ 6304 ecx = MEM32(eax + 0x4); /* 0x2B029E91: mov ecx, dword ptr [eax + 4] */ 6305 ecx = MEM32(ecx + 0x8); /* 0x2B029E94: mov ecx, dword ptr [ecx + 8] */ 6306 L_2B029E97: 6307 edx = MEM32(eax + 0x4); /* 0x2B029E97: mov edx, dword ptr [eax + 4] */ 6308 SET_LO8(edx, MEM8(edx + 0x34)); /* 0x2B029E9A: mov dl, byte ptr [edx + 0x34] */ 6309 MEM8(ecx + 0x34) = (uint8_t)(LO8(edx)); /* 0x2B029E9D: mov byte ptr [ecx + 0x34], dl */ 6310 edx = MEM32(eax + 0x4); /* 0x2B029EA0: mov edx, dword ptr [eax + 4] */ 6311 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029EA3: mov byte ptr [edx + 0x34], bl */ 6312 ecx = MEM32(ecx + 0x8); /* 0x2B029EA6: mov ecx, dword ptr [ecx + 8] */ 6313 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029EA9: mov byte ptr [ecx + 0x34], bl */ 6314 ecx = MEM32(eax + 0x4); /* 0x2B029EAC: mov ecx, dword ptr [eax + 4] */ 6315 edx = MEM32(ecx + 0x8); /* 0x2B029EAF: mov edx, dword ptr [ecx + 8] */ 6316 esi = MEM32(edx); /* 0x2B029EB2: mov esi, dword ptr [edx] */ 6317 MEM32(ecx + 0x8) = esi; /* 0x2B029EB4: mov dword ptr [ecx + 8], esi */ 6318 esi = MEM32(edx); /* 0x2B029EB7: mov esi, dword ptr [edx] */ 6319 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029EB9: cmp esi, dword ptr [edi + 8] */ 6320 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6321 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6322 _flag_k = FK_CMP; 6323 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029EC1; /* 0x2B029EBC: je 0x2b029ec1 */ 6324 L_2B029EBE: 6325 MEM32(esi + 0x4) = ecx; /* 0x2B029EBE: mov dword ptr [esi + 4], ecx */ 6326 L_2B029EC1: 6327 esi = MEM32(ecx + 0x4); /* 0x2B029EC1: mov esi, dword ptr [ecx + 4] */ 6328 MEM32(edx + 0x4) = esi; /* 0x2B029EC4: mov dword ptr [edx + 4], esi */ 6329 esi = MEM32(edi + 0x4); /* 0x2B029EC7: mov esi, dword ptr [edi + 4] */ 6330 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029ECA: cmp ecx, dword ptr [esi + 4] */ 6331 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6332 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6333 _flag_k = FK_CMP; 6334 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029ED9; /* 0x2B029ECD: jne 0x2b029ed9 */ 6335 L_2B029ECF: 6336 MEM32(esi + 0x4) = edx; /* 0x2B029ECF: mov dword ptr [esi + 4], edx */ 6337 MEM32(edx) = ecx; /* 0x2B029ED2: mov dword ptr [edx], ecx */ 6338 goto L_2B029F8F; /* 0x2B029ED4: jmp 0x2b029f8f */ 6339 L_2B029ED9: 6340 esi = MEM32(ecx + 0x4); /* 0x2B029ED9: mov esi, dword ptr [ecx + 4] */ 6341 /* cmp ecx, MEM32(esi) */ /* 0x2B029EDC: cmp ecx, dword ptr [esi] */ 6342 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6343 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6344 _flag_k = FK_CMP; 6345 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029EE9; /* 0x2B029EDE: jne 0x2b029ee9 */ 6346 L_2B029EE0: 6347 MEM32(esi) = edx; /* 0x2B029EE0: mov dword ptr [esi], edx */ 6348 MEM32(edx) = ecx; /* 0x2B029EE2: mov dword ptr [edx], ecx */ 6349 goto L_2B029F8F; /* 0x2B029EE4: jmp 0x2b029f8f */ 6350 L_2B029EE9: 6351 MEM32(esi + 0x8) = edx; /* 0x2B029EE9: mov dword ptr [esi + 8], edx */ 6352 MEM32(edx) = ecx; /* 0x2B029EEC: mov dword ptr [edx], ecx */ 6353 goto L_2B029F8F; /* 0x2B029EEE: jmp 0x2b029f8f */ 6354 L_2B029EF3: 6355 edx = MEM32(ecx); /* 0x2B029EF3: mov edx, dword ptr [ecx] */ 6356 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029EF5: cmp byte ptr [edx + 0x34], bl */ 6357 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6358 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6359 _flag_k = FK_NARROW(FK_CMP, 24); 6360 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F41; /* 0x2B029EF8: jne 0x2b029f41 */ 6361 L_2B029EFA: 6362 edx = MEM32(ecx + 0x8); /* 0x2B029EFA: mov edx, dword ptr [ecx + 8] */ 6363 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029EFD: mov byte ptr [edx + 0x34], bl */ 6364 edx = MEM32(ecx + 0x8); /* 0x2B029F00: mov edx, dword ptr [ecx + 8] */ 6365 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029F03: mov byte ptr [ecx + 0x34], 0 */ 6366 esi = MEM32(edx); /* 0x2B029F07: mov esi, dword ptr [edx] */ 6367 MEM32(ecx + 0x8) = esi; /* 0x2B029F09: mov dword ptr [ecx + 8], esi */ 6368 esi = MEM32(edx); /* 0x2B029F0C: mov esi, dword ptr [edx] */ 6369 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029F0E: cmp esi, dword ptr [edi + 8] */ 6370 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6371 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6372 _flag_k = FK_CMP; 6373 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029F16; /* 0x2B029F11: je 0x2b029f16 */ 6374 L_2B029F13: 6375 MEM32(esi + 0x4) = ecx; /* 0x2B029F13: mov dword ptr [esi + 4], ecx */ 6376 L_2B029F16: 6377 esi = MEM32(ecx + 0x4); /* 0x2B029F16: mov esi, dword ptr [ecx + 4] */ 6378 MEM32(edx + 0x4) = esi; /* 0x2B029F19: mov dword ptr [edx + 4], esi */ 6379 esi = MEM32(edi + 0x4); /* 0x2B029F1C: mov esi, dword ptr [edi + 4] */ 6380 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029F1F: cmp ecx, dword ptr [esi + 4] */ 6381 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6382 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6383 _flag_k = FK_CMP; 6384 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F29; /* 0x2B029F22: jne 0x2b029f29 */ 6385 L_2B029F24: 6386 MEM32(esi + 0x4) = edx; /* 0x2B029F24: mov dword ptr [esi + 4], edx */ 6387 goto L_2B029F37; /* 0x2B029F27: jmp 0x2b029f37 */ 6388 L_2B029F29: 6389 esi = MEM32(ecx + 0x4); /* 0x2B029F29: mov esi, dword ptr [ecx + 4] */ 6390 /* cmp ecx, MEM32(esi) */ /* 0x2B029F2C: cmp ecx, dword ptr [esi] */ 6391 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6392 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6393 _flag_k = FK_CMP; 6394 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F34; /* 0x2B029F2E: jne 0x2b029f34 */ 6395 L_2B029F30: 6396 MEM32(esi) = edx; /* 0x2B029F30: mov dword ptr [esi], edx */ 6397 goto L_2B029F37; /* 0x2B029F32: jmp 0x2b029f37 */ 6398 L_2B029F34: 6399 MEM32(esi + 0x8) = edx; /* 0x2B029F34: mov dword ptr [esi + 8], edx */ 6400 L_2B029F37: 6401 MEM32(edx) = ecx; /* 0x2B029F37: mov dword ptr [edx], ecx */ 6402 MEM32(ecx + 0x4) = edx; /* 0x2B029F39: mov dword ptr [ecx + 4], edx */ 6403 ecx = MEM32(eax + 0x4); /* 0x2B029F3C: mov ecx, dword ptr [eax + 4] */ 6404 ecx = MEM32(ecx); /* 0x2B029F3F: mov ecx, dword ptr [ecx] */ 6405 L_2B029F41: 6406 edx = MEM32(eax + 0x4); /* 0x2B029F41: mov edx, dword ptr [eax + 4] */ 6407 SET_LO8(edx, MEM8(edx + 0x34)); /* 0x2B029F44: mov dl, byte ptr [edx + 0x34] */ 6408 MEM8(ecx + 0x34) = (uint8_t)(LO8(edx)); /* 0x2B029F47: mov byte ptr [ecx + 0x34], dl */ 6409 edx = MEM32(eax + 0x4); /* 0x2B029F4A: mov edx, dword ptr [eax + 4] */ 6410 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F4D: mov byte ptr [edx + 0x34], bl */ 6411 ecx = MEM32(ecx); /* 0x2B029F50: mov ecx, dword ptr [ecx] */ 6412 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F52: mov byte ptr [ecx + 0x34], bl */ 6413 ecx = MEM32(eax + 0x4); /* 0x2B029F55: mov ecx, dword ptr [eax + 4] */ 6414 edx = MEM32(ecx); /* 0x2B029F58: mov edx, dword ptr [ecx] */ 6415 esi = MEM32(edx + 0x8); /* 0x2B029F5A: mov esi, dword ptr [edx + 8] */ 6416 MEM32(ecx) = esi; /* 0x2B029F5D: mov dword ptr [ecx], esi */ 6417 esi = MEM32(edx + 0x8); /* 0x2B029F5F: mov esi, dword ptr [edx + 8] */ 6418 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029F62: cmp esi, dword ptr [edi + 8] */ 6419 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6420 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6421 _flag_k = FK_CMP; 6422 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029F6A; /* 0x2B029F65: je 0x2b029f6a */ 6423 L_2B029F67: 6424 MEM32(esi + 0x4) = ecx; /* 0x2B029F67: mov dword ptr [esi + 4], ecx */ 6425 L_2B029F6A: 6426 esi = MEM32(ecx + 0x4); /* 0x2B029F6A: mov esi, dword ptr [ecx + 4] */ 6427 MEM32(edx + 0x4) = esi; /* 0x2B029F6D: mov dword ptr [edx + 4], esi */ 6428 esi = MEM32(edi + 0x4); /* 0x2B029F70: mov esi, dword ptr [edi + 4] */ 6429 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029F73: cmp ecx, dword ptr [esi + 4] */ 6430 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6431 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6432 _flag_k = FK_CMP; 6433 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F7D; /* 0x2B029F76: jne 0x2b029f7d */ 6434 L_2B029F78: 6435 MEM32(esi + 0x4) = edx; /* 0x2B029F78: mov dword ptr [esi + 4], edx */ 6436 goto L_2B029F8C; /* 0x2B029F7B: jmp 0x2b029f8c */ 6437 L_2B029F7D: 6438 esi = MEM32(ecx + 0x4); /* 0x2B029F7D: mov esi, dword ptr [ecx + 4] */ 6439 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029F80: cmp ecx, dword ptr [esi + 8] */ 6440 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6441 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6442 _flag_k = FK_CMP; 6443 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F8A; /* 0x2B029F83: jne 0x2b029f8a */ 6444 L_2B029F85: 6445 MEM32(esi + 0x8) = edx; /* 0x2B029F85: mov dword ptr [esi + 8], edx */ 6446 goto L_2B029F8C; /* 0x2B029F88: jmp 0x2b029f8c */ 6447 L_2B029F8A: 6448 MEM32(esi) = edx; /* 0x2B029F8A: mov dword ptr [esi], edx */ 6449 L_2B029F8C: 6450 MEM32(edx + 0x8) = ecx; /* 0x2B029F8C: mov dword ptr [edx + 8], ecx */ 6451 L_2B029F8F: 6452 MEM32(ecx + 0x4) = edx; /* 0x2B029F8F: mov dword ptr [ecx + 4], edx */ 6453 L_2B029F92: 6454 esi = MEM32(ebp + (-0x4)); /* 0x2B029F92: mov esi, dword ptr [ebp - 4] */ 6455 MEM8(eax + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F95: mov byte ptr [eax + 0x34], bl */ 6456 ecx = esi + 0xC; /* 0x2B029F98: lea ecx, [esi + 0xc] */ 6457 RECOMP_ICALL(0x2B028990u); /* 0x2B029F9B: call 0x2b028990 */ /* not lifted */ 6458 RECOMP_FLAGS_IN(); 6459 PUSH32(esp, esi); /* 0x2B029FA0: push esi */ 6460 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B029FA1: call 0x2b0ab1ba */ /* not lifted */ 6461 RECOMP_FLAGS_IN(); 6462 eax = MEM32(edi + 0x10); /* 0x2B029FA6: mov eax, dword ptr [edi + 0x10] */ 6463 edx = MEM32(ebp + 0xC); /* 0x2B029FA9: mov edx, dword ptr [ebp + 0xc] */ 6464 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6465 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6466 esp = esp + 4; /* 0x2B029FAC: add esp, 4 */ 6467 _flag_k = FK_ADD; 6468 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 6469 eax = eax - 1; /* 0x2B029FAF: dec eax */ 6470 _flag_k = FK_DEC; 6471 MEM32(edi + 0x10) = eax; /* 0x2B029FB0: mov dword ptr [edi + 0x10], eax */ 6472 eax = MEM32(ebp + 0x8); /* 0x2B029FB3: mov eax, dword ptr [ebp + 8] */ 6473 edi = POP32_VAL(esp); /* 0x2B029FB6: pop edi */ 6474 esi = POP32_VAL(esp); /* 0x2B029FB7: pop esi */ 6475 MEM32(eax) = edx; /* 0x2B029FB8: mov dword ptr [eax], edx */ 6476 ebx = POP32_VAL(esp); /* 0x2B029FBA: pop ebx */ 6477 esp = ebp; /* 0x2B029FBB: mov esp, ebp */ 6478 ebp = POP32_VAL(esp); /* 0x2B029FBD: pop ebp */ 6479 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B029FBE: ret 8 */ 6480 RECOMP_REGS_OUT(); 6481 } 6482 6483 void sub_2B029E2E(void) { 6484 int _fpu_cmp = 0; 6485 uint32_t _cf = 0; 6486 int _df = 1; 6487 uint32_t _flag_k = FK_NONE; 6488 uint32_t _flag_a = 0, _flag_b = 0; 6489 uint32_t _itail_tgt = 0; 6490 RECOMP_REGS_LOCALS 6491 RECOMP_ENTER(0x2B029E2Eu); 6492 6493 goto L_2B029E2E; 6494 L_2B029D44: 6495 /* cmp MEM8(eax + 0x34), LO8(ebx) */ /* 0x2B029D44: cmp byte ptr [eax + 0x34], bl */ 6496 _flag_a = (uint32_t)(MEM8(eax + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6497 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6498 _flag_k = FK_NARROW(FK_CMP, 24); 6499 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F92; /* 0x2B029D47: jne 0x2b029f92 */ 6500 L_2B029D4D: 6501 edx = MEM32(eax + 0x4); /* 0x2B029D4D: mov edx, dword ptr [eax + 4] */ 6502 ecx = MEM32(edx); /* 0x2B029D50: mov ecx, dword ptr [edx] */ 6503 /* cmp eax, ecx */ /* 0x2B029D52: cmp eax, ecx */ 6504 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 6505 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6506 _flag_k = FK_CMP; 6507 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029DC4; /* 0x2B029D54: jne 0x2b029dc4 */ 6508 L_2B029D56: 6509 ecx = MEM32(edx + 0x8); /* 0x2B029D56: mov ecx, dword ptr [edx + 8] */ 6510 SET_LO8(edx, MEM8(ecx + 0x34)); /* 0x2B029D59: mov dl, byte ptr [ecx + 0x34] */ 6511 /* test LO8(edx), LO8(edx) */ /* 0x2B029D5C: test dl, dl */ 6512 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6513 _cf = 0; 6514 _flag_k = FK_NARROW(FK_TEST, 24); 6515 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B029DAB; /* 0x2B029D5E: jne 0x2b029dab */ 6516 L_2B029D60: 6517 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029D60: mov byte ptr [ecx + 0x34], bl */ 6518 edx = MEM32(eax + 0x4); /* 0x2B029D63: mov edx, dword ptr [eax + 4] */ 6519 MEM8(edx + 0x34) = (uint8_t)(0); /* 0x2B029D66: mov byte ptr [edx + 0x34], 0 */ 6520 ecx = MEM32(eax + 0x4); /* 0x2B029D6A: mov ecx, dword ptr [eax + 4] */ 6521 edx = MEM32(ecx + 0x8); /* 0x2B029D6D: mov edx, dword ptr [ecx + 8] */ 6522 esi = MEM32(edx); /* 0x2B029D70: mov esi, dword ptr [edx] */ 6523 MEM32(ecx + 0x8) = esi; /* 0x2B029D72: mov dword ptr [ecx + 8], esi */ 6524 esi = MEM32(edx); /* 0x2B029D75: mov esi, dword ptr [edx] */ 6525 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029D77: cmp esi, dword ptr [edi + 8] */ 6526 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6527 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6528 _flag_k = FK_CMP; 6529 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029D7F; /* 0x2B029D7A: je 0x2b029d7f */ 6530 L_2B029D7C: 6531 MEM32(esi + 0x4) = ecx; /* 0x2B029D7C: mov dword ptr [esi + 4], ecx */ 6532 L_2B029D7F: 6533 esi = MEM32(ecx + 0x4); /* 0x2B029D7F: mov esi, dword ptr [ecx + 4] */ 6534 MEM32(edx + 0x4) = esi; /* 0x2B029D82: mov dword ptr [edx + 4], esi */ 6535 esi = MEM32(edi + 0x4); /* 0x2B029D85: mov esi, dword ptr [edi + 4] */ 6536 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029D88: cmp ecx, dword ptr [esi + 4] */ 6537 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6538 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6539 _flag_k = FK_CMP; 6540 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D92; /* 0x2B029D8B: jne 0x2b029d92 */ 6541 L_2B029D8D: 6542 MEM32(esi + 0x4) = edx; /* 0x2B029D8D: mov dword ptr [esi + 4], edx */ 6543 goto L_2B029DA0; /* 0x2B029D90: jmp 0x2b029da0 */ 6544 L_2B029D92: 6545 esi = MEM32(ecx + 0x4); /* 0x2B029D92: mov esi, dword ptr [ecx + 4] */ 6546 /* cmp ecx, MEM32(esi) */ /* 0x2B029D95: cmp ecx, dword ptr [esi] */ 6547 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6548 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6549 _flag_k = FK_CMP; 6550 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D9D; /* 0x2B029D97: jne 0x2b029d9d */ 6551 L_2B029D99: 6552 MEM32(esi) = edx; /* 0x2B029D99: mov dword ptr [esi], edx */ 6553 goto L_2B029DA0; /* 0x2B029D9B: jmp 0x2b029da0 */ 6554 L_2B029D9D: 6555 MEM32(esi + 0x8) = edx; /* 0x2B029D9D: mov dword ptr [esi + 8], edx */ 6556 L_2B029DA0: 6557 MEM32(edx) = ecx; /* 0x2B029DA0: mov dword ptr [edx], ecx */ 6558 MEM32(ecx + 0x4) = edx; /* 0x2B029DA2: mov dword ptr [ecx + 4], edx */ 6559 ecx = MEM32(eax + 0x4); /* 0x2B029DA5: mov ecx, dword ptr [eax + 4] */ 6560 ecx = MEM32(ecx + 0x8); /* 0x2B029DA8: mov ecx, dword ptr [ecx + 8] */ 6561 L_2B029DAB: 6562 edx = MEM32(ecx); /* 0x2B029DAB: mov edx, dword ptr [ecx] */ 6563 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029DAD: cmp byte ptr [edx + 0x34], bl */ 6564 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6565 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6566 _flag_k = FK_NARROW(FK_CMP, 24); 6567 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E46; /* 0x2B029DB0: jne 0x2b029e46 */ 6568 L_2B029DB6: 6569 edx = MEM32(ecx + 0x8); /* 0x2B029DB6: mov edx, dword ptr [ecx + 8] */ 6570 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029DB9: cmp byte ptr [edx + 0x34], bl */ 6571 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6572 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6573 _flag_k = FK_NARROW(FK_CMP, 24); 6574 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E46; /* 0x2B029DBC: jne 0x2b029e46 */ 6575 L_2B029DC2: 6576 goto L_2B029E2E; /* 0x2B029DC2: jmp 0x2b029e2e */ 6577 L_2B029DC4: 6578 SET_LO8(edx, MEM8(ecx + 0x34)); /* 0x2B029DC4: mov dl, byte ptr [ecx + 0x34] */ 6579 /* test LO8(edx), LO8(edx) */ /* 0x2B029DC7: test dl, dl */ 6580 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6581 _cf = 0; 6582 _flag_k = FK_NARROW(FK_TEST, 24); 6583 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B029E17; /* 0x2B029DC9: jne 0x2b029e17 */ 6584 L_2B029DCB: 6585 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029DCB: mov byte ptr [ecx + 0x34], bl */ 6586 ecx = MEM32(eax + 0x4); /* 0x2B029DCE: mov ecx, dword ptr [eax + 4] */ 6587 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029DD1: mov byte ptr [ecx + 0x34], 0 */ 6588 ecx = MEM32(eax + 0x4); /* 0x2B029DD5: mov ecx, dword ptr [eax + 4] */ 6589 edx = MEM32(ecx); /* 0x2B029DD8: mov edx, dword ptr [ecx] */ 6590 esi = MEM32(edx + 0x8); /* 0x2B029DDA: mov esi, dword ptr [edx + 8] */ 6591 MEM32(ecx) = esi; /* 0x2B029DDD: mov dword ptr [ecx], esi */ 6592 esi = MEM32(edx + 0x8); /* 0x2B029DDF: mov esi, dword ptr [edx + 8] */ 6593 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029DE2: cmp esi, dword ptr [edi + 8] */ 6594 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6595 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6596 _flag_k = FK_CMP; 6597 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029DEA; /* 0x2B029DE5: je 0x2b029dea */ 6598 L_2B029DE7: 6599 MEM32(esi + 0x4) = ecx; /* 0x2B029DE7: mov dword ptr [esi + 4], ecx */ 6600 L_2B029DEA: 6601 esi = MEM32(ecx + 0x4); /* 0x2B029DEA: mov esi, dword ptr [ecx + 4] */ 6602 MEM32(edx + 0x4) = esi; /* 0x2B029DED: mov dword ptr [edx + 4], esi */ 6603 esi = MEM32(edi + 0x4); /* 0x2B029DF0: mov esi, dword ptr [edi + 4] */ 6604 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029DF3: cmp ecx, dword ptr [esi + 4] */ 6605 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6606 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6607 _flag_k = FK_CMP; 6608 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029DFD; /* 0x2B029DF6: jne 0x2b029dfd */ 6609 L_2B029DF8: 6610 MEM32(esi + 0x4) = edx; /* 0x2B029DF8: mov dword ptr [esi + 4], edx */ 6611 goto L_2B029E0C; /* 0x2B029DFB: jmp 0x2b029e0c */ 6612 L_2B029DFD: 6613 esi = MEM32(ecx + 0x4); /* 0x2B029DFD: mov esi, dword ptr [ecx + 4] */ 6614 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029E00: cmp ecx, dword ptr [esi + 8] */ 6615 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6616 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6617 _flag_k = FK_CMP; 6618 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E0A; /* 0x2B029E03: jne 0x2b029e0a */ 6619 L_2B029E05: 6620 MEM32(esi + 0x8) = edx; /* 0x2B029E05: mov dword ptr [esi + 8], edx */ 6621 goto L_2B029E0C; /* 0x2B029E08: jmp 0x2b029e0c */ 6622 L_2B029E0A: 6623 MEM32(esi) = edx; /* 0x2B029E0A: mov dword ptr [esi], edx */ 6624 L_2B029E0C: 6625 MEM32(edx + 0x8) = ecx; /* 0x2B029E0C: mov dword ptr [edx + 8], ecx */ 6626 MEM32(ecx + 0x4) = edx; /* 0x2B029E0F: mov dword ptr [ecx + 4], edx */ 6627 edx = MEM32(eax + 0x4); /* 0x2B029E12: mov edx, dword ptr [eax + 4] */ 6628 ecx = MEM32(edx); /* 0x2B029E15: mov ecx, dword ptr [edx] */ 6629 L_2B029E17: 6630 edx = MEM32(ecx + 0x8); /* 0x2B029E17: mov edx, dword ptr [ecx + 8] */ 6631 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029E1A: cmp byte ptr [edx + 0x34], bl */ 6632 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6633 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6634 _flag_k = FK_NARROW(FK_CMP, 24); 6635 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029EF3; /* 0x2B029E1D: jne 0x2b029ef3 */ 6636 L_2B029E23: 6637 edx = MEM32(ecx); /* 0x2B029E23: mov edx, dword ptr [ecx] */ 6638 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029E25: cmp byte ptr [edx + 0x34], bl */ 6639 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6640 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6641 _flag_k = FK_NARROW(FK_CMP, 24); 6642 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029EF3; /* 0x2B029E28: jne 0x2b029ef3 */ 6643 L_2B029E2E: 6644 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029E2E: mov byte ptr [ecx + 0x34], 0 */ 6645 ecx = MEM32(edi + 0x4); /* 0x2B029E32: mov ecx, dword ptr [edi + 4] */ 6646 eax = MEM32(eax + 0x4); /* 0x2B029E35: mov eax, dword ptr [eax + 4] */ 6647 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B029E38: cmp eax, dword ptr [ecx + 4] */ 6648 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 6649 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6650 _flag_k = FK_CMP; 6651 RECOMP_BACKEDGE(); 6652 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029D44; /* 0x2B029E3B: jne 0x2b029d44 */ 6653 L_2B029E41: 6654 goto L_2B029F92; /* 0x2B029E41: jmp 0x2b029f92 */ 6655 L_2B029E46: 6656 edx = MEM32(ecx + 0x8); /* 0x2B029E46: mov edx, dword ptr [ecx + 8] */ 6657 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029E49: cmp byte ptr [edx + 0x34], bl */ 6658 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6659 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6660 _flag_k = FK_NARROW(FK_CMP, 24); 6661 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E97; /* 0x2B029E4C: jne 0x2b029e97 */ 6662 L_2B029E4E: 6663 edx = MEM32(ecx); /* 0x2B029E4E: mov edx, dword ptr [ecx] */ 6664 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029E50: mov byte ptr [edx + 0x34], bl */ 6665 edx = MEM32(ecx); /* 0x2B029E53: mov edx, dword ptr [ecx] */ 6666 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029E55: mov byte ptr [ecx + 0x34], 0 */ 6667 esi = MEM32(edx + 0x8); /* 0x2B029E59: mov esi, dword ptr [edx + 8] */ 6668 MEM32(ecx) = esi; /* 0x2B029E5C: mov dword ptr [ecx], esi */ 6669 esi = MEM32(edx + 0x8); /* 0x2B029E5E: mov esi, dword ptr [edx + 8] */ 6670 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029E61: cmp esi, dword ptr [edi + 8] */ 6671 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6672 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6673 _flag_k = FK_CMP; 6674 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029E69; /* 0x2B029E64: je 0x2b029e69 */ 6675 L_2B029E66: 6676 MEM32(esi + 0x4) = ecx; /* 0x2B029E66: mov dword ptr [esi + 4], ecx */ 6677 L_2B029E69: 6678 esi = MEM32(ecx + 0x4); /* 0x2B029E69: mov esi, dword ptr [ecx + 4] */ 6679 MEM32(edx + 0x4) = esi; /* 0x2B029E6C: mov dword ptr [edx + 4], esi */ 6680 esi = MEM32(edi + 0x4); /* 0x2B029E6F: mov esi, dword ptr [edi + 4] */ 6681 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029E72: cmp ecx, dword ptr [esi + 4] */ 6682 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6683 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6684 _flag_k = FK_CMP; 6685 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E7C; /* 0x2B029E75: jne 0x2b029e7c */ 6686 L_2B029E77: 6687 MEM32(esi + 0x4) = edx; /* 0x2B029E77: mov dword ptr [esi + 4], edx */ 6688 goto L_2B029E8B; /* 0x2B029E7A: jmp 0x2b029e8b */ 6689 L_2B029E7C: 6690 esi = MEM32(ecx + 0x4); /* 0x2B029E7C: mov esi, dword ptr [ecx + 4] */ 6691 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029E7F: cmp ecx, dword ptr [esi + 8] */ 6692 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6693 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6694 _flag_k = FK_CMP; 6695 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E89; /* 0x2B029E82: jne 0x2b029e89 */ 6696 L_2B029E84: 6697 MEM32(esi + 0x8) = edx; /* 0x2B029E84: mov dword ptr [esi + 8], edx */ 6698 goto L_2B029E8B; /* 0x2B029E87: jmp 0x2b029e8b */ 6699 L_2B029E89: 6700 MEM32(esi) = edx; /* 0x2B029E89: mov dword ptr [esi], edx */ 6701 L_2B029E8B: 6702 MEM32(edx + 0x8) = ecx; /* 0x2B029E8B: mov dword ptr [edx + 8], ecx */ 6703 MEM32(ecx + 0x4) = edx; /* 0x2B029E8E: mov dword ptr [ecx + 4], edx */ 6704 ecx = MEM32(eax + 0x4); /* 0x2B029E91: mov ecx, dword ptr [eax + 4] */ 6705 ecx = MEM32(ecx + 0x8); /* 0x2B029E94: mov ecx, dword ptr [ecx + 8] */ 6706 L_2B029E97: 6707 edx = MEM32(eax + 0x4); /* 0x2B029E97: mov edx, dword ptr [eax + 4] */ 6708 SET_LO8(edx, MEM8(edx + 0x34)); /* 0x2B029E9A: mov dl, byte ptr [edx + 0x34] */ 6709 MEM8(ecx + 0x34) = (uint8_t)(LO8(edx)); /* 0x2B029E9D: mov byte ptr [ecx + 0x34], dl */ 6710 edx = MEM32(eax + 0x4); /* 0x2B029EA0: mov edx, dword ptr [eax + 4] */ 6711 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029EA3: mov byte ptr [edx + 0x34], bl */ 6712 ecx = MEM32(ecx + 0x8); /* 0x2B029EA6: mov ecx, dword ptr [ecx + 8] */ 6713 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029EA9: mov byte ptr [ecx + 0x34], bl */ 6714 ecx = MEM32(eax + 0x4); /* 0x2B029EAC: mov ecx, dword ptr [eax + 4] */ 6715 edx = MEM32(ecx + 0x8); /* 0x2B029EAF: mov edx, dword ptr [ecx + 8] */ 6716 esi = MEM32(edx); /* 0x2B029EB2: mov esi, dword ptr [edx] */ 6717 MEM32(ecx + 0x8) = esi; /* 0x2B029EB4: mov dword ptr [ecx + 8], esi */ 6718 esi = MEM32(edx); /* 0x2B029EB7: mov esi, dword ptr [edx] */ 6719 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029EB9: cmp esi, dword ptr [edi + 8] */ 6720 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6721 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6722 _flag_k = FK_CMP; 6723 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029EC1; /* 0x2B029EBC: je 0x2b029ec1 */ 6724 L_2B029EBE: 6725 MEM32(esi + 0x4) = ecx; /* 0x2B029EBE: mov dword ptr [esi + 4], ecx */ 6726 L_2B029EC1: 6727 esi = MEM32(ecx + 0x4); /* 0x2B029EC1: mov esi, dword ptr [ecx + 4] */ 6728 MEM32(edx + 0x4) = esi; /* 0x2B029EC4: mov dword ptr [edx + 4], esi */ 6729 esi = MEM32(edi + 0x4); /* 0x2B029EC7: mov esi, dword ptr [edi + 4] */ 6730 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029ECA: cmp ecx, dword ptr [esi + 4] */ 6731 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6732 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6733 _flag_k = FK_CMP; 6734 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029ED9; /* 0x2B029ECD: jne 0x2b029ed9 */ 6735 L_2B029ECF: 6736 MEM32(esi + 0x4) = edx; /* 0x2B029ECF: mov dword ptr [esi + 4], edx */ 6737 MEM32(edx) = ecx; /* 0x2B029ED2: mov dword ptr [edx], ecx */ 6738 goto L_2B029F8F; /* 0x2B029ED4: jmp 0x2b029f8f */ 6739 L_2B029ED9: 6740 esi = MEM32(ecx + 0x4); /* 0x2B029ED9: mov esi, dword ptr [ecx + 4] */ 6741 /* cmp ecx, MEM32(esi) */ /* 0x2B029EDC: cmp ecx, dword ptr [esi] */ 6742 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6743 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6744 _flag_k = FK_CMP; 6745 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029EE9; /* 0x2B029EDE: jne 0x2b029ee9 */ 6746 L_2B029EE0: 6747 MEM32(esi) = edx; /* 0x2B029EE0: mov dword ptr [esi], edx */ 6748 MEM32(edx) = ecx; /* 0x2B029EE2: mov dword ptr [edx], ecx */ 6749 goto L_2B029F8F; /* 0x2B029EE4: jmp 0x2b029f8f */ 6750 L_2B029EE9: 6751 MEM32(esi + 0x8) = edx; /* 0x2B029EE9: mov dword ptr [esi + 8], edx */ 6752 MEM32(edx) = ecx; /* 0x2B029EEC: mov dword ptr [edx], ecx */ 6753 goto L_2B029F8F; /* 0x2B029EEE: jmp 0x2b029f8f */ 6754 L_2B029EF3: 6755 edx = MEM32(ecx); /* 0x2B029EF3: mov edx, dword ptr [ecx] */ 6756 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029EF5: cmp byte ptr [edx + 0x34], bl */ 6757 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6758 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6759 _flag_k = FK_NARROW(FK_CMP, 24); 6760 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F41; /* 0x2B029EF8: jne 0x2b029f41 */ 6761 L_2B029EFA: 6762 edx = MEM32(ecx + 0x8); /* 0x2B029EFA: mov edx, dword ptr [ecx + 8] */ 6763 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029EFD: mov byte ptr [edx + 0x34], bl */ 6764 edx = MEM32(ecx + 0x8); /* 0x2B029F00: mov edx, dword ptr [ecx + 8] */ 6765 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029F03: mov byte ptr [ecx + 0x34], 0 */ 6766 esi = MEM32(edx); /* 0x2B029F07: mov esi, dword ptr [edx] */ 6767 MEM32(ecx + 0x8) = esi; /* 0x2B029F09: mov dword ptr [ecx + 8], esi */ 6768 esi = MEM32(edx); /* 0x2B029F0C: mov esi, dword ptr [edx] */ 6769 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029F0E: cmp esi, dword ptr [edi + 8] */ 6770 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6771 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6772 _flag_k = FK_CMP; 6773 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029F16; /* 0x2B029F11: je 0x2b029f16 */ 6774 L_2B029F13: 6775 MEM32(esi + 0x4) = ecx; /* 0x2B029F13: mov dword ptr [esi + 4], ecx */ 6776 L_2B029F16: 6777 esi = MEM32(ecx + 0x4); /* 0x2B029F16: mov esi, dword ptr [ecx + 4] */ 6778 MEM32(edx + 0x4) = esi; /* 0x2B029F19: mov dword ptr [edx + 4], esi */ 6779 esi = MEM32(edi + 0x4); /* 0x2B029F1C: mov esi, dword ptr [edi + 4] */ 6780 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029F1F: cmp ecx, dword ptr [esi + 4] */ 6781 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6782 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6783 _flag_k = FK_CMP; 6784 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F29; /* 0x2B029F22: jne 0x2b029f29 */ 6785 L_2B029F24: 6786 MEM32(esi + 0x4) = edx; /* 0x2B029F24: mov dword ptr [esi + 4], edx */ 6787 goto L_2B029F37; /* 0x2B029F27: jmp 0x2b029f37 */ 6788 L_2B029F29: 6789 esi = MEM32(ecx + 0x4); /* 0x2B029F29: mov esi, dword ptr [ecx + 4] */ 6790 /* cmp ecx, MEM32(esi) */ /* 0x2B029F2C: cmp ecx, dword ptr [esi] */ 6791 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6792 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6793 _flag_k = FK_CMP; 6794 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F34; /* 0x2B029F2E: jne 0x2b029f34 */ 6795 L_2B029F30: 6796 MEM32(esi) = edx; /* 0x2B029F30: mov dword ptr [esi], edx */ 6797 goto L_2B029F37; /* 0x2B029F32: jmp 0x2b029f37 */ 6798 L_2B029F34: 6799 MEM32(esi + 0x8) = edx; /* 0x2B029F34: mov dword ptr [esi + 8], edx */ 6800 L_2B029F37: 6801 MEM32(edx) = ecx; /* 0x2B029F37: mov dword ptr [edx], ecx */ 6802 MEM32(ecx + 0x4) = edx; /* 0x2B029F39: mov dword ptr [ecx + 4], edx */ 6803 ecx = MEM32(eax + 0x4); /* 0x2B029F3C: mov ecx, dword ptr [eax + 4] */ 6804 ecx = MEM32(ecx); /* 0x2B029F3F: mov ecx, dword ptr [ecx] */ 6805 L_2B029F41: 6806 edx = MEM32(eax + 0x4); /* 0x2B029F41: mov edx, dword ptr [eax + 4] */ 6807 SET_LO8(edx, MEM8(edx + 0x34)); /* 0x2B029F44: mov dl, byte ptr [edx + 0x34] */ 6808 MEM8(ecx + 0x34) = (uint8_t)(LO8(edx)); /* 0x2B029F47: mov byte ptr [ecx + 0x34], dl */ 6809 edx = MEM32(eax + 0x4); /* 0x2B029F4A: mov edx, dword ptr [eax + 4] */ 6810 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F4D: mov byte ptr [edx + 0x34], bl */ 6811 ecx = MEM32(ecx); /* 0x2B029F50: mov ecx, dword ptr [ecx] */ 6812 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F52: mov byte ptr [ecx + 0x34], bl */ 6813 ecx = MEM32(eax + 0x4); /* 0x2B029F55: mov ecx, dword ptr [eax + 4] */ 6814 edx = MEM32(ecx); /* 0x2B029F58: mov edx, dword ptr [ecx] */ 6815 esi = MEM32(edx + 0x8); /* 0x2B029F5A: mov esi, dword ptr [edx + 8] */ 6816 MEM32(ecx) = esi; /* 0x2B029F5D: mov dword ptr [ecx], esi */ 6817 esi = MEM32(edx + 0x8); /* 0x2B029F5F: mov esi, dword ptr [edx + 8] */ 6818 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029F62: cmp esi, dword ptr [edi + 8] */ 6819 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6820 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6821 _flag_k = FK_CMP; 6822 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029F6A; /* 0x2B029F65: je 0x2b029f6a */ 6823 L_2B029F67: 6824 MEM32(esi + 0x4) = ecx; /* 0x2B029F67: mov dword ptr [esi + 4], ecx */ 6825 L_2B029F6A: 6826 esi = MEM32(ecx + 0x4); /* 0x2B029F6A: mov esi, dword ptr [ecx + 4] */ 6827 MEM32(edx + 0x4) = esi; /* 0x2B029F6D: mov dword ptr [edx + 4], esi */ 6828 esi = MEM32(edi + 0x4); /* 0x2B029F70: mov esi, dword ptr [edi + 4] */ 6829 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029F73: cmp ecx, dword ptr [esi + 4] */ 6830 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6831 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6832 _flag_k = FK_CMP; 6833 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F7D; /* 0x2B029F76: jne 0x2b029f7d */ 6834 L_2B029F78: 6835 MEM32(esi + 0x4) = edx; /* 0x2B029F78: mov dword ptr [esi + 4], edx */ 6836 goto L_2B029F8C; /* 0x2B029F7B: jmp 0x2b029f8c */ 6837 L_2B029F7D: 6838 esi = MEM32(ecx + 0x4); /* 0x2B029F7D: mov esi, dword ptr [ecx + 4] */ 6839 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029F80: cmp ecx, dword ptr [esi + 8] */ 6840 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6841 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6842 _flag_k = FK_CMP; 6843 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F8A; /* 0x2B029F83: jne 0x2b029f8a */ 6844 L_2B029F85: 6845 MEM32(esi + 0x8) = edx; /* 0x2B029F85: mov dword ptr [esi + 8], edx */ 6846 goto L_2B029F8C; /* 0x2B029F88: jmp 0x2b029f8c */ 6847 L_2B029F8A: 6848 MEM32(esi) = edx; /* 0x2B029F8A: mov dword ptr [esi], edx */ 6849 L_2B029F8C: 6850 MEM32(edx + 0x8) = ecx; /* 0x2B029F8C: mov dword ptr [edx + 8], ecx */ 6851 L_2B029F8F: 6852 MEM32(ecx + 0x4) = edx; /* 0x2B029F8F: mov dword ptr [ecx + 4], edx */ 6853 L_2B029F92: 6854 esi = MEM32(ebp + (-0x4)); /* 0x2B029F92: mov esi, dword ptr [ebp - 4] */ 6855 MEM8(eax + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F95: mov byte ptr [eax + 0x34], bl */ 6856 ecx = esi + 0xC; /* 0x2B029F98: lea ecx, [esi + 0xc] */ 6857 RECOMP_ICALL(0x2B028990u); /* 0x2B029F9B: call 0x2b028990 */ /* not lifted */ 6858 RECOMP_FLAGS_IN(); 6859 PUSH32(esp, esi); /* 0x2B029FA0: push esi */ 6860 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B029FA1: call 0x2b0ab1ba */ /* not lifted */ 6861 RECOMP_FLAGS_IN(); 6862 eax = MEM32(edi + 0x10); /* 0x2B029FA6: mov eax, dword ptr [edi + 0x10] */ 6863 edx = MEM32(ebp + 0xC); /* 0x2B029FA9: mov edx, dword ptr [ebp + 0xc] */ 6864 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6865 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6866 esp = esp + 4; /* 0x2B029FAC: add esp, 4 */ 6867 _flag_k = FK_ADD; 6868 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 6869 eax = eax - 1; /* 0x2B029FAF: dec eax */ 6870 _flag_k = FK_DEC; 6871 MEM32(edi + 0x10) = eax; /* 0x2B029FB0: mov dword ptr [edi + 0x10], eax */ 6872 eax = MEM32(ebp + 0x8); /* 0x2B029FB3: mov eax, dword ptr [ebp + 8] */ 6873 edi = POP32_VAL(esp); /* 0x2B029FB6: pop edi */ 6874 esi = POP32_VAL(esp); /* 0x2B029FB7: pop esi */ 6875 MEM32(eax) = edx; /* 0x2B029FB8: mov dword ptr [eax], edx */ 6876 ebx = POP32_VAL(esp); /* 0x2B029FBA: pop ebx */ 6877 esp = ebp; /* 0x2B029FBB: mov esp, ebp */ 6878 ebp = POP32_VAL(esp); /* 0x2B029FBD: pop ebp */ 6879 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B029FBE: ret 8 */ 6880 RECOMP_REGS_OUT(); 6881 } 6882 6883 void sub_2B029E46(void) { 6884 int _fpu_cmp = 0; 6885 uint32_t _cf = 0; 6886 int _df = 1; 6887 uint32_t _flag_k = FK_NONE; 6888 uint32_t _flag_a = 0, _flag_b = 0; 6889 uint32_t _itail_tgt = 0; 6890 RECOMP_REGS_LOCALS 6891 RECOMP_ENTER(0x2B029E46u); 6892 6893 L_2B029E46: 6894 edx = MEM32(ecx + 0x8); /* 0x2B029E46: mov edx, dword ptr [ecx + 8] */ 6895 /* cmp MEM8(edx + 0x34), LO8(ebx) */ /* 0x2B029E49: cmp byte ptr [edx + 0x34], bl */ 6896 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 6897 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6898 _flag_k = FK_NARROW(FK_CMP, 24); 6899 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E97; /* 0x2B029E4C: jne 0x2b029e97 */ 6900 L_2B029E4E: 6901 edx = MEM32(ecx); /* 0x2B029E4E: mov edx, dword ptr [ecx] */ 6902 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029E50: mov byte ptr [edx + 0x34], bl */ 6903 edx = MEM32(ecx); /* 0x2B029E53: mov edx, dword ptr [ecx] */ 6904 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B029E55: mov byte ptr [ecx + 0x34], 0 */ 6905 esi = MEM32(edx + 0x8); /* 0x2B029E59: mov esi, dword ptr [edx + 8] */ 6906 MEM32(ecx) = esi; /* 0x2B029E5C: mov dword ptr [ecx], esi */ 6907 esi = MEM32(edx + 0x8); /* 0x2B029E5E: mov esi, dword ptr [edx + 8] */ 6908 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029E61: cmp esi, dword ptr [edi + 8] */ 6909 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6910 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6911 _flag_k = FK_CMP; 6912 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029E69; /* 0x2B029E64: je 0x2b029e69 */ 6913 L_2B029E66: 6914 MEM32(esi + 0x4) = ecx; /* 0x2B029E66: mov dword ptr [esi + 4], ecx */ 6915 L_2B029E69: 6916 esi = MEM32(ecx + 0x4); /* 0x2B029E69: mov esi, dword ptr [ecx + 4] */ 6917 MEM32(edx + 0x4) = esi; /* 0x2B029E6C: mov dword ptr [edx + 4], esi */ 6918 esi = MEM32(edi + 0x4); /* 0x2B029E6F: mov esi, dword ptr [edi + 4] */ 6919 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029E72: cmp ecx, dword ptr [esi + 4] */ 6920 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6921 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6922 _flag_k = FK_CMP; 6923 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E7C; /* 0x2B029E75: jne 0x2b029e7c */ 6924 L_2B029E77: 6925 MEM32(esi + 0x4) = edx; /* 0x2B029E77: mov dword ptr [esi + 4], edx */ 6926 goto L_2B029E8B; /* 0x2B029E7A: jmp 0x2b029e8b */ 6927 L_2B029E7C: 6928 esi = MEM32(ecx + 0x4); /* 0x2B029E7C: mov esi, dword ptr [ecx + 4] */ 6929 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029E7F: cmp ecx, dword ptr [esi + 8] */ 6930 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6931 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6932 _flag_k = FK_CMP; 6933 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029E89; /* 0x2B029E82: jne 0x2b029e89 */ 6934 L_2B029E84: 6935 MEM32(esi + 0x8) = edx; /* 0x2B029E84: mov dword ptr [esi + 8], edx */ 6936 goto L_2B029E8B; /* 0x2B029E87: jmp 0x2b029e8b */ 6937 L_2B029E89: 6938 MEM32(esi) = edx; /* 0x2B029E89: mov dword ptr [esi], edx */ 6939 L_2B029E8B: 6940 MEM32(edx + 0x8) = ecx; /* 0x2B029E8B: mov dword ptr [edx + 8], ecx */ 6941 MEM32(ecx + 0x4) = edx; /* 0x2B029E8E: mov dword ptr [ecx + 4], edx */ 6942 ecx = MEM32(eax + 0x4); /* 0x2B029E91: mov ecx, dword ptr [eax + 4] */ 6943 ecx = MEM32(ecx + 0x8); /* 0x2B029E94: mov ecx, dword ptr [ecx + 8] */ 6944 L_2B029E97: 6945 edx = MEM32(eax + 0x4); /* 0x2B029E97: mov edx, dword ptr [eax + 4] */ 6946 SET_LO8(edx, MEM8(edx + 0x34)); /* 0x2B029E9A: mov dl, byte ptr [edx + 0x34] */ 6947 MEM8(ecx + 0x34) = (uint8_t)(LO8(edx)); /* 0x2B029E9D: mov byte ptr [ecx + 0x34], dl */ 6948 edx = MEM32(eax + 0x4); /* 0x2B029EA0: mov edx, dword ptr [eax + 4] */ 6949 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029EA3: mov byte ptr [edx + 0x34], bl */ 6950 ecx = MEM32(ecx + 0x8); /* 0x2B029EA6: mov ecx, dword ptr [ecx + 8] */ 6951 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029EA9: mov byte ptr [ecx + 0x34], bl */ 6952 ecx = MEM32(eax + 0x4); /* 0x2B029EAC: mov ecx, dword ptr [eax + 4] */ 6953 edx = MEM32(ecx + 0x8); /* 0x2B029EAF: mov edx, dword ptr [ecx + 8] */ 6954 esi = MEM32(edx); /* 0x2B029EB2: mov esi, dword ptr [edx] */ 6955 MEM32(ecx + 0x8) = esi; /* 0x2B029EB4: mov dword ptr [ecx + 8], esi */ 6956 esi = MEM32(edx); /* 0x2B029EB7: mov esi, dword ptr [edx] */ 6957 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029EB9: cmp esi, dword ptr [edi + 8] */ 6958 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6959 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6960 _flag_k = FK_CMP; 6961 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029EC1; /* 0x2B029EBC: je 0x2b029ec1 */ 6962 L_2B029EBE: 6963 MEM32(esi + 0x4) = ecx; /* 0x2B029EBE: mov dword ptr [esi + 4], ecx */ 6964 L_2B029EC1: 6965 esi = MEM32(ecx + 0x4); /* 0x2B029EC1: mov esi, dword ptr [ecx + 4] */ 6966 MEM32(edx + 0x4) = esi; /* 0x2B029EC4: mov dword ptr [edx + 4], esi */ 6967 esi = MEM32(edi + 0x4); /* 0x2B029EC7: mov esi, dword ptr [edi + 4] */ 6968 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029ECA: cmp ecx, dword ptr [esi + 4] */ 6969 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6970 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6971 _flag_k = FK_CMP; 6972 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029ED9; /* 0x2B029ECD: jne 0x2b029ed9 */ 6973 L_2B029ECF: 6974 MEM32(esi + 0x4) = edx; /* 0x2B029ECF: mov dword ptr [esi + 4], edx */ 6975 MEM32(edx) = ecx; /* 0x2B029ED2: mov dword ptr [edx], ecx */ 6976 goto L_2B029F8F; /* 0x2B029ED4: jmp 0x2b029f8f */ 6977 L_2B029ED9: 6978 esi = MEM32(ecx + 0x4); /* 0x2B029ED9: mov esi, dword ptr [ecx + 4] */ 6979 /* cmp ecx, MEM32(esi) */ /* 0x2B029EDC: cmp ecx, dword ptr [esi] */ 6980 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6981 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6982 _flag_k = FK_CMP; 6983 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029EE9; /* 0x2B029EDE: jne 0x2b029ee9 */ 6984 L_2B029EE0: 6985 MEM32(esi) = edx; /* 0x2B029EE0: mov dword ptr [esi], edx */ 6986 MEM32(edx) = ecx; /* 0x2B029EE2: mov dword ptr [edx], ecx */ 6987 goto L_2B029F8F; /* 0x2B029EE4: jmp 0x2b029f8f */ 6988 L_2B029EE9: 6989 MEM32(esi + 0x8) = edx; /* 0x2B029EE9: mov dword ptr [esi + 8], edx */ 6990 MEM32(edx) = ecx; /* 0x2B029EEC: mov dword ptr [edx], ecx */ 6991 goto L_2B029F8F; /* 0x2B029EEE: jmp 0x2b029f8f */ 6992 L_2B029F8F: 6993 MEM32(ecx + 0x4) = edx; /* 0x2B029F8F: mov dword ptr [ecx + 4], edx */ 6994 esi = MEM32(ebp + (-0x4)); /* 0x2B029F92: mov esi, dword ptr [ebp - 4] */ 6995 MEM8(eax + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F95: mov byte ptr [eax + 0x34], bl */ 6996 ecx = esi + 0xC; /* 0x2B029F98: lea ecx, [esi + 0xc] */ 6997 RECOMP_ICALL(0x2B028990u); /* 0x2B029F9B: call 0x2b028990 */ /* not lifted */ 6998 RECOMP_FLAGS_IN(); 6999 PUSH32(esp, esi); /* 0x2B029FA0: push esi */ 7000 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B029FA1: call 0x2b0ab1ba */ /* not lifted */ 7001 RECOMP_FLAGS_IN(); 7002 eax = MEM32(edi + 0x10); /* 0x2B029FA6: mov eax, dword ptr [edi + 0x10] */ 7003 edx = MEM32(ebp + 0xC); /* 0x2B029FA9: mov edx, dword ptr [ebp + 0xc] */ 7004 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7005 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7006 esp = esp + 4; /* 0x2B029FAC: add esp, 4 */ 7007 _flag_k = FK_ADD; 7008 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7009 eax = eax - 1; /* 0x2B029FAF: dec eax */ 7010 _flag_k = FK_DEC; 7011 MEM32(edi + 0x10) = eax; /* 0x2B029FB0: mov dword ptr [edi + 0x10], eax */ 7012 eax = MEM32(ebp + 0x8); /* 0x2B029FB3: mov eax, dword ptr [ebp + 8] */ 7013 edi = POP32_VAL(esp); /* 0x2B029FB6: pop edi */ 7014 esi = POP32_VAL(esp); /* 0x2B029FB7: pop esi */ 7015 MEM32(eax) = edx; /* 0x2B029FB8: mov dword ptr [eax], edx */ 7016 ebx = POP32_VAL(esp); /* 0x2B029FBA: pop ebx */ 7017 esp = ebp; /* 0x2B029FBB: mov esp, ebp */ 7018 ebp = POP32_VAL(esp); /* 0x2B029FBD: pop ebp */ 7019 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B029FBE: ret 8 */ 7020 RECOMP_REGS_OUT(); 7021 } 7022 7023 void sub_2B029E8B(void) { 7024 int _fpu_cmp = 0; 7025 uint32_t _cf = 0; 7026 int _df = 1; 7027 uint32_t _flag_k = FK_NONE; 7028 uint32_t _flag_a = 0, _flag_b = 0; 7029 uint32_t _itail_tgt = 0; 7030 RECOMP_REGS_LOCALS 7031 RECOMP_ENTER(0x2B029E8Bu); 7032 7033 L_2B029E8B: 7034 MEM32(edx + 0x8) = ecx; /* 0x2B029E8B: mov dword ptr [edx + 8], ecx */ 7035 MEM32(ecx + 0x4) = edx; /* 0x2B029E8E: mov dword ptr [ecx + 4], edx */ 7036 ecx = MEM32(eax + 0x4); /* 0x2B029E91: mov ecx, dword ptr [eax + 4] */ 7037 ecx = MEM32(ecx + 0x8); /* 0x2B029E94: mov ecx, dword ptr [ecx + 8] */ 7038 edx = MEM32(eax + 0x4); /* 0x2B029E97: mov edx, dword ptr [eax + 4] */ 7039 SET_LO8(edx, MEM8(edx + 0x34)); /* 0x2B029E9A: mov dl, byte ptr [edx + 0x34] */ 7040 MEM8(ecx + 0x34) = (uint8_t)(LO8(edx)); /* 0x2B029E9D: mov byte ptr [ecx + 0x34], dl */ 7041 edx = MEM32(eax + 0x4); /* 0x2B029EA0: mov edx, dword ptr [eax + 4] */ 7042 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029EA3: mov byte ptr [edx + 0x34], bl */ 7043 ecx = MEM32(ecx + 0x8); /* 0x2B029EA6: mov ecx, dword ptr [ecx + 8] */ 7044 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029EA9: mov byte ptr [ecx + 0x34], bl */ 7045 ecx = MEM32(eax + 0x4); /* 0x2B029EAC: mov ecx, dword ptr [eax + 4] */ 7046 edx = MEM32(ecx + 0x8); /* 0x2B029EAF: mov edx, dword ptr [ecx + 8] */ 7047 esi = MEM32(edx); /* 0x2B029EB2: mov esi, dword ptr [edx] */ 7048 MEM32(ecx + 0x8) = esi; /* 0x2B029EB4: mov dword ptr [ecx + 8], esi */ 7049 esi = MEM32(edx); /* 0x2B029EB7: mov esi, dword ptr [edx] */ 7050 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029EB9: cmp esi, dword ptr [edi + 8] */ 7051 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7052 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7053 _flag_k = FK_CMP; 7054 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029EC1; /* 0x2B029EBC: je 0x2b029ec1 */ 7055 L_2B029EBE: 7056 MEM32(esi + 0x4) = ecx; /* 0x2B029EBE: mov dword ptr [esi + 4], ecx */ 7057 L_2B029EC1: 7058 esi = MEM32(ecx + 0x4); /* 0x2B029EC1: mov esi, dword ptr [ecx + 4] */ 7059 MEM32(edx + 0x4) = esi; /* 0x2B029EC4: mov dword ptr [edx + 4], esi */ 7060 esi = MEM32(edi + 0x4); /* 0x2B029EC7: mov esi, dword ptr [edi + 4] */ 7061 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029ECA: cmp ecx, dword ptr [esi + 4] */ 7062 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7063 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7064 _flag_k = FK_CMP; 7065 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029ED9; /* 0x2B029ECD: jne 0x2b029ed9 */ 7066 L_2B029ECF: 7067 MEM32(esi + 0x4) = edx; /* 0x2B029ECF: mov dword ptr [esi + 4], edx */ 7068 MEM32(edx) = ecx; /* 0x2B029ED2: mov dword ptr [edx], ecx */ 7069 goto L_2B029F8F; /* 0x2B029ED4: jmp 0x2b029f8f */ 7070 L_2B029ED9: 7071 esi = MEM32(ecx + 0x4); /* 0x2B029ED9: mov esi, dword ptr [ecx + 4] */ 7072 /* cmp ecx, MEM32(esi) */ /* 0x2B029EDC: cmp ecx, dword ptr [esi] */ 7073 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 7074 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7075 _flag_k = FK_CMP; 7076 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029EE9; /* 0x2B029EDE: jne 0x2b029ee9 */ 7077 L_2B029EE0: 7078 MEM32(esi) = edx; /* 0x2B029EE0: mov dword ptr [esi], edx */ 7079 MEM32(edx) = ecx; /* 0x2B029EE2: mov dword ptr [edx], ecx */ 7080 goto L_2B029F8F; /* 0x2B029EE4: jmp 0x2b029f8f */ 7081 L_2B029EE9: 7082 MEM32(esi + 0x8) = edx; /* 0x2B029EE9: mov dword ptr [esi + 8], edx */ 7083 MEM32(edx) = ecx; /* 0x2B029EEC: mov dword ptr [edx], ecx */ 7084 goto L_2B029F8F; /* 0x2B029EEE: jmp 0x2b029f8f */ 7085 L_2B029F8F: 7086 MEM32(ecx + 0x4) = edx; /* 0x2B029F8F: mov dword ptr [ecx + 4], edx */ 7087 esi = MEM32(ebp + (-0x4)); /* 0x2B029F92: mov esi, dword ptr [ebp - 4] */ 7088 MEM8(eax + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F95: mov byte ptr [eax + 0x34], bl */ 7089 ecx = esi + 0xC; /* 0x2B029F98: lea ecx, [esi + 0xc] */ 7090 RECOMP_ICALL(0x2B028990u); /* 0x2B029F9B: call 0x2b028990 */ /* not lifted */ 7091 RECOMP_FLAGS_IN(); 7092 PUSH32(esp, esi); /* 0x2B029FA0: push esi */ 7093 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B029FA1: call 0x2b0ab1ba */ /* not lifted */ 7094 RECOMP_FLAGS_IN(); 7095 eax = MEM32(edi + 0x10); /* 0x2B029FA6: mov eax, dword ptr [edi + 0x10] */ 7096 edx = MEM32(ebp + 0xC); /* 0x2B029FA9: mov edx, dword ptr [ebp + 0xc] */ 7097 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7098 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7099 esp = esp + 4; /* 0x2B029FAC: add esp, 4 */ 7100 _flag_k = FK_ADD; 7101 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7102 eax = eax - 1; /* 0x2B029FAF: dec eax */ 7103 _flag_k = FK_DEC; 7104 MEM32(edi + 0x10) = eax; /* 0x2B029FB0: mov dword ptr [edi + 0x10], eax */ 7105 eax = MEM32(ebp + 0x8); /* 0x2B029FB3: mov eax, dword ptr [ebp + 8] */ 7106 edi = POP32_VAL(esp); /* 0x2B029FB6: pop edi */ 7107 esi = POP32_VAL(esp); /* 0x2B029FB7: pop esi */ 7108 MEM32(eax) = edx; /* 0x2B029FB8: mov dword ptr [eax], edx */ 7109 ebx = POP32_VAL(esp); /* 0x2B029FBA: pop ebx */ 7110 esp = ebp; /* 0x2B029FBB: mov esp, ebp */ 7111 ebp = POP32_VAL(esp); /* 0x2B029FBD: pop ebp */ 7112 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B029FBE: ret 8 */ 7113 RECOMP_REGS_OUT(); 7114 } 7115 7116 void sub_2B029F37(void) { 7117 int _fpu_cmp = 0; 7118 uint32_t _cf = 0; 7119 int _df = 1; 7120 uint32_t _flag_k = FK_NONE; 7121 uint32_t _flag_a = 0, _flag_b = 0; 7122 uint32_t _itail_tgt = 0; 7123 RECOMP_REGS_LOCALS 7124 RECOMP_ENTER(0x2B029F37u); 7125 7126 L_2B029F37: 7127 MEM32(edx) = ecx; /* 0x2B029F37: mov dword ptr [edx], ecx */ 7128 MEM32(ecx + 0x4) = edx; /* 0x2B029F39: mov dword ptr [ecx + 4], edx */ 7129 ecx = MEM32(eax + 0x4); /* 0x2B029F3C: mov ecx, dword ptr [eax + 4] */ 7130 ecx = MEM32(ecx); /* 0x2B029F3F: mov ecx, dword ptr [ecx] */ 7131 edx = MEM32(eax + 0x4); /* 0x2B029F41: mov edx, dword ptr [eax + 4] */ 7132 SET_LO8(edx, MEM8(edx + 0x34)); /* 0x2B029F44: mov dl, byte ptr [edx + 0x34] */ 7133 MEM8(ecx + 0x34) = (uint8_t)(LO8(edx)); /* 0x2B029F47: mov byte ptr [ecx + 0x34], dl */ 7134 edx = MEM32(eax + 0x4); /* 0x2B029F4A: mov edx, dword ptr [eax + 4] */ 7135 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F4D: mov byte ptr [edx + 0x34], bl */ 7136 ecx = MEM32(ecx); /* 0x2B029F50: mov ecx, dword ptr [ecx] */ 7137 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F52: mov byte ptr [ecx + 0x34], bl */ 7138 ecx = MEM32(eax + 0x4); /* 0x2B029F55: mov ecx, dword ptr [eax + 4] */ 7139 edx = MEM32(ecx); /* 0x2B029F58: mov edx, dword ptr [ecx] */ 7140 esi = MEM32(edx + 0x8); /* 0x2B029F5A: mov esi, dword ptr [edx + 8] */ 7141 MEM32(ecx) = esi; /* 0x2B029F5D: mov dword ptr [ecx], esi */ 7142 esi = MEM32(edx + 0x8); /* 0x2B029F5F: mov esi, dword ptr [edx + 8] */ 7143 /* cmp esi, MEM32(edi + 0x8) */ /* 0x2B029F62: cmp esi, dword ptr [edi + 8] */ 7144 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7145 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7146 _flag_k = FK_CMP; 7147 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B029F6A; /* 0x2B029F65: je 0x2b029f6a */ 7148 L_2B029F67: 7149 MEM32(esi + 0x4) = ecx; /* 0x2B029F67: mov dword ptr [esi + 4], ecx */ 7150 L_2B029F6A: 7151 esi = MEM32(ecx + 0x4); /* 0x2B029F6A: mov esi, dword ptr [ecx + 4] */ 7152 MEM32(edx + 0x4) = esi; /* 0x2B029F6D: mov dword ptr [edx + 4], esi */ 7153 esi = MEM32(edi + 0x4); /* 0x2B029F70: mov esi, dword ptr [edi + 4] */ 7154 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x2B029F73: cmp ecx, dword ptr [esi + 4] */ 7155 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 7156 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7157 _flag_k = FK_CMP; 7158 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F7D; /* 0x2B029F76: jne 0x2b029f7d */ 7159 L_2B029F78: 7160 MEM32(esi + 0x4) = edx; /* 0x2B029F78: mov dword ptr [esi + 4], edx */ 7161 goto L_2B029F8C; /* 0x2B029F7B: jmp 0x2b029f8c */ 7162 L_2B029F7D: 7163 esi = MEM32(ecx + 0x4); /* 0x2B029F7D: mov esi, dword ptr [ecx + 4] */ 7164 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x2B029F80: cmp ecx, dword ptr [esi + 8] */ 7165 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7166 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7167 _flag_k = FK_CMP; 7168 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029F8A; /* 0x2B029F83: jne 0x2b029f8a */ 7169 L_2B029F85: 7170 MEM32(esi + 0x8) = edx; /* 0x2B029F85: mov dword ptr [esi + 8], edx */ 7171 goto L_2B029F8C; /* 0x2B029F88: jmp 0x2b029f8c */ 7172 L_2B029F8A: 7173 MEM32(esi) = edx; /* 0x2B029F8A: mov dword ptr [esi], edx */ 7174 L_2B029F8C: 7175 MEM32(edx + 0x8) = ecx; /* 0x2B029F8C: mov dword ptr [edx + 8], ecx */ 7176 MEM32(ecx + 0x4) = edx; /* 0x2B029F8F: mov dword ptr [ecx + 4], edx */ 7177 esi = MEM32(ebp + (-0x4)); /* 0x2B029F92: mov esi, dword ptr [ebp - 4] */ 7178 MEM8(eax + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F95: mov byte ptr [eax + 0x34], bl */ 7179 ecx = esi + 0xC; /* 0x2B029F98: lea ecx, [esi + 0xc] */ 7180 RECOMP_ICALL(0x2B028990u); /* 0x2B029F9B: call 0x2b028990 */ /* not lifted */ 7181 RECOMP_FLAGS_IN(); 7182 PUSH32(esp, esi); /* 0x2B029FA0: push esi */ 7183 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B029FA1: call 0x2b0ab1ba */ /* not lifted */ 7184 RECOMP_FLAGS_IN(); 7185 eax = MEM32(edi + 0x10); /* 0x2B029FA6: mov eax, dword ptr [edi + 0x10] */ 7186 edx = MEM32(ebp + 0xC); /* 0x2B029FA9: mov edx, dword ptr [ebp + 0xc] */ 7187 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7188 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7189 esp = esp + 4; /* 0x2B029FAC: add esp, 4 */ 7190 _flag_k = FK_ADD; 7191 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7192 eax = eax - 1; /* 0x2B029FAF: dec eax */ 7193 _flag_k = FK_DEC; 7194 MEM32(edi + 0x10) = eax; /* 0x2B029FB0: mov dword ptr [edi + 0x10], eax */ 7195 eax = MEM32(ebp + 0x8); /* 0x2B029FB3: mov eax, dword ptr [ebp + 8] */ 7196 edi = POP32_VAL(esp); /* 0x2B029FB6: pop edi */ 7197 esi = POP32_VAL(esp); /* 0x2B029FB7: pop esi */ 7198 MEM32(eax) = edx; /* 0x2B029FB8: mov dword ptr [eax], edx */ 7199 ebx = POP32_VAL(esp); /* 0x2B029FBA: pop ebx */ 7200 esp = ebp; /* 0x2B029FBB: mov esp, ebp */ 7201 ebp = POP32_VAL(esp); /* 0x2B029FBD: pop ebp */ 7202 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B029FBE: ret 8 */ 7203 RECOMP_REGS_OUT(); 7204 } 7205 7206 void sub_2B029F8C(void) { 7207 int _fpu_cmp = 0; 7208 uint32_t _cf = 0; 7209 int _df = 1; 7210 uint32_t _flag_k = FK_NONE; 7211 uint32_t _flag_a = 0, _flag_b = 0; 7212 uint32_t _itail_tgt = 0; 7213 RECOMP_REGS_LOCALS 7214 RECOMP_ENTER(0x2B029F8Cu); 7215 7216 L_2B029F8C: 7217 MEM32(edx + 0x8) = ecx; /* 0x2B029F8C: mov dword ptr [edx + 8], ecx */ 7218 MEM32(ecx + 0x4) = edx; /* 0x2B029F8F: mov dword ptr [ecx + 4], edx */ 7219 esi = MEM32(ebp + (-0x4)); /* 0x2B029F92: mov esi, dword ptr [ebp - 4] */ 7220 MEM8(eax + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F95: mov byte ptr [eax + 0x34], bl */ 7221 ecx = esi + 0xC; /* 0x2B029F98: lea ecx, [esi + 0xc] */ 7222 RECOMP_ICALL(0x2B028990u); /* 0x2B029F9B: call 0x2b028990 */ /* not lifted */ 7223 RECOMP_FLAGS_IN(); 7224 PUSH32(esp, esi); /* 0x2B029FA0: push esi */ 7225 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B029FA1: call 0x2b0ab1ba */ /* not lifted */ 7226 RECOMP_FLAGS_IN(); 7227 eax = MEM32(edi + 0x10); /* 0x2B029FA6: mov eax, dword ptr [edi + 0x10] */ 7228 edx = MEM32(ebp + 0xC); /* 0x2B029FA9: mov edx, dword ptr [ebp + 0xc] */ 7229 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7230 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7231 esp = esp + 4; /* 0x2B029FAC: add esp, 4 */ 7232 _flag_k = FK_ADD; 7233 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7234 eax = eax - 1; /* 0x2B029FAF: dec eax */ 7235 _flag_k = FK_DEC; 7236 MEM32(edi + 0x10) = eax; /* 0x2B029FB0: mov dword ptr [edi + 0x10], eax */ 7237 eax = MEM32(ebp + 0x8); /* 0x2B029FB3: mov eax, dword ptr [ebp + 8] */ 7238 edi = POP32_VAL(esp); /* 0x2B029FB6: pop edi */ 7239 esi = POP32_VAL(esp); /* 0x2B029FB7: pop esi */ 7240 MEM32(eax) = edx; /* 0x2B029FB8: mov dword ptr [eax], edx */ 7241 ebx = POP32_VAL(esp); /* 0x2B029FBA: pop ebx */ 7242 esp = ebp; /* 0x2B029FBB: mov esp, ebp */ 7243 ebp = POP32_VAL(esp); /* 0x2B029FBD: pop ebp */ 7244 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B029FBE: ret 8 */ 7245 RECOMP_REGS_OUT(); 7246 } 7247 7248 void sub_2B029F8F(void) { 7249 int _fpu_cmp = 0; 7250 uint32_t _cf = 0; 7251 int _df = 1; 7252 uint32_t _flag_k = FK_NONE; 7253 uint32_t _flag_a = 0, _flag_b = 0; 7254 uint32_t _itail_tgt = 0; 7255 RECOMP_REGS_LOCALS 7256 RECOMP_ENTER(0x2B029F8Fu); 7257 7258 L_2B029F8F: 7259 MEM32(ecx + 0x4) = edx; /* 0x2B029F8F: mov dword ptr [ecx + 4], edx */ 7260 esi = MEM32(ebp + (-0x4)); /* 0x2B029F92: mov esi, dword ptr [ebp - 4] */ 7261 MEM8(eax + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F95: mov byte ptr [eax + 0x34], bl */ 7262 ecx = esi + 0xC; /* 0x2B029F98: lea ecx, [esi + 0xc] */ 7263 RECOMP_ICALL(0x2B028990u); /* 0x2B029F9B: call 0x2b028990 */ /* not lifted */ 7264 RECOMP_FLAGS_IN(); 7265 PUSH32(esp, esi); /* 0x2B029FA0: push esi */ 7266 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B029FA1: call 0x2b0ab1ba */ /* not lifted */ 7267 RECOMP_FLAGS_IN(); 7268 eax = MEM32(edi + 0x10); /* 0x2B029FA6: mov eax, dword ptr [edi + 0x10] */ 7269 edx = MEM32(ebp + 0xC); /* 0x2B029FA9: mov edx, dword ptr [ebp + 0xc] */ 7270 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7271 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7272 esp = esp + 4; /* 0x2B029FAC: add esp, 4 */ 7273 _flag_k = FK_ADD; 7274 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7275 eax = eax - 1; /* 0x2B029FAF: dec eax */ 7276 _flag_k = FK_DEC; 7277 MEM32(edi + 0x10) = eax; /* 0x2B029FB0: mov dword ptr [edi + 0x10], eax */ 7278 eax = MEM32(ebp + 0x8); /* 0x2B029FB3: mov eax, dword ptr [ebp + 8] */ 7279 edi = POP32_VAL(esp); /* 0x2B029FB6: pop edi */ 7280 esi = POP32_VAL(esp); /* 0x2B029FB7: pop esi */ 7281 MEM32(eax) = edx; /* 0x2B029FB8: mov dword ptr [eax], edx */ 7282 ebx = POP32_VAL(esp); /* 0x2B029FBA: pop ebx */ 7283 esp = ebp; /* 0x2B029FBB: mov esp, ebp */ 7284 ebp = POP32_VAL(esp); /* 0x2B029FBD: pop ebp */ 7285 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B029FBE: ret 8 */ 7286 RECOMP_REGS_OUT(); 7287 } 7288 7289 void sub_2B029F92(void) { 7290 int _fpu_cmp = 0; 7291 uint32_t _cf = 0; 7292 int _df = 1; 7293 uint32_t _flag_k = FK_NONE; 7294 uint32_t _flag_a = 0, _flag_b = 0; 7295 uint32_t _itail_tgt = 0; 7296 RECOMP_REGS_LOCALS 7297 RECOMP_ENTER(0x2B029F92u); 7298 7299 L_2B029F92: 7300 esi = MEM32(ebp + (-0x4)); /* 0x2B029F92: mov esi, dword ptr [ebp - 4] */ 7301 MEM8(eax + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B029F95: mov byte ptr [eax + 0x34], bl */ 7302 ecx = esi + 0xC; /* 0x2B029F98: lea ecx, [esi + 0xc] */ 7303 RECOMP_ICALL(0x2B028990u); /* 0x2B029F9B: call 0x2b028990 */ /* not lifted */ 7304 RECOMP_FLAGS_IN(); 7305 PUSH32(esp, esi); /* 0x2B029FA0: push esi */ 7306 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B029FA1: call 0x2b0ab1ba */ /* not lifted */ 7307 RECOMP_FLAGS_IN(); 7308 eax = MEM32(edi + 0x10); /* 0x2B029FA6: mov eax, dword ptr [edi + 0x10] */ 7309 edx = MEM32(ebp + 0xC); /* 0x2B029FA9: mov edx, dword ptr [ebp + 0xc] */ 7310 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7311 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7312 esp = esp + 4; /* 0x2B029FAC: add esp, 4 */ 7313 _flag_k = FK_ADD; 7314 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 7315 eax = eax - 1; /* 0x2B029FAF: dec eax */ 7316 _flag_k = FK_DEC; 7317 MEM32(edi + 0x10) = eax; /* 0x2B029FB0: mov dword ptr [edi + 0x10], eax */ 7318 eax = MEM32(ebp + 0x8); /* 0x2B029FB3: mov eax, dword ptr [ebp + 8] */ 7319 edi = POP32_VAL(esp); /* 0x2B029FB6: pop edi */ 7320 esi = POP32_VAL(esp); /* 0x2B029FB7: pop esi */ 7321 MEM32(eax) = edx; /* 0x2B029FB8: mov dword ptr [eax], edx */ 7322 ebx = POP32_VAL(esp); /* 0x2B029FBA: pop ebx */ 7323 esp = ebp; /* 0x2B029FBB: mov esp, ebp */ 7324 ebp = POP32_VAL(esp); /* 0x2B029FBD: pop ebp */ 7325 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B029FBE: ret 8 */ 7326 RECOMP_REGS_OUT(); 7327 } 7328 7329 void sub_2B029FD0(void) { 7330 int _fpu_cmp = 0; 7331 uint32_t _cf = 0; 7332 int _df = 1; 7333 uint32_t _flag_k = FK_NONE; 7334 uint32_t _flag_a = 0, _flag_b = 0; 7335 uint32_t _itail_tgt = 0; 7336 RECOMP_REGS_LOCALS 7337 RECOMP_ENTER(0x2B029FD0u); 7338 7339 L_2B029FD0: 7340 PUSH32(esp, ebp); /* 0x2B029FD0: push ebp */ 7341 ebp = esp; /* 0x2B029FD1: mov ebp, esp */ 7342 PUSH32(esp, ebx); /* 0x2B029FD3: push ebx */ 7343 PUSH32(esp, esi); /* 0x2B029FD4: push esi */ 7344 ebx = ecx; /* 0x2B029FD5: mov ebx, ecx */ 7345 eax = MEM32(ebx + 0x8); /* 0x2B029FD7: mov eax, dword ptr [ebx + 8] */ 7346 PUSH32(esp, edi); /* 0x2B029FDA: push edi */ 7347 edi = MEM32(ebp + 0x8); /* 0x2B029FDB: mov edi, dword ptr [ebp + 8] */ 7348 /* cmp edi, eax */ /* 0x2B029FDE: cmp edi, eax */ 7349 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 7350 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7351 _flag_k = FK_CMP; 7352 esi = edi; /* 0x2B029FE0: mov esi, edi */ 7353 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A00B; /* 0x2B029FE2: je 0x2b02a00b */ 7354 L_2B029FE4: 7355 eax = MEM32(esi + 0x8); /* 0x2B029FE4: mov eax, dword ptr [esi + 8] */ 7356 PUSH32(esp, eax); /* 0x2B029FE7: push eax */ 7357 ecx = ebx; /* 0x2B029FE8: mov ecx, ebx */ 7358 RECOMP_ICALL(0x2B029FD0u); /* 0x2B029FEA: call 0x2b029fd0 */ /* not lifted */ 7359 RECOMP_FLAGS_IN(); 7360 esi = MEM32(esi); /* 0x2B029FEF: mov esi, dword ptr [esi] */ 7361 ecx = edi + 0xC; /* 0x2B029FF1: lea ecx, [edi + 0xc] */ 7362 RECOMP_ICALL(0x2B028990u); /* 0x2B029FF4: call 0x2b028990 */ /* not lifted */ 7363 RECOMP_FLAGS_IN(); 7364 PUSH32(esp, edi); /* 0x2B029FF9: push edi */ 7365 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B029FFA: call 0x2b0ab1ba */ /* not lifted */ 7366 RECOMP_FLAGS_IN(); 7367 eax = MEM32(ebx + 0x8); /* 0x2B029FFF: mov eax, dword ptr [ebx + 8] */ 7368 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 7369 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7370 esp = esp + 4; /* 0x2B02A002: add esp, 4 */ 7371 _flag_k = FK_ADD; 7372 /* cmp esi, eax */ /* 0x2B02A005: cmp esi, eax */ 7373 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 7374 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7375 _flag_k = FK_CMP; 7376 edi = esi; /* 0x2B02A007: mov edi, esi */ 7377 RECOMP_BACKEDGE(); 7378 if (CMP_NE(_flag_a, _flag_b)) goto L_2B029FE4; /* 0x2B02A009: jne 0x2b029fe4 */ 7379 L_2B02A00B: 7380 edi = POP32_VAL(esp); /* 0x2B02A00B: pop edi */ 7381 esi = POP32_VAL(esp); /* 0x2B02A00C: pop esi */ 7382 ebx = POP32_VAL(esp); /* 0x2B02A00D: pop ebx */ 7383 ebp = POP32_VAL(esp); /* 0x2B02A00E: pop ebp */ 7384 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B02A00F: ret 4 */ 7385 RECOMP_REGS_OUT(); 7386 } 7387 7388 void sub_2B02A020(void) { 7389 int _fpu_cmp = 0; 7390 uint32_t _cf = 0; 7391 int _df = 1; 7392 uint32_t _flag_k = FK_NONE; 7393 uint32_t _flag_a = 0, _flag_b = 0; 7394 uint32_t _itail_tgt = 0; 7395 RECOMP_REGS_LOCALS 7396 RECOMP_ENTER(0x2B02A020u); 7397 7398 L_2B02A020: 7399 PUSH32(esp, ebp); /* 0x2B02A020: push ebp */ 7400 ebp = esp; /* 0x2B02A021: mov ebp, esp */ 7401 eax = ecx; /* 0x2B02A023: mov eax, ecx */ 7402 ecx = MEM32(ebp + 0x8); /* 0x2B02A025: mov ecx, dword ptr [ebp + 8] */ 7403 edx = MEM32(ecx); /* 0x2B02A028: mov edx, dword ptr [ecx] */ 7404 ecx = MEM32(ebp + 0xC); /* 0x2B02A02A: mov ecx, dword ptr [ebp + 0xc] */ 7405 MEM32(eax) = edx; /* 0x2B02A02D: mov dword ptr [eax], edx */ 7406 SET_LO8(edx, MEM8(ecx)); /* 0x2B02A02F: mov dl, byte ptr [ecx] */ 7407 MEM8(eax + 0x4) = (uint8_t)(LO8(edx)); /* 0x2B02A031: mov byte ptr [eax + 4], dl */ 7408 ebp = POP32_VAL(esp); /* 0x2B02A034: pop ebp */ 7409 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B02A035: ret 8 */ 7410 RECOMP_REGS_OUT(); 7411 } 7412 7413 void sub_2B02A040(void) { 7414 int _fpu_cmp = 0; 7415 uint32_t _cf = 0; 7416 int _df = 1; 7417 uint32_t _flag_k = FK_NONE; 7418 uint32_t _flag_a = 0, _flag_b = 0; 7419 uint32_t _itail_tgt = 0; 7420 RECOMP_REGS_LOCALS 7421 RECOMP_ENTER(0x2B02A040u); 7422 7423 L_2B02A040: 7424 PUSH32(esp, ebp); /* 0x2B02A040: push ebp */ 7425 ebp = esp; /* 0x2B02A041: mov ebp, esp */ 7426 eax = MEM32(ebp + 0xC); /* 0x2B02A043: mov eax, dword ptr [ebp + 0xc] */ 7427 /* test eax, eax */ /* 0x2B02A046: test eax, eax */ 7428 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7429 _cf = 0; 7430 _flag_k = FK_TEST; 7431 if (TEST_Z(_flag_a, _flag_b)) goto L_2B02A076; /* 0x2B02A048: jbe 0x2b02a076 */ 7432 L_2B02A04A: 7433 edx = MEM32(ebp + 0x10); /* 0x2B02A04A: mov edx, dword ptr [ebp + 0x10] */ 7434 PUSH32(esp, ebx); /* 0x2B02A04D: push ebx */ 7435 PUSH32(esp, esi); /* 0x2B02A04E: push esi */ 7436 ecx = eax; /* 0x2B02A04F: mov ecx, eax */ 7437 eax = MEM32(ebp + 0x8); /* 0x2B02A051: mov eax, dword ptr [ebp + 8] */ 7438 PUSH32(esp, edi); /* 0x2B02A054: push edi */ 7439 L_2B02A055: 7440 /* test eax, eax */ /* 0x2B02A055: test eax, eax */ 7441 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 7442 _cf = 0; 7443 _flag_k = FK_TEST; 7444 if (TEST_Z(_flag_a, _flag_b)) goto L_2B02A06D; /* 0x2B02A057: je 0x2b02a06d */ 7445 L_2B02A059: 7446 esi = edx; /* 0x2B02A059: mov esi, edx */ 7447 ebx = MEM32(esi); /* 0x2B02A05B: mov ebx, dword ptr [esi] */ 7448 edi = eax; /* 0x2B02A05D: mov edi, eax */ 7449 MEM32(edi) = ebx; /* 0x2B02A05F: mov dword ptr [edi], ebx */ 7450 ebx = MEM32(esi + 0x4); /* 0x2B02A061: mov ebx, dword ptr [esi + 4] */ 7451 MEM32(edi + 0x4) = ebx; /* 0x2B02A064: mov dword ptr [edi + 4], ebx */ 7452 esi = MEM32(esi + 0x8); /* 0x2B02A067: mov esi, dword ptr [esi + 8] */ 7453 MEM32(edi + 0x8) = esi; /* 0x2B02A06A: mov dword ptr [edi + 8], esi */ 7454 L_2B02A06D: 7455 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu); 7456 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7457 eax = eax + 0xCu; /* 0x2B02A06D: add eax, 0xc */ 7458 _flag_k = FK_ADD; 7459 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7460 ecx = ecx - 1; /* 0x2B02A070: dec ecx */ 7461 _flag_k = FK_DEC; 7462 RECOMP_BACKEDGE(); 7463 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B02A055; /* 0x2B02A071: jne 0x2b02a055 */ 7464 L_2B02A073: 7465 edi = POP32_VAL(esp); /* 0x2B02A073: pop edi */ 7466 esi = POP32_VAL(esp); /* 0x2B02A074: pop esi */ 7467 ebx = POP32_VAL(esp); /* 0x2B02A075: pop ebx */ 7468 L_2B02A076: 7469 ebp = POP32_VAL(esp); /* 0x2B02A076: pop ebp */ 7470 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B02A077: ret 0xc */ 7471 RECOMP_REGS_OUT(); 7472 } 7473 7474 void sub_2B02A080(void) { 7475 int _fpu_cmp = 0; 7476 uint32_t _cf = 0; 7477 int _df = 1; 7478 uint32_t _flag_k = FK_NONE; 7479 uint32_t _flag_a = 0, _flag_b = 0; 7480 uint32_t _itail_tgt = 0; 7481 RECOMP_REGS_LOCALS 7482 RECOMP_ENTER(0x2B02A080u); 7483 7484 L_2B02A080: 7485 PUSH32(esp, ebp); /* 0x2B02A080: push ebp */ 7486 ebp = esp; /* 0x2B02A081: mov ebp, esp */ 7487 PUSH32(esp, ecx); /* 0x2B02A083: push ecx */ 7488 PUSH32(esp, ebx); /* 0x2B02A084: push ebx */ 7489 PUSH32(esp, esi); /* 0x2B02A085: push esi */ 7490 PUSH32(esp, edi); /* 0x2B02A086: push edi */ 7491 PUSH32(esp, 0x40u); /* 0x2B02A087: push 0x40 */ 7492 esi = ecx; /* 0x2B02A089: mov esi, ecx */ 7493 RECOMP_ICALL(0x2B0AB212u); /* 0x2B02A08B: call 0x2b0ab212 */ /* not lifted */ 7494 RECOMP_FLAGS_IN(); 7495 edi = MEM32(ebp + 0x10); /* 0x2B02A090: mov edi, dword ptr [ebp + 0x10] */ 7496 ebx = MEM32(ebp + 0x14); /* 0x2B02A093: mov ebx, dword ptr [ebp + 0x14] */ 7497 MEM32(eax + 0x4) = edi; /* 0x2B02A096: mov dword ptr [eax + 4], edi */ 7498 MEM8(eax + 0x3C) = (uint8_t)(0); /* 0x2B02A099: mov byte ptr [eax + 0x3c], 0 */ 7499 MEM8(eax + 0x3D) = (uint8_t)(0); /* 0x2B02A09D: mov byte ptr [eax + 0x3d], 0 */ 7500 ecx = MEM32(esi + 0x8); /* 0x2B02A0A1: mov ecx, dword ptr [esi + 8] */ 7501 MEM32(eax) = ecx; /* 0x2B02A0A4: mov dword ptr [eax], ecx */ 7502 edx = MEM32(esi + 0x8); /* 0x2B02A0A6: mov edx, dword ptr [esi + 8] */ 7503 MEM32(ebp + (-0x4)) = eax; /* 0x2B02A0A9: mov dword ptr [ebp - 4], eax */ 7504 MEM32(eax + 0x8) = edx; /* 0x2B02A0AC: mov dword ptr [eax + 8], edx */ 7505 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu); 7506 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7507 eax = eax + 0xCu; /* 0x2B02A0AF: add eax, 0xc */ 7508 _flag_k = FK_ADD; 7509 PUSH32(esp, ebx); /* 0x2B02A0B2: push ebx */ 7510 PUSH32(esp, eax); /* 0x2B02A0B3: push eax */ 7511 RECOMP_ICALL(0x2B02A870u); /* 0x2B02A0B4: call 0x2b02a870 */ /* not lifted */ 7512 RECOMP_FLAGS_IN(); 7513 ecx = MEM32(esi + 0x10); /* 0x2B02A0B9: mov ecx, dword ptr [esi + 0x10] */ 7514 eax = MEM32(esi + 0x4); /* 0x2B02A0BC: mov eax, dword ptr [esi + 4] */ 7515 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 7516 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 7517 esp = esp + 0xCu; /* 0x2B02A0BF: add esp, 0xc */ 7518 _flag_k = FK_ADD; 7519 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 7520 ecx = ecx + 1; /* 0x2B02A0C2: inc ecx */ 7521 _flag_k = FK_INC; 7522 /* cmp edi, eax */ /* 0x2B02A0C3: cmp edi, eax */ 7523 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 7524 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7525 _flag_k = FK_CMP; 7526 MEM32(esi + 0x10) = ecx; /* 0x2B02A0C5: mov dword ptr [esi + 0x10], ecx */ 7527 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A0F4; /* 0x2B02A0C8: je 0x2b02a0f4 */ 7528 L_2B02A0CA: 7529 eax = MEM32(ebp + 0xC); /* 0x2B02A0CA: mov eax, dword ptr [ebp + 0xc] */ 7530 /* cmp eax, MEM32(esi + 0x8) */ /* 0x2B02A0CD: cmp eax, dword ptr [esi + 8] */ 7531 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7532 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7533 _flag_k = FK_CMP; 7534 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A0F4; /* 0x2B02A0D0: jne 0x2b02a0f4 */ 7535 L_2B02A0D2: 7536 ecx = edi + 0xC; /* 0x2B02A0D2: lea ecx, [edi + 0xc] */ 7537 PUSH32(esp, ecx); /* 0x2B02A0D5: push ecx */ 7538 ecx = ebx; /* 0x2B02A0D6: mov ecx, ebx */ 7539 RECOMP_ICALL(0x2B02AB60u); /* 0x2B02A0D8: call 0x2b02ab60 */ /* not lifted */ 7540 RECOMP_FLAGS_IN(); 7541 /* test LO8(eax), LO8(eax) */ /* 0x2B02A0DD: test al, al */ 7542 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 7543 _cf = 0; 7544 _flag_k = FK_NARROW(FK_TEST, 24); 7545 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02A0F4; /* 0x2B02A0DF: jne 0x2b02a0f4 */ 7546 L_2B02A0E1: 7547 ecx = MEM32(ebp + (-0x4)); /* 0x2B02A0E1: mov ecx, dword ptr [ebp - 4] */ 7548 MEM32(edi + 0x8) = ecx; /* 0x2B02A0E4: mov dword ptr [edi + 8], ecx */ 7549 eax = MEM32(esi + 0x4); /* 0x2B02A0E7: mov eax, dword ptr [esi + 4] */ 7550 /* cmp edi, MEM32(eax + 0x8) */ /* 0x2B02A0EA: cmp edi, dword ptr [eax + 8] */ 7551 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 7552 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7553 _flag_k = FK_CMP; 7554 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A114; /* 0x2B02A0ED: jne 0x2b02a114 */ 7555 L_2B02A0EF: 7556 MEM32(eax + 0x8) = ecx; /* 0x2B02A0EF: mov dword ptr [eax + 8], ecx */ 7557 goto L_2B02A114; /* 0x2B02A0F2: jmp 0x2b02a114 */ 7558 L_2B02A0F4: 7559 ecx = MEM32(ebp + (-0x4)); /* 0x2B02A0F4: mov ecx, dword ptr [ebp - 4] */ 7560 MEM32(edi) = ecx; /* 0x2B02A0F7: mov dword ptr [edi], ecx */ 7561 eax = MEM32(esi + 0x4); /* 0x2B02A0F9: mov eax, dword ptr [esi + 4] */ 7562 /* cmp edi, eax */ /* 0x2B02A0FC: cmp edi, eax */ 7563 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 7564 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7565 _flag_k = FK_CMP; 7566 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A10B; /* 0x2B02A0FE: jne 0x2b02a10b */ 7567 L_2B02A100: 7568 MEM32(eax + 0x4) = ecx; /* 0x2B02A100: mov dword ptr [eax + 4], ecx */ 7569 edx = MEM32(esi + 0x4); /* 0x2B02A103: mov edx, dword ptr [esi + 4] */ 7570 MEM32(edx + 0x8) = ecx; /* 0x2B02A106: mov dword ptr [edx + 8], ecx */ 7571 goto L_2B02A114; /* 0x2B02A109: jmp 0x2b02a114 */ 7572 L_2B02A10B: 7573 /* cmp edi, MEM32(eax) */ /* 0x2B02A10B: cmp edi, dword ptr [eax] */ 7574 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax)); 7575 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7576 _flag_k = FK_CMP; 7577 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A114; /* 0x2B02A10D: jne 0x2b02a114 */ 7578 L_2B02A10F: 7579 ecx = MEM32(ebp + (-0x4)); /* 0x2B02A10F: mov ecx, dword ptr [ebp - 4] */ 7580 MEM32(eax) = ecx; /* 0x2B02A112: mov dword ptr [eax], ecx */ 7581 L_2B02A114: 7582 edx = MEM32(esi + 0x4); /* 0x2B02A114: mov edx, dword ptr [esi + 4] */ 7583 eax = MEM32(ebp + (-0x4)); /* 0x2B02A117: mov eax, dword ptr [ebp - 4] */ 7584 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A11A: cmp eax, dword ptr [edx + 4] */ 7585 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 7586 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7587 _flag_k = FK_CMP; 7588 SET_LO8(ebx, 1); /* 0x2B02A11D: mov bl, 1 */ 7589 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A2A5; /* 0x2B02A11F: je 0x2b02a2a5 */ 7590 L_2B02A125: 7591 ecx = MEM32(eax + 0x4); /* 0x2B02A125: mov ecx, dword ptr [eax + 4] */ 7592 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B02A128: mov dl, byte ptr [ecx + 0x3c] */ 7593 /* test LO8(edx), LO8(edx) */ /* 0x2B02A12B: test dl, dl */ 7594 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 7595 _cf = 0; 7596 _flag_k = FK_NARROW(FK_TEST, 24); 7597 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02A2A5; /* 0x2B02A12D: jne 0x2b02a2a5 */ 7598 L_2B02A133: 7599 edi = MEM32(ecx + 0x4); /* 0x2B02A133: mov edi, dword ptr [ecx + 4] */ 7600 edx = MEM32(edi); /* 0x2B02A136: mov edx, dword ptr [edi] */ 7601 /* cmp ecx, edx */ /* 0x2B02A138: cmp ecx, edx */ 7602 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 7603 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7604 _flag_k = FK_CMP; 7605 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A201; /* 0x2B02A13A: jne 0x2b02a201 */ 7606 L_2B02A140: 7607 edx = MEM32(edi + 0x8); /* 0x2B02A140: mov edx, dword ptr [edi + 8] */ 7608 /* cmp MEM8(edx + 0x3C), 0 */ /* 0x2B02A143: cmp byte ptr [edx + 0x3c], 0 */ 7609 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(0) << 24; 7610 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7611 _flag_k = FK_NARROW(FK_CMP, 24); 7612 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A164; /* 0x2B02A147: jne 0x2b02a164 */ 7613 L_2B02A149: 7614 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A149: mov byte ptr [ecx + 0x3c], bl */ 7615 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A14C: mov byte ptr [edx + 0x3c], bl */ 7616 ecx = MEM32(eax + 0x4); /* 0x2B02A14F: mov ecx, dword ptr [eax + 4] */ 7617 edx = MEM32(ecx + 0x4); /* 0x2B02A152: mov edx, dword ptr [ecx + 4] */ 7618 MEM8(edx + 0x3C) = (uint8_t)(0); /* 0x2B02A155: mov byte ptr [edx + 0x3c], 0 */ 7619 eax = MEM32(eax + 0x4); /* 0x2B02A159: mov eax, dword ptr [eax + 4] */ 7620 eax = MEM32(eax + 0x4); /* 0x2B02A15C: mov eax, dword ptr [eax + 4] */ 7621 goto L_2B02A299; /* 0x2B02A15F: jmp 0x2b02a299 */ 7622 L_2B02A164: 7623 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B02A164: cmp eax, dword ptr [ecx + 8] */ 7624 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 7625 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7626 _flag_k = FK_CMP; 7627 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A1A3; /* 0x2B02A167: jne 0x2b02a1a3 */ 7628 L_2B02A169: 7629 eax = ecx; /* 0x2B02A169: mov eax, ecx */ 7630 ecx = MEM32(eax + 0x8); /* 0x2B02A16B: mov ecx, dword ptr [eax + 8] */ 7631 edx = MEM32(ecx); /* 0x2B02A16E: mov edx, dword ptr [ecx] */ 7632 MEM32(eax + 0x8) = edx; /* 0x2B02A170: mov dword ptr [eax + 8], edx */ 7633 edx = MEM32(ecx); /* 0x2B02A173: mov edx, dword ptr [ecx] */ 7634 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A175: cmp edx, dword ptr [esi + 8] */ 7635 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7636 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7637 _flag_k = FK_CMP; 7638 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A17D; /* 0x2B02A178: je 0x2b02a17d */ 7639 L_2B02A17A: 7640 MEM32(edx + 0x4) = eax; /* 0x2B02A17A: mov dword ptr [edx + 4], eax */ 7641 L_2B02A17D: 7642 edx = MEM32(eax + 0x4); /* 0x2B02A17D: mov edx, dword ptr [eax + 4] */ 7643 MEM32(ecx + 0x4) = edx; /* 0x2B02A180: mov dword ptr [ecx + 4], edx */ 7644 edx = MEM32(esi + 0x4); /* 0x2B02A183: mov edx, dword ptr [esi + 4] */ 7645 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A186: cmp eax, dword ptr [edx + 4] */ 7646 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 7647 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7648 _flag_k = FK_CMP; 7649 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A190; /* 0x2B02A189: jne 0x2b02a190 */ 7650 L_2B02A18B: 7651 MEM32(edx + 0x4) = ecx; /* 0x2B02A18B: mov dword ptr [edx + 4], ecx */ 7652 goto L_2B02A19E; /* 0x2B02A18E: jmp 0x2b02a19e */ 7653 L_2B02A190: 7654 edx = MEM32(eax + 0x4); /* 0x2B02A190: mov edx, dword ptr [eax + 4] */ 7655 /* cmp eax, MEM32(edx) */ /* 0x2B02A193: cmp eax, dword ptr [edx] */ 7656 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 7657 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7658 _flag_k = FK_CMP; 7659 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A19B; /* 0x2B02A195: jne 0x2b02a19b */ 7660 L_2B02A197: 7661 MEM32(edx) = ecx; /* 0x2B02A197: mov dword ptr [edx], ecx */ 7662 goto L_2B02A19E; /* 0x2B02A199: jmp 0x2b02a19e */ 7663 L_2B02A19B: 7664 MEM32(edx + 0x8) = ecx; /* 0x2B02A19B: mov dword ptr [edx + 8], ecx */ 7665 L_2B02A19E: 7666 MEM32(ecx) = eax; /* 0x2B02A19E: mov dword ptr [ecx], eax */ 7667 MEM32(eax + 0x4) = ecx; /* 0x2B02A1A0: mov dword ptr [eax + 4], ecx */ 7668 L_2B02A1A3: 7669 ecx = MEM32(eax + 0x4); /* 0x2B02A1A3: mov ecx, dword ptr [eax + 4] */ 7670 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A1A6: mov byte ptr [ecx + 0x3c], bl */ 7671 edx = MEM32(eax + 0x4); /* 0x2B02A1A9: mov edx, dword ptr [eax + 4] */ 7672 ecx = MEM32(edx + 0x4); /* 0x2B02A1AC: mov ecx, dword ptr [edx + 4] */ 7673 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B02A1AF: mov byte ptr [ecx + 0x3c], 0 */ 7674 edx = MEM32(eax + 0x4); /* 0x2B02A1B3: mov edx, dword ptr [eax + 4] */ 7675 ecx = MEM32(edx + 0x4); /* 0x2B02A1B6: mov ecx, dword ptr [edx + 4] */ 7676 edx = MEM32(ecx); /* 0x2B02A1B9: mov edx, dword ptr [ecx] */ 7677 edi = MEM32(edx + 0x8); /* 0x2B02A1BB: mov edi, dword ptr [edx + 8] */ 7678 MEM32(ecx) = edi; /* 0x2B02A1BE: mov dword ptr [ecx], edi */ 7679 edi = MEM32(edx + 0x8); /* 0x2B02A1C0: mov edi, dword ptr [edx + 8] */ 7680 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A1C3: cmp edi, dword ptr [esi + 8] */ 7681 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7682 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7683 _flag_k = FK_CMP; 7684 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A1CB; /* 0x2B02A1C6: je 0x2b02a1cb */ 7685 L_2B02A1C8: 7686 MEM32(edi + 0x4) = ecx; /* 0x2B02A1C8: mov dword ptr [edi + 4], ecx */ 7687 L_2B02A1CB: 7688 edi = MEM32(ecx + 0x4); /* 0x2B02A1CB: mov edi, dword ptr [ecx + 4] */ 7689 MEM32(edx + 0x4) = edi; /* 0x2B02A1CE: mov dword ptr [edx + 4], edi */ 7690 edi = MEM32(esi + 0x4); /* 0x2B02A1D1: mov edi, dword ptr [esi + 4] */ 7691 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A1D4: cmp ecx, dword ptr [edi + 4] */ 7692 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 7693 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7694 _flag_k = FK_CMP; 7695 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A1E4; /* 0x2B02A1D7: jne 0x2b02a1e4 */ 7696 L_2B02A1D9: 7697 MEM32(edi + 0x4) = edx; /* 0x2B02A1D9: mov dword ptr [edi + 4], edx */ 7698 MEM32(edx + 0x8) = ecx; /* 0x2B02A1DC: mov dword ptr [edx + 8], ecx */ 7699 goto L_2B02A296; /* 0x2B02A1DF: jmp 0x2b02a296 */ 7700 L_2B02A1E4: 7701 edi = MEM32(ecx + 0x4); /* 0x2B02A1E4: mov edi, dword ptr [ecx + 4] */ 7702 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B02A1E7: cmp ecx, dword ptr [edi + 8] */ 7703 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7704 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7705 _flag_k = FK_CMP; 7706 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A1F7; /* 0x2B02A1EA: jne 0x2b02a1f7 */ 7707 L_2B02A1EC: 7708 MEM32(edi + 0x8) = edx; /* 0x2B02A1EC: mov dword ptr [edi + 8], edx */ 7709 MEM32(edx + 0x8) = ecx; /* 0x2B02A1EF: mov dword ptr [edx + 8], ecx */ 7710 goto L_2B02A296; /* 0x2B02A1F2: jmp 0x2b02a296 */ 7711 L_2B02A1F7: 7712 MEM32(edi) = edx; /* 0x2B02A1F7: mov dword ptr [edi], edx */ 7713 MEM32(edx + 0x8) = ecx; /* 0x2B02A1F9: mov dword ptr [edx + 8], ecx */ 7714 goto L_2B02A296; /* 0x2B02A1FC: jmp 0x2b02a296 */ 7715 L_2B02A201: 7716 /* cmp MEM8(edx + 0x3C), 0 */ /* 0x2B02A201: cmp byte ptr [edx + 0x3c], 0 */ 7717 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(0) << 24; 7718 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7719 _flag_k = FK_NARROW(FK_CMP, 24); 7720 RECOMP_BACKEDGE(); 7721 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A149; /* 0x2B02A205: je 0x2b02a149 */ 7722 L_2B02A20B: 7723 /* cmp eax, MEM32(ecx) */ /* 0x2B02A20B: cmp eax, dword ptr [ecx] */ 7724 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 7725 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7726 _flag_k = FK_CMP; 7727 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A24B; /* 0x2B02A20D: jne 0x2b02a24b */ 7728 L_2B02A20F: 7729 eax = ecx; /* 0x2B02A20F: mov eax, ecx */ 7730 ecx = MEM32(eax); /* 0x2B02A211: mov ecx, dword ptr [eax] */ 7731 edx = MEM32(ecx + 0x8); /* 0x2B02A213: mov edx, dword ptr [ecx + 8] */ 7732 MEM32(eax) = edx; /* 0x2B02A216: mov dword ptr [eax], edx */ 7733 edx = MEM32(ecx + 0x8); /* 0x2B02A218: mov edx, dword ptr [ecx + 8] */ 7734 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A21B: cmp edx, dword ptr [esi + 8] */ 7735 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7736 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7737 _flag_k = FK_CMP; 7738 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A223; /* 0x2B02A21E: je 0x2b02a223 */ 7739 L_2B02A220: 7740 MEM32(edx + 0x4) = eax; /* 0x2B02A220: mov dword ptr [edx + 4], eax */ 7741 L_2B02A223: 7742 edx = MEM32(eax + 0x4); /* 0x2B02A223: mov edx, dword ptr [eax + 4] */ 7743 MEM32(ecx + 0x4) = edx; /* 0x2B02A226: mov dword ptr [ecx + 4], edx */ 7744 edx = MEM32(esi + 0x4); /* 0x2B02A229: mov edx, dword ptr [esi + 4] */ 7745 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A22C: cmp eax, dword ptr [edx + 4] */ 7746 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 7747 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7748 _flag_k = FK_CMP; 7749 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A236; /* 0x2B02A22F: jne 0x2b02a236 */ 7750 L_2B02A231: 7751 MEM32(edx + 0x4) = ecx; /* 0x2B02A231: mov dword ptr [edx + 4], ecx */ 7752 goto L_2B02A245; /* 0x2B02A234: jmp 0x2b02a245 */ 7753 L_2B02A236: 7754 edx = MEM32(eax + 0x4); /* 0x2B02A236: mov edx, dword ptr [eax + 4] */ 7755 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B02A239: cmp eax, dword ptr [edx + 8] */ 7756 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 7757 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7758 _flag_k = FK_CMP; 7759 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A243; /* 0x2B02A23C: jne 0x2b02a243 */ 7760 L_2B02A23E: 7761 MEM32(edx + 0x8) = ecx; /* 0x2B02A23E: mov dword ptr [edx + 8], ecx */ 7762 goto L_2B02A245; /* 0x2B02A241: jmp 0x2b02a245 */ 7763 L_2B02A243: 7764 MEM32(edx) = ecx; /* 0x2B02A243: mov dword ptr [edx], ecx */ 7765 L_2B02A245: 7766 MEM32(ecx + 0x8) = eax; /* 0x2B02A245: mov dword ptr [ecx + 8], eax */ 7767 MEM32(eax + 0x4) = ecx; /* 0x2B02A248: mov dword ptr [eax + 4], ecx */ 7768 L_2B02A24B: 7769 ecx = MEM32(eax + 0x4); /* 0x2B02A24B: mov ecx, dword ptr [eax + 4] */ 7770 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A24E: mov byte ptr [ecx + 0x3c], bl */ 7771 edx = MEM32(eax + 0x4); /* 0x2B02A251: mov edx, dword ptr [eax + 4] */ 7772 ecx = MEM32(edx + 0x4); /* 0x2B02A254: mov ecx, dword ptr [edx + 4] */ 7773 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B02A257: mov byte ptr [ecx + 0x3c], 0 */ 7774 edx = MEM32(eax + 0x4); /* 0x2B02A25B: mov edx, dword ptr [eax + 4] */ 7775 ecx = MEM32(edx + 0x4); /* 0x2B02A25E: mov ecx, dword ptr [edx + 4] */ 7776 edx = MEM32(ecx + 0x8); /* 0x2B02A261: mov edx, dword ptr [ecx + 8] */ 7777 edi = MEM32(edx); /* 0x2B02A264: mov edi, dword ptr [edx] */ 7778 MEM32(ecx + 0x8) = edi; /* 0x2B02A266: mov dword ptr [ecx + 8], edi */ 7779 edi = MEM32(edx); /* 0x2B02A269: mov edi, dword ptr [edx] */ 7780 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A26B: cmp edi, dword ptr [esi + 8] */ 7781 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7782 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7783 _flag_k = FK_CMP; 7784 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A273; /* 0x2B02A26E: je 0x2b02a273 */ 7785 L_2B02A270: 7786 MEM32(edi + 0x4) = ecx; /* 0x2B02A270: mov dword ptr [edi + 4], ecx */ 7787 L_2B02A273: 7788 edi = MEM32(ecx + 0x4); /* 0x2B02A273: mov edi, dword ptr [ecx + 4] */ 7789 MEM32(edx + 0x4) = edi; /* 0x2B02A276: mov dword ptr [edx + 4], edi */ 7790 edi = MEM32(esi + 0x4); /* 0x2B02A279: mov edi, dword ptr [esi + 4] */ 7791 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A27C: cmp ecx, dword ptr [edi + 4] */ 7792 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 7793 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7794 _flag_k = FK_CMP; 7795 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A286; /* 0x2B02A27F: jne 0x2b02a286 */ 7796 L_2B02A281: 7797 MEM32(edi + 0x4) = edx; /* 0x2B02A281: mov dword ptr [edi + 4], edx */ 7798 goto L_2B02A294; /* 0x2B02A284: jmp 0x2b02a294 */ 7799 L_2B02A286: 7800 edi = MEM32(ecx + 0x4); /* 0x2B02A286: mov edi, dword ptr [ecx + 4] */ 7801 /* cmp ecx, MEM32(edi) */ /* 0x2B02A289: cmp ecx, dword ptr [edi] */ 7802 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 7803 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7804 _flag_k = FK_CMP; 7805 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A291; /* 0x2B02A28B: jne 0x2b02a291 */ 7806 L_2B02A28D: 7807 MEM32(edi) = edx; /* 0x2B02A28D: mov dword ptr [edi], edx */ 7808 goto L_2B02A294; /* 0x2B02A28F: jmp 0x2b02a294 */ 7809 L_2B02A291: 7810 MEM32(edi + 0x8) = edx; /* 0x2B02A291: mov dword ptr [edi + 8], edx */ 7811 L_2B02A294: 7812 MEM32(edx) = ecx; /* 0x2B02A294: mov dword ptr [edx], ecx */ 7813 L_2B02A296: 7814 MEM32(ecx + 0x4) = edx; /* 0x2B02A296: mov dword ptr [ecx + 4], edx */ 7815 L_2B02A299: 7816 ecx = MEM32(esi + 0x4); /* 0x2B02A299: mov ecx, dword ptr [esi + 4] */ 7817 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B02A29C: cmp eax, dword ptr [ecx + 4] */ 7818 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 7819 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7820 _flag_k = FK_CMP; 7821 RECOMP_BACKEDGE(); 7822 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A125; /* 0x2B02A29F: jne 0x2b02a125 */ 7823 L_2B02A2A5: 7824 edx = MEM32(esi + 0x4); /* 0x2B02A2A5: mov edx, dword ptr [esi + 4] */ 7825 eax = MEM32(edx + 0x4); /* 0x2B02A2A8: mov eax, dword ptr [edx + 4] */ 7826 ecx = MEM32(ebp + (-0x4)); /* 0x2B02A2AB: mov ecx, dword ptr [ebp - 4] */ 7827 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A2AE: mov byte ptr [eax + 0x3c], bl */ 7828 eax = MEM32(ebp + 0x8); /* 0x2B02A2B1: mov eax, dword ptr [ebp + 8] */ 7829 edi = POP32_VAL(esp); /* 0x2B02A2B4: pop edi */ 7830 esi = POP32_VAL(esp); /* 0x2B02A2B5: pop esi */ 7831 MEM32(eax) = ecx; /* 0x2B02A2B6: mov dword ptr [eax], ecx */ 7832 ebx = POP32_VAL(esp); /* 0x2B02A2B8: pop ebx */ 7833 esp = ebp; /* 0x2B02A2B9: mov esp, ebp */ 7834 ebp = POP32_VAL(esp); /* 0x2B02A2BB: pop ebp */ 7835 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B02A2BC: ret 0x10 */ 7836 RECOMP_REGS_OUT(); 7837 } 7838 7839 void sub_2B02A125(void) { 7840 int _fpu_cmp = 0; 7841 uint32_t _cf = 0; 7842 int _df = 1; 7843 uint32_t _flag_k = FK_NONE; 7844 uint32_t _flag_a = 0, _flag_b = 0; 7845 uint32_t _itail_tgt = 0; 7846 RECOMP_REGS_LOCALS 7847 RECOMP_ENTER(0x2B02A125u); 7848 7849 L_2B02A125: 7850 ecx = MEM32(eax + 0x4); /* 0x2B02A125: mov ecx, dword ptr [eax + 4] */ 7851 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B02A128: mov dl, byte ptr [ecx + 0x3c] */ 7852 /* test LO8(edx), LO8(edx) */ /* 0x2B02A12B: test dl, dl */ 7853 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 7854 _cf = 0; 7855 _flag_k = FK_NARROW(FK_TEST, 24); 7856 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02A2A5; /* 0x2B02A12D: jne 0x2b02a2a5 */ 7857 L_2B02A133: 7858 edi = MEM32(ecx + 0x4); /* 0x2B02A133: mov edi, dword ptr [ecx + 4] */ 7859 edx = MEM32(edi); /* 0x2B02A136: mov edx, dword ptr [edi] */ 7860 /* cmp ecx, edx */ /* 0x2B02A138: cmp ecx, edx */ 7861 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 7862 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7863 _flag_k = FK_CMP; 7864 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A201; /* 0x2B02A13A: jne 0x2b02a201 */ 7865 L_2B02A140: 7866 edx = MEM32(edi + 0x8); /* 0x2B02A140: mov edx, dword ptr [edi + 8] */ 7867 /* cmp MEM8(edx + 0x3C), 0 */ /* 0x2B02A143: cmp byte ptr [edx + 0x3c], 0 */ 7868 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(0) << 24; 7869 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7870 _flag_k = FK_NARROW(FK_CMP, 24); 7871 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A164; /* 0x2B02A147: jne 0x2b02a164 */ 7872 L_2B02A149: 7873 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A149: mov byte ptr [ecx + 0x3c], bl */ 7874 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A14C: mov byte ptr [edx + 0x3c], bl */ 7875 ecx = MEM32(eax + 0x4); /* 0x2B02A14F: mov ecx, dword ptr [eax + 4] */ 7876 edx = MEM32(ecx + 0x4); /* 0x2B02A152: mov edx, dword ptr [ecx + 4] */ 7877 MEM8(edx + 0x3C) = (uint8_t)(0); /* 0x2B02A155: mov byte ptr [edx + 0x3c], 0 */ 7878 eax = MEM32(eax + 0x4); /* 0x2B02A159: mov eax, dword ptr [eax + 4] */ 7879 eax = MEM32(eax + 0x4); /* 0x2B02A15C: mov eax, dword ptr [eax + 4] */ 7880 goto L_2B02A299; /* 0x2B02A15F: jmp 0x2b02a299 */ 7881 L_2B02A164: 7882 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B02A164: cmp eax, dword ptr [ecx + 8] */ 7883 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 7884 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7885 _flag_k = FK_CMP; 7886 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A1A3; /* 0x2B02A167: jne 0x2b02a1a3 */ 7887 L_2B02A169: 7888 eax = ecx; /* 0x2B02A169: mov eax, ecx */ 7889 ecx = MEM32(eax + 0x8); /* 0x2B02A16B: mov ecx, dword ptr [eax + 8] */ 7890 edx = MEM32(ecx); /* 0x2B02A16E: mov edx, dword ptr [ecx] */ 7891 MEM32(eax + 0x8) = edx; /* 0x2B02A170: mov dword ptr [eax + 8], edx */ 7892 edx = MEM32(ecx); /* 0x2B02A173: mov edx, dword ptr [ecx] */ 7893 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A175: cmp edx, dword ptr [esi + 8] */ 7894 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7895 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7896 _flag_k = FK_CMP; 7897 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A17D; /* 0x2B02A178: je 0x2b02a17d */ 7898 L_2B02A17A: 7899 MEM32(edx + 0x4) = eax; /* 0x2B02A17A: mov dword ptr [edx + 4], eax */ 7900 L_2B02A17D: 7901 edx = MEM32(eax + 0x4); /* 0x2B02A17D: mov edx, dword ptr [eax + 4] */ 7902 MEM32(ecx + 0x4) = edx; /* 0x2B02A180: mov dword ptr [ecx + 4], edx */ 7903 edx = MEM32(esi + 0x4); /* 0x2B02A183: mov edx, dword ptr [esi + 4] */ 7904 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A186: cmp eax, dword ptr [edx + 4] */ 7905 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 7906 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7907 _flag_k = FK_CMP; 7908 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A190; /* 0x2B02A189: jne 0x2b02a190 */ 7909 L_2B02A18B: 7910 MEM32(edx + 0x4) = ecx; /* 0x2B02A18B: mov dword ptr [edx + 4], ecx */ 7911 goto L_2B02A19E; /* 0x2B02A18E: jmp 0x2b02a19e */ 7912 L_2B02A190: 7913 edx = MEM32(eax + 0x4); /* 0x2B02A190: mov edx, dword ptr [eax + 4] */ 7914 /* cmp eax, MEM32(edx) */ /* 0x2B02A193: cmp eax, dword ptr [edx] */ 7915 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 7916 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7917 _flag_k = FK_CMP; 7918 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A19B; /* 0x2B02A195: jne 0x2b02a19b */ 7919 L_2B02A197: 7920 MEM32(edx) = ecx; /* 0x2B02A197: mov dword ptr [edx], ecx */ 7921 goto L_2B02A19E; /* 0x2B02A199: jmp 0x2b02a19e */ 7922 L_2B02A19B: 7923 MEM32(edx + 0x8) = ecx; /* 0x2B02A19B: mov dword ptr [edx + 8], ecx */ 7924 L_2B02A19E: 7925 MEM32(ecx) = eax; /* 0x2B02A19E: mov dword ptr [ecx], eax */ 7926 MEM32(eax + 0x4) = ecx; /* 0x2B02A1A0: mov dword ptr [eax + 4], ecx */ 7927 L_2B02A1A3: 7928 ecx = MEM32(eax + 0x4); /* 0x2B02A1A3: mov ecx, dword ptr [eax + 4] */ 7929 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A1A6: mov byte ptr [ecx + 0x3c], bl */ 7930 edx = MEM32(eax + 0x4); /* 0x2B02A1A9: mov edx, dword ptr [eax + 4] */ 7931 ecx = MEM32(edx + 0x4); /* 0x2B02A1AC: mov ecx, dword ptr [edx + 4] */ 7932 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B02A1AF: mov byte ptr [ecx + 0x3c], 0 */ 7933 edx = MEM32(eax + 0x4); /* 0x2B02A1B3: mov edx, dword ptr [eax + 4] */ 7934 ecx = MEM32(edx + 0x4); /* 0x2B02A1B6: mov ecx, dword ptr [edx + 4] */ 7935 edx = MEM32(ecx); /* 0x2B02A1B9: mov edx, dword ptr [ecx] */ 7936 edi = MEM32(edx + 0x8); /* 0x2B02A1BB: mov edi, dword ptr [edx + 8] */ 7937 MEM32(ecx) = edi; /* 0x2B02A1BE: mov dword ptr [ecx], edi */ 7938 edi = MEM32(edx + 0x8); /* 0x2B02A1C0: mov edi, dword ptr [edx + 8] */ 7939 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A1C3: cmp edi, dword ptr [esi + 8] */ 7940 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7941 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7942 _flag_k = FK_CMP; 7943 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A1CB; /* 0x2B02A1C6: je 0x2b02a1cb */ 7944 L_2B02A1C8: 7945 MEM32(edi + 0x4) = ecx; /* 0x2B02A1C8: mov dword ptr [edi + 4], ecx */ 7946 L_2B02A1CB: 7947 edi = MEM32(ecx + 0x4); /* 0x2B02A1CB: mov edi, dword ptr [ecx + 4] */ 7948 MEM32(edx + 0x4) = edi; /* 0x2B02A1CE: mov dword ptr [edx + 4], edi */ 7949 edi = MEM32(esi + 0x4); /* 0x2B02A1D1: mov edi, dword ptr [esi + 4] */ 7950 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A1D4: cmp ecx, dword ptr [edi + 4] */ 7951 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 7952 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7953 _flag_k = FK_CMP; 7954 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A1E4; /* 0x2B02A1D7: jne 0x2b02a1e4 */ 7955 L_2B02A1D9: 7956 MEM32(edi + 0x4) = edx; /* 0x2B02A1D9: mov dword ptr [edi + 4], edx */ 7957 MEM32(edx + 0x8) = ecx; /* 0x2B02A1DC: mov dword ptr [edx + 8], ecx */ 7958 goto L_2B02A296; /* 0x2B02A1DF: jmp 0x2b02a296 */ 7959 L_2B02A1E4: 7960 edi = MEM32(ecx + 0x4); /* 0x2B02A1E4: mov edi, dword ptr [ecx + 4] */ 7961 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B02A1E7: cmp ecx, dword ptr [edi + 8] */ 7962 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7963 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7964 _flag_k = FK_CMP; 7965 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A1F7; /* 0x2B02A1EA: jne 0x2b02a1f7 */ 7966 L_2B02A1EC: 7967 MEM32(edi + 0x8) = edx; /* 0x2B02A1EC: mov dword ptr [edi + 8], edx */ 7968 MEM32(edx + 0x8) = ecx; /* 0x2B02A1EF: mov dword ptr [edx + 8], ecx */ 7969 goto L_2B02A296; /* 0x2B02A1F2: jmp 0x2b02a296 */ 7970 L_2B02A1F7: 7971 MEM32(edi) = edx; /* 0x2B02A1F7: mov dword ptr [edi], edx */ 7972 MEM32(edx + 0x8) = ecx; /* 0x2B02A1F9: mov dword ptr [edx + 8], ecx */ 7973 goto L_2B02A296; /* 0x2B02A1FC: jmp 0x2b02a296 */ 7974 L_2B02A201: 7975 /* cmp MEM8(edx + 0x3C), 0 */ /* 0x2B02A201: cmp byte ptr [edx + 0x3c], 0 */ 7976 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(0) << 24; 7977 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7978 _flag_k = FK_NARROW(FK_CMP, 24); 7979 RECOMP_BACKEDGE(); 7980 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A149; /* 0x2B02A205: je 0x2b02a149 */ 7981 L_2B02A20B: 7982 /* cmp eax, MEM32(ecx) */ /* 0x2B02A20B: cmp eax, dword ptr [ecx] */ 7983 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 7984 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7985 _flag_k = FK_CMP; 7986 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A24B; /* 0x2B02A20D: jne 0x2b02a24b */ 7987 L_2B02A20F: 7988 eax = ecx; /* 0x2B02A20F: mov eax, ecx */ 7989 ecx = MEM32(eax); /* 0x2B02A211: mov ecx, dword ptr [eax] */ 7990 edx = MEM32(ecx + 0x8); /* 0x2B02A213: mov edx, dword ptr [ecx + 8] */ 7991 MEM32(eax) = edx; /* 0x2B02A216: mov dword ptr [eax], edx */ 7992 edx = MEM32(ecx + 0x8); /* 0x2B02A218: mov edx, dword ptr [ecx + 8] */ 7993 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A21B: cmp edx, dword ptr [esi + 8] */ 7994 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7995 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7996 _flag_k = FK_CMP; 7997 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A223; /* 0x2B02A21E: je 0x2b02a223 */ 7998 L_2B02A220: 7999 MEM32(edx + 0x4) = eax; /* 0x2B02A220: mov dword ptr [edx + 4], eax */ 8000 L_2B02A223: 8001 edx = MEM32(eax + 0x4); /* 0x2B02A223: mov edx, dword ptr [eax + 4] */ 8002 MEM32(ecx + 0x4) = edx; /* 0x2B02A226: mov dword ptr [ecx + 4], edx */ 8003 edx = MEM32(esi + 0x4); /* 0x2B02A229: mov edx, dword ptr [esi + 4] */ 8004 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A22C: cmp eax, dword ptr [edx + 4] */ 8005 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 8006 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8007 _flag_k = FK_CMP; 8008 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A236; /* 0x2B02A22F: jne 0x2b02a236 */ 8009 L_2B02A231: 8010 MEM32(edx + 0x4) = ecx; /* 0x2B02A231: mov dword ptr [edx + 4], ecx */ 8011 goto L_2B02A245; /* 0x2B02A234: jmp 0x2b02a245 */ 8012 L_2B02A236: 8013 edx = MEM32(eax + 0x4); /* 0x2B02A236: mov edx, dword ptr [eax + 4] */ 8014 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B02A239: cmp eax, dword ptr [edx + 8] */ 8015 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 8016 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8017 _flag_k = FK_CMP; 8018 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A243; /* 0x2B02A23C: jne 0x2b02a243 */ 8019 L_2B02A23E: 8020 MEM32(edx + 0x8) = ecx; /* 0x2B02A23E: mov dword ptr [edx + 8], ecx */ 8021 goto L_2B02A245; /* 0x2B02A241: jmp 0x2b02a245 */ 8022 L_2B02A243: 8023 MEM32(edx) = ecx; /* 0x2B02A243: mov dword ptr [edx], ecx */ 8024 L_2B02A245: 8025 MEM32(ecx + 0x8) = eax; /* 0x2B02A245: mov dword ptr [ecx + 8], eax */ 8026 MEM32(eax + 0x4) = ecx; /* 0x2B02A248: mov dword ptr [eax + 4], ecx */ 8027 L_2B02A24B: 8028 ecx = MEM32(eax + 0x4); /* 0x2B02A24B: mov ecx, dword ptr [eax + 4] */ 8029 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A24E: mov byte ptr [ecx + 0x3c], bl */ 8030 edx = MEM32(eax + 0x4); /* 0x2B02A251: mov edx, dword ptr [eax + 4] */ 8031 ecx = MEM32(edx + 0x4); /* 0x2B02A254: mov ecx, dword ptr [edx + 4] */ 8032 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B02A257: mov byte ptr [ecx + 0x3c], 0 */ 8033 edx = MEM32(eax + 0x4); /* 0x2B02A25B: mov edx, dword ptr [eax + 4] */ 8034 ecx = MEM32(edx + 0x4); /* 0x2B02A25E: mov ecx, dword ptr [edx + 4] */ 8035 edx = MEM32(ecx + 0x8); /* 0x2B02A261: mov edx, dword ptr [ecx + 8] */ 8036 edi = MEM32(edx); /* 0x2B02A264: mov edi, dword ptr [edx] */ 8037 MEM32(ecx + 0x8) = edi; /* 0x2B02A266: mov dword ptr [ecx + 8], edi */ 8038 edi = MEM32(edx); /* 0x2B02A269: mov edi, dword ptr [edx] */ 8039 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A26B: cmp edi, dword ptr [esi + 8] */ 8040 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8041 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8042 _flag_k = FK_CMP; 8043 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A273; /* 0x2B02A26E: je 0x2b02a273 */ 8044 L_2B02A270: 8045 MEM32(edi + 0x4) = ecx; /* 0x2B02A270: mov dword ptr [edi + 4], ecx */ 8046 L_2B02A273: 8047 edi = MEM32(ecx + 0x4); /* 0x2B02A273: mov edi, dword ptr [ecx + 4] */ 8048 MEM32(edx + 0x4) = edi; /* 0x2B02A276: mov dword ptr [edx + 4], edi */ 8049 edi = MEM32(esi + 0x4); /* 0x2B02A279: mov edi, dword ptr [esi + 4] */ 8050 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A27C: cmp ecx, dword ptr [edi + 4] */ 8051 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 8052 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8053 _flag_k = FK_CMP; 8054 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A286; /* 0x2B02A27F: jne 0x2b02a286 */ 8055 L_2B02A281: 8056 MEM32(edi + 0x4) = edx; /* 0x2B02A281: mov dword ptr [edi + 4], edx */ 8057 goto L_2B02A294; /* 0x2B02A284: jmp 0x2b02a294 */ 8058 L_2B02A286: 8059 edi = MEM32(ecx + 0x4); /* 0x2B02A286: mov edi, dword ptr [ecx + 4] */ 8060 /* cmp ecx, MEM32(edi) */ /* 0x2B02A289: cmp ecx, dword ptr [edi] */ 8061 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 8062 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8063 _flag_k = FK_CMP; 8064 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A291; /* 0x2B02A28B: jne 0x2b02a291 */ 8065 L_2B02A28D: 8066 MEM32(edi) = edx; /* 0x2B02A28D: mov dword ptr [edi], edx */ 8067 goto L_2B02A294; /* 0x2B02A28F: jmp 0x2b02a294 */ 8068 L_2B02A291: 8069 MEM32(edi + 0x8) = edx; /* 0x2B02A291: mov dword ptr [edi + 8], edx */ 8070 L_2B02A294: 8071 MEM32(edx) = ecx; /* 0x2B02A294: mov dword ptr [edx], ecx */ 8072 L_2B02A296: 8073 MEM32(ecx + 0x4) = edx; /* 0x2B02A296: mov dword ptr [ecx + 4], edx */ 8074 L_2B02A299: 8075 ecx = MEM32(esi + 0x4); /* 0x2B02A299: mov ecx, dword ptr [esi + 4] */ 8076 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B02A29C: cmp eax, dword ptr [ecx + 4] */ 8077 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 8078 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8079 _flag_k = FK_CMP; 8080 RECOMP_BACKEDGE(); 8081 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A125; /* 0x2B02A29F: jne 0x2b02a125 */ 8082 L_2B02A2A5: 8083 edx = MEM32(esi + 0x4); /* 0x2B02A2A5: mov edx, dword ptr [esi + 4] */ 8084 eax = MEM32(edx + 0x4); /* 0x2B02A2A8: mov eax, dword ptr [edx + 4] */ 8085 ecx = MEM32(ebp + (-0x4)); /* 0x2B02A2AB: mov ecx, dword ptr [ebp - 4] */ 8086 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A2AE: mov byte ptr [eax + 0x3c], bl */ 8087 eax = MEM32(ebp + 0x8); /* 0x2B02A2B1: mov eax, dword ptr [ebp + 8] */ 8088 edi = POP32_VAL(esp); /* 0x2B02A2B4: pop edi */ 8089 esi = POP32_VAL(esp); /* 0x2B02A2B5: pop esi */ 8090 MEM32(eax) = ecx; /* 0x2B02A2B6: mov dword ptr [eax], ecx */ 8091 ebx = POP32_VAL(esp); /* 0x2B02A2B8: pop ebx */ 8092 esp = ebp; /* 0x2B02A2B9: mov esp, ebp */ 8093 ebp = POP32_VAL(esp); /* 0x2B02A2BB: pop ebp */ 8094 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B02A2BC: ret 0x10 */ 8095 RECOMP_REGS_OUT(); 8096 } 8097 8098 void sub_2B02A149(void) { 8099 int _fpu_cmp = 0; 8100 uint32_t _cf = 0; 8101 int _df = 1; 8102 uint32_t _flag_k = FK_NONE; 8103 uint32_t _flag_a = 0, _flag_b = 0; 8104 uint32_t _itail_tgt = 0; 8105 RECOMP_REGS_LOCALS 8106 RECOMP_ENTER(0x2B02A149u); 8107 8108 goto L_2B02A149; 8109 L_2B02A125: 8110 ecx = MEM32(eax + 0x4); /* 0x2B02A125: mov ecx, dword ptr [eax + 4] */ 8111 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B02A128: mov dl, byte ptr [ecx + 0x3c] */ 8112 /* test LO8(edx), LO8(edx) */ /* 0x2B02A12B: test dl, dl */ 8113 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 8114 _cf = 0; 8115 _flag_k = FK_NARROW(FK_TEST, 24); 8116 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02A2A5; /* 0x2B02A12D: jne 0x2b02a2a5 */ 8117 L_2B02A133: 8118 edi = MEM32(ecx + 0x4); /* 0x2B02A133: mov edi, dword ptr [ecx + 4] */ 8119 edx = MEM32(edi); /* 0x2B02A136: mov edx, dword ptr [edi] */ 8120 /* cmp ecx, edx */ /* 0x2B02A138: cmp ecx, edx */ 8121 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 8122 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8123 _flag_k = FK_CMP; 8124 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A201; /* 0x2B02A13A: jne 0x2b02a201 */ 8125 L_2B02A140: 8126 edx = MEM32(edi + 0x8); /* 0x2B02A140: mov edx, dword ptr [edi + 8] */ 8127 /* cmp MEM8(edx + 0x3C), 0 */ /* 0x2B02A143: cmp byte ptr [edx + 0x3c], 0 */ 8128 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(0) << 24; 8129 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8130 _flag_k = FK_NARROW(FK_CMP, 24); 8131 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A164; /* 0x2B02A147: jne 0x2b02a164 */ 8132 L_2B02A149: 8133 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A149: mov byte ptr [ecx + 0x3c], bl */ 8134 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A14C: mov byte ptr [edx + 0x3c], bl */ 8135 ecx = MEM32(eax + 0x4); /* 0x2B02A14F: mov ecx, dword ptr [eax + 4] */ 8136 edx = MEM32(ecx + 0x4); /* 0x2B02A152: mov edx, dword ptr [ecx + 4] */ 8137 MEM8(edx + 0x3C) = (uint8_t)(0); /* 0x2B02A155: mov byte ptr [edx + 0x3c], 0 */ 8138 eax = MEM32(eax + 0x4); /* 0x2B02A159: mov eax, dword ptr [eax + 4] */ 8139 eax = MEM32(eax + 0x4); /* 0x2B02A15C: mov eax, dword ptr [eax + 4] */ 8140 goto L_2B02A299; /* 0x2B02A15F: jmp 0x2b02a299 */ 8141 L_2B02A164: 8142 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B02A164: cmp eax, dword ptr [ecx + 8] */ 8143 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 8144 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8145 _flag_k = FK_CMP; 8146 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A1A3; /* 0x2B02A167: jne 0x2b02a1a3 */ 8147 L_2B02A169: 8148 eax = ecx; /* 0x2B02A169: mov eax, ecx */ 8149 ecx = MEM32(eax + 0x8); /* 0x2B02A16B: mov ecx, dword ptr [eax + 8] */ 8150 edx = MEM32(ecx); /* 0x2B02A16E: mov edx, dword ptr [ecx] */ 8151 MEM32(eax + 0x8) = edx; /* 0x2B02A170: mov dword ptr [eax + 8], edx */ 8152 edx = MEM32(ecx); /* 0x2B02A173: mov edx, dword ptr [ecx] */ 8153 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A175: cmp edx, dword ptr [esi + 8] */ 8154 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8155 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8156 _flag_k = FK_CMP; 8157 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A17D; /* 0x2B02A178: je 0x2b02a17d */ 8158 L_2B02A17A: 8159 MEM32(edx + 0x4) = eax; /* 0x2B02A17A: mov dword ptr [edx + 4], eax */ 8160 L_2B02A17D: 8161 edx = MEM32(eax + 0x4); /* 0x2B02A17D: mov edx, dword ptr [eax + 4] */ 8162 MEM32(ecx + 0x4) = edx; /* 0x2B02A180: mov dword ptr [ecx + 4], edx */ 8163 edx = MEM32(esi + 0x4); /* 0x2B02A183: mov edx, dword ptr [esi + 4] */ 8164 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A186: cmp eax, dword ptr [edx + 4] */ 8165 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 8166 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8167 _flag_k = FK_CMP; 8168 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A190; /* 0x2B02A189: jne 0x2b02a190 */ 8169 L_2B02A18B: 8170 MEM32(edx + 0x4) = ecx; /* 0x2B02A18B: mov dword ptr [edx + 4], ecx */ 8171 goto L_2B02A19E; /* 0x2B02A18E: jmp 0x2b02a19e */ 8172 L_2B02A190: 8173 edx = MEM32(eax + 0x4); /* 0x2B02A190: mov edx, dword ptr [eax + 4] */ 8174 /* cmp eax, MEM32(edx) */ /* 0x2B02A193: cmp eax, dword ptr [edx] */ 8175 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 8176 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8177 _flag_k = FK_CMP; 8178 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A19B; /* 0x2B02A195: jne 0x2b02a19b */ 8179 L_2B02A197: 8180 MEM32(edx) = ecx; /* 0x2B02A197: mov dword ptr [edx], ecx */ 8181 goto L_2B02A19E; /* 0x2B02A199: jmp 0x2b02a19e */ 8182 L_2B02A19B: 8183 MEM32(edx + 0x8) = ecx; /* 0x2B02A19B: mov dword ptr [edx + 8], ecx */ 8184 L_2B02A19E: 8185 MEM32(ecx) = eax; /* 0x2B02A19E: mov dword ptr [ecx], eax */ 8186 MEM32(eax + 0x4) = ecx; /* 0x2B02A1A0: mov dword ptr [eax + 4], ecx */ 8187 L_2B02A1A3: 8188 ecx = MEM32(eax + 0x4); /* 0x2B02A1A3: mov ecx, dword ptr [eax + 4] */ 8189 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A1A6: mov byte ptr [ecx + 0x3c], bl */ 8190 edx = MEM32(eax + 0x4); /* 0x2B02A1A9: mov edx, dword ptr [eax + 4] */ 8191 ecx = MEM32(edx + 0x4); /* 0x2B02A1AC: mov ecx, dword ptr [edx + 4] */ 8192 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B02A1AF: mov byte ptr [ecx + 0x3c], 0 */ 8193 edx = MEM32(eax + 0x4); /* 0x2B02A1B3: mov edx, dword ptr [eax + 4] */ 8194 ecx = MEM32(edx + 0x4); /* 0x2B02A1B6: mov ecx, dword ptr [edx + 4] */ 8195 edx = MEM32(ecx); /* 0x2B02A1B9: mov edx, dword ptr [ecx] */ 8196 edi = MEM32(edx + 0x8); /* 0x2B02A1BB: mov edi, dword ptr [edx + 8] */ 8197 MEM32(ecx) = edi; /* 0x2B02A1BE: mov dword ptr [ecx], edi */ 8198 edi = MEM32(edx + 0x8); /* 0x2B02A1C0: mov edi, dword ptr [edx + 8] */ 8199 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A1C3: cmp edi, dword ptr [esi + 8] */ 8200 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8201 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8202 _flag_k = FK_CMP; 8203 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A1CB; /* 0x2B02A1C6: je 0x2b02a1cb */ 8204 L_2B02A1C8: 8205 MEM32(edi + 0x4) = ecx; /* 0x2B02A1C8: mov dword ptr [edi + 4], ecx */ 8206 L_2B02A1CB: 8207 edi = MEM32(ecx + 0x4); /* 0x2B02A1CB: mov edi, dword ptr [ecx + 4] */ 8208 MEM32(edx + 0x4) = edi; /* 0x2B02A1CE: mov dword ptr [edx + 4], edi */ 8209 edi = MEM32(esi + 0x4); /* 0x2B02A1D1: mov edi, dword ptr [esi + 4] */ 8210 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A1D4: cmp ecx, dword ptr [edi + 4] */ 8211 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 8212 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8213 _flag_k = FK_CMP; 8214 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A1E4; /* 0x2B02A1D7: jne 0x2b02a1e4 */ 8215 L_2B02A1D9: 8216 MEM32(edi + 0x4) = edx; /* 0x2B02A1D9: mov dword ptr [edi + 4], edx */ 8217 MEM32(edx + 0x8) = ecx; /* 0x2B02A1DC: mov dword ptr [edx + 8], ecx */ 8218 goto L_2B02A296; /* 0x2B02A1DF: jmp 0x2b02a296 */ 8219 L_2B02A1E4: 8220 edi = MEM32(ecx + 0x4); /* 0x2B02A1E4: mov edi, dword ptr [ecx + 4] */ 8221 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B02A1E7: cmp ecx, dword ptr [edi + 8] */ 8222 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8223 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8224 _flag_k = FK_CMP; 8225 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A1F7; /* 0x2B02A1EA: jne 0x2b02a1f7 */ 8226 L_2B02A1EC: 8227 MEM32(edi + 0x8) = edx; /* 0x2B02A1EC: mov dword ptr [edi + 8], edx */ 8228 MEM32(edx + 0x8) = ecx; /* 0x2B02A1EF: mov dword ptr [edx + 8], ecx */ 8229 goto L_2B02A296; /* 0x2B02A1F2: jmp 0x2b02a296 */ 8230 L_2B02A1F7: 8231 MEM32(edi) = edx; /* 0x2B02A1F7: mov dword ptr [edi], edx */ 8232 MEM32(edx + 0x8) = ecx; /* 0x2B02A1F9: mov dword ptr [edx + 8], ecx */ 8233 goto L_2B02A296; /* 0x2B02A1FC: jmp 0x2b02a296 */ 8234 L_2B02A201: 8235 /* cmp MEM8(edx + 0x3C), 0 */ /* 0x2B02A201: cmp byte ptr [edx + 0x3c], 0 */ 8236 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(0) << 24; 8237 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8238 _flag_k = FK_NARROW(FK_CMP, 24); 8239 RECOMP_BACKEDGE(); 8240 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A149; /* 0x2B02A205: je 0x2b02a149 */ 8241 L_2B02A20B: 8242 /* cmp eax, MEM32(ecx) */ /* 0x2B02A20B: cmp eax, dword ptr [ecx] */ 8243 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 8244 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8245 _flag_k = FK_CMP; 8246 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A24B; /* 0x2B02A20D: jne 0x2b02a24b */ 8247 L_2B02A20F: 8248 eax = ecx; /* 0x2B02A20F: mov eax, ecx */ 8249 ecx = MEM32(eax); /* 0x2B02A211: mov ecx, dword ptr [eax] */ 8250 edx = MEM32(ecx + 0x8); /* 0x2B02A213: mov edx, dword ptr [ecx + 8] */ 8251 MEM32(eax) = edx; /* 0x2B02A216: mov dword ptr [eax], edx */ 8252 edx = MEM32(ecx + 0x8); /* 0x2B02A218: mov edx, dword ptr [ecx + 8] */ 8253 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A21B: cmp edx, dword ptr [esi + 8] */ 8254 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8255 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8256 _flag_k = FK_CMP; 8257 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A223; /* 0x2B02A21E: je 0x2b02a223 */ 8258 L_2B02A220: 8259 MEM32(edx + 0x4) = eax; /* 0x2B02A220: mov dword ptr [edx + 4], eax */ 8260 L_2B02A223: 8261 edx = MEM32(eax + 0x4); /* 0x2B02A223: mov edx, dword ptr [eax + 4] */ 8262 MEM32(ecx + 0x4) = edx; /* 0x2B02A226: mov dword ptr [ecx + 4], edx */ 8263 edx = MEM32(esi + 0x4); /* 0x2B02A229: mov edx, dword ptr [esi + 4] */ 8264 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A22C: cmp eax, dword ptr [edx + 4] */ 8265 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 8266 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8267 _flag_k = FK_CMP; 8268 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A236; /* 0x2B02A22F: jne 0x2b02a236 */ 8269 L_2B02A231: 8270 MEM32(edx + 0x4) = ecx; /* 0x2B02A231: mov dword ptr [edx + 4], ecx */ 8271 goto L_2B02A245; /* 0x2B02A234: jmp 0x2b02a245 */ 8272 L_2B02A236: 8273 edx = MEM32(eax + 0x4); /* 0x2B02A236: mov edx, dword ptr [eax + 4] */ 8274 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B02A239: cmp eax, dword ptr [edx + 8] */ 8275 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 8276 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8277 _flag_k = FK_CMP; 8278 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A243; /* 0x2B02A23C: jne 0x2b02a243 */ 8279 L_2B02A23E: 8280 MEM32(edx + 0x8) = ecx; /* 0x2B02A23E: mov dword ptr [edx + 8], ecx */ 8281 goto L_2B02A245; /* 0x2B02A241: jmp 0x2b02a245 */ 8282 L_2B02A243: 8283 MEM32(edx) = ecx; /* 0x2B02A243: mov dword ptr [edx], ecx */ 8284 L_2B02A245: 8285 MEM32(ecx + 0x8) = eax; /* 0x2B02A245: mov dword ptr [ecx + 8], eax */ 8286 MEM32(eax + 0x4) = ecx; /* 0x2B02A248: mov dword ptr [eax + 4], ecx */ 8287 L_2B02A24B: 8288 ecx = MEM32(eax + 0x4); /* 0x2B02A24B: mov ecx, dword ptr [eax + 4] */ 8289 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A24E: mov byte ptr [ecx + 0x3c], bl */ 8290 edx = MEM32(eax + 0x4); /* 0x2B02A251: mov edx, dword ptr [eax + 4] */ 8291 ecx = MEM32(edx + 0x4); /* 0x2B02A254: mov ecx, dword ptr [edx + 4] */ 8292 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B02A257: mov byte ptr [ecx + 0x3c], 0 */ 8293 edx = MEM32(eax + 0x4); /* 0x2B02A25B: mov edx, dword ptr [eax + 4] */ 8294 ecx = MEM32(edx + 0x4); /* 0x2B02A25E: mov ecx, dword ptr [edx + 4] */ 8295 edx = MEM32(ecx + 0x8); /* 0x2B02A261: mov edx, dword ptr [ecx + 8] */ 8296 edi = MEM32(edx); /* 0x2B02A264: mov edi, dword ptr [edx] */ 8297 MEM32(ecx + 0x8) = edi; /* 0x2B02A266: mov dword ptr [ecx + 8], edi */ 8298 edi = MEM32(edx); /* 0x2B02A269: mov edi, dword ptr [edx] */ 8299 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A26B: cmp edi, dword ptr [esi + 8] */ 8300 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8301 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8302 _flag_k = FK_CMP; 8303 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A273; /* 0x2B02A26E: je 0x2b02a273 */ 8304 L_2B02A270: 8305 MEM32(edi + 0x4) = ecx; /* 0x2B02A270: mov dword ptr [edi + 4], ecx */ 8306 L_2B02A273: 8307 edi = MEM32(ecx + 0x4); /* 0x2B02A273: mov edi, dword ptr [ecx + 4] */ 8308 MEM32(edx + 0x4) = edi; /* 0x2B02A276: mov dword ptr [edx + 4], edi */ 8309 edi = MEM32(esi + 0x4); /* 0x2B02A279: mov edi, dword ptr [esi + 4] */ 8310 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A27C: cmp ecx, dword ptr [edi + 4] */ 8311 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 8312 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8313 _flag_k = FK_CMP; 8314 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A286; /* 0x2B02A27F: jne 0x2b02a286 */ 8315 L_2B02A281: 8316 MEM32(edi + 0x4) = edx; /* 0x2B02A281: mov dword ptr [edi + 4], edx */ 8317 goto L_2B02A294; /* 0x2B02A284: jmp 0x2b02a294 */ 8318 L_2B02A286: 8319 edi = MEM32(ecx + 0x4); /* 0x2B02A286: mov edi, dword ptr [ecx + 4] */ 8320 /* cmp ecx, MEM32(edi) */ /* 0x2B02A289: cmp ecx, dword ptr [edi] */ 8321 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 8322 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8323 _flag_k = FK_CMP; 8324 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A291; /* 0x2B02A28B: jne 0x2b02a291 */ 8325 L_2B02A28D: 8326 MEM32(edi) = edx; /* 0x2B02A28D: mov dword ptr [edi], edx */ 8327 goto L_2B02A294; /* 0x2B02A28F: jmp 0x2b02a294 */ 8328 L_2B02A291: 8329 MEM32(edi + 0x8) = edx; /* 0x2B02A291: mov dword ptr [edi + 8], edx */ 8330 L_2B02A294: 8331 MEM32(edx) = ecx; /* 0x2B02A294: mov dword ptr [edx], ecx */ 8332 L_2B02A296: 8333 MEM32(ecx + 0x4) = edx; /* 0x2B02A296: mov dword ptr [ecx + 4], edx */ 8334 L_2B02A299: 8335 ecx = MEM32(esi + 0x4); /* 0x2B02A299: mov ecx, dword ptr [esi + 4] */ 8336 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B02A29C: cmp eax, dword ptr [ecx + 4] */ 8337 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 8338 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8339 _flag_k = FK_CMP; 8340 RECOMP_BACKEDGE(); 8341 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A125; /* 0x2B02A29F: jne 0x2b02a125 */ 8342 L_2B02A2A5: 8343 edx = MEM32(esi + 0x4); /* 0x2B02A2A5: mov edx, dword ptr [esi + 4] */ 8344 eax = MEM32(edx + 0x4); /* 0x2B02A2A8: mov eax, dword ptr [edx + 4] */ 8345 ecx = MEM32(ebp + (-0x4)); /* 0x2B02A2AB: mov ecx, dword ptr [ebp - 4] */ 8346 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A2AE: mov byte ptr [eax + 0x3c], bl */ 8347 eax = MEM32(ebp + 0x8); /* 0x2B02A2B1: mov eax, dword ptr [ebp + 8] */ 8348 edi = POP32_VAL(esp); /* 0x2B02A2B4: pop edi */ 8349 esi = POP32_VAL(esp); /* 0x2B02A2B5: pop esi */ 8350 MEM32(eax) = ecx; /* 0x2B02A2B6: mov dword ptr [eax], ecx */ 8351 ebx = POP32_VAL(esp); /* 0x2B02A2B8: pop ebx */ 8352 esp = ebp; /* 0x2B02A2B9: mov esp, ebp */ 8353 ebp = POP32_VAL(esp); /* 0x2B02A2BB: pop ebp */ 8354 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B02A2BC: ret 0x10 */ 8355 RECOMP_REGS_OUT(); 8356 } 8357 8358 void sub_2B02A19E(void) { 8359 int _fpu_cmp = 0; 8360 uint32_t _cf = 0; 8361 int _df = 1; 8362 uint32_t _flag_k = FK_NONE; 8363 uint32_t _flag_a = 0, _flag_b = 0; 8364 uint32_t _itail_tgt = 0; 8365 RECOMP_REGS_LOCALS 8366 RECOMP_ENTER(0x2B02A19Eu); 8367 8368 goto L_2B02A19E; 8369 L_2B02A125: 8370 ecx = MEM32(eax + 0x4); /* 0x2B02A125: mov ecx, dword ptr [eax + 4] */ 8371 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B02A128: mov dl, byte ptr [ecx + 0x3c] */ 8372 /* test LO8(edx), LO8(edx) */ /* 0x2B02A12B: test dl, dl */ 8373 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 8374 _cf = 0; 8375 _flag_k = FK_NARROW(FK_TEST, 24); 8376 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02A2A5; /* 0x2B02A12D: jne 0x2b02a2a5 */ 8377 L_2B02A133: 8378 edi = MEM32(ecx + 0x4); /* 0x2B02A133: mov edi, dword ptr [ecx + 4] */ 8379 edx = MEM32(edi); /* 0x2B02A136: mov edx, dword ptr [edi] */ 8380 /* cmp ecx, edx */ /* 0x2B02A138: cmp ecx, edx */ 8381 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 8382 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8383 _flag_k = FK_CMP; 8384 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A201; /* 0x2B02A13A: jne 0x2b02a201 */ 8385 L_2B02A140: 8386 edx = MEM32(edi + 0x8); /* 0x2B02A140: mov edx, dword ptr [edi + 8] */ 8387 /* cmp MEM8(edx + 0x3C), 0 */ /* 0x2B02A143: cmp byte ptr [edx + 0x3c], 0 */ 8388 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(0) << 24; 8389 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8390 _flag_k = FK_NARROW(FK_CMP, 24); 8391 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A164; /* 0x2B02A147: jne 0x2b02a164 */ 8392 L_2B02A149: 8393 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A149: mov byte ptr [ecx + 0x3c], bl */ 8394 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A14C: mov byte ptr [edx + 0x3c], bl */ 8395 ecx = MEM32(eax + 0x4); /* 0x2B02A14F: mov ecx, dword ptr [eax + 4] */ 8396 edx = MEM32(ecx + 0x4); /* 0x2B02A152: mov edx, dword ptr [ecx + 4] */ 8397 MEM8(edx + 0x3C) = (uint8_t)(0); /* 0x2B02A155: mov byte ptr [edx + 0x3c], 0 */ 8398 eax = MEM32(eax + 0x4); /* 0x2B02A159: mov eax, dword ptr [eax + 4] */ 8399 eax = MEM32(eax + 0x4); /* 0x2B02A15C: mov eax, dword ptr [eax + 4] */ 8400 goto L_2B02A299; /* 0x2B02A15F: jmp 0x2b02a299 */ 8401 L_2B02A164: 8402 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B02A164: cmp eax, dword ptr [ecx + 8] */ 8403 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 8404 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8405 _flag_k = FK_CMP; 8406 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A1A3; /* 0x2B02A167: jne 0x2b02a1a3 */ 8407 L_2B02A169: 8408 eax = ecx; /* 0x2B02A169: mov eax, ecx */ 8409 ecx = MEM32(eax + 0x8); /* 0x2B02A16B: mov ecx, dword ptr [eax + 8] */ 8410 edx = MEM32(ecx); /* 0x2B02A16E: mov edx, dword ptr [ecx] */ 8411 MEM32(eax + 0x8) = edx; /* 0x2B02A170: mov dword ptr [eax + 8], edx */ 8412 edx = MEM32(ecx); /* 0x2B02A173: mov edx, dword ptr [ecx] */ 8413 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A175: cmp edx, dword ptr [esi + 8] */ 8414 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8415 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8416 _flag_k = FK_CMP; 8417 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A17D; /* 0x2B02A178: je 0x2b02a17d */ 8418 L_2B02A17A: 8419 MEM32(edx + 0x4) = eax; /* 0x2B02A17A: mov dword ptr [edx + 4], eax */ 8420 L_2B02A17D: 8421 edx = MEM32(eax + 0x4); /* 0x2B02A17D: mov edx, dword ptr [eax + 4] */ 8422 MEM32(ecx + 0x4) = edx; /* 0x2B02A180: mov dword ptr [ecx + 4], edx */ 8423 edx = MEM32(esi + 0x4); /* 0x2B02A183: mov edx, dword ptr [esi + 4] */ 8424 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A186: cmp eax, dword ptr [edx + 4] */ 8425 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 8426 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8427 _flag_k = FK_CMP; 8428 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A190; /* 0x2B02A189: jne 0x2b02a190 */ 8429 L_2B02A18B: 8430 MEM32(edx + 0x4) = ecx; /* 0x2B02A18B: mov dword ptr [edx + 4], ecx */ 8431 goto L_2B02A19E; /* 0x2B02A18E: jmp 0x2b02a19e */ 8432 L_2B02A190: 8433 edx = MEM32(eax + 0x4); /* 0x2B02A190: mov edx, dword ptr [eax + 4] */ 8434 /* cmp eax, MEM32(edx) */ /* 0x2B02A193: cmp eax, dword ptr [edx] */ 8435 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 8436 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8437 _flag_k = FK_CMP; 8438 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A19B; /* 0x2B02A195: jne 0x2b02a19b */ 8439 L_2B02A197: 8440 MEM32(edx) = ecx; /* 0x2B02A197: mov dword ptr [edx], ecx */ 8441 goto L_2B02A19E; /* 0x2B02A199: jmp 0x2b02a19e */ 8442 L_2B02A19B: 8443 MEM32(edx + 0x8) = ecx; /* 0x2B02A19B: mov dword ptr [edx + 8], ecx */ 8444 L_2B02A19E: 8445 MEM32(ecx) = eax; /* 0x2B02A19E: mov dword ptr [ecx], eax */ 8446 MEM32(eax + 0x4) = ecx; /* 0x2B02A1A0: mov dword ptr [eax + 4], ecx */ 8447 L_2B02A1A3: 8448 ecx = MEM32(eax + 0x4); /* 0x2B02A1A3: mov ecx, dword ptr [eax + 4] */ 8449 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A1A6: mov byte ptr [ecx + 0x3c], bl */ 8450 edx = MEM32(eax + 0x4); /* 0x2B02A1A9: mov edx, dword ptr [eax + 4] */ 8451 ecx = MEM32(edx + 0x4); /* 0x2B02A1AC: mov ecx, dword ptr [edx + 4] */ 8452 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B02A1AF: mov byte ptr [ecx + 0x3c], 0 */ 8453 edx = MEM32(eax + 0x4); /* 0x2B02A1B3: mov edx, dword ptr [eax + 4] */ 8454 ecx = MEM32(edx + 0x4); /* 0x2B02A1B6: mov ecx, dword ptr [edx + 4] */ 8455 edx = MEM32(ecx); /* 0x2B02A1B9: mov edx, dword ptr [ecx] */ 8456 edi = MEM32(edx + 0x8); /* 0x2B02A1BB: mov edi, dword ptr [edx + 8] */ 8457 MEM32(ecx) = edi; /* 0x2B02A1BE: mov dword ptr [ecx], edi */ 8458 edi = MEM32(edx + 0x8); /* 0x2B02A1C0: mov edi, dword ptr [edx + 8] */ 8459 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A1C3: cmp edi, dword ptr [esi + 8] */ 8460 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8461 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8462 _flag_k = FK_CMP; 8463 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A1CB; /* 0x2B02A1C6: je 0x2b02a1cb */ 8464 L_2B02A1C8: 8465 MEM32(edi + 0x4) = ecx; /* 0x2B02A1C8: mov dword ptr [edi + 4], ecx */ 8466 L_2B02A1CB: 8467 edi = MEM32(ecx + 0x4); /* 0x2B02A1CB: mov edi, dword ptr [ecx + 4] */ 8468 MEM32(edx + 0x4) = edi; /* 0x2B02A1CE: mov dword ptr [edx + 4], edi */ 8469 edi = MEM32(esi + 0x4); /* 0x2B02A1D1: mov edi, dword ptr [esi + 4] */ 8470 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A1D4: cmp ecx, dword ptr [edi + 4] */ 8471 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 8472 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8473 _flag_k = FK_CMP; 8474 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A1E4; /* 0x2B02A1D7: jne 0x2b02a1e4 */ 8475 L_2B02A1D9: 8476 MEM32(edi + 0x4) = edx; /* 0x2B02A1D9: mov dword ptr [edi + 4], edx */ 8477 MEM32(edx + 0x8) = ecx; /* 0x2B02A1DC: mov dword ptr [edx + 8], ecx */ 8478 goto L_2B02A296; /* 0x2B02A1DF: jmp 0x2b02a296 */ 8479 L_2B02A1E4: 8480 edi = MEM32(ecx + 0x4); /* 0x2B02A1E4: mov edi, dword ptr [ecx + 4] */ 8481 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B02A1E7: cmp ecx, dword ptr [edi + 8] */ 8482 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8483 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8484 _flag_k = FK_CMP; 8485 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A1F7; /* 0x2B02A1EA: jne 0x2b02a1f7 */ 8486 L_2B02A1EC: 8487 MEM32(edi + 0x8) = edx; /* 0x2B02A1EC: mov dword ptr [edi + 8], edx */ 8488 MEM32(edx + 0x8) = ecx; /* 0x2B02A1EF: mov dword ptr [edx + 8], ecx */ 8489 goto L_2B02A296; /* 0x2B02A1F2: jmp 0x2b02a296 */ 8490 L_2B02A1F7: 8491 MEM32(edi) = edx; /* 0x2B02A1F7: mov dword ptr [edi], edx */ 8492 MEM32(edx + 0x8) = ecx; /* 0x2B02A1F9: mov dword ptr [edx + 8], ecx */ 8493 goto L_2B02A296; /* 0x2B02A1FC: jmp 0x2b02a296 */ 8494 L_2B02A201: 8495 /* cmp MEM8(edx + 0x3C), 0 */ /* 0x2B02A201: cmp byte ptr [edx + 0x3c], 0 */ 8496 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(0) << 24; 8497 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8498 _flag_k = FK_NARROW(FK_CMP, 24); 8499 RECOMP_BACKEDGE(); 8500 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A149; /* 0x2B02A205: je 0x2b02a149 */ 8501 L_2B02A20B: 8502 /* cmp eax, MEM32(ecx) */ /* 0x2B02A20B: cmp eax, dword ptr [ecx] */ 8503 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 8504 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8505 _flag_k = FK_CMP; 8506 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A24B; /* 0x2B02A20D: jne 0x2b02a24b */ 8507 L_2B02A20F: 8508 eax = ecx; /* 0x2B02A20F: mov eax, ecx */ 8509 ecx = MEM32(eax); /* 0x2B02A211: mov ecx, dword ptr [eax] */ 8510 edx = MEM32(ecx + 0x8); /* 0x2B02A213: mov edx, dword ptr [ecx + 8] */ 8511 MEM32(eax) = edx; /* 0x2B02A216: mov dword ptr [eax], edx */ 8512 edx = MEM32(ecx + 0x8); /* 0x2B02A218: mov edx, dword ptr [ecx + 8] */ 8513 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A21B: cmp edx, dword ptr [esi + 8] */ 8514 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8515 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8516 _flag_k = FK_CMP; 8517 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A223; /* 0x2B02A21E: je 0x2b02a223 */ 8518 L_2B02A220: 8519 MEM32(edx + 0x4) = eax; /* 0x2B02A220: mov dword ptr [edx + 4], eax */ 8520 L_2B02A223: 8521 edx = MEM32(eax + 0x4); /* 0x2B02A223: mov edx, dword ptr [eax + 4] */ 8522 MEM32(ecx + 0x4) = edx; /* 0x2B02A226: mov dword ptr [ecx + 4], edx */ 8523 edx = MEM32(esi + 0x4); /* 0x2B02A229: mov edx, dword ptr [esi + 4] */ 8524 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A22C: cmp eax, dword ptr [edx + 4] */ 8525 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 8526 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8527 _flag_k = FK_CMP; 8528 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A236; /* 0x2B02A22F: jne 0x2b02a236 */ 8529 L_2B02A231: 8530 MEM32(edx + 0x4) = ecx; /* 0x2B02A231: mov dword ptr [edx + 4], ecx */ 8531 goto L_2B02A245; /* 0x2B02A234: jmp 0x2b02a245 */ 8532 L_2B02A236: 8533 edx = MEM32(eax + 0x4); /* 0x2B02A236: mov edx, dword ptr [eax + 4] */ 8534 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B02A239: cmp eax, dword ptr [edx + 8] */ 8535 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 8536 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8537 _flag_k = FK_CMP; 8538 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A243; /* 0x2B02A23C: jne 0x2b02a243 */ 8539 L_2B02A23E: 8540 MEM32(edx + 0x8) = ecx; /* 0x2B02A23E: mov dword ptr [edx + 8], ecx */ 8541 goto L_2B02A245; /* 0x2B02A241: jmp 0x2b02a245 */ 8542 L_2B02A243: 8543 MEM32(edx) = ecx; /* 0x2B02A243: mov dword ptr [edx], ecx */ 8544 L_2B02A245: 8545 MEM32(ecx + 0x8) = eax; /* 0x2B02A245: mov dword ptr [ecx + 8], eax */ 8546 MEM32(eax + 0x4) = ecx; /* 0x2B02A248: mov dword ptr [eax + 4], ecx */ 8547 L_2B02A24B: 8548 ecx = MEM32(eax + 0x4); /* 0x2B02A24B: mov ecx, dword ptr [eax + 4] */ 8549 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A24E: mov byte ptr [ecx + 0x3c], bl */ 8550 edx = MEM32(eax + 0x4); /* 0x2B02A251: mov edx, dword ptr [eax + 4] */ 8551 ecx = MEM32(edx + 0x4); /* 0x2B02A254: mov ecx, dword ptr [edx + 4] */ 8552 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B02A257: mov byte ptr [ecx + 0x3c], 0 */ 8553 edx = MEM32(eax + 0x4); /* 0x2B02A25B: mov edx, dword ptr [eax + 4] */ 8554 ecx = MEM32(edx + 0x4); /* 0x2B02A25E: mov ecx, dword ptr [edx + 4] */ 8555 edx = MEM32(ecx + 0x8); /* 0x2B02A261: mov edx, dword ptr [ecx + 8] */ 8556 edi = MEM32(edx); /* 0x2B02A264: mov edi, dword ptr [edx] */ 8557 MEM32(ecx + 0x8) = edi; /* 0x2B02A266: mov dword ptr [ecx + 8], edi */ 8558 edi = MEM32(edx); /* 0x2B02A269: mov edi, dword ptr [edx] */ 8559 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A26B: cmp edi, dword ptr [esi + 8] */ 8560 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8561 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8562 _flag_k = FK_CMP; 8563 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A273; /* 0x2B02A26E: je 0x2b02a273 */ 8564 L_2B02A270: 8565 MEM32(edi + 0x4) = ecx; /* 0x2B02A270: mov dword ptr [edi + 4], ecx */ 8566 L_2B02A273: 8567 edi = MEM32(ecx + 0x4); /* 0x2B02A273: mov edi, dword ptr [ecx + 4] */ 8568 MEM32(edx + 0x4) = edi; /* 0x2B02A276: mov dword ptr [edx + 4], edi */ 8569 edi = MEM32(esi + 0x4); /* 0x2B02A279: mov edi, dword ptr [esi + 4] */ 8570 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A27C: cmp ecx, dword ptr [edi + 4] */ 8571 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 8572 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8573 _flag_k = FK_CMP; 8574 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A286; /* 0x2B02A27F: jne 0x2b02a286 */ 8575 L_2B02A281: 8576 MEM32(edi + 0x4) = edx; /* 0x2B02A281: mov dword ptr [edi + 4], edx */ 8577 goto L_2B02A294; /* 0x2B02A284: jmp 0x2b02a294 */ 8578 L_2B02A286: 8579 edi = MEM32(ecx + 0x4); /* 0x2B02A286: mov edi, dword ptr [ecx + 4] */ 8580 /* cmp ecx, MEM32(edi) */ /* 0x2B02A289: cmp ecx, dword ptr [edi] */ 8581 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 8582 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8583 _flag_k = FK_CMP; 8584 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A291; /* 0x2B02A28B: jne 0x2b02a291 */ 8585 L_2B02A28D: 8586 MEM32(edi) = edx; /* 0x2B02A28D: mov dword ptr [edi], edx */ 8587 goto L_2B02A294; /* 0x2B02A28F: jmp 0x2b02a294 */ 8588 L_2B02A291: 8589 MEM32(edi + 0x8) = edx; /* 0x2B02A291: mov dword ptr [edi + 8], edx */ 8590 L_2B02A294: 8591 MEM32(edx) = ecx; /* 0x2B02A294: mov dword ptr [edx], ecx */ 8592 L_2B02A296: 8593 MEM32(ecx + 0x4) = edx; /* 0x2B02A296: mov dword ptr [ecx + 4], edx */ 8594 L_2B02A299: 8595 ecx = MEM32(esi + 0x4); /* 0x2B02A299: mov ecx, dword ptr [esi + 4] */ 8596 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B02A29C: cmp eax, dword ptr [ecx + 4] */ 8597 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 8598 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8599 _flag_k = FK_CMP; 8600 RECOMP_BACKEDGE(); 8601 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A125; /* 0x2B02A29F: jne 0x2b02a125 */ 8602 L_2B02A2A5: 8603 edx = MEM32(esi + 0x4); /* 0x2B02A2A5: mov edx, dword ptr [esi + 4] */ 8604 eax = MEM32(edx + 0x4); /* 0x2B02A2A8: mov eax, dword ptr [edx + 4] */ 8605 ecx = MEM32(ebp + (-0x4)); /* 0x2B02A2AB: mov ecx, dword ptr [ebp - 4] */ 8606 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A2AE: mov byte ptr [eax + 0x3c], bl */ 8607 eax = MEM32(ebp + 0x8); /* 0x2B02A2B1: mov eax, dword ptr [ebp + 8] */ 8608 edi = POP32_VAL(esp); /* 0x2B02A2B4: pop edi */ 8609 esi = POP32_VAL(esp); /* 0x2B02A2B5: pop esi */ 8610 MEM32(eax) = ecx; /* 0x2B02A2B6: mov dword ptr [eax], ecx */ 8611 ebx = POP32_VAL(esp); /* 0x2B02A2B8: pop ebx */ 8612 esp = ebp; /* 0x2B02A2B9: mov esp, ebp */ 8613 ebp = POP32_VAL(esp); /* 0x2B02A2BB: pop ebp */ 8614 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B02A2BC: ret 0x10 */ 8615 RECOMP_REGS_OUT(); 8616 } 8617 8618 void sub_2B02A1A3(void) { 8619 int _fpu_cmp = 0; 8620 uint32_t _cf = 0; 8621 int _df = 1; 8622 uint32_t _flag_k = FK_NONE; 8623 uint32_t _flag_a = 0, _flag_b = 0; 8624 uint32_t _itail_tgt = 0; 8625 RECOMP_REGS_LOCALS 8626 RECOMP_ENTER(0x2B02A1A3u); 8627 8628 goto L_2B02A1A3; 8629 L_2B02A125: 8630 ecx = MEM32(eax + 0x4); /* 0x2B02A125: mov ecx, dword ptr [eax + 4] */ 8631 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B02A128: mov dl, byte ptr [ecx + 0x3c] */ 8632 /* test LO8(edx), LO8(edx) */ /* 0x2B02A12B: test dl, dl */ 8633 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 8634 _cf = 0; 8635 _flag_k = FK_NARROW(FK_TEST, 24); 8636 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02A2A5; /* 0x2B02A12D: jne 0x2b02a2a5 */ 8637 L_2B02A133: 8638 edi = MEM32(ecx + 0x4); /* 0x2B02A133: mov edi, dword ptr [ecx + 4] */ 8639 edx = MEM32(edi); /* 0x2B02A136: mov edx, dword ptr [edi] */ 8640 /* cmp ecx, edx */ /* 0x2B02A138: cmp ecx, edx */ 8641 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 8642 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8643 _flag_k = FK_CMP; 8644 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A201; /* 0x2B02A13A: jne 0x2b02a201 */ 8645 L_2B02A140: 8646 edx = MEM32(edi + 0x8); /* 0x2B02A140: mov edx, dword ptr [edi + 8] */ 8647 /* cmp MEM8(edx + 0x3C), 0 */ /* 0x2B02A143: cmp byte ptr [edx + 0x3c], 0 */ 8648 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(0) << 24; 8649 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8650 _flag_k = FK_NARROW(FK_CMP, 24); 8651 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A164; /* 0x2B02A147: jne 0x2b02a164 */ 8652 L_2B02A149: 8653 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A149: mov byte ptr [ecx + 0x3c], bl */ 8654 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A14C: mov byte ptr [edx + 0x3c], bl */ 8655 ecx = MEM32(eax + 0x4); /* 0x2B02A14F: mov ecx, dword ptr [eax + 4] */ 8656 edx = MEM32(ecx + 0x4); /* 0x2B02A152: mov edx, dword ptr [ecx + 4] */ 8657 MEM8(edx + 0x3C) = (uint8_t)(0); /* 0x2B02A155: mov byte ptr [edx + 0x3c], 0 */ 8658 eax = MEM32(eax + 0x4); /* 0x2B02A159: mov eax, dword ptr [eax + 4] */ 8659 eax = MEM32(eax + 0x4); /* 0x2B02A15C: mov eax, dword ptr [eax + 4] */ 8660 goto L_2B02A299; /* 0x2B02A15F: jmp 0x2b02a299 */ 8661 L_2B02A164: 8662 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B02A164: cmp eax, dword ptr [ecx + 8] */ 8663 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 8664 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8665 _flag_k = FK_CMP; 8666 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A1A3; /* 0x2B02A167: jne 0x2b02a1a3 */ 8667 L_2B02A169: 8668 eax = ecx; /* 0x2B02A169: mov eax, ecx */ 8669 ecx = MEM32(eax + 0x8); /* 0x2B02A16B: mov ecx, dword ptr [eax + 8] */ 8670 edx = MEM32(ecx); /* 0x2B02A16E: mov edx, dword ptr [ecx] */ 8671 MEM32(eax + 0x8) = edx; /* 0x2B02A170: mov dword ptr [eax + 8], edx */ 8672 edx = MEM32(ecx); /* 0x2B02A173: mov edx, dword ptr [ecx] */ 8673 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A175: cmp edx, dword ptr [esi + 8] */ 8674 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8675 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8676 _flag_k = FK_CMP; 8677 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A17D; /* 0x2B02A178: je 0x2b02a17d */ 8678 L_2B02A17A: 8679 MEM32(edx + 0x4) = eax; /* 0x2B02A17A: mov dword ptr [edx + 4], eax */ 8680 L_2B02A17D: 8681 edx = MEM32(eax + 0x4); /* 0x2B02A17D: mov edx, dword ptr [eax + 4] */ 8682 MEM32(ecx + 0x4) = edx; /* 0x2B02A180: mov dword ptr [ecx + 4], edx */ 8683 edx = MEM32(esi + 0x4); /* 0x2B02A183: mov edx, dword ptr [esi + 4] */ 8684 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A186: cmp eax, dword ptr [edx + 4] */ 8685 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 8686 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8687 _flag_k = FK_CMP; 8688 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A190; /* 0x2B02A189: jne 0x2b02a190 */ 8689 L_2B02A18B: 8690 MEM32(edx + 0x4) = ecx; /* 0x2B02A18B: mov dword ptr [edx + 4], ecx */ 8691 goto L_2B02A19E; /* 0x2B02A18E: jmp 0x2b02a19e */ 8692 L_2B02A190: 8693 edx = MEM32(eax + 0x4); /* 0x2B02A190: mov edx, dword ptr [eax + 4] */ 8694 /* cmp eax, MEM32(edx) */ /* 0x2B02A193: cmp eax, dword ptr [edx] */ 8695 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 8696 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8697 _flag_k = FK_CMP; 8698 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A19B; /* 0x2B02A195: jne 0x2b02a19b */ 8699 L_2B02A197: 8700 MEM32(edx) = ecx; /* 0x2B02A197: mov dword ptr [edx], ecx */ 8701 goto L_2B02A19E; /* 0x2B02A199: jmp 0x2b02a19e */ 8702 L_2B02A19B: 8703 MEM32(edx + 0x8) = ecx; /* 0x2B02A19B: mov dword ptr [edx + 8], ecx */ 8704 L_2B02A19E: 8705 MEM32(ecx) = eax; /* 0x2B02A19E: mov dword ptr [ecx], eax */ 8706 MEM32(eax + 0x4) = ecx; /* 0x2B02A1A0: mov dword ptr [eax + 4], ecx */ 8707 L_2B02A1A3: 8708 ecx = MEM32(eax + 0x4); /* 0x2B02A1A3: mov ecx, dword ptr [eax + 4] */ 8709 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A1A6: mov byte ptr [ecx + 0x3c], bl */ 8710 edx = MEM32(eax + 0x4); /* 0x2B02A1A9: mov edx, dword ptr [eax + 4] */ 8711 ecx = MEM32(edx + 0x4); /* 0x2B02A1AC: mov ecx, dword ptr [edx + 4] */ 8712 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B02A1AF: mov byte ptr [ecx + 0x3c], 0 */ 8713 edx = MEM32(eax + 0x4); /* 0x2B02A1B3: mov edx, dword ptr [eax + 4] */ 8714 ecx = MEM32(edx + 0x4); /* 0x2B02A1B6: mov ecx, dword ptr [edx + 4] */ 8715 edx = MEM32(ecx); /* 0x2B02A1B9: mov edx, dword ptr [ecx] */ 8716 edi = MEM32(edx + 0x8); /* 0x2B02A1BB: mov edi, dword ptr [edx + 8] */ 8717 MEM32(ecx) = edi; /* 0x2B02A1BE: mov dword ptr [ecx], edi */ 8718 edi = MEM32(edx + 0x8); /* 0x2B02A1C0: mov edi, dword ptr [edx + 8] */ 8719 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A1C3: cmp edi, dword ptr [esi + 8] */ 8720 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8721 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8722 _flag_k = FK_CMP; 8723 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A1CB; /* 0x2B02A1C6: je 0x2b02a1cb */ 8724 L_2B02A1C8: 8725 MEM32(edi + 0x4) = ecx; /* 0x2B02A1C8: mov dword ptr [edi + 4], ecx */ 8726 L_2B02A1CB: 8727 edi = MEM32(ecx + 0x4); /* 0x2B02A1CB: mov edi, dword ptr [ecx + 4] */ 8728 MEM32(edx + 0x4) = edi; /* 0x2B02A1CE: mov dword ptr [edx + 4], edi */ 8729 edi = MEM32(esi + 0x4); /* 0x2B02A1D1: mov edi, dword ptr [esi + 4] */ 8730 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A1D4: cmp ecx, dword ptr [edi + 4] */ 8731 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 8732 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8733 _flag_k = FK_CMP; 8734 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A1E4; /* 0x2B02A1D7: jne 0x2b02a1e4 */ 8735 L_2B02A1D9: 8736 MEM32(edi + 0x4) = edx; /* 0x2B02A1D9: mov dword ptr [edi + 4], edx */ 8737 MEM32(edx + 0x8) = ecx; /* 0x2B02A1DC: mov dword ptr [edx + 8], ecx */ 8738 goto L_2B02A296; /* 0x2B02A1DF: jmp 0x2b02a296 */ 8739 L_2B02A1E4: 8740 edi = MEM32(ecx + 0x4); /* 0x2B02A1E4: mov edi, dword ptr [ecx + 4] */ 8741 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B02A1E7: cmp ecx, dword ptr [edi + 8] */ 8742 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8743 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8744 _flag_k = FK_CMP; 8745 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A1F7; /* 0x2B02A1EA: jne 0x2b02a1f7 */ 8746 L_2B02A1EC: 8747 MEM32(edi + 0x8) = edx; /* 0x2B02A1EC: mov dword ptr [edi + 8], edx */ 8748 MEM32(edx + 0x8) = ecx; /* 0x2B02A1EF: mov dword ptr [edx + 8], ecx */ 8749 goto L_2B02A296; /* 0x2B02A1F2: jmp 0x2b02a296 */ 8750 L_2B02A1F7: 8751 MEM32(edi) = edx; /* 0x2B02A1F7: mov dword ptr [edi], edx */ 8752 MEM32(edx + 0x8) = ecx; /* 0x2B02A1F9: mov dword ptr [edx + 8], ecx */ 8753 goto L_2B02A296; /* 0x2B02A1FC: jmp 0x2b02a296 */ 8754 L_2B02A201: 8755 /* cmp MEM8(edx + 0x3C), 0 */ /* 0x2B02A201: cmp byte ptr [edx + 0x3c], 0 */ 8756 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(0) << 24; 8757 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8758 _flag_k = FK_NARROW(FK_CMP, 24); 8759 RECOMP_BACKEDGE(); 8760 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A149; /* 0x2B02A205: je 0x2b02a149 */ 8761 L_2B02A20B: 8762 /* cmp eax, MEM32(ecx) */ /* 0x2B02A20B: cmp eax, dword ptr [ecx] */ 8763 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 8764 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8765 _flag_k = FK_CMP; 8766 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A24B; /* 0x2B02A20D: jne 0x2b02a24b */ 8767 L_2B02A20F: 8768 eax = ecx; /* 0x2B02A20F: mov eax, ecx */ 8769 ecx = MEM32(eax); /* 0x2B02A211: mov ecx, dword ptr [eax] */ 8770 edx = MEM32(ecx + 0x8); /* 0x2B02A213: mov edx, dword ptr [ecx + 8] */ 8771 MEM32(eax) = edx; /* 0x2B02A216: mov dword ptr [eax], edx */ 8772 edx = MEM32(ecx + 0x8); /* 0x2B02A218: mov edx, dword ptr [ecx + 8] */ 8773 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A21B: cmp edx, dword ptr [esi + 8] */ 8774 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8775 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8776 _flag_k = FK_CMP; 8777 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A223; /* 0x2B02A21E: je 0x2b02a223 */ 8778 L_2B02A220: 8779 MEM32(edx + 0x4) = eax; /* 0x2B02A220: mov dword ptr [edx + 4], eax */ 8780 L_2B02A223: 8781 edx = MEM32(eax + 0x4); /* 0x2B02A223: mov edx, dword ptr [eax + 4] */ 8782 MEM32(ecx + 0x4) = edx; /* 0x2B02A226: mov dword ptr [ecx + 4], edx */ 8783 edx = MEM32(esi + 0x4); /* 0x2B02A229: mov edx, dword ptr [esi + 4] */ 8784 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A22C: cmp eax, dword ptr [edx + 4] */ 8785 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 8786 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8787 _flag_k = FK_CMP; 8788 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A236; /* 0x2B02A22F: jne 0x2b02a236 */ 8789 L_2B02A231: 8790 MEM32(edx + 0x4) = ecx; /* 0x2B02A231: mov dword ptr [edx + 4], ecx */ 8791 goto L_2B02A245; /* 0x2B02A234: jmp 0x2b02a245 */ 8792 L_2B02A236: 8793 edx = MEM32(eax + 0x4); /* 0x2B02A236: mov edx, dword ptr [eax + 4] */ 8794 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B02A239: cmp eax, dword ptr [edx + 8] */ 8795 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 8796 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8797 _flag_k = FK_CMP; 8798 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A243; /* 0x2B02A23C: jne 0x2b02a243 */ 8799 L_2B02A23E: 8800 MEM32(edx + 0x8) = ecx; /* 0x2B02A23E: mov dword ptr [edx + 8], ecx */ 8801 goto L_2B02A245; /* 0x2B02A241: jmp 0x2b02a245 */ 8802 L_2B02A243: 8803 MEM32(edx) = ecx; /* 0x2B02A243: mov dword ptr [edx], ecx */ 8804 L_2B02A245: 8805 MEM32(ecx + 0x8) = eax; /* 0x2B02A245: mov dword ptr [ecx + 8], eax */ 8806 MEM32(eax + 0x4) = ecx; /* 0x2B02A248: mov dword ptr [eax + 4], ecx */ 8807 L_2B02A24B: 8808 ecx = MEM32(eax + 0x4); /* 0x2B02A24B: mov ecx, dword ptr [eax + 4] */ 8809 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A24E: mov byte ptr [ecx + 0x3c], bl */ 8810 edx = MEM32(eax + 0x4); /* 0x2B02A251: mov edx, dword ptr [eax + 4] */ 8811 ecx = MEM32(edx + 0x4); /* 0x2B02A254: mov ecx, dword ptr [edx + 4] */ 8812 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B02A257: mov byte ptr [ecx + 0x3c], 0 */ 8813 edx = MEM32(eax + 0x4); /* 0x2B02A25B: mov edx, dword ptr [eax + 4] */ 8814 ecx = MEM32(edx + 0x4); /* 0x2B02A25E: mov ecx, dword ptr [edx + 4] */ 8815 edx = MEM32(ecx + 0x8); /* 0x2B02A261: mov edx, dword ptr [ecx + 8] */ 8816 edi = MEM32(edx); /* 0x2B02A264: mov edi, dword ptr [edx] */ 8817 MEM32(ecx + 0x8) = edi; /* 0x2B02A266: mov dword ptr [ecx + 8], edi */ 8818 edi = MEM32(edx); /* 0x2B02A269: mov edi, dword ptr [edx] */ 8819 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A26B: cmp edi, dword ptr [esi + 8] */ 8820 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8821 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8822 _flag_k = FK_CMP; 8823 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A273; /* 0x2B02A26E: je 0x2b02a273 */ 8824 L_2B02A270: 8825 MEM32(edi + 0x4) = ecx; /* 0x2B02A270: mov dword ptr [edi + 4], ecx */ 8826 L_2B02A273: 8827 edi = MEM32(ecx + 0x4); /* 0x2B02A273: mov edi, dword ptr [ecx + 4] */ 8828 MEM32(edx + 0x4) = edi; /* 0x2B02A276: mov dword ptr [edx + 4], edi */ 8829 edi = MEM32(esi + 0x4); /* 0x2B02A279: mov edi, dword ptr [esi + 4] */ 8830 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A27C: cmp ecx, dword ptr [edi + 4] */ 8831 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 8832 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8833 _flag_k = FK_CMP; 8834 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A286; /* 0x2B02A27F: jne 0x2b02a286 */ 8835 L_2B02A281: 8836 MEM32(edi + 0x4) = edx; /* 0x2B02A281: mov dword ptr [edi + 4], edx */ 8837 goto L_2B02A294; /* 0x2B02A284: jmp 0x2b02a294 */ 8838 L_2B02A286: 8839 edi = MEM32(ecx + 0x4); /* 0x2B02A286: mov edi, dword ptr [ecx + 4] */ 8840 /* cmp ecx, MEM32(edi) */ /* 0x2B02A289: cmp ecx, dword ptr [edi] */ 8841 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 8842 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8843 _flag_k = FK_CMP; 8844 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A291; /* 0x2B02A28B: jne 0x2b02a291 */ 8845 L_2B02A28D: 8846 MEM32(edi) = edx; /* 0x2B02A28D: mov dword ptr [edi], edx */ 8847 goto L_2B02A294; /* 0x2B02A28F: jmp 0x2b02a294 */ 8848 L_2B02A291: 8849 MEM32(edi + 0x8) = edx; /* 0x2B02A291: mov dword ptr [edi + 8], edx */ 8850 L_2B02A294: 8851 MEM32(edx) = ecx; /* 0x2B02A294: mov dword ptr [edx], ecx */ 8852 L_2B02A296: 8853 MEM32(ecx + 0x4) = edx; /* 0x2B02A296: mov dword ptr [ecx + 4], edx */ 8854 L_2B02A299: 8855 ecx = MEM32(esi + 0x4); /* 0x2B02A299: mov ecx, dword ptr [esi + 4] */ 8856 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B02A29C: cmp eax, dword ptr [ecx + 4] */ 8857 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 8858 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8859 _flag_k = FK_CMP; 8860 RECOMP_BACKEDGE(); 8861 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A125; /* 0x2B02A29F: jne 0x2b02a125 */ 8862 L_2B02A2A5: 8863 edx = MEM32(esi + 0x4); /* 0x2B02A2A5: mov edx, dword ptr [esi + 4] */ 8864 eax = MEM32(edx + 0x4); /* 0x2B02A2A8: mov eax, dword ptr [edx + 4] */ 8865 ecx = MEM32(ebp + (-0x4)); /* 0x2B02A2AB: mov ecx, dword ptr [ebp - 4] */ 8866 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A2AE: mov byte ptr [eax + 0x3c], bl */ 8867 eax = MEM32(ebp + 0x8); /* 0x2B02A2B1: mov eax, dword ptr [ebp + 8] */ 8868 edi = POP32_VAL(esp); /* 0x2B02A2B4: pop edi */ 8869 esi = POP32_VAL(esp); /* 0x2B02A2B5: pop esi */ 8870 MEM32(eax) = ecx; /* 0x2B02A2B6: mov dword ptr [eax], ecx */ 8871 ebx = POP32_VAL(esp); /* 0x2B02A2B8: pop ebx */ 8872 esp = ebp; /* 0x2B02A2B9: mov esp, ebp */ 8873 ebp = POP32_VAL(esp); /* 0x2B02A2BB: pop ebp */ 8874 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B02A2BC: ret 0x10 */ 8875 RECOMP_REGS_OUT(); 8876 } 8877 8878 void sub_2B02A201(void) { 8879 int _fpu_cmp = 0; 8880 uint32_t _cf = 0; 8881 int _df = 1; 8882 uint32_t _flag_k = FK_NONE; 8883 uint32_t _flag_a = 0, _flag_b = 0; 8884 uint32_t _itail_tgt = 0; 8885 RECOMP_REGS_LOCALS 8886 RECOMP_ENTER(0x2B02A201u); 8887 8888 goto L_2B02A201; 8889 L_2B02A125: 8890 ecx = MEM32(eax + 0x4); /* 0x2B02A125: mov ecx, dword ptr [eax + 4] */ 8891 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B02A128: mov dl, byte ptr [ecx + 0x3c] */ 8892 /* test LO8(edx), LO8(edx) */ /* 0x2B02A12B: test dl, dl */ 8893 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 8894 _cf = 0; 8895 _flag_k = FK_NARROW(FK_TEST, 24); 8896 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02A2A5; /* 0x2B02A12D: jne 0x2b02a2a5 */ 8897 L_2B02A133: 8898 edi = MEM32(ecx + 0x4); /* 0x2B02A133: mov edi, dword ptr [ecx + 4] */ 8899 edx = MEM32(edi); /* 0x2B02A136: mov edx, dword ptr [edi] */ 8900 /* cmp ecx, edx */ /* 0x2B02A138: cmp ecx, edx */ 8901 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 8902 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8903 _flag_k = FK_CMP; 8904 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A201; /* 0x2B02A13A: jne 0x2b02a201 */ 8905 L_2B02A140: 8906 edx = MEM32(edi + 0x8); /* 0x2B02A140: mov edx, dword ptr [edi + 8] */ 8907 /* cmp MEM8(edx + 0x3C), 0 */ /* 0x2B02A143: cmp byte ptr [edx + 0x3c], 0 */ 8908 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(0) << 24; 8909 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8910 _flag_k = FK_NARROW(FK_CMP, 24); 8911 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A164; /* 0x2B02A147: jne 0x2b02a164 */ 8912 L_2B02A149: 8913 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A149: mov byte ptr [ecx + 0x3c], bl */ 8914 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A14C: mov byte ptr [edx + 0x3c], bl */ 8915 ecx = MEM32(eax + 0x4); /* 0x2B02A14F: mov ecx, dword ptr [eax + 4] */ 8916 edx = MEM32(ecx + 0x4); /* 0x2B02A152: mov edx, dword ptr [ecx + 4] */ 8917 MEM8(edx + 0x3C) = (uint8_t)(0); /* 0x2B02A155: mov byte ptr [edx + 0x3c], 0 */ 8918 eax = MEM32(eax + 0x4); /* 0x2B02A159: mov eax, dword ptr [eax + 4] */ 8919 eax = MEM32(eax + 0x4); /* 0x2B02A15C: mov eax, dword ptr [eax + 4] */ 8920 goto L_2B02A299; /* 0x2B02A15F: jmp 0x2b02a299 */ 8921 L_2B02A164: 8922 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B02A164: cmp eax, dword ptr [ecx + 8] */ 8923 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 8924 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8925 _flag_k = FK_CMP; 8926 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A1A3; /* 0x2B02A167: jne 0x2b02a1a3 */ 8927 L_2B02A169: 8928 eax = ecx; /* 0x2B02A169: mov eax, ecx */ 8929 ecx = MEM32(eax + 0x8); /* 0x2B02A16B: mov ecx, dword ptr [eax + 8] */ 8930 edx = MEM32(ecx); /* 0x2B02A16E: mov edx, dword ptr [ecx] */ 8931 MEM32(eax + 0x8) = edx; /* 0x2B02A170: mov dword ptr [eax + 8], edx */ 8932 edx = MEM32(ecx); /* 0x2B02A173: mov edx, dword ptr [ecx] */ 8933 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A175: cmp edx, dword ptr [esi + 8] */ 8934 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8935 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8936 _flag_k = FK_CMP; 8937 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A17D; /* 0x2B02A178: je 0x2b02a17d */ 8938 L_2B02A17A: 8939 MEM32(edx + 0x4) = eax; /* 0x2B02A17A: mov dword ptr [edx + 4], eax */ 8940 L_2B02A17D: 8941 edx = MEM32(eax + 0x4); /* 0x2B02A17D: mov edx, dword ptr [eax + 4] */ 8942 MEM32(ecx + 0x4) = edx; /* 0x2B02A180: mov dword ptr [ecx + 4], edx */ 8943 edx = MEM32(esi + 0x4); /* 0x2B02A183: mov edx, dword ptr [esi + 4] */ 8944 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A186: cmp eax, dword ptr [edx + 4] */ 8945 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 8946 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8947 _flag_k = FK_CMP; 8948 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A190; /* 0x2B02A189: jne 0x2b02a190 */ 8949 L_2B02A18B: 8950 MEM32(edx + 0x4) = ecx; /* 0x2B02A18B: mov dword ptr [edx + 4], ecx */ 8951 goto L_2B02A19E; /* 0x2B02A18E: jmp 0x2b02a19e */ 8952 L_2B02A190: 8953 edx = MEM32(eax + 0x4); /* 0x2B02A190: mov edx, dword ptr [eax + 4] */ 8954 /* cmp eax, MEM32(edx) */ /* 0x2B02A193: cmp eax, dword ptr [edx] */ 8955 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 8956 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8957 _flag_k = FK_CMP; 8958 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A19B; /* 0x2B02A195: jne 0x2b02a19b */ 8959 L_2B02A197: 8960 MEM32(edx) = ecx; /* 0x2B02A197: mov dword ptr [edx], ecx */ 8961 goto L_2B02A19E; /* 0x2B02A199: jmp 0x2b02a19e */ 8962 L_2B02A19B: 8963 MEM32(edx + 0x8) = ecx; /* 0x2B02A19B: mov dword ptr [edx + 8], ecx */ 8964 L_2B02A19E: 8965 MEM32(ecx) = eax; /* 0x2B02A19E: mov dword ptr [ecx], eax */ 8966 MEM32(eax + 0x4) = ecx; /* 0x2B02A1A0: mov dword ptr [eax + 4], ecx */ 8967 L_2B02A1A3: 8968 ecx = MEM32(eax + 0x4); /* 0x2B02A1A3: mov ecx, dword ptr [eax + 4] */ 8969 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A1A6: mov byte ptr [ecx + 0x3c], bl */ 8970 edx = MEM32(eax + 0x4); /* 0x2B02A1A9: mov edx, dword ptr [eax + 4] */ 8971 ecx = MEM32(edx + 0x4); /* 0x2B02A1AC: mov ecx, dword ptr [edx + 4] */ 8972 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B02A1AF: mov byte ptr [ecx + 0x3c], 0 */ 8973 edx = MEM32(eax + 0x4); /* 0x2B02A1B3: mov edx, dword ptr [eax + 4] */ 8974 ecx = MEM32(edx + 0x4); /* 0x2B02A1B6: mov ecx, dword ptr [edx + 4] */ 8975 edx = MEM32(ecx); /* 0x2B02A1B9: mov edx, dword ptr [ecx] */ 8976 edi = MEM32(edx + 0x8); /* 0x2B02A1BB: mov edi, dword ptr [edx + 8] */ 8977 MEM32(ecx) = edi; /* 0x2B02A1BE: mov dword ptr [ecx], edi */ 8978 edi = MEM32(edx + 0x8); /* 0x2B02A1C0: mov edi, dword ptr [edx + 8] */ 8979 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A1C3: cmp edi, dword ptr [esi + 8] */ 8980 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8981 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8982 _flag_k = FK_CMP; 8983 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A1CB; /* 0x2B02A1C6: je 0x2b02a1cb */ 8984 L_2B02A1C8: 8985 MEM32(edi + 0x4) = ecx; /* 0x2B02A1C8: mov dword ptr [edi + 4], ecx */ 8986 L_2B02A1CB: 8987 edi = MEM32(ecx + 0x4); /* 0x2B02A1CB: mov edi, dword ptr [ecx + 4] */ 8988 MEM32(edx + 0x4) = edi; /* 0x2B02A1CE: mov dword ptr [edx + 4], edi */ 8989 edi = MEM32(esi + 0x4); /* 0x2B02A1D1: mov edi, dword ptr [esi + 4] */ 8990 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A1D4: cmp ecx, dword ptr [edi + 4] */ 8991 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 8992 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8993 _flag_k = FK_CMP; 8994 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A1E4; /* 0x2B02A1D7: jne 0x2b02a1e4 */ 8995 L_2B02A1D9: 8996 MEM32(edi + 0x4) = edx; /* 0x2B02A1D9: mov dword ptr [edi + 4], edx */ 8997 MEM32(edx + 0x8) = ecx; /* 0x2B02A1DC: mov dword ptr [edx + 8], ecx */ 8998 goto L_2B02A296; /* 0x2B02A1DF: jmp 0x2b02a296 */ 8999 L_2B02A1E4: 9000 edi = MEM32(ecx + 0x4); /* 0x2B02A1E4: mov edi, dword ptr [ecx + 4] */ 9001 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B02A1E7: cmp ecx, dword ptr [edi + 8] */ 9002 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9003 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9004 _flag_k = FK_CMP; 9005 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A1F7; /* 0x2B02A1EA: jne 0x2b02a1f7 */ 9006 L_2B02A1EC: 9007 MEM32(edi + 0x8) = edx; /* 0x2B02A1EC: mov dword ptr [edi + 8], edx */ 9008 MEM32(edx + 0x8) = ecx; /* 0x2B02A1EF: mov dword ptr [edx + 8], ecx */ 9009 goto L_2B02A296; /* 0x2B02A1F2: jmp 0x2b02a296 */ 9010 L_2B02A1F7: 9011 MEM32(edi) = edx; /* 0x2B02A1F7: mov dword ptr [edi], edx */ 9012 MEM32(edx + 0x8) = ecx; /* 0x2B02A1F9: mov dword ptr [edx + 8], ecx */ 9013 goto L_2B02A296; /* 0x2B02A1FC: jmp 0x2b02a296 */ 9014 L_2B02A201: 9015 /* cmp MEM8(edx + 0x3C), 0 */ /* 0x2B02A201: cmp byte ptr [edx + 0x3c], 0 */ 9016 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(0) << 24; 9017 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9018 _flag_k = FK_NARROW(FK_CMP, 24); 9019 RECOMP_BACKEDGE(); 9020 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A149; /* 0x2B02A205: je 0x2b02a149 */ 9021 L_2B02A20B: 9022 /* cmp eax, MEM32(ecx) */ /* 0x2B02A20B: cmp eax, dword ptr [ecx] */ 9023 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 9024 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9025 _flag_k = FK_CMP; 9026 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A24B; /* 0x2B02A20D: jne 0x2b02a24b */ 9027 L_2B02A20F: 9028 eax = ecx; /* 0x2B02A20F: mov eax, ecx */ 9029 ecx = MEM32(eax); /* 0x2B02A211: mov ecx, dword ptr [eax] */ 9030 edx = MEM32(ecx + 0x8); /* 0x2B02A213: mov edx, dword ptr [ecx + 8] */ 9031 MEM32(eax) = edx; /* 0x2B02A216: mov dword ptr [eax], edx */ 9032 edx = MEM32(ecx + 0x8); /* 0x2B02A218: mov edx, dword ptr [ecx + 8] */ 9033 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A21B: cmp edx, dword ptr [esi + 8] */ 9034 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9035 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9036 _flag_k = FK_CMP; 9037 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A223; /* 0x2B02A21E: je 0x2b02a223 */ 9038 L_2B02A220: 9039 MEM32(edx + 0x4) = eax; /* 0x2B02A220: mov dword ptr [edx + 4], eax */ 9040 L_2B02A223: 9041 edx = MEM32(eax + 0x4); /* 0x2B02A223: mov edx, dword ptr [eax + 4] */ 9042 MEM32(ecx + 0x4) = edx; /* 0x2B02A226: mov dword ptr [ecx + 4], edx */ 9043 edx = MEM32(esi + 0x4); /* 0x2B02A229: mov edx, dword ptr [esi + 4] */ 9044 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A22C: cmp eax, dword ptr [edx + 4] */ 9045 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 9046 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9047 _flag_k = FK_CMP; 9048 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A236; /* 0x2B02A22F: jne 0x2b02a236 */ 9049 L_2B02A231: 9050 MEM32(edx + 0x4) = ecx; /* 0x2B02A231: mov dword ptr [edx + 4], ecx */ 9051 goto L_2B02A245; /* 0x2B02A234: jmp 0x2b02a245 */ 9052 L_2B02A236: 9053 edx = MEM32(eax + 0x4); /* 0x2B02A236: mov edx, dword ptr [eax + 4] */ 9054 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B02A239: cmp eax, dword ptr [edx + 8] */ 9055 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 9056 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9057 _flag_k = FK_CMP; 9058 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A243; /* 0x2B02A23C: jne 0x2b02a243 */ 9059 L_2B02A23E: 9060 MEM32(edx + 0x8) = ecx; /* 0x2B02A23E: mov dword ptr [edx + 8], ecx */ 9061 goto L_2B02A245; /* 0x2B02A241: jmp 0x2b02a245 */ 9062 L_2B02A243: 9063 MEM32(edx) = ecx; /* 0x2B02A243: mov dword ptr [edx], ecx */ 9064 L_2B02A245: 9065 MEM32(ecx + 0x8) = eax; /* 0x2B02A245: mov dword ptr [ecx + 8], eax */ 9066 MEM32(eax + 0x4) = ecx; /* 0x2B02A248: mov dword ptr [eax + 4], ecx */ 9067 L_2B02A24B: 9068 ecx = MEM32(eax + 0x4); /* 0x2B02A24B: mov ecx, dword ptr [eax + 4] */ 9069 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A24E: mov byte ptr [ecx + 0x3c], bl */ 9070 edx = MEM32(eax + 0x4); /* 0x2B02A251: mov edx, dword ptr [eax + 4] */ 9071 ecx = MEM32(edx + 0x4); /* 0x2B02A254: mov ecx, dword ptr [edx + 4] */ 9072 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B02A257: mov byte ptr [ecx + 0x3c], 0 */ 9073 edx = MEM32(eax + 0x4); /* 0x2B02A25B: mov edx, dword ptr [eax + 4] */ 9074 ecx = MEM32(edx + 0x4); /* 0x2B02A25E: mov ecx, dword ptr [edx + 4] */ 9075 edx = MEM32(ecx + 0x8); /* 0x2B02A261: mov edx, dword ptr [ecx + 8] */ 9076 edi = MEM32(edx); /* 0x2B02A264: mov edi, dword ptr [edx] */ 9077 MEM32(ecx + 0x8) = edi; /* 0x2B02A266: mov dword ptr [ecx + 8], edi */ 9078 edi = MEM32(edx); /* 0x2B02A269: mov edi, dword ptr [edx] */ 9079 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A26B: cmp edi, dword ptr [esi + 8] */ 9080 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9081 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9082 _flag_k = FK_CMP; 9083 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A273; /* 0x2B02A26E: je 0x2b02a273 */ 9084 L_2B02A270: 9085 MEM32(edi + 0x4) = ecx; /* 0x2B02A270: mov dword ptr [edi + 4], ecx */ 9086 L_2B02A273: 9087 edi = MEM32(ecx + 0x4); /* 0x2B02A273: mov edi, dword ptr [ecx + 4] */ 9088 MEM32(edx + 0x4) = edi; /* 0x2B02A276: mov dword ptr [edx + 4], edi */ 9089 edi = MEM32(esi + 0x4); /* 0x2B02A279: mov edi, dword ptr [esi + 4] */ 9090 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A27C: cmp ecx, dword ptr [edi + 4] */ 9091 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 9092 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9093 _flag_k = FK_CMP; 9094 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A286; /* 0x2B02A27F: jne 0x2b02a286 */ 9095 L_2B02A281: 9096 MEM32(edi + 0x4) = edx; /* 0x2B02A281: mov dword ptr [edi + 4], edx */ 9097 goto L_2B02A294; /* 0x2B02A284: jmp 0x2b02a294 */ 9098 L_2B02A286: 9099 edi = MEM32(ecx + 0x4); /* 0x2B02A286: mov edi, dword ptr [ecx + 4] */ 9100 /* cmp ecx, MEM32(edi) */ /* 0x2B02A289: cmp ecx, dword ptr [edi] */ 9101 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 9102 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9103 _flag_k = FK_CMP; 9104 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A291; /* 0x2B02A28B: jne 0x2b02a291 */ 9105 L_2B02A28D: 9106 MEM32(edi) = edx; /* 0x2B02A28D: mov dword ptr [edi], edx */ 9107 goto L_2B02A294; /* 0x2B02A28F: jmp 0x2b02a294 */ 9108 L_2B02A291: 9109 MEM32(edi + 0x8) = edx; /* 0x2B02A291: mov dword ptr [edi + 8], edx */ 9110 L_2B02A294: 9111 MEM32(edx) = ecx; /* 0x2B02A294: mov dword ptr [edx], ecx */ 9112 L_2B02A296: 9113 MEM32(ecx + 0x4) = edx; /* 0x2B02A296: mov dword ptr [ecx + 4], edx */ 9114 L_2B02A299: 9115 ecx = MEM32(esi + 0x4); /* 0x2B02A299: mov ecx, dword ptr [esi + 4] */ 9116 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B02A29C: cmp eax, dword ptr [ecx + 4] */ 9117 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 9118 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9119 _flag_k = FK_CMP; 9120 RECOMP_BACKEDGE(); 9121 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A125; /* 0x2B02A29F: jne 0x2b02a125 */ 9122 L_2B02A2A5: 9123 edx = MEM32(esi + 0x4); /* 0x2B02A2A5: mov edx, dword ptr [esi + 4] */ 9124 eax = MEM32(edx + 0x4); /* 0x2B02A2A8: mov eax, dword ptr [edx + 4] */ 9125 ecx = MEM32(ebp + (-0x4)); /* 0x2B02A2AB: mov ecx, dword ptr [ebp - 4] */ 9126 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A2AE: mov byte ptr [eax + 0x3c], bl */ 9127 eax = MEM32(ebp + 0x8); /* 0x2B02A2B1: mov eax, dword ptr [ebp + 8] */ 9128 edi = POP32_VAL(esp); /* 0x2B02A2B4: pop edi */ 9129 esi = POP32_VAL(esp); /* 0x2B02A2B5: pop esi */ 9130 MEM32(eax) = ecx; /* 0x2B02A2B6: mov dword ptr [eax], ecx */ 9131 ebx = POP32_VAL(esp); /* 0x2B02A2B8: pop ebx */ 9132 esp = ebp; /* 0x2B02A2B9: mov esp, ebp */ 9133 ebp = POP32_VAL(esp); /* 0x2B02A2BB: pop ebp */ 9134 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B02A2BC: ret 0x10 */ 9135 RECOMP_REGS_OUT(); 9136 } 9137 9138 void sub_2B02A245(void) { 9139 int _fpu_cmp = 0; 9140 uint32_t _cf = 0; 9141 int _df = 1; 9142 uint32_t _flag_k = FK_NONE; 9143 uint32_t _flag_a = 0, _flag_b = 0; 9144 uint32_t _itail_tgt = 0; 9145 RECOMP_REGS_LOCALS 9146 RECOMP_ENTER(0x2B02A245u); 9147 9148 goto L_2B02A245; 9149 L_2B02A125: 9150 ecx = MEM32(eax + 0x4); /* 0x2B02A125: mov ecx, dword ptr [eax + 4] */ 9151 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B02A128: mov dl, byte ptr [ecx + 0x3c] */ 9152 /* test LO8(edx), LO8(edx) */ /* 0x2B02A12B: test dl, dl */ 9153 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 9154 _cf = 0; 9155 _flag_k = FK_NARROW(FK_TEST, 24); 9156 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02A2A5; /* 0x2B02A12D: jne 0x2b02a2a5 */ 9157 L_2B02A133: 9158 edi = MEM32(ecx + 0x4); /* 0x2B02A133: mov edi, dword ptr [ecx + 4] */ 9159 edx = MEM32(edi); /* 0x2B02A136: mov edx, dword ptr [edi] */ 9160 /* cmp ecx, edx */ /* 0x2B02A138: cmp ecx, edx */ 9161 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 9162 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9163 _flag_k = FK_CMP; 9164 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A201; /* 0x2B02A13A: jne 0x2b02a201 */ 9165 L_2B02A140: 9166 edx = MEM32(edi + 0x8); /* 0x2B02A140: mov edx, dword ptr [edi + 8] */ 9167 /* cmp MEM8(edx + 0x3C), 0 */ /* 0x2B02A143: cmp byte ptr [edx + 0x3c], 0 */ 9168 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(0) << 24; 9169 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9170 _flag_k = FK_NARROW(FK_CMP, 24); 9171 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A164; /* 0x2B02A147: jne 0x2b02a164 */ 9172 L_2B02A149: 9173 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A149: mov byte ptr [ecx + 0x3c], bl */ 9174 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A14C: mov byte ptr [edx + 0x3c], bl */ 9175 ecx = MEM32(eax + 0x4); /* 0x2B02A14F: mov ecx, dword ptr [eax + 4] */ 9176 edx = MEM32(ecx + 0x4); /* 0x2B02A152: mov edx, dword ptr [ecx + 4] */ 9177 MEM8(edx + 0x3C) = (uint8_t)(0); /* 0x2B02A155: mov byte ptr [edx + 0x3c], 0 */ 9178 eax = MEM32(eax + 0x4); /* 0x2B02A159: mov eax, dword ptr [eax + 4] */ 9179 eax = MEM32(eax + 0x4); /* 0x2B02A15C: mov eax, dword ptr [eax + 4] */ 9180 goto L_2B02A299; /* 0x2B02A15F: jmp 0x2b02a299 */ 9181 L_2B02A164: 9182 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B02A164: cmp eax, dword ptr [ecx + 8] */ 9183 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 9184 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9185 _flag_k = FK_CMP; 9186 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A1A3; /* 0x2B02A167: jne 0x2b02a1a3 */ 9187 L_2B02A169: 9188 eax = ecx; /* 0x2B02A169: mov eax, ecx */ 9189 ecx = MEM32(eax + 0x8); /* 0x2B02A16B: mov ecx, dword ptr [eax + 8] */ 9190 edx = MEM32(ecx); /* 0x2B02A16E: mov edx, dword ptr [ecx] */ 9191 MEM32(eax + 0x8) = edx; /* 0x2B02A170: mov dword ptr [eax + 8], edx */ 9192 edx = MEM32(ecx); /* 0x2B02A173: mov edx, dword ptr [ecx] */ 9193 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A175: cmp edx, dword ptr [esi + 8] */ 9194 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9195 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9196 _flag_k = FK_CMP; 9197 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A17D; /* 0x2B02A178: je 0x2b02a17d */ 9198 L_2B02A17A: 9199 MEM32(edx + 0x4) = eax; /* 0x2B02A17A: mov dword ptr [edx + 4], eax */ 9200 L_2B02A17D: 9201 edx = MEM32(eax + 0x4); /* 0x2B02A17D: mov edx, dword ptr [eax + 4] */ 9202 MEM32(ecx + 0x4) = edx; /* 0x2B02A180: mov dword ptr [ecx + 4], edx */ 9203 edx = MEM32(esi + 0x4); /* 0x2B02A183: mov edx, dword ptr [esi + 4] */ 9204 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A186: cmp eax, dword ptr [edx + 4] */ 9205 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 9206 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9207 _flag_k = FK_CMP; 9208 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A190; /* 0x2B02A189: jne 0x2b02a190 */ 9209 L_2B02A18B: 9210 MEM32(edx + 0x4) = ecx; /* 0x2B02A18B: mov dword ptr [edx + 4], ecx */ 9211 goto L_2B02A19E; /* 0x2B02A18E: jmp 0x2b02a19e */ 9212 L_2B02A190: 9213 edx = MEM32(eax + 0x4); /* 0x2B02A190: mov edx, dword ptr [eax + 4] */ 9214 /* cmp eax, MEM32(edx) */ /* 0x2B02A193: cmp eax, dword ptr [edx] */ 9215 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 9216 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9217 _flag_k = FK_CMP; 9218 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A19B; /* 0x2B02A195: jne 0x2b02a19b */ 9219 L_2B02A197: 9220 MEM32(edx) = ecx; /* 0x2B02A197: mov dword ptr [edx], ecx */ 9221 goto L_2B02A19E; /* 0x2B02A199: jmp 0x2b02a19e */ 9222 L_2B02A19B: 9223 MEM32(edx + 0x8) = ecx; /* 0x2B02A19B: mov dword ptr [edx + 8], ecx */ 9224 L_2B02A19E: 9225 MEM32(ecx) = eax; /* 0x2B02A19E: mov dword ptr [ecx], eax */ 9226 MEM32(eax + 0x4) = ecx; /* 0x2B02A1A0: mov dword ptr [eax + 4], ecx */ 9227 L_2B02A1A3: 9228 ecx = MEM32(eax + 0x4); /* 0x2B02A1A3: mov ecx, dword ptr [eax + 4] */ 9229 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A1A6: mov byte ptr [ecx + 0x3c], bl */ 9230 edx = MEM32(eax + 0x4); /* 0x2B02A1A9: mov edx, dword ptr [eax + 4] */ 9231 ecx = MEM32(edx + 0x4); /* 0x2B02A1AC: mov ecx, dword ptr [edx + 4] */ 9232 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B02A1AF: mov byte ptr [ecx + 0x3c], 0 */ 9233 edx = MEM32(eax + 0x4); /* 0x2B02A1B3: mov edx, dword ptr [eax + 4] */ 9234 ecx = MEM32(edx + 0x4); /* 0x2B02A1B6: mov ecx, dword ptr [edx + 4] */ 9235 edx = MEM32(ecx); /* 0x2B02A1B9: mov edx, dword ptr [ecx] */ 9236 edi = MEM32(edx + 0x8); /* 0x2B02A1BB: mov edi, dword ptr [edx + 8] */ 9237 MEM32(ecx) = edi; /* 0x2B02A1BE: mov dword ptr [ecx], edi */ 9238 edi = MEM32(edx + 0x8); /* 0x2B02A1C0: mov edi, dword ptr [edx + 8] */ 9239 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A1C3: cmp edi, dword ptr [esi + 8] */ 9240 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9241 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9242 _flag_k = FK_CMP; 9243 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A1CB; /* 0x2B02A1C6: je 0x2b02a1cb */ 9244 L_2B02A1C8: 9245 MEM32(edi + 0x4) = ecx; /* 0x2B02A1C8: mov dword ptr [edi + 4], ecx */ 9246 L_2B02A1CB: 9247 edi = MEM32(ecx + 0x4); /* 0x2B02A1CB: mov edi, dword ptr [ecx + 4] */ 9248 MEM32(edx + 0x4) = edi; /* 0x2B02A1CE: mov dword ptr [edx + 4], edi */ 9249 edi = MEM32(esi + 0x4); /* 0x2B02A1D1: mov edi, dword ptr [esi + 4] */ 9250 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A1D4: cmp ecx, dword ptr [edi + 4] */ 9251 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 9252 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9253 _flag_k = FK_CMP; 9254 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A1E4; /* 0x2B02A1D7: jne 0x2b02a1e4 */ 9255 L_2B02A1D9: 9256 MEM32(edi + 0x4) = edx; /* 0x2B02A1D9: mov dword ptr [edi + 4], edx */ 9257 MEM32(edx + 0x8) = ecx; /* 0x2B02A1DC: mov dword ptr [edx + 8], ecx */ 9258 goto L_2B02A296; /* 0x2B02A1DF: jmp 0x2b02a296 */ 9259 L_2B02A1E4: 9260 edi = MEM32(ecx + 0x4); /* 0x2B02A1E4: mov edi, dword ptr [ecx + 4] */ 9261 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B02A1E7: cmp ecx, dword ptr [edi + 8] */ 9262 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9263 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9264 _flag_k = FK_CMP; 9265 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A1F7; /* 0x2B02A1EA: jne 0x2b02a1f7 */ 9266 L_2B02A1EC: 9267 MEM32(edi + 0x8) = edx; /* 0x2B02A1EC: mov dword ptr [edi + 8], edx */ 9268 MEM32(edx + 0x8) = ecx; /* 0x2B02A1EF: mov dword ptr [edx + 8], ecx */ 9269 goto L_2B02A296; /* 0x2B02A1F2: jmp 0x2b02a296 */ 9270 L_2B02A1F7: 9271 MEM32(edi) = edx; /* 0x2B02A1F7: mov dword ptr [edi], edx */ 9272 MEM32(edx + 0x8) = ecx; /* 0x2B02A1F9: mov dword ptr [edx + 8], ecx */ 9273 goto L_2B02A296; /* 0x2B02A1FC: jmp 0x2b02a296 */ 9274 L_2B02A201: 9275 /* cmp MEM8(edx + 0x3C), 0 */ /* 0x2B02A201: cmp byte ptr [edx + 0x3c], 0 */ 9276 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(0) << 24; 9277 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9278 _flag_k = FK_NARROW(FK_CMP, 24); 9279 RECOMP_BACKEDGE(); 9280 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A149; /* 0x2B02A205: je 0x2b02a149 */ 9281 L_2B02A20B: 9282 /* cmp eax, MEM32(ecx) */ /* 0x2B02A20B: cmp eax, dword ptr [ecx] */ 9283 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 9284 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9285 _flag_k = FK_CMP; 9286 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A24B; /* 0x2B02A20D: jne 0x2b02a24b */ 9287 L_2B02A20F: 9288 eax = ecx; /* 0x2B02A20F: mov eax, ecx */ 9289 ecx = MEM32(eax); /* 0x2B02A211: mov ecx, dword ptr [eax] */ 9290 edx = MEM32(ecx + 0x8); /* 0x2B02A213: mov edx, dword ptr [ecx + 8] */ 9291 MEM32(eax) = edx; /* 0x2B02A216: mov dword ptr [eax], edx */ 9292 edx = MEM32(ecx + 0x8); /* 0x2B02A218: mov edx, dword ptr [ecx + 8] */ 9293 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A21B: cmp edx, dword ptr [esi + 8] */ 9294 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9295 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9296 _flag_k = FK_CMP; 9297 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A223; /* 0x2B02A21E: je 0x2b02a223 */ 9298 L_2B02A220: 9299 MEM32(edx + 0x4) = eax; /* 0x2B02A220: mov dword ptr [edx + 4], eax */ 9300 L_2B02A223: 9301 edx = MEM32(eax + 0x4); /* 0x2B02A223: mov edx, dword ptr [eax + 4] */ 9302 MEM32(ecx + 0x4) = edx; /* 0x2B02A226: mov dword ptr [ecx + 4], edx */ 9303 edx = MEM32(esi + 0x4); /* 0x2B02A229: mov edx, dword ptr [esi + 4] */ 9304 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A22C: cmp eax, dword ptr [edx + 4] */ 9305 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 9306 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9307 _flag_k = FK_CMP; 9308 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A236; /* 0x2B02A22F: jne 0x2b02a236 */ 9309 L_2B02A231: 9310 MEM32(edx + 0x4) = ecx; /* 0x2B02A231: mov dword ptr [edx + 4], ecx */ 9311 goto L_2B02A245; /* 0x2B02A234: jmp 0x2b02a245 */ 9312 L_2B02A236: 9313 edx = MEM32(eax + 0x4); /* 0x2B02A236: mov edx, dword ptr [eax + 4] */ 9314 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B02A239: cmp eax, dword ptr [edx + 8] */ 9315 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 9316 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9317 _flag_k = FK_CMP; 9318 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A243; /* 0x2B02A23C: jne 0x2b02a243 */ 9319 L_2B02A23E: 9320 MEM32(edx + 0x8) = ecx; /* 0x2B02A23E: mov dword ptr [edx + 8], ecx */ 9321 goto L_2B02A245; /* 0x2B02A241: jmp 0x2b02a245 */ 9322 L_2B02A243: 9323 MEM32(edx) = ecx; /* 0x2B02A243: mov dword ptr [edx], ecx */ 9324 L_2B02A245: 9325 MEM32(ecx + 0x8) = eax; /* 0x2B02A245: mov dword ptr [ecx + 8], eax */ 9326 MEM32(eax + 0x4) = ecx; /* 0x2B02A248: mov dword ptr [eax + 4], ecx */ 9327 L_2B02A24B: 9328 ecx = MEM32(eax + 0x4); /* 0x2B02A24B: mov ecx, dword ptr [eax + 4] */ 9329 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A24E: mov byte ptr [ecx + 0x3c], bl */ 9330 edx = MEM32(eax + 0x4); /* 0x2B02A251: mov edx, dword ptr [eax + 4] */ 9331 ecx = MEM32(edx + 0x4); /* 0x2B02A254: mov ecx, dword ptr [edx + 4] */ 9332 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B02A257: mov byte ptr [ecx + 0x3c], 0 */ 9333 edx = MEM32(eax + 0x4); /* 0x2B02A25B: mov edx, dword ptr [eax + 4] */ 9334 ecx = MEM32(edx + 0x4); /* 0x2B02A25E: mov ecx, dword ptr [edx + 4] */ 9335 edx = MEM32(ecx + 0x8); /* 0x2B02A261: mov edx, dword ptr [ecx + 8] */ 9336 edi = MEM32(edx); /* 0x2B02A264: mov edi, dword ptr [edx] */ 9337 MEM32(ecx + 0x8) = edi; /* 0x2B02A266: mov dword ptr [ecx + 8], edi */ 9338 edi = MEM32(edx); /* 0x2B02A269: mov edi, dword ptr [edx] */ 9339 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A26B: cmp edi, dword ptr [esi + 8] */ 9340 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9341 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9342 _flag_k = FK_CMP; 9343 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A273; /* 0x2B02A26E: je 0x2b02a273 */ 9344 L_2B02A270: 9345 MEM32(edi + 0x4) = ecx; /* 0x2B02A270: mov dword ptr [edi + 4], ecx */ 9346 L_2B02A273: 9347 edi = MEM32(ecx + 0x4); /* 0x2B02A273: mov edi, dword ptr [ecx + 4] */ 9348 MEM32(edx + 0x4) = edi; /* 0x2B02A276: mov dword ptr [edx + 4], edi */ 9349 edi = MEM32(esi + 0x4); /* 0x2B02A279: mov edi, dword ptr [esi + 4] */ 9350 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A27C: cmp ecx, dword ptr [edi + 4] */ 9351 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 9352 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9353 _flag_k = FK_CMP; 9354 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A286; /* 0x2B02A27F: jne 0x2b02a286 */ 9355 L_2B02A281: 9356 MEM32(edi + 0x4) = edx; /* 0x2B02A281: mov dword ptr [edi + 4], edx */ 9357 goto L_2B02A294; /* 0x2B02A284: jmp 0x2b02a294 */ 9358 L_2B02A286: 9359 edi = MEM32(ecx + 0x4); /* 0x2B02A286: mov edi, dword ptr [ecx + 4] */ 9360 /* cmp ecx, MEM32(edi) */ /* 0x2B02A289: cmp ecx, dword ptr [edi] */ 9361 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 9362 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9363 _flag_k = FK_CMP; 9364 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A291; /* 0x2B02A28B: jne 0x2b02a291 */ 9365 L_2B02A28D: 9366 MEM32(edi) = edx; /* 0x2B02A28D: mov dword ptr [edi], edx */ 9367 goto L_2B02A294; /* 0x2B02A28F: jmp 0x2b02a294 */ 9368 L_2B02A291: 9369 MEM32(edi + 0x8) = edx; /* 0x2B02A291: mov dword ptr [edi + 8], edx */ 9370 L_2B02A294: 9371 MEM32(edx) = ecx; /* 0x2B02A294: mov dword ptr [edx], ecx */ 9372 L_2B02A296: 9373 MEM32(ecx + 0x4) = edx; /* 0x2B02A296: mov dword ptr [ecx + 4], edx */ 9374 L_2B02A299: 9375 ecx = MEM32(esi + 0x4); /* 0x2B02A299: mov ecx, dword ptr [esi + 4] */ 9376 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B02A29C: cmp eax, dword ptr [ecx + 4] */ 9377 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 9378 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9379 _flag_k = FK_CMP; 9380 RECOMP_BACKEDGE(); 9381 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A125; /* 0x2B02A29F: jne 0x2b02a125 */ 9382 L_2B02A2A5: 9383 edx = MEM32(esi + 0x4); /* 0x2B02A2A5: mov edx, dword ptr [esi + 4] */ 9384 eax = MEM32(edx + 0x4); /* 0x2B02A2A8: mov eax, dword ptr [edx + 4] */ 9385 ecx = MEM32(ebp + (-0x4)); /* 0x2B02A2AB: mov ecx, dword ptr [ebp - 4] */ 9386 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A2AE: mov byte ptr [eax + 0x3c], bl */ 9387 eax = MEM32(ebp + 0x8); /* 0x2B02A2B1: mov eax, dword ptr [ebp + 8] */ 9388 edi = POP32_VAL(esp); /* 0x2B02A2B4: pop edi */ 9389 esi = POP32_VAL(esp); /* 0x2B02A2B5: pop esi */ 9390 MEM32(eax) = ecx; /* 0x2B02A2B6: mov dword ptr [eax], ecx */ 9391 ebx = POP32_VAL(esp); /* 0x2B02A2B8: pop ebx */ 9392 esp = ebp; /* 0x2B02A2B9: mov esp, ebp */ 9393 ebp = POP32_VAL(esp); /* 0x2B02A2BB: pop ebp */ 9394 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B02A2BC: ret 0x10 */ 9395 RECOMP_REGS_OUT(); 9396 } 9397 9398 void sub_2B02A24B(void) { 9399 int _fpu_cmp = 0; 9400 uint32_t _cf = 0; 9401 int _df = 1; 9402 uint32_t _flag_k = FK_NONE; 9403 uint32_t _flag_a = 0, _flag_b = 0; 9404 uint32_t _itail_tgt = 0; 9405 RECOMP_REGS_LOCALS 9406 RECOMP_ENTER(0x2B02A24Bu); 9407 9408 goto L_2B02A24B; 9409 L_2B02A125: 9410 ecx = MEM32(eax + 0x4); /* 0x2B02A125: mov ecx, dword ptr [eax + 4] */ 9411 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B02A128: mov dl, byte ptr [ecx + 0x3c] */ 9412 /* test LO8(edx), LO8(edx) */ /* 0x2B02A12B: test dl, dl */ 9413 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 9414 _cf = 0; 9415 _flag_k = FK_NARROW(FK_TEST, 24); 9416 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02A2A5; /* 0x2B02A12D: jne 0x2b02a2a5 */ 9417 L_2B02A133: 9418 edi = MEM32(ecx + 0x4); /* 0x2B02A133: mov edi, dword ptr [ecx + 4] */ 9419 edx = MEM32(edi); /* 0x2B02A136: mov edx, dword ptr [edi] */ 9420 /* cmp ecx, edx */ /* 0x2B02A138: cmp ecx, edx */ 9421 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 9422 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9423 _flag_k = FK_CMP; 9424 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A201; /* 0x2B02A13A: jne 0x2b02a201 */ 9425 L_2B02A140: 9426 edx = MEM32(edi + 0x8); /* 0x2B02A140: mov edx, dword ptr [edi + 8] */ 9427 /* cmp MEM8(edx + 0x3C), 0 */ /* 0x2B02A143: cmp byte ptr [edx + 0x3c], 0 */ 9428 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(0) << 24; 9429 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9430 _flag_k = FK_NARROW(FK_CMP, 24); 9431 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A164; /* 0x2B02A147: jne 0x2b02a164 */ 9432 L_2B02A149: 9433 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A149: mov byte ptr [ecx + 0x3c], bl */ 9434 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A14C: mov byte ptr [edx + 0x3c], bl */ 9435 ecx = MEM32(eax + 0x4); /* 0x2B02A14F: mov ecx, dword ptr [eax + 4] */ 9436 edx = MEM32(ecx + 0x4); /* 0x2B02A152: mov edx, dword ptr [ecx + 4] */ 9437 MEM8(edx + 0x3C) = (uint8_t)(0); /* 0x2B02A155: mov byte ptr [edx + 0x3c], 0 */ 9438 eax = MEM32(eax + 0x4); /* 0x2B02A159: mov eax, dword ptr [eax + 4] */ 9439 eax = MEM32(eax + 0x4); /* 0x2B02A15C: mov eax, dword ptr [eax + 4] */ 9440 goto L_2B02A299; /* 0x2B02A15F: jmp 0x2b02a299 */ 9441 L_2B02A164: 9442 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B02A164: cmp eax, dword ptr [ecx + 8] */ 9443 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 9444 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9445 _flag_k = FK_CMP; 9446 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A1A3; /* 0x2B02A167: jne 0x2b02a1a3 */ 9447 L_2B02A169: 9448 eax = ecx; /* 0x2B02A169: mov eax, ecx */ 9449 ecx = MEM32(eax + 0x8); /* 0x2B02A16B: mov ecx, dword ptr [eax + 8] */ 9450 edx = MEM32(ecx); /* 0x2B02A16E: mov edx, dword ptr [ecx] */ 9451 MEM32(eax + 0x8) = edx; /* 0x2B02A170: mov dword ptr [eax + 8], edx */ 9452 edx = MEM32(ecx); /* 0x2B02A173: mov edx, dword ptr [ecx] */ 9453 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A175: cmp edx, dword ptr [esi + 8] */ 9454 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9455 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9456 _flag_k = FK_CMP; 9457 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A17D; /* 0x2B02A178: je 0x2b02a17d */ 9458 L_2B02A17A: 9459 MEM32(edx + 0x4) = eax; /* 0x2B02A17A: mov dword ptr [edx + 4], eax */ 9460 L_2B02A17D: 9461 edx = MEM32(eax + 0x4); /* 0x2B02A17D: mov edx, dword ptr [eax + 4] */ 9462 MEM32(ecx + 0x4) = edx; /* 0x2B02A180: mov dword ptr [ecx + 4], edx */ 9463 edx = MEM32(esi + 0x4); /* 0x2B02A183: mov edx, dword ptr [esi + 4] */ 9464 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A186: cmp eax, dword ptr [edx + 4] */ 9465 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 9466 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9467 _flag_k = FK_CMP; 9468 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A190; /* 0x2B02A189: jne 0x2b02a190 */ 9469 L_2B02A18B: 9470 MEM32(edx + 0x4) = ecx; /* 0x2B02A18B: mov dword ptr [edx + 4], ecx */ 9471 goto L_2B02A19E; /* 0x2B02A18E: jmp 0x2b02a19e */ 9472 L_2B02A190: 9473 edx = MEM32(eax + 0x4); /* 0x2B02A190: mov edx, dword ptr [eax + 4] */ 9474 /* cmp eax, MEM32(edx) */ /* 0x2B02A193: cmp eax, dword ptr [edx] */ 9475 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 9476 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9477 _flag_k = FK_CMP; 9478 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A19B; /* 0x2B02A195: jne 0x2b02a19b */ 9479 L_2B02A197: 9480 MEM32(edx) = ecx; /* 0x2B02A197: mov dword ptr [edx], ecx */ 9481 goto L_2B02A19E; /* 0x2B02A199: jmp 0x2b02a19e */ 9482 L_2B02A19B: 9483 MEM32(edx + 0x8) = ecx; /* 0x2B02A19B: mov dword ptr [edx + 8], ecx */ 9484 L_2B02A19E: 9485 MEM32(ecx) = eax; /* 0x2B02A19E: mov dword ptr [ecx], eax */ 9486 MEM32(eax + 0x4) = ecx; /* 0x2B02A1A0: mov dword ptr [eax + 4], ecx */ 9487 L_2B02A1A3: 9488 ecx = MEM32(eax + 0x4); /* 0x2B02A1A3: mov ecx, dword ptr [eax + 4] */ 9489 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A1A6: mov byte ptr [ecx + 0x3c], bl */ 9490 edx = MEM32(eax + 0x4); /* 0x2B02A1A9: mov edx, dword ptr [eax + 4] */ 9491 ecx = MEM32(edx + 0x4); /* 0x2B02A1AC: mov ecx, dword ptr [edx + 4] */ 9492 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B02A1AF: mov byte ptr [ecx + 0x3c], 0 */ 9493 edx = MEM32(eax + 0x4); /* 0x2B02A1B3: mov edx, dword ptr [eax + 4] */ 9494 ecx = MEM32(edx + 0x4); /* 0x2B02A1B6: mov ecx, dword ptr [edx + 4] */ 9495 edx = MEM32(ecx); /* 0x2B02A1B9: mov edx, dword ptr [ecx] */ 9496 edi = MEM32(edx + 0x8); /* 0x2B02A1BB: mov edi, dword ptr [edx + 8] */ 9497 MEM32(ecx) = edi; /* 0x2B02A1BE: mov dword ptr [ecx], edi */ 9498 edi = MEM32(edx + 0x8); /* 0x2B02A1C0: mov edi, dword ptr [edx + 8] */ 9499 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A1C3: cmp edi, dword ptr [esi + 8] */ 9500 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9501 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9502 _flag_k = FK_CMP; 9503 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A1CB; /* 0x2B02A1C6: je 0x2b02a1cb */ 9504 L_2B02A1C8: 9505 MEM32(edi + 0x4) = ecx; /* 0x2B02A1C8: mov dword ptr [edi + 4], ecx */ 9506 L_2B02A1CB: 9507 edi = MEM32(ecx + 0x4); /* 0x2B02A1CB: mov edi, dword ptr [ecx + 4] */ 9508 MEM32(edx + 0x4) = edi; /* 0x2B02A1CE: mov dword ptr [edx + 4], edi */ 9509 edi = MEM32(esi + 0x4); /* 0x2B02A1D1: mov edi, dword ptr [esi + 4] */ 9510 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A1D4: cmp ecx, dword ptr [edi + 4] */ 9511 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 9512 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9513 _flag_k = FK_CMP; 9514 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A1E4; /* 0x2B02A1D7: jne 0x2b02a1e4 */ 9515 L_2B02A1D9: 9516 MEM32(edi + 0x4) = edx; /* 0x2B02A1D9: mov dword ptr [edi + 4], edx */ 9517 MEM32(edx + 0x8) = ecx; /* 0x2B02A1DC: mov dword ptr [edx + 8], ecx */ 9518 goto L_2B02A296; /* 0x2B02A1DF: jmp 0x2b02a296 */ 9519 L_2B02A1E4: 9520 edi = MEM32(ecx + 0x4); /* 0x2B02A1E4: mov edi, dword ptr [ecx + 4] */ 9521 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B02A1E7: cmp ecx, dword ptr [edi + 8] */ 9522 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9523 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9524 _flag_k = FK_CMP; 9525 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A1F7; /* 0x2B02A1EA: jne 0x2b02a1f7 */ 9526 L_2B02A1EC: 9527 MEM32(edi + 0x8) = edx; /* 0x2B02A1EC: mov dword ptr [edi + 8], edx */ 9528 MEM32(edx + 0x8) = ecx; /* 0x2B02A1EF: mov dword ptr [edx + 8], ecx */ 9529 goto L_2B02A296; /* 0x2B02A1F2: jmp 0x2b02a296 */ 9530 L_2B02A1F7: 9531 MEM32(edi) = edx; /* 0x2B02A1F7: mov dword ptr [edi], edx */ 9532 MEM32(edx + 0x8) = ecx; /* 0x2B02A1F9: mov dword ptr [edx + 8], ecx */ 9533 goto L_2B02A296; /* 0x2B02A1FC: jmp 0x2b02a296 */ 9534 L_2B02A201: 9535 /* cmp MEM8(edx + 0x3C), 0 */ /* 0x2B02A201: cmp byte ptr [edx + 0x3c], 0 */ 9536 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(0) << 24; 9537 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9538 _flag_k = FK_NARROW(FK_CMP, 24); 9539 RECOMP_BACKEDGE(); 9540 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A149; /* 0x2B02A205: je 0x2b02a149 */ 9541 L_2B02A20B: 9542 /* cmp eax, MEM32(ecx) */ /* 0x2B02A20B: cmp eax, dword ptr [ecx] */ 9543 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 9544 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9545 _flag_k = FK_CMP; 9546 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A24B; /* 0x2B02A20D: jne 0x2b02a24b */ 9547 L_2B02A20F: 9548 eax = ecx; /* 0x2B02A20F: mov eax, ecx */ 9549 ecx = MEM32(eax); /* 0x2B02A211: mov ecx, dword ptr [eax] */ 9550 edx = MEM32(ecx + 0x8); /* 0x2B02A213: mov edx, dword ptr [ecx + 8] */ 9551 MEM32(eax) = edx; /* 0x2B02A216: mov dword ptr [eax], edx */ 9552 edx = MEM32(ecx + 0x8); /* 0x2B02A218: mov edx, dword ptr [ecx + 8] */ 9553 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A21B: cmp edx, dword ptr [esi + 8] */ 9554 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9555 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9556 _flag_k = FK_CMP; 9557 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A223; /* 0x2B02A21E: je 0x2b02a223 */ 9558 L_2B02A220: 9559 MEM32(edx + 0x4) = eax; /* 0x2B02A220: mov dword ptr [edx + 4], eax */ 9560 L_2B02A223: 9561 edx = MEM32(eax + 0x4); /* 0x2B02A223: mov edx, dword ptr [eax + 4] */ 9562 MEM32(ecx + 0x4) = edx; /* 0x2B02A226: mov dword ptr [ecx + 4], edx */ 9563 edx = MEM32(esi + 0x4); /* 0x2B02A229: mov edx, dword ptr [esi + 4] */ 9564 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A22C: cmp eax, dword ptr [edx + 4] */ 9565 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 9566 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9567 _flag_k = FK_CMP; 9568 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A236; /* 0x2B02A22F: jne 0x2b02a236 */ 9569 L_2B02A231: 9570 MEM32(edx + 0x4) = ecx; /* 0x2B02A231: mov dword ptr [edx + 4], ecx */ 9571 goto L_2B02A245; /* 0x2B02A234: jmp 0x2b02a245 */ 9572 L_2B02A236: 9573 edx = MEM32(eax + 0x4); /* 0x2B02A236: mov edx, dword ptr [eax + 4] */ 9574 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B02A239: cmp eax, dword ptr [edx + 8] */ 9575 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 9576 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9577 _flag_k = FK_CMP; 9578 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A243; /* 0x2B02A23C: jne 0x2b02a243 */ 9579 L_2B02A23E: 9580 MEM32(edx + 0x8) = ecx; /* 0x2B02A23E: mov dword ptr [edx + 8], ecx */ 9581 goto L_2B02A245; /* 0x2B02A241: jmp 0x2b02a245 */ 9582 L_2B02A243: 9583 MEM32(edx) = ecx; /* 0x2B02A243: mov dword ptr [edx], ecx */ 9584 L_2B02A245: 9585 MEM32(ecx + 0x8) = eax; /* 0x2B02A245: mov dword ptr [ecx + 8], eax */ 9586 MEM32(eax + 0x4) = ecx; /* 0x2B02A248: mov dword ptr [eax + 4], ecx */ 9587 L_2B02A24B: 9588 ecx = MEM32(eax + 0x4); /* 0x2B02A24B: mov ecx, dword ptr [eax + 4] */ 9589 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A24E: mov byte ptr [ecx + 0x3c], bl */ 9590 edx = MEM32(eax + 0x4); /* 0x2B02A251: mov edx, dword ptr [eax + 4] */ 9591 ecx = MEM32(edx + 0x4); /* 0x2B02A254: mov ecx, dword ptr [edx + 4] */ 9592 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B02A257: mov byte ptr [ecx + 0x3c], 0 */ 9593 edx = MEM32(eax + 0x4); /* 0x2B02A25B: mov edx, dword ptr [eax + 4] */ 9594 ecx = MEM32(edx + 0x4); /* 0x2B02A25E: mov ecx, dword ptr [edx + 4] */ 9595 edx = MEM32(ecx + 0x8); /* 0x2B02A261: mov edx, dword ptr [ecx + 8] */ 9596 edi = MEM32(edx); /* 0x2B02A264: mov edi, dword ptr [edx] */ 9597 MEM32(ecx + 0x8) = edi; /* 0x2B02A266: mov dword ptr [ecx + 8], edi */ 9598 edi = MEM32(edx); /* 0x2B02A269: mov edi, dword ptr [edx] */ 9599 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A26B: cmp edi, dword ptr [esi + 8] */ 9600 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9601 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9602 _flag_k = FK_CMP; 9603 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A273; /* 0x2B02A26E: je 0x2b02a273 */ 9604 L_2B02A270: 9605 MEM32(edi + 0x4) = ecx; /* 0x2B02A270: mov dword ptr [edi + 4], ecx */ 9606 L_2B02A273: 9607 edi = MEM32(ecx + 0x4); /* 0x2B02A273: mov edi, dword ptr [ecx + 4] */ 9608 MEM32(edx + 0x4) = edi; /* 0x2B02A276: mov dword ptr [edx + 4], edi */ 9609 edi = MEM32(esi + 0x4); /* 0x2B02A279: mov edi, dword ptr [esi + 4] */ 9610 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A27C: cmp ecx, dword ptr [edi + 4] */ 9611 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 9612 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9613 _flag_k = FK_CMP; 9614 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A286; /* 0x2B02A27F: jne 0x2b02a286 */ 9615 L_2B02A281: 9616 MEM32(edi + 0x4) = edx; /* 0x2B02A281: mov dword ptr [edi + 4], edx */ 9617 goto L_2B02A294; /* 0x2B02A284: jmp 0x2b02a294 */ 9618 L_2B02A286: 9619 edi = MEM32(ecx + 0x4); /* 0x2B02A286: mov edi, dword ptr [ecx + 4] */ 9620 /* cmp ecx, MEM32(edi) */ /* 0x2B02A289: cmp ecx, dword ptr [edi] */ 9621 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 9622 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9623 _flag_k = FK_CMP; 9624 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A291; /* 0x2B02A28B: jne 0x2b02a291 */ 9625 L_2B02A28D: 9626 MEM32(edi) = edx; /* 0x2B02A28D: mov dword ptr [edi], edx */ 9627 goto L_2B02A294; /* 0x2B02A28F: jmp 0x2b02a294 */ 9628 L_2B02A291: 9629 MEM32(edi + 0x8) = edx; /* 0x2B02A291: mov dword ptr [edi + 8], edx */ 9630 L_2B02A294: 9631 MEM32(edx) = ecx; /* 0x2B02A294: mov dword ptr [edx], ecx */ 9632 L_2B02A296: 9633 MEM32(ecx + 0x4) = edx; /* 0x2B02A296: mov dword ptr [ecx + 4], edx */ 9634 L_2B02A299: 9635 ecx = MEM32(esi + 0x4); /* 0x2B02A299: mov ecx, dword ptr [esi + 4] */ 9636 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B02A29C: cmp eax, dword ptr [ecx + 4] */ 9637 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 9638 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9639 _flag_k = FK_CMP; 9640 RECOMP_BACKEDGE(); 9641 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A125; /* 0x2B02A29F: jne 0x2b02a125 */ 9642 L_2B02A2A5: 9643 edx = MEM32(esi + 0x4); /* 0x2B02A2A5: mov edx, dword ptr [esi + 4] */ 9644 eax = MEM32(edx + 0x4); /* 0x2B02A2A8: mov eax, dword ptr [edx + 4] */ 9645 ecx = MEM32(ebp + (-0x4)); /* 0x2B02A2AB: mov ecx, dword ptr [ebp - 4] */ 9646 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A2AE: mov byte ptr [eax + 0x3c], bl */ 9647 eax = MEM32(ebp + 0x8); /* 0x2B02A2B1: mov eax, dword ptr [ebp + 8] */ 9648 edi = POP32_VAL(esp); /* 0x2B02A2B4: pop edi */ 9649 esi = POP32_VAL(esp); /* 0x2B02A2B5: pop esi */ 9650 MEM32(eax) = ecx; /* 0x2B02A2B6: mov dword ptr [eax], ecx */ 9651 ebx = POP32_VAL(esp); /* 0x2B02A2B8: pop ebx */ 9652 esp = ebp; /* 0x2B02A2B9: mov esp, ebp */ 9653 ebp = POP32_VAL(esp); /* 0x2B02A2BB: pop ebp */ 9654 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B02A2BC: ret 0x10 */ 9655 RECOMP_REGS_OUT(); 9656 } 9657 9658 void sub_2B02A294(void) { 9659 int _fpu_cmp = 0; 9660 uint32_t _cf = 0; 9661 int _df = 1; 9662 uint32_t _flag_k = FK_NONE; 9663 uint32_t _flag_a = 0, _flag_b = 0; 9664 uint32_t _itail_tgt = 0; 9665 RECOMP_REGS_LOCALS 9666 RECOMP_ENTER(0x2B02A294u); 9667 9668 goto L_2B02A294; 9669 L_2B02A125: 9670 ecx = MEM32(eax + 0x4); /* 0x2B02A125: mov ecx, dword ptr [eax + 4] */ 9671 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B02A128: mov dl, byte ptr [ecx + 0x3c] */ 9672 /* test LO8(edx), LO8(edx) */ /* 0x2B02A12B: test dl, dl */ 9673 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 9674 _cf = 0; 9675 _flag_k = FK_NARROW(FK_TEST, 24); 9676 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02A2A5; /* 0x2B02A12D: jne 0x2b02a2a5 */ 9677 L_2B02A133: 9678 edi = MEM32(ecx + 0x4); /* 0x2B02A133: mov edi, dword ptr [ecx + 4] */ 9679 edx = MEM32(edi); /* 0x2B02A136: mov edx, dword ptr [edi] */ 9680 /* cmp ecx, edx */ /* 0x2B02A138: cmp ecx, edx */ 9681 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 9682 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9683 _flag_k = FK_CMP; 9684 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A201; /* 0x2B02A13A: jne 0x2b02a201 */ 9685 L_2B02A140: 9686 edx = MEM32(edi + 0x8); /* 0x2B02A140: mov edx, dword ptr [edi + 8] */ 9687 /* cmp MEM8(edx + 0x3C), 0 */ /* 0x2B02A143: cmp byte ptr [edx + 0x3c], 0 */ 9688 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(0) << 24; 9689 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9690 _flag_k = FK_NARROW(FK_CMP, 24); 9691 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A164; /* 0x2B02A147: jne 0x2b02a164 */ 9692 L_2B02A149: 9693 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A149: mov byte ptr [ecx + 0x3c], bl */ 9694 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A14C: mov byte ptr [edx + 0x3c], bl */ 9695 ecx = MEM32(eax + 0x4); /* 0x2B02A14F: mov ecx, dword ptr [eax + 4] */ 9696 edx = MEM32(ecx + 0x4); /* 0x2B02A152: mov edx, dword ptr [ecx + 4] */ 9697 MEM8(edx + 0x3C) = (uint8_t)(0); /* 0x2B02A155: mov byte ptr [edx + 0x3c], 0 */ 9698 eax = MEM32(eax + 0x4); /* 0x2B02A159: mov eax, dword ptr [eax + 4] */ 9699 eax = MEM32(eax + 0x4); /* 0x2B02A15C: mov eax, dword ptr [eax + 4] */ 9700 goto L_2B02A299; /* 0x2B02A15F: jmp 0x2b02a299 */ 9701 L_2B02A164: 9702 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B02A164: cmp eax, dword ptr [ecx + 8] */ 9703 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 9704 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9705 _flag_k = FK_CMP; 9706 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A1A3; /* 0x2B02A167: jne 0x2b02a1a3 */ 9707 L_2B02A169: 9708 eax = ecx; /* 0x2B02A169: mov eax, ecx */ 9709 ecx = MEM32(eax + 0x8); /* 0x2B02A16B: mov ecx, dword ptr [eax + 8] */ 9710 edx = MEM32(ecx); /* 0x2B02A16E: mov edx, dword ptr [ecx] */ 9711 MEM32(eax + 0x8) = edx; /* 0x2B02A170: mov dword ptr [eax + 8], edx */ 9712 edx = MEM32(ecx); /* 0x2B02A173: mov edx, dword ptr [ecx] */ 9713 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A175: cmp edx, dword ptr [esi + 8] */ 9714 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9715 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9716 _flag_k = FK_CMP; 9717 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A17D; /* 0x2B02A178: je 0x2b02a17d */ 9718 L_2B02A17A: 9719 MEM32(edx + 0x4) = eax; /* 0x2B02A17A: mov dword ptr [edx + 4], eax */ 9720 L_2B02A17D: 9721 edx = MEM32(eax + 0x4); /* 0x2B02A17D: mov edx, dword ptr [eax + 4] */ 9722 MEM32(ecx + 0x4) = edx; /* 0x2B02A180: mov dword ptr [ecx + 4], edx */ 9723 edx = MEM32(esi + 0x4); /* 0x2B02A183: mov edx, dword ptr [esi + 4] */ 9724 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A186: cmp eax, dword ptr [edx + 4] */ 9725 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 9726 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9727 _flag_k = FK_CMP; 9728 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A190; /* 0x2B02A189: jne 0x2b02a190 */ 9729 L_2B02A18B: 9730 MEM32(edx + 0x4) = ecx; /* 0x2B02A18B: mov dword ptr [edx + 4], ecx */ 9731 goto L_2B02A19E; /* 0x2B02A18E: jmp 0x2b02a19e */ 9732 L_2B02A190: 9733 edx = MEM32(eax + 0x4); /* 0x2B02A190: mov edx, dword ptr [eax + 4] */ 9734 /* cmp eax, MEM32(edx) */ /* 0x2B02A193: cmp eax, dword ptr [edx] */ 9735 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 9736 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9737 _flag_k = FK_CMP; 9738 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A19B; /* 0x2B02A195: jne 0x2b02a19b */ 9739 L_2B02A197: 9740 MEM32(edx) = ecx; /* 0x2B02A197: mov dword ptr [edx], ecx */ 9741 goto L_2B02A19E; /* 0x2B02A199: jmp 0x2b02a19e */ 9742 L_2B02A19B: 9743 MEM32(edx + 0x8) = ecx; /* 0x2B02A19B: mov dword ptr [edx + 8], ecx */ 9744 L_2B02A19E: 9745 MEM32(ecx) = eax; /* 0x2B02A19E: mov dword ptr [ecx], eax */ 9746 MEM32(eax + 0x4) = ecx; /* 0x2B02A1A0: mov dword ptr [eax + 4], ecx */ 9747 L_2B02A1A3: 9748 ecx = MEM32(eax + 0x4); /* 0x2B02A1A3: mov ecx, dword ptr [eax + 4] */ 9749 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A1A6: mov byte ptr [ecx + 0x3c], bl */ 9750 edx = MEM32(eax + 0x4); /* 0x2B02A1A9: mov edx, dword ptr [eax + 4] */ 9751 ecx = MEM32(edx + 0x4); /* 0x2B02A1AC: mov ecx, dword ptr [edx + 4] */ 9752 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B02A1AF: mov byte ptr [ecx + 0x3c], 0 */ 9753 edx = MEM32(eax + 0x4); /* 0x2B02A1B3: mov edx, dword ptr [eax + 4] */ 9754 ecx = MEM32(edx + 0x4); /* 0x2B02A1B6: mov ecx, dword ptr [edx + 4] */ 9755 edx = MEM32(ecx); /* 0x2B02A1B9: mov edx, dword ptr [ecx] */ 9756 edi = MEM32(edx + 0x8); /* 0x2B02A1BB: mov edi, dword ptr [edx + 8] */ 9757 MEM32(ecx) = edi; /* 0x2B02A1BE: mov dword ptr [ecx], edi */ 9758 edi = MEM32(edx + 0x8); /* 0x2B02A1C0: mov edi, dword ptr [edx + 8] */ 9759 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A1C3: cmp edi, dword ptr [esi + 8] */ 9760 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9761 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9762 _flag_k = FK_CMP; 9763 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A1CB; /* 0x2B02A1C6: je 0x2b02a1cb */ 9764 L_2B02A1C8: 9765 MEM32(edi + 0x4) = ecx; /* 0x2B02A1C8: mov dword ptr [edi + 4], ecx */ 9766 L_2B02A1CB: 9767 edi = MEM32(ecx + 0x4); /* 0x2B02A1CB: mov edi, dword ptr [ecx + 4] */ 9768 MEM32(edx + 0x4) = edi; /* 0x2B02A1CE: mov dword ptr [edx + 4], edi */ 9769 edi = MEM32(esi + 0x4); /* 0x2B02A1D1: mov edi, dword ptr [esi + 4] */ 9770 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A1D4: cmp ecx, dword ptr [edi + 4] */ 9771 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 9772 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9773 _flag_k = FK_CMP; 9774 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A1E4; /* 0x2B02A1D7: jne 0x2b02a1e4 */ 9775 L_2B02A1D9: 9776 MEM32(edi + 0x4) = edx; /* 0x2B02A1D9: mov dword ptr [edi + 4], edx */ 9777 MEM32(edx + 0x8) = ecx; /* 0x2B02A1DC: mov dword ptr [edx + 8], ecx */ 9778 goto L_2B02A296; /* 0x2B02A1DF: jmp 0x2b02a296 */ 9779 L_2B02A1E4: 9780 edi = MEM32(ecx + 0x4); /* 0x2B02A1E4: mov edi, dword ptr [ecx + 4] */ 9781 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B02A1E7: cmp ecx, dword ptr [edi + 8] */ 9782 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9783 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9784 _flag_k = FK_CMP; 9785 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A1F7; /* 0x2B02A1EA: jne 0x2b02a1f7 */ 9786 L_2B02A1EC: 9787 MEM32(edi + 0x8) = edx; /* 0x2B02A1EC: mov dword ptr [edi + 8], edx */ 9788 MEM32(edx + 0x8) = ecx; /* 0x2B02A1EF: mov dword ptr [edx + 8], ecx */ 9789 goto L_2B02A296; /* 0x2B02A1F2: jmp 0x2b02a296 */ 9790 L_2B02A1F7: 9791 MEM32(edi) = edx; /* 0x2B02A1F7: mov dword ptr [edi], edx */ 9792 MEM32(edx + 0x8) = ecx; /* 0x2B02A1F9: mov dword ptr [edx + 8], ecx */ 9793 goto L_2B02A296; /* 0x2B02A1FC: jmp 0x2b02a296 */ 9794 L_2B02A201: 9795 /* cmp MEM8(edx + 0x3C), 0 */ /* 0x2B02A201: cmp byte ptr [edx + 0x3c], 0 */ 9796 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(0) << 24; 9797 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9798 _flag_k = FK_NARROW(FK_CMP, 24); 9799 RECOMP_BACKEDGE(); 9800 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A149; /* 0x2B02A205: je 0x2b02a149 */ 9801 L_2B02A20B: 9802 /* cmp eax, MEM32(ecx) */ /* 0x2B02A20B: cmp eax, dword ptr [ecx] */ 9803 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 9804 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9805 _flag_k = FK_CMP; 9806 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A24B; /* 0x2B02A20D: jne 0x2b02a24b */ 9807 L_2B02A20F: 9808 eax = ecx; /* 0x2B02A20F: mov eax, ecx */ 9809 ecx = MEM32(eax); /* 0x2B02A211: mov ecx, dword ptr [eax] */ 9810 edx = MEM32(ecx + 0x8); /* 0x2B02A213: mov edx, dword ptr [ecx + 8] */ 9811 MEM32(eax) = edx; /* 0x2B02A216: mov dword ptr [eax], edx */ 9812 edx = MEM32(ecx + 0x8); /* 0x2B02A218: mov edx, dword ptr [ecx + 8] */ 9813 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A21B: cmp edx, dword ptr [esi + 8] */ 9814 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9815 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9816 _flag_k = FK_CMP; 9817 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A223; /* 0x2B02A21E: je 0x2b02a223 */ 9818 L_2B02A220: 9819 MEM32(edx + 0x4) = eax; /* 0x2B02A220: mov dword ptr [edx + 4], eax */ 9820 L_2B02A223: 9821 edx = MEM32(eax + 0x4); /* 0x2B02A223: mov edx, dword ptr [eax + 4] */ 9822 MEM32(ecx + 0x4) = edx; /* 0x2B02A226: mov dword ptr [ecx + 4], edx */ 9823 edx = MEM32(esi + 0x4); /* 0x2B02A229: mov edx, dword ptr [esi + 4] */ 9824 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A22C: cmp eax, dword ptr [edx + 4] */ 9825 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 9826 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9827 _flag_k = FK_CMP; 9828 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A236; /* 0x2B02A22F: jne 0x2b02a236 */ 9829 L_2B02A231: 9830 MEM32(edx + 0x4) = ecx; /* 0x2B02A231: mov dword ptr [edx + 4], ecx */ 9831 goto L_2B02A245; /* 0x2B02A234: jmp 0x2b02a245 */ 9832 L_2B02A236: 9833 edx = MEM32(eax + 0x4); /* 0x2B02A236: mov edx, dword ptr [eax + 4] */ 9834 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B02A239: cmp eax, dword ptr [edx + 8] */ 9835 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 9836 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9837 _flag_k = FK_CMP; 9838 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A243; /* 0x2B02A23C: jne 0x2b02a243 */ 9839 L_2B02A23E: 9840 MEM32(edx + 0x8) = ecx; /* 0x2B02A23E: mov dword ptr [edx + 8], ecx */ 9841 goto L_2B02A245; /* 0x2B02A241: jmp 0x2b02a245 */ 9842 L_2B02A243: 9843 MEM32(edx) = ecx; /* 0x2B02A243: mov dword ptr [edx], ecx */ 9844 L_2B02A245: 9845 MEM32(ecx + 0x8) = eax; /* 0x2B02A245: mov dword ptr [ecx + 8], eax */ 9846 MEM32(eax + 0x4) = ecx; /* 0x2B02A248: mov dword ptr [eax + 4], ecx */ 9847 L_2B02A24B: 9848 ecx = MEM32(eax + 0x4); /* 0x2B02A24B: mov ecx, dword ptr [eax + 4] */ 9849 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A24E: mov byte ptr [ecx + 0x3c], bl */ 9850 edx = MEM32(eax + 0x4); /* 0x2B02A251: mov edx, dword ptr [eax + 4] */ 9851 ecx = MEM32(edx + 0x4); /* 0x2B02A254: mov ecx, dword ptr [edx + 4] */ 9852 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B02A257: mov byte ptr [ecx + 0x3c], 0 */ 9853 edx = MEM32(eax + 0x4); /* 0x2B02A25B: mov edx, dword ptr [eax + 4] */ 9854 ecx = MEM32(edx + 0x4); /* 0x2B02A25E: mov ecx, dword ptr [edx + 4] */ 9855 edx = MEM32(ecx + 0x8); /* 0x2B02A261: mov edx, dword ptr [ecx + 8] */ 9856 edi = MEM32(edx); /* 0x2B02A264: mov edi, dword ptr [edx] */ 9857 MEM32(ecx + 0x8) = edi; /* 0x2B02A266: mov dword ptr [ecx + 8], edi */ 9858 edi = MEM32(edx); /* 0x2B02A269: mov edi, dword ptr [edx] */ 9859 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A26B: cmp edi, dword ptr [esi + 8] */ 9860 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9861 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9862 _flag_k = FK_CMP; 9863 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A273; /* 0x2B02A26E: je 0x2b02a273 */ 9864 L_2B02A270: 9865 MEM32(edi + 0x4) = ecx; /* 0x2B02A270: mov dword ptr [edi + 4], ecx */ 9866 L_2B02A273: 9867 edi = MEM32(ecx + 0x4); /* 0x2B02A273: mov edi, dword ptr [ecx + 4] */ 9868 MEM32(edx + 0x4) = edi; /* 0x2B02A276: mov dword ptr [edx + 4], edi */ 9869 edi = MEM32(esi + 0x4); /* 0x2B02A279: mov edi, dword ptr [esi + 4] */ 9870 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A27C: cmp ecx, dword ptr [edi + 4] */ 9871 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 9872 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9873 _flag_k = FK_CMP; 9874 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A286; /* 0x2B02A27F: jne 0x2b02a286 */ 9875 L_2B02A281: 9876 MEM32(edi + 0x4) = edx; /* 0x2B02A281: mov dword ptr [edi + 4], edx */ 9877 goto L_2B02A294; /* 0x2B02A284: jmp 0x2b02a294 */ 9878 L_2B02A286: 9879 edi = MEM32(ecx + 0x4); /* 0x2B02A286: mov edi, dword ptr [ecx + 4] */ 9880 /* cmp ecx, MEM32(edi) */ /* 0x2B02A289: cmp ecx, dword ptr [edi] */ 9881 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 9882 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9883 _flag_k = FK_CMP; 9884 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A291; /* 0x2B02A28B: jne 0x2b02a291 */ 9885 L_2B02A28D: 9886 MEM32(edi) = edx; /* 0x2B02A28D: mov dword ptr [edi], edx */ 9887 goto L_2B02A294; /* 0x2B02A28F: jmp 0x2b02a294 */ 9888 L_2B02A291: 9889 MEM32(edi + 0x8) = edx; /* 0x2B02A291: mov dword ptr [edi + 8], edx */ 9890 L_2B02A294: 9891 MEM32(edx) = ecx; /* 0x2B02A294: mov dword ptr [edx], ecx */ 9892 L_2B02A296: 9893 MEM32(ecx + 0x4) = edx; /* 0x2B02A296: mov dword ptr [ecx + 4], edx */ 9894 L_2B02A299: 9895 ecx = MEM32(esi + 0x4); /* 0x2B02A299: mov ecx, dword ptr [esi + 4] */ 9896 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B02A29C: cmp eax, dword ptr [ecx + 4] */ 9897 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 9898 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9899 _flag_k = FK_CMP; 9900 RECOMP_BACKEDGE(); 9901 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A125; /* 0x2B02A29F: jne 0x2b02a125 */ 9902 L_2B02A2A5: 9903 edx = MEM32(esi + 0x4); /* 0x2B02A2A5: mov edx, dword ptr [esi + 4] */ 9904 eax = MEM32(edx + 0x4); /* 0x2B02A2A8: mov eax, dword ptr [edx + 4] */ 9905 ecx = MEM32(ebp + (-0x4)); /* 0x2B02A2AB: mov ecx, dword ptr [ebp - 4] */ 9906 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A2AE: mov byte ptr [eax + 0x3c], bl */ 9907 eax = MEM32(ebp + 0x8); /* 0x2B02A2B1: mov eax, dword ptr [ebp + 8] */ 9908 edi = POP32_VAL(esp); /* 0x2B02A2B4: pop edi */ 9909 esi = POP32_VAL(esp); /* 0x2B02A2B5: pop esi */ 9910 MEM32(eax) = ecx; /* 0x2B02A2B6: mov dword ptr [eax], ecx */ 9911 ebx = POP32_VAL(esp); /* 0x2B02A2B8: pop ebx */ 9912 esp = ebp; /* 0x2B02A2B9: mov esp, ebp */ 9913 ebp = POP32_VAL(esp); /* 0x2B02A2BB: pop ebp */ 9914 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B02A2BC: ret 0x10 */ 9915 RECOMP_REGS_OUT(); 9916 } 9917 9918 void sub_2B02A296(void) { 9919 int _fpu_cmp = 0; 9920 uint32_t _cf = 0; 9921 int _df = 1; 9922 uint32_t _flag_k = FK_NONE; 9923 uint32_t _flag_a = 0, _flag_b = 0; 9924 uint32_t _itail_tgt = 0; 9925 RECOMP_REGS_LOCALS 9926 RECOMP_ENTER(0x2B02A296u); 9927 9928 goto L_2B02A296; 9929 L_2B02A125: 9930 ecx = MEM32(eax + 0x4); /* 0x2B02A125: mov ecx, dword ptr [eax + 4] */ 9931 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B02A128: mov dl, byte ptr [ecx + 0x3c] */ 9932 /* test LO8(edx), LO8(edx) */ /* 0x2B02A12B: test dl, dl */ 9933 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 9934 _cf = 0; 9935 _flag_k = FK_NARROW(FK_TEST, 24); 9936 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02A2A5; /* 0x2B02A12D: jne 0x2b02a2a5 */ 9937 L_2B02A133: 9938 edi = MEM32(ecx + 0x4); /* 0x2B02A133: mov edi, dword ptr [ecx + 4] */ 9939 edx = MEM32(edi); /* 0x2B02A136: mov edx, dword ptr [edi] */ 9940 /* cmp ecx, edx */ /* 0x2B02A138: cmp ecx, edx */ 9941 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 9942 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9943 _flag_k = FK_CMP; 9944 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A201; /* 0x2B02A13A: jne 0x2b02a201 */ 9945 L_2B02A140: 9946 edx = MEM32(edi + 0x8); /* 0x2B02A140: mov edx, dword ptr [edi + 8] */ 9947 /* cmp MEM8(edx + 0x3C), 0 */ /* 0x2B02A143: cmp byte ptr [edx + 0x3c], 0 */ 9948 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(0) << 24; 9949 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9950 _flag_k = FK_NARROW(FK_CMP, 24); 9951 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A164; /* 0x2B02A147: jne 0x2b02a164 */ 9952 L_2B02A149: 9953 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A149: mov byte ptr [ecx + 0x3c], bl */ 9954 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A14C: mov byte ptr [edx + 0x3c], bl */ 9955 ecx = MEM32(eax + 0x4); /* 0x2B02A14F: mov ecx, dword ptr [eax + 4] */ 9956 edx = MEM32(ecx + 0x4); /* 0x2B02A152: mov edx, dword ptr [ecx + 4] */ 9957 MEM8(edx + 0x3C) = (uint8_t)(0); /* 0x2B02A155: mov byte ptr [edx + 0x3c], 0 */ 9958 eax = MEM32(eax + 0x4); /* 0x2B02A159: mov eax, dword ptr [eax + 4] */ 9959 eax = MEM32(eax + 0x4); /* 0x2B02A15C: mov eax, dword ptr [eax + 4] */ 9960 goto L_2B02A299; /* 0x2B02A15F: jmp 0x2b02a299 */ 9961 L_2B02A164: 9962 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B02A164: cmp eax, dword ptr [ecx + 8] */ 9963 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 9964 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9965 _flag_k = FK_CMP; 9966 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A1A3; /* 0x2B02A167: jne 0x2b02a1a3 */ 9967 L_2B02A169: 9968 eax = ecx; /* 0x2B02A169: mov eax, ecx */ 9969 ecx = MEM32(eax + 0x8); /* 0x2B02A16B: mov ecx, dword ptr [eax + 8] */ 9970 edx = MEM32(ecx); /* 0x2B02A16E: mov edx, dword ptr [ecx] */ 9971 MEM32(eax + 0x8) = edx; /* 0x2B02A170: mov dword ptr [eax + 8], edx */ 9972 edx = MEM32(ecx); /* 0x2B02A173: mov edx, dword ptr [ecx] */ 9973 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A175: cmp edx, dword ptr [esi + 8] */ 9974 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9975 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9976 _flag_k = FK_CMP; 9977 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A17D; /* 0x2B02A178: je 0x2b02a17d */ 9978 L_2B02A17A: 9979 MEM32(edx + 0x4) = eax; /* 0x2B02A17A: mov dword ptr [edx + 4], eax */ 9980 L_2B02A17D: 9981 edx = MEM32(eax + 0x4); /* 0x2B02A17D: mov edx, dword ptr [eax + 4] */ 9982 MEM32(ecx + 0x4) = edx; /* 0x2B02A180: mov dword ptr [ecx + 4], edx */ 9983 edx = MEM32(esi + 0x4); /* 0x2B02A183: mov edx, dword ptr [esi + 4] */ 9984 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A186: cmp eax, dword ptr [edx + 4] */ 9985 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 9986 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9987 _flag_k = FK_CMP; 9988 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A190; /* 0x2B02A189: jne 0x2b02a190 */ 9989 L_2B02A18B: 9990 MEM32(edx + 0x4) = ecx; /* 0x2B02A18B: mov dword ptr [edx + 4], ecx */ 9991 goto L_2B02A19E; /* 0x2B02A18E: jmp 0x2b02a19e */ 9992 L_2B02A190: 9993 edx = MEM32(eax + 0x4); /* 0x2B02A190: mov edx, dword ptr [eax + 4] */ 9994 /* cmp eax, MEM32(edx) */ /* 0x2B02A193: cmp eax, dword ptr [edx] */ 9995 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 9996 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9997 _flag_k = FK_CMP; 9998 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A19B; /* 0x2B02A195: jne 0x2b02a19b */ 9999 L_2B02A197: 10000 MEM32(edx) = ecx; /* 0x2B02A197: mov dword ptr [edx], ecx */ 10001 goto L_2B02A19E; /* 0x2B02A199: jmp 0x2b02a19e */ 10002 L_2B02A19B: 10003 MEM32(edx + 0x8) = ecx; /* 0x2B02A19B: mov dword ptr [edx + 8], ecx */ 10004 L_2B02A19E: 10005 MEM32(ecx) = eax; /* 0x2B02A19E: mov dword ptr [ecx], eax */ 10006 MEM32(eax + 0x4) = ecx; /* 0x2B02A1A0: mov dword ptr [eax + 4], ecx */ 10007 L_2B02A1A3: 10008 ecx = MEM32(eax + 0x4); /* 0x2B02A1A3: mov ecx, dword ptr [eax + 4] */ 10009 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A1A6: mov byte ptr [ecx + 0x3c], bl */ 10010 edx = MEM32(eax + 0x4); /* 0x2B02A1A9: mov edx, dword ptr [eax + 4] */ 10011 ecx = MEM32(edx + 0x4); /* 0x2B02A1AC: mov ecx, dword ptr [edx + 4] */ 10012 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B02A1AF: mov byte ptr [ecx + 0x3c], 0 */ 10013 edx = MEM32(eax + 0x4); /* 0x2B02A1B3: mov edx, dword ptr [eax + 4] */ 10014 ecx = MEM32(edx + 0x4); /* 0x2B02A1B6: mov ecx, dword ptr [edx + 4] */ 10015 edx = MEM32(ecx); /* 0x2B02A1B9: mov edx, dword ptr [ecx] */ 10016 edi = MEM32(edx + 0x8); /* 0x2B02A1BB: mov edi, dword ptr [edx + 8] */ 10017 MEM32(ecx) = edi; /* 0x2B02A1BE: mov dword ptr [ecx], edi */ 10018 edi = MEM32(edx + 0x8); /* 0x2B02A1C0: mov edi, dword ptr [edx + 8] */ 10019 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A1C3: cmp edi, dword ptr [esi + 8] */ 10020 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10021 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10022 _flag_k = FK_CMP; 10023 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A1CB; /* 0x2B02A1C6: je 0x2b02a1cb */ 10024 L_2B02A1C8: 10025 MEM32(edi + 0x4) = ecx; /* 0x2B02A1C8: mov dword ptr [edi + 4], ecx */ 10026 L_2B02A1CB: 10027 edi = MEM32(ecx + 0x4); /* 0x2B02A1CB: mov edi, dword ptr [ecx + 4] */ 10028 MEM32(edx + 0x4) = edi; /* 0x2B02A1CE: mov dword ptr [edx + 4], edi */ 10029 edi = MEM32(esi + 0x4); /* 0x2B02A1D1: mov edi, dword ptr [esi + 4] */ 10030 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A1D4: cmp ecx, dword ptr [edi + 4] */ 10031 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 10032 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10033 _flag_k = FK_CMP; 10034 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A1E4; /* 0x2B02A1D7: jne 0x2b02a1e4 */ 10035 L_2B02A1D9: 10036 MEM32(edi + 0x4) = edx; /* 0x2B02A1D9: mov dword ptr [edi + 4], edx */ 10037 MEM32(edx + 0x8) = ecx; /* 0x2B02A1DC: mov dword ptr [edx + 8], ecx */ 10038 goto L_2B02A296; /* 0x2B02A1DF: jmp 0x2b02a296 */ 10039 L_2B02A1E4: 10040 edi = MEM32(ecx + 0x4); /* 0x2B02A1E4: mov edi, dword ptr [ecx + 4] */ 10041 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B02A1E7: cmp ecx, dword ptr [edi + 8] */ 10042 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10043 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10044 _flag_k = FK_CMP; 10045 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A1F7; /* 0x2B02A1EA: jne 0x2b02a1f7 */ 10046 L_2B02A1EC: 10047 MEM32(edi + 0x8) = edx; /* 0x2B02A1EC: mov dword ptr [edi + 8], edx */ 10048 MEM32(edx + 0x8) = ecx; /* 0x2B02A1EF: mov dword ptr [edx + 8], ecx */ 10049 goto L_2B02A296; /* 0x2B02A1F2: jmp 0x2b02a296 */ 10050 L_2B02A1F7: 10051 MEM32(edi) = edx; /* 0x2B02A1F7: mov dword ptr [edi], edx */ 10052 MEM32(edx + 0x8) = ecx; /* 0x2B02A1F9: mov dword ptr [edx + 8], ecx */ 10053 goto L_2B02A296; /* 0x2B02A1FC: jmp 0x2b02a296 */ 10054 L_2B02A201: 10055 /* cmp MEM8(edx + 0x3C), 0 */ /* 0x2B02A201: cmp byte ptr [edx + 0x3c], 0 */ 10056 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(0) << 24; 10057 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10058 _flag_k = FK_NARROW(FK_CMP, 24); 10059 RECOMP_BACKEDGE(); 10060 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A149; /* 0x2B02A205: je 0x2b02a149 */ 10061 L_2B02A20B: 10062 /* cmp eax, MEM32(ecx) */ /* 0x2B02A20B: cmp eax, dword ptr [ecx] */ 10063 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 10064 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10065 _flag_k = FK_CMP; 10066 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A24B; /* 0x2B02A20D: jne 0x2b02a24b */ 10067 L_2B02A20F: 10068 eax = ecx; /* 0x2B02A20F: mov eax, ecx */ 10069 ecx = MEM32(eax); /* 0x2B02A211: mov ecx, dword ptr [eax] */ 10070 edx = MEM32(ecx + 0x8); /* 0x2B02A213: mov edx, dword ptr [ecx + 8] */ 10071 MEM32(eax) = edx; /* 0x2B02A216: mov dword ptr [eax], edx */ 10072 edx = MEM32(ecx + 0x8); /* 0x2B02A218: mov edx, dword ptr [ecx + 8] */ 10073 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A21B: cmp edx, dword ptr [esi + 8] */ 10074 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10075 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10076 _flag_k = FK_CMP; 10077 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A223; /* 0x2B02A21E: je 0x2b02a223 */ 10078 L_2B02A220: 10079 MEM32(edx + 0x4) = eax; /* 0x2B02A220: mov dword ptr [edx + 4], eax */ 10080 L_2B02A223: 10081 edx = MEM32(eax + 0x4); /* 0x2B02A223: mov edx, dword ptr [eax + 4] */ 10082 MEM32(ecx + 0x4) = edx; /* 0x2B02A226: mov dword ptr [ecx + 4], edx */ 10083 edx = MEM32(esi + 0x4); /* 0x2B02A229: mov edx, dword ptr [esi + 4] */ 10084 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A22C: cmp eax, dword ptr [edx + 4] */ 10085 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 10086 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10087 _flag_k = FK_CMP; 10088 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A236; /* 0x2B02A22F: jne 0x2b02a236 */ 10089 L_2B02A231: 10090 MEM32(edx + 0x4) = ecx; /* 0x2B02A231: mov dword ptr [edx + 4], ecx */ 10091 goto L_2B02A245; /* 0x2B02A234: jmp 0x2b02a245 */ 10092 L_2B02A236: 10093 edx = MEM32(eax + 0x4); /* 0x2B02A236: mov edx, dword ptr [eax + 4] */ 10094 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B02A239: cmp eax, dword ptr [edx + 8] */ 10095 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 10096 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10097 _flag_k = FK_CMP; 10098 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A243; /* 0x2B02A23C: jne 0x2b02a243 */ 10099 L_2B02A23E: 10100 MEM32(edx + 0x8) = ecx; /* 0x2B02A23E: mov dword ptr [edx + 8], ecx */ 10101 goto L_2B02A245; /* 0x2B02A241: jmp 0x2b02a245 */ 10102 L_2B02A243: 10103 MEM32(edx) = ecx; /* 0x2B02A243: mov dword ptr [edx], ecx */ 10104 L_2B02A245: 10105 MEM32(ecx + 0x8) = eax; /* 0x2B02A245: mov dword ptr [ecx + 8], eax */ 10106 MEM32(eax + 0x4) = ecx; /* 0x2B02A248: mov dword ptr [eax + 4], ecx */ 10107 L_2B02A24B: 10108 ecx = MEM32(eax + 0x4); /* 0x2B02A24B: mov ecx, dword ptr [eax + 4] */ 10109 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A24E: mov byte ptr [ecx + 0x3c], bl */ 10110 edx = MEM32(eax + 0x4); /* 0x2B02A251: mov edx, dword ptr [eax + 4] */ 10111 ecx = MEM32(edx + 0x4); /* 0x2B02A254: mov ecx, dword ptr [edx + 4] */ 10112 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B02A257: mov byte ptr [ecx + 0x3c], 0 */ 10113 edx = MEM32(eax + 0x4); /* 0x2B02A25B: mov edx, dword ptr [eax + 4] */ 10114 ecx = MEM32(edx + 0x4); /* 0x2B02A25E: mov ecx, dword ptr [edx + 4] */ 10115 edx = MEM32(ecx + 0x8); /* 0x2B02A261: mov edx, dword ptr [ecx + 8] */ 10116 edi = MEM32(edx); /* 0x2B02A264: mov edi, dword ptr [edx] */ 10117 MEM32(ecx + 0x8) = edi; /* 0x2B02A266: mov dword ptr [ecx + 8], edi */ 10118 edi = MEM32(edx); /* 0x2B02A269: mov edi, dword ptr [edx] */ 10119 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A26B: cmp edi, dword ptr [esi + 8] */ 10120 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10121 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10122 _flag_k = FK_CMP; 10123 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A273; /* 0x2B02A26E: je 0x2b02a273 */ 10124 L_2B02A270: 10125 MEM32(edi + 0x4) = ecx; /* 0x2B02A270: mov dword ptr [edi + 4], ecx */ 10126 L_2B02A273: 10127 edi = MEM32(ecx + 0x4); /* 0x2B02A273: mov edi, dword ptr [ecx + 4] */ 10128 MEM32(edx + 0x4) = edi; /* 0x2B02A276: mov dword ptr [edx + 4], edi */ 10129 edi = MEM32(esi + 0x4); /* 0x2B02A279: mov edi, dword ptr [esi + 4] */ 10130 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A27C: cmp ecx, dword ptr [edi + 4] */ 10131 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 10132 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10133 _flag_k = FK_CMP; 10134 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A286; /* 0x2B02A27F: jne 0x2b02a286 */ 10135 L_2B02A281: 10136 MEM32(edi + 0x4) = edx; /* 0x2B02A281: mov dword ptr [edi + 4], edx */ 10137 goto L_2B02A294; /* 0x2B02A284: jmp 0x2b02a294 */ 10138 L_2B02A286: 10139 edi = MEM32(ecx + 0x4); /* 0x2B02A286: mov edi, dword ptr [ecx + 4] */ 10140 /* cmp ecx, MEM32(edi) */ /* 0x2B02A289: cmp ecx, dword ptr [edi] */ 10141 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 10142 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10143 _flag_k = FK_CMP; 10144 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A291; /* 0x2B02A28B: jne 0x2b02a291 */ 10145 L_2B02A28D: 10146 MEM32(edi) = edx; /* 0x2B02A28D: mov dword ptr [edi], edx */ 10147 goto L_2B02A294; /* 0x2B02A28F: jmp 0x2b02a294 */ 10148 L_2B02A291: 10149 MEM32(edi + 0x8) = edx; /* 0x2B02A291: mov dword ptr [edi + 8], edx */ 10150 L_2B02A294: 10151 MEM32(edx) = ecx; /* 0x2B02A294: mov dword ptr [edx], ecx */ 10152 L_2B02A296: 10153 MEM32(ecx + 0x4) = edx; /* 0x2B02A296: mov dword ptr [ecx + 4], edx */ 10154 L_2B02A299: 10155 ecx = MEM32(esi + 0x4); /* 0x2B02A299: mov ecx, dword ptr [esi + 4] */ 10156 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B02A29C: cmp eax, dword ptr [ecx + 4] */ 10157 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 10158 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10159 _flag_k = FK_CMP; 10160 RECOMP_BACKEDGE(); 10161 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A125; /* 0x2B02A29F: jne 0x2b02a125 */ 10162 L_2B02A2A5: 10163 edx = MEM32(esi + 0x4); /* 0x2B02A2A5: mov edx, dword ptr [esi + 4] */ 10164 eax = MEM32(edx + 0x4); /* 0x2B02A2A8: mov eax, dword ptr [edx + 4] */ 10165 ecx = MEM32(ebp + (-0x4)); /* 0x2B02A2AB: mov ecx, dword ptr [ebp - 4] */ 10166 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A2AE: mov byte ptr [eax + 0x3c], bl */ 10167 eax = MEM32(ebp + 0x8); /* 0x2B02A2B1: mov eax, dword ptr [ebp + 8] */ 10168 edi = POP32_VAL(esp); /* 0x2B02A2B4: pop edi */ 10169 esi = POP32_VAL(esp); /* 0x2B02A2B5: pop esi */ 10170 MEM32(eax) = ecx; /* 0x2B02A2B6: mov dword ptr [eax], ecx */ 10171 ebx = POP32_VAL(esp); /* 0x2B02A2B8: pop ebx */ 10172 esp = ebp; /* 0x2B02A2B9: mov esp, ebp */ 10173 ebp = POP32_VAL(esp); /* 0x2B02A2BB: pop ebp */ 10174 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B02A2BC: ret 0x10 */ 10175 RECOMP_REGS_OUT(); 10176 } 10177 10178 void sub_2B02A299(void) { 10179 int _fpu_cmp = 0; 10180 uint32_t _cf = 0; 10181 int _df = 1; 10182 uint32_t _flag_k = FK_NONE; 10183 uint32_t _flag_a = 0, _flag_b = 0; 10184 uint32_t _itail_tgt = 0; 10185 RECOMP_REGS_LOCALS 10186 RECOMP_ENTER(0x2B02A299u); 10187 10188 goto L_2B02A299; 10189 L_2B02A125: 10190 ecx = MEM32(eax + 0x4); /* 0x2B02A125: mov ecx, dword ptr [eax + 4] */ 10191 SET_LO8(edx, MEM8(ecx + 0x3C)); /* 0x2B02A128: mov dl, byte ptr [ecx + 0x3c] */ 10192 /* test LO8(edx), LO8(edx) */ /* 0x2B02A12B: test dl, dl */ 10193 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 10194 _cf = 0; 10195 _flag_k = FK_NARROW(FK_TEST, 24); 10196 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02A2A5; /* 0x2B02A12D: jne 0x2b02a2a5 */ 10197 L_2B02A133: 10198 edi = MEM32(ecx + 0x4); /* 0x2B02A133: mov edi, dword ptr [ecx + 4] */ 10199 edx = MEM32(edi); /* 0x2B02A136: mov edx, dword ptr [edi] */ 10200 /* cmp ecx, edx */ /* 0x2B02A138: cmp ecx, edx */ 10201 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 10202 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10203 _flag_k = FK_CMP; 10204 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A201; /* 0x2B02A13A: jne 0x2b02a201 */ 10205 L_2B02A140: 10206 edx = MEM32(edi + 0x8); /* 0x2B02A140: mov edx, dword ptr [edi + 8] */ 10207 /* cmp MEM8(edx + 0x3C), 0 */ /* 0x2B02A143: cmp byte ptr [edx + 0x3c], 0 */ 10208 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(0) << 24; 10209 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10210 _flag_k = FK_NARROW(FK_CMP, 24); 10211 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A164; /* 0x2B02A147: jne 0x2b02a164 */ 10212 L_2B02A149: 10213 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A149: mov byte ptr [ecx + 0x3c], bl */ 10214 MEM8(edx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A14C: mov byte ptr [edx + 0x3c], bl */ 10215 ecx = MEM32(eax + 0x4); /* 0x2B02A14F: mov ecx, dword ptr [eax + 4] */ 10216 edx = MEM32(ecx + 0x4); /* 0x2B02A152: mov edx, dword ptr [ecx + 4] */ 10217 MEM8(edx + 0x3C) = (uint8_t)(0); /* 0x2B02A155: mov byte ptr [edx + 0x3c], 0 */ 10218 eax = MEM32(eax + 0x4); /* 0x2B02A159: mov eax, dword ptr [eax + 4] */ 10219 eax = MEM32(eax + 0x4); /* 0x2B02A15C: mov eax, dword ptr [eax + 4] */ 10220 goto L_2B02A299; /* 0x2B02A15F: jmp 0x2b02a299 */ 10221 L_2B02A164: 10222 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B02A164: cmp eax, dword ptr [ecx + 8] */ 10223 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 10224 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10225 _flag_k = FK_CMP; 10226 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A1A3; /* 0x2B02A167: jne 0x2b02a1a3 */ 10227 L_2B02A169: 10228 eax = ecx; /* 0x2B02A169: mov eax, ecx */ 10229 ecx = MEM32(eax + 0x8); /* 0x2B02A16B: mov ecx, dword ptr [eax + 8] */ 10230 edx = MEM32(ecx); /* 0x2B02A16E: mov edx, dword ptr [ecx] */ 10231 MEM32(eax + 0x8) = edx; /* 0x2B02A170: mov dword ptr [eax + 8], edx */ 10232 edx = MEM32(ecx); /* 0x2B02A173: mov edx, dword ptr [ecx] */ 10233 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A175: cmp edx, dword ptr [esi + 8] */ 10234 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10235 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10236 _flag_k = FK_CMP; 10237 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A17D; /* 0x2B02A178: je 0x2b02a17d */ 10238 L_2B02A17A: 10239 MEM32(edx + 0x4) = eax; /* 0x2B02A17A: mov dword ptr [edx + 4], eax */ 10240 L_2B02A17D: 10241 edx = MEM32(eax + 0x4); /* 0x2B02A17D: mov edx, dword ptr [eax + 4] */ 10242 MEM32(ecx + 0x4) = edx; /* 0x2B02A180: mov dword ptr [ecx + 4], edx */ 10243 edx = MEM32(esi + 0x4); /* 0x2B02A183: mov edx, dword ptr [esi + 4] */ 10244 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A186: cmp eax, dword ptr [edx + 4] */ 10245 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 10246 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10247 _flag_k = FK_CMP; 10248 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A190; /* 0x2B02A189: jne 0x2b02a190 */ 10249 L_2B02A18B: 10250 MEM32(edx + 0x4) = ecx; /* 0x2B02A18B: mov dword ptr [edx + 4], ecx */ 10251 goto L_2B02A19E; /* 0x2B02A18E: jmp 0x2b02a19e */ 10252 L_2B02A190: 10253 edx = MEM32(eax + 0x4); /* 0x2B02A190: mov edx, dword ptr [eax + 4] */ 10254 /* cmp eax, MEM32(edx) */ /* 0x2B02A193: cmp eax, dword ptr [edx] */ 10255 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 10256 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10257 _flag_k = FK_CMP; 10258 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A19B; /* 0x2B02A195: jne 0x2b02a19b */ 10259 L_2B02A197: 10260 MEM32(edx) = ecx; /* 0x2B02A197: mov dword ptr [edx], ecx */ 10261 goto L_2B02A19E; /* 0x2B02A199: jmp 0x2b02a19e */ 10262 L_2B02A19B: 10263 MEM32(edx + 0x8) = ecx; /* 0x2B02A19B: mov dword ptr [edx + 8], ecx */ 10264 L_2B02A19E: 10265 MEM32(ecx) = eax; /* 0x2B02A19E: mov dword ptr [ecx], eax */ 10266 MEM32(eax + 0x4) = ecx; /* 0x2B02A1A0: mov dword ptr [eax + 4], ecx */ 10267 L_2B02A1A3: 10268 ecx = MEM32(eax + 0x4); /* 0x2B02A1A3: mov ecx, dword ptr [eax + 4] */ 10269 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A1A6: mov byte ptr [ecx + 0x3c], bl */ 10270 edx = MEM32(eax + 0x4); /* 0x2B02A1A9: mov edx, dword ptr [eax + 4] */ 10271 ecx = MEM32(edx + 0x4); /* 0x2B02A1AC: mov ecx, dword ptr [edx + 4] */ 10272 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B02A1AF: mov byte ptr [ecx + 0x3c], 0 */ 10273 edx = MEM32(eax + 0x4); /* 0x2B02A1B3: mov edx, dword ptr [eax + 4] */ 10274 ecx = MEM32(edx + 0x4); /* 0x2B02A1B6: mov ecx, dword ptr [edx + 4] */ 10275 edx = MEM32(ecx); /* 0x2B02A1B9: mov edx, dword ptr [ecx] */ 10276 edi = MEM32(edx + 0x8); /* 0x2B02A1BB: mov edi, dword ptr [edx + 8] */ 10277 MEM32(ecx) = edi; /* 0x2B02A1BE: mov dword ptr [ecx], edi */ 10278 edi = MEM32(edx + 0x8); /* 0x2B02A1C0: mov edi, dword ptr [edx + 8] */ 10279 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A1C3: cmp edi, dword ptr [esi + 8] */ 10280 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10281 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10282 _flag_k = FK_CMP; 10283 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A1CB; /* 0x2B02A1C6: je 0x2b02a1cb */ 10284 L_2B02A1C8: 10285 MEM32(edi + 0x4) = ecx; /* 0x2B02A1C8: mov dword ptr [edi + 4], ecx */ 10286 L_2B02A1CB: 10287 edi = MEM32(ecx + 0x4); /* 0x2B02A1CB: mov edi, dword ptr [ecx + 4] */ 10288 MEM32(edx + 0x4) = edi; /* 0x2B02A1CE: mov dword ptr [edx + 4], edi */ 10289 edi = MEM32(esi + 0x4); /* 0x2B02A1D1: mov edi, dword ptr [esi + 4] */ 10290 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A1D4: cmp ecx, dword ptr [edi + 4] */ 10291 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 10292 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10293 _flag_k = FK_CMP; 10294 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A1E4; /* 0x2B02A1D7: jne 0x2b02a1e4 */ 10295 L_2B02A1D9: 10296 MEM32(edi + 0x4) = edx; /* 0x2B02A1D9: mov dword ptr [edi + 4], edx */ 10297 MEM32(edx + 0x8) = ecx; /* 0x2B02A1DC: mov dword ptr [edx + 8], ecx */ 10298 goto L_2B02A296; /* 0x2B02A1DF: jmp 0x2b02a296 */ 10299 L_2B02A1E4: 10300 edi = MEM32(ecx + 0x4); /* 0x2B02A1E4: mov edi, dword ptr [ecx + 4] */ 10301 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B02A1E7: cmp ecx, dword ptr [edi + 8] */ 10302 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10303 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10304 _flag_k = FK_CMP; 10305 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A1F7; /* 0x2B02A1EA: jne 0x2b02a1f7 */ 10306 L_2B02A1EC: 10307 MEM32(edi + 0x8) = edx; /* 0x2B02A1EC: mov dword ptr [edi + 8], edx */ 10308 MEM32(edx + 0x8) = ecx; /* 0x2B02A1EF: mov dword ptr [edx + 8], ecx */ 10309 goto L_2B02A296; /* 0x2B02A1F2: jmp 0x2b02a296 */ 10310 L_2B02A1F7: 10311 MEM32(edi) = edx; /* 0x2B02A1F7: mov dword ptr [edi], edx */ 10312 MEM32(edx + 0x8) = ecx; /* 0x2B02A1F9: mov dword ptr [edx + 8], ecx */ 10313 goto L_2B02A296; /* 0x2B02A1FC: jmp 0x2b02a296 */ 10314 L_2B02A201: 10315 /* cmp MEM8(edx + 0x3C), 0 */ /* 0x2B02A201: cmp byte ptr [edx + 0x3c], 0 */ 10316 _flag_a = (uint32_t)(MEM8(edx + 0x3C)) << 24; _flag_b = (uint32_t)(0) << 24; 10317 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10318 _flag_k = FK_NARROW(FK_CMP, 24); 10319 RECOMP_BACKEDGE(); 10320 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A149; /* 0x2B02A205: je 0x2b02a149 */ 10321 L_2B02A20B: 10322 /* cmp eax, MEM32(ecx) */ /* 0x2B02A20B: cmp eax, dword ptr [ecx] */ 10323 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 10324 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10325 _flag_k = FK_CMP; 10326 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A24B; /* 0x2B02A20D: jne 0x2b02a24b */ 10327 L_2B02A20F: 10328 eax = ecx; /* 0x2B02A20F: mov eax, ecx */ 10329 ecx = MEM32(eax); /* 0x2B02A211: mov ecx, dword ptr [eax] */ 10330 edx = MEM32(ecx + 0x8); /* 0x2B02A213: mov edx, dword ptr [ecx + 8] */ 10331 MEM32(eax) = edx; /* 0x2B02A216: mov dword ptr [eax], edx */ 10332 edx = MEM32(ecx + 0x8); /* 0x2B02A218: mov edx, dword ptr [ecx + 8] */ 10333 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A21B: cmp edx, dword ptr [esi + 8] */ 10334 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10335 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10336 _flag_k = FK_CMP; 10337 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A223; /* 0x2B02A21E: je 0x2b02a223 */ 10338 L_2B02A220: 10339 MEM32(edx + 0x4) = eax; /* 0x2B02A220: mov dword ptr [edx + 4], eax */ 10340 L_2B02A223: 10341 edx = MEM32(eax + 0x4); /* 0x2B02A223: mov edx, dword ptr [eax + 4] */ 10342 MEM32(ecx + 0x4) = edx; /* 0x2B02A226: mov dword ptr [ecx + 4], edx */ 10343 edx = MEM32(esi + 0x4); /* 0x2B02A229: mov edx, dword ptr [esi + 4] */ 10344 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A22C: cmp eax, dword ptr [edx + 4] */ 10345 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 10346 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10347 _flag_k = FK_CMP; 10348 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A236; /* 0x2B02A22F: jne 0x2b02a236 */ 10349 L_2B02A231: 10350 MEM32(edx + 0x4) = ecx; /* 0x2B02A231: mov dword ptr [edx + 4], ecx */ 10351 goto L_2B02A245; /* 0x2B02A234: jmp 0x2b02a245 */ 10352 L_2B02A236: 10353 edx = MEM32(eax + 0x4); /* 0x2B02A236: mov edx, dword ptr [eax + 4] */ 10354 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B02A239: cmp eax, dword ptr [edx + 8] */ 10355 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 10356 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10357 _flag_k = FK_CMP; 10358 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A243; /* 0x2B02A23C: jne 0x2b02a243 */ 10359 L_2B02A23E: 10360 MEM32(edx + 0x8) = ecx; /* 0x2B02A23E: mov dword ptr [edx + 8], ecx */ 10361 goto L_2B02A245; /* 0x2B02A241: jmp 0x2b02a245 */ 10362 L_2B02A243: 10363 MEM32(edx) = ecx; /* 0x2B02A243: mov dword ptr [edx], ecx */ 10364 L_2B02A245: 10365 MEM32(ecx + 0x8) = eax; /* 0x2B02A245: mov dword ptr [ecx + 8], eax */ 10366 MEM32(eax + 0x4) = ecx; /* 0x2B02A248: mov dword ptr [eax + 4], ecx */ 10367 L_2B02A24B: 10368 ecx = MEM32(eax + 0x4); /* 0x2B02A24B: mov ecx, dword ptr [eax + 4] */ 10369 MEM8(ecx + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A24E: mov byte ptr [ecx + 0x3c], bl */ 10370 edx = MEM32(eax + 0x4); /* 0x2B02A251: mov edx, dword ptr [eax + 4] */ 10371 ecx = MEM32(edx + 0x4); /* 0x2B02A254: mov ecx, dword ptr [edx + 4] */ 10372 MEM8(ecx + 0x3C) = (uint8_t)(0); /* 0x2B02A257: mov byte ptr [ecx + 0x3c], 0 */ 10373 edx = MEM32(eax + 0x4); /* 0x2B02A25B: mov edx, dword ptr [eax + 4] */ 10374 ecx = MEM32(edx + 0x4); /* 0x2B02A25E: mov ecx, dword ptr [edx + 4] */ 10375 edx = MEM32(ecx + 0x8); /* 0x2B02A261: mov edx, dword ptr [ecx + 8] */ 10376 edi = MEM32(edx); /* 0x2B02A264: mov edi, dword ptr [edx] */ 10377 MEM32(ecx + 0x8) = edi; /* 0x2B02A266: mov dword ptr [ecx + 8], edi */ 10378 edi = MEM32(edx); /* 0x2B02A269: mov edi, dword ptr [edx] */ 10379 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A26B: cmp edi, dword ptr [esi + 8] */ 10380 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10381 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10382 _flag_k = FK_CMP; 10383 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A273; /* 0x2B02A26E: je 0x2b02a273 */ 10384 L_2B02A270: 10385 MEM32(edi + 0x4) = ecx; /* 0x2B02A270: mov dword ptr [edi + 4], ecx */ 10386 L_2B02A273: 10387 edi = MEM32(ecx + 0x4); /* 0x2B02A273: mov edi, dword ptr [ecx + 4] */ 10388 MEM32(edx + 0x4) = edi; /* 0x2B02A276: mov dword ptr [edx + 4], edi */ 10389 edi = MEM32(esi + 0x4); /* 0x2B02A279: mov edi, dword ptr [esi + 4] */ 10390 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A27C: cmp ecx, dword ptr [edi + 4] */ 10391 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 10392 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10393 _flag_k = FK_CMP; 10394 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A286; /* 0x2B02A27F: jne 0x2b02a286 */ 10395 L_2B02A281: 10396 MEM32(edi + 0x4) = edx; /* 0x2B02A281: mov dword ptr [edi + 4], edx */ 10397 goto L_2B02A294; /* 0x2B02A284: jmp 0x2b02a294 */ 10398 L_2B02A286: 10399 edi = MEM32(ecx + 0x4); /* 0x2B02A286: mov edi, dword ptr [ecx + 4] */ 10400 /* cmp ecx, MEM32(edi) */ /* 0x2B02A289: cmp ecx, dword ptr [edi] */ 10401 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 10402 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10403 _flag_k = FK_CMP; 10404 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A291; /* 0x2B02A28B: jne 0x2b02a291 */ 10405 L_2B02A28D: 10406 MEM32(edi) = edx; /* 0x2B02A28D: mov dword ptr [edi], edx */ 10407 goto L_2B02A294; /* 0x2B02A28F: jmp 0x2b02a294 */ 10408 L_2B02A291: 10409 MEM32(edi + 0x8) = edx; /* 0x2B02A291: mov dword ptr [edi + 8], edx */ 10410 L_2B02A294: 10411 MEM32(edx) = ecx; /* 0x2B02A294: mov dword ptr [edx], ecx */ 10412 L_2B02A296: 10413 MEM32(ecx + 0x4) = edx; /* 0x2B02A296: mov dword ptr [ecx + 4], edx */ 10414 L_2B02A299: 10415 ecx = MEM32(esi + 0x4); /* 0x2B02A299: mov ecx, dword ptr [esi + 4] */ 10416 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B02A29C: cmp eax, dword ptr [ecx + 4] */ 10417 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 10418 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10419 _flag_k = FK_CMP; 10420 RECOMP_BACKEDGE(); 10421 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A125; /* 0x2B02A29F: jne 0x2b02a125 */ 10422 L_2B02A2A5: 10423 edx = MEM32(esi + 0x4); /* 0x2B02A2A5: mov edx, dword ptr [esi + 4] */ 10424 eax = MEM32(edx + 0x4); /* 0x2B02A2A8: mov eax, dword ptr [edx + 4] */ 10425 ecx = MEM32(ebp + (-0x4)); /* 0x2B02A2AB: mov ecx, dword ptr [ebp - 4] */ 10426 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A2AE: mov byte ptr [eax + 0x3c], bl */ 10427 eax = MEM32(ebp + 0x8); /* 0x2B02A2B1: mov eax, dword ptr [ebp + 8] */ 10428 edi = POP32_VAL(esp); /* 0x2B02A2B4: pop edi */ 10429 esi = POP32_VAL(esp); /* 0x2B02A2B5: pop esi */ 10430 MEM32(eax) = ecx; /* 0x2B02A2B6: mov dword ptr [eax], ecx */ 10431 ebx = POP32_VAL(esp); /* 0x2B02A2B8: pop ebx */ 10432 esp = ebp; /* 0x2B02A2B9: mov esp, ebp */ 10433 ebp = POP32_VAL(esp); /* 0x2B02A2BB: pop ebp */ 10434 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B02A2BC: ret 0x10 */ 10435 RECOMP_REGS_OUT(); 10436 } 10437 10438 void sub_2B02A2A5(void) { 10439 int _fpu_cmp = 0; 10440 uint32_t _cf = 0; 10441 int _df = 1; 10442 uint32_t _flag_k = FK_NONE; 10443 uint32_t _flag_a = 0, _flag_b = 0; 10444 uint32_t _itail_tgt = 0; 10445 RECOMP_REGS_LOCALS 10446 RECOMP_ENTER(0x2B02A2A5u); 10447 10448 L_2B02A2A5: 10449 edx = MEM32(esi + 0x4); /* 0x2B02A2A5: mov edx, dword ptr [esi + 4] */ 10450 eax = MEM32(edx + 0x4); /* 0x2B02A2A8: mov eax, dword ptr [edx + 4] */ 10451 ecx = MEM32(ebp + (-0x4)); /* 0x2B02A2AB: mov ecx, dword ptr [ebp - 4] */ 10452 MEM8(eax + 0x3C) = (uint8_t)(LO8(ebx)); /* 0x2B02A2AE: mov byte ptr [eax + 0x3c], bl */ 10453 eax = MEM32(ebp + 0x8); /* 0x2B02A2B1: mov eax, dword ptr [ebp + 8] */ 10454 edi = POP32_VAL(esp); /* 0x2B02A2B4: pop edi */ 10455 esi = POP32_VAL(esp); /* 0x2B02A2B5: pop esi */ 10456 MEM32(eax) = ecx; /* 0x2B02A2B6: mov dword ptr [eax], ecx */ 10457 ebx = POP32_VAL(esp); /* 0x2B02A2B8: pop ebx */ 10458 esp = ebp; /* 0x2B02A2B9: mov esp, ebp */ 10459 ebp = POP32_VAL(esp); /* 0x2B02A2BB: pop ebp */ 10460 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B02A2BC: ret 0x10 */ 10461 RECOMP_REGS_OUT(); 10462 } 10463 10464 void sub_2B02A2C0(void) { 10465 int _fpu_cmp = 0; 10466 uint32_t _cf = 0; 10467 int _df = 1; 10468 uint32_t _flag_k = FK_NONE; 10469 uint32_t _flag_a = 0, _flag_b = 0; 10470 uint32_t _itail_tgt = 0; 10471 RECOMP_REGS_LOCALS 10472 RECOMP_ENTER(0x2B02A2C0u); 10473 10474 L_2B02A2C0: 10475 PUSH32(esp, ebp); /* 0x2B02A2C0: push ebp */ 10476 ebp = esp; /* 0x2B02A2C1: mov ebp, esp */ 10477 PUSH32(esp, ecx); /* 0x2B02A2C3: push ecx */ 10478 PUSH32(esp, ebx); /* 0x2B02A2C4: push ebx */ 10479 PUSH32(esp, esi); /* 0x2B02A2C5: push esi */ 10480 PUSH32(esp, edi); /* 0x2B02A2C6: push edi */ 10481 PUSH32(esp, 0x38u); /* 0x2B02A2C7: push 0x38 */ 10482 esi = ecx; /* 0x2B02A2C9: mov esi, ecx */ 10483 RECOMP_ICALL(0x2B0AB212u); /* 0x2B02A2CB: call 0x2b0ab212 */ /* not lifted */ 10484 RECOMP_FLAGS_IN(); 10485 edi = MEM32(ebp + 0x10); /* 0x2B02A2D0: mov edi, dword ptr [ebp + 0x10] */ 10486 ebx = MEM32(ebp + 0x14); /* 0x2B02A2D3: mov ebx, dword ptr [ebp + 0x14] */ 10487 MEM32(eax + 0x4) = edi; /* 0x2B02A2D6: mov dword ptr [eax + 4], edi */ 10488 MEM8(eax + 0x34) = (uint8_t)(0); /* 0x2B02A2D9: mov byte ptr [eax + 0x34], 0 */ 10489 MEM8(eax + 0x35) = (uint8_t)(0); /* 0x2B02A2DD: mov byte ptr [eax + 0x35], 0 */ 10490 ecx = MEM32(esi + 0x8); /* 0x2B02A2E1: mov ecx, dword ptr [esi + 8] */ 10491 MEM32(eax) = ecx; /* 0x2B02A2E4: mov dword ptr [eax], ecx */ 10492 edx = MEM32(esi + 0x8); /* 0x2B02A2E6: mov edx, dword ptr [esi + 8] */ 10493 MEM32(ebp + (-0x4)) = eax; /* 0x2B02A2E9: mov dword ptr [ebp - 4], eax */ 10494 MEM32(eax + 0x8) = edx; /* 0x2B02A2EC: mov dword ptr [eax + 8], edx */ 10495 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu); 10496 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10497 eax = eax + 0xCu; /* 0x2B02A2EF: add eax, 0xc */ 10498 _flag_k = FK_ADD; 10499 PUSH32(esp, ebx); /* 0x2B02A2F2: push ebx */ 10500 PUSH32(esp, eax); /* 0x2B02A2F3: push eax */ 10501 RECOMP_ICALL(0x2B02A920u); /* 0x2B02A2F4: call 0x2b02a920 */ /* not lifted */ 10502 RECOMP_FLAGS_IN(); 10503 ecx = MEM32(esi + 0x10); /* 0x2B02A2F9: mov ecx, dword ptr [esi + 0x10] */ 10504 eax = MEM32(esi + 0x4); /* 0x2B02A2FC: mov eax, dword ptr [esi + 4] */ 10505 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 10506 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10507 esp = esp + 0xCu; /* 0x2B02A2FF: add esp, 0xc */ 10508 _flag_k = FK_ADD; 10509 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 10510 ecx = ecx + 1; /* 0x2B02A302: inc ecx */ 10511 _flag_k = FK_INC; 10512 /* cmp edi, eax */ /* 0x2B02A303: cmp edi, eax */ 10513 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 10514 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10515 _flag_k = FK_CMP; 10516 MEM32(esi + 0x10) = ecx; /* 0x2B02A305: mov dword ptr [esi + 0x10], ecx */ 10517 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A334; /* 0x2B02A308: je 0x2b02a334 */ 10518 L_2B02A30A: 10519 eax = MEM32(ebp + 0xC); /* 0x2B02A30A: mov eax, dword ptr [ebp + 0xc] */ 10520 /* cmp eax, MEM32(esi + 0x8) */ /* 0x2B02A30D: cmp eax, dword ptr [esi + 8] */ 10521 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10522 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10523 _flag_k = FK_CMP; 10524 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A334; /* 0x2B02A310: jne 0x2b02a334 */ 10525 L_2B02A312: 10526 ecx = edi + 0xC; /* 0x2B02A312: lea ecx, [edi + 0xc] */ 10527 PUSH32(esp, ecx); /* 0x2B02A315: push ecx */ 10528 ecx = ebx; /* 0x2B02A316: mov ecx, ebx */ 10529 RECOMP_ICALL(0x2B02AB60u); /* 0x2B02A318: call 0x2b02ab60 */ /* not lifted */ 10530 RECOMP_FLAGS_IN(); 10531 /* test LO8(eax), LO8(eax) */ /* 0x2B02A31D: test al, al */ 10532 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 10533 _cf = 0; 10534 _flag_k = FK_NARROW(FK_TEST, 24); 10535 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02A334; /* 0x2B02A31F: jne 0x2b02a334 */ 10536 L_2B02A321: 10537 ecx = MEM32(ebp + (-0x4)); /* 0x2B02A321: mov ecx, dword ptr [ebp - 4] */ 10538 MEM32(edi + 0x8) = ecx; /* 0x2B02A324: mov dword ptr [edi + 8], ecx */ 10539 eax = MEM32(esi + 0x4); /* 0x2B02A327: mov eax, dword ptr [esi + 4] */ 10540 /* cmp edi, MEM32(eax + 0x8) */ /* 0x2B02A32A: cmp edi, dword ptr [eax + 8] */ 10541 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 10542 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10543 _flag_k = FK_CMP; 10544 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A354; /* 0x2B02A32D: jne 0x2b02a354 */ 10545 L_2B02A32F: 10546 MEM32(eax + 0x8) = ecx; /* 0x2B02A32F: mov dword ptr [eax + 8], ecx */ 10547 goto L_2B02A354; /* 0x2B02A332: jmp 0x2b02a354 */ 10548 L_2B02A334: 10549 ecx = MEM32(ebp + (-0x4)); /* 0x2B02A334: mov ecx, dword ptr [ebp - 4] */ 10550 MEM32(edi) = ecx; /* 0x2B02A337: mov dword ptr [edi], ecx */ 10551 eax = MEM32(esi + 0x4); /* 0x2B02A339: mov eax, dword ptr [esi + 4] */ 10552 /* cmp edi, eax */ /* 0x2B02A33C: cmp edi, eax */ 10553 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 10554 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10555 _flag_k = FK_CMP; 10556 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A34B; /* 0x2B02A33E: jne 0x2b02a34b */ 10557 L_2B02A340: 10558 MEM32(eax + 0x4) = ecx; /* 0x2B02A340: mov dword ptr [eax + 4], ecx */ 10559 edx = MEM32(esi + 0x4); /* 0x2B02A343: mov edx, dword ptr [esi + 4] */ 10560 MEM32(edx + 0x8) = ecx; /* 0x2B02A346: mov dword ptr [edx + 8], ecx */ 10561 goto L_2B02A354; /* 0x2B02A349: jmp 0x2b02a354 */ 10562 L_2B02A34B: 10563 /* cmp edi, MEM32(eax) */ /* 0x2B02A34B: cmp edi, dword ptr [eax] */ 10564 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax)); 10565 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10566 _flag_k = FK_CMP; 10567 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A354; /* 0x2B02A34D: jne 0x2b02a354 */ 10568 L_2B02A34F: 10569 ecx = MEM32(ebp + (-0x4)); /* 0x2B02A34F: mov ecx, dword ptr [ebp - 4] */ 10570 MEM32(eax) = ecx; /* 0x2B02A352: mov dword ptr [eax], ecx */ 10571 L_2B02A354: 10572 edx = MEM32(esi + 0x4); /* 0x2B02A354: mov edx, dword ptr [esi + 4] */ 10573 eax = MEM32(ebp + (-0x4)); /* 0x2B02A357: mov eax, dword ptr [ebp - 4] */ 10574 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A35A: cmp eax, dword ptr [edx + 4] */ 10575 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 10576 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10577 _flag_k = FK_CMP; 10578 SET_LO8(ebx, 1); /* 0x2B02A35D: mov bl, 1 */ 10579 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A4E5; /* 0x2B02A35F: je 0x2b02a4e5 */ 10580 L_2B02A365: 10581 ecx = MEM32(eax + 0x4); /* 0x2B02A365: mov ecx, dword ptr [eax + 4] */ 10582 SET_LO8(edx, MEM8(ecx + 0x34)); /* 0x2B02A368: mov dl, byte ptr [ecx + 0x34] */ 10583 /* test LO8(edx), LO8(edx) */ /* 0x2B02A36B: test dl, dl */ 10584 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 10585 _cf = 0; 10586 _flag_k = FK_NARROW(FK_TEST, 24); 10587 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02A4E5; /* 0x2B02A36D: jne 0x2b02a4e5 */ 10588 L_2B02A373: 10589 edi = MEM32(ecx + 0x4); /* 0x2B02A373: mov edi, dword ptr [ecx + 4] */ 10590 edx = MEM32(edi); /* 0x2B02A376: mov edx, dword ptr [edi] */ 10591 /* cmp ecx, edx */ /* 0x2B02A378: cmp ecx, edx */ 10592 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 10593 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10594 _flag_k = FK_CMP; 10595 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A441; /* 0x2B02A37A: jne 0x2b02a441 */ 10596 L_2B02A380: 10597 edx = MEM32(edi + 0x8); /* 0x2B02A380: mov edx, dword ptr [edi + 8] */ 10598 /* cmp MEM8(edx + 0x34), 0 */ /* 0x2B02A383: cmp byte ptr [edx + 0x34], 0 */ 10599 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(0) << 24; 10600 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10601 _flag_k = FK_NARROW(FK_CMP, 24); 10602 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3A4; /* 0x2B02A387: jne 0x2b02a3a4 */ 10603 L_2B02A389: 10604 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A389: mov byte ptr [ecx + 0x34], bl */ 10605 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A38C: mov byte ptr [edx + 0x34], bl */ 10606 ecx = MEM32(eax + 0x4); /* 0x2B02A38F: mov ecx, dword ptr [eax + 4] */ 10607 edx = MEM32(ecx + 0x4); /* 0x2B02A392: mov edx, dword ptr [ecx + 4] */ 10608 MEM8(edx + 0x34) = (uint8_t)(0); /* 0x2B02A395: mov byte ptr [edx + 0x34], 0 */ 10609 eax = MEM32(eax + 0x4); /* 0x2B02A399: mov eax, dword ptr [eax + 4] */ 10610 eax = MEM32(eax + 0x4); /* 0x2B02A39C: mov eax, dword ptr [eax + 4] */ 10611 goto L_2B02A4D9; /* 0x2B02A39F: jmp 0x2b02a4d9 */ 10612 L_2B02A3A4: 10613 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B02A3A4: cmp eax, dword ptr [ecx + 8] */ 10614 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 10615 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10616 _flag_k = FK_CMP; 10617 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3E3; /* 0x2B02A3A7: jne 0x2b02a3e3 */ 10618 L_2B02A3A9: 10619 eax = ecx; /* 0x2B02A3A9: mov eax, ecx */ 10620 ecx = MEM32(eax + 0x8); /* 0x2B02A3AB: mov ecx, dword ptr [eax + 8] */ 10621 edx = MEM32(ecx); /* 0x2B02A3AE: mov edx, dword ptr [ecx] */ 10622 MEM32(eax + 0x8) = edx; /* 0x2B02A3B0: mov dword ptr [eax + 8], edx */ 10623 edx = MEM32(ecx); /* 0x2B02A3B3: mov edx, dword ptr [ecx] */ 10624 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A3B5: cmp edx, dword ptr [esi + 8] */ 10625 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10626 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10627 _flag_k = FK_CMP; 10628 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A3BD; /* 0x2B02A3B8: je 0x2b02a3bd */ 10629 L_2B02A3BA: 10630 MEM32(edx + 0x4) = eax; /* 0x2B02A3BA: mov dword ptr [edx + 4], eax */ 10631 L_2B02A3BD: 10632 edx = MEM32(eax + 0x4); /* 0x2B02A3BD: mov edx, dword ptr [eax + 4] */ 10633 MEM32(ecx + 0x4) = edx; /* 0x2B02A3C0: mov dword ptr [ecx + 4], edx */ 10634 edx = MEM32(esi + 0x4); /* 0x2B02A3C3: mov edx, dword ptr [esi + 4] */ 10635 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A3C6: cmp eax, dword ptr [edx + 4] */ 10636 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 10637 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10638 _flag_k = FK_CMP; 10639 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3D0; /* 0x2B02A3C9: jne 0x2b02a3d0 */ 10640 L_2B02A3CB: 10641 MEM32(edx + 0x4) = ecx; /* 0x2B02A3CB: mov dword ptr [edx + 4], ecx */ 10642 goto L_2B02A3DE; /* 0x2B02A3CE: jmp 0x2b02a3de */ 10643 L_2B02A3D0: 10644 edx = MEM32(eax + 0x4); /* 0x2B02A3D0: mov edx, dword ptr [eax + 4] */ 10645 /* cmp eax, MEM32(edx) */ /* 0x2B02A3D3: cmp eax, dword ptr [edx] */ 10646 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 10647 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10648 _flag_k = FK_CMP; 10649 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3DB; /* 0x2B02A3D5: jne 0x2b02a3db */ 10650 L_2B02A3D7: 10651 MEM32(edx) = ecx; /* 0x2B02A3D7: mov dword ptr [edx], ecx */ 10652 goto L_2B02A3DE; /* 0x2B02A3D9: jmp 0x2b02a3de */ 10653 L_2B02A3DB: 10654 MEM32(edx + 0x8) = ecx; /* 0x2B02A3DB: mov dword ptr [edx + 8], ecx */ 10655 L_2B02A3DE: 10656 MEM32(ecx) = eax; /* 0x2B02A3DE: mov dword ptr [ecx], eax */ 10657 MEM32(eax + 0x4) = ecx; /* 0x2B02A3E0: mov dword ptr [eax + 4], ecx */ 10658 L_2B02A3E3: 10659 ecx = MEM32(eax + 0x4); /* 0x2B02A3E3: mov ecx, dword ptr [eax + 4] */ 10660 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A3E6: mov byte ptr [ecx + 0x34], bl */ 10661 edx = MEM32(eax + 0x4); /* 0x2B02A3E9: mov edx, dword ptr [eax + 4] */ 10662 ecx = MEM32(edx + 0x4); /* 0x2B02A3EC: mov ecx, dword ptr [edx + 4] */ 10663 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B02A3EF: mov byte ptr [ecx + 0x34], 0 */ 10664 edx = MEM32(eax + 0x4); /* 0x2B02A3F3: mov edx, dword ptr [eax + 4] */ 10665 ecx = MEM32(edx + 0x4); /* 0x2B02A3F6: mov ecx, dword ptr [edx + 4] */ 10666 edx = MEM32(ecx); /* 0x2B02A3F9: mov edx, dword ptr [ecx] */ 10667 edi = MEM32(edx + 0x8); /* 0x2B02A3FB: mov edi, dword ptr [edx + 8] */ 10668 MEM32(ecx) = edi; /* 0x2B02A3FE: mov dword ptr [ecx], edi */ 10669 edi = MEM32(edx + 0x8); /* 0x2B02A400: mov edi, dword ptr [edx + 8] */ 10670 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A403: cmp edi, dword ptr [esi + 8] */ 10671 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10672 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10673 _flag_k = FK_CMP; 10674 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A40B; /* 0x2B02A406: je 0x2b02a40b */ 10675 L_2B02A408: 10676 MEM32(edi + 0x4) = ecx; /* 0x2B02A408: mov dword ptr [edi + 4], ecx */ 10677 L_2B02A40B: 10678 edi = MEM32(ecx + 0x4); /* 0x2B02A40B: mov edi, dword ptr [ecx + 4] */ 10679 MEM32(edx + 0x4) = edi; /* 0x2B02A40E: mov dword ptr [edx + 4], edi */ 10680 edi = MEM32(esi + 0x4); /* 0x2B02A411: mov edi, dword ptr [esi + 4] */ 10681 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A414: cmp ecx, dword ptr [edi + 4] */ 10682 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 10683 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10684 _flag_k = FK_CMP; 10685 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A424; /* 0x2B02A417: jne 0x2b02a424 */ 10686 L_2B02A419: 10687 MEM32(edi + 0x4) = edx; /* 0x2B02A419: mov dword ptr [edi + 4], edx */ 10688 MEM32(edx + 0x8) = ecx; /* 0x2B02A41C: mov dword ptr [edx + 8], ecx */ 10689 goto L_2B02A4D6; /* 0x2B02A41F: jmp 0x2b02a4d6 */ 10690 L_2B02A424: 10691 edi = MEM32(ecx + 0x4); /* 0x2B02A424: mov edi, dword ptr [ecx + 4] */ 10692 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B02A427: cmp ecx, dword ptr [edi + 8] */ 10693 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10694 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10695 _flag_k = FK_CMP; 10696 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A437; /* 0x2B02A42A: jne 0x2b02a437 */ 10697 L_2B02A42C: 10698 MEM32(edi + 0x8) = edx; /* 0x2B02A42C: mov dword ptr [edi + 8], edx */ 10699 MEM32(edx + 0x8) = ecx; /* 0x2B02A42F: mov dword ptr [edx + 8], ecx */ 10700 goto L_2B02A4D6; /* 0x2B02A432: jmp 0x2b02a4d6 */ 10701 L_2B02A437: 10702 MEM32(edi) = edx; /* 0x2B02A437: mov dword ptr [edi], edx */ 10703 MEM32(edx + 0x8) = ecx; /* 0x2B02A439: mov dword ptr [edx + 8], ecx */ 10704 goto L_2B02A4D6; /* 0x2B02A43C: jmp 0x2b02a4d6 */ 10705 L_2B02A441: 10706 /* cmp MEM8(edx + 0x34), 0 */ /* 0x2B02A441: cmp byte ptr [edx + 0x34], 0 */ 10707 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(0) << 24; 10708 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10709 _flag_k = FK_NARROW(FK_CMP, 24); 10710 RECOMP_BACKEDGE(); 10711 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A389; /* 0x2B02A445: je 0x2b02a389 */ 10712 L_2B02A44B: 10713 /* cmp eax, MEM32(ecx) */ /* 0x2B02A44B: cmp eax, dword ptr [ecx] */ 10714 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 10715 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10716 _flag_k = FK_CMP; 10717 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A48B; /* 0x2B02A44D: jne 0x2b02a48b */ 10718 L_2B02A44F: 10719 eax = ecx; /* 0x2B02A44F: mov eax, ecx */ 10720 ecx = MEM32(eax); /* 0x2B02A451: mov ecx, dword ptr [eax] */ 10721 edx = MEM32(ecx + 0x8); /* 0x2B02A453: mov edx, dword ptr [ecx + 8] */ 10722 MEM32(eax) = edx; /* 0x2B02A456: mov dword ptr [eax], edx */ 10723 edx = MEM32(ecx + 0x8); /* 0x2B02A458: mov edx, dword ptr [ecx + 8] */ 10724 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A45B: cmp edx, dword ptr [esi + 8] */ 10725 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10726 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10727 _flag_k = FK_CMP; 10728 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A463; /* 0x2B02A45E: je 0x2b02a463 */ 10729 L_2B02A460: 10730 MEM32(edx + 0x4) = eax; /* 0x2B02A460: mov dword ptr [edx + 4], eax */ 10731 L_2B02A463: 10732 edx = MEM32(eax + 0x4); /* 0x2B02A463: mov edx, dword ptr [eax + 4] */ 10733 MEM32(ecx + 0x4) = edx; /* 0x2B02A466: mov dword ptr [ecx + 4], edx */ 10734 edx = MEM32(esi + 0x4); /* 0x2B02A469: mov edx, dword ptr [esi + 4] */ 10735 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A46C: cmp eax, dword ptr [edx + 4] */ 10736 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 10737 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10738 _flag_k = FK_CMP; 10739 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A476; /* 0x2B02A46F: jne 0x2b02a476 */ 10740 L_2B02A471: 10741 MEM32(edx + 0x4) = ecx; /* 0x2B02A471: mov dword ptr [edx + 4], ecx */ 10742 goto L_2B02A485; /* 0x2B02A474: jmp 0x2b02a485 */ 10743 L_2B02A476: 10744 edx = MEM32(eax + 0x4); /* 0x2B02A476: mov edx, dword ptr [eax + 4] */ 10745 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B02A479: cmp eax, dword ptr [edx + 8] */ 10746 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 10747 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10748 _flag_k = FK_CMP; 10749 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A483; /* 0x2B02A47C: jne 0x2b02a483 */ 10750 L_2B02A47E: 10751 MEM32(edx + 0x8) = ecx; /* 0x2B02A47E: mov dword ptr [edx + 8], ecx */ 10752 goto L_2B02A485; /* 0x2B02A481: jmp 0x2b02a485 */ 10753 L_2B02A483: 10754 MEM32(edx) = ecx; /* 0x2B02A483: mov dword ptr [edx], ecx */ 10755 L_2B02A485: 10756 MEM32(ecx + 0x8) = eax; /* 0x2B02A485: mov dword ptr [ecx + 8], eax */ 10757 MEM32(eax + 0x4) = ecx; /* 0x2B02A488: mov dword ptr [eax + 4], ecx */ 10758 L_2B02A48B: 10759 ecx = MEM32(eax + 0x4); /* 0x2B02A48B: mov ecx, dword ptr [eax + 4] */ 10760 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A48E: mov byte ptr [ecx + 0x34], bl */ 10761 edx = MEM32(eax + 0x4); /* 0x2B02A491: mov edx, dword ptr [eax + 4] */ 10762 ecx = MEM32(edx + 0x4); /* 0x2B02A494: mov ecx, dword ptr [edx + 4] */ 10763 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B02A497: mov byte ptr [ecx + 0x34], 0 */ 10764 edx = MEM32(eax + 0x4); /* 0x2B02A49B: mov edx, dword ptr [eax + 4] */ 10765 ecx = MEM32(edx + 0x4); /* 0x2B02A49E: mov ecx, dword ptr [edx + 4] */ 10766 edx = MEM32(ecx + 0x8); /* 0x2B02A4A1: mov edx, dword ptr [ecx + 8] */ 10767 edi = MEM32(edx); /* 0x2B02A4A4: mov edi, dword ptr [edx] */ 10768 MEM32(ecx + 0x8) = edi; /* 0x2B02A4A6: mov dword ptr [ecx + 8], edi */ 10769 edi = MEM32(edx); /* 0x2B02A4A9: mov edi, dword ptr [edx] */ 10770 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A4AB: cmp edi, dword ptr [esi + 8] */ 10771 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10772 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10773 _flag_k = FK_CMP; 10774 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A4B3; /* 0x2B02A4AE: je 0x2b02a4b3 */ 10775 L_2B02A4B0: 10776 MEM32(edi + 0x4) = ecx; /* 0x2B02A4B0: mov dword ptr [edi + 4], ecx */ 10777 L_2B02A4B3: 10778 edi = MEM32(ecx + 0x4); /* 0x2B02A4B3: mov edi, dword ptr [ecx + 4] */ 10779 MEM32(edx + 0x4) = edi; /* 0x2B02A4B6: mov dword ptr [edx + 4], edi */ 10780 edi = MEM32(esi + 0x4); /* 0x2B02A4B9: mov edi, dword ptr [esi + 4] */ 10781 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A4BC: cmp ecx, dword ptr [edi + 4] */ 10782 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 10783 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10784 _flag_k = FK_CMP; 10785 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A4C6; /* 0x2B02A4BF: jne 0x2b02a4c6 */ 10786 L_2B02A4C1: 10787 MEM32(edi + 0x4) = edx; /* 0x2B02A4C1: mov dword ptr [edi + 4], edx */ 10788 goto L_2B02A4D4; /* 0x2B02A4C4: jmp 0x2b02a4d4 */ 10789 L_2B02A4C6: 10790 edi = MEM32(ecx + 0x4); /* 0x2B02A4C6: mov edi, dword ptr [ecx + 4] */ 10791 /* cmp ecx, MEM32(edi) */ /* 0x2B02A4C9: cmp ecx, dword ptr [edi] */ 10792 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 10793 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10794 _flag_k = FK_CMP; 10795 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A4D1; /* 0x2B02A4CB: jne 0x2b02a4d1 */ 10796 L_2B02A4CD: 10797 MEM32(edi) = edx; /* 0x2B02A4CD: mov dword ptr [edi], edx */ 10798 goto L_2B02A4D4; /* 0x2B02A4CF: jmp 0x2b02a4d4 */ 10799 L_2B02A4D1: 10800 MEM32(edi + 0x8) = edx; /* 0x2B02A4D1: mov dword ptr [edi + 8], edx */ 10801 L_2B02A4D4: 10802 MEM32(edx) = ecx; /* 0x2B02A4D4: mov dword ptr [edx], ecx */ 10803 L_2B02A4D6: 10804 MEM32(ecx + 0x4) = edx; /* 0x2B02A4D6: mov dword ptr [ecx + 4], edx */ 10805 L_2B02A4D9: 10806 ecx = MEM32(esi + 0x4); /* 0x2B02A4D9: mov ecx, dword ptr [esi + 4] */ 10807 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B02A4DC: cmp eax, dword ptr [ecx + 4] */ 10808 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 10809 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10810 _flag_k = FK_CMP; 10811 RECOMP_BACKEDGE(); 10812 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A365; /* 0x2B02A4DF: jne 0x2b02a365 */ 10813 L_2B02A4E5: 10814 edx = MEM32(esi + 0x4); /* 0x2B02A4E5: mov edx, dword ptr [esi + 4] */ 10815 eax = MEM32(edx + 0x4); /* 0x2B02A4E8: mov eax, dword ptr [edx + 4] */ 10816 ecx = MEM32(ebp + (-0x4)); /* 0x2B02A4EB: mov ecx, dword ptr [ebp - 4] */ 10817 MEM8(eax + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A4EE: mov byte ptr [eax + 0x34], bl */ 10818 eax = MEM32(ebp + 0x8); /* 0x2B02A4F1: mov eax, dword ptr [ebp + 8] */ 10819 edi = POP32_VAL(esp); /* 0x2B02A4F4: pop edi */ 10820 esi = POP32_VAL(esp); /* 0x2B02A4F5: pop esi */ 10821 MEM32(eax) = ecx; /* 0x2B02A4F6: mov dword ptr [eax], ecx */ 10822 ebx = POP32_VAL(esp); /* 0x2B02A4F8: pop ebx */ 10823 esp = ebp; /* 0x2B02A4F9: mov esp, ebp */ 10824 ebp = POP32_VAL(esp); /* 0x2B02A4FB: pop ebp */ 10825 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B02A4FC: ret 0x10 */ 10826 RECOMP_REGS_OUT(); 10827 } 10828 10829 void sub_2B02A365(void) { 10830 int _fpu_cmp = 0; 10831 uint32_t _cf = 0; 10832 int _df = 1; 10833 uint32_t _flag_k = FK_NONE; 10834 uint32_t _flag_a = 0, _flag_b = 0; 10835 uint32_t _itail_tgt = 0; 10836 RECOMP_REGS_LOCALS 10837 RECOMP_ENTER(0x2B02A365u); 10838 10839 L_2B02A365: 10840 ecx = MEM32(eax + 0x4); /* 0x2B02A365: mov ecx, dword ptr [eax + 4] */ 10841 SET_LO8(edx, MEM8(ecx + 0x34)); /* 0x2B02A368: mov dl, byte ptr [ecx + 0x34] */ 10842 /* test LO8(edx), LO8(edx) */ /* 0x2B02A36B: test dl, dl */ 10843 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 10844 _cf = 0; 10845 _flag_k = FK_NARROW(FK_TEST, 24); 10846 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02A4E5; /* 0x2B02A36D: jne 0x2b02a4e5 */ 10847 L_2B02A373: 10848 edi = MEM32(ecx + 0x4); /* 0x2B02A373: mov edi, dword ptr [ecx + 4] */ 10849 edx = MEM32(edi); /* 0x2B02A376: mov edx, dword ptr [edi] */ 10850 /* cmp ecx, edx */ /* 0x2B02A378: cmp ecx, edx */ 10851 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 10852 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10853 _flag_k = FK_CMP; 10854 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A441; /* 0x2B02A37A: jne 0x2b02a441 */ 10855 L_2B02A380: 10856 edx = MEM32(edi + 0x8); /* 0x2B02A380: mov edx, dword ptr [edi + 8] */ 10857 /* cmp MEM8(edx + 0x34), 0 */ /* 0x2B02A383: cmp byte ptr [edx + 0x34], 0 */ 10858 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(0) << 24; 10859 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10860 _flag_k = FK_NARROW(FK_CMP, 24); 10861 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3A4; /* 0x2B02A387: jne 0x2b02a3a4 */ 10862 L_2B02A389: 10863 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A389: mov byte ptr [ecx + 0x34], bl */ 10864 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A38C: mov byte ptr [edx + 0x34], bl */ 10865 ecx = MEM32(eax + 0x4); /* 0x2B02A38F: mov ecx, dword ptr [eax + 4] */ 10866 edx = MEM32(ecx + 0x4); /* 0x2B02A392: mov edx, dword ptr [ecx + 4] */ 10867 MEM8(edx + 0x34) = (uint8_t)(0); /* 0x2B02A395: mov byte ptr [edx + 0x34], 0 */ 10868 eax = MEM32(eax + 0x4); /* 0x2B02A399: mov eax, dword ptr [eax + 4] */ 10869 eax = MEM32(eax + 0x4); /* 0x2B02A39C: mov eax, dword ptr [eax + 4] */ 10870 goto L_2B02A4D9; /* 0x2B02A39F: jmp 0x2b02a4d9 */ 10871 L_2B02A3A4: 10872 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B02A3A4: cmp eax, dword ptr [ecx + 8] */ 10873 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 10874 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10875 _flag_k = FK_CMP; 10876 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3E3; /* 0x2B02A3A7: jne 0x2b02a3e3 */ 10877 L_2B02A3A9: 10878 eax = ecx; /* 0x2B02A3A9: mov eax, ecx */ 10879 ecx = MEM32(eax + 0x8); /* 0x2B02A3AB: mov ecx, dword ptr [eax + 8] */ 10880 edx = MEM32(ecx); /* 0x2B02A3AE: mov edx, dword ptr [ecx] */ 10881 MEM32(eax + 0x8) = edx; /* 0x2B02A3B0: mov dword ptr [eax + 8], edx */ 10882 edx = MEM32(ecx); /* 0x2B02A3B3: mov edx, dword ptr [ecx] */ 10883 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A3B5: cmp edx, dword ptr [esi + 8] */ 10884 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10885 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10886 _flag_k = FK_CMP; 10887 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A3BD; /* 0x2B02A3B8: je 0x2b02a3bd */ 10888 L_2B02A3BA: 10889 MEM32(edx + 0x4) = eax; /* 0x2B02A3BA: mov dword ptr [edx + 4], eax */ 10890 L_2B02A3BD: 10891 edx = MEM32(eax + 0x4); /* 0x2B02A3BD: mov edx, dword ptr [eax + 4] */ 10892 MEM32(ecx + 0x4) = edx; /* 0x2B02A3C0: mov dword ptr [ecx + 4], edx */ 10893 edx = MEM32(esi + 0x4); /* 0x2B02A3C3: mov edx, dword ptr [esi + 4] */ 10894 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A3C6: cmp eax, dword ptr [edx + 4] */ 10895 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 10896 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10897 _flag_k = FK_CMP; 10898 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3D0; /* 0x2B02A3C9: jne 0x2b02a3d0 */ 10899 L_2B02A3CB: 10900 MEM32(edx + 0x4) = ecx; /* 0x2B02A3CB: mov dword ptr [edx + 4], ecx */ 10901 goto L_2B02A3DE; /* 0x2B02A3CE: jmp 0x2b02a3de */ 10902 L_2B02A3D0: 10903 edx = MEM32(eax + 0x4); /* 0x2B02A3D0: mov edx, dword ptr [eax + 4] */ 10904 /* cmp eax, MEM32(edx) */ /* 0x2B02A3D3: cmp eax, dword ptr [edx] */ 10905 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 10906 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10907 _flag_k = FK_CMP; 10908 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3DB; /* 0x2B02A3D5: jne 0x2b02a3db */ 10909 L_2B02A3D7: 10910 MEM32(edx) = ecx; /* 0x2B02A3D7: mov dword ptr [edx], ecx */ 10911 goto L_2B02A3DE; /* 0x2B02A3D9: jmp 0x2b02a3de */ 10912 L_2B02A3DB: 10913 MEM32(edx + 0x8) = ecx; /* 0x2B02A3DB: mov dword ptr [edx + 8], ecx */ 10914 L_2B02A3DE: 10915 MEM32(ecx) = eax; /* 0x2B02A3DE: mov dword ptr [ecx], eax */ 10916 MEM32(eax + 0x4) = ecx; /* 0x2B02A3E0: mov dword ptr [eax + 4], ecx */ 10917 L_2B02A3E3: 10918 ecx = MEM32(eax + 0x4); /* 0x2B02A3E3: mov ecx, dword ptr [eax + 4] */ 10919 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A3E6: mov byte ptr [ecx + 0x34], bl */ 10920 edx = MEM32(eax + 0x4); /* 0x2B02A3E9: mov edx, dword ptr [eax + 4] */ 10921 ecx = MEM32(edx + 0x4); /* 0x2B02A3EC: mov ecx, dword ptr [edx + 4] */ 10922 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B02A3EF: mov byte ptr [ecx + 0x34], 0 */ 10923 edx = MEM32(eax + 0x4); /* 0x2B02A3F3: mov edx, dword ptr [eax + 4] */ 10924 ecx = MEM32(edx + 0x4); /* 0x2B02A3F6: mov ecx, dword ptr [edx + 4] */ 10925 edx = MEM32(ecx); /* 0x2B02A3F9: mov edx, dword ptr [ecx] */ 10926 edi = MEM32(edx + 0x8); /* 0x2B02A3FB: mov edi, dword ptr [edx + 8] */ 10927 MEM32(ecx) = edi; /* 0x2B02A3FE: mov dword ptr [ecx], edi */ 10928 edi = MEM32(edx + 0x8); /* 0x2B02A400: mov edi, dword ptr [edx + 8] */ 10929 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A403: cmp edi, dword ptr [esi + 8] */ 10930 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10931 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10932 _flag_k = FK_CMP; 10933 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A40B; /* 0x2B02A406: je 0x2b02a40b */ 10934 L_2B02A408: 10935 MEM32(edi + 0x4) = ecx; /* 0x2B02A408: mov dword ptr [edi + 4], ecx */ 10936 L_2B02A40B: 10937 edi = MEM32(ecx + 0x4); /* 0x2B02A40B: mov edi, dword ptr [ecx + 4] */ 10938 MEM32(edx + 0x4) = edi; /* 0x2B02A40E: mov dword ptr [edx + 4], edi */ 10939 edi = MEM32(esi + 0x4); /* 0x2B02A411: mov edi, dword ptr [esi + 4] */ 10940 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A414: cmp ecx, dword ptr [edi + 4] */ 10941 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 10942 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10943 _flag_k = FK_CMP; 10944 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A424; /* 0x2B02A417: jne 0x2b02a424 */ 10945 L_2B02A419: 10946 MEM32(edi + 0x4) = edx; /* 0x2B02A419: mov dword ptr [edi + 4], edx */ 10947 MEM32(edx + 0x8) = ecx; /* 0x2B02A41C: mov dword ptr [edx + 8], ecx */ 10948 goto L_2B02A4D6; /* 0x2B02A41F: jmp 0x2b02a4d6 */ 10949 L_2B02A424: 10950 edi = MEM32(ecx + 0x4); /* 0x2B02A424: mov edi, dword ptr [ecx + 4] */ 10951 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B02A427: cmp ecx, dword ptr [edi + 8] */ 10952 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 10953 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10954 _flag_k = FK_CMP; 10955 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A437; /* 0x2B02A42A: jne 0x2b02a437 */ 10956 L_2B02A42C: 10957 MEM32(edi + 0x8) = edx; /* 0x2B02A42C: mov dword ptr [edi + 8], edx */ 10958 MEM32(edx + 0x8) = ecx; /* 0x2B02A42F: mov dword ptr [edx + 8], ecx */ 10959 goto L_2B02A4D6; /* 0x2B02A432: jmp 0x2b02a4d6 */ 10960 L_2B02A437: 10961 MEM32(edi) = edx; /* 0x2B02A437: mov dword ptr [edi], edx */ 10962 MEM32(edx + 0x8) = ecx; /* 0x2B02A439: mov dword ptr [edx + 8], ecx */ 10963 goto L_2B02A4D6; /* 0x2B02A43C: jmp 0x2b02a4d6 */ 10964 L_2B02A441: 10965 /* cmp MEM8(edx + 0x34), 0 */ /* 0x2B02A441: cmp byte ptr [edx + 0x34], 0 */ 10966 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(0) << 24; 10967 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10968 _flag_k = FK_NARROW(FK_CMP, 24); 10969 RECOMP_BACKEDGE(); 10970 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A389; /* 0x2B02A445: je 0x2b02a389 */ 10971 L_2B02A44B: 10972 /* cmp eax, MEM32(ecx) */ /* 0x2B02A44B: cmp eax, dword ptr [ecx] */ 10973 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 10974 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10975 _flag_k = FK_CMP; 10976 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A48B; /* 0x2B02A44D: jne 0x2b02a48b */ 10977 L_2B02A44F: 10978 eax = ecx; /* 0x2B02A44F: mov eax, ecx */ 10979 ecx = MEM32(eax); /* 0x2B02A451: mov ecx, dword ptr [eax] */ 10980 edx = MEM32(ecx + 0x8); /* 0x2B02A453: mov edx, dword ptr [ecx + 8] */ 10981 MEM32(eax) = edx; /* 0x2B02A456: mov dword ptr [eax], edx */ 10982 edx = MEM32(ecx + 0x8); /* 0x2B02A458: mov edx, dword ptr [ecx + 8] */ 10983 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A45B: cmp edx, dword ptr [esi + 8] */ 10984 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10985 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10986 _flag_k = FK_CMP; 10987 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A463; /* 0x2B02A45E: je 0x2b02a463 */ 10988 L_2B02A460: 10989 MEM32(edx + 0x4) = eax; /* 0x2B02A460: mov dword ptr [edx + 4], eax */ 10990 L_2B02A463: 10991 edx = MEM32(eax + 0x4); /* 0x2B02A463: mov edx, dword ptr [eax + 4] */ 10992 MEM32(ecx + 0x4) = edx; /* 0x2B02A466: mov dword ptr [ecx + 4], edx */ 10993 edx = MEM32(esi + 0x4); /* 0x2B02A469: mov edx, dword ptr [esi + 4] */ 10994 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A46C: cmp eax, dword ptr [edx + 4] */ 10995 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 10996 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10997 _flag_k = FK_CMP; 10998 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A476; /* 0x2B02A46F: jne 0x2b02a476 */ 10999 L_2B02A471: 11000 MEM32(edx + 0x4) = ecx; /* 0x2B02A471: mov dword ptr [edx + 4], ecx */ 11001 goto L_2B02A485; /* 0x2B02A474: jmp 0x2b02a485 */ 11002 L_2B02A476: 11003 edx = MEM32(eax + 0x4); /* 0x2B02A476: mov edx, dword ptr [eax + 4] */ 11004 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B02A479: cmp eax, dword ptr [edx + 8] */ 11005 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 11006 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11007 _flag_k = FK_CMP; 11008 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A483; /* 0x2B02A47C: jne 0x2b02a483 */ 11009 L_2B02A47E: 11010 MEM32(edx + 0x8) = ecx; /* 0x2B02A47E: mov dword ptr [edx + 8], ecx */ 11011 goto L_2B02A485; /* 0x2B02A481: jmp 0x2b02a485 */ 11012 L_2B02A483: 11013 MEM32(edx) = ecx; /* 0x2B02A483: mov dword ptr [edx], ecx */ 11014 L_2B02A485: 11015 MEM32(ecx + 0x8) = eax; /* 0x2B02A485: mov dword ptr [ecx + 8], eax */ 11016 MEM32(eax + 0x4) = ecx; /* 0x2B02A488: mov dword ptr [eax + 4], ecx */ 11017 L_2B02A48B: 11018 ecx = MEM32(eax + 0x4); /* 0x2B02A48B: mov ecx, dword ptr [eax + 4] */ 11019 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A48E: mov byte ptr [ecx + 0x34], bl */ 11020 edx = MEM32(eax + 0x4); /* 0x2B02A491: mov edx, dword ptr [eax + 4] */ 11021 ecx = MEM32(edx + 0x4); /* 0x2B02A494: mov ecx, dword ptr [edx + 4] */ 11022 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B02A497: mov byte ptr [ecx + 0x34], 0 */ 11023 edx = MEM32(eax + 0x4); /* 0x2B02A49B: mov edx, dword ptr [eax + 4] */ 11024 ecx = MEM32(edx + 0x4); /* 0x2B02A49E: mov ecx, dword ptr [edx + 4] */ 11025 edx = MEM32(ecx + 0x8); /* 0x2B02A4A1: mov edx, dword ptr [ecx + 8] */ 11026 edi = MEM32(edx); /* 0x2B02A4A4: mov edi, dword ptr [edx] */ 11027 MEM32(ecx + 0x8) = edi; /* 0x2B02A4A6: mov dword ptr [ecx + 8], edi */ 11028 edi = MEM32(edx); /* 0x2B02A4A9: mov edi, dword ptr [edx] */ 11029 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A4AB: cmp edi, dword ptr [esi + 8] */ 11030 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11031 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11032 _flag_k = FK_CMP; 11033 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A4B3; /* 0x2B02A4AE: je 0x2b02a4b3 */ 11034 L_2B02A4B0: 11035 MEM32(edi + 0x4) = ecx; /* 0x2B02A4B0: mov dword ptr [edi + 4], ecx */ 11036 L_2B02A4B3: 11037 edi = MEM32(ecx + 0x4); /* 0x2B02A4B3: mov edi, dword ptr [ecx + 4] */ 11038 MEM32(edx + 0x4) = edi; /* 0x2B02A4B6: mov dword ptr [edx + 4], edi */ 11039 edi = MEM32(esi + 0x4); /* 0x2B02A4B9: mov edi, dword ptr [esi + 4] */ 11040 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A4BC: cmp ecx, dword ptr [edi + 4] */ 11041 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 11042 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11043 _flag_k = FK_CMP; 11044 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A4C6; /* 0x2B02A4BF: jne 0x2b02a4c6 */ 11045 L_2B02A4C1: 11046 MEM32(edi + 0x4) = edx; /* 0x2B02A4C1: mov dword ptr [edi + 4], edx */ 11047 goto L_2B02A4D4; /* 0x2B02A4C4: jmp 0x2b02a4d4 */ 11048 L_2B02A4C6: 11049 edi = MEM32(ecx + 0x4); /* 0x2B02A4C6: mov edi, dword ptr [ecx + 4] */ 11050 /* cmp ecx, MEM32(edi) */ /* 0x2B02A4C9: cmp ecx, dword ptr [edi] */ 11051 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 11052 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11053 _flag_k = FK_CMP; 11054 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A4D1; /* 0x2B02A4CB: jne 0x2b02a4d1 */ 11055 L_2B02A4CD: 11056 MEM32(edi) = edx; /* 0x2B02A4CD: mov dword ptr [edi], edx */ 11057 goto L_2B02A4D4; /* 0x2B02A4CF: jmp 0x2b02a4d4 */ 11058 L_2B02A4D1: 11059 MEM32(edi + 0x8) = edx; /* 0x2B02A4D1: mov dword ptr [edi + 8], edx */ 11060 L_2B02A4D4: 11061 MEM32(edx) = ecx; /* 0x2B02A4D4: mov dword ptr [edx], ecx */ 11062 L_2B02A4D6: 11063 MEM32(ecx + 0x4) = edx; /* 0x2B02A4D6: mov dword ptr [ecx + 4], edx */ 11064 L_2B02A4D9: 11065 ecx = MEM32(esi + 0x4); /* 0x2B02A4D9: mov ecx, dword ptr [esi + 4] */ 11066 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B02A4DC: cmp eax, dword ptr [ecx + 4] */ 11067 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 11068 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11069 _flag_k = FK_CMP; 11070 RECOMP_BACKEDGE(); 11071 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A365; /* 0x2B02A4DF: jne 0x2b02a365 */ 11072 L_2B02A4E5: 11073 edx = MEM32(esi + 0x4); /* 0x2B02A4E5: mov edx, dword ptr [esi + 4] */ 11074 eax = MEM32(edx + 0x4); /* 0x2B02A4E8: mov eax, dword ptr [edx + 4] */ 11075 ecx = MEM32(ebp + (-0x4)); /* 0x2B02A4EB: mov ecx, dword ptr [ebp - 4] */ 11076 MEM8(eax + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A4EE: mov byte ptr [eax + 0x34], bl */ 11077 eax = MEM32(ebp + 0x8); /* 0x2B02A4F1: mov eax, dword ptr [ebp + 8] */ 11078 edi = POP32_VAL(esp); /* 0x2B02A4F4: pop edi */ 11079 esi = POP32_VAL(esp); /* 0x2B02A4F5: pop esi */ 11080 MEM32(eax) = ecx; /* 0x2B02A4F6: mov dword ptr [eax], ecx */ 11081 ebx = POP32_VAL(esp); /* 0x2B02A4F8: pop ebx */ 11082 esp = ebp; /* 0x2B02A4F9: mov esp, ebp */ 11083 ebp = POP32_VAL(esp); /* 0x2B02A4FB: pop ebp */ 11084 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B02A4FC: ret 0x10 */ 11085 RECOMP_REGS_OUT(); 11086 } 11087 11088 void sub_2B02A389(void) { 11089 int _fpu_cmp = 0; 11090 uint32_t _cf = 0; 11091 int _df = 1; 11092 uint32_t _flag_k = FK_NONE; 11093 uint32_t _flag_a = 0, _flag_b = 0; 11094 uint32_t _itail_tgt = 0; 11095 RECOMP_REGS_LOCALS 11096 RECOMP_ENTER(0x2B02A389u); 11097 11098 goto L_2B02A389; 11099 L_2B02A365: 11100 ecx = MEM32(eax + 0x4); /* 0x2B02A365: mov ecx, dword ptr [eax + 4] */ 11101 SET_LO8(edx, MEM8(ecx + 0x34)); /* 0x2B02A368: mov dl, byte ptr [ecx + 0x34] */ 11102 /* test LO8(edx), LO8(edx) */ /* 0x2B02A36B: test dl, dl */ 11103 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 11104 _cf = 0; 11105 _flag_k = FK_NARROW(FK_TEST, 24); 11106 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02A4E5; /* 0x2B02A36D: jne 0x2b02a4e5 */ 11107 L_2B02A373: 11108 edi = MEM32(ecx + 0x4); /* 0x2B02A373: mov edi, dword ptr [ecx + 4] */ 11109 edx = MEM32(edi); /* 0x2B02A376: mov edx, dword ptr [edi] */ 11110 /* cmp ecx, edx */ /* 0x2B02A378: cmp ecx, edx */ 11111 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 11112 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11113 _flag_k = FK_CMP; 11114 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A441; /* 0x2B02A37A: jne 0x2b02a441 */ 11115 L_2B02A380: 11116 edx = MEM32(edi + 0x8); /* 0x2B02A380: mov edx, dword ptr [edi + 8] */ 11117 /* cmp MEM8(edx + 0x34), 0 */ /* 0x2B02A383: cmp byte ptr [edx + 0x34], 0 */ 11118 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(0) << 24; 11119 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11120 _flag_k = FK_NARROW(FK_CMP, 24); 11121 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3A4; /* 0x2B02A387: jne 0x2b02a3a4 */ 11122 L_2B02A389: 11123 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A389: mov byte ptr [ecx + 0x34], bl */ 11124 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A38C: mov byte ptr [edx + 0x34], bl */ 11125 ecx = MEM32(eax + 0x4); /* 0x2B02A38F: mov ecx, dword ptr [eax + 4] */ 11126 edx = MEM32(ecx + 0x4); /* 0x2B02A392: mov edx, dword ptr [ecx + 4] */ 11127 MEM8(edx + 0x34) = (uint8_t)(0); /* 0x2B02A395: mov byte ptr [edx + 0x34], 0 */ 11128 eax = MEM32(eax + 0x4); /* 0x2B02A399: mov eax, dword ptr [eax + 4] */ 11129 eax = MEM32(eax + 0x4); /* 0x2B02A39C: mov eax, dword ptr [eax + 4] */ 11130 goto L_2B02A4D9; /* 0x2B02A39F: jmp 0x2b02a4d9 */ 11131 L_2B02A3A4: 11132 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B02A3A4: cmp eax, dword ptr [ecx + 8] */ 11133 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 11134 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11135 _flag_k = FK_CMP; 11136 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3E3; /* 0x2B02A3A7: jne 0x2b02a3e3 */ 11137 L_2B02A3A9: 11138 eax = ecx; /* 0x2B02A3A9: mov eax, ecx */ 11139 ecx = MEM32(eax + 0x8); /* 0x2B02A3AB: mov ecx, dword ptr [eax + 8] */ 11140 edx = MEM32(ecx); /* 0x2B02A3AE: mov edx, dword ptr [ecx] */ 11141 MEM32(eax + 0x8) = edx; /* 0x2B02A3B0: mov dword ptr [eax + 8], edx */ 11142 edx = MEM32(ecx); /* 0x2B02A3B3: mov edx, dword ptr [ecx] */ 11143 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A3B5: cmp edx, dword ptr [esi + 8] */ 11144 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11145 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11146 _flag_k = FK_CMP; 11147 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A3BD; /* 0x2B02A3B8: je 0x2b02a3bd */ 11148 L_2B02A3BA: 11149 MEM32(edx + 0x4) = eax; /* 0x2B02A3BA: mov dword ptr [edx + 4], eax */ 11150 L_2B02A3BD: 11151 edx = MEM32(eax + 0x4); /* 0x2B02A3BD: mov edx, dword ptr [eax + 4] */ 11152 MEM32(ecx + 0x4) = edx; /* 0x2B02A3C0: mov dword ptr [ecx + 4], edx */ 11153 edx = MEM32(esi + 0x4); /* 0x2B02A3C3: mov edx, dword ptr [esi + 4] */ 11154 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A3C6: cmp eax, dword ptr [edx + 4] */ 11155 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 11156 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11157 _flag_k = FK_CMP; 11158 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3D0; /* 0x2B02A3C9: jne 0x2b02a3d0 */ 11159 L_2B02A3CB: 11160 MEM32(edx + 0x4) = ecx; /* 0x2B02A3CB: mov dword ptr [edx + 4], ecx */ 11161 goto L_2B02A3DE; /* 0x2B02A3CE: jmp 0x2b02a3de */ 11162 L_2B02A3D0: 11163 edx = MEM32(eax + 0x4); /* 0x2B02A3D0: mov edx, dword ptr [eax + 4] */ 11164 /* cmp eax, MEM32(edx) */ /* 0x2B02A3D3: cmp eax, dword ptr [edx] */ 11165 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 11166 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11167 _flag_k = FK_CMP; 11168 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3DB; /* 0x2B02A3D5: jne 0x2b02a3db */ 11169 L_2B02A3D7: 11170 MEM32(edx) = ecx; /* 0x2B02A3D7: mov dword ptr [edx], ecx */ 11171 goto L_2B02A3DE; /* 0x2B02A3D9: jmp 0x2b02a3de */ 11172 L_2B02A3DB: 11173 MEM32(edx + 0x8) = ecx; /* 0x2B02A3DB: mov dword ptr [edx + 8], ecx */ 11174 L_2B02A3DE: 11175 MEM32(ecx) = eax; /* 0x2B02A3DE: mov dword ptr [ecx], eax */ 11176 MEM32(eax + 0x4) = ecx; /* 0x2B02A3E0: mov dword ptr [eax + 4], ecx */ 11177 L_2B02A3E3: 11178 ecx = MEM32(eax + 0x4); /* 0x2B02A3E3: mov ecx, dword ptr [eax + 4] */ 11179 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A3E6: mov byte ptr [ecx + 0x34], bl */ 11180 edx = MEM32(eax + 0x4); /* 0x2B02A3E9: mov edx, dword ptr [eax + 4] */ 11181 ecx = MEM32(edx + 0x4); /* 0x2B02A3EC: mov ecx, dword ptr [edx + 4] */ 11182 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B02A3EF: mov byte ptr [ecx + 0x34], 0 */ 11183 edx = MEM32(eax + 0x4); /* 0x2B02A3F3: mov edx, dword ptr [eax + 4] */ 11184 ecx = MEM32(edx + 0x4); /* 0x2B02A3F6: mov ecx, dword ptr [edx + 4] */ 11185 edx = MEM32(ecx); /* 0x2B02A3F9: mov edx, dword ptr [ecx] */ 11186 edi = MEM32(edx + 0x8); /* 0x2B02A3FB: mov edi, dword ptr [edx + 8] */ 11187 MEM32(ecx) = edi; /* 0x2B02A3FE: mov dword ptr [ecx], edi */ 11188 edi = MEM32(edx + 0x8); /* 0x2B02A400: mov edi, dword ptr [edx + 8] */ 11189 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A403: cmp edi, dword ptr [esi + 8] */ 11190 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11191 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11192 _flag_k = FK_CMP; 11193 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A40B; /* 0x2B02A406: je 0x2b02a40b */ 11194 L_2B02A408: 11195 MEM32(edi + 0x4) = ecx; /* 0x2B02A408: mov dword ptr [edi + 4], ecx */ 11196 L_2B02A40B: 11197 edi = MEM32(ecx + 0x4); /* 0x2B02A40B: mov edi, dword ptr [ecx + 4] */ 11198 MEM32(edx + 0x4) = edi; /* 0x2B02A40E: mov dword ptr [edx + 4], edi */ 11199 edi = MEM32(esi + 0x4); /* 0x2B02A411: mov edi, dword ptr [esi + 4] */ 11200 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A414: cmp ecx, dword ptr [edi + 4] */ 11201 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 11202 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11203 _flag_k = FK_CMP; 11204 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A424; /* 0x2B02A417: jne 0x2b02a424 */ 11205 L_2B02A419: 11206 MEM32(edi + 0x4) = edx; /* 0x2B02A419: mov dword ptr [edi + 4], edx */ 11207 MEM32(edx + 0x8) = ecx; /* 0x2B02A41C: mov dword ptr [edx + 8], ecx */ 11208 goto L_2B02A4D6; /* 0x2B02A41F: jmp 0x2b02a4d6 */ 11209 L_2B02A424: 11210 edi = MEM32(ecx + 0x4); /* 0x2B02A424: mov edi, dword ptr [ecx + 4] */ 11211 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B02A427: cmp ecx, dword ptr [edi + 8] */ 11212 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 11213 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11214 _flag_k = FK_CMP; 11215 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A437; /* 0x2B02A42A: jne 0x2b02a437 */ 11216 L_2B02A42C: 11217 MEM32(edi + 0x8) = edx; /* 0x2B02A42C: mov dword ptr [edi + 8], edx */ 11218 MEM32(edx + 0x8) = ecx; /* 0x2B02A42F: mov dword ptr [edx + 8], ecx */ 11219 goto L_2B02A4D6; /* 0x2B02A432: jmp 0x2b02a4d6 */ 11220 L_2B02A437: 11221 MEM32(edi) = edx; /* 0x2B02A437: mov dword ptr [edi], edx */ 11222 MEM32(edx + 0x8) = ecx; /* 0x2B02A439: mov dword ptr [edx + 8], ecx */ 11223 goto L_2B02A4D6; /* 0x2B02A43C: jmp 0x2b02a4d6 */ 11224 L_2B02A441: 11225 /* cmp MEM8(edx + 0x34), 0 */ /* 0x2B02A441: cmp byte ptr [edx + 0x34], 0 */ 11226 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(0) << 24; 11227 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11228 _flag_k = FK_NARROW(FK_CMP, 24); 11229 RECOMP_BACKEDGE(); 11230 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A389; /* 0x2B02A445: je 0x2b02a389 */ 11231 L_2B02A44B: 11232 /* cmp eax, MEM32(ecx) */ /* 0x2B02A44B: cmp eax, dword ptr [ecx] */ 11233 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 11234 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11235 _flag_k = FK_CMP; 11236 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A48B; /* 0x2B02A44D: jne 0x2b02a48b */ 11237 L_2B02A44F: 11238 eax = ecx; /* 0x2B02A44F: mov eax, ecx */ 11239 ecx = MEM32(eax); /* 0x2B02A451: mov ecx, dword ptr [eax] */ 11240 edx = MEM32(ecx + 0x8); /* 0x2B02A453: mov edx, dword ptr [ecx + 8] */ 11241 MEM32(eax) = edx; /* 0x2B02A456: mov dword ptr [eax], edx */ 11242 edx = MEM32(ecx + 0x8); /* 0x2B02A458: mov edx, dword ptr [ecx + 8] */ 11243 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A45B: cmp edx, dword ptr [esi + 8] */ 11244 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11245 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11246 _flag_k = FK_CMP; 11247 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A463; /* 0x2B02A45E: je 0x2b02a463 */ 11248 L_2B02A460: 11249 MEM32(edx + 0x4) = eax; /* 0x2B02A460: mov dword ptr [edx + 4], eax */ 11250 L_2B02A463: 11251 edx = MEM32(eax + 0x4); /* 0x2B02A463: mov edx, dword ptr [eax + 4] */ 11252 MEM32(ecx + 0x4) = edx; /* 0x2B02A466: mov dword ptr [ecx + 4], edx */ 11253 edx = MEM32(esi + 0x4); /* 0x2B02A469: mov edx, dword ptr [esi + 4] */ 11254 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A46C: cmp eax, dword ptr [edx + 4] */ 11255 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 11256 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11257 _flag_k = FK_CMP; 11258 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A476; /* 0x2B02A46F: jne 0x2b02a476 */ 11259 L_2B02A471: 11260 MEM32(edx + 0x4) = ecx; /* 0x2B02A471: mov dword ptr [edx + 4], ecx */ 11261 goto L_2B02A485; /* 0x2B02A474: jmp 0x2b02a485 */ 11262 L_2B02A476: 11263 edx = MEM32(eax + 0x4); /* 0x2B02A476: mov edx, dword ptr [eax + 4] */ 11264 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B02A479: cmp eax, dword ptr [edx + 8] */ 11265 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 11266 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11267 _flag_k = FK_CMP; 11268 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A483; /* 0x2B02A47C: jne 0x2b02a483 */ 11269 L_2B02A47E: 11270 MEM32(edx + 0x8) = ecx; /* 0x2B02A47E: mov dword ptr [edx + 8], ecx */ 11271 goto L_2B02A485; /* 0x2B02A481: jmp 0x2b02a485 */ 11272 L_2B02A483: 11273 MEM32(edx) = ecx; /* 0x2B02A483: mov dword ptr [edx], ecx */ 11274 L_2B02A485: 11275 MEM32(ecx + 0x8) = eax; /* 0x2B02A485: mov dword ptr [ecx + 8], eax */ 11276 MEM32(eax + 0x4) = ecx; /* 0x2B02A488: mov dword ptr [eax + 4], ecx */ 11277 L_2B02A48B: 11278 ecx = MEM32(eax + 0x4); /* 0x2B02A48B: mov ecx, dword ptr [eax + 4] */ 11279 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A48E: mov byte ptr [ecx + 0x34], bl */ 11280 edx = MEM32(eax + 0x4); /* 0x2B02A491: mov edx, dword ptr [eax + 4] */ 11281 ecx = MEM32(edx + 0x4); /* 0x2B02A494: mov ecx, dword ptr [edx + 4] */ 11282 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B02A497: mov byte ptr [ecx + 0x34], 0 */ 11283 edx = MEM32(eax + 0x4); /* 0x2B02A49B: mov edx, dword ptr [eax + 4] */ 11284 ecx = MEM32(edx + 0x4); /* 0x2B02A49E: mov ecx, dword ptr [edx + 4] */ 11285 edx = MEM32(ecx + 0x8); /* 0x2B02A4A1: mov edx, dword ptr [ecx + 8] */ 11286 edi = MEM32(edx); /* 0x2B02A4A4: mov edi, dword ptr [edx] */ 11287 MEM32(ecx + 0x8) = edi; /* 0x2B02A4A6: mov dword ptr [ecx + 8], edi */ 11288 edi = MEM32(edx); /* 0x2B02A4A9: mov edi, dword ptr [edx] */ 11289 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A4AB: cmp edi, dword ptr [esi + 8] */ 11290 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11291 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11292 _flag_k = FK_CMP; 11293 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A4B3; /* 0x2B02A4AE: je 0x2b02a4b3 */ 11294 L_2B02A4B0: 11295 MEM32(edi + 0x4) = ecx; /* 0x2B02A4B0: mov dword ptr [edi + 4], ecx */ 11296 L_2B02A4B3: 11297 edi = MEM32(ecx + 0x4); /* 0x2B02A4B3: mov edi, dword ptr [ecx + 4] */ 11298 MEM32(edx + 0x4) = edi; /* 0x2B02A4B6: mov dword ptr [edx + 4], edi */ 11299 edi = MEM32(esi + 0x4); /* 0x2B02A4B9: mov edi, dword ptr [esi + 4] */ 11300 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A4BC: cmp ecx, dword ptr [edi + 4] */ 11301 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 11302 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11303 _flag_k = FK_CMP; 11304 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A4C6; /* 0x2B02A4BF: jne 0x2b02a4c6 */ 11305 L_2B02A4C1: 11306 MEM32(edi + 0x4) = edx; /* 0x2B02A4C1: mov dword ptr [edi + 4], edx */ 11307 goto L_2B02A4D4; /* 0x2B02A4C4: jmp 0x2b02a4d4 */ 11308 L_2B02A4C6: 11309 edi = MEM32(ecx + 0x4); /* 0x2B02A4C6: mov edi, dword ptr [ecx + 4] */ 11310 /* cmp ecx, MEM32(edi) */ /* 0x2B02A4C9: cmp ecx, dword ptr [edi] */ 11311 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 11312 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11313 _flag_k = FK_CMP; 11314 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A4D1; /* 0x2B02A4CB: jne 0x2b02a4d1 */ 11315 L_2B02A4CD: 11316 MEM32(edi) = edx; /* 0x2B02A4CD: mov dword ptr [edi], edx */ 11317 goto L_2B02A4D4; /* 0x2B02A4CF: jmp 0x2b02a4d4 */ 11318 L_2B02A4D1: 11319 MEM32(edi + 0x8) = edx; /* 0x2B02A4D1: mov dword ptr [edi + 8], edx */ 11320 L_2B02A4D4: 11321 MEM32(edx) = ecx; /* 0x2B02A4D4: mov dword ptr [edx], ecx */ 11322 L_2B02A4D6: 11323 MEM32(ecx + 0x4) = edx; /* 0x2B02A4D6: mov dword ptr [ecx + 4], edx */ 11324 L_2B02A4D9: 11325 ecx = MEM32(esi + 0x4); /* 0x2B02A4D9: mov ecx, dword ptr [esi + 4] */ 11326 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B02A4DC: cmp eax, dword ptr [ecx + 4] */ 11327 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 11328 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11329 _flag_k = FK_CMP; 11330 RECOMP_BACKEDGE(); 11331 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A365; /* 0x2B02A4DF: jne 0x2b02a365 */ 11332 L_2B02A4E5: 11333 edx = MEM32(esi + 0x4); /* 0x2B02A4E5: mov edx, dword ptr [esi + 4] */ 11334 eax = MEM32(edx + 0x4); /* 0x2B02A4E8: mov eax, dword ptr [edx + 4] */ 11335 ecx = MEM32(ebp + (-0x4)); /* 0x2B02A4EB: mov ecx, dword ptr [ebp - 4] */ 11336 MEM8(eax + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A4EE: mov byte ptr [eax + 0x34], bl */ 11337 eax = MEM32(ebp + 0x8); /* 0x2B02A4F1: mov eax, dword ptr [ebp + 8] */ 11338 edi = POP32_VAL(esp); /* 0x2B02A4F4: pop edi */ 11339 esi = POP32_VAL(esp); /* 0x2B02A4F5: pop esi */ 11340 MEM32(eax) = ecx; /* 0x2B02A4F6: mov dword ptr [eax], ecx */ 11341 ebx = POP32_VAL(esp); /* 0x2B02A4F8: pop ebx */ 11342 esp = ebp; /* 0x2B02A4F9: mov esp, ebp */ 11343 ebp = POP32_VAL(esp); /* 0x2B02A4FB: pop ebp */ 11344 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B02A4FC: ret 0x10 */ 11345 RECOMP_REGS_OUT(); 11346 } 11347 11348 void sub_2B02A3DE(void) { 11349 int _fpu_cmp = 0; 11350 uint32_t _cf = 0; 11351 int _df = 1; 11352 uint32_t _flag_k = FK_NONE; 11353 uint32_t _flag_a = 0, _flag_b = 0; 11354 uint32_t _itail_tgt = 0; 11355 RECOMP_REGS_LOCALS 11356 RECOMP_ENTER(0x2B02A3DEu); 11357 11358 goto L_2B02A3DE; 11359 L_2B02A365: 11360 ecx = MEM32(eax + 0x4); /* 0x2B02A365: mov ecx, dword ptr [eax + 4] */ 11361 SET_LO8(edx, MEM8(ecx + 0x34)); /* 0x2B02A368: mov dl, byte ptr [ecx + 0x34] */ 11362 /* test LO8(edx), LO8(edx) */ /* 0x2B02A36B: test dl, dl */ 11363 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 11364 _cf = 0; 11365 _flag_k = FK_NARROW(FK_TEST, 24); 11366 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02A4E5; /* 0x2B02A36D: jne 0x2b02a4e5 */ 11367 L_2B02A373: 11368 edi = MEM32(ecx + 0x4); /* 0x2B02A373: mov edi, dword ptr [ecx + 4] */ 11369 edx = MEM32(edi); /* 0x2B02A376: mov edx, dword ptr [edi] */ 11370 /* cmp ecx, edx */ /* 0x2B02A378: cmp ecx, edx */ 11371 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 11372 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11373 _flag_k = FK_CMP; 11374 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A441; /* 0x2B02A37A: jne 0x2b02a441 */ 11375 L_2B02A380: 11376 edx = MEM32(edi + 0x8); /* 0x2B02A380: mov edx, dword ptr [edi + 8] */ 11377 /* cmp MEM8(edx + 0x34), 0 */ /* 0x2B02A383: cmp byte ptr [edx + 0x34], 0 */ 11378 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(0) << 24; 11379 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11380 _flag_k = FK_NARROW(FK_CMP, 24); 11381 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3A4; /* 0x2B02A387: jne 0x2b02a3a4 */ 11382 L_2B02A389: 11383 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A389: mov byte ptr [ecx + 0x34], bl */ 11384 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A38C: mov byte ptr [edx + 0x34], bl */ 11385 ecx = MEM32(eax + 0x4); /* 0x2B02A38F: mov ecx, dword ptr [eax + 4] */ 11386 edx = MEM32(ecx + 0x4); /* 0x2B02A392: mov edx, dword ptr [ecx + 4] */ 11387 MEM8(edx + 0x34) = (uint8_t)(0); /* 0x2B02A395: mov byte ptr [edx + 0x34], 0 */ 11388 eax = MEM32(eax + 0x4); /* 0x2B02A399: mov eax, dword ptr [eax + 4] */ 11389 eax = MEM32(eax + 0x4); /* 0x2B02A39C: mov eax, dword ptr [eax + 4] */ 11390 goto L_2B02A4D9; /* 0x2B02A39F: jmp 0x2b02a4d9 */ 11391 L_2B02A3A4: 11392 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B02A3A4: cmp eax, dword ptr [ecx + 8] */ 11393 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 11394 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11395 _flag_k = FK_CMP; 11396 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3E3; /* 0x2B02A3A7: jne 0x2b02a3e3 */ 11397 L_2B02A3A9: 11398 eax = ecx; /* 0x2B02A3A9: mov eax, ecx */ 11399 ecx = MEM32(eax + 0x8); /* 0x2B02A3AB: mov ecx, dword ptr [eax + 8] */ 11400 edx = MEM32(ecx); /* 0x2B02A3AE: mov edx, dword ptr [ecx] */ 11401 MEM32(eax + 0x8) = edx; /* 0x2B02A3B0: mov dword ptr [eax + 8], edx */ 11402 edx = MEM32(ecx); /* 0x2B02A3B3: mov edx, dword ptr [ecx] */ 11403 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A3B5: cmp edx, dword ptr [esi + 8] */ 11404 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11405 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11406 _flag_k = FK_CMP; 11407 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A3BD; /* 0x2B02A3B8: je 0x2b02a3bd */ 11408 L_2B02A3BA: 11409 MEM32(edx + 0x4) = eax; /* 0x2B02A3BA: mov dword ptr [edx + 4], eax */ 11410 L_2B02A3BD: 11411 edx = MEM32(eax + 0x4); /* 0x2B02A3BD: mov edx, dword ptr [eax + 4] */ 11412 MEM32(ecx + 0x4) = edx; /* 0x2B02A3C0: mov dword ptr [ecx + 4], edx */ 11413 edx = MEM32(esi + 0x4); /* 0x2B02A3C3: mov edx, dword ptr [esi + 4] */ 11414 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A3C6: cmp eax, dword ptr [edx + 4] */ 11415 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 11416 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11417 _flag_k = FK_CMP; 11418 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3D0; /* 0x2B02A3C9: jne 0x2b02a3d0 */ 11419 L_2B02A3CB: 11420 MEM32(edx + 0x4) = ecx; /* 0x2B02A3CB: mov dword ptr [edx + 4], ecx */ 11421 goto L_2B02A3DE; /* 0x2B02A3CE: jmp 0x2b02a3de */ 11422 L_2B02A3D0: 11423 edx = MEM32(eax + 0x4); /* 0x2B02A3D0: mov edx, dword ptr [eax + 4] */ 11424 /* cmp eax, MEM32(edx) */ /* 0x2B02A3D3: cmp eax, dword ptr [edx] */ 11425 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 11426 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11427 _flag_k = FK_CMP; 11428 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3DB; /* 0x2B02A3D5: jne 0x2b02a3db */ 11429 L_2B02A3D7: 11430 MEM32(edx) = ecx; /* 0x2B02A3D7: mov dword ptr [edx], ecx */ 11431 goto L_2B02A3DE; /* 0x2B02A3D9: jmp 0x2b02a3de */ 11432 L_2B02A3DB: 11433 MEM32(edx + 0x8) = ecx; /* 0x2B02A3DB: mov dword ptr [edx + 8], ecx */ 11434 L_2B02A3DE: 11435 MEM32(ecx) = eax; /* 0x2B02A3DE: mov dword ptr [ecx], eax */ 11436 MEM32(eax + 0x4) = ecx; /* 0x2B02A3E0: mov dword ptr [eax + 4], ecx */ 11437 L_2B02A3E3: 11438 ecx = MEM32(eax + 0x4); /* 0x2B02A3E3: mov ecx, dword ptr [eax + 4] */ 11439 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A3E6: mov byte ptr [ecx + 0x34], bl */ 11440 edx = MEM32(eax + 0x4); /* 0x2B02A3E9: mov edx, dword ptr [eax + 4] */ 11441 ecx = MEM32(edx + 0x4); /* 0x2B02A3EC: mov ecx, dword ptr [edx + 4] */ 11442 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B02A3EF: mov byte ptr [ecx + 0x34], 0 */ 11443 edx = MEM32(eax + 0x4); /* 0x2B02A3F3: mov edx, dword ptr [eax + 4] */ 11444 ecx = MEM32(edx + 0x4); /* 0x2B02A3F6: mov ecx, dword ptr [edx + 4] */ 11445 edx = MEM32(ecx); /* 0x2B02A3F9: mov edx, dword ptr [ecx] */ 11446 edi = MEM32(edx + 0x8); /* 0x2B02A3FB: mov edi, dword ptr [edx + 8] */ 11447 MEM32(ecx) = edi; /* 0x2B02A3FE: mov dword ptr [ecx], edi */ 11448 edi = MEM32(edx + 0x8); /* 0x2B02A400: mov edi, dword ptr [edx + 8] */ 11449 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A403: cmp edi, dword ptr [esi + 8] */ 11450 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11451 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11452 _flag_k = FK_CMP; 11453 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A40B; /* 0x2B02A406: je 0x2b02a40b */ 11454 L_2B02A408: 11455 MEM32(edi + 0x4) = ecx; /* 0x2B02A408: mov dword ptr [edi + 4], ecx */ 11456 L_2B02A40B: 11457 edi = MEM32(ecx + 0x4); /* 0x2B02A40B: mov edi, dword ptr [ecx + 4] */ 11458 MEM32(edx + 0x4) = edi; /* 0x2B02A40E: mov dword ptr [edx + 4], edi */ 11459 edi = MEM32(esi + 0x4); /* 0x2B02A411: mov edi, dword ptr [esi + 4] */ 11460 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A414: cmp ecx, dword ptr [edi + 4] */ 11461 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 11462 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11463 _flag_k = FK_CMP; 11464 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A424; /* 0x2B02A417: jne 0x2b02a424 */ 11465 L_2B02A419: 11466 MEM32(edi + 0x4) = edx; /* 0x2B02A419: mov dword ptr [edi + 4], edx */ 11467 MEM32(edx + 0x8) = ecx; /* 0x2B02A41C: mov dword ptr [edx + 8], ecx */ 11468 goto L_2B02A4D6; /* 0x2B02A41F: jmp 0x2b02a4d6 */ 11469 L_2B02A424: 11470 edi = MEM32(ecx + 0x4); /* 0x2B02A424: mov edi, dword ptr [ecx + 4] */ 11471 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B02A427: cmp ecx, dword ptr [edi + 8] */ 11472 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 11473 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11474 _flag_k = FK_CMP; 11475 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A437; /* 0x2B02A42A: jne 0x2b02a437 */ 11476 L_2B02A42C: 11477 MEM32(edi + 0x8) = edx; /* 0x2B02A42C: mov dword ptr [edi + 8], edx */ 11478 MEM32(edx + 0x8) = ecx; /* 0x2B02A42F: mov dword ptr [edx + 8], ecx */ 11479 goto L_2B02A4D6; /* 0x2B02A432: jmp 0x2b02a4d6 */ 11480 L_2B02A437: 11481 MEM32(edi) = edx; /* 0x2B02A437: mov dword ptr [edi], edx */ 11482 MEM32(edx + 0x8) = ecx; /* 0x2B02A439: mov dword ptr [edx + 8], ecx */ 11483 goto L_2B02A4D6; /* 0x2B02A43C: jmp 0x2b02a4d6 */ 11484 L_2B02A441: 11485 /* cmp MEM8(edx + 0x34), 0 */ /* 0x2B02A441: cmp byte ptr [edx + 0x34], 0 */ 11486 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(0) << 24; 11487 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11488 _flag_k = FK_NARROW(FK_CMP, 24); 11489 RECOMP_BACKEDGE(); 11490 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A389; /* 0x2B02A445: je 0x2b02a389 */ 11491 L_2B02A44B: 11492 /* cmp eax, MEM32(ecx) */ /* 0x2B02A44B: cmp eax, dword ptr [ecx] */ 11493 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 11494 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11495 _flag_k = FK_CMP; 11496 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A48B; /* 0x2B02A44D: jne 0x2b02a48b */ 11497 L_2B02A44F: 11498 eax = ecx; /* 0x2B02A44F: mov eax, ecx */ 11499 ecx = MEM32(eax); /* 0x2B02A451: mov ecx, dword ptr [eax] */ 11500 edx = MEM32(ecx + 0x8); /* 0x2B02A453: mov edx, dword ptr [ecx + 8] */ 11501 MEM32(eax) = edx; /* 0x2B02A456: mov dword ptr [eax], edx */ 11502 edx = MEM32(ecx + 0x8); /* 0x2B02A458: mov edx, dword ptr [ecx + 8] */ 11503 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A45B: cmp edx, dword ptr [esi + 8] */ 11504 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11505 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11506 _flag_k = FK_CMP; 11507 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A463; /* 0x2B02A45E: je 0x2b02a463 */ 11508 L_2B02A460: 11509 MEM32(edx + 0x4) = eax; /* 0x2B02A460: mov dword ptr [edx + 4], eax */ 11510 L_2B02A463: 11511 edx = MEM32(eax + 0x4); /* 0x2B02A463: mov edx, dword ptr [eax + 4] */ 11512 MEM32(ecx + 0x4) = edx; /* 0x2B02A466: mov dword ptr [ecx + 4], edx */ 11513 edx = MEM32(esi + 0x4); /* 0x2B02A469: mov edx, dword ptr [esi + 4] */ 11514 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A46C: cmp eax, dword ptr [edx + 4] */ 11515 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 11516 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11517 _flag_k = FK_CMP; 11518 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A476; /* 0x2B02A46F: jne 0x2b02a476 */ 11519 L_2B02A471: 11520 MEM32(edx + 0x4) = ecx; /* 0x2B02A471: mov dword ptr [edx + 4], ecx */ 11521 goto L_2B02A485; /* 0x2B02A474: jmp 0x2b02a485 */ 11522 L_2B02A476: 11523 edx = MEM32(eax + 0x4); /* 0x2B02A476: mov edx, dword ptr [eax + 4] */ 11524 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B02A479: cmp eax, dword ptr [edx + 8] */ 11525 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 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_2B02A483; /* 0x2B02A47C: jne 0x2b02a483 */ 11529 L_2B02A47E: 11530 MEM32(edx + 0x8) = ecx; /* 0x2B02A47E: mov dword ptr [edx + 8], ecx */ 11531 goto L_2B02A485; /* 0x2B02A481: jmp 0x2b02a485 */ 11532 L_2B02A483: 11533 MEM32(edx) = ecx; /* 0x2B02A483: mov dword ptr [edx], ecx */ 11534 L_2B02A485: 11535 MEM32(ecx + 0x8) = eax; /* 0x2B02A485: mov dword ptr [ecx + 8], eax */ 11536 MEM32(eax + 0x4) = ecx; /* 0x2B02A488: mov dword ptr [eax + 4], ecx */ 11537 L_2B02A48B: 11538 ecx = MEM32(eax + 0x4); /* 0x2B02A48B: mov ecx, dword ptr [eax + 4] */ 11539 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A48E: mov byte ptr [ecx + 0x34], bl */ 11540 edx = MEM32(eax + 0x4); /* 0x2B02A491: mov edx, dword ptr [eax + 4] */ 11541 ecx = MEM32(edx + 0x4); /* 0x2B02A494: mov ecx, dword ptr [edx + 4] */ 11542 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B02A497: mov byte ptr [ecx + 0x34], 0 */ 11543 edx = MEM32(eax + 0x4); /* 0x2B02A49B: mov edx, dword ptr [eax + 4] */ 11544 ecx = MEM32(edx + 0x4); /* 0x2B02A49E: mov ecx, dword ptr [edx + 4] */ 11545 edx = MEM32(ecx + 0x8); /* 0x2B02A4A1: mov edx, dword ptr [ecx + 8] */ 11546 edi = MEM32(edx); /* 0x2B02A4A4: mov edi, dword ptr [edx] */ 11547 MEM32(ecx + 0x8) = edi; /* 0x2B02A4A6: mov dword ptr [ecx + 8], edi */ 11548 edi = MEM32(edx); /* 0x2B02A4A9: mov edi, dword ptr [edx] */ 11549 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A4AB: cmp edi, dword ptr [esi + 8] */ 11550 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11551 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11552 _flag_k = FK_CMP; 11553 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A4B3; /* 0x2B02A4AE: je 0x2b02a4b3 */ 11554 L_2B02A4B0: 11555 MEM32(edi + 0x4) = ecx; /* 0x2B02A4B0: mov dword ptr [edi + 4], ecx */ 11556 L_2B02A4B3: 11557 edi = MEM32(ecx + 0x4); /* 0x2B02A4B3: mov edi, dword ptr [ecx + 4] */ 11558 MEM32(edx + 0x4) = edi; /* 0x2B02A4B6: mov dword ptr [edx + 4], edi */ 11559 edi = MEM32(esi + 0x4); /* 0x2B02A4B9: mov edi, dword ptr [esi + 4] */ 11560 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A4BC: cmp ecx, dword ptr [edi + 4] */ 11561 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 11562 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11563 _flag_k = FK_CMP; 11564 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A4C6; /* 0x2B02A4BF: jne 0x2b02a4c6 */ 11565 L_2B02A4C1: 11566 MEM32(edi + 0x4) = edx; /* 0x2B02A4C1: mov dword ptr [edi + 4], edx */ 11567 goto L_2B02A4D4; /* 0x2B02A4C4: jmp 0x2b02a4d4 */ 11568 L_2B02A4C6: 11569 edi = MEM32(ecx + 0x4); /* 0x2B02A4C6: mov edi, dword ptr [ecx + 4] */ 11570 /* cmp ecx, MEM32(edi) */ /* 0x2B02A4C9: cmp ecx, dword ptr [edi] */ 11571 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 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_2B02A4D1; /* 0x2B02A4CB: jne 0x2b02a4d1 */ 11575 L_2B02A4CD: 11576 MEM32(edi) = edx; /* 0x2B02A4CD: mov dword ptr [edi], edx */ 11577 goto L_2B02A4D4; /* 0x2B02A4CF: jmp 0x2b02a4d4 */ 11578 L_2B02A4D1: 11579 MEM32(edi + 0x8) = edx; /* 0x2B02A4D1: mov dword ptr [edi + 8], edx */ 11580 L_2B02A4D4: 11581 MEM32(edx) = ecx; /* 0x2B02A4D4: mov dword ptr [edx], ecx */ 11582 L_2B02A4D6: 11583 MEM32(ecx + 0x4) = edx; /* 0x2B02A4D6: mov dword ptr [ecx + 4], edx */ 11584 L_2B02A4D9: 11585 ecx = MEM32(esi + 0x4); /* 0x2B02A4D9: mov ecx, dword ptr [esi + 4] */ 11586 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B02A4DC: cmp eax, dword ptr [ecx + 4] */ 11587 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 11588 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11589 _flag_k = FK_CMP; 11590 RECOMP_BACKEDGE(); 11591 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A365; /* 0x2B02A4DF: jne 0x2b02a365 */ 11592 L_2B02A4E5: 11593 edx = MEM32(esi + 0x4); /* 0x2B02A4E5: mov edx, dword ptr [esi + 4] */ 11594 eax = MEM32(edx + 0x4); /* 0x2B02A4E8: mov eax, dword ptr [edx + 4] */ 11595 ecx = MEM32(ebp + (-0x4)); /* 0x2B02A4EB: mov ecx, dword ptr [ebp - 4] */ 11596 MEM8(eax + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A4EE: mov byte ptr [eax + 0x34], bl */ 11597 eax = MEM32(ebp + 0x8); /* 0x2B02A4F1: mov eax, dword ptr [ebp + 8] */ 11598 edi = POP32_VAL(esp); /* 0x2B02A4F4: pop edi */ 11599 esi = POP32_VAL(esp); /* 0x2B02A4F5: pop esi */ 11600 MEM32(eax) = ecx; /* 0x2B02A4F6: mov dword ptr [eax], ecx */ 11601 ebx = POP32_VAL(esp); /* 0x2B02A4F8: pop ebx */ 11602 esp = ebp; /* 0x2B02A4F9: mov esp, ebp */ 11603 ebp = POP32_VAL(esp); /* 0x2B02A4FB: pop ebp */ 11604 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B02A4FC: ret 0x10 */ 11605 RECOMP_REGS_OUT(); 11606 } 11607 11608 void sub_2B02A3E3(void) { 11609 int _fpu_cmp = 0; 11610 uint32_t _cf = 0; 11611 int _df = 1; 11612 uint32_t _flag_k = FK_NONE; 11613 uint32_t _flag_a = 0, _flag_b = 0; 11614 uint32_t _itail_tgt = 0; 11615 RECOMP_REGS_LOCALS 11616 RECOMP_ENTER(0x2B02A3E3u); 11617 11618 goto L_2B02A3E3; 11619 L_2B02A365: 11620 ecx = MEM32(eax + 0x4); /* 0x2B02A365: mov ecx, dword ptr [eax + 4] */ 11621 SET_LO8(edx, MEM8(ecx + 0x34)); /* 0x2B02A368: mov dl, byte ptr [ecx + 0x34] */ 11622 /* test LO8(edx), LO8(edx) */ /* 0x2B02A36B: test dl, dl */ 11623 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 11624 _cf = 0; 11625 _flag_k = FK_NARROW(FK_TEST, 24); 11626 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02A4E5; /* 0x2B02A36D: jne 0x2b02a4e5 */ 11627 L_2B02A373: 11628 edi = MEM32(ecx + 0x4); /* 0x2B02A373: mov edi, dword ptr [ecx + 4] */ 11629 edx = MEM32(edi); /* 0x2B02A376: mov edx, dword ptr [edi] */ 11630 /* cmp ecx, edx */ /* 0x2B02A378: cmp ecx, edx */ 11631 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 11632 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11633 _flag_k = FK_CMP; 11634 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A441; /* 0x2B02A37A: jne 0x2b02a441 */ 11635 L_2B02A380: 11636 edx = MEM32(edi + 0x8); /* 0x2B02A380: mov edx, dword ptr [edi + 8] */ 11637 /* cmp MEM8(edx + 0x34), 0 */ /* 0x2B02A383: cmp byte ptr [edx + 0x34], 0 */ 11638 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(0) << 24; 11639 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11640 _flag_k = FK_NARROW(FK_CMP, 24); 11641 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3A4; /* 0x2B02A387: jne 0x2b02a3a4 */ 11642 L_2B02A389: 11643 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A389: mov byte ptr [ecx + 0x34], bl */ 11644 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A38C: mov byte ptr [edx + 0x34], bl */ 11645 ecx = MEM32(eax + 0x4); /* 0x2B02A38F: mov ecx, dword ptr [eax + 4] */ 11646 edx = MEM32(ecx + 0x4); /* 0x2B02A392: mov edx, dword ptr [ecx + 4] */ 11647 MEM8(edx + 0x34) = (uint8_t)(0); /* 0x2B02A395: mov byte ptr [edx + 0x34], 0 */ 11648 eax = MEM32(eax + 0x4); /* 0x2B02A399: mov eax, dword ptr [eax + 4] */ 11649 eax = MEM32(eax + 0x4); /* 0x2B02A39C: mov eax, dword ptr [eax + 4] */ 11650 goto L_2B02A4D9; /* 0x2B02A39F: jmp 0x2b02a4d9 */ 11651 L_2B02A3A4: 11652 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B02A3A4: cmp eax, dword ptr [ecx + 8] */ 11653 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 11654 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11655 _flag_k = FK_CMP; 11656 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3E3; /* 0x2B02A3A7: jne 0x2b02a3e3 */ 11657 L_2B02A3A9: 11658 eax = ecx; /* 0x2B02A3A9: mov eax, ecx */ 11659 ecx = MEM32(eax + 0x8); /* 0x2B02A3AB: mov ecx, dword ptr [eax + 8] */ 11660 edx = MEM32(ecx); /* 0x2B02A3AE: mov edx, dword ptr [ecx] */ 11661 MEM32(eax + 0x8) = edx; /* 0x2B02A3B0: mov dword ptr [eax + 8], edx */ 11662 edx = MEM32(ecx); /* 0x2B02A3B3: mov edx, dword ptr [ecx] */ 11663 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A3B5: cmp edx, dword ptr [esi + 8] */ 11664 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11665 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11666 _flag_k = FK_CMP; 11667 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A3BD; /* 0x2B02A3B8: je 0x2b02a3bd */ 11668 L_2B02A3BA: 11669 MEM32(edx + 0x4) = eax; /* 0x2B02A3BA: mov dword ptr [edx + 4], eax */ 11670 L_2B02A3BD: 11671 edx = MEM32(eax + 0x4); /* 0x2B02A3BD: mov edx, dword ptr [eax + 4] */ 11672 MEM32(ecx + 0x4) = edx; /* 0x2B02A3C0: mov dword ptr [ecx + 4], edx */ 11673 edx = MEM32(esi + 0x4); /* 0x2B02A3C3: mov edx, dword ptr [esi + 4] */ 11674 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A3C6: cmp eax, dword ptr [edx + 4] */ 11675 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 11676 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11677 _flag_k = FK_CMP; 11678 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3D0; /* 0x2B02A3C9: jne 0x2b02a3d0 */ 11679 L_2B02A3CB: 11680 MEM32(edx + 0x4) = ecx; /* 0x2B02A3CB: mov dword ptr [edx + 4], ecx */ 11681 goto L_2B02A3DE; /* 0x2B02A3CE: jmp 0x2b02a3de */ 11682 L_2B02A3D0: 11683 edx = MEM32(eax + 0x4); /* 0x2B02A3D0: mov edx, dword ptr [eax + 4] */ 11684 /* cmp eax, MEM32(edx) */ /* 0x2B02A3D3: cmp eax, dword ptr [edx] */ 11685 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 11686 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11687 _flag_k = FK_CMP; 11688 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3DB; /* 0x2B02A3D5: jne 0x2b02a3db */ 11689 L_2B02A3D7: 11690 MEM32(edx) = ecx; /* 0x2B02A3D7: mov dword ptr [edx], ecx */ 11691 goto L_2B02A3DE; /* 0x2B02A3D9: jmp 0x2b02a3de */ 11692 L_2B02A3DB: 11693 MEM32(edx + 0x8) = ecx; /* 0x2B02A3DB: mov dword ptr [edx + 8], ecx */ 11694 L_2B02A3DE: 11695 MEM32(ecx) = eax; /* 0x2B02A3DE: mov dword ptr [ecx], eax */ 11696 MEM32(eax + 0x4) = ecx; /* 0x2B02A3E0: mov dword ptr [eax + 4], ecx */ 11697 L_2B02A3E3: 11698 ecx = MEM32(eax + 0x4); /* 0x2B02A3E3: mov ecx, dword ptr [eax + 4] */ 11699 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A3E6: mov byte ptr [ecx + 0x34], bl */ 11700 edx = MEM32(eax + 0x4); /* 0x2B02A3E9: mov edx, dword ptr [eax + 4] */ 11701 ecx = MEM32(edx + 0x4); /* 0x2B02A3EC: mov ecx, dword ptr [edx + 4] */ 11702 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B02A3EF: mov byte ptr [ecx + 0x34], 0 */ 11703 edx = MEM32(eax + 0x4); /* 0x2B02A3F3: mov edx, dword ptr [eax + 4] */ 11704 ecx = MEM32(edx + 0x4); /* 0x2B02A3F6: mov ecx, dword ptr [edx + 4] */ 11705 edx = MEM32(ecx); /* 0x2B02A3F9: mov edx, dword ptr [ecx] */ 11706 edi = MEM32(edx + 0x8); /* 0x2B02A3FB: mov edi, dword ptr [edx + 8] */ 11707 MEM32(ecx) = edi; /* 0x2B02A3FE: mov dword ptr [ecx], edi */ 11708 edi = MEM32(edx + 0x8); /* 0x2B02A400: mov edi, dword ptr [edx + 8] */ 11709 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A403: cmp edi, dword ptr [esi + 8] */ 11710 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11711 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11712 _flag_k = FK_CMP; 11713 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A40B; /* 0x2B02A406: je 0x2b02a40b */ 11714 L_2B02A408: 11715 MEM32(edi + 0x4) = ecx; /* 0x2B02A408: mov dword ptr [edi + 4], ecx */ 11716 L_2B02A40B: 11717 edi = MEM32(ecx + 0x4); /* 0x2B02A40B: mov edi, dword ptr [ecx + 4] */ 11718 MEM32(edx + 0x4) = edi; /* 0x2B02A40E: mov dword ptr [edx + 4], edi */ 11719 edi = MEM32(esi + 0x4); /* 0x2B02A411: mov edi, dword ptr [esi + 4] */ 11720 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A414: cmp ecx, dword ptr [edi + 4] */ 11721 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 11722 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11723 _flag_k = FK_CMP; 11724 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A424; /* 0x2B02A417: jne 0x2b02a424 */ 11725 L_2B02A419: 11726 MEM32(edi + 0x4) = edx; /* 0x2B02A419: mov dword ptr [edi + 4], edx */ 11727 MEM32(edx + 0x8) = ecx; /* 0x2B02A41C: mov dword ptr [edx + 8], ecx */ 11728 goto L_2B02A4D6; /* 0x2B02A41F: jmp 0x2b02a4d6 */ 11729 L_2B02A424: 11730 edi = MEM32(ecx + 0x4); /* 0x2B02A424: mov edi, dword ptr [ecx + 4] */ 11731 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B02A427: cmp ecx, dword ptr [edi + 8] */ 11732 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 11733 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11734 _flag_k = FK_CMP; 11735 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A437; /* 0x2B02A42A: jne 0x2b02a437 */ 11736 L_2B02A42C: 11737 MEM32(edi + 0x8) = edx; /* 0x2B02A42C: mov dword ptr [edi + 8], edx */ 11738 MEM32(edx + 0x8) = ecx; /* 0x2B02A42F: mov dword ptr [edx + 8], ecx */ 11739 goto L_2B02A4D6; /* 0x2B02A432: jmp 0x2b02a4d6 */ 11740 L_2B02A437: 11741 MEM32(edi) = edx; /* 0x2B02A437: mov dword ptr [edi], edx */ 11742 MEM32(edx + 0x8) = ecx; /* 0x2B02A439: mov dword ptr [edx + 8], ecx */ 11743 goto L_2B02A4D6; /* 0x2B02A43C: jmp 0x2b02a4d6 */ 11744 L_2B02A441: 11745 /* cmp MEM8(edx + 0x34), 0 */ /* 0x2B02A441: cmp byte ptr [edx + 0x34], 0 */ 11746 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(0) << 24; 11747 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11748 _flag_k = FK_NARROW(FK_CMP, 24); 11749 RECOMP_BACKEDGE(); 11750 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A389; /* 0x2B02A445: je 0x2b02a389 */ 11751 L_2B02A44B: 11752 /* cmp eax, MEM32(ecx) */ /* 0x2B02A44B: cmp eax, dword ptr [ecx] */ 11753 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 11754 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11755 _flag_k = FK_CMP; 11756 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A48B; /* 0x2B02A44D: jne 0x2b02a48b */ 11757 L_2B02A44F: 11758 eax = ecx; /* 0x2B02A44F: mov eax, ecx */ 11759 ecx = MEM32(eax); /* 0x2B02A451: mov ecx, dword ptr [eax] */ 11760 edx = MEM32(ecx + 0x8); /* 0x2B02A453: mov edx, dword ptr [ecx + 8] */ 11761 MEM32(eax) = edx; /* 0x2B02A456: mov dword ptr [eax], edx */ 11762 edx = MEM32(ecx + 0x8); /* 0x2B02A458: mov edx, dword ptr [ecx + 8] */ 11763 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A45B: cmp edx, dword ptr [esi + 8] */ 11764 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11765 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11766 _flag_k = FK_CMP; 11767 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A463; /* 0x2B02A45E: je 0x2b02a463 */ 11768 L_2B02A460: 11769 MEM32(edx + 0x4) = eax; /* 0x2B02A460: mov dword ptr [edx + 4], eax */ 11770 L_2B02A463: 11771 edx = MEM32(eax + 0x4); /* 0x2B02A463: mov edx, dword ptr [eax + 4] */ 11772 MEM32(ecx + 0x4) = edx; /* 0x2B02A466: mov dword ptr [ecx + 4], edx */ 11773 edx = MEM32(esi + 0x4); /* 0x2B02A469: mov edx, dword ptr [esi + 4] */ 11774 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A46C: cmp eax, dword ptr [edx + 4] */ 11775 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 11776 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11777 _flag_k = FK_CMP; 11778 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A476; /* 0x2B02A46F: jne 0x2b02a476 */ 11779 L_2B02A471: 11780 MEM32(edx + 0x4) = ecx; /* 0x2B02A471: mov dword ptr [edx + 4], ecx */ 11781 goto L_2B02A485; /* 0x2B02A474: jmp 0x2b02a485 */ 11782 L_2B02A476: 11783 edx = MEM32(eax + 0x4); /* 0x2B02A476: mov edx, dword ptr [eax + 4] */ 11784 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B02A479: cmp eax, dword ptr [edx + 8] */ 11785 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 11786 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11787 _flag_k = FK_CMP; 11788 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A483; /* 0x2B02A47C: jne 0x2b02a483 */ 11789 L_2B02A47E: 11790 MEM32(edx + 0x8) = ecx; /* 0x2B02A47E: mov dword ptr [edx + 8], ecx */ 11791 goto L_2B02A485; /* 0x2B02A481: jmp 0x2b02a485 */ 11792 L_2B02A483: 11793 MEM32(edx) = ecx; /* 0x2B02A483: mov dword ptr [edx], ecx */ 11794 L_2B02A485: 11795 MEM32(ecx + 0x8) = eax; /* 0x2B02A485: mov dword ptr [ecx + 8], eax */ 11796 MEM32(eax + 0x4) = ecx; /* 0x2B02A488: mov dword ptr [eax + 4], ecx */ 11797 L_2B02A48B: 11798 ecx = MEM32(eax + 0x4); /* 0x2B02A48B: mov ecx, dword ptr [eax + 4] */ 11799 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A48E: mov byte ptr [ecx + 0x34], bl */ 11800 edx = MEM32(eax + 0x4); /* 0x2B02A491: mov edx, dword ptr [eax + 4] */ 11801 ecx = MEM32(edx + 0x4); /* 0x2B02A494: mov ecx, dword ptr [edx + 4] */ 11802 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B02A497: mov byte ptr [ecx + 0x34], 0 */ 11803 edx = MEM32(eax + 0x4); /* 0x2B02A49B: mov edx, dword ptr [eax + 4] */ 11804 ecx = MEM32(edx + 0x4); /* 0x2B02A49E: mov ecx, dword ptr [edx + 4] */ 11805 edx = MEM32(ecx + 0x8); /* 0x2B02A4A1: mov edx, dword ptr [ecx + 8] */ 11806 edi = MEM32(edx); /* 0x2B02A4A4: mov edi, dword ptr [edx] */ 11807 MEM32(ecx + 0x8) = edi; /* 0x2B02A4A6: mov dword ptr [ecx + 8], edi */ 11808 edi = MEM32(edx); /* 0x2B02A4A9: mov edi, dword ptr [edx] */ 11809 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A4AB: cmp edi, dword ptr [esi + 8] */ 11810 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11811 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11812 _flag_k = FK_CMP; 11813 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A4B3; /* 0x2B02A4AE: je 0x2b02a4b3 */ 11814 L_2B02A4B0: 11815 MEM32(edi + 0x4) = ecx; /* 0x2B02A4B0: mov dword ptr [edi + 4], ecx */ 11816 L_2B02A4B3: 11817 edi = MEM32(ecx + 0x4); /* 0x2B02A4B3: mov edi, dword ptr [ecx + 4] */ 11818 MEM32(edx + 0x4) = edi; /* 0x2B02A4B6: mov dword ptr [edx + 4], edi */ 11819 edi = MEM32(esi + 0x4); /* 0x2B02A4B9: mov edi, dword ptr [esi + 4] */ 11820 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A4BC: cmp ecx, dword ptr [edi + 4] */ 11821 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 11822 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11823 _flag_k = FK_CMP; 11824 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A4C6; /* 0x2B02A4BF: jne 0x2b02a4c6 */ 11825 L_2B02A4C1: 11826 MEM32(edi + 0x4) = edx; /* 0x2B02A4C1: mov dword ptr [edi + 4], edx */ 11827 goto L_2B02A4D4; /* 0x2B02A4C4: jmp 0x2b02a4d4 */ 11828 L_2B02A4C6: 11829 edi = MEM32(ecx + 0x4); /* 0x2B02A4C6: mov edi, dword ptr [ecx + 4] */ 11830 /* cmp ecx, MEM32(edi) */ /* 0x2B02A4C9: cmp ecx, dword ptr [edi] */ 11831 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 11832 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11833 _flag_k = FK_CMP; 11834 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A4D1; /* 0x2B02A4CB: jne 0x2b02a4d1 */ 11835 L_2B02A4CD: 11836 MEM32(edi) = edx; /* 0x2B02A4CD: mov dword ptr [edi], edx */ 11837 goto L_2B02A4D4; /* 0x2B02A4CF: jmp 0x2b02a4d4 */ 11838 L_2B02A4D1: 11839 MEM32(edi + 0x8) = edx; /* 0x2B02A4D1: mov dword ptr [edi + 8], edx */ 11840 L_2B02A4D4: 11841 MEM32(edx) = ecx; /* 0x2B02A4D4: mov dword ptr [edx], ecx */ 11842 L_2B02A4D6: 11843 MEM32(ecx + 0x4) = edx; /* 0x2B02A4D6: mov dword ptr [ecx + 4], edx */ 11844 L_2B02A4D9: 11845 ecx = MEM32(esi + 0x4); /* 0x2B02A4D9: mov ecx, dword ptr [esi + 4] */ 11846 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B02A4DC: cmp eax, dword ptr [ecx + 4] */ 11847 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 11848 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11849 _flag_k = FK_CMP; 11850 RECOMP_BACKEDGE(); 11851 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A365; /* 0x2B02A4DF: jne 0x2b02a365 */ 11852 L_2B02A4E5: 11853 edx = MEM32(esi + 0x4); /* 0x2B02A4E5: mov edx, dword ptr [esi + 4] */ 11854 eax = MEM32(edx + 0x4); /* 0x2B02A4E8: mov eax, dword ptr [edx + 4] */ 11855 ecx = MEM32(ebp + (-0x4)); /* 0x2B02A4EB: mov ecx, dword ptr [ebp - 4] */ 11856 MEM8(eax + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A4EE: mov byte ptr [eax + 0x34], bl */ 11857 eax = MEM32(ebp + 0x8); /* 0x2B02A4F1: mov eax, dword ptr [ebp + 8] */ 11858 edi = POP32_VAL(esp); /* 0x2B02A4F4: pop edi */ 11859 esi = POP32_VAL(esp); /* 0x2B02A4F5: pop esi */ 11860 MEM32(eax) = ecx; /* 0x2B02A4F6: mov dword ptr [eax], ecx */ 11861 ebx = POP32_VAL(esp); /* 0x2B02A4F8: pop ebx */ 11862 esp = ebp; /* 0x2B02A4F9: mov esp, ebp */ 11863 ebp = POP32_VAL(esp); /* 0x2B02A4FB: pop ebp */ 11864 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B02A4FC: ret 0x10 */ 11865 RECOMP_REGS_OUT(); 11866 } 11867 11868 void sub_2B02A441(void) { 11869 int _fpu_cmp = 0; 11870 uint32_t _cf = 0; 11871 int _df = 1; 11872 uint32_t _flag_k = FK_NONE; 11873 uint32_t _flag_a = 0, _flag_b = 0; 11874 uint32_t _itail_tgt = 0; 11875 RECOMP_REGS_LOCALS 11876 RECOMP_ENTER(0x2B02A441u); 11877 11878 goto L_2B02A441; 11879 L_2B02A365: 11880 ecx = MEM32(eax + 0x4); /* 0x2B02A365: mov ecx, dword ptr [eax + 4] */ 11881 SET_LO8(edx, MEM8(ecx + 0x34)); /* 0x2B02A368: mov dl, byte ptr [ecx + 0x34] */ 11882 /* test LO8(edx), LO8(edx) */ /* 0x2B02A36B: test dl, dl */ 11883 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 11884 _cf = 0; 11885 _flag_k = FK_NARROW(FK_TEST, 24); 11886 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02A4E5; /* 0x2B02A36D: jne 0x2b02a4e5 */ 11887 L_2B02A373: 11888 edi = MEM32(ecx + 0x4); /* 0x2B02A373: mov edi, dword ptr [ecx + 4] */ 11889 edx = MEM32(edi); /* 0x2B02A376: mov edx, dword ptr [edi] */ 11890 /* cmp ecx, edx */ /* 0x2B02A378: cmp ecx, edx */ 11891 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 11892 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11893 _flag_k = FK_CMP; 11894 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A441; /* 0x2B02A37A: jne 0x2b02a441 */ 11895 L_2B02A380: 11896 edx = MEM32(edi + 0x8); /* 0x2B02A380: mov edx, dword ptr [edi + 8] */ 11897 /* cmp MEM8(edx + 0x34), 0 */ /* 0x2B02A383: cmp byte ptr [edx + 0x34], 0 */ 11898 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(0) << 24; 11899 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11900 _flag_k = FK_NARROW(FK_CMP, 24); 11901 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3A4; /* 0x2B02A387: jne 0x2b02a3a4 */ 11902 L_2B02A389: 11903 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A389: mov byte ptr [ecx + 0x34], bl */ 11904 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A38C: mov byte ptr [edx + 0x34], bl */ 11905 ecx = MEM32(eax + 0x4); /* 0x2B02A38F: mov ecx, dword ptr [eax + 4] */ 11906 edx = MEM32(ecx + 0x4); /* 0x2B02A392: mov edx, dword ptr [ecx + 4] */ 11907 MEM8(edx + 0x34) = (uint8_t)(0); /* 0x2B02A395: mov byte ptr [edx + 0x34], 0 */ 11908 eax = MEM32(eax + 0x4); /* 0x2B02A399: mov eax, dword ptr [eax + 4] */ 11909 eax = MEM32(eax + 0x4); /* 0x2B02A39C: mov eax, dword ptr [eax + 4] */ 11910 goto L_2B02A4D9; /* 0x2B02A39F: jmp 0x2b02a4d9 */ 11911 L_2B02A3A4: 11912 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B02A3A4: cmp eax, dword ptr [ecx + 8] */ 11913 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 11914 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11915 _flag_k = FK_CMP; 11916 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3E3; /* 0x2B02A3A7: jne 0x2b02a3e3 */ 11917 L_2B02A3A9: 11918 eax = ecx; /* 0x2B02A3A9: mov eax, ecx */ 11919 ecx = MEM32(eax + 0x8); /* 0x2B02A3AB: mov ecx, dword ptr [eax + 8] */ 11920 edx = MEM32(ecx); /* 0x2B02A3AE: mov edx, dword ptr [ecx] */ 11921 MEM32(eax + 0x8) = edx; /* 0x2B02A3B0: mov dword ptr [eax + 8], edx */ 11922 edx = MEM32(ecx); /* 0x2B02A3B3: mov edx, dword ptr [ecx] */ 11923 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A3B5: cmp edx, dword ptr [esi + 8] */ 11924 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11925 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11926 _flag_k = FK_CMP; 11927 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A3BD; /* 0x2B02A3B8: je 0x2b02a3bd */ 11928 L_2B02A3BA: 11929 MEM32(edx + 0x4) = eax; /* 0x2B02A3BA: mov dword ptr [edx + 4], eax */ 11930 L_2B02A3BD: 11931 edx = MEM32(eax + 0x4); /* 0x2B02A3BD: mov edx, dword ptr [eax + 4] */ 11932 MEM32(ecx + 0x4) = edx; /* 0x2B02A3C0: mov dword ptr [ecx + 4], edx */ 11933 edx = MEM32(esi + 0x4); /* 0x2B02A3C3: mov edx, dword ptr [esi + 4] */ 11934 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A3C6: cmp eax, dword ptr [edx + 4] */ 11935 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 11936 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11937 _flag_k = FK_CMP; 11938 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3D0; /* 0x2B02A3C9: jne 0x2b02a3d0 */ 11939 L_2B02A3CB: 11940 MEM32(edx + 0x4) = ecx; /* 0x2B02A3CB: mov dword ptr [edx + 4], ecx */ 11941 goto L_2B02A3DE; /* 0x2B02A3CE: jmp 0x2b02a3de */ 11942 L_2B02A3D0: 11943 edx = MEM32(eax + 0x4); /* 0x2B02A3D0: mov edx, dword ptr [eax + 4] */ 11944 /* cmp eax, MEM32(edx) */ /* 0x2B02A3D3: cmp eax, dword ptr [edx] */ 11945 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 11946 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11947 _flag_k = FK_CMP; 11948 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3DB; /* 0x2B02A3D5: jne 0x2b02a3db */ 11949 L_2B02A3D7: 11950 MEM32(edx) = ecx; /* 0x2B02A3D7: mov dword ptr [edx], ecx */ 11951 goto L_2B02A3DE; /* 0x2B02A3D9: jmp 0x2b02a3de */ 11952 L_2B02A3DB: 11953 MEM32(edx + 0x8) = ecx; /* 0x2B02A3DB: mov dword ptr [edx + 8], ecx */ 11954 L_2B02A3DE: 11955 MEM32(ecx) = eax; /* 0x2B02A3DE: mov dword ptr [ecx], eax */ 11956 MEM32(eax + 0x4) = ecx; /* 0x2B02A3E0: mov dword ptr [eax + 4], ecx */ 11957 L_2B02A3E3: 11958 ecx = MEM32(eax + 0x4); /* 0x2B02A3E3: mov ecx, dword ptr [eax + 4] */ 11959 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A3E6: mov byte ptr [ecx + 0x34], bl */ 11960 edx = MEM32(eax + 0x4); /* 0x2B02A3E9: mov edx, dword ptr [eax + 4] */ 11961 ecx = MEM32(edx + 0x4); /* 0x2B02A3EC: mov ecx, dword ptr [edx + 4] */ 11962 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B02A3EF: mov byte ptr [ecx + 0x34], 0 */ 11963 edx = MEM32(eax + 0x4); /* 0x2B02A3F3: mov edx, dword ptr [eax + 4] */ 11964 ecx = MEM32(edx + 0x4); /* 0x2B02A3F6: mov ecx, dword ptr [edx + 4] */ 11965 edx = MEM32(ecx); /* 0x2B02A3F9: mov edx, dword ptr [ecx] */ 11966 edi = MEM32(edx + 0x8); /* 0x2B02A3FB: mov edi, dword ptr [edx + 8] */ 11967 MEM32(ecx) = edi; /* 0x2B02A3FE: mov dword ptr [ecx], edi */ 11968 edi = MEM32(edx + 0x8); /* 0x2B02A400: mov edi, dword ptr [edx + 8] */ 11969 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A403: cmp edi, dword ptr [esi + 8] */ 11970 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11971 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11972 _flag_k = FK_CMP; 11973 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A40B; /* 0x2B02A406: je 0x2b02a40b */ 11974 L_2B02A408: 11975 MEM32(edi + 0x4) = ecx; /* 0x2B02A408: mov dword ptr [edi + 4], ecx */ 11976 L_2B02A40B: 11977 edi = MEM32(ecx + 0x4); /* 0x2B02A40B: mov edi, dword ptr [ecx + 4] */ 11978 MEM32(edx + 0x4) = edi; /* 0x2B02A40E: mov dword ptr [edx + 4], edi */ 11979 edi = MEM32(esi + 0x4); /* 0x2B02A411: mov edi, dword ptr [esi + 4] */ 11980 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A414: cmp ecx, dword ptr [edi + 4] */ 11981 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 11982 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11983 _flag_k = FK_CMP; 11984 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A424; /* 0x2B02A417: jne 0x2b02a424 */ 11985 L_2B02A419: 11986 MEM32(edi + 0x4) = edx; /* 0x2B02A419: mov dword ptr [edi + 4], edx */ 11987 MEM32(edx + 0x8) = ecx; /* 0x2B02A41C: mov dword ptr [edx + 8], ecx */ 11988 goto L_2B02A4D6; /* 0x2B02A41F: jmp 0x2b02a4d6 */ 11989 L_2B02A424: 11990 edi = MEM32(ecx + 0x4); /* 0x2B02A424: mov edi, dword ptr [ecx + 4] */ 11991 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B02A427: cmp ecx, dword ptr [edi + 8] */ 11992 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 11993 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11994 _flag_k = FK_CMP; 11995 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A437; /* 0x2B02A42A: jne 0x2b02a437 */ 11996 L_2B02A42C: 11997 MEM32(edi + 0x8) = edx; /* 0x2B02A42C: mov dword ptr [edi + 8], edx */ 11998 MEM32(edx + 0x8) = ecx; /* 0x2B02A42F: mov dword ptr [edx + 8], ecx */ 11999 goto L_2B02A4D6; /* 0x2B02A432: jmp 0x2b02a4d6 */ 12000 L_2B02A437: 12001 MEM32(edi) = edx; /* 0x2B02A437: mov dword ptr [edi], edx */ 12002 MEM32(edx + 0x8) = ecx; /* 0x2B02A439: mov dword ptr [edx + 8], ecx */ 12003 goto L_2B02A4D6; /* 0x2B02A43C: jmp 0x2b02a4d6 */ 12004 L_2B02A441: 12005 /* cmp MEM8(edx + 0x34), 0 */ /* 0x2B02A441: cmp byte ptr [edx + 0x34], 0 */ 12006 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(0) << 24; 12007 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12008 _flag_k = FK_NARROW(FK_CMP, 24); 12009 RECOMP_BACKEDGE(); 12010 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A389; /* 0x2B02A445: je 0x2b02a389 */ 12011 L_2B02A44B: 12012 /* cmp eax, MEM32(ecx) */ /* 0x2B02A44B: cmp eax, dword ptr [ecx] */ 12013 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 12014 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12015 _flag_k = FK_CMP; 12016 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A48B; /* 0x2B02A44D: jne 0x2b02a48b */ 12017 L_2B02A44F: 12018 eax = ecx; /* 0x2B02A44F: mov eax, ecx */ 12019 ecx = MEM32(eax); /* 0x2B02A451: mov ecx, dword ptr [eax] */ 12020 edx = MEM32(ecx + 0x8); /* 0x2B02A453: mov edx, dword ptr [ecx + 8] */ 12021 MEM32(eax) = edx; /* 0x2B02A456: mov dword ptr [eax], edx */ 12022 edx = MEM32(ecx + 0x8); /* 0x2B02A458: mov edx, dword ptr [ecx + 8] */ 12023 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A45B: cmp edx, dword ptr [esi + 8] */ 12024 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12025 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12026 _flag_k = FK_CMP; 12027 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A463; /* 0x2B02A45E: je 0x2b02a463 */ 12028 L_2B02A460: 12029 MEM32(edx + 0x4) = eax; /* 0x2B02A460: mov dword ptr [edx + 4], eax */ 12030 L_2B02A463: 12031 edx = MEM32(eax + 0x4); /* 0x2B02A463: mov edx, dword ptr [eax + 4] */ 12032 MEM32(ecx + 0x4) = edx; /* 0x2B02A466: mov dword ptr [ecx + 4], edx */ 12033 edx = MEM32(esi + 0x4); /* 0x2B02A469: mov edx, dword ptr [esi + 4] */ 12034 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A46C: cmp eax, dword ptr [edx + 4] */ 12035 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 12036 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12037 _flag_k = FK_CMP; 12038 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A476; /* 0x2B02A46F: jne 0x2b02a476 */ 12039 L_2B02A471: 12040 MEM32(edx + 0x4) = ecx; /* 0x2B02A471: mov dword ptr [edx + 4], ecx */ 12041 goto L_2B02A485; /* 0x2B02A474: jmp 0x2b02a485 */ 12042 L_2B02A476: 12043 edx = MEM32(eax + 0x4); /* 0x2B02A476: mov edx, dword ptr [eax + 4] */ 12044 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B02A479: cmp eax, dword ptr [edx + 8] */ 12045 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 12046 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12047 _flag_k = FK_CMP; 12048 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A483; /* 0x2B02A47C: jne 0x2b02a483 */ 12049 L_2B02A47E: 12050 MEM32(edx + 0x8) = ecx; /* 0x2B02A47E: mov dword ptr [edx + 8], ecx */ 12051 goto L_2B02A485; /* 0x2B02A481: jmp 0x2b02a485 */ 12052 L_2B02A483: 12053 MEM32(edx) = ecx; /* 0x2B02A483: mov dword ptr [edx], ecx */ 12054 L_2B02A485: 12055 MEM32(ecx + 0x8) = eax; /* 0x2B02A485: mov dword ptr [ecx + 8], eax */ 12056 MEM32(eax + 0x4) = ecx; /* 0x2B02A488: mov dword ptr [eax + 4], ecx */ 12057 L_2B02A48B: 12058 ecx = MEM32(eax + 0x4); /* 0x2B02A48B: mov ecx, dword ptr [eax + 4] */ 12059 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A48E: mov byte ptr [ecx + 0x34], bl */ 12060 edx = MEM32(eax + 0x4); /* 0x2B02A491: mov edx, dword ptr [eax + 4] */ 12061 ecx = MEM32(edx + 0x4); /* 0x2B02A494: mov ecx, dword ptr [edx + 4] */ 12062 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B02A497: mov byte ptr [ecx + 0x34], 0 */ 12063 edx = MEM32(eax + 0x4); /* 0x2B02A49B: mov edx, dword ptr [eax + 4] */ 12064 ecx = MEM32(edx + 0x4); /* 0x2B02A49E: mov ecx, dword ptr [edx + 4] */ 12065 edx = MEM32(ecx + 0x8); /* 0x2B02A4A1: mov edx, dword ptr [ecx + 8] */ 12066 edi = MEM32(edx); /* 0x2B02A4A4: mov edi, dword ptr [edx] */ 12067 MEM32(ecx + 0x8) = edi; /* 0x2B02A4A6: mov dword ptr [ecx + 8], edi */ 12068 edi = MEM32(edx); /* 0x2B02A4A9: mov edi, dword ptr [edx] */ 12069 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A4AB: cmp edi, dword ptr [esi + 8] */ 12070 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12071 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12072 _flag_k = FK_CMP; 12073 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A4B3; /* 0x2B02A4AE: je 0x2b02a4b3 */ 12074 L_2B02A4B0: 12075 MEM32(edi + 0x4) = ecx; /* 0x2B02A4B0: mov dword ptr [edi + 4], ecx */ 12076 L_2B02A4B3: 12077 edi = MEM32(ecx + 0x4); /* 0x2B02A4B3: mov edi, dword ptr [ecx + 4] */ 12078 MEM32(edx + 0x4) = edi; /* 0x2B02A4B6: mov dword ptr [edx + 4], edi */ 12079 edi = MEM32(esi + 0x4); /* 0x2B02A4B9: mov edi, dword ptr [esi + 4] */ 12080 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A4BC: cmp ecx, dword ptr [edi + 4] */ 12081 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 12082 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12083 _flag_k = FK_CMP; 12084 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A4C6; /* 0x2B02A4BF: jne 0x2b02a4c6 */ 12085 L_2B02A4C1: 12086 MEM32(edi + 0x4) = edx; /* 0x2B02A4C1: mov dword ptr [edi + 4], edx */ 12087 goto L_2B02A4D4; /* 0x2B02A4C4: jmp 0x2b02a4d4 */ 12088 L_2B02A4C6: 12089 edi = MEM32(ecx + 0x4); /* 0x2B02A4C6: mov edi, dword ptr [ecx + 4] */ 12090 /* cmp ecx, MEM32(edi) */ /* 0x2B02A4C9: cmp ecx, dword ptr [edi] */ 12091 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 12092 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12093 _flag_k = FK_CMP; 12094 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A4D1; /* 0x2B02A4CB: jne 0x2b02a4d1 */ 12095 L_2B02A4CD: 12096 MEM32(edi) = edx; /* 0x2B02A4CD: mov dword ptr [edi], edx */ 12097 goto L_2B02A4D4; /* 0x2B02A4CF: jmp 0x2b02a4d4 */ 12098 L_2B02A4D1: 12099 MEM32(edi + 0x8) = edx; /* 0x2B02A4D1: mov dword ptr [edi + 8], edx */ 12100 L_2B02A4D4: 12101 MEM32(edx) = ecx; /* 0x2B02A4D4: mov dword ptr [edx], ecx */ 12102 L_2B02A4D6: 12103 MEM32(ecx + 0x4) = edx; /* 0x2B02A4D6: mov dword ptr [ecx + 4], edx */ 12104 L_2B02A4D9: 12105 ecx = MEM32(esi + 0x4); /* 0x2B02A4D9: mov ecx, dword ptr [esi + 4] */ 12106 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B02A4DC: cmp eax, dword ptr [ecx + 4] */ 12107 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 12108 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12109 _flag_k = FK_CMP; 12110 RECOMP_BACKEDGE(); 12111 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A365; /* 0x2B02A4DF: jne 0x2b02a365 */ 12112 L_2B02A4E5: 12113 edx = MEM32(esi + 0x4); /* 0x2B02A4E5: mov edx, dword ptr [esi + 4] */ 12114 eax = MEM32(edx + 0x4); /* 0x2B02A4E8: mov eax, dword ptr [edx + 4] */ 12115 ecx = MEM32(ebp + (-0x4)); /* 0x2B02A4EB: mov ecx, dword ptr [ebp - 4] */ 12116 MEM8(eax + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A4EE: mov byte ptr [eax + 0x34], bl */ 12117 eax = MEM32(ebp + 0x8); /* 0x2B02A4F1: mov eax, dword ptr [ebp + 8] */ 12118 edi = POP32_VAL(esp); /* 0x2B02A4F4: pop edi */ 12119 esi = POP32_VAL(esp); /* 0x2B02A4F5: pop esi */ 12120 MEM32(eax) = ecx; /* 0x2B02A4F6: mov dword ptr [eax], ecx */ 12121 ebx = POP32_VAL(esp); /* 0x2B02A4F8: pop ebx */ 12122 esp = ebp; /* 0x2B02A4F9: mov esp, ebp */ 12123 ebp = POP32_VAL(esp); /* 0x2B02A4FB: pop ebp */ 12124 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B02A4FC: ret 0x10 */ 12125 RECOMP_REGS_OUT(); 12126 } 12127 12128 void sub_2B02A485(void) { 12129 int _fpu_cmp = 0; 12130 uint32_t _cf = 0; 12131 int _df = 1; 12132 uint32_t _flag_k = FK_NONE; 12133 uint32_t _flag_a = 0, _flag_b = 0; 12134 uint32_t _itail_tgt = 0; 12135 RECOMP_REGS_LOCALS 12136 RECOMP_ENTER(0x2B02A485u); 12137 12138 goto L_2B02A485; 12139 L_2B02A365: 12140 ecx = MEM32(eax + 0x4); /* 0x2B02A365: mov ecx, dword ptr [eax + 4] */ 12141 SET_LO8(edx, MEM8(ecx + 0x34)); /* 0x2B02A368: mov dl, byte ptr [ecx + 0x34] */ 12142 /* test LO8(edx), LO8(edx) */ /* 0x2B02A36B: test dl, dl */ 12143 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 12144 _cf = 0; 12145 _flag_k = FK_NARROW(FK_TEST, 24); 12146 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02A4E5; /* 0x2B02A36D: jne 0x2b02a4e5 */ 12147 L_2B02A373: 12148 edi = MEM32(ecx + 0x4); /* 0x2B02A373: mov edi, dword ptr [ecx + 4] */ 12149 edx = MEM32(edi); /* 0x2B02A376: mov edx, dword ptr [edi] */ 12150 /* cmp ecx, edx */ /* 0x2B02A378: cmp ecx, edx */ 12151 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 12152 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12153 _flag_k = FK_CMP; 12154 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A441; /* 0x2B02A37A: jne 0x2b02a441 */ 12155 L_2B02A380: 12156 edx = MEM32(edi + 0x8); /* 0x2B02A380: mov edx, dword ptr [edi + 8] */ 12157 /* cmp MEM8(edx + 0x34), 0 */ /* 0x2B02A383: cmp byte ptr [edx + 0x34], 0 */ 12158 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(0) << 24; 12159 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12160 _flag_k = FK_NARROW(FK_CMP, 24); 12161 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3A4; /* 0x2B02A387: jne 0x2b02a3a4 */ 12162 L_2B02A389: 12163 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A389: mov byte ptr [ecx + 0x34], bl */ 12164 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A38C: mov byte ptr [edx + 0x34], bl */ 12165 ecx = MEM32(eax + 0x4); /* 0x2B02A38F: mov ecx, dword ptr [eax + 4] */ 12166 edx = MEM32(ecx + 0x4); /* 0x2B02A392: mov edx, dword ptr [ecx + 4] */ 12167 MEM8(edx + 0x34) = (uint8_t)(0); /* 0x2B02A395: mov byte ptr [edx + 0x34], 0 */ 12168 eax = MEM32(eax + 0x4); /* 0x2B02A399: mov eax, dword ptr [eax + 4] */ 12169 eax = MEM32(eax + 0x4); /* 0x2B02A39C: mov eax, dword ptr [eax + 4] */ 12170 goto L_2B02A4D9; /* 0x2B02A39F: jmp 0x2b02a4d9 */ 12171 L_2B02A3A4: 12172 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B02A3A4: cmp eax, dword ptr [ecx + 8] */ 12173 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 12174 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12175 _flag_k = FK_CMP; 12176 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3E3; /* 0x2B02A3A7: jne 0x2b02a3e3 */ 12177 L_2B02A3A9: 12178 eax = ecx; /* 0x2B02A3A9: mov eax, ecx */ 12179 ecx = MEM32(eax + 0x8); /* 0x2B02A3AB: mov ecx, dword ptr [eax + 8] */ 12180 edx = MEM32(ecx); /* 0x2B02A3AE: mov edx, dword ptr [ecx] */ 12181 MEM32(eax + 0x8) = edx; /* 0x2B02A3B0: mov dword ptr [eax + 8], edx */ 12182 edx = MEM32(ecx); /* 0x2B02A3B3: mov edx, dword ptr [ecx] */ 12183 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A3B5: cmp edx, dword ptr [esi + 8] */ 12184 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12185 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12186 _flag_k = FK_CMP; 12187 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A3BD; /* 0x2B02A3B8: je 0x2b02a3bd */ 12188 L_2B02A3BA: 12189 MEM32(edx + 0x4) = eax; /* 0x2B02A3BA: mov dword ptr [edx + 4], eax */ 12190 L_2B02A3BD: 12191 edx = MEM32(eax + 0x4); /* 0x2B02A3BD: mov edx, dword ptr [eax + 4] */ 12192 MEM32(ecx + 0x4) = edx; /* 0x2B02A3C0: mov dword ptr [ecx + 4], edx */ 12193 edx = MEM32(esi + 0x4); /* 0x2B02A3C3: mov edx, dword ptr [esi + 4] */ 12194 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A3C6: cmp eax, dword ptr [edx + 4] */ 12195 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 12196 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12197 _flag_k = FK_CMP; 12198 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3D0; /* 0x2B02A3C9: jne 0x2b02a3d0 */ 12199 L_2B02A3CB: 12200 MEM32(edx + 0x4) = ecx; /* 0x2B02A3CB: mov dword ptr [edx + 4], ecx */ 12201 goto L_2B02A3DE; /* 0x2B02A3CE: jmp 0x2b02a3de */ 12202 L_2B02A3D0: 12203 edx = MEM32(eax + 0x4); /* 0x2B02A3D0: mov edx, dword ptr [eax + 4] */ 12204 /* cmp eax, MEM32(edx) */ /* 0x2B02A3D3: cmp eax, dword ptr [edx] */ 12205 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 12206 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12207 _flag_k = FK_CMP; 12208 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3DB; /* 0x2B02A3D5: jne 0x2b02a3db */ 12209 L_2B02A3D7: 12210 MEM32(edx) = ecx; /* 0x2B02A3D7: mov dword ptr [edx], ecx */ 12211 goto L_2B02A3DE; /* 0x2B02A3D9: jmp 0x2b02a3de */ 12212 L_2B02A3DB: 12213 MEM32(edx + 0x8) = ecx; /* 0x2B02A3DB: mov dword ptr [edx + 8], ecx */ 12214 L_2B02A3DE: 12215 MEM32(ecx) = eax; /* 0x2B02A3DE: mov dword ptr [ecx], eax */ 12216 MEM32(eax + 0x4) = ecx; /* 0x2B02A3E0: mov dword ptr [eax + 4], ecx */ 12217 L_2B02A3E3: 12218 ecx = MEM32(eax + 0x4); /* 0x2B02A3E3: mov ecx, dword ptr [eax + 4] */ 12219 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A3E6: mov byte ptr [ecx + 0x34], bl */ 12220 edx = MEM32(eax + 0x4); /* 0x2B02A3E9: mov edx, dword ptr [eax + 4] */ 12221 ecx = MEM32(edx + 0x4); /* 0x2B02A3EC: mov ecx, dword ptr [edx + 4] */ 12222 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B02A3EF: mov byte ptr [ecx + 0x34], 0 */ 12223 edx = MEM32(eax + 0x4); /* 0x2B02A3F3: mov edx, dword ptr [eax + 4] */ 12224 ecx = MEM32(edx + 0x4); /* 0x2B02A3F6: mov ecx, dword ptr [edx + 4] */ 12225 edx = MEM32(ecx); /* 0x2B02A3F9: mov edx, dword ptr [ecx] */ 12226 edi = MEM32(edx + 0x8); /* 0x2B02A3FB: mov edi, dword ptr [edx + 8] */ 12227 MEM32(ecx) = edi; /* 0x2B02A3FE: mov dword ptr [ecx], edi */ 12228 edi = MEM32(edx + 0x8); /* 0x2B02A400: mov edi, dword ptr [edx + 8] */ 12229 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A403: cmp edi, dword ptr [esi + 8] */ 12230 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12231 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12232 _flag_k = FK_CMP; 12233 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A40B; /* 0x2B02A406: je 0x2b02a40b */ 12234 L_2B02A408: 12235 MEM32(edi + 0x4) = ecx; /* 0x2B02A408: mov dword ptr [edi + 4], ecx */ 12236 L_2B02A40B: 12237 edi = MEM32(ecx + 0x4); /* 0x2B02A40B: mov edi, dword ptr [ecx + 4] */ 12238 MEM32(edx + 0x4) = edi; /* 0x2B02A40E: mov dword ptr [edx + 4], edi */ 12239 edi = MEM32(esi + 0x4); /* 0x2B02A411: mov edi, dword ptr [esi + 4] */ 12240 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A414: cmp ecx, dword ptr [edi + 4] */ 12241 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 12242 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12243 _flag_k = FK_CMP; 12244 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A424; /* 0x2B02A417: jne 0x2b02a424 */ 12245 L_2B02A419: 12246 MEM32(edi + 0x4) = edx; /* 0x2B02A419: mov dword ptr [edi + 4], edx */ 12247 MEM32(edx + 0x8) = ecx; /* 0x2B02A41C: mov dword ptr [edx + 8], ecx */ 12248 goto L_2B02A4D6; /* 0x2B02A41F: jmp 0x2b02a4d6 */ 12249 L_2B02A424: 12250 edi = MEM32(ecx + 0x4); /* 0x2B02A424: mov edi, dword ptr [ecx + 4] */ 12251 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B02A427: cmp ecx, dword ptr [edi + 8] */ 12252 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 12253 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12254 _flag_k = FK_CMP; 12255 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A437; /* 0x2B02A42A: jne 0x2b02a437 */ 12256 L_2B02A42C: 12257 MEM32(edi + 0x8) = edx; /* 0x2B02A42C: mov dword ptr [edi + 8], edx */ 12258 MEM32(edx + 0x8) = ecx; /* 0x2B02A42F: mov dword ptr [edx + 8], ecx */ 12259 goto L_2B02A4D6; /* 0x2B02A432: jmp 0x2b02a4d6 */ 12260 L_2B02A437: 12261 MEM32(edi) = edx; /* 0x2B02A437: mov dword ptr [edi], edx */ 12262 MEM32(edx + 0x8) = ecx; /* 0x2B02A439: mov dword ptr [edx + 8], ecx */ 12263 goto L_2B02A4D6; /* 0x2B02A43C: jmp 0x2b02a4d6 */ 12264 L_2B02A441: 12265 /* cmp MEM8(edx + 0x34), 0 */ /* 0x2B02A441: cmp byte ptr [edx + 0x34], 0 */ 12266 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(0) << 24; 12267 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12268 _flag_k = FK_NARROW(FK_CMP, 24); 12269 RECOMP_BACKEDGE(); 12270 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A389; /* 0x2B02A445: je 0x2b02a389 */ 12271 L_2B02A44B: 12272 /* cmp eax, MEM32(ecx) */ /* 0x2B02A44B: cmp eax, dword ptr [ecx] */ 12273 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 12274 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12275 _flag_k = FK_CMP; 12276 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A48B; /* 0x2B02A44D: jne 0x2b02a48b */ 12277 L_2B02A44F: 12278 eax = ecx; /* 0x2B02A44F: mov eax, ecx */ 12279 ecx = MEM32(eax); /* 0x2B02A451: mov ecx, dword ptr [eax] */ 12280 edx = MEM32(ecx + 0x8); /* 0x2B02A453: mov edx, dword ptr [ecx + 8] */ 12281 MEM32(eax) = edx; /* 0x2B02A456: mov dword ptr [eax], edx */ 12282 edx = MEM32(ecx + 0x8); /* 0x2B02A458: mov edx, dword ptr [ecx + 8] */ 12283 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A45B: cmp edx, dword ptr [esi + 8] */ 12284 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12285 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12286 _flag_k = FK_CMP; 12287 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A463; /* 0x2B02A45E: je 0x2b02a463 */ 12288 L_2B02A460: 12289 MEM32(edx + 0x4) = eax; /* 0x2B02A460: mov dword ptr [edx + 4], eax */ 12290 L_2B02A463: 12291 edx = MEM32(eax + 0x4); /* 0x2B02A463: mov edx, dword ptr [eax + 4] */ 12292 MEM32(ecx + 0x4) = edx; /* 0x2B02A466: mov dword ptr [ecx + 4], edx */ 12293 edx = MEM32(esi + 0x4); /* 0x2B02A469: mov edx, dword ptr [esi + 4] */ 12294 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A46C: cmp eax, dword ptr [edx + 4] */ 12295 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 12296 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12297 _flag_k = FK_CMP; 12298 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A476; /* 0x2B02A46F: jne 0x2b02a476 */ 12299 L_2B02A471: 12300 MEM32(edx + 0x4) = ecx; /* 0x2B02A471: mov dword ptr [edx + 4], ecx */ 12301 goto L_2B02A485; /* 0x2B02A474: jmp 0x2b02a485 */ 12302 L_2B02A476: 12303 edx = MEM32(eax + 0x4); /* 0x2B02A476: mov edx, dword ptr [eax + 4] */ 12304 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B02A479: cmp eax, dword ptr [edx + 8] */ 12305 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 12306 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12307 _flag_k = FK_CMP; 12308 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A483; /* 0x2B02A47C: jne 0x2b02a483 */ 12309 L_2B02A47E: 12310 MEM32(edx + 0x8) = ecx; /* 0x2B02A47E: mov dword ptr [edx + 8], ecx */ 12311 goto L_2B02A485; /* 0x2B02A481: jmp 0x2b02a485 */ 12312 L_2B02A483: 12313 MEM32(edx) = ecx; /* 0x2B02A483: mov dword ptr [edx], ecx */ 12314 L_2B02A485: 12315 MEM32(ecx + 0x8) = eax; /* 0x2B02A485: mov dword ptr [ecx + 8], eax */ 12316 MEM32(eax + 0x4) = ecx; /* 0x2B02A488: mov dword ptr [eax + 4], ecx */ 12317 L_2B02A48B: 12318 ecx = MEM32(eax + 0x4); /* 0x2B02A48B: mov ecx, dword ptr [eax + 4] */ 12319 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A48E: mov byte ptr [ecx + 0x34], bl */ 12320 edx = MEM32(eax + 0x4); /* 0x2B02A491: mov edx, dword ptr [eax + 4] */ 12321 ecx = MEM32(edx + 0x4); /* 0x2B02A494: mov ecx, dword ptr [edx + 4] */ 12322 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B02A497: mov byte ptr [ecx + 0x34], 0 */ 12323 edx = MEM32(eax + 0x4); /* 0x2B02A49B: mov edx, dword ptr [eax + 4] */ 12324 ecx = MEM32(edx + 0x4); /* 0x2B02A49E: mov ecx, dword ptr [edx + 4] */ 12325 edx = MEM32(ecx + 0x8); /* 0x2B02A4A1: mov edx, dword ptr [ecx + 8] */ 12326 edi = MEM32(edx); /* 0x2B02A4A4: mov edi, dword ptr [edx] */ 12327 MEM32(ecx + 0x8) = edi; /* 0x2B02A4A6: mov dword ptr [ecx + 8], edi */ 12328 edi = MEM32(edx); /* 0x2B02A4A9: mov edi, dword ptr [edx] */ 12329 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A4AB: cmp edi, dword ptr [esi + 8] */ 12330 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12331 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12332 _flag_k = FK_CMP; 12333 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A4B3; /* 0x2B02A4AE: je 0x2b02a4b3 */ 12334 L_2B02A4B0: 12335 MEM32(edi + 0x4) = ecx; /* 0x2B02A4B0: mov dword ptr [edi + 4], ecx */ 12336 L_2B02A4B3: 12337 edi = MEM32(ecx + 0x4); /* 0x2B02A4B3: mov edi, dword ptr [ecx + 4] */ 12338 MEM32(edx + 0x4) = edi; /* 0x2B02A4B6: mov dword ptr [edx + 4], edi */ 12339 edi = MEM32(esi + 0x4); /* 0x2B02A4B9: mov edi, dword ptr [esi + 4] */ 12340 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A4BC: cmp ecx, dword ptr [edi + 4] */ 12341 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 12342 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12343 _flag_k = FK_CMP; 12344 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A4C6; /* 0x2B02A4BF: jne 0x2b02a4c6 */ 12345 L_2B02A4C1: 12346 MEM32(edi + 0x4) = edx; /* 0x2B02A4C1: mov dword ptr [edi + 4], edx */ 12347 goto L_2B02A4D4; /* 0x2B02A4C4: jmp 0x2b02a4d4 */ 12348 L_2B02A4C6: 12349 edi = MEM32(ecx + 0x4); /* 0x2B02A4C6: mov edi, dword ptr [ecx + 4] */ 12350 /* cmp ecx, MEM32(edi) */ /* 0x2B02A4C9: cmp ecx, dword ptr [edi] */ 12351 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 12352 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12353 _flag_k = FK_CMP; 12354 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A4D1; /* 0x2B02A4CB: jne 0x2b02a4d1 */ 12355 L_2B02A4CD: 12356 MEM32(edi) = edx; /* 0x2B02A4CD: mov dword ptr [edi], edx */ 12357 goto L_2B02A4D4; /* 0x2B02A4CF: jmp 0x2b02a4d4 */ 12358 L_2B02A4D1: 12359 MEM32(edi + 0x8) = edx; /* 0x2B02A4D1: mov dword ptr [edi + 8], edx */ 12360 L_2B02A4D4: 12361 MEM32(edx) = ecx; /* 0x2B02A4D4: mov dword ptr [edx], ecx */ 12362 L_2B02A4D6: 12363 MEM32(ecx + 0x4) = edx; /* 0x2B02A4D6: mov dword ptr [ecx + 4], edx */ 12364 L_2B02A4D9: 12365 ecx = MEM32(esi + 0x4); /* 0x2B02A4D9: mov ecx, dword ptr [esi + 4] */ 12366 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B02A4DC: cmp eax, dword ptr [ecx + 4] */ 12367 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 12368 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12369 _flag_k = FK_CMP; 12370 RECOMP_BACKEDGE(); 12371 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A365; /* 0x2B02A4DF: jne 0x2b02a365 */ 12372 L_2B02A4E5: 12373 edx = MEM32(esi + 0x4); /* 0x2B02A4E5: mov edx, dword ptr [esi + 4] */ 12374 eax = MEM32(edx + 0x4); /* 0x2B02A4E8: mov eax, dword ptr [edx + 4] */ 12375 ecx = MEM32(ebp + (-0x4)); /* 0x2B02A4EB: mov ecx, dword ptr [ebp - 4] */ 12376 MEM8(eax + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A4EE: mov byte ptr [eax + 0x34], bl */ 12377 eax = MEM32(ebp + 0x8); /* 0x2B02A4F1: mov eax, dword ptr [ebp + 8] */ 12378 edi = POP32_VAL(esp); /* 0x2B02A4F4: pop edi */ 12379 esi = POP32_VAL(esp); /* 0x2B02A4F5: pop esi */ 12380 MEM32(eax) = ecx; /* 0x2B02A4F6: mov dword ptr [eax], ecx */ 12381 ebx = POP32_VAL(esp); /* 0x2B02A4F8: pop ebx */ 12382 esp = ebp; /* 0x2B02A4F9: mov esp, ebp */ 12383 ebp = POP32_VAL(esp); /* 0x2B02A4FB: pop ebp */ 12384 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B02A4FC: ret 0x10 */ 12385 RECOMP_REGS_OUT(); 12386 } 12387 12388 void sub_2B02A48B(void) { 12389 int _fpu_cmp = 0; 12390 uint32_t _cf = 0; 12391 int _df = 1; 12392 uint32_t _flag_k = FK_NONE; 12393 uint32_t _flag_a = 0, _flag_b = 0; 12394 uint32_t _itail_tgt = 0; 12395 RECOMP_REGS_LOCALS 12396 RECOMP_ENTER(0x2B02A48Bu); 12397 12398 goto L_2B02A48B; 12399 L_2B02A365: 12400 ecx = MEM32(eax + 0x4); /* 0x2B02A365: mov ecx, dword ptr [eax + 4] */ 12401 SET_LO8(edx, MEM8(ecx + 0x34)); /* 0x2B02A368: mov dl, byte ptr [ecx + 0x34] */ 12402 /* test LO8(edx), LO8(edx) */ /* 0x2B02A36B: test dl, dl */ 12403 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 12404 _cf = 0; 12405 _flag_k = FK_NARROW(FK_TEST, 24); 12406 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02A4E5; /* 0x2B02A36D: jne 0x2b02a4e5 */ 12407 L_2B02A373: 12408 edi = MEM32(ecx + 0x4); /* 0x2B02A373: mov edi, dword ptr [ecx + 4] */ 12409 edx = MEM32(edi); /* 0x2B02A376: mov edx, dword ptr [edi] */ 12410 /* cmp ecx, edx */ /* 0x2B02A378: cmp ecx, edx */ 12411 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 12412 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12413 _flag_k = FK_CMP; 12414 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A441; /* 0x2B02A37A: jne 0x2b02a441 */ 12415 L_2B02A380: 12416 edx = MEM32(edi + 0x8); /* 0x2B02A380: mov edx, dword ptr [edi + 8] */ 12417 /* cmp MEM8(edx + 0x34), 0 */ /* 0x2B02A383: cmp byte ptr [edx + 0x34], 0 */ 12418 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(0) << 24; 12419 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12420 _flag_k = FK_NARROW(FK_CMP, 24); 12421 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3A4; /* 0x2B02A387: jne 0x2b02a3a4 */ 12422 L_2B02A389: 12423 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A389: mov byte ptr [ecx + 0x34], bl */ 12424 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A38C: mov byte ptr [edx + 0x34], bl */ 12425 ecx = MEM32(eax + 0x4); /* 0x2B02A38F: mov ecx, dword ptr [eax + 4] */ 12426 edx = MEM32(ecx + 0x4); /* 0x2B02A392: mov edx, dword ptr [ecx + 4] */ 12427 MEM8(edx + 0x34) = (uint8_t)(0); /* 0x2B02A395: mov byte ptr [edx + 0x34], 0 */ 12428 eax = MEM32(eax + 0x4); /* 0x2B02A399: mov eax, dword ptr [eax + 4] */ 12429 eax = MEM32(eax + 0x4); /* 0x2B02A39C: mov eax, dword ptr [eax + 4] */ 12430 goto L_2B02A4D9; /* 0x2B02A39F: jmp 0x2b02a4d9 */ 12431 L_2B02A3A4: 12432 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B02A3A4: cmp eax, dword ptr [ecx + 8] */ 12433 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 12434 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12435 _flag_k = FK_CMP; 12436 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3E3; /* 0x2B02A3A7: jne 0x2b02a3e3 */ 12437 L_2B02A3A9: 12438 eax = ecx; /* 0x2B02A3A9: mov eax, ecx */ 12439 ecx = MEM32(eax + 0x8); /* 0x2B02A3AB: mov ecx, dword ptr [eax + 8] */ 12440 edx = MEM32(ecx); /* 0x2B02A3AE: mov edx, dword ptr [ecx] */ 12441 MEM32(eax + 0x8) = edx; /* 0x2B02A3B0: mov dword ptr [eax + 8], edx */ 12442 edx = MEM32(ecx); /* 0x2B02A3B3: mov edx, dword ptr [ecx] */ 12443 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A3B5: cmp edx, dword ptr [esi + 8] */ 12444 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12445 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12446 _flag_k = FK_CMP; 12447 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A3BD; /* 0x2B02A3B8: je 0x2b02a3bd */ 12448 L_2B02A3BA: 12449 MEM32(edx + 0x4) = eax; /* 0x2B02A3BA: mov dword ptr [edx + 4], eax */ 12450 L_2B02A3BD: 12451 edx = MEM32(eax + 0x4); /* 0x2B02A3BD: mov edx, dword ptr [eax + 4] */ 12452 MEM32(ecx + 0x4) = edx; /* 0x2B02A3C0: mov dword ptr [ecx + 4], edx */ 12453 edx = MEM32(esi + 0x4); /* 0x2B02A3C3: mov edx, dword ptr [esi + 4] */ 12454 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A3C6: cmp eax, dword ptr [edx + 4] */ 12455 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 12456 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12457 _flag_k = FK_CMP; 12458 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3D0; /* 0x2B02A3C9: jne 0x2b02a3d0 */ 12459 L_2B02A3CB: 12460 MEM32(edx + 0x4) = ecx; /* 0x2B02A3CB: mov dword ptr [edx + 4], ecx */ 12461 goto L_2B02A3DE; /* 0x2B02A3CE: jmp 0x2b02a3de */ 12462 L_2B02A3D0: 12463 edx = MEM32(eax + 0x4); /* 0x2B02A3D0: mov edx, dword ptr [eax + 4] */ 12464 /* cmp eax, MEM32(edx) */ /* 0x2B02A3D3: cmp eax, dword ptr [edx] */ 12465 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 12466 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12467 _flag_k = FK_CMP; 12468 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3DB; /* 0x2B02A3D5: jne 0x2b02a3db */ 12469 L_2B02A3D7: 12470 MEM32(edx) = ecx; /* 0x2B02A3D7: mov dword ptr [edx], ecx */ 12471 goto L_2B02A3DE; /* 0x2B02A3D9: jmp 0x2b02a3de */ 12472 L_2B02A3DB: 12473 MEM32(edx + 0x8) = ecx; /* 0x2B02A3DB: mov dword ptr [edx + 8], ecx */ 12474 L_2B02A3DE: 12475 MEM32(ecx) = eax; /* 0x2B02A3DE: mov dword ptr [ecx], eax */ 12476 MEM32(eax + 0x4) = ecx; /* 0x2B02A3E0: mov dword ptr [eax + 4], ecx */ 12477 L_2B02A3E3: 12478 ecx = MEM32(eax + 0x4); /* 0x2B02A3E3: mov ecx, dword ptr [eax + 4] */ 12479 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A3E6: mov byte ptr [ecx + 0x34], bl */ 12480 edx = MEM32(eax + 0x4); /* 0x2B02A3E9: mov edx, dword ptr [eax + 4] */ 12481 ecx = MEM32(edx + 0x4); /* 0x2B02A3EC: mov ecx, dword ptr [edx + 4] */ 12482 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B02A3EF: mov byte ptr [ecx + 0x34], 0 */ 12483 edx = MEM32(eax + 0x4); /* 0x2B02A3F3: mov edx, dword ptr [eax + 4] */ 12484 ecx = MEM32(edx + 0x4); /* 0x2B02A3F6: mov ecx, dword ptr [edx + 4] */ 12485 edx = MEM32(ecx); /* 0x2B02A3F9: mov edx, dword ptr [ecx] */ 12486 edi = MEM32(edx + 0x8); /* 0x2B02A3FB: mov edi, dword ptr [edx + 8] */ 12487 MEM32(ecx) = edi; /* 0x2B02A3FE: mov dword ptr [ecx], edi */ 12488 edi = MEM32(edx + 0x8); /* 0x2B02A400: mov edi, dword ptr [edx + 8] */ 12489 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A403: cmp edi, dword ptr [esi + 8] */ 12490 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12491 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12492 _flag_k = FK_CMP; 12493 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A40B; /* 0x2B02A406: je 0x2b02a40b */ 12494 L_2B02A408: 12495 MEM32(edi + 0x4) = ecx; /* 0x2B02A408: mov dword ptr [edi + 4], ecx */ 12496 L_2B02A40B: 12497 edi = MEM32(ecx + 0x4); /* 0x2B02A40B: mov edi, dword ptr [ecx + 4] */ 12498 MEM32(edx + 0x4) = edi; /* 0x2B02A40E: mov dword ptr [edx + 4], edi */ 12499 edi = MEM32(esi + 0x4); /* 0x2B02A411: mov edi, dword ptr [esi + 4] */ 12500 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A414: cmp ecx, dword ptr [edi + 4] */ 12501 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 12502 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12503 _flag_k = FK_CMP; 12504 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A424; /* 0x2B02A417: jne 0x2b02a424 */ 12505 L_2B02A419: 12506 MEM32(edi + 0x4) = edx; /* 0x2B02A419: mov dword ptr [edi + 4], edx */ 12507 MEM32(edx + 0x8) = ecx; /* 0x2B02A41C: mov dword ptr [edx + 8], ecx */ 12508 goto L_2B02A4D6; /* 0x2B02A41F: jmp 0x2b02a4d6 */ 12509 L_2B02A424: 12510 edi = MEM32(ecx + 0x4); /* 0x2B02A424: mov edi, dword ptr [ecx + 4] */ 12511 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B02A427: cmp ecx, dword ptr [edi + 8] */ 12512 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 12513 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12514 _flag_k = FK_CMP; 12515 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A437; /* 0x2B02A42A: jne 0x2b02a437 */ 12516 L_2B02A42C: 12517 MEM32(edi + 0x8) = edx; /* 0x2B02A42C: mov dword ptr [edi + 8], edx */ 12518 MEM32(edx + 0x8) = ecx; /* 0x2B02A42F: mov dword ptr [edx + 8], ecx */ 12519 goto L_2B02A4D6; /* 0x2B02A432: jmp 0x2b02a4d6 */ 12520 L_2B02A437: 12521 MEM32(edi) = edx; /* 0x2B02A437: mov dword ptr [edi], edx */ 12522 MEM32(edx + 0x8) = ecx; /* 0x2B02A439: mov dword ptr [edx + 8], ecx */ 12523 goto L_2B02A4D6; /* 0x2B02A43C: jmp 0x2b02a4d6 */ 12524 L_2B02A441: 12525 /* cmp MEM8(edx + 0x34), 0 */ /* 0x2B02A441: cmp byte ptr [edx + 0x34], 0 */ 12526 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(0) << 24; 12527 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12528 _flag_k = FK_NARROW(FK_CMP, 24); 12529 RECOMP_BACKEDGE(); 12530 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A389; /* 0x2B02A445: je 0x2b02a389 */ 12531 L_2B02A44B: 12532 /* cmp eax, MEM32(ecx) */ /* 0x2B02A44B: cmp eax, dword ptr [ecx] */ 12533 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 12534 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12535 _flag_k = FK_CMP; 12536 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A48B; /* 0x2B02A44D: jne 0x2b02a48b */ 12537 L_2B02A44F: 12538 eax = ecx; /* 0x2B02A44F: mov eax, ecx */ 12539 ecx = MEM32(eax); /* 0x2B02A451: mov ecx, dword ptr [eax] */ 12540 edx = MEM32(ecx + 0x8); /* 0x2B02A453: mov edx, dword ptr [ecx + 8] */ 12541 MEM32(eax) = edx; /* 0x2B02A456: mov dword ptr [eax], edx */ 12542 edx = MEM32(ecx + 0x8); /* 0x2B02A458: mov edx, dword ptr [ecx + 8] */ 12543 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A45B: cmp edx, dword ptr [esi + 8] */ 12544 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12545 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12546 _flag_k = FK_CMP; 12547 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A463; /* 0x2B02A45E: je 0x2b02a463 */ 12548 L_2B02A460: 12549 MEM32(edx + 0x4) = eax; /* 0x2B02A460: mov dword ptr [edx + 4], eax */ 12550 L_2B02A463: 12551 edx = MEM32(eax + 0x4); /* 0x2B02A463: mov edx, dword ptr [eax + 4] */ 12552 MEM32(ecx + 0x4) = edx; /* 0x2B02A466: mov dword ptr [ecx + 4], edx */ 12553 edx = MEM32(esi + 0x4); /* 0x2B02A469: mov edx, dword ptr [esi + 4] */ 12554 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A46C: cmp eax, dword ptr [edx + 4] */ 12555 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 12556 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12557 _flag_k = FK_CMP; 12558 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A476; /* 0x2B02A46F: jne 0x2b02a476 */ 12559 L_2B02A471: 12560 MEM32(edx + 0x4) = ecx; /* 0x2B02A471: mov dword ptr [edx + 4], ecx */ 12561 goto L_2B02A485; /* 0x2B02A474: jmp 0x2b02a485 */ 12562 L_2B02A476: 12563 edx = MEM32(eax + 0x4); /* 0x2B02A476: mov edx, dword ptr [eax + 4] */ 12564 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B02A479: cmp eax, dword ptr [edx + 8] */ 12565 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 12566 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12567 _flag_k = FK_CMP; 12568 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A483; /* 0x2B02A47C: jne 0x2b02a483 */ 12569 L_2B02A47E: 12570 MEM32(edx + 0x8) = ecx; /* 0x2B02A47E: mov dword ptr [edx + 8], ecx */ 12571 goto L_2B02A485; /* 0x2B02A481: jmp 0x2b02a485 */ 12572 L_2B02A483: 12573 MEM32(edx) = ecx; /* 0x2B02A483: mov dword ptr [edx], ecx */ 12574 L_2B02A485: 12575 MEM32(ecx + 0x8) = eax; /* 0x2B02A485: mov dword ptr [ecx + 8], eax */ 12576 MEM32(eax + 0x4) = ecx; /* 0x2B02A488: mov dword ptr [eax + 4], ecx */ 12577 L_2B02A48B: 12578 ecx = MEM32(eax + 0x4); /* 0x2B02A48B: mov ecx, dword ptr [eax + 4] */ 12579 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A48E: mov byte ptr [ecx + 0x34], bl */ 12580 edx = MEM32(eax + 0x4); /* 0x2B02A491: mov edx, dword ptr [eax + 4] */ 12581 ecx = MEM32(edx + 0x4); /* 0x2B02A494: mov ecx, dword ptr [edx + 4] */ 12582 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B02A497: mov byte ptr [ecx + 0x34], 0 */ 12583 edx = MEM32(eax + 0x4); /* 0x2B02A49B: mov edx, dword ptr [eax + 4] */ 12584 ecx = MEM32(edx + 0x4); /* 0x2B02A49E: mov ecx, dword ptr [edx + 4] */ 12585 edx = MEM32(ecx + 0x8); /* 0x2B02A4A1: mov edx, dword ptr [ecx + 8] */ 12586 edi = MEM32(edx); /* 0x2B02A4A4: mov edi, dword ptr [edx] */ 12587 MEM32(ecx + 0x8) = edi; /* 0x2B02A4A6: mov dword ptr [ecx + 8], edi */ 12588 edi = MEM32(edx); /* 0x2B02A4A9: mov edi, dword ptr [edx] */ 12589 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A4AB: cmp edi, dword ptr [esi + 8] */ 12590 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12591 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12592 _flag_k = FK_CMP; 12593 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A4B3; /* 0x2B02A4AE: je 0x2b02a4b3 */ 12594 L_2B02A4B0: 12595 MEM32(edi + 0x4) = ecx; /* 0x2B02A4B0: mov dword ptr [edi + 4], ecx */ 12596 L_2B02A4B3: 12597 edi = MEM32(ecx + 0x4); /* 0x2B02A4B3: mov edi, dword ptr [ecx + 4] */ 12598 MEM32(edx + 0x4) = edi; /* 0x2B02A4B6: mov dword ptr [edx + 4], edi */ 12599 edi = MEM32(esi + 0x4); /* 0x2B02A4B9: mov edi, dword ptr [esi + 4] */ 12600 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A4BC: cmp ecx, dword ptr [edi + 4] */ 12601 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 12602 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12603 _flag_k = FK_CMP; 12604 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A4C6; /* 0x2B02A4BF: jne 0x2b02a4c6 */ 12605 L_2B02A4C1: 12606 MEM32(edi + 0x4) = edx; /* 0x2B02A4C1: mov dword ptr [edi + 4], edx */ 12607 goto L_2B02A4D4; /* 0x2B02A4C4: jmp 0x2b02a4d4 */ 12608 L_2B02A4C6: 12609 edi = MEM32(ecx + 0x4); /* 0x2B02A4C6: mov edi, dword ptr [ecx + 4] */ 12610 /* cmp ecx, MEM32(edi) */ /* 0x2B02A4C9: cmp ecx, dword ptr [edi] */ 12611 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 12612 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12613 _flag_k = FK_CMP; 12614 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A4D1; /* 0x2B02A4CB: jne 0x2b02a4d1 */ 12615 L_2B02A4CD: 12616 MEM32(edi) = edx; /* 0x2B02A4CD: mov dword ptr [edi], edx */ 12617 goto L_2B02A4D4; /* 0x2B02A4CF: jmp 0x2b02a4d4 */ 12618 L_2B02A4D1: 12619 MEM32(edi + 0x8) = edx; /* 0x2B02A4D1: mov dword ptr [edi + 8], edx */ 12620 L_2B02A4D4: 12621 MEM32(edx) = ecx; /* 0x2B02A4D4: mov dword ptr [edx], ecx */ 12622 L_2B02A4D6: 12623 MEM32(ecx + 0x4) = edx; /* 0x2B02A4D6: mov dword ptr [ecx + 4], edx */ 12624 L_2B02A4D9: 12625 ecx = MEM32(esi + 0x4); /* 0x2B02A4D9: mov ecx, dword ptr [esi + 4] */ 12626 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B02A4DC: cmp eax, dword ptr [ecx + 4] */ 12627 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 12628 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12629 _flag_k = FK_CMP; 12630 RECOMP_BACKEDGE(); 12631 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A365; /* 0x2B02A4DF: jne 0x2b02a365 */ 12632 L_2B02A4E5: 12633 edx = MEM32(esi + 0x4); /* 0x2B02A4E5: mov edx, dword ptr [esi + 4] */ 12634 eax = MEM32(edx + 0x4); /* 0x2B02A4E8: mov eax, dword ptr [edx + 4] */ 12635 ecx = MEM32(ebp + (-0x4)); /* 0x2B02A4EB: mov ecx, dword ptr [ebp - 4] */ 12636 MEM8(eax + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A4EE: mov byte ptr [eax + 0x34], bl */ 12637 eax = MEM32(ebp + 0x8); /* 0x2B02A4F1: mov eax, dword ptr [ebp + 8] */ 12638 edi = POP32_VAL(esp); /* 0x2B02A4F4: pop edi */ 12639 esi = POP32_VAL(esp); /* 0x2B02A4F5: pop esi */ 12640 MEM32(eax) = ecx; /* 0x2B02A4F6: mov dword ptr [eax], ecx */ 12641 ebx = POP32_VAL(esp); /* 0x2B02A4F8: pop ebx */ 12642 esp = ebp; /* 0x2B02A4F9: mov esp, ebp */ 12643 ebp = POP32_VAL(esp); /* 0x2B02A4FB: pop ebp */ 12644 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B02A4FC: ret 0x10 */ 12645 RECOMP_REGS_OUT(); 12646 } 12647 12648 void sub_2B02A4D4(void) { 12649 int _fpu_cmp = 0; 12650 uint32_t _cf = 0; 12651 int _df = 1; 12652 uint32_t _flag_k = FK_NONE; 12653 uint32_t _flag_a = 0, _flag_b = 0; 12654 uint32_t _itail_tgt = 0; 12655 RECOMP_REGS_LOCALS 12656 RECOMP_ENTER(0x2B02A4D4u); 12657 12658 goto L_2B02A4D4; 12659 L_2B02A365: 12660 ecx = MEM32(eax + 0x4); /* 0x2B02A365: mov ecx, dword ptr [eax + 4] */ 12661 SET_LO8(edx, MEM8(ecx + 0x34)); /* 0x2B02A368: mov dl, byte ptr [ecx + 0x34] */ 12662 /* test LO8(edx), LO8(edx) */ /* 0x2B02A36B: test dl, dl */ 12663 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 12664 _cf = 0; 12665 _flag_k = FK_NARROW(FK_TEST, 24); 12666 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02A4E5; /* 0x2B02A36D: jne 0x2b02a4e5 */ 12667 L_2B02A373: 12668 edi = MEM32(ecx + 0x4); /* 0x2B02A373: mov edi, dword ptr [ecx + 4] */ 12669 edx = MEM32(edi); /* 0x2B02A376: mov edx, dword ptr [edi] */ 12670 /* cmp ecx, edx */ /* 0x2B02A378: cmp ecx, edx */ 12671 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 12672 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12673 _flag_k = FK_CMP; 12674 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A441; /* 0x2B02A37A: jne 0x2b02a441 */ 12675 L_2B02A380: 12676 edx = MEM32(edi + 0x8); /* 0x2B02A380: mov edx, dword ptr [edi + 8] */ 12677 /* cmp MEM8(edx + 0x34), 0 */ /* 0x2B02A383: cmp byte ptr [edx + 0x34], 0 */ 12678 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(0) << 24; 12679 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12680 _flag_k = FK_NARROW(FK_CMP, 24); 12681 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3A4; /* 0x2B02A387: jne 0x2b02a3a4 */ 12682 L_2B02A389: 12683 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A389: mov byte ptr [ecx + 0x34], bl */ 12684 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A38C: mov byte ptr [edx + 0x34], bl */ 12685 ecx = MEM32(eax + 0x4); /* 0x2B02A38F: mov ecx, dword ptr [eax + 4] */ 12686 edx = MEM32(ecx + 0x4); /* 0x2B02A392: mov edx, dword ptr [ecx + 4] */ 12687 MEM8(edx + 0x34) = (uint8_t)(0); /* 0x2B02A395: mov byte ptr [edx + 0x34], 0 */ 12688 eax = MEM32(eax + 0x4); /* 0x2B02A399: mov eax, dword ptr [eax + 4] */ 12689 eax = MEM32(eax + 0x4); /* 0x2B02A39C: mov eax, dword ptr [eax + 4] */ 12690 goto L_2B02A4D9; /* 0x2B02A39F: jmp 0x2b02a4d9 */ 12691 L_2B02A3A4: 12692 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B02A3A4: cmp eax, dword ptr [ecx + 8] */ 12693 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 12694 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12695 _flag_k = FK_CMP; 12696 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3E3; /* 0x2B02A3A7: jne 0x2b02a3e3 */ 12697 L_2B02A3A9: 12698 eax = ecx; /* 0x2B02A3A9: mov eax, ecx */ 12699 ecx = MEM32(eax + 0x8); /* 0x2B02A3AB: mov ecx, dword ptr [eax + 8] */ 12700 edx = MEM32(ecx); /* 0x2B02A3AE: mov edx, dword ptr [ecx] */ 12701 MEM32(eax + 0x8) = edx; /* 0x2B02A3B0: mov dword ptr [eax + 8], edx */ 12702 edx = MEM32(ecx); /* 0x2B02A3B3: mov edx, dword ptr [ecx] */ 12703 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A3B5: cmp edx, dword ptr [esi + 8] */ 12704 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12705 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12706 _flag_k = FK_CMP; 12707 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A3BD; /* 0x2B02A3B8: je 0x2b02a3bd */ 12708 L_2B02A3BA: 12709 MEM32(edx + 0x4) = eax; /* 0x2B02A3BA: mov dword ptr [edx + 4], eax */ 12710 L_2B02A3BD: 12711 edx = MEM32(eax + 0x4); /* 0x2B02A3BD: mov edx, dword ptr [eax + 4] */ 12712 MEM32(ecx + 0x4) = edx; /* 0x2B02A3C0: mov dword ptr [ecx + 4], edx */ 12713 edx = MEM32(esi + 0x4); /* 0x2B02A3C3: mov edx, dword ptr [esi + 4] */ 12714 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A3C6: cmp eax, dword ptr [edx + 4] */ 12715 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 12716 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12717 _flag_k = FK_CMP; 12718 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3D0; /* 0x2B02A3C9: jne 0x2b02a3d0 */ 12719 L_2B02A3CB: 12720 MEM32(edx + 0x4) = ecx; /* 0x2B02A3CB: mov dword ptr [edx + 4], ecx */ 12721 goto L_2B02A3DE; /* 0x2B02A3CE: jmp 0x2b02a3de */ 12722 L_2B02A3D0: 12723 edx = MEM32(eax + 0x4); /* 0x2B02A3D0: mov edx, dword ptr [eax + 4] */ 12724 /* cmp eax, MEM32(edx) */ /* 0x2B02A3D3: cmp eax, dword ptr [edx] */ 12725 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 12726 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12727 _flag_k = FK_CMP; 12728 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3DB; /* 0x2B02A3D5: jne 0x2b02a3db */ 12729 L_2B02A3D7: 12730 MEM32(edx) = ecx; /* 0x2B02A3D7: mov dword ptr [edx], ecx */ 12731 goto L_2B02A3DE; /* 0x2B02A3D9: jmp 0x2b02a3de */ 12732 L_2B02A3DB: 12733 MEM32(edx + 0x8) = ecx; /* 0x2B02A3DB: mov dword ptr [edx + 8], ecx */ 12734 L_2B02A3DE: 12735 MEM32(ecx) = eax; /* 0x2B02A3DE: mov dword ptr [ecx], eax */ 12736 MEM32(eax + 0x4) = ecx; /* 0x2B02A3E0: mov dword ptr [eax + 4], ecx */ 12737 L_2B02A3E3: 12738 ecx = MEM32(eax + 0x4); /* 0x2B02A3E3: mov ecx, dword ptr [eax + 4] */ 12739 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A3E6: mov byte ptr [ecx + 0x34], bl */ 12740 edx = MEM32(eax + 0x4); /* 0x2B02A3E9: mov edx, dword ptr [eax + 4] */ 12741 ecx = MEM32(edx + 0x4); /* 0x2B02A3EC: mov ecx, dword ptr [edx + 4] */ 12742 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B02A3EF: mov byte ptr [ecx + 0x34], 0 */ 12743 edx = MEM32(eax + 0x4); /* 0x2B02A3F3: mov edx, dword ptr [eax + 4] */ 12744 ecx = MEM32(edx + 0x4); /* 0x2B02A3F6: mov ecx, dword ptr [edx + 4] */ 12745 edx = MEM32(ecx); /* 0x2B02A3F9: mov edx, dword ptr [ecx] */ 12746 edi = MEM32(edx + 0x8); /* 0x2B02A3FB: mov edi, dword ptr [edx + 8] */ 12747 MEM32(ecx) = edi; /* 0x2B02A3FE: mov dword ptr [ecx], edi */ 12748 edi = MEM32(edx + 0x8); /* 0x2B02A400: mov edi, dword ptr [edx + 8] */ 12749 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A403: cmp edi, dword ptr [esi + 8] */ 12750 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12751 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12752 _flag_k = FK_CMP; 12753 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A40B; /* 0x2B02A406: je 0x2b02a40b */ 12754 L_2B02A408: 12755 MEM32(edi + 0x4) = ecx; /* 0x2B02A408: mov dword ptr [edi + 4], ecx */ 12756 L_2B02A40B: 12757 edi = MEM32(ecx + 0x4); /* 0x2B02A40B: mov edi, dword ptr [ecx + 4] */ 12758 MEM32(edx + 0x4) = edi; /* 0x2B02A40E: mov dword ptr [edx + 4], edi */ 12759 edi = MEM32(esi + 0x4); /* 0x2B02A411: mov edi, dword ptr [esi + 4] */ 12760 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A414: cmp ecx, dword ptr [edi + 4] */ 12761 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 12762 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12763 _flag_k = FK_CMP; 12764 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A424; /* 0x2B02A417: jne 0x2b02a424 */ 12765 L_2B02A419: 12766 MEM32(edi + 0x4) = edx; /* 0x2B02A419: mov dword ptr [edi + 4], edx */ 12767 MEM32(edx + 0x8) = ecx; /* 0x2B02A41C: mov dword ptr [edx + 8], ecx */ 12768 goto L_2B02A4D6; /* 0x2B02A41F: jmp 0x2b02a4d6 */ 12769 L_2B02A424: 12770 edi = MEM32(ecx + 0x4); /* 0x2B02A424: mov edi, dword ptr [ecx + 4] */ 12771 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B02A427: cmp ecx, dword ptr [edi + 8] */ 12772 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 12773 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12774 _flag_k = FK_CMP; 12775 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A437; /* 0x2B02A42A: jne 0x2b02a437 */ 12776 L_2B02A42C: 12777 MEM32(edi + 0x8) = edx; /* 0x2B02A42C: mov dword ptr [edi + 8], edx */ 12778 MEM32(edx + 0x8) = ecx; /* 0x2B02A42F: mov dword ptr [edx + 8], ecx */ 12779 goto L_2B02A4D6; /* 0x2B02A432: jmp 0x2b02a4d6 */ 12780 L_2B02A437: 12781 MEM32(edi) = edx; /* 0x2B02A437: mov dword ptr [edi], edx */ 12782 MEM32(edx + 0x8) = ecx; /* 0x2B02A439: mov dword ptr [edx + 8], ecx */ 12783 goto L_2B02A4D6; /* 0x2B02A43C: jmp 0x2b02a4d6 */ 12784 L_2B02A441: 12785 /* cmp MEM8(edx + 0x34), 0 */ /* 0x2B02A441: cmp byte ptr [edx + 0x34], 0 */ 12786 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(0) << 24; 12787 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12788 _flag_k = FK_NARROW(FK_CMP, 24); 12789 RECOMP_BACKEDGE(); 12790 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A389; /* 0x2B02A445: je 0x2b02a389 */ 12791 L_2B02A44B: 12792 /* cmp eax, MEM32(ecx) */ /* 0x2B02A44B: cmp eax, dword ptr [ecx] */ 12793 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 12794 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12795 _flag_k = FK_CMP; 12796 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A48B; /* 0x2B02A44D: jne 0x2b02a48b */ 12797 L_2B02A44F: 12798 eax = ecx; /* 0x2B02A44F: mov eax, ecx */ 12799 ecx = MEM32(eax); /* 0x2B02A451: mov ecx, dword ptr [eax] */ 12800 edx = MEM32(ecx + 0x8); /* 0x2B02A453: mov edx, dword ptr [ecx + 8] */ 12801 MEM32(eax) = edx; /* 0x2B02A456: mov dword ptr [eax], edx */ 12802 edx = MEM32(ecx + 0x8); /* 0x2B02A458: mov edx, dword ptr [ecx + 8] */ 12803 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A45B: cmp edx, dword ptr [esi + 8] */ 12804 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12805 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12806 _flag_k = FK_CMP; 12807 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A463; /* 0x2B02A45E: je 0x2b02a463 */ 12808 L_2B02A460: 12809 MEM32(edx + 0x4) = eax; /* 0x2B02A460: mov dword ptr [edx + 4], eax */ 12810 L_2B02A463: 12811 edx = MEM32(eax + 0x4); /* 0x2B02A463: mov edx, dword ptr [eax + 4] */ 12812 MEM32(ecx + 0x4) = edx; /* 0x2B02A466: mov dword ptr [ecx + 4], edx */ 12813 edx = MEM32(esi + 0x4); /* 0x2B02A469: mov edx, dword ptr [esi + 4] */ 12814 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A46C: cmp eax, dword ptr [edx + 4] */ 12815 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 12816 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12817 _flag_k = FK_CMP; 12818 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A476; /* 0x2B02A46F: jne 0x2b02a476 */ 12819 L_2B02A471: 12820 MEM32(edx + 0x4) = ecx; /* 0x2B02A471: mov dword ptr [edx + 4], ecx */ 12821 goto L_2B02A485; /* 0x2B02A474: jmp 0x2b02a485 */ 12822 L_2B02A476: 12823 edx = MEM32(eax + 0x4); /* 0x2B02A476: mov edx, dword ptr [eax + 4] */ 12824 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B02A479: cmp eax, dword ptr [edx + 8] */ 12825 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 12826 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12827 _flag_k = FK_CMP; 12828 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A483; /* 0x2B02A47C: jne 0x2b02a483 */ 12829 L_2B02A47E: 12830 MEM32(edx + 0x8) = ecx; /* 0x2B02A47E: mov dword ptr [edx + 8], ecx */ 12831 goto L_2B02A485; /* 0x2B02A481: jmp 0x2b02a485 */ 12832 L_2B02A483: 12833 MEM32(edx) = ecx; /* 0x2B02A483: mov dword ptr [edx], ecx */ 12834 L_2B02A485: 12835 MEM32(ecx + 0x8) = eax; /* 0x2B02A485: mov dword ptr [ecx + 8], eax */ 12836 MEM32(eax + 0x4) = ecx; /* 0x2B02A488: mov dword ptr [eax + 4], ecx */ 12837 L_2B02A48B: 12838 ecx = MEM32(eax + 0x4); /* 0x2B02A48B: mov ecx, dword ptr [eax + 4] */ 12839 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A48E: mov byte ptr [ecx + 0x34], bl */ 12840 edx = MEM32(eax + 0x4); /* 0x2B02A491: mov edx, dword ptr [eax + 4] */ 12841 ecx = MEM32(edx + 0x4); /* 0x2B02A494: mov ecx, dword ptr [edx + 4] */ 12842 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B02A497: mov byte ptr [ecx + 0x34], 0 */ 12843 edx = MEM32(eax + 0x4); /* 0x2B02A49B: mov edx, dword ptr [eax + 4] */ 12844 ecx = MEM32(edx + 0x4); /* 0x2B02A49E: mov ecx, dword ptr [edx + 4] */ 12845 edx = MEM32(ecx + 0x8); /* 0x2B02A4A1: mov edx, dword ptr [ecx + 8] */ 12846 edi = MEM32(edx); /* 0x2B02A4A4: mov edi, dword ptr [edx] */ 12847 MEM32(ecx + 0x8) = edi; /* 0x2B02A4A6: mov dword ptr [ecx + 8], edi */ 12848 edi = MEM32(edx); /* 0x2B02A4A9: mov edi, dword ptr [edx] */ 12849 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A4AB: cmp edi, dword ptr [esi + 8] */ 12850 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12851 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12852 _flag_k = FK_CMP; 12853 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A4B3; /* 0x2B02A4AE: je 0x2b02a4b3 */ 12854 L_2B02A4B0: 12855 MEM32(edi + 0x4) = ecx; /* 0x2B02A4B0: mov dword ptr [edi + 4], ecx */ 12856 L_2B02A4B3: 12857 edi = MEM32(ecx + 0x4); /* 0x2B02A4B3: mov edi, dword ptr [ecx + 4] */ 12858 MEM32(edx + 0x4) = edi; /* 0x2B02A4B6: mov dword ptr [edx + 4], edi */ 12859 edi = MEM32(esi + 0x4); /* 0x2B02A4B9: mov edi, dword ptr [esi + 4] */ 12860 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A4BC: cmp ecx, dword ptr [edi + 4] */ 12861 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 12862 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12863 _flag_k = FK_CMP; 12864 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A4C6; /* 0x2B02A4BF: jne 0x2b02a4c6 */ 12865 L_2B02A4C1: 12866 MEM32(edi + 0x4) = edx; /* 0x2B02A4C1: mov dword ptr [edi + 4], edx */ 12867 goto L_2B02A4D4; /* 0x2B02A4C4: jmp 0x2b02a4d4 */ 12868 L_2B02A4C6: 12869 edi = MEM32(ecx + 0x4); /* 0x2B02A4C6: mov edi, dword ptr [ecx + 4] */ 12870 /* cmp ecx, MEM32(edi) */ /* 0x2B02A4C9: cmp ecx, dword ptr [edi] */ 12871 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 12872 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12873 _flag_k = FK_CMP; 12874 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A4D1; /* 0x2B02A4CB: jne 0x2b02a4d1 */ 12875 L_2B02A4CD: 12876 MEM32(edi) = edx; /* 0x2B02A4CD: mov dword ptr [edi], edx */ 12877 goto L_2B02A4D4; /* 0x2B02A4CF: jmp 0x2b02a4d4 */ 12878 L_2B02A4D1: 12879 MEM32(edi + 0x8) = edx; /* 0x2B02A4D1: mov dword ptr [edi + 8], edx */ 12880 L_2B02A4D4: 12881 MEM32(edx) = ecx; /* 0x2B02A4D4: mov dword ptr [edx], ecx */ 12882 L_2B02A4D6: 12883 MEM32(ecx + 0x4) = edx; /* 0x2B02A4D6: mov dword ptr [ecx + 4], edx */ 12884 L_2B02A4D9: 12885 ecx = MEM32(esi + 0x4); /* 0x2B02A4D9: mov ecx, dword ptr [esi + 4] */ 12886 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B02A4DC: cmp eax, dword ptr [ecx + 4] */ 12887 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 12888 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12889 _flag_k = FK_CMP; 12890 RECOMP_BACKEDGE(); 12891 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A365; /* 0x2B02A4DF: jne 0x2b02a365 */ 12892 L_2B02A4E5: 12893 edx = MEM32(esi + 0x4); /* 0x2B02A4E5: mov edx, dword ptr [esi + 4] */ 12894 eax = MEM32(edx + 0x4); /* 0x2B02A4E8: mov eax, dword ptr [edx + 4] */ 12895 ecx = MEM32(ebp + (-0x4)); /* 0x2B02A4EB: mov ecx, dword ptr [ebp - 4] */ 12896 MEM8(eax + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A4EE: mov byte ptr [eax + 0x34], bl */ 12897 eax = MEM32(ebp + 0x8); /* 0x2B02A4F1: mov eax, dword ptr [ebp + 8] */ 12898 edi = POP32_VAL(esp); /* 0x2B02A4F4: pop edi */ 12899 esi = POP32_VAL(esp); /* 0x2B02A4F5: pop esi */ 12900 MEM32(eax) = ecx; /* 0x2B02A4F6: mov dword ptr [eax], ecx */ 12901 ebx = POP32_VAL(esp); /* 0x2B02A4F8: pop ebx */ 12902 esp = ebp; /* 0x2B02A4F9: mov esp, ebp */ 12903 ebp = POP32_VAL(esp); /* 0x2B02A4FB: pop ebp */ 12904 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B02A4FC: ret 0x10 */ 12905 RECOMP_REGS_OUT(); 12906 } 12907 12908 void sub_2B02A4D6(void) { 12909 int _fpu_cmp = 0; 12910 uint32_t _cf = 0; 12911 int _df = 1; 12912 uint32_t _flag_k = FK_NONE; 12913 uint32_t _flag_a = 0, _flag_b = 0; 12914 uint32_t _itail_tgt = 0; 12915 RECOMP_REGS_LOCALS 12916 RECOMP_ENTER(0x2B02A4D6u); 12917 12918 goto L_2B02A4D6; 12919 L_2B02A365: 12920 ecx = MEM32(eax + 0x4); /* 0x2B02A365: mov ecx, dword ptr [eax + 4] */ 12921 SET_LO8(edx, MEM8(ecx + 0x34)); /* 0x2B02A368: mov dl, byte ptr [ecx + 0x34] */ 12922 /* test LO8(edx), LO8(edx) */ /* 0x2B02A36B: test dl, dl */ 12923 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 12924 _cf = 0; 12925 _flag_k = FK_NARROW(FK_TEST, 24); 12926 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02A4E5; /* 0x2B02A36D: jne 0x2b02a4e5 */ 12927 L_2B02A373: 12928 edi = MEM32(ecx + 0x4); /* 0x2B02A373: mov edi, dword ptr [ecx + 4] */ 12929 edx = MEM32(edi); /* 0x2B02A376: mov edx, dword ptr [edi] */ 12930 /* cmp ecx, edx */ /* 0x2B02A378: cmp ecx, edx */ 12931 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 12932 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12933 _flag_k = FK_CMP; 12934 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A441; /* 0x2B02A37A: jne 0x2b02a441 */ 12935 L_2B02A380: 12936 edx = MEM32(edi + 0x8); /* 0x2B02A380: mov edx, dword ptr [edi + 8] */ 12937 /* cmp MEM8(edx + 0x34), 0 */ /* 0x2B02A383: cmp byte ptr [edx + 0x34], 0 */ 12938 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(0) << 24; 12939 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12940 _flag_k = FK_NARROW(FK_CMP, 24); 12941 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3A4; /* 0x2B02A387: jne 0x2b02a3a4 */ 12942 L_2B02A389: 12943 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A389: mov byte ptr [ecx + 0x34], bl */ 12944 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A38C: mov byte ptr [edx + 0x34], bl */ 12945 ecx = MEM32(eax + 0x4); /* 0x2B02A38F: mov ecx, dword ptr [eax + 4] */ 12946 edx = MEM32(ecx + 0x4); /* 0x2B02A392: mov edx, dword ptr [ecx + 4] */ 12947 MEM8(edx + 0x34) = (uint8_t)(0); /* 0x2B02A395: mov byte ptr [edx + 0x34], 0 */ 12948 eax = MEM32(eax + 0x4); /* 0x2B02A399: mov eax, dword ptr [eax + 4] */ 12949 eax = MEM32(eax + 0x4); /* 0x2B02A39C: mov eax, dword ptr [eax + 4] */ 12950 goto L_2B02A4D9; /* 0x2B02A39F: jmp 0x2b02a4d9 */ 12951 L_2B02A3A4: 12952 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B02A3A4: cmp eax, dword ptr [ecx + 8] */ 12953 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 12954 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12955 _flag_k = FK_CMP; 12956 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3E3; /* 0x2B02A3A7: jne 0x2b02a3e3 */ 12957 L_2B02A3A9: 12958 eax = ecx; /* 0x2B02A3A9: mov eax, ecx */ 12959 ecx = MEM32(eax + 0x8); /* 0x2B02A3AB: mov ecx, dword ptr [eax + 8] */ 12960 edx = MEM32(ecx); /* 0x2B02A3AE: mov edx, dword ptr [ecx] */ 12961 MEM32(eax + 0x8) = edx; /* 0x2B02A3B0: mov dword ptr [eax + 8], edx */ 12962 edx = MEM32(ecx); /* 0x2B02A3B3: mov edx, dword ptr [ecx] */ 12963 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A3B5: cmp edx, dword ptr [esi + 8] */ 12964 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 12965 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12966 _flag_k = FK_CMP; 12967 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A3BD; /* 0x2B02A3B8: je 0x2b02a3bd */ 12968 L_2B02A3BA: 12969 MEM32(edx + 0x4) = eax; /* 0x2B02A3BA: mov dword ptr [edx + 4], eax */ 12970 L_2B02A3BD: 12971 edx = MEM32(eax + 0x4); /* 0x2B02A3BD: mov edx, dword ptr [eax + 4] */ 12972 MEM32(ecx + 0x4) = edx; /* 0x2B02A3C0: mov dword ptr [ecx + 4], edx */ 12973 edx = MEM32(esi + 0x4); /* 0x2B02A3C3: mov edx, dword ptr [esi + 4] */ 12974 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A3C6: cmp eax, dword ptr [edx + 4] */ 12975 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 12976 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12977 _flag_k = FK_CMP; 12978 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3D0; /* 0x2B02A3C9: jne 0x2b02a3d0 */ 12979 L_2B02A3CB: 12980 MEM32(edx + 0x4) = ecx; /* 0x2B02A3CB: mov dword ptr [edx + 4], ecx */ 12981 goto L_2B02A3DE; /* 0x2B02A3CE: jmp 0x2b02a3de */ 12982 L_2B02A3D0: 12983 edx = MEM32(eax + 0x4); /* 0x2B02A3D0: mov edx, dword ptr [eax + 4] */ 12984 /* cmp eax, MEM32(edx) */ /* 0x2B02A3D3: cmp eax, dword ptr [edx] */ 12985 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 12986 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12987 _flag_k = FK_CMP; 12988 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3DB; /* 0x2B02A3D5: jne 0x2b02a3db */ 12989 L_2B02A3D7: 12990 MEM32(edx) = ecx; /* 0x2B02A3D7: mov dword ptr [edx], ecx */ 12991 goto L_2B02A3DE; /* 0x2B02A3D9: jmp 0x2b02a3de */ 12992 L_2B02A3DB: 12993 MEM32(edx + 0x8) = ecx; /* 0x2B02A3DB: mov dword ptr [edx + 8], ecx */ 12994 L_2B02A3DE: 12995 MEM32(ecx) = eax; /* 0x2B02A3DE: mov dword ptr [ecx], eax */ 12996 MEM32(eax + 0x4) = ecx; /* 0x2B02A3E0: mov dword ptr [eax + 4], ecx */ 12997 L_2B02A3E3: 12998 ecx = MEM32(eax + 0x4); /* 0x2B02A3E3: mov ecx, dword ptr [eax + 4] */ 12999 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A3E6: mov byte ptr [ecx + 0x34], bl */ 13000 edx = MEM32(eax + 0x4); /* 0x2B02A3E9: mov edx, dword ptr [eax + 4] */ 13001 ecx = MEM32(edx + 0x4); /* 0x2B02A3EC: mov ecx, dword ptr [edx + 4] */ 13002 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B02A3EF: mov byte ptr [ecx + 0x34], 0 */ 13003 edx = MEM32(eax + 0x4); /* 0x2B02A3F3: mov edx, dword ptr [eax + 4] */ 13004 ecx = MEM32(edx + 0x4); /* 0x2B02A3F6: mov ecx, dword ptr [edx + 4] */ 13005 edx = MEM32(ecx); /* 0x2B02A3F9: mov edx, dword ptr [ecx] */ 13006 edi = MEM32(edx + 0x8); /* 0x2B02A3FB: mov edi, dword ptr [edx + 8] */ 13007 MEM32(ecx) = edi; /* 0x2B02A3FE: mov dword ptr [ecx], edi */ 13008 edi = MEM32(edx + 0x8); /* 0x2B02A400: mov edi, dword ptr [edx + 8] */ 13009 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A403: cmp edi, dword ptr [esi + 8] */ 13010 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13011 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13012 _flag_k = FK_CMP; 13013 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A40B; /* 0x2B02A406: je 0x2b02a40b */ 13014 L_2B02A408: 13015 MEM32(edi + 0x4) = ecx; /* 0x2B02A408: mov dword ptr [edi + 4], ecx */ 13016 L_2B02A40B: 13017 edi = MEM32(ecx + 0x4); /* 0x2B02A40B: mov edi, dword ptr [ecx + 4] */ 13018 MEM32(edx + 0x4) = edi; /* 0x2B02A40E: mov dword ptr [edx + 4], edi */ 13019 edi = MEM32(esi + 0x4); /* 0x2B02A411: mov edi, dword ptr [esi + 4] */ 13020 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A414: cmp ecx, dword ptr [edi + 4] */ 13021 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 13022 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13023 _flag_k = FK_CMP; 13024 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A424; /* 0x2B02A417: jne 0x2b02a424 */ 13025 L_2B02A419: 13026 MEM32(edi + 0x4) = edx; /* 0x2B02A419: mov dword ptr [edi + 4], edx */ 13027 MEM32(edx + 0x8) = ecx; /* 0x2B02A41C: mov dword ptr [edx + 8], ecx */ 13028 goto L_2B02A4D6; /* 0x2B02A41F: jmp 0x2b02a4d6 */ 13029 L_2B02A424: 13030 edi = MEM32(ecx + 0x4); /* 0x2B02A424: mov edi, dword ptr [ecx + 4] */ 13031 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B02A427: cmp ecx, dword ptr [edi + 8] */ 13032 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13033 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13034 _flag_k = FK_CMP; 13035 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A437; /* 0x2B02A42A: jne 0x2b02a437 */ 13036 L_2B02A42C: 13037 MEM32(edi + 0x8) = edx; /* 0x2B02A42C: mov dword ptr [edi + 8], edx */ 13038 MEM32(edx + 0x8) = ecx; /* 0x2B02A42F: mov dword ptr [edx + 8], ecx */ 13039 goto L_2B02A4D6; /* 0x2B02A432: jmp 0x2b02a4d6 */ 13040 L_2B02A437: 13041 MEM32(edi) = edx; /* 0x2B02A437: mov dword ptr [edi], edx */ 13042 MEM32(edx + 0x8) = ecx; /* 0x2B02A439: mov dword ptr [edx + 8], ecx */ 13043 goto L_2B02A4D6; /* 0x2B02A43C: jmp 0x2b02a4d6 */ 13044 L_2B02A441: 13045 /* cmp MEM8(edx + 0x34), 0 */ /* 0x2B02A441: cmp byte ptr [edx + 0x34], 0 */ 13046 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(0) << 24; 13047 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13048 _flag_k = FK_NARROW(FK_CMP, 24); 13049 RECOMP_BACKEDGE(); 13050 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A389; /* 0x2B02A445: je 0x2b02a389 */ 13051 L_2B02A44B: 13052 /* cmp eax, MEM32(ecx) */ /* 0x2B02A44B: cmp eax, dword ptr [ecx] */ 13053 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 13054 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13055 _flag_k = FK_CMP; 13056 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A48B; /* 0x2B02A44D: jne 0x2b02a48b */ 13057 L_2B02A44F: 13058 eax = ecx; /* 0x2B02A44F: mov eax, ecx */ 13059 ecx = MEM32(eax); /* 0x2B02A451: mov ecx, dword ptr [eax] */ 13060 edx = MEM32(ecx + 0x8); /* 0x2B02A453: mov edx, dword ptr [ecx + 8] */ 13061 MEM32(eax) = edx; /* 0x2B02A456: mov dword ptr [eax], edx */ 13062 edx = MEM32(ecx + 0x8); /* 0x2B02A458: mov edx, dword ptr [ecx + 8] */ 13063 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A45B: cmp edx, dword ptr [esi + 8] */ 13064 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13065 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13066 _flag_k = FK_CMP; 13067 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A463; /* 0x2B02A45E: je 0x2b02a463 */ 13068 L_2B02A460: 13069 MEM32(edx + 0x4) = eax; /* 0x2B02A460: mov dword ptr [edx + 4], eax */ 13070 L_2B02A463: 13071 edx = MEM32(eax + 0x4); /* 0x2B02A463: mov edx, dword ptr [eax + 4] */ 13072 MEM32(ecx + 0x4) = edx; /* 0x2B02A466: mov dword ptr [ecx + 4], edx */ 13073 edx = MEM32(esi + 0x4); /* 0x2B02A469: mov edx, dword ptr [esi + 4] */ 13074 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A46C: cmp eax, dword ptr [edx + 4] */ 13075 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 13076 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13077 _flag_k = FK_CMP; 13078 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A476; /* 0x2B02A46F: jne 0x2b02a476 */ 13079 L_2B02A471: 13080 MEM32(edx + 0x4) = ecx; /* 0x2B02A471: mov dword ptr [edx + 4], ecx */ 13081 goto L_2B02A485; /* 0x2B02A474: jmp 0x2b02a485 */ 13082 L_2B02A476: 13083 edx = MEM32(eax + 0x4); /* 0x2B02A476: mov edx, dword ptr [eax + 4] */ 13084 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B02A479: cmp eax, dword ptr [edx + 8] */ 13085 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 13086 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13087 _flag_k = FK_CMP; 13088 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A483; /* 0x2B02A47C: jne 0x2b02a483 */ 13089 L_2B02A47E: 13090 MEM32(edx + 0x8) = ecx; /* 0x2B02A47E: mov dword ptr [edx + 8], ecx */ 13091 goto L_2B02A485; /* 0x2B02A481: jmp 0x2b02a485 */ 13092 L_2B02A483: 13093 MEM32(edx) = ecx; /* 0x2B02A483: mov dword ptr [edx], ecx */ 13094 L_2B02A485: 13095 MEM32(ecx + 0x8) = eax; /* 0x2B02A485: mov dword ptr [ecx + 8], eax */ 13096 MEM32(eax + 0x4) = ecx; /* 0x2B02A488: mov dword ptr [eax + 4], ecx */ 13097 L_2B02A48B: 13098 ecx = MEM32(eax + 0x4); /* 0x2B02A48B: mov ecx, dword ptr [eax + 4] */ 13099 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A48E: mov byte ptr [ecx + 0x34], bl */ 13100 edx = MEM32(eax + 0x4); /* 0x2B02A491: mov edx, dword ptr [eax + 4] */ 13101 ecx = MEM32(edx + 0x4); /* 0x2B02A494: mov ecx, dword ptr [edx + 4] */ 13102 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B02A497: mov byte ptr [ecx + 0x34], 0 */ 13103 edx = MEM32(eax + 0x4); /* 0x2B02A49B: mov edx, dword ptr [eax + 4] */ 13104 ecx = MEM32(edx + 0x4); /* 0x2B02A49E: mov ecx, dword ptr [edx + 4] */ 13105 edx = MEM32(ecx + 0x8); /* 0x2B02A4A1: mov edx, dword ptr [ecx + 8] */ 13106 edi = MEM32(edx); /* 0x2B02A4A4: mov edi, dword ptr [edx] */ 13107 MEM32(ecx + 0x8) = edi; /* 0x2B02A4A6: mov dword ptr [ecx + 8], edi */ 13108 edi = MEM32(edx); /* 0x2B02A4A9: mov edi, dword ptr [edx] */ 13109 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A4AB: cmp edi, dword ptr [esi + 8] */ 13110 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13111 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13112 _flag_k = FK_CMP; 13113 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A4B3; /* 0x2B02A4AE: je 0x2b02a4b3 */ 13114 L_2B02A4B0: 13115 MEM32(edi + 0x4) = ecx; /* 0x2B02A4B0: mov dword ptr [edi + 4], ecx */ 13116 L_2B02A4B3: 13117 edi = MEM32(ecx + 0x4); /* 0x2B02A4B3: mov edi, dword ptr [ecx + 4] */ 13118 MEM32(edx + 0x4) = edi; /* 0x2B02A4B6: mov dword ptr [edx + 4], edi */ 13119 edi = MEM32(esi + 0x4); /* 0x2B02A4B9: mov edi, dword ptr [esi + 4] */ 13120 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A4BC: cmp ecx, dword ptr [edi + 4] */ 13121 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 13122 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13123 _flag_k = FK_CMP; 13124 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A4C6; /* 0x2B02A4BF: jne 0x2b02a4c6 */ 13125 L_2B02A4C1: 13126 MEM32(edi + 0x4) = edx; /* 0x2B02A4C1: mov dword ptr [edi + 4], edx */ 13127 goto L_2B02A4D4; /* 0x2B02A4C4: jmp 0x2b02a4d4 */ 13128 L_2B02A4C6: 13129 edi = MEM32(ecx + 0x4); /* 0x2B02A4C6: mov edi, dword ptr [ecx + 4] */ 13130 /* cmp ecx, MEM32(edi) */ /* 0x2B02A4C9: cmp ecx, dword ptr [edi] */ 13131 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 13132 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13133 _flag_k = FK_CMP; 13134 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A4D1; /* 0x2B02A4CB: jne 0x2b02a4d1 */ 13135 L_2B02A4CD: 13136 MEM32(edi) = edx; /* 0x2B02A4CD: mov dword ptr [edi], edx */ 13137 goto L_2B02A4D4; /* 0x2B02A4CF: jmp 0x2b02a4d4 */ 13138 L_2B02A4D1: 13139 MEM32(edi + 0x8) = edx; /* 0x2B02A4D1: mov dword ptr [edi + 8], edx */ 13140 L_2B02A4D4: 13141 MEM32(edx) = ecx; /* 0x2B02A4D4: mov dword ptr [edx], ecx */ 13142 L_2B02A4D6: 13143 MEM32(ecx + 0x4) = edx; /* 0x2B02A4D6: mov dword ptr [ecx + 4], edx */ 13144 L_2B02A4D9: 13145 ecx = MEM32(esi + 0x4); /* 0x2B02A4D9: mov ecx, dword ptr [esi + 4] */ 13146 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B02A4DC: cmp eax, dword ptr [ecx + 4] */ 13147 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 13148 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13149 _flag_k = FK_CMP; 13150 RECOMP_BACKEDGE(); 13151 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A365; /* 0x2B02A4DF: jne 0x2b02a365 */ 13152 L_2B02A4E5: 13153 edx = MEM32(esi + 0x4); /* 0x2B02A4E5: mov edx, dword ptr [esi + 4] */ 13154 eax = MEM32(edx + 0x4); /* 0x2B02A4E8: mov eax, dword ptr [edx + 4] */ 13155 ecx = MEM32(ebp + (-0x4)); /* 0x2B02A4EB: mov ecx, dword ptr [ebp - 4] */ 13156 MEM8(eax + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A4EE: mov byte ptr [eax + 0x34], bl */ 13157 eax = MEM32(ebp + 0x8); /* 0x2B02A4F1: mov eax, dword ptr [ebp + 8] */ 13158 edi = POP32_VAL(esp); /* 0x2B02A4F4: pop edi */ 13159 esi = POP32_VAL(esp); /* 0x2B02A4F5: pop esi */ 13160 MEM32(eax) = ecx; /* 0x2B02A4F6: mov dword ptr [eax], ecx */ 13161 ebx = POP32_VAL(esp); /* 0x2B02A4F8: pop ebx */ 13162 esp = ebp; /* 0x2B02A4F9: mov esp, ebp */ 13163 ebp = POP32_VAL(esp); /* 0x2B02A4FB: pop ebp */ 13164 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B02A4FC: ret 0x10 */ 13165 RECOMP_REGS_OUT(); 13166 } 13167 13168 void sub_2B02A4D9(void) { 13169 int _fpu_cmp = 0; 13170 uint32_t _cf = 0; 13171 int _df = 1; 13172 uint32_t _flag_k = FK_NONE; 13173 uint32_t _flag_a = 0, _flag_b = 0; 13174 uint32_t _itail_tgt = 0; 13175 RECOMP_REGS_LOCALS 13176 RECOMP_ENTER(0x2B02A4D9u); 13177 13178 goto L_2B02A4D9; 13179 L_2B02A365: 13180 ecx = MEM32(eax + 0x4); /* 0x2B02A365: mov ecx, dword ptr [eax + 4] */ 13181 SET_LO8(edx, MEM8(ecx + 0x34)); /* 0x2B02A368: mov dl, byte ptr [ecx + 0x34] */ 13182 /* test LO8(edx), LO8(edx) */ /* 0x2B02A36B: test dl, dl */ 13183 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 13184 _cf = 0; 13185 _flag_k = FK_NARROW(FK_TEST, 24); 13186 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02A4E5; /* 0x2B02A36D: jne 0x2b02a4e5 */ 13187 L_2B02A373: 13188 edi = MEM32(ecx + 0x4); /* 0x2B02A373: mov edi, dword ptr [ecx + 4] */ 13189 edx = MEM32(edi); /* 0x2B02A376: mov edx, dword ptr [edi] */ 13190 /* cmp ecx, edx */ /* 0x2B02A378: cmp ecx, edx */ 13191 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 13192 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13193 _flag_k = FK_CMP; 13194 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A441; /* 0x2B02A37A: jne 0x2b02a441 */ 13195 L_2B02A380: 13196 edx = MEM32(edi + 0x8); /* 0x2B02A380: mov edx, dword ptr [edi + 8] */ 13197 /* cmp MEM8(edx + 0x34), 0 */ /* 0x2B02A383: cmp byte ptr [edx + 0x34], 0 */ 13198 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(0) << 24; 13199 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13200 _flag_k = FK_NARROW(FK_CMP, 24); 13201 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3A4; /* 0x2B02A387: jne 0x2b02a3a4 */ 13202 L_2B02A389: 13203 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A389: mov byte ptr [ecx + 0x34], bl */ 13204 MEM8(edx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A38C: mov byte ptr [edx + 0x34], bl */ 13205 ecx = MEM32(eax + 0x4); /* 0x2B02A38F: mov ecx, dword ptr [eax + 4] */ 13206 edx = MEM32(ecx + 0x4); /* 0x2B02A392: mov edx, dword ptr [ecx + 4] */ 13207 MEM8(edx + 0x34) = (uint8_t)(0); /* 0x2B02A395: mov byte ptr [edx + 0x34], 0 */ 13208 eax = MEM32(eax + 0x4); /* 0x2B02A399: mov eax, dword ptr [eax + 4] */ 13209 eax = MEM32(eax + 0x4); /* 0x2B02A39C: mov eax, dword ptr [eax + 4] */ 13210 goto L_2B02A4D9; /* 0x2B02A39F: jmp 0x2b02a4d9 */ 13211 L_2B02A3A4: 13212 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x2B02A3A4: cmp eax, dword ptr [ecx + 8] */ 13213 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 13214 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13215 _flag_k = FK_CMP; 13216 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3E3; /* 0x2B02A3A7: jne 0x2b02a3e3 */ 13217 L_2B02A3A9: 13218 eax = ecx; /* 0x2B02A3A9: mov eax, ecx */ 13219 ecx = MEM32(eax + 0x8); /* 0x2B02A3AB: mov ecx, dword ptr [eax + 8] */ 13220 edx = MEM32(ecx); /* 0x2B02A3AE: mov edx, dword ptr [ecx] */ 13221 MEM32(eax + 0x8) = edx; /* 0x2B02A3B0: mov dword ptr [eax + 8], edx */ 13222 edx = MEM32(ecx); /* 0x2B02A3B3: mov edx, dword ptr [ecx] */ 13223 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A3B5: cmp edx, dword ptr [esi + 8] */ 13224 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13225 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13226 _flag_k = FK_CMP; 13227 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A3BD; /* 0x2B02A3B8: je 0x2b02a3bd */ 13228 L_2B02A3BA: 13229 MEM32(edx + 0x4) = eax; /* 0x2B02A3BA: mov dword ptr [edx + 4], eax */ 13230 L_2B02A3BD: 13231 edx = MEM32(eax + 0x4); /* 0x2B02A3BD: mov edx, dword ptr [eax + 4] */ 13232 MEM32(ecx + 0x4) = edx; /* 0x2B02A3C0: mov dword ptr [ecx + 4], edx */ 13233 edx = MEM32(esi + 0x4); /* 0x2B02A3C3: mov edx, dword ptr [esi + 4] */ 13234 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A3C6: cmp eax, dword ptr [edx + 4] */ 13235 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 13236 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13237 _flag_k = FK_CMP; 13238 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3D0; /* 0x2B02A3C9: jne 0x2b02a3d0 */ 13239 L_2B02A3CB: 13240 MEM32(edx + 0x4) = ecx; /* 0x2B02A3CB: mov dword ptr [edx + 4], ecx */ 13241 goto L_2B02A3DE; /* 0x2B02A3CE: jmp 0x2b02a3de */ 13242 L_2B02A3D0: 13243 edx = MEM32(eax + 0x4); /* 0x2B02A3D0: mov edx, dword ptr [eax + 4] */ 13244 /* cmp eax, MEM32(edx) */ /* 0x2B02A3D3: cmp eax, dword ptr [edx] */ 13245 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 13246 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13247 _flag_k = FK_CMP; 13248 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A3DB; /* 0x2B02A3D5: jne 0x2b02a3db */ 13249 L_2B02A3D7: 13250 MEM32(edx) = ecx; /* 0x2B02A3D7: mov dword ptr [edx], ecx */ 13251 goto L_2B02A3DE; /* 0x2B02A3D9: jmp 0x2b02a3de */ 13252 L_2B02A3DB: 13253 MEM32(edx + 0x8) = ecx; /* 0x2B02A3DB: mov dword ptr [edx + 8], ecx */ 13254 L_2B02A3DE: 13255 MEM32(ecx) = eax; /* 0x2B02A3DE: mov dword ptr [ecx], eax */ 13256 MEM32(eax + 0x4) = ecx; /* 0x2B02A3E0: mov dword ptr [eax + 4], ecx */ 13257 L_2B02A3E3: 13258 ecx = MEM32(eax + 0x4); /* 0x2B02A3E3: mov ecx, dword ptr [eax + 4] */ 13259 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A3E6: mov byte ptr [ecx + 0x34], bl */ 13260 edx = MEM32(eax + 0x4); /* 0x2B02A3E9: mov edx, dword ptr [eax + 4] */ 13261 ecx = MEM32(edx + 0x4); /* 0x2B02A3EC: mov ecx, dword ptr [edx + 4] */ 13262 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B02A3EF: mov byte ptr [ecx + 0x34], 0 */ 13263 edx = MEM32(eax + 0x4); /* 0x2B02A3F3: mov edx, dword ptr [eax + 4] */ 13264 ecx = MEM32(edx + 0x4); /* 0x2B02A3F6: mov ecx, dword ptr [edx + 4] */ 13265 edx = MEM32(ecx); /* 0x2B02A3F9: mov edx, dword ptr [ecx] */ 13266 edi = MEM32(edx + 0x8); /* 0x2B02A3FB: mov edi, dword ptr [edx + 8] */ 13267 MEM32(ecx) = edi; /* 0x2B02A3FE: mov dword ptr [ecx], edi */ 13268 edi = MEM32(edx + 0x8); /* 0x2B02A400: mov edi, dword ptr [edx + 8] */ 13269 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A403: cmp edi, dword ptr [esi + 8] */ 13270 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13271 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13272 _flag_k = FK_CMP; 13273 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A40B; /* 0x2B02A406: je 0x2b02a40b */ 13274 L_2B02A408: 13275 MEM32(edi + 0x4) = ecx; /* 0x2B02A408: mov dword ptr [edi + 4], ecx */ 13276 L_2B02A40B: 13277 edi = MEM32(ecx + 0x4); /* 0x2B02A40B: mov edi, dword ptr [ecx + 4] */ 13278 MEM32(edx + 0x4) = edi; /* 0x2B02A40E: mov dword ptr [edx + 4], edi */ 13279 edi = MEM32(esi + 0x4); /* 0x2B02A411: mov edi, dword ptr [esi + 4] */ 13280 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A414: cmp ecx, dword ptr [edi + 4] */ 13281 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 13282 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13283 _flag_k = FK_CMP; 13284 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A424; /* 0x2B02A417: jne 0x2b02a424 */ 13285 L_2B02A419: 13286 MEM32(edi + 0x4) = edx; /* 0x2B02A419: mov dword ptr [edi + 4], edx */ 13287 MEM32(edx + 0x8) = ecx; /* 0x2B02A41C: mov dword ptr [edx + 8], ecx */ 13288 goto L_2B02A4D6; /* 0x2B02A41F: jmp 0x2b02a4d6 */ 13289 L_2B02A424: 13290 edi = MEM32(ecx + 0x4); /* 0x2B02A424: mov edi, dword ptr [ecx + 4] */ 13291 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x2B02A427: cmp ecx, dword ptr [edi + 8] */ 13292 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 13293 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13294 _flag_k = FK_CMP; 13295 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A437; /* 0x2B02A42A: jne 0x2b02a437 */ 13296 L_2B02A42C: 13297 MEM32(edi + 0x8) = edx; /* 0x2B02A42C: mov dword ptr [edi + 8], edx */ 13298 MEM32(edx + 0x8) = ecx; /* 0x2B02A42F: mov dword ptr [edx + 8], ecx */ 13299 goto L_2B02A4D6; /* 0x2B02A432: jmp 0x2b02a4d6 */ 13300 L_2B02A437: 13301 MEM32(edi) = edx; /* 0x2B02A437: mov dword ptr [edi], edx */ 13302 MEM32(edx + 0x8) = ecx; /* 0x2B02A439: mov dword ptr [edx + 8], ecx */ 13303 goto L_2B02A4D6; /* 0x2B02A43C: jmp 0x2b02a4d6 */ 13304 L_2B02A441: 13305 /* cmp MEM8(edx + 0x34), 0 */ /* 0x2B02A441: cmp byte ptr [edx + 0x34], 0 */ 13306 _flag_a = (uint32_t)(MEM8(edx + 0x34)) << 24; _flag_b = (uint32_t)(0) << 24; 13307 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13308 _flag_k = FK_NARROW(FK_CMP, 24); 13309 RECOMP_BACKEDGE(); 13310 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A389; /* 0x2B02A445: je 0x2b02a389 */ 13311 L_2B02A44B: 13312 /* cmp eax, MEM32(ecx) */ /* 0x2B02A44B: cmp eax, dword ptr [ecx] */ 13313 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 13314 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13315 _flag_k = FK_CMP; 13316 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A48B; /* 0x2B02A44D: jne 0x2b02a48b */ 13317 L_2B02A44F: 13318 eax = ecx; /* 0x2B02A44F: mov eax, ecx */ 13319 ecx = MEM32(eax); /* 0x2B02A451: mov ecx, dword ptr [eax] */ 13320 edx = MEM32(ecx + 0x8); /* 0x2B02A453: mov edx, dword ptr [ecx + 8] */ 13321 MEM32(eax) = edx; /* 0x2B02A456: mov dword ptr [eax], edx */ 13322 edx = MEM32(ecx + 0x8); /* 0x2B02A458: mov edx, dword ptr [ecx + 8] */ 13323 /* cmp edx, MEM32(esi + 0x8) */ /* 0x2B02A45B: cmp edx, dword ptr [esi + 8] */ 13324 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13325 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13326 _flag_k = FK_CMP; 13327 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A463; /* 0x2B02A45E: je 0x2b02a463 */ 13328 L_2B02A460: 13329 MEM32(edx + 0x4) = eax; /* 0x2B02A460: mov dword ptr [edx + 4], eax */ 13330 L_2B02A463: 13331 edx = MEM32(eax + 0x4); /* 0x2B02A463: mov edx, dword ptr [eax + 4] */ 13332 MEM32(ecx + 0x4) = edx; /* 0x2B02A466: mov dword ptr [ecx + 4], edx */ 13333 edx = MEM32(esi + 0x4); /* 0x2B02A469: mov edx, dword ptr [esi + 4] */ 13334 /* cmp eax, MEM32(edx + 0x4) */ /* 0x2B02A46C: cmp eax, dword ptr [edx + 4] */ 13335 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 13336 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13337 _flag_k = FK_CMP; 13338 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A476; /* 0x2B02A46F: jne 0x2b02a476 */ 13339 L_2B02A471: 13340 MEM32(edx + 0x4) = ecx; /* 0x2B02A471: mov dword ptr [edx + 4], ecx */ 13341 goto L_2B02A485; /* 0x2B02A474: jmp 0x2b02a485 */ 13342 L_2B02A476: 13343 edx = MEM32(eax + 0x4); /* 0x2B02A476: mov edx, dword ptr [eax + 4] */ 13344 /* cmp eax, MEM32(edx + 0x8) */ /* 0x2B02A479: cmp eax, dword ptr [edx + 8] */ 13345 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 13346 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13347 _flag_k = FK_CMP; 13348 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A483; /* 0x2B02A47C: jne 0x2b02a483 */ 13349 L_2B02A47E: 13350 MEM32(edx + 0x8) = ecx; /* 0x2B02A47E: mov dword ptr [edx + 8], ecx */ 13351 goto L_2B02A485; /* 0x2B02A481: jmp 0x2b02a485 */ 13352 L_2B02A483: 13353 MEM32(edx) = ecx; /* 0x2B02A483: mov dword ptr [edx], ecx */ 13354 L_2B02A485: 13355 MEM32(ecx + 0x8) = eax; /* 0x2B02A485: mov dword ptr [ecx + 8], eax */ 13356 MEM32(eax + 0x4) = ecx; /* 0x2B02A488: mov dword ptr [eax + 4], ecx */ 13357 L_2B02A48B: 13358 ecx = MEM32(eax + 0x4); /* 0x2B02A48B: mov ecx, dword ptr [eax + 4] */ 13359 MEM8(ecx + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A48E: mov byte ptr [ecx + 0x34], bl */ 13360 edx = MEM32(eax + 0x4); /* 0x2B02A491: mov edx, dword ptr [eax + 4] */ 13361 ecx = MEM32(edx + 0x4); /* 0x2B02A494: mov ecx, dword ptr [edx + 4] */ 13362 MEM8(ecx + 0x34) = (uint8_t)(0); /* 0x2B02A497: mov byte ptr [ecx + 0x34], 0 */ 13363 edx = MEM32(eax + 0x4); /* 0x2B02A49B: mov edx, dword ptr [eax + 4] */ 13364 ecx = MEM32(edx + 0x4); /* 0x2B02A49E: mov ecx, dword ptr [edx + 4] */ 13365 edx = MEM32(ecx + 0x8); /* 0x2B02A4A1: mov edx, dword ptr [ecx + 8] */ 13366 edi = MEM32(edx); /* 0x2B02A4A4: mov edi, dword ptr [edx] */ 13367 MEM32(ecx + 0x8) = edi; /* 0x2B02A4A6: mov dword ptr [ecx + 8], edi */ 13368 edi = MEM32(edx); /* 0x2B02A4A9: mov edi, dword ptr [edx] */ 13369 /* cmp edi, MEM32(esi + 0x8) */ /* 0x2B02A4AB: cmp edi, dword ptr [esi + 8] */ 13370 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 13371 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13372 _flag_k = FK_CMP; 13373 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A4B3; /* 0x2B02A4AE: je 0x2b02a4b3 */ 13374 L_2B02A4B0: 13375 MEM32(edi + 0x4) = ecx; /* 0x2B02A4B0: mov dword ptr [edi + 4], ecx */ 13376 L_2B02A4B3: 13377 edi = MEM32(ecx + 0x4); /* 0x2B02A4B3: mov edi, dword ptr [ecx + 4] */ 13378 MEM32(edx + 0x4) = edi; /* 0x2B02A4B6: mov dword ptr [edx + 4], edi */ 13379 edi = MEM32(esi + 0x4); /* 0x2B02A4B9: mov edi, dword ptr [esi + 4] */ 13380 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x2B02A4BC: cmp ecx, dword ptr [edi + 4] */ 13381 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 13382 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13383 _flag_k = FK_CMP; 13384 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A4C6; /* 0x2B02A4BF: jne 0x2b02a4c6 */ 13385 L_2B02A4C1: 13386 MEM32(edi + 0x4) = edx; /* 0x2B02A4C1: mov dword ptr [edi + 4], edx */ 13387 goto L_2B02A4D4; /* 0x2B02A4C4: jmp 0x2b02a4d4 */ 13388 L_2B02A4C6: 13389 edi = MEM32(ecx + 0x4); /* 0x2B02A4C6: mov edi, dword ptr [ecx + 4] */ 13390 /* cmp ecx, MEM32(edi) */ /* 0x2B02A4C9: cmp ecx, dword ptr [edi] */ 13391 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 13392 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13393 _flag_k = FK_CMP; 13394 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A4D1; /* 0x2B02A4CB: jne 0x2b02a4d1 */ 13395 L_2B02A4CD: 13396 MEM32(edi) = edx; /* 0x2B02A4CD: mov dword ptr [edi], edx */ 13397 goto L_2B02A4D4; /* 0x2B02A4CF: jmp 0x2b02a4d4 */ 13398 L_2B02A4D1: 13399 MEM32(edi + 0x8) = edx; /* 0x2B02A4D1: mov dword ptr [edi + 8], edx */ 13400 L_2B02A4D4: 13401 MEM32(edx) = ecx; /* 0x2B02A4D4: mov dword ptr [edx], ecx */ 13402 L_2B02A4D6: 13403 MEM32(ecx + 0x4) = edx; /* 0x2B02A4D6: mov dword ptr [ecx + 4], edx */ 13404 L_2B02A4D9: 13405 ecx = MEM32(esi + 0x4); /* 0x2B02A4D9: mov ecx, dword ptr [esi + 4] */ 13406 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x2B02A4DC: cmp eax, dword ptr [ecx + 4] */ 13407 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 13408 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13409 _flag_k = FK_CMP; 13410 RECOMP_BACKEDGE(); 13411 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A365; /* 0x2B02A4DF: jne 0x2b02a365 */ 13412 L_2B02A4E5: 13413 edx = MEM32(esi + 0x4); /* 0x2B02A4E5: mov edx, dword ptr [esi + 4] */ 13414 eax = MEM32(edx + 0x4); /* 0x2B02A4E8: mov eax, dword ptr [edx + 4] */ 13415 ecx = MEM32(ebp + (-0x4)); /* 0x2B02A4EB: mov ecx, dword ptr [ebp - 4] */ 13416 MEM8(eax + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A4EE: mov byte ptr [eax + 0x34], bl */ 13417 eax = MEM32(ebp + 0x8); /* 0x2B02A4F1: mov eax, dword ptr [ebp + 8] */ 13418 edi = POP32_VAL(esp); /* 0x2B02A4F4: pop edi */ 13419 esi = POP32_VAL(esp); /* 0x2B02A4F5: pop esi */ 13420 MEM32(eax) = ecx; /* 0x2B02A4F6: mov dword ptr [eax], ecx */ 13421 ebx = POP32_VAL(esp); /* 0x2B02A4F8: pop ebx */ 13422 esp = ebp; /* 0x2B02A4F9: mov esp, ebp */ 13423 ebp = POP32_VAL(esp); /* 0x2B02A4FB: pop ebp */ 13424 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B02A4FC: ret 0x10 */ 13425 RECOMP_REGS_OUT(); 13426 } 13427 13428 void sub_2B02A4E5(void) { 13429 int _fpu_cmp = 0; 13430 uint32_t _cf = 0; 13431 int _df = 1; 13432 uint32_t _flag_k = FK_NONE; 13433 uint32_t _flag_a = 0, _flag_b = 0; 13434 uint32_t _itail_tgt = 0; 13435 RECOMP_REGS_LOCALS 13436 RECOMP_ENTER(0x2B02A4E5u); 13437 13438 L_2B02A4E5: 13439 edx = MEM32(esi + 0x4); /* 0x2B02A4E5: mov edx, dword ptr [esi + 4] */ 13440 eax = MEM32(edx + 0x4); /* 0x2B02A4E8: mov eax, dword ptr [edx + 4] */ 13441 ecx = MEM32(ebp + (-0x4)); /* 0x2B02A4EB: mov ecx, dword ptr [ebp - 4] */ 13442 MEM8(eax + 0x34) = (uint8_t)(LO8(ebx)); /* 0x2B02A4EE: mov byte ptr [eax + 0x34], bl */ 13443 eax = MEM32(ebp + 0x8); /* 0x2B02A4F1: mov eax, dword ptr [ebp + 8] */ 13444 edi = POP32_VAL(esp); /* 0x2B02A4F4: pop edi */ 13445 esi = POP32_VAL(esp); /* 0x2B02A4F5: pop esi */ 13446 MEM32(eax) = ecx; /* 0x2B02A4F6: mov dword ptr [eax], ecx */ 13447 ebx = POP32_VAL(esp); /* 0x2B02A4F8: pop ebx */ 13448 esp = ebp; /* 0x2B02A4F9: mov esp, ebp */ 13449 ebp = POP32_VAL(esp); /* 0x2B02A4FB: pop ebp */ 13450 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x2B02A4FC: ret 0x10 */ 13451 RECOMP_REGS_OUT(); 13452 } 13453 13454 void sub_2B02A500(void) { 13455 int _fpu_cmp = 0; 13456 uint32_t _cf = 0; 13457 int _df = 1; 13458 uint32_t _flag_k = FK_NONE; 13459 uint32_t _flag_a = 0, _flag_b = 0; 13460 uint32_t _itail_tgt = 0; 13461 RECOMP_REGS_LOCALS 13462 RECOMP_ENTER(0x2B02A500u); 13463 13464 L_2B02A500: 13465 PUSH32(esp, ebp); /* 0x2B02A500: push ebp */ 13466 ebp = esp; /* 0x2B02A501: mov ebp, esp */ 13467 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 13468 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13469 esp = esp - 0xCu; /* 0x2B02A503: sub esp, 0xc */ 13470 _flag_k = FK_CMP; 13471 edx = MEM32(ecx + 0x4); /* 0x2B02A506: mov edx, dword ptr [ecx + 4] */ 13472 ecx = MEM32(ecx + 0x8); /* 0x2B02A509: mov ecx, dword ptr [ecx + 8] */ 13473 eax = MEM32(edx + 0x4); /* 0x2B02A50C: mov eax, dword ptr [edx + 4] */ 13474 /* cmp eax, ecx */ /* 0x2B02A50F: cmp eax, ecx */ 13475 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 13476 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13477 _flag_k = FK_CMP; 13478 MEM32(ebp + (-0x4)) = edx; /* 0x2B02A511: mov dword ptr [ebp - 4], edx */ 13479 MEM32(ebp + (-0xC)) = ecx; /* 0x2B02A514: mov dword ptr [ebp - 0xc], ecx */ 13480 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A577; /* 0x2B02A517: je 0x2b02a577 */ 13481 L_2B02A519: 13482 ecx = MEM32(ebp + 0x8); /* 0x2B02A519: mov ecx, dword ptr [ebp + 8] */ 13483 edx = MEM32(ecx + 0x8); /* 0x2B02A51C: mov edx, dword ptr [ecx + 8] */ 13484 ecx = MEM32(ecx + 0x4); /* 0x2B02A51F: mov ecx, dword ptr [ecx + 4] */ 13485 PUSH32(esp, ebx); /* 0x2B02A522: push ebx */ 13486 PUSH32(esp, esi); /* 0x2B02A523: push esi */ 13487 PUSH32(esp, edi); /* 0x2B02A524: push edi */ 13488 MEM32(ebp + 0x8) = edx; /* 0x2B02A525: mov dword ptr [ebp + 8], edx */ 13489 MEM32(ebp + (-0x8)) = ecx; /* 0x2B02A528: mov dword ptr [ebp - 8], ecx */ 13490 L_2B02A52B: 13491 ebx = MEM32(eax + 0x14); /* 0x2B02A52B: mov ebx, dword ptr [eax + 0x14] */ 13492 ecx = MEM32(eax + 0x10); /* 0x2B02A52E: mov ecx, dword ptr [eax + 0x10] */ 13493 /* cmp ecx, ebx */ /* 0x2B02A531: cmp ecx, ebx */ 13494 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 13495 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13496 _flag_k = FK_CMP; 13497 edx = MEM32(ebp + (-0x8)); /* 0x2B02A533: mov edx, dword ptr [ebp - 8] */ 13498 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A557; /* 0x2B02A536: je 0x2b02a557 */ 13499 L_2B02A538: 13500 /* cmp edx, MEM32(ebp + 0x8) */ /* 0x2B02A538: cmp edx, dword ptr [ebp + 8] */ 13501 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ebp + 0x8)); 13502 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13503 _flag_k = FK_CMP; 13504 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A553; /* 0x2B02A53B: je 0x2b02a553 */ 13505 L_2B02A53D: 13506 esi = MEM32(ecx); /* 0x2B02A53D: mov esi, dword ptr [ecx] */ 13507 edi = MEM32(edx); /* 0x2B02A53F: mov edi, dword ptr [edx] */ 13508 /* cmp edi, esi */ /* 0x2B02A541: cmp edi, esi */ 13509 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 13510 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13511 _flag_k = FK_CMP; 13512 if (CMP_G(_flag_a, _flag_b)) goto L_2B02A55C; /* 0x2B02A543: jg 0x2b02a55c */ 13513 L_2B02A545: 13514 if (CMP_L(_flag_a, _flag_b)) goto L_2B02A561; /* 0x2B02A545: jl 0x2b02a561 */ 13515 L_2B02A547: 13516 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 13517 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13518 ecx = ecx + 4; /* 0x2B02A547: add ecx, 4 */ 13519 _flag_k = FK_ADD; 13520 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 13521 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13522 edx = edx + 4; /* 0x2B02A54A: add edx, 4 */ 13523 _flag_k = FK_ADD; 13524 /* cmp ecx, ebx */ /* 0x2B02A54D: cmp ecx, ebx */ 13525 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 13526 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13527 _flag_k = FK_CMP; 13528 RECOMP_BACKEDGE(); 13529 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A538; /* 0x2B02A54F: jne 0x2b02a538 */ 13530 L_2B02A551: 13531 goto L_2B02A557; /* 0x2B02A551: jmp 0x2b02a557 */ 13532 L_2B02A553: 13533 /* cmp ecx, ebx */ /* 0x2B02A553: cmp ecx, ebx */ 13534 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 13535 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13536 _flag_k = FK_CMP; 13537 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A561; /* 0x2B02A555: jne 0x2b02a561 */ 13538 L_2B02A557: 13539 /* cmp edx, MEM32(ebp + 0x8) */ /* 0x2B02A557: cmp edx, dword ptr [ebp + 8] */ 13540 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ebp + 0x8)); 13541 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13542 _flag_k = FK_CMP; 13543 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A561; /* 0x2B02A55A: je 0x2b02a561 */ 13544 L_2B02A55C: 13545 eax = MEM32(eax + 0x8); /* 0x2B02A55C: mov eax, dword ptr [eax + 8] */ 13546 goto L_2B02A566; /* 0x2B02A55F: jmp 0x2b02a566 */ 13547 L_2B02A561: 13548 MEM32(ebp + (-0x4)) = eax; /* 0x2B02A561: mov dword ptr [ebp - 4], eax */ 13549 eax = MEM32(eax); /* 0x2B02A564: mov eax, dword ptr [eax] */ 13550 L_2B02A566: 13551 /* cmp eax, MEM32(ebp + (-0xC)) */ /* 0x2B02A566: cmp eax, dword ptr [ebp - 0xc] */ 13552 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0xC))); 13553 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13554 _flag_k = FK_CMP; 13555 RECOMP_BACKEDGE(); 13556 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A52B; /* 0x2B02A569: jne 0x2b02a52b */ 13557 L_2B02A56B: 13558 eax = MEM32(ebp + (-0x4)); /* 0x2B02A56B: mov eax, dword ptr [ebp - 4] */ 13559 edi = POP32_VAL(esp); /* 0x2B02A56E: pop edi */ 13560 esi = POP32_VAL(esp); /* 0x2B02A56F: pop esi */ 13561 ebx = POP32_VAL(esp); /* 0x2B02A570: pop ebx */ 13562 esp = ebp; /* 0x2B02A571: mov esp, ebp */ 13563 ebp = POP32_VAL(esp); /* 0x2B02A573: pop ebp */ 13564 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B02A574: ret 4 */ 13565 L_2B02A577: 13566 eax = edx; /* 0x2B02A577: mov eax, edx */ 13567 esp = ebp; /* 0x2B02A579: mov esp, ebp */ 13568 ebp = POP32_VAL(esp); /* 0x2B02A57B: pop ebp */ 13569 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B02A57C: ret 4 */ 13570 RECOMP_REGS_OUT(); 13571 } 13572 13573 void sub_2B02A580(void) { 13574 int _fpu_cmp = 0; 13575 uint32_t _cf = 0; 13576 int _df = 1; 13577 uint32_t _flag_k = FK_NONE; 13578 uint32_t _flag_a = 0, _flag_b = 0; 13579 uint32_t _itail_tgt = 0; 13580 RECOMP_REGS_LOCALS 13581 RECOMP_ENTER(0x2B02A580u); 13582 13583 L_2B02A580: 13584 PUSH32(esp, ebp); /* 0x2B02A580: push ebp */ 13585 ebp = esp; /* 0x2B02A581: mov ebp, esp */ 13586 edx = MEM32(ebp + 0x8); /* 0x2B02A583: mov edx, dword ptr [ebp + 8] */ 13587 eax = MEM32(edx + 0x8); /* 0x2B02A586: mov eax, dword ptr [edx + 8] */ 13588 PUSH32(esp, esi); /* 0x2B02A589: push esi */ 13589 esi = MEM32(eax); /* 0x2B02A58A: mov esi, dword ptr [eax] */ 13590 MEM32(edx + 0x8) = esi; /* 0x2B02A58C: mov dword ptr [edx + 8], esi */ 13591 esi = MEM32(eax); /* 0x2B02A58F: mov esi, dword ptr [eax] */ 13592 /* cmp esi, MEM32(ecx + 0x8) */ /* 0x2B02A591: cmp esi, dword ptr [ecx + 8] */ 13593 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ecx + 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_2B02A599; /* 0x2B02A594: je 0x2b02a599 */ 13597 L_2B02A596: 13598 MEM32(esi + 0x4) = edx; /* 0x2B02A596: mov dword ptr [esi + 4], edx */ 13599 L_2B02A599: 13600 esi = MEM32(edx + 0x4); /* 0x2B02A599: mov esi, dword ptr [edx + 4] */ 13601 MEM32(eax + 0x4) = esi; /* 0x2B02A59C: mov dword ptr [eax + 4], esi */ 13602 ecx = MEM32(ecx + 0x4); /* 0x2B02A59F: mov ecx, dword ptr [ecx + 4] */ 13603 /* cmp edx, MEM32(ecx + 0x4) */ /* 0x2B02A5A2: cmp edx, dword ptr [ecx + 4] */ 13604 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ecx + 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_2B02A5B4; /* 0x2B02A5A5: jne 0x2b02a5b4 */ 13608 L_2B02A5A7: 13609 MEM32(ecx + 0x4) = eax; /* 0x2B02A5A7: mov dword ptr [ecx + 4], eax */ 13610 MEM32(eax) = edx; /* 0x2B02A5AA: mov dword ptr [eax], edx */ 13611 MEM32(edx + 0x4) = eax; /* 0x2B02A5AC: mov dword ptr [edx + 4], eax */ 13612 esi = POP32_VAL(esp); /* 0x2B02A5AF: pop esi */ 13613 ebp = POP32_VAL(esp); /* 0x2B02A5B0: pop ebp */ 13614 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B02A5B1: ret 4 */ 13615 L_2B02A5B4: 13616 ecx = MEM32(edx + 0x4); /* 0x2B02A5B4: mov ecx, dword ptr [edx + 4] */ 13617 /* cmp edx, MEM32(ecx) */ /* 0x2B02A5B7: cmp edx, dword ptr [ecx] */ 13618 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ecx)); 13619 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13620 _flag_k = FK_CMP; 13621 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A5C7; /* 0x2B02A5B9: jne 0x2b02a5c7 */ 13622 L_2B02A5BB: 13623 MEM32(ecx) = eax; /* 0x2B02A5BB: mov dword ptr [ecx], eax */ 13624 MEM32(eax) = edx; /* 0x2B02A5BD: mov dword ptr [eax], edx */ 13625 MEM32(edx + 0x4) = eax; /* 0x2B02A5BF: mov dword ptr [edx + 4], eax */ 13626 esi = POP32_VAL(esp); /* 0x2B02A5C2: pop esi */ 13627 ebp = POP32_VAL(esp); /* 0x2B02A5C3: pop ebp */ 13628 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B02A5C4: ret 4 */ 13629 L_2B02A5C7: 13630 MEM32(ecx + 0x8) = eax; /* 0x2B02A5C7: mov dword ptr [ecx + 8], eax */ 13631 MEM32(eax) = edx; /* 0x2B02A5CA: mov dword ptr [eax], edx */ 13632 MEM32(edx + 0x4) = eax; /* 0x2B02A5CC: mov dword ptr [edx + 4], eax */ 13633 esi = POP32_VAL(esp); /* 0x2B02A5CF: pop esi */ 13634 ebp = POP32_VAL(esp); /* 0x2B02A5D0: pop ebp */ 13635 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B02A5D1: ret 4 */ 13636 RECOMP_REGS_OUT(); 13637 } 13638 13639 void sub_2B02A5E0(void) { 13640 int _fpu_cmp = 0; 13641 uint32_t _cf = 0; 13642 int _df = 1; 13643 uint32_t _flag_k = FK_NONE; 13644 uint32_t _flag_a = 0, _flag_b = 0; 13645 uint32_t _itail_tgt = 0; 13646 RECOMP_REGS_LOCALS 13647 RECOMP_ENTER(0x2B02A5E0u); 13648 13649 L_2B02A5E0: 13650 PUSH32(esp, ebp); /* 0x2B02A5E0: push ebp */ 13651 ebp = esp; /* 0x2B02A5E1: mov ebp, esp */ 13652 eax = MEM32(ebp + 0x8); /* 0x2B02A5E3: mov eax, dword ptr [ebp + 8] */ 13653 ecx = MEM32(eax); /* 0x2B02A5E6: mov ecx, dword ptr [eax] */ 13654 SET_LO8(edx, MEM8(ecx + 0x35)); /* 0x2B02A5E8: mov dl, byte ptr [ecx + 0x35] */ 13655 /* test LO8(edx), LO8(edx) */ /* 0x2B02A5EB: test dl, dl */ 13656 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 13657 _cf = 0; 13658 _flag_k = FK_NARROW(FK_TEST, 24); 13659 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02A5FA; /* 0x2B02A5ED: jne 0x2b02a5fa */ 13660 L_2B02A5EF: 13661 eax = ecx; /* 0x2B02A5EF: mov eax, ecx */ 13662 ecx = MEM32(eax); /* 0x2B02A5F1: mov ecx, dword ptr [eax] */ 13663 SET_LO8(edx, MEM8(ecx + 0x35)); /* 0x2B02A5F3: mov dl, byte ptr [ecx + 0x35] */ 13664 /* test LO8(edx), LO8(edx) */ /* 0x2B02A5F6: test dl, dl */ 13665 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 13666 _cf = 0; 13667 _flag_k = FK_NARROW(FK_TEST, 24); 13668 RECOMP_BACKEDGE(); 13669 if (TEST_Z(_flag_a, _flag_b)) goto L_2B02A5EF; /* 0x2B02A5F8: je 0x2b02a5ef */ 13670 L_2B02A5FA: 13671 ebp = POP32_VAL(esp); /* 0x2B02A5FA: pop ebp */ 13672 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B02A5FB: ret */ 13673 RECOMP_REGS_OUT(); 13674 } 13675 13676 void sub_2B02A600(void) { 13677 int _fpu_cmp = 0; 13678 uint32_t _cf = 0; 13679 int _df = 1; 13680 uint32_t _flag_k = FK_NONE; 13681 uint32_t _flag_a = 0, _flag_b = 0; 13682 uint32_t _itail_tgt = 0; 13683 RECOMP_REGS_LOCALS 13684 RECOMP_ENTER(0x2B02A600u); 13685 13686 L_2B02A600: 13687 PUSH32(esp, ebp); /* 0x2B02A600: push ebp */ 13688 ebp = esp; /* 0x2B02A601: mov ebp, esp */ 13689 PUSH32(esp, 0x38u); /* 0x2B02A603: push 0x38 */ 13690 RECOMP_ICALL(0x2B0AB212u); /* 0x2B02A605: call 0x2b0ab212 */ /* not lifted */ 13691 RECOMP_FLAGS_IN(); 13692 ecx = MEM32(ebp + 0x8); /* 0x2B02A60A: mov ecx, dword ptr [ebp + 8] */ 13693 SET_LO8(edx, MEM8(ebp + 0xC)); /* 0x2B02A60D: mov dl, byte ptr [ebp + 0xc] */ 13694 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 13695 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13696 esp = esp + 4; /* 0x2B02A610: add esp, 4 */ 13697 _flag_k = FK_ADD; 13698 MEM32(eax + 0x4) = ecx; /* 0x2B02A613: mov dword ptr [eax + 4], ecx */ 13699 MEM8(eax + 0x34) = (uint8_t)(LO8(edx)); /* 0x2B02A616: mov byte ptr [eax + 0x34], dl */ 13700 MEM8(eax + 0x35) = (uint8_t)(0); /* 0x2B02A619: mov byte ptr [eax + 0x35], 0 */ 13701 ebp = POP32_VAL(esp); /* 0x2B02A61D: pop ebp */ 13702 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B02A61E: ret 8 */ 13703 RECOMP_REGS_OUT(); 13704 } 13705 13706 void sub_2B02A630(void) { 13707 int _fpu_cmp = 0; 13708 uint32_t _cf = 0; 13709 int _df = 1; 13710 uint32_t _flag_k = FK_NONE; 13711 uint32_t _flag_a = 0, _flag_b = 0; 13712 uint32_t _itail_tgt = 0; 13713 RECOMP_REGS_LOCALS 13714 RECOMP_ENTER(0x2B02A630u); 13715 13716 L_2B02A630: 13717 PUSH32(esp, ebp); /* 0x2B02A630: push ebp */ 13718 ebp = esp; /* 0x2B02A631: mov ebp, esp */ 13719 eax = MEM32(ebp + 0xC); /* 0x2B02A633: mov eax, dword ptr [ebp + 0xc] */ 13720 /* test eax, eax */ /* 0x2B02A636: test eax, eax */ 13721 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13722 _cf = 0; 13723 _flag_k = FK_TEST; 13724 if (TEST_Z(_flag_a, _flag_b)) goto L_2B02A652; /* 0x2B02A638: jbe 0x2b02a652 */ 13725 L_2B02A63A: 13726 edx = MEM32(ebp + 0x10); /* 0x2B02A63A: mov edx, dword ptr [ebp + 0x10] */ 13727 ecx = eax; /* 0x2B02A63D: mov ecx, eax */ 13728 eax = MEM32(ebp + 0x8); /* 0x2B02A63F: mov eax, dword ptr [ebp + 8] */ 13729 PUSH32(esp, esi); /* 0x2B02A642: push esi */ 13730 L_2B02A643: 13731 /* test eax, eax */ /* 0x2B02A643: test eax, eax */ 13732 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 13733 _cf = 0; 13734 _flag_k = FK_TEST; 13735 if (TEST_Z(_flag_a, _flag_b)) goto L_2B02A64B; /* 0x2B02A645: je 0x2b02a64b */ 13736 L_2B02A647: 13737 esi = MEM32(edx); /* 0x2B02A647: mov esi, dword ptr [edx] */ 13738 MEM32(eax) = esi; /* 0x2B02A649: mov dword ptr [eax], esi */ 13739 L_2B02A64B: 13740 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 13741 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13742 eax = eax + 4; /* 0x2B02A64B: add eax, 4 */ 13743 _flag_k = FK_ADD; 13744 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 13745 ecx = ecx - 1; /* 0x2B02A64E: dec ecx */ 13746 _flag_k = FK_DEC; 13747 RECOMP_BACKEDGE(); 13748 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B02A643; /* 0x2B02A64F: jne 0x2b02a643 */ 13749 L_2B02A651: 13750 esi = POP32_VAL(esp); /* 0x2B02A651: pop esi */ 13751 L_2B02A652: 13752 ebp = POP32_VAL(esp); /* 0x2B02A652: pop ebp */ 13753 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B02A653: ret 0xc */ 13754 RECOMP_REGS_OUT(); 13755 } 13756 13757 void sub_2B02A660(void) { 13758 int _fpu_cmp = 0; 13759 uint32_t _cf = 0; 13760 int _df = 1; 13761 uint32_t _flag_k = FK_NONE; 13762 uint32_t _flag_a = 0, _flag_b = 0; 13763 uint32_t _itail_tgt = 0; 13764 RECOMP_REGS_LOCALS 13765 RECOMP_ENTER(0x2B02A660u); 13766 13767 L_2B02A660: 13768 eax = MEM32(ecx); /* 0x2B02A660: mov eax, dword ptr [ecx] */ 13769 edx = MEM32(eax + 0x8); /* 0x2B02A662: mov edx, dword ptr [eax + 8] */ 13770 PUSH32(esp, ebx); /* 0x2B02A665: push ebx */ 13771 SET_LO8(ebx, MEM8(edx + 0x3D)); /* 0x2B02A666: mov bl, byte ptr [edx + 0x3d] */ 13772 /* test LO8(ebx), LO8(ebx) */ /* 0x2B02A669: test bl, bl */ 13773 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13774 _cf = 0; 13775 _flag_k = FK_NARROW(FK_TEST, 24); 13776 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02A685; /* 0x2B02A66B: jne 0x2b02a685 */ 13777 L_2B02A66D: 13778 eax = MEM32(edx); /* 0x2B02A66D: mov eax, dword ptr [edx] */ 13779 SET_LO8(ebx, MEM8(eax + 0x3D)); /* 0x2B02A66F: mov bl, byte ptr [eax + 0x3d] */ 13780 /* test LO8(ebx), LO8(ebx) */ /* 0x2B02A672: test bl, bl */ 13781 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13782 _cf = 0; 13783 _flag_k = FK_NARROW(FK_TEST, 24); 13784 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02A681; /* 0x2B02A674: jne 0x2b02a681 */ 13785 L_2B02A676: 13786 edx = eax; /* 0x2B02A676: mov edx, eax */ 13787 eax = MEM32(edx); /* 0x2B02A678: mov eax, dword ptr [edx] */ 13788 SET_LO8(ebx, MEM8(eax + 0x3D)); /* 0x2B02A67A: mov bl, byte ptr [eax + 0x3d] */ 13789 /* test LO8(ebx), LO8(ebx) */ /* 0x2B02A67D: test bl, bl */ 13790 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13791 _cf = 0; 13792 _flag_k = FK_NARROW(FK_TEST, 24); 13793 RECOMP_BACKEDGE(); 13794 if (TEST_Z(_flag_a, _flag_b)) goto L_2B02A676; /* 0x2B02A67F: je 0x2b02a676 */ 13795 L_2B02A681: 13796 MEM32(ecx) = edx; /* 0x2B02A681: mov dword ptr [ecx], edx */ 13797 ebx = POP32_VAL(esp); /* 0x2B02A683: pop ebx */ 13798 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B02A684: ret */ 13799 L_2B02A685: 13800 eax = MEM32(eax + 0x4); /* 0x2B02A685: mov eax, dword ptr [eax + 4] */ 13801 edx = MEM32(ecx); /* 0x2B02A688: mov edx, dword ptr [ecx] */ 13802 /* cmp edx, MEM32(eax + 0x8) */ /* 0x2B02A68A: cmp edx, dword ptr [eax + 8] */ 13803 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 13804 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13805 _flag_k = FK_CMP; 13806 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A69B; /* 0x2B02A68D: jne 0x2b02a69b */ 13807 L_2B02A68F: 13808 MEM32(ecx) = eax; /* 0x2B02A68F: mov dword ptr [ecx], eax */ 13809 eax = MEM32(eax + 0x4); /* 0x2B02A691: mov eax, dword ptr [eax + 4] */ 13810 edx = MEM32(ecx); /* 0x2B02A694: mov edx, dword ptr [ecx] */ 13811 /* cmp edx, MEM32(eax + 0x8) */ /* 0x2B02A696: cmp edx, dword ptr [eax + 8] */ 13812 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 13813 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13814 _flag_k = FK_CMP; 13815 RECOMP_BACKEDGE(); 13816 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A68F; /* 0x2B02A699: je 0x2b02a68f */ 13817 L_2B02A69B: 13818 edx = MEM32(ecx); /* 0x2B02A69B: mov edx, dword ptr [ecx] */ 13819 /* cmp MEM32(edx + 0x8), eax */ /* 0x2B02A69D: cmp dword ptr [edx + 8], eax */ 13820 _flag_a = (uint32_t)(MEM32(edx + 0x8)); _flag_b = (uint32_t)(eax); 13821 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13822 _flag_k = FK_CMP; 13823 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A6A4; /* 0x2B02A6A0: je 0x2b02a6a4 */ 13824 L_2B02A6A2: 13825 MEM32(ecx) = eax; /* 0x2B02A6A2: mov dword ptr [ecx], eax */ 13826 L_2B02A6A4: 13827 ebx = POP32_VAL(esp); /* 0x2B02A6A4: pop ebx */ 13828 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B02A6A5: ret */ 13829 RECOMP_REGS_OUT(); 13830 } 13831 13832 void sub_2B02A6B0(void) { 13833 int _fpu_cmp = 0; 13834 uint32_t _cf = 0; 13835 int _df = 1; 13836 uint32_t _flag_k = FK_NONE; 13837 uint32_t _flag_a = 0, _flag_b = 0; 13838 uint32_t _itail_tgt = 0; 13839 RECOMP_REGS_LOCALS 13840 RECOMP_ENTER(0x2B02A6B0u); 13841 13842 L_2B02A6B0: 13843 PUSH32(esp, ebp); /* 0x2B02A6B0: push ebp */ 13844 ebp = esp; /* 0x2B02A6B1: mov ebp, esp */ 13845 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 13846 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13847 esp = esp - 8; /* 0x2B02A6B3: sub esp, 8 */ 13848 _flag_k = FK_CMP; 13849 eax = MEM32(ecx + 0x4); /* 0x2B02A6B6: mov eax, dword ptr [ecx + 4] */ 13850 ecx = MEM32(ecx + 0x8); /* 0x2B02A6B9: mov ecx, dword ptr [ecx + 8] */ 13851 PUSH32(esp, ebx); /* 0x2B02A6BC: push ebx */ 13852 ebx = MEM32(eax + 0x4); /* 0x2B02A6BD: mov ebx, dword ptr [eax + 4] */ 13853 /* cmp ebx, ecx */ /* 0x2B02A6C0: cmp ebx, ecx */ 13854 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 13855 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13856 _flag_k = FK_CMP; 13857 MEM32(ebp + (-0x4)) = eax; /* 0x2B02A6C2: mov dword ptr [ebp - 4], eax */ 13858 MEM32(ebp + (-0x8)) = ecx; /* 0x2B02A6C5: mov dword ptr [ebp - 8], ecx */ 13859 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A71A; /* 0x2B02A6C8: je 0x2b02a71a */ 13860 L_2B02A6CA: 13861 ecx = MEM32(ebp + 0x8); /* 0x2B02A6CA: mov ecx, dword ptr [ebp + 8] */ 13862 eax = MEM32(ecx + 0x8); /* 0x2B02A6CD: mov eax, dword ptr [ecx + 8] */ 13863 ecx = MEM32(ecx + 0x4); /* 0x2B02A6D0: mov ecx, dword ptr [ecx + 4] */ 13864 PUSH32(esp, esi); /* 0x2B02A6D3: push esi */ 13865 PUSH32(esp, edi); /* 0x2B02A6D4: push edi */ 13866 MEM32(ebp + 0x8) = ecx; /* 0x2B02A6D5: mov dword ptr [ebp + 8], ecx */ 13867 L_2B02A6D8: 13868 ecx = MEM32(ebp + 0x8); /* 0x2B02A6D8: mov ecx, dword ptr [ebp + 8] */ 13869 /* cmp ecx, eax */ /* 0x2B02A6DB: cmp ecx, eax */ 13870 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 13871 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13872 _flag_k = FK_CMP; 13873 edx = MEM32(ebx + 0x10); /* 0x2B02A6DD: mov edx, dword ptr [ebx + 0x10] */ 13874 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A701; /* 0x2B02A6E0: je 0x2b02a701 */ 13875 L_2B02A6E2: 13876 /* cmp edx, MEM32(ebx + 0x14) */ /* 0x2B02A6E2: cmp edx, dword ptr [ebx + 0x14] */ 13877 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ebx + 0x14)); 13878 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13879 _flag_k = FK_CMP; 13880 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A6FD; /* 0x2B02A6E5: je 0x2b02a6fd */ 13881 L_2B02A6E7: 13882 esi = MEM32(ecx); /* 0x2B02A6E7: mov esi, dword ptr [ecx] */ 13883 edi = MEM32(edx); /* 0x2B02A6E9: mov edi, dword ptr [edx] */ 13884 /* cmp edi, esi */ /* 0x2B02A6EB: cmp edi, esi */ 13885 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(esi); 13886 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13887 _flag_k = FK_CMP; 13888 if (CMP_G(_flag_a, _flag_b)) goto L_2B02A706; /* 0x2B02A6ED: jg 0x2b02a706 */ 13889 L_2B02A6EF: 13890 if (CMP_L(_flag_a, _flag_b)) goto L_2B02A70D; /* 0x2B02A6EF: jl 0x2b02a70d */ 13891 L_2B02A6F1: 13892 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 13893 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13894 ecx = ecx + 4; /* 0x2B02A6F1: add ecx, 4 */ 13895 _flag_k = FK_ADD; 13896 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 13897 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 13898 edx = edx + 4; /* 0x2B02A6F4: add edx, 4 */ 13899 _flag_k = FK_ADD; 13900 /* cmp ecx, eax */ /* 0x2B02A6F7: cmp ecx, eax */ 13901 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 13902 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13903 _flag_k = FK_CMP; 13904 RECOMP_BACKEDGE(); 13905 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A6E2; /* 0x2B02A6F9: jne 0x2b02a6e2 */ 13906 L_2B02A6FB: 13907 goto L_2B02A701; /* 0x2B02A6FB: jmp 0x2b02a701 */ 13908 L_2B02A6FD: 13909 /* cmp ecx, eax */ /* 0x2B02A6FD: cmp ecx, eax */ 13910 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 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_2B02A70D; /* 0x2B02A6FF: jne 0x2b02a70d */ 13914 L_2B02A701: 13915 /* cmp edx, MEM32(ebx + 0x14) */ /* 0x2B02A701: cmp edx, dword ptr [ebx + 0x14] */ 13916 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(ebx + 0x14)); 13917 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13918 _flag_k = FK_CMP; 13919 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A70D; /* 0x2B02A704: je 0x2b02a70d */ 13920 L_2B02A706: 13921 MEM32(ebp + (-0x4)) = ebx; /* 0x2B02A706: mov dword ptr [ebp - 4], ebx */ 13922 ebx = MEM32(ebx); /* 0x2B02A709: mov ebx, dword ptr [ebx] */ 13923 goto L_2B02A710; /* 0x2B02A70B: jmp 0x2b02a710 */ 13924 L_2B02A70D: 13925 ebx = MEM32(ebx + 0x8); /* 0x2B02A70D: mov ebx, dword ptr [ebx + 8] */ 13926 L_2B02A710: 13927 /* cmp ebx, MEM32(ebp + (-0x8)) */ /* 0x2B02A710: cmp ebx, dword ptr [ebp - 8] */ 13928 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(ebp + (-0x8))); 13929 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13930 _flag_k = FK_CMP; 13931 RECOMP_BACKEDGE(); 13932 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A6D8; /* 0x2B02A713: jne 0x2b02a6d8 */ 13933 L_2B02A715: 13934 eax = MEM32(ebp + (-0x4)); /* 0x2B02A715: mov eax, dword ptr [ebp - 4] */ 13935 edi = POP32_VAL(esp); /* 0x2B02A718: pop edi */ 13936 esi = POP32_VAL(esp); /* 0x2B02A719: pop esi */ 13937 L_2B02A71A: 13938 ebx = POP32_VAL(esp); /* 0x2B02A71A: pop ebx */ 13939 esp = ebp; /* 0x2B02A71B: mov esp, ebp */ 13940 ebp = POP32_VAL(esp); /* 0x2B02A71D: pop ebp */ 13941 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B02A71E: ret 4 */ 13942 RECOMP_REGS_OUT(); 13943 } 13944 13945 void sub_2B02A730(void) { 13946 int _fpu_cmp = 0; 13947 uint32_t _cf = 0; 13948 int _df = 1; 13949 uint32_t _flag_k = FK_NONE; 13950 uint32_t _flag_a = 0, _flag_b = 0; 13951 uint32_t _itail_tgt = 0; 13952 RECOMP_REGS_LOCALS 13953 RECOMP_ENTER(0x2B02A730u); 13954 13955 L_2B02A730: 13956 eax = MEM32(ecx); /* 0x2B02A730: mov eax, dword ptr [ecx] */ 13957 SET_LO8(edx, MEM8(eax + 0x34)); /* 0x2B02A732: mov dl, byte ptr [eax + 0x34] */ 13958 /* test LO8(edx), LO8(edx) */ /* 0x2B02A735: test dl, dl */ 13959 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 13960 _cf = 0; 13961 _flag_k = FK_NARROW(FK_TEST, 24); 13962 PUSH32(esp, ebx); /* 0x2B02A737: push ebx */ 13963 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02A749; /* 0x2B02A738: jne 0x2b02a749 */ 13964 L_2B02A73A: 13965 edx = MEM32(eax + 0x4); /* 0x2B02A73A: mov edx, dword ptr [eax + 4] */ 13966 /* cmp MEM32(edx + 0x4), eax */ /* 0x2B02A73D: cmp dword ptr [edx + 4], eax */ 13967 _flag_a = (uint32_t)(MEM32(edx + 0x4)); _flag_b = (uint32_t)(eax); 13968 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 13969 _flag_k = FK_CMP; 13970 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A749; /* 0x2B02A740: jne 0x2b02a749 */ 13971 L_2B02A742: 13972 eax = MEM32(eax + 0x8); /* 0x2B02A742: mov eax, dword ptr [eax + 8] */ 13973 MEM32(ecx) = eax; /* 0x2B02A745: mov dword ptr [ecx], eax */ 13974 ebx = POP32_VAL(esp); /* 0x2B02A747: pop ebx */ 13975 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B02A748: ret */ 13976 L_2B02A749: 13977 edx = MEM32(eax); /* 0x2B02A749: mov edx, dword ptr [eax] */ 13978 SET_LO8(ebx, MEM8(edx + 0x35)); /* 0x2B02A74B: mov bl, byte ptr [edx + 0x35] */ 13979 /* test LO8(ebx), LO8(ebx) */ /* 0x2B02A74E: test bl, bl */ 13980 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13981 _cf = 0; 13982 _flag_k = FK_NARROW(FK_TEST, 24); 13983 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02A76C; /* 0x2B02A750: jne 0x2b02a76c */ 13984 L_2B02A752: 13985 eax = MEM32(edx + 0x8); /* 0x2B02A752: mov eax, dword ptr [edx + 8] */ 13986 SET_LO8(ebx, MEM8(eax + 0x35)); /* 0x2B02A755: mov bl, byte ptr [eax + 0x35] */ 13987 /* test LO8(ebx), LO8(ebx) */ /* 0x2B02A758: test bl, bl */ 13988 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13989 _cf = 0; 13990 _flag_k = FK_NARROW(FK_TEST, 24); 13991 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02A768; /* 0x2B02A75A: jne 0x2b02a768 */ 13992 L_2B02A75C: 13993 edx = eax; /* 0x2B02A75C: mov edx, eax */ 13994 eax = MEM32(edx + 0x8); /* 0x2B02A75E: mov eax, dword ptr [edx + 8] */ 13995 SET_LO8(ebx, MEM8(eax + 0x35)); /* 0x2B02A761: mov bl, byte ptr [eax + 0x35] */ 13996 /* test LO8(ebx), LO8(ebx) */ /* 0x2B02A764: test bl, bl */ 13997 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 13998 _cf = 0; 13999 _flag_k = FK_NARROW(FK_TEST, 24); 14000 RECOMP_BACKEDGE(); 14001 if (TEST_Z(_flag_a, _flag_b)) goto L_2B02A75C; /* 0x2B02A766: je 0x2b02a75c */ 14002 L_2B02A768: 14003 MEM32(ecx) = edx; /* 0x2B02A768: mov dword ptr [ecx], edx */ 14004 ebx = POP32_VAL(esp); /* 0x2B02A76A: pop ebx */ 14005 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B02A76B: ret */ 14006 L_2B02A76C: 14007 eax = MEM32(eax + 0x4); /* 0x2B02A76C: mov eax, dword ptr [eax + 4] */ 14008 edx = MEM32(ecx); /* 0x2B02A76F: mov edx, dword ptr [ecx] */ 14009 /* cmp edx, MEM32(eax) */ /* 0x2B02A771: cmp edx, dword ptr [eax] */ 14010 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax)); 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_2B02A780; /* 0x2B02A773: jne 0x2b02a780 */ 14014 L_2B02A775: 14015 MEM32(ecx) = eax; /* 0x2B02A775: mov dword ptr [ecx], eax */ 14016 eax = MEM32(eax + 0x4); /* 0x2B02A777: mov eax, dword ptr [eax + 4] */ 14017 edx = MEM32(ecx); /* 0x2B02A77A: mov edx, dword ptr [ecx] */ 14018 /* cmp edx, MEM32(eax) */ /* 0x2B02A77C: cmp edx, dword ptr [eax] */ 14019 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax)); 14020 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14021 _flag_k = FK_CMP; 14022 RECOMP_BACKEDGE(); 14023 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A775; /* 0x2B02A77E: je 0x2b02a775 */ 14024 L_2B02A780: 14025 MEM32(ecx) = eax; /* 0x2B02A780: mov dword ptr [ecx], eax */ 14026 ebx = POP32_VAL(esp); /* 0x2B02A782: pop ebx */ 14027 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B02A783: ret */ 14028 RECOMP_REGS_OUT(); 14029 } 14030 14031 void sub_2B02A790(void) { 14032 int _fpu_cmp = 0; 14033 uint32_t _cf = 0; 14034 int _df = 1; 14035 uint32_t _flag_k = FK_NONE; 14036 uint32_t _flag_a = 0, _flag_b = 0; 14037 uint32_t _itail_tgt = 0; 14038 RECOMP_REGS_LOCALS 14039 RECOMP_ENTER(0x2B02A790u); 14040 14041 L_2B02A790: 14042 eax = MEM32(ecx); /* 0x2B02A790: mov eax, dword ptr [ecx] */ 14043 edx = MEM32(eax + 0x8); /* 0x2B02A792: mov edx, dword ptr [eax + 8] */ 14044 PUSH32(esp, ebx); /* 0x2B02A795: push ebx */ 14045 SET_LO8(ebx, MEM8(edx + 0x35)); /* 0x2B02A796: mov bl, byte ptr [edx + 0x35] */ 14046 /* test LO8(ebx), LO8(ebx) */ /* 0x2B02A799: test bl, bl */ 14047 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14048 _cf = 0; 14049 _flag_k = FK_NARROW(FK_TEST, 24); 14050 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02A7B5; /* 0x2B02A79B: jne 0x2b02a7b5 */ 14051 L_2B02A79D: 14052 eax = MEM32(edx); /* 0x2B02A79D: mov eax, dword ptr [edx] */ 14053 SET_LO8(ebx, MEM8(eax + 0x35)); /* 0x2B02A79F: mov bl, byte ptr [eax + 0x35] */ 14054 /* test LO8(ebx), LO8(ebx) */ /* 0x2B02A7A2: test bl, bl */ 14055 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14056 _cf = 0; 14057 _flag_k = FK_NARROW(FK_TEST, 24); 14058 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02A7B1; /* 0x2B02A7A4: jne 0x2b02a7b1 */ 14059 L_2B02A7A6: 14060 edx = eax; /* 0x2B02A7A6: mov edx, eax */ 14061 eax = MEM32(edx); /* 0x2B02A7A8: mov eax, dword ptr [edx] */ 14062 SET_LO8(ebx, MEM8(eax + 0x35)); /* 0x2B02A7AA: mov bl, byte ptr [eax + 0x35] */ 14063 /* test LO8(ebx), LO8(ebx) */ /* 0x2B02A7AD: test bl, bl */ 14064 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 14065 _cf = 0; 14066 _flag_k = FK_NARROW(FK_TEST, 24); 14067 RECOMP_BACKEDGE(); 14068 if (TEST_Z(_flag_a, _flag_b)) goto L_2B02A7A6; /* 0x2B02A7AF: je 0x2b02a7a6 */ 14069 L_2B02A7B1: 14070 MEM32(ecx) = edx; /* 0x2B02A7B1: mov dword ptr [ecx], edx */ 14071 ebx = POP32_VAL(esp); /* 0x2B02A7B3: pop ebx */ 14072 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B02A7B4: ret */ 14073 L_2B02A7B5: 14074 eax = MEM32(eax + 0x4); /* 0x2B02A7B5: mov eax, dword ptr [eax + 4] */ 14075 edx = MEM32(ecx); /* 0x2B02A7B8: mov edx, dword ptr [ecx] */ 14076 /* cmp edx, MEM32(eax + 0x8) */ /* 0x2B02A7BA: cmp edx, dword ptr [eax + 8] */ 14077 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 14078 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14079 _flag_k = FK_CMP; 14080 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A7CB; /* 0x2B02A7BD: jne 0x2b02a7cb */ 14081 L_2B02A7BF: 14082 MEM32(ecx) = eax; /* 0x2B02A7BF: mov dword ptr [ecx], eax */ 14083 eax = MEM32(eax + 0x4); /* 0x2B02A7C1: mov eax, dword ptr [eax + 4] */ 14084 edx = MEM32(ecx); /* 0x2B02A7C4: mov edx, dword ptr [ecx] */ 14085 /* cmp edx, MEM32(eax + 0x8) */ /* 0x2B02A7C6: cmp edx, dword ptr [eax + 8] */ 14086 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 14087 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14088 _flag_k = FK_CMP; 14089 RECOMP_BACKEDGE(); 14090 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A7BF; /* 0x2B02A7C9: je 0x2b02a7bf */ 14091 L_2B02A7CB: 14092 edx = MEM32(ecx); /* 0x2B02A7CB: mov edx, dword ptr [ecx] */ 14093 /* cmp MEM32(edx + 0x8), eax */ /* 0x2B02A7CD: cmp dword ptr [edx + 8], eax */ 14094 _flag_a = (uint32_t)(MEM32(edx + 0x8)); _flag_b = (uint32_t)(eax); 14095 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14096 _flag_k = FK_CMP; 14097 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A7D4; /* 0x2B02A7D0: je 0x2b02a7d4 */ 14098 L_2B02A7D2: 14099 MEM32(ecx) = eax; /* 0x2B02A7D2: mov dword ptr [ecx], eax */ 14100 L_2B02A7D4: 14101 ebx = POP32_VAL(esp); /* 0x2B02A7D4: pop ebx */ 14102 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B02A7D5: ret */ 14103 RECOMP_REGS_OUT(); 14104 } 14105 14106 void sub_2B02A7E0(void) { 14107 int _fpu_cmp = 0; 14108 uint32_t _cf = 0; 14109 int _df = 1; 14110 uint32_t _flag_k = FK_NONE; 14111 uint32_t _flag_a = 0, _flag_b = 0; 14112 uint32_t _itail_tgt = 0; 14113 RECOMP_REGS_LOCALS 14114 RECOMP_ENTER(0x2B02A7E0u); 14115 14116 L_2B02A7E0: 14117 PUSH32(esp, ebp); /* 0x2B02A7E0: push ebp */ 14118 ebp = esp; /* 0x2B02A7E1: mov ebp, esp */ 14119 ecx = MEM32(ebp + 0x8); /* 0x2B02A7E3: mov ecx, dword ptr [ebp + 8] */ 14120 edx = MEM32(ebp + 0xC); /* 0x2B02A7E6: mov edx, dword ptr [ebp + 0xc] */ 14121 /* cmp ecx, edx */ /* 0x2B02A7E9: cmp ecx, edx */ 14122 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 14123 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14124 _flag_k = FK_CMP; 14125 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A816; /* 0x2B02A7EB: je 0x2b02a816 */ 14126 L_2B02A7ED: 14127 eax = MEM32(ebp + 0x10); /* 0x2B02A7ED: mov eax, dword ptr [ebp + 0x10] */ 14128 PUSH32(esp, ebx); /* 0x2B02A7F0: push ebx */ 14129 PUSH32(esp, esi); /* 0x2B02A7F1: push esi */ 14130 PUSH32(esp, edi); /* 0x2B02A7F2: push edi */ 14131 L_2B02A7F3: 14132 esi = ecx; /* 0x2B02A7F3: mov esi, ecx */ 14133 ebx = MEM32(esi); /* 0x2B02A7F5: mov ebx, dword ptr [esi] */ 14134 edi = eax; /* 0x2B02A7F7: mov edi, eax */ 14135 MEM32(edi) = ebx; /* 0x2B02A7F9: mov dword ptr [edi], ebx */ 14136 ebx = MEM32(esi + 0x4); /* 0x2B02A7FB: mov ebx, dword ptr [esi + 4] */ 14137 MEM32(edi + 0x4) = ebx; /* 0x2B02A7FE: mov dword ptr [edi + 4], ebx */ 14138 esi = MEM32(esi + 0x8); /* 0x2B02A801: mov esi, dword ptr [esi + 8] */ 14139 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu); 14140 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14141 ecx = ecx + 0xCu; /* 0x2B02A804: add ecx, 0xc */ 14142 _flag_k = FK_ADD; 14143 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu); 14144 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14145 eax = eax + 0xCu; /* 0x2B02A807: add eax, 0xc */ 14146 _flag_k = FK_ADD; 14147 /* cmp ecx, edx */ /* 0x2B02A80A: cmp ecx, edx */ 14148 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 14149 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14150 _flag_k = FK_CMP; 14151 MEM32(edi + 0x8) = esi; /* 0x2B02A80C: mov dword ptr [edi + 8], esi */ 14152 RECOMP_BACKEDGE(); 14153 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A7F3; /* 0x2B02A80F: jne 0x2b02a7f3 */ 14154 L_2B02A811: 14155 edi = POP32_VAL(esp); /* 0x2B02A811: pop edi */ 14156 esi = POP32_VAL(esp); /* 0x2B02A812: pop esi */ 14157 ebx = POP32_VAL(esp); /* 0x2B02A813: pop ebx */ 14158 ebp = POP32_VAL(esp); /* 0x2B02A814: pop ebp */ 14159 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B02A815: ret */ 14160 L_2B02A816: 14161 eax = MEM32(ebp + 0x10); /* 0x2B02A816: mov eax, dword ptr [ebp + 0x10] */ 14162 ebp = POP32_VAL(esp); /* 0x2B02A819: pop ebp */ 14163 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B02A81A: ret */ 14164 RECOMP_REGS_OUT(); 14165 } 14166 14167 void sub_2B02A820(void) { 14168 int _fpu_cmp = 0; 14169 uint32_t _cf = 0; 14170 int _df = 1; 14171 uint32_t _flag_k = FK_NONE; 14172 uint32_t _flag_a = 0, _flag_b = 0; 14173 uint32_t _itail_tgt = 0; 14174 RECOMP_REGS_LOCALS 14175 RECOMP_ENTER(0x2B02A820u); 14176 14177 L_2B02A820: 14178 PUSH32(esp, ebp); /* 0x2B02A820: push ebp */ 14179 ebp = esp; /* 0x2B02A821: mov ebp, esp */ 14180 ecx = MEM32(ebp + 0x8); /* 0x2B02A823: mov ecx, dword ptr [ebp + 8] */ 14181 edx = MEM32(ebp + 0xC); /* 0x2B02A826: mov edx, dword ptr [ebp + 0xc] */ 14182 /* cmp ecx, edx */ /* 0x2B02A829: cmp ecx, edx */ 14183 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 14184 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14185 _flag_k = FK_CMP; 14186 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A842; /* 0x2B02A82B: je 0x2b02a842 */ 14187 L_2B02A82D: 14188 eax = MEM32(ebp + 0x10); /* 0x2B02A82D: mov eax, dword ptr [ebp + 0x10] */ 14189 PUSH32(esp, esi); /* 0x2B02A830: push esi */ 14190 L_2B02A831: 14191 esi = MEM32(ecx); /* 0x2B02A831: mov esi, dword ptr [ecx] */ 14192 MEM32(eax) = esi; /* 0x2B02A833: mov dword ptr [eax], esi */ 14193 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 14194 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14195 ecx = ecx + 4; /* 0x2B02A835: add ecx, 4 */ 14196 _flag_k = FK_ADD; 14197 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 14198 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14199 eax = eax + 4; /* 0x2B02A838: add eax, 4 */ 14200 _flag_k = FK_ADD; 14201 /* cmp ecx, edx */ /* 0x2B02A83B: cmp ecx, edx */ 14202 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 14203 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14204 _flag_k = FK_CMP; 14205 RECOMP_BACKEDGE(); 14206 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A831; /* 0x2B02A83D: jne 0x2b02a831 */ 14207 L_2B02A83F: 14208 esi = POP32_VAL(esp); /* 0x2B02A83F: pop esi */ 14209 ebp = POP32_VAL(esp); /* 0x2B02A840: pop ebp */ 14210 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B02A841: ret */ 14211 L_2B02A842: 14212 eax = MEM32(ebp + 0x10); /* 0x2B02A842: mov eax, dword ptr [ebp + 0x10] */ 14213 ebp = POP32_VAL(esp); /* 0x2B02A845: pop ebp */ 14214 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B02A846: ret */ 14215 RECOMP_REGS_OUT(); 14216 } 14217 14218 void sub_2B02A850(void) { 14219 int _fpu_cmp = 0; 14220 uint32_t _cf = 0; 14221 int _df = 1; 14222 uint32_t _flag_k = FK_NONE; 14223 uint32_t _flag_a = 0, _flag_b = 0; 14224 uint32_t _itail_tgt = 0; 14225 RECOMP_REGS_LOCALS 14226 RECOMP_ENTER(0x2B02A850u); 14227 14228 L_2B02A850: 14229 PUSH32(esp, ebp); /* 0x2B02A850: push ebp */ 14230 ebp = esp; /* 0x2B02A851: mov ebp, esp */ 14231 eax = MEM32(ebp + 0x8); /* 0x2B02A853: mov eax, dword ptr [ebp + 8] */ 14232 /* test eax, eax */ /* 0x2B02A856: test eax, eax */ 14233 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14234 _cf = 0; 14235 _flag_k = FK_TEST; 14236 if (TEST_Z(_flag_a, _flag_b)) goto L_2B02A86D; /* 0x2B02A858: je 0x2b02a86d */ 14237 L_2B02A85A: 14238 ecx = MEM32(ebp + 0xC); /* 0x2B02A85A: mov ecx, dword ptr [ebp + 0xc] */ 14239 edx = MEM32(ecx); /* 0x2B02A85D: mov edx, dword ptr [ecx] */ 14240 MEM32(eax) = edx; /* 0x2B02A85F: mov dword ptr [eax], edx */ 14241 edx = MEM32(ecx + 0x4); /* 0x2B02A861: mov edx, dword ptr [ecx + 4] */ 14242 MEM32(eax + 0x4) = edx; /* 0x2B02A864: mov dword ptr [eax + 4], edx */ 14243 ecx = MEM32(ecx + 0x8); /* 0x2B02A867: mov ecx, dword ptr [ecx + 8] */ 14244 MEM32(eax + 0x8) = ecx; /* 0x2B02A86A: mov dword ptr [eax + 8], ecx */ 14245 L_2B02A86D: 14246 ebp = POP32_VAL(esp); /* 0x2B02A86D: pop ebp */ 14247 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B02A86E: ret */ 14248 RECOMP_REGS_OUT(); 14249 } 14250 14251 void sub_2B02A870(void) { 14252 int _fpu_cmp = 0; 14253 uint32_t _cf = 0; 14254 int _df = 1; 14255 uint32_t _flag_k = FK_NONE; 14256 uint32_t _flag_a = 0, _flag_b = 0; 14257 uint32_t _itail_tgt = 0; 14258 RECOMP_REGS_LOCALS 14259 RECOMP_ENTER(0x2B02A870u); 14260 14261 L_2B02A870: 14262 PUSH32(esp, ebp); /* 0x2B02A870: push ebp */ 14263 ebp = esp; /* 0x2B02A871: mov ebp, esp */ 14264 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B02A873: push -1 */ 14265 PUSH32(esp, 0x2B0ADCD1u); /* 0x2B02A875: push 0x2b0adcd1 */ 14266 eax = MEM32(FS_BASE + (0)); /* 0x2B02A87A: mov eax, dword ptr fs:[0] */ 14267 PUSH32(esp, eax); /* 0x2B02A880: push eax */ 14268 MEM32(FS_BASE + (0)) = esp; /* 0x2B02A881: mov dword ptr fs:[0], esp */ 14269 PUSH32(esp, ecx); /* 0x2B02A888: push ecx */ 14270 PUSH32(esp, edi); /* 0x2B02A889: push edi */ 14271 edi = MEM32(ebp + 0x8); /* 0x2B02A88A: mov edi, dword ptr [ebp + 8] */ 14272 MEM32(ebp + (-0x10)) = edi; /* 0x2B02A88D: mov dword ptr [ebp - 0x10], edi */ 14273 /* test edi, edi */ /* 0x2B02A890: test edi, edi */ 14274 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 14275 _cf = 0; 14276 _flag_k = FK_TEST; 14277 MEM32(ebp + (-0x4)) = 0; /* 0x2B02A892: mov dword ptr [ebp - 4], 0 */ 14278 if (TEST_Z(_flag_a, _flag_b)) goto L_2B02A903; /* 0x2B02A899: je 0x2b02a903 */ 14279 L_2B02A89B: 14280 PUSH32(esp, esi); /* 0x2B02A89B: push esi */ 14281 esi = MEM32(ebp + 0xC); /* 0x2B02A89C: mov esi, dword ptr [ebp + 0xc] */ 14282 SET_LO8(eax, MEM8(esi)); /* 0x2B02A89F: mov al, byte ptr [esi] */ 14283 MEM8(edi) = (uint8_t)(LO8(eax)); /* 0x2B02A8A1: mov byte ptr [edi], al */ 14284 ecx = MEM32(esi + 0x4); /* 0x2B02A8A3: mov ecx, dword ptr [esi + 4] */ 14285 /* test ecx, ecx */ /* 0x2B02A8A6: test ecx, ecx */ 14286 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 14287 _cf = 0; 14288 _flag_k = FK_TEST; 14289 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02A8AE; /* 0x2B02A8A8: jne 0x2b02a8ae */ 14290 L_2B02A8AA: 14291 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14292 eax = 0; /* 0x2B02A8AA: xor eax, eax */ 14293 _cf = 0; 14294 _flag_k = FK_TEST; 14295 goto L_2B02A8B6; /* 0x2B02A8AC: jmp 0x2b02a8b6 */ 14296 L_2B02A8AE: 14297 eax = MEM32(esi + 0x8); /* 0x2B02A8AE: mov eax, dword ptr [esi + 8] */ 14298 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 14299 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14300 eax = eax - ecx; /* 0x2B02A8B1: sub eax, ecx */ 14301 _flag_k = FK_CMP; 14302 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B02A8B3: sar eax, 2 */ 14303 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14304 eax = (uint32_t)((int32_t)eax >> 2u); 14305 L_2B02A8B6: 14306 /* test eax, eax */ /* 0x2B02A8B6: test eax, eax */ 14307 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14308 _cf = 0; 14309 _flag_k = FK_TEST; 14310 if (TEST_NS(_flag_a, _flag_b)) goto L_2B02A8BC; /* 0x2B02A8B8: jge 0x2b02a8bc */ 14311 L_2B02A8BA: 14312 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14313 eax = 0; /* 0x2B02A8BA: xor eax, eax */ 14314 _cf = 0; 14315 _flag_k = FK_TEST; 14316 L_2B02A8BC: 14317 ecx = eax * 4; /* 0x2B02A8BC: lea ecx, [eax*4] */ 14318 PUSH32(esp, ecx); /* 0x2B02A8C3: push ecx */ 14319 RECOMP_ICALL(0x2B0AB212u); /* 0x2B02A8C4: call 0x2b0ab212 */ /* not lifted */ 14320 RECOMP_FLAGS_IN(); 14321 MEM32(edi + 0x4) = eax; /* 0x2B02A8C9: mov dword ptr [edi + 4], eax */ 14322 edx = MEM32(esi + 0x8); /* 0x2B02A8CC: mov edx, dword ptr [esi + 8] */ 14323 ecx = eax; /* 0x2B02A8CF: mov ecx, eax */ 14324 eax = MEM32(esi + 0x4); /* 0x2B02A8D1: mov eax, dword ptr [esi + 4] */ 14325 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14326 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14327 esp = esp + 4; /* 0x2B02A8D4: add esp, 4 */ 14328 _flag_k = FK_ADD; 14329 /* cmp eax, edx */ /* 0x2B02A8D7: cmp eax, edx */ 14330 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 14331 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14332 _flag_k = FK_CMP; 14333 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A8EF; /* 0x2B02A8D9: je 0x2b02a8ef */ 14334 L_2B02A8DB: 14335 PUSH32(esp, ebx); /* 0x2B02A8DB: push ebx */ 14336 L_2B02A8DC: 14337 /* test ecx, ecx */ /* 0x2B02A8DC: test ecx, ecx */ 14338 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 14339 _cf = 0; 14340 _flag_k = FK_TEST; 14341 if (TEST_Z(_flag_a, _flag_b)) goto L_2B02A8E4; /* 0x2B02A8DE: je 0x2b02a8e4 */ 14342 L_2B02A8E0: 14343 ebx = MEM32(eax); /* 0x2B02A8E0: mov ebx, dword ptr [eax] */ 14344 MEM32(ecx) = ebx; /* 0x2B02A8E2: mov dword ptr [ecx], ebx */ 14345 L_2B02A8E4: 14346 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 14347 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14348 eax = eax + 4; /* 0x2B02A8E4: add eax, 4 */ 14349 _flag_k = FK_ADD; 14350 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 14351 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14352 ecx = ecx + 4; /* 0x2B02A8E7: add ecx, 4 */ 14353 _flag_k = FK_ADD; 14354 /* cmp eax, edx */ /* 0x2B02A8EA: cmp eax, edx */ 14355 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 14356 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14357 _flag_k = FK_CMP; 14358 RECOMP_BACKEDGE(); 14359 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A8DC; /* 0x2B02A8EC: jne 0x2b02a8dc */ 14360 L_2B02A8EE: 14361 ebx = POP32_VAL(esp); /* 0x2B02A8EE: pop ebx */ 14362 L_2B02A8EF: 14363 MEM32(edi + 0x8) = ecx; /* 0x2B02A8EF: mov dword ptr [edi + 8], ecx */ 14364 MEM32(edi + 0xC) = ecx; /* 0x2B02A8F2: mov dword ptr [edi + 0xc], ecx */ 14365 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 14366 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14367 esi = esi + 0x10u; /* 0x2B02A8F5: add esi, 0x10 */ 14368 _flag_k = FK_ADD; 14369 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 14370 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14371 edi = edi + 0x10u; /* 0x2B02A8F8: add edi, 0x10 */ 14372 _flag_k = FK_ADD; 14373 ecx = 8; /* 0x2B02A8FB: mov ecx, 8 */ 14374 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B02A900: 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; } 14375 esi = POP32_VAL(esp); /* 0x2B02A902: pop esi */ 14376 L_2B02A903: 14377 ecx = MEM32(ebp + (-0xC)); /* 0x2B02A903: mov ecx, dword ptr [ebp - 0xc] */ 14378 edi = POP32_VAL(esp); /* 0x2B02A906: pop edi */ 14379 MEM32(FS_BASE + (0)) = ecx; /* 0x2B02A907: mov dword ptr fs:[0], ecx */ 14380 esp = ebp; /* 0x2B02A90E: mov esp, ebp */ 14381 ebp = POP32_VAL(esp); /* 0x2B02A910: pop ebp */ 14382 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B02A911: ret */ 14383 RECOMP_REGS_OUT(); 14384 } 14385 14386 void sub_2B02A920(void) { 14387 int _fpu_cmp = 0; 14388 uint32_t _cf = 0; 14389 int _df = 1; 14390 uint32_t _flag_k = FK_NONE; 14391 uint32_t _flag_a = 0, _flag_b = 0; 14392 uint32_t _itail_tgt = 0; 14393 RECOMP_REGS_LOCALS 14394 RECOMP_ENTER(0x2B02A920u); 14395 14396 L_2B02A920: 14397 PUSH32(esp, ebp); /* 0x2B02A920: push ebp */ 14398 ebp = esp; /* 0x2B02A921: mov ebp, esp */ 14399 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B02A923: push -1 */ 14400 PUSH32(esp, 0x2B0ADD0Au); /* 0x2B02A925: push 0x2b0add0a */ 14401 eax = MEM32(FS_BASE + (0)); /* 0x2B02A92A: mov eax, dword ptr fs:[0] */ 14402 PUSH32(esp, eax); /* 0x2B02A930: push eax */ 14403 MEM32(FS_BASE + (0)) = esp; /* 0x2B02A931: mov dword ptr fs:[0], esp */ 14404 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x18u); 14405 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14406 esp = esp - 0x18u; /* 0x2B02A938: sub esp, 0x18 */ 14407 _flag_k = FK_CMP; 14408 PUSH32(esp, edi); /* 0x2B02A93B: push edi */ 14409 edi = MEM32(ebp + 0x8); /* 0x2B02A93C: mov edi, dword ptr [ebp + 8] */ 14410 MEM32(ebp + (-0x20)) = edi; /* 0x2B02A93F: mov dword ptr [ebp - 0x20], edi */ 14411 /* test edi, edi */ /* 0x2B02A942: test edi, edi */ 14412 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 14413 _cf = 0; 14414 _flag_k = FK_TEST; 14415 MEM32(ebp + (-0x4)) = 0; /* 0x2B02A944: mov dword ptr [ebp - 4], 0 */ 14416 if (TEST_Z(_flag_a, _flag_b)) goto L_2B02AA87; /* 0x2B02A94B: je 0x2b02aa87 */ 14417 L_2B02A951: 14418 PUSH32(esp, ebx); /* 0x2B02A951: push ebx */ 14419 ebx = MEM32(ebp + 0xC); /* 0x2B02A952: mov ebx, dword ptr [ebp + 0xc] */ 14420 SET_LO8(eax, MEM8(ebx)); /* 0x2B02A955: mov al, byte ptr [ebx] */ 14421 MEM8(edi) = (uint8_t)(LO8(eax)); /* 0x2B02A957: mov byte ptr [edi], al */ 14422 ecx = MEM32(ebx + 0x4); /* 0x2B02A959: mov ecx, dword ptr [ebx + 4] */ 14423 /* test ecx, ecx */ /* 0x2B02A95C: test ecx, ecx */ 14424 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 14425 _cf = 0; 14426 _flag_k = FK_TEST; 14427 PUSH32(esp, esi); /* 0x2B02A95E: push esi */ 14428 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02A965; /* 0x2B02A95F: jne 0x2b02a965 */ 14429 L_2B02A961: 14430 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14431 eax = 0; /* 0x2B02A961: xor eax, eax */ 14432 _cf = 0; 14433 _flag_k = FK_TEST; 14434 goto L_2B02A96D; /* 0x2B02A963: jmp 0x2b02a96d */ 14435 L_2B02A965: 14436 eax = MEM32(ebx + 0x8); /* 0x2B02A965: mov eax, dword ptr [ebx + 8] */ 14437 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 14438 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14439 eax = eax - ecx; /* 0x2B02A968: sub eax, ecx */ 14440 _flag_k = FK_CMP; 14441 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B02A96A: sar eax, 2 */ 14442 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14443 eax = (uint32_t)((int32_t)eax >> 2u); 14444 L_2B02A96D: 14445 /* test eax, eax */ /* 0x2B02A96D: test eax, eax */ 14446 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14447 _cf = 0; 14448 _flag_k = FK_TEST; 14449 if (TEST_NS(_flag_a, _flag_b)) goto L_2B02A973; /* 0x2B02A96F: jge 0x2b02a973 */ 14450 L_2B02A971: 14451 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14452 eax = 0; /* 0x2B02A971: xor eax, eax */ 14453 _cf = 0; 14454 _flag_k = FK_TEST; 14455 L_2B02A973: 14456 ecx = eax * 4; /* 0x2B02A973: lea ecx, [eax*4] */ 14457 PUSH32(esp, ecx); /* 0x2B02A97A: push ecx */ 14458 RECOMP_ICALL(0x2B0AB212u); /* 0x2B02A97B: call 0x2b0ab212 */ /* not lifted */ 14459 RECOMP_FLAGS_IN(); 14460 MEM32(edi + 0x4) = eax; /* 0x2B02A980: mov dword ptr [edi + 4], eax */ 14461 edx = MEM32(ebx + 0x8); /* 0x2B02A983: mov edx, dword ptr [ebx + 8] */ 14462 ecx = MEM32(ebx + 0x4); /* 0x2B02A986: mov ecx, dword ptr [ebx + 4] */ 14463 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14464 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14465 esp = esp + 4; /* 0x2B02A989: add esp, 4 */ 14466 _flag_k = FK_ADD; 14467 /* cmp ecx, edx */ /* 0x2B02A98C: cmp ecx, edx */ 14468 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 14469 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14470 _flag_k = FK_CMP; 14471 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02A9A2; /* 0x2B02A98E: je 0x2b02a9a2 */ 14472 L_2B02A990: 14473 /* test eax, eax */ /* 0x2B02A990: test eax, eax */ 14474 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14475 _cf = 0; 14476 _flag_k = FK_TEST; 14477 if (TEST_Z(_flag_a, _flag_b)) goto L_2B02A998; /* 0x2B02A992: je 0x2b02a998 */ 14478 L_2B02A994: 14479 esi = MEM32(ecx); /* 0x2B02A994: mov esi, dword ptr [ecx] */ 14480 MEM32(eax) = esi; /* 0x2B02A996: mov dword ptr [eax], esi */ 14481 L_2B02A998: 14482 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 14483 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14484 ecx = ecx + 4; /* 0x2B02A998: add ecx, 4 */ 14485 _flag_k = FK_ADD; 14486 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 14487 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14488 eax = eax + 4; /* 0x2B02A99B: add eax, 4 */ 14489 _flag_k = FK_ADD; 14490 /* cmp ecx, edx */ /* 0x2B02A99E: cmp ecx, edx */ 14491 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 14492 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14493 _flag_k = FK_CMP; 14494 RECOMP_BACKEDGE(); 14495 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A990; /* 0x2B02A9A0: jne 0x2b02a990 */ 14496 L_2B02A9A2: 14497 MEM32(edi + 0x8) = eax; /* 0x2B02A9A2: mov dword ptr [edi + 8], eax */ 14498 MEM32(edi + 0xC) = eax; /* 0x2B02A9A5: mov dword ptr [edi + 0xc], eax */ 14499 SET_LO8(edx, MEM8(ebx + 0x10)); /* 0x2B02A9A8: mov dl, byte ptr [ebx + 0x10] */ 14500 MEM8(edi + 0x10) = (uint8_t)(LO8(edx)); /* 0x2B02A9AB: mov byte ptr [edi + 0x10], dl */ 14501 ecx = MEM32(ebx + 0x14); /* 0x2B02A9AE: mov ecx, dword ptr [ebx + 0x14] */ 14502 /* test ecx, ecx */ /* 0x2B02A9B1: test ecx, ecx */ 14503 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 14504 _cf = 0; 14505 _flag_k = FK_TEST; 14506 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B02A9B3: mov byte ptr [ebp - 4], 1 */ 14507 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02A9BD; /* 0x2B02A9B7: jne 0x2b02a9bd */ 14508 L_2B02A9B9: 14509 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14510 eax = 0; /* 0x2B02A9B9: xor eax, eax */ 14511 _cf = 0; 14512 _flag_k = FK_TEST; 14513 goto L_2B02A9C5; /* 0x2B02A9BB: jmp 0x2b02a9c5 */ 14514 L_2B02A9BD: 14515 eax = MEM32(ebx + 0x18); /* 0x2B02A9BD: mov eax, dword ptr [ebx + 0x18] */ 14516 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 14517 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14518 eax = eax - ecx; /* 0x2B02A9C0: sub eax, ecx */ 14519 _flag_k = FK_CMP; 14520 if (4u) _cf = (((eax) >> 3) & 1u); /* 0x2B02A9C2: sar eax, 4 */ 14521 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14522 eax = (uint32_t)((int32_t)eax >> 4u); 14523 L_2B02A9C5: 14524 /* test eax, eax */ /* 0x2B02A9C5: test eax, eax */ 14525 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14526 _cf = 0; 14527 _flag_k = FK_TEST; 14528 if (TEST_NS(_flag_a, _flag_b)) goto L_2B02A9CB; /* 0x2B02A9C7: jge 0x2b02a9cb */ 14529 L_2B02A9C9: 14530 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14531 eax = 0; /* 0x2B02A9C9: xor eax, eax */ 14532 _cf = 0; 14533 _flag_k = FK_TEST; 14534 L_2B02A9CB: 14535 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x2B02A9CB: shl eax, 4 */ 14536 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14537 eax = eax << 4u; /* 0x2B02A9CB: shl eax, 4 */ 14538 PUSH32(esp, eax); /* 0x2B02A9CE: push eax */ 14539 RECOMP_ICALL(0x2B0AB212u); /* 0x2B02A9CF: call 0x2b0ab212 */ /* not lifted */ 14540 RECOMP_FLAGS_IN(); 14541 MEM32(edi + 0x14) = eax; /* 0x2B02A9D4: mov dword ptr [edi + 0x14], eax */ 14542 ecx = MEM32(ebx + 0x18); /* 0x2B02A9D7: mov ecx, dword ptr [ebx + 0x18] */ 14543 edx = MEM32(ebx + 0x14); /* 0x2B02A9DA: mov edx, dword ptr [ebx + 0x14] */ 14544 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14545 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14546 esp = esp + 4; /* 0x2B02A9DD: add esp, 4 */ 14547 _flag_k = FK_ADD; 14548 /* cmp edx, ecx */ /* 0x2B02A9E0: cmp edx, ecx */ 14549 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 14550 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14551 _flag_k = FK_CMP; 14552 esi = eax; /* 0x2B02A9E2: mov esi, eax */ 14553 MEM32(ebp + (-0x18)) = ecx; /* 0x2B02A9E4: mov dword ptr [ebp - 0x18], ecx */ 14554 MEM32(ebp + (-0x1C)) = esi; /* 0x2B02A9E7: mov dword ptr [ebp - 0x1c], esi */ 14555 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02AA73; /* 0x2B02A9EA: je 0x2b02aa73 */ 14556 L_2B02A9F0: 14557 edi = edx + 0x4; /* 0x2B02A9F0: lea edi, [edx + 4] */ 14558 MEM32(ebp + (-0x10)) = edi; /* 0x2B02A9F3: mov dword ptr [ebp - 0x10], edi */ 14559 L_2B02A9F6: 14560 MEM32(ebp + (-0x24)) = esi; /* 0x2B02A9F6: mov dword ptr [ebp - 0x24], esi */ 14561 /* test esi, esi */ /* 0x2B02A9F9: test esi, esi */ 14562 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 14563 _cf = 0; 14564 _flag_k = FK_TEST; 14565 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B02A9FB: mov byte ptr [ebp - 4], 2 */ 14566 if (TEST_Z(_flag_a, _flag_b)) goto L_2B02AA59; /* 0x2B02A9FF: je 0x2b02aa59 */ 14567 L_2B02AA01: 14568 SET_LO8(eax, MEM8(edi + (-0x4))); /* 0x2B02AA01: mov al, byte ptr [edi - 4] */ 14569 MEM8(esi) = (uint8_t)(LO8(eax)); /* 0x2B02AA04: mov byte ptr [esi], al */ 14570 ecx = MEM32(edi); /* 0x2B02AA06: mov ecx, dword ptr [edi] */ 14571 /* test ecx, ecx */ /* 0x2B02AA08: test ecx, ecx */ 14572 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 14573 _cf = 0; 14574 _flag_k = FK_TEST; 14575 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02AA10; /* 0x2B02AA0A: jne 0x2b02aa10 */ 14576 L_2B02AA0C: 14577 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14578 eax = 0; /* 0x2B02AA0C: xor eax, eax */ 14579 _cf = 0; 14580 _flag_k = FK_TEST; 14581 goto L_2B02AA18; /* 0x2B02AA0E: jmp 0x2b02aa18 */ 14582 L_2B02AA10: 14583 eax = MEM32(edi + 0x4); /* 0x2B02AA10: mov eax, dword ptr [edi + 4] */ 14584 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 14585 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14586 eax = eax - ecx; /* 0x2B02AA13: sub eax, ecx */ 14587 _flag_k = FK_CMP; 14588 if (2u) _cf = (((eax) >> 1) & 1u); /* 0x2B02AA15: sar eax, 2 */ 14589 if (2u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 2u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14590 eax = (uint32_t)((int32_t)eax >> 2u); 14591 L_2B02AA18: 14592 PUSH32(esp, 0); /* 0x2B02AA18: push 0 */ 14593 PUSH32(esp, eax); /* 0x2B02AA1A: push eax */ 14594 RECOMP_ICALL(0x2B02AAC0u); /* 0x2B02AA1B: call 0x2b02aac0 */ /* not lifted */ 14595 RECOMP_FLAGS_IN(); 14596 MEM32(esi + 0x4) = eax; /* 0x2B02AA20: mov dword ptr [esi + 4], eax */ 14597 ecx = MEM32(edi + 0x4); /* 0x2B02AA23: mov ecx, dword ptr [edi + 4] */ 14598 edi = MEM32(edi); /* 0x2B02AA26: mov edi, dword ptr [edi] */ 14599 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 14600 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14601 esp = esp + 8; /* 0x2B02AA28: add esp, 8 */ 14602 _flag_k = FK_ADD; 14603 /* cmp edi, ecx */ /* 0x2B02AA2B: cmp edi, ecx */ 14604 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 14605 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14606 _flag_k = FK_CMP; 14607 MEM32(ebp + (-0x14)) = ecx; /* 0x2B02AA2D: mov dword ptr [ebp - 0x14], ecx */ 14608 ebx = eax; /* 0x2B02AA30: mov ebx, eax */ 14609 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02AA4A; /* 0x2B02AA32: je 0x2b02aa4a */ 14610 L_2B02AA34: 14611 PUSH32(esp, edi); /* 0x2B02AA34: push edi */ 14612 PUSH32(esp, ebx); /* 0x2B02AA35: push ebx */ 14613 ecx = esi; /* 0x2B02AA36: mov ecx, esi */ 14614 RECOMP_ICALL(0x2B02AAA0u); /* 0x2B02AA38: call 0x2b02aaa0 */ /* not lifted */ 14615 RECOMP_FLAGS_IN(); 14616 eax = MEM32(ebp + (-0x14)); /* 0x2B02AA3D: mov eax, dword ptr [ebp - 0x14] */ 14617 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(4); 14618 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14619 edi = edi + 4; /* 0x2B02AA40: add edi, 4 */ 14620 _flag_k = FK_ADD; 14621 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(4); 14622 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14623 ebx = ebx + 4; /* 0x2B02AA43: add ebx, 4 */ 14624 _flag_k = FK_ADD; 14625 /* cmp edi, eax */ /* 0x2B02AA46: cmp edi, eax */ 14626 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 14627 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14628 _flag_k = FK_CMP; 14629 RECOMP_BACKEDGE(); 14630 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02AA34; /* 0x2B02AA48: jne 0x2b02aa34 */ 14631 L_2B02AA4A: 14632 ecx = MEM32(ebp + (-0x18)); /* 0x2B02AA4A: mov ecx, dword ptr [ebp - 0x18] */ 14633 edi = MEM32(ebp + (-0x10)); /* 0x2B02AA4D: mov edi, dword ptr [ebp - 0x10] */ 14634 MEM32(esi + 0x8) = ebx; /* 0x2B02AA50: mov dword ptr [esi + 8], ebx */ 14635 MEM32(esi + 0xC) = ebx; /* 0x2B02AA53: mov dword ptr [esi + 0xc], ebx */ 14636 ebx = MEM32(ebp + 0xC); /* 0x2B02AA56: mov ebx, dword ptr [ebp + 0xc] */ 14637 L_2B02AA59: 14638 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 14639 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14640 edi = edi + 0x10u; /* 0x2B02AA59: add edi, 0x10 */ 14641 _flag_k = FK_ADD; 14642 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 14643 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14644 esi = esi + 0x10u; /* 0x2B02AA5C: add esi, 0x10 */ 14645 _flag_k = FK_ADD; 14646 edx = edi + (-0x4); /* 0x2B02AA5F: lea edx, [edi - 4] */ 14647 /* cmp edx, ecx */ /* 0x2B02AA62: cmp edx, ecx */ 14648 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 14649 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14650 _flag_k = FK_CMP; 14651 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B02AA64: mov byte ptr [ebp - 4], 1 */ 14652 MEM32(ebp + (-0x1C)) = esi; /* 0x2B02AA68: mov dword ptr [ebp - 0x1c], esi */ 14653 MEM32(ebp + (-0x10)) = edi; /* 0x2B02AA6B: mov dword ptr [ebp - 0x10], edi */ 14654 RECOMP_BACKEDGE(); 14655 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02A9F6; /* 0x2B02AA6E: jne 0x2b02a9f6 */ 14656 L_2B02AA70: 14657 edi = MEM32(ebp + 0x8); /* 0x2B02AA70: mov edi, dword ptr [ebp + 8] */ 14658 L_2B02AA73: 14659 MEM32(edi + 0x18) = esi; /* 0x2B02AA73: mov dword ptr [edi + 0x18], esi */ 14660 MEM32(edi + 0x1C) = esi; /* 0x2B02AA76: mov dword ptr [edi + 0x1c], esi */ 14661 eax = MEM32(ebx + 0x20); /* 0x2B02AA79: mov eax, dword ptr [ebx + 0x20] */ 14662 MEM32(edi + 0x20) = eax; /* 0x2B02AA7C: mov dword ptr [edi + 0x20], eax */ 14663 ecx = MEM32(ebx + 0x24); /* 0x2B02AA7F: mov ecx, dword ptr [ebx + 0x24] */ 14664 esi = POP32_VAL(esp); /* 0x2B02AA82: pop esi */ 14665 MEM32(edi + 0x24) = ecx; /* 0x2B02AA83: mov dword ptr [edi + 0x24], ecx */ 14666 ebx = POP32_VAL(esp); /* 0x2B02AA86: pop ebx */ 14667 L_2B02AA87: 14668 ecx = MEM32(ebp + (-0xC)); /* 0x2B02AA87: mov ecx, dword ptr [ebp - 0xc] */ 14669 edi = POP32_VAL(esp); /* 0x2B02AA8A: pop edi */ 14670 MEM32(FS_BASE + (0)) = ecx; /* 0x2B02AA8B: mov dword ptr fs:[0], ecx */ 14671 esp = ebp; /* 0x2B02AA92: mov esp, ebp */ 14672 ebp = POP32_VAL(esp); /* 0x2B02AA94: pop ebp */ 14673 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B02AA95: ret */ 14674 RECOMP_REGS_OUT(); 14675 } 14676 14677 void sub_2B02AAA0(void) { 14678 int _fpu_cmp = 0; 14679 uint32_t _cf = 0; 14680 int _df = 1; 14681 uint32_t _flag_k = FK_NONE; 14682 uint32_t _flag_a = 0, _flag_b = 0; 14683 uint32_t _itail_tgt = 0; 14684 RECOMP_REGS_LOCALS 14685 RECOMP_ENTER(0x2B02AAA0u); 14686 14687 L_2B02AAA0: 14688 PUSH32(esp, ebp); /* 0x2B02AAA0: push ebp */ 14689 ebp = esp; /* 0x2B02AAA1: mov ebp, esp */ 14690 eax = MEM32(ebp + 0x8); /* 0x2B02AAA3: mov eax, dword ptr [ebp + 8] */ 14691 /* test eax, eax */ /* 0x2B02AAA6: test eax, eax */ 14692 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14693 _cf = 0; 14694 _flag_k = FK_TEST; 14695 if (TEST_Z(_flag_a, _flag_b)) goto L_2B02AAB1; /* 0x2B02AAA8: je 0x2b02aab1 */ 14696 L_2B02AAAA: 14697 ecx = MEM32(ebp + 0xC); /* 0x2B02AAAA: mov ecx, dword ptr [ebp + 0xc] */ 14698 edx = MEM32(ecx); /* 0x2B02AAAD: mov edx, dword ptr [ecx] */ 14699 MEM32(eax) = edx; /* 0x2B02AAAF: mov dword ptr [eax], edx */ 14700 L_2B02AAB1: 14701 ebp = POP32_VAL(esp); /* 0x2B02AAB1: pop ebp */ 14702 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B02AAB2: ret 8 */ 14703 RECOMP_REGS_OUT(); 14704 } 14705 14706 void sub_2B02AAC0(void) { 14707 int _fpu_cmp = 0; 14708 uint32_t _cf = 0; 14709 int _df = 1; 14710 uint32_t _flag_k = FK_NONE; 14711 uint32_t _flag_a = 0, _flag_b = 0; 14712 uint32_t _itail_tgt = 0; 14713 RECOMP_REGS_LOCALS 14714 RECOMP_ENTER(0x2B02AAC0u); 14715 14716 L_2B02AAC0: 14717 PUSH32(esp, ebp); /* 0x2B02AAC0: push ebp */ 14718 ebp = esp; /* 0x2B02AAC1: mov ebp, esp */ 14719 eax = MEM32(ebp + 0x8); /* 0x2B02AAC3: mov eax, dword ptr [ebp + 8] */ 14720 /* test eax, eax */ /* 0x2B02AAC6: test eax, eax */ 14721 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14722 _cf = 0; 14723 _flag_k = FK_TEST; 14724 if (TEST_NS(_flag_a, _flag_b)) goto L_2B02AACC; /* 0x2B02AAC8: jge 0x2b02aacc */ 14725 L_2B02AACA: 14726 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 14727 eax = 0; /* 0x2B02AACA: xor eax, eax */ 14728 _cf = 0; 14729 _flag_k = FK_TEST; 14730 L_2B02AACC: 14731 if (2u) _cf = (((eax) >> 30) & 1u); /* 0x2B02AACC: shl eax, 2 */ 14732 if (2u) { _flag_a = recomp_flags_pack((eax << 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 14733 eax = eax << 2u; /* 0x2B02AACC: shl eax, 2 */ 14734 PUSH32(esp, eax); /* 0x2B02AACF: push eax */ 14735 RECOMP_ICALL(0x2B0AB212u); /* 0x2B02AAD0: call 0x2b0ab212 */ /* not lifted */ 14736 RECOMP_FLAGS_IN(); 14737 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14738 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14739 esp = esp + 4; /* 0x2B02AAD5: add esp, 4 */ 14740 _flag_k = FK_ADD; 14741 ebp = POP32_VAL(esp); /* 0x2B02AAD8: pop ebp */ 14742 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B02AAD9: ret */ 14743 RECOMP_REGS_OUT(); 14744 } 14745 14746 void sub_2B02AAE0(void) { 14747 int _fpu_cmp = 0; 14748 uint32_t _cf = 0; 14749 int _df = 1; 14750 uint32_t _flag_k = FK_NONE; 14751 uint32_t _flag_a = 0, _flag_b = 0; 14752 uint32_t _itail_tgt = 0; 14753 RECOMP_REGS_LOCALS 14754 RECOMP_ENTER(0x2B02AAE0u); 14755 14756 L_2B02AAE0: 14757 PUSH32(esp, ebp); /* 0x2B02AAE0: push ebp */ 14758 ebp = esp; /* 0x2B02AAE1: mov ebp, esp */ 14759 eax = MEM32(ebp + 0x8); /* 0x2B02AAE3: mov eax, dword ptr [ebp + 8] */ 14760 /* test eax, eax */ /* 0x2B02AAE6: test eax, eax */ 14761 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 14762 _cf = 0; 14763 _flag_k = FK_TEST; 14764 if (TEST_Z(_flag_a, _flag_b)) goto L_2B02AAF1; /* 0x2B02AAE8: je 0x2b02aaf1 */ 14765 L_2B02AAEA: 14766 ecx = MEM32(ebp + 0xC); /* 0x2B02AAEA: mov ecx, dword ptr [ebp + 0xc] */ 14767 edx = MEM32(ecx); /* 0x2B02AAED: mov edx, dword ptr [ecx] */ 14768 MEM32(eax) = edx; /* 0x2B02AAEF: mov dword ptr [eax], edx */ 14769 L_2B02AAF1: 14770 ebp = POP32_VAL(esp); /* 0x2B02AAF1: pop ebp */ 14771 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B02AAF2: ret */ 14772 RECOMP_REGS_OUT(); 14773 } 14774 14775 void sub_2B02AB00(void) { 14776 int _fpu_cmp = 0; 14777 uint32_t _cf = 0; 14778 int _df = 1; 14779 uint32_t _flag_k = FK_NONE; 14780 uint32_t _flag_a = 0, _flag_b = 0; 14781 uint32_t _itail_tgt = 0; 14782 RECOMP_REGS_LOCALS 14783 RECOMP_ENTER(0x2B02AB00u); 14784 14785 L_2B02AB00: 14786 PUSH32(esp, ebp); /* 0x2B02AB00: push ebp */ 14787 ebp = esp; /* 0x2B02AB01: mov ebp, esp */ 14788 PUSH32(esp, esi); /* 0x2B02AB03: push esi */ 14789 esi = ecx; /* 0x2B02AB04: mov esi, ecx */ 14790 RECOMP_ICALL(0x2B012D80u); /* 0x2B02AB06: call 0x2b012d80 */ /* not lifted */ 14791 RECOMP_FLAGS_IN(); 14792 /* test MEM8(ebp + 0x8), 1 */ /* 0x2B02AB0B: test byte ptr [ebp + 8], 1 */ 14793 _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24; 14794 _cf = 0; 14795 _flag_k = FK_NARROW(FK_TEST, 24); 14796 if (TEST_Z(_flag_a, _flag_b)) goto L_2B02AB1A; /* 0x2B02AB0F: je 0x2b02ab1a */ 14797 L_2B02AB11: 14798 PUSH32(esp, esi); /* 0x2B02AB11: push esi */ 14799 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B02AB12: call 0x2b0ab1ba */ /* not lifted */ 14800 RECOMP_FLAGS_IN(); 14801 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14802 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14803 esp = esp + 4; /* 0x2B02AB17: add esp, 4 */ 14804 _flag_k = FK_ADD; 14805 L_2B02AB1A: 14806 eax = esi; /* 0x2B02AB1A: mov eax, esi */ 14807 esi = POP32_VAL(esp); /* 0x2B02AB1C: pop esi */ 14808 ebp = POP32_VAL(esp); /* 0x2B02AB1D: pop ebp */ 14809 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B02AB1E: ret 4 */ 14810 RECOMP_REGS_OUT(); 14811 } 14812 14813 void sub_2B02AB30(void) { 14814 int _fpu_cmp = 0; 14815 uint32_t _cf = 0; 14816 int _df = 1; 14817 uint32_t _flag_k = FK_NONE; 14818 uint32_t _flag_a = 0, _flag_b = 0; 14819 uint32_t _itail_tgt = 0; 14820 RECOMP_REGS_LOCALS 14821 RECOMP_ENTER(0x2B02AB30u); 14822 14823 L_2B02AB30: 14824 PUSH32(esp, ebp); /* 0x2B02AB30: push ebp */ 14825 ebp = esp; /* 0x2B02AB31: mov ebp, esp */ 14826 PUSH32(esp, esi); /* 0x2B02AB33: push esi */ 14827 esi = ecx; /* 0x2B02AB34: mov esi, ecx */ 14828 RECOMP_ICALL(0x2B028990u); /* 0x2B02AB36: call 0x2b028990 */ /* not lifted */ 14829 RECOMP_FLAGS_IN(); 14830 /* test MEM8(ebp + 0x8), 1 */ /* 0x2B02AB3B: test byte ptr [ebp + 8], 1 */ 14831 _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24; 14832 _cf = 0; 14833 _flag_k = FK_NARROW(FK_TEST, 24); 14834 if (TEST_Z(_flag_a, _flag_b)) goto L_2B02AB4A; /* 0x2B02AB3F: je 0x2b02ab4a */ 14835 L_2B02AB41: 14836 PUSH32(esp, esi); /* 0x2B02AB41: push esi */ 14837 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B02AB42: call 0x2b0ab1ba */ /* not lifted */ 14838 RECOMP_FLAGS_IN(); 14839 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 14840 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14841 esp = esp + 4; /* 0x2B02AB47: add esp, 4 */ 14842 _flag_k = FK_ADD; 14843 L_2B02AB4A: 14844 eax = esi; /* 0x2B02AB4A: mov eax, esi */ 14845 esi = POP32_VAL(esp); /* 0x2B02AB4C: pop esi */ 14846 ebp = POP32_VAL(esp); /* 0x2B02AB4D: pop ebp */ 14847 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B02AB4E: ret 4 */ 14848 RECOMP_REGS_OUT(); 14849 } 14850 14851 void sub_2B02AB60(void) { 14852 int _fpu_cmp = 0; 14853 uint32_t _cf = 0; 14854 int _df = 1; 14855 uint32_t _flag_k = FK_NONE; 14856 uint32_t _flag_a = 0, _flag_b = 0; 14857 uint32_t _itail_tgt = 0; 14858 RECOMP_REGS_LOCALS 14859 RECOMP_ENTER(0x2B02AB60u); 14860 14861 L_2B02AB60: 14862 PUSH32(esp, ebp); /* 0x2B02AB60: push ebp */ 14863 ebp = esp; /* 0x2B02AB61: mov ebp, esp */ 14864 eax = MEM32(ebp + 0x8); /* 0x2B02AB63: mov eax, dword ptr [ebp + 8] */ 14865 edx = MEM32(eax + 0x4); /* 0x2B02AB66: mov edx, dword ptr [eax + 4] */ 14866 PUSH32(esp, ebx); /* 0x2B02AB69: push ebx */ 14867 ebx = MEM32(eax + 0x8); /* 0x2B02AB6A: mov ebx, dword ptr [eax + 8] */ 14868 eax = MEM32(ecx + 0x4); /* 0x2B02AB6D: mov eax, dword ptr [ecx + 4] */ 14869 PUSH32(esp, esi); /* 0x2B02AB70: push esi */ 14870 PUSH32(esp, edi); /* 0x2B02AB71: push edi */ 14871 edi = MEM32(ecx + 0x8); /* 0x2B02AB72: mov edi, dword ptr [ecx + 8] */ 14872 /* cmp eax, edi */ /* 0x2B02AB75: cmp eax, edi */ 14873 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 14874 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14875 _flag_k = FK_CMP; 14876 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02AB97; /* 0x2B02AB77: je 0x2b02ab97 */ 14877 L_2B02AB79: 14878 /* cmp edx, ebx */ /* 0x2B02AB79: cmp edx, ebx */ 14879 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 14880 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14881 _flag_k = FK_CMP; 14882 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02AB93; /* 0x2B02AB7B: je 0x2b02ab93 */ 14883 L_2B02AB7D: 14884 ecx = MEM32(eax); /* 0x2B02AB7D: mov ecx, dword ptr [eax] */ 14885 esi = MEM32(edx); /* 0x2B02AB7F: mov esi, dword ptr [edx] */ 14886 /* cmp esi, ecx */ /* 0x2B02AB81: cmp esi, ecx */ 14887 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ecx); 14888 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14889 _flag_k = FK_CMP; 14890 if (CMP_G(_flag_a, _flag_b)) goto L_2B02AB9B; /* 0x2B02AB83: jg 0x2b02ab9b */ 14891 L_2B02AB85: 14892 if (CMP_L(_flag_a, _flag_b)) goto L_2B02ABA4; /* 0x2B02AB85: jl 0x2b02aba4 */ 14893 L_2B02AB87: 14894 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 14895 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14896 eax = eax + 4; /* 0x2B02AB87: add eax, 4 */ 14897 _flag_k = FK_ADD; 14898 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(4); 14899 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14900 edx = edx + 4; /* 0x2B02AB8A: add edx, 4 */ 14901 _flag_k = FK_ADD; 14902 /* cmp eax, edi */ /* 0x2B02AB8D: cmp eax, edi */ 14903 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 14904 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14905 _flag_k = FK_CMP; 14906 RECOMP_BACKEDGE(); 14907 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02AB79; /* 0x2B02AB8F: jne 0x2b02ab79 */ 14908 L_2B02AB91: 14909 goto L_2B02AB97; /* 0x2B02AB91: jmp 0x2b02ab97 */ 14910 L_2B02AB93: 14911 /* cmp eax, edi */ /* 0x2B02AB93: cmp eax, edi */ 14912 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 14913 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14914 _flag_k = FK_CMP; 14915 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02ABA4; /* 0x2B02AB95: jne 0x2b02aba4 */ 14916 L_2B02AB97: 14917 /* cmp edx, ebx */ /* 0x2B02AB97: cmp edx, ebx */ 14918 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ebx); 14919 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14920 _flag_k = FK_CMP; 14921 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02ABA4; /* 0x2B02AB99: je 0x2b02aba4 */ 14922 L_2B02AB9B: 14923 edi = POP32_VAL(esp); /* 0x2B02AB9B: pop edi */ 14924 esi = POP32_VAL(esp); /* 0x2B02AB9C: pop esi */ 14925 SET_LO8(eax, 1); /* 0x2B02AB9D: mov al, 1 */ 14926 ebx = POP32_VAL(esp); /* 0x2B02AB9F: pop ebx */ 14927 ebp = POP32_VAL(esp); /* 0x2B02ABA0: pop ebp */ 14928 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B02ABA1: ret 4 */ 14929 L_2B02ABA4: 14930 edi = POP32_VAL(esp); /* 0x2B02ABA4: pop edi */ 14931 esi = POP32_VAL(esp); /* 0x2B02ABA5: pop esi */ 14932 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 14933 SET_LO8(eax, 0); /* 0x2B02ABA6: xor al, al */ 14934 _cf = 0; 14935 _flag_k = FK_NARROW(FK_TEST, 24); 14936 ebx = POP32_VAL(esp); /* 0x2B02ABA8: pop ebx */ 14937 ebp = POP32_VAL(esp); /* 0x2B02ABA9: pop ebp */ 14938 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B02ABAA: ret 4 */ 14939 RECOMP_REGS_OUT(); 14940 } 14941 14942 void sub_2B02ABB0(void) { 14943 int _fpu_cmp = 0; 14944 uint32_t _cf = 0; 14945 int _df = 1; 14946 uint32_t _flag_k = FK_NONE; 14947 uint32_t _flag_a = 0, _flag_b = 0; 14948 uint32_t _itail_tgt = 0; 14949 RECOMP_REGS_LOCALS 14950 RECOMP_ENTER(0x2B02ABB0u); 14951 14952 L_2B02ABB0: 14953 PUSH32(esp, ebp); /* 0x2B02ABB0: push ebp */ 14954 ebp = esp; /* 0x2B02ABB1: mov ebp, esp */ 14955 eax = MEM32(ebp + 0x8); /* 0x2B02ABB3: mov eax, dword ptr [ebp + 8] */ 14956 PUSH32(esp, ebx); /* 0x2B02ABB6: push ebx */ 14957 ebx = MEM32(ebp + 0x14); /* 0x2B02ABB7: mov ebx, dword ptr [ebp + 0x14] */ 14958 PUSH32(esp, esi); /* 0x2B02ABBA: push esi */ 14959 esi = MEM32(ebp + 0x10); /* 0x2B02ABBB: mov esi, dword ptr [ebp + 0x10] */ 14960 PUSH32(esp, edi); /* 0x2B02ABBE: push edi */ 14961 edi = MEM32(ebp + 0xC); /* 0x2B02ABBF: mov edi, dword ptr [ebp + 0xc] */ 14962 /* cmp eax, edi */ /* 0x2B02ABC2: cmp eax, edi */ 14963 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 14964 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14965 _flag_k = FK_CMP; 14966 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02ABF2; /* 0x2B02ABC4: je 0x2b02abf2 */ 14967 L_2B02ABC6: 14968 /* cmp esi, ebx */ /* 0x2B02ABC6: cmp esi, ebx */ 14969 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 14970 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14971 _flag_k = FK_CMP; 14972 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02ABEE; /* 0x2B02ABC8: je 0x2b02abee */ 14973 L_2B02ABCA: 14974 ecx = MEM32(eax); /* 0x2B02ABCA: mov ecx, dword ptr [eax] */ 14975 edx = MEM32(esi); /* 0x2B02ABCC: mov edx, dword ptr [esi] */ 14976 /* cmp edx, ecx */ /* 0x2B02ABCE: cmp edx, ecx */ 14977 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 14978 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14979 _flag_k = FK_CMP; 14980 if (CMP_G(_flag_a, _flag_b)) goto L_2B02ABE0; /* 0x2B02ABD0: jg 0x2b02abe0 */ 14981 L_2B02ABD2: 14982 if (CMP_L(_flag_a, _flag_b)) goto L_2B02ABE7; /* 0x2B02ABD2: jl 0x2b02abe7 */ 14983 L_2B02ABD4: 14984 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 14985 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14986 eax = eax + 4; /* 0x2B02ABD4: add eax, 4 */ 14987 _flag_k = FK_ADD; 14988 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(4); 14989 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 14990 esi = esi + 4; /* 0x2B02ABD7: add esi, 4 */ 14991 _flag_k = FK_ADD; 14992 /* cmp eax, edi */ /* 0x2B02ABDA: cmp eax, edi */ 14993 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 14994 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 14995 _flag_k = FK_CMP; 14996 RECOMP_BACKEDGE(); 14997 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02ABC6; /* 0x2B02ABDC: jne 0x2b02abc6 */ 14998 L_2B02ABDE: 14999 goto L_2B02ABF2; /* 0x2B02ABDE: jmp 0x2b02abf2 */ 15000 L_2B02ABE0: 15001 edi = POP32_VAL(esp); /* 0x2B02ABE0: pop edi */ 15002 esi = POP32_VAL(esp); /* 0x2B02ABE1: pop esi */ 15003 SET_LO8(eax, 1); /* 0x2B02ABE2: mov al, 1 */ 15004 ebx = POP32_VAL(esp); /* 0x2B02ABE4: pop ebx */ 15005 ebp = POP32_VAL(esp); /* 0x2B02ABE5: pop ebp */ 15006 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B02ABE6: ret */ 15007 L_2B02ABE7: 15008 edi = POP32_VAL(esp); /* 0x2B02ABE7: pop edi */ 15009 esi = POP32_VAL(esp); /* 0x2B02ABE8: pop esi */ 15010 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 15011 SET_LO8(eax, 0); /* 0x2B02ABE9: xor al, al */ 15012 _cf = 0; 15013 _flag_k = FK_NARROW(FK_TEST, 24); 15014 ebx = POP32_VAL(esp); /* 0x2B02ABEB: pop ebx */ 15015 ebp = POP32_VAL(esp); /* 0x2B02ABEC: pop ebp */ 15016 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B02ABED: ret */ 15017 L_2B02ABEE: 15018 /* cmp eax, edi */ /* 0x2B02ABEE: cmp eax, edi */ 15019 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 15020 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15021 _flag_k = FK_CMP; 15022 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02AC00; /* 0x2B02ABF0: jne 0x2b02ac00 */ 15023 L_2B02ABF2: 15024 /* cmp esi, ebx */ /* 0x2B02ABF2: cmp esi, ebx */ 15025 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 15026 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15027 _flag_k = FK_CMP; 15028 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02AC00; /* 0x2B02ABF4: je 0x2b02ac00 */ 15029 L_2B02ABF6: 15030 edi = POP32_VAL(esp); /* 0x2B02ABF6: pop edi */ 15031 esi = POP32_VAL(esp); /* 0x2B02ABF7: pop esi */ 15032 eax = 1; /* 0x2B02ABF8: mov eax, 1 */ 15033 ebx = POP32_VAL(esp); /* 0x2B02ABFD: pop ebx */ 15034 ebp = POP32_VAL(esp); /* 0x2B02ABFE: pop ebp */ 15035 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B02ABFF: ret */ 15036 L_2B02AC00: 15037 edi = POP32_VAL(esp); /* 0x2B02AC00: pop edi */ 15038 esi = POP32_VAL(esp); /* 0x2B02AC01: pop esi */ 15039 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15040 eax = 0; /* 0x2B02AC02: xor eax, eax */ 15041 _cf = 0; 15042 _flag_k = FK_TEST; 15043 ebx = POP32_VAL(esp); /* 0x2B02AC04: pop ebx */ 15044 ebp = POP32_VAL(esp); /* 0x2B02AC05: pop ebp */ 15045 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B02AC06: ret */ 15046 RECOMP_REGS_OUT(); 15047 } 15048 15049 void sub_2B02AC10(void) { 15050 int _fpu_cmp = 0; 15051 uint32_t _cf = 0; 15052 int _df = 1; 15053 uint32_t _flag_k = FK_NONE; 15054 uint32_t _flag_a = 0, _flag_b = 0; 15055 uint32_t _itail_tgt = 0; 15056 RECOMP_REGS_LOCALS 15057 RECOMP_ENTER(0x2B02AC10u); 15058 15059 L_2B02AC10: 15060 PUSH32(esp, ebp); /* 0x2B02AC10: push ebp */ 15061 ebp = esp; /* 0x2B02AC11: mov ebp, esp */ 15062 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B02AC13: push -1 */ 15063 PUSH32(esp, 0x2B0ADD4Du); /* 0x2B02AC15: push 0x2b0add4d */ 15064 eax = MEM32(FS_BASE + (0)); /* 0x2B02AC1A: mov eax, dword ptr fs:[0] */ 15065 PUSH32(esp, eax); /* 0x2B02AC20: push eax */ 15066 MEM32(FS_BASE + (0)) = esp; /* 0x2B02AC21: mov dword ptr fs:[0], esp */ 15067 PUSH32(esp, ecx); /* 0x2B02AC28: push ecx */ 15068 SET_LO8(eax, MEM8(ebp + 0x1F)); /* 0x2B02AC29: mov al, byte ptr [ebp + 0x1f] */ 15069 PUSH32(esp, ebx); /* 0x2B02AC2C: push ebx */ 15070 ebx = ecx; /* 0x2B02AC2D: mov ebx, ecx */ 15071 PUSH32(esp, esi); /* 0x2B02AC2F: push esi */ 15072 esi = ebx + 0x18; /* 0x2B02AC30: lea esi, [ebx + 0x18] */ 15073 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15074 edx = 0; /* 0x2B02AC33: xor edx, edx */ 15075 _cf = 0; 15076 _flag_k = FK_TEST; 15077 PUSH32(esp, edi); /* 0x2B02AC35: push edi */ 15078 MEM32(ebp + (-0x10)) = ebx; /* 0x2B02AC36: mov dword ptr [ebp - 0x10], ebx */ 15079 MEM8(esi) = (uint8_t)(LO8(eax)); /* 0x2B02AC39: mov byte ptr [esi], al */ 15080 MEM32(esi + 0x4) = edx; /* 0x2B02AC3B: mov dword ptr [esi + 4], edx */ 15081 MEM32(esi + 0x8) = edx; /* 0x2B02AC3E: mov dword ptr [esi + 8], edx */ 15082 MEM32(esi + 0xC) = edx; /* 0x2B02AC41: mov dword ptr [esi + 0xc], edx */ 15083 SET_LO8(ecx, MEM8(ebp + 0x1F)); /* 0x2B02AC44: mov cl, byte ptr [ebp + 0x1f] */ 15084 MEM32(ebp + (-0x4)) = edx; /* 0x2B02AC47: mov dword ptr [ebp - 4], edx */ 15085 MEM8(ebx + 0x2C) = (uint8_t)(LO8(ecx)); /* 0x2B02AC4A: mov byte ptr [ebx + 0x2c], cl */ 15086 MEM32(ebx + 0x30) = edx; /* 0x2B02AC4D: mov dword ptr [ebx + 0x30], edx */ 15087 MEM32(ebx + 0x34) = edx; /* 0x2B02AC50: mov dword ptr [ebx + 0x34], edx */ 15088 MEM32(ebx + 0x38) = edx; /* 0x2B02AC53: mov dword ptr [ebx + 0x38], edx */ 15089 SET_LO8(eax, MEM8(ebp + 0x1F)); /* 0x2B02AC56: mov al, byte ptr [ebp + 0x1f] */ 15090 MEM8(ebx + 0x40) = (uint8_t)(LO8(eax)); /* 0x2B02AC59: mov byte ptr [ebx + 0x40], al */ 15091 MEM32(ebx + 0x44) = edx; /* 0x2B02AC5C: mov dword ptr [ebx + 0x44], edx */ 15092 MEM32(ebx + 0x48) = edx; /* 0x2B02AC5F: mov dword ptr [ebx + 0x48], edx */ 15093 MEM32(ebx + 0x4C) = edx; /* 0x2B02AC62: mov dword ptr [ebx + 0x4c], edx */ 15094 ecx = MEM32(ebp + 0x8); /* 0x2B02AC65: mov ecx, dword ptr [ebp + 8] */ 15095 eax = MEM32(ebp + 0xC); /* 0x2B02AC68: mov eax, dword ptr [ebp + 0xc] */ 15096 edi = MEM32(ebp + 0x1C); /* 0x2B02AC6B: mov edi, dword ptr [ebp + 0x1c] */ 15097 MEM32(ebx + 0x5C) = edx; /* 0x2B02AC6E: mov dword ptr [ebx + 0x5c], edx */ 15098 MEM32(ebx + 0x60) = edx; /* 0x2B02AC71: mov dword ptr [ebx + 0x60], edx */ 15099 MEM32(ebx + 0x64) = edx; /* 0x2B02AC74: mov dword ptr [ebx + 0x64], edx */ 15100 MEM32(ebx + 0x68) = edx; /* 0x2B02AC77: mov dword ptr [ebx + 0x68], edx */ 15101 MEM32(ebx + 0x6C) = edx; /* 0x2B02AC7A: mov dword ptr [ebx + 0x6c], edx */ 15102 MEM32(ebx + 0x70) = edx; /* 0x2B02AC7D: mov dword ptr [ebx + 0x70], edx */ 15103 MEM32(ebx + 0x74) = 0x3F800000u; /* 0x2B02AC80: mov dword ptr [ebx + 0x74], 0x3f800000 */ 15104 MEM32(ebx) = ecx; /* 0x2B02AC87: mov dword ptr [ebx], ecx */ 15105 ecx = MEM32(ebp + 0x10); /* 0x2B02AC89: mov ecx, dword ptr [ebp + 0x10] */ 15106 MEM32(ebx + 0x8) = ecx; /* 0x2B02AC8C: mov dword ptr [ebx + 8], ecx */ 15107 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 15108 ecx = ecx | 0xFFFFFFFFu; /* 0x2B02AC8F: or ecx, 0xffffffff */ 15109 _cf = 0; 15110 _flag_k = FK_TEST; 15111 MEM32(ebx + 0x4) = eax; /* 0x2B02AC92: mov dword ptr [ebx + 4], eax */ 15112 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15113 eax = 0; /* 0x2B02AC95: xor eax, eax */ 15114 _cf = 0; 15115 _flag_k = FK_TEST; 15116 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B02AC97: repne scasb al, byte ptr es:[edi] */ 15117 ecx = ~ecx; /* 0x2B02AC99: not ecx */ 15118 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 15119 ecx = ecx - 1; /* 0x2B02AC9B: dec ecx */ 15120 _flag_k = FK_DEC; 15121 edi = ecx; /* 0x2B02AC9C: mov edi, ecx */ 15122 /* cmp edi, 0xFFFFFFFDu */ /* 0x2B02AC9E: cmp edi, -3 */ 15123 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0xFFFFFFFDu); 15124 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15125 _flag_k = FK_CMP; 15126 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B02ACA1: mov byte ptr [ebp - 4], 2 */ 15127 MEM32(ebp + 0x8) = edi; /* 0x2B02ACA5: mov dword ptr [ebp + 8], edi */ 15128 if (CMP_BE(_flag_a, _flag_b)) goto L_2B02ACB2; /* 0x2B02ACA8: jbe 0x2b02acb2 */ 15129 L_2B02ACAA: 15130 RECOMP_ICALL(MEM32(0x2B0B51A8)); /* 0x2B02ACAA: call dword ptr [0x2b0b51a8] */ 15131 RECOMP_FLAGS_IN(); 15132 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15133 edx = 0; /* 0x2B02ACB0: xor edx, edx */ 15134 _cf = 0; 15135 _flag_k = FK_TEST; 15136 L_2B02ACB2: 15137 eax = MEM32(esi + 0x4); /* 0x2B02ACB2: mov eax, dword ptr [esi + 4] */ 15138 /* cmp eax, edx */ /* 0x2B02ACB5: cmp eax, edx */ 15139 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 15140 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15141 _flag_k = FK_CMP; 15142 MEM32(esi + 0x8) = edx; /* 0x2B02ACB7: mov dword ptr [esi + 8], edx */ 15143 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02ACD7; /* 0x2B02ACBA: je 0x2b02acd7 */ 15144 L_2B02ACBC: 15145 SET_LO8(eax, MEM8(eax + (-0x1))); /* 0x2B02ACBC: mov al, byte ptr [eax - 1] */ 15146 /* test LO8(eax), LO8(eax) */ /* 0x2B02ACBF: test al, al */ 15147 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 15148 _cf = 0; 15149 _flag_k = FK_NARROW(FK_TEST, 24); 15150 if (TEST_Z(_flag_a, _flag_b)) goto L_2B02ACD7; /* 0x2B02ACC1: je 0x2b02acd7 */ 15151 L_2B02ACC3: 15152 /* cmp LO8(eax), 0xFFu */ /* 0x2B02ACC3: cmp al, 0xff */ 15153 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 15154 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15155 _flag_k = FK_NARROW(FK_CMP, 24); 15156 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02ACD7; /* 0x2B02ACC5: je 0x2b02acd7 */ 15157 L_2B02ACC7: 15158 /* cmp edi, edx */ /* 0x2B02ACC7: cmp edi, edx */ 15159 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 15160 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15161 _flag_k = FK_CMP; 15162 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02ACFD; /* 0x2B02ACC9: jne 0x2b02acfd */ 15163 L_2B02ACCB: 15164 PUSH32(esp, 1); /* 0x2B02ACCB: push 1 */ 15165 ecx = esi; /* 0x2B02ACCD: mov ecx, esi */ 15166 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B02ACCF: call dword ptr [0x2b0b514c] */ 15167 RECOMP_FLAGS_IN(); 15168 goto L_2B02AD2C; /* 0x2B02ACD5: jmp 0x2b02ad2c */ 15169 L_2B02ACD7: 15170 /* cmp edi, edx */ /* 0x2B02ACD7: cmp edi, edx */ 15171 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edx); 15172 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15173 _flag_k = FK_CMP; 15174 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02ACE7; /* 0x2B02ACD9: jne 0x2b02ace7 */ 15175 L_2B02ACDB: 15176 PUSH32(esp, 1); /* 0x2B02ACDB: push 1 */ 15177 ecx = esi; /* 0x2B02ACDD: mov ecx, esi */ 15178 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B02ACDF: call dword ptr [0x2b0b514c] */ 15179 RECOMP_FLAGS_IN(); 15180 goto L_2B02AD2C; /* 0x2B02ACE5: jmp 0x2b02ad2c */ 15181 L_2B02ACE7: 15182 eax = MEM32(esi + 0xC); /* 0x2B02ACE7: mov eax, dword ptr [esi + 0xc] */ 15183 /* cmp eax, 0x1Fu */ /* 0x2B02ACEA: cmp eax, 0x1f */ 15184 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1Fu); 15185 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15186 _flag_k = FK_CMP; 15187 if (CMP_A(_flag_a, _flag_b)) goto L_2B02ACF3; /* 0x2B02ACED: ja 0x2b02acf3 */ 15188 L_2B02ACEF: 15189 /* cmp eax, edi */ /* 0x2B02ACEF: cmp eax, edi */ 15190 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 15191 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15192 _flag_k = FK_CMP; 15193 if (CMP_AE(_flag_a, _flag_b)) goto L_2B02AD06; /* 0x2B02ACF1: jae 0x2b02ad06 */ 15194 L_2B02ACF3: 15195 PUSH32(esp, 1); /* 0x2B02ACF3: push 1 */ 15196 ecx = esi; /* 0x2B02ACF5: mov ecx, esi */ 15197 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B02ACF7: call dword ptr [0x2b0b514c] */ 15198 RECOMP_FLAGS_IN(); 15199 L_2B02ACFD: 15200 PUSH32(esp, edi); /* 0x2B02ACFD: push edi */ 15201 ecx = esi; /* 0x2B02ACFE: mov ecx, esi */ 15202 RECOMP_ICALL(MEM32(0x2B0B5110)); /* 0x2B02AD00: call dword ptr [0x2b0b5110] */ 15203 RECOMP_FLAGS_IN(); 15204 L_2B02AD06: 15205 eax = MEM32(esi + 0x4); /* 0x2B02AD06: mov eax, dword ptr [esi + 4] */ 15206 esi = MEM32(ebp + 0x1C); /* 0x2B02AD09: mov esi, dword ptr [ebp + 0x1c] */ 15207 ecx = edi; /* 0x2B02AD0C: mov ecx, edi */ 15208 edx = ecx; /* 0x2B02AD0E: mov edx, ecx */ 15209 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B02AD10: shr ecx, 2 */ 15210 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 15211 ecx = ecx >> 2u; /* 0x2B02AD10: shr ecx, 2 */ 15212 edi = eax; /* 0x2B02AD13: mov edi, eax */ 15213 eax = MEM32(ebp + 0x8); /* 0x2B02AD15: mov eax, dword ptr [ebp + 8] */ 15214 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B02AD18: 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; } 15215 ecx = edx; /* 0x2B02AD1A: mov ecx, edx */ 15216 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 15217 ecx = ecx & 3; /* 0x2B02AD1C: and ecx, 3 */ 15218 _cf = 0; 15219 _flag_k = FK_TEST; 15220 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B02AD1F: 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; } 15221 ecx = MEM32(ebx + 0x1C); /* 0x2B02AD21: mov ecx, dword ptr [ebx + 0x1c] */ 15222 MEM32(ebx + 0x20) = eax; /* 0x2B02AD24: mov dword ptr [ebx + 0x20], eax */ 15223 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 15224 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15225 eax = eax + ecx; /* 0x2B02AD27: add eax, ecx */ 15226 _flag_k = FK_ADD; 15227 MEM8(eax) = (uint8_t)(0); /* 0x2B02AD29: mov byte ptr [eax], 0 */ 15228 L_2B02AD2C: 15229 eax = MEM32(ebp + 0x14); /* 0x2B02AD2C: mov eax, dword ptr [ebp + 0x14] */ 15230 ecx = MEM32(ebp + 0x18); /* 0x2B02AD2F: mov ecx, dword ptr [ebp + 0x18] */ 15231 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15232 esi = 0; /* 0x2B02AD32: xor esi, esi */ 15233 _cf = 0; 15234 _flag_k = FK_TEST; 15235 MEM32(ebx + 0xC) = eax; /* 0x2B02AD34: mov dword ptr [ebx + 0xc], eax */ 15236 MEM32(ebx + 0x10) = ecx; /* 0x2B02AD37: mov dword ptr [ebx + 0x10], ecx */ 15237 MEM32(ebx + 0x78) = esi; /* 0x2B02AD3A: mov dword ptr [ebx + 0x78], esi */ 15238 MEM32(ebx + 0x7C) = esi; /* 0x2B02AD3D: mov dword ptr [ebx + 0x7c], esi */ 15239 eax = MEM32(0x2B0EE79C); /* 0x2B02AD40: mov eax, dword ptr [0x2b0ee79c] */ 15240 edx = eax; /* 0x2B02AD45: mov edx, eax */ 15241 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 15242 eax = eax + 1; /* 0x2B02AD47: inc eax */ 15243 _flag_k = FK_INC; 15244 /* test edx, edx */ /* 0x2B02AD48: test edx, edx */ 15245 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 15246 _cf = 0; 15247 _flag_k = FK_TEST; 15248 MEM32(0x2B0EE79C) = eax; /* 0x2B02AD4A: mov dword ptr [0x2b0ee79c], eax */ 15249 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02AD7A; /* 0x2B02AD4F: jne 0x2b02ad7a */ 15250 L_2B02AD51: 15251 PUSH32(esp, 1); /* 0x2B02AD51: push 1 */ 15252 RECOMP_ICALL(0x2B0AB212u); /* 0x2B02AD53: call 0x2b0ab212 */ /* not lifted */ 15253 RECOMP_FLAGS_IN(); 15254 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15255 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15256 esp = esp + 4; /* 0x2B02AD58: add esp, 4 */ 15257 _flag_k = FK_ADD; 15258 MEM32(ebp + 0x1C) = eax; /* 0x2B02AD5B: mov dword ptr [ebp + 0x1c], eax */ 15259 /* cmp eax, esi */ /* 0x2B02AD5E: cmp eax, esi */ 15260 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 15261 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15262 _flag_k = FK_CMP; 15263 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B02AD60: mov byte ptr [ebp - 4], 3 */ 15264 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02AD6F; /* 0x2B02AD64: je 0x2b02ad6f */ 15265 L_2B02AD66: 15266 ecx = eax; /* 0x2B02AD66: mov ecx, eax */ 15267 RECOMP_ICALL(0x2B030230u); /* 0x2B02AD68: call 0x2b030230 */ /* not lifted */ 15268 RECOMP_FLAGS_IN(); 15269 goto L_2B02AD71; /* 0x2B02AD6D: jmp 0x2b02ad71 */ 15270 L_2B02AD6F: 15271 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15272 eax = 0; /* 0x2B02AD6F: xor eax, eax */ 15273 _cf = 0; 15274 _flag_k = FK_TEST; 15275 L_2B02AD71: 15276 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B02AD71: mov byte ptr [ebp - 4], 2 */ 15277 MEM32(0x2B0EE798) = eax; /* 0x2B02AD75: mov dword ptr [0x2b0ee798], eax */ 15278 L_2B02AD7A: 15279 ecx = ebx; /* 0x2B02AD7A: mov ecx, ebx */ 15280 RECOMP_ICALL(0x2B02B660u); /* 0x2B02AD7C: call 0x2b02b660 */ /* not lifted */ 15281 RECOMP_FLAGS_IN(); 15282 ecx = MEM32(ebp + (-0xC)); /* 0x2B02AD81: mov ecx, dword ptr [ebp - 0xc] */ 15283 edi = POP32_VAL(esp); /* 0x2B02AD84: pop edi */ 15284 esi = POP32_VAL(esp); /* 0x2B02AD85: pop esi */ 15285 eax = ebx; /* 0x2B02AD86: mov eax, ebx */ 15286 ebx = POP32_VAL(esp); /* 0x2B02AD88: pop ebx */ 15287 MEM32(FS_BASE + (0)) = ecx; /* 0x2B02AD89: mov dword ptr fs:[0], ecx */ 15288 esp = ebp; /* 0x2B02AD90: mov esp, ebp */ 15289 ebp = POP32_VAL(esp); /* 0x2B02AD92: pop ebp */ 15290 RECOMP_FLAGS_OUT(); esp += 28; { RECOMP_REGS_OUT(); return; } /* 0x2B02AD93: ret 0x18 */ 15291 RECOMP_REGS_OUT(); 15292 } 15293 15294 void sub_2B02ADA0(void) { 15295 int _fpu_cmp = 0; 15296 uint32_t _cf = 0; 15297 int _df = 1; 15298 uint32_t _flag_k = FK_NONE; 15299 uint32_t _flag_a = 0, _flag_b = 0; 15300 uint32_t _itail_tgt = 0; 15301 RECOMP_REGS_LOCALS 15302 RECOMP_ENTER(0x2B02ADA0u); 15303 15304 L_2B02ADA0: 15305 PUSH32(esp, ebp); /* 0x2B02ADA0: push ebp */ 15306 ebp = esp; /* 0x2B02ADA1: mov ebp, esp */ 15307 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B02ADA3: push -1 */ 15308 PUSH32(esp, 0x2B0ADD82u); /* 0x2B02ADA5: push 0x2b0add82 */ 15309 eax = MEM32(FS_BASE + (0)); /* 0x2B02ADAA: mov eax, dword ptr fs:[0] */ 15310 PUSH32(esp, eax); /* 0x2B02ADB0: push eax */ 15311 MEM32(FS_BASE + (0)) = esp; /* 0x2B02ADB1: mov dword ptr fs:[0], esp */ 15312 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 15313 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15314 esp = esp - 8; /* 0x2B02ADB8: sub esp, 8 */ 15315 _flag_k = FK_CMP; 15316 PUSH32(esp, esi); /* 0x2B02ADBB: push esi */ 15317 esi = ecx; /* 0x2B02ADBC: mov esi, ecx */ 15318 PUSH32(esp, edi); /* 0x2B02ADBE: push edi */ 15319 MEM32(ebp + (-0x10)) = esi; /* 0x2B02ADBF: mov dword ptr [ebp - 0x10], esi */ 15320 ecx = MEM32(esi + 0x7C); /* 0x2B02ADC2: mov ecx, dword ptr [esi + 0x7c] */ 15321 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15322 edi = 0; /* 0x2B02ADC5: xor edi, edi */ 15323 _cf = 0; 15324 _flag_k = FK_TEST; 15325 /* cmp ecx, edi */ /* 0x2B02ADC7: cmp ecx, edi */ 15326 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 15327 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15328 _flag_k = FK_CMP; 15329 MEM32(ebp + (-0x4)) = 2; /* 0x2B02ADC9: mov dword ptr [ebp - 4], 2 */ 15330 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02ADD8; /* 0x2B02ADD0: je 0x2b02add8 */ 15331 L_2B02ADD2: 15332 eax = MEM32(ecx); /* 0x2B02ADD2: mov eax, dword ptr [ecx] */ 15333 PUSH32(esp, 1); /* 0x2B02ADD4: push 1 */ 15334 RECOMP_ICALL(MEM32(eax)); /* 0x2B02ADD6: call dword ptr [eax] */ 15335 RECOMP_FLAGS_IN(); 15336 L_2B02ADD8: 15337 ecx = MEM32(esi + 0x78); /* 0x2B02ADD8: mov ecx, dword ptr [esi + 0x78] */ 15338 /* cmp ecx, edi */ /* 0x2B02ADDB: cmp ecx, edi */ 15339 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 15340 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15341 _flag_k = FK_CMP; 15342 MEM32(esi + 0x7C) = edi; /* 0x2B02ADDD: mov dword ptr [esi + 0x7c], edi */ 15343 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02ADE9; /* 0x2B02ADE0: je 0x2b02ade9 */ 15344 L_2B02ADE2: 15345 edx = MEM32(ecx); /* 0x2B02ADE2: mov edx, dword ptr [ecx] */ 15346 PUSH32(esp, 1); /* 0x2B02ADE4: push 1 */ 15347 RECOMP_ICALL(MEM32(edx + 0x10)); /* 0x2B02ADE6: call dword ptr [edx + 0x10] */ 15348 RECOMP_FLAGS_IN(); 15349 L_2B02ADE9: 15350 MEM32(esi + 0x78) = edi; /* 0x2B02ADE9: mov dword ptr [esi + 0x78], edi */ 15351 eax = MEM32(0x2B0EE79C); /* 0x2B02ADEC: mov eax, dword ptr [0x2b0ee79c] */ 15352 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 15353 eax = eax - 1; /* 0x2B02ADF1: dec eax */ 15354 _flag_k = FK_DEC; 15355 PUSH32(esp, ebx); /* 0x2B02ADF2: push ebx */ 15356 MEM32(0x2B0EE79C) = eax; /* 0x2B02ADF3: mov dword ptr [0x2b0ee79c], eax */ 15357 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B02AE1A; /* 0x2B02ADF8: jne 0x2b02ae1a */ 15358 L_2B02ADFA: 15359 ebx = MEM32(0x2B0EE798); /* 0x2B02ADFA: mov ebx, dword ptr [0x2b0ee798] */ 15360 /* cmp ebx, edi */ /* 0x2B02AE00: cmp ebx, edi */ 15361 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edi); 15362 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15363 _flag_k = FK_CMP; 15364 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02AE14; /* 0x2B02AE02: je 0x2b02ae14 */ 15365 L_2B02AE04: 15366 ecx = ebx; /* 0x2B02AE04: mov ecx, ebx */ 15367 RECOMP_ICALL(0x2B001520u); /* 0x2B02AE06: call 0x2b001520 */ /* not lifted */ 15368 RECOMP_FLAGS_IN(); 15369 PUSH32(esp, ebx); /* 0x2B02AE0B: push ebx */ 15370 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B02AE0C: call 0x2b0ab1ba */ /* not lifted */ 15371 RECOMP_FLAGS_IN(); 15372 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15373 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15374 esp = esp + 4; /* 0x2B02AE11: add esp, 4 */ 15375 _flag_k = FK_ADD; 15376 L_2B02AE14: 15377 MEM32(0x2B0EE798) = edi; /* 0x2B02AE14: mov dword ptr [0x2b0ee798], edi */ 15378 L_2B02AE1A: 15379 eax = MEM32(esi + 0x44); /* 0x2B02AE1A: mov eax, dword ptr [esi + 0x44] */ 15380 PUSH32(esp, eax); /* 0x2B02AE1D: push eax */ 15381 MEM32(ebp + (-0x14)) = eax; /* 0x2B02AE1E: mov dword ptr [ebp - 0x14], eax */ 15382 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B02AE21: call 0x2b0ab1ba */ /* not lifted */ 15383 RECOMP_FLAGS_IN(); 15384 MEM32(esi + 0x44) = edi; /* 0x2B02AE26: mov dword ptr [esi + 0x44], edi */ 15385 MEM32(esi + 0x48) = edi; /* 0x2B02AE29: mov dword ptr [esi + 0x48], edi */ 15386 MEM32(esi + 0x4C) = edi; /* 0x2B02AE2C: mov dword ptr [esi + 0x4c], edi */ 15387 ebx = MEM32(esi + 0x34); /* 0x2B02AE2F: mov ebx, dword ptr [esi + 0x34] */ 15388 edi = MEM32(esi + 0x30); /* 0x2B02AE32: mov edi, dword ptr [esi + 0x30] */ 15389 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15390 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15391 esp = esp + 4; /* 0x2B02AE35: add esp, 4 */ 15392 _flag_k = FK_ADD; 15393 /* cmp edi, ebx */ /* 0x2B02AE38: cmp edi, ebx */ 15394 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 15395 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15396 _flag_k = FK_CMP; 15397 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B02AE3A: mov byte ptr [ebp - 4], 0 */ 15398 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02AE51; /* 0x2B02AE3E: je 0x2b02ae51 */ 15399 L_2B02AE40: 15400 PUSH32(esp, 1); /* 0x2B02AE40: push 1 */ 15401 ecx = edi; /* 0x2B02AE42: mov ecx, edi */ 15402 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B02AE44: call dword ptr [0x2b0b514c] */ 15403 RECOMP_FLAGS_IN(); 15404 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 15405 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15406 edi = edi + 0x10u; /* 0x2B02AE4A: add edi, 0x10 */ 15407 _flag_k = FK_ADD; 15408 /* cmp edi, ebx */ /* 0x2B02AE4D: cmp edi, ebx */ 15409 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ebx); 15410 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15411 _flag_k = FK_CMP; 15412 RECOMP_BACKEDGE(); 15413 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02AE40; /* 0x2B02AE4F: jne 0x2b02ae40 */ 15414 L_2B02AE51: 15415 eax = MEM32(esi + 0x30); /* 0x2B02AE51: mov eax, dword ptr [esi + 0x30] */ 15416 PUSH32(esp, eax); /* 0x2B02AE54: push eax */ 15417 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B02AE55: call 0x2b0ab1ba */ /* not lifted */ 15418 RECOMP_FLAGS_IN(); 15419 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15420 edi = 0; /* 0x2B02AE5A: xor edi, edi */ 15421 _cf = 0; 15422 _flag_k = FK_TEST; 15423 MEM32(esi + 0x30) = edi; /* 0x2B02AE5C: mov dword ptr [esi + 0x30], edi */ 15424 MEM32(esi + 0x34) = edi; /* 0x2B02AE5F: mov dword ptr [esi + 0x34], edi */ 15425 MEM32(esi + 0x38) = edi; /* 0x2B02AE62: mov dword ptr [esi + 0x38], edi */ 15426 eax = MEM32(esi + 0x1C); /* 0x2B02AE65: mov eax, dword ptr [esi + 0x1c] */ 15427 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15428 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15429 esp = esp + 4; /* 0x2B02AE68: add esp, 4 */ 15430 _flag_k = FK_ADD; 15431 /* cmp eax, edi */ /* 0x2B02AE6B: cmp eax, edi */ 15432 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 15433 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15434 _flag_k = FK_CMP; 15435 ebx = POP32_VAL(esp); /* 0x2B02AE6D: pop ebx */ 15436 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02AE8C; /* 0x2B02AE6E: je 0x2b02ae8c */ 15437 L_2B02AE70: 15438 ecx = eax + (-0x1); /* 0x2B02AE70: lea ecx, [eax - 1] */ 15439 SET_LO8(eax, MEM8(ecx)); /* 0x2B02AE73: mov al, byte ptr [ecx] */ 15440 /* test LO8(eax), LO8(eax) */ /* 0x2B02AE75: test al, al */ 15441 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 15442 _cf = 0; 15443 _flag_k = FK_NARROW(FK_TEST, 24); 15444 if (TEST_Z(_flag_a, _flag_b)) goto L_2B02AE83; /* 0x2B02AE77: je 0x2b02ae83 */ 15445 L_2B02AE79: 15446 /* cmp LO8(eax), 0xFFu */ /* 0x2B02AE79: cmp al, 0xff */ 15447 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 15448 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15449 _flag_k = FK_NARROW(FK_CMP, 24); 15450 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02AE83; /* 0x2B02AE7B: je 0x2b02ae83 */ 15451 L_2B02AE7D: 15452 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 15453 SET_LO8(eax, LO8(eax) - 1); /* 0x2B02AE7D: dec al */ 15454 _flag_k = FK_NARROW(FK_DEC, 24); 15455 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B02AE7F: mov byte ptr [ecx], al */ 15456 goto L_2B02AE8C; /* 0x2B02AE81: jmp 0x2b02ae8c */ 15457 L_2B02AE83: 15458 PUSH32(esp, ecx); /* 0x2B02AE83: push ecx */ 15459 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B02AE84: call 0x2b0ab1ba */ /* not lifted */ 15460 RECOMP_FLAGS_IN(); 15461 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15462 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15463 esp = esp + 4; /* 0x2B02AE89: add esp, 4 */ 15464 _flag_k = FK_ADD; 15465 L_2B02AE8C: 15466 ecx = MEM32(ebp + (-0xC)); /* 0x2B02AE8C: mov ecx, dword ptr [ebp - 0xc] */ 15467 MEM32(esi + 0x1C) = edi; /* 0x2B02AE8F: mov dword ptr [esi + 0x1c], edi */ 15468 MEM32(esi + 0x20) = edi; /* 0x2B02AE92: mov dword ptr [esi + 0x20], edi */ 15469 MEM32(esi + 0x24) = edi; /* 0x2B02AE95: mov dword ptr [esi + 0x24], edi */ 15470 edi = POP32_VAL(esp); /* 0x2B02AE98: pop edi */ 15471 esi = POP32_VAL(esp); /* 0x2B02AE99: pop esi */ 15472 MEM32(FS_BASE + (0)) = ecx; /* 0x2B02AE9A: mov dword ptr fs:[0], ecx */ 15473 esp = ebp; /* 0x2B02AEA1: mov esp, ebp */ 15474 ebp = POP32_VAL(esp); /* 0x2B02AEA3: pop ebp */ 15475 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B02AEA4: ret */ 15476 RECOMP_REGS_OUT(); 15477 } 15478 15479 void sub_2B02AEB0(void) { 15480 int _fpu_cmp = 0; 15481 uint32_t _cf = 0; 15482 int _df = 1; 15483 uint32_t _flag_k = FK_NONE; 15484 uint32_t _flag_a = 0, _flag_b = 0; 15485 uint32_t _itail_tgt = 0; 15486 RECOMP_REGS_LOCALS 15487 RECOMP_ENTER(0x2B02AEB0u); 15488 15489 L_2B02AEB0: 15490 PUSH32(esp, ebp); /* 0x2B02AEB0: push ebp */ 15491 ebp = esp; /* 0x2B02AEB1: mov ebp, esp */ 15492 eax = MEM32(ebp + 0x8); /* 0x2B02AEB3: mov eax, dword ptr [ebp + 8] */ 15493 edx = MEM32(ebp + 0x10); /* 0x2B02AEB6: mov edx, dword ptr [ebp + 0x10] */ 15494 PUSH32(esp, esi); /* 0x2B02AEB9: push esi */ 15495 esi = ecx; /* 0x2B02AEBA: mov esi, ecx */ 15496 ecx = MEM32(ebp + 0xC); /* 0x2B02AEBC: mov ecx, dword ptr [ebp + 0xc] */ 15497 MEM32(esi + 0x4) = ecx; /* 0x2B02AEBF: mov dword ptr [esi + 4], ecx */ 15498 ecx = esi; /* 0x2B02AEC2: mov ecx, esi */ 15499 MEM32(esi) = eax; /* 0x2B02AEC4: mov dword ptr [esi], eax */ 15500 MEM32(esi + 0x8) = edx; /* 0x2B02AEC6: mov dword ptr [esi + 8], edx */ 15501 RECOMP_ICALL(0x2B02B660u); /* 0x2B02AEC9: call 0x2b02b660 */ /* not lifted */ 15502 RECOMP_FLAGS_IN(); 15503 PUSH32(esp, 0); /* 0x2B02AECE: push 0 */ 15504 ecx = esi; /* 0x2B02AED0: mov ecx, esi */ 15505 RECOMP_ICALL(0x2B02B320u); /* 0x2B02AED2: call 0x2b02b320 */ /* not lifted */ 15506 RECOMP_FLAGS_IN(); 15507 esi = POP32_VAL(esp); /* 0x2B02AED7: pop esi */ 15508 ebp = POP32_VAL(esp); /* 0x2B02AED8: pop ebp */ 15509 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x2B02AED9: ret 0xc */ 15510 RECOMP_REGS_OUT(); 15511 } 15512 15513 void sub_2B02AEE0(void) { 15514 int _fpu_cmp = 0; 15515 uint32_t _cf = 0; 15516 int _df = 1; 15517 uint32_t _flag_k = FK_NONE; 15518 uint32_t _flag_a = 0, _flag_b = 0; 15519 uint32_t _itail_tgt = 0; 15520 RECOMP_REGS_LOCALS 15521 RECOMP_ENTER(0x2B02AEE0u); 15522 15523 L_2B02AEE0: 15524 PUSH32(esp, ebp); /* 0x2B02AEE0: push ebp */ 15525 ebp = esp; /* 0x2B02AEE1: mov ebp, esp */ 15526 eax = MEM32(ebp + 0x8); /* 0x2B02AEE3: mov eax, dword ptr [ebp + 8] */ 15527 PUSH32(esp, esi); /* 0x2B02AEE6: push esi */ 15528 esi = ecx; /* 0x2B02AEE7: mov esi, ecx */ 15529 MEM32(esi + 0xC) = eax; /* 0x2B02AEE9: mov dword ptr [esi + 0xc], eax */ 15530 RECOMP_ICALL(0x2B02B660u); /* 0x2B02AEEC: call 0x2b02b660 */ /* not lifted */ 15531 RECOMP_FLAGS_IN(); 15532 PUSH32(esp, 0); /* 0x2B02AEF1: push 0 */ 15533 ecx = esi; /* 0x2B02AEF3: mov ecx, esi */ 15534 RECOMP_ICALL(0x2B02B320u); /* 0x2B02AEF5: call 0x2b02b320 */ /* not lifted */ 15535 RECOMP_FLAGS_IN(); 15536 esi = POP32_VAL(esp); /* 0x2B02AEFA: pop esi */ 15537 ebp = POP32_VAL(esp); /* 0x2B02AEFB: pop ebp */ 15538 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B02AEFC: ret 4 */ 15539 RECOMP_REGS_OUT(); 15540 } 15541 15542 void sub_2B02AF00(void) { 15543 int _fpu_cmp = 0; 15544 uint32_t _cf = 0; 15545 int _df = 1; 15546 uint32_t _flag_k = FK_NONE; 15547 uint32_t _flag_a = 0, _flag_b = 0; 15548 uint32_t _itail_tgt = 0; 15549 RECOMP_REGS_LOCALS 15550 RECOMP_ENTER(0x2B02AF00u); 15551 15552 L_2B02AF00: 15553 PUSH32(esp, ebp); /* 0x2B02AF00: push ebp */ 15554 ebp = esp; /* 0x2B02AF01: mov ebp, esp */ 15555 eax = MEM32(ebp + 0x8); /* 0x2B02AF03: mov eax, dword ptr [ebp + 8] */ 15556 PUSH32(esp, 0); /* 0x2B02AF06: push 0 */ 15557 MEM32(ecx + 0x10) = eax; /* 0x2B02AF08: mov dword ptr [ecx + 0x10], eax */ 15558 RECOMP_ICALL(0x2B02B320u); /* 0x2B02AF0B: call 0x2b02b320 */ /* not lifted */ 15559 RECOMP_FLAGS_IN(); 15560 ebp = POP32_VAL(esp); /* 0x2B02AF10: pop ebp */ 15561 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B02AF11: ret 4 */ 15562 RECOMP_REGS_OUT(); 15563 } 15564 15565 void sub_2B02AF20(void) { 15566 int _fpu_cmp = 0; 15567 uint32_t _cf = 0; 15568 int _df = 1; 15569 uint32_t _flag_k = FK_NONE; 15570 uint32_t _flag_a = 0, _flag_b = 0; 15571 uint32_t _itail_tgt = 0; 15572 RECOMP_REGS_LOCALS 15573 RECOMP_ENTER(0x2B02AF20u); 15574 15575 L_2B02AF20: 15576 PUSH32(esp, ebp); /* 0x2B02AF20: push ebp */ 15577 ebp = esp; /* 0x2B02AF21: mov ebp, esp */ 15578 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B02AF23: push -1 */ 15579 PUSH32(esp, 0x2B0ADDB9u); /* 0x2B02AF25: push 0x2b0addb9 */ 15580 eax = MEM32(FS_BASE + (0)); /* 0x2B02AF2A: mov eax, dword ptr fs:[0] */ 15581 PUSH32(esp, eax); /* 0x2B02AF30: push eax */ 15582 MEM32(FS_BASE + (0)) = esp; /* 0x2B02AF31: mov dword ptr fs:[0], esp */ 15583 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xA0u); 15584 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15585 esp = esp - 0xA0u; /* 0x2B02AF38: sub esp, 0xa0 */ 15586 _flag_k = FK_CMP; 15587 SET_LO8(eax, MEM8(ebp + 0xF)); /* 0x2B02AF3E: mov al, byte ptr [ebp + 0xf] */ 15588 PUSH32(esp, ebx); /* 0x2B02AF41: push ebx */ 15589 MEM8(ebp + (-0x2C)) = (uint8_t)(LO8(eax)); /* 0x2B02AF42: mov byte ptr [ebp - 0x2c], al */ 15590 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15591 eax = 0; /* 0x2B02AF45: xor eax, eax */ 15592 _cf = 0; 15593 _flag_k = FK_TEST; 15594 PUSH32(esp, esi); /* 0x2B02AF47: push esi */ 15595 PUSH32(esp, edi); /* 0x2B02AF48: push edi */ 15596 ebx = ecx; /* 0x2B02AF49: mov ebx, ecx */ 15597 MEM32(ebp + (-0x28)) = eax; /* 0x2B02AF4B: mov dword ptr [ebp - 0x28], eax */ 15598 MEM32(ebp + (-0x24)) = eax; /* 0x2B02AF4E: mov dword ptr [ebp - 0x24], eax */ 15599 MEM32(ebp + (-0x20)) = eax; /* 0x2B02AF51: mov dword ptr [ebp - 0x20], eax */ 15600 ecx = MEM32(ebp + 0xC); /* 0x2B02AF54: mov ecx, dword ptr [ebp + 0xc] */ 15601 PUSH32(esp, ecx); /* 0x2B02AF57: push ecx */ 15602 ecx = MEM32(ebp + 0x8); /* 0x2B02AF58: mov ecx, dword ptr [ebp + 8] */ 15603 edx = ebp + (-0x2C); /* 0x2B02AF5B: lea edx, [ebp - 0x2c] */ 15604 PUSH32(esp, edx); /* 0x2B02AF5E: push edx */ 15605 MEM32(ebp + (-0x4)) = eax; /* 0x2B02AF5F: mov dword ptr [ebp - 4], eax */ 15606 RECOMP_ICALL(MEM32(0x2B0B5624)); /* 0x2B02AF62: call dword ptr [0x2b0b5624] */ 15607 RECOMP_FLAGS_IN(); 15608 eax = MEM32(ebp + (-0x28)); /* 0x2B02AF68: mov eax, dword ptr [ebp - 0x28] */ 15609 ecx = MEM32(eax); /* 0x2B02AF6B: mov ecx, dword ptr [eax] */ 15610 edx = MEM32(ecx); /* 0x2B02AF6D: mov edx, dword ptr [ecx] */ 15611 RECOMP_ICALL(MEM32(edx + 0x8)); /* 0x2B02AF6F: call dword ptr [edx + 8] */ 15612 RECOMP_FLAGS_IN(); 15613 ecx = 0x10u; /* 0x2B02AF72: mov ecx, 0x10 */ 15614 esi = eax; /* 0x2B02AF77: mov esi, eax */ 15615 edi = ebp + (-0x6C); /* 0x2B02AF79: lea edi, [ebp - 0x6c] */ 15616 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B02AF7C: 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; } 15617 eax = ebp + (-0x3C); /* 0x2B02AF7E: lea eax, [ebp - 0x3c] */ 15618 PUSH32(esp, eax); /* 0x2B02AF81: push eax */ 15619 ecx = ebx; /* 0x2B02AF82: mov ecx, ebx */ 15620 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B02AF84: mov byte ptr [ebp - 4], 1 */ 15621 RECOMP_ICALL(0x2B02B090u); /* 0x2B02AF88: call 0x2b02b090 */ /* not lifted */ 15622 RECOMP_FLAGS_IN(); 15623 fp_push(*(double*)ADDR(0x2B0B65D8)); /* 0x2B02AF8D: fld qword ptr [0x2b0b65d8] */ 15624 esi = MEM32(0x2B0B60FC); /* 0x2B02AF93: mov esi, dword ptr [0x2b0b60fc] */ 15625 _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x2B02AF99: fsin */ 15626 ecx = ebp + (-0x1C); /* 0x2B02AF9B: lea ecx, [ebp - 0x1c] */ 15627 PUSH32(esp, ecx); /* 0x2B02AF9E: push ecx */ 15628 ecx = ebp + (-0xAC); /* 0x2B02AF9F: lea ecx, [ebp - 0xac] */ 15629 MEM32(ebp + (-0x3C)) = 0; /* 0x2B02AFA5: mov dword ptr [ebp - 0x3c], 0 */ 15630 MEM32(ebp + (-0x38)) = 0; /* 0x2B02AFAC: mov dword ptr [ebp - 0x38], 0 */ 15631 MEM32(ebp + (-0x34)) = 0; /* 0x2B02AFB3: mov dword ptr [ebp - 0x34], 0 */ 15632 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x2B02AFBA: fstp dword ptr [ebp - 0x1c] */ 15633 fp_push(*(float*)&MEM32(0x2B0B61B8)); /* 0x2B02AFBD: fld dword ptr [0x2b0b61b8] */ 15634 { float _v = (float)_st[0]; *(float*)ADDR(ebp + (-0x18)) = _v; } /* 0x2B02AFC3: fst dword ptr [ebp - 0x18] */ 15635 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x14)) = _v; } /* 0x2B02AFC6: fstp dword ptr [ebp - 0x14] */ 15636 fp_push(*(double*)ADDR(0x2B0B65D8)); /* 0x2B02AFC9: fld qword ptr [0x2b0b65d8] */ 15637 _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x2B02AFCF: fcos */ 15638 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x2B02AFD1: fstp dword ptr [ebp - 0x10] */ 15639 RECOMP_ICALL(esi); /* 0x2B02AFD4: call esi */ 15640 RECOMP_FLAGS_IN(); 15641 edi = MEM32(0x2B0B60F0); /* 0x2B02AFD6: mov edi, dword ptr [0x2b0b60f0] */ 15642 edx = ebp + (-0xAC); /* 0x2B02AFDC: lea edx, [ebp - 0xac] */ 15643 PUSH32(esp, edx); /* 0x2B02AFE2: push edx */ 15644 ecx = ebp + (-0x6C); /* 0x2B02AFE3: lea ecx, [ebp - 0x6c] */ 15645 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B02AFE6: mov byte ptr [ebp - 4], 2 */ 15646 RECOMP_ICALL(edi); /* 0x2B02AFEA: call edi */ 15647 RECOMP_FLAGS_IN(); 15648 PUSH32(esp, 0xBFB45F30u); /* 0x2B02AFEC: push 0xbfb45f30 */ 15649 PUSH32(esp, 0x6446F9B4u); /* 0x2B02AFF1: push 0x6446f9b4 */ 15650 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B02AFF6: mov byte ptr [ebp - 4], 1 */ 15651 RECOMP_ICALL(MEM32(0x2B0B5234)); /* 0x2B02AFFA: call dword ptr [0x2b0b5234] */ 15652 RECOMP_FLAGS_IN(); 15653 _st[0] = (double)*(float*)ADDR(0x2B0B65D4) - _st[0]; /* 0x2B02B000: fsubr dword ptr [0x2b0b65d4] */ 15654 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 15655 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15656 esp = esp + 8; /* 0x2B02B006: add esp, 8 */ 15657 _flag_k = FK_ADD; 15658 ecx = ebp + (-0x1C); /* 0x2B02B009: lea ecx, [ebp - 0x1c] */ 15659 _st[0] *= (double)*(float*)ADDR(0x2B0B6540); /* 0x2B02B00C: fmul dword ptr [0x2b0b6540] */ 15660 PUSH32(esp, ecx); /* 0x2B02B012: push ecx */ 15661 ecx = ebp + (-0xAC); /* 0x2B02B013: lea ecx, [ebp - 0xac] */ 15662 fp_push(_st[0]); /* 0x2B02B019: fld st(0) */ 15663 _st[0] = sin(_st[0]); _fpu_cmp = 1; /* 0x2B02B01B: fsin */ 15664 fp_push(*(float*)&MEM32(0x2B0B61B8)); /* 0x2B02B01D: fld dword ptr [0x2b0b61b8] */ 15665 { float _v = (float)_st[0]; *(float*)ADDR(ebp + 0xC) = _v; } /* 0x2B02B023: fst dword ptr [ebp + 0xc] */ 15666 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x1C)) = _v; } /* 0x2B02B026: fstp dword ptr [ebp - 0x1c] */ 15667 eax = MEM32(ebp + 0xC); /* 0x2B02B029: mov eax, dword ptr [ebp + 0xc] */ 15668 MEM32(ebp + (-0x14)) = eax; /* 0x2B02B02C: mov dword ptr [ebp - 0x14], eax */ 15669 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x18)) = _v; } /* 0x2B02B02F: fstp dword ptr [ebp - 0x18] */ 15670 _st[0] = cos(_st[0]); _fpu_cmp = 1; /* 0x2B02B032: fcos */ 15671 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x10)) = _v; } /* 0x2B02B034: fstp dword ptr [ebp - 0x10] */ 15672 RECOMP_ICALL(esi); /* 0x2B02B037: call esi */ 15673 RECOMP_FLAGS_IN(); 15674 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B02B039: mov byte ptr [ebp - 4], 3 */ 15675 edx = ebp + (-0xAC); /* 0x2B02B03D: lea edx, [ebp - 0xac] */ 15676 PUSH32(esp, edx); /* 0x2B02B043: push edx */ 15677 ecx = ebp + (-0x6C); /* 0x2B02B044: lea ecx, [ebp - 0x6c] */ 15678 RECOMP_ICALL(edi); /* 0x2B02B047: call edi */ 15679 RECOMP_FLAGS_IN(); 15680 eax = ebp + (-0x6C); /* 0x2B02B049: lea eax, [ebp - 0x6c] */ 15681 PUSH32(esp, eax); /* 0x2B02B04C: push eax */ 15682 ecx = ebp + (-0x1C); /* 0x2B02B04D: lea ecx, [ebp - 0x1c] */ 15683 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B02B050: mov byte ptr [ebp - 4], 1 */ 15684 RECOMP_ICALL(MEM32(0x2B0B60EC)); /* 0x2B02B054: call dword ptr [0x2b0b60ec] */ 15685 RECOMP_FLAGS_IN(); 15686 PUSH32(esp, eax); /* 0x2B02B05A: push eax */ 15687 ecx = ebx; /* 0x2B02B05B: mov ecx, ebx */ 15688 RECOMP_ICALL(0x2B02B0C0u); /* 0x2B02B05D: call 0x2b02b0c0 */ /* not lifted */ 15689 RECOMP_FLAGS_IN(); 15690 ecx = MEM32(ebp + (-0x28)); /* 0x2B02B062: mov ecx, dword ptr [ebp - 0x28] */ 15691 PUSH32(esp, ecx); /* 0x2B02B065: push ecx */ 15692 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B02B066: call 0x2b0ab1ba */ /* not lifted */ 15693 RECOMP_FLAGS_IN(); 15694 ecx = MEM32(ebp + (-0xC)); /* 0x2B02B06B: mov ecx, dword ptr [ebp - 0xc] */ 15695 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15696 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15697 esp = esp + 4; /* 0x2B02B06E: add esp, 4 */ 15698 _flag_k = FK_ADD; 15699 edi = POP32_VAL(esp); /* 0x2B02B071: pop edi */ 15700 esi = POP32_VAL(esp); /* 0x2B02B072: pop esi */ 15701 ebx = POP32_VAL(esp); /* 0x2B02B073: pop ebx */ 15702 MEM32(FS_BASE + (0)) = ecx; /* 0x2B02B074: mov dword ptr fs:[0], ecx */ 15703 esp = ebp; /* 0x2B02B07B: mov esp, ebp */ 15704 ebp = POP32_VAL(esp); /* 0x2B02B07D: pop ebp */ 15705 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B02B07E: ret 8 */ 15706 RECOMP_REGS_OUT(); 15707 } 15708 15709 void sub_2B02B090(void) { 15710 int _fpu_cmp = 0; 15711 uint32_t _cf = 0; 15712 int _df = 1; 15713 uint32_t _flag_k = FK_NONE; 15714 uint32_t _flag_a = 0, _flag_b = 0; 15715 uint32_t _itail_tgt = 0; 15716 RECOMP_REGS_LOCALS 15717 RECOMP_ENTER(0x2B02B090u); 15718 15719 L_2B02B090: 15720 PUSH32(esp, ebp); /* 0x2B02B090: push ebp */ 15721 ebp = esp; /* 0x2B02B091: mov ebp, esp */ 15722 edx = MEM32(ebp + 0x8); /* 0x2B02B093: mov edx, dword ptr [ebp + 8] */ 15723 PUSH32(esp, esi); /* 0x2B02B096: push esi */ 15724 esi = MEM32(edx); /* 0x2B02B097: mov esi, dword ptr [edx] */ 15725 eax = ecx + 0x5C; /* 0x2B02B099: lea eax, [ecx + 0x5c] */ 15726 MEM32(eax) = esi; /* 0x2B02B09C: mov dword ptr [eax], esi */ 15727 esi = MEM32(edx + 0x4); /* 0x2B02B09E: mov esi, dword ptr [edx + 4] */ 15728 MEM32(eax + 0x4) = esi; /* 0x2B02B0A1: mov dword ptr [eax + 4], esi */ 15729 edx = MEM32(edx + 0x8); /* 0x2B02B0A4: mov edx, dword ptr [edx + 8] */ 15730 PUSH32(esp, 0); /* 0x2B02B0A7: push 0 */ 15731 MEM32(eax + 0x8) = edx; /* 0x2B02B0A9: mov dword ptr [eax + 8], edx */ 15732 RECOMP_ICALL(0x2B02B320u); /* 0x2B02B0AC: call 0x2b02b320 */ /* not lifted */ 15733 RECOMP_FLAGS_IN(); 15734 esi = POP32_VAL(esp); /* 0x2B02B0B1: pop esi */ 15735 ebp = POP32_VAL(esp); /* 0x2B02B0B2: pop ebp */ 15736 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B02B0B3: ret 4 */ 15737 RECOMP_REGS_OUT(); 15738 } 15739 15740 void sub_2B02B0C0(void) { 15741 int _fpu_cmp = 0; 15742 uint32_t _cf = 0; 15743 int _df = 1; 15744 uint32_t _flag_k = FK_NONE; 15745 uint32_t _flag_a = 0, _flag_b = 0; 15746 uint32_t _itail_tgt = 0; 15747 RECOMP_REGS_LOCALS 15748 RECOMP_ENTER(0x2B02B0C0u); 15749 15750 L_2B02B0C0: 15751 PUSH32(esp, ebp); /* 0x2B02B0C0: push ebp */ 15752 ebp = esp; /* 0x2B02B0C1: mov ebp, esp */ 15753 edx = MEM32(ebp + 0x8); /* 0x2B02B0C3: mov edx, dword ptr [ebp + 8] */ 15754 PUSH32(esp, esi); /* 0x2B02B0C6: push esi */ 15755 esi = MEM32(edx); /* 0x2B02B0C7: mov esi, dword ptr [edx] */ 15756 eax = ecx + 0x68; /* 0x2B02B0C9: lea eax, [ecx + 0x68] */ 15757 MEM32(eax) = esi; /* 0x2B02B0CC: mov dword ptr [eax], esi */ 15758 esi = MEM32(edx + 0x4); /* 0x2B02B0CE: mov esi, dword ptr [edx + 4] */ 15759 MEM32(eax + 0x4) = esi; /* 0x2B02B0D1: mov dword ptr [eax + 4], esi */ 15760 esi = MEM32(edx + 0x8); /* 0x2B02B0D4: mov esi, dword ptr [edx + 8] */ 15761 MEM32(eax + 0x8) = esi; /* 0x2B02B0D7: mov dword ptr [eax + 8], esi */ 15762 edx = MEM32(edx + 0xC); /* 0x2B02B0DA: mov edx, dword ptr [edx + 0xc] */ 15763 PUSH32(esp, 0); /* 0x2B02B0DD: push 0 */ 15764 MEM32(eax + 0xC) = edx; /* 0x2B02B0DF: mov dword ptr [eax + 0xc], edx */ 15765 RECOMP_ICALL(0x2B02B320u); /* 0x2B02B0E2: call 0x2b02b320 */ /* not lifted */ 15766 RECOMP_FLAGS_IN(); 15767 esi = POP32_VAL(esp); /* 0x2B02B0E7: pop esi */ 15768 ebp = POP32_VAL(esp); /* 0x2B02B0E8: pop ebp */ 15769 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B02B0E9: ret 4 */ 15770 RECOMP_REGS_OUT(); 15771 } 15772 15773 void sub_2B02B0F0(void) { 15774 int _fpu_cmp = 0; 15775 uint32_t _cf = 0; 15776 int _df = 1; 15777 uint32_t _flag_k = FK_NONE; 15778 uint32_t _flag_a = 0, _flag_b = 0; 15779 uint32_t _itail_tgt = 0; 15780 RECOMP_REGS_LOCALS 15781 RECOMP_ENTER(0x2B02B0F0u); 15782 15783 L_2B02B0F0: 15784 PUSH32(esp, ebp); /* 0x2B02B0F0: push ebp */ 15785 ebp = esp; /* 0x2B02B0F1: mov ebp, esp */ 15786 eax = MEM32(FS_BASE + (0)); /* 0x2B02B0F3: mov eax, dword ptr fs:[0] */ 15787 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B02B0F9: push -1 */ 15788 PUSH32(esp, 0x2B0ADDDBu); /* 0x2B02B0FB: push 0x2b0adddb */ 15789 PUSH32(esp, eax); /* 0x2B02B100: push eax */ 15790 SET_LO8(eax, MEM8(ebp + 0x8)); /* 0x2B02B101: mov al, byte ptr [ebp + 8] */ 15791 /* test LO8(eax), LO8(eax) */ /* 0x2B02B104: test al, al */ 15792 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 15793 _cf = 0; 15794 _flag_k = FK_NARROW(FK_TEST, 24); 15795 MEM32(FS_BASE + (0)) = esp; /* 0x2B02B106: mov dword ptr fs:[0], esp */ 15796 PUSH32(esp, esi); /* 0x2B02B10D: push esi */ 15797 PUSH32(esp, edi); /* 0x2B02B10E: push edi */ 15798 edi = ecx; /* 0x2B02B10F: mov edi, ecx */ 15799 if (TEST_Z(_flag_a, _flag_b)) goto L_2B02B212; /* 0x2B02B111: je 0x2b02b212 */ 15800 L_2B02B117: 15801 eax = MEM32(edi + 0x7C); /* 0x2B02B117: mov eax, dword ptr [edi + 0x7c] */ 15802 /* test eax, eax */ /* 0x2B02B11A: test eax, eax */ 15803 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 15804 _cf = 0; 15805 _flag_k = FK_TEST; 15806 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02B212; /* 0x2B02B11C: jne 0x2b02b212 */ 15807 L_2B02B122: 15808 PUSH32(esp, 0x314u); /* 0x2B02B122: push 0x314 */ 15809 RECOMP_ICALL(0x2B0AB212u); /* 0x2B02B127: call 0x2b0ab212 */ /* not lifted */ 15810 RECOMP_FLAGS_IN(); 15811 esi = eax; /* 0x2B02B12C: mov esi, eax */ 15812 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15813 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15814 esp = esp + 4; /* 0x2B02B12E: add esp, 4 */ 15815 _flag_k = FK_ADD; 15816 MEM32(ebp + 0x8) = esi; /* 0x2B02B131: mov dword ptr [ebp + 8], esi */ 15817 /* test esi, esi */ /* 0x2B02B134: test esi, esi */ 15818 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 15819 _cf = 0; 15820 _flag_k = FK_TEST; 15821 MEM32(ebp + (-0x4)) = 0; /* 0x2B02B136: mov dword ptr [ebp - 4], 0 */ 15822 if (TEST_Z(_flag_a, _flag_b)) goto L_2B02B1B5; /* 0x2B02B13D: je 0x2b02b1b5 */ 15823 L_2B02B13F: 15824 eax = MEM32(edi + 0x78); /* 0x2B02B13F: mov eax, dword ptr [edi + 0x78] */ 15825 PUSH32(esp, 0x3FC90FDBu); /* 0x2B02B142: push 0x3fc90fdb */ 15826 eax = MEM32(eax + 0x28); /* 0x2B02B147: mov eax, dword ptr [eax + 0x28] */ 15827 PUSH32(esp, 0x3F800000u); /* 0x2B02B14A: push 0x3f800000 */ 15828 PUSH32(esp, 0x3F800000u); /* 0x2B02B14F: push 0x3f800000 */ 15829 PUSH32(esp, 0x3F800000u); /* 0x2B02B154: push 0x3f800000 */ 15830 PUSH32(esp, 0x3F800000u); /* 0x2B02B159: push 0x3f800000 */ 15831 PUSH32(esp, 0x3F800000u); /* 0x2B02B15E: push 0x3f800000 */ 15832 PUSH32(esp, 0x3F800000u); /* 0x2B02B163: push 0x3f800000 */ 15833 PUSH32(esp, 0); /* 0x2B02B168: push 0 */ 15834 PUSH32(esp, 0); /* 0x2B02B16A: push 0 */ 15835 PUSH32(esp, 0); /* 0x2B02B16C: push 0 */ 15836 PUSH32(esp, 0); /* 0x2B02B16E: push 0 */ 15837 PUSH32(esp, 0); /* 0x2B02B170: push 0 */ 15838 PUSH32(esp, eax); /* 0x2B02B172: push eax */ 15839 ecx = esi; /* 0x2B02B173: mov ecx, esi */ 15840 RECOMP_ICALL(MEM32(0x2B0B55D4)); /* 0x2B02B175: call dword ptr [0x2b0b55d4] */ 15841 RECOMP_FLAGS_IN(); 15842 MEM32(esi) = 0x2B0B6644u; /* 0x2B02B17B: mov dword ptr [esi], 0x2b0b6644 */ 15843 MEM32(esi + 0x8) = 0x2B0B6634u; /* 0x2B02B181: mov dword ptr [esi + 8], 0x2b0b6634 */ 15844 MEM32(esi + 0x20) = 0x2B0B6624u; /* 0x2B02B188: mov dword ptr [esi + 0x20], 0x2b0b6624 */ 15845 MEM32(esi + 0x38) = 0x2B0B6614u; /* 0x2B02B18F: mov dword ptr [esi + 0x38], 0x2b0b6614 */ 15846 MEM32(esi + 0x50) = 0x2B0B6604u; /* 0x2B02B196: mov dword ptr [esi + 0x50], 0x2b0b6604 */ 15847 MEM32(esi + 0x138) = 0x2B0B65F4u; /* 0x2B02B19D: mov dword ptr [esi + 0x138], 0x2b0b65f4 */ 15848 MEM32(esi + 0x150) = 0x2B0B65E4u; /* 0x2B02B1A7: mov dword ptr [esi + 0x150], 0x2b0b65e4 */ 15849 ecx = esi; /* 0x2B02B1B1: mov ecx, esi */ 15850 goto L_2B02B1B7; /* 0x2B02B1B3: jmp 0x2b02b1b7 */ 15851 L_2B02B1B5: 15852 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15853 ecx = 0; /* 0x2B02B1B5: xor ecx, ecx */ 15854 _cf = 0; 15855 _flag_k = FK_TEST; 15856 L_2B02B1B7: 15857 MEM32(edi + 0x7C) = ecx; /* 0x2B02B1B7: mov dword ptr [edi + 0x7c], ecx */ 15858 edx = MEM32(ecx); /* 0x2B02B1BA: mov edx, dword ptr [ecx] */ 15859 PUSH32(esp, 0xFF40FF40u); /* 0x2B02B1BC: push 0xff40ff40 */ 15860 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B02B1C1: mov dword ptr [ebp - 4], 0xffffffff */ 15861 RECOMP_ICALL(MEM32(edx + 0x50)); /* 0x2B02B1C8: call dword ptr [edx + 0x50] */ 15862 RECOMP_FLAGS_IN(); 15863 eax = MEM32(edi + 0x7C); /* 0x2B02B1CB: mov eax, dword ptr [edi + 0x7c] */ 15864 MEM32(eax + 0x1FC) = 0x3E4CCCCDu; /* 0x2B02B1CE: mov dword ptr [eax + 0x1fc], 0x3e4ccccd */ 15865 ecx = MEM32(edi + 0x7C); /* 0x2B02B1D8: mov ecx, dword ptr [edi + 0x7c] */ 15866 MEM32(ecx + 0x310) = 0x447A0000u; /* 0x2B02B1DB: mov dword ptr [ecx + 0x310], 0x447a0000 */ 15867 edx = MEM32(edi + 0x78); /* 0x2B02B1E5: mov edx, dword ptr [edi + 0x78] */ 15868 eax = MEM32(edx + 0x28); /* 0x2B02B1E8: mov eax, dword ptr [edx + 0x28] */ 15869 edx = MEM32(edi + 0x7C); /* 0x2B02B1EB: mov edx, dword ptr [edi + 0x7c] */ 15870 ecx = eax + 0x3C; /* 0x2B02B1EE: lea ecx, [eax + 0x3c] */ 15871 eax = MEM32(ecx); /* 0x2B02B1F1: mov eax, dword ptr [ecx] */ 15872 PUSH32(esp, edx); /* 0x2B02B1F3: push edx */ 15873 RECOMP_ICALL(MEM32(eax + 0xC)); /* 0x2B02B1F4: call dword ptr [eax + 0xc] */ 15874 RECOMP_FLAGS_IN(); 15875 PUSH32(esp, 0); /* 0x2B02B1F7: push 0 */ 15876 ecx = edi; /* 0x2B02B1F9: mov ecx, edi */ 15877 RECOMP_ICALL(0x2B02B320u); /* 0x2B02B1FB: call 0x2b02b320 */ /* not lifted */ 15878 RECOMP_FLAGS_IN(); 15879 ecx = MEM32(ebp + (-0xC)); /* 0x2B02B200: mov ecx, dword ptr [ebp - 0xc] */ 15880 MEM32(FS_BASE + (0)) = ecx; /* 0x2B02B203: mov dword ptr fs:[0], ecx */ 15881 edi = POP32_VAL(esp); /* 0x2B02B20A: pop edi */ 15882 esi = POP32_VAL(esp); /* 0x2B02B20B: pop esi */ 15883 esp = ebp; /* 0x2B02B20C: mov esp, ebp */ 15884 ebp = POP32_VAL(esp); /* 0x2B02B20E: pop ebp */ 15885 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B02B20F: ret 4 */ 15886 L_2B02B212: 15887 ecx = MEM32(edi + 0x7C); /* 0x2B02B212: mov ecx, dword ptr [edi + 0x7c] */ 15888 /* test ecx, ecx */ /* 0x2B02B215: test ecx, ecx */ 15889 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 15890 _cf = 0; 15891 _flag_k = FK_TEST; 15892 if (TEST_Z(_flag_a, _flag_b)) goto L_2B02B21F; /* 0x2B02B217: je 0x2b02b21f */ 15893 L_2B02B219: 15894 eax = MEM32(ecx); /* 0x2B02B219: mov eax, dword ptr [ecx] */ 15895 PUSH32(esp, 1); /* 0x2B02B21B: push 1 */ 15896 RECOMP_ICALL(MEM32(eax)); /* 0x2B02B21D: call dword ptr [eax] */ 15897 RECOMP_FLAGS_IN(); 15898 L_2B02B21F: 15899 ecx = MEM32(ebp + (-0xC)); /* 0x2B02B21F: mov ecx, dword ptr [ebp - 0xc] */ 15900 MEM32(edi + 0x7C) = 0; /* 0x2B02B222: mov dword ptr [edi + 0x7c], 0 */ 15901 edi = POP32_VAL(esp); /* 0x2B02B229: pop edi */ 15902 MEM32(FS_BASE + (0)) = ecx; /* 0x2B02B22A: mov dword ptr fs:[0], ecx */ 15903 esi = POP32_VAL(esp); /* 0x2B02B231: pop esi */ 15904 esp = ebp; /* 0x2B02B232: mov esp, ebp */ 15905 ebp = POP32_VAL(esp); /* 0x2B02B234: pop ebp */ 15906 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B02B235: ret 4 */ 15907 RECOMP_REGS_OUT(); 15908 } 15909 15910 void sub_2B02B240(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(0x2B02B240u); 15919 15920 L_2B02B240: 15921 PUSH32(esp, ebp); /* 0x2B02B240: push ebp */ 15922 ebp = esp; /* 0x2B02B241: mov ebp, esp */ 15923 PUSH32(esp, esi); /* 0x2B02B243: push esi */ 15924 esi = ecx; /* 0x2B02B244: mov esi, ecx */ 15925 RECOMP_ICALL(MEM32(0x2B0B55D0)); /* 0x2B02B246: call dword ptr [0x2b0b55d0] */ 15926 RECOMP_FLAGS_IN(); 15927 /* test MEM8(ebp + 0x8), 1 */ /* 0x2B02B24C: test byte ptr [ebp + 8], 1 */ 15928 _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24; 15929 _cf = 0; 15930 _flag_k = FK_NARROW(FK_TEST, 24); 15931 if (TEST_Z(_flag_a, _flag_b)) goto L_2B02B25B; /* 0x2B02B250: je 0x2b02b25b */ 15932 L_2B02B252: 15933 PUSH32(esp, esi); /* 0x2B02B252: push esi */ 15934 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B02B253: call 0x2b0ab1ba */ /* not lifted */ 15935 RECOMP_FLAGS_IN(); 15936 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 15937 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 15938 esp = esp + 4; /* 0x2B02B258: add esp, 4 */ 15939 _flag_k = FK_ADD; 15940 L_2B02B25B: 15941 eax = esi; /* 0x2B02B25B: mov eax, esi */ 15942 esi = POP32_VAL(esp); /* 0x2B02B25D: pop esi */ 15943 ebp = POP32_VAL(esp); /* 0x2B02B25E: pop ebp */ 15944 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B02B25F: ret 4 */ 15945 RECOMP_REGS_OUT(); 15946 } 15947 15948 void sub_2B02B270(void) { 15949 int _fpu_cmp = 0; 15950 uint32_t _cf = 0; 15951 int _df = 1; 15952 uint32_t _flag_k = FK_NONE; 15953 uint32_t _flag_a = 0, _flag_b = 0; 15954 uint32_t _itail_tgt = 0; 15955 RECOMP_REGS_LOCALS 15956 RECOMP_ENTER(0x2B02B270u); 15957 15958 L_2B02B270: 15959 edx = MEM32(ecx + 0x44); /* 0x2B02B270: mov edx, dword ptr [ecx + 0x44] */ 15960 /* test edx, edx */ /* 0x2B02B273: test edx, edx */ 15961 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 15962 _cf = 0; 15963 _flag_k = FK_TEST; 15964 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02B27A; /* 0x2B02B275: jne 0x2b02b27a */ 15965 L_2B02B277: 15966 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 15967 eax = 0; /* 0x2B02B277: xor eax, eax */ 15968 _cf = 0; 15969 _flag_k = FK_TEST; 15970 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B02B279: ret */ 15971 L_2B02B27A: 15972 eax = MEM32(ecx + 0x48); /* 0x2B02B27A: mov eax, dword ptr [ecx + 0x48] */ 15973 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 15974 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 15975 eax = eax - edx; /* 0x2B02B27D: sub eax, edx */ 15976 _flag_k = FK_CMP; 15977 if (3u) _cf = (((eax) >> 2) & 1u); /* 0x2B02B27F: sar eax, 3 */ 15978 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 15979 eax = (uint32_t)((int32_t)eax >> 3u); 15980 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B02B282: ret */ 15981 RECOMP_REGS_OUT(); 15982 } 15983 15984 void sub_2B02B290(void) { 15985 int _fpu_cmp = 0; 15986 uint32_t _cf = 0; 15987 int _df = 1; 15988 uint32_t _flag_k = FK_NONE; 15989 uint32_t _flag_a = 0, _flag_b = 0; 15990 uint32_t _itail_tgt = 0; 15991 RECOMP_REGS_LOCALS 15992 RECOMP_ENTER(0x2B02B290u); 15993 15994 L_2B02B290: 15995 PUSH32(esp, ebp); /* 0x2B02B290: push ebp */ 15996 ebp = esp; /* 0x2B02B291: mov ebp, esp */ 15997 eax = MEM32(ebp + 0x8); /* 0x2B02B293: mov eax, dword ptr [ebp + 8] */ 15998 PUSH32(esp, esi); /* 0x2B02B296: push esi */ 15999 esi = ecx; /* 0x2B02B297: mov esi, ecx */ 16000 MEM32(esi + 0x8) = eax; /* 0x2B02B299: mov dword ptr [esi + 8], eax */ 16001 RECOMP_ICALL(0x2B02BBC0u); /* 0x2B02B29C: call 0x2b02bbc0 */ /* not lifted */ 16002 RECOMP_FLAGS_IN(); 16003 PUSH32(esp, 0); /* 0x2B02B2A1: push 0 */ 16004 ecx = esi; /* 0x2B02B2A3: mov ecx, esi */ 16005 RECOMP_ICALL(0x2B02B320u); /* 0x2B02B2A5: call 0x2b02b320 */ /* not lifted */ 16006 RECOMP_FLAGS_IN(); 16007 esi = POP32_VAL(esp); /* 0x2B02B2AA: pop esi */ 16008 ebp = POP32_VAL(esp); /* 0x2B02B2AB: pop ebp */ 16009 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B02B2AC: ret 4 */ 16010 RECOMP_REGS_OUT(); 16011 } 16012 16013 void sub_2B02B2B0(void) { 16014 int _fpu_cmp = 0; 16015 uint32_t _cf = 0; 16016 int _df = 1; 16017 uint32_t _flag_k = FK_NONE; 16018 uint32_t _flag_a = 0, _flag_b = 0; 16019 uint32_t _itail_tgt = 0; 16020 RECOMP_REGS_LOCALS 16021 RECOMP_ENTER(0x2B02B2B0u); 16022 16023 L_2B02B2B0: 16024 eax = MEM32(ecx + 0x8); /* 0x2B02B2B0: mov eax, dword ptr [ecx + 8] */ 16025 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B02B2B3: ret */ 16026 RECOMP_REGS_OUT(); 16027 } 16028 16029 void sub_2B02B2C0(void) { 16030 int _fpu_cmp = 0; 16031 uint32_t _cf = 0; 16032 int _df = 1; 16033 uint32_t _flag_k = FK_NONE; 16034 uint32_t _flag_a = 0, _flag_b = 0; 16035 uint32_t _itail_tgt = 0; 16036 RECOMP_REGS_LOCALS 16037 RECOMP_ENTER(0x2B02B2C0u); 16038 16039 L_2B02B2C0: 16040 PUSH32(esp, ebp); /* 0x2B02B2C0: push ebp */ 16041 ebp = esp; /* 0x2B02B2C1: mov ebp, esp */ 16042 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 16043 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16044 esp = esp - 8; /* 0x2B02B2C3: sub esp, 8 */ 16045 _flag_k = FK_CMP; 16046 eax = MEM32(ecx + 0x44); /* 0x2B02B2C6: mov eax, dword ptr [ecx + 0x44] */ 16047 ecx = MEM32(ebp + 0x8); /* 0x2B02B2C9: mov ecx, dword ptr [ebp + 8] */ 16048 eax = MEM32(eax + ecx * 8); /* 0x2B02B2CC: mov eax, dword ptr [eax + ecx*8] */ 16049 MEM32(ebp + (-0x8)) = 0x000F6951u; /* 0x2B02B2CF: mov dword ptr [ebp - 8], 0xf6951 */ 16050 MEM32(ebp + (-0x4)) = eax; /* 0x2B02B2D6: mov dword ptr [ebp - 4], eax */ 16051 RECOMP_ICALL(MEM32(0x2B0B6154)); /* 0x2B02B2D9: call dword ptr [0x2b0b6154] */ 16052 RECOMP_FLAGS_IN(); 16053 edx = MEM32(eax); /* 0x2B02B2DF: mov edx, dword ptr [eax] */ 16054 PUSH32(esp, 0); /* 0x2B02B2E1: push 0 */ 16055 PUSH32(esp, 0x2B0E3FA0u); /* 0x2B02B2E3: push 0x2b0e3fa0 */ 16056 PUSH32(esp, 0x2B0E3F80u); /* 0x2B02B2E8: push 0x2b0e3f80 */ 16057 PUSH32(esp, 0); /* 0x2B02B2ED: push 0 */ 16058 PUSH32(esp, 3); /* 0x2B02B2EF: push 3 */ 16059 PUSH32(esp, 2); /* 0x2B02B2F1: push 2 */ 16060 ecx = ebp + (-0x8); /* 0x2B02B2F3: lea ecx, [ebp - 8] */ 16061 PUSH32(esp, ecx); /* 0x2B02B2F6: push ecx */ 16062 ecx = eax; /* 0x2B02B2F7: mov ecx, eax */ 16063 RECOMP_ICALL(MEM32(edx + 0x24)); /* 0x2B02B2F9: call dword ptr [edx + 0x24] */ 16064 RECOMP_FLAGS_IN(); 16065 PUSH32(esp, eax); /* 0x2B02B2FC: push eax */ 16066 RECOMP_ICALL(0x2B0AB3B2u); /* 0x2B02B2FD: call 0x2b0ab3b2 */ /* not lifted */ 16067 RECOMP_FLAGS_IN(); 16068 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 16069 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16070 esp = esp + 0x14u; /* 0x2B02B302: add esp, 0x14 */ 16071 _flag_k = FK_ADD; 16072 /* test eax, eax */ /* 0x2B02B305: test eax, eax */ 16073 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 16074 _cf = 0; 16075 _flag_k = FK_TEST; 16076 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02B30F; /* 0x2B02B307: jne 0x2b02b30f */ 16077 L_2B02B309: 16078 esp = ebp; /* 0x2B02B309: mov esp, ebp */ 16079 ebp = POP32_VAL(esp); /* 0x2B02B30B: pop ebp */ 16080 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B02B30C: ret 4 */ 16081 L_2B02B30F: 16082 eax = MEM32(eax + 0x28); /* 0x2B02B30F: mov eax, dword ptr [eax + 0x28] */ 16083 esp = ebp; /* 0x2B02B312: mov esp, ebp */ 16084 ebp = POP32_VAL(esp); /* 0x2B02B314: pop ebp */ 16085 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B02B315: ret 4 */ 16086 RECOMP_REGS_OUT(); 16087 } 16088 16089 void sub_2B02B320(void) { 16090 int _fpu_cmp = 0; 16091 uint32_t _cf = 0; 16092 int _df = 1; 16093 uint32_t _flag_k = FK_NONE; 16094 uint32_t _flag_a = 0, _flag_b = 0; 16095 uint32_t _itail_tgt = 0; 16096 RECOMP_REGS_LOCALS 16097 RECOMP_ENTER(0x2B02B320u); 16098 16099 L_2B02B320: 16100 PUSH32(esp, ebp); /* 0x2B02B320: push ebp */ 16101 ebp = esp; /* 0x2B02B321: mov ebp, esp */ 16102 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 16103 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16104 esp = esp - 0xCu; /* 0x2B02B323: sub esp, 0xc */ 16105 _flag_k = FK_CMP; 16106 PUSH32(esp, esi); /* 0x2B02B326: push esi */ 16107 esi = ecx; /* 0x2B02B327: mov esi, ecx */ 16108 eax = MEM32(esi + 0x10); /* 0x2B02B329: mov eax, dword ptr [esi + 0x10] */ 16109 /* test eax, eax */ /* 0x2B02B32C: test eax, eax */ 16110 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 16111 _cf = 0; 16112 _flag_k = FK_TEST; 16113 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02B337; /* 0x2B02B32E: jne 0x2b02b337 */ 16114 L_2B02B330: 16115 PUSH32(esp, 0x3F733333u); /* 0x2B02B330: push 0x3f733333 */ 16116 goto L_2B02B348; /* 0x2B02B335: jmp 0x2b02b348 */ 16117 L_2B02B337: 16118 /* cmp eax, 2 */ /* 0x2B02B337: cmp eax, 2 */ 16119 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 16120 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16121 _flag_k = FK_CMP; 16122 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02B343; /* 0x2B02B33A: jne 0x2b02b343 */ 16123 L_2B02B33C: 16124 PUSH32(esp, 0x3F866666u); /* 0x2B02B33C: push 0x3f866666 */ 16125 goto L_2B02B348; /* 0x2B02B341: jmp 0x2b02b348 */ 16126 L_2B02B343: 16127 PUSH32(esp, 0x3F800000u); /* 0x2B02B343: push 0x3f800000 */ 16128 L_2B02B348: 16129 ecx = MEM32(esi + 0x78); /* 0x2B02B348: mov ecx, dword ptr [esi + 0x78] */ 16130 RECOMP_ICALL(MEM32(0x2B0B55C4)); /* 0x2B02B34B: call dword ptr [0x2b0b55c4] */ 16131 RECOMP_FLAGS_IN(); 16132 eax = esi + 0x5C; /* 0x2B02B351: lea eax, [esi + 0x5c] */ 16133 ecx = MEM32(eax); /* 0x2B02B354: mov ecx, dword ptr [eax] */ 16134 edx = MEM32(eax + 0x4); /* 0x2B02B356: mov edx, dword ptr [eax + 4] */ 16135 eax = MEM32(eax + 0x8); /* 0x2B02B359: mov eax, dword ptr [eax + 8] */ 16136 MEM32(ebp + (-0x4)) = eax; /* 0x2B02B35C: mov dword ptr [ebp - 4], eax */ 16137 eax = MEM32(esi); /* 0x2B02B35F: mov eax, dword ptr [esi] */ 16138 /* cmp eax, 1 */ /* 0x2B02B361: cmp eax, 1 */ 16139 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 16140 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16141 _flag_k = FK_CMP; 16142 MEM32(ebp + (-0xC)) = ecx; /* 0x2B02B364: mov dword ptr [ebp - 0xc], ecx */ 16143 MEM32(ebp + (-0x8)) = edx; /* 0x2B02B367: mov dword ptr [ebp - 8], edx */ 16144 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02B371; /* 0x2B02B36A: je 0x2b02b371 */ 16145 L_2B02B36C: 16146 /* cmp eax, 3 */ /* 0x2B02B36C: cmp eax, 3 */ 16147 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(3); 16148 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16149 _flag_k = FK_CMP; 16150 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02B3B8; /* 0x2B02B36F: jne 0x2b02b3b8 */ 16151 L_2B02B371: 16152 /* cmp MEM32(esi + 0x4), 3 */ /* 0x2B02B371: cmp dword ptr [esi + 4], 3 */ 16153 _flag_a = (uint32_t)(MEM32(esi + 0x4)); _flag_b = (uint32_t)(3); 16154 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16155 _flag_k = FK_CMP; 16156 eax = MEM32(esi + 0xC); /* 0x2B02B375: mov eax, dword ptr [esi + 0xc] */ 16157 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02B397; /* 0x2B02B378: jne 0x2b02b397 */ 16158 L_2B02B37A: 16159 /* cmp eax, 1 */ /* 0x2B02B37A: cmp eax, 1 */ 16160 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 16161 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16162 _flag_k = FK_CMP; 16163 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02B3AC; /* 0x2B02B37D: je 0x2b02b3ac */ 16164 L_2B02B37F: 16165 /* cmp eax, 2 */ /* 0x2B02B37F: cmp eax, 2 */ 16166 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 16167 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16168 _flag_k = FK_CMP; 16169 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x2B02B382: fld dword ptr [ebp - 8] */ 16170 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02B38F; /* 0x2B02B385: jne 0x2b02b38f */ 16171 L_2B02B387: 16172 _st[0] -= *(double*)ADDR(0x2B0B66B0); /* 0x2B02B387: fsub qword ptr [0x2b0b66b0] */ 16173 goto L_2B02B3B5; /* 0x2B02B38D: jmp 0x2b02b3b5 */ 16174 L_2B02B38F: 16175 _st[0] += *(double*)ADDR(0x2B0B66A8); /* 0x2B02B38F: fadd qword ptr [0x2b0b66a8] */ 16176 goto L_2B02B3B5; /* 0x2B02B395: jmp 0x2b02b3b5 */ 16177 L_2B02B397: 16178 /* cmp eax, 1 */ /* 0x2B02B397: cmp eax, 1 */ 16179 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 16180 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16181 _flag_k = FK_CMP; 16182 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02B3AC; /* 0x2B02B39A: je 0x2b02b3ac */ 16183 L_2B02B39C: 16184 /* cmp eax, 2 */ /* 0x2B02B39C: cmp eax, 2 */ 16185 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 16186 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16187 _flag_k = FK_CMP; 16188 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02B3AC; /* 0x2B02B39F: jne 0x2b02b3ac */ 16189 L_2B02B3A1: 16190 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x2B02B3A1: fld dword ptr [ebp - 8] */ 16191 _st[0] -= *(double*)ADDR(0x2B0B66A0); /* 0x2B02B3A4: fsub qword ptr [0x2b0b66a0] */ 16192 goto L_2B02B3B5; /* 0x2B02B3AA: jmp 0x2b02b3b5 */ 16193 L_2B02B3AC: 16194 fp_push(*(float*)&MEM32(ebp + (-0x8))); /* 0x2B02B3AC: fld dword ptr [ebp - 8] */ 16195 _st[0] -= *(double*)ADDR(0x2B0B6698); /* 0x2B02B3AF: fsub qword ptr [0x2b0b6698] */ 16196 L_2B02B3B5: 16197 { float _v = (float)fp_pop(); *(float*)ADDR(ebp + (-0x8)) = _v; } /* 0x2B02B3B5: fstp dword ptr [ebp - 8] */ 16198 L_2B02B3B8: 16199 ecx = MEM32(esi + 0x3C); /* 0x2B02B3B8: mov ecx, dword ptr [esi + 0x3c] */ 16200 PUSH32(esp, ecx); /* 0x2B02B3BB: push ecx */ 16201 ecx = MEM32(esi + 0x78); /* 0x2B02B3BC: mov ecx, dword ptr [esi + 0x78] */ 16202 RECOMP_ICALL(MEM32(0x2B0B55C8)); /* 0x2B02B3BF: call dword ptr [0x2b0b55c8] */ 16203 RECOMP_FLAGS_IN(); 16204 /* test LO8(eax), LO8(eax) */ /* 0x2B02B3C5: test al, al */ 16205 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 16206 _cf = 0; 16207 _flag_k = FK_NARROW(FK_TEST, 24); 16208 if (TEST_Z(_flag_a, _flag_b)) goto L_2B02B3FF; /* 0x2B02B3C7: je 0x2b02b3ff */ 16209 L_2B02B3C9: 16210 RECOMP_ICALL(MEM32(0x2B0B523C)); /* 0x2B02B3C9: call dword ptr [0x2b0b523c] */ 16211 RECOMP_FLAGS_IN(); 16212 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16213 edx = 0; /* 0x2B02B3CF: xor edx, edx */ 16214 _cf = 0; 16215 _flag_k = FK_TEST; 16216 ecx = 0x73u; /* 0x2B02B3D1: mov ecx, 0x73 */ 16217 { uint64_t _dividend = ((uint64_t)edx << 32) | eax; uint32_t _dv = (uint32_t)ecx; /* 0x2B02B3D6: div ecx */ 16218 if (_dv) { eax = (uint32_t)(_dividend / _dv); edx = (uint32_t)(_dividend % _dv); } 16219 else { eax = 0; edx = 0; } } 16220 /* cmp edx, 0x17u */ /* 0x2B02B3D8: cmp edx, 0x17 */ 16221 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x17u); 16222 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16223 _flag_k = FK_CMP; 16224 if (CMP_AE(_flag_a, _flag_b)) goto L_2B02B3E9; /* 0x2B02B3DB: jae 0x2b02b3e9 */ 16225 L_2B02B3DD: 16226 edx = MEM32(edx * 4 + 0x2B0B6578); /* 0x2B02B3DD: mov edx, dword ptr [edx*4 + 0x2b0b6578] */ 16227 PUSH32(esp, 0); /* 0x2B02B3E4: push 0 */ 16228 PUSH32(esp, edx); /* 0x2B02B3E6: push edx */ 16229 goto L_2B02B3F8; /* 0x2B02B3E7: jmp 0x2b02b3f8 */ 16230 L_2B02B3E9: 16231 eax = MEM32(esi + 0x1C); /* 0x2B02B3E9: mov eax, dword ptr [esi + 0x1c] */ 16232 /* test eax, eax */ /* 0x2B02B3EC: test eax, eax */ 16233 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 16234 _cf = 0; 16235 _flag_k = FK_TEST; 16236 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02B3F5; /* 0x2B02B3EE: jne 0x2b02b3f5 */ 16237 L_2B02B3F0: 16238 eax = MEM32(0x2B0B513C); /* 0x2B02B3F0: mov eax, dword ptr [0x2b0b513c] */ 16239 L_2B02B3F5: 16240 PUSH32(esp, 0); /* 0x2B02B3F5: push 0 */ 16241 PUSH32(esp, eax); /* 0x2B02B3F7: push eax */ 16242 L_2B02B3F8: 16243 ecx = esi; /* 0x2B02B3F8: mov ecx, esi */ 16244 RECOMP_ICALL(0x2B02B960u); /* 0x2B02B3FA: call 0x2b02b960 */ /* not lifted */ 16245 RECOMP_FLAGS_IN(); 16246 L_2B02B3FF: 16247 eax = MEM32(ebp + 0x8); /* 0x2B02B3FF: mov eax, dword ptr [ebp + 8] */ 16248 PUSH32(esp, eax); /* 0x2B02B402: push eax */ 16249 ecx = esi + 0x68; /* 0x2B02B403: lea ecx, [esi + 0x68] */ 16250 PUSH32(esp, ecx); /* 0x2B02B406: push ecx */ 16251 ecx = MEM32(esi + 0x78); /* 0x2B02B407: mov ecx, dword ptr [esi + 0x78] */ 16252 edx = ebp + (-0xC); /* 0x2B02B40A: lea edx, [ebp - 0xc] */ 16253 PUSH32(esp, edx); /* 0x2B02B40D: push edx */ 16254 RECOMP_ICALL(MEM32(0x2B0B55CC)); /* 0x2B02B40E: call dword ptr [0x2b0b55cc] */ 16255 RECOMP_FLAGS_IN(); 16256 esi = POP32_VAL(esp); /* 0x2B02B414: pop esi */ 16257 esp = ebp; /* 0x2B02B415: mov esp, ebp */ 16258 ebp = POP32_VAL(esp); /* 0x2B02B417: pop ebp */ 16259 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x2B02B418: ret 4 */ 16260 RECOMP_REGS_OUT(); 16261 } 16262 16263 void sub_2B02B420(void) { 16264 int _fpu_cmp = 0; 16265 uint32_t _cf = 0; 16266 int _df = 1; 16267 uint32_t _flag_k = FK_NONE; 16268 uint32_t _flag_a = 0, _flag_b = 0; 16269 uint32_t _itail_tgt = 0; 16270 RECOMP_REGS_LOCALS 16271 RECOMP_ENTER(0x2B02B420u); 16272 16273 L_2B02B420: 16274 eax = MEM32(ecx + 0x78); /* 0x2B02B420: mov eax, dword ptr [ecx + 0x78] */ 16275 eax = MEM32(eax + 0x28); /* 0x2B02B423: mov eax, dword ptr [eax + 0x28] */ 16276 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B02B426: ret */ 16277 RECOMP_REGS_OUT(); 16278 } 16279 16280 void sub_2B02B430(void) { 16281 int _fpu_cmp = 0; 16282 uint32_t _cf = 0; 16283 int _df = 1; 16284 uint32_t _flag_k = FK_NONE; 16285 uint32_t _flag_a = 0, _flag_b = 0; 16286 uint32_t _itail_tgt = 0; 16287 RECOMP_REGS_LOCALS 16288 RECOMP_ENTER(0x2B02B430u); 16289 16290 L_2B02B430: 16291 PUSH32(esp, ebp); /* 0x2B02B430: push ebp */ 16292 ebp = esp; /* 0x2B02B431: mov ebp, esp */ 16293 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x20u); 16294 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16295 esp = esp - 0x20u; /* 0x2B02B433: sub esp, 0x20 */ 16296 _flag_k = FK_CMP; 16297 PUSH32(esp, ebx); /* 0x2B02B436: push ebx */ 16298 ebx = ecx; /* 0x2B02B437: mov ebx, ecx */ 16299 edx = MEM32(ebx + 0x48); /* 0x2B02B439: mov edx, dword ptr [ebx + 0x48] */ 16300 ecx = MEM32(ebx + 0x44); /* 0x2B02B43C: mov ecx, dword ptr [ebx + 0x44] */ 16301 PUSH32(esp, esi); /* 0x2B02B43F: push esi */ 16302 esi = ebx + 0x40; /* 0x2B02B440: lea esi, [ebx + 0x40] */ 16303 eax = edx; /* 0x2B02B443: mov eax, edx */ 16304 /* cmp eax, edx */ /* 0x2B02B445: cmp eax, edx */ 16305 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 16306 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16307 _flag_k = FK_CMP; 16308 PUSH32(esp, edi); /* 0x2B02B447: push edi */ 16309 MEM32(ebp + (-0x14)) = ebx; /* 0x2B02B448: mov dword ptr [ebp - 0x14], ebx */ 16310 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02B461; /* 0x2B02B44B: je 0x2b02b461 */ 16311 L_2B02B44D: 16312 edi = MEM32(eax); /* 0x2B02B44D: mov edi, dword ptr [eax] */ 16313 MEM32(ecx) = edi; /* 0x2B02B44F: mov dword ptr [ecx], edi */ 16314 edi = MEM32(eax + 0x4); /* 0x2B02B451: mov edi, dword ptr [eax + 4] */ 16315 MEM32(ecx + 0x4) = edi; /* 0x2B02B454: mov dword ptr [ecx + 4], edi */ 16316 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 16317 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16318 eax = eax + 8; /* 0x2B02B457: add eax, 8 */ 16319 _flag_k = FK_ADD; 16320 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8); 16321 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16322 ecx = ecx + 8; /* 0x2B02B45A: add ecx, 8 */ 16323 _flag_k = FK_ADD; 16324 /* cmp eax, edx */ /* 0x2B02B45D: cmp eax, edx */ 16325 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 16326 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16327 _flag_k = FK_CMP; 16328 RECOMP_BACKEDGE(); 16329 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02B44D; /* 0x2B02B45F: jne 0x2b02b44d */ 16330 L_2B02B461: 16331 eax = MEM32(esi + 0x8); /* 0x2B02B461: mov eax, dword ptr [esi + 8] */ 16332 MEM32(esi + 0x8) = ecx; /* 0x2B02B464: mov dword ptr [esi + 8], ecx */ 16333 edx = MEM32(ebx + 0x4); /* 0x2B02B467: mov edx, dword ptr [ebx + 4] */ 16334 ecx = ebp + (-0x4); /* 0x2B02B46A: lea ecx, [ebp - 4] */ 16335 PUSH32(esp, ecx); /* 0x2B02B46D: push ecx */ 16336 MEM32(ebp + (-0x18)) = eax; /* 0x2B02B46E: mov dword ptr [ebp - 0x18], eax */ 16337 eax = MEM32(ebx); /* 0x2B02B471: mov eax, dword ptr [ebx] */ 16338 PUSH32(esp, edx); /* 0x2B02B473: push edx */ 16339 PUSH32(esp, eax); /* 0x2B02B474: push eax */ 16340 RECOMP_ICALL(0x2B031DB0u); /* 0x2B02B475: call 0x2b031db0 */ /* not lifted */ 16341 RECOMP_FLAGS_IN(); 16342 edx = MEM32(esi + 0x8); /* 0x2B02B47A: mov edx, dword ptr [esi + 8] */ 16343 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 16344 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16345 esp = esp + 0xCu; /* 0x2B02B47D: add esp, 0xc */ 16346 _flag_k = FK_ADD; 16347 ecx = ebp + (-0x20); /* 0x2B02B480: lea ecx, [ebp - 0x20] */ 16348 PUSH32(esp, ecx); /* 0x2B02B483: push ecx */ 16349 edi = eax; /* 0x2B02B484: mov edi, eax */ 16350 eax = MEM32(ebp + (-0x4)); /* 0x2B02B486: mov eax, dword ptr [ebp - 4] */ 16351 PUSH32(esp, 1); /* 0x2B02B489: push 1 */ 16352 PUSH32(esp, edx); /* 0x2B02B48B: push edx */ 16353 ecx = esi; /* 0x2B02B48C: mov ecx, esi */ 16354 MEM32(ebp + (-0x18)) = edi; /* 0x2B02B48E: mov dword ptr [ebp - 0x18], edi */ 16355 MEM32(ebp + (-0x20)) = edi; /* 0x2B02B491: mov dword ptr [ebp - 0x20], edi */ 16356 MEM32(ebp + (-0x1C)) = eax; /* 0x2B02B494: mov dword ptr [ebp - 0x1c], eax */ 16357 RECOMP_ICALL(0x2B0320B0u); /* 0x2B02B497: call 0x2b0320b0 */ /* not lifted */ 16358 RECOMP_FLAGS_IN(); 16359 ecx = MEM32(ebx + 0x4); /* 0x2B02B49C: mov ecx, dword ptr [ebx + 4] */ 16360 edx = MEM32(ebx); /* 0x2B02B49F: mov edx, dword ptr [ebx] */ 16361 eax = ebp + (-0x4); /* 0x2B02B4A1: lea eax, [ebp - 4] */ 16362 PUSH32(esp, eax); /* 0x2B02B4A4: push eax */ 16363 PUSH32(esp, edi); /* 0x2B02B4A5: push edi */ 16364 PUSH32(esp, ecx); /* 0x2B02B4A6: push ecx */ 16365 PUSH32(esp, edx); /* 0x2B02B4A7: push edx */ 16366 RECOMP_ICALL(0x2B031BE0u); /* 0x2B02B4A8: call 0x2b031be0 */ /* not lifted */ 16367 RECOMP_FLAGS_IN(); 16368 ecx = eax; /* 0x2B02B4AD: mov ecx, eax */ 16369 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 16370 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16371 esp = esp + 0x10u; /* 0x2B02B4AF: add esp, 0x10 */ 16372 _flag_k = FK_ADD; 16373 /* cmp ecx, edi */ /* 0x2B02B4B2: cmp ecx, edi */ 16374 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 16375 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16376 _flag_k = FK_CMP; 16377 MEM32(ebp + (-0x8)) = ecx; /* 0x2B02B4B4: mov dword ptr [ebp - 8], ecx */ 16378 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02B655; /* 0x2B02B4B7: je 0x2b02b655 */ 16379 L_2B02B4BD: 16380 goto L_2B02B4C2; /* 0x2B02B4BD: jmp 0x2b02b4c2 */ 16381 L_2B02B4BF: 16382 ecx = MEM32(ebp + (-0x8)); /* 0x2B02B4BF: mov ecx, dword ptr [ebp - 8] */ 16383 L_2B02B4C2: 16384 eax = MEM32(ebp + (-0x4)); /* 0x2B02B4C2: mov eax, dword ptr [ebp - 4] */ 16385 MEM32(ebp + (-0x20)) = ecx; /* 0x2B02B4C5: mov dword ptr [ebp - 0x20], ecx */ 16386 ecx = MEM32(esi + 0xC); /* 0x2B02B4C8: mov ecx, dword ptr [esi + 0xc] */ 16387 MEM32(ebp + (-0x1C)) = eax; /* 0x2B02B4CB: mov dword ptr [ebp - 0x1c], eax */ 16388 eax = MEM32(esi + 0x8); /* 0x2B02B4CE: mov eax, dword ptr [esi + 8] */ 16389 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 16390 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16391 ecx = ecx - eax; /* 0x2B02B4D1: sub ecx, eax */ 16392 _flag_k = FK_CMP; 16393 if (3u) _cf = (((ecx) >> 2) & 1u); /* 0x2B02B4D3: sar ecx, 3 */ 16394 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 16395 ecx = (uint32_t)((int32_t)ecx >> 3u); 16396 /* cmp ecx, 1 */ /* 0x2B02B4D6: cmp ecx, 1 */ 16397 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 16398 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16399 _flag_k = FK_CMP; 16400 edi = eax; /* 0x2B02B4D9: mov edi, eax */ 16401 if (CMP_AE(_flag_a, _flag_b)) goto L_2B02B592; /* 0x2B02B4DB: jae 0x2b02b592 */ 16402 L_2B02B4E1: 16403 ecx = MEM32(esi + 0x4); /* 0x2B02B4E1: mov ecx, dword ptr [esi + 4] */ 16404 /* test ecx, ecx */ /* 0x2B02B4E4: test ecx, ecx */ 16405 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16406 _cf = 0; 16407 _flag_k = FK_TEST; 16408 if (TEST_Z(_flag_a, _flag_b)) goto L_2B02B4FD; /* 0x2B02B4E6: je 0x2b02b4fd */ 16409 L_2B02B4E8: 16410 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 16411 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16412 eax = eax - ecx; /* 0x2B02B4E8: sub eax, ecx */ 16413 _flag_k = FK_CMP; 16414 if (3u) _cf = (((eax) >> 2) & 1u); /* 0x2B02B4EA: sar eax, 3 */ 16415 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 16416 eax = (uint32_t)((int32_t)eax >> 3u); 16417 /* cmp eax, 1 */ /* 0x2B02B4ED: cmp eax, 1 */ 16418 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 16419 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16420 _flag_k = FK_CMP; 16421 if (CMP_BE(_flag_a, _flag_b)) goto L_2B02B4FD; /* 0x2B02B4F0: jbe 0x2b02b4fd */ 16422 L_2B02B4F2: 16423 ecx = esi; /* 0x2B02B4F2: mov ecx, esi */ 16424 RECOMP_ICALL(0x2B02BBF0u); /* 0x2B02B4F4: call 0x2b02bbf0 */ /* not lifted */ 16425 RECOMP_FLAGS_IN(); 16426 ebx = eax; /* 0x2B02B4F9: mov ebx, eax */ 16427 goto L_2B02B502; /* 0x2B02B4FB: jmp 0x2b02b502 */ 16428 L_2B02B4FD: 16429 ebx = 1; /* 0x2B02B4FD: mov ebx, 1 */ 16430 L_2B02B502: 16431 ecx = esi; /* 0x2B02B502: mov ecx, esi */ 16432 RECOMP_ICALL(0x2B02BBF0u); /* 0x2B02B504: call 0x2b02bbf0 */ /* not lifted */ 16433 RECOMP_FLAGS_IN(); 16434 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 16435 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16436 eax = eax + ebx; /* 0x2B02B509: add eax, ebx */ 16437 _flag_k = FK_ADD; 16438 MEM32(ebp + (-0x10)) = eax; /* 0x2B02B50B: mov dword ptr [ebp - 0x10], eax */ 16439 if (/* add result */ recomp_cond(_flag_k, _flag_a, _flag_b, CC_NS)) goto L_2B02B512; /* 0x2B02B50E: jns 0x2b02b512 */ 16440 L_2B02B510: 16441 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16442 eax = 0; /* 0x2B02B510: xor eax, eax */ 16443 _cf = 0; 16444 _flag_k = FK_TEST; 16445 L_2B02B512: 16446 edx = eax * 8; /* 0x2B02B512: lea edx, [eax*8] */ 16447 PUSH32(esp, edx); /* 0x2B02B519: push edx */ 16448 RECOMP_ICALL(0x2B0AB212u); /* 0x2B02B51A: call 0x2b0ab212 */ /* not lifted */ 16449 RECOMP_FLAGS_IN(); 16450 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16451 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16452 esp = esp + 4; /* 0x2B02B51F: add esp, 4 */ 16453 _flag_k = FK_ADD; 16454 ebx = eax; /* 0x2B02B522: mov ebx, eax */ 16455 eax = MEM32(esi + 0x4); /* 0x2B02B524: mov eax, dword ptr [esi + 4] */ 16456 PUSH32(esp, ebx); /* 0x2B02B527: push ebx */ 16457 PUSH32(esp, edi); /* 0x2B02B528: push edi */ 16458 PUSH32(esp, eax); /* 0x2B02B529: push eax */ 16459 ecx = esi; /* 0x2B02B52A: mov ecx, esi */ 16460 RECOMP_ICALL(0x2B02C260u); /* 0x2B02B52C: call 0x2b02c260 */ /* not lifted */ 16461 RECOMP_FLAGS_IN(); 16462 ecx = ebp + (-0x20); /* 0x2B02B531: lea ecx, [ebp - 0x20] */ 16463 PUSH32(esp, ecx); /* 0x2B02B534: push ecx */ 16464 PUSH32(esp, 1); /* 0x2B02B535: push 1 */ 16465 PUSH32(esp, eax); /* 0x2B02B537: push eax */ 16466 ecx = esi; /* 0x2B02B538: mov ecx, esi */ 16467 MEM32(ebp + (-0xC)) = eax; /* 0x2B02B53A: mov dword ptr [ebp - 0xc], eax */ 16468 RECOMP_ICALL(0x2B02C2A0u); /* 0x2B02B53D: call 0x2b02c2a0 */ /* not lifted */ 16469 RECOMP_FLAGS_IN(); 16470 edx = MEM32(ebp + (-0xC)); /* 0x2B02B542: mov edx, dword ptr [ebp - 0xc] */ 16471 eax = MEM32(esi + 0x8); /* 0x2B02B545: mov eax, dword ptr [esi + 8] */ 16472 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(8); 16473 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16474 edx = edx + 8; /* 0x2B02B548: add edx, 8 */ 16475 _flag_k = FK_ADD; 16476 PUSH32(esp, edx); /* 0x2B02B54B: push edx */ 16477 PUSH32(esp, eax); /* 0x2B02B54C: push eax */ 16478 PUSH32(esp, edi); /* 0x2B02B54D: push edi */ 16479 ecx = esi; /* 0x2B02B54E: mov ecx, esi */ 16480 RECOMP_ICALL(0x2B02C260u); /* 0x2B02B550: call 0x2b02c260 */ /* not lifted */ 16481 RECOMP_FLAGS_IN(); 16482 ecx = MEM32(esi + 0x8); /* 0x2B02B555: mov ecx, dword ptr [esi + 8] */ 16483 edx = MEM32(esi + 0x4); /* 0x2B02B558: mov edx, dword ptr [esi + 4] */ 16484 PUSH32(esp, ecx); /* 0x2B02B55B: push ecx */ 16485 PUSH32(esp, edx); /* 0x2B02B55C: push edx */ 16486 ecx = esi; /* 0x2B02B55D: mov ecx, esi */ 16487 RECOMP_ICALL(0x2B0292C0u); /* 0x2B02B55F: call 0x2b0292c0 */ /* not lifted */ 16488 RECOMP_FLAGS_IN(); 16489 eax = MEM32(esi + 0x4); /* 0x2B02B564: mov eax, dword ptr [esi + 4] */ 16490 PUSH32(esp, eax); /* 0x2B02B567: push eax */ 16491 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B02B568: call 0x2b0ab1ba */ /* not lifted */ 16492 RECOMP_FLAGS_IN(); 16493 ecx = MEM32(ebp + (-0x10)); /* 0x2B02B56D: mov ecx, dword ptr [ebp - 0x10] */ 16494 edx = ebx + ecx * 8; /* 0x2B02B570: lea edx, [ebx + ecx*8] */ 16495 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16496 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16497 esp = esp + 4; /* 0x2B02B573: add esp, 4 */ 16498 _flag_k = FK_ADD; 16499 ecx = esi; /* 0x2B02B576: mov ecx, esi */ 16500 MEM32(esi + 0xC) = edx; /* 0x2B02B578: mov dword ptr [esi + 0xc], edx */ 16501 RECOMP_ICALL(0x2B02BBF0u); /* 0x2B02B57B: call 0x2b02bbf0 */ /* not lifted */ 16502 RECOMP_FLAGS_IN(); 16503 eax = ebx + eax * 8 + 0x8; /* 0x2B02B580: lea eax, [ebx + eax*8 + 8] */ 16504 MEM32(esi + 0x4) = ebx; /* 0x2B02B584: mov dword ptr [esi + 4], ebx */ 16505 ebx = MEM32(ebp + (-0x14)); /* 0x2B02B587: mov ebx, dword ptr [ebp - 0x14] */ 16506 MEM32(esi + 0x8) = eax; /* 0x2B02B58A: mov dword ptr [esi + 8], eax */ 16507 goto L_2B02B630; /* 0x2B02B58D: jmp 0x2b02b630 */ 16508 L_2B02B592: 16509 ecx = eax; /* 0x2B02B592: mov ecx, eax */ 16510 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 16511 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16512 ecx = ecx - edi; /* 0x2B02B594: sub ecx, edi */ 16513 _flag_k = FK_CMP; 16514 if (3u) _cf = (((ecx) >> 2) & 1u); /* 0x2B02B596: sar ecx, 3 */ 16515 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 16516 ecx = (uint32_t)((int32_t)ecx >> 3u); 16517 /* cmp ecx, 1 */ /* 0x2B02B599: cmp ecx, 1 */ 16518 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 16519 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16520 _flag_k = FK_CMP; 16521 if (CMP_AE(_flag_a, _flag_b)) goto L_2B02B5E4; /* 0x2B02B59C: jae 0x2b02b5e4 */ 16522 L_2B02B59E: 16523 ecx = edi + 0x8; /* 0x2B02B59E: lea ecx, [edi + 8] */ 16524 PUSH32(esp, ecx); /* 0x2B02B5A1: push ecx */ 16525 PUSH32(esp, eax); /* 0x2B02B5A2: push eax */ 16526 PUSH32(esp, edi); /* 0x2B02B5A3: push edi */ 16527 ecx = esi; /* 0x2B02B5A4: mov ecx, esi */ 16528 RECOMP_ICALL(0x2B02C260u); /* 0x2B02B5A6: call 0x2b02c260 */ /* not lifted */ 16529 RECOMP_FLAGS_IN(); 16530 eax = MEM32(esi + 0x8); /* 0x2B02B5AB: mov eax, dword ptr [esi + 8] */ 16531 ecx = eax; /* 0x2B02B5AE: mov ecx, eax */ 16532 edx = ebp + (-0x20); /* 0x2B02B5B0: lea edx, [ebp - 0x20] */ 16533 PUSH32(esp, edx); /* 0x2B02B5B3: push edx */ 16534 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 16535 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16536 ecx = ecx - edi; /* 0x2B02B5B4: sub ecx, edi */ 16537 _flag_k = FK_CMP; 16538 if (3u) _cf = (((ecx) >> 2) & 1u); /* 0x2B02B5B6: sar ecx, 3 */ 16539 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 16540 ecx = (uint32_t)((int32_t)ecx >> 3u); 16541 edx = 1; /* 0x2B02B5B9: mov edx, 1 */ 16542 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 16543 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16544 edx = edx - ecx; /* 0x2B02B5BE: sub edx, ecx */ 16545 _flag_k = FK_CMP; 16546 PUSH32(esp, edx); /* 0x2B02B5C0: push edx */ 16547 PUSH32(esp, eax); /* 0x2B02B5C1: push eax */ 16548 ecx = esi; /* 0x2B02B5C2: mov ecx, esi */ 16549 RECOMP_ICALL(0x2B02C2A0u); /* 0x2B02B5C4: call 0x2b02c2a0 */ /* not lifted */ 16550 RECOMP_FLAGS_IN(); 16551 eax = MEM32(esi + 0x8); /* 0x2B02B5C9: mov eax, dword ptr [esi + 8] */ 16552 /* cmp edi, eax */ /* 0x2B02B5CC: cmp edi, eax */ 16553 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 16554 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16555 _flag_k = FK_CMP; 16556 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02B62C; /* 0x2B02B5CE: je 0x2b02b62c */ 16557 L_2B02B5D0: 16558 ecx = MEM32(ebp + (-0x20)); /* 0x2B02B5D0: mov ecx, dword ptr [ebp - 0x20] */ 16559 MEM32(edi) = ecx; /* 0x2B02B5D3: mov dword ptr [edi], ecx */ 16560 edx = MEM32(ebp + (-0x1C)); /* 0x2B02B5D5: mov edx, dword ptr [ebp - 0x1c] */ 16561 MEM32(edi + 0x4) = edx; /* 0x2B02B5D8: mov dword ptr [edi + 4], edx */ 16562 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(8); 16563 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16564 edi = edi + 8; /* 0x2B02B5DB: add edi, 8 */ 16565 _flag_k = FK_ADD; 16566 /* cmp edi, eax */ /* 0x2B02B5DE: cmp edi, eax */ 16567 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 16568 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16569 _flag_k = FK_CMP; 16570 RECOMP_BACKEDGE(); 16571 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02B5D0; /* 0x2B02B5E0: jne 0x2b02b5d0 */ 16572 L_2B02B5E2: 16573 goto L_2B02B62C; /* 0x2B02B5E2: jmp 0x2b02b62c */ 16574 L_2B02B5E4: 16575 PUSH32(esp, eax); /* 0x2B02B5E4: push eax */ 16576 ecx = eax + (-0x8); /* 0x2B02B5E5: lea ecx, [eax - 8] */ 16577 PUSH32(esp, eax); /* 0x2B02B5E8: push eax */ 16578 MEM32(ebp + (-0x10)) = ecx; /* 0x2B02B5E9: mov dword ptr [ebp - 0x10], ecx */ 16579 PUSH32(esp, ecx); /* 0x2B02B5EC: push ecx */ 16580 ecx = esi; /* 0x2B02B5ED: mov ecx, esi */ 16581 RECOMP_ICALL(0x2B02C260u); /* 0x2B02B5EF: call 0x2b02c260 */ /* not lifted */ 16582 RECOMP_FLAGS_IN(); 16583 ecx = MEM32(esi + 0x8); /* 0x2B02B5F4: mov ecx, dword ptr [esi + 8] */ 16584 eax = ecx + (-0x8); /* 0x2B02B5F7: lea eax, [ecx - 8] */ 16585 /* cmp edi, eax */ /* 0x2B02B5FA: cmp edi, eax */ 16586 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 16587 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16588 _flag_k = FK_CMP; 16589 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02B613; /* 0x2B02B5FC: je 0x2b02b613 */ 16590 L_2B02B5FE: 16591 edx = MEM32(eax + (-0x8)); /* 0x2B02B5FE: mov edx, dword ptr [eax - 8] */ 16592 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 16593 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16594 eax = eax - 8; /* 0x2B02B601: sub eax, 8 */ 16595 _flag_k = FK_CMP; 16596 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8); 16597 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16598 ecx = ecx - 8; /* 0x2B02B604: sub ecx, 8 */ 16599 _flag_k = FK_CMP; 16600 /* cmp eax, edi */ /* 0x2B02B607: cmp eax, edi */ 16601 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 16602 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16603 _flag_k = FK_CMP; 16604 MEM32(ecx) = edx; /* 0x2B02B609: mov dword ptr [ecx], edx */ 16605 edx = MEM32(eax + 0x4); /* 0x2B02B60B: mov edx, dword ptr [eax + 4] */ 16606 MEM32(ecx + 0x4) = edx; /* 0x2B02B60E: mov dword ptr [ecx + 4], edx */ 16607 RECOMP_BACKEDGE(); 16608 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02B5FE; /* 0x2B02B611: jne 0x2b02b5fe */ 16609 L_2B02B613: 16610 eax = edi + 0x8; /* 0x2B02B613: lea eax, [edi + 8] */ 16611 /* cmp edi, eax */ /* 0x2B02B616: cmp edi, eax */ 16612 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 16613 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16614 _flag_k = FK_CMP; 16615 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02B62C; /* 0x2B02B618: je 0x2b02b62c */ 16616 L_2B02B61A: 16617 ecx = MEM32(ebp + (-0x20)); /* 0x2B02B61A: mov ecx, dword ptr [ebp - 0x20] */ 16618 MEM32(edi) = ecx; /* 0x2B02B61D: mov dword ptr [edi], ecx */ 16619 edx = MEM32(ebp + (-0x1C)); /* 0x2B02B61F: mov edx, dword ptr [ebp - 0x1c] */ 16620 MEM32(edi + 0x4) = edx; /* 0x2B02B622: mov dword ptr [edi + 4], edx */ 16621 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(8); 16622 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16623 edi = edi + 8; /* 0x2B02B625: add edi, 8 */ 16624 _flag_k = FK_ADD; 16625 /* cmp edi, eax */ /* 0x2B02B628: cmp edi, eax */ 16626 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 16627 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16628 _flag_k = FK_CMP; 16629 RECOMP_BACKEDGE(); 16630 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02B61A; /* 0x2B02B62A: jne 0x2b02b61a */ 16631 L_2B02B62C: 16632 _flag_a = (uint32_t)(MEM32(esi + 0x8)); _flag_b = (uint32_t)(8); 16633 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16634 MEM32(esi + 0x8) = MEM32(esi + 0x8) + 8; /* 0x2B02B62C: add dword ptr [esi + 8], 8 */ 16635 _flag_k = FK_ADD; 16636 L_2B02B630: 16637 ecx = MEM32(ebp + (-0x8)); /* 0x2B02B630: mov ecx, dword ptr [ebp - 8] */ 16638 edx = MEM32(ebx + 0x4); /* 0x2B02B633: mov edx, dword ptr [ebx + 4] */ 16639 eax = ebp + (-0x4); /* 0x2B02B636: lea eax, [ebp - 4] */ 16640 PUSH32(esp, eax); /* 0x2B02B639: push eax */ 16641 eax = MEM32(ebx); /* 0x2B02B63A: mov eax, dword ptr [ebx] */ 16642 PUSH32(esp, ecx); /* 0x2B02B63C: push ecx */ 16643 PUSH32(esp, edx); /* 0x2B02B63D: push edx */ 16644 PUSH32(esp, eax); /* 0x2B02B63E: push eax */ 16645 RECOMP_ICALL(0x2B031BE0u); /* 0x2B02B63F: call 0x2b031be0 */ /* not lifted */ 16646 RECOMP_FLAGS_IN(); 16647 ecx = MEM32(ebp + (-0x18)); /* 0x2B02B644: mov ecx, dword ptr [ebp - 0x18] */ 16648 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 16649 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16650 esp = esp + 0x10u; /* 0x2B02B647: add esp, 0x10 */ 16651 _flag_k = FK_ADD; 16652 /* cmp eax, ecx */ /* 0x2B02B64A: cmp eax, ecx */ 16653 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 16654 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16655 _flag_k = FK_CMP; 16656 MEM32(ebp + (-0x8)) = eax; /* 0x2B02B64C: mov dword ptr [ebp - 8], eax */ 16657 RECOMP_BACKEDGE(); 16658 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02B4BF; /* 0x2B02B64F: jne 0x2b02b4bf */ 16659 L_2B02B655: 16660 edi = POP32_VAL(esp); /* 0x2B02B655: pop edi */ 16661 esi = POP32_VAL(esp); /* 0x2B02B656: pop esi */ 16662 ebx = POP32_VAL(esp); /* 0x2B02B657: pop ebx */ 16663 esp = ebp; /* 0x2B02B658: mov esp, ebp */ 16664 ebp = POP32_VAL(esp); /* 0x2B02B65A: pop ebp */ 16665 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B02B65B: ret */ 16666 RECOMP_REGS_OUT(); 16667 } 16668 16669 void sub_2B02B4BF(void) { 16670 int _fpu_cmp = 0; 16671 uint32_t _cf = 0; 16672 int _df = 1; 16673 uint32_t _flag_k = FK_NONE; 16674 uint32_t _flag_a = 0, _flag_b = 0; 16675 uint32_t _itail_tgt = 0; 16676 RECOMP_REGS_LOCALS 16677 RECOMP_ENTER(0x2B02B4BFu); 16678 16679 L_2B02B4BF: 16680 ecx = MEM32(ebp + (-0x8)); /* 0x2B02B4BF: mov ecx, dword ptr [ebp - 8] */ 16681 eax = MEM32(ebp + (-0x4)); /* 0x2B02B4C2: mov eax, dword ptr [ebp - 4] */ 16682 MEM32(ebp + (-0x20)) = ecx; /* 0x2B02B4C5: mov dword ptr [ebp - 0x20], ecx */ 16683 ecx = MEM32(esi + 0xC); /* 0x2B02B4C8: mov ecx, dword ptr [esi + 0xc] */ 16684 MEM32(ebp + (-0x1C)) = eax; /* 0x2B02B4CB: mov dword ptr [ebp - 0x1c], eax */ 16685 eax = MEM32(esi + 0x8); /* 0x2B02B4CE: mov eax, dword ptr [esi + 8] */ 16686 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 16687 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16688 ecx = ecx - eax; /* 0x2B02B4D1: sub ecx, eax */ 16689 _flag_k = FK_CMP; 16690 if (3u) _cf = (((ecx) >> 2) & 1u); /* 0x2B02B4D3: sar ecx, 3 */ 16691 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 16692 ecx = (uint32_t)((int32_t)ecx >> 3u); 16693 /* cmp ecx, 1 */ /* 0x2B02B4D6: cmp ecx, 1 */ 16694 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 16695 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16696 _flag_k = FK_CMP; 16697 edi = eax; /* 0x2B02B4D9: mov edi, eax */ 16698 if (CMP_AE(_flag_a, _flag_b)) goto L_2B02B592; /* 0x2B02B4DB: jae 0x2b02b592 */ 16699 L_2B02B4E1: 16700 ecx = MEM32(esi + 0x4); /* 0x2B02B4E1: mov ecx, dword ptr [esi + 4] */ 16701 /* test ecx, ecx */ /* 0x2B02B4E4: test ecx, ecx */ 16702 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 16703 _cf = 0; 16704 _flag_k = FK_TEST; 16705 if (TEST_Z(_flag_a, _flag_b)) goto L_2B02B4FD; /* 0x2B02B4E6: je 0x2b02b4fd */ 16706 L_2B02B4E8: 16707 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 16708 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16709 eax = eax - ecx; /* 0x2B02B4E8: sub eax, ecx */ 16710 _flag_k = FK_CMP; 16711 if (3u) _cf = (((eax) >> 2) & 1u); /* 0x2B02B4EA: sar eax, 3 */ 16712 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 16713 eax = (uint32_t)((int32_t)eax >> 3u); 16714 /* cmp eax, 1 */ /* 0x2B02B4ED: cmp eax, 1 */ 16715 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 16716 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16717 _flag_k = FK_CMP; 16718 if (CMP_BE(_flag_a, _flag_b)) goto L_2B02B4FD; /* 0x2B02B4F0: jbe 0x2b02b4fd */ 16719 L_2B02B4F2: 16720 ecx = esi; /* 0x2B02B4F2: mov ecx, esi */ 16721 RECOMP_ICALL(0x2B02BBF0u); /* 0x2B02B4F4: call 0x2b02bbf0 */ /* not lifted */ 16722 RECOMP_FLAGS_IN(); 16723 ebx = eax; /* 0x2B02B4F9: mov ebx, eax */ 16724 goto L_2B02B502; /* 0x2B02B4FB: jmp 0x2b02b502 */ 16725 L_2B02B4FD: 16726 ebx = 1; /* 0x2B02B4FD: mov ebx, 1 */ 16727 L_2B02B502: 16728 ecx = esi; /* 0x2B02B502: mov ecx, esi */ 16729 RECOMP_ICALL(0x2B02BBF0u); /* 0x2B02B504: call 0x2b02bbf0 */ /* not lifted */ 16730 RECOMP_FLAGS_IN(); 16731 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 16732 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16733 eax = eax + ebx; /* 0x2B02B509: add eax, ebx */ 16734 _flag_k = FK_ADD; 16735 MEM32(ebp + (-0x10)) = eax; /* 0x2B02B50B: mov dword ptr [ebp - 0x10], eax */ 16736 if (/* add result */ recomp_cond(_flag_k, _flag_a, _flag_b, CC_NS)) goto L_2B02B512; /* 0x2B02B50E: jns 0x2b02b512 */ 16737 L_2B02B510: 16738 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 16739 eax = 0; /* 0x2B02B510: xor eax, eax */ 16740 _cf = 0; 16741 _flag_k = FK_TEST; 16742 L_2B02B512: 16743 edx = eax * 8; /* 0x2B02B512: lea edx, [eax*8] */ 16744 PUSH32(esp, edx); /* 0x2B02B519: push edx */ 16745 RECOMP_ICALL(0x2B0AB212u); /* 0x2B02B51A: call 0x2b0ab212 */ /* not lifted */ 16746 RECOMP_FLAGS_IN(); 16747 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16748 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16749 esp = esp + 4; /* 0x2B02B51F: add esp, 4 */ 16750 _flag_k = FK_ADD; 16751 ebx = eax; /* 0x2B02B522: mov ebx, eax */ 16752 eax = MEM32(esi + 0x4); /* 0x2B02B524: mov eax, dword ptr [esi + 4] */ 16753 PUSH32(esp, ebx); /* 0x2B02B527: push ebx */ 16754 PUSH32(esp, edi); /* 0x2B02B528: push edi */ 16755 PUSH32(esp, eax); /* 0x2B02B529: push eax */ 16756 ecx = esi; /* 0x2B02B52A: mov ecx, esi */ 16757 RECOMP_ICALL(0x2B02C260u); /* 0x2B02B52C: call 0x2b02c260 */ /* not lifted */ 16758 RECOMP_FLAGS_IN(); 16759 ecx = ebp + (-0x20); /* 0x2B02B531: lea ecx, [ebp - 0x20] */ 16760 PUSH32(esp, ecx); /* 0x2B02B534: push ecx */ 16761 PUSH32(esp, 1); /* 0x2B02B535: push 1 */ 16762 PUSH32(esp, eax); /* 0x2B02B537: push eax */ 16763 ecx = esi; /* 0x2B02B538: mov ecx, esi */ 16764 MEM32(ebp + (-0xC)) = eax; /* 0x2B02B53A: mov dword ptr [ebp - 0xc], eax */ 16765 RECOMP_ICALL(0x2B02C2A0u); /* 0x2B02B53D: call 0x2b02c2a0 */ /* not lifted */ 16766 RECOMP_FLAGS_IN(); 16767 edx = MEM32(ebp + (-0xC)); /* 0x2B02B542: mov edx, dword ptr [ebp - 0xc] */ 16768 eax = MEM32(esi + 0x8); /* 0x2B02B545: mov eax, dword ptr [esi + 8] */ 16769 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(8); 16770 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16771 edx = edx + 8; /* 0x2B02B548: add edx, 8 */ 16772 _flag_k = FK_ADD; 16773 PUSH32(esp, edx); /* 0x2B02B54B: push edx */ 16774 PUSH32(esp, eax); /* 0x2B02B54C: push eax */ 16775 PUSH32(esp, edi); /* 0x2B02B54D: push edi */ 16776 ecx = esi; /* 0x2B02B54E: mov ecx, esi */ 16777 RECOMP_ICALL(0x2B02C260u); /* 0x2B02B550: call 0x2b02c260 */ /* not lifted */ 16778 RECOMP_FLAGS_IN(); 16779 ecx = MEM32(esi + 0x8); /* 0x2B02B555: mov ecx, dword ptr [esi + 8] */ 16780 edx = MEM32(esi + 0x4); /* 0x2B02B558: mov edx, dword ptr [esi + 4] */ 16781 PUSH32(esp, ecx); /* 0x2B02B55B: push ecx */ 16782 PUSH32(esp, edx); /* 0x2B02B55C: push edx */ 16783 ecx = esi; /* 0x2B02B55D: mov ecx, esi */ 16784 RECOMP_ICALL(0x2B0292C0u); /* 0x2B02B55F: call 0x2b0292c0 */ /* not lifted */ 16785 RECOMP_FLAGS_IN(); 16786 eax = MEM32(esi + 0x4); /* 0x2B02B564: mov eax, dword ptr [esi + 4] */ 16787 PUSH32(esp, eax); /* 0x2B02B567: push eax */ 16788 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B02B568: call 0x2b0ab1ba */ /* not lifted */ 16789 RECOMP_FLAGS_IN(); 16790 ecx = MEM32(ebp + (-0x10)); /* 0x2B02B56D: mov ecx, dword ptr [ebp - 0x10] */ 16791 edx = ebx + ecx * 8; /* 0x2B02B570: lea edx, [ebx + ecx*8] */ 16792 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 16793 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16794 esp = esp + 4; /* 0x2B02B573: add esp, 4 */ 16795 _flag_k = FK_ADD; 16796 ecx = esi; /* 0x2B02B576: mov ecx, esi */ 16797 MEM32(esi + 0xC) = edx; /* 0x2B02B578: mov dword ptr [esi + 0xc], edx */ 16798 RECOMP_ICALL(0x2B02BBF0u); /* 0x2B02B57B: call 0x2b02bbf0 */ /* not lifted */ 16799 RECOMP_FLAGS_IN(); 16800 eax = ebx + eax * 8 + 0x8; /* 0x2B02B580: lea eax, [ebx + eax*8 + 8] */ 16801 MEM32(esi + 0x4) = ebx; /* 0x2B02B584: mov dword ptr [esi + 4], ebx */ 16802 ebx = MEM32(ebp + (-0x14)); /* 0x2B02B587: mov ebx, dword ptr [ebp - 0x14] */ 16803 MEM32(esi + 0x8) = eax; /* 0x2B02B58A: mov dword ptr [esi + 8], eax */ 16804 goto L_2B02B630; /* 0x2B02B58D: jmp 0x2b02b630 */ 16805 L_2B02B592: 16806 ecx = eax; /* 0x2B02B592: mov ecx, eax */ 16807 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 16808 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16809 ecx = ecx - edi; /* 0x2B02B594: sub ecx, edi */ 16810 _flag_k = FK_CMP; 16811 if (3u) _cf = (((ecx) >> 2) & 1u); /* 0x2B02B596: sar ecx, 3 */ 16812 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 16813 ecx = (uint32_t)((int32_t)ecx >> 3u); 16814 /* cmp ecx, 1 */ /* 0x2B02B599: cmp ecx, 1 */ 16815 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 16816 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16817 _flag_k = FK_CMP; 16818 if (CMP_AE(_flag_a, _flag_b)) goto L_2B02B5E4; /* 0x2B02B59C: jae 0x2b02b5e4 */ 16819 L_2B02B59E: 16820 ecx = edi + 0x8; /* 0x2B02B59E: lea ecx, [edi + 8] */ 16821 PUSH32(esp, ecx); /* 0x2B02B5A1: push ecx */ 16822 PUSH32(esp, eax); /* 0x2B02B5A2: push eax */ 16823 PUSH32(esp, edi); /* 0x2B02B5A3: push edi */ 16824 ecx = esi; /* 0x2B02B5A4: mov ecx, esi */ 16825 RECOMP_ICALL(0x2B02C260u); /* 0x2B02B5A6: call 0x2b02c260 */ /* not lifted */ 16826 RECOMP_FLAGS_IN(); 16827 eax = MEM32(esi + 0x8); /* 0x2B02B5AB: mov eax, dword ptr [esi + 8] */ 16828 ecx = eax; /* 0x2B02B5AE: mov ecx, eax */ 16829 edx = ebp + (-0x20); /* 0x2B02B5B0: lea edx, [ebp - 0x20] */ 16830 PUSH32(esp, edx); /* 0x2B02B5B3: push edx */ 16831 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 16832 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16833 ecx = ecx - edi; /* 0x2B02B5B4: sub ecx, edi */ 16834 _flag_k = FK_CMP; 16835 if (3u) _cf = (((ecx) >> 2) & 1u); /* 0x2B02B5B6: sar ecx, 3 */ 16836 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 16837 ecx = (uint32_t)((int32_t)ecx >> 3u); 16838 edx = 1; /* 0x2B02B5B9: mov edx, 1 */ 16839 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 16840 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16841 edx = edx - ecx; /* 0x2B02B5BE: sub edx, ecx */ 16842 _flag_k = FK_CMP; 16843 PUSH32(esp, edx); /* 0x2B02B5C0: push edx */ 16844 PUSH32(esp, eax); /* 0x2B02B5C1: push eax */ 16845 ecx = esi; /* 0x2B02B5C2: mov ecx, esi */ 16846 RECOMP_ICALL(0x2B02C2A0u); /* 0x2B02B5C4: call 0x2b02c2a0 */ /* not lifted */ 16847 RECOMP_FLAGS_IN(); 16848 eax = MEM32(esi + 0x8); /* 0x2B02B5C9: mov eax, dword ptr [esi + 8] */ 16849 /* cmp edi, eax */ /* 0x2B02B5CC: cmp edi, eax */ 16850 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 16851 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16852 _flag_k = FK_CMP; 16853 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02B62C; /* 0x2B02B5CE: je 0x2b02b62c */ 16854 L_2B02B5D0: 16855 ecx = MEM32(ebp + (-0x20)); /* 0x2B02B5D0: mov ecx, dword ptr [ebp - 0x20] */ 16856 MEM32(edi) = ecx; /* 0x2B02B5D3: mov dword ptr [edi], ecx */ 16857 edx = MEM32(ebp + (-0x1C)); /* 0x2B02B5D5: mov edx, dword ptr [ebp - 0x1c] */ 16858 MEM32(edi + 0x4) = edx; /* 0x2B02B5D8: mov dword ptr [edi + 4], edx */ 16859 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(8); 16860 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16861 edi = edi + 8; /* 0x2B02B5DB: add edi, 8 */ 16862 _flag_k = FK_ADD; 16863 /* cmp edi, eax */ /* 0x2B02B5DE: cmp edi, eax */ 16864 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 16865 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16866 _flag_k = FK_CMP; 16867 RECOMP_BACKEDGE(); 16868 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02B5D0; /* 0x2B02B5E0: jne 0x2b02b5d0 */ 16869 L_2B02B5E2: 16870 goto L_2B02B62C; /* 0x2B02B5E2: jmp 0x2b02b62c */ 16871 L_2B02B5E4: 16872 PUSH32(esp, eax); /* 0x2B02B5E4: push eax */ 16873 ecx = eax + (-0x8); /* 0x2B02B5E5: lea ecx, [eax - 8] */ 16874 PUSH32(esp, eax); /* 0x2B02B5E8: push eax */ 16875 MEM32(ebp + (-0x10)) = ecx; /* 0x2B02B5E9: mov dword ptr [ebp - 0x10], ecx */ 16876 PUSH32(esp, ecx); /* 0x2B02B5EC: push ecx */ 16877 ecx = esi; /* 0x2B02B5ED: mov ecx, esi */ 16878 RECOMP_ICALL(0x2B02C260u); /* 0x2B02B5EF: call 0x2b02c260 */ /* not lifted */ 16879 RECOMP_FLAGS_IN(); 16880 ecx = MEM32(esi + 0x8); /* 0x2B02B5F4: mov ecx, dword ptr [esi + 8] */ 16881 eax = ecx + (-0x8); /* 0x2B02B5F7: lea eax, [ecx - 8] */ 16882 /* cmp edi, eax */ /* 0x2B02B5FA: cmp edi, eax */ 16883 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 16884 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16885 _flag_k = FK_CMP; 16886 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02B613; /* 0x2B02B5FC: je 0x2b02b613 */ 16887 L_2B02B5FE: 16888 edx = MEM32(eax + (-0x8)); /* 0x2B02B5FE: mov edx, dword ptr [eax - 8] */ 16889 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 16890 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16891 eax = eax - 8; /* 0x2B02B601: sub eax, 8 */ 16892 _flag_k = FK_CMP; 16893 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8); 16894 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16895 ecx = ecx - 8; /* 0x2B02B604: sub ecx, 8 */ 16896 _flag_k = FK_CMP; 16897 /* cmp eax, edi */ /* 0x2B02B607: cmp eax, edi */ 16898 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 16899 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16900 _flag_k = FK_CMP; 16901 MEM32(ecx) = edx; /* 0x2B02B609: mov dword ptr [ecx], edx */ 16902 edx = MEM32(eax + 0x4); /* 0x2B02B60B: mov edx, dword ptr [eax + 4] */ 16903 MEM32(ecx + 0x4) = edx; /* 0x2B02B60E: mov dword ptr [ecx + 4], edx */ 16904 RECOMP_BACKEDGE(); 16905 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02B5FE; /* 0x2B02B611: jne 0x2b02b5fe */ 16906 L_2B02B613: 16907 eax = edi + 0x8; /* 0x2B02B613: lea eax, [edi + 8] */ 16908 /* cmp edi, eax */ /* 0x2B02B616: cmp edi, eax */ 16909 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 16910 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16911 _flag_k = FK_CMP; 16912 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02B62C; /* 0x2B02B618: je 0x2b02b62c */ 16913 L_2B02B61A: 16914 ecx = MEM32(ebp + (-0x20)); /* 0x2B02B61A: mov ecx, dword ptr [ebp - 0x20] */ 16915 MEM32(edi) = ecx; /* 0x2B02B61D: mov dword ptr [edi], ecx */ 16916 edx = MEM32(ebp + (-0x1C)); /* 0x2B02B61F: mov edx, dword ptr [ebp - 0x1c] */ 16917 MEM32(edi + 0x4) = edx; /* 0x2B02B622: mov dword ptr [edi + 4], edx */ 16918 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(8); 16919 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16920 edi = edi + 8; /* 0x2B02B625: add edi, 8 */ 16921 _flag_k = FK_ADD; 16922 /* cmp edi, eax */ /* 0x2B02B628: cmp edi, eax */ 16923 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 16924 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16925 _flag_k = FK_CMP; 16926 RECOMP_BACKEDGE(); 16927 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02B61A; /* 0x2B02B62A: jne 0x2b02b61a */ 16928 L_2B02B62C: 16929 _flag_a = (uint32_t)(MEM32(esi + 0x8)); _flag_b = (uint32_t)(8); 16930 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16931 MEM32(esi + 0x8) = MEM32(esi + 0x8) + 8; /* 0x2B02B62C: add dword ptr [esi + 8], 8 */ 16932 _flag_k = FK_ADD; 16933 L_2B02B630: 16934 ecx = MEM32(ebp + (-0x8)); /* 0x2B02B630: mov ecx, dword ptr [ebp - 8] */ 16935 edx = MEM32(ebx + 0x4); /* 0x2B02B633: mov edx, dword ptr [ebx + 4] */ 16936 eax = ebp + (-0x4); /* 0x2B02B636: lea eax, [ebp - 4] */ 16937 PUSH32(esp, eax); /* 0x2B02B639: push eax */ 16938 eax = MEM32(ebx); /* 0x2B02B63A: mov eax, dword ptr [ebx] */ 16939 PUSH32(esp, ecx); /* 0x2B02B63C: push ecx */ 16940 PUSH32(esp, edx); /* 0x2B02B63D: push edx */ 16941 PUSH32(esp, eax); /* 0x2B02B63E: push eax */ 16942 RECOMP_ICALL(0x2B031BE0u); /* 0x2B02B63F: call 0x2b031be0 */ /* not lifted */ 16943 RECOMP_FLAGS_IN(); 16944 ecx = MEM32(ebp + (-0x18)); /* 0x2B02B644: mov ecx, dword ptr [ebp - 0x18] */ 16945 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 16946 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 16947 esp = esp + 0x10u; /* 0x2B02B647: add esp, 0x10 */ 16948 _flag_k = FK_ADD; 16949 /* cmp eax, ecx */ /* 0x2B02B64A: cmp eax, ecx */ 16950 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 16951 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16952 _flag_k = FK_CMP; 16953 MEM32(ebp + (-0x8)) = eax; /* 0x2B02B64C: mov dword ptr [ebp - 8], eax */ 16954 RECOMP_BACKEDGE(); 16955 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02B4BF; /* 0x2B02B64F: jne 0x2b02b4bf */ 16956 L_2B02B655: 16957 edi = POP32_VAL(esp); /* 0x2B02B655: pop edi */ 16958 esi = POP32_VAL(esp); /* 0x2B02B656: pop esi */ 16959 ebx = POP32_VAL(esp); /* 0x2B02B657: pop ebx */ 16960 esp = ebp; /* 0x2B02B658: mov esp, ebp */ 16961 ebp = POP32_VAL(esp); /* 0x2B02B65A: pop ebp */ 16962 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B02B65B: ret */ 16963 RECOMP_REGS_OUT(); 16964 } 16965 16966 void sub_2B02B502(void) { 16967 int _fpu_cmp = 0; 16968 uint32_t _cf = 0; 16969 int _df = 1; 16970 uint32_t _flag_k = FK_NONE; 16971 uint32_t _flag_a = 0, _flag_b = 0; 16972 uint32_t _itail_tgt = 0; 16973 RECOMP_REGS_LOCALS 16974 RECOMP_ENTER(0x2B02B502u); 16975 16976 goto L_2B02B502; 16977 L_2B02B4BF: 16978 ecx = MEM32(ebp + (-0x8)); /* 0x2B02B4BF: mov ecx, dword ptr [ebp - 8] */ 16979 eax = MEM32(ebp + (-0x4)); /* 0x2B02B4C2: mov eax, dword ptr [ebp - 4] */ 16980 MEM32(ebp + (-0x20)) = ecx; /* 0x2B02B4C5: mov dword ptr [ebp - 0x20], ecx */ 16981 ecx = MEM32(esi + 0xC); /* 0x2B02B4C8: mov ecx, dword ptr [esi + 0xc] */ 16982 MEM32(ebp + (-0x1C)) = eax; /* 0x2B02B4CB: mov dword ptr [ebp - 0x1c], eax */ 16983 eax = MEM32(esi + 0x8); /* 0x2B02B4CE: mov eax, dword ptr [esi + 8] */ 16984 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 16985 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16986 ecx = ecx - eax; /* 0x2B02B4D1: sub ecx, eax */ 16987 _flag_k = FK_CMP; 16988 if (3u) _cf = (((ecx) >> 2) & 1u); /* 0x2B02B4D3: sar ecx, 3 */ 16989 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 16990 ecx = (uint32_t)((int32_t)ecx >> 3u); 16991 /* cmp ecx, 1 */ /* 0x2B02B4D6: cmp ecx, 1 */ 16992 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 16993 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 16994 _flag_k = FK_CMP; 16995 edi = eax; /* 0x2B02B4D9: mov edi, eax */ 16996 if (CMP_AE(_flag_a, _flag_b)) goto L_2B02B592; /* 0x2B02B4DB: jae 0x2b02b592 */ 16997 L_2B02B4E1: 16998 ecx = MEM32(esi + 0x4); /* 0x2B02B4E1: mov ecx, dword ptr [esi + 4] */ 16999 /* test ecx, ecx */ /* 0x2B02B4E4: test ecx, ecx */ 17000 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 17001 _cf = 0; 17002 _flag_k = FK_TEST; 17003 if (TEST_Z(_flag_a, _flag_b)) goto L_2B02B4FD; /* 0x2B02B4E6: je 0x2b02b4fd */ 17004 L_2B02B4E8: 17005 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 17006 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17007 eax = eax - ecx; /* 0x2B02B4E8: sub eax, ecx */ 17008 _flag_k = FK_CMP; 17009 if (3u) _cf = (((eax) >> 2) & 1u); /* 0x2B02B4EA: sar eax, 3 */ 17010 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17011 eax = (uint32_t)((int32_t)eax >> 3u); 17012 /* cmp eax, 1 */ /* 0x2B02B4ED: cmp eax, 1 */ 17013 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 17014 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17015 _flag_k = FK_CMP; 17016 if (CMP_BE(_flag_a, _flag_b)) goto L_2B02B4FD; /* 0x2B02B4F0: jbe 0x2b02b4fd */ 17017 L_2B02B4F2: 17018 ecx = esi; /* 0x2B02B4F2: mov ecx, esi */ 17019 RECOMP_ICALL(0x2B02BBF0u); /* 0x2B02B4F4: call 0x2b02bbf0 */ /* not lifted */ 17020 RECOMP_FLAGS_IN(); 17021 ebx = eax; /* 0x2B02B4F9: mov ebx, eax */ 17022 goto L_2B02B502; /* 0x2B02B4FB: jmp 0x2b02b502 */ 17023 L_2B02B4FD: 17024 ebx = 1; /* 0x2B02B4FD: mov ebx, 1 */ 17025 L_2B02B502: 17026 ecx = esi; /* 0x2B02B502: mov ecx, esi */ 17027 RECOMP_ICALL(0x2B02BBF0u); /* 0x2B02B504: call 0x2b02bbf0 */ /* not lifted */ 17028 RECOMP_FLAGS_IN(); 17029 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 17030 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17031 eax = eax + ebx; /* 0x2B02B509: add eax, ebx */ 17032 _flag_k = FK_ADD; 17033 MEM32(ebp + (-0x10)) = eax; /* 0x2B02B50B: mov dword ptr [ebp - 0x10], eax */ 17034 if (/* add result */ recomp_cond(_flag_k, _flag_a, _flag_b, CC_NS)) goto L_2B02B512; /* 0x2B02B50E: jns 0x2b02b512 */ 17035 L_2B02B510: 17036 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17037 eax = 0; /* 0x2B02B510: xor eax, eax */ 17038 _cf = 0; 17039 _flag_k = FK_TEST; 17040 L_2B02B512: 17041 edx = eax * 8; /* 0x2B02B512: lea edx, [eax*8] */ 17042 PUSH32(esp, edx); /* 0x2B02B519: push edx */ 17043 RECOMP_ICALL(0x2B0AB212u); /* 0x2B02B51A: call 0x2b0ab212 */ /* not lifted */ 17044 RECOMP_FLAGS_IN(); 17045 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17046 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17047 esp = esp + 4; /* 0x2B02B51F: add esp, 4 */ 17048 _flag_k = FK_ADD; 17049 ebx = eax; /* 0x2B02B522: mov ebx, eax */ 17050 eax = MEM32(esi + 0x4); /* 0x2B02B524: mov eax, dword ptr [esi + 4] */ 17051 PUSH32(esp, ebx); /* 0x2B02B527: push ebx */ 17052 PUSH32(esp, edi); /* 0x2B02B528: push edi */ 17053 PUSH32(esp, eax); /* 0x2B02B529: push eax */ 17054 ecx = esi; /* 0x2B02B52A: mov ecx, esi */ 17055 RECOMP_ICALL(0x2B02C260u); /* 0x2B02B52C: call 0x2b02c260 */ /* not lifted */ 17056 RECOMP_FLAGS_IN(); 17057 ecx = ebp + (-0x20); /* 0x2B02B531: lea ecx, [ebp - 0x20] */ 17058 PUSH32(esp, ecx); /* 0x2B02B534: push ecx */ 17059 PUSH32(esp, 1); /* 0x2B02B535: push 1 */ 17060 PUSH32(esp, eax); /* 0x2B02B537: push eax */ 17061 ecx = esi; /* 0x2B02B538: mov ecx, esi */ 17062 MEM32(ebp + (-0xC)) = eax; /* 0x2B02B53A: mov dword ptr [ebp - 0xc], eax */ 17063 RECOMP_ICALL(0x2B02C2A0u); /* 0x2B02B53D: call 0x2b02c2a0 */ /* not lifted */ 17064 RECOMP_FLAGS_IN(); 17065 edx = MEM32(ebp + (-0xC)); /* 0x2B02B542: mov edx, dword ptr [ebp - 0xc] */ 17066 eax = MEM32(esi + 0x8); /* 0x2B02B545: mov eax, dword ptr [esi + 8] */ 17067 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(8); 17068 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17069 edx = edx + 8; /* 0x2B02B548: add edx, 8 */ 17070 _flag_k = FK_ADD; 17071 PUSH32(esp, edx); /* 0x2B02B54B: push edx */ 17072 PUSH32(esp, eax); /* 0x2B02B54C: push eax */ 17073 PUSH32(esp, edi); /* 0x2B02B54D: push edi */ 17074 ecx = esi; /* 0x2B02B54E: mov ecx, esi */ 17075 RECOMP_ICALL(0x2B02C260u); /* 0x2B02B550: call 0x2b02c260 */ /* not lifted */ 17076 RECOMP_FLAGS_IN(); 17077 ecx = MEM32(esi + 0x8); /* 0x2B02B555: mov ecx, dword ptr [esi + 8] */ 17078 edx = MEM32(esi + 0x4); /* 0x2B02B558: mov edx, dword ptr [esi + 4] */ 17079 PUSH32(esp, ecx); /* 0x2B02B55B: push ecx */ 17080 PUSH32(esp, edx); /* 0x2B02B55C: push edx */ 17081 ecx = esi; /* 0x2B02B55D: mov ecx, esi */ 17082 RECOMP_ICALL(0x2B0292C0u); /* 0x2B02B55F: call 0x2b0292c0 */ /* not lifted */ 17083 RECOMP_FLAGS_IN(); 17084 eax = MEM32(esi + 0x4); /* 0x2B02B564: mov eax, dword ptr [esi + 4] */ 17085 PUSH32(esp, eax); /* 0x2B02B567: push eax */ 17086 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B02B568: call 0x2b0ab1ba */ /* not lifted */ 17087 RECOMP_FLAGS_IN(); 17088 ecx = MEM32(ebp + (-0x10)); /* 0x2B02B56D: mov ecx, dword ptr [ebp - 0x10] */ 17089 edx = ebx + ecx * 8; /* 0x2B02B570: lea edx, [ebx + ecx*8] */ 17090 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17091 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17092 esp = esp + 4; /* 0x2B02B573: add esp, 4 */ 17093 _flag_k = FK_ADD; 17094 ecx = esi; /* 0x2B02B576: mov ecx, esi */ 17095 MEM32(esi + 0xC) = edx; /* 0x2B02B578: mov dword ptr [esi + 0xc], edx */ 17096 RECOMP_ICALL(0x2B02BBF0u); /* 0x2B02B57B: call 0x2b02bbf0 */ /* not lifted */ 17097 RECOMP_FLAGS_IN(); 17098 eax = ebx + eax * 8 + 0x8; /* 0x2B02B580: lea eax, [ebx + eax*8 + 8] */ 17099 MEM32(esi + 0x4) = ebx; /* 0x2B02B584: mov dword ptr [esi + 4], ebx */ 17100 ebx = MEM32(ebp + (-0x14)); /* 0x2B02B587: mov ebx, dword ptr [ebp - 0x14] */ 17101 MEM32(esi + 0x8) = eax; /* 0x2B02B58A: mov dword ptr [esi + 8], eax */ 17102 goto L_2B02B630; /* 0x2B02B58D: jmp 0x2b02b630 */ 17103 L_2B02B592: 17104 ecx = eax; /* 0x2B02B592: mov ecx, eax */ 17105 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 17106 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17107 ecx = ecx - edi; /* 0x2B02B594: sub ecx, edi */ 17108 _flag_k = FK_CMP; 17109 if (3u) _cf = (((ecx) >> 2) & 1u); /* 0x2B02B596: sar ecx, 3 */ 17110 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17111 ecx = (uint32_t)((int32_t)ecx >> 3u); 17112 /* cmp ecx, 1 */ /* 0x2B02B599: cmp ecx, 1 */ 17113 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 17114 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17115 _flag_k = FK_CMP; 17116 if (CMP_AE(_flag_a, _flag_b)) goto L_2B02B5E4; /* 0x2B02B59C: jae 0x2b02b5e4 */ 17117 L_2B02B59E: 17118 ecx = edi + 0x8; /* 0x2B02B59E: lea ecx, [edi + 8] */ 17119 PUSH32(esp, ecx); /* 0x2B02B5A1: push ecx */ 17120 PUSH32(esp, eax); /* 0x2B02B5A2: push eax */ 17121 PUSH32(esp, edi); /* 0x2B02B5A3: push edi */ 17122 ecx = esi; /* 0x2B02B5A4: mov ecx, esi */ 17123 RECOMP_ICALL(0x2B02C260u); /* 0x2B02B5A6: call 0x2b02c260 */ /* not lifted */ 17124 RECOMP_FLAGS_IN(); 17125 eax = MEM32(esi + 0x8); /* 0x2B02B5AB: mov eax, dword ptr [esi + 8] */ 17126 ecx = eax; /* 0x2B02B5AE: mov ecx, eax */ 17127 edx = ebp + (-0x20); /* 0x2B02B5B0: lea edx, [ebp - 0x20] */ 17128 PUSH32(esp, edx); /* 0x2B02B5B3: push edx */ 17129 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 17130 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17131 ecx = ecx - edi; /* 0x2B02B5B4: sub ecx, edi */ 17132 _flag_k = FK_CMP; 17133 if (3u) _cf = (((ecx) >> 2) & 1u); /* 0x2B02B5B6: sar ecx, 3 */ 17134 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17135 ecx = (uint32_t)((int32_t)ecx >> 3u); 17136 edx = 1; /* 0x2B02B5B9: mov edx, 1 */ 17137 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 17138 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17139 edx = edx - ecx; /* 0x2B02B5BE: sub edx, ecx */ 17140 _flag_k = FK_CMP; 17141 PUSH32(esp, edx); /* 0x2B02B5C0: push edx */ 17142 PUSH32(esp, eax); /* 0x2B02B5C1: push eax */ 17143 ecx = esi; /* 0x2B02B5C2: mov ecx, esi */ 17144 RECOMP_ICALL(0x2B02C2A0u); /* 0x2B02B5C4: call 0x2b02c2a0 */ /* not lifted */ 17145 RECOMP_FLAGS_IN(); 17146 eax = MEM32(esi + 0x8); /* 0x2B02B5C9: mov eax, dword ptr [esi + 8] */ 17147 /* cmp edi, eax */ /* 0x2B02B5CC: cmp edi, eax */ 17148 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 17149 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17150 _flag_k = FK_CMP; 17151 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02B62C; /* 0x2B02B5CE: je 0x2b02b62c */ 17152 L_2B02B5D0: 17153 ecx = MEM32(ebp + (-0x20)); /* 0x2B02B5D0: mov ecx, dword ptr [ebp - 0x20] */ 17154 MEM32(edi) = ecx; /* 0x2B02B5D3: mov dword ptr [edi], ecx */ 17155 edx = MEM32(ebp + (-0x1C)); /* 0x2B02B5D5: mov edx, dword ptr [ebp - 0x1c] */ 17156 MEM32(edi + 0x4) = edx; /* 0x2B02B5D8: mov dword ptr [edi + 4], edx */ 17157 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(8); 17158 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17159 edi = edi + 8; /* 0x2B02B5DB: add edi, 8 */ 17160 _flag_k = FK_ADD; 17161 /* cmp edi, eax */ /* 0x2B02B5DE: cmp edi, eax */ 17162 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 17163 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17164 _flag_k = FK_CMP; 17165 RECOMP_BACKEDGE(); 17166 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02B5D0; /* 0x2B02B5E0: jne 0x2b02b5d0 */ 17167 L_2B02B5E2: 17168 goto L_2B02B62C; /* 0x2B02B5E2: jmp 0x2b02b62c */ 17169 L_2B02B5E4: 17170 PUSH32(esp, eax); /* 0x2B02B5E4: push eax */ 17171 ecx = eax + (-0x8); /* 0x2B02B5E5: lea ecx, [eax - 8] */ 17172 PUSH32(esp, eax); /* 0x2B02B5E8: push eax */ 17173 MEM32(ebp + (-0x10)) = ecx; /* 0x2B02B5E9: mov dword ptr [ebp - 0x10], ecx */ 17174 PUSH32(esp, ecx); /* 0x2B02B5EC: push ecx */ 17175 ecx = esi; /* 0x2B02B5ED: mov ecx, esi */ 17176 RECOMP_ICALL(0x2B02C260u); /* 0x2B02B5EF: call 0x2b02c260 */ /* not lifted */ 17177 RECOMP_FLAGS_IN(); 17178 ecx = MEM32(esi + 0x8); /* 0x2B02B5F4: mov ecx, dword ptr [esi + 8] */ 17179 eax = ecx + (-0x8); /* 0x2B02B5F7: lea eax, [ecx - 8] */ 17180 /* cmp edi, eax */ /* 0x2B02B5FA: cmp edi, eax */ 17181 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 17182 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17183 _flag_k = FK_CMP; 17184 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02B613; /* 0x2B02B5FC: je 0x2b02b613 */ 17185 L_2B02B5FE: 17186 edx = MEM32(eax + (-0x8)); /* 0x2B02B5FE: mov edx, dword ptr [eax - 8] */ 17187 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 17188 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17189 eax = eax - 8; /* 0x2B02B601: sub eax, 8 */ 17190 _flag_k = FK_CMP; 17191 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8); 17192 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17193 ecx = ecx - 8; /* 0x2B02B604: sub ecx, 8 */ 17194 _flag_k = FK_CMP; 17195 /* cmp eax, edi */ /* 0x2B02B607: cmp eax, edi */ 17196 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 17197 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17198 _flag_k = FK_CMP; 17199 MEM32(ecx) = edx; /* 0x2B02B609: mov dword ptr [ecx], edx */ 17200 edx = MEM32(eax + 0x4); /* 0x2B02B60B: mov edx, dword ptr [eax + 4] */ 17201 MEM32(ecx + 0x4) = edx; /* 0x2B02B60E: mov dword ptr [ecx + 4], edx */ 17202 RECOMP_BACKEDGE(); 17203 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02B5FE; /* 0x2B02B611: jne 0x2b02b5fe */ 17204 L_2B02B613: 17205 eax = edi + 0x8; /* 0x2B02B613: lea eax, [edi + 8] */ 17206 /* cmp edi, eax */ /* 0x2B02B616: cmp edi, eax */ 17207 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 17208 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17209 _flag_k = FK_CMP; 17210 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02B62C; /* 0x2B02B618: je 0x2b02b62c */ 17211 L_2B02B61A: 17212 ecx = MEM32(ebp + (-0x20)); /* 0x2B02B61A: mov ecx, dword ptr [ebp - 0x20] */ 17213 MEM32(edi) = ecx; /* 0x2B02B61D: mov dword ptr [edi], ecx */ 17214 edx = MEM32(ebp + (-0x1C)); /* 0x2B02B61F: mov edx, dword ptr [ebp - 0x1c] */ 17215 MEM32(edi + 0x4) = edx; /* 0x2B02B622: mov dword ptr [edi + 4], edx */ 17216 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(8); 17217 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17218 edi = edi + 8; /* 0x2B02B625: add edi, 8 */ 17219 _flag_k = FK_ADD; 17220 /* cmp edi, eax */ /* 0x2B02B628: cmp edi, eax */ 17221 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 17222 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17223 _flag_k = FK_CMP; 17224 RECOMP_BACKEDGE(); 17225 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02B61A; /* 0x2B02B62A: jne 0x2b02b61a */ 17226 L_2B02B62C: 17227 _flag_a = (uint32_t)(MEM32(esi + 0x8)); _flag_b = (uint32_t)(8); 17228 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17229 MEM32(esi + 0x8) = MEM32(esi + 0x8) + 8; /* 0x2B02B62C: add dword ptr [esi + 8], 8 */ 17230 _flag_k = FK_ADD; 17231 L_2B02B630: 17232 ecx = MEM32(ebp + (-0x8)); /* 0x2B02B630: mov ecx, dword ptr [ebp - 8] */ 17233 edx = MEM32(ebx + 0x4); /* 0x2B02B633: mov edx, dword ptr [ebx + 4] */ 17234 eax = ebp + (-0x4); /* 0x2B02B636: lea eax, [ebp - 4] */ 17235 PUSH32(esp, eax); /* 0x2B02B639: push eax */ 17236 eax = MEM32(ebx); /* 0x2B02B63A: mov eax, dword ptr [ebx] */ 17237 PUSH32(esp, ecx); /* 0x2B02B63C: push ecx */ 17238 PUSH32(esp, edx); /* 0x2B02B63D: push edx */ 17239 PUSH32(esp, eax); /* 0x2B02B63E: push eax */ 17240 RECOMP_ICALL(0x2B031BE0u); /* 0x2B02B63F: call 0x2b031be0 */ /* not lifted */ 17241 RECOMP_FLAGS_IN(); 17242 ecx = MEM32(ebp + (-0x18)); /* 0x2B02B644: mov ecx, dword ptr [ebp - 0x18] */ 17243 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 17244 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17245 esp = esp + 0x10u; /* 0x2B02B647: add esp, 0x10 */ 17246 _flag_k = FK_ADD; 17247 /* cmp eax, ecx */ /* 0x2B02B64A: cmp eax, ecx */ 17248 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 17249 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17250 _flag_k = FK_CMP; 17251 MEM32(ebp + (-0x8)) = eax; /* 0x2B02B64C: mov dword ptr [ebp - 8], eax */ 17252 RECOMP_BACKEDGE(); 17253 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02B4BF; /* 0x2B02B64F: jne 0x2b02b4bf */ 17254 L_2B02B655: 17255 edi = POP32_VAL(esp); /* 0x2B02B655: pop edi */ 17256 esi = POP32_VAL(esp); /* 0x2B02B656: pop esi */ 17257 ebx = POP32_VAL(esp); /* 0x2B02B657: pop ebx */ 17258 esp = ebp; /* 0x2B02B658: mov esp, ebp */ 17259 ebp = POP32_VAL(esp); /* 0x2B02B65A: pop ebp */ 17260 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B02B65B: ret */ 17261 RECOMP_REGS_OUT(); 17262 } 17263 17264 void sub_2B02B592(void) { 17265 int _fpu_cmp = 0; 17266 uint32_t _cf = 0; 17267 int _df = 1; 17268 uint32_t _flag_k = FK_NONE; 17269 uint32_t _flag_a = 0, _flag_b = 0; 17270 uint32_t _itail_tgt = 0; 17271 RECOMP_REGS_LOCALS 17272 RECOMP_ENTER(0x2B02B592u); 17273 17274 goto L_2B02B592; 17275 L_2B02B4BF: 17276 ecx = MEM32(ebp + (-0x8)); /* 0x2B02B4BF: mov ecx, dword ptr [ebp - 8] */ 17277 eax = MEM32(ebp + (-0x4)); /* 0x2B02B4C2: mov eax, dword ptr [ebp - 4] */ 17278 MEM32(ebp + (-0x20)) = ecx; /* 0x2B02B4C5: mov dword ptr [ebp - 0x20], ecx */ 17279 ecx = MEM32(esi + 0xC); /* 0x2B02B4C8: mov ecx, dword ptr [esi + 0xc] */ 17280 MEM32(ebp + (-0x1C)) = eax; /* 0x2B02B4CB: mov dword ptr [ebp - 0x1c], eax */ 17281 eax = MEM32(esi + 0x8); /* 0x2B02B4CE: mov eax, dword ptr [esi + 8] */ 17282 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 17283 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17284 ecx = ecx - eax; /* 0x2B02B4D1: sub ecx, eax */ 17285 _flag_k = FK_CMP; 17286 if (3u) _cf = (((ecx) >> 2) & 1u); /* 0x2B02B4D3: sar ecx, 3 */ 17287 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17288 ecx = (uint32_t)((int32_t)ecx >> 3u); 17289 /* cmp ecx, 1 */ /* 0x2B02B4D6: cmp ecx, 1 */ 17290 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 17291 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17292 _flag_k = FK_CMP; 17293 edi = eax; /* 0x2B02B4D9: mov edi, eax */ 17294 if (CMP_AE(_flag_a, _flag_b)) goto L_2B02B592; /* 0x2B02B4DB: jae 0x2b02b592 */ 17295 L_2B02B4E1: 17296 ecx = MEM32(esi + 0x4); /* 0x2B02B4E1: mov ecx, dword ptr [esi + 4] */ 17297 /* test ecx, ecx */ /* 0x2B02B4E4: test ecx, ecx */ 17298 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 17299 _cf = 0; 17300 _flag_k = FK_TEST; 17301 if (TEST_Z(_flag_a, _flag_b)) goto L_2B02B4FD; /* 0x2B02B4E6: je 0x2b02b4fd */ 17302 L_2B02B4E8: 17303 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 17304 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17305 eax = eax - ecx; /* 0x2B02B4E8: sub eax, ecx */ 17306 _flag_k = FK_CMP; 17307 if (3u) _cf = (((eax) >> 2) & 1u); /* 0x2B02B4EA: sar eax, 3 */ 17308 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17309 eax = (uint32_t)((int32_t)eax >> 3u); 17310 /* cmp eax, 1 */ /* 0x2B02B4ED: cmp eax, 1 */ 17311 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 17312 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17313 _flag_k = FK_CMP; 17314 if (CMP_BE(_flag_a, _flag_b)) goto L_2B02B4FD; /* 0x2B02B4F0: jbe 0x2b02b4fd */ 17315 L_2B02B4F2: 17316 ecx = esi; /* 0x2B02B4F2: mov ecx, esi */ 17317 RECOMP_ICALL(0x2B02BBF0u); /* 0x2B02B4F4: call 0x2b02bbf0 */ /* not lifted */ 17318 RECOMP_FLAGS_IN(); 17319 ebx = eax; /* 0x2B02B4F9: mov ebx, eax */ 17320 goto L_2B02B502; /* 0x2B02B4FB: jmp 0x2b02b502 */ 17321 L_2B02B4FD: 17322 ebx = 1; /* 0x2B02B4FD: mov ebx, 1 */ 17323 L_2B02B502: 17324 ecx = esi; /* 0x2B02B502: mov ecx, esi */ 17325 RECOMP_ICALL(0x2B02BBF0u); /* 0x2B02B504: call 0x2b02bbf0 */ /* not lifted */ 17326 RECOMP_FLAGS_IN(); 17327 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 17328 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17329 eax = eax + ebx; /* 0x2B02B509: add eax, ebx */ 17330 _flag_k = FK_ADD; 17331 MEM32(ebp + (-0x10)) = eax; /* 0x2B02B50B: mov dword ptr [ebp - 0x10], eax */ 17332 if (/* add result */ recomp_cond(_flag_k, _flag_a, _flag_b, CC_NS)) goto L_2B02B512; /* 0x2B02B50E: jns 0x2b02b512 */ 17333 L_2B02B510: 17334 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17335 eax = 0; /* 0x2B02B510: xor eax, eax */ 17336 _cf = 0; 17337 _flag_k = FK_TEST; 17338 L_2B02B512: 17339 edx = eax * 8; /* 0x2B02B512: lea edx, [eax*8] */ 17340 PUSH32(esp, edx); /* 0x2B02B519: push edx */ 17341 RECOMP_ICALL(0x2B0AB212u); /* 0x2B02B51A: call 0x2b0ab212 */ /* not lifted */ 17342 RECOMP_FLAGS_IN(); 17343 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17344 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17345 esp = esp + 4; /* 0x2B02B51F: add esp, 4 */ 17346 _flag_k = FK_ADD; 17347 ebx = eax; /* 0x2B02B522: mov ebx, eax */ 17348 eax = MEM32(esi + 0x4); /* 0x2B02B524: mov eax, dword ptr [esi + 4] */ 17349 PUSH32(esp, ebx); /* 0x2B02B527: push ebx */ 17350 PUSH32(esp, edi); /* 0x2B02B528: push edi */ 17351 PUSH32(esp, eax); /* 0x2B02B529: push eax */ 17352 ecx = esi; /* 0x2B02B52A: mov ecx, esi */ 17353 RECOMP_ICALL(0x2B02C260u); /* 0x2B02B52C: call 0x2b02c260 */ /* not lifted */ 17354 RECOMP_FLAGS_IN(); 17355 ecx = ebp + (-0x20); /* 0x2B02B531: lea ecx, [ebp - 0x20] */ 17356 PUSH32(esp, ecx); /* 0x2B02B534: push ecx */ 17357 PUSH32(esp, 1); /* 0x2B02B535: push 1 */ 17358 PUSH32(esp, eax); /* 0x2B02B537: push eax */ 17359 ecx = esi; /* 0x2B02B538: mov ecx, esi */ 17360 MEM32(ebp + (-0xC)) = eax; /* 0x2B02B53A: mov dword ptr [ebp - 0xc], eax */ 17361 RECOMP_ICALL(0x2B02C2A0u); /* 0x2B02B53D: call 0x2b02c2a0 */ /* not lifted */ 17362 RECOMP_FLAGS_IN(); 17363 edx = MEM32(ebp + (-0xC)); /* 0x2B02B542: mov edx, dword ptr [ebp - 0xc] */ 17364 eax = MEM32(esi + 0x8); /* 0x2B02B545: mov eax, dword ptr [esi + 8] */ 17365 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(8); 17366 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17367 edx = edx + 8; /* 0x2B02B548: add edx, 8 */ 17368 _flag_k = FK_ADD; 17369 PUSH32(esp, edx); /* 0x2B02B54B: push edx */ 17370 PUSH32(esp, eax); /* 0x2B02B54C: push eax */ 17371 PUSH32(esp, edi); /* 0x2B02B54D: push edi */ 17372 ecx = esi; /* 0x2B02B54E: mov ecx, esi */ 17373 RECOMP_ICALL(0x2B02C260u); /* 0x2B02B550: call 0x2b02c260 */ /* not lifted */ 17374 RECOMP_FLAGS_IN(); 17375 ecx = MEM32(esi + 0x8); /* 0x2B02B555: mov ecx, dword ptr [esi + 8] */ 17376 edx = MEM32(esi + 0x4); /* 0x2B02B558: mov edx, dword ptr [esi + 4] */ 17377 PUSH32(esp, ecx); /* 0x2B02B55B: push ecx */ 17378 PUSH32(esp, edx); /* 0x2B02B55C: push edx */ 17379 ecx = esi; /* 0x2B02B55D: mov ecx, esi */ 17380 RECOMP_ICALL(0x2B0292C0u); /* 0x2B02B55F: call 0x2b0292c0 */ /* not lifted */ 17381 RECOMP_FLAGS_IN(); 17382 eax = MEM32(esi + 0x4); /* 0x2B02B564: mov eax, dword ptr [esi + 4] */ 17383 PUSH32(esp, eax); /* 0x2B02B567: push eax */ 17384 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B02B568: call 0x2b0ab1ba */ /* not lifted */ 17385 RECOMP_FLAGS_IN(); 17386 ecx = MEM32(ebp + (-0x10)); /* 0x2B02B56D: mov ecx, dword ptr [ebp - 0x10] */ 17387 edx = ebx + ecx * 8; /* 0x2B02B570: lea edx, [ebx + ecx*8] */ 17388 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17389 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17390 esp = esp + 4; /* 0x2B02B573: add esp, 4 */ 17391 _flag_k = FK_ADD; 17392 ecx = esi; /* 0x2B02B576: mov ecx, esi */ 17393 MEM32(esi + 0xC) = edx; /* 0x2B02B578: mov dword ptr [esi + 0xc], edx */ 17394 RECOMP_ICALL(0x2B02BBF0u); /* 0x2B02B57B: call 0x2b02bbf0 */ /* not lifted */ 17395 RECOMP_FLAGS_IN(); 17396 eax = ebx + eax * 8 + 0x8; /* 0x2B02B580: lea eax, [ebx + eax*8 + 8] */ 17397 MEM32(esi + 0x4) = ebx; /* 0x2B02B584: mov dword ptr [esi + 4], ebx */ 17398 ebx = MEM32(ebp + (-0x14)); /* 0x2B02B587: mov ebx, dword ptr [ebp - 0x14] */ 17399 MEM32(esi + 0x8) = eax; /* 0x2B02B58A: mov dword ptr [esi + 8], eax */ 17400 goto L_2B02B630; /* 0x2B02B58D: jmp 0x2b02b630 */ 17401 L_2B02B592: 17402 ecx = eax; /* 0x2B02B592: mov ecx, eax */ 17403 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 17404 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17405 ecx = ecx - edi; /* 0x2B02B594: sub ecx, edi */ 17406 _flag_k = FK_CMP; 17407 if (3u) _cf = (((ecx) >> 2) & 1u); /* 0x2B02B596: sar ecx, 3 */ 17408 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17409 ecx = (uint32_t)((int32_t)ecx >> 3u); 17410 /* cmp ecx, 1 */ /* 0x2B02B599: cmp ecx, 1 */ 17411 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 17412 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17413 _flag_k = FK_CMP; 17414 if (CMP_AE(_flag_a, _flag_b)) goto L_2B02B5E4; /* 0x2B02B59C: jae 0x2b02b5e4 */ 17415 L_2B02B59E: 17416 ecx = edi + 0x8; /* 0x2B02B59E: lea ecx, [edi + 8] */ 17417 PUSH32(esp, ecx); /* 0x2B02B5A1: push ecx */ 17418 PUSH32(esp, eax); /* 0x2B02B5A2: push eax */ 17419 PUSH32(esp, edi); /* 0x2B02B5A3: push edi */ 17420 ecx = esi; /* 0x2B02B5A4: mov ecx, esi */ 17421 RECOMP_ICALL(0x2B02C260u); /* 0x2B02B5A6: call 0x2b02c260 */ /* not lifted */ 17422 RECOMP_FLAGS_IN(); 17423 eax = MEM32(esi + 0x8); /* 0x2B02B5AB: mov eax, dword ptr [esi + 8] */ 17424 ecx = eax; /* 0x2B02B5AE: mov ecx, eax */ 17425 edx = ebp + (-0x20); /* 0x2B02B5B0: lea edx, [ebp - 0x20] */ 17426 PUSH32(esp, edx); /* 0x2B02B5B3: push edx */ 17427 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 17428 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17429 ecx = ecx - edi; /* 0x2B02B5B4: sub ecx, edi */ 17430 _flag_k = FK_CMP; 17431 if (3u) _cf = (((ecx) >> 2) & 1u); /* 0x2B02B5B6: sar ecx, 3 */ 17432 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17433 ecx = (uint32_t)((int32_t)ecx >> 3u); 17434 edx = 1; /* 0x2B02B5B9: mov edx, 1 */ 17435 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 17436 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17437 edx = edx - ecx; /* 0x2B02B5BE: sub edx, ecx */ 17438 _flag_k = FK_CMP; 17439 PUSH32(esp, edx); /* 0x2B02B5C0: push edx */ 17440 PUSH32(esp, eax); /* 0x2B02B5C1: push eax */ 17441 ecx = esi; /* 0x2B02B5C2: mov ecx, esi */ 17442 RECOMP_ICALL(0x2B02C2A0u); /* 0x2B02B5C4: call 0x2b02c2a0 */ /* not lifted */ 17443 RECOMP_FLAGS_IN(); 17444 eax = MEM32(esi + 0x8); /* 0x2B02B5C9: mov eax, dword ptr [esi + 8] */ 17445 /* cmp edi, eax */ /* 0x2B02B5CC: cmp edi, eax */ 17446 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 17447 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17448 _flag_k = FK_CMP; 17449 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02B62C; /* 0x2B02B5CE: je 0x2b02b62c */ 17450 L_2B02B5D0: 17451 ecx = MEM32(ebp + (-0x20)); /* 0x2B02B5D0: mov ecx, dword ptr [ebp - 0x20] */ 17452 MEM32(edi) = ecx; /* 0x2B02B5D3: mov dword ptr [edi], ecx */ 17453 edx = MEM32(ebp + (-0x1C)); /* 0x2B02B5D5: mov edx, dword ptr [ebp - 0x1c] */ 17454 MEM32(edi + 0x4) = edx; /* 0x2B02B5D8: mov dword ptr [edi + 4], edx */ 17455 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(8); 17456 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17457 edi = edi + 8; /* 0x2B02B5DB: add edi, 8 */ 17458 _flag_k = FK_ADD; 17459 /* cmp edi, eax */ /* 0x2B02B5DE: cmp edi, eax */ 17460 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 17461 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17462 _flag_k = FK_CMP; 17463 RECOMP_BACKEDGE(); 17464 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02B5D0; /* 0x2B02B5E0: jne 0x2b02b5d0 */ 17465 L_2B02B5E2: 17466 goto L_2B02B62C; /* 0x2B02B5E2: jmp 0x2b02b62c */ 17467 L_2B02B5E4: 17468 PUSH32(esp, eax); /* 0x2B02B5E4: push eax */ 17469 ecx = eax + (-0x8); /* 0x2B02B5E5: lea ecx, [eax - 8] */ 17470 PUSH32(esp, eax); /* 0x2B02B5E8: push eax */ 17471 MEM32(ebp + (-0x10)) = ecx; /* 0x2B02B5E9: mov dword ptr [ebp - 0x10], ecx */ 17472 PUSH32(esp, ecx); /* 0x2B02B5EC: push ecx */ 17473 ecx = esi; /* 0x2B02B5ED: mov ecx, esi */ 17474 RECOMP_ICALL(0x2B02C260u); /* 0x2B02B5EF: call 0x2b02c260 */ /* not lifted */ 17475 RECOMP_FLAGS_IN(); 17476 ecx = MEM32(esi + 0x8); /* 0x2B02B5F4: mov ecx, dword ptr [esi + 8] */ 17477 eax = ecx + (-0x8); /* 0x2B02B5F7: lea eax, [ecx - 8] */ 17478 /* cmp edi, eax */ /* 0x2B02B5FA: cmp edi, eax */ 17479 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 17480 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17481 _flag_k = FK_CMP; 17482 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02B613; /* 0x2B02B5FC: je 0x2b02b613 */ 17483 L_2B02B5FE: 17484 edx = MEM32(eax + (-0x8)); /* 0x2B02B5FE: mov edx, dword ptr [eax - 8] */ 17485 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 17486 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17487 eax = eax - 8; /* 0x2B02B601: sub eax, 8 */ 17488 _flag_k = FK_CMP; 17489 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8); 17490 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17491 ecx = ecx - 8; /* 0x2B02B604: sub ecx, 8 */ 17492 _flag_k = FK_CMP; 17493 /* cmp eax, edi */ /* 0x2B02B607: cmp eax, edi */ 17494 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 17495 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17496 _flag_k = FK_CMP; 17497 MEM32(ecx) = edx; /* 0x2B02B609: mov dword ptr [ecx], edx */ 17498 edx = MEM32(eax + 0x4); /* 0x2B02B60B: mov edx, dword ptr [eax + 4] */ 17499 MEM32(ecx + 0x4) = edx; /* 0x2B02B60E: mov dword ptr [ecx + 4], edx */ 17500 RECOMP_BACKEDGE(); 17501 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02B5FE; /* 0x2B02B611: jne 0x2b02b5fe */ 17502 L_2B02B613: 17503 eax = edi + 0x8; /* 0x2B02B613: lea eax, [edi + 8] */ 17504 /* cmp edi, eax */ /* 0x2B02B616: cmp edi, eax */ 17505 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 17506 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17507 _flag_k = FK_CMP; 17508 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02B62C; /* 0x2B02B618: je 0x2b02b62c */ 17509 L_2B02B61A: 17510 ecx = MEM32(ebp + (-0x20)); /* 0x2B02B61A: mov ecx, dword ptr [ebp - 0x20] */ 17511 MEM32(edi) = ecx; /* 0x2B02B61D: mov dword ptr [edi], ecx */ 17512 edx = MEM32(ebp + (-0x1C)); /* 0x2B02B61F: mov edx, dword ptr [ebp - 0x1c] */ 17513 MEM32(edi + 0x4) = edx; /* 0x2B02B622: mov dword ptr [edi + 4], edx */ 17514 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(8); 17515 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17516 edi = edi + 8; /* 0x2B02B625: add edi, 8 */ 17517 _flag_k = FK_ADD; 17518 /* cmp edi, eax */ /* 0x2B02B628: cmp edi, eax */ 17519 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 17520 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17521 _flag_k = FK_CMP; 17522 RECOMP_BACKEDGE(); 17523 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02B61A; /* 0x2B02B62A: jne 0x2b02b61a */ 17524 L_2B02B62C: 17525 _flag_a = (uint32_t)(MEM32(esi + 0x8)); _flag_b = (uint32_t)(8); 17526 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17527 MEM32(esi + 0x8) = MEM32(esi + 0x8) + 8; /* 0x2B02B62C: add dword ptr [esi + 8], 8 */ 17528 _flag_k = FK_ADD; 17529 L_2B02B630: 17530 ecx = MEM32(ebp + (-0x8)); /* 0x2B02B630: mov ecx, dword ptr [ebp - 8] */ 17531 edx = MEM32(ebx + 0x4); /* 0x2B02B633: mov edx, dword ptr [ebx + 4] */ 17532 eax = ebp + (-0x4); /* 0x2B02B636: lea eax, [ebp - 4] */ 17533 PUSH32(esp, eax); /* 0x2B02B639: push eax */ 17534 eax = MEM32(ebx); /* 0x2B02B63A: mov eax, dword ptr [ebx] */ 17535 PUSH32(esp, ecx); /* 0x2B02B63C: push ecx */ 17536 PUSH32(esp, edx); /* 0x2B02B63D: push edx */ 17537 PUSH32(esp, eax); /* 0x2B02B63E: push eax */ 17538 RECOMP_ICALL(0x2B031BE0u); /* 0x2B02B63F: call 0x2b031be0 */ /* not lifted */ 17539 RECOMP_FLAGS_IN(); 17540 ecx = MEM32(ebp + (-0x18)); /* 0x2B02B644: mov ecx, dword ptr [ebp - 0x18] */ 17541 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 17542 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17543 esp = esp + 0x10u; /* 0x2B02B647: add esp, 0x10 */ 17544 _flag_k = FK_ADD; 17545 /* cmp eax, ecx */ /* 0x2B02B64A: cmp eax, ecx */ 17546 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 17547 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17548 _flag_k = FK_CMP; 17549 MEM32(ebp + (-0x8)) = eax; /* 0x2B02B64C: mov dword ptr [ebp - 8], eax */ 17550 RECOMP_BACKEDGE(); 17551 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02B4BF; /* 0x2B02B64F: jne 0x2b02b4bf */ 17552 L_2B02B655: 17553 edi = POP32_VAL(esp); /* 0x2B02B655: pop edi */ 17554 esi = POP32_VAL(esp); /* 0x2B02B656: pop esi */ 17555 ebx = POP32_VAL(esp); /* 0x2B02B657: pop ebx */ 17556 esp = ebp; /* 0x2B02B658: mov esp, ebp */ 17557 ebp = POP32_VAL(esp); /* 0x2B02B65A: pop ebp */ 17558 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B02B65B: ret */ 17559 RECOMP_REGS_OUT(); 17560 } 17561 17562 void sub_2B02B62C(void) { 17563 int _fpu_cmp = 0; 17564 uint32_t _cf = 0; 17565 int _df = 1; 17566 uint32_t _flag_k = FK_NONE; 17567 uint32_t _flag_a = 0, _flag_b = 0; 17568 uint32_t _itail_tgt = 0; 17569 RECOMP_REGS_LOCALS 17570 RECOMP_ENTER(0x2B02B62Cu); 17571 17572 goto L_2B02B62C; 17573 L_2B02B4BF: 17574 ecx = MEM32(ebp + (-0x8)); /* 0x2B02B4BF: mov ecx, dword ptr [ebp - 8] */ 17575 eax = MEM32(ebp + (-0x4)); /* 0x2B02B4C2: mov eax, dword ptr [ebp - 4] */ 17576 MEM32(ebp + (-0x20)) = ecx; /* 0x2B02B4C5: mov dword ptr [ebp - 0x20], ecx */ 17577 ecx = MEM32(esi + 0xC); /* 0x2B02B4C8: mov ecx, dword ptr [esi + 0xc] */ 17578 MEM32(ebp + (-0x1C)) = eax; /* 0x2B02B4CB: mov dword ptr [ebp - 0x1c], eax */ 17579 eax = MEM32(esi + 0x8); /* 0x2B02B4CE: mov eax, dword ptr [esi + 8] */ 17580 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 17581 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17582 ecx = ecx - eax; /* 0x2B02B4D1: sub ecx, eax */ 17583 _flag_k = FK_CMP; 17584 if (3u) _cf = (((ecx) >> 2) & 1u); /* 0x2B02B4D3: sar ecx, 3 */ 17585 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17586 ecx = (uint32_t)((int32_t)ecx >> 3u); 17587 /* cmp ecx, 1 */ /* 0x2B02B4D6: cmp ecx, 1 */ 17588 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 17589 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17590 _flag_k = FK_CMP; 17591 edi = eax; /* 0x2B02B4D9: mov edi, eax */ 17592 if (CMP_AE(_flag_a, _flag_b)) goto L_2B02B592; /* 0x2B02B4DB: jae 0x2b02b592 */ 17593 L_2B02B4E1: 17594 ecx = MEM32(esi + 0x4); /* 0x2B02B4E1: mov ecx, dword ptr [esi + 4] */ 17595 /* test ecx, ecx */ /* 0x2B02B4E4: test ecx, ecx */ 17596 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 17597 _cf = 0; 17598 _flag_k = FK_TEST; 17599 if (TEST_Z(_flag_a, _flag_b)) goto L_2B02B4FD; /* 0x2B02B4E6: je 0x2b02b4fd */ 17600 L_2B02B4E8: 17601 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 17602 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17603 eax = eax - ecx; /* 0x2B02B4E8: sub eax, ecx */ 17604 _flag_k = FK_CMP; 17605 if (3u) _cf = (((eax) >> 2) & 1u); /* 0x2B02B4EA: sar eax, 3 */ 17606 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17607 eax = (uint32_t)((int32_t)eax >> 3u); 17608 /* cmp eax, 1 */ /* 0x2B02B4ED: cmp eax, 1 */ 17609 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 17610 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17611 _flag_k = FK_CMP; 17612 if (CMP_BE(_flag_a, _flag_b)) goto L_2B02B4FD; /* 0x2B02B4F0: jbe 0x2b02b4fd */ 17613 L_2B02B4F2: 17614 ecx = esi; /* 0x2B02B4F2: mov ecx, esi */ 17615 RECOMP_ICALL(0x2B02BBF0u); /* 0x2B02B4F4: call 0x2b02bbf0 */ /* not lifted */ 17616 RECOMP_FLAGS_IN(); 17617 ebx = eax; /* 0x2B02B4F9: mov ebx, eax */ 17618 goto L_2B02B502; /* 0x2B02B4FB: jmp 0x2b02b502 */ 17619 L_2B02B4FD: 17620 ebx = 1; /* 0x2B02B4FD: mov ebx, 1 */ 17621 L_2B02B502: 17622 ecx = esi; /* 0x2B02B502: mov ecx, esi */ 17623 RECOMP_ICALL(0x2B02BBF0u); /* 0x2B02B504: call 0x2b02bbf0 */ /* not lifted */ 17624 RECOMP_FLAGS_IN(); 17625 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 17626 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17627 eax = eax + ebx; /* 0x2B02B509: add eax, ebx */ 17628 _flag_k = FK_ADD; 17629 MEM32(ebp + (-0x10)) = eax; /* 0x2B02B50B: mov dword ptr [ebp - 0x10], eax */ 17630 if (/* add result */ recomp_cond(_flag_k, _flag_a, _flag_b, CC_NS)) goto L_2B02B512; /* 0x2B02B50E: jns 0x2b02b512 */ 17631 L_2B02B510: 17632 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17633 eax = 0; /* 0x2B02B510: xor eax, eax */ 17634 _cf = 0; 17635 _flag_k = FK_TEST; 17636 L_2B02B512: 17637 edx = eax * 8; /* 0x2B02B512: lea edx, [eax*8] */ 17638 PUSH32(esp, edx); /* 0x2B02B519: push edx */ 17639 RECOMP_ICALL(0x2B0AB212u); /* 0x2B02B51A: call 0x2b0ab212 */ /* not lifted */ 17640 RECOMP_FLAGS_IN(); 17641 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17642 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17643 esp = esp + 4; /* 0x2B02B51F: add esp, 4 */ 17644 _flag_k = FK_ADD; 17645 ebx = eax; /* 0x2B02B522: mov ebx, eax */ 17646 eax = MEM32(esi + 0x4); /* 0x2B02B524: mov eax, dword ptr [esi + 4] */ 17647 PUSH32(esp, ebx); /* 0x2B02B527: push ebx */ 17648 PUSH32(esp, edi); /* 0x2B02B528: push edi */ 17649 PUSH32(esp, eax); /* 0x2B02B529: push eax */ 17650 ecx = esi; /* 0x2B02B52A: mov ecx, esi */ 17651 RECOMP_ICALL(0x2B02C260u); /* 0x2B02B52C: call 0x2b02c260 */ /* not lifted */ 17652 RECOMP_FLAGS_IN(); 17653 ecx = ebp + (-0x20); /* 0x2B02B531: lea ecx, [ebp - 0x20] */ 17654 PUSH32(esp, ecx); /* 0x2B02B534: push ecx */ 17655 PUSH32(esp, 1); /* 0x2B02B535: push 1 */ 17656 PUSH32(esp, eax); /* 0x2B02B537: push eax */ 17657 ecx = esi; /* 0x2B02B538: mov ecx, esi */ 17658 MEM32(ebp + (-0xC)) = eax; /* 0x2B02B53A: mov dword ptr [ebp - 0xc], eax */ 17659 RECOMP_ICALL(0x2B02C2A0u); /* 0x2B02B53D: call 0x2b02c2a0 */ /* not lifted */ 17660 RECOMP_FLAGS_IN(); 17661 edx = MEM32(ebp + (-0xC)); /* 0x2B02B542: mov edx, dword ptr [ebp - 0xc] */ 17662 eax = MEM32(esi + 0x8); /* 0x2B02B545: mov eax, dword ptr [esi + 8] */ 17663 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(8); 17664 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17665 edx = edx + 8; /* 0x2B02B548: add edx, 8 */ 17666 _flag_k = FK_ADD; 17667 PUSH32(esp, edx); /* 0x2B02B54B: push edx */ 17668 PUSH32(esp, eax); /* 0x2B02B54C: push eax */ 17669 PUSH32(esp, edi); /* 0x2B02B54D: push edi */ 17670 ecx = esi; /* 0x2B02B54E: mov ecx, esi */ 17671 RECOMP_ICALL(0x2B02C260u); /* 0x2B02B550: call 0x2b02c260 */ /* not lifted */ 17672 RECOMP_FLAGS_IN(); 17673 ecx = MEM32(esi + 0x8); /* 0x2B02B555: mov ecx, dword ptr [esi + 8] */ 17674 edx = MEM32(esi + 0x4); /* 0x2B02B558: mov edx, dword ptr [esi + 4] */ 17675 PUSH32(esp, ecx); /* 0x2B02B55B: push ecx */ 17676 PUSH32(esp, edx); /* 0x2B02B55C: push edx */ 17677 ecx = esi; /* 0x2B02B55D: mov ecx, esi */ 17678 RECOMP_ICALL(0x2B0292C0u); /* 0x2B02B55F: call 0x2b0292c0 */ /* not lifted */ 17679 RECOMP_FLAGS_IN(); 17680 eax = MEM32(esi + 0x4); /* 0x2B02B564: mov eax, dword ptr [esi + 4] */ 17681 PUSH32(esp, eax); /* 0x2B02B567: push eax */ 17682 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B02B568: call 0x2b0ab1ba */ /* not lifted */ 17683 RECOMP_FLAGS_IN(); 17684 ecx = MEM32(ebp + (-0x10)); /* 0x2B02B56D: mov ecx, dword ptr [ebp - 0x10] */ 17685 edx = ebx + ecx * 8; /* 0x2B02B570: lea edx, [ebx + ecx*8] */ 17686 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17687 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17688 esp = esp + 4; /* 0x2B02B573: add esp, 4 */ 17689 _flag_k = FK_ADD; 17690 ecx = esi; /* 0x2B02B576: mov ecx, esi */ 17691 MEM32(esi + 0xC) = edx; /* 0x2B02B578: mov dword ptr [esi + 0xc], edx */ 17692 RECOMP_ICALL(0x2B02BBF0u); /* 0x2B02B57B: call 0x2b02bbf0 */ /* not lifted */ 17693 RECOMP_FLAGS_IN(); 17694 eax = ebx + eax * 8 + 0x8; /* 0x2B02B580: lea eax, [ebx + eax*8 + 8] */ 17695 MEM32(esi + 0x4) = ebx; /* 0x2B02B584: mov dword ptr [esi + 4], ebx */ 17696 ebx = MEM32(ebp + (-0x14)); /* 0x2B02B587: mov ebx, dword ptr [ebp - 0x14] */ 17697 MEM32(esi + 0x8) = eax; /* 0x2B02B58A: mov dword ptr [esi + 8], eax */ 17698 goto L_2B02B630; /* 0x2B02B58D: jmp 0x2b02b630 */ 17699 L_2B02B592: 17700 ecx = eax; /* 0x2B02B592: mov ecx, eax */ 17701 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 17702 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17703 ecx = ecx - edi; /* 0x2B02B594: sub ecx, edi */ 17704 _flag_k = FK_CMP; 17705 if (3u) _cf = (((ecx) >> 2) & 1u); /* 0x2B02B596: sar ecx, 3 */ 17706 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17707 ecx = (uint32_t)((int32_t)ecx >> 3u); 17708 /* cmp ecx, 1 */ /* 0x2B02B599: cmp ecx, 1 */ 17709 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 17710 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17711 _flag_k = FK_CMP; 17712 if (CMP_AE(_flag_a, _flag_b)) goto L_2B02B5E4; /* 0x2B02B59C: jae 0x2b02b5e4 */ 17713 L_2B02B59E: 17714 ecx = edi + 0x8; /* 0x2B02B59E: lea ecx, [edi + 8] */ 17715 PUSH32(esp, ecx); /* 0x2B02B5A1: push ecx */ 17716 PUSH32(esp, eax); /* 0x2B02B5A2: push eax */ 17717 PUSH32(esp, edi); /* 0x2B02B5A3: push edi */ 17718 ecx = esi; /* 0x2B02B5A4: mov ecx, esi */ 17719 RECOMP_ICALL(0x2B02C260u); /* 0x2B02B5A6: call 0x2b02c260 */ /* not lifted */ 17720 RECOMP_FLAGS_IN(); 17721 eax = MEM32(esi + 0x8); /* 0x2B02B5AB: mov eax, dword ptr [esi + 8] */ 17722 ecx = eax; /* 0x2B02B5AE: mov ecx, eax */ 17723 edx = ebp + (-0x20); /* 0x2B02B5B0: lea edx, [ebp - 0x20] */ 17724 PUSH32(esp, edx); /* 0x2B02B5B3: push edx */ 17725 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 17726 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17727 ecx = ecx - edi; /* 0x2B02B5B4: sub ecx, edi */ 17728 _flag_k = FK_CMP; 17729 if (3u) _cf = (((ecx) >> 2) & 1u); /* 0x2B02B5B6: sar ecx, 3 */ 17730 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17731 ecx = (uint32_t)((int32_t)ecx >> 3u); 17732 edx = 1; /* 0x2B02B5B9: mov edx, 1 */ 17733 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 17734 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17735 edx = edx - ecx; /* 0x2B02B5BE: sub edx, ecx */ 17736 _flag_k = FK_CMP; 17737 PUSH32(esp, edx); /* 0x2B02B5C0: push edx */ 17738 PUSH32(esp, eax); /* 0x2B02B5C1: push eax */ 17739 ecx = esi; /* 0x2B02B5C2: mov ecx, esi */ 17740 RECOMP_ICALL(0x2B02C2A0u); /* 0x2B02B5C4: call 0x2b02c2a0 */ /* not lifted */ 17741 RECOMP_FLAGS_IN(); 17742 eax = MEM32(esi + 0x8); /* 0x2B02B5C9: mov eax, dword ptr [esi + 8] */ 17743 /* cmp edi, eax */ /* 0x2B02B5CC: cmp edi, eax */ 17744 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 17745 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17746 _flag_k = FK_CMP; 17747 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02B62C; /* 0x2B02B5CE: je 0x2b02b62c */ 17748 L_2B02B5D0: 17749 ecx = MEM32(ebp + (-0x20)); /* 0x2B02B5D0: mov ecx, dword ptr [ebp - 0x20] */ 17750 MEM32(edi) = ecx; /* 0x2B02B5D3: mov dword ptr [edi], ecx */ 17751 edx = MEM32(ebp + (-0x1C)); /* 0x2B02B5D5: mov edx, dword ptr [ebp - 0x1c] */ 17752 MEM32(edi + 0x4) = edx; /* 0x2B02B5D8: mov dword ptr [edi + 4], edx */ 17753 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(8); 17754 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17755 edi = edi + 8; /* 0x2B02B5DB: add edi, 8 */ 17756 _flag_k = FK_ADD; 17757 /* cmp edi, eax */ /* 0x2B02B5DE: cmp edi, eax */ 17758 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 17759 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17760 _flag_k = FK_CMP; 17761 RECOMP_BACKEDGE(); 17762 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02B5D0; /* 0x2B02B5E0: jne 0x2b02b5d0 */ 17763 L_2B02B5E2: 17764 goto L_2B02B62C; /* 0x2B02B5E2: jmp 0x2b02b62c */ 17765 L_2B02B5E4: 17766 PUSH32(esp, eax); /* 0x2B02B5E4: push eax */ 17767 ecx = eax + (-0x8); /* 0x2B02B5E5: lea ecx, [eax - 8] */ 17768 PUSH32(esp, eax); /* 0x2B02B5E8: push eax */ 17769 MEM32(ebp + (-0x10)) = ecx; /* 0x2B02B5E9: mov dword ptr [ebp - 0x10], ecx */ 17770 PUSH32(esp, ecx); /* 0x2B02B5EC: push ecx */ 17771 ecx = esi; /* 0x2B02B5ED: mov ecx, esi */ 17772 RECOMP_ICALL(0x2B02C260u); /* 0x2B02B5EF: call 0x2b02c260 */ /* not lifted */ 17773 RECOMP_FLAGS_IN(); 17774 ecx = MEM32(esi + 0x8); /* 0x2B02B5F4: mov ecx, dword ptr [esi + 8] */ 17775 eax = ecx + (-0x8); /* 0x2B02B5F7: lea eax, [ecx - 8] */ 17776 /* cmp edi, eax */ /* 0x2B02B5FA: cmp edi, eax */ 17777 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 17778 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17779 _flag_k = FK_CMP; 17780 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02B613; /* 0x2B02B5FC: je 0x2b02b613 */ 17781 L_2B02B5FE: 17782 edx = MEM32(eax + (-0x8)); /* 0x2B02B5FE: mov edx, dword ptr [eax - 8] */ 17783 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 17784 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17785 eax = eax - 8; /* 0x2B02B601: sub eax, 8 */ 17786 _flag_k = FK_CMP; 17787 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8); 17788 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17789 ecx = ecx - 8; /* 0x2B02B604: sub ecx, 8 */ 17790 _flag_k = FK_CMP; 17791 /* cmp eax, edi */ /* 0x2B02B607: cmp eax, edi */ 17792 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 17793 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17794 _flag_k = FK_CMP; 17795 MEM32(ecx) = edx; /* 0x2B02B609: mov dword ptr [ecx], edx */ 17796 edx = MEM32(eax + 0x4); /* 0x2B02B60B: mov edx, dword ptr [eax + 4] */ 17797 MEM32(ecx + 0x4) = edx; /* 0x2B02B60E: mov dword ptr [ecx + 4], edx */ 17798 RECOMP_BACKEDGE(); 17799 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02B5FE; /* 0x2B02B611: jne 0x2b02b5fe */ 17800 L_2B02B613: 17801 eax = edi + 0x8; /* 0x2B02B613: lea eax, [edi + 8] */ 17802 /* cmp edi, eax */ /* 0x2B02B616: cmp edi, eax */ 17803 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 17804 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17805 _flag_k = FK_CMP; 17806 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02B62C; /* 0x2B02B618: je 0x2b02b62c */ 17807 L_2B02B61A: 17808 ecx = MEM32(ebp + (-0x20)); /* 0x2B02B61A: mov ecx, dword ptr [ebp - 0x20] */ 17809 MEM32(edi) = ecx; /* 0x2B02B61D: mov dword ptr [edi], ecx */ 17810 edx = MEM32(ebp + (-0x1C)); /* 0x2B02B61F: mov edx, dword ptr [ebp - 0x1c] */ 17811 MEM32(edi + 0x4) = edx; /* 0x2B02B622: mov dword ptr [edi + 4], edx */ 17812 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(8); 17813 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17814 edi = edi + 8; /* 0x2B02B625: add edi, 8 */ 17815 _flag_k = FK_ADD; 17816 /* cmp edi, eax */ /* 0x2B02B628: cmp edi, eax */ 17817 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 17818 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17819 _flag_k = FK_CMP; 17820 RECOMP_BACKEDGE(); 17821 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02B61A; /* 0x2B02B62A: jne 0x2b02b61a */ 17822 L_2B02B62C: 17823 _flag_a = (uint32_t)(MEM32(esi + 0x8)); _flag_b = (uint32_t)(8); 17824 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17825 MEM32(esi + 0x8) = MEM32(esi + 0x8) + 8; /* 0x2B02B62C: add dword ptr [esi + 8], 8 */ 17826 _flag_k = FK_ADD; 17827 L_2B02B630: 17828 ecx = MEM32(ebp + (-0x8)); /* 0x2B02B630: mov ecx, dword ptr [ebp - 8] */ 17829 edx = MEM32(ebx + 0x4); /* 0x2B02B633: mov edx, dword ptr [ebx + 4] */ 17830 eax = ebp + (-0x4); /* 0x2B02B636: lea eax, [ebp - 4] */ 17831 PUSH32(esp, eax); /* 0x2B02B639: push eax */ 17832 eax = MEM32(ebx); /* 0x2B02B63A: mov eax, dword ptr [ebx] */ 17833 PUSH32(esp, ecx); /* 0x2B02B63C: push ecx */ 17834 PUSH32(esp, edx); /* 0x2B02B63D: push edx */ 17835 PUSH32(esp, eax); /* 0x2B02B63E: push eax */ 17836 RECOMP_ICALL(0x2B031BE0u); /* 0x2B02B63F: call 0x2b031be0 */ /* not lifted */ 17837 RECOMP_FLAGS_IN(); 17838 ecx = MEM32(ebp + (-0x18)); /* 0x2B02B644: mov ecx, dword ptr [ebp - 0x18] */ 17839 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 17840 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17841 esp = esp + 0x10u; /* 0x2B02B647: add esp, 0x10 */ 17842 _flag_k = FK_ADD; 17843 /* cmp eax, ecx */ /* 0x2B02B64A: cmp eax, ecx */ 17844 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 17845 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17846 _flag_k = FK_CMP; 17847 MEM32(ebp + (-0x8)) = eax; /* 0x2B02B64C: mov dword ptr [ebp - 8], eax */ 17848 RECOMP_BACKEDGE(); 17849 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02B4BF; /* 0x2B02B64F: jne 0x2b02b4bf */ 17850 L_2B02B655: 17851 edi = POP32_VAL(esp); /* 0x2B02B655: pop edi */ 17852 esi = POP32_VAL(esp); /* 0x2B02B656: pop esi */ 17853 ebx = POP32_VAL(esp); /* 0x2B02B657: pop ebx */ 17854 esp = ebp; /* 0x2B02B658: mov esp, ebp */ 17855 ebp = POP32_VAL(esp); /* 0x2B02B65A: pop ebp */ 17856 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B02B65B: ret */ 17857 RECOMP_REGS_OUT(); 17858 } 17859 17860 void sub_2B02B630(void) { 17861 int _fpu_cmp = 0; 17862 uint32_t _cf = 0; 17863 int _df = 1; 17864 uint32_t _flag_k = FK_NONE; 17865 uint32_t _flag_a = 0, _flag_b = 0; 17866 uint32_t _itail_tgt = 0; 17867 RECOMP_REGS_LOCALS 17868 RECOMP_ENTER(0x2B02B630u); 17869 17870 goto L_2B02B630; 17871 L_2B02B4BF: 17872 ecx = MEM32(ebp + (-0x8)); /* 0x2B02B4BF: mov ecx, dword ptr [ebp - 8] */ 17873 eax = MEM32(ebp + (-0x4)); /* 0x2B02B4C2: mov eax, dword ptr [ebp - 4] */ 17874 MEM32(ebp + (-0x20)) = ecx; /* 0x2B02B4C5: mov dword ptr [ebp - 0x20], ecx */ 17875 ecx = MEM32(esi + 0xC); /* 0x2B02B4C8: mov ecx, dword ptr [esi + 0xc] */ 17876 MEM32(ebp + (-0x1C)) = eax; /* 0x2B02B4CB: mov dword ptr [ebp - 0x1c], eax */ 17877 eax = MEM32(esi + 0x8); /* 0x2B02B4CE: mov eax, dword ptr [esi + 8] */ 17878 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 17879 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17880 ecx = ecx - eax; /* 0x2B02B4D1: sub ecx, eax */ 17881 _flag_k = FK_CMP; 17882 if (3u) _cf = (((ecx) >> 2) & 1u); /* 0x2B02B4D3: sar ecx, 3 */ 17883 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17884 ecx = (uint32_t)((int32_t)ecx >> 3u); 17885 /* cmp ecx, 1 */ /* 0x2B02B4D6: cmp ecx, 1 */ 17886 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 17887 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17888 _flag_k = FK_CMP; 17889 edi = eax; /* 0x2B02B4D9: mov edi, eax */ 17890 if (CMP_AE(_flag_a, _flag_b)) goto L_2B02B592; /* 0x2B02B4DB: jae 0x2b02b592 */ 17891 L_2B02B4E1: 17892 ecx = MEM32(esi + 0x4); /* 0x2B02B4E1: mov ecx, dword ptr [esi + 4] */ 17893 /* test ecx, ecx */ /* 0x2B02B4E4: test ecx, ecx */ 17894 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 17895 _cf = 0; 17896 _flag_k = FK_TEST; 17897 if (TEST_Z(_flag_a, _flag_b)) goto L_2B02B4FD; /* 0x2B02B4E6: je 0x2b02b4fd */ 17898 L_2B02B4E8: 17899 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 17900 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17901 eax = eax - ecx; /* 0x2B02B4E8: sub eax, ecx */ 17902 _flag_k = FK_CMP; 17903 if (3u) _cf = (((eax) >> 2) & 1u); /* 0x2B02B4EA: sar eax, 3 */ 17904 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 17905 eax = (uint32_t)((int32_t)eax >> 3u); 17906 /* cmp eax, 1 */ /* 0x2B02B4ED: cmp eax, 1 */ 17907 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 17908 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 17909 _flag_k = FK_CMP; 17910 if (CMP_BE(_flag_a, _flag_b)) goto L_2B02B4FD; /* 0x2B02B4F0: jbe 0x2b02b4fd */ 17911 L_2B02B4F2: 17912 ecx = esi; /* 0x2B02B4F2: mov ecx, esi */ 17913 RECOMP_ICALL(0x2B02BBF0u); /* 0x2B02B4F4: call 0x2b02bbf0 */ /* not lifted */ 17914 RECOMP_FLAGS_IN(); 17915 ebx = eax; /* 0x2B02B4F9: mov ebx, eax */ 17916 goto L_2B02B502; /* 0x2B02B4FB: jmp 0x2b02b502 */ 17917 L_2B02B4FD: 17918 ebx = 1; /* 0x2B02B4FD: mov ebx, 1 */ 17919 L_2B02B502: 17920 ecx = esi; /* 0x2B02B502: mov ecx, esi */ 17921 RECOMP_ICALL(0x2B02BBF0u); /* 0x2B02B504: call 0x2b02bbf0 */ /* not lifted */ 17922 RECOMP_FLAGS_IN(); 17923 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 17924 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17925 eax = eax + ebx; /* 0x2B02B509: add eax, ebx */ 17926 _flag_k = FK_ADD; 17927 MEM32(ebp + (-0x10)) = eax; /* 0x2B02B50B: mov dword ptr [ebp - 0x10], eax */ 17928 if (/* add result */ recomp_cond(_flag_k, _flag_a, _flag_b, CC_NS)) goto L_2B02B512; /* 0x2B02B50E: jns 0x2b02b512 */ 17929 L_2B02B510: 17930 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 17931 eax = 0; /* 0x2B02B510: xor eax, eax */ 17932 _cf = 0; 17933 _flag_k = FK_TEST; 17934 L_2B02B512: 17935 edx = eax * 8; /* 0x2B02B512: lea edx, [eax*8] */ 17936 PUSH32(esp, edx); /* 0x2B02B519: push edx */ 17937 RECOMP_ICALL(0x2B0AB212u); /* 0x2B02B51A: call 0x2b0ab212 */ /* not lifted */ 17938 RECOMP_FLAGS_IN(); 17939 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17940 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17941 esp = esp + 4; /* 0x2B02B51F: add esp, 4 */ 17942 _flag_k = FK_ADD; 17943 ebx = eax; /* 0x2B02B522: mov ebx, eax */ 17944 eax = MEM32(esi + 0x4); /* 0x2B02B524: mov eax, dword ptr [esi + 4] */ 17945 PUSH32(esp, ebx); /* 0x2B02B527: push ebx */ 17946 PUSH32(esp, edi); /* 0x2B02B528: push edi */ 17947 PUSH32(esp, eax); /* 0x2B02B529: push eax */ 17948 ecx = esi; /* 0x2B02B52A: mov ecx, esi */ 17949 RECOMP_ICALL(0x2B02C260u); /* 0x2B02B52C: call 0x2b02c260 */ /* not lifted */ 17950 RECOMP_FLAGS_IN(); 17951 ecx = ebp + (-0x20); /* 0x2B02B531: lea ecx, [ebp - 0x20] */ 17952 PUSH32(esp, ecx); /* 0x2B02B534: push ecx */ 17953 PUSH32(esp, 1); /* 0x2B02B535: push 1 */ 17954 PUSH32(esp, eax); /* 0x2B02B537: push eax */ 17955 ecx = esi; /* 0x2B02B538: mov ecx, esi */ 17956 MEM32(ebp + (-0xC)) = eax; /* 0x2B02B53A: mov dword ptr [ebp - 0xc], eax */ 17957 RECOMP_ICALL(0x2B02C2A0u); /* 0x2B02B53D: call 0x2b02c2a0 */ /* not lifted */ 17958 RECOMP_FLAGS_IN(); 17959 edx = MEM32(ebp + (-0xC)); /* 0x2B02B542: mov edx, dword ptr [ebp - 0xc] */ 17960 eax = MEM32(esi + 0x8); /* 0x2B02B545: mov eax, dword ptr [esi + 8] */ 17961 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(8); 17962 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17963 edx = edx + 8; /* 0x2B02B548: add edx, 8 */ 17964 _flag_k = FK_ADD; 17965 PUSH32(esp, edx); /* 0x2B02B54B: push edx */ 17966 PUSH32(esp, eax); /* 0x2B02B54C: push eax */ 17967 PUSH32(esp, edi); /* 0x2B02B54D: push edi */ 17968 ecx = esi; /* 0x2B02B54E: mov ecx, esi */ 17969 RECOMP_ICALL(0x2B02C260u); /* 0x2B02B550: call 0x2b02c260 */ /* not lifted */ 17970 RECOMP_FLAGS_IN(); 17971 ecx = MEM32(esi + 0x8); /* 0x2B02B555: mov ecx, dword ptr [esi + 8] */ 17972 edx = MEM32(esi + 0x4); /* 0x2B02B558: mov edx, dword ptr [esi + 4] */ 17973 PUSH32(esp, ecx); /* 0x2B02B55B: push ecx */ 17974 PUSH32(esp, edx); /* 0x2B02B55C: push edx */ 17975 ecx = esi; /* 0x2B02B55D: mov ecx, esi */ 17976 RECOMP_ICALL(0x2B0292C0u); /* 0x2B02B55F: call 0x2b0292c0 */ /* not lifted */ 17977 RECOMP_FLAGS_IN(); 17978 eax = MEM32(esi + 0x4); /* 0x2B02B564: mov eax, dword ptr [esi + 4] */ 17979 PUSH32(esp, eax); /* 0x2B02B567: push eax */ 17980 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B02B568: call 0x2b0ab1ba */ /* not lifted */ 17981 RECOMP_FLAGS_IN(); 17982 ecx = MEM32(ebp + (-0x10)); /* 0x2B02B56D: mov ecx, dword ptr [ebp - 0x10] */ 17983 edx = ebx + ecx * 8; /* 0x2B02B570: lea edx, [ebx + ecx*8] */ 17984 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 17985 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 17986 esp = esp + 4; /* 0x2B02B573: add esp, 4 */ 17987 _flag_k = FK_ADD; 17988 ecx = esi; /* 0x2B02B576: mov ecx, esi */ 17989 MEM32(esi + 0xC) = edx; /* 0x2B02B578: mov dword ptr [esi + 0xc], edx */ 17990 RECOMP_ICALL(0x2B02BBF0u); /* 0x2B02B57B: call 0x2b02bbf0 */ /* not lifted */ 17991 RECOMP_FLAGS_IN(); 17992 eax = ebx + eax * 8 + 0x8; /* 0x2B02B580: lea eax, [ebx + eax*8 + 8] */ 17993 MEM32(esi + 0x4) = ebx; /* 0x2B02B584: mov dword ptr [esi + 4], ebx */ 17994 ebx = MEM32(ebp + (-0x14)); /* 0x2B02B587: mov ebx, dword ptr [ebp - 0x14] */ 17995 MEM32(esi + 0x8) = eax; /* 0x2B02B58A: mov dword ptr [esi + 8], eax */ 17996 goto L_2B02B630; /* 0x2B02B58D: jmp 0x2b02b630 */ 17997 L_2B02B592: 17998 ecx = eax; /* 0x2B02B592: mov ecx, eax */ 17999 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 18000 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18001 ecx = ecx - edi; /* 0x2B02B594: sub ecx, edi */ 18002 _flag_k = FK_CMP; 18003 if (3u) _cf = (((ecx) >> 2) & 1u); /* 0x2B02B596: sar ecx, 3 */ 18004 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 18005 ecx = (uint32_t)((int32_t)ecx >> 3u); 18006 /* cmp ecx, 1 */ /* 0x2B02B599: cmp ecx, 1 */ 18007 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 18008 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18009 _flag_k = FK_CMP; 18010 if (CMP_AE(_flag_a, _flag_b)) goto L_2B02B5E4; /* 0x2B02B59C: jae 0x2b02b5e4 */ 18011 L_2B02B59E: 18012 ecx = edi + 0x8; /* 0x2B02B59E: lea ecx, [edi + 8] */ 18013 PUSH32(esp, ecx); /* 0x2B02B5A1: push ecx */ 18014 PUSH32(esp, eax); /* 0x2B02B5A2: push eax */ 18015 PUSH32(esp, edi); /* 0x2B02B5A3: push edi */ 18016 ecx = esi; /* 0x2B02B5A4: mov ecx, esi */ 18017 RECOMP_ICALL(0x2B02C260u); /* 0x2B02B5A6: call 0x2b02c260 */ /* not lifted */ 18018 RECOMP_FLAGS_IN(); 18019 eax = MEM32(esi + 0x8); /* 0x2B02B5AB: mov eax, dword ptr [esi + 8] */ 18020 ecx = eax; /* 0x2B02B5AE: mov ecx, eax */ 18021 edx = ebp + (-0x20); /* 0x2B02B5B0: lea edx, [ebp - 0x20] */ 18022 PUSH32(esp, edx); /* 0x2B02B5B3: push edx */ 18023 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 18024 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18025 ecx = ecx - edi; /* 0x2B02B5B4: sub ecx, edi */ 18026 _flag_k = FK_CMP; 18027 if (3u) _cf = (((ecx) >> 2) & 1u); /* 0x2B02B5B6: sar ecx, 3 */ 18028 if (3u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 3u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 18029 ecx = (uint32_t)((int32_t)ecx >> 3u); 18030 edx = 1; /* 0x2B02B5B9: mov edx, 1 */ 18031 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(ecx); 18032 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18033 edx = edx - ecx; /* 0x2B02B5BE: sub edx, ecx */ 18034 _flag_k = FK_CMP; 18035 PUSH32(esp, edx); /* 0x2B02B5C0: push edx */ 18036 PUSH32(esp, eax); /* 0x2B02B5C1: push eax */ 18037 ecx = esi; /* 0x2B02B5C2: mov ecx, esi */ 18038 RECOMP_ICALL(0x2B02C2A0u); /* 0x2B02B5C4: call 0x2b02c2a0 */ /* not lifted */ 18039 RECOMP_FLAGS_IN(); 18040 eax = MEM32(esi + 0x8); /* 0x2B02B5C9: mov eax, dword ptr [esi + 8] */ 18041 /* cmp edi, eax */ /* 0x2B02B5CC: cmp edi, eax */ 18042 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 18043 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18044 _flag_k = FK_CMP; 18045 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02B62C; /* 0x2B02B5CE: je 0x2b02b62c */ 18046 L_2B02B5D0: 18047 ecx = MEM32(ebp + (-0x20)); /* 0x2B02B5D0: mov ecx, dword ptr [ebp - 0x20] */ 18048 MEM32(edi) = ecx; /* 0x2B02B5D3: mov dword ptr [edi], ecx */ 18049 edx = MEM32(ebp + (-0x1C)); /* 0x2B02B5D5: mov edx, dword ptr [ebp - 0x1c] */ 18050 MEM32(edi + 0x4) = edx; /* 0x2B02B5D8: mov dword ptr [edi + 4], edx */ 18051 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(8); 18052 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18053 edi = edi + 8; /* 0x2B02B5DB: add edi, 8 */ 18054 _flag_k = FK_ADD; 18055 /* cmp edi, eax */ /* 0x2B02B5DE: cmp edi, eax */ 18056 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 18057 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18058 _flag_k = FK_CMP; 18059 RECOMP_BACKEDGE(); 18060 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02B5D0; /* 0x2B02B5E0: jne 0x2b02b5d0 */ 18061 L_2B02B5E2: 18062 goto L_2B02B62C; /* 0x2B02B5E2: jmp 0x2b02b62c */ 18063 L_2B02B5E4: 18064 PUSH32(esp, eax); /* 0x2B02B5E4: push eax */ 18065 ecx = eax + (-0x8); /* 0x2B02B5E5: lea ecx, [eax - 8] */ 18066 PUSH32(esp, eax); /* 0x2B02B5E8: push eax */ 18067 MEM32(ebp + (-0x10)) = ecx; /* 0x2B02B5E9: mov dword ptr [ebp - 0x10], ecx */ 18068 PUSH32(esp, ecx); /* 0x2B02B5EC: push ecx */ 18069 ecx = esi; /* 0x2B02B5ED: mov ecx, esi */ 18070 RECOMP_ICALL(0x2B02C260u); /* 0x2B02B5EF: call 0x2b02c260 */ /* not lifted */ 18071 RECOMP_FLAGS_IN(); 18072 ecx = MEM32(esi + 0x8); /* 0x2B02B5F4: mov ecx, dword ptr [esi + 8] */ 18073 eax = ecx + (-0x8); /* 0x2B02B5F7: lea eax, [ecx - 8] */ 18074 /* cmp edi, eax */ /* 0x2B02B5FA: cmp edi, eax */ 18075 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 18076 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18077 _flag_k = FK_CMP; 18078 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02B613; /* 0x2B02B5FC: je 0x2b02b613 */ 18079 L_2B02B5FE: 18080 edx = MEM32(eax + (-0x8)); /* 0x2B02B5FE: mov edx, dword ptr [eax - 8] */ 18081 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 18082 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18083 eax = eax - 8; /* 0x2B02B601: sub eax, 8 */ 18084 _flag_k = FK_CMP; 18085 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8); 18086 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18087 ecx = ecx - 8; /* 0x2B02B604: sub ecx, 8 */ 18088 _flag_k = FK_CMP; 18089 /* cmp eax, edi */ /* 0x2B02B607: cmp eax, edi */ 18090 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 18091 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18092 _flag_k = FK_CMP; 18093 MEM32(ecx) = edx; /* 0x2B02B609: mov dword ptr [ecx], edx */ 18094 edx = MEM32(eax + 0x4); /* 0x2B02B60B: mov edx, dword ptr [eax + 4] */ 18095 MEM32(ecx + 0x4) = edx; /* 0x2B02B60E: mov dword ptr [ecx + 4], edx */ 18096 RECOMP_BACKEDGE(); 18097 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02B5FE; /* 0x2B02B611: jne 0x2b02b5fe */ 18098 L_2B02B613: 18099 eax = edi + 0x8; /* 0x2B02B613: lea eax, [edi + 8] */ 18100 /* cmp edi, eax */ /* 0x2B02B616: cmp edi, eax */ 18101 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 18102 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18103 _flag_k = FK_CMP; 18104 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02B62C; /* 0x2B02B618: je 0x2b02b62c */ 18105 L_2B02B61A: 18106 ecx = MEM32(ebp + (-0x20)); /* 0x2B02B61A: mov ecx, dword ptr [ebp - 0x20] */ 18107 MEM32(edi) = ecx; /* 0x2B02B61D: mov dword ptr [edi], ecx */ 18108 edx = MEM32(ebp + (-0x1C)); /* 0x2B02B61F: mov edx, dword ptr [ebp - 0x1c] */ 18109 MEM32(edi + 0x4) = edx; /* 0x2B02B622: mov dword ptr [edi + 4], edx */ 18110 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(8); 18111 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18112 edi = edi + 8; /* 0x2B02B625: add edi, 8 */ 18113 _flag_k = FK_ADD; 18114 /* cmp edi, eax */ /* 0x2B02B628: cmp edi, eax */ 18115 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 18116 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18117 _flag_k = FK_CMP; 18118 RECOMP_BACKEDGE(); 18119 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02B61A; /* 0x2B02B62A: jne 0x2b02b61a */ 18120 L_2B02B62C: 18121 _flag_a = (uint32_t)(MEM32(esi + 0x8)); _flag_b = (uint32_t)(8); 18122 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18123 MEM32(esi + 0x8) = MEM32(esi + 0x8) + 8; /* 0x2B02B62C: add dword ptr [esi + 8], 8 */ 18124 _flag_k = FK_ADD; 18125 L_2B02B630: 18126 ecx = MEM32(ebp + (-0x8)); /* 0x2B02B630: mov ecx, dword ptr [ebp - 8] */ 18127 edx = MEM32(ebx + 0x4); /* 0x2B02B633: mov edx, dword ptr [ebx + 4] */ 18128 eax = ebp + (-0x4); /* 0x2B02B636: lea eax, [ebp - 4] */ 18129 PUSH32(esp, eax); /* 0x2B02B639: push eax */ 18130 eax = MEM32(ebx); /* 0x2B02B63A: mov eax, dword ptr [ebx] */ 18131 PUSH32(esp, ecx); /* 0x2B02B63C: push ecx */ 18132 PUSH32(esp, edx); /* 0x2B02B63D: push edx */ 18133 PUSH32(esp, eax); /* 0x2B02B63E: push eax */ 18134 RECOMP_ICALL(0x2B031BE0u); /* 0x2B02B63F: call 0x2b031be0 */ /* not lifted */ 18135 RECOMP_FLAGS_IN(); 18136 ecx = MEM32(ebp + (-0x18)); /* 0x2B02B644: mov ecx, dword ptr [ebp - 0x18] */ 18137 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 18138 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18139 esp = esp + 0x10u; /* 0x2B02B647: add esp, 0x10 */ 18140 _flag_k = FK_ADD; 18141 /* cmp eax, ecx */ /* 0x2B02B64A: cmp eax, ecx */ 18142 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 18143 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18144 _flag_k = FK_CMP; 18145 MEM32(ebp + (-0x8)) = eax; /* 0x2B02B64C: mov dword ptr [ebp - 8], eax */ 18146 RECOMP_BACKEDGE(); 18147 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02B4BF; /* 0x2B02B64F: jne 0x2b02b4bf */ 18148 L_2B02B655: 18149 edi = POP32_VAL(esp); /* 0x2B02B655: pop edi */ 18150 esi = POP32_VAL(esp); /* 0x2B02B656: pop esi */ 18151 ebx = POP32_VAL(esp); /* 0x2B02B657: pop ebx */ 18152 esp = ebp; /* 0x2B02B658: mov esp, ebp */ 18153 ebp = POP32_VAL(esp); /* 0x2B02B65A: pop ebp */ 18154 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B02B65B: ret */ 18155 RECOMP_REGS_OUT(); 18156 } 18157 18158 void sub_2B02B660(void) { 18159 int _fpu_cmp = 0; 18160 uint32_t _cf = 0; 18161 int _df = 1; 18162 uint32_t _flag_k = FK_NONE; 18163 uint32_t _flag_a = 0, _flag_b = 0; 18164 uint32_t _itail_tgt = 0; 18165 RECOMP_REGS_LOCALS 18166 RECOMP_ENTER(0x2B02B660u); 18167 18168 L_2B02B660: 18169 PUSH32(esp, ebp); /* 0x2B02B660: push ebp */ 18170 ebp = esp; /* 0x2B02B661: mov ebp, esp */ 18171 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B02B663: push -1 */ 18172 PUSH32(esp, 0x2B0ADE31u); /* 0x2B02B665: push 0x2b0ade31 */ 18173 eax = MEM32(FS_BASE + (0)); /* 0x2B02B66A: mov eax, dword ptr fs:[0] */ 18174 PUSH32(esp, eax); /* 0x2B02B670: push eax */ 18175 MEM32(FS_BASE + (0)) = esp; /* 0x2B02B671: mov dword ptr fs:[0], esp */ 18176 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x6Cu); 18177 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18178 esp = esp - 0x6Cu; /* 0x2B02B678: sub esp, 0x6c */ 18179 _flag_k = FK_CMP; 18180 PUSH32(esp, ebx); /* 0x2B02B67B: push ebx */ 18181 PUSH32(esp, edi); /* 0x2B02B67C: push edi */ 18182 ebx = ecx; /* 0x2B02B67D: mov ebx, ecx */ 18183 RECOMP_ICALL(0x2B02B430u); /* 0x2B02B67F: call 0x2b02b430 */ /* not lifted */ 18184 RECOMP_FLAGS_IN(); 18185 SET_LO8(eax, MEM8(ebp + (-0xD))); /* 0x2B02B684: mov al, byte ptr [ebp - 0xd] */ 18186 PUSH32(esp, 0); /* 0x2B02B687: push 0 */ 18187 ecx = ebp + (-0x38); /* 0x2B02B689: lea ecx, [ebp - 0x38] */ 18188 MEM8(ebp + (-0x38)) = (uint8_t)(LO8(eax)); /* 0x2B02B68C: mov byte ptr [ebp - 0x38], al */ 18189 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B02B68F: call dword ptr [0x2b0b514c] */ 18190 RECOMP_FLAGS_IN(); 18191 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 18192 ecx = ecx | 0xFFFFFFFFu; /* 0x2B02B695: or ecx, 0xffffffff */ 18193 _cf = 0; 18194 _flag_k = FK_TEST; 18195 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18196 eax = 0; /* 0x2B02B698: xor eax, eax */ 18197 _cf = 0; 18198 _flag_k = FK_TEST; 18199 edi = 0x2B0EE648u; /* 0x2B02B69A: mov edi, 0x2b0ee648 */ 18200 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B02B69F: repne scasb al, byte ptr es:[edi] */ 18201 ecx = ~ecx; /* 0x2B02B6A1: not ecx */ 18202 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 18203 ecx = ecx - 1; /* 0x2B02B6A3: dec ecx */ 18204 _flag_k = FK_DEC; 18205 PUSH32(esp, ecx); /* 0x2B02B6A4: push ecx */ 18206 PUSH32(esp, 0x2B0EE648u); /* 0x2B02B6A5: push 0x2b0ee648 */ 18207 ecx = ebp + (-0x38); /* 0x2B02B6AA: lea ecx, [ebp - 0x38] */ 18208 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B02B6AD: call dword ptr [0x2b0b5148] */ 18209 RECOMP_FLAGS_IN(); 18210 eax = MEM32(ebx + 0xC); /* 0x2B02B6B3: mov eax, dword ptr [ebx + 0xc] */ 18211 /* test eax, eax */ /* 0x2B02B6B6: test eax, eax */ 18212 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 18213 _cf = 0; 18214 _flag_k = FK_TEST; 18215 MEM32(ebp + (-0x4)) = 0; /* 0x2B02B6B8: mov dword ptr [ebp - 4], 0 */ 18216 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02B6D6; /* 0x2B02B6BF: jne 0x2b02b6d6 */ 18217 L_2B02B6C1: 18218 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 18219 ecx = ecx | 0xFFFFFFFFu; /* 0x2B02B6C1: or ecx, 0xffffffff */ 18220 _cf = 0; 18221 _flag_k = FK_TEST; 18222 edi = 0x2B0E4220u; /* 0x2B02B6C4: mov edi, 0x2b0e4220 */ 18223 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B02B6C9: repne scasb al, byte ptr es:[edi] */ 18224 ecx = ~ecx; /* 0x2B02B6CB: not ecx */ 18225 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 18226 ecx = ecx - 1; /* 0x2B02B6CD: dec ecx */ 18227 _flag_k = FK_DEC; 18228 PUSH32(esp, ecx); /* 0x2B02B6CE: push ecx */ 18229 PUSH32(esp, 0x2B0E4220u); /* 0x2B02B6CF: push 0x2b0e4220 */ 18230 goto L_2B02B6F0; /* 0x2B02B6D4: jmp 0x2b02b6f0 */ 18231 L_2B02B6D6: 18232 /* cmp eax, 2 */ /* 0x2B02B6D6: cmp eax, 2 */ 18233 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 18234 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18235 _flag_k = FK_CMP; 18236 if (CMP_NE(_flag_a, _flag_b)) goto L_2B02B6F9; /* 0x2B02B6D9: jne 0x2b02b6f9 */ 18237 L_2B02B6DB: 18238 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 18239 ecx = ecx | 0xFFFFFFFFu; /* 0x2B02B6DB: or ecx, 0xffffffff */ 18240 _cf = 0; 18241 _flag_k = FK_TEST; 18242 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18243 eax = 0; /* 0x2B02B6DE: xor eax, eax */ 18244 _cf = 0; 18245 _flag_k = FK_TEST; 18246 edi = 0x2B0E4218u; /* 0x2B02B6E0: mov edi, 0x2b0e4218 */ 18247 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B02B6E5: repne scasb al, byte ptr es:[edi] */ 18248 ecx = ~ecx; /* 0x2B02B6E7: not ecx */ 18249 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 18250 ecx = ecx - 1; /* 0x2B02B6E9: dec ecx */ 18251 _flag_k = FK_DEC; 18252 PUSH32(esp, ecx); /* 0x2B02B6EA: push ecx */ 18253 PUSH32(esp, 0x2B0E4218u); /* 0x2B02B6EB: push 0x2b0e4218 */ 18254 L_2B02B6F0: 18255 ecx = ebp + (-0x38); /* 0x2B02B6F0: lea ecx, [ebp - 0x38] */ 18256 RECOMP_ICALL(MEM32(0x2B0B5148)); /* 0x2B02B6F3: call dword ptr [0x2b0b5148] */ 18257 RECOMP_FLAGS_IN(); 18258 L_2B02B6F9: 18259 eax = MEM32(ebx + 0x4); /* 0x2B02B6F9: mov eax, dword ptr [ebx + 4] */ 18260 /* test eax, eax */ /* 0x2B02B6FC: test eax, eax */ 18261 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 18262 _cf = 0; 18263 _flag_k = FK_TEST; 18264 PUSH32(esp, esi); /* 0x2B02B6FE: push esi */ 18265 esi = 0x2B0E420Cu; /* 0x2B02B6FF: mov esi, 0x2b0e420c */ 18266 MEM32(ebp + (-0x14)) = esi; /* 0x2B02B704: mov dword ptr [ebp - 0x14], esi */ 18267 if (TEST_S(_flag_a, _flag_b)) goto L_2B02B718; /* 0x2B02B707: jl 0x2b02b718 */ 18268 L_2B02B709: 18269 /* cmp eax, 4 */ /* 0x2B02B709: cmp eax, 4 */ 18270 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 18271 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18272 _flag_k = FK_CMP; 18273 if (CMP_AE(_flag_a, _flag_b)) goto L_2B02B718; /* 0x2B02B70C: jae 0x2b02b718 */ 18274 L_2B02B70E: 18275 ecx = MEM32(eax * 4 + 0x2B0E41FC); /* 0x2B02B70E: mov ecx, dword ptr [eax*4 + 0x2b0e41fc] */ 18276 MEM32(ebp + (-0x14)) = ecx; /* 0x2B02B715: mov dword ptr [ebp - 0x14], ecx */ 18277 L_2B02B718: 18278 eax = MEM32(ebx); /* 0x2B02B718: mov eax, dword ptr [ebx] */ 18279 /* test eax, eax */ /* 0x2B02B71A: test eax, eax */ 18280 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 18281 _cf = 0; 18282 _flag_k = FK_TEST; 18283 if (TEST_S(_flag_a, _flag_b)) goto L_2B02B72A; /* 0x2B02B71C: jl 0x2b02b72a */ 18284 L_2B02B71E: 18285 /* cmp eax, 0x1Du */ /* 0x2B02B71E: cmp eax, 0x1d */ 18286 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x1Du); 18287 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18288 _flag_k = FK_CMP; 18289 if (CMP_AE(_flag_a, _flag_b)) goto L_2B02B72A; /* 0x2B02B721: jae 0x2b02b72a */ 18290 L_2B02B723: 18291 esi = MEM32(eax * 4 + 0x2B0E4188); /* 0x2B02B723: mov esi, dword ptr [eax*4 + 0x2b0e4188] */ 18292 L_2B02B72A: 18293 SET_LO8(edx, MEM8(ebp + (-0xD))); /* 0x2B02B72A: mov dl, byte ptr [ebp - 0xd] */ 18294 PUSH32(esp, 0); /* 0x2B02B72D: push 0 */ 18295 ecx = ebp + (-0x28); /* 0x2B02B72F: lea ecx, [ebp - 0x28] */ 18296 MEM8(ebp + (-0x28)) = (uint8_t)(LO8(edx)); /* 0x2B02B732: mov byte ptr [ebp - 0x28], dl */ 18297 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B02B735: call dword ptr [0x2b0b514c] */ 18298 RECOMP_FLAGS_IN(); 18299 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 18300 ecx = ecx | 0xFFFFFFFFu; /* 0x2B02B73B: or ecx, 0xffffffff */ 18301 _cf = 0; 18302 _flag_k = FK_TEST; 18303 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18304 eax = 0; /* 0x2B02B73E: xor eax, eax */ 18305 _cf = 0; 18306 _flag_k = FK_TEST; 18307 edi = esi; /* 0x2B02B740: mov edi, esi */ 18308 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x2B02B742: repne scasb al, byte ptr es:[edi] */ 18309 ecx = ~ecx; /* 0x2B02B744: not ecx */ 18310 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 18311 ecx = ecx - 1; /* 0x2B02B746: dec ecx */ 18312 _flag_k = FK_DEC; 18313 edi = ecx; /* 0x2B02B747: mov edi, ecx */ 18314 PUSH32(esp, 1); /* 0x2B02B749: push 1 */ 18315 PUSH32(esp, edi); /* 0x2B02B74B: push edi */ 18316 ecx = ebp + (-0x28); /* 0x2B02B74C: lea ecx, [ebp - 0x28] */ 18317 MEM32(ebp + (-0x18)) = edi; /* 0x2B02B74F: mov dword ptr [ebp - 0x18], edi */ 18318 RECOMP_ICALL(MEM32(0x2B0B5154)); /* 0x2B02B752: call dword ptr [0x2b0b5154] */ 18319 RECOMP_FLAGS_IN(); 18320 /* test LO8(eax), LO8(eax) */ /* 0x2B02B758: test al, al */ 18321 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18322 _cf = 0; 18323 _flag_k = FK_NARROW(FK_TEST, 24); 18324 if (TEST_Z(_flag_a, _flag_b)) goto L_2B02B77B; /* 0x2B02B75A: je 0x2b02b77b */ 18325 L_2B02B75C: 18326 ecx = edi; /* 0x2B02B75C: mov ecx, edi */ 18327 edi = MEM32(ebp + (-0x24)); /* 0x2B02B75E: mov edi, dword ptr [ebp - 0x24] */ 18328 eax = ecx; /* 0x2B02B761: mov eax, ecx */ 18329 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x2B02B763: shr ecx, 2 */ 18330 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 18331 ecx = ecx >> 2u; /* 0x2B02B763: shr ecx, 2 */ 18332 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x2B02B766: 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; } 18333 ecx = eax; /* 0x2B02B768: mov ecx, eax */ 18334 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 18335 ecx = ecx & 3; /* 0x2B02B76A: and ecx, 3 */ 18336 _cf = 0; 18337 _flag_k = FK_TEST; 18338 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x2B02B76D: 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; } 18339 ecx = eax; /* 0x2B02B76F: mov ecx, eax */ 18340 PUSH32(esp, ecx); /* 0x2B02B771: push ecx */ 18341 ecx = ebp + (-0x28); /* 0x2B02B772: lea ecx, [ebp - 0x28] */ 18342 RECOMP_ICALL(MEM32(0x2B0B5150)); /* 0x2B02B775: call dword ptr [0x2b0b5150] */ 18343 RECOMP_FLAGS_IN(); 18344 L_2B02B77B: 18345 PUSH32(esp, 0x2B0E130Cu); /* 0x2B02B77B: push 0x2b0e130c */ 18346 edx = ebp + (-0x28); /* 0x2B02B780: lea edx, [ebp - 0x28] */ 18347 PUSH32(esp, edx); /* 0x2B02B783: push edx */ 18348 eax = ebp + (-0x78); /* 0x2B02B784: lea eax, [ebp - 0x78] */ 18349 PUSH32(esp, eax); /* 0x2B02B787: push eax */ 18350 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B02B788: mov byte ptr [ebp - 4], 1 */ 18351 RECOMP_ICALL(0x2B0AB1CCu); /* 0x2B02B78C: call 0x2b0ab1cc */ /* not lifted */ 18352 RECOMP_FLAGS_IN(); 18353 ecx = MEM32(ebp + (-0x14)); /* 0x2B02B791: mov ecx, dword ptr [ebp - 0x14] */ 18354 PUSH32(esp, ecx); /* 0x2B02B794: push ecx */ 18355 PUSH32(esp, eax); /* 0x2B02B795: push eax */ 18356 edx = ebp + (-0x68); /* 0x2B02B796: lea edx, [ebp - 0x68] */ 18357 PUSH32(esp, edx); /* 0x2B02B799: push edx */ 18358 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B02B79A: mov byte ptr [ebp - 4], 2 */ 18359 RECOMP_ICALL(0x2B0AB1CCu); /* 0x2B02B79E: call 0x2b0ab1cc */ /* not lifted */ 18360 RECOMP_FLAGS_IN(); 18361 ecx = ebp + (-0x38); /* 0x2B02B7A3: lea ecx, [ebp - 0x38] */ 18362 PUSH32(esp, ecx); /* 0x2B02B7A6: push ecx */ 18363 PUSH32(esp, eax); /* 0x2B02B7A7: push eax */ 18364 edx = ebp + (-0x58); /* 0x2B02B7A8: lea edx, [ebp - 0x58] */ 18365 PUSH32(esp, edx); /* 0x2B02B7AB: push edx */ 18366 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B02B7AC: mov byte ptr [ebp - 4], 3 */ 18367 RECOMP_ICALL(0x2B0AB1C6u); /* 0x2B02B7B0: call 0x2b0ab1c6 */ /* not lifted */ 18368 RECOMP_FLAGS_IN(); 18369 PUSH32(esp, 0x2B0E4180u); /* 0x2B02B7B5: push 0x2b0e4180 */ 18370 PUSH32(esp, eax); /* 0x2B02B7BA: push eax */ 18371 eax = ebp + (-0x48); /* 0x2B02B7BB: lea eax, [ebp - 0x48] */ 18372 PUSH32(esp, eax); /* 0x2B02B7BE: push eax */ 18373 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B02B7BF: mov byte ptr [ebp - 4], 4 */ 18374 RECOMP_ICALL(0x2B0AB1CCu); /* 0x2B02B7C3: call 0x2b0ab1cc */ /* not lifted */ 18375 RECOMP_FLAGS_IN(); 18376 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x30u); 18377 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18378 esp = esp + 0x30u; /* 0x2B02B7C8: add esp, 0x30 */ 18379 _flag_k = FK_ADD; 18380 eax = MEM32(eax + 0x4); /* 0x2B02B7CB: mov eax, dword ptr [eax + 4] */ 18381 /* test eax, eax */ /* 0x2B02B7CE: test eax, eax */ 18382 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 18383 _cf = 0; 18384 _flag_k = FK_TEST; 18385 MEM8(ebp + (-0x4)) = (uint8_t)(5); /* 0x2B02B7D0: mov byte ptr [ebp - 4], 5 */ 18386 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02B7DB; /* 0x2B02B7D4: jne 0x2b02b7db */ 18387 L_2B02B7D6: 18388 eax = MEM32(0x2B0B513C); /* 0x2B02B7D6: mov eax, dword ptr [0x2b0b513c] */ 18389 L_2B02B7DB: 18390 PUSH32(esp, eax); /* 0x2B02B7DB: push eax */ 18391 PUSH32(esp, 0x000F6952u); /* 0x2B02B7DC: push 0xf6952 */ 18392 RECOMP_ICALL(MEM32(0x2B0B6028)); /* 0x2B02B7E1: call dword ptr [0x2b0b6028] */ 18393 RECOMP_FLAGS_IN(); 18394 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 18395 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18396 esp = esp + 8; /* 0x2B02B7E7: add esp, 8 */ 18397 _flag_k = FK_ADD; 18398 PUSH32(esp, 1); /* 0x2B02B7EA: push 1 */ 18399 ecx = ebp + (-0x48); /* 0x2B02B7EC: lea ecx, [ebp - 0x48] */ 18400 MEM32(ebx + 0x50) = eax; /* 0x2B02B7EF: mov dword ptr [ebx + 0x50], eax */ 18401 MEM8(ebp + (-0x4)) = (uint8_t)(4); /* 0x2B02B7F2: mov byte ptr [ebp - 4], 4 */ 18402 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B02B7F6: call dword ptr [0x2b0b514c] */ 18403 RECOMP_FLAGS_IN(); 18404 PUSH32(esp, 1); /* 0x2B02B7FC: push 1 */ 18405 ecx = ebp + (-0x58); /* 0x2B02B7FE: lea ecx, [ebp - 0x58] */ 18406 MEM8(ebp + (-0x4)) = (uint8_t)(3); /* 0x2B02B801: mov byte ptr [ebp - 4], 3 */ 18407 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B02B805: call dword ptr [0x2b0b514c] */ 18408 RECOMP_FLAGS_IN(); 18409 PUSH32(esp, 1); /* 0x2B02B80B: push 1 */ 18410 ecx = ebp + (-0x68); /* 0x2B02B80D: lea ecx, [ebp - 0x68] */ 18411 MEM8(ebp + (-0x4)) = (uint8_t)(2); /* 0x2B02B810: mov byte ptr [ebp - 4], 2 */ 18412 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B02B814: call dword ptr [0x2b0b514c] */ 18413 RECOMP_FLAGS_IN(); 18414 PUSH32(esp, 1); /* 0x2B02B81A: push 1 */ 18415 ecx = ebp + (-0x78); /* 0x2B02B81C: lea ecx, [ebp - 0x78] */ 18416 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x2B02B81F: mov byte ptr [ebp - 4], 1 */ 18417 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B02B823: call dword ptr [0x2b0b514c] */ 18418 RECOMP_FLAGS_IN(); 18419 PUSH32(esp, 1); /* 0x2B02B829: push 1 */ 18420 ecx = ebp + (-0x28); /* 0x2B02B82B: lea ecx, [ebp - 0x28] */ 18421 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B02B82E: mov byte ptr [ebp - 4], 0 */ 18422 RECOMP_ICALL(MEM32(0x2B0B514C)); /* 0x2B02B832: call dword ptr [0x2b0b514c] */ 18423 RECOMP_FLAGS_IN(); 18424 ecx = MEM32(ebx + 0x44); /* 0x2B02B838: mov ecx, dword ptr [ebx + 0x44] */ 18425 eax = MEM32(ebx + 0x8); /* 0x2B02B83B: mov eax, dword ptr [ebx + 8] */ 18426 if (3u) _cf = (((eax) >> 29) & 1u); /* 0x2B02B83E: shl eax, 3 */ 18427 if (3u) { _flag_a = recomp_flags_pack((eax << 3u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 18428 eax = eax << 3u; /* 0x2B02B83E: shl eax, 3 */ 18429 ecx = MEM32(eax + ecx); /* 0x2B02B841: mov ecx, dword ptr [eax + ecx] */ 18430 MEM32(ebx + 0x54) = ecx; /* 0x2B02B844: mov dword ptr [ebx + 0x54], ecx */ 18431 ecx = MEM32(ebx + 0x44); /* 0x2B02B847: mov ecx, dword ptr [ebx + 0x44] */ 18432 edx = MEM32(eax + ecx + 0x4); /* 0x2B02B84A: mov edx, dword ptr [eax + ecx + 4] */ 18433 ecx = MEM32(ebx + 0x78); /* 0x2B02B84E: mov ecx, dword ptr [ebx + 0x78] */ 18434 /* test ecx, ecx */ /* 0x2B02B851: test ecx, ecx */ 18435 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 18436 _cf = 0; 18437 _flag_k = FK_TEST; 18438 MEM32(ebx + 0x14) = edx; /* 0x2B02B853: mov dword ptr [ebx + 0x14], edx */ 18439 if (TEST_Z(_flag_a, _flag_b)) goto L_2B02B85F; /* 0x2B02B856: je 0x2b02b85f */ 18440 L_2B02B858: 18441 eax = MEM32(ecx); /* 0x2B02B858: mov eax, dword ptr [ecx] */ 18442 PUSH32(esp, 1); /* 0x2B02B85A: push 1 */ 18443 RECOMP_ICALL(MEM32(eax + 0x10)); /* 0x2B02B85C: call dword ptr [eax + 0x10] */ 18444 RECOMP_FLAGS_IN(); 18445 L_2B02B85F: 18446 PUSH32(esp, 0x88u); /* 0x2B02B85F: push 0x88 */ 18447 RECOMP_ICALL(0x2B0AB212u); /* 0x2B02B864: call 0x2b0ab212 */ /* not lifted */ 18448 RECOMP_FLAGS_IN(); 18449 esi = eax; /* 0x2B02B869: mov esi, eax */ 18450 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18451 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18452 esp = esp + 4; /* 0x2B02B86B: add esp, 4 */ 18453 _flag_k = FK_ADD; 18454 MEM32(ebp + (-0x18)) = esi; /* 0x2B02B86E: mov dword ptr [ebp - 0x18], esi */ 18455 /* test esi, esi */ /* 0x2B02B871: test esi, esi */ 18456 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 18457 _cf = 0; 18458 _flag_k = FK_TEST; 18459 MEM8(ebp + (-0x4)) = (uint8_t)(6); /* 0x2B02B873: mov byte ptr [ebp - 4], 6 */ 18460 if (TEST_Z(_flag_a, _flag_b)) goto L_2B02B89C; /* 0x2B02B877: je 0x2b02b89c */ 18461 L_2B02B879: 18462 ecx = MEM32(ebx + 0x4); /* 0x2B02B879: mov ecx, dword ptr [ebx + 4] */ 18463 edx = MEM32(ebx); /* 0x2B02B87C: mov edx, dword ptr [ebx] */ 18464 eax = MEM32(ebx + 0x14); /* 0x2B02B87E: mov eax, dword ptr [ebx + 0x14] */ 18465 PUSH32(esp, 1); /* 0x2B02B881: push 1 */ 18466 PUSH32(esp, 0); /* 0x2B02B883: push 0 */ 18467 PUSH32(esp, ecx); /* 0x2B02B885: push ecx */ 18468 ecx = MEM32(ebx + 0x50); /* 0x2B02B886: mov ecx, dword ptr [ebx + 0x50] */ 18469 PUSH32(esp, edx); /* 0x2B02B889: push edx */ 18470 PUSH32(esp, eax); /* 0x2B02B88A: push eax */ 18471 PUSH32(esp, ecx); /* 0x2B02B88B: push ecx */ 18472 ecx = esi; /* 0x2B02B88C: mov ecx, esi */ 18473 RECOMP_ICALL(MEM32(0x2B0B55BC)); /* 0x2B02B88E: call dword ptr [0x2b0b55bc] */ 18474 RECOMP_FLAGS_IN(); 18475 MEM32(esi) = 0x2B0B66BCu; /* 0x2B02B894: mov dword ptr [esi], 0x2b0b66bc */ 18476 goto L_2B02B89E; /* 0x2B02B89A: jmp 0x2b02b89e */ 18477 L_2B02B89C: 18478 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 18479 esi = 0; /* 0x2B02B89C: xor esi, esi */ 18480 _cf = 0; 18481 _flag_k = FK_TEST; 18482 L_2B02B89E: 18483 MEM32(ebx + 0x78) = esi; /* 0x2B02B89E: mov dword ptr [ebx + 0x78], esi */ 18484 eax = MEM32(ebx + 0x1C); /* 0x2B02B8A1: mov eax, dword ptr [ebx + 0x1c] */ 18485 /* test eax, eax */ /* 0x2B02B8A4: test eax, eax */ 18486 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 18487 _cf = 0; 18488 _flag_k = FK_TEST; 18489 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x2B02B8A6: mov byte ptr [ebp - 4], 0 */ 18490 esi = POP32_VAL(esp); /* 0x2B02B8AA: pop esi */ 18491 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B02B8B2; /* 0x2B02B8AB: jne 0x2b02b8b2 */ 18492 L_2B02B8AD: 18493 eax = MEM32(0x2B0B513C); /* 0x2B02B8AD: mov eax, dword ptr [0x2b0b513c] */ 18494 L_2B02B8B2: 18495 PUSH32(esp, 0); /* 0x2B02B8B2: push 0 */ 18496 PUSH32(esp, eax); /* 0x2B02B8B4: push eax */ 18497 ecx = ebx; /* 0x2B02B8B5: mov ecx, ebx */ 18498 RECOMP_ICALL(0x2B02B960u); /* 0x2B02B8B7: call 0x2b02b960 */ /* not lifted */ 18499 RECOMP_FLAGS_IN(); 18500 ecx = ebx; /* 0x2B02B8BC: mov ecx, ebx */ 18501 RECOMP_ICALL(0x2B02BBC0u); /* 0x2B02B8BE: call 0x2b02bbc0 */ /* not lifted */ 18502 RECOMP_FLAGS_IN(); 18503 ecx = MEM32(ebp + (-0x34)); /* 0x2B02B8C3: mov ecx, dword ptr [ebp - 0x34] */ 18504 /* test ecx, ecx */ /* 0x2B02B8C6: test ecx, ecx */ 18505 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 18506 _cf = 0; 18507 _flag_k = FK_TEST; 18508 edi = POP32_VAL(esp); /* 0x2B02B8C8: pop edi */ 18509 ebx = POP32_VAL(esp); /* 0x2B02B8C9: pop ebx */ 18510 if (TEST_Z(_flag_a, _flag_b)) goto L_2B02B8F4; /* 0x2B02B8CA: je 0x2b02b8f4 */ 18511 L_2B02B8CC: 18512 SET_LO8(eax, MEM8(ecx + (-0x1))); /* 0x2B02B8CC: mov al, byte ptr [ecx - 1] */ 18513 /* test LO8(eax), LO8(eax) */ /* 0x2B02B8CF: test al, al */ 18514 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 18515 _cf = 0; 18516 _flag_k = FK_NARROW(FK_TEST, 24); 18517 if (TEST_Z(_flag_a, _flag_b)) goto L_2B02B8EA; /* 0x2B02B8D1: je 0x2b02b8ea */ 18518 L_2B02B8D3: 18519 /* cmp LO8(eax), 0xFFu */ /* 0x2B02B8D3: cmp al, 0xff */ 18520 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 18521 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 18522 _flag_k = FK_NARROW(FK_CMP, 24); 18523 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B02B8EA; /* 0x2B02B8D5: je 0x2b02b8ea */ 18524 L_2B02B8D7: 18525 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 18526 SET_LO8(eax, LO8(eax) - 1); /* 0x2B02B8D7: dec al */ 18527 _flag_k = FK_NARROW(FK_DEC, 24); 18528 MEM8(ecx + (-0x1)) = (uint8_t)(LO8(eax)); /* 0x2B02B8D9: mov byte ptr [ecx - 1], al */ 18529 ecx = MEM32(ebp + (-0xC)); /* 0x2B02B8DC: mov ecx, dword ptr [ebp - 0xc] */ 18530 MEM32(FS_BASE + (0)) = ecx; /* 0x2B02B8DF: mov dword ptr fs:[0], ecx */ 18531 esp = ebp; /* 0x2B02B8E6: mov esp, ebp */ 18532 ebp = POP32_VAL(esp); /* 0x2B02B8E8: pop ebp */ 18533 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B02B8E9: ret */ 18534 L_2B02B8EA: 18535 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 18536 ecx = ecx - 1; /* 0x2B02B8EA: dec ecx */ 18537 _flag_k = FK_DEC; 18538 PUSH32(esp, ecx); /* 0x2B02B8EB: push ecx */ 18539 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B02B8EC: call 0x2b0ab1ba */ /* not lifted */ 18540 RECOMP_FLAGS_IN(); 18541 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 18542 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 18543 esp = esp + 4; /* 0x2B02B8F1: add esp, 4 */ 18544 _flag_k = FK_ADD; 18545 L_2B02B8F4: 18546 ecx = MEM32(ebp + (-0xC)); /* 0x2B02B8F4: mov ecx, dword ptr [ebp - 0xc] */ 18547 MEM32(FS_BASE + (0)) = ecx; /* 0x2B02B8F7: mov dword ptr fs:[0], ecx */ 18548 esp = ebp; /* 0x2B02B8FE: mov esp, ebp */ 18549 ebp = POP32_VAL(esp); /* 0x2B02B900: pop ebp */ 18550 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B02B901: ret */ 18551 RECOMP_REGS_OUT(); 18552 } 18553 18554 void sub_2B02B910(void) { 18555 int _fpu_cmp = 0; 18556 uint32_t _cf = 0; 18557 int _df = 1; 18558 uint32_t _flag_k = FK_NONE; 18559 uint32_t _flag_a = 0, _flag_b = 0; 18560 uint32_t _itail_tgt = 0; 18561 RECOMP_REGS_LOCALS 18562 RECOMP_ENTER(0x2B02B910u); 18563 18564 L_2B02B910: 18565 _flag_a = (uint32_t)(0) << 24; _flag_b = (uint32_t)(0) << 24; 18566 SET_LO8(eax, 0); /* 0x2B02B910: xor al, al */ 18567 _cf = 0; 18568 _flag_k = FK_NARROW(FK_TEST, 24); 18569 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x2B02B912: ret 8 */ 18570 RECOMP_REGS_OUT(); 18571 }