//
// sub_100499C80 from 0x100499c80 to 0x100499cde (94 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b50990
//
// 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:50 +0000
//
__int64 __fastcall sub_100499C80(__int64 a1)
{
__int64 v1; // rax
__int64 v2; // rbx
__int64 v3; // rax
__int64 v4; // rax
v1 = GameManager::sharedState();
GameManager::setUGV(v1, "4");
v2 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 88) + 1072LL))(*(_QWORD *)(a1 + 88));
v3 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v4 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v3, "secretDoor_open_001.png");
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 1160LL))(v2, v4);
}