; ; EditLevelLayer::textChanged from 0x14017ae50 to 0x14017b0eb (667 bytes) ; ; 2 xrefs: ; > @ 0x1407481d0 ; > @ 0x14091871c ; ; 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:27:35 +0000 ; mov [rsp-8+arg_10], rbx ; +0x0, 0x14017ae50 mov [rsp-8+arg_18], rsi ; +0x5, 0x14017ae55 push rbp ; +0xa, 0x14017ae5a push rdi ; +0xb, 0x14017ae5b push r14 ; +0xc, 0x14017ae5c lea rbp, [rsp-47h] ; +0xe, 0x14017ae5e sub rsp, 0A0h ; +0x13, 0x14017ae63 mov rax, cs:__security_cookie ; +0x1a, 0x14017ae6a xor rax, rsp ; +0x21, 0x14017ae71 mov [rbp+57h+var_18], rax ; +0x24, 0x14017ae74 mov rdi, rdx ; +0x28, 0x14017ae78 mov rsi, rcx ; +0x2b, 0x14017ae7b xor r14d, r14d ; +0x2e, 0x14017ae7e mov rax, [rdx] ; +0x31, 0x14017ae81 mov rcx, rdx ; +0x34, 0x14017ae84 call qword ptr [rax+38h] ; +0x37, 0x14017ae87 sub eax, 1 ; +0x3a, 0x14017ae8a jz loc_14017AFE4 ; +0x3d, 0x14017ae8d cmp eax, 1 ; +0x43, 0x14017ae93 jnz loc_14017AF54 ; +0x46, 0x14017ae96 mov rcx, [rdi+250h] ; +0x4c, 0x14017ae9c add rcx, 258h ; +0x53, 0x14017aea3 mov rax, [rcx] ; +0x5a, 0x14017aeaa call qword ptr [rax+8] ; +0x5d, 0x14017aead xorps xmm0, xmm0 ; +0x60, 0x14017aeb0 movups xmmword ptr [rbp+57h+Src], xmm0 ; +0x63, 0x14017aeb3 mov [rbp+57h+Size], r14 ; +0x67, 0x14017aeb7 mov [rbp+57h+var_40], r14 ; +0x6b, 0x14017aebb mov rbx, 0FFFFFFFFFFFFFFFFh ; +0x6f, 0x14017aebf inc rbx ; +0x76, 0x14017aec6 cmp [rax+rbx], r14b ; +0x79, 0x14017aec9 jnz short loc_14017AEC6 ; +0x7d, 0x14017aecd mov r8, rbx ; +0x7f, 0x14017aecf mov rdx, rax ; +0x82, 0x14017aed2 lea rcx, [rbp+57h+Src] ; +0x85, 0x14017aed5 call sub_14003D230 ; +0x89, 0x14017aed9 nop ; +0x8e, 0x14017aede call ensureEmotesAreLoaded ; +0x8f, 0x14017aedf lea rbx, [rsi+0A0h] ; +0x94, 0x14017aee4 mov edx, cs:dword_1408FE3A4 ; +0x9b, 0x14017aeeb lea rcx, [rbp+57h+Src] ; +0xa1, 0x14017aef1 call EmoteSprite__effectiveLength ; +0xa5, 0x14017aef5 cmp eax, 0B4h ; +0xaa, 0x14017aefa jle short loc_14017AF78 ; +0xaf, 0x14017aeff mov rdx, rbx ; +0xb1, 0x14017af01 lea rcx, [rbp+57h+var_38] ; +0xb4, 0x14017af04 call sub_14003F4F0 ; +0xb8, 0x14017af08 mov rdx, rax ; +0xbd, 0x14017af0d mov rcx, rdi ; +0xc0, 0x14017af10 call CCTextInputNode__setString ; +0xc3, 0x14017af13 nop ; +0xc8, 0x14017af18 mov rdx, [rbp+57h+var_40] ; +0xc9, 0x14017af19 cmp rdx, 0Fh ; +0xcd, 0x14017af1d jbe short loc_14017AF54 ; +0xd1, 0x14017af21 inc rdx ; +0xd3, 0x14017af23 mov rcx, [rbp+57h+Src] ; +0xd6, 0x14017af26 mov rax, rcx ; +0xda, 0x14017af2a cmp rdx, 1000h ; +0xdd, 0x14017af2d jb short loc_14017AF4F ; +0xe4, 0x14017af34 add rdx, 27h ; ''' ; +0xe6, 0x14017af36 mov rcx, [rcx-8]; Block ; +0xea, 0x14017af3a sub rax, rcx ; +0xee, 0x14017af3e sub rax, 8 ; +0xf1, 0x14017af41 cmp rax, 1Fh ; +0xf5, 0x14017af45 ja loc_14017AFCE ; +0xf9, 0x14017af49 call j_j_free ; +0xff, 0x14017af4f mov rcx, [rbp+57h+var_18] ; +0x104, 0x14017af54 xor rcx, rsp; StackCookie ; +0x108, 0x14017af58 call __security_check_cookie ; +0x10b, 0x14017af5b lea r11, [rsp+0B0h+var_10] ; +0x110, 0x14017af60 mov rbx, [r11+30h] ; +0x118, 0x14017af68 mov rsi, [r11+38h] ; +0x11c, 0x14017af6c mov rsp, r11 ; +0x120, 0x14017af70 pop r14 ; +0x123, 0x14017af73 pop rdi ; +0x125, 0x14017af75 pop rbp ; +0x126, 0x14017af76 retn ; +0x127, 0x14017af77 lea rax, [rbp+57h+Src] ; +0x128, 0x14017af78 cmp rbx, rax ; +0x12c, 0x14017af7c jz short loc_14017AF9C ; +0x12f, 0x14017af7f lea rdx, [rbp+57h+Src] ; +0x131, 0x14017af81 cmp [rbp+57h+var_40], 0Fh ; +0x135, 0x14017af85 cmova rdx, [rbp+57h+Src]; Src ; +0x13a, 0x14017af8a mov r8, [rbp+57h+Size]; Size ; +0x13f, 0x14017af8f mov rcx, rbx; void * ; +0x143, 0x14017af93 call sub_1400405A0 ; +0x146, 0x14017af96 nop ; +0x14b, 0x14017af9b mov rdx, [rbp+57h+var_40] ; +0x14c, 0x14017af9c cmp rdx, 0Fh ; +0x150, 0x14017afa0 jbe short loc_14017AF54 ; +0x154, 0x14017afa4 inc rdx ; +0x156, 0x14017afa6 mov rcx, [rbp+57h+Src] ; +0x159, 0x14017afa9 mov rax, rcx ; +0x15d, 0x14017afad cmp rdx, 1000h ; +0x160, 0x14017afb0 jb short loc_14017AF4F ; +0x167, 0x14017afb7 add rdx, 27h ; ''' ; +0x169, 0x14017afb9 mov rcx, [rcx-8] ; +0x16d, 0x14017afbd sub rax, rcx ; +0x171, 0x14017afc1 sub rax, 8 ; +0x174, 0x14017afc4 cmp rax, 1Fh ; +0x178, 0x14017afc8 jbe short loc_14017AF4F ; +0x17c, 0x14017afcc mov [rsp+0B0h+Reserved], r14; Reserved ; +0x17e, 0x14017afce xor r9d, r9d; LineNo ; +0x183, 0x14017afd3 xor r8d, r8d; FileName ; +0x186, 0x14017afd6 xor edx, edx; FunctionName ; +0x189, 0x14017afd9 xor ecx, ecx; Expression ; +0x18b, 0x14017afdb call cs:_invoke_watson ; +0x18d, 0x14017afdd align 4 ; +0x193, 0x14017afe3 mov rcx, [rdi+250h] ; +0x194, 0x14017afe4 add rcx, 258h ; +0x19b, 0x14017afeb mov rax, [rcx] ; +0x1a2, 0x14017aff2 call qword ptr [rax+8] ; +0x1a5, 0x14017aff5 xorps xmm0, xmm0 ; +0x1a8, 0x14017aff8 movups [rbp+57h+var_38], xmm0 ; +0x1ab, 0x14017affb xorps xmm1, xmm1 ; +0x1af, 0x14017afff movdqu [rbp+57h+var_28], xmm1 ; +0x1b2, 0x14017b002 mov rbx, 0FFFFFFFFFFFFFFFFh ; +0x1b7, 0x14017b007 mov r8, rbx ; +0x1be, 0x14017b00e inc r8 ; +0x1c1, 0x14017b011 cmp [rax+r8], r14b ; +0x1c4, 0x14017b014 jnz short loc_14017B011 ; +0x1c8, 0x14017b018 mov rdx, rax ; +0x1ca, 0x14017b01a lea rcx, [rbp+57h+var_38] ; +0x1cd, 0x14017b01d call sub_14003D230 ; +0x1d1, 0x14017b021 nop ; +0x1d6, 0x14017b026 lea rdx, [rbp+57h+var_38] ; +0x1d7, 0x14017b027 cmp qword ptr [rbp+57h+var_28+8], 0Fh ; +0x1db, 0x14017b02b cmova rdx, qword ptr [rbp+57h+var_38] ; +0x1e0, 0x14017b030 xorps xmm0, xmm0 ; +0x1e5, 0x14017b035 movups xmmword ptr [rbp+57h+var_78], xmm0 ; +0x1e8, 0x14017b038 mov [rbp+57h+var_68], r14 ; +0x1ec, 0x14017b03c mov [rbp+57h+var_60], r14 ; +0x1f0, 0x14017b040 inc rbx ; +0x1f4, 0x14017b044 cmp byte ptr [rdx+rbx], 0 ; +0x1f7, 0x14017b047 jnz short loc_14017B044 ; +0x1fb, 0x14017b04b mov r8, rbx ; +0x1fd, 0x14017b04d lea rcx, [rbp+57h+var_78] ; +0x200, 0x14017b050 call sub_14003D230 ; +0x204, 0x14017b054 lea rax, [rbp+57h+var_78] ; +0x209, 0x14017b059 mov [rbp+57h+var_80], rax ; +0x20d, 0x14017b05d mov rcx, [rsi+40h] ; +0x211, 0x14017b061 add rcx, 158h; void * ; +0x215, 0x14017b065 lea rax, [rbp+57h+var_78] ; +0x21c, 0x14017b06c cmp rcx, rax ; +0x220, 0x14017b070 jz short loc_14017B08D ; +0x223, 0x14017b073 lea rdx, [rbp+57h+var_78] ; +0x225, 0x14017b075 cmp [rbp+57h+var_60], 0Fh ; +0x229, 0x14017b079 cmova rdx, [rbp+57h+var_78]; Src ; +0x22e, 0x14017b07e mov r8, [rbp+57h+var_68]; Size ; +0x233, 0x14017b083 call sub_1400405A0 ; +0x237, 0x14017b087 nop ; +0x23c, 0x14017b08c lea rcx, [rbp+57h+var_78] ; +0x23d, 0x14017b08d call sub_14003D310 ; +0x241, 0x14017b091 nop ; +0x246, 0x14017b096 mov rdx, qword ptr [rbp+57h+var_28+8] ; +0x247, 0x14017b097 cmp rdx, 0Fh ; +0x24b, 0x14017b09b jbe loc_14017AF54 ; +0x24f, 0x14017b09f inc rdx ; +0x255, 0x14017b0a5 mov rcx, qword ptr [rbp+57h+var_38] ; +0x258, 0x14017b0a8 mov rax, rcx ; +0x25c, 0x14017b0ac cmp rdx, 1000h ; +0x25f, 0x14017b0af jb loc_14017AF4F ; +0x266, 0x14017b0b6 add rdx, 27h ; ''' ; +0x26c, 0x14017b0bc mov rcx, [rcx-8] ; +0x270, 0x14017b0c0 sub rax, rcx ; +0x274, 0x14017b0c4 sub rax, 8 ; +0x277, 0x14017b0c7 cmp rax, 1Fh ; +0x27b, 0x14017b0cb jbe loc_14017AF4F ; +0x27f, 0x14017b0cf mov [rsp+0B0h+Reserved], r14; Reserved ; +0x285, 0x14017b0d5 xor r9d, r9d; LineNo ; +0x28a, 0x14017b0da xor r8d, r8d; FileName ; +0x28d, 0x14017b0dd xor edx, edx; FunctionName ; +0x290, 0x14017b0e0 xor ecx, ecx; Expression ; +0x292, 0x14017b0e2 call cs:_invoke_watson ; +0x294, 0x14017b0e4 db 0CCh ; +0x29a, 0x14017b0ea