//
// cocos2d::CCString::doubleValue from 0x7c8a80 to 0x7c8aa6 (38 bytes)
//
// 3 xrefs:
// > GameLevelManager::isTimeValid @ 0x4adb66
// > GameLevelManager::getTimeLeft @ 0x4adc82
// > cocos2d::CCConfiguration::getNumber @ 0x7b4054
//
// 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
//
double __fastcall cocos2d::CCString::doubleValue(cocos2d::CCString *this)
{
const char *v2; // r0
if ( !cocos2d::CCString::length(this) )
return 0.0;
if ( (*((_BYTE *)this + 52) & 1) != 0 )
v2 = *((const char **)this + 15);
else
v2 = (char *)this + 53;
return j_atof(v2);
}