//
// EditorSoundConfigUploadPopup::onClose from 0xcd3d44 to 0xcd3d9c (88 bytes)
//
// 2 xrefs:
// > ??> @ 0xbcb18
// > ??> @ 0x1500048
//
// 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:06:29 +0000
//
__int64 __fastcall EditorSoundConfigUploadPopup::onClose(EditorSoundConfigUploadPopup *this, cocos2d::CCObject *a2)
{
GameLevelManager *v3; // x0
cocos2d::CCObject *v4; // x1
EditorSoundConfigUploadPopup *v5; // x2
__int64 v6; // x0
v3 = (GameLevelManager *)GameLevelManager::sharedState(this);
v4 = a2;
if ( v3 )
{
v5 = *(EditorSoundConfigUploadPopup **)(GameLevelManager::sharedState(v3) + 1320);
v4 = a2;
if ( v5 == (EditorSoundConfigUploadPopup *)((char *)this + 1016) )
{
v6 = GameLevelManager::sharedState((EditorSoundConfigUploadPopup *)((char *)this + 1016));
v4 = a2;
*(_QWORD *)(v6 + 1320) = 0;
}
}
return SetupTriggerPopup::onClose((GameObject **)this, v4);
}