{"type": "func", "start": 4300270880, "end": 4300270981, "name": "FindBPMLayer::recordingDidStop", "pseudocode": "// \n// FindBPMLayer::recordingDidStop from 0x10050ed20 to 0x10050ed85 (101 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100b69300\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:31:35 +0000\n// \n\n__int64 __fastcall FindBPMLayer::recordingDidStop(__int64 a1)\n{\n  __int64 v1; // r14\n  __int64 v2; // rax\n  __int64 CString; // rax\n  __int64 v4; // rax\n  __int64 result; // rax\n  char v6; // [rsp+0h] [rbp-10h]\n\n  v1 = *(_QWORD *)(a1 + 704);\n  v2 = sub_10088E820(\"BPM: %i\", v6);\n  CString = cocos2d::CCString::getCString(v2);\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v1 + 928LL))(v1, CString);\n  v4 = MusicDownloadManager::sharedState(v1);\n  result = MusicDownloadManager::getSongInfoObject(v4, *(unsigned int *)(a1 + 760));\n  if ( result )\n    *(_DWORD *)(result + 444) = *(_DWORD *)(a1 + 784);\n  return result;\n}", "assembly": "; \n; FindBPMLayer::recordingDidStop from 0x10050ed20 to 0x10050ed85 (101 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100b69300\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:31:35 +0000\n; \npush    rbp                                                            ; +0x0, 0x10050ed20\nmov     rbp, rsp                                                       ; +0x1, 0x10050ed21\npush    r14                                                            ; +0x4, 0x10050ed24\npush    rbx; char                                                      ; +0x6, 0x10050ed26\nmov     rbx, rdi                                                       ; +0x7, 0x10050ed27\nmov     r14, [rdi+2C0h]                                                ; +0xa, 0x10050ed2a\nmov     esi, [rdi+310h]                                                ; +0x11, 0x10050ed31\nlea     rdi, aBpmI; \"BPM: %i\"                                          ; +0x17, 0x10050ed37\nxor     eax, eax                                                       ; +0x1e, 0x10050ed3e\ncall    sub_10088E820                                                  ; +0x20, 0x10050ed40\nmov     rdi, rax                                                       ; +0x25, 0x10050ed45\ncall    cocos2d__CCString__getCString                                  ; +0x28, 0x10050ed48\nmov     rcx, [r14]                                                     ; +0x2d, 0x10050ed4d\nmov     rdi, r14                                                       ; +0x30, 0x10050ed50\nmov     rsi, rax                                                       ; +0x33, 0x10050ed53\ncall    qword ptr [rcx+3A0h]                                           ; +0x36, 0x10050ed56\ncall    MusicDownloadManager__sharedState                              ; +0x3c, 0x10050ed5c\nmov     esi, [rbx+2F8h]                                                ; +0x41, 0x10050ed61\nmov     rdi, rax                                                       ; +0x47, 0x10050ed67\ncall    MusicDownloadManager__getSongInfoObject                        ; +0x4a, 0x10050ed6a\ntest    rax, rax                                                       ; +0x4f, 0x10050ed6f\njz      short loc_10050ED80                                            ; +0x52, 0x10050ed72\nmov     ecx, [rbx+310h]                                                ; +0x54, 0x10050ed74\nmov     [rax+1BCh], ecx                                                ; +0x5a, 0x10050ed7a\npop     rbx                                                            ; +0x60, 0x10050ed80\npop     r14                                                            ; +0x61, 0x10050ed81\npop     rbp                                                            ; +0x63, 0x10050ed83\nretn                                                                   ; +0x64, 0x10050ed84", "xrefs": ["<???> @ 0x100b69300"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}