//
// GJRateEditorSoundLayer::create from 0x100508de0 to 0x100508f09 (297 bytes)
//
// 1 xrefs:
// > EditorSoundConfigInfoLayer::onFeatureAdmin @ 0x1008f848b
//
// 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:31:33 +0000
//
_QWORD *__fastcall GJRateEditorSoundLayer::create(__int64 a1)
{
_QWORD *v1; // rbx
v1 = operator new(0x428u);
__bzero(v1, 1064);
SetupTriggerPopup::SetupTriggerPopup((__int64)v1);
*v1 = off_100B66478;
v1[40] = off_100B66A88;
v1[41] = &off_100B66AF8;
v1[42] = off_100B66B10;
v1[43] = off_100B66B30;
v1[44] = off_100B66B58;
v1[51] = off_100B66B88;
v1[54] = off_100B66C08;
v1[68] = off_100B66C28;
v1[83] = &off_100B66C70;
v1[84] = off_100B66C88;
v1[127] = &off_100B66CA8;
v1[128] = off_100B66CC0;
v1[129] = &off_100B66CE0;
*((_OWORD *)v1 + 65) = 0;
*((_BYTE *)v1 + 1056) = 0;
if ( (unsigned __int8)GJRateEditorSoundLayer::init(v1, a1) )
{
cocos2d::CCObject::autorelease((__int64)v1);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v1 + 16LL))(v1);
return nullptr;
}
return v1;
}