//
// FindBPMLayer::recordingDidStop from 0x3f78a8 to 0x3f78e4 (60 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:47:18 +0000
//
int __fastcall FindBPMLayer::recordingDidStop(FindBPMLayer *this)
{
int v2; // r5
int (__fastcall *v3)(int, int); // r6
cocos2d::CCString *v4; // r0
int CString; // r0
MusicDownloadManager *v6; // r0
MusicDownloadManager *v7; // r0
int result; // r0
v2 = *((_DWORD *)this + 135);
v3 = *(int (__fastcall **)(int, int))(*(_DWORD *)v2 + 464);
v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"BPM: %i",
*((const char **)this + 147));
CString = cocos2d::CCString::getCString(v4);
v6 = (MusicDownloadManager *)v3(v2, CString);
v7 = (MusicDownloadManager *)MusicDownloadManager::sharedState(v6);
result = MusicDownloadManager::getSongInfoObject(v7, *((_DWORD *)this + 143));
if ( result )
*(_DWORD *)(result + 340) = *((_DWORD *)this + 147);
return result;
}