// File: Heptagon196[P]Gos/main.cpp
// Function: reflIO()
void reflIO() {
    ReflMgrTool::Init();
    auto& refl = ReflMgr::Instance();
    refl.AddClass<IO>();
    refl.AddClass<unknown>();
    ReflMgrTool::AutoRegister<Array>();
    refl.AddClass<Array>();
    refl.AddMethod<Array>(std::function([](Array* self, int size) -> decltype(auto) {
        self->cont.resize(size);
    }), "__ctor");;
    refl.AddMethod<SharedObject>(std::function([&refl](SharedObject* self, ReflMgr::Any val) -> decltype(auto) {
        (*self) = refl.New(val.GetType());
        return self->assign(val);
    }), "__assign");
    refl.AddAliasClass("any", TypeID::get<ReflMgr::Any>().getName());
    refl.AddAliasClass("array", "Array");
    refl.AddAliasClass("string", TypeID::get<std::string>().getName());
    refl.AddMethod(std::function([](std::vector<SharedObject>* self, int size) { self->resize(size); }), "resize");
    refl.AddMethod(&IO::count, "count");
    refl.AddMethod(MethodType<void, IO, ReflMgr::Any>::Type(&IO::print), "print");
    refl.AddMethod(MethodType<void, IO, int&>::Type(&IO::read), "read");
    refl.AddMethod(MethodType<void, IO, std::string&>::Type(&IO::read), "read");
    refl.AddMethod(MethodType<void, IO, SharedObject&>::Type(&IO::read), "read");
    refl.AddMethod(&IO::Greatings, "Greatings");
    refl.AddStaticMethod(TypeID::get<IO>(), &IO::Hello, "hello");
}

// Assembly:
subq $0x3f8, %rsp            # imm = 0x3F8
callq 0x25190
callq 0x4a240
movq %rax, 0x3f0(%rsp)
movq 0x3f0(%rsp), %rax
movq %rax, 0xd8(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x3d0(%rsp)
movaps %xmm0, 0x3c0(%rsp)
movaps %xmm0, 0x3b0(%rsp)
movq $0x0, 0x3e0(%rsp)
leaq 0x3b0(%rsp), %rdi
movq %rdi, 0xe0(%rsp)
callq 0x69ec0
movq 0xd8(%rsp), %rdi
movq 0xe0(%rsp), %rsi
callq 0x1f6b20
jmp 0x1f504c
leaq 0x3b0(%rsp), %rdi
callq 0x69ed0
movq 0x3f0(%rsp), %rax
movq %rax, 0xc8(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x380(%rsp)
movaps %xmm0, 0x370(%rsp)
movaps %xmm0, 0x360(%rsp)
movq $0x0, 0x390(%rsp)
leaq 0x360(%rsp), %rdi
movq %rdi, 0xd0(%rsp)
callq 0x69ec0
movq 0xc8(%rsp), %rdi
movq 0xd0(%rsp), %rsi
callq 0x1f6ba0
jmp 0x1f50bc
leaq 0x360(%rsp), %rdi
callq 0x69ed0
callq 0x1f6c20
movq 0x3f0(%rsp), %rax
movq %rax, 0xb8(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x340(%rsp)
movaps %xmm0, 0x330(%rsp)
movaps %xmm0, 0x320(%rsp)
movq $0x0, 0x350(%rsp)
leaq 0x320(%rsp), %rdi
movq %rdi, 0xc0(%rsp)
callq 0x69ec0
movq 0xb8(%rsp), %rdi
movq 0xc0(%rsp), %rsi
callq 0x1f6e50
jmp 0x1f5131
leaq 0x320(%rsp), %rdi
callq 0x69ed0
movq 0x3f0(%rsp), %rax
movq %rax, 0xa8(%rsp)
leaq 0x300(%rsp), %rdi
movq %rdi, 0xb0(%rsp)
leaq 0x2ff(%rsp), %rsi
callq 0x1f57d0
leaq 0x165d4(%rip), %rsi     # 0x20b746
leaq 0x2e8(%rsp), %rdi
callq 0x53460
movq 0xa8(%rsp), %rdi
movq 0xb0(%rsp), %rsi
movq 0x2e8(%rsp), %rdx
movq 0x2f0(%rsp), %rcx
callq 0x1f6ed0
jmp 0x1f51a6
leaq 0x300(%rsp), %rdi
callq 0x1f7120
movq 0x3f0(%rsp), %rax
movq %rax, 0x98(%rsp)
movq %rax, 0x2c0(%rsp)
leaq 0x2c8(%rsp), %rdi
movq %rdi, 0xa0(%rsp)
leaq 0x2c0(%rsp), %rsi
callq 0x1f5860
leaq 0x1658d(%rip), %rsi     # 0x20b77c
leaq 0x2b0(%rsp), %rdi
callq 0x53460
movq 0x98(%rsp), %rdi
movq 0xa0(%rsp), %rsi
movq 0x2b0(%rsp), %rdx
movq 0x2b8(%rsp), %rcx
callq 0x1f7130
jmp 0x1f5223
leaq 0x2c8(%rsp), %rdi
callq 0x1f7380
movq 0x3f0(%rsp), %rax
movq %rax, 0x68(%rsp)
leaq 0x2d1b0(%rip), %rsi     # 0x2223f4
leaq 0x2a0(%rsp), %rdi
callq 0x53460
leaq 0x270(%rsp), %rdi
movq %rdi, 0x60(%rsp)
callq 0x56900
movq 0x60(%rsp), %rdi
callq 0x2b420
movq 0x68(%rsp), %rdi
movq %rax, 0x290(%rsp)
movq %rdx, 0x298(%rsp)
movq 0x2a0(%rsp), %rsi
movq 0x2a8(%rsp), %rdx
movq 0x290(%rsp), %rcx
movq 0x298(%rsp), %r8
callq 0x4bdd0
movq 0x3f0(%rsp), %rax
movq %rax, 0x70(%rsp)
leaq 0x2d13d(%rip), %rsi     # 0x2223f8
leaq 0x260(%rsp), %rdi
callq 0x53460
leaq 0x2d12f(%rip), %rsi     # 0x2223fe
leaq 0x250(%rsp), %rdi
callq 0x53460
movq 0x70(%rsp), %rdi
movq 0x260(%rsp), %rsi
movq 0x268(%rsp), %rdx
movq 0x250(%rsp), %rcx
movq 0x258(%rsp), %r8
callq 0x4bdd0
movq 0x3f0(%rsp), %rax
movq %rax, 0x80(%rsp)
leaq 0x2b73a(%rip), %rsi     # 0x220a57
leaq 0x240(%rsp), %rdi
callq 0x53460
leaq 0x210(%rsp), %rdi
movq %rdi, 0x78(%rsp)
callq 0x54410
movq 0x78(%rsp), %rdi
callq 0x2b420
movq 0x80(%rsp), %rdi
movq %rax, 0x230(%rsp)
movq %rdx, 0x238(%rsp)
movq 0x240(%rsp), %rsi
movq 0x248(%rsp), %rdx
movq 0x230(%rsp), %rcx
movq 0x238(%rsp), %r8
callq 0x4bdd0
movq 0x3f0(%rsp), %rax
movq %rax, 0x88(%rsp)
leaq 0x1f0(%rsp), %rdi
movq %rdi, 0x90(%rsp)
leaq 0x1ef(%rsp), %rsi
callq 0x1f58f0
leaq 0x2d04d(%rip), %rsi     # 0x222404
leaq 0x1d8(%rsp), %rdi
callq 0x53460
movq 0x88(%rsp), %rdi
movq 0x90(%rsp), %rsi
movq 0x1d8(%rsp), %rdx
movq 0x1e0(%rsp), %rcx
callq 0x1f7390
jmp 0x1f53eb
leaq 0x1f0(%rsp), %rdi
callq 0x1f75e0
movq 0x3f0(%rsp), %rax
movq %rax, 0x20(%rsp)
leaq 0x2cfff(%rip), %rsi     # 0x22240b
leaq 0x1c8(%rsp), %rdi
callq 0x53460
movq 0x20(%rsp), %rdi
leaq 0x243b(%rip), %rax      # 0x1f7860
movq %rax, 0x1b8(%rsp)
movq $0x0, 0x1c0(%rsp)
movq 0x1b8(%rsp), %rsi
movq 0x1c0(%rsp), %rdx
movq 0x1c8(%rsp), %rcx
movq 0x1d0(%rsp), %r8
callq 0x1f75f0
movq 0x3f0(%rsp), %rax
movq %rax, 0x28(%rsp)
leaq 0x2cf9f(%rip), %rsi     # 0x222411
leaq 0x1a8(%rsp), %rdi
callq 0x53460
movq 0x28(%rsp), %rdi
leaq 0x2665(%rip), %rax      # 0x1f7af0
movq %rax, 0x198(%rsp)
movq $0x0, 0x1a0(%rsp)
movq 0x198(%rsp), %rsi
movq 0x1a0(%rsp), %rdx
movq 0x1a8(%rsp), %rcx
movq 0x1b0(%rsp), %r8
callq 0x1f7880
movq 0x3f0(%rsp), %rax
movq %rax, 0x30(%rsp)
leaq 0x2cf3f(%rip), %rsi     # 0x222417
movq %rsi, 0x40(%rsp)
leaq 0x188(%rsp), %rdi
callq 0x53460
movq 0x30(%rsp), %rdi
leaq 0x289a(%rip), %rax      # 0x1f7d90
movq %rax, 0x178(%rsp)
movq $0x0, 0x180(%rsp)
movq 0x178(%rsp), %rsi
movq 0x180(%rsp), %rdx
movq 0x188(%rsp), %rcx
movq 0x190(%rsp), %r8
callq 0x1f7b20
movq 0x40(%rsp), %rsi
movq 0x3f0(%rsp), %rax
movq %rax, 0x38(%rsp)
leaq 0x168(%rsp), %rdi
callq 0x53460
movq 0x38(%rsp), %rdi
leaq 0x2ad6(%rip), %rax      # 0x1f8030
movq %rax, 0x158(%rsp)
movq $0x0, 0x160(%rsp)
movq 0x158(%rsp), %rsi
movq 0x160(%rsp), %rdx
movq 0x168(%rsp), %rcx
movq 0x170(%rsp), %r8
callq 0x1f7dc0
movq 0x40(%rsp), %rsi
movq 0x3f0(%rsp), %rax
movq %rax, 0x48(%rsp)
leaq 0x148(%rsp), %rdi
callq 0x53460
movq 0x48(%rsp), %rdi
leaq 0x2d12(%rip), %rax      # 0x1f82d0
movq %rax, 0x138(%rsp)
movq $0x0, 0x140(%rsp)
movq 0x138(%rsp), %rsi
movq 0x140(%rsp), %rdx
movq 0x148(%rsp), %rcx
movq 0x150(%rsp), %r8
callq 0x1f8060
movq 0x3f0(%rsp), %rax
movq %rax, 0x50(%rsp)
leaq 0x2ce11(%rip), %rsi     # 0x22241c
leaq 0x128(%rsp), %rdi
callq 0x53460
movq 0x50(%rsp), %rdi
leaq 0x2f6c(%rip), %rax      # 0x1f8590
movq %rax, 0x118(%rsp)
movq $0x0, 0x120(%rsp)
movq 0x118(%rsp), %rsi
movq 0x120(%rsp), %rdx
movq 0x128(%rsp), %rcx
movq 0x130(%rsp), %r8
callq 0x1f8320
movq 0x3f0(%rsp), %rax
movq %rax, 0x58(%rsp)
leaq 0xf8(%rsp), %rdi
callq 0x1f8820
leaq 0xe8(%rsp), %rdi
leaq 0x2cda0(%rip), %rsi     # 0x222426
callq 0x53460
movq 0x58(%rsp), %rdi
movq 0xe8(%rsp), %rdx
movq 0xf0(%rsp), %rcx
leaq 0xf8(%rsp), %rax
leaq 0x3201(%rip), %rsi      # 0x1f88b0
movq (%rax), %r8
movq %r8, (%rsp)
movq 0x8(%rax), %r8
movq %r8, 0x8(%rsp)
movq 0x10(%rax), %r8
movq %r8, 0x10(%rsp)
movq 0x18(%rax), %rax
movq %rax, 0x18(%rsp)
callq 0x1f85c0
addq $0x3f8, %rsp            # imm = 0x3F8
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x3a8(%rsp)
movl %eax, 0x3a4(%rsp)
leaq 0x3b0(%rsp), %rdi
callq 0x69ed0
jmp 0x1f57b4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x3a8(%rsp)
movl %eax, 0x3a4(%rsp)
leaq 0x360(%rsp), %rdi
callq 0x69ed0
jmp 0x1f57b4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x3a8(%rsp)
movl %eax, 0x3a4(%rsp)
leaq 0x320(%rsp), %rdi
callq 0x69ed0
jmp 0x1f57b4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x3a8(%rsp)
movl %eax, 0x3a4(%rsp)
leaq 0x300(%rsp), %rdi
callq 0x1f7120
jmp 0x1f57b4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x3a8(%rsp)
movl %eax, 0x3a4(%rsp)
leaq 0x2c8(%rsp), %rdi
callq 0x1f7380
jmp 0x1f57b4
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x3a8(%rsp)
movl %eax, 0x3a4(%rsp)
leaq 0x1f0(%rsp), %rdi
callq 0x1f75e0
movq 0x3a8(%rsp), %rdi
callq 0x133f0
nopw %cs:(%rax,%rax)