; ; cocos2d::extension::CCControlSwitch::setOn from 0x18000cef0 to 0x18000cfaa (186 bytes) ; ; 2 xrefs: ; > @ 0x18002fdf8 ; > @ 0x180049dbc ; ; 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 ; push rbx ; +0x0, 0x18000cef0 sub rsp, 20h ; +0x2, 0x18000cef2 mov [rcx+1E5h], dl ; +0x6, 0x18000cef6 mov rbx, rcx ; +0xc, 0x18000cefc test r8b, r8b ; +0xf, 0x18000ceff jz short loc_18000CF50 ; +0x12, 0x18000cf02 mov rax, [rcx+1D8h] ; +0x14, 0x18000cf04 test dl, dl ; +0x1b, 0x18000cf0b jz short loc_18000CF19 ; +0x1d, 0x18000cf0d movss xmm3, dword ptr [rax+264h] ; +0x1f, 0x18000cf0f jmp short loc_18000CF21 ; +0x27, 0x18000cf17 movss xmm3, dword ptr [rax+268h] ; +0x29, 0x18000cf19 movss xmm2, dword ptr [rax+260h] ; +0x31, 0x18000cf21 lea rdx, aSliderxpositio; "sliderXPosition" ; +0x39, 0x18000cf29 movss xmm0, cs:dword_180029508 ; +0x40, 0x18000cf30 call cs:?create@CCActionTween@cocos2d@@SAPEAV12@MPEBDMM@Z; cocos2d::CCActionTween::create(float,char const *,float,float) ; +0x48, 0x18000cf38 mov rcx, [rbx+1D8h] ; +0x4e, 0x18000cf3e mov rdx, rax ; +0x55, 0x18000cf45 call cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x58, 0x18000cf48 jmp short loc_18000CF93 ; +0x5e, 0x18000cf4e mov rcx, [rcx+1D8h] ; +0x60, 0x18000cf50 test dl, dl ; +0x67, 0x18000cf57 jz short loc_18000CF65 ; +0x69, 0x18000cf59 movss xmm1, dword ptr [rcx+264h] ; +0x6b, 0x18000cf5b jmp short loc_18000CF6D ; +0x73, 0x18000cf63 movss xmm1, dword ptr [rcx+268h] ; +0x75, 0x18000cf65 movss xmm0, dword ptr [rcx+268h] ; +0x7d, 0x18000cf6d comiss xmm0, xmm1 ; +0x85, 0x18000cf75 jnb short loc_18000CF86 ; +0x88, 0x18000cf78 movss xmm0, dword ptr [rcx+264h] ; +0x8a, 0x18000cf7a minss xmm0, xmm1 ; +0x92, 0x18000cf82 movss dword ptr [rcx+260h], xmm0 ; +0x96, 0x18000cf86 call sub_18000C670 ; +0x9e, 0x18000cf8e mov rax, [rbx] ; +0xa3, 0x18000cf93 mov edx, 100h ; +0xa6, 0x18000cf96 mov rcx, rbx ; +0xab, 0x18000cf9b add rsp, 20h ; +0xae, 0x18000cf9e pop rbx ; +0xb2, 0x18000cfa2 jmp qword ptr [rax+430h] ; +0xb3, 0x18000cfa3