; ; EditorUI::onCopyState from 0x1401c7030 to 0x1401c70d6 (166 bytes) ; ; 3 xrefs: ; > EditorUI::handleEditorAction @ 0x1401c4451 ; > EditorUI::init @ 0x1401ab97a ; > @ 0x14091a78c ; ; 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:28:05 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x1401c7030 push rdi ; +0x5, 0x1401c7035 sub rsp, 20h ; +0x6, 0x1401c7036 mov rdi, rcx ; +0xa, 0x1401c703a cmp qword ptr [rcx+620h], 0 ; +0xd, 0x1401c703d jz loc_1401C70CB ; +0x15, 0x1401c7045 call EditorSFXManager__sharedState ; +0x1b, 0x1401c704b mov rbx, rax ; +0x20, 0x1401c7050 mov edx, 70h ; 'p' ; +0x23, 0x1401c7053 mov rcx, rax ; +0x28, 0x1401c7058 call EditorSFXManager__hasSoundsForAction ; +0x2b, 0x1401c705b movzx edx, al ; +0x30, 0x1401c7060 lea edx, ds:6Eh[rdx*2] ; +0x33, 0x1401c7063 mov rcx, rbx ; +0x3a, 0x1401c706a call EditorSFXManager__playAction ; +0x3d, 0x1401c706d mov rcx, cs:qword_14090BFD0 ; +0x42, 0x1401c7072 test rcx, rcx ; +0x49, 0x1401c7079 jnz short loc_1401C70B0 ; +0x4c, 0x1401c707c mov ecx, 6E8h; Size ; +0x4e, 0x1401c707e call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x53, 0x1401c7083 mov [rsp+28h+arg_0], rax ; +0x58, 0x1401c7088 mov rcx, rax ; +0x5d, 0x1401c708d call GameManager__GameManager ; +0x60, 0x1401c7090 nop ; +0x65, 0x1401c7095 mov cs:qword_14090BFD0, rax ; +0x66, 0x1401c7096 mov rcx, [rax] ; +0x6d, 0x1401c709d mov rdx, [rcx+48h] ; +0x70, 0x1401c70a0 mov rcx, rax ; +0x74, 0x1401c70a4 call rdx ; +0x77, 0x1401c70a7 mov rcx, cs:qword_14090BFD0 ; +0x79, 0x1401c70a9 mov rdx, [rdi+620h] ; +0x80, 0x1401c70b0 mov rcx, [rcx+238h] ; +0x87, 0x1401c70b7 call LevelEditorLayer__copyObjectState ; +0x8e, 0x1401c70be mov rcx, rdi ; +0x93, 0x1401c70c3 call EditorUI__updateButtons ; +0x96, 0x1401c70c6 mov rbx, [rsp+28h+arg_8] ; +0x9b, 0x1401c70cb add rsp, 20h ; +0xa0, 0x1401c70d0 pop rdi ; +0xa4, 0x1401c70d4 retn ; +0xa5, 0x1401c70d5