// // EditorUI::updateCreateMenu from 0x7c2c48 to 0x7c2e10 (456 bytes) // // 9 xrefs: // > EditorUI::onCreateButton @ 0x7c2e48 // > EditorUI::resetUI @ 0x7ce4a0 // > EditorUI::onShowUIBtn @ 0x7ce650 // > EditorUI::clickOnPosition @ 0x7d1c88 // > EditorUI::handleEditorAction @ 0xbd780c // > EditorUI::orderUpCustomItem @ 0xbdff04 // > EditorUI::orderDownCustomItem @ 0xbdff68 // > EditorUI::setupCreateMenu @ 0xbfe5cc // > @ 0xa5088 // // 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:07 +0000 // __int64 __fastcall EditorUI::updateCreateMenu(EditorUI *this, unsigned __int8 a2) { int v3; // w23 __int64 result; // x0 unsigned int v5; // w20 cocos2d::CCArray *v6; // x21 _DWORD *v7; // x0 cocos2d::CCArray *v8; // x21 unsigned int v9; // w20 _DWORD *v10; // x0 bool v11; // cf unsigned int v12; // w1 cocos2d::CCArray *v13; // x22 unsigned int v14; // w20 _DWORD *v15; // x21 cocos2d::CCArray *v16; // x22 unsigned int v17; // w20 unsigned int v18; // w1 v3 = a2; if ( !*((_BYTE *)this + 1589) && *((_DWORD *)this + 359) == 2 ) { v5 = 0; (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 103) + 344LL))(*((_QWORD *)this + 103), 1); (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 150) + 344LL))(*((_QWORD *)this + 150), 1); v6 = *((cocos2d::CCArray **)this + 169); while ( v5 < (unsigned int)cocos2d::CCArray::count(v6) ) { v7 = (_DWORD *)cocos2d::CCArray::objectAtIndex(v6, v5++); EditorUI::enableButton((__int64)this, v7); } v8 = *((cocos2d::CCArray **)this + 170); v9 = 0; while ( 1 ) { v11 = v9 >= (unsigned int)cocos2d::CCArray::count(v8); v12 = v9++; if ( v11 ) break; v10 = (_DWORD *)cocos2d::CCArray::objectAtIndex(v8, v12); EditorUI::enableButton((__int64)this, v10); } v13 = *((cocos2d::CCArray **)this + 169); v14 = 0; while ( v14 < (unsigned int)cocos2d::CCArray::count(v13) ) { v15 = (_DWORD *)cocos2d::CCArray::objectAtIndex(v13, v14++); if ( v15[132] == *((_DWORD *)this + 336) ) { LABEL_17: result = EditorUI::disableButton((__int64)this, v15); if ( v3 ) { EditorUI::selectBuildTab(this, v15[134]); return EditButtonBar::goToPage(*((EditButtonBar **)this + 103), v15[133]); } return result; } } v16 = *((cocos2d::CCArray **)this + 170); v17 = 0; while ( 1 ) { v11 = v17 >= (unsigned int)cocos2d::CCArray::count(v16); v18 = v17; result = (__int64)v16; ++v17; if ( v11 ) break; v15 = (_DWORD *)cocos2d::CCArray::objectAtIndex(v16, v18); if ( v15[132] == *((_DWORD *)this + 336) ) goto LABEL_17; } } else { (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 103) + 344LL))(*((_QWORD *)this + 103), 0); return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 150) + 344LL))(*((_QWORD *)this + 150), 0); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source