//
// sub_1005154E0 from 0x1005154e0 to 0x100515580 (160 bytes)
//
// 1 xrefs:
// > sub_1004F3D18 @ 0x1004f3d30
//
// 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_1005154E0(__int64 a1)
{
__int64 v1; // x0
v1 = FLAlertLayer::FLAlertLayer(a1);
*(_QWORD *)v1 = off_100994A78;
*(_QWORD *)(v1 + 320) = off_100995028;
*(_QWORD *)(v1 + 328) = &off_100995098;
*(_QWORD *)(v1 + 336) = off_1009950B0;
*(_QWORD *)(v1 + 344) = off_1009950D0;
*(_QWORD *)(v1 + 352) = off_1009950F8;
*(_QWORD *)(v1 + 408) = off_100995128;
*(_QWORD *)(v1 + 432) = off_1009951A8;
*(_QWORD *)(v1 + 544) = off_1009951C8;
*(_QWORD *)(v1 + 664) = off_100995210;
*(_QWORD *)(v1 + 672) = &off_100995290;
*(_QWORD *)(v1 + 680) = off_1009952A8;
*(_QWORD *)(v1 + 936) = 0;
*(_OWORD *)(v1 + 688) = 0u;
*(_OWORD *)(v1 + 704) = 0u;
*(_OWORD *)(v1 + 720) = 0u;
*(_OWORD *)(v1 + 736) = 0u;
*(_OWORD *)(v1 + 752) = 0u;
*(_OWORD *)(v1 + 768) = 0u;
*(_OWORD *)(v1 + 784) = 0u;
*(_OWORD *)(v1 + 800) = 0u;
*(_OWORD *)(v1 + 816) = 0u;
*(_OWORD *)(v1 + 832) = 0u;
*(_DWORD *)(v1 + 848) = 0;
*(_OWORD *)(v1 + 915) = 0u;
*(_OWORD *)(v1 + 888) = 0u;
*(_OWORD *)(v1 + 904) = 0u;
*(_OWORD *)(v1 + 856) = 0u;
*(_OWORD *)(v1 + 872) = 0u;
return 0.0;
}