; ; cocos2d::extension::CCControlPotentiometer::setValue from 0x180009120 to 0x1800091af (143 bytes) ; ; 6 xrefs: ; > cocos2d::extension::CCControlPotentiometer::initWithTrackSprite_ProgressTimer_ThumbSprite @ 0x18000908a ; > cocos2d::extension::CCControlPotentiometer::setMinimumValue @ 0x1800091eb ; > cocos2d::extension::CCControlPotentiometer::setMaximumValue @ 0x18000922b ; > cocos2d::extension::CCControlPotentiometer::potentiometerMoved @ 0x1800096e6 ; > @ 0x18002fdf8 ; > @ 0x18004999c ; ; 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, 0x180009120 sub rsp, 30h ; +0x2, 0x180009122 movss xmm2, dword ptr [rcx+1F4h] ; +0x6, 0x180009126 mov rbx, rcx ; +0xe, 0x18000912e movss xmm3, dword ptr [rcx+1F8h] ; +0x11, 0x180009131 movaps xmm0, xmm2 ; +0x19, 0x180009139 movaps [rsp+38h+var_18], xmm6 ; +0x1c, 0x18000913c maxss xmm0, xmm1 ; +0x21, 0x180009141 movaps xmm6, xmm3 ; +0x25, 0x180009145 subss xmm3, xmm2 ; +0x28, 0x180009148 minss xmm6, xmm0 ; +0x2c, 0x18000914c movss dword ptr [rcx+1F0h], xmm6 ; +0x30, 0x180009150 subss xmm6, xmm2 ; +0x38, 0x180009158 mov rcx, [rcx+1E0h] ; +0x3c, 0x18000915c divss xmm6, xmm3 ; +0x43, 0x180009163 movaps xmm1, xmm6 ; +0x47, 0x180009167 mulss xmm1, cs:dword_1800295B8 ; +0x4a, 0x18000916a call cs:?setPercentage@CCProgressTimer@cocos2d@@QEAAXM@Z; cocos2d::CCProgressTimer::setPercentage(float) ; +0x52, 0x180009172 mov rcx, [rbx+1D8h] ; +0x58, 0x180009178 mulss xmm6, cs:dword_1800295C8 ; +0x5f, 0x18000917f mov rax, [rcx] ; +0x67, 0x180009187 movaps xmm1, xmm6 ; +0x6a, 0x18000918a call qword ptr [rax+150h] ; +0x6d, 0x18000918d mov rax, [rbx] ; +0x73, 0x180009193 mov edx, 100h ; +0x76, 0x180009196 mov rcx, rbx ; +0x7b, 0x18000919b movaps xmm6, [rsp+38h+var_18] ; +0x7e, 0x18000919e add rsp, 30h ; +0x83, 0x1800091a3 pop rbx ; +0x87, 0x1800091a7 jmp qword ptr [rax+430h] ; +0x88, 0x1800091a8