; ; cocos2d::extension::CCControlSlider::valueForLocation from 0x18000afa0 to 0x18000b027 (135 bytes) ; ; 6 xrefs: ; > cocos2d::extension::CCControlSlider::ccTouchMoved @ 0x18000acd3 ; > cocos2d::extension::CCControlSlider::sliderBegan @ 0x18000aea1 ; > cocos2d::extension::CCControlSlider::sliderMoved @ 0x18000aef1 ; > cocos2d::extension::CCControlSlider::sliderEnded @ 0x18000af56 ; > @ 0x18002fdf8 ; > @ 0x180049c24 ; ; 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, 0x18000afa0 push rdi ; +0x5, 0x18000afa5 sub rsp, 20h ; +0x6, 0x18000afa6 mov rdi, rcx ; +0xa, 0x18000afaa mov rbx, rdx ; +0xd, 0x18000afad mov rcx, [rcx+200h] ; +0x10, 0x18000afb0 mov rax, [rcx] ; +0x17, 0x18000afb7 call qword ptr [rax+130h] ; +0x1a, 0x18000afba movss xmm0, dword ptr [rdi+1DCh] ; +0x20, 0x18000afc0 movss xmm1, dword ptr [rbx] ; +0x28, 0x18000afc8 movss xmm2, dword ptr [rdi+1E0h] ; +0x2c, 0x18000afcc divss xmm1, dword ptr [rax] ; +0x34, 0x18000afd4 subss xmm2, xmm0 ; +0x38, 0x18000afd8 mulss xmm2, xmm1 ; +0x3c, 0x18000afdc addss xmm2, xmm0 ; +0x40, 0x18000afe0 movss xmm0, dword ptr [rdi+1E8h] ; +0x44, 0x18000afe4 comiss xmm0, xmm2 ; +0x4c, 0x18000afec jbe short loc_18000AFF6 ; +0x4f, 0x18000afef movaps xmm3, xmm2 ; +0x51, 0x18000aff1 jmp short loc_18000AFF9 ; +0x54, 0x18000aff4 movaps xmm3, xmm0 ; +0x56, 0x18000aff6 movss xmm1, dword ptr [rdi+1E4h] ; +0x59, 0x18000aff9 comiss xmm3, xmm1 ; +0x61, 0x18000b001 jbe short loc_18000B019 ; +0x64, 0x18000b004 comiss xmm0, xmm2 ; +0x66, 0x18000b006 jbe short loc_18000B01C ; +0x69, 0x18000b009 movaps xmm0, xmm2 ; +0x6b, 0x18000b00b mov rbx, [rsp+28h+arg_0] ; +0x6e, 0x18000b00e add rsp, 20h ; +0x73, 0x18000b013 pop rdi ; +0x77, 0x18000b017 retn ; +0x78, 0x18000b018 movaps xmm0, xmm1 ; +0x79, 0x18000b019 mov rbx, [rsp+28h+arg_0] ; +0x7c, 0x18000b01c add rsp, 20h ; +0x81, 0x18000b021 pop rdi ; +0x85, 0x18000b025 retn ; +0x86, 0x18000b026