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:
ragnarok-clanker 2026-11-06 00:26:46 +00:00
commit b8cdaf5aea

View file

@ -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;