; ; AutoBackupPopup::onDeleteSelected from 0x1400cc750 to 0x1400cca77 (807 bytes) ; ; 2 xrefs: ; > AutoBackupPopup::init @ 0x1400ca019 ; > @ 0x1409140b4 ; ; 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:26:23 +0000 ; mov [rsp-8+arg_8], rbx ; +0x0, 0x1400cc750 mov [rsp-8+arg_10], rsi ; +0x5, 0x1400cc755 mov [rsp-8+arg_18], rdi ; +0xa, 0x1400cc75a push rbp ; +0xf, 0x1400cc75f push r12 ; +0x10, 0x1400cc760 push r13 ; +0x12, 0x1400cc762 push r14 ; +0x14, 0x1400cc764 push r15 ; +0x16, 0x1400cc766 lea rbp, [rsp-37h] ; +0x18, 0x1400cc768 sub rsp, 0F0h ; +0x1d, 0x1400cc76d mov rax, cs:__security_cookie ; +0x24, 0x1400cc774 xor rax, rsp ; +0x2b, 0x1400cc77b mov [rbp+57h+var_28], rax ; +0x2e, 0x1400cc77e mov r13, rcx ; +0x32, 0x1400cc782 mov [rbp+57h+var_B0], rcx ; +0x35, 0x1400cc785 mov edi, [rcx+3C0h] ; +0x39, 0x1400cc789 mov [rbp+57h+var_C0], edi ; +0x3f, 0x1400cc78f test edi, edi ; +0x42, 0x1400cc792 jz loc_1400CCA44 ; +0x44, 0x1400cc794 xor esi, esi ; +0x4a, 0x1400cc79a mov r14d, esi ; +0x4c, 0x1400cc79c mov ebx, esi ; +0x4f, 0x1400cc79f mov r12, [rcx+358h] ; +0x51, 0x1400cc7a1 mov rcx, [rcx+360h] ; +0x58, 0x1400cc7a8 sub rcx, r12 ; +0x5f, 0x1400cc7af mov rax, 0C30C30C30C30C30Dh ; +0x62, 0x1400cc7b2 imul rcx ; +0x6c, 0x1400cc7bc lea r15, [rcx+rdx] ; +0x6f, 0x1400cc7bf sar r15, 7 ; +0x73, 0x1400cc7c3 mov rax, r15 ; +0x77, 0x1400cc7c7 shr rax, 3Fh ; +0x7a, 0x1400cc7ca add r15, rax ; +0x7e, 0x1400cc7ce jz short loc_1400CC813 ; +0x81, 0x1400cc7d1 lea rax, [r13+3B8h] ; +0x83, 0x1400cc7d3 mov edi, esi ; +0x8a, 0x1400cc7da mov r13, rax ; +0x8c, 0x1400cc7dc nop ; +0x8f, 0x1400cc7df lea rsi, [rdi+r12] ; +0x90, 0x1400cc7e0 mov rdx, rsi ; +0x94, 0x1400cc7e4 mov rcx, r13 ; +0x97, 0x1400cc7e7 call sub_1400CF6A0 ; +0x9a, 0x1400cc7ea test rax, rax ; +0x9f, 0x1400cc7ef jz short loc_1400CC7FB ; +0xa2, 0x1400cc7f2 add r14d, [rsi+0A0h] ; +0xa4, 0x1400cc7f4 inc rbx ; +0xab, 0x1400cc7fb add rdi, 0A8h ; +0xae, 0x1400cc7fe cmp rbx, r15 ; +0xb5, 0x1400cc805 jb short loc_1400CC7E0 ; +0xb8, 0x1400cc808 mov r13, [rbp+57h+var_B0] ; +0xba, 0x1400cc80a mov edi, [rbp+57h+var_C0] ; +0xbe, 0x1400cc80e xor esi, esi ; +0xc1, 0x1400cc811 mov edx, r14d ; +0xc3, 0x1400cc813 lea rcx, [rbp+57h+var_48] ; +0xc6, 0x1400cc816 call sub_140481930 ; +0xca, 0x1400cc81a nop ; +0xcf, 0x1400cc81f cmp qword ptr [rax+18h], 0Fh ; +0xd0, 0x1400cc820 jbe short loc_1400CC82A ; +0xd5, 0x1400cc825 mov rax, [rax] ; +0xd7, 0x1400cc827 lea rcx, byte_1406ED6E0 ; +0xda, 0x1400cc82a lea r8, unk_14070D03C ; +0xe1, 0x1400cc831 cmp edi, 1 ; +0xe8, 0x1400cc838 cmovz r8, rcx ; +0xeb, 0x1400cc83b mov r9, rax ; +0xef, 0x1400cc83f mov edx, edi ; +0xf2, 0x1400cc842 lea rcx, aDeleteCyICSele_0; "Delete %i selected backup%s (%s"... ; +0xf4, 0x1400cc844 call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0xfb, 0x1400cc84b mov rcx, rax ; +0x101, 0x1400cc851 call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x104, 0x1400cc854 xorps xmm0, xmm0 ; +0x10a, 0x1400cc85a movups xmmword ptr [rbp+57h+Src], xmm0 ; +0x10d, 0x1400cc85d mov [rbp+57h+var_58], rsi ; +0x111, 0x1400cc861 mov [rbp+57h+var_50], rsi ; +0x115, 0x1400cc865 mov r8, 0FFFFFFFFFFFFFFFFh ; +0x119, 0x1400cc869 inc r8 ; +0x120, 0x1400cc870 cmp byte ptr [rax+r8], 0 ; +0x123, 0x1400cc873 jnz short loc_1400CC870 ; +0x128, 0x1400cc878 mov rdx, rax ; +0x12a, 0x1400cc87a lea rcx, [rbp+57h+Src] ; +0x12d, 0x1400cc87d call sub_14003D230 ; +0x131, 0x1400cc881 nop ; +0x136, 0x1400cc886 lea rcx, [rbp+57h+var_48] ; +0x137, 0x1400cc887 call sub_14003D310 ; +0x13b, 0x1400cc88b xorps xmm0, xmm0 ; +0x140, 0x1400cc890 movups [rbp+57h+var_A8], xmm0 ; +0x143, 0x1400cc893 mov [rbp+57h+var_98], rsi ; +0x147, 0x1400cc897 mov [rbp+57h+var_90], rsi ; +0x14b, 0x1400cc89b lea r14, [rbp+57h+Src] ; +0x14f, 0x1400cc89f mov rsi, [rbp+57h+Src] ; +0x153, 0x1400cc8a3 mov r15, [rbp+57h+var_50] ; +0x157, 0x1400cc8a7 cmp r15, 0Fh ; +0x15b, 0x1400cc8ab cmova r14, rsi ; +0x15f, 0x1400cc8af mov rbx, 7FFFFFFFFFFFFFFFh ; +0x163, 0x1400cc8b3 mov rdi, [rbp+57h+var_58] ; +0x16d, 0x1400cc8bd cmp rdi, rbx ; +0x171, 0x1400cc8c1 ja loc_1400CCA71 ; +0x174, 0x1400cc8c4 cmp rdi, 0Fh ; +0x17a, 0x1400cc8ca ja short loc_1400CC8E6 ; +0x17e, 0x1400cc8ce mov [rbp+57h+var_98], rdi ; +0x180, 0x1400cc8d0 mov [rbp+57h+var_90], 0Fh ; +0x184, 0x1400cc8d4 movups xmm0, xmmword ptr [r14] ; +0x18c, 0x1400cc8dc movups [rbp+57h+var_A8], xmm0 ; +0x190, 0x1400cc8e0 jmp short loc_1400CC925 ; +0x194, 0x1400cc8e4 mov rax, rdi ; +0x196, 0x1400cc8e6 or rax, 0Fh ; +0x199, 0x1400cc8e9 cmp rax, rbx ; +0x19d, 0x1400cc8ed ja short loc_1400CC901 ; +0x1a0, 0x1400cc8f0 mov rbx, rax ; +0x1a2, 0x1400cc8f2 mov ecx, 16h ; +0x1a5, 0x1400cc8f5 cmp rax, rcx ; +0x1aa, 0x1400cc8fa cmovb rbx, rcx ; +0x1ad, 0x1400cc8fd lea rcx, [rbx+1] ; +0x1b1, 0x1400cc901 call sub_14003D460 ; +0x1b5, 0x1400cc905 mov qword ptr [rbp+57h+var_A8], rax ; +0x1ba, 0x1400cc90a mov [rbp+57h+var_98], rdi ; +0x1be, 0x1400cc90e mov [rbp+57h+var_90], rbx ; +0x1c2, 0x1400cc912 lea r8, [rdi+1]; Size ; +0x1c6, 0x1400cc916 mov rdx, r14; Src ; +0x1ca, 0x1400cc91a mov rcx, rax; void * ; +0x1cd, 0x1400cc91d call memcpy ; +0x1d0, 0x1400cc920 lea rax, [rbp+57h+var_A8] ; +0x1d5, 0x1400cc925 mov [rbp+57h+var_B0], rax ; +0x1d9, 0x1400cc929 mov ecx, 298h; Size ; +0x1dd, 0x1400cc92d call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x1e2, 0x1400cc932 mov [rbp+57h+var_B8], rax ; +0x1e7, 0x1400cc937 mov rcx, rax ; +0x1eb, 0x1400cc93b call FLAlertLayer__FLAlertLayer ; +0x1ee, 0x1400cc93e mov rbx, rax ; +0x1f3, 0x1400cc943 test rax, rax ; +0x1f6, 0x1400cc946 jz loc_1400CC9D3 ; +0x1f9, 0x1400cc949 lea rdx, [rbp+57h+var_A8] ; +0x1ff, 0x1400cc94f lea rcx, [rbp+57h+var_88] ; +0x203, 0x1400cc953 call sub_14003F4F0 ; +0x207, 0x1400cc957 movss xmm0, cs:flt_140835080 ; +0x20c, 0x1400cc95c movss [rsp+110h+var_C8], xmm0 ; +0x214, 0x1400cc964 xorps xmm1, xmm1 ; +0x21a, 0x1400cc96a movss [rsp+110h+var_D0], xmm1 ; +0x21d, 0x1400cc96d mov [rsp+110h+var_D8], 0 ; +0x223, 0x1400cc973 movss xmm0, cs:dword_140835A04 ; +0x228, 0x1400cc978 movss [rsp+110h+var_E0], xmm0 ; +0x230, 0x1400cc980 lea rcx, aDelete_0; "Delete" ; +0x236, 0x1400cc986 mov [rsp+110h+var_E8], rcx ; +0x23d, 0x1400cc98d lea rcx, aCancel; "Cancel" ; +0x242, 0x1400cc992 mov [rsp+110h+Reserved], rcx ; +0x249, 0x1400cc999 mov r9, rax ; +0x24e, 0x1400cc99e lea r8, aDeleteBackups; "Delete Backups" ; +0x251, 0x1400cc9a1 lea rdx, [r13+308h] ; +0x258, 0x1400cc9a8 mov rcx, rbx ; +0x25f, 0x1400cc9af call FLAlertLayer__init ; +0x262, 0x1400cc9b2 mov rcx, rbx ; +0x267, 0x1400cc9b7 test al, al ; +0x26a, 0x1400cc9ba jz short loc_1400CC9C6 ; +0x26c, 0x1400cc9bc call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x26e, 0x1400cc9be jmp short loc_1400CC9D3 ; +0x274, 0x1400cc9c4 mov rax, [rbx] ; +0x276, 0x1400cc9c6 mov edx, 1 ; +0x279, 0x1400cc9c9 call qword ptr [rax+8] ; +0x27e, 0x1400cc9ce xor ebx, ebx ; +0x281, 0x1400cc9d1 lea rcx, [rbp+57h+var_A8] ; +0x283, 0x1400cc9d3 call sub_14003D310 ; +0x287, 0x1400cc9d7 mov rax, [rbx] ; +0x28c, 0x1400cc9dc mov edx, 3 ; +0x28f, 0x1400cc9df mov rcx, rbx ; +0x294, 0x1400cc9e4 call qword ptr [rax+40h] ; +0x297, 0x1400cc9e7 mov rax, [rbx] ; +0x29a, 0x1400cc9ea mov rcx, rbx ; +0x29d, 0x1400cc9ed call qword ptr [rax+428h] ; +0x2a0, 0x1400cc9f0 nop ; +0x2a6, 0x1400cc9f6 cmp r15, 0Fh ; +0x2a7, 0x1400cc9f7 jbe short loc_1400CCA44 ; +0x2ab, 0x1400cc9fb lea rdx, [r15+1] ; +0x2ad, 0x1400cc9fd mov rax, rsi ; +0x2b1, 0x1400cca01 cmp rdx, 1000h ; +0x2b4, 0x1400cca04 jb short loc_1400CCA3C ; +0x2bb, 0x1400cca0b add rdx, 27h ; ''' ; +0x2bd, 0x1400cca0d mov rsi, [rsi-8] ; +0x2c1, 0x1400cca11 sub rax, rsi ; +0x2c5, 0x1400cca15 sub rax, 8 ; +0x2c8, 0x1400cca18 cmp rax, 1Fh ; +0x2cc, 0x1400cca1c jbe short loc_1400CCA3C ; +0x2d0, 0x1400cca20 mov [rsp+110h+Reserved], 0; Reserved ; +0x2d2, 0x1400cca22 xor r9d, r9d; LineNo ; +0x2db, 0x1400cca2b xor r8d, r8d; FileName ; +0x2de, 0x1400cca2e xor edx, edx; FunctionName ; +0x2e1, 0x1400cca31 xor ecx, ecx; Expression ; +0x2e3, 0x1400cca33 call cs:_invoke_watson ; +0x2e5, 0x1400cca35 align 4 ; +0x2eb, 0x1400cca3b mov rcx, rsi; Block ; +0x2ec, 0x1400cca3c call j_j_free ; +0x2ef, 0x1400cca3f mov rcx, [rbp+57h+var_28] ; +0x2f4, 0x1400cca44 xor rcx, rsp; StackCookie ; +0x2f8, 0x1400cca48 call __security_check_cookie ; +0x2fb, 0x1400cca4b lea r11, [rsp+110h+var_20] ; +0x300, 0x1400cca50 mov rbx, [r11+38h] ; +0x308, 0x1400cca58 mov rsi, [r11+40h] ; +0x30c, 0x1400cca5c mov rdi, [r11+48h] ; +0x310, 0x1400cca60 mov rsp, r11 ; +0x314, 0x1400cca64 pop r15 ; +0x317, 0x1400cca67 pop r14 ; +0x319, 0x1400cca69 pop r13 ; +0x31b, 0x1400cca6b pop r12 ; +0x31d, 0x1400cca6d pop rbp ; +0x31f, 0x1400cca6f retn ; +0x320, 0x1400cca70 call sub_140009D90 ; +0x321, 0x1400cca71 db 90h ; +0x326, 0x1400cca76