; ; CollisionBlockPopup::onItemIDArrow from 0x100286a90 to 0x100286bb3 (291 bytes) ; ; 2 xrefs: ; > CollisionBlockPopup::init @ 0x10028647c ; > CollisionBlockPopup::init @ 0x10028652a ; ; 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 rbp ; +0x0, 0x100286a90 mov rbp, rsp ; +0x1, 0x100286a91 push r15 ; +0x4, 0x100286a94 push r14 ; +0x6, 0x100286a96 push rbx ; +0x8, 0x100286a98 push rax ; +0x9, 0x100286a99 mov rbx, rdi ; +0xa, 0x100286a9a mov rax, [rsi] ; +0xd, 0x100286a9d mov rdi, rsi ; +0x10, 0x100286aa0 call qword ptr [rax+40h] ; +0x13, 0x100286aa3 xor ecx, ecx ; +0x16, 0x100286aa6 cmp eax, 1 ; +0x18, 0x100286aa8 setnz cl ; +0x1b, 0x100286aab mov eax, [rbx+298h] ; +0x1e, 0x100286aae lea eax, [rax+rcx*2] ; +0x24, 0x100286ab4 dec eax ; +0x27, 0x100286ab7 xor ecx, ecx ; +0x29, 0x100286ab9 test eax, eax ; +0x2b, 0x100286abb cmovg ecx, eax ; +0x2d, 0x100286abd cmp ecx, 270Fh ; +0x30, 0x100286ac0 mov eax, 270Fh ; +0x36, 0x100286ac6 cmovl eax, ecx ; +0x3b, 0x100286acb mov [rbx+298h], eax ; +0x3e, 0x100286ace mov rcx, [rbx+280h] ; +0x44, 0x100286ad4 test rcx, rcx ; +0x4b, 0x100286adb jz short loc_100286AE8 ; +0x4e, 0x100286ade mov [rcx+690h], eax ; +0x50, 0x100286ae0 jmp short loc_100286B39 ; +0x56, 0x100286ae6 mov rdi, [rbx+288h] ; +0x58, 0x100286ae8 test rdi, rdi ; +0x5f, 0x100286aef jz short loc_100286B2F ; +0x62, 0x100286af2 call sub_100720070 ; +0x64, 0x100286af4 test eax, eax ; +0x69, 0x100286af9 jz short loc_100286B2F ; +0x6b, 0x100286afb xor r14d, r14d ; +0x6d, 0x100286afd mov rdi, [rbx+288h] ; +0x70, 0x100286b00 mov esi, r14d ; +0x77, 0x100286b07 call sub_1007200C0 ; +0x7a, 0x100286b0a mov ecx, [rbx+298h] ; +0x7f, 0x100286b0f mov [rax+690h], ecx ; +0x85, 0x100286b15 inc r14d ; +0x8b, 0x100286b1b mov rdi, [rbx+288h] ; +0x8e, 0x100286b1e call sub_100720070 ; +0x95, 0x100286b25 cmp r14d, eax ; +0x9a, 0x100286b2a jb short loc_100286B00 ; +0x9d, 0x100286b2d cmp qword ptr [rbx+280h], 0 ; +0x9f, 0x100286b2f jz short loc_100286BA5 ; +0xa7, 0x100286b37 call sub_10071F9E0 ; +0xa9, 0x100286b39 mov r14, rax ; +0xae, 0x100286b3e mov rsi, [rbx+280h] ; +0xb1, 0x100286b41 mov rdi, rax ; +0xb8, 0x100286b48 call sub_10071FCD0 ; +0xbb, 0x100286b4b test r14, r14 ; +0xc0, 0x100286b50 jz short loc_100286B93 ; +0xc3, 0x100286b53 mov rdi, r14 ; +0xc5, 0x100286b55 call sub_100720070 ; +0xc8, 0x100286b58 test eax, eax ; +0xcd, 0x100286b5d jz short loc_100286B93 ; +0xcf, 0x100286b5f xor r15d, r15d ; +0xd1, 0x100286b61 nop word ptr [rax+rax+00000000h] ; +0xd4, 0x100286b64 mov rdi, r14 ; +0xe0, 0x100286b70 mov esi, r15d ; +0xe3, 0x100286b73 call sub_1007200C0 ; +0xe6, 0x100286b76 mov rdi, rax ; +0xeb, 0x100286b7b call LevelEditorLayer__updateObjectLabel ; +0xee, 0x100286b7e inc r15d ; +0xf3, 0x100286b83 mov rdi, r14 ; +0xf6, 0x100286b86 call sub_100720070 ; +0xf9, 0x100286b89 cmp r15d, eax ; +0xfe, 0x100286b8e jb short loc_100286B70 ; +0x101, 0x100286b91 mov rdi, rbx ; +0x103, 0x100286b93 add rsp, 8 ; +0x106, 0x100286b96 pop rbx ; +0x10a, 0x100286b9a pop r14 ; +0x10b, 0x100286b9b pop r15 ; +0x10d, 0x100286b9d pop rbp ; +0x10f, 0x100286b9f jmp CollisionBlockPopup__updateTextInputLabel ; +0x110, 0x100286ba0 mov r14, [rbx+288h] ; +0x115, 0x100286ba5 test r14, r14 ; +0x11c, 0x100286bac jnz short loc_100286B55 ; +0x11f, 0x100286baf jmp short loc_100286B93 ; +0x121, 0x100286bb1