//
// sub_1000CF9F0 from 0x1000cf9f0 to 0x1000cfa94 (164 bytes)
//
// 3 xrefs:
// > sub_1000CF6E8 @ 0x1000cf720
// > SongInfoLayer::init @ 0x10044ea48
// > sub_1004BCA94 @ 0x1004bcac4
//
// 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 10:58:53 +0000
//
__int64 __fastcall sub_1000CF9F0(__int64 a1, __int64 a2, __int64 a3)
{
*(_QWORD *)(a1 + 128) = &off_1008CF020;
*(_QWORD *)(a1 + 176) = 0;
*(_QWORD *)(a1 + 8) = 0;
*(_QWORD *)(a1 + 16) = off_1008CEEE0;
*(_QWORD *)a1 = &off_1008CEFF8;
std::ios_base::init((std::ios_base *)(a1 + 128), (void *)(a1 + 24));
*(_QWORD *)(a1 + 264) = 0;
*(_DWORD *)(a1 + 272) = -1;
*(_QWORD *)a1 = off_1008CEEB8;
*(_QWORD *)(a1 + 128) = off_1008CEF08;
*(_QWORD *)(a1 + 16) = off_1008CEEE0;
sub_1000D95E0(a1 + 24, a2, a3);
return a1;
}