//
// sub_1004D4238 from 0x1004d4238 to 0x1004d42c0 (136 bytes)
//
// 1 xrefs:
// > EditorSoundConfigUploadPopup::uploadEditorSoundFinished @ 0x1004d6bd8
//
// 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:30 +0000
//
_DWORD *__fastcall sub_1004D4238(__int64 a1)
{
_DWORD *v2; // x19
__int64 v3; // x21
__int64 v4; // x22
_DWORD *result; // x0
v2 = *(_DWORD **)(a1 + 1088);
if ( v2 )
cocos2d::CCObject::retain(*(_QWORD *)(a1 + 1088));
v3 = *(unsigned int *)(a1 + 1096);
v4 = *(_QWORD *)(a1 + 1104);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1368LL))(a1, 0);
result = sub_1004CF934((__int64)v2, v3, v4);
if ( result )
result = (_DWORD *)(*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)result + 1312LL))(result);
if ( v2 )
return cocos2d::CCObject::release(v2);
return result;
}