; ; 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 ; cmp qword ptr [rdi+5D8h], 0 ; +0x0, 0x1005b85c0 jz short locret_1005B8610 ; +0x8, 0x1005b85c8 push rbp ; +0xa, 0x1005b85ca mov rbp, rsp ; +0xb, 0x1005b85cb push rbx ; +0xe, 0x1005b85ce push rax ; +0xf, 0x1005b85cf mov rbx, rdi ; +0x10, 0x1005b85d0 call EditorSFXManager__sharedState ; +0x13, 0x1005b85d3 mov rdi, rax ; +0x18, 0x1005b85d8 mov esi, 70h ; 'p' ; +0x1b, 0x1005b85db mov edx, 6Eh ; 'n' ; +0x20, 0x1005b85e0 call EditorSFXManager__playAction ; +0x25, 0x1005b85e5 call GameManager__sharedState ; +0x2a, 0x1005b85ea mov rdi, [rax+228h] ; +0x2f, 0x1005b85ef mov rsi, [rbx+5D8h] ; +0x36, 0x1005b85f6 call LevelEditorLayer__copyObjectState ; +0x3d, 0x1005b85fd mov rdi, rbx ; +0x42, 0x1005b8602 add rsp, 8 ; +0x45, 0x1005b8605 pop rbx ; +0x49, 0x1005b8609 pop rbp ; +0x4a, 0x1005b860a jmp EditorUI__updateButtons ; +0x4b, 0x1005b860b retn ; +0x50, 0x1005b8610