{"type": "func", "start": 5369347216, "end": 5369347337, "name": "FindBPMLayer::recordingDidStop", "pseudocode": "// \n// FindBPMLayer::recordingDidStop from 0x14009bc90 to 0x14009bd09 (121 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140542480\n// > <???> @ 0x1406c7524\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid FindBPMLayer::recordingDidStop(FindBPMLayer *a1)\n{\n  cocos2d::CCLabelProtocol_vtbl *v2; // rbx\n  cocos2d::CCString *v3; // rax\n  const char *CString; // rax\n  MusicDownloadManager *v5; // rax\n  SongInfoObject *SongInfoObject; // rax\n\n  v2 = a1->m_infoLabel->__vftable;\n  v3 = cocos2d::CCString::createWithFormat(\"BPM: %i\", a1->m_beatsPerMinute);\n  CString = cocos2d::CCString::getCString(v3);\n  v2->setString(&a1->m_infoLabel->cocos2d::CCLabelProtocol, CString);\n  v5 = MusicDownloadManager::sharedState();\n  SongInfoObject = MusicDownloadManager::getSongInfoObject(v5, a1->m_songID);\n  if ( SongInfoObject )\n    SongInfoObject->m_BPM = a1->m_beatsPerMinute;\n}", "assembly": "; \n; FindBPMLayer::recordingDidStop from 0x14009bc90 to 0x14009bd09 (121 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140542480\n; > <???> @ 0x1406c7524\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14009bc90\npush    rdi                                                            ; +0x5, 0x14009bc95\nsub     rsp, 20h                                                       ; +0x6, 0x14009bc96\nmov     rax, [rcx+2A0h]                                                ; +0xa, 0x14009bc9a\nmov     rdi, rcx                                                       ; +0x11, 0x14009bca1\nmov     edx, [rcx+2F8h]                                                ; +0x14, 0x14009bca4\nlea     rcx, aBpmI; \"BPM: %i\"                                          ; +0x1a, 0x14009bcaa\nmov     rbx, [rax+168h]                                                ; +0x21, 0x14009bcb1\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x28, 0x14009bcb8\nmov     rcx, rax                                                       ; +0x2e, 0x14009bcbe\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x31, 0x14009bcc1\nmov     rcx, [rdi+2A0h]                                                ; +0x37, 0x14009bcc7\nmov     rdx, rax                                                       ; +0x3e, 0x14009bcce\nadd     rcx, 168h                                                      ; +0x41, 0x14009bcd1\ncall    qword ptr [rbx]                                                ; +0x48, 0x14009bcd8\ncall    MusicDownloadManager__sharedState                              ; +0x4a, 0x14009bcda\nmov     edx, [rdi+2E0h]                                                ; +0x4f, 0x14009bcdf\nmov     rcx, rax                                                       ; +0x55, 0x14009bce5\ncall    MusicDownloadManager__getSongInfoObject                        ; +0x58, 0x14009bce8\ntest    rax, rax                                                       ; +0x5d, 0x14009bced\njz      short loc_14009BCFE                                            ; +0x60, 0x14009bcf0\nmov     ecx, [rdi+2F8h]                                                ; +0x62, 0x14009bcf2\nmov     [rax+244h], ecx                                                ; +0x68, 0x14009bcf8\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x6e, 0x14009bcfe\nadd     rsp, 20h                                                       ; +0x73, 0x14009bd03\npop     rdi                                                            ; +0x77, 0x14009bd07\nretn                                                                   ; +0x78, 0x14009bd08", "xrefs": ["<???> @ 0x140542480", "<???> @ 0x1406c7524"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}