//
// sub_1005B41A4 from 0x1005b41a4 to 0x1005b41f8 (84 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009d98f0
//
// 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:09:12 +0000
//
__int64 __fastcall sub_1005B41A4(_QWORD *a1, int a2, _QWORD *a3, _DWORD *a4, __int64 a5, int a6, int a7, int a8)
{
char vars0; // [xsp+0h] [xbp+0h]
if ( a2 != 2 )
return 31;
*a3 = *a1 + 816LL;
*a4 = 264;
if ( a5 )
sub_1005ED57C(a5, 0x20u, (int)"spectrum data", (int)a4, a5, a6, a7, a8, vars0);
return 0;
}