//
// EditorSoundConfigInfoLayer::create from 0x7882dc to 0x788420 (324 bytes)
//
// 2 xrefs:
// > EditorSoundBrowserLayer::onConfigViewClicked @ 0x781bc4
// > EditorSoundConfigInfoLayer::reloadWindow @ 0x78844e
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:59:34 +0000
//
int __fastcall EditorSoundConfigInfoLayer::create(cocos2d::CCObject *a1, int a2, int a3)
{
int v6; // r4
int v7; // r3
int v8; // r0
v6 = operator new(0x33Cu);
SetupTriggerPopup::SetupTriggerPopup((SetupTriggerPopup *)v6);
*(_DWORD *)v6 = &off_CF9600;
*(_DWORD *)(v6 + 264) = &off_CF992C;
*(_DWORD *)(v6 + 268) = &off_CF9964;
*(_DWORD *)(v6 + 272) = &off_CF9970;
*(_DWORD *)(v6 + 276) = &off_CF9980;
*(_DWORD *)(v6 + 280) = &off_CF9994;
*(_DWORD *)(v6 + 316) = &off_CF99AC;
*(_DWORD *)(v6 + 332) = &off_CF99EC;
*(_DWORD *)(v6 + 440) = &off_CF99FC;
*(_DWORD *)(v6 + 520) = &off_CF9A20;
*(_DWORD *)(v6 + 524) = &off_CF9A2C;
*(_DWORD *)(v6 + 712) = &off_CF9A3C;
*(_DWORD *)(v6 + 716) = &off_CF9A4C;
*(_DWORD *)(v6 + 720) = &off_CF9A5C;
*(_DWORD *)(v6 + 724) = &off_CF9A68;
*(_DWORD *)(v6 + 728) = &off_CF9A74;
*(_DWORD *)(v6 + 732) = &off_CF9A80;
*(_DWORD *)(v6 + 736) = &off_CF9A8C;
*(_DWORD *)(v6 + 740) = &off_CF9A9C;
*(_DWORD *)(v6 + 744) = &off_CF9AA8;
*(_DWORD *)(v6 + 748) = 0;
*(_DWORD *)(v6 + 752) = 0;
*(_DWORD *)(v6 + 756) = 0;
*(_DWORD *)(v6 + 760) = 0;
*(_BYTE *)(v6 + 764) = 0;
*(_BYTE *)(v6 + 765) = 0;
*(_BYTE *)(v6 + 766) = 0;
*(_DWORD *)(v6 + 768) = 0;
*(_DWORD *)(v6 + 772) = 0;
*(_DWORD *)(v6 + 776) = 0;
*(_DWORD *)(v6 + 780) = 0;
*(_DWORD *)(v6 + 784) = 0;
*(_DWORD *)(v6 + 788) = 0;
*(_DWORD *)(v6 + 792) = 0;
*(_DWORD *)(v6 + 796) = 0;
*(_DWORD *)(v6 + 800) = 0;
*(_DWORD *)(v6 + 804) = 0;
*(_DWORD *)(v6 + 808) = 0;
*(_DWORD *)(v6 + 812) = 0;
*(_DWORD *)(v6 + 816) = 0;
*(_DWORD *)(v6 + 820) = 0;
*(_DWORD *)(v6 + 824) = 0;
if ( EditorSoundConfigInfoLayer::init(v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);
}
else
{
v7 = *(_DWORD *)v6;
v8 = v6;
v6 = 0;
(*(void (__fastcall **)(int))(v7 + 8))(v8);
}
return v6;
}