// // EditorUI::onPasteColor from 0x10018afec to 0x10018b050 (100 bytes) // // 2 xrefs: // > EditorUI::handleEditorAction @ 0x100162b80 // > EditorUI::init @ 0x10047017c // // 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 10:59:52 +0000 // __int64 __fastcall EditorUI::onPasteColor(__int64 a1, __n128 a2) { __int64 result; // x0 __int64 v4; // x0 __int64 v5; // x0 __int64 v6; // x0 if ( *(_QWORD *)(a1 + 1496) || (result = sub_1002E757C(*(_QWORD *)(a1 + 896)), (_DWORD)result) ) { v4 = EditorSFXManager::sharedState(a2); v5 = EditorSFXManager::playAction(v4, 114, 111); v6 = GameManager::sharedState(v5); LevelEditorLayer::pasteColorState(*(_QWORD *)(v6 + 552), *(_QWORD *)(a1 + 1496), *(_QWORD *)(a1 + 896)); return EditorUI::updateObjectInfoLabel(a1); } return result; }