{"type": "func", "start": 6182132, "end": 6182332, "name": "ConfigureHSVWidget::sliderChanged", "pseudocode": "// \n// ConfigureHSVWidget::sliderChanged from 0x5e54f4 to 0x5e55bc (200 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:54:19 +0000\n// \n\nint __fastcall ConfigureHSVWidget::sliderChanged(ConfigureHSVWidget *this, cocos2d::CCObject *a2)\n{\n  float v4; // s16\n  int v5; // r0\n  const char *v6; // r1\n  cocos2d::CCString *v7; // r0\n  float v8; // r0\n  float v9; // s15\n  cocos2d::CCString *v10; // r0\n  float v11; // r0\n  float v12; // s15\n  int result; // r0\n\n  v4 = COERCE_FLOAT(SliderThumb::getValue(a2));\n  v5 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2);\n  switch ( v5 )\n  {\n    case 2:\n      v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)\"%0.2f\", v6, v4);\n      v8 = COERCE_FLOAT(cocos2d::CCString::floatValue(v7));\n      v9 = v8 + v8;\n      if ( *((_BYTE *)this + 304) )\n        v9 = v9 - 1.0;\n      *((float *)this + 74) = v9;\n      break;\n    case 3:\n      v10 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)\"%0.2f\", v6, v4);\n      v11 = COERCE_FLOAT(cocos2d::CCString::floatValue(v10));\n      v12 = v11 + v11;\n      if ( *((_BYTE *)this + 305) )\n        v12 = v12 - 1.0;\n      *((float *)this + 75) = v12;\n      break;\n    case 1:\n      *((float *)this + 73) = (float)(int)(float)((float)(v4 * 360.0) - 180.0);\n      break;\n  }\n  ConfigureHSVWidget::updateLabels(this);\n  ConfigureHSVWidget::updateColorPreview((int)this);\n  result = *((_DWORD *)this + 78);\n  if ( result )\n    return (*(int (__fastcall **)(int, ConfigureHSVWidget *))(*(_DWORD *)result + 4))(result, this);\n  return result;\n}", "assembly": "; \n; ConfigureHSVWidget::sliderChanged from 0x5e54f4 to 0x5e55bc (200 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:54:19 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x5e54f4\nMOV             R4, R0                                                 ; +0x2, 0x5e54f6\nVPUSH           {D8}                                                   ; +0x4, 0x5e54f8\nMOV             R0, R1; this                                           ; +0x8, 0x5e54fc\nMOV             R5, R1                                                 ; +0xa, 0x5e54fe\nBL              _ZN11SliderThumb8getValueEv; SliderThumb::getValue(void) ; +0xc, 0x5e5500\nLDR             R3, [R5]                                               ; +0x10, 0x5e5504\nLDR             R3, [R3,#0x20]                                         ; +0x12, 0x5e5506\nVMOV            S16, R0                                                ; +0x14, 0x5e5508\nMOV             R0, R5                                                 ; +0x18, 0x5e550c\nBLX             R3                                                     ; +0x1a, 0x5e550e\nCMP             R0, #2                                                 ; +0x1c, 0x5e5510\nBEQ             loc_5E5536                                             ; +0x1e, 0x5e5512\nCMP             R0, #3                                                 ; +0x20, 0x5e5514\nBEQ             loc_5E5566                                             ; +0x22, 0x5e5516\nCMP             R0, #1                                                 ; +0x24, 0x5e5518\nBNE             loc_5E5594                                             ; +0x26, 0x5e551a\nVLDR            S15, =180.0                                            ; +0x28, 0x5e551c\nVLDR            S14, =360.0                                            ; +0x2c, 0x5e5520\nVNMLS.F32       S15, S16, S14                                          ; +0x30, 0x5e5524\nVCVT.S32.F32    S15, S15                                               ; +0x34, 0x5e5528\nVCVT.F32.S32    S15, S15                                               ; +0x38, 0x5e552c\nVSTR            S15, [R4,#0x124]                                       ; +0x3c, 0x5e5530\nB               loc_5E5594                                             ; +0x40, 0x5e5534\nVCVT.F64.F32    D7, S16                                                ; +0x42, 0x5e5536\nLDR             R0, =(a02f - 0x5E5540); \"%0.2f\"                        ; +0x46, 0x5e553a\nADD             R0, PC; \"%0.2f\"                                        ; +0x48, 0x5e553c\nVMOV            R2, R3, D7                                             ; +0x4a, 0x5e553e\nBL              _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x4e, 0x5e5542\nBL              _ZNK7cocos2d8CCString10floatValueEv; cocos2d::CCString::floatValue(void) ; +0x52, 0x5e5546\nLDRB.W          R3, [R4,#0x130]                                        ; +0x56, 0x5e554a\nVMOV            S15, R0                                                ; +0x5a, 0x5e554e\nVADD.F32        S15, S15, S15                                          ; +0x5e, 0x5e5552\nCBZ             R3, loc_5E5560                                         ; +0x62, 0x5e5556\nVMOV.F32        S14, #1.0                                              ; +0x64, 0x5e5558\nVSUB.F32        S15, S15, S14                                          ; +0x68, 0x5e555c\nVSTR            S15, [R4,#0x128]                                       ; +0x6c, 0x5e5560\nB               loc_5E5594                                             ; +0x70, 0x5e5564\nVCVT.F64.F32    D7, S16                                                ; +0x72, 0x5e5566\nLDR             R0, =(a02f - 0x5E5570); \"%0.2f\"                        ; +0x76, 0x5e556a\nADD             R0, PC; \"%0.2f\"                                        ; +0x78, 0x5e556c\nVMOV            R2, R3, D7                                             ; +0x7a, 0x5e556e\nBL              _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x7e, 0x5e5572\nBL              _ZNK7cocos2d8CCString10floatValueEv; cocos2d::CCString::floatValue(void) ; +0x82, 0x5e5576\nLDRB.W          R3, [R4,#0x131]                                        ; +0x86, 0x5e557a\nVMOV            S15, R0                                                ; +0x8a, 0x5e557e\nVADD.F32        S15, S15, S15                                          ; +0x8e, 0x5e5582\nCBZ             R3, loc_5E5590                                         ; +0x92, 0x5e5586\nVMOV.F32        S14, #1.0                                              ; +0x94, 0x5e5588\nVSUB.F32        S15, S15, S14                                          ; +0x98, 0x5e558c\nVSTR            S15, [R4,#0x12C]                                       ; +0x9c, 0x5e5590\nMOV             R0, R4; this                                           ; +0xa0, 0x5e5594\nBL              _ZN18ConfigureHSVWidget12updateLabelsEv; ConfigureHSVWidget::updateLabels(void) ; +0xa2, 0x5e5596\nMOV             R0, R4; this                                           ; +0xa6, 0x5e559a\nBL              _ZN18ConfigureHSVWidget18updateColorPreviewEv; ConfigureHSVWidget::updateColorPreview(void) ; +0xa8, 0x5e559c\nLDR.W           R0, [R4,#0x138]                                        ; +0xac, 0x5e55a0\nCBZ             R0, loc_5E55B6                                         ; +0xb0, 0x5e55a4\nVPOP            {D8}                                                   ; +0xb2, 0x5e55a6\nMOV             R1, R4                                                 ; +0xb6, 0x5e55aa\nLDR             R3, [R0]                                               ; +0xb8, 0x5e55ac\nPOP.W           {R4-R6,LR}                                             ; +0xba, 0x5e55ae\nLDR             R3, [R3,#4]                                            ; +0xbe, 0x5e55b2\nBX              R3                                                     ; +0xc0, 0x5e55b4\nVPOP            {D8}                                                   ; +0xc2, 0x5e55b6\nPOP             {R4-R6,PC}                                             ; +0xc6, 0x5e55ba", "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"}