//
// GJRateEditorSoundLayer::create from 0x567c5c to 0x567d28 (204 bytes)
//
// 1 xrefs:
// > EditorSoundConfigInfoLayer::onFeatureAdmin @ 0x784f34
//
// 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:52:29 +0000
//
int *__fastcall GJRateEditorSoundLayer::create(GJRateEditorSoundLayer *this, GJEditorSoundConfig *a2)
{
int *v3; // r4
int v4; // r3
int *v5; // r0
v3 = (int *)operator new(0x2E0u);
memset(v3, 0, 0x2E0u);
SetupTriggerPopup::SetupTriggerPopup((SetupTriggerPopup *)v3);
*v3 = (int)&off_CAFC38;
v3[66] = (int)&off_CAFF40;
v3[67] = (int)&off_CAFF78;
v3[68] = (int)&off_CAFF84;
v3[69] = (int)&off_CAFF94;
v3[70] = (int)&off_CAFFA8;
v3[79] = (int)&off_CAFFC0;
v3[83] = (int)&off_CB0000;
v3[110] = (int)&off_CB0010;
v3[130] = (int)&off_CB0034;
v3[131] = (int)&off_CB0040;
v3[178] = (int)&off_CB0050;
v3[179] = (int)&off_CB005C;
v3[180] = (int)&off_CB006C;
v3[181] = 0;
v3[182] = 0;
*((_BYTE *)v3 + 732) = 0;
if ( GJRateEditorSoundLayer::init((const cocos2d::CCPoint **)v3, this) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3);
}
else
{
v4 = *v3;
v5 = v3;
v3 = nullptr;
(*(void (__fastcall **)(int *))(v4 + 8))(v5);
}
return v3;
}