//
// sub_1400760C0 from 0x1400760c0 to 0x14007615d (157 bytes)
//
// 133 xrefs:
// > sub_140075CD0 @ 0x140075cd0
// > AccountBanPopup::init @ 0x1400a72c6
// > AccountReviewPopup::init @ 0x1400b09c2
// > sub_1400BD9C0 @ 0x1400bd9c6
// > ReportQueuePopup::buildRows @ 0x1400c9339
// > sub_1400CCDF0 @ 0x1400cd6ee
// > DeathTrackerPopup::parseSessions @ 0x140106388
// > DeathTrackerPopup::parseSessions @ 0x1401063bd
// > Dropdown::dDropdown @ 0x1401206bc
// > EmotePickerPopup::onBuildWindowContent @ 0x140123f3d
// > CustomSongWidget::updateWithMultiAssets @ 0x14016d640
// > CustomSongWidget::updateWithMultiAssets @ 0x14016d64a
// > EditorUI::pasteObjects @ 0x1401c6cee
// > EditorUI::pasteObjects @ 0x1401c6d1f
// > sub_140223100 @ 0x1402232de
// > sub_140223100 @ 0x1402232e9
// > GameLevelManager::replayPlatformerSaveJournal @ 0x140223bfc
// > GameLevelManager::replayPlatformerSaveJournal @ 0x140223c07
// > GameLevelManager::collectPlatformerJournalKeys @ 0x140223e68
// > GameLevelManager::onUploadDeathDataCompleted @ 0x140227767
// > GameStatsManager::createReward @ 0x1402e523a
// > GameStatsManager::createReward @ 0x1402e5252
// > GJBaseGameLayer::updateLayerCapacity @ 0x140312f9f
// > LevelEditorLayer::init @ 0x1403ee5eb
// > LevelEditorLayer::createObjectsFromSetup @ 0x1403f0070
// > LevelEditorLayer::createObjectsFromSetup @ 0x1403f0104
// > LevelEditorLayer::createObjectsFromString @ 0x1403f0759
// > LevelEditorLayer::createObjectsFromString @ 0x1403f07da
// > LevelEditorLayer::lockedLayerForObjectString @ 0x1403f45eb
// > LevelEditorLayer::lockedLayerForObjectString @ 0x1403f461a
// > LevelEditorLayer::lockedLayerForObjectString @ 0x1403f4648
// > DrawGridLayer::loadTimeMarkers @ 0x14040a63d
// > sub_140449FE0 @ 0x14044a178
// > sub_140449FE0 @ 0x14044a18f
// > LevelControlConfig::decode @ 0x14044b03a
// > LevelControlConfig::decode @ 0x14044b08d
// > LocalLevelManager::dLocalLevelManager @ 0x14046abab
// > LocalLevelManager::tryRecoverAutoSaves @ 0x14046d4c4
// > LocalLevelManager::tryRecoverAutoSaves @ 0x14046d4ce
// > LocalLevelManager::exportLevelsToFile @ 0x14046ec62
// > sub_14047F8A0 @ 0x14047fa49
// > MusicDownloadManager::createSongsInfo @ 0x1404832ab
// > MusicDownloadManager::decodeCustomSFXMappingEntries @ 0x140487d11
// > MusicDownloadManager::importCustomSFXSetup @ 0x140488b47
// > MusicDownloadManager::importCustomSFXSetup @ 0x140488b5c
// > MusicDownloadManager::importCustomSFXMappings @ 0x14048920d
// > MusicDownloadManager::sumLocalAudioSizeBytes @ 0x14048bd93
// > MusicDownloadManager::sumLocalAudioSizeBytes @ 0x14048bd9d
// > MusicDownloadManager::parseMusicLibrary @ 0x14048e936
// > MusicDownloadManager::parseMusicLibrary @ 0x14048e96d
// > MusicDownloadManager::parseMusicLibrary @ 0x14048eaa4
// > MusicDownloadManager::parseMusicLibrary @ 0x14048ecd7
// > MusicDownloadManager::parseMusicLibrary @ 0x14048ece1
// > MusicDownloadManager::parseMusicLibrary @ 0x14048eceb
// > MusicDownloadManager::parseMusicLibrary @ 0x14048ecf6
// > MusicDownloadManager::parseMusicLibrary @ 0x14048ed00
// > MusicDownloadManager::parseSFXLibrary @ 0x140490923
// > MusicDownloadManager::parseSFXLibrary @ 0x140490942
// > MusicDownloadManager::parseSFXLibrary @ 0x1404909d5
// > MusicDownloadManager::parseSFXLibrary @ 0x1404909f4
// > MusicDownloadManager::parseSFXLibrary @ 0x1404909ff
// > MusicDownloadManager::parseSFXLibrary @ 0x140490a09
// > MusicDownloadManager::parseSFXLibrary @ 0x140490a13
// > MusicDownloadManager::parseNewsFeed @ 0x140493239
// > MusicDownloadManager::parseNewsFeed @ 0x140493244
// > MusicDownloadManager::parseNewsFeed @ 0x14049324f
// > MusicDownloadManager::parseNewsFeed @ 0x140493259
// > MusicDownloadManager::parseNewsFeed @ 0x140493263
// > SongInfoObject::getArtistNames @ 0x14049651f
// > MusicDownloadManager::parseLinkRows @ 0x140499317
// > MusicDownloadManager::parseLinkRows @ 0x140499322
// > NewsPopup::rebuildPage @ 0x14049f0ef
// > PlayLayer::dPlayLayer @ 0x14050391d
// > PlayLayer::processCreateObjectsFromSetup @ 0x14050c19e
// > ReadArchive::processGOArr @ 0x140528ad9
// > sub_140528B60 @ 0x140528cb7
// > ReadArchive::process_2 @ 0x140528eb1
// > ReadArchive::process_1 @ 0x14052909b
// > sub_140529120 @ 0x1405292cf
// > sub_140529350 @ 0x140529500
// > sub_140529580 @ 0x140529737
// > sub_1405297B0 @ 0x140529a68
// > sub_140529AF0 @ 0x140529c57
// > sub_140529CD0 @ 0x140529e84
// > sub_140529F00 @ 0x14052a0b6
// > sub_14052A130 @ 0x14052a297
// > sub_14052A310 @ 0x14052a477
// > sub_14052A4F0 @ 0x14052a76a
// > sub_14052A7F0 @ 0x14052ac29
// > sub_14052AC60 @ 0x14052ae5b
// > ReadArchive::process_9 @ 0x14052b022
// > sub_14052B0A0 @ 0x14052b1df
// > sub_14052B260 @ 0x14052b39f
// > sub_14052B420 @ 0x14052b753
// > sub_14052B7E0 @ 0x14052ba0c
// > sub_14052BA90 @ 0x14052bde5
// > ReadArchive::process_6 @ 0x14052c0c2
// > sub_14052C150 @ 0x14052c502
// > sub_14052C550 @ 0x14052c9c3
// > sub_14052CA20 @ 0x14052cb87
// > sub_14052CC00 @ 0x14052cd67
// > sub_14052CDE0 @ 0x14052cf65
// > sub_14052CFE0 @ 0x14052d18a
// > sub_14052D210 @ 0x14052d40a
// > sub_14052D490 @ 0x14052d5cf
// > ReadArchive::process_7 @ 0x14052d78f
// > sub_14052D810 @ 0x14052da08
// > sub_14052DA90 @ 0x14052dc88
// > sub_14052DD10 @ 0x14052de77
// > ReadArchive::process_3 @ 0x14052e02f
// > sub_14052E0B0 @ 0x14052e1ef
// > ReadArchive::process_4 @ 0x14052e3af
// > ReadArchive::process_5 @ 0x14052e56f
// > ReadArchive::process_8 @ 0x14052e812
// > sub_14052E8A0 @ 0x14052ea07
// > sub_14052EA80 @ 0x14052ec78
// > sub_14052F080 @ 0x14052f210
// > sub_14052F710 @ 0x14052fb4e
// > sub_14052FEB0 @ 0x1405302b2
// > deserializeCheckpoint @ 0x14053111d
// > deserializeCheckpoint @ 0x1405312a4
// > deserializeCheckpoint @ 0x1405313e9
// > deserializeCheckpoint @ 0x1405314ef
// > deserializeCheckpoint @ 0x1405315b2
// > deserializeCheckpoint @ 0x140531675
// > deserializeCheckpoint @ 0x140531848
// > deserializeCheckpoint @ 0x140531f0b
// > SongInfoLayer::dSongInfoLayer @ 0x140633a10
// > sub_140633E00 @ 0x140633fa8
// > EventLinkTrigger::customObjectSetup @ 0x14065a0a3
// > ??> @ 0x14088a1d4
// > ??> @ 0x14088a1e4
// > ??> @ 0x1409119e4
//
// This function is hookable on this platform (idp: pc, 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 11:25:51 +0000
//
void __fastcall sub_1400760C0(__int64 *a1)
{
__int64 v1; // rbx
__int64 i; // rdi
_QWORD *v4; // rcx
v1 = *a1;
if ( *a1 )
{
for ( i = a1[1]; v1 != i; v1 += 32 )
sub_14003D310(v1);
v4 = (_QWORD *)*a1;
if ( ((a1[2] - *a1) & 0xFFFFFFFFFFFFFFE0uLL) >= 0x1000 )
{
if ( (unsigned __int64)v4 - *(v4 - 1) - 8 > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
v4 = (_QWORD *)*(v4 - 1);
}
j_j_free(v4);
*a1 = 0;
a1[1] = 0;
a1[2] = 0;
}
}