// File: /workspace/github_cpp_makefile_star2_O3/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, 0xc0(%rsp)
movq %rcx, 0xb8(%rsp)
movq %rdx, 0xb0(%rsp)
movq %rsi, 0xc8(%rsp)
movq %rdi, 0x78(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x60(%rsp)
movq $0x0, 0x70(%rsp)
movq (%r9), %r14
movq %r9, 0xa8(%rsp)
movq 0x8(%r9), %rbx
cmpq %rbx, %r14
je 0x26912
leaq 0x60(%rsp), %r15
leaq 0x80(%rsp), %r12
leaq 0x20(%rsp), %r13
movq 0xf6752(%rip), %rbp     # 0x11cfc0
movups (%r14), %xmm0
movups 0x10(%r14), %xmm1
movaps %xmm1, 0x30(%rsp)
movaps %xmm0, 0x20(%rsp)
movq 0x20(%r14), %rax
movq %rax, 0x40(%rsp)
movq 0x28(%r14), %rax
movq %rax, 0x48(%rsp)
testq %rax, %rax
je 0x268a7
cmpb $0x0, (%rbp)
je 0x268a3
incl 0x8(%rax)
jmp 0x268a7
lock
incl 0x8(%rax)
movq 0x30(%r14), %rax
movq %rax, 0x50(%rsp)
movaps 0x20(%rsp), %xmm0
movaps 0x30(%rsp), %xmm1
movaps %xmm1, 0x90(%rsp)
movaps %xmm0, 0x80(%rsp)
movq 0x68(%rsp), %rsi
cmpq 0x70(%rsp), %rsi
je 0x268f2
movaps 0x20(%rsp), %xmm0
movaps 0x30(%rsp), %xmm1
movups %xmm1, 0x10(%rsi)
movups %xmm0, (%rsi)
addq $0x20, %rsi
movq %rsi, 0x68(%rsp)
jmp 0x268fd
movq %r15, %rdi
movq %r12, %rdx
callq 0x276da
movq %r13, %rdi
callq 0x1c65c
addq $0x38, %r14
cmpq %rbx, %r14
jne 0x2686e
movb 0x160(%rsp), %al
movq 0xb0(%rsp), %rdx
movq 0x20(%rdx), %rbx
movq 0x30(%rdx), %r14
leaq 0x80(%rsp), %rsi
xorps %xmm0, %xmm0
movaps %xmm0, (%rsi)
leaq 0x1606(%rip), %rcx      # 0x27f44
movq %rcx, 0x18(%rsi)
leaq 0x15ff(%rip), %rcx      # 0x27f48
movq %rcx, 0x10(%rsi)
movups (%rdx), %xmm0
movups 0x10(%rdx), %xmm1
movups %xmm1, 0x10(%rsp)
movups %xmm0, (%rsp)
movzbl %al, %r9d
leaq 0x60(%rsp), %r8
movq 0xc8(%rsp), %r13
movq %r13, %rdi
movq 0xb8(%rsp), %rdx
movq 0xc0(%rsp), %rcx
callq 0x22f24
testq %r14, %r14
cmovneq %r14, %rbx
movq %rbx, 0x20(%rsp)
cmpq $0x0, 0x90(%rsp)
je 0x26bf5
movq %rax, %r12
leaq 0x80(%rsp), %rdi
leaq 0x20(%rsp), %rsi
callq *0x18(%rdi)
testq %r12, %r12
je 0x26b0f
movq %rax, %r15
leaq 0xa8baf(%rip), %rsi     # 0xcf576
movq %r12, %rdi
callq 0x27854
testl %eax, %eax
je 0x26b0f
xorps %xmm0, %xmm0
movaps %xmm0, 0xf0(%rsp)
movq $0x0, 0x100(%rsp)
cmpq $0x0, 0x88(%r12)
je 0x26bfa
leaq 0x78(%r12), %rsi
leaq 0x20(%rsp), %rdi
callq *0x90(%r12)
leaq 0xd0(%rsp), %rdi
leaq 0xf0(%rsp), %r8
movq %r13, %rsi
movq 0xa8(%rsp), %rdx
movq %r12, %rcx
callq 0x27d00
movq %r15, 0x108(%rsp)
cmpq $0x0, 0x68(%r12)
je 0x26bff
movq %r12, %rdi
addq $0x58, %rdi
leaq 0x108(%rsp), %rsi
leaq 0xd0(%rsp), %rdx
leaq 0x20(%rsp), %rcx
callq *0x70(%r12)
movq 0xd0(%rsp), %rdi
testq %rdi, %rdi
movq 0x78(%rsp), %rbx
je 0x26a89
movq 0xe0(%rsp), %rsi
subq %rdi, %rsi
callq 0x11360
movups 0x20(%rsp), %xmm0
movups 0x30(%rsp), %xmm1
leaq 0xd0(%rsp), %rdi
movaps %xmm1, 0x10(%rdi)
movaps %xmm0, (%rdi)
callq 0x1f5de
movq %rax, %r14
movabsq $-0x23244b0fbd3d03de, %rax # imm = 0xDCDBB4F042C2FC22
leaq 0x108(%rsp), %rdi
movq %rax, (%rdi)
movq $0xc, 0x8(%rdi)
leaq 0x95488(%rip), %rax     # 0xbbf56
movq %rax, 0x10(%rdi)
movw $0x0, 0x18(%rdi)
callq 0x1f5de
cmpq %rax, %r14
jne 0x26b4d
movq 0x50(%rsp), %rax
testq %rax, %rax
jne 0x26af1
movq 0x40(%rsp), %rax
movups (%rax), %xmm0
movups 0x10(%rax), %xmm1
movups %xmm1, 0x10(%rbx)
movups %xmm0, (%rbx)
movq 0x20(%rax), %rax
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rbx)
jmp 0x26b8f
movabsq $0x3173c900e37ae1df, %rax # imm = 0x3173C900E37AE1DF
movq 0x78(%rsp), %rbx
movq %rax, (%rbx)
movq $0x4, 0x8(%rbx)
leaq 0x95227(%rip), %rax     # 0xbbd57
movq %rax, 0x10(%rbx)
xorl %eax, %eax
movb %al, 0x18(%rbx)
movb %al, 0x19(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rbx)
movq $0x0, 0x30(%rbx)
jmp 0x26baa
movups 0x20(%rsp), %xmm0
movups 0x30(%rsp), %xmm1
movups %xmm1, 0x10(%rbx)
movups %xmm0, (%rbx)
movq 0x40(%rsp), %rax
movq %rax, 0x20(%rbx)
movq 0x48(%rsp), %rax
movq %rax, 0x28(%rbx)
testq %rax, %rax
je 0x26b8a
movq 0xf6444(%rip), %rcx     # 0x11cfc0
cmpb $0x0, (%rcx)
je 0x26b86
incl 0x8(%rax)
jmp 0x26b8a
lock
incl 0x8(%rax)
movq 0x50(%rsp), %rax
movq %rax, 0x30(%rbx)
leaq 0x20(%rsp), %rdi
callq 0x1c65c
leaq 0xf0(%rsp), %rdi
callq 0x2768c
movq 0x90(%rsp), %rax
testq %rax, %rax
je 0x26bc9
leaq 0x80(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0x26be0
movq 0x70(%rsp), %rsi
subq %rdi, %rsi
callq 0x11360
movq %rbx, %rax
addq $0x128, %rsp            # imm = 0x128
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
callq 0x11150
callq 0x11150
callq 0x11150
jmp 0x26c08
jmp 0x26c08
movq %rax, %rbx
jmp 0x26c2f
jmp 0x26c71
movq %rax, %rbx
movq 0xd0(%rsp), %rdi
testq %rdi, %rdi
je 0x26c2f
movq 0xe0(%rsp), %rsi
subq %rdi, %rsi
callq 0x11360
leaq 0x20(%rsp), %rdi
callq 0x1c65c
jmp 0x26c3e
movq %rax, %rbx
leaq 0xf0(%rsp), %rdi
callq 0x2768c
jmp 0x26c50
movq %rax, %rbx
movq 0x90(%rsp), %rax
testq %rax, %rax
je 0x26c86
leaq 0x80(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
jmp 0x26c86
movq %rax, %rdi
callq 0x26e38
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x1c65c
movq 0x60(%rsp), %rdi
testq %rdi, %rdi
je 0x26c9d
movq 0x70(%rsp), %rsi
subq %rdi, %rsi
callq 0x11360
movq %rbx, %rdi
callq 0x11580
nop