// // FriendsProfilePage::onUpdate from 0x140216e80 to 0x140216f9f (287 bytes) // // 2 xrefs: // > FriendsProfilePage::init @ 0x1402141e1 // > @ 0x14091b794 // // 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 11:28:21 +0000 // // Hidden C++ exception states: #wind=3 __int64 __fastcall FriendsProfilePage::onUpdate(__int64 a1) { __int64 v2; // rcx __int64 result; // rax __int64 v4; // rcx __int64 v5; // rbx unsigned int v6; // edi __int64 v7; // rcx void *v8; // [rsp+40h] [rbp+18h] void *v9; // [rsp+40h] [rbp+18h] void *v10; // [rsp+40h] [rbp+18h] v2 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v8 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v8); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v2 = *(_QWORD *)&qword_14090BFB0; } result = (unsigned int)GameLevelManager::getTimeLeft(v2, "upd_friends") - 1; if ( (unsigned int)result > 4 ) { v4 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v9 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v9); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v4 = *(_QWORD *)&qword_14090BFB0; } GameLevelManager::makeTimeStamp(v4, "upd_friends"); v5 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v10 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager(v10); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v5 = *(_QWORD *)&qword_14090BFB0; } v6 = *(_DWORD *)(a1 + 816); result = GameLevelManager::resetStoredUserList(v5, v6); v7 = *(_QWORD *)(v5 + 1496); if ( v7 ) return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v7 + 24LL))(v7, v6); } return result; }