client/game/ddr.dll/lifted-0068.c (203978B)
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_2B0B17E9(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(0x2B0B17E9u); 17 18 goto L_2B0B17E9; 19 L_2B075130: 20 PUSH32(esp, esi); /* 0x2B075130: push esi */ 21 esi = ecx; /* 0x2B075131: mov esi, ecx */ 22 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 23 /* test eax, eax */ /* 0x2B075136: 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_2B075156; /* 0x2B075138: je 0x2b075156 */ 28 L_2B07513A: 29 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 30 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 31 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: 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_2B07514D; /* 0x2B075141: je 0x2b07514d */ 36 L_2B075143: 37 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: 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_2B07514D; /* 0x2B075145: je 0x2b07514d */ 42 L_2B075147: 43 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 44 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 45 _flag_k = FK_NARROW(FK_DEC, 24); 46 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 47 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 48 L_2B07514D: 49 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 50 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: 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; /* 0x2B075153: add esp, 4 */ 55 _flag_k = FK_ADD; 56 L_2B075156: 57 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 58 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 59 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 60 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 61 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 62 L_2B0B17E9: 63 ecx = ebp + (-0x40); /* 0x2B0B17E9: lea ecx, [ebp - 0x40] */ 64 RECOMP_BACKEDGE(); 65 goto L_2B075130; /* 0x2B0B17EC: jmp 0x2b075130 */ 66 { RECOMP_REGS_OUT(); return; } /* end of function */ 67 RECOMP_REGS_OUT(); 68 } 69 70 void sub_2B0B17F1(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(0x2B0B17F1u); 79 80 goto L_2B0B17F1; 81 L_2B075130: 82 PUSH32(esp, esi); /* 0x2B075130: push esi */ 83 esi = ecx; /* 0x2B075131: mov esi, ecx */ 84 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 85 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 86 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 87 _cf = 0; 88 _flag_k = FK_TEST; 89 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 90 L_2B07513A: 91 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 92 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 93 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 94 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 95 _cf = 0; 96 _flag_k = FK_NARROW(FK_TEST, 24); 97 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 98 L_2B075143: 99 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 100 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 101 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 102 _flag_k = FK_NARROW(FK_CMP, 24); 103 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 104 L_2B075147: 105 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 106 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 107 _flag_k = FK_NARROW(FK_DEC, 24); 108 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 109 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 110 L_2B07514D: 111 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 112 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 113 RECOMP_FLAGS_IN(); 114 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 115 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 116 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 117 _flag_k = FK_ADD; 118 L_2B075156: 119 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 120 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 121 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 122 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 123 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 124 L_2B0B17F1: 125 ecx = ebp + (-0x74); /* 0x2B0B17F1: lea ecx, [ebp - 0x74] */ 126 RECOMP_BACKEDGE(); 127 goto L_2B075130; /* 0x2B0B17F4: jmp 0x2b075130 */ 128 { RECOMP_REGS_OUT(); return; } /* end of function */ 129 RECOMP_REGS_OUT(); 130 } 131 132 void sub_2B0B17F9(void) { 133 int _fpu_cmp = 0; 134 uint32_t _cf = 0; 135 int _df = 1; 136 uint32_t _flag_k = FK_NONE; 137 uint32_t _flag_a = 0, _flag_b = 0; 138 uint32_t _itail_tgt = 0; 139 RECOMP_REGS_LOCALS 140 RECOMP_ENTER(0x2B0B17F9u); 141 142 goto L_2B0B17F9; 143 L_2B03C1F0: 144 PUSH32(esp, esi); /* 0x2B03C1F0: push esi */ 145 esi = ecx; /* 0x2B03C1F1: mov esi, ecx */ 146 eax = MEM32(esi + 0x10); /* 0x2B03C1F3: mov eax, dword ptr [esi + 0x10] */ 147 /* test eax, eax */ /* 0x2B03C1F6: test eax, eax */ 148 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 149 _cf = 0; 150 _flag_k = FK_TEST; 151 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C216; /* 0x2B03C1F8: je 0x2b03c216 */ 152 L_2B03C1FA: 153 ecx = eax + (-0x1); /* 0x2B03C1FA: lea ecx, [eax - 1] */ 154 SET_LO8(eax, MEM8(ecx)); /* 0x2B03C1FD: mov al, byte ptr [ecx] */ 155 /* test LO8(eax), LO8(eax) */ /* 0x2B03C1FF: test al, al */ 156 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 157 _cf = 0; 158 _flag_k = FK_NARROW(FK_TEST, 24); 159 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C20D; /* 0x2B03C201: je 0x2b03c20d */ 160 L_2B03C203: 161 /* cmp LO8(eax), 0xFFu */ /* 0x2B03C203: cmp al, 0xff */ 162 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 163 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 164 _flag_k = FK_NARROW(FK_CMP, 24); 165 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C20D; /* 0x2B03C205: je 0x2b03c20d */ 166 L_2B03C207: 167 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 168 SET_LO8(eax, LO8(eax) - 1); /* 0x2B03C207: dec al */ 169 _flag_k = FK_NARROW(FK_DEC, 24); 170 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B03C209: mov byte ptr [ecx], al */ 171 goto L_2B03C216; /* 0x2B03C20B: jmp 0x2b03c216 */ 172 L_2B03C20D: 173 PUSH32(esp, ecx); /* 0x2B03C20D: push ecx */ 174 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03C20E: call 0x2b0ab1ba */ /* not lifted */ 175 RECOMP_FLAGS_IN(); 176 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 177 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 178 esp = esp + 4; /* 0x2B03C213: add esp, 4 */ 179 _flag_k = FK_ADD; 180 L_2B03C216: 181 MEM32(esi + 0x10) = 0; /* 0x2B03C216: mov dword ptr [esi + 0x10], 0 */ 182 MEM32(esi + 0x14) = 0; /* 0x2B03C21D: mov dword ptr [esi + 0x14], 0 */ 183 MEM32(esi + 0x18) = 0; /* 0x2B03C224: mov dword ptr [esi + 0x18], 0 */ 184 esi = POP32_VAL(esp); /* 0x2B03C22B: pop esi */ 185 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03C22C: ret */ 186 L_2B0B17F9: 187 ecx = ebp + (-0xB0); /* 0x2B0B17F9: lea ecx, [ebp - 0xb0] */ 188 RECOMP_BACKEDGE(); 189 goto L_2B03C1F0; /* 0x2B0B17FF: jmp 0x2b03c1f0 */ 190 { RECOMP_REGS_OUT(); return; } /* end of function */ 191 RECOMP_REGS_OUT(); 192 } 193 194 void sub_2B0B1804(void) { 195 int _fpu_cmp = 0; 196 uint32_t _cf = 0; 197 int _df = 1; 198 uint32_t _flag_k = FK_NONE; 199 uint32_t _flag_a = 0, _flag_b = 0; 200 uint32_t _itail_tgt = 0; 201 RECOMP_REGS_LOCALS 202 RECOMP_ENTER(0x2B0B1804u); 203 204 L_2B0B1804: 205 ecx = ebp + (-0x38); /* 0x2B0B1804: lea ecx, [ebp - 0x38] */ 206 L_2B0B1807: 207 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 208 { RECOMP_REGS_OUT(); return; } /* end of function */ 209 _ljump: 210 switch (_itail_tgt) { 211 case 0x2B0B1804u: goto L_2B0B1804; 212 case 0x2B0B1807u: goto L_2B0B1807; 213 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 214 } 215 RECOMP_REGS_OUT(); 216 } 217 218 void sub_2B0B180D(void) { 219 int _fpu_cmp = 0; 220 uint32_t _cf = 0; 221 int _df = 1; 222 uint32_t _flag_k = FK_NONE; 223 uint32_t _flag_a = 0, _flag_b = 0; 224 uint32_t _itail_tgt = 0; 225 RECOMP_REGS_LOCALS 226 RECOMP_ENTER(0x2B0B180Du); 227 228 goto L_2B0B180D; 229 L_2B075130: 230 PUSH32(esp, esi); /* 0x2B075130: push esi */ 231 esi = ecx; /* 0x2B075131: mov esi, ecx */ 232 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 233 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 234 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 235 _cf = 0; 236 _flag_k = FK_TEST; 237 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 238 L_2B07513A: 239 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 240 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 241 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 242 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 243 _cf = 0; 244 _flag_k = FK_NARROW(FK_TEST, 24); 245 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 246 L_2B075143: 247 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 248 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 249 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 250 _flag_k = FK_NARROW(FK_CMP, 24); 251 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 252 L_2B075147: 253 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 254 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 255 _flag_k = FK_NARROW(FK_DEC, 24); 256 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 257 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 258 L_2B07514D: 259 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 260 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 261 RECOMP_FLAGS_IN(); 262 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 263 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 264 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 265 _flag_k = FK_ADD; 266 L_2B075156: 267 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 268 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 269 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 270 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 271 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 272 L_2B0B180D: 273 ecx = ebp + (-0x40); /* 0x2B0B180D: lea ecx, [ebp - 0x40] */ 274 RECOMP_BACKEDGE(); 275 goto L_2B075130; /* 0x2B0B1810: jmp 0x2b075130 */ 276 { RECOMP_REGS_OUT(); return; } /* end of function */ 277 RECOMP_REGS_OUT(); 278 } 279 280 void sub_2B0B1815(void) { 281 int _fpu_cmp = 0; 282 uint32_t _cf = 0; 283 int _df = 1; 284 uint32_t _flag_k = FK_NONE; 285 uint32_t _flag_a = 0, _flag_b = 0; 286 uint32_t _itail_tgt = 0; 287 RECOMP_REGS_LOCALS 288 RECOMP_ENTER(0x2B0B1815u); 289 290 goto L_2B0B1815; 291 L_2B075130: 292 PUSH32(esp, esi); /* 0x2B075130: push esi */ 293 esi = ecx; /* 0x2B075131: mov esi, ecx */ 294 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 295 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 296 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 297 _cf = 0; 298 _flag_k = FK_TEST; 299 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 300 L_2B07513A: 301 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 302 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 303 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 304 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 305 _cf = 0; 306 _flag_k = FK_NARROW(FK_TEST, 24); 307 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 308 L_2B075143: 309 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 310 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 311 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 312 _flag_k = FK_NARROW(FK_CMP, 24); 313 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 314 L_2B075147: 315 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 316 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 317 _flag_k = FK_NARROW(FK_DEC, 24); 318 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 319 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 320 L_2B07514D: 321 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 322 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 323 RECOMP_FLAGS_IN(); 324 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 325 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 326 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 327 _flag_k = FK_ADD; 328 L_2B075156: 329 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 330 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 331 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 332 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 333 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 334 L_2B0B1815: 335 ecx = ebp + (-0x74); /* 0x2B0B1815: lea ecx, [ebp - 0x74] */ 336 RECOMP_BACKEDGE(); 337 goto L_2B075130; /* 0x2B0B1818: jmp 0x2b075130 */ 338 { RECOMP_REGS_OUT(); return; } /* end of function */ 339 RECOMP_REGS_OUT(); 340 } 341 342 void sub_2B0B181D(void) { 343 int _fpu_cmp = 0; 344 uint32_t _cf = 0; 345 int _df = 1; 346 uint32_t _flag_k = FK_NONE; 347 uint32_t _flag_a = 0, _flag_b = 0; 348 uint32_t _itail_tgt = 0; 349 RECOMP_REGS_LOCALS 350 RECOMP_ENTER(0x2B0B181Du); 351 352 goto L_2B0B181D; 353 L_2B03C1F0: 354 PUSH32(esp, esi); /* 0x2B03C1F0: push esi */ 355 esi = ecx; /* 0x2B03C1F1: mov esi, ecx */ 356 eax = MEM32(esi + 0x10); /* 0x2B03C1F3: mov eax, dword ptr [esi + 0x10] */ 357 /* test eax, eax */ /* 0x2B03C1F6: test eax, eax */ 358 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 359 _cf = 0; 360 _flag_k = FK_TEST; 361 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C216; /* 0x2B03C1F8: je 0x2b03c216 */ 362 L_2B03C1FA: 363 ecx = eax + (-0x1); /* 0x2B03C1FA: lea ecx, [eax - 1] */ 364 SET_LO8(eax, MEM8(ecx)); /* 0x2B03C1FD: mov al, byte ptr [ecx] */ 365 /* test LO8(eax), LO8(eax) */ /* 0x2B03C1FF: test al, al */ 366 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 367 _cf = 0; 368 _flag_k = FK_NARROW(FK_TEST, 24); 369 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C20D; /* 0x2B03C201: je 0x2b03c20d */ 370 L_2B03C203: 371 /* cmp LO8(eax), 0xFFu */ /* 0x2B03C203: cmp al, 0xff */ 372 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 373 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 374 _flag_k = FK_NARROW(FK_CMP, 24); 375 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C20D; /* 0x2B03C205: je 0x2b03c20d */ 376 L_2B03C207: 377 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 378 SET_LO8(eax, LO8(eax) - 1); /* 0x2B03C207: dec al */ 379 _flag_k = FK_NARROW(FK_DEC, 24); 380 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B03C209: mov byte ptr [ecx], al */ 381 goto L_2B03C216; /* 0x2B03C20B: jmp 0x2b03c216 */ 382 L_2B03C20D: 383 PUSH32(esp, ecx); /* 0x2B03C20D: push ecx */ 384 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03C20E: call 0x2b0ab1ba */ /* not lifted */ 385 RECOMP_FLAGS_IN(); 386 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 387 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 388 esp = esp + 4; /* 0x2B03C213: add esp, 4 */ 389 _flag_k = FK_ADD; 390 L_2B03C216: 391 MEM32(esi + 0x10) = 0; /* 0x2B03C216: mov dword ptr [esi + 0x10], 0 */ 392 MEM32(esi + 0x14) = 0; /* 0x2B03C21D: mov dword ptr [esi + 0x14], 0 */ 393 MEM32(esi + 0x18) = 0; /* 0x2B03C224: mov dword ptr [esi + 0x18], 0 */ 394 esi = POP32_VAL(esp); /* 0x2B03C22B: pop esi */ 395 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03C22C: ret */ 396 L_2B0B181D: 397 ecx = ebp + (-0xB0); /* 0x2B0B181D: lea ecx, [ebp - 0xb0] */ 398 RECOMP_BACKEDGE(); 399 goto L_2B03C1F0; /* 0x2B0B1823: jmp 0x2b03c1f0 */ 400 { RECOMP_REGS_OUT(); return; } /* end of function */ 401 RECOMP_REGS_OUT(); 402 } 403 404 void sub_2B0B1828(void) { 405 int _fpu_cmp = 0; 406 uint32_t _cf = 0; 407 int _df = 1; 408 uint32_t _flag_k = FK_NONE; 409 uint32_t _flag_a = 0, _flag_b = 0; 410 uint32_t _itail_tgt = 0; 411 RECOMP_REGS_LOCALS 412 RECOMP_ENTER(0x2B0B1828u); 413 414 L_2B0B1828: 415 ecx = ebp + (-0x38); /* 0x2B0B1828: lea ecx, [ebp - 0x38] */ 416 L_2B0B182B: 417 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 418 { RECOMP_REGS_OUT(); return; } /* end of function */ 419 _ljump: 420 switch (_itail_tgt) { 421 case 0x2B0B1828u: goto L_2B0B1828; 422 case 0x2B0B182Bu: goto L_2B0B182B; 423 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 424 } 425 RECOMP_REGS_OUT(); 426 } 427 428 void sub_2B0B1831(void) { 429 int _fpu_cmp = 0; 430 uint32_t _cf = 0; 431 int _df = 1; 432 uint32_t _flag_k = FK_NONE; 433 uint32_t _flag_a = 0, _flag_b = 0; 434 uint32_t _itail_tgt = 0; 435 RECOMP_REGS_LOCALS 436 RECOMP_ENTER(0x2B0B1831u); 437 438 goto L_2B0B1831; 439 L_2B075130: 440 PUSH32(esp, esi); /* 0x2B075130: push esi */ 441 esi = ecx; /* 0x2B075131: mov esi, ecx */ 442 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 443 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 444 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 445 _cf = 0; 446 _flag_k = FK_TEST; 447 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 448 L_2B07513A: 449 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 450 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 451 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 452 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 453 _cf = 0; 454 _flag_k = FK_NARROW(FK_TEST, 24); 455 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 456 L_2B075143: 457 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 458 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 459 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 460 _flag_k = FK_NARROW(FK_CMP, 24); 461 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 462 L_2B075147: 463 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 464 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 465 _flag_k = FK_NARROW(FK_DEC, 24); 466 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 467 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 468 L_2B07514D: 469 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 470 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 471 RECOMP_FLAGS_IN(); 472 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 473 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 474 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 475 _flag_k = FK_ADD; 476 L_2B075156: 477 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 478 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 479 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 480 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 481 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 482 L_2B0B1831: 483 ecx = ebp + (-0x40); /* 0x2B0B1831: lea ecx, [ebp - 0x40] */ 484 RECOMP_BACKEDGE(); 485 goto L_2B075130; /* 0x2B0B1834: jmp 0x2b075130 */ 486 { RECOMP_REGS_OUT(); return; } /* end of function */ 487 RECOMP_REGS_OUT(); 488 } 489 490 void sub_2B0B1839(void) { 491 int _fpu_cmp = 0; 492 uint32_t _cf = 0; 493 int _df = 1; 494 uint32_t _flag_k = FK_NONE; 495 uint32_t _flag_a = 0, _flag_b = 0; 496 uint32_t _itail_tgt = 0; 497 RECOMP_REGS_LOCALS 498 RECOMP_ENTER(0x2B0B1839u); 499 500 goto L_2B0B1839; 501 L_2B075130: 502 PUSH32(esp, esi); /* 0x2B075130: push esi */ 503 esi = ecx; /* 0x2B075131: mov esi, ecx */ 504 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 505 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 506 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 507 _cf = 0; 508 _flag_k = FK_TEST; 509 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 510 L_2B07513A: 511 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 512 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 513 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 514 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 515 _cf = 0; 516 _flag_k = FK_NARROW(FK_TEST, 24); 517 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 518 L_2B075143: 519 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 520 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 521 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 522 _flag_k = FK_NARROW(FK_CMP, 24); 523 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 524 L_2B075147: 525 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 526 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 527 _flag_k = FK_NARROW(FK_DEC, 24); 528 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 529 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 530 L_2B07514D: 531 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 532 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 533 RECOMP_FLAGS_IN(); 534 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 535 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 536 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 537 _flag_k = FK_ADD; 538 L_2B075156: 539 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 540 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 541 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 542 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 543 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 544 L_2B0B1839: 545 ecx = ebp + (-0x74); /* 0x2B0B1839: lea ecx, [ebp - 0x74] */ 546 RECOMP_BACKEDGE(); 547 goto L_2B075130; /* 0x2B0B183C: jmp 0x2b075130 */ 548 { RECOMP_REGS_OUT(); return; } /* end of function */ 549 RECOMP_REGS_OUT(); 550 } 551 552 void sub_2B0B1841(void) { 553 int _fpu_cmp = 0; 554 uint32_t _cf = 0; 555 int _df = 1; 556 uint32_t _flag_k = FK_NONE; 557 uint32_t _flag_a = 0, _flag_b = 0; 558 uint32_t _itail_tgt = 0; 559 RECOMP_REGS_LOCALS 560 RECOMP_ENTER(0x2B0B1841u); 561 562 goto L_2B0B1841; 563 L_2B03C1F0: 564 PUSH32(esp, esi); /* 0x2B03C1F0: push esi */ 565 esi = ecx; /* 0x2B03C1F1: mov esi, ecx */ 566 eax = MEM32(esi + 0x10); /* 0x2B03C1F3: mov eax, dword ptr [esi + 0x10] */ 567 /* test eax, eax */ /* 0x2B03C1F6: test eax, eax */ 568 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 569 _cf = 0; 570 _flag_k = FK_TEST; 571 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C216; /* 0x2B03C1F8: je 0x2b03c216 */ 572 L_2B03C1FA: 573 ecx = eax + (-0x1); /* 0x2B03C1FA: lea ecx, [eax - 1] */ 574 SET_LO8(eax, MEM8(ecx)); /* 0x2B03C1FD: mov al, byte ptr [ecx] */ 575 /* test LO8(eax), LO8(eax) */ /* 0x2B03C1FF: test al, al */ 576 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 577 _cf = 0; 578 _flag_k = FK_NARROW(FK_TEST, 24); 579 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C20D; /* 0x2B03C201: je 0x2b03c20d */ 580 L_2B03C203: 581 /* cmp LO8(eax), 0xFFu */ /* 0x2B03C203: cmp al, 0xff */ 582 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 583 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 584 _flag_k = FK_NARROW(FK_CMP, 24); 585 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C20D; /* 0x2B03C205: je 0x2b03c20d */ 586 L_2B03C207: 587 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 588 SET_LO8(eax, LO8(eax) - 1); /* 0x2B03C207: dec al */ 589 _flag_k = FK_NARROW(FK_DEC, 24); 590 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B03C209: mov byte ptr [ecx], al */ 591 goto L_2B03C216; /* 0x2B03C20B: jmp 0x2b03c216 */ 592 L_2B03C20D: 593 PUSH32(esp, ecx); /* 0x2B03C20D: push ecx */ 594 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03C20E: call 0x2b0ab1ba */ /* not lifted */ 595 RECOMP_FLAGS_IN(); 596 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 597 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 598 esp = esp + 4; /* 0x2B03C213: add esp, 4 */ 599 _flag_k = FK_ADD; 600 L_2B03C216: 601 MEM32(esi + 0x10) = 0; /* 0x2B03C216: mov dword ptr [esi + 0x10], 0 */ 602 MEM32(esi + 0x14) = 0; /* 0x2B03C21D: mov dword ptr [esi + 0x14], 0 */ 603 MEM32(esi + 0x18) = 0; /* 0x2B03C224: mov dword ptr [esi + 0x18], 0 */ 604 esi = POP32_VAL(esp); /* 0x2B03C22B: pop esi */ 605 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03C22C: ret */ 606 L_2B0B1841: 607 ecx = ebp + (-0xB0); /* 0x2B0B1841: lea ecx, [ebp - 0xb0] */ 608 RECOMP_BACKEDGE(); 609 goto L_2B03C1F0; /* 0x2B0B1847: jmp 0x2b03c1f0 */ 610 { RECOMP_REGS_OUT(); return; } /* end of function */ 611 RECOMP_REGS_OUT(); 612 } 613 614 void sub_2B0B184C(void) { 615 int _fpu_cmp = 0; 616 uint32_t _cf = 0; 617 int _df = 1; 618 uint32_t _flag_k = FK_NONE; 619 uint32_t _flag_a = 0, _flag_b = 0; 620 uint32_t _itail_tgt = 0; 621 RECOMP_REGS_LOCALS 622 RECOMP_ENTER(0x2B0B184Cu); 623 624 L_2B0B184C: 625 ecx = ebp + (-0x38); /* 0x2B0B184C: lea ecx, [ebp - 0x38] */ 626 L_2B0B184F: 627 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 628 { RECOMP_REGS_OUT(); return; } /* end of function */ 629 _ljump: 630 switch (_itail_tgt) { 631 case 0x2B0B184Cu: goto L_2B0B184C; 632 case 0x2B0B184Fu: goto L_2B0B184F; 633 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 634 } 635 RECOMP_REGS_OUT(); 636 } 637 638 void sub_2B0B1855(void) { 639 int _fpu_cmp = 0; 640 uint32_t _cf = 0; 641 int _df = 1; 642 uint32_t _flag_k = FK_NONE; 643 uint32_t _flag_a = 0, _flag_b = 0; 644 uint32_t _itail_tgt = 0; 645 RECOMP_REGS_LOCALS 646 RECOMP_ENTER(0x2B0B1855u); 647 648 goto L_2B0B1855; 649 L_2B075130: 650 PUSH32(esp, esi); /* 0x2B075130: push esi */ 651 esi = ecx; /* 0x2B075131: mov esi, ecx */ 652 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 653 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 654 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 655 _cf = 0; 656 _flag_k = FK_TEST; 657 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 658 L_2B07513A: 659 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 660 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 661 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 662 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 663 _cf = 0; 664 _flag_k = FK_NARROW(FK_TEST, 24); 665 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 666 L_2B075143: 667 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 668 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 669 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 670 _flag_k = FK_NARROW(FK_CMP, 24); 671 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 672 L_2B075147: 673 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 674 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 675 _flag_k = FK_NARROW(FK_DEC, 24); 676 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 677 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 678 L_2B07514D: 679 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 680 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 681 RECOMP_FLAGS_IN(); 682 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 683 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 684 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 685 _flag_k = FK_ADD; 686 L_2B075156: 687 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 688 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 689 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 690 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 691 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 692 L_2B0B1855: 693 ecx = ebp + (-0x40); /* 0x2B0B1855: lea ecx, [ebp - 0x40] */ 694 RECOMP_BACKEDGE(); 695 goto L_2B075130; /* 0x2B0B1858: jmp 0x2b075130 */ 696 { RECOMP_REGS_OUT(); return; } /* end of function */ 697 RECOMP_REGS_OUT(); 698 } 699 700 void sub_2B0B185D(void) { 701 int _fpu_cmp = 0; 702 uint32_t _cf = 0; 703 int _df = 1; 704 uint32_t _flag_k = FK_NONE; 705 uint32_t _flag_a = 0, _flag_b = 0; 706 uint32_t _itail_tgt = 0; 707 RECOMP_REGS_LOCALS 708 RECOMP_ENTER(0x2B0B185Du); 709 710 goto L_2B0B185D; 711 L_2B075130: 712 PUSH32(esp, esi); /* 0x2B075130: push esi */ 713 esi = ecx; /* 0x2B075131: mov esi, ecx */ 714 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 715 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 716 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 717 _cf = 0; 718 _flag_k = FK_TEST; 719 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 720 L_2B07513A: 721 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 722 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 723 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 724 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 725 _cf = 0; 726 _flag_k = FK_NARROW(FK_TEST, 24); 727 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 728 L_2B075143: 729 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 730 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 731 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 732 _flag_k = FK_NARROW(FK_CMP, 24); 733 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 734 L_2B075147: 735 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 736 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 737 _flag_k = FK_NARROW(FK_DEC, 24); 738 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 739 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 740 L_2B07514D: 741 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 742 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 743 RECOMP_FLAGS_IN(); 744 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 745 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 746 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 747 _flag_k = FK_ADD; 748 L_2B075156: 749 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 750 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 751 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 752 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 753 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 754 L_2B0B185D: 755 ecx = ebp + (-0x74); /* 0x2B0B185D: lea ecx, [ebp - 0x74] */ 756 RECOMP_BACKEDGE(); 757 goto L_2B075130; /* 0x2B0B1860: jmp 0x2b075130 */ 758 { RECOMP_REGS_OUT(); return; } /* end of function */ 759 RECOMP_REGS_OUT(); 760 } 761 762 void sub_2B0B1865(void) { 763 int _fpu_cmp = 0; 764 uint32_t _cf = 0; 765 int _df = 1; 766 uint32_t _flag_k = FK_NONE; 767 uint32_t _flag_a = 0, _flag_b = 0; 768 uint32_t _itail_tgt = 0; 769 RECOMP_REGS_LOCALS 770 RECOMP_ENTER(0x2B0B1865u); 771 772 goto L_2B0B1865; 773 L_2B03C1F0: 774 PUSH32(esp, esi); /* 0x2B03C1F0: push esi */ 775 esi = ecx; /* 0x2B03C1F1: mov esi, ecx */ 776 eax = MEM32(esi + 0x10); /* 0x2B03C1F3: mov eax, dword ptr [esi + 0x10] */ 777 /* test eax, eax */ /* 0x2B03C1F6: test eax, eax */ 778 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 779 _cf = 0; 780 _flag_k = FK_TEST; 781 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C216; /* 0x2B03C1F8: je 0x2b03c216 */ 782 L_2B03C1FA: 783 ecx = eax + (-0x1); /* 0x2B03C1FA: lea ecx, [eax - 1] */ 784 SET_LO8(eax, MEM8(ecx)); /* 0x2B03C1FD: mov al, byte ptr [ecx] */ 785 /* test LO8(eax), LO8(eax) */ /* 0x2B03C1FF: test al, al */ 786 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 787 _cf = 0; 788 _flag_k = FK_NARROW(FK_TEST, 24); 789 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C20D; /* 0x2B03C201: je 0x2b03c20d */ 790 L_2B03C203: 791 /* cmp LO8(eax), 0xFFu */ /* 0x2B03C203: cmp al, 0xff */ 792 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 793 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 794 _flag_k = FK_NARROW(FK_CMP, 24); 795 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C20D; /* 0x2B03C205: je 0x2b03c20d */ 796 L_2B03C207: 797 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 798 SET_LO8(eax, LO8(eax) - 1); /* 0x2B03C207: dec al */ 799 _flag_k = FK_NARROW(FK_DEC, 24); 800 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B03C209: mov byte ptr [ecx], al */ 801 goto L_2B03C216; /* 0x2B03C20B: jmp 0x2b03c216 */ 802 L_2B03C20D: 803 PUSH32(esp, ecx); /* 0x2B03C20D: push ecx */ 804 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03C20E: call 0x2b0ab1ba */ /* not lifted */ 805 RECOMP_FLAGS_IN(); 806 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 807 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 808 esp = esp + 4; /* 0x2B03C213: add esp, 4 */ 809 _flag_k = FK_ADD; 810 L_2B03C216: 811 MEM32(esi + 0x10) = 0; /* 0x2B03C216: mov dword ptr [esi + 0x10], 0 */ 812 MEM32(esi + 0x14) = 0; /* 0x2B03C21D: mov dword ptr [esi + 0x14], 0 */ 813 MEM32(esi + 0x18) = 0; /* 0x2B03C224: mov dword ptr [esi + 0x18], 0 */ 814 esi = POP32_VAL(esp); /* 0x2B03C22B: pop esi */ 815 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03C22C: ret */ 816 L_2B0B1865: 817 ecx = ebp + (-0xB0); /* 0x2B0B1865: lea ecx, [ebp - 0xb0] */ 818 RECOMP_BACKEDGE(); 819 goto L_2B03C1F0; /* 0x2B0B186B: jmp 0x2b03c1f0 */ 820 { RECOMP_REGS_OUT(); return; } /* end of function */ 821 RECOMP_REGS_OUT(); 822 } 823 824 void sub_2B0B1870(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(0x2B0B1870u); 833 834 L_2B0B1870: 835 ecx = ebp + (-0x38); /* 0x2B0B1870: lea ecx, [ebp - 0x38] */ 836 L_2B0B1873: 837 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 838 { RECOMP_REGS_OUT(); return; } /* end of function */ 839 _ljump: 840 switch (_itail_tgt) { 841 case 0x2B0B1870u: goto L_2B0B1870; 842 case 0x2B0B1873u: goto L_2B0B1873; 843 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 844 } 845 RECOMP_REGS_OUT(); 846 } 847 848 void sub_2B0B1879(void) { 849 int _fpu_cmp = 0; 850 uint32_t _cf = 0; 851 int _df = 1; 852 uint32_t _flag_k = FK_NONE; 853 uint32_t _flag_a = 0, _flag_b = 0; 854 uint32_t _itail_tgt = 0; 855 RECOMP_REGS_LOCALS 856 RECOMP_ENTER(0x2B0B1879u); 857 858 goto L_2B0B1879; 859 L_2B075130: 860 PUSH32(esp, esi); /* 0x2B075130: push esi */ 861 esi = ecx; /* 0x2B075131: mov esi, ecx */ 862 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 863 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 864 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 865 _cf = 0; 866 _flag_k = FK_TEST; 867 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 868 L_2B07513A: 869 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 870 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 871 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 872 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 873 _cf = 0; 874 _flag_k = FK_NARROW(FK_TEST, 24); 875 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 876 L_2B075143: 877 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 878 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 879 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 880 _flag_k = FK_NARROW(FK_CMP, 24); 881 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 882 L_2B075147: 883 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 884 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 885 _flag_k = FK_NARROW(FK_DEC, 24); 886 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 887 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 888 L_2B07514D: 889 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 890 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 891 RECOMP_FLAGS_IN(); 892 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 893 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 894 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 895 _flag_k = FK_ADD; 896 L_2B075156: 897 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 898 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 899 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 900 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 901 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 902 L_2B0B1879: 903 ecx = ebp + (-0x40); /* 0x2B0B1879: lea ecx, [ebp - 0x40] */ 904 RECOMP_BACKEDGE(); 905 goto L_2B075130; /* 0x2B0B187C: jmp 0x2b075130 */ 906 { RECOMP_REGS_OUT(); return; } /* end of function */ 907 RECOMP_REGS_OUT(); 908 } 909 910 void sub_2B0B1881(void) { 911 int _fpu_cmp = 0; 912 uint32_t _cf = 0; 913 int _df = 1; 914 uint32_t _flag_k = FK_NONE; 915 uint32_t _flag_a = 0, _flag_b = 0; 916 uint32_t _itail_tgt = 0; 917 RECOMP_REGS_LOCALS 918 RECOMP_ENTER(0x2B0B1881u); 919 920 goto L_2B0B1881; 921 L_2B075130: 922 PUSH32(esp, esi); /* 0x2B075130: push esi */ 923 esi = ecx; /* 0x2B075131: mov esi, ecx */ 924 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 925 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 926 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 927 _cf = 0; 928 _flag_k = FK_TEST; 929 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 930 L_2B07513A: 931 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 932 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 933 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 934 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 935 _cf = 0; 936 _flag_k = FK_NARROW(FK_TEST, 24); 937 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 938 L_2B075143: 939 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 940 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 941 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 942 _flag_k = FK_NARROW(FK_CMP, 24); 943 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 944 L_2B075147: 945 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 946 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 947 _flag_k = FK_NARROW(FK_DEC, 24); 948 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 949 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 950 L_2B07514D: 951 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 952 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 953 RECOMP_FLAGS_IN(); 954 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 955 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 956 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 957 _flag_k = FK_ADD; 958 L_2B075156: 959 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 960 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 961 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 962 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 963 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 964 L_2B0B1881: 965 ecx = ebp + (-0x74); /* 0x2B0B1881: lea ecx, [ebp - 0x74] */ 966 RECOMP_BACKEDGE(); 967 goto L_2B075130; /* 0x2B0B1884: jmp 0x2b075130 */ 968 { RECOMP_REGS_OUT(); return; } /* end of function */ 969 RECOMP_REGS_OUT(); 970 } 971 972 void sub_2B0B1889(void) { 973 int _fpu_cmp = 0; 974 uint32_t _cf = 0; 975 int _df = 1; 976 uint32_t _flag_k = FK_NONE; 977 uint32_t _flag_a = 0, _flag_b = 0; 978 uint32_t _itail_tgt = 0; 979 RECOMP_REGS_LOCALS 980 RECOMP_ENTER(0x2B0B1889u); 981 982 goto L_2B0B1889; 983 L_2B03C1F0: 984 PUSH32(esp, esi); /* 0x2B03C1F0: push esi */ 985 esi = ecx; /* 0x2B03C1F1: mov esi, ecx */ 986 eax = MEM32(esi + 0x10); /* 0x2B03C1F3: mov eax, dword ptr [esi + 0x10] */ 987 /* test eax, eax */ /* 0x2B03C1F6: test eax, eax */ 988 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 989 _cf = 0; 990 _flag_k = FK_TEST; 991 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C216; /* 0x2B03C1F8: je 0x2b03c216 */ 992 L_2B03C1FA: 993 ecx = eax + (-0x1); /* 0x2B03C1FA: lea ecx, [eax - 1] */ 994 SET_LO8(eax, MEM8(ecx)); /* 0x2B03C1FD: mov al, byte ptr [ecx] */ 995 /* test LO8(eax), LO8(eax) */ /* 0x2B03C1FF: test al, al */ 996 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 997 _cf = 0; 998 _flag_k = FK_NARROW(FK_TEST, 24); 999 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C20D; /* 0x2B03C201: je 0x2b03c20d */ 1000 L_2B03C203: 1001 /* cmp LO8(eax), 0xFFu */ /* 0x2B03C203: cmp al, 0xff */ 1002 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 1003 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1004 _flag_k = FK_NARROW(FK_CMP, 24); 1005 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C20D; /* 0x2B03C205: je 0x2b03c20d */ 1006 L_2B03C207: 1007 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 1008 SET_LO8(eax, LO8(eax) - 1); /* 0x2B03C207: dec al */ 1009 _flag_k = FK_NARROW(FK_DEC, 24); 1010 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B03C209: mov byte ptr [ecx], al */ 1011 goto L_2B03C216; /* 0x2B03C20B: jmp 0x2b03c216 */ 1012 L_2B03C20D: 1013 PUSH32(esp, ecx); /* 0x2B03C20D: push ecx */ 1014 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03C20E: call 0x2b0ab1ba */ /* not lifted */ 1015 RECOMP_FLAGS_IN(); 1016 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1017 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1018 esp = esp + 4; /* 0x2B03C213: add esp, 4 */ 1019 _flag_k = FK_ADD; 1020 L_2B03C216: 1021 MEM32(esi + 0x10) = 0; /* 0x2B03C216: mov dword ptr [esi + 0x10], 0 */ 1022 MEM32(esi + 0x14) = 0; /* 0x2B03C21D: mov dword ptr [esi + 0x14], 0 */ 1023 MEM32(esi + 0x18) = 0; /* 0x2B03C224: mov dword ptr [esi + 0x18], 0 */ 1024 esi = POP32_VAL(esp); /* 0x2B03C22B: pop esi */ 1025 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03C22C: ret */ 1026 L_2B0B1889: 1027 ecx = ebp + (-0xB0); /* 0x2B0B1889: lea ecx, [ebp - 0xb0] */ 1028 RECOMP_BACKEDGE(); 1029 goto L_2B03C1F0; /* 0x2B0B188F: jmp 0x2b03c1f0 */ 1030 { RECOMP_REGS_OUT(); return; } /* end of function */ 1031 RECOMP_REGS_OUT(); 1032 } 1033 1034 void sub_2B0B1894(void) { 1035 int _fpu_cmp = 0; 1036 uint32_t _cf = 0; 1037 int _df = 1; 1038 uint32_t _flag_k = FK_NONE; 1039 uint32_t _flag_a = 0, _flag_b = 0; 1040 uint32_t _itail_tgt = 0; 1041 RECOMP_REGS_LOCALS 1042 RECOMP_ENTER(0x2B0B1894u); 1043 1044 L_2B0B1894: 1045 ecx = ebp + (-0x38); /* 0x2B0B1894: lea ecx, [ebp - 0x38] */ 1046 L_2B0B1897: 1047 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 1048 { RECOMP_REGS_OUT(); return; } /* end of function */ 1049 _ljump: 1050 switch (_itail_tgt) { 1051 case 0x2B0B1894u: goto L_2B0B1894; 1052 case 0x2B0B1897u: goto L_2B0B1897; 1053 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1054 } 1055 RECOMP_REGS_OUT(); 1056 } 1057 1058 void sub_2B0B189D(void) { 1059 int _fpu_cmp = 0; 1060 uint32_t _cf = 0; 1061 int _df = 1; 1062 uint32_t _flag_k = FK_NONE; 1063 uint32_t _flag_a = 0, _flag_b = 0; 1064 uint32_t _itail_tgt = 0; 1065 RECOMP_REGS_LOCALS 1066 RECOMP_ENTER(0x2B0B189Du); 1067 1068 goto L_2B0B189D; 1069 L_2B075130: 1070 PUSH32(esp, esi); /* 0x2B075130: push esi */ 1071 esi = ecx; /* 0x2B075131: mov esi, ecx */ 1072 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 1073 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 1074 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1075 _cf = 0; 1076 _flag_k = FK_TEST; 1077 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 1078 L_2B07513A: 1079 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 1080 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 1081 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 1082 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1083 _cf = 0; 1084 _flag_k = FK_NARROW(FK_TEST, 24); 1085 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 1086 L_2B075143: 1087 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 1088 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 1089 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1090 _flag_k = FK_NARROW(FK_CMP, 24); 1091 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 1092 L_2B075147: 1093 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 1094 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 1095 _flag_k = FK_NARROW(FK_DEC, 24); 1096 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 1097 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 1098 L_2B07514D: 1099 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 1100 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 1101 RECOMP_FLAGS_IN(); 1102 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1103 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1104 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 1105 _flag_k = FK_ADD; 1106 L_2B075156: 1107 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 1108 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 1109 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 1110 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 1111 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 1112 L_2B0B189D: 1113 ecx = ebp + (-0x40); /* 0x2B0B189D: lea ecx, [ebp - 0x40] */ 1114 RECOMP_BACKEDGE(); 1115 goto L_2B075130; /* 0x2B0B18A0: jmp 0x2b075130 */ 1116 { RECOMP_REGS_OUT(); return; } /* end of function */ 1117 RECOMP_REGS_OUT(); 1118 } 1119 1120 void sub_2B0B18A5(void) { 1121 int _fpu_cmp = 0; 1122 uint32_t _cf = 0; 1123 int _df = 1; 1124 uint32_t _flag_k = FK_NONE; 1125 uint32_t _flag_a = 0, _flag_b = 0; 1126 uint32_t _itail_tgt = 0; 1127 RECOMP_REGS_LOCALS 1128 RECOMP_ENTER(0x2B0B18A5u); 1129 1130 goto L_2B0B18A5; 1131 L_2B075130: 1132 PUSH32(esp, esi); /* 0x2B075130: push esi */ 1133 esi = ecx; /* 0x2B075131: mov esi, ecx */ 1134 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 1135 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 1136 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1137 _cf = 0; 1138 _flag_k = FK_TEST; 1139 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 1140 L_2B07513A: 1141 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 1142 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 1143 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 1144 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1145 _cf = 0; 1146 _flag_k = FK_NARROW(FK_TEST, 24); 1147 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 1148 L_2B075143: 1149 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 1150 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 1151 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1152 _flag_k = FK_NARROW(FK_CMP, 24); 1153 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 1154 L_2B075147: 1155 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 1156 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 1157 _flag_k = FK_NARROW(FK_DEC, 24); 1158 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 1159 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 1160 L_2B07514D: 1161 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 1162 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 1163 RECOMP_FLAGS_IN(); 1164 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1165 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1166 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 1167 _flag_k = FK_ADD; 1168 L_2B075156: 1169 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 1170 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 1171 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 1172 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 1173 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 1174 L_2B0B18A5: 1175 ecx = ebp + (-0x74); /* 0x2B0B18A5: lea ecx, [ebp - 0x74] */ 1176 RECOMP_BACKEDGE(); 1177 goto L_2B075130; /* 0x2B0B18A8: jmp 0x2b075130 */ 1178 { RECOMP_REGS_OUT(); return; } /* end of function */ 1179 RECOMP_REGS_OUT(); 1180 } 1181 1182 void sub_2B0B18AD(void) { 1183 int _fpu_cmp = 0; 1184 uint32_t _cf = 0; 1185 int _df = 1; 1186 uint32_t _flag_k = FK_NONE; 1187 uint32_t _flag_a = 0, _flag_b = 0; 1188 uint32_t _itail_tgt = 0; 1189 RECOMP_REGS_LOCALS 1190 RECOMP_ENTER(0x2B0B18ADu); 1191 1192 goto L_2B0B18AD; 1193 L_2B03C1F0: 1194 PUSH32(esp, esi); /* 0x2B03C1F0: push esi */ 1195 esi = ecx; /* 0x2B03C1F1: mov esi, ecx */ 1196 eax = MEM32(esi + 0x10); /* 0x2B03C1F3: mov eax, dword ptr [esi + 0x10] */ 1197 /* test eax, eax */ /* 0x2B03C1F6: test eax, eax */ 1198 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1199 _cf = 0; 1200 _flag_k = FK_TEST; 1201 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C216; /* 0x2B03C1F8: je 0x2b03c216 */ 1202 L_2B03C1FA: 1203 ecx = eax + (-0x1); /* 0x2B03C1FA: lea ecx, [eax - 1] */ 1204 SET_LO8(eax, MEM8(ecx)); /* 0x2B03C1FD: mov al, byte ptr [ecx] */ 1205 /* test LO8(eax), LO8(eax) */ /* 0x2B03C1FF: test al, al */ 1206 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1207 _cf = 0; 1208 _flag_k = FK_NARROW(FK_TEST, 24); 1209 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C20D; /* 0x2B03C201: je 0x2b03c20d */ 1210 L_2B03C203: 1211 /* cmp LO8(eax), 0xFFu */ /* 0x2B03C203: cmp al, 0xff */ 1212 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 1213 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1214 _flag_k = FK_NARROW(FK_CMP, 24); 1215 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C20D; /* 0x2B03C205: je 0x2b03c20d */ 1216 L_2B03C207: 1217 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 1218 SET_LO8(eax, LO8(eax) - 1); /* 0x2B03C207: dec al */ 1219 _flag_k = FK_NARROW(FK_DEC, 24); 1220 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B03C209: mov byte ptr [ecx], al */ 1221 goto L_2B03C216; /* 0x2B03C20B: jmp 0x2b03c216 */ 1222 L_2B03C20D: 1223 PUSH32(esp, ecx); /* 0x2B03C20D: push ecx */ 1224 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03C20E: call 0x2b0ab1ba */ /* not lifted */ 1225 RECOMP_FLAGS_IN(); 1226 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1227 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1228 esp = esp + 4; /* 0x2B03C213: add esp, 4 */ 1229 _flag_k = FK_ADD; 1230 L_2B03C216: 1231 MEM32(esi + 0x10) = 0; /* 0x2B03C216: mov dword ptr [esi + 0x10], 0 */ 1232 MEM32(esi + 0x14) = 0; /* 0x2B03C21D: mov dword ptr [esi + 0x14], 0 */ 1233 MEM32(esi + 0x18) = 0; /* 0x2B03C224: mov dword ptr [esi + 0x18], 0 */ 1234 esi = POP32_VAL(esp); /* 0x2B03C22B: pop esi */ 1235 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03C22C: ret */ 1236 L_2B0B18AD: 1237 ecx = ebp + (-0xB0); /* 0x2B0B18AD: lea ecx, [ebp - 0xb0] */ 1238 RECOMP_BACKEDGE(); 1239 goto L_2B03C1F0; /* 0x2B0B18B3: jmp 0x2b03c1f0 */ 1240 { RECOMP_REGS_OUT(); return; } /* end of function */ 1241 RECOMP_REGS_OUT(); 1242 } 1243 1244 void sub_2B0B18B8(void) { 1245 int _fpu_cmp = 0; 1246 uint32_t _cf = 0; 1247 int _df = 1; 1248 uint32_t _flag_k = FK_NONE; 1249 uint32_t _flag_a = 0, _flag_b = 0; 1250 uint32_t _itail_tgt = 0; 1251 RECOMP_REGS_LOCALS 1252 RECOMP_ENTER(0x2B0B18B8u); 1253 1254 L_2B0B18B8: 1255 ecx = ebp + (-0x38); /* 0x2B0B18B8: lea ecx, [ebp - 0x38] */ 1256 L_2B0B18BB: 1257 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 1258 { RECOMP_REGS_OUT(); return; } /* end of function */ 1259 _ljump: 1260 switch (_itail_tgt) { 1261 case 0x2B0B18B8u: goto L_2B0B18B8; 1262 case 0x2B0B18BBu: goto L_2B0B18BB; 1263 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1264 } 1265 RECOMP_REGS_OUT(); 1266 } 1267 1268 void sub_2B0B18C1(void) { 1269 int _fpu_cmp = 0; 1270 uint32_t _cf = 0; 1271 int _df = 1; 1272 uint32_t _flag_k = FK_NONE; 1273 uint32_t _flag_a = 0, _flag_b = 0; 1274 uint32_t _itail_tgt = 0; 1275 RECOMP_REGS_LOCALS 1276 RECOMP_ENTER(0x2B0B18C1u); 1277 1278 goto L_2B0B18C1; 1279 L_2B075130: 1280 PUSH32(esp, esi); /* 0x2B075130: push esi */ 1281 esi = ecx; /* 0x2B075131: mov esi, ecx */ 1282 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 1283 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 1284 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1285 _cf = 0; 1286 _flag_k = FK_TEST; 1287 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 1288 L_2B07513A: 1289 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 1290 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 1291 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 1292 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1293 _cf = 0; 1294 _flag_k = FK_NARROW(FK_TEST, 24); 1295 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 1296 L_2B075143: 1297 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 1298 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 1299 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1300 _flag_k = FK_NARROW(FK_CMP, 24); 1301 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 1302 L_2B075147: 1303 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 1304 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 1305 _flag_k = FK_NARROW(FK_DEC, 24); 1306 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 1307 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 1308 L_2B07514D: 1309 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 1310 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 1311 RECOMP_FLAGS_IN(); 1312 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1313 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1314 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 1315 _flag_k = FK_ADD; 1316 L_2B075156: 1317 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 1318 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 1319 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 1320 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 1321 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 1322 L_2B0B18C1: 1323 ecx = ebp + (-0x40); /* 0x2B0B18C1: lea ecx, [ebp - 0x40] */ 1324 RECOMP_BACKEDGE(); 1325 goto L_2B075130; /* 0x2B0B18C4: jmp 0x2b075130 */ 1326 { RECOMP_REGS_OUT(); return; } /* end of function */ 1327 RECOMP_REGS_OUT(); 1328 } 1329 1330 void sub_2B0B18C9(void) { 1331 int _fpu_cmp = 0; 1332 uint32_t _cf = 0; 1333 int _df = 1; 1334 uint32_t _flag_k = FK_NONE; 1335 uint32_t _flag_a = 0, _flag_b = 0; 1336 uint32_t _itail_tgt = 0; 1337 RECOMP_REGS_LOCALS 1338 RECOMP_ENTER(0x2B0B18C9u); 1339 1340 goto L_2B0B18C9; 1341 L_2B075130: 1342 PUSH32(esp, esi); /* 0x2B075130: push esi */ 1343 esi = ecx; /* 0x2B075131: mov esi, ecx */ 1344 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 1345 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 1346 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1347 _cf = 0; 1348 _flag_k = FK_TEST; 1349 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 1350 L_2B07513A: 1351 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 1352 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 1353 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 1354 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1355 _cf = 0; 1356 _flag_k = FK_NARROW(FK_TEST, 24); 1357 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 1358 L_2B075143: 1359 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 1360 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 1361 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1362 _flag_k = FK_NARROW(FK_CMP, 24); 1363 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 1364 L_2B075147: 1365 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 1366 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 1367 _flag_k = FK_NARROW(FK_DEC, 24); 1368 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 1369 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 1370 L_2B07514D: 1371 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 1372 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 1373 RECOMP_FLAGS_IN(); 1374 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1375 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1376 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 1377 _flag_k = FK_ADD; 1378 L_2B075156: 1379 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 1380 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 1381 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 1382 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 1383 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 1384 L_2B0B18C9: 1385 ecx = ebp + (-0x74); /* 0x2B0B18C9: lea ecx, [ebp - 0x74] */ 1386 RECOMP_BACKEDGE(); 1387 goto L_2B075130; /* 0x2B0B18CC: jmp 0x2b075130 */ 1388 { RECOMP_REGS_OUT(); return; } /* end of function */ 1389 RECOMP_REGS_OUT(); 1390 } 1391 1392 void sub_2B0B18D1(void) { 1393 int _fpu_cmp = 0; 1394 uint32_t _cf = 0; 1395 int _df = 1; 1396 uint32_t _flag_k = FK_NONE; 1397 uint32_t _flag_a = 0, _flag_b = 0; 1398 uint32_t _itail_tgt = 0; 1399 RECOMP_REGS_LOCALS 1400 RECOMP_ENTER(0x2B0B18D1u); 1401 1402 goto L_2B0B18D1; 1403 L_2B03C1F0: 1404 PUSH32(esp, esi); /* 0x2B03C1F0: push esi */ 1405 esi = ecx; /* 0x2B03C1F1: mov esi, ecx */ 1406 eax = MEM32(esi + 0x10); /* 0x2B03C1F3: mov eax, dword ptr [esi + 0x10] */ 1407 /* test eax, eax */ /* 0x2B03C1F6: test eax, eax */ 1408 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1409 _cf = 0; 1410 _flag_k = FK_TEST; 1411 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C216; /* 0x2B03C1F8: je 0x2b03c216 */ 1412 L_2B03C1FA: 1413 ecx = eax + (-0x1); /* 0x2B03C1FA: lea ecx, [eax - 1] */ 1414 SET_LO8(eax, MEM8(ecx)); /* 0x2B03C1FD: mov al, byte ptr [ecx] */ 1415 /* test LO8(eax), LO8(eax) */ /* 0x2B03C1FF: test al, al */ 1416 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1417 _cf = 0; 1418 _flag_k = FK_NARROW(FK_TEST, 24); 1419 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C20D; /* 0x2B03C201: je 0x2b03c20d */ 1420 L_2B03C203: 1421 /* cmp LO8(eax), 0xFFu */ /* 0x2B03C203: cmp al, 0xff */ 1422 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 1423 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1424 _flag_k = FK_NARROW(FK_CMP, 24); 1425 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C20D; /* 0x2B03C205: je 0x2b03c20d */ 1426 L_2B03C207: 1427 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 1428 SET_LO8(eax, LO8(eax) - 1); /* 0x2B03C207: dec al */ 1429 _flag_k = FK_NARROW(FK_DEC, 24); 1430 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B03C209: mov byte ptr [ecx], al */ 1431 goto L_2B03C216; /* 0x2B03C20B: jmp 0x2b03c216 */ 1432 L_2B03C20D: 1433 PUSH32(esp, ecx); /* 0x2B03C20D: push ecx */ 1434 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03C20E: call 0x2b0ab1ba */ /* not lifted */ 1435 RECOMP_FLAGS_IN(); 1436 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1437 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1438 esp = esp + 4; /* 0x2B03C213: add esp, 4 */ 1439 _flag_k = FK_ADD; 1440 L_2B03C216: 1441 MEM32(esi + 0x10) = 0; /* 0x2B03C216: mov dword ptr [esi + 0x10], 0 */ 1442 MEM32(esi + 0x14) = 0; /* 0x2B03C21D: mov dword ptr [esi + 0x14], 0 */ 1443 MEM32(esi + 0x18) = 0; /* 0x2B03C224: mov dword ptr [esi + 0x18], 0 */ 1444 esi = POP32_VAL(esp); /* 0x2B03C22B: pop esi */ 1445 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03C22C: ret */ 1446 L_2B0B18D1: 1447 ecx = ebp + (-0xB0); /* 0x2B0B18D1: lea ecx, [ebp - 0xb0] */ 1448 RECOMP_BACKEDGE(); 1449 goto L_2B03C1F0; /* 0x2B0B18D7: jmp 0x2b03c1f0 */ 1450 { RECOMP_REGS_OUT(); return; } /* end of function */ 1451 RECOMP_REGS_OUT(); 1452 } 1453 1454 void sub_2B0B18DC(void) { 1455 int _fpu_cmp = 0; 1456 uint32_t _cf = 0; 1457 int _df = 1; 1458 uint32_t _flag_k = FK_NONE; 1459 uint32_t _flag_a = 0, _flag_b = 0; 1460 uint32_t _itail_tgt = 0; 1461 RECOMP_REGS_LOCALS 1462 RECOMP_ENTER(0x2B0B18DCu); 1463 1464 L_2B0B18DC: 1465 ecx = ebp + (-0x38); /* 0x2B0B18DC: lea ecx, [ebp - 0x38] */ 1466 L_2B0B18DF: 1467 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 1468 { RECOMP_REGS_OUT(); return; } /* end of function */ 1469 _ljump: 1470 switch (_itail_tgt) { 1471 case 0x2B0B18DCu: goto L_2B0B18DC; 1472 case 0x2B0B18DFu: goto L_2B0B18DF; 1473 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1474 } 1475 RECOMP_REGS_OUT(); 1476 } 1477 1478 void sub_2B0B18E5(void) { 1479 int _fpu_cmp = 0; 1480 uint32_t _cf = 0; 1481 int _df = 1; 1482 uint32_t _flag_k = FK_NONE; 1483 uint32_t _flag_a = 0, _flag_b = 0; 1484 uint32_t _itail_tgt = 0; 1485 RECOMP_REGS_LOCALS 1486 RECOMP_ENTER(0x2B0B18E5u); 1487 1488 goto L_2B0B18E5; 1489 L_2B075130: 1490 PUSH32(esp, esi); /* 0x2B075130: push esi */ 1491 esi = ecx; /* 0x2B075131: mov esi, ecx */ 1492 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 1493 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 1494 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1495 _cf = 0; 1496 _flag_k = FK_TEST; 1497 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 1498 L_2B07513A: 1499 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 1500 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 1501 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 1502 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1503 _cf = 0; 1504 _flag_k = FK_NARROW(FK_TEST, 24); 1505 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 1506 L_2B075143: 1507 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 1508 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 1509 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1510 _flag_k = FK_NARROW(FK_CMP, 24); 1511 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 1512 L_2B075147: 1513 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 1514 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 1515 _flag_k = FK_NARROW(FK_DEC, 24); 1516 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 1517 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 1518 L_2B07514D: 1519 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 1520 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 1521 RECOMP_FLAGS_IN(); 1522 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1523 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1524 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 1525 _flag_k = FK_ADD; 1526 L_2B075156: 1527 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 1528 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 1529 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 1530 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 1531 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 1532 L_2B0B18E5: 1533 ecx = ebp + (-0x40); /* 0x2B0B18E5: lea ecx, [ebp - 0x40] */ 1534 RECOMP_BACKEDGE(); 1535 goto L_2B075130; /* 0x2B0B18E8: jmp 0x2b075130 */ 1536 { RECOMP_REGS_OUT(); return; } /* end of function */ 1537 RECOMP_REGS_OUT(); 1538 } 1539 1540 void sub_2B0B18ED(void) { 1541 int _fpu_cmp = 0; 1542 uint32_t _cf = 0; 1543 int _df = 1; 1544 uint32_t _flag_k = FK_NONE; 1545 uint32_t _flag_a = 0, _flag_b = 0; 1546 uint32_t _itail_tgt = 0; 1547 RECOMP_REGS_LOCALS 1548 RECOMP_ENTER(0x2B0B18EDu); 1549 1550 goto L_2B0B18ED; 1551 L_2B075130: 1552 PUSH32(esp, esi); /* 0x2B075130: push esi */ 1553 esi = ecx; /* 0x2B075131: mov esi, ecx */ 1554 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 1555 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 1556 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1557 _cf = 0; 1558 _flag_k = FK_TEST; 1559 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 1560 L_2B07513A: 1561 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 1562 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 1563 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 1564 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1565 _cf = 0; 1566 _flag_k = FK_NARROW(FK_TEST, 24); 1567 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 1568 L_2B075143: 1569 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 1570 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 1571 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1572 _flag_k = FK_NARROW(FK_CMP, 24); 1573 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 1574 L_2B075147: 1575 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 1576 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 1577 _flag_k = FK_NARROW(FK_DEC, 24); 1578 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 1579 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 1580 L_2B07514D: 1581 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 1582 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 1583 RECOMP_FLAGS_IN(); 1584 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1585 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1586 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 1587 _flag_k = FK_ADD; 1588 L_2B075156: 1589 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 1590 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 1591 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 1592 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 1593 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 1594 L_2B0B18ED: 1595 ecx = ebp + (-0x74); /* 0x2B0B18ED: lea ecx, [ebp - 0x74] */ 1596 RECOMP_BACKEDGE(); 1597 goto L_2B075130; /* 0x2B0B18F0: jmp 0x2b075130 */ 1598 { RECOMP_REGS_OUT(); return; } /* end of function */ 1599 RECOMP_REGS_OUT(); 1600 } 1601 1602 void sub_2B0B18F5(void) { 1603 int _fpu_cmp = 0; 1604 uint32_t _cf = 0; 1605 int _df = 1; 1606 uint32_t _flag_k = FK_NONE; 1607 uint32_t _flag_a = 0, _flag_b = 0; 1608 uint32_t _itail_tgt = 0; 1609 RECOMP_REGS_LOCALS 1610 RECOMP_ENTER(0x2B0B18F5u); 1611 1612 goto L_2B0B18F5; 1613 L_2B03C1F0: 1614 PUSH32(esp, esi); /* 0x2B03C1F0: push esi */ 1615 esi = ecx; /* 0x2B03C1F1: mov esi, ecx */ 1616 eax = MEM32(esi + 0x10); /* 0x2B03C1F3: mov eax, dword ptr [esi + 0x10] */ 1617 /* test eax, eax */ /* 0x2B03C1F6: test eax, eax */ 1618 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1619 _cf = 0; 1620 _flag_k = FK_TEST; 1621 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C216; /* 0x2B03C1F8: je 0x2b03c216 */ 1622 L_2B03C1FA: 1623 ecx = eax + (-0x1); /* 0x2B03C1FA: lea ecx, [eax - 1] */ 1624 SET_LO8(eax, MEM8(ecx)); /* 0x2B03C1FD: mov al, byte ptr [ecx] */ 1625 /* test LO8(eax), LO8(eax) */ /* 0x2B03C1FF: test al, al */ 1626 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1627 _cf = 0; 1628 _flag_k = FK_NARROW(FK_TEST, 24); 1629 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C20D; /* 0x2B03C201: je 0x2b03c20d */ 1630 L_2B03C203: 1631 /* cmp LO8(eax), 0xFFu */ /* 0x2B03C203: cmp al, 0xff */ 1632 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 1633 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1634 _flag_k = FK_NARROW(FK_CMP, 24); 1635 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C20D; /* 0x2B03C205: je 0x2b03c20d */ 1636 L_2B03C207: 1637 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 1638 SET_LO8(eax, LO8(eax) - 1); /* 0x2B03C207: dec al */ 1639 _flag_k = FK_NARROW(FK_DEC, 24); 1640 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B03C209: mov byte ptr [ecx], al */ 1641 goto L_2B03C216; /* 0x2B03C20B: jmp 0x2b03c216 */ 1642 L_2B03C20D: 1643 PUSH32(esp, ecx); /* 0x2B03C20D: push ecx */ 1644 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03C20E: call 0x2b0ab1ba */ /* not lifted */ 1645 RECOMP_FLAGS_IN(); 1646 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1647 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1648 esp = esp + 4; /* 0x2B03C213: add esp, 4 */ 1649 _flag_k = FK_ADD; 1650 L_2B03C216: 1651 MEM32(esi + 0x10) = 0; /* 0x2B03C216: mov dword ptr [esi + 0x10], 0 */ 1652 MEM32(esi + 0x14) = 0; /* 0x2B03C21D: mov dword ptr [esi + 0x14], 0 */ 1653 MEM32(esi + 0x18) = 0; /* 0x2B03C224: mov dword ptr [esi + 0x18], 0 */ 1654 esi = POP32_VAL(esp); /* 0x2B03C22B: pop esi */ 1655 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03C22C: ret */ 1656 L_2B0B18F5: 1657 ecx = ebp + (-0xB0); /* 0x2B0B18F5: lea ecx, [ebp - 0xb0] */ 1658 RECOMP_BACKEDGE(); 1659 goto L_2B03C1F0; /* 0x2B0B18FB: jmp 0x2b03c1f0 */ 1660 { RECOMP_REGS_OUT(); return; } /* end of function */ 1661 RECOMP_REGS_OUT(); 1662 } 1663 1664 void sub_2B0B1900(void) { 1665 int _fpu_cmp = 0; 1666 uint32_t _cf = 0; 1667 int _df = 1; 1668 uint32_t _flag_k = FK_NONE; 1669 uint32_t _flag_a = 0, _flag_b = 0; 1670 uint32_t _itail_tgt = 0; 1671 RECOMP_REGS_LOCALS 1672 RECOMP_ENTER(0x2B0B1900u); 1673 1674 L_2B0B1900: 1675 ecx = ebp + (-0x38); /* 0x2B0B1900: lea ecx, [ebp - 0x38] */ 1676 L_2B0B1903: 1677 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 1678 { RECOMP_REGS_OUT(); return; } /* end of function */ 1679 _ljump: 1680 switch (_itail_tgt) { 1681 case 0x2B0B1900u: goto L_2B0B1900; 1682 case 0x2B0B1903u: goto L_2B0B1903; 1683 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1684 } 1685 RECOMP_REGS_OUT(); 1686 } 1687 1688 void sub_2B0B1909(void) { 1689 int _fpu_cmp = 0; 1690 uint32_t _cf = 0; 1691 int _df = 1; 1692 uint32_t _flag_k = FK_NONE; 1693 uint32_t _flag_a = 0, _flag_b = 0; 1694 uint32_t _itail_tgt = 0; 1695 RECOMP_REGS_LOCALS 1696 RECOMP_ENTER(0x2B0B1909u); 1697 1698 goto L_2B0B1909; 1699 L_2B075130: 1700 PUSH32(esp, esi); /* 0x2B075130: push esi */ 1701 esi = ecx; /* 0x2B075131: mov esi, ecx */ 1702 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 1703 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 1704 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1705 _cf = 0; 1706 _flag_k = FK_TEST; 1707 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 1708 L_2B07513A: 1709 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 1710 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 1711 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 1712 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1713 _cf = 0; 1714 _flag_k = FK_NARROW(FK_TEST, 24); 1715 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 1716 L_2B075143: 1717 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 1718 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 1719 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1720 _flag_k = FK_NARROW(FK_CMP, 24); 1721 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 1722 L_2B075147: 1723 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 1724 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 1725 _flag_k = FK_NARROW(FK_DEC, 24); 1726 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 1727 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 1728 L_2B07514D: 1729 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 1730 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 1731 RECOMP_FLAGS_IN(); 1732 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1733 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1734 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 1735 _flag_k = FK_ADD; 1736 L_2B075156: 1737 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 1738 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 1739 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 1740 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 1741 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 1742 L_2B0B1909: 1743 ecx = ebp + (-0x40); /* 0x2B0B1909: lea ecx, [ebp - 0x40] */ 1744 RECOMP_BACKEDGE(); 1745 goto L_2B075130; /* 0x2B0B190C: jmp 0x2b075130 */ 1746 { RECOMP_REGS_OUT(); return; } /* end of function */ 1747 RECOMP_REGS_OUT(); 1748 } 1749 1750 void sub_2B0B1911(void) { 1751 int _fpu_cmp = 0; 1752 uint32_t _cf = 0; 1753 int _df = 1; 1754 uint32_t _flag_k = FK_NONE; 1755 uint32_t _flag_a = 0, _flag_b = 0; 1756 uint32_t _itail_tgt = 0; 1757 RECOMP_REGS_LOCALS 1758 RECOMP_ENTER(0x2B0B1911u); 1759 1760 goto L_2B0B1911; 1761 L_2B075130: 1762 PUSH32(esp, esi); /* 0x2B075130: push esi */ 1763 esi = ecx; /* 0x2B075131: mov esi, ecx */ 1764 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 1765 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 1766 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1767 _cf = 0; 1768 _flag_k = FK_TEST; 1769 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 1770 L_2B07513A: 1771 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 1772 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 1773 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 1774 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1775 _cf = 0; 1776 _flag_k = FK_NARROW(FK_TEST, 24); 1777 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 1778 L_2B075143: 1779 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 1780 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 1781 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1782 _flag_k = FK_NARROW(FK_CMP, 24); 1783 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 1784 L_2B075147: 1785 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 1786 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 1787 _flag_k = FK_NARROW(FK_DEC, 24); 1788 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 1789 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 1790 L_2B07514D: 1791 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 1792 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 1793 RECOMP_FLAGS_IN(); 1794 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1795 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1796 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 1797 _flag_k = FK_ADD; 1798 L_2B075156: 1799 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 1800 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 1801 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 1802 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 1803 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 1804 L_2B0B1911: 1805 ecx = ebp + (-0x74); /* 0x2B0B1911: lea ecx, [ebp - 0x74] */ 1806 RECOMP_BACKEDGE(); 1807 goto L_2B075130; /* 0x2B0B1914: jmp 0x2b075130 */ 1808 { RECOMP_REGS_OUT(); return; } /* end of function */ 1809 RECOMP_REGS_OUT(); 1810 } 1811 1812 void sub_2B0B1919(void) { 1813 int _fpu_cmp = 0; 1814 uint32_t _cf = 0; 1815 int _df = 1; 1816 uint32_t _flag_k = FK_NONE; 1817 uint32_t _flag_a = 0, _flag_b = 0; 1818 uint32_t _itail_tgt = 0; 1819 RECOMP_REGS_LOCALS 1820 RECOMP_ENTER(0x2B0B1919u); 1821 1822 goto L_2B0B1919; 1823 L_2B03C1F0: 1824 PUSH32(esp, esi); /* 0x2B03C1F0: push esi */ 1825 esi = ecx; /* 0x2B03C1F1: mov esi, ecx */ 1826 eax = MEM32(esi + 0x10); /* 0x2B03C1F3: mov eax, dword ptr [esi + 0x10] */ 1827 /* test eax, eax */ /* 0x2B03C1F6: test eax, eax */ 1828 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1829 _cf = 0; 1830 _flag_k = FK_TEST; 1831 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C216; /* 0x2B03C1F8: je 0x2b03c216 */ 1832 L_2B03C1FA: 1833 ecx = eax + (-0x1); /* 0x2B03C1FA: lea ecx, [eax - 1] */ 1834 SET_LO8(eax, MEM8(ecx)); /* 0x2B03C1FD: mov al, byte ptr [ecx] */ 1835 /* test LO8(eax), LO8(eax) */ /* 0x2B03C1FF: test al, al */ 1836 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1837 _cf = 0; 1838 _flag_k = FK_NARROW(FK_TEST, 24); 1839 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C20D; /* 0x2B03C201: je 0x2b03c20d */ 1840 L_2B03C203: 1841 /* cmp LO8(eax), 0xFFu */ /* 0x2B03C203: cmp al, 0xff */ 1842 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 1843 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1844 _flag_k = FK_NARROW(FK_CMP, 24); 1845 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C20D; /* 0x2B03C205: je 0x2b03c20d */ 1846 L_2B03C207: 1847 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 1848 SET_LO8(eax, LO8(eax) - 1); /* 0x2B03C207: dec al */ 1849 _flag_k = FK_NARROW(FK_DEC, 24); 1850 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B03C209: mov byte ptr [ecx], al */ 1851 goto L_2B03C216; /* 0x2B03C20B: jmp 0x2b03c216 */ 1852 L_2B03C20D: 1853 PUSH32(esp, ecx); /* 0x2B03C20D: push ecx */ 1854 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03C20E: call 0x2b0ab1ba */ /* not lifted */ 1855 RECOMP_FLAGS_IN(); 1856 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1857 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1858 esp = esp + 4; /* 0x2B03C213: add esp, 4 */ 1859 _flag_k = FK_ADD; 1860 L_2B03C216: 1861 MEM32(esi + 0x10) = 0; /* 0x2B03C216: mov dword ptr [esi + 0x10], 0 */ 1862 MEM32(esi + 0x14) = 0; /* 0x2B03C21D: mov dword ptr [esi + 0x14], 0 */ 1863 MEM32(esi + 0x18) = 0; /* 0x2B03C224: mov dword ptr [esi + 0x18], 0 */ 1864 esi = POP32_VAL(esp); /* 0x2B03C22B: pop esi */ 1865 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03C22C: ret */ 1866 L_2B0B1919: 1867 ecx = ebp + (-0xB0); /* 0x2B0B1919: lea ecx, [ebp - 0xb0] */ 1868 RECOMP_BACKEDGE(); 1869 goto L_2B03C1F0; /* 0x2B0B191F: jmp 0x2b03c1f0 */ 1870 { RECOMP_REGS_OUT(); return; } /* end of function */ 1871 RECOMP_REGS_OUT(); 1872 } 1873 1874 void sub_2B0B1924(void) { 1875 int _fpu_cmp = 0; 1876 uint32_t _cf = 0; 1877 int _df = 1; 1878 uint32_t _flag_k = FK_NONE; 1879 uint32_t _flag_a = 0, _flag_b = 0; 1880 uint32_t _itail_tgt = 0; 1881 RECOMP_REGS_LOCALS 1882 RECOMP_ENTER(0x2B0B1924u); 1883 1884 L_2B0B1924: 1885 ecx = ebp + (-0x38); /* 0x2B0B1924: lea ecx, [ebp - 0x38] */ 1886 L_2B0B1927: 1887 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 1888 { RECOMP_REGS_OUT(); return; } /* end of function */ 1889 _ljump: 1890 switch (_itail_tgt) { 1891 case 0x2B0B1924u: goto L_2B0B1924; 1892 case 0x2B0B1927u: goto L_2B0B1927; 1893 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1894 } 1895 RECOMP_REGS_OUT(); 1896 } 1897 1898 void sub_2B0B192D(void) { 1899 int _fpu_cmp = 0; 1900 uint32_t _cf = 0; 1901 int _df = 1; 1902 uint32_t _flag_k = FK_NONE; 1903 uint32_t _flag_a = 0, _flag_b = 0; 1904 uint32_t _itail_tgt = 0; 1905 RECOMP_REGS_LOCALS 1906 RECOMP_ENTER(0x2B0B192Du); 1907 1908 goto L_2B0B192D; 1909 L_2B075130: 1910 PUSH32(esp, esi); /* 0x2B075130: push esi */ 1911 esi = ecx; /* 0x2B075131: mov esi, ecx */ 1912 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 1913 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 1914 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1915 _cf = 0; 1916 _flag_k = FK_TEST; 1917 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 1918 L_2B07513A: 1919 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 1920 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 1921 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 1922 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1923 _cf = 0; 1924 _flag_k = FK_NARROW(FK_TEST, 24); 1925 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 1926 L_2B075143: 1927 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 1928 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 1929 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1930 _flag_k = FK_NARROW(FK_CMP, 24); 1931 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 1932 L_2B075147: 1933 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 1934 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 1935 _flag_k = FK_NARROW(FK_DEC, 24); 1936 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 1937 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 1938 L_2B07514D: 1939 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 1940 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 1941 RECOMP_FLAGS_IN(); 1942 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1943 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1944 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 1945 _flag_k = FK_ADD; 1946 L_2B075156: 1947 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 1948 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 1949 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 1950 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 1951 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 1952 L_2B0B192D: 1953 ecx = ebp + (-0x40); /* 0x2B0B192D: lea ecx, [ebp - 0x40] */ 1954 RECOMP_BACKEDGE(); 1955 goto L_2B075130; /* 0x2B0B1930: jmp 0x2b075130 */ 1956 { RECOMP_REGS_OUT(); return; } /* end of function */ 1957 RECOMP_REGS_OUT(); 1958 } 1959 1960 void sub_2B0B1935(void) { 1961 int _fpu_cmp = 0; 1962 uint32_t _cf = 0; 1963 int _df = 1; 1964 uint32_t _flag_k = FK_NONE; 1965 uint32_t _flag_a = 0, _flag_b = 0; 1966 uint32_t _itail_tgt = 0; 1967 RECOMP_REGS_LOCALS 1968 RECOMP_ENTER(0x2B0B1935u); 1969 1970 goto L_2B0B1935; 1971 L_2B075130: 1972 PUSH32(esp, esi); /* 0x2B075130: push esi */ 1973 esi = ecx; /* 0x2B075131: mov esi, ecx */ 1974 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 1975 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 1976 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 1977 _cf = 0; 1978 _flag_k = FK_TEST; 1979 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 1980 L_2B07513A: 1981 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 1982 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 1983 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 1984 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 1985 _cf = 0; 1986 _flag_k = FK_NARROW(FK_TEST, 24); 1987 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 1988 L_2B075143: 1989 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 1990 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 1991 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1992 _flag_k = FK_NARROW(FK_CMP, 24); 1993 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 1994 L_2B075147: 1995 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 1996 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 1997 _flag_k = FK_NARROW(FK_DEC, 24); 1998 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 1999 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 2000 L_2B07514D: 2001 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 2002 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 2003 RECOMP_FLAGS_IN(); 2004 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2005 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2006 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 2007 _flag_k = FK_ADD; 2008 L_2B075156: 2009 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 2010 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 2011 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 2012 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 2013 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 2014 L_2B0B1935: 2015 ecx = ebp + (-0x74); /* 0x2B0B1935: lea ecx, [ebp - 0x74] */ 2016 RECOMP_BACKEDGE(); 2017 goto L_2B075130; /* 0x2B0B1938: jmp 0x2b075130 */ 2018 { RECOMP_REGS_OUT(); return; } /* end of function */ 2019 RECOMP_REGS_OUT(); 2020 } 2021 2022 void sub_2B0B193D(void) { 2023 int _fpu_cmp = 0; 2024 uint32_t _cf = 0; 2025 int _df = 1; 2026 uint32_t _flag_k = FK_NONE; 2027 uint32_t _flag_a = 0, _flag_b = 0; 2028 uint32_t _itail_tgt = 0; 2029 RECOMP_REGS_LOCALS 2030 RECOMP_ENTER(0x2B0B193Du); 2031 2032 goto L_2B0B193D; 2033 L_2B03C1F0: 2034 PUSH32(esp, esi); /* 0x2B03C1F0: push esi */ 2035 esi = ecx; /* 0x2B03C1F1: mov esi, ecx */ 2036 eax = MEM32(esi + 0x10); /* 0x2B03C1F3: mov eax, dword ptr [esi + 0x10] */ 2037 /* test eax, eax */ /* 0x2B03C1F6: test eax, eax */ 2038 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2039 _cf = 0; 2040 _flag_k = FK_TEST; 2041 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C216; /* 0x2B03C1F8: je 0x2b03c216 */ 2042 L_2B03C1FA: 2043 ecx = eax + (-0x1); /* 0x2B03C1FA: lea ecx, [eax - 1] */ 2044 SET_LO8(eax, MEM8(ecx)); /* 0x2B03C1FD: mov al, byte ptr [ecx] */ 2045 /* test LO8(eax), LO8(eax) */ /* 0x2B03C1FF: test al, al */ 2046 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2047 _cf = 0; 2048 _flag_k = FK_NARROW(FK_TEST, 24); 2049 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C20D; /* 0x2B03C201: je 0x2b03c20d */ 2050 L_2B03C203: 2051 /* cmp LO8(eax), 0xFFu */ /* 0x2B03C203: cmp al, 0xff */ 2052 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 2053 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2054 _flag_k = FK_NARROW(FK_CMP, 24); 2055 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C20D; /* 0x2B03C205: je 0x2b03c20d */ 2056 L_2B03C207: 2057 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 2058 SET_LO8(eax, LO8(eax) - 1); /* 0x2B03C207: dec al */ 2059 _flag_k = FK_NARROW(FK_DEC, 24); 2060 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B03C209: mov byte ptr [ecx], al */ 2061 goto L_2B03C216; /* 0x2B03C20B: jmp 0x2b03c216 */ 2062 L_2B03C20D: 2063 PUSH32(esp, ecx); /* 0x2B03C20D: push ecx */ 2064 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03C20E: call 0x2b0ab1ba */ /* not lifted */ 2065 RECOMP_FLAGS_IN(); 2066 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2067 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2068 esp = esp + 4; /* 0x2B03C213: add esp, 4 */ 2069 _flag_k = FK_ADD; 2070 L_2B03C216: 2071 MEM32(esi + 0x10) = 0; /* 0x2B03C216: mov dword ptr [esi + 0x10], 0 */ 2072 MEM32(esi + 0x14) = 0; /* 0x2B03C21D: mov dword ptr [esi + 0x14], 0 */ 2073 MEM32(esi + 0x18) = 0; /* 0x2B03C224: mov dword ptr [esi + 0x18], 0 */ 2074 esi = POP32_VAL(esp); /* 0x2B03C22B: pop esi */ 2075 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03C22C: ret */ 2076 L_2B0B193D: 2077 ecx = ebp + (-0xB0); /* 0x2B0B193D: lea ecx, [ebp - 0xb0] */ 2078 RECOMP_BACKEDGE(); 2079 goto L_2B03C1F0; /* 0x2B0B1943: jmp 0x2b03c1f0 */ 2080 { RECOMP_REGS_OUT(); return; } /* end of function */ 2081 RECOMP_REGS_OUT(); 2082 } 2083 2084 void sub_2B0B1948(void) { 2085 int _fpu_cmp = 0; 2086 uint32_t _cf = 0; 2087 int _df = 1; 2088 uint32_t _flag_k = FK_NONE; 2089 uint32_t _flag_a = 0, _flag_b = 0; 2090 uint32_t _itail_tgt = 0; 2091 RECOMP_REGS_LOCALS 2092 RECOMP_ENTER(0x2B0B1948u); 2093 2094 L_2B0B1948: 2095 ecx = ebp + (-0x38); /* 0x2B0B1948: lea ecx, [ebp - 0x38] */ 2096 L_2B0B194B: 2097 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 2098 { RECOMP_REGS_OUT(); return; } /* end of function */ 2099 _ljump: 2100 switch (_itail_tgt) { 2101 case 0x2B0B1948u: goto L_2B0B1948; 2102 case 0x2B0B194Bu: goto L_2B0B194B; 2103 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2104 } 2105 RECOMP_REGS_OUT(); 2106 } 2107 2108 void sub_2B0B1951(void) { 2109 int _fpu_cmp = 0; 2110 uint32_t _cf = 0; 2111 int _df = 1; 2112 uint32_t _flag_k = FK_NONE; 2113 uint32_t _flag_a = 0, _flag_b = 0; 2114 uint32_t _itail_tgt = 0; 2115 RECOMP_REGS_LOCALS 2116 RECOMP_ENTER(0x2B0B1951u); 2117 2118 goto L_2B0B1951; 2119 L_2B075130: 2120 PUSH32(esp, esi); /* 0x2B075130: push esi */ 2121 esi = ecx; /* 0x2B075131: mov esi, ecx */ 2122 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 2123 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 2124 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2125 _cf = 0; 2126 _flag_k = FK_TEST; 2127 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 2128 L_2B07513A: 2129 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 2130 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 2131 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 2132 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2133 _cf = 0; 2134 _flag_k = FK_NARROW(FK_TEST, 24); 2135 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 2136 L_2B075143: 2137 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 2138 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 2139 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2140 _flag_k = FK_NARROW(FK_CMP, 24); 2141 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 2142 L_2B075147: 2143 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 2144 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 2145 _flag_k = FK_NARROW(FK_DEC, 24); 2146 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 2147 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 2148 L_2B07514D: 2149 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 2150 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 2151 RECOMP_FLAGS_IN(); 2152 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2153 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2154 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 2155 _flag_k = FK_ADD; 2156 L_2B075156: 2157 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 2158 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 2159 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 2160 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 2161 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 2162 L_2B0B1951: 2163 ecx = ebp + (-0x40); /* 0x2B0B1951: lea ecx, [ebp - 0x40] */ 2164 RECOMP_BACKEDGE(); 2165 goto L_2B075130; /* 0x2B0B1954: jmp 0x2b075130 */ 2166 { RECOMP_REGS_OUT(); return; } /* end of function */ 2167 RECOMP_REGS_OUT(); 2168 } 2169 2170 void sub_2B0B1959(void) { 2171 int _fpu_cmp = 0; 2172 uint32_t _cf = 0; 2173 int _df = 1; 2174 uint32_t _flag_k = FK_NONE; 2175 uint32_t _flag_a = 0, _flag_b = 0; 2176 uint32_t _itail_tgt = 0; 2177 RECOMP_REGS_LOCALS 2178 RECOMP_ENTER(0x2B0B1959u); 2179 2180 goto L_2B0B1959; 2181 L_2B075130: 2182 PUSH32(esp, esi); /* 0x2B075130: push esi */ 2183 esi = ecx; /* 0x2B075131: mov esi, ecx */ 2184 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 2185 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 2186 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2187 _cf = 0; 2188 _flag_k = FK_TEST; 2189 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 2190 L_2B07513A: 2191 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 2192 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 2193 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 2194 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2195 _cf = 0; 2196 _flag_k = FK_NARROW(FK_TEST, 24); 2197 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 2198 L_2B075143: 2199 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 2200 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 2201 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2202 _flag_k = FK_NARROW(FK_CMP, 24); 2203 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 2204 L_2B075147: 2205 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 2206 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 2207 _flag_k = FK_NARROW(FK_DEC, 24); 2208 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 2209 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 2210 L_2B07514D: 2211 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 2212 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 2213 RECOMP_FLAGS_IN(); 2214 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2215 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2216 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 2217 _flag_k = FK_ADD; 2218 L_2B075156: 2219 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 2220 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 2221 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 2222 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 2223 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 2224 L_2B0B1959: 2225 ecx = ebp + (-0x74); /* 0x2B0B1959: lea ecx, [ebp - 0x74] */ 2226 RECOMP_BACKEDGE(); 2227 goto L_2B075130; /* 0x2B0B195C: jmp 0x2b075130 */ 2228 { RECOMP_REGS_OUT(); return; } /* end of function */ 2229 RECOMP_REGS_OUT(); 2230 } 2231 2232 void sub_2B0B1961(void) { 2233 int _fpu_cmp = 0; 2234 uint32_t _cf = 0; 2235 int _df = 1; 2236 uint32_t _flag_k = FK_NONE; 2237 uint32_t _flag_a = 0, _flag_b = 0; 2238 uint32_t _itail_tgt = 0; 2239 RECOMP_REGS_LOCALS 2240 RECOMP_ENTER(0x2B0B1961u); 2241 2242 goto L_2B0B1961; 2243 L_2B03C1F0: 2244 PUSH32(esp, esi); /* 0x2B03C1F0: push esi */ 2245 esi = ecx; /* 0x2B03C1F1: mov esi, ecx */ 2246 eax = MEM32(esi + 0x10); /* 0x2B03C1F3: mov eax, dword ptr [esi + 0x10] */ 2247 /* test eax, eax */ /* 0x2B03C1F6: test eax, eax */ 2248 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2249 _cf = 0; 2250 _flag_k = FK_TEST; 2251 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C216; /* 0x2B03C1F8: je 0x2b03c216 */ 2252 L_2B03C1FA: 2253 ecx = eax + (-0x1); /* 0x2B03C1FA: lea ecx, [eax - 1] */ 2254 SET_LO8(eax, MEM8(ecx)); /* 0x2B03C1FD: mov al, byte ptr [ecx] */ 2255 /* test LO8(eax), LO8(eax) */ /* 0x2B03C1FF: test al, al */ 2256 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2257 _cf = 0; 2258 _flag_k = FK_NARROW(FK_TEST, 24); 2259 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C20D; /* 0x2B03C201: je 0x2b03c20d */ 2260 L_2B03C203: 2261 /* cmp LO8(eax), 0xFFu */ /* 0x2B03C203: cmp al, 0xff */ 2262 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 2263 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2264 _flag_k = FK_NARROW(FK_CMP, 24); 2265 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C20D; /* 0x2B03C205: je 0x2b03c20d */ 2266 L_2B03C207: 2267 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 2268 SET_LO8(eax, LO8(eax) - 1); /* 0x2B03C207: dec al */ 2269 _flag_k = FK_NARROW(FK_DEC, 24); 2270 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B03C209: mov byte ptr [ecx], al */ 2271 goto L_2B03C216; /* 0x2B03C20B: jmp 0x2b03c216 */ 2272 L_2B03C20D: 2273 PUSH32(esp, ecx); /* 0x2B03C20D: push ecx */ 2274 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03C20E: call 0x2b0ab1ba */ /* not lifted */ 2275 RECOMP_FLAGS_IN(); 2276 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2277 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2278 esp = esp + 4; /* 0x2B03C213: add esp, 4 */ 2279 _flag_k = FK_ADD; 2280 L_2B03C216: 2281 MEM32(esi + 0x10) = 0; /* 0x2B03C216: mov dword ptr [esi + 0x10], 0 */ 2282 MEM32(esi + 0x14) = 0; /* 0x2B03C21D: mov dword ptr [esi + 0x14], 0 */ 2283 MEM32(esi + 0x18) = 0; /* 0x2B03C224: mov dword ptr [esi + 0x18], 0 */ 2284 esi = POP32_VAL(esp); /* 0x2B03C22B: pop esi */ 2285 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03C22C: ret */ 2286 L_2B0B1961: 2287 ecx = ebp + (-0xB0); /* 0x2B0B1961: lea ecx, [ebp - 0xb0] */ 2288 RECOMP_BACKEDGE(); 2289 goto L_2B03C1F0; /* 0x2B0B1967: jmp 0x2b03c1f0 */ 2290 { RECOMP_REGS_OUT(); return; } /* end of function */ 2291 RECOMP_REGS_OUT(); 2292 } 2293 2294 void sub_2B0B196C(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(0x2B0B196Cu); 2303 2304 L_2B0B196C: 2305 ecx = ebp + (-0x38); /* 0x2B0B196C: lea ecx, [ebp - 0x38] */ 2306 L_2B0B196F: 2307 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 2308 { RECOMP_REGS_OUT(); return; } /* end of function */ 2309 _ljump: 2310 switch (_itail_tgt) { 2311 case 0x2B0B196Cu: goto L_2B0B196C; 2312 case 0x2B0B196Fu: goto L_2B0B196F; 2313 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2314 } 2315 RECOMP_REGS_OUT(); 2316 } 2317 2318 void sub_2B0B1975(void) { 2319 int _fpu_cmp = 0; 2320 uint32_t _cf = 0; 2321 int _df = 1; 2322 uint32_t _flag_k = FK_NONE; 2323 uint32_t _flag_a = 0, _flag_b = 0; 2324 uint32_t _itail_tgt = 0; 2325 RECOMP_REGS_LOCALS 2326 RECOMP_ENTER(0x2B0B1975u); 2327 2328 goto L_2B0B1975; 2329 L_2B075130: 2330 PUSH32(esp, esi); /* 0x2B075130: push esi */ 2331 esi = ecx; /* 0x2B075131: mov esi, ecx */ 2332 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 2333 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 2334 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2335 _cf = 0; 2336 _flag_k = FK_TEST; 2337 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 2338 L_2B07513A: 2339 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 2340 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 2341 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 2342 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2343 _cf = 0; 2344 _flag_k = FK_NARROW(FK_TEST, 24); 2345 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 2346 L_2B075143: 2347 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: 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_2B07514D; /* 0x2B075145: je 0x2b07514d */ 2352 L_2B075147: 2353 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 2354 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 2355 _flag_k = FK_NARROW(FK_DEC, 24); 2356 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 2357 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 2358 L_2B07514D: 2359 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 2360 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: 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; /* 0x2B075153: add esp, 4 */ 2365 _flag_k = FK_ADD; 2366 L_2B075156: 2367 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 2368 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 2369 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 2370 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 2371 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 2372 L_2B0B1975: 2373 ecx = ebp + (-0x40); /* 0x2B0B1975: lea ecx, [ebp - 0x40] */ 2374 RECOMP_BACKEDGE(); 2375 goto L_2B075130; /* 0x2B0B1978: jmp 0x2b075130 */ 2376 { RECOMP_REGS_OUT(); return; } /* end of function */ 2377 RECOMP_REGS_OUT(); 2378 } 2379 2380 void sub_2B0B197D(void) { 2381 int _fpu_cmp = 0; 2382 uint32_t _cf = 0; 2383 int _df = 1; 2384 uint32_t _flag_k = FK_NONE; 2385 uint32_t _flag_a = 0, _flag_b = 0; 2386 uint32_t _itail_tgt = 0; 2387 RECOMP_REGS_LOCALS 2388 RECOMP_ENTER(0x2B0B197Du); 2389 2390 goto L_2B0B197D; 2391 L_2B075130: 2392 PUSH32(esp, esi); /* 0x2B075130: push esi */ 2393 esi = ecx; /* 0x2B075131: mov esi, ecx */ 2394 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 2395 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 2396 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2397 _cf = 0; 2398 _flag_k = FK_TEST; 2399 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 2400 L_2B07513A: 2401 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 2402 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 2403 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 2404 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2405 _cf = 0; 2406 _flag_k = FK_NARROW(FK_TEST, 24); 2407 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 2408 L_2B075143: 2409 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 2410 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 2411 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2412 _flag_k = FK_NARROW(FK_CMP, 24); 2413 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 2414 L_2B075147: 2415 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 2416 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 2417 _flag_k = FK_NARROW(FK_DEC, 24); 2418 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 2419 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 2420 L_2B07514D: 2421 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 2422 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 2423 RECOMP_FLAGS_IN(); 2424 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2425 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2426 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 2427 _flag_k = FK_ADD; 2428 L_2B075156: 2429 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 2430 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 2431 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 2432 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 2433 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 2434 L_2B0B197D: 2435 ecx = ebp + (-0x74); /* 0x2B0B197D: lea ecx, [ebp - 0x74] */ 2436 RECOMP_BACKEDGE(); 2437 goto L_2B075130; /* 0x2B0B1980: jmp 0x2b075130 */ 2438 { RECOMP_REGS_OUT(); return; } /* end of function */ 2439 RECOMP_REGS_OUT(); 2440 } 2441 2442 void sub_2B0B1985(void) { 2443 int _fpu_cmp = 0; 2444 uint32_t _cf = 0; 2445 int _df = 1; 2446 uint32_t _flag_k = FK_NONE; 2447 uint32_t _flag_a = 0, _flag_b = 0; 2448 uint32_t _itail_tgt = 0; 2449 RECOMP_REGS_LOCALS 2450 RECOMP_ENTER(0x2B0B1985u); 2451 2452 goto L_2B0B1985; 2453 L_2B03C1F0: 2454 PUSH32(esp, esi); /* 0x2B03C1F0: push esi */ 2455 esi = ecx; /* 0x2B03C1F1: mov esi, ecx */ 2456 eax = MEM32(esi + 0x10); /* 0x2B03C1F3: mov eax, dword ptr [esi + 0x10] */ 2457 /* test eax, eax */ /* 0x2B03C1F6: test eax, eax */ 2458 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2459 _cf = 0; 2460 _flag_k = FK_TEST; 2461 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C216; /* 0x2B03C1F8: je 0x2b03c216 */ 2462 L_2B03C1FA: 2463 ecx = eax + (-0x1); /* 0x2B03C1FA: lea ecx, [eax - 1] */ 2464 SET_LO8(eax, MEM8(ecx)); /* 0x2B03C1FD: mov al, byte ptr [ecx] */ 2465 /* test LO8(eax), LO8(eax) */ /* 0x2B03C1FF: test al, al */ 2466 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2467 _cf = 0; 2468 _flag_k = FK_NARROW(FK_TEST, 24); 2469 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C20D; /* 0x2B03C201: je 0x2b03c20d */ 2470 L_2B03C203: 2471 /* cmp LO8(eax), 0xFFu */ /* 0x2B03C203: cmp al, 0xff */ 2472 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 2473 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2474 _flag_k = FK_NARROW(FK_CMP, 24); 2475 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C20D; /* 0x2B03C205: je 0x2b03c20d */ 2476 L_2B03C207: 2477 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 2478 SET_LO8(eax, LO8(eax) - 1); /* 0x2B03C207: dec al */ 2479 _flag_k = FK_NARROW(FK_DEC, 24); 2480 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B03C209: mov byte ptr [ecx], al */ 2481 goto L_2B03C216; /* 0x2B03C20B: jmp 0x2b03c216 */ 2482 L_2B03C20D: 2483 PUSH32(esp, ecx); /* 0x2B03C20D: push ecx */ 2484 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03C20E: call 0x2b0ab1ba */ /* not lifted */ 2485 RECOMP_FLAGS_IN(); 2486 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2487 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2488 esp = esp + 4; /* 0x2B03C213: add esp, 4 */ 2489 _flag_k = FK_ADD; 2490 L_2B03C216: 2491 MEM32(esi + 0x10) = 0; /* 0x2B03C216: mov dword ptr [esi + 0x10], 0 */ 2492 MEM32(esi + 0x14) = 0; /* 0x2B03C21D: mov dword ptr [esi + 0x14], 0 */ 2493 MEM32(esi + 0x18) = 0; /* 0x2B03C224: mov dword ptr [esi + 0x18], 0 */ 2494 esi = POP32_VAL(esp); /* 0x2B03C22B: pop esi */ 2495 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03C22C: ret */ 2496 L_2B0B1985: 2497 ecx = ebp + (-0xB0); /* 0x2B0B1985: lea ecx, [ebp - 0xb0] */ 2498 RECOMP_BACKEDGE(); 2499 goto L_2B03C1F0; /* 0x2B0B198B: jmp 0x2b03c1f0 */ 2500 { RECOMP_REGS_OUT(); return; } /* end of function */ 2501 RECOMP_REGS_OUT(); 2502 } 2503 2504 void sub_2B0B1990(void) { 2505 int _fpu_cmp = 0; 2506 uint32_t _cf = 0; 2507 int _df = 1; 2508 uint32_t _flag_k = FK_NONE; 2509 uint32_t _flag_a = 0, _flag_b = 0; 2510 uint32_t _itail_tgt = 0; 2511 RECOMP_REGS_LOCALS 2512 RECOMP_ENTER(0x2B0B1990u); 2513 2514 L_2B0B1990: 2515 ecx = ebp + (-0x38); /* 0x2B0B1990: lea ecx, [ebp - 0x38] */ 2516 L_2B0B1993: 2517 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 2518 { RECOMP_REGS_OUT(); return; } /* end of function */ 2519 _ljump: 2520 switch (_itail_tgt) { 2521 case 0x2B0B1990u: goto L_2B0B1990; 2522 case 0x2B0B1993u: goto L_2B0B1993; 2523 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2524 } 2525 RECOMP_REGS_OUT(); 2526 } 2527 2528 void sub_2B0B1999(void) { 2529 int _fpu_cmp = 0; 2530 uint32_t _cf = 0; 2531 int _df = 1; 2532 uint32_t _flag_k = FK_NONE; 2533 uint32_t _flag_a = 0, _flag_b = 0; 2534 uint32_t _itail_tgt = 0; 2535 RECOMP_REGS_LOCALS 2536 RECOMP_ENTER(0x2B0B1999u); 2537 2538 goto L_2B0B1999; 2539 L_2B075130: 2540 PUSH32(esp, esi); /* 0x2B075130: push esi */ 2541 esi = ecx; /* 0x2B075131: mov esi, ecx */ 2542 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 2543 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 2544 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2545 _cf = 0; 2546 _flag_k = FK_TEST; 2547 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 2548 L_2B07513A: 2549 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 2550 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 2551 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 2552 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2553 _cf = 0; 2554 _flag_k = FK_NARROW(FK_TEST, 24); 2555 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 2556 L_2B075143: 2557 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 2558 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 2559 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2560 _flag_k = FK_NARROW(FK_CMP, 24); 2561 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 2562 L_2B075147: 2563 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 2564 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 2565 _flag_k = FK_NARROW(FK_DEC, 24); 2566 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 2567 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 2568 L_2B07514D: 2569 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 2570 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 2571 RECOMP_FLAGS_IN(); 2572 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2573 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2574 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 2575 _flag_k = FK_ADD; 2576 L_2B075156: 2577 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 2578 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 2579 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 2580 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 2581 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 2582 L_2B0B1999: 2583 ecx = ebp + (-0x40); /* 0x2B0B1999: lea ecx, [ebp - 0x40] */ 2584 RECOMP_BACKEDGE(); 2585 goto L_2B075130; /* 0x2B0B199C: jmp 0x2b075130 */ 2586 { RECOMP_REGS_OUT(); return; } /* end of function */ 2587 RECOMP_REGS_OUT(); 2588 } 2589 2590 void sub_2B0B19A1(void) { 2591 int _fpu_cmp = 0; 2592 uint32_t _cf = 0; 2593 int _df = 1; 2594 uint32_t _flag_k = FK_NONE; 2595 uint32_t _flag_a = 0, _flag_b = 0; 2596 uint32_t _itail_tgt = 0; 2597 RECOMP_REGS_LOCALS 2598 RECOMP_ENTER(0x2B0B19A1u); 2599 2600 goto L_2B0B19A1; 2601 L_2B075130: 2602 PUSH32(esp, esi); /* 0x2B075130: push esi */ 2603 esi = ecx; /* 0x2B075131: mov esi, ecx */ 2604 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 2605 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 2606 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2607 _cf = 0; 2608 _flag_k = FK_TEST; 2609 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 2610 L_2B07513A: 2611 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 2612 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 2613 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 2614 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2615 _cf = 0; 2616 _flag_k = FK_NARROW(FK_TEST, 24); 2617 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 2618 L_2B075143: 2619 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 2620 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 2621 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2622 _flag_k = FK_NARROW(FK_CMP, 24); 2623 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 2624 L_2B075147: 2625 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 2626 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 2627 _flag_k = FK_NARROW(FK_DEC, 24); 2628 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 2629 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 2630 L_2B07514D: 2631 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 2632 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 2633 RECOMP_FLAGS_IN(); 2634 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2635 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2636 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 2637 _flag_k = FK_ADD; 2638 L_2B075156: 2639 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 2640 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 2641 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 2642 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 2643 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 2644 L_2B0B19A1: 2645 ecx = ebp + (-0x74); /* 0x2B0B19A1: lea ecx, [ebp - 0x74] */ 2646 RECOMP_BACKEDGE(); 2647 goto L_2B075130; /* 0x2B0B19A4: jmp 0x2b075130 */ 2648 { RECOMP_REGS_OUT(); return; } /* end of function */ 2649 RECOMP_REGS_OUT(); 2650 } 2651 2652 void sub_2B0B19A9(void) { 2653 int _fpu_cmp = 0; 2654 uint32_t _cf = 0; 2655 int _df = 1; 2656 uint32_t _flag_k = FK_NONE; 2657 uint32_t _flag_a = 0, _flag_b = 0; 2658 uint32_t _itail_tgt = 0; 2659 RECOMP_REGS_LOCALS 2660 RECOMP_ENTER(0x2B0B19A9u); 2661 2662 goto L_2B0B19A9; 2663 L_2B03C1F0: 2664 PUSH32(esp, esi); /* 0x2B03C1F0: push esi */ 2665 esi = ecx; /* 0x2B03C1F1: mov esi, ecx */ 2666 eax = MEM32(esi + 0x10); /* 0x2B03C1F3: mov eax, dword ptr [esi + 0x10] */ 2667 /* test eax, eax */ /* 0x2B03C1F6: test eax, eax */ 2668 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2669 _cf = 0; 2670 _flag_k = FK_TEST; 2671 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C216; /* 0x2B03C1F8: je 0x2b03c216 */ 2672 L_2B03C1FA: 2673 ecx = eax + (-0x1); /* 0x2B03C1FA: lea ecx, [eax - 1] */ 2674 SET_LO8(eax, MEM8(ecx)); /* 0x2B03C1FD: mov al, byte ptr [ecx] */ 2675 /* test LO8(eax), LO8(eax) */ /* 0x2B03C1FF: test al, al */ 2676 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2677 _cf = 0; 2678 _flag_k = FK_NARROW(FK_TEST, 24); 2679 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C20D; /* 0x2B03C201: je 0x2b03c20d */ 2680 L_2B03C203: 2681 /* cmp LO8(eax), 0xFFu */ /* 0x2B03C203: cmp al, 0xff */ 2682 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 2683 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2684 _flag_k = FK_NARROW(FK_CMP, 24); 2685 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C20D; /* 0x2B03C205: je 0x2b03c20d */ 2686 L_2B03C207: 2687 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 2688 SET_LO8(eax, LO8(eax) - 1); /* 0x2B03C207: dec al */ 2689 _flag_k = FK_NARROW(FK_DEC, 24); 2690 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B03C209: mov byte ptr [ecx], al */ 2691 goto L_2B03C216; /* 0x2B03C20B: jmp 0x2b03c216 */ 2692 L_2B03C20D: 2693 PUSH32(esp, ecx); /* 0x2B03C20D: push ecx */ 2694 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03C20E: call 0x2b0ab1ba */ /* not lifted */ 2695 RECOMP_FLAGS_IN(); 2696 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2697 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2698 esp = esp + 4; /* 0x2B03C213: add esp, 4 */ 2699 _flag_k = FK_ADD; 2700 L_2B03C216: 2701 MEM32(esi + 0x10) = 0; /* 0x2B03C216: mov dword ptr [esi + 0x10], 0 */ 2702 MEM32(esi + 0x14) = 0; /* 0x2B03C21D: mov dword ptr [esi + 0x14], 0 */ 2703 MEM32(esi + 0x18) = 0; /* 0x2B03C224: mov dword ptr [esi + 0x18], 0 */ 2704 esi = POP32_VAL(esp); /* 0x2B03C22B: pop esi */ 2705 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03C22C: ret */ 2706 L_2B0B19A9: 2707 ecx = ebp + (-0xB0); /* 0x2B0B19A9: lea ecx, [ebp - 0xb0] */ 2708 RECOMP_BACKEDGE(); 2709 goto L_2B03C1F0; /* 0x2B0B19AF: jmp 0x2b03c1f0 */ 2710 { RECOMP_REGS_OUT(); return; } /* end of function */ 2711 RECOMP_REGS_OUT(); 2712 } 2713 2714 void sub_2B0B19B4(void) { 2715 int _fpu_cmp = 0; 2716 uint32_t _cf = 0; 2717 int _df = 1; 2718 uint32_t _flag_k = FK_NONE; 2719 uint32_t _flag_a = 0, _flag_b = 0; 2720 uint32_t _itail_tgt = 0; 2721 RECOMP_REGS_LOCALS 2722 RECOMP_ENTER(0x2B0B19B4u); 2723 2724 L_2B0B19B4: 2725 ecx = ebp + (-0x38); /* 0x2B0B19B4: lea ecx, [ebp - 0x38] */ 2726 L_2B0B19B7: 2727 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 2728 { RECOMP_REGS_OUT(); return; } /* end of function */ 2729 _ljump: 2730 switch (_itail_tgt) { 2731 case 0x2B0B19B4u: goto L_2B0B19B4; 2732 case 0x2B0B19B7u: goto L_2B0B19B7; 2733 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2734 } 2735 RECOMP_REGS_OUT(); 2736 } 2737 2738 void sub_2B0B19BD(void) { 2739 int _fpu_cmp = 0; 2740 uint32_t _cf = 0; 2741 int _df = 1; 2742 uint32_t _flag_k = FK_NONE; 2743 uint32_t _flag_a = 0, _flag_b = 0; 2744 uint32_t _itail_tgt = 0; 2745 RECOMP_REGS_LOCALS 2746 RECOMP_ENTER(0x2B0B19BDu); 2747 2748 goto L_2B0B19BD; 2749 L_2B075130: 2750 PUSH32(esp, esi); /* 0x2B075130: push esi */ 2751 esi = ecx; /* 0x2B075131: mov esi, ecx */ 2752 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 2753 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 2754 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2755 _cf = 0; 2756 _flag_k = FK_TEST; 2757 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 2758 L_2B07513A: 2759 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 2760 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 2761 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 2762 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2763 _cf = 0; 2764 _flag_k = FK_NARROW(FK_TEST, 24); 2765 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 2766 L_2B075143: 2767 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 2768 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 2769 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2770 _flag_k = FK_NARROW(FK_CMP, 24); 2771 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 2772 L_2B075147: 2773 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 2774 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 2775 _flag_k = FK_NARROW(FK_DEC, 24); 2776 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 2777 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 2778 L_2B07514D: 2779 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 2780 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 2781 RECOMP_FLAGS_IN(); 2782 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2783 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2784 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 2785 _flag_k = FK_ADD; 2786 L_2B075156: 2787 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 2788 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 2789 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 2790 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 2791 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 2792 L_2B0B19BD: 2793 ecx = ebp + (-0x40); /* 0x2B0B19BD: lea ecx, [ebp - 0x40] */ 2794 RECOMP_BACKEDGE(); 2795 goto L_2B075130; /* 0x2B0B19C0: jmp 0x2b075130 */ 2796 { RECOMP_REGS_OUT(); return; } /* end of function */ 2797 RECOMP_REGS_OUT(); 2798 } 2799 2800 void sub_2B0B19C5(void) { 2801 int _fpu_cmp = 0; 2802 uint32_t _cf = 0; 2803 int _df = 1; 2804 uint32_t _flag_k = FK_NONE; 2805 uint32_t _flag_a = 0, _flag_b = 0; 2806 uint32_t _itail_tgt = 0; 2807 RECOMP_REGS_LOCALS 2808 RECOMP_ENTER(0x2B0B19C5u); 2809 2810 goto L_2B0B19C5; 2811 L_2B075130: 2812 PUSH32(esp, esi); /* 0x2B075130: push esi */ 2813 esi = ecx; /* 0x2B075131: mov esi, ecx */ 2814 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 2815 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 2816 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2817 _cf = 0; 2818 _flag_k = FK_TEST; 2819 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 2820 L_2B07513A: 2821 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 2822 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 2823 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 2824 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2825 _cf = 0; 2826 _flag_k = FK_NARROW(FK_TEST, 24); 2827 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 2828 L_2B075143: 2829 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 2830 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 2831 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2832 _flag_k = FK_NARROW(FK_CMP, 24); 2833 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 2834 L_2B075147: 2835 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 2836 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 2837 _flag_k = FK_NARROW(FK_DEC, 24); 2838 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 2839 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 2840 L_2B07514D: 2841 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 2842 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 2843 RECOMP_FLAGS_IN(); 2844 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2845 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2846 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 2847 _flag_k = FK_ADD; 2848 L_2B075156: 2849 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 2850 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 2851 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 2852 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 2853 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 2854 L_2B0B19C5: 2855 ecx = ebp + (-0x74); /* 0x2B0B19C5: lea ecx, [ebp - 0x74] */ 2856 RECOMP_BACKEDGE(); 2857 goto L_2B075130; /* 0x2B0B19C8: jmp 0x2b075130 */ 2858 { RECOMP_REGS_OUT(); return; } /* end of function */ 2859 RECOMP_REGS_OUT(); 2860 } 2861 2862 void sub_2B0B19CD(void) { 2863 int _fpu_cmp = 0; 2864 uint32_t _cf = 0; 2865 int _df = 1; 2866 uint32_t _flag_k = FK_NONE; 2867 uint32_t _flag_a = 0, _flag_b = 0; 2868 uint32_t _itail_tgt = 0; 2869 RECOMP_REGS_LOCALS 2870 RECOMP_ENTER(0x2B0B19CDu); 2871 2872 goto L_2B0B19CD; 2873 L_2B03C1F0: 2874 PUSH32(esp, esi); /* 0x2B03C1F0: push esi */ 2875 esi = ecx; /* 0x2B03C1F1: mov esi, ecx */ 2876 eax = MEM32(esi + 0x10); /* 0x2B03C1F3: mov eax, dword ptr [esi + 0x10] */ 2877 /* test eax, eax */ /* 0x2B03C1F6: test eax, eax */ 2878 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2879 _cf = 0; 2880 _flag_k = FK_TEST; 2881 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C216; /* 0x2B03C1F8: je 0x2b03c216 */ 2882 L_2B03C1FA: 2883 ecx = eax + (-0x1); /* 0x2B03C1FA: lea ecx, [eax - 1] */ 2884 SET_LO8(eax, MEM8(ecx)); /* 0x2B03C1FD: mov al, byte ptr [ecx] */ 2885 /* test LO8(eax), LO8(eax) */ /* 0x2B03C1FF: test al, al */ 2886 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2887 _cf = 0; 2888 _flag_k = FK_NARROW(FK_TEST, 24); 2889 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C20D; /* 0x2B03C201: je 0x2b03c20d */ 2890 L_2B03C203: 2891 /* cmp LO8(eax), 0xFFu */ /* 0x2B03C203: cmp al, 0xff */ 2892 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 2893 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2894 _flag_k = FK_NARROW(FK_CMP, 24); 2895 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C20D; /* 0x2B03C205: je 0x2b03c20d */ 2896 L_2B03C207: 2897 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 2898 SET_LO8(eax, LO8(eax) - 1); /* 0x2B03C207: dec al */ 2899 _flag_k = FK_NARROW(FK_DEC, 24); 2900 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B03C209: mov byte ptr [ecx], al */ 2901 goto L_2B03C216; /* 0x2B03C20B: jmp 0x2b03c216 */ 2902 L_2B03C20D: 2903 PUSH32(esp, ecx); /* 0x2B03C20D: push ecx */ 2904 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03C20E: call 0x2b0ab1ba */ /* not lifted */ 2905 RECOMP_FLAGS_IN(); 2906 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2907 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2908 esp = esp + 4; /* 0x2B03C213: add esp, 4 */ 2909 _flag_k = FK_ADD; 2910 L_2B03C216: 2911 MEM32(esi + 0x10) = 0; /* 0x2B03C216: mov dword ptr [esi + 0x10], 0 */ 2912 MEM32(esi + 0x14) = 0; /* 0x2B03C21D: mov dword ptr [esi + 0x14], 0 */ 2913 MEM32(esi + 0x18) = 0; /* 0x2B03C224: mov dword ptr [esi + 0x18], 0 */ 2914 esi = POP32_VAL(esp); /* 0x2B03C22B: pop esi */ 2915 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03C22C: ret */ 2916 L_2B0B19CD: 2917 ecx = ebp + (-0xB0); /* 0x2B0B19CD: lea ecx, [ebp - 0xb0] */ 2918 RECOMP_BACKEDGE(); 2919 goto L_2B03C1F0; /* 0x2B0B19D3: jmp 0x2b03c1f0 */ 2920 { RECOMP_REGS_OUT(); return; } /* end of function */ 2921 RECOMP_REGS_OUT(); 2922 } 2923 2924 void sub_2B0B19D8(void) { 2925 int _fpu_cmp = 0; 2926 uint32_t _cf = 0; 2927 int _df = 1; 2928 uint32_t _flag_k = FK_NONE; 2929 uint32_t _flag_a = 0, _flag_b = 0; 2930 uint32_t _itail_tgt = 0; 2931 RECOMP_REGS_LOCALS 2932 RECOMP_ENTER(0x2B0B19D8u); 2933 2934 L_2B0B19D8: 2935 ecx = ebp + (-0x38); /* 0x2B0B19D8: lea ecx, [ebp - 0x38] */ 2936 L_2B0B19DB: 2937 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 2938 { RECOMP_REGS_OUT(); return; } /* end of function */ 2939 _ljump: 2940 switch (_itail_tgt) { 2941 case 0x2B0B19D8u: goto L_2B0B19D8; 2942 case 0x2B0B19DBu: goto L_2B0B19DB; 2943 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2944 } 2945 RECOMP_REGS_OUT(); 2946 } 2947 2948 void sub_2B0B19E1(void) { 2949 int _fpu_cmp = 0; 2950 uint32_t _cf = 0; 2951 int _df = 1; 2952 uint32_t _flag_k = FK_NONE; 2953 uint32_t _flag_a = 0, _flag_b = 0; 2954 uint32_t _itail_tgt = 0; 2955 RECOMP_REGS_LOCALS 2956 RECOMP_ENTER(0x2B0B19E1u); 2957 2958 goto L_2B0B19E1; 2959 L_2B075130: 2960 PUSH32(esp, esi); /* 0x2B075130: push esi */ 2961 esi = ecx; /* 0x2B075131: mov esi, ecx */ 2962 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 2963 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 2964 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 2965 _cf = 0; 2966 _flag_k = FK_TEST; 2967 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 2968 L_2B07513A: 2969 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 2970 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 2971 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 2972 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 2973 _cf = 0; 2974 _flag_k = FK_NARROW(FK_TEST, 24); 2975 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 2976 L_2B075143: 2977 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 2978 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 2979 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2980 _flag_k = FK_NARROW(FK_CMP, 24); 2981 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 2982 L_2B075147: 2983 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 2984 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 2985 _flag_k = FK_NARROW(FK_DEC, 24); 2986 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 2987 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 2988 L_2B07514D: 2989 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 2990 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 2991 RECOMP_FLAGS_IN(); 2992 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2993 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2994 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 2995 _flag_k = FK_ADD; 2996 L_2B075156: 2997 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 2998 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 2999 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 3000 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 3001 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 3002 L_2B0B19E1: 3003 ecx = ebp + (-0x40); /* 0x2B0B19E1: lea ecx, [ebp - 0x40] */ 3004 RECOMP_BACKEDGE(); 3005 goto L_2B075130; /* 0x2B0B19E4: jmp 0x2b075130 */ 3006 { RECOMP_REGS_OUT(); return; } /* end of function */ 3007 RECOMP_REGS_OUT(); 3008 } 3009 3010 void sub_2B0B19E9(void) { 3011 int _fpu_cmp = 0; 3012 uint32_t _cf = 0; 3013 int _df = 1; 3014 uint32_t _flag_k = FK_NONE; 3015 uint32_t _flag_a = 0, _flag_b = 0; 3016 uint32_t _itail_tgt = 0; 3017 RECOMP_REGS_LOCALS 3018 RECOMP_ENTER(0x2B0B19E9u); 3019 3020 goto L_2B0B19E9; 3021 L_2B075130: 3022 PUSH32(esp, esi); /* 0x2B075130: push esi */ 3023 esi = ecx; /* 0x2B075131: mov esi, ecx */ 3024 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 3025 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 3026 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3027 _cf = 0; 3028 _flag_k = FK_TEST; 3029 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 3030 L_2B07513A: 3031 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 3032 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 3033 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 3034 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3035 _cf = 0; 3036 _flag_k = FK_NARROW(FK_TEST, 24); 3037 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 3038 L_2B075143: 3039 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 3040 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 3041 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3042 _flag_k = FK_NARROW(FK_CMP, 24); 3043 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 3044 L_2B075147: 3045 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3046 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 3047 _flag_k = FK_NARROW(FK_DEC, 24); 3048 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 3049 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 3050 L_2B07514D: 3051 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 3052 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 3053 RECOMP_FLAGS_IN(); 3054 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3055 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3056 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 3057 _flag_k = FK_ADD; 3058 L_2B075156: 3059 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 3060 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 3061 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 3062 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 3063 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 3064 L_2B0B19E9: 3065 ecx = ebp + (-0x74); /* 0x2B0B19E9: lea ecx, [ebp - 0x74] */ 3066 RECOMP_BACKEDGE(); 3067 goto L_2B075130; /* 0x2B0B19EC: jmp 0x2b075130 */ 3068 { RECOMP_REGS_OUT(); return; } /* end of function */ 3069 RECOMP_REGS_OUT(); 3070 } 3071 3072 void sub_2B0B19F1(void) { 3073 int _fpu_cmp = 0; 3074 uint32_t _cf = 0; 3075 int _df = 1; 3076 uint32_t _flag_k = FK_NONE; 3077 uint32_t _flag_a = 0, _flag_b = 0; 3078 uint32_t _itail_tgt = 0; 3079 RECOMP_REGS_LOCALS 3080 RECOMP_ENTER(0x2B0B19F1u); 3081 3082 goto L_2B0B19F1; 3083 L_2B03C1F0: 3084 PUSH32(esp, esi); /* 0x2B03C1F0: push esi */ 3085 esi = ecx; /* 0x2B03C1F1: mov esi, ecx */ 3086 eax = MEM32(esi + 0x10); /* 0x2B03C1F3: mov eax, dword ptr [esi + 0x10] */ 3087 /* test eax, eax */ /* 0x2B03C1F6: test eax, eax */ 3088 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3089 _cf = 0; 3090 _flag_k = FK_TEST; 3091 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C216; /* 0x2B03C1F8: je 0x2b03c216 */ 3092 L_2B03C1FA: 3093 ecx = eax + (-0x1); /* 0x2B03C1FA: lea ecx, [eax - 1] */ 3094 SET_LO8(eax, MEM8(ecx)); /* 0x2B03C1FD: mov al, byte ptr [ecx] */ 3095 /* test LO8(eax), LO8(eax) */ /* 0x2B03C1FF: test al, al */ 3096 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3097 _cf = 0; 3098 _flag_k = FK_NARROW(FK_TEST, 24); 3099 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C20D; /* 0x2B03C201: je 0x2b03c20d */ 3100 L_2B03C203: 3101 /* cmp LO8(eax), 0xFFu */ /* 0x2B03C203: cmp al, 0xff */ 3102 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 3103 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3104 _flag_k = FK_NARROW(FK_CMP, 24); 3105 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C20D; /* 0x2B03C205: je 0x2b03c20d */ 3106 L_2B03C207: 3107 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3108 SET_LO8(eax, LO8(eax) - 1); /* 0x2B03C207: dec al */ 3109 _flag_k = FK_NARROW(FK_DEC, 24); 3110 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B03C209: mov byte ptr [ecx], al */ 3111 goto L_2B03C216; /* 0x2B03C20B: jmp 0x2b03c216 */ 3112 L_2B03C20D: 3113 PUSH32(esp, ecx); /* 0x2B03C20D: push ecx */ 3114 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03C20E: call 0x2b0ab1ba */ /* not lifted */ 3115 RECOMP_FLAGS_IN(); 3116 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3117 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3118 esp = esp + 4; /* 0x2B03C213: add esp, 4 */ 3119 _flag_k = FK_ADD; 3120 L_2B03C216: 3121 MEM32(esi + 0x10) = 0; /* 0x2B03C216: mov dword ptr [esi + 0x10], 0 */ 3122 MEM32(esi + 0x14) = 0; /* 0x2B03C21D: mov dword ptr [esi + 0x14], 0 */ 3123 MEM32(esi + 0x18) = 0; /* 0x2B03C224: mov dword ptr [esi + 0x18], 0 */ 3124 esi = POP32_VAL(esp); /* 0x2B03C22B: pop esi */ 3125 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03C22C: ret */ 3126 L_2B0B19F1: 3127 ecx = ebp + (-0xB0); /* 0x2B0B19F1: lea ecx, [ebp - 0xb0] */ 3128 RECOMP_BACKEDGE(); 3129 goto L_2B03C1F0; /* 0x2B0B19F7: jmp 0x2b03c1f0 */ 3130 { RECOMP_REGS_OUT(); return; } /* end of function */ 3131 RECOMP_REGS_OUT(); 3132 } 3133 3134 void sub_2B0B19FC(void) { 3135 int _fpu_cmp = 0; 3136 uint32_t _cf = 0; 3137 int _df = 1; 3138 uint32_t _flag_k = FK_NONE; 3139 uint32_t _flag_a = 0, _flag_b = 0; 3140 uint32_t _itail_tgt = 0; 3141 RECOMP_REGS_LOCALS 3142 RECOMP_ENTER(0x2B0B19FCu); 3143 3144 L_2B0B19FC: 3145 ecx = ebp + (-0x38); /* 0x2B0B19FC: lea ecx, [ebp - 0x38] */ 3146 L_2B0B19FF: 3147 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 3148 { RECOMP_REGS_OUT(); return; } /* end of function */ 3149 _ljump: 3150 switch (_itail_tgt) { 3151 case 0x2B0B19FCu: goto L_2B0B19FC; 3152 case 0x2B0B19FFu: goto L_2B0B19FF; 3153 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3154 } 3155 RECOMP_REGS_OUT(); 3156 } 3157 3158 void sub_2B0B1A05(void) { 3159 int _fpu_cmp = 0; 3160 uint32_t _cf = 0; 3161 int _df = 1; 3162 uint32_t _flag_k = FK_NONE; 3163 uint32_t _flag_a = 0, _flag_b = 0; 3164 uint32_t _itail_tgt = 0; 3165 RECOMP_REGS_LOCALS 3166 RECOMP_ENTER(0x2B0B1A05u); 3167 3168 goto L_2B0B1A05; 3169 L_2B075130: 3170 PUSH32(esp, esi); /* 0x2B075130: push esi */ 3171 esi = ecx; /* 0x2B075131: mov esi, ecx */ 3172 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 3173 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 3174 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3175 _cf = 0; 3176 _flag_k = FK_TEST; 3177 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 3178 L_2B07513A: 3179 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 3180 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 3181 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 3182 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3183 _cf = 0; 3184 _flag_k = FK_NARROW(FK_TEST, 24); 3185 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 3186 L_2B075143: 3187 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 3188 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 3189 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3190 _flag_k = FK_NARROW(FK_CMP, 24); 3191 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 3192 L_2B075147: 3193 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3194 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 3195 _flag_k = FK_NARROW(FK_DEC, 24); 3196 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 3197 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 3198 L_2B07514D: 3199 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 3200 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 3201 RECOMP_FLAGS_IN(); 3202 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3203 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3204 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 3205 _flag_k = FK_ADD; 3206 L_2B075156: 3207 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 3208 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 3209 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 3210 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 3211 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 3212 L_2B0B1A05: 3213 ecx = ebp + (-0x40); /* 0x2B0B1A05: lea ecx, [ebp - 0x40] */ 3214 RECOMP_BACKEDGE(); 3215 goto L_2B075130; /* 0x2B0B1A08: jmp 0x2b075130 */ 3216 { RECOMP_REGS_OUT(); return; } /* end of function */ 3217 RECOMP_REGS_OUT(); 3218 } 3219 3220 void sub_2B0B1A0D(void) { 3221 int _fpu_cmp = 0; 3222 uint32_t _cf = 0; 3223 int _df = 1; 3224 uint32_t _flag_k = FK_NONE; 3225 uint32_t _flag_a = 0, _flag_b = 0; 3226 uint32_t _itail_tgt = 0; 3227 RECOMP_REGS_LOCALS 3228 RECOMP_ENTER(0x2B0B1A0Du); 3229 3230 goto L_2B0B1A0D; 3231 L_2B075130: 3232 PUSH32(esp, esi); /* 0x2B075130: push esi */ 3233 esi = ecx; /* 0x2B075131: mov esi, ecx */ 3234 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 3235 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 3236 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3237 _cf = 0; 3238 _flag_k = FK_TEST; 3239 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 3240 L_2B07513A: 3241 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 3242 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 3243 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 3244 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3245 _cf = 0; 3246 _flag_k = FK_NARROW(FK_TEST, 24); 3247 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 3248 L_2B075143: 3249 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 3250 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 3251 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3252 _flag_k = FK_NARROW(FK_CMP, 24); 3253 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 3254 L_2B075147: 3255 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3256 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 3257 _flag_k = FK_NARROW(FK_DEC, 24); 3258 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 3259 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 3260 L_2B07514D: 3261 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 3262 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 3263 RECOMP_FLAGS_IN(); 3264 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3265 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3266 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 3267 _flag_k = FK_ADD; 3268 L_2B075156: 3269 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 3270 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 3271 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 3272 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 3273 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 3274 L_2B0B1A0D: 3275 ecx = ebp + (-0x74); /* 0x2B0B1A0D: lea ecx, [ebp - 0x74] */ 3276 RECOMP_BACKEDGE(); 3277 goto L_2B075130; /* 0x2B0B1A10: jmp 0x2b075130 */ 3278 { RECOMP_REGS_OUT(); return; } /* end of function */ 3279 RECOMP_REGS_OUT(); 3280 } 3281 3282 void sub_2B0B1A15(void) { 3283 int _fpu_cmp = 0; 3284 uint32_t _cf = 0; 3285 int _df = 1; 3286 uint32_t _flag_k = FK_NONE; 3287 uint32_t _flag_a = 0, _flag_b = 0; 3288 uint32_t _itail_tgt = 0; 3289 RECOMP_REGS_LOCALS 3290 RECOMP_ENTER(0x2B0B1A15u); 3291 3292 goto L_2B0B1A15; 3293 L_2B03C1F0: 3294 PUSH32(esp, esi); /* 0x2B03C1F0: push esi */ 3295 esi = ecx; /* 0x2B03C1F1: mov esi, ecx */ 3296 eax = MEM32(esi + 0x10); /* 0x2B03C1F3: mov eax, dword ptr [esi + 0x10] */ 3297 /* test eax, eax */ /* 0x2B03C1F6: test eax, eax */ 3298 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3299 _cf = 0; 3300 _flag_k = FK_TEST; 3301 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C216; /* 0x2B03C1F8: je 0x2b03c216 */ 3302 L_2B03C1FA: 3303 ecx = eax + (-0x1); /* 0x2B03C1FA: lea ecx, [eax - 1] */ 3304 SET_LO8(eax, MEM8(ecx)); /* 0x2B03C1FD: mov al, byte ptr [ecx] */ 3305 /* test LO8(eax), LO8(eax) */ /* 0x2B03C1FF: test al, al */ 3306 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3307 _cf = 0; 3308 _flag_k = FK_NARROW(FK_TEST, 24); 3309 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C20D; /* 0x2B03C201: je 0x2b03c20d */ 3310 L_2B03C203: 3311 /* cmp LO8(eax), 0xFFu */ /* 0x2B03C203: cmp al, 0xff */ 3312 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 3313 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3314 _flag_k = FK_NARROW(FK_CMP, 24); 3315 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C20D; /* 0x2B03C205: je 0x2b03c20d */ 3316 L_2B03C207: 3317 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3318 SET_LO8(eax, LO8(eax) - 1); /* 0x2B03C207: dec al */ 3319 _flag_k = FK_NARROW(FK_DEC, 24); 3320 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B03C209: mov byte ptr [ecx], al */ 3321 goto L_2B03C216; /* 0x2B03C20B: jmp 0x2b03c216 */ 3322 L_2B03C20D: 3323 PUSH32(esp, ecx); /* 0x2B03C20D: push ecx */ 3324 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03C20E: call 0x2b0ab1ba */ /* not lifted */ 3325 RECOMP_FLAGS_IN(); 3326 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3327 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3328 esp = esp + 4; /* 0x2B03C213: add esp, 4 */ 3329 _flag_k = FK_ADD; 3330 L_2B03C216: 3331 MEM32(esi + 0x10) = 0; /* 0x2B03C216: mov dword ptr [esi + 0x10], 0 */ 3332 MEM32(esi + 0x14) = 0; /* 0x2B03C21D: mov dword ptr [esi + 0x14], 0 */ 3333 MEM32(esi + 0x18) = 0; /* 0x2B03C224: mov dword ptr [esi + 0x18], 0 */ 3334 esi = POP32_VAL(esp); /* 0x2B03C22B: pop esi */ 3335 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03C22C: ret */ 3336 L_2B0B1A15: 3337 ecx = ebp + (-0xB0); /* 0x2B0B1A15: lea ecx, [ebp - 0xb0] */ 3338 RECOMP_BACKEDGE(); 3339 goto L_2B03C1F0; /* 0x2B0B1A1B: jmp 0x2b03c1f0 */ 3340 { RECOMP_REGS_OUT(); return; } /* end of function */ 3341 RECOMP_REGS_OUT(); 3342 } 3343 3344 void sub_2B0B1A20(void) { 3345 int _fpu_cmp = 0; 3346 uint32_t _cf = 0; 3347 int _df = 1; 3348 uint32_t _flag_k = FK_NONE; 3349 uint32_t _flag_a = 0, _flag_b = 0; 3350 uint32_t _itail_tgt = 0; 3351 RECOMP_REGS_LOCALS 3352 RECOMP_ENTER(0x2B0B1A20u); 3353 3354 L_2B0B1A20: 3355 ecx = ebp + (-0x38); /* 0x2B0B1A20: lea ecx, [ebp - 0x38] */ 3356 L_2B0B1A23: 3357 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 3358 { RECOMP_REGS_OUT(); return; } /* end of function */ 3359 _ljump: 3360 switch (_itail_tgt) { 3361 case 0x2B0B1A20u: goto L_2B0B1A20; 3362 case 0x2B0B1A23u: goto L_2B0B1A23; 3363 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3364 } 3365 RECOMP_REGS_OUT(); 3366 } 3367 3368 void sub_2B0B1A29(void) { 3369 int _fpu_cmp = 0; 3370 uint32_t _cf = 0; 3371 int _df = 1; 3372 uint32_t _flag_k = FK_NONE; 3373 uint32_t _flag_a = 0, _flag_b = 0; 3374 uint32_t _itail_tgt = 0; 3375 RECOMP_REGS_LOCALS 3376 RECOMP_ENTER(0x2B0B1A29u); 3377 3378 goto L_2B0B1A29; 3379 L_2B075130: 3380 PUSH32(esp, esi); /* 0x2B075130: push esi */ 3381 esi = ecx; /* 0x2B075131: mov esi, ecx */ 3382 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 3383 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 3384 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3385 _cf = 0; 3386 _flag_k = FK_TEST; 3387 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 3388 L_2B07513A: 3389 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 3390 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 3391 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 3392 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3393 _cf = 0; 3394 _flag_k = FK_NARROW(FK_TEST, 24); 3395 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 3396 L_2B075143: 3397 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 3398 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 3399 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3400 _flag_k = FK_NARROW(FK_CMP, 24); 3401 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 3402 L_2B075147: 3403 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3404 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 3405 _flag_k = FK_NARROW(FK_DEC, 24); 3406 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 3407 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 3408 L_2B07514D: 3409 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 3410 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 3411 RECOMP_FLAGS_IN(); 3412 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3413 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3414 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 3415 _flag_k = FK_ADD; 3416 L_2B075156: 3417 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 3418 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 3419 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 3420 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 3421 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 3422 L_2B0B1A29: 3423 ecx = ebp + (-0x40); /* 0x2B0B1A29: lea ecx, [ebp - 0x40] */ 3424 RECOMP_BACKEDGE(); 3425 goto L_2B075130; /* 0x2B0B1A2C: jmp 0x2b075130 */ 3426 { RECOMP_REGS_OUT(); return; } /* end of function */ 3427 RECOMP_REGS_OUT(); 3428 } 3429 3430 void sub_2B0B1A31(void) { 3431 int _fpu_cmp = 0; 3432 uint32_t _cf = 0; 3433 int _df = 1; 3434 uint32_t _flag_k = FK_NONE; 3435 uint32_t _flag_a = 0, _flag_b = 0; 3436 uint32_t _itail_tgt = 0; 3437 RECOMP_REGS_LOCALS 3438 RECOMP_ENTER(0x2B0B1A31u); 3439 3440 goto L_2B0B1A31; 3441 L_2B075130: 3442 PUSH32(esp, esi); /* 0x2B075130: push esi */ 3443 esi = ecx; /* 0x2B075131: mov esi, ecx */ 3444 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 3445 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 3446 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3447 _cf = 0; 3448 _flag_k = FK_TEST; 3449 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 3450 L_2B07513A: 3451 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 3452 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 3453 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 3454 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3455 _cf = 0; 3456 _flag_k = FK_NARROW(FK_TEST, 24); 3457 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 3458 L_2B075143: 3459 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 3460 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 3461 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3462 _flag_k = FK_NARROW(FK_CMP, 24); 3463 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 3464 L_2B075147: 3465 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3466 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 3467 _flag_k = FK_NARROW(FK_DEC, 24); 3468 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 3469 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 3470 L_2B07514D: 3471 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 3472 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 3473 RECOMP_FLAGS_IN(); 3474 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3475 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3476 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 3477 _flag_k = FK_ADD; 3478 L_2B075156: 3479 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 3480 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 3481 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 3482 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 3483 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 3484 L_2B0B1A31: 3485 ecx = ebp + (-0x74); /* 0x2B0B1A31: lea ecx, [ebp - 0x74] */ 3486 RECOMP_BACKEDGE(); 3487 goto L_2B075130; /* 0x2B0B1A34: jmp 0x2b075130 */ 3488 { RECOMP_REGS_OUT(); return; } /* end of function */ 3489 RECOMP_REGS_OUT(); 3490 } 3491 3492 void sub_2B0B1A39(void) { 3493 int _fpu_cmp = 0; 3494 uint32_t _cf = 0; 3495 int _df = 1; 3496 uint32_t _flag_k = FK_NONE; 3497 uint32_t _flag_a = 0, _flag_b = 0; 3498 uint32_t _itail_tgt = 0; 3499 RECOMP_REGS_LOCALS 3500 RECOMP_ENTER(0x2B0B1A39u); 3501 3502 goto L_2B0B1A39; 3503 L_2B03C1F0: 3504 PUSH32(esp, esi); /* 0x2B03C1F0: push esi */ 3505 esi = ecx; /* 0x2B03C1F1: mov esi, ecx */ 3506 eax = MEM32(esi + 0x10); /* 0x2B03C1F3: mov eax, dword ptr [esi + 0x10] */ 3507 /* test eax, eax */ /* 0x2B03C1F6: test eax, eax */ 3508 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3509 _cf = 0; 3510 _flag_k = FK_TEST; 3511 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C216; /* 0x2B03C1F8: je 0x2b03c216 */ 3512 L_2B03C1FA: 3513 ecx = eax + (-0x1); /* 0x2B03C1FA: lea ecx, [eax - 1] */ 3514 SET_LO8(eax, MEM8(ecx)); /* 0x2B03C1FD: mov al, byte ptr [ecx] */ 3515 /* test LO8(eax), LO8(eax) */ /* 0x2B03C1FF: test al, al */ 3516 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3517 _cf = 0; 3518 _flag_k = FK_NARROW(FK_TEST, 24); 3519 if (TEST_Z(_flag_a, _flag_b)) goto L_2B03C20D; /* 0x2B03C201: je 0x2b03c20d */ 3520 L_2B03C203: 3521 /* cmp LO8(eax), 0xFFu */ /* 0x2B03C203: cmp al, 0xff */ 3522 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 3523 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3524 _flag_k = FK_NARROW(FK_CMP, 24); 3525 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B03C20D; /* 0x2B03C205: je 0x2b03c20d */ 3526 L_2B03C207: 3527 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3528 SET_LO8(eax, LO8(eax) - 1); /* 0x2B03C207: dec al */ 3529 _flag_k = FK_NARROW(FK_DEC, 24); 3530 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B03C209: mov byte ptr [ecx], al */ 3531 goto L_2B03C216; /* 0x2B03C20B: jmp 0x2b03c216 */ 3532 L_2B03C20D: 3533 PUSH32(esp, ecx); /* 0x2B03C20D: push ecx */ 3534 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B03C20E: call 0x2b0ab1ba */ /* not lifted */ 3535 RECOMP_FLAGS_IN(); 3536 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3537 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3538 esp = esp + 4; /* 0x2B03C213: add esp, 4 */ 3539 _flag_k = FK_ADD; 3540 L_2B03C216: 3541 MEM32(esi + 0x10) = 0; /* 0x2B03C216: mov dword ptr [esi + 0x10], 0 */ 3542 MEM32(esi + 0x14) = 0; /* 0x2B03C21D: mov dword ptr [esi + 0x14], 0 */ 3543 MEM32(esi + 0x18) = 0; /* 0x2B03C224: mov dword ptr [esi + 0x18], 0 */ 3544 esi = POP32_VAL(esp); /* 0x2B03C22B: pop esi */ 3545 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B03C22C: ret */ 3546 L_2B0B1A39: 3547 ecx = ebp + (-0xB0); /* 0x2B0B1A39: lea ecx, [ebp - 0xb0] */ 3548 RECOMP_BACKEDGE(); 3549 goto L_2B03C1F0; /* 0x2B0B1A3F: jmp 0x2b03c1f0 */ 3550 { RECOMP_REGS_OUT(); return; } /* end of function */ 3551 RECOMP_REGS_OUT(); 3552 } 3553 3554 void sub_2B0B1A44(void) { 3555 int _fpu_cmp = 0; 3556 uint32_t _cf = 0; 3557 int _df = 1; 3558 uint32_t _flag_k = FK_NONE; 3559 uint32_t _flag_a = 0, _flag_b = 0; 3560 uint32_t _itail_tgt = 0; 3561 RECOMP_REGS_LOCALS 3562 RECOMP_ENTER(0x2B0B1A44u); 3563 3564 L_2B0B1A44: 3565 ecx = ebp + (-0x38); /* 0x2B0B1A44: lea ecx, [ebp - 0x38] */ 3566 L_2B0B1A47: 3567 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 3568 { RECOMP_REGS_OUT(); return; } /* end of function */ 3569 _ljump: 3570 switch (_itail_tgt) { 3571 case 0x2B0B1A44u: goto L_2B0B1A44; 3572 case 0x2B0B1A47u: goto L_2B0B1A47; 3573 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3574 } 3575 RECOMP_REGS_OUT(); 3576 } 3577 3578 void sub_2B0B1A4D(void) { 3579 int _fpu_cmp = 0; 3580 uint32_t _cf = 0; 3581 int _df = 1; 3582 uint32_t _flag_k = FK_NONE; 3583 uint32_t _flag_a = 0, _flag_b = 0; 3584 uint32_t _itail_tgt = 0; 3585 RECOMP_REGS_LOCALS 3586 RECOMP_ENTER(0x2B0B1A4Du); 3587 3588 goto L_2B0B1A4D; 3589 L_2B075130: 3590 PUSH32(esp, esi); /* 0x2B075130: push esi */ 3591 esi = ecx; /* 0x2B075131: mov esi, ecx */ 3592 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 3593 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 3594 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3595 _cf = 0; 3596 _flag_k = FK_TEST; 3597 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 3598 L_2B07513A: 3599 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 3600 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 3601 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 3602 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3603 _cf = 0; 3604 _flag_k = FK_NARROW(FK_TEST, 24); 3605 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 3606 L_2B075143: 3607 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 3608 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 3609 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3610 _flag_k = FK_NARROW(FK_CMP, 24); 3611 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 3612 L_2B075147: 3613 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3614 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 3615 _flag_k = FK_NARROW(FK_DEC, 24); 3616 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 3617 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 3618 L_2B07514D: 3619 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 3620 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 3621 RECOMP_FLAGS_IN(); 3622 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3623 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3624 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 3625 _flag_k = FK_ADD; 3626 L_2B075156: 3627 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 3628 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 3629 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 3630 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 3631 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 3632 L_2B0B1A4D: 3633 ecx = ebp + (-0x40); /* 0x2B0B1A4D: lea ecx, [ebp - 0x40] */ 3634 RECOMP_BACKEDGE(); 3635 goto L_2B075130; /* 0x2B0B1A50: jmp 0x2b075130 */ 3636 { RECOMP_REGS_OUT(); return; } /* end of function */ 3637 RECOMP_REGS_OUT(); 3638 } 3639 3640 void sub_2B0B1A55(void) { 3641 int _fpu_cmp = 0; 3642 uint32_t _cf = 0; 3643 int _df = 1; 3644 uint32_t _flag_k = FK_NONE; 3645 uint32_t _flag_a = 0, _flag_b = 0; 3646 uint32_t _itail_tgt = 0; 3647 RECOMP_REGS_LOCALS 3648 RECOMP_ENTER(0x2B0B1A55u); 3649 3650 goto L_2B0B1A55; 3651 L_2B075130: 3652 PUSH32(esp, esi); /* 0x2B075130: push esi */ 3653 esi = ecx; /* 0x2B075131: mov esi, ecx */ 3654 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 3655 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 3656 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3657 _cf = 0; 3658 _flag_k = FK_TEST; 3659 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 3660 L_2B07513A: 3661 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 3662 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 3663 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 3664 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3665 _cf = 0; 3666 _flag_k = FK_NARROW(FK_TEST, 24); 3667 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 3668 L_2B075143: 3669 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 3670 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 3671 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3672 _flag_k = FK_NARROW(FK_CMP, 24); 3673 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 3674 L_2B075147: 3675 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3676 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 3677 _flag_k = FK_NARROW(FK_DEC, 24); 3678 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 3679 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 3680 L_2B07514D: 3681 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 3682 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 3683 RECOMP_FLAGS_IN(); 3684 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3685 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3686 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 3687 _flag_k = FK_ADD; 3688 L_2B075156: 3689 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 3690 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 3691 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 3692 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 3693 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 3694 L_2B0B1A55: 3695 ecx = ebp + (-0x74); /* 0x2B0B1A55: lea ecx, [ebp - 0x74] */ 3696 RECOMP_BACKEDGE(); 3697 goto L_2B075130; /* 0x2B0B1A58: jmp 0x2b075130 */ 3698 { RECOMP_REGS_OUT(); return; } /* end of function */ 3699 RECOMP_REGS_OUT(); 3700 } 3701 3702 void sub_2B0B1A5D(void) { 3703 int _fpu_cmp = 0; 3704 uint32_t _cf = 0; 3705 int _df = 1; 3706 uint32_t _flag_k = FK_NONE; 3707 uint32_t _flag_a = 0, _flag_b = 0; 3708 uint32_t _itail_tgt = 0; 3709 RECOMP_REGS_LOCALS 3710 RECOMP_ENTER(0x2B0B1A5Du); 3711 3712 goto L_2B0B1A5D; 3713 L_2B075130: 3714 PUSH32(esp, esi); /* 0x2B075130: push esi */ 3715 esi = ecx; /* 0x2B075131: mov esi, ecx */ 3716 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 3717 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 3718 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3719 _cf = 0; 3720 _flag_k = FK_TEST; 3721 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 3722 L_2B07513A: 3723 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 3724 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 3725 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 3726 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3727 _cf = 0; 3728 _flag_k = FK_NARROW(FK_TEST, 24); 3729 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 3730 L_2B075143: 3731 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 3732 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 3733 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3734 _flag_k = FK_NARROW(FK_CMP, 24); 3735 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 3736 L_2B075147: 3737 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3738 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 3739 _flag_k = FK_NARROW(FK_DEC, 24); 3740 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 3741 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 3742 L_2B07514D: 3743 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 3744 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 3745 RECOMP_FLAGS_IN(); 3746 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3747 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3748 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 3749 _flag_k = FK_ADD; 3750 L_2B075156: 3751 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 3752 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 3753 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 3754 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 3755 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 3756 L_2B0B1A5D: 3757 ecx = ebp + (-0x74); /* 0x2B0B1A5D: lea ecx, [ebp - 0x74] */ 3758 RECOMP_BACKEDGE(); 3759 goto L_2B075130; /* 0x2B0B1A60: jmp 0x2b075130 */ 3760 { RECOMP_REGS_OUT(); return; } /* end of function */ 3761 RECOMP_REGS_OUT(); 3762 } 3763 3764 void sub_2B0B1A65(void) { 3765 int _fpu_cmp = 0; 3766 uint32_t _cf = 0; 3767 int _df = 1; 3768 uint32_t _flag_k = FK_NONE; 3769 uint32_t _flag_a = 0, _flag_b = 0; 3770 uint32_t _itail_tgt = 0; 3771 RECOMP_REGS_LOCALS 3772 RECOMP_ENTER(0x2B0B1A65u); 3773 3774 goto L_2B0B1A65; 3775 L_2B075130: 3776 PUSH32(esp, esi); /* 0x2B075130: push esi */ 3777 esi = ecx; /* 0x2B075131: mov esi, ecx */ 3778 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 3779 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 3780 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3781 _cf = 0; 3782 _flag_k = FK_TEST; 3783 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 3784 L_2B07513A: 3785 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 3786 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 3787 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 3788 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3789 _cf = 0; 3790 _flag_k = FK_NARROW(FK_TEST, 24); 3791 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 3792 L_2B075143: 3793 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 3794 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 3795 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3796 _flag_k = FK_NARROW(FK_CMP, 24); 3797 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 3798 L_2B075147: 3799 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3800 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 3801 _flag_k = FK_NARROW(FK_DEC, 24); 3802 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 3803 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 3804 L_2B07514D: 3805 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 3806 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 3807 RECOMP_FLAGS_IN(); 3808 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3809 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3810 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 3811 _flag_k = FK_ADD; 3812 L_2B075156: 3813 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 3814 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 3815 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 3816 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 3817 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 3818 L_2B0B1A65: 3819 ecx = ebp + (-0x74); /* 0x2B0B1A65: lea ecx, [ebp - 0x74] */ 3820 RECOMP_BACKEDGE(); 3821 goto L_2B075130; /* 0x2B0B1A68: jmp 0x2b075130 */ 3822 { RECOMP_REGS_OUT(); return; } /* end of function */ 3823 RECOMP_REGS_OUT(); 3824 } 3825 3826 void sub_2B0B1A6D(void) { 3827 int _fpu_cmp = 0; 3828 uint32_t _cf = 0; 3829 int _df = 1; 3830 uint32_t _flag_k = FK_NONE; 3831 uint32_t _flag_a = 0, _flag_b = 0; 3832 uint32_t _itail_tgt = 0; 3833 RECOMP_REGS_LOCALS 3834 RECOMP_ENTER(0x2B0B1A6Du); 3835 3836 goto L_2B0B1A6D; 3837 L_2B075130: 3838 PUSH32(esp, esi); /* 0x2B075130: push esi */ 3839 esi = ecx; /* 0x2B075131: mov esi, ecx */ 3840 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 3841 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 3842 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3843 _cf = 0; 3844 _flag_k = FK_TEST; 3845 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 3846 L_2B07513A: 3847 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 3848 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 3849 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 3850 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3851 _cf = 0; 3852 _flag_k = FK_NARROW(FK_TEST, 24); 3853 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 3854 L_2B075143: 3855 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 3856 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 3857 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3858 _flag_k = FK_NARROW(FK_CMP, 24); 3859 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 3860 L_2B075147: 3861 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3862 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 3863 _flag_k = FK_NARROW(FK_DEC, 24); 3864 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 3865 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 3866 L_2B07514D: 3867 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 3868 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 3869 RECOMP_FLAGS_IN(); 3870 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3871 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3872 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 3873 _flag_k = FK_ADD; 3874 L_2B075156: 3875 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 3876 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 3877 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 3878 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 3879 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 3880 L_2B0B1A6D: 3881 ecx = ebp + (-0x74); /* 0x2B0B1A6D: lea ecx, [ebp - 0x74] */ 3882 RECOMP_BACKEDGE(); 3883 goto L_2B075130; /* 0x2B0B1A70: jmp 0x2b075130 */ 3884 { RECOMP_REGS_OUT(); return; } /* end of function */ 3885 RECOMP_REGS_OUT(); 3886 } 3887 3888 void sub_2B0B1A75(void) { 3889 int _fpu_cmp = 0; 3890 uint32_t _cf = 0; 3891 int _df = 1; 3892 uint32_t _flag_k = FK_NONE; 3893 uint32_t _flag_a = 0, _flag_b = 0; 3894 uint32_t _itail_tgt = 0; 3895 RECOMP_REGS_LOCALS 3896 RECOMP_ENTER(0x2B0B1A75u); 3897 3898 goto L_2B0B1A75; 3899 L_2B075130: 3900 PUSH32(esp, esi); /* 0x2B075130: push esi */ 3901 esi = ecx; /* 0x2B075131: mov esi, ecx */ 3902 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 3903 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 3904 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3905 _cf = 0; 3906 _flag_k = FK_TEST; 3907 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 3908 L_2B07513A: 3909 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 3910 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 3911 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 3912 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3913 _cf = 0; 3914 _flag_k = FK_NARROW(FK_TEST, 24); 3915 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 3916 L_2B075143: 3917 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 3918 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 3919 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3920 _flag_k = FK_NARROW(FK_CMP, 24); 3921 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 3922 L_2B075147: 3923 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3924 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 3925 _flag_k = FK_NARROW(FK_DEC, 24); 3926 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 3927 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 3928 L_2B07514D: 3929 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 3930 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 3931 RECOMP_FLAGS_IN(); 3932 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3933 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3934 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 3935 _flag_k = FK_ADD; 3936 L_2B075156: 3937 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 3938 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 3939 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 3940 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 3941 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 3942 L_2B0B1A75: 3943 ecx = ebp + (-0x74); /* 0x2B0B1A75: lea ecx, [ebp - 0x74] */ 3944 RECOMP_BACKEDGE(); 3945 goto L_2B075130; /* 0x2B0B1A78: jmp 0x2b075130 */ 3946 { RECOMP_REGS_OUT(); return; } /* end of function */ 3947 RECOMP_REGS_OUT(); 3948 } 3949 3950 void sub_2B0B1A7D(void) { 3951 int _fpu_cmp = 0; 3952 uint32_t _cf = 0; 3953 int _df = 1; 3954 uint32_t _flag_k = FK_NONE; 3955 uint32_t _flag_a = 0, _flag_b = 0; 3956 uint32_t _itail_tgt = 0; 3957 RECOMP_REGS_LOCALS 3958 RECOMP_ENTER(0x2B0B1A7Du); 3959 3960 goto L_2B0B1A7D; 3961 L_2B075130: 3962 PUSH32(esp, esi); /* 0x2B075130: push esi */ 3963 esi = ecx; /* 0x2B075131: mov esi, ecx */ 3964 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 3965 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 3966 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 3967 _cf = 0; 3968 _flag_k = FK_TEST; 3969 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 3970 L_2B07513A: 3971 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 3972 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 3973 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 3974 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 3975 _cf = 0; 3976 _flag_k = FK_NARROW(FK_TEST, 24); 3977 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 3978 L_2B075143: 3979 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 3980 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 3981 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3982 _flag_k = FK_NARROW(FK_CMP, 24); 3983 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 3984 L_2B075147: 3985 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3986 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 3987 _flag_k = FK_NARROW(FK_DEC, 24); 3988 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 3989 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 3990 L_2B07514D: 3991 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 3992 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 3993 RECOMP_FLAGS_IN(); 3994 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3995 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3996 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 3997 _flag_k = FK_ADD; 3998 L_2B075156: 3999 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 4000 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 4001 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 4002 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 4003 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 4004 L_2B0B1A7D: 4005 ecx = ebp + (-0x74); /* 0x2B0B1A7D: lea ecx, [ebp - 0x74] */ 4006 RECOMP_BACKEDGE(); 4007 goto L_2B075130; /* 0x2B0B1A80: jmp 0x2b075130 */ 4008 { RECOMP_REGS_OUT(); return; } /* end of function */ 4009 RECOMP_REGS_OUT(); 4010 } 4011 4012 void sub_2B0B1A85(void) { 4013 int _fpu_cmp = 0; 4014 uint32_t _cf = 0; 4015 int _df = 1; 4016 uint32_t _flag_k = FK_NONE; 4017 uint32_t _flag_a = 0, _flag_b = 0; 4018 uint32_t _itail_tgt = 0; 4019 RECOMP_REGS_LOCALS 4020 RECOMP_ENTER(0x2B0B1A85u); 4021 4022 goto L_2B0B1A85; 4023 L_2B075130: 4024 PUSH32(esp, esi); /* 0x2B075130: push esi */ 4025 esi = ecx; /* 0x2B075131: mov esi, ecx */ 4026 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 4027 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 4028 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4029 _cf = 0; 4030 _flag_k = FK_TEST; 4031 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 4032 L_2B07513A: 4033 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 4034 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 4035 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 4036 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4037 _cf = 0; 4038 _flag_k = FK_NARROW(FK_TEST, 24); 4039 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 4040 L_2B075143: 4041 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 4042 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 4043 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4044 _flag_k = FK_NARROW(FK_CMP, 24); 4045 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 4046 L_2B075147: 4047 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4048 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 4049 _flag_k = FK_NARROW(FK_DEC, 24); 4050 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 4051 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 4052 L_2B07514D: 4053 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 4054 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 4055 RECOMP_FLAGS_IN(); 4056 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4057 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4058 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 4059 _flag_k = FK_ADD; 4060 L_2B075156: 4061 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 4062 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 4063 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 4064 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 4065 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 4066 L_2B0B1A85: 4067 ecx = ebp + (-0x74); /* 0x2B0B1A85: lea ecx, [ebp - 0x74] */ 4068 RECOMP_BACKEDGE(); 4069 goto L_2B075130; /* 0x2B0B1A88: jmp 0x2b075130 */ 4070 { RECOMP_REGS_OUT(); return; } /* end of function */ 4071 RECOMP_REGS_OUT(); 4072 } 4073 4074 void sub_2B0B1A8D(void) { 4075 int _fpu_cmp = 0; 4076 uint32_t _cf = 0; 4077 int _df = 1; 4078 uint32_t _flag_k = FK_NONE; 4079 uint32_t _flag_a = 0, _flag_b = 0; 4080 uint32_t _itail_tgt = 0; 4081 RECOMP_REGS_LOCALS 4082 RECOMP_ENTER(0x2B0B1A8Du); 4083 4084 goto L_2B0B1A8D; 4085 L_2B075130: 4086 PUSH32(esp, esi); /* 0x2B075130: push esi */ 4087 esi = ecx; /* 0x2B075131: mov esi, ecx */ 4088 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 4089 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 4090 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4091 _cf = 0; 4092 _flag_k = FK_TEST; 4093 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 4094 L_2B07513A: 4095 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 4096 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 4097 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 4098 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4099 _cf = 0; 4100 _flag_k = FK_NARROW(FK_TEST, 24); 4101 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 4102 L_2B075143: 4103 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 4104 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 4105 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4106 _flag_k = FK_NARROW(FK_CMP, 24); 4107 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 4108 L_2B075147: 4109 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4110 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 4111 _flag_k = FK_NARROW(FK_DEC, 24); 4112 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 4113 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 4114 L_2B07514D: 4115 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 4116 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 4117 RECOMP_FLAGS_IN(); 4118 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4119 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4120 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 4121 _flag_k = FK_ADD; 4122 L_2B075156: 4123 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 4124 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 4125 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 4126 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 4127 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 4128 L_2B0B1A8D: 4129 ecx = ebp + (-0x74); /* 0x2B0B1A8D: lea ecx, [ebp - 0x74] */ 4130 RECOMP_BACKEDGE(); 4131 goto L_2B075130; /* 0x2B0B1A90: jmp 0x2b075130 */ 4132 { RECOMP_REGS_OUT(); return; } /* end of function */ 4133 RECOMP_REGS_OUT(); 4134 } 4135 4136 void sub_2B0B1A95(void) { 4137 int _fpu_cmp = 0; 4138 uint32_t _cf = 0; 4139 int _df = 1; 4140 uint32_t _flag_k = FK_NONE; 4141 uint32_t _flag_a = 0, _flag_b = 0; 4142 uint32_t _itail_tgt = 0; 4143 RECOMP_REGS_LOCALS 4144 RECOMP_ENTER(0x2B0B1A95u); 4145 4146 goto L_2B0B1A95; 4147 L_2B075130: 4148 PUSH32(esp, esi); /* 0x2B075130: push esi */ 4149 esi = ecx; /* 0x2B075131: mov esi, ecx */ 4150 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 4151 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 4152 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4153 _cf = 0; 4154 _flag_k = FK_TEST; 4155 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 4156 L_2B07513A: 4157 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 4158 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 4159 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 4160 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4161 _cf = 0; 4162 _flag_k = FK_NARROW(FK_TEST, 24); 4163 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 4164 L_2B075143: 4165 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 4166 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 4167 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4168 _flag_k = FK_NARROW(FK_CMP, 24); 4169 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 4170 L_2B075147: 4171 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4172 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 4173 _flag_k = FK_NARROW(FK_DEC, 24); 4174 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 4175 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 4176 L_2B07514D: 4177 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 4178 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 4179 RECOMP_FLAGS_IN(); 4180 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4181 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4182 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 4183 _flag_k = FK_ADD; 4184 L_2B075156: 4185 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 4186 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 4187 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 4188 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 4189 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 4190 L_2B0B1A95: 4191 ecx = ebp + (-0x74); /* 0x2B0B1A95: lea ecx, [ebp - 0x74] */ 4192 RECOMP_BACKEDGE(); 4193 goto L_2B075130; /* 0x2B0B1A98: jmp 0x2b075130 */ 4194 { RECOMP_REGS_OUT(); return; } /* end of function */ 4195 RECOMP_REGS_OUT(); 4196 } 4197 4198 void sub_2B0B1A9D(void) { 4199 int _fpu_cmp = 0; 4200 uint32_t _cf = 0; 4201 int _df = 1; 4202 uint32_t _flag_k = FK_NONE; 4203 uint32_t _flag_a = 0, _flag_b = 0; 4204 uint32_t _itail_tgt = 0; 4205 RECOMP_REGS_LOCALS 4206 RECOMP_ENTER(0x2B0B1A9Du); 4207 4208 goto L_2B0B1A9D; 4209 L_2B075130: 4210 PUSH32(esp, esi); /* 0x2B075130: push esi */ 4211 esi = ecx; /* 0x2B075131: mov esi, ecx */ 4212 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 4213 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 4214 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4215 _cf = 0; 4216 _flag_k = FK_TEST; 4217 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 4218 L_2B07513A: 4219 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 4220 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 4221 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 4222 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4223 _cf = 0; 4224 _flag_k = FK_NARROW(FK_TEST, 24); 4225 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 4226 L_2B075143: 4227 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 4228 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 4229 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4230 _flag_k = FK_NARROW(FK_CMP, 24); 4231 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 4232 L_2B075147: 4233 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4234 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 4235 _flag_k = FK_NARROW(FK_DEC, 24); 4236 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 4237 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 4238 L_2B07514D: 4239 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 4240 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 4241 RECOMP_FLAGS_IN(); 4242 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4243 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4244 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 4245 _flag_k = FK_ADD; 4246 L_2B075156: 4247 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 4248 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 4249 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 4250 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 4251 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 4252 L_2B0B1A9D: 4253 ecx = ebp + (-0x74); /* 0x2B0B1A9D: lea ecx, [ebp - 0x74] */ 4254 RECOMP_BACKEDGE(); 4255 goto L_2B075130; /* 0x2B0B1AA0: jmp 0x2b075130 */ 4256 { RECOMP_REGS_OUT(); return; } /* end of function */ 4257 RECOMP_REGS_OUT(); 4258 } 4259 4260 void sub_2B0B1AA5(void) { 4261 int _fpu_cmp = 0; 4262 uint32_t _cf = 0; 4263 int _df = 1; 4264 uint32_t _flag_k = FK_NONE; 4265 uint32_t _flag_a = 0, _flag_b = 0; 4266 uint32_t _itail_tgt = 0; 4267 RECOMP_REGS_LOCALS 4268 RECOMP_ENTER(0x2B0B1AA5u); 4269 4270 goto L_2B0B1AA5; 4271 L_2B075130: 4272 PUSH32(esp, esi); /* 0x2B075130: push esi */ 4273 esi = ecx; /* 0x2B075131: mov esi, ecx */ 4274 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 4275 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 4276 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4277 _cf = 0; 4278 _flag_k = FK_TEST; 4279 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 4280 L_2B07513A: 4281 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 4282 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 4283 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 4284 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4285 _cf = 0; 4286 _flag_k = FK_NARROW(FK_TEST, 24); 4287 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 4288 L_2B075143: 4289 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 4290 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 4291 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4292 _flag_k = FK_NARROW(FK_CMP, 24); 4293 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 4294 L_2B075147: 4295 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4296 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 4297 _flag_k = FK_NARROW(FK_DEC, 24); 4298 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 4299 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 4300 L_2B07514D: 4301 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 4302 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 4303 RECOMP_FLAGS_IN(); 4304 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4305 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4306 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 4307 _flag_k = FK_ADD; 4308 L_2B075156: 4309 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 4310 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 4311 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 4312 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 4313 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 4314 L_2B0B1AA5: 4315 ecx = ebp + (-0x74); /* 0x2B0B1AA5: lea ecx, [ebp - 0x74] */ 4316 RECOMP_BACKEDGE(); 4317 goto L_2B075130; /* 0x2B0B1AA8: jmp 0x2b075130 */ 4318 { RECOMP_REGS_OUT(); return; } /* end of function */ 4319 RECOMP_REGS_OUT(); 4320 } 4321 4322 void sub_2B0B1AAD(void) { 4323 int _fpu_cmp = 0; 4324 uint32_t _cf = 0; 4325 int _df = 1; 4326 uint32_t _flag_k = FK_NONE; 4327 uint32_t _flag_a = 0, _flag_b = 0; 4328 uint32_t _itail_tgt = 0; 4329 RECOMP_REGS_LOCALS 4330 RECOMP_ENTER(0x2B0B1AADu); 4331 4332 goto L_2B0B1AAD; 4333 L_2B075130: 4334 PUSH32(esp, esi); /* 0x2B075130: push esi */ 4335 esi = ecx; /* 0x2B075131: mov esi, ecx */ 4336 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 4337 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 4338 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4339 _cf = 0; 4340 _flag_k = FK_TEST; 4341 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 4342 L_2B07513A: 4343 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 4344 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 4345 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 4346 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4347 _cf = 0; 4348 _flag_k = FK_NARROW(FK_TEST, 24); 4349 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 4350 L_2B075143: 4351 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 4352 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 4353 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4354 _flag_k = FK_NARROW(FK_CMP, 24); 4355 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 4356 L_2B075147: 4357 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4358 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 4359 _flag_k = FK_NARROW(FK_DEC, 24); 4360 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 4361 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 4362 L_2B07514D: 4363 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 4364 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 4365 RECOMP_FLAGS_IN(); 4366 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4367 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4368 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 4369 _flag_k = FK_ADD; 4370 L_2B075156: 4371 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 4372 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 4373 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 4374 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 4375 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 4376 L_2B0B1AAD: 4377 ecx = ebp + (-0x74); /* 0x2B0B1AAD: lea ecx, [ebp - 0x74] */ 4378 RECOMP_BACKEDGE(); 4379 goto L_2B075130; /* 0x2B0B1AB0: jmp 0x2b075130 */ 4380 { RECOMP_REGS_OUT(); return; } /* end of function */ 4381 RECOMP_REGS_OUT(); 4382 } 4383 4384 void sub_2B0B1AB5(void) { 4385 int _fpu_cmp = 0; 4386 uint32_t _cf = 0; 4387 int _df = 1; 4388 uint32_t _flag_k = FK_NONE; 4389 uint32_t _flag_a = 0, _flag_b = 0; 4390 uint32_t _itail_tgt = 0; 4391 RECOMP_REGS_LOCALS 4392 RECOMP_ENTER(0x2B0B1AB5u); 4393 4394 goto L_2B0B1AB5; 4395 L_2B075130: 4396 PUSH32(esp, esi); /* 0x2B075130: push esi */ 4397 esi = ecx; /* 0x2B075131: mov esi, ecx */ 4398 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 4399 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 4400 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4401 _cf = 0; 4402 _flag_k = FK_TEST; 4403 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 4404 L_2B07513A: 4405 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 4406 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 4407 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 4408 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4409 _cf = 0; 4410 _flag_k = FK_NARROW(FK_TEST, 24); 4411 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 4412 L_2B075143: 4413 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 4414 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 4415 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4416 _flag_k = FK_NARROW(FK_CMP, 24); 4417 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 4418 L_2B075147: 4419 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4420 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 4421 _flag_k = FK_NARROW(FK_DEC, 24); 4422 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 4423 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 4424 L_2B07514D: 4425 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 4426 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 4427 RECOMP_FLAGS_IN(); 4428 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4429 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4430 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 4431 _flag_k = FK_ADD; 4432 L_2B075156: 4433 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 4434 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 4435 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 4436 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 4437 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 4438 L_2B0B1AB5: 4439 ecx = ebp + (-0x74); /* 0x2B0B1AB5: lea ecx, [ebp - 0x74] */ 4440 RECOMP_BACKEDGE(); 4441 goto L_2B075130; /* 0x2B0B1AB8: jmp 0x2b075130 */ 4442 { RECOMP_REGS_OUT(); return; } /* end of function */ 4443 RECOMP_REGS_OUT(); 4444 } 4445 4446 void sub_2B0B1ABD(void) { 4447 int _fpu_cmp = 0; 4448 uint32_t _cf = 0; 4449 int _df = 1; 4450 uint32_t _flag_k = FK_NONE; 4451 uint32_t _flag_a = 0, _flag_b = 0; 4452 uint32_t _itail_tgt = 0; 4453 RECOMP_REGS_LOCALS 4454 RECOMP_ENTER(0x2B0B1ABDu); 4455 4456 goto L_2B0B1ABD; 4457 L_2B075130: 4458 PUSH32(esp, esi); /* 0x2B075130: push esi */ 4459 esi = ecx; /* 0x2B075131: mov esi, ecx */ 4460 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 4461 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 4462 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4463 _cf = 0; 4464 _flag_k = FK_TEST; 4465 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 4466 L_2B07513A: 4467 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 4468 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 4469 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 4470 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4471 _cf = 0; 4472 _flag_k = FK_NARROW(FK_TEST, 24); 4473 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 4474 L_2B075143: 4475 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 4476 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 4477 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4478 _flag_k = FK_NARROW(FK_CMP, 24); 4479 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 4480 L_2B075147: 4481 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4482 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 4483 _flag_k = FK_NARROW(FK_DEC, 24); 4484 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 4485 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 4486 L_2B07514D: 4487 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 4488 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 4489 RECOMP_FLAGS_IN(); 4490 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4491 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4492 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 4493 _flag_k = FK_ADD; 4494 L_2B075156: 4495 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 4496 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 4497 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 4498 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 4499 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 4500 L_2B0B1ABD: 4501 ecx = ebp + (-0x74); /* 0x2B0B1ABD: lea ecx, [ebp - 0x74] */ 4502 RECOMP_BACKEDGE(); 4503 goto L_2B075130; /* 0x2B0B1AC0: jmp 0x2b075130 */ 4504 { RECOMP_REGS_OUT(); return; } /* end of function */ 4505 RECOMP_REGS_OUT(); 4506 } 4507 4508 void sub_2B0B1AC5(void) { 4509 int _fpu_cmp = 0; 4510 uint32_t _cf = 0; 4511 int _df = 1; 4512 uint32_t _flag_k = FK_NONE; 4513 uint32_t _flag_a = 0, _flag_b = 0; 4514 uint32_t _itail_tgt = 0; 4515 RECOMP_REGS_LOCALS 4516 RECOMP_ENTER(0x2B0B1AC5u); 4517 4518 goto L_2B0B1AC5; 4519 L_2B075130: 4520 PUSH32(esp, esi); /* 0x2B075130: push esi */ 4521 esi = ecx; /* 0x2B075131: mov esi, ecx */ 4522 eax = MEM32(esi + 0xC); /* 0x2B075133: mov eax, dword ptr [esi + 0xc] */ 4523 /* test eax, eax */ /* 0x2B075136: test eax, eax */ 4524 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 4525 _cf = 0; 4526 _flag_k = FK_TEST; 4527 if (TEST_Z(_flag_a, _flag_b)) goto L_2B075156; /* 0x2B075138: je 0x2b075156 */ 4528 L_2B07513A: 4529 ecx = eax + (-0x1); /* 0x2B07513A: lea ecx, [eax - 1] */ 4530 SET_LO8(eax, MEM8(ecx)); /* 0x2B07513D: mov al, byte ptr [ecx] */ 4531 /* test LO8(eax), LO8(eax) */ /* 0x2B07513F: test al, al */ 4532 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 4533 _cf = 0; 4534 _flag_k = FK_NARROW(FK_TEST, 24); 4535 if (TEST_Z(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075141: je 0x2b07514d */ 4536 L_2B075143: 4537 /* cmp LO8(eax), 0xFFu */ /* 0x2B075143: cmp al, 0xff */ 4538 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 4539 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4540 _flag_k = FK_NARROW(FK_CMP, 24); 4541 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B07514D; /* 0x2B075145: je 0x2b07514d */ 4542 L_2B075147: 4543 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 4544 SET_LO8(eax, LO8(eax) - 1); /* 0x2B075147: dec al */ 4545 _flag_k = FK_NARROW(FK_DEC, 24); 4546 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B075149: mov byte ptr [ecx], al */ 4547 goto L_2B075156; /* 0x2B07514B: jmp 0x2b075156 */ 4548 L_2B07514D: 4549 PUSH32(esp, ecx); /* 0x2B07514D: push ecx */ 4550 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B07514E: call 0x2b0ab1ba */ /* not lifted */ 4551 RECOMP_FLAGS_IN(); 4552 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4553 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4554 esp = esp + 4; /* 0x2B075153: add esp, 4 */ 4555 _flag_k = FK_ADD; 4556 L_2B075156: 4557 MEM32(esi + 0xC) = 0; /* 0x2B075156: mov dword ptr [esi + 0xc], 0 */ 4558 MEM32(esi + 0x10) = 0; /* 0x2B07515D: mov dword ptr [esi + 0x10], 0 */ 4559 MEM32(esi + 0x14) = 0; /* 0x2B075164: mov dword ptr [esi + 0x14], 0 */ 4560 esi = POP32_VAL(esp); /* 0x2B07516B: pop esi */ 4561 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B07516C: ret */ 4562 L_2B0B1AC5: 4563 ecx = ebp + (-0x74); /* 0x2B0B1AC5: lea ecx, [ebp - 0x74] */ 4564 RECOMP_BACKEDGE(); 4565 goto L_2B075130; /* 0x2B0B1AC8: jmp 0x2b075130 */ 4566 { RECOMP_REGS_OUT(); return; } /* end of function */ 4567 RECOMP_REGS_OUT(); 4568 } 4569 4570 void sub_2B0B1ACD(void) { 4571 int _fpu_cmp = 0; 4572 uint32_t _cf = 0; 4573 int _df = 1; 4574 uint32_t _flag_k = FK_NONE; 4575 uint32_t _flag_a = 0, _flag_b = 0; 4576 uint32_t _itail_tgt = 0; 4577 RECOMP_REGS_LOCALS 4578 RECOMP_ENTER(0x2B0B1ACDu); 4579 4580 L_2B0B1ACD: 4581 eax = MEM32(ebp + (-0x14)); /* 0x2B0B1ACD: mov eax, dword ptr [ebp - 0x14] */ 4582 PUSH32(esp, eax); /* 0x2B0B1AD0: push eax */ 4583 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B1AD1: call 0x2b0ab1ba */ /* not lifted */ 4584 RECOMP_FLAGS_IN(); 4585 ecx = POP32_VAL(esp); /* 0x2B0B1AD6: pop ecx */ 4586 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B1AD7: ret */ 4587 RECOMP_REGS_OUT(); 4588 } 4589 4590 void sub_2B0B1AD8(void) { 4591 int _fpu_cmp = 0; 4592 uint32_t _cf = 0; 4593 int _df = 1; 4594 uint32_t _flag_k = FK_NONE; 4595 uint32_t _flag_a = 0, _flag_b = 0; 4596 uint32_t _itail_tgt = 0; 4597 RECOMP_REGS_LOCALS 4598 RECOMP_ENTER(0x2B0B1AD8u); 4599 4600 L_2B0B1AD8: 4601 eax = MEM32(ebp + (-0x14)); /* 0x2B0B1AD8: mov eax, dword ptr [ebp - 0x14] */ 4602 PUSH32(esp, eax); /* 0x2B0B1ADB: push eax */ 4603 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B1ADC: call 0x2b0ab1ba */ /* not lifted */ 4604 RECOMP_FLAGS_IN(); 4605 ecx = POP32_VAL(esp); /* 0x2B0B1AE1: pop ecx */ 4606 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B1AE2: ret */ 4607 RECOMP_REGS_OUT(); 4608 } 4609 4610 void sub_2B0B1AE3(void) { 4611 int _fpu_cmp = 0; 4612 uint32_t _cf = 0; 4613 int _df = 1; 4614 uint32_t _flag_k = FK_NONE; 4615 uint32_t _flag_a = 0, _flag_b = 0; 4616 uint32_t _itail_tgt = 0; 4617 RECOMP_REGS_LOCALS 4618 RECOMP_ENTER(0x2B0B1AE3u); 4619 4620 L_2B0B1AE3: 4621 eax = MEM32(ebp + (-0x14)); /* 0x2B0B1AE3: mov eax, dword ptr [ebp - 0x14] */ 4622 PUSH32(esp, eax); /* 0x2B0B1AE6: push eax */ 4623 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B1AE7: call 0x2b0ab1ba */ /* not lifted */ 4624 RECOMP_FLAGS_IN(); 4625 ecx = POP32_VAL(esp); /* 0x2B0B1AEC: pop ecx */ 4626 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B1AED: ret */ 4627 RECOMP_REGS_OUT(); 4628 } 4629 4630 void sub_2B0B1AEE(void) { 4631 int _fpu_cmp = 0; 4632 uint32_t _cf = 0; 4633 int _df = 1; 4634 uint32_t _flag_k = FK_NONE; 4635 uint32_t _flag_a = 0, _flag_b = 0; 4636 uint32_t _itail_tgt = 0; 4637 RECOMP_REGS_LOCALS 4638 RECOMP_ENTER(0x2B0B1AEEu); 4639 4640 L_2B0B1AEE: 4641 eax = MEM32(ebp + (-0x14)); /* 0x2B0B1AEE: mov eax, dword ptr [ebp - 0x14] */ 4642 PUSH32(esp, eax); /* 0x2B0B1AF1: push eax */ 4643 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B1AF2: call 0x2b0ab1ba */ /* not lifted */ 4644 RECOMP_FLAGS_IN(); 4645 ecx = POP32_VAL(esp); /* 0x2B0B1AF7: pop ecx */ 4646 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B1AF8: ret */ 4647 RECOMP_REGS_OUT(); 4648 } 4649 4650 void sub_2B0B1AF9(void) { 4651 int _fpu_cmp = 0; 4652 uint32_t _cf = 0; 4653 int _df = 1; 4654 uint32_t _flag_k = FK_NONE; 4655 uint32_t _flag_a = 0, _flag_b = 0; 4656 uint32_t _itail_tgt = 0; 4657 RECOMP_REGS_LOCALS 4658 RECOMP_ENTER(0x2B0B1AF9u); 4659 4660 L_2B0B1AF9: 4661 eax = MEM32(ebp + (-0x14)); /* 0x2B0B1AF9: mov eax, dword ptr [ebp - 0x14] */ 4662 PUSH32(esp, eax); /* 0x2B0B1AFC: push eax */ 4663 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B1AFD: call 0x2b0ab1ba */ /* not lifted */ 4664 RECOMP_FLAGS_IN(); 4665 ecx = POP32_VAL(esp); /* 0x2B0B1B02: pop ecx */ 4666 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B1B03: ret */ 4667 RECOMP_REGS_OUT(); 4668 } 4669 4670 void sub_2B0B1B04(void) { 4671 int _fpu_cmp = 0; 4672 uint32_t _cf = 0; 4673 int _df = 1; 4674 uint32_t _flag_k = FK_NONE; 4675 uint32_t _flag_a = 0, _flag_b = 0; 4676 uint32_t _itail_tgt = 0; 4677 RECOMP_REGS_LOCALS 4678 RECOMP_ENTER(0x2B0B1B04u); 4679 4680 L_2B0B1B04: 4681 eax = MEM32(ebp + (-0x14)); /* 0x2B0B1B04: mov eax, dword ptr [ebp - 0x14] */ 4682 PUSH32(esp, eax); /* 0x2B0B1B07: push eax */ 4683 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B1B08: call 0x2b0ab1ba */ /* not lifted */ 4684 RECOMP_FLAGS_IN(); 4685 ecx = POP32_VAL(esp); /* 0x2B0B1B0D: pop ecx */ 4686 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B1B0E: ret */ 4687 RECOMP_REGS_OUT(); 4688 } 4689 4690 void sub_2B0B1B0F(void) { 4691 int _fpu_cmp = 0; 4692 uint32_t _cf = 0; 4693 int _df = 1; 4694 uint32_t _flag_k = FK_NONE; 4695 uint32_t _flag_a = 0, _flag_b = 0; 4696 uint32_t _itail_tgt = 0; 4697 RECOMP_REGS_LOCALS 4698 RECOMP_ENTER(0x2B0B1B0Fu); 4699 4700 L_2B0B1B0F: 4701 eax = MEM32(ebp + (-0x14)); /* 0x2B0B1B0F: mov eax, dword ptr [ebp - 0x14] */ 4702 PUSH32(esp, eax); /* 0x2B0B1B12: push eax */ 4703 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B1B13: call 0x2b0ab1ba */ /* not lifted */ 4704 RECOMP_FLAGS_IN(); 4705 ecx = POP32_VAL(esp); /* 0x2B0B1B18: pop ecx */ 4706 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B1B19: ret */ 4707 RECOMP_REGS_OUT(); 4708 } 4709 4710 void sub_2B0B1B1A(void) { 4711 int _fpu_cmp = 0; 4712 uint32_t _cf = 0; 4713 int _df = 1; 4714 uint32_t _flag_k = FK_NONE; 4715 uint32_t _flag_a = 0, _flag_b = 0; 4716 uint32_t _itail_tgt = 0; 4717 RECOMP_REGS_LOCALS 4718 RECOMP_ENTER(0x2B0B1B1Au); 4719 4720 L_2B0B1B1A: 4721 eax = MEM32(ebp + (-0x14)); /* 0x2B0B1B1A: mov eax, dword ptr [ebp - 0x14] */ 4722 PUSH32(esp, eax); /* 0x2B0B1B1D: push eax */ 4723 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B1B1E: call 0x2b0ab1ba */ /* not lifted */ 4724 RECOMP_FLAGS_IN(); 4725 ecx = POP32_VAL(esp); /* 0x2B0B1B23: pop ecx */ 4726 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B1B24: ret */ 4727 RECOMP_REGS_OUT(); 4728 } 4729 4730 void sub_2B0B1B25(void) { 4731 int _fpu_cmp = 0; 4732 uint32_t _cf = 0; 4733 int _df = 1; 4734 uint32_t _flag_k = FK_NONE; 4735 uint32_t _flag_a = 0, _flag_b = 0; 4736 uint32_t _itail_tgt = 0; 4737 RECOMP_REGS_LOCALS 4738 RECOMP_ENTER(0x2B0B1B25u); 4739 4740 L_2B0B1B25: 4741 eax = MEM32(ebp + (-0x14)); /* 0x2B0B1B25: mov eax, dword ptr [ebp - 0x14] */ 4742 PUSH32(esp, eax); /* 0x2B0B1B28: push eax */ 4743 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B1B29: call 0x2b0ab1ba */ /* not lifted */ 4744 RECOMP_FLAGS_IN(); 4745 ecx = POP32_VAL(esp); /* 0x2B0B1B2E: pop ecx */ 4746 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B1B2F: ret */ 4747 RECOMP_REGS_OUT(); 4748 } 4749 4750 void sub_2B0B1B30(void) { 4751 int _fpu_cmp = 0; 4752 uint32_t _cf = 0; 4753 int _df = 1; 4754 uint32_t _flag_k = FK_NONE; 4755 uint32_t _flag_a = 0, _flag_b = 0; 4756 uint32_t _itail_tgt = 0; 4757 RECOMP_REGS_LOCALS 4758 RECOMP_ENTER(0x2B0B1B30u); 4759 4760 L_2B0B1B30: 4761 eax = MEM32(ebp + (-0x14)); /* 0x2B0B1B30: mov eax, dword ptr [ebp - 0x14] */ 4762 PUSH32(esp, eax); /* 0x2B0B1B33: push eax */ 4763 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B1B34: call 0x2b0ab1ba */ /* not lifted */ 4764 RECOMP_FLAGS_IN(); 4765 ecx = POP32_VAL(esp); /* 0x2B0B1B39: pop ecx */ 4766 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B1B3A: ret */ 4767 RECOMP_REGS_OUT(); 4768 } 4769 4770 void sub_2B0B1B3B(void) { 4771 int _fpu_cmp = 0; 4772 uint32_t _cf = 0; 4773 int _df = 1; 4774 uint32_t _flag_k = FK_NONE; 4775 uint32_t _flag_a = 0, _flag_b = 0; 4776 uint32_t _itail_tgt = 0; 4777 RECOMP_REGS_LOCALS 4778 RECOMP_ENTER(0x2B0B1B3Bu); 4779 4780 L_2B0B1B3B: 4781 eax = MEM32(ebp + (-0x14)); /* 0x2B0B1B3B: mov eax, dword ptr [ebp - 0x14] */ 4782 PUSH32(esp, eax); /* 0x2B0B1B3E: push eax */ 4783 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B1B3F: call 0x2b0ab1ba */ /* not lifted */ 4784 RECOMP_FLAGS_IN(); 4785 ecx = POP32_VAL(esp); /* 0x2B0B1B44: pop ecx */ 4786 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B1B45: ret */ 4787 RECOMP_REGS_OUT(); 4788 } 4789 4790 void sub_2B0B1B46(void) { 4791 int _fpu_cmp = 0; 4792 uint32_t _cf = 0; 4793 int _df = 1; 4794 uint32_t _flag_k = FK_NONE; 4795 uint32_t _flag_a = 0, _flag_b = 0; 4796 uint32_t _itail_tgt = 0; 4797 RECOMP_REGS_LOCALS 4798 RECOMP_ENTER(0x2B0B1B46u); 4799 4800 L_2B0B1B46: 4801 eax = MEM32(ebp + (-0x14)); /* 0x2B0B1B46: mov eax, dword ptr [ebp - 0x14] */ 4802 PUSH32(esp, eax); /* 0x2B0B1B49: push eax */ 4803 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B1B4A: call 0x2b0ab1ba */ /* not lifted */ 4804 RECOMP_FLAGS_IN(); 4805 ecx = POP32_VAL(esp); /* 0x2B0B1B4F: pop ecx */ 4806 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B1B50: ret */ 4807 RECOMP_REGS_OUT(); 4808 } 4809 4810 void sub_2B0B1B51(void) { 4811 int _fpu_cmp = 0; 4812 uint32_t _cf = 0; 4813 int _df = 1; 4814 uint32_t _flag_k = FK_NONE; 4815 uint32_t _flag_a = 0, _flag_b = 0; 4816 uint32_t _itail_tgt = 0; 4817 RECOMP_REGS_LOCALS 4818 RECOMP_ENTER(0x2B0B1B51u); 4819 4820 L_2B0B1B51: 4821 ecx = ebp + (-0xFC); /* 0x2B0B1B51: lea ecx, [ebp - 0xfc] */ 4822 L_2B0B1B57: 4823 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 4824 { RECOMP_REGS_OUT(); return; } /* end of function */ 4825 _ljump: 4826 switch (_itail_tgt) { 4827 case 0x2B0B1B51u: goto L_2B0B1B51; 4828 case 0x2B0B1B57u: goto L_2B0B1B57; 4829 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 4830 } 4831 RECOMP_REGS_OUT(); 4832 } 4833 4834 void sub_2B0B1B5D(void) { 4835 int _fpu_cmp = 0; 4836 uint32_t _cf = 0; 4837 int _df = 1; 4838 uint32_t _flag_k = FK_NONE; 4839 uint32_t _flag_a = 0, _flag_b = 0; 4840 uint32_t _itail_tgt = 0; 4841 RECOMP_REGS_LOCALS 4842 RECOMP_ENTER(0x2B0B1B5Du); 4843 4844 goto L_2B0B1B5D; 4845 L_2B0AB218: 4846 { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; } 4847 L_2B0B1B5D: 4848 eax = 0x2B0BEAB0u; /* 0x2B0B1B5D: mov eax, 0x2b0beab0 */ 4849 L_2B0B1B62: 4850 RECOMP_BACKEDGE(); 4851 goto L_2B0AB218; /* 0x2B0B1B62: jmp 0x2b0ab218 */ 4852 { RECOMP_REGS_OUT(); return; } /* end of function */ 4853 _ljump: 4854 switch (_itail_tgt) { 4855 case 0x2B0AB218u: goto L_2B0AB218; 4856 case 0x2B0B1B5Du: goto L_2B0B1B5D; 4857 case 0x2B0B1B62u: goto L_2B0B1B62; 4858 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 4859 } 4860 RECOMP_REGS_OUT(); 4861 } 4862 4863 void sub_2B0B1B70(void) { 4864 int _fpu_cmp = 0; 4865 uint32_t _cf = 0; 4866 int _df = 1; 4867 uint32_t _flag_k = FK_NONE; 4868 uint32_t _flag_a = 0, _flag_b = 0; 4869 uint32_t _itail_tgt = 0; 4870 RECOMP_REGS_LOCALS 4871 RECOMP_ENTER(0x2B0B1B70u); 4872 4873 L_2B0B1B70: 4874 ecx = MEM32(ebp + (-0x10)); /* 0x2B0B1B70: mov ecx, dword ptr [ebp - 0x10] */ 4875 L_2B0B1B73: 4876 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(8); 4877 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4878 ecx = ecx + 8; /* 0x2B0B1B73: add ecx, 8 */ 4879 _flag_k = FK_ADD; 4880 L_2B0B1B76: 4881 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 4882 { RECOMP_REGS_OUT(); return; } /* end of function */ 4883 _ljump: 4884 switch (_itail_tgt) { 4885 case 0x2B0B1B70u: goto L_2B0B1B70; 4886 case 0x2B0B1B73u: goto L_2B0B1B73; 4887 case 0x2B0B1B76u: goto L_2B0B1B76; 4888 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 4889 } 4890 RECOMP_REGS_OUT(); 4891 } 4892 4893 void sub_2B0B1B7C(void) { 4894 int _fpu_cmp = 0; 4895 uint32_t _cf = 0; 4896 int _df = 1; 4897 uint32_t _flag_k = FK_NONE; 4898 uint32_t _flag_a = 0, _flag_b = 0; 4899 uint32_t _itail_tgt = 0; 4900 RECOMP_REGS_LOCALS 4901 RECOMP_ENTER(0x2B0B1B7Cu); 4902 4903 goto L_2B0B1B7C; 4904 L_2B0AB218: 4905 { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; } 4906 L_2B0B1B7C: 4907 eax = 0x2B0BEF90u; /* 0x2B0B1B7C: mov eax, 0x2b0bef90 */ 4908 L_2B0B1B81: 4909 RECOMP_BACKEDGE(); 4910 goto L_2B0AB218; /* 0x2B0B1B81: jmp 0x2b0ab218 */ 4911 { RECOMP_REGS_OUT(); return; } /* end of function */ 4912 _ljump: 4913 switch (_itail_tgt) { 4914 case 0x2B0AB218u: goto L_2B0AB218; 4915 case 0x2B0B1B7Cu: goto L_2B0B1B7C; 4916 case 0x2B0B1B81u: goto L_2B0B1B81; 4917 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 4918 } 4919 RECOMP_REGS_OUT(); 4920 }