//
// DS_Dictionary::splitWithForm from 0x5fe164 to 0x5fe22c (200 bytes)
//
// 3 xrefs:
// > DS_Dictionary::rectFromString @ 0x5fe60e
// > DS_Dictionary::rectFromString @ 0x5fe62e
// > DS_Dictionary::vec2FromString @ 0x5fe93c
//
// 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
//
bool DS_Dictionary::splitWithForm(DS_Dictionary *a1, std::string *const a2, std::vector *a3)
{
int v6; // r4
int v7; // r4
int v8; // r0
int v9; // r4
int v10; // r0
std::string *m_start; // r2
std::string v13[3]; // [sp+0h] [bp-Ch] BYREF
v13[0].m_data.m_data = (stl::StringData::Internal *)a1;
v13[1].m_data.m_data = (stl::StringData::Internal *)a2;
v13[2].m_data.m_data = (stl::StringData::Internal *)a3;
v6 = *((_DWORD *)a2->m_data.m_data - 3);
if ( v6 )
{
v7 = sub_774910(a2, 123, 0);
v8 = sub_774910(a2, 125, 0);
if ( v7 == -1 || v8 == -1 || v7 > v8 )
{
LOBYTE(v6) = 0;
}
else
{
sub_776158(v13, a2, v7 + 1, v8 - v7 - 1);
LOBYTE(v6) = *((_DWORD *)v13[0].m_data.m_data - 3)
&& (v9 = sub_774910(v13, 123, 0), v10 = sub_774910(v13, 125, 0), v9 == -1)
&& v10 == -1
&& (DS_Dictionary::split(a1, v13, ",", a3), m_start = a3->m_start, a3->m_finish - a3->m_start == 2)
&& *((_DWORD *)m_start->m_data.m_data - 3)
&& *((_DWORD *)m_start[1].m_data.m_data - 3) != 0;
sub_774008(v13);
}
}
return v6;
}