// // GameLevelManager::getStoredUserList from 0x6fa3c4 to 0x6fa540 (380 bytes) // // 4 xrefs: // > GameLevelManager::onRemoveFriendCompleted @ 0x6fa6c4 // > GameLevelManager::removeUserFromList @ 0x6fa850 // > FriendsProfilePage::init @ 0x8f7294 // > @ 0x55f08 // // 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 // cocos2d::CCArray *GameLevelManager::getStoredUserList(GameLevelManager *a1, UserListType a2) { cocos2d::CCArray *v2; // x20 cocos2d::CCDictionary *m_storedLevels; // x21 cocos2d::CCArray *v5; // x0 stl::StringData::Internal *m_data; // x2 char *v7; // x0 unsigned int *v8; // x2 int v9; // w1 cocos2d::CCDictionary *v10; // x21 cocos2d::CCArray *v11; // x0 unsigned int *v12; // x2 std::string v13; // [xsp+40h] [xbp+40h] BYREF if ( a2 ) { if ( a2 != Blocked ) return nullptr; m_storedLevels = a1->m_storedLevels; sub_D153B8((int)&v13, "get_blocked"); v5 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(m_storedLevels, &v13); m_data = v13.m_data.m_data; v2 = v5; v7 = (char *)v13.m_data.m_data - 24; if ( (__int64 *)v13.m_data.m_data - 3 == &qword_124B6B0 ) return v2; if ( &pthread_create ) { v8 = (unsigned int *)((char *)v13.m_data.m_data - 8); do v9 = __ldaxr(v8); while ( __stlxr(v9 - 1, v8) ); goto LABEL_14; } LABEL_16: v9 = *((_DWORD *)m_data - 2); *((_DWORD *)m_data - 2) = v9 - 1; goto LABEL_14; } v10 = a1->m_storedLevels; sub_D153B8((int)&v13, "get_friends"); v11 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(v10, &v13); m_data = v13.m_data.m_data; v2 = v11; v7 = (char *)v13.m_data.m_data - 24; if ( (__int64 *)v13.m_data.m_data - 3 == &qword_124B6B0 ) return v2; if ( !&pthread_create ) goto LABEL_16; v12 = (unsigned int *)((char *)v13.m_data.m_data - 8); do v9 = __ldaxr(v12); while ( __stlxr(v9 - 1, v12) ); LABEL_14: if ( v9 <= 0 ) operator delete(v7); return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source