//
// ColorSelectLiveOverlay::determineStartValues from 0xa64f9c to 0xa6502c (144 bytes)
//
// 2 xrefs:
// > ColorSelectLiveOverlay::init @ 0xa65a94
// > ??> @ 0xe78f8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:00:16 +0000
//
__int64 __fastcall ColorSelectLiveOverlay::determineStartValues(__int64 this)
{
__int64 v1; // x1
char v2; // w3
char v3; // w2
char v4; // w4
int v5; // w1
__int64 v6; // x1
_BYTE *v7; // x2
char v8; // w4
char v9; // w3
char v10; // w3
char v11; // w1
v1 = *(_QWORD *)(this + 664);
if ( v1 )
{
v2 = *(_BYTE *)(v1 + 1448);
v3 = *(_BYTE *)(v1 + 1449);
v4 = *(_BYTE *)(v1 + 1450);
*(_BYTE *)(this + 712) = v4;
*(_BYTE *)(this + 711) = v3;
*(_BYTE *)(this + 710) = v2;
v5 = *(_DWORD *)(v1 + 1456);
*(_WORD *)(this + 704) = *(_WORD *)(this + 710);
*(_BYTE *)(this + 706) = v4;
*(_DWORD *)(this + 728) = v5;
}
else
{
v6 = *(_QWORD *)(this + 688);
v7 = *(_BYTE **)(this + 696);
v8 = *(_BYTE *)(v6 + 73);
v9 = *(_BYTE *)(v6 + 74);
*(_BYTE *)(this + 710) = *(_BYTE *)(v6 + 72);
*(_BYTE *)(this + 711) = v8;
*(_BYTE *)(this + 712) = v9;
*(_WORD *)(this + 704) = *(_WORD *)(this + 710);
*(_BYTE *)(this + 706) = v9;
*(_DWORD *)(this + 728) = *(_DWORD *)(v6 + 96);
if ( v7 )
{
v10 = v7[72];
v11 = v7[73];
*(_BYTE *)(this + 709) = v7[74];
*(_BYTE *)(this + 707) = v10;
*(_BYTE *)(this + 708) = v11;
}
}
return this;
}