{"type": "func", "start": 4300265504, "end": 4300265605, "name": "FindBPMLayer::recordingDidStop", "pseudocode": "// \n// FindBPMLayer::recordingDidStop from 0x10050d820 to 0x10050d885 (101 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10095c8b8\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 __fastcall FindBPMLayer::recordingDidStop(FindBPMLayer *a1)\n{\n  cocos2d::CCLabelBMFont *m_infoLabel; // r14\n  cocos2d::CCString *v2; // rax\n  const char *CString; // rax\n  MusicDownloadManager *v4; // rax\n  SongInfoObject *SongInfoObject; // rax\n  char v6; // [rsp+0h] [rbp-10h]\n\n  m_infoLabel = a1->m_infoLabel;\n  v2 = (cocos2d::CCString *)sub_1007AB580(\"BPM: %i\", v6);\n  CString = cocos2d::CCString::getCString(v2);\n  ((void (__fastcall *)(cocos2d::CCLabelBMFont *, const char *))m_infoLabel->setString)(m_infoLabel, CString);\n  v4 = MusicDownloadManager::sharedState();\n  SongInfoObject = MusicDownloadManager::getSongInfoObject(v4, a1->m_songID);\n  if ( SongInfoObject )\n    SongInfoObject->m_BPM = a1->m_beatsPerMinute;\n}", "assembly": "; \n; FindBPMLayer::recordingDidStop from 0x10050d820 to 0x10050d885 (101 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10095c8b8\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\npush    rbp                                                            ; +0x0, 0x10050d820\nmov     rbp, rsp                                                       ; +0x1, 0x10050d821\npush    r14                                                            ; +0x4, 0x10050d824\npush    rbx; char                                                      ; +0x6, 0x10050d826\nmov     rbx, rdi                                                       ; +0x7, 0x10050d827\nmov     r14, [rdi+2A0h]                                                ; +0xa, 0x10050d82a\nmov     esi, [rdi+2F0h]                                                ; +0x11, 0x10050d831\nlea     rdi, aBpmI; \"BPM: %i\"                                          ; +0x17, 0x10050d837\nxor     eax, eax                                                       ; +0x1e, 0x10050d83e\ncall    sub_1007AB580                                                  ; +0x20, 0x10050d840\nmov     rdi, rax                                                       ; +0x25, 0x10050d845\ncall    cocos2d__CCString__getCString                                  ; +0x28, 0x10050d848\nmov     rcx, [r14]                                                     ; +0x2d, 0x10050d84d\nmov     rdi, r14                                                       ; +0x30, 0x10050d850\nmov     rsi, rax                                                       ; +0x33, 0x10050d853\ncall    qword ptr [rcx+390h]                                           ; +0x36, 0x10050d856\ncall    MusicDownloadManager__sharedState                              ; +0x3c, 0x10050d85c\nmov     esi, [rbx+2D8h]                                                ; +0x41, 0x10050d861\nmov     rdi, rax                                                       ; +0x47, 0x10050d867\ncall    MusicDownloadManager__getSongInfoObject                        ; +0x4a, 0x10050d86a\ntest    rax, rax                                                       ; +0x4f, 0x10050d86f\njz      short loc_10050D880                                            ; +0x52, 0x10050d872\nmov     ecx, [rbx+2F0h]                                                ; +0x54, 0x10050d874\nmov     [rax+204h], ecx                                                ; +0x5a, 0x10050d87a\npop     rbx                                                            ; +0x60, 0x10050d880\npop     r14                                                            ; +0x61, 0x10050d881\npop     rbp                                                            ; +0x63, 0x10050d883\nretn                                                                   ; +0x64, 0x10050d884", "xrefs": ["<???> @ 0x10095c8b8"], "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"}