{"type": "func", "start": 4297031120, "end": 4297031223, "name": "CustomizeObjectLayer::sliderChanged", "pseudocode": "// \n// CustomizeObjectLayer::sliderChanged from 0x1001f7dd0 to 0x1001f7e37 (103 bytes)\n// \n// 1 xrefs:\n// > CustomizeObjectLayer::init @ 0x1001f682e\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall CustomizeObjectLayer::sliderChanged(CustomizeObjectLayer *a1, cocos2d::CCObject *a2)\n{\n  __m128 v2; // xmm0\n  __m128 v3; // xmm1\n\n  v2.f32[0] = (float)(SliderThumb::getValue((SliderThumb *)a2) * 30.0) + -10.0;\n  v3 = _mm_or_ps(_mm_and_ps((__m128)xmmword_1008150B0, v2), (__m128)xmmword_1008150C0);\n  v3.f32[0] = v3.f32[0] + v2.f32[0];\n  a1->m_kerningAmount = (int)_mm_round_ss((__m128)0LL, v3, 11).f32[0];\n  ((void (__fastcall *)(GameObject *))a1->m_targetObject->updateTextKerning)(a1->m_targetObject);\n  CustomizeObjectLayer::updateKerningLabel(a1);\n}", "assembly": "; \n; CustomizeObjectLayer::sliderChanged from 0x1001f7dd0 to 0x1001f7e37 (103 bytes)\n; \n; 1 xrefs:\n; > CustomizeObjectLayer::init @ 0x1001f682e\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x1001f7dd0\nmov     rbp, rsp                                                       ; +0x1, 0x1001f7dd1\npush    rbx                                                            ; +0x4, 0x1001f7dd4\npush    rax                                                            ; +0x5, 0x1001f7dd5\nmov     rbx, rdi                                                       ; +0x6, 0x1001f7dd6\nmov     rdi, rsi                                                       ; +0x9, 0x1001f7dd9\ncall    SliderThumb__getValue                                          ; +0xc, 0x1001f7ddc\nmulss   xmm0, cs:dword_100814FD0                                       ; +0x11, 0x1001f7de1\naddss   xmm0, cs:dword_100815064                                       ; +0x19, 0x1001f7de9\nmovaps  xmm1, cs:xmmword_1008150B0                                     ; +0x21, 0x1001f7df1\nandps   xmm1, xmm0                                                     ; +0x28, 0x1001f7df8\norps    xmm1, cs:xmmword_1008150C0                                     ; +0x2b, 0x1001f7dfb\naddss   xmm1, xmm0                                                     ; +0x32, 0x1001f7e02\nxorps   xmm0, xmm0                                                     ; +0x36, 0x1001f7e06\nroundss xmm0, xmm1, 0Bh                                                ; +0x39, 0x1001f7e09\ncvttss2si esi, xmm0                                                    ; +0x3f, 0x1001f7e0f\nmov     [rbx+328h], esi                                                ; +0x43, 0x1001f7e13\nmov     rdi, [rbx+298h]                                                ; +0x49, 0x1001f7e19\nmov     rax, [rdi]                                                     ; +0x50, 0x1001f7e20\ncall    qword ptr [rax+6C8h]                                           ; +0x53, 0x1001f7e23\nmov     rdi, rbx                                                       ; +0x59, 0x1001f7e29\nadd     rsp, 8                                                         ; +0x5c, 0x1001f7e2c\npop     rbx                                                            ; +0x60, 0x1001f7e30\npop     rbp                                                            ; +0x61, 0x1001f7e31\njmp     CustomizeObjectLayer__updateKerningLabel                       ; +0x62, 0x1001f7e32", "xrefs": ["CustomizeObjectLayer::init @ 0x1001f682e"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}