{"type": "func", "start": 8657200, "end": 8657296, "name": "CustomizeObjectLayer::updateCurrentSelection", "pseudocode": "// \n// CustomizeObjectLayer::updateCurrentSelection from 0x841930 to 0x841990 (96 bytes)\n// \n// 3 xrefs:\n// > CustomizeObjectLayer::onPaste @ 0x8419b8\n// > CustomizeObjectLayer::toggleVisible @ 0x841b00\n// > <???> @ 0x72f30\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::updateCurrentSelection(CustomizeObjectLayer *a1)\n{\n  int ActiveMode; // w1\n  ButtonSprite *ButtonByTag; // x0\n\n  ActiveMode = CustomizeObjectLayer::getActiveMode(a1, 0);\n  if ( (unsigned int)(ActiveMode - 10) <= 0x3DD )\n  {\n    a1->m_customColorChannel = ActiveMode;\n    a1->m_disableTextDelegate = 1;\n    CustomizeObjectLayer::updateCustomColorLabels(a1);\n    a1->m_disableTextDelegate = 0;\n    ActiveMode = 1008;\n  }\n  ButtonByTag = CustomizeObjectLayer::getButtonByTag(a1, ActiveMode);\n  CustomizeObjectLayer::highlightSelected(a1, ButtonByTag);\n}", "assembly": "; \n; CustomizeObjectLayer::updateCurrentSelection from 0x841930 to 0x841990 (96 bytes)\n; \n; 3 xrefs:\n; > CustomizeObjectLayer::onPaste @ 0x8419b8\n; > CustomizeObjectLayer::toggleVisible @ 0x841b00\n; > <???> @ 0x72f30\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,#var_20]!                                ; +0x0, 0x841930\nMOV             W1, #0; bool                                           ; +0x4, 0x841934\nMOV             X29, SP                                                ; +0x8, 0x841938\nSTR             X19, [SP,#0x20+var_10]                                 ; +0xc, 0x84193c\nMOV             X19, X0                                                ; +0x10, 0x841940\nBL              _ZN20CustomizeObjectLayer13getActiveModeEb; CustomizeObjectLayer::getActiveMode(bool) ; +0x14, 0x841944\nMOV             W1, W0                                                 ; +0x18, 0x841948\nSUB             W0, W0, #0xA                                           ; +0x1c, 0x84194c\nCMP             W0, #0x3DD                                             ; +0x20, 0x841950\nB.HI            loc_841974                                             ; +0x24, 0x841954\nSTR             W1, [X19,#0x2D4]                                       ; +0x28, 0x841958\nMOV             X0, X19; this                                          ; +0x2c, 0x84195c\nMOV             W1, #1                                                 ; +0x30, 0x841960\nSTRB            W1, [X19,#0x382]                                       ; +0x34, 0x841964\nBL              _ZN20CustomizeObjectLayer23updateCustomColorLabelsEv; CustomizeObjectLayer::updateCustomColorLabels(void) ; +0x38, 0x841968\nSTRB            WZR, [X19,#0x382]                                      ; +0x3c, 0x84196c\nMOV             W1, #0x3F0; int                                        ; +0x40, 0x841970\nMOV             X0, X19; this                                          ; +0x44, 0x841974\nBL              _ZN20CustomizeObjectLayer14getButtonByTagEi; CustomizeObjectLayer::getButtonByTag(int) ; +0x48, 0x841978\nMOV             X1, X0; ButtonSprite *                                 ; +0x4c, 0x84197c\nMOV             X0, X19; this                                          ; +0x50, 0x841980\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x54, 0x841984\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x58, 0x841988\nB               _ZN20CustomizeObjectLayer17highlightSelectedEP12ButtonSprite; CustomizeObjectLayer::highlightSelected(ButtonSprite *) ; +0x5c, 0x84198c", "xrefs": ["CustomizeObjectLayer::onPaste @ 0x8419b8", "CustomizeObjectLayer::toggleVisible @ 0x841b00", "<???> @ 0x72f30"], "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"}