client/game/ddr.dll/lifted-0072.c (159476B)
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_2B0B2A32(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(0x2B0B2A32u); 17 18 L_2B0B2A32: 19 eax = MEM32(ebp + (-0x38)); /* 0x2B0B2A32: mov eax, dword ptr [ebp - 0x38] */ 20 PUSH32(esp, eax); /* 0x2B0B2A35: push eax */ 21 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B2A36: call 0x2b0ab1ba */ /* not lifted */ 22 RECOMP_FLAGS_IN(); 23 ecx = POP32_VAL(esp); /* 0x2B0B2A3B: pop ecx */ 24 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B2A3C: ret */ 25 RECOMP_REGS_OUT(); 26 } 27 28 void sub_2B0B2A3D(void) { 29 int _fpu_cmp = 0; 30 uint32_t _cf = 0; 31 int _df = 1; 32 uint32_t _flag_k = FK_NONE; 33 uint32_t _flag_a = 0, _flag_b = 0; 34 uint32_t _itail_tgt = 0; 35 RECOMP_REGS_LOCALS 36 RECOMP_ENTER(0x2B0B2A3Du); 37 38 L_2B0B2A3D: 39 eax = MEM32(ebp + (-0x20)); /* 0x2B0B2A3D: mov eax, dword ptr [ebp - 0x20] */ 40 PUSH32(esp, eax); /* 0x2B0B2A40: push eax */ 41 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B2A41: call 0x2b0ab1ba */ /* not lifted */ 42 RECOMP_FLAGS_IN(); 43 ecx = POP32_VAL(esp); /* 0x2B0B2A46: pop ecx */ 44 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B2A47: ret */ 45 RECOMP_REGS_OUT(); 46 } 47 48 void sub_2B0B2A48(void) { 49 int _fpu_cmp = 0; 50 uint32_t _cf = 0; 51 int _df = 1; 52 uint32_t _flag_k = FK_NONE; 53 uint32_t _flag_a = 0, _flag_b = 0; 54 uint32_t _itail_tgt = 0; 55 RECOMP_REGS_LOCALS 56 RECOMP_ENTER(0x2B0B2A48u); 57 58 L_2B0B2A48: 59 eax = MEM32(ebp + (-0x20)); /* 0x2B0B2A48: mov eax, dword ptr [ebp - 0x20] */ 60 PUSH32(esp, eax); /* 0x2B0B2A4B: push eax */ 61 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B2A4C: call 0x2b0ab1ba */ /* not lifted */ 62 RECOMP_FLAGS_IN(); 63 ecx = POP32_VAL(esp); /* 0x2B0B2A51: pop ecx */ 64 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B2A52: ret */ 65 RECOMP_REGS_OUT(); 66 } 67 68 void sub_2B0B2A53(void) { 69 int _fpu_cmp = 0; 70 uint32_t _cf = 0; 71 int _df = 1; 72 uint32_t _flag_k = FK_NONE; 73 uint32_t _flag_a = 0, _flag_b = 0; 74 uint32_t _itail_tgt = 0; 75 RECOMP_REGS_LOCALS 76 RECOMP_ENTER(0x2B0B2A53u); 77 78 L_2B0B2A53: 79 eax = MEM32(ebp + (-0x20)); /* 0x2B0B2A53: mov eax, dword ptr [ebp - 0x20] */ 80 PUSH32(esp, eax); /* 0x2B0B2A56: push eax */ 81 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B2A57: call 0x2b0ab1ba */ /* not lifted */ 82 RECOMP_FLAGS_IN(); 83 ecx = POP32_VAL(esp); /* 0x2B0B2A5C: pop ecx */ 84 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B2A5D: ret */ 85 RECOMP_REGS_OUT(); 86 } 87 88 void sub_2B0B2A5E(void) { 89 int _fpu_cmp = 0; 90 uint32_t _cf = 0; 91 int _df = 1; 92 uint32_t _flag_k = FK_NONE; 93 uint32_t _flag_a = 0, _flag_b = 0; 94 uint32_t _itail_tgt = 0; 95 RECOMP_REGS_LOCALS 96 RECOMP_ENTER(0x2B0B2A5Eu); 97 98 L_2B0B2A5E: 99 eax = MEM32(ebp + (-0x20)); /* 0x2B0B2A5E: mov eax, dword ptr [ebp - 0x20] */ 100 PUSH32(esp, eax); /* 0x2B0B2A61: push eax */ 101 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B2A62: call 0x2b0ab1ba */ /* not lifted */ 102 RECOMP_FLAGS_IN(); 103 ecx = POP32_VAL(esp); /* 0x2B0B2A67: pop ecx */ 104 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B2A68: ret */ 105 RECOMP_REGS_OUT(); 106 } 107 108 void sub_2B0B2A69(void) { 109 int _fpu_cmp = 0; 110 uint32_t _cf = 0; 111 int _df = 1; 112 uint32_t _flag_k = FK_NONE; 113 uint32_t _flag_a = 0, _flag_b = 0; 114 uint32_t _itail_tgt = 0; 115 RECOMP_REGS_LOCALS 116 RECOMP_ENTER(0x2B0B2A69u); 117 118 L_2B0B2A69: 119 eax = MEM32(ebp + (-0x20)); /* 0x2B0B2A69: mov eax, dword ptr [ebp - 0x20] */ 120 PUSH32(esp, eax); /* 0x2B0B2A6C: push eax */ 121 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B2A6D: call 0x2b0ab1ba */ /* not lifted */ 122 RECOMP_FLAGS_IN(); 123 ecx = POP32_VAL(esp); /* 0x2B0B2A72: pop ecx */ 124 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B2A73: ret */ 125 RECOMP_REGS_OUT(); 126 } 127 128 void sub_2B0B2A74(void) { 129 int _fpu_cmp = 0; 130 uint32_t _cf = 0; 131 int _df = 1; 132 uint32_t _flag_k = FK_NONE; 133 uint32_t _flag_a = 0, _flag_b = 0; 134 uint32_t _itail_tgt = 0; 135 RECOMP_REGS_LOCALS 136 RECOMP_ENTER(0x2B0B2A74u); 137 138 goto L_2B0B2A74; 139 L_2B0AB218: 140 { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; } 141 L_2B0B2A74: 142 eax = 0x2B0BFED0u; /* 0x2B0B2A74: mov eax, 0x2b0bfed0 */ 143 L_2B0B2A79: 144 RECOMP_BACKEDGE(); 145 goto L_2B0AB218; /* 0x2B0B2A79: jmp 0x2b0ab218 */ 146 { RECOMP_REGS_OUT(); return; } /* end of function */ 147 _ljump: 148 switch (_itail_tgt) { 149 case 0x2B0AB218u: goto L_2B0AB218; 150 case 0x2B0B2A74u: goto L_2B0B2A74; 151 case 0x2B0B2A79u: goto L_2B0B2A79; 152 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 153 } 154 RECOMP_REGS_OUT(); 155 } 156 157 void sub_2B0B2A80(void) { 158 int _fpu_cmp = 0; 159 uint32_t _cf = 0; 160 int _df = 1; 161 uint32_t _flag_k = FK_NONE; 162 uint32_t _flag_a = 0, _flag_b = 0; 163 uint32_t _itail_tgt = 0; 164 RECOMP_REGS_LOCALS 165 RECOMP_ENTER(0x2B0B2A80u); 166 167 goto L_2B0B2A80; 168 L_2B090980: 169 PUSH32(esp, ebx); /* 0x2B090980: push ebx */ 170 PUSH32(esp, esi); /* 0x2B090981: push esi */ 171 PUSH32(esp, edi); /* 0x2B090982: push edi */ 172 edi = ecx; /* 0x2B090983: mov edi, ecx */ 173 ebx = MEM32(edi + 0x8); /* 0x2B090985: mov ebx, dword ptr [edi + 8] */ 174 esi = MEM32(edi + 0x4); /* 0x2B090988: mov esi, dword ptr [edi + 4] */ 175 /* cmp esi, ebx */ /* 0x2B09098B: cmp esi, ebx */ 176 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 177 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 178 _flag_k = FK_CMP; 179 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09099E; /* 0x2B09098D: je 0x2b09099e */ 180 L_2B09098F: 181 ecx = esi; /* 0x2B09098F: mov ecx, esi */ 182 RECOMP_ICALL(MEM32(0x2B0B5B8C)); /* 0x2B090991: call dword ptr [0x2b0b5b8c] */ 183 RECOMP_FLAGS_IN(); 184 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x14u); 185 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 186 esi = esi + 0x14u; /* 0x2B090997: add esi, 0x14 */ 187 _flag_k = FK_ADD; 188 /* cmp esi, ebx */ /* 0x2B09099A: cmp esi, ebx */ 189 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 190 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 191 _flag_k = FK_CMP; 192 RECOMP_BACKEDGE(); 193 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09098F; /* 0x2B09099C: jne 0x2b09098f */ 194 L_2B09099E: 195 eax = MEM32(edi + 0x4); /* 0x2B09099E: mov eax, dword ptr [edi + 4] */ 196 PUSH32(esp, eax); /* 0x2B0909A1: push eax */ 197 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0909A2: call 0x2b0ab1ba */ /* not lifted */ 198 RECOMP_FLAGS_IN(); 199 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 200 eax = 0; /* 0x2B0909A7: xor eax, eax */ 201 _cf = 0; 202 _flag_k = FK_TEST; 203 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 204 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 205 esp = esp + 4; /* 0x2B0909A9: add esp, 4 */ 206 _flag_k = FK_ADD; 207 MEM32(edi + 0x4) = eax; /* 0x2B0909AC: mov dword ptr [edi + 4], eax */ 208 MEM32(edi + 0x8) = eax; /* 0x2B0909AF: mov dword ptr [edi + 8], eax */ 209 MEM32(edi + 0xC) = eax; /* 0x2B0909B2: mov dword ptr [edi + 0xc], eax */ 210 edi = POP32_VAL(esp); /* 0x2B0909B5: pop edi */ 211 esi = POP32_VAL(esp); /* 0x2B0909B6: pop esi */ 212 ebx = POP32_VAL(esp); /* 0x2B0909B7: pop ebx */ 213 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0909B8: ret */ 214 L_2B0B2A80: 215 ecx = MEM32(ebp + (-0x10)); /* 0x2B0B2A80: mov ecx, dword ptr [ebp - 0x10] */ 216 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x28u); 217 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 218 ecx = ecx + 0x28u; /* 0x2B0B2A83: add ecx, 0x28 */ 219 _flag_k = FK_ADD; 220 RECOMP_BACKEDGE(); 221 goto L_2B090980; /* 0x2B0B2A86: jmp 0x2b090980 */ 222 { RECOMP_REGS_OUT(); return; } /* end of function */ 223 RECOMP_REGS_OUT(); 224 } 225 226 void sub_2B0B2A8B(void) { 227 int _fpu_cmp = 0; 228 uint32_t _cf = 0; 229 int _df = 1; 230 uint32_t _flag_k = FK_NONE; 231 uint32_t _flag_a = 0, _flag_b = 0; 232 uint32_t _itail_tgt = 0; 233 RECOMP_REGS_LOCALS 234 RECOMP_ENTER(0x2B0B2A8Bu); 235 236 L_2B0B2A8B: 237 ecx = MEM32(ebp + (-0x10)); /* 0x2B0B2A8B: mov ecx, dword ptr [ebp - 0x10] */ 238 L_2B0B2A8E: 239 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 240 { RECOMP_REGS_OUT(); return; } /* end of function */ 241 _ljump: 242 switch (_itail_tgt) { 243 case 0x2B0B2A8Bu: goto L_2B0B2A8B; 244 case 0x2B0B2A8Eu: goto L_2B0B2A8E; 245 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 246 } 247 RECOMP_REGS_OUT(); 248 } 249 250 void sub_2B0B2A94(void) { 251 int _fpu_cmp = 0; 252 uint32_t _cf = 0; 253 int _df = 1; 254 uint32_t _flag_k = FK_NONE; 255 uint32_t _flag_a = 0, _flag_b = 0; 256 uint32_t _itail_tgt = 0; 257 RECOMP_REGS_LOCALS 258 RECOMP_ENTER(0x2B0B2A94u); 259 260 goto L_2B0B2A94; 261 L_2B0AB218: 262 { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; } 263 L_2B0B2A94: 264 eax = 0x2B0BFF80u; /* 0x2B0B2A94: mov eax, 0x2b0bff80 */ 265 L_2B0B2A99: 266 RECOMP_BACKEDGE(); 267 goto L_2B0AB218; /* 0x2B0B2A99: jmp 0x2b0ab218 */ 268 { RECOMP_REGS_OUT(); return; } /* end of function */ 269 _ljump: 270 switch (_itail_tgt) { 271 case 0x2B0AB218u: goto L_2B0AB218; 272 case 0x2B0B2A94u: goto L_2B0B2A94; 273 case 0x2B0B2A99u: goto L_2B0B2A99; 274 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 275 } 276 RECOMP_REGS_OUT(); 277 } 278 279 void sub_2B0B2AA0(void) { 280 int _fpu_cmp = 0; 281 uint32_t _cf = 0; 282 int _df = 1; 283 uint32_t _flag_k = FK_NONE; 284 uint32_t _flag_a = 0, _flag_b = 0; 285 uint32_t _itail_tgt = 0; 286 RECOMP_REGS_LOCALS 287 RECOMP_ENTER(0x2B0B2AA0u); 288 289 L_2B0B2AA0: 290 ecx = ebp + (-0x34); /* 0x2B0B2AA0: lea ecx, [ebp - 0x34] */ 291 L_2B0B2AA3: 292 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 293 { RECOMP_REGS_OUT(); return; } /* end of function */ 294 _ljump: 295 switch (_itail_tgt) { 296 case 0x2B0B2AA0u: goto L_2B0B2AA0; 297 case 0x2B0B2AA3u: goto L_2B0B2AA3; 298 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 299 } 300 RECOMP_REGS_OUT(); 301 } 302 303 void sub_2B0B2AA9(void) { 304 int _fpu_cmp = 0; 305 uint32_t _cf = 0; 306 int _df = 1; 307 uint32_t _flag_k = FK_NONE; 308 uint32_t _flag_a = 0, _flag_b = 0; 309 uint32_t _itail_tgt = 0; 310 RECOMP_REGS_LOCALS 311 RECOMP_ENTER(0x2B0B2AA9u); 312 313 L_2B0B2AA9: 314 ecx = ebp + (-0x5C); /* 0x2B0B2AA9: lea ecx, [ebp - 0x5c] */ 315 L_2B0B2AAC: 316 { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; } 317 { RECOMP_REGS_OUT(); return; } /* end of function */ 318 _ljump: 319 switch (_itail_tgt) { 320 case 0x2B0B2AA9u: goto L_2B0B2AA9; 321 case 0x2B0B2AACu: goto L_2B0B2AAC; 322 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 323 } 324 RECOMP_REGS_OUT(); 325 } 326 327 void sub_2B0B2AB2(void) { 328 int _fpu_cmp = 0; 329 uint32_t _cf = 0; 330 int _df = 1; 331 uint32_t _flag_k = FK_NONE; 332 uint32_t _flag_a = 0, _flag_b = 0; 333 uint32_t _itail_tgt = 0; 334 RECOMP_REGS_LOCALS 335 RECOMP_ENTER(0x2B0B2AB2u); 336 337 L_2B0B2AB2: 338 ecx = ebp + (-0x48); /* 0x2B0B2AB2: lea ecx, [ebp - 0x48] */ 339 L_2B0B2AB5: 340 { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; } 341 { RECOMP_REGS_OUT(); return; } /* end of function */ 342 _ljump: 343 switch (_itail_tgt) { 344 case 0x2B0B2AB2u: goto L_2B0B2AB2; 345 case 0x2B0B2AB5u: goto L_2B0B2AB5; 346 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 347 } 348 RECOMP_REGS_OUT(); 349 } 350 351 void sub_2B0B2ABB(void) { 352 int _fpu_cmp = 0; 353 uint32_t _cf = 0; 354 int _df = 1; 355 uint32_t _flag_k = FK_NONE; 356 uint32_t _flag_a = 0, _flag_b = 0; 357 uint32_t _itail_tgt = 0; 358 RECOMP_REGS_LOCALS 359 RECOMP_ENTER(0x2B0B2ABBu); 360 361 goto L_2B0B2ABB; 362 L_2B002DB0: 363 PUSH32(esp, ebp); /* 0x2B002DB0: push ebp */ 364 ebp = esp; /* 0x2B002DB1: mov ebp, esp */ 365 PUSH32(esp, ecx); /* 0x2B002DB3: push ecx */ 366 PUSH32(esp, ebx); /* 0x2B002DB4: push ebx */ 367 PUSH32(esp, esi); /* 0x2B002DB5: push esi */ 368 PUSH32(esp, edi); /* 0x2B002DB6: push edi */ 369 edi = ecx; /* 0x2B002DB7: mov edi, ecx */ 370 edx = MEM32(edi + 0x8); /* 0x2B002DB9: mov edx, dword ptr [edi + 8] */ 371 esi = MEM32(edi + 0x4); /* 0x2B002DBC: mov esi, dword ptr [edi + 4] */ 372 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 373 ebx = 0; /* 0x2B002DBF: xor ebx, ebx */ 374 _cf = 0; 375 _flag_k = FK_TEST; 376 /* cmp esi, edx */ /* 0x2B002DC1: cmp esi, edx */ 377 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx); 378 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 379 _flag_k = FK_CMP; 380 MEM32(ebp + (-0x4)) = edx; /* 0x2B002DC3: mov dword ptr [ebp - 4], edx */ 381 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B002DFE; /* 0x2B002DC6: je 0x2b002dfe */ 382 L_2B002DC8: 383 eax = MEM32(esi + 0x4); /* 0x2B002DC8: mov eax, dword ptr [esi + 4] */ 384 /* cmp eax, ebx */ /* 0x2B002DCB: cmp eax, ebx */ 385 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 386 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 387 _flag_k = FK_CMP; 388 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B002DEE; /* 0x2B002DCD: je 0x2b002dee */ 389 L_2B002DCF: 390 ecx = eax + (-0x1); /* 0x2B002DCF: lea ecx, [eax - 1] */ 391 SET_LO8(eax, MEM8(ecx)); /* 0x2B002DD2: mov al, byte ptr [ecx] */ 392 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B002DD4: cmp al, bl */ 393 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 394 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 395 _flag_k = FK_NARROW(FK_CMP, 24); 396 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B002DE2; /* 0x2B002DD6: je 0x2b002de2 */ 397 L_2B002DD8: 398 /* cmp LO8(eax), 0xFFu */ /* 0x2B002DD8: cmp al, 0xff */ 399 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 400 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 401 _flag_k = FK_NARROW(FK_CMP, 24); 402 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B002DE2; /* 0x2B002DDA: je 0x2b002de2 */ 403 L_2B002DDC: 404 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 405 SET_LO8(eax, LO8(eax) - 1); /* 0x2B002DDC: dec al */ 406 _flag_k = FK_NARROW(FK_DEC, 24); 407 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B002DDE: mov byte ptr [ecx], al */ 408 goto L_2B002DEE; /* 0x2B002DE0: jmp 0x2b002dee */ 409 L_2B002DE2: 410 PUSH32(esp, ecx); /* 0x2B002DE2: push ecx */ 411 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B002DE3: call 0x2b0ab1ba */ /* not lifted */ 412 RECOMP_FLAGS_IN(); 413 edx = MEM32(ebp + (-0x4)); /* 0x2B002DE8: mov edx, dword ptr [ebp - 4] */ 414 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 415 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 416 esp = esp + 4; /* 0x2B002DEB: add esp, 4 */ 417 _flag_k = FK_ADD; 418 L_2B002DEE: 419 MEM32(esi + 0x4) = ebx; /* 0x2B002DEE: mov dword ptr [esi + 4], ebx */ 420 MEM32(esi + 0x8) = ebx; /* 0x2B002DF1: mov dword ptr [esi + 8], ebx */ 421 MEM32(esi + 0xC) = ebx; /* 0x2B002DF4: mov dword ptr [esi + 0xc], ebx */ 422 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 423 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 424 esi = esi + 0x10u; /* 0x2B002DF7: add esi, 0x10 */ 425 _flag_k = FK_ADD; 426 /* cmp esi, edx */ /* 0x2B002DFA: cmp esi, edx */ 427 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx); 428 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 429 _flag_k = FK_CMP; 430 RECOMP_BACKEDGE(); 431 if (CMP_NE(_flag_a, _flag_b)) goto L_2B002DC8; /* 0x2B002DFC: jne 0x2b002dc8 */ 432 L_2B002DFE: 433 eax = MEM32(edi + 0x4); /* 0x2B002DFE: mov eax, dword ptr [edi + 4] */ 434 PUSH32(esp, eax); /* 0x2B002E01: push eax */ 435 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B002E02: call 0x2b0ab1ba */ /* not lifted */ 436 RECOMP_FLAGS_IN(); 437 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 438 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 439 esp = esp + 4; /* 0x2B002E07: add esp, 4 */ 440 _flag_k = FK_ADD; 441 MEM32(edi + 0x4) = ebx; /* 0x2B002E0A: mov dword ptr [edi + 4], ebx */ 442 MEM32(edi + 0x8) = ebx; /* 0x2B002E0D: mov dword ptr [edi + 8], ebx */ 443 MEM32(edi + 0xC) = ebx; /* 0x2B002E10: mov dword ptr [edi + 0xc], ebx */ 444 edi = POP32_VAL(esp); /* 0x2B002E13: pop edi */ 445 esi = POP32_VAL(esp); /* 0x2B002E14: pop esi */ 446 ebx = POP32_VAL(esp); /* 0x2B002E15: pop ebx */ 447 esp = ebp; /* 0x2B002E16: mov esp, ebp */ 448 ebp = POP32_VAL(esp); /* 0x2B002E18: pop ebp */ 449 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B002E19: ret */ 450 L_2B0B2ABB: 451 ecx = ebp + (-0x24); /* 0x2B0B2ABB: lea ecx, [ebp - 0x24] */ 452 RECOMP_BACKEDGE(); 453 goto L_2B002DB0; /* 0x2B0B2ABE: jmp 0x2b002db0 */ 454 { RECOMP_REGS_OUT(); return; } /* end of function */ 455 RECOMP_REGS_OUT(); 456 } 457 458 void sub_2B0B2AC3(void) { 459 int _fpu_cmp = 0; 460 uint32_t _cf = 0; 461 int _df = 1; 462 uint32_t _flag_k = FK_NONE; 463 uint32_t _flag_a = 0, _flag_b = 0; 464 uint32_t _itail_tgt = 0; 465 RECOMP_REGS_LOCALS 466 RECOMP_ENTER(0x2B0B2AC3u); 467 468 L_2B0B2AC3: 469 ecx = ebp + (-0x48); /* 0x2B0B2AC3: lea ecx, [ebp - 0x48] */ 470 L_2B0B2AC6: 471 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 472 { RECOMP_REGS_OUT(); return; } /* end of function */ 473 _ljump: 474 switch (_itail_tgt) { 475 case 0x2B0B2AC3u: goto L_2B0B2AC3; 476 case 0x2B0B2AC6u: goto L_2B0B2AC6; 477 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 478 } 479 RECOMP_REGS_OUT(); 480 } 481 482 void sub_2B0B2ACC(void) { 483 int _fpu_cmp = 0; 484 uint32_t _cf = 0; 485 int _df = 1; 486 uint32_t _flag_k = FK_NONE; 487 uint32_t _flag_a = 0, _flag_b = 0; 488 uint32_t _itail_tgt = 0; 489 RECOMP_REGS_LOCALS 490 RECOMP_ENTER(0x2B0B2ACCu); 491 492 L_2B0B2ACC: 493 ecx = ebp + (-0x48); /* 0x2B0B2ACC: lea ecx, [ebp - 0x48] */ 494 L_2B0B2ACF: 495 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 496 { RECOMP_REGS_OUT(); return; } /* end of function */ 497 _ljump: 498 switch (_itail_tgt) { 499 case 0x2B0B2ACCu: goto L_2B0B2ACC; 500 case 0x2B0B2ACFu: goto L_2B0B2ACF; 501 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 502 } 503 RECOMP_REGS_OUT(); 504 } 505 506 void sub_2B0B2AD5(void) { 507 int _fpu_cmp = 0; 508 uint32_t _cf = 0; 509 int _df = 1; 510 uint32_t _flag_k = FK_NONE; 511 uint32_t _flag_a = 0, _flag_b = 0; 512 uint32_t _itail_tgt = 0; 513 RECOMP_REGS_LOCALS 514 RECOMP_ENTER(0x2B0B2AD5u); 515 516 L_2B0B2AD5: 517 ecx = ebp + (-0x5C); /* 0x2B0B2AD5: lea ecx, [ebp - 0x5c] */ 518 L_2B0B2AD8: 519 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 520 { RECOMP_REGS_OUT(); return; } /* end of function */ 521 _ljump: 522 switch (_itail_tgt) { 523 case 0x2B0B2AD5u: goto L_2B0B2AD5; 524 case 0x2B0B2AD8u: goto L_2B0B2AD8; 525 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 526 } 527 RECOMP_REGS_OUT(); 528 } 529 530 void sub_2B0B2ADE(void) { 531 int _fpu_cmp = 0; 532 uint32_t _cf = 0; 533 int _df = 1; 534 uint32_t _flag_k = FK_NONE; 535 uint32_t _flag_a = 0, _flag_b = 0; 536 uint32_t _itail_tgt = 0; 537 RECOMP_REGS_LOCALS 538 RECOMP_ENTER(0x2B0B2ADEu); 539 540 goto L_2B0B2ADE; 541 L_2B0AB218: 542 { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; } 543 L_2B0B2ADE: 544 eax = 0x2B0BFFB0u; /* 0x2B0B2ADE: mov eax, 0x2b0bffb0 */ 545 L_2B0B2AE3: 546 RECOMP_BACKEDGE(); 547 goto L_2B0AB218; /* 0x2B0B2AE3: jmp 0x2b0ab218 */ 548 { RECOMP_REGS_OUT(); return; } /* end of function */ 549 _ljump: 550 switch (_itail_tgt) { 551 case 0x2B0AB218u: goto L_2B0AB218; 552 case 0x2B0B2ADEu: goto L_2B0B2ADE; 553 case 0x2B0B2AE3u: goto L_2B0B2AE3; 554 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 555 } 556 RECOMP_REGS_OUT(); 557 } 558 559 void sub_2B0B2AF0(void) { 560 int _fpu_cmp = 0; 561 uint32_t _cf = 0; 562 int _df = 1; 563 uint32_t _flag_k = FK_NONE; 564 uint32_t _flag_a = 0, _flag_b = 0; 565 uint32_t _itail_tgt = 0; 566 RECOMP_REGS_LOCALS 567 RECOMP_ENTER(0x2B0B2AF0u); 568 569 L_2B0B2AF0: 570 ecx = ebp + (-0x34); /* 0x2B0B2AF0: lea ecx, [ebp - 0x34] */ 571 L_2B0B2AF3: 572 { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; } 573 { RECOMP_REGS_OUT(); return; } /* end of function */ 574 _ljump: 575 switch (_itail_tgt) { 576 case 0x2B0B2AF0u: goto L_2B0B2AF0; 577 case 0x2B0B2AF3u: goto L_2B0B2AF3; 578 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 579 } 580 RECOMP_REGS_OUT(); 581 } 582 583 void sub_2B0B2AF9(void) { 584 int _fpu_cmp = 0; 585 uint32_t _cf = 0; 586 int _df = 1; 587 uint32_t _flag_k = FK_NONE; 588 uint32_t _flag_a = 0, _flag_b = 0; 589 uint32_t _itail_tgt = 0; 590 RECOMP_REGS_LOCALS 591 RECOMP_ENTER(0x2B0B2AF9u); 592 593 L_2B0B2AF9: 594 ecx = ebp + (-0x34); /* 0x2B0B2AF9: lea ecx, [ebp - 0x34] */ 595 L_2B0B2AFC: 596 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 597 { RECOMP_REGS_OUT(); return; } /* end of function */ 598 _ljump: 599 switch (_itail_tgt) { 600 case 0x2B0B2AF9u: goto L_2B0B2AF9; 601 case 0x2B0B2AFCu: goto L_2B0B2AFC; 602 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 603 } 604 RECOMP_REGS_OUT(); 605 } 606 607 void sub_2B0B2B02(void) { 608 int _fpu_cmp = 0; 609 uint32_t _cf = 0; 610 int _df = 1; 611 uint32_t _flag_k = FK_NONE; 612 uint32_t _flag_a = 0, _flag_b = 0; 613 uint32_t _itail_tgt = 0; 614 RECOMP_REGS_LOCALS 615 RECOMP_ENTER(0x2B0B2B02u); 616 617 goto L_2B0B2B02; 618 L_2B0AB218: 619 { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; } 620 L_2B0B2B02: 621 eax = 0x2B0C0008u; /* 0x2B0B2B02: mov eax, 0x2b0c0008 */ 622 L_2B0B2B07: 623 RECOMP_BACKEDGE(); 624 goto L_2B0AB218; /* 0x2B0B2B07: jmp 0x2b0ab218 */ 625 { RECOMP_REGS_OUT(); return; } /* end of function */ 626 _ljump: 627 switch (_itail_tgt) { 628 case 0x2B0AB218u: goto L_2B0AB218; 629 case 0x2B0B2B02u: goto L_2B0B2B02; 630 case 0x2B0B2B07u: goto L_2B0B2B07; 631 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 632 } 633 RECOMP_REGS_OUT(); 634 } 635 636 void sub_2B0B2B10(void) { 637 int _fpu_cmp = 0; 638 uint32_t _cf = 0; 639 int _df = 1; 640 uint32_t _flag_k = FK_NONE; 641 uint32_t _flag_a = 0, _flag_b = 0; 642 uint32_t _itail_tgt = 0; 643 RECOMP_REGS_LOCALS 644 RECOMP_ENTER(0x2B0B2B10u); 645 646 L_2B0B2B10: 647 ecx = ebp + (-0x50); /* 0x2B0B2B10: lea ecx, [ebp - 0x50] */ 648 L_2B0B2B13: 649 { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; } 650 { RECOMP_REGS_OUT(); return; } /* end of function */ 651 _ljump: 652 switch (_itail_tgt) { 653 case 0x2B0B2B10u: goto L_2B0B2B10; 654 case 0x2B0B2B13u: goto L_2B0B2B13; 655 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 656 } 657 RECOMP_REGS_OUT(); 658 } 659 660 void sub_2B0B2B19(void) { 661 int _fpu_cmp = 0; 662 uint32_t _cf = 0; 663 int _df = 1; 664 uint32_t _flag_k = FK_NONE; 665 uint32_t _flag_a = 0, _flag_b = 0; 666 uint32_t _itail_tgt = 0; 667 RECOMP_REGS_LOCALS 668 RECOMP_ENTER(0x2B0B2B19u); 669 670 L_2B0B2B19: 671 eax = MEM32(ebp + 0x8); /* 0x2B0B2B19: mov eax, dword ptr [ebp + 8] */ 672 PUSH32(esp, eax); /* 0x2B0B2B1C: push eax */ 673 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B2B1D: call 0x2b0ab1ba */ /* not lifted */ 674 RECOMP_FLAGS_IN(); 675 ecx = POP32_VAL(esp); /* 0x2B0B2B22: pop ecx */ 676 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B2B23: ret */ 677 RECOMP_REGS_OUT(); 678 } 679 680 void sub_2B0B2B24(void) { 681 int _fpu_cmp = 0; 682 uint32_t _cf = 0; 683 int _df = 1; 684 uint32_t _flag_k = FK_NONE; 685 uint32_t _flag_a = 0, _flag_b = 0; 686 uint32_t _itail_tgt = 0; 687 RECOMP_REGS_LOCALS 688 RECOMP_ENTER(0x2B0B2B24u); 689 690 L_2B0B2B24: 691 eax = MEM32(ebp + 0x8); /* 0x2B0B2B24: mov eax, dword ptr [ebp + 8] */ 692 PUSH32(esp, eax); /* 0x2B0B2B27: push eax */ 693 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B2B28: call 0x2b0ab1ba */ /* not lifted */ 694 RECOMP_FLAGS_IN(); 695 ecx = POP32_VAL(esp); /* 0x2B0B2B2D: pop ecx */ 696 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B2B2E: ret */ 697 RECOMP_REGS_OUT(); 698 } 699 700 void sub_2B0B2B2F(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(0x2B0B2B2Fu); 709 710 L_2B0B2B2F: 711 ecx = ebp + (-0x50); /* 0x2B0B2B2F: lea ecx, [ebp - 0x50] */ 712 L_2B0B2B32: 713 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 714 { RECOMP_REGS_OUT(); return; } /* end of function */ 715 _ljump: 716 switch (_itail_tgt) { 717 case 0x2B0B2B2Fu: goto L_2B0B2B2F; 718 case 0x2B0B2B32u: goto L_2B0B2B32; 719 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 720 } 721 RECOMP_REGS_OUT(); 722 } 723 724 void sub_2B0B2B38(void) { 725 int _fpu_cmp = 0; 726 uint32_t _cf = 0; 727 int _df = 1; 728 uint32_t _flag_k = FK_NONE; 729 uint32_t _flag_a = 0, _flag_b = 0; 730 uint32_t _itail_tgt = 0; 731 RECOMP_REGS_LOCALS 732 RECOMP_ENTER(0x2B0B2B38u); 733 734 L_2B0B2B38: 735 ecx = MEM32(ebp + 0x8); /* 0x2B0B2B38: mov ecx, dword ptr [ebp + 8] */ 736 L_2B0B2B3B: 737 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0xCu); 738 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 739 ecx = ecx + 0xCu; /* 0x2B0B2B3B: add ecx, 0xc */ 740 _flag_k = FK_ADD; 741 L_2B0B2B3E: 742 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 743 { RECOMP_REGS_OUT(); return; } /* end of function */ 744 _ljump: 745 switch (_itail_tgt) { 746 case 0x2B0B2B38u: goto L_2B0B2B38; 747 case 0x2B0B2B3Bu: goto L_2B0B2B3B; 748 case 0x2B0B2B3Eu: goto L_2B0B2B3E; 749 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 750 } 751 RECOMP_REGS_OUT(); 752 } 753 754 void sub_2B0B2B44(void) { 755 int _fpu_cmp = 0; 756 uint32_t _cf = 0; 757 int _df = 1; 758 uint32_t _flag_k = FK_NONE; 759 uint32_t _flag_a = 0, _flag_b = 0; 760 uint32_t _itail_tgt = 0; 761 RECOMP_REGS_LOCALS 762 RECOMP_ENTER(0x2B0B2B44u); 763 764 goto L_2B0B2B44; 765 L_2B0AB218: 766 { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; } 767 L_2B0B2B44: 768 eax = 0x2B0C0038u; /* 0x2B0B2B44: mov eax, 0x2b0c0038 */ 769 L_2B0B2B49: 770 RECOMP_BACKEDGE(); 771 goto L_2B0AB218; /* 0x2B0B2B49: jmp 0x2b0ab218 */ 772 { RECOMP_REGS_OUT(); return; } /* end of function */ 773 _ljump: 774 switch (_itail_tgt) { 775 case 0x2B0AB218u: goto L_2B0AB218; 776 case 0x2B0B2B44u: goto L_2B0B2B44; 777 case 0x2B0B2B49u: goto L_2B0B2B49; 778 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 779 } 780 RECOMP_REGS_OUT(); 781 } 782 783 void sub_2B0B2B50(void) { 784 int _fpu_cmp = 0; 785 uint32_t _cf = 0; 786 int _df = 1; 787 uint32_t _flag_k = FK_NONE; 788 uint32_t _flag_a = 0, _flag_b = 0; 789 uint32_t _itail_tgt = 0; 790 RECOMP_REGS_LOCALS 791 RECOMP_ENTER(0x2B0B2B50u); 792 793 L_2B0B2B50: 794 eax = MEM32(ebp + (-0x10)); /* 0x2B0B2B50: mov eax, dword ptr [ebp - 0x10] */ 795 PUSH32(esp, eax); /* 0x2B0B2B53: push eax */ 796 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B2B54: call 0x2b0ab1ba */ /* not lifted */ 797 RECOMP_FLAGS_IN(); 798 ecx = POP32_VAL(esp); /* 0x2B0B2B59: pop ecx */ 799 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B2B5A: ret */ 800 RECOMP_REGS_OUT(); 801 } 802 803 void sub_2B0B2B5B(void) { 804 int _fpu_cmp = 0; 805 uint32_t _cf = 0; 806 int _df = 1; 807 uint32_t _flag_k = FK_NONE; 808 uint32_t _flag_a = 0, _flag_b = 0; 809 uint32_t _itail_tgt = 0; 810 RECOMP_REGS_LOCALS 811 RECOMP_ENTER(0x2B0B2B5Bu); 812 813 L_2B0B2B5B: 814 eax = MEM32(ebp + (-0x10)); /* 0x2B0B2B5B: mov eax, dword ptr [ebp - 0x10] */ 815 PUSH32(esp, eax); /* 0x2B0B2B5E: push eax */ 816 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B2B5F: call 0x2b0ab1ba */ /* not lifted */ 817 RECOMP_FLAGS_IN(); 818 ecx = POP32_VAL(esp); /* 0x2B0B2B64: pop ecx */ 819 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B2B65: ret */ 820 RECOMP_REGS_OUT(); 821 } 822 823 void sub_2B0B2B66(void) { 824 int _fpu_cmp = 0; 825 uint32_t _cf = 0; 826 int _df = 1; 827 uint32_t _flag_k = FK_NONE; 828 uint32_t _flag_a = 0, _flag_b = 0; 829 uint32_t _itail_tgt = 0; 830 RECOMP_REGS_LOCALS 831 RECOMP_ENTER(0x2B0B2B66u); 832 833 goto L_2B0B2B66; 834 L_2B0AB218: 835 { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; } 836 L_2B0B2B66: 837 eax = 0x2B0C0080u; /* 0x2B0B2B66: mov eax, 0x2b0c0080 */ 838 L_2B0B2B6B: 839 RECOMP_BACKEDGE(); 840 goto L_2B0AB218; /* 0x2B0B2B6B: jmp 0x2b0ab218 */ 841 { RECOMP_REGS_OUT(); return; } /* end of function */ 842 _ljump: 843 switch (_itail_tgt) { 844 case 0x2B0AB218u: goto L_2B0AB218; 845 case 0x2B0B2B66u: goto L_2B0B2B66; 846 case 0x2B0B2B6Bu: goto L_2B0B2B6B; 847 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 848 } 849 RECOMP_REGS_OUT(); 850 } 851 852 void sub_2B0B2B70(void) { 853 int _fpu_cmp = 0; 854 uint32_t _cf = 0; 855 int _df = 1; 856 uint32_t _flag_k = FK_NONE; 857 uint32_t _flag_a = 0, _flag_b = 0; 858 uint32_t _itail_tgt = 0; 859 RECOMP_REGS_LOCALS 860 RECOMP_ENTER(0x2B0B2B70u); 861 862 L_2B0B2B70: 863 eax = MEM32(ebp + (-0x10)); /* 0x2B0B2B70: mov eax, dword ptr [ebp - 0x10] */ 864 PUSH32(esp, eax); /* 0x2B0B2B73: push eax */ 865 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B2B74: call 0x2b0ab1ba */ /* not lifted */ 866 RECOMP_FLAGS_IN(); 867 ecx = POP32_VAL(esp); /* 0x2B0B2B79: pop ecx */ 868 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B2B7A: ret */ 869 RECOMP_REGS_OUT(); 870 } 871 872 void sub_2B0B2B7B(void) { 873 int _fpu_cmp = 0; 874 uint32_t _cf = 0; 875 int _df = 1; 876 uint32_t _flag_k = FK_NONE; 877 uint32_t _flag_a = 0, _flag_b = 0; 878 uint32_t _itail_tgt = 0; 879 RECOMP_REGS_LOCALS 880 RECOMP_ENTER(0x2B0B2B7Bu); 881 882 goto L_2B0B2B7B; 883 L_2B0AB218: 884 { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; } 885 L_2B0B2B7B: 886 eax = 0x2B0C00B0u; /* 0x2B0B2B7B: mov eax, 0x2b0c00b0 */ 887 L_2B0B2B80: 888 RECOMP_BACKEDGE(); 889 goto L_2B0AB218; /* 0x2B0B2B80: jmp 0x2b0ab218 */ 890 { RECOMP_REGS_OUT(); return; } /* end of function */ 891 _ljump: 892 switch (_itail_tgt) { 893 case 0x2B0AB218u: goto L_2B0AB218; 894 case 0x2B0B2B7Bu: goto L_2B0B2B7B; 895 case 0x2B0B2B80u: goto L_2B0B2B80; 896 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 897 } 898 RECOMP_REGS_OUT(); 899 } 900 901 void sub_2B0B2B90(void) { 902 int _fpu_cmp = 0; 903 uint32_t _cf = 0; 904 int _df = 1; 905 uint32_t _flag_k = FK_NONE; 906 uint32_t _flag_a = 0, _flag_b = 0; 907 uint32_t _itail_tgt = 0; 908 RECOMP_REGS_LOCALS 909 RECOMP_ENTER(0x2B0B2B90u); 910 911 L_2B0B2B90: 912 ecx = MEM32(ebp + (-0x1C)); /* 0x2B0B2B90: mov ecx, dword ptr [ebp - 0x1c] */ 913 L_2B0B2B93: 914 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x44u); 915 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 916 ecx = ecx + 0x44u; /* 0x2B0B2B93: add ecx, 0x44 */ 917 _flag_k = FK_ADD; 918 L_2B0B2B96: 919 { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; } 920 { RECOMP_REGS_OUT(); return; } /* end of function */ 921 _ljump: 922 switch (_itail_tgt) { 923 case 0x2B0B2B90u: goto L_2B0B2B90; 924 case 0x2B0B2B93u: goto L_2B0B2B93; 925 case 0x2B0B2B96u: goto L_2B0B2B96; 926 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 927 } 928 RECOMP_REGS_OUT(); 929 } 930 931 void sub_2B0B2B9C(void) { 932 int _fpu_cmp = 0; 933 uint32_t _cf = 0; 934 int _df = 1; 935 uint32_t _flag_k = FK_NONE; 936 uint32_t _flag_a = 0, _flag_b = 0; 937 uint32_t _itail_tgt = 0; 938 RECOMP_REGS_LOCALS 939 RECOMP_ENTER(0x2B0B2B9Cu); 940 941 L_2B0B2B9C: 942 ecx = MEM32(ebp + (-0x1C)); /* 0x2B0B2B9C: mov ecx, dword ptr [ebp - 0x1c] */ 943 L_2B0B2B9F: 944 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x58u); 945 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 946 ecx = ecx + 0x58u; /* 0x2B0B2B9F: add ecx, 0x58 */ 947 _flag_k = FK_ADD; 948 L_2B0B2BA2: 949 { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; } 950 { RECOMP_REGS_OUT(); return; } /* end of function */ 951 _ljump: 952 switch (_itail_tgt) { 953 case 0x2B0B2B9Cu: goto L_2B0B2B9C; 954 case 0x2B0B2B9Fu: goto L_2B0B2B9F; 955 case 0x2B0B2BA2u: goto L_2B0B2BA2; 956 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 957 } 958 RECOMP_REGS_OUT(); 959 } 960 961 void sub_2B0B2BA8(void) { 962 int _fpu_cmp = 0; 963 uint32_t _cf = 0; 964 int _df = 1; 965 uint32_t _flag_k = FK_NONE; 966 uint32_t _flag_a = 0, _flag_b = 0; 967 uint32_t _itail_tgt = 0; 968 RECOMP_REGS_LOCALS 969 RECOMP_ENTER(0x2B0B2BA8u); 970 971 L_2B0B2BA8: 972 eax = MEM32(ebp + (-0x20)); /* 0x2B0B2BA8: mov eax, dword ptr [ebp - 0x20] */ 973 PUSH32(esp, eax); /* 0x2B0B2BAB: push eax */ 974 ecx = MEM32(ebp + (-0x28)); /* 0x2B0B2BAC: mov ecx, dword ptr [ebp - 0x28] */ 975 PUSH32(esp, ecx); /* 0x2B0B2BAF: push ecx */ 976 RECOMP_ICALL(0x2B0498B0u); /* 0x2B0B2BB0: call 0x2b0498b0 */ /* not lifted */ 977 RECOMP_FLAGS_IN(); 978 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 979 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 980 esp = esp + 8; /* 0x2B0B2BB5: add esp, 8 */ 981 _flag_k = FK_ADD; 982 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B2BB8: ret */ 983 RECOMP_REGS_OUT(); 984 } 985 986 void sub_2B0B2BB9(void) { 987 int _fpu_cmp = 0; 988 uint32_t _cf = 0; 989 int _df = 1; 990 uint32_t _flag_k = FK_NONE; 991 uint32_t _flag_a = 0, _flag_b = 0; 992 uint32_t _itail_tgt = 0; 993 RECOMP_REGS_LOCALS 994 RECOMP_ENTER(0x2B0B2BB9u); 995 996 goto L_2B0B2BB9; 997 L_2B0AB218: 998 { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; } 999 L_2B0B2BB9: 1000 eax = 0x2B0C00D8u; /* 0x2B0B2BB9: mov eax, 0x2b0c00d8 */ 1001 L_2B0B2BBE: 1002 RECOMP_BACKEDGE(); 1003 goto L_2B0AB218; /* 0x2B0B2BBE: jmp 0x2b0ab218 */ 1004 { RECOMP_REGS_OUT(); return; } /* end of function */ 1005 _ljump: 1006 switch (_itail_tgt) { 1007 case 0x2B0AB218u: goto L_2B0AB218; 1008 case 0x2B0B2BB9u: goto L_2B0B2BB9; 1009 case 0x2B0B2BBEu: goto L_2B0B2BBE; 1010 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1011 } 1012 RECOMP_REGS_OUT(); 1013 } 1014 1015 void sub_2B0B2BD0(void) { 1016 int _fpu_cmp = 0; 1017 uint32_t _cf = 0; 1018 int _df = 1; 1019 uint32_t _flag_k = FK_NONE; 1020 uint32_t _flag_a = 0, _flag_b = 0; 1021 uint32_t _itail_tgt = 0; 1022 RECOMP_REGS_LOCALS 1023 RECOMP_ENTER(0x2B0B2BD0u); 1024 1025 L_2B0B2BD0: 1026 eax = MEM32(ebp + (-0x14)); /* 0x2B0B2BD0: mov eax, dword ptr [ebp - 0x14] */ 1027 PUSH32(esp, eax); /* 0x2B0B2BD3: push eax */ 1028 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B2BD4: call 0x2b0ab1ba */ /* not lifted */ 1029 RECOMP_FLAGS_IN(); 1030 ecx = POP32_VAL(esp); /* 0x2B0B2BD9: pop ecx */ 1031 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B2BDA: ret */ 1032 RECOMP_REGS_OUT(); 1033 } 1034 1035 void sub_2B0B2BDB(void) { 1036 int _fpu_cmp = 0; 1037 uint32_t _cf = 0; 1038 int _df = 1; 1039 uint32_t _flag_k = FK_NONE; 1040 uint32_t _flag_a = 0, _flag_b = 0; 1041 uint32_t _itail_tgt = 0; 1042 RECOMP_REGS_LOCALS 1043 RECOMP_ENTER(0x2B0B2BDBu); 1044 1045 goto L_2B0B2BDB; 1046 L_2B0AB218: 1047 { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; } 1048 L_2B0B2BDB: 1049 eax = 0x2B0C0110u; /* 0x2B0B2BDB: mov eax, 0x2b0c0110 */ 1050 L_2B0B2BE0: 1051 RECOMP_BACKEDGE(); 1052 goto L_2B0AB218; /* 0x2B0B2BE0: jmp 0x2b0ab218 */ 1053 { RECOMP_REGS_OUT(); return; } /* end of function */ 1054 _ljump: 1055 switch (_itail_tgt) { 1056 case 0x2B0AB218u: goto L_2B0AB218; 1057 case 0x2B0B2BDBu: goto L_2B0B2BDB; 1058 case 0x2B0B2BE0u: goto L_2B0B2BE0; 1059 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1060 } 1061 RECOMP_REGS_OUT(); 1062 } 1063 1064 void sub_2B0B2BF0(void) { 1065 int _fpu_cmp = 0; 1066 uint32_t _cf = 0; 1067 int _df = 1; 1068 uint32_t _flag_k = FK_NONE; 1069 uint32_t _flag_a = 0, _flag_b = 0; 1070 uint32_t _itail_tgt = 0; 1071 RECOMP_REGS_LOCALS 1072 RECOMP_ENTER(0x2B0B2BF0u); 1073 1074 L_2B0B2BF0: 1075 ecx = ebp + (-0x28); /* 0x2B0B2BF0: lea ecx, [ebp - 0x28] */ 1076 L_2B0B2BF3: 1077 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 1078 { RECOMP_REGS_OUT(); return; } /* end of function */ 1079 _ljump: 1080 switch (_itail_tgt) { 1081 case 0x2B0B2BF0u: goto L_2B0B2BF0; 1082 case 0x2B0B2BF3u: goto L_2B0B2BF3; 1083 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1084 } 1085 RECOMP_REGS_OUT(); 1086 } 1087 1088 void sub_2B0B2BF9(void) { 1089 int _fpu_cmp = 0; 1090 uint32_t _cf = 0; 1091 int _df = 1; 1092 uint32_t _flag_k = FK_NONE; 1093 uint32_t _flag_a = 0, _flag_b = 0; 1094 uint32_t _itail_tgt = 0; 1095 RECOMP_REGS_LOCALS 1096 RECOMP_ENTER(0x2B0B2BF9u); 1097 1098 goto L_2B0B2BF9; 1099 L_2B091790: 1100 PUSH32(esp, ebp); /* 0x2B091790: push ebp */ 1101 ebp = esp; /* 0x2B091791: mov ebp, esp */ 1102 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B091793: push -1 */ 1103 PUSH32(esp, 0x2B0B2C36u); /* 0x2B091795: push 0x2b0b2c36 */ 1104 eax = MEM32(FS_BASE + (0)); /* 0x2B09179A: mov eax, dword ptr fs:[0] */ 1105 PUSH32(esp, eax); /* 0x2B0917A0: push eax */ 1106 MEM32(FS_BASE + (0)) = esp; /* 0x2B0917A1: mov dword ptr fs:[0], esp */ 1107 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1108 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1109 esp = esp - 8; /* 0x2B0917A8: sub esp, 8 */ 1110 _flag_k = FK_CMP; 1111 PUSH32(esp, ebx); /* 0x2B0917AB: push ebx */ 1112 PUSH32(esp, esi); /* 0x2B0917AC: push esi */ 1113 esi = ecx; /* 0x2B0917AD: mov esi, ecx */ 1114 PUSH32(esp, edi); /* 0x2B0917AF: push edi */ 1115 MEM32(ebp + (-0x10)) = esi; /* 0x2B0917B0: mov dword ptr [ebp - 0x10], esi */ 1116 MEM32(esi) = 0x2B0B71A8u; /* 0x2B0917B3: mov dword ptr [esi], 0x2b0b71a8 */ 1117 MEM32(ebp + (-0x4)) = 1; /* 0x2B0917B9: mov dword ptr [ebp - 4], 1 */ 1118 RECOMP_ICALL(MEM32(0x2B0B5454)); /* 0x2B0917C0: call dword ptr [0x2b0b5454] */ 1119 RECOMP_FLAGS_IN(); 1120 eax = MEM32(esi + 0x34); /* 0x2B0917C6: mov eax, dword ptr [esi + 0x34] */ 1121 PUSH32(esp, eax); /* 0x2B0917C9: push eax */ 1122 MEM32(ebp + (-0x10)) = eax; /* 0x2B0917CA: mov dword ptr [ebp - 0x10], eax */ 1123 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0917CD: call 0x2b0ab1ba */ /* not lifted */ 1124 RECOMP_FLAGS_IN(); 1125 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1126 ebx = 0; /* 0x2B0917D2: xor ebx, ebx */ 1127 _cf = 0; 1128 _flag_k = FK_TEST; 1129 MEM32(esi + 0x34) = ebx; /* 0x2B0917D4: mov dword ptr [esi + 0x34], ebx */ 1130 MEM32(esi + 0x38) = ebx; /* 0x2B0917D7: mov dword ptr [esi + 0x38], ebx */ 1131 MEM32(esi + 0x3C) = ebx; /* 0x2B0917DA: mov dword ptr [esi + 0x3c], ebx */ 1132 edi = MEM32(esi + 0x8); /* 0x2B0917DD: mov edi, dword ptr [esi + 8] */ 1133 ecx = MEM32(esi + 0x14); /* 0x2B0917E0: mov ecx, dword ptr [esi + 0x14] */ 1134 eax = MEM32(edi); /* 0x2B0917E3: mov eax, dword ptr [edi] */ 1135 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(4); 1136 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1137 esi = esi + 4; /* 0x2B0917E5: add esi, 4 */ 1138 _flag_k = FK_ADD; 1139 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1140 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1141 esp = esp + 4; /* 0x2B0917E8: add esp, 4 */ 1142 _flag_k = FK_ADD; 1143 /* cmp ecx, ebx */ /* 0x2B0917EB: cmp ecx, ebx */ 1144 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 1145 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1146 _flag_k = FK_CMP; 1147 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B0917ED: mov dword ptr [ebp - 4], 0xffffffff */ 1148 MEM32(ebp + (-0x10)) = eax; /* 0x2B0917F4: mov dword ptr [ebp - 0x10], eax */ 1149 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091827; /* 0x2B0917F7: je 0x2b091827 */ 1150 L_2B0917F9: 1151 ecx = eax; /* 0x2B0917F9: mov ecx, eax */ 1152 /* cmp eax, ecx */ /* 0x2B0917FB: cmp eax, ecx */ 1153 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1154 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1155 _flag_k = FK_CMP; 1156 if (CMP_NE(_flag_a, _flag_b)) goto L_2B091827; /* 0x2B0917FD: jne 0x2b091827 */ 1157 L_2B0917FF: 1158 /* cmp edi, edi */ /* 0x2B0917FF: cmp edi, edi */ 1159 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 1160 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1161 _flag_k = FK_CMP; 1162 if (CMP_NE(_flag_a, _flag_b)) goto L_2B091827; /* 0x2B091801: jne 0x2b091827 */ 1163 L_2B091803: 1164 eax = MEM32(edi + 0x4); /* 0x2B091803: mov eax, dword ptr [edi + 4] */ 1165 PUSH32(esp, eax); /* 0x2B091806: push eax */ 1166 ecx = esi; /* 0x2B091807: mov ecx, esi */ 1167 RECOMP_ICALL(0x2B092520u); /* 0x2B091809: call 0x2b092520 */ /* not lifted */ 1168 RECOMP_FLAGS_IN(); 1169 ecx = MEM32(esi + 0x4); /* 0x2B09180E: mov ecx, dword ptr [esi + 4] */ 1170 edx = MEM32(esi + 0x8); /* 0x2B091811: mov edx, dword ptr [esi + 8] */ 1171 MEM32(ecx + 0x4) = edx; /* 0x2B091814: mov dword ptr [ecx + 4], edx */ 1172 eax = MEM32(esi + 0x4); /* 0x2B091817: mov eax, dword ptr [esi + 4] */ 1173 MEM32(esi + 0x10) = ebx; /* 0x2B09181A: mov dword ptr [esi + 0x10], ebx */ 1174 MEM32(eax) = eax; /* 0x2B09181D: mov dword ptr [eax], eax */ 1175 eax = MEM32(esi + 0x4); /* 0x2B09181F: mov eax, dword ptr [esi + 4] */ 1176 MEM32(eax + 0x8) = eax; /* 0x2B091822: mov dword ptr [eax + 8], eax */ 1177 goto L_2B09184A; /* 0x2B091825: jmp 0x2b09184a */ 1178 L_2B091827: 1179 /* cmp eax, edi */ /* 0x2B091827: cmp eax, edi */ 1180 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1181 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1182 _flag_k = FK_CMP; 1183 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09184A; /* 0x2B091829: je 0x2b09184a */ 1184 L_2B09182B: 1185 ecx = ebp + (-0x10); /* 0x2B09182B: lea ecx, [ebp - 0x10] */ 1186 ebx = eax; /* 0x2B09182E: mov ebx, eax */ 1187 RECOMP_ICALL(0x2B02A660u); /* 0x2B091830: call 0x2b02a660 */ /* not lifted */ 1188 RECOMP_FLAGS_IN(); 1189 PUSH32(esp, ebx); /* 0x2B091835: push ebx */ 1190 eax = ebp + (-0x14); /* 0x2B091836: lea eax, [ebp - 0x14] */ 1191 PUSH32(esp, eax); /* 0x2B091839: push eax */ 1192 ecx = esi; /* 0x2B09183A: mov ecx, esi */ 1193 RECOMP_ICALL(0x2B092150u); /* 0x2B09183C: call 0x2b092150 */ /* not lifted */ 1194 RECOMP_FLAGS_IN(); 1195 eax = MEM32(ebp + (-0x10)); /* 0x2B091841: mov eax, dword ptr [ebp - 0x10] */ 1196 /* cmp eax, edi */ /* 0x2B091844: cmp eax, edi */ 1197 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1198 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1199 _flag_k = FK_CMP; 1200 RECOMP_BACKEDGE(); 1201 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09182B; /* 0x2B091846: jne 0x2b09182b */ 1202 L_2B091848: 1203 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1204 ebx = 0; /* 0x2B091848: xor ebx, ebx */ 1205 _cf = 0; 1206 _flag_k = FK_TEST; 1207 L_2B09184A: 1208 ecx = MEM32(esi + 0x4); /* 0x2B09184A: mov ecx, dword ptr [esi + 4] */ 1209 PUSH32(esp, ecx); /* 0x2B09184D: push ecx */ 1210 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09184E: call 0x2b0ab1ba */ /* not lifted */ 1211 RECOMP_FLAGS_IN(); 1212 edx = MEM32(esi + 0x8); /* 0x2B091853: mov edx, dword ptr [esi + 8] */ 1213 PUSH32(esp, edx); /* 0x2B091856: push edx */ 1214 MEM32(esi + 0x4) = ebx; /* 0x2B091857: mov dword ptr [esi + 4], ebx */ 1215 MEM32(esi + 0x10) = ebx; /* 0x2B09185A: mov dword ptr [esi + 0x10], ebx */ 1216 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09185D: call 0x2b0ab1ba */ /* not lifted */ 1217 RECOMP_FLAGS_IN(); 1218 ecx = MEM32(ebp + (-0xC)); /* 0x2B091862: mov ecx, dword ptr [ebp - 0xc] */ 1219 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1220 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1221 esp = esp + 8; /* 0x2B091865: add esp, 8 */ 1222 _flag_k = FK_ADD; 1223 MEM32(esi + 0x8) = ebx; /* 0x2B091868: mov dword ptr [esi + 8], ebx */ 1224 edi = POP32_VAL(esp); /* 0x2B09186B: pop edi */ 1225 esi = POP32_VAL(esp); /* 0x2B09186C: pop esi */ 1226 ebx = POP32_VAL(esp); /* 0x2B09186D: pop ebx */ 1227 MEM32(FS_BASE + (0)) = ecx; /* 0x2B09186E: mov dword ptr fs:[0], ecx */ 1228 esp = ebp; /* 0x2B091875: mov esp, ebp */ 1229 ebp = POP32_VAL(esp); /* 0x2B091877: pop ebp */ 1230 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B091878: ret */ 1231 L_2B0B2BF9: 1232 ecx = ebp + (-0x68); /* 0x2B0B2BF9: lea ecx, [ebp - 0x68] */ 1233 RECOMP_BACKEDGE(); 1234 goto L_2B091790; /* 0x2B0B2BFC: jmp 0x2b091790 */ 1235 { RECOMP_REGS_OUT(); return; } /* end of function */ 1236 RECOMP_REGS_OUT(); 1237 } 1238 1239 void sub_2B0B2C01(void) { 1240 int _fpu_cmp = 0; 1241 uint32_t _cf = 0; 1242 int _df = 1; 1243 uint32_t _flag_k = FK_NONE; 1244 uint32_t _flag_a = 0, _flag_b = 0; 1245 uint32_t _itail_tgt = 0; 1246 RECOMP_REGS_LOCALS 1247 RECOMP_ENTER(0x2B0B2C01u); 1248 1249 goto L_2B0B2C01; 1250 L_2B0918B0: 1251 PUSH32(esp, ebp); /* 0x2B0918B0: push ebp */ 1252 ebp = esp; /* 0x2B0918B1: mov ebp, esp */ 1253 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1254 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1255 esp = esp - 8; /* 0x2B0918B3: sub esp, 8 */ 1256 _flag_k = FK_CMP; 1257 PUSH32(esp, ebx); /* 0x2B0918B6: push ebx */ 1258 PUSH32(esp, esi); /* 0x2B0918B7: push esi */ 1259 esi = ecx; /* 0x2B0918B8: mov esi, ecx */ 1260 ecx = MEM32(esi + 0x10); /* 0x2B0918BA: mov ecx, dword ptr [esi + 0x10] */ 1261 /* test ecx, ecx */ /* 0x2B0918BD: test ecx, ecx */ 1262 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1263 _cf = 0; 1264 _flag_k = FK_TEST; 1265 PUSH32(esp, edi); /* 0x2B0918BF: push edi */ 1266 edi = MEM32(esi + 0x4); /* 0x2B0918C0: mov edi, dword ptr [esi + 4] */ 1267 eax = MEM32(edi); /* 0x2B0918C3: mov eax, dword ptr [edi] */ 1268 MEM32(ebp + (-0x4)) = eax; /* 0x2B0918C5: mov dword ptr [ebp - 4], eax */ 1269 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09192F; /* 0x2B0918C8: je 0x2b09192f */ 1270 L_2B0918CA: 1271 ecx = eax; /* 0x2B0918CA: mov ecx, eax */ 1272 /* cmp eax, ecx */ /* 0x2B0918CC: cmp eax, ecx */ 1273 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1274 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1275 _flag_k = FK_CMP; 1276 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09192F; /* 0x2B0918CE: jne 0x2b09192f */ 1277 L_2B0918D0: 1278 /* cmp edi, edi */ /* 0x2B0918D0: cmp edi, edi */ 1279 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 1280 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1281 _flag_k = FK_CMP; 1282 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09192F; /* 0x2B0918D2: jne 0x2b09192f */ 1283 L_2B0918D4: 1284 ebx = MEM32(edi + 0x4); /* 0x2B0918D4: mov ebx, dword ptr [edi + 4] */ 1285 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2B0918D7: cmp ebx, dword ptr [esi + 8] */ 1286 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1287 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1288 _flag_k = FK_CMP; 1289 edi = ebx; /* 0x2B0918DA: mov edi, ebx */ 1290 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091907; /* 0x2B0918DC: je 0x2b091907 */ 1291 L_2B0918DE: 1292 eax = MEM32(edi + 0x8); /* 0x2B0918DE: mov eax, dword ptr [edi + 8] */ 1293 PUSH32(esp, eax); /* 0x2B0918E1: push eax */ 1294 ecx = esi; /* 0x2B0918E2: mov ecx, esi */ 1295 RECOMP_ICALL(0x2B092520u); /* 0x2B0918E4: call 0x2b092520 */ /* not lifted */ 1296 RECOMP_FLAGS_IN(); 1297 edi = MEM32(edi); /* 0x2B0918E9: mov edi, dword ptr [edi] */ 1298 PUSH32(esp, 0); /* 0x2B0918EB: push 0 */ 1299 ecx = ebx + 0xC; /* 0x2B0918ED: lea ecx, [ebx + 0xc] */ 1300 RECOMP_ICALL(0x2B092570u); /* 0x2B0918F0: call 0x2b092570 */ /* not lifted */ 1301 RECOMP_FLAGS_IN(); 1302 PUSH32(esp, ebx); /* 0x2B0918F5: push ebx */ 1303 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0918F6: call 0x2b0ab1ba */ /* not lifted */ 1304 RECOMP_FLAGS_IN(); 1305 eax = MEM32(esi + 0x8); /* 0x2B0918FB: mov eax, dword ptr [esi + 8] */ 1306 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1307 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1308 esp = esp + 4; /* 0x2B0918FE: add esp, 4 */ 1309 _flag_k = FK_ADD; 1310 /* cmp edi, eax */ /* 0x2B091901: cmp edi, eax */ 1311 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 1312 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1313 _flag_k = FK_CMP; 1314 ebx = edi; /* 0x2B091903: mov ebx, edi */ 1315 RECOMP_BACKEDGE(); 1316 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0918DE; /* 0x2B091905: jne 0x2b0918de */ 1317 L_2B091907: 1318 ecx = MEM32(esi + 0x4); /* 0x2B091907: mov ecx, dword ptr [esi + 4] */ 1319 edx = MEM32(esi + 0x8); /* 0x2B09190A: mov edx, dword ptr [esi + 8] */ 1320 MEM32(ecx + 0x4) = edx; /* 0x2B09190D: mov dword ptr [ecx + 4], edx */ 1321 eax = MEM32(esi + 0x4); /* 0x2B091910: mov eax, dword ptr [esi + 4] */ 1322 MEM32(esi + 0x10) = 0; /* 0x2B091913: mov dword ptr [esi + 0x10], 0 */ 1323 MEM32(eax) = eax; /* 0x2B09191A: mov dword ptr [eax], eax */ 1324 eax = MEM32(esi + 0x4); /* 0x2B09191C: mov eax, dword ptr [esi + 4] */ 1325 MEM32(eax + 0x8) = eax; /* 0x2B09191F: mov dword ptr [eax + 8], eax */ 1326 eax = ebp + (-0x8); /* 0x2B091922: lea eax, [ebp - 8] */ 1327 PUSH32(esp, eax); /* 0x2B091925: push eax */ 1328 ecx = esi; /* 0x2B091926: mov ecx, esi */ 1329 RECOMP_ICALL(0x2B018B60u); /* 0x2B091928: call 0x2b018b60 */ /* not lifted */ 1330 RECOMP_FLAGS_IN(); 1331 goto L_2B091950; /* 0x2B09192D: jmp 0x2b091950 */ 1332 L_2B09192F: 1333 /* cmp eax, edi */ /* 0x2B09192F: cmp eax, edi */ 1334 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1335 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1336 _flag_k = FK_CMP; 1337 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091950; /* 0x2B091931: je 0x2b091950 */ 1338 L_2B091933: 1339 ecx = ebp + (-0x4); /* 0x2B091933: lea ecx, [ebp - 4] */ 1340 ebx = eax; /* 0x2B091936: mov ebx, eax */ 1341 RECOMP_ICALL(0x2B02A660u); /* 0x2B091938: call 0x2b02a660 */ /* not lifted */ 1342 RECOMP_FLAGS_IN(); 1343 PUSH32(esp, ebx); /* 0x2B09193D: push ebx */ 1344 ecx = ebp + (-0x8); /* 0x2B09193E: lea ecx, [ebp - 8] */ 1345 PUSH32(esp, ecx); /* 0x2B091941: push ecx */ 1346 ecx = esi; /* 0x2B091942: mov ecx, esi */ 1347 RECOMP_ICALL(0x2B092150u); /* 0x2B091944: call 0x2b092150 */ /* not lifted */ 1348 RECOMP_FLAGS_IN(); 1349 eax = MEM32(ebp + (-0x4)); /* 0x2B091949: mov eax, dword ptr [ebp - 4] */ 1350 /* cmp eax, edi */ /* 0x2B09194C: cmp eax, edi */ 1351 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1352 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1353 _flag_k = FK_CMP; 1354 RECOMP_BACKEDGE(); 1355 if (CMP_NE(_flag_a, _flag_b)) goto L_2B091933; /* 0x2B09194E: jne 0x2b091933 */ 1356 L_2B091950: 1357 edx = MEM32(esi + 0x4); /* 0x2B091950: mov edx, dword ptr [esi + 4] */ 1358 PUSH32(esp, edx); /* 0x2B091953: push edx */ 1359 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B091954: call 0x2b0ab1ba */ /* not lifted */ 1360 RECOMP_FLAGS_IN(); 1361 eax = MEM32(esi + 0x8); /* 0x2B091959: mov eax, dword ptr [esi + 8] */ 1362 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1363 edi = 0; /* 0x2B09195C: xor edi, edi */ 1364 _cf = 0; 1365 _flag_k = FK_TEST; 1366 PUSH32(esp, eax); /* 0x2B09195E: push eax */ 1367 MEM32(esi + 0x4) = edi; /* 0x2B09195F: mov dword ptr [esi + 4], edi */ 1368 MEM32(esi + 0x10) = edi; /* 0x2B091962: mov dword ptr [esi + 0x10], edi */ 1369 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B091965: call 0x2b0ab1ba */ /* not lifted */ 1370 RECOMP_FLAGS_IN(); 1371 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1372 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1373 esp = esp + 8; /* 0x2B09196A: add esp, 8 */ 1374 _flag_k = FK_ADD; 1375 MEM32(esi + 0x8) = edi; /* 0x2B09196D: mov dword ptr [esi + 8], edi */ 1376 edi = POP32_VAL(esp); /* 0x2B091970: pop edi */ 1377 esi = POP32_VAL(esp); /* 0x2B091971: pop esi */ 1378 ebx = POP32_VAL(esp); /* 0x2B091972: pop ebx */ 1379 esp = ebp; /* 0x2B091973: mov esp, ebp */ 1380 ebp = POP32_VAL(esp); /* 0x2B091975: pop ebp */ 1381 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B091976: ret */ 1382 L_2B0B2C01: 1383 ecx = ebp + (-0x64); /* 0x2B0B2C01: lea ecx, [ebp - 0x64] */ 1384 RECOMP_BACKEDGE(); 1385 goto L_2B0918B0; /* 0x2B0B2C04: jmp 0x2b0918b0 */ 1386 { RECOMP_REGS_OUT(); return; } /* end of function */ 1387 RECOMP_REGS_OUT(); 1388 } 1389 1390 void sub_2B0B2C09(void) { 1391 int _fpu_cmp = 0; 1392 uint32_t _cf = 0; 1393 int _df = 1; 1394 uint32_t _flag_k = FK_NONE; 1395 uint32_t _flag_a = 0, _flag_b = 0; 1396 uint32_t _itail_tgt = 0; 1397 RECOMP_REGS_LOCALS 1398 RECOMP_ENTER(0x2B0B2C09u); 1399 1400 goto L_2B0B2C09; 1401 L_2B012D80: 1402 PUSH32(esp, ebp); /* 0x2B012D80: push ebp */ 1403 ebp = esp; /* 0x2B012D81: mov ebp, esp */ 1404 PUSH32(esp, ecx); /* 0x2B012D83: push ecx */ 1405 PUSH32(esp, esi); /* 0x2B012D84: push esi */ 1406 esi = ecx; /* 0x2B012D85: mov esi, ecx */ 1407 eax = MEM32(esi + 0x4); /* 0x2B012D87: mov eax, dword ptr [esi + 4] */ 1408 PUSH32(esp, eax); /* 0x2B012D8A: push eax */ 1409 MEM32(ebp + (-0x4)) = eax; /* 0x2B012D8B: mov dword ptr [ebp - 4], eax */ 1410 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B012D8E: call 0x2b0ab1ba */ /* not lifted */ 1411 RECOMP_FLAGS_IN(); 1412 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1413 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1414 esp = esp + 4; /* 0x2B012D93: add esp, 4 */ 1415 _flag_k = FK_ADD; 1416 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1417 eax = 0; /* 0x2B012D96: xor eax, eax */ 1418 _cf = 0; 1419 _flag_k = FK_TEST; 1420 MEM32(esi + 0x4) = eax; /* 0x2B012D98: mov dword ptr [esi + 4], eax */ 1421 MEM32(esi + 0x8) = eax; /* 0x2B012D9B: mov dword ptr [esi + 8], eax */ 1422 MEM32(esi + 0xC) = eax; /* 0x2B012D9E: mov dword ptr [esi + 0xc], eax */ 1423 esi = POP32_VAL(esp); /* 0x2B012DA1: pop esi */ 1424 esp = ebp; /* 0x2B012DA2: mov esp, ebp */ 1425 ebp = POP32_VAL(esp); /* 0x2B012DA4: pop ebp */ 1426 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B012DA5: ret */ 1427 L_2B0B2C09: 1428 ecx = ebp + (-0x38); /* 0x2B0B2C09: lea ecx, [ebp - 0x38] */ 1429 RECOMP_BACKEDGE(); 1430 goto L_2B012D80; /* 0x2B0B2C0C: jmp 0x2b012d80 */ 1431 { RECOMP_REGS_OUT(); return; } /* end of function */ 1432 RECOMP_REGS_OUT(); 1433 } 1434 1435 void sub_2B0B2C11(void) { 1436 int _fpu_cmp = 0; 1437 uint32_t _cf = 0; 1438 int _df = 1; 1439 uint32_t _flag_k = FK_NONE; 1440 uint32_t _flag_a = 0, _flag_b = 0; 1441 uint32_t _itail_tgt = 0; 1442 RECOMP_REGS_LOCALS 1443 RECOMP_ENTER(0x2B0B2C11u); 1444 1445 goto L_2B0B2C11; 1446 L_2B0AB218: 1447 { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; } 1448 L_2B0B2C11: 1449 eax = 0x2B0C0138u; /* 0x2B0B2C11: mov eax, 0x2b0c0138 */ 1450 L_2B0B2C16: 1451 RECOMP_BACKEDGE(); 1452 goto L_2B0AB218; /* 0x2B0B2C16: jmp 0x2b0ab218 */ 1453 { RECOMP_REGS_OUT(); return; } /* end of function */ 1454 _ljump: 1455 switch (_itail_tgt) { 1456 case 0x2B0AB218u: goto L_2B0AB218; 1457 case 0x2B0B2C11u: goto L_2B0B2C11; 1458 case 0x2B0B2C16u: goto L_2B0B2C16; 1459 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1460 } 1461 RECOMP_REGS_OUT(); 1462 } 1463 1464 void sub_2B0B2C20(void) { 1465 int _fpu_cmp = 0; 1466 uint32_t _cf = 0; 1467 int _df = 1; 1468 uint32_t _flag_k = FK_NONE; 1469 uint32_t _flag_a = 0, _flag_b = 0; 1470 uint32_t _itail_tgt = 0; 1471 RECOMP_REGS_LOCALS 1472 RECOMP_ENTER(0x2B0B2C20u); 1473 1474 goto L_2B0B2C20; 1475 L_2B0918B0: 1476 PUSH32(esp, ebp); /* 0x2B0918B0: push ebp */ 1477 ebp = esp; /* 0x2B0918B1: mov ebp, esp */ 1478 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1479 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1480 esp = esp - 8; /* 0x2B0918B3: sub esp, 8 */ 1481 _flag_k = FK_CMP; 1482 PUSH32(esp, ebx); /* 0x2B0918B6: push ebx */ 1483 PUSH32(esp, esi); /* 0x2B0918B7: push esi */ 1484 esi = ecx; /* 0x2B0918B8: mov esi, ecx */ 1485 ecx = MEM32(esi + 0x10); /* 0x2B0918BA: mov ecx, dword ptr [esi + 0x10] */ 1486 /* test ecx, ecx */ /* 0x2B0918BD: test ecx, ecx */ 1487 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1488 _cf = 0; 1489 _flag_k = FK_TEST; 1490 PUSH32(esp, edi); /* 0x2B0918BF: push edi */ 1491 edi = MEM32(esi + 0x4); /* 0x2B0918C0: mov edi, dword ptr [esi + 4] */ 1492 eax = MEM32(edi); /* 0x2B0918C3: mov eax, dword ptr [edi] */ 1493 MEM32(ebp + (-0x4)) = eax; /* 0x2B0918C5: mov dword ptr [ebp - 4], eax */ 1494 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09192F; /* 0x2B0918C8: je 0x2b09192f */ 1495 L_2B0918CA: 1496 ecx = eax; /* 0x2B0918CA: mov ecx, eax */ 1497 /* cmp eax, ecx */ /* 0x2B0918CC: cmp eax, ecx */ 1498 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1499 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1500 _flag_k = FK_CMP; 1501 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09192F; /* 0x2B0918CE: jne 0x2b09192f */ 1502 L_2B0918D0: 1503 /* cmp edi, edi */ /* 0x2B0918D0: cmp edi, edi */ 1504 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 1505 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1506 _flag_k = FK_CMP; 1507 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09192F; /* 0x2B0918D2: jne 0x2b09192f */ 1508 L_2B0918D4: 1509 ebx = MEM32(edi + 0x4); /* 0x2B0918D4: mov ebx, dword ptr [edi + 4] */ 1510 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2B0918D7: cmp ebx, dword ptr [esi + 8] */ 1511 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1512 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1513 _flag_k = FK_CMP; 1514 edi = ebx; /* 0x2B0918DA: mov edi, ebx */ 1515 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091907; /* 0x2B0918DC: je 0x2b091907 */ 1516 L_2B0918DE: 1517 eax = MEM32(edi + 0x8); /* 0x2B0918DE: mov eax, dword ptr [edi + 8] */ 1518 PUSH32(esp, eax); /* 0x2B0918E1: push eax */ 1519 ecx = esi; /* 0x2B0918E2: mov ecx, esi */ 1520 RECOMP_ICALL(0x2B092520u); /* 0x2B0918E4: call 0x2b092520 */ /* not lifted */ 1521 RECOMP_FLAGS_IN(); 1522 edi = MEM32(edi); /* 0x2B0918E9: mov edi, dword ptr [edi] */ 1523 PUSH32(esp, 0); /* 0x2B0918EB: push 0 */ 1524 ecx = ebx + 0xC; /* 0x2B0918ED: lea ecx, [ebx + 0xc] */ 1525 RECOMP_ICALL(0x2B092570u); /* 0x2B0918F0: call 0x2b092570 */ /* not lifted */ 1526 RECOMP_FLAGS_IN(); 1527 PUSH32(esp, ebx); /* 0x2B0918F5: push ebx */ 1528 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0918F6: call 0x2b0ab1ba */ /* not lifted */ 1529 RECOMP_FLAGS_IN(); 1530 eax = MEM32(esi + 0x8); /* 0x2B0918FB: mov eax, dword ptr [esi + 8] */ 1531 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1532 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1533 esp = esp + 4; /* 0x2B0918FE: add esp, 4 */ 1534 _flag_k = FK_ADD; 1535 /* cmp edi, eax */ /* 0x2B091901: cmp edi, eax */ 1536 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 1537 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1538 _flag_k = FK_CMP; 1539 ebx = edi; /* 0x2B091903: mov ebx, edi */ 1540 RECOMP_BACKEDGE(); 1541 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0918DE; /* 0x2B091905: jne 0x2b0918de */ 1542 L_2B091907: 1543 ecx = MEM32(esi + 0x4); /* 0x2B091907: mov ecx, dword ptr [esi + 4] */ 1544 edx = MEM32(esi + 0x8); /* 0x2B09190A: mov edx, dword ptr [esi + 8] */ 1545 MEM32(ecx + 0x4) = edx; /* 0x2B09190D: mov dword ptr [ecx + 4], edx */ 1546 eax = MEM32(esi + 0x4); /* 0x2B091910: mov eax, dword ptr [esi + 4] */ 1547 MEM32(esi + 0x10) = 0; /* 0x2B091913: mov dword ptr [esi + 0x10], 0 */ 1548 MEM32(eax) = eax; /* 0x2B09191A: mov dword ptr [eax], eax */ 1549 eax = MEM32(esi + 0x4); /* 0x2B09191C: mov eax, dword ptr [esi + 4] */ 1550 MEM32(eax + 0x8) = eax; /* 0x2B09191F: mov dword ptr [eax + 8], eax */ 1551 eax = ebp + (-0x8); /* 0x2B091922: lea eax, [ebp - 8] */ 1552 PUSH32(esp, eax); /* 0x2B091925: push eax */ 1553 ecx = esi; /* 0x2B091926: mov ecx, esi */ 1554 RECOMP_ICALL(0x2B018B60u); /* 0x2B091928: call 0x2b018b60 */ /* not lifted */ 1555 RECOMP_FLAGS_IN(); 1556 goto L_2B091950; /* 0x2B09192D: jmp 0x2b091950 */ 1557 L_2B09192F: 1558 /* cmp eax, edi */ /* 0x2B09192F: cmp eax, edi */ 1559 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1560 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1561 _flag_k = FK_CMP; 1562 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091950; /* 0x2B091931: je 0x2b091950 */ 1563 L_2B091933: 1564 ecx = ebp + (-0x4); /* 0x2B091933: lea ecx, [ebp - 4] */ 1565 ebx = eax; /* 0x2B091936: mov ebx, eax */ 1566 RECOMP_ICALL(0x2B02A660u); /* 0x2B091938: call 0x2b02a660 */ /* not lifted */ 1567 RECOMP_FLAGS_IN(); 1568 PUSH32(esp, ebx); /* 0x2B09193D: push ebx */ 1569 ecx = ebp + (-0x8); /* 0x2B09193E: lea ecx, [ebp - 8] */ 1570 PUSH32(esp, ecx); /* 0x2B091941: push ecx */ 1571 ecx = esi; /* 0x2B091942: mov ecx, esi */ 1572 RECOMP_ICALL(0x2B092150u); /* 0x2B091944: call 0x2b092150 */ /* not lifted */ 1573 RECOMP_FLAGS_IN(); 1574 eax = MEM32(ebp + (-0x4)); /* 0x2B091949: mov eax, dword ptr [ebp - 4] */ 1575 /* cmp eax, edi */ /* 0x2B09194C: cmp eax, edi */ 1576 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1577 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1578 _flag_k = FK_CMP; 1579 RECOMP_BACKEDGE(); 1580 if (CMP_NE(_flag_a, _flag_b)) goto L_2B091933; /* 0x2B09194E: jne 0x2b091933 */ 1581 L_2B091950: 1582 edx = MEM32(esi + 0x4); /* 0x2B091950: mov edx, dword ptr [esi + 4] */ 1583 PUSH32(esp, edx); /* 0x2B091953: push edx */ 1584 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B091954: call 0x2b0ab1ba */ /* not lifted */ 1585 RECOMP_FLAGS_IN(); 1586 eax = MEM32(esi + 0x8); /* 0x2B091959: mov eax, dword ptr [esi + 8] */ 1587 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1588 edi = 0; /* 0x2B09195C: xor edi, edi */ 1589 _cf = 0; 1590 _flag_k = FK_TEST; 1591 PUSH32(esp, eax); /* 0x2B09195E: push eax */ 1592 MEM32(esi + 0x4) = edi; /* 0x2B09195F: mov dword ptr [esi + 4], edi */ 1593 MEM32(esi + 0x10) = edi; /* 0x2B091962: mov dword ptr [esi + 0x10], edi */ 1594 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B091965: call 0x2b0ab1ba */ /* not lifted */ 1595 RECOMP_FLAGS_IN(); 1596 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1597 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1598 esp = esp + 8; /* 0x2B09196A: add esp, 8 */ 1599 _flag_k = FK_ADD; 1600 MEM32(esi + 0x8) = edi; /* 0x2B09196D: mov dword ptr [esi + 8], edi */ 1601 edi = POP32_VAL(esp); /* 0x2B091970: pop edi */ 1602 esi = POP32_VAL(esp); /* 0x2B091971: pop esi */ 1603 ebx = POP32_VAL(esp); /* 0x2B091972: pop ebx */ 1604 esp = ebp; /* 0x2B091973: mov esp, ebp */ 1605 ebp = POP32_VAL(esp); /* 0x2B091975: pop ebp */ 1606 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B091976: ret */ 1607 L_2B0B2C20: 1608 ecx = MEM32(ebp + (-0x10)); /* 0x2B0B2C20: mov ecx, dword ptr [ebp - 0x10] */ 1609 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(4); 1610 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1611 ecx = ecx + 4; /* 0x2B0B2C23: add ecx, 4 */ 1612 _flag_k = FK_ADD; 1613 RECOMP_BACKEDGE(); 1614 goto L_2B0918B0; /* 0x2B0B2C26: jmp 0x2b0918b0 */ 1615 { RECOMP_REGS_OUT(); return; } /* end of function */ 1616 RECOMP_REGS_OUT(); 1617 } 1618 1619 void sub_2B0B2C2B(void) { 1620 int _fpu_cmp = 0; 1621 uint32_t _cf = 0; 1622 int _df = 1; 1623 uint32_t _flag_k = FK_NONE; 1624 uint32_t _flag_a = 0, _flag_b = 0; 1625 uint32_t _itail_tgt = 0; 1626 RECOMP_REGS_LOCALS 1627 RECOMP_ENTER(0x2B0B2C2Bu); 1628 1629 goto L_2B0B2C2B; 1630 L_2B012D80: 1631 PUSH32(esp, ebp); /* 0x2B012D80: push ebp */ 1632 ebp = esp; /* 0x2B012D81: mov ebp, esp */ 1633 PUSH32(esp, ecx); /* 0x2B012D83: push ecx */ 1634 PUSH32(esp, esi); /* 0x2B012D84: push esi */ 1635 esi = ecx; /* 0x2B012D85: mov esi, ecx */ 1636 eax = MEM32(esi + 0x4); /* 0x2B012D87: mov eax, dword ptr [esi + 4] */ 1637 PUSH32(esp, eax); /* 0x2B012D8A: push eax */ 1638 MEM32(ebp + (-0x4)) = eax; /* 0x2B012D8B: mov dword ptr [ebp - 4], eax */ 1639 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B012D8E: call 0x2b0ab1ba */ /* not lifted */ 1640 RECOMP_FLAGS_IN(); 1641 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1642 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1643 esp = esp + 4; /* 0x2B012D93: add esp, 4 */ 1644 _flag_k = FK_ADD; 1645 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1646 eax = 0; /* 0x2B012D96: xor eax, eax */ 1647 _cf = 0; 1648 _flag_k = FK_TEST; 1649 MEM32(esi + 0x4) = eax; /* 0x2B012D98: mov dword ptr [esi + 4], eax */ 1650 MEM32(esi + 0x8) = eax; /* 0x2B012D9B: mov dword ptr [esi + 8], eax */ 1651 MEM32(esi + 0xC) = eax; /* 0x2B012D9E: mov dword ptr [esi + 0xc], eax */ 1652 esi = POP32_VAL(esp); /* 0x2B012DA1: pop esi */ 1653 esp = ebp; /* 0x2B012DA2: mov esp, ebp */ 1654 ebp = POP32_VAL(esp); /* 0x2B012DA4: pop ebp */ 1655 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B012DA5: ret */ 1656 L_2B0B2C2B: 1657 ecx = MEM32(ebp + (-0x10)); /* 0x2B0B2C2B: mov ecx, dword ptr [ebp - 0x10] */ 1658 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x30u); 1659 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1660 ecx = ecx + 0x30u; /* 0x2B0B2C2E: add ecx, 0x30 */ 1661 _flag_k = FK_ADD; 1662 RECOMP_BACKEDGE(); 1663 goto L_2B012D80; /* 0x2B0B2C31: jmp 0x2b012d80 */ 1664 { RECOMP_REGS_OUT(); return; } /* end of function */ 1665 RECOMP_REGS_OUT(); 1666 } 1667 1668 void sub_2B0B2C36(void) { 1669 int _fpu_cmp = 0; 1670 uint32_t _cf = 0; 1671 int _df = 1; 1672 uint32_t _flag_k = FK_NONE; 1673 uint32_t _flag_a = 0, _flag_b = 0; 1674 uint32_t _itail_tgt = 0; 1675 RECOMP_REGS_LOCALS 1676 RECOMP_ENTER(0x2B0B2C36u); 1677 1678 goto L_2B0B2C36; 1679 L_2B0AB218: 1680 { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; } 1681 L_2B0B2C36: 1682 eax = 0x2B0C0178u; /* 0x2B0B2C36: mov eax, 0x2b0c0178 */ 1683 L_2B0B2C3B: 1684 RECOMP_BACKEDGE(); 1685 goto L_2B0AB218; /* 0x2B0B2C3B: jmp 0x2b0ab218 */ 1686 { RECOMP_REGS_OUT(); return; } /* end of function */ 1687 _ljump: 1688 switch (_itail_tgt) { 1689 case 0x2B0AB218u: goto L_2B0AB218; 1690 case 0x2B0B2C36u: goto L_2B0B2C36; 1691 case 0x2B0B2C3Bu: goto L_2B0B2C3B; 1692 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1693 } 1694 RECOMP_REGS_OUT(); 1695 } 1696 1697 void sub_2B0B2C40(void) { 1698 int _fpu_cmp = 0; 1699 uint32_t _cf = 0; 1700 int _df = 1; 1701 uint32_t _flag_k = FK_NONE; 1702 uint32_t _flag_a = 0, _flag_b = 0; 1703 uint32_t _itail_tgt = 0; 1704 RECOMP_REGS_LOCALS 1705 RECOMP_ENTER(0x2B0B2C40u); 1706 1707 L_2B0B2C40: 1708 ecx = ebp + (-0x28); /* 0x2B0B2C40: lea ecx, [ebp - 0x28] */ 1709 L_2B0B2C43: 1710 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 1711 { RECOMP_REGS_OUT(); return; } /* end of function */ 1712 _ljump: 1713 switch (_itail_tgt) { 1714 case 0x2B0B2C40u: goto L_2B0B2C40; 1715 case 0x2B0B2C43u: goto L_2B0B2C43; 1716 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 1717 } 1718 RECOMP_REGS_OUT(); 1719 } 1720 1721 void sub_2B0B2C49(void) { 1722 int _fpu_cmp = 0; 1723 uint32_t _cf = 0; 1724 int _df = 1; 1725 uint32_t _flag_k = FK_NONE; 1726 uint32_t _flag_a = 0, _flag_b = 0; 1727 uint32_t _itail_tgt = 0; 1728 RECOMP_REGS_LOCALS 1729 RECOMP_ENTER(0x2B0B2C49u); 1730 1731 goto L_2B0B2C49; 1732 L_2B091790: 1733 PUSH32(esp, ebp); /* 0x2B091790: push ebp */ 1734 ebp = esp; /* 0x2B091791: mov ebp, esp */ 1735 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B091793: push -1 */ 1736 PUSH32(esp, 0x2B0B2C36u); /* 0x2B091795: push 0x2b0b2c36 */ 1737 eax = MEM32(FS_BASE + (0)); /* 0x2B09179A: mov eax, dword ptr fs:[0] */ 1738 PUSH32(esp, eax); /* 0x2B0917A0: push eax */ 1739 MEM32(FS_BASE + (0)) = esp; /* 0x2B0917A1: mov dword ptr fs:[0], esp */ 1740 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1741 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1742 esp = esp - 8; /* 0x2B0917A8: sub esp, 8 */ 1743 _flag_k = FK_CMP; 1744 PUSH32(esp, ebx); /* 0x2B0917AB: push ebx */ 1745 PUSH32(esp, esi); /* 0x2B0917AC: push esi */ 1746 esi = ecx; /* 0x2B0917AD: mov esi, ecx */ 1747 PUSH32(esp, edi); /* 0x2B0917AF: push edi */ 1748 MEM32(ebp + (-0x10)) = esi; /* 0x2B0917B0: mov dword ptr [ebp - 0x10], esi */ 1749 MEM32(esi) = 0x2B0B71A8u; /* 0x2B0917B3: mov dword ptr [esi], 0x2b0b71a8 */ 1750 MEM32(ebp + (-0x4)) = 1; /* 0x2B0917B9: mov dword ptr [ebp - 4], 1 */ 1751 RECOMP_ICALL(MEM32(0x2B0B5454)); /* 0x2B0917C0: call dword ptr [0x2b0b5454] */ 1752 RECOMP_FLAGS_IN(); 1753 eax = MEM32(esi + 0x34); /* 0x2B0917C6: mov eax, dword ptr [esi + 0x34] */ 1754 PUSH32(esp, eax); /* 0x2B0917C9: push eax */ 1755 MEM32(ebp + (-0x10)) = eax; /* 0x2B0917CA: mov dword ptr [ebp - 0x10], eax */ 1756 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0917CD: call 0x2b0ab1ba */ /* not lifted */ 1757 RECOMP_FLAGS_IN(); 1758 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1759 ebx = 0; /* 0x2B0917D2: xor ebx, ebx */ 1760 _cf = 0; 1761 _flag_k = FK_TEST; 1762 MEM32(esi + 0x34) = ebx; /* 0x2B0917D4: mov dword ptr [esi + 0x34], ebx */ 1763 MEM32(esi + 0x38) = ebx; /* 0x2B0917D7: mov dword ptr [esi + 0x38], ebx */ 1764 MEM32(esi + 0x3C) = ebx; /* 0x2B0917DA: mov dword ptr [esi + 0x3c], ebx */ 1765 edi = MEM32(esi + 0x8); /* 0x2B0917DD: mov edi, dword ptr [esi + 8] */ 1766 ecx = MEM32(esi + 0x14); /* 0x2B0917E0: mov ecx, dword ptr [esi + 0x14] */ 1767 eax = MEM32(edi); /* 0x2B0917E3: mov eax, dword ptr [edi] */ 1768 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(4); 1769 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1770 esi = esi + 4; /* 0x2B0917E5: add esi, 4 */ 1771 _flag_k = FK_ADD; 1772 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1773 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1774 esp = esp + 4; /* 0x2B0917E8: add esp, 4 */ 1775 _flag_k = FK_ADD; 1776 /* cmp ecx, ebx */ /* 0x2B0917EB: cmp ecx, ebx */ 1777 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 1778 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1779 _flag_k = FK_CMP; 1780 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B0917ED: mov dword ptr [ebp - 4], 0xffffffff */ 1781 MEM32(ebp + (-0x10)) = eax; /* 0x2B0917F4: mov dword ptr [ebp - 0x10], eax */ 1782 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091827; /* 0x2B0917F7: je 0x2b091827 */ 1783 L_2B0917F9: 1784 ecx = eax; /* 0x2B0917F9: mov ecx, eax */ 1785 /* cmp eax, ecx */ /* 0x2B0917FB: cmp eax, ecx */ 1786 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1787 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1788 _flag_k = FK_CMP; 1789 if (CMP_NE(_flag_a, _flag_b)) goto L_2B091827; /* 0x2B0917FD: jne 0x2b091827 */ 1790 L_2B0917FF: 1791 /* cmp edi, edi */ /* 0x2B0917FF: cmp edi, edi */ 1792 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 1793 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1794 _flag_k = FK_CMP; 1795 if (CMP_NE(_flag_a, _flag_b)) goto L_2B091827; /* 0x2B091801: jne 0x2b091827 */ 1796 L_2B091803: 1797 eax = MEM32(edi + 0x4); /* 0x2B091803: mov eax, dword ptr [edi + 4] */ 1798 PUSH32(esp, eax); /* 0x2B091806: push eax */ 1799 ecx = esi; /* 0x2B091807: mov ecx, esi */ 1800 RECOMP_ICALL(0x2B092520u); /* 0x2B091809: call 0x2b092520 */ /* not lifted */ 1801 RECOMP_FLAGS_IN(); 1802 ecx = MEM32(esi + 0x4); /* 0x2B09180E: mov ecx, dword ptr [esi + 4] */ 1803 edx = MEM32(esi + 0x8); /* 0x2B091811: mov edx, dword ptr [esi + 8] */ 1804 MEM32(ecx + 0x4) = edx; /* 0x2B091814: mov dword ptr [ecx + 4], edx */ 1805 eax = MEM32(esi + 0x4); /* 0x2B091817: mov eax, dword ptr [esi + 4] */ 1806 MEM32(esi + 0x10) = ebx; /* 0x2B09181A: mov dword ptr [esi + 0x10], ebx */ 1807 MEM32(eax) = eax; /* 0x2B09181D: mov dword ptr [eax], eax */ 1808 eax = MEM32(esi + 0x4); /* 0x2B09181F: mov eax, dword ptr [esi + 4] */ 1809 MEM32(eax + 0x8) = eax; /* 0x2B091822: mov dword ptr [eax + 8], eax */ 1810 goto L_2B09184A; /* 0x2B091825: jmp 0x2b09184a */ 1811 L_2B091827: 1812 /* cmp eax, edi */ /* 0x2B091827: cmp eax, edi */ 1813 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1814 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1815 _flag_k = FK_CMP; 1816 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09184A; /* 0x2B091829: je 0x2b09184a */ 1817 L_2B09182B: 1818 ecx = ebp + (-0x10); /* 0x2B09182B: lea ecx, [ebp - 0x10] */ 1819 ebx = eax; /* 0x2B09182E: mov ebx, eax */ 1820 RECOMP_ICALL(0x2B02A660u); /* 0x2B091830: call 0x2b02a660 */ /* not lifted */ 1821 RECOMP_FLAGS_IN(); 1822 PUSH32(esp, ebx); /* 0x2B091835: push ebx */ 1823 eax = ebp + (-0x14); /* 0x2B091836: lea eax, [ebp - 0x14] */ 1824 PUSH32(esp, eax); /* 0x2B091839: push eax */ 1825 ecx = esi; /* 0x2B09183A: mov ecx, esi */ 1826 RECOMP_ICALL(0x2B092150u); /* 0x2B09183C: call 0x2b092150 */ /* not lifted */ 1827 RECOMP_FLAGS_IN(); 1828 eax = MEM32(ebp + (-0x10)); /* 0x2B091841: mov eax, dword ptr [ebp - 0x10] */ 1829 /* cmp eax, edi */ /* 0x2B091844: cmp eax, edi */ 1830 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1831 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1832 _flag_k = FK_CMP; 1833 RECOMP_BACKEDGE(); 1834 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09182B; /* 0x2B091846: jne 0x2b09182b */ 1835 L_2B091848: 1836 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1837 ebx = 0; /* 0x2B091848: xor ebx, ebx */ 1838 _cf = 0; 1839 _flag_k = FK_TEST; 1840 L_2B09184A: 1841 ecx = MEM32(esi + 0x4); /* 0x2B09184A: mov ecx, dword ptr [esi + 4] */ 1842 PUSH32(esp, ecx); /* 0x2B09184D: push ecx */ 1843 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09184E: call 0x2b0ab1ba */ /* not lifted */ 1844 RECOMP_FLAGS_IN(); 1845 edx = MEM32(esi + 0x8); /* 0x2B091853: mov edx, dword ptr [esi + 8] */ 1846 PUSH32(esp, edx); /* 0x2B091856: push edx */ 1847 MEM32(esi + 0x4) = ebx; /* 0x2B091857: mov dword ptr [esi + 4], ebx */ 1848 MEM32(esi + 0x10) = ebx; /* 0x2B09185A: mov dword ptr [esi + 0x10], ebx */ 1849 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09185D: call 0x2b0ab1ba */ /* not lifted */ 1850 RECOMP_FLAGS_IN(); 1851 ecx = MEM32(ebp + (-0xC)); /* 0x2B091862: mov ecx, dword ptr [ebp - 0xc] */ 1852 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1853 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1854 esp = esp + 8; /* 0x2B091865: add esp, 8 */ 1855 _flag_k = FK_ADD; 1856 MEM32(esi + 0x8) = ebx; /* 0x2B091868: mov dword ptr [esi + 8], ebx */ 1857 edi = POP32_VAL(esp); /* 0x2B09186B: pop edi */ 1858 esi = POP32_VAL(esp); /* 0x2B09186C: pop esi */ 1859 ebx = POP32_VAL(esp); /* 0x2B09186D: pop ebx */ 1860 MEM32(FS_BASE + (0)) = ecx; /* 0x2B09186E: mov dword ptr fs:[0], ecx */ 1861 esp = ebp; /* 0x2B091875: mov esp, ebp */ 1862 ebp = POP32_VAL(esp); /* 0x2B091877: pop ebp */ 1863 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B091878: ret */ 1864 L_2B0B2C49: 1865 ecx = ebp + (-0x68); /* 0x2B0B2C49: lea ecx, [ebp - 0x68] */ 1866 RECOMP_BACKEDGE(); 1867 goto L_2B091790; /* 0x2B0B2C4C: jmp 0x2b091790 */ 1868 { RECOMP_REGS_OUT(); return; } /* end of function */ 1869 RECOMP_REGS_OUT(); 1870 } 1871 1872 void sub_2B0B2C51(void) { 1873 int _fpu_cmp = 0; 1874 uint32_t _cf = 0; 1875 int _df = 1; 1876 uint32_t _flag_k = FK_NONE; 1877 uint32_t _flag_a = 0, _flag_b = 0; 1878 uint32_t _itail_tgt = 0; 1879 RECOMP_REGS_LOCALS 1880 RECOMP_ENTER(0x2B0B2C51u); 1881 1882 goto L_2B0B2C51; 1883 L_2B0918B0: 1884 PUSH32(esp, ebp); /* 0x2B0918B0: push ebp */ 1885 ebp = esp; /* 0x2B0918B1: mov ebp, esp */ 1886 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 1887 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1888 esp = esp - 8; /* 0x2B0918B3: sub esp, 8 */ 1889 _flag_k = FK_CMP; 1890 PUSH32(esp, ebx); /* 0x2B0918B6: push ebx */ 1891 PUSH32(esp, esi); /* 0x2B0918B7: push esi */ 1892 esi = ecx; /* 0x2B0918B8: mov esi, ecx */ 1893 ecx = MEM32(esi + 0x10); /* 0x2B0918BA: mov ecx, dword ptr [esi + 0x10] */ 1894 /* test ecx, ecx */ /* 0x2B0918BD: test ecx, ecx */ 1895 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 1896 _cf = 0; 1897 _flag_k = FK_TEST; 1898 PUSH32(esp, edi); /* 0x2B0918BF: push edi */ 1899 edi = MEM32(esi + 0x4); /* 0x2B0918C0: mov edi, dword ptr [esi + 4] */ 1900 eax = MEM32(edi); /* 0x2B0918C3: mov eax, dword ptr [edi] */ 1901 MEM32(ebp + (-0x4)) = eax; /* 0x2B0918C5: mov dword ptr [ebp - 4], eax */ 1902 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09192F; /* 0x2B0918C8: je 0x2b09192f */ 1903 L_2B0918CA: 1904 ecx = eax; /* 0x2B0918CA: mov ecx, eax */ 1905 /* cmp eax, ecx */ /* 0x2B0918CC: cmp eax, ecx */ 1906 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1907 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1908 _flag_k = FK_CMP; 1909 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09192F; /* 0x2B0918CE: jne 0x2b09192f */ 1910 L_2B0918D0: 1911 /* cmp edi, edi */ /* 0x2B0918D0: cmp edi, edi */ 1912 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 1913 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1914 _flag_k = FK_CMP; 1915 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09192F; /* 0x2B0918D2: jne 0x2b09192f */ 1916 L_2B0918D4: 1917 ebx = MEM32(edi + 0x4); /* 0x2B0918D4: mov ebx, dword ptr [edi + 4] */ 1918 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2B0918D7: cmp ebx, dword ptr [esi + 8] */ 1919 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1920 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1921 _flag_k = FK_CMP; 1922 edi = ebx; /* 0x2B0918DA: mov edi, ebx */ 1923 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091907; /* 0x2B0918DC: je 0x2b091907 */ 1924 L_2B0918DE: 1925 eax = MEM32(edi + 0x8); /* 0x2B0918DE: mov eax, dword ptr [edi + 8] */ 1926 PUSH32(esp, eax); /* 0x2B0918E1: push eax */ 1927 ecx = esi; /* 0x2B0918E2: mov ecx, esi */ 1928 RECOMP_ICALL(0x2B092520u); /* 0x2B0918E4: call 0x2b092520 */ /* not lifted */ 1929 RECOMP_FLAGS_IN(); 1930 edi = MEM32(edi); /* 0x2B0918E9: mov edi, dword ptr [edi] */ 1931 PUSH32(esp, 0); /* 0x2B0918EB: push 0 */ 1932 ecx = ebx + 0xC; /* 0x2B0918ED: lea ecx, [ebx + 0xc] */ 1933 RECOMP_ICALL(0x2B092570u); /* 0x2B0918F0: call 0x2b092570 */ /* not lifted */ 1934 RECOMP_FLAGS_IN(); 1935 PUSH32(esp, ebx); /* 0x2B0918F5: push ebx */ 1936 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0918F6: call 0x2b0ab1ba */ /* not lifted */ 1937 RECOMP_FLAGS_IN(); 1938 eax = MEM32(esi + 0x8); /* 0x2B0918FB: mov eax, dword ptr [esi + 8] */ 1939 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1940 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1941 esp = esp + 4; /* 0x2B0918FE: add esp, 4 */ 1942 _flag_k = FK_ADD; 1943 /* cmp edi, eax */ /* 0x2B091901: cmp edi, eax */ 1944 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 1945 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1946 _flag_k = FK_CMP; 1947 ebx = edi; /* 0x2B091903: mov ebx, edi */ 1948 RECOMP_BACKEDGE(); 1949 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0918DE; /* 0x2B091905: jne 0x2b0918de */ 1950 L_2B091907: 1951 ecx = MEM32(esi + 0x4); /* 0x2B091907: mov ecx, dword ptr [esi + 4] */ 1952 edx = MEM32(esi + 0x8); /* 0x2B09190A: mov edx, dword ptr [esi + 8] */ 1953 MEM32(ecx + 0x4) = edx; /* 0x2B09190D: mov dword ptr [ecx + 4], edx */ 1954 eax = MEM32(esi + 0x4); /* 0x2B091910: mov eax, dword ptr [esi + 4] */ 1955 MEM32(esi + 0x10) = 0; /* 0x2B091913: mov dword ptr [esi + 0x10], 0 */ 1956 MEM32(eax) = eax; /* 0x2B09191A: mov dword ptr [eax], eax */ 1957 eax = MEM32(esi + 0x4); /* 0x2B09191C: mov eax, dword ptr [esi + 4] */ 1958 MEM32(eax + 0x8) = eax; /* 0x2B09191F: mov dword ptr [eax + 8], eax */ 1959 eax = ebp + (-0x8); /* 0x2B091922: lea eax, [ebp - 8] */ 1960 PUSH32(esp, eax); /* 0x2B091925: push eax */ 1961 ecx = esi; /* 0x2B091926: mov ecx, esi */ 1962 RECOMP_ICALL(0x2B018B60u); /* 0x2B091928: call 0x2b018b60 */ /* not lifted */ 1963 RECOMP_FLAGS_IN(); 1964 goto L_2B091950; /* 0x2B09192D: jmp 0x2b091950 */ 1965 L_2B09192F: 1966 /* cmp eax, edi */ /* 0x2B09192F: cmp eax, edi */ 1967 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1968 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1969 _flag_k = FK_CMP; 1970 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091950; /* 0x2B091931: je 0x2b091950 */ 1971 L_2B091933: 1972 ecx = ebp + (-0x4); /* 0x2B091933: lea ecx, [ebp - 4] */ 1973 ebx = eax; /* 0x2B091936: mov ebx, eax */ 1974 RECOMP_ICALL(0x2B02A660u); /* 0x2B091938: call 0x2b02a660 */ /* not lifted */ 1975 RECOMP_FLAGS_IN(); 1976 PUSH32(esp, ebx); /* 0x2B09193D: push ebx */ 1977 ecx = ebp + (-0x8); /* 0x2B09193E: lea ecx, [ebp - 8] */ 1978 PUSH32(esp, ecx); /* 0x2B091941: push ecx */ 1979 ecx = esi; /* 0x2B091942: mov ecx, esi */ 1980 RECOMP_ICALL(0x2B092150u); /* 0x2B091944: call 0x2b092150 */ /* not lifted */ 1981 RECOMP_FLAGS_IN(); 1982 eax = MEM32(ebp + (-0x4)); /* 0x2B091949: mov eax, dword ptr [ebp - 4] */ 1983 /* cmp eax, edi */ /* 0x2B09194C: cmp eax, edi */ 1984 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 1985 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1986 _flag_k = FK_CMP; 1987 RECOMP_BACKEDGE(); 1988 if (CMP_NE(_flag_a, _flag_b)) goto L_2B091933; /* 0x2B09194E: jne 0x2b091933 */ 1989 L_2B091950: 1990 edx = MEM32(esi + 0x4); /* 0x2B091950: mov edx, dword ptr [esi + 4] */ 1991 PUSH32(esp, edx); /* 0x2B091953: push edx */ 1992 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B091954: call 0x2b0ab1ba */ /* not lifted */ 1993 RECOMP_FLAGS_IN(); 1994 eax = MEM32(esi + 0x8); /* 0x2B091959: mov eax, dword ptr [esi + 8] */ 1995 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1996 edi = 0; /* 0x2B09195C: xor edi, edi */ 1997 _cf = 0; 1998 _flag_k = FK_TEST; 1999 PUSH32(esp, eax); /* 0x2B09195E: push eax */ 2000 MEM32(esi + 0x4) = edi; /* 0x2B09195F: mov dword ptr [esi + 4], edi */ 2001 MEM32(esi + 0x10) = edi; /* 0x2B091962: mov dword ptr [esi + 0x10], edi */ 2002 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B091965: call 0x2b0ab1ba */ /* not lifted */ 2003 RECOMP_FLAGS_IN(); 2004 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2005 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2006 esp = esp + 8; /* 0x2B09196A: add esp, 8 */ 2007 _flag_k = FK_ADD; 2008 MEM32(esi + 0x8) = edi; /* 0x2B09196D: mov dword ptr [esi + 8], edi */ 2009 edi = POP32_VAL(esp); /* 0x2B091970: pop edi */ 2010 esi = POP32_VAL(esp); /* 0x2B091971: pop esi */ 2011 ebx = POP32_VAL(esp); /* 0x2B091972: pop ebx */ 2012 esp = ebp; /* 0x2B091973: mov esp, ebp */ 2013 ebp = POP32_VAL(esp); /* 0x2B091975: pop ebp */ 2014 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B091976: ret */ 2015 L_2B0B2C51: 2016 ecx = ebp + (-0x64); /* 0x2B0B2C51: lea ecx, [ebp - 0x64] */ 2017 RECOMP_BACKEDGE(); 2018 goto L_2B0918B0; /* 0x2B0B2C54: jmp 0x2b0918b0 */ 2019 { RECOMP_REGS_OUT(); return; } /* end of function */ 2020 RECOMP_REGS_OUT(); 2021 } 2022 2023 void sub_2B0B2C59(void) { 2024 int _fpu_cmp = 0; 2025 uint32_t _cf = 0; 2026 int _df = 1; 2027 uint32_t _flag_k = FK_NONE; 2028 uint32_t _flag_a = 0, _flag_b = 0; 2029 uint32_t _itail_tgt = 0; 2030 RECOMP_REGS_LOCALS 2031 RECOMP_ENTER(0x2B0B2C59u); 2032 2033 goto L_2B0B2C59; 2034 L_2B012D80: 2035 PUSH32(esp, ebp); /* 0x2B012D80: push ebp */ 2036 ebp = esp; /* 0x2B012D81: mov ebp, esp */ 2037 PUSH32(esp, ecx); /* 0x2B012D83: push ecx */ 2038 PUSH32(esp, esi); /* 0x2B012D84: push esi */ 2039 esi = ecx; /* 0x2B012D85: mov esi, ecx */ 2040 eax = MEM32(esi + 0x4); /* 0x2B012D87: mov eax, dword ptr [esi + 4] */ 2041 PUSH32(esp, eax); /* 0x2B012D8A: push eax */ 2042 MEM32(ebp + (-0x4)) = eax; /* 0x2B012D8B: mov dword ptr [ebp - 4], eax */ 2043 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B012D8E: call 0x2b0ab1ba */ /* not lifted */ 2044 RECOMP_FLAGS_IN(); 2045 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2046 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2047 esp = esp + 4; /* 0x2B012D93: add esp, 4 */ 2048 _flag_k = FK_ADD; 2049 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2050 eax = 0; /* 0x2B012D96: xor eax, eax */ 2051 _cf = 0; 2052 _flag_k = FK_TEST; 2053 MEM32(esi + 0x4) = eax; /* 0x2B012D98: mov dword ptr [esi + 4], eax */ 2054 MEM32(esi + 0x8) = eax; /* 0x2B012D9B: mov dword ptr [esi + 8], eax */ 2055 MEM32(esi + 0xC) = eax; /* 0x2B012D9E: mov dword ptr [esi + 0xc], eax */ 2056 esi = POP32_VAL(esp); /* 0x2B012DA1: pop esi */ 2057 esp = ebp; /* 0x2B012DA2: mov esp, ebp */ 2058 ebp = POP32_VAL(esp); /* 0x2B012DA4: pop ebp */ 2059 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B012DA5: ret */ 2060 L_2B0B2C59: 2061 ecx = ebp + (-0x38); /* 0x2B0B2C59: lea ecx, [ebp - 0x38] */ 2062 RECOMP_BACKEDGE(); 2063 goto L_2B012D80; /* 0x2B0B2C5C: jmp 0x2b012d80 */ 2064 { RECOMP_REGS_OUT(); return; } /* end of function */ 2065 RECOMP_REGS_OUT(); 2066 } 2067 2068 void sub_2B0B2C61(void) { 2069 int _fpu_cmp = 0; 2070 uint32_t _cf = 0; 2071 int _df = 1; 2072 uint32_t _flag_k = FK_NONE; 2073 uint32_t _flag_a = 0, _flag_b = 0; 2074 uint32_t _itail_tgt = 0; 2075 RECOMP_REGS_LOCALS 2076 RECOMP_ENTER(0x2B0B2C61u); 2077 2078 goto L_2B0B2C61; 2079 L_2B0AB218: 2080 { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; } 2081 L_2B0B2C61: 2082 eax = 0x2B0C01A8u; /* 0x2B0B2C61: mov eax, 0x2b0c01a8 */ 2083 L_2B0B2C66: 2084 RECOMP_BACKEDGE(); 2085 goto L_2B0AB218; /* 0x2B0B2C66: jmp 0x2b0ab218 */ 2086 { RECOMP_REGS_OUT(); return; } /* end of function */ 2087 _ljump: 2088 switch (_itail_tgt) { 2089 case 0x2B0AB218u: goto L_2B0AB218; 2090 case 0x2B0B2C61u: goto L_2B0B2C61; 2091 case 0x2B0B2C66u: goto L_2B0B2C66; 2092 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2093 } 2094 RECOMP_REGS_OUT(); 2095 } 2096 2097 void sub_2B0B2C70(void) { 2098 int _fpu_cmp = 0; 2099 uint32_t _cf = 0; 2100 int _df = 1; 2101 uint32_t _flag_k = FK_NONE; 2102 uint32_t _flag_a = 0, _flag_b = 0; 2103 uint32_t _itail_tgt = 0; 2104 RECOMP_REGS_LOCALS 2105 RECOMP_ENTER(0x2B0B2C70u); 2106 2107 L_2B0B2C70: 2108 ecx = ebp + (-0x28); /* 0x2B0B2C70: lea ecx, [ebp - 0x28] */ 2109 L_2B0B2C73: 2110 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 2111 { RECOMP_REGS_OUT(); return; } /* end of function */ 2112 _ljump: 2113 switch (_itail_tgt) { 2114 case 0x2B0B2C70u: goto L_2B0B2C70; 2115 case 0x2B0B2C73u: goto L_2B0B2C73; 2116 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2117 } 2118 RECOMP_REGS_OUT(); 2119 } 2120 2121 void sub_2B0B2C79(void) { 2122 int _fpu_cmp = 0; 2123 uint32_t _cf = 0; 2124 int _df = 1; 2125 uint32_t _flag_k = FK_NONE; 2126 uint32_t _flag_a = 0, _flag_b = 0; 2127 uint32_t _itail_tgt = 0; 2128 RECOMP_REGS_LOCALS 2129 RECOMP_ENTER(0x2B0B2C79u); 2130 2131 goto L_2B0B2C79; 2132 L_2B091790: 2133 PUSH32(esp, ebp); /* 0x2B091790: push ebp */ 2134 ebp = esp; /* 0x2B091791: mov ebp, esp */ 2135 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B091793: push -1 */ 2136 PUSH32(esp, 0x2B0B2C36u); /* 0x2B091795: push 0x2b0b2c36 */ 2137 eax = MEM32(FS_BASE + (0)); /* 0x2B09179A: mov eax, dword ptr fs:[0] */ 2138 PUSH32(esp, eax); /* 0x2B0917A0: push eax */ 2139 MEM32(FS_BASE + (0)) = esp; /* 0x2B0917A1: mov dword ptr fs:[0], esp */ 2140 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2141 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2142 esp = esp - 8; /* 0x2B0917A8: sub esp, 8 */ 2143 _flag_k = FK_CMP; 2144 PUSH32(esp, ebx); /* 0x2B0917AB: push ebx */ 2145 PUSH32(esp, esi); /* 0x2B0917AC: push esi */ 2146 esi = ecx; /* 0x2B0917AD: mov esi, ecx */ 2147 PUSH32(esp, edi); /* 0x2B0917AF: push edi */ 2148 MEM32(ebp + (-0x10)) = esi; /* 0x2B0917B0: mov dword ptr [ebp - 0x10], esi */ 2149 MEM32(esi) = 0x2B0B71A8u; /* 0x2B0917B3: mov dword ptr [esi], 0x2b0b71a8 */ 2150 MEM32(ebp + (-0x4)) = 1; /* 0x2B0917B9: mov dword ptr [ebp - 4], 1 */ 2151 RECOMP_ICALL(MEM32(0x2B0B5454)); /* 0x2B0917C0: call dword ptr [0x2b0b5454] */ 2152 RECOMP_FLAGS_IN(); 2153 eax = MEM32(esi + 0x34); /* 0x2B0917C6: mov eax, dword ptr [esi + 0x34] */ 2154 PUSH32(esp, eax); /* 0x2B0917C9: push eax */ 2155 MEM32(ebp + (-0x10)) = eax; /* 0x2B0917CA: mov dword ptr [ebp - 0x10], eax */ 2156 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0917CD: call 0x2b0ab1ba */ /* not lifted */ 2157 RECOMP_FLAGS_IN(); 2158 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2159 ebx = 0; /* 0x2B0917D2: xor ebx, ebx */ 2160 _cf = 0; 2161 _flag_k = FK_TEST; 2162 MEM32(esi + 0x34) = ebx; /* 0x2B0917D4: mov dword ptr [esi + 0x34], ebx */ 2163 MEM32(esi + 0x38) = ebx; /* 0x2B0917D7: mov dword ptr [esi + 0x38], ebx */ 2164 MEM32(esi + 0x3C) = ebx; /* 0x2B0917DA: mov dword ptr [esi + 0x3c], ebx */ 2165 edi = MEM32(esi + 0x8); /* 0x2B0917DD: mov edi, dword ptr [esi + 8] */ 2166 ecx = MEM32(esi + 0x14); /* 0x2B0917E0: mov ecx, dword ptr [esi + 0x14] */ 2167 eax = MEM32(edi); /* 0x2B0917E3: mov eax, dword ptr [edi] */ 2168 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(4); 2169 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2170 esi = esi + 4; /* 0x2B0917E5: add esi, 4 */ 2171 _flag_k = FK_ADD; 2172 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2173 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2174 esp = esp + 4; /* 0x2B0917E8: add esp, 4 */ 2175 _flag_k = FK_ADD; 2176 /* cmp ecx, ebx */ /* 0x2B0917EB: cmp ecx, ebx */ 2177 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 2178 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2179 _flag_k = FK_CMP; 2180 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B0917ED: mov dword ptr [ebp - 4], 0xffffffff */ 2181 MEM32(ebp + (-0x10)) = eax; /* 0x2B0917F4: mov dword ptr [ebp - 0x10], eax */ 2182 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091827; /* 0x2B0917F7: je 0x2b091827 */ 2183 L_2B0917F9: 2184 ecx = eax; /* 0x2B0917F9: mov ecx, eax */ 2185 /* cmp eax, ecx */ /* 0x2B0917FB: cmp eax, ecx */ 2186 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2187 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2188 _flag_k = FK_CMP; 2189 if (CMP_NE(_flag_a, _flag_b)) goto L_2B091827; /* 0x2B0917FD: jne 0x2b091827 */ 2190 L_2B0917FF: 2191 /* cmp edi, edi */ /* 0x2B0917FF: cmp edi, edi */ 2192 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 2193 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2194 _flag_k = FK_CMP; 2195 if (CMP_NE(_flag_a, _flag_b)) goto L_2B091827; /* 0x2B091801: jne 0x2b091827 */ 2196 L_2B091803: 2197 eax = MEM32(edi + 0x4); /* 0x2B091803: mov eax, dword ptr [edi + 4] */ 2198 PUSH32(esp, eax); /* 0x2B091806: push eax */ 2199 ecx = esi; /* 0x2B091807: mov ecx, esi */ 2200 RECOMP_ICALL(0x2B092520u); /* 0x2B091809: call 0x2b092520 */ /* not lifted */ 2201 RECOMP_FLAGS_IN(); 2202 ecx = MEM32(esi + 0x4); /* 0x2B09180E: mov ecx, dword ptr [esi + 4] */ 2203 edx = MEM32(esi + 0x8); /* 0x2B091811: mov edx, dword ptr [esi + 8] */ 2204 MEM32(ecx + 0x4) = edx; /* 0x2B091814: mov dword ptr [ecx + 4], edx */ 2205 eax = MEM32(esi + 0x4); /* 0x2B091817: mov eax, dword ptr [esi + 4] */ 2206 MEM32(esi + 0x10) = ebx; /* 0x2B09181A: mov dword ptr [esi + 0x10], ebx */ 2207 MEM32(eax) = eax; /* 0x2B09181D: mov dword ptr [eax], eax */ 2208 eax = MEM32(esi + 0x4); /* 0x2B09181F: mov eax, dword ptr [esi + 4] */ 2209 MEM32(eax + 0x8) = eax; /* 0x2B091822: mov dword ptr [eax + 8], eax */ 2210 goto L_2B09184A; /* 0x2B091825: jmp 0x2b09184a */ 2211 L_2B091827: 2212 /* cmp eax, edi */ /* 0x2B091827: cmp eax, edi */ 2213 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 2214 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2215 _flag_k = FK_CMP; 2216 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09184A; /* 0x2B091829: je 0x2b09184a */ 2217 L_2B09182B: 2218 ecx = ebp + (-0x10); /* 0x2B09182B: lea ecx, [ebp - 0x10] */ 2219 ebx = eax; /* 0x2B09182E: mov ebx, eax */ 2220 RECOMP_ICALL(0x2B02A660u); /* 0x2B091830: call 0x2b02a660 */ /* not lifted */ 2221 RECOMP_FLAGS_IN(); 2222 PUSH32(esp, ebx); /* 0x2B091835: push ebx */ 2223 eax = ebp + (-0x14); /* 0x2B091836: lea eax, [ebp - 0x14] */ 2224 PUSH32(esp, eax); /* 0x2B091839: push eax */ 2225 ecx = esi; /* 0x2B09183A: mov ecx, esi */ 2226 RECOMP_ICALL(0x2B092150u); /* 0x2B09183C: call 0x2b092150 */ /* not lifted */ 2227 RECOMP_FLAGS_IN(); 2228 eax = MEM32(ebp + (-0x10)); /* 0x2B091841: mov eax, dword ptr [ebp - 0x10] */ 2229 /* cmp eax, edi */ /* 0x2B091844: cmp eax, edi */ 2230 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 2231 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2232 _flag_k = FK_CMP; 2233 RECOMP_BACKEDGE(); 2234 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09182B; /* 0x2B091846: jne 0x2b09182b */ 2235 L_2B091848: 2236 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2237 ebx = 0; /* 0x2B091848: xor ebx, ebx */ 2238 _cf = 0; 2239 _flag_k = FK_TEST; 2240 L_2B09184A: 2241 ecx = MEM32(esi + 0x4); /* 0x2B09184A: mov ecx, dword ptr [esi + 4] */ 2242 PUSH32(esp, ecx); /* 0x2B09184D: push ecx */ 2243 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09184E: call 0x2b0ab1ba */ /* not lifted */ 2244 RECOMP_FLAGS_IN(); 2245 edx = MEM32(esi + 0x8); /* 0x2B091853: mov edx, dword ptr [esi + 8] */ 2246 PUSH32(esp, edx); /* 0x2B091856: push edx */ 2247 MEM32(esi + 0x4) = ebx; /* 0x2B091857: mov dword ptr [esi + 4], ebx */ 2248 MEM32(esi + 0x10) = ebx; /* 0x2B09185A: mov dword ptr [esi + 0x10], ebx */ 2249 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09185D: call 0x2b0ab1ba */ /* not lifted */ 2250 RECOMP_FLAGS_IN(); 2251 ecx = MEM32(ebp + (-0xC)); /* 0x2B091862: mov ecx, dword ptr [ebp - 0xc] */ 2252 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2253 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2254 esp = esp + 8; /* 0x2B091865: add esp, 8 */ 2255 _flag_k = FK_ADD; 2256 MEM32(esi + 0x8) = ebx; /* 0x2B091868: mov dword ptr [esi + 8], ebx */ 2257 edi = POP32_VAL(esp); /* 0x2B09186B: pop edi */ 2258 esi = POP32_VAL(esp); /* 0x2B09186C: pop esi */ 2259 ebx = POP32_VAL(esp); /* 0x2B09186D: pop ebx */ 2260 MEM32(FS_BASE + (0)) = ecx; /* 0x2B09186E: mov dword ptr fs:[0], ecx */ 2261 esp = ebp; /* 0x2B091875: mov esp, ebp */ 2262 ebp = POP32_VAL(esp); /* 0x2B091877: pop ebp */ 2263 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B091878: ret */ 2264 L_2B0B2C79: 2265 ecx = ebp + (-0x68); /* 0x2B0B2C79: lea ecx, [ebp - 0x68] */ 2266 RECOMP_BACKEDGE(); 2267 goto L_2B091790; /* 0x2B0B2C7C: jmp 0x2b091790 */ 2268 { RECOMP_REGS_OUT(); return; } /* end of function */ 2269 RECOMP_REGS_OUT(); 2270 } 2271 2272 void sub_2B0B2C81(void) { 2273 int _fpu_cmp = 0; 2274 uint32_t _cf = 0; 2275 int _df = 1; 2276 uint32_t _flag_k = FK_NONE; 2277 uint32_t _flag_a = 0, _flag_b = 0; 2278 uint32_t _itail_tgt = 0; 2279 RECOMP_REGS_LOCALS 2280 RECOMP_ENTER(0x2B0B2C81u); 2281 2282 goto L_2B0B2C81; 2283 L_2B0918B0: 2284 PUSH32(esp, ebp); /* 0x2B0918B0: push ebp */ 2285 ebp = esp; /* 0x2B0918B1: mov ebp, esp */ 2286 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2287 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2288 esp = esp - 8; /* 0x2B0918B3: sub esp, 8 */ 2289 _flag_k = FK_CMP; 2290 PUSH32(esp, ebx); /* 0x2B0918B6: push ebx */ 2291 PUSH32(esp, esi); /* 0x2B0918B7: push esi */ 2292 esi = ecx; /* 0x2B0918B8: mov esi, ecx */ 2293 ecx = MEM32(esi + 0x10); /* 0x2B0918BA: mov ecx, dword ptr [esi + 0x10] */ 2294 /* test ecx, ecx */ /* 0x2B0918BD: test ecx, ecx */ 2295 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2296 _cf = 0; 2297 _flag_k = FK_TEST; 2298 PUSH32(esp, edi); /* 0x2B0918BF: push edi */ 2299 edi = MEM32(esi + 0x4); /* 0x2B0918C0: mov edi, dword ptr [esi + 4] */ 2300 eax = MEM32(edi); /* 0x2B0918C3: mov eax, dword ptr [edi] */ 2301 MEM32(ebp + (-0x4)) = eax; /* 0x2B0918C5: mov dword ptr [ebp - 4], eax */ 2302 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09192F; /* 0x2B0918C8: je 0x2b09192f */ 2303 L_2B0918CA: 2304 ecx = eax; /* 0x2B0918CA: mov ecx, eax */ 2305 /* cmp eax, ecx */ /* 0x2B0918CC: cmp eax, ecx */ 2306 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2307 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2308 _flag_k = FK_CMP; 2309 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09192F; /* 0x2B0918CE: jne 0x2b09192f */ 2310 L_2B0918D0: 2311 /* cmp edi, edi */ /* 0x2B0918D0: cmp edi, edi */ 2312 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 2313 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2314 _flag_k = FK_CMP; 2315 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09192F; /* 0x2B0918D2: jne 0x2b09192f */ 2316 L_2B0918D4: 2317 ebx = MEM32(edi + 0x4); /* 0x2B0918D4: mov ebx, dword ptr [edi + 4] */ 2318 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2B0918D7: cmp ebx, dword ptr [esi + 8] */ 2319 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2320 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2321 _flag_k = FK_CMP; 2322 edi = ebx; /* 0x2B0918DA: mov edi, ebx */ 2323 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091907; /* 0x2B0918DC: je 0x2b091907 */ 2324 L_2B0918DE: 2325 eax = MEM32(edi + 0x8); /* 0x2B0918DE: mov eax, dword ptr [edi + 8] */ 2326 PUSH32(esp, eax); /* 0x2B0918E1: push eax */ 2327 ecx = esi; /* 0x2B0918E2: mov ecx, esi */ 2328 RECOMP_ICALL(0x2B092520u); /* 0x2B0918E4: call 0x2b092520 */ /* not lifted */ 2329 RECOMP_FLAGS_IN(); 2330 edi = MEM32(edi); /* 0x2B0918E9: mov edi, dword ptr [edi] */ 2331 PUSH32(esp, 0); /* 0x2B0918EB: push 0 */ 2332 ecx = ebx + 0xC; /* 0x2B0918ED: lea ecx, [ebx + 0xc] */ 2333 RECOMP_ICALL(0x2B092570u); /* 0x2B0918F0: call 0x2b092570 */ /* not lifted */ 2334 RECOMP_FLAGS_IN(); 2335 PUSH32(esp, ebx); /* 0x2B0918F5: push ebx */ 2336 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0918F6: call 0x2b0ab1ba */ /* not lifted */ 2337 RECOMP_FLAGS_IN(); 2338 eax = MEM32(esi + 0x8); /* 0x2B0918FB: mov eax, dword ptr [esi + 8] */ 2339 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2340 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2341 esp = esp + 4; /* 0x2B0918FE: add esp, 4 */ 2342 _flag_k = FK_ADD; 2343 /* cmp edi, eax */ /* 0x2B091901: cmp edi, eax */ 2344 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 2345 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2346 _flag_k = FK_CMP; 2347 ebx = edi; /* 0x2B091903: mov ebx, edi */ 2348 RECOMP_BACKEDGE(); 2349 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0918DE; /* 0x2B091905: jne 0x2b0918de */ 2350 L_2B091907: 2351 ecx = MEM32(esi + 0x4); /* 0x2B091907: mov ecx, dword ptr [esi + 4] */ 2352 edx = MEM32(esi + 0x8); /* 0x2B09190A: mov edx, dword ptr [esi + 8] */ 2353 MEM32(ecx + 0x4) = edx; /* 0x2B09190D: mov dword ptr [ecx + 4], edx */ 2354 eax = MEM32(esi + 0x4); /* 0x2B091910: mov eax, dword ptr [esi + 4] */ 2355 MEM32(esi + 0x10) = 0; /* 0x2B091913: mov dword ptr [esi + 0x10], 0 */ 2356 MEM32(eax) = eax; /* 0x2B09191A: mov dword ptr [eax], eax */ 2357 eax = MEM32(esi + 0x4); /* 0x2B09191C: mov eax, dword ptr [esi + 4] */ 2358 MEM32(eax + 0x8) = eax; /* 0x2B09191F: mov dword ptr [eax + 8], eax */ 2359 eax = ebp + (-0x8); /* 0x2B091922: lea eax, [ebp - 8] */ 2360 PUSH32(esp, eax); /* 0x2B091925: push eax */ 2361 ecx = esi; /* 0x2B091926: mov ecx, esi */ 2362 RECOMP_ICALL(0x2B018B60u); /* 0x2B091928: call 0x2b018b60 */ /* not lifted */ 2363 RECOMP_FLAGS_IN(); 2364 goto L_2B091950; /* 0x2B09192D: jmp 0x2b091950 */ 2365 L_2B09192F: 2366 /* cmp eax, edi */ /* 0x2B09192F: cmp eax, edi */ 2367 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 2368 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2369 _flag_k = FK_CMP; 2370 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091950; /* 0x2B091931: je 0x2b091950 */ 2371 L_2B091933: 2372 ecx = ebp + (-0x4); /* 0x2B091933: lea ecx, [ebp - 4] */ 2373 ebx = eax; /* 0x2B091936: mov ebx, eax */ 2374 RECOMP_ICALL(0x2B02A660u); /* 0x2B091938: call 0x2b02a660 */ /* not lifted */ 2375 RECOMP_FLAGS_IN(); 2376 PUSH32(esp, ebx); /* 0x2B09193D: push ebx */ 2377 ecx = ebp + (-0x8); /* 0x2B09193E: lea ecx, [ebp - 8] */ 2378 PUSH32(esp, ecx); /* 0x2B091941: push ecx */ 2379 ecx = esi; /* 0x2B091942: mov ecx, esi */ 2380 RECOMP_ICALL(0x2B092150u); /* 0x2B091944: call 0x2b092150 */ /* not lifted */ 2381 RECOMP_FLAGS_IN(); 2382 eax = MEM32(ebp + (-0x4)); /* 0x2B091949: mov eax, dword ptr [ebp - 4] */ 2383 /* cmp eax, edi */ /* 0x2B09194C: cmp eax, edi */ 2384 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 2385 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2386 _flag_k = FK_CMP; 2387 RECOMP_BACKEDGE(); 2388 if (CMP_NE(_flag_a, _flag_b)) goto L_2B091933; /* 0x2B09194E: jne 0x2b091933 */ 2389 L_2B091950: 2390 edx = MEM32(esi + 0x4); /* 0x2B091950: mov edx, dword ptr [esi + 4] */ 2391 PUSH32(esp, edx); /* 0x2B091953: push edx */ 2392 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B091954: call 0x2b0ab1ba */ /* not lifted */ 2393 RECOMP_FLAGS_IN(); 2394 eax = MEM32(esi + 0x8); /* 0x2B091959: mov eax, dword ptr [esi + 8] */ 2395 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2396 edi = 0; /* 0x2B09195C: xor edi, edi */ 2397 _cf = 0; 2398 _flag_k = FK_TEST; 2399 PUSH32(esp, eax); /* 0x2B09195E: push eax */ 2400 MEM32(esi + 0x4) = edi; /* 0x2B09195F: mov dword ptr [esi + 4], edi */ 2401 MEM32(esi + 0x10) = edi; /* 0x2B091962: mov dword ptr [esi + 0x10], edi */ 2402 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B091965: call 0x2b0ab1ba */ /* not lifted */ 2403 RECOMP_FLAGS_IN(); 2404 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2405 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2406 esp = esp + 8; /* 0x2B09196A: add esp, 8 */ 2407 _flag_k = FK_ADD; 2408 MEM32(esi + 0x8) = edi; /* 0x2B09196D: mov dword ptr [esi + 8], edi */ 2409 edi = POP32_VAL(esp); /* 0x2B091970: pop edi */ 2410 esi = POP32_VAL(esp); /* 0x2B091971: pop esi */ 2411 ebx = POP32_VAL(esp); /* 0x2B091972: pop ebx */ 2412 esp = ebp; /* 0x2B091973: mov esp, ebp */ 2413 ebp = POP32_VAL(esp); /* 0x2B091975: pop ebp */ 2414 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B091976: ret */ 2415 L_2B0B2C81: 2416 ecx = ebp + (-0x64); /* 0x2B0B2C81: lea ecx, [ebp - 0x64] */ 2417 RECOMP_BACKEDGE(); 2418 goto L_2B0918B0; /* 0x2B0B2C84: jmp 0x2b0918b0 */ 2419 { RECOMP_REGS_OUT(); return; } /* end of function */ 2420 RECOMP_REGS_OUT(); 2421 } 2422 2423 void sub_2B0B2C89(void) { 2424 int _fpu_cmp = 0; 2425 uint32_t _cf = 0; 2426 int _df = 1; 2427 uint32_t _flag_k = FK_NONE; 2428 uint32_t _flag_a = 0, _flag_b = 0; 2429 uint32_t _itail_tgt = 0; 2430 RECOMP_REGS_LOCALS 2431 RECOMP_ENTER(0x2B0B2C89u); 2432 2433 goto L_2B0B2C89; 2434 L_2B012D80: 2435 PUSH32(esp, ebp); /* 0x2B012D80: push ebp */ 2436 ebp = esp; /* 0x2B012D81: mov ebp, esp */ 2437 PUSH32(esp, ecx); /* 0x2B012D83: push ecx */ 2438 PUSH32(esp, esi); /* 0x2B012D84: push esi */ 2439 esi = ecx; /* 0x2B012D85: mov esi, ecx */ 2440 eax = MEM32(esi + 0x4); /* 0x2B012D87: mov eax, dword ptr [esi + 4] */ 2441 PUSH32(esp, eax); /* 0x2B012D8A: push eax */ 2442 MEM32(ebp + (-0x4)) = eax; /* 0x2B012D8B: mov dword ptr [ebp - 4], eax */ 2443 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B012D8E: call 0x2b0ab1ba */ /* not lifted */ 2444 RECOMP_FLAGS_IN(); 2445 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2446 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2447 esp = esp + 4; /* 0x2B012D93: add esp, 4 */ 2448 _flag_k = FK_ADD; 2449 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2450 eax = 0; /* 0x2B012D96: xor eax, eax */ 2451 _cf = 0; 2452 _flag_k = FK_TEST; 2453 MEM32(esi + 0x4) = eax; /* 0x2B012D98: mov dword ptr [esi + 4], eax */ 2454 MEM32(esi + 0x8) = eax; /* 0x2B012D9B: mov dword ptr [esi + 8], eax */ 2455 MEM32(esi + 0xC) = eax; /* 0x2B012D9E: mov dword ptr [esi + 0xc], eax */ 2456 esi = POP32_VAL(esp); /* 0x2B012DA1: pop esi */ 2457 esp = ebp; /* 0x2B012DA2: mov esp, ebp */ 2458 ebp = POP32_VAL(esp); /* 0x2B012DA4: pop ebp */ 2459 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B012DA5: ret */ 2460 L_2B0B2C89: 2461 ecx = ebp + (-0x38); /* 0x2B0B2C89: lea ecx, [ebp - 0x38] */ 2462 RECOMP_BACKEDGE(); 2463 goto L_2B012D80; /* 0x2B0B2C8C: jmp 0x2b012d80 */ 2464 { RECOMP_REGS_OUT(); return; } /* end of function */ 2465 RECOMP_REGS_OUT(); 2466 } 2467 2468 void sub_2B0B2C91(void) { 2469 int _fpu_cmp = 0; 2470 uint32_t _cf = 0; 2471 int _df = 1; 2472 uint32_t _flag_k = FK_NONE; 2473 uint32_t _flag_a = 0, _flag_b = 0; 2474 uint32_t _itail_tgt = 0; 2475 RECOMP_REGS_LOCALS 2476 RECOMP_ENTER(0x2B0B2C91u); 2477 2478 goto L_2B0B2C91; 2479 L_2B0AB218: 2480 { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; } 2481 L_2B0B2C91: 2482 eax = 0x2B0C01E8u; /* 0x2B0B2C91: mov eax, 0x2b0c01e8 */ 2483 L_2B0B2C96: 2484 RECOMP_BACKEDGE(); 2485 goto L_2B0AB218; /* 0x2B0B2C96: jmp 0x2b0ab218 */ 2486 { RECOMP_REGS_OUT(); return; } /* end of function */ 2487 _ljump: 2488 switch (_itail_tgt) { 2489 case 0x2B0AB218u: goto L_2B0AB218; 2490 case 0x2B0B2C91u: goto L_2B0B2C91; 2491 case 0x2B0B2C96u: goto L_2B0B2C96; 2492 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2493 } 2494 RECOMP_REGS_OUT(); 2495 } 2496 2497 void sub_2B0B2CA0(void) { 2498 int _fpu_cmp = 0; 2499 uint32_t _cf = 0; 2500 int _df = 1; 2501 uint32_t _flag_k = FK_NONE; 2502 uint32_t _flag_a = 0, _flag_b = 0; 2503 uint32_t _itail_tgt = 0; 2504 RECOMP_REGS_LOCALS 2505 RECOMP_ENTER(0x2B0B2CA0u); 2506 2507 goto L_2B0B2CA0; 2508 L_2B002DB0: 2509 PUSH32(esp, ebp); /* 0x2B002DB0: push ebp */ 2510 ebp = esp; /* 0x2B002DB1: mov ebp, esp */ 2511 PUSH32(esp, ecx); /* 0x2B002DB3: push ecx */ 2512 PUSH32(esp, ebx); /* 0x2B002DB4: push ebx */ 2513 PUSH32(esp, esi); /* 0x2B002DB5: push esi */ 2514 PUSH32(esp, edi); /* 0x2B002DB6: push edi */ 2515 edi = ecx; /* 0x2B002DB7: mov edi, ecx */ 2516 edx = MEM32(edi + 0x8); /* 0x2B002DB9: mov edx, dword ptr [edi + 8] */ 2517 esi = MEM32(edi + 0x4); /* 0x2B002DBC: mov esi, dword ptr [edi + 4] */ 2518 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2519 ebx = 0; /* 0x2B002DBF: xor ebx, ebx */ 2520 _cf = 0; 2521 _flag_k = FK_TEST; 2522 /* cmp esi, edx */ /* 0x2B002DC1: cmp esi, edx */ 2523 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx); 2524 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2525 _flag_k = FK_CMP; 2526 MEM32(ebp + (-0x4)) = edx; /* 0x2B002DC3: mov dword ptr [ebp - 4], edx */ 2527 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B002DFE; /* 0x2B002DC6: je 0x2b002dfe */ 2528 L_2B002DC8: 2529 eax = MEM32(esi + 0x4); /* 0x2B002DC8: mov eax, dword ptr [esi + 4] */ 2530 /* cmp eax, ebx */ /* 0x2B002DCB: cmp eax, ebx */ 2531 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 2532 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2533 _flag_k = FK_CMP; 2534 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B002DEE; /* 0x2B002DCD: je 0x2b002dee */ 2535 L_2B002DCF: 2536 ecx = eax + (-0x1); /* 0x2B002DCF: lea ecx, [eax - 1] */ 2537 SET_LO8(eax, MEM8(ecx)); /* 0x2B002DD2: mov al, byte ptr [ecx] */ 2538 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B002DD4: cmp al, bl */ 2539 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2540 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2541 _flag_k = FK_NARROW(FK_CMP, 24); 2542 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B002DE2; /* 0x2B002DD6: je 0x2b002de2 */ 2543 L_2B002DD8: 2544 /* cmp LO8(eax), 0xFFu */ /* 0x2B002DD8: cmp al, 0xff */ 2545 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 2546 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2547 _flag_k = FK_NARROW(FK_CMP, 24); 2548 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B002DE2; /* 0x2B002DDA: je 0x2b002de2 */ 2549 L_2B002DDC: 2550 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 2551 SET_LO8(eax, LO8(eax) - 1); /* 0x2B002DDC: dec al */ 2552 _flag_k = FK_NARROW(FK_DEC, 24); 2553 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B002DDE: mov byte ptr [ecx], al */ 2554 goto L_2B002DEE; /* 0x2B002DE0: jmp 0x2b002dee */ 2555 L_2B002DE2: 2556 PUSH32(esp, ecx); /* 0x2B002DE2: push ecx */ 2557 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B002DE3: call 0x2b0ab1ba */ /* not lifted */ 2558 RECOMP_FLAGS_IN(); 2559 edx = MEM32(ebp + (-0x4)); /* 0x2B002DE8: mov edx, dword ptr [ebp - 4] */ 2560 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2561 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2562 esp = esp + 4; /* 0x2B002DEB: add esp, 4 */ 2563 _flag_k = FK_ADD; 2564 L_2B002DEE: 2565 MEM32(esi + 0x4) = ebx; /* 0x2B002DEE: mov dword ptr [esi + 4], ebx */ 2566 MEM32(esi + 0x8) = ebx; /* 0x2B002DF1: mov dword ptr [esi + 8], ebx */ 2567 MEM32(esi + 0xC) = ebx; /* 0x2B002DF4: mov dword ptr [esi + 0xc], ebx */ 2568 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 2569 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2570 esi = esi + 0x10u; /* 0x2B002DF7: add esi, 0x10 */ 2571 _flag_k = FK_ADD; 2572 /* cmp esi, edx */ /* 0x2B002DFA: cmp esi, edx */ 2573 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx); 2574 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2575 _flag_k = FK_CMP; 2576 RECOMP_BACKEDGE(); 2577 if (CMP_NE(_flag_a, _flag_b)) goto L_2B002DC8; /* 0x2B002DFC: jne 0x2b002dc8 */ 2578 L_2B002DFE: 2579 eax = MEM32(edi + 0x4); /* 0x2B002DFE: mov eax, dword ptr [edi + 4] */ 2580 PUSH32(esp, eax); /* 0x2B002E01: push eax */ 2581 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B002E02: call 0x2b0ab1ba */ /* not lifted */ 2582 RECOMP_FLAGS_IN(); 2583 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2584 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2585 esp = esp + 4; /* 0x2B002E07: add esp, 4 */ 2586 _flag_k = FK_ADD; 2587 MEM32(edi + 0x4) = ebx; /* 0x2B002E0A: mov dword ptr [edi + 4], ebx */ 2588 MEM32(edi + 0x8) = ebx; /* 0x2B002E0D: mov dword ptr [edi + 8], ebx */ 2589 MEM32(edi + 0xC) = ebx; /* 0x2B002E10: mov dword ptr [edi + 0xc], ebx */ 2590 edi = POP32_VAL(esp); /* 0x2B002E13: pop edi */ 2591 esi = POP32_VAL(esp); /* 0x2B002E14: pop esi */ 2592 ebx = POP32_VAL(esp); /* 0x2B002E15: pop ebx */ 2593 esp = ebp; /* 0x2B002E16: mov esp, ebp */ 2594 ebp = POP32_VAL(esp); /* 0x2B002E18: pop ebp */ 2595 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B002E19: ret */ 2596 L_2B0B2CA0: 2597 ecx = ebp + (-0x38); /* 0x2B0B2CA0: lea ecx, [ebp - 0x38] */ 2598 RECOMP_BACKEDGE(); 2599 goto L_2B002DB0; /* 0x2B0B2CA3: jmp 0x2b002db0 */ 2600 { RECOMP_REGS_OUT(); return; } /* end of function */ 2601 RECOMP_REGS_OUT(); 2602 } 2603 2604 void sub_2B0B2CA8(void) { 2605 int _fpu_cmp = 0; 2606 uint32_t _cf = 0; 2607 int _df = 1; 2608 uint32_t _flag_k = FK_NONE; 2609 uint32_t _flag_a = 0, _flag_b = 0; 2610 uint32_t _itail_tgt = 0; 2611 RECOMP_REGS_LOCALS 2612 RECOMP_ENTER(0x2B0B2CA8u); 2613 2614 goto L_2B0B2CA8; 2615 L_2B091790: 2616 PUSH32(esp, ebp); /* 0x2B091790: push ebp */ 2617 ebp = esp; /* 0x2B091791: mov ebp, esp */ 2618 PUSH32(esp, 0xFFFFFFFFu); /* 0x2B091793: push -1 */ 2619 PUSH32(esp, 0x2B0B2C36u); /* 0x2B091795: push 0x2b0b2c36 */ 2620 eax = MEM32(FS_BASE + (0)); /* 0x2B09179A: mov eax, dword ptr fs:[0] */ 2621 PUSH32(esp, eax); /* 0x2B0917A0: push eax */ 2622 MEM32(FS_BASE + (0)) = esp; /* 0x2B0917A1: mov dword ptr fs:[0], esp */ 2623 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2624 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2625 esp = esp - 8; /* 0x2B0917A8: sub esp, 8 */ 2626 _flag_k = FK_CMP; 2627 PUSH32(esp, ebx); /* 0x2B0917AB: push ebx */ 2628 PUSH32(esp, esi); /* 0x2B0917AC: push esi */ 2629 esi = ecx; /* 0x2B0917AD: mov esi, ecx */ 2630 PUSH32(esp, edi); /* 0x2B0917AF: push edi */ 2631 MEM32(ebp + (-0x10)) = esi; /* 0x2B0917B0: mov dword ptr [ebp - 0x10], esi */ 2632 MEM32(esi) = 0x2B0B71A8u; /* 0x2B0917B3: mov dword ptr [esi], 0x2b0b71a8 */ 2633 MEM32(ebp + (-0x4)) = 1; /* 0x2B0917B9: mov dword ptr [ebp - 4], 1 */ 2634 RECOMP_ICALL(MEM32(0x2B0B5454)); /* 0x2B0917C0: call dword ptr [0x2b0b5454] */ 2635 RECOMP_FLAGS_IN(); 2636 eax = MEM32(esi + 0x34); /* 0x2B0917C6: mov eax, dword ptr [esi + 0x34] */ 2637 PUSH32(esp, eax); /* 0x2B0917C9: push eax */ 2638 MEM32(ebp + (-0x10)) = eax; /* 0x2B0917CA: mov dword ptr [ebp - 0x10], eax */ 2639 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0917CD: call 0x2b0ab1ba */ /* not lifted */ 2640 RECOMP_FLAGS_IN(); 2641 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2642 ebx = 0; /* 0x2B0917D2: xor ebx, ebx */ 2643 _cf = 0; 2644 _flag_k = FK_TEST; 2645 MEM32(esi + 0x34) = ebx; /* 0x2B0917D4: mov dword ptr [esi + 0x34], ebx */ 2646 MEM32(esi + 0x38) = ebx; /* 0x2B0917D7: mov dword ptr [esi + 0x38], ebx */ 2647 MEM32(esi + 0x3C) = ebx; /* 0x2B0917DA: mov dword ptr [esi + 0x3c], ebx */ 2648 edi = MEM32(esi + 0x8); /* 0x2B0917DD: mov edi, dword ptr [esi + 8] */ 2649 ecx = MEM32(esi + 0x14); /* 0x2B0917E0: mov ecx, dword ptr [esi + 0x14] */ 2650 eax = MEM32(edi); /* 0x2B0917E3: mov eax, dword ptr [edi] */ 2651 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(4); 2652 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2653 esi = esi + 4; /* 0x2B0917E5: add esi, 4 */ 2654 _flag_k = FK_ADD; 2655 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2656 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2657 esp = esp + 4; /* 0x2B0917E8: add esp, 4 */ 2658 _flag_k = FK_ADD; 2659 /* cmp ecx, ebx */ /* 0x2B0917EB: cmp ecx, ebx */ 2660 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 2661 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2662 _flag_k = FK_CMP; 2663 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x2B0917ED: mov dword ptr [ebp - 4], 0xffffffff */ 2664 MEM32(ebp + (-0x10)) = eax; /* 0x2B0917F4: mov dword ptr [ebp - 0x10], eax */ 2665 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091827; /* 0x2B0917F7: je 0x2b091827 */ 2666 L_2B0917F9: 2667 ecx = eax; /* 0x2B0917F9: mov ecx, eax */ 2668 /* cmp eax, ecx */ /* 0x2B0917FB: cmp eax, ecx */ 2669 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2670 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2671 _flag_k = FK_CMP; 2672 if (CMP_NE(_flag_a, _flag_b)) goto L_2B091827; /* 0x2B0917FD: jne 0x2b091827 */ 2673 L_2B0917FF: 2674 /* cmp edi, edi */ /* 0x2B0917FF: cmp edi, edi */ 2675 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 2676 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2677 _flag_k = FK_CMP; 2678 if (CMP_NE(_flag_a, _flag_b)) goto L_2B091827; /* 0x2B091801: jne 0x2b091827 */ 2679 L_2B091803: 2680 eax = MEM32(edi + 0x4); /* 0x2B091803: mov eax, dword ptr [edi + 4] */ 2681 PUSH32(esp, eax); /* 0x2B091806: push eax */ 2682 ecx = esi; /* 0x2B091807: mov ecx, esi */ 2683 RECOMP_ICALL(0x2B092520u); /* 0x2B091809: call 0x2b092520 */ /* not lifted */ 2684 RECOMP_FLAGS_IN(); 2685 ecx = MEM32(esi + 0x4); /* 0x2B09180E: mov ecx, dword ptr [esi + 4] */ 2686 edx = MEM32(esi + 0x8); /* 0x2B091811: mov edx, dword ptr [esi + 8] */ 2687 MEM32(ecx + 0x4) = edx; /* 0x2B091814: mov dword ptr [ecx + 4], edx */ 2688 eax = MEM32(esi + 0x4); /* 0x2B091817: mov eax, dword ptr [esi + 4] */ 2689 MEM32(esi + 0x10) = ebx; /* 0x2B09181A: mov dword ptr [esi + 0x10], ebx */ 2690 MEM32(eax) = eax; /* 0x2B09181D: mov dword ptr [eax], eax */ 2691 eax = MEM32(esi + 0x4); /* 0x2B09181F: mov eax, dword ptr [esi + 4] */ 2692 MEM32(eax + 0x8) = eax; /* 0x2B091822: mov dword ptr [eax + 8], eax */ 2693 goto L_2B09184A; /* 0x2B091825: jmp 0x2b09184a */ 2694 L_2B091827: 2695 /* cmp eax, edi */ /* 0x2B091827: cmp eax, edi */ 2696 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 2697 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2698 _flag_k = FK_CMP; 2699 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B09184A; /* 0x2B091829: je 0x2b09184a */ 2700 L_2B09182B: 2701 ecx = ebp + (-0x10); /* 0x2B09182B: lea ecx, [ebp - 0x10] */ 2702 ebx = eax; /* 0x2B09182E: mov ebx, eax */ 2703 RECOMP_ICALL(0x2B02A660u); /* 0x2B091830: call 0x2b02a660 */ /* not lifted */ 2704 RECOMP_FLAGS_IN(); 2705 PUSH32(esp, ebx); /* 0x2B091835: push ebx */ 2706 eax = ebp + (-0x14); /* 0x2B091836: lea eax, [ebp - 0x14] */ 2707 PUSH32(esp, eax); /* 0x2B091839: push eax */ 2708 ecx = esi; /* 0x2B09183A: mov ecx, esi */ 2709 RECOMP_ICALL(0x2B092150u); /* 0x2B09183C: call 0x2b092150 */ /* not lifted */ 2710 RECOMP_FLAGS_IN(); 2711 eax = MEM32(ebp + (-0x10)); /* 0x2B091841: mov eax, dword ptr [ebp - 0x10] */ 2712 /* cmp eax, edi */ /* 0x2B091844: cmp eax, edi */ 2713 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 2714 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2715 _flag_k = FK_CMP; 2716 RECOMP_BACKEDGE(); 2717 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09182B; /* 0x2B091846: jne 0x2b09182b */ 2718 L_2B091848: 2719 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2720 ebx = 0; /* 0x2B091848: xor ebx, ebx */ 2721 _cf = 0; 2722 _flag_k = FK_TEST; 2723 L_2B09184A: 2724 ecx = MEM32(esi + 0x4); /* 0x2B09184A: mov ecx, dword ptr [esi + 4] */ 2725 PUSH32(esp, ecx); /* 0x2B09184D: push ecx */ 2726 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09184E: call 0x2b0ab1ba */ /* not lifted */ 2727 RECOMP_FLAGS_IN(); 2728 edx = MEM32(esi + 0x8); /* 0x2B091853: mov edx, dword ptr [esi + 8] */ 2729 PUSH32(esp, edx); /* 0x2B091856: push edx */ 2730 MEM32(esi + 0x4) = ebx; /* 0x2B091857: mov dword ptr [esi + 4], ebx */ 2731 MEM32(esi + 0x10) = ebx; /* 0x2B09185A: mov dword ptr [esi + 0x10], ebx */ 2732 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B09185D: call 0x2b0ab1ba */ /* not lifted */ 2733 RECOMP_FLAGS_IN(); 2734 ecx = MEM32(ebp + (-0xC)); /* 0x2B091862: mov ecx, dword ptr [ebp - 0xc] */ 2735 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2736 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2737 esp = esp + 8; /* 0x2B091865: add esp, 8 */ 2738 _flag_k = FK_ADD; 2739 MEM32(esi + 0x8) = ebx; /* 0x2B091868: mov dword ptr [esi + 8], ebx */ 2740 edi = POP32_VAL(esp); /* 0x2B09186B: pop edi */ 2741 esi = POP32_VAL(esp); /* 0x2B09186C: pop esi */ 2742 ebx = POP32_VAL(esp); /* 0x2B09186D: pop ebx */ 2743 MEM32(FS_BASE + (0)) = ecx; /* 0x2B09186E: mov dword ptr fs:[0], ecx */ 2744 esp = ebp; /* 0x2B091875: mov esp, ebp */ 2745 ebp = POP32_VAL(esp); /* 0x2B091877: pop ebp */ 2746 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B091878: ret */ 2747 L_2B0B2CA8: 2748 ecx = ebp + (-0x78); /* 0x2B0B2CA8: lea ecx, [ebp - 0x78] */ 2749 RECOMP_BACKEDGE(); 2750 goto L_2B091790; /* 0x2B0B2CAB: jmp 0x2b091790 */ 2751 { RECOMP_REGS_OUT(); return; } /* end of function */ 2752 RECOMP_REGS_OUT(); 2753 } 2754 2755 void sub_2B0B2CB0(void) { 2756 int _fpu_cmp = 0; 2757 uint32_t _cf = 0; 2758 int _df = 1; 2759 uint32_t _flag_k = FK_NONE; 2760 uint32_t _flag_a = 0, _flag_b = 0; 2761 uint32_t _itail_tgt = 0; 2762 RECOMP_REGS_LOCALS 2763 RECOMP_ENTER(0x2B0B2CB0u); 2764 2765 L_2B0B2CB0: 2766 ecx = ebp + (-0x28); /* 0x2B0B2CB0: lea ecx, [ebp - 0x28] */ 2767 L_2B0B2CB3: 2768 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 2769 { RECOMP_REGS_OUT(); return; } /* end of function */ 2770 _ljump: 2771 switch (_itail_tgt) { 2772 case 0x2B0B2CB0u: goto L_2B0B2CB0; 2773 case 0x2B0B2CB3u: goto L_2B0B2CB3; 2774 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 2775 } 2776 RECOMP_REGS_OUT(); 2777 } 2778 2779 void sub_2B0B2CB9(void) { 2780 int _fpu_cmp = 0; 2781 uint32_t _cf = 0; 2782 int _df = 1; 2783 uint32_t _flag_k = FK_NONE; 2784 uint32_t _flag_a = 0, _flag_b = 0; 2785 uint32_t _itail_tgt = 0; 2786 RECOMP_REGS_LOCALS 2787 RECOMP_ENTER(0x2B0B2CB9u); 2788 2789 goto L_2B0B2CB9; 2790 L_2B0918B0: 2791 PUSH32(esp, ebp); /* 0x2B0918B0: push ebp */ 2792 ebp = esp; /* 0x2B0918B1: mov ebp, esp */ 2793 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2794 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2795 esp = esp - 8; /* 0x2B0918B3: sub esp, 8 */ 2796 _flag_k = FK_CMP; 2797 PUSH32(esp, ebx); /* 0x2B0918B6: push ebx */ 2798 PUSH32(esp, esi); /* 0x2B0918B7: push esi */ 2799 esi = ecx; /* 0x2B0918B8: mov esi, ecx */ 2800 ecx = MEM32(esi + 0x10); /* 0x2B0918BA: mov ecx, dword ptr [esi + 0x10] */ 2801 /* test ecx, ecx */ /* 0x2B0918BD: test ecx, ecx */ 2802 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 2803 _cf = 0; 2804 _flag_k = FK_TEST; 2805 PUSH32(esp, edi); /* 0x2B0918BF: push edi */ 2806 edi = MEM32(esi + 0x4); /* 0x2B0918C0: mov edi, dword ptr [esi + 4] */ 2807 eax = MEM32(edi); /* 0x2B0918C3: mov eax, dword ptr [edi] */ 2808 MEM32(ebp + (-0x4)) = eax; /* 0x2B0918C5: mov dword ptr [ebp - 4], eax */ 2809 if (TEST_Z(_flag_a, _flag_b)) goto L_2B09192F; /* 0x2B0918C8: je 0x2b09192f */ 2810 L_2B0918CA: 2811 ecx = eax; /* 0x2B0918CA: mov ecx, eax */ 2812 /* cmp eax, ecx */ /* 0x2B0918CC: cmp eax, ecx */ 2813 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2814 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2815 _flag_k = FK_CMP; 2816 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09192F; /* 0x2B0918CE: jne 0x2b09192f */ 2817 L_2B0918D0: 2818 /* cmp edi, edi */ /* 0x2B0918D0: cmp edi, edi */ 2819 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 2820 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2821 _flag_k = FK_CMP; 2822 if (CMP_NE(_flag_a, _flag_b)) goto L_2B09192F; /* 0x2B0918D2: jne 0x2b09192f */ 2823 L_2B0918D4: 2824 ebx = MEM32(edi + 0x4); /* 0x2B0918D4: mov ebx, dword ptr [edi + 4] */ 2825 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x2B0918D7: cmp ebx, dword ptr [esi + 8] */ 2826 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2827 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2828 _flag_k = FK_CMP; 2829 edi = ebx; /* 0x2B0918DA: mov edi, ebx */ 2830 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091907; /* 0x2B0918DC: je 0x2b091907 */ 2831 L_2B0918DE: 2832 eax = MEM32(edi + 0x8); /* 0x2B0918DE: mov eax, dword ptr [edi + 8] */ 2833 PUSH32(esp, eax); /* 0x2B0918E1: push eax */ 2834 ecx = esi; /* 0x2B0918E2: mov ecx, esi */ 2835 RECOMP_ICALL(0x2B092520u); /* 0x2B0918E4: call 0x2b092520 */ /* not lifted */ 2836 RECOMP_FLAGS_IN(); 2837 edi = MEM32(edi); /* 0x2B0918E9: mov edi, dword ptr [edi] */ 2838 PUSH32(esp, 0); /* 0x2B0918EB: push 0 */ 2839 ecx = ebx + 0xC; /* 0x2B0918ED: lea ecx, [ebx + 0xc] */ 2840 RECOMP_ICALL(0x2B092570u); /* 0x2B0918F0: call 0x2b092570 */ /* not lifted */ 2841 RECOMP_FLAGS_IN(); 2842 PUSH32(esp, ebx); /* 0x2B0918F5: push ebx */ 2843 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0918F6: call 0x2b0ab1ba */ /* not lifted */ 2844 RECOMP_FLAGS_IN(); 2845 eax = MEM32(esi + 0x8); /* 0x2B0918FB: mov eax, dword ptr [esi + 8] */ 2846 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2847 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2848 esp = esp + 4; /* 0x2B0918FE: add esp, 4 */ 2849 _flag_k = FK_ADD; 2850 /* cmp edi, eax */ /* 0x2B091901: cmp edi, eax */ 2851 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 2852 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2853 _flag_k = FK_CMP; 2854 ebx = edi; /* 0x2B091903: mov ebx, edi */ 2855 RECOMP_BACKEDGE(); 2856 if (CMP_NE(_flag_a, _flag_b)) goto L_2B0918DE; /* 0x2B091905: jne 0x2b0918de */ 2857 L_2B091907: 2858 ecx = MEM32(esi + 0x4); /* 0x2B091907: mov ecx, dword ptr [esi + 4] */ 2859 edx = MEM32(esi + 0x8); /* 0x2B09190A: mov edx, dword ptr [esi + 8] */ 2860 MEM32(ecx + 0x4) = edx; /* 0x2B09190D: mov dword ptr [ecx + 4], edx */ 2861 eax = MEM32(esi + 0x4); /* 0x2B091910: mov eax, dword ptr [esi + 4] */ 2862 MEM32(esi + 0x10) = 0; /* 0x2B091913: mov dword ptr [esi + 0x10], 0 */ 2863 MEM32(eax) = eax; /* 0x2B09191A: mov dword ptr [eax], eax */ 2864 eax = MEM32(esi + 0x4); /* 0x2B09191C: mov eax, dword ptr [esi + 4] */ 2865 MEM32(eax + 0x8) = eax; /* 0x2B09191F: mov dword ptr [eax + 8], eax */ 2866 eax = ebp + (-0x8); /* 0x2B091922: lea eax, [ebp - 8] */ 2867 PUSH32(esp, eax); /* 0x2B091925: push eax */ 2868 ecx = esi; /* 0x2B091926: mov ecx, esi */ 2869 RECOMP_ICALL(0x2B018B60u); /* 0x2B091928: call 0x2b018b60 */ /* not lifted */ 2870 RECOMP_FLAGS_IN(); 2871 goto L_2B091950; /* 0x2B09192D: jmp 0x2b091950 */ 2872 L_2B09192F: 2873 /* cmp eax, edi */ /* 0x2B09192F: cmp eax, edi */ 2874 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 2875 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2876 _flag_k = FK_CMP; 2877 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B091950; /* 0x2B091931: je 0x2b091950 */ 2878 L_2B091933: 2879 ecx = ebp + (-0x4); /* 0x2B091933: lea ecx, [ebp - 4] */ 2880 ebx = eax; /* 0x2B091936: mov ebx, eax */ 2881 RECOMP_ICALL(0x2B02A660u); /* 0x2B091938: call 0x2b02a660 */ /* not lifted */ 2882 RECOMP_FLAGS_IN(); 2883 PUSH32(esp, ebx); /* 0x2B09193D: push ebx */ 2884 ecx = ebp + (-0x8); /* 0x2B09193E: lea ecx, [ebp - 8] */ 2885 PUSH32(esp, ecx); /* 0x2B091941: push ecx */ 2886 ecx = esi; /* 0x2B091942: mov ecx, esi */ 2887 RECOMP_ICALL(0x2B092150u); /* 0x2B091944: call 0x2b092150 */ /* not lifted */ 2888 RECOMP_FLAGS_IN(); 2889 eax = MEM32(ebp + (-0x4)); /* 0x2B091949: mov eax, dword ptr [ebp - 4] */ 2890 /* cmp eax, edi */ /* 0x2B09194C: cmp eax, edi */ 2891 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 2892 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2893 _flag_k = FK_CMP; 2894 RECOMP_BACKEDGE(); 2895 if (CMP_NE(_flag_a, _flag_b)) goto L_2B091933; /* 0x2B09194E: jne 0x2b091933 */ 2896 L_2B091950: 2897 edx = MEM32(esi + 0x4); /* 0x2B091950: mov edx, dword ptr [esi + 4] */ 2898 PUSH32(esp, edx); /* 0x2B091953: push edx */ 2899 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B091954: call 0x2b0ab1ba */ /* not lifted */ 2900 RECOMP_FLAGS_IN(); 2901 eax = MEM32(esi + 0x8); /* 0x2B091959: mov eax, dword ptr [esi + 8] */ 2902 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2903 edi = 0; /* 0x2B09195C: xor edi, edi */ 2904 _cf = 0; 2905 _flag_k = FK_TEST; 2906 PUSH32(esp, eax); /* 0x2B09195E: push eax */ 2907 MEM32(esi + 0x4) = edi; /* 0x2B09195F: mov dword ptr [esi + 4], edi */ 2908 MEM32(esi + 0x10) = edi; /* 0x2B091962: mov dword ptr [esi + 0x10], edi */ 2909 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B091965: call 0x2b0ab1ba */ /* not lifted */ 2910 RECOMP_FLAGS_IN(); 2911 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 2912 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2913 esp = esp + 8; /* 0x2B09196A: add esp, 8 */ 2914 _flag_k = FK_ADD; 2915 MEM32(esi + 0x8) = edi; /* 0x2B09196D: mov dword ptr [esi + 8], edi */ 2916 edi = POP32_VAL(esp); /* 0x2B091970: pop edi */ 2917 esi = POP32_VAL(esp); /* 0x2B091971: pop esi */ 2918 ebx = POP32_VAL(esp); /* 0x2B091972: pop ebx */ 2919 esp = ebp; /* 0x2B091973: mov esp, ebp */ 2920 ebp = POP32_VAL(esp); /* 0x2B091975: pop ebp */ 2921 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B091976: ret */ 2922 L_2B0B2CB9: 2923 ecx = ebp + (-0x74); /* 0x2B0B2CB9: lea ecx, [ebp - 0x74] */ 2924 RECOMP_BACKEDGE(); 2925 goto L_2B0918B0; /* 0x2B0B2CBC: jmp 0x2b0918b0 */ 2926 { RECOMP_REGS_OUT(); return; } /* end of function */ 2927 RECOMP_REGS_OUT(); 2928 } 2929 2930 void sub_2B0B2CC1(void) { 2931 int _fpu_cmp = 0; 2932 uint32_t _cf = 0; 2933 int _df = 1; 2934 uint32_t _flag_k = FK_NONE; 2935 uint32_t _flag_a = 0, _flag_b = 0; 2936 uint32_t _itail_tgt = 0; 2937 RECOMP_REGS_LOCALS 2938 RECOMP_ENTER(0x2B0B2CC1u); 2939 2940 goto L_2B0B2CC1; 2941 L_2B012D80: 2942 PUSH32(esp, ebp); /* 0x2B012D80: push ebp */ 2943 ebp = esp; /* 0x2B012D81: mov ebp, esp */ 2944 PUSH32(esp, ecx); /* 0x2B012D83: push ecx */ 2945 PUSH32(esp, esi); /* 0x2B012D84: push esi */ 2946 esi = ecx; /* 0x2B012D85: mov esi, ecx */ 2947 eax = MEM32(esi + 0x4); /* 0x2B012D87: mov eax, dword ptr [esi + 4] */ 2948 PUSH32(esp, eax); /* 0x2B012D8A: push eax */ 2949 MEM32(ebp + (-0x4)) = eax; /* 0x2B012D8B: mov dword ptr [ebp - 4], eax */ 2950 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B012D8E: call 0x2b0ab1ba */ /* not lifted */ 2951 RECOMP_FLAGS_IN(); 2952 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2953 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2954 esp = esp + 4; /* 0x2B012D93: add esp, 4 */ 2955 _flag_k = FK_ADD; 2956 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 2957 eax = 0; /* 0x2B012D96: xor eax, eax */ 2958 _cf = 0; 2959 _flag_k = FK_TEST; 2960 MEM32(esi + 0x4) = eax; /* 0x2B012D98: mov dword ptr [esi + 4], eax */ 2961 MEM32(esi + 0x8) = eax; /* 0x2B012D9B: mov dword ptr [esi + 8], eax */ 2962 MEM32(esi + 0xC) = eax; /* 0x2B012D9E: mov dword ptr [esi + 0xc], eax */ 2963 esi = POP32_VAL(esp); /* 0x2B012DA1: pop esi */ 2964 esp = ebp; /* 0x2B012DA2: mov esp, ebp */ 2965 ebp = POP32_VAL(esp); /* 0x2B012DA4: pop ebp */ 2966 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B012DA5: ret */ 2967 L_2B0B2CC1: 2968 ecx = ebp + (-0x48); /* 0x2B0B2CC1: lea ecx, [ebp - 0x48] */ 2969 RECOMP_BACKEDGE(); 2970 goto L_2B012D80; /* 0x2B0B2CC4: jmp 0x2b012d80 */ 2971 { RECOMP_REGS_OUT(); return; } /* end of function */ 2972 RECOMP_REGS_OUT(); 2973 } 2974 2975 void sub_2B0B2CC9(void) { 2976 int _fpu_cmp = 0; 2977 uint32_t _cf = 0; 2978 int _df = 1; 2979 uint32_t _flag_k = FK_NONE; 2980 uint32_t _flag_a = 0, _flag_b = 0; 2981 uint32_t _itail_tgt = 0; 2982 RECOMP_REGS_LOCALS 2983 RECOMP_ENTER(0x2B0B2CC9u); 2984 2985 goto L_2B0B2CC9; 2986 L_2B0AB218: 2987 { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; } 2988 L_2B0B2CC9: 2989 eax = 0x2B0C0228u; /* 0x2B0B2CC9: mov eax, 0x2b0c0228 */ 2990 L_2B0B2CCE: 2991 RECOMP_BACKEDGE(); 2992 goto L_2B0AB218; /* 0x2B0B2CCE: jmp 0x2b0ab218 */ 2993 { RECOMP_REGS_OUT(); return; } /* end of function */ 2994 _ljump: 2995 switch (_itail_tgt) { 2996 case 0x2B0AB218u: goto L_2B0AB218; 2997 case 0x2B0B2CC9u: goto L_2B0B2CC9; 2998 case 0x2B0B2CCEu: goto L_2B0B2CCE; 2999 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3000 } 3001 RECOMP_REGS_OUT(); 3002 } 3003 3004 void sub_2B0B2CE0(void) { 3005 int _fpu_cmp = 0; 3006 uint32_t _cf = 0; 3007 int _df = 1; 3008 uint32_t _flag_k = FK_NONE; 3009 uint32_t _flag_a = 0, _flag_b = 0; 3010 uint32_t _itail_tgt = 0; 3011 RECOMP_REGS_LOCALS 3012 RECOMP_ENTER(0x2B0B2CE0u); 3013 3014 goto L_2B0B2CE0; 3015 L_2B092A90: 3016 MEM32(ecx) = 0x2B0B71E8u; /* 0x2B092A90: mov dword ptr [ecx], 0x2b0b71e8 */ 3017 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B092A96: ret */ 3018 L_2B0B2CE0: 3019 ecx = MEM32(ebp + (-0x10)); /* 0x2B0B2CE0: mov ecx, dword ptr [ebp - 0x10] */ 3020 RECOMP_BACKEDGE(); 3021 goto L_2B092A90; /* 0x2B0B2CE3: jmp 0x2b092a90 */ 3022 { RECOMP_REGS_OUT(); return; } /* end of function */ 3023 RECOMP_REGS_OUT(); 3024 } 3025 3026 void sub_2B0B2CE8(void) { 3027 int _fpu_cmp = 0; 3028 uint32_t _cf = 0; 3029 int _df = 1; 3030 uint32_t _flag_k = FK_NONE; 3031 uint32_t _flag_a = 0, _flag_b = 0; 3032 uint32_t _itail_tgt = 0; 3033 RECOMP_REGS_LOCALS 3034 RECOMP_ENTER(0x2B0B2CE8u); 3035 3036 L_2B0B2CE8: 3037 eax = MEM32(ebp + 0x8); /* 0x2B0B2CE8: mov eax, dword ptr [ebp + 8] */ 3038 PUSH32(esp, eax); /* 0x2B0B2CEB: push eax */ 3039 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B2CEC: call 0x2b0ab1ba */ /* not lifted */ 3040 RECOMP_FLAGS_IN(); 3041 ecx = POP32_VAL(esp); /* 0x2B0B2CF1: pop ecx */ 3042 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B2CF2: ret */ 3043 RECOMP_REGS_OUT(); 3044 } 3045 3046 void sub_2B0B2CF3(void) { 3047 int _fpu_cmp = 0; 3048 uint32_t _cf = 0; 3049 int _df = 1; 3050 uint32_t _flag_k = FK_NONE; 3051 uint32_t _flag_a = 0, _flag_b = 0; 3052 uint32_t _itail_tgt = 0; 3053 RECOMP_REGS_LOCALS 3054 RECOMP_ENTER(0x2B0B2CF3u); 3055 3056 L_2B0B2CF3: 3057 eax = MEM32(ebp + 0x8); /* 0x2B0B2CF3: mov eax, dword ptr [ebp + 8] */ 3058 PUSH32(esp, eax); /* 0x2B0B2CF6: push eax */ 3059 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B2CF7: call 0x2b0ab1ba */ /* not lifted */ 3060 RECOMP_FLAGS_IN(); 3061 ecx = POP32_VAL(esp); /* 0x2B0B2CFC: pop ecx */ 3062 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B2CFD: ret */ 3063 RECOMP_REGS_OUT(); 3064 } 3065 3066 void sub_2B0B2CFE(void) { 3067 int _fpu_cmp = 0; 3068 uint32_t _cf = 0; 3069 int _df = 1; 3070 uint32_t _flag_k = FK_NONE; 3071 uint32_t _flag_a = 0, _flag_b = 0; 3072 uint32_t _itail_tgt = 0; 3073 RECOMP_REGS_LOCALS 3074 RECOMP_ENTER(0x2B0B2CFEu); 3075 3076 L_2B0B2CFE: 3077 eax = MEM32(ebp + 0x8); /* 0x2B0B2CFE: mov eax, dword ptr [ebp + 8] */ 3078 PUSH32(esp, eax); /* 0x2B0B2D01: push eax */ 3079 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B2D02: call 0x2b0ab1ba */ /* not lifted */ 3080 RECOMP_FLAGS_IN(); 3081 ecx = POP32_VAL(esp); /* 0x2B0B2D07: pop ecx */ 3082 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B2D08: ret */ 3083 RECOMP_REGS_OUT(); 3084 } 3085 3086 void sub_2B0B2D09(void) { 3087 int _fpu_cmp = 0; 3088 uint32_t _cf = 0; 3089 int _df = 1; 3090 uint32_t _flag_k = FK_NONE; 3091 uint32_t _flag_a = 0, _flag_b = 0; 3092 uint32_t _itail_tgt = 0; 3093 RECOMP_REGS_LOCALS 3094 RECOMP_ENTER(0x2B0B2D09u); 3095 3096 L_2B0B2D09: 3097 eax = MEM32(ebp + 0x8); /* 0x2B0B2D09: mov eax, dword ptr [ebp + 8] */ 3098 PUSH32(esp, eax); /* 0x2B0B2D0C: push eax */ 3099 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B2D0D: call 0x2b0ab1ba */ /* not lifted */ 3100 RECOMP_FLAGS_IN(); 3101 ecx = POP32_VAL(esp); /* 0x2B0B2D12: pop ecx */ 3102 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B2D13: ret */ 3103 RECOMP_REGS_OUT(); 3104 } 3105 3106 void sub_2B0B2D14(void) { 3107 int _fpu_cmp = 0; 3108 uint32_t _cf = 0; 3109 int _df = 1; 3110 uint32_t _flag_k = FK_NONE; 3111 uint32_t _flag_a = 0, _flag_b = 0; 3112 uint32_t _itail_tgt = 0; 3113 RECOMP_REGS_LOCALS 3114 RECOMP_ENTER(0x2B0B2D14u); 3115 3116 L_2B0B2D14: 3117 eax = MEM32(ebp + 0x8); /* 0x2B0B2D14: mov eax, dword ptr [ebp + 8] */ 3118 PUSH32(esp, eax); /* 0x2B0B2D17: push eax */ 3119 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B2D18: call 0x2b0ab1ba */ /* not lifted */ 3120 RECOMP_FLAGS_IN(); 3121 ecx = POP32_VAL(esp); /* 0x2B0B2D1D: pop ecx */ 3122 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B2D1E: ret */ 3123 RECOMP_REGS_OUT(); 3124 } 3125 3126 void sub_2B0B2D1F(void) { 3127 int _fpu_cmp = 0; 3128 uint32_t _cf = 0; 3129 int _df = 1; 3130 uint32_t _flag_k = FK_NONE; 3131 uint32_t _flag_a = 0, _flag_b = 0; 3132 uint32_t _itail_tgt = 0; 3133 RECOMP_REGS_LOCALS 3134 RECOMP_ENTER(0x2B0B2D1Fu); 3135 3136 L_2B0B2D1F: 3137 eax = MEM32(ebp + 0x8); /* 0x2B0B2D1F: mov eax, dword ptr [ebp + 8] */ 3138 PUSH32(esp, eax); /* 0x2B0B2D22: push eax */ 3139 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B2D23: call 0x2b0ab1ba */ /* not lifted */ 3140 RECOMP_FLAGS_IN(); 3141 ecx = POP32_VAL(esp); /* 0x2B0B2D28: pop ecx */ 3142 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B2D29: ret */ 3143 RECOMP_REGS_OUT(); 3144 } 3145 3146 void sub_2B0B2D2A(void) { 3147 int _fpu_cmp = 0; 3148 uint32_t _cf = 0; 3149 int _df = 1; 3150 uint32_t _flag_k = FK_NONE; 3151 uint32_t _flag_a = 0, _flag_b = 0; 3152 uint32_t _itail_tgt = 0; 3153 RECOMP_REGS_LOCALS 3154 RECOMP_ENTER(0x2B0B2D2Au); 3155 3156 L_2B0B2D2A: 3157 eax = MEM32(ebp + 0x8); /* 0x2B0B2D2A: mov eax, dword ptr [ebp + 8] */ 3158 PUSH32(esp, eax); /* 0x2B0B2D2D: push eax */ 3159 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B2D2E: call 0x2b0ab1ba */ /* not lifted */ 3160 RECOMP_FLAGS_IN(); 3161 ecx = POP32_VAL(esp); /* 0x2B0B2D33: pop ecx */ 3162 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B2D34: ret */ 3163 RECOMP_REGS_OUT(); 3164 } 3165 3166 void sub_2B0B2D35(void) { 3167 int _fpu_cmp = 0; 3168 uint32_t _cf = 0; 3169 int _df = 1; 3170 uint32_t _flag_k = FK_NONE; 3171 uint32_t _flag_a = 0, _flag_b = 0; 3172 uint32_t _itail_tgt = 0; 3173 RECOMP_REGS_LOCALS 3174 RECOMP_ENTER(0x2B0B2D35u); 3175 3176 L_2B0B2D35: 3177 eax = MEM32(ebp + 0x8); /* 0x2B0B2D35: mov eax, dword ptr [ebp + 8] */ 3178 PUSH32(esp, eax); /* 0x2B0B2D38: push eax */ 3179 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B2D39: call 0x2b0ab1ba */ /* not lifted */ 3180 RECOMP_FLAGS_IN(); 3181 ecx = POP32_VAL(esp); /* 0x2B0B2D3E: pop ecx */ 3182 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B2D3F: ret */ 3183 RECOMP_REGS_OUT(); 3184 } 3185 3186 void sub_2B0B2D40(void) { 3187 int _fpu_cmp = 0; 3188 uint32_t _cf = 0; 3189 int _df = 1; 3190 uint32_t _flag_k = FK_NONE; 3191 uint32_t _flag_a = 0, _flag_b = 0; 3192 uint32_t _itail_tgt = 0; 3193 RECOMP_REGS_LOCALS 3194 RECOMP_ENTER(0x2B0B2D40u); 3195 3196 L_2B0B2D40: 3197 eax = MEM32(ebp + 0x8); /* 0x2B0B2D40: mov eax, dword ptr [ebp + 8] */ 3198 PUSH32(esp, eax); /* 0x2B0B2D43: push eax */ 3199 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B2D44: call 0x2b0ab1ba */ /* not lifted */ 3200 RECOMP_FLAGS_IN(); 3201 ecx = POP32_VAL(esp); /* 0x2B0B2D49: pop ecx */ 3202 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B2D4A: ret */ 3203 RECOMP_REGS_OUT(); 3204 } 3205 3206 void sub_2B0B2D4B(void) { 3207 int _fpu_cmp = 0; 3208 uint32_t _cf = 0; 3209 int _df = 1; 3210 uint32_t _flag_k = FK_NONE; 3211 uint32_t _flag_a = 0, _flag_b = 0; 3212 uint32_t _itail_tgt = 0; 3213 RECOMP_REGS_LOCALS 3214 RECOMP_ENTER(0x2B0B2D4Bu); 3215 3216 L_2B0B2D4B: 3217 eax = MEM32(ebp + 0x8); /* 0x2B0B2D4B: mov eax, dword ptr [ebp + 8] */ 3218 PUSH32(esp, eax); /* 0x2B0B2D4E: push eax */ 3219 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B2D4F: call 0x2b0ab1ba */ /* not lifted */ 3220 RECOMP_FLAGS_IN(); 3221 ecx = POP32_VAL(esp); /* 0x2B0B2D54: pop ecx */ 3222 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B2D55: ret */ 3223 RECOMP_REGS_OUT(); 3224 } 3225 3226 void sub_2B0B2D56(void) { 3227 int _fpu_cmp = 0; 3228 uint32_t _cf = 0; 3229 int _df = 1; 3230 uint32_t _flag_k = FK_NONE; 3231 uint32_t _flag_a = 0, _flag_b = 0; 3232 uint32_t _itail_tgt = 0; 3233 RECOMP_REGS_LOCALS 3234 RECOMP_ENTER(0x2B0B2D56u); 3235 3236 goto L_2B0B2D56; 3237 L_2B0AB218: 3238 { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; } 3239 L_2B0B2D56: 3240 eax = 0x2B0C0270u; /* 0x2B0B2D56: mov eax, 0x2b0c0270 */ 3241 L_2B0B2D5B: 3242 RECOMP_BACKEDGE(); 3243 goto L_2B0AB218; /* 0x2B0B2D5B: jmp 0x2b0ab218 */ 3244 { RECOMP_REGS_OUT(); return; } /* end of function */ 3245 _ljump: 3246 switch (_itail_tgt) { 3247 case 0x2B0AB218u: goto L_2B0AB218; 3248 case 0x2B0B2D56u: goto L_2B0B2D56; 3249 case 0x2B0B2D5Bu: goto L_2B0B2D5B; 3250 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3251 } 3252 RECOMP_REGS_OUT(); 3253 } 3254 3255 void sub_2B0B2D60(void) { 3256 int _fpu_cmp = 0; 3257 uint32_t _cf = 0; 3258 int _df = 1; 3259 uint32_t _flag_k = FK_NONE; 3260 uint32_t _flag_a = 0, _flag_b = 0; 3261 uint32_t _itail_tgt = 0; 3262 RECOMP_REGS_LOCALS 3263 RECOMP_ENTER(0x2B0B2D60u); 3264 3265 goto L_2B0B2D60; 3266 L_2B092A90: 3267 MEM32(ecx) = 0x2B0B71E8u; /* 0x2B092A90: mov dword ptr [ecx], 0x2b0b71e8 */ 3268 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B092A96: ret */ 3269 L_2B0B2D60: 3270 ecx = MEM32(ebp + (-0x10)); /* 0x2B0B2D60: mov ecx, dword ptr [ebp - 0x10] */ 3271 RECOMP_BACKEDGE(); 3272 goto L_2B092A90; /* 0x2B0B2D63: jmp 0x2b092a90 */ 3273 { RECOMP_REGS_OUT(); return; } /* end of function */ 3274 RECOMP_REGS_OUT(); 3275 } 3276 3277 void sub_2B0B2D68(void) { 3278 int _fpu_cmp = 0; 3279 uint32_t _cf = 0; 3280 int _df = 1; 3281 uint32_t _flag_k = FK_NONE; 3282 uint32_t _flag_a = 0, _flag_b = 0; 3283 uint32_t _itail_tgt = 0; 3284 RECOMP_REGS_LOCALS 3285 RECOMP_ENTER(0x2B0B2D68u); 3286 3287 goto L_2B0B2D68; 3288 L_2B0AB218: 3289 { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; } 3290 L_2B0B2D68: 3291 eax = 0x2B0C02E8u; /* 0x2B0B2D68: mov eax, 0x2b0c02e8 */ 3292 L_2B0B2D6D: 3293 RECOMP_BACKEDGE(); 3294 goto L_2B0AB218; /* 0x2B0B2D6D: jmp 0x2b0ab218 */ 3295 { RECOMP_REGS_OUT(); return; } /* end of function */ 3296 _ljump: 3297 switch (_itail_tgt) { 3298 case 0x2B0AB218u: goto L_2B0AB218; 3299 case 0x2B0B2D68u: goto L_2B0B2D68; 3300 case 0x2B0B2D6Du: goto L_2B0B2D6D; 3301 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3302 } 3303 RECOMP_REGS_OUT(); 3304 } 3305 3306 void sub_2B0B2D80(void) { 3307 int _fpu_cmp = 0; 3308 uint32_t _cf = 0; 3309 int _df = 1; 3310 uint32_t _flag_k = FK_NONE; 3311 uint32_t _flag_a = 0, _flag_b = 0; 3312 uint32_t _itail_tgt = 0; 3313 RECOMP_REGS_LOCALS 3314 RECOMP_ENTER(0x2B0B2D80u); 3315 3316 L_2B0B2D80: 3317 ecx = MEM32(ebp + (-0x64)); /* 0x2B0B2D80: mov ecx, dword ptr [ebp - 0x64] */ 3318 L_2B0B2D83: 3319 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x44u); 3320 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3321 ecx = ecx + 0x44u; /* 0x2B0B2D83: add ecx, 0x44 */ 3322 _flag_k = FK_ADD; 3323 L_2B0B2D86: 3324 { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; } 3325 { RECOMP_REGS_OUT(); return; } /* end of function */ 3326 _ljump: 3327 switch (_itail_tgt) { 3328 case 0x2B0B2D80u: goto L_2B0B2D80; 3329 case 0x2B0B2D83u: goto L_2B0B2D83; 3330 case 0x2B0B2D86u: goto L_2B0B2D86; 3331 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3332 } 3333 RECOMP_REGS_OUT(); 3334 } 3335 3336 void sub_2B0B2D8C(void) { 3337 int _fpu_cmp = 0; 3338 uint32_t _cf = 0; 3339 int _df = 1; 3340 uint32_t _flag_k = FK_NONE; 3341 uint32_t _flag_a = 0, _flag_b = 0; 3342 uint32_t _itail_tgt = 0; 3343 RECOMP_REGS_LOCALS 3344 RECOMP_ENTER(0x2B0B2D8Cu); 3345 3346 L_2B0B2D8C: 3347 ecx = MEM32(ebp + (-0x64)); /* 0x2B0B2D8C: mov ecx, dword ptr [ebp - 0x64] */ 3348 L_2B0B2D8F: 3349 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x58u); 3350 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3351 ecx = ecx + 0x58u; /* 0x2B0B2D8F: add ecx, 0x58 */ 3352 _flag_k = FK_ADD; 3353 L_2B0B2D92: 3354 { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; } 3355 { RECOMP_REGS_OUT(); return; } /* end of function */ 3356 _ljump: 3357 switch (_itail_tgt) { 3358 case 0x2B0B2D8Cu: goto L_2B0B2D8C; 3359 case 0x2B0B2D8Fu: goto L_2B0B2D8F; 3360 case 0x2B0B2D92u: goto L_2B0B2D92; 3361 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3362 } 3363 RECOMP_REGS_OUT(); 3364 } 3365 3366 void sub_2B0B2D98(void) { 3367 int _fpu_cmp = 0; 3368 uint32_t _cf = 0; 3369 int _df = 1; 3370 uint32_t _flag_k = FK_NONE; 3371 uint32_t _flag_a = 0, _flag_b = 0; 3372 uint32_t _itail_tgt = 0; 3373 RECOMP_REGS_LOCALS 3374 RECOMP_ENTER(0x2B0B2D98u); 3375 3376 goto L_2B0B2D98; 3377 L_2B002DB0: 3378 PUSH32(esp, ebp); /* 0x2B002DB0: push ebp */ 3379 ebp = esp; /* 0x2B002DB1: mov ebp, esp */ 3380 PUSH32(esp, ecx); /* 0x2B002DB3: push ecx */ 3381 PUSH32(esp, ebx); /* 0x2B002DB4: push ebx */ 3382 PUSH32(esp, esi); /* 0x2B002DB5: push esi */ 3383 PUSH32(esp, edi); /* 0x2B002DB6: push edi */ 3384 edi = ecx; /* 0x2B002DB7: mov edi, ecx */ 3385 edx = MEM32(edi + 0x8); /* 0x2B002DB9: mov edx, dword ptr [edi + 8] */ 3386 esi = MEM32(edi + 0x4); /* 0x2B002DBC: mov esi, dword ptr [edi + 4] */ 3387 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3388 ebx = 0; /* 0x2B002DBF: xor ebx, ebx */ 3389 _cf = 0; 3390 _flag_k = FK_TEST; 3391 /* cmp esi, edx */ /* 0x2B002DC1: cmp esi, edx */ 3392 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx); 3393 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3394 _flag_k = FK_CMP; 3395 MEM32(ebp + (-0x4)) = edx; /* 0x2B002DC3: mov dword ptr [ebp - 4], edx */ 3396 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B002DFE; /* 0x2B002DC6: je 0x2b002dfe */ 3397 L_2B002DC8: 3398 eax = MEM32(esi + 0x4); /* 0x2B002DC8: mov eax, dword ptr [esi + 4] */ 3399 /* cmp eax, ebx */ /* 0x2B002DCB: cmp eax, ebx */ 3400 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 3401 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3402 _flag_k = FK_CMP; 3403 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B002DEE; /* 0x2B002DCD: je 0x2b002dee */ 3404 L_2B002DCF: 3405 ecx = eax + (-0x1); /* 0x2B002DCF: lea ecx, [eax - 1] */ 3406 SET_LO8(eax, MEM8(ecx)); /* 0x2B002DD2: mov al, byte ptr [ecx] */ 3407 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B002DD4: cmp al, bl */ 3408 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3409 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3410 _flag_k = FK_NARROW(FK_CMP, 24); 3411 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B002DE2; /* 0x2B002DD6: je 0x2b002de2 */ 3412 L_2B002DD8: 3413 /* cmp LO8(eax), 0xFFu */ /* 0x2B002DD8: cmp al, 0xff */ 3414 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 3415 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3416 _flag_k = FK_NARROW(FK_CMP, 24); 3417 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B002DE2; /* 0x2B002DDA: je 0x2b002de2 */ 3418 L_2B002DDC: 3419 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3420 SET_LO8(eax, LO8(eax) - 1); /* 0x2B002DDC: dec al */ 3421 _flag_k = FK_NARROW(FK_DEC, 24); 3422 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B002DDE: mov byte ptr [ecx], al */ 3423 goto L_2B002DEE; /* 0x2B002DE0: jmp 0x2b002dee */ 3424 L_2B002DE2: 3425 PUSH32(esp, ecx); /* 0x2B002DE2: push ecx */ 3426 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B002DE3: call 0x2b0ab1ba */ /* not lifted */ 3427 RECOMP_FLAGS_IN(); 3428 edx = MEM32(ebp + (-0x4)); /* 0x2B002DE8: mov edx, dword ptr [ebp - 4] */ 3429 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3430 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3431 esp = esp + 4; /* 0x2B002DEB: add esp, 4 */ 3432 _flag_k = FK_ADD; 3433 L_2B002DEE: 3434 MEM32(esi + 0x4) = ebx; /* 0x2B002DEE: mov dword ptr [esi + 4], ebx */ 3435 MEM32(esi + 0x8) = ebx; /* 0x2B002DF1: mov dword ptr [esi + 8], ebx */ 3436 MEM32(esi + 0xC) = ebx; /* 0x2B002DF4: mov dword ptr [esi + 0xc], ebx */ 3437 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 3438 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3439 esi = esi + 0x10u; /* 0x2B002DF7: add esi, 0x10 */ 3440 _flag_k = FK_ADD; 3441 /* cmp esi, edx */ /* 0x2B002DFA: cmp esi, edx */ 3442 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx); 3443 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3444 _flag_k = FK_CMP; 3445 RECOMP_BACKEDGE(); 3446 if (CMP_NE(_flag_a, _flag_b)) goto L_2B002DC8; /* 0x2B002DFC: jne 0x2b002dc8 */ 3447 L_2B002DFE: 3448 eax = MEM32(edi + 0x4); /* 0x2B002DFE: mov eax, dword ptr [edi + 4] */ 3449 PUSH32(esp, eax); /* 0x2B002E01: push eax */ 3450 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B002E02: call 0x2b0ab1ba */ /* not lifted */ 3451 RECOMP_FLAGS_IN(); 3452 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3453 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3454 esp = esp + 4; /* 0x2B002E07: add esp, 4 */ 3455 _flag_k = FK_ADD; 3456 MEM32(edi + 0x4) = ebx; /* 0x2B002E0A: mov dword ptr [edi + 4], ebx */ 3457 MEM32(edi + 0x8) = ebx; /* 0x2B002E0D: mov dword ptr [edi + 8], ebx */ 3458 MEM32(edi + 0xC) = ebx; /* 0x2B002E10: mov dword ptr [edi + 0xc], ebx */ 3459 edi = POP32_VAL(esp); /* 0x2B002E13: pop edi */ 3460 esi = POP32_VAL(esp); /* 0x2B002E14: pop esi */ 3461 ebx = POP32_VAL(esp); /* 0x2B002E15: pop ebx */ 3462 esp = ebp; /* 0x2B002E16: mov esp, ebp */ 3463 ebp = POP32_VAL(esp); /* 0x2B002E18: pop ebp */ 3464 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B002E19: ret */ 3465 L_2B0B2D98: 3466 ecx = MEM32(ebp + (-0x64)); /* 0x2B0B2D98: mov ecx, dword ptr [ebp - 0x64] */ 3467 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x6Cu); 3468 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3469 ecx = ecx + 0x6Cu; /* 0x2B0B2D9B: add ecx, 0x6c */ 3470 _flag_k = FK_ADD; 3471 RECOMP_BACKEDGE(); 3472 goto L_2B002DB0; /* 0x2B0B2D9E: jmp 0x2b002db0 */ 3473 { RECOMP_REGS_OUT(); return; } /* end of function */ 3474 RECOMP_REGS_OUT(); 3475 } 3476 3477 void sub_2B0B2DA3(void) { 3478 int _fpu_cmp = 0; 3479 uint32_t _cf = 0; 3480 int _df = 1; 3481 uint32_t _flag_k = FK_NONE; 3482 uint32_t _flag_a = 0, _flag_b = 0; 3483 uint32_t _itail_tgt = 0; 3484 RECOMP_REGS_LOCALS 3485 RECOMP_ENTER(0x2B0B2DA3u); 3486 3487 L_2B0B2DA3: 3488 ecx = ebp + (-0x20); /* 0x2B0B2DA3: lea ecx, [ebp - 0x20] */ 3489 L_2B0B2DA6: 3490 { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; } 3491 { RECOMP_REGS_OUT(); return; } /* end of function */ 3492 _ljump: 3493 switch (_itail_tgt) { 3494 case 0x2B0B2DA3u: goto L_2B0B2DA3; 3495 case 0x2B0B2DA6u: goto L_2B0B2DA6; 3496 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3497 } 3498 RECOMP_REGS_OUT(); 3499 } 3500 3501 void sub_2B0B2DAC(void) { 3502 int _fpu_cmp = 0; 3503 uint32_t _cf = 0; 3504 int _df = 1; 3505 uint32_t _flag_k = FK_NONE; 3506 uint32_t _flag_a = 0, _flag_b = 0; 3507 uint32_t _itail_tgt = 0; 3508 RECOMP_REGS_LOCALS 3509 RECOMP_ENTER(0x2B0B2DACu); 3510 3511 L_2B0B2DAC: 3512 ecx = ebp + (-0x20); /* 0x2B0B2DAC: lea ecx, [ebp - 0x20] */ 3513 L_2B0B2DAF: 3514 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 3515 { RECOMP_REGS_OUT(); return; } /* end of function */ 3516 _ljump: 3517 switch (_itail_tgt) { 3518 case 0x2B0B2DACu: goto L_2B0B2DAC; 3519 case 0x2B0B2DAFu: goto L_2B0B2DAF; 3520 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3521 } 3522 RECOMP_REGS_OUT(); 3523 } 3524 3525 void sub_2B0B2DB5(void) { 3526 int _fpu_cmp = 0; 3527 uint32_t _cf = 0; 3528 int _df = 1; 3529 uint32_t _flag_k = FK_NONE; 3530 uint32_t _flag_a = 0, _flag_b = 0; 3531 uint32_t _itail_tgt = 0; 3532 RECOMP_REGS_LOCALS 3533 RECOMP_ENTER(0x2B0B2DB5u); 3534 3535 L_2B0B2DB5: 3536 eax = MEM32(ebp + 0x8); /* 0x2B0B2DB5: mov eax, dword ptr [ebp + 8] */ 3537 PUSH32(esp, eax); /* 0x2B0B2DB8: push eax */ 3538 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B2DB9: call 0x2b0ab1ba */ /* not lifted */ 3539 RECOMP_FLAGS_IN(); 3540 ecx = POP32_VAL(esp); /* 0x2B0B2DBE: pop ecx */ 3541 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B2DBF: ret */ 3542 RECOMP_REGS_OUT(); 3543 } 3544 3545 void sub_2B0B2DC0(void) { 3546 int _fpu_cmp = 0; 3547 uint32_t _cf = 0; 3548 int _df = 1; 3549 uint32_t _flag_k = FK_NONE; 3550 uint32_t _flag_a = 0, _flag_b = 0; 3551 uint32_t _itail_tgt = 0; 3552 RECOMP_REGS_LOCALS 3553 RECOMP_ENTER(0x2B0B2DC0u); 3554 3555 L_2B0B2DC0: 3556 eax = MEM32(ebp + 0x8); /* 0x2B0B2DC0: mov eax, dword ptr [ebp + 8] */ 3557 PUSH32(esp, eax); /* 0x2B0B2DC3: push eax */ 3558 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B2DC4: call 0x2b0ab1ba */ /* not lifted */ 3559 RECOMP_FLAGS_IN(); 3560 ecx = POP32_VAL(esp); /* 0x2B0B2DC9: pop ecx */ 3561 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B2DCA: ret */ 3562 RECOMP_REGS_OUT(); 3563 } 3564 3565 void sub_2B0B2DCB(void) { 3566 int _fpu_cmp = 0; 3567 uint32_t _cf = 0; 3568 int _df = 1; 3569 uint32_t _flag_k = FK_NONE; 3570 uint32_t _flag_a = 0, _flag_b = 0; 3571 uint32_t _itail_tgt = 0; 3572 RECOMP_REGS_LOCALS 3573 RECOMP_ENTER(0x2B0B2DCBu); 3574 3575 L_2B0B2DCB: 3576 eax = MEM32(ebp + 0x8); /* 0x2B0B2DCB: mov eax, dword ptr [ebp + 8] */ 3577 PUSH32(esp, eax); /* 0x2B0B2DCE: push eax */ 3578 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B2DCF: call 0x2b0ab1ba */ /* not lifted */ 3579 RECOMP_FLAGS_IN(); 3580 ecx = POP32_VAL(esp); /* 0x2B0B2DD4: pop ecx */ 3581 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B2DD5: ret */ 3582 RECOMP_REGS_OUT(); 3583 } 3584 3585 void sub_2B0B2DD6(void) { 3586 int _fpu_cmp = 0; 3587 uint32_t _cf = 0; 3588 int _df = 1; 3589 uint32_t _flag_k = FK_NONE; 3590 uint32_t _flag_a = 0, _flag_b = 0; 3591 uint32_t _itail_tgt = 0; 3592 RECOMP_REGS_LOCALS 3593 RECOMP_ENTER(0x2B0B2DD6u); 3594 3595 L_2B0B2DD6: 3596 eax = MEM32(ebp + 0x8); /* 0x2B0B2DD6: mov eax, dword ptr [ebp + 8] */ 3597 PUSH32(esp, eax); /* 0x2B0B2DD9: push eax */ 3598 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B2DDA: call 0x2b0ab1ba */ /* not lifted */ 3599 RECOMP_FLAGS_IN(); 3600 ecx = POP32_VAL(esp); /* 0x2B0B2DDF: pop ecx */ 3601 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B2DE0: ret */ 3602 RECOMP_REGS_OUT(); 3603 } 3604 3605 void sub_2B0B2DE1(void) { 3606 int _fpu_cmp = 0; 3607 uint32_t _cf = 0; 3608 int _df = 1; 3609 uint32_t _flag_k = FK_NONE; 3610 uint32_t _flag_a = 0, _flag_b = 0; 3611 uint32_t _itail_tgt = 0; 3612 RECOMP_REGS_LOCALS 3613 RECOMP_ENTER(0x2B0B2DE1u); 3614 3615 L_2B0B2DE1: 3616 eax = MEM32(ebp + 0x8); /* 0x2B0B2DE1: mov eax, dword ptr [ebp + 8] */ 3617 PUSH32(esp, eax); /* 0x2B0B2DE4: push eax */ 3618 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B2DE5: call 0x2b0ab1ba */ /* not lifted */ 3619 RECOMP_FLAGS_IN(); 3620 ecx = POP32_VAL(esp); /* 0x2B0B2DEA: pop ecx */ 3621 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B2DEB: ret */ 3622 RECOMP_REGS_OUT(); 3623 } 3624 3625 void sub_2B0B2DEC(void) { 3626 int _fpu_cmp = 0; 3627 uint32_t _cf = 0; 3628 int _df = 1; 3629 uint32_t _flag_k = FK_NONE; 3630 uint32_t _flag_a = 0, _flag_b = 0; 3631 uint32_t _itail_tgt = 0; 3632 RECOMP_REGS_LOCALS 3633 RECOMP_ENTER(0x2B0B2DECu); 3634 3635 L_2B0B2DEC: 3636 eax = MEM32(ebp + 0x8); /* 0x2B0B2DEC: mov eax, dword ptr [ebp + 8] */ 3637 PUSH32(esp, eax); /* 0x2B0B2DEF: push eax */ 3638 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B2DF0: call 0x2b0ab1ba */ /* not lifted */ 3639 RECOMP_FLAGS_IN(); 3640 ecx = POP32_VAL(esp); /* 0x2B0B2DF5: pop ecx */ 3641 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B2DF6: ret */ 3642 RECOMP_REGS_OUT(); 3643 } 3644 3645 void sub_2B0B2DF7(void) { 3646 int _fpu_cmp = 0; 3647 uint32_t _cf = 0; 3648 int _df = 1; 3649 uint32_t _flag_k = FK_NONE; 3650 uint32_t _flag_a = 0, _flag_b = 0; 3651 uint32_t _itail_tgt = 0; 3652 RECOMP_REGS_LOCALS 3653 RECOMP_ENTER(0x2B0B2DF7u); 3654 3655 L_2B0B2DF7: 3656 eax = MEM32(ebp + 0x8); /* 0x2B0B2DF7: mov eax, dword ptr [ebp + 8] */ 3657 PUSH32(esp, eax); /* 0x2B0B2DFA: push eax */ 3658 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B2DFB: call 0x2b0ab1ba */ /* not lifted */ 3659 RECOMP_FLAGS_IN(); 3660 ecx = POP32_VAL(esp); /* 0x2B0B2E00: pop ecx */ 3661 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B2E01: ret */ 3662 RECOMP_REGS_OUT(); 3663 } 3664 3665 void sub_2B0B2E02(void) { 3666 int _fpu_cmp = 0; 3667 uint32_t _cf = 0; 3668 int _df = 1; 3669 uint32_t _flag_k = FK_NONE; 3670 uint32_t _flag_a = 0, _flag_b = 0; 3671 uint32_t _itail_tgt = 0; 3672 RECOMP_REGS_LOCALS 3673 RECOMP_ENTER(0x2B0B2E02u); 3674 3675 L_2B0B2E02: 3676 eax = MEM32(ebp + 0x8); /* 0x2B0B2E02: mov eax, dword ptr [ebp + 8] */ 3677 PUSH32(esp, eax); /* 0x2B0B2E05: push eax */ 3678 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B2E06: call 0x2b0ab1ba */ /* not lifted */ 3679 RECOMP_FLAGS_IN(); 3680 ecx = POP32_VAL(esp); /* 0x2B0B2E0B: pop ecx */ 3681 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B2E0C: ret */ 3682 RECOMP_REGS_OUT(); 3683 } 3684 3685 void sub_2B0B2E0D(void) { 3686 int _fpu_cmp = 0; 3687 uint32_t _cf = 0; 3688 int _df = 1; 3689 uint32_t _flag_k = FK_NONE; 3690 uint32_t _flag_a = 0, _flag_b = 0; 3691 uint32_t _itail_tgt = 0; 3692 RECOMP_REGS_LOCALS 3693 RECOMP_ENTER(0x2B0B2E0Du); 3694 3695 L_2B0B2E0D: 3696 eax = MEM32(ebp + 0x8); /* 0x2B0B2E0D: mov eax, dword ptr [ebp + 8] */ 3697 PUSH32(esp, eax); /* 0x2B0B2E10: push eax */ 3698 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B2E11: call 0x2b0ab1ba */ /* not lifted */ 3699 RECOMP_FLAGS_IN(); 3700 ecx = POP32_VAL(esp); /* 0x2B0B2E16: pop ecx */ 3701 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B2E17: ret */ 3702 RECOMP_REGS_OUT(); 3703 } 3704 3705 void sub_2B0B2E18(void) { 3706 int _fpu_cmp = 0; 3707 uint32_t _cf = 0; 3708 int _df = 1; 3709 uint32_t _flag_k = FK_NONE; 3710 uint32_t _flag_a = 0, _flag_b = 0; 3711 uint32_t _itail_tgt = 0; 3712 RECOMP_REGS_LOCALS 3713 RECOMP_ENTER(0x2B0B2E18u); 3714 3715 L_2B0B2E18: 3716 eax = MEM32(ebp + 0x8); /* 0x2B0B2E18: mov eax, dword ptr [ebp + 8] */ 3717 PUSH32(esp, eax); /* 0x2B0B2E1B: push eax */ 3718 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B2E1C: call 0x2b0ab1ba */ /* not lifted */ 3719 RECOMP_FLAGS_IN(); 3720 ecx = POP32_VAL(esp); /* 0x2B0B2E21: pop ecx */ 3721 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B2E22: ret */ 3722 RECOMP_REGS_OUT(); 3723 } 3724 3725 void sub_2B0B2E23(void) { 3726 int _fpu_cmp = 0; 3727 uint32_t _cf = 0; 3728 int _df = 1; 3729 uint32_t _flag_k = FK_NONE; 3730 uint32_t _flag_a = 0, _flag_b = 0; 3731 uint32_t _itail_tgt = 0; 3732 RECOMP_REGS_LOCALS 3733 RECOMP_ENTER(0x2B0B2E23u); 3734 3735 L_2B0B2E23: 3736 eax = MEM32(ebp + (-0x10)); /* 0x2B0B2E23: mov eax, dword ptr [ebp - 0x10] */ 3737 PUSH32(esp, eax); /* 0x2B0B2E26: push eax */ 3738 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B2E27: call 0x2b0ab1ba */ /* not lifted */ 3739 RECOMP_FLAGS_IN(); 3740 ecx = POP32_VAL(esp); /* 0x2B0B2E2C: pop ecx */ 3741 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B2E2D: ret */ 3742 RECOMP_REGS_OUT(); 3743 } 3744 3745 void sub_2B0B2E2E(void) { 3746 int _fpu_cmp = 0; 3747 uint32_t _cf = 0; 3748 int _df = 1; 3749 uint32_t _flag_k = FK_NONE; 3750 uint32_t _flag_a = 0, _flag_b = 0; 3751 uint32_t _itail_tgt = 0; 3752 RECOMP_REGS_LOCALS 3753 RECOMP_ENTER(0x2B0B2E2Eu); 3754 3755 L_2B0B2E2E: 3756 eax = MEM32(ebp + (-0x10)); /* 0x2B0B2E2E: mov eax, dword ptr [ebp - 0x10] */ 3757 PUSH32(esp, eax); /* 0x2B0B2E31: push eax */ 3758 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B2E32: call 0x2b0ab1ba */ /* not lifted */ 3759 RECOMP_FLAGS_IN(); 3760 ecx = POP32_VAL(esp); /* 0x2B0B2E37: pop ecx */ 3761 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B2E38: ret */ 3762 RECOMP_REGS_OUT(); 3763 } 3764 3765 void sub_2B0B2E39(void) { 3766 int _fpu_cmp = 0; 3767 uint32_t _cf = 0; 3768 int _df = 1; 3769 uint32_t _flag_k = FK_NONE; 3770 uint32_t _flag_a = 0, _flag_b = 0; 3771 uint32_t _itail_tgt = 0; 3772 RECOMP_REGS_LOCALS 3773 RECOMP_ENTER(0x2B0B2E39u); 3774 3775 L_2B0B2E39: 3776 ecx = MEM32(ebp + (-0x10)); /* 0x2B0B2E39: mov ecx, dword ptr [ebp - 0x10] */ 3777 L_2B0B2E3C: 3778 { _itail_tgt = (uint32_t)(MEM32(0x2B0B59A4)); goto _ljump; } 3779 { RECOMP_REGS_OUT(); return; } /* end of function */ 3780 _ljump: 3781 switch (_itail_tgt) { 3782 case 0x2B0B2E39u: goto L_2B0B2E39; 3783 case 0x2B0B2E3Cu: goto L_2B0B2E3C; 3784 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3785 } 3786 RECOMP_REGS_OUT(); 3787 } 3788 3789 void sub_2B0B2E42(void) { 3790 int _fpu_cmp = 0; 3791 uint32_t _cf = 0; 3792 int _df = 1; 3793 uint32_t _flag_k = FK_NONE; 3794 uint32_t _flag_a = 0, _flag_b = 0; 3795 uint32_t _itail_tgt = 0; 3796 RECOMP_REGS_LOCALS 3797 RECOMP_ENTER(0x2B0B2E42u); 3798 3799 L_2B0B2E42: 3800 eax = MEM32(ebp + (-0x10)); /* 0x2B0B2E42: mov eax, dword ptr [ebp - 0x10] */ 3801 PUSH32(esp, eax); /* 0x2B0B2E45: push eax */ 3802 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B0B2E46: call 0x2b0ab1ba */ /* not lifted */ 3803 RECOMP_FLAGS_IN(); 3804 ecx = POP32_VAL(esp); /* 0x2B0B2E4B: pop ecx */ 3805 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B0B2E4C: ret */ 3806 RECOMP_REGS_OUT(); 3807 } 3808 3809 void sub_2B0B2E4D(void) { 3810 int _fpu_cmp = 0; 3811 uint32_t _cf = 0; 3812 int _df = 1; 3813 uint32_t _flag_k = FK_NONE; 3814 uint32_t _flag_a = 0, _flag_b = 0; 3815 uint32_t _itail_tgt = 0; 3816 RECOMP_REGS_LOCALS 3817 RECOMP_ENTER(0x2B0B2E4Du); 3818 3819 goto L_2B0B2E4D; 3820 L_2B0AB218: 3821 { _itail_tgt = (uint32_t)(MEM32(0x2B0B51BC)); goto _ljump; } 3822 L_2B0B2E4D: 3823 eax = 0x2B0C0310u; /* 0x2B0B2E4D: mov eax, 0x2b0c0310 */ 3824 L_2B0B2E52: 3825 RECOMP_BACKEDGE(); 3826 goto L_2B0AB218; /* 0x2B0B2E52: jmp 0x2b0ab218 */ 3827 { RECOMP_REGS_OUT(); return; } /* end of function */ 3828 _ljump: 3829 switch (_itail_tgt) { 3830 case 0x2B0AB218u: goto L_2B0AB218; 3831 case 0x2B0B2E4Du: goto L_2B0B2E4D; 3832 case 0x2B0B2E52u: goto L_2B0B2E52; 3833 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3834 } 3835 RECOMP_REGS_OUT(); 3836 } 3837 3838 void sub_2B0B2E60(void) { 3839 int _fpu_cmp = 0; 3840 uint32_t _cf = 0; 3841 int _df = 1; 3842 uint32_t _flag_k = FK_NONE; 3843 uint32_t _flag_a = 0, _flag_b = 0; 3844 uint32_t _itail_tgt = 0; 3845 RECOMP_REGS_LOCALS 3846 RECOMP_ENTER(0x2B0B2E60u); 3847 3848 L_2B0B2E60: 3849 ecx = MEM32(ebp + (-0x14)); /* 0x2B0B2E60: mov ecx, dword ptr [ebp - 0x14] */ 3850 L_2B0B2E63: 3851 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x44u); 3852 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3853 ecx = ecx + 0x44u; /* 0x2B0B2E63: add ecx, 0x44 */ 3854 _flag_k = FK_ADD; 3855 L_2B0B2E66: 3856 { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; } 3857 { RECOMP_REGS_OUT(); return; } /* end of function */ 3858 _ljump: 3859 switch (_itail_tgt) { 3860 case 0x2B0B2E60u: goto L_2B0B2E60; 3861 case 0x2B0B2E63u: goto L_2B0B2E63; 3862 case 0x2B0B2E66u: goto L_2B0B2E66; 3863 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3864 } 3865 RECOMP_REGS_OUT(); 3866 } 3867 3868 void sub_2B0B2E6C(void) { 3869 int _fpu_cmp = 0; 3870 uint32_t _cf = 0; 3871 int _df = 1; 3872 uint32_t _flag_k = FK_NONE; 3873 uint32_t _flag_a = 0, _flag_b = 0; 3874 uint32_t _itail_tgt = 0; 3875 RECOMP_REGS_LOCALS 3876 RECOMP_ENTER(0x2B0B2E6Cu); 3877 3878 L_2B0B2E6C: 3879 ecx = MEM32(ebp + (-0x14)); /* 0x2B0B2E6C: mov ecx, dword ptr [ebp - 0x14] */ 3880 L_2B0B2E6F: 3881 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x58u); 3882 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3883 ecx = ecx + 0x58u; /* 0x2B0B2E6F: add ecx, 0x58 */ 3884 _flag_k = FK_ADD; 3885 L_2B0B2E72: 3886 { _itail_tgt = (uint32_t)(MEM32(0x2B0B5B8C)); goto _ljump; } 3887 { RECOMP_REGS_OUT(); return; } /* end of function */ 3888 _ljump: 3889 switch (_itail_tgt) { 3890 case 0x2B0B2E6Cu: goto L_2B0B2E6C; 3891 case 0x2B0B2E6Fu: goto L_2B0B2E6F; 3892 case 0x2B0B2E72u: goto L_2B0B2E72; 3893 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 3894 } 3895 RECOMP_REGS_OUT(); 3896 } 3897 3898 void sub_2B0B2E78(void) { 3899 int _fpu_cmp = 0; 3900 uint32_t _cf = 0; 3901 int _df = 1; 3902 uint32_t _flag_k = FK_NONE; 3903 uint32_t _flag_a = 0, _flag_b = 0; 3904 uint32_t _itail_tgt = 0; 3905 RECOMP_REGS_LOCALS 3906 RECOMP_ENTER(0x2B0B2E78u); 3907 3908 goto L_2B0B2E78; 3909 L_2B002DB0: 3910 PUSH32(esp, ebp); /* 0x2B002DB0: push ebp */ 3911 ebp = esp; /* 0x2B002DB1: mov ebp, esp */ 3912 PUSH32(esp, ecx); /* 0x2B002DB3: push ecx */ 3913 PUSH32(esp, ebx); /* 0x2B002DB4: push ebx */ 3914 PUSH32(esp, esi); /* 0x2B002DB5: push esi */ 3915 PUSH32(esp, edi); /* 0x2B002DB6: push edi */ 3916 edi = ecx; /* 0x2B002DB7: mov edi, ecx */ 3917 edx = MEM32(edi + 0x8); /* 0x2B002DB9: mov edx, dword ptr [edi + 8] */ 3918 esi = MEM32(edi + 0x4); /* 0x2B002DBC: mov esi, dword ptr [edi + 4] */ 3919 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 3920 ebx = 0; /* 0x2B002DBF: xor ebx, ebx */ 3921 _cf = 0; 3922 _flag_k = FK_TEST; 3923 /* cmp esi, edx */ /* 0x2B002DC1: cmp esi, edx */ 3924 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx); 3925 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3926 _flag_k = FK_CMP; 3927 MEM32(ebp + (-0x4)) = edx; /* 0x2B002DC3: mov dword ptr [ebp - 4], edx */ 3928 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B002DFE; /* 0x2B002DC6: je 0x2b002dfe */ 3929 L_2B002DC8: 3930 eax = MEM32(esi + 0x4); /* 0x2B002DC8: mov eax, dword ptr [esi + 4] */ 3931 /* cmp eax, ebx */ /* 0x2B002DCB: cmp eax, ebx */ 3932 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ebx); 3933 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3934 _flag_k = FK_CMP; 3935 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B002DEE; /* 0x2B002DCD: je 0x2b002dee */ 3936 L_2B002DCF: 3937 ecx = eax + (-0x1); /* 0x2B002DCF: lea ecx, [eax - 1] */ 3938 SET_LO8(eax, MEM8(ecx)); /* 0x2B002DD2: mov al, byte ptr [ecx] */ 3939 /* cmp LO8(eax), LO8(ebx) */ /* 0x2B002DD4: cmp al, bl */ 3940 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3941 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3942 _flag_k = FK_NARROW(FK_CMP, 24); 3943 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B002DE2; /* 0x2B002DD6: je 0x2b002de2 */ 3944 L_2B002DD8: 3945 /* cmp LO8(eax), 0xFFu */ /* 0x2B002DD8: cmp al, 0xff */ 3946 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(0xFFu) << 24; 3947 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3948 _flag_k = FK_NARROW(FK_CMP, 24); 3949 if (CMP_EQ(_flag_a, _flag_b)) goto L_2B002DE2; /* 0x2B002DDA: je 0x2b002de2 */ 3950 L_2B002DDC: 3951 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(1) << 24; 3952 SET_LO8(eax, LO8(eax) - 1); /* 0x2B002DDC: dec al */ 3953 _flag_k = FK_NARROW(FK_DEC, 24); 3954 MEM8(ecx) = (uint8_t)(LO8(eax)); /* 0x2B002DDE: mov byte ptr [ecx], al */ 3955 goto L_2B002DEE; /* 0x2B002DE0: jmp 0x2b002dee */ 3956 L_2B002DE2: 3957 PUSH32(esp, ecx); /* 0x2B002DE2: push ecx */ 3958 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B002DE3: call 0x2b0ab1ba */ /* not lifted */ 3959 RECOMP_FLAGS_IN(); 3960 edx = MEM32(ebp + (-0x4)); /* 0x2B002DE8: mov edx, dword ptr [ebp - 4] */ 3961 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3962 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3963 esp = esp + 4; /* 0x2B002DEB: add esp, 4 */ 3964 _flag_k = FK_ADD; 3965 L_2B002DEE: 3966 MEM32(esi + 0x4) = ebx; /* 0x2B002DEE: mov dword ptr [esi + 4], ebx */ 3967 MEM32(esi + 0x8) = ebx; /* 0x2B002DF1: mov dword ptr [esi + 8], ebx */ 3968 MEM32(esi + 0xC) = ebx; /* 0x2B002DF4: mov dword ptr [esi + 0xc], ebx */ 3969 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 3970 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3971 esi = esi + 0x10u; /* 0x2B002DF7: add esi, 0x10 */ 3972 _flag_k = FK_ADD; 3973 /* cmp esi, edx */ /* 0x2B002DFA: cmp esi, edx */ 3974 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(edx); 3975 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3976 _flag_k = FK_CMP; 3977 RECOMP_BACKEDGE(); 3978 if (CMP_NE(_flag_a, _flag_b)) goto L_2B002DC8; /* 0x2B002DFC: jne 0x2b002dc8 */ 3979 L_2B002DFE: 3980 eax = MEM32(edi + 0x4); /* 0x2B002DFE: mov eax, dword ptr [edi + 4] */ 3981 PUSH32(esp, eax); /* 0x2B002E01: push eax */ 3982 RECOMP_ICALL(0x2B0AB1BAu); /* 0x2B002E02: call 0x2b0ab1ba */ /* not lifted */ 3983 RECOMP_FLAGS_IN(); 3984 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3985 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3986 esp = esp + 4; /* 0x2B002E07: add esp, 4 */ 3987 _flag_k = FK_ADD; 3988 MEM32(edi + 0x4) = ebx; /* 0x2B002E0A: mov dword ptr [edi + 4], ebx */ 3989 MEM32(edi + 0x8) = ebx; /* 0x2B002E0D: mov dword ptr [edi + 8], ebx */ 3990 MEM32(edi + 0xC) = ebx; /* 0x2B002E10: mov dword ptr [edi + 0xc], ebx */ 3991 edi = POP32_VAL(esp); /* 0x2B002E13: pop edi */ 3992 esi = POP32_VAL(esp); /* 0x2B002E14: pop esi */ 3993 ebx = POP32_VAL(esp); /* 0x2B002E15: pop ebx */ 3994 esp = ebp; /* 0x2B002E16: mov esp, ebp */ 3995 ebp = POP32_VAL(esp); /* 0x2B002E18: pop ebp */ 3996 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x2B002E19: ret */ 3997 L_2B0B2E78: 3998 ecx = MEM32(ebp + (-0x14)); /* 0x2B0B2E78: mov ecx, dword ptr [ebp - 0x14] */ 3999 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x6Cu); 4000 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4001 ecx = ecx + 0x6Cu; /* 0x2B0B2E7B: add ecx, 0x6c */ 4002 _flag_k = FK_ADD; 4003 RECOMP_BACKEDGE(); 4004 goto L_2B002DB0; /* 0x2B0B2E7E: jmp 0x2b002db0 */ 4005 { RECOMP_REGS_OUT(); return; } /* end of function */ 4006 RECOMP_REGS_OUT(); 4007 } 4008 4009 void sub_2B0B2E83(void) { 4010 int _fpu_cmp = 0; 4011 uint32_t _cf = 0; 4012 int _df = 1; 4013 uint32_t _flag_k = FK_NONE; 4014 uint32_t _flag_a = 0, _flag_b = 0; 4015 uint32_t _itail_tgt = 0; 4016 RECOMP_REGS_LOCALS 4017 RECOMP_ENTER(0x2B0B2E83u); 4018 4019 L_2B0B2E83: 4020 ecx = MEM32(ebp + (-0x10)); /* 0x2B0B2E83: mov ecx, dword ptr [ebp - 0x10] */ 4021 L_2B0B2E86: 4022 { _itail_tgt = (uint32_t)(MEM32(0x2B0B50E4)); goto _ljump; } 4023 { RECOMP_REGS_OUT(); return; } /* end of function */ 4024 _ljump: 4025 switch (_itail_tgt) { 4026 case 0x2B0B2E83u: goto L_2B0B2E83; 4027 case 0x2B0B2E86u: goto L_2B0B2E86; 4028 default: RECOMP_ITAIL(_itail_tgt); { RECOMP_REGS_OUT(); return; } 4029 } 4030 RECOMP_REGS_OUT(); 4031 }