// // ProfilePage::loadPage from 0xa5cda0 to 0xa5cfe8 (584 bytes) // // 6 xrefs: // > ProfilePage::getUserInfoFinished @ 0xa5d050 // > ProfilePage::onNextPage @ 0xa5d0c0 // > ProfilePage::onPrevPage @ 0xa5d0cc // > ProfilePage::commentUploadFinished @ 0xa5d120 // > ProfilePage::commentDeleteFailed @ 0xa5d260 // > @ 0xc0a18 // // 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:12 +0000 // __int64 __fastcall ProfilePage::loadPage(ProfilePage *this, signed int a2) { __int64 *v3; // x21 GameLevelManager *v5; // x0 char *AccountCommentKey; // x0 __int64 v7; // x2 GameLevelManager *v8; // x0 GameLevelManager *v9; // x0 const char *v10; // x1 __int64 StoredOnlineLevels; // x0 __int64 v12; // x2 GameLevelManager *v13; // x0 GameLevelManager *v14; // x0 const char *v15; // x1 __int64 v16; // x23 void (__fastcall *v17)(ProfilePage *, __int64 *, char *); // x25 GameLevelManager *v18; // x0 const char *v19; // x1 char *PageInfo; // x0 size_t v21; // x0 char *v22; // x2 char *v23; // x2 GameLevelManager *v25; // x0 GameLevelManager *v26; // x0 GameLevelManager *v27; // x0 char *v28; // [xsp+58h] [xbp+58h] __int64 v29[2]; // [xsp+60h] [xbp+60h] BYREF void *v30; // [xsp+70h] [xbp+70h] v3 = (__int64 *)((char *)this + 744); v5 = (GameLevelManager *)GameLevelManager::sharedState(_stack_chk_guard); AccountCommentKey = (char *)GameLevelManager::getAccountCommentKey(v5, (const char *)*((unsigned int *)this + 184)); std::string::assign(v3, AccountCommentKey); (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 108) + 344LL))(*((_QWORD *)this + 108), 1); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 110) + 344LL))(*((_QWORD *)this + 110), 0); v7 = *((_QWORD *)this + 100); if ( a2 <= 0 ) v8 = (GameLevelManager *)(*(__int64 (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)v7 + 344LL))( *((_QWORD *)this + 100), 0); else v8 = (GameLevelManager *)(*(__int64 (__fastcall **)(_QWORD, __int64))(*(_QWORD *)v7 + 344LL))( *((_QWORD *)this + 100), 1); v9 = (GameLevelManager *)GameLevelManager::sharedState(v8); v10 = (char *)this + 745; if ( (*((_BYTE *)this + 744) & 1) != 0 ) v10 = (const char *)v3[2]; StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v9, v10); v12 = *((_QWORD *)this + 99); if ( StoredOnlineLevels ) v13 = (GameLevelManager *)(*(__int64 (__fastcall **)(_QWORD, __int64))(*(_QWORD *)v12 + 344LL))( *((_QWORD *)this + 99), 1); else v13 = (GameLevelManager *)(*(__int64 (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)v12 + 344LL))( *((_QWORD *)this + 99), 0); v14 = (GameLevelManager *)GameLevelManager::sharedState(v13); v15 = (char *)this + 745; if ( (*((_BYTE *)this + 744) & 1) != 0 ) v15 = (const char *)v3[2]; v16 = GameLevelManager::getStoredOnlineLevels(v14, v15); if ( v16 ) { v17 = *(void (__fastcall **)(ProfilePage *, __int64 *, char *))(*(_QWORD *)this + 1424LL); v18 = (GameLevelManager *)GameLevelManager::sharedState(*(GameLevelManager **)this); v19 = (char *)this + 745; if ( (*((_BYTE *)this + 744) & 1) != 0 ) v19 = (const char *)v3[2]; PageInfo = GameLevelManager::getPageInfo(v18, v19); v29[0] = 0; v28 = PageInfo; v29[1] = 0; v30 = nullptr; v21 = strlen(PageInfo); std::string::__init(v29, v28, v21); v22 = (char *)this + 745; if ( (*((_BYTE *)this + 744) & 1) != 0 ) v22 = (char *)v3[2]; v17(this, v29, v22); if ( (v29[0] & 1) != 0 ) operator delete(v30); v23 = (char *)this + 745; if ( (*((_BYTE *)this + 744) & 1) != 0 ) v23 = (char *)v3[2]; (*(void (__fastcall **)(ProfilePage *, __int64, char *))(*(_QWORD *)this + 1408LL))(this, v16, v23); } else { v25 = (GameLevelManager *)ProfilePage::setupCommentsBrowser(this, nullptr); v26 = (GameLevelManager *)GameLevelManager::sharedState(v25); *((_QWORD *)v26 + 155) = (char *)this + 672; v27 = (GameLevelManager *)GameLevelManager::sharedState(v26); GameLevelManager::getAccountComments(v27, (const char *)*((unsigned int *)this + 184), a2, *((_DWORD *)this + 212)); } *((_DWORD *)this + 215) = a2; return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source