Function at 0x140003900
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x190
mov rbp, rcx
lea rcx, [rsp + 0x40]
call qword [sym.imp.libpanda.dll_public:_void___cdecl_BamFile::constructor_void____ptr64]
mov r8b, 1
lea rdx, [rbp + 0x390]
lea rcx, [rsp + 0x40]
call qword [sym.imp.libpanda.dll_public:_bool___cdecl_BamFile::open_read_class_Filename_const____ptr64__bool____ptr64]
test al, al
jne 0x14000397c
call qword [sym.imp.libp3dtoolconfig.dll_public:_static_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_Notify::out_void_]
mov rcx, rax
lea rdx, str.Unable_to_read
call fcn.140001450
mov rdx, rax
lea rcx, [rbp + 0x390]
mov rbx, rax
call qword [sym.imp.libp3dtool.dll_public:_void___cdecl_Filename::output_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_const___ptr64]
lea rdx, [0x140015b70]
mov rcx, rbx
call fcn.140001450
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0x1a8], rdi
call qword [sym.imp.libp3dtoolconfig.dll_public:_static_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_Notify::out_void_]
mov rdx, rax
lea rcx, [rbp + 0x390]
mov rdi, rax
call qword [sym.imp.libp3dtool.dll_public:_void___cdecl_Filename::output_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_const___ptr64]
lea rcx, [rsp + 0x40]
call qword [sym.imp.libpanda.dll_public:_int___cdecl_BamFile::get_file_minor_ver_void____ptr64]
lea rcx, [rsp + 0x40]
mov esi, eax
call qword [sym.imp.libpanda.dll_public:_int___cdecl_BamFile::get_file_major_ver_void____ptr64]
lea rdx, str._:_Bam_version
mov rcx, rdi
mov ebx, eax
call fcn.140001450
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, [0x140015c08]
call fcn.140001450
mov rcx, rax
mov edx, esi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, [0x140015b70]
call fcn.140001450
mov rax, qword [sym.imp.libp3dtool.dll_class_TypeHandle_pvector_type_handle]
lea rcx, [rsp + 0x20]
mov edx, dword [rax]
call qword [sym.imp.libpanda.dll_public:_void___cdecl_pvector_class_TypedWritable____ptr64_::constructor_class_TypeHandle____ptr64]
lea rcx, [rsp + 0x40]
call qword [sym.imp.libpanda.dll_public:_class_TypedWritable____ptr64___cdecl_BamFile::read_object_void____ptr64]
mov rdi, qword [rsp + 0x1a8]
mov r8, rax
mov qword [rsp + 0x1a0], rax
test rax, rax
je 0x140003a50
mov rcx, qword [sym.imp.libpanda.dll_class_TypeHandle_BamCacheRecord::_type_handle]
mov edx, dword [rcx]
mov rcx, rax
call qword [sym.imp.libp3dtool.dll_public:_bool___cdecl_TypedObject::is_exact_type_class_TypeHandle_const___ptr64]
test al, al
jne 0x140003a9b
mov r8, qword [rsp + 0x1a0]
nop
test r8, r8
jne 0x140003a71
lea rcx, [rsp + 0x40]
call qword [sym.imp.libpanda.dll_public:_bool___cdecl_BamFile::is_eof_void_const___ptr64]
test al, al
jne 0x140003ab3
mov r8, qword [rsp + 0x1a0]
test r8, r8
je 0x140003a9b
mov rax, qword [r8]
mov rcx, r8
call qword [rax + 0x48]
test rax, rax
je 0x140003a88
mov rcx, rax
call qword [sym.imp.libpandaexpress.dll_public:_void___cdecl_ReferenceCount::ref_void_const___ptr64]
lea rdx, [rsp + 0x1a0]
lea rcx, [rsp + 0x20]
call qword [sym.imp.libpanda.dll_public:_void___cdecl_std::vector_class_TypedWritable____ptr64__class_pallocator_array_class_TypedWritable____ptr64__::push_back_class_TypedWritable__const___ptr64_const____ptr64____ptr64]
lea rcx, [rsp + 0x40]
call qword [sym.imp.libpanda.dll_public:_class_TypedWritable____ptr64___cdecl_BamFile::read_object_void____ptr64]
mov r8, rax
mov qword [rsp + 0x1a0], rax
jmp 0x140003a50
lea rcx, [rsp + 0x40]
call qword [sym.imp.libpanda.dll_public:_bool___cdecl_BamFile::resolve_void____ptr64]
lea rcx, [rsp + 0x40]
call qword [sym.imp.libpanda.dll_public:_void___cdecl_BamFile::close_void____ptr64]
mov rax, qword [rbp + 8]
movsxd rcx, dword [rax + 4]
mov edx, dword [rcx + rbp + 0x25c]
mov rcx, qword [rcx + rbp + 0x268]
call qword [sym.imp.libpandaegg.dll_public:_void___cdecl_EggData::set_coordinate_system_enum_CoordinateSystem____ptr64]
lea rcx, [rsp + 0x20]
call qword [sym.imp.libpanda.dll_public:_unsigned_long_long_unsigned___int64____cdecl_std::vector_class_TypedWritable____ptr64__class_pallocator_array_class_TypedWritable____ptr64__::size_void_const___ptr64]
cmp rax, 1
jne 0x140003b9f
mov rax, qword [sym.imp.libpanda.dll_class_TypeHandle_PandaNode::_type_handle]
lea rcx, [rsp + 0x20]
xor edx, edx
mov ebx, dword [rax]
call qword [sym.imp.libpanda.dll_public:_class_TypedWritable____ptr64____ptr64___cdecl_std::vector_class_TypedWritable____ptr64__class_pallocator_array_class_TypedWritable____ptr64__::operator___unsigned_long_long_unsigned___int64_____ptr64]
mov edx, ebx
mov rcx, qword [rax]
call qword [sym.imp.libp3dtool.dll_public:_bool___cdecl_TypedObject::is_of_type_class_TypeHandle_const___ptr64]
test al, al
je 0x140003b9f
xor edx, edx
lea rcx, [rsp + 0x20]
call qword [sym.imp.libpanda.dll_public:_class_TypedWritable____ptr64____ptr64___cdecl_std::vector_class_TypedWritable____ptr64__class_pallocator_array_class_TypedWritable____ptr64__::operator___unsigned_long_long_unsigned___int64_____ptr64]
mov edx, 0x110
mov rbx, qword [rax]
mov rax, qword [sym.imp.libpanda.dll_class_TypeHandle_PandaNode::_type_handle]
mov r8, rbx
mov ecx, dword [rax]
call qword [sym.imp.libpandaexpress.dll_bool___cdecl__dcast_verify_class_TypeHandle__unsigned_long_long_unsigned___int64___class_TypedObject_const____ptr64_]
xor ecx, ecx
test al, al
mov rax, qword [rbp + 8]
cmove rbx, rcx
mov rdx, rbx
movsxd rcx, dword [rax + 4]
mov rcx, qword [rcx + rbp + 0x268]
call qword [sym.imp.libpandaegg.dll_bool___cdecl_save_egg_data_class_EggData____ptr64__class_PandaNode____ptr64_]
lea rcx, [rbp + 0xb0]
call fcn.140009240
lea rcx, [rsp + 0x20]
call qword [sym.imp.libpanda.dll_public:_void___cdecl_pvector_class_TypedWritable____ptr64_::destructor_void____ptr64]
lea rcx, [rsp + 0x40]
call qword [sym.imp.libpanda.dll_public:_void___cdecl_BamFile::destructor_void____ptr64]
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rsi
ret
call qword [sym.imp.libp3dtoolconfig.dll_public:_static_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_Notify::out_void_]
mov rcx, rax
lea rdx, str.File_does_not_contain_a_scene_graph._n
call fcn.140001450
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3