// File: /workspace/github_cpp_makefile_star2_O2/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, 0x40(%rsp)
movq %rdx, %r12
movq %rsi, %r15
movq %rdi, 0x38(%rsp)
leaq 0x58(%rsp), %rax
movq %rax, -0x10(%rax)
andq $0x0, -0x8(%rax)
movb $0x0, (%rax)
xorps %xmm0, %xmm0
leaq 0x20(%rsp), %rbx
movaps %xmm0, (%rbx)
andq $0x0, 0x10(%rbx)
xorl %edx, %edx
pushq $0x1
popq %r13
movq %rsp, %r14
movq (%r12), %rsi
movq 0x8(%r12), %rax
movq %r13, %rcx
movq %rdx, %rbp
cmpq %rax, %rbp
jae 0x11a5c
movzbl (%rsi,%rbp), %edi
cmpl $0x20, %edi
je 0x119f3
cmpl $0x2a, %edi
je 0x119f3
incq %rbp
incq %rcx
jmp 0x119d8
cmpq %rdx, %rbp
jbe 0x11a21
decq %rcx
movq %r14, %rdi
movq %r12, %rsi
callq 0x4320
movq %rbx, %rdi
movq %r14, %rsi
callq 0x9722
movq %r14, %rdi
callq 0x4160
movq (%r12), %rax
movb (%rax,%rbp), %dil
incq %rbp
movq %rbp, %rdx
cmpb $0x2a, %dil
jne 0x119c9
movq %r14, %rdi
leaq 0x6b97(%rip), %rsi      # 0x185ce
leaq 0x68(%rsp), %rdx
callq 0x5480
movq %rbx, %rdi
movq %r14, %rsi
callq 0x9722
movq %r14, %rdi
callq 0x4160
movq %rbp, %rdx
jmp 0x119c9
subq %rdx, %rax
jbe 0x11a84
movq %rsp, %rdi
movq %r12, %rsi
movq %rax, %rcx
callq 0x4320
leaq 0x20(%rsp), %rdi
movq %rsp, %rsi
callq 0x9722
movq %rsp, %rdi
callq 0x4160
movq 0x20(%rsp), %r12
movq %rsp, %r13
leaq 0x7119(%rip), %rbp      # 0x18bac
leaq 0x48(%rsp), %rbx
leaq 0x68(%rsp), %r14
cmpq 0x28(%rsp), %r12
je 0x11b58
movq %r13, %rdi
movq %r15, %rsi
movq %r12, %rdx
callq 0x12586
movq %r13, %rdi
movq %rbp, %rsi
callq 0x10431
testb %al, %al
je 0x11b19
movq 0x50(%rsp), %rax
cmpq $0x2, %rax
jne 0x11aef
movq %rbx, %rdi
leaq 0x7216(%rip), %rsi      # 0x18cf0
callq 0x10431
leaq 0x720d(%rip), %rsi      # 0x18cf3
testb %al, %al
jne 0x11b0f
movq 0x50(%rsp), %rax
cmpq $0x1, %rax
jne 0x11b26
movq %rbx, %rdi
leaq 0x6fb5(%rip), %rsi      # 0x18ab4
callq 0x10431
leaq 0x71ed(%rip), %rsi      # 0x18cf8
testb %al, %al
je 0x11b26
movq %rbx, %rdi
callq 0x4640
jmp 0x11b47
movq %rbx, %rdi
movq %r13, %rsi
callq 0x4650
jmp 0x11b47
movq %r14, %rdi
movq %r13, %rsi
movq %rbx, %rdx
callq 0x14c1e
movq %rbx, %rdi
movq %r14, %rsi
callq 0x43a0
movq %r14, %rdi
callq 0x4160
movq %r13, %rdi
callq 0x4160
addq $0x20, %r12
jmp 0x11a9d
movq %rsp, %rdi
movq 0x40(%rsp), %rdx
callq 0x11950
leaq 0x48(%rsp), %rsi
movq %rsp, %rdx
movq 0x38(%rsp), %rbx
movq %rbx, %rdi
callq 0x673d
movq %rsp, %rdi
callq 0x4160
leaq 0x20(%rsp), %rdi
callq 0x8ad0
leaq 0x48(%rsp), %rdi
callq 0x4160
movq %rbx, %rax
addq $0x88, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x11bbd
jmp 0x11bca
jmp 0x11bbd
jmp 0x11bca
jmp 0x11bbd
jmp 0x11bca
jmp 0x11bbd
jmp 0x11bca
jmp 0x11bbd
movq %rax, %rbx
movq %rsp, %rdi
callq 0x4160
jmp 0x11bcd
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x8ad0
leaq 0x48(%rsp), %rdi
callq 0x4160
movq %rbx, %rdi
callq 0x45c0
nop