//
// DS_Dictionary::getRectArrayForKey from 0x80c698 to 0x80c73a (162 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::getRectArrayForKey(DS_Dictionary *this, const char *a2, const char *a3)
{
unsigned int v4; // r5
int v6; // r2
cocos2d::CCRect *v7; // r0
unsigned int v8; // r3
int v9; // r2
int v10; // r3
_DWORD v12[3]; // [sp+0h] [bp-Ch] BYREF
_BYTE v13[16]; // [sp+Ch] [bp+0h] BYREF
v4 = 0;
DS_Dictionary::getStringArrayForKey((DS_Dictionary *)v12, a2, a3);
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
*((_DWORD *)this + 2) = 0;
while ( v4 < -1431655765 * ((v12[1] - v12[0]) >> 2) )
{
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v13);
v7 = *((cocos2d::CCRect **)this + 1);
v8 = *((_DWORD *)this + 2);
if ( (unsigned int)v7 >= v8 )
{
std::vector::__push_back_slow_path(
(cocos2d::CCRect **)this,
(const cocos2d::CCRect *)v13,
v6,
v8);
}
else
{
if ( v7 )
cocos2d::CCRect::CCRect(v7, (const cocos2d::CCRect *)v13);
*((_DWORD *)this + 1) += 16;
}
if ( !DS_Dictionary::rectFromString((int)a2, v12[0] + 12 * v4, (float *)(*((_DWORD *)this + 1) - 16)) )
{
v9 = *(_DWORD *)this;
while ( 1 )
{
v10 = *((_DWORD *)this + 1);
if ( v9 == v10 )
break;
*((_DWORD *)this + 1) = v10 - 16;
}
break;
}
++v4;
}
std::__vector_base::~__vector_base((int)v12);
return this;
}