// File: /workspace/github_cpp_makefile_star2_O1/meirdev[P]HexViewer/Style/HexDump/HexDump.cpp
// Function: HexDump::HexDump()
HexDump::HexDump()
: m_rowBuffer(256)
{
    std::stringstream byte;

    for (int i = 0; i < 256; ++i)
    {
        byte << std::setfill('0') << std::setw(2) << std::hex << i;

        if (isprint(i))
        {
            m_byteTextStyle.push_back({ byte.str(), std::string(1, static_cast<char>(i)) });
        }
        else
        {
            m_byteTextStyle.push_back({ byte.str(), "." });
        }

        byte.str("");
    }

    m_byteTextStyle.push_back({ "  ", "" });
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x218, %rsp            # imm = 0x218
movq %rdi, %r14
leaq 0x10411(%rip), %rax     # 0x2fbe0
movq %rax, (%rdi)
leaq 0x8(%rdi), %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0x8(%rdi)
movq $0x0, 0x18(%rdi)
addq $0x20, %r14
movl $0x100, %esi            # imm = 0x100
movq %r14, %rdi
callq 0x1f5ac
movq %r14, 0x8(%rsp)
movq %rbx, (%rsp)
leaq 0x90(%rsp), %rdi
callq 0x5210
leaq 0x80(%rsp), %rbx
leaq 0x20(%rsp), %r12
leaq 0x60(%rsp), %r15
xorl %ebp, %ebp
leaq 0x10(%rsp), %r14
movq 0xa0(%rsp), %rax
movq -0x18(%rax), %rax
leaq 0xa0(%rsp), %rcx
leaq (%rcx,%rax), %r13
cmpb $0x0, 0x181(%rsp,%rax)
jne 0x1f863
movq %r13, %rdi
movl $0x20, %esi
callq 0x52a0
movb %al, 0xe0(%r13)
movb $0x1, 0xe1(%r13)
movb $0x30, 0xe0(%r13)
movq 0xa0(%rsp), %rax
movq -0x18(%rax), %rcx
movq $0x2, 0xb0(%rsp,%rcx)
movq -0x18(%rax), %rax
movl 0xb8(%rsp,%rax), %ecx
andl $-0x4b, %ecx
orl $0x8, %ecx
movl %ecx, 0xb8(%rsp,%rax)
leaq 0xa0(%rsp), %rdi
movl %ebp, %esi
callq 0x54e0
movl %ebp, %edi
callq 0x5520
testl %eax, %eax
je 0x1f8ff
leaq 0x50(%rsp), %rdi
leaq 0xa8(%rsp), %rsi
callq 0x5480
movq %rbx, 0x70(%rsp)
movsbl %bpl, %edx
movl $0x1, %esi
leaq 0x70(%rsp), %rdi
callq 0x5340
movq %r12, 0x10(%rsp)
movq 0x50(%rsp), %rax
cmpq %r15, %rax
je 0x1f966
movq %rax, 0x10(%rsp)
movq 0x60(%rsp), %rax
movq %rax, 0x20(%rsp)
jmp 0x1f96f
leaq 0x50(%rsp), %r13
movq %r13, %rdi
leaq 0xa8(%rsp), %rsi
callq 0x5480
movq %r14, %rdi
movq %r13, %rsi
leaq 0x3e73(%rip), %rdx      # 0x23794
callq 0x1fd4a
movq (%rsp), %rdi
movq %r14, %rsi
callq 0x20032
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x1f94e
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x52c0
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x1fa33
movq 0x20(%rsp), %rsi
jmp 0x1fa2b
movups (%r15), %xmm0
movups %xmm0, (%r12)
movq 0x58(%rsp), %rax
movq %rax, 0x18(%rsp)
movq %r15, 0x50(%rsp)
movq $0x0, 0x58(%rsp)
movb $0x0, 0x60(%rsp)
leaq 0x40(%rsp), %rcx
movq %rcx, 0x30(%rsp)
movq 0x70(%rsp), %rax
cmpq %rbx, %rax
je 0x1f9b4
movq %rax, 0x30(%rsp)
movq 0x80(%rsp), %rax
movq %rax, 0x40(%rsp)
jmp 0x1f9ba
movups (%rbx), %xmm0
movups %xmm0, (%rcx)
movq 0x78(%rsp), %rax
movq %rax, 0x38(%rsp)
movq %rbx, 0x70(%rsp)
movq $0x0, 0x78(%rsp)
movb $0x0, 0x80(%rsp)
movq (%rsp), %rdi
movq %r14, %rsi
callq 0x20032
movq 0x30(%rsp), %rdi
leaq 0x40(%rsp), %rax
cmpq %rax, %rdi
je 0x1fa02
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x52c0
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x1fa19
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x52c0
movq 0x70(%rsp), %rdi
cmpq %rbx, %rdi
je 0x1fa33
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x52c0
movq 0x50(%rsp), %rdi
cmpq %r15, %rdi
je 0x1fa4a
movq 0x60(%rsp), %rsi
incq %rsi
callq 0x52c0
movq %r12, 0x10(%rsp)
movq %r14, %rdi
leaq 0x3d05(%rip), %rdx      # 0x2375e
movq %rdx, %rsi
callq 0xc794
leaq 0xa8(%rsp), %rdi
movq %r14, %rsi
callq 0x5440
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x1fa88
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x52c0
incl %ebp
cmpl $0x100, %ebp            # imm = 0x100
jne 0x1f825
leaq 0x3cc3(%rip), %rsi      # 0x23760
leaq 0x3cba(%rip), %rdx      # 0x2375e
leaq 0x10(%rsp), %rdi
callq 0x1fde4
leaq 0x10(%rsp), %rsi
movq (%rsp), %rdi
callq 0x20032
leaq 0x40(%rsp), %rax
movq 0x30(%rsp), %rdi
cmpq %rax, %rdi
je 0x1fad8
movq 0x40(%rsp), %rsi
incq %rsi
callq 0x52c0
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x1faef
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x52c0
movq 0x104a2(%rip), %rsi     # 0x2ff98
leaq 0x90(%rsp), %rdi
callq 0x5240
leaq 0x110(%rsp), %rdi
callq 0x5100
addq $0x218, %rsp            # imm = 0x218
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
leaq 0x10(%rsp), %rdi
callq 0x1fd14
jmp 0x1fbc5
jmp 0x1fbc2
movq %rax, %r14
movq (%rsp), %rbx
movq 0x8(%rsp), %r15
jmp 0x1fbef
movq %rax, %r14
jmp 0x1fbf7
movq %rax, %r14
leaq 0x10(%rsp), %rdi
callq 0x1fd14
jmp 0x1fb93
jmp 0x1fb67
jmp 0x1fbc2
jmp 0x1fbc2
movq %rax, %r14
jmp 0x1fb93
movq %rax, %r14
leaq 0x10(%rsp), %rdi
callq 0x1fd14
movq 0x70(%rsp), %rdi
cmpq %rbx, %rdi
je 0x1fb93
movq 0x80(%rsp), %rsi
incq %rsi
callq 0x52c0
movq 0x50(%rsp), %rdi
cmpq %r15, %rdi
je 0x1fbc5
movq 0x60(%rsp), %rsi
jmp 0x1fbb8
jmp 0x1fbc2
movq %rax, %r14
movq 0x10(%rsp), %rdi
cmpq %r12, %rdi
je 0x1fbc5
movq 0x20(%rsp), %rsi
incq %rsi
callq 0x52c0
jmp 0x1fbc5
movq %rax, %r14
movq (%rsp), %rbx
movq 0x8(%rsp), %r15
movq 0x103c3(%rip), %rsi     # 0x2ff98
leaq 0x90(%rsp), %rdi
callq 0x5240
leaq 0x110(%rsp), %rdi
callq 0x5100
movq %r15, %rdi
callq 0x1f5ca
movq %rbx, %rdi
callq 0x1fe62
movq %r14, %rdi
callq 0x5510
nop