; ; EditorUI::onDeleteCustomItem from 0x1401f5fa0 to 0x1401f60ea (330 bytes) ; ; 2 xrefs: ; > EditorUI::createCustomItems @ 0x1401f66ac ; > @ 0x14091aa80 ; ; 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:28:09 +0000 ; mov [rsp+arg_8], rbx ; +0x0, 0x1401f5fa0 mov [rsp+arg_10], rsi ; +0x5, 0x1401f5fa5 push rdi ; +0xa, 0x1401f5faa sub rsp, 60h ; +0xb, 0x1401f5fab mov rax, cs:__security_cookie ; +0xf, 0x1401f5faf xor rax, rsp ; +0x16, 0x1401f5fb6 mov [rsp+68h+var_10], rax ; +0x19, 0x1401f5fb9 mov rbx, rcx ; +0x1e, 0x1401f5fbe cmp dword ptr [rcx+570h], 0 ; +0x21, 0x1401f5fc1 jge loc_1401F60CA ; +0x28, 0x1401f5fc8 mov rdi, cs:qword_14090BFD0 ; +0x2e, 0x1401f5fce test rdi, rdi ; +0x35, 0x1401f5fd5 jnz short loc_1401F600C ; +0x38, 0x1401f5fd8 mov ecx, 6E8h; Size ; +0x3a, 0x1401f5fda call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x3f, 0x1401f5fdf mov [rsp+68h+var_38], rax ; +0x44, 0x1401f5fe4 mov rcx, rax ; +0x49, 0x1401f5fe9 call GameManager__GameManager ; +0x4c, 0x1401f5fec nop ; +0x51, 0x1401f5ff1 mov cs:qword_14090BFD0, rax ; +0x52, 0x1401f5ff2 mov rcx, [rax] ; +0x59, 0x1401f5ff9 mov rdx, [rcx+48h] ; +0x5c, 0x1401f5ffc mov rcx, rax ; +0x60, 0x1401f6000 call rdx ; +0x63, 0x1401f6003 mov rdi, cs:qword_14090BFD0 ; +0x65, 0x1401f6005 mov edx, [rbx+570h] ; +0x6c, 0x1401f600c lea rcx, word_1406ED6F8 ; +0x72, 0x1401f6012 call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x79, 0x1401f6019 mov rcx, rax ; +0x7f, 0x1401f601f call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x82, 0x1401f6022 xorps xmm0, xmm0 ; +0x88, 0x1401f6028 movups xmmword ptr [rsp+68h+Block], xmm0 ; +0x8b, 0x1401f602b xor esi, esi ; +0x90, 0x1401f6030 mov [rsp+68h+var_20], rsi ; +0x92, 0x1401f6032 mov [rsp+68h+var_18], rsi ; +0x97, 0x1401f6037 mov r8, 0FFFFFFFFFFFFFFFFh ; +0x9c, 0x1401f603c inc r8 ; +0xa3, 0x1401f6043 cmp [rax+r8], sil ; +0xa6, 0x1401f6046 jnz short loc_1401F6043 ; +0xaa, 0x1401f604a mov rdx, rax ; +0xac, 0x1401f604c lea rcx, [rsp+68h+Block] ; +0xaf, 0x1401f604f call sub_14003D230 ; +0xb4, 0x1401f6054 nop ; +0xb9, 0x1401f6059 lea rdx, [rsp+68h+Block] ; +0xba, 0x1401f605a mov rcx, [rdi+1D0h] ; +0xbf, 0x1401f605f call cs:?removeObjectForKey@CCDictionary@cocos2d@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::removeObjectForKey(std::string const &) ; +0xc6, 0x1401f6066 nop ; +0xcc, 0x1401f606c mov rdx, [rsp+68h+var_18] ; +0xcd, 0x1401f606d cmp rdx, 0Fh ; +0xd2, 0x1401f6072 jbe short loc_1401F60BC ; +0xd6, 0x1401f6076 inc rdx ; +0xd8, 0x1401f6078 mov rcx, [rsp+68h+Block]; Block ; +0xdb, 0x1401f607b mov rax, rcx ; +0xe0, 0x1401f6080 cmp rdx, 1000h ; +0xe3, 0x1401f6083 jb short loc_1401F60B7 ; +0xea, 0x1401f608a add rdx, 27h ; ''' ; +0xec, 0x1401f608c mov rcx, [rcx-8] ; +0xf0, 0x1401f6090 sub rax, rcx ; +0xf4, 0x1401f6094 sub rax, 8 ; +0xf7, 0x1401f6097 cmp rax, 1Fh ; +0xfb, 0x1401f609b jbe short loc_1401F60B7 ; +0xff, 0x1401f609f mov [rsp+68h+Reserved], rsi; Reserved ; +0x101, 0x1401f60a1 xor r9d, r9d; LineNo ; +0x106, 0x1401f60a6 xor r8d, r8d; FileName ; +0x109, 0x1401f60a9 xor edx, edx; FunctionName ; +0x10c, 0x1401f60ac xor ecx, ecx; Expression ; +0x10e, 0x1401f60ae call cs:_invoke_watson ; +0x110, 0x1401f60b0 db 0CCh ; +0x116, 0x1401f60b6 call j_j_free ; +0x117, 0x1401f60b7 mov [rbx+570h], esi ; +0x11c, 0x1401f60bc mov rcx, rbx ; +0x122, 0x1401f60c2 call EditorUI__reloadCustomItems ; +0x125, 0x1401f60c5 mov rcx, [rsp+68h+var_10] ; +0x12a, 0x1401f60ca xor rcx, rsp; StackCookie ; +0x12f, 0x1401f60cf call __security_check_cookie ; +0x132, 0x1401f60d2 mov rbx, [rsp+68h+arg_8] ; +0x137, 0x1401f60d7 mov rsi, [rsp+68h+arg_10] ; +0x13c, 0x1401f60dc add rsp, 60h ; +0x144, 0x1401f60e4 pop rdi ; +0x148, 0x1401f60e8 retn ; +0x149, 0x1401f60e9