// File: 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
movq %rsp, %rbp
subq $0x1a0, %rsp            # imm = 0x1A0
movq %rdi, -0x168(%rbp)
movq %rdi, %rax
movq %rax, -0x160(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x158(%rbp)
leaq -0x40(%rbp), %rdi
callq 0x5570
leaq -0x58(%rbp), %rdi
callq 0x15530
movq $0x0, -0x60(%rbp)
movq $0x0, -0x68(%rbp)
movq -0x68(%rbp), %rax
movq %rax, -0x170(%rbp)
movq -0x18(%rbp), %rdi
callq 0x55f0
movq %rax, %rcx
movq -0x170(%rbp), %rax
cmpq %rcx, %rax
jae 0x29da7
movq -0x18(%rbp), %rdi
movq -0x68(%rbp), %rsi
callq 0x5490
movsbl (%rax), %eax
cmpl $0x20, %eax
je 0x29c4e
movq -0x18(%rbp), %rdi
movq -0x68(%rbp), %rsi
callq 0x5490
movsbl (%rax), %eax
cmpl $0x2a, %eax
jne 0x29d94
movq -0x68(%rbp), %rax
cmpq -0x60(%rbp), %rax
jbe 0x29ccf
movq -0x18(%rbp), %rsi
movq -0x60(%rbp), %rdx
movq -0x68(%rbp), %rcx
subq %rdx, %rcx
leaq -0x88(%rbp), %rdi
callq 0x5420
jmp 0x29c75
leaq -0x58(%rbp), %rdi
leaq -0x88(%rbp), %rsi
callq 0x15500
jmp 0x29c87
leaq -0x88(%rbp), %rdi
callq 0x5240
jmp 0x29ccf
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
jmp 0x2a078
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
leaq -0x88(%rbp), %rdi
callq 0x5240
jmp 0x2a078
movq -0x68(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x60(%rbp)
movq -0x18(%rbp), %rdi
movq -0x68(%rbp), %rsi
callq 0x5490
movsbl (%rax), %eax
cmpl $0x2a, %eax
jne 0x29d92
leaq -0xb9(%rbp), %rdi
movq %rdi, -0x178(%rbp)
callq 0x5750
movq -0x178(%rbp), %rdx
leaq 0xd8d9(%rip), %rsi      # 0x375ee
leaq -0xb8(%rbp), %rdi
callq 0x7a40
jmp 0x29d23
leaq -0x58(%rbp), %rdi
leaq -0xb8(%rbp), %rsi
callq 0x15500
jmp 0x29d35
leaq -0xb8(%rbp), %rdi
callq 0x5240
leaq -0xb9(%rbp), %rdi
callq 0x5460
jmp 0x29d92
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
jmp 0x29d81
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
leaq -0xb8(%rbp), %rdi
callq 0x5240
leaq -0xb9(%rbp), %rdi
callq 0x5460
jmp 0x2a078
jmp 0x29d94
jmp 0x29d96
movq -0x68(%rbp), %rax
addq $0x1, %rax
movq %rax, -0x68(%rbp)
jmp 0x29bf9
movq -0x60(%rbp), %rax
movq %rax, -0x180(%rbp)
movq -0x18(%rbp), %rdi
callq 0x55f0
movq %rax, %rcx
movq -0x180(%rbp), %rax
cmpq %rcx, %rax
jae 0x29e52
movq -0x18(%rbp), %rdi
movq %rdi, -0x190(%rbp)
movq -0x60(%rbp), %rax
movq %rax, -0x188(%rbp)
callq 0x55f0
movq -0x190(%rbp), %rsi
movq -0x188(%rbp), %rdx
movq %rax, %rcx
movq -0x60(%rbp), %rax
subq %rax, %rcx
leaq -0xe0(%rbp), %rdi
callq 0x5420
jmp 0x29e0f
leaq -0x58(%rbp), %rdi
leaq -0xe0(%rbp), %rsi
callq 0x15500
jmp 0x29e21
leaq -0xe0(%rbp), %rdi
callq 0x5240
jmp 0x29e52
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
leaq -0xe0(%rbp), %rdi
callq 0x5240
jmp 0x2a078
leaq -0x58(%rbp), %rdi
callq 0x15b00
movq %rax, -0xe8(%rbp)
leaq -0x58(%rbp), %rdi
callq 0x15940
movq %rax, -0xf0(%rbp)
leaq -0xe8(%rbp), %rdi
leaq -0xf0(%rbp), %rsi
callq 0x19e90
testb $0x1, %al
jne 0x29e8e
jmp 0x29ffa
leaq -0xe8(%rbp), %rdi
callq 0x15f50
movq -0x158(%rbp), %rsi
movq %rax, %rdx
leaq -0x110(%rbp), %rdi
callq 0x2b2b0
jmp 0x29eb2
leaq 0xdd13(%rip), %rsi      # 0x37bcc
leaq -0x110(%rbp), %rdi
callq 0x26360
movb %al, -0x191(%rbp)
jmp 0x29ecd
movb -0x191(%rbp), %al
testb $0x1, %al
jne 0x29edc
jmp 0x29fc9
leaq -0x40(%rbp), %rdi
callq 0x55f0
cmpq $0x2, %rax
jne 0x29f49
leaq 0xde1e(%rip), %rsi      # 0x37d10
leaq -0x40(%rbp), %rdi
callq 0x26360
movb %al, -0x192(%rbp)
jmp 0x29f03
movb -0x192(%rbp), %al
testb $0x1, %al
jne 0x29f0f
jmp 0x29f49
leaq 0xddfd(%rip), %rsi      # 0x37d13
leaq -0x40(%rbp), %rdi
callq 0x5560
jmp 0x29f21
jmp 0x29fc7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
leaq -0x110(%rbp), %rdi
callq 0x5240
jmp 0x2a078
leaq -0x40(%rbp), %rdi
callq 0x55f0
cmpq $0x1, %rax
jne 0x29f90
leaq 0xdb75(%rip), %rsi      # 0x37ad4
leaq -0x40(%rbp), %rdi
callq 0x26360
movb %al, -0x193(%rbp)
jmp 0x29f70
movb -0x193(%rbp), %al
testb $0x1, %al
jne 0x29f7c
jmp 0x29f90
leaq 0xdd95(%rip), %rsi      # 0x37d18
leaq -0x40(%rbp), %rdi
callq 0x5560
jmp 0x29f8e
jmp 0x29fc5
leaq -0x130(%rbp), %rdi
leaq -0x110(%rbp), %rsi
leaq -0x40(%rbp), %rdx
callq 0x2f4a0
jmp 0x29fa9
leaq -0x40(%rbp), %rdi
leaq -0x130(%rbp), %rsi
callq 0x5500
leaq -0x130(%rbp), %rdi
callq 0x5240
jmp 0x29fc7
jmp 0x29fdd
leaq -0x40(%rbp), %rdi
leaq -0x110(%rbp), %rsi
callq 0x5520
jmp 0x29fdb
jmp 0x29fdd
leaq -0x110(%rbp), %rdi
callq 0x5240
leaq -0xe8(%rbp), %rdi
callq 0x1a030
jmp 0x29e62
movq -0x158(%rbp), %rsi
movq -0x20(%rbp), %rdx
leaq -0x150(%rbp), %rdi
callq 0x29af0
jmp 0x2a013
movq -0x168(%rbp), %rdi
leaq -0x40(%rbp), %rsi
leaq -0x150(%rbp), %rdx
callq 0xbcb0
jmp 0x2a02c
leaq -0x150(%rbp), %rdi
callq 0x5240
leaq -0x58(%rbp), %rdi
callq 0x12a70
leaq -0x40(%rbp), %rdi
callq 0x5240
movq -0x160(%rbp), %rax
addq $0x1a0, %rsp            # imm = 0x1A0
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x90(%rbp)
movl %eax, -0x94(%rbp)
leaq -0x150(%rbp), %rdi
callq 0x5240
leaq -0x58(%rbp), %rdi
callq 0x12a70
leaq -0x40(%rbp), %rdi
callq 0x5240
movq -0x90(%rbp), %rdi
callq 0x5740
nopw %cs:(%rax,%rax)