// // EditorUI::doPasteInPlace from 0xbda0d0 to 0xbda1e8 (280 bytes) // // 2 xrefs: // > EditorUI::onPasteInPlace @ 0xbda214 // > @ 0xa37b0 // // This function is hookable on this platform (idp: arm, 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 13:03:42 +0000 // __int64 __fastcall EditorUI::doPasteInPlace(EditorUI *this, unsigned __int8 a2) { unsigned __int8 *v4; // x2 GameManager *v5; // x0 __int64 v6; // x1 __int64 v8; // x2 char v9; // w0 __int64 v10; // x0 __int64 v11; // x1 __int64 v12; // [xsp+30h] [xbp+30h] BYREF __int64 v13; // [xsp+38h] [xbp+38h] void *v14; // [xsp+40h] [xbp+40h] v4 = (unsigned __int8 *)(GameManager::sharedState(_stack_chk_guard) + 512); v5 = (GameManager *)*v4; v6 = (unsigned __int8)v5 >> 1; if ( ((unsigned __int8)v5 & 1) != 0 ) v6 = *((_QWORD *)v4 + 1); if ( v6 ) { v8 = GameManager::sharedState(v5) + 512; v9 = *(_BYTE *)v8; v12 = 0; v13 = 0; v14 = nullptr; if ( (v9 & 1) != 0 ) { std::string::__init(&v12, *(void **)(v8 + 16), *(_QWORD *)(v8 + 8)); } else { v10 = *(_QWORD *)v8; v11 = *(_QWORD *)(v8 + 8); v14 = *(void **)(v8 + 16); v12 = v10; v13 = v11; } EditorUI::pasteObjects((__int64)this, (__int64)&v12, a2, 0); if ( (v12 & 1) != 0 ) operator delete(v14); EditorBuildStats::noteAction(*((_QWORD *)this + 180) + 14704LL); EditorUI::updateButtons(this); EditorUI::updateObjectInfoLabel(this); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source