// // MessageThreadsPage::loadPage from 0xc74f80 to 0xc75188 (520 bytes) // // 17 xrefs: // > MessageThreadsPage::init @ 0xc7645c // > MessageThreadsPage::onThreadsChanged @ 0xc76598 // > MessageThreadsPage::threadUpdateFinished @ 0xc766e4 // > MessageThreadsPage::onPrevPage @ 0xc76794 // > MessageThreadsPage::onNextPage @ 0xc767a4 // > MessageThreadsPage::onInboxPoll @ 0xc7681c // > MessageThreadsPage::refetchIfQueued @ 0xc76840 // > MessageThreadsPage::applyThreadList @ 0xc76ba8 // > MessageThreadsPage::threadListFailed @ 0xc76d78 // > MessageThreadsPage::onClearSearch @ 0xc78530 // > MessageThreadsPage::onSearch @ 0xc78784 // > MessageThreadsPage::friendPickerClosed @ 0xc787cc // > MessageThreadsPage::onSelectFilter @ 0xc78928 // > MessageThreadsPage::onRefresh @ 0xc78a64 // > MessageThreadsPage::onRefresh @ 0xc78a78 // > MessageThreadsPage::threadListFinished @ 0xc7c43c // > @ 0xc7960 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:05:32 +0000 // __int64 __fastcall MessageThreadsPage::loadPage(MessageThreadsPage *this, unsigned int a2, unsigned __int8 a3) { int v5; // w23 GameLevelManager *v6; // x0 cocos2d::CCObject *v7; // x24 int Threads; // w24 cocos2d::CCDirector *v10; // x0 __int64 v11; // x0 cocos2d::CCTouchDispatcher *v12; // x0 __int64 v13; // x1 unsigned int v14; // [xsp+48h] [xbp+48h] _QWORD v15[2]; // [xsp+50h] [xbp+50h] BYREF void *v16; // [xsp+60h] [xbp+60h] v5 = a3; if ( (a2 & 0x80000000) != 0 ) return _stack_chk_guard; v6 = (GameLevelManager *)GameLevelManager::sharedState(_stack_chk_guard); *((_QWORD *)v6 + 158) = (char *)this + 664; v7 = (cocos2d::CCObject *)GameLevelManager::sharedState(v6); v14 = *((_DWORD *)this + 212); MessageThreadsPage::userFilterCSV(this, v15); Threads = (unsigned __int8)GameLevelManager::getThreads(v7, a2, (char *)this + 808, v14, (unsigned __int8 *)v15); if ( (v15[0] & 1) != 0 ) { operator delete(v16); if ( !Threads ) goto LABEL_4; } else if ( !Threads ) { LABEL_4: if ( v5 ) { *((_BYTE *)this + 930) = 1; return _stack_chk_guard; } *((_WORD *)this + 464) = 1; *((_DWORD *)this + 210) = a2; goto LABEL_8; } *((_DWORD *)this + 208) = a2; MessageThreadsPage::userFilterCSV(this, v15); if ( (*((_BYTE *)this + 888) & 1) != 0 ) { **((_BYTE **)this + 113) = 0; *((_QWORD *)this + 112) = 0; } else { *((_BYTE *)this + 889) = 0; *((_BYTE *)this + 888) = 0; } std::string::reserve((__int64 *)this + 111, 0); *((_QWORD *)this + 113) = v16; v13 = v15[1]; *((_QWORD *)this + 111) = v15[0]; *((_QWORD *)this + 112) = v13; if ( v5 ) { *((_BYTE *)this + 929) = 1; return _stack_chk_guard; } *((_BYTE *)this + 929) = 0; LABEL_8: v10 = *((cocos2d::CCDirector **)this + 86); if ( v10 ) { v11 = cocos2d::CCDirector::sharedDirector(v10); v12 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v11 + 160LL))(v11); cocos2d::CCTouchDispatcher::unregisterForcePrio(v12, *((cocos2d::CCObject **)this + 86)); (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 86) + 528LL))(*((_QWORD *)this + 86), 1); *((_QWORD *)this + 86) = 0; *((_QWORD *)this + 117) = 0; } (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 87) + 344LL))(*((_QWORD *)this + 87), 1); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 88) + 344LL))(*((_QWORD *)this + 88), 0); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 89) + 344LL))(*((_QWORD *)this + 89), 0); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 90) + 344LL))(*((_QWORD *)this + 90), 0); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source