//
// GJEditorSoundConfig::createWithCoder from 0x100907300 to 0x1009073bf (191 bytes)
//
// 2 xrefs:
// > EditorSFXManager::dataLoaded @ 0x1008eca25
// > EditorSFXManager::dataLoaded @ 0x1008ecb74
//
// This function is hookable on this platform (idp: pc, 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 12:38:05 +0000
//
char *__fastcall GJEditorSoundConfig::createWithCoder(__int64 a1)
{
char *v1; // rbx
v1 = (char *)operator new(0x1F8u);
cocos2d::CCNode::CCNode((__int64)v1);
*(_QWORD *)v1 = off_100BBE9B8;
*(_QWORD *)(v1 + 316) = 0;
v1[324] = 0;
*(_OWORD *)(v1 + 328) = 0;
*(_OWORD *)(v1 + 344) = 0;
*(_OWORD *)(v1 + 357) = 0;
*(_OWORD *)(v1 + 376) = 0;
*(_OWORD *)(v1 + 392) = 0;
*(_OWORD *)(v1 + 408) = 0;
*(_OWORD *)(v1 + 424) = 0;
*(_OWORD *)(v1 + 440) = 0;
*(_OWORD *)(v1 + 456) = 0;
*(_OWORD *)(v1 + 472) = 0;
*(_OWORD *)(v1 + 482) = 0;
if ( cocos2d::CCNode::init() )
{
cocos2d::CCObject::autorelease((__int64)v1);
GJEditorSoundConfig::dataLoaded(v1, a1);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
return v1;
}