{"type": "func", "start": 4595918, "end": 4595986, "name": "CustomizeObjectLayer::updateCurrentSelection", "pseudocode": "// \n// CustomizeObjectLayer::updateCurrentSelection from 0x4620ce to 0x462112 (68 bytes)\n// \n// 2 xrefs:\n// > CustomizeObjectLayer::onPaste @ 0x46212c\n// > CustomizeObjectLayer::toggleVisible @ 0x462210\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; // r0\n  int v3; // r1\n  ButtonSprite *ButtonByTag; // r1\n\n  ActiveMode = CustomizeObjectLayer::getActiveMode(a1, 0);\n  v3 = ActiveMode;\n  if ( (unsigned int)(ActiveMode - 10) <= 0x3DD )\n  {\n    a1->m_customColorChannel = ActiveMode;\n    a1->m_disableTextDelegate = 1;\n    CustomizeObjectLayer::updateCustomColorLabels(a1);\n    v3 = 1008;\n    a1->m_disableTextDelegate = 0;\n  }\n  ButtonByTag = CustomizeObjectLayer::getButtonByTag(a1, v3);\n  CustomizeObjectLayer::highlightSelected(a1, ButtonByTag);\n}", "assembly": "; \n; CustomizeObjectLayer::updateCurrentSelection from 0x4620ce to 0x462112 (68 bytes)\n; \n; 2 xrefs:\n; > CustomizeObjectLayer::onPaste @ 0x46212c\n; > CustomizeObjectLayer::toggleVisible @ 0x462210\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\nPUSH            {R4,LR}                                                ; +0x0, 0x4620ce\nMOVS            R1, #0; bool                                           ; +0x2, 0x4620d0\nMOV             R4, R0                                                 ; +0x4, 0x4620d2\nBL              _ZN20CustomizeObjectLayer13getActiveModeEb; CustomizeObjectLayer::getActiveMode(bool) ; +0x6, 0x4620d4\nMOVW            R3, #0x3DD                                             ; +0xa, 0x4620d8\nSUB.W           R2, R0, #0xA                                           ; +0xe, 0x4620dc\nMOV             R1, R0                                                 ; +0x12, 0x4620e0\nCMP             R2, R3                                                 ; +0x14, 0x4620e2\nBHI             loc_462100                                             ; +0x16, 0x4620e4\nMOVS            R3, #1                                                 ; +0x18, 0x4620e6\nSTR.W           R0, [R4,#0x220]                                        ; +0x1a, 0x4620e8\nSTRB.W          R3, [R4,#0x27A]                                        ; +0x1e, 0x4620ec\nMOV             R0, R4; this                                           ; +0x22, 0x4620f0\nBL              _ZN20CustomizeObjectLayer23updateCustomColorLabelsEv; CustomizeObjectLayer::updateCustomColorLabels(void) ; +0x24, 0x4620f2\nMOV.W           R1, #0x3F0; int                                        ; +0x28, 0x4620f6\nMOVS            R3, #0                                                 ; +0x2c, 0x4620fa\nSTRB.W          R3, [R4,#0x27A]                                        ; +0x2e, 0x4620fc\nMOV             R0, R4; this                                           ; +0x32, 0x462100\nBL              _ZN20CustomizeObjectLayer14getButtonByTagEi; CustomizeObjectLayer::getButtonByTag(int) ; +0x34, 0x462102\nMOV             R1, R0; ButtonSprite *                                 ; +0x38, 0x462106\nMOV             R0, R4; this                                           ; +0x3a, 0x462108\nPOP.W           {R4,LR}                                                ; +0x3c, 0x46210a\nB.W             _ZN20CustomizeObjectLayer17highlightSelectedEP12ButtonSprite; CustomizeObjectLayer::highlightSelected(ButtonSprite *) ; +0x40, 0x46210e", "xrefs": ["CustomizeObjectLayer::onPaste @ 0x46212c", "CustomizeObjectLayer::toggleVisible @ 0x462210"], "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"}