//
// FindBPMLayer::recordingDidStop from 0x6e7b3c to 0x6e7ba4 (104 bytes)
//
// 2 xrefs:
// > ??> @ 0xa7f38
// > ??> @ 0x1426838
//
// 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 12:51:44 +0000
//
__int64 __fastcall FindBPMLayer::recordingDidStop(FindBPMLayer *this)
{
__int64 v2; // x20
__int64 (__fastcall *v3)(__int64, __int64); // x21
cocos2d::CCString *v4; // x0
__int64 CString; // x0
MusicDownloadManager *v6; // x0
MusicDownloadManager *v7; // x0
__int64 result; // x0
v2 = *((_QWORD *)this + 88);
v3 = *(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 928LL);
v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"BPM: %i",
(const char *)*((unsigned int *)this + 196));
CString = cocos2d::CCString::getCString(v4);
v6 = (MusicDownloadManager *)v3(v2, CString);
v7 = (MusicDownloadManager *)MusicDownloadManager::sharedState(v6);
result = MusicDownloadManager::getSongInfoObject(v7, *((_DWORD *)this + 190));
if ( result )
*(_DWORD *)(result + 444) = *((_DWORD *)this + 196);
return result;
}