//
// SetupAudioLineGuidePopup::selectSettingClosed from 0x1406070e0 to 0x1406071db (251 bytes)
//
// 2 xrefs:
// > ??> @ 0x14080d268
// > ??> @ 0x14092f9c0
//
// This function is hookable on this platform (idp: pc, 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 11:35:12 +0000
//
// Hidden C++ exception states: #wind=1
double __fastcall SetupAudioLineGuidePopup::selectSettingClosed(__int64 a1, __int64 a2)
{
__int64 v3; // rdx
__int64 v4; // rcx
const char *v5; // rbx
cocos2d::CCSpriteFrameCache *v6; // rax
struct cocos2d::CCSpriteFrame *v7; // rax
_QWORD v9[4]; // [rsp+28h] [rbp-30h] BYREF
SelectSettingLayer::frameForItem((__int64)v9, *(_DWORD *)(a2 + 676), *(_DWORD *)(a2 + 672));
v5 = (const char *)v9;
if ( v9[3] > 0xFu )
v5 = (const char *)v9[0];
v6 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v4, v3);
v7 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v6, v5);
(*(void (__fastcall **)(_QWORD, struct cocos2d::CCSpriteFrame *))(**(_QWORD **)(a1 + 8) + 1008LL))(
*(_QWORD *)(a1 + 8),
v7);
sub_14003D310((__int64)v9);
return SetupTriggerPopup::updateValue(a1 - 1000, 499);
}