client/game/kkr.dll/lifted-0044.c (646228B)
1 #define RECOMP_GENERATED_CODE 2 #include "recomp_types.h" 3 #include <math.h> 4 #include <stdio.h> 5 #include <stdlib.h> 6 #include <string.h> 7 8 void sub_36093A60(void) { 9 int _fpu_cmp = 0; 10 uint32_t _cf = 0; 11 int _df = 1; 12 uint32_t _flag_k = FK_NONE; 13 uint32_t _flag_a = 0, _flag_b = 0; 14 uint32_t _itail_tgt = 0; 15 RECOMP_REGS_LOCALS 16 RECOMP_ENTER(0x36093A60u); 17 18 L_36093A60: 19 eax = MEM32(ecx); /* 0x36093A60: mov eax, dword ptr [ecx] */ 20 edx = MEM32(eax + 0x8); /* 0x36093A62: mov edx, dword ptr [eax + 8] */ 21 PUSH32(esp, ebx); /* 0x36093A65: push ebx */ 22 SET_LO8(ebx, MEM8(edx + 0x25)); /* 0x36093A66: mov bl, byte ptr [edx + 0x25] */ 23 /* test LO8(ebx), LO8(ebx) */ /* 0x36093A69: test bl, bl */ 24 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 25 _cf = 0; 26 _flag_k = FK_NARROW(FK_TEST, 24); 27 if (TEST_NZ(_flag_a, _flag_b)) goto L_36093A85; /* 0x36093A6B: jne 0x36093a85 */ 28 L_36093A6D: 29 eax = MEM32(edx); /* 0x36093A6D: mov eax, dword ptr [edx] */ 30 SET_LO8(ebx, MEM8(eax + 0x25)); /* 0x36093A6F: mov bl, byte ptr [eax + 0x25] */ 31 /* test LO8(ebx), LO8(ebx) */ /* 0x36093A72: test bl, bl */ 32 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 33 _cf = 0; 34 _flag_k = FK_NARROW(FK_TEST, 24); 35 if (TEST_NZ(_flag_a, _flag_b)) goto L_36093A81; /* 0x36093A74: jne 0x36093a81 */ 36 L_36093A76: 37 edx = eax; /* 0x36093A76: mov edx, eax */ 38 eax = MEM32(edx); /* 0x36093A78: mov eax, dword ptr [edx] */ 39 SET_LO8(ebx, MEM8(eax + 0x25)); /* 0x36093A7A: mov bl, byte ptr [eax + 0x25] */ 40 /* test LO8(ebx), LO8(ebx) */ /* 0x36093A7D: test bl, bl */ 41 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 42 _cf = 0; 43 _flag_k = FK_NARROW(FK_TEST, 24); 44 RECOMP_BACKEDGE(); 45 if (TEST_Z(_flag_a, _flag_b)) goto L_36093A76; /* 0x36093A7F: je 0x36093a76 */ 46 L_36093A81: 47 MEM32(ecx) = edx; /* 0x36093A81: mov dword ptr [ecx], edx */ 48 ebx = POP32_VAL(esp); /* 0x36093A83: pop ebx */ 49 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36093A84: ret */ 50 L_36093A85: 51 eax = MEM32(eax + 0x4); /* 0x36093A85: mov eax, dword ptr [eax + 4] */ 52 edx = MEM32(ecx); /* 0x36093A88: mov edx, dword ptr [ecx] */ 53 /* cmp edx, MEM32(eax + 0x8) */ /* 0x36093A8A: cmp edx, dword ptr [eax + 8] */ 54 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 55 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 56 _flag_k = FK_CMP; 57 if (CMP_NE(_flag_a, _flag_b)) goto L_36093A9B; /* 0x36093A8D: jne 0x36093a9b */ 58 L_36093A8F: 59 MEM32(ecx) = eax; /* 0x36093A8F: mov dword ptr [ecx], eax */ 60 eax = MEM32(eax + 0x4); /* 0x36093A91: mov eax, dword ptr [eax + 4] */ 61 edx = MEM32(ecx); /* 0x36093A94: mov edx, dword ptr [ecx] */ 62 /* cmp edx, MEM32(eax + 0x8) */ /* 0x36093A96: cmp edx, dword ptr [eax + 8] */ 63 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 64 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 65 _flag_k = FK_CMP; 66 RECOMP_BACKEDGE(); 67 if (CMP_EQ(_flag_a, _flag_b)) goto L_36093A8F; /* 0x36093A99: je 0x36093a8f */ 68 L_36093A9B: 69 edx = MEM32(ecx); /* 0x36093A9B: mov edx, dword ptr [ecx] */ 70 /* cmp MEM32(edx + 0x8), eax */ /* 0x36093A9D: cmp dword ptr [edx + 8], eax */ 71 _flag_a = (uint32_t)(MEM32(edx + 0x8)); _flag_b = (uint32_t)(eax); 72 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 73 _flag_k = FK_CMP; 74 if (CMP_EQ(_flag_a, _flag_b)) goto L_36093AA4; /* 0x36093AA0: je 0x36093aa4 */ 75 L_36093AA2: 76 MEM32(ecx) = eax; /* 0x36093AA2: mov dword ptr [ecx], eax */ 77 L_36093AA4: 78 ebx = POP32_VAL(esp); /* 0x36093AA4: pop ebx */ 79 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36093AA5: ret */ 80 RECOMP_REGS_OUT(); 81 } 82 83 void sub_36093AB0(void) { 84 int _fpu_cmp = 0; 85 uint32_t _cf = 0; 86 int _df = 1; 87 uint32_t _flag_k = FK_NONE; 88 uint32_t _flag_a = 0, _flag_b = 0; 89 uint32_t _itail_tgt = 0; 90 RECOMP_REGS_LOCALS 91 RECOMP_ENTER(0x36093AB0u); 92 93 L_36093AB0: 94 PUSH32(esp, ebp); /* 0x36093AB0: push ebp */ 95 ebp = esp; /* 0x36093AB1: mov ebp, esp */ 96 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 97 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 98 esp = esp - 0xCu; /* 0x36093AB3: sub esp, 0xc */ 99 _flag_k = FK_CMP; 100 PUSH32(esp, ebx); /* 0x36093AB6: push ebx */ 101 PUSH32(esp, esi); /* 0x36093AB7: push esi */ 102 esi = ecx; /* 0x36093AB8: mov esi, ecx */ 103 edx = MEM32(esi + 0x4); /* 0x36093ABA: mov edx, dword ptr [esi + 4] */ 104 ecx = MEM32(esi + 0xC); /* 0x36093ABD: mov ecx, dword ptr [esi + 0xc] */ 105 PUSH32(esp, edi); /* 0x36093AC0: push edi */ 106 edi = MEM32(ebp + 0x8); /* 0x36093AC1: mov edi, dword ptr [ebp + 8] */ 107 eax = edi; /* 0x36093AC4: mov eax, edi */ 108 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 109 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 110 eax = eax - edx; /* 0x36093AC6: sub eax, edx */ 111 _flag_k = FK_CMP; 112 if (4u) _cf = (((eax) >> 3) & 1u); /* 0x36093AC8: sar eax, 4 */ 113 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 114 eax = (uint32_t)((int32_t)eax >> 4u); 115 MEM32(ebp + (-0xC)) = eax; /* 0x36093ACB: mov dword ptr [ebp - 0xc], eax */ 116 eax = MEM32(esi + 0x8); /* 0x36093ACE: mov eax, dword ptr [esi + 8] */ 117 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 118 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 119 ecx = ecx - eax; /* 0x36093AD1: sub ecx, eax */ 120 _flag_k = FK_CMP; 121 if (4u) _cf = (((ecx) >> 3) & 1u); /* 0x36093AD3: sar ecx, 4 */ 122 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 123 ecx = (uint32_t)((int32_t)ecx >> 4u); 124 /* cmp ecx, 1 */ /* 0x36093AD6: cmp ecx, 1 */ 125 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 126 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 127 _flag_k = FK_CMP; 128 if (CMP_AE(_flag_a, _flag_b)) goto L_36093BB4; /* 0x36093AD9: jae 0x36093bb4 */ 129 L_36093ADF: 130 /* test edx, edx */ /* 0x36093ADF: test edx, edx */ 131 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 132 _cf = 0; 133 _flag_k = FK_TEST; 134 if (TEST_Z(_flag_a, _flag_b)) goto L_36093AEF; /* 0x36093AE1: je 0x36093aef */ 135 L_36093AE3: 136 ecx = eax; /* 0x36093AE3: mov ecx, eax */ 137 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 138 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 139 ecx = ecx - edx; /* 0x36093AE5: sub ecx, edx */ 140 _flag_k = FK_CMP; 141 if (4u) _cf = (((ecx) >> 3) & 1u); /* 0x36093AE7: sar ecx, 4 */ 142 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 143 ecx = (uint32_t)((int32_t)ecx >> 4u); 144 /* cmp ecx, 1 */ /* 0x36093AEA: cmp ecx, 1 */ 145 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 146 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 147 _flag_k = FK_CMP; 148 if (CMP_A(_flag_a, _flag_b)) goto L_36093AF4; /* 0x36093AED: ja 0x36093af4 */ 149 L_36093AEF: 150 ecx = 1; /* 0x36093AEF: mov ecx, 1 */ 151 L_36093AF4: 152 /* test edx, edx */ /* 0x36093AF4: test edx, edx */ 153 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edx); 154 _cf = 0; 155 _flag_k = FK_TEST; 156 if (TEST_NZ(_flag_a, _flag_b)) goto L_36093AFC; /* 0x36093AF6: jne 0x36093afc */ 157 L_36093AF8: 158 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 159 eax = 0; /* 0x36093AF8: xor eax, eax */ 160 _cf = 0; 161 _flag_k = FK_TEST; 162 goto L_36093B01; /* 0x36093AFA: jmp 0x36093b01 */ 163 L_36093AFC: 164 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edx); 165 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 166 eax = eax - edx; /* 0x36093AFC: sub eax, edx */ 167 _flag_k = FK_CMP; 168 if (4u) _cf = (((eax) >> 3) & 1u); /* 0x36093AFE: sar eax, 4 */ 169 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)eax >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 170 eax = (uint32_t)((int32_t)eax >> 4u); 171 L_36093B01: 172 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 173 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 174 eax = eax + ecx; /* 0x36093B01: add eax, ecx */ 175 _flag_k = FK_ADD; 176 /* test eax, eax */ /* 0x36093B03: test eax, eax */ 177 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 178 _cf = 0; 179 _flag_k = FK_TEST; 180 MEM32(ebp + (-0x4)) = eax; /* 0x36093B05: mov dword ptr [ebp - 4], eax */ 181 if (TEST_NS(_flag_a, _flag_b)) goto L_36093B0C; /* 0x36093B08: jge 0x36093b0c */ 182 L_36093B0A: 183 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 184 eax = 0; /* 0x36093B0A: xor eax, eax */ 185 _cf = 0; 186 _flag_k = FK_TEST; 187 L_36093B0C: 188 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x36093B0C: shl eax, 4 */ 189 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 190 eax = eax << 4u; /* 0x36093B0C: shl eax, 4 */ 191 PUSH32(esp, eax); /* 0x36093B0F: push eax */ 192 RECOMP_ICALL(0x3615FD6Au); /* 0x36093B10: call 0x3615fd6a */ /* not lifted */ 193 RECOMP_FLAGS_IN(); 194 ebx = MEM32(esi + 0x4); /* 0x36093B15: mov ebx, dword ptr [esi + 4] */ 195 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 196 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 197 esp = esp + 4; /* 0x36093B18: add esp, 4 */ 198 _flag_k = FK_ADD; 199 /* cmp ebx, edi */ /* 0x36093B1B: cmp ebx, edi */ 200 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edi); 201 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 202 _flag_k = FK_CMP; 203 MEM32(ebp + (-0x8)) = eax; /* 0x36093B1D: mov dword ptr [ebp - 8], eax */ 204 MEM32(ebp + 0x8) = eax; /* 0x36093B20: mov dword ptr [ebp + 8], eax */ 205 if (CMP_EQ(_flag_a, _flag_b)) goto L_36093B42; /* 0x36093B23: je 0x36093b42 */ 206 L_36093B25: 207 edx = MEM32(ebp + 0x8); /* 0x36093B25: mov edx, dword ptr [ebp + 8] */ 208 PUSH32(esp, ebx); /* 0x36093B28: push ebx */ 209 PUSH32(esp, edx); /* 0x36093B29: push edx */ 210 RECOMP_ICALL(0x36094960u); /* 0x36093B2A: call 0x36094960 */ /* not lifted */ 211 RECOMP_FLAGS_IN(); 212 edx = MEM32(ebp + 0x8); /* 0x36093B2F: mov edx, dword ptr [ebp + 8] */ 213 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x10u); 214 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 215 edx = edx + 0x10u; /* 0x36093B32: add edx, 0x10 */ 216 _flag_k = FK_ADD; 217 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(0x10u); 218 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 219 ebx = ebx + 0x10u; /* 0x36093B35: add ebx, 0x10 */ 220 _flag_k = FK_ADD; 221 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 222 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 223 esp = esp + 8; /* 0x36093B38: add esp, 8 */ 224 _flag_k = FK_ADD; 225 /* cmp ebx, edi */ /* 0x36093B3B: cmp ebx, edi */ 226 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(edi); 227 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 228 _flag_k = FK_CMP; 229 MEM32(ebp + 0x8) = edx; /* 0x36093B3D: mov dword ptr [ebp + 8], edx */ 230 RECOMP_BACKEDGE(); 231 if (CMP_NE(_flag_a, _flag_b)) goto L_36093B25; /* 0x36093B40: jne 0x36093b25 */ 232 L_36093B42: 233 eax = MEM32(ebp + 0xC); /* 0x36093B42: mov eax, dword ptr [ebp + 0xc] */ 234 ecx = MEM32(ebp + 0x8); /* 0x36093B45: mov ecx, dword ptr [ebp + 8] */ 235 PUSH32(esp, eax); /* 0x36093B48: push eax */ 236 PUSH32(esp, ecx); /* 0x36093B49: push ecx */ 237 RECOMP_ICALL(0x36094960u); /* 0x36093B4A: call 0x36094960 */ /* not lifted */ 238 RECOMP_FLAGS_IN(); 239 edx = MEM32(ebp + 0x8); /* 0x36093B4F: mov edx, dword ptr [ebp + 8] */ 240 eax = MEM32(esi + 0x8); /* 0x36093B52: mov eax, dword ptr [esi + 8] */ 241 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 242 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 243 esp = esp + 8; /* 0x36093B55: add esp, 8 */ 244 _flag_k = FK_ADD; 245 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(0x10u); 246 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 247 edx = edx + 0x10u; /* 0x36093B58: add edx, 0x10 */ 248 _flag_k = FK_ADD; 249 PUSH32(esp, edx); /* 0x36093B5B: push edx */ 250 PUSH32(esp, eax); /* 0x36093B5C: push eax */ 251 PUSH32(esp, edi); /* 0x36093B5D: push edi */ 252 ecx = esi; /* 0x36093B5E: mov ecx, esi */ 253 RECOMP_ICALL(0x36093CB0u); /* 0x36093B60: call 0x36093cb0 */ /* not lifted */ 254 RECOMP_FLAGS_IN(); 255 ecx = MEM32(esi + 0x8); /* 0x36093B65: mov ecx, dword ptr [esi + 8] */ 256 edx = MEM32(esi + 0x4); /* 0x36093B68: mov edx, dword ptr [esi + 4] */ 257 PUSH32(esp, ecx); /* 0x36093B6B: push ecx */ 258 PUSH32(esp, edx); /* 0x36093B6C: push edx */ 259 ecx = esi; /* 0x36093B6D: mov ecx, esi */ 260 RECOMP_ICALL(0x3610ED60u); /* 0x36093B6F: call 0x3610ed60 */ /* not lifted */ 261 RECOMP_FLAGS_IN(); 262 eax = MEM32(esi + 0x4); /* 0x36093B74: mov eax, dword ptr [esi + 4] */ 263 PUSH32(esp, eax); /* 0x36093B77: push eax */ 264 RECOMP_ICALL(0x3615FCC4u); /* 0x36093B78: call 0x3615fcc4 */ /* not lifted */ 265 RECOMP_FLAGS_IN(); 266 eax = MEM32(ebp + (-0x4)); /* 0x36093B7D: mov eax, dword ptr [ebp - 4] */ 267 edi = MEM32(ebp + (-0x8)); /* 0x36093B80: mov edi, dword ptr [ebp - 8] */ 268 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x36093B83: shl eax, 4 */ 269 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 270 eax = eax << 4u; /* 0x36093B83: shl eax, 4 */ 271 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 272 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 273 eax = eax + edi; /* 0x36093B86: add eax, edi */ 274 _flag_k = FK_ADD; 275 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 276 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 277 esp = esp + 4; /* 0x36093B88: add esp, 4 */ 278 _flag_k = FK_ADD; 279 ecx = esi; /* 0x36093B8B: mov ecx, esi */ 280 MEM32(esi + 0xC) = eax; /* 0x36093B8D: mov dword ptr [esi + 0xc], eax */ 281 RECOMP_ICALL(0x36029B00u); /* 0x36093B90: call 0x36029b00 */ /* not lifted */ 282 RECOMP_FLAGS_IN(); 283 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 284 eax = eax + 1; /* 0x36093B95: inc eax */ 285 _flag_k = FK_INC; 286 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x36093B96: shl eax, 4 */ 287 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 288 eax = eax << 4u; /* 0x36093B96: shl eax, 4 */ 289 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 290 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 291 eax = eax + edi; /* 0x36093B99: add eax, edi */ 292 _flag_k = FK_ADD; 293 MEM32(esi + 0x8) = eax; /* 0x36093B9B: mov dword ptr [esi + 8], eax */ 294 eax = MEM32(ebp + (-0xC)); /* 0x36093B9E: mov eax, dword ptr [ebp - 0xc] */ 295 MEM32(esi + 0x4) = edi; /* 0x36093BA1: mov dword ptr [esi + 4], edi */ 296 ecx = edi; /* 0x36093BA4: mov ecx, edi */ 297 edi = POP32_VAL(esp); /* 0x36093BA6: pop edi */ 298 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x36093BA7: shl eax, 4 */ 299 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 300 eax = eax << 4u; /* 0x36093BA7: shl eax, 4 */ 301 esi = POP32_VAL(esp); /* 0x36093BAA: pop esi */ 302 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 303 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 304 eax = eax + ecx; /* 0x36093BAB: add eax, ecx */ 305 _flag_k = FK_ADD; 306 ebx = POP32_VAL(esp); /* 0x36093BAD: pop ebx */ 307 esp = ebp; /* 0x36093BAE: mov esp, ebp */ 308 ebp = POP32_VAL(esp); /* 0x36093BB0: pop ebp */ 309 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x36093BB1: ret 8 */ 310 L_36093BB4: 311 ecx = eax; /* 0x36093BB4: mov ecx, eax */ 312 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edi); 313 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 314 ecx = ecx - edi; /* 0x36093BB6: sub ecx, edi */ 315 _flag_k = FK_CMP; 316 if (4u) _cf = (((ecx) >> 3) & 1u); /* 0x36093BB8: sar ecx, 4 */ 317 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)ecx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 318 ecx = (uint32_t)((int32_t)ecx >> 4u); 319 /* cmp ecx, 1 */ /* 0x36093BBB: cmp ecx, 1 */ 320 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 321 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 322 _flag_k = FK_CMP; 323 if (CMP_AE(_flag_a, _flag_b)) goto L_36093C1A; /* 0x36093BBE: jae 0x36093c1a */ 324 L_36093BC0: 325 edx = edi + 0x10; /* 0x36093BC0: lea edx, [edi + 0x10] */ 326 PUSH32(esp, edx); /* 0x36093BC3: push edx */ 327 PUSH32(esp, eax); /* 0x36093BC4: push eax */ 328 PUSH32(esp, edi); /* 0x36093BC5: push edi */ 329 ecx = esi; /* 0x36093BC6: mov ecx, esi */ 330 RECOMP_ICALL(0x36093CB0u); /* 0x36093BC8: call 0x36093cb0 */ /* not lifted */ 331 RECOMP_FLAGS_IN(); 332 eax = MEM32(esi + 0x8); /* 0x36093BCD: mov eax, dword ptr [esi + 8] */ 333 ecx = MEM32(ebp + 0xC); /* 0x36093BD0: mov ecx, dword ptr [ebp + 0xc] */ 334 PUSH32(esp, ecx); /* 0x36093BD3: push ecx */ 335 edx = eax; /* 0x36093BD4: mov edx, eax */ 336 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(edi); 337 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 338 edx = edx - edi; /* 0x36093BD6: sub edx, edi */ 339 _flag_k = FK_CMP; 340 if (4u) _cf = (((edx) >> 3) & 1u); /* 0x36093BD8: sar edx, 4 */ 341 if (4u) { _flag_a = recomp_flags_pack(((uint32_t)((int32_t)edx >> 4u)), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 342 edx = (uint32_t)((int32_t)edx >> 4u); 343 ecx = 1; /* 0x36093BDB: mov ecx, 1 */ 344 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 345 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 346 ecx = ecx - edx; /* 0x36093BE0: sub ecx, edx */ 347 _flag_k = FK_CMP; 348 PUSH32(esp, ecx); /* 0x36093BE2: push ecx */ 349 PUSH32(esp, eax); /* 0x36093BE3: push eax */ 350 ecx = esi; /* 0x36093BE4: mov ecx, esi */ 351 RECOMP_ICALL(0x36094850u); /* 0x36093BE6: call 0x36094850 */ /* not lifted */ 352 RECOMP_FLAGS_IN(); 353 eax = MEM32(esi + 0x8); /* 0x36093BEB: mov eax, dword ptr [esi + 8] */ 354 /* cmp edi, eax */ /* 0x36093BEE: cmp edi, eax */ 355 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 356 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 357 _flag_k = FK_CMP; 358 if (CMP_EQ(_flag_a, _flag_b)) goto L_36093C84; /* 0x36093BF0: je 0x36093c84 */ 359 L_36093BF6: 360 edx = MEM32(ebp + 0xC); /* 0x36093BF6: mov edx, dword ptr [ebp + 0xc] */ 361 ebx = MEM32(edx); /* 0x36093BF9: mov ebx, dword ptr [edx] */ 362 ecx = edi; /* 0x36093BFB: mov ecx, edi */ 363 MEM32(ecx) = ebx; /* 0x36093BFD: mov dword ptr [ecx], ebx */ 364 ebx = MEM32(edx + 0x4); /* 0x36093BFF: mov ebx, dword ptr [edx + 4] */ 365 MEM32(ecx + 0x4) = ebx; /* 0x36093C02: mov dword ptr [ecx + 4], ebx */ 366 ebx = MEM32(edx + 0x8); /* 0x36093C05: mov ebx, dword ptr [edx + 8] */ 367 MEM32(ecx + 0x8) = ebx; /* 0x36093C08: mov dword ptr [ecx + 8], ebx */ 368 edx = MEM32(edx + 0xC); /* 0x36093C0B: mov edx, dword ptr [edx + 0xc] */ 369 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 370 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 371 edi = edi + 0x10u; /* 0x36093C0E: add edi, 0x10 */ 372 _flag_k = FK_ADD; 373 /* cmp edi, eax */ /* 0x36093C11: cmp edi, eax */ 374 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 375 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 376 _flag_k = FK_CMP; 377 MEM32(ecx + 0xC) = edx; /* 0x36093C13: mov dword ptr [ecx + 0xc], edx */ 378 RECOMP_BACKEDGE(); 379 if (CMP_NE(_flag_a, _flag_b)) goto L_36093BF6; /* 0x36093C16: jne 0x36093bf6 */ 380 L_36093C18: 381 goto L_36093C84; /* 0x36093C18: jmp 0x36093c84 */ 382 L_36093C1A: 383 PUSH32(esp, eax); /* 0x36093C1A: push eax */ 384 PUSH32(esp, eax); /* 0x36093C1B: push eax */ 385 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xFFFFFFF0u); 386 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 387 eax = eax + 0xFFFFFFF0u; /* 0x36093C1C: add eax, -0x10 */ 388 _flag_k = FK_ADD; 389 PUSH32(esp, eax); /* 0x36093C1F: push eax */ 390 ecx = esi; /* 0x36093C20: mov ecx, esi */ 391 RECOMP_ICALL(0x36093CB0u); /* 0x36093C22: call 0x36093cb0 */ /* not lifted */ 392 RECOMP_FLAGS_IN(); 393 ecx = MEM32(esi + 0x8); /* 0x36093C27: mov ecx, dword ptr [esi + 8] */ 394 eax = ecx + (-0x10); /* 0x36093C2A: lea eax, [ecx - 0x10] */ 395 /* cmp edi, eax */ /* 0x36093C2D: cmp edi, eax */ 396 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 397 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 398 _flag_k = FK_CMP; 399 if (CMP_EQ(_flag_a, _flag_b)) goto L_36093C5B; /* 0x36093C2F: je 0x36093c5b */ 400 L_36093C31: 401 goto L_36093C36; /* 0x36093C31: jmp 0x36093c36 */ 402 L_36093C33: 403 ecx = MEM32(ebp + 0x8); /* 0x36093C33: mov ecx, dword ptr [ebp + 8] */ 404 L_36093C36: 405 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x10u); 406 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 407 eax = eax - 0x10u; /* 0x36093C36: sub eax, 0x10 */ 408 _flag_k = FK_CMP; 409 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x10u); 410 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 411 ecx = ecx - 0x10u; /* 0x36093C39: sub ecx, 0x10 */ 412 _flag_k = FK_CMP; 413 /* cmp eax, edi */ /* 0x36093C3C: cmp eax, edi */ 414 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 415 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 416 _flag_k = FK_CMP; 417 edx = eax; /* 0x36093C3E: mov edx, eax */ 418 ebx = MEM32(edx); /* 0x36093C40: mov ebx, dword ptr [edx] */ 419 MEM32(ebp + 0x8) = ecx; /* 0x36093C42: mov dword ptr [ebp + 8], ecx */ 420 MEM32(ecx) = ebx; /* 0x36093C45: mov dword ptr [ecx], ebx */ 421 ebx = MEM32(edx + 0x4); /* 0x36093C47: mov ebx, dword ptr [edx + 4] */ 422 MEM32(ecx + 0x4) = ebx; /* 0x36093C4A: mov dword ptr [ecx + 4], ebx */ 423 ebx = MEM32(edx + 0x8); /* 0x36093C4D: mov ebx, dword ptr [edx + 8] */ 424 MEM32(ecx + 0x8) = ebx; /* 0x36093C50: mov dword ptr [ecx + 8], ebx */ 425 edx = MEM32(edx + 0xC); /* 0x36093C53: mov edx, dword ptr [edx + 0xc] */ 426 MEM32(ecx + 0xC) = edx; /* 0x36093C56: mov dword ptr [ecx + 0xc], edx */ 427 RECOMP_BACKEDGE(); 428 if (CMP_NE(_flag_a, _flag_b)) goto L_36093C33; /* 0x36093C59: jne 0x36093c33 */ 429 L_36093C5B: 430 eax = edi + 0x10; /* 0x36093C5B: lea eax, [edi + 0x10] */ 431 /* cmp edi, eax */ /* 0x36093C5E: cmp edi, eax */ 432 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 433 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 434 _flag_k = FK_CMP; 435 if (CMP_EQ(_flag_a, _flag_b)) goto L_36093C84; /* 0x36093C60: je 0x36093c84 */ 436 L_36093C62: 437 ecx = MEM32(ebp + 0xC); /* 0x36093C62: mov ecx, dword ptr [ebp + 0xc] */ 438 ebx = MEM32(ecx); /* 0x36093C65: mov ebx, dword ptr [ecx] */ 439 edx = edi; /* 0x36093C67: mov edx, edi */ 440 MEM32(edx) = ebx; /* 0x36093C69: mov dword ptr [edx], ebx */ 441 ebx = MEM32(ecx + 0x4); /* 0x36093C6B: mov ebx, dword ptr [ecx + 4] */ 442 MEM32(edx + 0x4) = ebx; /* 0x36093C6E: mov dword ptr [edx + 4], ebx */ 443 ebx = MEM32(ecx + 0x8); /* 0x36093C71: mov ebx, dword ptr [ecx + 8] */ 444 MEM32(edx + 0x8) = ebx; /* 0x36093C74: mov dword ptr [edx + 8], ebx */ 445 ecx = MEM32(ecx + 0xC); /* 0x36093C77: mov ecx, dword ptr [ecx + 0xc] */ 446 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 447 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 448 edi = edi + 0x10u; /* 0x36093C7A: add edi, 0x10 */ 449 _flag_k = FK_ADD; 450 /* cmp edi, eax */ /* 0x36093C7D: cmp edi, eax */ 451 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 452 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 453 _flag_k = FK_CMP; 454 MEM32(edx + 0xC) = ecx; /* 0x36093C7F: mov dword ptr [edx + 0xc], ecx */ 455 RECOMP_BACKEDGE(); 456 if (CMP_NE(_flag_a, _flag_b)) goto L_36093C62; /* 0x36093C82: jne 0x36093c62 */ 457 L_36093C84: 458 eax = MEM32(esi + 0x8); /* 0x36093C84: mov eax, dword ptr [esi + 8] */ 459 ecx = MEM32(esi + 0x4); /* 0x36093C87: mov ecx, dword ptr [esi + 4] */ 460 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x10u); 461 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 462 eax = eax + 0x10u; /* 0x36093C8A: add eax, 0x10 */ 463 _flag_k = FK_ADD; 464 MEM32(esi + 0x8) = eax; /* 0x36093C8D: mov dword ptr [esi + 8], eax */ 465 eax = MEM32(ebp + (-0xC)); /* 0x36093C90: mov eax, dword ptr [ebp - 0xc] */ 466 edi = POP32_VAL(esp); /* 0x36093C93: pop edi */ 467 if (4u) _cf = (((eax) >> 28) & 1u); /* 0x36093C94: shl eax, 4 */ 468 if (4u) { _flag_a = recomp_flags_pack((eax << 4u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 469 eax = eax << 4u; /* 0x36093C94: shl eax, 4 */ 470 esi = POP32_VAL(esp); /* 0x36093C97: pop esi */ 471 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 472 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 473 eax = eax + ecx; /* 0x36093C98: add eax, ecx */ 474 _flag_k = FK_ADD; 475 ebx = POP32_VAL(esp); /* 0x36093C9A: pop ebx */ 476 esp = ebp; /* 0x36093C9B: mov esp, ebp */ 477 ebp = POP32_VAL(esp); /* 0x36093C9D: pop ebp */ 478 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x36093C9E: ret 8 */ 479 RECOMP_REGS_OUT(); 480 } 481 482 void sub_36093CB0(void) { 483 int _fpu_cmp = 0; 484 uint32_t _cf = 0; 485 int _df = 1; 486 uint32_t _flag_k = FK_NONE; 487 uint32_t _flag_a = 0, _flag_b = 0; 488 uint32_t _itail_tgt = 0; 489 RECOMP_REGS_LOCALS 490 RECOMP_ENTER(0x36093CB0u); 491 492 L_36093CB0: 493 PUSH32(esp, ebp); /* 0x36093CB0: push ebp */ 494 ebp = esp; /* 0x36093CB1: mov ebp, esp */ 495 PUSH32(esp, ebx); /* 0x36093CB3: push ebx */ 496 ebx = MEM32(ebp + 0xC); /* 0x36093CB4: mov ebx, dword ptr [ebp + 0xc] */ 497 PUSH32(esp, esi); /* 0x36093CB7: push esi */ 498 esi = MEM32(ebp + 0x8); /* 0x36093CB8: mov esi, dword ptr [ebp + 8] */ 499 /* cmp esi, ebx */ /* 0x36093CBB: cmp esi, ebx */ 500 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 501 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 502 _flag_k = FK_CMP; 503 if (CMP_EQ(_flag_a, _flag_b)) goto L_36093CE0; /* 0x36093CBD: je 0x36093ce0 */ 504 L_36093CBF: 505 PUSH32(esp, edi); /* 0x36093CBF: push edi */ 506 edi = MEM32(ebp + 0x10); /* 0x36093CC0: mov edi, dword ptr [ebp + 0x10] */ 507 L_36093CC3: 508 PUSH32(esp, esi); /* 0x36093CC3: push esi */ 509 PUSH32(esp, edi); /* 0x36093CC4: push edi */ 510 RECOMP_ICALL(0x36094960u); /* 0x36093CC5: call 0x36094960 */ /* not lifted */ 511 RECOMP_FLAGS_IN(); 512 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 513 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 514 esi = esi + 0x10u; /* 0x36093CCA: add esi, 0x10 */ 515 _flag_k = FK_ADD; 516 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 517 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 518 esp = esp + 8; /* 0x36093CCD: add esp, 8 */ 519 _flag_k = FK_ADD; 520 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x10u); 521 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 522 edi = edi + 0x10u; /* 0x36093CD0: add edi, 0x10 */ 523 _flag_k = FK_ADD; 524 /* cmp esi, ebx */ /* 0x36093CD3: cmp esi, ebx */ 525 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(ebx); 526 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 527 _flag_k = FK_CMP; 528 RECOMP_BACKEDGE(); 529 if (CMP_NE(_flag_a, _flag_b)) goto L_36093CC3; /* 0x36093CD5: jne 0x36093cc3 */ 530 L_36093CD7: 531 eax = edi; /* 0x36093CD7: mov eax, edi */ 532 edi = POP32_VAL(esp); /* 0x36093CD9: pop edi */ 533 esi = POP32_VAL(esp); /* 0x36093CDA: pop esi */ 534 ebx = POP32_VAL(esp); /* 0x36093CDB: pop ebx */ 535 ebp = POP32_VAL(esp); /* 0x36093CDC: pop ebp */ 536 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x36093CDD: ret 0xc */ 537 L_36093CE0: 538 eax = MEM32(ebp + 0x10); /* 0x36093CE0: mov eax, dword ptr [ebp + 0x10] */ 539 esi = POP32_VAL(esp); /* 0x36093CE3: pop esi */ 540 ebx = POP32_VAL(esp); /* 0x36093CE4: pop ebx */ 541 ebp = POP32_VAL(esp); /* 0x36093CE5: pop ebp */ 542 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x36093CE6: ret 0xc */ 543 RECOMP_REGS_OUT(); 544 } 545 546 void sub_36093CF0(void) { 547 int _fpu_cmp = 0; 548 uint32_t _cf = 0; 549 int _df = 1; 550 uint32_t _flag_k = FK_NONE; 551 uint32_t _flag_a = 0, _flag_b = 0; 552 uint32_t _itail_tgt = 0; 553 RECOMP_REGS_LOCALS 554 RECOMP_ENTER(0x36093CF0u); 555 556 L_36093CF0: 557 PUSH32(esp, ebp); /* 0x36093CF0: push ebp */ 558 ebp = esp; /* 0x36093CF1: mov ebp, esp */ 559 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 560 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 561 esp = esp - 0xCu; /* 0x36093CF3: sub esp, 0xc */ 562 _flag_k = FK_CMP; 563 PUSH32(esp, ebx); /* 0x36093CF6: push ebx */ 564 PUSH32(esp, esi); /* 0x36093CF7: push esi */ 565 PUSH32(esp, edi); /* 0x36093CF8: push edi */ 566 edi = ecx; /* 0x36093CF9: mov edi, ecx */ 567 esi = MEM32(edi + 0x4); /* 0x36093CFB: mov esi, dword ptr [edi + 4] */ 568 ebx = MEM32(esi + 0x4); /* 0x36093CFE: mov ebx, dword ptr [esi + 4] */ 569 /* cmp ebx, MEM32(edi + 0x8) */ /* 0x36093D01: cmp ebx, dword ptr [edi + 8] */ 570 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 571 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 572 _flag_k = FK_CMP; 573 SET_LO8(eax, 1); /* 0x36093D04: mov al, 1 */ 574 if (CMP_EQ(_flag_a, _flag_b)) goto L_36093D26; /* 0x36093D06: je 0x36093d26 */ 575 L_36093D08: 576 ecx = MEM32(ebp + 0xC); /* 0x36093D08: mov ecx, dword ptr [ebp + 0xc] */ 577 eax = ebx + 0xC; /* 0x36093D0B: lea eax, [ebx + 0xc] */ 578 PUSH32(esp, eax); /* 0x36093D0E: push eax */ 579 esi = ebx; /* 0x36093D0F: mov esi, ebx */ 580 RECOMP_ICALL(0x3603F770u); /* 0x36093D11: call 0x3603f770 */ /* not lifted */ 581 RECOMP_FLAGS_IN(); 582 /* test LO8(eax), LO8(eax) */ /* 0x36093D16: test al, al */ 583 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 584 _cf = 0; 585 _flag_k = FK_NARROW(FK_TEST, 24); 586 if (TEST_Z(_flag_a, _flag_b)) goto L_36093D1E; /* 0x36093D18: je 0x36093d1e */ 587 L_36093D1A: 588 ebx = MEM32(ebx); /* 0x36093D1A: mov ebx, dword ptr [ebx] */ 589 goto L_36093D21; /* 0x36093D1C: jmp 0x36093d21 */ 590 L_36093D1E: 591 ebx = MEM32(ebx + 0x8); /* 0x36093D1E: mov ebx, dword ptr [ebx + 8] */ 592 L_36093D21: 593 /* cmp ebx, MEM32(edi + 0x8) */ /* 0x36093D21: cmp ebx, dword ptr [edi + 8] */ 594 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 595 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 596 _flag_k = FK_CMP; 597 RECOMP_BACKEDGE(); 598 if (CMP_NE(_flag_a, _flag_b)) goto L_36093D08; /* 0x36093D24: jne 0x36093d08 */ 599 L_36093D26: 600 SET_LO8(ecx, MEM8(edi + 0xC)); /* 0x36093D26: mov cl, byte ptr [edi + 0xc] */ 601 /* test LO8(ecx), LO8(ecx) */ /* 0x36093D29: test cl, cl */ 602 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 603 _cf = 0; 604 _flag_k = FK_NARROW(FK_TEST, 24); 605 if (TEST_Z(_flag_a, _flag_b)) goto L_36093EA7; /* 0x36093D2B: je 0x36093ea7 */ 606 L_36093D31: 607 PUSH32(esp, 0); /* 0x36093D31: push 0 */ 608 PUSH32(esp, esi); /* 0x36093D33: push esi */ 609 ecx = edi; /* 0x36093D34: mov ecx, edi */ 610 RECOMP_ICALL(0x36094880u); /* 0x36093D36: call 0x36094880 */ /* not lifted */ 611 RECOMP_FLAGS_IN(); 612 ecx = MEM32(edi + 0x8); /* 0x36093D3B: mov ecx, dword ptr [edi + 8] */ 613 MEM32(eax) = ecx; /* 0x36093D3E: mov dword ptr [eax], ecx */ 614 edx = MEM32(edi + 0x8); /* 0x36093D40: mov edx, dword ptr [edi + 8] */ 615 ecx = MEM32(ebp + 0xC); /* 0x36093D43: mov ecx, dword ptr [ebp + 0xc] */ 616 MEM32(ebp + (-0x4)) = eax; /* 0x36093D46: mov dword ptr [ebp - 4], eax */ 617 MEM32(eax + 0x8) = edx; /* 0x36093D49: mov dword ptr [eax + 8], edx */ 618 PUSH32(esp, ecx); /* 0x36093D4C: push ecx */ 619 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu); 620 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 621 eax = eax + 0xCu; /* 0x36093D4D: add eax, 0xc */ 622 _flag_k = FK_ADD; 623 PUSH32(esp, eax); /* 0x36093D50: push eax */ 624 RECOMP_ICALL(0x3603F860u); /* 0x36093D51: call 0x3603f860 */ /* not lifted */ 625 RECOMP_FLAGS_IN(); 626 ecx = MEM32(edi + 0x10); /* 0x36093D56: mov ecx, dword ptr [edi + 0x10] */ 627 eax = MEM32(edi + 0x4); /* 0x36093D59: mov eax, dword ptr [edi + 4] */ 628 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 629 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 630 esp = esp + 8; /* 0x36093D5C: add esp, 8 */ 631 _flag_k = FK_ADD; 632 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 633 ecx = ecx + 1; /* 0x36093D5F: inc ecx */ 634 _flag_k = FK_INC; 635 /* cmp esi, eax */ /* 0x36093D60: cmp esi, eax */ 636 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 637 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 638 _flag_k = FK_CMP; 639 MEM32(edi + 0x10) = ecx; /* 0x36093D62: mov dword ptr [edi + 0x10], ecx */ 640 if (CMP_EQ(_flag_a, _flag_b)) goto L_36093D8F; /* 0x36093D65: je 0x36093d8f */ 641 L_36093D67: 642 /* cmp ebx, MEM32(edi + 0x8) */ /* 0x36093D67: cmp ebx, dword ptr [edi + 8] */ 643 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 644 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 645 _flag_k = FK_CMP; 646 if (CMP_NE(_flag_a, _flag_b)) goto L_36093D8F; /* 0x36093D6A: jne 0x36093d8f */ 647 L_36093D6C: 648 ecx = MEM32(ebp + 0xC); /* 0x36093D6C: mov ecx, dword ptr [ebp + 0xc] */ 649 edx = esi + 0xC; /* 0x36093D6F: lea edx, [esi + 0xc] */ 650 PUSH32(esp, edx); /* 0x36093D72: push edx */ 651 RECOMP_ICALL(0x3603F770u); /* 0x36093D73: call 0x3603f770 */ /* not lifted */ 652 RECOMP_FLAGS_IN(); 653 /* test LO8(eax), LO8(eax) */ /* 0x36093D78: test al, al */ 654 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 655 _cf = 0; 656 _flag_k = FK_NARROW(FK_TEST, 24); 657 if (TEST_NZ(_flag_a, _flag_b)) goto L_36093D8F; /* 0x36093D7A: jne 0x36093d8f */ 658 L_36093D7C: 659 ebx = MEM32(ebp + (-0x4)); /* 0x36093D7C: mov ebx, dword ptr [ebp - 4] */ 660 MEM32(esi + 0x8) = ebx; /* 0x36093D7F: mov dword ptr [esi + 8], ebx */ 661 eax = MEM32(edi + 0x4); /* 0x36093D82: mov eax, dword ptr [edi + 4] */ 662 /* cmp esi, MEM32(eax + 0x8) */ /* 0x36093D85: cmp esi, dword ptr [eax + 8] */ 663 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 664 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 665 _flag_k = FK_CMP; 666 if (CMP_NE(_flag_a, _flag_b)) goto L_36093DB2; /* 0x36093D88: jne 0x36093db2 */ 667 L_36093D8A: 668 MEM32(eax + 0x8) = ebx; /* 0x36093D8A: mov dword ptr [eax + 8], ebx */ 669 goto L_36093DB2; /* 0x36093D8D: jmp 0x36093db2 */ 670 L_36093D8F: 671 ecx = MEM32(ebp + (-0x4)); /* 0x36093D8F: mov ecx, dword ptr [ebp - 4] */ 672 MEM32(esi) = ecx; /* 0x36093D92: mov dword ptr [esi], ecx */ 673 eax = MEM32(edi + 0x4); /* 0x36093D94: mov eax, dword ptr [edi + 4] */ 674 /* cmp esi, eax */ /* 0x36093D97: cmp esi, eax */ 675 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 676 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 677 _flag_k = FK_CMP; 678 if (CMP_NE(_flag_a, _flag_b)) goto L_36093DA6; /* 0x36093D99: jne 0x36093da6 */ 679 L_36093D9B: 680 MEM32(eax + 0x4) = ecx; /* 0x36093D9B: mov dword ptr [eax + 4], ecx */ 681 eax = MEM32(edi + 0x4); /* 0x36093D9E: mov eax, dword ptr [edi + 4] */ 682 MEM32(eax + 0x8) = ecx; /* 0x36093DA1: mov dword ptr [eax + 8], ecx */ 683 goto L_36093DAF; /* 0x36093DA4: jmp 0x36093daf */ 684 L_36093DA6: 685 /* cmp esi, MEM32(eax) */ /* 0x36093DA6: cmp esi, dword ptr [eax] */ 686 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax)); 687 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 688 _flag_k = FK_CMP; 689 if (CMP_NE(_flag_a, _flag_b)) goto L_36093DAF; /* 0x36093DA8: jne 0x36093daf */ 690 L_36093DAA: 691 ecx = MEM32(ebp + (-0x4)); /* 0x36093DAA: mov ecx, dword ptr [ebp - 4] */ 692 MEM32(eax) = ecx; /* 0x36093DAD: mov dword ptr [eax], ecx */ 693 L_36093DAF: 694 ebx = MEM32(ebp + (-0x4)); /* 0x36093DAF: mov ebx, dword ptr [ebp - 4] */ 695 L_36093DB2: 696 edx = MEM32(edi + 0x4); /* 0x36093DB2: mov edx, dword ptr [edi + 4] */ 697 /* cmp ebx, MEM32(edx + 0x4) */ /* 0x36093DB5: cmp ebx, dword ptr [edx + 4] */ 698 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 699 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 700 _flag_k = FK_CMP; 701 esi = ebx; /* 0x36093DB8: mov esi, ebx */ 702 if (CMP_EQ(_flag_a, _flag_b)) goto L_36093E85; /* 0x36093DBA: je 0x36093e85 */ 703 L_36093DC0: 704 eax = MEM32(esi + 0x4); /* 0x36093DC0: mov eax, dword ptr [esi + 4] */ 705 SET_LO8(ecx, MEM8(eax + 0x18)); /* 0x36093DC3: mov cl, byte ptr [eax + 0x18] */ 706 /* test LO8(ecx), LO8(ecx) */ /* 0x36093DC6: test cl, cl */ 707 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ecx)) << 24; 708 _cf = 0; 709 _flag_k = FK_NARROW(FK_TEST, 24); 710 if (TEST_NZ(_flag_a, _flag_b)) goto L_36093E85; /* 0x36093DC8: jne 0x36093e85 */ 711 L_36093DCE: 712 edx = MEM32(eax + 0x4); /* 0x36093DCE: mov edx, dword ptr [eax + 4] */ 713 ecx = MEM32(edx); /* 0x36093DD1: mov ecx, dword ptr [edx] */ 714 /* cmp eax, ecx */ /* 0x36093DD3: cmp eax, ecx */ 715 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 716 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 717 _flag_k = FK_CMP; 718 if (CMP_NE(_flag_a, _flag_b)) goto L_36093E2B; /* 0x36093DD5: jne 0x36093e2b */ 719 L_36093DD7: 720 ecx = MEM32(edx + 0x8); /* 0x36093DD7: mov ecx, dword ptr [edx + 8] */ 721 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x36093DDA: mov dl, byte ptr [ecx + 0x18] */ 722 /* test LO8(edx), LO8(edx) */ /* 0x36093DDD: test dl, dl */ 723 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 724 _cf = 0; 725 _flag_k = FK_NARROW(FK_TEST, 24); 726 if (TEST_NZ(_flag_a, _flag_b)) goto L_36093DFB; /* 0x36093DDF: jne 0x36093dfb */ 727 L_36093DE1: 728 MEM8(eax + 0x18) = (uint8_t)(1); /* 0x36093DE1: mov byte ptr [eax + 0x18], 1 */ 729 MEM8(ecx + 0x18) = (uint8_t)(1); /* 0x36093DE5: mov byte ptr [ecx + 0x18], 1 */ 730 eax = MEM32(esi + 0x4); /* 0x36093DE9: mov eax, dword ptr [esi + 4] */ 731 ecx = MEM32(eax + 0x4); /* 0x36093DEC: mov ecx, dword ptr [eax + 4] */ 732 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x36093DEF: mov byte ptr [ecx + 0x18], 0 */ 733 edx = MEM32(esi + 0x4); /* 0x36093DF3: mov edx, dword ptr [esi + 4] */ 734 esi = MEM32(edx + 0x4); /* 0x36093DF6: mov esi, dword ptr [edx + 4] */ 735 goto L_36093E79; /* 0x36093DF9: jmp 0x36093e79 */ 736 L_36093DFB: 737 /* cmp esi, MEM32(eax + 0x8) */ /* 0x36093DFB: cmp esi, dword ptr [eax + 8] */ 738 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 739 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 740 _flag_k = FK_CMP; 741 if (CMP_NE(_flag_a, _flag_b)) goto L_36093E0A; /* 0x36093DFE: jne 0x36093e0a */ 742 L_36093E00: 743 esi = eax; /* 0x36093E00: mov esi, eax */ 744 PUSH32(esp, esi); /* 0x36093E02: push esi */ 745 ecx = edi; /* 0x36093E03: mov ecx, edi */ 746 RECOMP_ICALL(0x36096920u); /* 0x36093E05: call 0x36096920 */ /* not lifted */ 747 RECOMP_FLAGS_IN(); 748 L_36093E0A: 749 eax = MEM32(esi + 0x4); /* 0x36093E0A: mov eax, dword ptr [esi + 4] */ 750 MEM8(eax + 0x18) = (uint8_t)(1); /* 0x36093E0D: mov byte ptr [eax + 0x18], 1 */ 751 ecx = MEM32(esi + 0x4); /* 0x36093E11: mov ecx, dword ptr [esi + 4] */ 752 edx = MEM32(ecx + 0x4); /* 0x36093E14: mov edx, dword ptr [ecx + 4] */ 753 MEM8(edx + 0x18) = (uint8_t)(0); /* 0x36093E17: mov byte ptr [edx + 0x18], 0 */ 754 eax = MEM32(esi + 0x4); /* 0x36093E1B: mov eax, dword ptr [esi + 4] */ 755 ecx = MEM32(eax + 0x4); /* 0x36093E1E: mov ecx, dword ptr [eax + 4] */ 756 PUSH32(esp, ecx); /* 0x36093E21: push ecx */ 757 ecx = edi; /* 0x36093E22: mov ecx, edi */ 758 RECOMP_ICALL(0x360B4260u); /* 0x36093E24: call 0x360b4260 */ /* not lifted */ 759 RECOMP_FLAGS_IN(); 760 goto L_36093E79; /* 0x36093E29: jmp 0x36093e79 */ 761 L_36093E2B: 762 SET_LO8(edx, MEM8(ecx + 0x18)); /* 0x36093E2B: mov dl, byte ptr [ecx + 0x18] */ 763 /* test LO8(edx), LO8(edx) */ /* 0x36093E2E: test dl, dl */ 764 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 765 _cf = 0; 766 _flag_k = FK_NARROW(FK_TEST, 24); 767 if (TEST_NZ(_flag_a, _flag_b)) goto L_36093E4C; /* 0x36093E30: jne 0x36093e4c */ 768 L_36093E32: 769 MEM8(eax + 0x18) = (uint8_t)(1); /* 0x36093E32: mov byte ptr [eax + 0x18], 1 */ 770 MEM8(ecx + 0x18) = (uint8_t)(1); /* 0x36093E36: mov byte ptr [ecx + 0x18], 1 */ 771 edx = MEM32(esi + 0x4); /* 0x36093E3A: mov edx, dword ptr [esi + 4] */ 772 eax = MEM32(edx + 0x4); /* 0x36093E3D: mov eax, dword ptr [edx + 4] */ 773 MEM8(eax + 0x18) = (uint8_t)(0); /* 0x36093E40: mov byte ptr [eax + 0x18], 0 */ 774 ecx = MEM32(esi + 0x4); /* 0x36093E44: mov ecx, dword ptr [esi + 4] */ 775 esi = MEM32(ecx + 0x4); /* 0x36093E47: mov esi, dword ptr [ecx + 4] */ 776 goto L_36093E79; /* 0x36093E4A: jmp 0x36093e79 */ 777 L_36093E4C: 778 /* cmp esi, MEM32(eax) */ /* 0x36093E4C: cmp esi, dword ptr [eax] */ 779 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax)); 780 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 781 _flag_k = FK_CMP; 782 if (CMP_NE(_flag_a, _flag_b)) goto L_36093E5A; /* 0x36093E4E: jne 0x36093e5a */ 783 L_36093E50: 784 esi = eax; /* 0x36093E50: mov esi, eax */ 785 PUSH32(esp, esi); /* 0x36093E52: push esi */ 786 ecx = edi; /* 0x36093E53: mov ecx, edi */ 787 RECOMP_ICALL(0x360B4260u); /* 0x36093E55: call 0x360b4260 */ /* not lifted */ 788 RECOMP_FLAGS_IN(); 789 L_36093E5A: 790 edx = MEM32(esi + 0x4); /* 0x36093E5A: mov edx, dword ptr [esi + 4] */ 791 MEM8(edx + 0x18) = (uint8_t)(1); /* 0x36093E5D: mov byte ptr [edx + 0x18], 1 */ 792 eax = MEM32(esi + 0x4); /* 0x36093E61: mov eax, dword ptr [esi + 4] */ 793 ecx = MEM32(eax + 0x4); /* 0x36093E64: mov ecx, dword ptr [eax + 4] */ 794 MEM8(ecx + 0x18) = (uint8_t)(0); /* 0x36093E67: mov byte ptr [ecx + 0x18], 0 */ 795 edx = MEM32(esi + 0x4); /* 0x36093E6B: mov edx, dword ptr [esi + 4] */ 796 eax = MEM32(edx + 0x4); /* 0x36093E6E: mov eax, dword ptr [edx + 4] */ 797 PUSH32(esp, eax); /* 0x36093E71: push eax */ 798 ecx = edi; /* 0x36093E72: mov ecx, edi */ 799 RECOMP_ICALL(0x36096920u); /* 0x36093E74: call 0x36096920 */ /* not lifted */ 800 RECOMP_FLAGS_IN(); 801 L_36093E79: 802 ecx = MEM32(edi + 0x4); /* 0x36093E79: mov ecx, dword ptr [edi + 4] */ 803 /* cmp esi, MEM32(ecx + 0x4) */ /* 0x36093E7C: cmp esi, dword ptr [ecx + 4] */ 804 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 805 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 806 _flag_k = FK_CMP; 807 RECOMP_BACKEDGE(); 808 if (CMP_NE(_flag_a, _flag_b)) goto L_36093DC0; /* 0x36093E7F: jne 0x36093dc0 */ 809 L_36093E85: 810 edx = MEM32(edi + 0x4); /* 0x36093E85: mov edx, dword ptr [edi + 4] */ 811 eax = MEM32(edx + 0x4); /* 0x36093E88: mov eax, dword ptr [edx + 4] */ 812 MEM8(eax + 0x18) = (uint8_t)(1); /* 0x36093E8B: mov byte ptr [eax + 0x18], 1 */ 813 eax = MEM32(ebp + 0x8); /* 0x36093E8F: mov eax, dword ptr [ebp + 8] */ 814 edi = POP32_VAL(esp); /* 0x36093E92: pop edi */ 815 MEM8(ebp + (-0x8)) = (uint8_t)(1); /* 0x36093E93: mov byte ptr [ebp - 8], 1 */ 816 ecx = MEM32(ebp + (-0x8)); /* 0x36093E97: mov ecx, dword ptr [ebp - 8] */ 817 MEM32(eax) = ebx; /* 0x36093E9A: mov dword ptr [eax], ebx */ 818 esi = POP32_VAL(esp); /* 0x36093E9C: pop esi */ 819 MEM32(eax + 0x4) = ecx; /* 0x36093E9D: mov dword ptr [eax + 4], ecx */ 820 ebx = POP32_VAL(esp); /* 0x36093EA0: pop ebx */ 821 esp = ebp; /* 0x36093EA1: mov esp, ebp */ 822 ebp = POP32_VAL(esp); /* 0x36093EA3: pop ebp */ 823 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x36093EA4: ret 8 */ 824 L_36093EA7: 825 /* test LO8(eax), LO8(eax) */ /* 0x36093EA7: test al, al */ 826 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 827 _cf = 0; 828 _flag_k = FK_NARROW(FK_TEST, 24); 829 MEM32(ebp + (-0x8)) = esi; /* 0x36093EA9: mov dword ptr [ebp - 8], esi */ 830 if (TEST_Z(_flag_a, _flag_b)) goto L_36093EE8; /* 0x36093EAC: je 0x36093ee8 */ 831 L_36093EAE: 832 edx = MEM32(edi + 0x4); /* 0x36093EAE: mov edx, dword ptr [edi + 4] */ 833 /* cmp esi, MEM32(edx) */ /* 0x36093EB1: cmp esi, dword ptr [edx] */ 834 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edx)); 835 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 836 _flag_k = FK_CMP; 837 if (CMP_NE(_flag_a, _flag_b)) goto L_36093EE0; /* 0x36093EB3: jne 0x36093ee0 */ 838 L_36093EB5: 839 eax = MEM32(ebp + 0xC); /* 0x36093EB5: mov eax, dword ptr [ebp + 0xc] */ 840 PUSH32(esp, eax); /* 0x36093EB8: push eax */ 841 PUSH32(esp, esi); /* 0x36093EB9: push esi */ 842 PUSH32(esp, ebx); /* 0x36093EBA: push ebx */ 843 ecx = ebp + 0xC; /* 0x36093EBB: lea ecx, [ebp + 0xc] */ 844 PUSH32(esp, ecx); /* 0x36093EBE: push ecx */ 845 ecx = edi; /* 0x36093EBF: mov ecx, edi */ 846 RECOMP_ICALL(0x360C5E30u); /* 0x36093EC1: call 0x360c5e30 */ /* not lifted */ 847 RECOMP_FLAGS_IN(); 848 ecx = MEM32(eax); /* 0x36093EC6: mov ecx, dword ptr [eax] */ 849 eax = MEM32(ebp + 0x8); /* 0x36093EC8: mov eax, dword ptr [ebp + 8] */ 850 edi = POP32_VAL(esp); /* 0x36093ECB: pop edi */ 851 MEM8(ebp + (-0x8)) = (uint8_t)(1); /* 0x36093ECC: mov byte ptr [ebp - 8], 1 */ 852 edx = MEM32(ebp + (-0x8)); /* 0x36093ED0: mov edx, dword ptr [ebp - 8] */ 853 esi = POP32_VAL(esp); /* 0x36093ED3: pop esi */ 854 MEM32(eax) = ecx; /* 0x36093ED4: mov dword ptr [eax], ecx */ 855 MEM32(eax + 0x4) = edx; /* 0x36093ED6: mov dword ptr [eax + 4], edx */ 856 ebx = POP32_VAL(esp); /* 0x36093ED9: pop ebx */ 857 esp = ebp; /* 0x36093EDA: mov esp, ebp */ 858 ebp = POP32_VAL(esp); /* 0x36093EDC: pop ebp */ 859 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x36093EDD: ret 8 */ 860 L_36093EE0: 861 ecx = ebp + (-0x8); /* 0x36093EE0: lea ecx, [ebp - 8] */ 862 RECOMP_ICALL(0x3603F800u); /* 0x36093EE3: call 0x3603f800 */ /* not lifted */ 863 RECOMP_FLAGS_IN(); 864 L_36093EE8: 865 eax = MEM32(ebp + (-0x8)); /* 0x36093EE8: mov eax, dword ptr [ebp - 8] */ 866 edx = MEM32(ebp + 0xC); /* 0x36093EEB: mov edx, dword ptr [ebp + 0xc] */ 867 ecx = eax + 0xC; /* 0x36093EEE: lea ecx, [eax + 0xc] */ 868 PUSH32(esp, edx); /* 0x36093EF1: push edx */ 869 RECOMP_ICALL(0x3603F770u); /* 0x36093EF2: call 0x3603f770 */ /* not lifted */ 870 RECOMP_FLAGS_IN(); 871 /* test LO8(eax), LO8(eax) */ /* 0x36093EF7: test al, al */ 872 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 873 _cf = 0; 874 _flag_k = FK_NARROW(FK_TEST, 24); 875 if (TEST_Z(_flag_a, _flag_b)) goto L_36093F26; /* 0x36093EF9: je 0x36093f26 */ 876 L_36093EFB: 877 eax = MEM32(ebp + 0xC); /* 0x36093EFB: mov eax, dword ptr [ebp + 0xc] */ 878 PUSH32(esp, eax); /* 0x36093EFE: push eax */ 879 PUSH32(esp, esi); /* 0x36093EFF: push esi */ 880 PUSH32(esp, ebx); /* 0x36093F00: push ebx */ 881 ecx = ebp + 0xC; /* 0x36093F01: lea ecx, [ebp + 0xc] */ 882 PUSH32(esp, ecx); /* 0x36093F04: push ecx */ 883 ecx = edi; /* 0x36093F05: mov ecx, edi */ 884 RECOMP_ICALL(0x360C5E30u); /* 0x36093F07: call 0x360c5e30 */ /* not lifted */ 885 RECOMP_FLAGS_IN(); 886 ecx = MEM32(eax); /* 0x36093F0C: mov ecx, dword ptr [eax] */ 887 eax = MEM32(ebp + 0x8); /* 0x36093F0E: mov eax, dword ptr [ebp + 8] */ 888 edi = POP32_VAL(esp); /* 0x36093F11: pop edi */ 889 MEM8(ebp + (-0x8)) = (uint8_t)(1); /* 0x36093F12: mov byte ptr [ebp - 8], 1 */ 890 edx = MEM32(ebp + (-0x8)); /* 0x36093F16: mov edx, dword ptr [ebp - 8] */ 891 esi = POP32_VAL(esp); /* 0x36093F19: pop esi */ 892 MEM32(eax) = ecx; /* 0x36093F1A: mov dword ptr [eax], ecx */ 893 MEM32(eax + 0x4) = edx; /* 0x36093F1C: mov dword ptr [eax + 4], edx */ 894 ebx = POP32_VAL(esp); /* 0x36093F1F: pop ebx */ 895 esp = ebp; /* 0x36093F20: mov esp, ebp */ 896 ebp = POP32_VAL(esp); /* 0x36093F22: pop ebp */ 897 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x36093F23: ret 8 */ 898 L_36093F26: 899 ecx = MEM32(ebp + (-0x8)); /* 0x36093F26: mov ecx, dword ptr [ebp - 8] */ 900 eax = MEM32(ebp + 0x8); /* 0x36093F29: mov eax, dword ptr [ebp + 8] */ 901 edi = POP32_VAL(esp); /* 0x36093F2C: pop edi */ 902 MEM32(eax) = ecx; /* 0x36093F2D: mov dword ptr [eax], ecx */ 903 MEM8(ebp + (-0x8)) = (uint8_t)(0); /* 0x36093F2F: mov byte ptr [ebp - 8], 0 */ 904 ecx = MEM32(ebp + (-0x8)); /* 0x36093F33: mov ecx, dword ptr [ebp - 8] */ 905 esi = POP32_VAL(esp); /* 0x36093F36: pop esi */ 906 MEM32(eax + 0x4) = ecx; /* 0x36093F37: mov dword ptr [eax + 4], ecx */ 907 ebx = POP32_VAL(esp); /* 0x36093F3A: pop ebx */ 908 esp = ebp; /* 0x36093F3B: mov esp, ebp */ 909 ebp = POP32_VAL(esp); /* 0x36093F3D: pop ebp */ 910 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x36093F3E: ret 8 */ 911 RECOMP_REGS_OUT(); 912 } 913 914 void sub_36093F50(void) { 915 int _fpu_cmp = 0; 916 uint32_t _cf = 0; 917 int _df = 1; 918 uint32_t _flag_k = FK_NONE; 919 uint32_t _flag_a = 0, _flag_b = 0; 920 uint32_t _itail_tgt = 0; 921 RECOMP_REGS_LOCALS 922 RECOMP_ENTER(0x36093F50u); 923 924 L_36093F50: 925 PUSH32(esp, ebp); /* 0x36093F50: push ebp */ 926 ebp = esp; /* 0x36093F51: mov ebp, esp */ 927 PUSH32(esp, ebx); /* 0x36093F53: push ebx */ 928 ebx = MEM32(ebp + 0x10); /* 0x36093F54: mov ebx, dword ptr [ebp + 0x10] */ 929 PUSH32(esp, esi); /* 0x36093F57: push esi */ 930 esi = ecx; /* 0x36093F58: mov esi, ecx */ 931 eax = MEM32(esi + 0x10); /* 0x36093F5A: mov eax, dword ptr [esi + 0x10] */ 932 /* test eax, eax */ /* 0x36093F5D: test eax, eax */ 933 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 934 _cf = 0; 935 _flag_k = FK_TEST; 936 ecx = MEM32(ebp + 0xC); /* 0x36093F5F: mov ecx, dword ptr [ebp + 0xc] */ 937 PUSH32(esp, edi); /* 0x36093F62: push edi */ 938 if (TEST_Z(_flag_a, _flag_b)) goto L_36093FC5; /* 0x36093F63: je 0x36093fc5 */ 939 L_36093F65: 940 eax = MEM32(esi + 0x4); /* 0x36093F65: mov eax, dword ptr [esi + 4] */ 941 /* cmp ecx, MEM32(eax) */ /* 0x36093F68: cmp ecx, dword ptr [eax] */ 942 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax)); 943 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 944 _flag_k = FK_CMP; 945 if (CMP_NE(_flag_a, _flag_b)) goto L_36093FC5; /* 0x36093F6A: jne 0x36093fc5 */ 946 L_36093F6C: 947 /* cmp ebx, eax */ /* 0x36093F6C: cmp ebx, eax */ 948 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(eax); 949 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 950 _flag_k = FK_CMP; 951 if (CMP_NE(_flag_a, _flag_b)) goto L_36093FC5; /* 0x36093F6E: jne 0x36093fc5 */ 952 L_36093F70: 953 ebx = MEM32(eax + 0x4); /* 0x36093F70: mov ebx, dword ptr [eax + 4] */ 954 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x36093F73: cmp ebx, dword ptr [esi + 8] */ 955 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 956 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 957 _flag_k = FK_CMP; 958 edi = ebx; /* 0x36093F76: mov edi, ebx */ 959 if (CMP_EQ(_flag_a, _flag_b)) goto L_36093F99; /* 0x36093F78: je 0x36093f99 */ 960 L_36093F7A: 961 eax = MEM32(edi + 0x8); /* 0x36093F7A: mov eax, dword ptr [edi + 8] */ 962 PUSH32(esp, eax); /* 0x36093F7D: push eax */ 963 ecx = esi; /* 0x36093F7E: mov ecx, esi */ 964 RECOMP_ICALL(0x36094720u); /* 0x36093F80: call 0x36094720 */ /* not lifted */ 965 RECOMP_FLAGS_IN(); 966 edi = MEM32(edi); /* 0x36093F85: mov edi, dword ptr [edi] */ 967 PUSH32(esp, ebx); /* 0x36093F87: push ebx */ 968 RECOMP_ICALL(0x3615FCC4u); /* 0x36093F88: call 0x3615fcc4 */ /* not lifted */ 969 RECOMP_FLAGS_IN(); 970 eax = MEM32(esi + 0x8); /* 0x36093F8D: mov eax, dword ptr [esi + 8] */ 971 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 972 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 973 esp = esp + 4; /* 0x36093F90: add esp, 4 */ 974 _flag_k = FK_ADD; 975 /* cmp edi, eax */ /* 0x36093F93: cmp edi, eax */ 976 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 977 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 978 _flag_k = FK_CMP; 979 ebx = edi; /* 0x36093F95: mov ebx, edi */ 980 RECOMP_BACKEDGE(); 981 if (CMP_NE(_flag_a, _flag_b)) goto L_36093F7A; /* 0x36093F97: jne 0x36093f7a */ 982 L_36093F99: 983 ecx = MEM32(esi + 0x4); /* 0x36093F99: mov ecx, dword ptr [esi + 4] */ 984 edx = MEM32(esi + 0x8); /* 0x36093F9C: mov edx, dword ptr [esi + 8] */ 985 MEM32(ecx + 0x4) = edx; /* 0x36093F9F: mov dword ptr [ecx + 4], edx */ 986 eax = MEM32(esi + 0x4); /* 0x36093FA2: mov eax, dword ptr [esi + 4] */ 987 MEM32(esi + 0x10) = 0; /* 0x36093FA5: mov dword ptr [esi + 0x10], 0 */ 988 MEM32(eax) = eax; /* 0x36093FAC: mov dword ptr [eax], eax */ 989 eax = MEM32(esi + 0x4); /* 0x36093FAE: mov eax, dword ptr [esi + 4] */ 990 MEM32(eax + 0x8) = eax; /* 0x36093FB1: mov dword ptr [eax + 8], eax */ 991 eax = MEM32(esi + 0x4); /* 0x36093FB4: mov eax, dword ptr [esi + 4] */ 992 ecx = MEM32(eax); /* 0x36093FB7: mov ecx, dword ptr [eax] */ 993 eax = MEM32(ebp + 0x8); /* 0x36093FB9: mov eax, dword ptr [ebp + 8] */ 994 edi = POP32_VAL(esp); /* 0x36093FBC: pop edi */ 995 esi = POP32_VAL(esp); /* 0x36093FBD: pop esi */ 996 MEM32(eax) = ecx; /* 0x36093FBE: mov dword ptr [eax], ecx */ 997 ebx = POP32_VAL(esp); /* 0x36093FC0: pop ebx */ 998 ebp = POP32_VAL(esp); /* 0x36093FC1: pop ebp */ 999 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x36093FC2: ret 0xc */ 1000 L_36093FC5: 1001 /* cmp ecx, ebx */ /* 0x36093FC5: cmp ecx, ebx */ 1002 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 1003 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1004 _flag_k = FK_CMP; 1005 if (CMP_EQ(_flag_a, _flag_b)) goto L_36093FE6; /* 0x36093FC7: je 0x36093fe6 */ 1006 L_36093FC9: 1007 edi = ecx; /* 0x36093FC9: mov edi, ecx */ 1008 ecx = ebp + 0xC; /* 0x36093FCB: lea ecx, [ebp + 0xc] */ 1009 RECOMP_ICALL(0x36096C20u); /* 0x36093FCE: call 0x36096c20 */ /* not lifted */ 1010 RECOMP_FLAGS_IN(); 1011 PUSH32(esp, edi); /* 0x36093FD3: push edi */ 1012 ecx = ebp + 0x10; /* 0x36093FD4: lea ecx, [ebp + 0x10] */ 1013 PUSH32(esp, ecx); /* 0x36093FD7: push ecx */ 1014 ecx = esi; /* 0x36093FD8: mov ecx, esi */ 1015 RECOMP_ICALL(0x3603ECC0u); /* 0x36093FDA: call 0x3603ecc0 */ /* not lifted */ 1016 RECOMP_FLAGS_IN(); 1017 ecx = MEM32(ebp + 0xC); /* 0x36093FDF: mov ecx, dword ptr [ebp + 0xc] */ 1018 /* cmp ecx, ebx */ /* 0x36093FE2: cmp ecx, ebx */ 1019 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ebx); 1020 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1021 _flag_k = FK_CMP; 1022 RECOMP_BACKEDGE(); 1023 if (CMP_NE(_flag_a, _flag_b)) goto L_36093FC9; /* 0x36093FE4: jne 0x36093fc9 */ 1024 L_36093FE6: 1025 eax = MEM32(ebp + 0x8); /* 0x36093FE6: mov eax, dword ptr [ebp + 8] */ 1026 edi = POP32_VAL(esp); /* 0x36093FE9: pop edi */ 1027 esi = POP32_VAL(esp); /* 0x36093FEA: pop esi */ 1028 MEM32(eax) = ecx; /* 0x36093FEB: mov dword ptr [eax], ecx */ 1029 ebx = POP32_VAL(esp); /* 0x36093FED: pop ebx */ 1030 ebp = POP32_VAL(esp); /* 0x36093FEE: pop ebp */ 1031 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x36093FEF: ret 0xc */ 1032 RECOMP_REGS_OUT(); 1033 } 1034 1035 void sub_36094000(void) { 1036 int _fpu_cmp = 0; 1037 uint32_t _cf = 0; 1038 int _df = 1; 1039 uint32_t _flag_k = FK_NONE; 1040 uint32_t _flag_a = 0, _flag_b = 0; 1041 uint32_t _itail_tgt = 0; 1042 RECOMP_REGS_LOCALS 1043 RECOMP_ENTER(0x36094000u); 1044 1045 L_36094000: 1046 PUSH32(esp, ebp); /* 0x36094000: push ebp */ 1047 ebp = esp; /* 0x36094001: mov ebp, esp */ 1048 PUSH32(esp, ecx); /* 0x36094003: push ecx */ 1049 PUSH32(esp, ebx); /* 0x36094004: push ebx */ 1050 PUSH32(esp, esi); /* 0x36094005: push esi */ 1051 esi = MEM32(ebp + 0xC); /* 0x36094006: mov esi, dword ptr [ebp + 0xc] */ 1052 PUSH32(esp, edi); /* 0x36094009: push edi */ 1053 edi = ecx; /* 0x3609400A: mov edi, ecx */ 1054 ecx = ebp + 0xC; /* 0x3609400C: lea ecx, [ebp + 0xc] */ 1055 RECOMP_ICALL(0x36093A60u); /* 0x3609400F: call 0x36093a60 */ /* not lifted */ 1056 RECOMP_FLAGS_IN(); 1057 edx = MEM32(esi); /* 0x36094014: mov edx, dword ptr [esi] */ 1058 eax = MEM32(edi + 0x8); /* 0x36094016: mov eax, dword ptr [edi + 8] */ 1059 /* cmp edx, eax */ /* 0x36094019: cmp edx, eax */ 1060 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(eax); 1061 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1062 _flag_k = FK_CMP; 1063 MEM32(ebp + (-0x4)) = esi; /* 0x3609401B: mov dword ptr [ebp - 4], esi */ 1064 if (CMP_NE(_flag_a, _flag_b)) goto L_36094040; /* 0x3609401E: jne 0x36094040 */ 1065 L_36094020: 1066 eax = MEM32(esi + 0x8); /* 0x36094020: mov eax, dword ptr [esi + 8] */ 1067 L_36094023: 1068 ecx = MEM32(ebp + (-0x4)); /* 0x36094023: mov ecx, dword ptr [ebp - 4] */ 1069 edx = MEM32(ecx + 0x4); /* 0x36094026: mov edx, dword ptr [ecx + 4] */ 1070 MEM32(eax + 0x4) = edx; /* 0x36094029: mov dword ptr [eax + 4], edx */ 1071 ecx = MEM32(edi + 0x4); /* 0x3609402C: mov ecx, dword ptr [edi + 4] */ 1072 /* cmp MEM32(ecx + 0x4), esi */ /* 0x3609402F: cmp dword ptr [ecx + 4], esi */ 1073 _flag_a = (uint32_t)(MEM32(ecx + 0x4)); _flag_b = (uint32_t)(esi); 1074 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1075 _flag_k = FK_CMP; 1076 if (CMP_NE(_flag_a, _flag_b)) goto L_360940C3; /* 0x36094032: jne 0x360940c3 */ 1077 L_36094038: 1078 MEM32(ecx + 0x4) = eax; /* 0x36094038: mov dword ptr [ecx + 4], eax */ 1079 goto L_360940D1; /* 0x3609403B: jmp 0x360940d1 */ 1080 L_36094040: 1081 ecx = MEM32(esi + 0x8); /* 0x36094040: mov ecx, dword ptr [esi + 8] */ 1082 /* cmp ecx, eax */ /* 0x36094043: cmp ecx, eax */ 1083 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(eax); 1084 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1085 _flag_k = FK_CMP; 1086 if (CMP_NE(_flag_a, _flag_b)) goto L_3609404B; /* 0x36094045: jne 0x3609404b */ 1087 L_36094047: 1088 eax = edx; /* 0x36094047: mov eax, edx */ 1089 RECOMP_BACKEDGE(); 1090 goto L_36094023; /* 0x36094049: jmp 0x36094023 */ 1091 L_3609404B: 1092 eax = MEM32(ecx); /* 0x3609404B: mov eax, dword ptr [ecx] */ 1093 SET_LO8(ebx, MEM8(eax + 0x25)); /* 0x3609404D: mov bl, byte ptr [eax + 0x25] */ 1094 /* test LO8(ebx), LO8(ebx) */ /* 0x36094050: test bl, bl */ 1095 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1096 _cf = 0; 1097 _flag_k = FK_NARROW(FK_TEST, 24); 1098 if (TEST_NZ(_flag_a, _flag_b)) goto L_3609405F; /* 0x36094052: jne 0x3609405f */ 1099 L_36094054: 1100 ecx = eax; /* 0x36094054: mov ecx, eax */ 1101 eax = MEM32(ecx); /* 0x36094056: mov eax, dword ptr [ecx] */ 1102 SET_LO8(ebx, MEM8(eax + 0x25)); /* 0x36094058: mov bl, byte ptr [eax + 0x25] */ 1103 /* test LO8(ebx), LO8(ebx) */ /* 0x3609405B: test bl, bl */ 1104 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1105 _cf = 0; 1106 _flag_k = FK_NARROW(FK_TEST, 24); 1107 RECOMP_BACKEDGE(); 1108 if (TEST_Z(_flag_a, _flag_b)) goto L_36094054; /* 0x3609405D: je 0x36094054 */ 1109 L_3609405F: 1110 /* cmp ecx, esi */ /* 0x3609405F: cmp ecx, esi */ 1111 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(esi); 1112 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1113 _flag_k = FK_CMP; 1114 eax = MEM32(ecx + 0x8); /* 0x36094061: mov eax, dword ptr [ecx + 8] */ 1115 MEM32(ebp + (-0x4)) = ecx; /* 0x36094064: mov dword ptr [ebp - 4], ecx */ 1116 RECOMP_BACKEDGE(); 1117 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094023; /* 0x36094067: je 0x36094023 */ 1118 L_36094069: 1119 MEM32(edx + 0x4) = ecx; /* 0x36094069: mov dword ptr [edx + 4], ecx */ 1120 edx = MEM32(esi); /* 0x3609406C: mov edx, dword ptr [esi] */ 1121 MEM32(ecx) = edx; /* 0x3609406E: mov dword ptr [ecx], edx */ 1122 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x36094070: cmp ecx, dword ptr [esi + 8] */ 1123 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1124 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1125 _flag_k = FK_CMP; 1126 if (CMP_NE(_flag_a, _flag_b)) goto L_3609407A; /* 0x36094073: jne 0x3609407a */ 1127 L_36094075: 1128 MEM32(eax + 0x4) = ecx; /* 0x36094075: mov dword ptr [eax + 4], ecx */ 1129 goto L_36094091; /* 0x36094078: jmp 0x36094091 */ 1130 L_3609407A: 1131 edx = MEM32(ecx + 0x4); /* 0x3609407A: mov edx, dword ptr [ecx + 4] */ 1132 MEM32(eax + 0x4) = edx; /* 0x3609407D: mov dword ptr [eax + 4], edx */ 1133 edx = MEM32(ecx + 0x4); /* 0x36094080: mov edx, dword ptr [ecx + 4] */ 1134 MEM32(edx) = eax; /* 0x36094083: mov dword ptr [edx], eax */ 1135 edx = MEM32(esi + 0x8); /* 0x36094085: mov edx, dword ptr [esi + 8] */ 1136 MEM32(ecx + 0x8) = edx; /* 0x36094088: mov dword ptr [ecx + 8], edx */ 1137 edx = MEM32(esi + 0x8); /* 0x3609408B: mov edx, dword ptr [esi + 8] */ 1138 MEM32(edx + 0x4) = ecx; /* 0x3609408E: mov dword ptr [edx + 4], ecx */ 1139 L_36094091: 1140 edx = MEM32(edi + 0x4); /* 0x36094091: mov edx, dword ptr [edi + 4] */ 1141 /* cmp MEM32(edx + 0x4), esi */ /* 0x36094094: cmp dword ptr [edx + 4], esi */ 1142 _flag_a = (uint32_t)(MEM32(edx + 0x4)); _flag_b = (uint32_t)(esi); 1143 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1144 _flag_k = FK_CMP; 1145 if (CMP_NE(_flag_a, _flag_b)) goto L_3609409E; /* 0x36094097: jne 0x3609409e */ 1146 L_36094099: 1147 MEM32(edx + 0x4) = ecx; /* 0x36094099: mov dword ptr [edx + 4], ecx */ 1148 goto L_360940AC; /* 0x3609409C: jmp 0x360940ac */ 1149 L_3609409E: 1150 edx = MEM32(esi + 0x4); /* 0x3609409E: mov edx, dword ptr [esi + 4] */ 1151 /* cmp MEM32(edx), esi */ /* 0x360940A1: cmp dword ptr [edx], esi */ 1152 _flag_a = (uint32_t)(MEM32(edx)); _flag_b = (uint32_t)(esi); 1153 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1154 _flag_k = FK_CMP; 1155 if (CMP_NE(_flag_a, _flag_b)) goto L_360940A9; /* 0x360940A3: jne 0x360940a9 */ 1156 L_360940A5: 1157 MEM32(edx) = ecx; /* 0x360940A5: mov dword ptr [edx], ecx */ 1158 goto L_360940AC; /* 0x360940A7: jmp 0x360940ac */ 1159 L_360940A9: 1160 MEM32(edx + 0x8) = ecx; /* 0x360940A9: mov dword ptr [edx + 8], ecx */ 1161 L_360940AC: 1162 edx = MEM32(esi + 0x4); /* 0x360940AC: mov edx, dword ptr [esi + 4] */ 1163 MEM32(ecx + 0x4) = edx; /* 0x360940AF: mov dword ptr [ecx + 4], edx */ 1164 SET_LO8(ebx, MEM8(esi + 0x24)); /* 0x360940B2: mov bl, byte ptr [esi + 0x24] */ 1165 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x360940B5: mov dl, byte ptr [ecx + 0x24] */ 1166 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360940B8: mov byte ptr [ecx + 0x24], bl */ 1167 MEM8(esi + 0x24) = (uint8_t)(LO8(edx)); /* 0x360940BB: mov byte ptr [esi + 0x24], dl */ 1168 MEM32(ebp + (-0x4)) = esi; /* 0x360940BE: mov dword ptr [ebp - 4], esi */ 1169 goto L_36094128; /* 0x360940C1: jmp 0x36094128 */ 1170 L_360940C3: 1171 ecx = MEM32(esi + 0x4); /* 0x360940C3: mov ecx, dword ptr [esi + 4] */ 1172 /* cmp MEM32(ecx), esi */ /* 0x360940C6: cmp dword ptr [ecx], esi */ 1173 _flag_a = (uint32_t)(MEM32(ecx)); _flag_b = (uint32_t)(esi); 1174 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1175 _flag_k = FK_CMP; 1176 if (CMP_NE(_flag_a, _flag_b)) goto L_360940CE; /* 0x360940C8: jne 0x360940ce */ 1177 L_360940CA: 1178 MEM32(ecx) = eax; /* 0x360940CA: mov dword ptr [ecx], eax */ 1179 goto L_360940D1; /* 0x360940CC: jmp 0x360940d1 */ 1180 L_360940CE: 1181 MEM32(ecx + 0x8) = eax; /* 0x360940CE: mov dword ptr [ecx + 8], eax */ 1182 L_360940D1: 1183 ebx = MEM32(edi + 0x4); /* 0x360940D1: mov ebx, dword ptr [edi + 4] */ 1184 /* cmp MEM32(ebx), esi */ /* 0x360940D4: cmp dword ptr [ebx], esi */ 1185 _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(esi); 1186 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1187 _flag_k = FK_CMP; 1188 if (CMP_NE(_flag_a, _flag_b)) goto L_360940FB; /* 0x360940D6: jne 0x360940fb */ 1189 L_360940D8: 1190 ecx = MEM32(esi + 0x8); /* 0x360940D8: mov ecx, dword ptr [esi + 8] */ 1191 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x360940DB: cmp ecx, dword ptr [edi + 8] */ 1192 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1193 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1194 _flag_k = FK_CMP; 1195 if (CMP_NE(_flag_a, _flag_b)) goto L_360940E5; /* 0x360940DE: jne 0x360940e5 */ 1196 L_360940E0: 1197 edx = MEM32(esi + 0x4); /* 0x360940E0: mov edx, dword ptr [esi + 4] */ 1198 goto L_360940F9; /* 0x360940E3: jmp 0x360940f9 */ 1199 L_360940E5: 1200 ecx = MEM32(eax); /* 0x360940E5: mov ecx, dword ptr [eax] */ 1201 /* cmp MEM8(ecx + 0x25), 0 */ /* 0x360940E7: cmp byte ptr [ecx + 0x25], 0 */ 1202 _flag_a = (uint32_t)(MEM8(ecx + 0x25)) << 24; _flag_b = (uint32_t)(0) << 24; 1203 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1204 _flag_k = FK_NARROW(FK_CMP, 24); 1205 edx = eax; /* 0x360940EB: mov edx, eax */ 1206 if (CMP_NE(_flag_a, _flag_b)) goto L_360940F9; /* 0x360940ED: jne 0x360940f9 */ 1207 L_360940EF: 1208 edx = ecx; /* 0x360940EF: mov edx, ecx */ 1209 ecx = MEM32(edx); /* 0x360940F1: mov ecx, dword ptr [edx] */ 1210 /* cmp MEM8(ecx + 0x25), 0 */ /* 0x360940F3: cmp byte ptr [ecx + 0x25], 0 */ 1211 _flag_a = (uint32_t)(MEM8(ecx + 0x25)) << 24; _flag_b = (uint32_t)(0) << 24; 1212 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1213 _flag_k = FK_NARROW(FK_CMP, 24); 1214 RECOMP_BACKEDGE(); 1215 if (CMP_EQ(_flag_a, _flag_b)) goto L_360940EF; /* 0x360940F7: je 0x360940ef */ 1216 L_360940F9: 1217 MEM32(ebx) = edx; /* 0x360940F9: mov dword ptr [ebx], edx */ 1218 L_360940FB: 1219 ebx = MEM32(edi + 0x4); /* 0x360940FB: mov ebx, dword ptr [edi + 4] */ 1220 /* cmp MEM32(ebx + 0x8), esi */ /* 0x360940FE: cmp dword ptr [ebx + 8], esi */ 1221 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 1222 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1223 _flag_k = FK_CMP; 1224 if (CMP_NE(_flag_a, _flag_b)) goto L_36094128; /* 0x36094101: jne 0x36094128 */ 1225 L_36094103: 1226 ecx = MEM32(esi); /* 0x36094103: mov ecx, dword ptr [esi] */ 1227 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x36094105: cmp ecx, dword ptr [edi + 8] */ 1228 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1229 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1230 _flag_k = FK_CMP; 1231 if (CMP_NE(_flag_a, _flag_b)) goto L_3609410F; /* 0x36094108: jne 0x3609410f */ 1232 L_3609410A: 1233 edx = MEM32(esi + 0x4); /* 0x3609410A: mov edx, dword ptr [esi + 4] */ 1234 goto L_36094125; /* 0x3609410D: jmp 0x36094125 */ 1235 L_3609410F: 1236 ecx = MEM32(eax + 0x8); /* 0x3609410F: mov ecx, dword ptr [eax + 8] */ 1237 /* cmp MEM8(ecx + 0x25), 0 */ /* 0x36094112: cmp byte ptr [ecx + 0x25], 0 */ 1238 _flag_a = (uint32_t)(MEM8(ecx + 0x25)) << 24; _flag_b = (uint32_t)(0) << 24; 1239 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1240 _flag_k = FK_NARROW(FK_CMP, 24); 1241 edx = eax; /* 0x36094116: mov edx, eax */ 1242 if (CMP_NE(_flag_a, _flag_b)) goto L_36094125; /* 0x36094118: jne 0x36094125 */ 1243 L_3609411A: 1244 edx = ecx; /* 0x3609411A: mov edx, ecx */ 1245 ecx = MEM32(edx + 0x8); /* 0x3609411C: mov ecx, dword ptr [edx + 8] */ 1246 /* cmp MEM8(ecx + 0x25), 0 */ /* 0x3609411F: cmp byte ptr [ecx + 0x25], 0 */ 1247 _flag_a = (uint32_t)(MEM8(ecx + 0x25)) << 24; _flag_b = (uint32_t)(0) << 24; 1248 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1249 _flag_k = FK_NARROW(FK_CMP, 24); 1250 RECOMP_BACKEDGE(); 1251 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609411A; /* 0x36094123: je 0x3609411a */ 1252 L_36094125: 1253 MEM32(ebx + 0x8) = edx; /* 0x36094125: mov dword ptr [ebx + 8], edx */ 1254 L_36094128: 1255 esi = MEM32(ebp + (-0x4)); /* 0x36094128: mov esi, dword ptr [ebp - 4] */ 1256 SET_LO8(ecx, MEM8(esi + 0x24)); /* 0x3609412B: mov cl, byte ptr [esi + 0x24] */ 1257 SET_LO8(ebx, 1); /* 0x3609412E: mov bl, 1 */ 1258 /* cmp LO8(ecx), LO8(ebx) */ /* 0x36094130: cmp cl, bl */ 1259 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1260 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1261 _flag_k = FK_NARROW(FK_CMP, 24); 1262 if (CMP_NE(_flag_a, _flag_b)) goto L_36094398; /* 0x36094132: jne 0x36094398 */ 1263 L_36094138: 1264 ecx = MEM32(edi + 0x4); /* 0x36094138: mov ecx, dword ptr [edi + 4] */ 1265 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3609413B: cmp eax, dword ptr [ecx + 4] */ 1266 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 1267 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1268 _flag_k = FK_CMP; 1269 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094392; /* 0x3609413E: je 0x36094392 */ 1270 L_36094144: 1271 /* cmp MEM8(eax + 0x24), LO8(ebx) */ /* 0x36094144: cmp byte ptr [eax + 0x24], bl */ 1272 _flag_a = (uint32_t)(MEM8(eax + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1273 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1274 _flag_k = FK_NARROW(FK_CMP, 24); 1275 if (CMP_NE(_flag_a, _flag_b)) goto L_36094392; /* 0x36094147: jne 0x36094392 */ 1276 L_3609414D: 1277 edx = MEM32(eax + 0x4); /* 0x3609414D: mov edx, dword ptr [eax + 4] */ 1278 ecx = MEM32(edx); /* 0x36094150: mov ecx, dword ptr [edx] */ 1279 /* cmp eax, ecx */ /* 0x36094152: cmp eax, ecx */ 1280 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1281 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1282 _flag_k = FK_CMP; 1283 if (CMP_NE(_flag_a, _flag_b)) goto L_360941C4; /* 0x36094154: jne 0x360941c4 */ 1284 L_36094156: 1285 ecx = MEM32(edx + 0x8); /* 0x36094156: mov ecx, dword ptr [edx + 8] */ 1286 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x36094159: mov dl, byte ptr [ecx + 0x24] */ 1287 /* test LO8(edx), LO8(edx) */ /* 0x3609415C: test dl, dl */ 1288 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 1289 _cf = 0; 1290 _flag_k = FK_NARROW(FK_TEST, 24); 1291 if (TEST_NZ(_flag_a, _flag_b)) goto L_360941AB; /* 0x3609415E: jne 0x360941ab */ 1292 L_36094160: 1293 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094160: mov byte ptr [ecx + 0x24], bl */ 1294 edx = MEM32(eax + 0x4); /* 0x36094163: mov edx, dword ptr [eax + 4] */ 1295 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x36094166: mov byte ptr [edx + 0x24], 0 */ 1296 ecx = MEM32(eax + 0x4); /* 0x3609416A: mov ecx, dword ptr [eax + 4] */ 1297 edx = MEM32(ecx + 0x8); /* 0x3609416D: mov edx, dword ptr [ecx + 8] */ 1298 esi = MEM32(edx); /* 0x36094170: mov esi, dword ptr [edx] */ 1299 MEM32(ecx + 0x8) = esi; /* 0x36094172: mov dword ptr [ecx + 8], esi */ 1300 esi = MEM32(edx); /* 0x36094175: mov esi, dword ptr [edx] */ 1301 /* cmp esi, MEM32(edi + 0x8) */ /* 0x36094177: cmp esi, dword ptr [edi + 8] */ 1302 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1303 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1304 _flag_k = FK_CMP; 1305 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609417F; /* 0x3609417A: je 0x3609417f */ 1306 L_3609417C: 1307 MEM32(esi + 0x4) = ecx; /* 0x3609417C: mov dword ptr [esi + 4], ecx */ 1308 L_3609417F: 1309 esi = MEM32(ecx + 0x4); /* 0x3609417F: mov esi, dword ptr [ecx + 4] */ 1310 MEM32(edx + 0x4) = esi; /* 0x36094182: mov dword ptr [edx + 4], esi */ 1311 esi = MEM32(edi + 0x4); /* 0x36094185: mov esi, dword ptr [edi + 4] */ 1312 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x36094188: cmp ecx, dword ptr [esi + 4] */ 1313 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1314 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1315 _flag_k = FK_CMP; 1316 if (CMP_NE(_flag_a, _flag_b)) goto L_36094192; /* 0x3609418B: jne 0x36094192 */ 1317 L_3609418D: 1318 MEM32(esi + 0x4) = edx; /* 0x3609418D: mov dword ptr [esi + 4], edx */ 1319 goto L_360941A0; /* 0x36094190: jmp 0x360941a0 */ 1320 L_36094192: 1321 esi = MEM32(ecx + 0x4); /* 0x36094192: mov esi, dword ptr [ecx + 4] */ 1322 /* cmp ecx, MEM32(esi) */ /* 0x36094195: cmp ecx, dword ptr [esi] */ 1323 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 1324 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1325 _flag_k = FK_CMP; 1326 if (CMP_NE(_flag_a, _flag_b)) goto L_3609419D; /* 0x36094197: jne 0x3609419d */ 1327 L_36094199: 1328 MEM32(esi) = edx; /* 0x36094199: mov dword ptr [esi], edx */ 1329 goto L_360941A0; /* 0x3609419B: jmp 0x360941a0 */ 1330 L_3609419D: 1331 MEM32(esi + 0x8) = edx; /* 0x3609419D: mov dword ptr [esi + 8], edx */ 1332 L_360941A0: 1333 MEM32(edx) = ecx; /* 0x360941A0: mov dword ptr [edx], ecx */ 1334 MEM32(ecx + 0x4) = edx; /* 0x360941A2: mov dword ptr [ecx + 4], edx */ 1335 ecx = MEM32(eax + 0x4); /* 0x360941A5: mov ecx, dword ptr [eax + 4] */ 1336 ecx = MEM32(ecx + 0x8); /* 0x360941A8: mov ecx, dword ptr [ecx + 8] */ 1337 L_360941AB: 1338 edx = MEM32(ecx); /* 0x360941AB: mov edx, dword ptr [ecx] */ 1339 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x360941AD: cmp byte ptr [edx + 0x24], bl */ 1340 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1341 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1342 _flag_k = FK_NARROW(FK_CMP, 24); 1343 if (CMP_NE(_flag_a, _flag_b)) goto L_36094246; /* 0x360941B0: jne 0x36094246 */ 1344 L_360941B6: 1345 edx = MEM32(ecx + 0x8); /* 0x360941B6: mov edx, dword ptr [ecx + 8] */ 1346 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x360941B9: cmp byte ptr [edx + 0x24], bl */ 1347 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1348 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1349 _flag_k = FK_NARROW(FK_CMP, 24); 1350 if (CMP_NE(_flag_a, _flag_b)) goto L_36094246; /* 0x360941BC: jne 0x36094246 */ 1351 L_360941C2: 1352 goto L_3609422E; /* 0x360941C2: jmp 0x3609422e */ 1353 L_360941C4: 1354 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x360941C4: mov dl, byte ptr [ecx + 0x24] */ 1355 /* test LO8(edx), LO8(edx) */ /* 0x360941C7: test dl, dl */ 1356 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 1357 _cf = 0; 1358 _flag_k = FK_NARROW(FK_TEST, 24); 1359 if (TEST_NZ(_flag_a, _flag_b)) goto L_36094217; /* 0x360941C9: jne 0x36094217 */ 1360 L_360941CB: 1361 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360941CB: mov byte ptr [ecx + 0x24], bl */ 1362 ecx = MEM32(eax + 0x4); /* 0x360941CE: mov ecx, dword ptr [eax + 4] */ 1363 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x360941D1: mov byte ptr [ecx + 0x24], 0 */ 1364 ecx = MEM32(eax + 0x4); /* 0x360941D5: mov ecx, dword ptr [eax + 4] */ 1365 edx = MEM32(ecx); /* 0x360941D8: mov edx, dword ptr [ecx] */ 1366 esi = MEM32(edx + 0x8); /* 0x360941DA: mov esi, dword ptr [edx + 8] */ 1367 MEM32(ecx) = esi; /* 0x360941DD: mov dword ptr [ecx], esi */ 1368 esi = MEM32(edx + 0x8); /* 0x360941DF: mov esi, dword ptr [edx + 8] */ 1369 /* cmp esi, MEM32(edi + 0x8) */ /* 0x360941E2: cmp esi, dword ptr [edi + 8] */ 1370 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1371 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1372 _flag_k = FK_CMP; 1373 if (CMP_EQ(_flag_a, _flag_b)) goto L_360941EA; /* 0x360941E5: je 0x360941ea */ 1374 L_360941E7: 1375 MEM32(esi + 0x4) = ecx; /* 0x360941E7: mov dword ptr [esi + 4], ecx */ 1376 L_360941EA: 1377 esi = MEM32(ecx + 0x4); /* 0x360941EA: mov esi, dword ptr [ecx + 4] */ 1378 MEM32(edx + 0x4) = esi; /* 0x360941ED: mov dword ptr [edx + 4], esi */ 1379 esi = MEM32(edi + 0x4); /* 0x360941F0: mov esi, dword ptr [edi + 4] */ 1380 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x360941F3: cmp ecx, dword ptr [esi + 4] */ 1381 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1382 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1383 _flag_k = FK_CMP; 1384 if (CMP_NE(_flag_a, _flag_b)) goto L_360941FD; /* 0x360941F6: jne 0x360941fd */ 1385 L_360941F8: 1386 MEM32(esi + 0x4) = edx; /* 0x360941F8: mov dword ptr [esi + 4], edx */ 1387 goto L_3609420C; /* 0x360941FB: jmp 0x3609420c */ 1388 L_360941FD: 1389 esi = MEM32(ecx + 0x4); /* 0x360941FD: mov esi, dword ptr [ecx + 4] */ 1390 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x36094200: cmp ecx, dword ptr [esi + 8] */ 1391 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1392 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1393 _flag_k = FK_CMP; 1394 if (CMP_NE(_flag_a, _flag_b)) goto L_3609420A; /* 0x36094203: jne 0x3609420a */ 1395 L_36094205: 1396 MEM32(esi + 0x8) = edx; /* 0x36094205: mov dword ptr [esi + 8], edx */ 1397 goto L_3609420C; /* 0x36094208: jmp 0x3609420c */ 1398 L_3609420A: 1399 MEM32(esi) = edx; /* 0x3609420A: mov dword ptr [esi], edx */ 1400 L_3609420C: 1401 MEM32(edx + 0x8) = ecx; /* 0x3609420C: mov dword ptr [edx + 8], ecx */ 1402 MEM32(ecx + 0x4) = edx; /* 0x3609420F: mov dword ptr [ecx + 4], edx */ 1403 edx = MEM32(eax + 0x4); /* 0x36094212: mov edx, dword ptr [eax + 4] */ 1404 ecx = MEM32(edx); /* 0x36094215: mov ecx, dword ptr [edx] */ 1405 L_36094217: 1406 edx = MEM32(ecx + 0x8); /* 0x36094217: mov edx, dword ptr [ecx + 8] */ 1407 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x3609421A: cmp byte ptr [edx + 0x24], bl */ 1408 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1409 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1410 _flag_k = FK_NARROW(FK_CMP, 24); 1411 if (CMP_NE(_flag_a, _flag_b)) goto L_360942F3; /* 0x3609421D: jne 0x360942f3 */ 1412 L_36094223: 1413 edx = MEM32(ecx); /* 0x36094223: mov edx, dword ptr [ecx] */ 1414 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x36094225: cmp byte ptr [edx + 0x24], bl */ 1415 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1416 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1417 _flag_k = FK_NARROW(FK_CMP, 24); 1418 if (CMP_NE(_flag_a, _flag_b)) goto L_360942F3; /* 0x36094228: jne 0x360942f3 */ 1419 L_3609422E: 1420 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x3609422E: mov byte ptr [ecx + 0x24], 0 */ 1421 ecx = MEM32(edi + 0x4); /* 0x36094232: mov ecx, dword ptr [edi + 4] */ 1422 eax = MEM32(eax + 0x4); /* 0x36094235: mov eax, dword ptr [eax + 4] */ 1423 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x36094238: cmp eax, dword ptr [ecx + 4] */ 1424 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 1425 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1426 _flag_k = FK_CMP; 1427 RECOMP_BACKEDGE(); 1428 if (CMP_NE(_flag_a, _flag_b)) goto L_36094144; /* 0x3609423B: jne 0x36094144 */ 1429 L_36094241: 1430 goto L_36094392; /* 0x36094241: jmp 0x36094392 */ 1431 L_36094246: 1432 edx = MEM32(ecx + 0x8); /* 0x36094246: mov edx, dword ptr [ecx + 8] */ 1433 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x36094249: cmp byte ptr [edx + 0x24], bl */ 1434 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1435 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1436 _flag_k = FK_NARROW(FK_CMP, 24); 1437 if (CMP_NE(_flag_a, _flag_b)) goto L_36094297; /* 0x3609424C: jne 0x36094297 */ 1438 L_3609424E: 1439 edx = MEM32(ecx); /* 0x3609424E: mov edx, dword ptr [ecx] */ 1440 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094250: mov byte ptr [edx + 0x24], bl */ 1441 edx = MEM32(ecx); /* 0x36094253: mov edx, dword ptr [ecx] */ 1442 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x36094255: mov byte ptr [ecx + 0x24], 0 */ 1443 esi = MEM32(edx + 0x8); /* 0x36094259: mov esi, dword ptr [edx + 8] */ 1444 MEM32(ecx) = esi; /* 0x3609425C: mov dword ptr [ecx], esi */ 1445 esi = MEM32(edx + 0x8); /* 0x3609425E: mov esi, dword ptr [edx + 8] */ 1446 /* cmp esi, MEM32(edi + 0x8) */ /* 0x36094261: cmp esi, dword ptr [edi + 8] */ 1447 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1448 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1449 _flag_k = FK_CMP; 1450 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094269; /* 0x36094264: je 0x36094269 */ 1451 L_36094266: 1452 MEM32(esi + 0x4) = ecx; /* 0x36094266: mov dword ptr [esi + 4], ecx */ 1453 L_36094269: 1454 esi = MEM32(ecx + 0x4); /* 0x36094269: mov esi, dword ptr [ecx + 4] */ 1455 MEM32(edx + 0x4) = esi; /* 0x3609426C: mov dword ptr [edx + 4], esi */ 1456 esi = MEM32(edi + 0x4); /* 0x3609426F: mov esi, dword ptr [edi + 4] */ 1457 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x36094272: cmp ecx, dword ptr [esi + 4] */ 1458 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1459 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1460 _flag_k = FK_CMP; 1461 if (CMP_NE(_flag_a, _flag_b)) goto L_3609427C; /* 0x36094275: jne 0x3609427c */ 1462 L_36094277: 1463 MEM32(esi + 0x4) = edx; /* 0x36094277: mov dword ptr [esi + 4], edx */ 1464 goto L_3609428B; /* 0x3609427A: jmp 0x3609428b */ 1465 L_3609427C: 1466 esi = MEM32(ecx + 0x4); /* 0x3609427C: mov esi, dword ptr [ecx + 4] */ 1467 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x3609427F: cmp ecx, dword ptr [esi + 8] */ 1468 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1469 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1470 _flag_k = FK_CMP; 1471 if (CMP_NE(_flag_a, _flag_b)) goto L_36094289; /* 0x36094282: jne 0x36094289 */ 1472 L_36094284: 1473 MEM32(esi + 0x8) = edx; /* 0x36094284: mov dword ptr [esi + 8], edx */ 1474 goto L_3609428B; /* 0x36094287: jmp 0x3609428b */ 1475 L_36094289: 1476 MEM32(esi) = edx; /* 0x36094289: mov dword ptr [esi], edx */ 1477 L_3609428B: 1478 MEM32(edx + 0x8) = ecx; /* 0x3609428B: mov dword ptr [edx + 8], ecx */ 1479 MEM32(ecx + 0x4) = edx; /* 0x3609428E: mov dword ptr [ecx + 4], edx */ 1480 ecx = MEM32(eax + 0x4); /* 0x36094291: mov ecx, dword ptr [eax + 4] */ 1481 ecx = MEM32(ecx + 0x8); /* 0x36094294: mov ecx, dword ptr [ecx + 8] */ 1482 L_36094297: 1483 edx = MEM32(eax + 0x4); /* 0x36094297: mov edx, dword ptr [eax + 4] */ 1484 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x3609429A: mov dl, byte ptr [edx + 0x24] */ 1485 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x3609429D: mov byte ptr [ecx + 0x24], dl */ 1486 edx = MEM32(eax + 0x4); /* 0x360942A0: mov edx, dword ptr [eax + 4] */ 1487 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360942A3: mov byte ptr [edx + 0x24], bl */ 1488 ecx = MEM32(ecx + 0x8); /* 0x360942A6: mov ecx, dword ptr [ecx + 8] */ 1489 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360942A9: mov byte ptr [ecx + 0x24], bl */ 1490 ecx = MEM32(eax + 0x4); /* 0x360942AC: mov ecx, dword ptr [eax + 4] */ 1491 edx = MEM32(ecx + 0x8); /* 0x360942AF: mov edx, dword ptr [ecx + 8] */ 1492 esi = MEM32(edx); /* 0x360942B2: mov esi, dword ptr [edx] */ 1493 MEM32(ecx + 0x8) = esi; /* 0x360942B4: mov dword ptr [ecx + 8], esi */ 1494 esi = MEM32(edx); /* 0x360942B7: mov esi, dword ptr [edx] */ 1495 /* cmp esi, MEM32(edi + 0x8) */ /* 0x360942B9: cmp esi, dword ptr [edi + 8] */ 1496 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1497 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1498 _flag_k = FK_CMP; 1499 if (CMP_EQ(_flag_a, _flag_b)) goto L_360942C1; /* 0x360942BC: je 0x360942c1 */ 1500 L_360942BE: 1501 MEM32(esi + 0x4) = ecx; /* 0x360942BE: mov dword ptr [esi + 4], ecx */ 1502 L_360942C1: 1503 esi = MEM32(ecx + 0x4); /* 0x360942C1: mov esi, dword ptr [ecx + 4] */ 1504 MEM32(edx + 0x4) = esi; /* 0x360942C4: mov dword ptr [edx + 4], esi */ 1505 esi = MEM32(edi + 0x4); /* 0x360942C7: mov esi, dword ptr [edi + 4] */ 1506 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x360942CA: cmp ecx, dword ptr [esi + 4] */ 1507 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1508 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1509 _flag_k = FK_CMP; 1510 if (CMP_NE(_flag_a, _flag_b)) goto L_360942D9; /* 0x360942CD: jne 0x360942d9 */ 1511 L_360942CF: 1512 MEM32(esi + 0x4) = edx; /* 0x360942CF: mov dword ptr [esi + 4], edx */ 1513 MEM32(edx) = ecx; /* 0x360942D2: mov dword ptr [edx], ecx */ 1514 goto L_3609438F; /* 0x360942D4: jmp 0x3609438f */ 1515 L_360942D9: 1516 esi = MEM32(ecx + 0x4); /* 0x360942D9: mov esi, dword ptr [ecx + 4] */ 1517 /* cmp ecx, MEM32(esi) */ /* 0x360942DC: cmp ecx, dword ptr [esi] */ 1518 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 1519 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1520 _flag_k = FK_CMP; 1521 if (CMP_NE(_flag_a, _flag_b)) goto L_360942E9; /* 0x360942DE: jne 0x360942e9 */ 1522 L_360942E0: 1523 MEM32(esi) = edx; /* 0x360942E0: mov dword ptr [esi], edx */ 1524 MEM32(edx) = ecx; /* 0x360942E2: mov dword ptr [edx], ecx */ 1525 goto L_3609438F; /* 0x360942E4: jmp 0x3609438f */ 1526 L_360942E9: 1527 MEM32(esi + 0x8) = edx; /* 0x360942E9: mov dword ptr [esi + 8], edx */ 1528 MEM32(edx) = ecx; /* 0x360942EC: mov dword ptr [edx], ecx */ 1529 goto L_3609438F; /* 0x360942EE: jmp 0x3609438f */ 1530 L_360942F3: 1531 edx = MEM32(ecx); /* 0x360942F3: mov edx, dword ptr [ecx] */ 1532 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x360942F5: cmp byte ptr [edx + 0x24], bl */ 1533 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1534 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1535 _flag_k = FK_NARROW(FK_CMP, 24); 1536 if (CMP_NE(_flag_a, _flag_b)) goto L_36094341; /* 0x360942F8: jne 0x36094341 */ 1537 L_360942FA: 1538 edx = MEM32(ecx + 0x8); /* 0x360942FA: mov edx, dword ptr [ecx + 8] */ 1539 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360942FD: mov byte ptr [edx + 0x24], bl */ 1540 edx = MEM32(ecx + 0x8); /* 0x36094300: mov edx, dword ptr [ecx + 8] */ 1541 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x36094303: mov byte ptr [ecx + 0x24], 0 */ 1542 esi = MEM32(edx); /* 0x36094307: mov esi, dword ptr [edx] */ 1543 MEM32(ecx + 0x8) = esi; /* 0x36094309: mov dword ptr [ecx + 8], esi */ 1544 esi = MEM32(edx); /* 0x3609430C: mov esi, dword ptr [edx] */ 1545 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3609430E: cmp esi, dword ptr [edi + 8] */ 1546 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1547 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1548 _flag_k = FK_CMP; 1549 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094316; /* 0x36094311: je 0x36094316 */ 1550 L_36094313: 1551 MEM32(esi + 0x4) = ecx; /* 0x36094313: mov dword ptr [esi + 4], ecx */ 1552 L_36094316: 1553 esi = MEM32(ecx + 0x4); /* 0x36094316: mov esi, dword ptr [ecx + 4] */ 1554 MEM32(edx + 0x4) = esi; /* 0x36094319: mov dword ptr [edx + 4], esi */ 1555 esi = MEM32(edi + 0x4); /* 0x3609431C: mov esi, dword ptr [edi + 4] */ 1556 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x3609431F: cmp ecx, dword ptr [esi + 4] */ 1557 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1558 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1559 _flag_k = FK_CMP; 1560 if (CMP_NE(_flag_a, _flag_b)) goto L_36094329; /* 0x36094322: jne 0x36094329 */ 1561 L_36094324: 1562 MEM32(esi + 0x4) = edx; /* 0x36094324: mov dword ptr [esi + 4], edx */ 1563 goto L_36094337; /* 0x36094327: jmp 0x36094337 */ 1564 L_36094329: 1565 esi = MEM32(ecx + 0x4); /* 0x36094329: mov esi, dword ptr [ecx + 4] */ 1566 /* cmp ecx, MEM32(esi) */ /* 0x3609432C: cmp ecx, dword ptr [esi] */ 1567 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 1568 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1569 _flag_k = FK_CMP; 1570 if (CMP_NE(_flag_a, _flag_b)) goto L_36094334; /* 0x3609432E: jne 0x36094334 */ 1571 L_36094330: 1572 MEM32(esi) = edx; /* 0x36094330: mov dword ptr [esi], edx */ 1573 goto L_36094337; /* 0x36094332: jmp 0x36094337 */ 1574 L_36094334: 1575 MEM32(esi + 0x8) = edx; /* 0x36094334: mov dword ptr [esi + 8], edx */ 1576 L_36094337: 1577 MEM32(edx) = ecx; /* 0x36094337: mov dword ptr [edx], ecx */ 1578 MEM32(ecx + 0x4) = edx; /* 0x36094339: mov dword ptr [ecx + 4], edx */ 1579 ecx = MEM32(eax + 0x4); /* 0x3609433C: mov ecx, dword ptr [eax + 4] */ 1580 ecx = MEM32(ecx); /* 0x3609433F: mov ecx, dword ptr [ecx] */ 1581 L_36094341: 1582 edx = MEM32(eax + 0x4); /* 0x36094341: mov edx, dword ptr [eax + 4] */ 1583 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x36094344: mov dl, byte ptr [edx + 0x24] */ 1584 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x36094347: mov byte ptr [ecx + 0x24], dl */ 1585 edx = MEM32(eax + 0x4); /* 0x3609434A: mov edx, dword ptr [eax + 4] */ 1586 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x3609434D: mov byte ptr [edx + 0x24], bl */ 1587 ecx = MEM32(ecx); /* 0x36094350: mov ecx, dword ptr [ecx] */ 1588 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094352: mov byte ptr [ecx + 0x24], bl */ 1589 ecx = MEM32(eax + 0x4); /* 0x36094355: mov ecx, dword ptr [eax + 4] */ 1590 edx = MEM32(ecx); /* 0x36094358: mov edx, dword ptr [ecx] */ 1591 esi = MEM32(edx + 0x8); /* 0x3609435A: mov esi, dword ptr [edx + 8] */ 1592 MEM32(ecx) = esi; /* 0x3609435D: mov dword ptr [ecx], esi */ 1593 esi = MEM32(edx + 0x8); /* 0x3609435F: mov esi, dword ptr [edx + 8] */ 1594 /* cmp esi, MEM32(edi + 0x8) */ /* 0x36094362: cmp esi, dword ptr [edi + 8] */ 1595 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1596 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1597 _flag_k = FK_CMP; 1598 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609436A; /* 0x36094365: je 0x3609436a */ 1599 L_36094367: 1600 MEM32(esi + 0x4) = ecx; /* 0x36094367: mov dword ptr [esi + 4], ecx */ 1601 L_3609436A: 1602 esi = MEM32(ecx + 0x4); /* 0x3609436A: mov esi, dword ptr [ecx + 4] */ 1603 MEM32(edx + 0x4) = esi; /* 0x3609436D: mov dword ptr [edx + 4], esi */ 1604 esi = MEM32(edi + 0x4); /* 0x36094370: mov esi, dword ptr [edi + 4] */ 1605 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x36094373: cmp ecx, dword ptr [esi + 4] */ 1606 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1607 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1608 _flag_k = FK_CMP; 1609 if (CMP_NE(_flag_a, _flag_b)) goto L_3609437D; /* 0x36094376: jne 0x3609437d */ 1610 L_36094378: 1611 MEM32(esi + 0x4) = edx; /* 0x36094378: mov dword ptr [esi + 4], edx */ 1612 goto L_3609438C; /* 0x3609437B: jmp 0x3609438c */ 1613 L_3609437D: 1614 esi = MEM32(ecx + 0x4); /* 0x3609437D: mov esi, dword ptr [ecx + 4] */ 1615 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x36094380: cmp ecx, dword ptr [esi + 8] */ 1616 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1617 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1618 _flag_k = FK_CMP; 1619 if (CMP_NE(_flag_a, _flag_b)) goto L_3609438A; /* 0x36094383: jne 0x3609438a */ 1620 L_36094385: 1621 MEM32(esi + 0x8) = edx; /* 0x36094385: mov dword ptr [esi + 8], edx */ 1622 goto L_3609438C; /* 0x36094388: jmp 0x3609438c */ 1623 L_3609438A: 1624 MEM32(esi) = edx; /* 0x3609438A: mov dword ptr [esi], edx */ 1625 L_3609438C: 1626 MEM32(edx + 0x8) = ecx; /* 0x3609438C: mov dword ptr [edx + 8], ecx */ 1627 L_3609438F: 1628 MEM32(ecx + 0x4) = edx; /* 0x3609438F: mov dword ptr [ecx + 4], edx */ 1629 L_36094392: 1630 esi = MEM32(ebp + (-0x4)); /* 0x36094392: mov esi, dword ptr [ebp - 4] */ 1631 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094395: mov byte ptr [eax + 0x24], bl */ 1632 L_36094398: 1633 ecx = esi + 0xC; /* 0x36094398: lea ecx, [esi + 0xc] */ 1634 RECOMP_ICALL(0x3610BA00u); /* 0x3609439B: call 0x3610ba00 */ /* not lifted */ 1635 RECOMP_FLAGS_IN(); 1636 PUSH32(esp, esi); /* 0x360943A0: push esi */ 1637 RECOMP_ICALL(0x3615FCC4u); /* 0x360943A1: call 0x3615fcc4 */ /* not lifted */ 1638 RECOMP_FLAGS_IN(); 1639 eax = MEM32(edi + 0x10); /* 0x360943A6: mov eax, dword ptr [edi + 0x10] */ 1640 edx = MEM32(ebp + 0xC); /* 0x360943A9: mov edx, dword ptr [ebp + 0xc] */ 1641 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 1642 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 1643 esp = esp + 4; /* 0x360943AC: add esp, 4 */ 1644 _flag_k = FK_ADD; 1645 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 1646 eax = eax - 1; /* 0x360943AF: dec eax */ 1647 _flag_k = FK_DEC; 1648 MEM32(edi + 0x10) = eax; /* 0x360943B0: mov dword ptr [edi + 0x10], eax */ 1649 eax = MEM32(ebp + 0x8); /* 0x360943B3: mov eax, dword ptr [ebp + 8] */ 1650 edi = POP32_VAL(esp); /* 0x360943B6: pop edi */ 1651 esi = POP32_VAL(esp); /* 0x360943B7: pop esi */ 1652 MEM32(eax) = edx; /* 0x360943B8: mov dword ptr [eax], edx */ 1653 ebx = POP32_VAL(esp); /* 0x360943BA: pop ebx */ 1654 esp = ebp; /* 0x360943BB: mov esp, ebp */ 1655 ebp = POP32_VAL(esp); /* 0x360943BD: pop ebp */ 1656 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x360943BE: ret 8 */ 1657 RECOMP_REGS_OUT(); 1658 } 1659 1660 void sub_360940D1(void) { 1661 int _fpu_cmp = 0; 1662 uint32_t _cf = 0; 1663 int _df = 1; 1664 uint32_t _flag_k = FK_NONE; 1665 uint32_t _flag_a = 0, _flag_b = 0; 1666 uint32_t _itail_tgt = 0; 1667 RECOMP_REGS_LOCALS 1668 RECOMP_ENTER(0x360940D1u); 1669 1670 L_360940D1: 1671 ebx = MEM32(edi + 0x4); /* 0x360940D1: mov ebx, dword ptr [edi + 4] */ 1672 /* cmp MEM32(ebx), esi */ /* 0x360940D4: cmp dword ptr [ebx], esi */ 1673 _flag_a = (uint32_t)(MEM32(ebx)); _flag_b = (uint32_t)(esi); 1674 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1675 _flag_k = FK_CMP; 1676 if (CMP_NE(_flag_a, _flag_b)) goto L_360940FB; /* 0x360940D6: jne 0x360940fb */ 1677 L_360940D8: 1678 ecx = MEM32(esi + 0x8); /* 0x360940D8: mov ecx, dword ptr [esi + 8] */ 1679 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x360940DB: cmp ecx, dword ptr [edi + 8] */ 1680 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1681 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1682 _flag_k = FK_CMP; 1683 if (CMP_NE(_flag_a, _flag_b)) goto L_360940E5; /* 0x360940DE: jne 0x360940e5 */ 1684 L_360940E0: 1685 edx = MEM32(esi + 0x4); /* 0x360940E0: mov edx, dword ptr [esi + 4] */ 1686 goto L_360940F9; /* 0x360940E3: jmp 0x360940f9 */ 1687 L_360940E5: 1688 ecx = MEM32(eax); /* 0x360940E5: mov ecx, dword ptr [eax] */ 1689 /* cmp MEM8(ecx + 0x25), 0 */ /* 0x360940E7: cmp byte ptr [ecx + 0x25], 0 */ 1690 _flag_a = (uint32_t)(MEM8(ecx + 0x25)) << 24; _flag_b = (uint32_t)(0) << 24; 1691 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1692 _flag_k = FK_NARROW(FK_CMP, 24); 1693 edx = eax; /* 0x360940EB: mov edx, eax */ 1694 if (CMP_NE(_flag_a, _flag_b)) goto L_360940F9; /* 0x360940ED: jne 0x360940f9 */ 1695 L_360940EF: 1696 edx = ecx; /* 0x360940EF: mov edx, ecx */ 1697 ecx = MEM32(edx); /* 0x360940F1: mov ecx, dword ptr [edx] */ 1698 /* cmp MEM8(ecx + 0x25), 0 */ /* 0x360940F3: cmp byte ptr [ecx + 0x25], 0 */ 1699 _flag_a = (uint32_t)(MEM8(ecx + 0x25)) << 24; _flag_b = (uint32_t)(0) << 24; 1700 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1701 _flag_k = FK_NARROW(FK_CMP, 24); 1702 RECOMP_BACKEDGE(); 1703 if (CMP_EQ(_flag_a, _flag_b)) goto L_360940EF; /* 0x360940F7: je 0x360940ef */ 1704 L_360940F9: 1705 MEM32(ebx) = edx; /* 0x360940F9: mov dword ptr [ebx], edx */ 1706 L_360940FB: 1707 ebx = MEM32(edi + 0x4); /* 0x360940FB: mov ebx, dword ptr [edi + 4] */ 1708 /* cmp MEM32(ebx + 0x8), esi */ /* 0x360940FE: cmp dword ptr [ebx + 8], esi */ 1709 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 1710 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1711 _flag_k = FK_CMP; 1712 if (CMP_NE(_flag_a, _flag_b)) goto L_36094128; /* 0x36094101: jne 0x36094128 */ 1713 L_36094103: 1714 ecx = MEM32(esi); /* 0x36094103: mov ecx, dword ptr [esi] */ 1715 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x36094105: cmp ecx, dword ptr [edi + 8] */ 1716 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1717 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1718 _flag_k = FK_CMP; 1719 if (CMP_NE(_flag_a, _flag_b)) goto L_3609410F; /* 0x36094108: jne 0x3609410f */ 1720 L_3609410A: 1721 edx = MEM32(esi + 0x4); /* 0x3609410A: mov edx, dword ptr [esi + 4] */ 1722 goto L_36094125; /* 0x3609410D: jmp 0x36094125 */ 1723 L_3609410F: 1724 ecx = MEM32(eax + 0x8); /* 0x3609410F: mov ecx, dword ptr [eax + 8] */ 1725 /* cmp MEM8(ecx + 0x25), 0 */ /* 0x36094112: cmp byte ptr [ecx + 0x25], 0 */ 1726 _flag_a = (uint32_t)(MEM8(ecx + 0x25)) << 24; _flag_b = (uint32_t)(0) << 24; 1727 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1728 _flag_k = FK_NARROW(FK_CMP, 24); 1729 edx = eax; /* 0x36094116: mov edx, eax */ 1730 if (CMP_NE(_flag_a, _flag_b)) goto L_36094125; /* 0x36094118: jne 0x36094125 */ 1731 L_3609411A: 1732 edx = ecx; /* 0x3609411A: mov edx, ecx */ 1733 ecx = MEM32(edx + 0x8); /* 0x3609411C: mov ecx, dword ptr [edx + 8] */ 1734 /* cmp MEM8(ecx + 0x25), 0 */ /* 0x3609411F: cmp byte ptr [ecx + 0x25], 0 */ 1735 _flag_a = (uint32_t)(MEM8(ecx + 0x25)) << 24; _flag_b = (uint32_t)(0) << 24; 1736 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1737 _flag_k = FK_NARROW(FK_CMP, 24); 1738 RECOMP_BACKEDGE(); 1739 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609411A; /* 0x36094123: je 0x3609411a */ 1740 L_36094125: 1741 MEM32(ebx + 0x8) = edx; /* 0x36094125: mov dword ptr [ebx + 8], edx */ 1742 L_36094128: 1743 esi = MEM32(ebp + (-0x4)); /* 0x36094128: mov esi, dword ptr [ebp - 4] */ 1744 SET_LO8(ecx, MEM8(esi + 0x24)); /* 0x3609412B: mov cl, byte ptr [esi + 0x24] */ 1745 SET_LO8(ebx, 1); /* 0x3609412E: mov bl, 1 */ 1746 /* cmp LO8(ecx), LO8(ebx) */ /* 0x36094130: cmp cl, bl */ 1747 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1748 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1749 _flag_k = FK_NARROW(FK_CMP, 24); 1750 if (CMP_NE(_flag_a, _flag_b)) goto L_36094398; /* 0x36094132: jne 0x36094398 */ 1751 L_36094138: 1752 ecx = MEM32(edi + 0x4); /* 0x36094138: mov ecx, dword ptr [edi + 4] */ 1753 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3609413B: cmp eax, dword ptr [ecx + 4] */ 1754 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 1755 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1756 _flag_k = FK_CMP; 1757 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094392; /* 0x3609413E: je 0x36094392 */ 1758 L_36094144: 1759 /* cmp MEM8(eax + 0x24), LO8(ebx) */ /* 0x36094144: cmp byte ptr [eax + 0x24], bl */ 1760 _flag_a = (uint32_t)(MEM8(eax + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1761 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1762 _flag_k = FK_NARROW(FK_CMP, 24); 1763 if (CMP_NE(_flag_a, _flag_b)) goto L_36094392; /* 0x36094147: jne 0x36094392 */ 1764 L_3609414D: 1765 edx = MEM32(eax + 0x4); /* 0x3609414D: mov edx, dword ptr [eax + 4] */ 1766 ecx = MEM32(edx); /* 0x36094150: mov ecx, dword ptr [edx] */ 1767 /* cmp eax, ecx */ /* 0x36094152: cmp eax, ecx */ 1768 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 1769 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1770 _flag_k = FK_CMP; 1771 if (CMP_NE(_flag_a, _flag_b)) goto L_360941C4; /* 0x36094154: jne 0x360941c4 */ 1772 L_36094156: 1773 ecx = MEM32(edx + 0x8); /* 0x36094156: mov ecx, dword ptr [edx + 8] */ 1774 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x36094159: mov dl, byte ptr [ecx + 0x24] */ 1775 /* test LO8(edx), LO8(edx) */ /* 0x3609415C: test dl, dl */ 1776 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 1777 _cf = 0; 1778 _flag_k = FK_NARROW(FK_TEST, 24); 1779 if (TEST_NZ(_flag_a, _flag_b)) goto L_360941AB; /* 0x3609415E: jne 0x360941ab */ 1780 L_36094160: 1781 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094160: mov byte ptr [ecx + 0x24], bl */ 1782 edx = MEM32(eax + 0x4); /* 0x36094163: mov edx, dword ptr [eax + 4] */ 1783 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x36094166: mov byte ptr [edx + 0x24], 0 */ 1784 ecx = MEM32(eax + 0x4); /* 0x3609416A: mov ecx, dword ptr [eax + 4] */ 1785 edx = MEM32(ecx + 0x8); /* 0x3609416D: mov edx, dword ptr [ecx + 8] */ 1786 esi = MEM32(edx); /* 0x36094170: mov esi, dword ptr [edx] */ 1787 MEM32(ecx + 0x8) = esi; /* 0x36094172: mov dword ptr [ecx + 8], esi */ 1788 esi = MEM32(edx); /* 0x36094175: mov esi, dword ptr [edx] */ 1789 /* cmp esi, MEM32(edi + 0x8) */ /* 0x36094177: cmp esi, dword ptr [edi + 8] */ 1790 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1791 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1792 _flag_k = FK_CMP; 1793 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609417F; /* 0x3609417A: je 0x3609417f */ 1794 L_3609417C: 1795 MEM32(esi + 0x4) = ecx; /* 0x3609417C: mov dword ptr [esi + 4], ecx */ 1796 L_3609417F: 1797 esi = MEM32(ecx + 0x4); /* 0x3609417F: mov esi, dword ptr [ecx + 4] */ 1798 MEM32(edx + 0x4) = esi; /* 0x36094182: mov dword ptr [edx + 4], esi */ 1799 esi = MEM32(edi + 0x4); /* 0x36094185: mov esi, dword ptr [edi + 4] */ 1800 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x36094188: cmp ecx, dword ptr [esi + 4] */ 1801 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1802 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1803 _flag_k = FK_CMP; 1804 if (CMP_NE(_flag_a, _flag_b)) goto L_36094192; /* 0x3609418B: jne 0x36094192 */ 1805 L_3609418D: 1806 MEM32(esi + 0x4) = edx; /* 0x3609418D: mov dword ptr [esi + 4], edx */ 1807 goto L_360941A0; /* 0x36094190: jmp 0x360941a0 */ 1808 L_36094192: 1809 esi = MEM32(ecx + 0x4); /* 0x36094192: mov esi, dword ptr [ecx + 4] */ 1810 /* cmp ecx, MEM32(esi) */ /* 0x36094195: cmp ecx, dword ptr [esi] */ 1811 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 1812 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1813 _flag_k = FK_CMP; 1814 if (CMP_NE(_flag_a, _flag_b)) goto L_3609419D; /* 0x36094197: jne 0x3609419d */ 1815 L_36094199: 1816 MEM32(esi) = edx; /* 0x36094199: mov dword ptr [esi], edx */ 1817 goto L_360941A0; /* 0x3609419B: jmp 0x360941a0 */ 1818 L_3609419D: 1819 MEM32(esi + 0x8) = edx; /* 0x3609419D: mov dword ptr [esi + 8], edx */ 1820 L_360941A0: 1821 MEM32(edx) = ecx; /* 0x360941A0: mov dword ptr [edx], ecx */ 1822 MEM32(ecx + 0x4) = edx; /* 0x360941A2: mov dword ptr [ecx + 4], edx */ 1823 ecx = MEM32(eax + 0x4); /* 0x360941A5: mov ecx, dword ptr [eax + 4] */ 1824 ecx = MEM32(ecx + 0x8); /* 0x360941A8: mov ecx, dword ptr [ecx + 8] */ 1825 L_360941AB: 1826 edx = MEM32(ecx); /* 0x360941AB: mov edx, dword ptr [ecx] */ 1827 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x360941AD: cmp byte ptr [edx + 0x24], bl */ 1828 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1829 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1830 _flag_k = FK_NARROW(FK_CMP, 24); 1831 if (CMP_NE(_flag_a, _flag_b)) goto L_36094246; /* 0x360941B0: jne 0x36094246 */ 1832 L_360941B6: 1833 edx = MEM32(ecx + 0x8); /* 0x360941B6: mov edx, dword ptr [ecx + 8] */ 1834 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x360941B9: cmp byte ptr [edx + 0x24], bl */ 1835 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1836 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1837 _flag_k = FK_NARROW(FK_CMP, 24); 1838 if (CMP_NE(_flag_a, _flag_b)) goto L_36094246; /* 0x360941BC: jne 0x36094246 */ 1839 L_360941C2: 1840 goto L_3609422E; /* 0x360941C2: jmp 0x3609422e */ 1841 L_360941C4: 1842 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x360941C4: mov dl, byte ptr [ecx + 0x24] */ 1843 /* test LO8(edx), LO8(edx) */ /* 0x360941C7: test dl, dl */ 1844 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 1845 _cf = 0; 1846 _flag_k = FK_NARROW(FK_TEST, 24); 1847 if (TEST_NZ(_flag_a, _flag_b)) goto L_36094217; /* 0x360941C9: jne 0x36094217 */ 1848 L_360941CB: 1849 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360941CB: mov byte ptr [ecx + 0x24], bl */ 1850 ecx = MEM32(eax + 0x4); /* 0x360941CE: mov ecx, dword ptr [eax + 4] */ 1851 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x360941D1: mov byte ptr [ecx + 0x24], 0 */ 1852 ecx = MEM32(eax + 0x4); /* 0x360941D5: mov ecx, dword ptr [eax + 4] */ 1853 edx = MEM32(ecx); /* 0x360941D8: mov edx, dword ptr [ecx] */ 1854 esi = MEM32(edx + 0x8); /* 0x360941DA: mov esi, dword ptr [edx + 8] */ 1855 MEM32(ecx) = esi; /* 0x360941DD: mov dword ptr [ecx], esi */ 1856 esi = MEM32(edx + 0x8); /* 0x360941DF: mov esi, dword ptr [edx + 8] */ 1857 /* cmp esi, MEM32(edi + 0x8) */ /* 0x360941E2: cmp esi, dword ptr [edi + 8] */ 1858 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1859 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1860 _flag_k = FK_CMP; 1861 if (CMP_EQ(_flag_a, _flag_b)) goto L_360941EA; /* 0x360941E5: je 0x360941ea */ 1862 L_360941E7: 1863 MEM32(esi + 0x4) = ecx; /* 0x360941E7: mov dword ptr [esi + 4], ecx */ 1864 L_360941EA: 1865 esi = MEM32(ecx + 0x4); /* 0x360941EA: mov esi, dword ptr [ecx + 4] */ 1866 MEM32(edx + 0x4) = esi; /* 0x360941ED: mov dword ptr [edx + 4], esi */ 1867 esi = MEM32(edi + 0x4); /* 0x360941F0: mov esi, dword ptr [edi + 4] */ 1868 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x360941F3: cmp ecx, dword ptr [esi + 4] */ 1869 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1870 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1871 _flag_k = FK_CMP; 1872 if (CMP_NE(_flag_a, _flag_b)) goto L_360941FD; /* 0x360941F6: jne 0x360941fd */ 1873 L_360941F8: 1874 MEM32(esi + 0x4) = edx; /* 0x360941F8: mov dword ptr [esi + 4], edx */ 1875 goto L_3609420C; /* 0x360941FB: jmp 0x3609420c */ 1876 L_360941FD: 1877 esi = MEM32(ecx + 0x4); /* 0x360941FD: mov esi, dword ptr [ecx + 4] */ 1878 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x36094200: cmp ecx, dword ptr [esi + 8] */ 1879 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1880 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1881 _flag_k = FK_CMP; 1882 if (CMP_NE(_flag_a, _flag_b)) goto L_3609420A; /* 0x36094203: jne 0x3609420a */ 1883 L_36094205: 1884 MEM32(esi + 0x8) = edx; /* 0x36094205: mov dword ptr [esi + 8], edx */ 1885 goto L_3609420C; /* 0x36094208: jmp 0x3609420c */ 1886 L_3609420A: 1887 MEM32(esi) = edx; /* 0x3609420A: mov dword ptr [esi], edx */ 1888 L_3609420C: 1889 MEM32(edx + 0x8) = ecx; /* 0x3609420C: mov dword ptr [edx + 8], ecx */ 1890 MEM32(ecx + 0x4) = edx; /* 0x3609420F: mov dword ptr [ecx + 4], edx */ 1891 edx = MEM32(eax + 0x4); /* 0x36094212: mov edx, dword ptr [eax + 4] */ 1892 ecx = MEM32(edx); /* 0x36094215: mov ecx, dword ptr [edx] */ 1893 L_36094217: 1894 edx = MEM32(ecx + 0x8); /* 0x36094217: mov edx, dword ptr [ecx + 8] */ 1895 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x3609421A: cmp byte ptr [edx + 0x24], bl */ 1896 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1897 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1898 _flag_k = FK_NARROW(FK_CMP, 24); 1899 if (CMP_NE(_flag_a, _flag_b)) goto L_360942F3; /* 0x3609421D: jne 0x360942f3 */ 1900 L_36094223: 1901 edx = MEM32(ecx); /* 0x36094223: mov edx, dword ptr [ecx] */ 1902 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x36094225: cmp byte ptr [edx + 0x24], bl */ 1903 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1904 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1905 _flag_k = FK_NARROW(FK_CMP, 24); 1906 if (CMP_NE(_flag_a, _flag_b)) goto L_360942F3; /* 0x36094228: jne 0x360942f3 */ 1907 L_3609422E: 1908 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x3609422E: mov byte ptr [ecx + 0x24], 0 */ 1909 ecx = MEM32(edi + 0x4); /* 0x36094232: mov ecx, dword ptr [edi + 4] */ 1910 eax = MEM32(eax + 0x4); /* 0x36094235: mov eax, dword ptr [eax + 4] */ 1911 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x36094238: cmp eax, dword ptr [ecx + 4] */ 1912 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 1913 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1914 _flag_k = FK_CMP; 1915 RECOMP_BACKEDGE(); 1916 if (CMP_NE(_flag_a, _flag_b)) goto L_36094144; /* 0x3609423B: jne 0x36094144 */ 1917 L_36094241: 1918 goto L_36094392; /* 0x36094241: jmp 0x36094392 */ 1919 L_36094246: 1920 edx = MEM32(ecx + 0x8); /* 0x36094246: mov edx, dword ptr [ecx + 8] */ 1921 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x36094249: cmp byte ptr [edx + 0x24], bl */ 1922 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 1923 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1924 _flag_k = FK_NARROW(FK_CMP, 24); 1925 if (CMP_NE(_flag_a, _flag_b)) goto L_36094297; /* 0x3609424C: jne 0x36094297 */ 1926 L_3609424E: 1927 edx = MEM32(ecx); /* 0x3609424E: mov edx, dword ptr [ecx] */ 1928 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094250: mov byte ptr [edx + 0x24], bl */ 1929 edx = MEM32(ecx); /* 0x36094253: mov edx, dword ptr [ecx] */ 1930 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x36094255: mov byte ptr [ecx + 0x24], 0 */ 1931 esi = MEM32(edx + 0x8); /* 0x36094259: mov esi, dword ptr [edx + 8] */ 1932 MEM32(ecx) = esi; /* 0x3609425C: mov dword ptr [ecx], esi */ 1933 esi = MEM32(edx + 0x8); /* 0x3609425E: mov esi, dword ptr [edx + 8] */ 1934 /* cmp esi, MEM32(edi + 0x8) */ /* 0x36094261: cmp esi, dword ptr [edi + 8] */ 1935 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1936 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1937 _flag_k = FK_CMP; 1938 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094269; /* 0x36094264: je 0x36094269 */ 1939 L_36094266: 1940 MEM32(esi + 0x4) = ecx; /* 0x36094266: mov dword ptr [esi + 4], ecx */ 1941 L_36094269: 1942 esi = MEM32(ecx + 0x4); /* 0x36094269: mov esi, dword ptr [ecx + 4] */ 1943 MEM32(edx + 0x4) = esi; /* 0x3609426C: mov dword ptr [edx + 4], esi */ 1944 esi = MEM32(edi + 0x4); /* 0x3609426F: mov esi, dword ptr [edi + 4] */ 1945 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x36094272: cmp ecx, dword ptr [esi + 4] */ 1946 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1947 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1948 _flag_k = FK_CMP; 1949 if (CMP_NE(_flag_a, _flag_b)) goto L_3609427C; /* 0x36094275: jne 0x3609427c */ 1950 L_36094277: 1951 MEM32(esi + 0x4) = edx; /* 0x36094277: mov dword ptr [esi + 4], edx */ 1952 goto L_3609428B; /* 0x3609427A: jmp 0x3609428b */ 1953 L_3609427C: 1954 esi = MEM32(ecx + 0x4); /* 0x3609427C: mov esi, dword ptr [ecx + 4] */ 1955 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x3609427F: cmp ecx, dword ptr [esi + 8] */ 1956 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 1957 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1958 _flag_k = FK_CMP; 1959 if (CMP_NE(_flag_a, _flag_b)) goto L_36094289; /* 0x36094282: jne 0x36094289 */ 1960 L_36094284: 1961 MEM32(esi + 0x8) = edx; /* 0x36094284: mov dword ptr [esi + 8], edx */ 1962 goto L_3609428B; /* 0x36094287: jmp 0x3609428b */ 1963 L_36094289: 1964 MEM32(esi) = edx; /* 0x36094289: mov dword ptr [esi], edx */ 1965 L_3609428B: 1966 MEM32(edx + 0x8) = ecx; /* 0x3609428B: mov dword ptr [edx + 8], ecx */ 1967 MEM32(ecx + 0x4) = edx; /* 0x3609428E: mov dword ptr [ecx + 4], edx */ 1968 ecx = MEM32(eax + 0x4); /* 0x36094291: mov ecx, dword ptr [eax + 4] */ 1969 ecx = MEM32(ecx + 0x8); /* 0x36094294: mov ecx, dword ptr [ecx + 8] */ 1970 L_36094297: 1971 edx = MEM32(eax + 0x4); /* 0x36094297: mov edx, dword ptr [eax + 4] */ 1972 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x3609429A: mov dl, byte ptr [edx + 0x24] */ 1973 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x3609429D: mov byte ptr [ecx + 0x24], dl */ 1974 edx = MEM32(eax + 0x4); /* 0x360942A0: mov edx, dword ptr [eax + 4] */ 1975 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360942A3: mov byte ptr [edx + 0x24], bl */ 1976 ecx = MEM32(ecx + 0x8); /* 0x360942A6: mov ecx, dword ptr [ecx + 8] */ 1977 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360942A9: mov byte ptr [ecx + 0x24], bl */ 1978 ecx = MEM32(eax + 0x4); /* 0x360942AC: mov ecx, dword ptr [eax + 4] */ 1979 edx = MEM32(ecx + 0x8); /* 0x360942AF: mov edx, dword ptr [ecx + 8] */ 1980 esi = MEM32(edx); /* 0x360942B2: mov esi, dword ptr [edx] */ 1981 MEM32(ecx + 0x8) = esi; /* 0x360942B4: mov dword ptr [ecx + 8], esi */ 1982 esi = MEM32(edx); /* 0x360942B7: mov esi, dword ptr [edx] */ 1983 /* cmp esi, MEM32(edi + 0x8) */ /* 0x360942B9: cmp esi, dword ptr [edi + 8] */ 1984 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 1985 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1986 _flag_k = FK_CMP; 1987 if (CMP_EQ(_flag_a, _flag_b)) goto L_360942C1; /* 0x360942BC: je 0x360942c1 */ 1988 L_360942BE: 1989 MEM32(esi + 0x4) = ecx; /* 0x360942BE: mov dword ptr [esi + 4], ecx */ 1990 L_360942C1: 1991 esi = MEM32(ecx + 0x4); /* 0x360942C1: mov esi, dword ptr [ecx + 4] */ 1992 MEM32(edx + 0x4) = esi; /* 0x360942C4: mov dword ptr [edx + 4], esi */ 1993 esi = MEM32(edi + 0x4); /* 0x360942C7: mov esi, dword ptr [edi + 4] */ 1994 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x360942CA: cmp ecx, dword ptr [esi + 4] */ 1995 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 1996 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 1997 _flag_k = FK_CMP; 1998 if (CMP_NE(_flag_a, _flag_b)) goto L_360942D9; /* 0x360942CD: jne 0x360942d9 */ 1999 L_360942CF: 2000 MEM32(esi + 0x4) = edx; /* 0x360942CF: mov dword ptr [esi + 4], edx */ 2001 MEM32(edx) = ecx; /* 0x360942D2: mov dword ptr [edx], ecx */ 2002 goto L_3609438F; /* 0x360942D4: jmp 0x3609438f */ 2003 L_360942D9: 2004 esi = MEM32(ecx + 0x4); /* 0x360942D9: mov esi, dword ptr [ecx + 4] */ 2005 /* cmp ecx, MEM32(esi) */ /* 0x360942DC: cmp ecx, dword ptr [esi] */ 2006 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 2007 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2008 _flag_k = FK_CMP; 2009 if (CMP_NE(_flag_a, _flag_b)) goto L_360942E9; /* 0x360942DE: jne 0x360942e9 */ 2010 L_360942E0: 2011 MEM32(esi) = edx; /* 0x360942E0: mov dword ptr [esi], edx */ 2012 MEM32(edx) = ecx; /* 0x360942E2: mov dword ptr [edx], ecx */ 2013 goto L_3609438F; /* 0x360942E4: jmp 0x3609438f */ 2014 L_360942E9: 2015 MEM32(esi + 0x8) = edx; /* 0x360942E9: mov dword ptr [esi + 8], edx */ 2016 MEM32(edx) = ecx; /* 0x360942EC: mov dword ptr [edx], ecx */ 2017 goto L_3609438F; /* 0x360942EE: jmp 0x3609438f */ 2018 L_360942F3: 2019 edx = MEM32(ecx); /* 0x360942F3: mov edx, dword ptr [ecx] */ 2020 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x360942F5: cmp byte ptr [edx + 0x24], bl */ 2021 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2022 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2023 _flag_k = FK_NARROW(FK_CMP, 24); 2024 if (CMP_NE(_flag_a, _flag_b)) goto L_36094341; /* 0x360942F8: jne 0x36094341 */ 2025 L_360942FA: 2026 edx = MEM32(ecx + 0x8); /* 0x360942FA: mov edx, dword ptr [ecx + 8] */ 2027 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360942FD: mov byte ptr [edx + 0x24], bl */ 2028 edx = MEM32(ecx + 0x8); /* 0x36094300: mov edx, dword ptr [ecx + 8] */ 2029 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x36094303: mov byte ptr [ecx + 0x24], 0 */ 2030 esi = MEM32(edx); /* 0x36094307: mov esi, dword ptr [edx] */ 2031 MEM32(ecx + 0x8) = esi; /* 0x36094309: mov dword ptr [ecx + 8], esi */ 2032 esi = MEM32(edx); /* 0x3609430C: mov esi, dword ptr [edx] */ 2033 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3609430E: cmp esi, dword ptr [edi + 8] */ 2034 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2035 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2036 _flag_k = FK_CMP; 2037 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094316; /* 0x36094311: je 0x36094316 */ 2038 L_36094313: 2039 MEM32(esi + 0x4) = ecx; /* 0x36094313: mov dword ptr [esi + 4], ecx */ 2040 L_36094316: 2041 esi = MEM32(ecx + 0x4); /* 0x36094316: mov esi, dword ptr [ecx + 4] */ 2042 MEM32(edx + 0x4) = esi; /* 0x36094319: mov dword ptr [edx + 4], esi */ 2043 esi = MEM32(edi + 0x4); /* 0x3609431C: mov esi, dword ptr [edi + 4] */ 2044 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x3609431F: cmp ecx, dword ptr [esi + 4] */ 2045 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2046 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2047 _flag_k = FK_CMP; 2048 if (CMP_NE(_flag_a, _flag_b)) goto L_36094329; /* 0x36094322: jne 0x36094329 */ 2049 L_36094324: 2050 MEM32(esi + 0x4) = edx; /* 0x36094324: mov dword ptr [esi + 4], edx */ 2051 goto L_36094337; /* 0x36094327: jmp 0x36094337 */ 2052 L_36094329: 2053 esi = MEM32(ecx + 0x4); /* 0x36094329: mov esi, dword ptr [ecx + 4] */ 2054 /* cmp ecx, MEM32(esi) */ /* 0x3609432C: cmp ecx, dword ptr [esi] */ 2055 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 2056 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2057 _flag_k = FK_CMP; 2058 if (CMP_NE(_flag_a, _flag_b)) goto L_36094334; /* 0x3609432E: jne 0x36094334 */ 2059 L_36094330: 2060 MEM32(esi) = edx; /* 0x36094330: mov dword ptr [esi], edx */ 2061 goto L_36094337; /* 0x36094332: jmp 0x36094337 */ 2062 L_36094334: 2063 MEM32(esi + 0x8) = edx; /* 0x36094334: mov dword ptr [esi + 8], edx */ 2064 L_36094337: 2065 MEM32(edx) = ecx; /* 0x36094337: mov dword ptr [edx], ecx */ 2066 MEM32(ecx + 0x4) = edx; /* 0x36094339: mov dword ptr [ecx + 4], edx */ 2067 ecx = MEM32(eax + 0x4); /* 0x3609433C: mov ecx, dword ptr [eax + 4] */ 2068 ecx = MEM32(ecx); /* 0x3609433F: mov ecx, dword ptr [ecx] */ 2069 L_36094341: 2070 edx = MEM32(eax + 0x4); /* 0x36094341: mov edx, dword ptr [eax + 4] */ 2071 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x36094344: mov dl, byte ptr [edx + 0x24] */ 2072 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x36094347: mov byte ptr [ecx + 0x24], dl */ 2073 edx = MEM32(eax + 0x4); /* 0x3609434A: mov edx, dword ptr [eax + 4] */ 2074 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x3609434D: mov byte ptr [edx + 0x24], bl */ 2075 ecx = MEM32(ecx); /* 0x36094350: mov ecx, dword ptr [ecx] */ 2076 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094352: mov byte ptr [ecx + 0x24], bl */ 2077 ecx = MEM32(eax + 0x4); /* 0x36094355: mov ecx, dword ptr [eax + 4] */ 2078 edx = MEM32(ecx); /* 0x36094358: mov edx, dword ptr [ecx] */ 2079 esi = MEM32(edx + 0x8); /* 0x3609435A: mov esi, dword ptr [edx + 8] */ 2080 MEM32(ecx) = esi; /* 0x3609435D: mov dword ptr [ecx], esi */ 2081 esi = MEM32(edx + 0x8); /* 0x3609435F: mov esi, dword ptr [edx + 8] */ 2082 /* cmp esi, MEM32(edi + 0x8) */ /* 0x36094362: cmp esi, dword ptr [edi + 8] */ 2083 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2084 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2085 _flag_k = FK_CMP; 2086 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609436A; /* 0x36094365: je 0x3609436a */ 2087 L_36094367: 2088 MEM32(esi + 0x4) = ecx; /* 0x36094367: mov dword ptr [esi + 4], ecx */ 2089 L_3609436A: 2090 esi = MEM32(ecx + 0x4); /* 0x3609436A: mov esi, dword ptr [ecx + 4] */ 2091 MEM32(edx + 0x4) = esi; /* 0x3609436D: mov dword ptr [edx + 4], esi */ 2092 esi = MEM32(edi + 0x4); /* 0x36094370: mov esi, dword ptr [edi + 4] */ 2093 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x36094373: cmp ecx, dword ptr [esi + 4] */ 2094 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2095 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2096 _flag_k = FK_CMP; 2097 if (CMP_NE(_flag_a, _flag_b)) goto L_3609437D; /* 0x36094376: jne 0x3609437d */ 2098 L_36094378: 2099 MEM32(esi + 0x4) = edx; /* 0x36094378: mov dword ptr [esi + 4], edx */ 2100 goto L_3609438C; /* 0x3609437B: jmp 0x3609438c */ 2101 L_3609437D: 2102 esi = MEM32(ecx + 0x4); /* 0x3609437D: mov esi, dword ptr [ecx + 4] */ 2103 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x36094380: cmp ecx, dword ptr [esi + 8] */ 2104 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2105 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2106 _flag_k = FK_CMP; 2107 if (CMP_NE(_flag_a, _flag_b)) goto L_3609438A; /* 0x36094383: jne 0x3609438a */ 2108 L_36094385: 2109 MEM32(esi + 0x8) = edx; /* 0x36094385: mov dword ptr [esi + 8], edx */ 2110 goto L_3609438C; /* 0x36094388: jmp 0x3609438c */ 2111 L_3609438A: 2112 MEM32(esi) = edx; /* 0x3609438A: mov dword ptr [esi], edx */ 2113 L_3609438C: 2114 MEM32(edx + 0x8) = ecx; /* 0x3609438C: mov dword ptr [edx + 8], ecx */ 2115 L_3609438F: 2116 MEM32(ecx + 0x4) = edx; /* 0x3609438F: mov dword ptr [ecx + 4], edx */ 2117 L_36094392: 2118 esi = MEM32(ebp + (-0x4)); /* 0x36094392: mov esi, dword ptr [ebp - 4] */ 2119 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094395: mov byte ptr [eax + 0x24], bl */ 2120 L_36094398: 2121 ecx = esi + 0xC; /* 0x36094398: lea ecx, [esi + 0xc] */ 2122 RECOMP_ICALL(0x3610BA00u); /* 0x3609439B: call 0x3610ba00 */ /* not lifted */ 2123 RECOMP_FLAGS_IN(); 2124 PUSH32(esp, esi); /* 0x360943A0: push esi */ 2125 RECOMP_ICALL(0x3615FCC4u); /* 0x360943A1: call 0x3615fcc4 */ /* not lifted */ 2126 RECOMP_FLAGS_IN(); 2127 eax = MEM32(edi + 0x10); /* 0x360943A6: mov eax, dword ptr [edi + 0x10] */ 2128 edx = MEM32(ebp + 0xC); /* 0x360943A9: mov edx, dword ptr [ebp + 0xc] */ 2129 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2130 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2131 esp = esp + 4; /* 0x360943AC: add esp, 4 */ 2132 _flag_k = FK_ADD; 2133 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 2134 eax = eax - 1; /* 0x360943AF: dec eax */ 2135 _flag_k = FK_DEC; 2136 MEM32(edi + 0x10) = eax; /* 0x360943B0: mov dword ptr [edi + 0x10], eax */ 2137 eax = MEM32(ebp + 0x8); /* 0x360943B3: mov eax, dword ptr [ebp + 8] */ 2138 edi = POP32_VAL(esp); /* 0x360943B6: pop edi */ 2139 esi = POP32_VAL(esp); /* 0x360943B7: pop esi */ 2140 MEM32(eax) = edx; /* 0x360943B8: mov dword ptr [eax], edx */ 2141 ebx = POP32_VAL(esp); /* 0x360943BA: pop ebx */ 2142 esp = ebp; /* 0x360943BB: mov esp, ebp */ 2143 ebp = POP32_VAL(esp); /* 0x360943BD: pop ebp */ 2144 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x360943BE: ret 8 */ 2145 RECOMP_REGS_OUT(); 2146 } 2147 2148 void sub_360940F9(void) { 2149 int _fpu_cmp = 0; 2150 uint32_t _cf = 0; 2151 int _df = 1; 2152 uint32_t _flag_k = FK_NONE; 2153 uint32_t _flag_a = 0, _flag_b = 0; 2154 uint32_t _itail_tgt = 0; 2155 RECOMP_REGS_LOCALS 2156 RECOMP_ENTER(0x360940F9u); 2157 2158 L_360940F9: 2159 MEM32(ebx) = edx; /* 0x360940F9: mov dword ptr [ebx], edx */ 2160 ebx = MEM32(edi + 0x4); /* 0x360940FB: mov ebx, dword ptr [edi + 4] */ 2161 /* cmp MEM32(ebx + 0x8), esi */ /* 0x360940FE: cmp dword ptr [ebx + 8], esi */ 2162 _flag_a = (uint32_t)(MEM32(ebx + 0x8)); _flag_b = (uint32_t)(esi); 2163 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2164 _flag_k = FK_CMP; 2165 if (CMP_NE(_flag_a, _flag_b)) goto L_36094128; /* 0x36094101: jne 0x36094128 */ 2166 L_36094103: 2167 ecx = MEM32(esi); /* 0x36094103: mov ecx, dword ptr [esi] */ 2168 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x36094105: cmp ecx, dword ptr [edi + 8] */ 2169 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2170 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2171 _flag_k = FK_CMP; 2172 if (CMP_NE(_flag_a, _flag_b)) goto L_3609410F; /* 0x36094108: jne 0x3609410f */ 2173 L_3609410A: 2174 edx = MEM32(esi + 0x4); /* 0x3609410A: mov edx, dword ptr [esi + 4] */ 2175 goto L_36094125; /* 0x3609410D: jmp 0x36094125 */ 2176 L_3609410F: 2177 ecx = MEM32(eax + 0x8); /* 0x3609410F: mov ecx, dword ptr [eax + 8] */ 2178 /* cmp MEM8(ecx + 0x25), 0 */ /* 0x36094112: cmp byte ptr [ecx + 0x25], 0 */ 2179 _flag_a = (uint32_t)(MEM8(ecx + 0x25)) << 24; _flag_b = (uint32_t)(0) << 24; 2180 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2181 _flag_k = FK_NARROW(FK_CMP, 24); 2182 edx = eax; /* 0x36094116: mov edx, eax */ 2183 if (CMP_NE(_flag_a, _flag_b)) goto L_36094125; /* 0x36094118: jne 0x36094125 */ 2184 L_3609411A: 2185 edx = ecx; /* 0x3609411A: mov edx, ecx */ 2186 ecx = MEM32(edx + 0x8); /* 0x3609411C: mov ecx, dword ptr [edx + 8] */ 2187 /* cmp MEM8(ecx + 0x25), 0 */ /* 0x3609411F: cmp byte ptr [ecx + 0x25], 0 */ 2188 _flag_a = (uint32_t)(MEM8(ecx + 0x25)) << 24; _flag_b = (uint32_t)(0) << 24; 2189 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2190 _flag_k = FK_NARROW(FK_CMP, 24); 2191 RECOMP_BACKEDGE(); 2192 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609411A; /* 0x36094123: je 0x3609411a */ 2193 L_36094125: 2194 MEM32(ebx + 0x8) = edx; /* 0x36094125: mov dword ptr [ebx + 8], edx */ 2195 L_36094128: 2196 esi = MEM32(ebp + (-0x4)); /* 0x36094128: mov esi, dword ptr [ebp - 4] */ 2197 SET_LO8(ecx, MEM8(esi + 0x24)); /* 0x3609412B: mov cl, byte ptr [esi + 0x24] */ 2198 SET_LO8(ebx, 1); /* 0x3609412E: mov bl, 1 */ 2199 /* cmp LO8(ecx), LO8(ebx) */ /* 0x36094130: cmp cl, bl */ 2200 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2201 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2202 _flag_k = FK_NARROW(FK_CMP, 24); 2203 if (CMP_NE(_flag_a, _flag_b)) goto L_36094398; /* 0x36094132: jne 0x36094398 */ 2204 L_36094138: 2205 ecx = MEM32(edi + 0x4); /* 0x36094138: mov ecx, dword ptr [edi + 4] */ 2206 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3609413B: cmp eax, dword ptr [ecx + 4] */ 2207 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 2208 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2209 _flag_k = FK_CMP; 2210 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094392; /* 0x3609413E: je 0x36094392 */ 2211 L_36094144: 2212 /* cmp MEM8(eax + 0x24), LO8(ebx) */ /* 0x36094144: cmp byte ptr [eax + 0x24], bl */ 2213 _flag_a = (uint32_t)(MEM8(eax + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2214 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2215 _flag_k = FK_NARROW(FK_CMP, 24); 2216 if (CMP_NE(_flag_a, _flag_b)) goto L_36094392; /* 0x36094147: jne 0x36094392 */ 2217 L_3609414D: 2218 edx = MEM32(eax + 0x4); /* 0x3609414D: mov edx, dword ptr [eax + 4] */ 2219 ecx = MEM32(edx); /* 0x36094150: mov ecx, dword ptr [edx] */ 2220 /* cmp eax, ecx */ /* 0x36094152: cmp eax, ecx */ 2221 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2222 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2223 _flag_k = FK_CMP; 2224 if (CMP_NE(_flag_a, _flag_b)) goto L_360941C4; /* 0x36094154: jne 0x360941c4 */ 2225 L_36094156: 2226 ecx = MEM32(edx + 0x8); /* 0x36094156: mov ecx, dword ptr [edx + 8] */ 2227 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x36094159: mov dl, byte ptr [ecx + 0x24] */ 2228 /* test LO8(edx), LO8(edx) */ /* 0x3609415C: test dl, dl */ 2229 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 2230 _cf = 0; 2231 _flag_k = FK_NARROW(FK_TEST, 24); 2232 if (TEST_NZ(_flag_a, _flag_b)) goto L_360941AB; /* 0x3609415E: jne 0x360941ab */ 2233 L_36094160: 2234 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094160: mov byte ptr [ecx + 0x24], bl */ 2235 edx = MEM32(eax + 0x4); /* 0x36094163: mov edx, dword ptr [eax + 4] */ 2236 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x36094166: mov byte ptr [edx + 0x24], 0 */ 2237 ecx = MEM32(eax + 0x4); /* 0x3609416A: mov ecx, dword ptr [eax + 4] */ 2238 edx = MEM32(ecx + 0x8); /* 0x3609416D: mov edx, dword ptr [ecx + 8] */ 2239 esi = MEM32(edx); /* 0x36094170: mov esi, dword ptr [edx] */ 2240 MEM32(ecx + 0x8) = esi; /* 0x36094172: mov dword ptr [ecx + 8], esi */ 2241 esi = MEM32(edx); /* 0x36094175: mov esi, dword ptr [edx] */ 2242 /* cmp esi, MEM32(edi + 0x8) */ /* 0x36094177: cmp esi, dword ptr [edi + 8] */ 2243 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2244 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2245 _flag_k = FK_CMP; 2246 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609417F; /* 0x3609417A: je 0x3609417f */ 2247 L_3609417C: 2248 MEM32(esi + 0x4) = ecx; /* 0x3609417C: mov dword ptr [esi + 4], ecx */ 2249 L_3609417F: 2250 esi = MEM32(ecx + 0x4); /* 0x3609417F: mov esi, dword ptr [ecx + 4] */ 2251 MEM32(edx + 0x4) = esi; /* 0x36094182: mov dword ptr [edx + 4], esi */ 2252 esi = MEM32(edi + 0x4); /* 0x36094185: mov esi, dword ptr [edi + 4] */ 2253 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x36094188: cmp ecx, dword ptr [esi + 4] */ 2254 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2255 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2256 _flag_k = FK_CMP; 2257 if (CMP_NE(_flag_a, _flag_b)) goto L_36094192; /* 0x3609418B: jne 0x36094192 */ 2258 L_3609418D: 2259 MEM32(esi + 0x4) = edx; /* 0x3609418D: mov dword ptr [esi + 4], edx */ 2260 goto L_360941A0; /* 0x36094190: jmp 0x360941a0 */ 2261 L_36094192: 2262 esi = MEM32(ecx + 0x4); /* 0x36094192: mov esi, dword ptr [ecx + 4] */ 2263 /* cmp ecx, MEM32(esi) */ /* 0x36094195: cmp ecx, dword ptr [esi] */ 2264 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 2265 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2266 _flag_k = FK_CMP; 2267 if (CMP_NE(_flag_a, _flag_b)) goto L_3609419D; /* 0x36094197: jne 0x3609419d */ 2268 L_36094199: 2269 MEM32(esi) = edx; /* 0x36094199: mov dword ptr [esi], edx */ 2270 goto L_360941A0; /* 0x3609419B: jmp 0x360941a0 */ 2271 L_3609419D: 2272 MEM32(esi + 0x8) = edx; /* 0x3609419D: mov dword ptr [esi + 8], edx */ 2273 L_360941A0: 2274 MEM32(edx) = ecx; /* 0x360941A0: mov dword ptr [edx], ecx */ 2275 MEM32(ecx + 0x4) = edx; /* 0x360941A2: mov dword ptr [ecx + 4], edx */ 2276 ecx = MEM32(eax + 0x4); /* 0x360941A5: mov ecx, dword ptr [eax + 4] */ 2277 ecx = MEM32(ecx + 0x8); /* 0x360941A8: mov ecx, dword ptr [ecx + 8] */ 2278 L_360941AB: 2279 edx = MEM32(ecx); /* 0x360941AB: mov edx, dword ptr [ecx] */ 2280 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x360941AD: cmp byte ptr [edx + 0x24], bl */ 2281 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2282 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2283 _flag_k = FK_NARROW(FK_CMP, 24); 2284 if (CMP_NE(_flag_a, _flag_b)) goto L_36094246; /* 0x360941B0: jne 0x36094246 */ 2285 L_360941B6: 2286 edx = MEM32(ecx + 0x8); /* 0x360941B6: mov edx, dword ptr [ecx + 8] */ 2287 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x360941B9: cmp byte ptr [edx + 0x24], bl */ 2288 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2289 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2290 _flag_k = FK_NARROW(FK_CMP, 24); 2291 if (CMP_NE(_flag_a, _flag_b)) goto L_36094246; /* 0x360941BC: jne 0x36094246 */ 2292 L_360941C2: 2293 goto L_3609422E; /* 0x360941C2: jmp 0x3609422e */ 2294 L_360941C4: 2295 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x360941C4: mov dl, byte ptr [ecx + 0x24] */ 2296 /* test LO8(edx), LO8(edx) */ /* 0x360941C7: test dl, dl */ 2297 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 2298 _cf = 0; 2299 _flag_k = FK_NARROW(FK_TEST, 24); 2300 if (TEST_NZ(_flag_a, _flag_b)) goto L_36094217; /* 0x360941C9: jne 0x36094217 */ 2301 L_360941CB: 2302 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360941CB: mov byte ptr [ecx + 0x24], bl */ 2303 ecx = MEM32(eax + 0x4); /* 0x360941CE: mov ecx, dword ptr [eax + 4] */ 2304 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x360941D1: mov byte ptr [ecx + 0x24], 0 */ 2305 ecx = MEM32(eax + 0x4); /* 0x360941D5: mov ecx, dword ptr [eax + 4] */ 2306 edx = MEM32(ecx); /* 0x360941D8: mov edx, dword ptr [ecx] */ 2307 esi = MEM32(edx + 0x8); /* 0x360941DA: mov esi, dword ptr [edx + 8] */ 2308 MEM32(ecx) = esi; /* 0x360941DD: mov dword ptr [ecx], esi */ 2309 esi = MEM32(edx + 0x8); /* 0x360941DF: mov esi, dword ptr [edx + 8] */ 2310 /* cmp esi, MEM32(edi + 0x8) */ /* 0x360941E2: cmp esi, dword ptr [edi + 8] */ 2311 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2312 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2313 _flag_k = FK_CMP; 2314 if (CMP_EQ(_flag_a, _flag_b)) goto L_360941EA; /* 0x360941E5: je 0x360941ea */ 2315 L_360941E7: 2316 MEM32(esi + 0x4) = ecx; /* 0x360941E7: mov dword ptr [esi + 4], ecx */ 2317 L_360941EA: 2318 esi = MEM32(ecx + 0x4); /* 0x360941EA: mov esi, dword ptr [ecx + 4] */ 2319 MEM32(edx + 0x4) = esi; /* 0x360941ED: mov dword ptr [edx + 4], esi */ 2320 esi = MEM32(edi + 0x4); /* 0x360941F0: mov esi, dword ptr [edi + 4] */ 2321 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x360941F3: cmp ecx, dword ptr [esi + 4] */ 2322 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2323 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2324 _flag_k = FK_CMP; 2325 if (CMP_NE(_flag_a, _flag_b)) goto L_360941FD; /* 0x360941F6: jne 0x360941fd */ 2326 L_360941F8: 2327 MEM32(esi + 0x4) = edx; /* 0x360941F8: mov dword ptr [esi + 4], edx */ 2328 goto L_3609420C; /* 0x360941FB: jmp 0x3609420c */ 2329 L_360941FD: 2330 esi = MEM32(ecx + 0x4); /* 0x360941FD: mov esi, dword ptr [ecx + 4] */ 2331 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x36094200: cmp ecx, dword ptr [esi + 8] */ 2332 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2333 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2334 _flag_k = FK_CMP; 2335 if (CMP_NE(_flag_a, _flag_b)) goto L_3609420A; /* 0x36094203: jne 0x3609420a */ 2336 L_36094205: 2337 MEM32(esi + 0x8) = edx; /* 0x36094205: mov dword ptr [esi + 8], edx */ 2338 goto L_3609420C; /* 0x36094208: jmp 0x3609420c */ 2339 L_3609420A: 2340 MEM32(esi) = edx; /* 0x3609420A: mov dword ptr [esi], edx */ 2341 L_3609420C: 2342 MEM32(edx + 0x8) = ecx; /* 0x3609420C: mov dword ptr [edx + 8], ecx */ 2343 MEM32(ecx + 0x4) = edx; /* 0x3609420F: mov dword ptr [ecx + 4], edx */ 2344 edx = MEM32(eax + 0x4); /* 0x36094212: mov edx, dword ptr [eax + 4] */ 2345 ecx = MEM32(edx); /* 0x36094215: mov ecx, dword ptr [edx] */ 2346 L_36094217: 2347 edx = MEM32(ecx + 0x8); /* 0x36094217: mov edx, dword ptr [ecx + 8] */ 2348 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x3609421A: cmp byte ptr [edx + 0x24], bl */ 2349 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2350 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2351 _flag_k = FK_NARROW(FK_CMP, 24); 2352 if (CMP_NE(_flag_a, _flag_b)) goto L_360942F3; /* 0x3609421D: jne 0x360942f3 */ 2353 L_36094223: 2354 edx = MEM32(ecx); /* 0x36094223: mov edx, dword ptr [ecx] */ 2355 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x36094225: cmp byte ptr [edx + 0x24], bl */ 2356 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2357 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2358 _flag_k = FK_NARROW(FK_CMP, 24); 2359 if (CMP_NE(_flag_a, _flag_b)) goto L_360942F3; /* 0x36094228: jne 0x360942f3 */ 2360 L_3609422E: 2361 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x3609422E: mov byte ptr [ecx + 0x24], 0 */ 2362 ecx = MEM32(edi + 0x4); /* 0x36094232: mov ecx, dword ptr [edi + 4] */ 2363 eax = MEM32(eax + 0x4); /* 0x36094235: mov eax, dword ptr [eax + 4] */ 2364 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x36094238: cmp eax, dword ptr [ecx + 4] */ 2365 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 2366 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2367 _flag_k = FK_CMP; 2368 RECOMP_BACKEDGE(); 2369 if (CMP_NE(_flag_a, _flag_b)) goto L_36094144; /* 0x3609423B: jne 0x36094144 */ 2370 L_36094241: 2371 goto L_36094392; /* 0x36094241: jmp 0x36094392 */ 2372 L_36094246: 2373 edx = MEM32(ecx + 0x8); /* 0x36094246: mov edx, dword ptr [ecx + 8] */ 2374 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x36094249: cmp byte ptr [edx + 0x24], bl */ 2375 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2376 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2377 _flag_k = FK_NARROW(FK_CMP, 24); 2378 if (CMP_NE(_flag_a, _flag_b)) goto L_36094297; /* 0x3609424C: jne 0x36094297 */ 2379 L_3609424E: 2380 edx = MEM32(ecx); /* 0x3609424E: mov edx, dword ptr [ecx] */ 2381 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094250: mov byte ptr [edx + 0x24], bl */ 2382 edx = MEM32(ecx); /* 0x36094253: mov edx, dword ptr [ecx] */ 2383 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x36094255: mov byte ptr [ecx + 0x24], 0 */ 2384 esi = MEM32(edx + 0x8); /* 0x36094259: mov esi, dword ptr [edx + 8] */ 2385 MEM32(ecx) = esi; /* 0x3609425C: mov dword ptr [ecx], esi */ 2386 esi = MEM32(edx + 0x8); /* 0x3609425E: mov esi, dword ptr [edx + 8] */ 2387 /* cmp esi, MEM32(edi + 0x8) */ /* 0x36094261: cmp esi, dword ptr [edi + 8] */ 2388 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2389 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2390 _flag_k = FK_CMP; 2391 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094269; /* 0x36094264: je 0x36094269 */ 2392 L_36094266: 2393 MEM32(esi + 0x4) = ecx; /* 0x36094266: mov dword ptr [esi + 4], ecx */ 2394 L_36094269: 2395 esi = MEM32(ecx + 0x4); /* 0x36094269: mov esi, dword ptr [ecx + 4] */ 2396 MEM32(edx + 0x4) = esi; /* 0x3609426C: mov dword ptr [edx + 4], esi */ 2397 esi = MEM32(edi + 0x4); /* 0x3609426F: mov esi, dword ptr [edi + 4] */ 2398 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x36094272: cmp ecx, dword ptr [esi + 4] */ 2399 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2400 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2401 _flag_k = FK_CMP; 2402 if (CMP_NE(_flag_a, _flag_b)) goto L_3609427C; /* 0x36094275: jne 0x3609427c */ 2403 L_36094277: 2404 MEM32(esi + 0x4) = edx; /* 0x36094277: mov dword ptr [esi + 4], edx */ 2405 goto L_3609428B; /* 0x3609427A: jmp 0x3609428b */ 2406 L_3609427C: 2407 esi = MEM32(ecx + 0x4); /* 0x3609427C: mov esi, dword ptr [ecx + 4] */ 2408 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x3609427F: cmp ecx, dword ptr [esi + 8] */ 2409 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2410 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2411 _flag_k = FK_CMP; 2412 if (CMP_NE(_flag_a, _flag_b)) goto L_36094289; /* 0x36094282: jne 0x36094289 */ 2413 L_36094284: 2414 MEM32(esi + 0x8) = edx; /* 0x36094284: mov dword ptr [esi + 8], edx */ 2415 goto L_3609428B; /* 0x36094287: jmp 0x3609428b */ 2416 L_36094289: 2417 MEM32(esi) = edx; /* 0x36094289: mov dword ptr [esi], edx */ 2418 L_3609428B: 2419 MEM32(edx + 0x8) = ecx; /* 0x3609428B: mov dword ptr [edx + 8], ecx */ 2420 MEM32(ecx + 0x4) = edx; /* 0x3609428E: mov dword ptr [ecx + 4], edx */ 2421 ecx = MEM32(eax + 0x4); /* 0x36094291: mov ecx, dword ptr [eax + 4] */ 2422 ecx = MEM32(ecx + 0x8); /* 0x36094294: mov ecx, dword ptr [ecx + 8] */ 2423 L_36094297: 2424 edx = MEM32(eax + 0x4); /* 0x36094297: mov edx, dword ptr [eax + 4] */ 2425 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x3609429A: mov dl, byte ptr [edx + 0x24] */ 2426 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x3609429D: mov byte ptr [ecx + 0x24], dl */ 2427 edx = MEM32(eax + 0x4); /* 0x360942A0: mov edx, dword ptr [eax + 4] */ 2428 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360942A3: mov byte ptr [edx + 0x24], bl */ 2429 ecx = MEM32(ecx + 0x8); /* 0x360942A6: mov ecx, dword ptr [ecx + 8] */ 2430 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360942A9: mov byte ptr [ecx + 0x24], bl */ 2431 ecx = MEM32(eax + 0x4); /* 0x360942AC: mov ecx, dword ptr [eax + 4] */ 2432 edx = MEM32(ecx + 0x8); /* 0x360942AF: mov edx, dword ptr [ecx + 8] */ 2433 esi = MEM32(edx); /* 0x360942B2: mov esi, dword ptr [edx] */ 2434 MEM32(ecx + 0x8) = esi; /* 0x360942B4: mov dword ptr [ecx + 8], esi */ 2435 esi = MEM32(edx); /* 0x360942B7: mov esi, dword ptr [edx] */ 2436 /* cmp esi, MEM32(edi + 0x8) */ /* 0x360942B9: cmp esi, dword ptr [edi + 8] */ 2437 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2438 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2439 _flag_k = FK_CMP; 2440 if (CMP_EQ(_flag_a, _flag_b)) goto L_360942C1; /* 0x360942BC: je 0x360942c1 */ 2441 L_360942BE: 2442 MEM32(esi + 0x4) = ecx; /* 0x360942BE: mov dword ptr [esi + 4], ecx */ 2443 L_360942C1: 2444 esi = MEM32(ecx + 0x4); /* 0x360942C1: mov esi, dword ptr [ecx + 4] */ 2445 MEM32(edx + 0x4) = esi; /* 0x360942C4: mov dword ptr [edx + 4], esi */ 2446 esi = MEM32(edi + 0x4); /* 0x360942C7: mov esi, dword ptr [edi + 4] */ 2447 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x360942CA: cmp ecx, dword ptr [esi + 4] */ 2448 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2449 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2450 _flag_k = FK_CMP; 2451 if (CMP_NE(_flag_a, _flag_b)) goto L_360942D9; /* 0x360942CD: jne 0x360942d9 */ 2452 L_360942CF: 2453 MEM32(esi + 0x4) = edx; /* 0x360942CF: mov dword ptr [esi + 4], edx */ 2454 MEM32(edx) = ecx; /* 0x360942D2: mov dword ptr [edx], ecx */ 2455 goto L_3609438F; /* 0x360942D4: jmp 0x3609438f */ 2456 L_360942D9: 2457 esi = MEM32(ecx + 0x4); /* 0x360942D9: mov esi, dword ptr [ecx + 4] */ 2458 /* cmp ecx, MEM32(esi) */ /* 0x360942DC: cmp ecx, dword ptr [esi] */ 2459 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 2460 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2461 _flag_k = FK_CMP; 2462 if (CMP_NE(_flag_a, _flag_b)) goto L_360942E9; /* 0x360942DE: jne 0x360942e9 */ 2463 L_360942E0: 2464 MEM32(esi) = edx; /* 0x360942E0: mov dword ptr [esi], edx */ 2465 MEM32(edx) = ecx; /* 0x360942E2: mov dword ptr [edx], ecx */ 2466 goto L_3609438F; /* 0x360942E4: jmp 0x3609438f */ 2467 L_360942E9: 2468 MEM32(esi + 0x8) = edx; /* 0x360942E9: mov dword ptr [esi + 8], edx */ 2469 MEM32(edx) = ecx; /* 0x360942EC: mov dword ptr [edx], ecx */ 2470 goto L_3609438F; /* 0x360942EE: jmp 0x3609438f */ 2471 L_360942F3: 2472 edx = MEM32(ecx); /* 0x360942F3: mov edx, dword ptr [ecx] */ 2473 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x360942F5: cmp byte ptr [edx + 0x24], bl */ 2474 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2475 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2476 _flag_k = FK_NARROW(FK_CMP, 24); 2477 if (CMP_NE(_flag_a, _flag_b)) goto L_36094341; /* 0x360942F8: jne 0x36094341 */ 2478 L_360942FA: 2479 edx = MEM32(ecx + 0x8); /* 0x360942FA: mov edx, dword ptr [ecx + 8] */ 2480 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360942FD: mov byte ptr [edx + 0x24], bl */ 2481 edx = MEM32(ecx + 0x8); /* 0x36094300: mov edx, dword ptr [ecx + 8] */ 2482 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x36094303: mov byte ptr [ecx + 0x24], 0 */ 2483 esi = MEM32(edx); /* 0x36094307: mov esi, dword ptr [edx] */ 2484 MEM32(ecx + 0x8) = esi; /* 0x36094309: mov dword ptr [ecx + 8], esi */ 2485 esi = MEM32(edx); /* 0x3609430C: mov esi, dword ptr [edx] */ 2486 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3609430E: cmp esi, dword ptr [edi + 8] */ 2487 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2488 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2489 _flag_k = FK_CMP; 2490 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094316; /* 0x36094311: je 0x36094316 */ 2491 L_36094313: 2492 MEM32(esi + 0x4) = ecx; /* 0x36094313: mov dword ptr [esi + 4], ecx */ 2493 L_36094316: 2494 esi = MEM32(ecx + 0x4); /* 0x36094316: mov esi, dword ptr [ecx + 4] */ 2495 MEM32(edx + 0x4) = esi; /* 0x36094319: mov dword ptr [edx + 4], esi */ 2496 esi = MEM32(edi + 0x4); /* 0x3609431C: mov esi, dword ptr [edi + 4] */ 2497 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x3609431F: cmp ecx, dword ptr [esi + 4] */ 2498 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2499 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2500 _flag_k = FK_CMP; 2501 if (CMP_NE(_flag_a, _flag_b)) goto L_36094329; /* 0x36094322: jne 0x36094329 */ 2502 L_36094324: 2503 MEM32(esi + 0x4) = edx; /* 0x36094324: mov dword ptr [esi + 4], edx */ 2504 goto L_36094337; /* 0x36094327: jmp 0x36094337 */ 2505 L_36094329: 2506 esi = MEM32(ecx + 0x4); /* 0x36094329: mov esi, dword ptr [ecx + 4] */ 2507 /* cmp ecx, MEM32(esi) */ /* 0x3609432C: cmp ecx, dword ptr [esi] */ 2508 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 2509 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2510 _flag_k = FK_CMP; 2511 if (CMP_NE(_flag_a, _flag_b)) goto L_36094334; /* 0x3609432E: jne 0x36094334 */ 2512 L_36094330: 2513 MEM32(esi) = edx; /* 0x36094330: mov dword ptr [esi], edx */ 2514 goto L_36094337; /* 0x36094332: jmp 0x36094337 */ 2515 L_36094334: 2516 MEM32(esi + 0x8) = edx; /* 0x36094334: mov dword ptr [esi + 8], edx */ 2517 L_36094337: 2518 MEM32(edx) = ecx; /* 0x36094337: mov dword ptr [edx], ecx */ 2519 MEM32(ecx + 0x4) = edx; /* 0x36094339: mov dword ptr [ecx + 4], edx */ 2520 ecx = MEM32(eax + 0x4); /* 0x3609433C: mov ecx, dword ptr [eax + 4] */ 2521 ecx = MEM32(ecx); /* 0x3609433F: mov ecx, dword ptr [ecx] */ 2522 L_36094341: 2523 edx = MEM32(eax + 0x4); /* 0x36094341: mov edx, dword ptr [eax + 4] */ 2524 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x36094344: mov dl, byte ptr [edx + 0x24] */ 2525 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x36094347: mov byte ptr [ecx + 0x24], dl */ 2526 edx = MEM32(eax + 0x4); /* 0x3609434A: mov edx, dword ptr [eax + 4] */ 2527 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x3609434D: mov byte ptr [edx + 0x24], bl */ 2528 ecx = MEM32(ecx); /* 0x36094350: mov ecx, dword ptr [ecx] */ 2529 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094352: mov byte ptr [ecx + 0x24], bl */ 2530 ecx = MEM32(eax + 0x4); /* 0x36094355: mov ecx, dword ptr [eax + 4] */ 2531 edx = MEM32(ecx); /* 0x36094358: mov edx, dword ptr [ecx] */ 2532 esi = MEM32(edx + 0x8); /* 0x3609435A: mov esi, dword ptr [edx + 8] */ 2533 MEM32(ecx) = esi; /* 0x3609435D: mov dword ptr [ecx], esi */ 2534 esi = MEM32(edx + 0x8); /* 0x3609435F: mov esi, dword ptr [edx + 8] */ 2535 /* cmp esi, MEM32(edi + 0x8) */ /* 0x36094362: cmp esi, dword ptr [edi + 8] */ 2536 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2537 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2538 _flag_k = FK_CMP; 2539 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609436A; /* 0x36094365: je 0x3609436a */ 2540 L_36094367: 2541 MEM32(esi + 0x4) = ecx; /* 0x36094367: mov dword ptr [esi + 4], ecx */ 2542 L_3609436A: 2543 esi = MEM32(ecx + 0x4); /* 0x3609436A: mov esi, dword ptr [ecx + 4] */ 2544 MEM32(edx + 0x4) = esi; /* 0x3609436D: mov dword ptr [edx + 4], esi */ 2545 esi = MEM32(edi + 0x4); /* 0x36094370: mov esi, dword ptr [edi + 4] */ 2546 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x36094373: cmp ecx, dword ptr [esi + 4] */ 2547 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2548 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2549 _flag_k = FK_CMP; 2550 if (CMP_NE(_flag_a, _flag_b)) goto L_3609437D; /* 0x36094376: jne 0x3609437d */ 2551 L_36094378: 2552 MEM32(esi + 0x4) = edx; /* 0x36094378: mov dword ptr [esi + 4], edx */ 2553 goto L_3609438C; /* 0x3609437B: jmp 0x3609438c */ 2554 L_3609437D: 2555 esi = MEM32(ecx + 0x4); /* 0x3609437D: mov esi, dword ptr [ecx + 4] */ 2556 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x36094380: cmp ecx, dword ptr [esi + 8] */ 2557 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2558 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2559 _flag_k = FK_CMP; 2560 if (CMP_NE(_flag_a, _flag_b)) goto L_3609438A; /* 0x36094383: jne 0x3609438a */ 2561 L_36094385: 2562 MEM32(esi + 0x8) = edx; /* 0x36094385: mov dword ptr [esi + 8], edx */ 2563 goto L_3609438C; /* 0x36094388: jmp 0x3609438c */ 2564 L_3609438A: 2565 MEM32(esi) = edx; /* 0x3609438A: mov dword ptr [esi], edx */ 2566 L_3609438C: 2567 MEM32(edx + 0x8) = ecx; /* 0x3609438C: mov dword ptr [edx + 8], ecx */ 2568 L_3609438F: 2569 MEM32(ecx + 0x4) = edx; /* 0x3609438F: mov dword ptr [ecx + 4], edx */ 2570 L_36094392: 2571 esi = MEM32(ebp + (-0x4)); /* 0x36094392: mov esi, dword ptr [ebp - 4] */ 2572 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094395: mov byte ptr [eax + 0x24], bl */ 2573 L_36094398: 2574 ecx = esi + 0xC; /* 0x36094398: lea ecx, [esi + 0xc] */ 2575 RECOMP_ICALL(0x3610BA00u); /* 0x3609439B: call 0x3610ba00 */ /* not lifted */ 2576 RECOMP_FLAGS_IN(); 2577 PUSH32(esp, esi); /* 0x360943A0: push esi */ 2578 RECOMP_ICALL(0x3615FCC4u); /* 0x360943A1: call 0x3615fcc4 */ /* not lifted */ 2579 RECOMP_FLAGS_IN(); 2580 eax = MEM32(edi + 0x10); /* 0x360943A6: mov eax, dword ptr [edi + 0x10] */ 2581 edx = MEM32(ebp + 0xC); /* 0x360943A9: mov edx, dword ptr [ebp + 0xc] */ 2582 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 2583 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 2584 esp = esp + 4; /* 0x360943AC: add esp, 4 */ 2585 _flag_k = FK_ADD; 2586 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 2587 eax = eax - 1; /* 0x360943AF: dec eax */ 2588 _flag_k = FK_DEC; 2589 MEM32(edi + 0x10) = eax; /* 0x360943B0: mov dword ptr [edi + 0x10], eax */ 2590 eax = MEM32(ebp + 0x8); /* 0x360943B3: mov eax, dword ptr [ebp + 8] */ 2591 edi = POP32_VAL(esp); /* 0x360943B6: pop edi */ 2592 esi = POP32_VAL(esp); /* 0x360943B7: pop esi */ 2593 MEM32(eax) = edx; /* 0x360943B8: mov dword ptr [eax], edx */ 2594 ebx = POP32_VAL(esp); /* 0x360943BA: pop ebx */ 2595 esp = ebp; /* 0x360943BB: mov esp, ebp */ 2596 ebp = POP32_VAL(esp); /* 0x360943BD: pop ebp */ 2597 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x360943BE: ret 8 */ 2598 RECOMP_REGS_OUT(); 2599 } 2600 2601 void sub_36094125(void) { 2602 int _fpu_cmp = 0; 2603 uint32_t _cf = 0; 2604 int _df = 1; 2605 uint32_t _flag_k = FK_NONE; 2606 uint32_t _flag_a = 0, _flag_b = 0; 2607 uint32_t _itail_tgt = 0; 2608 RECOMP_REGS_LOCALS 2609 RECOMP_ENTER(0x36094125u); 2610 2611 L_36094125: 2612 MEM32(ebx + 0x8) = edx; /* 0x36094125: mov dword ptr [ebx + 8], edx */ 2613 esi = MEM32(ebp + (-0x4)); /* 0x36094128: mov esi, dword ptr [ebp - 4] */ 2614 SET_LO8(ecx, MEM8(esi + 0x24)); /* 0x3609412B: mov cl, byte ptr [esi + 0x24] */ 2615 SET_LO8(ebx, 1); /* 0x3609412E: mov bl, 1 */ 2616 /* cmp LO8(ecx), LO8(ebx) */ /* 0x36094130: cmp cl, bl */ 2617 _flag_a = (uint32_t)(LO8(ecx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2618 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2619 _flag_k = FK_NARROW(FK_CMP, 24); 2620 if (CMP_NE(_flag_a, _flag_b)) goto L_36094398; /* 0x36094132: jne 0x36094398 */ 2621 L_36094138: 2622 ecx = MEM32(edi + 0x4); /* 0x36094138: mov ecx, dword ptr [edi + 4] */ 2623 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x3609413B: cmp eax, dword ptr [ecx + 4] */ 2624 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 2625 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2626 _flag_k = FK_CMP; 2627 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094392; /* 0x3609413E: je 0x36094392 */ 2628 L_36094144: 2629 /* cmp MEM8(eax + 0x24), LO8(ebx) */ /* 0x36094144: cmp byte ptr [eax + 0x24], bl */ 2630 _flag_a = (uint32_t)(MEM8(eax + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2631 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2632 _flag_k = FK_NARROW(FK_CMP, 24); 2633 if (CMP_NE(_flag_a, _flag_b)) goto L_36094392; /* 0x36094147: jne 0x36094392 */ 2634 L_3609414D: 2635 edx = MEM32(eax + 0x4); /* 0x3609414D: mov edx, dword ptr [eax + 4] */ 2636 ecx = MEM32(edx); /* 0x36094150: mov ecx, dword ptr [edx] */ 2637 /* cmp eax, ecx */ /* 0x36094152: cmp eax, ecx */ 2638 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 2639 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2640 _flag_k = FK_CMP; 2641 if (CMP_NE(_flag_a, _flag_b)) goto L_360941C4; /* 0x36094154: jne 0x360941c4 */ 2642 L_36094156: 2643 ecx = MEM32(edx + 0x8); /* 0x36094156: mov ecx, dword ptr [edx + 8] */ 2644 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x36094159: mov dl, byte ptr [ecx + 0x24] */ 2645 /* test LO8(edx), LO8(edx) */ /* 0x3609415C: test dl, dl */ 2646 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 2647 _cf = 0; 2648 _flag_k = FK_NARROW(FK_TEST, 24); 2649 if (TEST_NZ(_flag_a, _flag_b)) goto L_360941AB; /* 0x3609415E: jne 0x360941ab */ 2650 L_36094160: 2651 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094160: mov byte ptr [ecx + 0x24], bl */ 2652 edx = MEM32(eax + 0x4); /* 0x36094163: mov edx, dword ptr [eax + 4] */ 2653 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x36094166: mov byte ptr [edx + 0x24], 0 */ 2654 ecx = MEM32(eax + 0x4); /* 0x3609416A: mov ecx, dword ptr [eax + 4] */ 2655 edx = MEM32(ecx + 0x8); /* 0x3609416D: mov edx, dword ptr [ecx + 8] */ 2656 esi = MEM32(edx); /* 0x36094170: mov esi, dword ptr [edx] */ 2657 MEM32(ecx + 0x8) = esi; /* 0x36094172: mov dword ptr [ecx + 8], esi */ 2658 esi = MEM32(edx); /* 0x36094175: mov esi, dword ptr [edx] */ 2659 /* cmp esi, MEM32(edi + 0x8) */ /* 0x36094177: cmp esi, dword ptr [edi + 8] */ 2660 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2661 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2662 _flag_k = FK_CMP; 2663 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609417F; /* 0x3609417A: je 0x3609417f */ 2664 L_3609417C: 2665 MEM32(esi + 0x4) = ecx; /* 0x3609417C: mov dword ptr [esi + 4], ecx */ 2666 L_3609417F: 2667 esi = MEM32(ecx + 0x4); /* 0x3609417F: mov esi, dword ptr [ecx + 4] */ 2668 MEM32(edx + 0x4) = esi; /* 0x36094182: mov dword ptr [edx + 4], esi */ 2669 esi = MEM32(edi + 0x4); /* 0x36094185: mov esi, dword ptr [edi + 4] */ 2670 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x36094188: cmp ecx, dword ptr [esi + 4] */ 2671 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2672 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2673 _flag_k = FK_CMP; 2674 if (CMP_NE(_flag_a, _flag_b)) goto L_36094192; /* 0x3609418B: jne 0x36094192 */ 2675 L_3609418D: 2676 MEM32(esi + 0x4) = edx; /* 0x3609418D: mov dword ptr [esi + 4], edx */ 2677 goto L_360941A0; /* 0x36094190: jmp 0x360941a0 */ 2678 L_36094192: 2679 esi = MEM32(ecx + 0x4); /* 0x36094192: mov esi, dword ptr [ecx + 4] */ 2680 /* cmp ecx, MEM32(esi) */ /* 0x36094195: cmp ecx, dword ptr [esi] */ 2681 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 2682 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2683 _flag_k = FK_CMP; 2684 if (CMP_NE(_flag_a, _flag_b)) goto L_3609419D; /* 0x36094197: jne 0x3609419d */ 2685 L_36094199: 2686 MEM32(esi) = edx; /* 0x36094199: mov dword ptr [esi], edx */ 2687 goto L_360941A0; /* 0x3609419B: jmp 0x360941a0 */ 2688 L_3609419D: 2689 MEM32(esi + 0x8) = edx; /* 0x3609419D: mov dword ptr [esi + 8], edx */ 2690 L_360941A0: 2691 MEM32(edx) = ecx; /* 0x360941A0: mov dword ptr [edx], ecx */ 2692 MEM32(ecx + 0x4) = edx; /* 0x360941A2: mov dword ptr [ecx + 4], edx */ 2693 ecx = MEM32(eax + 0x4); /* 0x360941A5: mov ecx, dword ptr [eax + 4] */ 2694 ecx = MEM32(ecx + 0x8); /* 0x360941A8: mov ecx, dword ptr [ecx + 8] */ 2695 L_360941AB: 2696 edx = MEM32(ecx); /* 0x360941AB: mov edx, dword ptr [ecx] */ 2697 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x360941AD: cmp byte ptr [edx + 0x24], bl */ 2698 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2699 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2700 _flag_k = FK_NARROW(FK_CMP, 24); 2701 if (CMP_NE(_flag_a, _flag_b)) goto L_36094246; /* 0x360941B0: jne 0x36094246 */ 2702 L_360941B6: 2703 edx = MEM32(ecx + 0x8); /* 0x360941B6: mov edx, dword ptr [ecx + 8] */ 2704 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x360941B9: cmp byte ptr [edx + 0x24], bl */ 2705 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2706 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2707 _flag_k = FK_NARROW(FK_CMP, 24); 2708 if (CMP_NE(_flag_a, _flag_b)) goto L_36094246; /* 0x360941BC: jne 0x36094246 */ 2709 L_360941C2: 2710 goto L_3609422E; /* 0x360941C2: jmp 0x3609422e */ 2711 L_360941C4: 2712 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x360941C4: mov dl, byte ptr [ecx + 0x24] */ 2713 /* test LO8(edx), LO8(edx) */ /* 0x360941C7: test dl, dl */ 2714 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 2715 _cf = 0; 2716 _flag_k = FK_NARROW(FK_TEST, 24); 2717 if (TEST_NZ(_flag_a, _flag_b)) goto L_36094217; /* 0x360941C9: jne 0x36094217 */ 2718 L_360941CB: 2719 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360941CB: mov byte ptr [ecx + 0x24], bl */ 2720 ecx = MEM32(eax + 0x4); /* 0x360941CE: mov ecx, dword ptr [eax + 4] */ 2721 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x360941D1: mov byte ptr [ecx + 0x24], 0 */ 2722 ecx = MEM32(eax + 0x4); /* 0x360941D5: mov ecx, dword ptr [eax + 4] */ 2723 edx = MEM32(ecx); /* 0x360941D8: mov edx, dword ptr [ecx] */ 2724 esi = MEM32(edx + 0x8); /* 0x360941DA: mov esi, dword ptr [edx + 8] */ 2725 MEM32(ecx) = esi; /* 0x360941DD: mov dword ptr [ecx], esi */ 2726 esi = MEM32(edx + 0x8); /* 0x360941DF: mov esi, dword ptr [edx + 8] */ 2727 /* cmp esi, MEM32(edi + 0x8) */ /* 0x360941E2: cmp esi, dword ptr [edi + 8] */ 2728 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2729 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2730 _flag_k = FK_CMP; 2731 if (CMP_EQ(_flag_a, _flag_b)) goto L_360941EA; /* 0x360941E5: je 0x360941ea */ 2732 L_360941E7: 2733 MEM32(esi + 0x4) = ecx; /* 0x360941E7: mov dword ptr [esi + 4], ecx */ 2734 L_360941EA: 2735 esi = MEM32(ecx + 0x4); /* 0x360941EA: mov esi, dword ptr [ecx + 4] */ 2736 MEM32(edx + 0x4) = esi; /* 0x360941ED: mov dword ptr [edx + 4], esi */ 2737 esi = MEM32(edi + 0x4); /* 0x360941F0: mov esi, dword ptr [edi + 4] */ 2738 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x360941F3: cmp ecx, dword ptr [esi + 4] */ 2739 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2740 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2741 _flag_k = FK_CMP; 2742 if (CMP_NE(_flag_a, _flag_b)) goto L_360941FD; /* 0x360941F6: jne 0x360941fd */ 2743 L_360941F8: 2744 MEM32(esi + 0x4) = edx; /* 0x360941F8: mov dword ptr [esi + 4], edx */ 2745 goto L_3609420C; /* 0x360941FB: jmp 0x3609420c */ 2746 L_360941FD: 2747 esi = MEM32(ecx + 0x4); /* 0x360941FD: mov esi, dword ptr [ecx + 4] */ 2748 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x36094200: cmp ecx, dword ptr [esi + 8] */ 2749 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2750 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2751 _flag_k = FK_CMP; 2752 if (CMP_NE(_flag_a, _flag_b)) goto L_3609420A; /* 0x36094203: jne 0x3609420a */ 2753 L_36094205: 2754 MEM32(esi + 0x8) = edx; /* 0x36094205: mov dword ptr [esi + 8], edx */ 2755 goto L_3609420C; /* 0x36094208: jmp 0x3609420c */ 2756 L_3609420A: 2757 MEM32(esi) = edx; /* 0x3609420A: mov dword ptr [esi], edx */ 2758 L_3609420C: 2759 MEM32(edx + 0x8) = ecx; /* 0x3609420C: mov dword ptr [edx + 8], ecx */ 2760 MEM32(ecx + 0x4) = edx; /* 0x3609420F: mov dword ptr [ecx + 4], edx */ 2761 edx = MEM32(eax + 0x4); /* 0x36094212: mov edx, dword ptr [eax + 4] */ 2762 ecx = MEM32(edx); /* 0x36094215: mov ecx, dword ptr [edx] */ 2763 L_36094217: 2764 edx = MEM32(ecx + 0x8); /* 0x36094217: mov edx, dword ptr [ecx + 8] */ 2765 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x3609421A: cmp byte ptr [edx + 0x24], bl */ 2766 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2767 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2768 _flag_k = FK_NARROW(FK_CMP, 24); 2769 if (CMP_NE(_flag_a, _flag_b)) goto L_360942F3; /* 0x3609421D: jne 0x360942f3 */ 2770 L_36094223: 2771 edx = MEM32(ecx); /* 0x36094223: mov edx, dword ptr [ecx] */ 2772 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x36094225: cmp byte ptr [edx + 0x24], bl */ 2773 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2774 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2775 _flag_k = FK_NARROW(FK_CMP, 24); 2776 if (CMP_NE(_flag_a, _flag_b)) goto L_360942F3; /* 0x36094228: jne 0x360942f3 */ 2777 L_3609422E: 2778 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x3609422E: mov byte ptr [ecx + 0x24], 0 */ 2779 ecx = MEM32(edi + 0x4); /* 0x36094232: mov ecx, dword ptr [edi + 4] */ 2780 eax = MEM32(eax + 0x4); /* 0x36094235: mov eax, dword ptr [eax + 4] */ 2781 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x36094238: cmp eax, dword ptr [ecx + 4] */ 2782 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 2783 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2784 _flag_k = FK_CMP; 2785 RECOMP_BACKEDGE(); 2786 if (CMP_NE(_flag_a, _flag_b)) goto L_36094144; /* 0x3609423B: jne 0x36094144 */ 2787 L_36094241: 2788 goto L_36094392; /* 0x36094241: jmp 0x36094392 */ 2789 L_36094246: 2790 edx = MEM32(ecx + 0x8); /* 0x36094246: mov edx, dword ptr [ecx + 8] */ 2791 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x36094249: cmp byte ptr [edx + 0x24], bl */ 2792 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2793 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2794 _flag_k = FK_NARROW(FK_CMP, 24); 2795 if (CMP_NE(_flag_a, _flag_b)) goto L_36094297; /* 0x3609424C: jne 0x36094297 */ 2796 L_3609424E: 2797 edx = MEM32(ecx); /* 0x3609424E: mov edx, dword ptr [ecx] */ 2798 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094250: mov byte ptr [edx + 0x24], bl */ 2799 edx = MEM32(ecx); /* 0x36094253: mov edx, dword ptr [ecx] */ 2800 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x36094255: mov byte ptr [ecx + 0x24], 0 */ 2801 esi = MEM32(edx + 0x8); /* 0x36094259: mov esi, dword ptr [edx + 8] */ 2802 MEM32(ecx) = esi; /* 0x3609425C: mov dword ptr [ecx], esi */ 2803 esi = MEM32(edx + 0x8); /* 0x3609425E: mov esi, dword ptr [edx + 8] */ 2804 /* cmp esi, MEM32(edi + 0x8) */ /* 0x36094261: cmp esi, dword ptr [edi + 8] */ 2805 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2806 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2807 _flag_k = FK_CMP; 2808 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094269; /* 0x36094264: je 0x36094269 */ 2809 L_36094266: 2810 MEM32(esi + 0x4) = ecx; /* 0x36094266: mov dword ptr [esi + 4], ecx */ 2811 L_36094269: 2812 esi = MEM32(ecx + 0x4); /* 0x36094269: mov esi, dword ptr [ecx + 4] */ 2813 MEM32(edx + 0x4) = esi; /* 0x3609426C: mov dword ptr [edx + 4], esi */ 2814 esi = MEM32(edi + 0x4); /* 0x3609426F: mov esi, dword ptr [edi + 4] */ 2815 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x36094272: cmp ecx, dword ptr [esi + 4] */ 2816 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2817 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2818 _flag_k = FK_CMP; 2819 if (CMP_NE(_flag_a, _flag_b)) goto L_3609427C; /* 0x36094275: jne 0x3609427c */ 2820 L_36094277: 2821 MEM32(esi + 0x4) = edx; /* 0x36094277: mov dword ptr [esi + 4], edx */ 2822 goto L_3609428B; /* 0x3609427A: jmp 0x3609428b */ 2823 L_3609427C: 2824 esi = MEM32(ecx + 0x4); /* 0x3609427C: mov esi, dword ptr [ecx + 4] */ 2825 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x3609427F: cmp ecx, dword ptr [esi + 8] */ 2826 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2827 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2828 _flag_k = FK_CMP; 2829 if (CMP_NE(_flag_a, _flag_b)) goto L_36094289; /* 0x36094282: jne 0x36094289 */ 2830 L_36094284: 2831 MEM32(esi + 0x8) = edx; /* 0x36094284: mov dword ptr [esi + 8], edx */ 2832 goto L_3609428B; /* 0x36094287: jmp 0x3609428b */ 2833 L_36094289: 2834 MEM32(esi) = edx; /* 0x36094289: mov dword ptr [esi], edx */ 2835 L_3609428B: 2836 MEM32(edx + 0x8) = ecx; /* 0x3609428B: mov dword ptr [edx + 8], ecx */ 2837 MEM32(ecx + 0x4) = edx; /* 0x3609428E: mov dword ptr [ecx + 4], edx */ 2838 ecx = MEM32(eax + 0x4); /* 0x36094291: mov ecx, dword ptr [eax + 4] */ 2839 ecx = MEM32(ecx + 0x8); /* 0x36094294: mov ecx, dword ptr [ecx + 8] */ 2840 L_36094297: 2841 edx = MEM32(eax + 0x4); /* 0x36094297: mov edx, dword ptr [eax + 4] */ 2842 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x3609429A: mov dl, byte ptr [edx + 0x24] */ 2843 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x3609429D: mov byte ptr [ecx + 0x24], dl */ 2844 edx = MEM32(eax + 0x4); /* 0x360942A0: mov edx, dword ptr [eax + 4] */ 2845 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360942A3: mov byte ptr [edx + 0x24], bl */ 2846 ecx = MEM32(ecx + 0x8); /* 0x360942A6: mov ecx, dword ptr [ecx + 8] */ 2847 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360942A9: mov byte ptr [ecx + 0x24], bl */ 2848 ecx = MEM32(eax + 0x4); /* 0x360942AC: mov ecx, dword ptr [eax + 4] */ 2849 edx = MEM32(ecx + 0x8); /* 0x360942AF: mov edx, dword ptr [ecx + 8] */ 2850 esi = MEM32(edx); /* 0x360942B2: mov esi, dword ptr [edx] */ 2851 MEM32(ecx + 0x8) = esi; /* 0x360942B4: mov dword ptr [ecx + 8], esi */ 2852 esi = MEM32(edx); /* 0x360942B7: mov esi, dword ptr [edx] */ 2853 /* cmp esi, MEM32(edi + 0x8) */ /* 0x360942B9: cmp esi, dword ptr [edi + 8] */ 2854 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2855 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2856 _flag_k = FK_CMP; 2857 if (CMP_EQ(_flag_a, _flag_b)) goto L_360942C1; /* 0x360942BC: je 0x360942c1 */ 2858 L_360942BE: 2859 MEM32(esi + 0x4) = ecx; /* 0x360942BE: mov dword ptr [esi + 4], ecx */ 2860 L_360942C1: 2861 esi = MEM32(ecx + 0x4); /* 0x360942C1: mov esi, dword ptr [ecx + 4] */ 2862 MEM32(edx + 0x4) = esi; /* 0x360942C4: mov dword ptr [edx + 4], esi */ 2863 esi = MEM32(edi + 0x4); /* 0x360942C7: mov esi, dword ptr [edi + 4] */ 2864 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x360942CA: cmp ecx, dword ptr [esi + 4] */ 2865 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2866 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2867 _flag_k = FK_CMP; 2868 if (CMP_NE(_flag_a, _flag_b)) goto L_360942D9; /* 0x360942CD: jne 0x360942d9 */ 2869 L_360942CF: 2870 MEM32(esi + 0x4) = edx; /* 0x360942CF: mov dword ptr [esi + 4], edx */ 2871 MEM32(edx) = ecx; /* 0x360942D2: mov dword ptr [edx], ecx */ 2872 goto L_3609438F; /* 0x360942D4: jmp 0x3609438f */ 2873 L_360942D9: 2874 esi = MEM32(ecx + 0x4); /* 0x360942D9: mov esi, dword ptr [ecx + 4] */ 2875 /* cmp ecx, MEM32(esi) */ /* 0x360942DC: cmp ecx, dword ptr [esi] */ 2876 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 2877 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2878 _flag_k = FK_CMP; 2879 if (CMP_NE(_flag_a, _flag_b)) goto L_360942E9; /* 0x360942DE: jne 0x360942e9 */ 2880 L_360942E0: 2881 MEM32(esi) = edx; /* 0x360942E0: mov dword ptr [esi], edx */ 2882 MEM32(edx) = ecx; /* 0x360942E2: mov dword ptr [edx], ecx */ 2883 goto L_3609438F; /* 0x360942E4: jmp 0x3609438f */ 2884 L_360942E9: 2885 MEM32(esi + 0x8) = edx; /* 0x360942E9: mov dword ptr [esi + 8], edx */ 2886 MEM32(edx) = ecx; /* 0x360942EC: mov dword ptr [edx], ecx */ 2887 goto L_3609438F; /* 0x360942EE: jmp 0x3609438f */ 2888 L_360942F3: 2889 edx = MEM32(ecx); /* 0x360942F3: mov edx, dword ptr [ecx] */ 2890 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x360942F5: cmp byte ptr [edx + 0x24], bl */ 2891 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 2892 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2893 _flag_k = FK_NARROW(FK_CMP, 24); 2894 if (CMP_NE(_flag_a, _flag_b)) goto L_36094341; /* 0x360942F8: jne 0x36094341 */ 2895 L_360942FA: 2896 edx = MEM32(ecx + 0x8); /* 0x360942FA: mov edx, dword ptr [ecx + 8] */ 2897 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360942FD: mov byte ptr [edx + 0x24], bl */ 2898 edx = MEM32(ecx + 0x8); /* 0x36094300: mov edx, dword ptr [ecx + 8] */ 2899 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x36094303: mov byte ptr [ecx + 0x24], 0 */ 2900 esi = MEM32(edx); /* 0x36094307: mov esi, dword ptr [edx] */ 2901 MEM32(ecx + 0x8) = esi; /* 0x36094309: mov dword ptr [ecx + 8], esi */ 2902 esi = MEM32(edx); /* 0x3609430C: mov esi, dword ptr [edx] */ 2903 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3609430E: cmp esi, dword ptr [edi + 8] */ 2904 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2905 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2906 _flag_k = FK_CMP; 2907 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094316; /* 0x36094311: je 0x36094316 */ 2908 L_36094313: 2909 MEM32(esi + 0x4) = ecx; /* 0x36094313: mov dword ptr [esi + 4], ecx */ 2910 L_36094316: 2911 esi = MEM32(ecx + 0x4); /* 0x36094316: mov esi, dword ptr [ecx + 4] */ 2912 MEM32(edx + 0x4) = esi; /* 0x36094319: mov dword ptr [edx + 4], esi */ 2913 esi = MEM32(edi + 0x4); /* 0x3609431C: mov esi, dword ptr [edi + 4] */ 2914 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x3609431F: cmp ecx, dword ptr [esi + 4] */ 2915 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2916 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2917 _flag_k = FK_CMP; 2918 if (CMP_NE(_flag_a, _flag_b)) goto L_36094329; /* 0x36094322: jne 0x36094329 */ 2919 L_36094324: 2920 MEM32(esi + 0x4) = edx; /* 0x36094324: mov dword ptr [esi + 4], edx */ 2921 goto L_36094337; /* 0x36094327: jmp 0x36094337 */ 2922 L_36094329: 2923 esi = MEM32(ecx + 0x4); /* 0x36094329: mov esi, dword ptr [ecx + 4] */ 2924 /* cmp ecx, MEM32(esi) */ /* 0x3609432C: cmp ecx, dword ptr [esi] */ 2925 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 2926 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2927 _flag_k = FK_CMP; 2928 if (CMP_NE(_flag_a, _flag_b)) goto L_36094334; /* 0x3609432E: jne 0x36094334 */ 2929 L_36094330: 2930 MEM32(esi) = edx; /* 0x36094330: mov dword ptr [esi], edx */ 2931 goto L_36094337; /* 0x36094332: jmp 0x36094337 */ 2932 L_36094334: 2933 MEM32(esi + 0x8) = edx; /* 0x36094334: mov dword ptr [esi + 8], edx */ 2934 L_36094337: 2935 MEM32(edx) = ecx; /* 0x36094337: mov dword ptr [edx], ecx */ 2936 MEM32(ecx + 0x4) = edx; /* 0x36094339: mov dword ptr [ecx + 4], edx */ 2937 ecx = MEM32(eax + 0x4); /* 0x3609433C: mov ecx, dword ptr [eax + 4] */ 2938 ecx = MEM32(ecx); /* 0x3609433F: mov ecx, dword ptr [ecx] */ 2939 L_36094341: 2940 edx = MEM32(eax + 0x4); /* 0x36094341: mov edx, dword ptr [eax + 4] */ 2941 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x36094344: mov dl, byte ptr [edx + 0x24] */ 2942 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x36094347: mov byte ptr [ecx + 0x24], dl */ 2943 edx = MEM32(eax + 0x4); /* 0x3609434A: mov edx, dword ptr [eax + 4] */ 2944 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x3609434D: mov byte ptr [edx + 0x24], bl */ 2945 ecx = MEM32(ecx); /* 0x36094350: mov ecx, dword ptr [ecx] */ 2946 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094352: mov byte ptr [ecx + 0x24], bl */ 2947 ecx = MEM32(eax + 0x4); /* 0x36094355: mov ecx, dword ptr [eax + 4] */ 2948 edx = MEM32(ecx); /* 0x36094358: mov edx, dword ptr [ecx] */ 2949 esi = MEM32(edx + 0x8); /* 0x3609435A: mov esi, dword ptr [edx + 8] */ 2950 MEM32(ecx) = esi; /* 0x3609435D: mov dword ptr [ecx], esi */ 2951 esi = MEM32(edx + 0x8); /* 0x3609435F: mov esi, dword ptr [edx + 8] */ 2952 /* cmp esi, MEM32(edi + 0x8) */ /* 0x36094362: cmp esi, dword ptr [edi + 8] */ 2953 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 2954 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2955 _flag_k = FK_CMP; 2956 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609436A; /* 0x36094365: je 0x3609436a */ 2957 L_36094367: 2958 MEM32(esi + 0x4) = ecx; /* 0x36094367: mov dword ptr [esi + 4], ecx */ 2959 L_3609436A: 2960 esi = MEM32(ecx + 0x4); /* 0x3609436A: mov esi, dword ptr [ecx + 4] */ 2961 MEM32(edx + 0x4) = esi; /* 0x3609436D: mov dword ptr [edx + 4], esi */ 2962 esi = MEM32(edi + 0x4); /* 0x36094370: mov esi, dword ptr [edi + 4] */ 2963 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x36094373: cmp ecx, dword ptr [esi + 4] */ 2964 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 2965 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2966 _flag_k = FK_CMP; 2967 if (CMP_NE(_flag_a, _flag_b)) goto L_3609437D; /* 0x36094376: jne 0x3609437d */ 2968 L_36094378: 2969 MEM32(esi + 0x4) = edx; /* 0x36094378: mov dword ptr [esi + 4], edx */ 2970 goto L_3609438C; /* 0x3609437B: jmp 0x3609438c */ 2971 L_3609437D: 2972 esi = MEM32(ecx + 0x4); /* 0x3609437D: mov esi, dword ptr [ecx + 4] */ 2973 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x36094380: cmp ecx, dword ptr [esi + 8] */ 2974 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 2975 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 2976 _flag_k = FK_CMP; 2977 if (CMP_NE(_flag_a, _flag_b)) goto L_3609438A; /* 0x36094383: jne 0x3609438a */ 2978 L_36094385: 2979 MEM32(esi + 0x8) = edx; /* 0x36094385: mov dword ptr [esi + 8], edx */ 2980 goto L_3609438C; /* 0x36094388: jmp 0x3609438c */ 2981 L_3609438A: 2982 MEM32(esi) = edx; /* 0x3609438A: mov dword ptr [esi], edx */ 2983 L_3609438C: 2984 MEM32(edx + 0x8) = ecx; /* 0x3609438C: mov dword ptr [edx + 8], ecx */ 2985 L_3609438F: 2986 MEM32(ecx + 0x4) = edx; /* 0x3609438F: mov dword ptr [ecx + 4], edx */ 2987 L_36094392: 2988 esi = MEM32(ebp + (-0x4)); /* 0x36094392: mov esi, dword ptr [ebp - 4] */ 2989 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094395: mov byte ptr [eax + 0x24], bl */ 2990 L_36094398: 2991 ecx = esi + 0xC; /* 0x36094398: lea ecx, [esi + 0xc] */ 2992 RECOMP_ICALL(0x3610BA00u); /* 0x3609439B: call 0x3610ba00 */ /* not lifted */ 2993 RECOMP_FLAGS_IN(); 2994 PUSH32(esp, esi); /* 0x360943A0: push esi */ 2995 RECOMP_ICALL(0x3615FCC4u); /* 0x360943A1: call 0x3615fcc4 */ /* not lifted */ 2996 RECOMP_FLAGS_IN(); 2997 eax = MEM32(edi + 0x10); /* 0x360943A6: mov eax, dword ptr [edi + 0x10] */ 2998 edx = MEM32(ebp + 0xC); /* 0x360943A9: mov edx, dword ptr [ebp + 0xc] */ 2999 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3000 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3001 esp = esp + 4; /* 0x360943AC: add esp, 4 */ 3002 _flag_k = FK_ADD; 3003 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3004 eax = eax - 1; /* 0x360943AF: dec eax */ 3005 _flag_k = FK_DEC; 3006 MEM32(edi + 0x10) = eax; /* 0x360943B0: mov dword ptr [edi + 0x10], eax */ 3007 eax = MEM32(ebp + 0x8); /* 0x360943B3: mov eax, dword ptr [ebp + 8] */ 3008 edi = POP32_VAL(esp); /* 0x360943B6: pop edi */ 3009 esi = POP32_VAL(esp); /* 0x360943B7: pop esi */ 3010 MEM32(eax) = edx; /* 0x360943B8: mov dword ptr [eax], edx */ 3011 ebx = POP32_VAL(esp); /* 0x360943BA: pop ebx */ 3012 esp = ebp; /* 0x360943BB: mov esp, ebp */ 3013 ebp = POP32_VAL(esp); /* 0x360943BD: pop ebp */ 3014 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x360943BE: ret 8 */ 3015 RECOMP_REGS_OUT(); 3016 } 3017 3018 void sub_36094144(void) { 3019 int _fpu_cmp = 0; 3020 uint32_t _cf = 0; 3021 int _df = 1; 3022 uint32_t _flag_k = FK_NONE; 3023 uint32_t _flag_a = 0, _flag_b = 0; 3024 uint32_t _itail_tgt = 0; 3025 RECOMP_REGS_LOCALS 3026 RECOMP_ENTER(0x36094144u); 3027 3028 L_36094144: 3029 /* cmp MEM8(eax + 0x24), LO8(ebx) */ /* 0x36094144: cmp byte ptr [eax + 0x24], bl */ 3030 _flag_a = (uint32_t)(MEM8(eax + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3031 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3032 _flag_k = FK_NARROW(FK_CMP, 24); 3033 if (CMP_NE(_flag_a, _flag_b)) goto L_36094392; /* 0x36094147: jne 0x36094392 */ 3034 L_3609414D: 3035 edx = MEM32(eax + 0x4); /* 0x3609414D: mov edx, dword ptr [eax + 4] */ 3036 ecx = MEM32(edx); /* 0x36094150: mov ecx, dword ptr [edx] */ 3037 /* cmp eax, ecx */ /* 0x36094152: cmp eax, ecx */ 3038 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 3039 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3040 _flag_k = FK_CMP; 3041 if (CMP_NE(_flag_a, _flag_b)) goto L_360941C4; /* 0x36094154: jne 0x360941c4 */ 3042 L_36094156: 3043 ecx = MEM32(edx + 0x8); /* 0x36094156: mov ecx, dword ptr [edx + 8] */ 3044 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x36094159: mov dl, byte ptr [ecx + 0x24] */ 3045 /* test LO8(edx), LO8(edx) */ /* 0x3609415C: test dl, dl */ 3046 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 3047 _cf = 0; 3048 _flag_k = FK_NARROW(FK_TEST, 24); 3049 if (TEST_NZ(_flag_a, _flag_b)) goto L_360941AB; /* 0x3609415E: jne 0x360941ab */ 3050 L_36094160: 3051 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094160: mov byte ptr [ecx + 0x24], bl */ 3052 edx = MEM32(eax + 0x4); /* 0x36094163: mov edx, dword ptr [eax + 4] */ 3053 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x36094166: mov byte ptr [edx + 0x24], 0 */ 3054 ecx = MEM32(eax + 0x4); /* 0x3609416A: mov ecx, dword ptr [eax + 4] */ 3055 edx = MEM32(ecx + 0x8); /* 0x3609416D: mov edx, dword ptr [ecx + 8] */ 3056 esi = MEM32(edx); /* 0x36094170: mov esi, dword ptr [edx] */ 3057 MEM32(ecx + 0x8) = esi; /* 0x36094172: mov dword ptr [ecx + 8], esi */ 3058 esi = MEM32(edx); /* 0x36094175: mov esi, dword ptr [edx] */ 3059 /* cmp esi, MEM32(edi + 0x8) */ /* 0x36094177: cmp esi, dword ptr [edi + 8] */ 3060 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3061 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3062 _flag_k = FK_CMP; 3063 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609417F; /* 0x3609417A: je 0x3609417f */ 3064 L_3609417C: 3065 MEM32(esi + 0x4) = ecx; /* 0x3609417C: mov dword ptr [esi + 4], ecx */ 3066 L_3609417F: 3067 esi = MEM32(ecx + 0x4); /* 0x3609417F: mov esi, dword ptr [ecx + 4] */ 3068 MEM32(edx + 0x4) = esi; /* 0x36094182: mov dword ptr [edx + 4], esi */ 3069 esi = MEM32(edi + 0x4); /* 0x36094185: mov esi, dword ptr [edi + 4] */ 3070 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x36094188: cmp ecx, dword ptr [esi + 4] */ 3071 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3072 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3073 _flag_k = FK_CMP; 3074 if (CMP_NE(_flag_a, _flag_b)) goto L_36094192; /* 0x3609418B: jne 0x36094192 */ 3075 L_3609418D: 3076 MEM32(esi + 0x4) = edx; /* 0x3609418D: mov dword ptr [esi + 4], edx */ 3077 goto L_360941A0; /* 0x36094190: jmp 0x360941a0 */ 3078 L_36094192: 3079 esi = MEM32(ecx + 0x4); /* 0x36094192: mov esi, dword ptr [ecx + 4] */ 3080 /* cmp ecx, MEM32(esi) */ /* 0x36094195: cmp ecx, dword ptr [esi] */ 3081 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 3082 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3083 _flag_k = FK_CMP; 3084 if (CMP_NE(_flag_a, _flag_b)) goto L_3609419D; /* 0x36094197: jne 0x3609419d */ 3085 L_36094199: 3086 MEM32(esi) = edx; /* 0x36094199: mov dword ptr [esi], edx */ 3087 goto L_360941A0; /* 0x3609419B: jmp 0x360941a0 */ 3088 L_3609419D: 3089 MEM32(esi + 0x8) = edx; /* 0x3609419D: mov dword ptr [esi + 8], edx */ 3090 L_360941A0: 3091 MEM32(edx) = ecx; /* 0x360941A0: mov dword ptr [edx], ecx */ 3092 MEM32(ecx + 0x4) = edx; /* 0x360941A2: mov dword ptr [ecx + 4], edx */ 3093 ecx = MEM32(eax + 0x4); /* 0x360941A5: mov ecx, dword ptr [eax + 4] */ 3094 ecx = MEM32(ecx + 0x8); /* 0x360941A8: mov ecx, dword ptr [ecx + 8] */ 3095 L_360941AB: 3096 edx = MEM32(ecx); /* 0x360941AB: mov edx, dword ptr [ecx] */ 3097 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x360941AD: cmp byte ptr [edx + 0x24], bl */ 3098 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3099 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3100 _flag_k = FK_NARROW(FK_CMP, 24); 3101 if (CMP_NE(_flag_a, _flag_b)) goto L_36094246; /* 0x360941B0: jne 0x36094246 */ 3102 L_360941B6: 3103 edx = MEM32(ecx + 0x8); /* 0x360941B6: mov edx, dword ptr [ecx + 8] */ 3104 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x360941B9: cmp byte ptr [edx + 0x24], bl */ 3105 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3106 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3107 _flag_k = FK_NARROW(FK_CMP, 24); 3108 if (CMP_NE(_flag_a, _flag_b)) goto L_36094246; /* 0x360941BC: jne 0x36094246 */ 3109 L_360941C2: 3110 goto L_3609422E; /* 0x360941C2: jmp 0x3609422e */ 3111 L_360941C4: 3112 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x360941C4: mov dl, byte ptr [ecx + 0x24] */ 3113 /* test LO8(edx), LO8(edx) */ /* 0x360941C7: test dl, dl */ 3114 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 3115 _cf = 0; 3116 _flag_k = FK_NARROW(FK_TEST, 24); 3117 if (TEST_NZ(_flag_a, _flag_b)) goto L_36094217; /* 0x360941C9: jne 0x36094217 */ 3118 L_360941CB: 3119 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360941CB: mov byte ptr [ecx + 0x24], bl */ 3120 ecx = MEM32(eax + 0x4); /* 0x360941CE: mov ecx, dword ptr [eax + 4] */ 3121 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x360941D1: mov byte ptr [ecx + 0x24], 0 */ 3122 ecx = MEM32(eax + 0x4); /* 0x360941D5: mov ecx, dword ptr [eax + 4] */ 3123 edx = MEM32(ecx); /* 0x360941D8: mov edx, dword ptr [ecx] */ 3124 esi = MEM32(edx + 0x8); /* 0x360941DA: mov esi, dword ptr [edx + 8] */ 3125 MEM32(ecx) = esi; /* 0x360941DD: mov dword ptr [ecx], esi */ 3126 esi = MEM32(edx + 0x8); /* 0x360941DF: mov esi, dword ptr [edx + 8] */ 3127 /* cmp esi, MEM32(edi + 0x8) */ /* 0x360941E2: cmp esi, dword ptr [edi + 8] */ 3128 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3129 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3130 _flag_k = FK_CMP; 3131 if (CMP_EQ(_flag_a, _flag_b)) goto L_360941EA; /* 0x360941E5: je 0x360941ea */ 3132 L_360941E7: 3133 MEM32(esi + 0x4) = ecx; /* 0x360941E7: mov dword ptr [esi + 4], ecx */ 3134 L_360941EA: 3135 esi = MEM32(ecx + 0x4); /* 0x360941EA: mov esi, dword ptr [ecx + 4] */ 3136 MEM32(edx + 0x4) = esi; /* 0x360941ED: mov dword ptr [edx + 4], esi */ 3137 esi = MEM32(edi + 0x4); /* 0x360941F0: mov esi, dword ptr [edi + 4] */ 3138 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x360941F3: cmp ecx, dword ptr [esi + 4] */ 3139 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3140 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3141 _flag_k = FK_CMP; 3142 if (CMP_NE(_flag_a, _flag_b)) goto L_360941FD; /* 0x360941F6: jne 0x360941fd */ 3143 L_360941F8: 3144 MEM32(esi + 0x4) = edx; /* 0x360941F8: mov dword ptr [esi + 4], edx */ 3145 goto L_3609420C; /* 0x360941FB: jmp 0x3609420c */ 3146 L_360941FD: 3147 esi = MEM32(ecx + 0x4); /* 0x360941FD: mov esi, dword ptr [ecx + 4] */ 3148 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x36094200: cmp ecx, dword ptr [esi + 8] */ 3149 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3150 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3151 _flag_k = FK_CMP; 3152 if (CMP_NE(_flag_a, _flag_b)) goto L_3609420A; /* 0x36094203: jne 0x3609420a */ 3153 L_36094205: 3154 MEM32(esi + 0x8) = edx; /* 0x36094205: mov dword ptr [esi + 8], edx */ 3155 goto L_3609420C; /* 0x36094208: jmp 0x3609420c */ 3156 L_3609420A: 3157 MEM32(esi) = edx; /* 0x3609420A: mov dword ptr [esi], edx */ 3158 L_3609420C: 3159 MEM32(edx + 0x8) = ecx; /* 0x3609420C: mov dword ptr [edx + 8], ecx */ 3160 MEM32(ecx + 0x4) = edx; /* 0x3609420F: mov dword ptr [ecx + 4], edx */ 3161 edx = MEM32(eax + 0x4); /* 0x36094212: mov edx, dword ptr [eax + 4] */ 3162 ecx = MEM32(edx); /* 0x36094215: mov ecx, dword ptr [edx] */ 3163 L_36094217: 3164 edx = MEM32(ecx + 0x8); /* 0x36094217: mov edx, dword ptr [ecx + 8] */ 3165 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x3609421A: cmp byte ptr [edx + 0x24], bl */ 3166 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3167 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3168 _flag_k = FK_NARROW(FK_CMP, 24); 3169 if (CMP_NE(_flag_a, _flag_b)) goto L_360942F3; /* 0x3609421D: jne 0x360942f3 */ 3170 L_36094223: 3171 edx = MEM32(ecx); /* 0x36094223: mov edx, dword ptr [ecx] */ 3172 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x36094225: cmp byte ptr [edx + 0x24], bl */ 3173 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3174 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3175 _flag_k = FK_NARROW(FK_CMP, 24); 3176 if (CMP_NE(_flag_a, _flag_b)) goto L_360942F3; /* 0x36094228: jne 0x360942f3 */ 3177 L_3609422E: 3178 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x3609422E: mov byte ptr [ecx + 0x24], 0 */ 3179 ecx = MEM32(edi + 0x4); /* 0x36094232: mov ecx, dword ptr [edi + 4] */ 3180 eax = MEM32(eax + 0x4); /* 0x36094235: mov eax, dword ptr [eax + 4] */ 3181 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x36094238: cmp eax, dword ptr [ecx + 4] */ 3182 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 3183 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3184 _flag_k = FK_CMP; 3185 RECOMP_BACKEDGE(); 3186 if (CMP_NE(_flag_a, _flag_b)) goto L_36094144; /* 0x3609423B: jne 0x36094144 */ 3187 L_36094241: 3188 goto L_36094392; /* 0x36094241: jmp 0x36094392 */ 3189 L_36094246: 3190 edx = MEM32(ecx + 0x8); /* 0x36094246: mov edx, dword ptr [ecx + 8] */ 3191 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x36094249: cmp byte ptr [edx + 0x24], bl */ 3192 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3193 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3194 _flag_k = FK_NARROW(FK_CMP, 24); 3195 if (CMP_NE(_flag_a, _flag_b)) goto L_36094297; /* 0x3609424C: jne 0x36094297 */ 3196 L_3609424E: 3197 edx = MEM32(ecx); /* 0x3609424E: mov edx, dword ptr [ecx] */ 3198 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094250: mov byte ptr [edx + 0x24], bl */ 3199 edx = MEM32(ecx); /* 0x36094253: mov edx, dword ptr [ecx] */ 3200 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x36094255: mov byte ptr [ecx + 0x24], 0 */ 3201 esi = MEM32(edx + 0x8); /* 0x36094259: mov esi, dword ptr [edx + 8] */ 3202 MEM32(ecx) = esi; /* 0x3609425C: mov dword ptr [ecx], esi */ 3203 esi = MEM32(edx + 0x8); /* 0x3609425E: mov esi, dword ptr [edx + 8] */ 3204 /* cmp esi, MEM32(edi + 0x8) */ /* 0x36094261: cmp esi, dword ptr [edi + 8] */ 3205 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3206 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3207 _flag_k = FK_CMP; 3208 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094269; /* 0x36094264: je 0x36094269 */ 3209 L_36094266: 3210 MEM32(esi + 0x4) = ecx; /* 0x36094266: mov dword ptr [esi + 4], ecx */ 3211 L_36094269: 3212 esi = MEM32(ecx + 0x4); /* 0x36094269: mov esi, dword ptr [ecx + 4] */ 3213 MEM32(edx + 0x4) = esi; /* 0x3609426C: mov dword ptr [edx + 4], esi */ 3214 esi = MEM32(edi + 0x4); /* 0x3609426F: mov esi, dword ptr [edi + 4] */ 3215 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x36094272: cmp ecx, dword ptr [esi + 4] */ 3216 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3217 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3218 _flag_k = FK_CMP; 3219 if (CMP_NE(_flag_a, _flag_b)) goto L_3609427C; /* 0x36094275: jne 0x3609427c */ 3220 L_36094277: 3221 MEM32(esi + 0x4) = edx; /* 0x36094277: mov dword ptr [esi + 4], edx */ 3222 goto L_3609428B; /* 0x3609427A: jmp 0x3609428b */ 3223 L_3609427C: 3224 esi = MEM32(ecx + 0x4); /* 0x3609427C: mov esi, dword ptr [ecx + 4] */ 3225 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x3609427F: cmp ecx, dword ptr [esi + 8] */ 3226 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3227 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3228 _flag_k = FK_CMP; 3229 if (CMP_NE(_flag_a, _flag_b)) goto L_36094289; /* 0x36094282: jne 0x36094289 */ 3230 L_36094284: 3231 MEM32(esi + 0x8) = edx; /* 0x36094284: mov dword ptr [esi + 8], edx */ 3232 goto L_3609428B; /* 0x36094287: jmp 0x3609428b */ 3233 L_36094289: 3234 MEM32(esi) = edx; /* 0x36094289: mov dword ptr [esi], edx */ 3235 L_3609428B: 3236 MEM32(edx + 0x8) = ecx; /* 0x3609428B: mov dword ptr [edx + 8], ecx */ 3237 MEM32(ecx + 0x4) = edx; /* 0x3609428E: mov dword ptr [ecx + 4], edx */ 3238 ecx = MEM32(eax + 0x4); /* 0x36094291: mov ecx, dword ptr [eax + 4] */ 3239 ecx = MEM32(ecx + 0x8); /* 0x36094294: mov ecx, dword ptr [ecx + 8] */ 3240 L_36094297: 3241 edx = MEM32(eax + 0x4); /* 0x36094297: mov edx, dword ptr [eax + 4] */ 3242 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x3609429A: mov dl, byte ptr [edx + 0x24] */ 3243 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x3609429D: mov byte ptr [ecx + 0x24], dl */ 3244 edx = MEM32(eax + 0x4); /* 0x360942A0: mov edx, dword ptr [eax + 4] */ 3245 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360942A3: mov byte ptr [edx + 0x24], bl */ 3246 ecx = MEM32(ecx + 0x8); /* 0x360942A6: mov ecx, dword ptr [ecx + 8] */ 3247 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360942A9: mov byte ptr [ecx + 0x24], bl */ 3248 ecx = MEM32(eax + 0x4); /* 0x360942AC: mov ecx, dword ptr [eax + 4] */ 3249 edx = MEM32(ecx + 0x8); /* 0x360942AF: mov edx, dword ptr [ecx + 8] */ 3250 esi = MEM32(edx); /* 0x360942B2: mov esi, dword ptr [edx] */ 3251 MEM32(ecx + 0x8) = esi; /* 0x360942B4: mov dword ptr [ecx + 8], esi */ 3252 esi = MEM32(edx); /* 0x360942B7: mov esi, dword ptr [edx] */ 3253 /* cmp esi, MEM32(edi + 0x8) */ /* 0x360942B9: cmp esi, dword ptr [edi + 8] */ 3254 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3255 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3256 _flag_k = FK_CMP; 3257 if (CMP_EQ(_flag_a, _flag_b)) goto L_360942C1; /* 0x360942BC: je 0x360942c1 */ 3258 L_360942BE: 3259 MEM32(esi + 0x4) = ecx; /* 0x360942BE: mov dword ptr [esi + 4], ecx */ 3260 L_360942C1: 3261 esi = MEM32(ecx + 0x4); /* 0x360942C1: mov esi, dword ptr [ecx + 4] */ 3262 MEM32(edx + 0x4) = esi; /* 0x360942C4: mov dword ptr [edx + 4], esi */ 3263 esi = MEM32(edi + 0x4); /* 0x360942C7: mov esi, dword ptr [edi + 4] */ 3264 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x360942CA: cmp ecx, dword ptr [esi + 4] */ 3265 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3266 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3267 _flag_k = FK_CMP; 3268 if (CMP_NE(_flag_a, _flag_b)) goto L_360942D9; /* 0x360942CD: jne 0x360942d9 */ 3269 L_360942CF: 3270 MEM32(esi + 0x4) = edx; /* 0x360942CF: mov dword ptr [esi + 4], edx */ 3271 MEM32(edx) = ecx; /* 0x360942D2: mov dword ptr [edx], ecx */ 3272 goto L_3609438F; /* 0x360942D4: jmp 0x3609438f */ 3273 L_360942D9: 3274 esi = MEM32(ecx + 0x4); /* 0x360942D9: mov esi, dword ptr [ecx + 4] */ 3275 /* cmp ecx, MEM32(esi) */ /* 0x360942DC: cmp ecx, dword ptr [esi] */ 3276 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 3277 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3278 _flag_k = FK_CMP; 3279 if (CMP_NE(_flag_a, _flag_b)) goto L_360942E9; /* 0x360942DE: jne 0x360942e9 */ 3280 L_360942E0: 3281 MEM32(esi) = edx; /* 0x360942E0: mov dword ptr [esi], edx */ 3282 MEM32(edx) = ecx; /* 0x360942E2: mov dword ptr [edx], ecx */ 3283 goto L_3609438F; /* 0x360942E4: jmp 0x3609438f */ 3284 L_360942E9: 3285 MEM32(esi + 0x8) = edx; /* 0x360942E9: mov dword ptr [esi + 8], edx */ 3286 MEM32(edx) = ecx; /* 0x360942EC: mov dword ptr [edx], ecx */ 3287 goto L_3609438F; /* 0x360942EE: jmp 0x3609438f */ 3288 L_360942F3: 3289 edx = MEM32(ecx); /* 0x360942F3: mov edx, dword ptr [ecx] */ 3290 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x360942F5: cmp byte ptr [edx + 0x24], bl */ 3291 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3292 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3293 _flag_k = FK_NARROW(FK_CMP, 24); 3294 if (CMP_NE(_flag_a, _flag_b)) goto L_36094341; /* 0x360942F8: jne 0x36094341 */ 3295 L_360942FA: 3296 edx = MEM32(ecx + 0x8); /* 0x360942FA: mov edx, dword ptr [ecx + 8] */ 3297 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360942FD: mov byte ptr [edx + 0x24], bl */ 3298 edx = MEM32(ecx + 0x8); /* 0x36094300: mov edx, dword ptr [ecx + 8] */ 3299 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x36094303: mov byte ptr [ecx + 0x24], 0 */ 3300 esi = MEM32(edx); /* 0x36094307: mov esi, dword ptr [edx] */ 3301 MEM32(ecx + 0x8) = esi; /* 0x36094309: mov dword ptr [ecx + 8], esi */ 3302 esi = MEM32(edx); /* 0x3609430C: mov esi, dword ptr [edx] */ 3303 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3609430E: cmp esi, dword ptr [edi + 8] */ 3304 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3305 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3306 _flag_k = FK_CMP; 3307 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094316; /* 0x36094311: je 0x36094316 */ 3308 L_36094313: 3309 MEM32(esi + 0x4) = ecx; /* 0x36094313: mov dword ptr [esi + 4], ecx */ 3310 L_36094316: 3311 esi = MEM32(ecx + 0x4); /* 0x36094316: mov esi, dword ptr [ecx + 4] */ 3312 MEM32(edx + 0x4) = esi; /* 0x36094319: mov dword ptr [edx + 4], esi */ 3313 esi = MEM32(edi + 0x4); /* 0x3609431C: mov esi, dword ptr [edi + 4] */ 3314 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x3609431F: cmp ecx, dword ptr [esi + 4] */ 3315 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3316 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3317 _flag_k = FK_CMP; 3318 if (CMP_NE(_flag_a, _flag_b)) goto L_36094329; /* 0x36094322: jne 0x36094329 */ 3319 L_36094324: 3320 MEM32(esi + 0x4) = edx; /* 0x36094324: mov dword ptr [esi + 4], edx */ 3321 goto L_36094337; /* 0x36094327: jmp 0x36094337 */ 3322 L_36094329: 3323 esi = MEM32(ecx + 0x4); /* 0x36094329: mov esi, dword ptr [ecx + 4] */ 3324 /* cmp ecx, MEM32(esi) */ /* 0x3609432C: cmp ecx, dword ptr [esi] */ 3325 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 3326 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3327 _flag_k = FK_CMP; 3328 if (CMP_NE(_flag_a, _flag_b)) goto L_36094334; /* 0x3609432E: jne 0x36094334 */ 3329 L_36094330: 3330 MEM32(esi) = edx; /* 0x36094330: mov dword ptr [esi], edx */ 3331 goto L_36094337; /* 0x36094332: jmp 0x36094337 */ 3332 L_36094334: 3333 MEM32(esi + 0x8) = edx; /* 0x36094334: mov dword ptr [esi + 8], edx */ 3334 L_36094337: 3335 MEM32(edx) = ecx; /* 0x36094337: mov dword ptr [edx], ecx */ 3336 MEM32(ecx + 0x4) = edx; /* 0x36094339: mov dword ptr [ecx + 4], edx */ 3337 ecx = MEM32(eax + 0x4); /* 0x3609433C: mov ecx, dword ptr [eax + 4] */ 3338 ecx = MEM32(ecx); /* 0x3609433F: mov ecx, dword ptr [ecx] */ 3339 L_36094341: 3340 edx = MEM32(eax + 0x4); /* 0x36094341: mov edx, dword ptr [eax + 4] */ 3341 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x36094344: mov dl, byte ptr [edx + 0x24] */ 3342 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x36094347: mov byte ptr [ecx + 0x24], dl */ 3343 edx = MEM32(eax + 0x4); /* 0x3609434A: mov edx, dword ptr [eax + 4] */ 3344 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x3609434D: mov byte ptr [edx + 0x24], bl */ 3345 ecx = MEM32(ecx); /* 0x36094350: mov ecx, dword ptr [ecx] */ 3346 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094352: mov byte ptr [ecx + 0x24], bl */ 3347 ecx = MEM32(eax + 0x4); /* 0x36094355: mov ecx, dword ptr [eax + 4] */ 3348 edx = MEM32(ecx); /* 0x36094358: mov edx, dword ptr [ecx] */ 3349 esi = MEM32(edx + 0x8); /* 0x3609435A: mov esi, dword ptr [edx + 8] */ 3350 MEM32(ecx) = esi; /* 0x3609435D: mov dword ptr [ecx], esi */ 3351 esi = MEM32(edx + 0x8); /* 0x3609435F: mov esi, dword ptr [edx + 8] */ 3352 /* cmp esi, MEM32(edi + 0x8) */ /* 0x36094362: cmp esi, dword ptr [edi + 8] */ 3353 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3354 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3355 _flag_k = FK_CMP; 3356 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609436A; /* 0x36094365: je 0x3609436a */ 3357 L_36094367: 3358 MEM32(esi + 0x4) = ecx; /* 0x36094367: mov dword ptr [esi + 4], ecx */ 3359 L_3609436A: 3360 esi = MEM32(ecx + 0x4); /* 0x3609436A: mov esi, dword ptr [ecx + 4] */ 3361 MEM32(edx + 0x4) = esi; /* 0x3609436D: mov dword ptr [edx + 4], esi */ 3362 esi = MEM32(edi + 0x4); /* 0x36094370: mov esi, dword ptr [edi + 4] */ 3363 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x36094373: cmp ecx, dword ptr [esi + 4] */ 3364 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3365 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3366 _flag_k = FK_CMP; 3367 if (CMP_NE(_flag_a, _flag_b)) goto L_3609437D; /* 0x36094376: jne 0x3609437d */ 3368 L_36094378: 3369 MEM32(esi + 0x4) = edx; /* 0x36094378: mov dword ptr [esi + 4], edx */ 3370 goto L_3609438C; /* 0x3609437B: jmp 0x3609438c */ 3371 L_3609437D: 3372 esi = MEM32(ecx + 0x4); /* 0x3609437D: mov esi, dword ptr [ecx + 4] */ 3373 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x36094380: cmp ecx, dword ptr [esi + 8] */ 3374 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3375 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3376 _flag_k = FK_CMP; 3377 if (CMP_NE(_flag_a, _flag_b)) goto L_3609438A; /* 0x36094383: jne 0x3609438a */ 3378 L_36094385: 3379 MEM32(esi + 0x8) = edx; /* 0x36094385: mov dword ptr [esi + 8], edx */ 3380 goto L_3609438C; /* 0x36094388: jmp 0x3609438c */ 3381 L_3609438A: 3382 MEM32(esi) = edx; /* 0x3609438A: mov dword ptr [esi], edx */ 3383 L_3609438C: 3384 MEM32(edx + 0x8) = ecx; /* 0x3609438C: mov dword ptr [edx + 8], ecx */ 3385 L_3609438F: 3386 MEM32(ecx + 0x4) = edx; /* 0x3609438F: mov dword ptr [ecx + 4], edx */ 3387 L_36094392: 3388 esi = MEM32(ebp + (-0x4)); /* 0x36094392: mov esi, dword ptr [ebp - 4] */ 3389 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094395: mov byte ptr [eax + 0x24], bl */ 3390 ecx = esi + 0xC; /* 0x36094398: lea ecx, [esi + 0xc] */ 3391 RECOMP_ICALL(0x3610BA00u); /* 0x3609439B: call 0x3610ba00 */ /* not lifted */ 3392 RECOMP_FLAGS_IN(); 3393 PUSH32(esp, esi); /* 0x360943A0: push esi */ 3394 RECOMP_ICALL(0x3615FCC4u); /* 0x360943A1: call 0x3615fcc4 */ /* not lifted */ 3395 RECOMP_FLAGS_IN(); 3396 eax = MEM32(edi + 0x10); /* 0x360943A6: mov eax, dword ptr [edi + 0x10] */ 3397 edx = MEM32(ebp + 0xC); /* 0x360943A9: mov edx, dword ptr [ebp + 0xc] */ 3398 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3399 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3400 esp = esp + 4; /* 0x360943AC: add esp, 4 */ 3401 _flag_k = FK_ADD; 3402 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3403 eax = eax - 1; /* 0x360943AF: dec eax */ 3404 _flag_k = FK_DEC; 3405 MEM32(edi + 0x10) = eax; /* 0x360943B0: mov dword ptr [edi + 0x10], eax */ 3406 eax = MEM32(ebp + 0x8); /* 0x360943B3: mov eax, dword ptr [ebp + 8] */ 3407 edi = POP32_VAL(esp); /* 0x360943B6: pop edi */ 3408 esi = POP32_VAL(esp); /* 0x360943B7: pop esi */ 3409 MEM32(eax) = edx; /* 0x360943B8: mov dword ptr [eax], edx */ 3410 ebx = POP32_VAL(esp); /* 0x360943BA: pop ebx */ 3411 esp = ebp; /* 0x360943BB: mov esp, ebp */ 3412 ebp = POP32_VAL(esp); /* 0x360943BD: pop ebp */ 3413 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x360943BE: ret 8 */ 3414 RECOMP_REGS_OUT(); 3415 } 3416 3417 void sub_360941A0(void) { 3418 int _fpu_cmp = 0; 3419 uint32_t _cf = 0; 3420 int _df = 1; 3421 uint32_t _flag_k = FK_NONE; 3422 uint32_t _flag_a = 0, _flag_b = 0; 3423 uint32_t _itail_tgt = 0; 3424 RECOMP_REGS_LOCALS 3425 RECOMP_ENTER(0x360941A0u); 3426 3427 goto L_360941A0; 3428 L_36094144: 3429 /* cmp MEM8(eax + 0x24), LO8(ebx) */ /* 0x36094144: cmp byte ptr [eax + 0x24], bl */ 3430 _flag_a = (uint32_t)(MEM8(eax + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3431 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3432 _flag_k = FK_NARROW(FK_CMP, 24); 3433 if (CMP_NE(_flag_a, _flag_b)) goto L_36094392; /* 0x36094147: jne 0x36094392 */ 3434 L_3609414D: 3435 edx = MEM32(eax + 0x4); /* 0x3609414D: mov edx, dword ptr [eax + 4] */ 3436 ecx = MEM32(edx); /* 0x36094150: mov ecx, dword ptr [edx] */ 3437 /* cmp eax, ecx */ /* 0x36094152: cmp eax, ecx */ 3438 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 3439 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3440 _flag_k = FK_CMP; 3441 if (CMP_NE(_flag_a, _flag_b)) goto L_360941C4; /* 0x36094154: jne 0x360941c4 */ 3442 L_36094156: 3443 ecx = MEM32(edx + 0x8); /* 0x36094156: mov ecx, dword ptr [edx + 8] */ 3444 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x36094159: mov dl, byte ptr [ecx + 0x24] */ 3445 /* test LO8(edx), LO8(edx) */ /* 0x3609415C: test dl, dl */ 3446 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 3447 _cf = 0; 3448 _flag_k = FK_NARROW(FK_TEST, 24); 3449 if (TEST_NZ(_flag_a, _flag_b)) goto L_360941AB; /* 0x3609415E: jne 0x360941ab */ 3450 L_36094160: 3451 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094160: mov byte ptr [ecx + 0x24], bl */ 3452 edx = MEM32(eax + 0x4); /* 0x36094163: mov edx, dword ptr [eax + 4] */ 3453 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x36094166: mov byte ptr [edx + 0x24], 0 */ 3454 ecx = MEM32(eax + 0x4); /* 0x3609416A: mov ecx, dword ptr [eax + 4] */ 3455 edx = MEM32(ecx + 0x8); /* 0x3609416D: mov edx, dword ptr [ecx + 8] */ 3456 esi = MEM32(edx); /* 0x36094170: mov esi, dword ptr [edx] */ 3457 MEM32(ecx + 0x8) = esi; /* 0x36094172: mov dword ptr [ecx + 8], esi */ 3458 esi = MEM32(edx); /* 0x36094175: mov esi, dword ptr [edx] */ 3459 /* cmp esi, MEM32(edi + 0x8) */ /* 0x36094177: cmp esi, dword ptr [edi + 8] */ 3460 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3461 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3462 _flag_k = FK_CMP; 3463 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609417F; /* 0x3609417A: je 0x3609417f */ 3464 L_3609417C: 3465 MEM32(esi + 0x4) = ecx; /* 0x3609417C: mov dword ptr [esi + 4], ecx */ 3466 L_3609417F: 3467 esi = MEM32(ecx + 0x4); /* 0x3609417F: mov esi, dword ptr [ecx + 4] */ 3468 MEM32(edx + 0x4) = esi; /* 0x36094182: mov dword ptr [edx + 4], esi */ 3469 esi = MEM32(edi + 0x4); /* 0x36094185: mov esi, dword ptr [edi + 4] */ 3470 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x36094188: cmp ecx, dword ptr [esi + 4] */ 3471 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3472 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3473 _flag_k = FK_CMP; 3474 if (CMP_NE(_flag_a, _flag_b)) goto L_36094192; /* 0x3609418B: jne 0x36094192 */ 3475 L_3609418D: 3476 MEM32(esi + 0x4) = edx; /* 0x3609418D: mov dword ptr [esi + 4], edx */ 3477 goto L_360941A0; /* 0x36094190: jmp 0x360941a0 */ 3478 L_36094192: 3479 esi = MEM32(ecx + 0x4); /* 0x36094192: mov esi, dword ptr [ecx + 4] */ 3480 /* cmp ecx, MEM32(esi) */ /* 0x36094195: cmp ecx, dword ptr [esi] */ 3481 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 3482 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3483 _flag_k = FK_CMP; 3484 if (CMP_NE(_flag_a, _flag_b)) goto L_3609419D; /* 0x36094197: jne 0x3609419d */ 3485 L_36094199: 3486 MEM32(esi) = edx; /* 0x36094199: mov dword ptr [esi], edx */ 3487 goto L_360941A0; /* 0x3609419B: jmp 0x360941a0 */ 3488 L_3609419D: 3489 MEM32(esi + 0x8) = edx; /* 0x3609419D: mov dword ptr [esi + 8], edx */ 3490 L_360941A0: 3491 MEM32(edx) = ecx; /* 0x360941A0: mov dword ptr [edx], ecx */ 3492 MEM32(ecx + 0x4) = edx; /* 0x360941A2: mov dword ptr [ecx + 4], edx */ 3493 ecx = MEM32(eax + 0x4); /* 0x360941A5: mov ecx, dword ptr [eax + 4] */ 3494 ecx = MEM32(ecx + 0x8); /* 0x360941A8: mov ecx, dword ptr [ecx + 8] */ 3495 L_360941AB: 3496 edx = MEM32(ecx); /* 0x360941AB: mov edx, dword ptr [ecx] */ 3497 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x360941AD: cmp byte ptr [edx + 0x24], bl */ 3498 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3499 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3500 _flag_k = FK_NARROW(FK_CMP, 24); 3501 if (CMP_NE(_flag_a, _flag_b)) goto L_36094246; /* 0x360941B0: jne 0x36094246 */ 3502 L_360941B6: 3503 edx = MEM32(ecx + 0x8); /* 0x360941B6: mov edx, dword ptr [ecx + 8] */ 3504 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x360941B9: cmp byte ptr [edx + 0x24], bl */ 3505 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3506 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3507 _flag_k = FK_NARROW(FK_CMP, 24); 3508 if (CMP_NE(_flag_a, _flag_b)) goto L_36094246; /* 0x360941BC: jne 0x36094246 */ 3509 L_360941C2: 3510 goto L_3609422E; /* 0x360941C2: jmp 0x3609422e */ 3511 L_360941C4: 3512 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x360941C4: mov dl, byte ptr [ecx + 0x24] */ 3513 /* test LO8(edx), LO8(edx) */ /* 0x360941C7: test dl, dl */ 3514 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 3515 _cf = 0; 3516 _flag_k = FK_NARROW(FK_TEST, 24); 3517 if (TEST_NZ(_flag_a, _flag_b)) goto L_36094217; /* 0x360941C9: jne 0x36094217 */ 3518 L_360941CB: 3519 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360941CB: mov byte ptr [ecx + 0x24], bl */ 3520 ecx = MEM32(eax + 0x4); /* 0x360941CE: mov ecx, dword ptr [eax + 4] */ 3521 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x360941D1: mov byte ptr [ecx + 0x24], 0 */ 3522 ecx = MEM32(eax + 0x4); /* 0x360941D5: mov ecx, dword ptr [eax + 4] */ 3523 edx = MEM32(ecx); /* 0x360941D8: mov edx, dword ptr [ecx] */ 3524 esi = MEM32(edx + 0x8); /* 0x360941DA: mov esi, dword ptr [edx + 8] */ 3525 MEM32(ecx) = esi; /* 0x360941DD: mov dword ptr [ecx], esi */ 3526 esi = MEM32(edx + 0x8); /* 0x360941DF: mov esi, dword ptr [edx + 8] */ 3527 /* cmp esi, MEM32(edi + 0x8) */ /* 0x360941E2: cmp esi, dword ptr [edi + 8] */ 3528 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3529 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3530 _flag_k = FK_CMP; 3531 if (CMP_EQ(_flag_a, _flag_b)) goto L_360941EA; /* 0x360941E5: je 0x360941ea */ 3532 L_360941E7: 3533 MEM32(esi + 0x4) = ecx; /* 0x360941E7: mov dword ptr [esi + 4], ecx */ 3534 L_360941EA: 3535 esi = MEM32(ecx + 0x4); /* 0x360941EA: mov esi, dword ptr [ecx + 4] */ 3536 MEM32(edx + 0x4) = esi; /* 0x360941ED: mov dword ptr [edx + 4], esi */ 3537 esi = MEM32(edi + 0x4); /* 0x360941F0: mov esi, dword ptr [edi + 4] */ 3538 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x360941F3: cmp ecx, dword ptr [esi + 4] */ 3539 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3540 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3541 _flag_k = FK_CMP; 3542 if (CMP_NE(_flag_a, _flag_b)) goto L_360941FD; /* 0x360941F6: jne 0x360941fd */ 3543 L_360941F8: 3544 MEM32(esi + 0x4) = edx; /* 0x360941F8: mov dword ptr [esi + 4], edx */ 3545 goto L_3609420C; /* 0x360941FB: jmp 0x3609420c */ 3546 L_360941FD: 3547 esi = MEM32(ecx + 0x4); /* 0x360941FD: mov esi, dword ptr [ecx + 4] */ 3548 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x36094200: cmp ecx, dword ptr [esi + 8] */ 3549 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3550 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3551 _flag_k = FK_CMP; 3552 if (CMP_NE(_flag_a, _flag_b)) goto L_3609420A; /* 0x36094203: jne 0x3609420a */ 3553 L_36094205: 3554 MEM32(esi + 0x8) = edx; /* 0x36094205: mov dword ptr [esi + 8], edx */ 3555 goto L_3609420C; /* 0x36094208: jmp 0x3609420c */ 3556 L_3609420A: 3557 MEM32(esi) = edx; /* 0x3609420A: mov dword ptr [esi], edx */ 3558 L_3609420C: 3559 MEM32(edx + 0x8) = ecx; /* 0x3609420C: mov dword ptr [edx + 8], ecx */ 3560 MEM32(ecx + 0x4) = edx; /* 0x3609420F: mov dword ptr [ecx + 4], edx */ 3561 edx = MEM32(eax + 0x4); /* 0x36094212: mov edx, dword ptr [eax + 4] */ 3562 ecx = MEM32(edx); /* 0x36094215: mov ecx, dword ptr [edx] */ 3563 L_36094217: 3564 edx = MEM32(ecx + 0x8); /* 0x36094217: mov edx, dword ptr [ecx + 8] */ 3565 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x3609421A: cmp byte ptr [edx + 0x24], bl */ 3566 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3567 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3568 _flag_k = FK_NARROW(FK_CMP, 24); 3569 if (CMP_NE(_flag_a, _flag_b)) goto L_360942F3; /* 0x3609421D: jne 0x360942f3 */ 3570 L_36094223: 3571 edx = MEM32(ecx); /* 0x36094223: mov edx, dword ptr [ecx] */ 3572 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x36094225: cmp byte ptr [edx + 0x24], bl */ 3573 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3574 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3575 _flag_k = FK_NARROW(FK_CMP, 24); 3576 if (CMP_NE(_flag_a, _flag_b)) goto L_360942F3; /* 0x36094228: jne 0x360942f3 */ 3577 L_3609422E: 3578 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x3609422E: mov byte ptr [ecx + 0x24], 0 */ 3579 ecx = MEM32(edi + 0x4); /* 0x36094232: mov ecx, dword ptr [edi + 4] */ 3580 eax = MEM32(eax + 0x4); /* 0x36094235: mov eax, dword ptr [eax + 4] */ 3581 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x36094238: cmp eax, dword ptr [ecx + 4] */ 3582 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 3583 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3584 _flag_k = FK_CMP; 3585 RECOMP_BACKEDGE(); 3586 if (CMP_NE(_flag_a, _flag_b)) goto L_36094144; /* 0x3609423B: jne 0x36094144 */ 3587 L_36094241: 3588 goto L_36094392; /* 0x36094241: jmp 0x36094392 */ 3589 L_36094246: 3590 edx = MEM32(ecx + 0x8); /* 0x36094246: mov edx, dword ptr [ecx + 8] */ 3591 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x36094249: cmp byte ptr [edx + 0x24], bl */ 3592 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3593 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3594 _flag_k = FK_NARROW(FK_CMP, 24); 3595 if (CMP_NE(_flag_a, _flag_b)) goto L_36094297; /* 0x3609424C: jne 0x36094297 */ 3596 L_3609424E: 3597 edx = MEM32(ecx); /* 0x3609424E: mov edx, dword ptr [ecx] */ 3598 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094250: mov byte ptr [edx + 0x24], bl */ 3599 edx = MEM32(ecx); /* 0x36094253: mov edx, dword ptr [ecx] */ 3600 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x36094255: mov byte ptr [ecx + 0x24], 0 */ 3601 esi = MEM32(edx + 0x8); /* 0x36094259: mov esi, dword ptr [edx + 8] */ 3602 MEM32(ecx) = esi; /* 0x3609425C: mov dword ptr [ecx], esi */ 3603 esi = MEM32(edx + 0x8); /* 0x3609425E: mov esi, dword ptr [edx + 8] */ 3604 /* cmp esi, MEM32(edi + 0x8) */ /* 0x36094261: cmp esi, dword ptr [edi + 8] */ 3605 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3606 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3607 _flag_k = FK_CMP; 3608 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094269; /* 0x36094264: je 0x36094269 */ 3609 L_36094266: 3610 MEM32(esi + 0x4) = ecx; /* 0x36094266: mov dword ptr [esi + 4], ecx */ 3611 L_36094269: 3612 esi = MEM32(ecx + 0x4); /* 0x36094269: mov esi, dword ptr [ecx + 4] */ 3613 MEM32(edx + 0x4) = esi; /* 0x3609426C: mov dword ptr [edx + 4], esi */ 3614 esi = MEM32(edi + 0x4); /* 0x3609426F: mov esi, dword ptr [edi + 4] */ 3615 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x36094272: cmp ecx, dword ptr [esi + 4] */ 3616 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3617 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3618 _flag_k = FK_CMP; 3619 if (CMP_NE(_flag_a, _flag_b)) goto L_3609427C; /* 0x36094275: jne 0x3609427c */ 3620 L_36094277: 3621 MEM32(esi + 0x4) = edx; /* 0x36094277: mov dword ptr [esi + 4], edx */ 3622 goto L_3609428B; /* 0x3609427A: jmp 0x3609428b */ 3623 L_3609427C: 3624 esi = MEM32(ecx + 0x4); /* 0x3609427C: mov esi, dword ptr [ecx + 4] */ 3625 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x3609427F: cmp ecx, dword ptr [esi + 8] */ 3626 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3627 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3628 _flag_k = FK_CMP; 3629 if (CMP_NE(_flag_a, _flag_b)) goto L_36094289; /* 0x36094282: jne 0x36094289 */ 3630 L_36094284: 3631 MEM32(esi + 0x8) = edx; /* 0x36094284: mov dword ptr [esi + 8], edx */ 3632 goto L_3609428B; /* 0x36094287: jmp 0x3609428b */ 3633 L_36094289: 3634 MEM32(esi) = edx; /* 0x36094289: mov dword ptr [esi], edx */ 3635 L_3609428B: 3636 MEM32(edx + 0x8) = ecx; /* 0x3609428B: mov dword ptr [edx + 8], ecx */ 3637 MEM32(ecx + 0x4) = edx; /* 0x3609428E: mov dword ptr [ecx + 4], edx */ 3638 ecx = MEM32(eax + 0x4); /* 0x36094291: mov ecx, dword ptr [eax + 4] */ 3639 ecx = MEM32(ecx + 0x8); /* 0x36094294: mov ecx, dword ptr [ecx + 8] */ 3640 L_36094297: 3641 edx = MEM32(eax + 0x4); /* 0x36094297: mov edx, dword ptr [eax + 4] */ 3642 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x3609429A: mov dl, byte ptr [edx + 0x24] */ 3643 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x3609429D: mov byte ptr [ecx + 0x24], dl */ 3644 edx = MEM32(eax + 0x4); /* 0x360942A0: mov edx, dword ptr [eax + 4] */ 3645 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360942A3: mov byte ptr [edx + 0x24], bl */ 3646 ecx = MEM32(ecx + 0x8); /* 0x360942A6: mov ecx, dword ptr [ecx + 8] */ 3647 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360942A9: mov byte ptr [ecx + 0x24], bl */ 3648 ecx = MEM32(eax + 0x4); /* 0x360942AC: mov ecx, dword ptr [eax + 4] */ 3649 edx = MEM32(ecx + 0x8); /* 0x360942AF: mov edx, dword ptr [ecx + 8] */ 3650 esi = MEM32(edx); /* 0x360942B2: mov esi, dword ptr [edx] */ 3651 MEM32(ecx + 0x8) = esi; /* 0x360942B4: mov dword ptr [ecx + 8], esi */ 3652 esi = MEM32(edx); /* 0x360942B7: mov esi, dword ptr [edx] */ 3653 /* cmp esi, MEM32(edi + 0x8) */ /* 0x360942B9: cmp esi, dword ptr [edi + 8] */ 3654 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3655 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3656 _flag_k = FK_CMP; 3657 if (CMP_EQ(_flag_a, _flag_b)) goto L_360942C1; /* 0x360942BC: je 0x360942c1 */ 3658 L_360942BE: 3659 MEM32(esi + 0x4) = ecx; /* 0x360942BE: mov dword ptr [esi + 4], ecx */ 3660 L_360942C1: 3661 esi = MEM32(ecx + 0x4); /* 0x360942C1: mov esi, dword ptr [ecx + 4] */ 3662 MEM32(edx + 0x4) = esi; /* 0x360942C4: mov dword ptr [edx + 4], esi */ 3663 esi = MEM32(edi + 0x4); /* 0x360942C7: mov esi, dword ptr [edi + 4] */ 3664 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x360942CA: cmp ecx, dword ptr [esi + 4] */ 3665 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3666 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3667 _flag_k = FK_CMP; 3668 if (CMP_NE(_flag_a, _flag_b)) goto L_360942D9; /* 0x360942CD: jne 0x360942d9 */ 3669 L_360942CF: 3670 MEM32(esi + 0x4) = edx; /* 0x360942CF: mov dword ptr [esi + 4], edx */ 3671 MEM32(edx) = ecx; /* 0x360942D2: mov dword ptr [edx], ecx */ 3672 goto L_3609438F; /* 0x360942D4: jmp 0x3609438f */ 3673 L_360942D9: 3674 esi = MEM32(ecx + 0x4); /* 0x360942D9: mov esi, dword ptr [ecx + 4] */ 3675 /* cmp ecx, MEM32(esi) */ /* 0x360942DC: cmp ecx, dword ptr [esi] */ 3676 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 3677 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3678 _flag_k = FK_CMP; 3679 if (CMP_NE(_flag_a, _flag_b)) goto L_360942E9; /* 0x360942DE: jne 0x360942e9 */ 3680 L_360942E0: 3681 MEM32(esi) = edx; /* 0x360942E0: mov dword ptr [esi], edx */ 3682 MEM32(edx) = ecx; /* 0x360942E2: mov dword ptr [edx], ecx */ 3683 goto L_3609438F; /* 0x360942E4: jmp 0x3609438f */ 3684 L_360942E9: 3685 MEM32(esi + 0x8) = edx; /* 0x360942E9: mov dword ptr [esi + 8], edx */ 3686 MEM32(edx) = ecx; /* 0x360942EC: mov dword ptr [edx], ecx */ 3687 goto L_3609438F; /* 0x360942EE: jmp 0x3609438f */ 3688 L_360942F3: 3689 edx = MEM32(ecx); /* 0x360942F3: mov edx, dword ptr [ecx] */ 3690 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x360942F5: cmp byte ptr [edx + 0x24], bl */ 3691 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3692 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3693 _flag_k = FK_NARROW(FK_CMP, 24); 3694 if (CMP_NE(_flag_a, _flag_b)) goto L_36094341; /* 0x360942F8: jne 0x36094341 */ 3695 L_360942FA: 3696 edx = MEM32(ecx + 0x8); /* 0x360942FA: mov edx, dword ptr [ecx + 8] */ 3697 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360942FD: mov byte ptr [edx + 0x24], bl */ 3698 edx = MEM32(ecx + 0x8); /* 0x36094300: mov edx, dword ptr [ecx + 8] */ 3699 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x36094303: mov byte ptr [ecx + 0x24], 0 */ 3700 esi = MEM32(edx); /* 0x36094307: mov esi, dword ptr [edx] */ 3701 MEM32(ecx + 0x8) = esi; /* 0x36094309: mov dword ptr [ecx + 8], esi */ 3702 esi = MEM32(edx); /* 0x3609430C: mov esi, dword ptr [edx] */ 3703 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3609430E: cmp esi, dword ptr [edi + 8] */ 3704 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3705 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3706 _flag_k = FK_CMP; 3707 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094316; /* 0x36094311: je 0x36094316 */ 3708 L_36094313: 3709 MEM32(esi + 0x4) = ecx; /* 0x36094313: mov dword ptr [esi + 4], ecx */ 3710 L_36094316: 3711 esi = MEM32(ecx + 0x4); /* 0x36094316: mov esi, dword ptr [ecx + 4] */ 3712 MEM32(edx + 0x4) = esi; /* 0x36094319: mov dword ptr [edx + 4], esi */ 3713 esi = MEM32(edi + 0x4); /* 0x3609431C: mov esi, dword ptr [edi + 4] */ 3714 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x3609431F: cmp ecx, dword ptr [esi + 4] */ 3715 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3716 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3717 _flag_k = FK_CMP; 3718 if (CMP_NE(_flag_a, _flag_b)) goto L_36094329; /* 0x36094322: jne 0x36094329 */ 3719 L_36094324: 3720 MEM32(esi + 0x4) = edx; /* 0x36094324: mov dword ptr [esi + 4], edx */ 3721 goto L_36094337; /* 0x36094327: jmp 0x36094337 */ 3722 L_36094329: 3723 esi = MEM32(ecx + 0x4); /* 0x36094329: mov esi, dword ptr [ecx + 4] */ 3724 /* cmp ecx, MEM32(esi) */ /* 0x3609432C: cmp ecx, dword ptr [esi] */ 3725 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 3726 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3727 _flag_k = FK_CMP; 3728 if (CMP_NE(_flag_a, _flag_b)) goto L_36094334; /* 0x3609432E: jne 0x36094334 */ 3729 L_36094330: 3730 MEM32(esi) = edx; /* 0x36094330: mov dword ptr [esi], edx */ 3731 goto L_36094337; /* 0x36094332: jmp 0x36094337 */ 3732 L_36094334: 3733 MEM32(esi + 0x8) = edx; /* 0x36094334: mov dword ptr [esi + 8], edx */ 3734 L_36094337: 3735 MEM32(edx) = ecx; /* 0x36094337: mov dword ptr [edx], ecx */ 3736 MEM32(ecx + 0x4) = edx; /* 0x36094339: mov dword ptr [ecx + 4], edx */ 3737 ecx = MEM32(eax + 0x4); /* 0x3609433C: mov ecx, dword ptr [eax + 4] */ 3738 ecx = MEM32(ecx); /* 0x3609433F: mov ecx, dword ptr [ecx] */ 3739 L_36094341: 3740 edx = MEM32(eax + 0x4); /* 0x36094341: mov edx, dword ptr [eax + 4] */ 3741 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x36094344: mov dl, byte ptr [edx + 0x24] */ 3742 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x36094347: mov byte ptr [ecx + 0x24], dl */ 3743 edx = MEM32(eax + 0x4); /* 0x3609434A: mov edx, dword ptr [eax + 4] */ 3744 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x3609434D: mov byte ptr [edx + 0x24], bl */ 3745 ecx = MEM32(ecx); /* 0x36094350: mov ecx, dword ptr [ecx] */ 3746 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094352: mov byte ptr [ecx + 0x24], bl */ 3747 ecx = MEM32(eax + 0x4); /* 0x36094355: mov ecx, dword ptr [eax + 4] */ 3748 edx = MEM32(ecx); /* 0x36094358: mov edx, dword ptr [ecx] */ 3749 esi = MEM32(edx + 0x8); /* 0x3609435A: mov esi, dword ptr [edx + 8] */ 3750 MEM32(ecx) = esi; /* 0x3609435D: mov dword ptr [ecx], esi */ 3751 esi = MEM32(edx + 0x8); /* 0x3609435F: mov esi, dword ptr [edx + 8] */ 3752 /* cmp esi, MEM32(edi + 0x8) */ /* 0x36094362: cmp esi, dword ptr [edi + 8] */ 3753 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3754 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3755 _flag_k = FK_CMP; 3756 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609436A; /* 0x36094365: je 0x3609436a */ 3757 L_36094367: 3758 MEM32(esi + 0x4) = ecx; /* 0x36094367: mov dword ptr [esi + 4], ecx */ 3759 L_3609436A: 3760 esi = MEM32(ecx + 0x4); /* 0x3609436A: mov esi, dword ptr [ecx + 4] */ 3761 MEM32(edx + 0x4) = esi; /* 0x3609436D: mov dword ptr [edx + 4], esi */ 3762 esi = MEM32(edi + 0x4); /* 0x36094370: mov esi, dword ptr [edi + 4] */ 3763 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x36094373: cmp ecx, dword ptr [esi + 4] */ 3764 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3765 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3766 _flag_k = FK_CMP; 3767 if (CMP_NE(_flag_a, _flag_b)) goto L_3609437D; /* 0x36094376: jne 0x3609437d */ 3768 L_36094378: 3769 MEM32(esi + 0x4) = edx; /* 0x36094378: mov dword ptr [esi + 4], edx */ 3770 goto L_3609438C; /* 0x3609437B: jmp 0x3609438c */ 3771 L_3609437D: 3772 esi = MEM32(ecx + 0x4); /* 0x3609437D: mov esi, dword ptr [ecx + 4] */ 3773 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x36094380: cmp ecx, dword ptr [esi + 8] */ 3774 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3775 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3776 _flag_k = FK_CMP; 3777 if (CMP_NE(_flag_a, _flag_b)) goto L_3609438A; /* 0x36094383: jne 0x3609438a */ 3778 L_36094385: 3779 MEM32(esi + 0x8) = edx; /* 0x36094385: mov dword ptr [esi + 8], edx */ 3780 goto L_3609438C; /* 0x36094388: jmp 0x3609438c */ 3781 L_3609438A: 3782 MEM32(esi) = edx; /* 0x3609438A: mov dword ptr [esi], edx */ 3783 L_3609438C: 3784 MEM32(edx + 0x8) = ecx; /* 0x3609438C: mov dword ptr [edx + 8], ecx */ 3785 L_3609438F: 3786 MEM32(ecx + 0x4) = edx; /* 0x3609438F: mov dword ptr [ecx + 4], edx */ 3787 L_36094392: 3788 esi = MEM32(ebp + (-0x4)); /* 0x36094392: mov esi, dword ptr [ebp - 4] */ 3789 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094395: mov byte ptr [eax + 0x24], bl */ 3790 ecx = esi + 0xC; /* 0x36094398: lea ecx, [esi + 0xc] */ 3791 RECOMP_ICALL(0x3610BA00u); /* 0x3609439B: call 0x3610ba00 */ /* not lifted */ 3792 RECOMP_FLAGS_IN(); 3793 PUSH32(esp, esi); /* 0x360943A0: push esi */ 3794 RECOMP_ICALL(0x3615FCC4u); /* 0x360943A1: call 0x3615fcc4 */ /* not lifted */ 3795 RECOMP_FLAGS_IN(); 3796 eax = MEM32(edi + 0x10); /* 0x360943A6: mov eax, dword ptr [edi + 0x10] */ 3797 edx = MEM32(ebp + 0xC); /* 0x360943A9: mov edx, dword ptr [ebp + 0xc] */ 3798 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 3799 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 3800 esp = esp + 4; /* 0x360943AC: add esp, 4 */ 3801 _flag_k = FK_ADD; 3802 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 3803 eax = eax - 1; /* 0x360943AF: dec eax */ 3804 _flag_k = FK_DEC; 3805 MEM32(edi + 0x10) = eax; /* 0x360943B0: mov dword ptr [edi + 0x10], eax */ 3806 eax = MEM32(ebp + 0x8); /* 0x360943B3: mov eax, dword ptr [ebp + 8] */ 3807 edi = POP32_VAL(esp); /* 0x360943B6: pop edi */ 3808 esi = POP32_VAL(esp); /* 0x360943B7: pop esi */ 3809 MEM32(eax) = edx; /* 0x360943B8: mov dword ptr [eax], edx */ 3810 ebx = POP32_VAL(esp); /* 0x360943BA: pop ebx */ 3811 esp = ebp; /* 0x360943BB: mov esp, ebp */ 3812 ebp = POP32_VAL(esp); /* 0x360943BD: pop ebp */ 3813 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x360943BE: ret 8 */ 3814 RECOMP_REGS_OUT(); 3815 } 3816 3817 void sub_360941AB(void) { 3818 int _fpu_cmp = 0; 3819 uint32_t _cf = 0; 3820 int _df = 1; 3821 uint32_t _flag_k = FK_NONE; 3822 uint32_t _flag_a = 0, _flag_b = 0; 3823 uint32_t _itail_tgt = 0; 3824 RECOMP_REGS_LOCALS 3825 RECOMP_ENTER(0x360941ABu); 3826 3827 goto L_360941AB; 3828 L_36094144: 3829 /* cmp MEM8(eax + 0x24), LO8(ebx) */ /* 0x36094144: cmp byte ptr [eax + 0x24], bl */ 3830 _flag_a = (uint32_t)(MEM8(eax + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3831 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3832 _flag_k = FK_NARROW(FK_CMP, 24); 3833 if (CMP_NE(_flag_a, _flag_b)) goto L_36094392; /* 0x36094147: jne 0x36094392 */ 3834 L_3609414D: 3835 edx = MEM32(eax + 0x4); /* 0x3609414D: mov edx, dword ptr [eax + 4] */ 3836 ecx = MEM32(edx); /* 0x36094150: mov ecx, dword ptr [edx] */ 3837 /* cmp eax, ecx */ /* 0x36094152: cmp eax, ecx */ 3838 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 3839 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3840 _flag_k = FK_CMP; 3841 if (CMP_NE(_flag_a, _flag_b)) goto L_360941C4; /* 0x36094154: jne 0x360941c4 */ 3842 L_36094156: 3843 ecx = MEM32(edx + 0x8); /* 0x36094156: mov ecx, dword ptr [edx + 8] */ 3844 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x36094159: mov dl, byte ptr [ecx + 0x24] */ 3845 /* test LO8(edx), LO8(edx) */ /* 0x3609415C: test dl, dl */ 3846 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 3847 _cf = 0; 3848 _flag_k = FK_NARROW(FK_TEST, 24); 3849 if (TEST_NZ(_flag_a, _flag_b)) goto L_360941AB; /* 0x3609415E: jne 0x360941ab */ 3850 L_36094160: 3851 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094160: mov byte ptr [ecx + 0x24], bl */ 3852 edx = MEM32(eax + 0x4); /* 0x36094163: mov edx, dword ptr [eax + 4] */ 3853 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x36094166: mov byte ptr [edx + 0x24], 0 */ 3854 ecx = MEM32(eax + 0x4); /* 0x3609416A: mov ecx, dword ptr [eax + 4] */ 3855 edx = MEM32(ecx + 0x8); /* 0x3609416D: mov edx, dword ptr [ecx + 8] */ 3856 esi = MEM32(edx); /* 0x36094170: mov esi, dword ptr [edx] */ 3857 MEM32(ecx + 0x8) = esi; /* 0x36094172: mov dword ptr [ecx + 8], esi */ 3858 esi = MEM32(edx); /* 0x36094175: mov esi, dword ptr [edx] */ 3859 /* cmp esi, MEM32(edi + 0x8) */ /* 0x36094177: cmp esi, dword ptr [edi + 8] */ 3860 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3861 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3862 _flag_k = FK_CMP; 3863 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609417F; /* 0x3609417A: je 0x3609417f */ 3864 L_3609417C: 3865 MEM32(esi + 0x4) = ecx; /* 0x3609417C: mov dword ptr [esi + 4], ecx */ 3866 L_3609417F: 3867 esi = MEM32(ecx + 0x4); /* 0x3609417F: mov esi, dword ptr [ecx + 4] */ 3868 MEM32(edx + 0x4) = esi; /* 0x36094182: mov dword ptr [edx + 4], esi */ 3869 esi = MEM32(edi + 0x4); /* 0x36094185: mov esi, dword ptr [edi + 4] */ 3870 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x36094188: cmp ecx, dword ptr [esi + 4] */ 3871 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3872 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3873 _flag_k = FK_CMP; 3874 if (CMP_NE(_flag_a, _flag_b)) goto L_36094192; /* 0x3609418B: jne 0x36094192 */ 3875 L_3609418D: 3876 MEM32(esi + 0x4) = edx; /* 0x3609418D: mov dword ptr [esi + 4], edx */ 3877 goto L_360941A0; /* 0x36094190: jmp 0x360941a0 */ 3878 L_36094192: 3879 esi = MEM32(ecx + 0x4); /* 0x36094192: mov esi, dword ptr [ecx + 4] */ 3880 /* cmp ecx, MEM32(esi) */ /* 0x36094195: cmp ecx, dword ptr [esi] */ 3881 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 3882 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3883 _flag_k = FK_CMP; 3884 if (CMP_NE(_flag_a, _flag_b)) goto L_3609419D; /* 0x36094197: jne 0x3609419d */ 3885 L_36094199: 3886 MEM32(esi) = edx; /* 0x36094199: mov dword ptr [esi], edx */ 3887 goto L_360941A0; /* 0x3609419B: jmp 0x360941a0 */ 3888 L_3609419D: 3889 MEM32(esi + 0x8) = edx; /* 0x3609419D: mov dword ptr [esi + 8], edx */ 3890 L_360941A0: 3891 MEM32(edx) = ecx; /* 0x360941A0: mov dword ptr [edx], ecx */ 3892 MEM32(ecx + 0x4) = edx; /* 0x360941A2: mov dword ptr [ecx + 4], edx */ 3893 ecx = MEM32(eax + 0x4); /* 0x360941A5: mov ecx, dword ptr [eax + 4] */ 3894 ecx = MEM32(ecx + 0x8); /* 0x360941A8: mov ecx, dword ptr [ecx + 8] */ 3895 L_360941AB: 3896 edx = MEM32(ecx); /* 0x360941AB: mov edx, dword ptr [ecx] */ 3897 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x360941AD: cmp byte ptr [edx + 0x24], bl */ 3898 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3899 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3900 _flag_k = FK_NARROW(FK_CMP, 24); 3901 if (CMP_NE(_flag_a, _flag_b)) goto L_36094246; /* 0x360941B0: jne 0x36094246 */ 3902 L_360941B6: 3903 edx = MEM32(ecx + 0x8); /* 0x360941B6: mov edx, dword ptr [ecx + 8] */ 3904 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x360941B9: cmp byte ptr [edx + 0x24], bl */ 3905 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3906 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3907 _flag_k = FK_NARROW(FK_CMP, 24); 3908 if (CMP_NE(_flag_a, _flag_b)) goto L_36094246; /* 0x360941BC: jne 0x36094246 */ 3909 L_360941C2: 3910 goto L_3609422E; /* 0x360941C2: jmp 0x3609422e */ 3911 L_360941C4: 3912 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x360941C4: mov dl, byte ptr [ecx + 0x24] */ 3913 /* test LO8(edx), LO8(edx) */ /* 0x360941C7: test dl, dl */ 3914 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 3915 _cf = 0; 3916 _flag_k = FK_NARROW(FK_TEST, 24); 3917 if (TEST_NZ(_flag_a, _flag_b)) goto L_36094217; /* 0x360941C9: jne 0x36094217 */ 3918 L_360941CB: 3919 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360941CB: mov byte ptr [ecx + 0x24], bl */ 3920 ecx = MEM32(eax + 0x4); /* 0x360941CE: mov ecx, dword ptr [eax + 4] */ 3921 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x360941D1: mov byte ptr [ecx + 0x24], 0 */ 3922 ecx = MEM32(eax + 0x4); /* 0x360941D5: mov ecx, dword ptr [eax + 4] */ 3923 edx = MEM32(ecx); /* 0x360941D8: mov edx, dword ptr [ecx] */ 3924 esi = MEM32(edx + 0x8); /* 0x360941DA: mov esi, dword ptr [edx + 8] */ 3925 MEM32(ecx) = esi; /* 0x360941DD: mov dword ptr [ecx], esi */ 3926 esi = MEM32(edx + 0x8); /* 0x360941DF: mov esi, dword ptr [edx + 8] */ 3927 /* cmp esi, MEM32(edi + 0x8) */ /* 0x360941E2: cmp esi, dword ptr [edi + 8] */ 3928 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 3929 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3930 _flag_k = FK_CMP; 3931 if (CMP_EQ(_flag_a, _flag_b)) goto L_360941EA; /* 0x360941E5: je 0x360941ea */ 3932 L_360941E7: 3933 MEM32(esi + 0x4) = ecx; /* 0x360941E7: mov dword ptr [esi + 4], ecx */ 3934 L_360941EA: 3935 esi = MEM32(ecx + 0x4); /* 0x360941EA: mov esi, dword ptr [ecx + 4] */ 3936 MEM32(edx + 0x4) = esi; /* 0x360941ED: mov dword ptr [edx + 4], esi */ 3937 esi = MEM32(edi + 0x4); /* 0x360941F0: mov esi, dword ptr [edi + 4] */ 3938 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x360941F3: cmp ecx, dword ptr [esi + 4] */ 3939 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 3940 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3941 _flag_k = FK_CMP; 3942 if (CMP_NE(_flag_a, _flag_b)) goto L_360941FD; /* 0x360941F6: jne 0x360941fd */ 3943 L_360941F8: 3944 MEM32(esi + 0x4) = edx; /* 0x360941F8: mov dword ptr [esi + 4], edx */ 3945 goto L_3609420C; /* 0x360941FB: jmp 0x3609420c */ 3946 L_360941FD: 3947 esi = MEM32(ecx + 0x4); /* 0x360941FD: mov esi, dword ptr [ecx + 4] */ 3948 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x36094200: cmp ecx, dword ptr [esi + 8] */ 3949 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 3950 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3951 _flag_k = FK_CMP; 3952 if (CMP_NE(_flag_a, _flag_b)) goto L_3609420A; /* 0x36094203: jne 0x3609420a */ 3953 L_36094205: 3954 MEM32(esi + 0x8) = edx; /* 0x36094205: mov dword ptr [esi + 8], edx */ 3955 goto L_3609420C; /* 0x36094208: jmp 0x3609420c */ 3956 L_3609420A: 3957 MEM32(esi) = edx; /* 0x3609420A: mov dword ptr [esi], edx */ 3958 L_3609420C: 3959 MEM32(edx + 0x8) = ecx; /* 0x3609420C: mov dword ptr [edx + 8], ecx */ 3960 MEM32(ecx + 0x4) = edx; /* 0x3609420F: mov dword ptr [ecx + 4], edx */ 3961 edx = MEM32(eax + 0x4); /* 0x36094212: mov edx, dword ptr [eax + 4] */ 3962 ecx = MEM32(edx); /* 0x36094215: mov ecx, dword ptr [edx] */ 3963 L_36094217: 3964 edx = MEM32(ecx + 0x8); /* 0x36094217: mov edx, dword ptr [ecx + 8] */ 3965 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x3609421A: cmp byte ptr [edx + 0x24], bl */ 3966 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3967 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3968 _flag_k = FK_NARROW(FK_CMP, 24); 3969 if (CMP_NE(_flag_a, _flag_b)) goto L_360942F3; /* 0x3609421D: jne 0x360942f3 */ 3970 L_36094223: 3971 edx = MEM32(ecx); /* 0x36094223: mov edx, dword ptr [ecx] */ 3972 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x36094225: cmp byte ptr [edx + 0x24], bl */ 3973 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3974 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3975 _flag_k = FK_NARROW(FK_CMP, 24); 3976 if (CMP_NE(_flag_a, _flag_b)) goto L_360942F3; /* 0x36094228: jne 0x360942f3 */ 3977 L_3609422E: 3978 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x3609422E: mov byte ptr [ecx + 0x24], 0 */ 3979 ecx = MEM32(edi + 0x4); /* 0x36094232: mov ecx, dword ptr [edi + 4] */ 3980 eax = MEM32(eax + 0x4); /* 0x36094235: mov eax, dword ptr [eax + 4] */ 3981 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x36094238: cmp eax, dword ptr [ecx + 4] */ 3982 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 3983 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3984 _flag_k = FK_CMP; 3985 RECOMP_BACKEDGE(); 3986 if (CMP_NE(_flag_a, _flag_b)) goto L_36094144; /* 0x3609423B: jne 0x36094144 */ 3987 L_36094241: 3988 goto L_36094392; /* 0x36094241: jmp 0x36094392 */ 3989 L_36094246: 3990 edx = MEM32(ecx + 0x8); /* 0x36094246: mov edx, dword ptr [ecx + 8] */ 3991 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x36094249: cmp byte ptr [edx + 0x24], bl */ 3992 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 3993 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 3994 _flag_k = FK_NARROW(FK_CMP, 24); 3995 if (CMP_NE(_flag_a, _flag_b)) goto L_36094297; /* 0x3609424C: jne 0x36094297 */ 3996 L_3609424E: 3997 edx = MEM32(ecx); /* 0x3609424E: mov edx, dword ptr [ecx] */ 3998 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094250: mov byte ptr [edx + 0x24], bl */ 3999 edx = MEM32(ecx); /* 0x36094253: mov edx, dword ptr [ecx] */ 4000 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x36094255: mov byte ptr [ecx + 0x24], 0 */ 4001 esi = MEM32(edx + 0x8); /* 0x36094259: mov esi, dword ptr [edx + 8] */ 4002 MEM32(ecx) = esi; /* 0x3609425C: mov dword ptr [ecx], esi */ 4003 esi = MEM32(edx + 0x8); /* 0x3609425E: mov esi, dword ptr [edx + 8] */ 4004 /* cmp esi, MEM32(edi + 0x8) */ /* 0x36094261: cmp esi, dword ptr [edi + 8] */ 4005 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4006 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4007 _flag_k = FK_CMP; 4008 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094269; /* 0x36094264: je 0x36094269 */ 4009 L_36094266: 4010 MEM32(esi + 0x4) = ecx; /* 0x36094266: mov dword ptr [esi + 4], ecx */ 4011 L_36094269: 4012 esi = MEM32(ecx + 0x4); /* 0x36094269: mov esi, dword ptr [ecx + 4] */ 4013 MEM32(edx + 0x4) = esi; /* 0x3609426C: mov dword ptr [edx + 4], esi */ 4014 esi = MEM32(edi + 0x4); /* 0x3609426F: mov esi, dword ptr [edi + 4] */ 4015 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x36094272: cmp ecx, dword ptr [esi + 4] */ 4016 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4017 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4018 _flag_k = FK_CMP; 4019 if (CMP_NE(_flag_a, _flag_b)) goto L_3609427C; /* 0x36094275: jne 0x3609427c */ 4020 L_36094277: 4021 MEM32(esi + 0x4) = edx; /* 0x36094277: mov dword ptr [esi + 4], edx */ 4022 goto L_3609428B; /* 0x3609427A: jmp 0x3609428b */ 4023 L_3609427C: 4024 esi = MEM32(ecx + 0x4); /* 0x3609427C: mov esi, dword ptr [ecx + 4] */ 4025 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x3609427F: cmp ecx, dword ptr [esi + 8] */ 4026 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4027 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4028 _flag_k = FK_CMP; 4029 if (CMP_NE(_flag_a, _flag_b)) goto L_36094289; /* 0x36094282: jne 0x36094289 */ 4030 L_36094284: 4031 MEM32(esi + 0x8) = edx; /* 0x36094284: mov dword ptr [esi + 8], edx */ 4032 goto L_3609428B; /* 0x36094287: jmp 0x3609428b */ 4033 L_36094289: 4034 MEM32(esi) = edx; /* 0x36094289: mov dword ptr [esi], edx */ 4035 L_3609428B: 4036 MEM32(edx + 0x8) = ecx; /* 0x3609428B: mov dword ptr [edx + 8], ecx */ 4037 MEM32(ecx + 0x4) = edx; /* 0x3609428E: mov dword ptr [ecx + 4], edx */ 4038 ecx = MEM32(eax + 0x4); /* 0x36094291: mov ecx, dword ptr [eax + 4] */ 4039 ecx = MEM32(ecx + 0x8); /* 0x36094294: mov ecx, dword ptr [ecx + 8] */ 4040 L_36094297: 4041 edx = MEM32(eax + 0x4); /* 0x36094297: mov edx, dword ptr [eax + 4] */ 4042 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x3609429A: mov dl, byte ptr [edx + 0x24] */ 4043 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x3609429D: mov byte ptr [ecx + 0x24], dl */ 4044 edx = MEM32(eax + 0x4); /* 0x360942A0: mov edx, dword ptr [eax + 4] */ 4045 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360942A3: mov byte ptr [edx + 0x24], bl */ 4046 ecx = MEM32(ecx + 0x8); /* 0x360942A6: mov ecx, dword ptr [ecx + 8] */ 4047 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360942A9: mov byte ptr [ecx + 0x24], bl */ 4048 ecx = MEM32(eax + 0x4); /* 0x360942AC: mov ecx, dword ptr [eax + 4] */ 4049 edx = MEM32(ecx + 0x8); /* 0x360942AF: mov edx, dword ptr [ecx + 8] */ 4050 esi = MEM32(edx); /* 0x360942B2: mov esi, dword ptr [edx] */ 4051 MEM32(ecx + 0x8) = esi; /* 0x360942B4: mov dword ptr [ecx + 8], esi */ 4052 esi = MEM32(edx); /* 0x360942B7: mov esi, dword ptr [edx] */ 4053 /* cmp esi, MEM32(edi + 0x8) */ /* 0x360942B9: cmp esi, dword ptr [edi + 8] */ 4054 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4055 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4056 _flag_k = FK_CMP; 4057 if (CMP_EQ(_flag_a, _flag_b)) goto L_360942C1; /* 0x360942BC: je 0x360942c1 */ 4058 L_360942BE: 4059 MEM32(esi + 0x4) = ecx; /* 0x360942BE: mov dword ptr [esi + 4], ecx */ 4060 L_360942C1: 4061 esi = MEM32(ecx + 0x4); /* 0x360942C1: mov esi, dword ptr [ecx + 4] */ 4062 MEM32(edx + 0x4) = esi; /* 0x360942C4: mov dword ptr [edx + 4], esi */ 4063 esi = MEM32(edi + 0x4); /* 0x360942C7: mov esi, dword ptr [edi + 4] */ 4064 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x360942CA: cmp ecx, dword ptr [esi + 4] */ 4065 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4066 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4067 _flag_k = FK_CMP; 4068 if (CMP_NE(_flag_a, _flag_b)) goto L_360942D9; /* 0x360942CD: jne 0x360942d9 */ 4069 L_360942CF: 4070 MEM32(esi + 0x4) = edx; /* 0x360942CF: mov dword ptr [esi + 4], edx */ 4071 MEM32(edx) = ecx; /* 0x360942D2: mov dword ptr [edx], ecx */ 4072 goto L_3609438F; /* 0x360942D4: jmp 0x3609438f */ 4073 L_360942D9: 4074 esi = MEM32(ecx + 0x4); /* 0x360942D9: mov esi, dword ptr [ecx + 4] */ 4075 /* cmp ecx, MEM32(esi) */ /* 0x360942DC: cmp ecx, dword ptr [esi] */ 4076 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 4077 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4078 _flag_k = FK_CMP; 4079 if (CMP_NE(_flag_a, _flag_b)) goto L_360942E9; /* 0x360942DE: jne 0x360942e9 */ 4080 L_360942E0: 4081 MEM32(esi) = edx; /* 0x360942E0: mov dword ptr [esi], edx */ 4082 MEM32(edx) = ecx; /* 0x360942E2: mov dword ptr [edx], ecx */ 4083 goto L_3609438F; /* 0x360942E4: jmp 0x3609438f */ 4084 L_360942E9: 4085 MEM32(esi + 0x8) = edx; /* 0x360942E9: mov dword ptr [esi + 8], edx */ 4086 MEM32(edx) = ecx; /* 0x360942EC: mov dword ptr [edx], ecx */ 4087 goto L_3609438F; /* 0x360942EE: jmp 0x3609438f */ 4088 L_360942F3: 4089 edx = MEM32(ecx); /* 0x360942F3: mov edx, dword ptr [ecx] */ 4090 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x360942F5: cmp byte ptr [edx + 0x24], bl */ 4091 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4092 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4093 _flag_k = FK_NARROW(FK_CMP, 24); 4094 if (CMP_NE(_flag_a, _flag_b)) goto L_36094341; /* 0x360942F8: jne 0x36094341 */ 4095 L_360942FA: 4096 edx = MEM32(ecx + 0x8); /* 0x360942FA: mov edx, dword ptr [ecx + 8] */ 4097 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360942FD: mov byte ptr [edx + 0x24], bl */ 4098 edx = MEM32(ecx + 0x8); /* 0x36094300: mov edx, dword ptr [ecx + 8] */ 4099 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x36094303: mov byte ptr [ecx + 0x24], 0 */ 4100 esi = MEM32(edx); /* 0x36094307: mov esi, dword ptr [edx] */ 4101 MEM32(ecx + 0x8) = esi; /* 0x36094309: mov dword ptr [ecx + 8], esi */ 4102 esi = MEM32(edx); /* 0x3609430C: mov esi, dword ptr [edx] */ 4103 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3609430E: cmp esi, dword ptr [edi + 8] */ 4104 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4105 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4106 _flag_k = FK_CMP; 4107 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094316; /* 0x36094311: je 0x36094316 */ 4108 L_36094313: 4109 MEM32(esi + 0x4) = ecx; /* 0x36094313: mov dword ptr [esi + 4], ecx */ 4110 L_36094316: 4111 esi = MEM32(ecx + 0x4); /* 0x36094316: mov esi, dword ptr [ecx + 4] */ 4112 MEM32(edx + 0x4) = esi; /* 0x36094319: mov dword ptr [edx + 4], esi */ 4113 esi = MEM32(edi + 0x4); /* 0x3609431C: mov esi, dword ptr [edi + 4] */ 4114 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x3609431F: cmp ecx, dword ptr [esi + 4] */ 4115 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4116 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4117 _flag_k = FK_CMP; 4118 if (CMP_NE(_flag_a, _flag_b)) goto L_36094329; /* 0x36094322: jne 0x36094329 */ 4119 L_36094324: 4120 MEM32(esi + 0x4) = edx; /* 0x36094324: mov dword ptr [esi + 4], edx */ 4121 goto L_36094337; /* 0x36094327: jmp 0x36094337 */ 4122 L_36094329: 4123 esi = MEM32(ecx + 0x4); /* 0x36094329: mov esi, dword ptr [ecx + 4] */ 4124 /* cmp ecx, MEM32(esi) */ /* 0x3609432C: cmp ecx, dword ptr [esi] */ 4125 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 4126 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4127 _flag_k = FK_CMP; 4128 if (CMP_NE(_flag_a, _flag_b)) goto L_36094334; /* 0x3609432E: jne 0x36094334 */ 4129 L_36094330: 4130 MEM32(esi) = edx; /* 0x36094330: mov dword ptr [esi], edx */ 4131 goto L_36094337; /* 0x36094332: jmp 0x36094337 */ 4132 L_36094334: 4133 MEM32(esi + 0x8) = edx; /* 0x36094334: mov dword ptr [esi + 8], edx */ 4134 L_36094337: 4135 MEM32(edx) = ecx; /* 0x36094337: mov dword ptr [edx], ecx */ 4136 MEM32(ecx + 0x4) = edx; /* 0x36094339: mov dword ptr [ecx + 4], edx */ 4137 ecx = MEM32(eax + 0x4); /* 0x3609433C: mov ecx, dword ptr [eax + 4] */ 4138 ecx = MEM32(ecx); /* 0x3609433F: mov ecx, dword ptr [ecx] */ 4139 L_36094341: 4140 edx = MEM32(eax + 0x4); /* 0x36094341: mov edx, dword ptr [eax + 4] */ 4141 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x36094344: mov dl, byte ptr [edx + 0x24] */ 4142 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x36094347: mov byte ptr [ecx + 0x24], dl */ 4143 edx = MEM32(eax + 0x4); /* 0x3609434A: mov edx, dword ptr [eax + 4] */ 4144 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x3609434D: mov byte ptr [edx + 0x24], bl */ 4145 ecx = MEM32(ecx); /* 0x36094350: mov ecx, dword ptr [ecx] */ 4146 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094352: mov byte ptr [ecx + 0x24], bl */ 4147 ecx = MEM32(eax + 0x4); /* 0x36094355: mov ecx, dword ptr [eax + 4] */ 4148 edx = MEM32(ecx); /* 0x36094358: mov edx, dword ptr [ecx] */ 4149 esi = MEM32(edx + 0x8); /* 0x3609435A: mov esi, dword ptr [edx + 8] */ 4150 MEM32(ecx) = esi; /* 0x3609435D: mov dword ptr [ecx], esi */ 4151 esi = MEM32(edx + 0x8); /* 0x3609435F: mov esi, dword ptr [edx + 8] */ 4152 /* cmp esi, MEM32(edi + 0x8) */ /* 0x36094362: cmp esi, dword ptr [edi + 8] */ 4153 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4154 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4155 _flag_k = FK_CMP; 4156 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609436A; /* 0x36094365: je 0x3609436a */ 4157 L_36094367: 4158 MEM32(esi + 0x4) = ecx; /* 0x36094367: mov dword ptr [esi + 4], ecx */ 4159 L_3609436A: 4160 esi = MEM32(ecx + 0x4); /* 0x3609436A: mov esi, dword ptr [ecx + 4] */ 4161 MEM32(edx + 0x4) = esi; /* 0x3609436D: mov dword ptr [edx + 4], esi */ 4162 esi = MEM32(edi + 0x4); /* 0x36094370: mov esi, dword ptr [edi + 4] */ 4163 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x36094373: cmp ecx, dword ptr [esi + 4] */ 4164 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4165 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4166 _flag_k = FK_CMP; 4167 if (CMP_NE(_flag_a, _flag_b)) goto L_3609437D; /* 0x36094376: jne 0x3609437d */ 4168 L_36094378: 4169 MEM32(esi + 0x4) = edx; /* 0x36094378: mov dword ptr [esi + 4], edx */ 4170 goto L_3609438C; /* 0x3609437B: jmp 0x3609438c */ 4171 L_3609437D: 4172 esi = MEM32(ecx + 0x4); /* 0x3609437D: mov esi, dword ptr [ecx + 4] */ 4173 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x36094380: cmp ecx, dword ptr [esi + 8] */ 4174 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4175 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4176 _flag_k = FK_CMP; 4177 if (CMP_NE(_flag_a, _flag_b)) goto L_3609438A; /* 0x36094383: jne 0x3609438a */ 4178 L_36094385: 4179 MEM32(esi + 0x8) = edx; /* 0x36094385: mov dword ptr [esi + 8], edx */ 4180 goto L_3609438C; /* 0x36094388: jmp 0x3609438c */ 4181 L_3609438A: 4182 MEM32(esi) = edx; /* 0x3609438A: mov dword ptr [esi], edx */ 4183 L_3609438C: 4184 MEM32(edx + 0x8) = ecx; /* 0x3609438C: mov dword ptr [edx + 8], ecx */ 4185 L_3609438F: 4186 MEM32(ecx + 0x4) = edx; /* 0x3609438F: mov dword ptr [ecx + 4], edx */ 4187 L_36094392: 4188 esi = MEM32(ebp + (-0x4)); /* 0x36094392: mov esi, dword ptr [ebp - 4] */ 4189 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094395: mov byte ptr [eax + 0x24], bl */ 4190 ecx = esi + 0xC; /* 0x36094398: lea ecx, [esi + 0xc] */ 4191 RECOMP_ICALL(0x3610BA00u); /* 0x3609439B: call 0x3610ba00 */ /* not lifted */ 4192 RECOMP_FLAGS_IN(); 4193 PUSH32(esp, esi); /* 0x360943A0: push esi */ 4194 RECOMP_ICALL(0x3615FCC4u); /* 0x360943A1: call 0x3615fcc4 */ /* not lifted */ 4195 RECOMP_FLAGS_IN(); 4196 eax = MEM32(edi + 0x10); /* 0x360943A6: mov eax, dword ptr [edi + 0x10] */ 4197 edx = MEM32(ebp + 0xC); /* 0x360943A9: mov edx, dword ptr [ebp + 0xc] */ 4198 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4199 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4200 esp = esp + 4; /* 0x360943AC: add esp, 4 */ 4201 _flag_k = FK_ADD; 4202 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 4203 eax = eax - 1; /* 0x360943AF: dec eax */ 4204 _flag_k = FK_DEC; 4205 MEM32(edi + 0x10) = eax; /* 0x360943B0: mov dword ptr [edi + 0x10], eax */ 4206 eax = MEM32(ebp + 0x8); /* 0x360943B3: mov eax, dword ptr [ebp + 8] */ 4207 edi = POP32_VAL(esp); /* 0x360943B6: pop edi */ 4208 esi = POP32_VAL(esp); /* 0x360943B7: pop esi */ 4209 MEM32(eax) = edx; /* 0x360943B8: mov dword ptr [eax], edx */ 4210 ebx = POP32_VAL(esp); /* 0x360943BA: pop ebx */ 4211 esp = ebp; /* 0x360943BB: mov esp, ebp */ 4212 ebp = POP32_VAL(esp); /* 0x360943BD: pop ebp */ 4213 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x360943BE: ret 8 */ 4214 RECOMP_REGS_OUT(); 4215 } 4216 4217 void sub_360941C4(void) { 4218 int _fpu_cmp = 0; 4219 uint32_t _cf = 0; 4220 int _df = 1; 4221 uint32_t _flag_k = FK_NONE; 4222 uint32_t _flag_a = 0, _flag_b = 0; 4223 uint32_t _itail_tgt = 0; 4224 RECOMP_REGS_LOCALS 4225 RECOMP_ENTER(0x360941C4u); 4226 4227 goto L_360941C4; 4228 L_36094144: 4229 /* cmp MEM8(eax + 0x24), LO8(ebx) */ /* 0x36094144: cmp byte ptr [eax + 0x24], bl */ 4230 _flag_a = (uint32_t)(MEM8(eax + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4231 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4232 _flag_k = FK_NARROW(FK_CMP, 24); 4233 if (CMP_NE(_flag_a, _flag_b)) goto L_36094392; /* 0x36094147: jne 0x36094392 */ 4234 L_3609414D: 4235 edx = MEM32(eax + 0x4); /* 0x3609414D: mov edx, dword ptr [eax + 4] */ 4236 ecx = MEM32(edx); /* 0x36094150: mov ecx, dword ptr [edx] */ 4237 /* cmp eax, ecx */ /* 0x36094152: cmp eax, ecx */ 4238 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 4239 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4240 _flag_k = FK_CMP; 4241 if (CMP_NE(_flag_a, _flag_b)) goto L_360941C4; /* 0x36094154: jne 0x360941c4 */ 4242 L_36094156: 4243 ecx = MEM32(edx + 0x8); /* 0x36094156: mov ecx, dword ptr [edx + 8] */ 4244 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x36094159: mov dl, byte ptr [ecx + 0x24] */ 4245 /* test LO8(edx), LO8(edx) */ /* 0x3609415C: test dl, dl */ 4246 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 4247 _cf = 0; 4248 _flag_k = FK_NARROW(FK_TEST, 24); 4249 if (TEST_NZ(_flag_a, _flag_b)) goto L_360941AB; /* 0x3609415E: jne 0x360941ab */ 4250 L_36094160: 4251 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094160: mov byte ptr [ecx + 0x24], bl */ 4252 edx = MEM32(eax + 0x4); /* 0x36094163: mov edx, dword ptr [eax + 4] */ 4253 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x36094166: mov byte ptr [edx + 0x24], 0 */ 4254 ecx = MEM32(eax + 0x4); /* 0x3609416A: mov ecx, dword ptr [eax + 4] */ 4255 edx = MEM32(ecx + 0x8); /* 0x3609416D: mov edx, dword ptr [ecx + 8] */ 4256 esi = MEM32(edx); /* 0x36094170: mov esi, dword ptr [edx] */ 4257 MEM32(ecx + 0x8) = esi; /* 0x36094172: mov dword ptr [ecx + 8], esi */ 4258 esi = MEM32(edx); /* 0x36094175: mov esi, dword ptr [edx] */ 4259 /* cmp esi, MEM32(edi + 0x8) */ /* 0x36094177: cmp esi, dword ptr [edi + 8] */ 4260 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4261 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4262 _flag_k = FK_CMP; 4263 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609417F; /* 0x3609417A: je 0x3609417f */ 4264 L_3609417C: 4265 MEM32(esi + 0x4) = ecx; /* 0x3609417C: mov dword ptr [esi + 4], ecx */ 4266 L_3609417F: 4267 esi = MEM32(ecx + 0x4); /* 0x3609417F: mov esi, dword ptr [ecx + 4] */ 4268 MEM32(edx + 0x4) = esi; /* 0x36094182: mov dword ptr [edx + 4], esi */ 4269 esi = MEM32(edi + 0x4); /* 0x36094185: mov esi, dword ptr [edi + 4] */ 4270 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x36094188: cmp ecx, dword ptr [esi + 4] */ 4271 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4272 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4273 _flag_k = FK_CMP; 4274 if (CMP_NE(_flag_a, _flag_b)) goto L_36094192; /* 0x3609418B: jne 0x36094192 */ 4275 L_3609418D: 4276 MEM32(esi + 0x4) = edx; /* 0x3609418D: mov dword ptr [esi + 4], edx */ 4277 goto L_360941A0; /* 0x36094190: jmp 0x360941a0 */ 4278 L_36094192: 4279 esi = MEM32(ecx + 0x4); /* 0x36094192: mov esi, dword ptr [ecx + 4] */ 4280 /* cmp ecx, MEM32(esi) */ /* 0x36094195: cmp ecx, dword ptr [esi] */ 4281 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 4282 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4283 _flag_k = FK_CMP; 4284 if (CMP_NE(_flag_a, _flag_b)) goto L_3609419D; /* 0x36094197: jne 0x3609419d */ 4285 L_36094199: 4286 MEM32(esi) = edx; /* 0x36094199: mov dword ptr [esi], edx */ 4287 goto L_360941A0; /* 0x3609419B: jmp 0x360941a0 */ 4288 L_3609419D: 4289 MEM32(esi + 0x8) = edx; /* 0x3609419D: mov dword ptr [esi + 8], edx */ 4290 L_360941A0: 4291 MEM32(edx) = ecx; /* 0x360941A0: mov dword ptr [edx], ecx */ 4292 MEM32(ecx + 0x4) = edx; /* 0x360941A2: mov dword ptr [ecx + 4], edx */ 4293 ecx = MEM32(eax + 0x4); /* 0x360941A5: mov ecx, dword ptr [eax + 4] */ 4294 ecx = MEM32(ecx + 0x8); /* 0x360941A8: mov ecx, dword ptr [ecx + 8] */ 4295 L_360941AB: 4296 edx = MEM32(ecx); /* 0x360941AB: mov edx, dword ptr [ecx] */ 4297 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x360941AD: cmp byte ptr [edx + 0x24], bl */ 4298 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4299 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4300 _flag_k = FK_NARROW(FK_CMP, 24); 4301 if (CMP_NE(_flag_a, _flag_b)) goto L_36094246; /* 0x360941B0: jne 0x36094246 */ 4302 L_360941B6: 4303 edx = MEM32(ecx + 0x8); /* 0x360941B6: mov edx, dword ptr [ecx + 8] */ 4304 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x360941B9: cmp byte ptr [edx + 0x24], bl */ 4305 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4306 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4307 _flag_k = FK_NARROW(FK_CMP, 24); 4308 if (CMP_NE(_flag_a, _flag_b)) goto L_36094246; /* 0x360941BC: jne 0x36094246 */ 4309 L_360941C2: 4310 goto L_3609422E; /* 0x360941C2: jmp 0x3609422e */ 4311 L_360941C4: 4312 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x360941C4: mov dl, byte ptr [ecx + 0x24] */ 4313 /* test LO8(edx), LO8(edx) */ /* 0x360941C7: test dl, dl */ 4314 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 4315 _cf = 0; 4316 _flag_k = FK_NARROW(FK_TEST, 24); 4317 if (TEST_NZ(_flag_a, _flag_b)) goto L_36094217; /* 0x360941C9: jne 0x36094217 */ 4318 L_360941CB: 4319 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360941CB: mov byte ptr [ecx + 0x24], bl */ 4320 ecx = MEM32(eax + 0x4); /* 0x360941CE: mov ecx, dword ptr [eax + 4] */ 4321 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x360941D1: mov byte ptr [ecx + 0x24], 0 */ 4322 ecx = MEM32(eax + 0x4); /* 0x360941D5: mov ecx, dword ptr [eax + 4] */ 4323 edx = MEM32(ecx); /* 0x360941D8: mov edx, dword ptr [ecx] */ 4324 esi = MEM32(edx + 0x8); /* 0x360941DA: mov esi, dword ptr [edx + 8] */ 4325 MEM32(ecx) = esi; /* 0x360941DD: mov dword ptr [ecx], esi */ 4326 esi = MEM32(edx + 0x8); /* 0x360941DF: mov esi, dword ptr [edx + 8] */ 4327 /* cmp esi, MEM32(edi + 0x8) */ /* 0x360941E2: cmp esi, dword ptr [edi + 8] */ 4328 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4329 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4330 _flag_k = FK_CMP; 4331 if (CMP_EQ(_flag_a, _flag_b)) goto L_360941EA; /* 0x360941E5: je 0x360941ea */ 4332 L_360941E7: 4333 MEM32(esi + 0x4) = ecx; /* 0x360941E7: mov dword ptr [esi + 4], ecx */ 4334 L_360941EA: 4335 esi = MEM32(ecx + 0x4); /* 0x360941EA: mov esi, dword ptr [ecx + 4] */ 4336 MEM32(edx + 0x4) = esi; /* 0x360941ED: mov dword ptr [edx + 4], esi */ 4337 esi = MEM32(edi + 0x4); /* 0x360941F0: mov esi, dword ptr [edi + 4] */ 4338 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x360941F3: cmp ecx, dword ptr [esi + 4] */ 4339 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4340 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4341 _flag_k = FK_CMP; 4342 if (CMP_NE(_flag_a, _flag_b)) goto L_360941FD; /* 0x360941F6: jne 0x360941fd */ 4343 L_360941F8: 4344 MEM32(esi + 0x4) = edx; /* 0x360941F8: mov dword ptr [esi + 4], edx */ 4345 goto L_3609420C; /* 0x360941FB: jmp 0x3609420c */ 4346 L_360941FD: 4347 esi = MEM32(ecx + 0x4); /* 0x360941FD: mov esi, dword ptr [ecx + 4] */ 4348 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x36094200: cmp ecx, dword ptr [esi + 8] */ 4349 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4350 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4351 _flag_k = FK_CMP; 4352 if (CMP_NE(_flag_a, _flag_b)) goto L_3609420A; /* 0x36094203: jne 0x3609420a */ 4353 L_36094205: 4354 MEM32(esi + 0x8) = edx; /* 0x36094205: mov dword ptr [esi + 8], edx */ 4355 goto L_3609420C; /* 0x36094208: jmp 0x3609420c */ 4356 L_3609420A: 4357 MEM32(esi) = edx; /* 0x3609420A: mov dword ptr [esi], edx */ 4358 L_3609420C: 4359 MEM32(edx + 0x8) = ecx; /* 0x3609420C: mov dword ptr [edx + 8], ecx */ 4360 MEM32(ecx + 0x4) = edx; /* 0x3609420F: mov dword ptr [ecx + 4], edx */ 4361 edx = MEM32(eax + 0x4); /* 0x36094212: mov edx, dword ptr [eax + 4] */ 4362 ecx = MEM32(edx); /* 0x36094215: mov ecx, dword ptr [edx] */ 4363 L_36094217: 4364 edx = MEM32(ecx + 0x8); /* 0x36094217: mov edx, dword ptr [ecx + 8] */ 4365 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x3609421A: cmp byte ptr [edx + 0x24], bl */ 4366 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4367 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4368 _flag_k = FK_NARROW(FK_CMP, 24); 4369 if (CMP_NE(_flag_a, _flag_b)) goto L_360942F3; /* 0x3609421D: jne 0x360942f3 */ 4370 L_36094223: 4371 edx = MEM32(ecx); /* 0x36094223: mov edx, dword ptr [ecx] */ 4372 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x36094225: cmp byte ptr [edx + 0x24], bl */ 4373 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4374 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4375 _flag_k = FK_NARROW(FK_CMP, 24); 4376 if (CMP_NE(_flag_a, _flag_b)) goto L_360942F3; /* 0x36094228: jne 0x360942f3 */ 4377 L_3609422E: 4378 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x3609422E: mov byte ptr [ecx + 0x24], 0 */ 4379 ecx = MEM32(edi + 0x4); /* 0x36094232: mov ecx, dword ptr [edi + 4] */ 4380 eax = MEM32(eax + 0x4); /* 0x36094235: mov eax, dword ptr [eax + 4] */ 4381 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x36094238: cmp eax, dword ptr [ecx + 4] */ 4382 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 4383 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4384 _flag_k = FK_CMP; 4385 RECOMP_BACKEDGE(); 4386 if (CMP_NE(_flag_a, _flag_b)) goto L_36094144; /* 0x3609423B: jne 0x36094144 */ 4387 L_36094241: 4388 goto L_36094392; /* 0x36094241: jmp 0x36094392 */ 4389 L_36094246: 4390 edx = MEM32(ecx + 0x8); /* 0x36094246: mov edx, dword ptr [ecx + 8] */ 4391 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x36094249: cmp byte ptr [edx + 0x24], bl */ 4392 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4393 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4394 _flag_k = FK_NARROW(FK_CMP, 24); 4395 if (CMP_NE(_flag_a, _flag_b)) goto L_36094297; /* 0x3609424C: jne 0x36094297 */ 4396 L_3609424E: 4397 edx = MEM32(ecx); /* 0x3609424E: mov edx, dword ptr [ecx] */ 4398 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094250: mov byte ptr [edx + 0x24], bl */ 4399 edx = MEM32(ecx); /* 0x36094253: mov edx, dword ptr [ecx] */ 4400 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x36094255: mov byte ptr [ecx + 0x24], 0 */ 4401 esi = MEM32(edx + 0x8); /* 0x36094259: mov esi, dword ptr [edx + 8] */ 4402 MEM32(ecx) = esi; /* 0x3609425C: mov dword ptr [ecx], esi */ 4403 esi = MEM32(edx + 0x8); /* 0x3609425E: mov esi, dword ptr [edx + 8] */ 4404 /* cmp esi, MEM32(edi + 0x8) */ /* 0x36094261: cmp esi, dword ptr [edi + 8] */ 4405 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4406 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4407 _flag_k = FK_CMP; 4408 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094269; /* 0x36094264: je 0x36094269 */ 4409 L_36094266: 4410 MEM32(esi + 0x4) = ecx; /* 0x36094266: mov dword ptr [esi + 4], ecx */ 4411 L_36094269: 4412 esi = MEM32(ecx + 0x4); /* 0x36094269: mov esi, dword ptr [ecx + 4] */ 4413 MEM32(edx + 0x4) = esi; /* 0x3609426C: mov dword ptr [edx + 4], esi */ 4414 esi = MEM32(edi + 0x4); /* 0x3609426F: mov esi, dword ptr [edi + 4] */ 4415 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x36094272: cmp ecx, dword ptr [esi + 4] */ 4416 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4417 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4418 _flag_k = FK_CMP; 4419 if (CMP_NE(_flag_a, _flag_b)) goto L_3609427C; /* 0x36094275: jne 0x3609427c */ 4420 L_36094277: 4421 MEM32(esi + 0x4) = edx; /* 0x36094277: mov dword ptr [esi + 4], edx */ 4422 goto L_3609428B; /* 0x3609427A: jmp 0x3609428b */ 4423 L_3609427C: 4424 esi = MEM32(ecx + 0x4); /* 0x3609427C: mov esi, dword ptr [ecx + 4] */ 4425 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x3609427F: cmp ecx, dword ptr [esi + 8] */ 4426 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4427 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4428 _flag_k = FK_CMP; 4429 if (CMP_NE(_flag_a, _flag_b)) goto L_36094289; /* 0x36094282: jne 0x36094289 */ 4430 L_36094284: 4431 MEM32(esi + 0x8) = edx; /* 0x36094284: mov dword ptr [esi + 8], edx */ 4432 goto L_3609428B; /* 0x36094287: jmp 0x3609428b */ 4433 L_36094289: 4434 MEM32(esi) = edx; /* 0x36094289: mov dword ptr [esi], edx */ 4435 L_3609428B: 4436 MEM32(edx + 0x8) = ecx; /* 0x3609428B: mov dword ptr [edx + 8], ecx */ 4437 MEM32(ecx + 0x4) = edx; /* 0x3609428E: mov dword ptr [ecx + 4], edx */ 4438 ecx = MEM32(eax + 0x4); /* 0x36094291: mov ecx, dword ptr [eax + 4] */ 4439 ecx = MEM32(ecx + 0x8); /* 0x36094294: mov ecx, dword ptr [ecx + 8] */ 4440 L_36094297: 4441 edx = MEM32(eax + 0x4); /* 0x36094297: mov edx, dword ptr [eax + 4] */ 4442 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x3609429A: mov dl, byte ptr [edx + 0x24] */ 4443 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x3609429D: mov byte ptr [ecx + 0x24], dl */ 4444 edx = MEM32(eax + 0x4); /* 0x360942A0: mov edx, dword ptr [eax + 4] */ 4445 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360942A3: mov byte ptr [edx + 0x24], bl */ 4446 ecx = MEM32(ecx + 0x8); /* 0x360942A6: mov ecx, dword ptr [ecx + 8] */ 4447 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360942A9: mov byte ptr [ecx + 0x24], bl */ 4448 ecx = MEM32(eax + 0x4); /* 0x360942AC: mov ecx, dword ptr [eax + 4] */ 4449 edx = MEM32(ecx + 0x8); /* 0x360942AF: mov edx, dword ptr [ecx + 8] */ 4450 esi = MEM32(edx); /* 0x360942B2: mov esi, dword ptr [edx] */ 4451 MEM32(ecx + 0x8) = esi; /* 0x360942B4: mov dword ptr [ecx + 8], esi */ 4452 esi = MEM32(edx); /* 0x360942B7: mov esi, dword ptr [edx] */ 4453 /* cmp esi, MEM32(edi + 0x8) */ /* 0x360942B9: cmp esi, dword ptr [edi + 8] */ 4454 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4455 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4456 _flag_k = FK_CMP; 4457 if (CMP_EQ(_flag_a, _flag_b)) goto L_360942C1; /* 0x360942BC: je 0x360942c1 */ 4458 L_360942BE: 4459 MEM32(esi + 0x4) = ecx; /* 0x360942BE: mov dword ptr [esi + 4], ecx */ 4460 L_360942C1: 4461 esi = MEM32(ecx + 0x4); /* 0x360942C1: mov esi, dword ptr [ecx + 4] */ 4462 MEM32(edx + 0x4) = esi; /* 0x360942C4: mov dword ptr [edx + 4], esi */ 4463 esi = MEM32(edi + 0x4); /* 0x360942C7: mov esi, dword ptr [edi + 4] */ 4464 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x360942CA: cmp ecx, dword ptr [esi + 4] */ 4465 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4466 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4467 _flag_k = FK_CMP; 4468 if (CMP_NE(_flag_a, _flag_b)) goto L_360942D9; /* 0x360942CD: jne 0x360942d9 */ 4469 L_360942CF: 4470 MEM32(esi + 0x4) = edx; /* 0x360942CF: mov dword ptr [esi + 4], edx */ 4471 MEM32(edx) = ecx; /* 0x360942D2: mov dword ptr [edx], ecx */ 4472 goto L_3609438F; /* 0x360942D4: jmp 0x3609438f */ 4473 L_360942D9: 4474 esi = MEM32(ecx + 0x4); /* 0x360942D9: mov esi, dword ptr [ecx + 4] */ 4475 /* cmp ecx, MEM32(esi) */ /* 0x360942DC: cmp ecx, dword ptr [esi] */ 4476 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 4477 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4478 _flag_k = FK_CMP; 4479 if (CMP_NE(_flag_a, _flag_b)) goto L_360942E9; /* 0x360942DE: jne 0x360942e9 */ 4480 L_360942E0: 4481 MEM32(esi) = edx; /* 0x360942E0: mov dword ptr [esi], edx */ 4482 MEM32(edx) = ecx; /* 0x360942E2: mov dword ptr [edx], ecx */ 4483 goto L_3609438F; /* 0x360942E4: jmp 0x3609438f */ 4484 L_360942E9: 4485 MEM32(esi + 0x8) = edx; /* 0x360942E9: mov dword ptr [esi + 8], edx */ 4486 MEM32(edx) = ecx; /* 0x360942EC: mov dword ptr [edx], ecx */ 4487 goto L_3609438F; /* 0x360942EE: jmp 0x3609438f */ 4488 L_360942F3: 4489 edx = MEM32(ecx); /* 0x360942F3: mov edx, dword ptr [ecx] */ 4490 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x360942F5: cmp byte ptr [edx + 0x24], bl */ 4491 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4492 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4493 _flag_k = FK_NARROW(FK_CMP, 24); 4494 if (CMP_NE(_flag_a, _flag_b)) goto L_36094341; /* 0x360942F8: jne 0x36094341 */ 4495 L_360942FA: 4496 edx = MEM32(ecx + 0x8); /* 0x360942FA: mov edx, dword ptr [ecx + 8] */ 4497 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360942FD: mov byte ptr [edx + 0x24], bl */ 4498 edx = MEM32(ecx + 0x8); /* 0x36094300: mov edx, dword ptr [ecx + 8] */ 4499 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x36094303: mov byte ptr [ecx + 0x24], 0 */ 4500 esi = MEM32(edx); /* 0x36094307: mov esi, dword ptr [edx] */ 4501 MEM32(ecx + 0x8) = esi; /* 0x36094309: mov dword ptr [ecx + 8], esi */ 4502 esi = MEM32(edx); /* 0x3609430C: mov esi, dword ptr [edx] */ 4503 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3609430E: cmp esi, dword ptr [edi + 8] */ 4504 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4505 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4506 _flag_k = FK_CMP; 4507 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094316; /* 0x36094311: je 0x36094316 */ 4508 L_36094313: 4509 MEM32(esi + 0x4) = ecx; /* 0x36094313: mov dword ptr [esi + 4], ecx */ 4510 L_36094316: 4511 esi = MEM32(ecx + 0x4); /* 0x36094316: mov esi, dword ptr [ecx + 4] */ 4512 MEM32(edx + 0x4) = esi; /* 0x36094319: mov dword ptr [edx + 4], esi */ 4513 esi = MEM32(edi + 0x4); /* 0x3609431C: mov esi, dword ptr [edi + 4] */ 4514 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x3609431F: cmp ecx, dword ptr [esi + 4] */ 4515 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4516 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4517 _flag_k = FK_CMP; 4518 if (CMP_NE(_flag_a, _flag_b)) goto L_36094329; /* 0x36094322: jne 0x36094329 */ 4519 L_36094324: 4520 MEM32(esi + 0x4) = edx; /* 0x36094324: mov dword ptr [esi + 4], edx */ 4521 goto L_36094337; /* 0x36094327: jmp 0x36094337 */ 4522 L_36094329: 4523 esi = MEM32(ecx + 0x4); /* 0x36094329: mov esi, dword ptr [ecx + 4] */ 4524 /* cmp ecx, MEM32(esi) */ /* 0x3609432C: cmp ecx, dword ptr [esi] */ 4525 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 4526 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4527 _flag_k = FK_CMP; 4528 if (CMP_NE(_flag_a, _flag_b)) goto L_36094334; /* 0x3609432E: jne 0x36094334 */ 4529 L_36094330: 4530 MEM32(esi) = edx; /* 0x36094330: mov dword ptr [esi], edx */ 4531 goto L_36094337; /* 0x36094332: jmp 0x36094337 */ 4532 L_36094334: 4533 MEM32(esi + 0x8) = edx; /* 0x36094334: mov dword ptr [esi + 8], edx */ 4534 L_36094337: 4535 MEM32(edx) = ecx; /* 0x36094337: mov dword ptr [edx], ecx */ 4536 MEM32(ecx + 0x4) = edx; /* 0x36094339: mov dword ptr [ecx + 4], edx */ 4537 ecx = MEM32(eax + 0x4); /* 0x3609433C: mov ecx, dword ptr [eax + 4] */ 4538 ecx = MEM32(ecx); /* 0x3609433F: mov ecx, dword ptr [ecx] */ 4539 L_36094341: 4540 edx = MEM32(eax + 0x4); /* 0x36094341: mov edx, dword ptr [eax + 4] */ 4541 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x36094344: mov dl, byte ptr [edx + 0x24] */ 4542 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x36094347: mov byte ptr [ecx + 0x24], dl */ 4543 edx = MEM32(eax + 0x4); /* 0x3609434A: mov edx, dword ptr [eax + 4] */ 4544 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x3609434D: mov byte ptr [edx + 0x24], bl */ 4545 ecx = MEM32(ecx); /* 0x36094350: mov ecx, dword ptr [ecx] */ 4546 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094352: mov byte ptr [ecx + 0x24], bl */ 4547 ecx = MEM32(eax + 0x4); /* 0x36094355: mov ecx, dword ptr [eax + 4] */ 4548 edx = MEM32(ecx); /* 0x36094358: mov edx, dword ptr [ecx] */ 4549 esi = MEM32(edx + 0x8); /* 0x3609435A: mov esi, dword ptr [edx + 8] */ 4550 MEM32(ecx) = esi; /* 0x3609435D: mov dword ptr [ecx], esi */ 4551 esi = MEM32(edx + 0x8); /* 0x3609435F: mov esi, dword ptr [edx + 8] */ 4552 /* cmp esi, MEM32(edi + 0x8) */ /* 0x36094362: cmp esi, dword ptr [edi + 8] */ 4553 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4554 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4555 _flag_k = FK_CMP; 4556 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609436A; /* 0x36094365: je 0x3609436a */ 4557 L_36094367: 4558 MEM32(esi + 0x4) = ecx; /* 0x36094367: mov dword ptr [esi + 4], ecx */ 4559 L_3609436A: 4560 esi = MEM32(ecx + 0x4); /* 0x3609436A: mov esi, dword ptr [ecx + 4] */ 4561 MEM32(edx + 0x4) = esi; /* 0x3609436D: mov dword ptr [edx + 4], esi */ 4562 esi = MEM32(edi + 0x4); /* 0x36094370: mov esi, dword ptr [edi + 4] */ 4563 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x36094373: cmp ecx, dword ptr [esi + 4] */ 4564 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4565 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4566 _flag_k = FK_CMP; 4567 if (CMP_NE(_flag_a, _flag_b)) goto L_3609437D; /* 0x36094376: jne 0x3609437d */ 4568 L_36094378: 4569 MEM32(esi + 0x4) = edx; /* 0x36094378: mov dword ptr [esi + 4], edx */ 4570 goto L_3609438C; /* 0x3609437B: jmp 0x3609438c */ 4571 L_3609437D: 4572 esi = MEM32(ecx + 0x4); /* 0x3609437D: mov esi, dword ptr [ecx + 4] */ 4573 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x36094380: cmp ecx, dword ptr [esi + 8] */ 4574 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4575 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4576 _flag_k = FK_CMP; 4577 if (CMP_NE(_flag_a, _flag_b)) goto L_3609438A; /* 0x36094383: jne 0x3609438a */ 4578 L_36094385: 4579 MEM32(esi + 0x8) = edx; /* 0x36094385: mov dword ptr [esi + 8], edx */ 4580 goto L_3609438C; /* 0x36094388: jmp 0x3609438c */ 4581 L_3609438A: 4582 MEM32(esi) = edx; /* 0x3609438A: mov dword ptr [esi], edx */ 4583 L_3609438C: 4584 MEM32(edx + 0x8) = ecx; /* 0x3609438C: mov dword ptr [edx + 8], ecx */ 4585 L_3609438F: 4586 MEM32(ecx + 0x4) = edx; /* 0x3609438F: mov dword ptr [ecx + 4], edx */ 4587 L_36094392: 4588 esi = MEM32(ebp + (-0x4)); /* 0x36094392: mov esi, dword ptr [ebp - 4] */ 4589 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094395: mov byte ptr [eax + 0x24], bl */ 4590 ecx = esi + 0xC; /* 0x36094398: lea ecx, [esi + 0xc] */ 4591 RECOMP_ICALL(0x3610BA00u); /* 0x3609439B: call 0x3610ba00 */ /* not lifted */ 4592 RECOMP_FLAGS_IN(); 4593 PUSH32(esp, esi); /* 0x360943A0: push esi */ 4594 RECOMP_ICALL(0x3615FCC4u); /* 0x360943A1: call 0x3615fcc4 */ /* not lifted */ 4595 RECOMP_FLAGS_IN(); 4596 eax = MEM32(edi + 0x10); /* 0x360943A6: mov eax, dword ptr [edi + 0x10] */ 4597 edx = MEM32(ebp + 0xC); /* 0x360943A9: mov edx, dword ptr [ebp + 0xc] */ 4598 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4599 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 4600 esp = esp + 4; /* 0x360943AC: add esp, 4 */ 4601 _flag_k = FK_ADD; 4602 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 4603 eax = eax - 1; /* 0x360943AF: dec eax */ 4604 _flag_k = FK_DEC; 4605 MEM32(edi + 0x10) = eax; /* 0x360943B0: mov dword ptr [edi + 0x10], eax */ 4606 eax = MEM32(ebp + 0x8); /* 0x360943B3: mov eax, dword ptr [ebp + 8] */ 4607 edi = POP32_VAL(esp); /* 0x360943B6: pop edi */ 4608 esi = POP32_VAL(esp); /* 0x360943B7: pop esi */ 4609 MEM32(eax) = edx; /* 0x360943B8: mov dword ptr [eax], edx */ 4610 ebx = POP32_VAL(esp); /* 0x360943BA: pop ebx */ 4611 esp = ebp; /* 0x360943BB: mov esp, ebp */ 4612 ebp = POP32_VAL(esp); /* 0x360943BD: pop ebp */ 4613 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x360943BE: ret 8 */ 4614 RECOMP_REGS_OUT(); 4615 } 4616 4617 void sub_3609420C(void) { 4618 int _fpu_cmp = 0; 4619 uint32_t _cf = 0; 4620 int _df = 1; 4621 uint32_t _flag_k = FK_NONE; 4622 uint32_t _flag_a = 0, _flag_b = 0; 4623 uint32_t _itail_tgt = 0; 4624 RECOMP_REGS_LOCALS 4625 RECOMP_ENTER(0x3609420Cu); 4626 4627 goto L_3609420C; 4628 L_36094144: 4629 /* cmp MEM8(eax + 0x24), LO8(ebx) */ /* 0x36094144: cmp byte ptr [eax + 0x24], bl */ 4630 _flag_a = (uint32_t)(MEM8(eax + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4631 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4632 _flag_k = FK_NARROW(FK_CMP, 24); 4633 if (CMP_NE(_flag_a, _flag_b)) goto L_36094392; /* 0x36094147: jne 0x36094392 */ 4634 L_3609414D: 4635 edx = MEM32(eax + 0x4); /* 0x3609414D: mov edx, dword ptr [eax + 4] */ 4636 ecx = MEM32(edx); /* 0x36094150: mov ecx, dword ptr [edx] */ 4637 /* cmp eax, ecx */ /* 0x36094152: cmp eax, ecx */ 4638 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 4639 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4640 _flag_k = FK_CMP; 4641 if (CMP_NE(_flag_a, _flag_b)) goto L_360941C4; /* 0x36094154: jne 0x360941c4 */ 4642 L_36094156: 4643 ecx = MEM32(edx + 0x8); /* 0x36094156: mov ecx, dword ptr [edx + 8] */ 4644 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x36094159: mov dl, byte ptr [ecx + 0x24] */ 4645 /* test LO8(edx), LO8(edx) */ /* 0x3609415C: test dl, dl */ 4646 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 4647 _cf = 0; 4648 _flag_k = FK_NARROW(FK_TEST, 24); 4649 if (TEST_NZ(_flag_a, _flag_b)) goto L_360941AB; /* 0x3609415E: jne 0x360941ab */ 4650 L_36094160: 4651 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094160: mov byte ptr [ecx + 0x24], bl */ 4652 edx = MEM32(eax + 0x4); /* 0x36094163: mov edx, dword ptr [eax + 4] */ 4653 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x36094166: mov byte ptr [edx + 0x24], 0 */ 4654 ecx = MEM32(eax + 0x4); /* 0x3609416A: mov ecx, dword ptr [eax + 4] */ 4655 edx = MEM32(ecx + 0x8); /* 0x3609416D: mov edx, dword ptr [ecx + 8] */ 4656 esi = MEM32(edx); /* 0x36094170: mov esi, dword ptr [edx] */ 4657 MEM32(ecx + 0x8) = esi; /* 0x36094172: mov dword ptr [ecx + 8], esi */ 4658 esi = MEM32(edx); /* 0x36094175: mov esi, dword ptr [edx] */ 4659 /* cmp esi, MEM32(edi + 0x8) */ /* 0x36094177: cmp esi, dword ptr [edi + 8] */ 4660 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4661 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4662 _flag_k = FK_CMP; 4663 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609417F; /* 0x3609417A: je 0x3609417f */ 4664 L_3609417C: 4665 MEM32(esi + 0x4) = ecx; /* 0x3609417C: mov dword ptr [esi + 4], ecx */ 4666 L_3609417F: 4667 esi = MEM32(ecx + 0x4); /* 0x3609417F: mov esi, dword ptr [ecx + 4] */ 4668 MEM32(edx + 0x4) = esi; /* 0x36094182: mov dword ptr [edx + 4], esi */ 4669 esi = MEM32(edi + 0x4); /* 0x36094185: mov esi, dword ptr [edi + 4] */ 4670 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x36094188: cmp ecx, dword ptr [esi + 4] */ 4671 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4672 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4673 _flag_k = FK_CMP; 4674 if (CMP_NE(_flag_a, _flag_b)) goto L_36094192; /* 0x3609418B: jne 0x36094192 */ 4675 L_3609418D: 4676 MEM32(esi + 0x4) = edx; /* 0x3609418D: mov dword ptr [esi + 4], edx */ 4677 goto L_360941A0; /* 0x36094190: jmp 0x360941a0 */ 4678 L_36094192: 4679 esi = MEM32(ecx + 0x4); /* 0x36094192: mov esi, dword ptr [ecx + 4] */ 4680 /* cmp ecx, MEM32(esi) */ /* 0x36094195: cmp ecx, dword ptr [esi] */ 4681 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 4682 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4683 _flag_k = FK_CMP; 4684 if (CMP_NE(_flag_a, _flag_b)) goto L_3609419D; /* 0x36094197: jne 0x3609419d */ 4685 L_36094199: 4686 MEM32(esi) = edx; /* 0x36094199: mov dword ptr [esi], edx */ 4687 goto L_360941A0; /* 0x3609419B: jmp 0x360941a0 */ 4688 L_3609419D: 4689 MEM32(esi + 0x8) = edx; /* 0x3609419D: mov dword ptr [esi + 8], edx */ 4690 L_360941A0: 4691 MEM32(edx) = ecx; /* 0x360941A0: mov dword ptr [edx], ecx */ 4692 MEM32(ecx + 0x4) = edx; /* 0x360941A2: mov dword ptr [ecx + 4], edx */ 4693 ecx = MEM32(eax + 0x4); /* 0x360941A5: mov ecx, dword ptr [eax + 4] */ 4694 ecx = MEM32(ecx + 0x8); /* 0x360941A8: mov ecx, dword ptr [ecx + 8] */ 4695 L_360941AB: 4696 edx = MEM32(ecx); /* 0x360941AB: mov edx, dword ptr [ecx] */ 4697 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x360941AD: cmp byte ptr [edx + 0x24], bl */ 4698 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4699 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4700 _flag_k = FK_NARROW(FK_CMP, 24); 4701 if (CMP_NE(_flag_a, _flag_b)) goto L_36094246; /* 0x360941B0: jne 0x36094246 */ 4702 L_360941B6: 4703 edx = MEM32(ecx + 0x8); /* 0x360941B6: mov edx, dword ptr [ecx + 8] */ 4704 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x360941B9: cmp byte ptr [edx + 0x24], bl */ 4705 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4706 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4707 _flag_k = FK_NARROW(FK_CMP, 24); 4708 if (CMP_NE(_flag_a, _flag_b)) goto L_36094246; /* 0x360941BC: jne 0x36094246 */ 4709 L_360941C2: 4710 goto L_3609422E; /* 0x360941C2: jmp 0x3609422e */ 4711 L_360941C4: 4712 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x360941C4: mov dl, byte ptr [ecx + 0x24] */ 4713 /* test LO8(edx), LO8(edx) */ /* 0x360941C7: test dl, dl */ 4714 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 4715 _cf = 0; 4716 _flag_k = FK_NARROW(FK_TEST, 24); 4717 if (TEST_NZ(_flag_a, _flag_b)) goto L_36094217; /* 0x360941C9: jne 0x36094217 */ 4718 L_360941CB: 4719 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360941CB: mov byte ptr [ecx + 0x24], bl */ 4720 ecx = MEM32(eax + 0x4); /* 0x360941CE: mov ecx, dword ptr [eax + 4] */ 4721 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x360941D1: mov byte ptr [ecx + 0x24], 0 */ 4722 ecx = MEM32(eax + 0x4); /* 0x360941D5: mov ecx, dword ptr [eax + 4] */ 4723 edx = MEM32(ecx); /* 0x360941D8: mov edx, dword ptr [ecx] */ 4724 esi = MEM32(edx + 0x8); /* 0x360941DA: mov esi, dword ptr [edx + 8] */ 4725 MEM32(ecx) = esi; /* 0x360941DD: mov dword ptr [ecx], esi */ 4726 esi = MEM32(edx + 0x8); /* 0x360941DF: mov esi, dword ptr [edx + 8] */ 4727 /* cmp esi, MEM32(edi + 0x8) */ /* 0x360941E2: cmp esi, dword ptr [edi + 8] */ 4728 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4729 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4730 _flag_k = FK_CMP; 4731 if (CMP_EQ(_flag_a, _flag_b)) goto L_360941EA; /* 0x360941E5: je 0x360941ea */ 4732 L_360941E7: 4733 MEM32(esi + 0x4) = ecx; /* 0x360941E7: mov dword ptr [esi + 4], ecx */ 4734 L_360941EA: 4735 esi = MEM32(ecx + 0x4); /* 0x360941EA: mov esi, dword ptr [ecx + 4] */ 4736 MEM32(edx + 0x4) = esi; /* 0x360941ED: mov dword ptr [edx + 4], esi */ 4737 esi = MEM32(edi + 0x4); /* 0x360941F0: mov esi, dword ptr [edi + 4] */ 4738 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x360941F3: cmp ecx, dword ptr [esi + 4] */ 4739 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4740 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4741 _flag_k = FK_CMP; 4742 if (CMP_NE(_flag_a, _flag_b)) goto L_360941FD; /* 0x360941F6: jne 0x360941fd */ 4743 L_360941F8: 4744 MEM32(esi + 0x4) = edx; /* 0x360941F8: mov dword ptr [esi + 4], edx */ 4745 goto L_3609420C; /* 0x360941FB: jmp 0x3609420c */ 4746 L_360941FD: 4747 esi = MEM32(ecx + 0x4); /* 0x360941FD: mov esi, dword ptr [ecx + 4] */ 4748 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x36094200: cmp ecx, dword ptr [esi + 8] */ 4749 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4750 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4751 _flag_k = FK_CMP; 4752 if (CMP_NE(_flag_a, _flag_b)) goto L_3609420A; /* 0x36094203: jne 0x3609420a */ 4753 L_36094205: 4754 MEM32(esi + 0x8) = edx; /* 0x36094205: mov dword ptr [esi + 8], edx */ 4755 goto L_3609420C; /* 0x36094208: jmp 0x3609420c */ 4756 L_3609420A: 4757 MEM32(esi) = edx; /* 0x3609420A: mov dword ptr [esi], edx */ 4758 L_3609420C: 4759 MEM32(edx + 0x8) = ecx; /* 0x3609420C: mov dword ptr [edx + 8], ecx */ 4760 MEM32(ecx + 0x4) = edx; /* 0x3609420F: mov dword ptr [ecx + 4], edx */ 4761 edx = MEM32(eax + 0x4); /* 0x36094212: mov edx, dword ptr [eax + 4] */ 4762 ecx = MEM32(edx); /* 0x36094215: mov ecx, dword ptr [edx] */ 4763 L_36094217: 4764 edx = MEM32(ecx + 0x8); /* 0x36094217: mov edx, dword ptr [ecx + 8] */ 4765 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x3609421A: cmp byte ptr [edx + 0x24], bl */ 4766 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4767 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4768 _flag_k = FK_NARROW(FK_CMP, 24); 4769 if (CMP_NE(_flag_a, _flag_b)) goto L_360942F3; /* 0x3609421D: jne 0x360942f3 */ 4770 L_36094223: 4771 edx = MEM32(ecx); /* 0x36094223: mov edx, dword ptr [ecx] */ 4772 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x36094225: cmp byte ptr [edx + 0x24], bl */ 4773 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4774 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4775 _flag_k = FK_NARROW(FK_CMP, 24); 4776 if (CMP_NE(_flag_a, _flag_b)) goto L_360942F3; /* 0x36094228: jne 0x360942f3 */ 4777 L_3609422E: 4778 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x3609422E: mov byte ptr [ecx + 0x24], 0 */ 4779 ecx = MEM32(edi + 0x4); /* 0x36094232: mov ecx, dword ptr [edi + 4] */ 4780 eax = MEM32(eax + 0x4); /* 0x36094235: mov eax, dword ptr [eax + 4] */ 4781 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x36094238: cmp eax, dword ptr [ecx + 4] */ 4782 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 4783 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4784 _flag_k = FK_CMP; 4785 RECOMP_BACKEDGE(); 4786 if (CMP_NE(_flag_a, _flag_b)) goto L_36094144; /* 0x3609423B: jne 0x36094144 */ 4787 L_36094241: 4788 goto L_36094392; /* 0x36094241: jmp 0x36094392 */ 4789 L_36094246: 4790 edx = MEM32(ecx + 0x8); /* 0x36094246: mov edx, dword ptr [ecx + 8] */ 4791 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x36094249: cmp byte ptr [edx + 0x24], bl */ 4792 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4793 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4794 _flag_k = FK_NARROW(FK_CMP, 24); 4795 if (CMP_NE(_flag_a, _flag_b)) goto L_36094297; /* 0x3609424C: jne 0x36094297 */ 4796 L_3609424E: 4797 edx = MEM32(ecx); /* 0x3609424E: mov edx, dword ptr [ecx] */ 4798 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094250: mov byte ptr [edx + 0x24], bl */ 4799 edx = MEM32(ecx); /* 0x36094253: mov edx, dword ptr [ecx] */ 4800 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x36094255: mov byte ptr [ecx + 0x24], 0 */ 4801 esi = MEM32(edx + 0x8); /* 0x36094259: mov esi, dword ptr [edx + 8] */ 4802 MEM32(ecx) = esi; /* 0x3609425C: mov dword ptr [ecx], esi */ 4803 esi = MEM32(edx + 0x8); /* 0x3609425E: mov esi, dword ptr [edx + 8] */ 4804 /* cmp esi, MEM32(edi + 0x8) */ /* 0x36094261: cmp esi, dword ptr [edi + 8] */ 4805 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4806 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4807 _flag_k = FK_CMP; 4808 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094269; /* 0x36094264: je 0x36094269 */ 4809 L_36094266: 4810 MEM32(esi + 0x4) = ecx; /* 0x36094266: mov dword ptr [esi + 4], ecx */ 4811 L_36094269: 4812 esi = MEM32(ecx + 0x4); /* 0x36094269: mov esi, dword ptr [ecx + 4] */ 4813 MEM32(edx + 0x4) = esi; /* 0x3609426C: mov dword ptr [edx + 4], esi */ 4814 esi = MEM32(edi + 0x4); /* 0x3609426F: mov esi, dword ptr [edi + 4] */ 4815 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x36094272: cmp ecx, dword ptr [esi + 4] */ 4816 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4817 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4818 _flag_k = FK_CMP; 4819 if (CMP_NE(_flag_a, _flag_b)) goto L_3609427C; /* 0x36094275: jne 0x3609427c */ 4820 L_36094277: 4821 MEM32(esi + 0x4) = edx; /* 0x36094277: mov dword ptr [esi + 4], edx */ 4822 goto L_3609428B; /* 0x3609427A: jmp 0x3609428b */ 4823 L_3609427C: 4824 esi = MEM32(ecx + 0x4); /* 0x3609427C: mov esi, dword ptr [ecx + 4] */ 4825 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x3609427F: cmp ecx, dword ptr [esi + 8] */ 4826 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4827 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4828 _flag_k = FK_CMP; 4829 if (CMP_NE(_flag_a, _flag_b)) goto L_36094289; /* 0x36094282: jne 0x36094289 */ 4830 L_36094284: 4831 MEM32(esi + 0x8) = edx; /* 0x36094284: mov dword ptr [esi + 8], edx */ 4832 goto L_3609428B; /* 0x36094287: jmp 0x3609428b */ 4833 L_36094289: 4834 MEM32(esi) = edx; /* 0x36094289: mov dword ptr [esi], edx */ 4835 L_3609428B: 4836 MEM32(edx + 0x8) = ecx; /* 0x3609428B: mov dword ptr [edx + 8], ecx */ 4837 MEM32(ecx + 0x4) = edx; /* 0x3609428E: mov dword ptr [ecx + 4], edx */ 4838 ecx = MEM32(eax + 0x4); /* 0x36094291: mov ecx, dword ptr [eax + 4] */ 4839 ecx = MEM32(ecx + 0x8); /* 0x36094294: mov ecx, dword ptr [ecx + 8] */ 4840 L_36094297: 4841 edx = MEM32(eax + 0x4); /* 0x36094297: mov edx, dword ptr [eax + 4] */ 4842 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x3609429A: mov dl, byte ptr [edx + 0x24] */ 4843 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x3609429D: mov byte ptr [ecx + 0x24], dl */ 4844 edx = MEM32(eax + 0x4); /* 0x360942A0: mov edx, dword ptr [eax + 4] */ 4845 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360942A3: mov byte ptr [edx + 0x24], bl */ 4846 ecx = MEM32(ecx + 0x8); /* 0x360942A6: mov ecx, dword ptr [ecx + 8] */ 4847 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360942A9: mov byte ptr [ecx + 0x24], bl */ 4848 ecx = MEM32(eax + 0x4); /* 0x360942AC: mov ecx, dword ptr [eax + 4] */ 4849 edx = MEM32(ecx + 0x8); /* 0x360942AF: mov edx, dword ptr [ecx + 8] */ 4850 esi = MEM32(edx); /* 0x360942B2: mov esi, dword ptr [edx] */ 4851 MEM32(ecx + 0x8) = esi; /* 0x360942B4: mov dword ptr [ecx + 8], esi */ 4852 esi = MEM32(edx); /* 0x360942B7: mov esi, dword ptr [edx] */ 4853 /* cmp esi, MEM32(edi + 0x8) */ /* 0x360942B9: cmp esi, dword ptr [edi + 8] */ 4854 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4855 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4856 _flag_k = FK_CMP; 4857 if (CMP_EQ(_flag_a, _flag_b)) goto L_360942C1; /* 0x360942BC: je 0x360942c1 */ 4858 L_360942BE: 4859 MEM32(esi + 0x4) = ecx; /* 0x360942BE: mov dword ptr [esi + 4], ecx */ 4860 L_360942C1: 4861 esi = MEM32(ecx + 0x4); /* 0x360942C1: mov esi, dword ptr [ecx + 4] */ 4862 MEM32(edx + 0x4) = esi; /* 0x360942C4: mov dword ptr [edx + 4], esi */ 4863 esi = MEM32(edi + 0x4); /* 0x360942C7: mov esi, dword ptr [edi + 4] */ 4864 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x360942CA: cmp ecx, dword ptr [esi + 4] */ 4865 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4866 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4867 _flag_k = FK_CMP; 4868 if (CMP_NE(_flag_a, _flag_b)) goto L_360942D9; /* 0x360942CD: jne 0x360942d9 */ 4869 L_360942CF: 4870 MEM32(esi + 0x4) = edx; /* 0x360942CF: mov dword ptr [esi + 4], edx */ 4871 MEM32(edx) = ecx; /* 0x360942D2: mov dword ptr [edx], ecx */ 4872 goto L_3609438F; /* 0x360942D4: jmp 0x3609438f */ 4873 L_360942D9: 4874 esi = MEM32(ecx + 0x4); /* 0x360942D9: mov esi, dword ptr [ecx + 4] */ 4875 /* cmp ecx, MEM32(esi) */ /* 0x360942DC: cmp ecx, dword ptr [esi] */ 4876 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 4877 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4878 _flag_k = FK_CMP; 4879 if (CMP_NE(_flag_a, _flag_b)) goto L_360942E9; /* 0x360942DE: jne 0x360942e9 */ 4880 L_360942E0: 4881 MEM32(esi) = edx; /* 0x360942E0: mov dword ptr [esi], edx */ 4882 MEM32(edx) = ecx; /* 0x360942E2: mov dword ptr [edx], ecx */ 4883 goto L_3609438F; /* 0x360942E4: jmp 0x3609438f */ 4884 L_360942E9: 4885 MEM32(esi + 0x8) = edx; /* 0x360942E9: mov dword ptr [esi + 8], edx */ 4886 MEM32(edx) = ecx; /* 0x360942EC: mov dword ptr [edx], ecx */ 4887 goto L_3609438F; /* 0x360942EE: jmp 0x3609438f */ 4888 L_360942F3: 4889 edx = MEM32(ecx); /* 0x360942F3: mov edx, dword ptr [ecx] */ 4890 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x360942F5: cmp byte ptr [edx + 0x24], bl */ 4891 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 4892 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4893 _flag_k = FK_NARROW(FK_CMP, 24); 4894 if (CMP_NE(_flag_a, _flag_b)) goto L_36094341; /* 0x360942F8: jne 0x36094341 */ 4895 L_360942FA: 4896 edx = MEM32(ecx + 0x8); /* 0x360942FA: mov edx, dword ptr [ecx + 8] */ 4897 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360942FD: mov byte ptr [edx + 0x24], bl */ 4898 edx = MEM32(ecx + 0x8); /* 0x36094300: mov edx, dword ptr [ecx + 8] */ 4899 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x36094303: mov byte ptr [ecx + 0x24], 0 */ 4900 esi = MEM32(edx); /* 0x36094307: mov esi, dword ptr [edx] */ 4901 MEM32(ecx + 0x8) = esi; /* 0x36094309: mov dword ptr [ecx + 8], esi */ 4902 esi = MEM32(edx); /* 0x3609430C: mov esi, dword ptr [edx] */ 4903 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3609430E: cmp esi, dword ptr [edi + 8] */ 4904 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4905 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4906 _flag_k = FK_CMP; 4907 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094316; /* 0x36094311: je 0x36094316 */ 4908 L_36094313: 4909 MEM32(esi + 0x4) = ecx; /* 0x36094313: mov dword ptr [esi + 4], ecx */ 4910 L_36094316: 4911 esi = MEM32(ecx + 0x4); /* 0x36094316: mov esi, dword ptr [ecx + 4] */ 4912 MEM32(edx + 0x4) = esi; /* 0x36094319: mov dword ptr [edx + 4], esi */ 4913 esi = MEM32(edi + 0x4); /* 0x3609431C: mov esi, dword ptr [edi + 4] */ 4914 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x3609431F: cmp ecx, dword ptr [esi + 4] */ 4915 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4916 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4917 _flag_k = FK_CMP; 4918 if (CMP_NE(_flag_a, _flag_b)) goto L_36094329; /* 0x36094322: jne 0x36094329 */ 4919 L_36094324: 4920 MEM32(esi + 0x4) = edx; /* 0x36094324: mov dword ptr [esi + 4], edx */ 4921 goto L_36094337; /* 0x36094327: jmp 0x36094337 */ 4922 L_36094329: 4923 esi = MEM32(ecx + 0x4); /* 0x36094329: mov esi, dword ptr [ecx + 4] */ 4924 /* cmp ecx, MEM32(esi) */ /* 0x3609432C: cmp ecx, dword ptr [esi] */ 4925 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 4926 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4927 _flag_k = FK_CMP; 4928 if (CMP_NE(_flag_a, _flag_b)) goto L_36094334; /* 0x3609432E: jne 0x36094334 */ 4929 L_36094330: 4930 MEM32(esi) = edx; /* 0x36094330: mov dword ptr [esi], edx */ 4931 goto L_36094337; /* 0x36094332: jmp 0x36094337 */ 4932 L_36094334: 4933 MEM32(esi + 0x8) = edx; /* 0x36094334: mov dword ptr [esi + 8], edx */ 4934 L_36094337: 4935 MEM32(edx) = ecx; /* 0x36094337: mov dword ptr [edx], ecx */ 4936 MEM32(ecx + 0x4) = edx; /* 0x36094339: mov dword ptr [ecx + 4], edx */ 4937 ecx = MEM32(eax + 0x4); /* 0x3609433C: mov ecx, dword ptr [eax + 4] */ 4938 ecx = MEM32(ecx); /* 0x3609433F: mov ecx, dword ptr [ecx] */ 4939 L_36094341: 4940 edx = MEM32(eax + 0x4); /* 0x36094341: mov edx, dword ptr [eax + 4] */ 4941 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x36094344: mov dl, byte ptr [edx + 0x24] */ 4942 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x36094347: mov byte ptr [ecx + 0x24], dl */ 4943 edx = MEM32(eax + 0x4); /* 0x3609434A: mov edx, dword ptr [eax + 4] */ 4944 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x3609434D: mov byte ptr [edx + 0x24], bl */ 4945 ecx = MEM32(ecx); /* 0x36094350: mov ecx, dword ptr [ecx] */ 4946 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094352: mov byte ptr [ecx + 0x24], bl */ 4947 ecx = MEM32(eax + 0x4); /* 0x36094355: mov ecx, dword ptr [eax + 4] */ 4948 edx = MEM32(ecx); /* 0x36094358: mov edx, dword ptr [ecx] */ 4949 esi = MEM32(edx + 0x8); /* 0x3609435A: mov esi, dword ptr [edx + 8] */ 4950 MEM32(ecx) = esi; /* 0x3609435D: mov dword ptr [ecx], esi */ 4951 esi = MEM32(edx + 0x8); /* 0x3609435F: mov esi, dword ptr [edx + 8] */ 4952 /* cmp esi, MEM32(edi + 0x8) */ /* 0x36094362: cmp esi, dword ptr [edi + 8] */ 4953 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 4954 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4955 _flag_k = FK_CMP; 4956 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609436A; /* 0x36094365: je 0x3609436a */ 4957 L_36094367: 4958 MEM32(esi + 0x4) = ecx; /* 0x36094367: mov dword ptr [esi + 4], ecx */ 4959 L_3609436A: 4960 esi = MEM32(ecx + 0x4); /* 0x3609436A: mov esi, dword ptr [ecx + 4] */ 4961 MEM32(edx + 0x4) = esi; /* 0x3609436D: mov dword ptr [edx + 4], esi */ 4962 esi = MEM32(edi + 0x4); /* 0x36094370: mov esi, dword ptr [edi + 4] */ 4963 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x36094373: cmp ecx, dword ptr [esi + 4] */ 4964 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 4965 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4966 _flag_k = FK_CMP; 4967 if (CMP_NE(_flag_a, _flag_b)) goto L_3609437D; /* 0x36094376: jne 0x3609437d */ 4968 L_36094378: 4969 MEM32(esi + 0x4) = edx; /* 0x36094378: mov dword ptr [esi + 4], edx */ 4970 goto L_3609438C; /* 0x3609437B: jmp 0x3609438c */ 4971 L_3609437D: 4972 esi = MEM32(ecx + 0x4); /* 0x3609437D: mov esi, dword ptr [ecx + 4] */ 4973 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x36094380: cmp ecx, dword ptr [esi + 8] */ 4974 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 4975 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 4976 _flag_k = FK_CMP; 4977 if (CMP_NE(_flag_a, _flag_b)) goto L_3609438A; /* 0x36094383: jne 0x3609438a */ 4978 L_36094385: 4979 MEM32(esi + 0x8) = edx; /* 0x36094385: mov dword ptr [esi + 8], edx */ 4980 goto L_3609438C; /* 0x36094388: jmp 0x3609438c */ 4981 L_3609438A: 4982 MEM32(esi) = edx; /* 0x3609438A: mov dword ptr [esi], edx */ 4983 L_3609438C: 4984 MEM32(edx + 0x8) = ecx; /* 0x3609438C: mov dword ptr [edx + 8], ecx */ 4985 L_3609438F: 4986 MEM32(ecx + 0x4) = edx; /* 0x3609438F: mov dword ptr [ecx + 4], edx */ 4987 L_36094392: 4988 esi = MEM32(ebp + (-0x4)); /* 0x36094392: mov esi, dword ptr [ebp - 4] */ 4989 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094395: mov byte ptr [eax + 0x24], bl */ 4990 ecx = esi + 0xC; /* 0x36094398: lea ecx, [esi + 0xc] */ 4991 RECOMP_ICALL(0x3610BA00u); /* 0x3609439B: call 0x3610ba00 */ /* not lifted */ 4992 RECOMP_FLAGS_IN(); 4993 PUSH32(esp, esi); /* 0x360943A0: push esi */ 4994 RECOMP_ICALL(0x3615FCC4u); /* 0x360943A1: call 0x3615fcc4 */ /* not lifted */ 4995 RECOMP_FLAGS_IN(); 4996 eax = MEM32(edi + 0x10); /* 0x360943A6: mov eax, dword ptr [edi + 0x10] */ 4997 edx = MEM32(ebp + 0xC); /* 0x360943A9: mov edx, dword ptr [ebp + 0xc] */ 4998 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 4999 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5000 esp = esp + 4; /* 0x360943AC: add esp, 4 */ 5001 _flag_k = FK_ADD; 5002 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 5003 eax = eax - 1; /* 0x360943AF: dec eax */ 5004 _flag_k = FK_DEC; 5005 MEM32(edi + 0x10) = eax; /* 0x360943B0: mov dword ptr [edi + 0x10], eax */ 5006 eax = MEM32(ebp + 0x8); /* 0x360943B3: mov eax, dword ptr [ebp + 8] */ 5007 edi = POP32_VAL(esp); /* 0x360943B6: pop edi */ 5008 esi = POP32_VAL(esp); /* 0x360943B7: pop esi */ 5009 MEM32(eax) = edx; /* 0x360943B8: mov dword ptr [eax], edx */ 5010 ebx = POP32_VAL(esp); /* 0x360943BA: pop ebx */ 5011 esp = ebp; /* 0x360943BB: mov esp, ebp */ 5012 ebp = POP32_VAL(esp); /* 0x360943BD: pop ebp */ 5013 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x360943BE: ret 8 */ 5014 RECOMP_REGS_OUT(); 5015 } 5016 5017 void sub_36094217(void) { 5018 int _fpu_cmp = 0; 5019 uint32_t _cf = 0; 5020 int _df = 1; 5021 uint32_t _flag_k = FK_NONE; 5022 uint32_t _flag_a = 0, _flag_b = 0; 5023 uint32_t _itail_tgt = 0; 5024 RECOMP_REGS_LOCALS 5025 RECOMP_ENTER(0x36094217u); 5026 5027 goto L_36094217; 5028 L_36094144: 5029 /* cmp MEM8(eax + 0x24), LO8(ebx) */ /* 0x36094144: cmp byte ptr [eax + 0x24], bl */ 5030 _flag_a = (uint32_t)(MEM8(eax + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5031 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5032 _flag_k = FK_NARROW(FK_CMP, 24); 5033 if (CMP_NE(_flag_a, _flag_b)) goto L_36094392; /* 0x36094147: jne 0x36094392 */ 5034 L_3609414D: 5035 edx = MEM32(eax + 0x4); /* 0x3609414D: mov edx, dword ptr [eax + 4] */ 5036 ecx = MEM32(edx); /* 0x36094150: mov ecx, dword ptr [edx] */ 5037 /* cmp eax, ecx */ /* 0x36094152: cmp eax, ecx */ 5038 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 5039 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5040 _flag_k = FK_CMP; 5041 if (CMP_NE(_flag_a, _flag_b)) goto L_360941C4; /* 0x36094154: jne 0x360941c4 */ 5042 L_36094156: 5043 ecx = MEM32(edx + 0x8); /* 0x36094156: mov ecx, dword ptr [edx + 8] */ 5044 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x36094159: mov dl, byte ptr [ecx + 0x24] */ 5045 /* test LO8(edx), LO8(edx) */ /* 0x3609415C: test dl, dl */ 5046 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 5047 _cf = 0; 5048 _flag_k = FK_NARROW(FK_TEST, 24); 5049 if (TEST_NZ(_flag_a, _flag_b)) goto L_360941AB; /* 0x3609415E: jne 0x360941ab */ 5050 L_36094160: 5051 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094160: mov byte ptr [ecx + 0x24], bl */ 5052 edx = MEM32(eax + 0x4); /* 0x36094163: mov edx, dword ptr [eax + 4] */ 5053 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x36094166: mov byte ptr [edx + 0x24], 0 */ 5054 ecx = MEM32(eax + 0x4); /* 0x3609416A: mov ecx, dword ptr [eax + 4] */ 5055 edx = MEM32(ecx + 0x8); /* 0x3609416D: mov edx, dword ptr [ecx + 8] */ 5056 esi = MEM32(edx); /* 0x36094170: mov esi, dword ptr [edx] */ 5057 MEM32(ecx + 0x8) = esi; /* 0x36094172: mov dword ptr [ecx + 8], esi */ 5058 esi = MEM32(edx); /* 0x36094175: mov esi, dword ptr [edx] */ 5059 /* cmp esi, MEM32(edi + 0x8) */ /* 0x36094177: cmp esi, dword ptr [edi + 8] */ 5060 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5061 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5062 _flag_k = FK_CMP; 5063 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609417F; /* 0x3609417A: je 0x3609417f */ 5064 L_3609417C: 5065 MEM32(esi + 0x4) = ecx; /* 0x3609417C: mov dword ptr [esi + 4], ecx */ 5066 L_3609417F: 5067 esi = MEM32(ecx + 0x4); /* 0x3609417F: mov esi, dword ptr [ecx + 4] */ 5068 MEM32(edx + 0x4) = esi; /* 0x36094182: mov dword ptr [edx + 4], esi */ 5069 esi = MEM32(edi + 0x4); /* 0x36094185: mov esi, dword ptr [edi + 4] */ 5070 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x36094188: cmp ecx, dword ptr [esi + 4] */ 5071 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5072 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5073 _flag_k = FK_CMP; 5074 if (CMP_NE(_flag_a, _flag_b)) goto L_36094192; /* 0x3609418B: jne 0x36094192 */ 5075 L_3609418D: 5076 MEM32(esi + 0x4) = edx; /* 0x3609418D: mov dword ptr [esi + 4], edx */ 5077 goto L_360941A0; /* 0x36094190: jmp 0x360941a0 */ 5078 L_36094192: 5079 esi = MEM32(ecx + 0x4); /* 0x36094192: mov esi, dword ptr [ecx + 4] */ 5080 /* cmp ecx, MEM32(esi) */ /* 0x36094195: cmp ecx, dword ptr [esi] */ 5081 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5082 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5083 _flag_k = FK_CMP; 5084 if (CMP_NE(_flag_a, _flag_b)) goto L_3609419D; /* 0x36094197: jne 0x3609419d */ 5085 L_36094199: 5086 MEM32(esi) = edx; /* 0x36094199: mov dword ptr [esi], edx */ 5087 goto L_360941A0; /* 0x3609419B: jmp 0x360941a0 */ 5088 L_3609419D: 5089 MEM32(esi + 0x8) = edx; /* 0x3609419D: mov dword ptr [esi + 8], edx */ 5090 L_360941A0: 5091 MEM32(edx) = ecx; /* 0x360941A0: mov dword ptr [edx], ecx */ 5092 MEM32(ecx + 0x4) = edx; /* 0x360941A2: mov dword ptr [ecx + 4], edx */ 5093 ecx = MEM32(eax + 0x4); /* 0x360941A5: mov ecx, dword ptr [eax + 4] */ 5094 ecx = MEM32(ecx + 0x8); /* 0x360941A8: mov ecx, dword ptr [ecx + 8] */ 5095 L_360941AB: 5096 edx = MEM32(ecx); /* 0x360941AB: mov edx, dword ptr [ecx] */ 5097 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x360941AD: cmp byte ptr [edx + 0x24], bl */ 5098 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5099 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5100 _flag_k = FK_NARROW(FK_CMP, 24); 5101 if (CMP_NE(_flag_a, _flag_b)) goto L_36094246; /* 0x360941B0: jne 0x36094246 */ 5102 L_360941B6: 5103 edx = MEM32(ecx + 0x8); /* 0x360941B6: mov edx, dword ptr [ecx + 8] */ 5104 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x360941B9: cmp byte ptr [edx + 0x24], bl */ 5105 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5106 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5107 _flag_k = FK_NARROW(FK_CMP, 24); 5108 if (CMP_NE(_flag_a, _flag_b)) goto L_36094246; /* 0x360941BC: jne 0x36094246 */ 5109 L_360941C2: 5110 goto L_3609422E; /* 0x360941C2: jmp 0x3609422e */ 5111 L_360941C4: 5112 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x360941C4: mov dl, byte ptr [ecx + 0x24] */ 5113 /* test LO8(edx), LO8(edx) */ /* 0x360941C7: test dl, dl */ 5114 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 5115 _cf = 0; 5116 _flag_k = FK_NARROW(FK_TEST, 24); 5117 if (TEST_NZ(_flag_a, _flag_b)) goto L_36094217; /* 0x360941C9: jne 0x36094217 */ 5118 L_360941CB: 5119 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360941CB: mov byte ptr [ecx + 0x24], bl */ 5120 ecx = MEM32(eax + 0x4); /* 0x360941CE: mov ecx, dword ptr [eax + 4] */ 5121 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x360941D1: mov byte ptr [ecx + 0x24], 0 */ 5122 ecx = MEM32(eax + 0x4); /* 0x360941D5: mov ecx, dword ptr [eax + 4] */ 5123 edx = MEM32(ecx); /* 0x360941D8: mov edx, dword ptr [ecx] */ 5124 esi = MEM32(edx + 0x8); /* 0x360941DA: mov esi, dword ptr [edx + 8] */ 5125 MEM32(ecx) = esi; /* 0x360941DD: mov dword ptr [ecx], esi */ 5126 esi = MEM32(edx + 0x8); /* 0x360941DF: mov esi, dword ptr [edx + 8] */ 5127 /* cmp esi, MEM32(edi + 0x8) */ /* 0x360941E2: cmp esi, dword ptr [edi + 8] */ 5128 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5129 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5130 _flag_k = FK_CMP; 5131 if (CMP_EQ(_flag_a, _flag_b)) goto L_360941EA; /* 0x360941E5: je 0x360941ea */ 5132 L_360941E7: 5133 MEM32(esi + 0x4) = ecx; /* 0x360941E7: mov dword ptr [esi + 4], ecx */ 5134 L_360941EA: 5135 esi = MEM32(ecx + 0x4); /* 0x360941EA: mov esi, dword ptr [ecx + 4] */ 5136 MEM32(edx + 0x4) = esi; /* 0x360941ED: mov dword ptr [edx + 4], esi */ 5137 esi = MEM32(edi + 0x4); /* 0x360941F0: mov esi, dword ptr [edi + 4] */ 5138 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x360941F3: cmp ecx, dword ptr [esi + 4] */ 5139 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5140 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5141 _flag_k = FK_CMP; 5142 if (CMP_NE(_flag_a, _flag_b)) goto L_360941FD; /* 0x360941F6: jne 0x360941fd */ 5143 L_360941F8: 5144 MEM32(esi + 0x4) = edx; /* 0x360941F8: mov dword ptr [esi + 4], edx */ 5145 goto L_3609420C; /* 0x360941FB: jmp 0x3609420c */ 5146 L_360941FD: 5147 esi = MEM32(ecx + 0x4); /* 0x360941FD: mov esi, dword ptr [ecx + 4] */ 5148 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x36094200: cmp ecx, dword ptr [esi + 8] */ 5149 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5150 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5151 _flag_k = FK_CMP; 5152 if (CMP_NE(_flag_a, _flag_b)) goto L_3609420A; /* 0x36094203: jne 0x3609420a */ 5153 L_36094205: 5154 MEM32(esi + 0x8) = edx; /* 0x36094205: mov dword ptr [esi + 8], edx */ 5155 goto L_3609420C; /* 0x36094208: jmp 0x3609420c */ 5156 L_3609420A: 5157 MEM32(esi) = edx; /* 0x3609420A: mov dword ptr [esi], edx */ 5158 L_3609420C: 5159 MEM32(edx + 0x8) = ecx; /* 0x3609420C: mov dword ptr [edx + 8], ecx */ 5160 MEM32(ecx + 0x4) = edx; /* 0x3609420F: mov dword ptr [ecx + 4], edx */ 5161 edx = MEM32(eax + 0x4); /* 0x36094212: mov edx, dword ptr [eax + 4] */ 5162 ecx = MEM32(edx); /* 0x36094215: mov ecx, dword ptr [edx] */ 5163 L_36094217: 5164 edx = MEM32(ecx + 0x8); /* 0x36094217: mov edx, dword ptr [ecx + 8] */ 5165 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x3609421A: cmp byte ptr [edx + 0x24], bl */ 5166 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5167 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5168 _flag_k = FK_NARROW(FK_CMP, 24); 5169 if (CMP_NE(_flag_a, _flag_b)) goto L_360942F3; /* 0x3609421D: jne 0x360942f3 */ 5170 L_36094223: 5171 edx = MEM32(ecx); /* 0x36094223: mov edx, dword ptr [ecx] */ 5172 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x36094225: cmp byte ptr [edx + 0x24], bl */ 5173 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5174 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5175 _flag_k = FK_NARROW(FK_CMP, 24); 5176 if (CMP_NE(_flag_a, _flag_b)) goto L_360942F3; /* 0x36094228: jne 0x360942f3 */ 5177 L_3609422E: 5178 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x3609422E: mov byte ptr [ecx + 0x24], 0 */ 5179 ecx = MEM32(edi + 0x4); /* 0x36094232: mov ecx, dword ptr [edi + 4] */ 5180 eax = MEM32(eax + 0x4); /* 0x36094235: mov eax, dword ptr [eax + 4] */ 5181 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x36094238: cmp eax, dword ptr [ecx + 4] */ 5182 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 5183 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5184 _flag_k = FK_CMP; 5185 RECOMP_BACKEDGE(); 5186 if (CMP_NE(_flag_a, _flag_b)) goto L_36094144; /* 0x3609423B: jne 0x36094144 */ 5187 L_36094241: 5188 goto L_36094392; /* 0x36094241: jmp 0x36094392 */ 5189 L_36094246: 5190 edx = MEM32(ecx + 0x8); /* 0x36094246: mov edx, dword ptr [ecx + 8] */ 5191 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x36094249: cmp byte ptr [edx + 0x24], bl */ 5192 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5193 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5194 _flag_k = FK_NARROW(FK_CMP, 24); 5195 if (CMP_NE(_flag_a, _flag_b)) goto L_36094297; /* 0x3609424C: jne 0x36094297 */ 5196 L_3609424E: 5197 edx = MEM32(ecx); /* 0x3609424E: mov edx, dword ptr [ecx] */ 5198 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094250: mov byte ptr [edx + 0x24], bl */ 5199 edx = MEM32(ecx); /* 0x36094253: mov edx, dword ptr [ecx] */ 5200 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x36094255: mov byte ptr [ecx + 0x24], 0 */ 5201 esi = MEM32(edx + 0x8); /* 0x36094259: mov esi, dword ptr [edx + 8] */ 5202 MEM32(ecx) = esi; /* 0x3609425C: mov dword ptr [ecx], esi */ 5203 esi = MEM32(edx + 0x8); /* 0x3609425E: mov esi, dword ptr [edx + 8] */ 5204 /* cmp esi, MEM32(edi + 0x8) */ /* 0x36094261: cmp esi, dword ptr [edi + 8] */ 5205 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5206 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5207 _flag_k = FK_CMP; 5208 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094269; /* 0x36094264: je 0x36094269 */ 5209 L_36094266: 5210 MEM32(esi + 0x4) = ecx; /* 0x36094266: mov dword ptr [esi + 4], ecx */ 5211 L_36094269: 5212 esi = MEM32(ecx + 0x4); /* 0x36094269: mov esi, dword ptr [ecx + 4] */ 5213 MEM32(edx + 0x4) = esi; /* 0x3609426C: mov dword ptr [edx + 4], esi */ 5214 esi = MEM32(edi + 0x4); /* 0x3609426F: mov esi, dword ptr [edi + 4] */ 5215 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x36094272: cmp ecx, dword ptr [esi + 4] */ 5216 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5217 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5218 _flag_k = FK_CMP; 5219 if (CMP_NE(_flag_a, _flag_b)) goto L_3609427C; /* 0x36094275: jne 0x3609427c */ 5220 L_36094277: 5221 MEM32(esi + 0x4) = edx; /* 0x36094277: mov dword ptr [esi + 4], edx */ 5222 goto L_3609428B; /* 0x3609427A: jmp 0x3609428b */ 5223 L_3609427C: 5224 esi = MEM32(ecx + 0x4); /* 0x3609427C: mov esi, dword ptr [ecx + 4] */ 5225 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x3609427F: cmp ecx, dword ptr [esi + 8] */ 5226 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5227 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5228 _flag_k = FK_CMP; 5229 if (CMP_NE(_flag_a, _flag_b)) goto L_36094289; /* 0x36094282: jne 0x36094289 */ 5230 L_36094284: 5231 MEM32(esi + 0x8) = edx; /* 0x36094284: mov dword ptr [esi + 8], edx */ 5232 goto L_3609428B; /* 0x36094287: jmp 0x3609428b */ 5233 L_36094289: 5234 MEM32(esi) = edx; /* 0x36094289: mov dword ptr [esi], edx */ 5235 L_3609428B: 5236 MEM32(edx + 0x8) = ecx; /* 0x3609428B: mov dword ptr [edx + 8], ecx */ 5237 MEM32(ecx + 0x4) = edx; /* 0x3609428E: mov dword ptr [ecx + 4], edx */ 5238 ecx = MEM32(eax + 0x4); /* 0x36094291: mov ecx, dword ptr [eax + 4] */ 5239 ecx = MEM32(ecx + 0x8); /* 0x36094294: mov ecx, dword ptr [ecx + 8] */ 5240 L_36094297: 5241 edx = MEM32(eax + 0x4); /* 0x36094297: mov edx, dword ptr [eax + 4] */ 5242 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x3609429A: mov dl, byte ptr [edx + 0x24] */ 5243 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x3609429D: mov byte ptr [ecx + 0x24], dl */ 5244 edx = MEM32(eax + 0x4); /* 0x360942A0: mov edx, dword ptr [eax + 4] */ 5245 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360942A3: mov byte ptr [edx + 0x24], bl */ 5246 ecx = MEM32(ecx + 0x8); /* 0x360942A6: mov ecx, dword ptr [ecx + 8] */ 5247 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360942A9: mov byte ptr [ecx + 0x24], bl */ 5248 ecx = MEM32(eax + 0x4); /* 0x360942AC: mov ecx, dword ptr [eax + 4] */ 5249 edx = MEM32(ecx + 0x8); /* 0x360942AF: mov edx, dword ptr [ecx + 8] */ 5250 esi = MEM32(edx); /* 0x360942B2: mov esi, dword ptr [edx] */ 5251 MEM32(ecx + 0x8) = esi; /* 0x360942B4: mov dword ptr [ecx + 8], esi */ 5252 esi = MEM32(edx); /* 0x360942B7: mov esi, dword ptr [edx] */ 5253 /* cmp esi, MEM32(edi + 0x8) */ /* 0x360942B9: cmp esi, dword ptr [edi + 8] */ 5254 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5255 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5256 _flag_k = FK_CMP; 5257 if (CMP_EQ(_flag_a, _flag_b)) goto L_360942C1; /* 0x360942BC: je 0x360942c1 */ 5258 L_360942BE: 5259 MEM32(esi + 0x4) = ecx; /* 0x360942BE: mov dword ptr [esi + 4], ecx */ 5260 L_360942C1: 5261 esi = MEM32(ecx + 0x4); /* 0x360942C1: mov esi, dword ptr [ecx + 4] */ 5262 MEM32(edx + 0x4) = esi; /* 0x360942C4: mov dword ptr [edx + 4], esi */ 5263 esi = MEM32(edi + 0x4); /* 0x360942C7: mov esi, dword ptr [edi + 4] */ 5264 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x360942CA: cmp ecx, dword ptr [esi + 4] */ 5265 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5266 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5267 _flag_k = FK_CMP; 5268 if (CMP_NE(_flag_a, _flag_b)) goto L_360942D9; /* 0x360942CD: jne 0x360942d9 */ 5269 L_360942CF: 5270 MEM32(esi + 0x4) = edx; /* 0x360942CF: mov dword ptr [esi + 4], edx */ 5271 MEM32(edx) = ecx; /* 0x360942D2: mov dword ptr [edx], ecx */ 5272 goto L_3609438F; /* 0x360942D4: jmp 0x3609438f */ 5273 L_360942D9: 5274 esi = MEM32(ecx + 0x4); /* 0x360942D9: mov esi, dword ptr [ecx + 4] */ 5275 /* cmp ecx, MEM32(esi) */ /* 0x360942DC: cmp ecx, dword ptr [esi] */ 5276 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5277 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5278 _flag_k = FK_CMP; 5279 if (CMP_NE(_flag_a, _flag_b)) goto L_360942E9; /* 0x360942DE: jne 0x360942e9 */ 5280 L_360942E0: 5281 MEM32(esi) = edx; /* 0x360942E0: mov dword ptr [esi], edx */ 5282 MEM32(edx) = ecx; /* 0x360942E2: mov dword ptr [edx], ecx */ 5283 goto L_3609438F; /* 0x360942E4: jmp 0x3609438f */ 5284 L_360942E9: 5285 MEM32(esi + 0x8) = edx; /* 0x360942E9: mov dword ptr [esi + 8], edx */ 5286 MEM32(edx) = ecx; /* 0x360942EC: mov dword ptr [edx], ecx */ 5287 goto L_3609438F; /* 0x360942EE: jmp 0x3609438f */ 5288 L_360942F3: 5289 edx = MEM32(ecx); /* 0x360942F3: mov edx, dword ptr [ecx] */ 5290 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x360942F5: cmp byte ptr [edx + 0x24], bl */ 5291 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5292 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5293 _flag_k = FK_NARROW(FK_CMP, 24); 5294 if (CMP_NE(_flag_a, _flag_b)) goto L_36094341; /* 0x360942F8: jne 0x36094341 */ 5295 L_360942FA: 5296 edx = MEM32(ecx + 0x8); /* 0x360942FA: mov edx, dword ptr [ecx + 8] */ 5297 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360942FD: mov byte ptr [edx + 0x24], bl */ 5298 edx = MEM32(ecx + 0x8); /* 0x36094300: mov edx, dword ptr [ecx + 8] */ 5299 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x36094303: mov byte ptr [ecx + 0x24], 0 */ 5300 esi = MEM32(edx); /* 0x36094307: mov esi, dword ptr [edx] */ 5301 MEM32(ecx + 0x8) = esi; /* 0x36094309: mov dword ptr [ecx + 8], esi */ 5302 esi = MEM32(edx); /* 0x3609430C: mov esi, dword ptr [edx] */ 5303 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3609430E: cmp esi, dword ptr [edi + 8] */ 5304 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5305 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5306 _flag_k = FK_CMP; 5307 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094316; /* 0x36094311: je 0x36094316 */ 5308 L_36094313: 5309 MEM32(esi + 0x4) = ecx; /* 0x36094313: mov dword ptr [esi + 4], ecx */ 5310 L_36094316: 5311 esi = MEM32(ecx + 0x4); /* 0x36094316: mov esi, dword ptr [ecx + 4] */ 5312 MEM32(edx + 0x4) = esi; /* 0x36094319: mov dword ptr [edx + 4], esi */ 5313 esi = MEM32(edi + 0x4); /* 0x3609431C: mov esi, dword ptr [edi + 4] */ 5314 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x3609431F: cmp ecx, dword ptr [esi + 4] */ 5315 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5316 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5317 _flag_k = FK_CMP; 5318 if (CMP_NE(_flag_a, _flag_b)) goto L_36094329; /* 0x36094322: jne 0x36094329 */ 5319 L_36094324: 5320 MEM32(esi + 0x4) = edx; /* 0x36094324: mov dword ptr [esi + 4], edx */ 5321 goto L_36094337; /* 0x36094327: jmp 0x36094337 */ 5322 L_36094329: 5323 esi = MEM32(ecx + 0x4); /* 0x36094329: mov esi, dword ptr [ecx + 4] */ 5324 /* cmp ecx, MEM32(esi) */ /* 0x3609432C: cmp ecx, dword ptr [esi] */ 5325 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5326 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5327 _flag_k = FK_CMP; 5328 if (CMP_NE(_flag_a, _flag_b)) goto L_36094334; /* 0x3609432E: jne 0x36094334 */ 5329 L_36094330: 5330 MEM32(esi) = edx; /* 0x36094330: mov dword ptr [esi], edx */ 5331 goto L_36094337; /* 0x36094332: jmp 0x36094337 */ 5332 L_36094334: 5333 MEM32(esi + 0x8) = edx; /* 0x36094334: mov dword ptr [esi + 8], edx */ 5334 L_36094337: 5335 MEM32(edx) = ecx; /* 0x36094337: mov dword ptr [edx], ecx */ 5336 MEM32(ecx + 0x4) = edx; /* 0x36094339: mov dword ptr [ecx + 4], edx */ 5337 ecx = MEM32(eax + 0x4); /* 0x3609433C: mov ecx, dword ptr [eax + 4] */ 5338 ecx = MEM32(ecx); /* 0x3609433F: mov ecx, dword ptr [ecx] */ 5339 L_36094341: 5340 edx = MEM32(eax + 0x4); /* 0x36094341: mov edx, dword ptr [eax + 4] */ 5341 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x36094344: mov dl, byte ptr [edx + 0x24] */ 5342 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x36094347: mov byte ptr [ecx + 0x24], dl */ 5343 edx = MEM32(eax + 0x4); /* 0x3609434A: mov edx, dword ptr [eax + 4] */ 5344 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x3609434D: mov byte ptr [edx + 0x24], bl */ 5345 ecx = MEM32(ecx); /* 0x36094350: mov ecx, dword ptr [ecx] */ 5346 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094352: mov byte ptr [ecx + 0x24], bl */ 5347 ecx = MEM32(eax + 0x4); /* 0x36094355: mov ecx, dword ptr [eax + 4] */ 5348 edx = MEM32(ecx); /* 0x36094358: mov edx, dword ptr [ecx] */ 5349 esi = MEM32(edx + 0x8); /* 0x3609435A: mov esi, dword ptr [edx + 8] */ 5350 MEM32(ecx) = esi; /* 0x3609435D: mov dword ptr [ecx], esi */ 5351 esi = MEM32(edx + 0x8); /* 0x3609435F: mov esi, dword ptr [edx + 8] */ 5352 /* cmp esi, MEM32(edi + 0x8) */ /* 0x36094362: cmp esi, dword ptr [edi + 8] */ 5353 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5354 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5355 _flag_k = FK_CMP; 5356 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609436A; /* 0x36094365: je 0x3609436a */ 5357 L_36094367: 5358 MEM32(esi + 0x4) = ecx; /* 0x36094367: mov dword ptr [esi + 4], ecx */ 5359 L_3609436A: 5360 esi = MEM32(ecx + 0x4); /* 0x3609436A: mov esi, dword ptr [ecx + 4] */ 5361 MEM32(edx + 0x4) = esi; /* 0x3609436D: mov dword ptr [edx + 4], esi */ 5362 esi = MEM32(edi + 0x4); /* 0x36094370: mov esi, dword ptr [edi + 4] */ 5363 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x36094373: cmp ecx, dword ptr [esi + 4] */ 5364 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5365 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5366 _flag_k = FK_CMP; 5367 if (CMP_NE(_flag_a, _flag_b)) goto L_3609437D; /* 0x36094376: jne 0x3609437d */ 5368 L_36094378: 5369 MEM32(esi + 0x4) = edx; /* 0x36094378: mov dword ptr [esi + 4], edx */ 5370 goto L_3609438C; /* 0x3609437B: jmp 0x3609438c */ 5371 L_3609437D: 5372 esi = MEM32(ecx + 0x4); /* 0x3609437D: mov esi, dword ptr [ecx + 4] */ 5373 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x36094380: cmp ecx, dword ptr [esi + 8] */ 5374 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5375 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5376 _flag_k = FK_CMP; 5377 if (CMP_NE(_flag_a, _flag_b)) goto L_3609438A; /* 0x36094383: jne 0x3609438a */ 5378 L_36094385: 5379 MEM32(esi + 0x8) = edx; /* 0x36094385: mov dword ptr [esi + 8], edx */ 5380 goto L_3609438C; /* 0x36094388: jmp 0x3609438c */ 5381 L_3609438A: 5382 MEM32(esi) = edx; /* 0x3609438A: mov dword ptr [esi], edx */ 5383 L_3609438C: 5384 MEM32(edx + 0x8) = ecx; /* 0x3609438C: mov dword ptr [edx + 8], ecx */ 5385 L_3609438F: 5386 MEM32(ecx + 0x4) = edx; /* 0x3609438F: mov dword ptr [ecx + 4], edx */ 5387 L_36094392: 5388 esi = MEM32(ebp + (-0x4)); /* 0x36094392: mov esi, dword ptr [ebp - 4] */ 5389 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094395: mov byte ptr [eax + 0x24], bl */ 5390 ecx = esi + 0xC; /* 0x36094398: lea ecx, [esi + 0xc] */ 5391 RECOMP_ICALL(0x3610BA00u); /* 0x3609439B: call 0x3610ba00 */ /* not lifted */ 5392 RECOMP_FLAGS_IN(); 5393 PUSH32(esp, esi); /* 0x360943A0: push esi */ 5394 RECOMP_ICALL(0x3615FCC4u); /* 0x360943A1: call 0x3615fcc4 */ /* not lifted */ 5395 RECOMP_FLAGS_IN(); 5396 eax = MEM32(edi + 0x10); /* 0x360943A6: mov eax, dword ptr [edi + 0x10] */ 5397 edx = MEM32(ebp + 0xC); /* 0x360943A9: mov edx, dword ptr [ebp + 0xc] */ 5398 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5399 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5400 esp = esp + 4; /* 0x360943AC: add esp, 4 */ 5401 _flag_k = FK_ADD; 5402 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 5403 eax = eax - 1; /* 0x360943AF: dec eax */ 5404 _flag_k = FK_DEC; 5405 MEM32(edi + 0x10) = eax; /* 0x360943B0: mov dword ptr [edi + 0x10], eax */ 5406 eax = MEM32(ebp + 0x8); /* 0x360943B3: mov eax, dword ptr [ebp + 8] */ 5407 edi = POP32_VAL(esp); /* 0x360943B6: pop edi */ 5408 esi = POP32_VAL(esp); /* 0x360943B7: pop esi */ 5409 MEM32(eax) = edx; /* 0x360943B8: mov dword ptr [eax], edx */ 5410 ebx = POP32_VAL(esp); /* 0x360943BA: pop ebx */ 5411 esp = ebp; /* 0x360943BB: mov esp, ebp */ 5412 ebp = POP32_VAL(esp); /* 0x360943BD: pop ebp */ 5413 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x360943BE: ret 8 */ 5414 RECOMP_REGS_OUT(); 5415 } 5416 5417 void sub_3609422E(void) { 5418 int _fpu_cmp = 0; 5419 uint32_t _cf = 0; 5420 int _df = 1; 5421 uint32_t _flag_k = FK_NONE; 5422 uint32_t _flag_a = 0, _flag_b = 0; 5423 uint32_t _itail_tgt = 0; 5424 RECOMP_REGS_LOCALS 5425 RECOMP_ENTER(0x3609422Eu); 5426 5427 goto L_3609422E; 5428 L_36094144: 5429 /* cmp MEM8(eax + 0x24), LO8(ebx) */ /* 0x36094144: cmp byte ptr [eax + 0x24], bl */ 5430 _flag_a = (uint32_t)(MEM8(eax + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5431 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5432 _flag_k = FK_NARROW(FK_CMP, 24); 5433 if (CMP_NE(_flag_a, _flag_b)) goto L_36094392; /* 0x36094147: jne 0x36094392 */ 5434 L_3609414D: 5435 edx = MEM32(eax + 0x4); /* 0x3609414D: mov edx, dword ptr [eax + 4] */ 5436 ecx = MEM32(edx); /* 0x36094150: mov ecx, dword ptr [edx] */ 5437 /* cmp eax, ecx */ /* 0x36094152: cmp eax, ecx */ 5438 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 5439 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5440 _flag_k = FK_CMP; 5441 if (CMP_NE(_flag_a, _flag_b)) goto L_360941C4; /* 0x36094154: jne 0x360941c4 */ 5442 L_36094156: 5443 ecx = MEM32(edx + 0x8); /* 0x36094156: mov ecx, dword ptr [edx + 8] */ 5444 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x36094159: mov dl, byte ptr [ecx + 0x24] */ 5445 /* test LO8(edx), LO8(edx) */ /* 0x3609415C: test dl, dl */ 5446 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 5447 _cf = 0; 5448 _flag_k = FK_NARROW(FK_TEST, 24); 5449 if (TEST_NZ(_flag_a, _flag_b)) goto L_360941AB; /* 0x3609415E: jne 0x360941ab */ 5450 L_36094160: 5451 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094160: mov byte ptr [ecx + 0x24], bl */ 5452 edx = MEM32(eax + 0x4); /* 0x36094163: mov edx, dword ptr [eax + 4] */ 5453 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x36094166: mov byte ptr [edx + 0x24], 0 */ 5454 ecx = MEM32(eax + 0x4); /* 0x3609416A: mov ecx, dword ptr [eax + 4] */ 5455 edx = MEM32(ecx + 0x8); /* 0x3609416D: mov edx, dword ptr [ecx + 8] */ 5456 esi = MEM32(edx); /* 0x36094170: mov esi, dword ptr [edx] */ 5457 MEM32(ecx + 0x8) = esi; /* 0x36094172: mov dword ptr [ecx + 8], esi */ 5458 esi = MEM32(edx); /* 0x36094175: mov esi, dword ptr [edx] */ 5459 /* cmp esi, MEM32(edi + 0x8) */ /* 0x36094177: cmp esi, dword ptr [edi + 8] */ 5460 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5461 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5462 _flag_k = FK_CMP; 5463 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609417F; /* 0x3609417A: je 0x3609417f */ 5464 L_3609417C: 5465 MEM32(esi + 0x4) = ecx; /* 0x3609417C: mov dword ptr [esi + 4], ecx */ 5466 L_3609417F: 5467 esi = MEM32(ecx + 0x4); /* 0x3609417F: mov esi, dword ptr [ecx + 4] */ 5468 MEM32(edx + 0x4) = esi; /* 0x36094182: mov dword ptr [edx + 4], esi */ 5469 esi = MEM32(edi + 0x4); /* 0x36094185: mov esi, dword ptr [edi + 4] */ 5470 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x36094188: cmp ecx, dword ptr [esi + 4] */ 5471 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5472 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5473 _flag_k = FK_CMP; 5474 if (CMP_NE(_flag_a, _flag_b)) goto L_36094192; /* 0x3609418B: jne 0x36094192 */ 5475 L_3609418D: 5476 MEM32(esi + 0x4) = edx; /* 0x3609418D: mov dword ptr [esi + 4], edx */ 5477 goto L_360941A0; /* 0x36094190: jmp 0x360941a0 */ 5478 L_36094192: 5479 esi = MEM32(ecx + 0x4); /* 0x36094192: mov esi, dword ptr [ecx + 4] */ 5480 /* cmp ecx, MEM32(esi) */ /* 0x36094195: cmp ecx, dword ptr [esi] */ 5481 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5482 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5483 _flag_k = FK_CMP; 5484 if (CMP_NE(_flag_a, _flag_b)) goto L_3609419D; /* 0x36094197: jne 0x3609419d */ 5485 L_36094199: 5486 MEM32(esi) = edx; /* 0x36094199: mov dword ptr [esi], edx */ 5487 goto L_360941A0; /* 0x3609419B: jmp 0x360941a0 */ 5488 L_3609419D: 5489 MEM32(esi + 0x8) = edx; /* 0x3609419D: mov dword ptr [esi + 8], edx */ 5490 L_360941A0: 5491 MEM32(edx) = ecx; /* 0x360941A0: mov dword ptr [edx], ecx */ 5492 MEM32(ecx + 0x4) = edx; /* 0x360941A2: mov dword ptr [ecx + 4], edx */ 5493 ecx = MEM32(eax + 0x4); /* 0x360941A5: mov ecx, dword ptr [eax + 4] */ 5494 ecx = MEM32(ecx + 0x8); /* 0x360941A8: mov ecx, dword ptr [ecx + 8] */ 5495 L_360941AB: 5496 edx = MEM32(ecx); /* 0x360941AB: mov edx, dword ptr [ecx] */ 5497 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x360941AD: cmp byte ptr [edx + 0x24], bl */ 5498 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5499 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5500 _flag_k = FK_NARROW(FK_CMP, 24); 5501 if (CMP_NE(_flag_a, _flag_b)) goto L_36094246; /* 0x360941B0: jne 0x36094246 */ 5502 L_360941B6: 5503 edx = MEM32(ecx + 0x8); /* 0x360941B6: mov edx, dword ptr [ecx + 8] */ 5504 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x360941B9: cmp byte ptr [edx + 0x24], bl */ 5505 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5506 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5507 _flag_k = FK_NARROW(FK_CMP, 24); 5508 if (CMP_NE(_flag_a, _flag_b)) goto L_36094246; /* 0x360941BC: jne 0x36094246 */ 5509 L_360941C2: 5510 goto L_3609422E; /* 0x360941C2: jmp 0x3609422e */ 5511 L_360941C4: 5512 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x360941C4: mov dl, byte ptr [ecx + 0x24] */ 5513 /* test LO8(edx), LO8(edx) */ /* 0x360941C7: test dl, dl */ 5514 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 5515 _cf = 0; 5516 _flag_k = FK_NARROW(FK_TEST, 24); 5517 if (TEST_NZ(_flag_a, _flag_b)) goto L_36094217; /* 0x360941C9: jne 0x36094217 */ 5518 L_360941CB: 5519 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360941CB: mov byte ptr [ecx + 0x24], bl */ 5520 ecx = MEM32(eax + 0x4); /* 0x360941CE: mov ecx, dword ptr [eax + 4] */ 5521 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x360941D1: mov byte ptr [ecx + 0x24], 0 */ 5522 ecx = MEM32(eax + 0x4); /* 0x360941D5: mov ecx, dword ptr [eax + 4] */ 5523 edx = MEM32(ecx); /* 0x360941D8: mov edx, dword ptr [ecx] */ 5524 esi = MEM32(edx + 0x8); /* 0x360941DA: mov esi, dword ptr [edx + 8] */ 5525 MEM32(ecx) = esi; /* 0x360941DD: mov dword ptr [ecx], esi */ 5526 esi = MEM32(edx + 0x8); /* 0x360941DF: mov esi, dword ptr [edx + 8] */ 5527 /* cmp esi, MEM32(edi + 0x8) */ /* 0x360941E2: cmp esi, dword ptr [edi + 8] */ 5528 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5529 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5530 _flag_k = FK_CMP; 5531 if (CMP_EQ(_flag_a, _flag_b)) goto L_360941EA; /* 0x360941E5: je 0x360941ea */ 5532 L_360941E7: 5533 MEM32(esi + 0x4) = ecx; /* 0x360941E7: mov dword ptr [esi + 4], ecx */ 5534 L_360941EA: 5535 esi = MEM32(ecx + 0x4); /* 0x360941EA: mov esi, dword ptr [ecx + 4] */ 5536 MEM32(edx + 0x4) = esi; /* 0x360941ED: mov dword ptr [edx + 4], esi */ 5537 esi = MEM32(edi + 0x4); /* 0x360941F0: mov esi, dword ptr [edi + 4] */ 5538 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x360941F3: cmp ecx, dword ptr [esi + 4] */ 5539 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5540 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5541 _flag_k = FK_CMP; 5542 if (CMP_NE(_flag_a, _flag_b)) goto L_360941FD; /* 0x360941F6: jne 0x360941fd */ 5543 L_360941F8: 5544 MEM32(esi + 0x4) = edx; /* 0x360941F8: mov dword ptr [esi + 4], edx */ 5545 goto L_3609420C; /* 0x360941FB: jmp 0x3609420c */ 5546 L_360941FD: 5547 esi = MEM32(ecx + 0x4); /* 0x360941FD: mov esi, dword ptr [ecx + 4] */ 5548 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x36094200: cmp ecx, dword ptr [esi + 8] */ 5549 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5550 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5551 _flag_k = FK_CMP; 5552 if (CMP_NE(_flag_a, _flag_b)) goto L_3609420A; /* 0x36094203: jne 0x3609420a */ 5553 L_36094205: 5554 MEM32(esi + 0x8) = edx; /* 0x36094205: mov dword ptr [esi + 8], edx */ 5555 goto L_3609420C; /* 0x36094208: jmp 0x3609420c */ 5556 L_3609420A: 5557 MEM32(esi) = edx; /* 0x3609420A: mov dword ptr [esi], edx */ 5558 L_3609420C: 5559 MEM32(edx + 0x8) = ecx; /* 0x3609420C: mov dword ptr [edx + 8], ecx */ 5560 MEM32(ecx + 0x4) = edx; /* 0x3609420F: mov dword ptr [ecx + 4], edx */ 5561 edx = MEM32(eax + 0x4); /* 0x36094212: mov edx, dword ptr [eax + 4] */ 5562 ecx = MEM32(edx); /* 0x36094215: mov ecx, dword ptr [edx] */ 5563 L_36094217: 5564 edx = MEM32(ecx + 0x8); /* 0x36094217: mov edx, dword ptr [ecx + 8] */ 5565 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x3609421A: cmp byte ptr [edx + 0x24], bl */ 5566 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5567 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5568 _flag_k = FK_NARROW(FK_CMP, 24); 5569 if (CMP_NE(_flag_a, _flag_b)) goto L_360942F3; /* 0x3609421D: jne 0x360942f3 */ 5570 L_36094223: 5571 edx = MEM32(ecx); /* 0x36094223: mov edx, dword ptr [ecx] */ 5572 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x36094225: cmp byte ptr [edx + 0x24], bl */ 5573 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5574 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5575 _flag_k = FK_NARROW(FK_CMP, 24); 5576 if (CMP_NE(_flag_a, _flag_b)) goto L_360942F3; /* 0x36094228: jne 0x360942f3 */ 5577 L_3609422E: 5578 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x3609422E: mov byte ptr [ecx + 0x24], 0 */ 5579 ecx = MEM32(edi + 0x4); /* 0x36094232: mov ecx, dword ptr [edi + 4] */ 5580 eax = MEM32(eax + 0x4); /* 0x36094235: mov eax, dword ptr [eax + 4] */ 5581 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x36094238: cmp eax, dword ptr [ecx + 4] */ 5582 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 5583 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5584 _flag_k = FK_CMP; 5585 RECOMP_BACKEDGE(); 5586 if (CMP_NE(_flag_a, _flag_b)) goto L_36094144; /* 0x3609423B: jne 0x36094144 */ 5587 L_36094241: 5588 goto L_36094392; /* 0x36094241: jmp 0x36094392 */ 5589 L_36094246: 5590 edx = MEM32(ecx + 0x8); /* 0x36094246: mov edx, dword ptr [ecx + 8] */ 5591 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x36094249: cmp byte ptr [edx + 0x24], bl */ 5592 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5593 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5594 _flag_k = FK_NARROW(FK_CMP, 24); 5595 if (CMP_NE(_flag_a, _flag_b)) goto L_36094297; /* 0x3609424C: jne 0x36094297 */ 5596 L_3609424E: 5597 edx = MEM32(ecx); /* 0x3609424E: mov edx, dword ptr [ecx] */ 5598 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094250: mov byte ptr [edx + 0x24], bl */ 5599 edx = MEM32(ecx); /* 0x36094253: mov edx, dword ptr [ecx] */ 5600 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x36094255: mov byte ptr [ecx + 0x24], 0 */ 5601 esi = MEM32(edx + 0x8); /* 0x36094259: mov esi, dword ptr [edx + 8] */ 5602 MEM32(ecx) = esi; /* 0x3609425C: mov dword ptr [ecx], esi */ 5603 esi = MEM32(edx + 0x8); /* 0x3609425E: mov esi, dword ptr [edx + 8] */ 5604 /* cmp esi, MEM32(edi + 0x8) */ /* 0x36094261: cmp esi, dword ptr [edi + 8] */ 5605 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5606 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5607 _flag_k = FK_CMP; 5608 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094269; /* 0x36094264: je 0x36094269 */ 5609 L_36094266: 5610 MEM32(esi + 0x4) = ecx; /* 0x36094266: mov dword ptr [esi + 4], ecx */ 5611 L_36094269: 5612 esi = MEM32(ecx + 0x4); /* 0x36094269: mov esi, dword ptr [ecx + 4] */ 5613 MEM32(edx + 0x4) = esi; /* 0x3609426C: mov dword ptr [edx + 4], esi */ 5614 esi = MEM32(edi + 0x4); /* 0x3609426F: mov esi, dword ptr [edi + 4] */ 5615 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x36094272: cmp ecx, dword ptr [esi + 4] */ 5616 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5617 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5618 _flag_k = FK_CMP; 5619 if (CMP_NE(_flag_a, _flag_b)) goto L_3609427C; /* 0x36094275: jne 0x3609427c */ 5620 L_36094277: 5621 MEM32(esi + 0x4) = edx; /* 0x36094277: mov dword ptr [esi + 4], edx */ 5622 goto L_3609428B; /* 0x3609427A: jmp 0x3609428b */ 5623 L_3609427C: 5624 esi = MEM32(ecx + 0x4); /* 0x3609427C: mov esi, dword ptr [ecx + 4] */ 5625 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x3609427F: cmp ecx, dword ptr [esi + 8] */ 5626 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5627 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5628 _flag_k = FK_CMP; 5629 if (CMP_NE(_flag_a, _flag_b)) goto L_36094289; /* 0x36094282: jne 0x36094289 */ 5630 L_36094284: 5631 MEM32(esi + 0x8) = edx; /* 0x36094284: mov dword ptr [esi + 8], edx */ 5632 goto L_3609428B; /* 0x36094287: jmp 0x3609428b */ 5633 L_36094289: 5634 MEM32(esi) = edx; /* 0x36094289: mov dword ptr [esi], edx */ 5635 L_3609428B: 5636 MEM32(edx + 0x8) = ecx; /* 0x3609428B: mov dword ptr [edx + 8], ecx */ 5637 MEM32(ecx + 0x4) = edx; /* 0x3609428E: mov dword ptr [ecx + 4], edx */ 5638 ecx = MEM32(eax + 0x4); /* 0x36094291: mov ecx, dword ptr [eax + 4] */ 5639 ecx = MEM32(ecx + 0x8); /* 0x36094294: mov ecx, dword ptr [ecx + 8] */ 5640 L_36094297: 5641 edx = MEM32(eax + 0x4); /* 0x36094297: mov edx, dword ptr [eax + 4] */ 5642 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x3609429A: mov dl, byte ptr [edx + 0x24] */ 5643 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x3609429D: mov byte ptr [ecx + 0x24], dl */ 5644 edx = MEM32(eax + 0x4); /* 0x360942A0: mov edx, dword ptr [eax + 4] */ 5645 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360942A3: mov byte ptr [edx + 0x24], bl */ 5646 ecx = MEM32(ecx + 0x8); /* 0x360942A6: mov ecx, dword ptr [ecx + 8] */ 5647 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360942A9: mov byte ptr [ecx + 0x24], bl */ 5648 ecx = MEM32(eax + 0x4); /* 0x360942AC: mov ecx, dword ptr [eax + 4] */ 5649 edx = MEM32(ecx + 0x8); /* 0x360942AF: mov edx, dword ptr [ecx + 8] */ 5650 esi = MEM32(edx); /* 0x360942B2: mov esi, dword ptr [edx] */ 5651 MEM32(ecx + 0x8) = esi; /* 0x360942B4: mov dword ptr [ecx + 8], esi */ 5652 esi = MEM32(edx); /* 0x360942B7: mov esi, dword ptr [edx] */ 5653 /* cmp esi, MEM32(edi + 0x8) */ /* 0x360942B9: cmp esi, dword ptr [edi + 8] */ 5654 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5655 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5656 _flag_k = FK_CMP; 5657 if (CMP_EQ(_flag_a, _flag_b)) goto L_360942C1; /* 0x360942BC: je 0x360942c1 */ 5658 L_360942BE: 5659 MEM32(esi + 0x4) = ecx; /* 0x360942BE: mov dword ptr [esi + 4], ecx */ 5660 L_360942C1: 5661 esi = MEM32(ecx + 0x4); /* 0x360942C1: mov esi, dword ptr [ecx + 4] */ 5662 MEM32(edx + 0x4) = esi; /* 0x360942C4: mov dword ptr [edx + 4], esi */ 5663 esi = MEM32(edi + 0x4); /* 0x360942C7: mov esi, dword ptr [edi + 4] */ 5664 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x360942CA: cmp ecx, dword ptr [esi + 4] */ 5665 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5666 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5667 _flag_k = FK_CMP; 5668 if (CMP_NE(_flag_a, _flag_b)) goto L_360942D9; /* 0x360942CD: jne 0x360942d9 */ 5669 L_360942CF: 5670 MEM32(esi + 0x4) = edx; /* 0x360942CF: mov dword ptr [esi + 4], edx */ 5671 MEM32(edx) = ecx; /* 0x360942D2: mov dword ptr [edx], ecx */ 5672 goto L_3609438F; /* 0x360942D4: jmp 0x3609438f */ 5673 L_360942D9: 5674 esi = MEM32(ecx + 0x4); /* 0x360942D9: mov esi, dword ptr [ecx + 4] */ 5675 /* cmp ecx, MEM32(esi) */ /* 0x360942DC: cmp ecx, dword ptr [esi] */ 5676 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5677 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5678 _flag_k = FK_CMP; 5679 if (CMP_NE(_flag_a, _flag_b)) goto L_360942E9; /* 0x360942DE: jne 0x360942e9 */ 5680 L_360942E0: 5681 MEM32(esi) = edx; /* 0x360942E0: mov dword ptr [esi], edx */ 5682 MEM32(edx) = ecx; /* 0x360942E2: mov dword ptr [edx], ecx */ 5683 goto L_3609438F; /* 0x360942E4: jmp 0x3609438f */ 5684 L_360942E9: 5685 MEM32(esi + 0x8) = edx; /* 0x360942E9: mov dword ptr [esi + 8], edx */ 5686 MEM32(edx) = ecx; /* 0x360942EC: mov dword ptr [edx], ecx */ 5687 goto L_3609438F; /* 0x360942EE: jmp 0x3609438f */ 5688 L_360942F3: 5689 edx = MEM32(ecx); /* 0x360942F3: mov edx, dword ptr [ecx] */ 5690 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x360942F5: cmp byte ptr [edx + 0x24], bl */ 5691 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5692 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5693 _flag_k = FK_NARROW(FK_CMP, 24); 5694 if (CMP_NE(_flag_a, _flag_b)) goto L_36094341; /* 0x360942F8: jne 0x36094341 */ 5695 L_360942FA: 5696 edx = MEM32(ecx + 0x8); /* 0x360942FA: mov edx, dword ptr [ecx + 8] */ 5697 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360942FD: mov byte ptr [edx + 0x24], bl */ 5698 edx = MEM32(ecx + 0x8); /* 0x36094300: mov edx, dword ptr [ecx + 8] */ 5699 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x36094303: mov byte ptr [ecx + 0x24], 0 */ 5700 esi = MEM32(edx); /* 0x36094307: mov esi, dword ptr [edx] */ 5701 MEM32(ecx + 0x8) = esi; /* 0x36094309: mov dword ptr [ecx + 8], esi */ 5702 esi = MEM32(edx); /* 0x3609430C: mov esi, dword ptr [edx] */ 5703 /* cmp esi, MEM32(edi + 0x8) */ /* 0x3609430E: cmp esi, dword ptr [edi + 8] */ 5704 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5705 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5706 _flag_k = FK_CMP; 5707 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094316; /* 0x36094311: je 0x36094316 */ 5708 L_36094313: 5709 MEM32(esi + 0x4) = ecx; /* 0x36094313: mov dword ptr [esi + 4], ecx */ 5710 L_36094316: 5711 esi = MEM32(ecx + 0x4); /* 0x36094316: mov esi, dword ptr [ecx + 4] */ 5712 MEM32(edx + 0x4) = esi; /* 0x36094319: mov dword ptr [edx + 4], esi */ 5713 esi = MEM32(edi + 0x4); /* 0x3609431C: mov esi, dword ptr [edi + 4] */ 5714 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x3609431F: cmp ecx, dword ptr [esi + 4] */ 5715 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5716 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5717 _flag_k = FK_CMP; 5718 if (CMP_NE(_flag_a, _flag_b)) goto L_36094329; /* 0x36094322: jne 0x36094329 */ 5719 L_36094324: 5720 MEM32(esi + 0x4) = edx; /* 0x36094324: mov dword ptr [esi + 4], edx */ 5721 goto L_36094337; /* 0x36094327: jmp 0x36094337 */ 5722 L_36094329: 5723 esi = MEM32(ecx + 0x4); /* 0x36094329: mov esi, dword ptr [ecx + 4] */ 5724 /* cmp ecx, MEM32(esi) */ /* 0x3609432C: cmp ecx, dword ptr [esi] */ 5725 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5726 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5727 _flag_k = FK_CMP; 5728 if (CMP_NE(_flag_a, _flag_b)) goto L_36094334; /* 0x3609432E: jne 0x36094334 */ 5729 L_36094330: 5730 MEM32(esi) = edx; /* 0x36094330: mov dword ptr [esi], edx */ 5731 goto L_36094337; /* 0x36094332: jmp 0x36094337 */ 5732 L_36094334: 5733 MEM32(esi + 0x8) = edx; /* 0x36094334: mov dword ptr [esi + 8], edx */ 5734 L_36094337: 5735 MEM32(edx) = ecx; /* 0x36094337: mov dword ptr [edx], ecx */ 5736 MEM32(ecx + 0x4) = edx; /* 0x36094339: mov dword ptr [ecx + 4], edx */ 5737 ecx = MEM32(eax + 0x4); /* 0x3609433C: mov ecx, dword ptr [eax + 4] */ 5738 ecx = MEM32(ecx); /* 0x3609433F: mov ecx, dword ptr [ecx] */ 5739 L_36094341: 5740 edx = MEM32(eax + 0x4); /* 0x36094341: mov edx, dword ptr [eax + 4] */ 5741 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x36094344: mov dl, byte ptr [edx + 0x24] */ 5742 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x36094347: mov byte ptr [ecx + 0x24], dl */ 5743 edx = MEM32(eax + 0x4); /* 0x3609434A: mov edx, dword ptr [eax + 4] */ 5744 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x3609434D: mov byte ptr [edx + 0x24], bl */ 5745 ecx = MEM32(ecx); /* 0x36094350: mov ecx, dword ptr [ecx] */ 5746 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094352: mov byte ptr [ecx + 0x24], bl */ 5747 ecx = MEM32(eax + 0x4); /* 0x36094355: mov ecx, dword ptr [eax + 4] */ 5748 edx = MEM32(ecx); /* 0x36094358: mov edx, dword ptr [ecx] */ 5749 esi = MEM32(edx + 0x8); /* 0x3609435A: mov esi, dword ptr [edx + 8] */ 5750 MEM32(ecx) = esi; /* 0x3609435D: mov dword ptr [ecx], esi */ 5751 esi = MEM32(edx + 0x8); /* 0x3609435F: mov esi, dword ptr [edx + 8] */ 5752 /* cmp esi, MEM32(edi + 0x8) */ /* 0x36094362: cmp esi, dword ptr [edi + 8] */ 5753 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5754 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5755 _flag_k = FK_CMP; 5756 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609436A; /* 0x36094365: je 0x3609436a */ 5757 L_36094367: 5758 MEM32(esi + 0x4) = ecx; /* 0x36094367: mov dword ptr [esi + 4], ecx */ 5759 L_3609436A: 5760 esi = MEM32(ecx + 0x4); /* 0x3609436A: mov esi, dword ptr [ecx + 4] */ 5761 MEM32(edx + 0x4) = esi; /* 0x3609436D: mov dword ptr [edx + 4], esi */ 5762 esi = MEM32(edi + 0x4); /* 0x36094370: mov esi, dword ptr [edi + 4] */ 5763 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x36094373: cmp ecx, dword ptr [esi + 4] */ 5764 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5765 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5766 _flag_k = FK_CMP; 5767 if (CMP_NE(_flag_a, _flag_b)) goto L_3609437D; /* 0x36094376: jne 0x3609437d */ 5768 L_36094378: 5769 MEM32(esi + 0x4) = edx; /* 0x36094378: mov dword ptr [esi + 4], edx */ 5770 goto L_3609438C; /* 0x3609437B: jmp 0x3609438c */ 5771 L_3609437D: 5772 esi = MEM32(ecx + 0x4); /* 0x3609437D: mov esi, dword ptr [ecx + 4] */ 5773 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x36094380: cmp ecx, dword ptr [esi + 8] */ 5774 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5775 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5776 _flag_k = FK_CMP; 5777 if (CMP_NE(_flag_a, _flag_b)) goto L_3609438A; /* 0x36094383: jne 0x3609438a */ 5778 L_36094385: 5779 MEM32(esi + 0x8) = edx; /* 0x36094385: mov dword ptr [esi + 8], edx */ 5780 goto L_3609438C; /* 0x36094388: jmp 0x3609438c */ 5781 L_3609438A: 5782 MEM32(esi) = edx; /* 0x3609438A: mov dword ptr [esi], edx */ 5783 L_3609438C: 5784 MEM32(edx + 0x8) = ecx; /* 0x3609438C: mov dword ptr [edx + 8], ecx */ 5785 L_3609438F: 5786 MEM32(ecx + 0x4) = edx; /* 0x3609438F: mov dword ptr [ecx + 4], edx */ 5787 L_36094392: 5788 esi = MEM32(ebp + (-0x4)); /* 0x36094392: mov esi, dword ptr [ebp - 4] */ 5789 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094395: mov byte ptr [eax + 0x24], bl */ 5790 ecx = esi + 0xC; /* 0x36094398: lea ecx, [esi + 0xc] */ 5791 RECOMP_ICALL(0x3610BA00u); /* 0x3609439B: call 0x3610ba00 */ /* not lifted */ 5792 RECOMP_FLAGS_IN(); 5793 PUSH32(esp, esi); /* 0x360943A0: push esi */ 5794 RECOMP_ICALL(0x3615FCC4u); /* 0x360943A1: call 0x3615fcc4 */ /* not lifted */ 5795 RECOMP_FLAGS_IN(); 5796 eax = MEM32(edi + 0x10); /* 0x360943A6: mov eax, dword ptr [edi + 0x10] */ 5797 edx = MEM32(ebp + 0xC); /* 0x360943A9: mov edx, dword ptr [ebp + 0xc] */ 5798 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5799 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5800 esp = esp + 4; /* 0x360943AC: add esp, 4 */ 5801 _flag_k = FK_ADD; 5802 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 5803 eax = eax - 1; /* 0x360943AF: dec eax */ 5804 _flag_k = FK_DEC; 5805 MEM32(edi + 0x10) = eax; /* 0x360943B0: mov dword ptr [edi + 0x10], eax */ 5806 eax = MEM32(ebp + 0x8); /* 0x360943B3: mov eax, dword ptr [ebp + 8] */ 5807 edi = POP32_VAL(esp); /* 0x360943B6: pop edi */ 5808 esi = POP32_VAL(esp); /* 0x360943B7: pop esi */ 5809 MEM32(eax) = edx; /* 0x360943B8: mov dword ptr [eax], edx */ 5810 ebx = POP32_VAL(esp); /* 0x360943BA: pop ebx */ 5811 esp = ebp; /* 0x360943BB: mov esp, ebp */ 5812 ebp = POP32_VAL(esp); /* 0x360943BD: pop ebp */ 5813 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x360943BE: ret 8 */ 5814 RECOMP_REGS_OUT(); 5815 } 5816 5817 void sub_36094246(void) { 5818 int _fpu_cmp = 0; 5819 uint32_t _cf = 0; 5820 int _df = 1; 5821 uint32_t _flag_k = FK_NONE; 5822 uint32_t _flag_a = 0, _flag_b = 0; 5823 uint32_t _itail_tgt = 0; 5824 RECOMP_REGS_LOCALS 5825 RECOMP_ENTER(0x36094246u); 5826 5827 L_36094246: 5828 edx = MEM32(ecx + 0x8); /* 0x36094246: mov edx, dword ptr [ecx + 8] */ 5829 /* cmp MEM8(edx + 0x24), LO8(ebx) */ /* 0x36094249: cmp byte ptr [edx + 0x24], bl */ 5830 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 5831 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5832 _flag_k = FK_NARROW(FK_CMP, 24); 5833 if (CMP_NE(_flag_a, _flag_b)) goto L_36094297; /* 0x3609424C: jne 0x36094297 */ 5834 L_3609424E: 5835 edx = MEM32(ecx); /* 0x3609424E: mov edx, dword ptr [ecx] */ 5836 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094250: mov byte ptr [edx + 0x24], bl */ 5837 edx = MEM32(ecx); /* 0x36094253: mov edx, dword ptr [ecx] */ 5838 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x36094255: mov byte ptr [ecx + 0x24], 0 */ 5839 esi = MEM32(edx + 0x8); /* 0x36094259: mov esi, dword ptr [edx + 8] */ 5840 MEM32(ecx) = esi; /* 0x3609425C: mov dword ptr [ecx], esi */ 5841 esi = MEM32(edx + 0x8); /* 0x3609425E: mov esi, dword ptr [edx + 8] */ 5842 /* cmp esi, MEM32(edi + 0x8) */ /* 0x36094261: cmp esi, dword ptr [edi + 8] */ 5843 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5844 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5845 _flag_k = FK_CMP; 5846 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094269; /* 0x36094264: je 0x36094269 */ 5847 L_36094266: 5848 MEM32(esi + 0x4) = ecx; /* 0x36094266: mov dword ptr [esi + 4], ecx */ 5849 L_36094269: 5850 esi = MEM32(ecx + 0x4); /* 0x36094269: mov esi, dword ptr [ecx + 4] */ 5851 MEM32(edx + 0x4) = esi; /* 0x3609426C: mov dword ptr [edx + 4], esi */ 5852 esi = MEM32(edi + 0x4); /* 0x3609426F: mov esi, dword ptr [edi + 4] */ 5853 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x36094272: cmp ecx, dword ptr [esi + 4] */ 5854 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5855 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5856 _flag_k = FK_CMP; 5857 if (CMP_NE(_flag_a, _flag_b)) goto L_3609427C; /* 0x36094275: jne 0x3609427c */ 5858 L_36094277: 5859 MEM32(esi + 0x4) = edx; /* 0x36094277: mov dword ptr [esi + 4], edx */ 5860 goto L_3609428B; /* 0x3609427A: jmp 0x3609428b */ 5861 L_3609427C: 5862 esi = MEM32(ecx + 0x4); /* 0x3609427C: mov esi, dword ptr [ecx + 4] */ 5863 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x3609427F: cmp ecx, dword ptr [esi + 8] */ 5864 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 5865 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5866 _flag_k = FK_CMP; 5867 if (CMP_NE(_flag_a, _flag_b)) goto L_36094289; /* 0x36094282: jne 0x36094289 */ 5868 L_36094284: 5869 MEM32(esi + 0x8) = edx; /* 0x36094284: mov dword ptr [esi + 8], edx */ 5870 goto L_3609428B; /* 0x36094287: jmp 0x3609428b */ 5871 L_36094289: 5872 MEM32(esi) = edx; /* 0x36094289: mov dword ptr [esi], edx */ 5873 L_3609428B: 5874 MEM32(edx + 0x8) = ecx; /* 0x3609428B: mov dword ptr [edx + 8], ecx */ 5875 MEM32(ecx + 0x4) = edx; /* 0x3609428E: mov dword ptr [ecx + 4], edx */ 5876 ecx = MEM32(eax + 0x4); /* 0x36094291: mov ecx, dword ptr [eax + 4] */ 5877 ecx = MEM32(ecx + 0x8); /* 0x36094294: mov ecx, dword ptr [ecx + 8] */ 5878 L_36094297: 5879 edx = MEM32(eax + 0x4); /* 0x36094297: mov edx, dword ptr [eax + 4] */ 5880 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x3609429A: mov dl, byte ptr [edx + 0x24] */ 5881 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x3609429D: mov byte ptr [ecx + 0x24], dl */ 5882 edx = MEM32(eax + 0x4); /* 0x360942A0: mov edx, dword ptr [eax + 4] */ 5883 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360942A3: mov byte ptr [edx + 0x24], bl */ 5884 ecx = MEM32(ecx + 0x8); /* 0x360942A6: mov ecx, dword ptr [ecx + 8] */ 5885 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360942A9: mov byte ptr [ecx + 0x24], bl */ 5886 ecx = MEM32(eax + 0x4); /* 0x360942AC: mov ecx, dword ptr [eax + 4] */ 5887 edx = MEM32(ecx + 0x8); /* 0x360942AF: mov edx, dword ptr [ecx + 8] */ 5888 esi = MEM32(edx); /* 0x360942B2: mov esi, dword ptr [edx] */ 5889 MEM32(ecx + 0x8) = esi; /* 0x360942B4: mov dword ptr [ecx + 8], esi */ 5890 esi = MEM32(edx); /* 0x360942B7: mov esi, dword ptr [edx] */ 5891 /* cmp esi, MEM32(edi + 0x8) */ /* 0x360942B9: cmp esi, dword ptr [edi + 8] */ 5892 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5893 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5894 _flag_k = FK_CMP; 5895 if (CMP_EQ(_flag_a, _flag_b)) goto L_360942C1; /* 0x360942BC: je 0x360942c1 */ 5896 L_360942BE: 5897 MEM32(esi + 0x4) = ecx; /* 0x360942BE: mov dword ptr [esi + 4], ecx */ 5898 L_360942C1: 5899 esi = MEM32(ecx + 0x4); /* 0x360942C1: mov esi, dword ptr [ecx + 4] */ 5900 MEM32(edx + 0x4) = esi; /* 0x360942C4: mov dword ptr [edx + 4], esi */ 5901 esi = MEM32(edi + 0x4); /* 0x360942C7: mov esi, dword ptr [edi + 4] */ 5902 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x360942CA: cmp ecx, dword ptr [esi + 4] */ 5903 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5904 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5905 _flag_k = FK_CMP; 5906 if (CMP_NE(_flag_a, _flag_b)) goto L_360942D9; /* 0x360942CD: jne 0x360942d9 */ 5907 L_360942CF: 5908 MEM32(esi + 0x4) = edx; /* 0x360942CF: mov dword ptr [esi + 4], edx */ 5909 MEM32(edx) = ecx; /* 0x360942D2: mov dword ptr [edx], ecx */ 5910 goto L_3609438F; /* 0x360942D4: jmp 0x3609438f */ 5911 L_360942D9: 5912 esi = MEM32(ecx + 0x4); /* 0x360942D9: mov esi, dword ptr [ecx + 4] */ 5913 /* cmp ecx, MEM32(esi) */ /* 0x360942DC: cmp ecx, dword ptr [esi] */ 5914 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 5915 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5916 _flag_k = FK_CMP; 5917 if (CMP_NE(_flag_a, _flag_b)) goto L_360942E9; /* 0x360942DE: jne 0x360942e9 */ 5918 L_360942E0: 5919 MEM32(esi) = edx; /* 0x360942E0: mov dword ptr [esi], edx */ 5920 MEM32(edx) = ecx; /* 0x360942E2: mov dword ptr [edx], ecx */ 5921 goto L_3609438F; /* 0x360942E4: jmp 0x3609438f */ 5922 L_360942E9: 5923 MEM32(esi + 0x8) = edx; /* 0x360942E9: mov dword ptr [esi + 8], edx */ 5924 MEM32(edx) = ecx; /* 0x360942EC: mov dword ptr [edx], ecx */ 5925 goto L_3609438F; /* 0x360942EE: jmp 0x3609438f */ 5926 L_3609438F: 5927 MEM32(ecx + 0x4) = edx; /* 0x3609438F: mov dword ptr [ecx + 4], edx */ 5928 esi = MEM32(ebp + (-0x4)); /* 0x36094392: mov esi, dword ptr [ebp - 4] */ 5929 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094395: mov byte ptr [eax + 0x24], bl */ 5930 ecx = esi + 0xC; /* 0x36094398: lea ecx, [esi + 0xc] */ 5931 RECOMP_ICALL(0x3610BA00u); /* 0x3609439B: call 0x3610ba00 */ /* not lifted */ 5932 RECOMP_FLAGS_IN(); 5933 PUSH32(esp, esi); /* 0x360943A0: push esi */ 5934 RECOMP_ICALL(0x3615FCC4u); /* 0x360943A1: call 0x3615fcc4 */ /* not lifted */ 5935 RECOMP_FLAGS_IN(); 5936 eax = MEM32(edi + 0x10); /* 0x360943A6: mov eax, dword ptr [edi + 0x10] */ 5937 edx = MEM32(ebp + 0xC); /* 0x360943A9: mov edx, dword ptr [ebp + 0xc] */ 5938 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 5939 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 5940 esp = esp + 4; /* 0x360943AC: add esp, 4 */ 5941 _flag_k = FK_ADD; 5942 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 5943 eax = eax - 1; /* 0x360943AF: dec eax */ 5944 _flag_k = FK_DEC; 5945 MEM32(edi + 0x10) = eax; /* 0x360943B0: mov dword ptr [edi + 0x10], eax */ 5946 eax = MEM32(ebp + 0x8); /* 0x360943B3: mov eax, dword ptr [ebp + 8] */ 5947 edi = POP32_VAL(esp); /* 0x360943B6: pop edi */ 5948 esi = POP32_VAL(esp); /* 0x360943B7: pop esi */ 5949 MEM32(eax) = edx; /* 0x360943B8: mov dword ptr [eax], edx */ 5950 ebx = POP32_VAL(esp); /* 0x360943BA: pop ebx */ 5951 esp = ebp; /* 0x360943BB: mov esp, ebp */ 5952 ebp = POP32_VAL(esp); /* 0x360943BD: pop ebp */ 5953 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x360943BE: ret 8 */ 5954 RECOMP_REGS_OUT(); 5955 } 5956 5957 void sub_3609428B(void) { 5958 int _fpu_cmp = 0; 5959 uint32_t _cf = 0; 5960 int _df = 1; 5961 uint32_t _flag_k = FK_NONE; 5962 uint32_t _flag_a = 0, _flag_b = 0; 5963 uint32_t _itail_tgt = 0; 5964 RECOMP_REGS_LOCALS 5965 RECOMP_ENTER(0x3609428Bu); 5966 5967 L_3609428B: 5968 MEM32(edx + 0x8) = ecx; /* 0x3609428B: mov dword ptr [edx + 8], ecx */ 5969 MEM32(ecx + 0x4) = edx; /* 0x3609428E: mov dword ptr [ecx + 4], edx */ 5970 ecx = MEM32(eax + 0x4); /* 0x36094291: mov ecx, dword ptr [eax + 4] */ 5971 ecx = MEM32(ecx + 0x8); /* 0x36094294: mov ecx, dword ptr [ecx + 8] */ 5972 edx = MEM32(eax + 0x4); /* 0x36094297: mov edx, dword ptr [eax + 4] */ 5973 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x3609429A: mov dl, byte ptr [edx + 0x24] */ 5974 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x3609429D: mov byte ptr [ecx + 0x24], dl */ 5975 edx = MEM32(eax + 0x4); /* 0x360942A0: mov edx, dword ptr [eax + 4] */ 5976 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360942A3: mov byte ptr [edx + 0x24], bl */ 5977 ecx = MEM32(ecx + 0x8); /* 0x360942A6: mov ecx, dword ptr [ecx + 8] */ 5978 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x360942A9: mov byte ptr [ecx + 0x24], bl */ 5979 ecx = MEM32(eax + 0x4); /* 0x360942AC: mov ecx, dword ptr [eax + 4] */ 5980 edx = MEM32(ecx + 0x8); /* 0x360942AF: mov edx, dword ptr [ecx + 8] */ 5981 esi = MEM32(edx); /* 0x360942B2: mov esi, dword ptr [edx] */ 5982 MEM32(ecx + 0x8) = esi; /* 0x360942B4: mov dword ptr [ecx + 8], esi */ 5983 esi = MEM32(edx); /* 0x360942B7: mov esi, dword ptr [edx] */ 5984 /* cmp esi, MEM32(edi + 0x8) */ /* 0x360942B9: cmp esi, dword ptr [edi + 8] */ 5985 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 5986 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5987 _flag_k = FK_CMP; 5988 if (CMP_EQ(_flag_a, _flag_b)) goto L_360942C1; /* 0x360942BC: je 0x360942c1 */ 5989 L_360942BE: 5990 MEM32(esi + 0x4) = ecx; /* 0x360942BE: mov dword ptr [esi + 4], ecx */ 5991 L_360942C1: 5992 esi = MEM32(ecx + 0x4); /* 0x360942C1: mov esi, dword ptr [ecx + 4] */ 5993 MEM32(edx + 0x4) = esi; /* 0x360942C4: mov dword ptr [edx + 4], esi */ 5994 esi = MEM32(edi + 0x4); /* 0x360942C7: mov esi, dword ptr [edi + 4] */ 5995 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x360942CA: cmp ecx, dword ptr [esi + 4] */ 5996 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 5997 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 5998 _flag_k = FK_CMP; 5999 if (CMP_NE(_flag_a, _flag_b)) goto L_360942D9; /* 0x360942CD: jne 0x360942d9 */ 6000 L_360942CF: 6001 MEM32(esi + 0x4) = edx; /* 0x360942CF: mov dword ptr [esi + 4], edx */ 6002 MEM32(edx) = ecx; /* 0x360942D2: mov dword ptr [edx], ecx */ 6003 goto L_3609438F; /* 0x360942D4: jmp 0x3609438f */ 6004 L_360942D9: 6005 esi = MEM32(ecx + 0x4); /* 0x360942D9: mov esi, dword ptr [ecx + 4] */ 6006 /* cmp ecx, MEM32(esi) */ /* 0x360942DC: cmp ecx, dword ptr [esi] */ 6007 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi)); 6008 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6009 _flag_k = FK_CMP; 6010 if (CMP_NE(_flag_a, _flag_b)) goto L_360942E9; /* 0x360942DE: jne 0x360942e9 */ 6011 L_360942E0: 6012 MEM32(esi) = edx; /* 0x360942E0: mov dword ptr [esi], edx */ 6013 MEM32(edx) = ecx; /* 0x360942E2: mov dword ptr [edx], ecx */ 6014 goto L_3609438F; /* 0x360942E4: jmp 0x3609438f */ 6015 L_360942E9: 6016 MEM32(esi + 0x8) = edx; /* 0x360942E9: mov dword ptr [esi + 8], edx */ 6017 MEM32(edx) = ecx; /* 0x360942EC: mov dword ptr [edx], ecx */ 6018 goto L_3609438F; /* 0x360942EE: jmp 0x3609438f */ 6019 L_3609438F: 6020 MEM32(ecx + 0x4) = edx; /* 0x3609438F: mov dword ptr [ecx + 4], edx */ 6021 esi = MEM32(ebp + (-0x4)); /* 0x36094392: mov esi, dword ptr [ebp - 4] */ 6022 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094395: mov byte ptr [eax + 0x24], bl */ 6023 ecx = esi + 0xC; /* 0x36094398: lea ecx, [esi + 0xc] */ 6024 RECOMP_ICALL(0x3610BA00u); /* 0x3609439B: call 0x3610ba00 */ /* not lifted */ 6025 RECOMP_FLAGS_IN(); 6026 PUSH32(esp, esi); /* 0x360943A0: push esi */ 6027 RECOMP_ICALL(0x3615FCC4u); /* 0x360943A1: call 0x3615fcc4 */ /* not lifted */ 6028 RECOMP_FLAGS_IN(); 6029 eax = MEM32(edi + 0x10); /* 0x360943A6: mov eax, dword ptr [edi + 0x10] */ 6030 edx = MEM32(ebp + 0xC); /* 0x360943A9: mov edx, dword ptr [ebp + 0xc] */ 6031 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6032 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6033 esp = esp + 4; /* 0x360943AC: add esp, 4 */ 6034 _flag_k = FK_ADD; 6035 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 6036 eax = eax - 1; /* 0x360943AF: dec eax */ 6037 _flag_k = FK_DEC; 6038 MEM32(edi + 0x10) = eax; /* 0x360943B0: mov dword ptr [edi + 0x10], eax */ 6039 eax = MEM32(ebp + 0x8); /* 0x360943B3: mov eax, dword ptr [ebp + 8] */ 6040 edi = POP32_VAL(esp); /* 0x360943B6: pop edi */ 6041 esi = POP32_VAL(esp); /* 0x360943B7: pop esi */ 6042 MEM32(eax) = edx; /* 0x360943B8: mov dword ptr [eax], edx */ 6043 ebx = POP32_VAL(esp); /* 0x360943BA: pop ebx */ 6044 esp = ebp; /* 0x360943BB: mov esp, ebp */ 6045 ebp = POP32_VAL(esp); /* 0x360943BD: pop ebp */ 6046 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x360943BE: ret 8 */ 6047 RECOMP_REGS_OUT(); 6048 } 6049 6050 void sub_36094337(void) { 6051 int _fpu_cmp = 0; 6052 uint32_t _cf = 0; 6053 int _df = 1; 6054 uint32_t _flag_k = FK_NONE; 6055 uint32_t _flag_a = 0, _flag_b = 0; 6056 uint32_t _itail_tgt = 0; 6057 RECOMP_REGS_LOCALS 6058 RECOMP_ENTER(0x36094337u); 6059 6060 L_36094337: 6061 MEM32(edx) = ecx; /* 0x36094337: mov dword ptr [edx], ecx */ 6062 MEM32(ecx + 0x4) = edx; /* 0x36094339: mov dword ptr [ecx + 4], edx */ 6063 ecx = MEM32(eax + 0x4); /* 0x3609433C: mov ecx, dword ptr [eax + 4] */ 6064 ecx = MEM32(ecx); /* 0x3609433F: mov ecx, dword ptr [ecx] */ 6065 edx = MEM32(eax + 0x4); /* 0x36094341: mov edx, dword ptr [eax + 4] */ 6066 SET_LO8(edx, MEM8(edx + 0x24)); /* 0x36094344: mov dl, byte ptr [edx + 0x24] */ 6067 MEM8(ecx + 0x24) = (uint8_t)(LO8(edx)); /* 0x36094347: mov byte ptr [ecx + 0x24], dl */ 6068 edx = MEM32(eax + 0x4); /* 0x3609434A: mov edx, dword ptr [eax + 4] */ 6069 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x3609434D: mov byte ptr [edx + 0x24], bl */ 6070 ecx = MEM32(ecx); /* 0x36094350: mov ecx, dword ptr [ecx] */ 6071 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094352: mov byte ptr [ecx + 0x24], bl */ 6072 ecx = MEM32(eax + 0x4); /* 0x36094355: mov ecx, dword ptr [eax + 4] */ 6073 edx = MEM32(ecx); /* 0x36094358: mov edx, dword ptr [ecx] */ 6074 esi = MEM32(edx + 0x8); /* 0x3609435A: mov esi, dword ptr [edx + 8] */ 6075 MEM32(ecx) = esi; /* 0x3609435D: mov dword ptr [ecx], esi */ 6076 esi = MEM32(edx + 0x8); /* 0x3609435F: mov esi, dword ptr [edx + 8] */ 6077 /* cmp esi, MEM32(edi + 0x8) */ /* 0x36094362: cmp esi, dword ptr [edi + 8] */ 6078 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6079 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6080 _flag_k = FK_CMP; 6081 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609436A; /* 0x36094365: je 0x3609436a */ 6082 L_36094367: 6083 MEM32(esi + 0x4) = ecx; /* 0x36094367: mov dword ptr [esi + 4], ecx */ 6084 L_3609436A: 6085 esi = MEM32(ecx + 0x4); /* 0x3609436A: mov esi, dword ptr [ecx + 4] */ 6086 MEM32(edx + 0x4) = esi; /* 0x3609436D: mov dword ptr [edx + 4], esi */ 6087 esi = MEM32(edi + 0x4); /* 0x36094370: mov esi, dword ptr [edi + 4] */ 6088 /* cmp ecx, MEM32(esi + 0x4) */ /* 0x36094373: cmp ecx, dword ptr [esi + 4] */ 6089 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x4)); 6090 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6091 _flag_k = FK_CMP; 6092 if (CMP_NE(_flag_a, _flag_b)) goto L_3609437D; /* 0x36094376: jne 0x3609437d */ 6093 L_36094378: 6094 MEM32(esi + 0x4) = edx; /* 0x36094378: mov dword ptr [esi + 4], edx */ 6095 goto L_3609438C; /* 0x3609437B: jmp 0x3609438c */ 6096 L_3609437D: 6097 esi = MEM32(ecx + 0x4); /* 0x3609437D: mov esi, dword ptr [ecx + 4] */ 6098 /* cmp ecx, MEM32(esi + 0x8) */ /* 0x36094380: cmp ecx, dword ptr [esi + 8] */ 6099 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6100 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6101 _flag_k = FK_CMP; 6102 if (CMP_NE(_flag_a, _flag_b)) goto L_3609438A; /* 0x36094383: jne 0x3609438a */ 6103 L_36094385: 6104 MEM32(esi + 0x8) = edx; /* 0x36094385: mov dword ptr [esi + 8], edx */ 6105 goto L_3609438C; /* 0x36094388: jmp 0x3609438c */ 6106 L_3609438A: 6107 MEM32(esi) = edx; /* 0x3609438A: mov dword ptr [esi], edx */ 6108 L_3609438C: 6109 MEM32(edx + 0x8) = ecx; /* 0x3609438C: mov dword ptr [edx + 8], ecx */ 6110 MEM32(ecx + 0x4) = edx; /* 0x3609438F: mov dword ptr [ecx + 4], edx */ 6111 esi = MEM32(ebp + (-0x4)); /* 0x36094392: mov esi, dword ptr [ebp - 4] */ 6112 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094395: mov byte ptr [eax + 0x24], bl */ 6113 ecx = esi + 0xC; /* 0x36094398: lea ecx, [esi + 0xc] */ 6114 RECOMP_ICALL(0x3610BA00u); /* 0x3609439B: call 0x3610ba00 */ /* not lifted */ 6115 RECOMP_FLAGS_IN(); 6116 PUSH32(esp, esi); /* 0x360943A0: push esi */ 6117 RECOMP_ICALL(0x3615FCC4u); /* 0x360943A1: call 0x3615fcc4 */ /* not lifted */ 6118 RECOMP_FLAGS_IN(); 6119 eax = MEM32(edi + 0x10); /* 0x360943A6: mov eax, dword ptr [edi + 0x10] */ 6120 edx = MEM32(ebp + 0xC); /* 0x360943A9: mov edx, dword ptr [ebp + 0xc] */ 6121 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6122 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6123 esp = esp + 4; /* 0x360943AC: add esp, 4 */ 6124 _flag_k = FK_ADD; 6125 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 6126 eax = eax - 1; /* 0x360943AF: dec eax */ 6127 _flag_k = FK_DEC; 6128 MEM32(edi + 0x10) = eax; /* 0x360943B0: mov dword ptr [edi + 0x10], eax */ 6129 eax = MEM32(ebp + 0x8); /* 0x360943B3: mov eax, dword ptr [ebp + 8] */ 6130 edi = POP32_VAL(esp); /* 0x360943B6: pop edi */ 6131 esi = POP32_VAL(esp); /* 0x360943B7: pop esi */ 6132 MEM32(eax) = edx; /* 0x360943B8: mov dword ptr [eax], edx */ 6133 ebx = POP32_VAL(esp); /* 0x360943BA: pop ebx */ 6134 esp = ebp; /* 0x360943BB: mov esp, ebp */ 6135 ebp = POP32_VAL(esp); /* 0x360943BD: pop ebp */ 6136 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x360943BE: ret 8 */ 6137 RECOMP_REGS_OUT(); 6138 } 6139 6140 void sub_3609438C(void) { 6141 int _fpu_cmp = 0; 6142 uint32_t _cf = 0; 6143 int _df = 1; 6144 uint32_t _flag_k = FK_NONE; 6145 uint32_t _flag_a = 0, _flag_b = 0; 6146 uint32_t _itail_tgt = 0; 6147 RECOMP_REGS_LOCALS 6148 RECOMP_ENTER(0x3609438Cu); 6149 6150 L_3609438C: 6151 MEM32(edx + 0x8) = ecx; /* 0x3609438C: mov dword ptr [edx + 8], ecx */ 6152 MEM32(ecx + 0x4) = edx; /* 0x3609438F: mov dword ptr [ecx + 4], edx */ 6153 esi = MEM32(ebp + (-0x4)); /* 0x36094392: mov esi, dword ptr [ebp - 4] */ 6154 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094395: mov byte ptr [eax + 0x24], bl */ 6155 ecx = esi + 0xC; /* 0x36094398: lea ecx, [esi + 0xc] */ 6156 RECOMP_ICALL(0x3610BA00u); /* 0x3609439B: call 0x3610ba00 */ /* not lifted */ 6157 RECOMP_FLAGS_IN(); 6158 PUSH32(esp, esi); /* 0x360943A0: push esi */ 6159 RECOMP_ICALL(0x3615FCC4u); /* 0x360943A1: call 0x3615fcc4 */ /* not lifted */ 6160 RECOMP_FLAGS_IN(); 6161 eax = MEM32(edi + 0x10); /* 0x360943A6: mov eax, dword ptr [edi + 0x10] */ 6162 edx = MEM32(ebp + 0xC); /* 0x360943A9: mov edx, dword ptr [ebp + 0xc] */ 6163 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6164 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6165 esp = esp + 4; /* 0x360943AC: add esp, 4 */ 6166 _flag_k = FK_ADD; 6167 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 6168 eax = eax - 1; /* 0x360943AF: dec eax */ 6169 _flag_k = FK_DEC; 6170 MEM32(edi + 0x10) = eax; /* 0x360943B0: mov dword ptr [edi + 0x10], eax */ 6171 eax = MEM32(ebp + 0x8); /* 0x360943B3: mov eax, dword ptr [ebp + 8] */ 6172 edi = POP32_VAL(esp); /* 0x360943B6: pop edi */ 6173 esi = POP32_VAL(esp); /* 0x360943B7: pop esi */ 6174 MEM32(eax) = edx; /* 0x360943B8: mov dword ptr [eax], edx */ 6175 ebx = POP32_VAL(esp); /* 0x360943BA: pop ebx */ 6176 esp = ebp; /* 0x360943BB: mov esp, ebp */ 6177 ebp = POP32_VAL(esp); /* 0x360943BD: pop ebp */ 6178 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x360943BE: ret 8 */ 6179 RECOMP_REGS_OUT(); 6180 } 6181 6182 void sub_3609438F(void) { 6183 int _fpu_cmp = 0; 6184 uint32_t _cf = 0; 6185 int _df = 1; 6186 uint32_t _flag_k = FK_NONE; 6187 uint32_t _flag_a = 0, _flag_b = 0; 6188 uint32_t _itail_tgt = 0; 6189 RECOMP_REGS_LOCALS 6190 RECOMP_ENTER(0x3609438Fu); 6191 6192 L_3609438F: 6193 MEM32(ecx + 0x4) = edx; /* 0x3609438F: mov dword ptr [ecx + 4], edx */ 6194 esi = MEM32(ebp + (-0x4)); /* 0x36094392: mov esi, dword ptr [ebp - 4] */ 6195 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094395: mov byte ptr [eax + 0x24], bl */ 6196 ecx = esi + 0xC; /* 0x36094398: lea ecx, [esi + 0xc] */ 6197 RECOMP_ICALL(0x3610BA00u); /* 0x3609439B: call 0x3610ba00 */ /* not lifted */ 6198 RECOMP_FLAGS_IN(); 6199 PUSH32(esp, esi); /* 0x360943A0: push esi */ 6200 RECOMP_ICALL(0x3615FCC4u); /* 0x360943A1: call 0x3615fcc4 */ /* not lifted */ 6201 RECOMP_FLAGS_IN(); 6202 eax = MEM32(edi + 0x10); /* 0x360943A6: mov eax, dword ptr [edi + 0x10] */ 6203 edx = MEM32(ebp + 0xC); /* 0x360943A9: mov edx, dword ptr [ebp + 0xc] */ 6204 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6205 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6206 esp = esp + 4; /* 0x360943AC: add esp, 4 */ 6207 _flag_k = FK_ADD; 6208 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 6209 eax = eax - 1; /* 0x360943AF: dec eax */ 6210 _flag_k = FK_DEC; 6211 MEM32(edi + 0x10) = eax; /* 0x360943B0: mov dword ptr [edi + 0x10], eax */ 6212 eax = MEM32(ebp + 0x8); /* 0x360943B3: mov eax, dword ptr [ebp + 8] */ 6213 edi = POP32_VAL(esp); /* 0x360943B6: pop edi */ 6214 esi = POP32_VAL(esp); /* 0x360943B7: pop esi */ 6215 MEM32(eax) = edx; /* 0x360943B8: mov dword ptr [eax], edx */ 6216 ebx = POP32_VAL(esp); /* 0x360943BA: pop ebx */ 6217 esp = ebp; /* 0x360943BB: mov esp, ebp */ 6218 ebp = POP32_VAL(esp); /* 0x360943BD: pop ebp */ 6219 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x360943BE: ret 8 */ 6220 RECOMP_REGS_OUT(); 6221 } 6222 6223 void sub_36094392(void) { 6224 int _fpu_cmp = 0; 6225 uint32_t _cf = 0; 6226 int _df = 1; 6227 uint32_t _flag_k = FK_NONE; 6228 uint32_t _flag_a = 0, _flag_b = 0; 6229 uint32_t _itail_tgt = 0; 6230 RECOMP_REGS_LOCALS 6231 RECOMP_ENTER(0x36094392u); 6232 6233 L_36094392: 6234 esi = MEM32(ebp + (-0x4)); /* 0x36094392: mov esi, dword ptr [ebp - 4] */ 6235 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094395: mov byte ptr [eax + 0x24], bl */ 6236 ecx = esi + 0xC; /* 0x36094398: lea ecx, [esi + 0xc] */ 6237 RECOMP_ICALL(0x3610BA00u); /* 0x3609439B: call 0x3610ba00 */ /* not lifted */ 6238 RECOMP_FLAGS_IN(); 6239 PUSH32(esp, esi); /* 0x360943A0: push esi */ 6240 RECOMP_ICALL(0x3615FCC4u); /* 0x360943A1: call 0x3615fcc4 */ /* not lifted */ 6241 RECOMP_FLAGS_IN(); 6242 eax = MEM32(edi + 0x10); /* 0x360943A6: mov eax, dword ptr [edi + 0x10] */ 6243 edx = MEM32(ebp + 0xC); /* 0x360943A9: mov edx, dword ptr [ebp + 0xc] */ 6244 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6245 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6246 esp = esp + 4; /* 0x360943AC: add esp, 4 */ 6247 _flag_k = FK_ADD; 6248 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 6249 eax = eax - 1; /* 0x360943AF: dec eax */ 6250 _flag_k = FK_DEC; 6251 MEM32(edi + 0x10) = eax; /* 0x360943B0: mov dword ptr [edi + 0x10], eax */ 6252 eax = MEM32(ebp + 0x8); /* 0x360943B3: mov eax, dword ptr [ebp + 8] */ 6253 edi = POP32_VAL(esp); /* 0x360943B6: pop edi */ 6254 esi = POP32_VAL(esp); /* 0x360943B7: pop esi */ 6255 MEM32(eax) = edx; /* 0x360943B8: mov dword ptr [eax], edx */ 6256 ebx = POP32_VAL(esp); /* 0x360943BA: pop ebx */ 6257 esp = ebp; /* 0x360943BB: mov esp, ebp */ 6258 ebp = POP32_VAL(esp); /* 0x360943BD: pop ebp */ 6259 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x360943BE: ret 8 */ 6260 RECOMP_REGS_OUT(); 6261 } 6262 6263 void sub_360943D0(void) { 6264 int _fpu_cmp = 0; 6265 uint32_t _cf = 0; 6266 int _df = 1; 6267 uint32_t _flag_k = FK_NONE; 6268 uint32_t _flag_a = 0, _flag_b = 0; 6269 uint32_t _itail_tgt = 0; 6270 RECOMP_REGS_LOCALS 6271 RECOMP_ENTER(0x360943D0u); 6272 6273 L_360943D0: 6274 PUSH32(esp, ebp); /* 0x360943D0: push ebp */ 6275 ebp = esp; /* 0x360943D1: mov ebp, esp */ 6276 edx = MEM32(ecx + 0x4); /* 0x360943D3: mov edx, dword ptr [ecx + 4] */ 6277 eax = MEM32(edx + 0x4); /* 0x360943D6: mov eax, dword ptr [edx + 4] */ 6278 ecx = MEM32(ecx + 0x8); /* 0x360943D9: mov ecx, dword ptr [ecx + 8] */ 6279 /* cmp eax, ecx */ /* 0x360943DC: cmp eax, ecx */ 6280 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 6281 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6282 _flag_k = FK_CMP; 6283 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094402; /* 0x360943DE: je 0x36094402 */ 6284 L_360943E0: 6285 PUSH32(esp, esi); /* 0x360943E0: push esi */ 6286 esi = MEM32(ebp + 0xC); /* 0x360943E1: mov esi, dword ptr [ebp + 0xc] */ 6287 esi = MEM32(esi); /* 0x360943E4: mov esi, dword ptr [esi] */ 6288 L_360943E6: 6289 /* cmp MEM32(eax + 0xC), esi */ /* 0x360943E6: cmp dword ptr [eax + 0xc], esi */ 6290 _flag_a = (uint32_t)(MEM32(eax + 0xC)); _flag_b = (uint32_t)(esi); 6291 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6292 _flag_k = FK_CMP; 6293 if (CMP_AE(_flag_a, _flag_b)) goto L_360943F0; /* 0x360943E9: jae 0x360943f0 */ 6294 L_360943EB: 6295 eax = MEM32(eax + 0x8); /* 0x360943EB: mov eax, dword ptr [eax + 8] */ 6296 goto L_360943F4; /* 0x360943EE: jmp 0x360943f4 */ 6297 L_360943F0: 6298 edx = eax; /* 0x360943F0: mov edx, eax */ 6299 eax = MEM32(eax); /* 0x360943F2: mov eax, dword ptr [eax] */ 6300 L_360943F4: 6301 /* cmp eax, ecx */ /* 0x360943F4: cmp eax, ecx */ 6302 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 6303 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6304 _flag_k = FK_CMP; 6305 RECOMP_BACKEDGE(); 6306 if (CMP_NE(_flag_a, _flag_b)) goto L_360943E6; /* 0x360943F6: jne 0x360943e6 */ 6307 L_360943F8: 6308 eax = MEM32(ebp + 0x8); /* 0x360943F8: mov eax, dword ptr [ebp + 8] */ 6309 MEM32(eax) = edx; /* 0x360943FB: mov dword ptr [eax], edx */ 6310 esi = POP32_VAL(esp); /* 0x360943FD: pop esi */ 6311 ebp = POP32_VAL(esp); /* 0x360943FE: pop ebp */ 6312 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x360943FF: ret 8 */ 6313 L_36094402: 6314 eax = MEM32(ebp + 0x8); /* 0x36094402: mov eax, dword ptr [ebp + 8] */ 6315 MEM32(eax) = edx; /* 0x36094405: mov dword ptr [eax], edx */ 6316 ebp = POP32_VAL(esp); /* 0x36094407: pop ebp */ 6317 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x36094408: ret 8 */ 6318 RECOMP_REGS_OUT(); 6319 } 6320 6321 void sub_36094410(void) { 6322 int _fpu_cmp = 0; 6323 uint32_t _cf = 0; 6324 int _df = 1; 6325 uint32_t _flag_k = FK_NONE; 6326 uint32_t _flag_a = 0, _flag_b = 0; 6327 uint32_t _itail_tgt = 0; 6328 RECOMP_REGS_LOCALS 6329 RECOMP_ENTER(0x36094410u); 6330 6331 L_36094410: 6332 PUSH32(esp, ebp); /* 0x36094410: push ebp */ 6333 ebp = esp; /* 0x36094411: mov ebp, esp */ 6334 PUSH32(esp, ebx); /* 0x36094413: push ebx */ 6335 PUSH32(esp, esi); /* 0x36094414: push esi */ 6336 ebx = ecx; /* 0x36094415: mov ebx, ecx */ 6337 eax = MEM32(ebx + 0x8); /* 0x36094417: mov eax, dword ptr [ebx + 8] */ 6338 PUSH32(esp, edi); /* 0x3609441A: push edi */ 6339 edi = MEM32(ebp + 0x8); /* 0x3609441B: mov edi, dword ptr [ebp + 8] */ 6340 /* cmp edi, eax */ /* 0x3609441E: cmp edi, eax */ 6341 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 6342 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6343 _flag_k = FK_CMP; 6344 esi = edi; /* 0x36094420: mov esi, edi */ 6345 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609444B; /* 0x36094422: je 0x3609444b */ 6346 L_36094424: 6347 eax = MEM32(esi + 0x8); /* 0x36094424: mov eax, dword ptr [esi + 8] */ 6348 PUSH32(esp, eax); /* 0x36094427: push eax */ 6349 ecx = ebx; /* 0x36094428: mov ecx, ebx */ 6350 RECOMP_ICALL(0x36094410u); /* 0x3609442A: call 0x36094410 */ /* not lifted */ 6351 RECOMP_FLAGS_IN(); 6352 esi = MEM32(esi); /* 0x3609442F: mov esi, dword ptr [esi] */ 6353 ecx = edi + 0xC; /* 0x36094431: lea ecx, [edi + 0xc] */ 6354 RECOMP_ICALL(0x3610BA00u); /* 0x36094434: call 0x3610ba00 */ /* not lifted */ 6355 RECOMP_FLAGS_IN(); 6356 PUSH32(esp, edi); /* 0x36094439: push edi */ 6357 RECOMP_ICALL(0x3615FCC4u); /* 0x3609443A: call 0x3615fcc4 */ /* not lifted */ 6358 RECOMP_FLAGS_IN(); 6359 eax = MEM32(ebx + 0x8); /* 0x3609443F: mov eax, dword ptr [ebx + 8] */ 6360 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 6361 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6362 esp = esp + 4; /* 0x36094442: add esp, 4 */ 6363 _flag_k = FK_ADD; 6364 /* cmp esi, eax */ /* 0x36094445: cmp esi, eax */ 6365 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 6366 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6367 _flag_k = FK_CMP; 6368 edi = esi; /* 0x36094447: mov edi, esi */ 6369 RECOMP_BACKEDGE(); 6370 if (CMP_NE(_flag_a, _flag_b)) goto L_36094424; /* 0x36094449: jne 0x36094424 */ 6371 L_3609444B: 6372 edi = POP32_VAL(esp); /* 0x3609444B: pop edi */ 6373 esi = POP32_VAL(esp); /* 0x3609444C: pop esi */ 6374 ebx = POP32_VAL(esp); /* 0x3609444D: pop ebx */ 6375 ebp = POP32_VAL(esp); /* 0x3609444E: pop ebp */ 6376 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x3609444F: ret 4 */ 6377 RECOMP_REGS_OUT(); 6378 } 6379 6380 void sub_36094460(void) { 6381 int _fpu_cmp = 0; 6382 uint32_t _cf = 0; 6383 int _df = 1; 6384 uint32_t _flag_k = FK_NONE; 6385 uint32_t _flag_a = 0, _flag_b = 0; 6386 uint32_t _itail_tgt = 0; 6387 RECOMP_REGS_LOCALS 6388 RECOMP_ENTER(0x36094460u); 6389 6390 L_36094460: 6391 PUSH32(esp, ebp); /* 0x36094460: push ebp */ 6392 ebp = esp; /* 0x36094461: mov ebp, esp */ 6393 PUSH32(esp, ecx); /* 0x36094463: push ecx */ 6394 PUSH32(esp, ebx); /* 0x36094464: push ebx */ 6395 PUSH32(esp, esi); /* 0x36094465: push esi */ 6396 PUSH32(esp, edi); /* 0x36094466: push edi */ 6397 PUSH32(esp, 0x28u); /* 0x36094467: push 0x28 */ 6398 esi = ecx; /* 0x36094469: mov esi, ecx */ 6399 RECOMP_ICALL(0x3615FD6Au); /* 0x3609446B: call 0x3615fd6a */ /* not lifted */ 6400 RECOMP_FLAGS_IN(); 6401 edi = MEM32(ebp + 0x10); /* 0x36094470: mov edi, dword ptr [ebp + 0x10] */ 6402 ebx = MEM32(ebp + 0x14); /* 0x36094473: mov ebx, dword ptr [ebp + 0x14] */ 6403 MEM32(eax + 0x4) = edi; /* 0x36094476: mov dword ptr [eax + 4], edi */ 6404 MEM8(eax + 0x24) = (uint8_t)(0); /* 0x36094479: mov byte ptr [eax + 0x24], 0 */ 6405 MEM8(eax + 0x25) = (uint8_t)(0); /* 0x3609447D: mov byte ptr [eax + 0x25], 0 */ 6406 ecx = MEM32(esi + 0x8); /* 0x36094481: mov ecx, dword ptr [esi + 8] */ 6407 MEM32(eax) = ecx; /* 0x36094484: mov dword ptr [eax], ecx */ 6408 edx = MEM32(esi + 0x8); /* 0x36094486: mov edx, dword ptr [esi + 8] */ 6409 MEM32(ebp + (-0x4)) = eax; /* 0x36094489: mov dword ptr [ebp - 4], eax */ 6410 MEM32(eax + 0x8) = edx; /* 0x3609448C: mov dword ptr [eax + 8], edx */ 6411 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0xCu); 6412 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6413 eax = eax + 0xCu; /* 0x3609448F: add eax, 0xc */ 6414 _flag_k = FK_ADD; 6415 PUSH32(esp, ebx); /* 0x36094492: push ebx */ 6416 PUSH32(esp, eax); /* 0x36094493: push eax */ 6417 RECOMP_ICALL(0x36094990u); /* 0x36094494: call 0x36094990 */ /* not lifted */ 6418 RECOMP_FLAGS_IN(); 6419 ecx = MEM32(esi + 0x10); /* 0x36094499: mov ecx, dword ptr [esi + 0x10] */ 6420 eax = MEM32(esi + 0x4); /* 0x3609449C: mov eax, dword ptr [esi + 4] */ 6421 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 6422 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 6423 esp = esp + 0xCu; /* 0x3609449F: add esp, 0xc */ 6424 _flag_k = FK_ADD; 6425 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(1); 6426 ecx = ecx + 1; /* 0x360944A2: inc ecx */ 6427 _flag_k = FK_INC; 6428 /* cmp edi, eax */ /* 0x360944A3: cmp edi, eax */ 6429 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 6430 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6431 _flag_k = FK_CMP; 6432 MEM32(esi + 0x10) = ecx; /* 0x360944A5: mov dword ptr [esi + 0x10], ecx */ 6433 if (CMP_EQ(_flag_a, _flag_b)) goto L_360944CC; /* 0x360944A8: je 0x360944cc */ 6434 L_360944AA: 6435 eax = MEM32(ebp + 0xC); /* 0x360944AA: mov eax, dword ptr [ebp + 0xc] */ 6436 /* cmp eax, MEM32(esi + 0x8) */ /* 0x360944AD: cmp eax, dword ptr [esi + 8] */ 6437 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6438 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6439 _flag_k = FK_CMP; 6440 if (CMP_NE(_flag_a, _flag_b)) goto L_360944CC; /* 0x360944B0: jne 0x360944cc */ 6441 L_360944B2: 6442 ecx = MEM32(ebx); /* 0x360944B2: mov ecx, dword ptr [ebx] */ 6443 /* cmp ecx, MEM32(edi + 0xC) */ /* 0x360944B4: cmp ecx, dword ptr [edi + 0xc] */ 6444 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0xC)); 6445 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6446 _flag_k = FK_CMP; 6447 if (CMP_B(_flag_a, _flag_b)) goto L_360944CC; /* 0x360944B7: jb 0x360944cc */ 6448 L_360944B9: 6449 ecx = MEM32(ebp + (-0x4)); /* 0x360944B9: mov ecx, dword ptr [ebp - 4] */ 6450 MEM32(edi + 0x8) = ecx; /* 0x360944BC: mov dword ptr [edi + 8], ecx */ 6451 eax = MEM32(esi + 0x4); /* 0x360944BF: mov eax, dword ptr [esi + 4] */ 6452 /* cmp edi, MEM32(eax + 0x8) */ /* 0x360944C2: cmp edi, dword ptr [eax + 8] */ 6453 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 6454 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6455 _flag_k = FK_CMP; 6456 if (CMP_NE(_flag_a, _flag_b)) goto L_360944EC; /* 0x360944C5: jne 0x360944ec */ 6457 L_360944C7: 6458 MEM32(eax + 0x8) = ecx; /* 0x360944C7: mov dword ptr [eax + 8], ecx */ 6459 goto L_360944EC; /* 0x360944CA: jmp 0x360944ec */ 6460 L_360944CC: 6461 ecx = MEM32(ebp + (-0x4)); /* 0x360944CC: mov ecx, dword ptr [ebp - 4] */ 6462 MEM32(edi) = ecx; /* 0x360944CF: mov dword ptr [edi], ecx */ 6463 eax = MEM32(esi + 0x4); /* 0x360944D1: mov eax, dword ptr [esi + 4] */ 6464 /* cmp edi, eax */ /* 0x360944D4: cmp edi, eax */ 6465 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 6466 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6467 _flag_k = FK_CMP; 6468 if (CMP_NE(_flag_a, _flag_b)) goto L_360944E3; /* 0x360944D6: jne 0x360944e3 */ 6469 L_360944D8: 6470 MEM32(eax + 0x4) = ecx; /* 0x360944D8: mov dword ptr [eax + 4], ecx */ 6471 edx = MEM32(esi + 0x4); /* 0x360944DB: mov edx, dword ptr [esi + 4] */ 6472 MEM32(edx + 0x8) = ecx; /* 0x360944DE: mov dword ptr [edx + 8], ecx */ 6473 goto L_360944EC; /* 0x360944E1: jmp 0x360944ec */ 6474 L_360944E3: 6475 /* cmp edi, MEM32(eax) */ /* 0x360944E3: cmp edi, dword ptr [eax] */ 6476 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(eax)); 6477 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6478 _flag_k = FK_CMP; 6479 if (CMP_NE(_flag_a, _flag_b)) goto L_360944EC; /* 0x360944E5: jne 0x360944ec */ 6480 L_360944E7: 6481 ecx = MEM32(ebp + (-0x4)); /* 0x360944E7: mov ecx, dword ptr [ebp - 4] */ 6482 MEM32(eax) = ecx; /* 0x360944EA: mov dword ptr [eax], ecx */ 6483 L_360944EC: 6484 edx = MEM32(esi + 0x4); /* 0x360944EC: mov edx, dword ptr [esi + 4] */ 6485 eax = MEM32(ebp + (-0x4)); /* 0x360944EF: mov eax, dword ptr [ebp - 4] */ 6486 /* cmp eax, MEM32(edx + 0x4) */ /* 0x360944F2: cmp eax, dword ptr [edx + 4] */ 6487 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 6488 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6489 _flag_k = FK_CMP; 6490 SET_LO8(ebx, 1); /* 0x360944F5: mov bl, 1 */ 6491 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609467D; /* 0x360944F7: je 0x3609467d */ 6492 L_360944FD: 6493 ecx = MEM32(eax + 0x4); /* 0x360944FD: mov ecx, dword ptr [eax + 4] */ 6494 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x36094500: mov dl, byte ptr [ecx + 0x24] */ 6495 /* test LO8(edx), LO8(edx) */ /* 0x36094503: test dl, dl */ 6496 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6497 _cf = 0; 6498 _flag_k = FK_NARROW(FK_TEST, 24); 6499 if (TEST_NZ(_flag_a, _flag_b)) goto L_3609467D; /* 0x36094505: jne 0x3609467d */ 6500 L_3609450B: 6501 edi = MEM32(ecx + 0x4); /* 0x3609450B: mov edi, dword ptr [ecx + 4] */ 6502 edx = MEM32(edi); /* 0x3609450E: mov edx, dword ptr [edi] */ 6503 /* cmp ecx, edx */ /* 0x36094510: cmp ecx, edx */ 6504 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 6505 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6506 _flag_k = FK_CMP; 6507 if (CMP_NE(_flag_a, _flag_b)) goto L_360945D9; /* 0x36094512: jne 0x360945d9 */ 6508 L_36094518: 6509 edx = MEM32(edi + 0x8); /* 0x36094518: mov edx, dword ptr [edi + 8] */ 6510 /* cmp MEM8(edx + 0x24), 0 */ /* 0x3609451B: cmp byte ptr [edx + 0x24], 0 */ 6511 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 6512 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6513 _flag_k = FK_NARROW(FK_CMP, 24); 6514 if (CMP_NE(_flag_a, _flag_b)) goto L_3609453C; /* 0x3609451F: jne 0x3609453c */ 6515 L_36094521: 6516 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094521: mov byte ptr [ecx + 0x24], bl */ 6517 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094524: mov byte ptr [edx + 0x24], bl */ 6518 ecx = MEM32(eax + 0x4); /* 0x36094527: mov ecx, dword ptr [eax + 4] */ 6519 edx = MEM32(ecx + 0x4); /* 0x3609452A: mov edx, dword ptr [ecx + 4] */ 6520 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x3609452D: mov byte ptr [edx + 0x24], 0 */ 6521 eax = MEM32(eax + 0x4); /* 0x36094531: mov eax, dword ptr [eax + 4] */ 6522 eax = MEM32(eax + 0x4); /* 0x36094534: mov eax, dword ptr [eax + 4] */ 6523 goto L_36094671; /* 0x36094537: jmp 0x36094671 */ 6524 L_3609453C: 6525 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x3609453C: cmp eax, dword ptr [ecx + 8] */ 6526 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 6527 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6528 _flag_k = FK_CMP; 6529 if (CMP_NE(_flag_a, _flag_b)) goto L_3609457B; /* 0x3609453F: jne 0x3609457b */ 6530 L_36094541: 6531 eax = ecx; /* 0x36094541: mov eax, ecx */ 6532 ecx = MEM32(eax + 0x8); /* 0x36094543: mov ecx, dword ptr [eax + 8] */ 6533 edx = MEM32(ecx); /* 0x36094546: mov edx, dword ptr [ecx] */ 6534 MEM32(eax + 0x8) = edx; /* 0x36094548: mov dword ptr [eax + 8], edx */ 6535 edx = MEM32(ecx); /* 0x3609454B: mov edx, dword ptr [ecx] */ 6536 /* cmp edx, MEM32(esi + 0x8) */ /* 0x3609454D: cmp edx, dword ptr [esi + 8] */ 6537 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6538 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6539 _flag_k = FK_CMP; 6540 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094555; /* 0x36094550: je 0x36094555 */ 6541 L_36094552: 6542 MEM32(edx + 0x4) = eax; /* 0x36094552: mov dword ptr [edx + 4], eax */ 6543 L_36094555: 6544 edx = MEM32(eax + 0x4); /* 0x36094555: mov edx, dword ptr [eax + 4] */ 6545 MEM32(ecx + 0x4) = edx; /* 0x36094558: mov dword ptr [ecx + 4], edx */ 6546 edx = MEM32(esi + 0x4); /* 0x3609455B: mov edx, dword ptr [esi + 4] */ 6547 /* cmp eax, MEM32(edx + 0x4) */ /* 0x3609455E: cmp eax, dword ptr [edx + 4] */ 6548 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 6549 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6550 _flag_k = FK_CMP; 6551 if (CMP_NE(_flag_a, _flag_b)) goto L_36094568; /* 0x36094561: jne 0x36094568 */ 6552 L_36094563: 6553 MEM32(edx + 0x4) = ecx; /* 0x36094563: mov dword ptr [edx + 4], ecx */ 6554 goto L_36094576; /* 0x36094566: jmp 0x36094576 */ 6555 L_36094568: 6556 edx = MEM32(eax + 0x4); /* 0x36094568: mov edx, dword ptr [eax + 4] */ 6557 /* cmp eax, MEM32(edx) */ /* 0x3609456B: cmp eax, dword ptr [edx] */ 6558 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 6559 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6560 _flag_k = FK_CMP; 6561 if (CMP_NE(_flag_a, _flag_b)) goto L_36094573; /* 0x3609456D: jne 0x36094573 */ 6562 L_3609456F: 6563 MEM32(edx) = ecx; /* 0x3609456F: mov dword ptr [edx], ecx */ 6564 goto L_36094576; /* 0x36094571: jmp 0x36094576 */ 6565 L_36094573: 6566 MEM32(edx + 0x8) = ecx; /* 0x36094573: mov dword ptr [edx + 8], ecx */ 6567 L_36094576: 6568 MEM32(ecx) = eax; /* 0x36094576: mov dword ptr [ecx], eax */ 6569 MEM32(eax + 0x4) = ecx; /* 0x36094578: mov dword ptr [eax + 4], ecx */ 6570 L_3609457B: 6571 ecx = MEM32(eax + 0x4); /* 0x3609457B: mov ecx, dword ptr [eax + 4] */ 6572 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x3609457E: mov byte ptr [ecx + 0x24], bl */ 6573 edx = MEM32(eax + 0x4); /* 0x36094581: mov edx, dword ptr [eax + 4] */ 6574 ecx = MEM32(edx + 0x4); /* 0x36094584: mov ecx, dword ptr [edx + 4] */ 6575 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x36094587: mov byte ptr [ecx + 0x24], 0 */ 6576 edx = MEM32(eax + 0x4); /* 0x3609458B: mov edx, dword ptr [eax + 4] */ 6577 ecx = MEM32(edx + 0x4); /* 0x3609458E: mov ecx, dword ptr [edx + 4] */ 6578 edx = MEM32(ecx); /* 0x36094591: mov edx, dword ptr [ecx] */ 6579 edi = MEM32(edx + 0x8); /* 0x36094593: mov edi, dword ptr [edx + 8] */ 6580 MEM32(ecx) = edi; /* 0x36094596: mov dword ptr [ecx], edi */ 6581 edi = MEM32(edx + 0x8); /* 0x36094598: mov edi, dword ptr [edx + 8] */ 6582 /* cmp edi, MEM32(esi + 0x8) */ /* 0x3609459B: cmp edi, dword ptr [esi + 8] */ 6583 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6584 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6585 _flag_k = FK_CMP; 6586 if (CMP_EQ(_flag_a, _flag_b)) goto L_360945A3; /* 0x3609459E: je 0x360945a3 */ 6587 L_360945A0: 6588 MEM32(edi + 0x4) = ecx; /* 0x360945A0: mov dword ptr [edi + 4], ecx */ 6589 L_360945A3: 6590 edi = MEM32(ecx + 0x4); /* 0x360945A3: mov edi, dword ptr [ecx + 4] */ 6591 MEM32(edx + 0x4) = edi; /* 0x360945A6: mov dword ptr [edx + 4], edi */ 6592 edi = MEM32(esi + 0x4); /* 0x360945A9: mov edi, dword ptr [esi + 4] */ 6593 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x360945AC: cmp ecx, dword ptr [edi + 4] */ 6594 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 6595 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6596 _flag_k = FK_CMP; 6597 if (CMP_NE(_flag_a, _flag_b)) goto L_360945BC; /* 0x360945AF: jne 0x360945bc */ 6598 L_360945B1: 6599 MEM32(edi + 0x4) = edx; /* 0x360945B1: mov dword ptr [edi + 4], edx */ 6600 MEM32(edx + 0x8) = ecx; /* 0x360945B4: mov dword ptr [edx + 8], ecx */ 6601 goto L_3609466E; /* 0x360945B7: jmp 0x3609466e */ 6602 L_360945BC: 6603 edi = MEM32(ecx + 0x4); /* 0x360945BC: mov edi, dword ptr [ecx + 4] */ 6604 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x360945BF: cmp ecx, dword ptr [edi + 8] */ 6605 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6606 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6607 _flag_k = FK_CMP; 6608 if (CMP_NE(_flag_a, _flag_b)) goto L_360945CF; /* 0x360945C2: jne 0x360945cf */ 6609 L_360945C4: 6610 MEM32(edi + 0x8) = edx; /* 0x360945C4: mov dword ptr [edi + 8], edx */ 6611 MEM32(edx + 0x8) = ecx; /* 0x360945C7: mov dword ptr [edx + 8], ecx */ 6612 goto L_3609466E; /* 0x360945CA: jmp 0x3609466e */ 6613 L_360945CF: 6614 MEM32(edi) = edx; /* 0x360945CF: mov dword ptr [edi], edx */ 6615 MEM32(edx + 0x8) = ecx; /* 0x360945D1: mov dword ptr [edx + 8], ecx */ 6616 goto L_3609466E; /* 0x360945D4: jmp 0x3609466e */ 6617 L_360945D9: 6618 /* cmp MEM8(edx + 0x24), 0 */ /* 0x360945D9: cmp byte ptr [edx + 0x24], 0 */ 6619 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 6620 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6621 _flag_k = FK_NARROW(FK_CMP, 24); 6622 RECOMP_BACKEDGE(); 6623 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094521; /* 0x360945DD: je 0x36094521 */ 6624 L_360945E3: 6625 /* cmp eax, MEM32(ecx) */ /* 0x360945E3: cmp eax, dword ptr [ecx] */ 6626 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 6627 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6628 _flag_k = FK_CMP; 6629 if (CMP_NE(_flag_a, _flag_b)) goto L_36094623; /* 0x360945E5: jne 0x36094623 */ 6630 L_360945E7: 6631 eax = ecx; /* 0x360945E7: mov eax, ecx */ 6632 ecx = MEM32(eax); /* 0x360945E9: mov ecx, dword ptr [eax] */ 6633 edx = MEM32(ecx + 0x8); /* 0x360945EB: mov edx, dword ptr [ecx + 8] */ 6634 MEM32(eax) = edx; /* 0x360945EE: mov dword ptr [eax], edx */ 6635 edx = MEM32(ecx + 0x8); /* 0x360945F0: mov edx, dword ptr [ecx + 8] */ 6636 /* cmp edx, MEM32(esi + 0x8) */ /* 0x360945F3: cmp edx, dword ptr [esi + 8] */ 6637 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6638 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6639 _flag_k = FK_CMP; 6640 if (CMP_EQ(_flag_a, _flag_b)) goto L_360945FB; /* 0x360945F6: je 0x360945fb */ 6641 L_360945F8: 6642 MEM32(edx + 0x4) = eax; /* 0x360945F8: mov dword ptr [edx + 4], eax */ 6643 L_360945FB: 6644 edx = MEM32(eax + 0x4); /* 0x360945FB: mov edx, dword ptr [eax + 4] */ 6645 MEM32(ecx + 0x4) = edx; /* 0x360945FE: mov dword ptr [ecx + 4], edx */ 6646 edx = MEM32(esi + 0x4); /* 0x36094601: mov edx, dword ptr [esi + 4] */ 6647 /* cmp eax, MEM32(edx + 0x4) */ /* 0x36094604: cmp eax, dword ptr [edx + 4] */ 6648 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 6649 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6650 _flag_k = FK_CMP; 6651 if (CMP_NE(_flag_a, _flag_b)) goto L_3609460E; /* 0x36094607: jne 0x3609460e */ 6652 L_36094609: 6653 MEM32(edx + 0x4) = ecx; /* 0x36094609: mov dword ptr [edx + 4], ecx */ 6654 goto L_3609461D; /* 0x3609460C: jmp 0x3609461d */ 6655 L_3609460E: 6656 edx = MEM32(eax + 0x4); /* 0x3609460E: mov edx, dword ptr [eax + 4] */ 6657 /* cmp eax, MEM32(edx + 0x8) */ /* 0x36094611: cmp eax, dword ptr [edx + 8] */ 6658 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 6659 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6660 _flag_k = FK_CMP; 6661 if (CMP_NE(_flag_a, _flag_b)) goto L_3609461B; /* 0x36094614: jne 0x3609461b */ 6662 L_36094616: 6663 MEM32(edx + 0x8) = ecx; /* 0x36094616: mov dword ptr [edx + 8], ecx */ 6664 goto L_3609461D; /* 0x36094619: jmp 0x3609461d */ 6665 L_3609461B: 6666 MEM32(edx) = ecx; /* 0x3609461B: mov dword ptr [edx], ecx */ 6667 L_3609461D: 6668 MEM32(ecx + 0x8) = eax; /* 0x3609461D: mov dword ptr [ecx + 8], eax */ 6669 MEM32(eax + 0x4) = ecx; /* 0x36094620: mov dword ptr [eax + 4], ecx */ 6670 L_36094623: 6671 ecx = MEM32(eax + 0x4); /* 0x36094623: mov ecx, dword ptr [eax + 4] */ 6672 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094626: mov byte ptr [ecx + 0x24], bl */ 6673 edx = MEM32(eax + 0x4); /* 0x36094629: mov edx, dword ptr [eax + 4] */ 6674 ecx = MEM32(edx + 0x4); /* 0x3609462C: mov ecx, dword ptr [edx + 4] */ 6675 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x3609462F: mov byte ptr [ecx + 0x24], 0 */ 6676 edx = MEM32(eax + 0x4); /* 0x36094633: mov edx, dword ptr [eax + 4] */ 6677 ecx = MEM32(edx + 0x4); /* 0x36094636: mov ecx, dword ptr [edx + 4] */ 6678 edx = MEM32(ecx + 0x8); /* 0x36094639: mov edx, dword ptr [ecx + 8] */ 6679 edi = MEM32(edx); /* 0x3609463C: mov edi, dword ptr [edx] */ 6680 MEM32(ecx + 0x8) = edi; /* 0x3609463E: mov dword ptr [ecx + 8], edi */ 6681 edi = MEM32(edx); /* 0x36094641: mov edi, dword ptr [edx] */ 6682 /* cmp edi, MEM32(esi + 0x8) */ /* 0x36094643: cmp edi, dword ptr [esi + 8] */ 6683 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6684 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6685 _flag_k = FK_CMP; 6686 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609464B; /* 0x36094646: je 0x3609464b */ 6687 L_36094648: 6688 MEM32(edi + 0x4) = ecx; /* 0x36094648: mov dword ptr [edi + 4], ecx */ 6689 L_3609464B: 6690 edi = MEM32(ecx + 0x4); /* 0x3609464B: mov edi, dword ptr [ecx + 4] */ 6691 MEM32(edx + 0x4) = edi; /* 0x3609464E: mov dword ptr [edx + 4], edi */ 6692 edi = MEM32(esi + 0x4); /* 0x36094651: mov edi, dword ptr [esi + 4] */ 6693 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x36094654: cmp ecx, dword ptr [edi + 4] */ 6694 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 6695 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6696 _flag_k = FK_CMP; 6697 if (CMP_NE(_flag_a, _flag_b)) goto L_3609465E; /* 0x36094657: jne 0x3609465e */ 6698 L_36094659: 6699 MEM32(edi + 0x4) = edx; /* 0x36094659: mov dword ptr [edi + 4], edx */ 6700 goto L_3609466C; /* 0x3609465C: jmp 0x3609466c */ 6701 L_3609465E: 6702 edi = MEM32(ecx + 0x4); /* 0x3609465E: mov edi, dword ptr [ecx + 4] */ 6703 /* cmp ecx, MEM32(edi) */ /* 0x36094661: cmp ecx, dword ptr [edi] */ 6704 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 6705 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6706 _flag_k = FK_CMP; 6707 if (CMP_NE(_flag_a, _flag_b)) goto L_36094669; /* 0x36094663: jne 0x36094669 */ 6708 L_36094665: 6709 MEM32(edi) = edx; /* 0x36094665: mov dword ptr [edi], edx */ 6710 goto L_3609466C; /* 0x36094667: jmp 0x3609466c */ 6711 L_36094669: 6712 MEM32(edi + 0x8) = edx; /* 0x36094669: mov dword ptr [edi + 8], edx */ 6713 L_3609466C: 6714 MEM32(edx) = ecx; /* 0x3609466C: mov dword ptr [edx], ecx */ 6715 L_3609466E: 6716 MEM32(ecx + 0x4) = edx; /* 0x3609466E: mov dword ptr [ecx + 4], edx */ 6717 L_36094671: 6718 ecx = MEM32(esi + 0x4); /* 0x36094671: mov ecx, dword ptr [esi + 4] */ 6719 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x36094674: cmp eax, dword ptr [ecx + 4] */ 6720 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 6721 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6722 _flag_k = FK_CMP; 6723 RECOMP_BACKEDGE(); 6724 if (CMP_NE(_flag_a, _flag_b)) goto L_360944FD; /* 0x36094677: jne 0x360944fd */ 6725 L_3609467D: 6726 edx = MEM32(esi + 0x4); /* 0x3609467D: mov edx, dword ptr [esi + 4] */ 6727 eax = MEM32(edx + 0x4); /* 0x36094680: mov eax, dword ptr [edx + 4] */ 6728 ecx = MEM32(ebp + (-0x4)); /* 0x36094683: mov ecx, dword ptr [ebp - 4] */ 6729 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094686: mov byte ptr [eax + 0x24], bl */ 6730 eax = MEM32(ebp + 0x8); /* 0x36094689: mov eax, dword ptr [ebp + 8] */ 6731 edi = POP32_VAL(esp); /* 0x3609468C: pop edi */ 6732 esi = POP32_VAL(esp); /* 0x3609468D: pop esi */ 6733 MEM32(eax) = ecx; /* 0x3609468E: mov dword ptr [eax], ecx */ 6734 ebx = POP32_VAL(esp); /* 0x36094690: pop ebx */ 6735 esp = ebp; /* 0x36094691: mov esp, ebp */ 6736 ebp = POP32_VAL(esp); /* 0x36094693: pop ebp */ 6737 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x36094694: ret 0x10 */ 6738 RECOMP_REGS_OUT(); 6739 } 6740 6741 void sub_360944FD(void) { 6742 int _fpu_cmp = 0; 6743 uint32_t _cf = 0; 6744 int _df = 1; 6745 uint32_t _flag_k = FK_NONE; 6746 uint32_t _flag_a = 0, _flag_b = 0; 6747 uint32_t _itail_tgt = 0; 6748 RECOMP_REGS_LOCALS 6749 RECOMP_ENTER(0x360944FDu); 6750 6751 L_360944FD: 6752 ecx = MEM32(eax + 0x4); /* 0x360944FD: mov ecx, dword ptr [eax + 4] */ 6753 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x36094500: mov dl, byte ptr [ecx + 0x24] */ 6754 /* test LO8(edx), LO8(edx) */ /* 0x36094503: test dl, dl */ 6755 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 6756 _cf = 0; 6757 _flag_k = FK_NARROW(FK_TEST, 24); 6758 if (TEST_NZ(_flag_a, _flag_b)) goto L_3609467D; /* 0x36094505: jne 0x3609467d */ 6759 L_3609450B: 6760 edi = MEM32(ecx + 0x4); /* 0x3609450B: mov edi, dword ptr [ecx + 4] */ 6761 edx = MEM32(edi); /* 0x3609450E: mov edx, dword ptr [edi] */ 6762 /* cmp ecx, edx */ /* 0x36094510: cmp ecx, edx */ 6763 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 6764 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6765 _flag_k = FK_CMP; 6766 if (CMP_NE(_flag_a, _flag_b)) goto L_360945D9; /* 0x36094512: jne 0x360945d9 */ 6767 L_36094518: 6768 edx = MEM32(edi + 0x8); /* 0x36094518: mov edx, dword ptr [edi + 8] */ 6769 /* cmp MEM8(edx + 0x24), 0 */ /* 0x3609451B: cmp byte ptr [edx + 0x24], 0 */ 6770 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 6771 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6772 _flag_k = FK_NARROW(FK_CMP, 24); 6773 if (CMP_NE(_flag_a, _flag_b)) goto L_3609453C; /* 0x3609451F: jne 0x3609453c */ 6774 L_36094521: 6775 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094521: mov byte ptr [ecx + 0x24], bl */ 6776 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094524: mov byte ptr [edx + 0x24], bl */ 6777 ecx = MEM32(eax + 0x4); /* 0x36094527: mov ecx, dword ptr [eax + 4] */ 6778 edx = MEM32(ecx + 0x4); /* 0x3609452A: mov edx, dword ptr [ecx + 4] */ 6779 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x3609452D: mov byte ptr [edx + 0x24], 0 */ 6780 eax = MEM32(eax + 0x4); /* 0x36094531: mov eax, dword ptr [eax + 4] */ 6781 eax = MEM32(eax + 0x4); /* 0x36094534: mov eax, dword ptr [eax + 4] */ 6782 goto L_36094671; /* 0x36094537: jmp 0x36094671 */ 6783 L_3609453C: 6784 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x3609453C: cmp eax, dword ptr [ecx + 8] */ 6785 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 6786 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6787 _flag_k = FK_CMP; 6788 if (CMP_NE(_flag_a, _flag_b)) goto L_3609457B; /* 0x3609453F: jne 0x3609457b */ 6789 L_36094541: 6790 eax = ecx; /* 0x36094541: mov eax, ecx */ 6791 ecx = MEM32(eax + 0x8); /* 0x36094543: mov ecx, dword ptr [eax + 8] */ 6792 edx = MEM32(ecx); /* 0x36094546: mov edx, dword ptr [ecx] */ 6793 MEM32(eax + 0x8) = edx; /* 0x36094548: mov dword ptr [eax + 8], edx */ 6794 edx = MEM32(ecx); /* 0x3609454B: mov edx, dword ptr [ecx] */ 6795 /* cmp edx, MEM32(esi + 0x8) */ /* 0x3609454D: cmp edx, dword ptr [esi + 8] */ 6796 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6797 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6798 _flag_k = FK_CMP; 6799 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094555; /* 0x36094550: je 0x36094555 */ 6800 L_36094552: 6801 MEM32(edx + 0x4) = eax; /* 0x36094552: mov dword ptr [edx + 4], eax */ 6802 L_36094555: 6803 edx = MEM32(eax + 0x4); /* 0x36094555: mov edx, dword ptr [eax + 4] */ 6804 MEM32(ecx + 0x4) = edx; /* 0x36094558: mov dword ptr [ecx + 4], edx */ 6805 edx = MEM32(esi + 0x4); /* 0x3609455B: mov edx, dword ptr [esi + 4] */ 6806 /* cmp eax, MEM32(edx + 0x4) */ /* 0x3609455E: cmp eax, dword ptr [edx + 4] */ 6807 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 6808 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6809 _flag_k = FK_CMP; 6810 if (CMP_NE(_flag_a, _flag_b)) goto L_36094568; /* 0x36094561: jne 0x36094568 */ 6811 L_36094563: 6812 MEM32(edx + 0x4) = ecx; /* 0x36094563: mov dword ptr [edx + 4], ecx */ 6813 goto L_36094576; /* 0x36094566: jmp 0x36094576 */ 6814 L_36094568: 6815 edx = MEM32(eax + 0x4); /* 0x36094568: mov edx, dword ptr [eax + 4] */ 6816 /* cmp eax, MEM32(edx) */ /* 0x3609456B: cmp eax, dword ptr [edx] */ 6817 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 6818 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6819 _flag_k = FK_CMP; 6820 if (CMP_NE(_flag_a, _flag_b)) goto L_36094573; /* 0x3609456D: jne 0x36094573 */ 6821 L_3609456F: 6822 MEM32(edx) = ecx; /* 0x3609456F: mov dword ptr [edx], ecx */ 6823 goto L_36094576; /* 0x36094571: jmp 0x36094576 */ 6824 L_36094573: 6825 MEM32(edx + 0x8) = ecx; /* 0x36094573: mov dword ptr [edx + 8], ecx */ 6826 L_36094576: 6827 MEM32(ecx) = eax; /* 0x36094576: mov dword ptr [ecx], eax */ 6828 MEM32(eax + 0x4) = ecx; /* 0x36094578: mov dword ptr [eax + 4], ecx */ 6829 L_3609457B: 6830 ecx = MEM32(eax + 0x4); /* 0x3609457B: mov ecx, dword ptr [eax + 4] */ 6831 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x3609457E: mov byte ptr [ecx + 0x24], bl */ 6832 edx = MEM32(eax + 0x4); /* 0x36094581: mov edx, dword ptr [eax + 4] */ 6833 ecx = MEM32(edx + 0x4); /* 0x36094584: mov ecx, dword ptr [edx + 4] */ 6834 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x36094587: mov byte ptr [ecx + 0x24], 0 */ 6835 edx = MEM32(eax + 0x4); /* 0x3609458B: mov edx, dword ptr [eax + 4] */ 6836 ecx = MEM32(edx + 0x4); /* 0x3609458E: mov ecx, dword ptr [edx + 4] */ 6837 edx = MEM32(ecx); /* 0x36094591: mov edx, dword ptr [ecx] */ 6838 edi = MEM32(edx + 0x8); /* 0x36094593: mov edi, dword ptr [edx + 8] */ 6839 MEM32(ecx) = edi; /* 0x36094596: mov dword ptr [ecx], edi */ 6840 edi = MEM32(edx + 0x8); /* 0x36094598: mov edi, dword ptr [edx + 8] */ 6841 /* cmp edi, MEM32(esi + 0x8) */ /* 0x3609459B: cmp edi, dword ptr [esi + 8] */ 6842 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6843 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6844 _flag_k = FK_CMP; 6845 if (CMP_EQ(_flag_a, _flag_b)) goto L_360945A3; /* 0x3609459E: je 0x360945a3 */ 6846 L_360945A0: 6847 MEM32(edi + 0x4) = ecx; /* 0x360945A0: mov dword ptr [edi + 4], ecx */ 6848 L_360945A3: 6849 edi = MEM32(ecx + 0x4); /* 0x360945A3: mov edi, dword ptr [ecx + 4] */ 6850 MEM32(edx + 0x4) = edi; /* 0x360945A6: mov dword ptr [edx + 4], edi */ 6851 edi = MEM32(esi + 0x4); /* 0x360945A9: mov edi, dword ptr [esi + 4] */ 6852 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x360945AC: cmp ecx, dword ptr [edi + 4] */ 6853 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 6854 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6855 _flag_k = FK_CMP; 6856 if (CMP_NE(_flag_a, _flag_b)) goto L_360945BC; /* 0x360945AF: jne 0x360945bc */ 6857 L_360945B1: 6858 MEM32(edi + 0x4) = edx; /* 0x360945B1: mov dword ptr [edi + 4], edx */ 6859 MEM32(edx + 0x8) = ecx; /* 0x360945B4: mov dword ptr [edx + 8], ecx */ 6860 goto L_3609466E; /* 0x360945B7: jmp 0x3609466e */ 6861 L_360945BC: 6862 edi = MEM32(ecx + 0x4); /* 0x360945BC: mov edi, dword ptr [ecx + 4] */ 6863 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x360945BF: cmp ecx, dword ptr [edi + 8] */ 6864 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 6865 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6866 _flag_k = FK_CMP; 6867 if (CMP_NE(_flag_a, _flag_b)) goto L_360945CF; /* 0x360945C2: jne 0x360945cf */ 6868 L_360945C4: 6869 MEM32(edi + 0x8) = edx; /* 0x360945C4: mov dword ptr [edi + 8], edx */ 6870 MEM32(edx + 0x8) = ecx; /* 0x360945C7: mov dword ptr [edx + 8], ecx */ 6871 goto L_3609466E; /* 0x360945CA: jmp 0x3609466e */ 6872 L_360945CF: 6873 MEM32(edi) = edx; /* 0x360945CF: mov dword ptr [edi], edx */ 6874 MEM32(edx + 0x8) = ecx; /* 0x360945D1: mov dword ptr [edx + 8], ecx */ 6875 goto L_3609466E; /* 0x360945D4: jmp 0x3609466e */ 6876 L_360945D9: 6877 /* cmp MEM8(edx + 0x24), 0 */ /* 0x360945D9: cmp byte ptr [edx + 0x24], 0 */ 6878 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 6879 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6880 _flag_k = FK_NARROW(FK_CMP, 24); 6881 RECOMP_BACKEDGE(); 6882 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094521; /* 0x360945DD: je 0x36094521 */ 6883 L_360945E3: 6884 /* cmp eax, MEM32(ecx) */ /* 0x360945E3: cmp eax, dword ptr [ecx] */ 6885 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 6886 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6887 _flag_k = FK_CMP; 6888 if (CMP_NE(_flag_a, _flag_b)) goto L_36094623; /* 0x360945E5: jne 0x36094623 */ 6889 L_360945E7: 6890 eax = ecx; /* 0x360945E7: mov eax, ecx */ 6891 ecx = MEM32(eax); /* 0x360945E9: mov ecx, dword ptr [eax] */ 6892 edx = MEM32(ecx + 0x8); /* 0x360945EB: mov edx, dword ptr [ecx + 8] */ 6893 MEM32(eax) = edx; /* 0x360945EE: mov dword ptr [eax], edx */ 6894 edx = MEM32(ecx + 0x8); /* 0x360945F0: mov edx, dword ptr [ecx + 8] */ 6895 /* cmp edx, MEM32(esi + 0x8) */ /* 0x360945F3: cmp edx, dword ptr [esi + 8] */ 6896 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6897 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6898 _flag_k = FK_CMP; 6899 if (CMP_EQ(_flag_a, _flag_b)) goto L_360945FB; /* 0x360945F6: je 0x360945fb */ 6900 L_360945F8: 6901 MEM32(edx + 0x4) = eax; /* 0x360945F8: mov dword ptr [edx + 4], eax */ 6902 L_360945FB: 6903 edx = MEM32(eax + 0x4); /* 0x360945FB: mov edx, dword ptr [eax + 4] */ 6904 MEM32(ecx + 0x4) = edx; /* 0x360945FE: mov dword ptr [ecx + 4], edx */ 6905 edx = MEM32(esi + 0x4); /* 0x36094601: mov edx, dword ptr [esi + 4] */ 6906 /* cmp eax, MEM32(edx + 0x4) */ /* 0x36094604: cmp eax, dword ptr [edx + 4] */ 6907 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 6908 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6909 _flag_k = FK_CMP; 6910 if (CMP_NE(_flag_a, _flag_b)) goto L_3609460E; /* 0x36094607: jne 0x3609460e */ 6911 L_36094609: 6912 MEM32(edx + 0x4) = ecx; /* 0x36094609: mov dword ptr [edx + 4], ecx */ 6913 goto L_3609461D; /* 0x3609460C: jmp 0x3609461d */ 6914 L_3609460E: 6915 edx = MEM32(eax + 0x4); /* 0x3609460E: mov edx, dword ptr [eax + 4] */ 6916 /* cmp eax, MEM32(edx + 0x8) */ /* 0x36094611: cmp eax, dword ptr [edx + 8] */ 6917 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 6918 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6919 _flag_k = FK_CMP; 6920 if (CMP_NE(_flag_a, _flag_b)) goto L_3609461B; /* 0x36094614: jne 0x3609461b */ 6921 L_36094616: 6922 MEM32(edx + 0x8) = ecx; /* 0x36094616: mov dword ptr [edx + 8], ecx */ 6923 goto L_3609461D; /* 0x36094619: jmp 0x3609461d */ 6924 L_3609461B: 6925 MEM32(edx) = ecx; /* 0x3609461B: mov dword ptr [edx], ecx */ 6926 L_3609461D: 6927 MEM32(ecx + 0x8) = eax; /* 0x3609461D: mov dword ptr [ecx + 8], eax */ 6928 MEM32(eax + 0x4) = ecx; /* 0x36094620: mov dword ptr [eax + 4], ecx */ 6929 L_36094623: 6930 ecx = MEM32(eax + 0x4); /* 0x36094623: mov ecx, dword ptr [eax + 4] */ 6931 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094626: mov byte ptr [ecx + 0x24], bl */ 6932 edx = MEM32(eax + 0x4); /* 0x36094629: mov edx, dword ptr [eax + 4] */ 6933 ecx = MEM32(edx + 0x4); /* 0x3609462C: mov ecx, dword ptr [edx + 4] */ 6934 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x3609462F: mov byte ptr [ecx + 0x24], 0 */ 6935 edx = MEM32(eax + 0x4); /* 0x36094633: mov edx, dword ptr [eax + 4] */ 6936 ecx = MEM32(edx + 0x4); /* 0x36094636: mov ecx, dword ptr [edx + 4] */ 6937 edx = MEM32(ecx + 0x8); /* 0x36094639: mov edx, dword ptr [ecx + 8] */ 6938 edi = MEM32(edx); /* 0x3609463C: mov edi, dword ptr [edx] */ 6939 MEM32(ecx + 0x8) = edi; /* 0x3609463E: mov dword ptr [ecx + 8], edi */ 6940 edi = MEM32(edx); /* 0x36094641: mov edi, dword ptr [edx] */ 6941 /* cmp edi, MEM32(esi + 0x8) */ /* 0x36094643: cmp edi, dword ptr [esi + 8] */ 6942 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 6943 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6944 _flag_k = FK_CMP; 6945 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609464B; /* 0x36094646: je 0x3609464b */ 6946 L_36094648: 6947 MEM32(edi + 0x4) = ecx; /* 0x36094648: mov dword ptr [edi + 4], ecx */ 6948 L_3609464B: 6949 edi = MEM32(ecx + 0x4); /* 0x3609464B: mov edi, dword ptr [ecx + 4] */ 6950 MEM32(edx + 0x4) = edi; /* 0x3609464E: mov dword ptr [edx + 4], edi */ 6951 edi = MEM32(esi + 0x4); /* 0x36094651: mov edi, dword ptr [esi + 4] */ 6952 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x36094654: cmp ecx, dword ptr [edi + 4] */ 6953 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 6954 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6955 _flag_k = FK_CMP; 6956 if (CMP_NE(_flag_a, _flag_b)) goto L_3609465E; /* 0x36094657: jne 0x3609465e */ 6957 L_36094659: 6958 MEM32(edi + 0x4) = edx; /* 0x36094659: mov dword ptr [edi + 4], edx */ 6959 goto L_3609466C; /* 0x3609465C: jmp 0x3609466c */ 6960 L_3609465E: 6961 edi = MEM32(ecx + 0x4); /* 0x3609465E: mov edi, dword ptr [ecx + 4] */ 6962 /* cmp ecx, MEM32(edi) */ /* 0x36094661: cmp ecx, dword ptr [edi] */ 6963 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 6964 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6965 _flag_k = FK_CMP; 6966 if (CMP_NE(_flag_a, _flag_b)) goto L_36094669; /* 0x36094663: jne 0x36094669 */ 6967 L_36094665: 6968 MEM32(edi) = edx; /* 0x36094665: mov dword ptr [edi], edx */ 6969 goto L_3609466C; /* 0x36094667: jmp 0x3609466c */ 6970 L_36094669: 6971 MEM32(edi + 0x8) = edx; /* 0x36094669: mov dword ptr [edi + 8], edx */ 6972 L_3609466C: 6973 MEM32(edx) = ecx; /* 0x3609466C: mov dword ptr [edx], ecx */ 6974 L_3609466E: 6975 MEM32(ecx + 0x4) = edx; /* 0x3609466E: mov dword ptr [ecx + 4], edx */ 6976 L_36094671: 6977 ecx = MEM32(esi + 0x4); /* 0x36094671: mov ecx, dword ptr [esi + 4] */ 6978 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x36094674: cmp eax, dword ptr [ecx + 4] */ 6979 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 6980 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 6981 _flag_k = FK_CMP; 6982 RECOMP_BACKEDGE(); 6983 if (CMP_NE(_flag_a, _flag_b)) goto L_360944FD; /* 0x36094677: jne 0x360944fd */ 6984 L_3609467D: 6985 edx = MEM32(esi + 0x4); /* 0x3609467D: mov edx, dword ptr [esi + 4] */ 6986 eax = MEM32(edx + 0x4); /* 0x36094680: mov eax, dword ptr [edx + 4] */ 6987 ecx = MEM32(ebp + (-0x4)); /* 0x36094683: mov ecx, dword ptr [ebp - 4] */ 6988 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094686: mov byte ptr [eax + 0x24], bl */ 6989 eax = MEM32(ebp + 0x8); /* 0x36094689: mov eax, dword ptr [ebp + 8] */ 6990 edi = POP32_VAL(esp); /* 0x3609468C: pop edi */ 6991 esi = POP32_VAL(esp); /* 0x3609468D: pop esi */ 6992 MEM32(eax) = ecx; /* 0x3609468E: mov dword ptr [eax], ecx */ 6993 ebx = POP32_VAL(esp); /* 0x36094690: pop ebx */ 6994 esp = ebp; /* 0x36094691: mov esp, ebp */ 6995 ebp = POP32_VAL(esp); /* 0x36094693: pop ebp */ 6996 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x36094694: ret 0x10 */ 6997 RECOMP_REGS_OUT(); 6998 } 6999 7000 void sub_36094521(void) { 7001 int _fpu_cmp = 0; 7002 uint32_t _cf = 0; 7003 int _df = 1; 7004 uint32_t _flag_k = FK_NONE; 7005 uint32_t _flag_a = 0, _flag_b = 0; 7006 uint32_t _itail_tgt = 0; 7007 RECOMP_REGS_LOCALS 7008 RECOMP_ENTER(0x36094521u); 7009 7010 goto L_36094521; 7011 L_360944FD: 7012 ecx = MEM32(eax + 0x4); /* 0x360944FD: mov ecx, dword ptr [eax + 4] */ 7013 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x36094500: mov dl, byte ptr [ecx + 0x24] */ 7014 /* test LO8(edx), LO8(edx) */ /* 0x36094503: test dl, dl */ 7015 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 7016 _cf = 0; 7017 _flag_k = FK_NARROW(FK_TEST, 24); 7018 if (TEST_NZ(_flag_a, _flag_b)) goto L_3609467D; /* 0x36094505: jne 0x3609467d */ 7019 L_3609450B: 7020 edi = MEM32(ecx + 0x4); /* 0x3609450B: mov edi, dword ptr [ecx + 4] */ 7021 edx = MEM32(edi); /* 0x3609450E: mov edx, dword ptr [edi] */ 7022 /* cmp ecx, edx */ /* 0x36094510: cmp ecx, edx */ 7023 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 7024 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7025 _flag_k = FK_CMP; 7026 if (CMP_NE(_flag_a, _flag_b)) goto L_360945D9; /* 0x36094512: jne 0x360945d9 */ 7027 L_36094518: 7028 edx = MEM32(edi + 0x8); /* 0x36094518: mov edx, dword ptr [edi + 8] */ 7029 /* cmp MEM8(edx + 0x24), 0 */ /* 0x3609451B: cmp byte ptr [edx + 0x24], 0 */ 7030 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 7031 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7032 _flag_k = FK_NARROW(FK_CMP, 24); 7033 if (CMP_NE(_flag_a, _flag_b)) goto L_3609453C; /* 0x3609451F: jne 0x3609453c */ 7034 L_36094521: 7035 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094521: mov byte ptr [ecx + 0x24], bl */ 7036 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094524: mov byte ptr [edx + 0x24], bl */ 7037 ecx = MEM32(eax + 0x4); /* 0x36094527: mov ecx, dword ptr [eax + 4] */ 7038 edx = MEM32(ecx + 0x4); /* 0x3609452A: mov edx, dword ptr [ecx + 4] */ 7039 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x3609452D: mov byte ptr [edx + 0x24], 0 */ 7040 eax = MEM32(eax + 0x4); /* 0x36094531: mov eax, dword ptr [eax + 4] */ 7041 eax = MEM32(eax + 0x4); /* 0x36094534: mov eax, dword ptr [eax + 4] */ 7042 goto L_36094671; /* 0x36094537: jmp 0x36094671 */ 7043 L_3609453C: 7044 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x3609453C: cmp eax, dword ptr [ecx + 8] */ 7045 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 7046 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7047 _flag_k = FK_CMP; 7048 if (CMP_NE(_flag_a, _flag_b)) goto L_3609457B; /* 0x3609453F: jne 0x3609457b */ 7049 L_36094541: 7050 eax = ecx; /* 0x36094541: mov eax, ecx */ 7051 ecx = MEM32(eax + 0x8); /* 0x36094543: mov ecx, dword ptr [eax + 8] */ 7052 edx = MEM32(ecx); /* 0x36094546: mov edx, dword ptr [ecx] */ 7053 MEM32(eax + 0x8) = edx; /* 0x36094548: mov dword ptr [eax + 8], edx */ 7054 edx = MEM32(ecx); /* 0x3609454B: mov edx, dword ptr [ecx] */ 7055 /* cmp edx, MEM32(esi + 0x8) */ /* 0x3609454D: cmp edx, dword ptr [esi + 8] */ 7056 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7057 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7058 _flag_k = FK_CMP; 7059 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094555; /* 0x36094550: je 0x36094555 */ 7060 L_36094552: 7061 MEM32(edx + 0x4) = eax; /* 0x36094552: mov dword ptr [edx + 4], eax */ 7062 L_36094555: 7063 edx = MEM32(eax + 0x4); /* 0x36094555: mov edx, dword ptr [eax + 4] */ 7064 MEM32(ecx + 0x4) = edx; /* 0x36094558: mov dword ptr [ecx + 4], edx */ 7065 edx = MEM32(esi + 0x4); /* 0x3609455B: mov edx, dword ptr [esi + 4] */ 7066 /* cmp eax, MEM32(edx + 0x4) */ /* 0x3609455E: cmp eax, dword ptr [edx + 4] */ 7067 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 7068 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7069 _flag_k = FK_CMP; 7070 if (CMP_NE(_flag_a, _flag_b)) goto L_36094568; /* 0x36094561: jne 0x36094568 */ 7071 L_36094563: 7072 MEM32(edx + 0x4) = ecx; /* 0x36094563: mov dword ptr [edx + 4], ecx */ 7073 goto L_36094576; /* 0x36094566: jmp 0x36094576 */ 7074 L_36094568: 7075 edx = MEM32(eax + 0x4); /* 0x36094568: mov edx, dword ptr [eax + 4] */ 7076 /* cmp eax, MEM32(edx) */ /* 0x3609456B: cmp eax, dword ptr [edx] */ 7077 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 7078 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7079 _flag_k = FK_CMP; 7080 if (CMP_NE(_flag_a, _flag_b)) goto L_36094573; /* 0x3609456D: jne 0x36094573 */ 7081 L_3609456F: 7082 MEM32(edx) = ecx; /* 0x3609456F: mov dword ptr [edx], ecx */ 7083 goto L_36094576; /* 0x36094571: jmp 0x36094576 */ 7084 L_36094573: 7085 MEM32(edx + 0x8) = ecx; /* 0x36094573: mov dword ptr [edx + 8], ecx */ 7086 L_36094576: 7087 MEM32(ecx) = eax; /* 0x36094576: mov dword ptr [ecx], eax */ 7088 MEM32(eax + 0x4) = ecx; /* 0x36094578: mov dword ptr [eax + 4], ecx */ 7089 L_3609457B: 7090 ecx = MEM32(eax + 0x4); /* 0x3609457B: mov ecx, dword ptr [eax + 4] */ 7091 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x3609457E: mov byte ptr [ecx + 0x24], bl */ 7092 edx = MEM32(eax + 0x4); /* 0x36094581: mov edx, dword ptr [eax + 4] */ 7093 ecx = MEM32(edx + 0x4); /* 0x36094584: mov ecx, dword ptr [edx + 4] */ 7094 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x36094587: mov byte ptr [ecx + 0x24], 0 */ 7095 edx = MEM32(eax + 0x4); /* 0x3609458B: mov edx, dword ptr [eax + 4] */ 7096 ecx = MEM32(edx + 0x4); /* 0x3609458E: mov ecx, dword ptr [edx + 4] */ 7097 edx = MEM32(ecx); /* 0x36094591: mov edx, dword ptr [ecx] */ 7098 edi = MEM32(edx + 0x8); /* 0x36094593: mov edi, dword ptr [edx + 8] */ 7099 MEM32(ecx) = edi; /* 0x36094596: mov dword ptr [ecx], edi */ 7100 edi = MEM32(edx + 0x8); /* 0x36094598: mov edi, dword ptr [edx + 8] */ 7101 /* cmp edi, MEM32(esi + 0x8) */ /* 0x3609459B: cmp edi, dword ptr [esi + 8] */ 7102 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7103 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7104 _flag_k = FK_CMP; 7105 if (CMP_EQ(_flag_a, _flag_b)) goto L_360945A3; /* 0x3609459E: je 0x360945a3 */ 7106 L_360945A0: 7107 MEM32(edi + 0x4) = ecx; /* 0x360945A0: mov dword ptr [edi + 4], ecx */ 7108 L_360945A3: 7109 edi = MEM32(ecx + 0x4); /* 0x360945A3: mov edi, dword ptr [ecx + 4] */ 7110 MEM32(edx + 0x4) = edi; /* 0x360945A6: mov dword ptr [edx + 4], edi */ 7111 edi = MEM32(esi + 0x4); /* 0x360945A9: mov edi, dword ptr [esi + 4] */ 7112 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x360945AC: cmp ecx, dword ptr [edi + 4] */ 7113 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 7114 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7115 _flag_k = FK_CMP; 7116 if (CMP_NE(_flag_a, _flag_b)) goto L_360945BC; /* 0x360945AF: jne 0x360945bc */ 7117 L_360945B1: 7118 MEM32(edi + 0x4) = edx; /* 0x360945B1: mov dword ptr [edi + 4], edx */ 7119 MEM32(edx + 0x8) = ecx; /* 0x360945B4: mov dword ptr [edx + 8], ecx */ 7120 goto L_3609466E; /* 0x360945B7: jmp 0x3609466e */ 7121 L_360945BC: 7122 edi = MEM32(ecx + 0x4); /* 0x360945BC: mov edi, dword ptr [ecx + 4] */ 7123 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x360945BF: cmp ecx, dword ptr [edi + 8] */ 7124 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7125 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7126 _flag_k = FK_CMP; 7127 if (CMP_NE(_flag_a, _flag_b)) goto L_360945CF; /* 0x360945C2: jne 0x360945cf */ 7128 L_360945C4: 7129 MEM32(edi + 0x8) = edx; /* 0x360945C4: mov dword ptr [edi + 8], edx */ 7130 MEM32(edx + 0x8) = ecx; /* 0x360945C7: mov dword ptr [edx + 8], ecx */ 7131 goto L_3609466E; /* 0x360945CA: jmp 0x3609466e */ 7132 L_360945CF: 7133 MEM32(edi) = edx; /* 0x360945CF: mov dword ptr [edi], edx */ 7134 MEM32(edx + 0x8) = ecx; /* 0x360945D1: mov dword ptr [edx + 8], ecx */ 7135 goto L_3609466E; /* 0x360945D4: jmp 0x3609466e */ 7136 L_360945D9: 7137 /* cmp MEM8(edx + 0x24), 0 */ /* 0x360945D9: cmp byte ptr [edx + 0x24], 0 */ 7138 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 7139 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7140 _flag_k = FK_NARROW(FK_CMP, 24); 7141 RECOMP_BACKEDGE(); 7142 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094521; /* 0x360945DD: je 0x36094521 */ 7143 L_360945E3: 7144 /* cmp eax, MEM32(ecx) */ /* 0x360945E3: cmp eax, dword ptr [ecx] */ 7145 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 7146 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7147 _flag_k = FK_CMP; 7148 if (CMP_NE(_flag_a, _flag_b)) goto L_36094623; /* 0x360945E5: jne 0x36094623 */ 7149 L_360945E7: 7150 eax = ecx; /* 0x360945E7: mov eax, ecx */ 7151 ecx = MEM32(eax); /* 0x360945E9: mov ecx, dword ptr [eax] */ 7152 edx = MEM32(ecx + 0x8); /* 0x360945EB: mov edx, dword ptr [ecx + 8] */ 7153 MEM32(eax) = edx; /* 0x360945EE: mov dword ptr [eax], edx */ 7154 edx = MEM32(ecx + 0x8); /* 0x360945F0: mov edx, dword ptr [ecx + 8] */ 7155 /* cmp edx, MEM32(esi + 0x8) */ /* 0x360945F3: cmp edx, dword ptr [esi + 8] */ 7156 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7157 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7158 _flag_k = FK_CMP; 7159 if (CMP_EQ(_flag_a, _flag_b)) goto L_360945FB; /* 0x360945F6: je 0x360945fb */ 7160 L_360945F8: 7161 MEM32(edx + 0x4) = eax; /* 0x360945F8: mov dword ptr [edx + 4], eax */ 7162 L_360945FB: 7163 edx = MEM32(eax + 0x4); /* 0x360945FB: mov edx, dword ptr [eax + 4] */ 7164 MEM32(ecx + 0x4) = edx; /* 0x360945FE: mov dword ptr [ecx + 4], edx */ 7165 edx = MEM32(esi + 0x4); /* 0x36094601: mov edx, dword ptr [esi + 4] */ 7166 /* cmp eax, MEM32(edx + 0x4) */ /* 0x36094604: cmp eax, dword ptr [edx + 4] */ 7167 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 7168 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7169 _flag_k = FK_CMP; 7170 if (CMP_NE(_flag_a, _flag_b)) goto L_3609460E; /* 0x36094607: jne 0x3609460e */ 7171 L_36094609: 7172 MEM32(edx + 0x4) = ecx; /* 0x36094609: mov dword ptr [edx + 4], ecx */ 7173 goto L_3609461D; /* 0x3609460C: jmp 0x3609461d */ 7174 L_3609460E: 7175 edx = MEM32(eax + 0x4); /* 0x3609460E: mov edx, dword ptr [eax + 4] */ 7176 /* cmp eax, MEM32(edx + 0x8) */ /* 0x36094611: cmp eax, dword ptr [edx + 8] */ 7177 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 7178 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7179 _flag_k = FK_CMP; 7180 if (CMP_NE(_flag_a, _flag_b)) goto L_3609461B; /* 0x36094614: jne 0x3609461b */ 7181 L_36094616: 7182 MEM32(edx + 0x8) = ecx; /* 0x36094616: mov dword ptr [edx + 8], ecx */ 7183 goto L_3609461D; /* 0x36094619: jmp 0x3609461d */ 7184 L_3609461B: 7185 MEM32(edx) = ecx; /* 0x3609461B: mov dword ptr [edx], ecx */ 7186 L_3609461D: 7187 MEM32(ecx + 0x8) = eax; /* 0x3609461D: mov dword ptr [ecx + 8], eax */ 7188 MEM32(eax + 0x4) = ecx; /* 0x36094620: mov dword ptr [eax + 4], ecx */ 7189 L_36094623: 7190 ecx = MEM32(eax + 0x4); /* 0x36094623: mov ecx, dword ptr [eax + 4] */ 7191 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094626: mov byte ptr [ecx + 0x24], bl */ 7192 edx = MEM32(eax + 0x4); /* 0x36094629: mov edx, dword ptr [eax + 4] */ 7193 ecx = MEM32(edx + 0x4); /* 0x3609462C: mov ecx, dword ptr [edx + 4] */ 7194 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x3609462F: mov byte ptr [ecx + 0x24], 0 */ 7195 edx = MEM32(eax + 0x4); /* 0x36094633: mov edx, dword ptr [eax + 4] */ 7196 ecx = MEM32(edx + 0x4); /* 0x36094636: mov ecx, dword ptr [edx + 4] */ 7197 edx = MEM32(ecx + 0x8); /* 0x36094639: mov edx, dword ptr [ecx + 8] */ 7198 edi = MEM32(edx); /* 0x3609463C: mov edi, dword ptr [edx] */ 7199 MEM32(ecx + 0x8) = edi; /* 0x3609463E: mov dword ptr [ecx + 8], edi */ 7200 edi = MEM32(edx); /* 0x36094641: mov edi, dword ptr [edx] */ 7201 /* cmp edi, MEM32(esi + 0x8) */ /* 0x36094643: cmp edi, dword ptr [esi + 8] */ 7202 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7203 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7204 _flag_k = FK_CMP; 7205 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609464B; /* 0x36094646: je 0x3609464b */ 7206 L_36094648: 7207 MEM32(edi + 0x4) = ecx; /* 0x36094648: mov dword ptr [edi + 4], ecx */ 7208 L_3609464B: 7209 edi = MEM32(ecx + 0x4); /* 0x3609464B: mov edi, dword ptr [ecx + 4] */ 7210 MEM32(edx + 0x4) = edi; /* 0x3609464E: mov dword ptr [edx + 4], edi */ 7211 edi = MEM32(esi + 0x4); /* 0x36094651: mov edi, dword ptr [esi + 4] */ 7212 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x36094654: cmp ecx, dword ptr [edi + 4] */ 7213 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 7214 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7215 _flag_k = FK_CMP; 7216 if (CMP_NE(_flag_a, _flag_b)) goto L_3609465E; /* 0x36094657: jne 0x3609465e */ 7217 L_36094659: 7218 MEM32(edi + 0x4) = edx; /* 0x36094659: mov dword ptr [edi + 4], edx */ 7219 goto L_3609466C; /* 0x3609465C: jmp 0x3609466c */ 7220 L_3609465E: 7221 edi = MEM32(ecx + 0x4); /* 0x3609465E: mov edi, dword ptr [ecx + 4] */ 7222 /* cmp ecx, MEM32(edi) */ /* 0x36094661: cmp ecx, dword ptr [edi] */ 7223 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 7224 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7225 _flag_k = FK_CMP; 7226 if (CMP_NE(_flag_a, _flag_b)) goto L_36094669; /* 0x36094663: jne 0x36094669 */ 7227 L_36094665: 7228 MEM32(edi) = edx; /* 0x36094665: mov dword ptr [edi], edx */ 7229 goto L_3609466C; /* 0x36094667: jmp 0x3609466c */ 7230 L_36094669: 7231 MEM32(edi + 0x8) = edx; /* 0x36094669: mov dword ptr [edi + 8], edx */ 7232 L_3609466C: 7233 MEM32(edx) = ecx; /* 0x3609466C: mov dword ptr [edx], ecx */ 7234 L_3609466E: 7235 MEM32(ecx + 0x4) = edx; /* 0x3609466E: mov dword ptr [ecx + 4], edx */ 7236 L_36094671: 7237 ecx = MEM32(esi + 0x4); /* 0x36094671: mov ecx, dword ptr [esi + 4] */ 7238 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x36094674: cmp eax, dword ptr [ecx + 4] */ 7239 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 7240 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7241 _flag_k = FK_CMP; 7242 RECOMP_BACKEDGE(); 7243 if (CMP_NE(_flag_a, _flag_b)) goto L_360944FD; /* 0x36094677: jne 0x360944fd */ 7244 L_3609467D: 7245 edx = MEM32(esi + 0x4); /* 0x3609467D: mov edx, dword ptr [esi + 4] */ 7246 eax = MEM32(edx + 0x4); /* 0x36094680: mov eax, dword ptr [edx + 4] */ 7247 ecx = MEM32(ebp + (-0x4)); /* 0x36094683: mov ecx, dword ptr [ebp - 4] */ 7248 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094686: mov byte ptr [eax + 0x24], bl */ 7249 eax = MEM32(ebp + 0x8); /* 0x36094689: mov eax, dword ptr [ebp + 8] */ 7250 edi = POP32_VAL(esp); /* 0x3609468C: pop edi */ 7251 esi = POP32_VAL(esp); /* 0x3609468D: pop esi */ 7252 MEM32(eax) = ecx; /* 0x3609468E: mov dword ptr [eax], ecx */ 7253 ebx = POP32_VAL(esp); /* 0x36094690: pop ebx */ 7254 esp = ebp; /* 0x36094691: mov esp, ebp */ 7255 ebp = POP32_VAL(esp); /* 0x36094693: pop ebp */ 7256 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x36094694: ret 0x10 */ 7257 RECOMP_REGS_OUT(); 7258 } 7259 7260 void sub_36094576(void) { 7261 int _fpu_cmp = 0; 7262 uint32_t _cf = 0; 7263 int _df = 1; 7264 uint32_t _flag_k = FK_NONE; 7265 uint32_t _flag_a = 0, _flag_b = 0; 7266 uint32_t _itail_tgt = 0; 7267 RECOMP_REGS_LOCALS 7268 RECOMP_ENTER(0x36094576u); 7269 7270 goto L_36094576; 7271 L_360944FD: 7272 ecx = MEM32(eax + 0x4); /* 0x360944FD: mov ecx, dword ptr [eax + 4] */ 7273 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x36094500: mov dl, byte ptr [ecx + 0x24] */ 7274 /* test LO8(edx), LO8(edx) */ /* 0x36094503: test dl, dl */ 7275 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 7276 _cf = 0; 7277 _flag_k = FK_NARROW(FK_TEST, 24); 7278 if (TEST_NZ(_flag_a, _flag_b)) goto L_3609467D; /* 0x36094505: jne 0x3609467d */ 7279 L_3609450B: 7280 edi = MEM32(ecx + 0x4); /* 0x3609450B: mov edi, dword ptr [ecx + 4] */ 7281 edx = MEM32(edi); /* 0x3609450E: mov edx, dword ptr [edi] */ 7282 /* cmp ecx, edx */ /* 0x36094510: cmp ecx, edx */ 7283 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 7284 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7285 _flag_k = FK_CMP; 7286 if (CMP_NE(_flag_a, _flag_b)) goto L_360945D9; /* 0x36094512: jne 0x360945d9 */ 7287 L_36094518: 7288 edx = MEM32(edi + 0x8); /* 0x36094518: mov edx, dword ptr [edi + 8] */ 7289 /* cmp MEM8(edx + 0x24), 0 */ /* 0x3609451B: cmp byte ptr [edx + 0x24], 0 */ 7290 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 7291 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7292 _flag_k = FK_NARROW(FK_CMP, 24); 7293 if (CMP_NE(_flag_a, _flag_b)) goto L_3609453C; /* 0x3609451F: jne 0x3609453c */ 7294 L_36094521: 7295 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094521: mov byte ptr [ecx + 0x24], bl */ 7296 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094524: mov byte ptr [edx + 0x24], bl */ 7297 ecx = MEM32(eax + 0x4); /* 0x36094527: mov ecx, dword ptr [eax + 4] */ 7298 edx = MEM32(ecx + 0x4); /* 0x3609452A: mov edx, dword ptr [ecx + 4] */ 7299 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x3609452D: mov byte ptr [edx + 0x24], 0 */ 7300 eax = MEM32(eax + 0x4); /* 0x36094531: mov eax, dword ptr [eax + 4] */ 7301 eax = MEM32(eax + 0x4); /* 0x36094534: mov eax, dword ptr [eax + 4] */ 7302 goto L_36094671; /* 0x36094537: jmp 0x36094671 */ 7303 L_3609453C: 7304 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x3609453C: cmp eax, dword ptr [ecx + 8] */ 7305 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 7306 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7307 _flag_k = FK_CMP; 7308 if (CMP_NE(_flag_a, _flag_b)) goto L_3609457B; /* 0x3609453F: jne 0x3609457b */ 7309 L_36094541: 7310 eax = ecx; /* 0x36094541: mov eax, ecx */ 7311 ecx = MEM32(eax + 0x8); /* 0x36094543: mov ecx, dword ptr [eax + 8] */ 7312 edx = MEM32(ecx); /* 0x36094546: mov edx, dword ptr [ecx] */ 7313 MEM32(eax + 0x8) = edx; /* 0x36094548: mov dword ptr [eax + 8], edx */ 7314 edx = MEM32(ecx); /* 0x3609454B: mov edx, dword ptr [ecx] */ 7315 /* cmp edx, MEM32(esi + 0x8) */ /* 0x3609454D: cmp edx, dword ptr [esi + 8] */ 7316 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7317 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7318 _flag_k = FK_CMP; 7319 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094555; /* 0x36094550: je 0x36094555 */ 7320 L_36094552: 7321 MEM32(edx + 0x4) = eax; /* 0x36094552: mov dword ptr [edx + 4], eax */ 7322 L_36094555: 7323 edx = MEM32(eax + 0x4); /* 0x36094555: mov edx, dword ptr [eax + 4] */ 7324 MEM32(ecx + 0x4) = edx; /* 0x36094558: mov dword ptr [ecx + 4], edx */ 7325 edx = MEM32(esi + 0x4); /* 0x3609455B: mov edx, dword ptr [esi + 4] */ 7326 /* cmp eax, MEM32(edx + 0x4) */ /* 0x3609455E: cmp eax, dword ptr [edx + 4] */ 7327 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 7328 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7329 _flag_k = FK_CMP; 7330 if (CMP_NE(_flag_a, _flag_b)) goto L_36094568; /* 0x36094561: jne 0x36094568 */ 7331 L_36094563: 7332 MEM32(edx + 0x4) = ecx; /* 0x36094563: mov dword ptr [edx + 4], ecx */ 7333 goto L_36094576; /* 0x36094566: jmp 0x36094576 */ 7334 L_36094568: 7335 edx = MEM32(eax + 0x4); /* 0x36094568: mov edx, dword ptr [eax + 4] */ 7336 /* cmp eax, MEM32(edx) */ /* 0x3609456B: cmp eax, dword ptr [edx] */ 7337 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 7338 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7339 _flag_k = FK_CMP; 7340 if (CMP_NE(_flag_a, _flag_b)) goto L_36094573; /* 0x3609456D: jne 0x36094573 */ 7341 L_3609456F: 7342 MEM32(edx) = ecx; /* 0x3609456F: mov dword ptr [edx], ecx */ 7343 goto L_36094576; /* 0x36094571: jmp 0x36094576 */ 7344 L_36094573: 7345 MEM32(edx + 0x8) = ecx; /* 0x36094573: mov dword ptr [edx + 8], ecx */ 7346 L_36094576: 7347 MEM32(ecx) = eax; /* 0x36094576: mov dword ptr [ecx], eax */ 7348 MEM32(eax + 0x4) = ecx; /* 0x36094578: mov dword ptr [eax + 4], ecx */ 7349 L_3609457B: 7350 ecx = MEM32(eax + 0x4); /* 0x3609457B: mov ecx, dword ptr [eax + 4] */ 7351 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x3609457E: mov byte ptr [ecx + 0x24], bl */ 7352 edx = MEM32(eax + 0x4); /* 0x36094581: mov edx, dword ptr [eax + 4] */ 7353 ecx = MEM32(edx + 0x4); /* 0x36094584: mov ecx, dword ptr [edx + 4] */ 7354 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x36094587: mov byte ptr [ecx + 0x24], 0 */ 7355 edx = MEM32(eax + 0x4); /* 0x3609458B: mov edx, dword ptr [eax + 4] */ 7356 ecx = MEM32(edx + 0x4); /* 0x3609458E: mov ecx, dword ptr [edx + 4] */ 7357 edx = MEM32(ecx); /* 0x36094591: mov edx, dword ptr [ecx] */ 7358 edi = MEM32(edx + 0x8); /* 0x36094593: mov edi, dword ptr [edx + 8] */ 7359 MEM32(ecx) = edi; /* 0x36094596: mov dword ptr [ecx], edi */ 7360 edi = MEM32(edx + 0x8); /* 0x36094598: mov edi, dword ptr [edx + 8] */ 7361 /* cmp edi, MEM32(esi + 0x8) */ /* 0x3609459B: cmp edi, dword ptr [esi + 8] */ 7362 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7363 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7364 _flag_k = FK_CMP; 7365 if (CMP_EQ(_flag_a, _flag_b)) goto L_360945A3; /* 0x3609459E: je 0x360945a3 */ 7366 L_360945A0: 7367 MEM32(edi + 0x4) = ecx; /* 0x360945A0: mov dword ptr [edi + 4], ecx */ 7368 L_360945A3: 7369 edi = MEM32(ecx + 0x4); /* 0x360945A3: mov edi, dword ptr [ecx + 4] */ 7370 MEM32(edx + 0x4) = edi; /* 0x360945A6: mov dword ptr [edx + 4], edi */ 7371 edi = MEM32(esi + 0x4); /* 0x360945A9: mov edi, dword ptr [esi + 4] */ 7372 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x360945AC: cmp ecx, dword ptr [edi + 4] */ 7373 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 7374 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7375 _flag_k = FK_CMP; 7376 if (CMP_NE(_flag_a, _flag_b)) goto L_360945BC; /* 0x360945AF: jne 0x360945bc */ 7377 L_360945B1: 7378 MEM32(edi + 0x4) = edx; /* 0x360945B1: mov dword ptr [edi + 4], edx */ 7379 MEM32(edx + 0x8) = ecx; /* 0x360945B4: mov dword ptr [edx + 8], ecx */ 7380 goto L_3609466E; /* 0x360945B7: jmp 0x3609466e */ 7381 L_360945BC: 7382 edi = MEM32(ecx + 0x4); /* 0x360945BC: mov edi, dword ptr [ecx + 4] */ 7383 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x360945BF: cmp ecx, dword ptr [edi + 8] */ 7384 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7385 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7386 _flag_k = FK_CMP; 7387 if (CMP_NE(_flag_a, _flag_b)) goto L_360945CF; /* 0x360945C2: jne 0x360945cf */ 7388 L_360945C4: 7389 MEM32(edi + 0x8) = edx; /* 0x360945C4: mov dword ptr [edi + 8], edx */ 7390 MEM32(edx + 0x8) = ecx; /* 0x360945C7: mov dword ptr [edx + 8], ecx */ 7391 goto L_3609466E; /* 0x360945CA: jmp 0x3609466e */ 7392 L_360945CF: 7393 MEM32(edi) = edx; /* 0x360945CF: mov dword ptr [edi], edx */ 7394 MEM32(edx + 0x8) = ecx; /* 0x360945D1: mov dword ptr [edx + 8], ecx */ 7395 goto L_3609466E; /* 0x360945D4: jmp 0x3609466e */ 7396 L_360945D9: 7397 /* cmp MEM8(edx + 0x24), 0 */ /* 0x360945D9: cmp byte ptr [edx + 0x24], 0 */ 7398 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 7399 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7400 _flag_k = FK_NARROW(FK_CMP, 24); 7401 RECOMP_BACKEDGE(); 7402 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094521; /* 0x360945DD: je 0x36094521 */ 7403 L_360945E3: 7404 /* cmp eax, MEM32(ecx) */ /* 0x360945E3: cmp eax, dword ptr [ecx] */ 7405 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 7406 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7407 _flag_k = FK_CMP; 7408 if (CMP_NE(_flag_a, _flag_b)) goto L_36094623; /* 0x360945E5: jne 0x36094623 */ 7409 L_360945E7: 7410 eax = ecx; /* 0x360945E7: mov eax, ecx */ 7411 ecx = MEM32(eax); /* 0x360945E9: mov ecx, dword ptr [eax] */ 7412 edx = MEM32(ecx + 0x8); /* 0x360945EB: mov edx, dword ptr [ecx + 8] */ 7413 MEM32(eax) = edx; /* 0x360945EE: mov dword ptr [eax], edx */ 7414 edx = MEM32(ecx + 0x8); /* 0x360945F0: mov edx, dword ptr [ecx + 8] */ 7415 /* cmp edx, MEM32(esi + 0x8) */ /* 0x360945F3: cmp edx, dword ptr [esi + 8] */ 7416 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7417 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7418 _flag_k = FK_CMP; 7419 if (CMP_EQ(_flag_a, _flag_b)) goto L_360945FB; /* 0x360945F6: je 0x360945fb */ 7420 L_360945F8: 7421 MEM32(edx + 0x4) = eax; /* 0x360945F8: mov dword ptr [edx + 4], eax */ 7422 L_360945FB: 7423 edx = MEM32(eax + 0x4); /* 0x360945FB: mov edx, dword ptr [eax + 4] */ 7424 MEM32(ecx + 0x4) = edx; /* 0x360945FE: mov dword ptr [ecx + 4], edx */ 7425 edx = MEM32(esi + 0x4); /* 0x36094601: mov edx, dword ptr [esi + 4] */ 7426 /* cmp eax, MEM32(edx + 0x4) */ /* 0x36094604: cmp eax, dword ptr [edx + 4] */ 7427 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 7428 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7429 _flag_k = FK_CMP; 7430 if (CMP_NE(_flag_a, _flag_b)) goto L_3609460E; /* 0x36094607: jne 0x3609460e */ 7431 L_36094609: 7432 MEM32(edx + 0x4) = ecx; /* 0x36094609: mov dword ptr [edx + 4], ecx */ 7433 goto L_3609461D; /* 0x3609460C: jmp 0x3609461d */ 7434 L_3609460E: 7435 edx = MEM32(eax + 0x4); /* 0x3609460E: mov edx, dword ptr [eax + 4] */ 7436 /* cmp eax, MEM32(edx + 0x8) */ /* 0x36094611: cmp eax, dword ptr [edx + 8] */ 7437 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 7438 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7439 _flag_k = FK_CMP; 7440 if (CMP_NE(_flag_a, _flag_b)) goto L_3609461B; /* 0x36094614: jne 0x3609461b */ 7441 L_36094616: 7442 MEM32(edx + 0x8) = ecx; /* 0x36094616: mov dword ptr [edx + 8], ecx */ 7443 goto L_3609461D; /* 0x36094619: jmp 0x3609461d */ 7444 L_3609461B: 7445 MEM32(edx) = ecx; /* 0x3609461B: mov dword ptr [edx], ecx */ 7446 L_3609461D: 7447 MEM32(ecx + 0x8) = eax; /* 0x3609461D: mov dword ptr [ecx + 8], eax */ 7448 MEM32(eax + 0x4) = ecx; /* 0x36094620: mov dword ptr [eax + 4], ecx */ 7449 L_36094623: 7450 ecx = MEM32(eax + 0x4); /* 0x36094623: mov ecx, dword ptr [eax + 4] */ 7451 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094626: mov byte ptr [ecx + 0x24], bl */ 7452 edx = MEM32(eax + 0x4); /* 0x36094629: mov edx, dword ptr [eax + 4] */ 7453 ecx = MEM32(edx + 0x4); /* 0x3609462C: mov ecx, dword ptr [edx + 4] */ 7454 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x3609462F: mov byte ptr [ecx + 0x24], 0 */ 7455 edx = MEM32(eax + 0x4); /* 0x36094633: mov edx, dword ptr [eax + 4] */ 7456 ecx = MEM32(edx + 0x4); /* 0x36094636: mov ecx, dword ptr [edx + 4] */ 7457 edx = MEM32(ecx + 0x8); /* 0x36094639: mov edx, dword ptr [ecx + 8] */ 7458 edi = MEM32(edx); /* 0x3609463C: mov edi, dword ptr [edx] */ 7459 MEM32(ecx + 0x8) = edi; /* 0x3609463E: mov dword ptr [ecx + 8], edi */ 7460 edi = MEM32(edx); /* 0x36094641: mov edi, dword ptr [edx] */ 7461 /* cmp edi, MEM32(esi + 0x8) */ /* 0x36094643: cmp edi, dword ptr [esi + 8] */ 7462 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7463 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7464 _flag_k = FK_CMP; 7465 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609464B; /* 0x36094646: je 0x3609464b */ 7466 L_36094648: 7467 MEM32(edi + 0x4) = ecx; /* 0x36094648: mov dword ptr [edi + 4], ecx */ 7468 L_3609464B: 7469 edi = MEM32(ecx + 0x4); /* 0x3609464B: mov edi, dword ptr [ecx + 4] */ 7470 MEM32(edx + 0x4) = edi; /* 0x3609464E: mov dword ptr [edx + 4], edi */ 7471 edi = MEM32(esi + 0x4); /* 0x36094651: mov edi, dword ptr [esi + 4] */ 7472 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x36094654: cmp ecx, dword ptr [edi + 4] */ 7473 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 7474 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7475 _flag_k = FK_CMP; 7476 if (CMP_NE(_flag_a, _flag_b)) goto L_3609465E; /* 0x36094657: jne 0x3609465e */ 7477 L_36094659: 7478 MEM32(edi + 0x4) = edx; /* 0x36094659: mov dword ptr [edi + 4], edx */ 7479 goto L_3609466C; /* 0x3609465C: jmp 0x3609466c */ 7480 L_3609465E: 7481 edi = MEM32(ecx + 0x4); /* 0x3609465E: mov edi, dword ptr [ecx + 4] */ 7482 /* cmp ecx, MEM32(edi) */ /* 0x36094661: cmp ecx, dword ptr [edi] */ 7483 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 7484 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7485 _flag_k = FK_CMP; 7486 if (CMP_NE(_flag_a, _flag_b)) goto L_36094669; /* 0x36094663: jne 0x36094669 */ 7487 L_36094665: 7488 MEM32(edi) = edx; /* 0x36094665: mov dword ptr [edi], edx */ 7489 goto L_3609466C; /* 0x36094667: jmp 0x3609466c */ 7490 L_36094669: 7491 MEM32(edi + 0x8) = edx; /* 0x36094669: mov dword ptr [edi + 8], edx */ 7492 L_3609466C: 7493 MEM32(edx) = ecx; /* 0x3609466C: mov dword ptr [edx], ecx */ 7494 L_3609466E: 7495 MEM32(ecx + 0x4) = edx; /* 0x3609466E: mov dword ptr [ecx + 4], edx */ 7496 L_36094671: 7497 ecx = MEM32(esi + 0x4); /* 0x36094671: mov ecx, dword ptr [esi + 4] */ 7498 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x36094674: cmp eax, dword ptr [ecx + 4] */ 7499 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 7500 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7501 _flag_k = FK_CMP; 7502 RECOMP_BACKEDGE(); 7503 if (CMP_NE(_flag_a, _flag_b)) goto L_360944FD; /* 0x36094677: jne 0x360944fd */ 7504 L_3609467D: 7505 edx = MEM32(esi + 0x4); /* 0x3609467D: mov edx, dword ptr [esi + 4] */ 7506 eax = MEM32(edx + 0x4); /* 0x36094680: mov eax, dword ptr [edx + 4] */ 7507 ecx = MEM32(ebp + (-0x4)); /* 0x36094683: mov ecx, dword ptr [ebp - 4] */ 7508 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094686: mov byte ptr [eax + 0x24], bl */ 7509 eax = MEM32(ebp + 0x8); /* 0x36094689: mov eax, dword ptr [ebp + 8] */ 7510 edi = POP32_VAL(esp); /* 0x3609468C: pop edi */ 7511 esi = POP32_VAL(esp); /* 0x3609468D: pop esi */ 7512 MEM32(eax) = ecx; /* 0x3609468E: mov dword ptr [eax], ecx */ 7513 ebx = POP32_VAL(esp); /* 0x36094690: pop ebx */ 7514 esp = ebp; /* 0x36094691: mov esp, ebp */ 7515 ebp = POP32_VAL(esp); /* 0x36094693: pop ebp */ 7516 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x36094694: ret 0x10 */ 7517 RECOMP_REGS_OUT(); 7518 } 7519 7520 void sub_3609457B(void) { 7521 int _fpu_cmp = 0; 7522 uint32_t _cf = 0; 7523 int _df = 1; 7524 uint32_t _flag_k = FK_NONE; 7525 uint32_t _flag_a = 0, _flag_b = 0; 7526 uint32_t _itail_tgt = 0; 7527 RECOMP_REGS_LOCALS 7528 RECOMP_ENTER(0x3609457Bu); 7529 7530 goto L_3609457B; 7531 L_360944FD: 7532 ecx = MEM32(eax + 0x4); /* 0x360944FD: mov ecx, dword ptr [eax + 4] */ 7533 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x36094500: mov dl, byte ptr [ecx + 0x24] */ 7534 /* test LO8(edx), LO8(edx) */ /* 0x36094503: test dl, dl */ 7535 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 7536 _cf = 0; 7537 _flag_k = FK_NARROW(FK_TEST, 24); 7538 if (TEST_NZ(_flag_a, _flag_b)) goto L_3609467D; /* 0x36094505: jne 0x3609467d */ 7539 L_3609450B: 7540 edi = MEM32(ecx + 0x4); /* 0x3609450B: mov edi, dword ptr [ecx + 4] */ 7541 edx = MEM32(edi); /* 0x3609450E: mov edx, dword ptr [edi] */ 7542 /* cmp ecx, edx */ /* 0x36094510: cmp ecx, edx */ 7543 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 7544 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7545 _flag_k = FK_CMP; 7546 if (CMP_NE(_flag_a, _flag_b)) goto L_360945D9; /* 0x36094512: jne 0x360945d9 */ 7547 L_36094518: 7548 edx = MEM32(edi + 0x8); /* 0x36094518: mov edx, dword ptr [edi + 8] */ 7549 /* cmp MEM8(edx + 0x24), 0 */ /* 0x3609451B: cmp byte ptr [edx + 0x24], 0 */ 7550 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 7551 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7552 _flag_k = FK_NARROW(FK_CMP, 24); 7553 if (CMP_NE(_flag_a, _flag_b)) goto L_3609453C; /* 0x3609451F: jne 0x3609453c */ 7554 L_36094521: 7555 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094521: mov byte ptr [ecx + 0x24], bl */ 7556 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094524: mov byte ptr [edx + 0x24], bl */ 7557 ecx = MEM32(eax + 0x4); /* 0x36094527: mov ecx, dword ptr [eax + 4] */ 7558 edx = MEM32(ecx + 0x4); /* 0x3609452A: mov edx, dword ptr [ecx + 4] */ 7559 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x3609452D: mov byte ptr [edx + 0x24], 0 */ 7560 eax = MEM32(eax + 0x4); /* 0x36094531: mov eax, dword ptr [eax + 4] */ 7561 eax = MEM32(eax + 0x4); /* 0x36094534: mov eax, dword ptr [eax + 4] */ 7562 goto L_36094671; /* 0x36094537: jmp 0x36094671 */ 7563 L_3609453C: 7564 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x3609453C: cmp eax, dword ptr [ecx + 8] */ 7565 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 7566 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7567 _flag_k = FK_CMP; 7568 if (CMP_NE(_flag_a, _flag_b)) goto L_3609457B; /* 0x3609453F: jne 0x3609457b */ 7569 L_36094541: 7570 eax = ecx; /* 0x36094541: mov eax, ecx */ 7571 ecx = MEM32(eax + 0x8); /* 0x36094543: mov ecx, dword ptr [eax + 8] */ 7572 edx = MEM32(ecx); /* 0x36094546: mov edx, dword ptr [ecx] */ 7573 MEM32(eax + 0x8) = edx; /* 0x36094548: mov dword ptr [eax + 8], edx */ 7574 edx = MEM32(ecx); /* 0x3609454B: mov edx, dword ptr [ecx] */ 7575 /* cmp edx, MEM32(esi + 0x8) */ /* 0x3609454D: cmp edx, dword ptr [esi + 8] */ 7576 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7577 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7578 _flag_k = FK_CMP; 7579 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094555; /* 0x36094550: je 0x36094555 */ 7580 L_36094552: 7581 MEM32(edx + 0x4) = eax; /* 0x36094552: mov dword ptr [edx + 4], eax */ 7582 L_36094555: 7583 edx = MEM32(eax + 0x4); /* 0x36094555: mov edx, dword ptr [eax + 4] */ 7584 MEM32(ecx + 0x4) = edx; /* 0x36094558: mov dword ptr [ecx + 4], edx */ 7585 edx = MEM32(esi + 0x4); /* 0x3609455B: mov edx, dword ptr [esi + 4] */ 7586 /* cmp eax, MEM32(edx + 0x4) */ /* 0x3609455E: cmp eax, dword ptr [edx + 4] */ 7587 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 7588 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7589 _flag_k = FK_CMP; 7590 if (CMP_NE(_flag_a, _flag_b)) goto L_36094568; /* 0x36094561: jne 0x36094568 */ 7591 L_36094563: 7592 MEM32(edx + 0x4) = ecx; /* 0x36094563: mov dword ptr [edx + 4], ecx */ 7593 goto L_36094576; /* 0x36094566: jmp 0x36094576 */ 7594 L_36094568: 7595 edx = MEM32(eax + 0x4); /* 0x36094568: mov edx, dword ptr [eax + 4] */ 7596 /* cmp eax, MEM32(edx) */ /* 0x3609456B: cmp eax, dword ptr [edx] */ 7597 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 7598 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7599 _flag_k = FK_CMP; 7600 if (CMP_NE(_flag_a, _flag_b)) goto L_36094573; /* 0x3609456D: jne 0x36094573 */ 7601 L_3609456F: 7602 MEM32(edx) = ecx; /* 0x3609456F: mov dword ptr [edx], ecx */ 7603 goto L_36094576; /* 0x36094571: jmp 0x36094576 */ 7604 L_36094573: 7605 MEM32(edx + 0x8) = ecx; /* 0x36094573: mov dword ptr [edx + 8], ecx */ 7606 L_36094576: 7607 MEM32(ecx) = eax; /* 0x36094576: mov dword ptr [ecx], eax */ 7608 MEM32(eax + 0x4) = ecx; /* 0x36094578: mov dword ptr [eax + 4], ecx */ 7609 L_3609457B: 7610 ecx = MEM32(eax + 0x4); /* 0x3609457B: mov ecx, dword ptr [eax + 4] */ 7611 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x3609457E: mov byte ptr [ecx + 0x24], bl */ 7612 edx = MEM32(eax + 0x4); /* 0x36094581: mov edx, dword ptr [eax + 4] */ 7613 ecx = MEM32(edx + 0x4); /* 0x36094584: mov ecx, dword ptr [edx + 4] */ 7614 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x36094587: mov byte ptr [ecx + 0x24], 0 */ 7615 edx = MEM32(eax + 0x4); /* 0x3609458B: mov edx, dword ptr [eax + 4] */ 7616 ecx = MEM32(edx + 0x4); /* 0x3609458E: mov ecx, dword ptr [edx + 4] */ 7617 edx = MEM32(ecx); /* 0x36094591: mov edx, dword ptr [ecx] */ 7618 edi = MEM32(edx + 0x8); /* 0x36094593: mov edi, dword ptr [edx + 8] */ 7619 MEM32(ecx) = edi; /* 0x36094596: mov dword ptr [ecx], edi */ 7620 edi = MEM32(edx + 0x8); /* 0x36094598: mov edi, dword ptr [edx + 8] */ 7621 /* cmp edi, MEM32(esi + 0x8) */ /* 0x3609459B: cmp edi, dword ptr [esi + 8] */ 7622 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7623 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7624 _flag_k = FK_CMP; 7625 if (CMP_EQ(_flag_a, _flag_b)) goto L_360945A3; /* 0x3609459E: je 0x360945a3 */ 7626 L_360945A0: 7627 MEM32(edi + 0x4) = ecx; /* 0x360945A0: mov dword ptr [edi + 4], ecx */ 7628 L_360945A3: 7629 edi = MEM32(ecx + 0x4); /* 0x360945A3: mov edi, dword ptr [ecx + 4] */ 7630 MEM32(edx + 0x4) = edi; /* 0x360945A6: mov dword ptr [edx + 4], edi */ 7631 edi = MEM32(esi + 0x4); /* 0x360945A9: mov edi, dword ptr [esi + 4] */ 7632 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x360945AC: cmp ecx, dword ptr [edi + 4] */ 7633 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 7634 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7635 _flag_k = FK_CMP; 7636 if (CMP_NE(_flag_a, _flag_b)) goto L_360945BC; /* 0x360945AF: jne 0x360945bc */ 7637 L_360945B1: 7638 MEM32(edi + 0x4) = edx; /* 0x360945B1: mov dword ptr [edi + 4], edx */ 7639 MEM32(edx + 0x8) = ecx; /* 0x360945B4: mov dword ptr [edx + 8], ecx */ 7640 goto L_3609466E; /* 0x360945B7: jmp 0x3609466e */ 7641 L_360945BC: 7642 edi = MEM32(ecx + 0x4); /* 0x360945BC: mov edi, dword ptr [ecx + 4] */ 7643 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x360945BF: cmp ecx, dword ptr [edi + 8] */ 7644 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7645 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7646 _flag_k = FK_CMP; 7647 if (CMP_NE(_flag_a, _flag_b)) goto L_360945CF; /* 0x360945C2: jne 0x360945cf */ 7648 L_360945C4: 7649 MEM32(edi + 0x8) = edx; /* 0x360945C4: mov dword ptr [edi + 8], edx */ 7650 MEM32(edx + 0x8) = ecx; /* 0x360945C7: mov dword ptr [edx + 8], ecx */ 7651 goto L_3609466E; /* 0x360945CA: jmp 0x3609466e */ 7652 L_360945CF: 7653 MEM32(edi) = edx; /* 0x360945CF: mov dword ptr [edi], edx */ 7654 MEM32(edx + 0x8) = ecx; /* 0x360945D1: mov dword ptr [edx + 8], ecx */ 7655 goto L_3609466E; /* 0x360945D4: jmp 0x3609466e */ 7656 L_360945D9: 7657 /* cmp MEM8(edx + 0x24), 0 */ /* 0x360945D9: cmp byte ptr [edx + 0x24], 0 */ 7658 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 7659 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7660 _flag_k = FK_NARROW(FK_CMP, 24); 7661 RECOMP_BACKEDGE(); 7662 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094521; /* 0x360945DD: je 0x36094521 */ 7663 L_360945E3: 7664 /* cmp eax, MEM32(ecx) */ /* 0x360945E3: cmp eax, dword ptr [ecx] */ 7665 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 7666 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7667 _flag_k = FK_CMP; 7668 if (CMP_NE(_flag_a, _flag_b)) goto L_36094623; /* 0x360945E5: jne 0x36094623 */ 7669 L_360945E7: 7670 eax = ecx; /* 0x360945E7: mov eax, ecx */ 7671 ecx = MEM32(eax); /* 0x360945E9: mov ecx, dword ptr [eax] */ 7672 edx = MEM32(ecx + 0x8); /* 0x360945EB: mov edx, dword ptr [ecx + 8] */ 7673 MEM32(eax) = edx; /* 0x360945EE: mov dword ptr [eax], edx */ 7674 edx = MEM32(ecx + 0x8); /* 0x360945F0: mov edx, dword ptr [ecx + 8] */ 7675 /* cmp edx, MEM32(esi + 0x8) */ /* 0x360945F3: cmp edx, dword ptr [esi + 8] */ 7676 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7677 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7678 _flag_k = FK_CMP; 7679 if (CMP_EQ(_flag_a, _flag_b)) goto L_360945FB; /* 0x360945F6: je 0x360945fb */ 7680 L_360945F8: 7681 MEM32(edx + 0x4) = eax; /* 0x360945F8: mov dword ptr [edx + 4], eax */ 7682 L_360945FB: 7683 edx = MEM32(eax + 0x4); /* 0x360945FB: mov edx, dword ptr [eax + 4] */ 7684 MEM32(ecx + 0x4) = edx; /* 0x360945FE: mov dword ptr [ecx + 4], edx */ 7685 edx = MEM32(esi + 0x4); /* 0x36094601: mov edx, dword ptr [esi + 4] */ 7686 /* cmp eax, MEM32(edx + 0x4) */ /* 0x36094604: cmp eax, dword ptr [edx + 4] */ 7687 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 7688 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7689 _flag_k = FK_CMP; 7690 if (CMP_NE(_flag_a, _flag_b)) goto L_3609460E; /* 0x36094607: jne 0x3609460e */ 7691 L_36094609: 7692 MEM32(edx + 0x4) = ecx; /* 0x36094609: mov dword ptr [edx + 4], ecx */ 7693 goto L_3609461D; /* 0x3609460C: jmp 0x3609461d */ 7694 L_3609460E: 7695 edx = MEM32(eax + 0x4); /* 0x3609460E: mov edx, dword ptr [eax + 4] */ 7696 /* cmp eax, MEM32(edx + 0x8) */ /* 0x36094611: cmp eax, dword ptr [edx + 8] */ 7697 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 7698 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7699 _flag_k = FK_CMP; 7700 if (CMP_NE(_flag_a, _flag_b)) goto L_3609461B; /* 0x36094614: jne 0x3609461b */ 7701 L_36094616: 7702 MEM32(edx + 0x8) = ecx; /* 0x36094616: mov dword ptr [edx + 8], ecx */ 7703 goto L_3609461D; /* 0x36094619: jmp 0x3609461d */ 7704 L_3609461B: 7705 MEM32(edx) = ecx; /* 0x3609461B: mov dword ptr [edx], ecx */ 7706 L_3609461D: 7707 MEM32(ecx + 0x8) = eax; /* 0x3609461D: mov dword ptr [ecx + 8], eax */ 7708 MEM32(eax + 0x4) = ecx; /* 0x36094620: mov dword ptr [eax + 4], ecx */ 7709 L_36094623: 7710 ecx = MEM32(eax + 0x4); /* 0x36094623: mov ecx, dword ptr [eax + 4] */ 7711 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094626: mov byte ptr [ecx + 0x24], bl */ 7712 edx = MEM32(eax + 0x4); /* 0x36094629: mov edx, dword ptr [eax + 4] */ 7713 ecx = MEM32(edx + 0x4); /* 0x3609462C: mov ecx, dword ptr [edx + 4] */ 7714 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x3609462F: mov byte ptr [ecx + 0x24], 0 */ 7715 edx = MEM32(eax + 0x4); /* 0x36094633: mov edx, dword ptr [eax + 4] */ 7716 ecx = MEM32(edx + 0x4); /* 0x36094636: mov ecx, dword ptr [edx + 4] */ 7717 edx = MEM32(ecx + 0x8); /* 0x36094639: mov edx, dword ptr [ecx + 8] */ 7718 edi = MEM32(edx); /* 0x3609463C: mov edi, dword ptr [edx] */ 7719 MEM32(ecx + 0x8) = edi; /* 0x3609463E: mov dword ptr [ecx + 8], edi */ 7720 edi = MEM32(edx); /* 0x36094641: mov edi, dword ptr [edx] */ 7721 /* cmp edi, MEM32(esi + 0x8) */ /* 0x36094643: cmp edi, dword ptr [esi + 8] */ 7722 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7723 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7724 _flag_k = FK_CMP; 7725 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609464B; /* 0x36094646: je 0x3609464b */ 7726 L_36094648: 7727 MEM32(edi + 0x4) = ecx; /* 0x36094648: mov dword ptr [edi + 4], ecx */ 7728 L_3609464B: 7729 edi = MEM32(ecx + 0x4); /* 0x3609464B: mov edi, dword ptr [ecx + 4] */ 7730 MEM32(edx + 0x4) = edi; /* 0x3609464E: mov dword ptr [edx + 4], edi */ 7731 edi = MEM32(esi + 0x4); /* 0x36094651: mov edi, dword ptr [esi + 4] */ 7732 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x36094654: cmp ecx, dword ptr [edi + 4] */ 7733 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 7734 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7735 _flag_k = FK_CMP; 7736 if (CMP_NE(_flag_a, _flag_b)) goto L_3609465E; /* 0x36094657: jne 0x3609465e */ 7737 L_36094659: 7738 MEM32(edi + 0x4) = edx; /* 0x36094659: mov dword ptr [edi + 4], edx */ 7739 goto L_3609466C; /* 0x3609465C: jmp 0x3609466c */ 7740 L_3609465E: 7741 edi = MEM32(ecx + 0x4); /* 0x3609465E: mov edi, dword ptr [ecx + 4] */ 7742 /* cmp ecx, MEM32(edi) */ /* 0x36094661: cmp ecx, dword ptr [edi] */ 7743 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 7744 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7745 _flag_k = FK_CMP; 7746 if (CMP_NE(_flag_a, _flag_b)) goto L_36094669; /* 0x36094663: jne 0x36094669 */ 7747 L_36094665: 7748 MEM32(edi) = edx; /* 0x36094665: mov dword ptr [edi], edx */ 7749 goto L_3609466C; /* 0x36094667: jmp 0x3609466c */ 7750 L_36094669: 7751 MEM32(edi + 0x8) = edx; /* 0x36094669: mov dword ptr [edi + 8], edx */ 7752 L_3609466C: 7753 MEM32(edx) = ecx; /* 0x3609466C: mov dword ptr [edx], ecx */ 7754 L_3609466E: 7755 MEM32(ecx + 0x4) = edx; /* 0x3609466E: mov dword ptr [ecx + 4], edx */ 7756 L_36094671: 7757 ecx = MEM32(esi + 0x4); /* 0x36094671: mov ecx, dword ptr [esi + 4] */ 7758 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x36094674: cmp eax, dword ptr [ecx + 4] */ 7759 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 7760 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7761 _flag_k = FK_CMP; 7762 RECOMP_BACKEDGE(); 7763 if (CMP_NE(_flag_a, _flag_b)) goto L_360944FD; /* 0x36094677: jne 0x360944fd */ 7764 L_3609467D: 7765 edx = MEM32(esi + 0x4); /* 0x3609467D: mov edx, dword ptr [esi + 4] */ 7766 eax = MEM32(edx + 0x4); /* 0x36094680: mov eax, dword ptr [edx + 4] */ 7767 ecx = MEM32(ebp + (-0x4)); /* 0x36094683: mov ecx, dword ptr [ebp - 4] */ 7768 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094686: mov byte ptr [eax + 0x24], bl */ 7769 eax = MEM32(ebp + 0x8); /* 0x36094689: mov eax, dword ptr [ebp + 8] */ 7770 edi = POP32_VAL(esp); /* 0x3609468C: pop edi */ 7771 esi = POP32_VAL(esp); /* 0x3609468D: pop esi */ 7772 MEM32(eax) = ecx; /* 0x3609468E: mov dword ptr [eax], ecx */ 7773 ebx = POP32_VAL(esp); /* 0x36094690: pop ebx */ 7774 esp = ebp; /* 0x36094691: mov esp, ebp */ 7775 ebp = POP32_VAL(esp); /* 0x36094693: pop ebp */ 7776 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x36094694: ret 0x10 */ 7777 RECOMP_REGS_OUT(); 7778 } 7779 7780 void sub_360945D9(void) { 7781 int _fpu_cmp = 0; 7782 uint32_t _cf = 0; 7783 int _df = 1; 7784 uint32_t _flag_k = FK_NONE; 7785 uint32_t _flag_a = 0, _flag_b = 0; 7786 uint32_t _itail_tgt = 0; 7787 RECOMP_REGS_LOCALS 7788 RECOMP_ENTER(0x360945D9u); 7789 7790 goto L_360945D9; 7791 L_360944FD: 7792 ecx = MEM32(eax + 0x4); /* 0x360944FD: mov ecx, dword ptr [eax + 4] */ 7793 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x36094500: mov dl, byte ptr [ecx + 0x24] */ 7794 /* test LO8(edx), LO8(edx) */ /* 0x36094503: test dl, dl */ 7795 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 7796 _cf = 0; 7797 _flag_k = FK_NARROW(FK_TEST, 24); 7798 if (TEST_NZ(_flag_a, _flag_b)) goto L_3609467D; /* 0x36094505: jne 0x3609467d */ 7799 L_3609450B: 7800 edi = MEM32(ecx + 0x4); /* 0x3609450B: mov edi, dword ptr [ecx + 4] */ 7801 edx = MEM32(edi); /* 0x3609450E: mov edx, dword ptr [edi] */ 7802 /* cmp ecx, edx */ /* 0x36094510: cmp ecx, edx */ 7803 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 7804 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7805 _flag_k = FK_CMP; 7806 if (CMP_NE(_flag_a, _flag_b)) goto L_360945D9; /* 0x36094512: jne 0x360945d9 */ 7807 L_36094518: 7808 edx = MEM32(edi + 0x8); /* 0x36094518: mov edx, dword ptr [edi + 8] */ 7809 /* cmp MEM8(edx + 0x24), 0 */ /* 0x3609451B: cmp byte ptr [edx + 0x24], 0 */ 7810 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 7811 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7812 _flag_k = FK_NARROW(FK_CMP, 24); 7813 if (CMP_NE(_flag_a, _flag_b)) goto L_3609453C; /* 0x3609451F: jne 0x3609453c */ 7814 L_36094521: 7815 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094521: mov byte ptr [ecx + 0x24], bl */ 7816 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094524: mov byte ptr [edx + 0x24], bl */ 7817 ecx = MEM32(eax + 0x4); /* 0x36094527: mov ecx, dword ptr [eax + 4] */ 7818 edx = MEM32(ecx + 0x4); /* 0x3609452A: mov edx, dword ptr [ecx + 4] */ 7819 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x3609452D: mov byte ptr [edx + 0x24], 0 */ 7820 eax = MEM32(eax + 0x4); /* 0x36094531: mov eax, dword ptr [eax + 4] */ 7821 eax = MEM32(eax + 0x4); /* 0x36094534: mov eax, dword ptr [eax + 4] */ 7822 goto L_36094671; /* 0x36094537: jmp 0x36094671 */ 7823 L_3609453C: 7824 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x3609453C: cmp eax, dword ptr [ecx + 8] */ 7825 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 7826 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7827 _flag_k = FK_CMP; 7828 if (CMP_NE(_flag_a, _flag_b)) goto L_3609457B; /* 0x3609453F: jne 0x3609457b */ 7829 L_36094541: 7830 eax = ecx; /* 0x36094541: mov eax, ecx */ 7831 ecx = MEM32(eax + 0x8); /* 0x36094543: mov ecx, dword ptr [eax + 8] */ 7832 edx = MEM32(ecx); /* 0x36094546: mov edx, dword ptr [ecx] */ 7833 MEM32(eax + 0x8) = edx; /* 0x36094548: mov dword ptr [eax + 8], edx */ 7834 edx = MEM32(ecx); /* 0x3609454B: mov edx, dword ptr [ecx] */ 7835 /* cmp edx, MEM32(esi + 0x8) */ /* 0x3609454D: cmp edx, dword ptr [esi + 8] */ 7836 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7837 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7838 _flag_k = FK_CMP; 7839 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094555; /* 0x36094550: je 0x36094555 */ 7840 L_36094552: 7841 MEM32(edx + 0x4) = eax; /* 0x36094552: mov dword ptr [edx + 4], eax */ 7842 L_36094555: 7843 edx = MEM32(eax + 0x4); /* 0x36094555: mov edx, dword ptr [eax + 4] */ 7844 MEM32(ecx + 0x4) = edx; /* 0x36094558: mov dword ptr [ecx + 4], edx */ 7845 edx = MEM32(esi + 0x4); /* 0x3609455B: mov edx, dword ptr [esi + 4] */ 7846 /* cmp eax, MEM32(edx + 0x4) */ /* 0x3609455E: cmp eax, dword ptr [edx + 4] */ 7847 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 7848 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7849 _flag_k = FK_CMP; 7850 if (CMP_NE(_flag_a, _flag_b)) goto L_36094568; /* 0x36094561: jne 0x36094568 */ 7851 L_36094563: 7852 MEM32(edx + 0x4) = ecx; /* 0x36094563: mov dword ptr [edx + 4], ecx */ 7853 goto L_36094576; /* 0x36094566: jmp 0x36094576 */ 7854 L_36094568: 7855 edx = MEM32(eax + 0x4); /* 0x36094568: mov edx, dword ptr [eax + 4] */ 7856 /* cmp eax, MEM32(edx) */ /* 0x3609456B: cmp eax, dword ptr [edx] */ 7857 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 7858 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7859 _flag_k = FK_CMP; 7860 if (CMP_NE(_flag_a, _flag_b)) goto L_36094573; /* 0x3609456D: jne 0x36094573 */ 7861 L_3609456F: 7862 MEM32(edx) = ecx; /* 0x3609456F: mov dword ptr [edx], ecx */ 7863 goto L_36094576; /* 0x36094571: jmp 0x36094576 */ 7864 L_36094573: 7865 MEM32(edx + 0x8) = ecx; /* 0x36094573: mov dword ptr [edx + 8], ecx */ 7866 L_36094576: 7867 MEM32(ecx) = eax; /* 0x36094576: mov dword ptr [ecx], eax */ 7868 MEM32(eax + 0x4) = ecx; /* 0x36094578: mov dword ptr [eax + 4], ecx */ 7869 L_3609457B: 7870 ecx = MEM32(eax + 0x4); /* 0x3609457B: mov ecx, dword ptr [eax + 4] */ 7871 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x3609457E: mov byte ptr [ecx + 0x24], bl */ 7872 edx = MEM32(eax + 0x4); /* 0x36094581: mov edx, dword ptr [eax + 4] */ 7873 ecx = MEM32(edx + 0x4); /* 0x36094584: mov ecx, dword ptr [edx + 4] */ 7874 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x36094587: mov byte ptr [ecx + 0x24], 0 */ 7875 edx = MEM32(eax + 0x4); /* 0x3609458B: mov edx, dword ptr [eax + 4] */ 7876 ecx = MEM32(edx + 0x4); /* 0x3609458E: mov ecx, dword ptr [edx + 4] */ 7877 edx = MEM32(ecx); /* 0x36094591: mov edx, dword ptr [ecx] */ 7878 edi = MEM32(edx + 0x8); /* 0x36094593: mov edi, dword ptr [edx + 8] */ 7879 MEM32(ecx) = edi; /* 0x36094596: mov dword ptr [ecx], edi */ 7880 edi = MEM32(edx + 0x8); /* 0x36094598: mov edi, dword ptr [edx + 8] */ 7881 /* cmp edi, MEM32(esi + 0x8) */ /* 0x3609459B: cmp edi, dword ptr [esi + 8] */ 7882 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7883 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7884 _flag_k = FK_CMP; 7885 if (CMP_EQ(_flag_a, _flag_b)) goto L_360945A3; /* 0x3609459E: je 0x360945a3 */ 7886 L_360945A0: 7887 MEM32(edi + 0x4) = ecx; /* 0x360945A0: mov dword ptr [edi + 4], ecx */ 7888 L_360945A3: 7889 edi = MEM32(ecx + 0x4); /* 0x360945A3: mov edi, dword ptr [ecx + 4] */ 7890 MEM32(edx + 0x4) = edi; /* 0x360945A6: mov dword ptr [edx + 4], edi */ 7891 edi = MEM32(esi + 0x4); /* 0x360945A9: mov edi, dword ptr [esi + 4] */ 7892 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x360945AC: cmp ecx, dword ptr [edi + 4] */ 7893 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 7894 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7895 _flag_k = FK_CMP; 7896 if (CMP_NE(_flag_a, _flag_b)) goto L_360945BC; /* 0x360945AF: jne 0x360945bc */ 7897 L_360945B1: 7898 MEM32(edi + 0x4) = edx; /* 0x360945B1: mov dword ptr [edi + 4], edx */ 7899 MEM32(edx + 0x8) = ecx; /* 0x360945B4: mov dword ptr [edx + 8], ecx */ 7900 goto L_3609466E; /* 0x360945B7: jmp 0x3609466e */ 7901 L_360945BC: 7902 edi = MEM32(ecx + 0x4); /* 0x360945BC: mov edi, dword ptr [ecx + 4] */ 7903 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x360945BF: cmp ecx, dword ptr [edi + 8] */ 7904 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 7905 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7906 _flag_k = FK_CMP; 7907 if (CMP_NE(_flag_a, _flag_b)) goto L_360945CF; /* 0x360945C2: jne 0x360945cf */ 7908 L_360945C4: 7909 MEM32(edi + 0x8) = edx; /* 0x360945C4: mov dword ptr [edi + 8], edx */ 7910 MEM32(edx + 0x8) = ecx; /* 0x360945C7: mov dword ptr [edx + 8], ecx */ 7911 goto L_3609466E; /* 0x360945CA: jmp 0x3609466e */ 7912 L_360945CF: 7913 MEM32(edi) = edx; /* 0x360945CF: mov dword ptr [edi], edx */ 7914 MEM32(edx + 0x8) = ecx; /* 0x360945D1: mov dword ptr [edx + 8], ecx */ 7915 goto L_3609466E; /* 0x360945D4: jmp 0x3609466e */ 7916 L_360945D9: 7917 /* cmp MEM8(edx + 0x24), 0 */ /* 0x360945D9: cmp byte ptr [edx + 0x24], 0 */ 7918 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 7919 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7920 _flag_k = FK_NARROW(FK_CMP, 24); 7921 RECOMP_BACKEDGE(); 7922 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094521; /* 0x360945DD: je 0x36094521 */ 7923 L_360945E3: 7924 /* cmp eax, MEM32(ecx) */ /* 0x360945E3: cmp eax, dword ptr [ecx] */ 7925 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 7926 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7927 _flag_k = FK_CMP; 7928 if (CMP_NE(_flag_a, _flag_b)) goto L_36094623; /* 0x360945E5: jne 0x36094623 */ 7929 L_360945E7: 7930 eax = ecx; /* 0x360945E7: mov eax, ecx */ 7931 ecx = MEM32(eax); /* 0x360945E9: mov ecx, dword ptr [eax] */ 7932 edx = MEM32(ecx + 0x8); /* 0x360945EB: mov edx, dword ptr [ecx + 8] */ 7933 MEM32(eax) = edx; /* 0x360945EE: mov dword ptr [eax], edx */ 7934 edx = MEM32(ecx + 0x8); /* 0x360945F0: mov edx, dword ptr [ecx + 8] */ 7935 /* cmp edx, MEM32(esi + 0x8) */ /* 0x360945F3: cmp edx, dword ptr [esi + 8] */ 7936 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7937 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7938 _flag_k = FK_CMP; 7939 if (CMP_EQ(_flag_a, _flag_b)) goto L_360945FB; /* 0x360945F6: je 0x360945fb */ 7940 L_360945F8: 7941 MEM32(edx + 0x4) = eax; /* 0x360945F8: mov dword ptr [edx + 4], eax */ 7942 L_360945FB: 7943 edx = MEM32(eax + 0x4); /* 0x360945FB: mov edx, dword ptr [eax + 4] */ 7944 MEM32(ecx + 0x4) = edx; /* 0x360945FE: mov dword ptr [ecx + 4], edx */ 7945 edx = MEM32(esi + 0x4); /* 0x36094601: mov edx, dword ptr [esi + 4] */ 7946 /* cmp eax, MEM32(edx + 0x4) */ /* 0x36094604: cmp eax, dword ptr [edx + 4] */ 7947 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 7948 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7949 _flag_k = FK_CMP; 7950 if (CMP_NE(_flag_a, _flag_b)) goto L_3609460E; /* 0x36094607: jne 0x3609460e */ 7951 L_36094609: 7952 MEM32(edx + 0x4) = ecx; /* 0x36094609: mov dword ptr [edx + 4], ecx */ 7953 goto L_3609461D; /* 0x3609460C: jmp 0x3609461d */ 7954 L_3609460E: 7955 edx = MEM32(eax + 0x4); /* 0x3609460E: mov edx, dword ptr [eax + 4] */ 7956 /* cmp eax, MEM32(edx + 0x8) */ /* 0x36094611: cmp eax, dword ptr [edx + 8] */ 7957 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 7958 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7959 _flag_k = FK_CMP; 7960 if (CMP_NE(_flag_a, _flag_b)) goto L_3609461B; /* 0x36094614: jne 0x3609461b */ 7961 L_36094616: 7962 MEM32(edx + 0x8) = ecx; /* 0x36094616: mov dword ptr [edx + 8], ecx */ 7963 goto L_3609461D; /* 0x36094619: jmp 0x3609461d */ 7964 L_3609461B: 7965 MEM32(edx) = ecx; /* 0x3609461B: mov dword ptr [edx], ecx */ 7966 L_3609461D: 7967 MEM32(ecx + 0x8) = eax; /* 0x3609461D: mov dword ptr [ecx + 8], eax */ 7968 MEM32(eax + 0x4) = ecx; /* 0x36094620: mov dword ptr [eax + 4], ecx */ 7969 L_36094623: 7970 ecx = MEM32(eax + 0x4); /* 0x36094623: mov ecx, dword ptr [eax + 4] */ 7971 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094626: mov byte ptr [ecx + 0x24], bl */ 7972 edx = MEM32(eax + 0x4); /* 0x36094629: mov edx, dword ptr [eax + 4] */ 7973 ecx = MEM32(edx + 0x4); /* 0x3609462C: mov ecx, dword ptr [edx + 4] */ 7974 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x3609462F: mov byte ptr [ecx + 0x24], 0 */ 7975 edx = MEM32(eax + 0x4); /* 0x36094633: mov edx, dword ptr [eax + 4] */ 7976 ecx = MEM32(edx + 0x4); /* 0x36094636: mov ecx, dword ptr [edx + 4] */ 7977 edx = MEM32(ecx + 0x8); /* 0x36094639: mov edx, dword ptr [ecx + 8] */ 7978 edi = MEM32(edx); /* 0x3609463C: mov edi, dword ptr [edx] */ 7979 MEM32(ecx + 0x8) = edi; /* 0x3609463E: mov dword ptr [ecx + 8], edi */ 7980 edi = MEM32(edx); /* 0x36094641: mov edi, dword ptr [edx] */ 7981 /* cmp edi, MEM32(esi + 0x8) */ /* 0x36094643: cmp edi, dword ptr [esi + 8] */ 7982 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 7983 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7984 _flag_k = FK_CMP; 7985 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609464B; /* 0x36094646: je 0x3609464b */ 7986 L_36094648: 7987 MEM32(edi + 0x4) = ecx; /* 0x36094648: mov dword ptr [edi + 4], ecx */ 7988 L_3609464B: 7989 edi = MEM32(ecx + 0x4); /* 0x3609464B: mov edi, dword ptr [ecx + 4] */ 7990 MEM32(edx + 0x4) = edi; /* 0x3609464E: mov dword ptr [edx + 4], edi */ 7991 edi = MEM32(esi + 0x4); /* 0x36094651: mov edi, dword ptr [esi + 4] */ 7992 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x36094654: cmp ecx, dword ptr [edi + 4] */ 7993 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 7994 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 7995 _flag_k = FK_CMP; 7996 if (CMP_NE(_flag_a, _flag_b)) goto L_3609465E; /* 0x36094657: jne 0x3609465e */ 7997 L_36094659: 7998 MEM32(edi + 0x4) = edx; /* 0x36094659: mov dword ptr [edi + 4], edx */ 7999 goto L_3609466C; /* 0x3609465C: jmp 0x3609466c */ 8000 L_3609465E: 8001 edi = MEM32(ecx + 0x4); /* 0x3609465E: mov edi, dword ptr [ecx + 4] */ 8002 /* cmp ecx, MEM32(edi) */ /* 0x36094661: cmp ecx, dword ptr [edi] */ 8003 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 8004 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8005 _flag_k = FK_CMP; 8006 if (CMP_NE(_flag_a, _flag_b)) goto L_36094669; /* 0x36094663: jne 0x36094669 */ 8007 L_36094665: 8008 MEM32(edi) = edx; /* 0x36094665: mov dword ptr [edi], edx */ 8009 goto L_3609466C; /* 0x36094667: jmp 0x3609466c */ 8010 L_36094669: 8011 MEM32(edi + 0x8) = edx; /* 0x36094669: mov dword ptr [edi + 8], edx */ 8012 L_3609466C: 8013 MEM32(edx) = ecx; /* 0x3609466C: mov dword ptr [edx], ecx */ 8014 L_3609466E: 8015 MEM32(ecx + 0x4) = edx; /* 0x3609466E: mov dword ptr [ecx + 4], edx */ 8016 L_36094671: 8017 ecx = MEM32(esi + 0x4); /* 0x36094671: mov ecx, dword ptr [esi + 4] */ 8018 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x36094674: cmp eax, dword ptr [ecx + 4] */ 8019 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 8020 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8021 _flag_k = FK_CMP; 8022 RECOMP_BACKEDGE(); 8023 if (CMP_NE(_flag_a, _flag_b)) goto L_360944FD; /* 0x36094677: jne 0x360944fd */ 8024 L_3609467D: 8025 edx = MEM32(esi + 0x4); /* 0x3609467D: mov edx, dword ptr [esi + 4] */ 8026 eax = MEM32(edx + 0x4); /* 0x36094680: mov eax, dword ptr [edx + 4] */ 8027 ecx = MEM32(ebp + (-0x4)); /* 0x36094683: mov ecx, dword ptr [ebp - 4] */ 8028 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094686: mov byte ptr [eax + 0x24], bl */ 8029 eax = MEM32(ebp + 0x8); /* 0x36094689: mov eax, dword ptr [ebp + 8] */ 8030 edi = POP32_VAL(esp); /* 0x3609468C: pop edi */ 8031 esi = POP32_VAL(esp); /* 0x3609468D: pop esi */ 8032 MEM32(eax) = ecx; /* 0x3609468E: mov dword ptr [eax], ecx */ 8033 ebx = POP32_VAL(esp); /* 0x36094690: pop ebx */ 8034 esp = ebp; /* 0x36094691: mov esp, ebp */ 8035 ebp = POP32_VAL(esp); /* 0x36094693: pop ebp */ 8036 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x36094694: ret 0x10 */ 8037 RECOMP_REGS_OUT(); 8038 } 8039 8040 void sub_3609461D(void) { 8041 int _fpu_cmp = 0; 8042 uint32_t _cf = 0; 8043 int _df = 1; 8044 uint32_t _flag_k = FK_NONE; 8045 uint32_t _flag_a = 0, _flag_b = 0; 8046 uint32_t _itail_tgt = 0; 8047 RECOMP_REGS_LOCALS 8048 RECOMP_ENTER(0x3609461Du); 8049 8050 goto L_3609461D; 8051 L_360944FD: 8052 ecx = MEM32(eax + 0x4); /* 0x360944FD: mov ecx, dword ptr [eax + 4] */ 8053 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x36094500: mov dl, byte ptr [ecx + 0x24] */ 8054 /* test LO8(edx), LO8(edx) */ /* 0x36094503: test dl, dl */ 8055 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 8056 _cf = 0; 8057 _flag_k = FK_NARROW(FK_TEST, 24); 8058 if (TEST_NZ(_flag_a, _flag_b)) goto L_3609467D; /* 0x36094505: jne 0x3609467d */ 8059 L_3609450B: 8060 edi = MEM32(ecx + 0x4); /* 0x3609450B: mov edi, dword ptr [ecx + 4] */ 8061 edx = MEM32(edi); /* 0x3609450E: mov edx, dword ptr [edi] */ 8062 /* cmp ecx, edx */ /* 0x36094510: cmp ecx, edx */ 8063 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 8064 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8065 _flag_k = FK_CMP; 8066 if (CMP_NE(_flag_a, _flag_b)) goto L_360945D9; /* 0x36094512: jne 0x360945d9 */ 8067 L_36094518: 8068 edx = MEM32(edi + 0x8); /* 0x36094518: mov edx, dword ptr [edi + 8] */ 8069 /* cmp MEM8(edx + 0x24), 0 */ /* 0x3609451B: cmp byte ptr [edx + 0x24], 0 */ 8070 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 8071 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8072 _flag_k = FK_NARROW(FK_CMP, 24); 8073 if (CMP_NE(_flag_a, _flag_b)) goto L_3609453C; /* 0x3609451F: jne 0x3609453c */ 8074 L_36094521: 8075 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094521: mov byte ptr [ecx + 0x24], bl */ 8076 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094524: mov byte ptr [edx + 0x24], bl */ 8077 ecx = MEM32(eax + 0x4); /* 0x36094527: mov ecx, dword ptr [eax + 4] */ 8078 edx = MEM32(ecx + 0x4); /* 0x3609452A: mov edx, dword ptr [ecx + 4] */ 8079 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x3609452D: mov byte ptr [edx + 0x24], 0 */ 8080 eax = MEM32(eax + 0x4); /* 0x36094531: mov eax, dword ptr [eax + 4] */ 8081 eax = MEM32(eax + 0x4); /* 0x36094534: mov eax, dword ptr [eax + 4] */ 8082 goto L_36094671; /* 0x36094537: jmp 0x36094671 */ 8083 L_3609453C: 8084 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x3609453C: cmp eax, dword ptr [ecx + 8] */ 8085 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 8086 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8087 _flag_k = FK_CMP; 8088 if (CMP_NE(_flag_a, _flag_b)) goto L_3609457B; /* 0x3609453F: jne 0x3609457b */ 8089 L_36094541: 8090 eax = ecx; /* 0x36094541: mov eax, ecx */ 8091 ecx = MEM32(eax + 0x8); /* 0x36094543: mov ecx, dword ptr [eax + 8] */ 8092 edx = MEM32(ecx); /* 0x36094546: mov edx, dword ptr [ecx] */ 8093 MEM32(eax + 0x8) = edx; /* 0x36094548: mov dword ptr [eax + 8], edx */ 8094 edx = MEM32(ecx); /* 0x3609454B: mov edx, dword ptr [ecx] */ 8095 /* cmp edx, MEM32(esi + 0x8) */ /* 0x3609454D: cmp edx, dword ptr [esi + 8] */ 8096 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8097 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8098 _flag_k = FK_CMP; 8099 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094555; /* 0x36094550: je 0x36094555 */ 8100 L_36094552: 8101 MEM32(edx + 0x4) = eax; /* 0x36094552: mov dword ptr [edx + 4], eax */ 8102 L_36094555: 8103 edx = MEM32(eax + 0x4); /* 0x36094555: mov edx, dword ptr [eax + 4] */ 8104 MEM32(ecx + 0x4) = edx; /* 0x36094558: mov dword ptr [ecx + 4], edx */ 8105 edx = MEM32(esi + 0x4); /* 0x3609455B: mov edx, dword ptr [esi + 4] */ 8106 /* cmp eax, MEM32(edx + 0x4) */ /* 0x3609455E: cmp eax, dword ptr [edx + 4] */ 8107 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 8108 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8109 _flag_k = FK_CMP; 8110 if (CMP_NE(_flag_a, _flag_b)) goto L_36094568; /* 0x36094561: jne 0x36094568 */ 8111 L_36094563: 8112 MEM32(edx + 0x4) = ecx; /* 0x36094563: mov dword ptr [edx + 4], ecx */ 8113 goto L_36094576; /* 0x36094566: jmp 0x36094576 */ 8114 L_36094568: 8115 edx = MEM32(eax + 0x4); /* 0x36094568: mov edx, dword ptr [eax + 4] */ 8116 /* cmp eax, MEM32(edx) */ /* 0x3609456B: cmp eax, dword ptr [edx] */ 8117 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 8118 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8119 _flag_k = FK_CMP; 8120 if (CMP_NE(_flag_a, _flag_b)) goto L_36094573; /* 0x3609456D: jne 0x36094573 */ 8121 L_3609456F: 8122 MEM32(edx) = ecx; /* 0x3609456F: mov dword ptr [edx], ecx */ 8123 goto L_36094576; /* 0x36094571: jmp 0x36094576 */ 8124 L_36094573: 8125 MEM32(edx + 0x8) = ecx; /* 0x36094573: mov dword ptr [edx + 8], ecx */ 8126 L_36094576: 8127 MEM32(ecx) = eax; /* 0x36094576: mov dword ptr [ecx], eax */ 8128 MEM32(eax + 0x4) = ecx; /* 0x36094578: mov dword ptr [eax + 4], ecx */ 8129 L_3609457B: 8130 ecx = MEM32(eax + 0x4); /* 0x3609457B: mov ecx, dword ptr [eax + 4] */ 8131 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x3609457E: mov byte ptr [ecx + 0x24], bl */ 8132 edx = MEM32(eax + 0x4); /* 0x36094581: mov edx, dword ptr [eax + 4] */ 8133 ecx = MEM32(edx + 0x4); /* 0x36094584: mov ecx, dword ptr [edx + 4] */ 8134 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x36094587: mov byte ptr [ecx + 0x24], 0 */ 8135 edx = MEM32(eax + 0x4); /* 0x3609458B: mov edx, dword ptr [eax + 4] */ 8136 ecx = MEM32(edx + 0x4); /* 0x3609458E: mov ecx, dword ptr [edx + 4] */ 8137 edx = MEM32(ecx); /* 0x36094591: mov edx, dword ptr [ecx] */ 8138 edi = MEM32(edx + 0x8); /* 0x36094593: mov edi, dword ptr [edx + 8] */ 8139 MEM32(ecx) = edi; /* 0x36094596: mov dword ptr [ecx], edi */ 8140 edi = MEM32(edx + 0x8); /* 0x36094598: mov edi, dword ptr [edx + 8] */ 8141 /* cmp edi, MEM32(esi + 0x8) */ /* 0x3609459B: cmp edi, dword ptr [esi + 8] */ 8142 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8143 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8144 _flag_k = FK_CMP; 8145 if (CMP_EQ(_flag_a, _flag_b)) goto L_360945A3; /* 0x3609459E: je 0x360945a3 */ 8146 L_360945A0: 8147 MEM32(edi + 0x4) = ecx; /* 0x360945A0: mov dword ptr [edi + 4], ecx */ 8148 L_360945A3: 8149 edi = MEM32(ecx + 0x4); /* 0x360945A3: mov edi, dword ptr [ecx + 4] */ 8150 MEM32(edx + 0x4) = edi; /* 0x360945A6: mov dword ptr [edx + 4], edi */ 8151 edi = MEM32(esi + 0x4); /* 0x360945A9: mov edi, dword ptr [esi + 4] */ 8152 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x360945AC: cmp ecx, dword ptr [edi + 4] */ 8153 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 8154 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8155 _flag_k = FK_CMP; 8156 if (CMP_NE(_flag_a, _flag_b)) goto L_360945BC; /* 0x360945AF: jne 0x360945bc */ 8157 L_360945B1: 8158 MEM32(edi + 0x4) = edx; /* 0x360945B1: mov dword ptr [edi + 4], edx */ 8159 MEM32(edx + 0x8) = ecx; /* 0x360945B4: mov dword ptr [edx + 8], ecx */ 8160 goto L_3609466E; /* 0x360945B7: jmp 0x3609466e */ 8161 L_360945BC: 8162 edi = MEM32(ecx + 0x4); /* 0x360945BC: mov edi, dword ptr [ecx + 4] */ 8163 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x360945BF: cmp ecx, dword ptr [edi + 8] */ 8164 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8165 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8166 _flag_k = FK_CMP; 8167 if (CMP_NE(_flag_a, _flag_b)) goto L_360945CF; /* 0x360945C2: jne 0x360945cf */ 8168 L_360945C4: 8169 MEM32(edi + 0x8) = edx; /* 0x360945C4: mov dword ptr [edi + 8], edx */ 8170 MEM32(edx + 0x8) = ecx; /* 0x360945C7: mov dword ptr [edx + 8], ecx */ 8171 goto L_3609466E; /* 0x360945CA: jmp 0x3609466e */ 8172 L_360945CF: 8173 MEM32(edi) = edx; /* 0x360945CF: mov dword ptr [edi], edx */ 8174 MEM32(edx + 0x8) = ecx; /* 0x360945D1: mov dword ptr [edx + 8], ecx */ 8175 goto L_3609466E; /* 0x360945D4: jmp 0x3609466e */ 8176 L_360945D9: 8177 /* cmp MEM8(edx + 0x24), 0 */ /* 0x360945D9: cmp byte ptr [edx + 0x24], 0 */ 8178 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 8179 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8180 _flag_k = FK_NARROW(FK_CMP, 24); 8181 RECOMP_BACKEDGE(); 8182 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094521; /* 0x360945DD: je 0x36094521 */ 8183 L_360945E3: 8184 /* cmp eax, MEM32(ecx) */ /* 0x360945E3: cmp eax, dword ptr [ecx] */ 8185 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 8186 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8187 _flag_k = FK_CMP; 8188 if (CMP_NE(_flag_a, _flag_b)) goto L_36094623; /* 0x360945E5: jne 0x36094623 */ 8189 L_360945E7: 8190 eax = ecx; /* 0x360945E7: mov eax, ecx */ 8191 ecx = MEM32(eax); /* 0x360945E9: mov ecx, dword ptr [eax] */ 8192 edx = MEM32(ecx + 0x8); /* 0x360945EB: mov edx, dword ptr [ecx + 8] */ 8193 MEM32(eax) = edx; /* 0x360945EE: mov dword ptr [eax], edx */ 8194 edx = MEM32(ecx + 0x8); /* 0x360945F0: mov edx, dword ptr [ecx + 8] */ 8195 /* cmp edx, MEM32(esi + 0x8) */ /* 0x360945F3: cmp edx, dword ptr [esi + 8] */ 8196 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8197 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8198 _flag_k = FK_CMP; 8199 if (CMP_EQ(_flag_a, _flag_b)) goto L_360945FB; /* 0x360945F6: je 0x360945fb */ 8200 L_360945F8: 8201 MEM32(edx + 0x4) = eax; /* 0x360945F8: mov dword ptr [edx + 4], eax */ 8202 L_360945FB: 8203 edx = MEM32(eax + 0x4); /* 0x360945FB: mov edx, dword ptr [eax + 4] */ 8204 MEM32(ecx + 0x4) = edx; /* 0x360945FE: mov dword ptr [ecx + 4], edx */ 8205 edx = MEM32(esi + 0x4); /* 0x36094601: mov edx, dword ptr [esi + 4] */ 8206 /* cmp eax, MEM32(edx + 0x4) */ /* 0x36094604: cmp eax, dword ptr [edx + 4] */ 8207 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 8208 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8209 _flag_k = FK_CMP; 8210 if (CMP_NE(_flag_a, _flag_b)) goto L_3609460E; /* 0x36094607: jne 0x3609460e */ 8211 L_36094609: 8212 MEM32(edx + 0x4) = ecx; /* 0x36094609: mov dword ptr [edx + 4], ecx */ 8213 goto L_3609461D; /* 0x3609460C: jmp 0x3609461d */ 8214 L_3609460E: 8215 edx = MEM32(eax + 0x4); /* 0x3609460E: mov edx, dword ptr [eax + 4] */ 8216 /* cmp eax, MEM32(edx + 0x8) */ /* 0x36094611: cmp eax, dword ptr [edx + 8] */ 8217 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 8218 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8219 _flag_k = FK_CMP; 8220 if (CMP_NE(_flag_a, _flag_b)) goto L_3609461B; /* 0x36094614: jne 0x3609461b */ 8221 L_36094616: 8222 MEM32(edx + 0x8) = ecx; /* 0x36094616: mov dword ptr [edx + 8], ecx */ 8223 goto L_3609461D; /* 0x36094619: jmp 0x3609461d */ 8224 L_3609461B: 8225 MEM32(edx) = ecx; /* 0x3609461B: mov dword ptr [edx], ecx */ 8226 L_3609461D: 8227 MEM32(ecx + 0x8) = eax; /* 0x3609461D: mov dword ptr [ecx + 8], eax */ 8228 MEM32(eax + 0x4) = ecx; /* 0x36094620: mov dword ptr [eax + 4], ecx */ 8229 L_36094623: 8230 ecx = MEM32(eax + 0x4); /* 0x36094623: mov ecx, dword ptr [eax + 4] */ 8231 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094626: mov byte ptr [ecx + 0x24], bl */ 8232 edx = MEM32(eax + 0x4); /* 0x36094629: mov edx, dword ptr [eax + 4] */ 8233 ecx = MEM32(edx + 0x4); /* 0x3609462C: mov ecx, dword ptr [edx + 4] */ 8234 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x3609462F: mov byte ptr [ecx + 0x24], 0 */ 8235 edx = MEM32(eax + 0x4); /* 0x36094633: mov edx, dword ptr [eax + 4] */ 8236 ecx = MEM32(edx + 0x4); /* 0x36094636: mov ecx, dword ptr [edx + 4] */ 8237 edx = MEM32(ecx + 0x8); /* 0x36094639: mov edx, dword ptr [ecx + 8] */ 8238 edi = MEM32(edx); /* 0x3609463C: mov edi, dword ptr [edx] */ 8239 MEM32(ecx + 0x8) = edi; /* 0x3609463E: mov dword ptr [ecx + 8], edi */ 8240 edi = MEM32(edx); /* 0x36094641: mov edi, dword ptr [edx] */ 8241 /* cmp edi, MEM32(esi + 0x8) */ /* 0x36094643: cmp edi, dword ptr [esi + 8] */ 8242 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8243 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8244 _flag_k = FK_CMP; 8245 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609464B; /* 0x36094646: je 0x3609464b */ 8246 L_36094648: 8247 MEM32(edi + 0x4) = ecx; /* 0x36094648: mov dword ptr [edi + 4], ecx */ 8248 L_3609464B: 8249 edi = MEM32(ecx + 0x4); /* 0x3609464B: mov edi, dword ptr [ecx + 4] */ 8250 MEM32(edx + 0x4) = edi; /* 0x3609464E: mov dword ptr [edx + 4], edi */ 8251 edi = MEM32(esi + 0x4); /* 0x36094651: mov edi, dword ptr [esi + 4] */ 8252 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x36094654: cmp ecx, dword ptr [edi + 4] */ 8253 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 8254 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8255 _flag_k = FK_CMP; 8256 if (CMP_NE(_flag_a, _flag_b)) goto L_3609465E; /* 0x36094657: jne 0x3609465e */ 8257 L_36094659: 8258 MEM32(edi + 0x4) = edx; /* 0x36094659: mov dword ptr [edi + 4], edx */ 8259 goto L_3609466C; /* 0x3609465C: jmp 0x3609466c */ 8260 L_3609465E: 8261 edi = MEM32(ecx + 0x4); /* 0x3609465E: mov edi, dword ptr [ecx + 4] */ 8262 /* cmp ecx, MEM32(edi) */ /* 0x36094661: cmp ecx, dword ptr [edi] */ 8263 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 8264 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8265 _flag_k = FK_CMP; 8266 if (CMP_NE(_flag_a, _flag_b)) goto L_36094669; /* 0x36094663: jne 0x36094669 */ 8267 L_36094665: 8268 MEM32(edi) = edx; /* 0x36094665: mov dword ptr [edi], edx */ 8269 goto L_3609466C; /* 0x36094667: jmp 0x3609466c */ 8270 L_36094669: 8271 MEM32(edi + 0x8) = edx; /* 0x36094669: mov dword ptr [edi + 8], edx */ 8272 L_3609466C: 8273 MEM32(edx) = ecx; /* 0x3609466C: mov dword ptr [edx], ecx */ 8274 L_3609466E: 8275 MEM32(ecx + 0x4) = edx; /* 0x3609466E: mov dword ptr [ecx + 4], edx */ 8276 L_36094671: 8277 ecx = MEM32(esi + 0x4); /* 0x36094671: mov ecx, dword ptr [esi + 4] */ 8278 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x36094674: cmp eax, dword ptr [ecx + 4] */ 8279 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 8280 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8281 _flag_k = FK_CMP; 8282 RECOMP_BACKEDGE(); 8283 if (CMP_NE(_flag_a, _flag_b)) goto L_360944FD; /* 0x36094677: jne 0x360944fd */ 8284 L_3609467D: 8285 edx = MEM32(esi + 0x4); /* 0x3609467D: mov edx, dword ptr [esi + 4] */ 8286 eax = MEM32(edx + 0x4); /* 0x36094680: mov eax, dword ptr [edx + 4] */ 8287 ecx = MEM32(ebp + (-0x4)); /* 0x36094683: mov ecx, dword ptr [ebp - 4] */ 8288 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094686: mov byte ptr [eax + 0x24], bl */ 8289 eax = MEM32(ebp + 0x8); /* 0x36094689: mov eax, dword ptr [ebp + 8] */ 8290 edi = POP32_VAL(esp); /* 0x3609468C: pop edi */ 8291 esi = POP32_VAL(esp); /* 0x3609468D: pop esi */ 8292 MEM32(eax) = ecx; /* 0x3609468E: mov dword ptr [eax], ecx */ 8293 ebx = POP32_VAL(esp); /* 0x36094690: pop ebx */ 8294 esp = ebp; /* 0x36094691: mov esp, ebp */ 8295 ebp = POP32_VAL(esp); /* 0x36094693: pop ebp */ 8296 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x36094694: ret 0x10 */ 8297 RECOMP_REGS_OUT(); 8298 } 8299 8300 void sub_36094623(void) { 8301 int _fpu_cmp = 0; 8302 uint32_t _cf = 0; 8303 int _df = 1; 8304 uint32_t _flag_k = FK_NONE; 8305 uint32_t _flag_a = 0, _flag_b = 0; 8306 uint32_t _itail_tgt = 0; 8307 RECOMP_REGS_LOCALS 8308 RECOMP_ENTER(0x36094623u); 8309 8310 goto L_36094623; 8311 L_360944FD: 8312 ecx = MEM32(eax + 0x4); /* 0x360944FD: mov ecx, dword ptr [eax + 4] */ 8313 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x36094500: mov dl, byte ptr [ecx + 0x24] */ 8314 /* test LO8(edx), LO8(edx) */ /* 0x36094503: test dl, dl */ 8315 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 8316 _cf = 0; 8317 _flag_k = FK_NARROW(FK_TEST, 24); 8318 if (TEST_NZ(_flag_a, _flag_b)) goto L_3609467D; /* 0x36094505: jne 0x3609467d */ 8319 L_3609450B: 8320 edi = MEM32(ecx + 0x4); /* 0x3609450B: mov edi, dword ptr [ecx + 4] */ 8321 edx = MEM32(edi); /* 0x3609450E: mov edx, dword ptr [edi] */ 8322 /* cmp ecx, edx */ /* 0x36094510: cmp ecx, edx */ 8323 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 8324 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8325 _flag_k = FK_CMP; 8326 if (CMP_NE(_flag_a, _flag_b)) goto L_360945D9; /* 0x36094512: jne 0x360945d9 */ 8327 L_36094518: 8328 edx = MEM32(edi + 0x8); /* 0x36094518: mov edx, dword ptr [edi + 8] */ 8329 /* cmp MEM8(edx + 0x24), 0 */ /* 0x3609451B: cmp byte ptr [edx + 0x24], 0 */ 8330 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 8331 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8332 _flag_k = FK_NARROW(FK_CMP, 24); 8333 if (CMP_NE(_flag_a, _flag_b)) goto L_3609453C; /* 0x3609451F: jne 0x3609453c */ 8334 L_36094521: 8335 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094521: mov byte ptr [ecx + 0x24], bl */ 8336 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094524: mov byte ptr [edx + 0x24], bl */ 8337 ecx = MEM32(eax + 0x4); /* 0x36094527: mov ecx, dword ptr [eax + 4] */ 8338 edx = MEM32(ecx + 0x4); /* 0x3609452A: mov edx, dword ptr [ecx + 4] */ 8339 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x3609452D: mov byte ptr [edx + 0x24], 0 */ 8340 eax = MEM32(eax + 0x4); /* 0x36094531: mov eax, dword ptr [eax + 4] */ 8341 eax = MEM32(eax + 0x4); /* 0x36094534: mov eax, dword ptr [eax + 4] */ 8342 goto L_36094671; /* 0x36094537: jmp 0x36094671 */ 8343 L_3609453C: 8344 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x3609453C: cmp eax, dword ptr [ecx + 8] */ 8345 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 8346 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8347 _flag_k = FK_CMP; 8348 if (CMP_NE(_flag_a, _flag_b)) goto L_3609457B; /* 0x3609453F: jne 0x3609457b */ 8349 L_36094541: 8350 eax = ecx; /* 0x36094541: mov eax, ecx */ 8351 ecx = MEM32(eax + 0x8); /* 0x36094543: mov ecx, dword ptr [eax + 8] */ 8352 edx = MEM32(ecx); /* 0x36094546: mov edx, dword ptr [ecx] */ 8353 MEM32(eax + 0x8) = edx; /* 0x36094548: mov dword ptr [eax + 8], edx */ 8354 edx = MEM32(ecx); /* 0x3609454B: mov edx, dword ptr [ecx] */ 8355 /* cmp edx, MEM32(esi + 0x8) */ /* 0x3609454D: cmp edx, dword ptr [esi + 8] */ 8356 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8357 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8358 _flag_k = FK_CMP; 8359 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094555; /* 0x36094550: je 0x36094555 */ 8360 L_36094552: 8361 MEM32(edx + 0x4) = eax; /* 0x36094552: mov dword ptr [edx + 4], eax */ 8362 L_36094555: 8363 edx = MEM32(eax + 0x4); /* 0x36094555: mov edx, dword ptr [eax + 4] */ 8364 MEM32(ecx + 0x4) = edx; /* 0x36094558: mov dword ptr [ecx + 4], edx */ 8365 edx = MEM32(esi + 0x4); /* 0x3609455B: mov edx, dword ptr [esi + 4] */ 8366 /* cmp eax, MEM32(edx + 0x4) */ /* 0x3609455E: cmp eax, dword ptr [edx + 4] */ 8367 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 8368 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8369 _flag_k = FK_CMP; 8370 if (CMP_NE(_flag_a, _flag_b)) goto L_36094568; /* 0x36094561: jne 0x36094568 */ 8371 L_36094563: 8372 MEM32(edx + 0x4) = ecx; /* 0x36094563: mov dword ptr [edx + 4], ecx */ 8373 goto L_36094576; /* 0x36094566: jmp 0x36094576 */ 8374 L_36094568: 8375 edx = MEM32(eax + 0x4); /* 0x36094568: mov edx, dword ptr [eax + 4] */ 8376 /* cmp eax, MEM32(edx) */ /* 0x3609456B: cmp eax, dword ptr [edx] */ 8377 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 8378 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8379 _flag_k = FK_CMP; 8380 if (CMP_NE(_flag_a, _flag_b)) goto L_36094573; /* 0x3609456D: jne 0x36094573 */ 8381 L_3609456F: 8382 MEM32(edx) = ecx; /* 0x3609456F: mov dword ptr [edx], ecx */ 8383 goto L_36094576; /* 0x36094571: jmp 0x36094576 */ 8384 L_36094573: 8385 MEM32(edx + 0x8) = ecx; /* 0x36094573: mov dword ptr [edx + 8], ecx */ 8386 L_36094576: 8387 MEM32(ecx) = eax; /* 0x36094576: mov dword ptr [ecx], eax */ 8388 MEM32(eax + 0x4) = ecx; /* 0x36094578: mov dword ptr [eax + 4], ecx */ 8389 L_3609457B: 8390 ecx = MEM32(eax + 0x4); /* 0x3609457B: mov ecx, dword ptr [eax + 4] */ 8391 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x3609457E: mov byte ptr [ecx + 0x24], bl */ 8392 edx = MEM32(eax + 0x4); /* 0x36094581: mov edx, dword ptr [eax + 4] */ 8393 ecx = MEM32(edx + 0x4); /* 0x36094584: mov ecx, dword ptr [edx + 4] */ 8394 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x36094587: mov byte ptr [ecx + 0x24], 0 */ 8395 edx = MEM32(eax + 0x4); /* 0x3609458B: mov edx, dword ptr [eax + 4] */ 8396 ecx = MEM32(edx + 0x4); /* 0x3609458E: mov ecx, dword ptr [edx + 4] */ 8397 edx = MEM32(ecx); /* 0x36094591: mov edx, dword ptr [ecx] */ 8398 edi = MEM32(edx + 0x8); /* 0x36094593: mov edi, dword ptr [edx + 8] */ 8399 MEM32(ecx) = edi; /* 0x36094596: mov dword ptr [ecx], edi */ 8400 edi = MEM32(edx + 0x8); /* 0x36094598: mov edi, dword ptr [edx + 8] */ 8401 /* cmp edi, MEM32(esi + 0x8) */ /* 0x3609459B: cmp edi, dword ptr [esi + 8] */ 8402 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8403 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8404 _flag_k = FK_CMP; 8405 if (CMP_EQ(_flag_a, _flag_b)) goto L_360945A3; /* 0x3609459E: je 0x360945a3 */ 8406 L_360945A0: 8407 MEM32(edi + 0x4) = ecx; /* 0x360945A0: mov dword ptr [edi + 4], ecx */ 8408 L_360945A3: 8409 edi = MEM32(ecx + 0x4); /* 0x360945A3: mov edi, dword ptr [ecx + 4] */ 8410 MEM32(edx + 0x4) = edi; /* 0x360945A6: mov dword ptr [edx + 4], edi */ 8411 edi = MEM32(esi + 0x4); /* 0x360945A9: mov edi, dword ptr [esi + 4] */ 8412 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x360945AC: cmp ecx, dword ptr [edi + 4] */ 8413 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 8414 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8415 _flag_k = FK_CMP; 8416 if (CMP_NE(_flag_a, _flag_b)) goto L_360945BC; /* 0x360945AF: jne 0x360945bc */ 8417 L_360945B1: 8418 MEM32(edi + 0x4) = edx; /* 0x360945B1: mov dword ptr [edi + 4], edx */ 8419 MEM32(edx + 0x8) = ecx; /* 0x360945B4: mov dword ptr [edx + 8], ecx */ 8420 goto L_3609466E; /* 0x360945B7: jmp 0x3609466e */ 8421 L_360945BC: 8422 edi = MEM32(ecx + 0x4); /* 0x360945BC: mov edi, dword ptr [ecx + 4] */ 8423 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x360945BF: cmp ecx, dword ptr [edi + 8] */ 8424 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8425 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8426 _flag_k = FK_CMP; 8427 if (CMP_NE(_flag_a, _flag_b)) goto L_360945CF; /* 0x360945C2: jne 0x360945cf */ 8428 L_360945C4: 8429 MEM32(edi + 0x8) = edx; /* 0x360945C4: mov dword ptr [edi + 8], edx */ 8430 MEM32(edx + 0x8) = ecx; /* 0x360945C7: mov dword ptr [edx + 8], ecx */ 8431 goto L_3609466E; /* 0x360945CA: jmp 0x3609466e */ 8432 L_360945CF: 8433 MEM32(edi) = edx; /* 0x360945CF: mov dword ptr [edi], edx */ 8434 MEM32(edx + 0x8) = ecx; /* 0x360945D1: mov dword ptr [edx + 8], ecx */ 8435 goto L_3609466E; /* 0x360945D4: jmp 0x3609466e */ 8436 L_360945D9: 8437 /* cmp MEM8(edx + 0x24), 0 */ /* 0x360945D9: cmp byte ptr [edx + 0x24], 0 */ 8438 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 8439 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8440 _flag_k = FK_NARROW(FK_CMP, 24); 8441 RECOMP_BACKEDGE(); 8442 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094521; /* 0x360945DD: je 0x36094521 */ 8443 L_360945E3: 8444 /* cmp eax, MEM32(ecx) */ /* 0x360945E3: cmp eax, dword ptr [ecx] */ 8445 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 8446 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8447 _flag_k = FK_CMP; 8448 if (CMP_NE(_flag_a, _flag_b)) goto L_36094623; /* 0x360945E5: jne 0x36094623 */ 8449 L_360945E7: 8450 eax = ecx; /* 0x360945E7: mov eax, ecx */ 8451 ecx = MEM32(eax); /* 0x360945E9: mov ecx, dword ptr [eax] */ 8452 edx = MEM32(ecx + 0x8); /* 0x360945EB: mov edx, dword ptr [ecx + 8] */ 8453 MEM32(eax) = edx; /* 0x360945EE: mov dword ptr [eax], edx */ 8454 edx = MEM32(ecx + 0x8); /* 0x360945F0: mov edx, dword ptr [ecx + 8] */ 8455 /* cmp edx, MEM32(esi + 0x8) */ /* 0x360945F3: cmp edx, dword ptr [esi + 8] */ 8456 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8457 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8458 _flag_k = FK_CMP; 8459 if (CMP_EQ(_flag_a, _flag_b)) goto L_360945FB; /* 0x360945F6: je 0x360945fb */ 8460 L_360945F8: 8461 MEM32(edx + 0x4) = eax; /* 0x360945F8: mov dword ptr [edx + 4], eax */ 8462 L_360945FB: 8463 edx = MEM32(eax + 0x4); /* 0x360945FB: mov edx, dword ptr [eax + 4] */ 8464 MEM32(ecx + 0x4) = edx; /* 0x360945FE: mov dword ptr [ecx + 4], edx */ 8465 edx = MEM32(esi + 0x4); /* 0x36094601: mov edx, dword ptr [esi + 4] */ 8466 /* cmp eax, MEM32(edx + 0x4) */ /* 0x36094604: cmp eax, dword ptr [edx + 4] */ 8467 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 8468 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8469 _flag_k = FK_CMP; 8470 if (CMP_NE(_flag_a, _flag_b)) goto L_3609460E; /* 0x36094607: jne 0x3609460e */ 8471 L_36094609: 8472 MEM32(edx + 0x4) = ecx; /* 0x36094609: mov dword ptr [edx + 4], ecx */ 8473 goto L_3609461D; /* 0x3609460C: jmp 0x3609461d */ 8474 L_3609460E: 8475 edx = MEM32(eax + 0x4); /* 0x3609460E: mov edx, dword ptr [eax + 4] */ 8476 /* cmp eax, MEM32(edx + 0x8) */ /* 0x36094611: cmp eax, dword ptr [edx + 8] */ 8477 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 8478 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8479 _flag_k = FK_CMP; 8480 if (CMP_NE(_flag_a, _flag_b)) goto L_3609461B; /* 0x36094614: jne 0x3609461b */ 8481 L_36094616: 8482 MEM32(edx + 0x8) = ecx; /* 0x36094616: mov dword ptr [edx + 8], ecx */ 8483 goto L_3609461D; /* 0x36094619: jmp 0x3609461d */ 8484 L_3609461B: 8485 MEM32(edx) = ecx; /* 0x3609461B: mov dword ptr [edx], ecx */ 8486 L_3609461D: 8487 MEM32(ecx + 0x8) = eax; /* 0x3609461D: mov dword ptr [ecx + 8], eax */ 8488 MEM32(eax + 0x4) = ecx; /* 0x36094620: mov dword ptr [eax + 4], ecx */ 8489 L_36094623: 8490 ecx = MEM32(eax + 0x4); /* 0x36094623: mov ecx, dword ptr [eax + 4] */ 8491 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094626: mov byte ptr [ecx + 0x24], bl */ 8492 edx = MEM32(eax + 0x4); /* 0x36094629: mov edx, dword ptr [eax + 4] */ 8493 ecx = MEM32(edx + 0x4); /* 0x3609462C: mov ecx, dword ptr [edx + 4] */ 8494 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x3609462F: mov byte ptr [ecx + 0x24], 0 */ 8495 edx = MEM32(eax + 0x4); /* 0x36094633: mov edx, dword ptr [eax + 4] */ 8496 ecx = MEM32(edx + 0x4); /* 0x36094636: mov ecx, dword ptr [edx + 4] */ 8497 edx = MEM32(ecx + 0x8); /* 0x36094639: mov edx, dword ptr [ecx + 8] */ 8498 edi = MEM32(edx); /* 0x3609463C: mov edi, dword ptr [edx] */ 8499 MEM32(ecx + 0x8) = edi; /* 0x3609463E: mov dword ptr [ecx + 8], edi */ 8500 edi = MEM32(edx); /* 0x36094641: mov edi, dword ptr [edx] */ 8501 /* cmp edi, MEM32(esi + 0x8) */ /* 0x36094643: cmp edi, dword ptr [esi + 8] */ 8502 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8503 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8504 _flag_k = FK_CMP; 8505 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609464B; /* 0x36094646: je 0x3609464b */ 8506 L_36094648: 8507 MEM32(edi + 0x4) = ecx; /* 0x36094648: mov dword ptr [edi + 4], ecx */ 8508 L_3609464B: 8509 edi = MEM32(ecx + 0x4); /* 0x3609464B: mov edi, dword ptr [ecx + 4] */ 8510 MEM32(edx + 0x4) = edi; /* 0x3609464E: mov dword ptr [edx + 4], edi */ 8511 edi = MEM32(esi + 0x4); /* 0x36094651: mov edi, dword ptr [esi + 4] */ 8512 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x36094654: cmp ecx, dword ptr [edi + 4] */ 8513 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 8514 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8515 _flag_k = FK_CMP; 8516 if (CMP_NE(_flag_a, _flag_b)) goto L_3609465E; /* 0x36094657: jne 0x3609465e */ 8517 L_36094659: 8518 MEM32(edi + 0x4) = edx; /* 0x36094659: mov dword ptr [edi + 4], edx */ 8519 goto L_3609466C; /* 0x3609465C: jmp 0x3609466c */ 8520 L_3609465E: 8521 edi = MEM32(ecx + 0x4); /* 0x3609465E: mov edi, dword ptr [ecx + 4] */ 8522 /* cmp ecx, MEM32(edi) */ /* 0x36094661: cmp ecx, dword ptr [edi] */ 8523 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 8524 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8525 _flag_k = FK_CMP; 8526 if (CMP_NE(_flag_a, _flag_b)) goto L_36094669; /* 0x36094663: jne 0x36094669 */ 8527 L_36094665: 8528 MEM32(edi) = edx; /* 0x36094665: mov dword ptr [edi], edx */ 8529 goto L_3609466C; /* 0x36094667: jmp 0x3609466c */ 8530 L_36094669: 8531 MEM32(edi + 0x8) = edx; /* 0x36094669: mov dword ptr [edi + 8], edx */ 8532 L_3609466C: 8533 MEM32(edx) = ecx; /* 0x3609466C: mov dword ptr [edx], ecx */ 8534 L_3609466E: 8535 MEM32(ecx + 0x4) = edx; /* 0x3609466E: mov dword ptr [ecx + 4], edx */ 8536 L_36094671: 8537 ecx = MEM32(esi + 0x4); /* 0x36094671: mov ecx, dword ptr [esi + 4] */ 8538 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x36094674: cmp eax, dword ptr [ecx + 4] */ 8539 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 8540 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8541 _flag_k = FK_CMP; 8542 RECOMP_BACKEDGE(); 8543 if (CMP_NE(_flag_a, _flag_b)) goto L_360944FD; /* 0x36094677: jne 0x360944fd */ 8544 L_3609467D: 8545 edx = MEM32(esi + 0x4); /* 0x3609467D: mov edx, dword ptr [esi + 4] */ 8546 eax = MEM32(edx + 0x4); /* 0x36094680: mov eax, dword ptr [edx + 4] */ 8547 ecx = MEM32(ebp + (-0x4)); /* 0x36094683: mov ecx, dword ptr [ebp - 4] */ 8548 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094686: mov byte ptr [eax + 0x24], bl */ 8549 eax = MEM32(ebp + 0x8); /* 0x36094689: mov eax, dword ptr [ebp + 8] */ 8550 edi = POP32_VAL(esp); /* 0x3609468C: pop edi */ 8551 esi = POP32_VAL(esp); /* 0x3609468D: pop esi */ 8552 MEM32(eax) = ecx; /* 0x3609468E: mov dword ptr [eax], ecx */ 8553 ebx = POP32_VAL(esp); /* 0x36094690: pop ebx */ 8554 esp = ebp; /* 0x36094691: mov esp, ebp */ 8555 ebp = POP32_VAL(esp); /* 0x36094693: pop ebp */ 8556 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x36094694: ret 0x10 */ 8557 RECOMP_REGS_OUT(); 8558 } 8559 8560 void sub_3609466C(void) { 8561 int _fpu_cmp = 0; 8562 uint32_t _cf = 0; 8563 int _df = 1; 8564 uint32_t _flag_k = FK_NONE; 8565 uint32_t _flag_a = 0, _flag_b = 0; 8566 uint32_t _itail_tgt = 0; 8567 RECOMP_REGS_LOCALS 8568 RECOMP_ENTER(0x3609466Cu); 8569 8570 goto L_3609466C; 8571 L_360944FD: 8572 ecx = MEM32(eax + 0x4); /* 0x360944FD: mov ecx, dword ptr [eax + 4] */ 8573 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x36094500: mov dl, byte ptr [ecx + 0x24] */ 8574 /* test LO8(edx), LO8(edx) */ /* 0x36094503: test dl, dl */ 8575 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 8576 _cf = 0; 8577 _flag_k = FK_NARROW(FK_TEST, 24); 8578 if (TEST_NZ(_flag_a, _flag_b)) goto L_3609467D; /* 0x36094505: jne 0x3609467d */ 8579 L_3609450B: 8580 edi = MEM32(ecx + 0x4); /* 0x3609450B: mov edi, dword ptr [ecx + 4] */ 8581 edx = MEM32(edi); /* 0x3609450E: mov edx, dword ptr [edi] */ 8582 /* cmp ecx, edx */ /* 0x36094510: cmp ecx, edx */ 8583 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 8584 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8585 _flag_k = FK_CMP; 8586 if (CMP_NE(_flag_a, _flag_b)) goto L_360945D9; /* 0x36094512: jne 0x360945d9 */ 8587 L_36094518: 8588 edx = MEM32(edi + 0x8); /* 0x36094518: mov edx, dword ptr [edi + 8] */ 8589 /* cmp MEM8(edx + 0x24), 0 */ /* 0x3609451B: cmp byte ptr [edx + 0x24], 0 */ 8590 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 8591 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8592 _flag_k = FK_NARROW(FK_CMP, 24); 8593 if (CMP_NE(_flag_a, _flag_b)) goto L_3609453C; /* 0x3609451F: jne 0x3609453c */ 8594 L_36094521: 8595 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094521: mov byte ptr [ecx + 0x24], bl */ 8596 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094524: mov byte ptr [edx + 0x24], bl */ 8597 ecx = MEM32(eax + 0x4); /* 0x36094527: mov ecx, dword ptr [eax + 4] */ 8598 edx = MEM32(ecx + 0x4); /* 0x3609452A: mov edx, dword ptr [ecx + 4] */ 8599 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x3609452D: mov byte ptr [edx + 0x24], 0 */ 8600 eax = MEM32(eax + 0x4); /* 0x36094531: mov eax, dword ptr [eax + 4] */ 8601 eax = MEM32(eax + 0x4); /* 0x36094534: mov eax, dword ptr [eax + 4] */ 8602 goto L_36094671; /* 0x36094537: jmp 0x36094671 */ 8603 L_3609453C: 8604 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x3609453C: cmp eax, dword ptr [ecx + 8] */ 8605 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 8606 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8607 _flag_k = FK_CMP; 8608 if (CMP_NE(_flag_a, _flag_b)) goto L_3609457B; /* 0x3609453F: jne 0x3609457b */ 8609 L_36094541: 8610 eax = ecx; /* 0x36094541: mov eax, ecx */ 8611 ecx = MEM32(eax + 0x8); /* 0x36094543: mov ecx, dword ptr [eax + 8] */ 8612 edx = MEM32(ecx); /* 0x36094546: mov edx, dword ptr [ecx] */ 8613 MEM32(eax + 0x8) = edx; /* 0x36094548: mov dword ptr [eax + 8], edx */ 8614 edx = MEM32(ecx); /* 0x3609454B: mov edx, dword ptr [ecx] */ 8615 /* cmp edx, MEM32(esi + 0x8) */ /* 0x3609454D: cmp edx, dword ptr [esi + 8] */ 8616 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8617 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8618 _flag_k = FK_CMP; 8619 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094555; /* 0x36094550: je 0x36094555 */ 8620 L_36094552: 8621 MEM32(edx + 0x4) = eax; /* 0x36094552: mov dword ptr [edx + 4], eax */ 8622 L_36094555: 8623 edx = MEM32(eax + 0x4); /* 0x36094555: mov edx, dword ptr [eax + 4] */ 8624 MEM32(ecx + 0x4) = edx; /* 0x36094558: mov dword ptr [ecx + 4], edx */ 8625 edx = MEM32(esi + 0x4); /* 0x3609455B: mov edx, dword ptr [esi + 4] */ 8626 /* cmp eax, MEM32(edx + 0x4) */ /* 0x3609455E: cmp eax, dword ptr [edx + 4] */ 8627 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 8628 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8629 _flag_k = FK_CMP; 8630 if (CMP_NE(_flag_a, _flag_b)) goto L_36094568; /* 0x36094561: jne 0x36094568 */ 8631 L_36094563: 8632 MEM32(edx + 0x4) = ecx; /* 0x36094563: mov dword ptr [edx + 4], ecx */ 8633 goto L_36094576; /* 0x36094566: jmp 0x36094576 */ 8634 L_36094568: 8635 edx = MEM32(eax + 0x4); /* 0x36094568: mov edx, dword ptr [eax + 4] */ 8636 /* cmp eax, MEM32(edx) */ /* 0x3609456B: cmp eax, dword ptr [edx] */ 8637 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 8638 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8639 _flag_k = FK_CMP; 8640 if (CMP_NE(_flag_a, _flag_b)) goto L_36094573; /* 0x3609456D: jne 0x36094573 */ 8641 L_3609456F: 8642 MEM32(edx) = ecx; /* 0x3609456F: mov dword ptr [edx], ecx */ 8643 goto L_36094576; /* 0x36094571: jmp 0x36094576 */ 8644 L_36094573: 8645 MEM32(edx + 0x8) = ecx; /* 0x36094573: mov dword ptr [edx + 8], ecx */ 8646 L_36094576: 8647 MEM32(ecx) = eax; /* 0x36094576: mov dword ptr [ecx], eax */ 8648 MEM32(eax + 0x4) = ecx; /* 0x36094578: mov dword ptr [eax + 4], ecx */ 8649 L_3609457B: 8650 ecx = MEM32(eax + 0x4); /* 0x3609457B: mov ecx, dword ptr [eax + 4] */ 8651 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x3609457E: mov byte ptr [ecx + 0x24], bl */ 8652 edx = MEM32(eax + 0x4); /* 0x36094581: mov edx, dword ptr [eax + 4] */ 8653 ecx = MEM32(edx + 0x4); /* 0x36094584: mov ecx, dword ptr [edx + 4] */ 8654 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x36094587: mov byte ptr [ecx + 0x24], 0 */ 8655 edx = MEM32(eax + 0x4); /* 0x3609458B: mov edx, dword ptr [eax + 4] */ 8656 ecx = MEM32(edx + 0x4); /* 0x3609458E: mov ecx, dword ptr [edx + 4] */ 8657 edx = MEM32(ecx); /* 0x36094591: mov edx, dword ptr [ecx] */ 8658 edi = MEM32(edx + 0x8); /* 0x36094593: mov edi, dword ptr [edx + 8] */ 8659 MEM32(ecx) = edi; /* 0x36094596: mov dword ptr [ecx], edi */ 8660 edi = MEM32(edx + 0x8); /* 0x36094598: mov edi, dword ptr [edx + 8] */ 8661 /* cmp edi, MEM32(esi + 0x8) */ /* 0x3609459B: cmp edi, dword ptr [esi + 8] */ 8662 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8663 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8664 _flag_k = FK_CMP; 8665 if (CMP_EQ(_flag_a, _flag_b)) goto L_360945A3; /* 0x3609459E: je 0x360945a3 */ 8666 L_360945A0: 8667 MEM32(edi + 0x4) = ecx; /* 0x360945A0: mov dword ptr [edi + 4], ecx */ 8668 L_360945A3: 8669 edi = MEM32(ecx + 0x4); /* 0x360945A3: mov edi, dword ptr [ecx + 4] */ 8670 MEM32(edx + 0x4) = edi; /* 0x360945A6: mov dword ptr [edx + 4], edi */ 8671 edi = MEM32(esi + 0x4); /* 0x360945A9: mov edi, dword ptr [esi + 4] */ 8672 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x360945AC: cmp ecx, dword ptr [edi + 4] */ 8673 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 8674 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8675 _flag_k = FK_CMP; 8676 if (CMP_NE(_flag_a, _flag_b)) goto L_360945BC; /* 0x360945AF: jne 0x360945bc */ 8677 L_360945B1: 8678 MEM32(edi + 0x4) = edx; /* 0x360945B1: mov dword ptr [edi + 4], edx */ 8679 MEM32(edx + 0x8) = ecx; /* 0x360945B4: mov dword ptr [edx + 8], ecx */ 8680 goto L_3609466E; /* 0x360945B7: jmp 0x3609466e */ 8681 L_360945BC: 8682 edi = MEM32(ecx + 0x4); /* 0x360945BC: mov edi, dword ptr [ecx + 4] */ 8683 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x360945BF: cmp ecx, dword ptr [edi + 8] */ 8684 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8685 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8686 _flag_k = FK_CMP; 8687 if (CMP_NE(_flag_a, _flag_b)) goto L_360945CF; /* 0x360945C2: jne 0x360945cf */ 8688 L_360945C4: 8689 MEM32(edi + 0x8) = edx; /* 0x360945C4: mov dword ptr [edi + 8], edx */ 8690 MEM32(edx + 0x8) = ecx; /* 0x360945C7: mov dword ptr [edx + 8], ecx */ 8691 goto L_3609466E; /* 0x360945CA: jmp 0x3609466e */ 8692 L_360945CF: 8693 MEM32(edi) = edx; /* 0x360945CF: mov dword ptr [edi], edx */ 8694 MEM32(edx + 0x8) = ecx; /* 0x360945D1: mov dword ptr [edx + 8], ecx */ 8695 goto L_3609466E; /* 0x360945D4: jmp 0x3609466e */ 8696 L_360945D9: 8697 /* cmp MEM8(edx + 0x24), 0 */ /* 0x360945D9: cmp byte ptr [edx + 0x24], 0 */ 8698 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 8699 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8700 _flag_k = FK_NARROW(FK_CMP, 24); 8701 RECOMP_BACKEDGE(); 8702 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094521; /* 0x360945DD: je 0x36094521 */ 8703 L_360945E3: 8704 /* cmp eax, MEM32(ecx) */ /* 0x360945E3: cmp eax, dword ptr [ecx] */ 8705 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 8706 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8707 _flag_k = FK_CMP; 8708 if (CMP_NE(_flag_a, _flag_b)) goto L_36094623; /* 0x360945E5: jne 0x36094623 */ 8709 L_360945E7: 8710 eax = ecx; /* 0x360945E7: mov eax, ecx */ 8711 ecx = MEM32(eax); /* 0x360945E9: mov ecx, dword ptr [eax] */ 8712 edx = MEM32(ecx + 0x8); /* 0x360945EB: mov edx, dword ptr [ecx + 8] */ 8713 MEM32(eax) = edx; /* 0x360945EE: mov dword ptr [eax], edx */ 8714 edx = MEM32(ecx + 0x8); /* 0x360945F0: mov edx, dword ptr [ecx + 8] */ 8715 /* cmp edx, MEM32(esi + 0x8) */ /* 0x360945F3: cmp edx, dword ptr [esi + 8] */ 8716 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8717 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8718 _flag_k = FK_CMP; 8719 if (CMP_EQ(_flag_a, _flag_b)) goto L_360945FB; /* 0x360945F6: je 0x360945fb */ 8720 L_360945F8: 8721 MEM32(edx + 0x4) = eax; /* 0x360945F8: mov dword ptr [edx + 4], eax */ 8722 L_360945FB: 8723 edx = MEM32(eax + 0x4); /* 0x360945FB: mov edx, dword ptr [eax + 4] */ 8724 MEM32(ecx + 0x4) = edx; /* 0x360945FE: mov dword ptr [ecx + 4], edx */ 8725 edx = MEM32(esi + 0x4); /* 0x36094601: mov edx, dword ptr [esi + 4] */ 8726 /* cmp eax, MEM32(edx + 0x4) */ /* 0x36094604: cmp eax, dword ptr [edx + 4] */ 8727 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 8728 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8729 _flag_k = FK_CMP; 8730 if (CMP_NE(_flag_a, _flag_b)) goto L_3609460E; /* 0x36094607: jne 0x3609460e */ 8731 L_36094609: 8732 MEM32(edx + 0x4) = ecx; /* 0x36094609: mov dword ptr [edx + 4], ecx */ 8733 goto L_3609461D; /* 0x3609460C: jmp 0x3609461d */ 8734 L_3609460E: 8735 edx = MEM32(eax + 0x4); /* 0x3609460E: mov edx, dword ptr [eax + 4] */ 8736 /* cmp eax, MEM32(edx + 0x8) */ /* 0x36094611: cmp eax, dword ptr [edx + 8] */ 8737 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 8738 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8739 _flag_k = FK_CMP; 8740 if (CMP_NE(_flag_a, _flag_b)) goto L_3609461B; /* 0x36094614: jne 0x3609461b */ 8741 L_36094616: 8742 MEM32(edx + 0x8) = ecx; /* 0x36094616: mov dword ptr [edx + 8], ecx */ 8743 goto L_3609461D; /* 0x36094619: jmp 0x3609461d */ 8744 L_3609461B: 8745 MEM32(edx) = ecx; /* 0x3609461B: mov dword ptr [edx], ecx */ 8746 L_3609461D: 8747 MEM32(ecx + 0x8) = eax; /* 0x3609461D: mov dword ptr [ecx + 8], eax */ 8748 MEM32(eax + 0x4) = ecx; /* 0x36094620: mov dword ptr [eax + 4], ecx */ 8749 L_36094623: 8750 ecx = MEM32(eax + 0x4); /* 0x36094623: mov ecx, dword ptr [eax + 4] */ 8751 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094626: mov byte ptr [ecx + 0x24], bl */ 8752 edx = MEM32(eax + 0x4); /* 0x36094629: mov edx, dword ptr [eax + 4] */ 8753 ecx = MEM32(edx + 0x4); /* 0x3609462C: mov ecx, dword ptr [edx + 4] */ 8754 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x3609462F: mov byte ptr [ecx + 0x24], 0 */ 8755 edx = MEM32(eax + 0x4); /* 0x36094633: mov edx, dword ptr [eax + 4] */ 8756 ecx = MEM32(edx + 0x4); /* 0x36094636: mov ecx, dword ptr [edx + 4] */ 8757 edx = MEM32(ecx + 0x8); /* 0x36094639: mov edx, dword ptr [ecx + 8] */ 8758 edi = MEM32(edx); /* 0x3609463C: mov edi, dword ptr [edx] */ 8759 MEM32(ecx + 0x8) = edi; /* 0x3609463E: mov dword ptr [ecx + 8], edi */ 8760 edi = MEM32(edx); /* 0x36094641: mov edi, dword ptr [edx] */ 8761 /* cmp edi, MEM32(esi + 0x8) */ /* 0x36094643: cmp edi, dword ptr [esi + 8] */ 8762 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8763 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8764 _flag_k = FK_CMP; 8765 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609464B; /* 0x36094646: je 0x3609464b */ 8766 L_36094648: 8767 MEM32(edi + 0x4) = ecx; /* 0x36094648: mov dword ptr [edi + 4], ecx */ 8768 L_3609464B: 8769 edi = MEM32(ecx + 0x4); /* 0x3609464B: mov edi, dword ptr [ecx + 4] */ 8770 MEM32(edx + 0x4) = edi; /* 0x3609464E: mov dword ptr [edx + 4], edi */ 8771 edi = MEM32(esi + 0x4); /* 0x36094651: mov edi, dword ptr [esi + 4] */ 8772 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x36094654: cmp ecx, dword ptr [edi + 4] */ 8773 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 8774 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8775 _flag_k = FK_CMP; 8776 if (CMP_NE(_flag_a, _flag_b)) goto L_3609465E; /* 0x36094657: jne 0x3609465e */ 8777 L_36094659: 8778 MEM32(edi + 0x4) = edx; /* 0x36094659: mov dword ptr [edi + 4], edx */ 8779 goto L_3609466C; /* 0x3609465C: jmp 0x3609466c */ 8780 L_3609465E: 8781 edi = MEM32(ecx + 0x4); /* 0x3609465E: mov edi, dword ptr [ecx + 4] */ 8782 /* cmp ecx, MEM32(edi) */ /* 0x36094661: cmp ecx, dword ptr [edi] */ 8783 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 8784 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8785 _flag_k = FK_CMP; 8786 if (CMP_NE(_flag_a, _flag_b)) goto L_36094669; /* 0x36094663: jne 0x36094669 */ 8787 L_36094665: 8788 MEM32(edi) = edx; /* 0x36094665: mov dword ptr [edi], edx */ 8789 goto L_3609466C; /* 0x36094667: jmp 0x3609466c */ 8790 L_36094669: 8791 MEM32(edi + 0x8) = edx; /* 0x36094669: mov dword ptr [edi + 8], edx */ 8792 L_3609466C: 8793 MEM32(edx) = ecx; /* 0x3609466C: mov dword ptr [edx], ecx */ 8794 L_3609466E: 8795 MEM32(ecx + 0x4) = edx; /* 0x3609466E: mov dword ptr [ecx + 4], edx */ 8796 L_36094671: 8797 ecx = MEM32(esi + 0x4); /* 0x36094671: mov ecx, dword ptr [esi + 4] */ 8798 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x36094674: cmp eax, dword ptr [ecx + 4] */ 8799 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 8800 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8801 _flag_k = FK_CMP; 8802 RECOMP_BACKEDGE(); 8803 if (CMP_NE(_flag_a, _flag_b)) goto L_360944FD; /* 0x36094677: jne 0x360944fd */ 8804 L_3609467D: 8805 edx = MEM32(esi + 0x4); /* 0x3609467D: mov edx, dword ptr [esi + 4] */ 8806 eax = MEM32(edx + 0x4); /* 0x36094680: mov eax, dword ptr [edx + 4] */ 8807 ecx = MEM32(ebp + (-0x4)); /* 0x36094683: mov ecx, dword ptr [ebp - 4] */ 8808 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094686: mov byte ptr [eax + 0x24], bl */ 8809 eax = MEM32(ebp + 0x8); /* 0x36094689: mov eax, dword ptr [ebp + 8] */ 8810 edi = POP32_VAL(esp); /* 0x3609468C: pop edi */ 8811 esi = POP32_VAL(esp); /* 0x3609468D: pop esi */ 8812 MEM32(eax) = ecx; /* 0x3609468E: mov dword ptr [eax], ecx */ 8813 ebx = POP32_VAL(esp); /* 0x36094690: pop ebx */ 8814 esp = ebp; /* 0x36094691: mov esp, ebp */ 8815 ebp = POP32_VAL(esp); /* 0x36094693: pop ebp */ 8816 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x36094694: ret 0x10 */ 8817 RECOMP_REGS_OUT(); 8818 } 8819 8820 void sub_3609466E(void) { 8821 int _fpu_cmp = 0; 8822 uint32_t _cf = 0; 8823 int _df = 1; 8824 uint32_t _flag_k = FK_NONE; 8825 uint32_t _flag_a = 0, _flag_b = 0; 8826 uint32_t _itail_tgt = 0; 8827 RECOMP_REGS_LOCALS 8828 RECOMP_ENTER(0x3609466Eu); 8829 8830 goto L_3609466E; 8831 L_360944FD: 8832 ecx = MEM32(eax + 0x4); /* 0x360944FD: mov ecx, dword ptr [eax + 4] */ 8833 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x36094500: mov dl, byte ptr [ecx + 0x24] */ 8834 /* test LO8(edx), LO8(edx) */ /* 0x36094503: test dl, dl */ 8835 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 8836 _cf = 0; 8837 _flag_k = FK_NARROW(FK_TEST, 24); 8838 if (TEST_NZ(_flag_a, _flag_b)) goto L_3609467D; /* 0x36094505: jne 0x3609467d */ 8839 L_3609450B: 8840 edi = MEM32(ecx + 0x4); /* 0x3609450B: mov edi, dword ptr [ecx + 4] */ 8841 edx = MEM32(edi); /* 0x3609450E: mov edx, dword ptr [edi] */ 8842 /* cmp ecx, edx */ /* 0x36094510: cmp ecx, edx */ 8843 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 8844 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8845 _flag_k = FK_CMP; 8846 if (CMP_NE(_flag_a, _flag_b)) goto L_360945D9; /* 0x36094512: jne 0x360945d9 */ 8847 L_36094518: 8848 edx = MEM32(edi + 0x8); /* 0x36094518: mov edx, dword ptr [edi + 8] */ 8849 /* cmp MEM8(edx + 0x24), 0 */ /* 0x3609451B: cmp byte ptr [edx + 0x24], 0 */ 8850 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 8851 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8852 _flag_k = FK_NARROW(FK_CMP, 24); 8853 if (CMP_NE(_flag_a, _flag_b)) goto L_3609453C; /* 0x3609451F: jne 0x3609453c */ 8854 L_36094521: 8855 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094521: mov byte ptr [ecx + 0x24], bl */ 8856 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094524: mov byte ptr [edx + 0x24], bl */ 8857 ecx = MEM32(eax + 0x4); /* 0x36094527: mov ecx, dword ptr [eax + 4] */ 8858 edx = MEM32(ecx + 0x4); /* 0x3609452A: mov edx, dword ptr [ecx + 4] */ 8859 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x3609452D: mov byte ptr [edx + 0x24], 0 */ 8860 eax = MEM32(eax + 0x4); /* 0x36094531: mov eax, dword ptr [eax + 4] */ 8861 eax = MEM32(eax + 0x4); /* 0x36094534: mov eax, dword ptr [eax + 4] */ 8862 goto L_36094671; /* 0x36094537: jmp 0x36094671 */ 8863 L_3609453C: 8864 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x3609453C: cmp eax, dword ptr [ecx + 8] */ 8865 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 8866 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8867 _flag_k = FK_CMP; 8868 if (CMP_NE(_flag_a, _flag_b)) goto L_3609457B; /* 0x3609453F: jne 0x3609457b */ 8869 L_36094541: 8870 eax = ecx; /* 0x36094541: mov eax, ecx */ 8871 ecx = MEM32(eax + 0x8); /* 0x36094543: mov ecx, dword ptr [eax + 8] */ 8872 edx = MEM32(ecx); /* 0x36094546: mov edx, dword ptr [ecx] */ 8873 MEM32(eax + 0x8) = edx; /* 0x36094548: mov dword ptr [eax + 8], edx */ 8874 edx = MEM32(ecx); /* 0x3609454B: mov edx, dword ptr [ecx] */ 8875 /* cmp edx, MEM32(esi + 0x8) */ /* 0x3609454D: cmp edx, dword ptr [esi + 8] */ 8876 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8877 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8878 _flag_k = FK_CMP; 8879 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094555; /* 0x36094550: je 0x36094555 */ 8880 L_36094552: 8881 MEM32(edx + 0x4) = eax; /* 0x36094552: mov dword ptr [edx + 4], eax */ 8882 L_36094555: 8883 edx = MEM32(eax + 0x4); /* 0x36094555: mov edx, dword ptr [eax + 4] */ 8884 MEM32(ecx + 0x4) = edx; /* 0x36094558: mov dword ptr [ecx + 4], edx */ 8885 edx = MEM32(esi + 0x4); /* 0x3609455B: mov edx, dword ptr [esi + 4] */ 8886 /* cmp eax, MEM32(edx + 0x4) */ /* 0x3609455E: cmp eax, dword ptr [edx + 4] */ 8887 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 8888 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8889 _flag_k = FK_CMP; 8890 if (CMP_NE(_flag_a, _flag_b)) goto L_36094568; /* 0x36094561: jne 0x36094568 */ 8891 L_36094563: 8892 MEM32(edx + 0x4) = ecx; /* 0x36094563: mov dword ptr [edx + 4], ecx */ 8893 goto L_36094576; /* 0x36094566: jmp 0x36094576 */ 8894 L_36094568: 8895 edx = MEM32(eax + 0x4); /* 0x36094568: mov edx, dword ptr [eax + 4] */ 8896 /* cmp eax, MEM32(edx) */ /* 0x3609456B: cmp eax, dword ptr [edx] */ 8897 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 8898 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8899 _flag_k = FK_CMP; 8900 if (CMP_NE(_flag_a, _flag_b)) goto L_36094573; /* 0x3609456D: jne 0x36094573 */ 8901 L_3609456F: 8902 MEM32(edx) = ecx; /* 0x3609456F: mov dword ptr [edx], ecx */ 8903 goto L_36094576; /* 0x36094571: jmp 0x36094576 */ 8904 L_36094573: 8905 MEM32(edx + 0x8) = ecx; /* 0x36094573: mov dword ptr [edx + 8], ecx */ 8906 L_36094576: 8907 MEM32(ecx) = eax; /* 0x36094576: mov dword ptr [ecx], eax */ 8908 MEM32(eax + 0x4) = ecx; /* 0x36094578: mov dword ptr [eax + 4], ecx */ 8909 L_3609457B: 8910 ecx = MEM32(eax + 0x4); /* 0x3609457B: mov ecx, dword ptr [eax + 4] */ 8911 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x3609457E: mov byte ptr [ecx + 0x24], bl */ 8912 edx = MEM32(eax + 0x4); /* 0x36094581: mov edx, dword ptr [eax + 4] */ 8913 ecx = MEM32(edx + 0x4); /* 0x36094584: mov ecx, dword ptr [edx + 4] */ 8914 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x36094587: mov byte ptr [ecx + 0x24], 0 */ 8915 edx = MEM32(eax + 0x4); /* 0x3609458B: mov edx, dword ptr [eax + 4] */ 8916 ecx = MEM32(edx + 0x4); /* 0x3609458E: mov ecx, dword ptr [edx + 4] */ 8917 edx = MEM32(ecx); /* 0x36094591: mov edx, dword ptr [ecx] */ 8918 edi = MEM32(edx + 0x8); /* 0x36094593: mov edi, dword ptr [edx + 8] */ 8919 MEM32(ecx) = edi; /* 0x36094596: mov dword ptr [ecx], edi */ 8920 edi = MEM32(edx + 0x8); /* 0x36094598: mov edi, dword ptr [edx + 8] */ 8921 /* cmp edi, MEM32(esi + 0x8) */ /* 0x3609459B: cmp edi, dword ptr [esi + 8] */ 8922 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8923 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8924 _flag_k = FK_CMP; 8925 if (CMP_EQ(_flag_a, _flag_b)) goto L_360945A3; /* 0x3609459E: je 0x360945a3 */ 8926 L_360945A0: 8927 MEM32(edi + 0x4) = ecx; /* 0x360945A0: mov dword ptr [edi + 4], ecx */ 8928 L_360945A3: 8929 edi = MEM32(ecx + 0x4); /* 0x360945A3: mov edi, dword ptr [ecx + 4] */ 8930 MEM32(edx + 0x4) = edi; /* 0x360945A6: mov dword ptr [edx + 4], edi */ 8931 edi = MEM32(esi + 0x4); /* 0x360945A9: mov edi, dword ptr [esi + 4] */ 8932 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x360945AC: cmp ecx, dword ptr [edi + 4] */ 8933 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 8934 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8935 _flag_k = FK_CMP; 8936 if (CMP_NE(_flag_a, _flag_b)) goto L_360945BC; /* 0x360945AF: jne 0x360945bc */ 8937 L_360945B1: 8938 MEM32(edi + 0x4) = edx; /* 0x360945B1: mov dword ptr [edi + 4], edx */ 8939 MEM32(edx + 0x8) = ecx; /* 0x360945B4: mov dword ptr [edx + 8], ecx */ 8940 goto L_3609466E; /* 0x360945B7: jmp 0x3609466e */ 8941 L_360945BC: 8942 edi = MEM32(ecx + 0x4); /* 0x360945BC: mov edi, dword ptr [ecx + 4] */ 8943 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x360945BF: cmp ecx, dword ptr [edi + 8] */ 8944 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 8945 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8946 _flag_k = FK_CMP; 8947 if (CMP_NE(_flag_a, _flag_b)) goto L_360945CF; /* 0x360945C2: jne 0x360945cf */ 8948 L_360945C4: 8949 MEM32(edi + 0x8) = edx; /* 0x360945C4: mov dword ptr [edi + 8], edx */ 8950 MEM32(edx + 0x8) = ecx; /* 0x360945C7: mov dword ptr [edx + 8], ecx */ 8951 goto L_3609466E; /* 0x360945CA: jmp 0x3609466e */ 8952 L_360945CF: 8953 MEM32(edi) = edx; /* 0x360945CF: mov dword ptr [edi], edx */ 8954 MEM32(edx + 0x8) = ecx; /* 0x360945D1: mov dword ptr [edx + 8], ecx */ 8955 goto L_3609466E; /* 0x360945D4: jmp 0x3609466e */ 8956 L_360945D9: 8957 /* cmp MEM8(edx + 0x24), 0 */ /* 0x360945D9: cmp byte ptr [edx + 0x24], 0 */ 8958 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 8959 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8960 _flag_k = FK_NARROW(FK_CMP, 24); 8961 RECOMP_BACKEDGE(); 8962 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094521; /* 0x360945DD: je 0x36094521 */ 8963 L_360945E3: 8964 /* cmp eax, MEM32(ecx) */ /* 0x360945E3: cmp eax, dword ptr [ecx] */ 8965 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 8966 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8967 _flag_k = FK_CMP; 8968 if (CMP_NE(_flag_a, _flag_b)) goto L_36094623; /* 0x360945E5: jne 0x36094623 */ 8969 L_360945E7: 8970 eax = ecx; /* 0x360945E7: mov eax, ecx */ 8971 ecx = MEM32(eax); /* 0x360945E9: mov ecx, dword ptr [eax] */ 8972 edx = MEM32(ecx + 0x8); /* 0x360945EB: mov edx, dword ptr [ecx + 8] */ 8973 MEM32(eax) = edx; /* 0x360945EE: mov dword ptr [eax], edx */ 8974 edx = MEM32(ecx + 0x8); /* 0x360945F0: mov edx, dword ptr [ecx + 8] */ 8975 /* cmp edx, MEM32(esi + 0x8) */ /* 0x360945F3: cmp edx, dword ptr [esi + 8] */ 8976 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 8977 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8978 _flag_k = FK_CMP; 8979 if (CMP_EQ(_flag_a, _flag_b)) goto L_360945FB; /* 0x360945F6: je 0x360945fb */ 8980 L_360945F8: 8981 MEM32(edx + 0x4) = eax; /* 0x360945F8: mov dword ptr [edx + 4], eax */ 8982 L_360945FB: 8983 edx = MEM32(eax + 0x4); /* 0x360945FB: mov edx, dword ptr [eax + 4] */ 8984 MEM32(ecx + 0x4) = edx; /* 0x360945FE: mov dword ptr [ecx + 4], edx */ 8985 edx = MEM32(esi + 0x4); /* 0x36094601: mov edx, dword ptr [esi + 4] */ 8986 /* cmp eax, MEM32(edx + 0x4) */ /* 0x36094604: cmp eax, dword ptr [edx + 4] */ 8987 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 8988 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8989 _flag_k = FK_CMP; 8990 if (CMP_NE(_flag_a, _flag_b)) goto L_3609460E; /* 0x36094607: jne 0x3609460e */ 8991 L_36094609: 8992 MEM32(edx + 0x4) = ecx; /* 0x36094609: mov dword ptr [edx + 4], ecx */ 8993 goto L_3609461D; /* 0x3609460C: jmp 0x3609461d */ 8994 L_3609460E: 8995 edx = MEM32(eax + 0x4); /* 0x3609460E: mov edx, dword ptr [eax + 4] */ 8996 /* cmp eax, MEM32(edx + 0x8) */ /* 0x36094611: cmp eax, dword ptr [edx + 8] */ 8997 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 8998 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 8999 _flag_k = FK_CMP; 9000 if (CMP_NE(_flag_a, _flag_b)) goto L_3609461B; /* 0x36094614: jne 0x3609461b */ 9001 L_36094616: 9002 MEM32(edx + 0x8) = ecx; /* 0x36094616: mov dword ptr [edx + 8], ecx */ 9003 goto L_3609461D; /* 0x36094619: jmp 0x3609461d */ 9004 L_3609461B: 9005 MEM32(edx) = ecx; /* 0x3609461B: mov dword ptr [edx], ecx */ 9006 L_3609461D: 9007 MEM32(ecx + 0x8) = eax; /* 0x3609461D: mov dword ptr [ecx + 8], eax */ 9008 MEM32(eax + 0x4) = ecx; /* 0x36094620: mov dword ptr [eax + 4], ecx */ 9009 L_36094623: 9010 ecx = MEM32(eax + 0x4); /* 0x36094623: mov ecx, dword ptr [eax + 4] */ 9011 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094626: mov byte ptr [ecx + 0x24], bl */ 9012 edx = MEM32(eax + 0x4); /* 0x36094629: mov edx, dword ptr [eax + 4] */ 9013 ecx = MEM32(edx + 0x4); /* 0x3609462C: mov ecx, dword ptr [edx + 4] */ 9014 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x3609462F: mov byte ptr [ecx + 0x24], 0 */ 9015 edx = MEM32(eax + 0x4); /* 0x36094633: mov edx, dword ptr [eax + 4] */ 9016 ecx = MEM32(edx + 0x4); /* 0x36094636: mov ecx, dword ptr [edx + 4] */ 9017 edx = MEM32(ecx + 0x8); /* 0x36094639: mov edx, dword ptr [ecx + 8] */ 9018 edi = MEM32(edx); /* 0x3609463C: mov edi, dword ptr [edx] */ 9019 MEM32(ecx + 0x8) = edi; /* 0x3609463E: mov dword ptr [ecx + 8], edi */ 9020 edi = MEM32(edx); /* 0x36094641: mov edi, dword ptr [edx] */ 9021 /* cmp edi, MEM32(esi + 0x8) */ /* 0x36094643: cmp edi, dword ptr [esi + 8] */ 9022 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9023 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9024 _flag_k = FK_CMP; 9025 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609464B; /* 0x36094646: je 0x3609464b */ 9026 L_36094648: 9027 MEM32(edi + 0x4) = ecx; /* 0x36094648: mov dword ptr [edi + 4], ecx */ 9028 L_3609464B: 9029 edi = MEM32(ecx + 0x4); /* 0x3609464B: mov edi, dword ptr [ecx + 4] */ 9030 MEM32(edx + 0x4) = edi; /* 0x3609464E: mov dword ptr [edx + 4], edi */ 9031 edi = MEM32(esi + 0x4); /* 0x36094651: mov edi, dword ptr [esi + 4] */ 9032 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x36094654: cmp ecx, dword ptr [edi + 4] */ 9033 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 9034 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9035 _flag_k = FK_CMP; 9036 if (CMP_NE(_flag_a, _flag_b)) goto L_3609465E; /* 0x36094657: jne 0x3609465e */ 9037 L_36094659: 9038 MEM32(edi + 0x4) = edx; /* 0x36094659: mov dword ptr [edi + 4], edx */ 9039 goto L_3609466C; /* 0x3609465C: jmp 0x3609466c */ 9040 L_3609465E: 9041 edi = MEM32(ecx + 0x4); /* 0x3609465E: mov edi, dword ptr [ecx + 4] */ 9042 /* cmp ecx, MEM32(edi) */ /* 0x36094661: cmp ecx, dword ptr [edi] */ 9043 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 9044 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9045 _flag_k = FK_CMP; 9046 if (CMP_NE(_flag_a, _flag_b)) goto L_36094669; /* 0x36094663: jne 0x36094669 */ 9047 L_36094665: 9048 MEM32(edi) = edx; /* 0x36094665: mov dword ptr [edi], edx */ 9049 goto L_3609466C; /* 0x36094667: jmp 0x3609466c */ 9050 L_36094669: 9051 MEM32(edi + 0x8) = edx; /* 0x36094669: mov dword ptr [edi + 8], edx */ 9052 L_3609466C: 9053 MEM32(edx) = ecx; /* 0x3609466C: mov dword ptr [edx], ecx */ 9054 L_3609466E: 9055 MEM32(ecx + 0x4) = edx; /* 0x3609466E: mov dword ptr [ecx + 4], edx */ 9056 L_36094671: 9057 ecx = MEM32(esi + 0x4); /* 0x36094671: mov ecx, dword ptr [esi + 4] */ 9058 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x36094674: cmp eax, dword ptr [ecx + 4] */ 9059 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 9060 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9061 _flag_k = FK_CMP; 9062 RECOMP_BACKEDGE(); 9063 if (CMP_NE(_flag_a, _flag_b)) goto L_360944FD; /* 0x36094677: jne 0x360944fd */ 9064 L_3609467D: 9065 edx = MEM32(esi + 0x4); /* 0x3609467D: mov edx, dword ptr [esi + 4] */ 9066 eax = MEM32(edx + 0x4); /* 0x36094680: mov eax, dword ptr [edx + 4] */ 9067 ecx = MEM32(ebp + (-0x4)); /* 0x36094683: mov ecx, dword ptr [ebp - 4] */ 9068 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094686: mov byte ptr [eax + 0x24], bl */ 9069 eax = MEM32(ebp + 0x8); /* 0x36094689: mov eax, dword ptr [ebp + 8] */ 9070 edi = POP32_VAL(esp); /* 0x3609468C: pop edi */ 9071 esi = POP32_VAL(esp); /* 0x3609468D: pop esi */ 9072 MEM32(eax) = ecx; /* 0x3609468E: mov dword ptr [eax], ecx */ 9073 ebx = POP32_VAL(esp); /* 0x36094690: pop ebx */ 9074 esp = ebp; /* 0x36094691: mov esp, ebp */ 9075 ebp = POP32_VAL(esp); /* 0x36094693: pop ebp */ 9076 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x36094694: ret 0x10 */ 9077 RECOMP_REGS_OUT(); 9078 } 9079 9080 void sub_36094671(void) { 9081 int _fpu_cmp = 0; 9082 uint32_t _cf = 0; 9083 int _df = 1; 9084 uint32_t _flag_k = FK_NONE; 9085 uint32_t _flag_a = 0, _flag_b = 0; 9086 uint32_t _itail_tgt = 0; 9087 RECOMP_REGS_LOCALS 9088 RECOMP_ENTER(0x36094671u); 9089 9090 goto L_36094671; 9091 L_360944FD: 9092 ecx = MEM32(eax + 0x4); /* 0x360944FD: mov ecx, dword ptr [eax + 4] */ 9093 SET_LO8(edx, MEM8(ecx + 0x24)); /* 0x36094500: mov dl, byte ptr [ecx + 0x24] */ 9094 /* test LO8(edx), LO8(edx) */ /* 0x36094503: test dl, dl */ 9095 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 9096 _cf = 0; 9097 _flag_k = FK_NARROW(FK_TEST, 24); 9098 if (TEST_NZ(_flag_a, _flag_b)) goto L_3609467D; /* 0x36094505: jne 0x3609467d */ 9099 L_3609450B: 9100 edi = MEM32(ecx + 0x4); /* 0x3609450B: mov edi, dword ptr [ecx + 4] */ 9101 edx = MEM32(edi); /* 0x3609450E: mov edx, dword ptr [edi] */ 9102 /* cmp ecx, edx */ /* 0x36094510: cmp ecx, edx */ 9103 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 9104 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9105 _flag_k = FK_CMP; 9106 if (CMP_NE(_flag_a, _flag_b)) goto L_360945D9; /* 0x36094512: jne 0x360945d9 */ 9107 L_36094518: 9108 edx = MEM32(edi + 0x8); /* 0x36094518: mov edx, dword ptr [edi + 8] */ 9109 /* cmp MEM8(edx + 0x24), 0 */ /* 0x3609451B: cmp byte ptr [edx + 0x24], 0 */ 9110 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 9111 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9112 _flag_k = FK_NARROW(FK_CMP, 24); 9113 if (CMP_NE(_flag_a, _flag_b)) goto L_3609453C; /* 0x3609451F: jne 0x3609453c */ 9114 L_36094521: 9115 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094521: mov byte ptr [ecx + 0x24], bl */ 9116 MEM8(edx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094524: mov byte ptr [edx + 0x24], bl */ 9117 ecx = MEM32(eax + 0x4); /* 0x36094527: mov ecx, dword ptr [eax + 4] */ 9118 edx = MEM32(ecx + 0x4); /* 0x3609452A: mov edx, dword ptr [ecx + 4] */ 9119 MEM8(edx + 0x24) = (uint8_t)(0); /* 0x3609452D: mov byte ptr [edx + 0x24], 0 */ 9120 eax = MEM32(eax + 0x4); /* 0x36094531: mov eax, dword ptr [eax + 4] */ 9121 eax = MEM32(eax + 0x4); /* 0x36094534: mov eax, dword ptr [eax + 4] */ 9122 goto L_36094671; /* 0x36094537: jmp 0x36094671 */ 9123 L_3609453C: 9124 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x3609453C: cmp eax, dword ptr [ecx + 8] */ 9125 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 9126 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9127 _flag_k = FK_CMP; 9128 if (CMP_NE(_flag_a, _flag_b)) goto L_3609457B; /* 0x3609453F: jne 0x3609457b */ 9129 L_36094541: 9130 eax = ecx; /* 0x36094541: mov eax, ecx */ 9131 ecx = MEM32(eax + 0x8); /* 0x36094543: mov ecx, dword ptr [eax + 8] */ 9132 edx = MEM32(ecx); /* 0x36094546: mov edx, dword ptr [ecx] */ 9133 MEM32(eax + 0x8) = edx; /* 0x36094548: mov dword ptr [eax + 8], edx */ 9134 edx = MEM32(ecx); /* 0x3609454B: mov edx, dword ptr [ecx] */ 9135 /* cmp edx, MEM32(esi + 0x8) */ /* 0x3609454D: cmp edx, dword ptr [esi + 8] */ 9136 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9137 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9138 _flag_k = FK_CMP; 9139 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094555; /* 0x36094550: je 0x36094555 */ 9140 L_36094552: 9141 MEM32(edx + 0x4) = eax; /* 0x36094552: mov dword ptr [edx + 4], eax */ 9142 L_36094555: 9143 edx = MEM32(eax + 0x4); /* 0x36094555: mov edx, dword ptr [eax + 4] */ 9144 MEM32(ecx + 0x4) = edx; /* 0x36094558: mov dword ptr [ecx + 4], edx */ 9145 edx = MEM32(esi + 0x4); /* 0x3609455B: mov edx, dword ptr [esi + 4] */ 9146 /* cmp eax, MEM32(edx + 0x4) */ /* 0x3609455E: cmp eax, dword ptr [edx + 4] */ 9147 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 9148 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9149 _flag_k = FK_CMP; 9150 if (CMP_NE(_flag_a, _flag_b)) goto L_36094568; /* 0x36094561: jne 0x36094568 */ 9151 L_36094563: 9152 MEM32(edx + 0x4) = ecx; /* 0x36094563: mov dword ptr [edx + 4], ecx */ 9153 goto L_36094576; /* 0x36094566: jmp 0x36094576 */ 9154 L_36094568: 9155 edx = MEM32(eax + 0x4); /* 0x36094568: mov edx, dword ptr [eax + 4] */ 9156 /* cmp eax, MEM32(edx) */ /* 0x3609456B: cmp eax, dword ptr [edx] */ 9157 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx)); 9158 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9159 _flag_k = FK_CMP; 9160 if (CMP_NE(_flag_a, _flag_b)) goto L_36094573; /* 0x3609456D: jne 0x36094573 */ 9161 L_3609456F: 9162 MEM32(edx) = ecx; /* 0x3609456F: mov dword ptr [edx], ecx */ 9163 goto L_36094576; /* 0x36094571: jmp 0x36094576 */ 9164 L_36094573: 9165 MEM32(edx + 0x8) = ecx; /* 0x36094573: mov dword ptr [edx + 8], ecx */ 9166 L_36094576: 9167 MEM32(ecx) = eax; /* 0x36094576: mov dword ptr [ecx], eax */ 9168 MEM32(eax + 0x4) = ecx; /* 0x36094578: mov dword ptr [eax + 4], ecx */ 9169 L_3609457B: 9170 ecx = MEM32(eax + 0x4); /* 0x3609457B: mov ecx, dword ptr [eax + 4] */ 9171 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x3609457E: mov byte ptr [ecx + 0x24], bl */ 9172 edx = MEM32(eax + 0x4); /* 0x36094581: mov edx, dword ptr [eax + 4] */ 9173 ecx = MEM32(edx + 0x4); /* 0x36094584: mov ecx, dword ptr [edx + 4] */ 9174 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x36094587: mov byte ptr [ecx + 0x24], 0 */ 9175 edx = MEM32(eax + 0x4); /* 0x3609458B: mov edx, dword ptr [eax + 4] */ 9176 ecx = MEM32(edx + 0x4); /* 0x3609458E: mov ecx, dword ptr [edx + 4] */ 9177 edx = MEM32(ecx); /* 0x36094591: mov edx, dword ptr [ecx] */ 9178 edi = MEM32(edx + 0x8); /* 0x36094593: mov edi, dword ptr [edx + 8] */ 9179 MEM32(ecx) = edi; /* 0x36094596: mov dword ptr [ecx], edi */ 9180 edi = MEM32(edx + 0x8); /* 0x36094598: mov edi, dword ptr [edx + 8] */ 9181 /* cmp edi, MEM32(esi + 0x8) */ /* 0x3609459B: cmp edi, dword ptr [esi + 8] */ 9182 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9183 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9184 _flag_k = FK_CMP; 9185 if (CMP_EQ(_flag_a, _flag_b)) goto L_360945A3; /* 0x3609459E: je 0x360945a3 */ 9186 L_360945A0: 9187 MEM32(edi + 0x4) = ecx; /* 0x360945A0: mov dword ptr [edi + 4], ecx */ 9188 L_360945A3: 9189 edi = MEM32(ecx + 0x4); /* 0x360945A3: mov edi, dword ptr [ecx + 4] */ 9190 MEM32(edx + 0x4) = edi; /* 0x360945A6: mov dword ptr [edx + 4], edi */ 9191 edi = MEM32(esi + 0x4); /* 0x360945A9: mov edi, dword ptr [esi + 4] */ 9192 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x360945AC: cmp ecx, dword ptr [edi + 4] */ 9193 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 9194 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9195 _flag_k = FK_CMP; 9196 if (CMP_NE(_flag_a, _flag_b)) goto L_360945BC; /* 0x360945AF: jne 0x360945bc */ 9197 L_360945B1: 9198 MEM32(edi + 0x4) = edx; /* 0x360945B1: mov dword ptr [edi + 4], edx */ 9199 MEM32(edx + 0x8) = ecx; /* 0x360945B4: mov dword ptr [edx + 8], ecx */ 9200 goto L_3609466E; /* 0x360945B7: jmp 0x3609466e */ 9201 L_360945BC: 9202 edi = MEM32(ecx + 0x4); /* 0x360945BC: mov edi, dword ptr [ecx + 4] */ 9203 /* cmp ecx, MEM32(edi + 0x8) */ /* 0x360945BF: cmp ecx, dword ptr [edi + 8] */ 9204 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9205 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9206 _flag_k = FK_CMP; 9207 if (CMP_NE(_flag_a, _flag_b)) goto L_360945CF; /* 0x360945C2: jne 0x360945cf */ 9208 L_360945C4: 9209 MEM32(edi + 0x8) = edx; /* 0x360945C4: mov dword ptr [edi + 8], edx */ 9210 MEM32(edx + 0x8) = ecx; /* 0x360945C7: mov dword ptr [edx + 8], ecx */ 9211 goto L_3609466E; /* 0x360945CA: jmp 0x3609466e */ 9212 L_360945CF: 9213 MEM32(edi) = edx; /* 0x360945CF: mov dword ptr [edi], edx */ 9214 MEM32(edx + 0x8) = ecx; /* 0x360945D1: mov dword ptr [edx + 8], ecx */ 9215 goto L_3609466E; /* 0x360945D4: jmp 0x3609466e */ 9216 L_360945D9: 9217 /* cmp MEM8(edx + 0x24), 0 */ /* 0x360945D9: cmp byte ptr [edx + 0x24], 0 */ 9218 _flag_a = (uint32_t)(MEM8(edx + 0x24)) << 24; _flag_b = (uint32_t)(0) << 24; 9219 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9220 _flag_k = FK_NARROW(FK_CMP, 24); 9221 RECOMP_BACKEDGE(); 9222 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094521; /* 0x360945DD: je 0x36094521 */ 9223 L_360945E3: 9224 /* cmp eax, MEM32(ecx) */ /* 0x360945E3: cmp eax, dword ptr [ecx] */ 9225 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx)); 9226 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9227 _flag_k = FK_CMP; 9228 if (CMP_NE(_flag_a, _flag_b)) goto L_36094623; /* 0x360945E5: jne 0x36094623 */ 9229 L_360945E7: 9230 eax = ecx; /* 0x360945E7: mov eax, ecx */ 9231 ecx = MEM32(eax); /* 0x360945E9: mov ecx, dword ptr [eax] */ 9232 edx = MEM32(ecx + 0x8); /* 0x360945EB: mov edx, dword ptr [ecx + 8] */ 9233 MEM32(eax) = edx; /* 0x360945EE: mov dword ptr [eax], edx */ 9234 edx = MEM32(ecx + 0x8); /* 0x360945F0: mov edx, dword ptr [ecx + 8] */ 9235 /* cmp edx, MEM32(esi + 0x8) */ /* 0x360945F3: cmp edx, dword ptr [esi + 8] */ 9236 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9237 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9238 _flag_k = FK_CMP; 9239 if (CMP_EQ(_flag_a, _flag_b)) goto L_360945FB; /* 0x360945F6: je 0x360945fb */ 9240 L_360945F8: 9241 MEM32(edx + 0x4) = eax; /* 0x360945F8: mov dword ptr [edx + 4], eax */ 9242 L_360945FB: 9243 edx = MEM32(eax + 0x4); /* 0x360945FB: mov edx, dword ptr [eax + 4] */ 9244 MEM32(ecx + 0x4) = edx; /* 0x360945FE: mov dword ptr [ecx + 4], edx */ 9245 edx = MEM32(esi + 0x4); /* 0x36094601: mov edx, dword ptr [esi + 4] */ 9246 /* cmp eax, MEM32(edx + 0x4) */ /* 0x36094604: cmp eax, dword ptr [edx + 4] */ 9247 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 9248 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9249 _flag_k = FK_CMP; 9250 if (CMP_NE(_flag_a, _flag_b)) goto L_3609460E; /* 0x36094607: jne 0x3609460e */ 9251 L_36094609: 9252 MEM32(edx + 0x4) = ecx; /* 0x36094609: mov dword ptr [edx + 4], ecx */ 9253 goto L_3609461D; /* 0x3609460C: jmp 0x3609461d */ 9254 L_3609460E: 9255 edx = MEM32(eax + 0x4); /* 0x3609460E: mov edx, dword ptr [eax + 4] */ 9256 /* cmp eax, MEM32(edx + 0x8) */ /* 0x36094611: cmp eax, dword ptr [edx + 8] */ 9257 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x8)); 9258 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9259 _flag_k = FK_CMP; 9260 if (CMP_NE(_flag_a, _flag_b)) goto L_3609461B; /* 0x36094614: jne 0x3609461b */ 9261 L_36094616: 9262 MEM32(edx + 0x8) = ecx; /* 0x36094616: mov dword ptr [edx + 8], ecx */ 9263 goto L_3609461D; /* 0x36094619: jmp 0x3609461d */ 9264 L_3609461B: 9265 MEM32(edx) = ecx; /* 0x3609461B: mov dword ptr [edx], ecx */ 9266 L_3609461D: 9267 MEM32(ecx + 0x8) = eax; /* 0x3609461D: mov dword ptr [ecx + 8], eax */ 9268 MEM32(eax + 0x4) = ecx; /* 0x36094620: mov dword ptr [eax + 4], ecx */ 9269 L_36094623: 9270 ecx = MEM32(eax + 0x4); /* 0x36094623: mov ecx, dword ptr [eax + 4] */ 9271 MEM8(ecx + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094626: mov byte ptr [ecx + 0x24], bl */ 9272 edx = MEM32(eax + 0x4); /* 0x36094629: mov edx, dword ptr [eax + 4] */ 9273 ecx = MEM32(edx + 0x4); /* 0x3609462C: mov ecx, dword ptr [edx + 4] */ 9274 MEM8(ecx + 0x24) = (uint8_t)(0); /* 0x3609462F: mov byte ptr [ecx + 0x24], 0 */ 9275 edx = MEM32(eax + 0x4); /* 0x36094633: mov edx, dword ptr [eax + 4] */ 9276 ecx = MEM32(edx + 0x4); /* 0x36094636: mov ecx, dword ptr [edx + 4] */ 9277 edx = MEM32(ecx + 0x8); /* 0x36094639: mov edx, dword ptr [ecx + 8] */ 9278 edi = MEM32(edx); /* 0x3609463C: mov edi, dword ptr [edx] */ 9279 MEM32(ecx + 0x8) = edi; /* 0x3609463E: mov dword ptr [ecx + 8], edi */ 9280 edi = MEM32(edx); /* 0x36094641: mov edi, dword ptr [edx] */ 9281 /* cmp edi, MEM32(esi + 0x8) */ /* 0x36094643: cmp edi, dword ptr [esi + 8] */ 9282 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 9283 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9284 _flag_k = FK_CMP; 9285 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609464B; /* 0x36094646: je 0x3609464b */ 9286 L_36094648: 9287 MEM32(edi + 0x4) = ecx; /* 0x36094648: mov dword ptr [edi + 4], ecx */ 9288 L_3609464B: 9289 edi = MEM32(ecx + 0x4); /* 0x3609464B: mov edi, dword ptr [ecx + 4] */ 9290 MEM32(edx + 0x4) = edi; /* 0x3609464E: mov dword ptr [edx + 4], edi */ 9291 edi = MEM32(esi + 0x4); /* 0x36094651: mov edi, dword ptr [esi + 4] */ 9292 /* cmp ecx, MEM32(edi + 0x4) */ /* 0x36094654: cmp ecx, dword ptr [edi + 4] */ 9293 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi + 0x4)); 9294 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9295 _flag_k = FK_CMP; 9296 if (CMP_NE(_flag_a, _flag_b)) goto L_3609465E; /* 0x36094657: jne 0x3609465e */ 9297 L_36094659: 9298 MEM32(edi + 0x4) = edx; /* 0x36094659: mov dword ptr [edi + 4], edx */ 9299 goto L_3609466C; /* 0x3609465C: jmp 0x3609466c */ 9300 L_3609465E: 9301 edi = MEM32(ecx + 0x4); /* 0x3609465E: mov edi, dword ptr [ecx + 4] */ 9302 /* cmp ecx, MEM32(edi) */ /* 0x36094661: cmp ecx, dword ptr [edi] */ 9303 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(edi)); 9304 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9305 _flag_k = FK_CMP; 9306 if (CMP_NE(_flag_a, _flag_b)) goto L_36094669; /* 0x36094663: jne 0x36094669 */ 9307 L_36094665: 9308 MEM32(edi) = edx; /* 0x36094665: mov dword ptr [edi], edx */ 9309 goto L_3609466C; /* 0x36094667: jmp 0x3609466c */ 9310 L_36094669: 9311 MEM32(edi + 0x8) = edx; /* 0x36094669: mov dword ptr [edi + 8], edx */ 9312 L_3609466C: 9313 MEM32(edx) = ecx; /* 0x3609466C: mov dword ptr [edx], ecx */ 9314 L_3609466E: 9315 MEM32(ecx + 0x4) = edx; /* 0x3609466E: mov dword ptr [ecx + 4], edx */ 9316 L_36094671: 9317 ecx = MEM32(esi + 0x4); /* 0x36094671: mov ecx, dword ptr [esi + 4] */ 9318 /* cmp eax, MEM32(ecx + 0x4) */ /* 0x36094674: cmp eax, dword ptr [ecx + 4] */ 9319 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x4)); 9320 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9321 _flag_k = FK_CMP; 9322 RECOMP_BACKEDGE(); 9323 if (CMP_NE(_flag_a, _flag_b)) goto L_360944FD; /* 0x36094677: jne 0x360944fd */ 9324 L_3609467D: 9325 edx = MEM32(esi + 0x4); /* 0x3609467D: mov edx, dword ptr [esi + 4] */ 9326 eax = MEM32(edx + 0x4); /* 0x36094680: mov eax, dword ptr [edx + 4] */ 9327 ecx = MEM32(ebp + (-0x4)); /* 0x36094683: mov ecx, dword ptr [ebp - 4] */ 9328 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094686: mov byte ptr [eax + 0x24], bl */ 9329 eax = MEM32(ebp + 0x8); /* 0x36094689: mov eax, dword ptr [ebp + 8] */ 9330 edi = POP32_VAL(esp); /* 0x3609468C: pop edi */ 9331 esi = POP32_VAL(esp); /* 0x3609468D: pop esi */ 9332 MEM32(eax) = ecx; /* 0x3609468E: mov dword ptr [eax], ecx */ 9333 ebx = POP32_VAL(esp); /* 0x36094690: pop ebx */ 9334 esp = ebp; /* 0x36094691: mov esp, ebp */ 9335 ebp = POP32_VAL(esp); /* 0x36094693: pop ebp */ 9336 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x36094694: ret 0x10 */ 9337 RECOMP_REGS_OUT(); 9338 } 9339 9340 void sub_3609467D(void) { 9341 int _fpu_cmp = 0; 9342 uint32_t _cf = 0; 9343 int _df = 1; 9344 uint32_t _flag_k = FK_NONE; 9345 uint32_t _flag_a = 0, _flag_b = 0; 9346 uint32_t _itail_tgt = 0; 9347 RECOMP_REGS_LOCALS 9348 RECOMP_ENTER(0x3609467Du); 9349 9350 L_3609467D: 9351 edx = MEM32(esi + 0x4); /* 0x3609467D: mov edx, dword ptr [esi + 4] */ 9352 eax = MEM32(edx + 0x4); /* 0x36094680: mov eax, dword ptr [edx + 4] */ 9353 ecx = MEM32(ebp + (-0x4)); /* 0x36094683: mov ecx, dword ptr [ebp - 4] */ 9354 MEM8(eax + 0x24) = (uint8_t)(LO8(ebx)); /* 0x36094686: mov byte ptr [eax + 0x24], bl */ 9355 eax = MEM32(ebp + 0x8); /* 0x36094689: mov eax, dword ptr [ebp + 8] */ 9356 edi = POP32_VAL(esp); /* 0x3609468C: pop edi */ 9357 esi = POP32_VAL(esp); /* 0x3609468D: pop esi */ 9358 MEM32(eax) = ecx; /* 0x3609468E: mov dword ptr [eax], ecx */ 9359 ebx = POP32_VAL(esp); /* 0x36094690: pop ebx */ 9360 esp = ebp; /* 0x36094691: mov esp, ebp */ 9361 ebp = POP32_VAL(esp); /* 0x36094693: pop ebp */ 9362 RECOMP_FLAGS_OUT(); esp += 20; { RECOMP_REGS_OUT(); return; } /* 0x36094694: ret 0x10 */ 9363 RECOMP_REGS_OUT(); 9364 } 9365 9366 void sub_360946A0(void) { 9367 int _fpu_cmp = 0; 9368 uint32_t _cf = 0; 9369 int _df = 1; 9370 uint32_t _flag_k = FK_NONE; 9371 uint32_t _flag_a = 0, _flag_b = 0; 9372 uint32_t _itail_tgt = 0; 9373 RECOMP_REGS_LOCALS 9374 RECOMP_ENTER(0x360946A0u); 9375 9376 L_360946A0: 9377 PUSH32(esp, ebp); /* 0x360946A0: push ebp */ 9378 ebp = esp; /* 0x360946A1: mov ebp, esp */ 9379 PUSH32(esp, ecx); /* 0x360946A3: push ecx */ 9380 PUSH32(esp, ebx); /* 0x360946A4: push ebx */ 9381 PUSH32(esp, esi); /* 0x360946A5: push esi */ 9382 PUSH32(esp, edi); /* 0x360946A6: push edi */ 9383 edi = ecx; /* 0x360946A7: mov edi, ecx */ 9384 eax = MEM32(edi + 0x4); /* 0x360946A9: mov eax, dword ptr [edi + 4] */ 9385 esi = MEM32(eax + 0x4); /* 0x360946AC: mov esi, dword ptr [eax + 4] */ 9386 MEM32(ebp + (-0x4)) = eax; /* 0x360946AF: mov dword ptr [ebp - 4], eax */ 9387 /* cmp esi, MEM32(edi + 0x8) */ /* 0x360946B2: cmp esi, dword ptr [edi + 8] */ 9388 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9389 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9390 _flag_k = FK_CMP; 9391 if (CMP_EQ(_flag_a, _flag_b)) goto L_360946D6; /* 0x360946B5: je 0x360946d6 */ 9392 L_360946B7: 9393 ecx = MEM32(ebp + 0xC); /* 0x360946B7: mov ecx, dword ptr [ebp + 0xc] */ 9394 eax = esi + 0xC; /* 0x360946BA: lea eax, [esi + 0xc] */ 9395 PUSH32(esp, eax); /* 0x360946BD: push eax */ 9396 RECOMP_ICALL(0x3603F770u); /* 0x360946BE: call 0x3603f770 */ /* not lifted */ 9397 RECOMP_FLAGS_IN(); 9398 /* test LO8(eax), LO8(eax) */ /* 0x360946C3: test al, al */ 9399 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9400 _cf = 0; 9401 _flag_k = FK_NARROW(FK_TEST, 24); 9402 if (TEST_Z(_flag_a, _flag_b)) goto L_360946CE; /* 0x360946C5: je 0x360946ce */ 9403 L_360946C7: 9404 MEM32(ebp + (-0x4)) = esi; /* 0x360946C7: mov dword ptr [ebp - 4], esi */ 9405 esi = MEM32(esi); /* 0x360946CA: mov esi, dword ptr [esi] */ 9406 goto L_360946D1; /* 0x360946CC: jmp 0x360946d1 */ 9407 L_360946CE: 9408 esi = MEM32(esi + 0x8); /* 0x360946CE: mov esi, dword ptr [esi + 8] */ 9409 L_360946D1: 9410 /* cmp esi, MEM32(edi + 0x8) */ /* 0x360946D1: cmp esi, dword ptr [edi + 8] */ 9411 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9412 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9413 _flag_k = FK_CMP; 9414 RECOMP_BACKEDGE(); 9415 if (CMP_NE(_flag_a, _flag_b)) goto L_360946B7; /* 0x360946D4: jne 0x360946b7 */ 9416 L_360946D6: 9417 eax = MEM32(edi + 0x4); /* 0x360946D6: mov eax, dword ptr [edi + 4] */ 9418 esi = MEM32(eax + 0x4); /* 0x360946D9: mov esi, dword ptr [eax + 4] */ 9419 ebx = eax; /* 0x360946DC: mov ebx, eax */ 9420 /* cmp esi, MEM32(edi + 0x8) */ /* 0x360946DE: cmp esi, dword ptr [edi + 8] */ 9421 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9422 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9423 _flag_k = FK_CMP; 9424 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094701; /* 0x360946E1: je 0x36094701 */ 9425 L_360946E3: 9426 ecx = MEM32(ebp + 0xC); /* 0x360946E3: mov ecx, dword ptr [ebp + 0xc] */ 9427 PUSH32(esp, ecx); /* 0x360946E6: push ecx */ 9428 ecx = esi + 0xC; /* 0x360946E7: lea ecx, [esi + 0xc] */ 9429 RECOMP_ICALL(0x3603F770u); /* 0x360946EA: call 0x3603f770 */ /* not lifted */ 9430 RECOMP_FLAGS_IN(); 9431 /* test LO8(eax), LO8(eax) */ /* 0x360946EF: test al, al */ 9432 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 9433 _cf = 0; 9434 _flag_k = FK_NARROW(FK_TEST, 24); 9435 if (TEST_Z(_flag_a, _flag_b)) goto L_360946F8; /* 0x360946F1: je 0x360946f8 */ 9436 L_360946F3: 9437 esi = MEM32(esi + 0x8); /* 0x360946F3: mov esi, dword ptr [esi + 8] */ 9438 goto L_360946FC; /* 0x360946F6: jmp 0x360946fc */ 9439 L_360946F8: 9440 ebx = esi; /* 0x360946F8: mov ebx, esi */ 9441 esi = MEM32(esi); /* 0x360946FA: mov esi, dword ptr [esi] */ 9442 L_360946FC: 9443 /* cmp esi, MEM32(edi + 0x8) */ /* 0x360946FC: cmp esi, dword ptr [edi + 8] */ 9444 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x8)); 9445 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9446 _flag_k = FK_CMP; 9447 RECOMP_BACKEDGE(); 9448 if (CMP_NE(_flag_a, _flag_b)) goto L_360946E3; /* 0x360946FF: jne 0x360946e3 */ 9449 L_36094701: 9450 eax = MEM32(ebp + 0x8); /* 0x36094701: mov eax, dword ptr [ebp + 8] */ 9451 edx = MEM32(ebp + (-0x4)); /* 0x36094704: mov edx, dword ptr [ebp - 4] */ 9452 edi = POP32_VAL(esp); /* 0x36094707: pop edi */ 9453 MEM32(eax) = ebx; /* 0x36094708: mov dword ptr [eax], ebx */ 9454 esi = POP32_VAL(esp); /* 0x3609470A: pop esi */ 9455 MEM32(eax + 0x4) = edx; /* 0x3609470B: mov dword ptr [eax + 4], edx */ 9456 ebx = POP32_VAL(esp); /* 0x3609470E: pop ebx */ 9457 esp = ebp; /* 0x3609470F: mov esp, ebp */ 9458 ebp = POP32_VAL(esp); /* 0x36094711: pop ebp */ 9459 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x36094712: ret 8 */ 9460 RECOMP_REGS_OUT(); 9461 } 9462 9463 void sub_36094720(void) { 9464 int _fpu_cmp = 0; 9465 uint32_t _cf = 0; 9466 int _df = 1; 9467 uint32_t _flag_k = FK_NONE; 9468 uint32_t _flag_a = 0, _flag_b = 0; 9469 uint32_t _itail_tgt = 0; 9470 RECOMP_REGS_LOCALS 9471 RECOMP_ENTER(0x36094720u); 9472 9473 L_36094720: 9474 PUSH32(esp, ebp); /* 0x36094720: push ebp */ 9475 ebp = esp; /* 0x36094721: mov ebp, esp */ 9476 PUSH32(esp, ebx); /* 0x36094723: push ebx */ 9477 PUSH32(esp, esi); /* 0x36094724: push esi */ 9478 ebx = ecx; /* 0x36094725: mov ebx, ecx */ 9479 eax = MEM32(ebx + 0x8); /* 0x36094727: mov eax, dword ptr [ebx + 8] */ 9480 PUSH32(esp, edi); /* 0x3609472A: push edi */ 9481 edi = MEM32(ebp + 0x8); /* 0x3609472B: mov edi, dword ptr [ebp + 8] */ 9482 /* cmp edi, eax */ /* 0x3609472E: cmp edi, eax */ 9483 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 9484 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9485 _flag_k = FK_CMP; 9486 esi = edi; /* 0x36094730: mov esi, edi */ 9487 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094753; /* 0x36094732: je 0x36094753 */ 9488 L_36094734: 9489 eax = MEM32(esi + 0x8); /* 0x36094734: mov eax, dword ptr [esi + 8] */ 9490 PUSH32(esp, eax); /* 0x36094737: push eax */ 9491 ecx = ebx; /* 0x36094738: mov ecx, ebx */ 9492 RECOMP_ICALL(0x36094720u); /* 0x3609473A: call 0x36094720 */ /* not lifted */ 9493 RECOMP_FLAGS_IN(); 9494 esi = MEM32(esi); /* 0x3609473F: mov esi, dword ptr [esi] */ 9495 PUSH32(esp, edi); /* 0x36094741: push edi */ 9496 RECOMP_ICALL(0x3615FCC4u); /* 0x36094742: call 0x3615fcc4 */ /* not lifted */ 9497 RECOMP_FLAGS_IN(); 9498 eax = MEM32(ebx + 0x8); /* 0x36094747: mov eax, dword ptr [ebx + 8] */ 9499 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9500 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9501 esp = esp + 4; /* 0x3609474A: add esp, 4 */ 9502 _flag_k = FK_ADD; 9503 /* cmp esi, eax */ /* 0x3609474D: cmp esi, eax */ 9504 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 9505 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9506 _flag_k = FK_CMP; 9507 edi = esi; /* 0x3609474F: mov edi, esi */ 9508 RECOMP_BACKEDGE(); 9509 if (CMP_NE(_flag_a, _flag_b)) goto L_36094734; /* 0x36094751: jne 0x36094734 */ 9510 L_36094753: 9511 edi = POP32_VAL(esp); /* 0x36094753: pop edi */ 9512 esi = POP32_VAL(esp); /* 0x36094754: pop esi */ 9513 ebx = POP32_VAL(esp); /* 0x36094755: pop ebx */ 9514 ebp = POP32_VAL(esp); /* 0x36094756: pop ebp */ 9515 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x36094757: ret 4 */ 9516 RECOMP_REGS_OUT(); 9517 } 9518 9519 void sub_36094760(void) { 9520 int _fpu_cmp = 0; 9521 uint32_t _cf = 0; 9522 int _df = 1; 9523 uint32_t _flag_k = FK_NONE; 9524 uint32_t _flag_a = 0, _flag_b = 0; 9525 uint32_t _itail_tgt = 0; 9526 RECOMP_REGS_LOCALS 9527 RECOMP_ENTER(0x36094760u); 9528 9529 L_36094760: 9530 PUSH32(esp, ebx); /* 0x36094760: push ebx */ 9531 PUSH32(esp, esi); /* 0x36094761: push esi */ 9532 PUSH32(esp, edi); /* 0x36094762: push edi */ 9533 PUSH32(esp, 0x1Cu); /* 0x36094763: push 0x1c */ 9534 esi = ecx; /* 0x36094765: mov esi, ecx */ 9535 RECOMP_ICALL(0x3615FD6Au); /* 0x36094767: call 0x3615fd6a */ /* not lifted */ 9536 RECOMP_FLAGS_IN(); 9537 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 9538 ebx = 0; /* 0x3609476C: xor ebx, ebx */ 9539 _cf = 0; 9540 _flag_k = FK_TEST; 9541 MEM32(eax + 0x4) = ebx; /* 0x3609476E: mov dword ptr [eax + 4], ebx */ 9542 MEM8(eax + 0x19) = (uint8_t)(LO8(ebx)); /* 0x36094771: mov byte ptr [eax + 0x19], bl */ 9543 SET_LO8(ecx, 1); /* 0x36094774: mov cl, 1 */ 9544 MEM8(eax + 0x18) = (uint8_t)(LO8(ecx)); /* 0x36094776: mov byte ptr [eax + 0x18], cl */ 9545 MEM32(esi + 0x8) = eax; /* 0x36094779: mov dword ptr [esi + 8], eax */ 9546 MEM8(eax + 0x19) = (uint8_t)(LO8(ecx)); /* 0x3609477C: mov byte ptr [eax + 0x19], cl */ 9547 eax = MEM32(esi + 0x8); /* 0x3609477F: mov eax, dword ptr [esi + 8] */ 9548 MEM32(eax) = ebx; /* 0x36094782: mov dword ptr [eax], ebx */ 9549 ecx = MEM32(esi + 0x8); /* 0x36094784: mov ecx, dword ptr [esi + 8] */ 9550 MEM32(ecx + 0x8) = ebx; /* 0x36094787: mov dword ptr [ecx + 8], ebx */ 9551 edi = MEM32(esi + 0x8); /* 0x3609478A: mov edi, dword ptr [esi + 8] */ 9552 PUSH32(esp, 0x1Cu); /* 0x3609478D: push 0x1c */ 9553 RECOMP_ICALL(0x3615FD6Au); /* 0x3609478F: call 0x3615fd6a */ /* not lifted */ 9554 RECOMP_FLAGS_IN(); 9555 MEM32(eax + 0x4) = edi; /* 0x36094794: mov dword ptr [eax + 4], edi */ 9556 MEM8(eax + 0x18) = (uint8_t)(LO8(ebx)); /* 0x36094797: mov byte ptr [eax + 0x18], bl */ 9557 MEM8(eax + 0x19) = (uint8_t)(LO8(ebx)); /* 0x3609479A: mov byte ptr [eax + 0x19], bl */ 9558 MEM32(esi + 0x4) = eax; /* 0x3609479D: mov dword ptr [esi + 4], eax */ 9559 MEM32(eax) = eax; /* 0x360947A0: mov dword ptr [eax], eax */ 9560 eax = MEM32(esi + 0x4); /* 0x360947A2: mov eax, dword ptr [esi + 4] */ 9561 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 9562 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9563 esp = esp + 8; /* 0x360947A5: add esp, 8 */ 9564 _flag_k = FK_ADD; 9565 edi = POP32_VAL(esp); /* 0x360947A8: pop edi */ 9566 MEM32(eax + 0x8) = eax; /* 0x360947A9: mov dword ptr [eax + 8], eax */ 9567 MEM32(esi + 0x10) = ebx; /* 0x360947AC: mov dword ptr [esi + 0x10], ebx */ 9568 esi = POP32_VAL(esp); /* 0x360947AF: pop esi */ 9569 ebx = POP32_VAL(esp); /* 0x360947B0: pop ebx */ 9570 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360947B1: ret */ 9571 RECOMP_REGS_OUT(); 9572 } 9573 9574 void sub_360947C0(void) { 9575 int _fpu_cmp = 0; 9576 uint32_t _cf = 0; 9577 int _df = 1; 9578 uint32_t _flag_k = FK_NONE; 9579 uint32_t _flag_a = 0, _flag_b = 0; 9580 uint32_t _itail_tgt = 0; 9581 RECOMP_REGS_LOCALS 9582 RECOMP_ENTER(0x360947C0u); 9583 9584 L_360947C0: 9585 PUSH32(esp, ebp); /* 0x360947C0: push ebp */ 9586 ebp = esp; /* 0x360947C1: mov ebp, esp */ 9587 PUSH32(esp, 0x28u); /* 0x360947C3: push 0x28 */ 9588 RECOMP_ICALL(0x3615FD6Au); /* 0x360947C5: call 0x3615fd6a */ /* not lifted */ 9589 RECOMP_FLAGS_IN(); 9590 ecx = MEM32(ebp + 0x8); /* 0x360947CA: mov ecx, dword ptr [ebp + 8] */ 9591 SET_LO8(edx, MEM8(ebp + 0xC)); /* 0x360947CD: mov dl, byte ptr [ebp + 0xc] */ 9592 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9593 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9594 esp = esp + 4; /* 0x360947D0: add esp, 4 */ 9595 _flag_k = FK_ADD; 9596 MEM32(eax + 0x4) = ecx; /* 0x360947D3: mov dword ptr [eax + 4], ecx */ 9597 MEM8(eax + 0x24) = (uint8_t)(LO8(edx)); /* 0x360947D6: mov byte ptr [eax + 0x24], dl */ 9598 MEM8(eax + 0x25) = (uint8_t)(0); /* 0x360947D9: mov byte ptr [eax + 0x25], 0 */ 9599 ebp = POP32_VAL(esp); /* 0x360947DD: pop ebp */ 9600 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x360947DE: ret 8 */ 9601 RECOMP_REGS_OUT(); 9602 } 9603 9604 void sub_360947F0(void) { 9605 int _fpu_cmp = 0; 9606 uint32_t _cf = 0; 9607 int _df = 1; 9608 uint32_t _flag_k = FK_NONE; 9609 uint32_t _flag_a = 0, _flag_b = 0; 9610 uint32_t _itail_tgt = 0; 9611 RECOMP_REGS_LOCALS 9612 RECOMP_ENTER(0x360947F0u); 9613 9614 L_360947F0: 9615 eax = MEM32(ecx); /* 0x360947F0: mov eax, dword ptr [ecx] */ 9616 SET_LO8(edx, MEM8(eax + 0x24)); /* 0x360947F2: mov dl, byte ptr [eax + 0x24] */ 9617 /* test LO8(edx), LO8(edx) */ /* 0x360947F5: test dl, dl */ 9618 _flag_a = (uint32_t)(LO8(edx)) << 24; _flag_b = (uint32_t)(LO8(edx)) << 24; 9619 _cf = 0; 9620 _flag_k = FK_NARROW(FK_TEST, 24); 9621 PUSH32(esp, ebx); /* 0x360947F7: push ebx */ 9622 if (TEST_NZ(_flag_a, _flag_b)) goto L_36094809; /* 0x360947F8: jne 0x36094809 */ 9623 L_360947FA: 9624 edx = MEM32(eax + 0x4); /* 0x360947FA: mov edx, dword ptr [eax + 4] */ 9625 /* cmp MEM32(edx + 0x4), eax */ /* 0x360947FD: cmp dword ptr [edx + 4], eax */ 9626 _flag_a = (uint32_t)(MEM32(edx + 0x4)); _flag_b = (uint32_t)(eax); 9627 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9628 _flag_k = FK_CMP; 9629 if (CMP_NE(_flag_a, _flag_b)) goto L_36094809; /* 0x36094800: jne 0x36094809 */ 9630 L_36094802: 9631 eax = MEM32(eax + 0x8); /* 0x36094802: mov eax, dword ptr [eax + 8] */ 9632 MEM32(ecx) = eax; /* 0x36094805: mov dword ptr [ecx], eax */ 9633 ebx = POP32_VAL(esp); /* 0x36094807: pop ebx */ 9634 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094808: ret */ 9635 L_36094809: 9636 edx = MEM32(eax); /* 0x36094809: mov edx, dword ptr [eax] */ 9637 SET_LO8(ebx, MEM8(edx + 0x25)); /* 0x3609480B: mov bl, byte ptr [edx + 0x25] */ 9638 /* test LO8(ebx), LO8(ebx) */ /* 0x3609480E: test bl, bl */ 9639 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9640 _cf = 0; 9641 _flag_k = FK_NARROW(FK_TEST, 24); 9642 if (TEST_NZ(_flag_a, _flag_b)) goto L_3609482C; /* 0x36094810: jne 0x3609482c */ 9643 L_36094812: 9644 eax = MEM32(edx + 0x8); /* 0x36094812: mov eax, dword ptr [edx + 8] */ 9645 SET_LO8(ebx, MEM8(eax + 0x25)); /* 0x36094815: mov bl, byte ptr [eax + 0x25] */ 9646 /* test LO8(ebx), LO8(ebx) */ /* 0x36094818: test bl, bl */ 9647 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9648 _cf = 0; 9649 _flag_k = FK_NARROW(FK_TEST, 24); 9650 if (TEST_NZ(_flag_a, _flag_b)) goto L_36094828; /* 0x3609481A: jne 0x36094828 */ 9651 L_3609481C: 9652 edx = eax; /* 0x3609481C: mov edx, eax */ 9653 eax = MEM32(edx + 0x8); /* 0x3609481E: mov eax, dword ptr [edx + 8] */ 9654 SET_LO8(ebx, MEM8(eax + 0x25)); /* 0x36094821: mov bl, byte ptr [eax + 0x25] */ 9655 /* test LO8(ebx), LO8(ebx) */ /* 0x36094824: test bl, bl */ 9656 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9657 _cf = 0; 9658 _flag_k = FK_NARROW(FK_TEST, 24); 9659 RECOMP_BACKEDGE(); 9660 if (TEST_Z(_flag_a, _flag_b)) goto L_3609481C; /* 0x36094826: je 0x3609481c */ 9661 L_36094828: 9662 MEM32(ecx) = edx; /* 0x36094828: mov dword ptr [ecx], edx */ 9663 ebx = POP32_VAL(esp); /* 0x3609482A: pop ebx */ 9664 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x3609482B: ret */ 9665 L_3609482C: 9666 eax = MEM32(eax + 0x4); /* 0x3609482C: mov eax, dword ptr [eax + 4] */ 9667 edx = MEM32(ecx); /* 0x3609482F: mov edx, dword ptr [ecx] */ 9668 /* cmp edx, MEM32(eax) */ /* 0x36094831: cmp edx, dword ptr [eax] */ 9669 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax)); 9670 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9671 _flag_k = FK_CMP; 9672 if (CMP_NE(_flag_a, _flag_b)) goto L_36094840; /* 0x36094833: jne 0x36094840 */ 9673 L_36094835: 9674 MEM32(ecx) = eax; /* 0x36094835: mov dword ptr [ecx], eax */ 9675 eax = MEM32(eax + 0x4); /* 0x36094837: mov eax, dword ptr [eax + 4] */ 9676 edx = MEM32(ecx); /* 0x3609483A: mov edx, dword ptr [ecx] */ 9677 /* cmp edx, MEM32(eax) */ /* 0x3609483C: cmp edx, dword ptr [eax] */ 9678 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax)); 9679 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9680 _flag_k = FK_CMP; 9681 RECOMP_BACKEDGE(); 9682 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094835; /* 0x3609483E: je 0x36094835 */ 9683 L_36094840: 9684 MEM32(ecx) = eax; /* 0x36094840: mov dword ptr [ecx], eax */ 9685 ebx = POP32_VAL(esp); /* 0x36094842: pop ebx */ 9686 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094843: ret */ 9687 RECOMP_REGS_OUT(); 9688 } 9689 9690 void sub_36094850(void) { 9691 int _fpu_cmp = 0; 9692 uint32_t _cf = 0; 9693 int _df = 1; 9694 uint32_t _flag_k = FK_NONE; 9695 uint32_t _flag_a = 0, _flag_b = 0; 9696 uint32_t _itail_tgt = 0; 9697 RECOMP_REGS_LOCALS 9698 RECOMP_ENTER(0x36094850u); 9699 9700 L_36094850: 9701 PUSH32(esp, ebp); /* 0x36094850: push ebp */ 9702 ebp = esp; /* 0x36094851: mov ebp, esp */ 9703 PUSH32(esp, edi); /* 0x36094853: push edi */ 9704 edi = MEM32(ebp + 0xC); /* 0x36094854: mov edi, dword ptr [ebp + 0xc] */ 9705 /* test edi, edi */ /* 0x36094857: test edi, edi */ 9706 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 9707 _cf = 0; 9708 _flag_k = FK_TEST; 9709 if (TEST_Z(_flag_a, _flag_b)) goto L_36094875; /* 0x36094859: jbe 0x36094875 */ 9710 L_3609485B: 9711 PUSH32(esp, ebx); /* 0x3609485B: push ebx */ 9712 ebx = MEM32(ebp + 0x10); /* 0x3609485C: mov ebx, dword ptr [ebp + 0x10] */ 9713 PUSH32(esp, esi); /* 0x3609485F: push esi */ 9714 esi = MEM32(ebp + 0x8); /* 0x36094860: mov esi, dword ptr [ebp + 8] */ 9715 L_36094863: 9716 PUSH32(esp, ebx); /* 0x36094863: push ebx */ 9717 PUSH32(esp, esi); /* 0x36094864: push esi */ 9718 RECOMP_ICALL(0x36094960u); /* 0x36094865: call 0x36094960 */ /* not lifted */ 9719 RECOMP_FLAGS_IN(); 9720 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 9721 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9722 esp = esp + 8; /* 0x3609486A: add esp, 8 */ 9723 _flag_k = FK_ADD; 9724 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(0x10u); 9725 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9726 esi = esi + 0x10u; /* 0x3609486D: add esi, 0x10 */ 9727 _flag_k = FK_ADD; 9728 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 9729 edi = edi - 1; /* 0x36094870: dec edi */ 9730 _flag_k = FK_DEC; 9731 RECOMP_BACKEDGE(); 9732 if (/* dec result */ CMP_NE(_flag_a, _flag_b)) goto L_36094863; /* 0x36094871: jne 0x36094863 */ 9733 L_36094873: 9734 esi = POP32_VAL(esp); /* 0x36094873: pop esi */ 9735 ebx = POP32_VAL(esp); /* 0x36094874: pop ebx */ 9736 L_36094875: 9737 edi = POP32_VAL(esp); /* 0x36094875: pop edi */ 9738 ebp = POP32_VAL(esp); /* 0x36094876: pop ebp */ 9739 RECOMP_FLAGS_OUT(); esp += 16; { RECOMP_REGS_OUT(); return; } /* 0x36094877: ret 0xc */ 9740 RECOMP_REGS_OUT(); 9741 } 9742 9743 void sub_36094880(void) { 9744 int _fpu_cmp = 0; 9745 uint32_t _cf = 0; 9746 int _df = 1; 9747 uint32_t _flag_k = FK_NONE; 9748 uint32_t _flag_a = 0, _flag_b = 0; 9749 uint32_t _itail_tgt = 0; 9750 RECOMP_REGS_LOCALS 9751 RECOMP_ENTER(0x36094880u); 9752 9753 L_36094880: 9754 PUSH32(esp, ebp); /* 0x36094880: push ebp */ 9755 ebp = esp; /* 0x36094881: mov ebp, esp */ 9756 PUSH32(esp, 0x1Cu); /* 0x36094883: push 0x1c */ 9757 RECOMP_ICALL(0x3615FD6Au); /* 0x36094885: call 0x3615fd6a */ /* not lifted */ 9758 RECOMP_FLAGS_IN(); 9759 ecx = MEM32(ebp + 0x8); /* 0x3609488A: mov ecx, dword ptr [ebp + 8] */ 9760 SET_LO8(edx, MEM8(ebp + 0xC)); /* 0x3609488D: mov dl, byte ptr [ebp + 0xc] */ 9761 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 9762 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9763 esp = esp + 4; /* 0x36094890: add esp, 4 */ 9764 _flag_k = FK_ADD; 9765 MEM32(eax + 0x4) = ecx; /* 0x36094893: mov dword ptr [eax + 4], ecx */ 9766 MEM8(eax + 0x18) = (uint8_t)(LO8(edx)); /* 0x36094896: mov byte ptr [eax + 0x18], dl */ 9767 MEM8(eax + 0x19) = (uint8_t)(0); /* 0x36094899: mov byte ptr [eax + 0x19], 0 */ 9768 ebp = POP32_VAL(esp); /* 0x3609489D: pop ebp */ 9769 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x3609489E: ret 8 */ 9770 RECOMP_REGS_OUT(); 9771 } 9772 9773 void sub_360948B0(void) { 9774 int _fpu_cmp = 0; 9775 uint32_t _cf = 0; 9776 int _df = 1; 9777 uint32_t _flag_k = FK_NONE; 9778 uint32_t _flag_a = 0, _flag_b = 0; 9779 uint32_t _itail_tgt = 0; 9780 RECOMP_REGS_LOCALS 9781 RECOMP_ENTER(0x360948B0u); 9782 9783 L_360948B0: 9784 PUSH32(esp, ebp); /* 0x360948B0: push ebp */ 9785 ebp = esp; /* 0x360948B1: mov ebp, esp */ 9786 ecx = MEM32(ebp + 0x8); /* 0x360948B3: mov ecx, dword ptr [ebp + 8] */ 9787 edx = MEM32(ebp + 0xC); /* 0x360948B6: mov edx, dword ptr [ebp + 0xc] */ 9788 /* cmp ecx, edx */ /* 0x360948B9: cmp ecx, edx */ 9789 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 9790 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9791 _flag_k = FK_CMP; 9792 if (CMP_EQ(_flag_a, _flag_b)) goto L_360948EC; /* 0x360948BB: je 0x360948ec */ 9793 L_360948BD: 9794 eax = MEM32(ebp + 0x10); /* 0x360948BD: mov eax, dword ptr [ebp + 0x10] */ 9795 PUSH32(esp, ebx); /* 0x360948C0: push ebx */ 9796 PUSH32(esp, esi); /* 0x360948C1: push esi */ 9797 PUSH32(esp, edi); /* 0x360948C2: push edi */ 9798 L_360948C3: 9799 esi = ecx; /* 0x360948C3: mov esi, ecx */ 9800 ebx = MEM32(esi); /* 0x360948C5: mov ebx, dword ptr [esi] */ 9801 edi = eax; /* 0x360948C7: mov edi, eax */ 9802 MEM32(edi) = ebx; /* 0x360948C9: mov dword ptr [edi], ebx */ 9803 ebx = MEM32(esi + 0x4); /* 0x360948CB: mov ebx, dword ptr [esi + 4] */ 9804 MEM32(edi + 0x4) = ebx; /* 0x360948CE: mov dword ptr [edi + 4], ebx */ 9805 ebx = MEM32(esi + 0x8); /* 0x360948D1: mov ebx, dword ptr [esi + 8] */ 9806 MEM32(edi + 0x8) = ebx; /* 0x360948D4: mov dword ptr [edi + 8], ebx */ 9807 esi = MEM32(esi + 0xC); /* 0x360948D7: mov esi, dword ptr [esi + 0xc] */ 9808 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x10u); 9809 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9810 ecx = ecx + 0x10u; /* 0x360948DA: add ecx, 0x10 */ 9811 _flag_k = FK_ADD; 9812 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(0x10u); 9813 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 9814 eax = eax + 0x10u; /* 0x360948DD: add eax, 0x10 */ 9815 _flag_k = FK_ADD; 9816 /* cmp ecx, edx */ /* 0x360948E0: cmp ecx, edx */ 9817 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(edx); 9818 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9819 _flag_k = FK_CMP; 9820 MEM32(edi + 0xC) = esi; /* 0x360948E2: mov dword ptr [edi + 0xc], esi */ 9821 RECOMP_BACKEDGE(); 9822 if (CMP_NE(_flag_a, _flag_b)) goto L_360948C3; /* 0x360948E5: jne 0x360948c3 */ 9823 L_360948E7: 9824 edi = POP32_VAL(esp); /* 0x360948E7: pop edi */ 9825 esi = POP32_VAL(esp); /* 0x360948E8: pop esi */ 9826 ebx = POP32_VAL(esp); /* 0x360948E9: pop ebx */ 9827 ebp = POP32_VAL(esp); /* 0x360948EA: pop ebp */ 9828 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360948EB: ret */ 9829 L_360948EC: 9830 eax = MEM32(ebp + 0x10); /* 0x360948EC: mov eax, dword ptr [ebp + 0x10] */ 9831 ebp = POP32_VAL(esp); /* 0x360948EF: pop ebp */ 9832 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360948F0: ret */ 9833 RECOMP_REGS_OUT(); 9834 } 9835 9836 void sub_36094900(void) { 9837 int _fpu_cmp = 0; 9838 uint32_t _cf = 0; 9839 int _df = 1; 9840 uint32_t _flag_k = FK_NONE; 9841 uint32_t _flag_a = 0, _flag_b = 0; 9842 uint32_t _itail_tgt = 0; 9843 RECOMP_REGS_LOCALS 9844 RECOMP_ENTER(0x36094900u); 9845 9846 L_36094900: 9847 PUSH32(esp, ebp); /* 0x36094900: push ebp */ 9848 ebp = esp; /* 0x36094901: mov ebp, esp */ 9849 eax = MEM32(ebp + 0x8); /* 0x36094903: mov eax, dword ptr [ebp + 8] */ 9850 PUSH32(esp, esi); /* 0x36094906: push esi */ 9851 esi = MEM32(ebp + 0xC); /* 0x36094907: mov esi, dword ptr [ebp + 0xc] */ 9852 /* cmp eax, esi */ /* 0x3609490A: cmp eax, esi */ 9853 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 9854 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9855 _flag_k = FK_CMP; 9856 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094952; /* 0x3609490C: je 0x36094952 */ 9857 L_3609490E: 9858 edx = MEM32(ebp + 0x10); /* 0x3609490E: mov edx, dword ptr [ebp + 0x10] */ 9859 PUSH32(esp, ebx); /* 0x36094911: push ebx */ 9860 L_36094912: 9861 _flag_a = (uint32_t)(MEM32(edx)); _flag_b = (uint32_t)(1); 9862 MEM32(edx) = MEM32(edx) + 1; /* 0x36094912: inc dword ptr [edx] */ 9863 _flag_k = FK_INC; 9864 ecx = MEM32(eax + 0x8); /* 0x36094914: mov ecx, dword ptr [eax + 8] */ 9865 SET_LO8(ebx, MEM8(ecx + 0x19)); /* 0x36094917: mov bl, byte ptr [ecx + 0x19] */ 9866 /* test LO8(ebx), LO8(ebx) */ /* 0x3609491A: test bl, bl */ 9867 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9868 _cf = 0; 9869 _flag_k = FK_NARROW(FK_TEST, 24); 9870 if (TEST_NZ(_flag_a, _flag_b)) goto L_36094934; /* 0x3609491C: jne 0x36094934 */ 9871 L_3609491E: 9872 eax = MEM32(ecx); /* 0x3609491E: mov eax, dword ptr [ecx] */ 9873 SET_LO8(ebx, MEM8(eax + 0x19)); /* 0x36094920: mov bl, byte ptr [eax + 0x19] */ 9874 /* test LO8(ebx), LO8(ebx) */ /* 0x36094923: test bl, bl */ 9875 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9876 _cf = 0; 9877 _flag_k = FK_NARROW(FK_TEST, 24); 9878 if (TEST_NZ(_flag_a, _flag_b)) goto L_3609494B; /* 0x36094925: jne 0x3609494b */ 9879 L_36094927: 9880 ecx = eax; /* 0x36094927: mov ecx, eax */ 9881 eax = MEM32(ecx); /* 0x36094929: mov eax, dword ptr [ecx] */ 9882 SET_LO8(ebx, MEM8(eax + 0x19)); /* 0x3609492B: mov bl, byte ptr [eax + 0x19] */ 9883 /* test LO8(ebx), LO8(ebx) */ /* 0x3609492E: test bl, bl */ 9884 _flag_a = (uint32_t)(LO8(ebx)) << 24; _flag_b = (uint32_t)(LO8(ebx)) << 24; 9885 _cf = 0; 9886 _flag_k = FK_NARROW(FK_TEST, 24); 9887 RECOMP_BACKEDGE(); 9888 if (TEST_Z(_flag_a, _flag_b)) goto L_36094927; /* 0x36094930: je 0x36094927 */ 9889 L_36094932: 9890 goto L_3609494B; /* 0x36094932: jmp 0x3609494b */ 9891 L_36094934: 9892 ecx = MEM32(eax + 0x4); /* 0x36094934: mov ecx, dword ptr [eax + 4] */ 9893 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x36094937: cmp eax, dword ptr [ecx + 8] */ 9894 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 9895 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9896 _flag_k = FK_CMP; 9897 if (CMP_NE(_flag_a, _flag_b)) goto L_36094946; /* 0x3609493A: jne 0x36094946 */ 9898 L_3609493C: 9899 eax = ecx; /* 0x3609493C: mov eax, ecx */ 9900 ecx = MEM32(ecx + 0x4); /* 0x3609493E: mov ecx, dword ptr [ecx + 4] */ 9901 /* cmp eax, MEM32(ecx + 0x8) */ /* 0x36094941: cmp eax, dword ptr [ecx + 8] */ 9902 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(ecx + 0x8)); 9903 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9904 _flag_k = FK_CMP; 9905 RECOMP_BACKEDGE(); 9906 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609493C; /* 0x36094944: je 0x3609493c */ 9907 L_36094946: 9908 /* cmp MEM32(eax + 0x8), ecx */ /* 0x36094946: cmp dword ptr [eax + 8], ecx */ 9909 _flag_a = (uint32_t)(MEM32(eax + 0x8)); _flag_b = (uint32_t)(ecx); 9910 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9911 _flag_k = FK_CMP; 9912 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609494D; /* 0x36094949: je 0x3609494d */ 9913 L_3609494B: 9914 eax = ecx; /* 0x3609494B: mov eax, ecx */ 9915 L_3609494D: 9916 /* cmp eax, esi */ /* 0x3609494D: cmp eax, esi */ 9917 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 9918 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9919 _flag_k = FK_CMP; 9920 RECOMP_BACKEDGE(); 9921 if (CMP_NE(_flag_a, _flag_b)) goto L_36094912; /* 0x3609494F: jne 0x36094912 */ 9922 L_36094951: 9923 ebx = POP32_VAL(esp); /* 0x36094951: pop ebx */ 9924 L_36094952: 9925 esi = POP32_VAL(esp); /* 0x36094952: pop esi */ 9926 ebp = POP32_VAL(esp); /* 0x36094953: pop ebp */ 9927 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094954: ret */ 9928 RECOMP_REGS_OUT(); 9929 } 9930 9931 void sub_36094960(void) { 9932 int _fpu_cmp = 0; 9933 uint32_t _cf = 0; 9934 int _df = 1; 9935 uint32_t _flag_k = FK_NONE; 9936 uint32_t _flag_a = 0, _flag_b = 0; 9937 uint32_t _itail_tgt = 0; 9938 RECOMP_REGS_LOCALS 9939 RECOMP_ENTER(0x36094960u); 9940 9941 L_36094960: 9942 PUSH32(esp, ebp); /* 0x36094960: push ebp */ 9943 ebp = esp; /* 0x36094961: mov ebp, esp */ 9944 eax = MEM32(ebp + 0x8); /* 0x36094963: mov eax, dword ptr [ebp + 8] */ 9945 /* test eax, eax */ /* 0x36094966: test eax, eax */ 9946 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 9947 _cf = 0; 9948 _flag_k = FK_TEST; 9949 if (TEST_Z(_flag_a, _flag_b)) goto L_36094987; /* 0x36094968: je 0x36094987 */ 9950 L_3609496A: 9951 ecx = MEM32(ebp + 0xC); /* 0x3609496A: mov ecx, dword ptr [ebp + 0xc] */ 9952 /* cmp eax, ecx */ /* 0x3609496D: cmp eax, ecx */ 9953 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 9954 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 9955 _flag_k = FK_CMP; 9956 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609497B; /* 0x3609496F: je 0x3609497b */ 9957 L_36094971: 9958 edx = MEM32(ecx); /* 0x36094971: mov edx, dword ptr [ecx] */ 9959 MEM32(eax) = edx; /* 0x36094973: mov dword ptr [eax], edx */ 9960 edx = MEM32(ecx + 0x4); /* 0x36094975: mov edx, dword ptr [ecx + 4] */ 9961 MEM32(eax + 0x4) = edx; /* 0x36094978: mov dword ptr [eax + 4], edx */ 9962 L_3609497B: 9963 edx = MEM32(ecx + 0x8); /* 0x3609497B: mov edx, dword ptr [ecx + 8] */ 9964 MEM32(eax + 0x8) = edx; /* 0x3609497E: mov dword ptr [eax + 8], edx */ 9965 SET_LO8(ecx, MEM8(ecx + 0xC)); /* 0x36094981: mov cl, byte ptr [ecx + 0xc] */ 9966 MEM8(eax + 0xC) = (uint8_t)(LO8(ecx)); /* 0x36094984: mov byte ptr [eax + 0xc], cl */ 9967 L_36094987: 9968 ebp = POP32_VAL(esp); /* 0x36094987: pop ebp */ 9969 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094988: ret */ 9970 RECOMP_REGS_OUT(); 9971 } 9972 9973 void sub_36094990(void) { 9974 int _fpu_cmp = 0; 9975 uint32_t _cf = 0; 9976 int _df = 1; 9977 uint32_t _flag_k = FK_NONE; 9978 uint32_t _flag_a = 0, _flag_b = 0; 9979 uint32_t _itail_tgt = 0; 9980 RECOMP_REGS_LOCALS 9981 RECOMP_ENTER(0x36094990u); 9982 9983 L_36094990: 9984 PUSH32(esp, ebp); /* 0x36094990: push ebp */ 9985 ebp = esp; /* 0x36094991: mov ebp, esp */ 9986 PUSH32(esp, edi); /* 0x36094993: push edi */ 9987 edi = MEM32(ebp + 0x8); /* 0x36094994: mov edi, dword ptr [ebp + 8] */ 9988 /* test edi, edi */ /* 0x36094997: test edi, edi */ 9989 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 9990 _cf = 0; 9991 _flag_k = FK_TEST; 9992 if (TEST_Z(_flag_a, _flag_b)) goto L_360949A7; /* 0x36094999: je 0x360949a7 */ 9993 L_3609499B: 9994 PUSH32(esp, esi); /* 0x3609499B: push esi */ 9995 esi = MEM32(ebp + 0xC); /* 0x3609499C: mov esi, dword ptr [ebp + 0xc] */ 9996 ecx = 6; /* 0x3609499F: mov ecx, 6 */ 9997 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x360949A4: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 9998 esi = POP32_VAL(esp); /* 0x360949A6: pop esi */ 9999 L_360949A7: 10000 edi = POP32_VAL(esp); /* 0x360949A7: pop edi */ 10001 ebp = POP32_VAL(esp); /* 0x360949A8: pop ebp */ 10002 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360949A9: ret */ 10003 RECOMP_REGS_OUT(); 10004 } 10005 10006 void sub_360949B0(void) { 10007 int _fpu_cmp = 0; 10008 uint32_t _cf = 0; 10009 int _df = 1; 10010 uint32_t _flag_k = FK_NONE; 10011 uint32_t _flag_a = 0, _flag_b = 0; 10012 uint32_t _itail_tgt = 0; 10013 RECOMP_REGS_LOCALS 10014 RECOMP_ENTER(0x360949B0u); 10015 10016 L_360949B0: 10017 PUSH32(esp, ebp); /* 0x360949B0: push ebp */ 10018 ebp = esp; /* 0x360949B1: mov ebp, esp */ 10019 PUSH32(esp, esi); /* 0x360949B3: push esi */ 10020 esi = ecx; /* 0x360949B4: mov esi, ecx */ 10021 RECOMP_ICALL(0x3610BA00u); /* 0x360949B6: call 0x3610ba00 */ /* not lifted */ 10022 RECOMP_FLAGS_IN(); 10023 /* test MEM8(ebp + 0x8), 1 */ /* 0x360949BB: test byte ptr [ebp + 8], 1 */ 10024 _flag_a = (uint32_t)(MEM8(ebp + 0x8)) << 24; _flag_b = (uint32_t)(1) << 24; 10025 _cf = 0; 10026 _flag_k = FK_NARROW(FK_TEST, 24); 10027 if (TEST_Z(_flag_a, _flag_b)) goto L_360949CA; /* 0x360949BF: je 0x360949ca */ 10028 L_360949C1: 10029 PUSH32(esp, esi); /* 0x360949C1: push esi */ 10030 RECOMP_ICALL(0x3615FCC4u); /* 0x360949C2: call 0x3615fcc4 */ /* not lifted */ 10031 RECOMP_FLAGS_IN(); 10032 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10033 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10034 esp = esp + 4; /* 0x360949C7: add esp, 4 */ 10035 _flag_k = FK_ADD; 10036 L_360949CA: 10037 eax = esi; /* 0x360949CA: mov eax, esi */ 10038 esi = POP32_VAL(esp); /* 0x360949CC: pop esi */ 10039 ebp = POP32_VAL(esp); /* 0x360949CD: pop ebp */ 10040 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x360949CE: ret 4 */ 10041 RECOMP_REGS_OUT(); 10042 } 10043 10044 void sub_360949E0(void) { 10045 int _fpu_cmp = 0; 10046 uint32_t _cf = 0; 10047 int _df = 1; 10048 uint32_t _flag_k = FK_NONE; 10049 uint32_t _flag_a = 0, _flag_b = 0; 10050 uint32_t _itail_tgt = 0; 10051 RECOMP_REGS_LOCALS 10052 RECOMP_ENTER(0x360949E0u); 10053 10054 L_360949E0: 10055 goto L_360949F0; /* 0x360949E0: jmp 0x360949f0 */ 10056 L_360949F0: 10057 MEM32(0x36306BD0) = 0x361B2FF4u; /* 0x360949F0: mov dword ptr [0x36306bd0], 0x361b2ff4 */ 10058 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360949FA: ret */ 10059 RECOMP_REGS_OUT(); 10060 } 10061 10062 void sub_360949F0(void) { 10063 int _fpu_cmp = 0; 10064 uint32_t _cf = 0; 10065 int _df = 1; 10066 uint32_t _flag_k = FK_NONE; 10067 uint32_t _flag_a = 0, _flag_b = 0; 10068 uint32_t _itail_tgt = 0; 10069 RECOMP_REGS_LOCALS 10070 RECOMP_ENTER(0x360949F0u); 10071 10072 L_360949F0: 10073 MEM32(0x36306BD0) = 0x361B2FF4u; /* 0x360949F0: mov dword ptr [0x36306bd0], 0x361b2ff4 */ 10074 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x360949FA: ret */ 10075 RECOMP_REGS_OUT(); 10076 } 10077 10078 void sub_36094A00(void) { 10079 int _fpu_cmp = 0; 10080 uint32_t _cf = 0; 10081 int _df = 1; 10082 uint32_t _flag_k = FK_NONE; 10083 uint32_t _flag_a = 0, _flag_b = 0; 10084 uint32_t _itail_tgt = 0; 10085 RECOMP_REGS_LOCALS 10086 RECOMP_ENTER(0x36094A00u); 10087 10088 L_36094A00: 10089 goto L_36094A10; /* 0x36094A00: jmp 0x36094a10 */ 10090 L_36094A10: 10091 MEM32(0x36306BCC) = 0x361B3028u; /* 0x36094A10: mov dword ptr [0x36306bcc], 0x361b3028 */ 10092 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094A1A: ret */ 10093 RECOMP_REGS_OUT(); 10094 } 10095 10096 void sub_36094A10(void) { 10097 int _fpu_cmp = 0; 10098 uint32_t _cf = 0; 10099 int _df = 1; 10100 uint32_t _flag_k = FK_NONE; 10101 uint32_t _flag_a = 0, _flag_b = 0; 10102 uint32_t _itail_tgt = 0; 10103 RECOMP_REGS_LOCALS 10104 RECOMP_ENTER(0x36094A10u); 10105 10106 L_36094A10: 10107 MEM32(0x36306BCC) = 0x361B3028u; /* 0x36094A10: mov dword ptr [0x36306bcc], 0x361b3028 */ 10108 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094A1A: ret */ 10109 RECOMP_REGS_OUT(); 10110 } 10111 10112 void sub_36094A20(void) { 10113 int _fpu_cmp = 0; 10114 uint32_t _cf = 0; 10115 int _df = 1; 10116 uint32_t _flag_k = FK_NONE; 10117 uint32_t _flag_a = 0, _flag_b = 0; 10118 uint32_t _itail_tgt = 0; 10119 RECOMP_REGS_LOCALS 10120 RECOMP_ENTER(0x36094A20u); 10121 10122 L_36094A20: 10123 goto L_36094A30; /* 0x36094A20: jmp 0x36094a30 */ 10124 L_36094A30: 10125 MEM32(0x36306BC8) = 0x361B3064u; /* 0x36094A30: mov dword ptr [0x36306bc8], 0x361b3064 */ 10126 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094A3A: ret */ 10127 RECOMP_REGS_OUT(); 10128 } 10129 10130 void sub_36094A30(void) { 10131 int _fpu_cmp = 0; 10132 uint32_t _cf = 0; 10133 int _df = 1; 10134 uint32_t _flag_k = FK_NONE; 10135 uint32_t _flag_a = 0, _flag_b = 0; 10136 uint32_t _itail_tgt = 0; 10137 RECOMP_REGS_LOCALS 10138 RECOMP_ENTER(0x36094A30u); 10139 10140 L_36094A30: 10141 MEM32(0x36306BC8) = 0x361B3064u; /* 0x36094A30: mov dword ptr [0x36306bc8], 0x361b3064 */ 10142 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094A3A: ret */ 10143 RECOMP_REGS_OUT(); 10144 } 10145 10146 void sub_36094A40(void) { 10147 int _fpu_cmp = 0; 10148 uint32_t _cf = 0; 10149 int _df = 1; 10150 uint32_t _flag_k = FK_NONE; 10151 uint32_t _flag_a = 0, _flag_b = 0; 10152 uint32_t _itail_tgt = 0; 10153 RECOMP_REGS_LOCALS 10154 RECOMP_ENTER(0x36094A40u); 10155 10156 L_36094A40: 10157 goto L_36094A50; /* 0x36094A40: jmp 0x36094a50 */ 10158 L_36094A50: 10159 MEM32(0x36306BC4) = 0x361B3098u; /* 0x36094A50: mov dword ptr [0x36306bc4], 0x361b3098 */ 10160 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094A5A: ret */ 10161 RECOMP_REGS_OUT(); 10162 } 10163 10164 void sub_36094A50(void) { 10165 int _fpu_cmp = 0; 10166 uint32_t _cf = 0; 10167 int _df = 1; 10168 uint32_t _flag_k = FK_NONE; 10169 uint32_t _flag_a = 0, _flag_b = 0; 10170 uint32_t _itail_tgt = 0; 10171 RECOMP_REGS_LOCALS 10172 RECOMP_ENTER(0x36094A50u); 10173 10174 L_36094A50: 10175 MEM32(0x36306BC4) = 0x361B3098u; /* 0x36094A50: mov dword ptr [0x36306bc4], 0x361b3098 */ 10176 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094A5A: ret */ 10177 RECOMP_REGS_OUT(); 10178 } 10179 10180 void sub_36094A60(void) { 10181 int _fpu_cmp = 0; 10182 uint32_t _cf = 0; 10183 int _df = 1; 10184 uint32_t _flag_k = FK_NONE; 10185 uint32_t _flag_a = 0, _flag_b = 0; 10186 uint32_t _itail_tgt = 0; 10187 RECOMP_REGS_LOCALS 10188 RECOMP_ENTER(0x36094A60u); 10189 10190 L_36094A60: 10191 goto L_36094A70; /* 0x36094A60: jmp 0x36094a70 */ 10192 L_36094A70: 10193 MEM32(0x36306BC0) = 0x361B30CCu; /* 0x36094A70: mov dword ptr [0x36306bc0], 0x361b30cc */ 10194 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094A7A: ret */ 10195 RECOMP_REGS_OUT(); 10196 } 10197 10198 void sub_36094A70(void) { 10199 int _fpu_cmp = 0; 10200 uint32_t _cf = 0; 10201 int _df = 1; 10202 uint32_t _flag_k = FK_NONE; 10203 uint32_t _flag_a = 0, _flag_b = 0; 10204 uint32_t _itail_tgt = 0; 10205 RECOMP_REGS_LOCALS 10206 RECOMP_ENTER(0x36094A70u); 10207 10208 L_36094A70: 10209 MEM32(0x36306BC0) = 0x361B30CCu; /* 0x36094A70: mov dword ptr [0x36306bc0], 0x361b30cc */ 10210 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094A7A: ret */ 10211 RECOMP_REGS_OUT(); 10212 } 10213 10214 void sub_36094A80(void) { 10215 int _fpu_cmp = 0; 10216 uint32_t _cf = 0; 10217 int _df = 1; 10218 uint32_t _flag_k = FK_NONE; 10219 uint32_t _flag_a = 0, _flag_b = 0; 10220 uint32_t _itail_tgt = 0; 10221 RECOMP_REGS_LOCALS 10222 RECOMP_ENTER(0x36094A80u); 10223 10224 L_36094A80: 10225 goto L_36094A90; /* 0x36094A80: jmp 0x36094a90 */ 10226 L_36094A90: 10227 MEM32(0x36306BBC) = 0x361B3100u; /* 0x36094A90: mov dword ptr [0x36306bbc], 0x361b3100 */ 10228 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094A9A: ret */ 10229 RECOMP_REGS_OUT(); 10230 } 10231 10232 void sub_36094A90(void) { 10233 int _fpu_cmp = 0; 10234 uint32_t _cf = 0; 10235 int _df = 1; 10236 uint32_t _flag_k = FK_NONE; 10237 uint32_t _flag_a = 0, _flag_b = 0; 10238 uint32_t _itail_tgt = 0; 10239 RECOMP_REGS_LOCALS 10240 RECOMP_ENTER(0x36094A90u); 10241 10242 L_36094A90: 10243 MEM32(0x36306BBC) = 0x361B3100u; /* 0x36094A90: mov dword ptr [0x36306bbc], 0x361b3100 */ 10244 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094A9A: ret */ 10245 RECOMP_REGS_OUT(); 10246 } 10247 10248 void sub_36094AA0(void) { 10249 int _fpu_cmp = 0; 10250 uint32_t _cf = 0; 10251 int _df = 1; 10252 uint32_t _flag_k = FK_NONE; 10253 uint32_t _flag_a = 0, _flag_b = 0; 10254 uint32_t _itail_tgt = 0; 10255 RECOMP_REGS_LOCALS 10256 RECOMP_ENTER(0x36094AA0u); 10257 10258 L_36094AA0: 10259 goto L_36094AB0; /* 0x36094AA0: jmp 0x36094ab0 */ 10260 L_36094AB0: 10261 MEM32(0x36306BB8) = 0x361B3138u; /* 0x36094AB0: mov dword ptr [0x36306bb8], 0x361b3138 */ 10262 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094ABA: ret */ 10263 RECOMP_REGS_OUT(); 10264 } 10265 10266 void sub_36094AB0(void) { 10267 int _fpu_cmp = 0; 10268 uint32_t _cf = 0; 10269 int _df = 1; 10270 uint32_t _flag_k = FK_NONE; 10271 uint32_t _flag_a = 0, _flag_b = 0; 10272 uint32_t _itail_tgt = 0; 10273 RECOMP_REGS_LOCALS 10274 RECOMP_ENTER(0x36094AB0u); 10275 10276 L_36094AB0: 10277 MEM32(0x36306BB8) = 0x361B3138u; /* 0x36094AB0: mov dword ptr [0x36306bb8], 0x361b3138 */ 10278 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094ABA: ret */ 10279 RECOMP_REGS_OUT(); 10280 } 10281 10282 void sub_36094AC0(void) { 10283 int _fpu_cmp = 0; 10284 uint32_t _cf = 0; 10285 int _df = 1; 10286 uint32_t _flag_k = FK_NONE; 10287 uint32_t _flag_a = 0, _flag_b = 0; 10288 uint32_t _itail_tgt = 0; 10289 RECOMP_REGS_LOCALS 10290 RECOMP_ENTER(0x36094AC0u); 10291 10292 L_36094AC0: 10293 goto L_36094AD0; /* 0x36094AC0: jmp 0x36094ad0 */ 10294 L_36094AD0: 10295 MEM32(0x36306BB4) = 0x361B57A8u; /* 0x36094AD0: mov dword ptr [0x36306bb4], 0x361b57a8 */ 10296 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094ADA: ret */ 10297 RECOMP_REGS_OUT(); 10298 } 10299 10300 void sub_36094AD0(void) { 10301 int _fpu_cmp = 0; 10302 uint32_t _cf = 0; 10303 int _df = 1; 10304 uint32_t _flag_k = FK_NONE; 10305 uint32_t _flag_a = 0, _flag_b = 0; 10306 uint32_t _itail_tgt = 0; 10307 RECOMP_REGS_LOCALS 10308 RECOMP_ENTER(0x36094AD0u); 10309 10310 L_36094AD0: 10311 MEM32(0x36306BB4) = 0x361B57A8u; /* 0x36094AD0: mov dword ptr [0x36306bb4], 0x361b57a8 */ 10312 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094ADA: ret */ 10313 RECOMP_REGS_OUT(); 10314 } 10315 10316 void sub_36094AE0(void) { 10317 int _fpu_cmp = 0; 10318 uint32_t _cf = 0; 10319 int _df = 1; 10320 uint32_t _flag_k = FK_NONE; 10321 uint32_t _flag_a = 0, _flag_b = 0; 10322 uint32_t _itail_tgt = 0; 10323 RECOMP_REGS_LOCALS 10324 RECOMP_ENTER(0x36094AE0u); 10325 10326 L_36094AE0: 10327 goto L_36094AF0; /* 0x36094AE0: jmp 0x36094af0 */ 10328 L_36094AF0: 10329 MEM32(0x36306BB0) = 0x361B57E0u; /* 0x36094AF0: mov dword ptr [0x36306bb0], 0x361b57e0 */ 10330 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094AFA: ret */ 10331 RECOMP_REGS_OUT(); 10332 } 10333 10334 void sub_36094AF0(void) { 10335 int _fpu_cmp = 0; 10336 uint32_t _cf = 0; 10337 int _df = 1; 10338 uint32_t _flag_k = FK_NONE; 10339 uint32_t _flag_a = 0, _flag_b = 0; 10340 uint32_t _itail_tgt = 0; 10341 RECOMP_REGS_LOCALS 10342 RECOMP_ENTER(0x36094AF0u); 10343 10344 L_36094AF0: 10345 MEM32(0x36306BB0) = 0x361B57E0u; /* 0x36094AF0: mov dword ptr [0x36306bb0], 0x361b57e0 */ 10346 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094AFA: ret */ 10347 RECOMP_REGS_OUT(); 10348 } 10349 10350 void sub_36094B00(void) { 10351 int _fpu_cmp = 0; 10352 uint32_t _cf = 0; 10353 int _df = 1; 10354 uint32_t _flag_k = FK_NONE; 10355 uint32_t _flag_a = 0, _flag_b = 0; 10356 uint32_t _itail_tgt = 0; 10357 RECOMP_REGS_LOCALS 10358 RECOMP_ENTER(0x36094B00u); 10359 10360 L_36094B00: 10361 goto L_36094B10; /* 0x36094B00: jmp 0x36094b10 */ 10362 L_36094B10: 10363 MEM32(0x36306BAC) = 0x361B5814u; /* 0x36094B10: mov dword ptr [0x36306bac], 0x361b5814 */ 10364 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094B1A: ret */ 10365 RECOMP_REGS_OUT(); 10366 } 10367 10368 void sub_36094B10(void) { 10369 int _fpu_cmp = 0; 10370 uint32_t _cf = 0; 10371 int _df = 1; 10372 uint32_t _flag_k = FK_NONE; 10373 uint32_t _flag_a = 0, _flag_b = 0; 10374 uint32_t _itail_tgt = 0; 10375 RECOMP_REGS_LOCALS 10376 RECOMP_ENTER(0x36094B10u); 10377 10378 L_36094B10: 10379 MEM32(0x36306BAC) = 0x361B5814u; /* 0x36094B10: mov dword ptr [0x36306bac], 0x361b5814 */ 10380 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094B1A: ret */ 10381 RECOMP_REGS_OUT(); 10382 } 10383 10384 void sub_36094B20(void) { 10385 int _fpu_cmp = 0; 10386 uint32_t _cf = 0; 10387 int _df = 1; 10388 uint32_t _flag_k = FK_NONE; 10389 uint32_t _flag_a = 0, _flag_b = 0; 10390 uint32_t _itail_tgt = 0; 10391 RECOMP_REGS_LOCALS 10392 RECOMP_ENTER(0x36094B20u); 10393 10394 L_36094B20: 10395 goto L_36094B30; /* 0x36094B20: jmp 0x36094b30 */ 10396 L_36094B30: 10397 MEM32(0x36306BA8) = 0x361B5850u; /* 0x36094B30: mov dword ptr [0x36306ba8], 0x361b5850 */ 10398 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094B3A: ret */ 10399 RECOMP_REGS_OUT(); 10400 } 10401 10402 void sub_36094B30(void) { 10403 int _fpu_cmp = 0; 10404 uint32_t _cf = 0; 10405 int _df = 1; 10406 uint32_t _flag_k = FK_NONE; 10407 uint32_t _flag_a = 0, _flag_b = 0; 10408 uint32_t _itail_tgt = 0; 10409 RECOMP_REGS_LOCALS 10410 RECOMP_ENTER(0x36094B30u); 10411 10412 L_36094B30: 10413 MEM32(0x36306BA8) = 0x361B5850u; /* 0x36094B30: mov dword ptr [0x36306ba8], 0x361b5850 */ 10414 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094B3A: ret */ 10415 RECOMP_REGS_OUT(); 10416 } 10417 10418 void sub_36094B40(void) { 10419 int _fpu_cmp = 0; 10420 uint32_t _cf = 0; 10421 int _df = 1; 10422 uint32_t _flag_k = FK_NONE; 10423 uint32_t _flag_a = 0, _flag_b = 0; 10424 uint32_t _itail_tgt = 0; 10425 RECOMP_REGS_LOCALS 10426 RECOMP_ENTER(0x36094B40u); 10427 10428 L_36094B40: 10429 goto L_36094B50; /* 0x36094B40: jmp 0x36094b50 */ 10430 L_36094B50: 10431 MEM32(0x36306BA4) = 0x361B5888u; /* 0x36094B50: mov dword ptr [0x36306ba4], 0x361b5888 */ 10432 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094B5A: ret */ 10433 RECOMP_REGS_OUT(); 10434 } 10435 10436 void sub_36094B50(void) { 10437 int _fpu_cmp = 0; 10438 uint32_t _cf = 0; 10439 int _df = 1; 10440 uint32_t _flag_k = FK_NONE; 10441 uint32_t _flag_a = 0, _flag_b = 0; 10442 uint32_t _itail_tgt = 0; 10443 RECOMP_REGS_LOCALS 10444 RECOMP_ENTER(0x36094B50u); 10445 10446 L_36094B50: 10447 MEM32(0x36306BA4) = 0x361B5888u; /* 0x36094B50: mov dword ptr [0x36306ba4], 0x361b5888 */ 10448 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094B5A: ret */ 10449 RECOMP_REGS_OUT(); 10450 } 10451 10452 void sub_36094B60(void) { 10453 int _fpu_cmp = 0; 10454 uint32_t _cf = 0; 10455 int _df = 1; 10456 uint32_t _flag_k = FK_NONE; 10457 uint32_t _flag_a = 0, _flag_b = 0; 10458 uint32_t _itail_tgt = 0; 10459 RECOMP_REGS_LOCALS 10460 RECOMP_ENTER(0x36094B60u); 10461 10462 L_36094B60: 10463 goto L_36094B70; /* 0x36094B60: jmp 0x36094b70 */ 10464 L_36094B70: 10465 MEM32(0x36306BA0) = 0x361B5908u; /* 0x36094B70: mov dword ptr [0x36306ba0], 0x361b5908 */ 10466 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094B7A: ret */ 10467 RECOMP_REGS_OUT(); 10468 } 10469 10470 void sub_36094B70(void) { 10471 int _fpu_cmp = 0; 10472 uint32_t _cf = 0; 10473 int _df = 1; 10474 uint32_t _flag_k = FK_NONE; 10475 uint32_t _flag_a = 0, _flag_b = 0; 10476 uint32_t _itail_tgt = 0; 10477 RECOMP_REGS_LOCALS 10478 RECOMP_ENTER(0x36094B70u); 10479 10480 L_36094B70: 10481 MEM32(0x36306BA0) = 0x361B5908u; /* 0x36094B70: mov dword ptr [0x36306ba0], 0x361b5908 */ 10482 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094B7A: ret */ 10483 RECOMP_REGS_OUT(); 10484 } 10485 10486 void sub_36094B80(void) { 10487 int _fpu_cmp = 0; 10488 uint32_t _cf = 0; 10489 int _df = 1; 10490 uint32_t _flag_k = FK_NONE; 10491 uint32_t _flag_a = 0, _flag_b = 0; 10492 uint32_t _itail_tgt = 0; 10493 RECOMP_REGS_LOCALS 10494 RECOMP_ENTER(0x36094B80u); 10495 10496 L_36094B80: 10497 goto L_36094B90; /* 0x36094B80: jmp 0x36094b90 */ 10498 L_36094B90: 10499 MEM32(0x36306B9C) = 0x361B5944u; /* 0x36094B90: mov dword ptr [0x36306b9c], 0x361b5944 */ 10500 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094B9A: ret */ 10501 RECOMP_REGS_OUT(); 10502 } 10503 10504 void sub_36094B90(void) { 10505 int _fpu_cmp = 0; 10506 uint32_t _cf = 0; 10507 int _df = 1; 10508 uint32_t _flag_k = FK_NONE; 10509 uint32_t _flag_a = 0, _flag_b = 0; 10510 uint32_t _itail_tgt = 0; 10511 RECOMP_REGS_LOCALS 10512 RECOMP_ENTER(0x36094B90u); 10513 10514 L_36094B90: 10515 MEM32(0x36306B9C) = 0x361B5944u; /* 0x36094B90: mov dword ptr [0x36306b9c], 0x361b5944 */ 10516 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094B9A: ret */ 10517 RECOMP_REGS_OUT(); 10518 } 10519 10520 void sub_36094BA0(void) { 10521 int _fpu_cmp = 0; 10522 uint32_t _cf = 0; 10523 int _df = 1; 10524 uint32_t _flag_k = FK_NONE; 10525 uint32_t _flag_a = 0, _flag_b = 0; 10526 uint32_t _itail_tgt = 0; 10527 RECOMP_REGS_LOCALS 10528 RECOMP_ENTER(0x36094BA0u); 10529 10530 L_36094BA0: 10531 goto L_36094BB0; /* 0x36094BA0: jmp 0x36094bb0 */ 10532 L_36094BB0: 10533 MEM32(0x36306B98) = 0x361B5978u; /* 0x36094BB0: mov dword ptr [0x36306b98], 0x361b5978 */ 10534 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094BBA: ret */ 10535 RECOMP_REGS_OUT(); 10536 } 10537 10538 void sub_36094BB0(void) { 10539 int _fpu_cmp = 0; 10540 uint32_t _cf = 0; 10541 int _df = 1; 10542 uint32_t _flag_k = FK_NONE; 10543 uint32_t _flag_a = 0, _flag_b = 0; 10544 uint32_t _itail_tgt = 0; 10545 RECOMP_REGS_LOCALS 10546 RECOMP_ENTER(0x36094BB0u); 10547 10548 L_36094BB0: 10549 MEM32(0x36306B98) = 0x361B5978u; /* 0x36094BB0: mov dword ptr [0x36306b98], 0x361b5978 */ 10550 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094BBA: ret */ 10551 RECOMP_REGS_OUT(); 10552 } 10553 10554 void sub_36094BC0(void) { 10555 int _fpu_cmp = 0; 10556 uint32_t _cf = 0; 10557 int _df = 1; 10558 uint32_t _flag_k = FK_NONE; 10559 uint32_t _flag_a = 0, _flag_b = 0; 10560 uint32_t _itail_tgt = 0; 10561 RECOMP_REGS_LOCALS 10562 RECOMP_ENTER(0x36094BC0u); 10563 10564 L_36094BC0: 10565 goto L_36094BD0; /* 0x36094BC0: jmp 0x36094bd0 */ 10566 L_36094BD0: 10567 MEM32(0x36306B94) = 0x361B59ACu; /* 0x36094BD0: mov dword ptr [0x36306b94], 0x361b59ac */ 10568 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094BDA: ret */ 10569 RECOMP_REGS_OUT(); 10570 } 10571 10572 void sub_36094BD0(void) { 10573 int _fpu_cmp = 0; 10574 uint32_t _cf = 0; 10575 int _df = 1; 10576 uint32_t _flag_k = FK_NONE; 10577 uint32_t _flag_a = 0, _flag_b = 0; 10578 uint32_t _itail_tgt = 0; 10579 RECOMP_REGS_LOCALS 10580 RECOMP_ENTER(0x36094BD0u); 10581 10582 L_36094BD0: 10583 MEM32(0x36306B94) = 0x361B59ACu; /* 0x36094BD0: mov dword ptr [0x36306b94], 0x361b59ac */ 10584 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094BDA: ret */ 10585 RECOMP_REGS_OUT(); 10586 } 10587 10588 void sub_36094BE0(void) { 10589 int _fpu_cmp = 0; 10590 uint32_t _cf = 0; 10591 int _df = 1; 10592 uint32_t _flag_k = FK_NONE; 10593 uint32_t _flag_a = 0, _flag_b = 0; 10594 uint32_t _itail_tgt = 0; 10595 RECOMP_REGS_LOCALS 10596 RECOMP_ENTER(0x36094BE0u); 10597 10598 L_36094BE0: 10599 RECOMP_ICALL(0x36094BF0u); /* 0x36094BE0: call 0x36094bf0 */ /* not lifted */ 10600 RECOMP_FLAGS_IN(); 10601 goto L_36094C10; /* 0x36094BE5: jmp 0x36094c10 */ 10602 L_36094C10: 10603 PUSH32(esp, 0x36094C20u); /* 0x36094C10: push 0x36094c20 */ 10604 RECOMP_ICALL(0x3615FEB2u); /* 0x36094C15: call 0x3615feb2 */ /* not lifted */ 10605 RECOMP_FLAGS_IN(); 10606 ecx = POP32_VAL(esp); /* 0x36094C1A: pop ecx */ 10607 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094C1B: ret */ 10608 RECOMP_REGS_OUT(); 10609 } 10610 10611 void sub_36094BF0(void) { 10612 int _fpu_cmp = 0; 10613 uint32_t _cf = 0; 10614 int _df = 1; 10615 uint32_t _flag_k = FK_NONE; 10616 uint32_t _flag_a = 0, _flag_b = 0; 10617 uint32_t _itail_tgt = 0; 10618 RECOMP_REGS_LOCALS 10619 RECOMP_ENTER(0x36094BF0u); 10620 10621 L_36094BF0: 10622 PUSH32(esp, ebp); /* 0x36094BF0: push ebp */ 10623 ebp = esp; /* 0x36094BF1: mov ebp, esp */ 10624 PUSH32(esp, ecx); /* 0x36094BF3: push ecx */ 10625 eax = ebp + (-0x1); /* 0x36094BF4: lea eax, [ebp - 1] */ 10626 PUSH32(esp, eax); /* 0x36094BF7: push eax */ 10627 ecx = ebp + (-0x2); /* 0x36094BF8: lea ecx, [ebp - 2] */ 10628 PUSH32(esp, ecx); /* 0x36094BFB: push ecx */ 10629 ecx = 0x36306B80u; /* 0x36094BFC: mov ecx, 0x36306b80 */ 10630 RECOMP_ICALL(0x360EFE70u); /* 0x36094C01: call 0x360efe70 */ /* not lifted */ 10631 RECOMP_FLAGS_IN(); 10632 esp = ebp; /* 0x36094C06: mov esp, ebp */ 10633 ebp = POP32_VAL(esp); /* 0x36094C08: pop ebp */ 10634 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094C09: ret */ 10635 RECOMP_REGS_OUT(); 10636 } 10637 10638 void sub_36094C10(void) { 10639 int _fpu_cmp = 0; 10640 uint32_t _cf = 0; 10641 int _df = 1; 10642 uint32_t _flag_k = FK_NONE; 10643 uint32_t _flag_a = 0, _flag_b = 0; 10644 uint32_t _itail_tgt = 0; 10645 RECOMP_REGS_LOCALS 10646 RECOMP_ENTER(0x36094C10u); 10647 10648 L_36094C10: 10649 PUSH32(esp, 0x36094C20u); /* 0x36094C10: push 0x36094c20 */ 10650 RECOMP_ICALL(0x3615FEB2u); /* 0x36094C15: call 0x3615feb2 */ /* not lifted */ 10651 RECOMP_FLAGS_IN(); 10652 ecx = POP32_VAL(esp); /* 0x36094C1A: pop ecx */ 10653 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094C1B: ret */ 10654 RECOMP_REGS_OUT(); 10655 } 10656 10657 void sub_36094C20(void) { 10658 int _fpu_cmp = 0; 10659 uint32_t _cf = 0; 10660 int _df = 1; 10661 uint32_t _flag_k = FK_NONE; 10662 uint32_t _flag_a = 0, _flag_b = 0; 10663 uint32_t _itail_tgt = 0; 10664 RECOMP_REGS_LOCALS 10665 RECOMP_ENTER(0x36094C20u); 10666 10667 L_36094C20: 10668 ecx = 0x36306B80u; /* 0x36094C20: mov ecx, 0x36306b80 */ 10669 goto L_36094C30; /* 0x36094C25: jmp 0x36094c30 */ 10670 L_36094C30: 10671 PUSH32(esp, ebp); /* 0x36094C30: push ebp */ 10672 ebp = esp; /* 0x36094C31: mov ebp, esp */ 10673 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 10674 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10675 esp = esp - 8; /* 0x36094C33: sub esp, 8 */ 10676 _flag_k = FK_CMP; 10677 PUSH32(esp, ebx); /* 0x36094C36: push ebx */ 10678 PUSH32(esp, esi); /* 0x36094C37: push esi */ 10679 esi = ecx; /* 0x36094C38: mov esi, ecx */ 10680 ecx = MEM32(esi + 0x10); /* 0x36094C3A: mov ecx, dword ptr [esi + 0x10] */ 10681 /* test ecx, ecx */ /* 0x36094C3D: test ecx, ecx */ 10682 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 10683 _cf = 0; 10684 _flag_k = FK_TEST; 10685 PUSH32(esp, edi); /* 0x36094C3F: push edi */ 10686 edi = MEM32(esi + 0x4); /* 0x36094C40: mov edi, dword ptr [esi + 4] */ 10687 eax = MEM32(edi); /* 0x36094C43: mov eax, dword ptr [edi] */ 10688 MEM32(ebp + (-0x4)) = eax; /* 0x36094C45: mov dword ptr [ebp - 4], eax */ 10689 if (TEST_Z(_flag_a, _flag_b)) goto L_36094CA5; /* 0x36094C48: je 0x36094ca5 */ 10690 L_36094C4A: 10691 ecx = eax; /* 0x36094C4A: mov ecx, eax */ 10692 /* cmp eax, ecx */ /* 0x36094C4C: cmp eax, ecx */ 10693 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10694 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10695 _flag_k = FK_CMP; 10696 if (CMP_NE(_flag_a, _flag_b)) goto L_36094CA5; /* 0x36094C4E: jne 0x36094ca5 */ 10697 L_36094C50: 10698 /* cmp edi, edi */ /* 0x36094C50: cmp edi, edi */ 10699 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 10700 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10701 _flag_k = FK_CMP; 10702 if (CMP_NE(_flag_a, _flag_b)) goto L_36094CA5; /* 0x36094C52: jne 0x36094ca5 */ 10703 L_36094C54: 10704 ebx = MEM32(edi + 0x4); /* 0x36094C54: mov ebx, dword ptr [edi + 4] */ 10705 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x36094C57: cmp ebx, dword ptr [esi + 8] */ 10706 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10707 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10708 _flag_k = FK_CMP; 10709 edi = ebx; /* 0x36094C5A: mov edi, ebx */ 10710 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094C7D; /* 0x36094C5C: je 0x36094c7d */ 10711 L_36094C5E: 10712 eax = MEM32(edi + 0x8); /* 0x36094C5E: mov eax, dword ptr [edi + 8] */ 10713 PUSH32(esp, eax); /* 0x36094C61: push eax */ 10714 ecx = esi; /* 0x36094C62: mov ecx, esi */ 10715 RECOMP_ICALL(0x36096560u); /* 0x36094C64: call 0x36096560 */ /* not lifted */ 10716 RECOMP_FLAGS_IN(); 10717 edi = MEM32(edi); /* 0x36094C69: mov edi, dword ptr [edi] */ 10718 PUSH32(esp, ebx); /* 0x36094C6B: push ebx */ 10719 RECOMP_ICALL(0x3615FCC4u); /* 0x36094C6C: call 0x3615fcc4 */ /* not lifted */ 10720 RECOMP_FLAGS_IN(); 10721 eax = MEM32(esi + 0x8); /* 0x36094C71: mov eax, dword ptr [esi + 8] */ 10722 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10723 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10724 esp = esp + 4; /* 0x36094C74: add esp, 4 */ 10725 _flag_k = FK_ADD; 10726 /* cmp edi, eax */ /* 0x36094C77: cmp edi, eax */ 10727 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 10728 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10729 _flag_k = FK_CMP; 10730 ebx = edi; /* 0x36094C79: mov ebx, edi */ 10731 RECOMP_BACKEDGE(); 10732 if (CMP_NE(_flag_a, _flag_b)) goto L_36094C5E; /* 0x36094C7B: jne 0x36094c5e */ 10733 L_36094C7D: 10734 ecx = MEM32(esi + 0x4); /* 0x36094C7D: mov ecx, dword ptr [esi + 4] */ 10735 edx = MEM32(esi + 0x8); /* 0x36094C80: mov edx, dword ptr [esi + 8] */ 10736 MEM32(ecx + 0x4) = edx; /* 0x36094C83: mov dword ptr [ecx + 4], edx */ 10737 eax = MEM32(esi + 0x4); /* 0x36094C86: mov eax, dword ptr [esi + 4] */ 10738 MEM32(esi + 0x10) = 0; /* 0x36094C89: mov dword ptr [esi + 0x10], 0 */ 10739 MEM32(eax) = eax; /* 0x36094C90: mov dword ptr [eax], eax */ 10740 eax = MEM32(esi + 0x4); /* 0x36094C92: mov eax, dword ptr [esi + 4] */ 10741 MEM32(eax + 0x8) = eax; /* 0x36094C95: mov dword ptr [eax + 8], eax */ 10742 eax = ebp + (-0x8); /* 0x36094C98: lea eax, [ebp - 8] */ 10743 PUSH32(esp, eax); /* 0x36094C9B: push eax */ 10744 ecx = esi; /* 0x36094C9C: mov ecx, esi */ 10745 RECOMP_ICALL(0x3614FC30u); /* 0x36094C9E: call 0x3614fc30 */ /* not lifted */ 10746 RECOMP_FLAGS_IN(); 10747 goto L_36094CC6; /* 0x36094CA3: jmp 0x36094cc6 */ 10748 L_36094CA5: 10749 /* cmp eax, edi */ /* 0x36094CA5: cmp eax, edi */ 10750 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 10751 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10752 _flag_k = FK_CMP; 10753 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094CC6; /* 0x36094CA7: je 0x36094cc6 */ 10754 L_36094CA9: 10755 ecx = ebp + (-0x4); /* 0x36094CA9: lea ecx, [ebp - 4] */ 10756 ebx = eax; /* 0x36094CAC: mov ebx, eax */ 10757 RECOMP_ICALL(0x36096C20u); /* 0x36094CAE: call 0x36096c20 */ /* not lifted */ 10758 RECOMP_FLAGS_IN(); 10759 PUSH32(esp, ebx); /* 0x36094CB3: push ebx */ 10760 ecx = ebp + (-0x8); /* 0x36094CB4: lea ecx, [ebp - 8] */ 10761 PUSH32(esp, ecx); /* 0x36094CB7: push ecx */ 10762 ecx = esi; /* 0x36094CB8: mov ecx, esi */ 10763 RECOMP_ICALL(0x3603ECC0u); /* 0x36094CBA: call 0x3603ecc0 */ /* not lifted */ 10764 RECOMP_FLAGS_IN(); 10765 eax = MEM32(ebp + (-0x4)); /* 0x36094CBF: mov eax, dword ptr [ebp - 4] */ 10766 /* cmp eax, edi */ /* 0x36094CC2: cmp eax, edi */ 10767 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 10768 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10769 _flag_k = FK_CMP; 10770 RECOMP_BACKEDGE(); 10771 if (CMP_NE(_flag_a, _flag_b)) goto L_36094CA9; /* 0x36094CC4: jne 0x36094ca9 */ 10772 L_36094CC6: 10773 edx = MEM32(esi + 0x4); /* 0x36094CC6: mov edx, dword ptr [esi + 4] */ 10774 PUSH32(esp, edx); /* 0x36094CC9: push edx */ 10775 RECOMP_ICALL(0x3615FCC4u); /* 0x36094CCA: call 0x3615fcc4 */ /* not lifted */ 10776 RECOMP_FLAGS_IN(); 10777 eax = MEM32(esi + 0x8); /* 0x36094CCF: mov eax, dword ptr [esi + 8] */ 10778 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10779 edi = 0; /* 0x36094CD2: xor edi, edi */ 10780 _cf = 0; 10781 _flag_k = FK_TEST; 10782 PUSH32(esp, eax); /* 0x36094CD4: push eax */ 10783 MEM32(esi + 0x4) = edi; /* 0x36094CD5: mov dword ptr [esi + 4], edi */ 10784 MEM32(esi + 0x10) = edi; /* 0x36094CD8: mov dword ptr [esi + 0x10], edi */ 10785 RECOMP_ICALL(0x3615FCC4u); /* 0x36094CDB: call 0x3615fcc4 */ /* not lifted */ 10786 RECOMP_FLAGS_IN(); 10787 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 10788 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10789 esp = esp + 8; /* 0x36094CE0: add esp, 8 */ 10790 _flag_k = FK_ADD; 10791 MEM32(esi + 0x8) = edi; /* 0x36094CE3: mov dword ptr [esi + 8], edi */ 10792 edi = POP32_VAL(esp); /* 0x36094CE6: pop edi */ 10793 esi = POP32_VAL(esp); /* 0x36094CE7: pop esi */ 10794 ebx = POP32_VAL(esp); /* 0x36094CE8: pop ebx */ 10795 esp = ebp; /* 0x36094CE9: mov esp, ebp */ 10796 ebp = POP32_VAL(esp); /* 0x36094CEB: pop ebp */ 10797 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094CEC: ret */ 10798 RECOMP_REGS_OUT(); 10799 } 10800 10801 void sub_36094C30(void) { 10802 int _fpu_cmp = 0; 10803 uint32_t _cf = 0; 10804 int _df = 1; 10805 uint32_t _flag_k = FK_NONE; 10806 uint32_t _flag_a = 0, _flag_b = 0; 10807 uint32_t _itail_tgt = 0; 10808 RECOMP_REGS_LOCALS 10809 RECOMP_ENTER(0x36094C30u); 10810 10811 L_36094C30: 10812 PUSH32(esp, ebp); /* 0x36094C30: push ebp */ 10813 ebp = esp; /* 0x36094C31: mov ebp, esp */ 10814 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 10815 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10816 esp = esp - 8; /* 0x36094C33: sub esp, 8 */ 10817 _flag_k = FK_CMP; 10818 PUSH32(esp, ebx); /* 0x36094C36: push ebx */ 10819 PUSH32(esp, esi); /* 0x36094C37: push esi */ 10820 esi = ecx; /* 0x36094C38: mov esi, ecx */ 10821 ecx = MEM32(esi + 0x10); /* 0x36094C3A: mov ecx, dword ptr [esi + 0x10] */ 10822 /* test ecx, ecx */ /* 0x36094C3D: test ecx, ecx */ 10823 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 10824 _cf = 0; 10825 _flag_k = FK_TEST; 10826 PUSH32(esp, edi); /* 0x36094C3F: push edi */ 10827 edi = MEM32(esi + 0x4); /* 0x36094C40: mov edi, dword ptr [esi + 4] */ 10828 eax = MEM32(edi); /* 0x36094C43: mov eax, dword ptr [edi] */ 10829 MEM32(ebp + (-0x4)) = eax; /* 0x36094C45: mov dword ptr [ebp - 4], eax */ 10830 if (TEST_Z(_flag_a, _flag_b)) goto L_36094CA5; /* 0x36094C48: je 0x36094ca5 */ 10831 L_36094C4A: 10832 ecx = eax; /* 0x36094C4A: mov ecx, eax */ 10833 /* cmp eax, ecx */ /* 0x36094C4C: cmp eax, ecx */ 10834 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 10835 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10836 _flag_k = FK_CMP; 10837 if (CMP_NE(_flag_a, _flag_b)) goto L_36094CA5; /* 0x36094C4E: jne 0x36094ca5 */ 10838 L_36094C50: 10839 /* cmp edi, edi */ /* 0x36094C50: cmp edi, edi */ 10840 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 10841 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10842 _flag_k = FK_CMP; 10843 if (CMP_NE(_flag_a, _flag_b)) goto L_36094CA5; /* 0x36094C52: jne 0x36094ca5 */ 10844 L_36094C54: 10845 ebx = MEM32(edi + 0x4); /* 0x36094C54: mov ebx, dword ptr [edi + 4] */ 10846 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x36094C57: cmp ebx, dword ptr [esi + 8] */ 10847 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 10848 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10849 _flag_k = FK_CMP; 10850 edi = ebx; /* 0x36094C5A: mov edi, ebx */ 10851 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094C7D; /* 0x36094C5C: je 0x36094c7d */ 10852 L_36094C5E: 10853 eax = MEM32(edi + 0x8); /* 0x36094C5E: mov eax, dword ptr [edi + 8] */ 10854 PUSH32(esp, eax); /* 0x36094C61: push eax */ 10855 ecx = esi; /* 0x36094C62: mov ecx, esi */ 10856 RECOMP_ICALL(0x36096560u); /* 0x36094C64: call 0x36096560 */ /* not lifted */ 10857 RECOMP_FLAGS_IN(); 10858 edi = MEM32(edi); /* 0x36094C69: mov edi, dword ptr [edi] */ 10859 PUSH32(esp, ebx); /* 0x36094C6B: push ebx */ 10860 RECOMP_ICALL(0x3615FCC4u); /* 0x36094C6C: call 0x3615fcc4 */ /* not lifted */ 10861 RECOMP_FLAGS_IN(); 10862 eax = MEM32(esi + 0x8); /* 0x36094C71: mov eax, dword ptr [esi + 8] */ 10863 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 10864 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10865 esp = esp + 4; /* 0x36094C74: add esp, 4 */ 10866 _flag_k = FK_ADD; 10867 /* cmp edi, eax */ /* 0x36094C77: cmp edi, eax */ 10868 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 10869 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10870 _flag_k = FK_CMP; 10871 ebx = edi; /* 0x36094C79: mov ebx, edi */ 10872 RECOMP_BACKEDGE(); 10873 if (CMP_NE(_flag_a, _flag_b)) goto L_36094C5E; /* 0x36094C7B: jne 0x36094c5e */ 10874 L_36094C7D: 10875 ecx = MEM32(esi + 0x4); /* 0x36094C7D: mov ecx, dword ptr [esi + 4] */ 10876 edx = MEM32(esi + 0x8); /* 0x36094C80: mov edx, dword ptr [esi + 8] */ 10877 MEM32(ecx + 0x4) = edx; /* 0x36094C83: mov dword ptr [ecx + 4], edx */ 10878 eax = MEM32(esi + 0x4); /* 0x36094C86: mov eax, dword ptr [esi + 4] */ 10879 MEM32(esi + 0x10) = 0; /* 0x36094C89: mov dword ptr [esi + 0x10], 0 */ 10880 MEM32(eax) = eax; /* 0x36094C90: mov dword ptr [eax], eax */ 10881 eax = MEM32(esi + 0x4); /* 0x36094C92: mov eax, dword ptr [esi + 4] */ 10882 MEM32(eax + 0x8) = eax; /* 0x36094C95: mov dword ptr [eax + 8], eax */ 10883 eax = ebp + (-0x8); /* 0x36094C98: lea eax, [ebp - 8] */ 10884 PUSH32(esp, eax); /* 0x36094C9B: push eax */ 10885 ecx = esi; /* 0x36094C9C: mov ecx, esi */ 10886 RECOMP_ICALL(0x3614FC30u); /* 0x36094C9E: call 0x3614fc30 */ /* not lifted */ 10887 RECOMP_FLAGS_IN(); 10888 goto L_36094CC6; /* 0x36094CA3: jmp 0x36094cc6 */ 10889 L_36094CA5: 10890 /* cmp eax, edi */ /* 0x36094CA5: cmp eax, edi */ 10891 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 10892 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10893 _flag_k = FK_CMP; 10894 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094CC6; /* 0x36094CA7: je 0x36094cc6 */ 10895 L_36094CA9: 10896 ecx = ebp + (-0x4); /* 0x36094CA9: lea ecx, [ebp - 4] */ 10897 ebx = eax; /* 0x36094CAC: mov ebx, eax */ 10898 RECOMP_ICALL(0x36096C20u); /* 0x36094CAE: call 0x36096c20 */ /* not lifted */ 10899 RECOMP_FLAGS_IN(); 10900 PUSH32(esp, ebx); /* 0x36094CB3: push ebx */ 10901 ecx = ebp + (-0x8); /* 0x36094CB4: lea ecx, [ebp - 8] */ 10902 PUSH32(esp, ecx); /* 0x36094CB7: push ecx */ 10903 ecx = esi; /* 0x36094CB8: mov ecx, esi */ 10904 RECOMP_ICALL(0x3603ECC0u); /* 0x36094CBA: call 0x3603ecc0 */ /* not lifted */ 10905 RECOMP_FLAGS_IN(); 10906 eax = MEM32(ebp + (-0x4)); /* 0x36094CBF: mov eax, dword ptr [ebp - 4] */ 10907 /* cmp eax, edi */ /* 0x36094CC2: cmp eax, edi */ 10908 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 10909 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 10910 _flag_k = FK_CMP; 10911 RECOMP_BACKEDGE(); 10912 if (CMP_NE(_flag_a, _flag_b)) goto L_36094CA9; /* 0x36094CC4: jne 0x36094ca9 */ 10913 L_36094CC6: 10914 edx = MEM32(esi + 0x4); /* 0x36094CC6: mov edx, dword ptr [esi + 4] */ 10915 PUSH32(esp, edx); /* 0x36094CC9: push edx */ 10916 RECOMP_ICALL(0x3615FCC4u); /* 0x36094CCA: call 0x3615fcc4 */ /* not lifted */ 10917 RECOMP_FLAGS_IN(); 10918 eax = MEM32(esi + 0x8); /* 0x36094CCF: mov eax, dword ptr [esi + 8] */ 10919 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10920 edi = 0; /* 0x36094CD2: xor edi, edi */ 10921 _cf = 0; 10922 _flag_k = FK_TEST; 10923 PUSH32(esp, eax); /* 0x36094CD4: push eax */ 10924 MEM32(esi + 0x4) = edi; /* 0x36094CD5: mov dword ptr [esi + 4], edi */ 10925 MEM32(esi + 0x10) = edi; /* 0x36094CD8: mov dword ptr [esi + 0x10], edi */ 10926 RECOMP_ICALL(0x3615FCC4u); /* 0x36094CDB: call 0x3615fcc4 */ /* not lifted */ 10927 RECOMP_FLAGS_IN(); 10928 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 10929 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10930 esp = esp + 8; /* 0x36094CE0: add esp, 8 */ 10931 _flag_k = FK_ADD; 10932 MEM32(esi + 0x8) = edi; /* 0x36094CE3: mov dword ptr [esi + 8], edi */ 10933 edi = POP32_VAL(esp); /* 0x36094CE6: pop edi */ 10934 esi = POP32_VAL(esp); /* 0x36094CE7: pop esi */ 10935 ebx = POP32_VAL(esp); /* 0x36094CE8: pop ebx */ 10936 esp = ebp; /* 0x36094CE9: mov esp, ebp */ 10937 ebp = POP32_VAL(esp); /* 0x36094CEB: pop ebp */ 10938 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094CEC: ret */ 10939 RECOMP_REGS_OUT(); 10940 } 10941 10942 void sub_36094CC6(void) { 10943 int _fpu_cmp = 0; 10944 uint32_t _cf = 0; 10945 int _df = 1; 10946 uint32_t _flag_k = FK_NONE; 10947 uint32_t _flag_a = 0, _flag_b = 0; 10948 uint32_t _itail_tgt = 0; 10949 RECOMP_REGS_LOCALS 10950 RECOMP_ENTER(0x36094CC6u); 10951 10952 L_36094CC6: 10953 edx = MEM32(esi + 0x4); /* 0x36094CC6: mov edx, dword ptr [esi + 4] */ 10954 PUSH32(esp, edx); /* 0x36094CC9: push edx */ 10955 RECOMP_ICALL(0x3615FCC4u); /* 0x36094CCA: call 0x3615fcc4 */ /* not lifted */ 10956 RECOMP_FLAGS_IN(); 10957 eax = MEM32(esi + 0x8); /* 0x36094CCF: mov eax, dword ptr [esi + 8] */ 10958 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 10959 edi = 0; /* 0x36094CD2: xor edi, edi */ 10960 _cf = 0; 10961 _flag_k = FK_TEST; 10962 PUSH32(esp, eax); /* 0x36094CD4: push eax */ 10963 MEM32(esi + 0x4) = edi; /* 0x36094CD5: mov dword ptr [esi + 4], edi */ 10964 MEM32(esi + 0x10) = edi; /* 0x36094CD8: mov dword ptr [esi + 0x10], edi */ 10965 RECOMP_ICALL(0x3615FCC4u); /* 0x36094CDB: call 0x3615fcc4 */ /* not lifted */ 10966 RECOMP_FLAGS_IN(); 10967 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 10968 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 10969 esp = esp + 8; /* 0x36094CE0: add esp, 8 */ 10970 _flag_k = FK_ADD; 10971 MEM32(esi + 0x8) = edi; /* 0x36094CE3: mov dword ptr [esi + 8], edi */ 10972 edi = POP32_VAL(esp); /* 0x36094CE6: pop edi */ 10973 esi = POP32_VAL(esp); /* 0x36094CE7: pop esi */ 10974 ebx = POP32_VAL(esp); /* 0x36094CE8: pop ebx */ 10975 esp = ebp; /* 0x36094CE9: mov esp, ebp */ 10976 ebp = POP32_VAL(esp); /* 0x36094CEB: pop ebp */ 10977 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094CEC: ret */ 10978 RECOMP_REGS_OUT(); 10979 } 10980 10981 void sub_36094CF0(void) { 10982 int _fpu_cmp = 0; 10983 uint32_t _cf = 0; 10984 int _df = 1; 10985 uint32_t _flag_k = FK_NONE; 10986 uint32_t _flag_a = 0, _flag_b = 0; 10987 uint32_t _itail_tgt = 0; 10988 RECOMP_REGS_LOCALS 10989 RECOMP_ENTER(0x36094CF0u); 10990 10991 L_36094CF0: 10992 RECOMP_ICALL(0x36094D00u); /* 0x36094CF0: call 0x36094d00 */ /* not lifted */ 10993 RECOMP_FLAGS_IN(); 10994 goto L_36094D20; /* 0x36094CF5: jmp 0x36094d20 */ 10995 L_36094D20: 10996 PUSH32(esp, 0x36094D30u); /* 0x36094D20: push 0x36094d30 */ 10997 RECOMP_ICALL(0x3615FEB2u); /* 0x36094D25: call 0x3615feb2 */ /* not lifted */ 10998 RECOMP_FLAGS_IN(); 10999 ecx = POP32_VAL(esp); /* 0x36094D2A: pop ecx */ 11000 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094D2B: ret */ 11001 RECOMP_REGS_OUT(); 11002 } 11003 11004 void sub_36094D00(void) { 11005 int _fpu_cmp = 0; 11006 uint32_t _cf = 0; 11007 int _df = 1; 11008 uint32_t _flag_k = FK_NONE; 11009 uint32_t _flag_a = 0, _flag_b = 0; 11010 uint32_t _itail_tgt = 0; 11011 RECOMP_REGS_LOCALS 11012 RECOMP_ENTER(0x36094D00u); 11013 11014 L_36094D00: 11015 PUSH32(esp, ebp); /* 0x36094D00: push ebp */ 11016 ebp = esp; /* 0x36094D01: mov ebp, esp */ 11017 PUSH32(esp, ecx); /* 0x36094D03: push ecx */ 11018 eax = ebp + (-0x1); /* 0x36094D04: lea eax, [ebp - 1] */ 11019 PUSH32(esp, eax); /* 0x36094D07: push eax */ 11020 ecx = ebp + (-0x2); /* 0x36094D08: lea ecx, [ebp - 2] */ 11021 PUSH32(esp, ecx); /* 0x36094D0B: push ecx */ 11022 ecx = 0x36306B68u; /* 0x36094D0C: mov ecx, 0x36306b68 */ 11023 RECOMP_ICALL(0x36096250u); /* 0x36094D11: call 0x36096250 */ /* not lifted */ 11024 RECOMP_FLAGS_IN(); 11025 esp = ebp; /* 0x36094D16: mov esp, ebp */ 11026 ebp = POP32_VAL(esp); /* 0x36094D18: pop ebp */ 11027 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094D19: ret */ 11028 RECOMP_REGS_OUT(); 11029 } 11030 11031 void sub_36094D20(void) { 11032 int _fpu_cmp = 0; 11033 uint32_t _cf = 0; 11034 int _df = 1; 11035 uint32_t _flag_k = FK_NONE; 11036 uint32_t _flag_a = 0, _flag_b = 0; 11037 uint32_t _itail_tgt = 0; 11038 RECOMP_REGS_LOCALS 11039 RECOMP_ENTER(0x36094D20u); 11040 11041 L_36094D20: 11042 PUSH32(esp, 0x36094D30u); /* 0x36094D20: push 0x36094d30 */ 11043 RECOMP_ICALL(0x3615FEB2u); /* 0x36094D25: call 0x3615feb2 */ /* not lifted */ 11044 RECOMP_FLAGS_IN(); 11045 ecx = POP32_VAL(esp); /* 0x36094D2A: pop ecx */ 11046 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094D2B: ret */ 11047 RECOMP_REGS_OUT(); 11048 } 11049 11050 void sub_36094D30(void) { 11051 int _fpu_cmp = 0; 11052 uint32_t _cf = 0; 11053 int _df = 1; 11054 uint32_t _flag_k = FK_NONE; 11055 uint32_t _flag_a = 0, _flag_b = 0; 11056 uint32_t _itail_tgt = 0; 11057 RECOMP_REGS_LOCALS 11058 RECOMP_ENTER(0x36094D30u); 11059 11060 L_36094D30: 11061 ecx = 0x36306B68u; /* 0x36094D30: mov ecx, 0x36306b68 */ 11062 goto L_36094D40; /* 0x36094D35: jmp 0x36094d40 */ 11063 L_36094D40: 11064 PUSH32(esp, ebp); /* 0x36094D40: push ebp */ 11065 ebp = esp; /* 0x36094D41: mov ebp, esp */ 11066 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 11067 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11068 esp = esp - 8; /* 0x36094D43: sub esp, 8 */ 11069 _flag_k = FK_CMP; 11070 PUSH32(esp, ebx); /* 0x36094D46: push ebx */ 11071 PUSH32(esp, esi); /* 0x36094D47: push esi */ 11072 esi = ecx; /* 0x36094D48: mov esi, ecx */ 11073 ecx = MEM32(esi + 0x10); /* 0x36094D4A: mov ecx, dword ptr [esi + 0x10] */ 11074 /* test ecx, ecx */ /* 0x36094D4D: test ecx, ecx */ 11075 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11076 _cf = 0; 11077 _flag_k = FK_TEST; 11078 PUSH32(esp, edi); /* 0x36094D4F: push edi */ 11079 edi = MEM32(esi + 0x4); /* 0x36094D50: mov edi, dword ptr [esi + 4] */ 11080 eax = MEM32(edi); /* 0x36094D53: mov eax, dword ptr [edi] */ 11081 MEM32(ebp + (-0x4)) = eax; /* 0x36094D55: mov dword ptr [ebp - 4], eax */ 11082 if (TEST_Z(_flag_a, _flag_b)) goto L_36094DB5; /* 0x36094D58: je 0x36094db5 */ 11083 L_36094D5A: 11084 ecx = eax; /* 0x36094D5A: mov ecx, eax */ 11085 /* cmp eax, ecx */ /* 0x36094D5C: cmp eax, ecx */ 11086 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11087 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11088 _flag_k = FK_CMP; 11089 if (CMP_NE(_flag_a, _flag_b)) goto L_36094DB5; /* 0x36094D5E: jne 0x36094db5 */ 11090 L_36094D60: 11091 /* cmp edi, edi */ /* 0x36094D60: cmp edi, edi */ 11092 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 11093 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11094 _flag_k = FK_CMP; 11095 if (CMP_NE(_flag_a, _flag_b)) goto L_36094DB5; /* 0x36094D62: jne 0x36094db5 */ 11096 L_36094D64: 11097 ebx = MEM32(edi + 0x4); /* 0x36094D64: mov ebx, dword ptr [edi + 4] */ 11098 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x36094D67: cmp ebx, dword ptr [esi + 8] */ 11099 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11100 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11101 _flag_k = FK_CMP; 11102 edi = ebx; /* 0x36094D6A: mov edi, ebx */ 11103 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094D8D; /* 0x36094D6C: je 0x36094d8d */ 11104 L_36094D6E: 11105 eax = MEM32(edi + 0x8); /* 0x36094D6E: mov eax, dword ptr [edi + 8] */ 11106 PUSH32(esp, eax); /* 0x36094D71: push eax */ 11107 ecx = esi; /* 0x36094D72: mov ecx, esi */ 11108 RECOMP_ICALL(0x360965A0u); /* 0x36094D74: call 0x360965a0 */ /* not lifted */ 11109 RECOMP_FLAGS_IN(); 11110 edi = MEM32(edi); /* 0x36094D79: mov edi, dword ptr [edi] */ 11111 PUSH32(esp, ebx); /* 0x36094D7B: push ebx */ 11112 RECOMP_ICALL(0x3615FCC4u); /* 0x36094D7C: call 0x3615fcc4 */ /* not lifted */ 11113 RECOMP_FLAGS_IN(); 11114 eax = MEM32(esi + 0x8); /* 0x36094D81: mov eax, dword ptr [esi + 8] */ 11115 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11116 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11117 esp = esp + 4; /* 0x36094D84: add esp, 4 */ 11118 _flag_k = FK_ADD; 11119 /* cmp edi, eax */ /* 0x36094D87: cmp edi, eax */ 11120 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 11121 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11122 _flag_k = FK_CMP; 11123 ebx = edi; /* 0x36094D89: mov ebx, edi */ 11124 RECOMP_BACKEDGE(); 11125 if (CMP_NE(_flag_a, _flag_b)) goto L_36094D6E; /* 0x36094D8B: jne 0x36094d6e */ 11126 L_36094D8D: 11127 ecx = MEM32(esi + 0x4); /* 0x36094D8D: mov ecx, dword ptr [esi + 4] */ 11128 edx = MEM32(esi + 0x8); /* 0x36094D90: mov edx, dword ptr [esi + 8] */ 11129 MEM32(ecx + 0x4) = edx; /* 0x36094D93: mov dword ptr [ecx + 4], edx */ 11130 eax = MEM32(esi + 0x4); /* 0x36094D96: mov eax, dword ptr [esi + 4] */ 11131 MEM32(esi + 0x10) = 0; /* 0x36094D99: mov dword ptr [esi + 0x10], 0 */ 11132 MEM32(eax) = eax; /* 0x36094DA0: mov dword ptr [eax], eax */ 11133 eax = MEM32(esi + 0x4); /* 0x36094DA2: mov eax, dword ptr [esi + 4] */ 11134 MEM32(eax + 0x8) = eax; /* 0x36094DA5: mov dword ptr [eax + 8], eax */ 11135 eax = ebp + (-0x8); /* 0x36094DA8: lea eax, [ebp - 8] */ 11136 PUSH32(esp, eax); /* 0x36094DAB: push eax */ 11137 ecx = esi; /* 0x36094DAC: mov ecx, esi */ 11138 RECOMP_ICALL(0x3614FC30u); /* 0x36094DAE: call 0x3614fc30 */ /* not lifted */ 11139 RECOMP_FLAGS_IN(); 11140 goto L_36094DD6; /* 0x36094DB3: jmp 0x36094dd6 */ 11141 L_36094DB5: 11142 /* cmp eax, edi */ /* 0x36094DB5: cmp eax, edi */ 11143 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 11144 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11145 _flag_k = FK_CMP; 11146 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094DD6; /* 0x36094DB7: je 0x36094dd6 */ 11147 L_36094DB9: 11148 ecx = ebp + (-0x4); /* 0x36094DB9: lea ecx, [ebp - 4] */ 11149 ebx = eax; /* 0x36094DBC: mov ebx, eax */ 11150 RECOMP_ICALL(0x36064140u); /* 0x36094DBE: call 0x36064140 */ /* not lifted */ 11151 RECOMP_FLAGS_IN(); 11152 PUSH32(esp, ebx); /* 0x36094DC3: push ebx */ 11153 ecx = ebp + (-0x8); /* 0x36094DC4: lea ecx, [ebp - 8] */ 11154 PUSH32(esp, ecx); /* 0x36094DC7: push ecx */ 11155 ecx = esi; /* 0x36094DC8: mov ecx, esi */ 11156 RECOMP_ICALL(0x360588E0u); /* 0x36094DCA: call 0x360588e0 */ /* not lifted */ 11157 RECOMP_FLAGS_IN(); 11158 eax = MEM32(ebp + (-0x4)); /* 0x36094DCF: mov eax, dword ptr [ebp - 4] */ 11159 /* cmp eax, edi */ /* 0x36094DD2: cmp eax, edi */ 11160 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 11161 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11162 _flag_k = FK_CMP; 11163 RECOMP_BACKEDGE(); 11164 if (CMP_NE(_flag_a, _flag_b)) goto L_36094DB9; /* 0x36094DD4: jne 0x36094db9 */ 11165 L_36094DD6: 11166 edx = MEM32(esi + 0x4); /* 0x36094DD6: mov edx, dword ptr [esi + 4] */ 11167 PUSH32(esp, edx); /* 0x36094DD9: push edx */ 11168 RECOMP_ICALL(0x3615FCC4u); /* 0x36094DDA: call 0x3615fcc4 */ /* not lifted */ 11169 RECOMP_FLAGS_IN(); 11170 eax = MEM32(esi + 0x8); /* 0x36094DDF: mov eax, dword ptr [esi + 8] */ 11171 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11172 edi = 0; /* 0x36094DE2: xor edi, edi */ 11173 _cf = 0; 11174 _flag_k = FK_TEST; 11175 PUSH32(esp, eax); /* 0x36094DE4: push eax */ 11176 MEM32(esi + 0x4) = edi; /* 0x36094DE5: mov dword ptr [esi + 4], edi */ 11177 MEM32(esi + 0x10) = edi; /* 0x36094DE8: mov dword ptr [esi + 0x10], edi */ 11178 RECOMP_ICALL(0x3615FCC4u); /* 0x36094DEB: call 0x3615fcc4 */ /* not lifted */ 11179 RECOMP_FLAGS_IN(); 11180 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 11181 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11182 esp = esp + 8; /* 0x36094DF0: add esp, 8 */ 11183 _flag_k = FK_ADD; 11184 MEM32(esi + 0x8) = edi; /* 0x36094DF3: mov dword ptr [esi + 8], edi */ 11185 edi = POP32_VAL(esp); /* 0x36094DF6: pop edi */ 11186 esi = POP32_VAL(esp); /* 0x36094DF7: pop esi */ 11187 ebx = POP32_VAL(esp); /* 0x36094DF8: pop ebx */ 11188 esp = ebp; /* 0x36094DF9: mov esp, ebp */ 11189 ebp = POP32_VAL(esp); /* 0x36094DFB: pop ebp */ 11190 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094DFC: ret */ 11191 RECOMP_REGS_OUT(); 11192 } 11193 11194 void sub_36094D40(void) { 11195 int _fpu_cmp = 0; 11196 uint32_t _cf = 0; 11197 int _df = 1; 11198 uint32_t _flag_k = FK_NONE; 11199 uint32_t _flag_a = 0, _flag_b = 0; 11200 uint32_t _itail_tgt = 0; 11201 RECOMP_REGS_LOCALS 11202 RECOMP_ENTER(0x36094D40u); 11203 11204 L_36094D40: 11205 PUSH32(esp, ebp); /* 0x36094D40: push ebp */ 11206 ebp = esp; /* 0x36094D41: mov ebp, esp */ 11207 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 11208 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11209 esp = esp - 8; /* 0x36094D43: sub esp, 8 */ 11210 _flag_k = FK_CMP; 11211 PUSH32(esp, ebx); /* 0x36094D46: push ebx */ 11212 PUSH32(esp, esi); /* 0x36094D47: push esi */ 11213 esi = ecx; /* 0x36094D48: mov esi, ecx */ 11214 ecx = MEM32(esi + 0x10); /* 0x36094D4A: mov ecx, dword ptr [esi + 0x10] */ 11215 /* test ecx, ecx */ /* 0x36094D4D: test ecx, ecx */ 11216 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 11217 _cf = 0; 11218 _flag_k = FK_TEST; 11219 PUSH32(esp, edi); /* 0x36094D4F: push edi */ 11220 edi = MEM32(esi + 0x4); /* 0x36094D50: mov edi, dword ptr [esi + 4] */ 11221 eax = MEM32(edi); /* 0x36094D53: mov eax, dword ptr [edi] */ 11222 MEM32(ebp + (-0x4)) = eax; /* 0x36094D55: mov dword ptr [ebp - 4], eax */ 11223 if (TEST_Z(_flag_a, _flag_b)) goto L_36094DB5; /* 0x36094D58: je 0x36094db5 */ 11224 L_36094D5A: 11225 ecx = eax; /* 0x36094D5A: mov ecx, eax */ 11226 /* cmp eax, ecx */ /* 0x36094D5C: cmp eax, ecx */ 11227 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(ecx); 11228 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11229 _flag_k = FK_CMP; 11230 if (CMP_NE(_flag_a, _flag_b)) goto L_36094DB5; /* 0x36094D5E: jne 0x36094db5 */ 11231 L_36094D60: 11232 /* cmp edi, edi */ /* 0x36094D60: cmp edi, edi */ 11233 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 11234 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11235 _flag_k = FK_CMP; 11236 if (CMP_NE(_flag_a, _flag_b)) goto L_36094DB5; /* 0x36094D62: jne 0x36094db5 */ 11237 L_36094D64: 11238 ebx = MEM32(edi + 0x4); /* 0x36094D64: mov ebx, dword ptr [edi + 4] */ 11239 /* cmp ebx, MEM32(esi + 0x8) */ /* 0x36094D67: cmp ebx, dword ptr [esi + 8] */ 11240 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(MEM32(esi + 0x8)); 11241 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11242 _flag_k = FK_CMP; 11243 edi = ebx; /* 0x36094D6A: mov edi, ebx */ 11244 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094D8D; /* 0x36094D6C: je 0x36094d8d */ 11245 L_36094D6E: 11246 eax = MEM32(edi + 0x8); /* 0x36094D6E: mov eax, dword ptr [edi + 8] */ 11247 PUSH32(esp, eax); /* 0x36094D71: push eax */ 11248 ecx = esi; /* 0x36094D72: mov ecx, esi */ 11249 RECOMP_ICALL(0x360965A0u); /* 0x36094D74: call 0x360965a0 */ /* not lifted */ 11250 RECOMP_FLAGS_IN(); 11251 edi = MEM32(edi); /* 0x36094D79: mov edi, dword ptr [edi] */ 11252 PUSH32(esp, ebx); /* 0x36094D7B: push ebx */ 11253 RECOMP_ICALL(0x3615FCC4u); /* 0x36094D7C: call 0x3615fcc4 */ /* not lifted */ 11254 RECOMP_FLAGS_IN(); 11255 eax = MEM32(esi + 0x8); /* 0x36094D81: mov eax, dword ptr [esi + 8] */ 11256 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11257 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11258 esp = esp + 4; /* 0x36094D84: add esp, 4 */ 11259 _flag_k = FK_ADD; 11260 /* cmp edi, eax */ /* 0x36094D87: cmp edi, eax */ 11261 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 11262 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11263 _flag_k = FK_CMP; 11264 ebx = edi; /* 0x36094D89: mov ebx, edi */ 11265 RECOMP_BACKEDGE(); 11266 if (CMP_NE(_flag_a, _flag_b)) goto L_36094D6E; /* 0x36094D8B: jne 0x36094d6e */ 11267 L_36094D8D: 11268 ecx = MEM32(esi + 0x4); /* 0x36094D8D: mov ecx, dword ptr [esi + 4] */ 11269 edx = MEM32(esi + 0x8); /* 0x36094D90: mov edx, dword ptr [esi + 8] */ 11270 MEM32(ecx + 0x4) = edx; /* 0x36094D93: mov dword ptr [ecx + 4], edx */ 11271 eax = MEM32(esi + 0x4); /* 0x36094D96: mov eax, dword ptr [esi + 4] */ 11272 MEM32(esi + 0x10) = 0; /* 0x36094D99: mov dword ptr [esi + 0x10], 0 */ 11273 MEM32(eax) = eax; /* 0x36094DA0: mov dword ptr [eax], eax */ 11274 eax = MEM32(esi + 0x4); /* 0x36094DA2: mov eax, dword ptr [esi + 4] */ 11275 MEM32(eax + 0x8) = eax; /* 0x36094DA5: mov dword ptr [eax + 8], eax */ 11276 eax = ebp + (-0x8); /* 0x36094DA8: lea eax, [ebp - 8] */ 11277 PUSH32(esp, eax); /* 0x36094DAB: push eax */ 11278 ecx = esi; /* 0x36094DAC: mov ecx, esi */ 11279 RECOMP_ICALL(0x3614FC30u); /* 0x36094DAE: call 0x3614fc30 */ /* not lifted */ 11280 RECOMP_FLAGS_IN(); 11281 goto L_36094DD6; /* 0x36094DB3: jmp 0x36094dd6 */ 11282 L_36094DB5: 11283 /* cmp eax, edi */ /* 0x36094DB5: cmp eax, edi */ 11284 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 11285 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11286 _flag_k = FK_CMP; 11287 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094DD6; /* 0x36094DB7: je 0x36094dd6 */ 11288 L_36094DB9: 11289 ecx = ebp + (-0x4); /* 0x36094DB9: lea ecx, [ebp - 4] */ 11290 ebx = eax; /* 0x36094DBC: mov ebx, eax */ 11291 RECOMP_ICALL(0x36064140u); /* 0x36094DBE: call 0x36064140 */ /* not lifted */ 11292 RECOMP_FLAGS_IN(); 11293 PUSH32(esp, ebx); /* 0x36094DC3: push ebx */ 11294 ecx = ebp + (-0x8); /* 0x36094DC4: lea ecx, [ebp - 8] */ 11295 PUSH32(esp, ecx); /* 0x36094DC7: push ecx */ 11296 ecx = esi; /* 0x36094DC8: mov ecx, esi */ 11297 RECOMP_ICALL(0x360588E0u); /* 0x36094DCA: call 0x360588e0 */ /* not lifted */ 11298 RECOMP_FLAGS_IN(); 11299 eax = MEM32(ebp + (-0x4)); /* 0x36094DCF: mov eax, dword ptr [ebp - 4] */ 11300 /* cmp eax, edi */ /* 0x36094DD2: cmp eax, edi */ 11301 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 11302 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11303 _flag_k = FK_CMP; 11304 RECOMP_BACKEDGE(); 11305 if (CMP_NE(_flag_a, _flag_b)) goto L_36094DB9; /* 0x36094DD4: jne 0x36094db9 */ 11306 L_36094DD6: 11307 edx = MEM32(esi + 0x4); /* 0x36094DD6: mov edx, dword ptr [esi + 4] */ 11308 PUSH32(esp, edx); /* 0x36094DD9: push edx */ 11309 RECOMP_ICALL(0x3615FCC4u); /* 0x36094DDA: call 0x3615fcc4 */ /* not lifted */ 11310 RECOMP_FLAGS_IN(); 11311 eax = MEM32(esi + 0x8); /* 0x36094DDF: mov eax, dword ptr [esi + 8] */ 11312 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11313 edi = 0; /* 0x36094DE2: xor edi, edi */ 11314 _cf = 0; 11315 _flag_k = FK_TEST; 11316 PUSH32(esp, eax); /* 0x36094DE4: push eax */ 11317 MEM32(esi + 0x4) = edi; /* 0x36094DE5: mov dword ptr [esi + 4], edi */ 11318 MEM32(esi + 0x10) = edi; /* 0x36094DE8: mov dword ptr [esi + 0x10], edi */ 11319 RECOMP_ICALL(0x3615FCC4u); /* 0x36094DEB: call 0x3615fcc4 */ /* not lifted */ 11320 RECOMP_FLAGS_IN(); 11321 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 11322 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11323 esp = esp + 8; /* 0x36094DF0: add esp, 8 */ 11324 _flag_k = FK_ADD; 11325 MEM32(esi + 0x8) = edi; /* 0x36094DF3: mov dword ptr [esi + 8], edi */ 11326 edi = POP32_VAL(esp); /* 0x36094DF6: pop edi */ 11327 esi = POP32_VAL(esp); /* 0x36094DF7: pop esi */ 11328 ebx = POP32_VAL(esp); /* 0x36094DF8: pop ebx */ 11329 esp = ebp; /* 0x36094DF9: mov esp, ebp */ 11330 ebp = POP32_VAL(esp); /* 0x36094DFB: pop ebp */ 11331 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094DFC: ret */ 11332 RECOMP_REGS_OUT(); 11333 } 11334 11335 void sub_36094DD6(void) { 11336 int _fpu_cmp = 0; 11337 uint32_t _cf = 0; 11338 int _df = 1; 11339 uint32_t _flag_k = FK_NONE; 11340 uint32_t _flag_a = 0, _flag_b = 0; 11341 uint32_t _itail_tgt = 0; 11342 RECOMP_REGS_LOCALS 11343 RECOMP_ENTER(0x36094DD6u); 11344 11345 L_36094DD6: 11346 edx = MEM32(esi + 0x4); /* 0x36094DD6: mov edx, dword ptr [esi + 4] */ 11347 PUSH32(esp, edx); /* 0x36094DD9: push edx */ 11348 RECOMP_ICALL(0x3615FCC4u); /* 0x36094DDA: call 0x3615fcc4 */ /* not lifted */ 11349 RECOMP_FLAGS_IN(); 11350 eax = MEM32(esi + 0x8); /* 0x36094DDF: mov eax, dword ptr [esi + 8] */ 11351 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11352 edi = 0; /* 0x36094DE2: xor edi, edi */ 11353 _cf = 0; 11354 _flag_k = FK_TEST; 11355 PUSH32(esp, eax); /* 0x36094DE4: push eax */ 11356 MEM32(esi + 0x4) = edi; /* 0x36094DE5: mov dword ptr [esi + 4], edi */ 11357 MEM32(esi + 0x10) = edi; /* 0x36094DE8: mov dword ptr [esi + 0x10], edi */ 11358 RECOMP_ICALL(0x3615FCC4u); /* 0x36094DEB: call 0x3615fcc4 */ /* not lifted */ 11359 RECOMP_FLAGS_IN(); 11360 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 11361 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11362 esp = esp + 8; /* 0x36094DF0: add esp, 8 */ 11363 _flag_k = FK_ADD; 11364 MEM32(esi + 0x8) = edi; /* 0x36094DF3: mov dword ptr [esi + 8], edi */ 11365 edi = POP32_VAL(esp); /* 0x36094DF6: pop edi */ 11366 esi = POP32_VAL(esp); /* 0x36094DF7: pop esi */ 11367 ebx = POP32_VAL(esp); /* 0x36094DF8: pop ebx */ 11368 esp = ebp; /* 0x36094DF9: mov esp, ebp */ 11369 ebp = POP32_VAL(esp); /* 0x36094DFB: pop ebp */ 11370 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094DFC: ret */ 11371 RECOMP_REGS_OUT(); 11372 } 11373 11374 void sub_36094E00(void) { 11375 int _fpu_cmp = 0; 11376 uint32_t _cf = 0; 11377 int _df = 1; 11378 uint32_t _flag_k = FK_NONE; 11379 uint32_t _flag_a = 0, _flag_b = 0; 11380 uint32_t _itail_tgt = 0; 11381 RECOMP_REGS_LOCALS 11382 RECOMP_ENTER(0x36094E00u); 11383 11384 L_36094E00: 11385 PUSH32(esp, ebp); /* 0x36094E00: push ebp */ 11386 ebp = esp; /* 0x36094E01: mov ebp, esp */ 11387 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x3A0u); 11388 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11389 esp = esp - 0x3A0u; /* 0x36094E03: sub esp, 0x3a0 */ 11390 _flag_k = FK_CMP; 11391 PUSH32(esp, ebx); /* 0x36094E09: push ebx */ 11392 PUSH32(esp, esi); /* 0x36094E0A: push esi */ 11393 PUSH32(esp, edi); /* 0x36094E0B: push edi */ 11394 RECOMP_ICALL(MEM32(0x3616FA1C)); /* 0x36094E0C: call dword ptr [0x3616fa1c] */ 11395 RECOMP_FLAGS_IN(); 11396 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 11397 ecx = ecx | 0xFFFFFFFFu; /* 0x36094E12: or ecx, 0xffffffff */ 11398 _cf = 0; 11399 _flag_k = FK_TEST; 11400 edi = eax; /* 0x36094E15: mov edi, eax */ 11401 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11402 eax = 0; /* 0x36094E17: xor eax, eax */ 11403 _cf = 0; 11404 _flag_k = FK_TEST; 11405 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x36094E19: repne scasb al, byte ptr es:[edi] */ 11406 ecx = ~ecx; /* 0x36094E1B: not ecx */ 11407 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 11408 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11409 edi = edi - ecx; /* 0x36094E1D: sub edi, ecx */ 11410 _flag_k = FK_CMP; 11411 eax = ecx; /* 0x36094E1F: mov eax, ecx */ 11412 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x36094E21: shr ecx, 2 */ 11413 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11414 ecx = ecx >> 2u; /* 0x36094E21: shr ecx, 2 */ 11415 esi = edi; /* 0x36094E24: mov esi, edi */ 11416 edx = ebp + (-0xA0); /* 0x36094E26: lea edx, [ebp - 0xa0] */ 11417 edi = edx; /* 0x36094E2C: mov edi, edx */ 11418 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x36094E2E: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 11419 ecx = eax; /* 0x36094E30: mov ecx, eax */ 11420 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 11421 ecx = ecx & 3; /* 0x36094E32: and ecx, 3 */ 11422 _cf = 0; 11423 _flag_k = FK_TEST; 11424 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x36094E35: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; } 11425 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 11426 ecx = ecx | 0xFFFFFFFFu; /* 0x36094E37: or ecx, 0xffffffff */ 11427 _cf = 0; 11428 _flag_k = FK_TEST; 11429 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11430 eax = 0; /* 0x36094E3A: xor eax, eax */ 11431 _cf = 0; 11432 _flag_k = FK_TEST; 11433 edi = 0x361C5ED8u; /* 0x36094E3C: mov edi, 0x361c5ed8 */ 11434 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x36094E41: repne scasb al, byte ptr es:[edi] */ 11435 ecx = ~ecx; /* 0x36094E43: not ecx */ 11436 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(ecx); 11437 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11438 edi = edi - ecx; /* 0x36094E45: sub edi, ecx */ 11439 _flag_k = FK_CMP; 11440 ebx = ecx; /* 0x36094E47: mov ebx, ecx */ 11441 _flag_a = (uint32_t)((ecx | 0xFFFFFFFFu)); _flag_b = (uint32_t)((ecx | 0xFFFFFFFFu)); 11442 ecx = ecx | 0xFFFFFFFFu; /* 0x36094E49: or ecx, 0xffffffff */ 11443 _cf = 0; 11444 _flag_k = FK_TEST; 11445 esi = edi; /* 0x36094E4C: mov esi, edi */ 11446 edx = ebp + (-0xA0); /* 0x36094E4E: lea edx, [ebp - 0xa0] */ 11447 edi = edx; /* 0x36094E54: mov edi, edx */ 11448 if (ecx) { uint32_t _a = 0, _b = 0; while (ecx) { _a = LO8(eax); _b = MEM8(edi); edi += _df; ecx--; if (_a == _b) break; } _flag_a = _a; _flag_b = _b; _cf = (uint32_t)CMP_B(_a, _b); _flag_k = FK_CMP; } /* 0x36094E56: repne scasb al, byte ptr es:[edi] */ 11449 ecx = ebx; /* 0x36094E58: mov ecx, ebx */ 11450 if (2u) _cf = (((ecx) >> 1) & 1u); /* 0x36094E5A: shr ecx, 2 */ 11451 if (2u) { _flag_a = recomp_flags_pack((ecx >> 2u), _cf, 0, 0); _flag_b = 0; _flag_k = FK_EFLAGS; } 11452 ecx = ecx >> 2u; /* 0x36094E5A: shr ecx, 2 */ 11453 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(1); 11454 edi = edi - 1; /* 0x36094E5D: dec edi */ 11455 _flag_k = FK_DEC; 11456 if (ecx) { uint32_t _n = ecx, _b = _n * 4u; /* 0x36094E5E: rep movsd dword ptr es:[edi], dword ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 4u), (void*)ADDR(esi - _b + 4u), _b); esi -= _b; edi -= _b; } ecx = 0; } 11457 ecx = ebx; /* 0x36094E60: mov ecx, ebx */ 11458 eax = ebp + (-0xA0); /* 0x36094E62: lea eax, [ebp - 0xa0] */ 11459 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(3); 11460 ecx = ecx & 3; /* 0x36094E68: and ecx, 3 */ 11461 _cf = 0; 11462 _flag_k = FK_TEST; 11463 PUSH32(esp, 0x361C5ED4u); /* 0x36094E6B: push 0x361c5ed4 */ 11464 PUSH32(esp, eax); /* 0x36094E70: push eax */ 11465 if (ecx) { uint32_t _n = ecx, _b = _n * 1u; /* 0x36094E71: rep movsb byte ptr es:[edi], byte ptr [esi] */ if (_df > 0) { memmove((void*)ADDR(edi), (void*)ADDR(esi), _b); esi += _b; edi += _b; } else { memmove((void*)ADDR(edi - _b + 1u), (void*)ADDR(esi - _b + 1u), _b); esi -= _b; edi -= _b; } ecx = 0; } 11466 RECOMP_ICALL(MEM32(0x3616F1DC)); /* 0x36094E73: call dword ptr [0x3616f1dc] */ 11467 RECOMP_FLAGS_IN(); 11468 edi = eax; /* 0x36094E79: mov edi, eax */ 11469 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 11470 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11471 esp = esp + 8; /* 0x36094E7B: add esp, 8 */ 11472 _flag_k = FK_ADD; 11473 /* test edi, edi */ /* 0x36094E7E: test edi, edi */ 11474 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(edi); 11475 _cf = 0; 11476 _flag_k = FK_TEST; 11477 if (TEST_Z(_flag_a, _flag_b)) goto L_36094F64; /* 0x36094E80: je 0x36094f64 */ 11478 L_36094E86: 11479 /* test MEM8(edi + 0xC), 0x10u */ /* 0x36094E86: test byte ptr [edi + 0xc], 0x10 */ 11480 _flag_a = (uint32_t)(MEM8(edi + 0xC)) << 24; _flag_b = (uint32_t)(0x10u) << 24; 11481 _cf = 0; 11482 _flag_k = FK_NARROW(FK_TEST, 24); 11483 if (TEST_NZ(_flag_a, _flag_b)) goto L_36094F5A; /* 0x36094E8A: jne 0x36094f5a */ 11484 L_36094E90: 11485 ebx = MEM32(0x3616F240); /* 0x36094E90: mov ebx, dword ptr [0x3616f240] */ 11486 L_36094E96: 11487 ecx = ebp + (-0x1A0); /* 0x36094E96: lea ecx, [ebp - 0x1a0] */ 11488 PUSH32(esp, ecx); /* 0x36094E9C: push ecx */ 11489 edx = ebp + (-0x4); /* 0x36094E9D: lea edx, [ebp - 4] */ 11490 PUSH32(esp, edx); /* 0x36094EA0: push edx */ 11491 PUSH32(esp, 0x361C5ECCu); /* 0x36094EA1: push 0x361c5ecc */ 11492 PUSH32(esp, edi); /* 0x36094EA6: push edi */ 11493 RECOMP_ICALL(MEM32(0x3616F1D8)); /* 0x36094EA7: call dword ptr [0x3616f1d8] */ 11494 RECOMP_FLAGS_IN(); 11495 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x10u); 11496 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11497 esp = esp + 0x10u; /* 0x36094EAD: add esp, 0x10 */ 11498 _flag_k = FK_ADD; 11499 /* cmp eax, 2 */ /* 0x36094EB0: cmp eax, 2 */ 11500 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(2); 11501 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11502 _flag_k = FK_CMP; 11503 if (CMP_NE(_flag_a, _flag_b)) goto L_36094F3A; /* 0x36094EB3: jne 0x36094f3a */ 11504 L_36094EB9: 11505 esi = MEM32(0x361C5EC8); /* 0x36094EB9: mov esi, dword ptr [0x361c5ec8] */ 11506 eax = ebp + (-0x4); /* 0x36094EBF: lea eax, [ebp - 4] */ 11507 PUSH32(esp, eax); /* 0x36094EC2: push eax */ 11508 ecx = esi; /* 0x36094EC3: mov ecx, esi */ 11509 RECOMP_ICALL(0x36076670u); /* 0x36094EC5: call 0x36076670 */ /* not lifted */ 11510 RECOMP_FLAGS_IN(); 11511 esi = MEM32(esi + 0x4); /* 0x36094ECA: mov esi, dword ptr [esi + 4] */ 11512 /* cmp eax, esi */ /* 0x36094ECD: cmp eax, esi */ 11513 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 11514 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11515 _flag_k = FK_CMP; 11516 MEM32(ebp + (-0x14)) = eax; /* 0x36094ECF: mov dword ptr [ebp - 0x14], eax */ 11517 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094EE1; /* 0x36094ED2: je 0x36094ee1 */ 11518 L_36094ED4: 11519 ecx = MEM32(ebp + (-0x4)); /* 0x36094ED4: mov ecx, dword ptr [ebp - 4] */ 11520 /* cmp ecx, MEM32(eax + 0xC) */ /* 0x36094ED7: cmp ecx, dword ptr [eax + 0xc] */ 11521 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(MEM32(eax + 0xC)); 11522 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11523 _flag_k = FK_CMP; 11524 if (CMP_L(_flag_a, _flag_b)) goto L_36094EE1; /* 0x36094EDA: jl 0x36094ee1 */ 11525 L_36094EDC: 11526 eax = ebp + (-0x14); /* 0x36094EDC: lea eax, [ebp - 0x14] */ 11527 goto L_36094EE7; /* 0x36094EDF: jmp 0x36094ee7 */ 11528 L_36094EE1: 11529 MEM32(ebp + (-0x8)) = esi; /* 0x36094EE1: mov dword ptr [ebp - 8], esi */ 11530 eax = ebp + (-0x8); /* 0x36094EE4: lea eax, [ebp - 8] */ 11531 L_36094EE7: 11532 edx = MEM32(0x361C5EC8); /* 0x36094EE7: mov edx, dword ptr [0x361c5ec8] */ 11533 eax = MEM32(eax); /* 0x36094EED: mov eax, dword ptr [eax] */ 11534 /* cmp eax, MEM32(edx + 0x4) */ /* 0x36094EEF: cmp eax, dword ptr [edx + 4] */ 11535 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(MEM32(edx + 0x4)); 11536 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11537 _flag_k = FK_CMP; 11538 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094F01; /* 0x36094EF2: je 0x36094f01 */ 11539 L_36094EF4: 11540 eax = MEM32(eax + 0x10); /* 0x36094EF4: mov eax, dword ptr [eax + 0x10] */ 11541 PUSH32(esp, eax); /* 0x36094EF7: push eax */ 11542 RECOMP_ICALL(MEM32(0x3616F1A4)); /* 0x36094EF8: call dword ptr [0x3616f1a4] */ 11543 RECOMP_FLAGS_IN(); 11544 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11545 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11546 esp = esp + 4; /* 0x36094EFE: add esp, 4 */ 11547 _flag_k = FK_ADD; 11548 L_36094F01: 11549 ecx = MEM32(ebp + (-0x4)); /* 0x36094F01: mov ecx, dword ptr [ebp - 4] */ 11550 edx = ebp + (-0x10); /* 0x36094F04: lea edx, [ebp - 0x10] */ 11551 PUSH32(esp, edx); /* 0x36094F07: push edx */ 11552 eax = ebp + (-0x20); /* 0x36094F08: lea eax, [ebp - 0x20] */ 11553 MEM32(ebp + (-0x10)) = ecx; /* 0x36094F0B: mov dword ptr [ebp - 0x10], ecx */ 11554 ecx = MEM32(0x361C5EC8); /* 0x36094F0E: mov ecx, dword ptr [0x361c5ec8] */ 11555 PUSH32(esp, eax); /* 0x36094F14: push eax */ 11556 MEM32(ebp + (-0xC)) = 0; /* 0x36094F15: mov dword ptr [ebp - 0xc], 0 */ 11557 RECOMP_ICALL(0x3603E790u); /* 0x36094F1C: call 0x3603e790 */ /* not lifted */ 11558 RECOMP_FLAGS_IN(); 11559 esi = MEM32(eax); /* 0x36094F21: mov esi, dword ptr [eax] */ 11560 ecx = MEM32(eax + 0x4); /* 0x36094F23: mov ecx, dword ptr [eax + 4] */ 11561 edx = ebp + (-0x1A0); /* 0x36094F26: lea edx, [ebp - 0x1a0] */ 11562 PUSH32(esp, edx); /* 0x36094F2C: push edx */ 11563 MEM32(ebp + (-0x14)) = ecx; /* 0x36094F2D: mov dword ptr [ebp - 0x14], ecx */ 11564 RECOMP_ICALL(ebx); /* 0x36094F30: call ebx */ 11565 RECOMP_FLAGS_IN(); 11566 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11567 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11568 esp = esp + 4; /* 0x36094F32: add esp, 4 */ 11569 _flag_k = FK_ADD; 11570 MEM32(esi + 0x10) = eax; /* 0x36094F35: mov dword ptr [esi + 0x10], eax */ 11571 goto L_36094F50; /* 0x36094F38: jmp 0x36094f50 */ 11572 L_36094F3A: 11573 PUSH32(esp, edi); /* 0x36094F3A: push edi */ 11574 eax = ebp + (-0x3A0); /* 0x36094F3B: lea eax, [ebp - 0x3a0] */ 11575 PUSH32(esp, 0x1FFu); /* 0x36094F41: push 0x1ff */ 11576 PUSH32(esp, eax); /* 0x36094F46: push eax */ 11577 RECOMP_ICALL(MEM32(0x3616F1D4)); /* 0x36094F47: call dword ptr [0x3616f1d4] */ 11578 RECOMP_FLAGS_IN(); 11579 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0xCu); 11580 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11581 esp = esp + 0xCu; /* 0x36094F4D: add esp, 0xc */ 11582 _flag_k = FK_ADD; 11583 L_36094F50: 11584 /* test MEM8(edi + 0xC), 0x10u */ /* 0x36094F50: test byte ptr [edi + 0xc], 0x10 */ 11585 _flag_a = (uint32_t)(MEM8(edi + 0xC)) << 24; _flag_b = (uint32_t)(0x10u) << 24; 11586 _cf = 0; 11587 _flag_k = FK_NARROW(FK_TEST, 24); 11588 RECOMP_BACKEDGE(); 11589 if (TEST_Z(_flag_a, _flag_b)) goto L_36094E96; /* 0x36094F54: je 0x36094e96 */ 11590 L_36094F5A: 11591 PUSH32(esp, edi); /* 0x36094F5A: push edi */ 11592 RECOMP_ICALL(MEM32(0x3616F1D0)); /* 0x36094F5B: call dword ptr [0x3616f1d0] */ 11593 RECOMP_FLAGS_IN(); 11594 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11595 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11596 esp = esp + 4; /* 0x36094F61: add esp, 4 */ 11597 _flag_k = FK_ADD; 11598 L_36094F64: 11599 edi = POP32_VAL(esp); /* 0x36094F64: pop edi */ 11600 esi = POP32_VAL(esp); /* 0x36094F65: pop esi */ 11601 ebx = POP32_VAL(esp); /* 0x36094F66: pop ebx */ 11602 esp = ebp; /* 0x36094F67: mov esp, ebp */ 11603 ebp = POP32_VAL(esp); /* 0x36094F69: pop ebp */ 11604 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094F6A: ret */ 11605 RECOMP_REGS_OUT(); 11606 } 11607 11608 void sub_36094F70(void) { 11609 int _fpu_cmp = 0; 11610 uint32_t _cf = 0; 11611 int _df = 1; 11612 uint32_t _flag_k = FK_NONE; 11613 uint32_t _flag_a = 0, _flag_b = 0; 11614 uint32_t _itail_tgt = 0; 11615 RECOMP_REGS_LOCALS 11616 RECOMP_ENTER(0x36094F70u); 11617 11618 L_36094F70: 11619 PUSH32(esp, ebp); /* 0x36094F70: push ebp */ 11620 ebp = esp; /* 0x36094F71: mov ebp, esp */ 11621 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x18u); 11622 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11623 esp = esp - 0x18u; /* 0x36094F73: sub esp, 0x18 */ 11624 _flag_k = FK_CMP; 11625 PUSH32(esp, esi); /* 0x36094F76: push esi */ 11626 esi = MEM32(0x361C5EC8); /* 0x36094F77: mov esi, dword ptr [0x361c5ec8] */ 11627 PUSH32(esp, edi); /* 0x36094F7D: push edi */ 11628 edi = MEM32(esi + 0x4); /* 0x36094F7E: mov edi, dword ptr [esi + 4] */ 11629 eax = ebp + 0x8; /* 0x36094F81: lea eax, [ebp + 8] */ 11630 PUSH32(esp, eax); /* 0x36094F84: push eax */ 11631 ecx = esi; /* 0x36094F85: mov ecx, esi */ 11632 RECOMP_ICALL(0x36076670u); /* 0x36094F87: call 0x36076670 */ /* not lifted */ 11633 RECOMP_FLAGS_IN(); 11634 esi = MEM32(esi + 0x4); /* 0x36094F8C: mov esi, dword ptr [esi + 4] */ 11635 /* cmp eax, esi */ /* 0x36094F8F: cmp eax, esi */ 11636 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 11637 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11638 _flag_k = FK_CMP; 11639 edx = MEM32(ebp + 0x8); /* 0x36094F91: mov edx, dword ptr [ebp + 8] */ 11640 MEM32(ebp + (-0x4)) = eax; /* 0x36094F94: mov dword ptr [ebp - 4], eax */ 11641 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094FA3; /* 0x36094F97: je 0x36094fa3 */ 11642 L_36094F99: 11643 /* cmp edx, MEM32(eax + 0xC) */ /* 0x36094F99: cmp edx, dword ptr [eax + 0xc] */ 11644 _flag_a = (uint32_t)(edx); _flag_b = (uint32_t)(MEM32(eax + 0xC)); 11645 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11646 _flag_k = FK_CMP; 11647 if (CMP_L(_flag_a, _flag_b)) goto L_36094FA3; /* 0x36094F9C: jl 0x36094fa3 */ 11648 L_36094F9E: 11649 eax = ebp + (-0x4); /* 0x36094F9E: lea eax, [ebp - 4] */ 11650 goto L_36094FA9; /* 0x36094FA1: jmp 0x36094fa9 */ 11651 L_36094FA3: 11652 MEM32(ebp + (-0xC)) = esi; /* 0x36094FA3: mov dword ptr [ebp - 0xc], esi */ 11653 eax = ebp + (-0xC); /* 0x36094FA6: lea eax, [ebp - 0xc] */ 11654 L_36094FA9: 11655 /* cmp MEM32(eax), edi */ /* 0x36094FA9: cmp dword ptr [eax], edi */ 11656 _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(edi); 11657 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11658 _flag_k = FK_CMP; 11659 edi = POP32_VAL(esp); /* 0x36094FAB: pop edi */ 11660 esi = POP32_VAL(esp); /* 0x36094FAC: pop esi */ 11661 if (CMP_EQ(_flag_a, _flag_b)) goto L_36094FDD; /* 0x36094FAD: je 0x36094fdd */ 11662 L_36094FAF: 11663 ecx = MEM32(0x361C5EC8); /* 0x36094FAF: mov ecx, dword ptr [0x361c5ec8] */ 11664 MEM32(ebp + (-0x10)) = edx; /* 0x36094FB5: mov dword ptr [ebp - 0x10], edx */ 11665 edx = ebp + (-0x10); /* 0x36094FB8: lea edx, [ebp - 0x10] */ 11666 PUSH32(esp, edx); /* 0x36094FBB: push edx */ 11667 eax = ebp + (-0x8); /* 0x36094FBC: lea eax, [ebp - 8] */ 11668 PUSH32(esp, eax); /* 0x36094FBF: push eax */ 11669 MEM32(ebp + (-0xC)) = 0; /* 0x36094FC0: mov dword ptr [ebp - 0xc], 0 */ 11670 RECOMP_ICALL(0x3603E790u); /* 0x36094FC7: call 0x3603e790 */ /* not lifted */ 11671 RECOMP_FLAGS_IN(); 11672 ecx = eax; /* 0x36094FCC: mov ecx, eax */ 11673 eax = MEM32(ecx); /* 0x36094FCE: mov eax, dword ptr [ecx] */ 11674 edx = MEM32(ecx + 0x4); /* 0x36094FD0: mov edx, dword ptr [ecx + 4] */ 11675 eax = MEM32(eax + 0x10); /* 0x36094FD3: mov eax, dword ptr [eax + 0x10] */ 11676 MEM32(ebp + (-0x14)) = edx; /* 0x36094FD6: mov dword ptr [ebp - 0x14], edx */ 11677 esp = ebp; /* 0x36094FD9: mov esp, ebp */ 11678 ebp = POP32_VAL(esp); /* 0x36094FDB: pop ebp */ 11679 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094FDC: ret */ 11680 L_36094FDD: 11681 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11682 eax = 0; /* 0x36094FDD: xor eax, eax */ 11683 _cf = 0; 11684 _flag_k = FK_TEST; 11685 esp = ebp; /* 0x36094FDF: mov esp, ebp */ 11686 ebp = POP32_VAL(esp); /* 0x36094FE1: pop ebp */ 11687 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094FE2: ret */ 11688 RECOMP_REGS_OUT(); 11689 } 11690 11691 void sub_36094FF0(void) { 11692 int _fpu_cmp = 0; 11693 uint32_t _cf = 0; 11694 int _df = 1; 11695 uint32_t _flag_k = FK_NONE; 11696 uint32_t _flag_a = 0, _flag_b = 0; 11697 uint32_t _itail_tgt = 0; 11698 RECOMP_REGS_LOCALS 11699 RECOMP_ENTER(0x36094FF0u); 11700 11701 L_36094FF0: 11702 eax = 0x36306B68u; /* 0x36094FF0: mov eax, 0x36306b68 */ 11703 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36094FF5: ret */ 11704 RECOMP_REGS_OUT(); 11705 } 11706 11707 void sub_36095000(void) { 11708 int _fpu_cmp = 0; 11709 uint32_t _cf = 0; 11710 int _df = 1; 11711 uint32_t _flag_k = FK_NONE; 11712 uint32_t _flag_a = 0, _flag_b = 0; 11713 uint32_t _itail_tgt = 0; 11714 RECOMP_REGS_LOCALS 11715 RECOMP_ENTER(0x36095000u); 11716 11717 L_36095000: 11718 PUSH32(esp, ebp); /* 0x36095000: push ebp */ 11719 ebp = esp; /* 0x36095001: mov ebp, esp */ 11720 PUSH32(esp, 0xFFFFFFFFu); /* 0x36095003: push -1 */ 11721 PUSH32(esp, 0x36166416u); /* 0x36095005: push 0x36166416 */ 11722 eax = MEM32(FS_BASE + (0)); /* 0x3609500A: mov eax, dword ptr fs:[0] */ 11723 PUSH32(esp, eax); /* 0x36095010: push eax */ 11724 MEM32(FS_BASE + (0)) = esp; /* 0x36095011: mov dword ptr fs:[0], esp */ 11725 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 11726 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11727 esp = esp - 8; /* 0x36095018: sub esp, 8 */ 11728 _flag_k = FK_CMP; 11729 SET_LO8(eax, MEM8(ebp + (-0xD))); /* 0x3609501B: mov al, byte ptr [ebp - 0xd] */ 11730 PUSH32(esp, ebx); /* 0x3609501E: push ebx */ 11731 PUSH32(esp, esi); /* 0x3609501F: push esi */ 11732 esi = ecx; /* 0x36095020: mov esi, ecx */ 11733 PUSH32(esp, 0xCu); /* 0x36095022: push 0xc */ 11734 MEM32(ebp + (-0x14)) = esi; /* 0x36095024: mov dword ptr [ebp - 0x14], esi */ 11735 MEM8(esi + 0xC) = (uint8_t)(LO8(eax)); /* 0x36095027: mov byte ptr [esi + 0xc], al */ 11736 RECOMP_ICALL(0x3615FD6Au); /* 0x3609502A: call 0x3615fd6a */ /* not lifted */ 11737 RECOMP_FLAGS_IN(); 11738 MEM32(eax) = eax; /* 0x3609502F: mov dword ptr [eax], eax */ 11739 MEM32(eax + 0x4) = eax; /* 0x36095031: mov dword ptr [eax + 4], eax */ 11740 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 11741 ebx = 0; /* 0x36095034: xor ebx, ebx */ 11742 _cf = 0; 11743 _flag_k = FK_TEST; 11744 MEM32(esi + 0x10) = eax; /* 0x36095036: mov dword ptr [esi + 0x10], eax */ 11745 MEM32(esi + 0x14) = ebx; /* 0x36095039: mov dword ptr [esi + 0x14], ebx */ 11746 SET_LO8(ecx, MEM8(ebp + (-0xD))); /* 0x3609503C: mov cl, byte ptr [ebp - 0xd] */ 11747 PUSH32(esp, 0xCu); /* 0x3609503F: push 0xc */ 11748 MEM32(ebp + (-0x4)) = ebx; /* 0x36095041: mov dword ptr [ebp - 4], ebx */ 11749 MEM8(esi + 0x18) = (uint8_t)(LO8(ecx)); /* 0x36095044: mov byte ptr [esi + 0x18], cl */ 11750 RECOMP_ICALL(0x3615FD6Au); /* 0x36095047: call 0x3615fd6a */ /* not lifted */ 11751 RECOMP_FLAGS_IN(); 11752 MEM32(eax) = eax; /* 0x3609504C: mov dword ptr [eax], eax */ 11753 MEM32(eax + 0x4) = eax; /* 0x3609504E: mov dword ptr [eax + 4], eax */ 11754 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 11755 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11756 esp = esp + 8; /* 0x36095051: add esp, 8 */ 11757 _flag_k = FK_ADD; 11758 MEM32(esi + 0x1C) = eax; /* 0x36095054: mov dword ptr [esi + 0x1c], eax */ 11759 MEM32(esi + 0x20) = ebx; /* 0x36095057: mov dword ptr [esi + 0x20], ebx */ 11760 ecx = esi + 0x24; /* 0x3609505A: lea ecx, [esi + 0x24] */ 11761 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x3609505D: mov byte ptr [ebp - 4], 1 */ 11762 RECOMP_ICALL(0x360BFE20u); /* 0x36095061: call 0x360bfe20 */ /* not lifted */ 11763 RECOMP_FLAGS_IN(); 11764 ecx = MEM32(ebp + (-0xC)); /* 0x36095066: mov ecx, dword ptr [ebp - 0xc] */ 11765 MEM8(esi + 0x58) = (uint8_t)(LO8(ebx)); /* 0x36095069: mov byte ptr [esi + 0x58], bl */ 11766 MEM32(esi + 0x4) = ebx; /* 0x3609506C: mov dword ptr [esi + 4], ebx */ 11767 MEM8(esi + 0x8) = (uint8_t)(1); /* 0x3609506F: mov byte ptr [esi + 8], 1 */ 11768 eax = esi; /* 0x36095073: mov eax, esi */ 11769 esi = POP32_VAL(esp); /* 0x36095075: pop esi */ 11770 ebx = POP32_VAL(esp); /* 0x36095076: pop ebx */ 11771 MEM32(FS_BASE + (0)) = ecx; /* 0x36095077: mov dword ptr fs:[0], ecx */ 11772 esp = ebp; /* 0x3609507E: mov esp, ebp */ 11773 ebp = POP32_VAL(esp); /* 0x36095080: pop ebp */ 11774 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36095081: ret */ 11775 RECOMP_REGS_OUT(); 11776 } 11777 11778 void sub_36095090(void) { 11779 int _fpu_cmp = 0; 11780 uint32_t _cf = 0; 11781 int _df = 1; 11782 uint32_t _flag_k = FK_NONE; 11783 uint32_t _flag_a = 0, _flag_b = 0; 11784 uint32_t _itail_tgt = 0; 11785 RECOMP_REGS_LOCALS 11786 RECOMP_ENTER(0x36095090u); 11787 11788 L_36095090: 11789 PUSH32(esp, ebp); /* 0x36095090: push ebp */ 11790 ebp = esp; /* 0x36095091: mov ebp, esp */ 11791 PUSH32(esp, 0xFFFFFFFFu); /* 0x36095093: push -1 */ 11792 PUSH32(esp, 0x36166441u); /* 0x36095095: push 0x36166441 */ 11793 eax = MEM32(FS_BASE + (0)); /* 0x3609509A: mov eax, dword ptr fs:[0] */ 11794 PUSH32(esp, eax); /* 0x360950A0: push eax */ 11795 MEM32(FS_BASE + (0)) = esp; /* 0x360950A1: mov dword ptr fs:[0], esp */ 11796 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(0x38u); 11797 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11798 esp = esp - 0x38u; /* 0x360950A8: sub esp, 0x38 */ 11799 _flag_k = FK_CMP; 11800 PUSH32(esp, ebx); /* 0x360950AB: push ebx */ 11801 PUSH32(esp, esi); /* 0x360950AC: push esi */ 11802 PUSH32(esp, edi); /* 0x360950AD: push edi */ 11803 edi = ecx; /* 0x360950AE: mov edi, ecx */ 11804 MEM32(ebp + (-0x1C)) = edi; /* 0x360950B0: mov dword ptr [ebp - 0x1c], edi */ 11805 eax = MEM32(edi + 0x10); /* 0x360950B3: mov eax, dword ptr [edi + 0x10] */ 11806 esi = MEM32(eax); /* 0x360950B6: mov esi, dword ptr [eax] */ 11807 /* cmp esi, eax */ /* 0x360950B8: cmp esi, eax */ 11808 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 11809 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11810 _flag_k = FK_CMP; 11811 MEM32(ebp + (-0x4)) = 2; /* 0x360950BA: mov dword ptr [ebp - 4], 2 */ 11812 if (CMP_EQ(_flag_a, _flag_b)) goto L_360950F1; /* 0x360950C1: je 0x360950f1 */ 11813 L_360950C3: 11814 eax = MEM32(esi + 0x8); /* 0x360950C3: mov eax, dword ptr [esi + 8] */ 11815 ebx = MEM32(eax); /* 0x360950C6: mov ebx, dword ptr [eax] */ 11816 /* test ebx, ebx */ /* 0x360950C8: test ebx, ebx */ 11817 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(ebx); 11818 _cf = 0; 11819 _flag_k = FK_TEST; 11820 if (TEST_Z(_flag_a, _flag_b)) goto L_360950DC; /* 0x360950CA: je 0x360950dc */ 11821 L_360950CC: 11822 ecx = ebx; /* 0x360950CC: mov ecx, ebx */ 11823 RECOMP_ICALL(0x360055D0u); /* 0x360950CE: call 0x360055d0 */ /* not lifted */ 11824 RECOMP_FLAGS_IN(); 11825 PUSH32(esp, ebx); /* 0x360950D3: push ebx */ 11826 RECOMP_ICALL(0x3615FCC4u); /* 0x360950D4: call 0x3615fcc4 */ /* not lifted */ 11827 RECOMP_FLAGS_IN(); 11828 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11829 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11830 esp = esp + 4; /* 0x360950D9: add esp, 4 */ 11831 _flag_k = FK_ADD; 11832 L_360950DC: 11833 eax = MEM32(esi + 0x8); /* 0x360950DC: mov eax, dword ptr [esi + 8] */ 11834 PUSH32(esp, eax); /* 0x360950DF: push eax */ 11835 RECOMP_ICALL(0x3615FCC4u); /* 0x360950E0: call 0x3615fcc4 */ /* not lifted */ 11836 RECOMP_FLAGS_IN(); 11837 esi = MEM32(esi); /* 0x360950E5: mov esi, dword ptr [esi] */ 11838 eax = MEM32(edi + 0x10); /* 0x360950E7: mov eax, dword ptr [edi + 0x10] */ 11839 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 11840 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11841 esp = esp + 4; /* 0x360950EA: add esp, 4 */ 11842 _flag_k = FK_ADD; 11843 /* cmp esi, eax */ /* 0x360950ED: cmp esi, eax */ 11844 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 11845 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11846 _flag_k = FK_CMP; 11847 RECOMP_BACKEDGE(); 11848 if (CMP_NE(_flag_a, _flag_b)) goto L_360950C3; /* 0x360950EF: jne 0x360950c3 */ 11849 L_360950F1: 11850 eax = MEM32(edi + 0x10); /* 0x360950F1: mov eax, dword ptr [edi + 0x10] */ 11851 edx = MEM32(eax); /* 0x360950F4: mov edx, dword ptr [eax] */ 11852 ecx = edi + 0xC; /* 0x360950F6: lea ecx, [edi + 0xc] */ 11853 PUSH32(esp, eax); /* 0x360950F9: push eax */ 11854 PUSH32(esp, edx); /* 0x360950FA: push edx */ 11855 edx = ebp + (-0x14); /* 0x360950FB: lea edx, [ebp - 0x14] */ 11856 PUSH32(esp, edx); /* 0x360950FE: push edx */ 11857 MEM32(ebp + (-0x18)) = ecx; /* 0x360950FF: mov dword ptr [ebp - 0x18], ecx */ 11858 RECOMP_ICALL(0x360AA870u); /* 0x36095102: call 0x360aa870 */ /* not lifted */ 11859 RECOMP_FLAGS_IN(); 11860 eax = MEM32(edi + 0x1C); /* 0x36095107: mov eax, dword ptr [edi + 0x1c] */ 11861 esi = MEM32(eax); /* 0x3609510A: mov esi, dword ptr [eax] */ 11862 /* cmp esi, eax */ /* 0x3609510C: cmp esi, eax */ 11863 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 11864 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11865 _flag_k = FK_CMP; 11866 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609511F; /* 0x3609510E: je 0x3609511f */ 11867 L_36095110: 11868 ecx = MEM32(esi + 0x8); /* 0x36095110: mov ecx, dword ptr [esi + 8] */ 11869 RECOMP_ICALL(0x360C35F0u); /* 0x36095113: call 0x360c35f0 */ /* not lifted */ 11870 RECOMP_FLAGS_IN(); 11871 esi = MEM32(esi); /* 0x36095118: mov esi, dword ptr [esi] */ 11872 /* cmp esi, MEM32(edi + 0x1C) */ /* 0x3609511A: cmp esi, dword ptr [edi + 0x1c] */ 11873 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(edi + 0x1C)); 11874 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11875 _flag_k = FK_CMP; 11876 RECOMP_BACKEDGE(); 11877 if (CMP_NE(_flag_a, _flag_b)) goto L_36095110; /* 0x3609511D: jne 0x36095110 */ 11878 L_3609511F: 11879 esi = MEM32(edi + 0x1C); /* 0x3609511F: mov esi, dword ptr [edi + 0x1c] */ 11880 eax = MEM32(esi); /* 0x36095122: mov eax, dword ptr [esi] */ 11881 /* cmp eax, esi */ /* 0x36095124: cmp eax, esi */ 11882 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 11883 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11884 _flag_k = FK_CMP; 11885 ebx = edi + 0x18; /* 0x36095126: lea ebx, [edi + 0x18] */ 11886 MEM32(ebp + (-0x14)) = ebx; /* 0x36095129: mov dword ptr [ebp - 0x14], ebx */ 11887 MEM32(ebp + (-0x10)) = eax; /* 0x3609512C: mov dword ptr [ebp - 0x10], eax */ 11888 if (CMP_EQ(_flag_a, _flag_b)) goto L_36095152; /* 0x3609512F: je 0x36095152 */ 11889 L_36095131: 11890 PUSH32(esp, 0); /* 0x36095131: push 0 */ 11891 eax = ebp + (-0x20); /* 0x36095133: lea eax, [ebp - 0x20] */ 11892 PUSH32(esp, eax); /* 0x36095136: push eax */ 11893 ecx = ebp + (-0x10); /* 0x36095137: lea ecx, [ebp - 0x10] */ 11894 RECOMP_ICALL(0x360641D0u); /* 0x3609513A: call 0x360641d0 */ /* not lifted */ 11895 RECOMP_FLAGS_IN(); 11896 ecx = MEM32(eax); /* 0x3609513F: mov ecx, dword ptr [eax] */ 11897 PUSH32(esp, ecx); /* 0x36095141: push ecx */ 11898 edx = ebp + (-0x24); /* 0x36095142: lea edx, [ebp - 0x24] */ 11899 PUSH32(esp, edx); /* 0x36095145: push edx */ 11900 ecx = ebx; /* 0x36095146: mov ecx, ebx */ 11901 RECOMP_ICALL(0x360C86A0u); /* 0x36095148: call 0x360c86a0 */ /* not lifted */ 11902 RECOMP_FLAGS_IN(); 11903 /* cmp MEM32(ebp + (-0x10)), esi */ /* 0x3609514D: cmp dword ptr [ebp - 0x10], esi */ 11904 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(esi); 11905 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11906 _flag_k = FK_CMP; 11907 RECOMP_BACKEDGE(); 11908 if (CMP_NE(_flag_a, _flag_b)) goto L_36095131; /* 0x36095150: jne 0x36095131 */ 11909 L_36095152: 11910 eax = ebp + (-0x44); /* 0x36095152: lea eax, [ebp - 0x44] */ 11911 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(0x24u); 11912 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11913 edi = edi + 0x24u; /* 0x36095155: add edi, 0x24 */ 11914 _flag_k = FK_ADD; 11915 PUSH32(esp, eax); /* 0x36095158: push eax */ 11916 ecx = edi; /* 0x36095159: mov ecx, edi */ 11917 RECOMP_ICALL(0x360C02D0u); /* 0x3609515B: call 0x360c02d0 */ /* not lifted */ 11918 RECOMP_FLAGS_IN(); 11919 ecx = MEM32(eax); /* 0x36095160: mov ecx, dword ptr [eax] */ 11920 edx = MEM32(eax + 0x4); /* 0x36095162: mov edx, dword ptr [eax + 4] */ 11921 esi = MEM32(eax + 0x8); /* 0x36095165: mov esi, dword ptr [eax + 8] */ 11922 ebx = MEM32(eax + 0xC); /* 0x36095168: mov ebx, dword ptr [eax + 0xc] */ 11923 eax = ebp + (-0x44); /* 0x3609516B: lea eax, [ebp - 0x44] */ 11924 MEM32(ebp + (-0x34)) = ecx; /* 0x3609516E: mov dword ptr [ebp - 0x34], ecx */ 11925 PUSH32(esp, eax); /* 0x36095171: push eax */ 11926 ecx = edi; /* 0x36095172: mov ecx, edi */ 11927 MEM32(ebp + (-0x30)) = edx; /* 0x36095174: mov dword ptr [ebp - 0x30], edx */ 11928 RECOMP_ICALL(0x360C0300u); /* 0x36095177: call 0x360c0300 */ /* not lifted */ 11929 RECOMP_FLAGS_IN(); 11930 /* cmp esi, MEM32(eax + 0x8) */ /* 0x3609517C: cmp esi, dword ptr [eax + 8] */ 11931 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 11932 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11933 _flag_k = FK_CMP; 11934 SET_LO8(eax, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x3609517F: setne al */ 11935 /* test LO8(eax), LO8(eax) */ /* 0x36095182: test al, al */ 11936 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11937 _cf = 0; 11938 _flag_k = FK_NARROW(FK_TEST, 24); 11939 if (TEST_Z(_flag_a, _flag_b)) goto L_360951C6; /* 0x36095184: je 0x360951c6 */ 11940 L_36095186: 11941 ecx = MEM32(esi); /* 0x36095186: mov ecx, dword ptr [esi] */ 11942 RECOMP_ICALL(0x360B7D60u); /* 0x36095188: call 0x360b7d60 */ /* not lifted */ 11943 RECOMP_FLAGS_IN(); 11944 eax = MEM32(ebp + (-0x30)); /* 0x3609518D: mov eax, dword ptr [ebp - 0x30] */ 11945 /* cmp esi, eax */ /* 0x36095190: cmp esi, eax */ 11946 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 11947 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11948 _flag_k = FK_CMP; 11949 if (CMP_EQ(_flag_a, _flag_b)) goto L_360951B1; /* 0x36095192: je 0x360951b1 */ 11950 L_36095194: 11951 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(4); 11952 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11953 esi = esi + 4; /* 0x36095194: add esi, 4 */ 11954 _flag_k = FK_ADD; 11955 /* cmp esi, eax */ /* 0x36095197: cmp esi, eax */ 11956 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(eax); 11957 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11958 _flag_k = FK_CMP; 11959 if (CMP_NE(_flag_a, _flag_b)) goto L_360951B1; /* 0x36095199: jne 0x360951b1 */ 11960 L_3609519B: 11961 eax = MEM32(ebx + 0x4); /* 0x3609519B: mov eax, dword ptr [ebx + 4] */ 11962 /* test eax, eax */ /* 0x3609519E: test eax, eax */ 11963 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 11964 _cf = 0; 11965 _flag_k = FK_TEST; 11966 if (TEST_Z(_flag_a, _flag_b)) goto L_360951B1; /* 0x360951A0: je 0x360951b1 */ 11967 L_360951A2: 11968 esi = MEM32(ebx + 0x4); /* 0x360951A2: mov esi, dword ptr [ebx + 4] */ 11969 _flag_a = (uint32_t)(ebx); _flag_b = (uint32_t)(4); 11970 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 11971 ebx = ebx + 4; /* 0x360951A5: add ebx, 4 */ 11972 _flag_k = FK_ADD; 11973 ecx = esi + 0x1000; /* 0x360951A8: lea ecx, [esi + 0x1000] */ 11974 MEM32(ebp + (-0x30)) = ecx; /* 0x360951AE: mov dword ptr [ebp - 0x30], ecx */ 11975 L_360951B1: 11976 edx = ebp + (-0x44); /* 0x360951B1: lea edx, [ebp - 0x44] */ 11977 PUSH32(esp, edx); /* 0x360951B4: push edx */ 11978 ecx = edi; /* 0x360951B5: mov ecx, edi */ 11979 RECOMP_ICALL(0x360C0300u); /* 0x360951B7: call 0x360c0300 */ /* not lifted */ 11980 RECOMP_FLAGS_IN(); 11981 /* cmp esi, MEM32(eax + 0x8) */ /* 0x360951BC: cmp esi, dword ptr [eax + 8] */ 11982 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(MEM32(eax + 0x8)); 11983 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 11984 _flag_k = FK_CMP; 11985 SET_LO8(eax, (CMP_NE(_flag_a, _flag_b)) ? 1 : 0); /* 0x360951BF: setne al */ 11986 /* test LO8(eax), LO8(eax) */ /* 0x360951C2: test al, al */ 11987 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 11988 _cf = 0; 11989 _flag_k = FK_NARROW(FK_TEST, 24); 11990 RECOMP_BACKEDGE(); 11991 if (TEST_NZ(_flag_a, _flag_b)) goto L_36095186; /* 0x360951C4: jne 0x36095186 */ 11992 L_360951C6: 11993 ecx = edi; /* 0x360951C6: mov ecx, edi */ 11994 RECOMP_ICALL(0x360C0330u); /* 0x360951C8: call 0x360c0330 */ /* not lifted */ 11995 RECOMP_FLAGS_IN(); 11996 ecx = edi; /* 0x360951CD: mov ecx, edi */ 11997 MEM8(ebp + (-0x4)) = (uint8_t)(1); /* 0x360951CF: mov byte ptr [ebp - 4], 1 */ 11998 RECOMP_ICALL(0x360BFE90u); /* 0x360951D3: call 0x360bfe90 */ /* not lifted */ 11999 RECOMP_FLAGS_IN(); 12000 esi = MEM32(ebp + (-0x14)); /* 0x360951D8: mov esi, dword ptr [ebp - 0x14] */ 12001 edi = MEM32(esi + 0x4); /* 0x360951DB: mov edi, dword ptr [esi + 4] */ 12002 eax = MEM32(edi); /* 0x360951DE: mov eax, dword ptr [edi] */ 12003 /* cmp eax, edi */ /* 0x360951E0: cmp eax, edi */ 12004 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(edi); 12005 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12006 _flag_k = FK_CMP; 12007 MEM8(ebp + (-0x4)) = (uint8_t)(0); /* 0x360951E2: mov byte ptr [ebp - 4], 0 */ 12008 MEM32(ebp + (-0x10)) = eax; /* 0x360951E6: mov dword ptr [ebp - 0x10], eax */ 12009 if (CMP_EQ(_flag_a, _flag_b)) goto L_3609520C; /* 0x360951E9: je 0x3609520c */ 12010 L_360951EB: 12011 PUSH32(esp, 0); /* 0x360951EB: push 0 */ 12012 eax = ebp + (-0x24); /* 0x360951ED: lea eax, [ebp - 0x24] */ 12013 PUSH32(esp, eax); /* 0x360951F0: push eax */ 12014 ecx = ebp + (-0x10); /* 0x360951F1: lea ecx, [ebp - 0x10] */ 12015 RECOMP_ICALL(0x360641D0u); /* 0x360951F4: call 0x360641d0 */ /* not lifted */ 12016 RECOMP_FLAGS_IN(); 12017 ecx = MEM32(eax); /* 0x360951F9: mov ecx, dword ptr [eax] */ 12018 PUSH32(esp, ecx); /* 0x360951FB: push ecx */ 12019 edx = ebp + (-0x20); /* 0x360951FC: lea edx, [ebp - 0x20] */ 12020 PUSH32(esp, edx); /* 0x360951FF: push edx */ 12021 ecx = esi; /* 0x36095200: mov ecx, esi */ 12022 RECOMP_ICALL(0x360C86A0u); /* 0x36095202: call 0x360c86a0 */ /* not lifted */ 12023 RECOMP_FLAGS_IN(); 12024 /* cmp MEM32(ebp + (-0x10)), edi */ /* 0x36095207: cmp dword ptr [ebp - 0x10], edi */ 12025 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(edi); 12026 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12027 _flag_k = FK_CMP; 12028 RECOMP_BACKEDGE(); 12029 if (CMP_NE(_flag_a, _flag_b)) goto L_360951EB; /* 0x3609520A: jne 0x360951eb */ 12030 L_3609520C: 12031 eax = MEM32(esi + 0x4); /* 0x3609520C: mov eax, dword ptr [esi + 4] */ 12032 PUSH32(esp, eax); /* 0x3609520F: push eax */ 12033 RECOMP_ICALL(0x3615FCC4u); /* 0x36095210: call 0x3615fcc4 */ /* not lifted */ 12034 RECOMP_FLAGS_IN(); 12035 edi = MEM32(ebp + (-0x18)); /* 0x36095215: mov edi, dword ptr [ebp - 0x18] */ 12036 _flag_a = (uint32_t)(0); _flag_b = (uint32_t)(0); 12037 ebx = 0; /* 0x36095218: xor ebx, ebx */ 12038 _cf = 0; 12039 _flag_k = FK_TEST; 12040 MEM32(esi + 0x4) = ebx; /* 0x3609521A: mov dword ptr [esi + 4], ebx */ 12041 MEM32(esi + 0x8) = ebx; /* 0x3609521D: mov dword ptr [esi + 8], ebx */ 12042 esi = MEM32(edi + 0x4); /* 0x36095220: mov esi, dword ptr [edi + 4] */ 12043 eax = MEM32(esi); /* 0x36095223: mov eax, dword ptr [esi] */ 12044 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12045 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12046 esp = esp + 4; /* 0x36095225: add esp, 4 */ 12047 _flag_k = FK_ADD; 12048 /* cmp eax, esi */ /* 0x36095228: cmp eax, esi */ 12049 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(esi); 12050 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12051 _flag_k = FK_CMP; 12052 MEM32(ebp + (-0x4)) = 0xFFFFFFFFu; /* 0x3609522A: mov dword ptr [ebp - 4], 0xffffffff */ 12053 MEM32(ebp + (-0x10)) = eax; /* 0x36095231: mov dword ptr [ebp - 0x10], eax */ 12054 if (CMP_EQ(_flag_a, _flag_b)) goto L_36095256; /* 0x36095234: je 0x36095256 */ 12055 L_36095236: 12056 PUSH32(esp, ebx); /* 0x36095236: push ebx */ 12057 eax = ebp + (-0x24); /* 0x36095237: lea eax, [ebp - 0x24] */ 12058 PUSH32(esp, eax); /* 0x3609523A: push eax */ 12059 ecx = ebp + (-0x10); /* 0x3609523B: lea ecx, [ebp - 0x10] */ 12060 RECOMP_ICALL(0x360641D0u); /* 0x3609523E: call 0x360641d0 */ /* not lifted */ 12061 RECOMP_FLAGS_IN(); 12062 ecx = MEM32(eax); /* 0x36095243: mov ecx, dword ptr [eax] */ 12063 PUSH32(esp, ecx); /* 0x36095245: push ecx */ 12064 edx = ebp + (-0x20); /* 0x36095246: lea edx, [ebp - 0x20] */ 12065 PUSH32(esp, edx); /* 0x36095249: push edx */ 12066 ecx = edi; /* 0x3609524A: mov ecx, edi */ 12067 RECOMP_ICALL(0x360C86A0u); /* 0x3609524C: call 0x360c86a0 */ /* not lifted */ 12068 RECOMP_FLAGS_IN(); 12069 /* cmp MEM32(ebp + (-0x10)), esi */ /* 0x36095251: cmp dword ptr [ebp - 0x10], esi */ 12070 _flag_a = (uint32_t)(MEM32(ebp + (-0x10))); _flag_b = (uint32_t)(esi); 12071 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12072 _flag_k = FK_CMP; 12073 RECOMP_BACKEDGE(); 12074 if (CMP_NE(_flag_a, _flag_b)) goto L_36095236; /* 0x36095254: jne 0x36095236 */ 12075 L_36095256: 12076 eax = MEM32(edi + 0x4); /* 0x36095256: mov eax, dword ptr [edi + 4] */ 12077 PUSH32(esp, eax); /* 0x36095259: push eax */ 12078 RECOMP_ICALL(0x3615FCC4u); /* 0x3609525A: call 0x3615fcc4 */ /* not lifted */ 12079 RECOMP_FLAGS_IN(); 12080 ecx = MEM32(ebp + (-0xC)); /* 0x3609525F: mov ecx, dword ptr [ebp - 0xc] */ 12081 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(4); 12082 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12083 esp = esp + 4; /* 0x36095262: add esp, 4 */ 12084 _flag_k = FK_ADD; 12085 MEM32(edi + 0x4) = ebx; /* 0x36095265: mov dword ptr [edi + 4], ebx */ 12086 MEM32(edi + 0x8) = ebx; /* 0x36095268: mov dword ptr [edi + 8], ebx */ 12087 edi = POP32_VAL(esp); /* 0x3609526B: pop edi */ 12088 esi = POP32_VAL(esp); /* 0x3609526C: pop esi */ 12089 ebx = POP32_VAL(esp); /* 0x3609526D: pop ebx */ 12090 MEM32(FS_BASE + (0)) = ecx; /* 0x3609526E: mov dword ptr fs:[0], ecx */ 12091 esp = ebp; /* 0x36095275: mov esp, ebp */ 12092 ebp = POP32_VAL(esp); /* 0x36095277: pop ebp */ 12093 RECOMP_FLAGS_OUT(); esp += 4; { RECOMP_REGS_OUT(); return; } /* 0x36095278: ret */ 12094 RECOMP_REGS_OUT(); 12095 } 12096 12097 void sub_36095280(void) { 12098 int _fpu_cmp = 0; 12099 uint32_t _cf = 0; 12100 int _df = 1; 12101 uint32_t _flag_k = FK_NONE; 12102 uint32_t _flag_a = 0, _flag_b = 0; 12103 uint32_t _itail_tgt = 0; 12104 RECOMP_REGS_LOCALS 12105 RECOMP_ENTER(0x36095280u); 12106 12107 L_36095280: 12108 PUSH32(esp, ebp); /* 0x36095280: push ebp */ 12109 ebp = esp; /* 0x36095281: mov ebp, esp */ 12110 PUSH32(esp, ebx); /* 0x36095283: push ebx */ 12111 ebx = ecx; /* 0x36095284: mov ebx, ecx */ 12112 eax = MEM32(ebx + 0x10); /* 0x36095286: mov eax, dword ptr [ebx + 0x10] */ 12113 PUSH32(esp, esi); /* 0x36095289: push esi */ 12114 PUSH32(esp, edi); /* 0x3609528A: push edi */ 12115 edi = MEM32(eax); /* 0x3609528B: mov edi, dword ptr [eax] */ 12116 /* cmp edi, eax */ /* 0x3609528D: cmp edi, eax */ 12117 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(eax); 12118 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12119 _flag_k = FK_CMP; 12120 if (CMP_EQ(_flag_a, _flag_b)) goto L_360952C8; /* 0x3609528F: je 0x360952c8 */ 12121 L_36095291: 12122 esi = MEM32(edi + 0x8); /* 0x36095291: mov esi, dword ptr [edi + 8] */ 12123 /* test esi, esi */ /* 0x36095294: test esi, esi */ 12124 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 12125 _cf = 0; 12126 _flag_k = FK_TEST; 12127 if (TEST_Z(_flag_a, _flag_b)) goto L_360952C1; /* 0x36095296: je 0x360952c1 */ 12128 L_36095298: 12129 /* cmp MEM32(esi), 0 */ /* 0x36095298: cmp dword ptr [esi], 0 */ 12130 _flag_a = (uint32_t)(MEM32(esi)); _flag_b = (uint32_t)(0); 12131 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12132 _flag_k = FK_CMP; 12133 if (CMP_EQ(_flag_a, _flag_b)) goto L_360952C1; /* 0x3609529B: je 0x360952c1 */ 12134 L_3609529D: 12135 PUSH32(esp, 0xFFFFFFFFu); /* 0x3609529D: push -1 */ 12136 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 12137 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12138 esp = esp - 8; /* 0x3609529F: sub esp, 8 */ 12139 _flag_k = FK_CMP; 12140 ecx = esp; /* 0x360952A2: mov ecx, esp */ 12141 PUSH32(esp, 0x362EA510u); /* 0x360952A4: push 0x362ea510 */ 12142 RECOMP_ICALL(0x360056C0u); /* 0x360952A9: call 0x360056c0 */ /* not lifted */ 12143 RECOMP_FLAGS_IN(); 12144 eax = MEM32(ebp + 0x8); /* 0x360952AE: mov eax, dword ptr [ebp + 8] */ 12145 ecx = MEM32(esi); /* 0x360952B1: mov ecx, dword ptr [esi] */ 12146 PUSH32(esp, 0); /* 0x360952B3: push 0 */ 12147 PUSH32(esp, 0); /* 0x360952B5: push 0 */ 12148 PUSH32(esp, eax); /* 0x360952B7: push eax */ 12149 RECOMP_ICALL(0x36005680u); /* 0x360952B8: call 0x36005680 */ /* not lifted */ 12150 RECOMP_FLAGS_IN(); 12151 /* test LO8(eax), LO8(eax) */ /* 0x360952BD: test al, al */ 12152 _flag_a = (uint32_t)(LO8(eax)) << 24; _flag_b = (uint32_t)(LO8(eax)) << 24; 12153 _cf = 0; 12154 _flag_k = FK_NARROW(FK_TEST, 24); 12155 if (TEST_NZ(_flag_a, _flag_b)) goto L_360952DB; /* 0x360952BF: jne 0x360952db */ 12156 L_360952C1: 12157 edi = MEM32(edi); /* 0x360952C1: mov edi, dword ptr [edi] */ 12158 /* cmp edi, MEM32(ebx + 0x10) */ /* 0x360952C3: cmp edi, dword ptr [ebx + 0x10] */ 12159 _flag_a = (uint32_t)(edi); _flag_b = (uint32_t)(MEM32(ebx + 0x10)); 12160 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12161 _flag_k = FK_CMP; 12162 RECOMP_BACKEDGE(); 12163 if (CMP_NE(_flag_a, _flag_b)) goto L_36095291; /* 0x360952C6: jne 0x36095291 */ 12164 L_360952C8: 12165 ecx = MEM32(ebp + 0x8); /* 0x360952C8: mov ecx, dword ptr [ebp + 8] */ 12166 edx = MEM32(ecx); /* 0x360952CB: mov edx, dword ptr [ecx] */ 12167 PUSH32(esp, 2); /* 0x360952CD: push 2 */ 12168 PUSH32(esp, 7); /* 0x360952CF: push 7 */ 12169 RECOMP_ICALL(MEM32(edx + 0x4)); /* 0x360952D1: call dword ptr [edx + 4] */ 12170 RECOMP_FLAGS_IN(); 12171 edi = POP32_VAL(esp); /* 0x360952D4: pop edi */ 12172 esi = POP32_VAL(esp); /* 0x360952D5: pop esi */ 12173 ebx = POP32_VAL(esp); /* 0x360952D6: pop ebx */ 12174 ebp = POP32_VAL(esp); /* 0x360952D7: pop ebp */ 12175 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x360952D8: ret 4 */ 12176 L_360952DB: 12177 eax = MEM32(esi + 0x4); /* 0x360952DB: mov eax, dword ptr [esi + 4] */ 12178 edi = POP32_VAL(esp); /* 0x360952DE: pop edi */ 12179 esi = POP32_VAL(esp); /* 0x360952DF: pop esi */ 12180 ebx = POP32_VAL(esp); /* 0x360952E0: pop ebx */ 12181 ebp = POP32_VAL(esp); /* 0x360952E1: pop ebp */ 12182 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x360952E2: ret 4 */ 12183 RECOMP_REGS_OUT(); 12184 } 12185 12186 void sub_360952F0(void) { 12187 int _fpu_cmp = 0; 12188 uint32_t _cf = 0; 12189 int _df = 1; 12190 uint32_t _flag_k = FK_NONE; 12191 uint32_t _flag_a = 0, _flag_b = 0; 12192 uint32_t _itail_tgt = 0; 12193 RECOMP_REGS_LOCALS 12194 RECOMP_ENTER(0x360952F0u); 12195 12196 L_360952F0: 12197 PUSH32(esp, ebp); /* 0x360952F0: push ebp */ 12198 ebp = esp; /* 0x360952F1: mov ebp, esp */ 12199 PUSH32(esp, ebx); /* 0x360952F3: push ebx */ 12200 PUSH32(esp, esi); /* 0x360952F4: push esi */ 12201 PUSH32(esp, edi); /* 0x360952F5: push edi */ 12202 PUSH32(esp, 8); /* 0x360952F6: push 8 */ 12203 ebx = ecx; /* 0x360952F8: mov ebx, ecx */ 12204 RECOMP_ICALL(0x3615FD6Au); /* 0x360952FA: call 0x3615fd6a */ /* not lifted */ 12205 RECOMP_FLAGS_IN(); 12206 ecx = MEM32(ebp + 0x8); /* 0x360952FF: mov ecx, dword ptr [ebp + 8] */ 12207 edi = eax; /* 0x36095302: mov edi, eax */ 12208 eax = MEM32(ebp + 0xC); /* 0x36095304: mov eax, dword ptr [ebp + 0xc] */ 12209 MEM32(edi) = eax; /* 0x36095307: mov dword ptr [edi], eax */ 12210 MEM32(edi + 0x4) = ecx; /* 0x36095309: mov dword ptr [edi + 4], ecx */ 12211 esi = MEM32(ebx + 0x10); /* 0x3609530C: mov esi, dword ptr [ebx + 0x10] */ 12212 edx = MEM32(esi + 0x4); /* 0x3609530F: mov edx, dword ptr [esi + 4] */ 12213 PUSH32(esp, 0xCu); /* 0x36095312: push 0xc */ 12214 MEM32(ebp + 0x8) = edx; /* 0x36095314: mov dword ptr [ebp + 8], edx */ 12215 RECOMP_ICALL(0x3615FD6Au); /* 0x36095317: call 0x3615fd6a */ /* not lifted */ 12216 RECOMP_FLAGS_IN(); 12217 _flag_a = (uint32_t)(esp); _flag_b = (uint32_t)(8); 12218 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12219 esp = esp + 8; /* 0x3609531C: add esp, 8 */ 12220 _flag_k = FK_ADD; 12221 /* test esi, esi */ /* 0x3609531F: test esi, esi */ 12222 _flag_a = (uint32_t)(esi); _flag_b = (uint32_t)(esi); 12223 _cf = 0; 12224 _flag_k = FK_TEST; 12225 ecx = esi; /* 0x36095321: mov ecx, esi */ 12226 if (TEST_NZ(_flag_a, _flag_b)) goto L_36095327; /* 0x36095323: jne 0x36095327 */ 12227 L_36095325: 12228 ecx = eax; /* 0x36095325: mov ecx, eax */ 12229 L_36095327: 12230 MEM32(eax) = ecx; /* 0x36095327: mov dword ptr [eax], ecx */ 12231 ecx = MEM32(ebp + 0x8); /* 0x36095329: mov ecx, dword ptr [ebp + 8] */ 12232 /* test ecx, ecx */ /* 0x3609532C: test ecx, ecx */ 12233 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 12234 _cf = 0; 12235 _flag_k = FK_TEST; 12236 if (TEST_NZ(_flag_a, _flag_b)) goto L_36095332; /* 0x3609532E: jne 0x36095332 */ 12237 L_36095330: 12238 ecx = eax; /* 0x36095330: mov ecx, eax */ 12239 L_36095332: 12240 MEM32(eax + 0x4) = ecx; /* 0x36095332: mov dword ptr [eax + 4], ecx */ 12241 MEM32(esi + 0x4) = eax; /* 0x36095335: mov dword ptr [esi + 4], eax */ 12242 ecx = MEM32(eax + 0x4); /* 0x36095338: mov ecx, dword ptr [eax + 4] */ 12243 MEM32(ecx) = eax; /* 0x3609533B: mov dword ptr [ecx], eax */ 12244 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(8); 12245 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12246 eax = eax + 8; /* 0x3609533D: add eax, 8 */ 12247 _flag_k = FK_ADD; 12248 /* test eax, eax */ /* 0x36095340: test eax, eax */ 12249 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12250 _cf = 0; 12251 _flag_k = FK_TEST; 12252 if (TEST_Z(_flag_a, _flag_b)) goto L_36095346; /* 0x36095342: je 0x36095346 */ 12253 L_36095344: 12254 MEM32(eax) = edi; /* 0x36095344: mov dword ptr [eax], edi */ 12255 L_36095346: 12256 eax = MEM32(ebx + 0x14); /* 0x36095346: mov eax, dword ptr [ebx + 0x14] */ 12257 esi = MEM32(ebp + 0xC); /* 0x36095349: mov esi, dword ptr [ebp + 0xc] */ 12258 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(1); 12259 eax = eax + 1; /* 0x3609534C: inc eax */ 12260 _flag_k = FK_INC; 12261 MEM32(ebx + 0x14) = eax; /* 0x3609534D: mov dword ptr [ebx + 0x14], eax */ 12262 edx = MEM32(esi); /* 0x36095350: mov edx, dword ptr [esi] */ 12263 edi = MEM32(ebx + 0x4); /* 0x36095352: mov edi, dword ptr [ebx + 4] */ 12264 _flag_a = (uint32_t)((edi | edx)); _flag_b = (uint32_t)((edi | edx)); 12265 edi = edi | edx; /* 0x36095355: or edi, edx */ 12266 _cf = 0; 12267 _flag_k = FK_TEST; 12268 ecx = esi; /* 0x36095357: mov ecx, esi */ 12269 MEM32(ebx + 0x4) = edi; /* 0x36095359: mov dword ptr [ebx + 4], edi */ 12270 RECOMP_ICALL(0x36008320u); /* 0x3609535C: call 0x36008320 */ /* not lifted */ 12271 RECOMP_FLAGS_IN(); 12272 /* test eax, eax */ /* 0x36095361: test eax, eax */ 12273 _flag_a = (uint32_t)(eax); _flag_b = (uint32_t)(eax); 12274 _cf = 0; 12275 _flag_k = FK_TEST; 12276 if (TEST_Z(_flag_a, _flag_b)) goto L_36095381; /* 0x36095363: je 0x36095381 */ 12277 L_36095365: 12278 ecx = esi; /* 0x36095365: mov ecx, esi */ 12279 RECOMP_ICALL(0x36008320u); /* 0x36095367: call 0x36008320 */ /* not lifted */ 12280 RECOMP_FLAGS_IN(); 12281 /* cmp MEM32(eax), 0 */ /* 0x3609536C: cmp dword ptr [eax], 0 */ 12282 _flag_a = (uint32_t)(MEM32(eax)); _flag_b = (uint32_t)(0); 12283 _cf = (uint32_t)CMP_B(_flag_a, _flag_b); 12284 _flag_k = FK_CMP; 12285 if (CMP_EQ(_flag_a, _flag_b)) goto L_36095381; /* 0x3609536F: je 0x36095381 */ 12286 L_36095371: 12287 ecx = esi; /* 0x36095371: mov ecx, esi */ 12288 RECOMP_ICALL(0x36008320u); /* 0x36095373: call 0x36008320 */ /* not lifted */ 12289 RECOMP_FLAGS_IN(); 12290 eax = MEM32(eax); /* 0x36095378: mov eax, dword ptr [eax] */ 12291 ecx = MEM32(eax + 0x8); /* 0x3609537A: mov ecx, dword ptr [eax + 8] */ 12292 /* test ecx, ecx */ /* 0x3609537D: test ecx, ecx */ 12293 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(ecx); 12294 _cf = 0; 12295 _flag_k = FK_TEST; 12296 if (TEST_NZ(_flag_a, _flag_b)) goto L_36095385; /* 0x3609537F: jne 0x36095385 */ 12297 L_36095381: 12298 MEM8(ebx + 0x8) = (uint8_t)(0); /* 0x36095381: mov byte ptr [ebx + 8], 0 */ 12299 L_36095385: 12300 edi = POP32_VAL(esp); /* 0x36095385: pop edi */ 12301 esi = POP32_VAL(esp); /* 0x36095386: pop esi */ 12302 ebx = POP32_VAL(esp); /* 0x36095387: pop ebx */ 12303 ebp = POP32_VAL(esp); /* 0x36095388: pop ebp */ 12304 RECOMP_FLAGS_OUT(); esp += 12; { RECOMP_REGS_OUT(); return; } /* 0x36095389: ret 8 */ 12305 RECOMP_REGS_OUT(); 12306 } 12307 12308 void sub_36095390(void) { 12309 int _fpu_cmp = 0; 12310 uint32_t _cf = 0; 12311 int _df = 1; 12312 uint32_t _flag_k = FK_NONE; 12313 uint32_t _flag_a = 0, _flag_b = 0; 12314 uint32_t _itail_tgt = 0; 12315 RECOMP_REGS_LOCALS 12316 RECOMP_ENTER(0x36095390u); 12317 12318 L_36095390: 12319 PUSH32(esp, ebp); /* 0x36095390: push ebp */ 12320 ebp = esp; /* 0x36095391: mov ebp, esp */ 12321 eax = MEM32(ebp + 0x8); /* 0x36095393: mov eax, dword ptr [ebp + 8] */ 12322 PUSH32(esp, eax); /* 0x36095396: push eax */ 12323 _flag_a = (uint32_t)(ecx); _flag_b = (uint32_t)(0x24u); 12324 _cf = (uint32_t)((uint32_t)(_flag_a + _flag_b) < (uint32_t)_flag_a); 12325 ecx = ecx + 0x24u; /* 0x36095397: add ecx, 0x24 */ 12326 _flag_k = FK_ADD; 12327 RECOMP_ICALL(0x360C0590u); /* 0x3609539A: call 0x360c0590 */ /* not lifted */ 12328 RECOMP_FLAGS_IN(); 12329 ebp = POP32_VAL(esp); /* 0x3609539F: pop ebp */ 12330 RECOMP_FLAGS_OUT(); esp += 8; { RECOMP_REGS_OUT(); return; } /* 0x360953A0: ret 4 */ 12331 RECOMP_REGS_OUT(); 12332 }