//
// SecretLayer2::dialogClosed from 0x1003a91e8 to 0x1003a924c (100 bytes)
//
// 2 xrefs:
// > sub_1003A924C @ 0x1003a9250
// > ??> @ 0x100945de8
//
// 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 11:03:50 +0000
//
__int64 __fastcall SecretLayer2::dialogClosed(__int64 a1)
{
__int64 v2; // x0
__int64 v3; // x19
__int64 v4; // x0
__int64 v5; // x1
v2 = GameManager::sharedState(a1);
GameManager::setUGV(v2, "4", 1);
v3 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 512) + 1072LL))(*(_QWORD *)(a1 + 512));
v4 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v3);
v5 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v4, "secretDoor_open_001.png");
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 1160LL))(v3, v5);
}