//
// sub_1004A0CB0 from 0x1004a0cb0 to 0x1004a0d0e (94 bytes)
//
// 1 xrefs:
// > ??> @ 0x100945c10
//
// 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
//
__int64 __fastcall sub_1004A0CB0(__int64 a1)
{
GameManager *v1; // rax
__int64 v2; // rbx
cocos2d::CCSpriteFrameCache *v3; // rax
cocos2d::CCSpriteFrame *v4; // rax
v1 = GameManager::sharedState();
GameManager::setUGV(v1, "4", 1);
v2 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 88) + 1056LL))(*(_QWORD *)(a1 + 88));
v3 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v4 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v3, "secretDoor_open_001.png");
return (*(__int64 (__fastcall **)(__int64, cocos2d::CCSpriteFrame *))(*(_QWORD *)v2 + 1144LL))(v2, v4);
}