//
// sub_774DBC from 0x774dbc to 0x774ddc (32 bytes)
//
// 259 xrefs:
// > AchievementManager::reportPlatformAchievementWithID @ 0x2da7aa
// > GameCell::loadFromString @ 0x2e17fe
// > GameCell::loadFromString @ 0x2e1828
// > GameCell::loadFromString @ 0x2e1852
// > GameCell::loadFromString @ 0x2e187c
// > GameCell::loadFromString @ 0x2e18a6
// > ButtonSprite::init @ 0x2e3aac
// > CCAnimatedSprite::loadType @ 0x2e3dcc
// > CCAnimatedSprite::tweenToAnimation @ 0x2e4412
// > CCSpritePart::frameChanged @ 0x2e72ee
// > CCPartAnimSprite::initWithAnimDesc @ 0x2e7944
// > FileSaveManager::firstLoad @ 0x2eaaa4
// > GameToolbox::getResponse @ 0x2ebe44
// > std::_Rb_tree,std::_Select1st>,std::less,std::allocator>>::_M_get_insert_unique_pos @ 0x2ee8f2
// > std::_Rb_tree,std::_Select1st>,std::less,std::allocator>>::_M_get_insert_unique_pos @ 0x2ee926
// > GameToolbox::stringSetupToMap @ 0x2ee9ce
// > GameToolbox::stringSetupToMap @ 0x2ee9ec
// > GameToolbox::stringSetupToMap @ 0x2eea20
// > GameToolbox::stringSetupToMap @ 0x2eea3e
// > GameToolbox::stringSetupToMap @ 0x2eea64
// > GameToolbox::stringSetupToMap @ 0x2eeae0
// > GameToolbox::stringSetupToMap @ 0x2eeb02
// > GameToolbox::stringSetupToMap @ 0x2eeb20
// > ObjectManager::setup @ 0x2f1c90
// > ObjectManager::replaceAllOccurencesOfString @ 0x2f1ffe
// > SpriteAnimationManager::callAnimationFinished @ 0x2f2e3e
// > SpriteAnimationManager::overridePrio @ 0x2f35c2
// > SpriteAnimationManager::executeAnimation @ 0x2f36ec
// > SpriteAnimationManager::executeAnimation @ 0x2f37bc
// > SpriteAnimationManager::runAnimation @ 0x2f3882
// > SpriteAnimationManager::runQueuedAnimation @ 0x2f3960
// > SpriteAnimationManager::finishAnimation @ 0x2f39cc
// > SpriteAnimationManager::finishAnimation @ 0x2f39e2
// > SpriteAnimationManager::loadAnimations @ 0x2f3c96
// > TextArea::setString @ 0x2f431a
// > CCTextInputNode::updateDefaultFontValues @ 0x2fa144
// > CCTextInputNode::refreshLabel @ 0x2fa4d8
// > CCTextInputNode::updateBlinkLabelToChar @ 0x2fa774
// > CCTextInputNode::updateLabel @ 0x2fa908
// > CCTextInputNode::updateLabel @ 0x2fa9cc
// > CCTextInputNode::onTextFieldDetachWithIME @ 0x2fad54
// > CCTextInputNode::onTextFieldAttachWithIME @ 0x2fb0ae
// > CCTextInputNode::updateCursorPosition @ 0x2fb20e
// > CCCircleWave::updateTweenAction @ 0x2fbea8
// > CCCircleWave::updateTweenAction @ 0x2fbede
// > CCLightStrip::updateTweenAction @ 0x2fc70c
// > CCLightStrip::updateTweenAction @ 0x2fc742
// > CCLightStrip::updateTweenAction @ 0x2fc778
// > FMODAudioEngine::isMusicPlaying @ 0x302b9a
// > FMODAudioEngine::isPersistentMatchPlaying @ 0x302c06
// > FMODAudioEngine::preloadMusic @ 0x3033d6
// > FMODAudioEngine::queuedEffectFinishedLoading @ 0x30606c
// > PlayLayer::prepareCreateObjectsFromSetup @ 0x31aa4c
// > PlayLayer::prepareCreateObjectsFromSetup @ 0x31aa66
// > sub_32018C @ 0x32018e
// > AchievementsLayer::loadPage @ 0x32d5be
// > AchievementsLayer::loadPage @ 0x32d65a
// > sub_32DBB0 @ 0x32dbb2
// > PlayerObject::animationFinished @ 0x33c448
// > PlayerObject::animationFinished @ 0x33c494
// > PlayerObject::animationFinished @ 0x33c4fe
// > PlayerObject::playDynamicSpiderRun @ 0x342cde
// > PlayerObject::playDynamicSpiderRun @ 0x342d42
// > PlayerObject::updateMove @ 0x343056
// > PlayerObject::updateMove @ 0x34308c
// > PlayerObject::updateMove @ 0x34312c
// > PlayerObject::updateMove @ 0x34319c
// > PlayerObject::updateRobotAnimationSpeed @ 0x344754
// > PlayerObject::updateRobotAnimationSpeed @ 0x34476e
// > PlayerObject::updateRobotAnimationSpeed @ 0x34481a
// > TextGameObject::updateTextObject @ 0x363040
// > LevelEditorLayer::createObjectsFromSetup @ 0x370e32
// > LevelEditorLayer::createObjectsFromSetup @ 0x370e4a
// > LevelEditorLayer::createObjectsFromString @ 0x3710a8
// > LevelEditorLayer::createObjectsFromString @ 0x3710c2
// > EditorUI::setupCreateMenu @ 0x39bc2e
// > LevelSearchLayer::textInputOpened @ 0x3ac7be
// > LevelSearchLayer::updateSearchLabel @ 0x3ac88c
// > LevelSearchLayer::updateSearchLabel @ 0x3ac8a4
// > LevelSearchLayer::onSearch @ 0x3ad5a6
// > LevelSearchLayer::onSearchUser @ 0x3ad664
// > LevelInfoLayer::shouldDownloadLevel @ 0x3b187e
// > LevelInfoLayer::init @ 0x3b5008
// > LevelInfoLayer::init @ 0x3b522a
// > EditLevelLayer::textInputOpened @ 0x3b6210
// > EditLevelLayer::onShare @ 0x3b6912
// > EditLevelLayer::onShare @ 0x3b696e
// > EditLevelLayer::init @ 0x3b6e48
// > EditLevelLayer::init @ 0x3b7094
// > EditLevelLayer::verifyLevelName @ 0x3b7cd6
// > ShareLevelLayer::init @ 0x3b8f34
// > LevelBrowserLayer::isCorrect @ 0x3bac66
// > sub_3BE0D8 @ 0x3be0da
// > std::_Rb_tree,std::less,std::allocator>::_M_insert_unique @ 0x3ce39c
// > std::_Rb_tree,std::less,std::allocator>::_M_insert_unique @ 0x3ce3cc
// > std::_Rb_tree,std::less,std::allocator>::_M_insert_unique @ 0x3ce3ea
// > std::_Rb_tree,std::less,std::allocator>::find @ 0x3ce448
// > std::_Rb_tree,std::less,std::allocator>::find @ 0x3ce466
// > std::_Rb_tree,std::less,std::allocator>::erase @ 0x3ce62c
// > std::_Rb_tree,std::less,std::allocator>::erase @ 0x3ce63e
// > std::_Rb_tree,std::less,std::allocator>::erase @ 0x3ce65c
// > std::_Rb_tree,std::less,std::allocator>::erase @ 0x3ce67c
// > sub_3E0DA2 @ 0x3e0da4
// > EditorPauseLayer::saveLevel @ 0x401312
// > AudioEffectsLayer::updateTweenAction @ 0x401842
// > GJGarageLayer::textInputOpened @ 0x4027e0
// > GJGarageLayer::textInputClosed @ 0x4028ac
// > GJGarageLayer::init @ 0x4072ea
// > GameStatsManager::getCompletedMapPacks @ 0x40cbdc
// > GameStatsManager::isSecretCoinValid @ 0x413418
// > GameStatsManager::isSecretCoinValid @ 0x413438
// > GameStatsManager::isSecretCoinValid @ 0x413456
// > MoreOptionsLayer::onToggle @ 0x4224fe
// > MoreOptionsLayer::onToggle @ 0x422564
// > MoreOptionsLayer::onToggle @ 0x4225ae
// > MoreOptionsLayer::onToggle @ 0x4225f8
// > MoreOptionsLayer::onToggle @ 0x42266e
// > MoreVideoOptionsLayer::onToggle @ 0x4262cc
// > MoreVideoOptionsLayer::onToggle @ 0x42631c
// > MoreVideoOptionsLayer::onToggle @ 0x426366
// > MoreVideoOptionsLayer::onToggle @ 0x4263b0
// > MoreVideoOptionsLayer::onToggle @ 0x4263fa
// > MoreVideoOptionsLayer::onToggle @ 0x426470
// > AchievementBar::init @ 0x42a4f8
// > AchievementBar::init @ 0x42a532
// > AchievementBar::init @ 0x42a56c
// > AchievementBar::init @ 0x42a5a6
// > AchievementBar::init @ 0x42a5e0
// > AchievementBar::init @ 0x42a61a
// > AchievementBar::init @ 0x42a654
// > AchievementBar::init @ 0x42a68e
// > AchievementBar::init @ 0x42a6c8
// > AchievementBar::init @ 0x42a702
// > AchievementBar::init @ 0x42a73c
// > AchievementBar::init @ 0x42a774
// > AchievementBar::init @ 0x42a7ac
// > InfoLayer::onLevelInfo @ 0x42f11e
// > InfoLayer::isCorrect @ 0x42fae6
// > InfoLayer::init @ 0x430776
// > ShareCommentLayer::onShare @ 0x431a90
// > ShareCommentLayer::init @ 0x431e80
// > LocalLevelManager::getAllLevelsWithName @ 0x432d3e
// > LocalLevelManager::updateLevelRevision @ 0x432dcc
// > LocalLevelManager::dataLoaded @ 0x4331f4
// > LeaderboardsLayer::isCorrect @ 0x452abc
// > songNameCompare @ 0x4571d6
// > sfxNameCompare @ 0x45724a
// > sfxNameCompareDesc @ 0x4572be
// > optionsStrCompare @ 0x457320
// > MusicDownloadManager::onGetCustomContentURLCompleted @ 0x458cf0
// > SongInfoObject::addTags @ 0x45ad00
// > MusicDownloadManager::onGetSongInfoCompleted @ 0x45c6f4
// > MusicDownloadManager::onGetSongInfoCompleted @ 0x45c71a
// > CustomizeObjectLayer::textInputOpened @ 0x461250
// > GJAccountManager::onRegisterAccountCompleted @ 0x46455c
// > GJAccountManager::onLoginAccountCompleted @ 0x4645ee
// > GJAccountManager::onLoginAccountCompleted @ 0x46462e
// > GJAccountManager::onLoginAccountCompleted @ 0x464664
// > GJAccountManager::onBackupAccountCompleted @ 0x464738
// > GJAccountManager::onBackupAccountCompleted @ 0x46477c
// > GJAccountManager::onBackupAccountCompleted @ 0x4647cc
// > GJAccountManager::onSyncAccountCompleted @ 0x46488a
// > GJAccountManager::onSyncAccountCompleted @ 0x4648d2
// > GJAccountManager::onUpdateAccountSettingsCompleted @ 0x464e18
// > GJAccountManager::onGetAccountBackupURLCompleted @ 0x46576c
// > GJAccountManager::onGetAccountSyncURLCompleted @ 0x465a90
// > AccountRegisterLayer::onSubmit @ 0x468ffe
// > AccountRegisterLayer::onSubmit @ 0x46903a
// > AccountRegisterLayer::textInputClosed @ 0x4691b8
// > AccountRegisterLayer::textInputClosed @ 0x4691d2
// > AccountRegisterLayer::textInputClosed @ 0x469242
// > AccountRegisterLayer::textInputClosed @ 0x469280
// > AccountRegisterLayer::textInputClosed @ 0x46929a
// > AccountRegisterLayer::textInputClosed @ 0x4692c0
// > std::map,std::allocator>>::operator[] @ 0x49d7f4
// > std::map,std::allocator>>::operator[] @ 0x49d814
// > std::map,std::allocator>>::operator[] @ 0x49d852
// > std::map,std::allocator>>::operator[] @ 0x49d864
// > std::map,std::allocator>>::operator[] @ 0x49d87e
// > std::map,std::allocator>>::operator[] @ 0x49d894
// > std::map,std::allocator>>::operator[] @ 0x49d8b0
// > std::map,std::allocator>>::operator[] @ 0x49d8d2
// > MessagesProfilePage::isCorrect @ 0x4c0e9e
// > MessagesProfilePage::loadPage @ 0x4c11ae
// > FRequestProfilePage::isCorrect @ 0x4c23ca
// > FRequestProfilePage::loadPage @ 0x4c264e
// > ProfilePage::isCorrect @ 0x4c705e
// > sub_4C93EE @ 0x4c93f0
// > GauntletSelectLayer::loadLevelsFailed @ 0x4d70de
// > GauntletSelectLayer::loadLevelsFinished @ 0x4d9d26
// > GauntletLayer::loadLevelsFailed @ 0x4d9fbc
// > GauntletLayer::loadLevelsFinished @ 0x4db5d4
// > AnimatedShopKeeper::animationFinished @ 0x4e202a
// > AnimatedShopKeeper::animationFinished @ 0x4e2060
// > AnimatedShopKeeper::animationFinished @ 0x4e20e8
// > AnimatedShopKeeper::animationFinished @ 0x4e2156
// > LevelLeaderboard::isCorrect @ 0x4e4ed0
// > sub_4E9E88 @ 0x4e9e8a
// > SecretLayer4::textInputOpened @ 0x4f01d2
// > SecretLayer4::updateSearchLabel @ 0x4f07b4
// > SecretLayer4::updateSearchLabel @ 0x4f07de
// > SecretLayer4::onSubmit @ 0x4f11d2
// > SecretLayer4::onSubmit @ 0x4f126a
// > SecretLayer4::onSubmit @ 0x4f12ca
// > SecretLayer4::onSubmit @ 0x4f12e4
// > SecretLayer4::onSubmit @ 0x4f1358
// > SecretLayer4::onSubmit @ 0x4f13b8
// > SecretLayer4::onSubmit @ 0x4f13d2
// > SecretLayer4::onSubmit @ 0x4f1448
// > SecretLayer4::onSubmit @ 0x4f14a6
// > GJMultiplayerManager::onExitLobbyCompleted @ 0x50fed8
// > GJMultiplayerManager::onUploadCommentCompleted @ 0x50ff8c
// > GJMultiplayerManager::onJoinLobbyCompleted @ 0x510114
// > GJSmartTemplate::saveRemapToDict @ 0x5398d0
// > GJSmartTemplate::getNoCornerKey @ 0x539a08
// > GJSmartTemplate::saveRemap @ 0x53a67c
// > GJSmartTemplate::saveRemap @ 0x53a718
// > GJSmartTemplate::savePrefab @ 0x53b562
// > std::_Rb_tree,std::_Select1st>,std::less,std::allocator>>::_M_get_insert_unique_pos @ 0x53c188
// > std::_Rb_tree,std::_Select1st>,std::less,std::allocator>>::_M_get_insert_unique_pos @ 0x53c1bc
// > std::map,std::allocator>>::operator[] @ 0x53c1f0
// > std::map,std::allocator>>::operator[] @ 0x53c210
// > std::map,std::allocator>>::operator[] @ 0x53c274
// > std::map,std::allocator>>::operator[] @ 0x53c288
// > std::map,std::allocator>>::operator[] @ 0x53c2a6
// > std::map,std::allocator>>::operator[] @ 0x53c2bc
// > std::map,std::allocator>>::operator[] @ 0x53c2dc
// > std::map,std::allocator>>::operator[] @ 0x53c300
// > SetupSmartTemplateLayer::textInputOpened @ 0x53d70e
// > LevelListLayer::textInputOpened @ 0x58fba4
// > LevelListLayer::loadLevelsFinished @ 0x5906b0
// > ShareListLayer::init @ 0x592c4e
// > SecretLayer5::textInputOpened @ 0x59c51a
// > SecretLayer5::updateSearchLabel @ 0x59daf0
// > SecretLayer5::updateSearchLabel @ 0x59db1a
// > cocos2d::CCString::isEqual @ 0x5c1964
// > std::_Rb_tree,std::_Select1st>,std::less,std::allocator>>::find @ 0x5df5f6
// > std::_Rb_tree,std::_Select1st>,std::less,std::allocator>>::find @ 0x5df614
// > std::_Rb_tree,std::_Select1st>,std::less,std::allocator>>::_M_insert_unique> @ 0x5df6ac
// > std::_Rb_tree,std::_Select1st>,std::less,std::allocator>>::_M_insert_unique> @ 0x5df6de
// > std::_Rb_tree,std::_Select1st>,std::less,std::allocator>>::_M_insert_unique> @ 0x5df6fc
// > std::_Rb_tree,std::less,std::allocator>::find @ 0x5e99c6
// > std::_Rb_tree,std::less,std::allocator>::find @ 0x5e99e4
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x5e9b1c
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x5e9b4e
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile @ 0x5e9b60
// > std::operator<,std::allocator> @ 0x5f045c
// > sub_5F8A78 @ 0x5f8aae
// > sub_5F8A78 @ 0x5f8acc
// > std::_Rb_tree,std::_Select1st>,std::less,std::allocator>>::_M_get_insert_unique_pos @ 0x5ff8b4
// > std::_Rb_tree,std::_Select1st>,std::less,std::allocator>>::_M_get_insert_unique_pos @ 0x5ff8e8
// > std::map,std::allocator>>::operator[] @ 0x5ff91a
// > std::map,std::allocator>>::operator[] @ 0x5ff93a
// > std::map,std::allocator>>::operator[] @ 0x5ff976
// > std::map,std::allocator>>::operator[] @ 0x5ff988
// > std::map,std::allocator>>::operator[] @ 0x5ff9a4
// > std::map,std::allocator>>::operator[] @ 0x5ff9ce
// > std::map,std::allocator>>::operator[] @ 0x5ff9ec
// > std::map,std::allocator>>::operator[] @ 0x5ffa24
//
// 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
//
int __fastcall sub_774DBC(const void **a1, const void **a2)
{
_DWORD *v2; // r0
_DWORD *v3; // r1
size_t v4; // r5
size_t v5; // r4
size_t v6; // r2
int result; // r0
v2 = *a1;
v3 = *a2;
v4 = *(v2 - 3);
v5 = *(v3 - 3);
v6 = v5;
if ( v5 >= v4 )
v6 = *(v2 - 3);
result = memcmp(v2, v3, v6);
if ( !result )
return v4 - v5;
return result;
}