//
// SecretLayer2::dialogClosed from 0x10030c4d0 to 0x10030c534 (100 bytes)
//
// 2 xrefs:
// > sub_10030C534 @ 0x10030c538
// > ??> @ 0x1007edb08
//
// 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 SecretLayer2::dialogClosed(SecretLayer2 *a1, DialogLayer *a2)
{
GameManager *v3; // x0
__int64 v4; // x19
cocos2d::CCSpriteFrameCache *v5; // x0
cocos2d::CCSpriteFrame *v6; // x1
v3 = GameManager::sharedState();
GameManager::setUGV(v3, "4", 1);
v4 = ((__int64 (__fastcall *)(CCMenuItemSpriteExtra *))a1->m_secretDoorButton->getNormalImage)(a1->m_secretDoorButton);
v5 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v6 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v5, "secretDoor_open_001.png");
(*(void (__fastcall **)(__int64, cocos2d::CCSpriteFrame *))(*(_QWORD *)v4 + 1144LL))(v4, v6);
}