; ; EditorSoundBrowserLayer::onSelectMode from 0x14018f070 to 0x14018f2ac (572 bytes) ; ; 2 xrefs: ; > EditorSoundBrowserLayer::init @ 0x14018de82 ; > @ 0x140919208 ; ; 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:42 +0000 ; mov [rsp-8+arg_0], rbx ; +0x0, 0x14018f070 push rbp ; +0x5, 0x14018f075 push rsi ; +0x6, 0x14018f076 push rdi ; +0x7, 0x14018f077 lea rbp, [rsp-47h] ; +0x8, 0x14018f078 sub rsp, 100h ; +0xd, 0x14018f07d mov rbx, rcx ; +0x14, 0x14018f084 mov rax, [rdx] ; +0x17, 0x14018f087 mov rcx, rdx ; +0x1a, 0x14018f08a call qword ptr [rax+38h] ; +0x1d, 0x14018f08d cmp eax, 9 ; +0x20, 0x14018f090 ja loc_14018F299 ; +0x23, 0x14018f093 jnz loc_14018F28F ; +0x29, 0x14018f099 mov dword ptr [rbx+4A0h], 2 ; +0x2f, 0x14018f09f lea rax, [rbp+57h+var_A0] ; +0x39, 0x14018f0a9 mov [rbp+57h+arg_8], rax ; +0x3d, 0x14018f0ad lea rax, [rbp+57h+var_80] ; +0x41, 0x14018f0b1 mov [rbp+57h+arg_10], rax ; +0x45, 0x14018f0b5 lea rax, [rbp+57h+var_C0] ; +0x49, 0x14018f0b9 mov [rbp+57h+arg_18], rax ; +0x4d, 0x14018f0bd xorps xmm0, xmm0 ; +0x51, 0x14018f0c1 movups [rbp+57h+var_A0], xmm0 ; +0x54, 0x14018f0c4 mov [rbp+57h+var_90], 6 ; +0x58, 0x14018f0c8 mov [rbp+57h+var_88], 0Fh ; +0x60, 0x14018f0d0 mov eax, dword ptr cs:aSearch; "Search" ; +0x68, 0x14018f0d8 mov dword ptr [rbp+57h+var_A0], eax ; +0x6e, 0x14018f0de movzx eax, word ptr cs:aSearch+4; "ch" ; +0x71, 0x14018f0e1 mov word ptr [rbp+57h+var_A0+4], ax ; +0x78, 0x14018f0e8 mov byte ptr [rbp+57h+var_A0+6], 0 ; +0x7c, 0x14018f0ec movups [rbp+57h+var_80], xmm0 ; +0x80, 0x14018f0f0 xor esi, esi ; +0x84, 0x14018f0f4 mov [rbp+57h+var_70], rsi ; +0x86, 0x14018f0f6 mov [rbp+57h+var_68], rsi ; +0x8a, 0x14018f0fa mov ecx, 20h ; ' ' ; +0x8e, 0x14018f0fe call sub_14003D460 ; +0x93, 0x14018f103 mov qword ptr [rbp+57h+var_80], rax ; +0x98, 0x14018f108 mov [rbp+57h+var_70], 12h ; +0x9c, 0x14018f10c mov [rbp+57h+var_68], 1Fh ; +0xa4, 0x14018f114 movups xmm0, cs:xmmword_14074C9C0 ; +0xac, 0x14018f11c movups xmmword ptr [rax], xmm0 ; +0xb3, 0x14018f123 movzx ecx, cs:word_14074C9D0 ; +0xb6, 0x14018f126 mov [rax+10h], cx ; +0xbd, 0x14018f12d mov [rax+12h], sil ; +0xc1, 0x14018f131 mov word ptr [rbp+57h+var_C0+0Eh], si ; +0xc5, 0x14018f135 mov [rbp+57h+var_B0], 0Dh ; +0xc9, 0x14018f139 mov [rbp+57h+var_A8], 0Fh ; +0xd1, 0x14018f141 movsd xmm0, cs:qword_14074C9D8 ; +0xd9, 0x14018f149 movsd qword ptr [rbp+57h+var_C0], xmm0 ; +0xe1, 0x14018f151 mov eax, cs:dword_14074C9E0 ; +0xe6, 0x14018f156 mov dword ptr [rbp+57h+var_C0+8], eax ; +0xec, 0x14018f15c movzx eax, cs:byte_14074C9E4 ; +0xef, 0x14018f15f mov [rbp+57h+var_C0+0Ch], al ; +0xf6, 0x14018f166 mov [rbp+57h+var_C0+0Dh], sil ; +0xf9, 0x14018f169 lea rdx, [rbx+450h] ; +0xfd, 0x14018f16d lea rcx, [rbp+57h+var_38] ; +0x104, 0x14018f174 call sub_14003F4F0 ; +0x108, 0x14018f178 nop ; +0x10d, 0x14018f17d mov [rsp+110h+var_C8], esi ; +0x10e, 0x14018f17e mov [rsp+110h+var_D0], 1 ; +0x112, 0x14018f182 mov [rsp+110h+var_D8], sil ; +0x11a, 0x14018f18a xorps xmm0, xmm0 ; +0x11f, 0x14018f18f movss [rsp+110h+var_E0], xmm0 ; +0x122, 0x14018f192 mov [rsp+110h+var_E8], sil ; +0x128, 0x14018f198 lea rcx, [rbp+57h+var_A0] ; +0x12d, 0x14018f19d mov [rsp+110h+var_F0], rcx ; +0x131, 0x14018f1a1 lea r9, [rbp+57h+var_80] ; +0x136, 0x14018f1a6 mov r8d, 3Ch ; '<' ; +0x13a, 0x14018f1aa lea rdx, [rbp+57h+var_C0] ; +0x140, 0x14018f1b0 mov rcx, rax ; +0x144, 0x14018f1b4 call SetTextPopup__create ; +0x147, 0x14018f1b7 mov rdi, rax ; +0x14c, 0x14018f1bc cmp [rax+2A0h], rsi ; +0x14f, 0x14018f1bf jz loc_14018F25B ; +0x156, 0x14018f1c6 xorps xmm0, xmm0 ; +0x15c, 0x14018f1cc movups [rbp+57h+var_60], xmm0 ; +0x15f, 0x14018f1cf mov [rbp+57h+var_50], rsi ; +0x163, 0x14018f1d3 mov [rbp+57h+var_48], rsi ; +0x167, 0x14018f1d7 mov ecx, 40h ; '@' ; +0x16b, 0x14018f1db call sub_14003D460 ; +0x170, 0x14018f1e0 mov rcx, rax ; +0x175, 0x14018f1e5 mov qword ptr [rbp+57h+var_60], rax ; +0x178, 0x14018f1e8 mov [rbp+57h+var_50], 3Fh ; '?' ; +0x17c, 0x14018f1ec mov [rbp+57h+var_48], 3Fh ; '?' ; +0x184, 0x14018f1f4 movaps xmm0, xmmword ptr cs:aAbcdefghijklmn; " abcdefghijklmnopqrstuvwxyzABCDEFGHIJKL"... ; +0x18c, 0x14018f1fc movups xmmword ptr [rax], xmm0 ; +0x193, 0x14018f203 movaps xmm1, xmmword ptr cs:aAbcdefghijklmn+10h; "pqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01"... ; +0x196, 0x14018f206 movups xmmword ptr [rax+10h], xmm1 ; +0x19d, 0x14018f20d movaps xmm0, xmmword ptr cs:aAbcdefghijklmn+20h; "FGHIJKLMNOPQRSTUVWXYZ0123456789" ; +0x1a1, 0x14018f211 movups xmmword ptr [rax+20h], xmm0 ; +0x1a8, 0x14018f218 movsd xmm0, qword ptr cs:aAbcdefghijklmn+30h; "VWXYZ0123456789" ; +0x1ac, 0x14018f21c movsd qword ptr [rax+30h], xmm0 ; +0x1b4, 0x14018f224 mov eax, dword ptr cs:aAbcdefghijklmn+38h; "3456789" ; +0x1b9, 0x14018f229 mov [rcx+38h], eax ; +0x1bf, 0x14018f22f movzx eax, word ptr cs:aAbcdefghijklmn+3Ch; "789" ; +0x1c2, 0x14018f232 mov [rcx+3Ch], ax ; +0x1c9, 0x14018f239 movzx eax, byte ptr cs:aAbcdefghijklmn+3Eh; "9" ; +0x1cd, 0x14018f23d mov [rcx+3Eh], al ; +0x1d4, 0x14018f244 mov [rcx+3Fh], sil ; +0x1d7, 0x14018f247 lea rdx, [rbp+57h+var_60] ; +0x1db, 0x14018f24b mov rcx, [rdi+2A0h] ; +0x1df, 0x14018f24f call CCTextInputNode__setAllowedChars ; +0x1e6, 0x14018f256 lea rax, [rbx+400h] ; +0x1eb, 0x14018f25b test rbx, rbx ; +0x1f2, 0x14018f262 cmovz rax, rsi ; +0x1f5, 0x14018f265 mov [rdi+2F0h], rax ; +0x1f9, 0x14018f269 mov rax, [rbx] ; +0x200, 0x14018f270 mov rcx, rbx ; +0x203, 0x14018f273 call qword ptr [rax+60h] ; +0x206, 0x14018f276 inc eax ; +0x209, 0x14018f279 mov [rdi+250h], eax ; +0x20b, 0x14018f27b mov rax, [rdi] ; +0x211, 0x14018f281 mov rcx, rdi ; +0x214, 0x14018f284 call qword ptr [rax+428h] ; +0x217, 0x14018f287 jmp short loc_14018F299 ; +0x21d, 0x14018f28d mov edx, eax ; +0x21f, 0x14018f28f mov rcx, rbx ; +0x221, 0x14018f291 call EditorSoundBrowserLayer__setMode ; +0x224, 0x14018f294 mov rbx, [rsp+110h+arg_0] ; +0x229, 0x14018f299 add rsp, 100h ; +0x231, 0x14018f2a1 pop rdi ; +0x238, 0x14018f2a8 pop rsi ; +0x239, 0x14018f2a9 pop rbp ; +0x23a, 0x14018f2aa retn ; +0x23b, 0x14018f2ab