{"type": "func", "start": 4302277200, "end": 4302277332, "name": "CustomSongWidget::onGetSongInfo", "pseudocode": "// \n// CustomSongWidget::onGetSongInfo from 0x1006f8a50 to 0x1006f8ad4 (132 bytes)\n// \n// 2 xrefs:\n// > LevelInfoLayer::init @ 0x1002abc61\n// > CustomSongWidget::init @ 0x1006f787d\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::onGetSongInfo(__int64 a1)\n{\n  __int64 v2; // rdi\n  __int64 v3; // rax\n  __int64 result; // rax\n\n  if ( *(_QWORD *)(a1 + 336) )\n  {\n    (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 376) + 344LL))(*(_QWORD *)(a1 + 376), 0);\n    v2 = *(_QWORD *)(a1 + 480);\n    if ( v2 )\n      (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 344LL))(v2, 0);\n    v3 = MusicDownloadManager::sharedState();\n    MusicDownloadManager::getSongInfo(v3, *(_DWORD *)(a1 + 504), 0);\n    (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 408) + 960LL))(*(_QWORD *)(a1 + 408), &unk_100A11C36);\n    return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 408) + 1056LL))(*(_QWORD *)(a1 + 408), 0);\n  }\n  return result;\n}", "assembly": "; \n; CustomSongWidget::onGetSongInfo from 0x1006f8a50 to 0x1006f8ad4 (132 bytes)\n; \n; 2 xrefs:\n; > LevelInfoLayer::init @ 0x1002abc61\n; > CustomSongWidget::init @ 0x1006f787d\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; \ncmp     qword ptr [rdi+150h], 0                                        ; +0x0, 0x1006f8a50\njz      short locret_1006F8AD3                                         ; +0x8, 0x1006f8a58\npush    rbp                                                            ; +0xa, 0x1006f8a5a\nmov     rbp, rsp                                                       ; +0xb, 0x1006f8a5b\npush    rbx                                                            ; +0xe, 0x1006f8a5e\npush    rax                                                            ; +0xf, 0x1006f8a5f\nmov     rbx, rdi                                                       ; +0x10, 0x1006f8a60\nmov     rdi, [rdi+178h]                                                ; +0x13, 0x1006f8a63\nmov     rax, [rdi]                                                     ; +0x1a, 0x1006f8a6a\nxor     esi, esi                                                       ; +0x1d, 0x1006f8a6d\ncall    qword ptr [rax+158h]                                           ; +0x1f, 0x1006f8a6f\nmov     rdi, [rbx+1E0h]                                                ; +0x25, 0x1006f8a75\ntest    rdi, rdi                                                       ; +0x2c, 0x1006f8a7c\njz      short loc_1006F8A8C                                            ; +0x2f, 0x1006f8a7f\nmov     rax, [rdi]                                                     ; +0x31, 0x1006f8a81\nxor     esi, esi                                                       ; +0x34, 0x1006f8a84\ncall    qword ptr [rax+158h]                                           ; +0x36, 0x1006f8a86\ncall    MusicDownloadManager__sharedState                              ; +0x3c, 0x1006f8a8c\nmov     esi, [rbx+1F8h]                                                ; +0x41, 0x1006f8a91\nmov     rdi, rax                                                       ; +0x47, 0x1006f8a97\nxor     edx, edx                                                       ; +0x4a, 0x1006f8a9a\ncall    MusicDownloadManager__getSongInfo                              ; +0x4c, 0x1006f8a9c\nmov     rdi, [rbx+198h]                                                ; +0x51, 0x1006f8aa1\nmov     rax, [rdi]                                                     ; +0x58, 0x1006f8aa8\nlea     rsi, unk_100A11C36                                             ; +0x5b, 0x1006f8aab\ncall    qword ptr [rax+3C0h]                                           ; +0x62, 0x1006f8ab2\nmov     rdi, [rbx+198h]                                                ; +0x68, 0x1006f8ab8\nmov     rax, [rdi]                                                     ; +0x6f, 0x1006f8abf\nmov     rax, [rax+420h]                                                ; +0x72, 0x1006f8ac2\nxor     esi, esi                                                       ; +0x79, 0x1006f8ac9\nadd     rsp, 8                                                         ; +0x7b, 0x1006f8acb\npop     rbx                                                            ; +0x7f, 0x1006f8acf\npop     rbp                                                            ; +0x80, 0x1006f8ad0\njmp     rax                                                            ; +0x81, 0x1006f8ad1\nretn                                                                   ; +0x83, 0x1006f8ad3", "xrefs": ["LevelInfoLayer::init @ 0x1002abc61", "CustomSongWidget::init @ 0x1006f787d"], "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"}