//
// ConfigureHSVWidget::onClose from 0x4b69dc to 0x4b6a1a (62 bytes)
//
// 1 xrefs:
// > HSVWidgetPopup::onClose @ 0x4b6a24
//
// 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 ConfigureHSVWidget::onClose(ConfigureHSVWidget *a1)
{
cocos2d::CCDictionary *m_inputs; // r3
cocos2d::CCDictElement *m_pElements; // r3
cocos2d::CCDictElement *next; // r4
_DWORD *v4; // r5
cocos2d::CCDictElement *v5; // r2
m_inputs = a1->m_inputs;
if ( m_inputs )
{
m_pElements = m_inputs->m_pElements;
if ( m_pElements )
next = (cocos2d::CCDictElement *)m_pElements->hh.next;
else
next = nullptr;
while ( m_pElements )
{
v4 = &m_pElements->m_pObject->__vftable;
(*(void (__fastcall **)(_DWORD *, _DWORD))(*v4 + 572))(v4, 0);
v4[96] = 0;
if ( next )
v5 = (cocos2d::CCDictElement *)next->hh.next;
else
v5 = nullptr;
m_pElements = next;
next = v5;
}
}
}