client/game/ddr.dll/lifted-0052.c (176811B)
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_2B0ACC80(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(0x2B0ACC80u); 17 18 goto L_2B0ACC80; 19 L_2B04FF30: 20 PUSH32(esp, esi); /* 0x2B04FF30: push esi */ 21 esi = ecx; /* 0x2B04FF31: mov esi, ecx */ 22 eax = MEM32(esi + 0x4); /* 0x2B04FF33: mov eax, dword ptr [esi + 4] */ 23 /* test eax, eax */ /* 0x2B04FF36: test eax, eax */ 24 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 25 _cf = 0; 26 _flag_k = FK_TEST; 27 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04FF56; /* 0x2B04FF38: je 0x2b04ff56 */ 28 L_2B04FF3A: 29 ecx = eax + (-0x1); /* 0x2B04FF3A: lea ecx, [eax - 1] */ 30 SET_LO8(eax, MEM8(ecx)); /* 0x2B04FF3D: mov al, byte ptr [ecx] */ 31 /* test LO8(eax), LO8(eax) */ /* 0x2B04FF3F: test al, al */ 32 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 33 _cf = 0; 34 _flag_k = FK_NARROW(FK_TEST, 24); 35 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04FF4D; /* 0x2B04FF41: je 0x2b04ff4d */ 36 L_2B04FF43: 37 /* cmp LO8(eax), 0xFFu */ /* 0x2B04FF43: cmp al, 0xff */ 38 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 39 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 40 _flag_k = FK_NARROW(FK_CMP, 24); 41 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B04FF4D; /* 0x2B04FF45: je 0x2b04ff4d */ 42 L_2B04FF47: 43 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 44 SET_LO8(eax, LO8(eax) - 1); /* 0x2B04FF47: dec al */ 45 _flag_k = FK_NARROW(FK_DEC, 24); 46 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B04FF49: mov byte ptr [ecx], al */ 47 goto L_2B04FF56; /* 0x2B04FF4B: jmp 0x2b04ff56 */ 48 L_2B04FF4D: 49 PUSH32(esp, ecx); /* 0x2B04FF4D: push ecx */ 50 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B04FF4E: call 0x2b0ab1ba */ /* not lifted */ 51 RECOMP_FLAGS_IN(); 52 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 53 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 54 esp = esp + 4; /* 0x2B04FF53: add esp, 4 */ 55 _flag_k = FK_ADD; 56 L_2B04FF56: 57 MEM32(esi + 0x4) = 0; /* 0x2B04FF56: mov dword ptr [esi + 4], 0 */ 58 MEM32(esi + 0x8) = 0; /* 0x2B04FF5D: mov dword ptr [esi + 8], 0 */ 59 MEM32(esi + 0xC) = 0; /* 0x2B04FF64: mov dword ptr [esi + 0xc], 0 */ 60 esi = POP32_VAL(esp); /* 0x2B04FF6B: pop esi */ 61 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B04FF6C: ret */ 62 L_2B0ACC80: 63 ecx = ebp + (-0x24); /* 0x2B0ACC80: lea ecx, [ebp - 0x24] */ 64 RECOMP_BACKEDGE(); 65 goto L_2B04FF30; /* 0x2B0ACC83: jmp 0x2b04ff30 */ 66 { RECOMP_REGS_OUT(); return; } /* end of function */ 67 RECOMP_REGS_OUT(); 68 } 69 70 void sub_2B0ACC88(void) { 71 int _fpu_cmp = 0; 72 uint32_t _cf = 0; 73 int _df = 1; 74 uint32_t _flag_k = FK_NONE; 75 uint32_t _flag_a = 0, _flag_b = 0; 76 uint32_t _itail_tgt = 0; 77 RECOMP_REGS_LOCALS 78 RECOMP_ENTER(0x2B0ACC88u); 79 80 goto L_2B0ACC88; 81 L_2B0AB218: 82 { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; } 83 L_2B0ACC88: 84 eax = 0x2B0B9DC8u; /* 0x2B0ACC88: mov eax, 0x2b0b9dc8 */ 85 L_2B0ACC8D: 86 RECOMP_BACKEDGE(); 87 goto L_2B0AB218; /* 0x2B0ACC8D: jmp 0x2b0ab218 */ 88 { RECOMP_REGS_OUT(); return; } /* end of function */ 89 _ljump: 90 switch (_itail_tgt) { 91 case 0x2B0AB218u: goto L_2B0AB218; 92 case 0x2B0ACC88u: goto L_2B0ACC88; 93 case 0x2B0ACC8Du: goto L_2B0ACC8D; 94 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 95 } 96 RECOMP_REGS_OUT(); 97 } 98 99 void sub_2B0ACCA0(void) { 100 int _fpu_cmp = 0; 101 uint32_t _cf = 0; 102 int _df = 1; 103 uint32_t _flag_k = FK_NONE; 104 uint32_t _flag_a = 0, _flag_b = 0; 105 uint32_t _itail_tgt = 0; 106 RECOMP_REGS_LOCALS 107 RECOMP_ENTER(0x2B0ACCA0u); 108 109 goto L_2B0ACCA0; 110 L_2B04FF30: 111 PUSH32(esp, esi); /* 0x2B04FF30: push esi */ 112 esi = ecx; /* 0x2B04FF31: mov esi, ecx */ 113 eax = MEM32(esi + 0x4); /* 0x2B04FF33: mov eax, dword ptr [esi + 4] */ 114 /* test eax, eax */ /* 0x2B04FF36: test eax, eax */ 115 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 116 _cf = 0; 117 _flag_k = FK_TEST; 118 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04FF56; /* 0x2B04FF38: je 0x2b04ff56 */ 119 L_2B04FF3A: 120 ecx = eax + (-0x1); /* 0x2B04FF3A: lea ecx, [eax - 1] */ 121 SET_LO8(eax, MEM8(ecx)); /* 0x2B04FF3D: mov al, byte ptr [ecx] */ 122 /* test LO8(eax), LO8(eax) */ /* 0x2B04FF3F: test al, al */ 123 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 124 _cf = 0; 125 _flag_k = FK_NARROW(FK_TEST, 24); 126 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04FF4D; /* 0x2B04FF41: je 0x2b04ff4d */ 127 L_2B04FF43: 128 /* cmp LO8(eax), 0xFFu */ /* 0x2B04FF43: cmp al, 0xff */ 129 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 130 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 131 _flag_k = FK_NARROW(FK_CMP, 24); 132 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B04FF4D; /* 0x2B04FF45: je 0x2b04ff4d */ 133 L_2B04FF47: 134 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 135 SET_LO8(eax, LO8(eax) - 1); /* 0x2B04FF47: dec al */ 136 _flag_k = FK_NARROW(FK_DEC, 24); 137 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B04FF49: mov byte ptr [ecx], al */ 138 goto L_2B04FF56; /* 0x2B04FF4B: jmp 0x2b04ff56 */ 139 L_2B04FF4D: 140 PUSH32(esp, ecx); /* 0x2B04FF4D: push ecx */ 141 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B04FF4E: call 0x2b0ab1ba */ /* not lifted */ 142 RECOMP_FLAGS_IN(); 143 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 144 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 145 esp = esp + 4; /* 0x2B04FF53: add esp, 4 */ 146 _flag_k = FK_ADD; 147 L_2B04FF56: 148 MEM32(esi + 0x4) = 0; /* 0x2B04FF56: mov dword ptr [esi + 4], 0 */ 149 MEM32(esi + 0x8) = 0; /* 0x2B04FF5D: mov dword ptr [esi + 8], 0 */ 150 MEM32(esi + 0xC) = 0; /* 0x2B04FF64: mov dword ptr [esi + 0xc], 0 */ 151 esi = POP32_VAL(esp); /* 0x2B04FF6B: pop esi */ 152 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B04FF6C: ret */ 153 L_2B0ACCA0: 154 ecx = ebp + 0x3C; /* 0x2B0ACCA0: lea ecx, [ebp + 0x3c] */ 155 RECOMP_BACKEDGE(); 156 goto L_2B04FF30; /* 0x2B0ACCA3: jmp 0x2b04ff30 */ 157 { RECOMP_REGS_OUT(); return; } /* end of function */ 158 RECOMP_REGS_OUT(); 159 } 160 161 void sub_2B0ACCA8(void) { 162 int _fpu_cmp = 0; 163 uint32_t _cf = 0; 164 int _df = 1; 165 uint32_t _flag_k = FK_NONE; 166 uint32_t _flag_a = 0, _flag_b = 0; 167 uint32_t _itail_tgt = 0; 168 RECOMP_REGS_LOCALS 169 RECOMP_ENTER(0x2B0ACCA8u); 170 171 goto L_2B0ACCA8; 172 L_2B04FF30: 173 PUSH32(esp, esi); /* 0x2B04FF30: push esi */ 174 esi = ecx; /* 0x2B04FF31: mov esi, ecx */ 175 eax = MEM32(esi + 0x4); /* 0x2B04FF33: mov eax, dword ptr [esi + 4] */ 176 /* test eax, eax */ /* 0x2B04FF36: test eax, eax */ 177 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 178 _cf = 0; 179 _flag_k = FK_TEST; 180 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04FF56; /* 0x2B04FF38: je 0x2b04ff56 */ 181 L_2B04FF3A: 182 ecx = eax + (-0x1); /* 0x2B04FF3A: lea ecx, [eax - 1] */ 183 SET_LO8(eax, MEM8(ecx)); /* 0x2B04FF3D: mov al, byte ptr [ecx] */ 184 /* test LO8(eax), LO8(eax) */ /* 0x2B04FF3F: test al, al */ 185 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 186 _cf = 0; 187 _flag_k = FK_NARROW(FK_TEST, 24); 188 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04FF4D; /* 0x2B04FF41: je 0x2b04ff4d */ 189 L_2B04FF43: 190 /* cmp LO8(eax), 0xFFu */ /* 0x2B04FF43: cmp al, 0xff */ 191 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 192 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 193 _flag_k = FK_NARROW(FK_CMP, 24); 194 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B04FF4D; /* 0x2B04FF45: je 0x2b04ff4d */ 195 L_2B04FF47: 196 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 197 SET_LO8(eax, LO8(eax) - 1); /* 0x2B04FF47: dec al */ 198 _flag_k = FK_NARROW(FK_DEC, 24); 199 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B04FF49: mov byte ptr [ecx], al */ 200 goto L_2B04FF56; /* 0x2B04FF4B: jmp 0x2b04ff56 */ 201 L_2B04FF4D: 202 PUSH32(esp, ecx); /* 0x2B04FF4D: push ecx */ 203 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B04FF4E: call 0x2b0ab1ba */ /* not lifted */ 204 RECOMP_FLAGS_IN(); 205 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 206 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 207 esp = esp + 4; /* 0x2B04FF53: add esp, 4 */ 208 _flag_k = FK_ADD; 209 L_2B04FF56: 210 MEM32(esi + 0x4) = 0; /* 0x2B04FF56: mov dword ptr [esi + 4], 0 */ 211 MEM32(esi + 0x8) = 0; /* 0x2B04FF5D: mov dword ptr [esi + 8], 0 */ 212 MEM32(esi + 0xC) = 0; /* 0x2B04FF64: mov dword ptr [esi + 0xc], 0 */ 213 esi = POP32_VAL(esp); /* 0x2B04FF6B: pop esi */ 214 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B04FF6C: ret */ 215 L_2B0ACCA8: 216 ecx = ebp + 0x24; /* 0x2B0ACCA8: lea ecx, [ebp + 0x24] */ 217 RECOMP_BACKEDGE(); 218 goto L_2B04FF30; /* 0x2B0ACCAB: jmp 0x2b04ff30 */ 219 { RECOMP_REGS_OUT(); return; } /* end of function */ 220 RECOMP_REGS_OUT(); 221 } 222 223 void sub_2B0ACCB0(void) { 224 int _fpu_cmp = 0; 225 uint32_t _cf = 0; 226 int _df = 1; 227 uint32_t _flag_k = FK_NONE; 228 uint32_t _flag_a = 0, _flag_b = 0; 229 uint32_t _itail_tgt = 0; 230 RECOMP_REGS_LOCALS 231 RECOMP_ENTER(0x2B0ACCB0u); 232 233 goto L_2B0ACCB0; 234 L_2B04FF30: 235 PUSH32(esp, esi); /* 0x2B04FF30: push esi */ 236 esi = ecx; /* 0x2B04FF31: mov esi, ecx */ 237 eax = MEM32(esi + 0x4); /* 0x2B04FF33: mov eax, dword ptr [esi + 4] */ 238 /* test eax, eax */ /* 0x2B04FF36: test eax, eax */ 239 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 240 _cf = 0; 241 _flag_k = FK_TEST; 242 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04FF56; /* 0x2B04FF38: je 0x2b04ff56 */ 243 L_2B04FF3A: 244 ecx = eax + (-0x1); /* 0x2B04FF3A: lea ecx, [eax - 1] */ 245 SET_LO8(eax, MEM8(ecx)); /* 0x2B04FF3D: mov al, byte ptr [ecx] */ 246 /* test LO8(eax), LO8(eax) */ /* 0x2B04FF3F: test al, al */ 247 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 248 _cf = 0; 249 _flag_k = FK_NARROW(FK_TEST, 24); 250 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04FF4D; /* 0x2B04FF41: je 0x2b04ff4d */ 251 L_2B04FF43: 252 /* cmp LO8(eax), 0xFFu */ /* 0x2B04FF43: cmp al, 0xff */ 253 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 254 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 255 _flag_k = FK_NARROW(FK_CMP, 24); 256 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B04FF4D; /* 0x2B04FF45: je 0x2b04ff4d */ 257 L_2B04FF47: 258 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 259 SET_LO8(eax, LO8(eax) - 1); /* 0x2B04FF47: dec al */ 260 _flag_k = FK_NARROW(FK_DEC, 24); 261 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B04FF49: mov byte ptr [ecx], al */ 262 goto L_2B04FF56; /* 0x2B04FF4B: jmp 0x2b04ff56 */ 263 L_2B04FF4D: 264 PUSH32(esp, ecx); /* 0x2B04FF4D: push ecx */ 265 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B04FF4E: call 0x2b0ab1ba */ /* not lifted */ 266 RECOMP_FLAGS_IN(); 267 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 268 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 269 esp = esp + 4; /* 0x2B04FF53: add esp, 4 */ 270 _flag_k = FK_ADD; 271 L_2B04FF56: 272 MEM32(esi + 0x4) = 0; /* 0x2B04FF56: mov dword ptr [esi + 4], 0 */ 273 MEM32(esi + 0x8) = 0; /* 0x2B04FF5D: mov dword ptr [esi + 8], 0 */ 274 MEM32(esi + 0xC) = 0; /* 0x2B04FF64: mov dword ptr [esi + 0xc], 0 */ 275 esi = POP32_VAL(esp); /* 0x2B04FF6B: pop esi */ 276 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B04FF6C: ret */ 277 L_2B0ACCB0: 278 ecx = ebp + 0xC; /* 0x2B0ACCB0: lea ecx, [ebp + 0xc] */ 279 RECOMP_BACKEDGE(); 280 goto L_2B04FF30; /* 0x2B0ACCB3: jmp 0x2b04ff30 */ 281 { RECOMP_REGS_OUT(); return; } /* end of function */ 282 RECOMP_REGS_OUT(); 283 } 284 285 void sub_2B0ACCB8(void) { 286 int _fpu_cmp = 0; 287 uint32_t _cf = 0; 288 int _df = 1; 289 uint32_t _flag_k = FK_NONE; 290 uint32_t _flag_a = 0, _flag_b = 0; 291 uint32_t _itail_tgt = 0; 292 RECOMP_REGS_LOCALS 293 RECOMP_ENTER(0x2B0ACCB8u); 294 295 goto L_2B0ACCB8; 296 L_2B04FF30: 297 PUSH32(esp, esi); /* 0x2B04FF30: push esi */ 298 esi = ecx; /* 0x2B04FF31: mov esi, ecx */ 299 eax = MEM32(esi + 0x4); /* 0x2B04FF33: mov eax, dword ptr [esi + 4] */ 300 /* test eax, eax */ /* 0x2B04FF36: test eax, eax */ 301 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 302 _cf = 0; 303 _flag_k = FK_TEST; 304 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04FF56; /* 0x2B04FF38: je 0x2b04ff56 */ 305 L_2B04FF3A: 306 ecx = eax + (-0x1); /* 0x2B04FF3A: lea ecx, [eax - 1] */ 307 SET_LO8(eax, MEM8(ecx)); /* 0x2B04FF3D: mov al, byte ptr [ecx] */ 308 /* test LO8(eax), LO8(eax) */ /* 0x2B04FF3F: test al, al */ 309 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 310 _cf = 0; 311 _flag_k = FK_NARROW(FK_TEST, 24); 312 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04FF4D; /* 0x2B04FF41: je 0x2b04ff4d */ 313 L_2B04FF43: 314 /* cmp LO8(eax), 0xFFu */ /* 0x2B04FF43: cmp al, 0xff */ 315 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 316 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 317 _flag_k = FK_NARROW(FK_CMP, 24); 318 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B04FF4D; /* 0x2B04FF45: je 0x2b04ff4d */ 319 L_2B04FF47: 320 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 321 SET_LO8(eax, LO8(eax) - 1); /* 0x2B04FF47: dec al */ 322 _flag_k = FK_NARROW(FK_DEC, 24); 323 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B04FF49: mov byte ptr [ecx], al */ 324 goto L_2B04FF56; /* 0x2B04FF4B: jmp 0x2b04ff56 */ 325 L_2B04FF4D: 326 PUSH32(esp, ecx); /* 0x2B04FF4D: push ecx */ 327 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B04FF4E: call 0x2b0ab1ba */ /* not lifted */ 328 RECOMP_FLAGS_IN(); 329 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 330 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 331 esp = esp + 4; /* 0x2B04FF53: add esp, 4 */ 332 _flag_k = FK_ADD; 333 L_2B04FF56: 334 MEM32(esi + 0x4) = 0; /* 0x2B04FF56: mov dword ptr [esi + 4], 0 */ 335 MEM32(esi + 0x8) = 0; /* 0x2B04FF5D: mov dword ptr [esi + 8], 0 */ 336 MEM32(esi + 0xC) = 0; /* 0x2B04FF64: mov dword ptr [esi + 0xc], 0 */ 337 esi = POP32_VAL(esp); /* 0x2B04FF6B: pop esi */ 338 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B04FF6C: ret */ 339 L_2B0ACCB8: 340 eax = MEM32(ebp + (-0x10)); /* 0x2B0ACCB8: mov eax, dword ptr [ebp - 0x10] */ 341 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 342 eax = eax & 1; /* 0x2B0ACCBB: and eax, 1 */ 343 _cf = 0; 344 _flag_k = FK_TEST; 345 /* test eax, eax */ /* 0x2B0ACCBE: test eax, eax */ 346 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 347 _cf = 0; 348 _flag_k = FK_TEST; 349 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0ACCCE; /* 0x2B0ACCC0: je 0x2b0accce */ 350 L_2B0ACCC6: 351 ecx = MEM32(ebp + 0x8); /* 0x2B0ACCC6: mov ecx, dword ptr [ebp + 8] */ 352 RECOMP_BACKEDGE(); 353 goto L_2B04FF30; /* 0x2B0ACCC9: jmp 0x2b04ff30 */ 354 L_2B0ACCCE: 355 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0ACCCE: ret */ 356 RECOMP_REGS_OUT(); 357 } 358 359 void sub_2B0ACCCF(void) { 360 int _fpu_cmp = 0; 361 uint32_t _cf = 0; 362 int _df = 1; 363 uint32_t _flag_k = FK_NONE; 364 uint32_t _flag_a = 0, _flag_b = 0; 365 uint32_t _itail_tgt = 0; 366 RECOMP_REGS_LOCALS 367 RECOMP_ENTER(0x2B0ACCCFu); 368 369 goto L_2B0ACCCF; 370 L_2B0AB218: 371 { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; } 372 L_2B0ACCCF: 373 eax = 0x2B0B9DF0u; /* 0x2B0ACCCF: mov eax, 0x2b0b9df0 */ 374 L_2B0ACCD4: 375 RECOMP_BACKEDGE(); 376 goto L_2B0AB218; /* 0x2B0ACCD4: jmp 0x2b0ab218 */ 377 { RECOMP_REGS_OUT(); return; } /* end of function */ 378 _ljump: 379 switch (_itail_tgt) { 380 case 0x2B0AB218u: goto L_2B0AB218; 381 case 0x2B0ACCCFu: goto L_2B0ACCCF; 382 case 0x2B0ACCD4u: goto L_2B0ACCD4; 383 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 384 } 385 RECOMP_REGS_OUT(); 386 } 387 388 void sub_2B0ACCE0(void) { 389 int _fpu_cmp = 0; 390 uint32_t _cf = 0; 391 int _df = 1; 392 uint32_t _flag_k = FK_NONE; 393 uint32_t _flag_a = 0, _flag_b = 0; 394 uint32_t _itail_tgt = 0; 395 RECOMP_REGS_LOCALS 396 RECOMP_ENTER(0x2B0ACCE0u); 397 398 goto L_2B0ACCE0; 399 L_2B04FF30: 400 PUSH32(esp, esi); /* 0x2B04FF30: push esi */ 401 esi = ecx; /* 0x2B04FF31: mov esi, ecx */ 402 eax = MEM32(esi + 0x4); /* 0x2B04FF33: mov eax, dword ptr [esi + 4] */ 403 /* test eax, eax */ /* 0x2B04FF36: test eax, eax */ 404 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 405 _cf = 0; 406 _flag_k = FK_TEST; 407 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04FF56; /* 0x2B04FF38: je 0x2b04ff56 */ 408 L_2B04FF3A: 409 ecx = eax + (-0x1); /* 0x2B04FF3A: lea ecx, [eax - 1] */ 410 SET_LO8(eax, MEM8(ecx)); /* 0x2B04FF3D: mov al, byte ptr [ecx] */ 411 /* test LO8(eax), LO8(eax) */ /* 0x2B04FF3F: test al, al */ 412 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 413 _cf = 0; 414 _flag_k = FK_NARROW(FK_TEST, 24); 415 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04FF4D; /* 0x2B04FF41: je 0x2b04ff4d */ 416 L_2B04FF43: 417 /* cmp LO8(eax), 0xFFu */ /* 0x2B04FF43: cmp al, 0xff */ 418 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 419 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 420 _flag_k = FK_NARROW(FK_CMP, 24); 421 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B04FF4D; /* 0x2B04FF45: je 0x2b04ff4d */ 422 L_2B04FF47: 423 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 424 SET_LO8(eax, LO8(eax) - 1); /* 0x2B04FF47: dec al */ 425 _flag_k = FK_NARROW(FK_DEC, 24); 426 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B04FF49: mov byte ptr [ecx], al */ 427 goto L_2B04FF56; /* 0x2B04FF4B: jmp 0x2b04ff56 */ 428 L_2B04FF4D: 429 PUSH32(esp, ecx); /* 0x2B04FF4D: push ecx */ 430 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B04FF4E: call 0x2b0ab1ba */ /* not lifted */ 431 RECOMP_FLAGS_IN(); 432 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 433 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 434 esp = esp + 4; /* 0x2B04FF53: add esp, 4 */ 435 _flag_k = FK_ADD; 436 L_2B04FF56: 437 MEM32(esi + 0x4) = 0; /* 0x2B04FF56: mov dword ptr [esi + 4], 0 */ 438 MEM32(esi + 0x8) = 0; /* 0x2B04FF5D: mov dword ptr [esi + 8], 0 */ 439 MEM32(esi + 0xC) = 0; /* 0x2B04FF64: mov dword ptr [esi + 0xc], 0 */ 440 esi = POP32_VAL(esp); /* 0x2B04FF6B: pop esi */ 441 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B04FF6C: ret */ 442 L_2B0ACCE0: 443 ecx = ebp + 0x10; /* 0x2B0ACCE0: lea ecx, [ebp + 0x10] */ 444 RECOMP_BACKEDGE(); 445 goto L_2B04FF30; /* 0x2B0ACCE3: jmp 0x2b04ff30 */ 446 { RECOMP_REGS_OUT(); return; } /* end of function */ 447 RECOMP_REGS_OUT(); 448 } 449 450 void sub_2B0ACCE8(void) { 451 int _fpu_cmp = 0; 452 uint32_t _cf = 0; 453 int _df = 1; 454 uint32_t _flag_k = FK_NONE; 455 uint32_t _flag_a = 0, _flag_b = 0; 456 uint32_t _itail_tgt = 0; 457 RECOMP_REGS_LOCALS 458 RECOMP_ENTER(0x2B0ACCE8u); 459 460 goto L_2B0ACCE8; 461 L_2B04FF30: 462 PUSH32(esp, esi); /* 0x2B04FF30: push esi */ 463 esi = ecx; /* 0x2B04FF31: mov esi, ecx */ 464 eax = MEM32(esi + 0x4); /* 0x2B04FF33: mov eax, dword ptr [esi + 4] */ 465 /* test eax, eax */ /* 0x2B04FF36: test eax, eax */ 466 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 467 _cf = 0; 468 _flag_k = FK_TEST; 469 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04FF56; /* 0x2B04FF38: je 0x2b04ff56 */ 470 L_2B04FF3A: 471 ecx = eax + (-0x1); /* 0x2B04FF3A: lea ecx, [eax - 1] */ 472 SET_LO8(eax, MEM8(ecx)); /* 0x2B04FF3D: mov al, byte ptr [ecx] */ 473 /* test LO8(eax), LO8(eax) */ /* 0x2B04FF3F: test al, al */ 474 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 475 _cf = 0; 476 _flag_k = FK_NARROW(FK_TEST, 24); 477 if (TEST_Z(_flag_a, _flag_b)) goto L_2B04FF4D; /* 0x2B04FF41: je 0x2b04ff4d */ 478 L_2B04FF43: 479 /* cmp LO8(eax), 0xFFu */ /* 0x2B04FF43: cmp al, 0xff */ 480 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 481 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 482 _flag_k = FK_NARROW(FK_CMP, 24); 483 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B04FF4D; /* 0x2B04FF45: je 0x2b04ff4d */ 484 L_2B04FF47: 485 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 486 SET_LO8(eax, LO8(eax) - 1); /* 0x2B04FF47: dec al */ 487 _flag_k = FK_NARROW(FK_DEC, 24); 488 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B04FF49: mov byte ptr [ecx], al */ 489 goto L_2B04FF56; /* 0x2B04FF4B: jmp 0x2b04ff56 */ 490 L_2B04FF4D: 491 PUSH32(esp, ecx); /* 0x2B04FF4D: push ecx */ 492 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B04FF4E: call 0x2b0ab1ba */ /* not lifted */ 493 RECOMP_FLAGS_IN(); 494 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 495 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 496 esp = esp + 4; /* 0x2B04FF53: add esp, 4 */ 497 _flag_k = FK_ADD; 498 L_2B04FF56: 499 MEM32(esi + 0x4) = 0; /* 0x2B04FF56: mov dword ptr [esi + 4], 0 */ 500 MEM32(esi + 0x8) = 0; /* 0x2B04FF5D: mov dword ptr [esi + 8], 0 */ 501 MEM32(esi + 0xC) = 0; /* 0x2B04FF64: mov dword ptr [esi + 0xc], 0 */ 502 esi = POP32_VAL(esp); /* 0x2B04FF6B: pop esi */ 503 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B04FF6C: ret */ 504 L_2B0ACCE8: 505 ecx = ebp + (-0x24); /* 0x2B0ACCE8: lea ecx, [ebp - 0x24] */ 506 RECOMP_BACKEDGE(); 507 goto L_2B04FF30; /* 0x2B0ACCEB: jmp 0x2b04ff30 */ 508 { RECOMP_REGS_OUT(); return; } /* end of function */ 509 RECOMP_REGS_OUT(); 510 } 511 512 void sub_2B0ACCF0(void) { 513 int _fpu_cmp = 0; 514 uint32_t _cf = 0; 515 int _df = 1; 516 uint32_t _flag_k = FK_NONE; 517 uint32_t _flag_a = 0, _flag_b = 0; 518 uint32_t _itail_tgt = 0; 519 RECOMP_REGS_LOCALS 520 RECOMP_ENTER(0x2B0ACCF0u); 521 522 goto L_2B0ACCF0; 523 L_2B0AB218: 524 { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; } 525 L_2B0ACCF0: 526 eax = 0x2B0B9E30u; /* 0x2B0ACCF0: mov eax, 0x2b0b9e30 */ 527 L_2B0ACCF5: 528 RECOMP_BACKEDGE(); 529 goto L_2B0AB218; /* 0x2B0ACCF5: jmp 0x2b0ab218 */ 530 { RECOMP_REGS_OUT(); return; } /* end of function */ 531 _ljump: 532 switch (_itail_tgt) { 533 case 0x2B0AB218u: goto L_2B0AB218; 534 case 0x2B0ACCF0u: goto L_2B0ACCF0; 535 case 0x2B0ACCF5u: goto L_2B0ACCF5; 536 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 537 } 538 RECOMP_REGS_OUT(); 539 } 540 541 void sub_2B0ACD00(void) { 542 int _fpu_cmp = 0; 543 uint32_t _cf = 0; 544 int _df = 1; 545 uint32_t _flag_k = FK_NONE; 546 uint32_t _flag_a = 0, _flag_b = 0; 547 uint32_t _itail_tgt = 0; 548 RECOMP_REGS_LOCALS 549 RECOMP_ENTER(0x2B0ACD00u); 550 551 L_2B0ACD00: 552 eax = MEM32(ebp + (-0x10)); /* 0x2B0ACD00: mov eax, dword ptr [ebp - 0x10] */ 553 PUSH32(esp, eax); /* 0x2B0ACD03: push eax */ 554 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0ACD04: call 0x2b0ab1ba */ /* not lifted */ 555 RECOMP_FLAGS_IN(); 556 ecx = POP32_VAL(esp); /* 0x2B0ACD09: pop ecx */ 557 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0ACD0A: ret */ 558 RECOMP_REGS_OUT(); 559 } 560 561 void sub_2B0ACD0B(void) { 562 int _fpu_cmp = 0; 563 uint32_t _cf = 0; 564 int _df = 1; 565 uint32_t _flag_k = FK_NONE; 566 uint32_t _flag_a = 0, _flag_b = 0; 567 uint32_t _itail_tgt = 0; 568 RECOMP_REGS_LOCALS 569 RECOMP_ENTER(0x2B0ACD0Bu); 570 571 goto L_2B0ACD0B; 572 L_2B0AB218: 573 { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; } 574 L_2B0ACD0B: 575 eax = 0x2B0B9E60u; /* 0x2B0ACD0B: mov eax, 0x2b0b9e60 */ 576 L_2B0ACD10: 577 RECOMP_BACKEDGE(); 578 goto L_2B0AB218; /* 0x2B0ACD10: jmp 0x2b0ab218 */ 579 { RECOMP_REGS_OUT(); return; } /* end of function */ 580 _ljump: 581 switch (_itail_tgt) { 582 case 0x2B0AB218u: goto L_2B0AB218; 583 case 0x2B0ACD0Bu: goto L_2B0ACD0B; 584 case 0x2B0ACD10u: goto L_2B0ACD10; 585 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 586 } 587 RECOMP_REGS_OUT(); 588 } 589 590 void sub_2B0ACD20(void) { 591 int _fpu_cmp = 0; 592 uint32_t _cf = 0; 593 int _df = 1; 594 uint32_t _flag_k = FK_NONE; 595 uint32_t _flag_a = 0, _flag_b = 0; 596 uint32_t _itail_tgt = 0; 597 RECOMP_REGS_LOCALS 598 RECOMP_ENTER(0x2B0ACD20u); 599 600 L_2B0ACD20: 601 eax = MEM32(ebp + (-0x10)); /* 0x2B0ACD20: mov eax, dword ptr [ebp - 0x10] */ 602 PUSH32(esp, eax); /* 0x2B0ACD23: push eax */ 603 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0ACD24: call 0x2b0ab1ba */ /* not lifted */ 604 RECOMP_FLAGS_IN(); 605 ecx = POP32_VAL(esp); /* 0x2B0ACD29: pop ecx */ 606 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0ACD2A: ret */ 607 RECOMP_REGS_OUT(); 608 } 609 610 void sub_2B0ACD2B(void) { 611 int _fpu_cmp = 0; 612 uint32_t _cf = 0; 613 int _df = 1; 614 uint32_t _flag_k = FK_NONE; 615 uint32_t _flag_a = 0, _flag_b = 0; 616 uint32_t _itail_tgt = 0; 617 RECOMP_REGS_LOCALS 618 RECOMP_ENTER(0x2B0ACD2Bu); 619 620 goto L_2B0ACD2B; 621 L_2B0AB218: 622 { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; } 623 L_2B0ACD2B: 624 eax = 0x2B0B9E88u; /* 0x2B0ACD2B: mov eax, 0x2b0b9e88 */ 625 L_2B0ACD30: 626 RECOMP_BACKEDGE(); 627 goto L_2B0AB218; /* 0x2B0ACD30: jmp 0x2b0ab218 */ 628 { RECOMP_REGS_OUT(); return; } /* end of function */ 629 _ljump: 630 switch (_itail_tgt) { 631 case 0x2B0AB218u: goto L_2B0AB218; 632 case 0x2B0ACD2Bu: goto L_2B0ACD2B; 633 case 0x2B0ACD30u: goto L_2B0ACD30; 634 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 635 } 636 RECOMP_REGS_OUT(); 637 } 638 639 void sub_2B0ACD40(void) { 640 int _fpu_cmp = 0; 641 uint32_t _cf = 0; 642 int _df = 1; 643 uint32_t _flag_k = FK_NONE; 644 uint32_t _flag_a = 0, _flag_b = 0; 645 uint32_t _itail_tgt = 0; 646 RECOMP_REGS_LOCALS 647 RECOMP_ENTER(0x2B0ACD40u); 648 649 L_2B0ACD40: 650 ecx = ebp + (-0x2C); /* 0x2B0ACD40: lea ecx, [ebp - 0x2c] */ 651 L_2B0ACD43: 652 { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; } 653 { RECOMP_REGS_OUT(); return; } /* end of function */ 654 _ljump: 655 switch (_itail_tgt) { 656 case 0x2B0ACD40u: goto L_2B0ACD40; 657 case 0x2B0ACD43u: goto L_2B0ACD43; 658 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 659 } 660 RECOMP_REGS_OUT(); 661 } 662 663 void sub_2B0ACD49(void) { 664 int _fpu_cmp = 0; 665 uint32_t _cf = 0; 666 int _df = 1; 667 uint32_t _flag_k = FK_NONE; 668 uint32_t _flag_a = 0, _flag_b = 0; 669 uint32_t _itail_tgt = 0; 670 RECOMP_REGS_LOCALS 671 RECOMP_ENTER(0x2B0ACD49u); 672 673 L_2B0ACD49: 674 ecx = ebp + (-0x2C); /* 0x2B0ACD49: lea ecx, [ebp - 0x2c] */ 675 L_2B0ACD4C: 676 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 677 { RECOMP_REGS_OUT(); return; } /* end of function */ 678 _ljump: 679 switch (_itail_tgt) { 680 case 0x2B0ACD49u: goto L_2B0ACD49; 681 case 0x2B0ACD4Cu: goto L_2B0ACD4C; 682 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 683 } 684 RECOMP_REGS_OUT(); 685 } 686 687 void sub_2B0ACD52(void) { 688 int _fpu_cmp = 0; 689 uint32_t _cf = 0; 690 int _df = 1; 691 uint32_t _flag_k = FK_NONE; 692 uint32_t _flag_a = 0, _flag_b = 0; 693 uint32_t _itail_tgt = 0; 694 RECOMP_REGS_LOCALS 695 RECOMP_ENTER(0x2B0ACD52u); 696 697 L_2B0ACD52: 698 ecx = MEM32(ebp + (-0x18)); /* 0x2B0ACD52: mov ecx, dword ptr [ebp - 0x18] */ 699 L_2B0ACD55: 700 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu); 701 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 702 ecx = ecx + 0xCu; /* 0x2B0ACD55: add ecx, 0xc */ 703 _flag_k = FK_ADD; 704 L_2B0ACD58: 705 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 706 { RECOMP_REGS_OUT(); return; } /* end of function */ 707 _ljump: 708 switch (_itail_tgt) { 709 case 0x2B0ACD52u: goto L_2B0ACD52; 710 case 0x2B0ACD55u: goto L_2B0ACD55; 711 case 0x2B0ACD58u: goto L_2B0ACD58; 712 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 713 } 714 RECOMP_REGS_OUT(); 715 } 716 717 void sub_2B0ACD5E(void) { 718 int _fpu_cmp = 0; 719 uint32_t _cf = 0; 720 int _df = 1; 721 uint32_t _flag_k = FK_NONE; 722 uint32_t _flag_a = 0, _flag_b = 0; 723 uint32_t _itail_tgt = 0; 724 RECOMP_REGS_LOCALS 725 RECOMP_ENTER(0x2B0ACD5Eu); 726 727 goto L_2B0ACD5E; 728 L_2B0AB218: 729 { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; } 730 L_2B0ACD5E: 731 eax = 0x2B0B9EB0u; /* 0x2B0ACD5E: mov eax, 0x2b0b9eb0 */ 732 L_2B0ACD63: 733 RECOMP_BACKEDGE(); 734 goto L_2B0AB218; /* 0x2B0ACD63: jmp 0x2b0ab218 */ 735 { RECOMP_REGS_OUT(); return; } /* end of function */ 736 _ljump: 737 switch (_itail_tgt) { 738 case 0x2B0AB218u: goto L_2B0AB218; 739 case 0x2B0ACD5Eu: goto L_2B0ACD5E; 740 case 0x2B0ACD63u: goto L_2B0ACD63; 741 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 742 } 743 RECOMP_REGS_OUT(); 744 } 745 746 void sub_2B0ACD70(void) { 747 int _fpu_cmp = 0; 748 uint32_t _cf = 0; 749 int _df = 1; 750 uint32_t _flag_k = FK_NONE; 751 uint32_t _flag_a = 0, _flag_b = 0; 752 uint32_t _itail_tgt = 0; 753 RECOMP_REGS_LOCALS 754 RECOMP_ENTER(0x2B0ACD70u); 755 756 L_2B0ACD70: 757 ecx = ebp + (-0x28); /* 0x2B0ACD70: lea ecx, [ebp - 0x28] */ 758 L_2B0ACD73: 759 { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; } 760 { RECOMP_REGS_OUT(); return; } /* end of function */ 761 _ljump: 762 switch (_itail_tgt) { 763 case 0x2B0ACD70u: goto L_2B0ACD70; 764 case 0x2B0ACD73u: goto L_2B0ACD73; 765 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 766 } 767 RECOMP_REGS_OUT(); 768 } 769 770 void sub_2B0ACD79(void) { 771 int _fpu_cmp = 0; 772 uint32_t _cf = 0; 773 int _df = 1; 774 uint32_t _flag_k = FK_NONE; 775 uint32_t _flag_a = 0, _flag_b = 0; 776 uint32_t _itail_tgt = 0; 777 RECOMP_REGS_LOCALS 778 RECOMP_ENTER(0x2B0ACD79u); 779 780 L_2B0ACD79: 781 ecx = ebp + (-0x28); /* 0x2B0ACD79: lea ecx, [ebp - 0x28] */ 782 L_2B0ACD7C: 783 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 784 { RECOMP_REGS_OUT(); return; } /* end of function */ 785 _ljump: 786 switch (_itail_tgt) { 787 case 0x2B0ACD79u: goto L_2B0ACD79; 788 case 0x2B0ACD7Cu: goto L_2B0ACD7C; 789 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 790 } 791 RECOMP_REGS_OUT(); 792 } 793 794 void sub_2B0ACD82(void) { 795 int _fpu_cmp = 0; 796 uint32_t _cf = 0; 797 int _df = 1; 798 uint32_t _flag_k = FK_NONE; 799 uint32_t _flag_a = 0, _flag_b = 0; 800 uint32_t _itail_tgt = 0; 801 RECOMP_REGS_LOCALS 802 RECOMP_ENTER(0x2B0ACD82u); 803 804 L_2B0ACD82: 805 ecx = MEM32(ebp + (-0x14)); /* 0x2B0ACD82: mov ecx, dword ptr [ebp - 0x14] */ 806 L_2B0ACD85: 807 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu); 808 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 809 ecx = ecx + 0xCu; /* 0x2B0ACD85: add ecx, 0xc */ 810 _flag_k = FK_ADD; 811 L_2B0ACD88: 812 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 813 { RECOMP_REGS_OUT(); return; } /* end of function */ 814 _ljump: 815 switch (_itail_tgt) { 816 case 0x2B0ACD82u: goto L_2B0ACD82; 817 case 0x2B0ACD85u: goto L_2B0ACD85; 818 case 0x2B0ACD88u: goto L_2B0ACD88; 819 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 820 } 821 RECOMP_REGS_OUT(); 822 } 823 824 void sub_2B0ACD8E(void) { 825 int _fpu_cmp = 0; 826 uint32_t _cf = 0; 827 int _df = 1; 828 uint32_t _flag_k = FK_NONE; 829 uint32_t _flag_a = 0, _flag_b = 0; 830 uint32_t _itail_tgt = 0; 831 RECOMP_REGS_LOCALS 832 RECOMP_ENTER(0x2B0ACD8Eu); 833 834 goto L_2B0ACD8E; 835 L_2B0AB218: 836 { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; } 837 L_2B0ACD8E: 838 eax = 0x2B0B9EE8u; /* 0x2B0ACD8E: mov eax, 0x2b0b9ee8 */ 839 L_2B0ACD93: 840 RECOMP_BACKEDGE(); 841 goto L_2B0AB218; /* 0x2B0ACD93: jmp 0x2b0ab218 */ 842 { RECOMP_REGS_OUT(); return; } /* end of function */ 843 _ljump: 844 switch (_itail_tgt) { 845 case 0x2B0AB218u: goto L_2B0AB218; 846 case 0x2B0ACD8Eu: goto L_2B0ACD8E; 847 case 0x2B0ACD93u: goto L_2B0ACD93; 848 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 849 } 850 RECOMP_REGS_OUT(); 851 } 852 853 void sub_2B0ACDA0(void) { 854 int _fpu_cmp = 0; 855 uint32_t _cf = 0; 856 int _df = 1; 857 uint32_t _flag_k = FK_NONE; 858 uint32_t _flag_a = 0, _flag_b = 0; 859 uint32_t _itail_tgt = 0; 860 RECOMP_REGS_LOCALS 861 RECOMP_ENTER(0x2B0ACDA0u); 862 863 goto L_2B0ACDA0; 864 L_2B017260: 865 PUSH32(esp, ebp); /* 0x2B017260: push ebp */ 866 ebp = esp; /* 0x2B017261: mov ebp, esp */ 867 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 868 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 869 esp = esp - 8; /* 0x2B017263: sub esp, 8 */ 870 _flag_k = FK_CMP; 871 PUSH32(esp, ebx); /* 0x2B017266: push ebx */ 872 PUSH32(esp, esi); /* 0x2B017267: push esi */ 873 esi = ecx; /* 0x2B017268: mov esi, ecx */ 874 ecx = MEM32(esi + 0x10); /* 0x2B01726A: mov ecx, dword ptr [esi + 0x10] */ 875 /* test ecx, ecx */ /* 0x2B01726D: test ecx, ecx */ 876 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 877 _cf = 0; 878 _flag_k = FK_TEST; 879 PUSH32(esp, edi); /* 0x2B01726F: push edi */ 880 edi = MEM32(esi + 0x4); /* 0x2B017270: mov edi, dword ptr [esi + 4] */ 881 eax = MEM32(edi); /* 0x2B017273: mov eax, dword ptr [edi] */ 882 MEM32(ebp + (-0x4)) = eax; /* 0x2B017275: mov dword ptr [ebp - 4], eax */ 883 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0172D5; /* 0x2B017278: je 0x2b0172d5 */ 884 L_2B01727A: 885 ecx = eax; /* 0x2B01727A: mov ecx, eax */ 886 /* cmp eax, ecx */ /* 0x2B01727C: cmp eax, ecx */ 887 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 888 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 889 _flag_k = FK_CMP; 890 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0172D5; /* 0x2B01727E: jne 0x2b0172d5 */ 891 L_2B017280: 892 /* cmp edi, edi */ /* 0x2B017280: cmp edi, edi */ 893 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 894 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 895 _flag_k = FK_CMP; 896 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0172D5; /* 0x2B017282: jne 0x2b0172d5 */ 897 L_2B017284: 898 ebx = MEM32(edi + 0x4); /* 0x2B017284: mov ebx, dword ptr [edi + 4] */ 899 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2B017287: cmp ebx, dword ptr [esi + 8] */ 900 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 901 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 902 _flag_k = FK_CMP; 903 edi = ebx; /* 0x2B01728A: mov edi, ebx */ 904 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0172AD; /* 0x2B01728C: je 0x2b0172ad */ 905 L_2B01728E: 906 eax = MEM32(edi + 0x8); /* 0x2B01728E: mov eax, dword ptr [edi + 8] */ 907 PUSH32(esp, eax); /* 0x2B017291: push eax */ 908 ecx = esi; /* 0x2B017292: mov ecx, esi */ 909 RECOMP_ICALL(0x2B0190A0u); /* 0x2B017294: call 0x2b0190a0 */ /* not lifted */ 910 RECOMP_FLAGS_IN(); 911 edi = MEM32(edi); /* 0x2B017299: mov edi, dword ptr [edi] */ 912 PUSH32(esp, ebx); /* 0x2B01729B: push ebx */ 913 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01729C: call 0x2b0ab1ba */ /* not lifted */ 914 RECOMP_FLAGS_IN(); 915 eax = MEM32(esi + 0x8); /* 0x2B0172A1: mov eax, dword ptr [esi + 8] */ 916 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 917 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 918 esp = esp + 4; /* 0x2B0172A4: add esp, 4 */ 919 _flag_k = FK_ADD; 920 /* cmp edi, eax */ /* 0x2B0172A7: cmp edi, eax */ 921 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 922 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 923 _flag_k = FK_CMP; 924 ebx = edi; /* 0x2B0172A9: mov ebx, edi */ 925 RECOMP_BACKEDGE(); 926 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01728E; /* 0x2B0172AB: jne 0x2b01728e */ 927 L_2B0172AD: 928 ecx = MEM32(esi + 0x4); /* 0x2B0172AD: mov ecx, dword ptr [esi + 4] */ 929 edx = MEM32(esi + 0x8); /* 0x2B0172B0: mov edx, dword ptr [esi + 8] */ 930 MEM32(ecx + 0x4) = edx; /* 0x2B0172B3: mov dword ptr [ecx + 4], edx */ 931 eax = MEM32(esi + 0x4); /* 0x2B0172B6: mov eax, dword ptr [esi + 4] */ 932 MEM32(esi + 0x10) = 0; /* 0x2B0172B9: mov dword ptr [esi + 0x10], 0 */ 933 MEM32(eax) = eax; /* 0x2B0172C0: mov dword ptr [eax], eax */ 934 eax = MEM32(esi + 0x4); /* 0x2B0172C2: mov eax, dword ptr [esi + 4] */ 935 MEM32(eax + 0x8) = eax; /* 0x2B0172C5: mov dword ptr [eax + 8], eax */ 936 eax = ebp + (-0x8); /* 0x2B0172C8: lea eax, [ebp - 8] */ 937 PUSH32(esp, eax); /* 0x2B0172CB: push eax */ 938 ecx = esi; /* 0x2B0172CC: mov ecx, esi */ 939 RECOMP_ICALL(0x2B018B60u); /* 0x2B0172CE: call 0x2b018b60 */ /* not lifted */ 940 RECOMP_FLAGS_IN(); 941 goto L_2B0172F6; /* 0x2B0172D3: jmp 0x2b0172f6 */ 942 L_2B0172D5: 943 /* cmp eax, edi */ /* 0x2B0172D5: cmp eax, edi */ 944 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 945 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 946 _flag_k = FK_CMP; 947 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0172F6; /* 0x2B0172D7: je 0x2b0172f6 */ 948 L_2B0172D9: 949 ecx = ebp + (-0x4); /* 0x2B0172D9: lea ecx, [ebp - 4] */ 950 ebx = eax; /* 0x2B0172DC: mov ebx, eax */ 951 RECOMP_ICALL(0x2B06A300u); /* 0x2B0172DE: call 0x2b06a300 */ /* not lifted */ 952 RECOMP_FLAGS_IN(); 953 PUSH32(esp, ebx); /* 0x2B0172E3: push ebx */ 954 ecx = ebp + (-0x8); /* 0x2B0172E4: lea ecx, [ebp - 8] */ 955 PUSH32(esp, ecx); /* 0x2B0172E7: push ecx */ 956 ecx = esi; /* 0x2B0172E8: mov ecx, esi */ 957 RECOMP_ICALL(0x2B06D4F0u); /* 0x2B0172EA: call 0x2b06d4f0 */ /* not lifted */ 958 RECOMP_FLAGS_IN(); 959 eax = MEM32(ebp + (-0x4)); /* 0x2B0172EF: mov eax, dword ptr [ebp - 4] */ 960 /* cmp eax, edi */ /* 0x2B0172F2: cmp eax, edi */ 961 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 962 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 963 _flag_k = FK_CMP; 964 RECOMP_BACKEDGE(); 965 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0172D9; /* 0x2B0172F4: jne 0x2b0172d9 */ 966 L_2B0172F6: 967 edx = MEM32(esi + 0x4); /* 0x2B0172F6: mov edx, dword ptr [esi + 4] */ 968 PUSH32(esp, edx); /* 0x2B0172F9: push edx */ 969 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0172FA: call 0x2b0ab1ba */ /* not lifted */ 970 RECOMP_FLAGS_IN(); 971 eax = MEM32(esi + 0x8); /* 0x2B0172FF: mov eax, dword ptr [esi + 8] */ 972 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 973 edi = 0; /* 0x2B017302: xor edi, edi */ 974 _cf = 0; 975 _flag_k = FK_TEST; 976 PUSH32(esp, eax); /* 0x2B017304: push eax */ 977 MEM32(esi + 0x4) = edi; /* 0x2B017305: mov dword ptr [esi + 4], edi */ 978 MEM32(esi + 0x10) = edi; /* 0x2B017308: mov dword ptr [esi + 0x10], edi */ 979 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01730B: call 0x2b0ab1ba */ /* not lifted */ 980 RECOMP_FLAGS_IN(); 981 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 982 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 983 esp = esp + 8; /* 0x2B017310: add esp, 8 */ 984 _flag_k = FK_ADD; 985 MEM32(esi + 0x8) = edi; /* 0x2B017313: mov dword ptr [esi + 8], edi */ 986 edi = POP32_VAL(esp); /* 0x2B017316: pop edi */ 987 esi = POP32_VAL(esp); /* 0x2B017317: pop esi */ 988 ebx = POP32_VAL(esp); /* 0x2B017318: pop ebx */ 989 esp = ebp; /* 0x2B017319: mov esp, ebp */ 990 ebp = POP32_VAL(esp); /* 0x2B01731B: pop ebp */ 991 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01731C: ret */ 992 L_2B0ACDA0: 993 ecx = MEM32(ebp + (-0x18)); /* 0x2B0ACDA0: mov ecx, dword ptr [ebp - 0x18] */ 994 RECOMP_BACKEDGE(); 995 goto L_2B017260; /* 0x2B0ACDA3: jmp 0x2b017260 */ 996 { RECOMP_REGS_OUT(); return; } /* end of function */ 997 RECOMP_REGS_OUT(); 998 } 999 1000 void sub_2B0ACDA8(void) { 1001 int _fpu_cmp = 0; 1002 uint32_t _cf = 0; 1003 int _df = 1; 1004 uint32_t _flag_k = FK_NONE; 1005 uint32_t _flag_a = 0, _flag_b = 0; 1006 uint32_t _itail_tgt = 0; 1007 RECOMP_REGS_LOCALS 1008 RECOMP_ENTER(0x2B0ACDA8u); 1009 1010 goto L_2B0ACDA8; 1011 L_2B0170E0: 1012 PUSH32(esp, ebp); /* 0x2B0170E0: push ebp */ 1013 ebp = esp; /* 0x2B0170E1: mov ebp, esp */ 1014 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0170E3: push -1 */ 1015 PUSH32(esp, 0x2B0ACDC8u); /* 0x2B0170E5: push 0x2b0acdc8 */ 1016 eax = MEM32(FS_BASE + (0)); /* 0x2B0170EA: mov eax, dword ptr fs:[0] */ 1017 PUSH32(esp, eax); /* 0x2B0170F0: push eax */ 1018 MEM32(FS_BASE + (0)) = esp; /* 0x2B0170F1: mov dword ptr fs:[0], esp */ 1019 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 1020 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1021 esp = esp - 0x10u; /* 0x2B0170F8: sub esp, 0x10 */ 1022 _flag_k = FK_CMP; 1023 PUSH32(esp, ebx); /* 0x2B0170FB: push ebx */ 1024 PUSH32(esp, esi); /* 0x2B0170FC: push esi */ 1025 PUSH32(esp, edi); /* 0x2B0170FD: push edi */ 1026 edi = ecx; /* 0x2B0170FE: mov edi, ecx */ 1027 MEM32(ebp + (-0x14)) = edi; /* 0x2B017100: mov dword ptr [ebp - 0x14], edi */ 1028 eax = MEM32(edi + 0x2C); /* 0x2B017103: mov eax, dword ptr [edi + 0x2c] */ 1029 ecx = MEM32(edi + 0x38); /* 0x2B017106: mov ecx, dword ptr [edi + 0x38] */ 1030 /* test ecx, ecx */ /* 0x2B017109: test ecx, ecx */ 1031 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1032 _cf = 0; 1033 _flag_k = FK_TEST; 1034 esi = edi + 0x28; /* 0x2B01710B: lea esi, [edi + 0x28] */ 1035 ebx = eax; /* 0x2B01710E: mov ebx, eax */ 1036 eax = MEM32(eax); /* 0x2B017110: mov eax, dword ptr [eax] */ 1037 MEM32(ebp + (-0x4)) = 0; /* 0x2B017112: mov dword ptr [ebp - 4], 0 */ 1038 MEM32(ebp + (-0x10)) = eax; /* 0x2B017119: mov dword ptr [ebp - 0x10], eax */ 1039 if (TEST_Z(_flag_a, _flag_b)) goto L_2B017173; /* 0x2B01711C: je 0x2b017173 */ 1040 L_2B01711E: 1041 eax = ebp + (-0x18); /* 0x2B01711E: lea eax, [ebp - 0x18] */ 1042 PUSH32(esp, eax); /* 0x2B017121: push eax */ 1043 ecx = esi; /* 0x2B017122: mov ecx, esi */ 1044 RECOMP_ICALL(0x2B018B60u); /* 0x2B017124: call 0x2b018b60 */ /* not lifted */ 1045 RECOMP_FLAGS_IN(); 1046 ecx = eax; /* 0x2B017129: mov ecx, eax */ 1047 edx = MEM32(ecx); /* 0x2B01712B: mov edx, dword ptr [ecx] */ 1048 eax = MEM32(ebp + (-0x10)); /* 0x2B01712D: mov eax, dword ptr [ebp - 0x10] */ 1049 /* cmp eax, edx */ /* 0x2B017130: cmp eax, edx */ 1050 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1051 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1052 _flag_k = FK_CMP; 1053 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B017132: setne cl */ 1054 /* test LO8(ecx), LO8(ecx) */ /* 0x2B017135: test cl, cl */ 1055 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1056 _cf = 0; 1057 _flag_k = FK_NARROW(FK_TEST, 24); 1058 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B017173; /* 0x2B017137: jne 0x2b017173 */ 1059 L_2B017139: 1060 ecx = MEM32(esi + 0x4); /* 0x2B017139: mov ecx, dword ptr [esi + 4] */ 1061 /* cmp ebx, ecx */ /* 0x2B01713C: cmp ebx, ecx */ 1062 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 1063 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1064 _flag_k = FK_CMP; 1065 if (CMP_NE(_flag_a, _flag_b)) goto L_2B017173; /* 0x2B01713E: jne 0x2b017173 */ 1066 L_2B017140: 1067 edx = MEM32(ecx + 0x4); /* 0x2B017140: mov edx, dword ptr [ecx + 4] */ 1068 PUSH32(esp, edx); /* 0x2B017143: push edx */ 1069 ecx = esi; /* 0x2B017144: mov ecx, esi */ 1070 RECOMP_ICALL(0x2B019530u); /* 0x2B017146: call 0x2b019530 */ /* not lifted */ 1071 RECOMP_FLAGS_IN(); 1072 eax = MEM32(esi + 0x4); /* 0x2B01714B: mov eax, dword ptr [esi + 4] */ 1073 ecx = MEM32(esi + 0x8); /* 0x2B01714E: mov ecx, dword ptr [esi + 8] */ 1074 MEM32(eax + 0x4) = ecx; /* 0x2B017151: mov dword ptr [eax + 4], ecx */ 1075 eax = MEM32(esi + 0x4); /* 0x2B017154: mov eax, dword ptr [esi + 4] */ 1076 MEM32(esi + 0x10) = 0; /* 0x2B017157: mov dword ptr [esi + 0x10], 0 */ 1077 MEM32(eax) = eax; /* 0x2B01715E: mov dword ptr [eax], eax */ 1078 eax = MEM32(esi + 0x4); /* 0x2B017160: mov eax, dword ptr [esi + 4] */ 1079 edx = ebp + (-0x18); /* 0x2B017163: lea edx, [ebp - 0x18] */ 1080 PUSH32(esp, edx); /* 0x2B017166: push edx */ 1081 ecx = esi; /* 0x2B017167: mov ecx, esi */ 1082 MEM32(eax + 0x8) = eax; /* 0x2B017169: mov dword ptr [eax + 8], eax */ 1083 RECOMP_ICALL(0x2B018B60u); /* 0x2B01716C: call 0x2b018b60 */ /* not lifted */ 1084 RECOMP_FLAGS_IN(); 1085 goto L_2B017198; /* 0x2B017171: jmp 0x2b017198 */ 1086 L_2B017173: 1087 /* cmp eax, ebx */ /* 0x2B017173: cmp eax, ebx */ 1088 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 1089 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1090 _flag_k = FK_CMP; 1091 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B017198; /* 0x2B017175: je 0x2b017198 */ 1092 L_2B017177: 1093 PUSH32(esp, 0); /* 0x2B017177: push 0 */ 1094 eax = ebp + (-0x18); /* 0x2B017179: lea eax, [ebp - 0x18] */ 1095 PUSH32(esp, eax); /* 0x2B01717C: push eax */ 1096 ecx = ebp + (-0x10); /* 0x2B01717D: lea ecx, [ebp - 0x10] */ 1097 RECOMP_ICALL(0x2B019580u); /* 0x2B017180: call 0x2b019580 */ /* not lifted */ 1098 RECOMP_FLAGS_IN(); 1099 ecx = MEM32(eax); /* 0x2B017185: mov ecx, dword ptr [eax] */ 1100 PUSH32(esp, ecx); /* 0x2B017187: push ecx */ 1101 edx = ebp + (-0x1C); /* 0x2B017188: lea edx, [ebp - 0x1c] */ 1102 PUSH32(esp, edx); /* 0x2B01718B: push edx */ 1103 ecx = esi; /* 0x2B01718C: mov ecx, esi */ 1104 RECOMP_ICALL(0x2B019160u); /* 0x2B01718E: call 0x2b019160 */ /* not lifted */ 1105 RECOMP_FLAGS_IN(); 1106 /* cmp MEM32(ebp + (-0x10)), ebx */ /* 0x2B017193: cmp dword ptr [ebp - 0x10], ebx */ 1107 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ebx); 1108 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1109 _flag_k = FK_CMP; 1110 RECOMP_BACKEDGE(); 1111 if (CMP_NE(_flag_a, _flag_b)) goto L_2B017177; /* 0x2B017196: jne 0x2b017177 */ 1112 L_2B017198: 1113 eax = MEM32(esi + 0x4); /* 0x2B017198: mov eax, dword ptr [esi + 4] */ 1114 PUSH32(esp, eax); /* 0x2B01719B: push eax */ 1115 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01719C: call 0x2b0ab1ba */ /* not lifted */ 1116 RECOMP_FLAGS_IN(); 1117 eax = MEM32(esi + 0x8); /* 0x2B0171A1: mov eax, dword ptr [esi + 8] */ 1118 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1119 ebx = 0; /* 0x2B0171A4: xor ebx, ebx */ 1120 _cf = 0; 1121 _flag_k = FK_TEST; 1122 PUSH32(esp, eax); /* 0x2B0171A6: push eax */ 1123 MEM32(esi + 0x4) = ebx; /* 0x2B0171A7: mov dword ptr [esi + 4], ebx */ 1124 MEM32(esi + 0x10) = ebx; /* 0x2B0171AA: mov dword ptr [esi + 0x10], ebx */ 1125 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0171AD: call 0x2b0ab1ba */ /* not lifted */ 1126 RECOMP_FLAGS_IN(); 1127 MEM32(esi + 0x8) = ebx; /* 0x2B0171B2: mov dword ptr [esi + 8], ebx */ 1128 esi = MEM32(edi + 0x4); /* 0x2B0171B5: mov esi, dword ptr [edi + 4] */ 1129 ecx = MEM32(edi + 0x10); /* 0x2B0171B8: mov ecx, dword ptr [edi + 0x10] */ 1130 eax = MEM32(esi); /* 0x2B0171BB: mov eax, dword ptr [esi] */ 1131 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1132 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1133 esp = esp + 8; /* 0x2B0171BD: add esp, 8 */ 1134 _flag_k = FK_ADD; 1135 /* cmp ecx, ebx */ /* 0x2B0171C0: cmp ecx, ebx */ 1136 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 1137 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1138 _flag_k = FK_CMP; 1139 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B0171C2: mov dword ptr [ebp - 4], 0xffffffff */ 1140 MEM32(ebp + (-0x10)) = eax; /* 0x2B0171C9: mov dword ptr [ebp - 0x10], eax */ 1141 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B017207; /* 0x2B0171CC: je 0x2b017207 */ 1142 L_2B0171CE: 1143 ecx = eax; /* 0x2B0171CE: mov ecx, eax */ 1144 /* cmp eax, ecx */ /* 0x2B0171D0: cmp eax, ecx */ 1145 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1146 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1147 _flag_k = FK_CMP; 1148 if (CMP_NE(_flag_a, _flag_b)) goto L_2B017207; /* 0x2B0171D2: jne 0x2b017207 */ 1149 L_2B0171D4: 1150 /* cmp esi, esi */ /* 0x2B0171D4: cmp esi, esi */ 1151 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 1152 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1153 _flag_k = FK_CMP; 1154 if (CMP_NE(_flag_a, _flag_b)) goto L_2B017207; /* 0x2B0171D6: jne 0x2b017207 */ 1155 L_2B0171D8: 1156 eax = MEM32(esi + 0x4); /* 0x2B0171D8: mov eax, dword ptr [esi + 4] */ 1157 PUSH32(esp, eax); /* 0x2B0171DB: push eax */ 1158 ecx = edi; /* 0x2B0171DC: mov ecx, edi */ 1159 RECOMP_ICALL(0x2B0190A0u); /* 0x2B0171DE: call 0x2b0190a0 */ /* not lifted */ 1160 RECOMP_FLAGS_IN(); 1161 ecx = MEM32(edi + 0x4); /* 0x2B0171E3: mov ecx, dword ptr [edi + 4] */ 1162 edx = MEM32(edi + 0x8); /* 0x2B0171E6: mov edx, dword ptr [edi + 8] */ 1163 MEM32(ecx + 0x4) = edx; /* 0x2B0171E9: mov dword ptr [ecx + 4], edx */ 1164 eax = MEM32(edi + 0x4); /* 0x2B0171EC: mov eax, dword ptr [edi + 4] */ 1165 MEM32(edi + 0x10) = ebx; /* 0x2B0171EF: mov dword ptr [edi + 0x10], ebx */ 1166 MEM32(eax) = eax; /* 0x2B0171F2: mov dword ptr [eax], eax */ 1167 eax = MEM32(edi + 0x4); /* 0x2B0171F4: mov eax, dword ptr [edi + 4] */ 1168 MEM32(eax + 0x8) = eax; /* 0x2B0171F7: mov dword ptr [eax + 8], eax */ 1169 eax = ebp + (-0x1C); /* 0x2B0171FA: lea eax, [ebp - 0x1c] */ 1170 PUSH32(esp, eax); /* 0x2B0171FD: push eax */ 1171 ecx = edi; /* 0x2B0171FE: mov ecx, edi */ 1172 RECOMP_ICALL(0x2B018B60u); /* 0x2B017200: call 0x2b018b60 */ /* not lifted */ 1173 RECOMP_FLAGS_IN(); 1174 goto L_2B01722B; /* 0x2B017205: jmp 0x2b01722b */ 1175 L_2B017207: 1176 /* cmp eax, esi */ /* 0x2B017207: cmp eax, esi */ 1177 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 1178 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1179 _flag_k = FK_CMP; 1180 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01722B; /* 0x2B017209: je 0x2b01722b */ 1181 L_2B01720B: 1182 PUSH32(esp, ebx); /* 0x2B01720B: push ebx */ 1183 ecx = ebp + (-0x18); /* 0x2B01720C: lea ecx, [ebp - 0x18] */ 1184 PUSH32(esp, ecx); /* 0x2B01720F: push ecx */ 1185 ecx = ebp + (-0x10); /* 0x2B017210: lea ecx, [ebp - 0x10] */ 1186 RECOMP_ICALL(0x2B019100u); /* 0x2B017213: call 0x2b019100 */ /* not lifted */ 1187 RECOMP_FLAGS_IN(); 1188 edx = MEM32(eax); /* 0x2B017218: mov edx, dword ptr [eax] */ 1189 PUSH32(esp, edx); /* 0x2B01721A: push edx */ 1190 eax = ebp + (-0x14); /* 0x2B01721B: lea eax, [ebp - 0x14] */ 1191 PUSH32(esp, eax); /* 0x2B01721E: push eax */ 1192 ecx = edi; /* 0x2B01721F: mov ecx, edi */ 1193 RECOMP_ICALL(0x2B06D4F0u); /* 0x2B017221: call 0x2b06d4f0 */ /* not lifted */ 1194 RECOMP_FLAGS_IN(); 1195 /* cmp MEM32(ebp + (-0x10)), esi */ /* 0x2B017226: cmp dword ptr [ebp - 0x10], esi */ 1196 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(esi); 1197 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1198 _flag_k = FK_CMP; 1199 RECOMP_BACKEDGE(); 1200 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01720B; /* 0x2B017229: jne 0x2b01720b */ 1201 L_2B01722B: 1202 ecx = MEM32(edi + 0x4); /* 0x2B01722B: mov ecx, dword ptr [edi + 4] */ 1203 PUSH32(esp, ecx); /* 0x2B01722E: push ecx */ 1204 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01722F: call 0x2b0ab1ba */ /* not lifted */ 1205 RECOMP_FLAGS_IN(); 1206 edx = MEM32(edi + 0x8); /* 0x2B017234: mov edx, dword ptr [edi + 8] */ 1207 PUSH32(esp, edx); /* 0x2B017237: push edx */ 1208 MEM32(edi + 0x4) = ebx; /* 0x2B017238: mov dword ptr [edi + 4], ebx */ 1209 MEM32(edi + 0x10) = ebx; /* 0x2B01723B: mov dword ptr [edi + 0x10], ebx */ 1210 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01723E: call 0x2b0ab1ba */ /* not lifted */ 1211 RECOMP_FLAGS_IN(); 1212 ecx = MEM32(ebp + (-0xC)); /* 0x2B017243: mov ecx, dword ptr [ebp - 0xc] */ 1213 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1214 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1215 esp = esp + 8; /* 0x2B017246: add esp, 8 */ 1216 _flag_k = FK_ADD; 1217 MEM32(edi + 0x8) = ebx; /* 0x2B017249: mov dword ptr [edi + 8], ebx */ 1218 edi = POP32_VAL(esp); /* 0x2B01724C: pop edi */ 1219 esi = POP32_VAL(esp); /* 0x2B01724D: pop esi */ 1220 ebx = POP32_VAL(esp); /* 0x2B01724E: pop ebx */ 1221 MEM32(FS_BASE + (0)) = ecx; /* 0x2B01724F: mov dword ptr fs:[0], ecx */ 1222 esp = ebp; /* 0x2B017256: mov esp, ebp */ 1223 ebp = POP32_VAL(esp); /* 0x2B017258: pop ebp */ 1224 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B017259: ret */ 1225 L_2B0ACDA8: 1226 ecx = MEM32(ebp + (-0x14)); /* 0x2B0ACDA8: mov ecx, dword ptr [ebp - 0x14] */ 1227 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 1228 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1229 ecx = ecx + 4; /* 0x2B0ACDAB: add ecx, 4 */ 1230 _flag_k = FK_ADD; 1231 RECOMP_BACKEDGE(); 1232 goto L_2B0170E0; /* 0x2B0ACDAE: jmp 0x2b0170e0 */ 1233 { RECOMP_REGS_OUT(); return; } /* end of function */ 1234 RECOMP_REGS_OUT(); 1235 } 1236 1237 void sub_2B0ACDB3(void) { 1238 int _fpu_cmp = 0; 1239 uint32_t _cf = 0; 1240 int _df = 1; 1241 uint32_t _flag_k = FK_NONE; 1242 uint32_t _flag_a = 0, _flag_b = 0; 1243 uint32_t _itail_tgt = 0; 1244 RECOMP_REGS_LOCALS 1245 RECOMP_ENTER(0x2B0ACDB3u); 1246 1247 goto L_2B0ACDB3; 1248 L_2B0AB218: 1249 { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; } 1250 L_2B0ACDB3: 1251 eax = 0x2B0B9F20u; /* 0x2B0ACDB3: mov eax, 0x2b0b9f20 */ 1252 L_2B0ACDB8: 1253 RECOMP_BACKEDGE(); 1254 goto L_2B0AB218; /* 0x2B0ACDB8: jmp 0x2b0ab218 */ 1255 { RECOMP_REGS_OUT(); return; } /* end of function */ 1256 _ljump: 1257 switch (_itail_tgt) { 1258 case 0x2B0AB218u: goto L_2B0AB218; 1259 case 0x2B0ACDB3u: goto L_2B0ACDB3; 1260 case 0x2B0ACDB8u: goto L_2B0ACDB8; 1261 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1262 } 1263 RECOMP_REGS_OUT(); 1264 } 1265 1266 void sub_2B0ACDC0(void) { 1267 int _fpu_cmp = 0; 1268 uint32_t _cf = 0; 1269 int _df = 1; 1270 uint32_t _flag_k = FK_NONE; 1271 uint32_t _flag_a = 0, _flag_b = 0; 1272 uint32_t _itail_tgt = 0; 1273 RECOMP_REGS_LOCALS 1274 RECOMP_ENTER(0x2B0ACDC0u); 1275 1276 goto L_2B0ACDC0; 1277 L_2B017260: 1278 PUSH32(esp, ebp); /* 0x2B017260: push ebp */ 1279 ebp = esp; /* 0x2B017261: mov ebp, esp */ 1280 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1281 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1282 esp = esp - 8; /* 0x2B017263: sub esp, 8 */ 1283 _flag_k = FK_CMP; 1284 PUSH32(esp, ebx); /* 0x2B017266: push ebx */ 1285 PUSH32(esp, esi); /* 0x2B017267: push esi */ 1286 esi = ecx; /* 0x2B017268: mov esi, ecx */ 1287 ecx = MEM32(esi + 0x10); /* 0x2B01726A: mov ecx, dword ptr [esi + 0x10] */ 1288 /* test ecx, ecx */ /* 0x2B01726D: test ecx, ecx */ 1289 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1290 _cf = 0; 1291 _flag_k = FK_TEST; 1292 PUSH32(esp, edi); /* 0x2B01726F: push edi */ 1293 edi = MEM32(esi + 0x4); /* 0x2B017270: mov edi, dword ptr [esi + 4] */ 1294 eax = MEM32(edi); /* 0x2B017273: mov eax, dword ptr [edi] */ 1295 MEM32(ebp + (-0x4)) = eax; /* 0x2B017275: mov dword ptr [ebp - 4], eax */ 1296 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0172D5; /* 0x2B017278: je 0x2b0172d5 */ 1297 L_2B01727A: 1298 ecx = eax; /* 0x2B01727A: mov ecx, eax */ 1299 /* cmp eax, ecx */ /* 0x2B01727C: cmp eax, ecx */ 1300 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1301 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1302 _flag_k = FK_CMP; 1303 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0172D5; /* 0x2B01727E: jne 0x2b0172d5 */ 1304 L_2B017280: 1305 /* cmp edi, edi */ /* 0x2B017280: cmp edi, edi */ 1306 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 1307 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1308 _flag_k = FK_CMP; 1309 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0172D5; /* 0x2B017282: jne 0x2b0172d5 */ 1310 L_2B017284: 1311 ebx = MEM32(edi + 0x4); /* 0x2B017284: mov ebx, dword ptr [edi + 4] */ 1312 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2B017287: cmp ebx, dword ptr [esi + 8] */ 1313 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1314 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1315 _flag_k = FK_CMP; 1316 edi = ebx; /* 0x2B01728A: mov edi, ebx */ 1317 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0172AD; /* 0x2B01728C: je 0x2b0172ad */ 1318 L_2B01728E: 1319 eax = MEM32(edi + 0x8); /* 0x2B01728E: mov eax, dword ptr [edi + 8] */ 1320 PUSH32(esp, eax); /* 0x2B017291: push eax */ 1321 ecx = esi; /* 0x2B017292: mov ecx, esi */ 1322 RECOMP_ICALL(0x2B0190A0u); /* 0x2B017294: call 0x2b0190a0 */ /* not lifted */ 1323 RECOMP_FLAGS_IN(); 1324 edi = MEM32(edi); /* 0x2B017299: mov edi, dword ptr [edi] */ 1325 PUSH32(esp, ebx); /* 0x2B01729B: push ebx */ 1326 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01729C: call 0x2b0ab1ba */ /* not lifted */ 1327 RECOMP_FLAGS_IN(); 1328 eax = MEM32(esi + 0x8); /* 0x2B0172A1: mov eax, dword ptr [esi + 8] */ 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; /* 0x2B0172A4: add esp, 4 */ 1332 _flag_k = FK_ADD; 1333 /* cmp edi, eax */ /* 0x2B0172A7: cmp edi, eax */ 1334 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 1335 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1336 _flag_k = FK_CMP; 1337 ebx = edi; /* 0x2B0172A9: mov ebx, edi */ 1338 RECOMP_BACKEDGE(); 1339 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01728E; /* 0x2B0172AB: jne 0x2b01728e */ 1340 L_2B0172AD: 1341 ecx = MEM32(esi + 0x4); /* 0x2B0172AD: mov ecx, dword ptr [esi + 4] */ 1342 edx = MEM32(esi + 0x8); /* 0x2B0172B0: mov edx, dword ptr [esi + 8] */ 1343 MEM32(ecx + 0x4) = edx; /* 0x2B0172B3: mov dword ptr [ecx + 4], edx */ 1344 eax = MEM32(esi + 0x4); /* 0x2B0172B6: mov eax, dword ptr [esi + 4] */ 1345 MEM32(esi + 0x10) = 0; /* 0x2B0172B9: mov dword ptr [esi + 0x10], 0 */ 1346 MEM32(eax) = eax; /* 0x2B0172C0: mov dword ptr [eax], eax */ 1347 eax = MEM32(esi + 0x4); /* 0x2B0172C2: mov eax, dword ptr [esi + 4] */ 1348 MEM32(eax + 0x8) = eax; /* 0x2B0172C5: mov dword ptr [eax + 8], eax */ 1349 eax = ebp + (-0x8); /* 0x2B0172C8: lea eax, [ebp - 8] */ 1350 PUSH32(esp, eax); /* 0x2B0172CB: push eax */ 1351 ecx = esi; /* 0x2B0172CC: mov ecx, esi */ 1352 RECOMP_ICALL(0x2B018B60u); /* 0x2B0172CE: call 0x2b018b60 */ /* not lifted */ 1353 RECOMP_FLAGS_IN(); 1354 goto L_2B0172F6; /* 0x2B0172D3: jmp 0x2b0172f6 */ 1355 L_2B0172D5: 1356 /* cmp eax, edi */ /* 0x2B0172D5: cmp eax, edi */ 1357 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1358 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1359 _flag_k = FK_CMP; 1360 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0172F6; /* 0x2B0172D7: je 0x2b0172f6 */ 1361 L_2B0172D9: 1362 ecx = ebp + (-0x4); /* 0x2B0172D9: lea ecx, [ebp - 4] */ 1363 ebx = eax; /* 0x2B0172DC: mov ebx, eax */ 1364 RECOMP_ICALL(0x2B06A300u); /* 0x2B0172DE: call 0x2b06a300 */ /* not lifted */ 1365 RECOMP_FLAGS_IN(); 1366 PUSH32(esp, ebx); /* 0x2B0172E3: push ebx */ 1367 ecx = ebp + (-0x8); /* 0x2B0172E4: lea ecx, [ebp - 8] */ 1368 PUSH32(esp, ecx); /* 0x2B0172E7: push ecx */ 1369 ecx = esi; /* 0x2B0172E8: mov ecx, esi */ 1370 RECOMP_ICALL(0x2B06D4F0u); /* 0x2B0172EA: call 0x2b06d4f0 */ /* not lifted */ 1371 RECOMP_FLAGS_IN(); 1372 eax = MEM32(ebp + (-0x4)); /* 0x2B0172EF: mov eax, dword ptr [ebp - 4] */ 1373 /* cmp eax, edi */ /* 0x2B0172F2: cmp eax, edi */ 1374 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1375 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1376 _flag_k = FK_CMP; 1377 RECOMP_BACKEDGE(); 1378 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0172D9; /* 0x2B0172F4: jne 0x2b0172d9 */ 1379 L_2B0172F6: 1380 edx = MEM32(esi + 0x4); /* 0x2B0172F6: mov edx, dword ptr [esi + 4] */ 1381 PUSH32(esp, edx); /* 0x2B0172F9: push edx */ 1382 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0172FA: call 0x2b0ab1ba */ /* not lifted */ 1383 RECOMP_FLAGS_IN(); 1384 eax = MEM32(esi + 0x8); /* 0x2B0172FF: mov eax, dword ptr [esi + 8] */ 1385 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1386 edi = 0; /* 0x2B017302: xor edi, edi */ 1387 _cf = 0; 1388 _flag_k = FK_TEST; 1389 PUSH32(esp, eax); /* 0x2B017304: push eax */ 1390 MEM32(esi + 0x4) = edi; /* 0x2B017305: mov dword ptr [esi + 4], edi */ 1391 MEM32(esi + 0x10) = edi; /* 0x2B017308: mov dword ptr [esi + 0x10], edi */ 1392 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01730B: call 0x2b0ab1ba */ /* not lifted */ 1393 RECOMP_FLAGS_IN(); 1394 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1395 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1396 esp = esp + 8; /* 0x2B017310: add esp, 8 */ 1397 _flag_k = FK_ADD; 1398 MEM32(esi + 0x8) = edi; /* 0x2B017313: mov dword ptr [esi + 8], edi */ 1399 edi = POP32_VAL(esp); /* 0x2B017316: pop edi */ 1400 esi = POP32_VAL(esp); /* 0x2B017317: pop esi */ 1401 ebx = POP32_VAL(esp); /* 0x2B017318: pop ebx */ 1402 esp = ebp; /* 0x2B017319: mov esp, ebp */ 1403 ebp = POP32_VAL(esp); /* 0x2B01731B: pop ebp */ 1404 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01731C: ret */ 1405 L_2B0ACDC0: 1406 ecx = MEM32(ebp + (-0x14)); /* 0x2B0ACDC0: mov ecx, dword ptr [ebp - 0x14] */ 1407 RECOMP_BACKEDGE(); 1408 goto L_2B017260; /* 0x2B0ACDC3: jmp 0x2b017260 */ 1409 { RECOMP_REGS_OUT(); return; } /* end of function */ 1410 RECOMP_REGS_OUT(); 1411 } 1412 1413 void sub_2B0ACDC8(void) { 1414 int _fpu_cmp = 0; 1415 uint32_t _cf = 0; 1416 int _df = 1; 1417 uint32_t _flag_k = FK_NONE; 1418 uint32_t _flag_a = 0, _flag_b = 0; 1419 uint32_t _itail_tgt = 0; 1420 RECOMP_REGS_LOCALS 1421 RECOMP_ENTER(0x2B0ACDC8u); 1422 1423 goto L_2B0ACDC8; 1424 L_2B0AB218: 1425 { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; } 1426 L_2B0ACDC8: 1427 eax = 0x2B0B9F50u; /* 0x2B0ACDC8: mov eax, 0x2b0b9f50 */ 1428 L_2B0ACDCD: 1429 RECOMP_BACKEDGE(); 1430 goto L_2B0AB218; /* 0x2B0ACDCD: jmp 0x2b0ab218 */ 1431 { RECOMP_REGS_OUT(); return; } /* end of function */ 1432 _ljump: 1433 switch (_itail_tgt) { 1434 case 0x2B0AB218u: goto L_2B0AB218; 1435 case 0x2B0ACDC8u: goto L_2B0ACDC8; 1436 case 0x2B0ACDCDu: goto L_2B0ACDCD; 1437 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1438 } 1439 RECOMP_REGS_OUT(); 1440 } 1441 1442 void sub_2B0ACDE0(void) { 1443 int _fpu_cmp = 0; 1444 uint32_t _cf = 0; 1445 int _df = 1; 1446 uint32_t _flag_k = FK_NONE; 1447 uint32_t _flag_a = 0, _flag_b = 0; 1448 uint32_t _itail_tgt = 0; 1449 RECOMP_REGS_LOCALS 1450 RECOMP_ENTER(0x2B0ACDE0u); 1451 1452 goto L_2B0ACDE0; 1453 L_2B0170E0: 1454 PUSH32(esp, ebp); /* 0x2B0170E0: push ebp */ 1455 ebp = esp; /* 0x2B0170E1: mov ebp, esp */ 1456 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B0170E3: push -1 */ 1457 PUSH32(esp, 0x2B0ACDC8u); /* 0x2B0170E5: push 0x2b0acdc8 */ 1458 eax = MEM32(FS_BASE + (0)); /* 0x2B0170EA: mov eax, dword ptr fs:[0] */ 1459 PUSH32(esp, eax); /* 0x2B0170F0: push eax */ 1460 MEM32(FS_BASE + (0)) = esp; /* 0x2B0170F1: mov dword ptr fs:[0], esp */ 1461 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 1462 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1463 esp = esp - 0x10u; /* 0x2B0170F8: sub esp, 0x10 */ 1464 _flag_k = FK_CMP; 1465 PUSH32(esp, ebx); /* 0x2B0170FB: push ebx */ 1466 PUSH32(esp, esi); /* 0x2B0170FC: push esi */ 1467 PUSH32(esp, edi); /* 0x2B0170FD: push edi */ 1468 edi = ecx; /* 0x2B0170FE: mov edi, ecx */ 1469 MEM32(ebp + (-0x14)) = edi; /* 0x2B017100: mov dword ptr [ebp - 0x14], edi */ 1470 eax = MEM32(edi + 0x2C); /* 0x2B017103: mov eax, dword ptr [edi + 0x2c] */ 1471 ecx = MEM32(edi + 0x38); /* 0x2B017106: mov ecx, dword ptr [edi + 0x38] */ 1472 /* test ecx, ecx */ /* 0x2B017109: test ecx, ecx */ 1473 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1474 _cf = 0; 1475 _flag_k = FK_TEST; 1476 esi = edi + 0x28; /* 0x2B01710B: lea esi, [edi + 0x28] */ 1477 ebx = eax; /* 0x2B01710E: mov ebx, eax */ 1478 eax = MEM32(eax); /* 0x2B017110: mov eax, dword ptr [eax] */ 1479 MEM32(ebp + (-0x4)) = 0; /* 0x2B017112: mov dword ptr [ebp - 4], 0 */ 1480 MEM32(ebp + (-0x10)) = eax; /* 0x2B017119: mov dword ptr [ebp - 0x10], eax */ 1481 if (TEST_Z(_flag_a, _flag_b)) goto L_2B017173; /* 0x2B01711C: je 0x2b017173 */ 1482 L_2B01711E: 1483 eax = ebp + (-0x18); /* 0x2B01711E: lea eax, [ebp - 0x18] */ 1484 PUSH32(esp, eax); /* 0x2B017121: push eax */ 1485 ecx = esi; /* 0x2B017122: mov ecx, esi */ 1486 RECOMP_ICALL(0x2B018B60u); /* 0x2B017124: call 0x2b018b60 */ /* not lifted */ 1487 RECOMP_FLAGS_IN(); 1488 ecx = eax; /* 0x2B017129: mov ecx, eax */ 1489 edx = MEM32(ecx); /* 0x2B01712B: mov edx, dword ptr [ecx] */ 1490 eax = MEM32(ebp + (-0x10)); /* 0x2B01712D: mov eax, dword ptr [ebp - 0x10] */ 1491 /* cmp eax, edx */ /* 0x2B017130: cmp eax, edx */ 1492 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 1493 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1494 _flag_k = FK_CMP; 1495 SET_LO8(ecx, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x2B017132: setne cl */ 1496 /* test LO8(ecx), LO8(ecx) */ /* 0x2B017135: test cl, cl */ 1497 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 1498 _cf = 0; 1499 _flag_k = FK_NARROW(FK_TEST, 24); 1500 if (TEST_NZ(_flag_a, _flag_b)) goto L_2B017173; /* 0x2B017137: jne 0x2b017173 */ 1501 L_2B017139: 1502 ecx = MEM32(esi + 0x4); /* 0x2B017139: mov ecx, dword ptr [esi + 4] */ 1503 /* cmp ebx, ecx */ /* 0x2B01713C: cmp ebx, ecx */ 1504 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ecx); 1505 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1506 _flag_k = FK_CMP; 1507 if (CMP_NE(_flag_a, _flag_b)) goto L_2B017173; /* 0x2B01713E: jne 0x2b017173 */ 1508 L_2B017140: 1509 edx = MEM32(ecx + 0x4); /* 0x2B017140: mov edx, dword ptr [ecx + 4] */ 1510 PUSH32(esp, edx); /* 0x2B017143: push edx */ 1511 ecx = esi; /* 0x2B017144: mov ecx, esi */ 1512 RECOMP_ICALL(0x2B019530u); /* 0x2B017146: call 0x2b019530 */ /* not lifted */ 1513 RECOMP_FLAGS_IN(); 1514 eax = MEM32(esi + 0x4); /* 0x2B01714B: mov eax, dword ptr [esi + 4] */ 1515 ecx = MEM32(esi + 0x8); /* 0x2B01714E: mov ecx, dword ptr [esi + 8] */ 1516 MEM32(eax + 0x4) = ecx; /* 0x2B017151: mov dword ptr [eax + 4], ecx */ 1517 eax = MEM32(esi + 0x4); /* 0x2B017154: mov eax, dword ptr [esi + 4] */ 1518 MEM32(esi + 0x10) = 0; /* 0x2B017157: mov dword ptr [esi + 0x10], 0 */ 1519 MEM32(eax) = eax; /* 0x2B01715E: mov dword ptr [eax], eax */ 1520 eax = MEM32(esi + 0x4); /* 0x2B017160: mov eax, dword ptr [esi + 4] */ 1521 edx = ebp + (-0x18); /* 0x2B017163: lea edx, [ebp - 0x18] */ 1522 PUSH32(esp, edx); /* 0x2B017166: push edx */ 1523 ecx = esi; /* 0x2B017167: mov ecx, esi */ 1524 MEM32(eax + 0x8) = eax; /* 0x2B017169: mov dword ptr [eax + 8], eax */ 1525 RECOMP_ICALL(0x2B018B60u); /* 0x2B01716C: call 0x2b018b60 */ /* not lifted */ 1526 RECOMP_FLAGS_IN(); 1527 goto L_2B017198; /* 0x2B017171: jmp 0x2b017198 */ 1528 L_2B017173: 1529 /* cmp eax, ebx */ /* 0x2B017173: cmp eax, ebx */ 1530 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 1531 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1532 _flag_k = FK_CMP; 1533 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B017198; /* 0x2B017175: je 0x2b017198 */ 1534 L_2B017177: 1535 PUSH32(esp, 0); /* 0x2B017177: push 0 */ 1536 eax = ebp + (-0x18); /* 0x2B017179: lea eax, [ebp - 0x18] */ 1537 PUSH32(esp, eax); /* 0x2B01717C: push eax */ 1538 ecx = ebp + (-0x10); /* 0x2B01717D: lea ecx, [ebp - 0x10] */ 1539 RECOMP_ICALL(0x2B019580u); /* 0x2B017180: call 0x2b019580 */ /* not lifted */ 1540 RECOMP_FLAGS_IN(); 1541 ecx = MEM32(eax); /* 0x2B017185: mov ecx, dword ptr [eax] */ 1542 PUSH32(esp, ecx); /* 0x2B017187: push ecx */ 1543 edx = ebp + (-0x1C); /* 0x2B017188: lea edx, [ebp - 0x1c] */ 1544 PUSH32(esp, edx); /* 0x2B01718B: push edx */ 1545 ecx = esi; /* 0x2B01718C: mov ecx, esi */ 1546 RECOMP_ICALL(0x2B019160u); /* 0x2B01718E: call 0x2b019160 */ /* not lifted */ 1547 RECOMP_FLAGS_IN(); 1548 /* cmp MEM32(ebp + (-0x10)), ebx */ /* 0x2B017193: cmp dword ptr [ebp - 0x10], ebx */ 1549 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(ebx); 1550 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1551 _flag_k = FK_CMP; 1552 RECOMP_BACKEDGE(); 1553 if (CMP_NE(_flag_a, _flag_b)) goto L_2B017177; /* 0x2B017196: jne 0x2b017177 */ 1554 L_2B017198: 1555 eax = MEM32(esi + 0x4); /* 0x2B017198: mov eax, dword ptr [esi + 4] */ 1556 PUSH32(esp, eax); /* 0x2B01719B: push eax */ 1557 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01719C: call 0x2b0ab1ba */ /* not lifted */ 1558 RECOMP_FLAGS_IN(); 1559 eax = MEM32(esi + 0x8); /* 0x2B0171A1: mov eax, dword ptr [esi + 8] */ 1560 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1561 ebx = 0; /* 0x2B0171A4: xor ebx, ebx */ 1562 _cf = 0; 1563 _flag_k = FK_TEST; 1564 PUSH32(esp, eax); /* 0x2B0171A6: push eax */ 1565 MEM32(esi + 0x4) = ebx; /* 0x2B0171A7: mov dword ptr [esi + 4], ebx */ 1566 MEM32(esi + 0x10) = ebx; /* 0x2B0171AA: mov dword ptr [esi + 0x10], ebx */ 1567 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0171AD: call 0x2b0ab1ba */ /* not lifted */ 1568 RECOMP_FLAGS_IN(); 1569 MEM32(esi + 0x8) = ebx; /* 0x2B0171B2: mov dword ptr [esi + 8], ebx */ 1570 esi = MEM32(edi + 0x4); /* 0x2B0171B5: mov esi, dword ptr [edi + 4] */ 1571 ecx = MEM32(edi + 0x10); /* 0x2B0171B8: mov ecx, dword ptr [edi + 0x10] */ 1572 eax = MEM32(esi); /* 0x2B0171BB: mov eax, dword ptr [esi] */ 1573 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1574 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1575 esp = esp + 8; /* 0x2B0171BD: add esp, 8 */ 1576 _flag_k = FK_ADD; 1577 /* cmp ecx, ebx */ /* 0x2B0171C0: cmp ecx, ebx */ 1578 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 1579 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1580 _flag_k = FK_CMP; 1581 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B0171C2: mov dword ptr [ebp - 4], 0xffffffff */ 1582 MEM32(ebp + (-0x10)) = eax; /* 0x2B0171C9: mov dword ptr [ebp - 0x10], eax */ 1583 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B017207; /* 0x2B0171CC: je 0x2b017207 */ 1584 L_2B0171CE: 1585 ecx = eax; /* 0x2B0171CE: mov ecx, eax */ 1586 /* cmp eax, ecx */ /* 0x2B0171D0: cmp eax, ecx */ 1587 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1588 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1589 _flag_k = FK_CMP; 1590 if (CMP_NE(_flag_a, _flag_b)) goto L_2B017207; /* 0x2B0171D2: jne 0x2b017207 */ 1591 L_2B0171D4: 1592 /* cmp esi, esi */ /* 0x2B0171D4: cmp esi, esi */ 1593 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 1594 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1595 _flag_k = FK_CMP; 1596 if (CMP_NE(_flag_a, _flag_b)) goto L_2B017207; /* 0x2B0171D6: jne 0x2b017207 */ 1597 L_2B0171D8: 1598 eax = MEM32(esi + 0x4); /* 0x2B0171D8: mov eax, dword ptr [esi + 4] */ 1599 PUSH32(esp, eax); /* 0x2B0171DB: push eax */ 1600 ecx = edi; /* 0x2B0171DC: mov ecx, edi */ 1601 RECOMP_ICALL(0x2B0190A0u); /* 0x2B0171DE: call 0x2b0190a0 */ /* not lifted */ 1602 RECOMP_FLAGS_IN(); 1603 ecx = MEM32(edi + 0x4); /* 0x2B0171E3: mov ecx, dword ptr [edi + 4] */ 1604 edx = MEM32(edi + 0x8); /* 0x2B0171E6: mov edx, dword ptr [edi + 8] */ 1605 MEM32(ecx + 0x4) = edx; /* 0x2B0171E9: mov dword ptr [ecx + 4], edx */ 1606 eax = MEM32(edi + 0x4); /* 0x2B0171EC: mov eax, dword ptr [edi + 4] */ 1607 MEM32(edi + 0x10) = ebx; /* 0x2B0171EF: mov dword ptr [edi + 0x10], ebx */ 1608 MEM32(eax) = eax; /* 0x2B0171F2: mov dword ptr [eax], eax */ 1609 eax = MEM32(edi + 0x4); /* 0x2B0171F4: mov eax, dword ptr [edi + 4] */ 1610 MEM32(eax + 0x8) = eax; /* 0x2B0171F7: mov dword ptr [eax + 8], eax */ 1611 eax = ebp + (-0x1C); /* 0x2B0171FA: lea eax, [ebp - 0x1c] */ 1612 PUSH32(esp, eax); /* 0x2B0171FD: push eax */ 1613 ecx = edi; /* 0x2B0171FE: mov ecx, edi */ 1614 RECOMP_ICALL(0x2B018B60u); /* 0x2B017200: call 0x2b018b60 */ /* not lifted */ 1615 RECOMP_FLAGS_IN(); 1616 goto L_2B01722B; /* 0x2B017205: jmp 0x2b01722b */ 1617 L_2B017207: 1618 /* cmp eax, esi */ /* 0x2B017207: cmp eax, esi */ 1619 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 1620 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1621 _flag_k = FK_CMP; 1622 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01722B; /* 0x2B017209: je 0x2b01722b */ 1623 L_2B01720B: 1624 PUSH32(esp, ebx); /* 0x2B01720B: push ebx */ 1625 ecx = ebp + (-0x18); /* 0x2B01720C: lea ecx, [ebp - 0x18] */ 1626 PUSH32(esp, ecx); /* 0x2B01720F: push ecx */ 1627 ecx = ebp + (-0x10); /* 0x2B017210: lea ecx, [ebp - 0x10] */ 1628 RECOMP_ICALL(0x2B019100u); /* 0x2B017213: call 0x2b019100 */ /* not lifted */ 1629 RECOMP_FLAGS_IN(); 1630 edx = MEM32(eax); /* 0x2B017218: mov edx, dword ptr [eax] */ 1631 PUSH32(esp, edx); /* 0x2B01721A: push edx */ 1632 eax = ebp + (-0x14); /* 0x2B01721B: lea eax, [ebp - 0x14] */ 1633 PUSH32(esp, eax); /* 0x2B01721E: push eax */ 1634 ecx = edi; /* 0x2B01721F: mov ecx, edi */ 1635 RECOMP_ICALL(0x2B06D4F0u); /* 0x2B017221: call 0x2b06d4f0 */ /* not lifted */ 1636 RECOMP_FLAGS_IN(); 1637 /* cmp MEM32(ebp + (-0x10)), esi */ /* 0x2B017226: cmp dword ptr [ebp - 0x10], esi */ 1638 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(esi); 1639 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1640 _flag_k = FK_CMP; 1641 RECOMP_BACKEDGE(); 1642 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01720B; /* 0x2B017229: jne 0x2b01720b */ 1643 L_2B01722B: 1644 ecx = MEM32(edi + 0x4); /* 0x2B01722B: mov ecx, dword ptr [edi + 4] */ 1645 PUSH32(esp, ecx); /* 0x2B01722E: push ecx */ 1646 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01722F: call 0x2b0ab1ba */ /* not lifted */ 1647 RECOMP_FLAGS_IN(); 1648 edx = MEM32(edi + 0x8); /* 0x2B017234: mov edx, dword ptr [edi + 8] */ 1649 PUSH32(esp, edx); /* 0x2B017237: push edx */ 1650 MEM32(edi + 0x4) = ebx; /* 0x2B017238: mov dword ptr [edi + 4], ebx */ 1651 MEM32(edi + 0x10) = ebx; /* 0x2B01723B: mov dword ptr [edi + 0x10], ebx */ 1652 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01723E: call 0x2b0ab1ba */ /* not lifted */ 1653 RECOMP_FLAGS_IN(); 1654 ecx = MEM32(ebp + (-0xC)); /* 0x2B017243: mov ecx, dword ptr [ebp - 0xc] */ 1655 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1656 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1657 esp = esp + 8; /* 0x2B017246: add esp, 8 */ 1658 _flag_k = FK_ADD; 1659 MEM32(edi + 0x8) = ebx; /* 0x2B017249: mov dword ptr [edi + 8], ebx */ 1660 edi = POP32_VAL(esp); /* 0x2B01724C: pop edi */ 1661 esi = POP32_VAL(esp); /* 0x2B01724D: pop esi */ 1662 ebx = POP32_VAL(esp); /* 0x2B01724E: pop ebx */ 1663 MEM32(FS_BASE + (0)) = ecx; /* 0x2B01724F: mov dword ptr fs:[0], ecx */ 1664 esp = ebp; /* 0x2B017256: mov esp, ebp */ 1665 ebp = POP32_VAL(esp); /* 0x2B017258: pop ebp */ 1666 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B017259: ret */ 1667 L_2B0ACDE0: 1668 ecx = MEM32(ebp + (-0x14)); /* 0x2B0ACDE0: mov ecx, dword ptr [ebp - 0x14] */ 1669 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 1670 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1671 ecx = ecx + 4; /* 0x2B0ACDE3: add ecx, 4 */ 1672 _flag_k = FK_ADD; 1673 RECOMP_BACKEDGE(); 1674 goto L_2B0170E0; /* 0x2B0ACDE6: jmp 0x2b0170e0 */ 1675 { RECOMP_REGS_OUT(); return; } /* end of function */ 1676 RECOMP_REGS_OUT(); 1677 } 1678 1679 void sub_2B0ACDEB(void) { 1680 int _fpu_cmp = 0; 1681 uint32_t _cf = 0; 1682 int _df = 1; 1683 uint32_t _flag_k = FK_NONE; 1684 uint32_t _flag_a = 0, _flag_b = 0; 1685 uint32_t _itail_tgt = 0; 1686 RECOMP_REGS_LOCALS 1687 RECOMP_ENTER(0x2B0ACDEBu); 1688 1689 goto L_2B0ACDEB; 1690 L_2B0188B0: 1691 PUSH32(esp, ebp); /* 0x2B0188B0: push ebp */ 1692 ebp = esp; /* 0x2B0188B1: mov ebp, esp */ 1693 PUSH32(esp, ecx); /* 0x2B0188B3: push ecx */ 1694 PUSH32(esp, ebx); /* 0x2B0188B4: push ebx */ 1695 ebx = ecx; /* 0x2B0188B5: mov ebx, ecx */ 1696 eax = MEM32(ebx + 0x4); /* 0x2B0188B7: mov eax, dword ptr [ebx + 4] */ 1697 PUSH32(esp, edi); /* 0x2B0188BA: push edi */ 1698 edi = MEM32(eax); /* 0x2B0188BB: mov edi, dword ptr [eax] */ 1699 /* cmp edi, eax */ /* 0x2B0188BD: cmp edi, eax */ 1700 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 1701 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1702 _flag_k = FK_CMP; 1703 MEM32(ebp + (-0x4)) = eax; /* 0x2B0188BF: mov dword ptr [ebp - 4], eax */ 1704 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0188F8; /* 0x2B0188C2: je 0x2b0188f8 */ 1705 L_2B0188C4: 1706 PUSH32(esp, esi); /* 0x2B0188C4: push esi */ 1707 L_2B0188C5: 1708 esi = edi; /* 0x2B0188C5: mov esi, edi */ 1709 eax = MEM32(esi + 0x4); /* 0x2B0188C7: mov eax, dword ptr [esi + 4] */ 1710 ecx = MEM32(esi); /* 0x2B0188CA: mov ecx, dword ptr [esi] */ 1711 edi = MEM32(edi); /* 0x2B0188CC: mov edi, dword ptr [edi] */ 1712 MEM32(eax) = ecx; /* 0x2B0188CE: mov dword ptr [eax], ecx */ 1713 edx = MEM32(esi); /* 0x2B0188D0: mov edx, dword ptr [esi] */ 1714 eax = MEM32(esi + 0x4); /* 0x2B0188D2: mov eax, dword ptr [esi + 4] */ 1715 ecx = esi + 0x8; /* 0x2B0188D5: lea ecx, [esi + 8] */ 1716 MEM32(edx + 0x4) = eax; /* 0x2B0188D8: mov dword ptr [edx + 4], eax */ 1717 RECOMP_ICALL(0x2B0170E0u); /* 0x2B0188DB: call 0x2b0170e0 */ /* not lifted */ 1718 RECOMP_FLAGS_IN(); 1719 PUSH32(esp, esi); /* 0x2B0188E0: push esi */ 1720 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0188E1: call 0x2b0ab1ba */ /* not lifted */ 1721 RECOMP_FLAGS_IN(); 1722 ecx = MEM32(ebx + 0x8); /* 0x2B0188E6: mov ecx, dword ptr [ebx + 8] */ 1723 eax = MEM32(ebp + (-0x4)); /* 0x2B0188E9: mov eax, dword ptr [ebp - 4] */ 1724 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1725 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1726 esp = esp + 4; /* 0x2B0188EC: add esp, 4 */ 1727 _flag_k = FK_ADD; 1728 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 1729 ecx = ecx - 1; /* 0x2B0188EF: dec ecx */ 1730 _flag_k = FK_DEC; 1731 /* cmp edi, eax */ /* 0x2B0188F0: cmp edi, eax */ 1732 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 1733 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1734 _flag_k = FK_CMP; 1735 MEM32(ebx + 0x8) = ecx; /* 0x2B0188F2: mov dword ptr [ebx + 8], ecx */ 1736 RECOMP_BACKEDGE(); 1737 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0188C5; /* 0x2B0188F5: jne 0x2b0188c5 */ 1738 L_2B0188F7: 1739 esi = POP32_VAL(esp); /* 0x2B0188F7: pop esi */ 1740 L_2B0188F8: 1741 ecx = MEM32(ebx + 0x4); /* 0x2B0188F8: mov ecx, dword ptr [ebx + 4] */ 1742 PUSH32(esp, ecx); /* 0x2B0188FB: push ecx */ 1743 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0188FC: call 0x2b0ab1ba */ /* not lifted */ 1744 RECOMP_FLAGS_IN(); 1745 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1746 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1747 esp = esp + 4; /* 0x2B018901: add esp, 4 */ 1748 _flag_k = FK_ADD; 1749 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1750 eax = 0; /* 0x2B018904: xor eax, eax */ 1751 _cf = 0; 1752 _flag_k = FK_TEST; 1753 edi = POP32_VAL(esp); /* 0x2B018906: pop edi */ 1754 MEM32(ebx + 0x4) = eax; /* 0x2B018907: mov dword ptr [ebx + 4], eax */ 1755 MEM32(ebx + 0x8) = eax; /* 0x2B01890A: mov dword ptr [ebx + 8], eax */ 1756 ebx = POP32_VAL(esp); /* 0x2B01890D: pop ebx */ 1757 esp = ebp; /* 0x2B01890E: mov esp, ebp */ 1758 ebp = POP32_VAL(esp); /* 0x2B018910: pop ebp */ 1759 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B018911: ret */ 1760 L_2B0ACDEB: 1761 ecx = MEM32(ebp + (-0x14)); /* 0x2B0ACDEB: mov ecx, dword ptr [ebp - 0x14] */ 1762 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x98u); 1763 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1764 ecx = ecx + 0x98u; /* 0x2B0ACDEE: add ecx, 0x98 */ 1765 _flag_k = FK_ADD; 1766 RECOMP_BACKEDGE(); 1767 goto L_2B0188B0; /* 0x2B0ACDF4: jmp 0x2b0188b0 */ 1768 { RECOMP_REGS_OUT(); return; } /* end of function */ 1769 RECOMP_REGS_OUT(); 1770 } 1771 1772 void sub_2B0ACDF9(void) { 1773 int _fpu_cmp = 0; 1774 uint32_t _cf = 0; 1775 int _df = 1; 1776 uint32_t _flag_k = FK_NONE; 1777 uint32_t _flag_a = 0, _flag_b = 0; 1778 uint32_t _itail_tgt = 0; 1779 RECOMP_REGS_LOCALS 1780 RECOMP_ENTER(0x2B0ACDF9u); 1781 1782 goto L_2B0ACDF9; 1783 L_2B017260: 1784 PUSH32(esp, ebp); /* 0x2B017260: push ebp */ 1785 ebp = esp; /* 0x2B017261: mov ebp, esp */ 1786 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1787 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1788 esp = esp - 8; /* 0x2B017263: sub esp, 8 */ 1789 _flag_k = FK_CMP; 1790 PUSH32(esp, ebx); /* 0x2B017266: push ebx */ 1791 PUSH32(esp, esi); /* 0x2B017267: push esi */ 1792 esi = ecx; /* 0x2B017268: mov esi, ecx */ 1793 ecx = MEM32(esi + 0x10); /* 0x2B01726A: mov ecx, dword ptr [esi + 0x10] */ 1794 /* test ecx, ecx */ /* 0x2B01726D: test ecx, ecx */ 1795 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1796 _cf = 0; 1797 _flag_k = FK_TEST; 1798 PUSH32(esp, edi); /* 0x2B01726F: push edi */ 1799 edi = MEM32(esi + 0x4); /* 0x2B017270: mov edi, dword ptr [esi + 4] */ 1800 eax = MEM32(edi); /* 0x2B017273: mov eax, dword ptr [edi] */ 1801 MEM32(ebp + (-0x4)) = eax; /* 0x2B017275: mov dword ptr [ebp - 4], eax */ 1802 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0172D5; /* 0x2B017278: je 0x2b0172d5 */ 1803 L_2B01727A: 1804 ecx = eax; /* 0x2B01727A: mov ecx, eax */ 1805 /* cmp eax, ecx */ /* 0x2B01727C: cmp eax, ecx */ 1806 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1807 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1808 _flag_k = FK_CMP; 1809 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0172D5; /* 0x2B01727E: jne 0x2b0172d5 */ 1810 L_2B017280: 1811 /* cmp edi, edi */ /* 0x2B017280: cmp edi, edi */ 1812 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 1813 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1814 _flag_k = FK_CMP; 1815 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0172D5; /* 0x2B017282: jne 0x2b0172d5 */ 1816 L_2B017284: 1817 ebx = MEM32(edi + 0x4); /* 0x2B017284: mov ebx, dword ptr [edi + 4] */ 1818 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2B017287: cmp ebx, dword ptr [esi + 8] */ 1819 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1820 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1821 _flag_k = FK_CMP; 1822 edi = ebx; /* 0x2B01728A: mov edi, ebx */ 1823 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0172AD; /* 0x2B01728C: je 0x2b0172ad */ 1824 L_2B01728E: 1825 eax = MEM32(edi + 0x8); /* 0x2B01728E: mov eax, dword ptr [edi + 8] */ 1826 PUSH32(esp, eax); /* 0x2B017291: push eax */ 1827 ecx = esi; /* 0x2B017292: mov ecx, esi */ 1828 RECOMP_ICALL(0x2B0190A0u); /* 0x2B017294: call 0x2b0190a0 */ /* not lifted */ 1829 RECOMP_FLAGS_IN(); 1830 edi = MEM32(edi); /* 0x2B017299: mov edi, dword ptr [edi] */ 1831 PUSH32(esp, ebx); /* 0x2B01729B: push ebx */ 1832 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01729C: call 0x2b0ab1ba */ /* not lifted */ 1833 RECOMP_FLAGS_IN(); 1834 eax = MEM32(esi + 0x8); /* 0x2B0172A1: mov eax, dword ptr [esi + 8] */ 1835 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1836 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1837 esp = esp + 4; /* 0x2B0172A4: add esp, 4 */ 1838 _flag_k = FK_ADD; 1839 /* cmp edi, eax */ /* 0x2B0172A7: cmp edi, eax */ 1840 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 1841 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1842 _flag_k = FK_CMP; 1843 ebx = edi; /* 0x2B0172A9: mov ebx, edi */ 1844 RECOMP_BACKEDGE(); 1845 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01728E; /* 0x2B0172AB: jne 0x2b01728e */ 1846 L_2B0172AD: 1847 ecx = MEM32(esi + 0x4); /* 0x2B0172AD: mov ecx, dword ptr [esi + 4] */ 1848 edx = MEM32(esi + 0x8); /* 0x2B0172B0: mov edx, dword ptr [esi + 8] */ 1849 MEM32(ecx + 0x4) = edx; /* 0x2B0172B3: mov dword ptr [ecx + 4], edx */ 1850 eax = MEM32(esi + 0x4); /* 0x2B0172B6: mov eax, dword ptr [esi + 4] */ 1851 MEM32(esi + 0x10) = 0; /* 0x2B0172B9: mov dword ptr [esi + 0x10], 0 */ 1852 MEM32(eax) = eax; /* 0x2B0172C0: mov dword ptr [eax], eax */ 1853 eax = MEM32(esi + 0x4); /* 0x2B0172C2: mov eax, dword ptr [esi + 4] */ 1854 MEM32(eax + 0x8) = eax; /* 0x2B0172C5: mov dword ptr [eax + 8], eax */ 1855 eax = ebp + (-0x8); /* 0x2B0172C8: lea eax, [ebp - 8] */ 1856 PUSH32(esp, eax); /* 0x2B0172CB: push eax */ 1857 ecx = esi; /* 0x2B0172CC: mov ecx, esi */ 1858 RECOMP_ICALL(0x2B018B60u); /* 0x2B0172CE: call 0x2b018b60 */ /* not lifted */ 1859 RECOMP_FLAGS_IN(); 1860 goto L_2B0172F6; /* 0x2B0172D3: jmp 0x2b0172f6 */ 1861 L_2B0172D5: 1862 /* cmp eax, edi */ /* 0x2B0172D5: cmp eax, edi */ 1863 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1864 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1865 _flag_k = FK_CMP; 1866 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0172F6; /* 0x2B0172D7: je 0x2b0172f6 */ 1867 L_2B0172D9: 1868 ecx = ebp + (-0x4); /* 0x2B0172D9: lea ecx, [ebp - 4] */ 1869 ebx = eax; /* 0x2B0172DC: mov ebx, eax */ 1870 RECOMP_ICALL(0x2B06A300u); /* 0x2B0172DE: call 0x2b06a300 */ /* not lifted */ 1871 RECOMP_FLAGS_IN(); 1872 PUSH32(esp, ebx); /* 0x2B0172E3: push ebx */ 1873 ecx = ebp + (-0x8); /* 0x2B0172E4: lea ecx, [ebp - 8] */ 1874 PUSH32(esp, ecx); /* 0x2B0172E7: push ecx */ 1875 ecx = esi; /* 0x2B0172E8: mov ecx, esi */ 1876 RECOMP_ICALL(0x2B06D4F0u); /* 0x2B0172EA: call 0x2b06d4f0 */ /* not lifted */ 1877 RECOMP_FLAGS_IN(); 1878 eax = MEM32(ebp + (-0x4)); /* 0x2B0172EF: mov eax, dword ptr [ebp - 4] */ 1879 /* cmp eax, edi */ /* 0x2B0172F2: cmp eax, edi */ 1880 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1881 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1882 _flag_k = FK_CMP; 1883 RECOMP_BACKEDGE(); 1884 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0172D9; /* 0x2B0172F4: jne 0x2b0172d9 */ 1885 L_2B0172F6: 1886 edx = MEM32(esi + 0x4); /* 0x2B0172F6: mov edx, dword ptr [esi + 4] */ 1887 PUSH32(esp, edx); /* 0x2B0172F9: push edx */ 1888 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0172FA: call 0x2b0ab1ba */ /* not lifted */ 1889 RECOMP_FLAGS_IN(); 1890 eax = MEM32(esi + 0x8); /* 0x2B0172FF: mov eax, dword ptr [esi + 8] */ 1891 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1892 edi = 0; /* 0x2B017302: xor edi, edi */ 1893 _cf = 0; 1894 _flag_k = FK_TEST; 1895 PUSH32(esp, eax); /* 0x2B017304: push eax */ 1896 MEM32(esi + 0x4) = edi; /* 0x2B017305: mov dword ptr [esi + 4], edi */ 1897 MEM32(esi + 0x10) = edi; /* 0x2B017308: mov dword ptr [esi + 0x10], edi */ 1898 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01730B: call 0x2b0ab1ba */ /* not lifted */ 1899 RECOMP_FLAGS_IN(); 1900 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1901 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1902 esp = esp + 8; /* 0x2B017310: add esp, 8 */ 1903 _flag_k = FK_ADD; 1904 MEM32(esi + 0x8) = edi; /* 0x2B017313: mov dword ptr [esi + 8], edi */ 1905 edi = POP32_VAL(esp); /* 0x2B017316: pop edi */ 1906 esi = POP32_VAL(esp); /* 0x2B017317: pop esi */ 1907 ebx = POP32_VAL(esp); /* 0x2B017318: pop ebx */ 1908 esp = ebp; /* 0x2B017319: mov esp, ebp */ 1909 ebp = POP32_VAL(esp); /* 0x2B01731B: pop ebp */ 1910 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01731C: ret */ 1911 L_2B0ACDF9: 1912 ecx = MEM32(ebp + (-0x18)); /* 0x2B0ACDF9: mov ecx, dword ptr [ebp - 0x18] */ 1913 RECOMP_BACKEDGE(); 1914 goto L_2B017260; /* 0x2B0ACDFC: jmp 0x2b017260 */ 1915 { RECOMP_REGS_OUT(); return; } /* end of function */ 1916 RECOMP_REGS_OUT(); 1917 } 1918 1919 void sub_2B0ACE01(void) { 1920 int _fpu_cmp = 0; 1921 uint32_t _cf = 0; 1922 int _df = 1; 1923 uint32_t _flag_k = FK_NONE; 1924 uint32_t _flag_a = 0, _flag_b = 0; 1925 uint32_t _itail_tgt = 0; 1926 RECOMP_REGS_LOCALS 1927 RECOMP_ENTER(0x2B0ACE01u); 1928 1929 goto L_2B0ACE01; 1930 L_2B0AB218: 1931 { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; } 1932 L_2B0ACE01: 1933 eax = 0x2B0B9F78u; /* 0x2B0ACE01: mov eax, 0x2b0b9f78 */ 1934 L_2B0ACE06: 1935 RECOMP_BACKEDGE(); 1936 goto L_2B0AB218; /* 0x2B0ACE06: jmp 0x2b0ab218 */ 1937 { RECOMP_REGS_OUT(); return; } /* end of function */ 1938 _ljump: 1939 switch (_itail_tgt) { 1940 case 0x2B0AB218u: goto L_2B0AB218; 1941 case 0x2B0ACE01u: goto L_2B0ACE01; 1942 case 0x2B0ACE06u: goto L_2B0ACE06; 1943 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1944 } 1945 RECOMP_REGS_OUT(); 1946 } 1947 1948 void sub_2B0ACE10(void) { 1949 int _fpu_cmp = 0; 1950 uint32_t _cf = 0; 1951 int _df = 1; 1952 uint32_t _flag_k = FK_NONE; 1953 uint32_t _flag_a = 0, _flag_b = 0; 1954 uint32_t _itail_tgt = 0; 1955 RECOMP_REGS_LOCALS 1956 RECOMP_ENTER(0x2B0ACE10u); 1957 1958 L_2B0ACE10: 1959 ecx = ebp + 0x8; /* 0x2B0ACE10: lea ecx, [ebp + 8] */ 1960 L_2B0ACE13: 1961 { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; } 1962 { RECOMP_REGS_OUT(); return; } /* end of function */ 1963 _ljump: 1964 switch (_itail_tgt) { 1965 case 0x2B0ACE10u: goto L_2B0ACE10; 1966 case 0x2B0ACE13u: goto L_2B0ACE13; 1967 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1968 } 1969 RECOMP_REGS_OUT(); 1970 } 1971 1972 void sub_2B0ACE19(void) { 1973 int _fpu_cmp = 0; 1974 uint32_t _cf = 0; 1975 int _df = 1; 1976 uint32_t _flag_k = FK_NONE; 1977 uint32_t _flag_a = 0, _flag_b = 0; 1978 uint32_t _itail_tgt = 0; 1979 RECOMP_REGS_LOCALS 1980 RECOMP_ENTER(0x2B0ACE19u); 1981 1982 L_2B0ACE19: 1983 ecx = ebp + (-0x44); /* 0x2B0ACE19: lea ecx, [ebp - 0x44] */ 1984 L_2B0ACE1C: 1985 { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; } 1986 { RECOMP_REGS_OUT(); return; } /* end of function */ 1987 _ljump: 1988 switch (_itail_tgt) { 1989 case 0x2B0ACE19u: goto L_2B0ACE19; 1990 case 0x2B0ACE1Cu: goto L_2B0ACE1C; 1991 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1992 } 1993 RECOMP_REGS_OUT(); 1994 } 1995 1996 void sub_2B0ACE22(void) { 1997 int _fpu_cmp = 0; 1998 uint32_t _cf = 0; 1999 int _df = 1; 2000 uint32_t _flag_k = FK_NONE; 2001 uint32_t _flag_a = 0, _flag_b = 0; 2002 uint32_t _itail_tgt = 0; 2003 RECOMP_REGS_LOCALS 2004 RECOMP_ENTER(0x2B0ACE22u); 2005 2006 L_2B0ACE22: 2007 ecx = ebp + (-0x44); /* 0x2B0ACE22: lea ecx, [ebp - 0x44] */ 2008 L_2B0ACE25: 2009 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 2010 { RECOMP_REGS_OUT(); return; } /* end of function */ 2011 _ljump: 2012 switch (_itail_tgt) { 2013 case 0x2B0ACE22u: goto L_2B0ACE22; 2014 case 0x2B0ACE25u: goto L_2B0ACE25; 2015 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2016 } 2017 RECOMP_REGS_OUT(); 2018 } 2019 2020 void sub_2B0ACE2B(void) { 2021 int _fpu_cmp = 0; 2022 uint32_t _cf = 0; 2023 int _df = 1; 2024 uint32_t _flag_k = FK_NONE; 2025 uint32_t _flag_a = 0, _flag_b = 0; 2026 uint32_t _itail_tgt = 0; 2027 RECOMP_REGS_LOCALS 2028 RECOMP_ENTER(0x2B0ACE2Bu); 2029 2030 L_2B0ACE2B: 2031 ecx = ebp + 0x8; /* 0x2B0ACE2B: lea ecx, [ebp + 8] */ 2032 L_2B0ACE2E: 2033 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 2034 { RECOMP_REGS_OUT(); return; } /* end of function */ 2035 _ljump: 2036 switch (_itail_tgt) { 2037 case 0x2B0ACE2Bu: goto L_2B0ACE2B; 2038 case 0x2B0ACE2Eu: goto L_2B0ACE2E; 2039 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2040 } 2041 RECOMP_REGS_OUT(); 2042 } 2043 2044 void sub_2B0ACE34(void) { 2045 int _fpu_cmp = 0; 2046 uint32_t _cf = 0; 2047 int _df = 1; 2048 uint32_t _flag_k = FK_NONE; 2049 uint32_t _flag_a = 0, _flag_b = 0; 2050 uint32_t _itail_tgt = 0; 2051 RECOMP_REGS_LOCALS 2052 RECOMP_ENTER(0x2B0ACE34u); 2053 2054 L_2B0ACE34: 2055 ecx = ebp + (-0x58); /* 0x2B0ACE34: lea ecx, [ebp - 0x58] */ 2056 L_2B0ACE37: 2057 { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; } 2058 { RECOMP_REGS_OUT(); return; } /* end of function */ 2059 _ljump: 2060 switch (_itail_tgt) { 2061 case 0x2B0ACE34u: goto L_2B0ACE34; 2062 case 0x2B0ACE37u: goto L_2B0ACE37; 2063 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2064 } 2065 RECOMP_REGS_OUT(); 2066 } 2067 2068 void sub_2B0ACE3D(void) { 2069 int _fpu_cmp = 0; 2070 uint32_t _cf = 0; 2071 int _df = 1; 2072 uint32_t _flag_k = FK_NONE; 2073 uint32_t _flag_a = 0, _flag_b = 0; 2074 uint32_t _itail_tgt = 0; 2075 RECOMP_REGS_LOCALS 2076 RECOMP_ENTER(0x2B0ACE3Du); 2077 2078 L_2B0ACE3D: 2079 ecx = ebp + (-0x84); /* 0x2B0ACE3D: lea ecx, [ebp - 0x84] */ 2080 L_2B0ACE43: 2081 { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; } 2082 { RECOMP_REGS_OUT(); return; } /* end of function */ 2083 _ljump: 2084 switch (_itail_tgt) { 2085 case 0x2B0ACE3Du: goto L_2B0ACE3D; 2086 case 0x2B0ACE43u: goto L_2B0ACE43; 2087 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2088 } 2089 RECOMP_REGS_OUT(); 2090 } 2091 2092 void sub_2B0ACE49(void) { 2093 int _fpu_cmp = 0; 2094 uint32_t _cf = 0; 2095 int _df = 1; 2096 uint32_t _flag_k = FK_NONE; 2097 uint32_t _flag_a = 0, _flag_b = 0; 2098 uint32_t _itail_tgt = 0; 2099 RECOMP_REGS_LOCALS 2100 RECOMP_ENTER(0x2B0ACE49u); 2101 2102 goto L_2B0ACE49; 2103 L_2B018920: 2104 PUSH32(esp, ebx); /* 0x2B018920: push ebx */ 2105 PUSH32(esp, esi); /* 0x2B018921: push esi */ 2106 PUSH32(esp, edi); /* 0x2B018922: push edi */ 2107 edi = ecx; /* 0x2B018923: mov edi, ecx */ 2108 esi = MEM32(edi + 0x14); /* 0x2B018925: mov esi, dword ptr [edi + 0x14] */ 2109 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2110 ebx = 0; /* 0x2B018928: xor ebx, ebx */ 2111 _cf = 0; 2112 _flag_k = FK_TEST; 2113 /* cmp esi, ebx */ /* 0x2B01892A: cmp esi, ebx */ 2114 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 2115 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2116 _flag_k = FK_CMP; 2117 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B018998; /* 0x2B01892C: je 0x2b018998 */ 2118 L_2B01892E: 2119 _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1); 2120 MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01892E: dec dword ptr [esi + 0x2c] */ 2121 _flag_k = FK_DEC; 2122 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B018998; /* 0x2B018931: jne 0x2b018998 */ 2123 L_2B018933: 2124 /* cmp esi, ebx */ /* 0x2B018933: cmp esi, ebx */ 2125 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 2126 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2127 _flag_k = FK_CMP; 2128 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B018998; /* 0x2B018935: je 0x2b018998 */ 2129 L_2B018937: 2130 eax = MEM32(esi + 0x20); /* 0x2B018937: mov eax, dword ptr [esi + 0x20] */ 2131 /* cmp eax, ebx */ /* 0x2B01893A: cmp eax, ebx */ 2132 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2133 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2134 _flag_k = FK_CMP; 2135 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01895A; /* 0x2B01893C: je 0x2b01895a */ 2136 L_2B01893E: 2137 ecx = eax + (-0x1); /* 0x2B01893E: lea ecx, [eax - 1] */ 2138 SET_LO8(eax, MEM8(ecx)); /* 0x2B018941: mov al, byte ptr [ecx] */ 2139 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B018943: cmp al, bl */ 2140 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2141 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2142 _flag_k = FK_NARROW(FK_CMP, 24); 2143 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B018951; /* 0x2B018945: je 0x2b018951 */ 2144 L_2B018947: 2145 /* cmp LO8(eax), 0xFFu */ /* 0x2B018947: cmp al, 0xff */ 2146 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 2147 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2148 _flag_k = FK_NARROW(FK_CMP, 24); 2149 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B018951; /* 0x2B018949: je 0x2b018951 */ 2150 L_2B01894B: 2151 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 2152 SET_LO8(eax, LO8(eax) - 1); /* 0x2B01894B: dec al */ 2153 _flag_k = FK_NARROW(FK_DEC, 24); 2154 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01894D: mov byte ptr [ecx], al */ 2155 goto L_2B01895A; /* 0x2B01894F: jmp 0x2b01895a */ 2156 L_2B018951: 2157 PUSH32(esp, ecx); /* 0x2B018951: push ecx */ 2158 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B018952: call 0x2b0ab1ba */ /* not lifted */ 2159 RECOMP_FLAGS_IN(); 2160 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2161 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2162 esp = esp + 4; /* 0x2B018957: add esp, 4 */ 2163 _flag_k = FK_ADD; 2164 L_2B01895A: 2165 MEM32(esi + 0x20) = ebx; /* 0x2B01895A: mov dword ptr [esi + 0x20], ebx */ 2166 MEM32(esi + 0x24) = ebx; /* 0x2B01895D: mov dword ptr [esi + 0x24], ebx */ 2167 MEM32(esi + 0x28) = ebx; /* 0x2B018960: mov dword ptr [esi + 0x28], ebx */ 2168 eax = MEM32(esi + 0x10); /* 0x2B018963: mov eax, dword ptr [esi + 0x10] */ 2169 /* cmp eax, ebx */ /* 0x2B018966: cmp eax, ebx */ 2170 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2171 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2172 _flag_k = FK_CMP; 2173 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B018986; /* 0x2B018968: je 0x2b018986 */ 2174 L_2B01896A: 2175 ecx = eax + (-0x1); /* 0x2B01896A: lea ecx, [eax - 1] */ 2176 SET_LO8(eax, MEM8(ecx)); /* 0x2B01896D: mov al, byte ptr [ecx] */ 2177 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01896F: cmp al, bl */ 2178 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2179 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2180 _flag_k = FK_NARROW(FK_CMP, 24); 2181 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01897D; /* 0x2B018971: je 0x2b01897d */ 2182 L_2B018973: 2183 /* cmp LO8(eax), 0xFFu */ /* 0x2B018973: cmp al, 0xff */ 2184 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 2185 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2186 _flag_k = FK_NARROW(FK_CMP, 24); 2187 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01897D; /* 0x2B018975: je 0x2b01897d */ 2188 L_2B018977: 2189 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 2190 SET_LO8(eax, LO8(eax) - 1); /* 0x2B018977: dec al */ 2191 _flag_k = FK_NARROW(FK_DEC, 24); 2192 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B018979: mov byte ptr [ecx], al */ 2193 goto L_2B018986; /* 0x2B01897B: jmp 0x2b018986 */ 2194 L_2B01897D: 2195 PUSH32(esp, ecx); /* 0x2B01897D: push ecx */ 2196 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01897E: call 0x2b0ab1ba */ /* not lifted */ 2197 RECOMP_FLAGS_IN(); 2198 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2199 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2200 esp = esp + 4; /* 0x2B018983: add esp, 4 */ 2201 _flag_k = FK_ADD; 2202 L_2B018986: 2203 PUSH32(esp, esi); /* 0x2B018986: push esi */ 2204 MEM32(esi + 0x10) = ebx; /* 0x2B018987: mov dword ptr [esi + 0x10], ebx */ 2205 MEM32(esi + 0x14) = ebx; /* 0x2B01898A: mov dword ptr [esi + 0x14], ebx */ 2206 MEM32(esi + 0x18) = ebx; /* 0x2B01898D: mov dword ptr [esi + 0x18], ebx */ 2207 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B018990: call 0x2b0ab1ba */ /* not lifted */ 2208 RECOMP_FLAGS_IN(); 2209 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2210 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2211 esp = esp + 4; /* 0x2B018995: add esp, 4 */ 2212 _flag_k = FK_ADD; 2213 L_2B018998: 2214 eax = MEM32(edi + 0x8); /* 0x2B018998: mov eax, dword ptr [edi + 8] */ 2215 /* cmp eax, ebx */ /* 0x2B01899B: cmp eax, ebx */ 2216 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2217 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2218 _flag_k = FK_CMP; 2219 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0189C6; /* 0x2B01899D: je 0x2b0189c6 */ 2220 L_2B01899F: 2221 ecx = eax + (-0x1); /* 0x2B01899F: lea ecx, [eax - 1] */ 2222 SET_LO8(eax, MEM8(ecx)); /* 0x2B0189A2: mov al, byte ptr [ecx] */ 2223 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B0189A4: cmp al, bl */ 2224 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2225 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2226 _flag_k = FK_NARROW(FK_CMP, 24); 2227 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0189BD; /* 0x2B0189A6: je 0x2b0189bd */ 2228 L_2B0189A8: 2229 /* cmp LO8(eax), 0xFFu */ /* 0x2B0189A8: cmp al, 0xff */ 2230 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 2231 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2232 _flag_k = FK_NARROW(FK_CMP, 24); 2233 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0189BD; /* 0x2B0189AA: je 0x2b0189bd */ 2234 L_2B0189AC: 2235 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 2236 SET_LO8(eax, LO8(eax) - 1); /* 0x2B0189AC: dec al */ 2237 _flag_k = FK_NARROW(FK_DEC, 24); 2238 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B0189AE: mov byte ptr [ecx], al */ 2239 MEM32(edi + 0x8) = ebx; /* 0x2B0189B0: mov dword ptr [edi + 8], ebx */ 2240 MEM32(edi + 0xC) = ebx; /* 0x2B0189B3: mov dword ptr [edi + 0xc], ebx */ 2241 MEM32(edi + 0x10) = ebx; /* 0x2B0189B6: mov dword ptr [edi + 0x10], ebx */ 2242 edi = POP32_VAL(esp); /* 0x2B0189B9: pop edi */ 2243 esi = POP32_VAL(esp); /* 0x2B0189BA: pop esi */ 2244 ebx = POP32_VAL(esp); /* 0x2B0189BB: pop ebx */ 2245 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0189BC: ret */ 2246 L_2B0189BD: 2247 PUSH32(esp, ecx); /* 0x2B0189BD: push ecx */ 2248 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0189BE: call 0x2b0ab1ba */ /* not lifted */ 2249 RECOMP_FLAGS_IN(); 2250 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2251 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2252 esp = esp + 4; /* 0x2B0189C3: add esp, 4 */ 2253 _flag_k = FK_ADD; 2254 L_2B0189C6: 2255 MEM32(edi + 0x8) = ebx; /* 0x2B0189C6: mov dword ptr [edi + 8], ebx */ 2256 MEM32(edi + 0xC) = ebx; /* 0x2B0189C9: mov dword ptr [edi + 0xc], ebx */ 2257 MEM32(edi + 0x10) = ebx; /* 0x2B0189CC: mov dword ptr [edi + 0x10], ebx */ 2258 edi = POP32_VAL(esp); /* 0x2B0189CF: pop edi */ 2259 esi = POP32_VAL(esp); /* 0x2B0189D0: pop esi */ 2260 ebx = POP32_VAL(esp); /* 0x2B0189D1: pop ebx */ 2261 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0189D2: ret */ 2262 L_2B0ACE49: 2263 ecx = ebp + (-0x9C); /* 0x2B0ACE49: lea ecx, [ebp - 0x9c] */ 2264 RECOMP_BACKEDGE(); 2265 goto L_2B018920; /* 0x2B0ACE4F: jmp 0x2b018920 */ 2266 { RECOMP_REGS_OUT(); return; } /* end of function */ 2267 RECOMP_REGS_OUT(); 2268 } 2269 2270 void sub_2B0ACE54(void) { 2271 int _fpu_cmp = 0; 2272 uint32_t _cf = 0; 2273 int _df = 1; 2274 uint32_t _flag_k = FK_NONE; 2275 uint32_t _flag_a = 0, _flag_b = 0; 2276 uint32_t _itail_tgt = 0; 2277 RECOMP_REGS_LOCALS 2278 RECOMP_ENTER(0x2B0ACE54u); 2279 2280 L_2B0ACE54: 2281 ecx = ebp + (-0x84); /* 0x2B0ACE54: lea ecx, [ebp - 0x84] */ 2282 L_2B0ACE5A: 2283 { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; } 2284 { RECOMP_REGS_OUT(); return; } /* end of function */ 2285 _ljump: 2286 switch (_itail_tgt) { 2287 case 0x2B0ACE54u: goto L_2B0ACE54; 2288 case 0x2B0ACE5Au: goto L_2B0ACE5A; 2289 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2290 } 2291 RECOMP_REGS_OUT(); 2292 } 2293 2294 void sub_2B0ACE60(void) { 2295 int _fpu_cmp = 0; 2296 uint32_t _cf = 0; 2297 int _df = 1; 2298 uint32_t _flag_k = FK_NONE; 2299 uint32_t _flag_a = 0, _flag_b = 0; 2300 uint32_t _itail_tgt = 0; 2301 RECOMP_REGS_LOCALS 2302 RECOMP_ENTER(0x2B0ACE60u); 2303 2304 goto L_2B0ACE60; 2305 L_2B018920: 2306 PUSH32(esp, ebx); /* 0x2B018920: push ebx */ 2307 PUSH32(esp, esi); /* 0x2B018921: push esi */ 2308 PUSH32(esp, edi); /* 0x2B018922: push edi */ 2309 edi = ecx; /* 0x2B018923: mov edi, ecx */ 2310 esi = MEM32(edi + 0x14); /* 0x2B018925: mov esi, dword ptr [edi + 0x14] */ 2311 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2312 ebx = 0; /* 0x2B018928: xor ebx, ebx */ 2313 _cf = 0; 2314 _flag_k = FK_TEST; 2315 /* cmp esi, ebx */ /* 0x2B01892A: cmp esi, ebx */ 2316 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 2317 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2318 _flag_k = FK_CMP; 2319 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B018998; /* 0x2B01892C: je 0x2b018998 */ 2320 L_2B01892E: 2321 _flag_a = (uint32_t)(MEM32(esi + 0x2C)); _flag_b = (uint32_t)(1); 2322 MEM32(esi + 0x2C) = MEM32(esi + 0x2C) - 1; /* 0x2B01892E: dec dword ptr [esi + 0x2c] */ 2323 _flag_k = FK_DEC; 2324 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_2B018998; /* 0x2B018931: jne 0x2b018998 */ 2325 L_2B018933: 2326 /* cmp esi, ebx */ /* 0x2B018933: cmp esi, ebx */ 2327 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 2328 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2329 _flag_k = FK_CMP; 2330 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B018998; /* 0x2B018935: je 0x2b018998 */ 2331 L_2B018937: 2332 eax = MEM32(esi + 0x20); /* 0x2B018937: mov eax, dword ptr [esi + 0x20] */ 2333 /* cmp eax, ebx */ /* 0x2B01893A: cmp eax, ebx */ 2334 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2335 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2336 _flag_k = FK_CMP; 2337 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01895A; /* 0x2B01893C: je 0x2b01895a */ 2338 L_2B01893E: 2339 ecx = eax + (-0x1); /* 0x2B01893E: lea ecx, [eax - 1] */ 2340 SET_LO8(eax, MEM8(ecx)); /* 0x2B018941: mov al, byte ptr [ecx] */ 2341 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B018943: cmp al, bl */ 2342 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2343 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2344 _flag_k = FK_NARROW(FK_CMP, 24); 2345 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B018951; /* 0x2B018945: je 0x2b018951 */ 2346 L_2B018947: 2347 /* cmp LO8(eax), 0xFFu */ /* 0x2B018947: cmp al, 0xff */ 2348 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 2349 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2350 _flag_k = FK_NARROW(FK_CMP, 24); 2351 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B018951; /* 0x2B018949: je 0x2b018951 */ 2352 L_2B01894B: 2353 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 2354 SET_LO8(eax, LO8(eax) - 1); /* 0x2B01894B: dec al */ 2355 _flag_k = FK_NARROW(FK_DEC, 24); 2356 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B01894D: mov byte ptr [ecx], al */ 2357 goto L_2B01895A; /* 0x2B01894F: jmp 0x2b01895a */ 2358 L_2B018951: 2359 PUSH32(esp, ecx); /* 0x2B018951: push ecx */ 2360 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B018952: call 0x2b0ab1ba */ /* not lifted */ 2361 RECOMP_FLAGS_IN(); 2362 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2363 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2364 esp = esp + 4; /* 0x2B018957: add esp, 4 */ 2365 _flag_k = FK_ADD; 2366 L_2B01895A: 2367 MEM32(esi + 0x20) = ebx; /* 0x2B01895A: mov dword ptr [esi + 0x20], ebx */ 2368 MEM32(esi + 0x24) = ebx; /* 0x2B01895D: mov dword ptr [esi + 0x24], ebx */ 2369 MEM32(esi + 0x28) = ebx; /* 0x2B018960: mov dword ptr [esi + 0x28], ebx */ 2370 eax = MEM32(esi + 0x10); /* 0x2B018963: mov eax, dword ptr [esi + 0x10] */ 2371 /* cmp eax, ebx */ /* 0x2B018966: cmp eax, ebx */ 2372 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2373 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2374 _flag_k = FK_CMP; 2375 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B018986; /* 0x2B018968: je 0x2b018986 */ 2376 L_2B01896A: 2377 ecx = eax + (-0x1); /* 0x2B01896A: lea ecx, [eax - 1] */ 2378 SET_LO8(eax, MEM8(ecx)); /* 0x2B01896D: mov al, byte ptr [ecx] */ 2379 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B01896F: cmp al, bl */ 2380 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2381 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2382 _flag_k = FK_NARROW(FK_CMP, 24); 2383 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01897D; /* 0x2B018971: je 0x2b01897d */ 2384 L_2B018973: 2385 /* cmp LO8(eax), 0xFFu */ /* 0x2B018973: cmp al, 0xff */ 2386 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 2387 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2388 _flag_k = FK_NARROW(FK_CMP, 24); 2389 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B01897D; /* 0x2B018975: je 0x2b01897d */ 2390 L_2B018977: 2391 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 2392 SET_LO8(eax, LO8(eax) - 1); /* 0x2B018977: dec al */ 2393 _flag_k = FK_NARROW(FK_DEC, 24); 2394 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B018979: mov byte ptr [ecx], al */ 2395 goto L_2B018986; /* 0x2B01897B: jmp 0x2b018986 */ 2396 L_2B01897D: 2397 PUSH32(esp, ecx); /* 0x2B01897D: push ecx */ 2398 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01897E: call 0x2b0ab1ba */ /* not lifted */ 2399 RECOMP_FLAGS_IN(); 2400 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2401 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2402 esp = esp + 4; /* 0x2B018983: add esp, 4 */ 2403 _flag_k = FK_ADD; 2404 L_2B018986: 2405 PUSH32(esp, esi); /* 0x2B018986: push esi */ 2406 MEM32(esi + 0x10) = ebx; /* 0x2B018987: mov dword ptr [esi + 0x10], ebx */ 2407 MEM32(esi + 0x14) = ebx; /* 0x2B01898A: mov dword ptr [esi + 0x14], ebx */ 2408 MEM32(esi + 0x18) = ebx; /* 0x2B01898D: mov dword ptr [esi + 0x18], ebx */ 2409 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B018990: call 0x2b0ab1ba */ /* not lifted */ 2410 RECOMP_FLAGS_IN(); 2411 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2412 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2413 esp = esp + 4; /* 0x2B018995: add esp, 4 */ 2414 _flag_k = FK_ADD; 2415 L_2B018998: 2416 eax = MEM32(edi + 0x8); /* 0x2B018998: mov eax, dword ptr [edi + 8] */ 2417 /* cmp eax, ebx */ /* 0x2B01899B: cmp eax, ebx */ 2418 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2419 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2420 _flag_k = FK_CMP; 2421 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0189C6; /* 0x2B01899D: je 0x2b0189c6 */ 2422 L_2B01899F: 2423 ecx = eax + (-0x1); /* 0x2B01899F: lea ecx, [eax - 1] */ 2424 SET_LO8(eax, MEM8(ecx)); /* 0x2B0189A2: mov al, byte ptr [ecx] */ 2425 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B0189A4: cmp al, bl */ 2426 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2427 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2428 _flag_k = FK_NARROW(FK_CMP, 24); 2429 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0189BD; /* 0x2B0189A6: je 0x2b0189bd */ 2430 L_2B0189A8: 2431 /* cmp LO8(eax), 0xFFu */ /* 0x2B0189A8: cmp al, 0xff */ 2432 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 2433 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2434 _flag_k = FK_NARROW(FK_CMP, 24); 2435 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0189BD; /* 0x2B0189AA: je 0x2b0189bd */ 2436 L_2B0189AC: 2437 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 2438 SET_LO8(eax, LO8(eax) - 1); /* 0x2B0189AC: dec al */ 2439 _flag_k = FK_NARROW(FK_DEC, 24); 2440 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B0189AE: mov byte ptr [ecx], al */ 2441 MEM32(edi + 0x8) = ebx; /* 0x2B0189B0: mov dword ptr [edi + 8], ebx */ 2442 MEM32(edi + 0xC) = ebx; /* 0x2B0189B3: mov dword ptr [edi + 0xc], ebx */ 2443 MEM32(edi + 0x10) = ebx; /* 0x2B0189B6: mov dword ptr [edi + 0x10], ebx */ 2444 edi = POP32_VAL(esp); /* 0x2B0189B9: pop edi */ 2445 esi = POP32_VAL(esp); /* 0x2B0189BA: pop esi */ 2446 ebx = POP32_VAL(esp); /* 0x2B0189BB: pop ebx */ 2447 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0189BC: ret */ 2448 L_2B0189BD: 2449 PUSH32(esp, ecx); /* 0x2B0189BD: push ecx */ 2450 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0189BE: call 0x2b0ab1ba */ /* not lifted */ 2451 RECOMP_FLAGS_IN(); 2452 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2453 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2454 esp = esp + 4; /* 0x2B0189C3: add esp, 4 */ 2455 _flag_k = FK_ADD; 2456 L_2B0189C6: 2457 MEM32(edi + 0x8) = ebx; /* 0x2B0189C6: mov dword ptr [edi + 8], ebx */ 2458 MEM32(edi + 0xC) = ebx; /* 0x2B0189C9: mov dword ptr [edi + 0xc], ebx */ 2459 MEM32(edi + 0x10) = ebx; /* 0x2B0189CC: mov dword ptr [edi + 0x10], ebx */ 2460 edi = POP32_VAL(esp); /* 0x2B0189CF: pop edi */ 2461 esi = POP32_VAL(esp); /* 0x2B0189D0: pop esi */ 2462 ebx = POP32_VAL(esp); /* 0x2B0189D1: pop ebx */ 2463 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0189D2: ret */ 2464 L_2B0ACE60: 2465 ecx = ebp + (-0x9C); /* 0x2B0ACE60: lea ecx, [ebp - 0x9c] */ 2466 RECOMP_BACKEDGE(); 2467 goto L_2B018920; /* 0x2B0ACE66: jmp 0x2b018920 */ 2468 { RECOMP_REGS_OUT(); return; } /* end of function */ 2469 RECOMP_REGS_OUT(); 2470 } 2471 2472 void sub_2B0ACE6B(void) { 2473 int _fpu_cmp = 0; 2474 uint32_t _cf = 0; 2475 int _df = 1; 2476 uint32_t _flag_k = FK_NONE; 2477 uint32_t _flag_a = 0, _flag_b = 0; 2478 uint32_t _itail_tgt = 0; 2479 RECOMP_REGS_LOCALS 2480 RECOMP_ENTER(0x2B0ACE6Bu); 2481 2482 L_2B0ACE6B: 2483 ecx = ebp + (-0x70); /* 0x2B0ACE6B: lea ecx, [ebp - 0x70] */ 2484 L_2B0ACE6E: 2485 { _itail_tgt = (uint32_t)(MEM32(0x2B0B56A4)); goto _ljump; } 2486 { RECOMP_REGS_OUT(); return; } /* end of function */ 2487 _ljump: 2488 switch (_itail_tgt) { 2489 case 0x2B0ACE6Bu: goto L_2B0ACE6B; 2490 case 0x2B0ACE6Eu: goto L_2B0ACE6E; 2491 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2492 } 2493 RECOMP_REGS_OUT(); 2494 } 2495 2496 void sub_2B0ACE74(void) { 2497 int _fpu_cmp = 0; 2498 uint32_t _cf = 0; 2499 int _df = 1; 2500 uint32_t _flag_k = FK_NONE; 2501 uint32_t _flag_a = 0, _flag_b = 0; 2502 uint32_t _itail_tgt = 0; 2503 RECOMP_REGS_LOCALS 2504 RECOMP_ENTER(0x2B0ACE74u); 2505 2506 L_2B0ACE74: 2507 ecx = ebp + (-0x58); /* 0x2B0ACE74: lea ecx, [ebp - 0x58] */ 2508 L_2B0ACE77: 2509 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 2510 { RECOMP_REGS_OUT(); return; } /* end of function */ 2511 _ljump: 2512 switch (_itail_tgt) { 2513 case 0x2B0ACE74u: goto L_2B0ACE74; 2514 case 0x2B0ACE77u: goto L_2B0ACE77; 2515 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2516 } 2517 RECOMP_REGS_OUT(); 2518 } 2519 2520 void sub_2B0ACE7D(void) { 2521 int _fpu_cmp = 0; 2522 uint32_t _cf = 0; 2523 int _df = 1; 2524 uint32_t _flag_k = FK_NONE; 2525 uint32_t _flag_a = 0, _flag_b = 0; 2526 uint32_t _itail_tgt = 0; 2527 RECOMP_REGS_LOCALS 2528 RECOMP_ENTER(0x2B0ACE7Du); 2529 2530 L_2B0ACE7D: 2531 ecx = ebp + (-0x44); /* 0x2B0ACE7D: lea ecx, [ebp - 0x44] */ 2532 L_2B0ACE80: 2533 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 2534 { RECOMP_REGS_OUT(); return; } /* end of function */ 2535 _ljump: 2536 switch (_itail_tgt) { 2537 case 0x2B0ACE7Du: goto L_2B0ACE7D; 2538 case 0x2B0ACE80u: goto L_2B0ACE80; 2539 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2540 } 2541 RECOMP_REGS_OUT(); 2542 } 2543 2544 void sub_2B0ACE86(void) { 2545 int _fpu_cmp = 0; 2546 uint32_t _cf = 0; 2547 int _df = 1; 2548 uint32_t _flag_k = FK_NONE; 2549 uint32_t _flag_a = 0, _flag_b = 0; 2550 uint32_t _itail_tgt = 0; 2551 RECOMP_REGS_LOCALS 2552 RECOMP_ENTER(0x2B0ACE86u); 2553 2554 L_2B0ACE86: 2555 ecx = ebp + 0x8; /* 0x2B0ACE86: lea ecx, [ebp + 8] */ 2556 L_2B0ACE89: 2557 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 2558 { RECOMP_REGS_OUT(); return; } /* end of function */ 2559 _ljump: 2560 switch (_itail_tgt) { 2561 case 0x2B0ACE86u: goto L_2B0ACE86; 2562 case 0x2B0ACE89u: goto L_2B0ACE89; 2563 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2564 } 2565 RECOMP_REGS_OUT(); 2566 } 2567 2568 void sub_2B0ACE8F(void) { 2569 int _fpu_cmp = 0; 2570 uint32_t _cf = 0; 2571 int _df = 1; 2572 uint32_t _flag_k = FK_NONE; 2573 uint32_t _flag_a = 0, _flag_b = 0; 2574 uint32_t _itail_tgt = 0; 2575 RECOMP_REGS_LOCALS 2576 RECOMP_ENTER(0x2B0ACE8Fu); 2577 2578 L_2B0ACE8F: 2579 ecx = ebp + (-0x58); /* 0x2B0ACE8F: lea ecx, [ebp - 0x58] */ 2580 L_2B0ACE92: 2581 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 2582 { RECOMP_REGS_OUT(); return; } /* end of function */ 2583 _ljump: 2584 switch (_itail_tgt) { 2585 case 0x2B0ACE8Fu: goto L_2B0ACE8F; 2586 case 0x2B0ACE92u: goto L_2B0ACE92; 2587 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2588 } 2589 RECOMP_REGS_OUT(); 2590 } 2591 2592 void sub_2B0ACE98(void) { 2593 int _fpu_cmp = 0; 2594 uint32_t _cf = 0; 2595 int _df = 1; 2596 uint32_t _flag_k = FK_NONE; 2597 uint32_t _flag_a = 0, _flag_b = 0; 2598 uint32_t _itail_tgt = 0; 2599 RECOMP_REGS_LOCALS 2600 RECOMP_ENTER(0x2B0ACE98u); 2601 2602 L_2B0ACE98: 2603 ecx = ebp + (-0x44); /* 0x2B0ACE98: lea ecx, [ebp - 0x44] */ 2604 L_2B0ACE9B: 2605 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 2606 { RECOMP_REGS_OUT(); return; } /* end of function */ 2607 _ljump: 2608 switch (_itail_tgt) { 2609 case 0x2B0ACE98u: goto L_2B0ACE98; 2610 case 0x2B0ACE9Bu: goto L_2B0ACE9B; 2611 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2612 } 2613 RECOMP_REGS_OUT(); 2614 } 2615 2616 void sub_2B0ACEA1(void) { 2617 int _fpu_cmp = 0; 2618 uint32_t _cf = 0; 2619 int _df = 1; 2620 uint32_t _flag_k = FK_NONE; 2621 uint32_t _flag_a = 0, _flag_b = 0; 2622 uint32_t _itail_tgt = 0; 2623 RECOMP_REGS_LOCALS 2624 RECOMP_ENTER(0x2B0ACEA1u); 2625 2626 L_2B0ACEA1: 2627 ecx = ebp + 0x8; /* 0x2B0ACEA1: lea ecx, [ebp + 8] */ 2628 L_2B0ACEA4: 2629 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 2630 { RECOMP_REGS_OUT(); return; } /* end of function */ 2631 _ljump: 2632 switch (_itail_tgt) { 2633 case 0x2B0ACEA1u: goto L_2B0ACEA1; 2634 case 0x2B0ACEA4u: goto L_2B0ACEA4; 2635 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2636 } 2637 RECOMP_REGS_OUT(); 2638 } 2639 2640 void sub_2B0ACEAA(void) { 2641 int _fpu_cmp = 0; 2642 uint32_t _cf = 0; 2643 int _df = 1; 2644 uint32_t _flag_k = FK_NONE; 2645 uint32_t _flag_a = 0, _flag_b = 0; 2646 uint32_t _itail_tgt = 0; 2647 RECOMP_REGS_LOCALS 2648 RECOMP_ENTER(0x2B0ACEAAu); 2649 2650 L_2B0ACEAA: 2651 eax = MEM32(ebp + (-0x24)); /* 0x2B0ACEAA: mov eax, dword ptr [ebp - 0x24] */ 2652 PUSH32(esp, eax); /* 0x2B0ACEAD: push eax */ 2653 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0ACEAE: call 0x2b0ab1ba */ /* not lifted */ 2654 RECOMP_FLAGS_IN(); 2655 ecx = POP32_VAL(esp); /* 0x2B0ACEB3: pop ecx */ 2656 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0ACEB4: ret */ 2657 RECOMP_REGS_OUT(); 2658 } 2659 2660 void sub_2B0ACEB5(void) { 2661 int _fpu_cmp = 0; 2662 uint32_t _cf = 0; 2663 int _df = 1; 2664 uint32_t _flag_k = FK_NONE; 2665 uint32_t _flag_a = 0, _flag_b = 0; 2666 uint32_t _itail_tgt = 0; 2667 RECOMP_REGS_LOCALS 2668 RECOMP_ENTER(0x2B0ACEB5u); 2669 2670 goto L_2B0ACEB5; 2671 L_2B0AB218: 2672 { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; } 2673 L_2B0ACEB5: 2674 eax = 0x2B0B9FB0u; /* 0x2B0ACEB5: mov eax, 0x2b0b9fb0 */ 2675 L_2B0ACEBA: 2676 RECOMP_BACKEDGE(); 2677 goto L_2B0AB218; /* 0x2B0ACEBA: jmp 0x2b0ab218 */ 2678 { RECOMP_REGS_OUT(); return; } /* end of function */ 2679 _ljump: 2680 switch (_itail_tgt) { 2681 case 0x2B0AB218u: goto L_2B0AB218; 2682 case 0x2B0ACEB5u: goto L_2B0ACEB5; 2683 case 0x2B0ACEBAu: goto L_2B0ACEBA; 2684 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2685 } 2686 RECOMP_REGS_OUT(); 2687 } 2688 2689 void sub_2B0ACEC0(void) { 2690 int _fpu_cmp = 0; 2691 uint32_t _cf = 0; 2692 int _df = 1; 2693 uint32_t _flag_k = FK_NONE; 2694 uint32_t _flag_a = 0, _flag_b = 0; 2695 uint32_t _itail_tgt = 0; 2696 RECOMP_REGS_LOCALS 2697 RECOMP_ENTER(0x2B0ACEC0u); 2698 2699 L_2B0ACEC0: 2700 ecx = ebp + (-0x40); /* 0x2B0ACEC0: lea ecx, [ebp - 0x40] */ 2701 L_2B0ACEC3: 2702 { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; } 2703 { RECOMP_REGS_OUT(); return; } /* end of function */ 2704 _ljump: 2705 switch (_itail_tgt) { 2706 case 0x2B0ACEC0u: goto L_2B0ACEC0; 2707 case 0x2B0ACEC3u: goto L_2B0ACEC3; 2708 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2709 } 2710 RECOMP_REGS_OUT(); 2711 } 2712 2713 void sub_2B0ACEC9(void) { 2714 int _fpu_cmp = 0; 2715 uint32_t _cf = 0; 2716 int _df = 1; 2717 uint32_t _flag_k = FK_NONE; 2718 uint32_t _flag_a = 0, _flag_b = 0; 2719 uint32_t _itail_tgt = 0; 2720 RECOMP_REGS_LOCALS 2721 RECOMP_ENTER(0x2B0ACEC9u); 2722 2723 L_2B0ACEC9: 2724 ecx = ebp + (-0x40); /* 0x2B0ACEC9: lea ecx, [ebp - 0x40] */ 2725 L_2B0ACECC: 2726 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 2727 { RECOMP_REGS_OUT(); return; } /* end of function */ 2728 _ljump: 2729 switch (_itail_tgt) { 2730 case 0x2B0ACEC9u: goto L_2B0ACEC9; 2731 case 0x2B0ACECCu: goto L_2B0ACECC; 2732 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2733 } 2734 RECOMP_REGS_OUT(); 2735 } 2736 2737 void sub_2B0ACED2(void) { 2738 int _fpu_cmp = 0; 2739 uint32_t _cf = 0; 2740 int _df = 1; 2741 uint32_t _flag_k = FK_NONE; 2742 uint32_t _flag_a = 0, _flag_b = 0; 2743 uint32_t _itail_tgt = 0; 2744 RECOMP_REGS_LOCALS 2745 RECOMP_ENTER(0x2B0ACED2u); 2746 2747 goto L_2B0ACED2; 2748 L_2B0AB218: 2749 { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; } 2750 L_2B0ACED2: 2751 eax = 0x2B0BA058u; /* 0x2B0ACED2: mov eax, 0x2b0ba058 */ 2752 L_2B0ACED7: 2753 RECOMP_BACKEDGE(); 2754 goto L_2B0AB218; /* 0x2B0ACED7: jmp 0x2b0ab218 */ 2755 { RECOMP_REGS_OUT(); return; } /* end of function */ 2756 _ljump: 2757 switch (_itail_tgt) { 2758 case 0x2B0AB218u: goto L_2B0AB218; 2759 case 0x2B0ACED2u: goto L_2B0ACED2; 2760 case 0x2B0ACED7u: goto L_2B0ACED7; 2761 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2762 } 2763 RECOMP_REGS_OUT(); 2764 } 2765 2766 void sub_2B0ACEE0(void) { 2767 int _fpu_cmp = 0; 2768 uint32_t _cf = 0; 2769 int _df = 1; 2770 uint32_t _flag_k = FK_NONE; 2771 uint32_t _flag_a = 0, _flag_b = 0; 2772 uint32_t _itail_tgt = 0; 2773 RECOMP_REGS_LOCALS 2774 RECOMP_ENTER(0x2B0ACEE0u); 2775 2776 L_2B0ACEE0: 2777 eax = MEM32(ebp + 0x8); /* 0x2B0ACEE0: mov eax, dword ptr [ebp + 8] */ 2778 PUSH32(esp, eax); /* 0x2B0ACEE3: push eax */ 2779 ecx = MEM32(ebp + (-0x10)); /* 0x2B0ACEE4: mov ecx, dword ptr [ebp - 0x10] */ 2780 PUSH32(esp, ecx); /* 0x2B0ACEE7: push ecx */ 2781 RECOMP_ICALL(0x2B0498B0u); /* 0x2B0ACEE8: call 0x2b0498b0 */ /* not lifted */ 2782 RECOMP_FLAGS_IN(); 2783 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2784 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2785 esp = esp + 8; /* 0x2B0ACEED: add esp, 8 */ 2786 _flag_k = FK_ADD; 2787 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0ACEF0: ret */ 2788 RECOMP_REGS_OUT(); 2789 } 2790 2791 void sub_2B0ACEF1(void) { 2792 int _fpu_cmp = 0; 2793 uint32_t _cf = 0; 2794 int _df = 1; 2795 uint32_t _flag_k = FK_NONE; 2796 uint32_t _flag_a = 0, _flag_b = 0; 2797 uint32_t _itail_tgt = 0; 2798 RECOMP_REGS_LOCALS 2799 RECOMP_ENTER(0x2B0ACEF1u); 2800 2801 goto L_2B0ACEF1; 2802 L_2B017260: 2803 PUSH32(esp, ebp); /* 0x2B017260: push ebp */ 2804 ebp = esp; /* 0x2B017261: mov ebp, esp */ 2805 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2806 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2807 esp = esp - 8; /* 0x2B017263: sub esp, 8 */ 2808 _flag_k = FK_CMP; 2809 PUSH32(esp, ebx); /* 0x2B017266: push ebx */ 2810 PUSH32(esp, esi); /* 0x2B017267: push esi */ 2811 esi = ecx; /* 0x2B017268: mov esi, ecx */ 2812 ecx = MEM32(esi + 0x10); /* 0x2B01726A: mov ecx, dword ptr [esi + 0x10] */ 2813 /* test ecx, ecx */ /* 0x2B01726D: test ecx, ecx */ 2814 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2815 _cf = 0; 2816 _flag_k = FK_TEST; 2817 PUSH32(esp, edi); /* 0x2B01726F: push edi */ 2818 edi = MEM32(esi + 0x4); /* 0x2B017270: mov edi, dword ptr [esi + 4] */ 2819 eax = MEM32(edi); /* 0x2B017273: mov eax, dword ptr [edi] */ 2820 MEM32(ebp + (-0x4)) = eax; /* 0x2B017275: mov dword ptr [ebp - 4], eax */ 2821 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0172D5; /* 0x2B017278: je 0x2b0172d5 */ 2822 L_2B01727A: 2823 ecx = eax; /* 0x2B01727A: mov ecx, eax */ 2824 /* cmp eax, ecx */ /* 0x2B01727C: cmp eax, ecx */ 2825 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2826 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2827 _flag_k = FK_CMP; 2828 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0172D5; /* 0x2B01727E: jne 0x2b0172d5 */ 2829 L_2B017280: 2830 /* cmp edi, edi */ /* 0x2B017280: cmp edi, edi */ 2831 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 2832 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2833 _flag_k = FK_CMP; 2834 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0172D5; /* 0x2B017282: jne 0x2b0172d5 */ 2835 L_2B017284: 2836 ebx = MEM32(edi + 0x4); /* 0x2B017284: mov ebx, dword ptr [edi + 4] */ 2837 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2B017287: cmp ebx, dword ptr [esi + 8] */ 2838 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2839 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2840 _flag_k = FK_CMP; 2841 edi = ebx; /* 0x2B01728A: mov edi, ebx */ 2842 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0172AD; /* 0x2B01728C: je 0x2b0172ad */ 2843 L_2B01728E: 2844 eax = MEM32(edi + 0x8); /* 0x2B01728E: mov eax, dword ptr [edi + 8] */ 2845 PUSH32(esp, eax); /* 0x2B017291: push eax */ 2846 ecx = esi; /* 0x2B017292: mov ecx, esi */ 2847 RECOMP_ICALL(0x2B0190A0u); /* 0x2B017294: call 0x2b0190a0 */ /* not lifted */ 2848 RECOMP_FLAGS_IN(); 2849 edi = MEM32(edi); /* 0x2B017299: mov edi, dword ptr [edi] */ 2850 PUSH32(esp, ebx); /* 0x2B01729B: push ebx */ 2851 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01729C: call 0x2b0ab1ba */ /* not lifted */ 2852 RECOMP_FLAGS_IN(); 2853 eax = MEM32(esi + 0x8); /* 0x2B0172A1: mov eax, dword ptr [esi + 8] */ 2854 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2855 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2856 esp = esp + 4; /* 0x2B0172A4: add esp, 4 */ 2857 _flag_k = FK_ADD; 2858 /* cmp edi, eax */ /* 0x2B0172A7: cmp edi, eax */ 2859 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 2860 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2861 _flag_k = FK_CMP; 2862 ebx = edi; /* 0x2B0172A9: mov ebx, edi */ 2863 RECOMP_BACKEDGE(); 2864 if (CMP_NE(_flag_a, _flag_b)) goto L_2B01728E; /* 0x2B0172AB: jne 0x2b01728e */ 2865 L_2B0172AD: 2866 ecx = MEM32(esi + 0x4); /* 0x2B0172AD: mov ecx, dword ptr [esi + 4] */ 2867 edx = MEM32(esi + 0x8); /* 0x2B0172B0: mov edx, dword ptr [esi + 8] */ 2868 MEM32(ecx + 0x4) = edx; /* 0x2B0172B3: mov dword ptr [ecx + 4], edx */ 2869 eax = MEM32(esi + 0x4); /* 0x2B0172B6: mov eax, dword ptr [esi + 4] */ 2870 MEM32(esi + 0x10) = 0; /* 0x2B0172B9: mov dword ptr [esi + 0x10], 0 */ 2871 MEM32(eax) = eax; /* 0x2B0172C0: mov dword ptr [eax], eax */ 2872 eax = MEM32(esi + 0x4); /* 0x2B0172C2: mov eax, dword ptr [esi + 4] */ 2873 MEM32(eax + 0x8) = eax; /* 0x2B0172C5: mov dword ptr [eax + 8], eax */ 2874 eax = ebp + (-0x8); /* 0x2B0172C8: lea eax, [ebp - 8] */ 2875 PUSH32(esp, eax); /* 0x2B0172CB: push eax */ 2876 ecx = esi; /* 0x2B0172CC: mov ecx, esi */ 2877 RECOMP_ICALL(0x2B018B60u); /* 0x2B0172CE: call 0x2b018b60 */ /* not lifted */ 2878 RECOMP_FLAGS_IN(); 2879 goto L_2B0172F6; /* 0x2B0172D3: jmp 0x2b0172f6 */ 2880 L_2B0172D5: 2881 /* cmp eax, edi */ /* 0x2B0172D5: cmp eax, edi */ 2882 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 2883 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2884 _flag_k = FK_CMP; 2885 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B0172F6; /* 0x2B0172D7: je 0x2b0172f6 */ 2886 L_2B0172D9: 2887 ecx = ebp + (-0x4); /* 0x2B0172D9: lea ecx, [ebp - 4] */ 2888 ebx = eax; /* 0x2B0172DC: mov ebx, eax */ 2889 RECOMP_ICALL(0x2B06A300u); /* 0x2B0172DE: call 0x2b06a300 */ /* not lifted */ 2890 RECOMP_FLAGS_IN(); 2891 PUSH32(esp, ebx); /* 0x2B0172E3: push ebx */ 2892 ecx = ebp + (-0x8); /* 0x2B0172E4: lea ecx, [ebp - 8] */ 2893 PUSH32(esp, ecx); /* 0x2B0172E7: push ecx */ 2894 ecx = esi; /* 0x2B0172E8: mov ecx, esi */ 2895 RECOMP_ICALL(0x2B06D4F0u); /* 0x2B0172EA: call 0x2b06d4f0 */ /* not lifted */ 2896 RECOMP_FLAGS_IN(); 2897 eax = MEM32(ebp + (-0x4)); /* 0x2B0172EF: mov eax, dword ptr [ebp - 4] */ 2898 /* cmp eax, edi */ /* 0x2B0172F2: cmp eax, edi */ 2899 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 2900 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2901 _flag_k = FK_CMP; 2902 RECOMP_BACKEDGE(); 2903 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0172D9; /* 0x2B0172F4: jne 0x2b0172d9 */ 2904 L_2B0172F6: 2905 edx = MEM32(esi + 0x4); /* 0x2B0172F6: mov edx, dword ptr [esi + 4] */ 2906 PUSH32(esp, edx); /* 0x2B0172F9: push edx */ 2907 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0172FA: call 0x2b0ab1ba */ /* not lifted */ 2908 RECOMP_FLAGS_IN(); 2909 eax = MEM32(esi + 0x8); /* 0x2B0172FF: mov eax, dword ptr [esi + 8] */ 2910 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2911 edi = 0; /* 0x2B017302: xor edi, edi */ 2912 _cf = 0; 2913 _flag_k = FK_TEST; 2914 PUSH32(esp, eax); /* 0x2B017304: push eax */ 2915 MEM32(esi + 0x4) = edi; /* 0x2B017305: mov dword ptr [esi + 4], edi */ 2916 MEM32(esi + 0x10) = edi; /* 0x2B017308: mov dword ptr [esi + 0x10], edi */ 2917 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B01730B: call 0x2b0ab1ba */ /* not lifted */ 2918 RECOMP_FLAGS_IN(); 2919 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2920 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2921 esp = esp + 8; /* 0x2B017310: add esp, 8 */ 2922 _flag_k = FK_ADD; 2923 MEM32(esi + 0x8) = edi; /* 0x2B017313: mov dword ptr [esi + 8], edi */ 2924 edi = POP32_VAL(esp); /* 0x2B017316: pop edi */ 2925 esi = POP32_VAL(esp); /* 0x2B017317: pop esi */ 2926 ebx = POP32_VAL(esp); /* 0x2B017318: pop ebx */ 2927 esp = ebp; /* 0x2B017319: mov esp, ebp */ 2928 ebp = POP32_VAL(esp); /* 0x2B01731B: pop ebp */ 2929 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B01731C: ret */ 2930 L_2B0ACEF1: 2931 ecx = MEM32(ebp + (-0x10)); /* 0x2B0ACEF1: mov ecx, dword ptr [ebp - 0x10] */ 2932 RECOMP_BACKEDGE(); 2933 goto L_2B017260; /* 0x2B0ACEF4: jmp 0x2b017260 */ 2934 { RECOMP_REGS_OUT(); return; } /* end of function */ 2935 RECOMP_REGS_OUT(); 2936 } 2937 2938 void sub_2B0ACEF9(void) { 2939 int _fpu_cmp = 0; 2940 uint32_t _cf = 0; 2941 int _df = 1; 2942 uint32_t _flag_k = FK_NONE; 2943 uint32_t _flag_a = 0, _flag_b = 0; 2944 uint32_t _itail_tgt = 0; 2945 RECOMP_REGS_LOCALS 2946 RECOMP_ENTER(0x2B0ACEF9u); 2947 2948 goto L_2B0ACEF9; 2949 L_2B0AB218: 2950 { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; } 2951 L_2B0ACEF9: 2952 eax = 0x2B0BA088u; /* 0x2B0ACEF9: mov eax, 0x2b0ba088 */ 2953 L_2B0ACEFE: 2954 RECOMP_BACKEDGE(); 2955 goto L_2B0AB218; /* 0x2B0ACEFE: jmp 0x2b0ab218 */ 2956 { RECOMP_REGS_OUT(); return; } /* end of function */ 2957 _ljump: 2958 switch (_itail_tgt) { 2959 case 0x2B0AB218u: goto L_2B0AB218; 2960 case 0x2B0ACEF9u: goto L_2B0ACEF9; 2961 case 0x2B0ACEFEu: goto L_2B0ACEFE; 2962 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2963 } 2964 RECOMP_REGS_OUT(); 2965 } 2966 2967 void sub_2B0ACF10(void) { 2968 int _fpu_cmp = 0; 2969 uint32_t _cf = 0; 2970 int _df = 1; 2971 uint32_t _flag_k = FK_NONE; 2972 uint32_t _flag_a = 0, _flag_b = 0; 2973 uint32_t _itail_tgt = 0; 2974 RECOMP_REGS_LOCALS 2975 RECOMP_ENTER(0x2B0ACF10u); 2976 2977 L_2B0ACF10: 2978 eax = MEM32(ebp + 0x8); /* 0x2B0ACF10: mov eax, dword ptr [ebp + 8] */ 2979 PUSH32(esp, eax); /* 0x2B0ACF13: push eax */ 2980 ecx = MEM32(ebp + (-0x10)); /* 0x2B0ACF14: mov ecx, dword ptr [ebp - 0x10] */ 2981 PUSH32(esp, ecx); /* 0x2B0ACF17: push ecx */ 2982 RECOMP_ICALL(0x2B0498B0u); /* 0x2B0ACF18: call 0x2b0498b0 */ /* not lifted */ 2983 RECOMP_FLAGS_IN(); 2984 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2985 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2986 esp = esp + 8; /* 0x2B0ACF1D: add esp, 8 */ 2987 _flag_k = FK_ADD; 2988 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0ACF20: ret */ 2989 RECOMP_REGS_OUT(); 2990 } 2991 2992 void sub_2B0ACF21(void) { 2993 int _fpu_cmp = 0; 2994 uint32_t _cf = 0; 2995 int _df = 1; 2996 uint32_t _flag_k = FK_NONE; 2997 uint32_t _flag_a = 0, _flag_b = 0; 2998 uint32_t _itail_tgt = 0; 2999 RECOMP_REGS_LOCALS 3000 RECOMP_ENTER(0x2B0ACF21u); 3001 3002 goto L_2B0ACF21; 3003 L_2B0AB218: 3004 { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; } 3005 L_2B0ACF21: 3006 eax = 0x2B0BA0B8u; /* 0x2B0ACF21: mov eax, 0x2b0ba0b8 */ 3007 L_2B0ACF26: 3008 RECOMP_BACKEDGE(); 3009 goto L_2B0AB218; /* 0x2B0ACF26: jmp 0x2b0ab218 */ 3010 { RECOMP_REGS_OUT(); return; } /* end of function */ 3011 _ljump: 3012 switch (_itail_tgt) { 3013 case 0x2B0AB218u: goto L_2B0AB218; 3014 case 0x2B0ACF21u: goto L_2B0ACF21; 3015 case 0x2B0ACF26u: goto L_2B0ACF26; 3016 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3017 } 3018 RECOMP_REGS_OUT(); 3019 } 3020 3021 void sub_2B0ACF30(void) { 3022 int _fpu_cmp = 0; 3023 uint32_t _cf = 0; 3024 int _df = 1; 3025 uint32_t _flag_k = FK_NONE; 3026 uint32_t _flag_a = 0, _flag_b = 0; 3027 uint32_t _itail_tgt = 0; 3028 RECOMP_REGS_LOCALS 3029 RECOMP_ENTER(0x2B0ACF30u); 3030 3031 L_2B0ACF30: 3032 ecx = MEM32(ebp + (-0x18)); /* 0x2B0ACF30: mov ecx, dword ptr [ebp - 0x18] */ 3033 L_2B0ACF33: 3034 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x18u); 3035 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3036 ecx = ecx + 0x18u; /* 0x2B0ACF33: add ecx, 0x18 */ 3037 _flag_k = FK_ADD; 3038 L_2B0ACF36: 3039 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 3040 { RECOMP_REGS_OUT(); return; } /* end of function */ 3041 _ljump: 3042 switch (_itail_tgt) { 3043 case 0x2B0ACF30u: goto L_2B0ACF30; 3044 case 0x2B0ACF33u: goto L_2B0ACF33; 3045 case 0x2B0ACF36u: goto L_2B0ACF36; 3046 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3047 } 3048 RECOMP_REGS_OUT(); 3049 } 3050 3051 void sub_2B0ACF3C(void) { 3052 int _fpu_cmp = 0; 3053 uint32_t _cf = 0; 3054 int _df = 1; 3055 uint32_t _flag_k = FK_NONE; 3056 uint32_t _flag_a = 0, _flag_b = 0; 3057 uint32_t _itail_tgt = 0; 3058 RECOMP_REGS_LOCALS 3059 RECOMP_ENTER(0x2B0ACF3Cu); 3060 3061 L_2B0ACF3C: 3062 eax = MEM32(ebp + (-0x14)); /* 0x2B0ACF3C: mov eax, dword ptr [ebp - 0x14] */ 3063 PUSH32(esp, eax); /* 0x2B0ACF3F: push eax */ 3064 ecx = MEM32(ebp + (-0x1C)); /* 0x2B0ACF40: mov ecx, dword ptr [ebp - 0x1c] */ 3065 PUSH32(esp, ecx); /* 0x2B0ACF43: push ecx */ 3066 RECOMP_ICALL(0x2B0498B0u); /* 0x2B0ACF44: call 0x2b0498b0 */ /* not lifted */ 3067 RECOMP_FLAGS_IN(); 3068 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 3069 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3070 esp = esp + 8; /* 0x2B0ACF49: add esp, 8 */ 3071 _flag_k = FK_ADD; 3072 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0ACF4C: ret */ 3073 RECOMP_REGS_OUT(); 3074 } 3075 3076 void sub_2B0ACF4D(void) { 3077 int _fpu_cmp = 0; 3078 uint32_t _cf = 0; 3079 int _df = 1; 3080 uint32_t _flag_k = FK_NONE; 3081 uint32_t _flag_a = 0, _flag_b = 0; 3082 uint32_t _itail_tgt = 0; 3083 RECOMP_REGS_LOCALS 3084 RECOMP_ENTER(0x2B0ACF4Du); 3085 3086 goto L_2B0ACF4D; 3087 L_2B002DB0: 3088 PUSH32(esp, ebp); /* 0x2B002DB0: push ebp */ 3089 ebp = esp; /* 0x2B002DB1: mov ebp, esp */ 3090 PUSH32(esp, ecx); /* 0x2B002DB3: push ecx */ 3091 PUSH32(esp, ebx); /* 0x2B002DB4: push ebx */ 3092 PUSH32(esp, esi); /* 0x2B002DB5: push esi */ 3093 PUSH32(esp, edi); /* 0x2B002DB6: push edi */ 3094 edi = ecx; /* 0x2B002DB7: mov edi, ecx */ 3095 edx = MEM32(edi + 0x8); /* 0x2B002DB9: mov edx, dword ptr [edi + 8] */ 3096 esi = MEM32(edi + 0x4); /* 0x2B002DBC: mov esi, dword ptr [edi + 4] */ 3097 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3098 ebx = 0; /* 0x2B002DBF: xor ebx, ebx */ 3099 _cf = 0; 3100 _flag_k = FK_TEST; 3101 /* cmp esi, edx */ /* 0x2B002DC1: cmp esi, edx */ 3102 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx); 3103 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3104 _flag_k = FK_CMP; 3105 MEM32(ebp + (-0x4)) = edx; /* 0x2B002DC3: mov dword ptr [ebp - 4], edx */ 3106 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B002DFE; /* 0x2B002DC6: je 0x2b002dfe */ 3107 L_2B002DC8: 3108 eax = MEM32(esi + 0x4); /* 0x2B002DC8: mov eax, dword ptr [esi + 4] */ 3109 /* cmp eax, ebx */ /* 0x2B002DCB: cmp eax, ebx */ 3110 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 3111 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3112 _flag_k = FK_CMP; 3113 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B002DEE; /* 0x2B002DCD: je 0x2b002dee */ 3114 L_2B002DCF: 3115 ecx = eax + (-0x1); /* 0x2B002DCF: lea ecx, [eax - 1] */ 3116 SET_LO8(eax, MEM8(ecx)); /* 0x2B002DD2: mov al, byte ptr [ecx] */ 3117 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B002DD4: cmp al, bl */ 3118 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3119 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3120 _flag_k = FK_NARROW(FK_CMP, 24); 3121 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B002DE2; /* 0x2B002DD6: je 0x2b002de2 */ 3122 L_2B002DD8: 3123 /* cmp LO8(eax), 0xFFu */ /* 0x2B002DD8: cmp al, 0xff */ 3124 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 3125 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3126 _flag_k = FK_NARROW(FK_CMP, 24); 3127 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B002DE2; /* 0x2B002DDA: je 0x2b002de2 */ 3128 L_2B002DDC: 3129 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3130 SET_LO8(eax, LO8(eax) - 1); /* 0x2B002DDC: dec al */ 3131 _flag_k = FK_NARROW(FK_DEC, 24); 3132 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B002DDE: mov byte ptr [ecx], al */ 3133 goto L_2B002DEE; /* 0x2B002DE0: jmp 0x2b002dee */ 3134 L_2B002DE2: 3135 PUSH32(esp, ecx); /* 0x2B002DE2: push ecx */ 3136 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B002DE3: call 0x2b0ab1ba */ /* not lifted */ 3137 RECOMP_FLAGS_IN(); 3138 edx = MEM32(ebp + (-0x4)); /* 0x2B002DE8: mov edx, dword ptr [ebp - 4] */ 3139 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3140 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3141 esp = esp + 4; /* 0x2B002DEB: add esp, 4 */ 3142 _flag_k = FK_ADD; 3143 L_2B002DEE: 3144 MEM32(esi + 0x4) = ebx; /* 0x2B002DEE: mov dword ptr [esi + 4], ebx */ 3145 MEM32(esi + 0x8) = ebx; /* 0x2B002DF1: mov dword ptr [esi + 8], ebx */ 3146 MEM32(esi + 0xC) = ebx; /* 0x2B002DF4: mov dword ptr [esi + 0xc], ebx */ 3147 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 3148 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3149 esi = esi + 0x10u; /* 0x2B002DF7: add esi, 0x10 */ 3150 _flag_k = FK_ADD; 3151 /* cmp esi, edx */ /* 0x2B002DFA: cmp esi, edx */ 3152 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx); 3153 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3154 _flag_k = FK_CMP; 3155 RECOMP_BACKEDGE(); 3156 if (CMP_NE(_flag_a, _flag_b)) goto L_2B002DC8; /* 0x2B002DFC: jne 0x2b002dc8 */ 3157 L_2B002DFE: 3158 eax = MEM32(edi + 0x4); /* 0x2B002DFE: mov eax, dword ptr [edi + 4] */ 3159 PUSH32(esp, eax); /* 0x2B002E01: push eax */ 3160 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B002E02: call 0x2b0ab1ba */ /* not lifted */ 3161 RECOMP_FLAGS_IN(); 3162 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3163 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3164 esp = esp + 4; /* 0x2B002E07: add esp, 4 */ 3165 _flag_k = FK_ADD; 3166 MEM32(edi + 0x4) = ebx; /* 0x2B002E0A: mov dword ptr [edi + 4], ebx */ 3167 MEM32(edi + 0x8) = ebx; /* 0x2B002E0D: mov dword ptr [edi + 8], ebx */ 3168 MEM32(edi + 0xC) = ebx; /* 0x2B002E10: mov dword ptr [edi + 0xc], ebx */ 3169 edi = POP32_VAL(esp); /* 0x2B002E13: pop edi */ 3170 esi = POP32_VAL(esp); /* 0x2B002E14: pop esi */ 3171 ebx = POP32_VAL(esp); /* 0x2B002E15: pop ebx */ 3172 esp = ebp; /* 0x2B002E16: mov esp, ebp */ 3173 ebp = POP32_VAL(esp); /* 0x2B002E18: pop ebp */ 3174 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B002E19: ret */ 3175 L_2B0ACF4D: 3176 ecx = MEM32(ebp + (-0x18)); /* 0x2B0ACF4D: mov ecx, dword ptr [ebp - 0x18] */ 3177 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x2Cu); 3178 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3179 ecx = ecx + 0x2Cu; /* 0x2B0ACF50: add ecx, 0x2c */ 3180 _flag_k = FK_ADD; 3181 RECOMP_BACKEDGE(); 3182 goto L_2B002DB0; /* 0x2B0ACF53: jmp 0x2b002db0 */ 3183 { RECOMP_REGS_OUT(); return; } /* end of function */ 3184 RECOMP_REGS_OUT(); 3185 } 3186 3187 void sub_2B0ACF58(void) { 3188 int _fpu_cmp = 0; 3189 uint32_t _cf = 0; 3190 int _df = 1; 3191 uint32_t _flag_k = FK_NONE; 3192 uint32_t _flag_a = 0, _flag_b = 0; 3193 uint32_t _itail_tgt = 0; 3194 RECOMP_REGS_LOCALS 3195 RECOMP_ENTER(0x2B0ACF58u); 3196 3197 goto L_2B0ACF58; 3198 L_2B0AB218: 3199 { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; } 3200 L_2B0ACF58: 3201 eax = 0x2B0BA0E0u; /* 0x2B0ACF58: mov eax, 0x2b0ba0e0 */ 3202 L_2B0ACF5D: 3203 RECOMP_BACKEDGE(); 3204 goto L_2B0AB218; /* 0x2B0ACF5D: jmp 0x2b0ab218 */ 3205 { RECOMP_REGS_OUT(); return; } /* end of function */ 3206 _ljump: 3207 switch (_itail_tgt) { 3208 case 0x2B0AB218u: goto L_2B0AB218; 3209 case 0x2B0ACF58u: goto L_2B0ACF58; 3210 case 0x2B0ACF5Du: goto L_2B0ACF5D; 3211 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3212 } 3213 RECOMP_REGS_OUT(); 3214 } 3215 3216 void sub_2B0ACF70(void) { 3217 int _fpu_cmp = 0; 3218 uint32_t _cf = 0; 3219 int _df = 1; 3220 uint32_t _flag_k = FK_NONE; 3221 uint32_t _flag_a = 0, _flag_b = 0; 3222 uint32_t _itail_tgt = 0; 3223 RECOMP_REGS_LOCALS 3224 RECOMP_ENTER(0x2B0ACF70u); 3225 3226 L_2B0ACF70: 3227 eax = MEM32(ebp + (-0x10)); /* 0x2B0ACF70: mov eax, dword ptr [ebp - 0x10] */ 3228 PUSH32(esp, eax); /* 0x2B0ACF73: push eax */ 3229 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0ACF74: call 0x2b0ab1ba */ /* not lifted */ 3230 RECOMP_FLAGS_IN(); 3231 ecx = POP32_VAL(esp); /* 0x2B0ACF79: pop ecx */ 3232 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0ACF7A: ret */ 3233 RECOMP_REGS_OUT(); 3234 } 3235 3236 void sub_2B0ACF7B(void) { 3237 int _fpu_cmp = 0; 3238 uint32_t _cf = 0; 3239 int _df = 1; 3240 uint32_t _flag_k = FK_NONE; 3241 uint32_t _flag_a = 0, _flag_b = 0; 3242 uint32_t _itail_tgt = 0; 3243 RECOMP_REGS_LOCALS 3244 RECOMP_ENTER(0x2B0ACF7Bu); 3245 3246 goto L_2B0ACF7B; 3247 L_2B0AB218: 3248 { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; } 3249 L_2B0ACF7B: 3250 eax = 0x2B0BA118u; /* 0x2B0ACF7B: mov eax, 0x2b0ba118 */ 3251 L_2B0ACF80: 3252 RECOMP_BACKEDGE(); 3253 goto L_2B0AB218; /* 0x2B0ACF80: jmp 0x2b0ab218 */ 3254 { RECOMP_REGS_OUT(); return; } /* end of function */ 3255 _ljump: 3256 switch (_itail_tgt) { 3257 case 0x2B0AB218u: goto L_2B0AB218; 3258 case 0x2B0ACF7Bu: goto L_2B0ACF7B; 3259 case 0x2B0ACF80u: goto L_2B0ACF80; 3260 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3261 } 3262 RECOMP_REGS_OUT(); 3263 } 3264 3265 void sub_2B0ACF90(void) { 3266 int _fpu_cmp = 0; 3267 uint32_t _cf = 0; 3268 int _df = 1; 3269 uint32_t _flag_k = FK_NONE; 3270 uint32_t _flag_a = 0, _flag_b = 0; 3271 uint32_t _itail_tgt = 0; 3272 RECOMP_REGS_LOCALS 3273 RECOMP_ENTER(0x2B0ACF90u); 3274 3275 goto L_2B0ACF90; 3276 L_2B038470: 3277 PUSH32(esp, esi); /* 0x2B038470: push esi */ 3278 esi = ecx; /* 0x2B038471: mov esi, ecx */ 3279 ecx = MEM32(esi + 0xC); /* 0x2B038473: mov ecx, dword ptr [esi + 0xc] */ 3280 /* test ecx, ecx */ /* 0x2B038476: test ecx, ecx */ 3281 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3282 _cf = 0; 3283 _flag_k = FK_TEST; 3284 PUSH32(esp, edi); /* 0x2B038478: push edi */ 3285 MEM32(esi) = 0x2B0B63DCu; /* 0x2B038479: mov dword ptr [esi], 0x2b0b63dc */ 3286 if (TEST_Z(_flag_a, _flag_b)) goto L_2B038487; /* 0x2B03847F: je 0x2b038487 */ 3287 L_2B038481: 3288 eax = MEM32(ecx); /* 0x2B038481: mov eax, dword ptr [ecx] */ 3289 PUSH32(esp, 1); /* 0x2B038483: push 1 */ 3290 RECOMP_ICALL(MEM32(eax)); /* 0x2B038485: call dword ptr [eax] */ 3291 RECOMP_FLAGS_IN(); 3292 L_2B038487: 3293 edi = MEM32(esi + 0x8); /* 0x2B038487: mov edi, dword ptr [esi + 8] */ 3294 /* test edi, edi */ /* 0x2B03848A: test edi, edi */ 3295 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3296 _cf = 0; 3297 _flag_k = FK_TEST; 3298 PUSH32(esp, ebx); /* 0x2B03848C: push ebx */ 3299 ebx = MEM32(0x2B0B5BC4); /* 0x2B03848D: mov ebx, dword ptr [0x2b0b5bc4] */ 3300 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0384A2; /* 0x2B038493: je 0x2b0384a2 */ 3301 L_2B038495: 3302 ecx = edi; /* 0x2B038495: mov ecx, edi */ 3303 RECOMP_ICALL(ebx); /* 0x2B038497: call ebx */ 3304 RECOMP_FLAGS_IN(); 3305 PUSH32(esp, edi); /* 0x2B038499: push edi */ 3306 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03849A: call 0x2b0ab1ba */ /* not lifted */ 3307 RECOMP_FLAGS_IN(); 3308 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3309 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3310 esp = esp + 4; /* 0x2B03849F: add esp, 4 */ 3311 _flag_k = FK_ADD; 3312 L_2B0384A2: 3313 ecx = MEM32(esi + 0x14); /* 0x2B0384A2: mov ecx, dword ptr [esi + 0x14] */ 3314 /* test ecx, ecx */ /* 0x2B0384A5: test ecx, ecx */ 3315 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3316 _cf = 0; 3317 _flag_k = FK_TEST; 3318 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0384AF; /* 0x2B0384A7: je 0x2b0384af */ 3319 L_2B0384A9: 3320 edx = MEM32(ecx); /* 0x2B0384A9: mov edx, dword ptr [ecx] */ 3321 PUSH32(esp, 1); /* 0x2B0384AB: push 1 */ 3322 RECOMP_ICALL(MEM32(edx)); /* 0x2B0384AD: call dword ptr [edx] */ 3323 RECOMP_FLAGS_IN(); 3324 L_2B0384AF: 3325 edi = MEM32(esi + 0x10); /* 0x2B0384AF: mov edi, dword ptr [esi + 0x10] */ 3326 /* test edi, edi */ /* 0x2B0384B2: test edi, edi */ 3327 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3328 _cf = 0; 3329 _flag_k = FK_TEST; 3330 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0384C3; /* 0x2B0384B4: je 0x2b0384c3 */ 3331 L_2B0384B6: 3332 ecx = edi; /* 0x2B0384B6: mov ecx, edi */ 3333 RECOMP_ICALL(ebx); /* 0x2B0384B8: call ebx */ 3334 RECOMP_FLAGS_IN(); 3335 PUSH32(esp, edi); /* 0x2B0384BA: push edi */ 3336 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0384BB: call 0x2b0ab1ba */ /* not lifted */ 3337 RECOMP_FLAGS_IN(); 3338 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3339 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3340 esp = esp + 4; /* 0x2B0384C0: add esp, 4 */ 3341 _flag_k = FK_ADD; 3342 L_2B0384C3: 3343 ecx = MEM32(esi + 0x1C); /* 0x2B0384C3: mov ecx, dword ptr [esi + 0x1c] */ 3344 /* test ecx, ecx */ /* 0x2B0384C6: test ecx, ecx */ 3345 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 3346 _cf = 0; 3347 _flag_k = FK_TEST; 3348 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0384D0; /* 0x2B0384C8: je 0x2b0384d0 */ 3349 L_2B0384CA: 3350 eax = MEM32(ecx); /* 0x2B0384CA: mov eax, dword ptr [ecx] */ 3351 PUSH32(esp, 1); /* 0x2B0384CC: push 1 */ 3352 RECOMP_ICALL(MEM32(eax)); /* 0x2B0384CE: call dword ptr [eax] */ 3353 RECOMP_FLAGS_IN(); 3354 L_2B0384D0: 3355 edi = MEM32(esi + 0x18); /* 0x2B0384D0: mov edi, dword ptr [esi + 0x18] */ 3356 /* test edi, edi */ /* 0x2B0384D3: test edi, edi */ 3357 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3358 _cf = 0; 3359 _flag_k = FK_TEST; 3360 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0384E4; /* 0x2B0384D5: je 0x2b0384e4 */ 3361 L_2B0384D7: 3362 ecx = edi; /* 0x2B0384D7: mov ecx, edi */ 3363 RECOMP_ICALL(ebx); /* 0x2B0384D9: call ebx */ 3364 RECOMP_FLAGS_IN(); 3365 PUSH32(esp, edi); /* 0x2B0384DB: push edi */ 3366 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0384DC: call 0x2b0ab1ba */ /* not lifted */ 3367 RECOMP_FLAGS_IN(); 3368 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3369 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3370 esp = esp + 4; /* 0x2B0384E1: add esp, 4 */ 3371 _flag_k = FK_ADD; 3372 L_2B0384E4: 3373 edi = MEM32(esi + 0x24); /* 0x2B0384E4: mov edi, dword ptr [esi + 0x24] */ 3374 /* test edi, edi */ /* 0x2B0384E7: test edi, edi */ 3375 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3376 _cf = 0; 3377 _flag_k = FK_TEST; 3378 ebx = POP32_VAL(esp); /* 0x2B0384E9: pop ebx */ 3379 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0384FD; /* 0x2B0384EA: je 0x2b0384fd */ 3380 L_2B0384EC: 3381 ecx = edi; /* 0x2B0384EC: mov ecx, edi */ 3382 RECOMP_ICALL(MEM32(0x2B0B5B2C)); /* 0x2B0384EE: call dword ptr [0x2b0b5b2c] */ 3383 RECOMP_FLAGS_IN(); 3384 PUSH32(esp, edi); /* 0x2B0384F4: push edi */ 3385 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0384F5: call 0x2b0ab1ba */ /* not lifted */ 3386 RECOMP_FLAGS_IN(); 3387 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3388 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3389 esp = esp + 4; /* 0x2B0384FA: add esp, 4 */ 3390 _flag_k = FK_ADD; 3391 L_2B0384FD: 3392 edi = MEM32(esi + 0x20); /* 0x2B0384FD: mov edi, dword ptr [esi + 0x20] */ 3393 /* test edi, edi */ /* 0x2B038500: test edi, edi */ 3394 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3395 _cf = 0; 3396 _flag_k = FK_TEST; 3397 if (TEST_Z(_flag_a, _flag_b)) goto L_2B038515; /* 0x2B038502: je 0x2b038515 */ 3398 L_2B038504: 3399 ecx = edi; /* 0x2B038504: mov ecx, edi */ 3400 RECOMP_ICALL(MEM32(0x2B0B5B30)); /* 0x2B038506: call dword ptr [0x2b0b5b30] */ 3401 RECOMP_FLAGS_IN(); 3402 PUSH32(esp, edi); /* 0x2B03850C: push edi */ 3403 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03850D: call 0x2b0ab1ba */ /* not lifted */ 3404 RECOMP_FLAGS_IN(); 3405 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3406 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3407 esp = esp + 4; /* 0x2B038512: add esp, 4 */ 3408 _flag_k = FK_ADD; 3409 L_2B038515: 3410 ecx = esi; /* 0x2B038515: mov ecx, esi */ 3411 RECOMP_ICALL(0x2B038550u); /* 0x2B038517: call 0x2b038550 */ /* not lifted */ 3412 RECOMP_FLAGS_IN(); 3413 edi = MEM32(esi + 0x4); /* 0x2B03851C: mov edi, dword ptr [esi + 4] */ 3414 /* test edi, edi */ /* 0x2B03851F: test edi, edi */ 3415 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 3416 _cf = 0; 3417 _flag_k = FK_TEST; 3418 if (TEST_Z(_flag_a, _flag_b)) goto L_2B038534; /* 0x2B038521: je 0x2b038534 */ 3419 L_2B038523: 3420 ecx = edi; /* 0x2B038523: mov ecx, edi */ 3421 RECOMP_ICALL(MEM32(0x2B0B5A68)); /* 0x2B038525: call dword ptr [0x2b0b5a68] */ 3422 RECOMP_FLAGS_IN(); 3423 PUSH32(esp, edi); /* 0x2B03852B: push edi */ 3424 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03852C: call 0x2b0ab1ba */ /* not lifted */ 3425 RECOMP_FLAGS_IN(); 3426 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3427 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3428 esp = esp + 4; /* 0x2B038531: add esp, 4 */ 3429 _flag_k = FK_ADD; 3430 L_2B038534: 3431 ecx = esi; /* 0x2B038534: mov ecx, esi */ 3432 RECOMP_ICALL(0x2B038540u); /* 0x2B038536: call 0x2b038540 */ /* not lifted */ 3433 RECOMP_FLAGS_IN(); 3434 edi = POP32_VAL(esp); /* 0x2B03853B: pop edi */ 3435 esi = POP32_VAL(esp); /* 0x2B03853C: pop esi */ 3436 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03853D: ret */ 3437 L_2B0ACF90: 3438 ecx = MEM32(ebp + (-0x18)); /* 0x2B0ACF90: mov ecx, dword ptr [ebp - 0x18] */ 3439 RECOMP_BACKEDGE(); 3440 goto L_2B038470; /* 0x2B0ACF93: jmp 0x2b038470 */ 3441 { RECOMP_REGS_OUT(); return; } /* end of function */ 3442 RECOMP_REGS_OUT(); 3443 } 3444 3445 void sub_2B0ACF98(void) { 3446 int _fpu_cmp = 0; 3447 uint32_t _cf = 0; 3448 int _df = 1; 3449 uint32_t _flag_k = FK_NONE; 3450 uint32_t _flag_a = 0, _flag_b = 0; 3451 uint32_t _itail_tgt = 0; 3452 RECOMP_REGS_LOCALS 3453 RECOMP_ENTER(0x2B0ACF98u); 3454 3455 L_2B0ACF98: 3456 eax = MEM32(ebp + 0x8); /* 0x2B0ACF98: mov eax, dword ptr [ebp + 8] */ 3457 PUSH32(esp, eax); /* 0x2B0ACF9B: push eax */ 3458 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0ACF9C: call 0x2b0ab1ba */ /* not lifted */ 3459 RECOMP_FLAGS_IN(); 3460 ecx = POP32_VAL(esp); /* 0x2B0ACFA1: pop ecx */ 3461 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0ACFA2: ret */ 3462 RECOMP_REGS_OUT(); 3463 } 3464 3465 void sub_2B0ACFA3(void) { 3466 int _fpu_cmp = 0; 3467 uint32_t _cf = 0; 3468 int _df = 1; 3469 uint32_t _flag_k = FK_NONE; 3470 uint32_t _flag_a = 0, _flag_b = 0; 3471 uint32_t _itail_tgt = 0; 3472 RECOMP_REGS_LOCALS 3473 RECOMP_ENTER(0x2B0ACFA3u); 3474 3475 L_2B0ACFA3: 3476 eax = MEM32(ebp + (-0x10)); /* 0x2B0ACFA3: mov eax, dword ptr [ebp - 0x10] */ 3477 L_2B0ACFA6: 3478 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3479 eax = eax & 1; /* 0x2B0ACFA6: and eax, 1 */ 3480 _cf = 0; 3481 _flag_k = FK_TEST; 3482 L_2B0ACFA9: 3483 /* test eax, eax */ /* 0x2B0ACFA9: test eax, eax */ 3484 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3485 _cf = 0; 3486 _flag_k = FK_TEST; 3487 L_2B0ACFAB: 3488 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0ACFBA; /* 0x2B0ACFAB: je 0x2b0acfba */ 3489 L_2B0ACFB1: 3490 ecx = ebp + (-0x44); /* 0x2B0ACFB1: lea ecx, [ebp - 0x44] */ 3491 L_2B0ACFB4: 3492 { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; } 3493 L_2B0ACFBA: 3494 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0ACFBA: ret */ 3495 _ljump: 3496 switch (_itail_tgt) { 3497 case 0x2B0ACFA3u: goto L_2B0ACFA3; 3498 case 0x2B0ACFA6u: goto L_2B0ACFA6; 3499 case 0x2B0ACFA9u: goto L_2B0ACFA9; 3500 case 0x2B0ACFABu: goto L_2B0ACFAB; 3501 case 0x2B0ACFB1u: goto L_2B0ACFB1; 3502 case 0x2B0ACFB4u: goto L_2B0ACFB4; 3503 case 0x2B0ACFBAu: goto L_2B0ACFBA; 3504 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3505 } 3506 RECOMP_REGS_OUT(); 3507 } 3508 3509 void sub_2B0ACFBB(void) { 3510 int _fpu_cmp = 0; 3511 uint32_t _cf = 0; 3512 int _df = 1; 3513 uint32_t _flag_k = FK_NONE; 3514 uint32_t _flag_a = 0, _flag_b = 0; 3515 uint32_t _itail_tgt = 0; 3516 RECOMP_REGS_LOCALS 3517 RECOMP_ENTER(0x2B0ACFBBu); 3518 3519 L_2B0ACFBB: 3520 ecx = ebp + (-0x44); /* 0x2B0ACFBB: lea ecx, [ebp - 0x44] */ 3521 L_2B0ACFBE: 3522 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 3523 { RECOMP_REGS_OUT(); return; } /* end of function */ 3524 _ljump: 3525 switch (_itail_tgt) { 3526 case 0x2B0ACFBBu: goto L_2B0ACFBB; 3527 case 0x2B0ACFBEu: goto L_2B0ACFBE; 3528 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3529 } 3530 RECOMP_REGS_OUT(); 3531 } 3532 3533 void sub_2B0ACFC4(void) { 3534 int _fpu_cmp = 0; 3535 uint32_t _cf = 0; 3536 int _df = 1; 3537 uint32_t _flag_k = FK_NONE; 3538 uint32_t _flag_a = 0, _flag_b = 0; 3539 uint32_t _itail_tgt = 0; 3540 RECOMP_REGS_LOCALS 3541 RECOMP_ENTER(0x2B0ACFC4u); 3542 3543 L_2B0ACFC4: 3544 eax = MEM32(ebp + 0xC); /* 0x2B0ACFC4: mov eax, dword ptr [ebp + 0xc] */ 3545 PUSH32(esp, eax); /* 0x2B0ACFC7: push eax */ 3546 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0ACFC8: call 0x2b0ab1ba */ /* not lifted */ 3547 RECOMP_FLAGS_IN(); 3548 ecx = POP32_VAL(esp); /* 0x2B0ACFCD: pop ecx */ 3549 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0ACFCE: ret */ 3550 RECOMP_REGS_OUT(); 3551 } 3552 3553 void sub_2B0ACFCF(void) { 3554 int _fpu_cmp = 0; 3555 uint32_t _cf = 0; 3556 int _df = 1; 3557 uint32_t _flag_k = FK_NONE; 3558 uint32_t _flag_a = 0, _flag_b = 0; 3559 uint32_t _itail_tgt = 0; 3560 RECOMP_REGS_LOCALS 3561 RECOMP_ENTER(0x2B0ACFCFu); 3562 3563 L_2B0ACFCF: 3564 eax = MEM32(ebp + 0x8); /* 0x2B0ACFCF: mov eax, dword ptr [ebp + 8] */ 3565 PUSH32(esp, eax); /* 0x2B0ACFD2: push eax */ 3566 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0ACFD3: call 0x2b0ab1ba */ /* not lifted */ 3567 RECOMP_FLAGS_IN(); 3568 ecx = POP32_VAL(esp); /* 0x2B0ACFD8: pop ecx */ 3569 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0ACFD9: ret */ 3570 RECOMP_REGS_OUT(); 3571 } 3572 3573 void sub_2B0ACFDA(void) { 3574 int _fpu_cmp = 0; 3575 uint32_t _cf = 0; 3576 int _df = 1; 3577 uint32_t _flag_k = FK_NONE; 3578 uint32_t _flag_a = 0, _flag_b = 0; 3579 uint32_t _itail_tgt = 0; 3580 RECOMP_REGS_LOCALS 3581 RECOMP_ENTER(0x2B0ACFDAu); 3582 3583 L_2B0ACFDA: 3584 eax = MEM32(ebp + (-0x10)); /* 0x2B0ACFDA: mov eax, dword ptr [ebp - 0x10] */ 3585 L_2B0ACFDD: 3586 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 3587 eax = eax & 2; /* 0x2B0ACFDD: and eax, 2 */ 3588 _cf = 0; 3589 _flag_k = FK_TEST; 3590 L_2B0ACFE0: 3591 /* test eax, eax */ /* 0x2B0ACFE0: test eax, eax */ 3592 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3593 _cf = 0; 3594 _flag_k = FK_TEST; 3595 L_2B0ACFE2: 3596 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0ACFF1; /* 0x2B0ACFE2: je 0x2b0acff1 */ 3597 L_2B0ACFE8: 3598 ecx = ebp + (-0x44); /* 0x2B0ACFE8: lea ecx, [ebp - 0x44] */ 3599 L_2B0ACFEB: 3600 { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; } 3601 L_2B0ACFF1: 3602 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0ACFF1: ret */ 3603 _ljump: 3604 switch (_itail_tgt) { 3605 case 0x2B0ACFDAu: goto L_2B0ACFDA; 3606 case 0x2B0ACFDDu: goto L_2B0ACFDD; 3607 case 0x2B0ACFE0u: goto L_2B0ACFE0; 3608 case 0x2B0ACFE2u: goto L_2B0ACFE2; 3609 case 0x2B0ACFE8u: goto L_2B0ACFE8; 3610 case 0x2B0ACFEBu: goto L_2B0ACFEB; 3611 case 0x2B0ACFF1u: goto L_2B0ACFF1; 3612 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3613 } 3614 RECOMP_REGS_OUT(); 3615 } 3616 3617 void sub_2B0ACFF2(void) { 3618 int _fpu_cmp = 0; 3619 uint32_t _cf = 0; 3620 int _df = 1; 3621 uint32_t _flag_k = FK_NONE; 3622 uint32_t _flag_a = 0, _flag_b = 0; 3623 uint32_t _itail_tgt = 0; 3624 RECOMP_REGS_LOCALS 3625 RECOMP_ENTER(0x2B0ACFF2u); 3626 3627 L_2B0ACFF2: 3628 ecx = ebp + (-0x44); /* 0x2B0ACFF2: lea ecx, [ebp - 0x44] */ 3629 L_2B0ACFF5: 3630 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 3631 { RECOMP_REGS_OUT(); return; } /* end of function */ 3632 _ljump: 3633 switch (_itail_tgt) { 3634 case 0x2B0ACFF2u: goto L_2B0ACFF2; 3635 case 0x2B0ACFF5u: goto L_2B0ACFF5; 3636 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3637 } 3638 RECOMP_REGS_OUT(); 3639 } 3640 3641 void sub_2B0ACFFB(void) { 3642 int _fpu_cmp = 0; 3643 uint32_t _cf = 0; 3644 int _df = 1; 3645 uint32_t _flag_k = FK_NONE; 3646 uint32_t _flag_a = 0, _flag_b = 0; 3647 uint32_t _itail_tgt = 0; 3648 RECOMP_REGS_LOCALS 3649 RECOMP_ENTER(0x2B0ACFFBu); 3650 3651 L_2B0ACFFB: 3652 eax = MEM32(ebp + 0xC); /* 0x2B0ACFFB: mov eax, dword ptr [ebp + 0xc] */ 3653 PUSH32(esp, eax); /* 0x2B0ACFFE: push eax */ 3654 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0ACFFF: call 0x2b0ab1ba */ /* not lifted */ 3655 RECOMP_FLAGS_IN(); 3656 ecx = POP32_VAL(esp); /* 0x2B0AD004: pop ecx */ 3657 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0AD005: ret */ 3658 RECOMP_REGS_OUT(); 3659 } 3660 3661 void sub_2B0AD006(void) { 3662 int _fpu_cmp = 0; 3663 uint32_t _cf = 0; 3664 int _df = 1; 3665 uint32_t _flag_k = FK_NONE; 3666 uint32_t _flag_a = 0, _flag_b = 0; 3667 uint32_t _itail_tgt = 0; 3668 RECOMP_REGS_LOCALS 3669 RECOMP_ENTER(0x2B0AD006u); 3670 3671 L_2B0AD006: 3672 eax = MEM32(ebp + 0xC); /* 0x2B0AD006: mov eax, dword ptr [ebp + 0xc] */ 3673 PUSH32(esp, eax); /* 0x2B0AD009: push eax */ 3674 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0AD00A: call 0x2b0ab1ba */ /* not lifted */ 3675 RECOMP_FLAGS_IN(); 3676 ecx = POP32_VAL(esp); /* 0x2B0AD00F: pop ecx */ 3677 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0AD010: ret */ 3678 RECOMP_REGS_OUT(); 3679 } 3680 3681 void sub_2B0AD011(void) { 3682 int _fpu_cmp = 0; 3683 uint32_t _cf = 0; 3684 int _df = 1; 3685 uint32_t _flag_k = FK_NONE; 3686 uint32_t _flag_a = 0, _flag_b = 0; 3687 uint32_t _itail_tgt = 0; 3688 RECOMP_REGS_LOCALS 3689 RECOMP_ENTER(0x2B0AD011u); 3690 3691 L_2B0AD011: 3692 eax = MEM32(ebp + (-0x10)); /* 0x2B0AD011: mov eax, dword ptr [ebp - 0x10] */ 3693 L_2B0AD014: 3694 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(4); 3695 eax = eax & 4; /* 0x2B0AD014: and eax, 4 */ 3696 _cf = 0; 3697 _flag_k = FK_TEST; 3698 L_2B0AD017: 3699 /* test eax, eax */ /* 0x2B0AD017: test eax, eax */ 3700 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3701 _cf = 0; 3702 _flag_k = FK_TEST; 3703 L_2B0AD019: 3704 if (recomp_cond_cf(_flag_k, _flag_a, _flag_b, CC_E, _cf)) goto L_2B0AD028; /* 0x2B0AD019: je 0x2b0ad028 */ 3705 L_2B0AD01F: 3706 ecx = ebp + (-0x44); /* 0x2B0AD01F: lea ecx, [ebp - 0x44] */ 3707 L_2B0AD022: 3708 { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; } 3709 L_2B0AD028: 3710 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0AD028: ret */ 3711 _ljump: 3712 switch (_itail_tgt) { 3713 case 0x2B0AD011u: goto L_2B0AD011; 3714 case 0x2B0AD014u: goto L_2B0AD014; 3715 case 0x2B0AD017u: goto L_2B0AD017; 3716 case 0x2B0AD019u: goto L_2B0AD019; 3717 case 0x2B0AD01Fu: goto L_2B0AD01F; 3718 case 0x2B0AD022u: goto L_2B0AD022; 3719 case 0x2B0AD028u: goto L_2B0AD028; 3720 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3721 } 3722 RECOMP_REGS_OUT(); 3723 } 3724 3725 void sub_2B0AD029(void) { 3726 int _fpu_cmp = 0; 3727 uint32_t _cf = 0; 3728 int _df = 1; 3729 uint32_t _flag_k = FK_NONE; 3730 uint32_t _flag_a = 0, _flag_b = 0; 3731 uint32_t _itail_tgt = 0; 3732 RECOMP_REGS_LOCALS 3733 RECOMP_ENTER(0x2B0AD029u); 3734 3735 L_2B0AD029: 3736 ecx = ebp + (-0x44); /* 0x2B0AD029: lea ecx, [ebp - 0x44] */ 3737 L_2B0AD02C: 3738 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 3739 { RECOMP_REGS_OUT(); return; } /* end of function */ 3740 _ljump: 3741 switch (_itail_tgt) { 3742 case 0x2B0AD029u: goto L_2B0AD029; 3743 case 0x2B0AD02Cu: goto L_2B0AD02C; 3744 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3745 } 3746 RECOMP_REGS_OUT(); 3747 } 3748 3749 void sub_2B0AD032(void) { 3750 int _fpu_cmp = 0; 3751 uint32_t _cf = 0; 3752 int _df = 1; 3753 uint32_t _flag_k = FK_NONE; 3754 uint32_t _flag_a = 0, _flag_b = 0; 3755 uint32_t _itail_tgt = 0; 3756 RECOMP_REGS_LOCALS 3757 RECOMP_ENTER(0x2B0AD032u); 3758 3759 L_2B0AD032: 3760 eax = MEM32(ebp + 0xC); /* 0x2B0AD032: mov eax, dword ptr [ebp + 0xc] */ 3761 PUSH32(esp, eax); /* 0x2B0AD035: push eax */ 3762 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0AD036: call 0x2b0ab1ba */ /* not lifted */ 3763 RECOMP_FLAGS_IN(); 3764 ecx = POP32_VAL(esp); /* 0x2B0AD03B: pop ecx */ 3765 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0AD03C: ret */ 3766 RECOMP_REGS_OUT(); 3767 } 3768 3769 void sub_2B0AD03D(void) { 3770 int _fpu_cmp = 0; 3771 uint32_t _cf = 0; 3772 int _df = 1; 3773 uint32_t _flag_k = FK_NONE; 3774 uint32_t _flag_a = 0, _flag_b = 0; 3775 uint32_t _itail_tgt = 0; 3776 RECOMP_REGS_LOCALS 3777 RECOMP_ENTER(0x2B0AD03Du); 3778 3779 L_2B0AD03D: 3780 eax = MEM32(ebp + 0xC); /* 0x2B0AD03D: mov eax, dword ptr [ebp + 0xc] */ 3781 PUSH32(esp, eax); /* 0x2B0AD040: push eax */ 3782 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0AD041: call 0x2b0ab1ba */ /* not lifted */ 3783 RECOMP_FLAGS_IN(); 3784 ecx = POP32_VAL(esp); /* 0x2B0AD046: pop ecx */ 3785 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0AD047: ret */ 3786 RECOMP_REGS_OUT(); 3787 } 3788 3789 void sub_2B0AD048(void) { 3790 int _fpu_cmp = 0; 3791 uint32_t _cf = 0; 3792 int _df = 1; 3793 uint32_t _flag_k = FK_NONE; 3794 uint32_t _flag_a = 0, _flag_b = 0; 3795 uint32_t _itail_tgt = 0; 3796 RECOMP_REGS_LOCALS 3797 RECOMP_ENTER(0x2B0AD048u); 3798 3799 L_2B0AD048: 3800 eax = MEM32(ebp + 0xC); /* 0x2B0AD048: mov eax, dword ptr [ebp + 0xc] */ 3801 PUSH32(esp, eax); /* 0x2B0AD04B: push eax */ 3802 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0AD04C: call 0x2b0ab1ba */ /* not lifted */ 3803 RECOMP_FLAGS_IN(); 3804 ecx = POP32_VAL(esp); /* 0x2B0AD051: pop ecx */ 3805 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0AD052: ret */ 3806 RECOMP_REGS_OUT(); 3807 } 3808 3809 void sub_2B0AD053(void) { 3810 int _fpu_cmp = 0; 3811 uint32_t _cf = 0; 3812 int _df = 1; 3813 uint32_t _flag_k = FK_NONE; 3814 uint32_t _flag_a = 0, _flag_b = 0; 3815 uint32_t _itail_tgt = 0; 3816 RECOMP_REGS_LOCALS 3817 RECOMP_ENTER(0x2B0AD053u); 3818 3819 L_2B0AD053: 3820 eax = MEM32(ebp + 0xC); /* 0x2B0AD053: mov eax, dword ptr [ebp + 0xc] */ 3821 PUSH32(esp, eax); /* 0x2B0AD056: push eax */ 3822 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0AD057: call 0x2b0ab1ba */ /* not lifted */ 3823 RECOMP_FLAGS_IN(); 3824 ecx = POP32_VAL(esp); /* 0x2B0AD05C: pop ecx */ 3825 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0AD05D: ret */ 3826 RECOMP_REGS_OUT(); 3827 } 3828 3829 void sub_2B0AD05E(void) { 3830 int _fpu_cmp = 0; 3831 uint32_t _cf = 0; 3832 int _df = 1; 3833 uint32_t _flag_k = FK_NONE; 3834 uint32_t _flag_a = 0, _flag_b = 0; 3835 uint32_t _itail_tgt = 0; 3836 RECOMP_REGS_LOCALS 3837 RECOMP_ENTER(0x2B0AD05Eu); 3838 3839 L_2B0AD05E: 3840 eax = MEM32(ebp + 0xC); /* 0x2B0AD05E: mov eax, dword ptr [ebp + 0xc] */ 3841 PUSH32(esp, eax); /* 0x2B0AD061: push eax */ 3842 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0AD062: call 0x2b0ab1ba */ /* not lifted */ 3843 RECOMP_FLAGS_IN(); 3844 ecx = POP32_VAL(esp); /* 0x2B0AD067: pop ecx */ 3845 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0AD068: ret */ 3846 RECOMP_REGS_OUT(); 3847 } 3848 3849 void sub_2B0AD069(void) { 3850 int _fpu_cmp = 0; 3851 uint32_t _cf = 0; 3852 int _df = 1; 3853 uint32_t _flag_k = FK_NONE; 3854 uint32_t _flag_a = 0, _flag_b = 0; 3855 uint32_t _itail_tgt = 0; 3856 RECOMP_REGS_LOCALS 3857 RECOMP_ENTER(0x2B0AD069u); 3858 3859 L_2B0AD069: 3860 eax = MEM32(ebp + 0xC); /* 0x2B0AD069: mov eax, dword ptr [ebp + 0xc] */ 3861 PUSH32(esp, eax); /* 0x2B0AD06C: push eax */ 3862 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0AD06D: call 0x2b0ab1ba */ /* not lifted */ 3863 RECOMP_FLAGS_IN(); 3864 ecx = POP32_VAL(esp); /* 0x2B0AD072: pop ecx */ 3865 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0AD073: ret */ 3866 RECOMP_REGS_OUT(); 3867 } 3868 3869 void sub_2B0AD074(void) { 3870 int _fpu_cmp = 0; 3871 uint32_t _cf = 0; 3872 int _df = 1; 3873 uint32_t _flag_k = FK_NONE; 3874 uint32_t _flag_a = 0, _flag_b = 0; 3875 uint32_t _itail_tgt = 0; 3876 RECOMP_REGS_LOCALS 3877 RECOMP_ENTER(0x2B0AD074u); 3878 3879 L_2B0AD074: 3880 eax = MEM32(ebp + 0xC); /* 0x2B0AD074: mov eax, dword ptr [ebp + 0xc] */ 3881 PUSH32(esp, eax); /* 0x2B0AD077: push eax */ 3882 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0AD078: call 0x2b0ab1ba */ /* not lifted */ 3883 RECOMP_FLAGS_IN(); 3884 ecx = POP32_VAL(esp); /* 0x2B0AD07D: pop ecx */ 3885 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0AD07E: ret */ 3886 RECOMP_REGS_OUT(); 3887 } 3888 3889 void sub_2B0AD07F(void) { 3890 int _fpu_cmp = 0; 3891 uint32_t _cf = 0; 3892 int _df = 1; 3893 uint32_t _flag_k = FK_NONE; 3894 uint32_t _flag_a = 0, _flag_b = 0; 3895 uint32_t _itail_tgt = 0; 3896 RECOMP_REGS_LOCALS 3897 RECOMP_ENTER(0x2B0AD07Fu); 3898 3899 L_2B0AD07F: 3900 eax = MEM32(ebp + 0xC); /* 0x2B0AD07F: mov eax, dword ptr [ebp + 0xc] */ 3901 PUSH32(esp, eax); /* 0x2B0AD082: push eax */ 3902 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0AD083: call 0x2b0ab1ba */ /* not lifted */ 3903 RECOMP_FLAGS_IN(); 3904 ecx = POP32_VAL(esp); /* 0x2B0AD088: pop ecx */ 3905 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0AD089: ret */ 3906 RECOMP_REGS_OUT(); 3907 } 3908 3909 void sub_2B0AD08A(void) { 3910 int _fpu_cmp = 0; 3911 uint32_t _cf = 0; 3912 int _df = 1; 3913 uint32_t _flag_k = FK_NONE; 3914 uint32_t _flag_a = 0, _flag_b = 0; 3915 uint32_t _itail_tgt = 0; 3916 RECOMP_REGS_LOCALS 3917 RECOMP_ENTER(0x2B0AD08Au); 3918 3919 L_2B0AD08A: 3920 eax = MEM32(ebp + 0xC); /* 0x2B0AD08A: mov eax, dword ptr [ebp + 0xc] */ 3921 PUSH32(esp, eax); /* 0x2B0AD08D: push eax */ 3922 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0AD08E: call 0x2b0ab1ba */ /* not lifted */ 3923 RECOMP_FLAGS_IN(); 3924 ecx = POP32_VAL(esp); /* 0x2B0AD093: pop ecx */ 3925 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0AD094: ret */ 3926 RECOMP_REGS_OUT(); 3927 } 3928 3929 void sub_2B0AD095(void) { 3930 int _fpu_cmp = 0; 3931 uint32_t _cf = 0; 3932 int _df = 1; 3933 uint32_t _flag_k = FK_NONE; 3934 uint32_t _flag_a = 0, _flag_b = 0; 3935 uint32_t _itail_tgt = 0; 3936 RECOMP_REGS_LOCALS 3937 RECOMP_ENTER(0x2B0AD095u); 3938 3939 L_2B0AD095: 3940 eax = MEM32(ebp + 0xC); /* 0x2B0AD095: mov eax, dword ptr [ebp + 0xc] */ 3941 PUSH32(esp, eax); /* 0x2B0AD098: push eax */ 3942 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0AD099: call 0x2b0ab1ba */ /* not lifted */ 3943 RECOMP_FLAGS_IN(); 3944 ecx = POP32_VAL(esp); /* 0x2B0AD09E: pop ecx */ 3945 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0AD09F: ret */ 3946 RECOMP_REGS_OUT(); 3947 } 3948 3949 void sub_2B0AD0A0(void) { 3950 int _fpu_cmp = 0; 3951 uint32_t _cf = 0; 3952 int _df = 1; 3953 uint32_t _flag_k = FK_NONE; 3954 uint32_t _flag_a = 0, _flag_b = 0; 3955 uint32_t _itail_tgt = 0; 3956 RECOMP_REGS_LOCALS 3957 RECOMP_ENTER(0x2B0AD0A0u); 3958 3959 L_2B0AD0A0: 3960 eax = MEM32(ebp + 0xC); /* 0x2B0AD0A0: mov eax, dword ptr [ebp + 0xc] */ 3961 PUSH32(esp, eax); /* 0x2B0AD0A3: push eax */ 3962 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0AD0A4: call 0x2b0ab1ba */ /* not lifted */ 3963 RECOMP_FLAGS_IN(); 3964 ecx = POP32_VAL(esp); /* 0x2B0AD0A9: pop ecx */ 3965 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0AD0AA: ret */ 3966 RECOMP_REGS_OUT(); 3967 } 3968 3969 void sub_2B0AD0AB(void) { 3970 int _fpu_cmp = 0; 3971 uint32_t _cf = 0; 3972 int _df = 1; 3973 uint32_t _flag_k = FK_NONE; 3974 uint32_t _flag_a = 0, _flag_b = 0; 3975 uint32_t _itail_tgt = 0; 3976 RECOMP_REGS_LOCALS 3977 RECOMP_ENTER(0x2B0AD0ABu); 3978 3979 L_2B0AD0AB: 3980 eax = MEM32(ebp + 0xC); /* 0x2B0AD0AB: mov eax, dword ptr [ebp + 0xc] */ 3981 PUSH32(esp, eax); /* 0x2B0AD0AE: push eax */ 3982 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0AD0AF: call 0x2b0ab1ba */ /* not lifted */ 3983 RECOMP_FLAGS_IN(); 3984 ecx = POP32_VAL(esp); /* 0x2B0AD0B4: pop ecx */ 3985 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0AD0B5: ret */ 3986 RECOMP_REGS_OUT(); 3987 } 3988 3989 void sub_2B0AD0B6(void) { 3990 int _fpu_cmp = 0; 3991 uint32_t _cf = 0; 3992 int _df = 1; 3993 uint32_t _flag_k = FK_NONE; 3994 uint32_t _flag_a = 0, _flag_b = 0; 3995 uint32_t _itail_tgt = 0; 3996 RECOMP_REGS_LOCALS 3997 RECOMP_ENTER(0x2B0AD0B6u); 3998 3999 L_2B0AD0B6: 4000 eax = MEM32(ebp + 0xC); /* 0x2B0AD0B6: mov eax, dword ptr [ebp + 0xc] */ 4001 PUSH32(esp, eax); /* 0x2B0AD0B9: push eax */ 4002 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0AD0BA: call 0x2b0ab1ba */ /* not lifted */ 4003 RECOMP_FLAGS_IN(); 4004 ecx = POP32_VAL(esp); /* 0x2B0AD0BF: pop ecx */ 4005 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0AD0C0: ret */ 4006 RECOMP_REGS_OUT(); 4007 } 4008 4009 void sub_2B0AD0C1(void) { 4010 int _fpu_cmp = 0; 4011 uint32_t _cf = 0; 4012 int _df = 1; 4013 uint32_t _flag_k = FK_NONE; 4014 uint32_t _flag_a = 0, _flag_b = 0; 4015 uint32_t _itail_tgt = 0; 4016 RECOMP_REGS_LOCALS 4017 RECOMP_ENTER(0x2B0AD0C1u); 4018 4019 L_2B0AD0C1: 4020 eax = MEM32(ebp + 0xC); /* 0x2B0AD0C1: mov eax, dword ptr [ebp + 0xc] */ 4021 PUSH32(esp, eax); /* 0x2B0AD0C4: push eax */ 4022 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0AD0C5: call 0x2b0ab1ba */ /* not lifted */ 4023 RECOMP_FLAGS_IN(); 4024 ecx = POP32_VAL(esp); /* 0x2B0AD0CA: pop ecx */ 4025 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0AD0CB: ret */ 4026 RECOMP_REGS_OUT(); 4027 } 4028 4029 void sub_2B0AD0CC(void) { 4030 int _fpu_cmp = 0; 4031 uint32_t _cf = 0; 4032 int _df = 1; 4033 uint32_t _flag_k = FK_NONE; 4034 uint32_t _flag_a = 0, _flag_b = 0; 4035 uint32_t _itail_tgt = 0; 4036 RECOMP_REGS_LOCALS 4037 RECOMP_ENTER(0x2B0AD0CCu); 4038 4039 L_2B0AD0CC: 4040 eax = MEM32(ebp + 0xC); /* 0x2B0AD0CC: mov eax, dword ptr [ebp + 0xc] */ 4041 PUSH32(esp, eax); /* 0x2B0AD0CF: push eax */ 4042 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0AD0D0: call 0x2b0ab1ba */ /* not lifted */ 4043 RECOMP_FLAGS_IN(); 4044 ecx = POP32_VAL(esp); /* 0x2B0AD0D5: pop ecx */ 4045 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0AD0D6: ret */ 4046 RECOMP_REGS_OUT(); 4047 } 4048 4049 void sub_2B0AD0D7(void) { 4050 int _fpu_cmp = 0; 4051 uint32_t _cf = 0; 4052 int _df = 1; 4053 uint32_t _flag_k = FK_NONE; 4054 uint32_t _flag_a = 0, _flag_b = 0; 4055 uint32_t _itail_tgt = 0; 4056 RECOMP_REGS_LOCALS 4057 RECOMP_ENTER(0x2B0AD0D7u); 4058 4059 L_2B0AD0D7: 4060 eax = MEM32(ebp + 0xC); /* 0x2B0AD0D7: mov eax, dword ptr [ebp + 0xc] */ 4061 PUSH32(esp, eax); /* 0x2B0AD0DA: push eax */ 4062 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0AD0DB: call 0x2b0ab1ba */ /* not lifted */ 4063 RECOMP_FLAGS_IN(); 4064 ecx = POP32_VAL(esp); /* 0x2B0AD0E0: pop ecx */ 4065 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0AD0E1: ret */ 4066 RECOMP_REGS_OUT(); 4067 } 4068 4069 void sub_2B0AD0E2(void) { 4070 int _fpu_cmp = 0; 4071 uint32_t _cf = 0; 4072 int _df = 1; 4073 uint32_t _flag_k = FK_NONE; 4074 uint32_t _flag_a = 0, _flag_b = 0; 4075 uint32_t _itail_tgt = 0; 4076 RECOMP_REGS_LOCALS 4077 RECOMP_ENTER(0x2B0AD0E2u); 4078 4079 L_2B0AD0E2: 4080 eax = MEM32(ebp + 0xC); /* 0x2B0AD0E2: mov eax, dword ptr [ebp + 0xc] */ 4081 PUSH32(esp, eax); /* 0x2B0AD0E5: push eax */ 4082 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0AD0E6: call 0x2b0ab1ba */ /* not lifted */ 4083 RECOMP_FLAGS_IN(); 4084 ecx = POP32_VAL(esp); /* 0x2B0AD0EB: pop ecx */ 4085 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0AD0EC: ret */ 4086 RECOMP_REGS_OUT(); 4087 } 4088 4089 void sub_2B0AD0ED(void) { 4090 int _fpu_cmp = 0; 4091 uint32_t _cf = 0; 4092 int _df = 1; 4093 uint32_t _flag_k = FK_NONE; 4094 uint32_t _flag_a = 0, _flag_b = 0; 4095 uint32_t _itail_tgt = 0; 4096 RECOMP_REGS_LOCALS 4097 RECOMP_ENTER(0x2B0AD0EDu); 4098 4099 L_2B0AD0ED: 4100 eax = MEM32(ebp + 0xC); /* 0x2B0AD0ED: mov eax, dword ptr [ebp + 0xc] */ 4101 PUSH32(esp, eax); /* 0x2B0AD0F0: push eax */ 4102 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0AD0F1: call 0x2b0ab1ba */ /* not lifted */ 4103 RECOMP_FLAGS_IN(); 4104 ecx = POP32_VAL(esp); /* 0x2B0AD0F6: pop ecx */ 4105 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0AD0F7: ret */ 4106 RECOMP_REGS_OUT(); 4107 } 4108 4109 void sub_2B0AD0F8(void) { 4110 int _fpu_cmp = 0; 4111 uint32_t _cf = 0; 4112 int _df = 1; 4113 uint32_t _flag_k = FK_NONE; 4114 uint32_t _flag_a = 0, _flag_b = 0; 4115 uint32_t _itail_tgt = 0; 4116 RECOMP_REGS_LOCALS 4117 RECOMP_ENTER(0x2B0AD0F8u); 4118 4119 goto L_2B0AD0F8; 4120 L_2B0AB218: 4121 { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; } 4122 L_2B0AD0F8: 4123 eax = 0x2B0BA140u; /* 0x2B0AD0F8: mov eax, 0x2b0ba140 */ 4124 L_2B0AD0FD: 4125 RECOMP_BACKEDGE(); 4126 goto L_2B0AB218; /* 0x2B0AD0FD: jmp 0x2b0ab218 */ 4127 { RECOMP_REGS_OUT(); return; } /* end of function */ 4128 _ljump: 4129 switch (_itail_tgt) { 4130 case 0x2B0AB218u: goto L_2B0AB218; 4131 case 0x2B0AD0F8u: goto L_2B0AD0F8; 4132 case 0x2B0AD0FDu: goto L_2B0AD0FD; 4133 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 4134 } 4135 RECOMP_REGS_OUT(); 4136 } 4137 4138 void sub_2B0AD110(void) { 4139 int _fpu_cmp = 0; 4140 uint32_t _cf = 0; 4141 int _df = 1; 4142 uint32_t _flag_k = FK_NONE; 4143 uint32_t _flag_a = 0, _flag_b = 0; 4144 uint32_t _itail_tgt = 0; 4145 RECOMP_REGS_LOCALS 4146 RECOMP_ENTER(0x2B0AD110u); 4147 4148 goto L_2B0AD110; 4149 L_2B038470: 4150 PUSH32(esp, esi); /* 0x2B038470: push esi */ 4151 esi = ecx; /* 0x2B038471: mov esi, ecx */ 4152 ecx = MEM32(esi + 0xC); /* 0x2B038473: mov ecx, dword ptr [esi + 0xc] */ 4153 /* test ecx, ecx */ /* 0x2B038476: test ecx, ecx */ 4154 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 4155 _cf = 0; 4156 _flag_k = FK_TEST; 4157 PUSH32(esp, edi); /* 0x2B038478: push edi */ 4158 MEM32(esi) = 0x2B0B63DCu; /* 0x2B038479: mov dword ptr [esi], 0x2b0b63dc */ 4159 if (TEST_Z(_flag_a, _flag_b)) goto L_2B038487; /* 0x2B03847F: je 0x2b038487 */ 4160 L_2B038481: 4161 eax = MEM32(ecx); /* 0x2B038481: mov eax, dword ptr [ecx] */ 4162 PUSH32(esp, 1); /* 0x2B038483: push 1 */ 4163 RECOMP_ICALL(MEM32(eax)); /* 0x2B038485: call dword ptr [eax] */ 4164 RECOMP_FLAGS_IN(); 4165 L_2B038487: 4166 edi = MEM32(esi + 0x8); /* 0x2B038487: mov edi, dword ptr [esi + 8] */ 4167 /* test edi, edi */ /* 0x2B03848A: test edi, edi */ 4168 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 4169 _cf = 0; 4170 _flag_k = FK_TEST; 4171 PUSH32(esp, ebx); /* 0x2B03848C: push ebx */ 4172 ebx = MEM32(0x2B0B5BC4); /* 0x2B03848D: mov ebx, dword ptr [0x2b0b5bc4] */ 4173 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0384A2; /* 0x2B038493: je 0x2b0384a2 */ 4174 L_2B038495: 4175 ecx = edi; /* 0x2B038495: mov ecx, edi */ 4176 RECOMP_ICALL(ebx); /* 0x2B038497: call ebx */ 4177 RECOMP_FLAGS_IN(); 4178 PUSH32(esp, edi); /* 0x2B038499: push edi */ 4179 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03849A: call 0x2b0ab1ba */ /* not lifted */ 4180 RECOMP_FLAGS_IN(); 4181 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4182 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4183 esp = esp + 4; /* 0x2B03849F: add esp, 4 */ 4184 _flag_k = FK_ADD; 4185 L_2B0384A2: 4186 ecx = MEM32(esi + 0x14); /* 0x2B0384A2: mov ecx, dword ptr [esi + 0x14] */ 4187 /* test ecx, ecx */ /* 0x2B0384A5: test ecx, ecx */ 4188 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 4189 _cf = 0; 4190 _flag_k = FK_TEST; 4191 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0384AF; /* 0x2B0384A7: je 0x2b0384af */ 4192 L_2B0384A9: 4193 edx = MEM32(ecx); /* 0x2B0384A9: mov edx, dword ptr [ecx] */ 4194 PUSH32(esp, 1); /* 0x2B0384AB: push 1 */ 4195 RECOMP_ICALL(MEM32(edx)); /* 0x2B0384AD: call dword ptr [edx] */ 4196 RECOMP_FLAGS_IN(); 4197 L_2B0384AF: 4198 edi = MEM32(esi + 0x10); /* 0x2B0384AF: mov edi, dword ptr [esi + 0x10] */ 4199 /* test edi, edi */ /* 0x2B0384B2: test edi, edi */ 4200 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 4201 _cf = 0; 4202 _flag_k = FK_TEST; 4203 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0384C3; /* 0x2B0384B4: je 0x2b0384c3 */ 4204 L_2B0384B6: 4205 ecx = edi; /* 0x2B0384B6: mov ecx, edi */ 4206 RECOMP_ICALL(ebx); /* 0x2B0384B8: call ebx */ 4207 RECOMP_FLAGS_IN(); 4208 PUSH32(esp, edi); /* 0x2B0384BA: push edi */ 4209 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0384BB: call 0x2b0ab1ba */ /* not lifted */ 4210 RECOMP_FLAGS_IN(); 4211 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4212 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4213 esp = esp + 4; /* 0x2B0384C0: add esp, 4 */ 4214 _flag_k = FK_ADD; 4215 L_2B0384C3: 4216 ecx = MEM32(esi + 0x1C); /* 0x2B0384C3: mov ecx, dword ptr [esi + 0x1c] */ 4217 /* test ecx, ecx */ /* 0x2B0384C6: test ecx, ecx */ 4218 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 4219 _cf = 0; 4220 _flag_k = FK_TEST; 4221 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0384D0; /* 0x2B0384C8: je 0x2b0384d0 */ 4222 L_2B0384CA: 4223 eax = MEM32(ecx); /* 0x2B0384CA: mov eax, dword ptr [ecx] */ 4224 PUSH32(esp, 1); /* 0x2B0384CC: push 1 */ 4225 RECOMP_ICALL(MEM32(eax)); /* 0x2B0384CE: call dword ptr [eax] */ 4226 RECOMP_FLAGS_IN(); 4227 L_2B0384D0: 4228 edi = MEM32(esi + 0x18); /* 0x2B0384D0: mov edi, dword ptr [esi + 0x18] */ 4229 /* test edi, edi */ /* 0x2B0384D3: test edi, edi */ 4230 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 4231 _cf = 0; 4232 _flag_k = FK_TEST; 4233 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0384E4; /* 0x2B0384D5: je 0x2b0384e4 */ 4234 L_2B0384D7: 4235 ecx = edi; /* 0x2B0384D7: mov ecx, edi */ 4236 RECOMP_ICALL(ebx); /* 0x2B0384D9: call ebx */ 4237 RECOMP_FLAGS_IN(); 4238 PUSH32(esp, edi); /* 0x2B0384DB: push edi */ 4239 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0384DC: call 0x2b0ab1ba */ /* not lifted */ 4240 RECOMP_FLAGS_IN(); 4241 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4242 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4243 esp = esp + 4; /* 0x2B0384E1: add esp, 4 */ 4244 _flag_k = FK_ADD; 4245 L_2B0384E4: 4246 edi = MEM32(esi + 0x24); /* 0x2B0384E4: mov edi, dword ptr [esi + 0x24] */ 4247 /* test edi, edi */ /* 0x2B0384E7: test edi, edi */ 4248 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 4249 _cf = 0; 4250 _flag_k = FK_TEST; 4251 ebx = POP32_VAL(esp); /* 0x2B0384E9: pop ebx */ 4252 if (TEST_Z(_flag_a, _flag_b)) goto L_2B0384FD; /* 0x2B0384EA: je 0x2b0384fd */ 4253 L_2B0384EC: 4254 ecx = edi; /* 0x2B0384EC: mov ecx, edi */ 4255 RECOMP_ICALL(MEM32(0x2B0B5B2C)); /* 0x2B0384EE: call dword ptr [0x2b0b5b2c] */ 4256 RECOMP_FLAGS_IN(); 4257 PUSH32(esp, edi); /* 0x2B0384F4: push edi */ 4258 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0384F5: call 0x2b0ab1ba */ /* not lifted */ 4259 RECOMP_FLAGS_IN(); 4260 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4261 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4262 esp = esp + 4; /* 0x2B0384FA: add esp, 4 */ 4263 _flag_k = FK_ADD; 4264 L_2B0384FD: 4265 edi = MEM32(esi + 0x20); /* 0x2B0384FD: mov edi, dword ptr [esi + 0x20] */ 4266 /* test edi, edi */ /* 0x2B038500: test edi, edi */ 4267 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 4268 _cf = 0; 4269 _flag_k = FK_TEST; 4270 if (TEST_Z(_flag_a, _flag_b)) goto L_2B038515; /* 0x2B038502: je 0x2b038515 */ 4271 L_2B038504: 4272 ecx = edi; /* 0x2B038504: mov ecx, edi */ 4273 RECOMP_ICALL(MEM32(0x2B0B5B30)); /* 0x2B038506: call dword ptr [0x2b0b5b30] */ 4274 RECOMP_FLAGS_IN(); 4275 PUSH32(esp, edi); /* 0x2B03850C: push edi */ 4276 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03850D: call 0x2b0ab1ba */ /* not lifted */ 4277 RECOMP_FLAGS_IN(); 4278 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4279 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4280 esp = esp + 4; /* 0x2B038512: add esp, 4 */ 4281 _flag_k = FK_ADD; 4282 L_2B038515: 4283 ecx = esi; /* 0x2B038515: mov ecx, esi */ 4284 RECOMP_ICALL(0x2B038550u); /* 0x2B038517: call 0x2b038550 */ /* not lifted */ 4285 RECOMP_FLAGS_IN(); 4286 edi = MEM32(esi + 0x4); /* 0x2B03851C: mov edi, dword ptr [esi + 4] */ 4287 /* test edi, edi */ /* 0x2B03851F: test edi, edi */ 4288 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 4289 _cf = 0; 4290 _flag_k = FK_TEST; 4291 if (TEST_Z(_flag_a, _flag_b)) goto L_2B038534; /* 0x2B038521: je 0x2b038534 */ 4292 L_2B038523: 4293 ecx = edi; /* 0x2B038523: mov ecx, edi */ 4294 RECOMP_ICALL(MEM32(0x2B0B5A68)); /* 0x2B038525: call dword ptr [0x2b0b5a68] */ 4295 RECOMP_FLAGS_IN(); 4296 PUSH32(esp, edi); /* 0x2B03852B: push edi */ 4297 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03852C: call 0x2b0ab1ba */ /* not lifted */ 4298 RECOMP_FLAGS_IN(); 4299 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4300 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4301 esp = esp + 4; /* 0x2B038531: add esp, 4 */ 4302 _flag_k = FK_ADD; 4303 L_2B038534: 4304 ecx = esi; /* 0x2B038534: mov ecx, esi */ 4305 RECOMP_ICALL(0x2B038540u); /* 0x2B038536: call 0x2b038540 */ /* not lifted */ 4306 RECOMP_FLAGS_IN(); 4307 edi = POP32_VAL(esp); /* 0x2B03853B: pop edi */ 4308 esi = POP32_VAL(esp); /* 0x2B03853C: pop esi */ 4309 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03853D: ret */ 4310 L_2B0AD110: 4311 ecx = MEM32(ebp + (-0x10)); /* 0x2B0AD110: mov ecx, dword ptr [ebp - 0x10] */ 4312 RECOMP_BACKEDGE(); 4313 goto L_2B038470; /* 0x2B0AD113: jmp 0x2b038470 */ 4314 { RECOMP_REGS_OUT(); return; } /* end of function */ 4315 RECOMP_REGS_OUT(); 4316 } 4317 4318 void sub_2B0AD118(void) { 4319 int _fpu_cmp = 0; 4320 uint32_t _cf = 0; 4321 int _df = 1; 4322 uint32_t _flag_k = FK_NONE; 4323 uint32_t _flag_a = 0, _flag_b = 0; 4324 uint32_t _itail_tgt = 0; 4325 RECOMP_REGS_LOCALS 4326 RECOMP_ENTER(0x2B0AD118u); 4327 4328 goto L_2B0AD118; 4329 L_2B0AB218: 4330 { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; } 4331 L_2B0AD118: 4332 eax = 0x2B0BA268u; /* 0x2B0AD118: mov eax, 0x2b0ba268 */ 4333 L_2B0AD11D: 4334 RECOMP_BACKEDGE(); 4335 goto L_2B0AB218; /* 0x2B0AD11D: jmp 0x2b0ab218 */ 4336 { RECOMP_REGS_OUT(); return; } /* end of function */ 4337 _ljump: 4338 switch (_itail_tgt) { 4339 case 0x2B0AB218u: goto L_2B0AB218; 4340 case 0x2B0AD118u: goto L_2B0AD118; 4341 case 0x2B0AD11Du: goto L_2B0AD11D; 4342 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 4343 } 4344 RECOMP_REGS_OUT(); 4345 } 4346 4347 void sub_2B0AD130(void) { 4348 int _fpu_cmp = 0; 4349 uint32_t _cf = 0; 4350 int _df = 1; 4351 uint32_t _flag_k = FK_NONE; 4352 uint32_t _flag_a = 0, _flag_b = 0; 4353 uint32_t _itail_tgt = 0; 4354 RECOMP_REGS_LOCALS 4355 RECOMP_ENTER(0x2B0AD130u); 4356 4357 L_2B0AD130: 4358 ecx = ebp + (-0x3C); /* 0x2B0AD130: lea ecx, [ebp - 0x3c] */ 4359 L_2B0AD133: 4360 { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; } 4361 { RECOMP_REGS_OUT(); return; } /* end of function */ 4362 _ljump: 4363 switch (_itail_tgt) { 4364 case 0x2B0AD130u: goto L_2B0AD130; 4365 case 0x2B0AD133u: goto L_2B0AD133; 4366 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 4367 } 4368 RECOMP_REGS_OUT(); 4369 } 4370 4371 void sub_2B0AD139(void) { 4372 int _fpu_cmp = 0; 4373 uint32_t _cf = 0; 4374 int _df = 1; 4375 uint32_t _flag_k = FK_NONE; 4376 uint32_t _flag_a = 0, _flag_b = 0; 4377 uint32_t _itail_tgt = 0; 4378 RECOMP_REGS_LOCALS 4379 RECOMP_ENTER(0x2B0AD139u); 4380 4381 L_2B0AD139: 4382 ecx = ebp + (-0x28); /* 0x2B0AD139: lea ecx, [ebp - 0x28] */ 4383 L_2B0AD13C: 4384 { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; } 4385 { RECOMP_REGS_OUT(); return; } /* end of function */ 4386 _ljump: 4387 switch (_itail_tgt) { 4388 case 0x2B0AD139u: goto L_2B0AD139; 4389 case 0x2B0AD13Cu: goto L_2B0AD13C; 4390 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 4391 } 4392 RECOMP_REGS_OUT(); 4393 } 4394 4395 void sub_2B0AD142(void) { 4396 int _fpu_cmp = 0; 4397 uint32_t _cf = 0; 4398 int _df = 1; 4399 uint32_t _flag_k = FK_NONE; 4400 uint32_t _flag_a = 0, _flag_b = 0; 4401 uint32_t _itail_tgt = 0; 4402 RECOMP_REGS_LOCALS 4403 RECOMP_ENTER(0x2B0AD142u); 4404 4405 L_2B0AD142: 4406 ecx = ebp + (-0x28); /* 0x2B0AD142: lea ecx, [ebp - 0x28] */ 4407 L_2B0AD145: 4408 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 4409 { RECOMP_REGS_OUT(); return; } /* end of function */ 4410 _ljump: 4411 switch (_itail_tgt) { 4412 case 0x2B0AD142u: goto L_2B0AD142; 4413 case 0x2B0AD145u: goto L_2B0AD145; 4414 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 4415 } 4416 RECOMP_REGS_OUT(); 4417 } 4418 4419 void sub_2B0AD14B(void) { 4420 int _fpu_cmp = 0; 4421 uint32_t _cf = 0; 4422 int _df = 1; 4423 uint32_t _flag_k = FK_NONE; 4424 uint32_t _flag_a = 0, _flag_b = 0; 4425 uint32_t _itail_tgt = 0; 4426 RECOMP_REGS_LOCALS 4427 RECOMP_ENTER(0x2B0AD14Bu); 4428 4429 L_2B0AD14B: 4430 ecx = ebp + (-0x3C); /* 0x2B0AD14B: lea ecx, [ebp - 0x3c] */ 4431 L_2B0AD14E: 4432 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 4433 { RECOMP_REGS_OUT(); return; } /* end of function */ 4434 _ljump: 4435 switch (_itail_tgt) { 4436 case 0x2B0AD14Bu: goto L_2B0AD14B; 4437 case 0x2B0AD14Eu: goto L_2B0AD14E; 4438 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 4439 } 4440 RECOMP_REGS_OUT(); 4441 }