//
// GameLevelManager::dropIgnoredRequestLists from 0x14023dc80 to 0x14023ddde (350 bytes)
//
// 3 xrefs:
// > GameLevelManager::friendRequestWasRemoved @ 0x140258398
// > GameLevelManager::invalidateRequests @ 0x140258852
// > ??> @ 0x14091c124
//
// 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:35 +0000
//
// Hidden C++ exception states: #wind=1
void __fastcall GameLevelManager::dropIgnoredRequestLists(__int64 a1)
{
struct cocos2d::CCArray *v2; // rax
unsigned int *v3; // rdi
__int64 v4; // rax
cocos2d::CCString **v5; // rdi
cocos2d::CCString **i; // rsi
const char *CString; // rbx
size_t v8; // r8
void *v9; // rcx
__int128 v10; // [rsp+30h] [rbp-38h] BYREF
__int128 v11; // [rsp+40h] [rbp-28h]
v2 = cocos2d::CCDictionary::allKeys(*(cocos2d::CCDictionary **)(a1 + 1152));
if ( v2 )
{
v3 = *((unsigned int **)v2 + 7);
v4 = *v3;
if ( (_DWORD)v4 )
{
v5 = *((cocos2d::CCString ***)v3 + 2);
for ( i = &v5[v4 - 1]; v5 <= i; ++v5 )
{
if ( !*v5 )
break;
CString = cocos2d::CCString::getCString(*v5);
if ( !strncmp(CString, "fReqI", 5u) )
{
v10 = 0;
v11 = 0;
v8 = -1;
do
++v8;
while ( CString[v8] );
sub_14003D230(&v10, CString, v8);
cocos2d::CCDictionary::removeObjectForKey(*(_QWORD *)(a1 + 1152), &v10);
if ( *((_QWORD *)&v11 + 1) > 0xFu )
{
v9 = (void *)v10;
if ( (unsigned __int64)(*((_QWORD *)&v11 + 1) + 1LL) >= 0x1000 )
{
v9 = *(void **)(v10 - 8);
if ( (unsigned __int64)(v10 - (_QWORD)v9 - 8) > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
}
j_j_free(v9);
}
}
}
}
}
}