// // LevelBrowserLayer::updatePageLabel from 0x7f5b80 to 0x7f5c6c (236 bytes) // // 3 xrefs: // > LevelBrowserLayer::updateLevelsLabel @ 0x7f5cf0 // > LevelBrowserLayer::init @ 0x7f9924 // > @ 0x6d4f8 // // 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 12:54:37 +0000 // _QWORD *__fastcall LevelBrowserLayer::updatePageLabel(_QWORD *this) { __int64 v1; // x20 __int64 v2; // x1 unsigned __int64 v3; // x1 _QWORD *v4; // x19 void (__fastcall *v5)(__int64, __int64); // x22 cocos2d::CCString *v6; // x0 __int64 CString; // x0 __int64 v8; // x20 __int64 v9; // x0 const char *v10; // x1 void (__fastcall *v11)(__int64, __int64); // x21 cocos2d::CCString *v12; // x0 __int64 v13; // x0 v1 = *(this + 85); if ( v1 ) { v2 = *(this + 83); if ( v2 ) v3 = (unsigned int)(*(_DWORD *)(v2 + 392) + 1); else v3 = 1; v4 = this; v5 = *(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v1 + 928LL); v6 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)v3); CString = cocos2d::CCString::getCString(v6); v5(v1, CString); cocos2d::CCLabelBMFont::limitLabelWidth((cocos2d::CCLabelBMFont *)v4[85], 32.0, 0.8, 0.0); v8 = v4[87]; if ( v8 ) { v9 = v4[83]; if ( v9 ) v10 = (const char *)*(unsigned int *)(v9 + 420); else v10 = nullptr; v11 = *(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 928LL); v12 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", v10); v13 = cocos2d::CCString::getCString(v12); v11(v8, v13); cocos2d::CCLabelBMFont::limitLabelWidth((cocos2d::CCLabelBMFont *)v4[87], 24.0, 0.55, 0.0); } this = (_QWORD *)v4[79]; if ( this ) return (_QWORD *)(*(__int64 (__fastcall **)(_QWORD *, bool))(*this + 344LL))(this, *((_DWORD *)v4 + 186) > 0); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source