{"type": "func", "start": 4300266112, "end": 4300266174, "name": "FindBPMLayer::onClose", "pseudocode": "// \n// FindBPMLayer::onClose from 0x10050da80 to 0x10050dabe (62 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x10095c888\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::onClose(FindBPMLayer *a1, cocos2d::CCObject *a2)\n{\n  MusicDownloadManager *v2; // rax\n\n  v2 = MusicDownloadManager::sharedState();\n  MusicDownloadManager::songStateChanged(v2);\n  ((void (__fastcall *)(FindBPMLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0);\n  ((void (__fastcall *)(FindBPMLayer *, __int64))a1->removeFromParentAndCleanup)(a1, 1);\n}", "assembly": "; \n; FindBPMLayer::onClose from 0x10050da80 to 0x10050dabe (62 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x10095c888\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, 0x10050da80\nmov     rbp, rsp                                                       ; +0x1, 0x10050da81\npush    rbx                                                            ; +0x4, 0x10050da84\npush    rax                                                            ; +0x5, 0x10050da85\nmov     rbx, rdi                                                       ; +0x6, 0x10050da86\ncall    MusicDownloadManager__sharedState                              ; +0x9, 0x10050da89\nmov     rdi, rax                                                       ; +0xe, 0x10050da8e\ncall    MusicDownloadManager__songStateChanged                         ; +0x11, 0x10050da91\nmov     rax, [rbx]                                                     ; +0x16, 0x10050da96\nmov     rdi, rbx                                                       ; +0x19, 0x10050da99\nxor     esi, esi                                                       ; +0x1c, 0x10050da9c\ncall    qword ptr [rax+420h]                                           ; +0x1e, 0x10050da9e\nmov     rax, [rbx]                                                     ; +0x24, 0x10050daa4\nmov     rax, [rax+200h]                                                ; +0x27, 0x10050daa7\nmov     rdi, rbx                                                       ; +0x2e, 0x10050daae\nmov     esi, 1                                                         ; +0x31, 0x10050dab1\nadd     rsp, 8                                                         ; +0x36, 0x10050dab6\npop     rbx                                                            ; +0x3a, 0x10050daba\npop     rbp                                                            ; +0x3b, 0x10050dabb\njmp     rax                                                            ; +0x3c, 0x10050dabc", "xrefs": ["<???> @ 0x10095c888"], "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"}