// File: /workspace/github_cpp_makefile_star2_O3/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 0x27370
xorl %eax, %eax
movq %rax, 0x40(%rbp)
leaq 0xb0(%rsp), %rcx
movq %rcx, -0x30(%rcx)
movq $0x1, -0x28(%rcx)
xorps %xmm0, %xmm0
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)
movups %xmm0, 0x8(%rcx)
movq %rax, 0x18(%rcx)
movq %r13, %rdi
movq %r14, %rsi
callq 0x8fb10
movq %rax, %r13
leaq 0x10(%rsp), %rbp
movq %rbp, -0x10(%rbp)
movq %rsp, %rdi
movq %r12, %rsi
movq %rbx, %rdx
callq 0x27370
movq %rsp, %rsi
movq %r13, %rdi
callq 0x9031a
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %rbp, %rdi
je 0x23d55
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x11360
movq %rsp, %rdi
movq %r15, %rsi
callq 0x8d150
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 0x23dc8
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 0x18fe(%rip), %rax      # 0x256e4
movq %rax, 0x18(%rsi)
leaq 0x1947(%rip), %rax      # 0x25738
movq %rax, 0x10(%rsi)
movq %r14, %rdi
callq 0x8b69e
leaq 0x60(%rsp), %r12
movq %rbx, %rdi
movq %r12, %rsi
callq 0x39678
leaq 0x80(%rsp), %r15
cmpq %rbx, %r12
je 0x23e26
leaq 0x20(%rbx), %rdi
movq %r15, %rsi
callq 0x3639e
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 0x8b69e
movq 0x50(%rsp), %rax
testq %rax, %rax
je 0x23e62
leaq 0x40(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x23e79
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 0x23ead
movq %r14, %rdi
movq %r14, %rsi
movl $0x3, %edx
callq *%rax
movq %r15, %rdi
callq 0x36ac6
movq 0x60(%rsp), %rdi
leaq 0x70(%rsp), %rax
cmpq %rax, %rdi
je 0x23ed1
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 0x23f59
jmp 0x23f59
jmp 0x23f59
movq %rax, %rbx
jmp 0x23f2e
jmp 0x23f0d
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %rbp, %rdi
je 0x23f45
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x11360
jmp 0x23f45
jmp 0x23f0d
movq %rax, %rbx
jmp 0x23f45
movq %rax, %rbx
movq 0x50(%rsp), %rax
testq %rax, %rax
je 0x23f2e
leaq 0x40(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x23f45
movq %rsp, %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
leaq 0x60(%rsp), %rdi
callq 0x8d1ae
movq %rbx, %rdi
callq 0x11580
jmp 0x23f59
movq %rax, %rdi
callq 0x26e38
nop