{"type": "func", "start": 4295296132, "end": 4295296248, "name": "CustomizeObjectLayer::colorSetupClosed", "pseudocode": "// \n// CustomizeObjectLayer::colorSetupClosed from 0x100050484 to 0x1000504f8 (116 bytes)\n// \n// 2 xrefs:\n// > sub_1000507A0 @ 0x1000507a4\n// > <???> @ 0x1007714b0\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 __fastcall 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 0x100050484 to 0x1000504f8 (116 bytes)\n; \n; 2 xrefs:\n; > sub_1000507A0 @ 0x1000507a4\n; > <???> @ 0x1007714b0\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100050484\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100050488\nADD             X29, SP, #0x10                                         ; +0x8, 0x10005048c\nMOV             X19, X1                                                ; +0xc, 0x100050490\nMOV             X20, X0                                                ; +0x10, 0x100050494\nBL              CustomizeObjectLayer__updateSelected                   ; +0x14, 0x100050498\nSUB             W8, W19, #0xA                                          ; +0x18, 0x10005049c\nMOV             X1, X19                                                ; +0x1c, 0x1000504a0\nCMP             W8, #0x3DD                                             ; +0x20, 0x1000504a4\nB.HI            loc_1000504C8                                          ; +0x24, 0x1000504a8\nSTR             W19, [X20,#0x2D4]                                      ; +0x28, 0x1000504ac\nMOV             W8, #1                                                 ; +0x2c, 0x1000504b0\nSTRB            W8, [X20,#0x382]                                       ; +0x30, 0x1000504b4\nMOV             X0, X20                                                ; +0x34, 0x1000504b8\nBL              CustomizeObjectLayer__updateCustomColorLabels          ; +0x38, 0x1000504bc\nSTRB            WZR, [X20,#0x382]                                      ; +0x3c, 0x1000504c0\nMOV             W1, #0x3F0                                             ; +0x40, 0x1000504c4\nMOV             X0, X20                                                ; +0x44, 0x1000504c8\nBL              CustomizeObjectLayer__getButtonByTag                   ; +0x48, 0x1000504cc\nMOV             X1, X0                                                 ; +0x4c, 0x1000504d0\nMOV             X0, X20                                                ; +0x50, 0x1000504d4\nBL              CustomizeObjectLayer__highlightSelected                ; +0x54, 0x1000504d8\nMOV             X0, X20                                                ; +0x58, 0x1000504dc\nBL              CustomizeObjectLayer__updateColorSprite                ; +0x5c, 0x1000504e0\nMOV             X0, X20                                                ; +0x60, 0x1000504e4\nMOV             X1, X19                                                ; +0x64, 0x1000504e8\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x68, 0x1000504ec\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x6c, 0x1000504f0\nB               CustomizeObjectLayer__updateChannelLabel               ; +0x70, 0x1000504f4", "xrefs": ["sub_1000507A0 @ 0x1000507a4", "<???> @ 0x1007714b0"], "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"}