{"type": "func", "start": 10899356, "end": 10899500, "name": "ColorSelectLiveOverlay::determineStartValues", "pseudocode": "// \n// ColorSelectLiveOverlay::determineStartValues from 0xa64f9c to 0xa6502c (144 bytes)\n// \n// 2 xrefs:\n// > ColorSelectLiveOverlay::init @ 0xa65a94\n// > <???> @ 0xe78f8\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 13:00:16 +0000\n// \n\n__int64 __fastcall ColorSelectLiveOverlay::determineStartValues(__int64 this)\n{\n  __int64 v1; // x1\n  char v2; // w3\n  char v3; // w2\n  char v4; // w4\n  int v5; // w1\n  __int64 v6; // x1\n  _BYTE *v7; // x2\n  char v8; // w4\n  char v9; // w3\n  char v10; // w3\n  char v11; // w1\n\n  v1 = *(_QWORD *)(this + 664);\n  if ( v1 )\n  {\n    v2 = *(_BYTE *)(v1 + 1448);\n    v3 = *(_BYTE *)(v1 + 1449);\n    v4 = *(_BYTE *)(v1 + 1450);\n    *(_BYTE *)(this + 712) = v4;\n    *(_BYTE *)(this + 711) = v3;\n    *(_BYTE *)(this + 710) = v2;\n    v5 = *(_DWORD *)(v1 + 1456);\n    *(_WORD *)(this + 704) = *(_WORD *)(this + 710);\n    *(_BYTE *)(this + 706) = v4;\n    *(_DWORD *)(this + 728) = v5;\n  }\n  else\n  {\n    v6 = *(_QWORD *)(this + 688);\n    v7 = *(_BYTE **)(this + 696);\n    v8 = *(_BYTE *)(v6 + 73);\n    v9 = *(_BYTE *)(v6 + 74);\n    *(_BYTE *)(this + 710) = *(_BYTE *)(v6 + 72);\n    *(_BYTE *)(this + 711) = v8;\n    *(_BYTE *)(this + 712) = v9;\n    *(_WORD *)(this + 704) = *(_WORD *)(this + 710);\n    *(_BYTE *)(this + 706) = v9;\n    *(_DWORD *)(this + 728) = *(_DWORD *)(v6 + 96);\n    if ( v7 )\n    {\n      v10 = v7[72];\n      v11 = v7[73];\n      *(_BYTE *)(this + 709) = v7[74];\n      *(_BYTE *)(this + 707) = v10;\n      *(_BYTE *)(this + 708) = v11;\n    }\n  }\n  return this;\n}", "assembly": "; \n; ColorSelectLiveOverlay::determineStartValues from 0xa64f9c to 0xa6502c (144 bytes)\n; \n; 2 xrefs:\n; > ColorSelectLiveOverlay::init @ 0xa65a94\n; > <???> @ 0xe78f8\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 13:00:16 +0000\n; \nLDR             X1, [X0,#0x298]                                        ; +0x0, 0xa64f9c\nCBZ             X1, loc_A64FD8                                         ; +0x4, 0xa64fa0\nLDRB            W3, [X1,#0x5A8]                                        ; +0x8, 0xa64fa4\nLDRB            W2, [X1,#0x5A9]                                        ; +0xc, 0xa64fa8\nLDRB            W4, [X1,#0x5AA]                                        ; +0x10, 0xa64fac\nSTRB            W4, [X0,#0x2C8]                                        ; +0x14, 0xa64fb0\nSTRB            W2, [X0,#0x2C7]                                        ; +0x18, 0xa64fb4\nSTRB            W3, [X0,#0x2C6]                                        ; +0x1c, 0xa64fb8\nUXTB            W2, W4                                                 ; +0x20, 0xa64fbc\nLDR             W1, [X1,#0x5B0]                                        ; +0x24, 0xa64fc0\nLDRH            W3, [X0,#0x2C6]                                        ; +0x28, 0xa64fc4\nSTRH            W3, [X0,#0x2C0]                                        ; +0x2c, 0xa64fc8\nSTRB            W2, [X0,#0x2C2]                                        ; +0x30, 0xa64fcc\nSTR             W1, [X0,#0x2D8]                                        ; +0x34, 0xa64fd0\nRET                                                                    ; +0x38, 0xa64fd4\nLDR             X1, [X0,#0x2B0]                                        ; +0x3c, 0xa64fd8\nLDR             X2, [X0,#0x2B8]                                        ; +0x40, 0xa64fdc\nLDRB            W4, [X1,#0x49]                                         ; +0x44, 0xa64fe0\nLDRB            W5, [X1,#0x48]                                         ; +0x48, 0xa64fe4\nLDRB            W3, [X1,#0x4A]                                         ; +0x4c, 0xa64fe8\nSTRB            W5, [X0,#0x2C6]                                        ; +0x50, 0xa64fec\nSTRB            W4, [X0,#0x2C7]                                        ; +0x54, 0xa64ff0\nSTRB            W3, [X0,#0x2C8]                                        ; +0x58, 0xa64ff4\nLDRH            W4, [X0,#0x2C6]                                        ; +0x5c, 0xa64ff8\nSTRH            W4, [X0,#0x2C0]                                        ; +0x60, 0xa64ffc\nSTRB            W3, [X0,#0x2C2]                                        ; +0x64, 0xa65000\nLDR             W1, [X1,#0x60]                                         ; +0x68, 0xa65004\nSTR             W1, [X0,#0x2D8]                                        ; +0x6c, 0xa65008\nCBZ             X2, locret_A64FD4                                      ; +0x70, 0xa6500c\nLDRB            W3, [X2,#0x48]                                         ; +0x74, 0xa65010\nLDRB            W1, [X2,#0x49]                                         ; +0x78, 0xa65014\nLDRB            W2, [X2,#0x4A]                                         ; +0x7c, 0xa65018\nSTRB            W2, [X0,#0x2C5]                                        ; +0x80, 0xa6501c\nSTRB            W3, [X0,#0x2C3]                                        ; +0x84, 0xa65020\nSTRB            W1, [X0,#0x2C4]                                        ; +0x88, 0xa65024\nRET                                                                    ; +0x8c, 0xa65028", "xrefs": ["ColorSelectLiveOverlay::init @ 0xa65a94", "<???> @ 0xe78f8"], "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"}