// // FRequestProfilePage::loadPage from 0x5f2010 to 0x5f21e4 (468 bytes) // // 8 xrefs: // > FRequestProfilePage::init @ 0x5f2baa // > FRequestProfilePage::onClearSearch @ 0x5f2e54 // > FRequestProfilePage::onSelectMode @ 0x5f2eea // > FRequestProfilePage::doSearch @ 0x5f2f06 // > FRequestProfilePage::forceReloadRequests @ 0x5f2f14 // > FRequestProfilePage::onNextPage @ 0x5f2f28 // > FRequestProfilePage::onPrevPage @ 0x5f2f32 // > FRequestProfilePage::textChanged @ 0x5f3022 // // 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:54:28 +0000 // int __fastcall FRequestProfilePage::loadPage(FRequestProfilePage *this, const char *a2) { unsigned __int8 *v4; // r8 int v5; // r0 const char *FriendRequestKey; // r0 const char *v7; // r9 size_t v8; // r0 int v9; // r3 int v10; // r3 GameLevelManager *v11; // r0 GameLevelManager *v12; // r0 const char *v13; // r1 _BOOL4 StoredOnlineLevels; // r1 GameLevelManager *v15; // r0 GameLevelManager *v16; // r0 const char *v17; // r1 _BOOL4 v18; // r0 _BOOL4 v19; // r9 void (__fastcall *v20)(FRequestProfilePage *, int *, char *); // r10 GameLevelManager *v21; // r0 const char *v22; // r1 const char *PageInfo; // r11 size_t v24; // r0 char *v25; // r2 char *v26; // r2 GameLevelManager *v28; // r0 GameLevelManager *v29; // r0 int v30[3]; // [sp+Ch] [bp-20h] BYREF int v31[3]; // [sp+18h] [bp-14h] BYREF v4 = (unsigned __int8 *)this + 556; v5 = GameLevelManager::sharedState(this); FriendRequestKey = (const char *)GameLevelManager::getFriendRequestKey( v5, *((unsigned __int8 *)this + 540), (int)a2, v4, *((_BYTE *)this + 541)); memset(v30, 0, sizeof(v30)); v7 = FriendRequestKey; v8 = strlen(FriendRequestKey); std::string::__init(v30, v7, v8); v9 = *((unsigned __int8 *)this + 544); if ( (v9 & 1) != 0 ) v10 = *((_DWORD *)this + 137); else v10 = v9 >> 1; if ( v10 && !sub_5F0EEC((unsigned __int8 *)v30, (unsigned __int8 *)this + 544) ) { FRequestProfilePage::untoggleAll(this); FRequestProfilePage::updateSelectUI((GJSelectionStrip **)this); } std::string::operator=((unsigned __int8 *)this + 544, (unsigned __int8 *)v30); (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 146) + 172))(*((_DWORD *)this + 146), 1); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 151) + 172))(*((_DWORD *)this + 151), 0); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 144) + 172))(*((_DWORD *)this + 144), 0); v11 = (GameLevelManager *)(*(int (__fastcall **)(_DWORD, bool))(**((_DWORD **)this + 150) + 172))( *((_DWORD *)this + 150), (int)a2 > 0); v12 = (GameLevelManager *)GameLevelManager::sharedState(v11); if ( (*((_BYTE *)this + 544) & 1) != 0 ) v13 = *((const char **)this + 138); else v13 = (char *)this + 545; StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v12, v13); v15 = (GameLevelManager *)(*(int (__fastcall **)(_DWORD, _BOOL4))(**((_DWORD **)this + 149) + 172))( *((_DWORD *)this + 149), StoredOnlineLevels); v16 = (GameLevelManager *)GameLevelManager::sharedState(v15); if ( (*((_BYTE *)this + 544) & 1) != 0 ) v17 = *((const char **)this + 138); else v17 = (char *)this + 545; v18 = GameLevelManager::getStoredOnlineLevels(v16, v17); v19 = v18; if ( v18 ) { v20 = *(void (__fastcall **)(FRequestProfilePage *, int *, char *))(*(_DWORD *)this + 708); v21 = (GameLevelManager *)GameLevelManager::sharedState((GameLevelManager *)v18); if ( (*((_BYTE *)this + 544) & 1) != 0 ) v22 = *((const char **)this + 138); else v22 = (char *)this + 545; PageInfo = (const char *)GameLevelManager::getPageInfo(v21, v22); memset(v31, 0, sizeof(v31)); v24 = strlen(PageInfo); std::string::__init(v31, PageInfo, v24); if ( (*((_BYTE *)this + 544) & 1) != 0 ) v25 = *((char **)this + 138); else v25 = (char *)this + 545; v20(this, v31, v25); std::string::~string((int)v31); if ( (*((_BYTE *)this + 544) & 1) != 0 ) v26 = *((char **)this + 138); else v26 = (char *)this + 545; (*(void (__fastcall **)(FRequestProfilePage *, _BOOL4, char *))(*(_DWORD *)this + 700))(this, v19, v26); } else { v28 = (GameLevelManager *)FRequestProfilePage::setupCommentsBrowser(this, nullptr); v29 = (GameLevelManager *)GameLevelManager::sharedState(v28); GameLevelManager::getFriendRequests( v29, *((unsigned __int8 *)this + 540), a2, *((const char **)this + 160), v4, *((_BYTE *)this + 541)); } *((_DWORD *)this + 163) = a2; return std::string::~string((int)v30); }
GD Web Decomp Icon

GD Web Decomp

Raw Source