//
// sub_140069730 from 0x140069730 to 0x14006979d (109 bytes)
//
// 345 xrefs:
// > sub_14005C2F0 @ 0x14005c42b
// > FMODAudioEngine::stopAllMusic @ 0x140062a96
// > sub_1400676F0 @ 0x1400676f0
// > ScrollableContentLayer::dScrollableContentLayer @ 0x140080c12
// > sub_140098E20 @ 0x140098f28
// > sub_140098E20 @ 0x140098f34
// > AdminActionConfirmPopup::dAdminActionConfirmPopup @ 0x1400a51b2
// > AdminActionConfirmPopup::createContentDelete @ 0x1400a5592
// > AccountBanPopup::onCommentBan @ 0x1400a7dab
// > AccountBanPopup::onLevelUploadBan @ 0x1400a7f1b
// > AccountBanPopup::onMessageBan @ 0x1400a84cb
// > AccountBanPopup::onFreeze @ 0x1400a88b3
// > AccountBanPopup::onTrendingBan @ 0x1400a8c14
// > AccountReviewPopup::dAccountReviewPopup @ 0x1400af001
// > AccountReviewPopup::reviewChoicePicked @ 0x1400ba6d3
// > AccountReviewPopup::reviewChoicePicked @ 0x1400ba803
// > ReportPopup::dReportPopup @ 0x1400be5b2
// > sub_1400BE610 @ 0x1400be61d
// > ReportPopup::createForUser @ 0x1400bf451
// > ReportPopup::createForLevel @ 0x1400bf676
// > ReportPopup::createForList @ 0x1400bf890
// > ReportPopup::createForSoundConfig @ 0x1400bfaa0
// > ReportPopup::createForComment @ 0x1400bff1e
// > ReportPopup::createForFriendRequest @ 0x1400c0265
// > ReportPopup::createForMessage @ 0x1400c0570
// > ReportPopup::createForThread @ 0x1400c07a1
// > ReportPopup::onSubmit @ 0x1400c1db9
// > ReportPopup::FLAlert_Clicked @ 0x1400c1f9e
// > sub_1400CCDF0 @ 0x1400cd6e3
// > LevelPickerPopup::dLevelPickerPopup @ 0x1400d3711
// > DeathTrackerPopup::dDeathTrackerPopup @ 0x140103b1e
// > DeathTrackerPopup::init @ 0x140105dcb
// > DeathTrackerPopup::init @ 0x140105dd5
// > DeathTrackerPopup::init @ 0x140105ddf
// > DeathTrackerPopup::init @ 0x140105df3
// > DeathTrackerPopup::parseSessions @ 0x140105ff9
// > DeathTrackerPopup::parseGlobal @ 0x14010661e
// > DeathTrackerPopup::countsForScope @ 0x140106829
// > DeathTrackerPopup::countsForScope @ 0x140106977
// > DeathTrackerPopup::countsForScope @ 0x1401069f6
// > DeathTrackerPopup::refreshView @ 0x140106c38
// > DeathTrackerPopup::refreshView @ 0x140106d23
// > DeathTrackerPopup::refreshView @ 0x140106dcb
// > DeathTrackerPopup::refreshView @ 0x140106dd5
// > DeathTrackerPopup::refreshView @ 0x140107d88
// > DeathTrackerPopup::refreshGlobal @ 0x1401095c8
// > DeathTrackerPopup::buildAttemptLine @ 0x140109725
// > DeathTrackerPopup::buildAttemptLine @ 0x14010991b
// > DeathTrackerPopup::buildAttemptLine @ 0x140109925
// > DeathTrackerPopup::buildList @ 0x14010a763
// > DeathTrackerPopup::buildList @ 0x14010a9d6
// > DeathTrackerPopup::buildList @ 0x14010a9e3
// > DeathTrackerPopup::buildList @ 0x14010bf80
// > DeathTrackerPopup::buildList @ 0x14010c18d
// > DeathTrackerPopup::buildList @ 0x14010c1be
// > DeathTrackerPopup::buildHistory @ 0x14010cac1
// > DeathTrackerPopup::buildHistory @ 0x14010cacc
// > DeathHistogram::setAttemptLine @ 0x14011404f
// > DeathHistogram::setAttemptLine @ 0x14011405a
// > DeathHistogram::setAttemptLine @ 0x140114064
// > DeathHistogram::setAttemptLine @ 0x14011406e
// > DeathMarkerLayer::init @ 0x140115c11
// > DeathMarkerLayer::init @ 0x140115c1b
// > DeathMarkerLayer::init @ 0x140116bcb
// > DeathMarkerLayer::init @ 0x140116bd5
// > DeathMarkerLayer::init @ 0x140116bdf
// > DeathMarkerLayer::init @ 0x140116bea
// > DeathMarkerLayer::resolveBadgeCollisions @ 0x140118b05
// > sub_1401192C0 @ 0x1401192f7
// > sub_14011AA90 @ 0x14011aaa6
// > CustomSongWidget::onInfo @ 0x14016b11f
// > CustomSongWidget::onInfo @ 0x14016b12a
// > EditorSFXManager::removeSoundAt @ 0x140185c98
// > EditorSFXManager::clearAll @ 0x140185dde
// > sub_140189D00 @ 0x14018a147
// > sub_140189D00 @ 0x14018aa89
// > sub_140189D00 @ 0x14018aaa4
// > sub_14018AB60 @ 0x14018ab64
// > EditorSFXManager::downloadAllMissing @ 0x14018c2c5
// > sub_14018C460 @ 0x14018c487
// > sub_14018CD30 @ 0x14018cf14
// > sub_14018D080 @ 0x14018d0e7
// > sub_14018D150 @ 0x14018d220
// > sub_14018D150 @ 0x14018d300
// > EditorSoundConfigInfoLayer::onDownloadSFX @ 0x1401967e3
// > EditorSoundConfigInfoLayer::downloadMissingSFX @ 0x140196b9c
// > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0x140198612
// > sub_14019EF40 @ 0x14019ef6a
// > GJLevelList::dGJLevelList @ 0x14021851c
// > GJGameLevel::dtBumpBucket @ 0x1402653b7
// > GJGameLevel::dtBumpRun @ 0x14026564b
// > GJGameLevel::rollSession @ 0x1402663e7
// > GameManager::dGameManager @ 0x1402881ea
// > sub_14030A3C0 @ 0x14030a3d0
// > sub_14030AEB0 @ 0x14030af9c
// > sub_14030AEB0 @ 0x14030afa8
// > sub_14030AEB0 @ 0x14030b043
// > GJBaseGameLayer::dGJBaseGameLayer @ 0x14030c027
// > GJBaseGameLayer::dGJBaseGameLayer @ 0x14030c090
// > GJBaseGameLayer::dGJBaseGameLayer @ 0x14030c0f5
// > GJBaseGameLayer::dGJBaseGameLayer @ 0x14030c164
// > GJBaseGameLayer::dGJBaseGameLayer @ 0x14030c92f
// > GJBaseGameLayer::addRemapTargets @ 0x140313f71
// > GJBaseGameLayer::addCustomEnterEffect @ 0x1403145f3
// > GJBaseGameLayer::stopCustomEnterEffect @ 0x140314960
// > GJBaseGameLayer::setupLevelStart @ 0x140319dd3
// > GJBaseGameLayer::prepareSavePositionObjects @ 0x140321f44
// > GJBaseGameLayer::addAreaEffect @ 0x140330256
// > GJBaseGameLayer::controlAreaEffectWithID @ 0x1403305a0
// > GJBaseGameLayer::controlAreaEffect @ 0x140330730
// > GJBaseGameLayer::gameEventTriggered @ 0x14033ad5c
// > GJBaseGameLayer::activateEventTrigger @ 0x14033aefc
// > GJBaseGameLayer::controlEventLink @ 0x14033b135
// > GJBaseGameLayer::activatePersistentItemTrigger @ 0x14033d9ff
// > GJBaseGameLayer::resetLevelVariables @ 0x140345567
// > sub_140354D80 @ 0x140354da7
// > sub_140356160 @ 0x14035633a
// > sub_140356160 @ 0x1403563de
// > sub_140356160 @ 0x140356459
// > sub_1403598D0 @ 0x140359907
// > sub_14035B080 @ 0x14035b238
// > sub_14035B080 @ 0x14035b280
// > sub_14035B080 @ 0x14035b2fe
// > sub_14035B080 @ 0x14035b344
// > sub_14035CCF0 @ 0x14035cd42
// > sub_14035CF50 @ 0x14035cf7b
// > sub_14035D500 @ 0x14035d537
// > sub_14035D5C0 @ 0x14035d607
// > sub_14035D6D0 @ 0x14035d70a
// > sub_14035E1E0 @ 0x14035e1fa
// > sub_14035E230 @ 0x14035e257
// > sub_14035E3A0 @ 0x14035e3cb
// > sub_1403623C0 @ 0x1403623c4
// > sub_1403624E0 @ 0x1403624e4
// > sub_1403624F0 @ 0x1403624f4
// > sub_140362500 @ 0x140362504
// > sub_140362510 @ 0x140362514
// > GJEffectManager::dGJEffectManager @ 0x1403647f5
// > GJEffectManager::dGJEffectManager @ 0x14036484f
// > GJEffectManager::dGJEffectManager @ 0x140364c5e
// > GJEffectManager::dGJEffectManager @ 0x140364d12
// > GJEffectManager::reset @ 0x140365557
// > GJEffectManager::resetEffects @ 0x14036638b
// > GJEffectManager::resetEffects @ 0x1403663c4
// > GJEffectManager::resetEffects @ 0x1403663f7
// > GJEffectManager::resetEffects @ 0x140366508
// > GJEffectManager::handleObjectCollision @ 0x14036690c
// > GJEffectManager::controlActionsForControlID @ 0x1403683eb
// > GJEffectManager::controlActionsForControlID @ 0x140368518
// > GJEffectManager::controlActionsForControlID @ 0x140368637
// > GJEffectManager::controlActionsForControlID @ 0x140368755
// > GJEffectManager::controlActionsForControlID @ 0x140368821
// > GJEffectManager::controlActionsForControlID @ 0x140368b34
// > GJEffectManager::controlActionsForTrigger @ 0x140368d11
// > GJEffectManager::controlActionsForTrigger @ 0x140369095
// > GJEffectManager::controlActionsForTrigger @ 0x1403691cb
// > GJEffectManager::controlActionsForTrigger @ 0x1403692f8
// > GJEffectManager::controlActionsForTrigger @ 0x140369427
// > GJEffectManager::controlActionsForTrigger @ 0x1403695a4
// > GJEffectManager::resetTempGroupCommands @ 0x140369a79
// > GJEffectManager::prepareMoveActions @ 0x14036ac0b
// > GJEffectManager::postMoveActions @ 0x14036b036
// > GJEffectManager::updateSpawnTriggers @ 0x14036c720
// > GJEffectManager::updateSpawnTriggers @ 0x14036c739
// > GJEffectManager::updateSpawnTriggers @ 0x14036c804
// > GJEffectManager::playerButton @ 0x14036ca92
// > GJEffectManager::updateCountForItem @ 0x14036cf29
// > GJEffectManager::updateCountForItem @ 0x14036cf9c
// > GJEffectManager::getPersistentStateString @ 0x14036d2f3
// > GJEffectManager::getPersistentStateString @ 0x14036d58a
// > GJEffectManager::startTimer @ 0x14036d879
// > GJEffectManager::updateTimers @ 0x14036de0b
// > GJEffectManager::updateTimers @ 0x14036dfb8
// > GJEffectManager::updateTimers @ 0x14036e151
// > sub_14036F1B0 @ 0x14036f25f
// > sub_14036F930 @ 0x14036f967
// > sub_14036F9A0 @ 0x14036fa07
// > sub_140370210 @ 0x1403703ae
// > sub_140370210 @ 0x1403704b4
// > sub_140370DC0 @ 0x140370e67
// > sub_140370DC0 @ 0x140371038
// > sub_140371120 @ 0x1403712b8
// > sub_1403712F0 @ 0x1403714e9
// > sub_140371520 @ 0x1403715c4
// > sub_140371520 @ 0x14037184b
// > sub_140371890 @ 0x140371934
// > sub_140371890 @ 0x140371bc4
// > sub_1403725B0 @ 0x1403725c6
// > sub_140372820 @ 0x1403728f0
// > sub_140372820 @ 0x1403729d0
// > sub_140372C10 @ 0x140372c47
// > sub_140372ED0 @ 0x140372efb
// > sub_140372FA0 @ 0x140372fcb
// > sub_140373070 @ 0x14037309b
// > sub_1403758F0 @ 0x140375b13
// > sub_140376270 @ 0x1403763a8
// > sub_140376270 @ 0x14037641d
// > sub_140376B60 @ 0x140376bf4
// > sub_140376CD0 @ 0x140376d64
// > sub_140377AD0 @ 0x140377c09
// > sub_1403782F0 @ 0x14037832d
// > sub_1403783E0 @ 0x1403783fa
// > sub_140378420 @ 0x14037843a
// > sub_140378460 @ 0x14037847a
// > sub_1403784A0 @ 0x1403784c7
// > sub_1403784F0 @ 0x14037851b
// > sub_140378590 @ 0x1403785bb
// > sub_1403786A0 @ 0x1403786d9
// > sub_140378790 @ 0x1403787c7
// > sub_140378850 @ 0x140378897
// > sub_140378960 @ 0x14037898b
// > sub_140378A00 @ 0x140378a3a
// > sub_140378AF0 @ 0x140378b1b
// > sub_140378B90 @ 0x140378bc9
// > sub_140378C90 @ 0x140378cc9
// > sub_1403795D0 @ 0x1403795ea
// > sub_140379B20 @ 0x140379bc4
// > sub_140379B20 @ 0x140379e4b
// > sub_140379E90 @ 0x140379f14
// > sub_140379E90 @ 0x14037a1b4
// > sub_14037A380 @ 0x14037a3a7
// > GJKeybindManager::applyMovementOverride @ 0x140388fae
// > GJKeybindManager::applyMovementOverride @ 0x140388fef
// > GJKeybindManager::applyMovementOverride @ 0x1403891ad
// > GJKeybindManager::applyMovementOverride @ 0x14038924b
// > GJKeybindManager::applyMovementOverride @ 0x1403894d7
// > GJKeybindManager::applyMovementOverride @ 0x1403895e9
// > GJKeybindManager::clearMovementOverride @ 0x1403899bd
// > EditorSoundsSettingsPopup::onDownloadAll @ 0x1403d4fc9
// > KeybindingsLayer::buildContentForTab @ 0x1403d70b1
// > KeybindingsLayer::buildContentForTab @ 0x1403d7466
// > KeybindingsLayer::buildContentForTab @ 0x1403d76aa
// > KeybindingsLayer::buildContentForTab @ 0x1403d76b4
// > KeybindingsLayer::buildContentForTab @ 0x1403d76be
// > KeybindingsLayer::buildContentForTab @ 0x1403d776d
// > KeybindingsLayer::onEditBinding @ 0x1403d7d35
// > KeybindingsLayer::actionsToShow @ 0x1403d7fca
// > LevelEditorLayer::dLevelEditorLayer @ 0x1403ed623
// > LevelEditorLayer::dLevelEditorLayer @ 0x1403ed684
// > LevelEditorLayer::dLevelEditorLayer @ 0x1403ed690
// > LevelEditorLayer::dLevelEditorLayer @ 0x1403ed6a8
// > LevelEditorLayer::dLevelEditorLayer @ 0x1403ed6b4
// > LevelEditorLayer::dLevelEditorLayer @ 0x1403ed6c0
// > LevelEditorLayer::rebuildDeathOverlay @ 0x1403f5e75
// > LevelEditorLayer::rebuildDeathOverlay @ 0x1403f5e7f
// > sub_140401DD0 @ 0x1404028e8
// > sub_140403620 @ 0x140403fef
// > LevelEditorLayer::updateDebugDraw @ 0x14040747a
// > LevelSettingsObject::objectFromDict @ 0x140412095
// > sub_140449EC0 @ 0x140449fa5
// > LevelBindingsLayer::onCopy @ 0x14044ca1b
// > LevelBindingsLayer::onPaste @ 0x14044cd0f
// > KeybindCapturePopup::updateConflictLabel @ 0x14044ea2c
// > KeybindCapturePopup::updateConflictLabel @ 0x14044ea44
// > KeybindCapturePopup::updateConflictLabel @ 0x14044ead1
// > MusicDownloadManager::dMusicDownloadManager @ 0x140482479
// > MusicDownloadManager::importCustomSFXSetup @ 0x140488abe
// > MusicDownloadManager::deleteCustomSFXObject @ 0x14048a1b4
// > MusicDownloadManager::dataLoaded @ 0x14048b277
// > MusicSearchResult::dMusicSearchResult @ 0x140497a31
// > MusicSearchResult::applyTagFilters @ 0x140497f98
// > ExplodeItemNode::createSprites @ 0x1404e3217
// > ExplodeItemNode::createSprites @ 0x1404e3221
// > ExplodeItemNode::createSprites @ 0x1404e322c
// > ExplodeItemNode::createSprites @ 0x1404e3236
// > PlayerObject::dPlayerObject @ 0x1404e48c3
// > PlayLayer::dPlayLayer @ 0x140503875
// > PlayLayer::dPlayLayer @ 0x140503881
// > PlayLayer::dPlayLayer @ 0x1405038b1
// > PlayLayer::dPlayLayer @ 0x1405038bd
// > PlayLayer::dPlayLayer @ 0x1405038c9
// > PlayLayer::dPlayLayer @ 0x1405038d5
// > PlayLayer::dPlayLayer @ 0x1405038e1
// > PlayLayer::destroyPlayer @ 0x14051259e
// > sub_14051C550 @ 0x14051c5f7
// > sub_14051C550 @ 0x14051c7c7
// > sub_14051DB30 @ 0x14051dc77
// > sub_14051DB30 @ 0x14051dced
// > sub_14051E0D0 @ 0x14051e10d
// > PlayLayer::tryShowDeathMarkers @ 0x140520665
// > PlayerCheckpoint::dPlayerCheckpoint @ 0x140520f3e
// > sub_14052A7F0 @ 0x14052aa0a
// > ReadArchive::process_8 @ 0x14052e754
// > sub_14054E6E0 @ 0x14054e757
// > sub_14054ED70 @ 0x14054edd4
// > sub_14054EF50 @ 0x14054efb4
// > sub_14054F130 @ 0x14054f194
// > sub_14054F310 @ 0x14054f374
// > sub_14054F4F0 @ 0x14054f554
// > sub_14054F6E0 @ 0x14054f724
// > SecretRewardsLayer::generateChestItems @ 0x14056bae6
// > sub_140588DE0 @ 0x140588ee4
// > SFXBrowser::onSelectAll @ 0x14061c0ff
// > SpawnTriggerGameObject::dSpawnTriggerGameObject @ 0x14063827c
// > EffectGameObject::triggerObject @ 0x140647dd6
// > EffectGameObject::triggerObject @ 0x1406482e7
// > EffectGameObject::triggerObject @ 0x1406485dd
// > EffectGameObject::triggerObject @ 0x14064881b
// > EffectGameObject::triggerObject @ 0x14064882e
// > EffectGameObject::triggerObject @ 0x140648af2
// > EffectGameObject::triggerObject @ 0x140648b06
// > EffectGameObject::triggerObject @ 0x140648bc4
// > EffectGameObject::triggerObject @ 0x140648bd8
// > EffectGameObject::triggerObject @ 0x140648ce0
// > EffectGameObject::triggerObject @ 0x140648dc6
// > EffectGameObject::triggerObject @ 0x140648dda
// > EffectGameObject::triggerObject @ 0x140649054
// > EffectGameObject::triggerObject @ 0x140649067
// > EffectGameObject::triggerObject @ 0x140649401
// > EffectGameObject::triggerObject @ 0x1406498be
// > EffectGameObject::triggerObject @ 0x1406498d2
// > EffectGameObject::triggerObject @ 0x1406498e6
// > EffectGameObject::triggerObject @ 0x1406498fa
// > EffectGameObject::triggerObject @ 0x14064997c
// > EffectGameObject::triggerObject @ 0x14064998c
// > RandTriggerGameObject::triggerObject @ 0x1406557c6
// > EventLinkTrigger::triggerObject @ 0x140659a71
// > CountTriggerGameObject::triggerObject @ 0x14065c6fe
// > EndTriggerGameObject::triggerObject @ 0x14065dcfa
// > TimerTriggerGameObject::triggerObject @ 0x140660122
// > ItemTriggerGameObject::triggerObject @ 0x140660c11
// > sub_14066D0B0 @ 0x14066d2a7
// > sub_14068A759 @ 0x14068a767
// > sub_1406A982C @ 0x1406a983a
// > int `_wcrtomb_s_l @ 0x1406af723
// > sub_1406B2396 @ 0x1406b23a4
// > sub_1406B2766 @ 0x1406b2774
// > sub_1406BD5A0 @ 0x1406bd5a7
// > ?dtor$0@?0??_wcstombs_l_helper@@YA_KPEADPEB_W_KPEAU__crt_locale_pointers@@@Z@4HA_223 @ 0x1406bd5b3
// > sub_1406BD5B8 @ 0x1406bd5bf
// > sub_1406BD5C4 @ 0x1406bd5cb
// > sub_1406BD668 @ 0x1406bd676
// > sub_1406BE240 @ 0x1406be24e
// > sub_1406BE253 @ 0x1406be25a
// > sub_1406BFBBE @ 0x1406bfbcc
// > sub_1406CD1F0 @ 0x1406cd1f7
// > sub_1406CD240 @ 0x1406cd247
// > sub_1406CD250 @ 0x1406cd257
// > ??> @ 0x1408c1d35
// > ??> @ 0x1408d428f
// > ??> @ 0x1408d4296
// > ??> @ 0x1408d429c
// > ??> @ 0x1408d42a3
// > ??> @ 0x1408d5f62
// > ??> @ 0x1409111e0
//
// 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:47 +0000
//
void __fastcall sub_140069730(__int64 a1)
{
_QWORD *v2; // rcx
v2 = *(_QWORD **)a1;
if ( v2 )
{
if ( ((*(_QWORD *)(a1 + 16) - (_QWORD)v2) & 0xFFFFFFFFFFFFFFFCuLL) >= 0x1000 )
{
if ( (unsigned __int64)v2 - *(v2 - 1) - 8 > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
v2 = (_QWORD *)*(v2 - 1);
}
j_j_free(v2);
*(_QWORD *)a1 = 0;
*(_QWORD *)(a1 + 8) = 0;
*(_QWORD *)(a1 + 16) = 0;
}
}