//
// EditorPauseLayer::updateSongButton from 0x1400dd5c0 to 0x1400dd66b (171 bytes)
//
// 3 xrefs:
// > EditorPauseLayer::customSetup @ 0x1400daa05
// > EditorPauseLayer::onSong @ 0x1400dd5ac
// > ??> @ 0x1406c8a18
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
// Hidden C++ exception states: #wind=1
void EditorPauseLayer::updateSongButton(EditorPauseLayer *a1)
{
__int64 v2; // rbx
char v3; // bl
void *v4; // [rsp+30h] [rbp+8h]
v2 = qword_1406C2ED8;
if ( !qword_1406C2ED8 )
{
v4 = operator new(0x668u);
qword_1406C2ED8 = sub_14017AB00(v4);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);
v2 = qword_1406C2ED8;
}
v3 = *(_BYTE *)(v2 + 913);
a1->m_guidelinesOffButton->setVisible(a1->m_guidelinesOffButton, v3);
a1->m_guidelinesOffButton->setEnabled(a1->m_guidelinesOffButton, v3);
v3 = v3 == 0;
a1->m_guidelinesOnButton->setVisible(a1->m_guidelinesOnButton, v3);
a1->m_guidelinesOnButton->setEnabled(a1->m_guidelinesOnButton, v3);
}