// // GJSearchObject::getPageObject from 0x100561510 to 0x10056175f (591 bytes) // // 4 xrefs: // > LevelBrowserLayer::onGoToLastPage @ 0x10048e0d5 // > LevelBrowserLayer::setIDPopupClosed @ 0x10049106b // > GJSearchObject::getNextPageObject @ 0x1005614fd // > GJSearchObject::getPrevPageObject @ 0x1005617e5 // // 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 // GJSearchObject *__fastcall GJSearchObject::getPageObject(GJSearchObject *a1, int a2) { __int128 v2; // xmm0 SearchType m_searchType; // r14d bool v4; // zf GJSearchObject *v5; // r14 __int128 v7; // [rsp+80h] [rbp-A0h] BYREF void *__p; // [rsp+90h] [rbp-90h] __int128 v9; // [rsp+A0h] [rbp-80h] BYREF void *longStorage; // [rsp+B0h] [rbp-70h] std::string m_length; // [rsp+C0h] [rbp-60h] BYREF SearchType v12; // [rsp+E0h] [rbp-40h] int v13; // [rsp+E4h] [rbp-3Ch] _BOOL4 m_starFilter; // [rsp+E8h] [rbp-38h] _BOOL4 m_uncompletedFilter; // [rsp+ECh] [rbp-34h] _BOOL4 m_featuredFilter; // [rsp+F0h] [rbp-30h] int m_songID; // [rsp+F4h] [rbp-2Ch] m_searchType = a1->m_searchType; if ( (a1->m_searchQuery.m_data.m_short.sizex2 & 1) == 0 ) { __p = a1->m_searchQuery.m_data.m_long.longStorage; v2 = *(_OWORD *)&a1->m_searchQuery.m_data.m_short.sizex2; v7 = v2; if ( (a1->m_difficulty.m_data.m_short.sizex2 & 1) != 0 ) goto LABEL_3; LABEL_6: longStorage = a1->m_difficulty.m_data.m_long.longStorage; v2 = *(_OWORD *)&a1->m_difficulty.m_data.m_short.sizex2; v9 = v2; v4 = (a1->m_length.m_data.m_short.sizex2 & 1) == 0; v12 = m_searchType; v13 = a2; if ( v4 ) goto LABEL_4; goto LABEL_7; } sub_100006B70(&v7, a1->m_searchQuery.m_data.m_long.longStorage, a1->m_searchQuery.m_data.m_long.size, *(double *)&v2); if ( (a1->m_difficulty.m_data.m_short.sizex2 & 1) == 0 ) goto LABEL_6; LABEL_3: sub_100006B70(&v9, a1->m_difficulty.m_data.m_long.longStorage, a1->m_difficulty.m_data.m_long.size, *(double *)&v2); v4 = (a1->m_length.m_data.m_short.sizex2 & 1) == 0; v12 = m_searchType; v13 = a2; if ( v4 ) { LABEL_4: m_length = a1->m_length; goto LABEL_8; } LABEL_7: sub_100006B70(&m_length, a1->m_length.m_data.m_long.longStorage, a1->m_length.m_data.m_long.size, *(double *)&v2); LABEL_8: m_starFilter = a1->m_starFilter; m_uncompletedFilter = a1->m_uncompletedFilter; m_featuredFilter = a1->m_featuredFilter; m_songID = a1->m_songID; v5 = (GJSearchObject *)GJSearchObject::create( v12, &v7, &v9, (std::string *)&m_length, v13, m_starFilter, m_uncompletedFilter, m_featuredFilter, m_songID, a1->m_originalFilter, a1->m_twoPlayerFilter, a1->m_customSongFilter, a1->m_songFilter, a1->m_noStarFilter, a1->m_coinsFilter, a1->m_epicFilter, a1->m_legendaryFilter, a1->m_mythicFilter, a1->m_completedFilter, a1->m_demonFilter, a1->m_folder, a1->m_searchMode); if ( (m_length.m_data.m_short.sizex2 & 1) == 0 ) { if ( (v9 & 1) == 0 ) goto LABEL_10; LABEL_14: operator delete(longStorage); if ( (v7 & 1) == 0 ) goto LABEL_12; goto LABEL_11; } operator delete(m_length.m_data.m_long.longStorage); if ( (v9 & 1) != 0 ) goto LABEL_14; LABEL_10: if ( (v7 & 1) != 0 ) LABEL_11: operator delete(__p); LABEL_12: v5->m_total = a1->m_total; return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source