// File: EmbeddedPaul166[P]SNMP-Agent/src/manager.cpp
// Function: Manager::getNodeByOID(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&)
void Manager::getNodeByOID(std::string & input)
{
    std::vector<unsigned int> vectorOfOID = getOIDVector(input);
    bool isNodeFound;
    unsigned int OID;
    std::string name;
    std::string baseType;
    std::string complexity;
    std::string encodingType;
    std::string visibility;
    int lengthLimit;
    int rangeLimitLower;
    int rangeLimitUpper;
    std::string description;
    std::string accessType;
    std::string statusType;
    m_pParser -> getNodeByOID(vectorOfOID,
                              isNodeFound,
                              OID,
                              name,
                              baseType,
                              complexity,
                              encodingType,
                              visibility,
                              lengthLimit,
                              rangeLimitLower,
                              rangeLimitUpper,
                              description,
                              accessType,
                              statusType);
    if (isNodeFound)
    {
        std::cout << "OID: " << OID << std::endl;
        std::cout << "Name: " << name << std::endl;
        std::cout << "Base type: " << baseType << std::endl;
        std::cout << "Encoding complexity: " << complexity << std::endl;
        std::cout << "Encoding type: " << encodingType << std::endl;
        std::cout << "Visibility: " << visibility << std::endl;
        std::cout << "Length limit: " << lengthLimit << std::endl;
        std::cout << "Range limit: " << rangeLimitUpper << std::endl;
        std::cout << "Description: " << description << std::endl;
        std::cout << "Access type: " << accessType << std::endl;
        std::cout << "Status type: " << statusType << std::endl; 
    }
    else
    {
        std::cout << "Node not found! Try different OID string." << std::endl;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x290, %rsp            # imm = 0x290
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rsi
movq %rsi, -0x180(%rbp)
movq -0x10(%rbp), %rdx
leaq -0x28(%rbp), %rdi
movq %rdi, -0x178(%rbp)
callq 0xa220
leaq -0x50(%rbp), %rdi
callq 0x6600
leaq -0x70(%rbp), %rdi
callq 0x6600
leaq -0x90(%rbp), %rdi
callq 0x6600
leaq -0xb0(%rbp), %rdi
callq 0x6600
leaq -0xd0(%rbp), %rdi
callq 0x6600
leaq -0x100(%rbp), %rdi
callq 0x6600
leaq -0x120(%rbp), %rdi
callq 0x6600
leaq -0x140(%rbp), %rdi
callq 0x6600
movq -0x180(%rbp), %rdi
callq 0xb7e0
movq -0x178(%rbp), %rsi
movq %rax, -0x170(%rbp)
leaq -0x158(%rbp), %rdi
callq 0xba40
jmp 0xa4f4
movq -0x170(%rbp), %rdi
movq %rsp, %rax
movq %rax, -0x188(%rbp)
leaq -0x140(%rbp), %rcx
movq %rcx, 0x40(%rax)
leaq -0x120(%rbp), %rcx
movq %rcx, 0x38(%rax)
leaq -0x100(%rbp), %rcx
movq %rcx, 0x30(%rax)
leaq -0xdc(%rbp), %rcx
movq %rcx, 0x28(%rax)
leaq -0xd8(%rbp), %rcx
movq %rcx, 0x20(%rax)
leaq -0xd4(%rbp), %rcx
movq %rcx, 0x18(%rax)
leaq -0xd0(%rbp), %rcx
movq %rcx, 0x10(%rax)
leaq -0xb0(%rbp), %rcx
movq %rcx, 0x8(%rax)
leaq -0x90(%rbp), %rcx
movq %rcx, (%rax)
leaq -0x158(%rbp), %rsi
leaq -0x29(%rbp), %rdx
leaq -0x30(%rbp), %rcx
leaq -0x50(%rbp), %r8
leaq -0x70(%rbp), %r9
callq 0x135d0
jmp 0xa585
leaq -0x158(%rbp), %rdi
callq 0x8510
testb $0x1, -0x29(%rbp)
je 0xa91a
movq 0x5ea06(%rip), %rdi     # 0x68fa8
leaq 0x3dc07(%rip), %rsi     # 0x481b0
callq 0x6450
movq %rax, -0x190(%rbp)
jmp 0xa5b7
movq -0x190(%rbp), %rdi
movl -0x30(%rbp), %esi
callq 0x65d0
movq %rax, -0x198(%rbp)
jmp 0xa5cf
movq -0x198(%rbp), %rdi
movq 0x5e9a3(%rip), %rsi     # 0x68f80
callq 0x64b0
jmp 0xa5e4
movq 0x5e9bd(%rip), %rdi     # 0x68fa8
leaq 0x3dbc4(%rip), %rsi     # 0x481b6
callq 0x6450
movq %rax, -0x1a0(%rbp)
jmp 0xa600
movq -0x1a0(%rbp), %rdi
leaq -0x50(%rbp), %rsi
callq 0x6400
movq %rax, -0x1a8(%rbp)
jmp 0xa619
movq -0x1a8(%rbp), %rdi
movq 0x5e959(%rip), %rsi     # 0x68f80
callq 0x64b0
jmp 0xa62e
movq 0x5e973(%rip), %rdi     # 0x68fa8
leaq 0x3db81(%rip), %rsi     # 0x481bd
callq 0x6450
movq %rax, -0x1b0(%rbp)
jmp 0xa64a
movq -0x1b0(%rbp), %rdi
leaq -0x70(%rbp), %rsi
callq 0x6400
movq %rax, -0x1b8(%rbp)
jmp 0xa663
movq -0x1b8(%rbp), %rdi
movq 0x5e90f(%rip), %rsi     # 0x68f80
callq 0x64b0
jmp 0xa678
movq 0x5e929(%rip), %rdi     # 0x68fa8
leaq 0x3db43(%rip), %rsi     # 0x481c9
callq 0x6450
movq %rax, -0x1c0(%rbp)
jmp 0xa694
movq -0x1c0(%rbp), %rdi
leaq -0x90(%rbp), %rsi
callq 0x6400
movq %rax, -0x1c8(%rbp)
jmp 0xa6b0
movq -0x1c8(%rbp), %rdi
movq 0x5e8c2(%rip), %rsi     # 0x68f80
callq 0x64b0
jmp 0xa6c5
movq 0x5e8dc(%rip), %rdi     # 0x68fa8
leaq 0x3db0c(%rip), %rsi     # 0x481df
callq 0x6450
movq %rax, -0x1d0(%rbp)
jmp 0xa6e1
movq -0x1d0(%rbp), %rdi
leaq -0xb0(%rbp), %rsi
callq 0x6400
movq %rax, -0x1d8(%rbp)
jmp 0xa6fd
movq -0x1d8(%rbp), %rdi
movq 0x5e875(%rip), %rsi     # 0x68f80
callq 0x64b0
jmp 0xa712
movq 0x5e88f(%rip), %rdi     # 0x68fa8
leaq 0x3dacf(%rip), %rsi     # 0x481ef
callq 0x6450
movq %rax, -0x1e0(%rbp)
jmp 0xa72e
movq -0x1e0(%rbp), %rdi
leaq -0xd0(%rbp), %rsi
callq 0x6400
movq %rax, -0x1e8(%rbp)
jmp 0xa74a
movq -0x1e8(%rbp), %rdi
movq 0x5e828(%rip), %rsi     # 0x68f80
callq 0x64b0
jmp 0xa75f
movq 0x5e842(%rip), %rdi     # 0x68fa8
leaq 0x3da8f(%rip), %rsi     # 0x481fc
callq 0x6450
movq %rax, -0x1f0(%rbp)
jmp 0xa77b
movq -0x1f0(%rbp), %rdi
movl -0xd4(%rbp), %esi
callq 0x6760
movq %rax, -0x1f8(%rbp)
jmp 0xa796
movq -0x1f8(%rbp), %rdi
movq 0x5e7dc(%rip), %rsi     # 0x68f80
callq 0x64b0
jmp 0xa7ab
movq 0x5e7f6(%rip), %rdi     # 0x68fa8
leaq 0x3da52(%rip), %rsi     # 0x4820b
callq 0x6450
movq %rax, -0x200(%rbp)
jmp 0xa7c7
movq -0x200(%rbp), %rdi
movl -0xdc(%rbp), %esi
callq 0x6760
movq %rax, -0x208(%rbp)
jmp 0xa7e2
movq -0x208(%rbp), %rdi
movq 0x5e790(%rip), %rsi     # 0x68f80
callq 0x64b0
jmp 0xa7f7
movq 0x5e7aa(%rip), %rdi     # 0x68fa8
leaq 0x3da14(%rip), %rsi     # 0x48219
callq 0x6450
movq %rax, -0x210(%rbp)
jmp 0xa813
movq -0x210(%rbp), %rdi
leaq -0x100(%rbp), %rsi
callq 0x6400
movq %rax, -0x218(%rbp)
jmp 0xa82f
movq -0x218(%rbp), %rdi
movq 0x5e743(%rip), %rsi     # 0x68f80
callq 0x64b0
jmp 0xa844
movq 0x5e75d(%rip), %rdi     # 0x68fa8
leaq 0x3d9d5(%rip), %rsi     # 0x48227
callq 0x6450
movq %rax, -0x220(%rbp)
jmp 0xa860
movq -0x220(%rbp), %rdi
leaq -0x120(%rbp), %rsi
callq 0x6400
movq %rax, -0x228(%rbp)
jmp 0xa87c
movq -0x228(%rbp), %rdi
movq 0x5e6f6(%rip), %rsi     # 0x68f80
callq 0x64b0
jmp 0xa891
movq 0x5e710(%rip), %rdi     # 0x68fa8
leaq 0x3d996(%rip), %rsi     # 0x48235
callq 0x6450
movq %rax, -0x230(%rbp)
jmp 0xa8ad
movq -0x230(%rbp), %rdi
leaq -0x140(%rbp), %rsi
callq 0x6400
movq %rax, -0x238(%rbp)
jmp 0xa8c9
movq -0x238(%rbp), %rdi
movq 0x5e6a9(%rip), %rsi     # 0x68f80
callq 0x64b0
jmp 0xa8de
jmp 0xa94d
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
jmp 0xa9b9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x160(%rbp)
movl %eax, -0x164(%rbp)
leaq -0x158(%rbp), %rdi
callq 0x8510
jmp 0xa9b9
movq 0x5e687(%rip), %rdi     # 0x68fa8
leaq 0x3d91b(%rip), %rsi     # 0x48243
callq 0x6450
movq %rax, -0x240(%rbp)
jmp 0xa936
movq -0x240(%rbp), %rdi
movq 0x5e63c(%rip), %rsi     # 0x68f80
callq 0x64b0
jmp 0xa94b
jmp 0xa94d
leaq -0x140(%rbp), %rdi
callq 0x62e0
leaq -0x120(%rbp), %rdi
callq 0x62e0
leaq -0x100(%rbp), %rdi
callq 0x62e0
leaq -0xd0(%rbp), %rdi
callq 0x62e0
leaq -0xb0(%rbp), %rdi
callq 0x62e0
leaq -0x90(%rbp), %rdi
callq 0x62e0
leaq -0x70(%rbp), %rdi
callq 0x62e0
leaq -0x50(%rbp), %rdi
callq 0x62e0
leaq -0x28(%rbp), %rdi
callq 0x8510
addq $0x290, %rsp            # imm = 0x290
popq %rbp
retq
leaq -0x140(%rbp), %rdi
callq 0x62e0
leaq -0x120(%rbp), %rdi
callq 0x62e0
leaq -0x100(%rbp), %rdi
callq 0x62e0
leaq -0xd0(%rbp), %rdi
callq 0x62e0
leaq -0xb0(%rbp), %rdi
callq 0x62e0
leaq -0x90(%rbp), %rdi
callq 0x62e0
leaq -0x70(%rbp), %rdi
callq 0x62e0
leaq -0x50(%rbp), %rdi
callq 0x62e0
leaq -0x28(%rbp), %rdi
callq 0x8510
movq -0x160(%rbp), %rdi
callq 0x6790
nopl (%rax,%rax)