// // LevelInfoLayer::shouldDownloadLevel from 0x1002c2cd0 to 0x1002c2d6b (155 bytes) // // 0 xrefs: // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // bool __fastcall LevelInfoLayer::shouldDownloadLevel(LevelInfoLayer *a1) { double v1; // xmm0_8 GJGameLevel *m_level; // rcx bool result; // al std::string *p_m_levelString; // rcx unsigned int v5; // ecx bool v6; // bl __int128 v7; // [rsp-28h] [rbp-28h] BYREF char *longStorage; // [rsp-18h] [rbp-18h] m_level = a1->m_level; result = 1; if ( m_level->m_levelType != SearchResult ) { if ( (m_level->m_levelString.m_data.m_short.sizex2 & 1) != 0 ) { sub_100006B70( &v7, m_level->m_levelString.m_data.m_long.longStorage, m_level->m_levelString.m_data.m_long.size, v1); v5 = (unsigned __int8)v7; if ( (v7 & 1) == 0 ) { LABEL_4: result = v5 >> 1 == 0; if ( (v5 & 1) == 0 ) return result; LABEL_8: v6 = result; operator delete(longStorage); return v6; } } else { p_m_levelString = &m_level->m_levelString; longStorage = p_m_levelString->m_data.m_long.longStorage; v7 = *(_OWORD *)&p_m_levelString->m_data.m_short.sizex2; v5 = (unsigned __int8)v7; if ( (v7 & 1) == 0 ) goto LABEL_4; } result = *((_QWORD *)&v7 + 1) == 0; if ( (v5 & 1) == 0 ) return result; goto LABEL_8; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source