// File: 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:
subq $0x158, %rsp            # imm = 0x158
movl %r9d, %eax
movq %rcx, 0x40(%rsp)
movq %rdx, %r9
movq 0x40(%rsp), %rdx
leaq 0x160(%rsp), %rcx
movq %rcx, 0x48(%rsp)
movq %r9, 0x148(%rsp)
movq %rdx, 0x150(%rsp)
movq %rdi, 0x140(%rsp)
movq %rsi, 0x138(%rsp)
movq %r8, 0x130(%rsp)
andb $0x1, %al
movb %al, 0x12f(%rsp)
movq 0x140(%rsp), %rax
movq %rax, 0x50(%rsp)
movq 0x138(%rsp), %rdx
movq %rdx, 0x58(%rsp)
movups (%rcx), %xmm0
movups 0x10(%rcx), %xmm1
movaps %xmm1, 0x110(%rsp)
movaps %xmm0, 0x100(%rsp)
movq %rax, 0xc8(%rsp)
leaq 0x148(%rsp), %rax
movq %rax, 0xd0(%rsp)
movq 0x130(%rsp), %rax
movq %rax, 0xd8(%rsp)
leaq 0xe0(%rsp), %rdi
movq %rdi, 0x60(%rsp)
leaq 0xc8(%rsp), %rsi
callq 0x4b160
movq 0x50(%rsp), %rdi
movq 0x58(%rsp), %rsi
movq 0x60(%rsp), %rdx
movaps 0x100(%rsp), %xmm0
movaps 0x110(%rsp), %xmm1
movq %rsp, %rax
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
callq 0x192340
movq %rax, 0x68(%rsp)
jmp 0x4aeed
leaq 0xe0(%rsp), %rdi
callq 0x1927a0
movq 0x68(%rsp), %rax
movq %rax, 0x120(%rsp)
cmpq $0x0, 0x120(%rsp)
jne 0x4b143
testb $0x1, 0x12f(%rsp)
je 0x4b143
movq 0x50(%rsp), %rsi
movq 0x2b60c0(%rip), %rdi    # 0x300ff0
callq 0x131a0
movq %rax, %rdi
leaq 0x1c1f20(%rip), %rsi    # 0x20ce5f
callq 0x13380
movq 0x48(%rsp), %rdi
movq %rax, 0x38(%rsp)
callq 0x2b420
movq 0x38(%rsp), %rdi
movq %rax, 0xa8(%rsp)
movq %rdx, 0xb0(%rsp)
movq 0xa8(%rsp), %rsi
movq 0xb0(%rsp), %rdx
callq 0x133c10
movq %rax, %rdi
leaq 0x1c06d5(%rip), %rsi    # 0x20b65c
callq 0x13380
movq %rax, %rdi
movq 0x148(%rsp), %rax
movq %rax, 0x98(%rsp)
movq 0x150(%rsp), %rax
movq %rax, 0xa0(%rsp)
movq 0x98(%rsp), %rsi
movq 0xa0(%rsp), %rdx
callq 0x133c10
movq %rax, %rdi
leaq 0x1c1e26(%rip), %rsi    # 0x20cdf4
callq 0x13380
movq 0x130(%rsp), %rdi
callq 0x57080
cmpq $0x0, %rax
jbe 0x4b114
movq 0x50(%rsp), %rsi
movq 0x2b5ffa(%rip), %rdi    # 0x300ff0
callq 0x131a0
movq %rax, 0x30(%rsp)
movq 0x130(%rsp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x57a40
movq %rax, %rdi
callq 0x2b420
movq 0x30(%rsp), %rdi
movq %rax, 0x88(%rsp)
movq %rdx, 0x90(%rsp)
movq 0x88(%rsp), %rsi
movq 0x90(%rsp), %rdx
callq 0x133c10
movl $0x1, 0x84(%rsp)
movslq 0x84(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x130(%rsp), %rdi
callq 0x57080
movq %rax, %rcx
movq 0x28(%rsp), %rax
cmpq %rcx, %rax
jae 0x4b112
movq 0x50(%rsp), %rsi
movq 0x2b5f6b(%rip), %rdi    # 0x300ff0
callq 0x131a0
movq %rax, %rdi
leaq 0x1c127b(%rip), %rsi    # 0x20c30f
callq 0x13380
movq %rax, 0x20(%rsp)
movq 0x130(%rsp), %rdi
movslq 0x84(%rsp), %rsi
callq 0x57a40
movq %rax, %rdi
callq 0x2b420
movq 0x20(%rsp), %rdi
movq %rax, 0x70(%rsp)
movq %rdx, 0x78(%rsp)
movq 0x70(%rsp), %rsi
movq 0x78(%rsp), %rdx
callq 0x133c10
movl 0x84(%rsp), %eax
addl $0x1, %eax
movl %eax, 0x84(%rsp)
jmp 0x4b04e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0xc0(%rsp)
movl %eax, 0xbc(%rsp)
leaq 0xe0(%rsp), %rdi
callq 0x1927a0
jmp 0x4b153
jmp 0x4b114
movq 0x50(%rsp), %rsi
movq 0x2b5ed0(%rip), %rdi    # 0x300ff0
callq 0x131a0
movq %rax, %rdi
leaq 0x1c1e31(%rip), %rsi    # 0x20cf60
callq 0x13380
movq %rax, %rdi
movq 0x2b5ea2(%rip), %rsi    # 0x300fe0
callq 0x135d0
movq 0x120(%rsp), %rax
addq $0x158, %rsp            # imm = 0x158
retq
movq 0xc0(%rsp), %rdi
callq 0x133f0