//
// cocos2d::CCPointFromString from 0x5c1218 to 0x5c129e (134 bytes)
//
// 6 xrefs:
// > SpriteDescription::initDescription @ 0x2e4cd2
// > SpriteDescription::initDescription @ 0x2e4d04
// > SpriteDescription::initDescription @ 0x2e4d36
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x5e9350
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x5e93f4
// > DS_Dictionary::getVec2ForKey @ 0x5fd462
//
// 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
//
cocos2d::CCPoint *cocos2d::CCPointFromString(cocos2d::CCPoint *__return_ptr retstr, const char *a2)
{
double v4; // d8
float v5; // s15
float v6; // s14
int v7; // r2
bool v8; // r3
cocos2d::CCPoint v10; // [sp+0h] [bp-1Ch] BYREF
void *v11[3]; // [sp+8h] [bp-14h] BYREF
cocos2d::CCPoint::CCPoint(retstr, &stru_AC8928);
memset(v11, 0, sizeof(v11));
if ( sub_5C0FE8((char *)a2, v11) )
{
v4 = atof((const char *)*(_DWORD *)v11[0]);
v5 = atof((const char *)*(_DWORD *)((char *)v11[0] + (unsigned int)byte_4));
v6 = v4;
cocos2d::CCPoint::CCPoint(&v10, v6, v5);
cocos2d::CCPoint::operator=(retstr, &v10.x, v7, v8);
}
std::vector::~vector(v11);
return retstr;
}