// // LevelBrowserLayer::loadPage from 0x6e9a7c to 0x6eab24 (4264 bytes) // // 15 xrefs: // > LevelBrowserLayer::init @ 0x6eb460 // > LevelBrowserLayer::onGoToLastPage @ 0x6ecd78 // > LevelBrowserLayer::setIDPopupClosed @ 0x6ecdfc // > LevelBrowserLayer::setIDPopupClosed @ 0x6ece4c // > LevelBrowserLayer::onNextPage @ 0x6ecedc // > LevelBrowserLayer::onPrevPage @ 0x6ecf10 // > LevelBrowserLayer::shareCommentClosed @ 0x6ecf74 // > LevelBrowserLayer::onRefresh @ 0x6ecfd8 // > LevelBrowserLayer::onClearSearch @ 0x6ed11c // > LevelBrowserLayer::setTextPopupClosed @ 0x6ed228 // > LevelBrowserLayer::deleteSelected @ 0x6ed380 // > LevelBrowserLayer::onEnter @ 0x6edb38 // > LevelListLayer::loadLevelsFinished @ 0xa759e0 // > LevelListLayer::init @ 0xa76930 // > @ 0x31ba8 // // 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 // void LevelBrowserLayer::loadPage(LevelBrowserLayer *a1, GJSearchObject *a2) { CCMenuItemToggler *m_allObjectsToggler; // x0 char *Key; // x0 CCMenuItemSpriteExtra *m_refreshBtn; // x0 CCMenuItemSpriteExtra *m_cancelSearchBtn; // x0 SearchType m_searchType; // w25 GameLevelManager *v9; // x21 const char *NextPageKey; // x0 cocos2d::CCArray *StoredOnlineLevels; // x0 CCMenuItemSpriteExtra *v12; // x2 GameLevelManager *v13; // x0 cocos2d::CCArray *v14; // x21 void (__fastcall *v15)(LevelBrowserLayer *__hidden, std::string, const unsigned __int8 *); // x23 GameLevelManager *v16; // x0 char *PageInfo; // x0 void *v18; // x0 GameLevelManager *v19; // x21 void *v20; // x0 unsigned int *v21; // x1 int v22; // w2 GameLevelManager *v23; // x0 cocos2d::CCArray *CreatedLevels; // x0 cocos2d::CCArray *ItemsMatchingSearch; // x21 cocos2d::CCArray *v26; // x0 __int64 v27; // x23 int *p_m_uIndexInArray; // x0 cocos2d::CCArray *v29; // x23 int m_page; // w19 GameManager *v31; // x0 int v32; // w26 unsigned int v33; // w19 cocos2d::CCObject *v34; // x0 unsigned int v35; // w19 unsigned int v36; // w0 CCMenuItemSpriteExtra *m_rightArrow; // x2 void (__fastcall *setupPageInfo)(LevelBrowserLayer *__hidden, std::string, const unsigned __int8 *); // x21 GameLevelManager *v39; // x0 void *v40; // x0 cocos2d::CCLabelBMFont *v41; // x0 cocos2d::CCDirector *v42; // x0 __int64 v43; // x0 __int64 v44; // x1 cocos2d::CCNode *v45; // x19 void *v46; // x0 unsigned int *v47; // x1 int v48; // w2 cocos2d::CCLabelBMFont *m_countText; // x0 char *v50; // x19 char *v51; // x20 CCMenuItemSpriteExtra *m_pageBtn; // x19 void (__fastcall *setVisible)(cocos2d::CCNode *__hidden, bool); // x21 unsigned int *v54; // x19 int v55; // w0 LocalLevelManager *v56; // x0 LocalLevelManager *v57; // x0 GameLevelManager *v58; // x0 cocos2d::CCLabelBMFont *v59; // x0 GameLevelManager *v60; // x0 unsigned int *v61; // x1 int v62; // w2 GameLevelManager *v63; // x19 void *v64; // x0 unsigned int *v65; // x1 int v66; // w2 unsigned int *v67; // x1 int v68; // w2 GameLevelManager *v69; // x0 cocos2d::CCNode *v70; // x21 void *v71; // x0 char *v72; // x1 char *v73; // x0 void (__fastcall *v74)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x19 __int64 v75; // x0 void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // x21 GameLevelManager *v77; // x0 unsigned int *v78; // x3 int v79; // w2 unsigned int *v80; // x3 int v81; // w2 void *v82; // x0 unsigned int *v83; // x1 unsigned int *p_m_uOrderOfArrival; // x1 int m_uOrderOfArrival; // w2 void *v86; // x0 unsigned int *v87; // x3 __int64 v88; // x0 unsigned int *v89; // x1 unsigned int *v90; // x1 int v91; // w2 GameLevelManager *v92; // x0 GameLevelManager *v93; // x0 unsigned int *v94; // x1 int v95; // w2 unsigned int *v96; // x3 int v97; // w2 unsigned int *v98; // x1 int v99; // [xsp+64h] [xbp+64h] int v100; // [xsp+6Ch] [xbp+6Ch] char *v101; // [xsp+78h] [xbp+78h] BYREF __int64 v102; // [xsp+80h] [xbp+80h] BYREF cocos2d::CCObject *v103; // [xsp+88h] [xbp+88h] BYREF __int64 v104; // [xsp+90h] [xbp+90h] BYREF __int64 v105; // [xsp+98h] [xbp+98h] BYREF char *v106; // [xsp+A0h] [xbp+A0h] BYREF __int64 v107; // [xsp+A8h] [xbp+A8h] BYREF char *v108; // [xsp+B0h] [xbp+B0h] BYREF __int64 v109; // [xsp+B8h] [xbp+B8h] BYREF char *v110; // [xsp+C0h] [xbp+C0h] BYREF __int64 v111; // [xsp+C8h] [xbp+C8h] BYREF __int64 v112; // [xsp+D0h] [xbp+D0h] BYREF __int64 v113; // [xsp+D8h] [xbp+D8h] BYREF __int64 v114; // [xsp+E0h] [xbp+E0h] BYREF __int64 v115; // [xsp+E8h] [xbp+E8h] BYREF cocos2d::CCPoint v116; // [xsp+F0h] [xbp+F0h] BYREF m_allObjectsToggler = a1->m_allObjectsToggler; if ( m_allObjectsToggler ) { a1->m_allSelected = 0; CCMenuItemToggler::toggle(m_allObjectsToggler, 0); } LevelBrowserLayer::setSearchObject(a1, a2); Key = (char *)GJSearchObject::getKey(a1->m_searchObject); sub_D153B8((int)&v101, Key); a1->m_circle->setVisible(a1->m_circle, 1); m_refreshBtn = a1->m_refreshBtn; if ( m_refreshBtn ) m_refreshBtn->setVisible(m_refreshBtn, 0); m_cancelSearchBtn = a1->m_cancelSearchBtn; if ( m_cancelSearchBtn ) m_cancelSearchBtn->setVisible(m_cancelSearchBtn, 0); if ( !a1->m_unk2 ) a1->m_leftArrow->setVisible(a1->m_leftArrow, a1->m_searchObject->m_page > 0); m_searchType = a1->m_searchObject->m_searchType; if ( (unsigned int)(m_searchType - 98) <= 1 || m_searchType == MyLists ) { if ( m_searchType == MyLevels ) { v56 = LocalLevelManager::sharedState(); CreatedLevels = LocalLevelManager::getCreatedLevels(v56, a1->m_searchObject->m_folder); } else { if ( m_searchType != MyLists ) { LABEL_27: if ( m_searchType == FavouriteLevels ) { v60 = GameLevelManager::sharedState(); CreatedLevels = GameLevelManager::getSavedLevels(v60, 1, a2->m_folder); } else if ( m_searchType == SmartTemplates ) { v69 = GameLevelManager::sharedState(); CreatedLevels = GameLevelManager::getAllSmartTemplates(v69); } else { v23 = GameLevelManager::sharedState(); if ( m_searchType == FavouriteLists ) CreatedLevels = GameLevelManager::getSavedLevelLists(v23, a2->m_folder); else CreatedLevels = GameLevelManager::getSavedLevels(v23, 0, a2->m_folder); } goto LABEL_31; } v57 = LocalLevelManager::sharedState(); CreatedLevels = LocalLevelManager::getCreatedLists(v57, a1->m_searchObject->m_folder); } LABEL_31: ItemsMatchingSearch = CreatedLevels; sub_D18D28(&v102, &a1->m_searchObject->m_searchQuery); v26 = (cocos2d::CCArray *)(v102 - 24); v27 = *(_QWORD *)(v102 - 24); if ( (__int64 *)(v102 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v61 = (unsigned int *)(v102 - 8); do v62 = __ldaxr(v61); while ( __stlxr(v62 - 1, v61) ); } else { v62 = *(_DWORD *)(v102 - 8); *(_DWORD *)(v102 - 8) = v62 - 1; } if ( v62 <= 0 ) operator delete(v26); } if ( v27 ) { sub_D18D28(&v103, &a2->m_searchQuery); ItemsMatchingSearch = LevelBrowserLayer::getItemsMatchingSearch((__int64)a1, (__int64)ItemsMatchingSearch, &v103); p_m_uIndexInArray = &v103[-1].m_uIndexInArray; if ( &v103[-1].m_uIndexInArray != (int *)&qword_124B6B0 ) { if ( &pthread_create ) { p_m_uOrderOfArrival = (unsigned int *)&v103[-1].m_uOrderOfArrival; do m_uOrderOfArrival = __ldaxr(p_m_uOrderOfArrival); while ( __stlxr(m_uOrderOfArrival - 1, p_m_uOrderOfArrival) ); } else { m_uOrderOfArrival = v103[-1].m_uOrderOfArrival; v103[-1].m_uOrderOfArrival = m_uOrderOfArrival - 1; } if ( m_uOrderOfArrival <= 0 ) operator delete(p_m_uIndexInArray); } v26 = (cocos2d::CCArray *)a1->m_cancelSearchBtn; if ( v26 ) v26 = (cocos2d::CCArray *)((__int64 (__fastcall *)(cocos2d::CCArray *, __int64))v26->__vftable[4].~CCArray)( v26, 1); } v29 = (cocos2d::CCArray *)cocos2d::CCArray::create(v26); m_page = a1->m_searchObject->m_page; v31 = GameManager::sharedState(); if ( GameManager::getGameVariable(v31, "0093") ) v32 = 20; else v32 = 10; v99 = cocos2d::CCArray::count(ItemsMatchingSearch); v100 = v32 * m_page; a1->m_lastPage = (int)(float)(ceilf((float)(unsigned int)cocos2d::CCArray::count(ItemsMatchingSearch) / (float)v32) - 1.0); if ( ItemsMatchingSearch ) { if ( (unsigned int)cocos2d::CCArray::count(ItemsMatchingSearch) ) { v33 = v32 * m_page; if ( v100 < v32 + v100 ) { do { if ( v33 > (unsigned int)cocos2d::CCArray::count(ItemsMatchingSearch) - 1 ) break; v34 = (cocos2d::CCObject *)cocos2d::CCArray::objectAtIndex(ItemsMatchingSearch, v33); cocos2d::CCArray::addObject(v29, v34); ++v33; } while ( v33 != v32 + v100 ); } } } if ( !a1->m_unk2 ) { v35 = cocos2d::CCArray::count(v29) + v100; v36 = cocos2d::CCArray::count(ItemsMatchingSearch); m_rightArrow = a1->m_rightArrow; if ( v35 >= v36 ) m_rightArrow->setVisible(a1->m_rightArrow, 0); else m_rightArrow->setVisible(a1->m_rightArrow, 1); } setupPageInfo = a1->setupPageInfo; v39 = GameLevelManager::sharedState(); GameLevelManager::createPageInfo(&v104, v39, v99, v100, v32); ((void (__fastcall *)(LevelBrowserLayer *, __int64 *, char *))setupPageInfo)(a1, &v104, v101); v40 = (void *)(v104 - 24); if ( (__int64 *)(v104 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v67 = (unsigned int *)(v104 - 8); do v68 = __ldaxr(v67); while ( __stlxr(v68 - 1, v67) ); } else { v68 = *(_DWORD *)(v104 - 8); *(_DWORD *)(v104 - 8) = v68 - 1; } if ( v68 <= 0 ) operator delete(v40); } a1->loadLevelsFinished(a1, v29, (const unsigned __int8 *)v101, m_searchType); if ( a1->m_itemCount ) { m_countText = a1->m_countText; if ( m_countText ) m_countText->setVisible(m_countText, 1); LABEL_65: if ( a1->m_isOverlay ) goto LABEL_66; goto LABEL_19; } v41 = a1->m_countText; if ( v41 ) v41->setVisible(v41, 0); v42 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(v42); if ( m_searchType == SavedLevels ) { sub_D153B8((int)&v105, " "); cocos2d::CCPoint::CCPoint(&v116, 0.5, 1.0); v70 = (cocos2d::CCNode *)TextArea::create((__int64)&v105, "bigFont.fnt", &v116, 0, 1.0, 600.0, 20.0); v71 = (void *)(v105 - 24); if ( (__int64 *)(v105 - 24) != &qword_124B6B0 ) { v80 = (unsigned int *)(v105 - 8); if ( &pthread_create ) { do v81 = __ldaxr(v80); while ( __stlxr(v81 - 1, v80) ); } else { v81 = *(_DWORD *)(v105 - 8); *(_DWORD *)(v105 - 8) = v81 - 1; } if ( v81 <= 0 ) operator delete(v71); } LODWORD(v70[1].m_pComponentContainer) = 1109393408; sub_D153B8((int)&v106, "You have not downloaded any levels yet!"); TextArea::setString((__int64)v70, (const void **)&v106); v72 = v106; v73 = v106 - 24; if ( v106 - 24 == (char *)&qword_124B6B0 ) goto LABEL_110; v78 = (unsigned int *)(v106 - 8); if ( !&pthread_create ) goto LABEL_162; do v79 = __ldaxr(v78); while ( __stlxr(v79 - 1, v78) ); } else { if ( m_searchType != FavouriteLists ) { if ( m_searchType != FavouriteLevels ) { if ( m_searchType == MyLevels ) { sub_D153B8((int)&v111, "Tap New to create a level!"); cocos2d::CCPoint::CCPoint(&v116, 0.5, 1.0); v88 = TextArea::create((__int64)&v111, "bigFont.fnt", &v116, 0, 1.0, 600.0, 20.0); v44 = v111; v45 = (cocos2d::CCNode *)v88; v46 = (void *)(v111 - 24); if ( (__int64 *)(v111 - 24) == &qword_124B6B0 ) goto LABEL_112; if ( !&pthread_create ) goto LABEL_172; v89 = (unsigned int *)(v111 - 8); do v48 = __ldaxr(v89); while ( __stlxr(v48 - 1, v89) ); } else { if ( m_searchType != MyLists ) { sub_D153B8((int)&v113, "Tap New to create a Template!"); cocos2d::CCPoint::CCPoint(&v116, 0.5, 1.0); v43 = TextArea::create((__int64)&v113, "bigFont.fnt", &v116, 0, 1.0, 600.0, 20.0); v44 = v113; v45 = (cocos2d::CCNode *)v43; v46 = (void *)(v113 - 24); if ( (__int64 *)(v113 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v47 = (unsigned int *)(v113 - 8); do v48 = __ldaxr(v47); while ( __stlxr(v48 - 1, v47) ); goto LABEL_61; } LABEL_172: v48 = *(_DWORD *)(v44 - 8); *(_DWORD *)(v44 - 8) = v48 - 1; goto LABEL_61; } LABEL_112: setPosition = v45->setPosition; cocos2d::CCPoint::CCPoint(&v116, *(float *)&v115 * 0.5, (float)(*((float *)&v115 + 1) * 0.5) + 10.0); setPosition(v45, &v116); v45->setScale(v45, 0.6); a1->addChild(a1, v45); goto LABEL_65; } sub_D153B8((int)&v112, "Tap New to create a list!"); cocos2d::CCPoint::CCPoint(&v116, 0.5, 1.0); v75 = TextArea::create((__int64)&v112, "bigFont.fnt", &v116, 0, 1.0, 600.0, 20.0); v44 = v112; v45 = (cocos2d::CCNode *)v75; v46 = (void *)(v112 - 24); if ( (__int64 *)(v112 - 24) == &qword_124B6B0 ) goto LABEL_112; if ( !&pthread_create ) goto LABEL_172; v98 = (unsigned int *)(v112 - 8); do v48 = __ldaxr(v98); while ( __stlxr(v48 - 1, v98) ); } LABEL_61: if ( v48 <= 0 ) operator delete(v46); goto LABEL_112; } sub_D153B8((int)&v109, " "); cocos2d::CCPoint::CCPoint(&v116, 0.5, 1.0); v70 = (cocos2d::CCNode *)TextArea::create((__int64)&v109, "bigFont.fnt", &v116, 0, 1.0, 600.0, 20.0); v86 = (void *)(v109 - 24); if ( (__int64 *)(v109 - 24) != &qword_124B6B0 ) { v96 = (unsigned int *)(v109 - 8); if ( &pthread_create ) { do v97 = __ldaxr(v96); while ( __stlxr(v97 - 1, v96) ); } else { v97 = *(_DWORD *)(v109 - 8); *(_DWORD *)(v109 - 8) = v97 - 1; } if ( v97 <= 0 ) operator delete(v86); } LODWORD(v70[1].m_pComponentContainer) = 1109393408; sub_D153B8((int)&v110, "Levels marked as Favorite will show up here!"); TextArea::setString((__int64)v70, (const void **)&v110); v72 = v110; v73 = v110 - 24; if ( v110 - 24 == (char *)&qword_124B6B0 ) { LABEL_110: v74 = v70->setPosition; cocos2d::CCPoint::CCPoint(&v116, *(float *)&v115 * 0.5, (float)(*((float *)&v115 + 1) * 0.5) + 10.0); v74(v70, &v116); v70->setScale(v70, 0.6); a1->addChild(a1, v70); goto LABEL_65; } v87 = (unsigned int *)(v110 - 8); if ( &pthread_create ) { do v79 = __ldaxr(v87); while ( __stlxr(v79 - 1, v87) ); goto LABEL_116; } LABEL_162: v79 = *((_DWORD *)v72 - 2); *((_DWORD *)v72 - 2) = v79 - 1; goto LABEL_116; } sub_D153B8((int)&v107, " "); cocos2d::CCPoint::CCPoint(&v116, 0.5, 1.0); v70 = (cocos2d::CCNode *)TextArea::create((__int64)&v107, "bigFont.fnt", &v116, 0, 1.0, 600.0, 20.0); v82 = (void *)(v107 - 24); if ( (__int64 *)(v107 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v94 = (unsigned int *)(v107 - 8); do v95 = __ldaxr(v94); while ( __stlxr(v95 - 1, v94) ); } else { v95 = *(_DWORD *)(v107 - 8); *(_DWORD *)(v107 - 8) = v95 - 1; } if ( v95 <= 0 ) operator delete(v82); } LODWORD(v70[1].m_pComponentContainer) = 1109393408; sub_D153B8((int)&v108, "You have not favorited\nany lists yet!"); TextArea::setString((__int64)v70, (const void **)&v108); v72 = v108; v73 = v108 - 24; if ( v108 - 24 == (char *)&qword_124B6B0 ) goto LABEL_110; if ( !&pthread_create ) goto LABEL_162; v83 = (unsigned int *)(v108 - 8); do v79 = __ldaxr(v83); while ( __stlxr(v79 - 1, v83) ); } LABEL_116: if ( v79 <= 0 ) operator delete(v73); goto LABEL_110; } if ( (unsigned int)(m_searchType - 100) <= 1 || m_searchType == FavouriteLists ) goto LABEL_27; if ( !a1->m_unk2 ) { v9 = GameLevelManager::sharedState(); NextPageKey = GJSearchObject::getNextPageKey(a1->m_searchObject); StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v9, NextPageKey); v12 = a1->m_rightArrow; if ( StoredOnlineLevels ) v12->setVisible(a1->m_rightArrow, 1); else v12->setVisible(a1->m_rightArrow, 0); } v13 = GameLevelManager::sharedState(); v14 = GameLevelManager::getStoredOnlineLevels(v13, v101); if ( !v14 ) { if ( !a1->m_cached ) LevelBrowserLayer::setupLevelBrowser(a1, nullptr); GameLevelManager::sharedState()->m_levelManagerDelegate = &a1->LevelManagerDelegate; if ( m_searchType == Users ) { v92 = GameLevelManager::sharedState(); GameLevelManager::getUsers(v92, a2); } else if ( m_searchType == (Sends|Downloaded) ) { v93 = GameLevelManager::sharedState(); GameLevelManager::getMapPacks(v93, a2); } else if ( a1->m_searchObject->m_searchMode == 1 ) { v77 = GameLevelManager::sharedState(); GameLevelManager::getLevelLists(v77, a2); } else { v58 = GameLevelManager::sharedState(); GameLevelManager::getOnlineLevels(v58, a2); } v59 = a1->m_countText; if ( v59 ) v59->setString(v59, (const unsigned __int8 *)" "); goto LABEL_65; } v15 = a1->setupPageInfo; v16 = GameLevelManager::sharedState(); PageInfo = (char *)GameLevelManager::getPageInfo(v16, v101); sub_D153B8((int)&v114, PageInfo); ((void (__fastcall *)(LevelBrowserLayer *, __int64 *, char *))v15)(a1, &v114, v101); v18 = (void *)(v114 - 24); if ( (__int64 *)(v114 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v90 = (unsigned int *)(v114 - 8); do v91 = __ldaxr(v90); while ( __stlxr(v91 - 1, v90) ); } else { v91 = *(_DWORD *)(v114 - 8); *(_DWORD *)(v114 - 8) = v91 - 1; } if ( v91 <= 0 ) operator delete(v18); } a1->loadLevelsFinished(a1, v14, (const unsigned __int8 *)v101, m_searchType); if ( !a1->m_isOverlay ) { LABEL_19: v19 = GameLevelManager::sharedState(); sub_D153B8((int)&v115, v101); sub_D18EA8(&v19->m_searchKey, &v115); v20 = (void *)(v115 - 24); if ( (__int64 *)(v115 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v21 = (unsigned int *)(v115 - 8); do v22 = __ldaxr(v21); while ( __stlxr(v22 - 1, v21) ); } else { v22 = *(_DWORD *)(v115 - 8); *(_DWORD *)(v115 - 8) = v22 - 1; } if ( v22 <= 0 ) operator delete(v20); } } LABEL_66: if ( a1->m_searchObject->m_searchType == (Sends|Downloaded) ) { v63 = GameLevelManager::sharedState(); sub_D153B8((int)&v116, v101); sub_D18EA8(&v63->m_mapPackKey, &v116); v64 = (void *)(*(_QWORD *)&v116 - 24LL); if ( (__int64 *)(*(_QWORD *)&v116 - 24LL) != &qword_124B6B0 ) { if ( &pthread_create ) { v65 = (unsigned int *)(*(_QWORD *)&v116 - 8LL); do v66 = __ldaxr(v65); while ( __stlxr(v66 - 1, v65) ); } else { v66 = *(_DWORD *)(*(_QWORD *)&v116 - 8LL); *(_DWORD *)(*(_QWORD *)&v116 - 8LL) = v66 - 1; } if ( v66 <= 0 ) operator delete(v64); } } if ( a1->m_unk2 ) { v50 = v101; v51 = v101 - 24; if ( v101 - 24 == (char *)&qword_124B6B0 ) return; goto LABEL_73; } m_pageBtn = a1->m_pageBtn; setVisible = m_pageBtn->setVisible; if ( !a1->m_rightArrow->isVisible(a1->m_rightArrow) ) ((__int64 (__fastcall *)(CCMenuItemSpriteExtra *))a1->m_leftArrow->isVisible)(a1->m_leftArrow); ((void (__fastcall *)(CCMenuItemSpriteExtra *))setVisible)(m_pageBtn); v50 = v101; v51 = v101 - 24; if ( v101 - 24 != (char *)&qword_124B6B0 ) { LABEL_73: if ( &pthread_create ) { v54 = (unsigned int *)(v50 - 8); do v55 = __ldaxr(v54); while ( __stlxr(v55 - 1, v54) ); } else { v55 = *((_DWORD *)v50 - 2); *((_DWORD *)v50 - 2) = v55 - 1; } if ( v55 <= 0 ) operator delete(v51); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source