//
// ColorSelectLiveOverlay::keyBackClicked from 0x14008d270 to 0x14008d2ba (74 bytes)
//
// 2 xrefs:
// > ??> @ 0x14053ebd8
// > ??> @ 0x1406c6e70
//
// 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
//
void ColorSelectLiveOverlay::keyBackClicked(ColorSelectLiveOverlay *a1)
{
ColorSelectLiveOverlay *v1; // rbx
_BOOL8 v2; // rdx
ColorSelectDelegate *m_delegate; // rcx
v1 = (ColorSelectLiveOverlay *)((char *)a1 - 336);
BYTE1(a1[-1].m_pSquareColors[53].r) = 0;
v1->setKeypadEnabled(v1, 0);
m_delegate = v1->m_delegate;
if ( m_delegate )
m_delegate->colorSelectClosed(m_delegate, v1);
LOBYTE(v2) = 1;
v1->removeFromParentAndCleanup(v1, v2);
}