{"type": "func", "start": 8656928, "end": 8657044, "name": "CustomizeObjectLayer::colorSetupClosed", "pseudocode": "// \n// CustomizeObjectLayer::colorSetupClosed from 0x841820 to 0x841894 (116 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'CustomizeObjectLayer::colorSetupClosed @ 0x841898\n// > <???> @ 0x33450\n// > <???> @ 0x118c948\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid CustomizeObjectLayer::colorSetupClosed(CustomizeObjectLayer *a1, int a2)\n{\n  int v4; // w1\n  ButtonSprite *ButtonByTag; // x0\n\n  CustomizeObjectLayer::updateSelected(a1, a2);\n  v4 = a2;\n  if ( (unsigned int)(a2 - 10) <= 0x3DD )\n  {\n    a1->m_customColorChannel = a2;\n    a1->m_disableTextDelegate = 1;\n    CustomizeObjectLayer::updateCustomColorLabels(a1);\n    a1->m_disableTextDelegate = 0;\n    v4 = 1008;\n  }\n  ButtonByTag = CustomizeObjectLayer::getButtonByTag(a1, v4);\n  CustomizeObjectLayer::highlightSelected(a1, ButtonByTag);\n  CustomizeObjectLayer::updateColorSprite(a1);\n  CustomizeObjectLayer::updateChannelLabel(a1, a2);\n}", "assembly": "; \n; CustomizeObjectLayer::colorSetupClosed from 0x841820 to 0x841894 (116 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'CustomizeObjectLayer::colorSetupClosed @ 0x841898\n; > <???> @ 0x33450\n; > <???> @ 0x118c948\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x841820\nMOV             X29, SP                                                ; +0x4, 0x841824\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x841828\nMOV             W20, W1                                                ; +0xc, 0x84182c\nMOV             X19, X0                                                ; +0x10, 0x841830\nBL              _ZN20CustomizeObjectLayer14updateSelectedEi; CustomizeObjectLayer::updateSelected(int) ; +0x14, 0x841834\nSUB             W0, W20, #0xA                                          ; +0x18, 0x841838\nMOV             W1, W20                                                ; +0x1c, 0x84183c\nCMP             W0, #0x3DD                                             ; +0x20, 0x841840\nB.HI            loc_841864                                             ; +0x24, 0x841844\nMOV             W1, #1                                                 ; +0x28, 0x841848\nSTR             W20, [X19,#0x2D4]                                      ; +0x2c, 0x84184c\nSTRB            W1, [X19,#0x382]                                       ; +0x30, 0x841850\nMOV             X0, X19; this                                          ; +0x34, 0x841854\nBL              _ZN20CustomizeObjectLayer23updateCustomColorLabelsEv; CustomizeObjectLayer::updateCustomColorLabels(void) ; +0x38, 0x841858\nSTRB            WZR, [X19,#0x382]                                      ; +0x3c, 0x84185c\nMOV             W1, #0x3F0; int                                        ; +0x40, 0x841860\nMOV             X0, X19; this                                          ; +0x44, 0x841864\nBL              _ZN20CustomizeObjectLayer14getButtonByTagEi; CustomizeObjectLayer::getButtonByTag(int) ; +0x48, 0x841868\nMOV             X1, X0; ButtonSprite *                                 ; +0x4c, 0x84186c\nMOV             X0, X19; this                                          ; +0x50, 0x841870\nBL              _ZN20CustomizeObjectLayer17highlightSelectedEP12ButtonSprite; CustomizeObjectLayer::highlightSelected(ButtonSprite *) ; +0x54, 0x841874\nMOV             X0, X19; this                                          ; +0x58, 0x841878\nBL              _ZN20CustomizeObjectLayer17updateColorSpriteEv; CustomizeObjectLayer::updateColorSprite(void) ; +0x5c, 0x84187c\nMOV             X0, X19; this                                          ; +0x60, 0x841880\nMOV             W1, W20; GJSpecialColorSelect *                        ; +0x64, 0x841884\nLDP             X19, X20, [SP,#var_s10]                                ; +0x68, 0x841888\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x6c, 0x84188c\nB               _ZN20CustomizeObjectLayer18updateChannelLabelEi; CustomizeObjectLayer::updateChannelLabel(int) ; +0x70, 0x841890", "xrefs": ["`non-virtual thunk to'CustomizeObjectLayer::colorSetupClosed @ 0x841898", "<???> @ 0x33450", "<???> @ 0x118c948"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}