{"type": "func", "start": 5369402704, "end": 5369402790, "name": "CustomizeObjectLayer::updateCurrentSelection", "pseudocode": "// \n// CustomizeObjectLayer::updateCurrentSelection from 0x1400a9550 to 0x1400a95a6 (86 bytes)\n// \n// 2 xrefs:\n// > CustomizeObjectLayer::onPaste @ 0x1400a8141\n// > <???> @ 0x1406c783c\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; // eax\n  ButtonSprite *ButtonByTag; // rax\n\n  ActiveMode = CustomizeObjectLayer::getActiveMode(a1, 0);\n  if ( (unsigned int)(ActiveMode - 10) <= 0x3DD )\n  {\n    a1->m_disableTextDelegate = 1;\n    a1->m_customColorChannel = ActiveMode;\n    CustomizeObjectLayer::updateCustomColorLabels(a1);\n    ActiveMode = 1008;\n    a1->m_disableTextDelegate = 0;\n  }\n  ButtonByTag = CustomizeObjectLayer::getButtonByTag(a1, ActiveMode);\n  CustomizeObjectLayer::highlightSelected(a1, ButtonByTag);\n}", "assembly": "; \n; CustomizeObjectLayer::updateCurrentSelection from 0x1400a9550 to 0x1400a95a6 (86 bytes)\n; \n; 2 xrefs:\n; > CustomizeObjectLayer::onPaste @ 0x1400a8141\n; > <???> @ 0x1406c783c\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    rbx                                                            ; +0x0, 0x1400a9550\nsub     rsp, 20h                                                       ; +0x2, 0x1400a9552\nxor     edx, edx                                                       ; +0x6, 0x1400a9556\nmov     rbx, rcx                                                       ; +0x8, 0x1400a9558\ncall    CustomizeObjectLayer__getActiveMode                            ; +0xb, 0x1400a955b\nlea     edx, [rax-0Ah]                                                 ; +0x10, 0x1400a9560\ncmp     edx, 3DDh                                                      ; +0x13, 0x1400a9563\nja      short loc_1400A958C                                            ; +0x19, 0x1400a9569\nmov     rcx, rbx                                                       ; +0x1b, 0x1400a956b\nmov     byte ptr [rbx+382h], 1                                         ; +0x1e, 0x1400a956e\nmov     [rbx+2D4h], eax                                                ; +0x25, 0x1400a9575\ncall    CustomizeObjectLayer__updateCustomColorLabels                  ; +0x2b, 0x1400a957b\nmov     eax, 3F0h                                                      ; +0x30, 0x1400a9580\nmov     byte ptr [rbx+382h], 0                                         ; +0x35, 0x1400a9585\nmov     edx, eax                                                       ; +0x3c, 0x1400a958c\nmov     rcx, rbx                                                       ; +0x3e, 0x1400a958e\ncall    CustomizeObjectLayer__getButtonByTag                           ; +0x41, 0x1400a9591\nmov     rdx, rax                                                       ; +0x46, 0x1400a9596\nmov     rcx, rbx                                                       ; +0x49, 0x1400a9599\nadd     rsp, 20h                                                       ; +0x4c, 0x1400a959c\npop     rbx                                                            ; +0x50, 0x1400a95a0\njmp     CustomizeObjectLayer__highlightSelected                        ; +0x51, 0x1400a95a1", "xrefs": ["CustomizeObjectLayer::onPaste @ 0x1400a8141", "<???> @ 0x1406c783c"], "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"}