{"type": "func", "start": 5369615808, "end": 5369615979, "name": "EditorPauseLayer::updateSongButton", "pseudocode": "// \n// EditorPauseLayer::updateSongButton from 0x1400dd5c0 to 0x1400dd66b (171 bytes)\n// \n// 3 xrefs:\n// > EditorPauseLayer::customSetup @ 0x1400daa05\n// > EditorPauseLayer::onSong @ 0x1400dd5ac\n// > <???> @ 0x1406c8a18\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 EditorPauseLayer::updateSongButton(EditorPauseLayer *a1)\n{\n  __int64 v2; // rbx\n  char v3; // bl\n  void *v4; // [rsp+30h] [rbp+8h]\n\n  v2 = qword_1406C2ED8;\n  if ( !qword_1406C2ED8 )\n  {\n    v4 = operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00(v4);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    v2 = qword_1406C2ED8;\n  }\n  v3 = *(_BYTE *)(v2 + 913);\n  a1->m_guidelinesOffButton->setVisible(a1->m_guidelinesOffButton, v3);\n  a1->m_guidelinesOffButton->setEnabled(a1->m_guidelinesOffButton, v3);\n  v3 = v3 == 0;\n  a1->m_guidelinesOnButton->setVisible(a1->m_guidelinesOnButton, v3);\n  a1->m_guidelinesOnButton->setEnabled(a1->m_guidelinesOnButton, v3);\n}", "assembly": "; \n; EditorPauseLayer::updateSongButton from 0x1400dd5c0 to 0x1400dd66b (171 bytes)\n; \n; 3 xrefs:\n; > EditorPauseLayer::customSetup @ 0x1400daa05\n; > EditorPauseLayer::onSong @ 0x1400dd5ac\n; > <???> @ 0x1406c8a18\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_8], rbx                                               ; +0x0, 0x1400dd5c0\npush    rdi                                                            ; +0x5, 0x1400dd5c5\nsub     rsp, 20h                                                       ; +0x6, 0x1400dd5c6\nmov     rdi, rcx                                                       ; +0xa, 0x1400dd5ca\nmov     rbx, cs:qword_1406C2ED8                                        ; +0xd, 0x1400dd5cd\ntest    rbx, rbx                                                       ; +0x14, 0x1400dd5d4\njnz     short loc_1400DD608                                            ; +0x17, 0x1400dd5d7\nmov     ecx, 668h; Size                                                ; +0x19, 0x1400dd5d9\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1e, 0x1400dd5de\nmov     [rsp+28h+arg_0], rax                                           ; +0x23, 0x1400dd5e3\nmov     rcx, rax                                                       ; +0x28, 0x1400dd5e8\ncall    sub_14017AB00                                                  ; +0x2b, 0x1400dd5eb\nnop                                                                    ; +0x30, 0x1400dd5f0\nmov     cs:qword_1406C2ED8, rax                                        ; +0x31, 0x1400dd5f1\nmov     rdx, [rax]                                                     ; +0x38, 0x1400dd5f8\nmov     rcx, rax                                                       ; +0x3b, 0x1400dd5fb\ncall    qword ptr [rdx+48h]                                            ; +0x3e, 0x1400dd5fe\nmov     rbx, cs:qword_1406C2ED8                                        ; +0x41, 0x1400dd601\nmovzx   ebx, byte ptr [rbx+391h]                                       ; +0x48, 0x1400dd608\nmov     rcx, [rdi+238h]                                                ; +0x4f, 0x1400dd60f\nmov     rax, [rcx]                                                     ; +0x56, 0x1400dd616\nmovzx   edx, bl                                                        ; +0x59, 0x1400dd619\ncall    qword ptr [rax+140h]                                           ; +0x5c, 0x1400dd61c\nmov     rcx, [rdi+238h]                                                ; +0x62, 0x1400dd622\nmov     rax, [rcx]                                                     ; +0x69, 0x1400dd629\nmovzx   edx, bl                                                        ; +0x6c, 0x1400dd62c\ncall    qword ptr [rax+398h]                                           ; +0x6f, 0x1400dd62f\nmov     rcx, [rdi+240h]                                                ; +0x75, 0x1400dd635\ntest    bl, bl                                                         ; +0x7c, 0x1400dd63c\nsetz    bl                                                             ; +0x7e, 0x1400dd63e\nmov     rax, [rcx]                                                     ; +0x81, 0x1400dd641\nmovzx   edx, bl                                                        ; +0x84, 0x1400dd644\ncall    qword ptr [rax+140h]                                           ; +0x87, 0x1400dd647\nmov     rcx, [rdi+240h]                                                ; +0x8d, 0x1400dd64d\nmov     rax, [rcx]                                                     ; +0x94, 0x1400dd654\nmovzx   edx, bl                                                        ; +0x97, 0x1400dd657\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x9a, 0x1400dd65a\nadd     rsp, 20h                                                       ; +0x9f, 0x1400dd65f\npop     rdi                                                            ; +0xa3, 0x1400dd663\njmp     qword ptr [rax+398h]                                           ; +0xa4, 0x1400dd664", "xrefs": ["EditorPauseLayer::customSetup @ 0x1400daa05", "EditorPauseLayer::onSong @ 0x1400dd5ac", "<???> @ 0x1406c8a18"], "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"}