; ; EditorUI::moveObjectCall_1 from 0x1401feb10 to 0x1401fee6c (860 bytes) ; ; 32 xrefs: ; > EditorUI::handleEditorAction @ 0x1401c2654 ; > EditorUI::handleEditorAction @ 0x1401c266a ; > EditorUI::handleEditorAction @ 0x1401c2680 ; > EditorUI::handleEditorAction @ 0x1401c2696 ; > EditorUI::handleEditorAction @ 0x1401c26ac ; > EditorUI::handleEditorAction @ 0x1401c26c3 ; > EditorUI::handleEditorAction @ 0x1401c26d9 ; > EditorUI::handleEditorAction @ 0x1401c26ef ; > EditorUI::handleEditorAction @ 0x1401c2705 ; > EditorUI::handleEditorAction @ 0x1401c271b ; > EditorUI::handleEditorAction @ 0x1401c2731 ; > EditorUI::handleEditorAction @ 0x1401c2747 ; > EditorUI::handleEditorAction @ 0x1401c275d ; > EditorUI::handleEditorAction @ 0x1401c2773 ; > EditorUI::handleEditorAction @ 0x1401c2789 ; > EditorUI::handleEditorAction @ 0x1401c279f ; > EditorUI::handleEditorAction @ 0x1401c27b5 ; > EditorUI::handleEditorAction @ 0x1401c27cb ; > EditorUI::handleEditorAction @ 0x1401c27e1 ; > EditorUI::handleEditorAction @ 0x1401c27f7 ; > EditorUI::handleEditorAction @ 0x1401c280d ; > EditorUI::handleEditorAction @ 0x1401c2823 ; > EditorUI::handleEditorAction @ 0x1401c2839 ; > EditorUI::handleEditorAction @ 0x1401c284f ; > EditorUI::handleEditorAction @ 0x1401c2865 ; > EditorUI::handleEditorAction @ 0x1401c287b ; > EditorUI::handleEditorAction @ 0x1401c2891 ; > EditorUI::handleEditorAction @ 0x1401c28a7 ; > EditorUI::handleEditorAction @ 0x1401c28bc ; > EditorUI::handleEditorAction @ 0x1401c28ee ; > EditorUI::moveObjectCall @ 0x1401feafc ; > @ 0x14091ac78 ; ; 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 11:28:12 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x1401feb10 push rbp ; +0x5, 0x1401feb15 push rsi ; +0x6, 0x1401feb16 push rdi ; +0x7, 0x1401feb17 sub rsp, 20h ; +0x8, 0x1401feb18 mov ebx, edx ; +0xc, 0x1401feb1c mov rdi, rcx ; +0xe, 0x1401feb1e lea rsi, [rcx+3B0h] ; +0x11, 0x1401feb21 cmp qword ptr [rcx+620h], 0 ; +0x18, 0x1401feb28 jnz short loc_1401FEB43 ; +0x20, 0x1401feb30 mov rcx, [rsi] ; +0x22, 0x1401feb32 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x25, 0x1401feb35 test eax, eax ; +0x2b, 0x1401feb3b jz loc_1401FEE24 ; +0x2d, 0x1401feb3d call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x33, 0x1401feb43 mov rcx, [rax] ; +0x39, 0x1401feb49 mov rdx, [rcx+0B0h] ; +0x3c, 0x1401feb4c mov rcx, rax ; +0x43, 0x1401feb53 call rdx ; +0x46, 0x1401feb56 xor ebp, ebp ; +0x48, 0x1401feb58 cmp [rax+9Dh], bpl ; +0x4a, 0x1401feb5a jnz short loc_1401FEBA9 ; +0x51, 0x1401feb61 mov rdx, [rdi+5E8h] ; +0x53, 0x1401feb63 add rdx, 3C30h ; +0x5a, 0x1401feb6a inc dword ptr [rdx+0Ch] ; +0x61, 0x1401feb71 mov ecx, [rdx+60h] ; +0x64, 0x1401feb74 test ecx, ecx ; +0x67, 0x1401feb77 js short loc_1401FEBA3 ; +0x69, 0x1401feb79 mov eax, [rdx+20h] ; +0x6b, 0x1401feb7b sub eax, ecx ; +0x6e, 0x1401feb7e mov ecx, ebp ; +0x70, 0x1401feb80 cmp eax, 1 ; +0x72, 0x1401feb82 jle short loc_1401FEB95 ; +0x75, 0x1401feb85 cmp ecx, 7 ; +0x77, 0x1401feb87 jge short loc_1401FEB95 ; +0x7a, 0x1401feb8a shr eax, 1 ; +0x7c, 0x1401feb8c inc ecx ; +0x7e, 0x1401feb8e cmp eax, 1 ; +0x80, 0x1401feb90 ja short loc_1401FEB87 ; +0x83, 0x1401feb93 movsxd rax, ecx ; +0x85, 0x1401feb95 inc dword ptr [rdx+rax*4+40h] ; +0x88, 0x1401feb98 lea rsi, [rdi+3B0h] ; +0x8c, 0x1401feb9c mov eax, [rdx+20h] ; +0x93, 0x1401feba3 mov [rdx+60h], eax ; +0x96, 0x1401feba6 call EditorSFXManager__sharedState ; +0x99, 0x1401feba9 mov rcx, rax ; +0x9e, 0x1401febae mov edx, 96h ; +0xa1, 0x1401febb1 call EditorSFXManager__playAction ; +0xa6, 0x1401febb6 lea eax, [rbx-1]; switch 36 cases ; +0xab, 0x1401febbb cmp eax, 23h ; +0xae, 0x1401febbe ja short def_1401FEBDE; jumptable 00000001401FEBDE default case ; +0xb1, 0x1401febc1 cdqe ; +0xb3, 0x1401febc3 lea rdx, cs:140000000h ; +0xb5, 0x1401febc5 movzx eax, ds:(byte_1401FEE48 - 140000000h)[rdx+rax] ; +0xbc, 0x1401febcc mov ecx, ds:(jpt_1401FEBDE - 140000000h)[rdx+rax*4] ; +0xc4, 0x1401febd4 add rcx, rdx ; +0xcb, 0x1401febdb jmp rcx; switch jump ; +0xce, 0x1401febde call EditorSFXManager__sharedState; jumptable 00000001401FEBDE cases 9-12 ; +0xd0, 0x1401febe0 mov edx, 99h ; +0xd5, 0x1401febe5 jmp short loc_1401FEC1A ; +0xda, 0x1401febea call EditorSFXManager__sharedState; jumptable 00000001401FEBDE cases 5-8 ; +0xdc, 0x1401febec mov edx, 98h ; +0xe1, 0x1401febf1 jmp short loc_1401FEC1A ; +0xe6, 0x1401febf6 call EditorSFXManager__sharedState; jumptable 00000001401FEBDE cases 17-24,29-32 ; +0xe8, 0x1401febf8 mov edx, 9Bh ; +0xed, 0x1401febfd jmp short loc_1401FEC1A ; +0xf2, 0x1401fec02 call EditorSFXManager__sharedState; jumptable 00000001401FEBDE cases 1-4,13-16,25-28 ; +0xf4, 0x1401fec04 mov edx, 97h ; +0xf9, 0x1401fec09 jmp short loc_1401FEC1A ; +0xfe, 0x1401fec0e call EditorSFXManager__sharedState; jumptable 00000001401FEBDE cases 33-36 ; +0x100, 0x1401fec10 mov edx, 114h ; +0x105, 0x1401fec15 mov rcx, rax ; +0x10a, 0x1401fec1a call EditorSFXManager__playAction ; +0x10d, 0x1401fec1d mov r8d, ebx; jumptable 00000001401FEBDE default case ; +0x112, 0x1401fec22 lea rdx, [rsp+38h+arg_0] ; +0x115, 0x1401fec25 mov rcx, rdi ; +0x11a, 0x1401fec2a call EditorUI__moveForCommand ; +0x11d, 0x1401fec2d mov rcx, [rsi] ; +0x122, 0x1401fec32 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x125, 0x1401fec35 test eax, eax ; +0x12b, 0x1401fec3b jz short loc_1401FECA0 ; +0x12d, 0x1401fec3d xor r8d, r8d ; +0x12f, 0x1401fec3f mov rcx, rdi ; +0x132, 0x1401fec42 call EditorUI__createUndoObject ; +0x135, 0x1401fec45 mov rcx, [rsi] ; +0x13a, 0x1401fec4a call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x13d, 0x1401fec4d test eax, eax ; +0x143, 0x1401fec53 jz loc_1401FED92 ; +0x145, 0x1401fec55 nop dword ptr [rax+rax+00h] ; +0x14b, 0x1401fec5b mov edx, ebp ; +0x150, 0x1401fec60 mov rcx, [rsi] ; +0x152, 0x1401fec62 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x155, 0x1401fec65 mov rbx, rax ; +0x15b, 0x1401fec6b lea rdx, [rsp+38h+arg_0] ; +0x15e, 0x1401fec6e lea rcx, [rsp+38h+arg_10] ; +0x163, 0x1401fec73 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x168, 0x1401fec78 mov r8, rax ; +0x16e, 0x1401fec7e mov rdx, rbx ; +0x171, 0x1401fec81 mov rcx, rdi ; +0x174, 0x1401fec84 call EditorUI__moveObject ; +0x177, 0x1401fec87 inc ebp ; +0x17c, 0x1401fec8c mov rcx, [rsi] ; +0x17e, 0x1401fec8e call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x181, 0x1401fec91 cmp ebp, eax ; +0x187, 0x1401fec97 jb short loc_1401FEC60 ; +0x189, 0x1401fec99 jmp loc_1401FED92 ; +0x18b, 0x1401fec9b mov rbx, [rdi+620h] ; +0x190, 0x1401feca0 mov ecx, 0A0h; Size ; +0x197, 0x1401feca7 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x19c, 0x1401fecac mov rsi, rax ; +0x1a1, 0x1401fecb1 mov [rsp+38h+arg_10], rax ; +0x1a4, 0x1401fecb4 mov rcx, rax ; +0x1a9, 0x1401fecb9 call cs:??0CCObject@cocos2d@@QEAA@XZ; cocos2d::CCObject::CCObject(void) ; +0x1ac, 0x1401fecbc nop ; +0x1b2, 0x1401fecc2 lea rax, ??_7UndoObject@@6B@; const UndoObject::`vftable' ; +0x1b3, 0x1401fecc3 mov [rsi], rax ; +0x1ba, 0x1401fecca mov [rsi+38h], rbp ; +0x1bd, 0x1401feccd mov [rsi+40h], ebp ; +0x1c1, 0x1401fecd1 mov [rsi+48h], rbp ; +0x1c4, 0x1401fecd4 mov word ptr [rsi+50h], 0 ; +0x1c8, 0x1401fecd8 lea rcx, [rsi+54h] ; +0x1ce, 0x1401fecde call GJTransformState__GJTransformState ; +0x1d2, 0x1401fece2 nop ; +0x1d7, 0x1401fece7 test rbx, rbx ; +0x1d8, 0x1401fece8 jz short loc_1401FED02 ; +0x1db, 0x1401feceb mov rcx, rbx ; +0x1dd, 0x1401feced call GameObjectCopy__create ; +0x1e0, 0x1401fecf0 mov [rsi+38h], rax ; +0x1e5, 0x1401fecf5 mov rcx, rax ; +0x1e9, 0x1401fecf9 call cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x1ec, 0x1401fecfc mov dword ptr [rsi+40h], 5 ; +0x1f2, 0x1401fed02 mov rcx, rsi ; +0x1f9, 0x1401fed09 call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x1fc, 0x1401fed0c mov rbp, [rdi+5E8h] ; +0x202, 0x1401fed12 mov rcx, [rbp+3A48h] ; +0x209, 0x1401fed19 call cs:?removeAllObjects@CCArray@cocos2d@@QEAAXXZ; cocos2d::CCArray::removeAllObjects(void) ; +0x210, 0x1401fed20 mov ebx, 3E8h ; +0x216, 0x1401fed26 mov eax, 0C8h ; +0x21b, 0x1401fed2b cmp byte ptr [rbp+3947h], 0 ; +0x220, 0x1401fed30 cmovz ebx, eax ; +0x227, 0x1401fed37 mov rcx, [rbp+3A40h] ; +0x22a, 0x1401fed3a call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x231, 0x1401fed41 cmp eax, ebx ; +0x237, 0x1401fed47 jb short loc_1401FED5D ; +0x239, 0x1401fed49 mov r8b, 1 ; +0x23b, 0x1401fed4b xor edx, edx ; +0x23e, 0x1401fed4e mov rcx, [rbp+3A40h] ; +0x240, 0x1401fed50 call cs:?removeObjectAtIndex@CCArray@cocos2d@@QEAAXI_N@Z; cocos2d::CCArray::removeObjectAtIndex(uint,bool) ; +0x247, 0x1401fed57 mov rdx, rsi ; +0x24d, 0x1401fed5d mov rcx, [rbp+3A40h] ; +0x250, 0x1401fed60 call cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x257, 0x1401fed67 mov rbx, [rdi+620h] ; +0x25d, 0x1401fed6d lea rdx, [rsp+38h+arg_0] ; +0x264, 0x1401fed74 lea rcx, [rsp+38h+arg_10] ; +0x269, 0x1401fed79 call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x26e, 0x1401fed7e mov r8, rax ; +0x274, 0x1401fed84 mov rdx, rbx ; +0x277, 0x1401fed87 mov rcx, rdi ; +0x27a, 0x1401fed8a call EditorUI__moveObject ; +0x27d, 0x1401fed8d mov rcx, [rdi+348h] ; +0x282, 0x1401fed92 mov rax, [rcx] ; +0x289, 0x1401fed99 call qword ptr [rax+158h] ; +0x28c, 0x1401fed9c test al, al ; +0x292, 0x1401feda2 jz short loc_1401FEDEA ; +0x294, 0x1401feda4 mov rcx, [rdi+348h] ; +0x296, 0x1401feda6 mov rax, [rcx] ; +0x29d, 0x1401fedad call qword ptr [rax+0C8h] ; +0x2a0, 0x1401fedb0 lea r8, [rsp+38h+arg_0] ; +0x2a6, 0x1401fedb6 lea rdx, [rsp+38h+arg_10] ; +0x2ab, 0x1401fedbb mov rcx, rax ; +0x2b0, 0x1401fedc0 call cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x2b3, 0x1401fedc3 mov rcx, [rdi+348h] ; +0x2b9, 0x1401fedc9 mov rax, [rcx] ; +0x2c0, 0x1401fedd0 lea rdx, [rsp+38h+arg_10] ; +0x2c3, 0x1401fedd3 call qword ptr [rax+0B8h] ; +0x2c8, 0x1401fedd8 mov rcx, [rdi+348h] ; +0x2ce, 0x1401fedde call GJTransformControl__refreshControl ; +0x2d5, 0x1401fede5 mov rcx, [rdi+328h] ; +0x2da, 0x1401fedea mov rax, [rcx] ; +0x2e1, 0x1401fedf1 call qword ptr [rax+158h] ; +0x2e4, 0x1401fedf4 test al, al ; +0x2ea, 0x1401fedfa jz short loc_1401FEE0F ; +0x2ec, 0x1401fedfc mov byte ptr [rdi+338h], 1 ; +0x2ee, 0x1401fedfe xor edx, edx ; +0x2f5, 0x1401fee05 mov rcx, rdi ; +0x2f7, 0x1401fee07 call EditorUI__activateRotationControl ; +0x2fa, 0x1401fee0a lea rcx, [rdi+1B0h] ; +0x2ff, 0x1401fee0f mov rax, [rcx] ; +0x306, 0x1401fee16 call qword ptr [rax+28h] ; +0x309, 0x1401fee19 mov rcx, rdi ; +0x30c, 0x1401fee1c call EditorUI__updateButtons ; +0x30f, 0x1401fee1f mov rbx, [rsp+38h+arg_8] ; +0x314, 0x1401fee24 add rsp, 20h ; +0x319, 0x1401fee29 pop rdi ; +0x31d, 0x1401fee2d pop rsi ; +0x31e, 0x1401fee2e pop rbp ; +0x31f, 0x1401fee2f retn ; +0x320, 0x1401fee30 align 4 ; +0x321, 0x1401fee31 dd offset loc_1401FEC04 - 140000000h; jump table for switch statement ; +0x324, 0x1401fee34 db 0, 0, 0, 0; indirect table for switch statement ; +0x338, 0x1401fee48