//
// SetupArtSwitchPopup::selectArtClosed from 0x6b3600 to 0x6b3682 (130 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'SetupArtSwitchPopup::selectArtClosed @ 0x6b368c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:56:41 +0000
//
int __fastcall SetupArtSwitchPopup::selectArtClosed(SetupArtSwitchPopup *this, SelectArtLayer *a2, char *a3, int a4)
{
const char *v5; // r8
cocos2d::CCSpriteFrameCache *updated; // r0
int v7; // r6
void (__fastcall *v8)(int, int); // r9
cocos2d::CCSpriteFrameCache *v9; // r10
char *v10; // r1
int v11; // r0
int v13[2]; // [sp+0h] [bp-10h] BYREF
char *v14; // [sp+8h] [bp-8h]
int v15; // [sp+Ch] [bp-4h]
v13[0] = (int)this;
v13[1] = (int)a2;
v14 = a3;
v15 = a4;
v5 = *((const char **)a2 + 132);
updated = (cocos2d::CCSpriteFrameCache *)SetupTriggerPopup::updateValue(
(cocos2d::CCDictionary **)this,
533,
(float)(int)v5);
v7 = *((_DWORD *)this + 180);
v8 = *(void (__fastcall **)(int, int))(*(_DWORD *)v7 + 580);
v9 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(updated);
artIconForKey(v13, v5, *((_DWORD *)this + 179));
if ( (v13[0] & 1) != 0 )
v10 = v14;
else
v10 = (char *)v13 + 1;
v11 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v9, v10);
v8(v7, v11);
return std::string::~string((int)v13);
}