{"type": "func", "start": 6179648, "end": 6179842, "name": "ConfigureHSVWidget::updateSliders", "pseudocode": "// \n// ConfigureHSVWidget::updateSliders from 0x5e4b40 to 0x5e4c02 (194 bytes)\n// \n// 2 xrefs:\n// > ConfigureHSVWidget::textChanged @ 0x5e5036\n// > ConfigureHSVWidget::init @ 0x5e5cc2\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:54:19 +0000\n// \n\nint __fastcall ConfigureHSVWidget::updateSliders(ConfigureHSVWidget *this, int a2, int a3, float a4)\n{\n  Slider *v5; // r5\n  float v6; // r0\n  Slider *v7; // r5\n  float v8; // s15\n  float v9; // r2\n  float v10; // s15\n  float v11; // r0\n  Slider *v12; // r5\n  float v13; // s15\n  float v14; // r2\n  float v15; // s15\n  float v16; // r1\n\n  v5 = *((Slider **)this + 70);\n  v6 = COERCE_FLOAT(cocos2d::clampf(COERCE_COCOS2D_((float)(*((float *)this + 73) + 180.0) / 360.0), 0.0, 1.0, a4));\n  Slider::setValue(v5, v6);\n  v7 = *((Slider **)this + 71);\n  v8 = *((float *)this + 74);\n  if ( *((_BYTE *)this + 304) )\n  {\n    v9 = 1.0;\n    v10 = (float)(v8 + 1.0) * 0.5;\n  }\n  else\n  {\n    v10 = v8 * 0.5;\n    v9 = 1.0;\n  }\n  v11 = COERCE_FLOAT(cocos2d::clampf((cocos2d *)LODWORD(v10), 0.0, v9, COERCE_FLOAT(*((_BYTE *)this + 304))));\n  Slider::setValue(v7, v11);\n  v12 = *((Slider **)this + 72);\n  v13 = *((float *)this + 75);\n  if ( *((_BYTE *)this + 305) )\n  {\n    v14 = 1.0;\n    v15 = (float)(v13 + 1.0) * 0.5;\n  }\n  else\n  {\n    v15 = v13 * 0.5;\n    v14 = 1.0;\n  }\n  v16 = COERCE_FLOAT(cocos2d::clampf((cocos2d *)LODWORD(v15), 0.0, v14, COERCE_FLOAT(*((_BYTE *)this + 305))));\n  return Slider::setValue(v12, v16);\n}", "assembly": "; \n; ConfigureHSVWidget::updateSliders from 0x5e4b40 to 0x5e4c02 (194 bytes)\n; \n; 2 xrefs:\n; > ConfigureHSVWidget::textChanged @ 0x5e5036\n; > ConfigureHSVWidget::init @ 0x5e5cc2\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:54:19 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x5e4b40\nMOVS            R1, #0; float                                          ; +0x2, 0x5e4b42\nVPUSH           {D8}                                                   ; +0x4, 0x5e4b44\nMOV             R4, R0                                                 ; +0x8, 0x5e4b48\nMOV.W           R2, #0x3F800000; float                                 ; +0xa, 0x5e4b4a\nVLDR            S14, =180.0                                            ; +0xe, 0x5e4b4e\nLDR.W           R5, [R0,#0x118]                                        ; +0x12, 0x5e4b52\nVLDR            S15, [R0,#0x124]                                       ; +0x16, 0x5e4b56\nVMOV.F32        S16, #0.5                                              ; +0x1a, 0x5e4b5a\nVADD.F32        S15, S15, S14                                          ; +0x1e, 0x5e4b5e\nVLDR            S14, =360.0                                            ; +0x22, 0x5e4b62\nVDIV.F32        S15, S15, S14                                          ; +0x26, 0x5e4b66\nVMOV            R0, S15; this                                          ; +0x2a, 0x5e4b6a\nBL              _ZN7cocos2d6clampfEfff; cocos2d::clampf(float,float,float) ; +0x2e, 0x5e4b6e\nMOV             R1, R0; float                                          ; +0x32, 0x5e4b72\nMOV             R0, R5; this                                           ; +0x34, 0x5e4b74\nBL              _ZN6Slider8setValueEf; Slider::setValue(float)         ; +0x36, 0x5e4b76\nLDRB.W          R3, [R4,#0x130]; float                                 ; +0x3a, 0x5e4b7a\nLDR.W           R5, [R4,#0x11C]                                        ; +0x3e, 0x5e4b7e\nVLDR            S15, [R4,#0x128]                                       ; +0x42, 0x5e4b82\nCBZ             R3, loc_5E4BA0                                         ; +0x46, 0x5e4b86\nMOVS            R1, #0                                                 ; +0x48, 0x5e4b88\nVMOV.F32        S14, #1.0                                              ; +0x4a, 0x5e4b8a\nVADD.F32        S15, S15, S14                                          ; +0x4e, 0x5e4b8e\nVMOV            R2, S14                                                ; +0x52, 0x5e4b92\nVMUL.F32        S15, S15, S16                                          ; +0x56, 0x5e4b96\nVMOV            R0, S15                                                ; +0x5a, 0x5e4b9a\nB               loc_5E4BAE                                             ; +0x5e, 0x5e4b9e\nVMUL.F32        S15, S15, S16                                          ; +0x60, 0x5e4ba0\nMOVS            R1, #0; float                                          ; +0x64, 0x5e4ba4\nMOV.W           R2, #0x3F800000; float                                 ; +0x66, 0x5e4ba6\nVMOV            R0, S15; this                                          ; +0x6a, 0x5e4baa\nBL              _ZN7cocos2d6clampfEfff; cocos2d::clampf(float,float,float) ; +0x6e, 0x5e4bae\nMOV             R1, R0; float                                          ; +0x72, 0x5e4bb2\nMOV             R0, R5; this                                           ; +0x74, 0x5e4bb4\nBL              _ZN6Slider8setValueEf; Slider::setValue(float)         ; +0x76, 0x5e4bb6\nLDRB.W          R3, [R4,#0x131]; float                                 ; +0x7a, 0x5e4bba\nLDR.W           R5, [R4,#0x120]                                        ; +0x7e, 0x5e4bbe\nVLDR            S15, [R4,#0x12C]                                       ; +0x82, 0x5e4bc2\nCBZ             R3, loc_5E4BE0                                         ; +0x86, 0x5e4bc6\nMOVS            R1, #0                                                 ; +0x88, 0x5e4bc8\nVMOV.F32        S14, #1.0                                              ; +0x8a, 0x5e4bca\nVADD.F32        S15, S15, S14                                          ; +0x8e, 0x5e4bce\nVMOV            R2, S14                                                ; +0x92, 0x5e4bd2\nVMUL.F32        S15, S15, S16                                          ; +0x96, 0x5e4bd6\nVMOV            R0, S15                                                ; +0x9a, 0x5e4bda\nB               loc_5E4BEE                                             ; +0x9e, 0x5e4bde\nVMUL.F32        S15, S15, S16                                          ; +0xa0, 0x5e4be0\nMOVS            R1, #0; float                                          ; +0xa4, 0x5e4be4\nMOV.W           R2, #0x3F800000; float                                 ; +0xa6, 0x5e4be6\nVMOV            R0, S15; this                                          ; +0xaa, 0x5e4bea\nBL              _ZN7cocos2d6clampfEfff; cocos2d::clampf(float,float,float) ; +0xae, 0x5e4bee\nVPOP            {D8}                                                   ; +0xb2, 0x5e4bf2\nMOV             R1, R0; float                                          ; +0xb6, 0x5e4bf6\nMOV             R0, R5; this                                           ; +0xb8, 0x5e4bf8\nPOP.W           {R3-R5,LR}                                             ; +0xba, 0x5e4bfa\nB.W             _ZN6Slider8setValueEf; Slider::setValue(float)         ; +0xbe, 0x5e4bfe", "xrefs": ["ConfigureHSVWidget::textChanged @ 0x5e5036", "ConfigureHSVWidget::init @ 0x5e5cc2"], "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"}