; ; sub_18001C8F0 from 0x18001c8f0 to 0x18001c979 (137 bytes) ; ; 2 xrefs: ; > @ 0x18002bb30 ; > @ 0x18004ce90 ; ; 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 12:15:43 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x18001c8f0 mov [rsp+arg_8], rsi ; +0x5, 0x18001c8f5 push rdi ; +0xa, 0x18001c8fa sub rsp, 20h ; +0xb, 0x18001c8fb mov rbx, rcx ; +0xf, 0x18001c8ff mov esi, edx ; +0x12, 0x18001c902 and esi, 1 ; +0x14, 0x18001c904 test dl, 2 ; +0x17, 0x18001c907 jz short loc_18001C94E ; +0x1a, 0x18001c90a lea r9, ??1CCEditBoxDelegate@extension@cocos2d@@UEAA@XZ; cocos2d::extension::CCEditBoxDelegate::~CCEditBoxDelegate(void) ; +0x1c, 0x18001c90c mov r8, [rcx-8] ; +0x23, 0x18001c913 mov edx, 8 ; +0x27, 0x18001c917 call sub_18001F0B0 ; +0x2c, 0x18001c91c test esi, esi ; +0x31, 0x18001c921 jz short loc_18001C93A ; +0x33, 0x18001c923 mov rdx, [rbx-8] ; +0x35, 0x18001c925 lea rdx, ds:8[rdx*8] ; +0x39, 0x18001c929 lea rcx, [rbx-8]; Block ; +0x41, 0x18001c931 call j_j_j_free ; +0x45, 0x18001c935 lea rax, [rbx-8] ; +0x4a, 0x18001c93a mov rbx, [rsp+28h+arg_0] ; +0x4e, 0x18001c93e mov rsi, [rsp+28h+arg_8] ; +0x53, 0x18001c943 add rsp, 20h ; +0x58, 0x18001c948 pop rdi ; +0x5c, 0x18001c94c retn ; +0x5d, 0x18001c94d lea rax, ??_7CCEditBoxDelegate@extension@cocos2d@@6B@; const cocos2d::extension::CCEditBoxDelegate::`vftable' ; +0x5e, 0x18001c94e mov [rcx], rax ; +0x65, 0x18001c955 test esi, esi ; +0x68, 0x18001c958 jz short loc_18001C966 ; +0x6a, 0x18001c95a mov edx, 8 ; +0x6c, 0x18001c95c call j_j_free ; +0x71, 0x18001c961 mov rax, rbx ; +0x76, 0x18001c966 mov rbx, [rsp+28h+arg_0] ; +0x79, 0x18001c969 mov rsi, [rsp+28h+arg_8] ; +0x7e, 0x18001c96e add rsp, 20h ; +0x83, 0x18001c973 pop rdi ; +0x87, 0x18001c977 retn ; +0x88, 0x18001c978