//
// sub_1005764C0 from 0x1005764c0 to 0x1005765b9 (249 bytes)
//
// 1 xrefs:
// > GameLevelManager::invalidateUserList @ 0x100576132
//
// 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:32:17 +0000
//
void __fastcall sub_1005764C0(__int64 a1, int a2)
{
__int64 v2; // rdi
__int64 v3; // rdi
__int64 v4; // rdi
__int64 v5; // rdi
char v6; // [rsp+0h] [rbp-20h] BYREF
void *v7[3]; // [rsp+1h] [rbp-1Fh] BYREF
switch ( a2 )
{
case 0:
v2 = *(_QWORD *)(a1 + 1040);
v6 = 22;
strcpy((char *)v7, "get_friends");
cocos2d::CCDictionary::removeObjectForKey(v2, &v6);
goto LABEL_6;
case 1:
v4 = *(_QWORD *)(a1 + 1040);
v6 = 22;
strcpy((char *)v7, "get_blocked");
cocos2d::CCDictionary::removeObjectForKey(v4, &v6);
goto LABEL_6;
case 3:
v3 = *(_QWORD *)(a1 + 1040);
v6 = 26;
strcpy((char *)v7, "get_following");
cocos2d::CCDictionary::removeObjectForKey(v3, &v6);
goto LABEL_6;
case 4:
v5 = *(_QWORD *)(a1 + 1040);
v6 = 18;
strcpy((char *)v7, "get_muted");
cocos2d::CCDictionary::removeObjectForKey(v5, &v6);
LABEL_6:
if ( (v6 & 1) != 0 )
operator delete(*(void **)((char *)&v7[1] + 7));
break;
default:
return;
}
}