; ; EditorUI::setDpadStep from 0x10063afe0 to 0x10063b0f6 (278 bytes) ; ; 4 xrefs: ; > EditorUI::createDpadMoveMenu @ 0x10063adac ; > EditorUI::onDpadStep @ 0x10063afb1 ; > EditorUI::onDpadStep @ 0x10063afd4 ; > EditorUI::nextDpadStep @ 0x10063b310 ; ; 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:34:40 +0000 ; push rbp ; +0x0, 0x10063afe0 mov rbp, rsp ; +0x1, 0x10063afe1 push r15 ; +0x4, 0x10063afe4 push r14 ; +0x6, 0x10063afe6 push r13 ; +0x8, 0x10063afe8 push r12 ; +0xa, 0x10063afea push rbx ; +0xc, 0x10063afec push rax ; +0xd, 0x10063afed cmp esi, 8 ; +0xe, 0x10063afee ja loc_10063B0E7 ; +0x11, 0x10063aff1 mov rbx, rdi ; +0x17, 0x10063aff7 cmp qword ptr [rdi+638h], 0 ; +0x1a, 0x10063affa jz loc_10063B0E7 ; +0x22, 0x10063b002 mov r14d, esi ; +0x28, 0x10063b008 mov [rbx+640h], esi ; +0x2b, 0x10063b00b mov rdi, [rbx+648h] ; +0x31, 0x10063b011 call sub_1007FEF90 ; +0x38, 0x10063b018 test eax, eax ; +0x3d, 0x10063b01d jle short loc_10063B06E ; +0x3f, 0x10063b01f xor r15d, r15d ; +0x41, 0x10063b021 lea r12, unk_100B7FD50 ; +0x44, 0x10063b024 nop dword ptr [rax+rax+00h] ; +0x4b, 0x10063b02b mov rdi, [rbx+648h] ; +0x50, 0x10063b030 mov esi, r15d ; +0x57, 0x10063b037 call sub_1007FEFE0 ; +0x5a, 0x10063b03a movsxd rcx, dword ptr [rbx+640h] ; +0x5f, 0x10063b03f shl rcx, 5 ; +0x66, 0x10063b046 mov esi, [rcx+r12] ; +0x6a, 0x10063b04a add esi, r15d ; +0x6e, 0x10063b04e mov rcx, [rax] ; +0x71, 0x10063b051 mov rdi, rax ; +0x74, 0x10063b054 call qword ptr [rcx+48h] ; +0x77, 0x10063b057 inc r15d ; +0x7a, 0x10063b05a mov rdi, [rbx+648h] ; +0x7d, 0x10063b05d call sub_1007FEF90 ; +0x84, 0x10063b064 cmp r15d, eax ; +0x89, 0x10063b069 jl short loc_10063B030 ; +0x8c, 0x10063b06c mov rdi, [rbx+650h] ; +0x8e, 0x10063b06e call sub_1007FEF90 ; +0x95, 0x10063b075 test eax, eax ; +0x9a, 0x10063b07a jle short loc_10063B0D1 ; +0x9c, 0x10063b07c xor r15d, r15d ; +0x9e, 0x10063b07e lea r12, aGjButton02Png; "GJ_button_02.png" ; +0xa1, 0x10063b081 lea r13, aGjButton04Png; "GJ_button_04.png" ; +0xa8, 0x10063b088 nop ; +0xaf, 0x10063b08f mov rdi, [rbx+650h] ; +0xb0, 0x10063b090 mov esi, r15d ; +0xb7, 0x10063b097 call sub_1007FEFE0 ; +0xba, 0x10063b09a mov rcx, [rax] ; +0xbf, 0x10063b09f mov rdi, rax ; +0xc2, 0x10063b0a2 call qword ptr [rcx+430h] ; +0xc5, 0x10063b0a5 cmp r14d, r15d ; +0xcb, 0x10063b0ab mov rsi, r13 ; +0xce, 0x10063b0ae cmovz rsi, r12 ; +0xd1, 0x10063b0b1 mov rdi, rax ; +0xd5, 0x10063b0b5 call ButtonSprite__updateBGImage ; +0xd8, 0x10063b0b8 inc r15d ; +0xdd, 0x10063b0bd mov rdi, [rbx+650h] ; +0xe0, 0x10063b0c0 call sub_1007FEF90 ; +0xe7, 0x10063b0c7 cmp r15d, eax ; +0xec, 0x10063b0cc jl short loc_10063B090 ; +0xef, 0x10063b0cf mov rdi, rbx ; +0xf1, 0x10063b0d1 add rsp, 8 ; +0xf4, 0x10063b0d4 pop rbx ; +0xf8, 0x10063b0d8 pop r12 ; +0xf9, 0x10063b0d9 pop r13 ; +0xfb, 0x10063b0db pop r14 ; +0xfd, 0x10063b0dd pop r15 ; +0xff, 0x10063b0df pop rbp ; +0x101, 0x10063b0e1 jmp EditorUI__updateDpadStepLabel ; +0x102, 0x10063b0e2 add rsp, 8 ; +0x107, 0x10063b0e7 pop rbx ; +0x10b, 0x10063b0eb pop r12 ; +0x10c, 0x10063b0ec pop r13 ; +0x10e, 0x10063b0ee pop r14 ; +0x110, 0x10063b0f0 pop r15 ; +0x112, 0x10063b0f2 pop rbp ; +0x114, 0x10063b0f4 retn ; +0x115, 0x10063b0f5