//
// sub_140041270 from 0x140041270 to 0x1400413d1 (353 bytes)
//
// 497 xrefs:
// > CCAnimatedSprite::initWithType @ 0x14004015a
// > CCAnimatedSprite::loadType @ 0x1400404bb
// > CCTextInputNode::updateLabel @ 0x14004f9c1
// > FMODAudioEngine::getFMODStatus @ 0x14005cf12
// > FMODAudioEngine::getFMODStatus @ 0x14005cf93
// > FMODAudioEngine::getFMODStatus @ 0x14005cfd5
// > FMODAudioEngine::getFMODStatus @ 0x14005d020
// > FMODAudioEngine::getFMODStatus @ 0x14005d072
// > FMODAudioEngine::getFMODStatus @ 0x14005d0c6
// > GameToolbox::timestampToHumanReadable @ 0x14006940d
// > GameToolbox::timestampToHumanReadable @ 0x14006948d
// > GameToolbox::timestampToHumanReadable @ 0x14006950d
// > GameToolbox::timestampToHumanReadable @ 0x14006958d
// > GameToolbox::timestampToHumanReadable @ 0x1400695fd
// > MultilineBitmapFont::stringWithMaxWidth @ 0x14006d463
// > MultilineBitmapFont::stringWithMaxWidth @ 0x14006d542
// > sub_140078340 @ 0x14007844f
// > AudioAssetsBrowser::onInfo @ 0x14008409d
// > AudioAssetsBrowser::onInfo @ 0x1400840c3
// > AudioAssetsBrowser::onInfo @ 0x1400840e3
// > AudioAssetsBrowser::onInfo @ 0x140084109
// > AudioAssetsBrowser::onInfo @ 0x14008416f
// > AudioAssetsBrowser::onInfo @ 0x1400841e7
// > AudioAssetsBrowser::onInfo @ 0x14008424a
// > AudioAssetsBrowser::onInfo @ 0x1400842be
// > AudioAssetsBrowser::onInfo @ 0x140084348
// > AudioAssetsBrowser::onInfo @ 0x140084362
// > AudioAssetsBrowser::onInfo @ 0x140084378
// > AudioAssetsBrowser::onInfo @ 0x14008439b
// > AudioAssetsBrowser::onInfo @ 0x1400843b5
// > AudioAssetsBrowser::onInfo @ 0x1400843cb
// > AudioAssetsBrowser::onInfo @ 0x1400843ea
// > AudioAssetsBrowser::onInfo @ 0x140084404
// > AudioAssetsBrowser::onInfo @ 0x14008441a
// > AudioAssetsBrowser::onInfo @ 0x140084439
// > AudioAssetsBrowser::onInfo @ 0x140084452
// > AudioAssetsBrowser::onInfo @ 0x140084468
// > ConfigureHSVWidget::updateLabels @ 0x140097e4f
// > ConfigureHSVWidget::updateLabels @ 0x140097e91
// > ConfigureHSVWidget::updateLabels @ 0x140097f18
// > ConfigureHSVWidget::updateLabels @ 0x140097f57
// > ConfigureHSVWidget::updateLabels @ 0x140097fde
// > ConfigureHSVWidget::updateLabels @ 0x140098023
// > CreateGuidelinesLayer::getMergedRecordString @ 0x14009b2d0
// > CreateGuidelinesLayer::registerTouch @ 0x14009b6df
// > CustomizeObjectLayer::updateKerningLabel @ 0x1400a7da1
// > LevelCell::loadCustomLevelCell @ 0x1400af113
// > LevelCell::loadCustomLevelCell @ 0x1400af146
// > OptionsCell::loadFromObject @ 0x1400b52cc
// > OptionsCell::loadFromObject @ 0x1400b52ec
// > CustomSongWidget::updateSongInfo @ 0x1400cbb16
// > CustomSongWidget::updateSongInfo @ 0x1400cbb30
// > CustomSongWidget::updateMultiAssetInfo @ 0x1400cc781
// > CustomSongWidget::updateMultiAssetInfo @ 0x1400cc7a9
// > CustomSongWidget::updateMultiAssetInfo @ 0x1400cc7d8
// > CustomSongWidget::updateMultiAssetInfo @ 0x1400cc800
// > CustomSongWidget::updateMultiAssetInfo @ 0x1400cc8a5
// > CustomSongWidget::updateMultiAssetInfo @ 0x1400cc922
// > CustomSongWidget::updateMultiAssetInfo @ 0x1400cc959
// > CustomSongWidget::updateMultiAssetInfo @ 0x1400cc9dd
// > EditLevelLayer::onLevelInfo @ 0x1400d6b3c
// > EditLevelLayer::setupLevelInfo @ 0x1400d6faa
// > EditLevelLayer::setupLevelInfo @ 0x1400d6fe5
// > EditLevelLayer::setupLevelInfo @ 0x1400d6ffd
// > EditLevelLayer::setupLevelInfo @ 0x1400d7038
// > EditLevelLayer::setupLevelInfo @ 0x1400d704e
// > EditorPauseLayer::init @ 0x1400da01b
// > EditorPauseLayer::init @ 0x1400da0f7
// > EditorPauseLayer::init @ 0x1400da112
// > EditorUI::updateObjectInfoLabel @ 0x1400e3806
// > EditorUI::updateObjectInfoLabel @ 0x1400e3831
// > EditorUI::updateObjectInfoLabel @ 0x1400e3847
// > EditorUI::updateObjectInfoLabel @ 0x1400e3866
// > EditorUI::updateObjectInfoLabel @ 0x1400e38bb
// > EditorUI::updateObjectInfoLabel @ 0x1400e39a1
// > EditorUI::updateObjectInfoLabel @ 0x1400e3a9e
// > EditorUI::updateObjectInfoLabel @ 0x1400e3ab4
// > EditorUI::updateObjectInfoLabel @ 0x1400e3af1
// > EditorUI::updateObjectInfoLabel @ 0x1400e3b51
// > EditorUI::updateObjectInfoLabel @ 0x1400e3ba6
// > EditorUI::updateObjectInfoLabel @ 0x1400e3bf1
// > EditorUI::updateObjectInfoLabel @ 0x1400e3c13
// > EditorUI::updateObjectInfoLabel @ 0x1400e3c6b
// > EditorUI::updateObjectInfoLabel @ 0x1400e3c86
// > EditorUI::updateObjectInfoLabel @ 0x1400e3d01
// > EditorUI::updateObjectInfoLabel @ 0x1400e3d26
// > EditorUI::updateObjectInfoLabel @ 0x1400e3d9f
// > EditorUI::updateObjectInfoLabel @ 0x1400e3db5
// > EditorUI::updateObjectInfoLabel @ 0x1400e3e21
// > EditorUI::updateObjectInfoLabel @ 0x1400e3ed1
// > EditorUI::updateObjectInfoLabel @ 0x1400e3f14
// > EditorUI::copyObjects @ 0x140112f37
// > EditorUI::copyObjects @ 0x140112f4c
// > EditorUI::copyObjects @ 0x140113103
// > EditorUI::copyObjects @ 0x140113130
// > EditorUI::addObjectsToSmartTemplate @ 0x140116a61
// > EditorUI::addObjectsToSmartTemplate @ 0x140116a7a
// > EditorUI::keyDown @ 0x14012650e
// > EndLevelLayer::getCoinString @ 0x140134b54
// > EndLevelLayer::getCoinString @ 0x140134b74
// > EndLevelLayer::getCoinString @ 0x140134b8c
// > EndLevelLayer::getCoinString @ 0x140134bc3
// > EndLevelLayer::getCoinString @ 0x140134bd9
// > GameLevelManager::getNextLevelName @ 0x140144ce1
// > GameLevelManager::getNextLevelName @ 0x140144d05
// > GameLevelManager::getNextLevelName @ 0x140144d8a
// > GameLevelManager::createNewLevelList @ 0x140145638
// > GameLevelManager::getBasePostString @ 0x14014c782
// > GameLevelManager::uploadLevel @ 0x14014cc31
// > GameLevelManager::uploadLevel @ 0x14014cc5f
// > GameLevelManager::uploadLevel @ 0x14014cc83
// > GameLevelManager::uploadLevel @ 0x14014cca3
// > GameLevelManager::uploadLevel @ 0x14014ccce
// > GameLevelManager::uploadLevel @ 0x14014ccee
// > GameLevelManager::uploadLevel @ 0x14014cd1e
// > GameLevelManager::uploadLevel @ 0x14014ce45
// > GameLevelManager::uploadLevel @ 0x14014cfd2
// > GameLevelManager::uploadLevel @ 0x14014cfe8
// > GameLevelManager::uploadLevel @ 0x14014d01e
// > GameLevelManager::uploadLevel @ 0x14014d03e
// > GameLevelManager::uploadLevel @ 0x14014d073
// > GameLevelManager::uploadLevel @ 0x14014d093
// > GameLevelManager::uploadLevel @ 0x14014d0f1
// > GameLevelManager::getDifficultyStr @ 0x14014d5fd
// > GameLevelManager::getDifficultyStr @ 0x14014d632
// > GameLevelManager::getLengthStr @ 0x14014d837
// > GameLevelManager::getLengthStr @ 0x14014d872
// > GameLevelManager::writeSpecialFilters @ 0x14014da0e
// > GameLevelManager::writeSpecialFilters @ 0x14014da3e
// > GameLevelManager::writeSpecialFilters @ 0x14014da7d
// > GameLevelManager::writeSpecialFilters @ 0x14014dad7
// > GameLevelManager::writeSpecialFilters @ 0x14014dafc
// > GameLevelManager::writeSpecialFilters @ 0x14014dbae
// > GameLevelManager::writeSpecialFilters @ 0x14014dbd5
// > GameLevelManager::writeSpecialFilters @ 0x14014dc07
// > GameLevelManager::writeSpecialFilters @ 0x14014dc2d
// > GameLevelManager::getOnlineLevels @ 0x14014ddf5
// > GameLevelManager::getOnlineLevels @ 0x14014de31
// > GameLevelManager::getOnlineLevels @ 0x14014de56
// > GameLevelManager::getOnlineLevels @ 0x14014e121
// > GameLevelManager::getOnlineLevels @ 0x14014e15f
// > GameLevelManager::getOnlineLevels @ 0x14014e17f
// > GameLevelManager::getOnlineLevels @ 0x14014e19f
// > GameLevelManager::getOnlineLevels @ 0x14014e1bc
// > GameLevelManager::getOnlineLevels @ 0x14014e1d9
// > GameLevelManager::getOnlineLevels @ 0x14014e211
// > GameLevelManager::getOnlineLevels @ 0x14014e22e
// > GameLevelManager::getOnlineLevels @ 0x14014e261
// > GameLevelManager::getOnlineLevels @ 0x14014e28f
// > GameLevelManager::getOnlineLevels @ 0x14014e2b3
// > GameLevelManager::getOnlineLevels @ 0x14014e316
// > GameLevelManager::getOnlineLevels @ 0x14014e332
// > GameLevelManager::getOnlineLevels @ 0x14014e391
// > GameLevelManager::onGetOnlineLevelsCompleted @ 0x14014eaa4
// > GameLevelManager::onGetOnlineLevelsCompleted @ 0x14014eae1
// > GameLevelManager::onGetOnlineLevelsCompleted @ 0x14014eb61
// > GameLevelManager::getLevelSaveData @ 0x14014ef06
// > GameLevelManager::getLevelSaveData @ 0x14014ef71
// > GameLevelManager::getMapPacks @ 0x14014f5d2
// > GameLevelManager::onGetMapPacksCompleted @ 0x14014fa21
// > GameLevelManager::onGetMapPacksCompleted @ 0x14014fa61
// > GameLevelManager::onGetMapPacksCompleted @ 0x14014fb12
// > GameLevelManager::uploadLevelList @ 0x14014fff1
// > GameLevelManager::uploadLevelList @ 0x14015008e
// > GameLevelManager::uploadLevelList @ 0x140150235
// > GameLevelManager::uploadLevelList @ 0x14015024b
// > GameLevelManager::uploadLevelList @ 0x1401502b1
// > GameLevelManager::deleteServerLevelList @ 0x1401505e1
// > GameLevelManager::getLevelLists @ 0x140150876
// > GameLevelManager::getLevelLists @ 0x1401508b1
// > GameLevelManager::getGauntlets @ 0x1401513b4
// > GameLevelManager::onGetGauntletsCompleted @ 0x140151814
// > GameLevelManager::onGetGauntletsCompleted @ 0x140151841
// > GameLevelManager::onGetGauntletsCompleted @ 0x1401518c2
// > GameLevelManager::getGauntletLevels @ 0x140151b75
// > GameLevelManager::getGauntletLevels @ 0x140151ba6
// > GameLevelManager::getGauntletLevels @ 0x140151bbc
// > GameLevelManager::getGauntletLevels @ 0x140151c21
// > GameLevelManager::downloadLevel @ 0x140151f11
// > GameLevelManager::downloadLevel @ 0x140151f3f
// > GameLevelManager::downloadLevel @ 0x140151f6e
// > GameLevelManager::downloadLevel @ 0x1401521f4
// > GameLevelManager::downloadLevel @ 0x14015220f
// > GameLevelManager::processOnDownloadLevelCompleted @ 0x140152ce4
// > GameLevelManager::processOnDownloadLevelCompleted @ 0x140152ee7
// > GameLevelManager::updateLevel @ 0x140153991
// > GameLevelManager::rateStars @ 0x140153cc6
// > GameLevelManager::rateStars @ 0x140153ceb
// > GameLevelManager::rateStars @ 0x140153d0f
// > GameLevelManager::rateStars @ 0x140153f94
// > GameLevelManager::rateStars @ 0x140153faf
// > GameLevelManager::deleteServerLevel @ 0x140154751
// > GameLevelManager::suggestLevelStars @ 0x140154f77
// > GameLevelManager::rateDemon @ 0x140155632
// > GameLevelManager::rateDemon @ 0x14015564d
// > GameLevelManager::updateUserScore @ 0x140156331
// > GameLevelManager::updateUserScore @ 0x14015643c
// > GameLevelManager::updateUserScore @ 0x14015645f
// > GameLevelManager::updateUserScore @ 0x14015661f
// > GameLevelManager::updateUserScore @ 0x140156646
// > GameLevelManager::updateUserScore @ 0x140156666
// > GameLevelManager::updateUserScore @ 0x14015668d
// > GameLevelManager::updateUserScore @ 0x1401566ad
// > GameLevelManager::updateUserScore @ 0x1401566d3
// > GameLevelManager::updateUserScore @ 0x1401567d3
// > GameLevelManager::updateUserScore @ 0x1401567f0
// > GameLevelManager::updateUserScore @ 0x1401569b0
// > GameLevelManager::updateUserScore @ 0x1401569d7
// > GameLevelManager::updateUserScore @ 0x1401569f7
// > GameLevelManager::updateUserScore @ 0x140156a1e
// > GameLevelManager::updateUserScore @ 0x140156a3e
// > GameLevelManager::updateUserScore @ 0x140156a64
// > GameLevelManager::updateUserScore @ 0x140156ad1
// > GameLevelManager::updateUserScore @ 0x140156b03
// > GameLevelManager::updateUserScore @ 0x140156b35
// > GameLevelManager::updateUserScore @ 0x140156b67
// > GameLevelManager::updateUserScore @ 0x140156ba1
// > GameLevelManager::updateUserScore @ 0x140156bd3
// > GameLevelManager::updateUserScore @ 0x140156c04
// > GameLevelManager::updateUserScore @ 0x140156c36
// > GameLevelManager::updateUserScore @ 0x140156cb1
// > GameLevelManager::updateUserScore @ 0x140156d26
// > GameLevelManager::updateUserScore @ 0x140156da1
// > GameLevelManager::updateUserScore @ 0x140156e16
// > GameLevelManager::updateUserScore @ 0x140156e91
// > GameLevelManager::updateUserScore @ 0x140156f06
// > GameLevelManager::updateUserScore @ 0x140156f76
// > GameLevelManager::updateUserScore @ 0x140156ff1
// > GameLevelManager::updateUserScore @ 0x140157066
// > GameLevelManager::updateUserScore @ 0x1401570a1
// > GameLevelManager::updateUserScore @ 0x1401570d3
// > GameLevelManager::updateUserScore @ 0x140157105
// > GameLevelManager::updateUserScore @ 0x140157141
// > GameLevelManager::updateUserScore @ 0x140157167
// > GameLevelManager::updateUserScore @ 0x1401571a1
// > GameLevelManager::updateUserScore @ 0x1401571d3
// > GameLevelManager::updateUserScore @ 0x140157211
// > GameLevelManager::updateUserScore @ 0x140157271
// > GameLevelManager::updateUserScore @ 0x140157401
// > GameLevelManager::getLeaderboardScores @ 0x140157b86
// > GameLevelManager::getLevelLeaderboard @ 0x140158714
// > GameLevelManager::getLevelLeaderboard @ 0x140158855
// > GameLevelManager::getLevelLeaderboard @ 0x1401588b3
// > GameLevelManager::getLevelLeaderboard @ 0x1401588da
// > GameLevelManager::getLevelLeaderboard @ 0x140158a17
// > GameLevelManager::getLevelLeaderboard @ 0x140158a41
// > GameLevelManager::getTopArtists @ 0x1401590e1
// > GameLevelManager::getUsers @ 0x140159867
// > GameLevelManager::getGJUserInfo @ 0x140159f01
// > GameLevelManager::getUserMessages @ 0x14015a2b1
// > GameLevelManager::getUserMessages @ 0x14015a2cc
// > GameLevelManager::downloadUserMessage @ 0x14015ab71
// > GameLevelManager::downloadUserMessage @ 0x14015ab8c
// > GameLevelManager::uploadUserMessage @ 0x14015b151
// > GameLevelManager::deleteUserMessages @ 0x14015b656
// > GameLevelManager::deleteUserMessages @ 0x14015b671
// > GameLevelManager::deleteUserMessages @ 0x14015b68c
// > GameLevelManager::deleteUserMessages @ 0x14015b6c1
// > GameLevelManager::deleteUserMessages @ 0x14015b6d8
// > GameLevelManager::deleteUserMessages @ 0x14015b714
// > GameLevelManager::deleteUserMessages @ 0x14015b751
// > GameLevelManager::getLevelComments @ 0x14015bf51
// > GameLevelManager::getLevelComments @ 0x14015bf7d
// > GameLevelManager::getLevelComments @ 0x14015bfb1
// > GameLevelManager::getLevelComments @ 0x14015c091
// > GameLevelManager::getAccountComments @ 0x14015c962
// > GameLevelManager::uploadComment @ 0x14015de11
// > GameLevelManager::uploadComment @ 0x14015de31
// > GameLevelManager::uploadComment @ 0x14015de63
// > GameLevelManager::uploadComment @ 0x14015de82
// > GameLevelManager::uploadComment @ 0x14015debc
// > GameLevelManager::uploadComment @ 0x14015def1
// > GameLevelManager::uploadComment @ 0x14015dfc1
// > GameLevelManager::uploadComment @ 0x14015e0db
// > GameLevelManager::uploadComment @ 0x14015e0f6
// > GameLevelManager::deleteComment @ 0x14015f253
// > GameLevelManager::deleteComment @ 0x14015f26c
// > GameLevelManager::deleteComment @ 0x14015f2ac
// > GameLevelManager::deleteComment @ 0x14015f2e1
// > GameLevelManager::deleteComment @ 0x14015f2f7
// > GameLevelManager::deleteComment @ 0x14015f331
// > GameLevelManager::getLevelRateInfo @ 0x14015f991
// > GameLevelManager::getFriendRequests @ 0x14015fdb1
// > GameLevelManager::getFriendRequests @ 0x14015fdcc
// > GameLevelManager::uploadFriendRequest @ 0x140160851
// > GameLevelManager::deleteFriendRequests @ 0x140160d81
// > GameLevelManager::deleteFriendRequests @ 0x140160da0
// > GameLevelManager::deleteFriendRequests @ 0x140160dd7
// > GameLevelManager::deleteFriendRequests @ 0x140160e11
// > GameLevelManager::acceptFriendRequest @ 0x140161357
// > GameLevelManager::readFriendRequest @ 0x140161861
// > GameLevelManager::removeFriend @ 0x140161b71
// > GameLevelManager::blockUser @ 0x1401620e1
// > GameLevelManager::unblockUser @ 0x1401625f1
// > GameLevelManager::getUserList @ 0x140162a71
// > GameLevelManager::updateDescription @ 0x1401638c1
// > GameLevelManager::likeItem @ 0x140163df1
// > GameLevelManager::likeItem @ 0x140163e16
// > GameLevelManager::likeItem @ 0x140163e3e
// > GameLevelManager::likeItem @ 0x1401640d2
// > GameLevelManager::likeItem @ 0x1401640ed
// > GameLevelManager::requestUserAccess @ 0x140164873
// > GameLevelManager::getGJSecretReward @ 0x1401651f1
// > GameLevelManager::onGetGJSecretRewardCompleted @ 0x140165736
// > GameLevelManager::getGJRewards @ 0x1401665d1
// > GameLevelManager::onGetGJRewardsCompleted @ 0x140166b21
// > GameLevelManager::getGJChallenges @ 0x1401677c3
// > GameLevelManager::onGetGJChallengesCompleted @ 0x140167e11
// > GameLevelManager::getGJDailyLevelState @ 0x140168b91
// > GameLevelManager::onGetGJDailyLevelStateCompleted @ 0x140169381
// > GameLevelManager::submitUserInfo @ 0x140169f27
// > GameLevelManager::submitUserInfo @ 0x140169fe1
// > GameLevelManager::submitUserInfo @ 0x14016a10e
// > GameLevelManager::submitUserInfo @ 0x14016a131
// > GJGameLevel::savePercentage @ 0x14016cb02
// > GJLevelList::showListInfo @ 0x1401779f3
// > GJLevelList::showListInfo @ 0x140177a28
// > GJLevelList::showListInfo @ 0x140177a47
// > GJLevelList::showListInfo @ 0x140177a71
// > GJLevelList::showListInfo @ 0x140177a91
// > GJLevelList::showListInfo @ 0x140177ab4
// > GJLevelList::showListInfo @ 0x140177adf
// > GJLevelList::showListInfo @ 0x140177aff
// > GJLevelList::showListInfo @ 0x140177b27
// > GJLevelList::showListInfo @ 0x140177b52
// > GJLevelList::showListInfo @ 0x140177b72
// > GameManager::loadIcon @ 0x140181e20
// > GameManager::loadIcon @ 0x140181ec8
// > GameManager::unloadIcon @ 0x1401821cb
// > GameManager::setGameVariable @ 0x140182f23
// > GameManager::getGameVariable @ 0x14018317f
// > GameManager::setUGV @ 0x14018339f
// > GameManager::getUGV @ 0x1401834ff
// > GameStatsManager::createSpecialChestItems @ 0x1401e7fd4
// > GauntletLayer::init @ 0x1401f6371
// > GJAccountManager::loginAccount @ 0x140200ca8
// > GJAccountManager::loginAccount @ 0x140200d41
// > GJAccountManager::loginAccount @ 0x140200d57
// > GJAccountManager::loginAccount @ 0x140200db5
// > GJAccountManager::backupAccount @ 0x140201c71
// > GJAccountManager::backupAccount @ 0x140201c9e
// > GJAccountManager::backupAccount @ 0x140201cb4
// > GJAccountManager::backupAccount @ 0x140201cde
// > GJAccountManager::backupAccount @ 0x140201cf4
// > GJAccountManager::backupAccount @ 0x140201d52
// > GJAccountManager::syncAccount @ 0x140202a42
// > GJAccountManager::getShaPassword @ 0x140204102
// > GJBaseGameLayer::getRecordString @ 0x14023abaf
// > SimplePlayer::init @ 0x14027968f
// > SimplePlayer::init @ 0x14027972a
// > SimplePlayer::init @ 0x1402797b8
// > GJMultiplayerManager::uploadComment @ 0x1402837e1
// > GJMultiplayerManager::uploadComment @ 0x14028396e
// > GJMultiplayerManager::uploadComment @ 0x140283989
// > GJMultiplayerManager::getBasePostString @ 0x140283f46
// > GJMultiplayerManager::getBasePostString @ 0x140283f8e
// > GJPathPage::showCantAffordMessage @ 0x1402878e6
// > GJPathPage::showCantAffordMessage @ 0x140287a1e
// > FriendRequestPopup::init @ 0x140295dea
// > GJMessagePopup::init @ 0x1402977c2
// > GJMessagePopup::onReply @ 0x14029853c
// > GJWriteMessagePopup::init @ 0x14029957d
// > GJDifficultySprite::getDifficultyFrame @ 0x1402a5117
// > GJRobotSprite::init @ 0x1402a68fe
// > GJShopLayer::showCantAffordMessage @ 0x1402ac146
// > GJShopLayer::showCantAffordMessage @ 0x1402ac27e
// > sub_1402B0910 @ 0x1402b0970
// > GJSmartTemplate::getNoCornerKey @ 0x1402b1a60
// > InfoLayer::onLevelInfo @ 0x1402bde5b
// > InfoLayer::onLevelInfo @ 0x1402bde71
// > InfoLayer::onLevelInfo @ 0x1402bded7
// > LevelBrowserLayer::getSearchTitle @ 0x1402cbdc5
// > LevelEditorLayer::getLevelString @ 0x1402d6d0c
// > LevelEditorLayer::getLevelString @ 0x1402d6d2c
// > LevelEditorLayer::getLevelString @ 0x1402d6f32
// > LevelEditorLayer::getLevelString @ 0x1402d6f47
// > LevelEditorLayer::duplicateKeyframeAnimation @ 0x1402e1a01
// > LevelEditorLayer::duplicateKeyframeAnimation @ 0x1402e1a18
// > LevelInfoLayer::setupProgressBars @ 0x1402fabe3
// > LevelInfoLayer::onLevelInfo @ 0x1402ff0a1
// > LevelLeaderboard::init @ 0x140300d40
// > LevelListLayer::cloneList @ 0x1403083a8
// > UploadListPopup::listUploadFailed @ 0x14030b9cb
// > UploadListPopup::listUploadFailed @ 0x14030b9f2
// > UploadListPopup::listUploadFailed @ 0x14030ba12
// > MusicDownloadManager::getSongInfo @ 0x14033d771
// > MusicDownloadManager::createSongsInfo @ 0x14033e06e
// > MusicDownloadManager::createSongsInfo @ 0x14033e0b2
// > MusicDownloadManager::pathForSongFolder @ 0x14033f3ea
// > MusicDownloadManager::pathForSongFolder @ 0x14033f47c
// > MusicDownloadManager::pathForSong @ 0x14033f52a
// > MusicDownloadManager::pathForSong @ 0x14033f559
// > MusicDownloadManager::pathForSFXFolder @ 0x14033f71a
// > MusicDownloadManager::pathForSFXFolder @ 0x14033f7ac
// > MusicDownloadManager::pathForSFX @ 0x14033f849
// > MusicDownloadManager::pathForSFX @ 0x14033f86f
// > MusicDownloadManager::pathForSFX @ 0x14033f88f
// > MusicDownloadManager::downloadCustomSong @ 0x1403403e0
// > MusicDownloadManager::downloadCustomSong @ 0x1403403f6
// > MusicDownloadManager::onDownloadMusicLibraryCompleted @ 0x140340cb6
// > MusicDownloadManager::parseMusicLibrary @ 0x140340dea
// > MusicDownloadManager::downloadSFX @ 0x1403422fb
// > MusicDownloadManager::downloadSFX @ 0x140342311
// > MusicDownloadManager::onDownloadSFXLibraryCompleted @ 0x140342d1b
// > MusicDownloadManager::parseSFXLibrary @ 0x140342e34
// > SongInfoObject::getArtistNames @ 0x140346b7b
// > SongInfoObject::getArtistNames @ 0x140346b94
// > SongInfoObject::getTagsString @ 0x140346fdf
// > SongInfoObject::getTagsString @ 0x140346ff8
// > SongInfoObject::getTagsString @ 0x140347170
// > NumberInputLayer::onNumber @ 0x140348b14
// > PlayLayer::updateProgressbar @ 0x1403b24ff
// > ProfilePage::onSocialPage @ 0x1403c5698
// > ProfilePage::onSocialPage @ 0x1403c57b7
// > ProfilePage::onSocialPage @ 0x1403c58d2
// > ProfilePage::onSocialPage @ 0x1403c59e9
// > ProfilePage::onSocialPage @ 0x1403c5c43
// > RateStarsLayer::init @ 0x1403ca305
// > SetupAnimationPopup::init @ 0x140409007
// > SetupAnimationPopup::init @ 0x1404090eb
// > SetupAnimationPopup::init @ 0x140409131
// > SetupAnimationPopup::init @ 0x1404091e8
// > SetupAnimationPopup::init @ 0x140409221
// > SetupAnimationPopup::init @ 0x140409264
// > SetupAnimationPopup::init @ 0x14040929a
// > SetupAnimationPopup::init @ 0x1404092de
// > SetupAnimationPopup::init @ 0x140409321
// > SetupSFXPopup::onClose @ 0x140448675
// > SetupSFXPopup::onClose @ 0x14044869d
// > SetupSFXPopup::onClose @ 0x1404486bf
// > sub_14046C070 @ 0x14046c183
// > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x14046c7a3
// > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x14046c7ba
// > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x14046c87d
// > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x14046c8cf
// > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x14046c9c3
// > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x14046c9e2
// > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x14046ca08
// > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x14046ca1c
// > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x14046ca45
// > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x14046ca64
// > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x14046caec
// > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x14046cb3e
// > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x14046cbd4
// > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x14046cc29
// > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x14046cc92
// > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x14046ccb3
// > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x14046ccd3
// > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x14046ccfd
// > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x14046cd1f
// > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x14046cd3b
// > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x14046cd56
// > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x14046cda8
// > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x14046cdc5
// > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x14046cdde
// > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x14046cdf7
// > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x14046ce12
// > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x14046cedb
// > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x14046cf05
// > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x14046cf24
// > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x14046cf64
// > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x14046eea1
// > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x14046eef1
// > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x14046ef89
// > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x14046efd9
// > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x14046eff4
// > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x14046f03f
// > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x14046f067
// > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x14046f08b
// > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x14046f0c6
// > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x14046f0e6
// > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x14046f0fe
// > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x14046f111
// > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x14046f13a
// > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x14046f158
// > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x14046f1dd
// > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x14046f22d
// > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x14046f2c2
// > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x14046f315
// > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x14046f33b
// > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x14046f37d
// > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x14046f3a4
// > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x14046f3c2
// > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x14046f433
// > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x14046f44a
// > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x14046f462
// > SFXBrowser::setupList @ 0x14047fdca
// > SFXBrowser::setupList @ 0x14047fde0
// > ShareCommentLayer::init @ 0x14048d45b
// > sub_140491FC0 @ 0x1404922a8
// > sub_140491FC0 @ 0x1404922ef
// > AnimatedGameObject::init @ 0x1404a2c18
// > StartPosObject::getSaveString @ 0x1404b2163
// > StartPosObject::getSaveString @ 0x1404b218e
// > ??> @ 0x1406621fc
// > ??> @ 0x14066220c
// > ??> @ 0x1406c42c0
//
// 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
//
_QWORD *__fastcall sub_140041270(_QWORD *Src, void *a2, size_t Size)
{
unsigned __int64 v3; // rbp
size_t v5; // r14
_QWORD *v8; // rax
char *v9; // rbx
size_t v10; // rbx
size_t v11; // r12
size_t v12; // rcx
unsigned __int64 v13; // rdx
_QWORD *v14; // rax
_QWORD *v15; // r15
char *v16; // r12
_QWORD *v17; // rbx
v3 = Src[3];
v5 = Src[2];
if ( Size > v3 - v5 )
{
v10 = 0x7FFFFFFFFFFFFFFFLL;
if ( 0x7FFFFFFFFFFFFFFFLL - v5 < Size )
sub_140007B50();
v11 = v5 + Size;
v12 = (v5 + Size) | 0xF;
if ( v12 <= 0x7FFFFFFFFFFFFFFFLL )
{
v13 = v3 >> 1;
if ( v3 <= 0x7FFFFFFFFFFFFFFFLL - (v3 >> 1) )
{
v10 = (v5 + Size) | 0xF;
if ( v12 < v13 + v3 )
v10 = v13 + v3;
}
}
v14 = sub_14003AA10(v10 + 1);
Src[2] = v11;
v15 = v14;
Src[3] = v10;
v16 = (char *)v14 + v5;
if ( v3 <= 0xF )
{
memcpy(v14, Src, v5);
memcpy(v16, a2, Size);
v16[Size] = 0;
}
else
{
v17 = (_QWORD *)*Src;
memcpy(v14, (const void *)*Src, v5);
memcpy(v16, a2, Size);
v16[Size] = 0;
if ( v3 + 1 >= 0x1000 )
{
if ( (unsigned __int64)v17 - *(v17 - 1) - 8 > 0x1F )
invalid_parameter_noinfo_noreturn();
v17 = (_QWORD *)*(v17 - 1);
}
j_j_free(v17);
}
*Src = v15;
}
else
{
Src[2] = v5 + Size;
v8 = Src;
if ( v3 > 0xF )
v8 = (_QWORD *)*Src;
v9 = (char *)v8 + v5;
memmove((char *)v8 + v5, a2, Size);
v9[Size] = 0;
}
return Src;
}