; ; EditorSoundConfigUploadPopup::performUpload from 0x14019bca0 to 0x14019c222 (1410 bytes) ; ; 3 xrefs: ; > EditorSoundConfigUploadPopup::onUpload @ 0x14019b86d ; > EditorSoundConfigUploadPopup::onUploadAsUpdate @ 0x14019b88d ; > @ 0x1409196f4 ; ; 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:47 +0000 ; mov [rsp-8+arg_10], rbx ; +0x0, 0x14019bca0 push rbp ; +0x5, 0x14019bca5 push rsi ; +0x6, 0x14019bca6 push rdi ; +0x7, 0x14019bca7 push r14 ; +0x8, 0x14019bca8 push r15 ; +0xa, 0x14019bcaa lea rbp, [rsp-10h] ; +0xc, 0x14019bcac sub rsp, 110h ; +0x11, 0x14019bcb1 mov rax, cs:__security_cookie ; +0x18, 0x14019bcb8 xor rax, rsp ; +0x1f, 0x14019bcbf mov [rbp+30h+var_30], rax ; +0x22, 0x14019bcc2 mov r15d, edx ; +0x26, 0x14019bcc6 mov rbx, rcx ; +0x29, 0x14019bcc9 xor edi, edi ; +0x2c, 0x14019bccc cmp [rcx+410h], dil ; +0x2e, 0x14019bcce jnz loc_14019BE74 ; +0x35, 0x14019bcd5 call GJAccountManager__sharedState ; +0x3b, 0x14019bcdb mov ecx, [rax+168h] ; +0x40, 0x14019bce0 sub ecx, [rax+16Ch] ; +0x46, 0x14019bce6 test ecx, ecx ; +0x4c, 0x14019bcec jg short loc_14019BD06 ; +0x4e, 0x14019bcee call GJAccountManager__sharedState ; +0x50, 0x14019bcf0 lea rdx, aUploadCgSoundP; "upload sound packs" ; +0x55, 0x14019bcf5 call GJAccountManager__showAccountNeededAlert ; +0x5c, 0x14019bcfc jmp loc_14019BE74 ; +0x61, 0x14019bd01 mov rdx, [rbx+418h] ; +0x66, 0x14019bd06 add rdx, 180h ; +0x6d, 0x14019bd0d lea rcx, [rbp+30h+var_90] ; +0x74, 0x14019bd14 call sub_14003F4F0 ; +0x78, 0x14019bd18 nop ; +0x7d, 0x14019bd1d mov rdx, [rbx+418h] ; +0x7e, 0x14019bd1e add rdx, 1A0h ; +0x85, 0x14019bd25 lea rcx, [rbp+30h+var_50] ; +0x8c, 0x14019bd2c call sub_14003F4F0 ; +0x90, 0x14019bd30 nop ; +0x95, 0x14019bd35 mov rcx, [rbp+30h+var_80] ; +0x96, 0x14019bd36 test rcx, rcx ; +0x9a, 0x14019bd3a jz short loc_14019BD7F ; +0x9d, 0x14019bd3d nop ; +0x9f, 0x14019bd3f lea rax, [rbp+30h+var_90] ; +0xa0, 0x14019bd40 mov rdx, [rbp+30h+var_90] ; +0xa4, 0x14019bd44 mov r8, [rbp+30h+var_78] ; +0xa8, 0x14019bd48 cmp r8, 0Fh ; +0xac, 0x14019bd4c cmova rax, rdx ; +0xb0, 0x14019bd50 cmp byte ptr [rcx+rax-1], 20h ; ' ' ; +0xb4, 0x14019bd54 jnz loc_14019BE97 ; +0xb9, 0x14019bd59 dec rcx ; +0xbf, 0x14019bd5f mov [rbp+30h+var_80], rcx ; +0xc2, 0x14019bd62 lea rax, [rbp+30h+var_90] ; +0xc6, 0x14019bd66 cmp r8, 0Fh ; +0xca, 0x14019bd6a cmova rax, rdx ; +0xce, 0x14019bd6e mov byte ptr [rax+rcx], 0 ; +0xd2, 0x14019bd72 mov rcx, [rbp+30h+var_80] ; +0xd6, 0x14019bd76 test rcx, rcx ; +0xda, 0x14019bd7a jnz short loc_14019BD40 ; +0xdd, 0x14019bd7d xorps xmm0, xmm0 ; +0xdf, 0x14019bd7f movups [rbp+30h+var_B0], xmm0 ; +0xe2, 0x14019bd82 mov [rbp+30h+var_A0], rdi ; +0xe6, 0x14019bd86 mov [rbp+30h+var_98], rdi ; +0xea, 0x14019bd8a mov ecx, 40h ; '@' ; +0xee, 0x14019bd8e call sub_14003D460 ; +0xf3, 0x14019bd93 mov rdx, rax ; +0xf8, 0x14019bd98 mov qword ptr [rbp+30h+var_B0], rax ; +0xfb, 0x14019bd9b mov [rbp+30h+var_A0], 36h ; '6' ; +0xff, 0x14019bd9f mov [rbp+30h+var_98], 3Fh ; '?' ; +0x107, 0x14019bda7 movups xmm0, cs:xmmword_14074E6B0 ; +0x10f, 0x14019bdaf movups xmmword ptr [rax], xmm0 ; +0x116, 0x14019bdb6 movups xmm1, cs:xmmword_14074E6C0 ; +0x119, 0x14019bdb9 movups xmmword ptr [rax+10h], xmm1 ; +0x120, 0x14019bdc0 movups xmm0, cs:xmmword_14074E6D0 ; +0x124, 0x14019bdc4 movups xmmword ptr [rax+20h], xmm0 ; +0x12b, 0x14019bdcb mov ecx, cs:dword_14074E6E0 ; +0x12f, 0x14019bdcf mov [rax+30h], ecx ; +0x135, 0x14019bdd5 movzx eax, cs:word_14074E6E4 ; +0x138, 0x14019bdd8 mov [rdx+34h], ax ; +0x13f, 0x14019bddf mov byte ptr [rdx+36h], 0 ; +0x143, 0x14019bde3 lea rax, [rbp+30h+var_B0] ; +0x147, 0x14019bde7 mov [rsp+130h+var_E0], rax ; +0x14b, 0x14019bdeb lea rdx, [rbp+30h+var_B0] ; +0x150, 0x14019bdf0 lea rcx, [rsp+130h+var_D0] ; +0x154, 0x14019bdf4 call sub_14003F4F0 ; +0x159, 0x14019bdf9 movss xmm0, cs:flt_140835080 ; +0x15e, 0x14019bdfe movss dword ptr [rsp+130h+var_F0], xmm0 ; +0x166, 0x14019be06 xorps xmm1, xmm1 ; +0x16c, 0x14019be0c movss [rsp+130h+var_F8], xmm1 ; +0x16f, 0x14019be0f mov byte ptr [rsp+130h+var_100], 0 ; +0x175, 0x14019be15 movss xmm0, cs:dword_14083595C ; +0x17a, 0x14019be1a movss [rsp+130h+var_108], xmm0 ; +0x182, 0x14019be22 mov [rsp+130h+var_110], rdi ; +0x188, 0x14019be28 lea r9, aOk; "OK" ; +0x18d, 0x14019be2d mov r8, rax ; +0x194, 0x14019be34 lea rdx, aError; "Error" ; +0x197, 0x14019be37 xor ecx, ecx ; +0x19e, 0x14019be3e call FLAlertLayer__create ; +0x1a0, 0x14019be40 mov rbx, rax ; +0x1a5, 0x14019be45 lea rcx, [rbp+30h+var_B0] ; +0x1a8, 0x14019be48 call sub_14003D310 ; +0x1ac, 0x14019be4c mov rcx, [rbx] ; +0x1b1, 0x14019be51 mov rdx, [rcx+428h] ; +0x1b4, 0x14019be54 mov rcx, rbx ; +0x1bb, 0x14019be5b call rdx ; +0x1be, 0x14019be5e nop ; +0x1c0, 0x14019be60 lea rcx, [rbp+30h+var_50] ; +0x1c1, 0x14019be61 call sub_14003D310 ; +0x1c5, 0x14019be65 nop ; +0x1ca, 0x14019be6a lea rcx, [rbp+30h+var_90] ; +0x1cb, 0x14019be6b call sub_14003D310 ; +0x1cf, 0x14019be6f mov rcx, [rbp+30h+var_30] ; +0x1d4, 0x14019be74 xor rcx, rsp; StackCookie ; +0x1d8, 0x14019be78 call __security_check_cookie ; +0x1db, 0x14019be7b mov rbx, [rsp+130h+arg_10] ; +0x1e0, 0x14019be80 add rsp, 110h ; +0x1e8, 0x14019be88 pop r15 ; +0x1ef, 0x14019be8f pop r14 ; +0x1f1, 0x14019be91 pop rdi ; +0x1f3, 0x14019be93 pop rsi ; +0x1f4, 0x14019be94 pop rbp ; +0x1f5, 0x14019be95 retn ; +0x1f6, 0x14019be96 test rcx, rcx ; +0x1f7, 0x14019be97 jz loc_14019BD7F ; +0x1fa, 0x14019be9a mov rdx, [rbx+418h] ; +0x200, 0x14019bea0 add rdx, 200h ; +0x207, 0x14019bea7 lea rcx, [rbp+30h+var_70] ; +0x20e, 0x14019beae call sub_14003F4F0 ; +0x212, 0x14019beb2 nop ; +0x217, 0x14019beb7 cmp [rbp+30h+var_60], 0 ; +0x218, 0x14019beb8 jnz loc_14019BF7A ; +0x21d, 0x14019bebd xorps xmm0, xmm0 ; +0x223, 0x14019bec3 movups [rbp+30h+var_B0], xmm0 ; +0x226, 0x14019bec6 mov [rbp+30h+var_A0], rdi ; +0x22a, 0x14019beca mov [rbp+30h+var_98], rdi ; +0x22e, 0x14019bece mov ecx, 20h ; ' ' ; +0x232, 0x14019bed2 call sub_14003D460 ; +0x237, 0x14019bed7 mov qword ptr [rbp+30h+var_B0], rax ; +0x23c, 0x14019bedc mov [rbp+30h+var_A0], 1Ch ; +0x240, 0x14019bee0 mov [rbp+30h+var_98], 1Fh ; +0x248, 0x14019bee8 movups xmm0, cs:xmmword_14074E7B0 ; +0x250, 0x14019bef0 movups xmmword ptr [rax], xmm0 ; +0x257, 0x14019bef7 movsd xmm0, cs:qword_14074E7C0 ; +0x25a, 0x14019befa movsd qword ptr [rax+10h], xmm0 ; +0x262, 0x14019bf02 mov ecx, cs:dword_14074E7C8 ; +0x267, 0x14019bf07 mov [rax+18h], ecx ; +0x26d, 0x14019bf0d mov byte ptr [rax+1Ch], 0 ; +0x270, 0x14019bf10 lea rax, [rbp+30h+var_B0] ; +0x274, 0x14019bf14 mov [rsp+130h+var_D8], rax ; +0x278, 0x14019bf18 lea rdx, [rbp+30h+var_B0] ; +0x27d, 0x14019bf1d lea rcx, [rsp+130h+var_D0] ; +0x281, 0x14019bf21 call sub_14003F4F0 ; +0x286, 0x14019bf26 movss xmm0, cs:flt_140835080 ; +0x28b, 0x14019bf2b movss dword ptr [rsp+130h+var_F0], xmm0 ; +0x293, 0x14019bf33 xorps xmm1, xmm1 ; +0x299, 0x14019bf39 movss [rsp+130h+var_F8], xmm1 ; +0x29c, 0x14019bf3c mov byte ptr [rsp+130h+var_100], 0 ; +0x2a2, 0x14019bf42 movss xmm0, cs:dword_14083595C ; +0x2a7, 0x14019bf47 movss [rsp+130h+var_108], xmm0 ; +0x2af, 0x14019bf4f mov [rsp+130h+var_110], rdi ; +0x2b5, 0x14019bf55 lea r9, aOk; "OK" ; +0x2ba, 0x14019bf5a mov r8, rax ; +0x2c1, 0x14019bf61 lea rdx, aError; "Error" ; +0x2c4, 0x14019bf64 xor ecx, ecx ; +0x2cb, 0x14019bf6b call FLAlertLayer__create ; +0x2cd, 0x14019bf6d mov rbx, rax ; +0x2d2, 0x14019bf72 jmp loc_14019C1FA ; +0x2d5, 0x14019bf75 mov rax, [rbx+418h] ; +0x2da, 0x14019bf7a mov r14d, [rax+164h] ; +0x2e1, 0x14019bf81 mov esi, [rax+168h] ; +0x2e8, 0x14019bf88 test r14d, r14d ; +0x2ee, 0x14019bf8e jle loc_14019C12F ; +0x2f1, 0x14019bf91 test esi, esi ; +0x2f7, 0x14019bf97 jle loc_14019C12F ; +0x2f9, 0x14019bf99 cmp byte ptr [rbx+440h], 0 ; +0x2ff, 0x14019bf9f jz short loc_14019BFB6 ; +0x306, 0x14019bfa6 movzx eax, byte ptr [rbx+441h] ; +0x308, 0x14019bfa8 neg al ; +0x30f, 0x14019bfaf sbb ecx, ecx ; +0x311, 0x14019bfb1 lea edi, [rcx+4] ; +0x313, 0x14019bfb3 mov [rbx+444h], edi ; +0x316, 0x14019bfb6 mov [rbx+450h], r15d ; +0x31c, 0x14019bfbc mov byte ptr [rbx+410h], 1 ; +0x323, 0x14019bfc3 mov rcx, [rbx+3F8h] ; +0x32a, 0x14019bfca test rcx, rcx ; +0x331, 0x14019bfd1 jz short loc_14019BFE1 ; +0x334, 0x14019bfd4 mov rax, [rcx] ; +0x336, 0x14019bfd6 xor edx, edx ; +0x339, 0x14019bfd9 call qword ptr [rax+150h] ; +0x33b, 0x14019bfdb mov rcx, [rbx+400h] ; +0x341, 0x14019bfe1 test rcx, rcx ; +0x348, 0x14019bfe8 jz short loc_14019BFF8 ; +0x34b, 0x14019bfeb mov rax, [rcx] ; +0x34d, 0x14019bfed xor edx, edx ; +0x350, 0x14019bff0 call qword ptr [rax+150h] ; +0x352, 0x14019bff2 mov rcx, [rbx+408h] ; +0x358, 0x14019bff8 test rcx, rcx ; +0x35f, 0x14019bfff jz short loc_14019C00F ; +0x362, 0x14019c002 mov rax, [rcx] ; +0x364, 0x14019c004 xor edx, edx ; +0x367, 0x14019c007 call qword ptr [rax+150h] ; +0x369, 0x14019c009 mov rcx, [rbx+448h] ; +0x36f, 0x14019c00f test rcx, rcx ; +0x376, 0x14019c016 jz short loc_14019C026 ; +0x379, 0x14019c019 mov rax, [rcx] ; +0x37b, 0x14019c01b xor edx, edx ; +0x37e, 0x14019c01e call qword ptr [rax+150h] ; +0x380, 0x14019c020 call LoadingCircle__create ; +0x386, 0x14019c026 mov [rbx+3F0h], rax ; +0x38b, 0x14019c02b mov rcx, [rbx+248h] ; +0x392, 0x14019c032 mov [rax+228h], rcx ; +0x399, 0x14019c039 mov rcx, [rbx+3F0h] ; +0x3a0, 0x14019c040 call LoadingCircle__show ; +0x3a7, 0x14019c047 lea rdi, [rbx+3E8h] ; +0x3ac, 0x14019c04c mov rax, cs:qword_14090BFB0 ; +0x3b3, 0x14019c053 test rax, rax ; +0x3ba, 0x14019c05a jnz short loc_14019C091 ; +0x3bd, 0x14019c05d mov ecx, 690h; Size ; +0x3bf, 0x14019c05f call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x3c4, 0x14019c064 mov [rsp+130h+var_E0], rax ; +0x3c9, 0x14019c069 mov rcx, rax ; +0x3ce, 0x14019c06e call GameLevelManager__GameLevelManager ; +0x3d1, 0x14019c071 nop ; +0x3d6, 0x14019c076 mov cs:qword_14090BFB0, rax ; +0x3d7, 0x14019c077 mov rcx, [rax] ; +0x3de, 0x14019c07e mov rdx, [rcx+48h] ; +0x3e1, 0x14019c081 mov rcx, rax ; +0x3e5, 0x14019c085 call rdx ; +0x3e8, 0x14019c088 mov rax, cs:qword_14090BFB0 ; +0x3ea, 0x14019c08a mov [rax+5A8h], rdi ; +0x3f1, 0x14019c091 mov rdx, [rbx+418h] ; +0x3f8, 0x14019c098 add rdx, 1C0h ; +0x3ff, 0x14019c09f lea rcx, [rbp+30h+var_B0] ; +0x406, 0x14019c0a6 call sub_14003F4F0 ; +0x40a, 0x14019c0aa nop ; +0x40f, 0x14019c0af mov rcx, cs:qword_14090BFB0 ; +0x410, 0x14019c0b0 test rcx, rcx ; +0x417, 0x14019c0b7 jnz short loc_14019C0EE ; +0x41a, 0x14019c0ba mov ecx, 690h; Size ; +0x41c, 0x14019c0bc call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x421, 0x14019c0c1 mov [rsp+130h+var_E0], rax ; +0x426, 0x14019c0c6 mov rcx, rax ; +0x42b, 0x14019c0cb call GameLevelManager__GameLevelManager ; +0x42e, 0x14019c0ce nop ; +0x433, 0x14019c0d3 mov cs:qword_14090BFB0, rax ; +0x434, 0x14019c0d4 mov rcx, [rax] ; +0x43b, 0x14019c0db mov rdx, [rcx+48h] ; +0x43e, 0x14019c0de mov rcx, rax ; +0x442, 0x14019c0e2 call rdx ; +0x445, 0x14019c0e5 mov rcx, cs:qword_14090BFB0 ; +0x447, 0x14019c0e7 lea rax, [rbp+30h+var_B0] ; +0x44e, 0x14019c0ee mov [rsp+130h+var_F0], rax ; +0x452, 0x14019c0f2 mov eax, [rbx+444h] ; +0x457, 0x14019c0f7 mov [rsp+130h+var_F8], eax ; +0x45d, 0x14019c0fd mov [rsp+130h+var_100], r15d ; +0x461, 0x14019c101 mov [rsp+130h+var_108], esi ; +0x466, 0x14019c106 mov dword ptr [rsp+130h+var_110], r14d ; +0x46a, 0x14019c10a lea r9, [rbp+30h+var_70] ; +0x46f, 0x14019c10f lea r8, [rbp+30h+var_50] ; +0x473, 0x14019c113 lea rdx, [rbp+30h+var_90] ; +0x477, 0x14019c117 call GameLevelManager__uploadEditorSoundConfig ; +0x47b, 0x14019c11b nop ; +0x480, 0x14019c120 lea rcx, [rbp+30h+var_B0] ; +0x481, 0x14019c121 call sub_14003D310 ; +0x485, 0x14019c125 jmp loc_14019C213 ; +0x48a, 0x14019c12a xorps xmm0, xmm0 ; +0x48f, 0x14019c12f movups [rbp+30h+var_B0], xmm0 ; +0x492, 0x14019c132 mov [rbp+30h+var_A0], rdi ; +0x496, 0x14019c136 mov [rbp+30h+var_98], rdi ; +0x49a, 0x14019c13a mov ecx, 50h ; 'P' ; +0x49e, 0x14019c13e call sub_14003D460 ; +0x4a3, 0x14019c143 mov rcx, rax ; +0x4a8, 0x14019c148 mov qword ptr [rbp+30h+var_B0], rax ; +0x4ab, 0x14019c14b mov [rbp+30h+var_A0], 42h ; 'B' ; +0x4af, 0x14019c14f mov [rbp+30h+var_98], 4Fh ; 'O' ; +0x4b7, 0x14019c157 movaps xmm0, cs:xmmword_14074E7D0 ; +0x4bf, 0x14019c15f movups xmmword ptr [rax], xmm0 ; +0x4c6, 0x14019c166 movaps xmm1, cs:xmmword_14074E7E0 ; +0x4c9, 0x14019c169 movups xmmword ptr [rax+10h], xmm1 ; +0x4d0, 0x14019c170 movaps xmm0, cs:xmmword_14074E7F0 ; +0x4d4, 0x14019c174 movups xmmword ptr [rax+20h], xmm0 ; +0x4db, 0x14019c17b movaps xmm1, cs:xmmword_14074E800 ; +0x4df, 0x14019c17f movups xmmword ptr [rax+30h], xmm1 ; +0x4e6, 0x14019c186 movzx eax, cs:word_14074E810 ; +0x4ea, 0x14019c18a mov [rcx+40h], ax ; +0x4f1, 0x14019c191 mov byte ptr [rcx+42h], 0 ; +0x4f5, 0x14019c195 lea rax, [rbp+30h+var_B0] ; +0x4f9, 0x14019c199 mov [rsp+130h+var_E0], rax ; +0x4fd, 0x14019c19d lea rdx, [rbp+30h+var_B0] ; +0x502, 0x14019c1a2 lea rcx, [rsp+130h+var_D0] ; +0x506, 0x14019c1a6 call sub_14003F4F0 ; +0x50b, 0x14019c1ab movss xmm0, cs:flt_140835080 ; +0x510, 0x14019c1b0 movss dword ptr [rsp+130h+var_F0], xmm0 ; +0x518, 0x14019c1b8 xorps xmm1, xmm1 ; +0x51e, 0x14019c1be movss [rsp+130h+var_F8], xmm1 ; +0x521, 0x14019c1c1 mov byte ptr [rsp+130h+var_100], 0 ; +0x527, 0x14019c1c7 movss xmm0, cs:dword_14083595C ; +0x52c, 0x14019c1cc movss [rsp+130h+var_108], xmm0 ; +0x534, 0x14019c1d4 mov [rsp+130h+var_110], rdi ; +0x53a, 0x14019c1da lea r9, aOk; "OK" ; +0x53f, 0x14019c1df mov r8, rax ; +0x546, 0x14019c1e6 lea rdx, aError; "Error" ; +0x549, 0x14019c1e9 xor ecx, ecx ; +0x550, 0x14019c1f0 call FLAlertLayer__create ; +0x552, 0x14019c1f2 mov rbx, rax ; +0x557, 0x14019c1f7 lea rcx, [rbp+30h+var_B0] ; +0x55a, 0x14019c1fa call sub_14003D310 ; +0x55e, 0x14019c1fe mov rcx, [rbx] ; +0x563, 0x14019c203 mov rdx, [rcx+428h] ; +0x566, 0x14019c206 mov rcx, rbx ; +0x56d, 0x14019c20d call rdx ; +0x570, 0x14019c210 nop ; +0x572, 0x14019c212 lea rcx, [rbp+30h+var_70] ; +0x573, 0x14019c213 call sub_14003D310 ; +0x577, 0x14019c217 jmp loc_14019BE61 ; +0x57c, 0x14019c21c db 0CCh ; +0x581, 0x14019c221