{"type": "func", "start": 4298927760, "end": 4298927908, "name": "EditorUI::sliderChanged", "pseudocode": "// \n// EditorUI::sliderChanged from 0x1003c6e90 to 0x1003c6f24 (148 bytes)\n// \n// 1 xrefs:\n// > EditorUI::init @ 0x1003c4f64\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 EditorUI::sliderChanged(EditorUI *a1, cocos2d::CCObject *a2)\n{\n  float Value; // s0\n  cocos2d::CCLayer *m_objectLayer; // x20\n  float v5; // s8\n  __n128 v6; // q1\n  __n128 v7; // q0\n  int v8; // [xsp+8h] [xbp-28h] BYREF\n\n  Value = SliderThumb::getValue((SliderThumb *)a2);\n  m_objectLayer = a1->m_editorLayer->m_objectLayer;\n  v5 = -EditorUI::xPosFromValue(a1, Value);\n  v6.n128_u32[0] = *(_DWORD *)(((__int64 (__fastcall *)(cocos2d::CCLayer *))a1->m_editorLayer->m_objectLayer->getPosition)(a1->m_editorLayer->m_objectLayer)\n                             + 4);\n  v7.n128_f32[0] = v5;\n  sub_100022980(v7, v6, &v8);\n  ((void (__fastcall *)(cocos2d::CCLayer *, int *))m_objectLayer->setPosition)(m_objectLayer, &v8);\n  EditorUI::constrainGameLayerPosition(a1, -100.0, -100.0);\n}", "assembly": "; \n; EditorUI::sliderChanged from 0x1003c6e90 to 0x1003c6f24 (148 bytes)\n; \n; 1 xrefs:\n; > EditorUI::init @ 0x1003c4f64\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\nSUB             SP, SP, #0x40                                          ; +0x0, 0x1003c6e90\nSTP             D9, D8, [SP,#0x30+var_20]                              ; +0x4, 0x1003c6e94\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x1003c6e98\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x1003c6e9c\nADD             X29, SP, #0x30                                         ; +0x10, 0x1003c6ea0\nMOV             X19, X0                                                ; +0x14, 0x1003c6ea4\nMOV             X0, X1                                                 ; +0x18, 0x1003c6ea8\nBL              SliderThumb__getValue                                  ; +0x1c, 0x1003c6eac\nLDR             X8, [X19,#0x4E8]                                       ; +0x20, 0x1003c6eb0\nLDR             X20, [X8,#0xEE0]                                       ; +0x24, 0x1003c6eb4\nMOV             X0, X19                                                ; +0x28, 0x1003c6eb8\nBL              EditorUI__xPosFromValue                                ; +0x2c, 0x1003c6ebc\nFNEG            S8, S0                                                 ; +0x30, 0x1003c6ec0\nLDR             X8, [X19,#0x4E8]                                       ; +0x34, 0x1003c6ec4\nLDR             X0, [X8,#0xEE0]                                        ; +0x38, 0x1003c6ec8\nLDR             X8, [X0]                                               ; +0x3c, 0x1003c6ecc\nLDR             X8, [X8,#0xC0]                                         ; +0x40, 0x1003c6ed0\nBLR             X8                                                     ; +0x44, 0x1003c6ed4\nLDR             S1, [X0,#4]                                            ; +0x48, 0x1003c6ed8\nADD             X0, SP, #0x30+var_28                                   ; +0x4c, 0x1003c6edc\nFMOV            S0, S8                                                 ; +0x50, 0x1003c6ee0\nBL              sub_100022980                                          ; +0x54, 0x1003c6ee4\nLDR             X8, [X20]                                              ; +0x58, 0x1003c6ee8\nLDR             X8, [X8,#0xB8]                                         ; +0x5c, 0x1003c6eec\nADD             X1, SP, #0x30+var_28                                   ; +0x60, 0x1003c6ef0\nMOV             X0, X20                                                ; +0x64, 0x1003c6ef4\nBLR             X8                                                     ; +0x68, 0x1003c6ef8\nMOV             W8, #0xC2C80000                                        ; +0x6c, 0x1003c6efc\nFMOV            S0, W8                                                 ; +0x70, 0x1003c6f00\nMOV             X0, X19                                                ; +0x74, 0x1003c6f04\nFMOV            S1, S0                                                 ; +0x78, 0x1003c6f08\nBL              EditorUI__constrainGameLayerPosition                   ; +0x7c, 0x1003c6f0c\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x80, 0x1003c6f10\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x84, 0x1003c6f14\nLDP             D9, D8, [SP,#0x30+var_20]                              ; +0x88, 0x1003c6f18\nADD             SP, SP, #0x40 ; '@'                                    ; +0x8c, 0x1003c6f1c\nRET                                                                    ; +0x90, 0x1003c6f20", "xrefs": ["EditorUI::init @ 0x1003c4f64"], "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"}