// File: /workspace/github_cpp_makefile_star2_O1/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 $0x68, %rsp
movl %r9d, %ebp
movq %r8, %r14
movq %rsi, %rbx
movq %rdi, %r15
leaq 0x30(%rsp), %r13
movq %rdx, (%r13)
movq %rcx, 0x8(%r13)
xorps %xmm0, %xmm0
leaq 0x40(%rsp), %r12
movaps %xmm0, (%r12)
movaps %xmm0, 0x10(%r12)
movl $0x18, %edi
callq 0x11350
movq %r15, (%rax)
movq %r13, 0x8(%rax)
movq %r14, 0x10(%rax)
movq %rax, (%r12)
leaq 0x256c(%rip), %rax      # 0x25ea8
movq %rax, 0x18(%r12)
leaq 0x2596(%rip), %rax      # 0x25ede
movq %rax, 0x10(%r12)
movaps 0xa0(%rsp), %xmm0
movaps 0xb0(%rsp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movq %r15, %rdi
movq %rbx, %rsi
movq %r12, %rdx
callq 0x8d80e
movq %rax, %rbx
movq 0x50(%rsp), %rax
testq %rax, %rax
je 0x23990
leaq 0x40(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
testq %rbx, %rbx
setne %al
xorb $0x1, %bpl
orb %al, %bpl
jne 0x23b31
movq %rbx, 0x28(%rsp)
leaq 0xa0(%rsp), %r12
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq 0xfa632(%rip), %rdi     # 0x11dff0
callq 0x113c0
movq %rax, %r13
leaq 0x9a954(%rip), %rsi     # 0xbe321
movl $0x21, %edx
movq %rax, %rdi
callq 0x113c0
movq %r12, %rdi
callq 0x1ff7e
movq %r13, %rdi
movq %rdx, %rsi
movq %rax, %rdx
callq 0x113c0
movq %rax, %r12
leaq 0x99356(%rip), %rsi     # 0xbcd50
movl $0x2, %edx
movq %rax, %rdi
callq 0x113c0
movq 0x30(%rsp), %rdx
movq 0x38(%rsp), %rsi
movq %r12, %rdi
callq 0x113c0
leaq 0x9a896(%rip), %rsi     # 0xbe2b6
movl $0x1, %edx
movq %rax, %rdi
callq 0x113c0
movq 0x8(%r14), %rax
cmpq (%r14), %rax
je 0x23adb
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq 0xfa5a8(%rip), %rdi     # 0x11dff0
callq 0x113c0
movq %rax, %r12
movq (%r14), %rdi
callq 0x1ff7e
movq %r12, %rdi
movq %rdx, %rsi
movq %rax, %rdx
callq 0x113c0
movq 0x8(%r14), %rax
subq (%r14), %rax
cmpq $0x21, %rax
jb 0x23adb
movl $0x1, %ebx
movl $0x20, %r12d
leaq 0x99f33(%rip), %r13     # 0xbd9b8
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq 0xfa55d(%rip), %rdi     # 0x11dff0
callq 0x113c0
movq %rax, %rbp
movl $0x2, %edx
movq %rax, %rdi
movq %r13, %rsi
callq 0x113c0
movq (%r14), %rdi
addq %r12, %rdi
callq 0x1ff7e
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 0x23a85
movq (%r15), %rsi
movq 0x8(%r15), %rdx
movq 0xfa507(%rip), %rdi     # 0x11dff0
callq 0x113c0
movq %rax, %r14
leaq 0x9a975(%rip), %rsi     # 0xbe46d
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 0x28(%rsp), %rbx
movq %rbx, %rax
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x23b69
movq %rax, %rbx
movq 0x50(%rsp), %rax
testq %rax, %rax
je 0x23b61
leaq 0x40(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq %rbx, %rdi
callq 0x11580
movq %rax, %rdi
callq 0x2789a
nop