//
// FindBPMLayer::recordingDidStop from 0x10050ed20 to 0x10050ed85 (101 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b69300
//
// This function is hookable on this platform (idp: pc, 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 12:31:35 +0000
//
__int64 __fastcall FindBPMLayer::recordingDidStop(__int64 a1)
{
__int64 v1; // r14
__int64 v2; // rax
__int64 CString; // rax
__int64 v4; // rax
__int64 result; // rax
char v6; // [rsp+0h] [rbp-10h]
v1 = *(_QWORD *)(a1 + 704);
v2 = sub_10088E820("BPM: %i", v6);
CString = cocos2d::CCString::getCString(v2);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v1 + 928LL))(v1, CString);
v4 = MusicDownloadManager::sharedState(v1);
result = MusicDownloadManager::getSongInfoObject(v4, *(unsigned int *)(a1 + 760));
if ( result )
*(_DWORD *)(result + 444) = *(_DWORD *)(a1 + 784);
return result;
}