//
// cocos2d::CCPointFromString from 0x7c8324 to 0x7c83ba (150 bytes)
//
// 6 xrefs:
// > SpriteDescription::initDescription @ 0x3c475e
// > SpriteDescription::initDescription @ 0x3c4798
// > SpriteDescription::initDescription @ 0x3c47d2
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x7f3c9e
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x7f3d5c
// > DS_Dictionary::getVec2ForKey @ 0x80b40c
//
// 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:00:27 +0000
//
cocos2d *__fastcall cocos2d::CCPointFromString(cocos2d *this, const char *a2)
{
const char *v4; // r0
float v5; // s16
const char *v6; // r0
float v7; // s15
float v9[2]; // [sp+0h] [bp-1Ch] BYREF
void *v10[3]; // [sp+8h] [bp-14h] BYREF
cocos2d::CCPoint::CCPoint(this, (const cocos2d::CCPoint *)&unk_D2F084);
memset(v10, 0, sizeof(v10));
if ( sub_7C7E60(a2, v10) )
{
if ( (*(_BYTE *)v10[0] & 1) != 0 )
v4 = *((const char **)v10[0] + 2);
else
v4 = (char *)v10[0] + 1;
v5 = atof(v4);
if ( (*((_BYTE *)v10[0] + (unsigned int)&byte_9[3]) & 1) != 0 )
v6 = *((const char **)v10[0] + 5);
else
v6 = (char *)v10[0] + 13;
v7 = atof(v6);
cocos2d::CCPoint::CCPoint(v9, v5, v7);
cocos2d::CCPoint::operator=((float *)this, v9);
}
std::__vector_base::~__vector_base((int)v10);
return this;
}