// // LevelBrowserLayer::updatePageLabel from 0x100496ec0 to 0x100496fc4 (260 bytes) // // 2 xrefs: // > LevelBrowserLayer::init @ 0x10049568c // > LevelBrowserLayer::updateLevelsLabel @ 0x10049a298 // // 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 11:05:56 +0000 // _QWORD *__fastcall LevelBrowserLayer::updatePageLabel(_QWORD *result) { __int64 v1; // x20 _QWORD *v2; // x19 __int64 v3; // x8 int v4; // w8 void *v5; // x0 __int64 CString; // x0 __int64 v7; // x20 __int64 v8; // x8 void *v9; // x0 __int64 v10; // x0 v1 = result[85]; if ( v1 ) { v2 = result; v3 = result[83]; if ( v3 ) v4 = *(_DWORD *)(v3 + 392) + 1; else v4 = 1; v5 = sub_1003065B0("%i", v4); CString = cocos2d::CCString::getCString((__int64)v5); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v1 + 928LL))(v1, CString); cocos2d::CCLabelBMFont::limitLabelWidth(v2[85], 32.0, 0.8, 0.0); v7 = v2[87]; if ( v7 ) { v8 = v2[83]; if ( v8 ) LODWORD(v8) = *(_DWORD *)(v8 + 420); v9 = sub_1003065B0("%i", v8); v10 = cocos2d::CCString::getCString((__int64)v9); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 928LL))(v7, v10); cocos2d::CCLabelBMFont::limitLabelWidth(v2[87], 24.0, 0.55, 0.0); } result = (_QWORD *)v2[79]; if ( result ) return (_QWORD *)(*(__int64 (__fastcall **)(_QWORD *, bool))(*result + 344LL))(result, *((_DWORD *)v2 + 186) > 0); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source