//
// AudioAssetsPopup::create from 0x1004a93b0 to 0x1004a9498 (232 bytes)
//
// 1 xrefs:
// > EditorPauseLayer::onDownloadAudio @ 0x1004447c8
//
// 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:06 +0000
//
_QWORD *__fastcall AudioAssetsPopup::create(__int64 a1, __int64 a2, __int64 a3, __int64 a4)
{
_QWORD *v8; // x19
double v9; // d0
v8 = operator new(0x408u);
v9 = SetupTriggerPopup::SetupTriggerPopup((__int64)v8);
*v8 = off_10097F930;
v8[40] = off_10097FF28;
v8[41] = &off_10097FF98;
v8[42] = off_10097FFB0;
v8[43] = off_10097FFD0;
v8[44] = off_10097FFF8;
v8[51] = off_100980028;
v8[54] = off_1009800A8;
v8[68] = off_1009800C8;
v8[83] = &off_100980110;
v8[84] = off_100980128;
v8[127] = off_100980148;
v8[128] = 0;
if ( (unsigned int)AudioAssetsPopup::init(v8, a1, a2, a3, a4, v9) )
{
cocos2d::CCObject::autorelease((__int64)v8);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v8 + 16LL))(v8);
return nullptr;
}
return v8;
}