//
// SelectSettingLayer::onSelect from 0x10017d4d4 to 0x10017d594 (192 bytes)
//
// 2 xrefs:
// > SelectSettingLayer::init @ 0x10017d41c
// > SelectSettingLayer::init @ 0x10017d1fc
//
// 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 SelectSettingLayer::onSelect(SelectSettingLayer *a1, cocos2d::CCObject *a2)
{
__int64 v3; // x20
__int64 v4; // x0
_WORD v5[2]; // [xsp+Ch] [xbp-34h] BYREF
if ( a2 )
a1->m_settingID = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2);
if ( (unsigned int)sub_10024A36C(a1->m_settingSprites) )
{
v3 = 0;
do
{
v4 = sub_10024A388(a1->m_settingSprites, v3);
if ( (_DWORD)v3 != a1->m_settingID )
memset(v5, 125, 3);
(*(void (**)(void))(*(_QWORD *)v4 + 944LL))();
v3 = (unsigned int)(v3 + 1);
}
while ( (unsigned int)v3 < (unsigned int)sub_10024A36C(a1->m_settingSprites) );
}
}