//
// SFXFolderObject::init from 0x56e168 to 0x56e1d2 (106 bytes)
//
// 1 xrefs:
// > SFXFolderObject::create @ 0x56e21a
//
// 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:35 +0000
//
int __fastcall SFXFolderObject::init(int a1, int a2, int a3, int a4)
{
int v7; // r7
cocos2d::CCArray *v8; // r0
cocos2d::CCObject *v9; // r0
int v11[3]; // [sp+8h] [bp-10h] BYREF
std::string::basic_string(v11, a3);
v7 = SFXInfoObject::init(a1, a2, (unsigned __int8 *)v11, a4, 0, 0);
v8 = (cocos2d::CCArray *)std::string::~string((int)v11);
if ( v7 )
{
*(_BYTE *)(a1 + 68) = 1;
v9 = (cocos2d::CCObject *)cocos2d::CCArray::create(v8);
*(_DWORD *)(a1 + 112) = v9;
cocos2d::CCObject::retain(v9);
}
return v7;
}