汇编
2025-10-02 20:05:16
发布于:浙江
.file "\323\316\317\267\262\335\270\345.cpp"
# GNU C++17 (i686-posix-dwarf-rev0, Built by MinGW-W64 project) version 11.4.0 (i686-w64-mingw32)
# compiled by GNU C version 11.4.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.24-GMP
# GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
# options passed: -mtune=generic -march=i686 -finput-charset=UTF-8 -fexec-charset=gbk
.text
.section .text$_Z6printfPKcz,"x"
.linkonce discard
.globl __Z6printfPKcz
.def __Z6printfPKcz; .scl 2; .type 32; .endef
__Z6printfPKcz:
LFB495:
.cfi_startproc
pushl %ebp #
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp #,
.cfi_def_cfa_register 5
pushl %ebx #
subl $36, %esp #,
.cfi_offset 3, -12
# C:/Program Files (x86)/RedPanda-Cpp/mingw32/i686-w64-mingw32/include/stdio.h:371: __builtin_va_list __local_argv; __builtin_va_start( __local_argv, __format );
leal 12(%ebp), %eax #, tmp86
movl %eax, -16(%ebp) # tmp86, __local_argv
# C:/Program Files (x86)/RedPanda-Cpp/mingw32/i686-w64-mingw32/include/stdio.h:372: __retval = __mingw_vfprintf( stdout, __format, __local_argv );
movl -16(%ebp), %ebx # __local_argv, __local_argv.6_1
movl $1, (%esp) #,
movl __imp____acrt_iob_func, %eax #, tmp87
call *%eax # tmp87
movl %ebx, 8(%esp) # __local_argv.6_1,
movl 8(%ebp), %edx # __format, tmp88
movl %edx, 4(%esp) # tmp88,
movl %eax, (%esp) # _2,
call ___mingw_vfprintf #
movl %eax, -12(%ebp) # tmp89, __retval
# C:/Program Files (x86)/RedPanda-Cpp/mingw32/i686-w64-mingw32/include/stdio.h:374: return __retval;
movl -12(%ebp), %eax # __retval, _11
# C:/Program Files (x86)/RedPanda-Cpp/mingw32/i686-w64-mingw32/include/stdio.h:375: }
movl -4(%ebp), %ebx #,
leave
.cfi_restore 5
.cfi_restore 3
.cfi_def_cfa 4, 4
ret
.cfi_endproc
LFE495:
.section .text$_ZSt17__size_to_integerj,"x"
.linkonce discard
.globl __ZSt17__size_to_integerj
.def __ZSt17__size_to_integerj; .scl 2; .type 32; .endef
__ZSt17__size_to_integerj:
LFB1040:
.cfi_startproc
pushl %ebp #
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp #,
.cfi_def_cfa_register 5
# C:/Program Files (x86)/RedPanda-Cpp/mingw32/lib/gcc/i686-w64-mingw32/11.4.0/include/c++/bits/stl_algobase.h:1006: __size_to_integer(unsigned __n) { return __n; }
movl 8(%ebp), %eax # __n, _2
# C:/Program Files (x86)/RedPanda-Cpp/mingw32/lib/gcc/i686-w64-mingw32/11.4.0/include/c++/bits/stl_algobase.h:1006: __size_to_integer(unsigned __n) { return __n; }
popl %ebp #
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
LFE1040:
.text
.def _time; .scl 3; .type 32; .endef
_time:
LFB1456:
.cfi_startproc
pushl %ebp #
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp #,
.cfi_def_cfa_register 5
subl $24, %esp #,
# C:/Program Files (x86)/RedPanda-Cpp/mingw32/i686-w64-mingw32/include/time.h:219: static __inline time_t __CRTDECL time(time_t *_Time) { return _time32(_Time); }
movl 8(%ebp), %eax # _Time, tmp84
movl %eax, (%esp) # tmp84,
movl __imp___time32, %eax #, tmp85
call *%eax # tmp85
# C:/Program Files (x86)/RedPanda-Cpp/mingw32/i686-w64-mingw32/include/time.h:219: static __inline time_t __CRTDECL time(time_t *_Time) { return _time32(_Time); }
leave
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
LFE1456:
.section .text$_ZnwjPv,"x"
.linkonce discard
.globl __ZnwjPv
.def __ZnwjPv; .scl 2; .type 32; .endef
__ZnwjPv:
LFB1510:
.cfi_startproc
pushl %ebp #
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp #,
.cfi_def_cfa_register 5
# C:/Program Files (x86)/RedPanda-Cpp/mingw32/lib/gcc/i686-w64-mingw32/11.4.0/include/c++/new:175: { return __p; }
movl 12(%ebp), %eax # __p, _2
# C:/Program Files (x86)/RedPanda-Cpp/mingw32/lib/gcc/i686-w64-mingw32/11.4.0/include/c++/new:175: { return __p; }
popl %ebp #
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
LFE1510:
.section .text$_ZdlPvS_,"x"
.linkonce discard
.globl __ZdlPvS_
.def __ZdlPvS_; .scl 2; .type 32; .endef
__ZdlPvS_:
LFB1512:
.cfi_startproc
pushl %ebp #
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp #,
.cfi_def_cfa_register 5
# C:/Program Files (x86)/RedPanda-Cpp/mingw32/lib/gcc/i686-w64-mingw32/11.4.0/include/c++/new:180: inline void operator delete (void*, void*) _GLIBCXX_USE_NOEXCEPT { }
nop
popl %ebp #
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
LFE1512:
.section .text$_ZSt3minIjERKT_S2_S2_,"x"
.linkonce discard
.globl __ZSt3minIjERKT_S2_S2_
.def __ZSt3minIjERKT_S2_S2_; .scl 2; .type 32; .endef
__ZSt3minIjERKT_S2_S2_:
LFB3745:
.cfi_startproc
pushl %ebp #
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp #,
.cfi_def_cfa_register 5
# C:/Program Files (x86)/RedPanda-Cpp/mingw32/lib/gcc/i686-w64-mingw32/11.4.0/include/c++/bits/stl_algobase.h:235: if (__b < __a)
movl 12(%ebp), %eax # __b, tmp86
movl (%eax), %edx # *__b_5(D), _1
movl 8(%ebp), %eax # __a, tmp87
movl (%eax), %eax # *__a_6(D), _2
# C:/Program Files (x86)/RedPanda-Cpp/mingw32/lib/gcc/i686-w64-mingw32/11.4.0/include/c++/bits/stl_algobase.h:235: if (__b < __a)
cmpl %eax, %edx # _2, _1
jnb L11 #,
# C:/Program Files (x86)/RedPanda-Cpp/mingw32/lib/gcc/i686-w64-mingw32/11.4.0/include/c++/bits/stl_algobase.h:236: return __b;
movl 12(%ebp), %eax # __b, _3
jmp L12 #
L11:
# C:/Program Files (x86)/RedPanda-Cpp/mingw32/lib/gcc/i686-w64-mingw32/11.4.0/include/c++/bits/stl_algobase.h:237: return __a;
movl 8(%ebp), %eax # __a, _3
L12:
# C:/Program Files (x86)/RedPanda-Cpp/mingw32/lib/gcc/i686-w64-mingw32/11.4.0/include/c++/bits/stl_algobase.h:238: }
popl %ebp #
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
LFE3745:
.section .rdata,"dr"
__ZN6__pstl9execution2v1L3seqE:
.space 1
__ZN6__pstl9execution2v1L3parE:
.space 1
__ZN6__pstl9execution2v1L9par_unseqE:
.space 1
__ZN6__pstl9execution2v1L5unseqE:
.space 1
.lcomm __ZStL8__ioinit,1,1
.align 4
__ZN9__gnu_cxxL21__default_lock_policyE:
.long 2
.align 4
__ZNSt15regex_constantsL13error_collateE:
.space 4
.align 4
__ZNSt15regex_constantsL11error_ctypeE:
.long 1
.align 4
__ZNSt15regex_constantsL12error_escapeE:
.long 2
.align 4
__ZNSt15regex_constantsL13error_backrefE:
.long 3
.align 4
__ZNSt15regex_constantsL11error_brackE:
.long 4
.align 4
__ZNSt15regex_constantsL11error_parenE:
.long 5
.align 4
__ZNSt15regex_constantsL11error_braceE:
.long 6
.align 4
__ZNSt15regex_constantsL14error_badbraceE:
.long 7
.align 4
__ZNSt15regex_constantsL11error_rangeE:
.long 8
.align 4
__ZNSt15regex_constantsL11error_spaceE:
.long 9
.align 4
__ZNSt15regex_constantsL15error_badrepeatE:
.long 10
.align 4
__ZNSt15regex_constantsL16error_complexityE:
.long 11
.align 4
__ZNSt15regex_constantsL11error_stackE:
.long 12
.align 4
__ZNSt8__detailL19_S_invalid_state_idE:
.long -1
.text
.globl __Z2oiv
.def __Z2oiv; .scl 2; .type 32; .endef
__Z2oiv:
LFB10190:
.cfi_startproc
pushl %ebp #
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp #,
.cfi_def_cfa_register 5
subl $24, %esp #,
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:23: ios::sync_with_stdio(0); // 鍏抽棴C++鏍囧噯娴佷笌C鏍囧噯娴佺殑鍚屾
movl $0, (%esp) #,
call __ZNSt8ios_base15sync_with_stdioEb #
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:24: cin.tie(0); // 瑙i櫎cin涓巆out鐨勭粦瀹�
movl $0, (%esp) #,
movl $__ZSt3cin+8, %ecx #,
call __ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo #
subl $4, %esp #,
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:25: cout.tie(0); // 瑙i櫎cout鐨勭粦瀹�
movl $0, (%esp) #,
movl $__ZSt4cout+4, %ecx #,
call __ZNSt9basic_iosIcSt11char_traitsIcEE3tieEPSo #
subl $4, %esp #,
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:26: }
nop
leave
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
LFE10190:
.section .rdata,"dr"
LC0:
.ascii ".in\0"
LC1:
.ascii ".out\0"
LC2:
.ascii "r\0"
LC3:
.ascii "w\0"
.text
.globl __Z2frxNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE
.def __Z2frxNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE; .scl 2; .type 32; .endef
__Z2frxNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE:
LFB10191:
.cfi_startproc
.cfi_personality 0x9b,LDFCM0
.cfi_lsda 0x1b,LLSDA10191
pushl %ebp #
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp #,
.cfi_def_cfa_register 5
pushl %esi #
pushl %ebx #
subl $80, %esp #,
.cfi_offset 6, -12
.cfi_offset 3, -16
movl 8(%ebp), %esi # x, tmp89
movl %esi, -64(%ebp) # tmp89, x
movl 12(%ebp), %esi # x, tmp90
movl %esi, -60(%ebp) # tmp90, x
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:31: if(x==1)
movl -64(%ebp), %esi # x, tmp92
xorl $1, %esi #, tmp92
movl %esi, %ecx # tmp92, tmp91
movl -60(%ebp), %esi # x, tmp93
xorl $0, %esi #, tmp93
movl %esi, %ebx # tmp93,
orl %ebx, %ecx #, tmp94
testl %ecx, %ecx # tmp94
jne L15 #,
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:34: str s1=s+".in",s2=s+".out";
leal -32(%ebp), %eax #, tmp95
movl $LC0, 8(%esp) #,
movl 16(%ebp), %edx # s, tmp96
movl %edx, 4(%esp) # tmp96,
movl %eax, (%esp) # tmp95,
LEHB0:
call __ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_PKS5_ #
LEHE0:
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:34: str s1=s+".in",s2=s+".out";
leal -56(%ebp), %eax #, tmp97
movl $LC1, 8(%esp) #,
movl 16(%ebp), %edx # s, tmp98
movl %edx, 4(%esp) # tmp98,
movl %eax, (%esp) # tmp97,
LEHB1:
call __ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EERKS8_PKS5_ #
LEHE1:
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:35: freopen(s1.c_str(),"r",stdin); // 閲嶅畾鍚戞爣鍑嗚緭鍏�
movl $0, (%esp) #,
movl __imp____acrt_iob_func, %eax #, tmp99
LEHB2:
call *%eax # tmp99
movl %eax, %ebx #, _1
leal -32(%ebp), %eax #, tmp100
movl %eax, %ecx # tmp100,
call __ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv #
movl %ebx, 8(%esp) # _1,
movl $LC2, 4(%esp) #,
movl %eax, (%esp) # _2,
call _freopen #
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:36: freopen(s2.c_str(),"w",stdout); // 閲嶅畾鍚戞爣鍑嗚緭鍑�
movl $1, (%esp) #,
movl __imp____acrt_iob_func, %eax #, tmp101
call *%eax # tmp101
movl %eax, %ebx #, _3
leal -56(%ebp), %eax #, tmp102
movl %eax, %ecx # tmp102,
call __ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv #
movl %ebx, 8(%esp) # _3,
movl $LC3, 4(%esp) #,
movl %eax, (%esp) # _4,
call _freopen #
LEHE2:
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:37: }
leal -56(%ebp), %eax #, tmp103
movl %eax, %ecx # tmp103,
call __ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev #
leal -32(%ebp), %eax #, tmp104
movl %eax, %ecx # tmp104,
call __ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev #
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:43: }
jmp L21 #
L15:
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:38: else if(x==2) {
movl -64(%ebp), %ecx # x, tmp106
xorl $2, %ecx #, tmp106
movl %ecx, %eax # tmp106, tmp105
movl -60(%ebp), %ecx # x, tmp107
xorb $0, %ch #, tmp107
movl %ecx, %edx # tmp107,
orl %edx, %eax #, tmp108
testl %eax, %eax # tmp108
jne L21 #,
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:40: fclose(stdin);
movl $0, (%esp) #,
movl __imp____acrt_iob_func, %eax #, tmp109
LEHB3:
call *%eax # tmp109
movl %eax, (%esp) # _5,
call _fclose #
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:41: fclose(stdout);
movl $1, (%esp) #,
movl __imp____acrt_iob_func, %eax #, tmp110
call *%eax # tmp110
movl %eax, (%esp) # _6,
call _fclose #
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:43: }
jmp L21 #
L20:
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:37: }
movl %eax, %ebx #, tmp113
leal -56(%ebp), %eax #, tmp111
movl %eax, %ecx # tmp111,
call __ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev #
jmp L18 #
L19:
movl %eax, %ebx #, tmp112
L18:
leal -32(%ebp), %eax #, tmp116
movl %eax, %ecx # tmp116,
call __ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev #
movl %ebx, %eax # tmp112, D.284157
movl %eax, (%esp) # D.284157,
call __Unwind_Resume #
LEHE3:
L21:
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:43: }
nop
addl $80, %esp #,
popl %ebx #
.cfi_restore 3
popl %esi #
.cfi_restore 6
popl %ebp #
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
LFE10191:
.def ___gxx_personality_v0; .scl 2; .type 32; .endef
.section .gcc_except_table,"w"
LLSDA10191:
.byte 0xff
.byte 0xff
.byte 0x1
.uleb128 LLSDACSE10191-LLSDACSB10191
LLSDACSB10191:
.uleb128 LEHB0-LFB10191
.uleb128 LEHE0-LEHB0
.uleb128 0
.uleb128 0
.uleb128 LEHB1-LFB10191
.uleb128 LEHE1-LEHB1
.uleb128 L19-LFB10191
.uleb128 0
.uleb128 LEHB2-LFB10191
.uleb128 LEHE2-LEHB2
.uleb128 L20-LFB10191
.uleb128 0
.uleb128 LEHB3-LFB10191
.uleb128 LEHE3-LEHB3
.uleb128 0
.uleb128 0
LLSDACSE10191:
.text
.section .rdata,"dr"
.align 8
__ZL5ARMSS:
.long 10
.long 0
.globl _h
.data
.align 8
_h:
.long 100
.long 0
.globl _gold
.bss
.align 8
_gold:
.space 8
.globl _timesfled
_timesfled:
.space 1
.section .rdata,"dr"
LC4:
.ascii "pause & cls\0"
.text
.globl __Z3clsv
.def __Z3clsv; .scl 2; .type 32; .endef
__Z3clsv:
LFB10192:
.cfi_startproc
pushl %ebp #
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp #,
.cfi_def_cfa_register 5
subl $24, %esp #,
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:49: system("pause & cls");
movl $LC4, (%esp) #,
call _system #
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:50: }
nop
leave
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
LFE10192:
.globl _armsum
.data
.align 8
_armsum:
.long 4
.long 0
.section .text$_ZN4ARMSC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEExxb,"x"
.linkonce discard
.align 2
.globl __ZN4ARMSC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEExxb
.def __ZN4ARMSC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEExxb; .scl 2; .type 32; .endef
__ZN4ARMSC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEExxb:
LFB10195:
.cfi_startproc
.cfi_personality 0x9b,LDFCM0
.cfi_lsda 0x1b,LLSDA10195
pushl %ebp #
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp #,
.cfi_def_cfa_register 5
pushl %ebx #
subl $52, %esp #,
.cfi_offset 3, -12
movl %ecx, -12(%ebp) # this, this
movl 28(%ebp), %edx # f, tmp90
movl 12(%ebp), %eax # grade, tmp86
movl %eax, -24(%ebp) # tmp86, grade
movl 16(%ebp), %eax # grade, tmp87
movl %eax, -20(%ebp) # tmp87, grade
movl 20(%ebp), %eax # durability, tmp88
movl %eax, -32(%ebp) # tmp88, durability
movl 24(%ebp), %eax # durability, tmp89
movl %eax, -28(%ebp) # tmp89, durability
movl %edx, %eax # tmp90, tmp91
movb %al, -16(%ebp) # tmp91, f
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:80: {
movl -12(%ebp), %eax # this, _1
movl %eax, %ecx # _1,
call __ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1Ev #
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:81: this->name=name;
movl -12(%ebp), %eax # this, _2
movl 8(%ebp), %edx # name, tmp92
movl %edx, (%esp) # tmp92,
movl %eax, %ecx # _2,
LEHB4:
call __ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEaSERKS4_ #
LEHE4:
subl $4, %esp #,
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:82: this->grade=grade;
movl -12(%ebp), %ecx # this, tmp93
movl -24(%ebp), %eax # grade, tmp94
movl -20(%ebp), %edx # grade,
movl %eax, 24(%ecx) # tmp94, this_5(D)->grade
movl %edx, 28(%ecx) #, this_5(D)->grade
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:83: this->durability=durability;
movl -12(%ebp), %ecx # this, tmp95
movl -32(%ebp), %eax # durability, tmp96
movl -28(%ebp), %edx # durability,
movl %eax, 32(%ecx) # tmp96, this_5(D)->durability
movl %edx, 36(%ecx) #, this_5(D)->durability
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:84: this->f=f;
movl -12(%ebp), %eax # this, tmp97
movzbl -16(%ebp), %edx # f, tmp98
movb %dl, 40(%eax) # tmp98, this_5(D)->f
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:85: }
jmp L26 #
L25:
movl %eax, %ebx #, tmp99
movl -12(%ebp), %eax # this, _3
movl %eax, %ecx # _3,
call __ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev #
movl %ebx, %eax # tmp99, D.284165
movl %eax, (%esp) # D.284165,
LEHB5:
call __Unwind_Resume #
LEHE5:
L26:
movl -4(%ebp), %ebx #,
leave
.cfi_restore 5
.cfi_restore 3
.cfi_def_cfa 4, 4
ret $24 #
.cfi_endproc
LFE10195:
.section .gcc_except_table,"w"
LLSDA10195:
.byte 0xff
.byte 0xff
.byte 0x1
.uleb128 LLSDACSE10195-LLSDACSB10195
LLSDACSB10195:
.uleb128 LEHB4-LFB10195
.uleb128 LEHE4-LEHB4
.uleb128 L25-LFB10195
.uleb128 0
.uleb128 LEHB5-LFB10195
.uleb128 LEHE5-LEHB5
.uleb128 0
.uleb128 0
LLSDACSE10195:
.section .text$_ZN4ARMSC1ENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEExxb,"x"
.linkonce discard
.section .text$_ZN3ARMD1Ev,"x"
.linkonce discard
.align 2
.globl __ZN3ARMD1Ev
.def __ZN3ARMD1Ev; .scl 2; .type 32; .endef
__ZN3ARMD1Ev:
LFB10199:
.cfi_startproc
pushl %ebp #
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp #,
.cfi_def_cfa_register 5
subl $24, %esp #,
movl %ecx, -12(%ebp) # this, this
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:55: struct ARM:Arm
movl -12(%ebp), %eax # this, tmp83
addl $16, %eax #, _1
movl %eax, %ecx # _1,
call __ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev #
nop
leave
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
LFE10199:
.section .text$_ZN4ARMS11dataviewingEv,"x"
.linkonce discard
.align 2
.globl __ZN4ARMS11dataviewingEv
.def __ZN4ARMS11dataviewingEv; .scl 2; .type 32; .endef
__ZN4ARMS11dataviewingEv:
LFB10196:
.cfi_startproc
pushl %ebp #
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp #,
.cfi_def_cfa_register 5
subl $40, %esp #,
movl %ecx, -12(%ebp) # .result_ptr, .result_ptr
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:88: return {this->grade,this->durability,this->name,this->f};
movl 8(%ebp), %eax # this, tmp87
movl 28(%eax), %edx # this_7(D)->grade, _1
movl 24(%eax), %eax # this_7(D)->grade, _1
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:88: return {this->grade,this->durability,this->name,this->f};
movl -12(%ebp), %ecx # <retval>, tmp88
movl %eax, (%ecx) # _1, _8(D)->D.259757.grade
movl %edx, 4(%ecx) # _1, _8(D)->D.259757.grade
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:88: return {this->grade,this->durability,this->name,this->f};
movl 8(%ebp), %eax # this, tmp89
movl 36(%eax), %edx # this_7(D)->durability, _2
movl 32(%eax), %eax # this_7(D)->durability, _2
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:88: return {this->grade,this->durability,this->name,this->f};
movl -12(%ebp), %ecx # <retval>, tmp90
movl %eax, 8(%ecx) # _2, _8(D)->D.259757.durability
movl %edx, 12(%ecx) # _2, _8(D)->D.259757.durability
movl -12(%ebp), %eax # <retval>, tmp91
addl $16, %eax #, _3
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:88: return {this->grade,this->durability,this->name,this->f};
movl 8(%ebp), %edx # this, _4
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:88: return {this->grade,this->durability,this->name,this->f};
movl %edx, (%esp) # _4,
movl %eax, %ecx # _3,
call __ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1ERKS4_ #
subl $4, %esp #,
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:88: return {this->grade,this->durability,this->name,this->f};
movl 8(%ebp), %eax # this, tmp92
movzbl 40(%eax), %edx # this_7(D)->f, _5
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:88: return {this->grade,this->durability,this->name,this->f};
movl -12(%ebp), %eax # <retval>, tmp93
movb %dl, 40(%eax) # _5, _8(D)->f
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:90: }
movl -12(%ebp), %eax # <retval>,
leave
.cfi_restore 5
.cfi_def_cfa 4, 4
ret $4 #
.cfi_endproc
LFE10196:
.section .text$_ZN4ARMS7ARMsellEv,"x"
.linkonce discard
.align 2
.globl __ZN4ARMS7ARMsellEv
.def __ZN4ARMS7ARMsellEv; .scl 2; .type 32; .endef
__ZN4ARMS7ARMsellEv:
LFB10200:
.cfi_startproc
pushl %ebp #
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp #,
.cfi_def_cfa_register 5
subl $4, %esp #,
movl %ecx, -4(%ebp) # this, this
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:94: f=0;
movl -4(%ebp), %eax # this, tmp82
movb $0, 40(%eax) #, this_2(D)->f
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:95: }
nop
leave
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
LFE10200:
.section .text$_ZN5ENEMY4hurtEx,"x"
.linkonce discard
.align 2
.globl __ZN5ENEMY4hurtEx
.def __ZN5ENEMY4hurtEx; .scl 2; .type 32; .endef
__ZN5ENEMY4hurtEx:
LFB10201:
.cfi_startproc
pushl %ebp #
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp #,
.cfi_def_cfa_register 5
subl $56, %esp #,
movl %ecx, -28(%ebp) # this, this
movl 8(%ebp), %eax # hp, tmp86
movl %eax, -40(%ebp) # tmp86, hp
movl 12(%ebp), %eax # hp, tmp87
movl %eax, -36(%ebp) # tmp87, hp
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:105: this->hp=max(this->hp-hp,0LL);
movl $0, -24(%ebp) #, D.260073
movl $0, -20(%ebp) #, D.260073
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:105: this->hp=max(this->hp-hp,0LL);
movl -28(%ebp), %eax # this, tmp88
movl 28(%eax), %edx # this_7(D)->hp, _1
movl 24(%eax), %eax # this_7(D)->hp, _1
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:105: this->hp=max(this->hp-hp,0LL);
subl -40(%ebp), %eax # hp, _2
sbbl -36(%ebp), %edx # hp, _2
movl %eax, -16(%ebp) # _2, D.260072
movl %edx, -12(%ebp) # _2, D.260072
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:105: this->hp=max(this->hp-hp,0LL);
leal -24(%ebp), %eax #, tmp89
movl %eax, 4(%esp) # tmp89,
leal -16(%ebp), %eax #, tmp90
movl %eax, (%esp) # tmp90,
call __ZSt3maxIxERKT_S2_S2_ #
movl 4(%eax), %edx # *_3, _4
movl (%eax), %eax # *_3, _4
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:105: this->hp=max(this->hp-hp,0LL);
movl -28(%ebp), %ecx # this, tmp91
movl %eax, 24(%ecx) # _4, this_7(D)->hp
movl %edx, 28(%ecx) # _4, this_7(D)->hp
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:106: }
nop
leave
.cfi_restore 5
.cfi_def_cfa 4, 4
ret $8 #
.cfi_endproc
LFE10201:
.section .text$_ZN5ENEMY3dieEv,"x"
.linkonce discard
.align 2
.globl __ZN5ENEMY3dieEv
.def __ZN5ENEMY3dieEv; .scl 2; .type 32; .endef
__ZN5ENEMY3dieEv:
LFB10205:
.cfi_startproc
pushl %ebp #
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp #,
.cfi_def_cfa_register 5
pushl %ebx #
subl $12, %esp #,
.cfi_offset 3, -12
movl %ecx, -12(%ebp) # this, this
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:115: if(this->hp<=0)
movl -12(%ebp), %eax # this, tmp85
movl 28(%eax), %edx # this_4(D)->hp, _1
movl 24(%eax), %eax # this_4(D)->hp, _1
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:115: if(this->hp<=0)
movl $0, %ebx #, tmp86
movl $0, %ecx #, tmp87
cmpl %eax, %ebx # _1, tmp86
sbbl %edx, %ecx # _1, tmp89
jl L33 #,
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:118: return 1;
movl $1, %eax #, _2
jmp L34 #
L33:
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:120: return 0;
movl $0, %eax #, _2
L34:
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:121: }
movl -4(%ebp), %ebx #,
leave
.cfi_restore 5
.cfi_restore 3
.cfi_def_cfa 4, 4
ret
.cfi_endproc
LFE10205:
.section .text$_ZN5ENEMyD1Ev,"x"
.linkonce discard
.align 2
.globl __ZN5ENEMyD1Ev
.def __ZN5ENEMyD1Ev; .scl 2; .type 32; .endef
__ZN5ENEMyD1Ev:
LFB10209:
.cfi_startproc
pushl %ebp #
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp #,
.cfi_def_cfa_register 5
subl $24, %esp #,
movl %ecx, -12(%ebp) # this, this
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:61: struct ENEMy
movl -12(%ebp), %eax # this, _1
movl %eax, %ecx # _1,
call __ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev #
nop
leave
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
LFE10209:
.section .text$_ZN5ENEMY11dataviewingEv,"x"
.linkonce discard
.align 2
.globl __ZN5ENEMY11dataviewingEv
.def __ZN5ENEMY11dataviewingEv; .scl 2; .type 32; .endef
__ZN5ENEMY11dataviewingEv:
LFB10206:
.cfi_startproc
pushl %ebp #
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp #,
.cfi_def_cfa_register 5
subl $40, %esp #,
movl %ecx, -12(%ebp) # .result_ptr, .result_ptr
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:124: return {this->name,this->hp,this->grade};
movl -12(%ebp), %eax # <retval>, _1
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:124: return {this->name,this->hp,this->grade};
movl 8(%ebp), %edx # this, _2
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:124: return {this->name,this->hp,this->grade};
movl %edx, (%esp) # _2,
movl %eax, %ecx # _1,
call __ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1ERKS4_ #
subl $4, %esp #,
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:124: return {this->name,this->hp,this->grade};
movl 8(%ebp), %eax # this, tmp86
movl 28(%eax), %edx # this_6(D)->hp, _3
movl 24(%eax), %eax # this_6(D)->hp, _3
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:124: return {this->name,this->hp,this->grade};
movl -12(%ebp), %ecx # <retval>, tmp87
movl %eax, 24(%ecx) # _3, _5(D)->hp
movl %edx, 28(%ecx) # _3, _5(D)->hp
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:124: return {this->name,this->hp,this->grade};
movl 8(%ebp), %eax # this, tmp88
movl 36(%eax), %edx # this_6(D)->grade, _4
movl 32(%eax), %eax # this_6(D)->grade, _4
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:124: return {this->name,this->hp,this->grade};
movl -12(%ebp), %ecx # <retval>, tmp89
movl %eax, 32(%ecx) # _4, _5(D)->grade
movl %edx, 36(%ecx) # _4, _5(D)->grade
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:125: }
movl -12(%ebp), %eax # <retval>,
leave
.cfi_restore 5
.cfi_def_cfa 4, 4
ret $4 #
.cfi_endproc
LFE10206:
.section .rdata,"dr"
.align 4
LC5:
.ascii "\312\271\323\303%s\266\324%s\324\354\263\311%lld\265\343\311\313\272\246\12%s\273\271\312\243%lld\265\343\304\315\276\303\12%s\273\271\312\243%lld\265\343\321\252\12\0"
LC6:
.ascii "\304\315\276\303\262\273\327\343!\12\0"
.text
.align 2
.globl __ZN4ARMS6attackER5ENEMY
.def __ZN4ARMS6attackER5ENEMY; .scl 2; .type 32; .endef
__ZN4ARMS6attackER5ENEMY:
LFB10210:
.cfi_startproc
.cfi_personality 0x9b,LDFCM0
.cfi_lsda 0x1b,LLSDA10210
pushl %ebp #
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp #,
.cfi_def_cfa_register 5
pushl %edi #
pushl %esi #
pushl %ebx #
subl $172, %esp #,
.cfi_offset 7, -12
.cfi_offset 6, -16
.cfi_offset 3, -20
movl %ecx, -108(%ebp) # this, this
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:130: if(this->durability>=1)
movl -108(%ebp), %eax # this, tmp98
movl 36(%eax), %edx # this_20(D)->durability, _1
movl 32(%eax), %eax # this_20(D)->durability, _1
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:130: if(this->durability>=1)
movl $0, %ebx #, tmp99
movl $0, %ecx #, tmp100
cmpl %eax, %ebx # _1, tmp99
sbbl %edx, %ecx # _1, tmp122
jge L39 #,
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:132: auto c=a.dataviewing();
leal -104(%ebp), %eax #, tmp101
movl 8(%ebp), %edx # a, tmp102
movl %edx, (%esp) # tmp102,
movl %eax, %ecx # tmp101,
LEHB6:
call __ZN5ENEMY11dataviewingEv #
LEHE6:
subl $4, %esp #,
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:133: a.hurt(this->grade);
movl -108(%ebp), %eax # this, tmp103
movl 28(%eax), %edx # this_20(D)->grade, _2
movl 24(%eax), %eax # this_20(D)->grade, _2
movl %eax, (%esp) # _2,
movl %edx, 4(%esp) # _2,
movl 8(%ebp), %ecx # a,
call __ZN5ENEMY4hurtEx #
subl $8, %esp #,
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:134: this->durability--;
movl -108(%ebp), %eax # this, tmp104
movl 36(%eax), %edx # this_20(D)->durability, _3
movl 32(%eax), %eax # this_20(D)->durability, _3
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:134: this->durability--;
addl $-1, %eax #, _4
adcl $-1, %edx #, _4
movl -108(%ebp), %ecx # this, tmp105
movl %eax, 32(%ecx) # _4, this_20(D)->durability
movl %edx, 36(%ecx) # _4, this_20(D)->durability
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:135: ENEMy b=a.dataviewing();
leal -64(%ebp), %eax #, tmp106
movl 8(%ebp), %edx # a, tmp107
movl %edx, (%esp) # tmp107,
movl %eax, %ecx # tmp106,
LEHB7:
call __ZN5ENEMY11dataviewingEv #
LEHE7:
subl $4, %esp #,
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:136: printf("浣跨敤%s瀵�s閫犳垚%lld鐐逛激瀹砛n%s杩樺墿%lld鐐硅�愪箙\n%s杩樺墿%lld鐐硅\n",this->name.c_str(),b.name.c_str(),min(this->grade,c.hp),this->name.c_str(),this->durability,b.name.c_str(),b.hp);
movl -40(%ebp), %eax # b.hp, _5
movl -36(%ebp), %edx # b.hp, _5
movl %eax, -120(%ebp) # _5, %sfp
movl %edx, -116(%ebp) # _5, %sfp
leal -64(%ebp), %eax #, tmp108
movl %eax, %ecx # tmp108,
call __ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv #
movl %eax, -112(%ebp) #, %sfp
movl -108(%ebp), %eax # this, tmp109
movl 32(%eax), %esi # this_20(D)->durability, _7
movl 36(%eax), %edi # this_20(D)->durability, _7
movl %esi, -128(%ebp) # _7, %sfp
movl %edi, -124(%ebp) # _7, %sfp
movl -108(%ebp), %eax # this, _8
movl %eax, %ecx # _8,
call __ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv #
movl %eax, -132(%ebp) #, %sfp
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:136: printf("浣跨敤%s瀵�s閫犳垚%lld鐐逛激瀹砛n%s杩樺墿%lld鐐硅�愪箙\n%s杩樺墿%lld鐐硅\n",this->name.c_str(),b.name.c_str(),min(this->grade,c.hp),this->name.c_str(),this->durability,b.name.c_str(),b.hp);
movl -108(%ebp), %eax # this, tmp110
leal 24(%eax), %edx #, _10
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:136: printf("浣跨敤%s瀵�s閫犳垚%lld鐐逛激瀹砛n%s杩樺墿%lld鐐硅�愪箙\n%s杩樺墿%lld鐐硅\n",this->name.c_str(),b.name.c_str(),min(this->grade,c.hp),this->name.c_str(),this->durability,b.name.c_str(),b.hp);
leal -104(%ebp), %eax #, tmp111
addl $24, %eax #, tmp112
movl %eax, 4(%esp) # tmp112,
movl %edx, (%esp) # _10,
call __ZSt3minIxERKT_S2_S2_ #
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:136: printf("浣跨敤%s瀵�s閫犳垚%lld鐐逛激瀹砛n%s杩樺墿%lld鐐硅�愪箙\n%s杩樺墿%lld鐐硅\n",this->name.c_str(),b.name.c_str(),min(this->grade,c.hp),this->name.c_str(),this->durability,b.name.c_str(),b.hp);
movl (%eax), %esi # *_11, _12
movl 4(%eax), %edi # *_11, _12
leal -64(%ebp), %eax #, tmp113
movl %eax, %ecx # tmp113,
call __ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv #
movl %eax, %ebx #, _13
movl -108(%ebp), %eax # this, _14
movl %eax, %ecx # _14,
call __ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv #
movl -120(%ebp), %edx # %sfp, _5
movl -116(%ebp), %ecx # %sfp, _5
movl %edx, 36(%esp) # _5,
movl %ecx, 40(%esp) # _5,
movl -112(%ebp), %ecx # %sfp, _6
movl %ecx, 32(%esp) # _6,
movl -128(%ebp), %edx # %sfp, _7
movl -124(%ebp), %ecx # %sfp, _7
movl %edx, 24(%esp) # _7,
movl %ecx, 28(%esp) # _7,
movl -132(%ebp), %edx # %sfp, _9
movl %edx, 20(%esp) # _9,
movl %esi, 12(%esp) # _12,
movl %edi, 16(%esp) # _12,
movl %ebx, 8(%esp) # _13,
movl %eax, 4(%esp) # _15,
movl $LC5, (%esp) #,
LEHB8:
call __Z6printfPKcz #
LEHE8:
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:137: }
leal -64(%ebp), %eax #, tmp114
movl %eax, %ecx # tmp114,
call __ZN5ENEMyD1Ev #
leal -104(%ebp), %eax #, tmp115
movl %eax, %ecx # tmp115,
call __ZN5ENEMyD1Ev #
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:142: }
jmp L38 #
L39:
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:140: printf("鑰愪箙涓嶈冻!\n");
movl $LC6, (%esp) #,
LEHB9:
call __Z6printfPKcz #
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:142: }
jmp L38 #
L44:
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:137: }
movl %eax, %ebx #, tmp118
leal -64(%ebp), %eax #, tmp116
movl %eax, %ecx # tmp116,
call __ZN5ENEMyD1Ev #
jmp L42 #
L43:
movl %eax, %ebx #, tmp117
L42:
leal -104(%ebp), %eax #, tmp121
movl %eax, %ecx # tmp121,
call __ZN5ENEMyD1Ev #
movl %ebx, %eax # tmp117, D.284168
movl %eax, (%esp) # D.284168,
call __Unwind_Resume #
LEHE9:
L38:
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:142: }
leal -12(%ebp), %esp #,
popl %ebx #
.cfi_restore 3
popl %esi #
.cfi_restore 6
popl %edi #
.cfi_restore 7
popl %ebp #
.cfi_restore 5
.cfi_def_cfa 4, 4
ret $4 #
.cfi_endproc
LFE10210:
.section .gcc_except_table,"w"
LLSDA10210:
.byte 0xff
.byte 0xff
.byte 0x1
.uleb128 LLSDACSE10210-LLSDACSB10210
LLSDACSB10210:
.uleb128 LEHB6-LFB10210
.uleb128 LEHE6-LEHB6
.uleb128 0
.uleb128 0
.uleb128 LEHB7-LFB10210
.uleb128 LEHE7-LEHB7
.uleb128 L43-LFB10210
.uleb128 0
.uleb128 LEHB8-LFB10210
.uleb128 LEHE8-LEHB8
.uleb128 L44-LFB10210
.uleb128 0
.uleb128 LEHB9-LFB10210
.uleb128 LEHE9-LEHB9
.uleb128 0
.uleb128 0
LLSDACSE10210:
.text
.section .rdata,"dr"
.align 4
LC7:
.ascii "\312\325\265\275\300\264\327\324%s\265\304%lld\265\343\311\313\272\246\243\254\273\271\312\243%lld\265\343\321\252\241\243\12\0"
.text
.align 2
.globl __ZN5ENEMY6attackEv
.def __ZN5ENEMY6attackEv; .scl 2; .type 32; .endef
__ZN5ENEMY6attackEv:
LFB10211:
.cfi_startproc
pushl %ebp #
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp #,
.cfi_def_cfa_register 5
pushl %edi #
pushl %esi #
pushl %ebx #
subl $76, %esp #,
.cfi_offset 7, -12
.cfi_offset 6, -16
.cfi_offset 3, -20
movl %ecx, -44(%ebp) # this, this
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:145: h=max(h-this->grade,0LL);
movl $0, -40(%ebp) #, D.260118
movl $0, -36(%ebp) #, D.260118
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:145: h=max(h-this->grade,0LL);
movl _h, %eax # h, h.7_1
movl _h+4, %edx # h, h.7_1
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:145: h=max(h-this->grade,0LL);
movl -44(%ebp), %ecx # this, tmp91
movl 36(%ecx), %ebx # this_12(D)->grade, _2
movl 32(%ecx), %ecx # this_12(D)->grade, _2
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:145: h=max(h-this->grade,0LL);
subl %ecx, %eax # _2, _3
sbbl %ebx, %edx # _2, _3
movl %eax, -32(%ebp) # _3, D.260117
movl %edx, -28(%ebp) # _3, D.260117
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:145: h=max(h-this->grade,0LL);
leal -40(%ebp), %eax #, tmp92
movl %eax, 4(%esp) # tmp92,
leal -32(%ebp), %eax #, tmp93
movl %eax, (%esp) # tmp93,
call __ZSt3maxIxERKT_S2_S2_ #
movl 4(%eax), %edx # *_4, _5
movl (%eax), %eax # *_4, _5
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:145: h=max(h-this->grade,0LL);
movl %eax, _h # _5, h
movl %edx, _h+4 # _5, h
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:146: printf("鏀跺埌鏉ヨ嚜%s鐨�lld鐐逛激瀹筹紝杩樺墿%lld鐐硅銆俓n",this->name.c_str(),grade,h);
movl _h, %eax # h, h.8_6
movl _h+4, %edx # h, h.8_6
movl %eax, -56(%ebp) # h.8_6, %sfp
movl %edx, -52(%ebp) # h.8_6, %sfp
movl -44(%ebp), %eax # this, tmp94
movl 32(%eax), %esi # this_12(D)->grade, _7
movl 36(%eax), %edi # this_12(D)->grade, _7
movl -44(%ebp), %eax # this, _8
movl %eax, %ecx # _8,
call __ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5c_strEv #
movl -56(%ebp), %edx # %sfp, h.8_6
movl -52(%ebp), %ecx # %sfp, h.8_6
movl %edx, 16(%esp) # h.8_6,
movl %ecx, 20(%esp) # h.8_6,
movl %esi, 8(%esp) # _7,
movl %edi, 12(%esp) # _7,
movl %eax, 4(%esp) # _9,
movl $LC7, (%esp) #,
call __Z6printfPKcz #
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:147: }
nop
addl $76, %esp #,
popl %ebx #
.cfi_restore 3
popl %esi #
.cfi_restore 6
popl %edi #
.cfi_restore 7
popl %ebp #
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
LFE10211:
.globl __Z3diev
.def __Z3diev; .scl 2; .type 32; .endef
__Z3diev:
LFB10212:
.cfi_startproc
pushl %ebp #
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp #,
.cfi_def_cfa_register 5
pushl %ebx #
.cfi_offset 3, -12
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:150: if(h<=0)return 1;
movl _h, %eax # h, h.9_1
movl _h+4, %edx # h, h.9_1
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:150: if(h<=0)return 1;
movl $0, %ebx #, tmp85
movl $0, %ecx #, tmp86
cmpl %eax, %ebx # h.9_1, tmp85
sbbl %edx, %ecx # h.9_1, tmp88
jl L47 #,
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:150: if(h<=0)return 1;
movl $1, %eax #, _2
jmp L48 #
L47:
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:151: return 0;
movl $0, %eax #, _2
L48:
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:152: }
movl -4(%ebp), %ebx #,
leave
.cfi_restore 5
.cfi_restore 3
.cfi_def_cfa 4, 4
ret
.cfi_endproc
LFE10212:
.globl __Z8endcheck5ENEMY
.def __Z8endcheck5ENEMY; .scl 2; .type 32; .endef
__Z8endcheck5ENEMY:
LFB10213:
.cfi_startproc
pushl %ebp #
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp #,
.cfi_def_cfa_register 5
subl $8, %esp #,
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:155: if(die())return 2;
call __Z3diev #
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:155: if(die())return 2;
testb %al, %al # retval.10_5
je L50 #,
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:155: if(die())return 2;
movl $2, %eax #, _1
movl $0, %edx #, _1
jmp L51 #
L50:
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:156: if(a.die())return 1;
movl 8(%ebp), %ecx # a,
call __ZN5ENEMY3dieEv #
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:156: if(a.die())return 1;
testb %al, %al # retval.11_8
je L52 #,
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:156: if(a.die())return 1;
movl $1, %eax #, _1
movl $0, %edx #, _1
jmp L51 #
L52:
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:157: return 0;
movl $0, %eax #, _1
movl $0, %edx #, _1
L51:
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:158: }
leave
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
LFE10213:
.section .text$_ZNSt12_Vector_baseI4ARMSSaIS0_EE12_Vector_implD1Ev,"x"
.linkonce discard
.align 2
.globl __ZNSt12_Vector_baseI4ARMSSaIS0_EE12_Vector_implD1Ev
.def __ZNSt12_Vector_baseI4ARMSSaIS0_EE12_Vector_implD1Ev; .scl 2; .type 32; .endef
__ZNSt12_Vector_baseI4ARMSSaIS0_EE12_Vector_implD1Ev:
LFB10219:
.cfi_startproc
pushl %ebp #
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp #,
.cfi_def_cfa_register 5
subl $24, %esp #,
movl %ecx, -12(%ebp) # this, this
# C:/Program Files (x86)/RedPanda-Cpp/mingw32/lib/gcc/i686-w64-mingw32/11.4.0/include/c++/bits/stl_vector.h:128: struct _Vector_impl
movl -12(%ebp), %eax # this, tmp82
movl %eax, %ecx # tmp82,
call __ZNSaI4ARMSED2Ev #
nop
leave
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
LFE10219:
.section .text$_ZNSt12_Vector_baseI4ARMSSaIS0_EEC2Ev,"x"
.linkonce discard
.align 2
.globl __ZNSt12_Vector_baseI4ARMSSaIS0_EEC2Ev
.def __ZNSt12_Vector_baseI4ARMSSaIS0_EEC2Ev; .scl 2; .type 32; .endef
__ZNSt12_Vector_baseI4ARMSSaIS0_EEC2Ev:
LFB10220:
.cfi_startproc
pushl %ebp #
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp #,
.cfi_def_cfa_register 5
subl $24, %esp #,
movl %ecx, -12(%ebp) # this, this
# C:/Program Files (x86)/RedPanda-Cpp/mingw32/lib/gcc/i686-w64-mingw32/11.4.0/include/c++/bits/stl_vector.h:288: _Vector_base() = default;
movl -12(%ebp), %eax # this, _1
movl %eax, %ecx # _1,
call __ZNSt12_Vector_baseI4ARMSSaIS0_EE12_Vector_implC1Ev #
nop
leave
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
LFE10220:
.section .text$_ZNSt6vectorI4ARMSSaIS0_EEC1Ev,"x"
.linkonce discard
.align 2
.globl __ZNSt6vectorI4ARMSSaIS0_EEC1Ev
.def __ZNSt6vectorI4ARMSSaIS0_EEC1Ev; .scl 2; .type 32; .endef
__ZNSt6vectorI4ARMSSaIS0_EEC1Ev:
LFB10223:
.cfi_startproc
pushl %ebp #
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp #,
.cfi_def_cfa_register 5
subl $24, %esp #,
movl %ecx, -12(%ebp) # this, this
# C:/Program Files (x86)/RedPanda-Cpp/mingw32/lib/gcc/i686-w64-mingw32/11.4.0/include/c++/bits/stl_vector.h:487: vector() = default;
movl -12(%ebp), %eax # this, _1
movl %eax, %ecx # _1,
call __ZNSt12_Vector_baseI4ARMSSaIS0_EEC2Ev #
nop
leave
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
LFE10223:
.globl _arm
.bss
.align 4
_arm:
.space 12
.section .rdata,"dr"
LC8:
.ascii "\273\266\323\255\275\370\310\353\316\344\306\367\312\320\263\241\241\255\241\255\12\0"
LC9:
.ascii "1.\274\351\311\314\12\0"
LC10:
.ascii "2.\316\344\306\367\266\315\324\354\311\314\12\0"
LC11:
.ascii "3.\310\272\326\332\12\0"
LC12:
.ascii "\273\271\317\353\270\311\302\357\243\241\12\0"
.text
.globl __Z8armsshopv
.def __Z8armsshopv; .scl 2; .type 32; .endef
__Z8armsshopv:
LFB10224:
.cfi_startproc
pushl %ebp #
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp #,
.cfi_def_cfa_register 5
pushl %edi #
pushl %esi #
pushl %ebx #
subl $60, %esp #,
.cfi_offset 7, -12
.cfi_offset 6, -16
.cfi_offset 3, -20
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:165: printf("娆㈣繋杩涘叆姝﹀櫒甯傚満鈥︹�n");
movl $LC8, (%esp) #,
call __Z6printfPKcz #
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:167: printf("1.濂稿晢\n");
movl $LC9, (%esp) #,
call __Z6printfPKcz #
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:168: printf("2.姝﹀櫒閿婚�犲晢\n");
movl $LC10, (%esp) #,
call __Z6printfPKcz #
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:169: printf("3.缇や紬\n");
movl $LC11, (%esp) #,
call __Z6printfPKcz #
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:170: cin>>num;
leal -32(%ebp), %eax #, tmp83
movl %eax, (%esp) # tmp83,
movl $__ZSt3cin, %ecx #,
call __ZNSirsERx #
subl $4, %esp #,
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:171: switch(num)
movl -32(%ebp), %ecx # num, num.12_1
movl -28(%ebp), %ebx # num, num.12_1
movl %ecx, %eax # num.12_1, tmp94
xorl $3, %eax #, tmp94
movl %eax, %esi # tmp94, tmp84
movl %ebx, %eax # num.12_1, tmp95
xorb $0, %ah #, tmp95
movl %eax, %edi # tmp95,
movl %edi, %eax #, tmp85
orl %esi, %eax # tmp84, tmp85
testl %eax, %eax # tmp85
je L62 #,
movl $3, %edx #, tmp86
movl $0, %eax #, tmp87
cmpl %ecx, %edx # num.12_1, tmp86
sbbl %ebx, %eax # num.12_1, tmp92
jl L58 #,
movl %ecx, %eax # num.12_1, tmp97
xorl $1, %eax #, tmp97
movl %eax, -48(%ebp) # tmp97, %sfp
movl %ebx, %eax # num.12_1, tmp98
xorb $0, %ah #, tmp98
movl %eax, -44(%ebp) # tmp98, %sfp
movl -48(%ebp), %esi # %sfp, tmp88
movl -44(%ebp), %edi # %sfp,
movl %edi, %eax #, tmp89
orl %esi, %eax # tmp88, tmp89
testl %eax, %eax # tmp89
je L59 #,
movl %ecx, %eax # num.12_1, tmp100
xorl $2, %eax #, tmp100
movl %eax, -56(%ebp) # tmp100, %sfp
movl %ebx, %eax # num.12_1, tmp101
xorb $0, %ah #, tmp101
movl %eax, -52(%ebp) # tmp101, %sfp
movl -56(%ebp), %ebx # %sfp, tmp90
movl -52(%ebp), %esi # %sfp,
movl %esi, %eax #, tmp91
orl %ebx, %eax # tmp90, tmp91
testl %eax, %eax # tmp91
je L63 #,
jmp L58 #
L59:
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:174: merchant();
call __Z8merchantv #
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:175: break;
jmp L61 #
L58:
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:181: printf("杩樻兂骞插槢锛乗n");
movl $LC12, (%esp) #,
call __Z6printfPKcz #
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:182: break;
jmp L61 #
L62:
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:179: break;
nop
jmp L64 #
L63:
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:177: break;
nop
L61:
L64:
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:184: }
nop
leal -12(%ebp), %esp #,
popl %ebx #
.cfi_restore 3
popl %esi #
.cfi_restore 6
popl %edi #
.cfi_restore 7
popl %ebp #
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
LFE10224:
.section .rdata,"dr"
LC13:
.ascii "\273\266\323\255\271\342\301\331\261\276\265\352\243\254\322\252\311\266\327\324\274\272\314\364\241\243\12\0"
LC14:
.ascii "1.\266\376\312\326\316\344\306\367\273\365\274\334\12\0"
LC15:
.ascii "2.\316\344\306\367\267\267\302\364\12\0"
.text
.globl __Z8merchantv
.def __Z8merchantv; .scl 2; .type 32; .endef
__Z8merchantv:
LFB10225:
.cfi_startproc
pushl %ebp #
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp #,
.cfi_def_cfa_register 5
pushl %edi #
pushl %esi #
pushl %ebx #
subl $60, %esp #,
.cfi_offset 7, -12
.cfi_offset 6, -16
.cfi_offset 3, -20
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:187: printf("娆㈣繋鍏変复鏈簵锛岃鍟ヨ嚜宸辨寫銆俓n");
movl $LC13, (%esp) #,
call __Z6printfPKcz #
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:188: printf("1.浜屾墜姝﹀櫒璐ф灦\n");
movl $LC14, (%esp) #,
call __Z6printfPKcz #
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:189: printf("2.姝﹀櫒璐╁崠\n");
movl $LC15, (%esp) #,
call __Z6printfPKcz #
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:191: cin>>num;
leal -32(%ebp), %eax #, tmp83
movl %eax, (%esp) # tmp83,
movl $__ZSt3cin, %ecx #,
call __ZNSirsERx #
subl $4, %esp #,
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:192: switch(num)
movl -32(%ebp), %ecx # num, num.13_1
movl -28(%ebp), %ebx # num, num.13_1
movl %ecx, %eax # num.13_1, tmp94
xorl $3, %eax #, tmp94
movl %eax, %esi # tmp94, tmp84
movl %ebx, %eax # num.13_1, tmp95
xorb $0, %ah #, tmp95
movl %eax, %edi # tmp95,
movl %edi, %eax #, tmp85
orl %esi, %eax # tmp84, tmp85
testl %eax, %eax # tmp85
je L71 #,
movl $3, %edx #, tmp86
movl $0, %eax #, tmp87
cmpl %ecx, %edx # num.13_1, tmp86
sbbl %ebx, %eax # num.13_1, tmp92
jl L67 #,
movl %ecx, %eax # num.13_1, tmp97
xorl $1, %eax #, tmp97
movl %eax, -48(%ebp) # tmp97, %sfp
movl %ebx, %eax # num.13_1, tmp98
xorb $0, %ah #, tmp98
movl %eax, -44(%ebp) # tmp98, %sfp
movl -48(%ebp), %esi # %sfp, tmp88
movl -44(%ebp), %edi # %sfp,
movl %edi, %eax #, tmp89
orl %esi, %eax # tmp88, tmp89
testl %eax, %eax # tmp89
je L68 #,
movl %ecx, %eax # num.13_1, tmp100
xorl $2, %eax #, tmp100
movl %eax, -56(%ebp) # tmp100, %sfp
movl %ebx, %eax # num.13_1, tmp101
xorb $0, %ah #, tmp101
movl %eax, -52(%ebp) # tmp101, %sfp
movl -56(%ebp), %ebx # %sfp, tmp90
movl -52(%ebp), %esi # %sfp,
movl %esi, %eax #, tmp91
orl %ebx, %eax # tmp90, tmp91
testl %eax, %eax # tmp91
je L69 #,
jmp L67 #
L68:
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:195: shelf();
call __Z5shelfv #
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:196: break;
jmp L70 #
L69:
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:198: armsell();
call __Z7armsellv #
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:199: break;
jmp L70 #
L67:
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:204: printf("杩樻兂骞插槢锛乗n");
movl $LC12, (%esp) #,
call __Z6printfPKcz #
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:205: break;
jmp L70 #
L71:
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:202: break;
nop
L70:
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:207: }
nop
leal -12(%ebp), %esp #,
popl %ebx #
.cfi_restore 3
popl %esi #
.cfi_restore 6
popl %edi #
.cfi_restore 7
popl %ebp #
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
LFE10225:
.section .text$_ZN4ARMSD1Ev,"x"
.linkonce discard
.align 2
.globl __ZN4ARMSD1Ev
.def __ZN4ARMSD1Ev; .scl 2; .type 32; .endef
__ZN4ARMSD1Ev:
LFB10229:
.cfi_startproc
pushl %ebp #
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp #,
.cfi_def_cfa_register 5
subl $24, %esp #,
movl %ecx, -12(%ebp) # this, this
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:67: class ARMS
movl -12(%ebp), %eax # this, _1
movl %eax, %ecx # _1,
call __ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev #
nop
leave
.cfi_restore 5
.cfi_def_cfa 4, 4
ret
.cfi_endproc
LFE10229:
.section .rdata,"dr"
LC16:
.ascii "%lld.\311\313\272\246%lld \304\315\276\303%lld\12\0"
LC17:
.ascii "\304\304\300\264\304\307\303\264\266\340\316\344\306\367\270\370\304\343\314\364\243\277\12\0"
LC18:
.ascii "1.\305\334\302\267\12\0"
LC19:
.ascii "2.\300\317\300\317\312\265\312\265\270\266\307\256\12\0"
LC20:
.ascii "\305\334\302\267\263\311\271\246\243\241\305\243\261\306\243\241\0"
LC21:
.ascii "\270\322\305\334\302\267\243\241\243\241\243\241\12\0"
LC22:
.ascii "\273\271\300\264\243\254\311\317\264\316\303\273\264\362\304\343\312\307\260\311\243\241\243\241\243\241\12\0"
LC23:
.ascii "\261\273\326\342\273\367\301\313\243\254\277\333%lld\265\343\321\252\241\243\12\0"
LC24:
.ascii "\267\305\304\343\322\273\302\355\243\241\12\0"
LC25:
.ascii "\270\370\307\256\243\241%lld\275\360\261\322\243\241\12\0"
LC26:
.ascii "1.\270\266\307\256\12\0"
LC27:
.ascii "2.\275\262\274\333\12\0"
LC28:
.ascii "\303\273\307\256\273\271\300\264\302\362\243\241\243\241\243\241\271\366\243\241\12\0"
LC29:
.ascii "\273\250\267\321\301\313%lld\265\343\275\360\261\322\243\241\12\0"
LC30:
.ascii "\316\252\327\324\274\272\265\304\316\344\306\367\310\241\270\366\303\373\327\326\260\311\243\241\0"
.text
.globl __Z5shelfv
.def __Z5shelfv; .scl 2; .type 32; .endef
__Z5shelfv:
LFB10226:
.cfi_startproc
.cfi_personality 0x9b,LDFCM0
.cfi_lsda 0x1b,LLSDA10226
pushl %ebp #
.cfi_def_cfa_offset 8
.cfi_offset 5, -8
movl %esp, %ebp #,
.cfi_def_cfa_register 5
pushl %edi #
pushl %esi #
pushl %ebx #
subl $300, %esp #,
.cfi_offset 7, -12
.cfi_offset 6, -16
.cfi_offset 3, -20
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:210: ll Size=rand()%4+1,num;
call _rand #
movl %eax, %edx #, _1
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:210: ll Size=rand()%4+1,num;
movl %edx, %eax # _1, tmp131
sarl $31, %eax #, tmp131
shrl $30, %eax #, tmp131
movl %eax, %ecx # tmp131, tmp132
leal (%edx,%ecx), %eax #, tmp133
andl $3, %eax #, tmp134
subl %ecx, %eax # tmp132, tmp135
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:210: ll Size=rand()%4+1,num;
addl $1, %eax #, _3
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:210: ll Size=rand()%4+1,num;
cltd
movl %eax, -48(%ebp) # tmp136, Size
movl %edx, -44(%ebp) #, Size
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:211: vector<Arm>ARm(1);
leal -129(%ebp), %eax #, tmp137
movl %eax, %ecx # tmp137,
call __ZNSaI3ArmEC1Ev #
leal -156(%ebp), %edx #, tmp138
leal -129(%ebp), %eax #, tmp139
movl %eax, 4(%esp) # tmp139,
movl $1, (%esp) #,
movl %edx, %ecx # tmp138,
LEHB10:
call __ZNSt6vectorI3ArmSaIS0_EEC1EjRKS1_ #
LEHE10:
subl $8, %esp #,
leal -129(%ebp), %eax #, tmp140
movl %eax, %ecx # tmp140,
call __ZNSaI3ArmED1Ev #
# C:/Users/Admin/Desktop/郭玄贺/c++/游戏/游戏草稿.cpp:212: for(ll i=1;i<=Size;i++)ARm.push_back({rand()%50+3,rand()%100+10});
movl $1, -32(%ebp) #, i
movl $0, -28(%ebp) #, i
# C:/Users/Admin/De
全部评论 1
郭玄贺小朋友你好
1周前 来自 天津
01周前 来自 浙江
0
有帮助,赞一个