; ; sub_180014740 from 0x180014740 to 0x1800147c9 (137 bytes) ; ; 2 xrefs: ; > @ 0x18002ae40 ; > @ 0x18004c614 ; ; 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:41 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x180014740 mov [rsp+arg_8], rsi ; +0x5, 0x180014745 push rdi ; +0xa, 0x18001474a sub rsp, 20h ; +0xb, 0x18001474b mov rbx, rcx ; +0xf, 0x18001474f mov esi, edx ; +0x12, 0x180014752 and esi, 1 ; +0x14, 0x180014754 test dl, 2 ; +0x17, 0x180014757 jz short loc_18001479E ; +0x1a, 0x18001475a lea r9, ??1CCSortableObject@extension@cocos2d@@UEAA@XZ; cocos2d::extension::CCSortableObject::~CCSortableObject(void) ; +0x1c, 0x18001475c mov r8, [rcx-8] ; +0x23, 0x180014763 mov edx, 8 ; +0x27, 0x180014767 call sub_18001F0B0 ; +0x2c, 0x18001476c test esi, esi ; +0x31, 0x180014771 jz short loc_18001478A ; +0x33, 0x180014773 mov rdx, [rbx-8] ; +0x35, 0x180014775 lea rdx, ds:8[rdx*8] ; +0x39, 0x180014779 lea rcx, [rbx-8]; Block ; +0x41, 0x180014781 call j_j_j_free ; +0x45, 0x180014785 lea rax, [rbx-8] ; +0x4a, 0x18001478a mov rbx, [rsp+28h+arg_0] ; +0x4e, 0x18001478e mov rsi, [rsp+28h+arg_8] ; +0x53, 0x180014793 add rsp, 20h ; +0x58, 0x180014798 pop rdi ; +0x5c, 0x18001479c retn ; +0x5d, 0x18001479d lea rax, ??_7CCSortableObject@extension@cocos2d@@6B@; const cocos2d::extension::CCSortableObject::`vftable' ; +0x5e, 0x18001479e mov [rcx], rax ; +0x65, 0x1800147a5 test esi, esi ; +0x68, 0x1800147a8 jz short loc_1800147B6 ; +0x6a, 0x1800147aa mov edx, 8 ; +0x6c, 0x1800147ac call j_j_free ; +0x71, 0x1800147b1 mov rax, rbx ; +0x76, 0x1800147b6 mov rbx, [rsp+28h+arg_0] ; +0x79, 0x1800147b9 mov rsi, [rsp+28h+arg_8] ; +0x7e, 0x1800147be add rsp, 20h ; +0x83, 0x1800147c3 pop rdi ; +0x87, 0x1800147c7 retn ; +0x88, 0x1800147c8