//
// SetupRandTriggerPopup::determineStartValues from 0x1002628b0 to 0x1002629b8 (264 bytes)
//
// 1 xrefs:
// > ??> @ 0x100911478
//
// 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:01:39 +0000
//
void __fastcall SetupRandTriggerPopup::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
float v10; // s1
float v11; // s0
bool v12; // zf
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 + 1056) = -1;
*(_DWORD *)(a1 + 1032) = -1082130432;
if ( (unsigned int)sub_1002E757C(v3) )
{
v4 = 0;
do
{
v5 = sub_1002E75A0(v3, v4);
v6 = *(_DWORD *)(a1 + 1056);
v7 = *(_DWORD *)(v5 + 1464);
if ( v6 != -1 )
{
if ( v6 == v7 )
goto LABEL_12;
v7 = 0;
}
*(_DWORD *)(a1 + 1056) = v7;
LABEL_12:
v8 = *(_DWORD *)(a1 + 1060);
v9 = *(_DWORD *)(v5 + 1468);
if ( v8 != -1 )
{
if ( v8 == v9 )
goto LABEL_16;
v9 = 0;
}
*(_DWORD *)(a1 + 1060) = v9;
LABEL_16:
v10 = *(float *)(a1 + 1032);
v11 = *(float *)(v5 + 1452);
if ( v10 == -1.0 || (v12 = v10 == v11, v11 = 0.0, !v12) )
*(float *)(a1 + 1032) = v11;
v4 = (unsigned int)(v4 + 1);
}
while ( (unsigned int)v4 < (unsigned int)sub_1002E757C(v3) );
}
}
}