// // EditorUI::moveObjectCall_1 from 0x10060e410 to 0x10060e623 (531 bytes) // // 3 xrefs: // > EditorUI::handleEditorAction @ 0x10060bd76 // > EditorUI::handleEditorAction @ 0x10060ce77 // > EditorUI::moveObjectCall @ 0x10060e3fd // // 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:34:33 +0000 // __int64 __fastcall EditorUI::moveObjectCall_1(__int64 a1, unsigned int a2) { __int64 result; // rax __int64 v4; // rdi __int64 v5; // rdi __int64 v6; // rdi unsigned int v7; // r15d __int64 v8; // rax unsigned int v9; // r14d __int64 v10; // rsi __int64 v11; // r13 char *v12; // rax __int64 v13; // r14 __int64 v14; // r14 unsigned __int64 *v15; // rax __int64 v16; // [rsp+8h] [rbp-38h] BYREF unsigned __int64 v17[6]; // [rsp+10h] [rbp-30h] BYREF if ( *(_QWORD *)(a1 + 1496) || (result = sub_1007FEF90(*(_QWORD *)(a1 + 896)), (_DWORD)result) ) { v4 = cocos2d::CCDirector::sharedDirector(); if ( !*(_BYTE *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 192LL))(v4) + 133) ) { v5 = *(_QWORD *)(a1 + 1440); ++*(_DWORD *)(v5 + 14716); v4 = v5 + 14704; EditorBuildStats::noteAction(v4); } v6 = EditorSFXManager::sharedState(v4); EditorSFXManager::playAction_1(v6, 150); if ( a2 - 1 <= 0x23 ) { v7 = dword_100A0D794[a2 - 1]; v8 = EditorSFXManager::sharedState(v6); EditorSFXManager::playAction_1(v8, v7); } EditorUI::moveForCommand(v17, a1, a2); if ( (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 896)) ) { v9 = 0; v10 = 5; EditorUI::createUndoObject(a1, 5u, 0); if ( (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 896)) ) { do { v11 = sub_1007FEFE0(*(_QWORD *)(a1 + 896), v9); sub_1002782D0(&v16, v17); v10 = v11; EditorUI::moveObject(a1, v11, &v16); ++v9; } while ( v9 < (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 896)) ); } } else { v12 = UndoObject::create(*(_QWORD *)(a1 + 1496), 5); LevelEditorLayer::addToUndoList(*(_QWORD *)(a1 + 1440), (__int64)v12, 0); v13 = *(_QWORD *)(a1 + 1496); sub_1002782D0(&v16, v17); v10 = v13; EditorUI::moveObject(a1, v13, &v16); } if ( (*(unsigned __int8 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 792) + 352LL))(*(_QWORD *)(a1 + 792)) ) { v14 = *(_QWORD *)(a1 + 792); v15 = (unsigned __int64 *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v14 + 192LL))(v14); sub_100278350((double *)&v16, v15, v17); v10 = (__int64)&v16; (*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v14 + 184LL))(v14, &v16); GJTransformControl::refreshControl(*(_QWORD *)(a1 + 792)); } if ( (*(unsigned __int8 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 760) + 352LL))(*(_QWORD *)(a1 + 760)) ) { *(_BYTE *)(a1 + 776) = 1; EditorUI::activateRotationControl(a1, v10); } (*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 1352LL))(a1); return EditorUI::updateButtons(a1); } return result; }