{"type": "func", "start": 4295518716, "end": 4295518824, "name": "FindBPMLayer::recordingDidStop", "pseudocode": "// \n// FindBPMLayer::recordingDidStop from 0x1000869fc to 0x100086a68 (108 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008c76c0\n// \n// This function is hookable on this platform (idp: arm, 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 10:58:19 +0000\n// \n\n__int64 __fastcall FindBPMLayer::recordingDidStop(__int64 a1)\n{\n  __int64 v2; // x20\n  __int64 v3; // x0\n  __int64 CString; // x0\n  __int64 v5; // x0\n  __int64 v6; // x0\n  __int64 result; // x0\n\n  v2 = *(_QWORD *)(a1 + 704);\n  v3 = sub_1003065B0(\"BPM: %i\", *(_DWORD *)(a1 + 784));\n  CString = cocos2d::CCString::getCString(v3);\n  v5 = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 928LL))(v2, CString);\n  v6 = MusicDownloadManager::sharedState(v5);\n  result = MusicDownloadManager::getSongInfoObject(v6, *(unsigned int *)(a1 + 760));\n  if ( result )\n    *(_DWORD *)(result + 444) = *(_DWORD *)(a1 + 784);\n  return result;\n}", "assembly": "; \n; FindBPMLayer::recordingDidStop from 0x1000869fc to 0x100086a68 (108 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008c76c0\n; \n; This function is hookable on this platform (idp: arm, 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 10:58:19 +0000\n; \nSUB             SP, SP, #0x30                                          ; +0x0, 0x1000869fc\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x100086a00\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x100086a04\nADD             X29, SP, #0x20                                         ; +0xc, 0x100086a08\nMOV             X19, X0                                                ; +0x10, 0x100086a0c\nLDR             X20, [X0,#0x2C0]                                       ; +0x14, 0x100086a10\nLDR             W8, [X0,#0x310]                                        ; +0x18, 0x100086a14\nSTR             X8, [SP,#0x20+var_20]                                  ; +0x1c, 0x100086a18\nADRL            X0, aBpmI; \"BPM: %i\"                                   ; +0x20, 0x100086a1c\nBL              sub_1003065B0                                          ; +0x28, 0x100086a24\nBL              cocos2d__CCString__getCString                          ; +0x2c, 0x100086a28\nMOV             X1, X0                                                 ; +0x30, 0x100086a2c\nLDR             X8, [X20]                                              ; +0x34, 0x100086a30\nLDR             X8, [X8,#0x3A0]                                        ; +0x38, 0x100086a34\nMOV             X0, X20                                                ; +0x3c, 0x100086a38\nBLR             X8                                                     ; +0x40, 0x100086a3c\nBL              MusicDownloadManager__sharedState                      ; +0x44, 0x100086a40\nLDR             W1, [X19,#0x2F8]                                       ; +0x48, 0x100086a44\nBL              MusicDownloadManager__getSongInfoObject                ; +0x4c, 0x100086a48\nCBZ             X0, loc_100086A58                                      ; +0x50, 0x100086a4c\nLDR             W8, [X19,#0x310]                                       ; +0x54, 0x100086a50\nSTR             W8, [X0,#0x1BC]                                        ; +0x58, 0x100086a54\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x5c, 0x100086a58\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x60, 0x100086a5c\nADD             SP, SP, #0x30 ; '0'                                    ; +0x64, 0x100086a60\nRET                                                                    ; +0x68, 0x100086a64", "xrefs": ["<???> @ 0x1008c76c0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}