//
// GameManager::getUGV from 0x71e8a4 to 0x71e9e0 (316 bytes)
//
// 76 xrefs:
// > MenuLayer::init @ 0x6ebf7c
// > PlayLayer::destroyPlayer @ 0x6ffa58
// > GameManager::firstLoad @ 0x71fab4
// > CreatorLayer::onTreasureRoom @ 0x7dc668
// > CreatorLayer::init @ 0x7dd1ac
// > LevelPage::addSecretDoor @ 0x8c6358
// > LevelPage::addSecretDoor @ 0x8c6394
// > LevelPage::addSecretDoor @ 0x8c63c8
// > LevelPage::onTheTower @ 0x8c6598
// > LevelPage::onSecretDoor @ 0x8c6b10
// > LevelPage::onSecretDoor @ 0x8c6c5c
// > SecretLayer::init @ 0xa61da0
// > GauntletSelectLayer::setupGauntlets @ 0xa766dc
// > GJShopLayer::showReactMessage @ 0xa7ddc4
// > GJShopLayer::ccTouchBegan @ 0xa7ed50
// > GJShopLayer::init @ 0xa7f850
// > SecretLayer3::onBack @ 0xa8b150
// > SecretLayer3::onClick @ 0xa8cf98
// > SecretLayer3::onClick @ 0xa8cfac
// > SecretLayer3::onClick @ 0xa8cfc0
// > SecretLayer3::showUnlockDialog @ 0xa8d67c
// > SecretLayer3::showUnlockDialog @ 0xa8d690
// > SecretLayer3::showUnlockDialog @ 0xa8d6a4
// > SecretLayer2::init @ 0xa903d8
// > SecretLayer2::init @ 0xa90958
// > SecretLayer2::init @ 0xa90bd0
// > SecretLayer2::init @ 0xa90be8
// > SecretLayer2::onSubmit @ 0xa9143c
// > SecretLayer2::onSubmit @ 0xa91d00
// > SecretLayer3::init @ 0xa92cf8
// > SecretLayer3::init @ 0xa92d84
// > SecretLayer3::init @ 0xa92ebc
// > SecretLayer3::init @ 0xa92ed4
// > SecretLayer3::init @ 0xa92eec
// > SecretLayer3::init @ 0xa92f00
// > SecretLayer3::init @ 0xa933d0
// > SecretLayer3::init @ 0xa936c4
// > SecretLayer2::onDoor @ 0xa938fc
// > SecretLayer4::init @ 0xa96f80
// > SecretLayer4::init @ 0xa9780c
// > WorldSelectLayer::init @ 0xaa853c
// > FollowRewardPage::updateRate @ 0xaaa610
// > FollowRewardPage::updateRate @ 0xaaa6c0
// > FollowRewardPage::updateRate @ 0xaaa718
// > FollowRewardPage::updateRate @ 0xaaa77c
// > FollowRewardPage::updateRate @ 0xaaa7d4
// > FollowRewardPage::updateRate @ 0xaaa82c
// > FollowRewardPage::updateRate @ 0xaaa884
// > FollowRewardPage::onSpecialItem @ 0xaaada4
// > FollowRewardPage::onSpecialItem @ 0xaaaf24
// > FollowRewardPage::onSpecialItem @ 0xaab00c
// > FollowRewardPage::onSpecialItem @ 0xaab064
// > FollowRewardPage::onSpecialItem @ 0xaab0bc
// > FollowRewardPage::onSpecialItem @ 0xaab104
// > FollowRewardPage::onSpecialItem @ 0xaab14c
// > FollowRewardPage::init @ 0xaab7b0
// > FollowRewardPage::init @ 0xaabbb4
// > FollowRewardPage::init @ 0xaabc88
// > FollowRewardPage::init @ 0xaabd5c
// > FollowRewardPage::init @ 0xaabe1c
// > FollowRewardPage::init @ 0xaabedc
// > FollowRewardPage::init @ 0xaabff0
// > LevelAreaLayer::init @ 0xb5c4c4
// > LevelAreaInnerLayer::init @ 0xb5d254
// > SecretRewardsLayer::showDialog01 @ 0xb9adb8
// > SecretRewardsLayer::showDialog03 @ 0xb9bf38
// > SecretRewardsLayer::showDialogMechanic @ 0xb9ccac
// > SecretRewardsLayer::showDialogDiamond @ 0xb9d988
// > SecretRewardsLayer::onShop @ 0xb9e130
// > SecretRewardsLayer::onShop @ 0xb9e15c
// > SecretRewardsLayer::onShop @ 0xb9e184
// > SecretRewardsLayer::onShop @ 0xb9e1ac
// > SecretRewardsLayer::init @ 0xb9f0c8
// > SecretRewardsLayer::init @ 0xb9f0e8
// > SecretLayer5::init @ 0xbc8b7c
// > ??> @ 0xe32a8
//
// This function is hookable on this platform (idp: arm, 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:52:22 +0000
//
__int64 __fastcall GameManager::getUGV(GameManager *this, char *a2)
{
size_t v4; // x0
const char *v5; // x1
__int64 v6; // x21
size_t v7; // x0
cocos2d::CCString *v8; // x0
unsigned int v9; // w19
char *v11; // [xsp+38h] [xbp+38h]
__int64 v12[2]; // [xsp+48h] [xbp+48h] BYREF
void *v13; // [xsp+58h] [xbp+58h]
__int64 v14[2]; // [xsp+60h] [xbp+60h] BYREF
void *v15; // [xsp+70h] [xbp+70h]
v12[0] = 0;
v12[1] = 0;
v13 = nullptr;
std::string::__init(v12, "ugv_", 4u);
v4 = strlen(a2);
std::string::append((__int64)v12, a2, v4);
v5 = (char *)v12 + 1;
v6 = *((_QWORD *)this + 56);
if ( (v12[0] & 1) != 0 )
v5 = (const char *)v13;
v11 = (char *)v5;
v14[0] = 0;
v14[1] = 0;
v15 = nullptr;
v7 = strlen(v5);
std::string::__init(v14, v11, v7);
v8 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v6, v14);
v9 = cocos2d::CCString::boolValue(v8);
if ( (v14[0] & 1) != 0 )
operator delete(v15);
if ( (v12[0] & 1) != 0 )
operator delete(v13);
return v9;
}