// File: /workspace/github_cpp_makefile_star2_O1/Heptagon196[P]Gos/Reflection/ReflMgr.cpp
// Function: ReflMgr::RawAddField(TypeID, TypeID, std::basic_string_view<char, std::char_traits<char>>, std::function<ObjectPtr (ObjectPtr)>)
void ReflMgr::RawAddField(TypeID cls, TypeID varType, std::string_view name, std::function<ObjectPtr(ObjectPtr)> func) {
    FieldInfo info{ std::string{name} };
    auto& field = fieldInfo[cls][std::string{name}];
    field = info.withRegister([func, cls](void* ptr) { return func(ObjectPtr{cls, ptr}); });
    field.varType = varType;
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %rbx
movq %rdi, %r13
leaq 0x130(%rsp), %r14
leaq 0x70(%rsp), %rax
movq %rax, -0x10(%rax)
addq %rdx, %rbx
leaq 0x60(%rsp), %rbp
movq %rbp, %rdi
movq %rdx, %rsi
movq %rbx, %rdx
callq 0x27dc8
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%rbp)
movups %xmm0, 0x40(%rbp)
xorl %eax, %eax
movq %rax, 0x50(%rbp)
leaq 0xb0(%rsp), %rcx
movq %rcx, -0x30(%rcx)
movq $0x1, -0x28(%rcx)
movups %xmm0, -0x20(%rcx)
movl $0x3f800000, -0x10(%rcx) # imm = 0x3F800000
movups %xmm0, 0x28(%rcx)
movups %xmm0, 0x38(%rcx)
addq $0x20, %r13
movups %xmm0, 0x8(%rcx)
movq %rax, 0x18(%rcx)
movups %xmm0, -0x8(%rcx)
movq %r13, %rdi
movq %r14, %rsi
callq 0x90684
movq %rax, %r13
leaq 0x10(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq %rsp, %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq 0x27dc8
movq %rsp, %rsi
movq %r13, %rdi
callq 0x90eac
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %rbp, %rdi
je 0x24745
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x11360
movq %rsp, %rdi
movq %r15, %rsi
callq 0x8dc6e
movups (%r14), %xmm0
movups 0xa(%r14), %xmm1
movups %xmm1, 0x2a(%rsp)
movups %xmm0, 0x20(%rsp)
xorps %xmm0, %xmm0
movaps %xmm0, 0x40(%rsp)
movaps %xmm0, 0x50(%rsp)
movl $0x40, %edi
callq 0x11350
leaq 0xd8(%rsp), %r14
leaq 0x20(%rsp), %rcx
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movq $0x0, 0x10(%rax)
movq -0x8(%rcx), %rdx
movq %rdx, 0x18(%rax)
movq -0x10(%rcx), %rdx
testq %rdx, %rdx
je 0x247b8
movups (%rsp), %xmm0
movups %xmm0, (%rax)
movq %rdx, 0x10(%rax)
xorps %xmm0, %xmm0
movups %xmm0, (%rbp)
movups (%rcx), %xmm0
movups 0x10(%rcx), %xmm1
movups %xmm1, 0x30(%rax)
movups %xmm0, 0x20(%rax)
leaq 0x40(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x1944(%rip), %rax      # 0x2611a
movq %rax, 0x18(%rsi)
leaq 0x198d(%rip), %rax      # 0x2616e
movq %rax, 0x10(%rsi)
movq %r14, %rdi
callq 0x8c1dc
leaq 0x60(%rsp), %r12
movq %rbx, %rdi
movq %r12, %rsi
callq 0x3a2e8
leaq 0x80(%rsp), %r15
cmpq %rbx, %r12
je 0x24816
leaq 0x20(%rbx), %rdi
movq %r15, %rsi
callq 0x36fda
leaq 0xb8(%rsp), %rax
movups (%rax), %xmm0
movups 0xa(%rax), %xmm1
movups %xmm1, 0x62(%rbx)
movups %xmm0, 0x58(%rbx)
leaq 0x78(%rbx), %rdi
movq %r14, %rsi
callq 0x8c1dc
movq 0x50(%rsp), %rax
testq %rax, %rax
je 0x24852
leaq 0x40(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x24869
movq %rsp, %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
leaq 0x150(%rsp), %rax
addq $0x58, %rbx
movups (%rax), %xmm0
movups 0xa(%rax), %xmm1
movups %xmm1, 0xa(%rbx)
movups %xmm0, (%rbx)
movq 0xe8(%rsp), %rax
testq %rax, %rax
je 0x2489d
movq %r14, %rdi
movq %r14, %rsi
movl $0x3, %edx
callq *%rax
movq %r15, %rdi
callq 0x376f2
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x248c1
movq 0x70(%rsp), %rsi
incq %rsi
callq 0x11360
addq $0xf8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x24949
jmp 0x24949
jmp 0x24949
movq %rax, %rbx
jmp 0x2491e
jmp 0x248fd
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %rbp, %rdi
je 0x24935
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x11360
jmp 0x24935
jmp 0x248fd
movq %rax, %rbx
jmp 0x24935
movq %rax, %rbx
movq 0x50(%rsp), %rax
testq %rax, %rax
je 0x2491e
leaq 0x40(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x24935
movq %rsp, %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
leaq 0x60(%rsp), %rdi
callq 0x8dccc
movq %rbx, %rdi
callq 0x11580
jmp 0x24949
movq %rax, %rdi
callq 0x2789a
nop