//
// DS_Dictionary::vec2FromString from 0x5fe908 to 0x5fe99e (150 bytes)
//
// 1 xrefs:
// > DS_Dictionary::getVec2ArrayForKey @ 0x5fea6e
//
// 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 __fastcall DS_Dictionary::vec2FromString(DS_Dictionary *a1, int a2, cocos2d::CCPoint *a3)
{
_BOOL4 v5; // r6
double v6; // d8
float v7; // s15
float v8; // s14
int v9; // r2
bool v10; // r3
cocos2d::CCPoint v12; // [sp+0h] [bp-8h] BYREF
std::vector v13; // [sp+8h] [bp+0h] BYREF
memset(&v13, 0, sizeof(v13));
DS_Dictionary::cleanStringWhiteSpace((int)&v12);
v5 = DS_Dictionary::splitWithForm(a1, (std::string *const)&v12, &v13);
sub_774008(&v12);
if ( v5 )
{
v6 = atof((const char *)v13.m_start->m_data.m_data);
v7 = atof(*(const char **)((char *)&v13.m_start->m_data.m_data + (unsigned int)byte_4));
v8 = v6;
cocos2d::CCPoint::CCPoint(&v12, v8, v7);
cocos2d::CCPoint::operator=(a3, &v12.x, v9, v10);
}
std::vector::~vector((void **)&v13.m_start);
return v5;
}