{"type": "func", "start": 5370033792, "end": 5370033878, "name": "CustomizeObjectLayer::updateCurrentSelection", "pseudocode": "// \n// CustomizeObjectLayer::updateCurrentSelection from 0x140143680 to 0x1401436d6 (86 bytes)\n// \n// 2 xrefs:\n// > CustomizeObjectLayer::onPaste @ 0x1401421ea\n// > <???> @ 0x1409173fc\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:27:10 +0000\n// \n\n__int64 __fastcall CustomizeObjectLayer::updateCurrentSelection(__int64 a1)\n{\n  unsigned int ActiveMode; // eax\n  __int64 ButtonByTag; // rax\n\n  ActiveMode = CustomizeObjectLayer::getActiveMode(a1, 0);\n  if ( ActiveMode - 10 <= 0x3DD )\n  {\n    *(_BYTE *)(a1 + 922) = 1;\n    *(_DWORD *)(a1 + 748) = ActiveMode;\n    CustomizeObjectLayer::updateCustomColorLabels(a1);\n    ActiveMode = 1008;\n    *(_BYTE *)(a1 + 922) = 0;\n  }\n  ButtonByTag = CustomizeObjectLayer::getButtonByTag(a1, ActiveMode);\n  return CustomizeObjectLayer::highlightSelected(a1, ButtonByTag);\n}", "assembly": "; \n; CustomizeObjectLayer::updateCurrentSelection from 0x140143680 to 0x1401436d6 (86 bytes)\n; \n; 2 xrefs:\n; > CustomizeObjectLayer::onPaste @ 0x1401421ea\n; > <???> @ 0x1409173fc\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:27:10 +0000\n; \npush    rbx                                                            ; +0x0, 0x140143680\nsub     rsp, 20h                                                       ; +0x2, 0x140143682\nxor     edx, edx                                                       ; +0x6, 0x140143686\nmov     rbx, rcx                                                       ; +0x8, 0x140143688\ncall    CustomizeObjectLayer__getActiveMode                            ; +0xb, 0x14014368b\nlea     edx, [rax-0Ah]                                                 ; +0x10, 0x140143690\ncmp     edx, 3DDh                                                      ; +0x13, 0x140143693\nja      short loc_1401436BC                                            ; +0x19, 0x140143699\nmov     rcx, rbx                                                       ; +0x1b, 0x14014369b\nmov     byte ptr [rbx+39Ah], 1                                         ; +0x1e, 0x14014369e\nmov     [rbx+2ECh], eax                                                ; +0x25, 0x1401436a5\ncall    CustomizeObjectLayer__updateCustomColorLabels                  ; +0x2b, 0x1401436ab\nmov     eax, 3F0h                                                      ; +0x30, 0x1401436b0\nmov     byte ptr [rbx+39Ah], 0                                         ; +0x35, 0x1401436b5\nmov     edx, eax                                                       ; +0x3c, 0x1401436bc\nmov     rcx, rbx                                                       ; +0x3e, 0x1401436be\ncall    CustomizeObjectLayer__getButtonByTag                           ; +0x41, 0x1401436c1\nmov     rdx, rax                                                       ; +0x46, 0x1401436c6\nmov     rcx, rbx                                                       ; +0x49, 0x1401436c9\nadd     rsp, 20h                                                       ; +0x4c, 0x1401436cc\npop     rbx                                                            ; +0x50, 0x1401436d0\njmp     CustomizeObjectLayer__highlightSelected                        ; +0x51, 0x1401436d1", "xrefs": ["CustomizeObjectLayer::onPaste @ 0x1401421ea", "<???> @ 0x1409173fc"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}