//
// sub_10051585C from 0x10051585c to 0x10051590c (176 bytes)
//
// 1 xrefs:
// > sub_1004F6E14 @ 0x1004f6e3c
//
// 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_10051585C(__int64 a1)
{
__int64 v1; // x0
v1 = FLAlertLayer::FLAlertLayer(a1);
*(_QWORD *)v1 = off_1009984C0;
*(_QWORD *)(v1 + 320) = off_100998A78;
*(_QWORD *)(v1 + 328) = &off_100998AE8;
*(_QWORD *)(v1 + 336) = off_100998B00;
*(_QWORD *)(v1 + 344) = off_100998B20;
*(_QWORD *)(v1 + 352) = off_100998B48;
*(_QWORD *)(v1 + 408) = off_100998B78;
*(_QWORD *)(v1 + 432) = off_100998BF8;
*(_QWORD *)(v1 + 544) = off_100998C18;
*(_QWORD *)(v1 + 664) = off_100998C60;
*(_QWORD *)(v1 + 672) = off_100998CE0;
*(_QWORD *)(v1 + 680) = off_100998D38;
*(_QWORD *)(v1 + 688) = off_100998D60;
*(_DWORD *)(v1 + 696) = 0;
*(_OWORD *)(v1 + 704) = 0u;
*(_OWORD *)(v1 + 720) = 0u;
*(_WORD *)(v1 + 736) = 256;
*(_OWORD *)(v1 + 744) = 0u;
*(_OWORD *)(v1 + 760) = 0u;
*(_OWORD *)(v1 + 776) = 0u;
*(_OWORD *)(v1 + 792) = 0u;
*(_OWORD *)(v1 + 808) = 0u;
*(_OWORD *)(v1 + 824) = 0u;
*(_OWORD *)(v1 + 840) = 0u;
*(_OWORD *)(v1 + 856) = 0u;
*(_OWORD *)(v1 + 872) = 0u;
*(_OWORD *)(v1 + 884) = 0u;
*(_OWORD *)(v1 + 904) = 0u;
*(_OWORD *)(v1 + 920) = 0u;
return 0.0;
}