; ; CollisionBlockPopup::textChanged from 0x1002870f0 to 0x100287237 (327 bytes) ; ; 2 xrefs: ; > sub_100287240 @ 0x10028724c ; > @ 0x1008f3350 ; ; 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 ; cmp byte ptr [rdi+29Dh], 0 ; +0x0, 0x1002870f0 jnz locret_100287228 ; +0x7, 0x1002870f7 push rbp ; +0xd, 0x1002870fd mov rbp, rsp ; +0xe, 0x1002870fe push r14 ; +0x11, 0x100287101 push rbx ; +0x13, 0x100287103 sub rsp, 20h ; +0x14, 0x100287104 mov rbx, rdi ; +0x18, 0x100287108 lea rdi, [rbp-28h] ; +0x1b, 0x10028710b call CCTextInputNode__getString ; +0x1f, 0x10028710f test byte ptr [rbp-28h], 1 ; +0x24, 0x100287114 jnz short loc_100287125 ; +0x28, 0x100287118 lea rdi, [rbp-27h]; char * ; +0x2a, 0x10028711a call _atoi ; +0x2e, 0x10028711e jmp short loc_100287145 ; +0x33, 0x100287123 mov r14, [rbp-18h] ; +0x35, 0x100287125 mov rdi, r14; char * ; +0x39, 0x100287129 call _atoi ; +0x3c, 0x10028712c mov [rbx+298h], eax ; +0x41, 0x100287131 mov rdi, r14; __p ; +0x47, 0x100287137 call __ZdlPv; operator delete(void *) ; +0x4a, 0x10028713a mov eax, [rbx+298h] ; +0x4f, 0x10028713f xor ecx, ecx ; +0x55, 0x100287145 test eax, eax ; +0x57, 0x100287147 cmovg ecx, eax ; +0x59, 0x100287149 cmp ecx, 270Fh ; +0x5c, 0x10028714c mov eax, 270Fh ; +0x62, 0x100287152 cmovl eax, ecx ; +0x67, 0x100287157 mov [rbx+298h], eax ; +0x6a, 0x10028715a mov rcx, [rbx+280h] ; +0x70, 0x100287160 test rcx, rcx ; +0x77, 0x100287167 jz short loc_100287174 ; +0x7a, 0x10028716a mov [rcx+690h], eax ; +0x7c, 0x10028716c jmp short loc_1002871C9 ; +0x82, 0x100287172 mov rdi, [rbx+288h] ; +0x84, 0x100287174 test rdi, rdi ; +0x8b, 0x10028717b jz short loc_1002871BF ; +0x8e, 0x10028717e call sub_100720070 ; +0x90, 0x100287180 test eax, eax ; +0x95, 0x100287185 jz short loc_1002871BF ; +0x97, 0x100287187 xor r14d, r14d ; +0x99, 0x100287189 nop dword ptr [rax+00h] ; +0x9c, 0x10028718c mov rdi, [rbx+288h] ; +0xa0, 0x100287190 mov esi, r14d ; +0xa7, 0x100287197 call sub_1007200C0 ; +0xaa, 0x10028719a mov ecx, [rbx+298h] ; +0xaf, 0x10028719f mov [rax+690h], ecx ; +0xb5, 0x1002871a5 inc r14d ; +0xbb, 0x1002871ab mov rdi, [rbx+288h] ; +0xbe, 0x1002871ae call sub_100720070 ; +0xc5, 0x1002871b5 cmp r14d, eax ; +0xca, 0x1002871ba jb short loc_100287190 ; +0xcd, 0x1002871bd cmp qword ptr [rbx+280h], 0 ; +0xcf, 0x1002871bf jz short loc_100287229 ; +0xd7, 0x1002871c7 call sub_10071F9E0 ; +0xd9, 0x1002871c9 mov r14, rax ; +0xde, 0x1002871ce mov rsi, [rbx+280h] ; +0xe1, 0x1002871d1 mov rdi, rax ; +0xe8, 0x1002871d8 call sub_10071FCD0 ; +0xeb, 0x1002871db test r14, r14 ; +0xf0, 0x1002871e0 jz short loc_100287220 ; +0xf3, 0x1002871e3 mov rdi, r14 ; +0xf5, 0x1002871e5 call sub_100720070 ; +0xf8, 0x1002871e8 test eax, eax ; +0xfd, 0x1002871ed jz short loc_100287220 ; +0xff, 0x1002871ef xor ebx, ebx ; +0x101, 0x1002871f1 nop word ptr [rax+rax+00000000h] ; +0x103, 0x1002871f3 mov rdi, r14 ; +0x110, 0x100287200 mov esi, ebx ; +0x113, 0x100287203 call sub_1007200C0 ; +0x115, 0x100287205 mov rdi, rax ; +0x11a, 0x10028720a call LevelEditorLayer__updateObjectLabel ; +0x11d, 0x10028720d inc ebx ; +0x122, 0x100287212 mov rdi, r14 ; +0x124, 0x100287214 call sub_100720070 ; +0x127, 0x100287217 cmp ebx, eax ; +0x12c, 0x10028721c jb short loc_100287200 ; +0x12e, 0x10028721e add rsp, 20h ; +0x130, 0x100287220 pop rbx ; +0x134, 0x100287224 pop r14 ; +0x135, 0x100287225 pop rbp ; +0x137, 0x100287227 retn ; +0x138, 0x100287228 mov r14, [rbx+288h] ; +0x139, 0x100287229 test r14, r14 ; +0x140, 0x100287230 jnz short loc_1002871E5 ; +0x143, 0x100287233 jmp short loc_100287220 ; +0x145, 0x100287235