// // LevelBrowserLayer::updatePageLabel from 0x1403e6a20 to 0x1403e6b47 (295 bytes) // // 5 xrefs: // > LevelBrowserLayer::init @ 0x1403e288f // > LevelBrowserLayer::setupPageInfo @ 0x1403e63ca // > @ 0x1408c4b68 // > @ 0x1408c4b78 // > @ 0x140924f68 // // This function is hookable on this platform (idp: pc, 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:31:43 +0000 // void __fastcall LevelBrowserLayer::updatePageLabel(__int64 a1) { __int64 v1; // rdi __int64 v3; // rax unsigned int v4; // ebp int v5; // edx void (__fastcall **v6)(__int64, const char *); // rbx cocos2d::CCString *v7; // rax const char *CString; // rax __int64 v9; // rdx __int64 v10; // rdi __int64 v11; // rax void (__fastcall **v12)(__int64, const char *); // rbx cocos2d::CCString *v13; // rax const char *v14; // rax __int64 v15; // rcx v1 = *(_QWORD *)(a1 + 680); if ( v1 ) { v3 = *(_QWORD *)(a1 + 664); v4 = 0; if ( v3 ) v5 = *(_DWORD *)(v3 + 424); else v5 = 0; v6 = *(void (__fastcall ***)(__int64, const char *))(v1 + 360); v7 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, (unsigned int)(v5 + 1)); CString = cocos2d::CCString::getCString(v7); (*v6)(v1 + 360, CString); cocos2d::CCLabelBMFont::limitLabelWidth(*(cocos2d::CCLabelBMFont **)(a1 + 680), 32.0, 0.80000001, 0.0); v10 = *(_QWORD *)(a1 + 696); if ( v10 ) { v11 = *(_QWORD *)(a1 + 664); if ( v11 ) v4 = *(_DWORD *)(v11 + 452); v12 = *(void (__fastcall ***)(__int64, const char *))(v10 + 360); v13 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, v4); v14 = cocos2d::CCString::getCString(v13); (*v12)(v10 + 360, v14); cocos2d::CCLabelBMFont::limitLabelWidth(*(cocos2d::CCLabelBMFont **)(a1 + 696), 24.0, 0.55000001, 0.0); } v15 = *(_QWORD *)(a1 + 632); if ( v15 ) { LOBYTE(v9) = *(_DWORD *)(a1 + 744) > 0; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v15 + 336LL))(v15, v9); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source