{"type": "func", "start": 6182348, "end": 6182426, "name": "ConfigureHSVWidget::onToggleSConst", "pseudocode": "// \n// ConfigureHSVWidget::onToggleSConst from 0x5e55cc to 0x5e561a (78 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::onToggleSConst(ConfigureHSVWidget *this, cocos2d::CCObject *a2)\n{\n  float v3; // s15\n  int result; // r0\n\n  *((_BYTE *)this + 304) ^= 1u;\n  Slider::setValue(*((Slider **)this + 71), 0.5);\n  v3 = 0.0;\n  if ( !*((_BYTE *)this + 304) )\n    v3 = 1.0;\n  *((float *)this + 74) = v3;\n  ConfigureHSVWidget::updateLabels(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::onToggleSConst from 0x5e55cc to 0x5e561a (78 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,LR}                                                ; +0x0, 0x5e55cc\nMOV.W           R1, #0x3F000000; float                                 ; +0x2, 0x5e55ce\nLDRB.W          R3, [R0,#0x130]                                        ; +0x6, 0x5e55d2\nMOV             R4, R0                                                 ; +0xa, 0x5e55d6\nEOR.W           R3, R3, #1                                             ; +0xc, 0x5e55d8\nSTRB.W          R3, [R0,#0x130]                                        ; +0x10, 0x5e55dc\nLDR.W           R0, [R0,#0x11C]; this                                  ; +0x14, 0x5e55e0\nBL              _ZN6Slider8setValueEf; Slider::setValue(float)         ; +0x18, 0x5e55e4\nVMOV.F32        S14, #1.0                                              ; +0x1c, 0x5e55e8\nLDRB.W          R3, [R4,#0x130]                                        ; +0x20, 0x5e55ec\nMOV             R0, R4; this                                           ; +0x24, 0x5e55f0\nVLDR            S15, =0.0                                              ; +0x26, 0x5e55f2\nCMP             R3, #0                                                 ; +0x2a, 0x5e55f6\nIT EQ                                                                  ; +0x2c, 0x5e55f8\nVMOVEQ.F32      S15, S14                                               ; +0x2e, 0x5e55fa\nVSTR            S15, [R4,#0x128]                                       ; +0x32, 0x5e55fe\nBL              _ZN18ConfigureHSVWidget12updateLabelsEv; ConfigureHSVWidget::updateLabels(void) ; +0x36, 0x5e5602\nLDR.W           R0, [R4,#0x138]                                        ; +0x3a, 0x5e5606\nCBZ             R0, locret_5E5618                                      ; +0x3e, 0x5e560a\nLDR             R3, [R0]                                               ; +0x40, 0x5e560c\nMOV             R1, R4                                                 ; +0x42, 0x5e560e\nPOP.W           {R4,LR}                                                ; +0x44, 0x5e5610\nLDR             R3, [R3,#4]                                            ; +0x48, 0x5e5614\nBX              R3                                                     ; +0x4a, 0x5e5616\nPOP             {R4,PC}                                                ; +0x4c, 0x5e5618", "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"}