// // EditorUI::doCopyObjects from 0x1005b7d40 to 0x1005b7e39 (249 bytes) // // 3 xrefs: // > EditorUI::onCopy @ 0x1005b7d30 // > EditorUI::handleEditorAction @ 0x10060ccb5 // > EditorCommandsPopup::onCommand @ 0x1008deda8 // // 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::doCopyObjects(__int64 a1, char a2) { __int64 result; // rax __int64 v4; // rdi __int64 v5; // r15 __int64 v6; // rax std::string *v7; // r14 int v8; // r14d std::string v9; // [rsp+0h] [rbp-30h] BYREF result = *(_QWORD *)(a1 + 1496); if ( result ) goto LABEL_2; result = sub_1007FEF90(*(_QWORD *)(a1 + 896)); if ( !(_DWORD)result ) return result; result = *(_QWORD *)(a1 + 1496); if ( result ) { LABEL_2: if ( *(_DWORD *)(result + 1028) == 749 ) return result; } v4 = *(_QWORD *)(a1 + 896); if ( (unsigned int)sub_1007FEF90(v4) ) { v5 = *(_QWORD *)(a1 + 896); } else { v5 = sub_1007FE900(v4); sub_1007FEBF0(v5, *(_QWORD *)(a1 + 1496)); } EditorUI::copyObjects(&v9, a1, v5, a2, 0); v6 = GameManager::sharedState(); v7 = (std::string *)(v6 + 512); if ( (*(_BYTE *)(v6 + 512) & 1) != 0 ) operator delete(*(void **)(v6 + 528)); *v7 = v9; v8 = sub_1007FEF90(*(_QWORD *)(a1 + 896)); *(_DWORD *)(GameManager::sharedState() + 536) = v8; return EditorUI::updateButtons(a1); }