//
// FindBPMLayer::recordingDidStop from 0x1000869fc to 0x100086a68 (108 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008c76c0
//
// 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:19 +0000
//
__int64 __fastcall FindBPMLayer::recordingDidStop(__int64 a1)
{
__int64 v2; // x20
__int64 v3; // x0
__int64 CString; // x0
__int64 v5; // x0
__int64 v6; // x0
__int64 result; // x0
v2 = *(_QWORD *)(a1 + 704);
v3 = sub_1003065B0("BPM: %i", *(_DWORD *)(a1 + 784));
CString = cocos2d::CCString::getCString(v3);
v5 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 928LL))(v2, CString);
v6 = MusicDownloadManager::sharedState(v5);
result = MusicDownloadManager::getSongInfoObject(v6, *(unsigned int *)(a1 + 760));
if ( result )
*(_DWORD *)(result + 444) = *(_DWORD *)(a1 + 784);
return result;
}