; ; sub_1800097D0 from 0x1800097d0 to 0x180009857 (135 bytes) ; ; 3 xrefs: ; > sub_1800097BC @ 0x1800097c3 ; > @ 0x180024f20 ; > @ 0x180049a14 ; ; 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, 0x1800097d0 mov [rsp+arg_8], rsi ; +0x5, 0x1800097d5 push rdi ; +0xa, 0x1800097da sub rsp, 20h ; +0xb, 0x1800097db mov rbx, rcx ; +0xf, 0x1800097df mov edi, edx ; +0x12, 0x1800097e2 and edi, 1 ; +0x14, 0x1800097e4 test dl, 2 ; +0x17, 0x1800097e7 jz short loc_18000982E ; +0x1a, 0x1800097ea lea r9, ??1CCControlPotentiometer@extension@cocos2d@@UEAA@XZ; void (*)(void *) ; +0x1c, 0x1800097ec mov r8, [rcx-8]; unsigned __int64 ; +0x23, 0x1800097f3 mov edx, 200h; unsigned __int64 ; +0x27, 0x1800097f7 call ??_M@YAXPEAX_K1P6AX0@Z@Z; `eh vector destructor iterator'(void *,unsigned __int64,unsigned __int64,void (*)(void *)) ; +0x2c, 0x1800097fc test edi, edi ; +0x31, 0x180009801 jz short loc_18000981A ; +0x33, 0x180009803 mov rdx, [rbx-8] ; +0x35, 0x180009805 shl rdx, 9 ; +0x39, 0x180009809 add rdx, 8 ; +0x3d, 0x18000980d lea rcx, [rbx-8]; Block ; +0x41, 0x180009811 call j_j_j_free ; +0x45, 0x180009815 lea rax, [rbx-8] ; +0x4a, 0x18000981a mov rbx, [rsp+28h+arg_0] ; +0x4e, 0x18000981e mov rsi, [rsp+28h+arg_8] ; +0x53, 0x180009823 add rsp, 20h ; +0x58, 0x180009828 pop rdi ; +0x5c, 0x18000982c retn ; +0x5d, 0x18000982d call ??1CCControlPotentiometer@extension@cocos2d@@UEAA@XZ; cocos2d::extension::CCControlPotentiometer::~CCControlPotentiometer(void) ; +0x5e, 0x18000982e test edi, edi ; +0x63, 0x180009833 jz short loc_180009844 ; +0x65, 0x180009835 mov edx, 200h ; +0x67, 0x180009837 mov rcx, rbx; Block ; +0x6c, 0x18000983c call j_j_free ; +0x6f, 0x18000983f mov rax, rbx ; +0x74, 0x180009844 mov rbx, [rsp+28h+arg_0] ; +0x77, 0x180009847 mov rsi, [rsp+28h+arg_8] ; +0x7c, 0x18000984c add rsp, 20h ; +0x81, 0x180009851 pop rdi ; +0x85, 0x180009855 retn ; +0x86, 0x180009856