//
// FRequestProfilePage::removeFromNewCount from 0x5f10dc to 0x5f110e (50 bytes)
//
// 2 xrefs:
// > FRequestProfilePage::deleteSelected @ 0x5f1a74
// > FRequestProfilePage::onMarkRead @ 0x5f30de
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:54:27 +0000
//
GameLevelManager *__fastcall FRequestProfilePage::removeFromNewCount(GameLevelManager *this, int a2)
{
GJAccountManager *v3; // r5
int v4; // r0
if ( a2 > 0 )
{
v3 = (GJAccountManager *)GameLevelManager::sharedState(this);
v4 = GJAccountManager::sharedState(v3);
this = (GameLevelManager *)GameLevelManager::userInfoForAccountID(
(cocos2d::CCDictionary **)v3,
*(_DWORD *)(v4 + 280) - *(_DWORD *)(v4 + 284));
if ( this )
*((_DWORD *)this + 132) = (*((_DWORD *)this + 132) - a2) & ~((*((_DWORD *)this + 132) - a2) >> 31);
}
return this;
}