//
// EditorSFXManager::createNewSound from 0xcbf638 to 0xcbf698 (96 bytes)
//
// 3 xrefs:
// > EditorSFXActionConfigLayer::sfxBrowserClosed @ 0xcbd928
// > EditorSFXManager::decodeSound @ 0xcc31c8
// > ??> @ 0xe4100
//
// This function is hookable on this platform (idp: arm, 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 13:06:16 +0000
//
float __fastcall EditorSFXManager::createNewSound(EditorSFXManager *this, const char *a2)
{
int v2; // w19
__int64 v3; // x0
float result; // s0
v2 = (int)this;
v3 = SFXTriggerGameObject::create((SFXTriggerGameObject *)"GJ_sfxIcon_001.png", a2);
if ( v3 )
{
*(_DWORD *)(v3 + 1864) = v2;
*(_DWORD *)(v3 + 1876) = 0;
*(float *)(v3 + 1884) = 1.0;
*(_DWORD *)(v3 + 1880) = 0;
*(_DWORD *)(v3 + 1888) = 0;
*(_DWORD *)(v3 + 1896) = 0;
*(_DWORD *)(v3 + 1892) = 0;
*(_DWORD *)(v3 + 1900) = 0;
*(_BYTE *)(v3 + 1906) = 0;
*(_BYTE *)(v3 + 1904) = 0;
*(_DWORD *)(v3 + 1948) = 0;
return 0.0;
}
return result;
}