// File: /workspace/github_cpp_makefile_star2_O3/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 0x27370
xorl %eax, %eax
movq %rax, 0x40(%r13)
leaq 0x90(%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, %r12
movups %xmm0, -0x8(%rcx)
movups %xmm0, 0x8(%rcx)
movq %rax, 0x18(%rcx)
leaq 0x110(%rsp), %rsi
movq %r12, %rdi
callq 0x8fb10
movq %rax, %r12
leaq 0x10(%rsp), %r13
movq %r13, -0x10(%r13)
movq %rsp, %rdi
movq %r15, %rsi
movq %rbx, %rdx
callq 0x27370
movq %rsp, %rsi
movq %r12, %rdi
callq 0x9031a
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x2402c
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x11360
movq %rsp, %rdi
movq %r14, %rsi
callq 0x8d1f8
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 0x2408a
movups (%rsp), %xmm0
movups %xmm0, (%rax)
movq %rcx, 0x10(%rax)
xorps %xmm0, %xmm0
movups %xmm0, (%r13)
leaq 0x20(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x1753(%rip), %rax      # 0x257ec
movq %rax, 0x18(%rsi)
leaq 0x1764(%rip), %rax      # 0x25808
movq %rax, 0x10(%rsi)
movq %r14, %rdi
callq 0x8b69e
leaq 0x40(%rsp), %r12
movq %rbx, %rdi
movq %r12, %rsi
callq 0x39678
leaq 0x60(%rsp), %r15
cmpq %rbx, %r12
je 0x240d6
leaq 0x20(%rbx), %rdi
movq %r15, %rsi
callq 0x3639e
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 0x8b69e
movq 0x30(%rsp), %rax
testq %rax, %rax
je 0x24112
leaq 0x20(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x24129
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 0x2415d
movq %r14, %rdi
movq %r14, %rsi
movl $0x3, %edx
callq *%rax
movq %r15, %rdi
callq 0x36ac6
movq 0x40(%rsp), %rdi
cmpq %rbp, %rdi
je 0x2417c
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 0x24204
jmp 0x24204
jmp 0x24204
movq %rax, %rbx
jmp 0x241d9
jmp 0x241b8
movq %rax, %rbx
movq (%rsp), %rdi
cmpq %r13, %rdi
je 0x241f0
movq 0x10(%rsp), %rsi
incq %rsi
callq 0x11360
jmp 0x241f0
jmp 0x241b8
movq %rax, %rbx
jmp 0x241f0
movq %rax, %rbx
movq 0x30(%rsp), %rax
testq %rax, %rax
je 0x241d9
leaq 0x20(%rsp), %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
movq 0x10(%rsp), %rax
testq %rax, %rax
je 0x241f0
movq %rsp, %rdi
movq %rdi, %rsi
movl $0x3, %edx
callq *%rax
leaq 0x40(%rsp), %rdi
callq 0x8d1ae
movq %rbx, %rdi
callq 0x11580
jmp 0x24204
movq %rax, %rdi
callq 0x26e38