// // ProfilePage::onUpdate from 0x10089edc0 to 0x10089f0b9 (761 bytes) // // 2 xrefs: // > ProfilePage::uploadActionFinished @ 0x1008a5b79 // > ProfilePage::init @ 0x10089e4e7 // // This function is hookable on this platform (idp: pc, 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 12:37:10 +0000 // void __fastcall ProfilePage::onUpdate(__int64 a1, double a2, __m128d a3) { char v4; // r14 __int64 v5; // rax __int64 v6; // rdi __int64 v7; // r14 __int64 v8; // rax __int64 v9; // rsi __int64 v10; // rdi __int64 v11; // r14 __int64 v12; // rax __int64 v13; // rsi __int64 v14; // rdi __int64 v15; // r14 __int64 v16; // rax __int64 v17; // rax __int64 v18; // rax __int64 v19; // rax __int64 v20; // rax __int64 v21; // rax __int64 v22; // rax __int64 v23; // rax __int64 v24; // rax __int64 v25; // rax __int64 v26; // r14 __int64 v27; // rax __int64 v28; // rax float v29; // [rsp+8h] [rbp-28h] BYREF __int64 v30; // [rsp+10h] [rbp-20h] BYREF v4 = *(_BYTE *)(a1 + 740); v5 = GameLevelManager::sharedState(); if ( v4 == 1 ) { if ( (unsigned int)GameLevelManager::getTimeLeft(v5, "upd_profile", COERCE_DOUBLE(1084227584), a3) - 1 >= 5 ) { v6 = GameLevelManager::sharedState(); GameLevelManager::makeTimeStamp(v6, "upd_profile"); v7 = GameLevelManager::sharedState(); v8 = GJAccountManager::sharedState(v6, (__int64)"upd_profile"); v9 = (unsigned int)(*(_DWORD *)(v8 + 352) - *(_DWORD *)(v8 + 356)); v10 = v7; GameLevelManager::resetStoredUserInfo(v7, v9); v11 = GameLevelManager::sharedState(); v12 = GJAccountManager::sharedState(v10, v9); v13 = (unsigned int)(*(_DWORD *)(v12 + 352) - *(_DWORD *)(v12 + 356)); v14 = v11; GameLevelManager::resetAccountComments(v11); v15 = GameLevelManager::sharedState(); v16 = GJAccountManager::sharedState(v14, v13); GameLevelManager::resetCommentTimersForAccountID(v15, *(_DWORD *)(v16 + 352) - *(_DWORD *)(v16 + 356)); v17 = GameLevelManager::sharedState(); sub_100569BF0(v17, 1); v18 = GameLevelManager::sharedState(); sub_100569BF0(v18, 0); v19 = GameLevelManager::sharedState(); sub_10057AC30(v19, 1, 0); v20 = GameLevelManager::sharedState(); sub_10057AC30(v20, 0, 0); v21 = GameLevelManager::sharedState(); GameLevelManager::invalidateUserList(v21, 0, 0); v22 = GameLevelManager::sharedState(); GameLevelManager::invalidateUserList(v22, 1u, 0); v23 = GameLevelManager::sharedState(); GameLevelManager::invalidateUserList(v23, 3u, 0); v24 = GameLevelManager::sharedState(); GameLevelManager::invalidateUserList(v24, 4u, 0); if ( *(_QWORD *)(a1 + 728) ) { v25 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(&v30, v25); v26 = *(_QWORD *)(*(_QWORD *)(a1 + 864) + 544LL); sub_100278250( &v29, (float)((float)(*(float *)&v30 * 0.5) + -220.0) + 10.0, (float)((float)((float)(0.5 * *((float *)&v30 + 1)) + -145.0) + 10.0) + 1.0); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v26 + 184LL))(v26, &v29); (*(void (__fastcall **)(_QWORD, float))(**(_QWORD **)(*(_QWORD *)(a1 + 864) + 544LL) + 160LL))( *(_QWORD *)(*(_QWORD *)(a1 + 864) + 544LL), 0.80000001); } (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 768) + 344LL))(*(_QWORD *)(a1 + 768), 0); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 864) + 344LL))(*(_QWORD *)(a1 + 864), 1); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 880) + 344LL))(*(_QWORD *)(a1 + 880), 0); *(_QWORD *)(GameLevelManager::sharedState() + 1352) = a1 + 688; v27 = GameLevelManager::sharedState(); GameLevelManager::getGJUserInfo(v27); } } else { GameLevelManager::resetCommentTimersForAccountID(v5, *(_DWORD *)(a1 + 736)); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 864) + 344LL))(*(_QWORD *)(a1 + 864), 1); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 800) + 344LL))(*(_QWORD *)(a1 + 800), 0); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 792) + 344LL))(*(_QWORD *)(a1 + 792), 0); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 880) + 344LL))(*(_QWORD *)(a1 + 880), 0); ProfilePage::setupCommentsBrowser(a1, 0); *(_QWORD *)(GameLevelManager::sharedState() + 1352) = a1 + 688; v28 = GameLevelManager::sharedState(); GameLevelManager::getGJUserInfo(v28); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source