{"type": "func", "start": 4299672648, "end": 4299672760, "name": "EditorUI::colorSelectClosed", "pseudocode": "// \n// EditorUI::colorSelectClosed from 0x10047cc48 to 0x10047ccb8 (112 bytes)\n// \n// 2 xrefs:\n// > sub_10047CD44 @ 0x10047cd48\n// > <???> @ 0x10096d380\n// \n// This function is hookable on this platform (idp: arm, 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:05:44 +0000\n// \n\n__int64 __fastcall EditorUI::colorSelectClosed(__int64 result, __int64 a2)\n{\n  __int64 *v2; // x19\n  __int64 v3; // x8\n  __int64 v4; // x8\n  int v5; // w20\n  char v6; // w20\n\n  v2 = (__int64 *)result;\n  v3 = *(_QWORD *)(result + 1544);\n  if ( v3 == a2 )\n  {\n    v6 = *(_BYTE *)(v3 + 857);\n    *(_QWORD *)(result + 1544) = 0;\n    result = sub_10047CCB8(result);\n    if ( (v6 & 1) == 0 )\n      return result;\n    return EditorUI::updateEditColorButton(v2);\n  }\n  v4 = *(_QWORD *)(result + 1552);\n  if ( v4 == a2 )\n  {\n    v5 = *(unsigned __int8 *)(v4 + 730);\n    *(_QWORD *)(result + 1552) = 0;\n    result = sub_10047CCB8(result);\n    if ( v5 == 1 )\n      return EditorUI::updateEditColorButton(v2);\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::colorSelectClosed from 0x10047cc48 to 0x10047ccb8 (112 bytes)\n; \n; 2 xrefs:\n; > sub_10047CD44 @ 0x10047cd48\n; > <???> @ 0x10096d380\n; \n; This function is hookable on this platform (idp: arm, 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:05:44 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10047cc48\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10047cc4c\nADD             X29, SP, #0x10                                         ; +0x8, 0x10047cc50\nMOV             X19, X0                                                ; +0xc, 0x10047cc54\nLDR             X8, [X0,#0x608]                                        ; +0x10, 0x10047cc58\nCMP             X8, X1                                                 ; +0x14, 0x10047cc5c\nB.EQ            loc_10047CC94                                          ; +0x18, 0x10047cc60\nLDR             X8, [X19,#0x610]                                       ; +0x1c, 0x10047cc64\nCMP             X8, X1                                                 ; +0x20, 0x10047cc68\nB.NE            loc_10047CC88                                          ; +0x24, 0x10047cc6c\nLDRB            W20, [X8,#0x2DA]                                       ; +0x28, 0x10047cc70\nSTR             XZR, [X19,#0x610]                                      ; +0x2c, 0x10047cc74\nMOV             X0, X19                                                ; +0x30, 0x10047cc78\nBL              sub_10047CCB8                                          ; +0x34, 0x10047cc7c\nCMP             W20, #1                                                ; +0x38, 0x10047cc80\nB.EQ            loc_10047CCA8                                          ; +0x3c, 0x10047cc84\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x40, 0x10047cc88\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x44, 0x10047cc8c\nRET                                                                    ; +0x48, 0x10047cc90\nLDRB            W20, [X8,#0x359]                                       ; +0x4c, 0x10047cc94\nSTR             XZR, [X19,#0x608]                                      ; +0x50, 0x10047cc98\nMOV             X0, X19                                                ; +0x54, 0x10047cc9c\nBL              sub_10047CCB8                                          ; +0x58, 0x10047cca0\nTBZ             W20, #0, loc_10047CC88                                 ; +0x5c, 0x10047cca4\nMOV             X0, X19                                                ; +0x60, 0x10047cca8\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x64, 0x10047ccac\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x68, 0x10047ccb0\nB               EditorUI__updateEditColorButton                        ; +0x6c, 0x10047ccb4", "xrefs": ["sub_10047CD44 @ 0x10047cd48", "<???> @ 0x10096d380"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}