; ; sub_180016C00 from 0x180016c00 to 0x180016c89 (137 bytes) ; ; 3 xrefs: ; > @ 0x18002b368 ; > @ 0x18002b740 ; > @ 0x18004c8fc ; ; 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:42 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x180016c00 mov [rsp+arg_8], rsi ; +0x5, 0x180016c05 push rdi ; +0xa, 0x180016c0a sub rsp, 20h ; +0xb, 0x180016c0b mov rbx, rcx ; +0xf, 0x180016c0f mov esi, edx ; +0x12, 0x180016c12 and esi, 1 ; +0x14, 0x180016c14 test dl, 2 ; +0x17, 0x180016c17 jz short loc_180016C5E ; +0x1a, 0x180016c1a lea r9, ??1CCTableViewDelegate@extension@cocos2d@@UEAA@XZ; cocos2d::extension::CCTableViewDelegate::~CCTableViewDelegate(void) ; +0x1c, 0x180016c1c mov r8, [rcx-8] ; +0x23, 0x180016c23 mov edx, 8 ; +0x27, 0x180016c27 call sub_18001F0B0 ; +0x2c, 0x180016c2c test esi, esi ; +0x31, 0x180016c31 jz short loc_180016C4A ; +0x33, 0x180016c33 mov rdx, [rbx-8] ; +0x35, 0x180016c35 lea rdx, ds:8[rdx*8] ; +0x39, 0x180016c39 lea rcx, [rbx-8]; Block ; +0x41, 0x180016c41 call j_j_j_free ; +0x45, 0x180016c45 lea rax, [rbx-8] ; +0x4a, 0x180016c4a mov rbx, [rsp+28h+arg_0] ; +0x4e, 0x180016c4e mov rsi, [rsp+28h+arg_8] ; +0x53, 0x180016c53 add rsp, 20h ; +0x58, 0x180016c58 pop rdi ; +0x5c, 0x180016c5c retn ; +0x5d, 0x180016c5d lea rax, ??_7CCScrollViewDelegate@extension@cocos2d@@6B@; const cocos2d::extension::CCScrollViewDelegate::`vftable' ; +0x5e, 0x180016c5e mov [rcx], rax ; +0x65, 0x180016c65 test esi, esi ; +0x68, 0x180016c68 jz short loc_180016C76 ; +0x6a, 0x180016c6a mov edx, 8 ; +0x6c, 0x180016c6c call j_j_free ; +0x71, 0x180016c71 mov rax, rbx ; +0x76, 0x180016c76 mov rbx, [rsp+28h+arg_0] ; +0x79, 0x180016c79 mov rsi, [rsp+28h+arg_8] ; +0x7e, 0x180016c7e add rsp, 20h ; +0x83, 0x180016c83 pop rdi ; +0x87, 0x180016c87 retn ; +0x88, 0x180016c88