; ; EditorUI::onTargetIDChange from 0x10004df20 to 0x10004e059 (313 bytes) ; ; 2 xrefs: ; > EditorUI::keyDown @ 0x100050e26 ; > EditorUI::keyDown @ 0x1000510bd ; ; 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, 0x10004df20 mov rbp, rsp ; +0x1, 0x10004df21 push r15 ; +0x4, 0x10004df24 push r14 ; +0x6, 0x10004df26 push r13 ; +0x8, 0x10004df28 push r12 ; +0xa, 0x10004df2a push rbx ; +0xc, 0x10004df2c push rax; char ; +0xd, 0x10004df2d mov ebx, esi ; +0xe, 0x10004df2e mov rax, rdi ; +0x10, 0x10004df30 mov rdi, [rdi+520h] ; +0x13, 0x10004df33 test rdi, rdi ; +0x1a, 0x10004df3a jz short loc_10004DF58 ; +0x1d, 0x10004df3d call sub_10071FA80 ; +0x1f, 0x10004df3f mov r14, rax ; +0x24, 0x10004df44 mov rdi, r14 ; +0x27, 0x10004df47 call sub_100720070 ; +0x2a, 0x10004df4a test eax, eax ; +0x2f, 0x10004df4f jnz short loc_10004DF6F ; +0x31, 0x10004df51 jmp loc_10004E04A ; +0x33, 0x10004df53 mov r14, [rax+328h] ; +0x38, 0x10004df58 mov rdi, r14 ; +0x3f, 0x10004df5f call sub_100720070 ; +0x42, 0x10004df62 test eax, eax ; +0x47, 0x10004df67 jz loc_10004E04A ; +0x49, 0x10004df69 mov rdi, r14 ; +0x4f, 0x10004df6f call sub_100720070 ; +0x52, 0x10004df72 test eax, eax ; +0x57, 0x10004df77 jz short loc_10004DFAB ; +0x59, 0x10004df79 xor r15d, r15d ; +0x5b, 0x10004df7b xchg ax, ax ; +0x5e, 0x10004df7e mov rdi, r14 ; +0x60, 0x10004df80 mov esi, r15d ; +0x63, 0x10004df83 call sub_1007200C0 ; +0x66, 0x10004df86 mov rdi, rax ; +0x6b, 0x10004df8b call GameObject__isTrigger ; +0x6e, 0x10004df8e test al, al ; +0x73, 0x10004df93 jz loc_10004E04A ; +0x75, 0x10004df95 inc r15d ; +0x7b, 0x10004df9b mov rdi, r14 ; +0x7e, 0x10004df9e call sub_100720070 ; +0x81, 0x10004dfa1 cmp r15d, eax ; +0x86, 0x10004dfa6 jb short loc_10004DF80 ; +0x89, 0x10004dfa9 mov rdi, r14 ; +0x8b, 0x10004dfab call sub_100720070 ; +0x8e, 0x10004dfae test eax, eax ; +0x93, 0x10004dfb3 jz loc_10004E04A ; +0x95, 0x10004dfb5 xor r12d, r12d ; +0x9b, 0x10004dfbb jmp short loc_10004DFD0 ; +0x9e, 0x10004dfbe inc r12d ; +0xa0, 0x10004dfc0 mov rdi, r14 ; +0xa3, 0x10004dfc3 call sub_100720070 ; +0xa6, 0x10004dfc6 cmp r12d, eax ; +0xab, 0x10004dfcb jnb short loc_10004E04A ; +0xae, 0x10004dfce mov rdi, r14 ; +0xb0, 0x10004dfd0 mov esi, r12d ; +0xb3, 0x10004dfd3 call sub_1007200C0 ; +0xb6, 0x10004dfd6 mov r13, rax ; +0xbb, 0x10004dfdb mov rdi, rax ; +0xbe, 0x10004dfde call GameObject__isTrigger ; +0xc1, 0x10004dfe1 test al, al ; +0xc6, 0x10004dfe6 jz short loc_10004DFC0 ; +0xc8, 0x10004dfe8 mov esi, [r13+5B8h] ; +0xca, 0x10004dfea test esi, esi ; +0xd1, 0x10004dff1 jle short loc_10004DFC0 ; +0xd3, 0x10004dff3 add esi, ebx ; +0xd5, 0x10004dff5 mov rdi, r13 ; +0xd7, 0x10004dff7 call EffectGameObject__setTargetID ; +0xda, 0x10004dffa mov rax, [r13+0] ; +0xdf, 0x10004dfff mov rdi, r13 ; +0xe3, 0x10004e003 mov esi, 3E7h ; +0xe6, 0x10004e006 call qword ptr [rax+1D0h] ; +0xeb, 0x10004e00b test rax, rax ; +0xf1, 0x10004e011 jz short loc_10004DFC0 ; +0xf4, 0x10004e014 mov r15, rax ; +0xf6, 0x10004e016 mov esi, [r13+5B8h] ; +0xf9, 0x10004e019 lea rdi, aI; "%i" ; +0x100, 0x10004e020 xor eax, eax ; +0x107, 0x10004e027 call sub_1007AB580 ; +0x109, 0x10004e029 mov rdi, rax ; +0x10e, 0x10004e02e call cocos2d__CCString__getCString ; +0x111, 0x10004e031 mov rcx, [r15] ; +0x116, 0x10004e036 mov rdi, r15 ; +0x119, 0x10004e039 mov rsi, rax ; +0x11c, 0x10004e03c call qword ptr [rcx+390h] ; +0x11f, 0x10004e03f jmp loc_10004DFC0 ; +0x125, 0x10004e045 add rsp, 8 ; +0x12a, 0x10004e04a pop rbx ; +0x12e, 0x10004e04e pop r12 ; +0x12f, 0x10004e04f pop r13 ; +0x131, 0x10004e051 pop r14 ; +0x133, 0x10004e053 pop r15 ; +0x135, 0x10004e055 pop rbp ; +0x137, 0x10004e057 retn ; +0x138, 0x10004e058