// File: fffrankkk[P]XmlCode/src/XMLParser.cpp
// Function: CXMLParser::ParseChildren(CXMLNode*, CClassDetail*)
void CXMLParser::ParseChildren(CXMLNode* pCNode, CClassDetail* pCDetail)
{
    BT_AUTO(vecChildren, pCNode->GetChildren());
    for (BT_AUTO(iterChild, vecChildren.begin()); iterChild != vecChildren.end(); ++iterChild) {
        if ((*iterChild)->HasAttribute() || (*iterChild)->HasChildren()) {
            CClassDetail* pCChild = NULL;
            if (PTR_NULL(pCChild = pCDetail->GetChild((*iterChild)->GetName()))) {
                pCChild = new CClassDetail;
                pCChild->SetType("s");
                pCDetail->AddChild((*iterChild)->GetName(), pCChild);
            } else {
                pCChild->SetType("m");
            }
            ParseNode(*iterChild, pCChild);
        } else {
            //ParseAttribute(*iterChild, pCDetail);
            pCDetail->AddMember((*iterChild)->GetName(), pCNode->GetChildren((*iterChild)->GetName()).size() == 1 ? "c" : "c+");
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1e0, %rsp            # imm = 0x1E0
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x170(%rbp)
movq -0x10(%rbp), %rsi
leaq -0x30(%rbp), %rdi
callq 0x79d0
leaq -0x30(%rbp), %rdi
callq 0x9b70
movq %rax, -0x38(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x9a00
movq %rax, -0x40(%rbp)
leaq -0x38(%rbp), %rdi
leaq -0x40(%rbp), %rsi
callq 0xb930
testb $0x1, %al
jne 0xb42f
jmp 0xb8c6
leaq -0x38(%rbp), %rdi
callq 0xb970
movq (%rax), %rdi
callq 0xb990
movb %al, -0x171(%rbp)
jmp 0xb448
movb -0x171(%rbp), %al
testb $0x1, %al
jne 0xb47c
jmp 0xb454
leaq -0x38(%rbp), %rdi
callq 0xb970
movq (%rax), %rdi
callq 0xb9c0
movb %al, -0x172(%rbp)
jmp 0xb46d
movb -0x172(%rbp), %al
testb $0x1, %al
jne 0xb47c
jmp 0xb72a
movq $0x0, -0x58(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x180(%rbp)
leaq -0x38(%rbp), %rdi
callq 0xb970
movq (%rax), %rsi
leaq -0x78(%rbp), %rdi
callq 0x65d0
jmp 0xb4a6
movq -0x180(%rbp), %rdi
leaq -0x78(%rbp), %rsi
callq 0x1b400
movq %rax, -0x188(%rbp)
jmp 0xb4bf
movq -0x188(%rbp), %rax
movq %rax, -0x58(%rbp)
leaq -0x78(%rbp), %rdi
callq 0x5240
movq -0x188(%rbp), %rax
cmpq $0x0, %rax
jne 0xb667
movl $0xa8, %edi
callq 0x53e0
movq %rax, -0x190(%rbp)
jmp 0xb4f7
movq -0x190(%rbp), %rdi
callq 0x1abb0
jmp 0xb505
movq -0x190(%rbp), %rax
movq %rax, -0x58(%rbp)
movq -0x58(%rbp), %rax
movq %rax, -0x1a0(%rbp)
leaq -0x99(%rbp), %rdi
movq %rdi, -0x198(%rbp)
callq 0x5750
movq -0x198(%rbp), %rdx
leaq 0x2bad4(%rip), %rsi     # 0x37010
leaq -0x98(%rbp), %rdi
callq 0x7a40
jmp 0xb54a
movq -0x1a0(%rbp), %rdi
leaq -0x98(%rbp), %rsi
callq 0x1ad20
jmp 0xb55f
leaq -0x98(%rbp), %rdi
callq 0x5240
leaq -0x99(%rbp), %rdi
callq 0x5460
movq -0x18(%rbp), %rax
movq %rax, -0x1a8(%rbp)
leaq -0x38(%rbp), %rdi
callq 0xb970
movq (%rax), %rsi
leaq -0xc0(%rbp), %rdi
callq 0x65d0
jmp 0xb59c
movq -0x1a8(%rbp), %rdi
movq -0x58(%rbp), %rdx
leaq -0xc0(%rbp), %rsi
callq 0xbf30
jmp 0xb5b5
leaq -0xc0(%rbp), %rdi
callq 0x5240
jmp 0xb707
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0xb8d8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x78(%rbp), %rdi
callq 0x5240
jmp 0xb8d8
movq -0x190(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
movl $0xa8, %esi
callq 0x53f0
jmp 0xb8d8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0xb639
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x98(%rbp), %rdi
callq 0x5240
leaq -0x99(%rbp), %rdi
callq 0x5460
jmp 0xb8d8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0xc0(%rbp), %rdi
callq 0x5240
jmp 0xb8d8
movq -0x58(%rbp), %rax
movq %rax, -0x1b8(%rbp)
leaq -0xe1(%rbp), %rdi
movq %rdi, -0x1b0(%rbp)
callq 0x5750
movq -0x1b0(%rbp), %rdx
leaq 0x2ba2e(%rip), %rsi     # 0x370c1
leaq -0xe0(%rbp), %rdi
callq 0x7a40
jmp 0xb6a1
movq -0x1b8(%rbp), %rdi
leaq -0xe0(%rbp), %rsi
callq 0x1ad20
jmp 0xb6b6
leaq -0xe0(%rbp), %rdi
callq 0x5240
leaq -0xe1(%rbp), %rdi
callq 0x5460
jmp 0xb707
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0xb6f6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0xe0(%rbp), %rdi
callq 0x5240
leaq -0xe1(%rbp), %rdi
callq 0x5460
jmp 0xb8d8
leaq -0x38(%rbp), %rdi
callq 0xb970
movq -0x170(%rbp), %rdi
movq (%rax), %rsi
movq -0x58(%rbp), %rdx
callq 0xa910
jmp 0xb725
jmp 0xb8b6
movq -0x18(%rbp), %rax
movq %rax, -0x1c0(%rbp)
leaq -0x38(%rbp), %rdi
callq 0xb970
movq (%rax), %rsi
leaq -0x108(%rbp), %rdi
callq 0x65d0
jmp 0xb74f
movq -0x10(%rbp), %rax
movq %rax, -0x1c8(%rbp)
leaq -0x38(%rbp), %rdi
callq 0xb970
movq (%rax), %rsi
leaq -0x160(%rbp), %rdi
callq 0x65d0
jmp 0xb774
movq -0x1c8(%rbp), %rsi
leaq -0x140(%rbp), %rdi
leaq -0x160(%rbp), %rdx
callq 0x66c0
jmp 0xb790
leaq -0x140(%rbp), %rdi
callq 0x7900
subq $0x1, %rax
leaq 0x2c32d(%rip), %rcx     # 0x37ad4
leaq 0x2b915(%rip), %rax     # 0x370c3
cmoveq %rcx, %rax
movq %rax, -0x1d8(%rbp)
leaq -0x161(%rbp), %rdi
movq %rdi, -0x1d0(%rbp)
callq 0x5750
movq -0x1d8(%rbp), %rsi
movq -0x1d0(%rbp), %rdx
leaq -0x128(%rbp), %rdi
callq 0x7a40
jmp 0xb7e8
movq -0x1c0(%rbp), %rdi
leaq -0x108(%rbp), %rsi
leaq -0x128(%rbp), %rdx
callq 0x1afc0
jmp 0xb804
leaq -0x128(%rbp), %rdi
callq 0x5240
leaq -0x161(%rbp), %rdi
callq 0x5460
leaq -0x140(%rbp), %rdi
callq 0x7680
leaq -0x160(%rbp), %rdi
callq 0x5240
leaq -0x108(%rbp), %rdi
callq 0x5240
jmp 0xb8b6
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0xb8a8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0xb89c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0xb884
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x128(%rbp), %rdi
callq 0x5240
leaq -0x161(%rbp), %rdi
callq 0x5460
leaq -0x140(%rbp), %rdi
callq 0x7680
leaq -0x160(%rbp), %rdi
callq 0x5240
leaq -0x108(%rbp), %rdi
callq 0x5240
jmp 0xb8d8
jmp 0xb8b8
leaq -0x38(%rbp), %rdi
callq 0xbbb0
jmp 0xb40c
leaq -0x30(%rbp), %rdi
callq 0x7680
addq $0x1e0, %rsp            # imm = 0x1E0
popq %rbp
retq
leaq -0x30(%rbp), %rdi
callq 0x7680
movq -0x48(%rbp), %rdi
callq 0x5740
nopw (%rax,%rax)