// // EditorUI::doPasteInPlace from 0x1005b81d0 to 0x1005b8291 (193 bytes) // // 1 xrefs: // > EditorUI::onPasteInPlace @ 0x1005b81c6 // // 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::doPasteInPlace(_QWORD *a1, unsigned __int8 a2) { __int64 result; // rax unsigned int v3; // ecx __int64 v4; // rax __int64 v5; // rdx std::string v6[2]; // [rsp+0h] [rbp-30h] BYREF result = GameManager::sharedState(); v3 = *(unsigned __int8 *)(result + 512); if ( (v3 & 1) != 0 ) { if ( !*(_QWORD *)(result + 520) ) return result; } else if ( !(v3 >> 1) ) { return result; } v4 = GameManager::sharedState(); if ( (*(_BYTE *)(v4 + 512) & 1) != 0 ) sub_10001AD30(v6, *(const void **)(v4 + 528), *(_QWORD *)(v4 + 520)); else v6[0] = *(std::string *)(v4 + 512); EditorUI::pasteObjects(a1, v6, a2, 0); if ( (*(_BYTE *)&v6[0].__r_.__value_.__s.0 & 1) != 0 ) operator delete(v6[0].__r_.__value_.__l.__data_); EditorBuildStats::noteAction(a1[180] + 14704LL); EditorUI::updateButtons((__int64)a1); return EditorUI::updateObjectInfoLabel((__int64)a1, (__int64)v6, v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source