// // MusicBrowser::updatePageLabel from 0x6be03c to 0x6be0e0 (164 bytes) // // 1 xrefs: // > MusicBrowser::setupList @ 0x6be430 // // 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:56:48 +0000 // int __fastcall MusicBrowser::updatePageLabel(MusicBrowser *this) { int v2; // r0 int v3; // r7 int v4; // r2 const char *v5; // r1 int v6; // r2 cocos2d::CCString *v7; // r0 char *CString; // r1 char *v9; // r1 int v11; // [sp+0h] [bp-14h] BYREF int v12; // [sp+4h] [bp-10h] char *v13; // [sp+8h] [bp-Ch] v2 = cocos2d::CCArray::count(*(cocos2d::CCArray **)(*((_DWORD *)this + 136) + 56)); v11 = 0; v12 = 0; v13 = nullptr; v3 = v2; if ( v2 <= 0 ) { CString = "No matches"; } else { cocos2d::CCArray::count(*(cocos2d::CCArray **)(*((_DWORD *)this + 136) + 56)); v4 = 10 * *(_DWORD *)(*((_DWORD *)this + 136) + 72); v5 = (const char *)(v4 + 1); if ( v4 + 9 >= v3 ) v6 = v3; else v6 = v4 + 10; v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%i to %i of %i", v5, v6, v3, v11, v12); CString = (char *)cocos2d::CCString::getCString(v7); } std::string::assign(&v11, CString); if ( (v11 & 1) != 0 ) v9 = v13; else v9 = (char *)&v11 + 1; (*(void (__fastcall **)(_DWORD, char *, int))(**((_DWORD **)this + 139) + 464))( *((_DWORD *)this + 139), v9, (unsigned __int8)v11 << 31); return std::string::~string((int)&v11); }
GD Web Decomp Icon

GD Web Decomp

Raw Source