; ; EditorSoundConfigInfoLayer::downloadEditorSoundFinished from 0x140198ba0 to 0x140198dd7 (567 bytes) ; ; 2 xrefs: ; > @ 0x14074dfa0 ; > @ 0x140919604 ; ; 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:46 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x140198ba0 mov [rsp+arg_18], rbp ; +0x5, 0x140198ba5 push rsi ; +0xa, 0x140198baa push rdi ; +0xb, 0x140198bab push r12 ; +0xc, 0x140198bac push r14 ; +0xe, 0x140198bae push r15 ; +0x10, 0x140198bb0 sub rsp, 90h ; +0x12, 0x140198bb2 mov r14, rdx ; +0x19, 0x140198bb9 mov rdi, rcx ; +0x1c, 0x140198bbc test rdx, rdx ; +0x1f, 0x140198bbf jz short loc_140198BDF ; +0x22, 0x140198bc2 mov rax, [rcx+48h] ; +0x24, 0x140198bc4 test rax, rax ; +0x28, 0x140198bc8 jz short loc_140198BDF ; +0x2b, 0x140198bcb mov eax, [rax+140h] ; +0x2d, 0x140198bcd cmp [rdx+140h], eax ; +0x33, 0x140198bd3 jnz loc_140198DBB ; +0x39, 0x140198bd9 mov byte ptr [rcx+68h], 0 ; +0x3f, 0x140198bdf mov rcx, [rcx+60h] ; +0x43, 0x140198be3 test rcx, rcx ; +0x47, 0x140198be7 jz short loc_140198BF1 ; +0x4a, 0x140198bea call LoadingCircle__fadeAndRemove ; +0x4c, 0x140198bec xor esi, esi ; +0x51, 0x140198bf1 mov [rdi+60h], rsi ; +0x53, 0x140198bf3 test r14, r14 ; +0x57, 0x140198bf7 jnz loc_140198CCE ; +0x5a, 0x140198bfa xorps xmm0, xmm0 ; +0x60, 0x140198c00 movups [rsp+0B8h+var_68], xmm0 ; +0x63, 0x140198c03 mov [rsp+0B8h+var_58], rsi ; +0x68, 0x140198c08 mov [rsp+0B8h+var_50], rsi ; +0x6d, 0x140198c0d mov ecx, 20h ; ' ' ; +0x72, 0x140198c12 call sub_14003D460 ; +0x77, 0x140198c17 mov qword ptr [rsp+0B8h+var_68], rax ; +0x7c, 0x140198c1c mov [rsp+0B8h+var_58], 10h ; +0x81, 0x140198c21 mov [rsp+0B8h+var_50], 1Fh ; +0x8a, 0x140198c2a movups xmm0, cs:xmmword_14074D600 ; +0x93, 0x140198c33 movups xmmword ptr [rax], xmm0 ; +0x9a, 0x140198c3a mov [rax+10h], sil ; +0x9d, 0x140198c3d lea rax, [rsp+0B8h+var_68] ; +0xa1, 0x140198c41 mov [rsp+0B8h+arg_8], rax ; +0xa6, 0x140198c46 lea rdx, [rsp+0B8h+var_68] ; +0xae, 0x140198c4e lea rcx, [rsp+0B8h+var_48] ; +0xb3, 0x140198c53 call sub_14003F4F0 ; +0xb8, 0x140198c58 movss xmm0, cs:flt_140835080 ; +0xbd, 0x140198c5d movss [rsp+0B8h+var_78], xmm0 ; +0xc5, 0x140198c65 xorps xmm1, xmm1 ; +0xcb, 0x140198c6b movss [rsp+0B8h+var_80], xmm1 ; +0xce, 0x140198c6e mov [rsp+0B8h+var_88], r14b ; +0xd4, 0x140198c74 movss xmm0, cs:dword_14083595C ; +0xd9, 0x140198c79 movss [rsp+0B8h+var_90], xmm0 ; +0xe1, 0x140198c81 mov [rsp+0B8h+var_98], rsi ; +0xe7, 0x140198c87 lea r9, aOk; "OK" ; +0xec, 0x140198c8c mov r8, rax ; +0xf3, 0x140198c93 lea rdx, aError; "Error" ; +0xf6, 0x140198c96 xor ecx, ecx ; +0xfd, 0x140198c9d call FLAlertLayer__create ; +0xff, 0x140198c9f mov rbx, rax ; +0x104, 0x140198ca4 lea rcx, [rsp+0B8h+var_68] ; +0x107, 0x140198ca7 call sub_14003D310 ; +0x10c, 0x140198cac mov rdx, [rbx] ; +0x111, 0x140198cb1 mov rcx, rbx ; +0x114, 0x140198cb4 call qword ptr [rdx+428h] ; +0x117, 0x140198cb7 lea rcx, [rdi-3E8h] ; +0x11d, 0x140198cbd call EditorSoundConfigInfoLayer__refreshActionButtons ; +0x124, 0x140198cc4 jmp loc_140198DBB ; +0x129, 0x140198cc9 mov rcx, [rdi+48h] ; +0x12e, 0x140198cce test rcx, rcx ; +0x132, 0x140198cd2 jz loc_140198D8B ; +0x135, 0x140198cd5 mov rdx, r14 ; +0x13b, 0x140198cdb call GJEditorSoundConfig__copyServerFields ; +0x13e, 0x140198cde mov rcx, [rdi+48h] ; +0x143, 0x140198ce3 cmp [rcx+148h], sil ; +0x147, 0x140198ce7 jz short loc_140198CFC ; +0x14e, 0x140198cee mov eax, [rcx+14Ch] ; +0x150, 0x140198cf0 mov [rcx+150h], eax ; +0x156, 0x140198cf6 call EditorSFXManager__sharedState ; +0x15c, 0x140198cfc test rax, rax ; +0x161, 0x140198d01 jz loc_140198D8B ; +0x164, 0x140198d04 mov rax, [rdi+48h] ; +0x16a, 0x140198d0a mov r12d, [rax+140h] ; +0x16e, 0x140198d0e call EditorSFXManager__sharedState ; +0x175, 0x140198d15 mov rbp, rax ; +0x17a, 0x140198d1a mov rcx, [rax+0D0h] ; +0x17d, 0x140198d1d test rcx, rcx ; +0x184, 0x140198d24 jz short loc_140198D75 ; +0x187, 0x140198d27 mov ebx, esi ; +0x189, 0x140198d29 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x18b, 0x140198d2b test eax, eax ; +0x191, 0x140198d31 jz short loc_140198D75 ; +0x193, 0x140198d33 nop word ptr [rax+rax+00000000h] ; +0x195, 0x140198d35 mov edx, ebx ; +0x1a0, 0x140198d40 mov rcx, [rbp+0D0h] ; +0x1a2, 0x140198d42 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x1a9, 0x140198d49 test rax, rax ; +0x1af, 0x140198d4f jz short loc_140198D5D ; +0x1b2, 0x140198d52 cmp [rax+140h], r12d ; +0x1b4, 0x140198d54 jz short loc_140198D72 ; +0x1bb, 0x140198d5b inc ebx ; +0x1bd, 0x140198d5d mov rcx, [rbp+0D0h] ; +0x1bf, 0x140198d5f call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x1c6, 0x140198d66 cmp ebx, eax ; +0x1cc, 0x140198d6c jb short loc_140198D40 ; +0x1ce, 0x140198d6e jmp short loc_140198D75 ; +0x1d0, 0x140198d70 mov rsi, rax ; +0x1d2, 0x140198d72 test rsi, rsi ; +0x1d5, 0x140198d75 jz short loc_140198D8B ; +0x1d8, 0x140198d78 cmp rsi, [rdi+48h] ; +0x1da, 0x140198d7a jz short loc_140198D8B ; +0x1de, 0x140198d7e mov rdx, r14 ; +0x1e0, 0x140198d80 mov rcx, rsi ; +0x1e3, 0x140198d83 call GJEditorSoundConfig__copyServerFields ; +0x1e6, 0x140198d86 lea rcx, [rdi-3E8h] ; +0x1eb, 0x140198d8b call EditorSoundConfigInfoLayer__refreshActionButtons ; +0x1f2, 0x140198d92 lea rcx, [rdi-3E8h] ; +0x1f7, 0x140198d97 call EditorSoundConfigInfoLayer__buildSummary ; +0x1fe, 0x140198d9e cmp byte ptr [rdi+69h], 0 ; +0x203, 0x140198da3 jz short loc_140198DBB ; +0x207, 0x140198da7 mov byte ptr [rdi+69h], 0 ; +0x209, 0x140198da9 xor edx, edx ; +0x20d, 0x140198dad lea rcx, [rdi-3E8h] ; +0x20f, 0x140198daf call EditorSoundConfigInfoLayer__onFavorite ; +0x216, 0x140198db6 lea r11, [rsp+0B8h+var_28] ; +0x21b, 0x140198dbb mov rbx, [r11+30h] ; +0x223, 0x140198dc3 mov rbp, [r11+48h] ; +0x227, 0x140198dc7 mov rsp, r11 ; +0x22b, 0x140198dcb pop r15 ; +0x22e, 0x140198dce pop r14 ; +0x230, 0x140198dd0 pop r12 ; +0x232, 0x140198dd2 pop rdi ; +0x234, 0x140198dd4 pop rsi ; +0x235, 0x140198dd5 retn ; +0x236, 0x140198dd6