//
// NotificationsPage::updateCountLabel from 0x743cb4 to 0x743d1a (102 bytes)
//
// 1 xrefs:
// > NotificationsPage::loadNotificationsFinished @ 0x743dc4
//
// 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:58:40 +0000
//
int __fastcall NotificationsPage::updateCountLabel(NotificationsPage *this)
{
cocos2d::CCArray *v2; // r0
int v3; // r0
const char *v4; // r1
int (__fastcall *v5)(int, const char *); // r3
int v6; // r6
int v7; // r5
int (__fastcall *v8)(int, const char *); // r7
int v9; // r0
cocos2d::CCString *v10; // r0
const char *CString; // r0
if ( *((int *)this + 140) > 0 && (v2 = *((cocos2d::CCArray **)this + 138)) != nullptr && cocos2d::CCArray::count(v2) )
{
v6 = *((_DWORD *)this + 131);
v7 = *((_DWORD *)this + 139) * *((_DWORD *)this + 141);
v8 = *(int (__fastcall **)(int, const char *))(*(_DWORD *)v6 + 464);
v9 = cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 138));
v10 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%i to %i of %i",
(const char *)(v7 + 1),
v7 + v9,
*((_DWORD *)this + 140));
CString = (const char *)cocos2d::CCString::getCString(v10);
v5 = v8;
v4 = CString;
v3 = v6;
}
else
{
v3 = *((_DWORD *)this + 131);
v4 = " ";
v5 = *(int (__fastcall **)(int, const char *))(*(_DWORD *)v3 + 464);
}
return v5(v3, v4);
}