// File: IsaacLaw12[P]RayTracer/./src/Model.cpp
// Function: Model::Model(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>)
Model::Model(std::string driver_line){
    Transformation model_to_scene = Transformation(driver_line);
    original_file = model_to_scene.get_asset_name();
    load_model();
    model_to_scene.transform_object(this);
    smoothing = model_to_scene.get_smoothing();
    animation_file = model_to_scene.get_animation_file();
    on_model_load();
}

// Assembly:
subq $0x3f8, %rsp            # imm = 0x3F8
movq %rsi, 0x50(%rsp)
movq %rdi, 0x3f0(%rsp)
movq %rsi, 0x3e8(%rsp)
movq 0x3f0(%rsp), %rdi
movq %rdi, 0x60(%rsp)
callq 0x1d060
movq 0x60(%rsp), %rdi
leaq 0x80a4e(%rip), %rax     # 0x9ac38
movq %rax, (%rdi)
addq $0x190, %rdi            # imm = 0x190
movq %rdi, 0x58(%rsp)
callq 0x1d1f0
movq 0x60(%rsp), %rdi
addq $0x198, %rdi            # imm = 0x198
movq %rdi, 0x68(%rsp)
callq 0x6060
jmp 0x1a216
movq 0x60(%rsp), %rdi
addq $0x1b0, %rdi            # imm = 0x1B0
movq %rdi, 0x48(%rsp)
callq 0x1d220
jmp 0x1a22e
movq 0x60(%rsp), %rdi
addq $0x1c8, %rdi            # imm = 0x1C8
movq %rdi, 0x40(%rsp)
callq 0x6060
jmp 0x1a246
movq 0x60(%rsp), %rdi
addq $0x1e0, %rdi            # imm = 0x1E0
movq %rdi, 0x20(%rsp)
callq 0x1d270
movq 0x60(%rsp), %rdi
addq $0x1f8, %rdi            # imm = 0x1F8
movq %rdi, 0x28(%rsp)
callq 0x1d280
movq 0x60(%rsp), %rdi
addq $0x210, %rdi            # imm = 0x210
movq %rdi, 0x30(%rsp)
callq 0x4490
movq 0x60(%rsp), %rdi
addq $0x230, %rdi            # imm = 0x230
movq %rdi, 0x38(%rsp)
callq 0x4490
movq 0x60(%rsp), %rax
movq 0x50(%rsp), %rsi
movb $0x1, 0x250(%rax)
movb $0x0, 0x251(%rax)
leaq 0xb0(%rsp), %rdi
callq 0x4130
jmp 0x1a2c5
leaq 0xd0(%rsp), %rdi
leaq 0xb0(%rsp), %rsi
callq 0x44350
jmp 0x1a2dc
leaq 0xb0(%rsp), %rdi
callq 0x4200
leaq 0x90(%rsp), %rdi
leaq 0xd0(%rsp), %rsi
callq 0x456c0
jmp 0x1a300
movq 0x60(%rsp), %rdi
addq $0x210, %rdi            # imm = 0x210
leaq 0x90(%rsp), %rsi
movq %rsi, 0x18(%rsp)
callq 0x4420
movq 0x18(%rsp), %rdi
callq 0x4200
movq 0x60(%rsp), %rdi
callq 0x1a4e0
jmp 0x1a334
movq 0x60(%rsp), %rsi
leaq 0xd0(%rsp), %rdi
callq 0x45580
jmp 0x1a348
leaq 0xd0(%rsp), %rdi
callq 0x456f0
movb %al, 0x17(%rsp)
jmp 0x1a35b
movq 0x60(%rsp), %rax
movb 0x17(%rsp), %cl
andb $0x1, %cl
movb %cl, 0x251(%rax)
leaq 0x70(%rsp), %rdi
leaq 0xd0(%rsp), %rsi
callq 0x457f0
jmp 0x1a381
movq 0x60(%rsp), %rdi
addq $0x230, %rdi            # imm = 0x230
leaq 0x70(%rsp), %rsi
movq %rsi, 0x8(%rsp)
callq 0x4420
movq 0x8(%rsp), %rdi
callq 0x4200
movq 0x60(%rsp), %rdi
callq 0x1aa80
jmp 0x1a3b2
leaq 0xd0(%rsp), %rdi
callq 0x17db0
addq $0x3f8, %rsp            # imm = 0x3F8
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x3e0(%rsp)
movl %eax, 0x3dc(%rsp)
jmp 0x1a4b2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x3e0(%rsp)
movl %eax, 0x3dc(%rsp)
jmp 0x1a4a8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x3e0(%rsp)
movl %eax, 0x3dc(%rsp)
jmp 0x1a49e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x3e0(%rsp)
movl %eax, 0x3dc(%rsp)
jmp 0x1a46c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x3e0(%rsp)
movl %eax, 0x3dc(%rsp)
leaq 0xb0(%rsp), %rdi
callq 0x4200
jmp 0x1a46c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x3e0(%rsp)
movl %eax, 0x3dc(%rsp)
leaq 0xd0(%rsp), %rdi
callq 0x17db0
movq 0x38(%rsp), %rdi
callq 0x4200
movq 0x30(%rsp), %rdi
callq 0x4200
movq 0x28(%rsp), %rdi
callq 0x1d290
movq 0x20(%rsp), %rdi
callq 0x1d2f0
movq 0x40(%rsp), %rdi
callq 0x60b0
movq 0x48(%rsp), %rdi
callq 0x1d350
movq 0x68(%rsp), %rdi
callq 0x60b0
movq 0x58(%rsp), %rdi
callq 0x1d360
movq 0x60(%rsp), %rdi
callq 0x1f000
movq 0x3e0(%rsp), %rdi
callq 0x45e0
nopw %cs:(%rax,%rax)