//
// SelectSFXSortLayer::onSelect from 0x100441650 to 0x1004416a4 (84 bytes)
//
// 1 xrefs:
// > SelectSFXSortLayer::init @ 0x100441534
//
// 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 __fastcall SelectSFXSortLayer::onSelect(SelectSFXSortLayer *a1, cocos2d::CCObject *a2)
{
SelectSFXSortDelegate *m_delegate; // rdi
a1->m_sortType = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2);
m_delegate = a1->m_delegate;
if ( m_delegate )
((void (__fastcall *)(SelectSFXSortDelegate *, SelectSFXSortLayer *))m_delegate->sortSelectClosed)(m_delegate, a1);
((void (__fastcall *)(SelectSFXSortLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0);
((void (__fastcall *)(SelectSFXSortLayer *, __int64))a1->removeFromParentAndCleanup)(a1, 1);
}