//
// SetupAudioLineGuidePopup::selectSettingClosed from 0xb71a14 to 0xb71b08 (244 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'SetupAudioLineGuidePopup::selectSettingClosed @ 0xb71b0c
// > ??> @ 0xe9c38
// > ??> @ 0x14d1a70
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:02:21 +0000
//
__int64 __fastcall SetupAudioLineGuidePopup::selectSettingClosed(
SetupAudioLineGuidePopup *this,
SelectSettingLayer *a2)
{
int SelectedValue; // w0
cocos2d::CCSpriteFrameCache **v4; // x22
int v5; // w23
void (__fastcall *v6)(cocos2d::CCSpriteFrameCache **, __int64); // x24
cocos2d::CCSpriteFrameCache *v7; // x25
char *v8; // x1
__int64 v9; // x0
__int64 v12[2]; // [xsp+60h] [xbp+60h] BYREF
char *v13; // [xsp+70h] [xbp+70h]
SelectedValue = SelectSettingLayer::getSelectedValue(a2);
v4 = *((cocos2d::CCSpriteFrameCache ***)this + 128);
v5 = SelectedValue;
v6 = *((void (__fastcall **)(cocos2d::CCSpriteFrameCache **, __int64))*v4 + 145);
v7 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(*v4);
SelectSettingLayer::getSelectedFrame(a2, v12);
v8 = (char *)v12 + 1;
if ( (v12[0] & 1) != 0 )
v8 = v13;
v9 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v7, v8);
v6(v4, v9);
if ( (v12[0] & 1) != 0 )
operator delete(v13);
SetupTriggerPopup::updateValue((cocos2d::CCDictionary **)this, 0x1F3u, (float)v5);
return _stack_chk_guard;
}