//
// LevelPage::dialogClosed from 0x100424e30 to 0x100424eb9 (137 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b40f08
//
// This function is hookable on this platform (idp: pc, 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 12:30:17 +0000
//
void __fastcall LevelPage::dialogClosed(__int64 a1, __int64 a2)
{
__int64 v2; // rax
__int64 v3; // rbx
__int64 v4; // rax
__int64 v5; // rax
if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 2 )
{
v2 = GameManager::sharedState();
GameManager::setUGV(v2, "8");
v3 = *(_QWORD *)(a1 + 568);
if ( v3 )
{
v4 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v5 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v4, "secretDoorBtn2_open_001.png");
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 1160LL))(v3, v5);
}
}
else if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 1 )
{
LevelPage::onTheTower(a1);
}
}