Code:.text:0000000000000AA7 public game_play .text:0000000000000AA7 game_play proc near .text:0000000000000AA7 .text:0000000000000AA7 var_1C = dword ptr -1Ch .text:0000000000000AA7 var_18 = qword ptr -18h .text:0000000000000AA7 var_4 = dword ptr -4 .text:0000000000000AA7 .text:0000000000000AA7 push rbp .text:0000000000000AA8 mov rbp, rsp .text:0000000000000AAB sub rsp, 20h .text:0000000000000AAF mov [rbp+var_18], rdi .text:0000000000000AB3 mov [rbp+var_1C], esi .text:0000000000000AB6 mov rax, [rbp+var_18] .text:0000000000000ABA mov edx, [rax+8] .text:0000000000000ABD mov rax, [rbp+var_18] .text:0000000000000AC1 mov eax, [rax+4] .text:0000000000000AC4 imul eax, edx .text:0000000000000AC7 cmp eax, [rbp+var_1C] .text:0000000000000ACA jle short loc_AD2 .text:0000000000000ACC cmp [rbp+var_1C], 0 .text:0000000000000AD0 jns short loc_ADC .text:0000000000000AD2 .text:0000000000000AD2 loc_AD2: ; CODE XREF: game_play+23j .text:0000000000000AD2 mov eax, 0FFFFFFFFh .text:0000000000000AD7 jmp locret_B5E .text:0000000000000ADC ; --------------------------------------------------------------------------- .text:0000000000000ADC .text:0000000000000ADC loc_ADC: ; CODE XREF: game_play+29j .text:0000000000000ADC mov rdx, [rbp+var_18] .text:0000000000000AE0 mov eax, [rbp+var_1C] .text:0000000000000AE3 cdqe .text:0000000000000AE5 movzx eax, byte ptr [rdx+rax+0Ch] .text:0000000000000AEA cmp al, 20h .text:0000000000000AEC jz short loc_AF5 .text:0000000000000AEE mov eax, 0FFFFFFFFh .text:0000000000000AF3 jmp short locret_B5E .text:0000000000000AF5 ; --------------------------------------------------------------------------- .text:0000000000000AF5 .text:0000000000000AF5 loc_AF5: ; CODE XREF: game_play+45j .text:0000000000000AF5 mov rax, [rbp+var_18] .text:0000000000000AF9 mov eax, [rax] .text:0000000000000AFB mov ecx, eax .text:0000000000000AFD mov rdx, [rbp+var_18] .text:0000000000000B01 mov eax, [rbp+var_1C] .text:0000000000000B04 cdqe .text:0000000000000B06 mov [rdx+rax+0Ch], cl .text:0000000000000B0A mov rax, [rbp+var_18] .text:0000000000000B0E mov rdi, rax .text:0000000000000B11 call _check_winner .text:0000000000000B16 mov [rbp+var_4], eax .text:0000000000000B19 cmp [rbp+var_4], 0 .text:0000000000000B1D jz short loc_B24 .text:0000000000000B1F mov eax, [rbp+var_4] .text:0000000000000B22 jmp short locret_B5E .text:0000000000000B24 ; --------------------------------------------------------------------------- .text:0000000000000B24 .text:0000000000000B24 loc_B24: ; CODE XREF: game_play+76j .text:0000000000000B24 mov rax, [rbp+var_18] .text:0000000000000B28 mov eax, [rax] .text:0000000000000B2A cmp eax, 58h .text:0000000000000B2D jnz short loc_B3B .text:0000000000000B2F mov rax, [rbp+var_18] .text:0000000000000B33 mov dword ptr [rax], 4Fh .text:0000000000000B39 jmp short loc_B59 .text:0000000000000B3B ; --------------------------------------------------------------------------- .text:0000000000000B3B .text:0000000000000B3B loc_B3B: ; CODE XREF: game_play+86j .text:0000000000000B3B mov rax, [rbp+var_18] .text:0000000000000B3F mov eax, [rax] .text:0000000000000B41 cmp eax, 4Fh .text:0000000000000B44 jnz short loc_B52 .text:0000000000000B46 mov rax, [rbp+var_18] .text:0000000000000B4A mov dword ptr [rax], 58h .text:0000000000000B50 jmp short loc_B59 .text:0000000000000B52 ; --------------------------------------------------------------------------- .text:0000000000000B52 .text:0000000000000B52 loc_B52: ; CODE XREF: game_play+9Dj .text:0000000000000B52 mov eax, 3Fh .text:0000000000000B57 jmp short locret_B5E .text:0000000000000B59 ; --------------------------------------------------------------------------- .text:0000000000000B59 .text:0000000000000B59 loc_B59: ; CODE XREF: game_play+92j .text:0000000000000B59 ; game_play+A9j .text:0000000000000B59 mov eax, 0 .text:0000000000000B5E .text:0000000000000B5E locret_B5E: ; CODE XREF: game_play+30j .text:0000000000000B5E ; game_play+4Cj ... .text:0000000000000B5E leave .text:0000000000000B5F retn .text:0000000000000B5F game_play endp .text:0000000000000B5F .text:0000000000000B5F _text ends



Reply With Quote
Thanks