IZ
Size: a a a
IZ
k
IZ
k
IZ
k
shader::TranslationState::~TranslationState(void)
mov qword ptr [rsp+8],rcx
push rdi
sub rsp,20h
mov rdi,rsp
mov ecx,8
mov eax,0CCCCCCCCh
rep stos dword ptr [rdi]
mov rcx,qword ptr [this]
mov rax,qword ptr [this]
add rax,60h
mov rcx,rax
call std::vector<unsigned int,std::allocator<unsigned int> >::~vector<unsigned int,std::allocator<unsigned int> > (07FF6C5C08C79h)
mov rax,qword ptr [this]
add rax,40h
mov rcx,rax
call std::vector<shader::VarToReg,std::allocator<shader::VarToReg> >::~vector<shader::VarToReg,std::allocator<shader::VarToReg> > (07FF6C5BCCCB5h)
mov rax,qword ptr [this]
mov rcx,rax
call std::basic_string<char,std::char_traits<char>,std::allocator<char> >::~basic_string<char,std::char_traits<char>,std::allocator<char> > (07FF6C5BBF560h)
add rsp,20h
pop rdi
call std::vector<unsigned int,std::allocator<unsigned int> >::~vector<unsigned int,std::allocator<unsigned int> > (07FF6C5C08C79h)
и вызывает вылетIZ
shader::TranslationState::~TranslationState(void)
mov qword ptr [rsp+8],rcx
push rdi
sub rsp,20h
mov rdi,rsp
mov ecx,8
mov eax,0CCCCCCCCh
rep stos dword ptr [rdi]
mov rcx,qword ptr [this]
mov rax,qword ptr [this]
add rax,60h
mov rcx,rax
call std::vector<unsigned int,std::allocator<unsigned int> >::~vector<unsigned int,std::allocator<unsigned int> > (07FF6C5C08C79h)
mov rax,qword ptr [this]
add rax,40h
mov rcx,rax
call std::vector<shader::VarToReg,std::allocator<shader::VarToReg> >::~vector<shader::VarToReg,std::allocator<shader::VarToReg> > (07FF6C5BCCCB5h)
mov rax,qword ptr [this]
mov rcx,rax
call std::basic_string<char,std::char_traits<char>,std::allocator<char> >::~basic_string<char,std::char_traits<char>,std::allocator<char> > (07FF6C5BBF560h)
add rsp,20h
pop rdi
call std::vector<unsigned int,std::allocator<unsigned int> >::~vector<unsigned int,std::allocator<unsigned int> > (07FF6C5C08C79h)
и вызывает вылетk
IA
k
IZ
struct TranslationState {
std::string hash;
std::string last_frag_data_id;
std::string color_attachment_id;
std::string mask_id;
std::vector<VarToReg> var_to_regs;
bool is_maskupdate;
bool is_fragment;
`` TranslationState(std::string hash, bool is_fragment, bool is_maskupdate)
: hash(hash)
, last_frag_data_id({})
, color_attachment_id({})
, mask_id({})
, var_to_regs({})
, is_fragment(is_fragment)
, is_maskupdate(is_maskupdate) {}
};
static std::string convert_gxp_to_glsl(const SceGxmProgram& program, const std::string& shader_hash, bool maskupdate) {
TranslationState translation_state = TranslationState(shader_hash, program.is_fragment(), maskupdate);
return {};
}
Он пытается освободить TranslationState
но вылетает с эксепшеном read access violation
_Pnext was 0xFFFFFFFFFFFFFFFF
return std::string();
Так
не лучше будет?k
return std::string();
Так
не лучше будет?IZ
k
IZ
IZ
AB
AB
IZ