; ; cocos2d::extension::CCControlSlider::needsLayout from 0x18000ad20 to 0x18000ae41 (289 bytes) ; ; 6 xrefs: ; > @ 0x180025ed8 ; > @ 0x18002de48 ; > @ 0x18002de58 ; > @ 0x18002fdf8 ; > @ 0x180049bb8 ; > @ 0x180049bc4 ; ; 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, 0x18000ad20 sub rsp, 60h ; +0x2, 0x18000ad22 mov rbx, rcx ; +0x6, 0x18000ad26 mov rcx, [rcx+1F0h] ; +0x9, 0x18000ad29 test rcx, rcx ; +0x10, 0x18000ad30 jz loc_18000AE3B ; +0x13, 0x18000ad33 cmp qword ptr [rbx+200h], 0 ; +0x19, 0x18000ad39 jz loc_18000AE3B ; +0x21, 0x18000ad41 cmp qword ptr [rbx+1F8h], 0 ; +0x27, 0x18000ad47 jz loc_18000AE3B ; +0x2f, 0x18000ad4f movss xmm1, dword ptr [rbx+1DCh] ; +0x35, 0x18000ad55 movss xmm0, dword ptr [rbx+1E0h] ; +0x3d, 0x18000ad5d mov rax, [rcx] ; +0x45, 0x18000ad65 subss xmm0, xmm1 ; +0x48, 0x18000ad68 movaps [rsp+68h+var_18], xmm6 ; +0x4c, 0x18000ad6c movss xmm6, dword ptr [rbx+1D8h] ; +0x51, 0x18000ad71 subss xmm6, xmm1 ; +0x59, 0x18000ad79 divss xmm6, xmm0 ; +0x5d, 0x18000ad7d call qword ptr [rax+0C8h] ; +0x61, 0x18000ad81 mov rdx, rax ; +0x67, 0x18000ad87 lea rcx, [rsp+68h+arg_0] ; +0x6a, 0x18000ad8a call cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x6f, 0x18000ad8f mov rcx, [rbx+200h] ; +0x75, 0x18000ad95 mov rax, [rcx] ; +0x7c, 0x18000ad9c call qword ptr [rax+130h] ; +0x7f, 0x18000ad9f mov rcx, [rbx+1F0h] ; +0x85, 0x18000ada5 lea rdx, [rsp+68h+arg_0] ; +0x8c, 0x18000adac mulss xmm6, dword ptr [rax] ; +0x91, 0x18000adb1 movss [rsp+68h+arg_0], xmm6 ; +0x95, 0x18000adb5 mov rax, [rcx] ; +0x9b, 0x18000adbb call qword ptr [rax+0B8h] ; +0x9e, 0x18000adbe mov rdx, [rbx+1F8h] ; +0xa4, 0x18000adc4 lea rcx, [rsp+68h+var_38] ; +0xab, 0x18000adcb add rdx, 1A8h ; +0xb0, 0x18000add0 call cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0xb7, 0x18000add7 movss xmm0, [rsp+68h+var_2C] ; +0xbd, 0x18000addd lea rcx, [rsp+68h+var_28] ; +0xc3, 0x18000ade3 movss xmm3, [rsp+68h+arg_0] ; +0xc8, 0x18000ade8 movss xmm2, [rsp+68h+var_34] ; +0xce, 0x18000adee movss xmm1, [rsp+68h+var_38] ; +0xd4, 0x18000adf4 movss [rsp+68h+var_48], xmm0 ; +0xda, 0x18000adfa call cs:??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0xe0, 0x18000ae00 mov rdx, rax ; +0xe6, 0x18000ae06 lea rcx, [rsp+68h+var_38] ; +0xe9, 0x18000ae09 call cs:??4CCRect@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCRect::operator=(cocos2d::CCRect const &) ; +0xee, 0x18000ae0e mov rcx, [rbx+1F8h] ; +0xf4, 0x18000ae14 lea r9, [rsp+68h+var_30] ; +0xfb, 0x18000ae1b lea rdx, [rsp+68h+var_38] ; +0x100, 0x18000ae20 mov rax, [rcx] ; +0x105, 0x18000ae25 movzx r8d, byte ptr [rcx+1B8h] ; +0x108, 0x18000ae28 call qword ptr [rax+3C8h] ; +0x110, 0x18000ae30 movaps xmm6, [rsp+68h+var_18] ; +0x116, 0x18000ae36 add rsp, 60h ; +0x11b, 0x18000ae3b pop rbx ; +0x11f, 0x18000ae3f retn ; +0x120, 0x18000ae40