//
// SetupCameraEdgePopup::determineStartValues from 0x1002d7a78 to 0x1002d7b4c (212 bytes)
//
// 1 xrefs:
// > ??> @ 0x100920fb0
//
// 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 11:02:41 +0000
//
void __fastcall SetupCameraEdgePopup::determineStartValues(__int64 a1)
{
__int64 started; // x0
__int64 v3; // x20
__int64 v4; // x21
__int64 v5; // x0
int v6; // w9
int v7; // w8
int v8; // w9
int v9; // w8
started = SetupTriggerPopup::determineStartValues(a1);
if ( *(_QWORD *)(a1 + 680) )
{
v3 = sub_1002E736C(started);
sub_1002E74E0(v3, *(_QWORD *)(a1 + 680));
if ( !v3 )
return;
}
else
{
v3 = *(_QWORD *)(a1 + 688);
if ( !v3 )
return;
}
if ( (unsigned int)sub_1002E757C(v3) )
{
*(_QWORD *)(a1 + 1024) = -1;
if ( (unsigned int)sub_1002E757C(v3) )
{
v4 = 0;
do
{
v5 = sub_1002E75A0(v3, v4);
v6 = *(_DWORD *)(a1 + 1024);
v7 = *(_DWORD *)(v5 + 1464);
if ( v6 != -1 )
{
if ( v6 == v7 )
goto LABEL_12;
v7 = 0;
}
*(_DWORD *)(a1 + 1024) = v7;
LABEL_12:
v8 = *(_DWORD *)(a1 + 1028);
v9 = *(_DWORD *)(v5 + 1848);
if ( v8 == -1 )
goto LABEL_15;
if ( v8 != v9 )
{
v9 = 0;
LABEL_15:
*(_DWORD *)(a1 + 1028) = v9;
}
v4 = (unsigned int)(v4 + 1);
}
while ( (unsigned int)v4 < (unsigned int)sub_1002E757C(v3) );
}
}
}