; ; EditorUI::canSelectObject from 0x140110310 to 0x140110528 (536 bytes) ; ; 6 xrefs: ; > EditorUI::onDelete @ 0x1400e5f45 ; > EditorUI::selectObject @ 0x140110545 ; > EditorUI::ccTouchEnded @ 0x140124e32 ; > EditorUI::ccTouchEnded @ 0x14012508e ; > @ 0x1406c8ea4 ; > @ 0x1406c8eb0 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov [rsp+arg_0], rcx ; +0x0, 0x140110310 push rbx ; +0x5, 0x140110315 sub rsp, 20h ; +0x6, 0x140110316 mov rbx, rdx ; +0xa, 0x14011031a mov rcx, cs:qword_1406C2ED8 ; +0xd, 0x14011031d test rcx, rcx ; +0x14, 0x140110324 jnz short loc_140110358 ; +0x17, 0x140110327 mov ecx, 668h; Size ; +0x19, 0x140110329 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x1e, 0x14011032e mov [rsp+28h+arg_0], rax ; +0x23, 0x140110333 mov rcx, rax ; +0x28, 0x140110338 call sub_14017AB00 ; +0x2b, 0x14011033b nop ; +0x30, 0x140110340 mov cs:qword_1406C2ED8, rax ; +0x31, 0x140110341 mov rdx, [rax] ; +0x38, 0x140110348 mov rcx, rax ; +0x3b, 0x14011034b call qword ptr [rdx+48h] ; +0x3e, 0x14011034e mov rcx, cs:qword_1406C2ED8 ; +0x41, 0x140110351 lea rdx, a0064; "0064" ; +0x48, 0x140110358 call GameManager__getGameVariable ; +0x4f, 0x14011035f test al, al ; +0x54, 0x140110364 jz loc_14011040B ; +0x56, 0x140110366 mov rcx, cs:qword_1406C2ED8 ; +0x5c, 0x14011036c test rcx, rcx ; +0x63, 0x140110373 jnz short loc_1401103A7 ; +0x66, 0x140110376 mov ecx, 668h; Size ; +0x68, 0x140110378 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x6d, 0x14011037d mov [rsp+28h+arg_0], rax ; +0x72, 0x140110382 mov rcx, rax ; +0x77, 0x140110387 call sub_14017AB00 ; +0x7a, 0x14011038a nop ; +0x7f, 0x14011038f mov cs:qword_1406C2ED8, rax ; +0x80, 0x140110390 mov rdx, [rax] ; +0x87, 0x140110397 mov rcx, rax ; +0x8a, 0x14011039a call qword ptr [rdx+48h] ; +0x8d, 0x14011039d mov rcx, cs:qword_1406C2ED8 ; +0x90, 0x1401103a0 lea rdx, a0005; "0005" ; +0x97, 0x1401103a7 call GameManager__getIntGameVariable ; +0x9e, 0x1401103ae cmp eax, 3 ; +0xa3, 0x1401103b3 jnz short loc_14011040B ; +0xa6, 0x1401103b6 mov rcx, cs:qword_1406C2ED8 ; +0xa8, 0x1401103b8 test rcx, rcx ; +0xaf, 0x1401103bf jnz short loc_1401103F3 ; +0xb2, 0x1401103c2 mov ecx, 668h; Size ; +0xb4, 0x1401103c4 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0xb9, 0x1401103c9 mov [rsp+28h+arg_0], rax ; +0xbe, 0x1401103ce mov rcx, rax ; +0xc3, 0x1401103d3 call sub_14017AB00 ; +0xc6, 0x1401103d6 nop ; +0xcb, 0x1401103db mov cs:qword_1406C2ED8, rax ; +0xcc, 0x1401103dc mov rdx, [rax] ; +0xd3, 0x1401103e3 mov rcx, rax ; +0xd6, 0x1401103e6 call qword ptr [rdx+48h] ; +0xd9, 0x1401103e9 mov rcx, cs:qword_1406C2ED8 ; +0xdc, 0x1401103ec lea rdx, a0006; "0006" ; +0xe3, 0x1401103f3 call GameManager__getIntGameVariable ; +0xea, 0x1401103fa cmp [rbx+40Ch], eax ; +0xef, 0x1401103ff jnz loc_140110486 ; +0xf5, 0x140110405 mov rcx, cs:qword_1406C2ED8 ; +0xfb, 0x14011040b test rcx, rcx ; +0x102, 0x140110412 jnz short loc_140110446 ; +0x105, 0x140110415 mov ecx, 668h; Size ; +0x107, 0x140110417 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x10c, 0x14011041c mov [rsp+28h+arg_0], rax ; +0x111, 0x140110421 mov rcx, rax ; +0x116, 0x140110426 call sub_14017AB00 ; +0x119, 0x140110429 nop ; +0x11e, 0x14011042e mov cs:qword_1406C2ED8, rax ; +0x11f, 0x14011042f mov rdx, [rax] ; +0x126, 0x140110436 mov rcx, rax ; +0x129, 0x140110439 call qword ptr [rdx+48h] ; +0x12c, 0x14011043c mov rcx, cs:qword_1406C2ED8 ; +0x12f, 0x14011043f lea rdx, a0133; "0133" ; +0x136, 0x140110446 call GameManager__getIntGameVariable ; +0x13d, 0x14011044d mov r8d, eax ; +0x142, 0x140110452 test eax, eax ; +0x145, 0x140110455 jz short loc_14011048E ; +0x147, 0x140110457 movsx rax, word ptr [rbx+498h] ; +0x149, 0x140110459 test ax, ax ; +0x151, 0x140110461 jle short loc_140110486 ; +0x154, 0x140110464 xor ecx, ecx ; +0x156, 0x140110466 mov r9, rax ; +0x158, 0x140110468 mov rdx, [rbx+490h] ; +0x15b, 0x14011046b movsx eax, word ptr [rdx] ; +0x162, 0x140110472 cmp eax, r8d ; +0x165, 0x140110475 jz short loc_14011048E ; +0x168, 0x140110478 inc rcx ; +0x16a, 0x14011047a add rdx, 2 ; +0x16d, 0x14011047d cmp rcx, r9 ; +0x171, 0x140110481 jl short loc_140110472 ; +0x174, 0x140110484 xor al, al ; +0x176, 0x140110486 add rsp, 20h ; +0x178, 0x140110488 pop rbx ; +0x17c, 0x14011048c retn ; +0x17d, 0x14011048d mov rcx, cs:qword_1406C2ED8 ; +0x17e, 0x14011048e test rcx, rcx ; +0x185, 0x140110495 jnz short loc_1401104C9 ; +0x188, 0x140110498 mov ecx, 668h; Size ; +0x18a, 0x14011049a call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x18f, 0x14011049f mov [rsp+28h+arg_0], rax ; +0x194, 0x1401104a4 mov rcx, rax ; +0x199, 0x1401104a9 call sub_14017AB00 ; +0x19c, 0x1401104ac nop ; +0x1a1, 0x1401104b1 mov cs:qword_1406C2ED8, rax ; +0x1a2, 0x1401104b2 mov rdx, [rax] ; +0x1a9, 0x1401104b9 mov rcx, rax ; +0x1ac, 0x1401104bc call qword ptr [rdx+48h] ; +0x1af, 0x1401104bf mov rcx, cs:qword_1406C2ED8 ; +0x1b2, 0x1401104c2 lea rdx, a0139; "0139" ; +0x1b9, 0x1401104c9 call GameManager__getIntGameVariable ; +0x1c0, 0x1401104d0 mov edx, eax ; +0x1c5, 0x1401104d5 test eax, eax ; +0x1c7, 0x1401104d7 jz short loc_140110520 ; +0x1c9, 0x1401104d9 mov rcx, [rbx+450h] ; +0x1cb, 0x1401104db test rcx, rcx ; +0x1d2, 0x1401104e2 jz short loc_1401104FA ; +0x1d5, 0x1401104e5 mov eax, [rcx+4] ; +0x1d7, 0x1401104e7 mov ecx, [rcx] ; +0x1da, 0x1401104ea cmp eax, ecx ; +0x1dc, 0x1401104ec jz short loc_1401104F4 ; +0x1de, 0x1401104ee test ecx, ecx ; +0x1e0, 0x1401104f0 jnz short loc_1401104F6 ; +0x1e2, 0x1401104f2 mov ecx, eax ; +0x1e4, 0x1401104f4 cmp ecx, edx ; +0x1e6, 0x1401104f6 jz short loc_140110520 ; +0x1e8, 0x1401104f8 mov rax, [rbx+458h] ; +0x1ea, 0x1401104fa test rax, rax ; +0x1f1, 0x140110501 jz short loc_140110486 ; +0x1f4, 0x140110504 mov ecx, [rax+4] ; +0x1f6, 0x140110506 mov eax, [rax] ; +0x1f9, 0x140110509 cmp ecx, eax ; +0x1fb, 0x14011050b jz short loc_140110513 ; +0x1fd, 0x14011050d test eax, eax ; +0x1ff, 0x14011050f jnz short loc_140110515 ; +0x201, 0x140110511 mov eax, ecx ; +0x203, 0x140110513 cmp eax, edx ; +0x205, 0x140110515 setz al ; +0x207, 0x140110517 add rsp, 20h ; +0x20a, 0x14011051a pop rbx ; +0x20e, 0x14011051e retn ; +0x20f, 0x14011051f mov al, 1 ; +0x210, 0x140110520 add rsp, 20h ; +0x212, 0x140110522 pop rbx ; +0x216, 0x140110526 retn ; +0x217, 0x140110527