// File: BohangZhang[P]Sorcery-C-Project/ascii_graphics.cc
// Function: display_minion_general(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int, int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, int)
static card_template_t display_minion_general(card_template_t out,std::string name,int cost,int attack,int defence,std::string desc,int ability_cost) {
  std::ostringstream oss;
  prepare_for_replace(out);
  replace_text_left(out,'N',name);
  oss << cost;
  replace_text_right(out,'C',oss.str());
  replace_text_right(out,'T',"Minion");
  oss.str("");
  oss << attack;
  replace_text_left(out,'A',oss.str());
  oss.str("");
  oss << defence;
  replace_text_right(out,'D',oss.str());
  replace_text_left(out,'E',desc);
  oss.str("");
  oss << ability_cost;
  replace_text_left(out,'K',oss.str());
  return out;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x360, %rsp            # imm = 0x360
movq %rdx, -0x338(%rbp)
movq %rsi, -0x318(%rbp)
movq %rdi, -0x330(%rbp)
movq %rdi, %rax
movq %rax, -0x328(%rbp)
movl 0x18(%rbp), %eax
movq 0x10(%rbp), %rax
movq %rax, -0x320(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movl %r8d, -0x20(%rbp)
movl %r9d, -0x24(%rbp)
leaq -0x1a0(%rbp), %rdi
callq 0x63c0
movq -0x318(%rbp), %rdi
callq 0x175e0
jmp 0x168f9
movq -0x338(%rbp), %rsi
leaq -0x1d0(%rbp), %rdi
callq 0x6100
jmp 0x1690e
movq -0x318(%rbp), %rdi
movl $0x4e, %esi
leaq -0x1d0(%rbp), %rdx
callq 0x176a0
jmp 0x16928
leaq -0x1d0(%rbp), %rdi
callq 0x64c8
movl -0x1c(%rbp), %esi
leaq -0x1a0(%rbp), %rdi
callq 0x6440
jmp 0x16945
leaq -0x1f0(%rbp), %rdi
leaq -0x1a0(%rbp), %rsi
callq 0x62b0
jmp 0x1695a
movq -0x318(%rbp), %rdi
movl $0x43, %esi
leaq -0x1f0(%rbp), %rdx
callq 0x17860
jmp 0x16974
leaq -0x1f0(%rbp), %rdi
callq 0x64c8
leaq -0x211(%rbp), %rdi
movq %rdi, -0x340(%rbp)
callq 0x6470
movq -0x340(%rbp), %rdx
leaq 0x2ae8c(%rip), %rsi     # 0x4182d
leaq -0x210(%rbp), %rdi
callq 0x12870
jmp 0x169af
movq -0x318(%rbp), %rdi
movl $0x54, %esi
leaq -0x210(%rbp), %rdx
callq 0x17860
jmp 0x169c9
leaq -0x210(%rbp), %rdi
callq 0x64c8
leaq -0x211(%rbp), %rdi
callq 0x62f0
leaq -0x239(%rbp), %rdi
movq %rdi, -0x348(%rbp)
callq 0x6470
movq -0x348(%rbp), %rdx
leaq 0x2a2f9(%rip), %rsi     # 0x40cfb
leaq -0x238(%rbp), %rdi
callq 0x12870
jmp 0x16a10
leaq -0x1a0(%rbp), %rdi
leaq -0x238(%rbp), %rsi
callq 0x6130
jmp 0x16a25
leaq -0x238(%rbp), %rdi
callq 0x64c8
leaq -0x239(%rbp), %rdi
callq 0x62f0
movl -0x20(%rbp), %esi
leaq -0x1a0(%rbp), %rdi
callq 0x6440
jmp 0x16a4e
leaq -0x260(%rbp), %rdi
leaq -0x1a0(%rbp), %rsi
callq 0x62b0
jmp 0x16a63
movq -0x318(%rbp), %rdi
movl $0x41, %esi
leaq -0x260(%rbp), %rdx
callq 0x176a0
jmp 0x16a7d
leaq -0x260(%rbp), %rdi
callq 0x64c8
leaq -0x281(%rbp), %rdi
movq %rdi, -0x350(%rbp)
callq 0x6470
movq -0x350(%rbp), %rdx
leaq 0x2a251(%rip), %rsi     # 0x40cfb
leaq -0x280(%rbp), %rdi
callq 0x12870
jmp 0x16ab8
leaq -0x1a0(%rbp), %rdi
leaq -0x280(%rbp), %rsi
callq 0x6130
jmp 0x16acd
leaq -0x280(%rbp), %rdi
callq 0x64c8
leaq -0x281(%rbp), %rdi
callq 0x62f0
movl -0x24(%rbp), %esi
leaq -0x1a0(%rbp), %rdi
callq 0x6440
jmp 0x16af6
leaq -0x2a8(%rbp), %rdi
leaq -0x1a0(%rbp), %rsi
callq 0x62b0
jmp 0x16b0b
movq -0x318(%rbp), %rdi
movl $0x44, %esi
leaq -0x2a8(%rbp), %rdx
callq 0x17860
jmp 0x16b25
leaq -0x2a8(%rbp), %rdi
callq 0x64c8
movq -0x320(%rbp), %rsi
leaq -0x2c8(%rbp), %rdi
callq 0x6100
jmp 0x16b46
movq -0x318(%rbp), %rdi
movl $0x45, %esi
leaq -0x2c8(%rbp), %rdx
callq 0x176a0
jmp 0x16b60
leaq -0x2c8(%rbp), %rdi
callq 0x64c8
leaq -0x2e9(%rbp), %rdi
movq %rdi, -0x358(%rbp)
callq 0x6470
movq -0x358(%rbp), %rdx
leaq 0x2a16e(%rip), %rsi     # 0x40cfb
leaq -0x2e8(%rbp), %rdi
callq 0x12870
jmp 0x16b9b
leaq -0x1a0(%rbp), %rdi
leaq -0x2e8(%rbp), %rsi
callq 0x6130
jmp 0x16bb0
leaq -0x2e8(%rbp), %rdi
callq 0x64c8
leaq -0x2e9(%rbp), %rdi
callq 0x62f0
movl 0x18(%rbp), %esi
leaq -0x1a0(%rbp), %rdi
callq 0x6440
jmp 0x16bd9
leaq -0x310(%rbp), %rdi
leaq -0x1a0(%rbp), %rsi
callq 0x62b0
jmp 0x16bee
movq -0x318(%rbp), %rdi
movl $0x4b, %esi
leaq -0x310(%rbp), %rdx
callq 0x176a0
jmp 0x16c08
leaq -0x310(%rbp), %rdi
callq 0x64c8
movq -0x330(%rbp), %rdi
movq -0x318(%rbp), %rsi
callq 0x18af0
leaq -0x1a0(%rbp), %rdi
callq 0x6090
movq -0x328(%rbp), %rax
addq $0x360, %rsp            # imm = 0x360
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1a8(%rbp)
movl %eax, -0x1ac(%rbp)
jmp 0x16e2a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1a8(%rbp)
movl %eax, -0x1ac(%rbp)
leaq -0x1d0(%rbp), %rdi
callq 0x64c8
jmp 0x16e2a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1a8(%rbp)
movl %eax, -0x1ac(%rbp)
leaq -0x1f0(%rbp), %rdi
callq 0x64c8
jmp 0x16e2a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1a8(%rbp)
movl %eax, -0x1ac(%rbp)
jmp 0x16cd2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1a8(%rbp)
movl %eax, -0x1ac(%rbp)
leaq -0x210(%rbp), %rdi
callq 0x64c8
leaq -0x211(%rbp), %rdi
callq 0x62f0
jmp 0x16e2a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1a8(%rbp)
movl %eax, -0x1ac(%rbp)
jmp 0x16d15
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1a8(%rbp)
movl %eax, -0x1ac(%rbp)
leaq -0x238(%rbp), %rdi
callq 0x64c8
leaq -0x239(%rbp), %rdi
callq 0x62f0
jmp 0x16e2a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1a8(%rbp)
movl %eax, -0x1ac(%rbp)
leaq -0x260(%rbp), %rdi
callq 0x64c8
jmp 0x16e2a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1a8(%rbp)
movl %eax, -0x1ac(%rbp)
jmp 0x16d7b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1a8(%rbp)
movl %eax, -0x1ac(%rbp)
leaq -0x280(%rbp), %rdi
callq 0x64c8
leaq -0x281(%rbp), %rdi
callq 0x62f0
jmp 0x16e2a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1a8(%rbp)
movl %eax, -0x1ac(%rbp)
leaq -0x2a8(%rbp), %rdi
callq 0x64c8
jmp 0x16e2a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1a8(%rbp)
movl %eax, -0x1ac(%rbp)
leaq -0x2c8(%rbp), %rdi
callq 0x64c8
jmp 0x16e2a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1a8(%rbp)
movl %eax, -0x1ac(%rbp)
jmp 0x16dfe
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1a8(%rbp)
movl %eax, -0x1ac(%rbp)
leaq -0x2e8(%rbp), %rdi
callq 0x64c8
leaq -0x2e9(%rbp), %rdi
callq 0x62f0
jmp 0x16e2a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x1a8(%rbp)
movl %eax, -0x1ac(%rbp)
leaq -0x310(%rbp), %rdi
callq 0x64c8
leaq -0x1a0(%rbp), %rdi
callq 0x6090
movq -0x1a8(%rbp), %rdi
callq 0x6460
nopw %cs:(%rax,%rax)