//
// GameManager::getUGV from 0x322e74 to 0x322eec (120 bytes)
//
// 66 xrefs:
// > MenuLayer::init @ 0x30b454
// > PlayLayer::destroyPlayer @ 0x31413e
// > GameManager::firstLoad @ 0x32420a
// > CreatorLayer::onTreasureRoom @ 0x3aac10
// > CreatorLayer::init @ 0x3aba8e
// > LevelPage::onTheTower @ 0x40870e
// > LevelPage::onSecretDoor @ 0x4089de
// > LevelPage::onSecretDoor @ 0x408ac8
// > LevelPage::addSecretDoor @ 0x40acec
// > LevelPage::addSecretDoor @ 0x40acfc
// > LevelPage::addSecretDoor @ 0x40ad2a
// > SecretLayer::init @ 0x4cb4ae
// > GauntletSelectLayer::setupGauntlets @ 0x4d9160
// > GJShopLayer::showReactMessage @ 0x4e2388
// > GJShopLayer::ccTouchBegan @ 0x4e2ee6
// > GJShopLayer::init @ 0x4e38fa
// > SecretLayer3::showUnlockDialog @ 0x4eac70
// > SecretLayer3::showUnlockDialog @ 0x4eac7e
// > SecretLayer3::showUnlockDialog @ 0x4eac8e
// > SecretLayer3::onClick @ 0x4ebd78
// > SecretLayer3::onClick @ 0x4ebd86
// > SecretLayer3::onClick @ 0x4ebd94
// > SecretLayer2::onSubmit @ 0x4ed572
// > SecretLayer2::onSubmit @ 0x4edaaa
// > SecretLayer2::onDoor @ 0x4ede76
// > SecretLayer3::onBack @ 0x4ee0de
// > SecretLayer2::init @ 0x4ee7cc
// > SecretLayer2::init @ 0x4eec50
// > SecretLayer2::init @ 0x4eeed6
// > SecretLayer2::init @ 0x4eeee6
// > SecretLayer3::init @ 0x4ef62a
// > SecretLayer3::init @ 0x4ef68e
// > SecretLayer3::init @ 0x4ef6a0
// > SecretLayer3::init @ 0x4ef760
// > SecretLayer3::init @ 0x4ef7d8
// > SecretLayer3::init @ 0x4ef8b2
// > SecretLayer3::init @ 0x4ef92c
// > SecretLayer3::init @ 0x4efc70
// > SecretLayer4::init @ 0x4f1b60
// > WorldSelectLayer::init @ 0x4fe7a0
// > FollowRewardPage::updateRate @ 0x4ff6d2
// > FollowRewardPage::init @ 0x500090
// > FollowRewardPage::init @ 0x500100
// > FollowRewardPage::init @ 0x500172
// > FollowRewardPage::init @ 0x5001e2
// > FollowRewardPage::init @ 0x500252
// > FollowRewardPage::init @ 0x50032c
// > FollowRewardPage::onSpecialItem @ 0x50063a
// > FollowRewardPage::onSpecialItem @ 0x50066e
// > FollowRewardPage::onSpecialItem @ 0x5006a2
// > FollowRewardPage::onSpecialItem @ 0x5006d6
// > FollowRewardPage::onSpecialItem @ 0x50070a
// > FollowRewardPage::onSpecialItem @ 0x50073e
// > LevelAreaLayer::init @ 0x56cfd8
// > LevelAreaInnerLayer::init @ 0x56d8a6
// > SecretRewardsLayer::init @ 0x585ef6
// > SecretRewardsLayer::init @ 0x585f0c
// > SecretRewardsLayer::showDialog01 @ 0x587504
// > SecretRewardsLayer::showDialog03 @ 0x5880d6
// > SecretRewardsLayer::showDialogMechanic @ 0x5889cc
// > SecretRewardsLayer::showDialogDiamond @ 0x589260
// > SecretRewardsLayer::onShop @ 0x5897ac
// > SecretRewardsLayer::onShop @ 0x5897c4
// > SecretRewardsLayer::onShop @ 0x5897dc
// > SecretRewardsLayer::onShop @ 0x5897f4
// > SecretLayer5::init @ 0x59f70a
//
// 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
//
bool GameManager::getUGV(GameManager *a1, const char *a2)
{
cocos2d::CCDictionary *m_unlockValueKeeper; // r7
cocos2d::CCString *v5; // r0
char *v7; // [sp+4h] [bp-Ch] BYREF
std::string v8; // [sp+8h] [bp-8h] BYREF
v7 = (char *)a2;
sub_776584((int)&v7, "ugv_");
sub_774544((int)&v7, (char *)a2);
m_unlockValueKeeper = a1->m_unlockValueKeeper;
sub_776584((int)&v8, v7);
v5 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(m_unlockValueKeeper, &v8);
LOBYTE(m_unlockValueKeeper) = cocos2d::CCString::boolValue(v5);
sub_774008(&v8);
sub_774008(&v7);
return (char)m_unlockValueKeeper;
}