// // EditorUI::updateGroupIDLabel from 0x7c6168 to 0x7c6290 (296 bytes) // // 11 xrefs: // > LevelEditorLayer::updateOptions @ 0x789730 // > EditorUI::onGoToLayer @ 0x7c62f8 // > EditorUI::onGoToLayer @ 0x7c6314 // > EditorUI::onGoToBaseLayer @ 0x7c6388 // > EditorUI::onGroupUp @ 0x7c63a0 // > EditorUI::onGroupDown @ 0x7c63bc // > EditorUI::onLockLayer @ 0x7c6408 // > EditorUI::onGoToFreeLayer @ 0x7c6490 // > EditorUI::showUI @ 0x7ce394 // > EditorUI::init @ 0x7d0e14 // > @ 0x57550 // // 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:08 +0000 // __int64 __fastcall EditorUI::updateGroupIDLabel(EditorUI *this) { const char *v2; // x1 cocos2d::CCString *v3; // x0 char *CString; // x1 unsigned __int8 isLayerLocked; // w0 unsigned int v6; // w21 __int64 *v7; // x2 __int64 v9; // x0 __int64 v10; // x2 void (__fastcall *v11)(__int64, _BYTE *); // x2 _BYTE v12[8]; // [xsp+30h] [xbp+30h] BYREF v2 = (const char *)(unsigned int)*(__int16 *)(*((_QWORD *)this + 180) + 14210LL); if ( ((unsigned int)v2 & 0x80000000) != 0 ) { CString = "All"; } else { v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", v2); CString = (char *)cocos2d::CCString::getCString(v3); } (*(void (__fastcall **)(_QWORD, char *))(**((_QWORD **)this + 160) + 928LL))(*((_QWORD *)this + 160), CString); cocos2d::CCLabelBMFont::limitLabelWidth(*((cocos2d::CCLabelBMFont **)this + 160), 38.0, 0.6, 0.0); isLayerLocked = LevelEditorLayer::isLayerLocked( *((LevelEditorLayer **)this + 180), *(__int16 *)(*((_QWORD *)this + 180) + 14210LL)); v6 = isLayerLocked; v7 = *((__int64 **)this + 160); if ( isLayerLocked ) { v9 = *((_QWORD *)this + 160); v10 = *v7; v12[0] = -1; v11 = *(void (__fastcall **)(__int64, _BYTE *))(v10 + 1072); v12[1] = -106; v12[2] = 0; v11(v9, v12); } else { (*(void (__fastcall **)(_QWORD, __int64 *))(*v7 + 1072))(*((_QWORD *)this + 160), &qword_1142200); } (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 197) + 344LL))(*((_QWORD *)this + 197), v6); EditorUI::updateGroupIDBtn2(this); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source