//
// SFXFolderObject::init from 0x458fc4 to 0x45902c (104 bytes)
//
// 1 xrefs:
// > SFXFolderObject::create @ 0x45908a
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int __fastcall SFXFolderObject::init(int a1, int a2, int a3, int a4)
{
int v7; // r7
cocos2d::CCArray *v8; // r0
cocos2d::CCObject *v9; // r0
_DWORD v11[2]; // [sp+8h] [bp-8h] BYREF
v11[0] = a3;
v11[1] = a4;
sub_775C20(v11);
v7 = SFXInfoObject::init(a1, a2, (int)v11, a4, 0, 0);
v8 = (cocos2d::CCArray *)sub_774008(v11);
if ( v7 )
{
*(_BYTE *)(a1 + 68) = 1;
v9 = (cocos2d::CCObject *)cocos2d::CCArray::create(v8);
*(_DWORD *)(a1 + 76) = v9;
cocos2d::CCObject::retain(v9);
}
return v7;
}