// File: /workspace/github_cpp_makefile_star2_O1/fffrankkk[P]XmlCode/src/ClassCont.cpp
// Function: CClassCont::ToVar(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&)
string CClassCont::ToVar(const string& strType, const string& strName)
{
    string strRet;
    vector<string> vecTypes;
    size_t zdStart = 0;
    for (size_t zuCount = 0; zuCount < strType.length(); ++zuCount) {
        if (strType[zuCount] == ' ' || strType[zuCount] == '*') {
            if (zuCount > zdStart) {
                vecTypes.push_back(strType.substr(zdStart, zuCount - zdStart));
            }
            zdStart = zuCount + 1;
            if (strType[zuCount] == '*') {
                vecTypes.push_back("*");
            }
        }
    }
    if (zdStart < strType.length()) {
        vecTypes.push_back(strType.substr(zdStart, strType.length() - zdStart));
    }

    for (vector<string>::iterator iterType = vecTypes.begin(); iterType != vecTypes.end(); ++iterType) {
        string strPrev = GetPrev(*iterType);
        if (strPrev == "p") {
            if (strRet.length() == 2 && strRet == "uc") {
                strRet = "pusz";
            } else if (strRet.length() == 1 && strRet == "c") {
                strRet = "psz";
            } else {
                strRet = strPrev + strRet;
            }
        } else {
            strRet += strPrev;
        }
    }
    return strRet + ToName(strName);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rcx, 0x58(%rsp)
movq %rdx, %r12
movq %rsi, %r15
movq %rdi, 0x60(%rsp)
leaq 0x48(%rsp), %rax
movq %rax, -0x10(%rax)
xorl %r13d, %r13d
movq %r13, -0x8(%rax)
movb $0x0, (%rax)
movq %r13, 0x30(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x20(%rsp)
movq 0x8(%rdx), %rcx
testq %rcx, %rcx
je 0x1c491
leaq 0x10(%rsp), %rbp
xorl %r14d, %r14d
movq %rsp, %rbx
xorl %r13d, %r13d
movq (%r12), %rax
movzbl (%rax,%r14), %eax
cmpl $0x2a, %eax
je 0x1c3fb
cmpl $0x20, %eax
jne 0x1c480
movq %r14, %rcx
subq %r13, %rcx
jbe 0x1c434
movq %rbx, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x4310
leaq 0x20(%rsp), %rdi
movq %rbx, %rsi
callq 0xb060
movq (%rsp), %rdi
cmpq %rbp, %rdi
je 0x1c434
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x42f0
leaq 0x1(%r14), %r13
movq (%r12), %rax
cmpb $0x2a, (%rax,%r14)
jne 0x1c480
movq %rbp, (%rsp)
movq %rbx, %rdi
leaq 0xb193(%rip), %rsi      # 0x275e4
leaq 0xb18d(%rip), %rdx      # 0x275e5
callq 0x618a
leaq 0x20(%rsp), %rdi
movq %rbx, %rsi
callq 0xb060
movq (%rsp), %rdi
cmpq %rbp, %rdi
je 0x1c480
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x42f0
incq %r14
movq 0x8(%r12), %rcx
cmpq %rcx, %r14
jb 0x1c3e4
subq %r13, %rcx
jbe 0x1c4cc
movq %rsp, %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x4310
leaq 0x20(%rsp), %rdi
movq %rsp, %rsi
callq 0xb060
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x1c4cc
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x42f0
movq 0x20(%rsp), %r12
cmpq 0x28(%rsp), %r12
je 0x1c5ed
movq %rsp, %r13
leaq 0xb6dc(%rip), %rbp      # 0x27bc2
leaq 0x38(%rsp), %r14
movq %r13, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x1db2e
movq %r13, %rdi
movq %rbp, %rsi
callq 0x40d0
testl %eax, %eax
je 0x1c544
movq (%rsp), %rsi
movq 0x8(%rsp), %rdx
movq %r14, %rdi
callq 0x40e0
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x1c534
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x42f0
addq $0x20, %r12
cmpq 0x28(%rsp), %r12
jne 0x1c4eb
jmp 0x1c5ed
cmpq $0x2, 0x40(%rsp)
jne 0x1c55f
movq %r14, %rdi
leaq 0xb7b0(%rip), %rsi      # 0x27d06
callq 0x40d0
testl %eax, %eax
je 0x1c5bd
cmpq $0x1, 0x40(%rsp)
jne 0x1c57a
movq %r14, %rdi
leaq 0xb559(%rip), %rsi      # 0x27aca
callq 0x40d0
testl %eax, %eax
je 0x1c5cc
leaq 0x68(%rsp), %rbx
movq %rbx, %rdi
movq %r13, %rsi
movq %r14, %rdx
callq 0x24ef2
movq %r14, %rdi
movq %rbx, %rsi
callq 0x43b0
movq 0x68(%rsp), %rdi
leaq 0x78(%rsp), %rax
cmpq %rax, %rdi
je 0x1c519
movq 0x78(%rsp), %rsi
incq %rsi
callq 0x42f0
jmp 0x1c519
movl $0x4, %r8d
leaq 0xb73f(%rip), %rcx      # 0x27d09
jmp 0x1c5d9
movl $0x3, %r8d
leaq 0xb735(%rip), %rcx      # 0x27d0e
movq 0x40(%rsp), %rdx
movq %r14, %rdi
xorl %esi, %esi
callq 0x44c0
jmp 0x1c519
leaq 0x10(%rsp), %rbx
movq %rbx, -0x10(%rbx)
movq 0x58(%rsp), %r15
movq (%r15), %rsi
movq 0x8(%r15), %rdx
addq %rsi, %rdx
movq %rsp, %rdi
callq 0x5c16
movq 0x60(%rsp), %r14
movq (%r15), %rax
movsbl (%rax), %edi
callq 0x45e0
movq %rsp, %rdi
movq (%rdi), %rcx
movb %al, (%rcx)
movq 0x38(%rsp), %rcx
movq 0x40(%rsp), %r8
xorl %esi, %esi
xorl %edx, %edx
callq 0x4360
leaq 0x10(%r14), %rdx
movq %rdx, (%r14)
movq (%rax), %rsi
movq %rax, %rcx
addq $0x10, %rcx
cmpq %rcx, %rsi
je 0x1c65a
movq %rsi, (%r14)
movq (%rcx), %rdx
movq %rdx, 0x10(%r14)
jmp 0x1c660
movups (%rcx), %xmm0
movups %xmm0, (%rdx)
movq 0x8(%rax), %rdx
movq %rdx, 0x8(%r14)
movq %rcx, (%rax)
movq $0x0, 0x8(%rax)
movb $0x0, 0x10(%rax)
movq (%rsp), %rdi
cmpq %rbx, %rdi
je 0x1c68d
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x42f0
leaq 0x20(%rsp), %rdi
callq 0xa1d2
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x1c6b3
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x42f0
movq %r14, %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r14
leaq 0x10(%rsp), %rax
movq -0x10(%rax), %rdi
jmp 0x1c70a
jmp 0x1c71e
movq %rax, %r14
movq (%rsp), %rdi
cmpq %rbx, %rdi
jne 0x1c70f
jmp 0x1c721
jmp 0x1c71e
jmp 0x1c6fe
jmp 0x1c6ee
jmp 0x1c71e
movq %rax, %r14
movq (%rsp), %rdi
cmpq %rbp, %rdi
jne 0x1c70f
jmp 0x1c721
jmp 0x1c71e
movq %rax, %r14
movq (%rsp), %rdi
leaq 0x10(%rsp), %rax
cmpq %rax, %rdi
je 0x1c721
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x42f0
jmp 0x1c721
movq %rax, %r14
leaq 0x20(%rsp), %rdi
callq 0xa1d2
movq 0x38(%rsp), %rdi
leaq 0x48(%rsp), %rax
cmpq %rax, %rdi
je 0x1c747
movq 0x48(%rsp), %rsi
incq %rsi
callq 0x42f0
movq %r14, %rdi
callq 0x45a0
nop