; ; EditorSFXManager::overwriteMyConfigFromLive from 0x14018bd70 to 0x14018bf05 (405 bytes) ; ; 2 xrefs: ; > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0x140198282 ; > @ 0x140918f8c ; ; 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:41 +0000 ; mov [rsp+arg_18], rbx ; +0x0, 0x14018bd70 push rbp ; +0x5, 0x14018bd75 push rsi ; +0x6, 0x14018bd76 push rdi ; +0x7, 0x14018bd77 push r14 ; +0x8, 0x14018bd78 push r15 ; +0xa, 0x14018bd7a sub rsp, 80h ; +0xc, 0x14018bd7c mov rax, cs:__security_cookie ; +0x13, 0x14018bd83 xor rax, rsp ; +0x1a, 0x14018bd8a mov [rsp+0A8h+var_30], rax ; +0x1d, 0x14018bd8d mov rbx, r8 ; +0x22, 0x14018bd92 mov r14, rcx ; +0x25, 0x14018bd95 xor esi, esi ; +0x28, 0x14018bd98 call EditorSFXManager__getMyConfig ; +0x2a, 0x14018bd9a mov r15, rax ; +0x2f, 0x14018bd9f test rax, rax ; +0x32, 0x14018bda2 jnz short loc_14018BDC8 ; +0x35, 0x14018bda5 test rbx, rbx ; +0x37, 0x14018bda7 jz short loc_14018BDC1 ; +0x3a, 0x14018bdaa mov r8d, 0Fh; Size ; +0x3c, 0x14018bdac lea rdx, aListNotFound_0; "List not found." ; +0x42, 0x14018bdb2 mov rcx, rbx; void * ; +0x49, 0x14018bdb9 call sub_1400405A0 ; +0x4c, 0x14018bdbc xor al, al ; +0x51, 0x14018bdc1 jmp loc_14018BEE1 ; +0x53, 0x14018bdc3 lea rdx, [rsp+0A8h+var_50] ; +0x58, 0x14018bdc8 mov rcx, r14 ; +0x5d, 0x14018bdcd call EditorSFXManager__serializeAll ; +0x60, 0x14018bdd0 nop ; +0x65, 0x14018bdd5 mov [rsp+0A8h+var_88], esi ; +0x66, 0x14018bdd6 mov r9d, 0FFFFFFFFh ; +0x6a, 0x14018bdda xor r8d, r8d ; +0x70, 0x14018bde0 mov rdx, rax ; +0x73, 0x14018bde3 lea rcx, [rsp+0A8h+var_70] ; +0x76, 0x14018bde6 call cs:?compressString@ZipUtils@cocos2d@@SA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBV34@_NHH@Z; cocos2d::ZipUtils::compressString(std::string const &,bool,int,int) ; +0x7b, 0x14018bdeb nop ; +0x81, 0x14018bdf1 lea rcx, [rsp+0A8h+var_50] ; +0x82, 0x14018bdf2 call sub_14003D310 ; +0x87, 0x14018bdf7 nop ; +0x8c, 0x14018bdfc cmp [rsp+0A8h+var_60], 0 ; +0x8d, 0x14018bdfd jnz short loc_14018BE26 ; +0x93, 0x14018be03 test rbx, rbx ; +0x95, 0x14018be05 jz short loc_14018BE1F ; +0x98, 0x14018be08 mov r8d, 20h ; ' '; Size ; +0x9a, 0x14018be0a lea rdx, aNoActiveSoundA; "No active sound actions to save." ; +0xa0, 0x14018be10 mov rcx, rbx; void * ; +0xa7, 0x14018be17 call sub_1400405A0 ; +0xaa, 0x14018be1a xor bl, bl ; +0xaf, 0x14018be1f jmp loc_14018BED4 ; +0xb1, 0x14018be21 mov ebp, esi ; +0xb6, 0x14018be26 mov r14, [r14+8] ; +0xb8, 0x14018be28 mov rbx, [r14] ; +0xbc, 0x14018be2c cmp rbx, r14 ; +0xbf, 0x14018be2f jz short loc_14018BE64 ; +0xc2, 0x14018be32 mov rdi, [rbx+18h] ; +0xc4, 0x14018be34 test rdi, rdi ; +0xc8, 0x14018be38 jz short loc_14018BE5C ; +0xcb, 0x14018be3b mov rcx, [rdi] ; +0xcd, 0x14018be3d test rcx, rcx ; +0xd0, 0x14018be40 jz short loc_14018BE5C ; +0xd3, 0x14018be43 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xd5, 0x14018be45 test eax, eax ; +0xdb, 0x14018be4b jz short loc_14018BE5C ; +0xdd, 0x14018be4d inc esi ; +0xdf, 0x14018be4f mov rcx, [rdi] ; +0xe1, 0x14018be51 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xe4, 0x14018be54 add ebp, eax ; +0xea, 0x14018be5a mov rbx, [rbx] ; +0xec, 0x14018be5c cmp rbx, r14 ; +0xef, 0x14018be5f jnz short loc_14018BE34 ; +0xf2, 0x14018be62 lea rdx, [rsp+0A8h+var_70] ; +0xf4, 0x14018be64 lea rcx, [rsp+0A8h+var_50] ; +0xf9, 0x14018be69 call sub_14003F4F0 ; +0xfe, 0x14018be6e mov rbx, rax ; +0x103, 0x14018be73 mov [rsp+0A8h+var_78], rax ; +0x106, 0x14018be76 lea rcx, [r15+200h]; void * ; +0x10b, 0x14018be7b cmp rcx, rax ; +0x112, 0x14018be82 jz short loc_14018BE9E ; +0x115, 0x14018be85 mov rdx, rax ; +0x117, 0x14018be87 cmp qword ptr [rax+18h], 0Fh ; +0x11a, 0x14018be8a jbe short loc_14018BE94 ; +0x11f, 0x14018be8f mov rdx, [rax]; Src ; +0x121, 0x14018be91 mov r8, [rax+10h]; Size ; +0x124, 0x14018be94 call sub_1400405A0 ; +0x128, 0x14018be98 nop ; +0x12d, 0x14018be9d mov rcx, rbx ; +0x12e, 0x14018be9e call sub_14003D310 ; +0x131, 0x14018bea1 mov byte ptr [r15+220h], 1 ; +0x136, 0x14018bea6 mov [r15+168h], ebp ; +0x13e, 0x14018beae mov [r15+164h], esi ; +0x145, 0x14018beb5 inc dword ptr [r15+14Ch] ; +0x14c, 0x14018bebc xor ecx, ecx; Time ; +0x153, 0x14018bec3 call cs:_time64 ; +0x155, 0x14018bec5 mov [r15+174h], eax ; +0x15b, 0x14018becb mov bl, 1 ; +0x162, 0x14018bed2 lea rcx, [rsp+0A8h+var_70] ; +0x164, 0x14018bed4 call sub_14003D310 ; +0x169, 0x14018bed9 movzx eax, bl ; +0x16e, 0x14018bede mov rcx, [rsp+0A8h+var_30] ; +0x171, 0x14018bee1 xor rcx, rsp; StackCookie ; +0x176, 0x14018bee6 call __security_check_cookie ; +0x179, 0x14018bee9 mov rbx, [rsp+0A8h+arg_18] ; +0x17e, 0x14018beee add rsp, 80h ; +0x186, 0x14018bef6 pop r15 ; +0x18d, 0x14018befd pop r14 ; +0x18f, 0x14018beff pop rdi ; +0x191, 0x14018bf01 pop rsi ; +0x192, 0x14018bf02 pop rbp ; +0x193, 0x14018bf03 retn ; +0x194, 0x14018bf04