; ; EditorSoundConfigInfoLayer::soundPackDescSaved from 0x140195eb0 to 0x14019615a (682 bytes) ; ; 2 xrefs: ; > @ 0x14074de60 ; > @ 0x1409194b4 ; ; 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:45 +0000 ; mov [rsp-28h+arg_8], rbx ; +0x0, 0x140195eb0 push rbp ; +0x5, 0x140195eb5 push rsi ; +0x6, 0x140195eb6 push rdi ; +0x7, 0x140195eb7 push r14 ; +0x8, 0x140195eb8 push r15 ; +0xa, 0x140195eba mov rbp, rsp ; +0xc, 0x140195ebc sub rsp, 60h ; +0xf, 0x140195ebf mov r14, r8 ; +0x13, 0x140195ec3 mov rbx, rcx ; +0x16, 0x140195ec6 xor r15d, r15d ; +0x19, 0x140195ec9 cmp [rcx+20h], r15 ; +0x1c, 0x140195ecc jz loc_140196146 ; +0x20, 0x140195ed0 lea rcx, [rbp+var_20] ; +0x26, 0x140195ed6 call sub_14003F4F0 ; +0x2a, 0x140195eda mov rdi, rax ; +0x2f, 0x140195edf mov [rbp+arg_0], rax ; +0x32, 0x140195ee2 cmp [rax+10h], r15 ; +0x36, 0x140195ee6 jnz short loc_140195F1B ; +0x3a, 0x140195eea xorps xmm0, xmm0 ; +0x3c, 0x140195eec movups xmmword ptr [rbp+Src], xmm0 ; +0x3f, 0x140195eef mov [rbp+Size], r15 ; +0x43, 0x140195ef3 mov [rbp+Size+8], r15 ; +0x47, 0x140195ef7 movups xmm0, xmmword ptr [rax] ; +0x4b, 0x140195efb movups xmmword ptr [rbp+Src], xmm0 ; +0x4e, 0x140195efe movups xmm1, xmmword ptr [rax+10h] ; +0x52, 0x140195f02 movups xmmword ptr [rbp+Size], xmm1 ; +0x56, 0x140195f06 mov [rax+10h], r15 ; +0x5a, 0x140195f0a mov qword ptr [rax+18h], 0Fh ; +0x5e, 0x140195f0e mov [rax], r15b ; +0x66, 0x140195f16 jmp short loc_140195F29 ; +0x69, 0x140195f19 mov rdx, rdi ; +0x6b, 0x140195f1b lea rcx, [rbp+Src] ; +0x6e, 0x140195f1e call cs:?base64URLEncode@ZipUtils@cocos2d@@SA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBV34@@Z; cocos2d::ZipUtils::base64URLEncode(std::string const &) ; +0x72, 0x140195f22 nop ; +0x78, 0x140195f28 mov rcx, rdi ; +0x79, 0x140195f29 call sub_14003D310 ; +0x7c, 0x140195f2c lea rax, [rbp+Src] ; +0x81, 0x140195f31 mov [rbp+arg_0], rax ; +0x85, 0x140195f35 mov rcx, [rbx+20h] ; +0x89, 0x140195f39 add rcx, 1A0h; void * ; +0x8d, 0x140195f3d lea rax, [rbp+Src] ; +0x94, 0x140195f44 cmp rcx, rax ; +0x98, 0x140195f48 jz short loc_140195F65 ; +0x9b, 0x140195f4b lea rdx, [rbp+Src] ; +0x9d, 0x140195f4d cmp [rbp+Size+8], 0Fh ; +0xa1, 0x140195f51 cmova rdx, [rbp+Src]; Src ; +0xa6, 0x140195f56 mov r8, [rbp+Size]; Size ; +0xab, 0x140195f5b call sub_1400405A0 ; +0xaf, 0x140195f5f nop ; +0xb4, 0x140195f64 lea rcx, [rbp+Src] ; +0xb5, 0x140195f65 call sub_14003D310 ; +0xb9, 0x140195f69 mov rdx, r14 ; +0xbe, 0x140195f6e lea rcx, [rbp+var_20] ; +0xc1, 0x140195f71 call sub_14003F4F0 ; +0xc5, 0x140195f75 mov rdi, rax ; +0xca, 0x140195f7a mov [rbp+arg_0], rax ; +0xcd, 0x140195f7d mov rcx, [rbx+20h] ; +0xd1, 0x140195f81 add rcx, 1C0h; void * ; +0xd5, 0x140195f85 cmp rcx, rax ; +0xdc, 0x140195f8c jz short loc_140195FA8 ; +0xdf, 0x140195f8f mov rdx, rax ; +0xe1, 0x140195f91 cmp qword ptr [rax+18h], 0Fh ; +0xe4, 0x140195f94 jbe short loc_140195F9E ; +0xe9, 0x140195f99 mov rdx, [rax]; Src ; +0xeb, 0x140195f9b mov r8, [rax+10h]; Size ; +0xee, 0x140195f9e call sub_1400405A0 ; +0xf2, 0x140195fa2 nop ; +0xf7, 0x140195fa7 mov rcx, rdi ; +0xf8, 0x140195fa8 call sub_14003D310 ; +0xfb, 0x140195fab lea rsi, [rbx-410h] ; +0x100, 0x140195fb0 mov rcx, rsi ; +0x107, 0x140195fb7 call EditorSoundConfigInfoLayer__isOwner ; +0x10a, 0x140195fba test al, al ; +0x10f, 0x140195fbf jz loc_140196146 ; +0x111, 0x140195fc1 mov rax, [rbx+20h] ; +0x117, 0x140195fc7 cmp dword ptr [rax+140h], 0 ; +0x11b, 0x140195fcb jle loc_140196146 ; +0x122, 0x140195fd2 cmp dword ptr [rbx+28h], 2 ; +0x128, 0x140195fd8 jz loc_140196146 ; +0x12c, 0x140195fdc lea rdi, [rbx+8] ; +0x132, 0x140195fe2 test rsi, rsi ; +0x136, 0x140195fe6 cmovz rdi, r15 ; +0x139, 0x140195fe9 mov rax, cs:qword_14090BFB0 ; +0x13d, 0x140195fed test rax, rax ; +0x144, 0x140195ff4 jnz short loc_14019602A ; +0x147, 0x140195ff7 mov ecx, 690h; Size ; +0x149, 0x140195ff9 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x14e, 0x140195ffe mov [rbp+arg_0], rax ; +0x153, 0x140196003 mov rcx, rax ; +0x157, 0x140196007 call GameLevelManager__GameLevelManager ; +0x15a, 0x14019600a nop ; +0x15f, 0x14019600f mov cs:qword_14090BFB0, rax ; +0x160, 0x140196010 mov rcx, [rax] ; +0x167, 0x140196017 mov rdx, [rcx+48h] ; +0x16a, 0x14019601a mov rcx, rax ; +0x16e, 0x14019601e call rdx ; +0x171, 0x140196021 mov rax, cs:qword_14090BFB0 ; +0x173, 0x140196023 mov [rax+5D0h], rdi ; +0x17a, 0x14019602a lea rax, [rbp+var_20] ; +0x181, 0x140196031 mov [rbp+arg_0], rax ; +0x185, 0x140196035 mov rdx, [rbx+20h] ; +0x189, 0x140196039 add rdx, 1A0h ; +0x18d, 0x14019603d lea rcx, [rbp+var_20] ; +0x194, 0x140196044 call sub_14003F4F0 ; +0x198, 0x140196048 nop ; +0x19d, 0x14019604d mov rcx, cs:qword_14090BFB0 ; +0x19e, 0x14019604e test rcx, rcx ; +0x1a5, 0x140196055 jnz short loc_14019608B ; +0x1a8, 0x140196058 mov ecx, 690h; Size ; +0x1aa, 0x14019605a call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x1af, 0x14019605f mov [rbp+arg_18], rax ; +0x1b4, 0x140196064 mov rcx, rax ; +0x1b8, 0x140196068 call GameLevelManager__GameLevelManager ; +0x1bb, 0x14019606b nop ; +0x1c0, 0x140196070 mov cs:qword_14090BFB0, rax ; +0x1c1, 0x140196071 mov rcx, [rax] ; +0x1c8, 0x140196078 mov rdx, [rcx+48h] ; +0x1cb, 0x14019607b mov rcx, rax ; +0x1cf, 0x14019607f call rdx ; +0x1d2, 0x140196082 mov rcx, cs:qword_14090BFB0 ; +0x1d4, 0x140196084 mov rdx, [rbx+20h] ; +0x1db, 0x14019608b mov r9, r14 ; +0x1df, 0x14019608f lea r8, [rbp+var_20] ; +0x1e2, 0x140196092 mov edx, [rdx+140h] ; +0x1e6, 0x140196096 call GameLevelManager__updateEditorSoundDescription ; +0x1ec, 0x14019609c test al, al ; +0x1f1, 0x1401960a1 jz loc_140196146 ; +0x1f3, 0x1401960a3 mov rax, [rbx+90h] ; +0x1f9, 0x1401960a9 test rax, rax ; +0x200, 0x1401960b0 jz short loc_1401960C3 ; +0x203, 0x1401960b3 mov [rax+298h], r15 ; +0x205, 0x1401960b5 mov [rbx+90h], r15 ; +0x20c, 0x1401960bc xorps xmm0, xmm0 ; +0x213, 0x1401960c3 movups [rbp+var_20], xmm0 ; +0x216, 0x1401960c6 mov [rbp+var_10], r15 ; +0x21a, 0x1401960ca mov [rbp+var_8], r15 ; +0x21e, 0x1401960ce mov ecx, 20h ; ' ' ; +0x222, 0x1401960d2 call sub_14003D460 ; +0x227, 0x1401960d7 mov qword ptr [rbp+var_20], rax ; +0x22c, 0x1401960dc mov [rbp+var_10], 17h ; +0x230, 0x1401960e0 mov [rbp+var_8], 1Fh ; +0x238, 0x1401960e8 movups xmm0, cs:xmmword_140747EF8 ; +0x240, 0x1401960f0 movups xmmword ptr [rax], xmm0 ; +0x247, 0x1401960f7 mov ecx, cs:dword_140747F08 ; +0x24a, 0x1401960fa mov [rax+10h], ecx ; +0x250, 0x140196100 movzx ecx, cs:word_140747F0C ; +0x253, 0x140196103 mov [rax+14h], cx ; +0x25a, 0x14019610a movzx ecx, cs:byte_140747F0E ; +0x25e, 0x14019610e mov [rax+16h], cl ; +0x265, 0x140196115 mov byte ptr [rax+17h], 0 ; +0x268, 0x140196118 lea rcx, [rbx+10h] ; +0x26c, 0x14019611c test rsi, rsi ; +0x270, 0x140196120 cmovz rcx, r15 ; +0x273, 0x140196123 lea rdx, [rbp+var_20] ; +0x277, 0x140196127 call UploadActionPopup__create ; +0x27b, 0x14019612b mov [rbx+90h], rax ; +0x280, 0x140196130 mov rcx, [rax] ; +0x287, 0x140196137 mov rdx, [rcx+428h] ; +0x28a, 0x14019613a mov rcx, rax ; +0x291, 0x140196141 call rdx ; +0x294, 0x140196144 mov rbx, [rsp+60h+arg_8] ; +0x296, 0x140196146 add rsp, 60h ; +0x29e, 0x14019614e pop r15 ; +0x2a2, 0x140196152 pop r14 ; +0x2a4, 0x140196154 pop rdi ; +0x2a6, 0x140196156 pop rsi ; +0x2a7, 0x140196157 pop rbp ; +0x2a8, 0x140196158 retn ; +0x2a9, 0x140196159