// // EditorUI::onCopyState from 0x1005b85c0 to 0x1005b8611 (81 bytes) // // 2 xrefs: // > EditorUI::handleEditorAction @ 0x10060c487 // > EditorUI::init @ 0x100006f74 // // 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 12:32:42 +0000 // __int64 __fastcall EditorUI::onCopyState(__int64 a1) { __int64 v1; // rax __int64 v2; // rax __int64 result; // rax if ( *(_QWORD *)(a1 + 1496) ) { v1 = EditorSFXManager::sharedState(a1); EditorSFXManager::playAction(v1, 112, 110); v2 = GameManager::sharedState(); LevelEditorLayer::copyObjectState(*(_QWORD **)(v2 + 552), *(_QWORD *)(a1 + 1496)); return EditorUI::updateButtons(a1); } return result; }