; ; sub_180008780 from 0x180008780 to 0x180008807 (135 bytes) ; ; 3 xrefs: ; > sub_18000876C @ 0x180008773 ; > @ 0x180026ee8 ; > @ 0x18004b870 ; ; 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:36 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x180008780 mov [rsp+arg_8], rsi ; +0x5, 0x180008785 push rdi ; +0xa, 0x18000878a sub rsp, 20h ; +0xb, 0x18000878b mov rbx, rcx ; +0xf, 0x18000878f mov esi, edx ; +0x12, 0x180008792 and esi, 1 ; +0x14, 0x180008794 test dl, 2 ; +0x17, 0x180008797 jz short loc_1800087DE ; +0x1a, 0x18000879a lea r9, ??1CCControlHuePicker@extension@cocos2d@@UEAA@XZ; cocos2d::extension::CCControlHuePicker::~CCControlHuePicker(void) ; +0x1c, 0x18000879c mov r8, [rcx-8] ; +0x23, 0x1800087a3 mov edx, 1F8h ; +0x27, 0x1800087a7 call sub_18001F0B0 ; +0x2c, 0x1800087ac test esi, esi ; +0x31, 0x1800087b1 jz short loc_1800087CA ; +0x33, 0x1800087b3 imul rdx, [rbx-8], 1F8h ; +0x35, 0x1800087b5 add rdx, 8 ; +0x3d, 0x1800087bd lea rcx, [rbx-8]; Block ; +0x41, 0x1800087c1 call j_j_j_free ; +0x45, 0x1800087c5 lea rax, [rbx-8] ; +0x4a, 0x1800087ca mov rbx, [rsp+28h+arg_0] ; +0x4e, 0x1800087ce mov rsi, [rsp+28h+arg_8] ; +0x53, 0x1800087d3 add rsp, 20h ; +0x58, 0x1800087d8 pop rdi ; +0x5c, 0x1800087dc retn ; +0x5d, 0x1800087dd call ??1CCControlHuePicker@extension@cocos2d@@UEAA@XZ; cocos2d::extension::CCControlHuePicker::~CCControlHuePicker(void) ; +0x5e, 0x1800087de test esi, esi ; +0x63, 0x1800087e3 jz short loc_1800087F4 ; +0x65, 0x1800087e5 mov edx, 1F8h ; +0x67, 0x1800087e7 mov rcx, rbx; Block ; +0x6c, 0x1800087ec call j_j_free ; +0x6f, 0x1800087ef mov rax, rbx ; +0x74, 0x1800087f4 mov rbx, [rsp+28h+arg_0] ; +0x77, 0x1800087f7 mov rsi, [rsp+28h+arg_8] ; +0x7c, 0x1800087fc add rsp, 20h ; +0x81, 0x180008801 pop rdi ; +0x85, 0x180008805 retn ; +0x86, 0x180008806