//
// sub_10013BA64 from 0x10013ba64 to 0x10013bad8 (116 bytes)
//
// 42 xrefs:
// > sub_10013825C @ 0x10013830c
// > sub_100138320 @ 0x100138334
// > MusicDownloadManager::parseMusicLibrary @ 0x1001dccd8
// > MusicDownloadManager::parseMusicLibrary @ 0x1001dcce8
// > sub_1001DCD98 @ 0x1001dcfb4
// > sub_1001DCD98 @ 0x1001dcfcc
// > sub_1001E1D40 @ 0x1001e1db8
// > sub_1001E1D40 @ 0x1001e1dc8
// > sub_1001E33E0 @ 0x1001e33f4
// > sub_1001E35F8 @ 0x1001e3618
// > sub_1001E4C20 @ 0x1001e4c4c
// > sub_1001E8C6C @ 0x1001e8c80
// > SongInfoLayer::create_1 @ 0x10044db98
// > SongInfoLayer::create_1 @ 0x10044dba8
// > SongInfoLayer::create_1 @ 0x10044dbd8
// > SongInfoLayer::create_1 @ 0x10044dbe8
// > sub_10044DC24 @ 0x10044dc54
// > sub_10044DC24 @ 0x10044dc6c
// > sub_10044DC24 @ 0x10044dd64
// > sub_10044DC24 @ 0x10044dd74
// > SongInfoLayer::create @ 0x10044e0b8
// > SongInfoLayer::create @ 0x10044e0c8
// > sub_10044E134 @ 0x10044e164
// > sub_10044E134 @ 0x10044e17c
// > SongInfoLayer::create_2 @ 0x10044e3a4
// > SongInfoLayer::create_2 @ 0x10044e3b4
// > SongInfoLayer::create_2 @ 0x10044e3f4
// > SongInfoLayer::create_2 @ 0x10044e404
// > sub_10044E420 @ 0x10044e4a0
// > sub_10044E420 @ 0x10044e4b8
// > sub_10044E420 @ 0x10044e520
// > sub_10044E420 @ 0x10044e530
// > sub_1004C285C @ 0x1004c2a24
// > sub_1004C2A40 @ 0x1004c2a6c
// > sub_1004C2D38 @ 0x1004c2ddc
// > sub_1004C3D38 @ 0x1004c3d64
// > sub_1004E7FB8 @ 0x1004e817c
// > sub_1004E8190 @ 0x1004e81cc
// > sub_1004E81D8 @ 0x1004e865c
// > sub_1004E86B8 @ 0x1004e8738
// > sub_1004E8810 @ 0x1004e88d8
// > sub_1004E8904 @ 0x1004e8918
//
// 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:59:29 +0000
//
void __fastcall sub_10013BA64(void ***a1)
{
void **v1; // x19
void *v2; // x22
__int64 v4; // x21
void *v5; // x0
v1 = *a1;
v2 = **a1;
if ( v2 )
{
v4 = (__int64)v1[1];
v5 = **a1;
if ( (void *)v4 != v2 )
{
do
{
v4 -= 56;
sub_10000A738((__int64)v1, v4);
}
while ( (void *)v4 != v2 );
v5 = **a1;
}
v1[1] = v2;
operator delete(v5);
}
}