; ; cocos2d::extension::CCControlPotentiometer::setValue from 0x180008bd0 to 0x180008c5f (143 bytes) ; ; 6 xrefs: ; > cocos2d::extension::CCControlPotentiometer::initWithTrackSprite_ProgressTimer_ThumbSprite @ 0x180008b3a ; > cocos2d::extension::CCControlPotentiometer::setMinimumValue @ 0x180008c9b ; > cocos2d::extension::CCControlPotentiometer::setMaximumValue @ 0x180008cdb ; > cocos2d::extension::CCControlPotentiometer::potentiometerMoved @ 0x180009196 ; > @ 0x180032408 ; > @ 0x18004b8d0 ; ; 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 ; push rbx ; +0x0, 0x180008bd0 sub rsp, 30h ; +0x2, 0x180008bd2 movss xmm2, dword ptr [rcx+1F4h] ; +0x6, 0x180008bd6 mov rbx, rcx ; +0xe, 0x180008bde movss xmm3, dword ptr [rcx+1F8h] ; +0x11, 0x180008be1 movaps xmm0, xmm2 ; +0x19, 0x180008be9 movaps [rsp+38h+var_18], xmm6 ; +0x1c, 0x180008bec maxss xmm0, xmm1 ; +0x21, 0x180008bf1 movaps xmm6, xmm3 ; +0x25, 0x180008bf5 subss xmm3, xmm2 ; +0x28, 0x180008bf8 minss xmm6, xmm0 ; +0x2c, 0x180008bfc movss dword ptr [rcx+1F0h], xmm6 ; +0x30, 0x180008c00 subss xmm6, xmm2 ; +0x38, 0x180008c08 mov rcx, [rcx+1E0h] ; +0x3c, 0x180008c0c divss xmm6, xmm3 ; +0x43, 0x180008c13 movaps xmm1, xmm6 ; +0x47, 0x180008c17 mulss xmm1, cs:dword_18002BC80 ; +0x4a, 0x180008c1a call cs:?setPercentage@CCProgressTimer@cocos2d@@QEAAXM@Z; cocos2d::CCProgressTimer::setPercentage(float) ; +0x52, 0x180008c22 mov rcx, [rbx+1D8h] ; +0x58, 0x180008c28 mulss xmm6, cs:dword_18002BC90 ; +0x5f, 0x180008c2f mov rax, [rcx] ; +0x67, 0x180008c37 movaps xmm1, xmm6 ; +0x6a, 0x180008c3a call qword ptr [rax+160h] ; +0x6d, 0x180008c3d mov rax, [rbx] ; +0x73, 0x180008c43 mov edx, 100h ; +0x76, 0x180008c46 mov rcx, rbx ; +0x7b, 0x180008c4b movaps xmm6, [rsp+38h+var_18] ; +0x7e, 0x180008c4e add rsp, 30h ; +0x83, 0x180008c53 pop rbx ; +0x87, 0x180008c57 jmp qword ptr [rax+440h] ; +0x88, 0x180008c58