//
// GameManager::setUGV from 0x322de4 to 0x322e66 (130 bytes)
//
// 39 xrefs:
// > PlayLayer::destroyPlayer @ 0x3141b4
// > GameManager::firstLoad @ 0x3244e8
// > GameManager::applicationWillEnterForeground @ 0x3260bc
// > GameManager::applicationWillEnterForeground @ 0x3260e0
// > GameManager::applicationWillEnterForeground @ 0x326104
// > GameManager::applicationWillEnterForeground @ 0x326128
// > GameManager::applicationWillEnterForeground @ 0x32613c
// > GameManager::applicationWillEnterForeground @ 0x326150
// > GameManager::dataLoaded @ 0x328ffc
// > GameManager::dataLoaded @ 0x329008
// > CreatorLayer::dialogClosed @ 0x3aaf0e
// > LevelPage::onTheTower @ 0x4088b8
// > LevelPage::onSecretDoor @ 0x4089fc
// > LevelPage::dialogClosed @ 0x4090b0
// > LevelSelectLayer::init @ 0x409ede
// > TOSPopup::onClose @ 0x4a8fd2
// > SecretLayer::getThreadMessage @ 0x4c9dda
// > GJShopLayer::showReactMessage @ 0x4e2a7e
// > SecretLayer2::dialogClosed @ 0x4eaaf6
// > SecretLayer3::onClick @ 0x4eb6dc
// > SecretLayer3::onClick @ 0x4eb7f6
// > SecretLayer3::onClick @ 0x4eb91a
// > SecretLayer3::onClick @ 0x4ebac8
// > SecretLayer3::onClick @ 0x4ebade
// > SecretLayer2::showSecretLevel @ 0x4ec0d8
// > SecretLayer2::getThreadMessage @ 0x4ec520
// > SecretLayer3::dialogClosed @ 0x4ee422
// > SecretLayer4::showFirstDialog @ 0x4eff78
// > WorldSelectLayer::showCompleteDialog @ 0x4fc6a8
// > LevelAreaLayer::showDialog @ 0x56b59c
// > LevelAreaInnerLayer::showFloor1CompleteDialog @ 0x56b6f0
// > SecretRewardsLayer::dialogClosed @ 0x5857a8
// > SecretRewardsLayer::dialogClosed @ 0x5857c8
// > SecretRewardsLayer::dialogClosed @ 0x5857e8
// > SecretRewardsLayer::showDialog01 @ 0x587c08
// > SecretRewardsLayer::showDialog03 @ 0x588572
// > SecretRewardsLayer::showDialogMechanic @ 0x588d72
// > SecretRewardsLayer::showDialogDiamond @ 0x589494
// > SecretLayer5::showFirstDialog @ 0x59c11c
//
// 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
//
void GameManager::setUGV(GameManager *a1, const char *a2, bool a3)
{
_BOOL4 v5; // r7
cocos2d::CCDictionary *m_unlockValueKeeper; // r8
cocos2d::CCObject *v7; // r7
char *v8; // [sp+4h] [bp-10h] BYREF
_BYTE v9[4]; // [sp+8h] [bp-Ch] BYREF
v5 = a3;
sub_776584((int)&v8, "ugv_");
sub_774544((int)&v8, (char *)a2);
m_unlockValueKeeper = a1->m_unlockValueKeeper;
v7 = (cocos2d::CCObject *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)v5);
sub_776584((int)v9, v8);
cocos2d::CCDictionary::setObject((int)m_unlockValueKeeper, v7);
sub_774008(v9);
sub_774008(&v8);
}