//
// sub_1001AD5EC from 0x1001ad5ec to 0x1001ad62c (64 bytes)
//
// 4 xrefs:
// > SetupTriggerPopup::determineStartValues @ 0x1001ad640
// > SetupSFXPopup::valueDidChange @ 0x100213e94
// > SetItemIDLayer::valueDidChange @ 0x10049c26c
// > sub_10049C320 @ 0x10049c32c
//
// 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:06 +0000
//
__int64 __fastcall sub_1001AD5EC(__int64 a1)
{
__int64 v2; // x19
if ( !*(_QWORD *)(a1 + 680) )
return *(_QWORD *)(a1 + 688);
v2 = sub_1002E736C(a1);
sub_1002E74E0(v2, *(_QWORD *)(a1 + 680));
return v2;
}