Decompile fn_08240 (CThemidaMgr::Create)
Batch #12750 by cremane: 1 byte-identical, 0 confirmed by peer review. - fn_08240 CThemidaMgr::Create: byte-identical Merged automatically: every function is byte-identical to the original.
This commit is contained in:
parent
da17edaf5c
commit
b8cdaf5aea
1 changed files with 5 additions and 4 deletions
|
|
@ -66,11 +66,12 @@ bool CThemidaMgr::Create() {
|
|||
if (g_themidaMgr == nullptr) {
|
||||
g_themidaMgr = new (std::nothrow) CThemidaMgr();
|
||||
if (g_themidaMgr != nullptr) {
|
||||
if (g_themidaMgr->m_valid) {
|
||||
return true;
|
||||
if (!g_themidaMgr->m_valid) {
|
||||
delete g_themidaMgr;
|
||||
g_themidaMgr = nullptr;
|
||||
return false;
|
||||
}
|
||||
delete g_themidaMgr;
|
||||
g_themidaMgr = nullptr;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue