//
// SecretLayer2::dialogClosed from 0xa8a368 to 0xa8a3d4 (108 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'SecretLayer2::dialogClosed @ 0xa8a3d8
// > ??> @ 0x74980
// > ??> @ 0x1499cd0
//
// 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:00:37 +0000
//
__int64 __fastcall SecretLayer2::dialogClosed(SecretLayer2 *this, DialogLayer *a2)
{
GameManager *v3; // x0
cocos2d::CCSpriteFrameCache **v4; // x19
__int64 (__fastcall *v5)(cocos2d::CCSpriteFrameCache **, __int64); // x20
cocos2d::CCSpriteFrameCache *v6; // x0
__int64 v7; // x0
v3 = (GameManager *)GameManager::sharedState(this);
GameManager::setUGV(v3, &byte_11BCA00, 1u);
v4 = (cocos2d::CCSpriteFrameCache **)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 64) + 1072LL))(*((_QWORD *)this + 64));
v5 = *((__int64 (__fastcall **)(cocos2d::CCSpriteFrameCache **, __int64))*v4 + 145);
v6 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(*v4);
v7 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v6, "secretDoor_open_001.png");
return v5(v4, v7);
}