// // FRequestProfilePage::loadPage from 0xa4dcf4 to 0xa4e008 (788 bytes) // // 10 xrefs: // > FRequestProfilePage::init @ 0xa4ec08 // > FRequestProfilePage::onClearSearch @ 0xa4ef84 // > FRequestProfilePage::onSelectMode @ 0xa4f090 // > FRequestProfilePage::doSearch @ 0xa4f0d8 // > FRequestProfilePage::forceReloadRequests @ 0xa4f0f0 // > FRequestProfilePage::onNextPage @ 0xa4f104 // > FRequestProfilePage::onPrevPage @ 0xa4f110 // > FRequestProfilePage::textChanged @ 0xa4f1e0 // > FRequestProfilePage::textChanged @ 0xa4f294 // > @ 0xa0db0 // // 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:00:03 +0000 // __int64 __fastcall FRequestProfilePage::loadPage(FRequestProfilePage *this, signed int a2) { unsigned __int8 *v3; // x24 __int64 *v4; // x20 __int64 v6; // x0 const char *FriendRequestKey; // x0 size_t v8; // x0 __int64 v9; // x1 size_t v10; // x2 char *v11; // x1 __int64 v12; // x2 GameLevelManager *v13; // x0 GameLevelManager *v14; // x0 const char *v15; // x1 __int64 StoredOnlineLevels; // x0 __int64 v17; // x2 GameLevelManager *v18; // x0 GameLevelManager *v19; // x0 const char *v20; // x1 __int64 v21; // x22 void (__fastcall *v22)(FRequestProfilePage *, __int64 *, char *); // x25 GameLevelManager *v23; // x0 const char *v24; // x1 size_t v25; // x0 char *v26; // x2 char *v27; // x2 char v28; // w0 GameLevelManager *v30; // x0 GameLevelManager *v31; // x0 char *v32; // [xsp+58h] [xbp+58h] char *PageInfo; // [xsp+58h] [xbp+58h] __int64 v34; // [xsp+68h] [xbp+68h] BYREF size_t v35; // [xsp+70h] [xbp+70h] void *v36; // [xsp+78h] [xbp+78h] __int64 v37[2]; // [xsp+80h] [xbp+80h] BYREF void *v38; // [xsp+90h] [xbp+90h] v3 = (unsigned __int8 *)this + 736; v4 = (__int64 *)((char *)this + 712); v6 = GameLevelManager::sharedState(_stack_chk_guard); FriendRequestKey = (const char *)GameLevelManager::getFriendRequestKey( v6, *((_BYTE *)this + 704), a2, v3, *((_BYTE *)this + 705)); v34 = 0; v32 = (char *)FriendRequestKey; v35 = 0; v36 = nullptr; v8 = strlen(FriendRequestKey); std::string::__init(&v34, v32, v8); v9 = *((_BYTE *)this + 712) >> 1; if ( (*((_BYTE *)this + 712) & 1) != 0 ) v9 = v4[1]; if ( v9 && !sub_A4C10C((__int64)&v34, (__int64)v4) ) { FRequestProfilePage::untoggleAll(this); FRequestProfilePage::updateSelectUI((GJSelectionStrip **)this); } if ( v4 != &v34 ) { if ( (v34 & 1) != 0 ) { v11 = (char *)v36; v10 = v35; } else { v10 = (unsigned __int8)v34 >> 1; v11 = (char *)&v34 + 1; } std::string::assign(v4, v11, v10); } (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 99) + 344LL))(*((_QWORD *)this + 99), 1); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 104) + 344LL))(*((_QWORD *)this + 104), 0); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 97) + 344LL))(*((_QWORD *)this + 97), 0); v12 = *((_QWORD *)this + 103); if ( a2 <= 0 ) v13 = (GameLevelManager *)(*(__int64 (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)v12 + 344LL))( *((_QWORD *)this + 103), 0); else v13 = (GameLevelManager *)(*(__int64 (__fastcall **)(_QWORD, __int64))(*(_QWORD *)v12 + 344LL))( *((_QWORD *)this + 103), 1); v14 = (GameLevelManager *)GameLevelManager::sharedState(v13); v15 = (char *)this + 713; if ( (*((_BYTE *)this + 712) & 1) != 0 ) v15 = (const char *)v4[2]; StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v14, v15); v17 = *((_QWORD *)this + 102); if ( StoredOnlineLevels ) v18 = (GameLevelManager *)(*(__int64 (__fastcall **)(_QWORD, __int64))(*(_QWORD *)v17 + 344LL))( *((_QWORD *)this + 102), 1); else v18 = (GameLevelManager *)(*(__int64 (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)v17 + 344LL))( *((_QWORD *)this + 102), 0); v19 = (GameLevelManager *)GameLevelManager::sharedState(v18); v20 = (char *)this + 713; if ( (*((_BYTE *)this + 712) & 1) != 0 ) v20 = (const char *)v4[2]; v21 = GameLevelManager::getStoredOnlineLevels(v19, v20); if ( v21 ) { v22 = *(void (__fastcall **)(FRequestProfilePage *, __int64 *, char *))(*(_QWORD *)this + 1416LL); v23 = (GameLevelManager *)GameLevelManager::sharedState(*(GameLevelManager **)this); v24 = (char *)this + 713; if ( (*((_BYTE *)this + 712) & 1) != 0 ) v24 = (const char *)v4[2]; PageInfo = GameLevelManager::getPageInfo(v23, v24); v37[0] = 0; v37[1] = 0; v38 = nullptr; v25 = strlen(PageInfo); std::string::__init(v37, PageInfo, v25); v26 = (char *)this + 713; if ( (*((_BYTE *)this + 712) & 1) != 0 ) v26 = (char *)v4[2]; v22(this, v37, v26); if ( (v37[0] & 1) != 0 ) operator delete(v38); v27 = (char *)this + 713; if ( (*((_BYTE *)this + 712) & 1) != 0 ) v27 = (char *)v4[2]; (*(void (__fastcall **)(FRequestProfilePage *, __int64, char *))(*(_QWORD *)this + 1400LL))(this, v21, v27); } else { v30 = (GameLevelManager *)FRequestProfilePage::setupCommentsBrowser(this, nullptr); v31 = (GameLevelManager *)GameLevelManager::sharedState(v30); GameLevelManager::getFriendRequests( v31, *((_BYTE *)this + 704), a2, *((_DWORD *)this + 226), (__int64)v3, *((_BYTE *)this + 705)); } v28 = v34; *((_DWORD *)this + 229) = a2; if ( (v28 & 1) != 0 ) operator delete(v36); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source