// // ProfilePage::loadPage from 0x1002309f4 to 0x100230b84 (400 bytes) // // 5 xrefs: // > sub_10022FEAC @ 0x10022feb4 // > sub_10022FEB8 @ 0x10022fec0 // > ProfilePage::getUserInfoFinished @ 0x1002309a0 // > ProfilePage::commentUploadFinished @ 0x100231130 // > ProfilePage::commentDeleteFailed @ 0x1002312f8 // // 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 11:01:17 +0000 // void __fastcall ProfilePage::loadPage(int *a1, int a2) { __int64 v4; // x0 const std::string::value_type *v5; // x0 char **v6; // x21 __int64 v7; // x0 char *v8; // x1 _BOOL8 v9; // x1 __int64 v10; // x0 char *v11; // x1 __int64 StoredOnlineLevels; // x0 __int64 v13; // x22 __int64 v14; // x0 char *v15; // x1 char *v16; // x0 char *v17; // x2 __int64 v18; // x0 void *__p[2]; // [xsp+8h] [xbp-38h] BYREF char v20; // [xsp+1Fh] [xbp-21h] v4 = GameLevelManager::sharedState(); v5 = (const std::string::value_type *)sub_1000C04E8(v4, a1[184], a2); v6 = (char **)(a1 + 186); std::string::assign((std::string *)a1 + 31, v5); (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)a1 + 108) + 344LL))(*((_QWORD *)a1 + 108), 1); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)a1 + 110) + 344LL))(*((_QWORD *)a1 + 110), 0); (*(void (__fastcall **)(_QWORD, bool))(**((_QWORD **)a1 + 100) + 344LL))(*((_QWORD *)a1 + 100), a2 > 0); v7 = GameLevelManager::sharedState(); v8 = (char *)(a1 + 186); if ( *((char *)a1 + 767) < 0 ) v8 = *v6; v9 = GameLevelManager::getStoredOnlineLevels(v7, v8) != 0; (*(void (__fastcall **)(_QWORD, _BOOL8))(**((_QWORD **)a1 + 99) + 344LL))(*((_QWORD *)a1 + 99), v9); v10 = GameLevelManager::sharedState(); v11 = (char *)(a1 + 186); if ( *((char *)a1 + 767) < 0 ) v11 = *v6; StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v10, v11); if ( StoredOnlineLevels ) { v13 = StoredOnlineLevels; v14 = GameLevelManager::sharedState(); v15 = (char *)(a1 + 186); if ( *((char *)a1 + 767) < 0 ) v15 = *v6; v16 = (char *)sub_1000ADAD8(v14, v15); sub_100009900(__p, v16); v17 = (char *)(a1 + 186); if ( *((char *)a1 + 767) < 0 ) v17 = *v6; (*(void (__fastcall **)(int *, void **, char *))(*(_QWORD *)a1 + 1424LL))(a1, __p, v17); if ( v20 < 0 ) operator delete(__p[0]); if ( *((char *)a1 + 767) < 0 ) v6 = (char **)*v6; (*(void (__fastcall **)(int *, __int64, char **))(*(_QWORD *)a1 + 1408LL))(a1, v13, v6); } else { sub_10022B0A0((__int64)a1, 0); *(_QWORD *)(GameLevelManager::sharedState() + 1240) = a1 + 168; v18 = GameLevelManager::sharedState(); sub_1000C030C(v18, a1[184], a2, a1[212]); } a1[215] = a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source