; ; EditorUI::findSnapObject from 0x10001a2f0 to 0x10001a3fe (270 bytes) ; ; 2 xrefs: ; > EditorUI::startFreeMoveTouch @ 0x1006099ca ; > EditorUI::startFreeMoveTouch @ 0x100609ae3 ; ; 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:18:56 +0000 ; push rbp ; +0x0, 0x10001a2f0 mov rbp, rsp ; +0x1, 0x10001a2f1 push r15 ; +0x4, 0x10001a2f4 push r14 ; +0x6, 0x10001a2f6 push r13 ; +0x8, 0x10001a2f8 push r12 ; +0xa, 0x10001a2fa push rbx ; +0xc, 0x10001a2fc sub rsp, 28h ; +0xd, 0x10001a2fd movss [rbp+var_2C], xmm0 ; +0x11, 0x10001a301 mov r14, rsi ; +0x16, 0x10001a306 mov rbx, rdi ; +0x19, 0x10001a309 mov rdi, [rdi+380h] ; +0x1c, 0x10001a30c call sub_1007FEF90 ; +0x23, 0x10001a313 test eax, eax ; +0x28, 0x10001a318 jz loc_10001A3E1 ; +0x2a, 0x10001a31a call sub_1007FE900 ; +0x30, 0x10001a320 mov [rbp+var_38], rax ; +0x35, 0x10001a325 mov rdi, [rbx+380h] ; +0x39, 0x10001a329 call sub_1007FEF90 ; +0x40, 0x10001a330 test eax, eax ; +0x45, 0x10001a335 jz loc_10001A3C1 ; +0x47, 0x10001a337 xor r12d, r12d ; +0x4d, 0x10001a33d lea r13, [rbp+var_48] ; +0x50, 0x10001a340 jmp short loc_10001A364 ; +0x54, 0x10001a344 align 10h ; +0x56, 0x10001a346 inc r12d ; +0x60, 0x10001a350 mov rdi, [rbx+380h] ; +0x63, 0x10001a353 call sub_1007FEF90 ; +0x6a, 0x10001a35a cmp r12d, eax ; +0x6f, 0x10001a35f jnb short loc_10001A3C1 ; +0x72, 0x10001a362 mov rdi, [rbx+380h] ; +0x74, 0x10001a364 mov esi, r12d ; +0x7b, 0x10001a36b call sub_1007FEFE0 ; +0x7e, 0x10001a36e mov r15, rax ; +0x83, 0x10001a373 mov rsi, [rbx+5A0h] ; +0x86, 0x10001a376 mov rdi, r13 ; +0x8d, 0x10001a37d mov rdx, rax ; +0x90, 0x10001a380 xor ecx, ecx ; +0x93, 0x10001a383 xor r8d, r8d ; +0x95, 0x10001a385 call LevelEditorLayer__getObjectRect ; +0x98, 0x10001a388 mov rsi, [rbx+5A0h] ; +0x9d, 0x10001a38d mov rdi, r13 ; +0xa4, 0x10001a394 mov rdx, r15 ; +0xa7, 0x10001a397 xor ecx, ecx ; +0xaa, 0x10001a39a xor r8d, r8d ; +0xac, 0x10001a39c call LevelEditorLayer__getObjectRect ; +0xaf, 0x10001a39f mov rdi, r13 ; +0xb4, 0x10001a3a4 mov rsi, r14 ; +0xb7, 0x10001a3a7 call sub_100278940 ; +0xba, 0x10001a3aa test al, al ; +0xbf, 0x10001a3af jz short loc_10001A350 ; +0xc1, 0x10001a3b1 mov rdi, [rbp+var_38] ; +0xc3, 0x10001a3b3 mov rsi, r15 ; +0xc7, 0x10001a3b7 call sub_1007FEBF0 ; +0xca, 0x10001a3ba jmp short loc_10001A350 ; +0xcf, 0x10001a3bf mov rdi, rbx ; +0xd1, 0x10001a3c1 mov rsi, [rbp+var_38] ; +0xd4, 0x10001a3c4 movss xmm0, [rbp+var_2C] ; +0xd8, 0x10001a3c8 call EditorUI__findSnapObject_1 ; +0xdd, 0x10001a3cd add rsp, 28h ; +0xe2, 0x10001a3d2 pop rbx ; +0xe6, 0x10001a3d6 pop r12 ; +0xe7, 0x10001a3d7 pop r13 ; +0xe9, 0x10001a3d9 pop r14 ; +0xeb, 0x10001a3db pop r15 ; +0xed, 0x10001a3dd pop rbp ; +0xef, 0x10001a3df retn ; +0xf0, 0x10001a3e0 mov rdi, rbx ; +0xf1, 0x10001a3e1 xor esi, esi ; +0xf4, 0x10001a3e4 movss xmm0, [rbp+var_2C] ; +0xf6, 0x10001a3e6 add rsp, 28h ; +0xfb, 0x10001a3eb pop rbx ; +0xff, 0x10001a3ef pop r12 ; +0x100, 0x10001a3f0 pop r13 ; +0x102, 0x10001a3f2 pop r14 ; +0x104, 0x10001a3f4 pop r15 ; +0x106, 0x10001a3f6 pop rbp ; +0x108, 0x10001a3f8 jmp EditorUI__findSnapObject_1 ; +0x109, 0x10001a3f9