// File: /workspace/github_cpp_makefile_star2_O3/Heptagon196[P]Gos/Reflection/ReflMgr.cpp
// Function: ReflMgr::SafeGetMethodWithInherit(std::function<void* (void*)>*, TypeID, std::basic_string_view<char, std::char_traits<char>>, ArgsTypeList const&, bool)
const MethodInfo* ReflMgr::SafeGetMethodWithInherit(std::function<void*(void*)>* conv, TypeID id, std::string_view name, const ArgsTypeList& args, bool showError) {
    auto ret = WalkThroughInherits(conv, id, std::function([&](TypeID type) { return SafeGet(type, name, args); }));
    if (ret == nullptr && showError) {
        ERROR << "Error: no matching method found: " << id.getName() << "::" << name << "(";
        if (args.size() > 0) {
            ERROR << args[0].getName();
            for (int i = 1; i < args.size(); i++) {
                ERROR << ", " << args[i].getName();
            }
        }
        ERROR << ")" << std::endl;
    }
    return ret;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movl %r9d, %ebp
movq %r8, %r14
movq %rsi, %rbx
movq %rdi, %r15
leaq 0x28(%rsp), %r13
movq %rdx, (%r13)
movq %rcx, 0x8(%r13)
leaq 0x38(%rsp), %r12
movq $0x0, 0x8(%r12)
movl $0x18, %edi
callq 0x11350
movq %r15, (%rax)
movq %r13, 0x8(%rax)
movq %r14, 0x10(%rax)
movq %rax, (%r12)
leaq 0x24ff(%rip), %rax      # 0x25478
movq %rax, 0x18(%r12)
leaq 0x2529(%rip), %rax      # 0x254ae
movq %rax, 0x10(%r12)
movaps 0x90(%rsp), %xmm0
movaps 0xa0(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movq %r15, %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq 0x8ccf0
movq %rax, %rbx
movq 0x48(%rsp), %rax
testq %rax, %rax
je 0x22fcd
leaq 0x38(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
testq %rbx, %rbx
setne %al
xorb $0x1, %bpl
orb %al, %bpl
jne 0x2316e
movq %rbx, 0x20(%rsp)
leaq 0x90(%rsp), %r12
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq 0xf9ff5(%rip), %rdi     # 0x11cff0
callq 0x113c0
movq %rax, %r13
leaq 0x9a2e7(%rip), %rsi     # 0xbd2f1
movl $0x21, %edx
movq %rax, %rdi
callq 0x113c0
movq %r12, %rdi
callq 0x1f5e2
movq %r13, %rdi
movq %rdx, %rsi
movq %rax, %rdx
callq 0x113c0
movq %rax, %r12
leaq 0x98ce9(%rip), %rsi     # 0xbbd20
movl $0x2, %edx
movq %rax, %rdi
callq 0x113c0
movq 0x28(%rsp), %rdx
movq 0x30(%rsp), %rsi
movq %r12, %rdi
callq 0x113c0
leaq 0x9a229(%rip), %rsi     # 0xbd286
movl $0x1, %edx
movq %rax, %rdi
callq 0x113c0
movq 0x8(%r14), %rax
cmpq (%r14), %rax
je 0x23118
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq 0xf9f6b(%rip), %rdi     # 0x11cff0
callq 0x113c0
movq %rax, %r12
movq (%r14), %rdi
callq 0x1f5e2
movq %r12, %rdi
movq %rdx, %rsi
movq %rax, %rdx
callq 0x113c0
movq 0x8(%r14), %rax
subq (%r14), %rax
cmpq $0x21, %rax
jb 0x23118
movl $0x1, %ebx
movl $0x20, %r12d
leaq 0x998c6(%rip), %r13     # 0xbc988
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq 0xf9f20(%rip), %rdi     # 0x11cff0
callq 0x113c0
movq %rax, %rbp
movl $0x2, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x113c0
movq (%r14), %rdi
addq %r12, %rdi
callq 0x1f5e2
movq %rbp, %rdi
movq %rdx, %rsi
movq %rax, %rdx
callq 0x113c0
movq 0x8(%r14), %rax
subq (%r14), %rax
incq %rbx
sarq $0x5, %rax
addq $0x20, %r12
cmpq %rbx, %rax
ja 0x230c2
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq 0xf9eca(%rip), %rdi     # 0x11cff0
callq 0x113c0
movq %rax, %r14
leaq 0x9a308(%rip), %rsi     # 0xbd43d
movl $0x1, %edx
movq %rax, %rdi
callq 0x113c0
movq (%r14), %rax
movq -0x18(%rax), %rdi
addq %r14, %rdi
movl $0xa, %esi
callq 0x11340
movsbl %al, %esi
movq %r14, %rdi
callq 0x11040
movq %rax, %rdi
callq 0x11260
movq 0x20(%rsp), %rbx
movq %rbx, %rax
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x231a6
movq %rax, %rbx
movq 0x48(%rsp), %rax
testq %rax, %rax
je 0x2319e
leaq 0x38(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq %rbx, %rdi
callq 0x11580
movq %rax, %rdi
callq 0x26e38