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

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movq %rcx, %r14
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r12
leaq 0x50(%rsp), %rbp
movq %rbp, -0x10(%rbp)
addq %rdx, %rbx
leaq 0x40(%rsp), %r13
movq %r13, %rdi
movq %rdx, %rsi
movq %rbx, %rdx
callq 0x27dc8
xorps %xmm0, %xmm0
movups %xmm0, 0x20(%r13)
movups %xmm0, 0x40(%r13)
xorl %eax, %eax
movq %rax, 0x50(%r13)
leaq 0x90(%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, %r12
movups %xmm0, 0x8(%rcx)
movq %rax, 0x18(%rcx)
movups %xmm0, -0x8(%rcx)
leaq 0x110(%rsp), %rsi
movq %r12, %rdi
callq 0x90684
movq %rax, %r12
leaq 0x10(%rsp), %r13
movq %r13, -0x10(%r13)
movq %rsp, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x27dc8
movq %rsp, %rsi
movq %r12, %rdi
callq 0x90eac
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x24a26
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x11360
movq %rsp, %rdi
movq %r14, %rsi
callq 0x8dd16
xorps %xmm0, %xmm0
movaps %xmm0, 0x30(%rsp)
movaps %xmm0, 0x20(%rsp)
movl $0x20, %edi
callq 0x11350
leaq 0xb8(%rsp), %r14
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movq $0x0, 0x10(%rax)
movq 0x18(%rsp), %rcx
movq %rcx, 0x18(%rax)
movq 0x10(%rsp), %rcx
testq %rcx, %rcx
je 0x24a84
movups (%rsp), %xmm0
movups %xmm0, (%rax)
movq %rcx, 0x10(%rax)
xorps %xmm0, %xmm0
movups %xmm0, (%r13)
leaq 0x20(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x1797(%rip), %rax      # 0x2622a
movq %rax, 0x18(%rsi)
leaq 0x17a8(%rip), %rax      # 0x26246
movq %rax, 0x10(%rsi)
movq %r14, %rdi
callq 0x8c1dc
leaq 0x40(%rsp), %r12
movq %rbx, %rdi
movq %r12, %rsi
callq 0x3a2e8
leaq 0x60(%rsp), %r15
cmpq %rbx, %r12
je 0x24ad0
leaq 0x20(%rbx), %rdi
movq %r15, %rsi
callq 0x36fda
leaq 0x98(%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 0x30(%rsp), %rax
testq %rax, %rax
je 0x24b0c
leaq 0x20(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x24b23
movq %rsp, %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
leaq 0x130(%rsp), %rax
addq $0x58, %rbx
movups (%rax), %xmm0
movups 0xa(%rax), %xmm1
movups %xmm1, 0xa(%rbx)
movups %xmm0, (%rbx)
movq 0xc8(%rsp), %rax
testq %rax, %rax
je 0x24b57
movq %r14, %rdi
movq %r14, %rsi
movl $0x3, %edx
callq *%rax
movq %r15, %rdi
callq 0x376f2
movq 0x40(%rsp), %rdi
cmpq %rbp, %rdi
je 0x24b76
movq 0x50(%rsp), %rsi
incq %rsi
callq 0x11360
addq $0xd8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x24bfe
jmp 0x24bfe
jmp 0x24bfe
movq %rax, %rbx
jmp 0x24bd3
jmp 0x24bb2
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x24bea
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x11360
jmp 0x24bea
jmp 0x24bb2
movq %rax, %rbx
jmp 0x24bea
movq %rax, %rbx
movq 0x30(%rsp), %rax
testq %rax, %rax
je 0x24bd3
leaq 0x20(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x24bea
movq %rsp, %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
leaq 0x40(%rsp), %rdi
callq 0x8dccc
movq %rbx, %rdi
callq 0x11580
jmp 0x24bfe
movq %rax, %rdi
callq 0x2789a