//
// SetupTriggerPopup::addObjectToPage from 0x1001ac9a0 to 0x1001ac9c8 (40 bytes)
//
// 37 xrefs:
// > sub_10003B398 @ 0x10003b8bc
// > sub_10003DDB8 @ 0x10003df54
// > SetupAdvFollowPopup::init @ 0x1000695c4
// > SetupAdvFollowPopup::init @ 0x10006b1a4
// > SetupSpawnPopup::init @ 0x10011cb58
// > SetupSpawnPopup::init @ 0x10011cc2c
// > SetupSpawnPopup::init @ 0x10011cd30
// > SetupSpawnPopup::init @ 0x10011cdd8
// > SetupSpawnPopup::updateRemapButtons @ 0x10011d3ec
// > GameSettingsLayer::addSpecialContent @ 0x100165510
// > GameSettingsLayer::addSpecialContent @ 0x1001656dc
// > GameSettingsLayer::addSpecialContent @ 0x1001657e8
// > GameSettingsLayer::addSpecialContent @ 0x100165968
// > GameSettingsLayer::addSpecialContent @ 0x100165a30
// > GameSettingsLayer::addSpecialContent @ 0x100165b28
// > GameSettingsLayer::addSpecialContent @ 0x100165c24
// > GameSettingsLayer::addSpecialContent @ 0x100165cf0
// > GameSettingsLayer::addSpecialContent @ 0x100165db0
// > GameSettingsLayer::addSpecialContent @ 0x100165ea0
// > GameSettingsLayer::addSpecialContent @ 0x100165f9c
// > GameSettingsLayer::addToggle @ 0x100166458
// > SetupSongTriggerPopup::init @ 0x100258abc
// > SetupSongTriggerPopup::init @ 0x100258b74
// > sub_10047FDC8 @ 0x1004804f0
// > sub_1004868F0 @ 0x1004870e4
// > sub_100489684 @ 0x1004898a8
// > sub_100489684 @ 0x1004899b0
// > sub_1004949D8 @ 0x100494abc
// > sub_1004E6D68 @ 0x1004e7744
// > sub_1004E6D68 @ 0x1004e7754
// > sub_1004E6D68 @ 0x1004e7764
// > sub_1004E6D68 @ 0x1004e7774
// > sub_1004E6D68 @ 0x1004e7784
// > sub_1004E6D68 @ 0x1004e7794
// > sub_1004E6D68 @ 0x1004e77a4
// > sub_1004E6D68 @ 0x1004e77b4
// > sub_1004E6D68 @ 0x1004e77c8
//
// 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
//
double __fastcall SetupTriggerPopup::addObjectToPage(__int64 a1, __int64 a2, __int64 a3)
{
__int64 PageContainer; // x0
double result; // d0
PageContainer = SetupTriggerPopup::getPageContainer(a1, a3);
*(_QWORD *)&result = sub_1002E74E0(PageContainer, a2).n128_u64[0];
return result;
}