//
// SetupAudioLineGuidePopup::selectSettingClosed from 0x100410088 to 0x100410134 (172 bytes)
//
// 2 xrefs:
// > sub_100410150 @ 0x100410154
// > ??> @ 0x10081c0b8
//
// 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 SetupAudioLineGuidePopup::selectSettingClosed(SetupAudioLineGuidePopup *a1, SelectSettingLayer *a2)
{
int SelectedValue; // w20
cocos2d::CCSprite *m_speedSprite; // x21
cocos2d::CCSpriteFrameCache *v6; // x23
void **v7; // x1
cocos2d::CCSpriteFrame *v8; // x0
void *__p[2]; // [xsp+8h] [xbp-48h] BYREF
char v10; // [xsp+1Fh] [xbp-31h]
SelectedValue = SelectSettingLayer::getSelectedValue(a2);
m_speedSprite = a1->m_speedSprite;
v6 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
SelectSettingLayer::getSelectedFrame((__int64)a2, __p);
if ( v10 >= 0 )
v7 = __p;
else
v7 = (void **)__p[0];
v8 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v6, (const char *)v7);
((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::CCSpriteFrame *))m_speedSprite->setDisplayFrame)(
m_speedSprite,
v8);
if ( v10 < 0 )
operator delete(__p[0]);
SetupTriggerPopup::updateValue(a1, 499, (float)SelectedValue);
}