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

// Assembly:
subq $0x238, %rsp            # imm = 0x238
movq %rdi, 0x50(%rsp)
movb %r9b, %al
movq %rdi, %r9
movq %r9, 0x58(%rsp)
leaq 0x240(%rsp), %r9
movq %r9, 0x60(%rsp)
movq %rdi, 0x230(%rsp)
movq %rdx, 0x220(%rsp)
movq %rcx, 0x228(%rsp)
movq %rsi, 0x218(%rsp)
movq %r8, 0x210(%rsp)
andb $0x1, %al
movb %al, 0x20f(%rsp)
movq 0x218(%rsp), %rax
movq %rax, 0x68(%rsp)
leaq 0x1f0(%rsp), %rdi
callq 0x56250
movq 0x210(%rsp), %rax
movq %rax, 0x1e8(%rsp)
movq 0x1e8(%rsp), %rdi
callq 0x56260
movq %rax, 0x1e0(%rsp)
movq 0x1e8(%rsp), %rdi
callq 0x56290
movq %rax, 0x1d8(%rsp)
leaq 0x1e0(%rsp), %rdi
leaq 0x1d8(%rsp), %rsi
callq 0x562c0
xorb $-0x1, %al
testb $0x1, %al
jne 0x192f86
jmp 0x192ffd
leaq 0x1e0(%rsp), %rdi
callq 0x56300
movq %rax, %rsi
leaq 0x1b0(%rsp), %rdi
callq 0x1e110
jmp 0x192fa5
leaq 0x180(%rsp), %rdi
leaq 0x1b0(%rsp), %rsi
callq 0x1e240
jmp 0x192fbc
leaq 0x1f0(%rsp), %rdi
leaq 0x180(%rsp), %rsi
callq 0x56310
jmp 0x192fd3
jmp 0x192fd5
leaq 0x1e0(%rsp), %rdi
callq 0x56340
jmp 0x192f69
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1a8(%rsp)
movl %eax, 0x1a4(%rsp)
jmp 0x1932dc
leaq 0x160(%rsp), %rdi
movq %rdi, 0x40(%rsp)
leaq 0x15f(%rsp), %rsi
callq 0x1a10c0
movq 0x60(%rsp), %rax
movq 0x68(%rsp), %rdi
movq 0x40(%rsp), %rsi
movups (%rax), %xmm0
movups 0x10(%rax), %xmm1
movaps %xmm1, 0x140(%rsp)
movaps %xmm0, 0x130(%rsp)
movups 0x220(%rsp), %xmm0
movaps %xmm0, 0x120(%rsp)
movq 0x120(%rsp), %rdx
movq 0x128(%rsp), %rcx
movzbl 0x20f(%rsp), %r9d
movaps 0x130(%rsp), %xmm0
movaps 0x140(%rsp), %xmm1
movq %rsp, %rax
movups %xmm1, 0x10(%rax)
movups %xmm0, (%rax)
andl $0x1, %r9d
leaq 0x1f0(%rsp), %r8
callq 0x4adf0
movq %rax, 0x48(%rsp)
jmp 0x193098
movq 0x48(%rsp), %rax
movq %rax, 0x150(%rsp)
cmpq $0x0, 0x150(%rsp)
jne 0x1930e5
movq 0x50(%rsp), %rdi
callq 0x1e4e0
jmp 0x1930bc
movl $0x1, 0x11c(%rsp)
jmp 0x1932a8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1a8(%rsp)
movl %eax, 0x1a4(%rsp)
jmp 0x1932cf
leaq 0x100(%rsp), %rdi
callq 0x56460
movq 0x150(%rsp), %rsi
addq $0x78, %rsi
leaq 0xc8(%rsp), %rdi
callq 0x56470
jmp 0x19310d
movq 0x68(%rsp), %rsi
movq 0x150(%rsp), %rcx
movq %rcx, %rax
addq $0x58, %rax
movq %rax, 0x38(%rsp)
movq 0x210(%rsp), %rdx
leaq 0xb0(%rsp), %rdi
leaq 0x100(%rsp), %r8
callq 0x56510
jmp 0x193145
movq 0x38(%rsp), %rdi
xorl %eax, %eax
movl %eax, %esi
leaq 0xb0(%rsp), %rdx
leaq 0xc8(%rsp), %rcx
callq 0x564c0
jmp 0x193165
leaq 0xb0(%rsp), %rdi
callq 0x568a0
leaq 0x90(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0x1e7e0
jmp 0x193189
leaq 0x90(%rsp), %rdi
callq 0x2b410
movq %rax, 0x30(%rsp)
jmp 0x19319d
leaq 0x70(%rsp), %rdi
callq 0x56900
jmp 0x1931a9
leaq 0x70(%rsp), %rdi
callq 0x2b410
movq %rax, 0x28(%rsp)
jmp 0x1931ba
movq 0x30(%rsp), %rax
movq 0x28(%rsp), %rcx
cmpq %rcx, %rax
jne 0x193251
leaq 0xc8(%rsp), %rdi
callq 0x56990
movq %rax, 0x20(%rsp)
jmp 0x1931e1
movq 0x20(%rsp), %rsi
movq 0x50(%rsp), %rdi
callq 0x1e290
jmp 0x1931f2
movl $0x1, 0x11c(%rsp)
jmp 0x193270
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1a8(%rsp)
movl %eax, 0x1a4(%rsp)
jmp 0x193299
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1a8(%rsp)
movl %eax, 0x1a4(%rsp)
jmp 0x19328c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x1a8(%rsp)
movl %eax, 0x1a4(%rsp)
leaq 0xb0(%rsp), %rdi
callq 0x568a0
jmp 0x19328c
movq 0x50(%rsp), %rdi
leaq 0xc8(%rsp), %rsi
callq 0x1e520
jmp 0x193265
movl $0x1, 0x11c(%rsp)
leaq 0xc8(%rsp), %rdi
callq 0x23b00
leaq 0x100(%rsp), %rdi
callq 0x569a0
jmp 0x1932a8
leaq 0xc8(%rsp), %rdi
callq 0x23b00
leaq 0x100(%rsp), %rdi
callq 0x569a0
jmp 0x1932cf
leaq 0x160(%rsp), %rdi
callq 0x56a00
leaq 0x1f0(%rsp), %rdi
callq 0x56a10
movq 0x58(%rsp), %rax
addq $0x238, %rsp            # imm = 0x238
retq
leaq 0x160(%rsp), %rdi
callq 0x56a00
leaq 0x1f0(%rsp), %rdi
callq 0x56a10
movq 0x1a8(%rsp), %rdi
callq 0x133f0
nopw %cs:(%rax,%rax)