//
// EditorUI::doPasteInPlace from 0x3a5f6c to 0x3a5fd4 (104 bytes)
//
// 1 xrefs:
// > EditorUI::onPasteInPlace @ 0x3a5fda
//
// 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)
{
_BOOL4 v3; // r7
GameManager *v4; // r0
_DWORD v5[3]; // [sp+0h] [bp-Ch] BYREF
v5[0] = a1;
v5[1] = a2;
v3 = a2;
if ( *((_DWORD *)GameManager::sharedState()->m_editorClipboard.m_data.m_data - 3) )
{
v4 = GameManager::sharedState();
sub_775C20(v5, &v4->m_editorClipboard);
EditorUI::pasteObjects(a1, v5, v3, 0);
sub_774008(v5);
EditorUI::updateButtons(a1);
EditorUI::updateObjectInfoLabel(a1);
}
}