// File: /workspace/github_cpp_makefile_star2_O2/AraHaan[P]bin2c/./libs/lib2hex.hpp
// Function: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> lib2hex::fileToHexArray<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>>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&, 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>>>>&, bool)
std::string inline fileToHexArray(std::string &file, std::string &CustomVariable,
			std::string &_consolefilevar, std::string &_consolefilevar2, T &array, bool TargetCS) {
		n = 0;
		std::fstream f(file, std::ios::in | std::ios::binary | std::ios::ate);
		if (f.good()) {
			data = array[3];
			data += _consolefilevar;
			std::cout << array[6] << _consolefilevar2 << array[7];
			file_size = static_cast<uint64_t>(std::streamoff(f.tellg()));
			if (!TargetCS) {
				data += array[9] + CustomVariable + array[10] +
					std::to_string(file_size) + array[11];
			} else {
				data += array[12] + CustomVariable + array[13];
			}
			if (f.is_open()) {
				memblock = new uint8_t[file_size];
				f.seekg(0, std::ios::beg);
				f.read(reinterpret_cast<char *>(memblock), file_size);
				AraHaan::hexstream stream(true, true, 16, file_size, false, memblock);
				stream << f;
				stream >> data;
				delete[] memblock;
				data = data.replace(data.length() - 2, 2, array[16]);
				if (!TargetCS) {
					data += array[17] + CustomVariable + array[18] +
						std::to_string(file_size) + array[19] + CustomVariable +
						array[20] + _consolefilevar2 + array[21];
				} else {
					data += array[22] + CustomVariable + array[23] +
						std::to_string(file_size) + array[24] + CustomVariable +
						array[25] + _consolefilevar2 + array[26];
				}
				f.close();
				return data;
			}
		} else {
			std::cout << array[27] << file << array[28];
		}
		return "";
	}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x4f8, %rsp            # imm = 0x4F8
movq %r9, 0x8(%rsp)
movq %r8, %rbp
movq %rcx, 0x90(%rsp)
movq %rdx, %r14
movq %rsi, %r12
movq %rdi, %rbx
movq 0x530(%rsp), %r13
andq $0x0, (%rsi)
leaq 0x2e8(%rsp), %r15
pushq $0xe
popq %rdx
movq %r15, %rdi
movq %r14, %rsi
callq 0x2330
movq (%r15), %rax
movq -0x18(%rax), %rax
cmpl $0x0, 0x308(%rsp,%rax)
movq %r13, %r15
movq (%r13), %rsi
je 0x3e3b
addq $0x360, %rsi            # imm = 0x360
movq 0x41ba(%rip), %rdi      # 0x7fd0
callq 0x21f0
movq %rax, %rdi
movq %r14, %rsi
callq 0x21f0
movl $0x380, %esi            # imm = 0x380
addq (%r15), %rsi
movq %rax, %rdi
callq 0x21f0
jmp 0x4181
addq $0x60, %rsi
movq %r12, %r13
leaq 0x10(%r12), %r14
movq %r14, %rdi
callq 0x2140
movq %r15, %r12
movq 0x90(%rsp), %r15
movq %r14, %rdi
movq %rbp, %rsi
callq 0x23c0
movl $0xc0, %esi
addq (%r12), %rsi
movq 0x415b(%rip), %rdi      # 0x7fd0
callq 0x21f0
movq %rax, %rdi
movq 0x8(%rsp), %rsi
callq 0x21f0
movl $0xe0, %esi
addq (%r12), %rsi
movq %rax, %rdi
callq 0x21f0
leaq 0x2e8(%rsp), %rdi
callq 0x2360
movb 0x538(%rsp), %bpl
movq %rax, 0x8(%r13)
testb %bpl, %bpl
je 0x3f0e
movl $0x180, %esi            # imm = 0x180
addq (%r12), %rsi
leaq 0x10(%rsp), %rdi
movq %r15, %rdx
callq 0x44ed
movl $0x1a0, %edx            # imm = 0x1A0
addq (%r12), %rdx
leaq 0x138(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x32db
leaq 0x138(%rsp), %rsi
movq %r14, %rdi
callq 0x23c0
leaq 0x138(%rsp), %rdi
callq 0x2110
leaq 0x10(%rsp), %rdi
jmp 0x3fb9
movl $0x120, %esi            # imm = 0x120
addq (%r12), %rsi
leaq 0x50(%rsp), %rdi
movq %r15, %rdx
callq 0x44ed
movl $0x140, %edx            # imm = 0x140
addq (%r12), %rdx
leaq 0x70(%rsp), %rdi
leaq 0x50(%rsp), %rsi
callq 0x32db
movq 0x8(%r13), %rsi
leaq 0x30(%rsp), %rdi
callq 0x4525
leaq 0x10(%rsp), %rdi
leaq 0x70(%rsp), %rsi
leaq 0x30(%rsp), %rdx
callq 0x4486
movl $0x160, %edx            # imm = 0x160
addq (%r12), %rdx
leaq 0x138(%rsp), %rdi
leaq 0x10(%rsp), %rsi
callq 0x32db
leaq 0x138(%rsp), %rsi
movq %r14, %rdi
callq 0x23c0
leaq 0x138(%rsp), %rdi
callq 0x2110
leaq 0x10(%rsp), %rdi
callq 0x2110
leaq 0x30(%rsp), %rdi
callq 0x2110
leaq 0x70(%rsp), %rdi
callq 0x2110
leaq 0x50(%rsp), %rdi
callq 0x2110
leaq 0x368(%rsp), %rdi
callq 0x2070
testb %al, %al
je 0x4181
movq 0x8(%r13), %rdi
callq 0x2030
movq %rax, 0x30(%r13)
leaq 0x2e8(%rsp), %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x2290
movq 0x8(%r13), %rdx
movq 0x30(%r13), %rsi
leaq 0x2e8(%rsp), %rdi
callq 0x2260
movl 0x8(%r13), %r8d
movq 0x30(%r13), %rax
movq %rax, (%rsp)
leaq 0x138(%rsp), %rdi
pushq $0x1
popq %rdx
pushq $0x10
popq %rcx
movl %edx, %esi
xorl %r9d, %r9d
callq 0x4568
leaq 0x138(%rsp), %rdi
leaq 0x2e8(%rsp), %rsi
callq 0x45d6
leaq 0x138(%rsp), %rdi
movq %r14, %rsi
callq 0x4767
movq %r13, %rax
movq 0x30(%r13), %rdi
testq %rdi, %rdi
je 0x4063
callq 0x2270
movq %r13, %rax
movq 0x18(%rax), %rsi
addq $-0x2, %rsi
movl $0x200, %ecx            # imm = 0x200
addq (%r12), %rcx
pushq $0x2
popq %rdx
movq %r14, %rdi
callq 0x20d0
movq %r14, %rdi
movq %rax, %rsi
callq 0x2140
testb %bpl, %bpl
je 0x41ba
movl $0x2c0, %esi            # imm = 0x2C0
addq (%r12), %rsi
leaq 0xb8(%rsp), %rdi
movq %r15, %rdx
callq 0x44ed
movl $0x2e0, %edx            # imm = 0x2E0
addq (%r12), %rdx
leaq 0xd8(%rsp), %rdi
leaq 0xb8(%rsp), %rsi
callq 0x32db
movq 0x8(%r13), %rsi
leaq 0x98(%rsp), %rdi
callq 0x4525
leaq 0xf8(%rsp), %rdi
leaq 0xd8(%rsp), %rsi
leaq 0x98(%rsp), %rdx
callq 0x4486
movl $0x300, %edx            # imm = 0x300
addq (%r12), %rdx
leaq 0x118(%rsp), %rdi
leaq 0xf8(%rsp), %rsi
callq 0x32db
leaq 0x30(%rsp), %rdi
leaq 0x118(%rsp), %rsi
movq %r15, %rdx
callq 0x32db
movl $0x320, %edx            # imm = 0x320
addq (%r12), %rdx
leaq 0x50(%rsp), %rdi
leaq 0x30(%rsp), %rsi
callq 0x32db
leaq 0x70(%rsp), %rdi
leaq 0x50(%rsp), %rsi
movq 0x8(%rsp), %rdx
callq 0x32db
movl $0x340, %edx            # imm = 0x340
addq (%r12), %rdx
leaq 0x10(%rsp), %rdi
leaq 0x70(%rsp), %rsi
callq 0x32db
leaq 0x10(%rsp), %rsi
movq %r14, %rdi
callq 0x23c0
jmp 0x42a3
leaq 0x11a8(%rip), %rsi      # 0x5330
leaq 0x138(%rsp), %rdx
movq %rbx, %rdi
callq 0x3244
leaq 0x2e8(%rsp), %rdi
callq 0x2060
movq %rbx, %rax
addq $0x4f8, %rsp            # imm = 0x4F8
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movl $0x220, %esi            # imm = 0x220
addq (%r12), %rsi
leaq 0xb8(%rsp), %rdi
movq %r15, %rdx
callq 0x44ed
movl $0x240, %edx            # imm = 0x240
addq (%r12), %rdx
leaq 0xd8(%rsp), %rdi
leaq 0xb8(%rsp), %rsi
callq 0x32db
movq 0x8(%r13), %rsi
leaq 0x98(%rsp), %rdi
callq 0x4525
leaq 0xf8(%rsp), %rdi
leaq 0xd8(%rsp), %rsi
leaq 0x98(%rsp), %rdx
callq 0x4486
movl $0x260, %edx            # imm = 0x260
addq (%r12), %rdx
leaq 0x118(%rsp), %rdi
leaq 0xf8(%rsp), %rsi
callq 0x32db
leaq 0x30(%rsp), %rdi
leaq 0x118(%rsp), %rsi
movq %r15, %rdx
callq 0x32db
movl $0x280, %edx            # imm = 0x280
addq (%r12), %rdx
leaq 0x50(%rsp), %rdi
leaq 0x30(%rsp), %rsi
callq 0x32db
leaq 0x70(%rsp), %rdi
leaq 0x50(%rsp), %rsi
movq 0x8(%rsp), %rdx
callq 0x32db
movl $0x2a0, %edx            # imm = 0x2A0
addq (%r12), %rdx
leaq 0x10(%rsp), %rdi
leaq 0x70(%rsp), %rsi
callq 0x32db
leaq 0x10(%rsp), %rsi
movq %r14, %rdi
callq 0x23c0
leaq 0x10(%rsp), %rdi
callq 0x2110
leaq 0x70(%rsp), %rdi
callq 0x2110
leaq 0x50(%rsp), %rdi
callq 0x2110
leaq 0x30(%rsp), %rdi
callq 0x2110
leaq 0x118(%rsp), %rdi
callq 0x2110
leaq 0xf8(%rsp), %rdi
callq 0x2110
leaq 0x98(%rsp), %rdi
callq 0x2110
leaq 0xd8(%rsp), %rdi
callq 0x2110
leaq 0xb8(%rsp), %rdi
callq 0x2110
leaq 0x2e8(%rsp), %rdi
callq 0x2040
movq %rbx, %rdi
movq %r14, %rsi
callq 0x22a0
leaq 0x138(%rsp), %rdi
callq 0x47c0
jmp 0x4198
jmp 0x4338
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x2110
jmp 0x434c
jmp 0x4349
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
callq 0x2110
jmp 0x435d
jmp 0x435a
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0x2110
jmp 0x436e
jmp 0x436b
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x2110
jmp 0x437f
jmp 0x437c
movq %rax, %rbx
leaq 0x118(%rsp), %rdi
callq 0x2110
leaq 0xf8(%rsp), %rdi
callq 0x2110
leaq 0x98(%rsp), %rdi
callq 0x2110
leaq 0xd8(%rsp), %rdi
callq 0x2110
leaq 0xb8(%rsp), %rdi
callq 0x2110
jmp 0x445f
jmp 0x43c7
movq %rax, %rbx
jmp 0x438c
jmp 0x43ce
movq %rax, %rbx
jmp 0x4399
jmp 0x43d5
movq %rax, %rbx
jmp 0x43a6
jmp 0x43dc
movq %rax, %rbx
jmp 0x43b3
jmp 0x445c
jmp 0x445c
jmp 0x446e
movq %rax, %rbx
leaq 0x138(%rsp), %rdi
callq 0x2110
jmp 0x43ff
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x2110
jmp 0x440e
movq %rax, %rbx
leaq 0x30(%rsp), %rdi
callq 0x2110
jmp 0x441d
movq %rax, %rbx
leaq 0x70(%rsp), %rdi
callq 0x2110
jmp 0x443e
movq %rax, %rbx
leaq 0x138(%rsp), %rdi
callq 0x2110
jmp 0x4448
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
jmp 0x444d
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x2110
jmp 0x4471
jmp 0x446e
jmp 0x446e
jmp 0x446e
jmp 0x446e
movq %rax, %rbx
leaq 0x138(%rsp), %rdi
callq 0x47c0
jmp 0x4471
movq %rax, %rbx
leaq 0x2e8(%rsp), %rdi
callq 0x2060
movq %rbx, %rdi
callq 0x2370