// File: /workspace/github_cpp_makefile_star2_O2/Heptagon196[P]Gos/Reflection/./ReflMgr.h
// Function: SharedObject ReflMgr::Invoke<SharedObject, SharedObject>(SharedObject, std::basic_string_view<char, std::char_traits<char>>, std::vector<SharedObject, std::allocator<SharedObject>> const&, bool)
SharedObject Invoke(U instance, std::string_view method, const std::vector<T>& params, bool showError = true) {
            ArgsTypeList list;
            for (auto param : params) {
                list.push_back(param.GetType());
            }
            void* ptr = instance.GetRawPtr();
            std::function<void*(void*)> conv = [](void* orig) { return orig; };
            auto* info = SafeGetMethodWithInherit(&conv, instance.GetType(), method, list, showError);
            ptr = conv(ptr);
            if (info == nullptr || info->name == "") {
                return SharedObject();
            }
            std::vector<std::shared_ptr<void>> temp;
            auto ret = info->newRet();
            info->getRegister(ptr, ConvertParams(params, *info, temp), ret);
            if (ret.GetType().getHash() == TypeID::get<Any>().getHash()) {
                return ret.template As<Any>().ToSharedPtr();
            }
            return ret;
        }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x128, %rsp            # imm = 0x128
movq %r8, 0x30(%rsp)
movq %rcx, 0x28(%rsp)
movq %rdx, %rbp
movq %rsi, 0x38(%rsp)
movq %rdi, 0x40(%rsp)
xorps %xmm0, %xmm0
leaq 0xc0(%rsp), %rbx
movaps %xmm0, (%rbx)
andq $0x0, 0x10(%rbx)
movq (%r9), %r15
movq %r9, 0x20(%rsp)
movq 0x8(%r9), %r13
leaq 0x48(%rsp), %r12
leaq 0x80(%rsp), %r14
cmpq %r13, %r15
je 0x2108d
movq %r12, %rdi
movq %r15, %rsi
callq 0x171ac
movups 0x48(%rsp), %xmm0
movups 0x58(%rsp), %xmm1
movaps %xmm1, 0x90(%rsp)
movaps %xmm0, 0x80(%rsp)
movq %rbx, %rdi
movq %r14, %rsi
callq 0x21f20
movq %r12, %rdi
callq 0x19b6c
addq $0x38, %r15
jmp 0x2104a
movq 0x20(%rbp), %rbx
movq 0x30(%rbp), %r14
xorps %xmm0, %xmm0
leaq 0x80(%rsp), %rsi
movaps %xmm0, (%rsi)
leaq 0x189a(%rip), %rax      # 0x22944
movq %rax, 0x18(%rsi)
leaq 0x1893(%rip), %rax      # 0x22948
movq %rax, 0x10(%rsi)
movups (%rbp), %xmm0
movups 0x10(%rbp), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movzbl 0x160(%rsp), %r9d
leaq 0xc0(%rsp), %r8
movq 0x38(%rsp), %rbp
movq %rbp, %rdi
movq 0x28(%rsp), %rdx
movq 0x30(%rsp), %rcx
callq 0x1e53a
movq 0x40(%rsp), %r15
movq %rax, %r12
testq %r14, %r14
cmovneq %r14, %rbx
leaq 0x80(%rsp), %rdi
movq %rbx, %rsi
callq 0x21c42
testq %r12, %r12
je 0x2112c
movq %rax, %r13
leaq 0x88696(%rip), %rsi     # 0xa97b6
movq %r12, %rdi
callq 0x21c5b
testb %al, %al
je 0x21139
movq %r15, %rdi
callq 0x17194
jmp 0x2123d
xorps %xmm0, %xmm0
movaps %xmm0, 0xa0(%rsp)
andq $0x0, 0xb0(%rsp)
leaq 0x78(%r12), %rsi
leaq 0x48(%rsp), %rdi
callq 0x21c68
leaq 0xe0(%rsp), %rdi
leaq 0xa0(%rsp), %r8
movq %rbp, %rsi
movq 0x20(%rsp), %rdx
movq %r12, %rcx
callq 0x22738
addq $0x58, %r12
leaq 0xe0(%rsp), %rdx
leaq 0x48(%rsp), %rcx
movq %r12, %rdi
movq %r13, %rsi
callq 0x21c80
leaq 0xe0(%rsp), %rbx
movq %rbx, %rdi
callq 0x224ee
movups 0x48(%rsp), %xmm0
movups 0x58(%rsp), %xmm1
movaps %xmm1, 0x10(%rbx)
movaps %xmm0, (%rbx)
leaq 0xe0(%rsp), %rdi
callq 0x1b9ca
movq %rax, %rbx
leaq 0x108(%rsp), %rdi
callq 0x21ea6
leaq 0x108(%rsp), %rdi
callq 0x1b9ca
cmpq %rax, %rbx
jne 0x21219
movq 0x78(%rsp), %rax
testq %rax, %rax
jne 0x211f7
movq 0x68(%rsp), %rax
movups (%rax), %xmm0
movups 0x10(%rax), %xmm1
movups %xmm1, 0x10(%r15)
movups %xmm0, (%r15)
movq 0x20(%rax), %rax
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%r15)
movq %rax, 0x30(%r15)
jmp 0x21226
leaq 0x48(%rsp), %rsi
movq %r15, %rdi
callq 0x171ac
leaq 0x48(%rsp), %rdi
callq 0x19b6c
leaq 0xa0(%rsp), %rdi
callq 0x21ee2
leaq 0x80(%rsp), %rdi
callq 0x21f04
leaq 0xc0(%rsp), %rdi
callq 0x22566
movq %r15, %rax
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x21287
movq %rax, %rbx
leaq 0xe0(%rsp), %rdi
callq 0x224ee
jmp 0x2128a
jmp 0x21287
movq %rax, %rbx
jmp 0x21294
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x19b6c
leaq 0xa0(%rsp), %rdi
callq 0x21ee2
jmp 0x212a6
movq %rax, %rbx
leaq 0x80(%rsp), %rdi
callq 0x21f04
jmp 0x212c2
movq %rax, %rbx
leaq 0x48(%rsp), %rdi
callq 0x19b6c
leaq 0xc0(%rsp), %rdi
callq 0x22566
movq %rbx, %rdi
callq 0x11570
nop