//
// DS_Dictionary::vec2FromString from 0x80c744 to 0x80c7f2 (174 bytes)
//
// 1 xrefs:
// > DS_Dictionary::getVec2ArrayForKey @ 0x80c86a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:01:32 +0000
//
int __fastcall DS_Dictionary::vec2FromString(int a1, int a2, float *a3)
{
int v5; // r5
const char *v6; // r0
float v7; // s16
const char *v8; // r0
float v9; // s15
float v11[2]; // [sp+4h] [bp-24h] BYREF
unsigned __int8 *v12[3]; // [sp+Ch] [bp-1Ch] BYREF
int v13[3]; // [sp+18h] [bp-10h] BYREF
memset(v12, 0, sizeof(v12));
DS_Dictionary::cleanStringWhiteSpace(v13, a1, a2);
v5 = DS_Dictionary::splitWithForm(a1, (unsigned __int8 *)v13, v12);
std::string::~string((int)v13);
if ( v5 )
{
if ( (*v12[0] & 1) != 0 )
v6 = *((const char **)v12[0] + 2);
else
v6 = (const char *)(v12[0] + 1);
v7 = atof(v6);
if ( (v12[0][(unsigned int)&byte_9[3]] & 1) != 0 )
v8 = *((const char **)v12[0] + 5);
else
v8 = (const char *)(v12[0] + 13);
v9 = atof(v8);
cocos2d::CCPoint::CCPoint(v11, v7, v9);
cocos2d::CCPoint::operator=(a3, v11);
}
std::__vector_base::~__vector_base((int)v12);
return v5;
}