//
// FMODAudioEngine::FMODAudioEngine from 0x14005bf90 to 0x14005c2eb (859 bytes)
//
// 293 xrefs:
// > AchievementNotifier::showNextAchievement @ 0x14003d7be
// > CCMenuItemSpriteExtra::activate @ 0x140048b52
// > CCMenuItemSpriteExtra::selected @ 0x140048c52
// > sub_14005C7A0 @ 0x14005c7d8
// > sub_14005C850 @ 0x14005c880
// > FMODAudioEngine::triggerQueuedMusic @ 0x140064846
// > FMODAudioEngine::triggerQueuedMusic @ 0x14006488c
// > FMODAudioEngine::triggerQueuedMusic @ 0x1400648dc
// > AppDelegate::applicationDidEnterBackground @ 0x140098666
// > AppDelegate::applicationWillEnterForeground @ 0x140098870
// > ChallengeNode::onClaimReward @ 0x1400a0618
// > CreateGuidelinesLayer::playMusic @ 0x14013436a
// > CreateGuidelinesLayer::onStop @ 0x1401343eb
// > FindBPMLayer::playMusic @ 0x140135227
// > MapPackCell::playCompleteEffect @ 0x14014e5c3
// > CustomSongCell::onDelete @ 0x14015067e
// > CustomSongCell::onDelete @ 0x1401506c8
// > CustomSFXWidget::deleteSFX @ 0x1401619eb
// > CustomSFXWidget::onPlayback @ 0x140162271
// > CustomSFXWidget::onPlayback @ 0x14016239a
// > CustomSongLayer::onSearch @ 0x140164c5f
// > CustomSongLayer::onCreateLines @ 0x14016522b
// > CustomSongLayer::onClose @ 0x1401654fe
// > SongOptionsLayer::onPlayback @ 0x1401661d4
// > SongOptionsLayer::onPlayback @ 0x14016621d
// > SongOptionsLayer::onPlayback @ 0x140166371
// > SongOptionsLayer::onPlayback @ 0x1401663d7
// > CustomSongWidget::deleteSong @ 0x14016b31e
// > CustomSongWidget::deleteSong @ 0x14016b368
// > CustomSongWidget::onPlayback @ 0x14016bd9e
// > CustomSongWidget::onPlayback @ 0x14016be85
// > CustomSongWidget::onPlayback @ 0x14016becf
// > CustomSongWidget::onPlayback @ 0x14016bf42
// > CustomSongWidget::onPlayback @ 0x14016bf8a
// > CustomSongWidget::onPlayback @ 0x14016c0a4
// > CustomSongWidget::updatePlaybackBtn @ 0x14016c20f
// > DailyLevelNode::onClaimReward @ 0x1401739c2
// > EditLevelLayer::onPlay @ 0x14017b2e3
// > EditLevelLayer::onPlay @ 0x14017b39b
// > EditLevelLayer::playStep2 @ 0x14017b48b
// > EditLevelLayer::onEdit @ 0x14017b8df
// > EditorPauseLayer::volumeChanged @ 0x140180dee
// > EditorPauseLayer::volumeChanged @ 0x140180e44
// > EditorPauseLayer::customSetup @ 0x140181faa
// > EditorPauseLayer::musicSliderChanged @ 0x140182332
// > EditorPauseLayer::sfxSliderChanged @ 0x1401823d4
// > EditorPauseLayer::playStep2 @ 0x14018265e
// > EditorPauseLayer::playStep2 @ 0x1401826cc
// > EditorPauseLayer::onExitEditor @ 0x140182bd2
// > EditorUI::onPlayback @ 0x1401b4244
// > EditorUI::onPlayback @ 0x1401b42bb
// > EditorUI::onPlayback @ 0x1401b45cc
// > EndLevelLayer::onReplay @ 0x14020624e
// > EndLevelLayer::onReplay @ 0x1402062de
// > EndLevelLayer::onMenu @ 0x1402064ee
// > EndLevelLayer::onEdit @ 0x140206599
// > EndLevelLayer::onRestartCheckpoint @ 0x14020689e
// > EndLevelLayer::onRestartCheckpoint @ 0x14020694c
// > EndLevelLayer::coinEnterFinished @ 0x14020739d
// > EndLevelLayer::playEndEffect @ 0x140207e82
// > EndLevelLayer::playEndEffect @ 0x140207f19
// > EndLevelLayer::playEndEffect @ 0x140207fc9
// > GameManager::playMenuMusic @ 0x140276757
// > GameManager::playMenuMusic @ 0x1402767f4
// > GameManager::playMenuMusic @ 0x1402768da
// > GameManager::fadeInMenuMusic @ 0x1402769b5
// > GameManager::fadeInMusic @ 0x140276a91
// > GameManager::fadeInMusic @ 0x140276af5
// > GameManager::playSFXTrigger @ 0x140276c44
// > GameManager::playSFXTrigger @ 0x140276c96
// > GameManager::playSFXTrigger @ 0x140276d0a
// > GameManager::playSFXTrigger @ 0x140276d8e
// > GameManager::playSFXTrigger @ 0x140276ddd
// > GameManager::playSFXTrigger @ 0x140276e68
// > GameManager::playSFXTrigger @ 0x140276eeb
// > GameManager::playSFXTrigger @ 0x140276f3a
// > GameManager::playSFXTrigger @ 0x14027708a
// > GameManager::firstLoad @ 0x1402851f1
// > GameManager::firstLoad @ 0x14028525c
// > GameManager::encodeDataTo @ 0x1402859f7
// > GameManager::encodeDataTo @ 0x140285a4c
// > GameManager::encodeDataTo @ 0x140285aa1
// > GameManager::update @ 0x140286a13
// > GameSettingsLayer::getValue @ 0x1402c7017
// > GameSettingsLayer::valueDidChange @ 0x1402c7408
// > GauntletSelectLayer::playUnlockAnimation @ 0x1403000fa
// > GauntletSelectLayer::playUnlockAnimation @ 0x1403001c7
// > GJBaseGameLayer::controlTriggersInGroup @ 0x140325d8e
// > GJBaseGameLayer::applyTimeWarp @ 0x14033f06a
// > GJBaseGameLayer::pauseAudio @ 0x14034035d
// > GJBaseGameLayer::pauseAudio @ 0x1403403c9
// > GJBaseGameLayer::pauseAudio @ 0x140340448
// > GJBaseGameLayer::resumeAudio @ 0x1403404a8
// > GJBaseGameLayer::resumeAudio @ 0x140340514
// > GJBaseGameLayer::resumeAudio @ 0x140340557
// > GJBaseGameLayer::resetAudio @ 0x1403405b7
// > GJBaseGameLayer::resetAudio @ 0x1403405f7
// > GJBaseGameLayer::update @ 0x140341d5f
// > GJBaseGameLayer::resetLevelVariables @ 0x140345138
// > GJBaseGameLayer::activateSongTrigger @ 0x14034b865
// > GJBaseGameLayer::activateSongTrigger @ 0x14034b8b1
// > GJBaseGameLayer::activateSongTrigger @ 0x14034b95a
// > GJBaseGameLayer::processSFXObjects @ 0x14034bccb
// > GJBaseGameLayer::activateSFXTrigger @ 0x14034bea4
// > GJBaseGameLayer::activateSFXEditTrigger @ 0x14034c203
// > GJBaseGameLayer::applySFXEditTrigger @ 0x14034c2d5
// > GJBaseGameLayer::applySFXEditTrigger @ 0x14034c343
// > GJBaseGameLayer::applySFXEditTrigger @ 0x14034c386
// > GJBaseGameLayer::applySFXEditTrigger @ 0x14034c3f1
// > GJBaseGameLayer::updateProximityVolumeEffects @ 0x14034c4d8
// > GJBaseGameLayer::addProximityVolumeEffect @ 0x14034c6f4
// > GJBaseGameLayer::activatedAudioTrigger @ 0x14034d150
// > GJBaseGameLayer::processActivatedAudioTriggers @ 0x14034dbcc
// > GJBaseGameLayer::processActivatedAudioTriggers @ 0x14034dc77
// > GJBaseGameLayer::processActivatedAudioTriggers @ 0x14034dd28
// > GJBaseGameLayer::processActivatedAudioTriggers @ 0x14034e03e
// > GJBaseGameLayer::processActivatedAudioTriggers @ 0x14034e1b8
// > GJBaseGameLayer::processActivatedAudioTriggers @ 0x14034ec81
// > GJBaseGameLayer::processActivatedAudioTriggers @ 0x14034ed53
// > GJBaseGameLayer::processActivatedAudioTriggers @ 0x14034ee45
// > GJBaseGameLayer::processActivatedAudioTriggers @ 0x14034eebd
// > GJBaseGameLayer::processActivatedAudioTriggers @ 0x14034ef2d
// > GJBaseGameLayer::processActivatedAudioTriggers @ 0x14034f07c
// > GJBaseGameLayer::processSongState @ 0x14034f7a0
// > GJBaseGameLayer::processSongState @ 0x14034f8f4
// > GJBaseGameLayer::processSongState @ 0x14034f9b6
// > GJBaseGameLayer::processSongState @ 0x14034fa30
// > GJBaseGameLayer::processSongState @ 0x14034fab2
// > GJBaseGameLayer::processSongState @ 0x14034fc9b
// > GJBaseGameLayer::processSongState @ 0x14034fd1d
// > GJBaseGameLayer::processSongState @ 0x14034ff00
// > GJBaseGameLayer::processSongState @ 0x14034ffe3
// > GJBaseGameLayer::updateAudioVisualizer @ 0x140352ba2
// > GJBaseGameLayer::updateAudioVisualizer @ 0x140352bdc
// > GJBaseGameLayer::updateAudioVisualizer @ 0x140352c16
// > GJBaseGameLayer::updateAudioVisualizer @ 0x140352c50
// > GJBaseGameLayer::updateAudioVisualizer @ 0x140352cba
// > GJBaseGameLayer::updateAudioVisualizer @ 0x140352cf4
// > GJBaseGameLayer::updateAudioVisualizer @ 0x140352d2e
// > GJBaseGameLayer::updateAudioVisualizer @ 0x140352d65
// > GJBaseGameLayer::toggleAudioVisualizer @ 0x140352e01
// > GJKeybindManager::handleGlobalAudioAction @ 0x140388d27
// > GJKeybindManager::handleGlobalAudioAction @ 0x140388d68
// > GJPathPage::playUnlockAnimation @ 0x140395b30
// > GJPathPage::playUnlockAnimation @ 0x140395bc7
// > GJPathPage::unlockAnimationStep3 @ 0x140396b7a
// > GJShopLayer::init @ 0x1403b0eee
// > GJShopLayer::didPurchaseItem @ 0x1403b2967
// > GJShopLayer::showReactMessage @ 0x1403b3c83
// > GJShopLayer::dialogClosed @ 0x1403b4a53
// > GJShopLayer::dialogClosed @ 0x1403b4af0
// > AnimatedShopKeeper::playReactAnimation @ 0x1403b6101
// > GJSongBrowser::exitLayer @ 0x1403bd8eb
// > LevelAreaLayer::onEnterTower @ 0x1403deb37
// > LevelAreaInnerLayer::onDoor @ 0x1403e158b
// > LevelAreaInnerLayer::onDoor @ 0x1403e163d
// > LevelBrowserLayer::FLAlert_Clicked @ 0x1403ea509
// > LevelEditorLayer::init @ 0x1403edc61
// > LevelEditorLayer::updateGameObjects @ 0x1403fb826
// > LevelEditorLayer::onStopPlaytest @ 0x14040059d
// > LevelEditorLayer::onStopPlaytest @ 0x14040060c
// > LevelEditorLayer::onStopPlaytest @ 0x140400683
// > DrawGridLayer::update @ 0x14040a708
// > DrawGridLayer::update @ 0x14040a7fd
// > LevelInfoLayer::onPlay @ 0x140421da6
// > LevelInfoLayer::onPlay @ 0x140421e5e
// > LevelInfoLayer::playStep2 @ 0x14042235b
// > LevelInfoLayer::onEdit @ 0x140422b0a
// > LevelListLayer::onClaimReward @ 0x14042e12d
// > LevelPage::onPlay @ 0x140446f9e
// > LevelPage::onPlay @ 0x140447056
// > LevelPage::playStep2 @ 0x14044714b
// > LoadingLayer::init @ 0x140469116
// > LoadingLayer::loadAssets @ 0x14046a29f
// > LoadingLayer::loadAssets @ 0x14046a307
// > LoadingLayer::loadAssets @ 0x14046a38e
// > MenuGameLayer::destroyPlayer @ 0x140471748
// > MusicBrowser::update @ 0x14047bb23
// > MusicBrowser::update @ 0x14047bc20
// > MusicBrowser::update @ 0x14047bc62
// > MusicBrowser::onPlaybackControl @ 0x14047c12f
// > MusicBrowser::sliderEnded @ 0x14047c18c
// > MusicBrowser::sliderEnded @ 0x14047c1ef
// > MusicBrowser::sliderEnded @ 0x14047c245
// > OptionsLayer::volumeChanged @ 0x1404cadce
// > OptionsLayer::volumeChanged @ 0x1404cae24
// > OptionsLayer::customSetup @ 0x1404cb6bb
// > OptionsLayer::customSetup @ 0x1404cb847
// > OptionsLayer::onMenuMusic @ 0x1404cba79
// > OptionsLayer::musicSliderChanged @ 0x1404cbb70
// > PauseLayer::volumeChanged @ 0x1404d684e
// > PauseLayer::volumeChanged @ 0x1404d68a4
// > PauseLayer::customSetup @ 0x1404d7f75
// > PauseLayer::customSetup @ 0x1404d805b
// > PauseLayer::onQuit @ 0x1404db859
// > PlayLayer::dPlayLayer @ 0x14050382c
// > PlayLayer::setupHasCompleted @ 0x140504e9f
// > PlayLayer::setupHasCompleted @ 0x140504f3a
// > PlayLayer::setupHasCompleted @ 0x140504f84
// > PlayLayer::setupHasCompleted @ 0x140505043
// > PlayLayer::showCompleteEffect @ 0x1405078c8
// > PlayLayer::showCompleteEffect @ 0x140507d0b
// > PlayLayer::showCompleteEffect @ 0x140507dbc
// > PlayLayer::showNewBest @ 0x1405099f0
// > PlayLayer::showNewBest @ 0x140509c72
// > PlayLayer::showNewBest @ 0x140509ee3
// > PlayLayer::updateVisibility @ 0x14050e207
// > PlayLayer::updateInfoLabel @ 0x14051194e
// > PlayLayer::updateInfoLabel @ 0x1405119ef
// > PlayLayer::destroyPlayer @ 0x140512e1c
// > PlayLayer::destroyPlayer @ 0x140512ea3
// > PlayLayer::destroyPlayer @ 0x140512f37
// > PlayLayer::createCheckpoint @ 0x14051437b
// > PlayLayer::loadFromCheckpoint @ 0x1405168c1
// > PlayLayer::loadFromCheckpoint @ 0x14051693f
// > PlayLayer::loadFromCheckpoint @ 0x140516999
// > PlayLayer::resetLevelFromStart @ 0x140518b38
// > PlayLayer::resetLevel @ 0x140518d55
// > PlayLayer::resetLevel @ 0x140518dc0
// > PlayLayer::playPracticeMusic @ 0x14051a10f
// > PlayLayer::playPracticeMusic @ 0x14051a313
// > PlayLayer::resumeAndRestart @ 0x14051a7aa
// > PlayLayer::resumeAndRestart @ 0x14051a7ed
// > PlayLayer::resumeAndRestart @ 0x14051a840
// > PlayLayer::resume @ 0x14051aa6c
// > PlayLayer::resume @ 0x14051aad8
// > PlayLayer::resume @ 0x14051ab23
// > PlayLayer::prepareMusic @ 0x14051adca
// > PlayLayer::prepareMusic @ 0x14051ae7a
// > PlayLayer::startMusic @ 0x14051af3b
// > PlayLayer::startMusic @ 0x14051afdb
// > PlayLayer::onQuit @ 0x14051b273
// > RetryLevelLayer::onMenu @ 0x14056177c
// > RewardUnlockLayer::playDropSound @ 0x14056459d
// > RewardUnlockLayer::step2 @ 0x14056464b
// > RewardUnlockLayer::playRewardEffect @ 0x1405647cc
// > RewardUnlockLayer::playRewardEffect @ 0x140564841
// > RewardUnlockLayer::playRewardEffect @ 0x1405648f5
// > RewardUnlockLayer::playRewardEffect @ 0x140564bbd
// > RewardUnlockLayer::playRewardEffect @ 0x140564c65
// > RewardUnlockLayer::playRewardEffect @ 0x140564cf7
// > RewardUnlockLayer::playRewardEffect @ 0x140564d68
// > RewardUnlockLayer::playRewardEffect @ 0x140564df7
// > RewardUnlockLayer::playRewardEffect @ 0x140564e97
// > RewardUnlockLayer::playRewardEffect @ 0x140564eff
// > RewardUnlockLayer::playRewardEffect @ 0x140564f91
// > RewardUnlockLayer::playRewardEffect @ 0x140564ff9
// > RewardUnlockLayer::playRewardEffect @ 0x140565088
// > SecretRewardsLayer::onGoldChest @ 0x14056d1b4
// > SecretRewardsLayer::fadeInOutMusic @ 0x14056d542
// > SecretLayer::onSubmit @ 0x1405740fb
// > SecretLayer2::onSubmit @ 0x14057b926
// > SecretLayer3::onClick @ 0x140582d07
// > SecretLayer3::onClick @ 0x140582d94
// > SecretLayer5::animateHead @ 0x14058ab24
// > SecretLayer5::showFailAnimation @ 0x14058b213
// > SecretLayer5::showFailAnimation @ 0x14058b2c8
// > SecretLayer5::showSuccessAnimation @ 0x14058bb14
// > SecretLayer5::showSuccessAnimation @ 0x14058bbc5
// > SecretLayer5::showSuccessAnimation @ 0x14058bc96
// > SecretLayer5::showSuccessAnimation @ 0x14058bd59
// > SecretLayer5::playWinSFX @ 0x14058c01f
// > SecretLayer5::onSubmit @ 0x14058c6d7
// > SetupReverbPopup::onPlay @ 0x1405dc267
// > SetupReverbPopup::onPlay @ 0x1405dc2ba
// > SetupReverbPopup::updateReverbLabel @ 0x1405dc40d
// > SetupReverbPopup::onClose @ 0x1405dc55e
// > SetupSFXPopup::onClose @ 0x1405dda44
// > SetupSFXPopup::onClose @ 0x1405ddc00
// > SetupSFXPopup::onClose @ 0x1405ddc5d
// > SetupSFXPopup::onClose @ 0x1405ddcc2
// > SetupSFXPopup::updateLength @ 0x1405dddaf
// > SetupSFXPopup::createSFXWidget @ 0x1405de25e
// > SetupSFXPopup::createSFXWidget @ 0x1405de2bb
// > SetupSFXPopup::createSFXWidget @ 0x1405de37f
// > SetupSFXPopup::overridePlaySFX @ 0x1405de49d
// > SetupSongTriggerPopup::updateLength @ 0x1405f3156
// > SetupSongTriggerPopup::updateSongTimeSlider @ 0x1405f3266
// > SetupSongTriggerPopup::updateSongTimeSlider @ 0x1405f32ec
// > SetupSongTriggerPopup::onPlayback @ 0x1405f33db
// > SetupSongTriggerPopup::onPlayback @ 0x1405f3427
// > SetupSongTriggerPopup::onPlayback @ 0x1405f359b
// > SetupSongTriggerPopup::onPlayback @ 0x1405f3637
// > SetupSongTriggerPopup::onPlayback @ 0x1405f36a8
// > SetupSongTriggerPopup::onPlayback @ 0x1405f36f6
// > SetupSongTriggerPopup::onSavePlaybackPos @ 0x1405f37e8
// > SetupSongTriggerPopup::onSavePlaybackPos @ 0x1405f3831
// > SetupSongTriggerPopup::valueDidChange @ 0x1405f399b
// > SetupSongTriggerPopup::onClose @ 0x1405f3b53
// > SetupSongTriggerPopup::onClose @ 0x1405f3b9c
// > SongInfoLayer::onBPM @ 0x14063677b
// > ??> @ 0x140910814
// > ??> @ 0x140910820
//
// 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:42 +0000
//
// Hidden C++ exception states: #wind=26
__int64 __fastcall FMODAudioEngine::FMODAudioEngine(__int64 a1)
{
_QWORD *v2; // rax
_QWORD *v3; // rax
_QWORD *v4; // rax
_QWORD *v5; // rax
_QWORD *v6; // rax
cocos2d::CCNode::CCNode((cocos2d::CCNode *)a1);
*(_QWORD *)a1 = &FMODAudioEngine::`vftable';
*(_DWORD *)(a1 + 320) = 0;
*(_QWORD *)(a1 + 328) = 0;
*(_QWORD *)(a1 + 336) = 0;
v2 = operator new(0x50u);
*v2 = v2;
v2[1] = v2;
*(_QWORD *)(a1 + 328) = v2;
*(_QWORD *)(a1 + 344) = 0;
*(_QWORD *)(a1 + 352) = 0;
*(_QWORD *)(a1 + 360) = 0;
*(_QWORD *)(a1 + 368) = 7;
*(_QWORD *)(a1 + 376) = 8;
*(_DWORD *)(a1 + 320) = 1065353216;
sub_14003F200(a1 + 344, 0x10u, *(_QWORD *)(a1 + 328));
*(_DWORD *)(a1 + 384) = 0;
*(_QWORD *)(a1 + 392) = 0;
*(_QWORD *)(a1 + 400) = 0;
v3 = operator new(0x68u);
*v3 = v3;
v3[1] = v3;
*(_QWORD *)(a1 + 392) = v3;
*(_QWORD *)(a1 + 408) = 0;
*(_QWORD *)(a1 + 416) = 0;
*(_QWORD *)(a1 + 424) = 0;
*(_QWORD *)(a1 + 432) = 7;
*(_QWORD *)(a1 + 440) = 8;
*(_DWORD *)(a1 + 384) = 1065353216;
sub_14003F200(a1 + 408, 0x10u, *(_QWORD *)(a1 + 392));
sub_140066D70(a1 + 448);
*(_DWORD *)(a1 + 512) = 1065353216;
*(_QWORD *)(a1 + 516) = 1065353216;
*(_QWORD *)(a1 + 524) = 0;
*(_QWORD *)(a1 + 532) = 0;
*(_DWORD *)(a1 + 540) = 0;
*(_BYTE *)(a1 + 544) = 0;
*(_QWORD *)(a1 + 552) = 0;
*(_QWORD *)(a1 + 560) = 0;
*(_QWORD *)(a1 + 568) = 0;
*(_QWORD *)(a1 + 576) = 0;
*(_QWORD *)(a1 + 584) = 0;
*(_QWORD *)(a1 + 592) = 0;
*(_QWORD *)(a1 + 600) = 0;
*(_DWORD *)(a1 + 612) = 0;
*(_WORD *)(a1 + 616) = 0;
*(_DWORD *)(a1 + 620) = 0;
*(_WORD *)(a1 + 624) = 0;
*(_QWORD *)(a1 + 632) = 0;
*(_QWORD *)(a1 + 640) = 0;
*(_QWORD *)(a1 + 648) = 0;
FMODAudioState::FMODAudioState(a1 + 656);
*(_QWORD *)(a1 + 1552) = 0;
*(_QWORD *)(a1 + 1560) = 0;
*(_QWORD *)(a1 + 1568) = 0;
*(_DWORD *)(a1 + 1576) = 0;
*(_QWORD *)(a1 + 1584) = 0;
*(_QWORD *)(a1 + 1592) = 0;
v4 = operator new(0x20u);
*v4 = v4;
v4[1] = v4;
*(_QWORD *)(a1 + 1584) = v4;
*(_QWORD *)(a1 + 1600) = 0;
*(_QWORD *)(a1 + 1608) = 0;
*(_QWORD *)(a1 + 1616) = 0;
*(_QWORD *)(a1 + 1624) = 7;
*(_QWORD *)(a1 + 1632) = 8;
*(_DWORD *)(a1 + 1576) = 1065353216;
sub_14003F200(a1 + 1600, 0x10u, *(_QWORD *)(a1 + 1584));
*(_DWORD *)(a1 + 1640) = 0;
*(_QWORD *)(a1 + 1648) = 0;
*(_QWORD *)(a1 + 1656) = 0;
v5 = operator new(0x20u);
*v5 = v5;
v5[1] = v5;
*(_QWORD *)(a1 + 1648) = v5;
*(_QWORD *)(a1 + 1664) = 0;
*(_QWORD *)(a1 + 1672) = 0;
*(_QWORD *)(a1 + 1680) = 0;
*(_QWORD *)(a1 + 1688) = 7;
*(_QWORD *)(a1 + 1696) = 8;
*(_DWORD *)(a1 + 1640) = 1065353216;
sub_14003F200(a1 + 1664, 0x10u, *(_QWORD *)(a1 + 1648));
sub_14003EC10(a1 + 1704);
*(_DWORD *)(a1 + 1768) = 0;
sub_14003EC10(a1 + 1776);
sub_14003EC10(a1 + 1840);
sub_1400669E0(a1 + 1904);
*(_QWORD *)(a1 + 1968) = 0;
*(_QWORD *)(a1 + 1976) = 0;
*(_QWORD *)(a1 + 1984) = 0;
*(_DWORD *)(a1 + 1992) = 0;
*(_QWORD *)(a1 + 2000) = 0;
*(_QWORD *)(a1 + 2008) = 0;
v6 = operator new(0x38u);
*v6 = v6;
v6[1] = v6;
*(_QWORD *)(a1 + 2000) = v6;
*(_QWORD *)(a1 + 2016) = 0;
*(_QWORD *)(a1 + 2024) = 0;
*(_QWORD *)(a1 + 2032) = 0;
*(_QWORD *)(a1 + 2040) = 7;
*(_QWORD *)(a1 + 2048) = 8;
*(_DWORD *)(a1 + 1992) = 1065353216;
sub_14003F200(a1 + 2016, 0x10u, *(_QWORD *)(a1 + 2000));
sub_1400666C0(a1 + 2056);
sub_1400666C0(a1 + 2120);
*(_BYTE *)(a1 + 2184) = 0;
*(_QWORD *)(a1 + 2188) = 0;
*(_QWORD *)(a1 + 2196) = 0;
*(_QWORD *)(a1 + 2204) = 0;
return a1;
}