// // EditorUI::doPasteInPlace from 0x6c39f8 to 0x6c3b1c (292 bytes) // // 2 xrefs: // > EditorUI::onPasteInPlace @ 0x6c3b20 // > @ 0x7a580 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void EditorUI::doPasteInPlace(EditorUI *a1, bool a2) { GameManager *v4; // x0 char *v5; // x0 unsigned int *v6; // x2 int v7; // w1 _DWORD *v8; // [xsp+40h] [xbp+40h] BYREF if ( *((_QWORD *)GameManager::sharedState()->m_editorClipboard.m_data.m_data - 3) ) { v4 = GameManager::sharedState(); sub_D18D28(&v8, &v4->m_editorClipboard); EditorUI::pasteObjects(a1, (const void **)&v8, a2, 0); v5 = (char *)(v8 - 6); if ( v8 - 6 != (_DWORD *)&qword_124B6B0 ) { if ( &pthread_create ) { v6 = v8 - 2; do v7 = __ldaxr(v6); while ( __stlxr(v7 - 1, v6) ); } else { v7 = *(v8 - 2); *(v8 - 2) = v7 - 1; } if ( v7 <= 0 ) operator delete(v5); } EditorUI::updateButtons(a1); EditorUI::updateObjectInfoLabel(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source