{"type": "func", "start": 5369526928, "end": 5369527065, "name": "SongSelectNode::updateWidgetVisibility", "pseudocode": "// \n// SongSelectNode::updateWidgetVisibility from 0x1400c7a90 to 0x1400c7b19 (137 bytes)\n// \n// 3 xrefs:\n// > SongSelectNode::onSongMode @ 0x1400c7a80\n// > SetupSongTriggerPopup::pageChanged @ 0x14045dd0a\n// > <???> @ 0x1406c8220\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 SongSelectNode::updateWidgetVisibility(SongSelectNode *a1)\n{\n  _BOOL8 v1; // rdx\n  int m_selectedSongID; // ebx\n  _BOOL8 v4; // rdx\n  _BOOL8 v5; // rdx\n\n  if ( !a1->m_isCustomSong )\n  {\n    m_selectedSongID = 0;\n    goto LABEL_5;\n  }\n  m_selectedSongID = a1->m_selectedSongID;\n  if ( !m_selectedSongID )\n  {\nLABEL_5:\n    v1 = 0;\n    goto LABEL_6;\n  }\n  LOBYTE(v1) = 1;\nLABEL_6:\n  a1->m_songWidget->setVisible(a1->m_songWidget, v1);\n  if ( !a1->m_isCustomSong || m_selectedSongID )\n    v4 = 0;\n  else\n    LOBYTE(v4) = 1;\n  a1->m_selectButton->setVisible(a1->m_selectButton, v4);\n  if ( a1->m_isCustomSong && m_selectedSongID )\n    LOBYTE(v5) = 1;\n  else\n    v5 = 0;\n  a1->m_changeButton->setVisible(a1->m_changeButton, v5);\n}", "assembly": "; \n; SongSelectNode::updateWidgetVisibility from 0x1400c7a90 to 0x1400c7b19 (137 bytes)\n; \n; 3 xrefs:\n; > SongSelectNode::onSongMode @ 0x1400c7a80\n; > SetupSongTriggerPopup::pageChanged @ 0x14045dd0a\n; > <???> @ 0x1406c8220\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     [rsp+arg_0], rbx                                               ; +0x0, 0x1400c7a90\npush    rdi                                                            ; +0x5, 0x1400c7a95\nsub     rsp, 20h                                                       ; +0x6, 0x1400c7a96\ncmp     byte ptr [rcx+15Ch], 0                                         ; +0xa, 0x1400c7a9a\nmov     rdi, rcx                                                       ; +0x11, 0x1400c7aa1\njz      short loc_1400C7AB4                                            ; +0x14, 0x1400c7aa4\nmov     ebx, [rcx+158h]                                                ; +0x16, 0x1400c7aa6\ntest    ebx, ebx                                                       ; +0x1c, 0x1400c7aac\njz      short loc_1400C7AB6                                            ; +0x1e, 0x1400c7aae\nmov     dl, 1                                                          ; +0x20, 0x1400c7ab0\njmp     short loc_1400C7AB8                                            ; +0x22, 0x1400c7ab2\nxor     ebx, ebx                                                       ; +0x24, 0x1400c7ab4\nxor     edx, edx                                                       ; +0x26, 0x1400c7ab6\nmov     rcx, [rcx+1A0h]                                                ; +0x28, 0x1400c7ab8\nmov     rax, [rcx]                                                     ; +0x2f, 0x1400c7abf\ncall    qword ptr [rax+140h]                                           ; +0x32, 0x1400c7ac2\ncmp     byte ptr [rdi+15Ch], 0                                         ; +0x38, 0x1400c7ac8\njz      short loc_1400C7AD9                                            ; +0x3f, 0x1400c7acf\ntest    ebx, ebx                                                       ; +0x41, 0x1400c7ad1\njnz     short loc_1400C7AD9                                            ; +0x43, 0x1400c7ad3\nmov     dl, 1                                                          ; +0x45, 0x1400c7ad5\njmp     short loc_1400C7ADB                                            ; +0x47, 0x1400c7ad7\nxor     edx, edx                                                       ; +0x49, 0x1400c7ad9\nmov     rcx, [rdi+190h]                                                ; +0x4b, 0x1400c7adb\nmov     rax, [rcx]                                                     ; +0x52, 0x1400c7ae2\ncall    qword ptr [rax+140h]                                           ; +0x55, 0x1400c7ae5\ncmp     byte ptr [rdi+15Ch], 0                                         ; +0x5b, 0x1400c7aeb\njz      short loc_1400C7AFC                                            ; +0x62, 0x1400c7af2\ntest    ebx, ebx                                                       ; +0x64, 0x1400c7af4\njz      short loc_1400C7AFC                                            ; +0x66, 0x1400c7af6\nmov     dl, 1                                                          ; +0x68, 0x1400c7af8\njmp     short loc_1400C7AFE                                            ; +0x6a, 0x1400c7afa\nxor     edx, edx                                                       ; +0x6c, 0x1400c7afc\nmov     rcx, [rdi+198h]                                                ; +0x6e, 0x1400c7afe\nmov     rax, [rcx]                                                     ; +0x75, 0x1400c7b05\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x78, 0x1400c7b08\nadd     rsp, 20h                                                       ; +0x7d, 0x1400c7b0d\npop     rdi                                                            ; +0x81, 0x1400c7b11\njmp     qword ptr [rax+140h]                                           ; +0x82, 0x1400c7b12", "xrefs": ["SongSelectNode::onSongMode @ 0x1400c7a80", "SetupSongTriggerPopup::pageChanged @ 0x14045dd0a", "<???> @ 0x1406c8220"], "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"}