; ; EditorUI::onLockLayer from 0x14011f620 to 0x14011f6f0 (208 bytes) ; ; 2 xrefs: ; > EditorUI::init @ 0x1400e152d ; > @ 0x1406c954c ; ; 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 ; push rbx ; +0x0, 0x14011f620 sub rsp, 20h ; +0x2, 0x14011f622 mov rbx, rcx ; +0x6, 0x14011f626 mov rcx, cs:qword_1406C2ED8 ; +0x9, 0x14011f629 test rcx, rcx ; +0x10, 0x14011f630 jnz short loc_14011F664 ; +0x13, 0x14011f633 mov ecx, 668h; Size ; +0x15, 0x14011f635 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x1a, 0x14011f63a mov [rsp+28h+arg_10], rax ; +0x1f, 0x14011f63f mov rcx, rax ; +0x24, 0x14011f644 call sub_14017AB00 ; +0x27, 0x14011f647 nop ; +0x2c, 0x14011f64c mov cs:qword_1406C2ED8, rax ; +0x2d, 0x14011f64d mov rdx, [rax] ; +0x34, 0x14011f654 mov rcx, rax ; +0x37, 0x14011f657 call qword ptr [rdx+48h] ; +0x3a, 0x14011f65a mov rcx, cs:qword_1406C2ED8 ; +0x3d, 0x14011f65d lea rdx, a0103; "0103" ; +0x44, 0x14011f664 call GameManager__getGameVariable ; +0x4b, 0x14011f66b test al, al ; +0x50, 0x14011f670 jz short loc_14011F6EA ; +0x52, 0x14011f672 mov rcx, [rbx+500h] ; +0x54, 0x14011f674 movsx rax, word ptr [rcx+387Ah] ; +0x5b, 0x14011f67b mov edx, 270Fh ; +0x63, 0x14011f683 cmp ax, dx ; +0x68, 0x14011f688 jg short loc_14011F6DD ; +0x6b, 0x14011f68b test ax, ax ; +0x6d, 0x14011f68d js short loc_14011F6DD ; +0x70, 0x14011f690 cmp byte ptr [rcx+37B1h], 0 ; +0x72, 0x14011f692 jz short loc_14011F6DD ; +0x79, 0x14011f699 mov rcx, [rcx+39D0h] ; +0x7b, 0x14011f69b mov r8, rax ; +0x82, 0x14011f6a2 shr rax, 5 ; +0x85, 0x14011f6a5 lea r9, [rcx+rax*4] ; +0x89, 0x14011f6a9 and r8d, 1Fh ; +0x8d, 0x14011f6ad mov edx, [r9] ; +0x91, 0x14011f6b1 mov ecx, r8d ; +0x94, 0x14011f6b4 mov eax, 1 ; +0x97, 0x14011f6b7 shl eax, cl ; +0x9c, 0x14011f6bc test edx, eax ; +0x9e, 0x14011f6be jnz short loc_14011F6D6 ; +0xa0, 0x14011f6c0 bts edx, r8d ; +0xa2, 0x14011f6c2 mov [r9], edx ; +0xa6, 0x14011f6c6 mov rcx, rbx ; +0xa9, 0x14011f6c9 add rsp, 20h ; +0xac, 0x14011f6cc pop rbx ; +0xb0, 0x14011f6d0 jmp EditorUI__updateGroupIDLabel ; +0xb1, 0x14011f6d1 btr edx, r8d ; +0xb6, 0x14011f6d6 mov [r9], edx ; +0xba, 0x14011f6da mov rcx, rbx ; +0xbd, 0x14011f6dd add rsp, 20h ; +0xc0, 0x14011f6e0 pop rbx ; +0xc4, 0x14011f6e4 jmp EditorUI__updateGroupIDLabel ; +0xc5, 0x14011f6e5 add rsp, 20h ; +0xca, 0x14011f6ea pop rbx ; +0xce, 0x14011f6ee retn ; +0xcf, 0x14011f6ef