// // FriendsProfilePage::onUpdate from 0x140140a70 to 0x140140b89 (281 bytes) // // 2 xrefs: // > FriendsProfilePage::init @ 0x1401402f5 // > @ 0x1406ca2d8 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // // Hidden C++ exception states: #wind=3 void FriendsProfilePage::onUpdate(FriendsProfilePage *a1, cocos2d::CCObject *a2) { GameLevelManager *v3; // rcx GameLevelManager *v4; // rcx GameLevelManager *v5; // rbx UserListType m_type; // edi UserListDelegate *m_userListDelegate; // rcx void *v8; // [rsp+40h] [rbp+18h] void *v9; // [rsp+40h] [rbp+18h] void *v10; // [rsp+40h] [rbp+18h] v3 = (GameLevelManager *)qword_1406C2EC0; if ( !qword_1406C2EC0 ) { v8 = operator new(0x3D0u); qword_1406C2EC0 = sub_140141280(v8); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0); v3 = (GameLevelManager *)qword_1406C2EC0; } if ( (unsigned int)(GameLevelManager::getTimeLeft(v3, "upd_friends", 5.0) - 1) > 4 ) { v4 = (GameLevelManager *)qword_1406C2EC0; if ( !qword_1406C2EC0 ) { v9 = operator new(0x3D0u); qword_1406C2EC0 = sub_140141280(v9); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0); v4 = (GameLevelManager *)qword_1406C2EC0; } GameLevelManager::makeTimeStamp(v4, "upd_friends"); v5 = (GameLevelManager *)qword_1406C2EC0; if ( !qword_1406C2EC0 ) { v10 = operator new(0x3D0u); qword_1406C2EC0 = sub_140141280(v10); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0); v5 = (GameLevelManager *)qword_1406C2EC0; } m_type = a1->m_type; GameLevelManager::resetStoredUserList(v5, m_type); m_userListDelegate = v5->m_userListDelegate; if ( m_userListDelegate ) m_userListDelegate->forceReloadList(m_userListDelegate, m_type); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source