//
// GJEditorSoundConfig::create from 0xcda7d0 to 0xcda8d8 (264 bytes)
//
// 5 xrefs:
// > EditorSFXManager::copyFavoriteToMyConfig @ 0xcc3648
// > EditorSFXManager::createMyConfigFromLive @ 0xcc3954
// > GJEditorSoundConfig::create @ 0xcdaa28
// > GJEditorSoundConfig::createWithCoder @ 0xcdbb7c
// > ??> @ 0xebdc8
//
// 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 13:06:32 +0000
//
__int64 __fastcall GJEditorSoundConfig::create(GJEditorSoundConfig *this)
{
__int64 v1; // x19
v1 = operator new(0x1F8u);
cocos2d::CCNode::CCNode((cocos2d::CCNode *)v1);
*(_DWORD *)(v1 + 316) = 0;
*(_DWORD *)(v1 + 320) = 0;
*(_QWORD *)v1 = &off_1501B80;
*(_BYTE *)(v1 + 324) = 0;
*(_DWORD *)(v1 + 328) = 0;
*(_DWORD *)(v1 + 332) = 0;
*(_DWORD *)(v1 + 336) = 0;
*(_DWORD *)(v1 + 340) = 0;
*(_DWORD *)(v1 + 344) = 0;
*(_DWORD *)(v1 + 348) = 0;
*(_DWORD *)(v1 + 352) = 0;
*(_DWORD *)(v1 + 356) = 0;
*(_DWORD *)(v1 + 360) = 0;
*(_DWORD *)(v1 + 364) = 0;
*(_DWORD *)(v1 + 368) = 0;
*(_BYTE *)(v1 + 372) = 0;
*(_QWORD *)(v1 + 376) = 0;
*(_QWORD *)(v1 + 384) = 0;
*(_QWORD *)(v1 + 392) = 0;
*(_QWORD *)(v1 + 400) = 0;
*(_QWORD *)(v1 + 408) = 0;
*(_QWORD *)(v1 + 416) = 0;
*(_QWORD *)(v1 + 424) = 0;
*(_QWORD *)(v1 + 432) = 0;
*(_QWORD *)(v1 + 440) = 0;
*(_QWORD *)(v1 + 448) = 0;
*(_QWORD *)(v1 + 456) = 0;
*(_QWORD *)(v1 + 464) = 0;
*(_QWORD *)(v1 + 472) = 0;
*(_QWORD *)(v1 + 480) = 0;
*(_QWORD *)(v1 + 488) = 0;
*(_BYTE *)(v1 + 496) = 0;
*(_BYTE *)(v1 + 497) = 0;
if ( (unsigned __int8)GJEditorSoundConfig::init((GJEditorSoundConfig *)v1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
return v1;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v1 + 16LL))(v1);
return 0;
}
}