//
// DS_Dictionary::split from 0x5fe0e8 to 0x5fe15e (118 bytes)
//
// 1 xrefs:
// > DS_Dictionary::splitWithForm @ 0x5fe1e8
//
// 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
//
void DS_Dictionary::split(DS_Dictionary *a1, std::string *const a2, const char *a3, std::vector *a4)
{
size_t v7; // r6
int v8; // r0
int v9; // r5
size_t v10; // r3
_DWORD v11[2]; // [sp+0h] [bp-8h] BYREF
v11[0] = a1;
v11[1] = a2;
v7 = 0;
do
{
v8 = sub_7748A0((int)a2, (char *)a3);
v9 = v8;
if ( v8 == -1 )
v10 = *((_DWORD *)a2->m_data.m_data - 3);
else
v10 = v8 - v7;
if ( v8 == -1 )
v10 -= v7;
sub_776158(v11, a2, v7, v10);
std::vector::emplace_back((int)a4, v11);
sub_774008(v11);
v7 = strlen(a3) + v9;
}
while ( v9 != -1 );
}