//
// SetupTriggerPopup::addObjectsToPage from 0x10021a4a0 to 0x10021a51a (122 bytes)
//
// 1 xrefs:
// > SetupAreaMoveTriggerPopup::addAreaDefaultControls @ 0x1004cf212
//
// This function is hookable on this platform (idp: pc, 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 12:27:01 +0000
//
__int64 __fastcall SetupTriggerPopup::addObjectsToPage(__int64 a1, __int64 a2, unsigned int a3)
{
__int64 i; // rdi
__int64 v6; // r12
__int64 v7; // rax
__int64 v8; // rax
for ( i = *(_QWORD *)(a1 + 912); (unsigned int)sub_1007FEF90(i) <= a3; i = *(_QWORD *)(a1 + 912) )
{
v6 = *(_QWORD *)(a1 + 912);
v7 = sub_1007FE900(i);
sub_1007FEBF0(v6, v7);
}
v8 = sub_1007FEFE0(*(_QWORD *)(a1 + 912), a3);
return sub_1007FEF70(v8, a2);
}