// File: /workspace/github_cpp_makefile_star2_O3/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 0x8f75a
movq %rax, %rdi
movq %r14, 0x8(%rsp)
movq %r14, %rsi
callq 0x90704
movq (%rax), %r15
movq 0x8(%rax), %r14
cmpq %r14, %r15
je 0x22d88
leaq 0x98(%rbx), %rax
movq %rax, 0x10(%rsp)
leaq 0xb8(%rbx), %rax
movq %rax, 0x38(%rsp)
leaq 0x20(%rbx), %rax
movq %rax, 0x20(%rsp)
leaq 0x58(%rbx), %rax
movq %rax, 0x30(%rsp)
leaq 0x78(%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 0x229e0
testb %al, %al
je 0x22d78
testb %bpl, %bpl
je 0x22b98
movq %r15, %rdi
movq %rbx, %rsi
callq 0x39678
cmpq %rbx, %r15
je 0x22b4a
leaq 0x20(%r15), %rdi
movq 0x20(%rsp), %rsi
callq 0x3639e
leaq 0x58(%r15), %rdi
movq 0x30(%rsp), %rsi
callq 0x8b704
leaq 0x78(%r15), %rdi
movq 0x28(%rsp), %rsi
callq 0x8eaca
movq 0x10(%rsp), %rax
movups (%rax), %xmm0
movups 0xa(%rax), %xmm1
movups %xmm0, 0x98(%r15)
movups %xmm1, 0xa2(%r15)
leaq 0xb8(%r15), %rdi
movq 0x38(%rsp), %rsi
callq 0x8f49c
jmp 0x22d78
movq %r15, 0x50(%rsp)
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq 0xfa443(%rip), %r13     # 0x11cff0
movq %r13, %rdi
callq 0x113c0
movq %rax, %r15
movl $0x31, %edx
movq %rax, %rdi
leaq 0x9a6d7(%rip), %rsi     # 0xbd29e
callq 0x113c0
movq 0x10(%rsp), %rdi
callq 0x1f5e2
movq %r15, %rdi
movq %rdx, %rsi
movq %rax, %rdx
callq 0x113c0
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
leaq 0xac97f(%rip), %rsi     # 0xcf575
callq 0x113c0
leaq 0x90(%rsp), %rdi
callq 0x1f5e2
movq %r15, %rdi
movq %rdx, %rsi
movq %rax, %rdx
callq 0x113c0
movq %rax, %r15
movl $0x2, %edx
movq %rax, %rdi
leaq 0x990f8(%rip), %rsi     # 0xbbd20
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 0x9a636(%rip), %rsi     # 0xbd286
callq 0x113c0
movq 0xc0(%rbx), %rax
movq %rax, %rcx
cmpq 0xb8(%rbx), %rax
je 0x22ca4
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq %r13, %rdi
callq 0x113c0
movq %rax, %r15
movq 0xb8(%rbx), %rdi
callq 0x1f5e2
movq %r15, %rdi
movq %rdx, %rsi
movq %rax, %rdx
callq 0x113c0
movq 0xb8(%rbx), %rax
movq 0xc0(%rbx), %rcx
subq %rax, %rcx
cmpq $0x21, %rcx
jb 0x22d1b
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 0x99cad(%rip), %rsi     # 0xbc988
callq 0x113c0
movq 0xb8(%rbx), %rdi
addq %rbp, %rdi
callq 0x1f5e2
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 0x22cb8
movq (%r12), %rsi
movq 0x8(%r12), %rdx
movq %r13, %rdi
callq 0x113c0
movq %rax, %r15
movl $0x1, %edx
movq %rax, %rdi
leaq 0x9a6ff(%rip), %rsi     # 0xbd43d
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 0x22b14
movq 0x18(%rsp), %rdi
leaq 0x90(%rsp), %rsi
callq 0x8f75a
movq %rax, %rdi
movq 0x8(%rsp), %rsi
callq 0x90704
movq %rax, %rdi
movq %rbx, %rsi
callq 0x8c25c
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
nop