; ; sub_18001DE50 from 0x18001de50 to 0x18001ded8 (136 bytes) ; ; 3 xrefs: ; > cocos2d::extension::CCTableView::CCTableView @ 0x18001ca2a ; > sub_18001DA20 @ 0x18001dacb ; > @ 0x18004b0ac ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; mov [rsp+arg_0], rbx ; +0x0, 0x18001de50 push rdi ; +0x5, 0x18001de55 sub rsp, 20h ; +0x6, 0x18001de56 mov rax, 3FFFFFFFFFFFFFFFh ; +0xa, 0x18001de5a mov rdi, rcx ; +0x14, 0x18001de64 cmp rdx, rax ; +0x17, 0x18001de67 ja short loc_18001DED2 ; +0x1a, 0x18001de6a lea rbx, ds:0[rdx*4] ; +0x1c, 0x18001de6c cmp rbx, 1000h ; +0x24, 0x18001de74 jb short loc_18001DEA8 ; +0x2b, 0x18001de7b lea rcx, [rbx+27h]; Size ; +0x2d, 0x18001de7d cmp rcx, rbx ; +0x31, 0x18001de81 jbe short loc_18001DED2 ; +0x34, 0x18001de84 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x36, 0x18001de86 mov rcx, rax ; +0x3b, 0x18001de8b test rax, rax ; +0x3e, 0x18001de8e jz short loc_18001DEA1 ; +0x41, 0x18001de91 add rax, 27h ; ''' ; +0x43, 0x18001de93 and rax, 0FFFFFFFFFFFFFFE0h ; +0x47, 0x18001de97 mov [rax-8], rcx ; +0x4b, 0x18001de9b jmp short loc_18001DEB9 ; +0x4f, 0x18001de9f call cs:_invalid_parameter_noinfo_noreturn ; +0x51, 0x18001dea1 align 8 ; +0x57, 0x18001dea7 test rbx, rbx ; +0x58, 0x18001dea8 jz short loc_18001DEB7 ; +0x5b, 0x18001deab mov rcx, rbx; Size ; +0x5d, 0x18001dead call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x60, 0x18001deb0 jmp short loc_18001DEB9 ; +0x65, 0x18001deb5 xor eax, eax ; +0x67, 0x18001deb7 mov [rdi], rax ; +0x69, 0x18001deb9 mov [rdi+8], rax ; +0x6c, 0x18001debc add rax, rbx ; +0x70, 0x18001dec0 mov rbx, [rsp+28h+arg_0] ; +0x73, 0x18001dec3 mov [rdi+10h], rax ; +0x78, 0x18001dec8 add rsp, 20h ; +0x7c, 0x18001decc pop rdi ; +0x80, 0x18001ded0 retn ; +0x81, 0x18001ded1 call ?cancel_current_task@Concurrency@@YAXXZ; Concurrency::cancel_current_task(void) ; +0x82, 0x18001ded2 db 0CCh ; +0x87, 0x18001ded7