{"type": "func", "start": 5369539040, "end": 5369539222, "name": "CustomSongWidget::getSongInfoIfUnloaded", "pseudocode": "// \n// CustomSongWidget::getSongInfoIfUnloaded from 0x1400ca9e0 to 0x1400caa96 (182 bytes)\n// \n// 3 xrefs:\n// > CustomSongLayer::init @ 0x1400c385d\n// > CustomSongLayer::onSearch @ 0x1400c3d0c\n// > <???> @ 0x1406c82d4\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\n// Hidden C++ exception states: #wind=1\nvoid CustomSongWidget::getSongInfoIfUnloaded(CustomSongWidget *a1)\n{\n  SongInfoObject *m_songInfoObject; // rcx\n  void **p_m_songName; // rcx\n  char v4[8]; // [rsp+20h] [rbp-28h] BYREF\n  __int64 v5; // [rsp+28h] [rbp-20h]\n  __int64 v6; // [rsp+30h] [rbp-18h]\n  __int64 v7; // [rsp+38h] [rbp-10h]\n\n  m_songInfoObject = a1->m_songInfoObject;\n  if ( m_songInfoObject && m_songInfoObject->m_unloaded )\n  {\n    v5 = 0;\n    v6 = 7;\n    v7 = 15;\n    strcpy(v4, \"Loading\");\n    p_m_songName = (void **)&m_songInfoObject->m_songName;\n    if ( p_m_songName != (void **)v4 )\n      sub_14003CCE0(p_m_songName, v4, 7u);\n    sub_14003A830((__int64)v4);\n    CustomSongWidget::updateSongInfo(a1);\n    CustomSongWidget::onGetSongInfo(a1, nullptr);\n  }\n}", "assembly": "; \n; CustomSongWidget::getSongInfoIfUnloaded from 0x1400ca9e0 to 0x1400caa96 (182 bytes)\n; \n; 3 xrefs:\n; > CustomSongLayer::init @ 0x1400c385d\n; > CustomSongLayer::onSearch @ 0x1400c3d0c\n; > <???> @ 0x1406c82d4\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\nmov     r11, rsp                                                       ; +0x0, 0x1400ca9e0\npush    rbx                                                            ; +0x3, 0x1400ca9e3\nsub     rsp, 40h                                                       ; +0x4, 0x1400ca9e4\nmov     rbx, rcx                                                       ; +0x8, 0x1400ca9e8\nmov     rcx, [rcx+150h]                                                ; +0xb, 0x1400ca9eb\ntest    rcx, rcx                                                       ; +0x12, 0x1400ca9f2\njz      loc_1400CAA90                                                  ; +0x15, 0x1400ca9f5\ncmp     byte ptr [rcx+238h], 0                                         ; +0x1b, 0x1400ca9fb\njz      loc_1400CAA90                                                  ; +0x22, 0x1400caa02\nmov     qword ptr [r11-20h], 0                                         ; +0x28, 0x1400caa08\nmov     qword ptr [r11-18h], 7                                         ; +0x30, 0x1400caa10\nmov     qword ptr [r11-10h], 0Fh                                       ; +0x38, 0x1400caa18\nmov     rax, cs:qword_14054F210                                        ; +0x40, 0x1400caa20\nmov     dword ptr [rsp+48h+var_28], eax                                ; +0x47, 0x1400caa27\nmovzx   eax, word ptr cs:qword_14054F210+4                             ; +0x4b, 0x1400caa2b\nmov     word ptr [rsp+48h+var_28+4], ax                                ; +0x52, 0x1400caa32\nmovzx   eax, byte ptr cs:qword_14054F210+6                             ; +0x57, 0x1400caa37\nmov     [rsp+48h+var_28+6], al                                         ; +0x5e, 0x1400caa3e\nmov     [rsp+48h+var_28+7], 0                                          ; +0x62, 0x1400caa42\nlea     rax, [r11-28h]                                                 ; +0x67, 0x1400caa47\nmov     [r11+8], rax                                                   ; +0x6b, 0x1400caa4b\nadd     rcx, 148h; void *                                              ; +0x6f, 0x1400caa4f\nlea     rax, [r11-28h]                                                 ; +0x76, 0x1400caa56\ncmp     rcx, rax                                                       ; +0x7a, 0x1400caa5a\njz      short loc_1400CAA6F                                            ; +0x7d, 0x1400caa5d\nlea     rdx, [r11-28h]; Src                                            ; +0x7f, 0x1400caa5f\nmov     r8d, 7; Size                                                   ; +0x83, 0x1400caa63\ncall    sub_14003CCE0                                                  ; +0x89, 0x1400caa69\nnop                                                                    ; +0x8e, 0x1400caa6e\nlea     rcx, [rsp+48h+var_28]                                          ; +0x8f, 0x1400caa6f\ncall    sub_14003A830                                                  ; +0x94, 0x1400caa74\nmov     rcx, rbx                                                       ; +0x99, 0x1400caa79\ncall    CustomSongWidget__updateSongInfo                               ; +0x9c, 0x1400caa7c\nxor     edx, edx                                                       ; +0xa1, 0x1400caa81\nmov     rcx, rbx                                                       ; +0xa3, 0x1400caa83\nadd     rsp, 40h                                                       ; +0xa6, 0x1400caa86\npop     rbx                                                            ; +0xaa, 0x1400caa8a\njmp     CustomSongWidget__onGetSongInfo                                ; +0xab, 0x1400caa8b\nadd     rsp, 40h                                                       ; +0xb0, 0x1400caa90\npop     rbx                                                            ; +0xb4, 0x1400caa94\nretn                                                                   ; +0xb5, 0x1400caa95", "xrefs": ["CustomSongLayer::init @ 0x1400c385d", "CustomSongLayer::onSearch @ 0x1400c3d0c", "<???> @ 0x1406c82d4"], "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"}