// // MessageThreadsPage::threadListFinished from 0x75532c to 0x755700 (980 bytes) // // 1 xrefs: // > `non-virtual thunk to'MessageThreadsPage::threadListFinished @ 0x755708 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:58:54 +0000 // GameLevelManager *__fastcall MessageThreadsPage::threadListFinished( MessageThreadsPage *this, cocos2d::CCArray *a2, int a3, int a4, int a5) { int v8; // r1 int v10; // r2 int v11; // r0 int v12; // r7 cocos2d::CCArray *v13; // r3 int v14; // r4 signed int v15; // r11 signed int i; // r9 int v17; // r10 int v18; // r0 int v19; // r4 int v20; // r2 int v21; // r0 int v22; // r3 size_t v23; // r2 int v24; // r1 int v25; // r0 char *v26; // r0 unsigned __int8 *v27; // r1 char *v28; // r0 unsigned __int8 *v29; // r2 int v30; // t1 int v31; // r2 int v32; // r0 int v33; // r3 size_t v34; // r2 int v35; // r1 int v36; // r0 char *v37; // r0 unsigned __int8 *v38; // r1 char *v39; // r0 unsigned __int8 *v40; // r2 int v41; // t1 int v42; // r2 int v43; // r0 int v44; // r3 size_t v45; // r2 int v46; // r1 int v47; // r0 char *v48; // r0 unsigned __int8 *v49; // r1 char *v50; // r0 unsigned __int8 *v51; // r2 int v52; // t1 int v53; // r2 int v54; // r0 int v55; // r3 size_t v56; // r2 int v57; // r1 int v58; // r0 char *v59; // r0 unsigned __int8 *v60; // r1 char *v61; // r0 unsigned __int8 *v62; // r2 int v63; // t1 unsigned int v64; // r4 int v65; // r0 unsigned int v66; // r1 int v67; // r9 int v68; // r0 CCMenuItemToggler *v69; // r0 int v70; // r4 void (__fastcall *v71)(int, int); // r6 cocos2d::CCString *v72; // r0 int CString; // r0 cocos2d::CCArray *v74; // [sp+8h] [bp-14h] _BOOL4 v76; // [sp+14h] [bp-8h] if ( *((_BYTE *)this + 660) ) { v8 = *((_DWORD *)this + 153); *((_BYTE *)this + 660) = 0; return MessageThreadsPage::loadPage(this, v8, 0); } v10 = *((unsigned __int8 *)this + 661); *((_BYTE *)this + 661) = 0; v76 = v10; v11 = GameLevelManager::sharedState(this); MessageThreadsPage::setInboxPoll(this, (float)*(int *)(v11 + 352)); if ( a2 ) v12 = cocos2d::CCArray::count(a2); else v12 = 0; if ( !v76 || !*((_DWORD *)this + 133) || v12 <= 0 ) return MessageThreadsPage::applyThreadList(this, a2, a3, a4, a5, v76); v13 = *((cocos2d::CCArray **)this + 147); v74 = v13; if ( v13 ) { v14 = cocos2d::CCArray::count(v13); if ( !a2 ) { v15 = 0; goto LABEL_15; } LABEL_14: v15 = cocos2d::CCArray::count(a2); LABEL_15: if ( v14 == v15 ) goto LABEL_16; return MessageThreadsPage::applyThreadList(this, a2, a3, a4, a5, v76); } if ( a2 ) { v14 = 0; goto LABEL_14; } v15 = 0; LABEL_16: for ( i = 0; i < v15; ++i ) { v17 = cocos2d::CCArray::objectAtIndex(v74, i); v18 = cocos2d::CCArray::objectAtIndex(a2, i); v19 = v18; if ( *(_DWORD *)(v17 + 52) != *(_DWORD *)(v18 + 52) || *(_DWORD *)(v17 + 84) != *(_DWORD *)(v18 + 84) || *(_DWORD *)(v17 + 88) != *(_DWORD *)(v18 + 88) || *(_DWORD *)(v17 + 116) != *(_DWORD *)(v18 + 116) || *(unsigned __int8 *)(v17 + 136) != *(unsigned __int8 *)(v18 + 136) || *(unsigned __int8 *)(v17 + 169) != *(unsigned __int8 *)(v18 + 169) || *(_DWORD *)(v17 + 172) != *(_DWORD *)(v18 + 172) || *(unsigned __int8 *)(v17 + 178) != *(unsigned __int8 *)(v18 + 178) || *(unsigned __int8 *)(v17 + 168) != *(unsigned __int8 *)(v18 + 168) || *(_DWORD *)(v17 + 132) != *(_DWORD *)(v18 + 132) || *(_DWORD *)(v17 + 140) != *(_DWORD *)(v18 + 140) ) { return MessageThreadsPage::applyThreadList(this, a2, a3, a4, a5, v76); } v20 = *(unsigned __int8 *)(v17 + 72); v21 = *(unsigned __int8 *)(v18 + 72); v22 = v20 & 1; v23 = (v20 & 1) != 0 ? *(_DWORD *)(v17 + 76) : v20 >> 1; v24 = v21 & 1; v25 = (v21 & 1) != 0 ? *(_DWORD *)(v19 + 76) : v21 >> 1; if ( v23 != v25 ) return MessageThreadsPage::applyThreadList(this, a2, a3, a4, a5, v76); v26 = v22 ? *(char **)(v17 + 80) : (char *)(v17 + 73); v27 = v24 ? *(unsigned __int8 **)(v19 + 80) : (unsigned __int8 *)(v19 + 73); if ( v22 ) { if ( std::char_traits::compare(v26, v27, v23) ) return MessageThreadsPage::applyThreadList(this, a2, a3, a4, a5, v76); } else { v28 = v26 - 1; v29 = &v27[v23]; while ( v27 != v29 ) { v30 = (unsigned __int8)*++v28; if ( v30 != *v27 ) return MessageThreadsPage::applyThreadList(this, a2, a3, a4, a5, v76); ++v27; } } v31 = *(unsigned __int8 *)(v17 + 60); v32 = *(unsigned __int8 *)(v19 + 60); v33 = v31 & 1; v34 = (v31 & 1) != 0 ? *(_DWORD *)(v17 + 64) : v31 >> 1; v35 = v32 & 1; v36 = (v32 & 1) != 0 ? *(_DWORD *)(v19 + 64) : v32 >> 1; if ( v34 != v36 ) return MessageThreadsPage::applyThreadList(this, a2, a3, a4, a5, v76); v37 = v33 ? *(char **)(v17 + 68) : (char *)(v17 + 61); v38 = v35 ? *(unsigned __int8 **)(v19 + 68) : (unsigned __int8 *)(v19 + 61); if ( v33 ) { if ( std::char_traits::compare(v37, v38, v34) ) return MessageThreadsPage::applyThreadList(this, a2, a3, a4, a5, v76); } else { v39 = v37 - 1; v40 = &v38[v34]; while ( v38 != v40 ) { v41 = (unsigned __int8)*++v39; if ( v41 != *v38 ) return MessageThreadsPage::applyThreadList(this, a2, a3, a4, a5, v76); ++v38; } } v42 = *(unsigned __int8 *)(v17 + 144); v43 = *(unsigned __int8 *)(v19 + 144); v44 = v42 & 1; v45 = (v42 & 1) != 0 ? *(_DWORD *)(v17 + 148) : v42 >> 1; v46 = v43 & 1; v47 = (v43 & 1) != 0 ? *(_DWORD *)(v19 + 148) : v43 >> 1; if ( v45 != v47 ) return MessageThreadsPage::applyThreadList(this, a2, a3, a4, a5, v76); v48 = v44 ? *(char **)(v17 + 152) : (char *)(v17 + 145); v49 = v46 ? *(unsigned __int8 **)(v19 + 152) : (unsigned __int8 *)(v19 + 145); if ( v44 ) { if ( std::char_traits::compare(v48, v49, v45) ) return MessageThreadsPage::applyThreadList(this, a2, a3, a4, a5, v76); } else { v50 = v48 - 1; v51 = &v49[v45]; while ( v49 != v51 ) { v52 = (unsigned __int8)*++v50; if ( v52 != *v49 ) return MessageThreadsPage::applyThreadList(this, a2, a3, a4, a5, v76); ++v49; } } v53 = *(unsigned __int8 *)(v17 + 156); v54 = *(unsigned __int8 *)(v19 + 156); v55 = v53 & 1; v56 = (v53 & 1) != 0 ? *(_DWORD *)(v17 + 160) : v53 >> 1; v57 = v54 & 1; v58 = (v54 & 1) != 0 ? *(_DWORD *)(v19 + 160) : v54 >> 1; if ( v56 != v58 ) return MessageThreadsPage::applyThreadList(this, a2, a3, a4, a5, v76); v59 = v55 ? *(char **)(v17 + 164) : (char *)(v17 + 157); v60 = v57 ? *(unsigned __int8 **)(v19 + 164) : (unsigned __int8 *)(v19 + 157); if ( v55 ) { if ( std::char_traits::compare(v59, v60, v56) ) return MessageThreadsPage::applyThreadList(this, a2, a3, a4, a5, v76); } else { v61 = v59 - 1; v62 = &v60[v56]; while ( v60 != v62 ) { v63 = (unsigned __int8)*++v61; if ( v63 != *v60 ) return MessageThreadsPage::applyThreadList(this, a2, a3, a4, a5, v76); ++v60; } } if ( *(_DWORD *)(v17 + 212) != *(_DWORD *)(v19 + 212) || *(_DWORD *)(v17 + 216) != *(_DWORD *)(v19 + 216) || *(_DWORD *)(v17 + 220) != *(_DWORD *)(v19 + 220) || *(_DWORD *)(v17 + 224) != *(_DWORD *)(v19 + 224) || *(_DWORD *)(v17 + 228) != *(_DWORD *)(v19 + 228) || *(_DWORD *)(v17 + 232) != *(_DWORD *)(v19 + 232) ) { return MessageThreadsPage::applyThreadList(this, a2, a3, a4, a5, v76); } } *((_DWORD *)this + 154) = a3; if ( a5 > 0 ) *((_DWORD *)this + 151) = a4 / a5; MessageThreadsPage::updatePageArrows(this, a3, a4, v12); v64 = 0; do { v65 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 147), v64); v66 = v64++; v67 = v65; v68 = cocos2d::CCArray::objectAtIndex(a2, v66); std::string::operator=((unsigned __int8 *)(v67 + 104), (unsigned __int8 *)(v68 + 104)); } while ( v64 != v12 ); v69 = *((CCMenuItemToggler **)this + 166); if ( v69 ) CustomListView::reloadAll(v69); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 135) + 172))(*((_DWORD *)this + 135), 0); v70 = *((_DWORD *)this + 146); v71 = *(void (__fastcall **)(int, int))(*(_DWORD *)v70 + 464); v72 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%i to %i of %i", (const char *)(a4 + 1), a4 + v12, a3); CString = cocos2d::CCString::getCString(v72); v71(v70, CString); MessageThreadsPage::updateInviteButton((cocos2d::CCLabelBMFont **)this); return MessageThreadsPage::refetchIfQueued(this); }
GD Web Decomp Icon

GD Web Decomp

Raw Source