//
// DS_Dictionary::getVec2ArrayForKey from 0x80c7f8 to 0x80c89c (164 bytes)
//
// 0 xrefs:
//
// 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
//
DS_Dictionary *__fastcall DS_Dictionary::getVec2ArrayForKey(DS_Dictionary *this, const char *a2, const char *a3)
{
unsigned int v4; // r5
_DWORD *v6; // r0
int v7; // r2
int v8; // r3
_DWORD v10[2]; // [sp+0h] [bp+0h] BYREF
_DWORD v11[3]; // [sp+8h] [bp+8h] BYREF
v4 = 0;
DS_Dictionary::getStringArrayForKey((DS_Dictionary *)v11, a2, a3);
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
*((_DWORD *)this + 2) = 0;
while ( v4 < -1431655765 * ((v11[1] - v11[0]) >> 2) )
{
cocos2d::CCPoint::CCPoint(v10);
v6 = *((_DWORD **)this + 1);
if ( (unsigned int)v6 >= *((_DWORD *)this + 2) )
{
std::vector::__push_back_slow_path((int)this, (const cocos2d::CCPoint *)v10);
}
else
{
if ( v6 )
cocos2d::CCPoint::CCPoint(v6, (const cocos2d::CCPoint *)v10);
*((_DWORD *)this + 1) += 8;
}
if ( !DS_Dictionary::vec2FromString((int)a2, v11[0] + 12 * v4, (float *)(*((_DWORD *)this + 1) - 8)) )
{
v7 = *(_DWORD *)this;
while ( 1 )
{
v8 = *((_DWORD *)this + 1);
if ( v7 == v8 )
break;
*((_DWORD *)this + 1) = v8 - 8;
}
break;
}
++v4;
}
std::__vector_base::~__vector_base((int)v11);
return this;
}