//
// sub_1004D5590 from 0x1004d5590 to 0x1004d5670 (224 bytes)
//
// 1 xrefs:
// > sub_1004CF934 @ 0x1004cf95c
//
// 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:06:30 +0000
//
double __fastcall sub_1004D5590(__int64 a1)
{
__int64 v1; // x0
SetupTriggerPopup::SetupTriggerPopup(a1);
*(_QWORD *)v1 = off_100988AA0;
*(_QWORD *)(v1 + 320) = off_1009890F8;
*(_QWORD *)(v1 + 328) = &off_100989168;
*(_QWORD *)(v1 + 336) = off_100989180;
*(_QWORD *)(v1 + 344) = off_1009891A0;
*(_QWORD *)(v1 + 352) = off_1009891C8;
*(_QWORD *)(v1 + 408) = off_1009891F8;
*(_QWORD *)(v1 + 432) = off_100989278;
*(_QWORD *)(v1 + 544) = off_100989298;
*(_QWORD *)(v1 + 664) = &off_1009892E0;
*(_QWORD *)(v1 + 672) = off_1009892F8;
*(_QWORD *)(v1 + 1016) = off_100989318;
*(_QWORD *)(v1 + 1024) = off_100989338;
*(_QWORD *)(v1 + 1032) = &off_100989358;
*(_QWORD *)(v1 + 1040) = &off_100989370;
*(_QWORD *)(v1 + 1048) = &off_100989388;
*(_QWORD *)(v1 + 1056) = &off_1009893A0;
*(_QWORD *)(v1 + 1064) = off_1009893B8;
*(_QWORD *)(v1 + 1072) = &off_1009893D8;
*(_QWORD *)(v1 + 1080) = off_1009893F0;
*(_QWORD *)(v1 + 1088) = 0;
*(_DWORD *)(v1 + 1096) = 0;
*(_DWORD *)(v1 + 1119) = 0;
*(_OWORD *)(v1 + 1104) = 0u;
*(_OWORD *)(v1 + 1128) = 0u;
*(_OWORD *)(v1 + 1144) = 0u;
*(_OWORD *)(v1 + 1160) = 0u;
*(_OWORD *)(v1 + 1176) = 0u;
*(_OWORD *)(v1 + 1192) = 0u;
*(_OWORD *)(v1 + 1208) = 0u;
*(_OWORD *)(v1 + 1224) = 0u;
*(_QWORD *)(v1 + 1240) = 0;
return 0.0;
}