// // GameManager::getUGV from 0x5ecd6c to 0x5ecf2c (448 bytes) // // 73 xrefs: // > MenuLayer::init @ 0x5c39dc // > PlayLayer::destroyPlayer @ 0x5d20b8 // > GameManager::firstLoad @ 0x5f0a2c // > CreatorLayer::onTreasureRoom @ 0x6cb2f8 // > CreatorLayer::init @ 0x6cc928 // > LevelPage::onTheTower @ 0x79b604 // > LevelPage::onSecretDoor @ 0x79bdd8 // > LevelPage::onSecretDoor @ 0x79bf24 // > LevelPage::addSecretDoor @ 0x79eea0 // > LevelPage::addSecretDoor @ 0x79eedc // > LevelPage::addSecretDoor @ 0x79ef10 // > SecretLayer::init @ 0x906478 // > GauntletSelectLayer::setupGauntlets @ 0x91c2b8 // > GJShopLayer::showReactMessage @ 0x92c3b4 // > GJShopLayer::init @ 0x92e698 // > GJShopLayer::ccTouchBegan @ 0x92fa64 // > SecretLayer3::showUnlockDialog @ 0x93dde0 // > SecretLayer3::showUnlockDialog @ 0x93ddf4 // > SecretLayer3::showUnlockDialog @ 0x93de08 // > SecretLayer3::onClick @ 0x93ea88 // > SecretLayer3::onClick @ 0x93ea9c // > SecretLayer3::onClick @ 0x93eab0 // > SecretLayer3::onBack @ 0x941b10 // > SecretLayer2::init @ 0x9423f4 // > SecretLayer2::init @ 0x942968 // > SecretLayer2::init @ 0x942bdc // > SecretLayer2::init @ 0x942bf0 // > SecretLayer2::onSubmit @ 0x943488 // > SecretLayer2::onSubmit @ 0x94427c // > SecretLayer3::init @ 0x9454dc // > SecretLayer3::init @ 0x945568 // > SecretLayer3::init @ 0x9456a0 // > SecretLayer3::init @ 0x9456b8 // > SecretLayer3::init @ 0x9456d0 // > SecretLayer3::init @ 0x9456e4 // > SecretLayer3::init @ 0x945b98 // > SecretLayer3::init @ 0x945e68 // > SecretLayer2::onDoor @ 0x946274 // > SecretLayer4::init @ 0x94a960 // > SecretLayer4::init @ 0x94b1d0 // > WorldSelectLayer::init @ 0x961764 // > FollowRewardPage::updateRate @ 0x963028 // > FollowRewardPage::updateRate @ 0x9630dc // > FollowRewardPage::updateRate @ 0x963138 // > FollowRewardPage::updateRate @ 0x963194 // > FollowRewardPage::updateRate @ 0x9631f0 // > FollowRewardPage::updateRate @ 0x96324c // > FollowRewardPage::init @ 0x964030 // > FollowRewardPage::init @ 0x964388 // > FollowRewardPage::init @ 0x964464 // > FollowRewardPage::init @ 0x964540 // > FollowRewardPage::init @ 0x96461c // > FollowRewardPage::init @ 0x9647f4 // > FollowRewardPage::onSpecialItem @ 0x965060 // > FollowRewardPage::onSpecialItem @ 0x9651d4 // > FollowRewardPage::onSpecialItem @ 0x96522c // > FollowRewardPage::onSpecialItem @ 0x96538c // > FollowRewardPage::onSpecialItem @ 0x9653f8 // > FollowRewardPage::onSpecialItem @ 0x965464 // > LevelAreaLayer::init @ 0xa3017c // > LevelAreaInnerLayer::init @ 0xa31034 // > SecretRewardsLayer::init @ 0xa62438 // > SecretRewardsLayer::init @ 0xa62458 // > SecretRewardsLayer::showDialog01 @ 0xa64848 // > SecretRewardsLayer::showDialog03 @ 0xa665e8 // > SecretRewardsLayer::showDialogMechanic @ 0xa67c70 // > SecretRewardsLayer::showDialogDiamond @ 0xa691f0 // > SecretRewardsLayer::onShop @ 0xa69ea4 // > SecretRewardsLayer::onShop @ 0xa69ed0 // > SecretRewardsLayer::onShop @ 0xa69ef8 // > SecretRewardsLayer::onShop @ 0xa69f20 // > SecretLayer5::init @ 0xa96788 // > @ 0xad910 // // 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) { size_t v4; // x0 cocos2d::CCDictionary *m_unlockValueKeeper; // x19 cocos2d::CCString *v6; // x0 bool v7; // w22 char *v8; // x0 char *v9; // x0 unsigned int *v11; // x1 int v12; // w2 unsigned int *v13; // x1 int v14; // w2 char *v15; // [xsp+58h] [xbp+58h] BYREF std::string v16; // [xsp+60h] [xbp+60h] BYREF sub_D153B8((int)&v15, "ugv_"); v4 = strlen(a2); sub_D15FD4(&v15, a2, v4); m_unlockValueKeeper = a1->m_unlockValueKeeper; sub_D153B8((int)&v16, v15); v6 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(m_unlockValueKeeper, &v16); v7 = cocos2d::CCString::boolValue(v6); v8 = (char *)v16.m_data.m_data - 24; if ( (__int64 *)v16.m_data.m_data - 3 != &qword_124B6B0 ) { if ( &pthread_create ) { v11 = (unsigned int *)((char *)v16.m_data.m_data - 8); do v12 = __ldaxr(v11); while ( __stlxr(v12 - 1, v11) ); } else { v12 = *((_DWORD *)v16.m_data.m_data - 2); *((_DWORD *)v16.m_data.m_data - 2) = v12 - 1; } if ( v12 <= 0 ) operator delete(v8); } v9 = v15 - 24; if ( v15 - 24 != (char *)&qword_124B6B0 ) { if ( &pthread_create ) { v13 = (unsigned int *)(v15 - 8); do v14 = __ldaxr(v13); while ( __stlxr(v14 - 1, v13) ); } else { v14 = *((_DWORD *)v15 - 2); *((_DWORD *)v15 - 2) = v14 - 1; } if ( v14 <= 0 ) operator delete(v9); } return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source