//
// sub_10051599C from 0x10051599c to 0x100515a3c (160 bytes)
//
// 1 xrefs:
// > ThreadDescPopup::create @ 0x1004fc778
//
// 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:07:05 +0000
//
double __fastcall sub_10051599C(__int64 a1)
{
__int64 v1; // x0
SetupTriggerPopup::SetupTriggerPopup(a1);
*(_QWORD *)v1 = off_10099AF88;
*(_QWORD *)(v1 + 320) = off_10099B5C8;
*(_QWORD *)(v1 + 328) = &off_10099B638;
*(_QWORD *)(v1 + 336) = off_10099B650;
*(_QWORD *)(v1 + 344) = off_10099B670;
*(_QWORD *)(v1 + 352) = off_10099B698;
*(_QWORD *)(v1 + 408) = off_10099B6C8;
*(_QWORD *)(v1 + 432) = off_10099B748;
*(_QWORD *)(v1 + 544) = off_10099B768;
*(_QWORD *)(v1 + 664) = &off_10099B7B0;
*(_QWORD *)(v1 + 672) = off_10099B7C8;
*(_QWORD *)(v1 + 1016) = off_10099B7E8;
*(_QWORD *)(v1 + 1024) = off_10099B868;
*(_QWORD *)(v1 + 1032) = 0;
*(_OWORD *)(v1 + 1040) = 0u;
*(_DWORD *)(v1 + 1056) = 0;
*(_OWORD *)(v1 + 1064) = 0u;
*(_OWORD *)(v1 + 1080) = 0u;
*(_OWORD *)(v1 + 1096) = 0u;
*(_WORD *)(v1 + 1112) = 0;
*(_QWORD *)(v1 + 1136) = 0;
*(_OWORD *)(v1 + 1120) = 0u;
return 0.0;
}