//
// sub_1001AFAE8 from 0x1001afae8 to 0x1001afb84 (156 bytes)
//
// 1 xrefs:
// > SetupShaderEffectPopup::valueDidChange @ 0x10021cd9c
//
// 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:00:07 +0000
//
void __fastcall sub_1001AFAE8(_QWORD *a1)
{
__int64 v1; // x8
__int64 v2; // x21
__int64 v4; // x20
__int64 v5; // x0
__int64 v6; // x0
v1 = a1[95];
if ( v1 )
{
v2 = *(_QWORD *)(v1 + 56);
while ( v2 )
{
v4 = *(_QWORD *)(v2 + 264);
v2 = *(_QWORD *)(v2 + 288);
v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 64LL))(v4);
if ( (*(float (__fastcall **)(_QWORD *, __int64))(*a1 + 1464LL))(a1, v5) == -909190.0 )
{
v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 64LL))(v4);
sub_1001AFA70(a1, v6, 0.0);
}
}
}
}