// File: /workspace/github_cpp_makefile_star2_O1/Heptagon196[P]Gos/Reflection/ReflMgr.cpp
// Function: ReflMgr::AddMethodInfo(TypeID, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, MethodInfo, bool)
void ReflMgr::AddMethodInfo(TypeID type, const std::string& name, MethodInfo info, bool overridePrevious) {
    std::vector<MethodInfo>& lst = methodInfo[type][name];
    for (MethodInfo& data : lst) {
        if (data.sameDeclareTo(info)) {
            if (overridePrevious) {
                data = info;
            } else {
                ERROR << "Error: same type of function already registered: " << info.returnType.getName() << " " << type.getName() << "::" << name << "(";
                if (info.argsList.size() > 0) {
                    ERROR << info.argsList[0].getName();
                }
                for (int i = 1; i < info.argsList.size(); i++) {
                    ERROR << ", " << info.argsList[i].getName();
                }
                ERROR << ")" << std::endl;
            }
        }
    }
    methodInfo[type][name].push_back(info);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movl %ecx, %ebp
movq %rdx, %rbx
movq %rsi, %r14
leaq 0x90(%rsp), %rsi
movq %rdi, 0x48(%rsp)
addq $0x58, %rdi
movq %rdi, 0x18(%rsp)
callq 0x902c0
movq %rax, %rdi
movq %r14, 0x8(%rsp)
movq %r14, %rsi
callq 0x912a6
movq (%rax), %r15
movq 0x8(%rax), %r14
cmpq %r14, %r15
je 0x2373c
leaq 0x98(%rbx), %rax
movq %rax, 0x10(%rsp)
leaq 0x20(%rbx), %rax
movq %rax, 0x20(%rsp)
leaq 0x58(%rbx), %rax
movq %rax, 0x38(%rsp)
leaq 0x78(%rbx), %rax
movq %rax, 0x30(%rsp)
leaq 0xb8(%rbx), %rax
movq %rax, 0x28(%rsp)
movl %ebp, 0x4(%rsp)
movq %r14, 0x40(%rsp)
movq 0x48(%rsp), %r12
movq %r15, %rdi
movq %rbx, %rsi
callq 0x2337e
testb %al, %al
je 0x2372c
testb %bpl, %bpl
je 0x23552
movq %r15, %rdi
movq %rbx, %rsi
callq 0x3a2e8
cmpq %rbx, %r15
je 0x23504
leaq 0x20(%r15), %rdi
movq 0x20(%rsp), %rsi
callq 0x36fda
leaq 0x58(%r15), %rdi
movq 0x38(%rsp), %rsi
callq 0x8c242
leaq 0x78(%r15), %rdi
movq 0x30(%rsp), %rsi
callq 0x8f646
movq 0x10(%rsp), %rax
movups (%rax), %xmm0
movups 0xa(%rax), %xmm1
movups %xmm0, 0x98(%r15)
movups %xmm1, 0xa2(%r15)
leaq 0xb8(%r15), %rdi
movq 0x28(%rsp), %rsi
callq 0x90012
jmp 0x2372c
movq %r15, 0x50(%rsp)
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq 0xfaa89(%rip), %r13     # 0x11dff0
movq %r13, %rdi
callq 0x113c0
movq %rax, %r15
movl $0x31, %edx
movq %rax, %rdi
leaq 0x9ad4d(%rip), %rsi     # 0xbe2ce
callq 0x113c0
movq 0x10(%rsp), %rdi
callq 0x1ff7e
movq %r15, %rdi
movq %rdx, %rsi
movq %rax, %rdx
callq 0x113c0
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
leaq 0xacff5(%rip), %rsi     # 0xd05a5
callq 0x113c0
leaq 0x90(%rsp), %rdi
callq 0x1ff7e
movq %r15, %rdi
movq %rdx, %rsi
movq %rax, %rdx
callq 0x113c0
movq %rax, %r15
movl $0x2, %edx
movq %rax, %rdi
leaq 0x9976e(%rip), %rsi     # 0xbcd50
callq 0x113c0
movq 0x8(%rsp), %rax
movq (%rax), %rsi
movq 0x8(%rax), %rdx
movq %r15, %rdi
callq 0x113c0
movl $0x1, %edx
movq %rax, %rdi
leaq 0x9acac(%rip), %rsi     # 0xbe2b6
callq 0x113c0
movq 0xc0(%rbx), %rax
cmpq 0xb8(%rbx), %rax
je 0x2364d
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq %r13, %rdi
callq 0x113c0
movq %rax, %r15
movq 0xb8(%rbx), %rdi
callq 0x1ff7e
movq %r15, %rdi
movq %rdx, %rsi
movq %rax, %rdx
callq 0x113c0
movq 0xc0(%rbx), %rax
subq 0xb8(%rbx), %rax
cmpq $0x21, %rax
jb 0x236cf
movl $0x1, %r14d
movl $0x20, %ebp
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq %r13, %rdi
callq 0x113c0
movq %rax, %r15
movl $0x2, %edx
movq %rax, %rdi
leaq 0x9a329(%rip), %rsi     # 0xbd9b8
callq 0x113c0
movq 0xb8(%rbx), %rdi
addq %rbp, %rdi
callq 0x1ff7e
movq %r15, %rdi
movq %rdx, %rsi
movq %rax, %rdx
callq 0x113c0
movq 0xc0(%rbx), %rax
subq 0xb8(%rbx), %rax
incq %r14
sarq $0x5, %rax
addq $0x20, %rbp
cmpq %r14, %rax
ja 0x2366c
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq %r13, %rdi
callq 0x113c0
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
leaq 0x9ad7b(%rip), %rsi     # 0xbe46d
callq 0x113c0
movq (%r15), %rax
movq -0x18(%rax), %rdi
addq %r15, %rdi
movl $0xa, %esi
callq 0x11340
movsbl %al, %esi
movq %r15, %rdi
callq 0x11040
movq %rax, %rdi
callq 0x11260
movl 0x4(%rsp), %ebp
movq 0x40(%rsp), %r14
movq 0x50(%rsp), %r15
addq $0xd0, %r15
cmpq %r14, %r15
jne 0x234ce
movq 0x18(%rsp), %rdi
leaq 0x90(%rsp), %rsi
callq 0x902c0
movq %rax, %rdi
movq 0x8(%rsp), %rsi
callq 0x912a6
movq %rax, %rdi
movq %rbx, %rsi
callq 0x8cd7a
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop