; ; sub_18001C5A0 from 0x18001c5a0 to 0x18001c629 (137 bytes) ; ; 2 xrefs: ; > @ 0x18002b780 ; > @ 0x18004ce6c ; ; 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, 0x18001c5a0 mov [rsp+arg_8], rsi ; +0x5, 0x18001c5a5 push rdi ; +0xa, 0x18001c5aa sub rsp, 20h ; +0xb, 0x18001c5ab mov rbx, rcx ; +0xf, 0x18001c5af mov esi, edx ; +0x12, 0x18001c5b2 and esi, 1 ; +0x14, 0x18001c5b4 test dl, 2 ; +0x17, 0x18001c5b7 jz short loc_18001C5FE ; +0x1a, 0x18001c5ba lea r9, ??1CCTableViewDataSource@extension@cocos2d@@UEAA@XZ; cocos2d::extension::CCTableViewDataSource::~CCTableViewDataSource(void) ; +0x1c, 0x18001c5bc mov r8, [rcx-8] ; +0x23, 0x18001c5c3 mov edx, 8 ; +0x27, 0x18001c5c7 call sub_18001F0B0 ; +0x2c, 0x18001c5cc test esi, esi ; +0x31, 0x18001c5d1 jz short loc_18001C5EA ; +0x33, 0x18001c5d3 mov rdx, [rbx-8] ; +0x35, 0x18001c5d5 lea rdx, ds:8[rdx*8] ; +0x39, 0x18001c5d9 lea rcx, [rbx-8]; Block ; +0x41, 0x18001c5e1 call j_j_j_free ; +0x45, 0x18001c5e5 lea rax, [rbx-8] ; +0x4a, 0x18001c5ea mov rbx, [rsp+28h+arg_0] ; +0x4e, 0x18001c5ee mov rsi, [rsp+28h+arg_8] ; +0x53, 0x18001c5f3 add rsp, 20h ; +0x58, 0x18001c5f8 pop rdi ; +0x5c, 0x18001c5fc retn ; +0x5d, 0x18001c5fd lea rax, ??_7CCTableViewDataSource@extension@cocos2d@@6B@; const cocos2d::extension::CCTableViewDataSource::`vftable' ; +0x5e, 0x18001c5fe mov [rcx], rax ; +0x65, 0x18001c605 test esi, esi ; +0x68, 0x18001c608 jz short loc_18001C616 ; +0x6a, 0x18001c60a mov edx, 8 ; +0x6c, 0x18001c60c call j_j_free ; +0x71, 0x18001c611 mov rax, rbx ; +0x76, 0x18001c616 mov rbx, [rsp+28h+arg_0] ; +0x79, 0x18001c619 mov rsi, [rsp+28h+arg_8] ; +0x7e, 0x18001c61e add rsp, 20h ; +0x83, 0x18001c623 pop rdi ; +0x87, 0x18001c627 retn ; +0x88, 0x18001c628