{"type": "func", "start": 4295484084, "end": 4295484196, "name": "FindBPMLayer::playMusic", "pseudocode": "// \n// FindBPMLayer::playMusic from 0x10007e2b4 to 0x10007e324 (112 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10077afe8\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::playMusic(FindBPMLayer *a1)\n{\n  FMODAudioEngine *v2; // x20\n  MusicDownloadManager *v3; // x0\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v5; // [xsp+1Fh] [xbp-11h]\n\n  v2 = FMODAudioEngine::sharedEngine();\n  v3 = MusicDownloadManager::sharedState();\n  MusicDownloadManager::pathForSong(__p, v3, (unsigned int)a1->m_songID);\n  FMODAudioEngine::loadAndPlayMusic(v2, __p, (unsigned int)(float)(a1->m_elapsed * 1000.0), 0);\n  if ( v5 < 0 )\n    operator delete(__p[0]);\n}", "assembly": "; \n; FindBPMLayer::playMusic from 0x10007e2b4 to 0x10007e324 (112 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10077afe8\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\nSUB             SP, SP, #0x40                                          ; +0x0, 0x10007e2b4\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x10007e2b8\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x10007e2bc\nADD             X29, SP, #0x30                                         ; +0xc, 0x10007e2c0\nMOV             X19, X0                                                ; +0x10, 0x10007e2c4\nBL              FMODAudioEngine__sharedEngine                          ; +0x14, 0x10007e2c8\nMOV             X20, X0                                                ; +0x18, 0x10007e2cc\nBL              MusicDownloadManager__sharedState                      ; +0x1c, 0x10007e2d0\nLDR             W1, [X19,#0x2D8]                                       ; +0x20, 0x10007e2d4\nADD             X8, SP, #0x30+__p                                      ; +0x24, 0x10007e2d8\nBL              MusicDownloadManager__pathForSong                      ; +0x28, 0x10007e2dc\nLDR             S0, [X19,#0x2B0]                                       ; +0x2c, 0x10007e2e0\nMOV             W8, #0x447A0000                                        ; +0x30, 0x10007e2e4\nFMOV            S1, W8                                                 ; +0x34, 0x10007e2e8\nFMUL            S0, S0, S1                                             ; +0x38, 0x10007e2ec\nFCVTZU          W2, S0                                                 ; +0x3c, 0x10007e2f0\nADD             X1, SP, #0x30+__p                                      ; +0x40, 0x10007e2f4\nMOV             X0, X20                                                ; +0x44, 0x10007e2f8\nMOV             W3, #0                                                 ; +0x48, 0x10007e2fc\nBL              FMODAudioEngine__loadAndPlayMusic                      ; +0x4c, 0x10007e300\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x50, 0x10007e304\nTBZ             W8, #0x1F, loc_10007E314                               ; +0x54, 0x10007e308\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x58, 0x10007e30c\nBL              __ZdlPv; operator delete(void *)                       ; +0x5c, 0x10007e310\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x60, 0x10007e314\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x64, 0x10007e318\nADD             SP, SP, #0x40 ; '@'                                    ; +0x68, 0x10007e31c\nRET                                                                    ; +0x6c, 0x10007e320", "xrefs": ["<???> @ 0x10077afe8"], "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"}