client/vendor/msvcp60/source/lifted-0024.c (175522B)
1 #define RECOMP_GENERATED_CODE 2 #include "recomp_types.h" 3 4 void sub_4601B289(void) { 5 int _fpu_cmp = 0; 6 uint32_t _cf = 0; 7 int _df = 1; 8 uint32_t _flag_k = FK_NONE; 9 uint32_t _flag_a = 0, _flag_b = 0; 10 uint32_t _itail_tgt = 0; 11 RECOMP_REGS_LOCALS 12 RECOMP_ENTER(0x4601B289u); 13 14 L_4601B289: 15 eax = 0x46029BE2u; /* 0x4601B289: mov eax, 0x46029be2 */ 16 RECOMP_ICALL(0x46001535u); /* 0x4601B28E: call 0x46001535 */ /* not lifted */ 17 RECOMP_FLAGS_IN(); 18 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x44u); 19 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 20 esp = esp - 0x44u; /* 0x4601B293: sub esp, 0x44 */ 21 _flag_k = FK_CMP; 22 eax = MEM32(ebp + 0x8); /* 0x4601B296: mov eax, dword ptr [ebp + 8] */ 23 PUSH32(esp, esi); /* 0x4601B299: push esi */ 24 esi = ecx; /* 0x4601B29A: mov esi, ecx */ 25 MEM32(ebp + (-0x10)) = esi; /* 0x4601B29C: mov dword ptr [ebp - 0x10], esi */ 26 MEM32(esi + 0x4) = eax; /* 0x4601B29F: mov dword ptr [esi + 4], eax */ 27 _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0); 28 MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) & 0; /* 0x4601B2A2: and dword ptr [ebp - 4], 0 */ 29 _cf = 0; 30 _flag_k = FK_TEST; 31 PUSH32(esp, 0x4602B41Cu); /* 0x4601B2A6: push 0x4602b41c */ 32 ecx = ebp + (-0x50); /* 0x4601B2AB: lea ecx, [ebp - 0x50] */ 33 MEM32(esi) = 0x4602BEE4u; /* 0x4601B2AE: mov dword ptr [esi], 0x4602bee4 */ 34 RECOMP_ICALL(0x46023A9Bu); /* 0x4601B2B4: call 0x46023a9b */ /* not lifted */ 35 RECOMP_FLAGS_IN(); 36 RECOMP_ICALL(0x460246E0u); /* 0x4601B2B9: call 0x460246e0 */ /* not lifted */ 37 RECOMP_FLAGS_IN(); 38 MEM32(esi + 0x8) = eax; /* 0x4601B2BE: mov dword ptr [esi + 8], eax */ 39 ecx = ebp + (-0x50); /* 0x4601B2C1: lea ecx, [ebp - 0x50] */ 40 MEM32(esi + 0xC) = edx; /* 0x4601B2C4: mov dword ptr [esi + 0xc], edx */ 41 RECOMP_ICALL(0x4602836Bu); /* 0x4601B2C7: call 0x4602836b */ /* not lifted */ 42 RECOMP_FLAGS_IN(); 43 ecx = MEM32(ebp + (-0xC)); /* 0x4601B2CC: mov ecx, dword ptr [ebp - 0xc] */ 44 eax = esi; /* 0x4601B2CF: mov eax, esi */ 45 esi = POP32_VAL(esp); /* 0x4601B2D1: pop esi */ 46 MEM32(FS_BASE + (0)) = ecx; /* 0x4601B2D2: mov dword ptr fs:[0], ecx */ 47 esp = ebp; ebp = POP32_VAL(esp); /* 0x4601B2D9: leave */ 48 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601B2DA: ret 4 */ 49 RECOMP_REGS_OUT(); 50 } 51 52 void sub_4601B2DD(void) { 53 int _fpu_cmp = 0; 54 uint32_t _cf = 0; 55 int _df = 1; 56 uint32_t _flag_k = FK_NONE; 57 uint32_t _flag_a = 0, _flag_b = 0; 58 uint32_t _itail_tgt = 0; 59 RECOMP_REGS_LOCALS 60 RECOMP_ENTER(0x4601B2DDu); 61 62 L_4601B2DD: 63 eax = MEM32(esp + 0x8); /* 0x4601B2DD: mov eax, dword ptr [esp + 8] */ 64 PUSH32(esp, esi); /* 0x4601B2E1: push esi */ 65 esi = ecx; /* 0x4601B2E2: mov esi, ecx */ 66 MEM32(esi + 0x4) = eax; /* 0x4601B2E4: mov dword ptr [esi + 4], eax */ 67 MEM32(esi) = 0x4602BEE4u; /* 0x4601B2E7: mov dword ptr [esi], 0x4602bee4 */ 68 RECOMP_ICALL(0x460246E0u); /* 0x4601B2ED: call 0x460246e0 */ /* not lifted */ 69 RECOMP_FLAGS_IN(); 70 MEM32(esi + 0x8) = eax; /* 0x4601B2F2: mov dword ptr [esi + 8], eax */ 71 MEM32(esi + 0xC) = edx; /* 0x4601B2F5: mov dword ptr [esi + 0xc], edx */ 72 eax = esi; /* 0x4601B2F8: mov eax, esi */ 73 esi = POP32_VAL(esp); /* 0x4601B2FA: pop esi */ 74 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4601B2FB: ret 8 */ 75 RECOMP_REGS_OUT(); 76 } 77 78 void sub_4601B2FE(void) { 79 int _fpu_cmp = 0; 80 uint32_t _cf = 0; 81 int _df = 1; 82 uint32_t _flag_k = FK_NONE; 83 uint32_t _flag_a = 0, _flag_b = 0; 84 uint32_t _itail_tgt = 0; 85 RECOMP_REGS_LOCALS 86 RECOMP_ENTER(0x4601B2FEu); 87 88 L_4601B2FE: 89 PUSH32(esp, 1); /* 0x4601B2FE: push 1 */ 90 eax = POP32_VAL(esp); /* 0x4601B300: pop eax */ 91 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4601B301: ret */ 92 RECOMP_REGS_OUT(); 93 } 94 95 void sub_4601B302(void) { 96 int _fpu_cmp = 0; 97 uint32_t _cf = 0; 98 int _df = 1; 99 uint32_t _flag_k = FK_NONE; 100 uint32_t _flag_a = 0, _flag_b = 0; 101 uint32_t _itail_tgt = 0; 102 RECOMP_REGS_LOCALS 103 RECOMP_ENTER(0x4601B302u); 104 105 L_4601B302: 106 MEM32(ecx) = 0x4602B424u; /* 0x4601B302: mov dword ptr [ecx], 0x4602b424 */ 107 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4601B308: ret */ 108 RECOMP_REGS_OUT(); 109 } 110 111 void sub_4601B309(void) { 112 int _fpu_cmp = 0; 113 uint32_t _cf = 0; 114 int _df = 1; 115 uint32_t _flag_k = FK_NONE; 116 uint32_t _flag_a = 0, _flag_b = 0; 117 uint32_t _itail_tgt = 0; 118 RECOMP_REGS_LOCALS 119 RECOMP_ENTER(0x4601B309u); 120 121 L_4601B309: 122 PUSH32(esp, esi); /* 0x4601B309: push esi */ 123 esi = ecx; /* 0x4601B30A: mov esi, ecx */ 124 RECOMP_ICALL(0x460246E0u); /* 0x4601B30C: call 0x460246e0 */ /* not lifted */ 125 RECOMP_FLAGS_IN(); 126 MEM32(esi + 0x8) = eax; /* 0x4601B311: mov dword ptr [esi + 8], eax */ 127 MEM32(esi + 0xC) = edx; /* 0x4601B314: mov dword ptr [esi + 0xc], edx */ 128 esi = POP32_VAL(esp); /* 0x4601B317: pop esi */ 129 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601B318: ret 4 */ 130 RECOMP_REGS_OUT(); 131 } 132 133 void sub_4601B31B(void) { 134 int _fpu_cmp = 0; 135 uint32_t _cf = 0; 136 int _df = 1; 137 uint32_t _flag_k = FK_NONE; 138 uint32_t _flag_a = 0, _flag_b = 0; 139 uint32_t _itail_tgt = 0; 140 RECOMP_REGS_LOCALS 141 RECOMP_ENTER(0x4601B31Bu); 142 143 L_4601B31B: 144 PUSH32(esp, ebp); /* 0x4601B31B: push ebp */ 145 ebp = esp; /* 0x4601B31C: mov ebp, esp */ 146 eax = MEM32(ebp + 0x10); /* 0x4601B31E: mov eax, dword ptr [ebp + 0x10] */ 147 PUSH32(esp, esi); /* 0x4601B321: push esi */ 148 esi = MEM32(ebp + 0x8); /* 0x4601B322: mov esi, dword ptr [ebp + 8] */ 149 L_4601B325: 150 /* cmp esi, MEM32(ebp + 0xC) */ /* 0x4601B325: cmp esi, dword ptr [ebp + 0xc] */ 151 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ebp + 0xC)); 152 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 153 _flag_k = FK_CMP; 154 if (CMP_EQ(_flag_a, _flag_b)) goto L_4601B34A; /* 0x4601B328: je 0x4601b34a */ 155 L_4601B32A: 156 /* cmp eax, MEM32(ebp + 0x14) */ /* 0x4601B32A: cmp eax, dword ptr [ebp + 0x14] */ 157 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + 0x14)); 158 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 159 _flag_k = FK_CMP; 160 if (CMP_EQ(_flag_a, _flag_b)) goto L_4601B34F; /* 0x4601B32D: je 0x4601b34f */ 161 L_4601B32F: 162 SET_LO8(ecx, MEM8(esi)); /* 0x4601B32F: mov cl, byte ptr [esi] */ 163 SET_LO8(edx, MEM8(eax)); /* 0x4601B331: mov dl, byte ptr [eax] */ 164 /* cmp LO8(edx), LO8(ecx) */ /* 0x4601B333: cmp dl, cl */ 165 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 166 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 167 _flag_k = FK_NARROW(FK_CMP, 24); 168 if (CMP_G(_flag_a, _flag_b)) goto L_4601B33D; /* 0x4601B335: jg 0x4601b33d */ 169 L_4601B337: 170 if (CMP_L(_flag_a, _flag_b)) goto L_4601B345; /* 0x4601B337: jl 0x4601b345 */ 171 L_4601B339: 172 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(1); 173 esi = esi + 1; /* 0x4601B339: inc esi */ 174 _flag_k = FK_INC; 175 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 176 eax = eax + 1; /* 0x4601B33A: inc eax */ 177 _flag_k = FK_INC; 178 RECOMP_BACKEDGE(); 179 goto L_4601B325; /* 0x4601B33B: jmp 0x4601b325 */ 180 L_4601B33D: 181 _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu)); 182 eax = eax | 0xFFFFFFFFu; /* 0x4601B33D: or eax, 0xffffffff */ 183 _cf = 0; 184 _flag_k = FK_TEST; 185 L_4601B340: 186 esi = POP32_VAL(esp); /* 0x4601B340: pop esi */ 187 ebp = POP32_VAL(esp); /* 0x4601B341: pop ebp */ 188 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4601B342: ret 0x10 */ 189 L_4601B345: 190 PUSH32(esp, 1); /* 0x4601B345: push 1 */ 191 eax = POP32_VAL(esp); /* 0x4601B347: pop eax */ 192 RECOMP_BACKEDGE(); 193 goto L_4601B340; /* 0x4601B348: jmp 0x4601b340 */ 194 L_4601B34A: 195 /* cmp eax, MEM32(ebp + 0x14) */ /* 0x4601B34A: cmp eax, dword ptr [ebp + 0x14] */ 196 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + 0x14)); 197 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 198 _flag_k = FK_CMP; 199 RECOMP_BACKEDGE(); 200 if (CMP_NE(_flag_a, _flag_b)) goto L_4601B33D; /* 0x4601B34D: jne 0x4601b33d */ 201 L_4601B34F: 202 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 203 eax = 0; /* 0x4601B34F: xor eax, eax */ 204 _cf = 0; 205 _flag_k = FK_TEST; 206 /* cmp esi, MEM32(ebp + 0xC) */ /* 0x4601B351: cmp esi, dword ptr [ebp + 0xc] */ 207 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ebp + 0xC)); 208 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 209 _flag_k = FK_CMP; 210 SET_LO8(eax, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x4601B354: setne al */ 211 RECOMP_BACKEDGE(); 212 goto L_4601B340; /* 0x4601B357: jmp 0x4601b340 */ 213 { RECOMP_REGS_OUT(); return; } /* end of function */ 214 RECOMP_REGS_OUT(); 215 } 216 217 void sub_4601B359(void) { 218 int _fpu_cmp = 0; 219 uint32_t _cf = 0; 220 int _df = 1; 221 uint32_t _flag_k = FK_NONE; 222 uint32_t _flag_a = 0, _flag_b = 0; 223 uint32_t _itail_tgt = 0; 224 RECOMP_REGS_LOCALS 225 RECOMP_ENTER(0x4601B359u); 226 227 L_4601B359: 228 eax = 0x46029BF4u; /* 0x4601B359: mov eax, 0x46029bf4 */ 229 RECOMP_ICALL(0x46001535u); /* 0x4601B35E: call 0x46001535 */ /* not lifted */ 230 RECOMP_FLAGS_IN(); 231 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 232 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 233 esp = esp - 0x14u; /* 0x4601B363: sub esp, 0x14 */ 234 _flag_k = FK_CMP; 235 SET_LO8(eax, MEM8(ebp + 0xF)); /* 0x4601B366: mov al, byte ptr [ebp + 0xf] */ 236 PUSH32(esp, ebx); /* 0x4601B369: push ebx */ 237 PUSH32(esp, esi); /* 0x4601B36A: push esi */ 238 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 239 ebx = 0; /* 0x4601B36B: xor ebx, ebx */ 240 _cf = 0; 241 _flag_k = FK_TEST; 242 PUSH32(esp, edi); /* 0x4601B36D: push edi */ 243 PUSH32(esp, ebx); /* 0x4601B36E: push ebx */ 244 ecx = ebp + (-0x20); /* 0x4601B36F: lea ecx, [ebp - 0x20] */ 245 MEM32(ebp + (-0x10)) = ebx; /* 0x4601B372: mov dword ptr [ebp - 0x10], ebx */ 246 MEM8(ebp + (-0x20)) = (uint8_t)(LO8(eax)); /* 0x4601B375: mov byte ptr [ebp - 0x20], al */ 247 RECOMP_ICALL(0x46001A60u); /* 0x4601B378: call 0x46001a60 */ /* not lifted */ 248 RECOMP_FLAGS_IN(); 249 edi = MEM32(ebp + 0x10); /* 0x4601B37D: mov edi, dword ptr [ebp + 0x10] */ 250 MEM32(ebp + (-0x4)) = ebx; /* 0x4601B380: mov dword ptr [ebp - 4], ebx */ 251 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ebp + 0xC)); 252 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 253 edi = edi - MEM32(ebp + 0xC); /* 0x4601B383: sub edi, dword ptr [ebp + 0xc] */ 254 _flag_k = FK_CMP; 255 eax = edi; /* 0x4601B386: mov eax, edi */ 256 L_4601B388: 257 PUSH32(esp, ebx); /* 0x4601B388: push ebx */ 258 PUSH32(esp, eax); /* 0x4601B389: push eax */ 259 ecx = ebp + (-0x20); /* 0x4601B38A: lea ecx, [ebp - 0x20] */ 260 RECOMP_ICALL(0x4600766Au); /* 0x4601B38D: call 0x4600766a */ /* not lifted */ 261 RECOMP_FLAGS_IN(); 262 ecx = ebp + (-0x20); /* 0x4601B392: lea ecx, [ebp - 0x20] */ 263 RECOMP_ICALL(0x4600880Eu); /* 0x4601B395: call 0x4600880e */ /* not lifted */ 264 RECOMP_FLAGS_IN(); 265 esi = MEM32(ebp + (-0x1C)); /* 0x4601B39A: mov esi, dword ptr [ebp - 0x1c] */ 266 ecx = ebp + (-0x20); /* 0x4601B39D: lea ecx, [ebp - 0x20] */ 267 RECOMP_ICALL(0x4600880Eu); /* 0x4601B3A0: call 0x4600880e */ /* not lifted */ 268 RECOMP_FLAGS_IN(); 269 ecx = MEM32(ebp + (-0x18)); /* 0x4601B3A5: mov ecx, dword ptr [ebp - 0x18] */ 270 eax = esi; /* 0x4601B3A8: mov eax, esi */ 271 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 272 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 273 ecx = ecx + esi; /* 0x4601B3AA: add ecx, esi */ 274 _flag_k = FK_ADD; 275 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 276 _cf = (eax) != 0; 277 eax = (uint32_t)(-(int32_t)eax); /* 0x4601B3AC: neg eax */ 278 _flag_k = FK_CMP; 279 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x4601B3AE: sbb eax, eax */ 280 eax = _sc ? 0xFFFFFFFFu : 0; 281 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 282 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 283 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 284 eax = eax & ecx; /* 0x4601B3B0: and eax, ecx */ 285 _cf = 0; 286 _flag_k = FK_TEST; 287 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x1C))); 288 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 289 eax = eax - MEM32(ebp + (-0x1C)); /* 0x4601B3B2: sub eax, dword ptr [ebp - 0x1c] */ 290 _flag_k = FK_CMP; 291 /* cmp edi, eax */ /* 0x4601B3B5: cmp edi, eax */ 292 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 293 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 294 _flag_k = FK_CMP; 295 if (CMP_A(_flag_a, _flag_b)) goto L_4601B3C8; /* 0x4601B3B7: ja 0x4601b3c8 */ 296 L_4601B3B9: 297 PUSH32(esp, edi); /* 0x4601B3B9: push edi */ 298 PUSH32(esp, MEM32(ebp + 0xC)); /* 0x4601B3BA: push dword ptr [ebp + 0xc] */ 299 PUSH32(esp, MEM32(ebp + (-0x1C))); /* 0x4601B3BD: push dword ptr [ebp - 0x1c] */ 300 RECOMP_ICALL(0x46001BB9u); /* 0x4601B3C0: call 0x46001bb9 */ /* not lifted */ 301 RECOMP_FLAGS_IN(); 302 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 303 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 304 esp = esp + 0xCu; /* 0x4601B3C5: add esp, 0xc */ 305 _flag_k = FK_ADD; 306 L_4601B3C8: 307 /* cmp MEM32(ebp + (-0x18)), edi */ /* 0x4601B3C8: cmp dword ptr [ebp - 0x18], edi */ 308 _flag_a = (uint32_t)(MEM32(ebp + (-0x18))); _flag_b = (uint32_t)(edi); 309 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 310 _flag_k = FK_CMP; 311 if (CMP_AE(_flag_a, _flag_b)) goto L_4601B3D4; /* 0x4601B3CB: jae 0x4601b3d4 */ 312 L_4601B3CD: 313 eax = edi; /* 0x4601B3CD: mov eax, edi */ 314 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x18))); 315 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 316 eax = eax - MEM32(ebp + (-0x18)); /* 0x4601B3CF: sub eax, dword ptr [ebp - 0x18] */ 317 _flag_k = FK_CMP; 318 RECOMP_BACKEDGE(); 319 goto L_4601B388; /* 0x4601B3D2: jmp 0x4601b388 */ 320 L_4601B3D4: 321 PUSH32(esp, edi); /* 0x4601B3D4: push edi */ 322 ecx = ebp + (-0x20); /* 0x4601B3D5: lea ecx, [ebp - 0x20] */ 323 RECOMP_ICALL(0x46008135u); /* 0x4601B3D8: call 0x46008135 */ /* not lifted */ 324 RECOMP_FLAGS_IN(); 325 esi = MEM32(ebp + 0x8); /* 0x4601B3DD: mov esi, dword ptr [ebp + 8] */ 326 SET_LO8(eax, MEM8(ebp + (-0x20))); /* 0x4601B3E0: mov al, byte ptr [ebp - 0x20] */ 327 PUSH32(esp, ebx); /* 0x4601B3E3: push ebx */ 328 ecx = esi; /* 0x4601B3E4: mov ecx, esi */ 329 MEM8(esi) = (uint8_t)(LO8(eax)); /* 0x4601B3E6: mov byte ptr [esi], al */ 330 RECOMP_ICALL(0x46001A60u); /* 0x4601B3E8: call 0x46001a60 */ /* not lifted */ 331 RECOMP_FLAGS_IN(); 332 PUSH32(esp, 0xFFFFFFFFu); /* 0x4601B3ED: push -1 */ 333 eax = ebp + (-0x20); /* 0x4601B3EF: lea eax, [ebp - 0x20] */ 334 PUSH32(esp, ebx); /* 0x4601B3F2: push ebx */ 335 PUSH32(esp, eax); /* 0x4601B3F3: push eax */ 336 ecx = esi; /* 0x4601B3F4: mov ecx, esi */ 337 RECOMP_ICALL(0x46007714u); /* 0x4601B3F6: call 0x46007714 */ /* not lifted */ 338 RECOMP_FLAGS_IN(); 339 PUSH32(esp, 1); /* 0x4601B3FB: push 1 */ 340 ecx = ebp + (-0x20); /* 0x4601B3FD: lea ecx, [ebp - 0x20] */ 341 RECOMP_ICALL(0x46001A60u); /* 0x4601B400: call 0x46001a60 */ /* not lifted */ 342 RECOMP_FLAGS_IN(); 343 ecx = MEM32(ebp + (-0xC)); /* 0x4601B405: mov ecx, dword ptr [ebp - 0xc] */ 344 eax = esi; /* 0x4601B408: mov eax, esi */ 345 edi = POP32_VAL(esp); /* 0x4601B40A: pop edi */ 346 esi = POP32_VAL(esp); /* 0x4601B40B: pop esi */ 347 ebx = POP32_VAL(esp); /* 0x4601B40C: pop ebx */ 348 MEM32(FS_BASE + (0)) = ecx; /* 0x4601B40D: mov dword ptr fs:[0], ecx */ 349 esp = ebp; ebp = POP32_VAL(esp); /* 0x4601B414: leave */ 350 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x4601B415: ret 0xc */ 351 RECOMP_REGS_OUT(); 352 } 353 354 void sub_4601B418(void) { 355 int _fpu_cmp = 0; 356 uint32_t _cf = 0; 357 int _df = 1; 358 uint32_t _flag_k = FK_NONE; 359 uint32_t _flag_a = 0, _flag_b = 0; 360 uint32_t _itail_tgt = 0; 361 RECOMP_REGS_LOCALS 362 RECOMP_ENTER(0x4601B418u); 363 364 L_4601B418: 365 ecx = MEM32(esp + 0x4); /* 0x4601B418: mov ecx, dword ptr [esp + 4] */ 366 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 367 eax = 0; /* 0x4601B41C: xor eax, eax */ 368 _cf = 0; 369 _flag_k = FK_TEST; 370 L_4601B41E: 371 /* cmp ecx, MEM32(esp + 0x8) */ /* 0x4601B41E: cmp ecx, dword ptr [esp + 8] */ 372 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esp + 0x8)); 373 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 374 _flag_k = FK_CMP; 375 if (CMP_EQ(_flag_a, _flag_b)) goto L_4601B436; /* 0x4601B422: je 0x4601b436 */ 376 L_4601B424: 377 edx = eax; /* 0x4601B424: mov edx, eax */ 378 if (24u) _cf = (((edx) >> 23) & 1u); /* 0x4601B426: shr edx, 0x18 */ 379 if (24u) { _flag_a = recomp_flags_pack((edx >> 24u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 380 edx = edx >> 24u; /* 0x4601B426: shr edx, 0x18 */ 381 if (8u) _cf = (((eax) >> 24) & 1u); /* 0x4601B429: shl eax, 8 */ 382 if (8u) { _flag_a = recomp_flags_pack((eax << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 383 eax = eax << 8u; /* 0x4601B429: shl eax, 8 */ 384 _flag_a = (uint32_t)((edx | eax)); _flag_b = (uint32_t)((edx | eax)); 385 edx = edx | eax; /* 0x4601B42C: or edx, eax */ 386 _cf = 0; 387 _flag_k = FK_TEST; 388 eax = (int32_t)(int8_t)MEM8(ecx); /* 0x4601B42E: movsx eax, byte ptr [ecx] */ 389 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 390 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 391 eax = eax + edx; /* 0x4601B431: add eax, edx */ 392 _flag_k = FK_ADD; 393 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 394 ecx = ecx + 1; /* 0x4601B433: inc ecx */ 395 _flag_k = FK_INC; 396 RECOMP_BACKEDGE(); 397 goto L_4601B41E; /* 0x4601B434: jmp 0x4601b41e */ 398 L_4601B436: 399 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4601B436: ret 8 */ 400 RECOMP_REGS_OUT(); 401 } 402 403 void sub_4601B439(void) { 404 int _fpu_cmp = 0; 405 uint32_t _cf = 0; 406 int _df = 1; 407 uint32_t _flag_k = FK_NONE; 408 uint32_t _flag_a = 0, _flag_b = 0; 409 uint32_t _itail_tgt = 0; 410 RECOMP_REGS_LOCALS 411 RECOMP_ENTER(0x4601B439u); 412 413 L_4601B439: 414 PUSH32(esp, MEM32(esp + 0x10)); /* 0x4601B439: push dword ptr [esp + 0x10] */ 415 eax = MEM32(ecx); /* 0x4601B43D: mov eax, dword ptr [ecx] */ 416 PUSH32(esp, MEM32(esp + 0x10)); /* 0x4601B43F: push dword ptr [esp + 0x10] */ 417 PUSH32(esp, MEM32(esp + 0x10)); /* 0x4601B443: push dword ptr [esp + 0x10] */ 418 PUSH32(esp, MEM32(esp + 0x10)); /* 0x4601B447: push dword ptr [esp + 0x10] */ 419 RECOMP_ICALL(MEM32(eax + 0x4)); /* 0x4601B44B: call dword ptr [eax + 4] */ 420 RECOMP_FLAGS_IN(); 421 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4601B44E: ret 0x10 */ 422 RECOMP_REGS_OUT(); 423 } 424 425 void sub_4601B451(void) { 426 int _fpu_cmp = 0; 427 uint32_t _cf = 0; 428 int _df = 1; 429 uint32_t _flag_k = FK_NONE; 430 uint32_t _flag_a = 0, _flag_b = 0; 431 uint32_t _itail_tgt = 0; 432 RECOMP_REGS_LOCALS 433 RECOMP_ENTER(0x4601B451u); 434 435 L_4601B451: 436 PUSH32(esp, ebp); /* 0x4601B451: push ebp */ 437 ebp = esp; /* 0x4601B452: mov ebp, esp */ 438 PUSH32(esp, ecx); /* 0x4601B454: push ecx */ 439 PUSH32(esp, MEM32(ebp + 0x10)); /* 0x4601B455: push dword ptr [ebp + 0x10] */ 440 eax = MEM32(ecx); /* 0x4601B458: mov eax, dword ptr [ecx] */ 441 _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0); 442 MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) & 0; /* 0x4601B45A: and dword ptr [ebp - 4], 0 */ 443 _cf = 0; 444 _flag_k = FK_TEST; 445 PUSH32(esp, MEM32(ebp + 0xC)); /* 0x4601B45E: push dword ptr [ebp + 0xc] */ 446 PUSH32(esp, MEM32(ebp + 0x8)); /* 0x4601B461: push dword ptr [ebp + 8] */ 447 RECOMP_ICALL(MEM32(eax + 0x8)); /* 0x4601B464: call dword ptr [eax + 8] */ 448 RECOMP_FLAGS_IN(); 449 eax = MEM32(ebp + 0x8); /* 0x4601B467: mov eax, dword ptr [ebp + 8] */ 450 esp = ebp; ebp = POP32_VAL(esp); /* 0x4601B46A: leave */ 451 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x4601B46B: ret 0xc */ 452 RECOMP_REGS_OUT(); 453 } 454 455 void sub_4601B46E(void) { 456 int _fpu_cmp = 0; 457 uint32_t _cf = 0; 458 int _df = 1; 459 uint32_t _flag_k = FK_NONE; 460 uint32_t _flag_a = 0, _flag_b = 0; 461 uint32_t _itail_tgt = 0; 462 RECOMP_REGS_LOCALS 463 RECOMP_ENTER(0x4601B46Eu); 464 465 L_4601B46E: 466 PUSH32(esp, MEM32(esp + 0x8)); /* 0x4601B46E: push dword ptr [esp + 8] */ 467 eax = MEM32(ecx); /* 0x4601B472: mov eax, dword ptr [ecx] */ 468 PUSH32(esp, MEM32(esp + 0x8)); /* 0x4601B474: push dword ptr [esp + 8] */ 469 RECOMP_ICALL(MEM32(eax + 0xC)); /* 0x4601B478: call dword ptr [eax + 0xc] */ 470 RECOMP_FLAGS_IN(); 471 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4601B47B: ret 8 */ 472 RECOMP_REGS_OUT(); 473 } 474 475 void sub_4601B47E(void) { 476 int _fpu_cmp = 0; 477 uint32_t _cf = 0; 478 int _df = 1; 479 uint32_t _flag_k = FK_NONE; 480 uint32_t _flag_a = 0, _flag_b = 0; 481 uint32_t _itail_tgt = 0; 482 RECOMP_REGS_LOCALS 483 RECOMP_ENTER(0x4601B47Eu); 484 485 L_4601B47E: 486 eax = 0x46029C06u; /* 0x4601B47E: mov eax, 0x46029c06 */ 487 RECOMP_ICALL(0x46001535u); /* 0x4601B483: call 0x46001535 */ /* not lifted */ 488 RECOMP_FLAGS_IN(); 489 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x44u); 490 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 491 esp = esp - 0x44u; /* 0x4601B488: sub esp, 0x44 */ 492 _flag_k = FK_CMP; 493 eax = MEM32(ebp + 0x8); /* 0x4601B48B: mov eax, dword ptr [ebp + 8] */ 494 PUSH32(esp, esi); /* 0x4601B48E: push esi */ 495 esi = ecx; /* 0x4601B48F: mov esi, ecx */ 496 MEM32(ebp + (-0x10)) = esi; /* 0x4601B491: mov dword ptr [ebp - 0x10], esi */ 497 MEM32(esi + 0x4) = eax; /* 0x4601B494: mov dword ptr [esi + 4], eax */ 498 _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0); 499 MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) & 0; /* 0x4601B497: and dword ptr [ebp - 4], 0 */ 500 _cf = 0; 501 _flag_k = FK_TEST; 502 PUSH32(esp, 0x4602B41Cu); /* 0x4601B49B: push 0x4602b41c */ 503 ecx = ebp + (-0x50); /* 0x4601B4A0: lea ecx, [ebp - 0x50] */ 504 MEM32(esi) = 0x4602BEF8u; /* 0x4601B4A3: mov dword ptr [esi], 0x4602bef8 */ 505 RECOMP_ICALL(0x46023A9Bu); /* 0x4601B4A9: call 0x46023a9b */ /* not lifted */ 506 RECOMP_FLAGS_IN(); 507 RECOMP_ICALL(0x460246E0u); /* 0x4601B4AE: call 0x460246e0 */ /* not lifted */ 508 RECOMP_FLAGS_IN(); 509 MEM32(esi + 0x8) = eax; /* 0x4601B4B3: mov dword ptr [esi + 8], eax */ 510 ecx = ebp + (-0x50); /* 0x4601B4B6: lea ecx, [ebp - 0x50] */ 511 MEM32(esi + 0xC) = edx; /* 0x4601B4B9: mov dword ptr [esi + 0xc], edx */ 512 RECOMP_ICALL(0x4602836Bu); /* 0x4601B4BC: call 0x4602836b */ /* not lifted */ 513 RECOMP_FLAGS_IN(); 514 ecx = MEM32(ebp + (-0xC)); /* 0x4601B4C1: mov ecx, dword ptr [ebp - 0xc] */ 515 eax = esi; /* 0x4601B4C4: mov eax, esi */ 516 esi = POP32_VAL(esp); /* 0x4601B4C6: pop esi */ 517 MEM32(FS_BASE + (0)) = ecx; /* 0x4601B4C7: mov dword ptr fs:[0], ecx */ 518 esp = ebp; ebp = POP32_VAL(esp); /* 0x4601B4CE: leave */ 519 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601B4CF: ret 4 */ 520 RECOMP_REGS_OUT(); 521 } 522 523 void sub_4601B4D2(void) { 524 int _fpu_cmp = 0; 525 uint32_t _cf = 0; 526 int _df = 1; 527 uint32_t _flag_k = FK_NONE; 528 uint32_t _flag_a = 0, _flag_b = 0; 529 uint32_t _itail_tgt = 0; 530 RECOMP_REGS_LOCALS 531 RECOMP_ENTER(0x4601B4D2u); 532 533 L_4601B4D2: 534 eax = MEM32(esp + 0x8); /* 0x4601B4D2: mov eax, dword ptr [esp + 8] */ 535 PUSH32(esp, esi); /* 0x4601B4D6: push esi */ 536 esi = ecx; /* 0x4601B4D7: mov esi, ecx */ 537 MEM32(esi + 0x4) = eax; /* 0x4601B4D9: mov dword ptr [esi + 4], eax */ 538 MEM32(esi) = 0x4602BEF8u; /* 0x4601B4DC: mov dword ptr [esi], 0x4602bef8 */ 539 RECOMP_ICALL(0x460246E0u); /* 0x4601B4E2: call 0x460246e0 */ /* not lifted */ 540 RECOMP_FLAGS_IN(); 541 MEM32(esi + 0x8) = eax; /* 0x4601B4E7: mov dword ptr [esi + 8], eax */ 542 MEM32(esi + 0xC) = edx; /* 0x4601B4EA: mov dword ptr [esi + 0xc], edx */ 543 eax = esi; /* 0x4601B4ED: mov eax, esi */ 544 esi = POP32_VAL(esp); /* 0x4601B4EF: pop esi */ 545 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4601B4F0: ret 8 */ 546 RECOMP_REGS_OUT(); 547 } 548 549 void sub_4601B4F3(void) { 550 int _fpu_cmp = 0; 551 uint32_t _cf = 0; 552 int _df = 1; 553 uint32_t _flag_k = FK_NONE; 554 uint32_t _flag_a = 0, _flag_b = 0; 555 uint32_t _itail_tgt = 0; 556 RECOMP_REGS_LOCALS 557 RECOMP_ENTER(0x4601B4F3u); 558 559 L_4601B4F3: 560 PUSH32(esp, 1); /* 0x4601B4F3: push 1 */ 561 eax = POP32_VAL(esp); /* 0x4601B4F5: pop eax */ 562 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4601B4F6: ret */ 563 RECOMP_REGS_OUT(); 564 } 565 566 void sub_4601B4F7(void) { 567 int _fpu_cmp = 0; 568 uint32_t _cf = 0; 569 int _df = 1; 570 uint32_t _flag_k = FK_NONE; 571 uint32_t _flag_a = 0, _flag_b = 0; 572 uint32_t _itail_tgt = 0; 573 RECOMP_REGS_LOCALS 574 RECOMP_ENTER(0x4601B4F7u); 575 576 L_4601B4F7: 577 MEM32(ecx) = 0x4602B424u; /* 0x4601B4F7: mov dword ptr [ecx], 0x4602b424 */ 578 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4601B4FD: ret */ 579 RECOMP_REGS_OUT(); 580 } 581 582 void sub_4601B4FE(void) { 583 int _fpu_cmp = 0; 584 uint32_t _cf = 0; 585 int _df = 1; 586 uint32_t _flag_k = FK_NONE; 587 uint32_t _flag_a = 0, _flag_b = 0; 588 uint32_t _itail_tgt = 0; 589 RECOMP_REGS_LOCALS 590 RECOMP_ENTER(0x4601B4FEu); 591 592 L_4601B4FE: 593 PUSH32(esp, esi); /* 0x4601B4FE: push esi */ 594 esi = ecx; /* 0x4601B4FF: mov esi, ecx */ 595 RECOMP_ICALL(0x460246E0u); /* 0x4601B501: call 0x460246e0 */ /* not lifted */ 596 RECOMP_FLAGS_IN(); 597 MEM32(esi + 0x8) = eax; /* 0x4601B506: mov dword ptr [esi + 8], eax */ 598 MEM32(esi + 0xC) = edx; /* 0x4601B509: mov dword ptr [esi + 0xc], edx */ 599 esi = POP32_VAL(esp); /* 0x4601B50C: pop esi */ 600 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601B50D: ret 4 */ 601 RECOMP_REGS_OUT(); 602 } 603 604 void sub_4601B510(void) { 605 int _fpu_cmp = 0; 606 uint32_t _cf = 0; 607 int _df = 1; 608 uint32_t _flag_k = FK_NONE; 609 uint32_t _flag_a = 0, _flag_b = 0; 610 uint32_t _itail_tgt = 0; 611 RECOMP_REGS_LOCALS 612 RECOMP_ENTER(0x4601B510u); 613 614 L_4601B510: 615 PUSH32(esp, ebp); /* 0x4601B510: push ebp */ 616 ebp = esp; /* 0x4601B511: mov ebp, esp */ 617 eax = MEM32(ebp + 0x10); /* 0x4601B513: mov eax, dword ptr [ebp + 0x10] */ 618 ecx = MEM32(ebp + 0x8); /* 0x4601B516: mov ecx, dword ptr [ebp + 8] */ 619 PUSH32(esp, esi); /* 0x4601B519: push esi */ 620 L_4601B51A: 621 /* cmp ecx, MEM32(ebp + 0xC) */ /* 0x4601B51A: cmp ecx, dword ptr [ebp + 0xc] */ 622 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(ebp + 0xC)); 623 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 624 _flag_k = FK_CMP; 625 if (CMP_EQ(_flag_a, _flag_b)) goto L_4601B544; /* 0x4601B51D: je 0x4601b544 */ 626 L_4601B51F: 627 /* cmp eax, MEM32(ebp + 0x14) */ /* 0x4601B51F: cmp eax, dword ptr [ebp + 0x14] */ 628 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + 0x14)); 629 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 630 _flag_k = FK_CMP; 631 if (CMP_EQ(_flag_a, _flag_b)) goto L_4601B549; /* 0x4601B522: je 0x4601b549 */ 632 L_4601B524: 633 SET_LO16(edx, MEM16(ecx)); /* 0x4601B524: mov dx, word ptr [ecx] */ 634 SET_LO16(esi, MEM16(eax)); /* 0x4601B527: mov si, word ptr [eax] */ 635 /* cmp LO16(esi), LO16(edx) */ /* 0x4601B52A: cmp si, dx */ 636 _flag_a = (uint32_t)(LO16(esi)) << 16; _flag_b = (uint32_t)(LO16(edx)) << 16; 637 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 638 _flag_k = FK_NARROW(FK_CMP, 16); 639 if (CMP_A(_flag_a, _flag_b)) goto L_4601B537; /* 0x4601B52D: ja 0x4601b537 */ 640 L_4601B52F: 641 if (CMP_B(_flag_a, _flag_b)) goto L_4601B53F; /* 0x4601B52F: jb 0x4601b53f */ 642 L_4601B531: 643 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 644 ecx = ecx + 1; /* 0x4601B531: inc ecx */ 645 _flag_k = FK_INC; 646 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 647 ecx = ecx + 1; /* 0x4601B532: inc ecx */ 648 _flag_k = FK_INC; 649 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 650 eax = eax + 1; /* 0x4601B533: inc eax */ 651 _flag_k = FK_INC; 652 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 653 eax = eax + 1; /* 0x4601B534: inc eax */ 654 _flag_k = FK_INC; 655 RECOMP_BACKEDGE(); 656 goto L_4601B51A; /* 0x4601B535: jmp 0x4601b51a */ 657 L_4601B537: 658 _flag_a = (uint32_t)((eax | 0xFFFFFFFFu)); _flag_b = (uint32_t)((eax | 0xFFFFFFFFu)); 659 eax = eax | 0xFFFFFFFFu; /* 0x4601B537: or eax, 0xffffffff */ 660 _cf = 0; 661 _flag_k = FK_TEST; 662 L_4601B53A: 663 esi = POP32_VAL(esp); /* 0x4601B53A: pop esi */ 664 ebp = POP32_VAL(esp); /* 0x4601B53B: pop ebp */ 665 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x4601B53C: ret 0x10 */ 666 L_4601B53F: 667 PUSH32(esp, 1); /* 0x4601B53F: push 1 */ 668 eax = POP32_VAL(esp); /* 0x4601B541: pop eax */ 669 RECOMP_BACKEDGE(); 670 goto L_4601B53A; /* 0x4601B542: jmp 0x4601b53a */ 671 L_4601B544: 672 /* cmp eax, MEM32(ebp + 0x14) */ /* 0x4601B544: cmp eax, dword ptr [ebp + 0x14] */ 673 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + 0x14)); 674 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 675 _flag_k = FK_CMP; 676 RECOMP_BACKEDGE(); 677 if (CMP_NE(_flag_a, _flag_b)) goto L_4601B537; /* 0x4601B547: jne 0x4601b537 */ 678 L_4601B549: 679 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 680 eax = 0; /* 0x4601B549: xor eax, eax */ 681 _cf = 0; 682 _flag_k = FK_TEST; 683 /* cmp ecx, MEM32(ebp + 0xC) */ /* 0x4601B54B: cmp ecx, dword ptr [ebp + 0xc] */ 684 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(ebp + 0xC)); 685 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 686 _flag_k = FK_CMP; 687 SET_LO8(eax, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x4601B54E: setne al */ 688 RECOMP_BACKEDGE(); 689 goto L_4601B53A; /* 0x4601B551: jmp 0x4601b53a */ 690 { RECOMP_REGS_OUT(); return; } /* end of function */ 691 RECOMP_REGS_OUT(); 692 } 693 694 void sub_4601B553(void) { 695 int _fpu_cmp = 0; 696 uint32_t _cf = 0; 697 int _df = 1; 698 uint32_t _flag_k = FK_NONE; 699 uint32_t _flag_a = 0, _flag_b = 0; 700 uint32_t _itail_tgt = 0; 701 RECOMP_REGS_LOCALS 702 RECOMP_ENTER(0x4601B553u); 703 704 L_4601B553: 705 eax = 0x46029C18u; /* 0x4601B553: mov eax, 0x46029c18 */ 706 RECOMP_ICALL(0x46001535u); /* 0x4601B558: call 0x46001535 */ /* not lifted */ 707 RECOMP_FLAGS_IN(); 708 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x14u); 709 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 710 esp = esp - 0x14u; /* 0x4601B55D: sub esp, 0x14 */ 711 _flag_k = FK_CMP; 712 SET_LO8(eax, MEM8(ebp + 0xF)); /* 0x4601B560: mov al, byte ptr [ebp + 0xf] */ 713 PUSH32(esp, ebx); /* 0x4601B563: push ebx */ 714 PUSH32(esp, esi); /* 0x4601B564: push esi */ 715 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 716 ebx = 0; /* 0x4601B565: xor ebx, ebx */ 717 _cf = 0; 718 _flag_k = FK_TEST; 719 PUSH32(esp, edi); /* 0x4601B567: push edi */ 720 PUSH32(esp, ebx); /* 0x4601B568: push ebx */ 721 ecx = ebp + (-0x20); /* 0x4601B569: lea ecx, [ebp - 0x20] */ 722 MEM32(ebp + (-0x10)) = ebx; /* 0x4601B56C: mov dword ptr [ebp - 0x10], ebx */ 723 MEM8(ebp + (-0x20)) = (uint8_t)(LO8(eax)); /* 0x4601B56F: mov byte ptr [ebp - 0x20], al */ 724 RECOMP_ICALL(0x46002532u); /* 0x4601B572: call 0x46002532 */ /* not lifted */ 725 RECOMP_FLAGS_IN(); 726 esi = MEM32(ebp + 0x10); /* 0x4601B577: mov esi, dword ptr [ebp + 0x10] */ 727 MEM32(ebp + (-0x4)) = ebx; /* 0x4601B57A: mov dword ptr [ebp - 4], ebx */ 728 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ebp + 0xC)); 729 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 730 esi = esi - MEM32(ebp + 0xC); /* 0x4601B57D: sub esi, dword ptr [ebp + 0xc] */ 731 _flag_k = FK_CMP; 732 if (1u) _cf = (((esi) >> 0) & 1u); /* 0x4601B580: sar esi, 1 */ 733 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)esi >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 734 esi = (uint32_t)((int32_t)esi >> 1u); 735 eax = esi; /* 0x4601B582: mov eax, esi */ 736 L_4601B584: 737 PUSH32(esp, ebx); /* 0x4601B584: push ebx */ 738 PUSH32(esp, eax); /* 0x4601B585: push eax */ 739 ecx = ebp + (-0x20); /* 0x4601B586: lea ecx, [ebp - 0x20] */ 740 RECOMP_ICALL(0x46008B7Du); /* 0x4601B589: call 0x46008b7d */ /* not lifted */ 741 RECOMP_FLAGS_IN(); 742 ecx = ebp + (-0x20); /* 0x4601B58E: lea ecx, [ebp - 0x20] */ 743 RECOMP_ICALL(0x46009E0Cu); /* 0x4601B591: call 0x46009e0c */ /* not lifted */ 744 RECOMP_FLAGS_IN(); 745 edi = MEM32(ebp + (-0x1C)); /* 0x4601B596: mov edi, dword ptr [ebp - 0x1c] */ 746 ecx = ebp + (-0x20); /* 0x4601B599: lea ecx, [ebp - 0x20] */ 747 RECOMP_ICALL(0x46009E0Cu); /* 0x4601B59C: call 0x46009e0c */ /* not lifted */ 748 RECOMP_FLAGS_IN(); 749 ecx = MEM32(ebp + (-0x18)); /* 0x4601B5A1: mov ecx, dword ptr [ebp - 0x18] */ 750 eax = edi; /* 0x4601B5A4: mov eax, edi */ 751 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(eax); 752 _cf = (eax) != 0; 753 eax = (uint32_t)(-(int32_t)eax); /* 0x4601B5A6: neg eax */ 754 _flag_k = FK_CMP; 755 ecx = edi + ecx * 2; /* 0x4601B5A8: lea ecx, [edi + ecx*2] */ 756 { uint32_t _sa = eax, _sb = eax, _sc = _cf; /* 0x4601B5AB: sbb eax, eax */ 757 eax = _sc ? 0xFFFFFFFFu : 0; 758 _flag_a = recomp_flags_sbb(_sa, _sb, _sc); _flag_b = 0; 759 _flag_k = FK_EFLAGS; _cf = _flag_a & 1u; } 760 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 761 eax = eax & ecx; /* 0x4601B5AD: and eax, ecx */ 762 _cf = 0; 763 _flag_k = FK_TEST; 764 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x1C))); 765 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 766 eax = eax - MEM32(ebp + (-0x1C)); /* 0x4601B5AF: sub eax, dword ptr [ebp - 0x1c] */ 767 _flag_k = FK_CMP; 768 if (1u) _cf = (((eax) >> 0) & 1u); /* 0x4601B5B2: sar eax, 1 */ 769 if (1u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 1u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 770 eax = (uint32_t)((int32_t)eax >> 1u); 771 /* cmp esi, eax */ /* 0x4601B5B4: cmp esi, eax */ 772 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 773 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 774 _flag_k = FK_CMP; 775 if (CMP_A(_flag_a, _flag_b)) goto L_4601B5CA; /* 0x4601B5B6: ja 0x4601b5ca */ 776 L_4601B5B8: 777 eax = esi + esi; /* 0x4601B5B8: lea eax, [esi + esi] */ 778 PUSH32(esp, eax); /* 0x4601B5BB: push eax */ 779 PUSH32(esp, MEM32(ebp + 0xC)); /* 0x4601B5BC: push dword ptr [ebp + 0xc] */ 780 PUSH32(esp, MEM32(ebp + (-0x1C))); /* 0x4601B5BF: push dword ptr [ebp - 0x1c] */ 781 RECOMP_ICALL(0x46001BB9u); /* 0x4601B5C2: call 0x46001bb9 */ /* not lifted */ 782 RECOMP_FLAGS_IN(); 783 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 784 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 785 esp = esp + 0xCu; /* 0x4601B5C7: add esp, 0xc */ 786 _flag_k = FK_ADD; 787 L_4601B5CA: 788 /* cmp MEM32(ebp + (-0x18)), esi */ /* 0x4601B5CA: cmp dword ptr [ebp - 0x18], esi */ 789 _flag_a = (uint32_t)(MEM32(ebp + (-0x18))); _flag_b = (uint32_t)(esi); 790 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 791 _flag_k = FK_CMP; 792 if (CMP_AE(_flag_a, _flag_b)) goto L_4601B5D6; /* 0x4601B5CD: jae 0x4601b5d6 */ 793 L_4601B5CF: 794 eax = esi; /* 0x4601B5CF: mov eax, esi */ 795 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ebp + (-0x18))); 796 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 797 eax = eax - MEM32(ebp + (-0x18)); /* 0x4601B5D1: sub eax, dword ptr [ebp - 0x18] */ 798 _flag_k = FK_CMP; 799 RECOMP_BACKEDGE(); 800 goto L_4601B584; /* 0x4601B5D4: jmp 0x4601b584 */ 801 L_4601B5D6: 802 PUSH32(esp, esi); /* 0x4601B5D6: push esi */ 803 ecx = ebp + (-0x20); /* 0x4601B5D7: lea ecx, [ebp - 0x20] */ 804 RECOMP_ICALL(0x46009732u); /* 0x4601B5DA: call 0x46009732 */ /* not lifted */ 805 RECOMP_FLAGS_IN(); 806 esi = MEM32(ebp + 0x8); /* 0x4601B5DF: mov esi, dword ptr [ebp + 8] */ 807 SET_LO8(eax, MEM8(ebp + (-0x20))); /* 0x4601B5E2: mov al, byte ptr [ebp - 0x20] */ 808 PUSH32(esp, ebx); /* 0x4601B5E5: push ebx */ 809 ecx = esi; /* 0x4601B5E6: mov ecx, esi */ 810 MEM8(esi) = (uint8_t)(LO8(eax)); /* 0x4601B5E8: mov byte ptr [esi], al */ 811 RECOMP_ICALL(0x46002532u); /* 0x4601B5EA: call 0x46002532 */ /* not lifted */ 812 RECOMP_FLAGS_IN(); 813 PUSH32(esp, 0xFFFFFFFFu); /* 0x4601B5EF: push -1 */ 814 eax = ebp + (-0x20); /* 0x4601B5F1: lea eax, [ebp - 0x20] */ 815 PUSH32(esp, ebx); /* 0x4601B5F4: push ebx */ 816 PUSH32(esp, eax); /* 0x4601B5F5: push eax */ 817 ecx = esi; /* 0x4601B5F6: mov ecx, esi */ 818 RECOMP_ICALL(0x46008C39u); /* 0x4601B5F8: call 0x46008c39 */ /* not lifted */ 819 RECOMP_FLAGS_IN(); 820 PUSH32(esp, 1); /* 0x4601B5FD: push 1 */ 821 ecx = ebp + (-0x20); /* 0x4601B5FF: lea ecx, [ebp - 0x20] */ 822 RECOMP_ICALL(0x46002532u); /* 0x4601B602: call 0x46002532 */ /* not lifted */ 823 RECOMP_FLAGS_IN(); 824 ecx = MEM32(ebp + (-0xC)); /* 0x4601B607: mov ecx, dword ptr [ebp - 0xc] */ 825 eax = esi; /* 0x4601B60A: mov eax, esi */ 826 edi = POP32_VAL(esp); /* 0x4601B60C: pop edi */ 827 esi = POP32_VAL(esp); /* 0x4601B60D: pop esi */ 828 ebx = POP32_VAL(esp); /* 0x4601B60E: pop ebx */ 829 MEM32(FS_BASE + (0)) = ecx; /* 0x4601B60F: mov dword ptr fs:[0], ecx */ 830 esp = ebp; ebp = POP32_VAL(esp); /* 0x4601B616: leave */ 831 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x4601B617: ret 0xc */ 832 RECOMP_REGS_OUT(); 833 } 834 835 void sub_4601B61A(void) { 836 int _fpu_cmp = 0; 837 uint32_t _cf = 0; 838 int _df = 1; 839 uint32_t _flag_k = FK_NONE; 840 uint32_t _flag_a = 0, _flag_b = 0; 841 uint32_t _itail_tgt = 0; 842 RECOMP_REGS_LOCALS 843 RECOMP_ENTER(0x4601B61Au); 844 845 L_4601B61A: 846 ecx = MEM32(esp + 0x4); /* 0x4601B61A: mov ecx, dword ptr [esp + 4] */ 847 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 848 eax = 0; /* 0x4601B61E: xor eax, eax */ 849 _cf = 0; 850 _flag_k = FK_TEST; 851 L_4601B620: 852 /* cmp ecx, MEM32(esp + 0x8) */ /* 0x4601B620: cmp ecx, dword ptr [esp + 8] */ 853 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esp + 0x8)); 854 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 855 _flag_k = FK_CMP; 856 if (CMP_EQ(_flag_a, _flag_b)) goto L_4601B639; /* 0x4601B624: je 0x4601b639 */ 857 L_4601B626: 858 edx = eax; /* 0x4601B626: mov edx, eax */ 859 if (24u) _cf = (((edx) >> 23) & 1u); /* 0x4601B628: shr edx, 0x18 */ 860 if (24u) { _flag_a = recomp_flags_pack((edx >> 24u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 861 edx = edx >> 24u; /* 0x4601B628: shr edx, 0x18 */ 862 if (8u) _cf = (((eax) >> 24) & 1u); /* 0x4601B62B: shl eax, 8 */ 863 if (8u) { _flag_a = recomp_flags_pack((eax << 8u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 864 eax = eax << 8u; /* 0x4601B62B: shl eax, 8 */ 865 _flag_a = (uint32_t)((edx | eax)); _flag_b = (uint32_t)((edx | eax)); 866 edx = edx | eax; /* 0x4601B62E: or edx, eax */ 867 _cf = 0; 868 _flag_k = FK_TEST; 869 eax = (uint32_t)MEM16(ecx); /* 0x4601B630: movzx eax, word ptr [ecx] */ 870 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 871 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 872 eax = eax + edx; /* 0x4601B633: add eax, edx */ 873 _flag_k = FK_ADD; 874 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 875 ecx = ecx + 1; /* 0x4601B635: inc ecx */ 876 _flag_k = FK_INC; 877 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 878 ecx = ecx + 1; /* 0x4601B636: inc ecx */ 879 _flag_k = FK_INC; 880 RECOMP_BACKEDGE(); 881 goto L_4601B620; /* 0x4601B637: jmp 0x4601b620 */ 882 L_4601B639: 883 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4601B639: ret 8 */ 884 RECOMP_REGS_OUT(); 885 } 886 887 void sub_4601B63C(void) { 888 int _fpu_cmp = 0; 889 uint32_t _cf = 0; 890 int _df = 1; 891 uint32_t _flag_k = FK_NONE; 892 uint32_t _flag_a = 0, _flag_b = 0; 893 uint32_t _itail_tgt = 0; 894 RECOMP_REGS_LOCALS 895 RECOMP_ENTER(0x4601B63Cu); 896 897 L_4601B63C: 898 PUSH32(esp, MEM32(esp + 0x8)); /* 0x4601B63C: push dword ptr [esp + 8] */ 899 eax = MEM32(ecx); /* 0x4601B640: mov eax, dword ptr [ecx] */ 900 PUSH32(esp, MEM32(esp + 0x8)); /* 0x4601B642: push dword ptr [esp + 8] */ 901 RECOMP_ICALL(MEM32(eax + 0x4)); /* 0x4601B646: call dword ptr [eax + 4] */ 902 RECOMP_FLAGS_IN(); 903 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4601B649: ret 8 */ 904 RECOMP_REGS_OUT(); 905 } 906 907 void sub_4601B64C(void) { 908 int _fpu_cmp = 0; 909 uint32_t _cf = 0; 910 int _df = 1; 911 uint32_t _flag_k = FK_NONE; 912 uint32_t _flag_a = 0, _flag_b = 0; 913 uint32_t _itail_tgt = 0; 914 RECOMP_REGS_LOCALS 915 RECOMP_ENTER(0x4601B64Cu); 916 917 L_4601B64C: 918 PUSH32(esp, ebp); /* 0x4601B64C: push ebp */ 919 ebp = esp; /* 0x4601B64D: mov ebp, esp */ 920 PUSH32(esp, ecx); /* 0x4601B64F: push ecx */ 921 PUSH32(esp, MEM32(ebp + 0x18)); /* 0x4601B650: push dword ptr [ebp + 0x18] */ 922 eax = MEM32(ecx); /* 0x4601B653: mov eax, dword ptr [ecx] */ 923 _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0); 924 MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) & 0; /* 0x4601B655: and dword ptr [ebp - 4], 0 */ 925 _cf = 0; 926 _flag_k = FK_TEST; 927 PUSH32(esp, MEM32(ebp + 0x14)); /* 0x4601B659: push dword ptr [ebp + 0x14] */ 928 PUSH32(esp, MEM32(ebp + 0x10)); /* 0x4601B65C: push dword ptr [ebp + 0x10] */ 929 PUSH32(esp, MEM32(ebp + 0xC)); /* 0x4601B65F: push dword ptr [ebp + 0xc] */ 930 PUSH32(esp, MEM32(ebp + 0x8)); /* 0x4601B662: push dword ptr [ebp + 8] */ 931 RECOMP_ICALL(MEM32(eax + 0x8)); /* 0x4601B665: call dword ptr [eax + 8] */ 932 RECOMP_FLAGS_IN(); 933 eax = MEM32(ebp + 0x8); /* 0x4601B668: mov eax, dword ptr [ebp + 8] */ 934 esp = ebp; ebp = POP32_VAL(esp); /* 0x4601B66B: leave */ 935 RECOMP_FLAGS_OUT(); esp += 24; { RECOMP_REGS_OUT(); return; } /* 0x4601B66C: ret 0x14 */ 936 RECOMP_REGS_OUT(); 937 } 938 939 void sub_4601B66F(void) { 940 int _fpu_cmp = 0; 941 uint32_t _cf = 0; 942 int _df = 1; 943 uint32_t _flag_k = FK_NONE; 944 uint32_t _flag_a = 0, _flag_b = 0; 945 uint32_t _itail_tgt = 0; 946 RECOMP_REGS_LOCALS 947 RECOMP_ENTER(0x4601B66Fu); 948 949 L_4601B66F: 950 eax = MEM32(ecx); /* 0x4601B66F: mov eax, dword ptr [ecx] */ 951 PUSH32(esp, MEM32(esp + 0x4)); /* 0x4601B671: push dword ptr [esp + 4] */ 952 RECOMP_ICALL(MEM32(eax + 0xC)); /* 0x4601B675: call dword ptr [eax + 0xc] */ 953 RECOMP_FLAGS_IN(); 954 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601B678: ret 4 */ 955 RECOMP_REGS_OUT(); 956 } 957 958 void sub_4601B67B(void) { 959 int _fpu_cmp = 0; 960 uint32_t _cf = 0; 961 int _df = 1; 962 uint32_t _flag_k = FK_NONE; 963 uint32_t _flag_a = 0, _flag_b = 0; 964 uint32_t _itail_tgt = 0; 965 RECOMP_REGS_LOCALS 966 RECOMP_ENTER(0x4601B67Bu); 967 968 L_4601B67B: 969 eax = 0x46029C34u; /* 0x4601B67B: mov eax, 0x46029c34 */ 970 RECOMP_ICALL(0x46001535u); /* 0x4601B680: call 0x46001535 */ /* not lifted */ 971 RECOMP_FLAGS_IN(); 972 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x44u); 973 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 974 esp = esp - 0x44u; /* 0x4601B685: sub esp, 0x44 */ 975 _flag_k = FK_CMP; 976 eax = MEM32(ebp + 0x8); /* 0x4601B688: mov eax, dword ptr [ebp + 8] */ 977 PUSH32(esp, esi); /* 0x4601B68B: push esi */ 978 esi = ecx; /* 0x4601B68C: mov esi, ecx */ 979 MEM32(ebp + (-0x10)) = esi; /* 0x4601B68E: mov dword ptr [ebp - 0x10], esi */ 980 MEM32(esi + 0x4) = eax; /* 0x4601B691: mov dword ptr [esi + 4], eax */ 981 _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0); 982 MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) & 0; /* 0x4601B694: and dword ptr [ebp - 4], 0 */ 983 _cf = 0; 984 _flag_k = FK_TEST; 985 PUSH32(esp, 0x4602B41Cu); /* 0x4601B698: push 0x4602b41c */ 986 ecx = ebp + (-0x50); /* 0x4601B69D: lea ecx, [ebp - 0x50] */ 987 MEM32(esi) = 0x4602BF0Cu; /* 0x4601B6A0: mov dword ptr [esi], 0x4602bf0c */ 988 RECOMP_ICALL(0x46023A9Bu); /* 0x4601B6A6: call 0x46023a9b */ /* not lifted */ 989 RECOMP_FLAGS_IN(); 990 PUSH32(esp, 0); /* 0x4601B6AB: push 0 */ 991 PUSH32(esp, 0x4602B972u); /* 0x4601B6AD: push 0x4602b972 */ 992 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x4601B6B2: mov byte ptr [ebp - 4], 1 */ 993 RECOMP_ICALL(0x460215DEu); /* 0x4601B6B6: call 0x460215de */ /* not lifted */ 994 RECOMP_FLAGS_IN(); 995 PUSH32(esp, 0); /* 0x4601B6BB: push 0 */ 996 PUSH32(esp, 0x4602B978u); /* 0x4601B6BD: push 0x4602b978 */ 997 MEM32(esi + 0x8) = eax; /* 0x4601B6C2: mov dword ptr [esi + 8], eax */ 998 RECOMP_ICALL(0x460215DEu); /* 0x4601B6C5: call 0x460215de */ /* not lifted */ 999 RECOMP_FLAGS_IN(); 1000 _flag_a = (uint32_t)(MEM8(ebp + (-0x4))) << 24; _flag_b = (uint32_t)(0) << 24; 1001 MEM8(ebp + (-0x4)) = (uint8_t)(MEM8(ebp + (-0x4)) & 0); /* 0x4601B6CA: and byte ptr [ebp - 4], 0 */ 1002 _cf = 0; 1003 _flag_k = FK_NARROW(FK_TEST, 24); 1004 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 1005 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1006 esp = esp + 0x10u; /* 0x4601B6CE: add esp, 0x10 */ 1007 _flag_k = FK_ADD; 1008 ecx = ebp + (-0x50); /* 0x4601B6D1: lea ecx, [ebp - 0x50] */ 1009 MEM32(esi + 0xC) = eax; /* 0x4601B6D4: mov dword ptr [esi + 0xc], eax */ 1010 RECOMP_ICALL(0x4602836Bu); /* 0x4601B6D7: call 0x4602836b */ /* not lifted */ 1011 RECOMP_FLAGS_IN(); 1012 ecx = MEM32(ebp + (-0xC)); /* 0x4601B6DC: mov ecx, dword ptr [ebp - 0xc] */ 1013 eax = esi; /* 0x4601B6DF: mov eax, esi */ 1014 esi = POP32_VAL(esp); /* 0x4601B6E1: pop esi */ 1015 MEM32(FS_BASE + (0)) = ecx; /* 0x4601B6E2: mov dword ptr fs:[0], ecx */ 1016 esp = ebp; ebp = POP32_VAL(esp); /* 0x4601B6E9: leave */ 1017 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601B6EA: ret 4 */ 1018 RECOMP_REGS_OUT(); 1019 } 1020 1021 void sub_4601B6ED(void) { 1022 int _fpu_cmp = 0; 1023 uint32_t _cf = 0; 1024 int _df = 1; 1025 uint32_t _flag_k = FK_NONE; 1026 uint32_t _flag_a = 0, _flag_b = 0; 1027 uint32_t _itail_tgt = 0; 1028 RECOMP_REGS_LOCALS 1029 RECOMP_ENTER(0x4601B6EDu); 1030 1031 L_4601B6ED: 1032 eax = 0x46029C43u; /* 0x4601B6ED: mov eax, 0x46029c43 */ 1033 RECOMP_ICALL(0x46001535u); /* 0x4601B6F2: call 0x46001535 */ /* not lifted */ 1034 RECOMP_FLAGS_IN(); 1035 PUSH32(esp, ecx); /* 0x4601B6F7: push ecx */ 1036 eax = MEM32(ebp + 0xC); /* 0x4601B6F8: mov eax, dword ptr [ebp + 0xc] */ 1037 PUSH32(esp, esi); /* 0x4601B6FB: push esi */ 1038 esi = ecx; /* 0x4601B6FC: mov esi, ecx */ 1039 MEM32(ebp + (-0x10)) = esi; /* 0x4601B6FE: mov dword ptr [ebp - 0x10], esi */ 1040 MEM32(esi + 0x4) = eax; /* 0x4601B701: mov dword ptr [esi + 4], eax */ 1041 _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0); 1042 MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) & 0; /* 0x4601B704: and dword ptr [ebp - 4], 0 */ 1043 _cf = 0; 1044 _flag_k = FK_TEST; 1045 PUSH32(esp, 0); /* 0x4601B708: push 0 */ 1046 PUSH32(esp, 0x4602B972u); /* 0x4601B70A: push 0x4602b972 */ 1047 MEM32(esi) = 0x4602BF0Cu; /* 0x4601B70F: mov dword ptr [esi], 0x4602bf0c */ 1048 RECOMP_ICALL(0x460215DEu); /* 0x4601B715: call 0x460215de */ /* not lifted */ 1049 RECOMP_FLAGS_IN(); 1050 PUSH32(esp, 0); /* 0x4601B71A: push 0 */ 1051 PUSH32(esp, 0x4602B978u); /* 0x4601B71C: push 0x4602b978 */ 1052 MEM32(esi + 0x8) = eax; /* 0x4601B721: mov dword ptr [esi + 8], eax */ 1053 RECOMP_ICALL(0x460215DEu); /* 0x4601B724: call 0x460215de */ /* not lifted */ 1054 RECOMP_FLAGS_IN(); 1055 ecx = MEM32(ebp + (-0xC)); /* 0x4601B729: mov ecx, dword ptr [ebp - 0xc] */ 1056 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 1057 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1058 esp = esp + 0x10u; /* 0x4601B72C: add esp, 0x10 */ 1059 _flag_k = FK_ADD; 1060 MEM32(esi + 0xC) = eax; /* 0x4601B72F: mov dword ptr [esi + 0xc], eax */ 1061 eax = esi; /* 0x4601B732: mov eax, esi */ 1062 esi = POP32_VAL(esp); /* 0x4601B734: pop esi */ 1063 MEM32(FS_BASE + (0)) = ecx; /* 0x4601B735: mov dword ptr fs:[0], ecx */ 1064 esp = ebp; ebp = POP32_VAL(esp); /* 0x4601B73C: leave */ 1065 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4601B73D: ret 8 */ 1066 RECOMP_REGS_OUT(); 1067 } 1068 1069 void sub_4601B740(void) { 1070 int _fpu_cmp = 0; 1071 uint32_t _cf = 0; 1072 int _df = 1; 1073 uint32_t _flag_k = FK_NONE; 1074 uint32_t _flag_a = 0, _flag_b = 0; 1075 uint32_t _itail_tgt = 0; 1076 RECOMP_REGS_LOCALS 1077 RECOMP_ENTER(0x4601B740u); 1078 1079 L_4601B740: 1080 PUSH32(esp, 6); /* 0x4601B740: push 6 */ 1081 eax = POP32_VAL(esp); /* 0x4601B742: pop eax */ 1082 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4601B743: ret */ 1083 RECOMP_REGS_OUT(); 1084 } 1085 1086 void sub_4601B744(void) { 1087 int _fpu_cmp = 0; 1088 uint32_t _cf = 0; 1089 int _df = 1; 1090 uint32_t _flag_k = FK_NONE; 1091 uint32_t _flag_a = 0, _flag_b = 0; 1092 uint32_t _itail_tgt = 0; 1093 RECOMP_REGS_LOCALS 1094 RECOMP_ENTER(0x4601B744u); 1095 1096 L_4601B744: 1097 PUSH32(esp, esi); /* 0x4601B744: push esi */ 1098 esi = ecx; /* 0x4601B745: mov esi, ecx */ 1099 PUSH32(esp, MEM32(esi + 0x8)); /* 0x4601B747: push dword ptr [esi + 8] */ 1100 MEM32(esi) = 0x4602BF0Cu; /* 0x4601B74A: mov dword ptr [esi], 0x4602bf0c */ 1101 RECOMP_ICALL(0x46002CE4u); /* 0x4601B750: call 0x46002ce4 */ /* not lifted */ 1102 RECOMP_FLAGS_IN(); 1103 PUSH32(esp, MEM32(esi + 0xC)); /* 0x4601B755: push dword ptr [esi + 0xc] */ 1104 RECOMP_ICALL(0x46002CE4u); /* 0x4601B758: call 0x46002ce4 */ /* not lifted */ 1105 RECOMP_FLAGS_IN(); 1106 ecx = POP32_VAL(esp); /* 0x4601B75D: pop ecx */ 1107 MEM32(esi) = 0x4602B424u; /* 0x4601B75E: mov dword ptr [esi], 0x4602b424 */ 1108 ecx = POP32_VAL(esp); /* 0x4601B764: pop ecx */ 1109 esi = POP32_VAL(esp); /* 0x4601B765: pop esi */ 1110 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4601B766: ret */ 1111 RECOMP_REGS_OUT(); 1112 } 1113 1114 void sub_4601B767(void) { 1115 int _fpu_cmp = 0; 1116 uint32_t _cf = 0; 1117 int _df = 1; 1118 uint32_t _flag_k = FK_NONE; 1119 uint32_t _flag_a = 0, _flag_b = 0; 1120 uint32_t _itail_tgt = 0; 1121 RECOMP_REGS_LOCALS 1122 RECOMP_ENTER(0x4601B767u); 1123 1124 L_4601B767: 1125 PUSH32(esp, esi); /* 0x4601B767: push esi */ 1126 PUSH32(esp, 0); /* 0x4601B768: push 0 */ 1127 esi = ecx; /* 0x4601B76A: mov esi, ecx */ 1128 PUSH32(esp, 0x4602B972u); /* 0x4601B76C: push 0x4602b972 */ 1129 RECOMP_ICALL(0x460215DEu); /* 0x4601B771: call 0x460215de */ /* not lifted */ 1130 RECOMP_FLAGS_IN(); 1131 PUSH32(esp, 0); /* 0x4601B776: push 0 */ 1132 PUSH32(esp, 0x4602B978u); /* 0x4601B778: push 0x4602b978 */ 1133 MEM32(esi + 0x8) = eax; /* 0x4601B77D: mov dword ptr [esi + 8], eax */ 1134 RECOMP_ICALL(0x460215DEu); /* 0x4601B780: call 0x460215de */ /* not lifted */ 1135 RECOMP_FLAGS_IN(); 1136 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 1137 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1138 esp = esp + 0x10u; /* 0x4601B785: add esp, 0x10 */ 1139 _flag_k = FK_ADD; 1140 MEM32(esi + 0xC) = eax; /* 0x4601B788: mov dword ptr [esi + 0xc], eax */ 1141 esi = POP32_VAL(esp); /* 0x4601B78B: pop esi */ 1142 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601B78C: ret 4 */ 1143 RECOMP_REGS_OUT(); 1144 } 1145 1146 void sub_4601B78F(void) { 1147 int _fpu_cmp = 0; 1148 uint32_t _cf = 0; 1149 int _df = 1; 1150 uint32_t _flag_k = FK_NONE; 1151 uint32_t _flag_a = 0, _flag_b = 0; 1152 uint32_t _itail_tgt = 0; 1153 RECOMP_REGS_LOCALS 1154 RECOMP_ENTER(0x4601B78Fu); 1155 1156 L_4601B78F: 1157 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1158 eax = 0; /* 0x4601B78F: xor eax, eax */ 1159 _cf = 0; 1160 _flag_k = FK_TEST; 1161 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4601B791: ret 8 */ 1162 RECOMP_REGS_OUT(); 1163 } 1164 1165 void sub_4601B794(void) { 1166 int _fpu_cmp = 0; 1167 uint32_t _cf = 0; 1168 int _df = 1; 1169 uint32_t _flag_k = FK_NONE; 1170 uint32_t _flag_a = 0, _flag_b = 0; 1171 uint32_t _itail_tgt = 0; 1172 RECOMP_REGS_LOCALS 1173 RECOMP_ENTER(0x4601B794u); 1174 1175 L_4601B794: 1176 PUSH32(esp, ebp); /* 0x4601B794: push ebp */ 1177 ebp = esp; /* 0x4601B795: mov ebp, esp */ 1178 PUSH32(esp, ecx); /* 0x4601B797: push ecx */ 1179 PUSH32(esp, ebx); /* 0x4601B798: push ebx */ 1180 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1181 ebx = 0; /* 0x4601B799: xor ebx, ebx */ 1182 _cf = 0; 1183 _flag_k = FK_TEST; 1184 /* cmp MEM32(ebp + 0x14), ebx */ /* 0x4601B79B: cmp dword ptr [ebp + 0x14], ebx */ 1185 _flag_a = (uint32_t)(MEM32(ebp + 0x14)); _flag_b = (uint32_t)(ebx); 1186 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1187 _flag_k = FK_CMP; 1188 PUSH32(esp, esi); /* 0x4601B79E: push esi */ 1189 PUSH32(esp, edi); /* 0x4601B79F: push edi */ 1190 MEM32(ebp + (-0x4)) = ebx; /* 0x4601B7A0: mov dword ptr [ebp - 4], ebx */ 1191 if (CMP_NE(_flag_a, _flag_b)) goto L_4601B7D1; /* 0x4601B7A3: jne 0x4601b7d1 */ 1192 L_4601B7A5: 1193 edi = MEM32(ecx + 0x8); /* 0x4601B7A5: mov edi, dword ptr [ecx + 8] */ 1194 esi = MEM32(ebp + 0x8); /* 0x4601B7A8: mov esi, dword ptr [ebp + 8] */ 1195 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x4601B7AB: mov al, byte ptr [ebp + 0xb] */ 1196 L_4601B7AE: 1197 PUSH32(esp, ebx); /* 0x4601B7AE: push ebx */ 1198 ecx = esi; /* 0x4601B7AF: mov ecx, esi */ 1199 MEM8(esi) = (uint8_t)(LO8(eax)); /* 0x4601B7B1: mov byte ptr [esi], al */ 1200 RECOMP_ICALL(0x46001A60u); /* 0x4601B7B3: call 0x46001a60 */ /* not lifted */ 1201 RECOMP_FLAGS_IN(); 1202 PUSH32(esp, edi); /* 0x4601B7B8: push edi */ 1203 RECOMP_ICALL(0x46001A98u); /* 0x4601B7B9: call 0x46001a98 */ /* not lifted */ 1204 RECOMP_FLAGS_IN(); 1205 ecx = POP32_VAL(esp); /* 0x4601B7BE: pop ecx */ 1206 PUSH32(esp, eax); /* 0x4601B7BF: push eax */ 1207 PUSH32(esp, edi); /* 0x4601B7C0: push edi */ 1208 ecx = esi; /* 0x4601B7C1: mov ecx, esi */ 1209 RECOMP_ICALL(0x46001A9Eu); /* 0x4601B7C3: call 0x46001a9e */ /* not lifted */ 1210 RECOMP_FLAGS_IN(); 1211 L_4601B7C8: 1212 eax = esi; /* 0x4601B7C8: mov eax, esi */ 1213 edi = POP32_VAL(esp); /* 0x4601B7CA: pop edi */ 1214 esi = POP32_VAL(esp); /* 0x4601B7CB: pop esi */ 1215 ebx = POP32_VAL(esp); /* 0x4601B7CC: pop ebx */ 1216 esp = ebp; ebp = POP32_VAL(esp); /* 0x4601B7CD: leave */ 1217 RECOMP_FLAGS_OUT(); esp += 24; { RECOMP_REGS_OUT(); return; } /* 0x4601B7CE: ret 0x14 */ 1218 L_4601B7D1: 1219 /* cmp MEM32(ebp + 0x14), 1 */ /* 0x4601B7D1: cmp dword ptr [ebp + 0x14], 1 */ 1220 _flag_a = (uint32_t)(MEM32(ebp + 0x14)); _flag_b = (uint32_t)(1); 1221 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1222 _flag_k = FK_CMP; 1223 if (CMP_NE(_flag_a, _flag_b)) goto L_4601B7E2; /* 0x4601B7D5: jne 0x4601b7e2 */ 1224 L_4601B7D7: 1225 edi = MEM32(ecx + 0xC); /* 0x4601B7D7: mov edi, dword ptr [ecx + 0xc] */ 1226 esi = MEM32(ebp + 0x8); /* 0x4601B7DA: mov esi, dword ptr [ebp + 8] */ 1227 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x4601B7DD: mov al, byte ptr [ebp + 0xb] */ 1228 RECOMP_BACKEDGE(); 1229 goto L_4601B7AE; /* 0x4601B7E0: jmp 0x4601b7ae */ 1230 L_4601B7E2: 1231 edi = MEM32(ebp + 0x18); /* 0x4601B7E2: mov edi, dword ptr [ebp + 0x18] */ 1232 esi = MEM32(ebp + 0x8); /* 0x4601B7E5: mov esi, dword ptr [ebp + 8] */ 1233 PUSH32(esp, ebx); /* 0x4601B7E8: push ebx */ 1234 ecx = esi; /* 0x4601B7E9: mov ecx, esi */ 1235 SET_LO8(eax, MEM8(edi)); /* 0x4601B7EB: mov al, byte ptr [edi] */ 1236 MEM8(esi) = (uint8_t)(LO8(eax)); /* 0x4601B7ED: mov byte ptr [esi], al */ 1237 RECOMP_ICALL(0x46001A60u); /* 0x4601B7EF: call 0x46001a60 */ /* not lifted */ 1238 RECOMP_FLAGS_IN(); 1239 PUSH32(esp, 0xFFFFFFFFu); /* 0x4601B7F4: push -1 */ 1240 PUSH32(esp, ebx); /* 0x4601B7F6: push ebx */ 1241 PUSH32(esp, edi); /* 0x4601B7F7: push edi */ 1242 ecx = esi; /* 0x4601B7F8: mov ecx, esi */ 1243 RECOMP_ICALL(0x46007714u); /* 0x4601B7FA: call 0x46007714 */ /* not lifted */ 1244 RECOMP_FLAGS_IN(); 1245 RECOMP_BACKEDGE(); 1246 goto L_4601B7C8; /* 0x4601B7FF: jmp 0x4601b7c8 */ 1247 { RECOMP_REGS_OUT(); return; } /* end of function */ 1248 RECOMP_REGS_OUT(); 1249 } 1250 1251 void sub_4601B801(void) { 1252 int _fpu_cmp = 0; 1253 uint32_t _cf = 0; 1254 int _df = 1; 1255 uint32_t _flag_k = FK_NONE; 1256 uint32_t _flag_a = 0, _flag_b = 0; 1257 uint32_t _itail_tgt = 0; 1258 RECOMP_REGS_LOCALS 1259 RECOMP_ENTER(0x4601B801u); 1260 1261 L_4601B801: 1262 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601B801: ret 4 */ 1263 RECOMP_REGS_OUT(); 1264 } 1265 1266 void sub_4601B804(void) { 1267 int _fpu_cmp = 0; 1268 uint32_t _cf = 0; 1269 int _df = 1; 1270 uint32_t _flag_k = FK_NONE; 1271 uint32_t _flag_a = 0, _flag_b = 0; 1272 uint32_t _itail_tgt = 0; 1273 RECOMP_REGS_LOCALS 1274 RECOMP_ENTER(0x4601B804u); 1275 1276 L_4601B804: 1277 PUSH32(esp, MEM32(esp + 0x8)); /* 0x4601B804: push dword ptr [esp + 8] */ 1278 eax = MEM32(ecx); /* 0x4601B808: mov eax, dword ptr [ecx] */ 1279 PUSH32(esp, MEM32(esp + 0x8)); /* 0x4601B80A: push dword ptr [esp + 8] */ 1280 RECOMP_ICALL(MEM32(eax + 0x4)); /* 0x4601B80E: call dword ptr [eax + 4] */ 1281 RECOMP_FLAGS_IN(); 1282 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4601B811: ret 8 */ 1283 RECOMP_REGS_OUT(); 1284 } 1285 1286 void sub_4601B814(void) { 1287 int _fpu_cmp = 0; 1288 uint32_t _cf = 0; 1289 int _df = 1; 1290 uint32_t _flag_k = FK_NONE; 1291 uint32_t _flag_a = 0, _flag_b = 0; 1292 uint32_t _itail_tgt = 0; 1293 RECOMP_REGS_LOCALS 1294 RECOMP_ENTER(0x4601B814u); 1295 1296 L_4601B814: 1297 PUSH32(esp, ebp); /* 0x4601B814: push ebp */ 1298 ebp = esp; /* 0x4601B815: mov ebp, esp */ 1299 PUSH32(esp, ecx); /* 0x4601B817: push ecx */ 1300 PUSH32(esp, MEM32(ebp + 0x18)); /* 0x4601B818: push dword ptr [ebp + 0x18] */ 1301 eax = MEM32(ecx); /* 0x4601B81B: mov eax, dword ptr [ecx] */ 1302 _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0); 1303 MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) & 0; /* 0x4601B81D: and dword ptr [ebp - 4], 0 */ 1304 _cf = 0; 1305 _flag_k = FK_TEST; 1306 PUSH32(esp, MEM32(ebp + 0x14)); /* 0x4601B821: push dword ptr [ebp + 0x14] */ 1307 PUSH32(esp, MEM32(ebp + 0x10)); /* 0x4601B824: push dword ptr [ebp + 0x10] */ 1308 PUSH32(esp, MEM32(ebp + 0xC)); /* 0x4601B827: push dword ptr [ebp + 0xc] */ 1309 PUSH32(esp, MEM32(ebp + 0x8)); /* 0x4601B82A: push dword ptr [ebp + 8] */ 1310 RECOMP_ICALL(MEM32(eax + 0x8)); /* 0x4601B82D: call dword ptr [eax + 8] */ 1311 RECOMP_FLAGS_IN(); 1312 eax = MEM32(ebp + 0x8); /* 0x4601B830: mov eax, dword ptr [ebp + 8] */ 1313 esp = ebp; ebp = POP32_VAL(esp); /* 0x4601B833: leave */ 1314 RECOMP_FLAGS_OUT(); esp += 24; { RECOMP_REGS_OUT(); return; } /* 0x4601B834: ret 0x14 */ 1315 RECOMP_REGS_OUT(); 1316 } 1317 1318 void sub_4601B837(void) { 1319 int _fpu_cmp = 0; 1320 uint32_t _cf = 0; 1321 int _df = 1; 1322 uint32_t _flag_k = FK_NONE; 1323 uint32_t _flag_a = 0, _flag_b = 0; 1324 uint32_t _itail_tgt = 0; 1325 RECOMP_REGS_LOCALS 1326 RECOMP_ENTER(0x4601B837u); 1327 1328 L_4601B837: 1329 eax = MEM32(ecx); /* 0x4601B837: mov eax, dword ptr [ecx] */ 1330 PUSH32(esp, MEM32(esp + 0x4)); /* 0x4601B839: push dword ptr [esp + 4] */ 1331 RECOMP_ICALL(MEM32(eax + 0xC)); /* 0x4601B83D: call dword ptr [eax + 0xc] */ 1332 RECOMP_FLAGS_IN(); 1333 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601B840: ret 4 */ 1334 RECOMP_REGS_OUT(); 1335 } 1336 1337 void sub_4601B843(void) { 1338 int _fpu_cmp = 0; 1339 uint32_t _cf = 0; 1340 int _df = 1; 1341 uint32_t _flag_k = FK_NONE; 1342 uint32_t _flag_a = 0, _flag_b = 0; 1343 uint32_t _itail_tgt = 0; 1344 RECOMP_REGS_LOCALS 1345 RECOMP_ENTER(0x4601B843u); 1346 1347 L_4601B843: 1348 eax = 0x46029C5Au; /* 0x4601B843: mov eax, 0x46029c5a */ 1349 RECOMP_ICALL(0x46001535u); /* 0x4601B848: call 0x46001535 */ /* not lifted */ 1350 RECOMP_FLAGS_IN(); 1351 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x44u); 1352 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1353 esp = esp - 0x44u; /* 0x4601B84D: sub esp, 0x44 */ 1354 _flag_k = FK_CMP; 1355 eax = MEM32(ebp + 0x8); /* 0x4601B850: mov eax, dword ptr [ebp + 8] */ 1356 PUSH32(esp, esi); /* 0x4601B853: push esi */ 1357 esi = ecx; /* 0x4601B854: mov esi, ecx */ 1358 MEM32(ebp + (-0x10)) = esi; /* 0x4601B856: mov dword ptr [ebp - 0x10], esi */ 1359 MEM32(esi + 0x4) = eax; /* 0x4601B859: mov dword ptr [esi + 4], eax */ 1360 _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0); 1361 MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) & 0; /* 0x4601B85C: and dword ptr [ebp - 4], 0 */ 1362 _cf = 0; 1363 _flag_k = FK_TEST; 1364 PUSH32(esp, 0x4602B41Cu); /* 0x4601B860: push 0x4602b41c */ 1365 ecx = ebp + (-0x50); /* 0x4601B865: lea ecx, [ebp - 0x50] */ 1366 MEM32(esi) = 0x4602BF20u; /* 0x4601B868: mov dword ptr [esi], 0x4602bf20 */ 1367 RECOMP_ICALL(0x46023A9Bu); /* 0x4601B86E: call 0x46023a9b */ /* not lifted */ 1368 RECOMP_FLAGS_IN(); 1369 PUSH32(esp, 0); /* 0x4601B873: push 0 */ 1370 PUSH32(esp, 0x4602B972u); /* 0x4601B875: push 0x4602b972 */ 1371 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x4601B87A: mov byte ptr [ebp - 4], 1 */ 1372 RECOMP_ICALL(0x46021607u); /* 0x4601B87E: call 0x46021607 */ /* not lifted */ 1373 RECOMP_FLAGS_IN(); 1374 PUSH32(esp, 0); /* 0x4601B883: push 0 */ 1375 PUSH32(esp, 0x4602B978u); /* 0x4601B885: push 0x4602b978 */ 1376 MEM32(esi + 0x8) = eax; /* 0x4601B88A: mov dword ptr [esi + 8], eax */ 1377 RECOMP_ICALL(0x46021607u); /* 0x4601B88D: call 0x46021607 */ /* not lifted */ 1378 RECOMP_FLAGS_IN(); 1379 _flag_a = (uint32_t)(MEM8(ebp + (-0x4))) << 24; _flag_b = (uint32_t)(0) << 24; 1380 MEM8(ebp + (-0x4)) = (uint8_t)(MEM8(ebp + (-0x4)) & 0); /* 0x4601B892: and byte ptr [ebp - 4], 0 */ 1381 _cf = 0; 1382 _flag_k = FK_NARROW(FK_TEST, 24); 1383 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 1384 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1385 esp = esp + 0x10u; /* 0x4601B896: add esp, 0x10 */ 1386 _flag_k = FK_ADD; 1387 ecx = ebp + (-0x50); /* 0x4601B899: lea ecx, [ebp - 0x50] */ 1388 MEM32(esi + 0xC) = eax; /* 0x4601B89C: mov dword ptr [esi + 0xc], eax */ 1389 RECOMP_ICALL(0x4602836Bu); /* 0x4601B89F: call 0x4602836b */ /* not lifted */ 1390 RECOMP_FLAGS_IN(); 1391 ecx = MEM32(ebp + (-0xC)); /* 0x4601B8A4: mov ecx, dword ptr [ebp - 0xc] */ 1392 eax = esi; /* 0x4601B8A7: mov eax, esi */ 1393 esi = POP32_VAL(esp); /* 0x4601B8A9: pop esi */ 1394 MEM32(FS_BASE + (0)) = ecx; /* 0x4601B8AA: mov dword ptr fs:[0], ecx */ 1395 esp = ebp; ebp = POP32_VAL(esp); /* 0x4601B8B1: leave */ 1396 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601B8B2: ret 4 */ 1397 RECOMP_REGS_OUT(); 1398 } 1399 1400 void sub_4601B8B5(void) { 1401 int _fpu_cmp = 0; 1402 uint32_t _cf = 0; 1403 int _df = 1; 1404 uint32_t _flag_k = FK_NONE; 1405 uint32_t _flag_a = 0, _flag_b = 0; 1406 uint32_t _itail_tgt = 0; 1407 RECOMP_REGS_LOCALS 1408 RECOMP_ENTER(0x4601B8B5u); 1409 1410 L_4601B8B5: 1411 eax = 0x46029C69u; /* 0x4601B8B5: mov eax, 0x46029c69 */ 1412 RECOMP_ICALL(0x46001535u); /* 0x4601B8BA: call 0x46001535 */ /* not lifted */ 1413 RECOMP_FLAGS_IN(); 1414 PUSH32(esp, ecx); /* 0x4601B8BF: push ecx */ 1415 eax = MEM32(ebp + 0xC); /* 0x4601B8C0: mov eax, dword ptr [ebp + 0xc] */ 1416 PUSH32(esp, esi); /* 0x4601B8C3: push esi */ 1417 esi = ecx; /* 0x4601B8C4: mov esi, ecx */ 1418 MEM32(ebp + (-0x10)) = esi; /* 0x4601B8C6: mov dword ptr [ebp - 0x10], esi */ 1419 MEM32(esi + 0x4) = eax; /* 0x4601B8C9: mov dword ptr [esi + 4], eax */ 1420 _flag_a = (uint32_t)(MEM32(ebp + (-0x4))); _flag_b = (uint32_t)(0); 1421 MEM32(ebp + (-0x4)) = MEM32(ebp + (-0x4)) & 0; /* 0x4601B8CC: and dword ptr [ebp - 4], 0 */ 1422 _cf = 0; 1423 _flag_k = FK_TEST; 1424 PUSH32(esp, 0); /* 0x4601B8D0: push 0 */ 1425 PUSH32(esp, 0x4602B972u); /* 0x4601B8D2: push 0x4602b972 */ 1426 MEM32(esi) = 0x4602BF20u; /* 0x4601B8D7: mov dword ptr [esi], 0x4602bf20 */ 1427 RECOMP_ICALL(0x46021607u); /* 0x4601B8DD: call 0x46021607 */ /* not lifted */ 1428 RECOMP_FLAGS_IN(); 1429 PUSH32(esp, 0); /* 0x4601B8E2: push 0 */ 1430 PUSH32(esp, 0x4602B978u); /* 0x4601B8E4: push 0x4602b978 */ 1431 MEM32(esi + 0x8) = eax; /* 0x4601B8E9: mov dword ptr [esi + 8], eax */ 1432 RECOMP_ICALL(0x46021607u); /* 0x4601B8EC: call 0x46021607 */ /* not lifted */ 1433 RECOMP_FLAGS_IN(); 1434 ecx = MEM32(ebp + (-0xC)); /* 0x4601B8F1: mov ecx, dword ptr [ebp - 0xc] */ 1435 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 1436 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1437 esp = esp + 0x10u; /* 0x4601B8F4: add esp, 0x10 */ 1438 _flag_k = FK_ADD; 1439 MEM32(esi + 0xC) = eax; /* 0x4601B8F7: mov dword ptr [esi + 0xc], eax */ 1440 eax = esi; /* 0x4601B8FA: mov eax, esi */ 1441 esi = POP32_VAL(esp); /* 0x4601B8FC: pop esi */ 1442 MEM32(FS_BASE + (0)) = ecx; /* 0x4601B8FD: mov dword ptr fs:[0], ecx */ 1443 esp = ebp; ebp = POP32_VAL(esp); /* 0x4601B904: leave */ 1444 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4601B905: ret 8 */ 1445 RECOMP_REGS_OUT(); 1446 } 1447 1448 void sub_4601B908(void) { 1449 int _fpu_cmp = 0; 1450 uint32_t _cf = 0; 1451 int _df = 1; 1452 uint32_t _flag_k = FK_NONE; 1453 uint32_t _flag_a = 0, _flag_b = 0; 1454 uint32_t _itail_tgt = 0; 1455 RECOMP_REGS_LOCALS 1456 RECOMP_ENTER(0x4601B908u); 1457 1458 L_4601B908: 1459 PUSH32(esp, 6); /* 0x4601B908: push 6 */ 1460 eax = POP32_VAL(esp); /* 0x4601B90A: pop eax */ 1461 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4601B90B: ret */ 1462 RECOMP_REGS_OUT(); 1463 } 1464 1465 void sub_4601B90C(void) { 1466 int _fpu_cmp = 0; 1467 uint32_t _cf = 0; 1468 int _df = 1; 1469 uint32_t _flag_k = FK_NONE; 1470 uint32_t _flag_a = 0, _flag_b = 0; 1471 uint32_t _itail_tgt = 0; 1472 RECOMP_REGS_LOCALS 1473 RECOMP_ENTER(0x4601B90Cu); 1474 1475 L_4601B90C: 1476 PUSH32(esp, esi); /* 0x4601B90C: push esi */ 1477 esi = ecx; /* 0x4601B90D: mov esi, ecx */ 1478 PUSH32(esp, MEM32(esi + 0x8)); /* 0x4601B90F: push dword ptr [esi + 8] */ 1479 MEM32(esi) = 0x4602BF20u; /* 0x4601B912: mov dword ptr [esi], 0x4602bf20 */ 1480 RECOMP_ICALL(0x46002CE4u); /* 0x4601B918: call 0x46002ce4 */ /* not lifted */ 1481 RECOMP_FLAGS_IN(); 1482 PUSH32(esp, MEM32(esi + 0xC)); /* 0x4601B91D: push dword ptr [esi + 0xc] */ 1483 RECOMP_ICALL(0x46002CE4u); /* 0x4601B920: call 0x46002ce4 */ /* not lifted */ 1484 RECOMP_FLAGS_IN(); 1485 ecx = POP32_VAL(esp); /* 0x4601B925: pop ecx */ 1486 MEM32(esi) = 0x4602B424u; /* 0x4601B926: mov dword ptr [esi], 0x4602b424 */ 1487 ecx = POP32_VAL(esp); /* 0x4601B92C: pop ecx */ 1488 esi = POP32_VAL(esp); /* 0x4601B92D: pop esi */ 1489 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4601B92E: ret */ 1490 RECOMP_REGS_OUT(); 1491 } 1492 1493 void sub_4601B92F(void) { 1494 int _fpu_cmp = 0; 1495 uint32_t _cf = 0; 1496 int _df = 1; 1497 uint32_t _flag_k = FK_NONE; 1498 uint32_t _flag_a = 0, _flag_b = 0; 1499 uint32_t _itail_tgt = 0; 1500 RECOMP_REGS_LOCALS 1501 RECOMP_ENTER(0x4601B92Fu); 1502 1503 L_4601B92F: 1504 PUSH32(esp, esi); /* 0x4601B92F: push esi */ 1505 PUSH32(esp, 0); /* 0x4601B930: push 0 */ 1506 esi = ecx; /* 0x4601B932: mov esi, ecx */ 1507 PUSH32(esp, 0x4602B972u); /* 0x4601B934: push 0x4602b972 */ 1508 RECOMP_ICALL(0x46021607u); /* 0x4601B939: call 0x46021607 */ /* not lifted */ 1509 RECOMP_FLAGS_IN(); 1510 PUSH32(esp, 0); /* 0x4601B93E: push 0 */ 1511 PUSH32(esp, 0x4602B978u); /* 0x4601B940: push 0x4602b978 */ 1512 MEM32(esi + 0x8) = eax; /* 0x4601B945: mov dword ptr [esi + 8], eax */ 1513 RECOMP_ICALL(0x46021607u); /* 0x4601B948: call 0x46021607 */ /* not lifted */ 1514 RECOMP_FLAGS_IN(); 1515 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 1516 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1517 esp = esp + 0x10u; /* 0x4601B94D: add esp, 0x10 */ 1518 _flag_k = FK_ADD; 1519 MEM32(esi + 0xC) = eax; /* 0x4601B950: mov dword ptr [esi + 0xc], eax */ 1520 esi = POP32_VAL(esp); /* 0x4601B953: pop esi */ 1521 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601B954: ret 4 */ 1522 RECOMP_REGS_OUT(); 1523 } 1524 1525 void sub_4601B957(void) { 1526 int _fpu_cmp = 0; 1527 uint32_t _cf = 0; 1528 int _df = 1; 1529 uint32_t _flag_k = FK_NONE; 1530 uint32_t _flag_a = 0, _flag_b = 0; 1531 uint32_t _itail_tgt = 0; 1532 RECOMP_REGS_LOCALS 1533 RECOMP_ENTER(0x4601B957u); 1534 1535 L_4601B957: 1536 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1537 eax = 0; /* 0x4601B957: xor eax, eax */ 1538 _cf = 0; 1539 _flag_k = FK_TEST; 1540 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4601B959: ret 8 */ 1541 RECOMP_REGS_OUT(); 1542 } 1543 1544 void sub_4601B95C(void) { 1545 int _fpu_cmp = 0; 1546 uint32_t _cf = 0; 1547 int _df = 1; 1548 uint32_t _flag_k = FK_NONE; 1549 uint32_t _flag_a = 0, _flag_b = 0; 1550 uint32_t _itail_tgt = 0; 1551 RECOMP_REGS_LOCALS 1552 RECOMP_ENTER(0x4601B95Cu); 1553 1554 L_4601B95C: 1555 PUSH32(esp, ebp); /* 0x4601B95C: push ebp */ 1556 ebp = esp; /* 0x4601B95D: mov ebp, esp */ 1557 PUSH32(esp, ecx); /* 0x4601B95F: push ecx */ 1558 PUSH32(esp, ebx); /* 0x4601B960: push ebx */ 1559 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 1560 ebx = 0; /* 0x4601B961: xor ebx, ebx */ 1561 _cf = 0; 1562 _flag_k = FK_TEST; 1563 /* cmp MEM32(ebp + 0x14), ebx */ /* 0x4601B963: cmp dword ptr [ebp + 0x14], ebx */ 1564 _flag_a = (uint32_t)(MEM32(ebp + 0x14)); _flag_b = (uint32_t)(ebx); 1565 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1566 _flag_k = FK_CMP; 1567 PUSH32(esp, esi); /* 0x4601B966: push esi */ 1568 PUSH32(esp, edi); /* 0x4601B967: push edi */ 1569 MEM32(ebp + (-0x4)) = ebx; /* 0x4601B968: mov dword ptr [ebp - 4], ebx */ 1570 if (CMP_NE(_flag_a, _flag_b)) goto L_4601B99A; /* 0x4601B96B: jne 0x4601b99a */ 1571 L_4601B96D: 1572 edi = MEM32(ecx + 0x8); /* 0x4601B96D: mov edi, dword ptr [ecx + 8] */ 1573 esi = MEM32(ebp + 0x8); /* 0x4601B970: mov esi, dword ptr [ebp + 8] */ 1574 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x4601B973: mov al, byte ptr [ebp + 0xb] */ 1575 L_4601B976: 1576 PUSH32(esp, ebx); /* 0x4601B976: push ebx */ 1577 ecx = esi; /* 0x4601B977: mov ecx, esi */ 1578 MEM8(esi) = (uint8_t)(LO8(eax)); /* 0x4601B979: mov byte ptr [esi], al */ 1579 RECOMP_ICALL(0x46002532u); /* 0x4601B97B: call 0x46002532 */ /* not lifted */ 1580 RECOMP_FLAGS_IN(); 1581 PUSH32(esp, edi); /* 0x4601B980: push edi */ 1582 RECOMP_ICALL(MEM32(0x4602B110)); /* 0x4601B981: call dword ptr [0x4602b110] */ 1583 RECOMP_FLAGS_IN(); 1584 ecx = POP32_VAL(esp); /* 0x4601B987: pop ecx */ 1585 PUSH32(esp, eax); /* 0x4601B988: push eax */ 1586 PUSH32(esp, edi); /* 0x4601B989: push edi */ 1587 ecx = esi; /* 0x4601B98A: mov ecx, esi */ 1588 RECOMP_ICALL(0x4600256Au); /* 0x4601B98C: call 0x4600256a */ /* not lifted */ 1589 RECOMP_FLAGS_IN(); 1590 L_4601B991: 1591 eax = esi; /* 0x4601B991: mov eax, esi */ 1592 edi = POP32_VAL(esp); /* 0x4601B993: pop edi */ 1593 esi = POP32_VAL(esp); /* 0x4601B994: pop esi */ 1594 ebx = POP32_VAL(esp); /* 0x4601B995: pop ebx */ 1595 esp = ebp; ebp = POP32_VAL(esp); /* 0x4601B996: leave */ 1596 RECOMP_FLAGS_OUT(); esp += 24; { RECOMP_REGS_OUT(); return; } /* 0x4601B997: ret 0x14 */ 1597 L_4601B99A: 1598 /* cmp MEM32(ebp + 0x14), 1 */ /* 0x4601B99A: cmp dword ptr [ebp + 0x14], 1 */ 1599 _flag_a = (uint32_t)(MEM32(ebp + 0x14)); _flag_b = (uint32_t)(1); 1600 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1601 _flag_k = FK_CMP; 1602 if (CMP_NE(_flag_a, _flag_b)) goto L_4601B9AB; /* 0x4601B99E: jne 0x4601b9ab */ 1603 L_4601B9A0: 1604 edi = MEM32(ecx + 0xC); /* 0x4601B9A0: mov edi, dword ptr [ecx + 0xc] */ 1605 esi = MEM32(ebp + 0x8); /* 0x4601B9A3: mov esi, dword ptr [ebp + 8] */ 1606 SET_LO8(eax, MEM8(ebp + 0xB)); /* 0x4601B9A6: mov al, byte ptr [ebp + 0xb] */ 1607 RECOMP_BACKEDGE(); 1608 goto L_4601B976; /* 0x4601B9A9: jmp 0x4601b976 */ 1609 L_4601B9AB: 1610 edi = MEM32(ebp + 0x18); /* 0x4601B9AB: mov edi, dword ptr [ebp + 0x18] */ 1611 esi = MEM32(ebp + 0x8); /* 0x4601B9AE: mov esi, dword ptr [ebp + 8] */ 1612 PUSH32(esp, ebx); /* 0x4601B9B1: push ebx */ 1613 ecx = esi; /* 0x4601B9B2: mov ecx, esi */ 1614 SET_LO8(eax, MEM8(edi)); /* 0x4601B9B4: mov al, byte ptr [edi] */ 1615 MEM8(esi) = (uint8_t)(LO8(eax)); /* 0x4601B9B6: mov byte ptr [esi], al */ 1616 RECOMP_ICALL(0x46002532u); /* 0x4601B9B8: call 0x46002532 */ /* not lifted */ 1617 RECOMP_FLAGS_IN(); 1618 PUSH32(esp, 0xFFFFFFFFu); /* 0x4601B9BD: push -1 */ 1619 PUSH32(esp, ebx); /* 0x4601B9BF: push ebx */ 1620 PUSH32(esp, edi); /* 0x4601B9C0: push edi */ 1621 ecx = esi; /* 0x4601B9C1: mov ecx, esi */ 1622 RECOMP_ICALL(0x46008C39u); /* 0x4601B9C3: call 0x46008c39 */ /* not lifted */ 1623 RECOMP_FLAGS_IN(); 1624 RECOMP_BACKEDGE(); 1625 goto L_4601B991; /* 0x4601B9C8: jmp 0x4601b991 */ 1626 { RECOMP_REGS_OUT(); return; } /* end of function */ 1627 RECOMP_REGS_OUT(); 1628 } 1629 1630 void sub_4601B9CA(void) { 1631 int _fpu_cmp = 0; 1632 uint32_t _cf = 0; 1633 int _df = 1; 1634 uint32_t _flag_k = FK_NONE; 1635 uint32_t _flag_a = 0, _flag_b = 0; 1636 uint32_t _itail_tgt = 0; 1637 RECOMP_REGS_LOCALS 1638 RECOMP_ENTER(0x4601B9CAu); 1639 1640 L_4601B9CA: 1641 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601B9CA: ret 4 */ 1642 RECOMP_REGS_OUT(); 1643 } 1644 1645 void sub_4601B9CD(void) { 1646 int _fpu_cmp = 0; 1647 uint32_t _cf = 0; 1648 int _df = 1; 1649 uint32_t _flag_k = FK_NONE; 1650 uint32_t _flag_a = 0, _flag_b = 0; 1651 uint32_t _itail_tgt = 0; 1652 RECOMP_REGS_LOCALS 1653 RECOMP_ENTER(0x4601B9CDu); 1654 1655 L_4601B9CD: 1656 eax = ecx; /* 0x4601B9CD: mov eax, ecx */ 1657 ecx = MEM32(esp + 0x4); /* 0x4601B9CF: mov ecx, dword ptr [esp + 4] */ 1658 ecx = MEM32(ecx); /* 0x4601B9D3: mov ecx, dword ptr [ecx] */ 1659 MEM32(eax) = ecx; /* 0x4601B9D5: mov dword ptr [eax], ecx */ 1660 ecx = MEM32(esp + 0x8); /* 0x4601B9D7: mov ecx, dword ptr [esp + 8] */ 1661 ecx = MEM32(ecx); /* 0x4601B9DB: mov ecx, dword ptr [ecx] */ 1662 MEM32(eax + 0x4) = ecx; /* 0x4601B9DD: mov dword ptr [eax + 4], ecx */ 1663 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4601B9E0: ret 8 */ 1664 RECOMP_REGS_OUT(); 1665 } 1666 1667 void sub_4601B9E3(void) { 1668 int _fpu_cmp = 0; 1669 uint32_t _cf = 0; 1670 int _df = 1; 1671 uint32_t _flag_k = FK_NONE; 1672 uint32_t _flag_a = 0, _flag_b = 0; 1673 uint32_t _itail_tgt = 0; 1674 RECOMP_REGS_LOCALS 1675 RECOMP_ENTER(0x4601B9E3u); 1676 1677 L_4601B9E3: 1678 eax = ecx; /* 0x4601B9E3: mov eax, ecx */ 1679 ecx = MEM32(esp + 0x4); /* 0x4601B9E5: mov ecx, dword ptr [esp + 4] */ 1680 fp_push(*(float*)&MEM32(ecx)); /* 0x4601B9E9: fld dword ptr [ecx] */ 1681 _st[0] += (double)*(float*)ADDR(eax); /* 0x4601B9EB: fadd dword ptr [eax] */ 1682 { float _v = (float)fp_pop(); *(float*)ADDR(eax) = _v; } /* 0x4601B9ED: fstp dword ptr [eax] */ 1683 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601B9EF: ret 4 */ 1684 RECOMP_REGS_OUT(); 1685 } 1686 1687 void sub_4601B9F2(void) { 1688 int _fpu_cmp = 0; 1689 uint32_t _cf = 0; 1690 int _df = 1; 1691 uint32_t _flag_k = FK_NONE; 1692 uint32_t _flag_a = 0, _flag_b = 0; 1693 uint32_t _itail_tgt = 0; 1694 RECOMP_REGS_LOCALS 1695 RECOMP_ENTER(0x4601B9F2u); 1696 1697 L_4601B9F2: 1698 eax = ecx; /* 0x4601B9F2: mov eax, ecx */ 1699 ecx = MEM32(esp + 0x4); /* 0x4601B9F4: mov ecx, dword ptr [esp + 4] */ 1700 fp_push(*(float*)&MEM32(eax)); /* 0x4601B9F8: fld dword ptr [eax] */ 1701 _st[0] -= (double)*(float*)ADDR(ecx); /* 0x4601B9FA: fsub dword ptr [ecx] */ 1702 { float _v = (float)fp_pop(); *(float*)ADDR(eax) = _v; } /* 0x4601B9FC: fstp dword ptr [eax] */ 1703 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601B9FE: ret 4 */ 1704 RECOMP_REGS_OUT(); 1705 } 1706 1707 void sub_4601BA01(void) { 1708 int _fpu_cmp = 0; 1709 uint32_t _cf = 0; 1710 int _df = 1; 1711 uint32_t _flag_k = FK_NONE; 1712 uint32_t _flag_a = 0, _flag_b = 0; 1713 uint32_t _itail_tgt = 0; 1714 RECOMP_REGS_LOCALS 1715 RECOMP_ENTER(0x4601BA01u); 1716 1717 L_4601BA01: 1718 eax = ecx; /* 0x4601BA01: mov eax, ecx */ 1719 ecx = MEM32(esp + 0x4); /* 0x4601BA03: mov ecx, dword ptr [esp + 4] */ 1720 fp_push(*(float*)&MEM32(ecx)); /* 0x4601BA07: fld dword ptr [ecx] */ 1721 _st[0] *= (double)*(float*)ADDR(eax); /* 0x4601BA09: fmul dword ptr [eax] */ 1722 { float _v = (float)fp_pop(); *(float*)ADDR(eax) = _v; } /* 0x4601BA0B: fstp dword ptr [eax] */ 1723 fp_push(*(float*)&MEM32(eax + 0x4)); /* 0x4601BA0D: fld dword ptr [eax + 4] */ 1724 _st[0] *= (double)*(float*)ADDR(ecx); /* 0x4601BA10: fmul dword ptr [ecx] */ 1725 { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x4) = _v; } /* 0x4601BA12: fstp dword ptr [eax + 4] */ 1726 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601BA15: ret 4 */ 1727 RECOMP_REGS_OUT(); 1728 } 1729 1730 void sub_4601BA18(void) { 1731 int _fpu_cmp = 0; 1732 uint32_t _cf = 0; 1733 int _df = 1; 1734 uint32_t _flag_k = FK_NONE; 1735 uint32_t _flag_a = 0, _flag_b = 0; 1736 uint32_t _itail_tgt = 0; 1737 RECOMP_REGS_LOCALS 1738 RECOMP_ENTER(0x4601BA18u); 1739 1740 L_4601BA18: 1741 eax = ecx; /* 0x4601BA18: mov eax, ecx */ 1742 ecx = MEM32(esp + 0x4); /* 0x4601BA1A: mov ecx, dword ptr [esp + 4] */ 1743 fp_push(*(float*)&MEM32(eax)); /* 0x4601BA1E: fld dword ptr [eax] */ 1744 _st[0] /= (double)*(float*)ADDR(ecx); /* 0x4601BA20: fdiv dword ptr [ecx] */ 1745 { float _v = (float)fp_pop(); *(float*)ADDR(eax) = _v; } /* 0x4601BA22: fstp dword ptr [eax] */ 1746 fp_push(*(float*)&MEM32(eax + 0x4)); /* 0x4601BA24: fld dword ptr [eax + 4] */ 1747 _st[0] /= (double)*(float*)ADDR(ecx); /* 0x4601BA27: fdiv dword ptr [ecx] */ 1748 { float _v = (float)fp_pop(); *(float*)ADDR(eax + 0x4) = _v; } /* 0x4601BA29: fstp dword ptr [eax + 4] */ 1749 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601BA2C: ret 4 */ 1750 RECOMP_REGS_OUT(); 1751 } 1752 1753 void sub_4601BA2F(void) { 1754 int _fpu_cmp = 0; 1755 uint32_t _cf = 0; 1756 int _df = 1; 1757 uint32_t _flag_k = FK_NONE; 1758 uint32_t _flag_a = 0, _flag_b = 0; 1759 uint32_t _itail_tgt = 0; 1760 RECOMP_REGS_LOCALS 1761 RECOMP_ENTER(0x4601BA2Fu); 1762 1763 L_4601BA2F: 1764 eax = MEM32(esp + 0x4); /* 0x4601BA2F: mov eax, dword ptr [esp + 4] */ 1765 fp_push(*(float*)&MEM32(eax)); /* 0x4601BA33: fld dword ptr [eax] */ 1766 { float _v = (float)_st[0]; *(float*)ADDR(ecx) = _v; } /* 0x4601BA35: fst dword ptr [ecx] */ 1767 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601BA37: ret 4 */ 1768 RECOMP_REGS_OUT(); 1769 } 1770 1771 void sub_4601BA3A(void) { 1772 int _fpu_cmp = 0; 1773 uint32_t _cf = 0; 1774 int _df = 1; 1775 uint32_t _flag_k = FK_NONE; 1776 uint32_t _flag_a = 0, _flag_b = 0; 1777 uint32_t _itail_tgt = 0; 1778 RECOMP_REGS_LOCALS 1779 RECOMP_ENTER(0x4601BA3Au); 1780 1781 L_4601BA3A: 1782 eax = MEM32(esp + 0x4); /* 0x4601BA3A: mov eax, dword ptr [esp + 4] */ 1783 fp_push(*(float*)&MEM32(eax)); /* 0x4601BA3E: fld dword ptr [eax] */ 1784 { float _v = (float)_st[0]; *(float*)ADDR(ecx + 0x4) = _v; } /* 0x4601BA40: fst dword ptr [ecx + 4] */ 1785 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601BA43: ret 4 */ 1786 RECOMP_REGS_OUT(); 1787 } 1788 1789 void sub_4601BA46(void) { 1790 int _fpu_cmp = 0; 1791 uint32_t _cf = 0; 1792 int _df = 1; 1793 uint32_t _flag_k = FK_NONE; 1794 uint32_t _flag_a = 0, _flag_b = 0; 1795 uint32_t _itail_tgt = 0; 1796 RECOMP_REGS_LOCALS 1797 RECOMP_ENTER(0x4601BA46u); 1798 1799 L_4601BA46: 1800 fp_push(*(float*)&MEM32(ecx)); /* 0x4601BA46: fld dword ptr [ecx] */ 1801 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4601BA48: ret */ 1802 RECOMP_REGS_OUT(); 1803 } 1804 1805 void sub_4601BA49(void) { 1806 int _fpu_cmp = 0; 1807 uint32_t _cf = 0; 1808 int _df = 1; 1809 uint32_t _flag_k = FK_NONE; 1810 uint32_t _flag_a = 0, _flag_b = 0; 1811 uint32_t _itail_tgt = 0; 1812 RECOMP_REGS_LOCALS 1813 RECOMP_ENTER(0x4601BA49u); 1814 1815 L_4601BA49: 1816 fp_push(*(float*)&MEM32(ecx + 0x4)); /* 0x4601BA49: fld dword ptr [ecx + 4] */ 1817 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4601BA4C: ret */ 1818 RECOMP_REGS_OUT(); 1819 } 1820 1821 void sub_4601BA4D(void) { 1822 int _fpu_cmp = 0; 1823 uint32_t _cf = 0; 1824 int _df = 1; 1825 uint32_t _flag_k = FK_NONE; 1826 uint32_t _flag_a = 0, _flag_b = 0; 1827 uint32_t _itail_tgt = 0; 1828 RECOMP_REGS_LOCALS 1829 RECOMP_ENTER(0x4601BA4Du); 1830 1831 L_4601BA4D: 1832 eax = ecx; /* 0x4601BA4D: mov eax, ecx */ 1833 ecx = MEM32(esp + 0x4); /* 0x4601BA4F: mov ecx, dword ptr [esp + 4] */ 1834 fp_push(*(double*)ADDR(ecx)); /* 0x4601BA53: fld qword ptr [ecx] */ 1835 ecx = MEM32(esp + 0x8); /* 0x4601BA55: mov ecx, dword ptr [esp + 8] */ 1836 { double _v = fp_pop(); *(double*)ADDR(eax) = _v; } /* 0x4601BA59: fstp qword ptr [eax] */ 1837 fp_push(*(double*)ADDR(ecx)); /* 0x4601BA5B: fld qword ptr [ecx] */ 1838 { double _v = fp_pop(); *(double*)ADDR(eax + 0x8) = _v; } /* 0x4601BA5D: fstp qword ptr [eax + 8] */ 1839 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4601BA60: ret 8 */ 1840 RECOMP_REGS_OUT(); 1841 } 1842 1843 void sub_4601BA63(void) { 1844 int _fpu_cmp = 0; 1845 uint32_t _cf = 0; 1846 int _df = 1; 1847 uint32_t _flag_k = FK_NONE; 1848 uint32_t _flag_a = 0, _flag_b = 0; 1849 uint32_t _itail_tgt = 0; 1850 RECOMP_REGS_LOCALS 1851 RECOMP_ENTER(0x4601BA63u); 1852 1853 L_4601BA63: 1854 eax = ecx; /* 0x4601BA63: mov eax, ecx */ 1855 ecx = MEM32(esp + 0x4); /* 0x4601BA65: mov ecx, dword ptr [esp + 4] */ 1856 fp_push(*(double*)ADDR(ecx)); /* 0x4601BA69: fld qword ptr [ecx] */ 1857 _st[0] += *(double*)ADDR(eax); /* 0x4601BA6B: fadd qword ptr [eax] */ 1858 { double _v = fp_pop(); *(double*)ADDR(eax) = _v; } /* 0x4601BA6D: fstp qword ptr [eax] */ 1859 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601BA6F: ret 4 */ 1860 RECOMP_REGS_OUT(); 1861 } 1862 1863 void sub_4601BA72(void) { 1864 int _fpu_cmp = 0; 1865 uint32_t _cf = 0; 1866 int _df = 1; 1867 uint32_t _flag_k = FK_NONE; 1868 uint32_t _flag_a = 0, _flag_b = 0; 1869 uint32_t _itail_tgt = 0; 1870 RECOMP_REGS_LOCALS 1871 RECOMP_ENTER(0x4601BA72u); 1872 1873 L_4601BA72: 1874 eax = ecx; /* 0x4601BA72: mov eax, ecx */ 1875 ecx = MEM32(esp + 0x4); /* 0x4601BA74: mov ecx, dword ptr [esp + 4] */ 1876 fp_push(*(double*)ADDR(eax)); /* 0x4601BA78: fld qword ptr [eax] */ 1877 _st[0] -= *(double*)ADDR(ecx); /* 0x4601BA7A: fsub qword ptr [ecx] */ 1878 { double _v = fp_pop(); *(double*)ADDR(eax) = _v; } /* 0x4601BA7C: fstp qword ptr [eax] */ 1879 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601BA7E: ret 4 */ 1880 RECOMP_REGS_OUT(); 1881 } 1882 1883 void sub_4601BA81(void) { 1884 int _fpu_cmp = 0; 1885 uint32_t _cf = 0; 1886 int _df = 1; 1887 uint32_t _flag_k = FK_NONE; 1888 uint32_t _flag_a = 0, _flag_b = 0; 1889 uint32_t _itail_tgt = 0; 1890 RECOMP_REGS_LOCALS 1891 RECOMP_ENTER(0x4601BA81u); 1892 1893 L_4601BA81: 1894 eax = ecx; /* 0x4601BA81: mov eax, ecx */ 1895 ecx = MEM32(esp + 0x4); /* 0x4601BA83: mov ecx, dword ptr [esp + 4] */ 1896 fp_push(*(double*)ADDR(ecx)); /* 0x4601BA87: fld qword ptr [ecx] */ 1897 _st[0] *= *(double*)ADDR(eax); /* 0x4601BA89: fmul qword ptr [eax] */ 1898 { double _v = fp_pop(); *(double*)ADDR(eax) = _v; } /* 0x4601BA8B: fstp qword ptr [eax] */ 1899 fp_push(*(double*)ADDR(eax + 0x8)); /* 0x4601BA8D: fld qword ptr [eax + 8] */ 1900 _st[0] *= *(double*)ADDR(ecx); /* 0x4601BA90: fmul qword ptr [ecx] */ 1901 { double _v = fp_pop(); *(double*)ADDR(eax + 0x8) = _v; } /* 0x4601BA92: fstp qword ptr [eax + 8] */ 1902 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601BA95: ret 4 */ 1903 RECOMP_REGS_OUT(); 1904 } 1905 1906 void sub_4601BA98(void) { 1907 int _fpu_cmp = 0; 1908 uint32_t _cf = 0; 1909 int _df = 1; 1910 uint32_t _flag_k = FK_NONE; 1911 uint32_t _flag_a = 0, _flag_b = 0; 1912 uint32_t _itail_tgt = 0; 1913 RECOMP_REGS_LOCALS 1914 RECOMP_ENTER(0x4601BA98u); 1915 1916 L_4601BA98: 1917 eax = ecx; /* 0x4601BA98: mov eax, ecx */ 1918 ecx = MEM32(esp + 0x4); /* 0x4601BA9A: mov ecx, dword ptr [esp + 4] */ 1919 fp_push(*(double*)ADDR(eax)); /* 0x4601BA9E: fld qword ptr [eax] */ 1920 _st[0] /= *(double*)ADDR(ecx); /* 0x4601BAA0: fdiv qword ptr [ecx] */ 1921 { double _v = fp_pop(); *(double*)ADDR(eax) = _v; } /* 0x4601BAA2: fstp qword ptr [eax] */ 1922 fp_push(*(double*)ADDR(eax + 0x8)); /* 0x4601BAA4: fld qword ptr [eax + 8] */ 1923 _st[0] /= *(double*)ADDR(ecx); /* 0x4601BAA7: fdiv qword ptr [ecx] */ 1924 { double _v = fp_pop(); *(double*)ADDR(eax + 0x8) = _v; } /* 0x4601BAA9: fstp qword ptr [eax + 8] */ 1925 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601BAAC: ret 4 */ 1926 RECOMP_REGS_OUT(); 1927 } 1928 1929 void sub_4601BAAF(void) { 1930 int _fpu_cmp = 0; 1931 uint32_t _cf = 0; 1932 int _df = 1; 1933 uint32_t _flag_k = FK_NONE; 1934 uint32_t _flag_a = 0, _flag_b = 0; 1935 uint32_t _itail_tgt = 0; 1936 RECOMP_REGS_LOCALS 1937 RECOMP_ENTER(0x4601BAAFu); 1938 1939 L_4601BAAF: 1940 eax = MEM32(esp + 0x4); /* 0x4601BAAF: mov eax, dword ptr [esp + 4] */ 1941 fp_push(*(double*)ADDR(eax)); /* 0x4601BAB3: fld qword ptr [eax] */ 1942 *(double*)ADDR(ecx) = _st[0]; /* 0x4601BAB5: fst qword ptr [ecx] */ 1943 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601BAB7: ret 4 */ 1944 RECOMP_REGS_OUT(); 1945 } 1946 1947 void sub_4601BABA(void) { 1948 int _fpu_cmp = 0; 1949 uint32_t _cf = 0; 1950 int _df = 1; 1951 uint32_t _flag_k = FK_NONE; 1952 uint32_t _flag_a = 0, _flag_b = 0; 1953 uint32_t _itail_tgt = 0; 1954 RECOMP_REGS_LOCALS 1955 RECOMP_ENTER(0x4601BABAu); 1956 1957 L_4601BABA: 1958 eax = MEM32(esp + 0x4); /* 0x4601BABA: mov eax, dword ptr [esp + 4] */ 1959 fp_push(*(double*)ADDR(eax)); /* 0x4601BABE: fld qword ptr [eax] */ 1960 *(double*)ADDR(ecx + 0x8) = _st[0]; /* 0x4601BAC0: fst qword ptr [ecx + 8] */ 1961 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601BAC3: ret 4 */ 1962 RECOMP_REGS_OUT(); 1963 } 1964 1965 void sub_4601BAC6(void) { 1966 int _fpu_cmp = 0; 1967 uint32_t _cf = 0; 1968 int _df = 1; 1969 uint32_t _flag_k = FK_NONE; 1970 uint32_t _flag_a = 0, _flag_b = 0; 1971 uint32_t _itail_tgt = 0; 1972 RECOMP_REGS_LOCALS 1973 RECOMP_ENTER(0x4601BAC6u); 1974 1975 L_4601BAC6: 1976 fp_push(*(double*)ADDR(ecx)); /* 0x4601BAC6: fld qword ptr [ecx] */ 1977 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4601BAC8: ret */ 1978 RECOMP_REGS_OUT(); 1979 } 1980 1981 void sub_4601BAC9(void) { 1982 int _fpu_cmp = 0; 1983 uint32_t _cf = 0; 1984 int _df = 1; 1985 uint32_t _flag_k = FK_NONE; 1986 uint32_t _flag_a = 0, _flag_b = 0; 1987 uint32_t _itail_tgt = 0; 1988 RECOMP_REGS_LOCALS 1989 RECOMP_ENTER(0x4601BAC9u); 1990 1991 L_4601BAC9: 1992 fp_push(*(double*)ADDR(ecx + 0x8)); /* 0x4601BAC9: fld qword ptr [ecx + 8] */ 1993 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4601BACC: ret */ 1994 RECOMP_REGS_OUT(); 1995 } 1996 1997 void sub_4601BACD(void) { 1998 int _fpu_cmp = 0; 1999 uint32_t _cf = 0; 2000 int _df = 1; 2001 uint32_t _flag_k = FK_NONE; 2002 uint32_t _flag_a = 0, _flag_b = 0; 2003 uint32_t _itail_tgt = 0; 2004 RECOMP_REGS_LOCALS 2005 RECOMP_ENTER(0x4601BACDu); 2006 2007 L_4601BACD: 2008 eax = ecx; /* 0x4601BACD: mov eax, ecx */ 2009 ecx = MEM32(esp + 0x4); /* 0x4601BACF: mov ecx, dword ptr [esp + 4] */ 2010 fp_push(*(double*)ADDR(ecx)); /* 0x4601BAD3: fld qword ptr [ecx] */ 2011 ecx = MEM32(esp + 0x8); /* 0x4601BAD5: mov ecx, dword ptr [esp + 8] */ 2012 { double _v = fp_pop(); *(double*)ADDR(eax) = _v; } /* 0x4601BAD9: fstp qword ptr [eax] */ 2013 fp_push(*(double*)ADDR(ecx)); /* 0x4601BADB: fld qword ptr [ecx] */ 2014 { double _v = fp_pop(); *(double*)ADDR(eax + 0x8) = _v; } /* 0x4601BADD: fstp qword ptr [eax + 8] */ 2015 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x4601BAE0: ret 8 */ 2016 RECOMP_REGS_OUT(); 2017 } 2018 2019 void sub_4601BAE3(void) { 2020 int _fpu_cmp = 0; 2021 uint32_t _cf = 0; 2022 int _df = 1; 2023 uint32_t _flag_k = FK_NONE; 2024 uint32_t _flag_a = 0, _flag_b = 0; 2025 uint32_t _itail_tgt = 0; 2026 RECOMP_REGS_LOCALS 2027 RECOMP_ENTER(0x4601BAE3u); 2028 2029 L_4601BAE3: 2030 eax = ecx; /* 0x4601BAE3: mov eax, ecx */ 2031 ecx = MEM32(esp + 0x4); /* 0x4601BAE5: mov ecx, dword ptr [esp + 4] */ 2032 fp_push(*(double*)ADDR(ecx)); /* 0x4601BAE9: fld qword ptr [ecx] */ 2033 _st[0] += *(double*)ADDR(eax); /* 0x4601BAEB: fadd qword ptr [eax] */ 2034 { double _v = fp_pop(); *(double*)ADDR(eax) = _v; } /* 0x4601BAED: fstp qword ptr [eax] */ 2035 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601BAEF: ret 4 */ 2036 RECOMP_REGS_OUT(); 2037 } 2038 2039 void sub_4601BAF2(void) { 2040 int _fpu_cmp = 0; 2041 uint32_t _cf = 0; 2042 int _df = 1; 2043 uint32_t _flag_k = FK_NONE; 2044 uint32_t _flag_a = 0, _flag_b = 0; 2045 uint32_t _itail_tgt = 0; 2046 RECOMP_REGS_LOCALS 2047 RECOMP_ENTER(0x4601BAF2u); 2048 2049 L_4601BAF2: 2050 eax = ecx; /* 0x4601BAF2: mov eax, ecx */ 2051 ecx = MEM32(esp + 0x4); /* 0x4601BAF4: mov ecx, dword ptr [esp + 4] */ 2052 fp_push(*(double*)ADDR(eax)); /* 0x4601BAF8: fld qword ptr [eax] */ 2053 _st[0] -= *(double*)ADDR(ecx); /* 0x4601BAFA: fsub qword ptr [ecx] */ 2054 { double _v = fp_pop(); *(double*)ADDR(eax) = _v; } /* 0x4601BAFC: fstp qword ptr [eax] */ 2055 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601BAFE: ret 4 */ 2056 RECOMP_REGS_OUT(); 2057 } 2058 2059 void sub_4601BB01(void) { 2060 int _fpu_cmp = 0; 2061 uint32_t _cf = 0; 2062 int _df = 1; 2063 uint32_t _flag_k = FK_NONE; 2064 uint32_t _flag_a = 0, _flag_b = 0; 2065 uint32_t _itail_tgt = 0; 2066 RECOMP_REGS_LOCALS 2067 RECOMP_ENTER(0x4601BB01u); 2068 2069 L_4601BB01: 2070 eax = ecx; /* 0x4601BB01: mov eax, ecx */ 2071 ecx = MEM32(esp + 0x4); /* 0x4601BB03: mov ecx, dword ptr [esp + 4] */ 2072 fp_push(*(double*)ADDR(ecx)); /* 0x4601BB07: fld qword ptr [ecx] */ 2073 _st[0] *= *(double*)ADDR(eax); /* 0x4601BB09: fmul qword ptr [eax] */ 2074 { double _v = fp_pop(); *(double*)ADDR(eax) = _v; } /* 0x4601BB0B: fstp qword ptr [eax] */ 2075 fp_push(*(double*)ADDR(eax + 0x8)); /* 0x4601BB0D: fld qword ptr [eax + 8] */ 2076 _st[0] *= *(double*)ADDR(ecx); /* 0x4601BB10: fmul qword ptr [ecx] */ 2077 { double _v = fp_pop(); *(double*)ADDR(eax + 0x8) = _v; } /* 0x4601BB12: fstp qword ptr [eax + 8] */ 2078 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601BB15: ret 4 */ 2079 RECOMP_REGS_OUT(); 2080 } 2081 2082 void sub_4601BB18(void) { 2083 int _fpu_cmp = 0; 2084 uint32_t _cf = 0; 2085 int _df = 1; 2086 uint32_t _flag_k = FK_NONE; 2087 uint32_t _flag_a = 0, _flag_b = 0; 2088 uint32_t _itail_tgt = 0; 2089 RECOMP_REGS_LOCALS 2090 RECOMP_ENTER(0x4601BB18u); 2091 2092 L_4601BB18: 2093 eax = ecx; /* 0x4601BB18: mov eax, ecx */ 2094 ecx = MEM32(esp + 0x4); /* 0x4601BB1A: mov ecx, dword ptr [esp + 4] */ 2095 fp_push(*(double*)ADDR(eax)); /* 0x4601BB1E: fld qword ptr [eax] */ 2096 _st[0] /= *(double*)ADDR(ecx); /* 0x4601BB20: fdiv qword ptr [ecx] */ 2097 { double _v = fp_pop(); *(double*)ADDR(eax) = _v; } /* 0x4601BB22: fstp qword ptr [eax] */ 2098 fp_push(*(double*)ADDR(eax + 0x8)); /* 0x4601BB24: fld qword ptr [eax + 8] */ 2099 _st[0] /= *(double*)ADDR(ecx); /* 0x4601BB27: fdiv qword ptr [ecx] */ 2100 { double _v = fp_pop(); *(double*)ADDR(eax + 0x8) = _v; } /* 0x4601BB29: fstp qword ptr [eax + 8] */ 2101 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601BB2C: ret 4 */ 2102 RECOMP_REGS_OUT(); 2103 } 2104 2105 void sub_4601BB2F(void) { 2106 int _fpu_cmp = 0; 2107 uint32_t _cf = 0; 2108 int _df = 1; 2109 uint32_t _flag_k = FK_NONE; 2110 uint32_t _flag_a = 0, _flag_b = 0; 2111 uint32_t _itail_tgt = 0; 2112 RECOMP_REGS_LOCALS 2113 RECOMP_ENTER(0x4601BB2Fu); 2114 2115 L_4601BB2F: 2116 eax = MEM32(esp + 0x4); /* 0x4601BB2F: mov eax, dword ptr [esp + 4] */ 2117 fp_push(*(double*)ADDR(eax)); /* 0x4601BB33: fld qword ptr [eax] */ 2118 *(double*)ADDR(ecx) = _st[0]; /* 0x4601BB35: fst qword ptr [ecx] */ 2119 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601BB37: ret 4 */ 2120 RECOMP_REGS_OUT(); 2121 } 2122 2123 void sub_4601BB3A(void) { 2124 int _fpu_cmp = 0; 2125 uint32_t _cf = 0; 2126 int _df = 1; 2127 uint32_t _flag_k = FK_NONE; 2128 uint32_t _flag_a = 0, _flag_b = 0; 2129 uint32_t _itail_tgt = 0; 2130 RECOMP_REGS_LOCALS 2131 RECOMP_ENTER(0x4601BB3Au); 2132 2133 L_4601BB3A: 2134 eax = MEM32(esp + 0x4); /* 0x4601BB3A: mov eax, dword ptr [esp + 4] */ 2135 fp_push(*(double*)ADDR(eax)); /* 0x4601BB3E: fld qword ptr [eax] */ 2136 *(double*)ADDR(ecx + 0x8) = _st[0]; /* 0x4601BB40: fst qword ptr [ecx + 8] */ 2137 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601BB43: ret 4 */ 2138 RECOMP_REGS_OUT(); 2139 } 2140 2141 void sub_4601BB46(void) { 2142 int _fpu_cmp = 0; 2143 uint32_t _cf = 0; 2144 int _df = 1; 2145 uint32_t _flag_k = FK_NONE; 2146 uint32_t _flag_a = 0, _flag_b = 0; 2147 uint32_t _itail_tgt = 0; 2148 RECOMP_REGS_LOCALS 2149 RECOMP_ENTER(0x4601BB46u); 2150 2151 L_4601BB46: 2152 fp_push(*(double*)ADDR(ecx)); /* 0x4601BB46: fld qword ptr [ecx] */ 2153 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4601BB48: ret */ 2154 RECOMP_REGS_OUT(); 2155 } 2156 2157 void sub_4601BB49(void) { 2158 int _fpu_cmp = 0; 2159 uint32_t _cf = 0; 2160 int _df = 1; 2161 uint32_t _flag_k = FK_NONE; 2162 uint32_t _flag_a = 0, _flag_b = 0; 2163 uint32_t _itail_tgt = 0; 2164 RECOMP_REGS_LOCALS 2165 RECOMP_ENTER(0x4601BB49u); 2166 2167 L_4601BB49: 2168 fp_push(*(double*)ADDR(ecx + 0x8)); /* 0x4601BB49: fld qword ptr [ecx + 8] */ 2169 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x4601BB4C: ret */ 2170 RECOMP_REGS_OUT(); 2171 } 2172 2173 void sub_4601BB4D(void) { 2174 int _fpu_cmp = 0; 2175 uint32_t _cf = 0; 2176 int _df = 1; 2177 uint32_t _flag_k = FK_NONE; 2178 uint32_t _flag_a = 0, _flag_b = 0; 2179 uint32_t _itail_tgt = 0; 2180 RECOMP_REGS_LOCALS 2181 RECOMP_ENTER(0x4601BB4Du); 2182 2183 L_4601BB4D: 2184 PUSH32(esp, ebx); /* 0x4601BB4D: push ebx */ 2185 SET_LO8(ebx, MEM8(esp + 0x8)); /* 0x4601BB4E: mov bl, byte ptr [esp + 8] */ 2186 PUSH32(esp, esi); /* 0x4601BB52: push esi */ 2187 esi = ecx; /* 0x4601BB53: mov esi, ecx */ 2188 /* test LO8(ebx), 2 */ /* 0x4601BB55: test bl, 2 */ 2189 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 2190 _cf = 0; 2191 _flag_k = FK_NARROW(FK_TEST, 24); 2192 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BB81; /* 0x4601BB58: je 0x4601bb81 */ 2193 L_4601BB5A: 2194 PUSH32(esp, edi); /* 0x4601BB5A: push edi */ 2195 edi = esi + (-0x4); /* 0x4601BB5B: lea edi, [esi - 4] */ 2196 PUSH32(esp, 0x4600A080u); /* 0x4601BB5E: push 0x4600a080 */ 2197 PUSH32(esp, MEM32(edi)); /* 0x4601BB63: push dword ptr [edi] */ 2198 PUSH32(esp, 0x18u); /* 0x4601BB65: push 0x18 */ 2199 PUSH32(esp, esi); /* 0x4601BB67: push esi */ 2200 RECOMP_ICALL(0x4602806Eu); /* 0x4601BB68: call 0x4602806e */ /* not lifted */ 2201 RECOMP_FLAGS_IN(); 2202 /* test LO8(ebx), 1 */ /* 0x4601BB6D: test bl, 1 */ 2203 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 2204 _cf = 0; 2205 _flag_k = FK_NARROW(FK_TEST, 24); 2206 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BB79; /* 0x4601BB70: je 0x4601bb79 */ 2207 L_4601BB72: 2208 PUSH32(esp, edi); /* 0x4601BB72: push edi */ 2209 RECOMP_ICALL(0x46002CE4u); /* 0x4601BB73: call 0x46002ce4 */ /* not lifted */ 2210 RECOMP_FLAGS_IN(); 2211 ecx = POP32_VAL(esp); /* 0x4601BB78: pop ecx */ 2212 L_4601BB79: 2213 eax = edi; /* 0x4601BB79: mov eax, edi */ 2214 edi = POP32_VAL(esp); /* 0x4601BB7B: pop edi */ 2215 L_4601BB7C: 2216 esi = POP32_VAL(esp); /* 0x4601BB7C: pop esi */ 2217 ebx = POP32_VAL(esp); /* 0x4601BB7D: pop ebx */ 2218 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601BB7E: ret 4 */ 2219 L_4601BB81: 2220 ecx = esi; /* 0x4601BB81: mov ecx, esi */ 2221 RECOMP_ICALL(0x4600A080u); /* 0x4601BB83: call 0x4600a080 */ /* not lifted */ 2222 RECOMP_FLAGS_IN(); 2223 /* test LO8(ebx), 1 */ /* 0x4601BB88: test bl, 1 */ 2224 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 2225 _cf = 0; 2226 _flag_k = FK_NARROW(FK_TEST, 24); 2227 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BB94; /* 0x4601BB8B: je 0x4601bb94 */ 2228 L_4601BB8D: 2229 PUSH32(esp, esi); /* 0x4601BB8D: push esi */ 2230 RECOMP_ICALL(0x46002CE4u); /* 0x4601BB8E: call 0x46002ce4 */ /* not lifted */ 2231 RECOMP_FLAGS_IN(); 2232 ecx = POP32_VAL(esp); /* 0x4601BB93: pop ecx */ 2233 L_4601BB94: 2234 eax = esi; /* 0x4601BB94: mov eax, esi */ 2235 RECOMP_BACKEDGE(); 2236 goto L_4601BB7C; /* 0x4601BB96: jmp 0x4601bb7c */ 2237 { RECOMP_REGS_OUT(); return; } /* end of function */ 2238 RECOMP_REGS_OUT(); 2239 } 2240 2241 void sub_4601BB98(void) { 2242 int _fpu_cmp = 0; 2243 uint32_t _cf = 0; 2244 int _df = 1; 2245 uint32_t _flag_k = FK_NONE; 2246 uint32_t _flag_a = 0, _flag_b = 0; 2247 uint32_t _itail_tgt = 0; 2248 RECOMP_REGS_LOCALS 2249 RECOMP_ENTER(0x4601BB98u); 2250 2251 L_4601BB98: 2252 PUSH32(esp, ebx); /* 0x4601BB98: push ebx */ 2253 SET_LO8(ebx, MEM8(esp + 0x8)); /* 0x4601BB99: mov bl, byte ptr [esp + 8] */ 2254 PUSH32(esp, esi); /* 0x4601BB9D: push esi */ 2255 esi = ecx; /* 0x4601BB9E: mov esi, ecx */ 2256 /* test LO8(ebx), 2 */ /* 0x4601BBA0: test bl, 2 */ 2257 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 2258 _cf = 0; 2259 _flag_k = FK_NARROW(FK_TEST, 24); 2260 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BBCC; /* 0x4601BBA3: je 0x4601bbcc */ 2261 L_4601BBA5: 2262 PUSH32(esp, edi); /* 0x4601BBA5: push edi */ 2263 edi = esi + (-0x4); /* 0x4601BBA6: lea edi, [esi - 4] */ 2264 PUSH32(esp, 0x4600A386u); /* 0x4601BBA9: push 0x4600a386 */ 2265 PUSH32(esp, MEM32(edi)); /* 0x4601BBAE: push dword ptr [edi] */ 2266 PUSH32(esp, 0x10u); /* 0x4601BBB0: push 0x10 */ 2267 PUSH32(esp, esi); /* 0x4601BBB2: push esi */ 2268 RECOMP_ICALL(0x4602806Eu); /* 0x4601BBB3: call 0x4602806e */ /* not lifted */ 2269 RECOMP_FLAGS_IN(); 2270 /* test LO8(ebx), 1 */ /* 0x4601BBB8: test bl, 1 */ 2271 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 2272 _cf = 0; 2273 _flag_k = FK_NARROW(FK_TEST, 24); 2274 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BBC4; /* 0x4601BBBB: je 0x4601bbc4 */ 2275 L_4601BBBD: 2276 PUSH32(esp, edi); /* 0x4601BBBD: push edi */ 2277 RECOMP_ICALL(0x46002CE4u); /* 0x4601BBBE: call 0x46002ce4 */ /* not lifted */ 2278 RECOMP_FLAGS_IN(); 2279 ecx = POP32_VAL(esp); /* 0x4601BBC3: pop ecx */ 2280 L_4601BBC4: 2281 eax = edi; /* 0x4601BBC4: mov eax, edi */ 2282 edi = POP32_VAL(esp); /* 0x4601BBC6: pop edi */ 2283 L_4601BBC7: 2284 esi = POP32_VAL(esp); /* 0x4601BBC7: pop esi */ 2285 ebx = POP32_VAL(esp); /* 0x4601BBC8: pop ebx */ 2286 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601BBC9: ret 4 */ 2287 L_4601BBCC: 2288 ecx = esi; /* 0x4601BBCC: mov ecx, esi */ 2289 RECOMP_ICALL(0x4600A386u); /* 0x4601BBCE: call 0x4600a386 */ /* not lifted */ 2290 RECOMP_FLAGS_IN(); 2291 /* test LO8(ebx), 1 */ /* 0x4601BBD3: test bl, 1 */ 2292 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 2293 _cf = 0; 2294 _flag_k = FK_NARROW(FK_TEST, 24); 2295 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BBDF; /* 0x4601BBD6: je 0x4601bbdf */ 2296 L_4601BBD8: 2297 PUSH32(esp, esi); /* 0x4601BBD8: push esi */ 2298 RECOMP_ICALL(0x46002CE4u); /* 0x4601BBD9: call 0x46002ce4 */ /* not lifted */ 2299 RECOMP_FLAGS_IN(); 2300 ecx = POP32_VAL(esp); /* 0x4601BBDE: pop ecx */ 2301 L_4601BBDF: 2302 eax = esi; /* 0x4601BBDF: mov eax, esi */ 2303 RECOMP_BACKEDGE(); 2304 goto L_4601BBC7; /* 0x4601BBE1: jmp 0x4601bbc7 */ 2305 { RECOMP_REGS_OUT(); return; } /* end of function */ 2306 RECOMP_REGS_OUT(); 2307 } 2308 2309 void sub_4601BBE3(void) { 2310 int _fpu_cmp = 0; 2311 uint32_t _cf = 0; 2312 int _df = 1; 2313 uint32_t _flag_k = FK_NONE; 2314 uint32_t _flag_a = 0, _flag_b = 0; 2315 uint32_t _itail_tgt = 0; 2316 RECOMP_REGS_LOCALS 2317 RECOMP_ENTER(0x4601BBE3u); 2318 2319 L_4601BBE3: 2320 PUSH32(esp, ebx); /* 0x4601BBE3: push ebx */ 2321 SET_LO8(ebx, MEM8(esp + 0x8)); /* 0x4601BBE4: mov bl, byte ptr [esp + 8] */ 2322 PUSH32(esp, esi); /* 0x4601BBE8: push esi */ 2323 esi = ecx; /* 0x4601BBE9: mov esi, ecx */ 2324 /* test LO8(ebx), 2 */ /* 0x4601BBEB: test bl, 2 */ 2325 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 2326 _cf = 0; 2327 _flag_k = FK_NARROW(FK_TEST, 24); 2328 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BC17; /* 0x4601BBEE: je 0x4601bc17 */ 2329 L_4601BBF0: 2330 PUSH32(esp, edi); /* 0x4601BBF0: push edi */ 2331 edi = esi + (-0x4); /* 0x4601BBF1: lea edi, [esi - 4] */ 2332 PUSH32(esp, 0x4600A4CEu); /* 0x4601BBF4: push 0x4600a4ce */ 2333 PUSH32(esp, MEM32(edi)); /* 0x4601BBF9: push dword ptr [edi] */ 2334 PUSH32(esp, 0x18u); /* 0x4601BBFB: push 0x18 */ 2335 PUSH32(esp, esi); /* 0x4601BBFD: push esi */ 2336 RECOMP_ICALL(0x4602806Eu); /* 0x4601BBFE: call 0x4602806e */ /* not lifted */ 2337 RECOMP_FLAGS_IN(); 2338 /* test LO8(ebx), 1 */ /* 0x4601BC03: test bl, 1 */ 2339 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 2340 _cf = 0; 2341 _flag_k = FK_NARROW(FK_TEST, 24); 2342 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BC0F; /* 0x4601BC06: je 0x4601bc0f */ 2343 L_4601BC08: 2344 PUSH32(esp, edi); /* 0x4601BC08: push edi */ 2345 RECOMP_ICALL(0x46002CE4u); /* 0x4601BC09: call 0x46002ce4 */ /* not lifted */ 2346 RECOMP_FLAGS_IN(); 2347 ecx = POP32_VAL(esp); /* 0x4601BC0E: pop ecx */ 2348 L_4601BC0F: 2349 eax = edi; /* 0x4601BC0F: mov eax, edi */ 2350 edi = POP32_VAL(esp); /* 0x4601BC11: pop edi */ 2351 L_4601BC12: 2352 esi = POP32_VAL(esp); /* 0x4601BC12: pop esi */ 2353 ebx = POP32_VAL(esp); /* 0x4601BC13: pop ebx */ 2354 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601BC14: ret 4 */ 2355 L_4601BC17: 2356 ecx = esi; /* 0x4601BC17: mov ecx, esi */ 2357 RECOMP_ICALL(0x4600A4CEu); /* 0x4601BC19: call 0x4600a4ce */ /* not lifted */ 2358 RECOMP_FLAGS_IN(); 2359 /* test LO8(ebx), 1 */ /* 0x4601BC1E: test bl, 1 */ 2360 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 2361 _cf = 0; 2362 _flag_k = FK_NARROW(FK_TEST, 24); 2363 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BC2A; /* 0x4601BC21: je 0x4601bc2a */ 2364 L_4601BC23: 2365 PUSH32(esp, esi); /* 0x4601BC23: push esi */ 2366 RECOMP_ICALL(0x46002CE4u); /* 0x4601BC24: call 0x46002ce4 */ /* not lifted */ 2367 RECOMP_FLAGS_IN(); 2368 ecx = POP32_VAL(esp); /* 0x4601BC29: pop ecx */ 2369 L_4601BC2A: 2370 eax = esi; /* 0x4601BC2A: mov eax, esi */ 2371 RECOMP_BACKEDGE(); 2372 goto L_4601BC12; /* 0x4601BC2C: jmp 0x4601bc12 */ 2373 { RECOMP_REGS_OUT(); return; } /* end of function */ 2374 RECOMP_REGS_OUT(); 2375 } 2376 2377 void sub_4601BC2E(void) { 2378 int _fpu_cmp = 0; 2379 uint32_t _cf = 0; 2380 int _df = 1; 2381 uint32_t _flag_k = FK_NONE; 2382 uint32_t _flag_a = 0, _flag_b = 0; 2383 uint32_t _itail_tgt = 0; 2384 RECOMP_REGS_LOCALS 2385 RECOMP_ENTER(0x4601BC2Eu); 2386 2387 L_4601BC2E: 2388 PUSH32(esp, ebx); /* 0x4601BC2E: push ebx */ 2389 SET_LO8(ebx, MEM8(esp + 0x8)); /* 0x4601BC2F: mov bl, byte ptr [esp + 8] */ 2390 PUSH32(esp, esi); /* 0x4601BC33: push esi */ 2391 esi = ecx; /* 0x4601BC34: mov esi, ecx */ 2392 /* test LO8(ebx), 2 */ /* 0x4601BC36: test bl, 2 */ 2393 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 2394 _cf = 0; 2395 _flag_k = FK_NARROW(FK_TEST, 24); 2396 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BC62; /* 0x4601BC39: je 0x4601bc62 */ 2397 L_4601BC3B: 2398 PUSH32(esp, edi); /* 0x4601BC3B: push edi */ 2399 edi = esi + (-0x4); /* 0x4601BC3C: lea edi, [esi - 4] */ 2400 PUSH32(esp, 0x4600A6D4u); /* 0x4601BC3F: push 0x4600a6d4 */ 2401 PUSH32(esp, MEM32(edi)); /* 0x4601BC44: push dword ptr [edi] */ 2402 PUSH32(esp, 0x18u); /* 0x4601BC46: push 0x18 */ 2403 PUSH32(esp, esi); /* 0x4601BC48: push esi */ 2404 RECOMP_ICALL(0x4602806Eu); /* 0x4601BC49: call 0x4602806e */ /* not lifted */ 2405 RECOMP_FLAGS_IN(); 2406 /* test LO8(ebx), 1 */ /* 0x4601BC4E: test bl, 1 */ 2407 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 2408 _cf = 0; 2409 _flag_k = FK_NARROW(FK_TEST, 24); 2410 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BC5A; /* 0x4601BC51: je 0x4601bc5a */ 2411 L_4601BC53: 2412 PUSH32(esp, edi); /* 0x4601BC53: push edi */ 2413 RECOMP_ICALL(0x46002CE4u); /* 0x4601BC54: call 0x46002ce4 */ /* not lifted */ 2414 RECOMP_FLAGS_IN(); 2415 ecx = POP32_VAL(esp); /* 0x4601BC59: pop ecx */ 2416 L_4601BC5A: 2417 eax = edi; /* 0x4601BC5A: mov eax, edi */ 2418 edi = POP32_VAL(esp); /* 0x4601BC5C: pop edi */ 2419 L_4601BC5D: 2420 esi = POP32_VAL(esp); /* 0x4601BC5D: pop esi */ 2421 ebx = POP32_VAL(esp); /* 0x4601BC5E: pop ebx */ 2422 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601BC5F: ret 4 */ 2423 L_4601BC62: 2424 ecx = esi; /* 0x4601BC62: mov ecx, esi */ 2425 RECOMP_ICALL(0x4600A6D4u); /* 0x4601BC64: call 0x4600a6d4 */ /* not lifted */ 2426 RECOMP_FLAGS_IN(); 2427 /* test LO8(ebx), 1 */ /* 0x4601BC69: test bl, 1 */ 2428 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 2429 _cf = 0; 2430 _flag_k = FK_NARROW(FK_TEST, 24); 2431 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BC75; /* 0x4601BC6C: je 0x4601bc75 */ 2432 L_4601BC6E: 2433 PUSH32(esp, esi); /* 0x4601BC6E: push esi */ 2434 RECOMP_ICALL(0x46002CE4u); /* 0x4601BC6F: call 0x46002ce4 */ /* not lifted */ 2435 RECOMP_FLAGS_IN(); 2436 ecx = POP32_VAL(esp); /* 0x4601BC74: pop ecx */ 2437 L_4601BC75: 2438 eax = esi; /* 0x4601BC75: mov eax, esi */ 2439 RECOMP_BACKEDGE(); 2440 goto L_4601BC5D; /* 0x4601BC77: jmp 0x4601bc5d */ 2441 { RECOMP_REGS_OUT(); return; } /* end of function */ 2442 RECOMP_REGS_OUT(); 2443 } 2444 2445 void sub_4601BC79(void) { 2446 int _fpu_cmp = 0; 2447 uint32_t _cf = 0; 2448 int _df = 1; 2449 uint32_t _flag_k = FK_NONE; 2450 uint32_t _flag_a = 0, _flag_b = 0; 2451 uint32_t _itail_tgt = 0; 2452 RECOMP_REGS_LOCALS 2453 RECOMP_ENTER(0x4601BC79u); 2454 2455 L_4601BC79: 2456 PUSH32(esp, ebx); /* 0x4601BC79: push ebx */ 2457 SET_LO8(ebx, MEM8(esp + 0x8)); /* 0x4601BC7A: mov bl, byte ptr [esp + 8] */ 2458 PUSH32(esp, esi); /* 0x4601BC7E: push esi */ 2459 esi = ecx; /* 0x4601BC7F: mov esi, ecx */ 2460 /* test LO8(ebx), 2 */ /* 0x4601BC81: test bl, 2 */ 2461 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 2462 _cf = 0; 2463 _flag_k = FK_NARROW(FK_TEST, 24); 2464 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BCAD; /* 0x4601BC84: je 0x4601bcad */ 2465 L_4601BC86: 2466 PUSH32(esp, edi); /* 0x4601BC86: push edi */ 2467 edi = esi + (-0x4); /* 0x4601BC87: lea edi, [esi - 4] */ 2468 PUSH32(esp, 0x4600A810u); /* 0x4601BC8A: push 0x4600a810 */ 2469 PUSH32(esp, MEM32(edi)); /* 0x4601BC8F: push dword ptr [edi] */ 2470 PUSH32(esp, 8); /* 0x4601BC91: push 8 */ 2471 PUSH32(esp, esi); /* 0x4601BC93: push esi */ 2472 RECOMP_ICALL(0x4602806Eu); /* 0x4601BC94: call 0x4602806e */ /* not lifted */ 2473 RECOMP_FLAGS_IN(); 2474 /* test LO8(ebx), 1 */ /* 0x4601BC99: test bl, 1 */ 2475 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 2476 _cf = 0; 2477 _flag_k = FK_NARROW(FK_TEST, 24); 2478 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BCA5; /* 0x4601BC9C: je 0x4601bca5 */ 2479 L_4601BC9E: 2480 PUSH32(esp, edi); /* 0x4601BC9E: push edi */ 2481 RECOMP_ICALL(0x46002CE4u); /* 0x4601BC9F: call 0x46002ce4 */ /* not lifted */ 2482 RECOMP_FLAGS_IN(); 2483 ecx = POP32_VAL(esp); /* 0x4601BCA4: pop ecx */ 2484 L_4601BCA5: 2485 eax = edi; /* 0x4601BCA5: mov eax, edi */ 2486 edi = POP32_VAL(esp); /* 0x4601BCA7: pop edi */ 2487 L_4601BCA8: 2488 esi = POP32_VAL(esp); /* 0x4601BCA8: pop esi */ 2489 ebx = POP32_VAL(esp); /* 0x4601BCA9: pop ebx */ 2490 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601BCAA: ret 4 */ 2491 L_4601BCAD: 2492 ecx = esi; /* 0x4601BCAD: mov ecx, esi */ 2493 RECOMP_ICALL(0x4600A810u); /* 0x4601BCAF: call 0x4600a810 */ /* not lifted */ 2494 RECOMP_FLAGS_IN(); 2495 /* test LO8(ebx), 1 */ /* 0x4601BCB4: test bl, 1 */ 2496 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 2497 _cf = 0; 2498 _flag_k = FK_NARROW(FK_TEST, 24); 2499 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BCC0; /* 0x4601BCB7: je 0x4601bcc0 */ 2500 L_4601BCB9: 2501 PUSH32(esp, esi); /* 0x4601BCB9: push esi */ 2502 RECOMP_ICALL(0x46002CE4u); /* 0x4601BCBA: call 0x46002ce4 */ /* not lifted */ 2503 RECOMP_FLAGS_IN(); 2504 ecx = POP32_VAL(esp); /* 0x4601BCBF: pop ecx */ 2505 L_4601BCC0: 2506 eax = esi; /* 0x4601BCC0: mov eax, esi */ 2507 RECOMP_BACKEDGE(); 2508 goto L_4601BCA8; /* 0x4601BCC2: jmp 0x4601bca8 */ 2509 { RECOMP_REGS_OUT(); return; } /* end of function */ 2510 RECOMP_REGS_OUT(); 2511 } 2512 2513 void sub_4601BCC4(void) { 2514 int _fpu_cmp = 0; 2515 uint32_t _cf = 0; 2516 int _df = 1; 2517 uint32_t _flag_k = FK_NONE; 2518 uint32_t _flag_a = 0, _flag_b = 0; 2519 uint32_t _itail_tgt = 0; 2520 RECOMP_REGS_LOCALS 2521 RECOMP_ENTER(0x4601BCC4u); 2522 2523 L_4601BCC4: 2524 PUSH32(esp, ebx); /* 0x4601BCC4: push ebx */ 2525 SET_LO8(ebx, MEM8(esp + 0x8)); /* 0x4601BCC5: mov bl, byte ptr [esp + 8] */ 2526 PUSH32(esp, esi); /* 0x4601BCC9: push esi */ 2527 esi = ecx; /* 0x4601BCCA: mov esi, ecx */ 2528 /* test LO8(ebx), 2 */ /* 0x4601BCCC: test bl, 2 */ 2529 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 2530 _cf = 0; 2531 _flag_k = FK_NARROW(FK_TEST, 24); 2532 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BCF8; /* 0x4601BCCF: je 0x4601bcf8 */ 2533 L_4601BCD1: 2534 PUSH32(esp, edi); /* 0x4601BCD1: push edi */ 2535 edi = esi + (-0x4); /* 0x4601BCD2: lea edi, [esi - 4] */ 2536 PUSH32(esp, 0x4600B936u); /* 0x4601BCD5: push 0x4600b936 */ 2537 PUSH32(esp, MEM32(edi)); /* 0x4601BCDA: push dword ptr [edi] */ 2538 PUSH32(esp, 8); /* 0x4601BCDC: push 8 */ 2539 PUSH32(esp, esi); /* 0x4601BCDE: push esi */ 2540 RECOMP_ICALL(0x4602806Eu); /* 0x4601BCDF: call 0x4602806e */ /* not lifted */ 2541 RECOMP_FLAGS_IN(); 2542 /* test LO8(ebx), 1 */ /* 0x4601BCE4: test bl, 1 */ 2543 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 2544 _cf = 0; 2545 _flag_k = FK_NARROW(FK_TEST, 24); 2546 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BCF0; /* 0x4601BCE7: je 0x4601bcf0 */ 2547 L_4601BCE9: 2548 PUSH32(esp, edi); /* 0x4601BCE9: push edi */ 2549 RECOMP_ICALL(0x46002CE4u); /* 0x4601BCEA: call 0x46002ce4 */ /* not lifted */ 2550 RECOMP_FLAGS_IN(); 2551 ecx = POP32_VAL(esp); /* 0x4601BCEF: pop ecx */ 2552 L_4601BCF0: 2553 eax = edi; /* 0x4601BCF0: mov eax, edi */ 2554 edi = POP32_VAL(esp); /* 0x4601BCF2: pop edi */ 2555 L_4601BCF3: 2556 esi = POP32_VAL(esp); /* 0x4601BCF3: pop esi */ 2557 ebx = POP32_VAL(esp); /* 0x4601BCF4: pop ebx */ 2558 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601BCF5: ret 4 */ 2559 L_4601BCF8: 2560 ecx = esi; /* 0x4601BCF8: mov ecx, esi */ 2561 RECOMP_ICALL(0x4600B936u); /* 0x4601BCFA: call 0x4600b936 */ /* not lifted */ 2562 RECOMP_FLAGS_IN(); 2563 /* test LO8(ebx), 1 */ /* 0x4601BCFF: test bl, 1 */ 2564 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 2565 _cf = 0; 2566 _flag_k = FK_NARROW(FK_TEST, 24); 2567 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BD0B; /* 0x4601BD02: je 0x4601bd0b */ 2568 L_4601BD04: 2569 PUSH32(esp, esi); /* 0x4601BD04: push esi */ 2570 RECOMP_ICALL(0x46002CE4u); /* 0x4601BD05: call 0x46002ce4 */ /* not lifted */ 2571 RECOMP_FLAGS_IN(); 2572 ecx = POP32_VAL(esp); /* 0x4601BD0A: pop ecx */ 2573 L_4601BD0B: 2574 eax = esi; /* 0x4601BD0B: mov eax, esi */ 2575 RECOMP_BACKEDGE(); 2576 goto L_4601BCF3; /* 0x4601BD0D: jmp 0x4601bcf3 */ 2577 { RECOMP_REGS_OUT(); return; } /* end of function */ 2578 RECOMP_REGS_OUT(); 2579 } 2580 2581 void sub_4601BD0F(void) { 2582 int _fpu_cmp = 0; 2583 uint32_t _cf = 0; 2584 int _df = 1; 2585 uint32_t _flag_k = FK_NONE; 2586 uint32_t _flag_a = 0, _flag_b = 0; 2587 uint32_t _itail_tgt = 0; 2588 RECOMP_REGS_LOCALS 2589 RECOMP_ENTER(0x4601BD0Fu); 2590 2591 L_4601BD0F: 2592 PUSH32(esp, ebx); /* 0x4601BD0F: push ebx */ 2593 SET_LO8(ebx, MEM8(esp + 0x8)); /* 0x4601BD10: mov bl, byte ptr [esp + 8] */ 2594 PUSH32(esp, esi); /* 0x4601BD14: push esi */ 2595 esi = ecx; /* 0x4601BD15: mov esi, ecx */ 2596 /* test LO8(ebx), 2 */ /* 0x4601BD17: test bl, 2 */ 2597 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 2598 _cf = 0; 2599 _flag_k = FK_NARROW(FK_TEST, 24); 2600 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BD43; /* 0x4601BD1A: je 0x4601bd43 */ 2601 L_4601BD1C: 2602 PUSH32(esp, edi); /* 0x4601BD1C: push edi */ 2603 edi = esi + (-0x4); /* 0x4601BD1D: lea edi, [esi - 4] */ 2604 PUSH32(esp, 0x4600CAF9u); /* 0x4601BD20: push 0x4600caf9 */ 2605 PUSH32(esp, MEM32(edi)); /* 0x4601BD25: push dword ptr [edi] */ 2606 PUSH32(esp, 8); /* 0x4601BD27: push 8 */ 2607 PUSH32(esp, esi); /* 0x4601BD29: push esi */ 2608 RECOMP_ICALL(0x4602806Eu); /* 0x4601BD2A: call 0x4602806e */ /* not lifted */ 2609 RECOMP_FLAGS_IN(); 2610 /* test LO8(ebx), 1 */ /* 0x4601BD2F: test bl, 1 */ 2611 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 2612 _cf = 0; 2613 _flag_k = FK_NARROW(FK_TEST, 24); 2614 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BD3B; /* 0x4601BD32: je 0x4601bd3b */ 2615 L_4601BD34: 2616 PUSH32(esp, edi); /* 0x4601BD34: push edi */ 2617 RECOMP_ICALL(0x46002CE4u); /* 0x4601BD35: call 0x46002ce4 */ /* not lifted */ 2618 RECOMP_FLAGS_IN(); 2619 ecx = POP32_VAL(esp); /* 0x4601BD3A: pop ecx */ 2620 L_4601BD3B: 2621 eax = edi; /* 0x4601BD3B: mov eax, edi */ 2622 edi = POP32_VAL(esp); /* 0x4601BD3D: pop edi */ 2623 L_4601BD3E: 2624 esi = POP32_VAL(esp); /* 0x4601BD3E: pop esi */ 2625 ebx = POP32_VAL(esp); /* 0x4601BD3F: pop ebx */ 2626 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601BD40: ret 4 */ 2627 L_4601BD43: 2628 ecx = esi; /* 0x4601BD43: mov ecx, esi */ 2629 RECOMP_ICALL(0x4600CAF9u); /* 0x4601BD45: call 0x4600caf9 */ /* not lifted */ 2630 RECOMP_FLAGS_IN(); 2631 /* test LO8(ebx), 1 */ /* 0x4601BD4A: test bl, 1 */ 2632 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 2633 _cf = 0; 2634 _flag_k = FK_NARROW(FK_TEST, 24); 2635 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BD56; /* 0x4601BD4D: je 0x4601bd56 */ 2636 L_4601BD4F: 2637 PUSH32(esp, esi); /* 0x4601BD4F: push esi */ 2638 RECOMP_ICALL(0x46002CE4u); /* 0x4601BD50: call 0x46002ce4 */ /* not lifted */ 2639 RECOMP_FLAGS_IN(); 2640 ecx = POP32_VAL(esp); /* 0x4601BD55: pop ecx */ 2641 L_4601BD56: 2642 eax = esi; /* 0x4601BD56: mov eax, esi */ 2643 RECOMP_BACKEDGE(); 2644 goto L_4601BD3E; /* 0x4601BD58: jmp 0x4601bd3e */ 2645 { RECOMP_REGS_OUT(); return; } /* end of function */ 2646 RECOMP_REGS_OUT(); 2647 } 2648 2649 void sub_4601BD5A(void) { 2650 int _fpu_cmp = 0; 2651 uint32_t _cf = 0; 2652 int _df = 1; 2653 uint32_t _flag_k = FK_NONE; 2654 uint32_t _flag_a = 0, _flag_b = 0; 2655 uint32_t _itail_tgt = 0; 2656 RECOMP_REGS_LOCALS 2657 RECOMP_ENTER(0x4601BD5Au); 2658 2659 L_4601BD5A: 2660 PUSH32(esp, ebx); /* 0x4601BD5A: push ebx */ 2661 SET_LO8(ebx, MEM8(esp + 0x8)); /* 0x4601BD5B: mov bl, byte ptr [esp + 8] */ 2662 PUSH32(esp, esi); /* 0x4601BD5F: push esi */ 2663 esi = ecx; /* 0x4601BD60: mov esi, ecx */ 2664 /* test LO8(ebx), 2 */ /* 0x4601BD62: test bl, 2 */ 2665 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 2666 _cf = 0; 2667 _flag_k = FK_NARROW(FK_TEST, 24); 2668 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BD8E; /* 0x4601BD65: je 0x4601bd8e */ 2669 L_4601BD67: 2670 PUSH32(esp, edi); /* 0x4601BD67: push edi */ 2671 edi = esi + (-0x4); /* 0x4601BD68: lea edi, [esi - 4] */ 2672 PUSH32(esp, 0x4600D788u); /* 0x4601BD6B: push 0x4600d788 */ 2673 PUSH32(esp, MEM32(edi)); /* 0x4601BD70: push dword ptr [edi] */ 2674 PUSH32(esp, 8); /* 0x4601BD72: push 8 */ 2675 PUSH32(esp, esi); /* 0x4601BD74: push esi */ 2676 RECOMP_ICALL(0x4602806Eu); /* 0x4601BD75: call 0x4602806e */ /* not lifted */ 2677 RECOMP_FLAGS_IN(); 2678 /* test LO8(ebx), 1 */ /* 0x4601BD7A: test bl, 1 */ 2679 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 2680 _cf = 0; 2681 _flag_k = FK_NARROW(FK_TEST, 24); 2682 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BD86; /* 0x4601BD7D: je 0x4601bd86 */ 2683 L_4601BD7F: 2684 PUSH32(esp, edi); /* 0x4601BD7F: push edi */ 2685 RECOMP_ICALL(0x46002CE4u); /* 0x4601BD80: call 0x46002ce4 */ /* not lifted */ 2686 RECOMP_FLAGS_IN(); 2687 ecx = POP32_VAL(esp); /* 0x4601BD85: pop ecx */ 2688 L_4601BD86: 2689 eax = edi; /* 0x4601BD86: mov eax, edi */ 2690 edi = POP32_VAL(esp); /* 0x4601BD88: pop edi */ 2691 L_4601BD89: 2692 esi = POP32_VAL(esp); /* 0x4601BD89: pop esi */ 2693 ebx = POP32_VAL(esp); /* 0x4601BD8A: pop ebx */ 2694 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601BD8B: ret 4 */ 2695 L_4601BD8E: 2696 ecx = esi; /* 0x4601BD8E: mov ecx, esi */ 2697 RECOMP_ICALL(0x4600D788u); /* 0x4601BD90: call 0x4600d788 */ /* not lifted */ 2698 RECOMP_FLAGS_IN(); 2699 /* test LO8(ebx), 1 */ /* 0x4601BD95: test bl, 1 */ 2700 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 2701 _cf = 0; 2702 _flag_k = FK_NARROW(FK_TEST, 24); 2703 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BDA1; /* 0x4601BD98: je 0x4601bda1 */ 2704 L_4601BD9A: 2705 PUSH32(esp, esi); /* 0x4601BD9A: push esi */ 2706 RECOMP_ICALL(0x46002CE4u); /* 0x4601BD9B: call 0x46002ce4 */ /* not lifted */ 2707 RECOMP_FLAGS_IN(); 2708 ecx = POP32_VAL(esp); /* 0x4601BDA0: pop ecx */ 2709 L_4601BDA1: 2710 eax = esi; /* 0x4601BDA1: mov eax, esi */ 2711 RECOMP_BACKEDGE(); 2712 goto L_4601BD89; /* 0x4601BDA3: jmp 0x4601bd89 */ 2713 { RECOMP_REGS_OUT(); return; } /* end of function */ 2714 RECOMP_REGS_OUT(); 2715 } 2716 2717 void sub_4601BDA5(void) { 2718 int _fpu_cmp = 0; 2719 uint32_t _cf = 0; 2720 int _df = 1; 2721 uint32_t _flag_k = FK_NONE; 2722 uint32_t _flag_a = 0, _flag_b = 0; 2723 uint32_t _itail_tgt = 0; 2724 RECOMP_REGS_LOCALS 2725 RECOMP_ENTER(0x4601BDA5u); 2726 2727 L_4601BDA5: 2728 PUSH32(esp, ebx); /* 0x4601BDA5: push ebx */ 2729 SET_LO8(ebx, MEM8(esp + 0x8)); /* 0x4601BDA6: mov bl, byte ptr [esp + 8] */ 2730 PUSH32(esp, esi); /* 0x4601BDAA: push esi */ 2731 esi = ecx; /* 0x4601BDAB: mov esi, ecx */ 2732 /* test LO8(ebx), 2 */ /* 0x4601BDAD: test bl, 2 */ 2733 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 2734 _cf = 0; 2735 _flag_k = FK_NARROW(FK_TEST, 24); 2736 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BDD9; /* 0x4601BDB0: je 0x4601bdd9 */ 2737 L_4601BDB2: 2738 PUSH32(esp, edi); /* 0x4601BDB2: push edi */ 2739 edi = esi + (-0x4); /* 0x4601BDB3: lea edi, [esi - 4] */ 2740 PUSH32(esp, 0x46002DC1u); /* 0x4601BDB6: push 0x46002dc1 */ 2741 PUSH32(esp, MEM32(edi)); /* 0x4601BDBB: push dword ptr [edi] */ 2742 PUSH32(esp, 0x34u); /* 0x4601BDBD: push 0x34 */ 2743 PUSH32(esp, esi); /* 0x4601BDBF: push esi */ 2744 RECOMP_ICALL(0x4602806Eu); /* 0x4601BDC0: call 0x4602806e */ /* not lifted */ 2745 RECOMP_FLAGS_IN(); 2746 /* test LO8(ebx), 1 */ /* 0x4601BDC5: test bl, 1 */ 2747 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 2748 _cf = 0; 2749 _flag_k = FK_NARROW(FK_TEST, 24); 2750 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BDD1; /* 0x4601BDC8: je 0x4601bdd1 */ 2751 L_4601BDCA: 2752 PUSH32(esp, edi); /* 0x4601BDCA: push edi */ 2753 RECOMP_ICALL(0x46002CE4u); /* 0x4601BDCB: call 0x46002ce4 */ /* not lifted */ 2754 RECOMP_FLAGS_IN(); 2755 ecx = POP32_VAL(esp); /* 0x4601BDD0: pop ecx */ 2756 L_4601BDD1: 2757 eax = edi; /* 0x4601BDD1: mov eax, edi */ 2758 edi = POP32_VAL(esp); /* 0x4601BDD3: pop edi */ 2759 L_4601BDD4: 2760 esi = POP32_VAL(esp); /* 0x4601BDD4: pop esi */ 2761 ebx = POP32_VAL(esp); /* 0x4601BDD5: pop ebx */ 2762 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601BDD6: ret 4 */ 2763 L_4601BDD9: 2764 ecx = esi; /* 0x4601BDD9: mov ecx, esi */ 2765 RECOMP_ICALL(0x46002DC1u); /* 0x4601BDDB: call 0x46002dc1 */ /* not lifted */ 2766 RECOMP_FLAGS_IN(); 2767 /* test LO8(ebx), 1 */ /* 0x4601BDE0: test bl, 1 */ 2768 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 2769 _cf = 0; 2770 _flag_k = FK_NARROW(FK_TEST, 24); 2771 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BDEC; /* 0x4601BDE3: je 0x4601bdec */ 2772 L_4601BDE5: 2773 PUSH32(esp, esi); /* 0x4601BDE5: push esi */ 2774 RECOMP_ICALL(0x46002CE4u); /* 0x4601BDE6: call 0x46002ce4 */ /* not lifted */ 2775 RECOMP_FLAGS_IN(); 2776 ecx = POP32_VAL(esp); /* 0x4601BDEB: pop ecx */ 2777 L_4601BDEC: 2778 eax = esi; /* 0x4601BDEC: mov eax, esi */ 2779 RECOMP_BACKEDGE(); 2780 goto L_4601BDD4; /* 0x4601BDEE: jmp 0x4601bdd4 */ 2781 { RECOMP_REGS_OUT(); return; } /* end of function */ 2782 RECOMP_REGS_OUT(); 2783 } 2784 2785 void sub_4601BDF0(void) { 2786 int _fpu_cmp = 0; 2787 uint32_t _cf = 0; 2788 int _df = 1; 2789 uint32_t _flag_k = FK_NONE; 2790 uint32_t _flag_a = 0, _flag_b = 0; 2791 uint32_t _itail_tgt = 0; 2792 RECOMP_REGS_LOCALS 2793 RECOMP_ENTER(0x4601BDF0u); 2794 2795 L_4601BDF0: 2796 PUSH32(esp, ebx); /* 0x4601BDF0: push ebx */ 2797 SET_LO8(ebx, MEM8(esp + 0x8)); /* 0x4601BDF1: mov bl, byte ptr [esp + 8] */ 2798 PUSH32(esp, esi); /* 0x4601BDF5: push esi */ 2799 esi = ecx; /* 0x4601BDF6: mov esi, ecx */ 2800 /* test LO8(ebx), 2 */ /* 0x4601BDF8: test bl, 2 */ 2801 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 2802 _cf = 0; 2803 _flag_k = FK_NARROW(FK_TEST, 24); 2804 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BE24; /* 0x4601BDFB: je 0x4601be24 */ 2805 L_4601BDFD: 2806 PUSH32(esp, edi); /* 0x4601BDFD: push edi */ 2807 edi = esi + (-0x4); /* 0x4601BDFE: lea edi, [esi - 4] */ 2808 PUSH32(esp, 0x46002DA4u); /* 0x4601BE01: push 0x46002da4 */ 2809 PUSH32(esp, MEM32(edi)); /* 0x4601BE06: push dword ptr [edi] */ 2810 PUSH32(esp, 0x34u); /* 0x4601BE08: push 0x34 */ 2811 PUSH32(esp, esi); /* 0x4601BE0A: push esi */ 2812 RECOMP_ICALL(0x4602806Eu); /* 0x4601BE0B: call 0x4602806e */ /* not lifted */ 2813 RECOMP_FLAGS_IN(); 2814 /* test LO8(ebx), 1 */ /* 0x4601BE10: test bl, 1 */ 2815 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 2816 _cf = 0; 2817 _flag_k = FK_NARROW(FK_TEST, 24); 2818 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BE1C; /* 0x4601BE13: je 0x4601be1c */ 2819 L_4601BE15: 2820 PUSH32(esp, edi); /* 0x4601BE15: push edi */ 2821 RECOMP_ICALL(0x46002CE4u); /* 0x4601BE16: call 0x46002ce4 */ /* not lifted */ 2822 RECOMP_FLAGS_IN(); 2823 ecx = POP32_VAL(esp); /* 0x4601BE1B: pop ecx */ 2824 L_4601BE1C: 2825 eax = edi; /* 0x4601BE1C: mov eax, edi */ 2826 edi = POP32_VAL(esp); /* 0x4601BE1E: pop edi */ 2827 L_4601BE1F: 2828 esi = POP32_VAL(esp); /* 0x4601BE1F: pop esi */ 2829 ebx = POP32_VAL(esp); /* 0x4601BE20: pop ebx */ 2830 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601BE21: ret 4 */ 2831 L_4601BE24: 2832 ecx = esi; /* 0x4601BE24: mov ecx, esi */ 2833 RECOMP_ICALL(0x46002DA4u); /* 0x4601BE26: call 0x46002da4 */ /* not lifted */ 2834 RECOMP_FLAGS_IN(); 2835 /* test LO8(ebx), 1 */ /* 0x4601BE2B: test bl, 1 */ 2836 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 2837 _cf = 0; 2838 _flag_k = FK_NARROW(FK_TEST, 24); 2839 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BE37; /* 0x4601BE2E: je 0x4601be37 */ 2840 L_4601BE30: 2841 PUSH32(esp, esi); /* 0x4601BE30: push esi */ 2842 RECOMP_ICALL(0x46002CE4u); /* 0x4601BE31: call 0x46002ce4 */ /* not lifted */ 2843 RECOMP_FLAGS_IN(); 2844 ecx = POP32_VAL(esp); /* 0x4601BE36: pop ecx */ 2845 L_4601BE37: 2846 eax = esi; /* 0x4601BE37: mov eax, esi */ 2847 RECOMP_BACKEDGE(); 2848 goto L_4601BE1F; /* 0x4601BE39: jmp 0x4601be1f */ 2849 { RECOMP_REGS_OUT(); return; } /* end of function */ 2850 RECOMP_REGS_OUT(); 2851 } 2852 2853 void sub_4601BE3B(void) { 2854 int _fpu_cmp = 0; 2855 uint32_t _cf = 0; 2856 int _df = 1; 2857 uint32_t _flag_k = FK_NONE; 2858 uint32_t _flag_a = 0, _flag_b = 0; 2859 uint32_t _itail_tgt = 0; 2860 RECOMP_REGS_LOCALS 2861 RECOMP_ENTER(0x4601BE3Bu); 2862 2863 L_4601BE3B: 2864 PUSH32(esp, ebx); /* 0x4601BE3B: push ebx */ 2865 SET_LO8(ebx, MEM8(esp + 0x8)); /* 0x4601BE3C: mov bl, byte ptr [esp + 8] */ 2866 PUSH32(esp, esi); /* 0x4601BE40: push esi */ 2867 esi = ecx; /* 0x4601BE41: mov esi, ecx */ 2868 /* test LO8(ebx), 2 */ /* 0x4601BE43: test bl, 2 */ 2869 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 2870 _cf = 0; 2871 _flag_k = FK_NARROW(FK_TEST, 24); 2872 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BE6F; /* 0x4601BE46: je 0x4601be6f */ 2873 L_4601BE48: 2874 PUSH32(esp, edi); /* 0x4601BE48: push edi */ 2875 edi = esi + (-0x4); /* 0x4601BE49: lea edi, [esi - 4] */ 2876 PUSH32(esp, 0x46006CEEu); /* 0x4601BE4C: push 0x46006cee */ 2877 PUSH32(esp, MEM32(edi)); /* 0x4601BE51: push dword ptr [edi] */ 2878 PUSH32(esp, 0x2Cu); /* 0x4601BE53: push 0x2c */ 2879 PUSH32(esp, esi); /* 0x4601BE55: push esi */ 2880 RECOMP_ICALL(0x4602806Eu); /* 0x4601BE56: call 0x4602806e */ /* not lifted */ 2881 RECOMP_FLAGS_IN(); 2882 /* test LO8(ebx), 1 */ /* 0x4601BE5B: test bl, 1 */ 2883 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 2884 _cf = 0; 2885 _flag_k = FK_NARROW(FK_TEST, 24); 2886 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BE67; /* 0x4601BE5E: je 0x4601be67 */ 2887 L_4601BE60: 2888 PUSH32(esp, edi); /* 0x4601BE60: push edi */ 2889 RECOMP_ICALL(0x46002CE4u); /* 0x4601BE61: call 0x46002ce4 */ /* not lifted */ 2890 RECOMP_FLAGS_IN(); 2891 ecx = POP32_VAL(esp); /* 0x4601BE66: pop ecx */ 2892 L_4601BE67: 2893 eax = edi; /* 0x4601BE67: mov eax, edi */ 2894 edi = POP32_VAL(esp); /* 0x4601BE69: pop edi */ 2895 L_4601BE6A: 2896 esi = POP32_VAL(esp); /* 0x4601BE6A: pop esi */ 2897 ebx = POP32_VAL(esp); /* 0x4601BE6B: pop ebx */ 2898 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601BE6C: ret 4 */ 2899 L_4601BE6F: 2900 ecx = esi; /* 0x4601BE6F: mov ecx, esi */ 2901 RECOMP_ICALL(0x46006CEEu); /* 0x4601BE71: call 0x46006cee */ /* not lifted */ 2902 RECOMP_FLAGS_IN(); 2903 /* test LO8(ebx), 1 */ /* 0x4601BE76: test bl, 1 */ 2904 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 2905 _cf = 0; 2906 _flag_k = FK_NARROW(FK_TEST, 24); 2907 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BE82; /* 0x4601BE79: je 0x4601be82 */ 2908 L_4601BE7B: 2909 PUSH32(esp, esi); /* 0x4601BE7B: push esi */ 2910 RECOMP_ICALL(0x46002CE4u); /* 0x4601BE7C: call 0x46002ce4 */ /* not lifted */ 2911 RECOMP_FLAGS_IN(); 2912 ecx = POP32_VAL(esp); /* 0x4601BE81: pop ecx */ 2913 L_4601BE82: 2914 eax = esi; /* 0x4601BE82: mov eax, esi */ 2915 RECOMP_BACKEDGE(); 2916 goto L_4601BE6A; /* 0x4601BE84: jmp 0x4601be6a */ 2917 { RECOMP_REGS_OUT(); return; } /* end of function */ 2918 RECOMP_REGS_OUT(); 2919 } 2920 2921 void sub_4601BE86(void) { 2922 int _fpu_cmp = 0; 2923 uint32_t _cf = 0; 2924 int _df = 1; 2925 uint32_t _flag_k = FK_NONE; 2926 uint32_t _flag_a = 0, _flag_b = 0; 2927 uint32_t _itail_tgt = 0; 2928 RECOMP_REGS_LOCALS 2929 RECOMP_ENTER(0x4601BE86u); 2930 2931 L_4601BE86: 2932 PUSH32(esp, ebx); /* 0x4601BE86: push ebx */ 2933 SET_LO8(ebx, MEM8(esp + 0x8)); /* 0x4601BE87: mov bl, byte ptr [esp + 8] */ 2934 PUSH32(esp, esi); /* 0x4601BE8B: push esi */ 2935 esi = ecx; /* 0x4601BE8C: mov esi, ecx */ 2936 /* test LO8(ebx), 2 */ /* 0x4601BE8E: test bl, 2 */ 2937 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 2938 _cf = 0; 2939 _flag_k = FK_NARROW(FK_TEST, 24); 2940 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BEBA; /* 0x4601BE91: je 0x4601beba */ 2941 L_4601BE93: 2942 PUSH32(esp, edi); /* 0x4601BE93: push edi */ 2943 edi = esi + (-0x4); /* 0x4601BE94: lea edi, [esi - 4] */ 2944 PUSH32(esp, 0x46006D34u); /* 0x4601BE97: push 0x46006d34 */ 2945 PUSH32(esp, MEM32(edi)); /* 0x4601BE9C: push dword ptr [edi] */ 2946 PUSH32(esp, 0x2Cu); /* 0x4601BE9E: push 0x2c */ 2947 PUSH32(esp, esi); /* 0x4601BEA0: push esi */ 2948 RECOMP_ICALL(0x4602806Eu); /* 0x4601BEA1: call 0x4602806e */ /* not lifted */ 2949 RECOMP_FLAGS_IN(); 2950 /* test LO8(ebx), 1 */ /* 0x4601BEA6: test bl, 1 */ 2951 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 2952 _cf = 0; 2953 _flag_k = FK_NARROW(FK_TEST, 24); 2954 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BEB2; /* 0x4601BEA9: je 0x4601beb2 */ 2955 L_4601BEAB: 2956 PUSH32(esp, edi); /* 0x4601BEAB: push edi */ 2957 RECOMP_ICALL(0x46002CE4u); /* 0x4601BEAC: call 0x46002ce4 */ /* not lifted */ 2958 RECOMP_FLAGS_IN(); 2959 ecx = POP32_VAL(esp); /* 0x4601BEB1: pop ecx */ 2960 L_4601BEB2: 2961 eax = edi; /* 0x4601BEB2: mov eax, edi */ 2962 edi = POP32_VAL(esp); /* 0x4601BEB4: pop edi */ 2963 L_4601BEB5: 2964 esi = POP32_VAL(esp); /* 0x4601BEB5: pop esi */ 2965 ebx = POP32_VAL(esp); /* 0x4601BEB6: pop ebx */ 2966 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601BEB7: ret 4 */ 2967 L_4601BEBA: 2968 ecx = esi; /* 0x4601BEBA: mov ecx, esi */ 2969 RECOMP_ICALL(0x46006D34u); /* 0x4601BEBC: call 0x46006d34 */ /* not lifted */ 2970 RECOMP_FLAGS_IN(); 2971 /* test LO8(ebx), 1 */ /* 0x4601BEC1: test bl, 1 */ 2972 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 2973 _cf = 0; 2974 _flag_k = FK_NARROW(FK_TEST, 24); 2975 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BECD; /* 0x4601BEC4: je 0x4601becd */ 2976 L_4601BEC6: 2977 PUSH32(esp, esi); /* 0x4601BEC6: push esi */ 2978 RECOMP_ICALL(0x46002CE4u); /* 0x4601BEC7: call 0x46002ce4 */ /* not lifted */ 2979 RECOMP_FLAGS_IN(); 2980 ecx = POP32_VAL(esp); /* 0x4601BECC: pop ecx */ 2981 L_4601BECD: 2982 eax = esi; /* 0x4601BECD: mov eax, esi */ 2983 RECOMP_BACKEDGE(); 2984 goto L_4601BEB5; /* 0x4601BECF: jmp 0x4601beb5 */ 2985 { RECOMP_REGS_OUT(); return; } /* end of function */ 2986 RECOMP_REGS_OUT(); 2987 } 2988 2989 void sub_4601BED1(void) { 2990 int _fpu_cmp = 0; 2991 uint32_t _cf = 0; 2992 int _df = 1; 2993 uint32_t _flag_k = FK_NONE; 2994 uint32_t _flag_a = 0, _flag_b = 0; 2995 uint32_t _itail_tgt = 0; 2996 RECOMP_REGS_LOCALS 2997 RECOMP_ENTER(0x4601BED1u); 2998 2999 L_4601BED1: 3000 PUSH32(esp, ebx); /* 0x4601BED1: push ebx */ 3001 SET_LO8(ebx, MEM8(esp + 0x8)); /* 0x4601BED2: mov bl, byte ptr [esp + 8] */ 3002 PUSH32(esp, esi); /* 0x4601BED6: push esi */ 3003 esi = ecx; /* 0x4601BED7: mov esi, ecx */ 3004 /* test LO8(ebx), 2 */ /* 0x4601BED9: test bl, 2 */ 3005 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 3006 _cf = 0; 3007 _flag_k = FK_NARROW(FK_TEST, 24); 3008 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BF05; /* 0x4601BEDC: je 0x4601bf05 */ 3009 L_4601BEDE: 3010 PUSH32(esp, edi); /* 0x4601BEDE: push edi */ 3011 edi = esi + (-0x4); /* 0x4601BEDF: lea edi, [esi - 4] */ 3012 PUSH32(esp, 0x46006CEEu); /* 0x4601BEE2: push 0x46006cee */ 3013 PUSH32(esp, MEM32(edi)); /* 0x4601BEE7: push dword ptr [edi] */ 3014 PUSH32(esp, 0x2Cu); /* 0x4601BEE9: push 0x2c */ 3015 PUSH32(esp, esi); /* 0x4601BEEB: push esi */ 3016 RECOMP_ICALL(0x4602806Eu); /* 0x4601BEEC: call 0x4602806e */ /* not lifted */ 3017 RECOMP_FLAGS_IN(); 3018 /* test LO8(ebx), 1 */ /* 0x4601BEF1: test bl, 1 */ 3019 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3020 _cf = 0; 3021 _flag_k = FK_NARROW(FK_TEST, 24); 3022 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BEFD; /* 0x4601BEF4: je 0x4601befd */ 3023 L_4601BEF6: 3024 PUSH32(esp, edi); /* 0x4601BEF6: push edi */ 3025 RECOMP_ICALL(0x46002CE4u); /* 0x4601BEF7: call 0x46002ce4 */ /* not lifted */ 3026 RECOMP_FLAGS_IN(); 3027 ecx = POP32_VAL(esp); /* 0x4601BEFC: pop ecx */ 3028 L_4601BEFD: 3029 eax = edi; /* 0x4601BEFD: mov eax, edi */ 3030 edi = POP32_VAL(esp); /* 0x4601BEFF: pop edi */ 3031 L_4601BF00: 3032 esi = POP32_VAL(esp); /* 0x4601BF00: pop esi */ 3033 ebx = POP32_VAL(esp); /* 0x4601BF01: pop ebx */ 3034 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601BF02: ret 4 */ 3035 L_4601BF05: 3036 ecx = esi; /* 0x4601BF05: mov ecx, esi */ 3037 RECOMP_ICALL(0x46006CEEu); /* 0x4601BF07: call 0x46006cee */ /* not lifted */ 3038 RECOMP_FLAGS_IN(); 3039 /* test LO8(ebx), 1 */ /* 0x4601BF0C: test bl, 1 */ 3040 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3041 _cf = 0; 3042 _flag_k = FK_NARROW(FK_TEST, 24); 3043 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BF18; /* 0x4601BF0F: je 0x4601bf18 */ 3044 L_4601BF11: 3045 PUSH32(esp, esi); /* 0x4601BF11: push esi */ 3046 RECOMP_ICALL(0x46002CE4u); /* 0x4601BF12: call 0x46002ce4 */ /* not lifted */ 3047 RECOMP_FLAGS_IN(); 3048 ecx = POP32_VAL(esp); /* 0x4601BF17: pop ecx */ 3049 L_4601BF18: 3050 eax = esi; /* 0x4601BF18: mov eax, esi */ 3051 RECOMP_BACKEDGE(); 3052 goto L_4601BF00; /* 0x4601BF1A: jmp 0x4601bf00 */ 3053 { RECOMP_REGS_OUT(); return; } /* end of function */ 3054 RECOMP_REGS_OUT(); 3055 } 3056 3057 void sub_4601BF1C(void) { 3058 int _fpu_cmp = 0; 3059 uint32_t _cf = 0; 3060 int _df = 1; 3061 uint32_t _flag_k = FK_NONE; 3062 uint32_t _flag_a = 0, _flag_b = 0; 3063 uint32_t _itail_tgt = 0; 3064 RECOMP_REGS_LOCALS 3065 RECOMP_ENTER(0x4601BF1Cu); 3066 3067 L_4601BF1C: 3068 PUSH32(esp, ebx); /* 0x4601BF1C: push ebx */ 3069 SET_LO8(ebx, MEM8(esp + 0x8)); /* 0x4601BF1D: mov bl, byte ptr [esp + 8] */ 3070 PUSH32(esp, esi); /* 0x4601BF21: push esi */ 3071 esi = ecx; /* 0x4601BF22: mov esi, ecx */ 3072 /* test LO8(ebx), 2 */ /* 0x4601BF24: test bl, 2 */ 3073 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 3074 _cf = 0; 3075 _flag_k = FK_NARROW(FK_TEST, 24); 3076 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BF50; /* 0x4601BF27: je 0x4601bf50 */ 3077 L_4601BF29: 3078 PUSH32(esp, edi); /* 0x4601BF29: push edi */ 3079 edi = esi + (-0x4); /* 0x4601BF2A: lea edi, [esi - 4] */ 3080 PUSH32(esp, 0x46006D2Au); /* 0x4601BF2D: push 0x46006d2a */ 3081 PUSH32(esp, MEM32(edi)); /* 0x4601BF32: push dword ptr [edi] */ 3082 PUSH32(esp, 0x2Cu); /* 0x4601BF34: push 0x2c */ 3083 PUSH32(esp, esi); /* 0x4601BF36: push esi */ 3084 RECOMP_ICALL(0x4602806Eu); /* 0x4601BF37: call 0x4602806e */ /* not lifted */ 3085 RECOMP_FLAGS_IN(); 3086 /* test LO8(ebx), 1 */ /* 0x4601BF3C: test bl, 1 */ 3087 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3088 _cf = 0; 3089 _flag_k = FK_NARROW(FK_TEST, 24); 3090 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BF48; /* 0x4601BF3F: je 0x4601bf48 */ 3091 L_4601BF41: 3092 PUSH32(esp, edi); /* 0x4601BF41: push edi */ 3093 RECOMP_ICALL(0x46002CE4u); /* 0x4601BF42: call 0x46002ce4 */ /* not lifted */ 3094 RECOMP_FLAGS_IN(); 3095 ecx = POP32_VAL(esp); /* 0x4601BF47: pop ecx */ 3096 L_4601BF48: 3097 eax = edi; /* 0x4601BF48: mov eax, edi */ 3098 edi = POP32_VAL(esp); /* 0x4601BF4A: pop edi */ 3099 L_4601BF4B: 3100 esi = POP32_VAL(esp); /* 0x4601BF4B: pop esi */ 3101 ebx = POP32_VAL(esp); /* 0x4601BF4C: pop ebx */ 3102 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601BF4D: ret 4 */ 3103 L_4601BF50: 3104 ecx = esi; /* 0x4601BF50: mov ecx, esi */ 3105 RECOMP_ICALL(0x46006CEEu); /* 0x4601BF52: call 0x46006cee */ /* not lifted */ 3106 RECOMP_FLAGS_IN(); 3107 /* test LO8(ebx), 1 */ /* 0x4601BF57: test bl, 1 */ 3108 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3109 _cf = 0; 3110 _flag_k = FK_NARROW(FK_TEST, 24); 3111 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BF63; /* 0x4601BF5A: je 0x4601bf63 */ 3112 L_4601BF5C: 3113 PUSH32(esp, esi); /* 0x4601BF5C: push esi */ 3114 RECOMP_ICALL(0x46002CE4u); /* 0x4601BF5D: call 0x46002ce4 */ /* not lifted */ 3115 RECOMP_FLAGS_IN(); 3116 ecx = POP32_VAL(esp); /* 0x4601BF62: pop ecx */ 3117 L_4601BF63: 3118 eax = esi; /* 0x4601BF63: mov eax, esi */ 3119 RECOMP_BACKEDGE(); 3120 goto L_4601BF4B; /* 0x4601BF65: jmp 0x4601bf4b */ 3121 { RECOMP_REGS_OUT(); return; } /* end of function */ 3122 RECOMP_REGS_OUT(); 3123 } 3124 3125 void sub_4601BF67(void) { 3126 int _fpu_cmp = 0; 3127 uint32_t _cf = 0; 3128 int _df = 1; 3129 uint32_t _flag_k = FK_NONE; 3130 uint32_t _flag_a = 0, _flag_b = 0; 3131 uint32_t _itail_tgt = 0; 3132 RECOMP_REGS_LOCALS 3133 RECOMP_ENTER(0x4601BF67u); 3134 3135 L_4601BF67: 3136 PUSH32(esp, ebx); /* 0x4601BF67: push ebx */ 3137 SET_LO8(ebx, MEM8(esp + 0x8)); /* 0x4601BF68: mov bl, byte ptr [esp + 8] */ 3138 PUSH32(esp, esi); /* 0x4601BF6C: push esi */ 3139 esi = ecx; /* 0x4601BF6D: mov esi, ecx */ 3140 /* test LO8(ebx), 2 */ /* 0x4601BF6F: test bl, 2 */ 3141 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 3142 _cf = 0; 3143 _flag_k = FK_NARROW(FK_TEST, 24); 3144 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BF9B; /* 0x4601BF72: je 0x4601bf9b */ 3145 L_4601BF74: 3146 PUSH32(esp, edi); /* 0x4601BF74: push edi */ 3147 edi = esi + (-0x4); /* 0x4601BF75: lea edi, [esi - 4] */ 3148 PUSH32(esp, 0x46006D34u); /* 0x4601BF78: push 0x46006d34 */ 3149 PUSH32(esp, MEM32(edi)); /* 0x4601BF7D: push dword ptr [edi] */ 3150 PUSH32(esp, 0x2Cu); /* 0x4601BF7F: push 0x2c */ 3151 PUSH32(esp, esi); /* 0x4601BF81: push esi */ 3152 RECOMP_ICALL(0x4602806Eu); /* 0x4601BF82: call 0x4602806e */ /* not lifted */ 3153 RECOMP_FLAGS_IN(); 3154 /* test LO8(ebx), 1 */ /* 0x4601BF87: test bl, 1 */ 3155 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3156 _cf = 0; 3157 _flag_k = FK_NARROW(FK_TEST, 24); 3158 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BF93; /* 0x4601BF8A: je 0x4601bf93 */ 3159 L_4601BF8C: 3160 PUSH32(esp, edi); /* 0x4601BF8C: push edi */ 3161 RECOMP_ICALL(0x46002CE4u); /* 0x4601BF8D: call 0x46002ce4 */ /* not lifted */ 3162 RECOMP_FLAGS_IN(); 3163 ecx = POP32_VAL(esp); /* 0x4601BF92: pop ecx */ 3164 L_4601BF93: 3165 eax = edi; /* 0x4601BF93: mov eax, edi */ 3166 edi = POP32_VAL(esp); /* 0x4601BF95: pop edi */ 3167 L_4601BF96: 3168 esi = POP32_VAL(esp); /* 0x4601BF96: pop esi */ 3169 ebx = POP32_VAL(esp); /* 0x4601BF97: pop ebx */ 3170 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601BF98: ret 4 */ 3171 L_4601BF9B: 3172 ecx = esi; /* 0x4601BF9B: mov ecx, esi */ 3173 RECOMP_ICALL(0x46006D34u); /* 0x4601BF9D: call 0x46006d34 */ /* not lifted */ 3174 RECOMP_FLAGS_IN(); 3175 /* test LO8(ebx), 1 */ /* 0x4601BFA2: test bl, 1 */ 3176 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3177 _cf = 0; 3178 _flag_k = FK_NARROW(FK_TEST, 24); 3179 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BFAE; /* 0x4601BFA5: je 0x4601bfae */ 3180 L_4601BFA7: 3181 PUSH32(esp, esi); /* 0x4601BFA7: push esi */ 3182 RECOMP_ICALL(0x46002CE4u); /* 0x4601BFA8: call 0x46002ce4 */ /* not lifted */ 3183 RECOMP_FLAGS_IN(); 3184 ecx = POP32_VAL(esp); /* 0x4601BFAD: pop ecx */ 3185 L_4601BFAE: 3186 eax = esi; /* 0x4601BFAE: mov eax, esi */ 3187 RECOMP_BACKEDGE(); 3188 goto L_4601BF96; /* 0x4601BFB0: jmp 0x4601bf96 */ 3189 { RECOMP_REGS_OUT(); return; } /* end of function */ 3190 RECOMP_REGS_OUT(); 3191 } 3192 3193 void sub_4601BFB2(void) { 3194 int _fpu_cmp = 0; 3195 uint32_t _cf = 0; 3196 int _df = 1; 3197 uint32_t _flag_k = FK_NONE; 3198 uint32_t _flag_a = 0, _flag_b = 0; 3199 uint32_t _itail_tgt = 0; 3200 RECOMP_REGS_LOCALS 3201 RECOMP_ENTER(0x4601BFB2u); 3202 3203 L_4601BFB2: 3204 PUSH32(esp, ebx); /* 0x4601BFB2: push ebx */ 3205 SET_LO8(ebx, MEM8(esp + 0x8)); /* 0x4601BFB3: mov bl, byte ptr [esp + 8] */ 3206 PUSH32(esp, esi); /* 0x4601BFB7: push esi */ 3207 esi = ecx; /* 0x4601BFB8: mov esi, ecx */ 3208 /* test LO8(ebx), 2 */ /* 0x4601BFBA: test bl, 2 */ 3209 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 3210 _cf = 0; 3211 _flag_k = FK_NARROW(FK_TEST, 24); 3212 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BFE6; /* 0x4601BFBD: je 0x4601bfe6 */ 3213 L_4601BFBF: 3214 PUSH32(esp, edi); /* 0x4601BFBF: push edi */ 3215 edi = esi + (-0x4); /* 0x4601BFC0: lea edi, [esi - 4] */ 3216 PUSH32(esp, 0x46006D70u); /* 0x4601BFC3: push 0x46006d70 */ 3217 PUSH32(esp, MEM32(edi)); /* 0x4601BFC8: push dword ptr [edi] */ 3218 PUSH32(esp, 0x2Cu); /* 0x4601BFCA: push 0x2c */ 3219 PUSH32(esp, esi); /* 0x4601BFCC: push esi */ 3220 RECOMP_ICALL(0x4602806Eu); /* 0x4601BFCD: call 0x4602806e */ /* not lifted */ 3221 RECOMP_FLAGS_IN(); 3222 /* test LO8(ebx), 1 */ /* 0x4601BFD2: test bl, 1 */ 3223 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3224 _cf = 0; 3225 _flag_k = FK_NARROW(FK_TEST, 24); 3226 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BFDE; /* 0x4601BFD5: je 0x4601bfde */ 3227 L_4601BFD7: 3228 PUSH32(esp, edi); /* 0x4601BFD7: push edi */ 3229 RECOMP_ICALL(0x46002CE4u); /* 0x4601BFD8: call 0x46002ce4 */ /* not lifted */ 3230 RECOMP_FLAGS_IN(); 3231 ecx = POP32_VAL(esp); /* 0x4601BFDD: pop ecx */ 3232 L_4601BFDE: 3233 eax = edi; /* 0x4601BFDE: mov eax, edi */ 3234 edi = POP32_VAL(esp); /* 0x4601BFE0: pop edi */ 3235 L_4601BFE1: 3236 esi = POP32_VAL(esp); /* 0x4601BFE1: pop esi */ 3237 ebx = POP32_VAL(esp); /* 0x4601BFE2: pop ebx */ 3238 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601BFE3: ret 4 */ 3239 L_4601BFE6: 3240 ecx = esi; /* 0x4601BFE6: mov ecx, esi */ 3241 RECOMP_ICALL(0x46006D34u); /* 0x4601BFE8: call 0x46006d34 */ /* not lifted */ 3242 RECOMP_FLAGS_IN(); 3243 /* test LO8(ebx), 1 */ /* 0x4601BFED: test bl, 1 */ 3244 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3245 _cf = 0; 3246 _flag_k = FK_NARROW(FK_TEST, 24); 3247 if (TEST_Z(_flag_a, _flag_b)) goto L_4601BFF9; /* 0x4601BFF0: je 0x4601bff9 */ 3248 L_4601BFF2: 3249 PUSH32(esp, esi); /* 0x4601BFF2: push esi */ 3250 RECOMP_ICALL(0x46002CE4u); /* 0x4601BFF3: call 0x46002ce4 */ /* not lifted */ 3251 RECOMP_FLAGS_IN(); 3252 ecx = POP32_VAL(esp); /* 0x4601BFF8: pop ecx */ 3253 L_4601BFF9: 3254 eax = esi; /* 0x4601BFF9: mov eax, esi */ 3255 RECOMP_BACKEDGE(); 3256 goto L_4601BFE1; /* 0x4601BFFB: jmp 0x4601bfe1 */ 3257 { RECOMP_REGS_OUT(); return; } /* end of function */ 3258 RECOMP_REGS_OUT(); 3259 } 3260 3261 void sub_4601BFFD(void) { 3262 int _fpu_cmp = 0; 3263 uint32_t _cf = 0; 3264 int _df = 1; 3265 uint32_t _flag_k = FK_NONE; 3266 uint32_t _flag_a = 0, _flag_b = 0; 3267 uint32_t _itail_tgt = 0; 3268 RECOMP_REGS_LOCALS 3269 RECOMP_ENTER(0x4601BFFDu); 3270 3271 L_4601BFFD: 3272 PUSH32(esp, ebx); /* 0x4601BFFD: push ebx */ 3273 SET_LO8(ebx, MEM8(esp + 0x8)); /* 0x4601BFFE: mov bl, byte ptr [esp + 8] */ 3274 PUSH32(esp, esi); /* 0x4601C002: push esi */ 3275 esi = ecx; /* 0x4601C003: mov esi, ecx */ 3276 /* test LO8(ebx), 2 */ /* 0x4601C005: test bl, 2 */ 3277 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 3278 _cf = 0; 3279 _flag_k = FK_NARROW(FK_TEST, 24); 3280 if (TEST_Z(_flag_a, _flag_b)) goto L_4601C031; /* 0x4601C008: je 0x4601c031 */ 3281 L_4601C00A: 3282 PUSH32(esp, edi); /* 0x4601C00A: push edi */ 3283 edi = esi + (-0x4); /* 0x4601C00B: lea edi, [esi - 4] */ 3284 PUSH32(esp, 0x46017777u); /* 0x4601C00E: push 0x46017777 */ 3285 PUSH32(esp, MEM32(edi)); /* 0x4601C013: push dword ptr [edi] */ 3286 PUSH32(esp, 8); /* 0x4601C015: push 8 */ 3287 PUSH32(esp, esi); /* 0x4601C017: push esi */ 3288 RECOMP_ICALL(0x4602806Eu); /* 0x4601C018: call 0x4602806e */ /* not lifted */ 3289 RECOMP_FLAGS_IN(); 3290 /* test LO8(ebx), 1 */ /* 0x4601C01D: test bl, 1 */ 3291 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3292 _cf = 0; 3293 _flag_k = FK_NARROW(FK_TEST, 24); 3294 if (TEST_Z(_flag_a, _flag_b)) goto L_4601C029; /* 0x4601C020: je 0x4601c029 */ 3295 L_4601C022: 3296 PUSH32(esp, edi); /* 0x4601C022: push edi */ 3297 RECOMP_ICALL(0x46002CE4u); /* 0x4601C023: call 0x46002ce4 */ /* not lifted */ 3298 RECOMP_FLAGS_IN(); 3299 ecx = POP32_VAL(esp); /* 0x4601C028: pop ecx */ 3300 L_4601C029: 3301 eax = edi; /* 0x4601C029: mov eax, edi */ 3302 edi = POP32_VAL(esp); /* 0x4601C02B: pop edi */ 3303 L_4601C02C: 3304 esi = POP32_VAL(esp); /* 0x4601C02C: pop esi */ 3305 ebx = POP32_VAL(esp); /* 0x4601C02D: pop ebx */ 3306 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601C02E: ret 4 */ 3307 L_4601C031: 3308 ecx = esi; /* 0x4601C031: mov ecx, esi */ 3309 RECOMP_ICALL(0x46017777u); /* 0x4601C033: call 0x46017777 */ /* not lifted */ 3310 RECOMP_FLAGS_IN(); 3311 /* test LO8(ebx), 1 */ /* 0x4601C038: test bl, 1 */ 3312 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3313 _cf = 0; 3314 _flag_k = FK_NARROW(FK_TEST, 24); 3315 if (TEST_Z(_flag_a, _flag_b)) goto L_4601C044; /* 0x4601C03B: je 0x4601c044 */ 3316 L_4601C03D: 3317 PUSH32(esp, esi); /* 0x4601C03D: push esi */ 3318 RECOMP_ICALL(0x46002CE4u); /* 0x4601C03E: call 0x46002ce4 */ /* not lifted */ 3319 RECOMP_FLAGS_IN(); 3320 ecx = POP32_VAL(esp); /* 0x4601C043: pop ecx */ 3321 L_4601C044: 3322 eax = esi; /* 0x4601C044: mov eax, esi */ 3323 RECOMP_BACKEDGE(); 3324 goto L_4601C02C; /* 0x4601C046: jmp 0x4601c02c */ 3325 { RECOMP_REGS_OUT(); return; } /* end of function */ 3326 RECOMP_REGS_OUT(); 3327 } 3328 3329 void sub_4601C048(void) { 3330 int _fpu_cmp = 0; 3331 uint32_t _cf = 0; 3332 int _df = 1; 3333 uint32_t _flag_k = FK_NONE; 3334 uint32_t _flag_a = 0, _flag_b = 0; 3335 uint32_t _itail_tgt = 0; 3336 RECOMP_REGS_LOCALS 3337 RECOMP_ENTER(0x4601C048u); 3338 3339 L_4601C048: 3340 PUSH32(esp, ebx); /* 0x4601C048: push ebx */ 3341 SET_LO8(ebx, MEM8(esp + 0x8)); /* 0x4601C049: mov bl, byte ptr [esp + 8] */ 3342 PUSH32(esp, esi); /* 0x4601C04D: push esi */ 3343 esi = ecx; /* 0x4601C04E: mov esi, ecx */ 3344 /* test LO8(ebx), 2 */ /* 0x4601C050: test bl, 2 */ 3345 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 3346 _cf = 0; 3347 _flag_k = FK_NARROW(FK_TEST, 24); 3348 if (TEST_Z(_flag_a, _flag_b)) goto L_4601C07C; /* 0x4601C053: je 0x4601c07c */ 3349 L_4601C055: 3350 PUSH32(esp, edi); /* 0x4601C055: push edi */ 3351 edi = esi + (-0x4); /* 0x4601C056: lea edi, [esi - 4] */ 3352 PUSH32(esp, 0x460182F1u); /* 0x4601C059: push 0x460182f1 */ 3353 PUSH32(esp, MEM32(edi)); /* 0x4601C05E: push dword ptr [edi] */ 3354 PUSH32(esp, 8); /* 0x4601C060: push 8 */ 3355 PUSH32(esp, esi); /* 0x4601C062: push esi */ 3356 RECOMP_ICALL(0x4602806Eu); /* 0x4601C063: call 0x4602806e */ /* not lifted */ 3357 RECOMP_FLAGS_IN(); 3358 /* test LO8(ebx), 1 */ /* 0x4601C068: test bl, 1 */ 3359 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3360 _cf = 0; 3361 _flag_k = FK_NARROW(FK_TEST, 24); 3362 if (TEST_Z(_flag_a, _flag_b)) goto L_4601C074; /* 0x4601C06B: je 0x4601c074 */ 3363 L_4601C06D: 3364 PUSH32(esp, edi); /* 0x4601C06D: push edi */ 3365 RECOMP_ICALL(0x46002CE4u); /* 0x4601C06E: call 0x46002ce4 */ /* not lifted */ 3366 RECOMP_FLAGS_IN(); 3367 ecx = POP32_VAL(esp); /* 0x4601C073: pop ecx */ 3368 L_4601C074: 3369 eax = edi; /* 0x4601C074: mov eax, edi */ 3370 edi = POP32_VAL(esp); /* 0x4601C076: pop edi */ 3371 L_4601C077: 3372 esi = POP32_VAL(esp); /* 0x4601C077: pop esi */ 3373 ebx = POP32_VAL(esp); /* 0x4601C078: pop ebx */ 3374 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601C079: ret 4 */ 3375 L_4601C07C: 3376 ecx = esi; /* 0x4601C07C: mov ecx, esi */ 3377 RECOMP_ICALL(0x460182F1u); /* 0x4601C07E: call 0x460182f1 */ /* not lifted */ 3378 RECOMP_FLAGS_IN(); 3379 /* test LO8(ebx), 1 */ /* 0x4601C083: test bl, 1 */ 3380 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3381 _cf = 0; 3382 _flag_k = FK_NARROW(FK_TEST, 24); 3383 if (TEST_Z(_flag_a, _flag_b)) goto L_4601C08F; /* 0x4601C086: je 0x4601c08f */ 3384 L_4601C088: 3385 PUSH32(esp, esi); /* 0x4601C088: push esi */ 3386 RECOMP_ICALL(0x46002CE4u); /* 0x4601C089: call 0x46002ce4 */ /* not lifted */ 3387 RECOMP_FLAGS_IN(); 3388 ecx = POP32_VAL(esp); /* 0x4601C08E: pop ecx */ 3389 L_4601C08F: 3390 eax = esi; /* 0x4601C08F: mov eax, esi */ 3391 RECOMP_BACKEDGE(); 3392 goto L_4601C077; /* 0x4601C091: jmp 0x4601c077 */ 3393 { RECOMP_REGS_OUT(); return; } /* end of function */ 3394 RECOMP_REGS_OUT(); 3395 } 3396 3397 void sub_4601C093(void) { 3398 int _fpu_cmp = 0; 3399 uint32_t _cf = 0; 3400 int _df = 1; 3401 uint32_t _flag_k = FK_NONE; 3402 uint32_t _flag_a = 0, _flag_b = 0; 3403 uint32_t _itail_tgt = 0; 3404 RECOMP_REGS_LOCALS 3405 RECOMP_ENTER(0x4601C093u); 3406 3407 L_4601C093: 3408 PUSH32(esp, ebx); /* 0x4601C093: push ebx */ 3409 SET_LO8(ebx, MEM8(esp + 0x8)); /* 0x4601C094: mov bl, byte ptr [esp + 8] */ 3410 PUSH32(esp, esi); /* 0x4601C098: push esi */ 3411 esi = ecx; /* 0x4601C099: mov esi, ecx */ 3412 /* test LO8(ebx), 2 */ /* 0x4601C09B: test bl, 2 */ 3413 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 3414 _cf = 0; 3415 _flag_k = FK_NARROW(FK_TEST, 24); 3416 if (TEST_Z(_flag_a, _flag_b)) goto L_4601C0C7; /* 0x4601C09E: je 0x4601c0c7 */ 3417 L_4601C0A0: 3418 PUSH32(esp, edi); /* 0x4601C0A0: push edi */ 3419 edi = esi + (-0x4); /* 0x4601C0A1: lea edi, [esi - 4] */ 3420 PUSH32(esp, 0x46018E97u); /* 0x4601C0A4: push 0x46018e97 */ 3421 PUSH32(esp, MEM32(edi)); /* 0x4601C0A9: push dword ptr [edi] */ 3422 PUSH32(esp, 8); /* 0x4601C0AB: push 8 */ 3423 PUSH32(esp, esi); /* 0x4601C0AD: push esi */ 3424 RECOMP_ICALL(0x4602806Eu); /* 0x4601C0AE: call 0x4602806e */ /* not lifted */ 3425 RECOMP_FLAGS_IN(); 3426 /* test LO8(ebx), 1 */ /* 0x4601C0B3: test bl, 1 */ 3427 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3428 _cf = 0; 3429 _flag_k = FK_NARROW(FK_TEST, 24); 3430 if (TEST_Z(_flag_a, _flag_b)) goto L_4601C0BF; /* 0x4601C0B6: je 0x4601c0bf */ 3431 L_4601C0B8: 3432 PUSH32(esp, edi); /* 0x4601C0B8: push edi */ 3433 RECOMP_ICALL(0x46002CE4u); /* 0x4601C0B9: call 0x46002ce4 */ /* not lifted */ 3434 RECOMP_FLAGS_IN(); 3435 ecx = POP32_VAL(esp); /* 0x4601C0BE: pop ecx */ 3436 L_4601C0BF: 3437 eax = edi; /* 0x4601C0BF: mov eax, edi */ 3438 edi = POP32_VAL(esp); /* 0x4601C0C1: pop edi */ 3439 L_4601C0C2: 3440 esi = POP32_VAL(esp); /* 0x4601C0C2: pop esi */ 3441 ebx = POP32_VAL(esp); /* 0x4601C0C3: pop ebx */ 3442 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601C0C4: ret 4 */ 3443 L_4601C0C7: 3444 ecx = esi; /* 0x4601C0C7: mov ecx, esi */ 3445 RECOMP_ICALL(0x46018E97u); /* 0x4601C0C9: call 0x46018e97 */ /* not lifted */ 3446 RECOMP_FLAGS_IN(); 3447 /* test LO8(ebx), 1 */ /* 0x4601C0CE: test bl, 1 */ 3448 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3449 _cf = 0; 3450 _flag_k = FK_NARROW(FK_TEST, 24); 3451 if (TEST_Z(_flag_a, _flag_b)) goto L_4601C0DA; /* 0x4601C0D1: je 0x4601c0da */ 3452 L_4601C0D3: 3453 PUSH32(esp, esi); /* 0x4601C0D3: push esi */ 3454 RECOMP_ICALL(0x46002CE4u); /* 0x4601C0D4: call 0x46002ce4 */ /* not lifted */ 3455 RECOMP_FLAGS_IN(); 3456 ecx = POP32_VAL(esp); /* 0x4601C0D9: pop ecx */ 3457 L_4601C0DA: 3458 eax = esi; /* 0x4601C0DA: mov eax, esi */ 3459 RECOMP_BACKEDGE(); 3460 goto L_4601C0C2; /* 0x4601C0DC: jmp 0x4601c0c2 */ 3461 { RECOMP_REGS_OUT(); return; } /* end of function */ 3462 RECOMP_REGS_OUT(); 3463 } 3464 3465 void sub_4601C0DE(void) { 3466 int _fpu_cmp = 0; 3467 uint32_t _cf = 0; 3468 int _df = 1; 3469 uint32_t _flag_k = FK_NONE; 3470 uint32_t _flag_a = 0, _flag_b = 0; 3471 uint32_t _itail_tgt = 0; 3472 RECOMP_REGS_LOCALS 3473 RECOMP_ENTER(0x4601C0DEu); 3474 3475 L_4601C0DE: 3476 PUSH32(esp, ebx); /* 0x4601C0DE: push ebx */ 3477 SET_LO8(ebx, MEM8(esp + 0x8)); /* 0x4601C0DF: mov bl, byte ptr [esp + 8] */ 3478 PUSH32(esp, esi); /* 0x4601C0E3: push esi */ 3479 esi = ecx; /* 0x4601C0E4: mov esi, ecx */ 3480 /* test LO8(ebx), 2 */ /* 0x4601C0E6: test bl, 2 */ 3481 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 3482 _cf = 0; 3483 _flag_k = FK_NARROW(FK_TEST, 24); 3484 if (TEST_Z(_flag_a, _flag_b)) goto L_4601C112; /* 0x4601C0E9: je 0x4601c112 */ 3485 L_4601C0EB: 3486 PUSH32(esp, edi); /* 0x4601C0EB: push edi */ 3487 edi = esi + (-0x4); /* 0x4601C0EC: lea edi, [esi - 4] */ 3488 PUSH32(esp, 0x460197CEu); /* 0x4601C0EF: push 0x460197ce */ 3489 PUSH32(esp, MEM32(edi)); /* 0x4601C0F4: push dword ptr [edi] */ 3490 PUSH32(esp, 8); /* 0x4601C0F6: push 8 */ 3491 PUSH32(esp, esi); /* 0x4601C0F8: push esi */ 3492 RECOMP_ICALL(0x4602806Eu); /* 0x4601C0F9: call 0x4602806e */ /* not lifted */ 3493 RECOMP_FLAGS_IN(); 3494 /* test LO8(ebx), 1 */ /* 0x4601C0FE: test bl, 1 */ 3495 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3496 _cf = 0; 3497 _flag_k = FK_NARROW(FK_TEST, 24); 3498 if (TEST_Z(_flag_a, _flag_b)) goto L_4601C10A; /* 0x4601C101: je 0x4601c10a */ 3499 L_4601C103: 3500 PUSH32(esp, edi); /* 0x4601C103: push edi */ 3501 RECOMP_ICALL(0x46002CE4u); /* 0x4601C104: call 0x46002ce4 */ /* not lifted */ 3502 RECOMP_FLAGS_IN(); 3503 ecx = POP32_VAL(esp); /* 0x4601C109: pop ecx */ 3504 L_4601C10A: 3505 eax = edi; /* 0x4601C10A: mov eax, edi */ 3506 edi = POP32_VAL(esp); /* 0x4601C10C: pop edi */ 3507 L_4601C10D: 3508 esi = POP32_VAL(esp); /* 0x4601C10D: pop esi */ 3509 ebx = POP32_VAL(esp); /* 0x4601C10E: pop ebx */ 3510 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601C10F: ret 4 */ 3511 L_4601C112: 3512 ecx = esi; /* 0x4601C112: mov ecx, esi */ 3513 RECOMP_ICALL(0x460197CEu); /* 0x4601C114: call 0x460197ce */ /* not lifted */ 3514 RECOMP_FLAGS_IN(); 3515 /* test LO8(ebx), 1 */ /* 0x4601C119: test bl, 1 */ 3516 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3517 _cf = 0; 3518 _flag_k = FK_NARROW(FK_TEST, 24); 3519 if (TEST_Z(_flag_a, _flag_b)) goto L_4601C125; /* 0x4601C11C: je 0x4601c125 */ 3520 L_4601C11E: 3521 PUSH32(esp, esi); /* 0x4601C11E: push esi */ 3522 RECOMP_ICALL(0x46002CE4u); /* 0x4601C11F: call 0x46002ce4 */ /* not lifted */ 3523 RECOMP_FLAGS_IN(); 3524 ecx = POP32_VAL(esp); /* 0x4601C124: pop ecx */ 3525 L_4601C125: 3526 eax = esi; /* 0x4601C125: mov eax, esi */ 3527 RECOMP_BACKEDGE(); 3528 goto L_4601C10D; /* 0x4601C127: jmp 0x4601c10d */ 3529 { RECOMP_REGS_OUT(); return; } /* end of function */ 3530 RECOMP_REGS_OUT(); 3531 } 3532 3533 void sub_4601C129(void) { 3534 int _fpu_cmp = 0; 3535 uint32_t _cf = 0; 3536 int _df = 1; 3537 uint32_t _flag_k = FK_NONE; 3538 uint32_t _flag_a = 0, _flag_b = 0; 3539 uint32_t _itail_tgt = 0; 3540 RECOMP_REGS_LOCALS 3541 RECOMP_ENTER(0x4601C129u); 3542 3543 L_4601C129: 3544 PUSH32(esp, ebx); /* 0x4601C129: push ebx */ 3545 SET_LO8(ebx, MEM8(esp + 0x8)); /* 0x4601C12A: mov bl, byte ptr [esp + 8] */ 3546 PUSH32(esp, esi); /* 0x4601C12E: push esi */ 3547 esi = ecx; /* 0x4601C12F: mov esi, ecx */ 3548 /* test LO8(ebx), 2 */ /* 0x4601C131: test bl, 2 */ 3549 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 3550 _cf = 0; 3551 _flag_k = FK_NARROW(FK_TEST, 24); 3552 if (TEST_Z(_flag_a, _flag_b)) goto L_4601C15D; /* 0x4601C134: je 0x4601c15d */ 3553 L_4601C136: 3554 PUSH32(esp, edi); /* 0x4601C136: push edi */ 3555 edi = esi + (-0x4); /* 0x4601C137: lea edi, [esi - 4] */ 3556 PUSH32(esp, 0x4601A225u); /* 0x4601C13A: push 0x4601a225 */ 3557 PUSH32(esp, MEM32(edi)); /* 0x4601C13F: push dword ptr [edi] */ 3558 PUSH32(esp, 0x10u); /* 0x4601C141: push 0x10 */ 3559 PUSH32(esp, esi); /* 0x4601C143: push esi */ 3560 RECOMP_ICALL(0x4602806Eu); /* 0x4601C144: call 0x4602806e */ /* not lifted */ 3561 RECOMP_FLAGS_IN(); 3562 /* test LO8(ebx), 1 */ /* 0x4601C149: test bl, 1 */ 3563 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3564 _cf = 0; 3565 _flag_k = FK_NARROW(FK_TEST, 24); 3566 if (TEST_Z(_flag_a, _flag_b)) goto L_4601C155; /* 0x4601C14C: je 0x4601c155 */ 3567 L_4601C14E: 3568 PUSH32(esp, edi); /* 0x4601C14E: push edi */ 3569 RECOMP_ICALL(0x46002CE4u); /* 0x4601C14F: call 0x46002ce4 */ /* not lifted */ 3570 RECOMP_FLAGS_IN(); 3571 ecx = POP32_VAL(esp); /* 0x4601C154: pop ecx */ 3572 L_4601C155: 3573 eax = edi; /* 0x4601C155: mov eax, edi */ 3574 edi = POP32_VAL(esp); /* 0x4601C157: pop edi */ 3575 L_4601C158: 3576 esi = POP32_VAL(esp); /* 0x4601C158: pop esi */ 3577 ebx = POP32_VAL(esp); /* 0x4601C159: pop ebx */ 3578 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601C15A: ret 4 */ 3579 L_4601C15D: 3580 ecx = esi; /* 0x4601C15D: mov ecx, esi */ 3581 RECOMP_ICALL(0x4601A225u); /* 0x4601C15F: call 0x4601a225 */ /* not lifted */ 3582 RECOMP_FLAGS_IN(); 3583 /* test LO8(ebx), 1 */ /* 0x4601C164: test bl, 1 */ 3584 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3585 _cf = 0; 3586 _flag_k = FK_NARROW(FK_TEST, 24); 3587 if (TEST_Z(_flag_a, _flag_b)) goto L_4601C170; /* 0x4601C167: je 0x4601c170 */ 3588 L_4601C169: 3589 PUSH32(esp, esi); /* 0x4601C169: push esi */ 3590 RECOMP_ICALL(0x46002CE4u); /* 0x4601C16A: call 0x46002ce4 */ /* not lifted */ 3591 RECOMP_FLAGS_IN(); 3592 ecx = POP32_VAL(esp); /* 0x4601C16F: pop ecx */ 3593 L_4601C170: 3594 eax = esi; /* 0x4601C170: mov eax, esi */ 3595 RECOMP_BACKEDGE(); 3596 goto L_4601C158; /* 0x4601C172: jmp 0x4601c158 */ 3597 { RECOMP_REGS_OUT(); return; } /* end of function */ 3598 RECOMP_REGS_OUT(); 3599 } 3600 3601 void sub_4601C174(void) { 3602 int _fpu_cmp = 0; 3603 uint32_t _cf = 0; 3604 int _df = 1; 3605 uint32_t _flag_k = FK_NONE; 3606 uint32_t _flag_a = 0, _flag_b = 0; 3607 uint32_t _itail_tgt = 0; 3608 RECOMP_REGS_LOCALS 3609 RECOMP_ENTER(0x4601C174u); 3610 3611 L_4601C174: 3612 PUSH32(esp, ebx); /* 0x4601C174: push ebx */ 3613 SET_LO8(ebx, MEM8(esp + 0x8)); /* 0x4601C175: mov bl, byte ptr [esp + 8] */ 3614 PUSH32(esp, esi); /* 0x4601C179: push esi */ 3615 esi = ecx; /* 0x4601C17A: mov esi, ecx */ 3616 /* test LO8(ebx), 2 */ /* 0x4601C17C: test bl, 2 */ 3617 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 3618 _cf = 0; 3619 _flag_k = FK_NARROW(FK_TEST, 24); 3620 if (TEST_Z(_flag_a, _flag_b)) goto L_4601C1A8; /* 0x4601C17F: je 0x4601c1a8 */ 3621 L_4601C181: 3622 PUSH32(esp, edi); /* 0x4601C181: push edi */ 3623 edi = esi + (-0x4); /* 0x4601C182: lea edi, [esi - 4] */ 3624 PUSH32(esp, 0x4601A826u); /* 0x4601C185: push 0x4601a826 */ 3625 PUSH32(esp, MEM32(edi)); /* 0x4601C18A: push dword ptr [edi] */ 3626 PUSH32(esp, 0x10u); /* 0x4601C18C: push 0x10 */ 3627 PUSH32(esp, esi); /* 0x4601C18E: push esi */ 3628 RECOMP_ICALL(0x4602806Eu); /* 0x4601C18F: call 0x4602806e */ /* not lifted */ 3629 RECOMP_FLAGS_IN(); 3630 /* test LO8(ebx), 1 */ /* 0x4601C194: test bl, 1 */ 3631 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3632 _cf = 0; 3633 _flag_k = FK_NARROW(FK_TEST, 24); 3634 if (TEST_Z(_flag_a, _flag_b)) goto L_4601C1A0; /* 0x4601C197: je 0x4601c1a0 */ 3635 L_4601C199: 3636 PUSH32(esp, edi); /* 0x4601C199: push edi */ 3637 RECOMP_ICALL(0x46002CE4u); /* 0x4601C19A: call 0x46002ce4 */ /* not lifted */ 3638 RECOMP_FLAGS_IN(); 3639 ecx = POP32_VAL(esp); /* 0x4601C19F: pop ecx */ 3640 L_4601C1A0: 3641 eax = edi; /* 0x4601C1A0: mov eax, edi */ 3642 edi = POP32_VAL(esp); /* 0x4601C1A2: pop edi */ 3643 L_4601C1A3: 3644 esi = POP32_VAL(esp); /* 0x4601C1A3: pop esi */ 3645 ebx = POP32_VAL(esp); /* 0x4601C1A4: pop ebx */ 3646 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601C1A5: ret 4 */ 3647 L_4601C1A8: 3648 ecx = esi; /* 0x4601C1A8: mov ecx, esi */ 3649 RECOMP_ICALL(0x4601A826u); /* 0x4601C1AA: call 0x4601a826 */ /* not lifted */ 3650 RECOMP_FLAGS_IN(); 3651 /* test LO8(ebx), 1 */ /* 0x4601C1AF: test bl, 1 */ 3652 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3653 _cf = 0; 3654 _flag_k = FK_NARROW(FK_TEST, 24); 3655 if (TEST_Z(_flag_a, _flag_b)) goto L_4601C1BB; /* 0x4601C1B2: je 0x4601c1bb */ 3656 L_4601C1B4: 3657 PUSH32(esp, esi); /* 0x4601C1B4: push esi */ 3658 RECOMP_ICALL(0x46002CE4u); /* 0x4601C1B5: call 0x46002ce4 */ /* not lifted */ 3659 RECOMP_FLAGS_IN(); 3660 ecx = POP32_VAL(esp); /* 0x4601C1BA: pop ecx */ 3661 L_4601C1BB: 3662 eax = esi; /* 0x4601C1BB: mov eax, esi */ 3663 RECOMP_BACKEDGE(); 3664 goto L_4601C1A3; /* 0x4601C1BD: jmp 0x4601c1a3 */ 3665 { RECOMP_REGS_OUT(); return; } /* end of function */ 3666 RECOMP_REGS_OUT(); 3667 } 3668 3669 void sub_4601C1BF(void) { 3670 int _fpu_cmp = 0; 3671 uint32_t _cf = 0; 3672 int _df = 1; 3673 uint32_t _flag_k = FK_NONE; 3674 uint32_t _flag_a = 0, _flag_b = 0; 3675 uint32_t _itail_tgt = 0; 3676 RECOMP_REGS_LOCALS 3677 RECOMP_ENTER(0x4601C1BFu); 3678 3679 L_4601C1BF: 3680 PUSH32(esp, ebx); /* 0x4601C1BF: push ebx */ 3681 SET_LO8(ebx, MEM8(esp + 0x8)); /* 0x4601C1C0: mov bl, byte ptr [esp + 8] */ 3682 PUSH32(esp, esi); /* 0x4601C1C4: push esi */ 3683 esi = ecx; /* 0x4601C1C5: mov esi, ecx */ 3684 /* test LO8(ebx), 2 */ /* 0x4601C1C7: test bl, 2 */ 3685 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 3686 _cf = 0; 3687 _flag_k = FK_NARROW(FK_TEST, 24); 3688 if (TEST_Z(_flag_a, _flag_b)) goto L_4601C1F3; /* 0x4601C1CA: je 0x4601c1f3 */ 3689 L_4601C1CC: 3690 PUSH32(esp, edi); /* 0x4601C1CC: push edi */ 3691 edi = esi + (-0x4); /* 0x4601C1CD: lea edi, [esi - 4] */ 3692 PUSH32(esp, 0x4601AE5Du); /* 0x4601C1D0: push 0x4601ae5d */ 3693 PUSH32(esp, MEM32(edi)); /* 0x4601C1D5: push dword ptr [edi] */ 3694 PUSH32(esp, 0xCu); /* 0x4601C1D7: push 0xc */ 3695 PUSH32(esp, esi); /* 0x4601C1D9: push esi */ 3696 RECOMP_ICALL(0x4602806Eu); /* 0x4601C1DA: call 0x4602806e */ /* not lifted */ 3697 RECOMP_FLAGS_IN(); 3698 /* test LO8(ebx), 1 */ /* 0x4601C1DF: test bl, 1 */ 3699 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3700 _cf = 0; 3701 _flag_k = FK_NARROW(FK_TEST, 24); 3702 if (TEST_Z(_flag_a, _flag_b)) goto L_4601C1EB; /* 0x4601C1E2: je 0x4601c1eb */ 3703 L_4601C1E4: 3704 PUSH32(esp, edi); /* 0x4601C1E4: push edi */ 3705 RECOMP_ICALL(0x46002CE4u); /* 0x4601C1E5: call 0x46002ce4 */ /* not lifted */ 3706 RECOMP_FLAGS_IN(); 3707 ecx = POP32_VAL(esp); /* 0x4601C1EA: pop ecx */ 3708 L_4601C1EB: 3709 eax = edi; /* 0x4601C1EB: mov eax, edi */ 3710 edi = POP32_VAL(esp); /* 0x4601C1ED: pop edi */ 3711 L_4601C1EE: 3712 esi = POP32_VAL(esp); /* 0x4601C1EE: pop esi */ 3713 ebx = POP32_VAL(esp); /* 0x4601C1EF: pop ebx */ 3714 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601C1F0: ret 4 */ 3715 L_4601C1F3: 3716 ecx = esi; /* 0x4601C1F3: mov ecx, esi */ 3717 RECOMP_ICALL(0x4601AE5Du); /* 0x4601C1F5: call 0x4601ae5d */ /* not lifted */ 3718 RECOMP_FLAGS_IN(); 3719 /* test LO8(ebx), 1 */ /* 0x4601C1FA: test bl, 1 */ 3720 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3721 _cf = 0; 3722 _flag_k = FK_NARROW(FK_TEST, 24); 3723 if (TEST_Z(_flag_a, _flag_b)) goto L_4601C206; /* 0x4601C1FD: je 0x4601c206 */ 3724 L_4601C1FF: 3725 PUSH32(esp, esi); /* 0x4601C1FF: push esi */ 3726 RECOMP_ICALL(0x46002CE4u); /* 0x4601C200: call 0x46002ce4 */ /* not lifted */ 3727 RECOMP_FLAGS_IN(); 3728 ecx = POP32_VAL(esp); /* 0x4601C205: pop ecx */ 3729 L_4601C206: 3730 eax = esi; /* 0x4601C206: mov eax, esi */ 3731 RECOMP_BACKEDGE(); 3732 goto L_4601C1EE; /* 0x4601C208: jmp 0x4601c1ee */ 3733 { RECOMP_REGS_OUT(); return; } /* end of function */ 3734 RECOMP_REGS_OUT(); 3735 } 3736 3737 void sub_4601C20A(void) { 3738 int _fpu_cmp = 0; 3739 uint32_t _cf = 0; 3740 int _df = 1; 3741 uint32_t _flag_k = FK_NONE; 3742 uint32_t _flag_a = 0, _flag_b = 0; 3743 uint32_t _itail_tgt = 0; 3744 RECOMP_REGS_LOCALS 3745 RECOMP_ENTER(0x4601C20Au); 3746 3747 L_4601C20A: 3748 PUSH32(esp, ebx); /* 0x4601C20A: push ebx */ 3749 SET_LO8(ebx, MEM8(esp + 0x8)); /* 0x4601C20B: mov bl, byte ptr [esp + 8] */ 3750 PUSH32(esp, esi); /* 0x4601C20F: push esi */ 3751 esi = ecx; /* 0x4601C210: mov esi, ecx */ 3752 /* test LO8(ebx), 2 */ /* 0x4601C212: test bl, 2 */ 3753 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 3754 _cf = 0; 3755 _flag_k = FK_NARROW(FK_TEST, 24); 3756 if (TEST_Z(_flag_a, _flag_b)) goto L_4601C23E; /* 0x4601C215: je 0x4601c23e */ 3757 L_4601C217: 3758 PUSH32(esp, edi); /* 0x4601C217: push edi */ 3759 edi = esi + (-0x4); /* 0x4601C218: lea edi, [esi - 4] */ 3760 PUSH32(esp, 0x4601B128u); /* 0x4601C21B: push 0x4601b128 */ 3761 PUSH32(esp, MEM32(edi)); /* 0x4601C220: push dword ptr [edi] */ 3762 PUSH32(esp, 0xCu); /* 0x4601C222: push 0xc */ 3763 PUSH32(esp, esi); /* 0x4601C224: push esi */ 3764 RECOMP_ICALL(0x4602806Eu); /* 0x4601C225: call 0x4602806e */ /* not lifted */ 3765 RECOMP_FLAGS_IN(); 3766 /* test LO8(ebx), 1 */ /* 0x4601C22A: test bl, 1 */ 3767 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3768 _cf = 0; 3769 _flag_k = FK_NARROW(FK_TEST, 24); 3770 if (TEST_Z(_flag_a, _flag_b)) goto L_4601C236; /* 0x4601C22D: je 0x4601c236 */ 3771 L_4601C22F: 3772 PUSH32(esp, edi); /* 0x4601C22F: push edi */ 3773 RECOMP_ICALL(0x46002CE4u); /* 0x4601C230: call 0x46002ce4 */ /* not lifted */ 3774 RECOMP_FLAGS_IN(); 3775 ecx = POP32_VAL(esp); /* 0x4601C235: pop ecx */ 3776 L_4601C236: 3777 eax = edi; /* 0x4601C236: mov eax, edi */ 3778 edi = POP32_VAL(esp); /* 0x4601C238: pop edi */ 3779 L_4601C239: 3780 esi = POP32_VAL(esp); /* 0x4601C239: pop esi */ 3781 ebx = POP32_VAL(esp); /* 0x4601C23A: pop ebx */ 3782 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601C23B: ret 4 */ 3783 L_4601C23E: 3784 ecx = esi; /* 0x4601C23E: mov ecx, esi */ 3785 RECOMP_ICALL(0x4601B128u); /* 0x4601C240: call 0x4601b128 */ /* not lifted */ 3786 RECOMP_FLAGS_IN(); 3787 /* test LO8(ebx), 1 */ /* 0x4601C245: test bl, 1 */ 3788 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3789 _cf = 0; 3790 _flag_k = FK_NARROW(FK_TEST, 24); 3791 if (TEST_Z(_flag_a, _flag_b)) goto L_4601C251; /* 0x4601C248: je 0x4601c251 */ 3792 L_4601C24A: 3793 PUSH32(esp, esi); /* 0x4601C24A: push esi */ 3794 RECOMP_ICALL(0x46002CE4u); /* 0x4601C24B: call 0x46002ce4 */ /* not lifted */ 3795 RECOMP_FLAGS_IN(); 3796 ecx = POP32_VAL(esp); /* 0x4601C250: pop ecx */ 3797 L_4601C251: 3798 eax = esi; /* 0x4601C251: mov eax, esi */ 3799 RECOMP_BACKEDGE(); 3800 goto L_4601C239; /* 0x4601C253: jmp 0x4601c239 */ 3801 { RECOMP_REGS_OUT(); return; } /* end of function */ 3802 RECOMP_REGS_OUT(); 3803 } 3804 3805 void sub_4601C255(void) { 3806 int _fpu_cmp = 0; 3807 uint32_t _cf = 0; 3808 int _df = 1; 3809 uint32_t _flag_k = FK_NONE; 3810 uint32_t _flag_a = 0, _flag_b = 0; 3811 uint32_t _itail_tgt = 0; 3812 RECOMP_REGS_LOCALS 3813 RECOMP_ENTER(0x4601C255u); 3814 3815 L_4601C255: 3816 PUSH32(esp, ebx); /* 0x4601C255: push ebx */ 3817 SET_LO8(ebx, MEM8(esp + 0x8)); /* 0x4601C256: mov bl, byte ptr [esp + 8] */ 3818 PUSH32(esp, esi); /* 0x4601C25A: push esi */ 3819 esi = ecx; /* 0x4601C25B: mov esi, ecx */ 3820 /* test LO8(ebx), 2 */ /* 0x4601C25D: test bl, 2 */ 3821 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 3822 _cf = 0; 3823 _flag_k = FK_NARROW(FK_TEST, 24); 3824 if (TEST_Z(_flag_a, _flag_b)) goto L_4601C289; /* 0x4601C260: je 0x4601c289 */ 3825 L_4601C262: 3826 PUSH32(esp, edi); /* 0x4601C262: push edi */ 3827 edi = esi + (-0x4); /* 0x4601C263: lea edi, [esi - 4] */ 3828 PUSH32(esp, 0x4601B302u); /* 0x4601C266: push 0x4601b302 */ 3829 PUSH32(esp, MEM32(edi)); /* 0x4601C26B: push dword ptr [edi] */ 3830 PUSH32(esp, 0x10u); /* 0x4601C26D: push 0x10 */ 3831 PUSH32(esp, esi); /* 0x4601C26F: push esi */ 3832 RECOMP_ICALL(0x4602806Eu); /* 0x4601C270: call 0x4602806e */ /* not lifted */ 3833 RECOMP_FLAGS_IN(); 3834 /* test LO8(ebx), 1 */ /* 0x4601C275: test bl, 1 */ 3835 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3836 _cf = 0; 3837 _flag_k = FK_NARROW(FK_TEST, 24); 3838 if (TEST_Z(_flag_a, _flag_b)) goto L_4601C281; /* 0x4601C278: je 0x4601c281 */ 3839 L_4601C27A: 3840 PUSH32(esp, edi); /* 0x4601C27A: push edi */ 3841 RECOMP_ICALL(0x46002CE4u); /* 0x4601C27B: call 0x46002ce4 */ /* not lifted */ 3842 RECOMP_FLAGS_IN(); 3843 ecx = POP32_VAL(esp); /* 0x4601C280: pop ecx */ 3844 L_4601C281: 3845 eax = edi; /* 0x4601C281: mov eax, edi */ 3846 edi = POP32_VAL(esp); /* 0x4601C283: pop edi */ 3847 L_4601C284: 3848 esi = POP32_VAL(esp); /* 0x4601C284: pop esi */ 3849 ebx = POP32_VAL(esp); /* 0x4601C285: pop ebx */ 3850 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601C286: ret 4 */ 3851 L_4601C289: 3852 ecx = esi; /* 0x4601C289: mov ecx, esi */ 3853 RECOMP_ICALL(0x4601B302u); /* 0x4601C28B: call 0x4601b302 */ /* not lifted */ 3854 RECOMP_FLAGS_IN(); 3855 /* test LO8(ebx), 1 */ /* 0x4601C290: test bl, 1 */ 3856 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3857 _cf = 0; 3858 _flag_k = FK_NARROW(FK_TEST, 24); 3859 if (TEST_Z(_flag_a, _flag_b)) goto L_4601C29C; /* 0x4601C293: je 0x4601c29c */ 3860 L_4601C295: 3861 PUSH32(esp, esi); /* 0x4601C295: push esi */ 3862 RECOMP_ICALL(0x46002CE4u); /* 0x4601C296: call 0x46002ce4 */ /* not lifted */ 3863 RECOMP_FLAGS_IN(); 3864 ecx = POP32_VAL(esp); /* 0x4601C29B: pop ecx */ 3865 L_4601C29C: 3866 eax = esi; /* 0x4601C29C: mov eax, esi */ 3867 RECOMP_BACKEDGE(); 3868 goto L_4601C284; /* 0x4601C29E: jmp 0x4601c284 */ 3869 { RECOMP_REGS_OUT(); return; } /* end of function */ 3870 RECOMP_REGS_OUT(); 3871 } 3872 3873 void sub_4601C2A0(void) { 3874 int _fpu_cmp = 0; 3875 uint32_t _cf = 0; 3876 int _df = 1; 3877 uint32_t _flag_k = FK_NONE; 3878 uint32_t _flag_a = 0, _flag_b = 0; 3879 uint32_t _itail_tgt = 0; 3880 RECOMP_REGS_LOCALS 3881 RECOMP_ENTER(0x4601C2A0u); 3882 3883 L_4601C2A0: 3884 PUSH32(esp, ebx); /* 0x4601C2A0: push ebx */ 3885 SET_LO8(ebx, MEM8(esp + 0x8)); /* 0x4601C2A1: mov bl, byte ptr [esp + 8] */ 3886 PUSH32(esp, esi); /* 0x4601C2A5: push esi */ 3887 esi = ecx; /* 0x4601C2A6: mov esi, ecx */ 3888 /* test LO8(ebx), 2 */ /* 0x4601C2A8: test bl, 2 */ 3889 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 3890 _cf = 0; 3891 _flag_k = FK_NARROW(FK_TEST, 24); 3892 if (TEST_Z(_flag_a, _flag_b)) goto L_4601C2D4; /* 0x4601C2AB: je 0x4601c2d4 */ 3893 L_4601C2AD: 3894 PUSH32(esp, edi); /* 0x4601C2AD: push edi */ 3895 edi = esi + (-0x4); /* 0x4601C2AE: lea edi, [esi - 4] */ 3896 PUSH32(esp, 0x4601B4F7u); /* 0x4601C2B1: push 0x4601b4f7 */ 3897 PUSH32(esp, MEM32(edi)); /* 0x4601C2B6: push dword ptr [edi] */ 3898 PUSH32(esp, 0x10u); /* 0x4601C2B8: push 0x10 */ 3899 PUSH32(esp, esi); /* 0x4601C2BA: push esi */ 3900 RECOMP_ICALL(0x4602806Eu); /* 0x4601C2BB: call 0x4602806e */ /* not lifted */ 3901 RECOMP_FLAGS_IN(); 3902 /* test LO8(ebx), 1 */ /* 0x4601C2C0: test bl, 1 */ 3903 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3904 _cf = 0; 3905 _flag_k = FK_NARROW(FK_TEST, 24); 3906 if (TEST_Z(_flag_a, _flag_b)) goto L_4601C2CC; /* 0x4601C2C3: je 0x4601c2cc */ 3907 L_4601C2C5: 3908 PUSH32(esp, edi); /* 0x4601C2C5: push edi */ 3909 RECOMP_ICALL(0x46002CE4u); /* 0x4601C2C6: call 0x46002ce4 */ /* not lifted */ 3910 RECOMP_FLAGS_IN(); 3911 ecx = POP32_VAL(esp); /* 0x4601C2CB: pop ecx */ 3912 L_4601C2CC: 3913 eax = edi; /* 0x4601C2CC: mov eax, edi */ 3914 edi = POP32_VAL(esp); /* 0x4601C2CE: pop edi */ 3915 L_4601C2CF: 3916 esi = POP32_VAL(esp); /* 0x4601C2CF: pop esi */ 3917 ebx = POP32_VAL(esp); /* 0x4601C2D0: pop ebx */ 3918 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601C2D1: ret 4 */ 3919 L_4601C2D4: 3920 ecx = esi; /* 0x4601C2D4: mov ecx, esi */ 3921 RECOMP_ICALL(0x4601B4F7u); /* 0x4601C2D6: call 0x4601b4f7 */ /* not lifted */ 3922 RECOMP_FLAGS_IN(); 3923 /* test LO8(ebx), 1 */ /* 0x4601C2DB: test bl, 1 */ 3924 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3925 _cf = 0; 3926 _flag_k = FK_NARROW(FK_TEST, 24); 3927 if (TEST_Z(_flag_a, _flag_b)) goto L_4601C2E7; /* 0x4601C2DE: je 0x4601c2e7 */ 3928 L_4601C2E0: 3929 PUSH32(esp, esi); /* 0x4601C2E0: push esi */ 3930 RECOMP_ICALL(0x46002CE4u); /* 0x4601C2E1: call 0x46002ce4 */ /* not lifted */ 3931 RECOMP_FLAGS_IN(); 3932 ecx = POP32_VAL(esp); /* 0x4601C2E6: pop ecx */ 3933 L_4601C2E7: 3934 eax = esi; /* 0x4601C2E7: mov eax, esi */ 3935 RECOMP_BACKEDGE(); 3936 goto L_4601C2CF; /* 0x4601C2E9: jmp 0x4601c2cf */ 3937 { RECOMP_REGS_OUT(); return; } /* end of function */ 3938 RECOMP_REGS_OUT(); 3939 } 3940 3941 void sub_4601C2EB(void) { 3942 int _fpu_cmp = 0; 3943 uint32_t _cf = 0; 3944 int _df = 1; 3945 uint32_t _flag_k = FK_NONE; 3946 uint32_t _flag_a = 0, _flag_b = 0; 3947 uint32_t _itail_tgt = 0; 3948 RECOMP_REGS_LOCALS 3949 RECOMP_ENTER(0x4601C2EBu); 3950 3951 L_4601C2EB: 3952 PUSH32(esp, ebx); /* 0x4601C2EB: push ebx */ 3953 SET_LO8(ebx, MEM8(esp + 0x8)); /* 0x4601C2EC: mov bl, byte ptr [esp + 8] */ 3954 PUSH32(esp, esi); /* 0x4601C2F0: push esi */ 3955 esi = ecx; /* 0x4601C2F1: mov esi, ecx */ 3956 /* test LO8(ebx), 2 */ /* 0x4601C2F3: test bl, 2 */ 3957 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 3958 _cf = 0; 3959 _flag_k = FK_NARROW(FK_TEST, 24); 3960 if (TEST_Z(_flag_a, _flag_b)) goto L_4601C31F; /* 0x4601C2F6: je 0x4601c31f */ 3961 L_4601C2F8: 3962 PUSH32(esp, edi); /* 0x4601C2F8: push edi */ 3963 edi = esi + (-0x4); /* 0x4601C2F9: lea edi, [esi - 4] */ 3964 PUSH32(esp, 0x4601B744u); /* 0x4601C2FC: push 0x4601b744 */ 3965 PUSH32(esp, MEM32(edi)); /* 0x4601C301: push dword ptr [edi] */ 3966 PUSH32(esp, 0x10u); /* 0x4601C303: push 0x10 */ 3967 PUSH32(esp, esi); /* 0x4601C305: push esi */ 3968 RECOMP_ICALL(0x4602806Eu); /* 0x4601C306: call 0x4602806e */ /* not lifted */ 3969 RECOMP_FLAGS_IN(); 3970 /* test LO8(ebx), 1 */ /* 0x4601C30B: test bl, 1 */ 3971 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3972 _cf = 0; 3973 _flag_k = FK_NARROW(FK_TEST, 24); 3974 if (TEST_Z(_flag_a, _flag_b)) goto L_4601C317; /* 0x4601C30E: je 0x4601c317 */ 3975 L_4601C310: 3976 PUSH32(esp, edi); /* 0x4601C310: push edi */ 3977 RECOMP_ICALL(0x46002CE4u); /* 0x4601C311: call 0x46002ce4 */ /* not lifted */ 3978 RECOMP_FLAGS_IN(); 3979 ecx = POP32_VAL(esp); /* 0x4601C316: pop ecx */ 3980 L_4601C317: 3981 eax = edi; /* 0x4601C317: mov eax, edi */ 3982 edi = POP32_VAL(esp); /* 0x4601C319: pop edi */ 3983 L_4601C31A: 3984 esi = POP32_VAL(esp); /* 0x4601C31A: pop esi */ 3985 ebx = POP32_VAL(esp); /* 0x4601C31B: pop ebx */ 3986 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601C31C: ret 4 */ 3987 L_4601C31F: 3988 ecx = esi; /* 0x4601C31F: mov ecx, esi */ 3989 RECOMP_ICALL(0x4601B744u); /* 0x4601C321: call 0x4601b744 */ /* not lifted */ 3990 RECOMP_FLAGS_IN(); 3991 /* test LO8(ebx), 1 */ /* 0x4601C326: test bl, 1 */ 3992 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 3993 _cf = 0; 3994 _flag_k = FK_NARROW(FK_TEST, 24); 3995 if (TEST_Z(_flag_a, _flag_b)) goto L_4601C332; /* 0x4601C329: je 0x4601c332 */ 3996 L_4601C32B: 3997 PUSH32(esp, esi); /* 0x4601C32B: push esi */ 3998 RECOMP_ICALL(0x46002CE4u); /* 0x4601C32C: call 0x46002ce4 */ /* not lifted */ 3999 RECOMP_FLAGS_IN(); 4000 ecx = POP32_VAL(esp); /* 0x4601C331: pop ecx */ 4001 L_4601C332: 4002 eax = esi; /* 0x4601C332: mov eax, esi */ 4003 RECOMP_BACKEDGE(); 4004 goto L_4601C31A; /* 0x4601C334: jmp 0x4601c31a */ 4005 { RECOMP_REGS_OUT(); return; } /* end of function */ 4006 RECOMP_REGS_OUT(); 4007 } 4008 4009 void sub_4601C336(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(0x4601C336u); 4018 4019 L_4601C336: 4020 PUSH32(esp, ebx); /* 0x4601C336: push ebx */ 4021 SET_LO8(ebx, MEM8(esp + 0x8)); /* 0x4601C337: mov bl, byte ptr [esp + 8] */ 4022 PUSH32(esp, esi); /* 0x4601C33B: push esi */ 4023 esi = ecx; /* 0x4601C33C: mov esi, ecx */ 4024 /* test LO8(ebx), 2 */ /* 0x4601C33E: test bl, 2 */ 4025 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(2) << 24; 4026 _cf = 0; 4027 _flag_k = FK_NARROW(FK_TEST, 24); 4028 if (TEST_Z(_flag_a, _flag_b)) goto L_4601C36A; /* 0x4601C341: je 0x4601c36a */ 4029 L_4601C343: 4030 PUSH32(esp, edi); /* 0x4601C343: push edi */ 4031 edi = esi + (-0x4); /* 0x4601C344: lea edi, [esi - 4] */ 4032 PUSH32(esp, 0x4601B90Cu); /* 0x4601C347: push 0x4601b90c */ 4033 PUSH32(esp, MEM32(edi)); /* 0x4601C34C: push dword ptr [edi] */ 4034 PUSH32(esp, 0x10u); /* 0x4601C34E: push 0x10 */ 4035 PUSH32(esp, esi); /* 0x4601C350: push esi */ 4036 RECOMP_ICALL(0x4602806Eu); /* 0x4601C351: call 0x4602806e */ /* not lifted */ 4037 RECOMP_FLAGS_IN(); 4038 /* test LO8(ebx), 1 */ /* 0x4601C356: test bl, 1 */ 4039 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 4040 _cf = 0; 4041 _flag_k = FK_NARROW(FK_TEST, 24); 4042 if (TEST_Z(_flag_a, _flag_b)) goto L_4601C362; /* 0x4601C359: je 0x4601c362 */ 4043 L_4601C35B: 4044 PUSH32(esp, edi); /* 0x4601C35B: push edi */ 4045 RECOMP_ICALL(0x46002CE4u); /* 0x4601C35C: call 0x46002ce4 */ /* not lifted */ 4046 RECOMP_FLAGS_IN(); 4047 ecx = POP32_VAL(esp); /* 0x4601C361: pop ecx */ 4048 L_4601C362: 4049 eax = edi; /* 0x4601C362: mov eax, edi */ 4050 edi = POP32_VAL(esp); /* 0x4601C364: pop edi */ 4051 L_4601C365: 4052 esi = POP32_VAL(esp); /* 0x4601C365: pop esi */ 4053 ebx = POP32_VAL(esp); /* 0x4601C366: pop ebx */ 4054 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601C367: ret 4 */ 4055 L_4601C36A: 4056 ecx = esi; /* 0x4601C36A: mov ecx, esi */ 4057 RECOMP_ICALL(0x4601B90Cu); /* 0x4601C36C: call 0x4601b90c */ /* not lifted */ 4058 RECOMP_FLAGS_IN(); 4059 /* test LO8(ebx), 1 */ /* 0x4601C371: test bl, 1 */ 4060 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(1) << 24; 4061 _cf = 0; 4062 _flag_k = FK_NARROW(FK_TEST, 24); 4063 if (TEST_Z(_flag_a, _flag_b)) goto L_4601C37D; /* 0x4601C374: je 0x4601c37d */ 4064 L_4601C376: 4065 PUSH32(esp, esi); /* 0x4601C376: push esi */ 4066 RECOMP_ICALL(0x46002CE4u); /* 0x4601C377: call 0x46002ce4 */ /* not lifted */ 4067 RECOMP_FLAGS_IN(); 4068 ecx = POP32_VAL(esp); /* 0x4601C37C: pop ecx */ 4069 L_4601C37D: 4070 eax = esi; /* 0x4601C37D: mov eax, esi */ 4071 RECOMP_BACKEDGE(); 4072 goto L_4601C365; /* 0x4601C37F: jmp 0x4601c365 */ 4073 { RECOMP_REGS_OUT(); return; } /* end of function */ 4074 RECOMP_REGS_OUT(); 4075 } 4076 4077 void sub_4601C381(void) { 4078 int _fpu_cmp = 0; 4079 uint32_t _cf = 0; 4080 int _df = 1; 4081 uint32_t _flag_k = FK_NONE; 4082 uint32_t _flag_a = 0, _flag_b = 0; 4083 uint32_t _itail_tgt = 0; 4084 RECOMP_REGS_LOCALS 4085 RECOMP_ENTER(0x4601C381u); 4086 4087 L_4601C381: 4088 PUSH32(esp, esi); /* 0x4601C381: push esi */ 4089 esi = ecx; /* 0x4601C382: mov esi, ecx */ 4090 ecx = MEM32(esi + 0x4); /* 0x4601C384: mov ecx, dword ptr [esi + 4] */ 4091 /* test ecx, ecx */ /* 0x4601C387: test ecx, ecx */ 4092 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 4093 _cf = 0; 4094 _flag_k = FK_TEST; 4095 if (TEST_Z(_flag_a, _flag_b)) goto L_4601C399; /* 0x4601C389: je 0x4601c399 */ 4096 L_4601C38B: 4097 PUSH32(esp, MEM32(esp + 0x8)); /* 0x4601C38B: push dword ptr [esp + 8] */ 4098 RECOMP_ICALL(0x4600294Fu); /* 0x4601C38F: call 0x4600294f */ /* not lifted */ 4099 RECOMP_FLAGS_IN(); 4100 /* cmp eax, 0xFFFFFFFFu */ /* 0x4601C394: cmp eax, -1 */ 4101 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFFFu); 4102 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4103 _flag_k = FK_CMP; 4104 if (CMP_NE(_flag_a, _flag_b)) goto L_4601C39C; /* 0x4601C397: jne 0x4601c39c */ 4105 L_4601C399: 4106 MEM8(esi) = (uint8_t)(1); /* 0x4601C399: mov byte ptr [esi], 1 */ 4107 L_4601C39C: 4108 eax = esi; /* 0x4601C39C: mov eax, esi */ 4109 esi = POP32_VAL(esp); /* 0x4601C39E: pop esi */ 4110 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601C39F: ret 4 */ 4111 RECOMP_REGS_OUT(); 4112 } 4113 4114 void sub_4601C3A2(void) { 4115 int _fpu_cmp = 0; 4116 uint32_t _cf = 0; 4117 int _df = 1; 4118 uint32_t _flag_k = FK_NONE; 4119 uint32_t _flag_a = 0, _flag_b = 0; 4120 uint32_t _itail_tgt = 0; 4121 RECOMP_REGS_LOCALS 4122 RECOMP_ENTER(0x4601C3A2u); 4123 4124 L_4601C3A2: 4125 PUSH32(esp, esi); /* 0x4601C3A2: push esi */ 4126 esi = ecx; /* 0x4601C3A3: mov esi, ecx */ 4127 ecx = MEM32(esi + 0x4); /* 0x4601C3A5: mov ecx, dword ptr [esi + 4] */ 4128 /* test ecx, ecx */ /* 0x4601C3A8: test ecx, ecx */ 4129 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 4130 _cf = 0; 4131 _flag_k = FK_TEST; 4132 if (TEST_Z(_flag_a, _flag_b)) goto L_4601C3BB; /* 0x4601C3AA: je 0x4601c3bb */ 4133 L_4601C3AC: 4134 PUSH32(esp, MEM32(esp + 0x8)); /* 0x4601C3AC: push dword ptr [esp + 8] */ 4135 RECOMP_ICALL(0x46002C6Fu); /* 0x4601C3B0: call 0x46002c6f */ /* not lifted */ 4136 RECOMP_FLAGS_IN(); 4137 /* cmp LO16(eax), 0xFFFFu */ /* 0x4601C3B5: cmp ax, 0xffff */ 4138 _flag_a = (uint32_t)(LO16(eax)) << 16; _flag_b = (uint32_t)(0xFFFFu) << 16; 4139 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4140 _flag_k = FK_NARROW(FK_CMP, 16); 4141 if (CMP_NE(_flag_a, _flag_b)) goto L_4601C3BE; /* 0x4601C3B9: jne 0x4601c3be */ 4142 L_4601C3BB: 4143 MEM8(esi) = (uint8_t)(1); /* 0x4601C3BB: mov byte ptr [esi], 1 */ 4144 L_4601C3BE: 4145 eax = esi; /* 0x4601C3BE: mov eax, esi */ 4146 esi = POP32_VAL(esp); /* 0x4601C3C0: pop esi */ 4147 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601C3C1: ret 4 */ 4148 RECOMP_REGS_OUT(); 4149 } 4150 4151 void sub_4601C3C4(void) { 4152 int _fpu_cmp = 0; 4153 uint32_t _cf = 0; 4154 int _df = 1; 4155 uint32_t _flag_k = FK_NONE; 4156 uint32_t _flag_a = 0, _flag_b = 0; 4157 uint32_t _itail_tgt = 0; 4158 RECOMP_REGS_LOCALS 4159 RECOMP_ENTER(0x4601C3C4u); 4160 4161 L_4601C3C4: 4162 PUSH32(esp, ebp); /* 0x4601C3C4: push ebp */ 4163 ebp = esp; /* 0x4601C3C5: mov ebp, esp */ 4164 eax = MEM32(ebp + 0x8); /* 0x4601C3C7: mov eax, dword ptr [ebp + 8] */ 4165 PUSH32(esp, esi); /* 0x4601C3CA: push esi */ 4166 esi = ecx; /* 0x4601C3CB: mov esi, ecx */ 4167 ecx = ebp + 0x8; /* 0x4601C3CD: lea ecx, [ebp + 8] */ 4168 MEM32(esi) = eax; /* 0x4601C3D0: mov dword ptr [esi], eax */ 4169 eax = MEM32(0x4602C330); /* 0x4601C3D2: mov eax, dword ptr [0x4602c330] */ 4170 MEM32(esi + 0x8) = eax; /* 0x4601C3D7: mov dword ptr [esi + 8], eax */ 4171 eax = MEM32(0x4602C334); /* 0x4601C3DA: mov eax, dword ptr [0x4602c334] */ 4172 MEM32(esi + 0xC) = eax; /* 0x4601C3DF: mov dword ptr [esi + 0xc], eax */ 4173 RECOMP_ICALL(0x46001589u); /* 0x4601C3E2: call 0x46001589 */ /* not lifted */ 4174 RECOMP_FLAGS_IN(); 4175 eax = MEM32(0x4605C784); /* 0x4601C3E7: mov eax, dword ptr [0x4605c784] */ 4176 ecx = ebp + 0x8; /* 0x4601C3EC: lea ecx, [ebp + 8] */ 4177 MEM32(esi + 0x10) = eax; /* 0x4601C3EF: mov dword ptr [esi + 0x10], eax */ 4178 RECOMP_ICALL(0x460015FBu); /* 0x4601C3F2: call 0x460015fb */ /* not lifted */ 4179 RECOMP_FLAGS_IN(); 4180 eax = esi; /* 0x4601C3F7: mov eax, esi */ 4181 esi = POP32_VAL(esp); /* 0x4601C3F9: pop esi */ 4182 ebp = POP32_VAL(esp); /* 0x4601C3FA: pop ebp */ 4183 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x4601C3FB: ret 4 */ 4184 RECOMP_REGS_OUT(); 4185 } 4186 4187 void sub_4601C3FE(void) { 4188 int _fpu_cmp = 0; 4189 uint32_t _cf = 0; 4190 int _df = 1; 4191 uint32_t _flag_k = FK_NONE; 4192 uint32_t _flag_a = 0, _flag_b = 0; 4193 uint32_t _itail_tgt = 0; 4194 RECOMP_REGS_LOCALS 4195 RECOMP_ENTER(0x4601C3FEu); 4196 4197 goto L_4601C3FE; 4198 L_460028A5: 4199 esi = POP32_VAL(esp); /* 0x460028A5: pop esi */ 4200 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x460028A6: ret */ 4201 L_4601C3FE: 4202 RECOMP_ICALL(0x4600298Cu); /* 0x4601C3FE: call 0x4600298c */ /* not lifted */ 4203 RECOMP_FLAGS_IN(); 4204 RECOMP_BACKEDGE(); 4205 goto L_460028A5; /* 0x4601C403: jmp 0x460028a5 */ 4206 { RECOMP_REGS_OUT(); return; } /* end of function */ 4207 RECOMP_REGS_OUT(); 4208 }