; ; sub_180009D90 from 0x180009d90 to 0x180009e17 (135 bytes) ; ; 3 xrefs: ; > sub_180009D78 @ 0x180009d7f ; > @ 0x180027ac0 ; > @ 0x18004b9f0 ; ; 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:37 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x180009d90 mov [rsp+arg_8], rsi ; +0x5, 0x180009d95 push rdi ; +0xa, 0x180009d9a sub rsp, 20h ; +0xb, 0x180009d9b mov rbx, rcx ; +0xf, 0x180009d9f mov esi, edx ; +0x12, 0x180009da2 and esi, 1 ; +0x14, 0x180009da4 test dl, 2 ; +0x17, 0x180009da7 jz short loc_180009DEE ; +0x1a, 0x180009daa lea r9, ??1CCControlSaturationBrightnessPicker@extension@cocos2d@@UEAA@XZ; cocos2d::extension::CCControlSaturationBrightnessPicker::~CCControlSaturationBrightnessPicker(void) ; +0x1c, 0x180009dac mov r8, [rcx-8] ; +0x23, 0x180009db3 mov edx, 210h ; +0x27, 0x180009db7 call sub_18001F0B0 ; +0x2c, 0x180009dbc test esi, esi ; +0x31, 0x180009dc1 jz short loc_180009DDA ; +0x33, 0x180009dc3 imul rdx, [rbx-8], 210h ; +0x35, 0x180009dc5 add rdx, 8 ; +0x3d, 0x180009dcd lea rcx, [rbx-8]; Block ; +0x41, 0x180009dd1 call j_j_j_free ; +0x45, 0x180009dd5 lea rax, [rbx-8] ; +0x4a, 0x180009dda mov rbx, [rsp+28h+arg_0] ; +0x4e, 0x180009dde mov rsi, [rsp+28h+arg_8] ; +0x53, 0x180009de3 add rsp, 20h ; +0x58, 0x180009de8 pop rdi ; +0x5c, 0x180009dec retn ; +0x5d, 0x180009ded call ??1CCControlSaturationBrightnessPicker@extension@cocos2d@@UEAA@XZ; cocos2d::extension::CCControlSaturationBrightnessPicker::~CCControlSaturationBrightnessPicker(void) ; +0x5e, 0x180009dee test esi, esi ; +0x63, 0x180009df3 jz short loc_180009E04 ; +0x65, 0x180009df5 mov edx, 210h ; +0x67, 0x180009df7 mov rcx, rbx; Block ; +0x6c, 0x180009dfc call j_j_free ; +0x6f, 0x180009dff mov rax, rbx ; +0x74, 0x180009e04 mov rbx, [rsp+28h+arg_0] ; +0x77, 0x180009e07 mov rsi, [rsp+28h+arg_8] ; +0x7c, 0x180009e0c add rsp, 20h ; +0x81, 0x180009e11 pop rdi ; +0x85, 0x180009e15 retn ; +0x86, 0x180009e16