{"type": "func", "start": 10725724, "end": 10725872, "name": "ConfigureHSVWidget::updateColorPreview", "pseudocode": "// \n// ConfigureHSVWidget::updateColorPreview from 0xa3a95c to 0xa3a9f0 (148 bytes)\n// \n// 3 xrefs:\n// > ConfigureHSVWidget::sliderChanged @ 0xa3b144\n// > ConfigureHSVWidget::onResetHSV @ 0xa3b32c\n// > <???> @ 0xe50d8\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:59:53 +0000\n// \n\n__int64 __fastcall ConfigureHSVWidget::updateColorPreview(ConfigureHSVWidget *this)\n{\n  unsigned __int64 v2; // x0\n  __int64 v3; // x2\n  __int16 v5; // [xsp+20h] [xbp+20h] BYREF\n  char v6; // [xsp+22h] [xbp+22h]\n\n  if ( *((_BYTE *)this + 448) && *((_QWORD *)this + 55) )\n  {\n    v2 = GameToolbox::transformColor((unsigned __int8 *)this + 424, *((_QWORD *)this + 47), *((_QWORD *)this + 48));\n    v3 = *((_QWORD *)this + 55);\n    v5 = v2;\n    v6 = BYTE2(v2);\n    (*(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v3 + 960LL))(v3, &v5);\n  }\n  return _stack_chk_guard;\n}", "assembly": "; \n; ConfigureHSVWidget::updateColorPreview from 0xa3a95c to 0xa3a9f0 (148 bytes)\n; \n; 3 xrefs:\n; > ConfigureHSVWidget::sliderChanged @ 0xa3b144\n; > ConfigureHSVWidget::onResetHSV @ 0xa3b32c\n; > <???> @ 0xe50d8\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:59:53 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0xa3a95c\nMOV             X29, SP                                                ; +0x4, 0xa3a960\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0xa3a964\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0xa3a968\nMOV             X20, X0                                                ; +0x10, 0xa3a96c\nLDRB            W0, [X0,#0x1C0]                                        ; +0x14, 0xa3a970\nLDR             X1, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x18, 0xa3a974\nLDR             X1, [X1]                                               ; +0x1c, 0xa3a978\nSTR             X1, [X29,#0x30+var_8]                                  ; +0x20, 0xa3a97c\nCBZ             W0, loc_A3A9CC                                         ; +0x24, 0xa3a980\nLDR             X0, [X20,#0x1B8]                                       ; +0x28, 0xa3a984\nCBZ             X0, loc_A3A9CC                                         ; +0x2c, 0xa3a988\nADD             X1, X20, #0x178                                        ; +0x30, 0xa3a98c\nADD             X0, X20, #0x1A8                                        ; +0x34, 0xa3a990\nLDP             X1, X2, [X1]                                           ; +0x38, 0xa3a994\nBL              _ZN11GameToolbox14transformColorERKN7cocos2d10_ccColor3BENS0_11_ccHSVValueE; GameToolbox::transformColor(cocos2d::_ccColor3B const&,cocos2d::_ccHSVValue) ; +0x3c, 0xa3a998\nSXTW            X0, W0                                                 ; +0x40, 0xa3a99c\nLDR             X2, [X20,#0x1B8]                                       ; +0x44, 0xa3a9a0\nUBFX            X1, X0, #0x10, #8                                      ; +0x48, 0xa3a9a4\nSTRB            W0, [X29,#0x30+var_10]                                 ; +0x4c, 0xa3a9a8\nUBFX            X3, X0, #8, #8                                         ; +0x50, 0xa3a9ac\nSTRB            W1, [X29,#0x30+var_E]                                  ; +0x54, 0xa3a9b0\nMOV             X0, X2                                                 ; +0x58, 0xa3a9b4\nSTRB            W3, [X29,#0x30+var_10+1]                               ; +0x5c, 0xa3a9b8\nADD             X1, X29, #0x30+var_10                                  ; +0x60, 0xa3a9bc\nLDR             X2, [X2]                                               ; +0x64, 0xa3a9c0\nLDR             X2, [X2,#0x3C0]                                        ; +0x68, 0xa3a9c4\nBLR             X2                                                     ; +0x6c, 0xa3a9c8\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x70, 0xa3a9cc\nLDR             X1, [X29,#0x30+var_8]                                  ; +0x74, 0xa3a9d0\nLDR             X0, [X19]                                              ; +0x78, 0xa3a9d4\nCMP             X1, X0                                                 ; +0x7c, 0xa3a9d8\nB.NE            loc_A3A9EC                                             ; +0x80, 0xa3a9dc\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x84, 0xa3a9e0\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x88, 0xa3a9e4\nRET                                                                    ; +0x8c, 0xa3a9e8\nBL              .__stack_chk_fail                                      ; +0x90, 0xa3a9ec", "xrefs": ["ConfigureHSVWidget::sliderChanged @ 0xa3b144", "ConfigureHSVWidget::onResetHSV @ 0xa3b32c", "<???> @ 0xe50d8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}