//
// NotificationsPage::updateCountLabel from 0x10098c2e0 to 0x10098c393 (179 bytes)
//
// 1 xrefs:
// > NotificationsPage::loadNotificationsFinished @ 0x10098c26f
//
// 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:39:06 +0000
//
__int64 __fastcall NotificationsPage::updateCountLabel(__int64 a1)
{
__int64 v2; // rdi
int v3; // r15d
__int64 v4; // r14
int v5; // eax
char *v6; // rax
__int64 CString; // rax
if ( *(int *)(a1 + 740) <= 0 )
return (*(__int64 (__fastcall **)(_QWORD, const std::string::value_type *))(**(_QWORD **)(a1 + 672) + 928LL))(
*(_QWORD *)(a1 + 672),
" ");
v2 = *(_QWORD *)(a1 + 728);
if ( !v2 || !(unsigned int)sub_1007FEF90(v2) )
return (*(__int64 (__fastcall **)(_QWORD, const std::string::value_type *))(**(_QWORD **)(a1 + 672) + 928LL))(
*(_QWORD *)(a1 + 672),
" ");
v3 = *(_DWORD *)(a1 + 736) * *(_DWORD *)(a1 + 744);
v4 = *(_QWORD *)(a1 + 672);
v5 = sub_1007FEF90(*(_QWORD *)(a1 + 728));
v6 = sub_10088E820("%i to %i of %i", v3 + 1, v5 + v3, *(_DWORD *)(a1 + 740));
CString = cocos2d::CCString::getCString((__int64)v6);
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 928LL))(v4, CString);
}