//
// cocos2d::CCString::doubleValue from 0x180010700 to 0x18001071f (31 bytes)
//
// 2 xrefs:
// > cocos2d::CCConfiguration::getNumber @ 0x1800c0b1a
// > ??> @ 0x18014cf68
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 11:21:22 +0000
//
double __fastcall cocos2d::CCString::doubleValue(cocos2d::CCString *this)
{
char *v2; // rcx
if ( !*((_DWORD *)this + 18) )
return 0.0;
v2 = (char *)this + 56;
if ( *((_QWORD *)v2 + 3) > 0xFu )
v2 = *(char **)v2;
return atof(v2);
}