//
// sub_1004D62EC from 0x1004d62ec to 0x1004d638c (160 bytes)
//
// 4 xrefs:
// > EditorSoundConfigUploadPopup::dEditorSoundConfigUploadPopup @ 0x1004d6390
// > sub_1004D6394 @ 0x1004d6398
// > sub_1004D639C @ 0x1004d63a4
// > sub_1004D63B0 @ 0x1004d63bc
//
// This function is hookable on this platform (idp: arm, 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:06:31 +0000
//
__int64 __fastcall sub_1004D62EC(_QWORD *a1)
{
*a1 = off_100989DC8;
a1[40] = off_10098A3C8;
a1[41] = &off_10098A438;
a1[42] = off_10098A450;
a1[43] = off_10098A470;
a1[44] = off_10098A498;
a1[51] = off_10098A4C8;
a1[54] = off_10098A548;
a1[68] = off_10098A568;
a1[83] = &off_10098A5B0;
a1[84] = off_10098A5C8;
a1[127] = off_10098A5E8;
if ( GameLevelManager::sharedState() && *(_QWORD **)(GameLevelManager::sharedState() + 1320) == a1 + 127 )
*(_QWORD *)(GameLevelManager::sharedState() + 1320) = 0;
return sub_1001ABB48((__int64)a1);
}