// // SFXBrowser::updatePageLabel from 0xb906a4 to 0xb90824 (384 bytes) // // 2 xrefs: // > SFXBrowser::setupList @ 0xb927c8 // > @ 0xf0238 // // 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:38 +0000 // __int64 __fastcall SFXBrowser::updatePageLabel(SFXBrowser *this) { int v2; // w0 int v3; // w21 __int64 v4; // x1 int v5; // w20 int v6; // w21 const char *v7; // x1 __int64 v8; // x2 signed int v9; // w20 cocos2d::CCString *v10; // x0 char *CString; // x0 char *v12; // x1 __int64 v14; // [xsp+30h] [xbp+30h] BYREF __int64 v15; // [xsp+38h] [xbp+38h] void *v16; // [xsp+40h] [xbp+40h] v2 = cocos2d::CCArray::count(*(cocos2d::CCArray **)(*((_QWORD *)this + 89) + 64LL)); if ( v2 <= 0 ) { v14 = 0; v15 = 0; v16 = nullptr; std::string::assign(&v14, "No matches"); v9 = 0; } else { v3 = *((_DWORD *)this + 276); v4 = *((_QWORD *)this + 89); v5 = (v2 - 1) / v3; v14 = 0; LODWORD(v4) = *(_DWORD *)(v4 + 96); v15 = 0; v16 = nullptr; LODWORD(v4) = v3 * v4; v6 = v3 + v4; v7 = (const char *)(unsigned int)(v4 + 1); if ( v2 > v6 ) v8 = (unsigned int)v6; else v8 = (unsigned int)v2; v9 = vcvtps_s32_f32((float)v5); v10 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%i to %i of %i", v7, v8, (unsigned int)v2); CString = (char *)cocos2d::CCString::getCString(v10); std::string::assign(&v14, CString); } v12 = (char *)&v14 + 1; if ( (v14 & 1) != 0 ) v12 = (char *)v16; (*(void (__fastcall **)(_QWORD, char *))(**((_QWORD **)this + 99) + 928LL))(*((_QWORD *)this + 99), v12); (*(void (__fastcall **)(_QWORD, bool))(**((_QWORD **)this + 100) + 344LL))( *((_QWORD *)this + 100), *(_DWORD *)(*((_QWORD *)this + 89) + 96LL) > 0); (*(void (__fastcall **)(_QWORD, bool))(**((_QWORD **)this + 101) + 344LL))( *((_QWORD *)this + 101), *(_DWORD *)(*((_QWORD *)this + 89) + 96LL) < v9); if ( (v14 & 1) != 0 ) operator delete(v16); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source