{"type": "func", "start": 4737408, "end": 4737516, "name": "EditorUI::sliderChanged", "pseudocode": "// \n// EditorUI::sliderChanged from 0x484980 to 0x4849ec (108 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:49:24 +0000\n// \n\nint __fastcall EditorUI::sliderChanged(EditorUI *this, cocos2d::CCObject *a2)\n{\n  int Value; // r0\n  int v4; // r7\n  void (__fastcall *v5)(int, _BYTE *); // r8\n  float v6; // r9\n  int v7; // r0\n  _BYTE v9[8]; // [sp+4h] [bp-10h] BYREF\n\n  Value = SliderThumb::getValue(a2);\n  v4 = *(_DWORD *)(*((_DWORD *)this + 236) + 2436);\n  v5 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v4 + 92);\n  v6 = EditorUI::xPosFromValue((LevelEditorLayer **)this, *(float *)&Value);\n  v7 = (*(int (__fastcall **)(_DWORD))(**(_DWORD **)(*((_DWORD *)this + 236) + 2436) + 96))(*(_DWORD *)(*((_DWORD *)this + 236) + 2436));\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, COERCE_FLOAT(LODWORD(v6) ^ 0x80000000), *(float *)(v7 + 4));\n  v5(v4, v9);\n  return EditorUI::constrainGameLayerPosition(this);\n}", "assembly": "; \n; EditorUI::sliderChanged from 0x484980 to 0x4849ec (108 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:49:24 +0000\n; \nPUSH.W          {R4-R9,LR}                                             ; +0x0, 0x484980\nSUB             SP, SP, #0x14                                          ; +0x4, 0x484984\nLDR             R4, =(__stack_chk_guard_ptr - 0x484992)                ; +0x6, 0x484986\nMOV             R5, R0                                                 ; +0x8, 0x484988\nMOV             R0, R1; this                                           ; +0xa, 0x48498a\nADD             R6, SP, #0x14+var_10                                   ; +0xc, 0x48498c\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xe, 0x48498e\nLDR             R4, [R4]; __stack_chk_guard                            ; +0x10, 0x484990\nLDR             R3, [R4]                                               ; +0x12, 0x484992\nSTR             R3, [SP,#0x14+var_8]                                   ; +0x14, 0x484994\nBL              _ZN11SliderThumb8getValueEv; SliderThumb::getValue(void) ; +0x16, 0x484996\nLDR.W           R3, [R5,#0x3B0]                                        ; +0x1a, 0x48499a\nLDR.W           R7, [R3,#0x984]                                        ; +0x1e, 0x48499e\nLDR             R3, [R7]                                               ; +0x22, 0x4849a2\nLDR.W           R8, [R3,#0x5C]                                         ; +0x24, 0x4849a4\nMOV             R1, R0; float                                          ; +0x28, 0x4849a8\nMOV             R0, R5; this                                           ; +0x2a, 0x4849aa\nBL              _ZN8EditorUI13xPosFromValueEf; EditorUI::xPosFromValue(float) ; +0x2c, 0x4849ac\nLDR.W           R3, [R5,#0x3B0]                                        ; +0x30, 0x4849b0\nMOV             R9, R0                                                 ; +0x34, 0x4849b4\nLDR.W           R0, [R3,#0x984]                                        ; +0x36, 0x4849b6\nLDR             R3, [R0]                                               ; +0x3a, 0x4849ba\nLDR             R3, [R3,#0x60]                                         ; +0x3c, 0x4849bc\nBLX             R3                                                     ; +0x3e, 0x4849be\nEOR.W           R1, R9, #0x80000000; float                             ; +0x40, 0x4849c0\nMOV             R3, R0                                                 ; +0x44, 0x4849c4\nMOV             R0, R6; this                                           ; +0x46, 0x4849c6\nLDR             R2, [R3,#4]; float                                     ; +0x48, 0x4849c8\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x4a, 0x4849ca\nMOV             R0, R7                                                 ; +0x4e, 0x4849ce\nMOV             R1, R6                                                 ; +0x50, 0x4849d0\nBLX             R8                                                     ; +0x52, 0x4849d2\nMOV             R0, R5; this                                           ; +0x54, 0x4849d4\nBL              _ZN8EditorUI26constrainGameLayerPositionEv; EditorUI::constrainGameLayerPosition(void) ; +0x56, 0x4849d6\nLDR             R2, [SP,#0x14+var_8]                                   ; +0x5a, 0x4849da\nLDR             R3, [R4]                                               ; +0x5c, 0x4849dc\nCMP             R2, R3                                                 ; +0x5e, 0x4849de\nBEQ             loc_4849E6                                             ; +0x60, 0x4849e0\nBLX             __stack_chk_fail                                       ; +0x62, 0x4849e2\nADD             SP, SP, #0x14                                          ; +0x66, 0x4849e6\nPOP.W           {R4-R9,PC}                                             ; +0x68, 0x4849e8", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}