// // EditorUI::showUI from 0x1401b3e20 to 0x1401b4162 (834 bytes) // // 11 xrefs: // > EditorUI::onPause @ 0x1401acd23 // > EditorUI::onPause @ 0x1401acd7a // > EditorUI::resetUI @ 0x1401afd29 // > EditorUI::onHideUIBtn @ 0x1401b3cc6 // > EditorUI::onShowUIBtn @ 0x1401b3dda // > EditorUI::onPlaytest @ 0x1401b48cc // > EditorUI::onStopPlaytest @ 0x1401b49b0 // > EditorUI::playtestStopped @ 0x1401b4a09 // > EditorUI::handleAction @ 0x1401c1db8 // > EditorUI::handleEditorAction @ 0x1401c336c // > @ 0x14091a0c0 // // 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:27:57 +0000 // // Hidden C++ exception states: #wind=1 _QWORD *__fastcall EditorUI::showUI(__int64 a1, unsigned __int8 a2) { unsigned __int8 v4; // si __int64 v5; // rcx unsigned int i; // ebx __int64 v7; // rdx struct cocos2d::CCObject *v8; // rax __int64 v9; // rcx _DWORD *v10; // rbx __int64 v11; // rcx __int64 v12; // rcx _DWORD *v13; // rbp __int64 v14; // rdx __int64 v15; // rdx __int64 v16; // rcx __int64 v17; // rcx __int64 v18; // rcx __int64 v19; // rcx __int64 v20; // rcx __int64 v21; // rcx __int64 v22; // rcx __int64 v23; // rcx __int64 v24; // rcx _QWORD *result; // rax _QWORD *v26; // rbx void *v27; // [rsp+30h] [rbp+8h] if ( *(_BYTE *)(a1 + 1661) ) { v4 = 0; } else { v5 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v27 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager(v27); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v5 = qword_14090BFD0; } v4 = a2; if ( !(unsigned __int8)GameManager::getGameVariable(v5, "0046") ) v4 = 1; } for ( i = 0; i < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 688)); ++i ) { v8 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 688), i); (*(void (__fastcall **)(struct cocos2d::CCObject *, _QWORD))(*(_QWORD *)v8 + 336LL))(v8, v4); } if ( !*(_BYTE *)(a1 + 915) ) { (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 1104) + 336LL))(*(_QWORD *)(a1 + 1104), 0); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 1096) + 336LL))(*(_QWORD *)(a1 + 1096), 0); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 1112) + 336LL))(*(_QWORD *)(a1 + 1112), 0); } v9 = *(_QWORD *)(a1 + 872); v10 = (_DWORD *)(a1 + 1508); if ( v9 ) { if ( v4 && *v10 == 2 ) LOBYTE(v7) = 1; else v7 = 0; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v9 + 336LL))(v9, v7); } v11 = *(_QWORD *)(a1 + 880); if ( v11 ) { if ( v4 && *v10 == 3 && !*(_QWORD *)(a1 + 1664) ) LOBYTE(v7) = 1; else v7 = 0; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v11 + 336LL))(v11, v7); v10 = (_DWORD *)(a1 + 1508); } v12 = *(_QWORD *)(a1 + 1664); v13 = v10; if ( v12 ) { if ( v4 && *v10 == 3 ) LOBYTE(v7) = 1; else v7 = 0; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v12 + 336LL))(v12, v7); v13 = (_DWORD *)(a1 + 1508); } if ( v4 && *v10 == 1 ) { LOBYTE(v7) = 1; (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 952) + 336LL))(*(_QWORD *)(a1 + 952), v7); } else { (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 952) + 336LL))(*(_QWORD *)(a1 + 952), 0); if ( !v4 ) goto LABEL_36; } if ( *v13 == 4 ) { LOBYTE(v14) = 1; goto LABEL_37; } LABEL_36: v14 = 0; LABEL_37: (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 1432) + 336LL))(*(_QWORD *)(a1 + 1432), v14); if ( !*(_BYTE *)(a1 + 1661) ) { if ( !v4 ) goto LABEL_59; v21 = *(_QWORD *)(a1 + 1048); if ( v21 ) { LOBYTE(v15) = 1; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v21 + 336LL))(v21, v15); } v22 = *(_QWORD *)(a1 + 1064); if ( v22 ) { LOBYTE(v15) = 1; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v22 + 336LL))(v22, v15); } v23 = *(_QWORD *)(a1 + 1248); if ( v23 ) { LOBYTE(v15) = *(_DWORD *)(a1 + 1508) == 2; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v23 + 336LL))(v23, v15); } EditorUI::toggleObjectInfoLabel(a1); goto LABEL_58; } v16 = *(_QWORD *)(a1 + 1048); if ( v16 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v16 + 336LL))(v16, 0); v17 = *(_QWORD *)(a1 + 1056); if ( v17 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v17 + 336LL))(v17, 0); v18 = *(_QWORD *)(a1 + 1064); if ( v18 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v18 + 336LL))(v18, 0); v19 = *(_QWORD *)(a1 + 1248); if ( v19 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v19 + 336LL))(v19, 0); v20 = *(_QWORD *)(a1 + 800); if ( v20 ) (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v20 + 336LL))(v20, 0); if ( v4 ) LABEL_58: EditorUI::updateGroupIDLabel(a1); LABEL_59: v24 = *(_QWORD *)(a1 + 1088); if ( v24 ) { if ( *(_BYTE *)(a1 + 1661) && *(_BYTE *)(a1 + 1662) ) LOBYTE(v15) = 1; else v15 = 0; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v24 + 336LL))(v24, v15); } result = *(_QWORD **)(a1 + 608); v26 = (_QWORD *)*result; if ( (_QWORD *)*result != result ) { do { result = (_QWORD *)(*(__int64 (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)v26[3] + 336LL))(v26[3], v4); v26 = (_QWORD *)*v26; } while ( v26 != *(_QWORD **)(a1 + 608) ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source