{"type": "func", "start": 4299823644, "end": 4299823760, "name": "ColorSelectPopup::colorValueChanged", "pseudocode": "// \n// ColorSelectPopup::colorValueChanged from 0x1004a1a1c to 0x1004a1a90 (116 bytes)\n// \n// 2 xrefs:\n// > sub_1004A1D08 @ 0x1004a1d0c\n// > <???> @ 0x10097cd90\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:06:02 +0000\n// \n\n__int64 __fastcall ColorSelectPopup::colorValueChanged(__int64 a1)\n{\n  __int64 result; // x0\n  __int64 v3; // x8\n  __int16 v4; // w9\n\n  result = *(_QWORD *)(a1 + 1096);\n  if ( result )\n  {\n    v3 = *(_QWORD *)(a1 + 1032);\n    v4 = *(_WORD *)(v3 + 472);\n    *(_BYTE *)(a1 + 1114) = *(_BYTE *)(v3 + 474);\n    *(_WORD *)(a1 + 1112) = v4;\n    (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)result + 960LL))(result, a1 + 1112);\n    (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 1104) + 960LL))(*(_QWORD *)(a1 + 1104), a1 + 1088);\n    sub_1004A1A90(a1);\n    return sub_1004A1B30(a1);\n  }\n  return result;\n}", "assembly": "; \n; ColorSelectPopup::colorValueChanged from 0x1004a1a1c to 0x1004a1a90 (116 bytes)\n; \n; 2 xrefs:\n; > sub_1004A1D08 @ 0x1004a1d0c\n; > <???> @ 0x10097cd90\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:06:02 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1004a1a1c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1004a1a20\nADD             X29, SP, #0x10                                         ; +0x8, 0x1004a1a24\nMOV             X19, X0                                                ; +0xc, 0x1004a1a28\nLDR             X0, [X0,#0x448]                                        ; +0x10, 0x1004a1a2c\nCBZ             X0, loc_1004A1A84                                      ; +0x14, 0x1004a1a30\nLDR             X8, [X19,#0x408]                                       ; +0x18, 0x1004a1a34\nLDRH            W9, [X8,#0x1D8]                                        ; +0x1c, 0x1004a1a38\nLDRB            W8, [X8,#0x1DA]                                        ; +0x20, 0x1004a1a3c\nSTRB            W8, [X19,#0x45A]                                       ; +0x24, 0x1004a1a40\nSTRH            W9, [X19,#0x458]                                       ; +0x28, 0x1004a1a44\nLDR             X8, [X0]                                               ; +0x2c, 0x1004a1a48\nLDR             X8, [X8,#0x3C0]                                        ; +0x30, 0x1004a1a4c\nADD             X1, X19, #0x458                                        ; +0x34, 0x1004a1a50\nBLR             X8                                                     ; +0x38, 0x1004a1a54\nLDR             X0, [X19,#0x450]                                       ; +0x3c, 0x1004a1a58\nLDR             X8, [X0]                                               ; +0x40, 0x1004a1a5c\nLDR             X8, [X8,#0x3C0]                                        ; +0x44, 0x1004a1a60\nADD             X1, X19, #0x440                                        ; +0x48, 0x1004a1a64\nBLR             X8                                                     ; +0x4c, 0x1004a1a68\nMOV             X0, X19                                                ; +0x50, 0x1004a1a6c\nBL              sub_1004A1A90                                          ; +0x54, 0x1004a1a70\nMOV             X0, X19                                                ; +0x58, 0x1004a1a74\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x5c, 0x1004a1a78\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x60, 0x1004a1a7c\nB               sub_1004A1B30                                          ; +0x64, 0x1004a1a80\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x68, 0x1004a1a84\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x6c, 0x1004a1a88\nRET                                                                    ; +0x70, 0x1004a1a8c", "xrefs": ["sub_1004A1D08 @ 0x1004a1d0c", "<???> @ 0x10097cd90"], "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"}