{"type": "func", "start": 4302277104, "end": 4302277191, "name": "CustomSongWidget::onSelect", "pseudocode": "// \n// CustomSongWidget::onSelect from 0x1006f89f0 to 0x1006f8a47 (87 bytes)\n// \n// 1 xrefs:\n// > CustomSongWidget::init @ 0x1006f782c\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:35:54 +0000\n// \n\n__int64 __fastcall CustomSongWidget::onSelect(__int64 a1)\n{\n  __int64 result; // rax\n  void (__fastcall ***v3)(_QWORD, _QWORD); // rdi\n  __int64 v4; // rax\n\n  result = *(_QWORD *)(a1 + 336);\n  if ( result )\n  {\n    v3 = *(void (__fastcall ****)(_QWORD, _QWORD))(a1 + 488);\n    if ( v3 )\n      (**v3)(v3, *(unsigned int *)(result + 316));\n    result = CustomSongWidget::updateSongInfo(a1);\n    if ( *(_BYTE *)(a1 + 512) == 1 )\n    {\n      v4 = MusicDownloadManager::sharedState();\n      return MusicDownloadManager::songStateChanged(v4);\n    }\n  }\n  return result;\n}", "assembly": "; \n; CustomSongWidget::onSelect from 0x1006f89f0 to 0x1006f8a47 (87 bytes)\n; \n; 1 xrefs:\n; > CustomSongWidget::init @ 0x1006f782c\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:35:54 +0000\n; \npush    rbp                                                            ; +0x0, 0x1006f89f0\nmov     rbp, rsp                                                       ; +0x1, 0x1006f89f1\npush    rbx                                                            ; +0x4, 0x1006f89f4\npush    rax                                                            ; +0x5, 0x1006f89f5\nmov     rax, [rdi+150h]                                                ; +0x6, 0x1006f89f6\ntest    rax, rax                                                       ; +0xd, 0x1006f89fd\njz      short loc_1006F8A40                                            ; +0x10, 0x1006f8a00\nmov     rbx, rdi                                                       ; +0x12, 0x1006f8a02\nmov     rdi, [rdi+1E8h]                                                ; +0x15, 0x1006f8a05\ntest    rdi, rdi                                                       ; +0x1c, 0x1006f8a0c\njz      short loc_1006F8A1C                                            ; +0x1f, 0x1006f8a0f\nmov     esi, [rax+13Ch]                                                ; +0x21, 0x1006f8a11\nmov     rax, [rdi]                                                     ; +0x27, 0x1006f8a17\ncall    qword ptr [rax]                                                ; +0x2a, 0x1006f8a1a\nmov     rdi, rbx                                                       ; +0x2c, 0x1006f8a1c\ncall    CustomSongWidget__updateSongInfo                               ; +0x2f, 0x1006f8a1f\ncmp     byte ptr [rbx+200h], 1                                         ; +0x34, 0x1006f8a24\njnz     short loc_1006F8A40                                            ; +0x3b, 0x1006f8a2b\ncall    MusicDownloadManager__sharedState                              ; +0x3d, 0x1006f8a2d\nmov     rdi, rax                                                       ; +0x42, 0x1006f8a32\nadd     rsp, 8                                                         ; +0x45, 0x1006f8a35\npop     rbx                                                            ; +0x49, 0x1006f8a39\npop     rbp                                                            ; +0x4a, 0x1006f8a3a\njmp     MusicDownloadManager__songStateChanged                         ; +0x4b, 0x1006f8a3b\nadd     rsp, 8                                                         ; +0x50, 0x1006f8a40\npop     rbx                                                            ; +0x54, 0x1006f8a44\npop     rbp                                                            ; +0x55, 0x1006f8a45\nretn                                                                   ; +0x56, 0x1006f8a46", "xrefs": ["CustomSongWidget::init @ 0x1006f782c"], "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"}