// // MusicBrowser::updatePageLabel from 0xb84e94 to 0xb84fbc (296 bytes) // // 2 xrefs: // > MusicBrowser::setupList @ 0xb8544c // > @ 0x872c8 // // This function is hookable on this platform (idp: arm, 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 13:02:30 +0000 // __int64 __fastcall MusicBrowser::updatePageLabel(MusicBrowser *this) { int v2; // w0 unsigned int v3; // w22 int v4; // w1 int v5; // w4 __int64 v6; // x2 const char *v7; // x1 cocos2d::CCString *v8; // x0 char *CString; // x0 char *v10; // x1 __int64 v12[2]; // [xsp+30h] [xbp+30h] BYREF void *v13; // [xsp+40h] [xbp+40h] v2 = cocos2d::CCArray::count(*(cocos2d::CCArray **)(*((_QWORD *)this + 89) + 64LL)); v12[0] = 0; v12[1] = 0; v13 = nullptr; v3 = v2; if ( v2 <= 0 ) { std::string::assign(v12, "No matches"); } else { cocos2d::CCArray::count(*(cocos2d::CCArray **)(*((_QWORD *)this + 89) + 64LL)); v4 = 10 * *(_DWORD *)(*((_QWORD *)this + 89) + 96LL); v5 = v4 + 9; LODWORD(v6) = v4 + 10; v7 = (const char *)(unsigned int)(v4 + 1); if ( (int)v3 <= v5 ) v6 = v3; else v6 = (unsigned int)v6; v8 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i to %i of %i", v7, v6, v3); CString = (char *)cocos2d::CCString::getCString(v8); std::string::assign(v12, CString); } if ( (v12[0] & 1) != 0 ) v10 = (char *)v13; else v10 = (char *)v12 + 1; (*(void (__fastcall **)(_QWORD, char *))(**((_QWORD **)this + 92) + 928LL))(*((_QWORD *)this + 92), v10); if ( (v12[0] & 1) != 0 ) operator delete(v13); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source