; ; sub_18000A300 from 0x18000a300 to 0x18000a387 (135 bytes) ; ; 3 xrefs: ; > sub_18000A2E8 @ 0x18000a2ef ; > @ 0x180025508 ; > @ 0x180049b10 ; ; 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, 0x18000a300 mov [rsp+arg_8], rsi ; +0x5, 0x18000a305 push rdi ; +0xa, 0x18000a30a sub rsp, 20h ; +0xb, 0x18000a30b mov rbx, rcx ; +0xf, 0x18000a30f mov edi, edx ; +0x12, 0x18000a312 and edi, 1 ; +0x14, 0x18000a314 test dl, 2 ; +0x17, 0x18000a317 jz short loc_18000A35E ; +0x1a, 0x18000a31a lea r9, ??1CCControlSaturationBrightnessPicker@extension@cocos2d@@UEAA@XZ; void (*)(void *) ; +0x1c, 0x18000a31c mov r8, [rcx-8]; unsigned __int64 ; +0x23, 0x18000a323 mov edx, 210h; unsigned __int64 ; +0x27, 0x18000a327 call ??_M@YAXPEAX_K1P6AX0@Z@Z; `eh vector destructor iterator'(void *,unsigned __int64,unsigned __int64,void (*)(void *)) ; +0x2c, 0x18000a32c test edi, edi ; +0x31, 0x18000a331 jz short loc_18000A34A ; +0x33, 0x18000a333 imul rdx, [rbx-8], 210h ; +0x35, 0x18000a335 add rdx, 8 ; +0x3d, 0x18000a33d lea rcx, [rbx-8]; Block ; +0x41, 0x18000a341 call j_j_j_free ; +0x45, 0x18000a345 lea rax, [rbx-8] ; +0x4a, 0x18000a34a mov rbx, [rsp+28h+arg_0] ; +0x4e, 0x18000a34e mov rsi, [rsp+28h+arg_8] ; +0x53, 0x18000a353 add rsp, 20h ; +0x58, 0x18000a358 pop rdi ; +0x5c, 0x18000a35c retn ; +0x5d, 0x18000a35d call ??1CCControlSaturationBrightnessPicker@extension@cocos2d@@UEAA@XZ; cocos2d::extension::CCControlSaturationBrightnessPicker::~CCControlSaturationBrightnessPicker(void) ; +0x5e, 0x18000a35e test edi, edi ; +0x63, 0x18000a363 jz short loc_18000A374 ; +0x65, 0x18000a365 mov edx, 210h ; +0x67, 0x18000a367 mov rcx, rbx; Block ; +0x6c, 0x18000a36c call j_j_free ; +0x6f, 0x18000a36f mov rax, rbx ; +0x74, 0x18000a374 mov rbx, [rsp+28h+arg_0] ; +0x77, 0x18000a377 mov rsi, [rsp+28h+arg_8] ; +0x7c, 0x18000a37c add rsp, 20h ; +0x81, 0x18000a381 pop rdi ; +0x85, 0x18000a385 retn ; +0x86, 0x18000a386