; ; EditorUI::setDpadStep from 0x1401f3e60 to 0x1401f3f8c (300 bytes) ; ; 6 xrefs: ; > EditorUI::handleEditorAction @ 0x1401c372c ; > EditorUI::createDpadMoveMenu @ 0x1401f3df6 ; > EditorUI::onDpadStep @ 0x1401f3fed ; > @ 0x1408a32f4 ; > @ 0x1408a3304 ; > @ 0x14091aa20 ; ; 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 11:28:09 +0000 ; mov [rsp+arg_18], rbx ; +0x0, 0x1401f3e60 push rbp ; +0x5, 0x1401f3e65 sub rsp, 20h ; +0x6, 0x1401f3e66 cmp qword ptr [rcx+680h], 0 ; +0xa, 0x1401f3e6a mov ebp, edx ; +0x12, 0x1401f3e72 mov rbx, rcx ; +0x14, 0x1401f3e74 jz loc_1401F3F81 ; +0x17, 0x1401f3e77 cmp edx, 8 ; +0x1d, 0x1401f3e7d ja loc_1401F3F81 ; +0x20, 0x1401f3e80 mov [rsp+28h+arg_0], rsi ; +0x26, 0x1401f3e86 xor esi, esi ; +0x2b, 0x1401f3e8b mov [rcx+688h], edx ; +0x2d, 0x1401f3e8d mov rcx, [rcx+690h] ; +0x33, 0x1401f3e93 mov [rsp+28h+arg_8], rdi ; +0x3a, 0x1401f3e9a mov edi, esi ; +0x3f, 0x1401f3e9f mov [rsp+28h+arg_10], r14 ; +0x41, 0x1401f3ea1 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x46, 0x1401f3ea6 test eax, eax ; +0x4c, 0x1401f3eac jle short loc_1401F3F00 ; +0x4e, 0x1401f3eae lea r14, unk_1407032B0 ; +0x50, 0x1401f3eb0 nop word ptr [rax+rax+00000000h] ; +0x57, 0x1401f3eb7 mov rcx, [rbx+690h] ; +0x60, 0x1401f3ec0 mov edx, edi ; +0x67, 0x1401f3ec7 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x69, 0x1401f3ec9 movsxd rcx, dword ptr [rbx+688h] ; +0x6f, 0x1401f3ecf shl rcx, 5 ; +0x76, 0x1401f3ed6 mov edx, [rcx+r14] ; +0x7a, 0x1401f3eda mov rcx, [rax] ; +0x7e, 0x1401f3ede add edx, edi ; +0x81, 0x1401f3ee1 mov r8, [rcx+40h] ; +0x83, 0x1401f3ee3 mov rcx, rax ; +0x87, 0x1401f3ee7 call r8 ; +0x8a, 0x1401f3eea mov rcx, [rbx+690h] ; +0x8d, 0x1401f3eed inc edi ; +0x94, 0x1401f3ef4 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x96, 0x1401f3ef6 cmp edi, eax ; +0x9c, 0x1401f3efc jl short loc_1401F3EC0 ; +0x9e, 0x1401f3efe mov rcx, [rbx+698h] ; +0xa0, 0x1401f3f00 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xa7, 0x1401f3f07 test eax, eax ; +0xad, 0x1401f3f0d jle short loc_1401F3F6A ; +0xaf, 0x1401f3f0f lea r14, aGjButton02Png; "GJ_button_02.png" ; +0xb1, 0x1401f3f11 nop dword ptr [rax+rax+00000000h] ; +0xb8, 0x1401f3f18 mov rcx, [rbx+698h] ; +0xc0, 0x1401f3f20 mov edx, esi ; +0xc7, 0x1401f3f27 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0xc9, 0x1401f3f29 cmp esi, ebp ; +0xcf, 0x1401f3f2f lea rdi, aGjButton04Png; "GJ_button_04.png" ; +0xd1, 0x1401f3f31 cmovz rdi, r14 ; +0xd8, 0x1401f3f38 mov rcx, [rax] ; +0xdc, 0x1401f3f3c mov r8, [rcx+3B8h] ; +0xdf, 0x1401f3f3f mov rcx, rax ; +0xe6, 0x1401f3f46 call r8 ; +0xe9, 0x1401f3f49 mov rcx, rax ; +0xec, 0x1401f3f4c mov rdx, rdi ; +0xef, 0x1401f3f4f call ButtonSprite__updateBGImage ; +0xf2, 0x1401f3f52 mov rcx, [rbx+698h] ; +0xf7, 0x1401f3f57 inc esi ; +0xfe, 0x1401f3f5e call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x100, 0x1401f3f60 cmp esi, eax ; +0x106, 0x1401f3f66 jl short loc_1401F3F20 ; +0x108, 0x1401f3f68 mov rcx, rbx ; +0x10a, 0x1401f3f6a call EditorUI__updateDpadStepLabel ; +0x10d, 0x1401f3f6d mov r14, [rsp+28h+arg_10] ; +0x112, 0x1401f3f72 mov rdi, [rsp+28h+arg_8] ; +0x117, 0x1401f3f77 mov rsi, [rsp+28h+arg_0] ; +0x11c, 0x1401f3f7c mov rbx, [rsp+28h+arg_18] ; +0x121, 0x1401f3f81 add rsp, 20h ; +0x126, 0x1401f3f86 pop rbp ; +0x12a, 0x1401f3f8a retn ; +0x12b, 0x1401f3f8b