//
// EditorSFXManager::getCustomSFXRawPath from 0xcbff98 to 0xcc0094 (252 bytes)
//
// 4 xrefs:
// > SetupSFXPopup::createSFXWidget @ 0xb6d694
// > SFXBrowser::setupSFXBrowser @ 0xb935d8
// > EditorSFXActionConfigLayer::refreshRows @ 0xcbe360
// > ??> @ 0x58ab0
//
// 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
//
__int64 *__usercall EditorSFXManager::getCustomSFXRawPath@(
__int64 *__return_ptr a1@,
EditorSFXManager *this@,
int a3@,
int a4@)
{
char *v4; // x5
char *v5; // x0
char *v6; // x4
int v7; // w3
int v8; // w0
__int64 v9; // x1
__int64 *v11; // [xsp+18h] [xbp+18h]
__int64 *v12; // [xsp+18h] [xbp+18h]
v4 = (char *)this + 128;
v5 = *((char **)this + 16);
if ( !v5 )
goto LABEL_18;
v6 = v4;
do
{
while ( 1 )
{
v7 = *((_DWORD *)v5 + 8);
if ( a4 > v7 || a4 >= v7 && a3 > *((_DWORD *)v5 + 9) )
break;
v6 = v5;
v5 = *(char **)v5;
if ( !v5 )
goto LABEL_7;
}
v5 = *((char **)v5 + 1);
}
while ( v5 );
LABEL_7:
if ( v4 == v6 || (v8 = *((_DWORD *)v6 + 8), a4 < v8) || a4 <= v8 && a3 < *((_DWORD *)v6 + 9) || v4 == v6 )
{
LABEL_18:
*a1 = 0;
a1[1] = 0;
a1[2] = 0;
v12 = a1;
std::string::__init(a1, &byte_11B8890, 0);
return v12;
}
*a1 = 0;
a1[1] = 0;
a1[2] = 0;
if ( (v6[40] & 1) == 0 )
{
v9 = *((_QWORD *)v6 + 6);
*a1 = *((_QWORD *)v6 + 5);
a1[1] = v9;
a1[2] = *((_QWORD *)v6 + 7);
return a1;
}
v11 = a1;
std::string::__init(a1, *((void **)v6 + 7), *((_QWORD *)v6 + 6));
return v11;
}