//
// sub_1001AD6E0 from 0x1001ad6e0 to 0x1001ad758 (120 bytes)
//
// 21 xrefs:
// > SetupOpacityPopup::textChanged @ 0x1000274f0
// > CollisionBlockPopup::valueDidChange @ 0x10008ef24
// > SetupCountTriggerPopup::valueDidChange @ 0x10011968c
// > SetupTriggerPopup::onClose @ 0x1001ae6c4
// > GJFollowCommandLayer::valueDidChange @ 0x1001b4a7c
// > GJPFollowCommandLayer::valueDidChange @ 0x1001e9a24
// > SetupInstantCountPopup::textChanged @ 0x100252a54
// > SetupRandTriggerPopup::textChanged @ 0x100262b40
// > SetTargetIDLayer::valueDidChange @ 0x1002afdb0
// > SetupCollisionTriggerPopup::valueDidChange @ 0x1002cc8e8
// > sub_1002D7A48 @ 0x1002d7a74
// > SetupCameraEdgePopup::textChanged @ 0x1002d7c34
// > SetupTouchTogglePopup::textChanged @ 0x1002e9138
// > SetupEndPopup::textChanged @ 0x10034ca58
// > SetupGradientPopup::valueDidChange @ 0x1003e202c
// > SetupPulsePopup::colorSelectClosed @ 0x10045de0c
// > SetupPulsePopup::textChanged @ 0x10045e8b0
// > SetupAnimationPopup::textChanged @ 0x10046d8f0
// > sub_1004A1018 @ 0x1004a1078
// > ColorSelectPopup::textChanged @ 0x1004a26c4
// > ColorSelectPopup::colorSelectClosed @ 0x1004a29a4
//
// 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
//
void __fastcall sub_1001AD6E0(__int64 a1)
{
__int64 v2; // x19
__int64 v3; // x20
__int64 v4; // x0
if ( *(_QWORD *)(a1 + 680) )
{
v2 = sub_1002E736C(a1);
sub_1002E74E0(v2, *(_QWORD *)(a1 + 680));
if ( !v2 )
return;
}
else
{
v2 = *(_QWORD *)(a1 + 688);
if ( !v2 )
return;
}
if ( (unsigned int)sub_1002E757C(v2) )
{
v3 = 0;
do
{
v4 = sub_1002E75A0(v2, v3);
LevelEditorLayer::updateObjectLabel(v4);
v3 = (unsigned int)(v3 + 1);
}
while ( (unsigned int)v3 < (unsigned int)sub_1002E757C(v2) );
}
}