//
// cocos2d::CCString::floatValue from 0x100268c74 to 0x100268cb4 (64 bytes)
//
// 100 xrefs:
// > SetupOpacityPopup::sliderChanged @ 0x100023a70
// > SetupOpacityPopup::sliderChanged @ 0x100023af8
// > SetupOpacityPopup::textChanged @ 0x100024000
// > CCLightFlash::playEffect @ 0x100031024
// > CreateGuidelinesLayer::getMergedRecordString @ 0x10007d920
// > CreateGuidelinesLayer::getMergedRecordString @ 0x10007d948
// > CreateGuidelinesLayer::getMergedRecordString @ 0x10007da20
// > sub_1000B6C78 @ 0x1000b6cb0
// > sub_1000B6C78 @ 0x1000b6ce4
// > ConfigureHSVWidget::sliderChanged @ 0x1000ffbc4
// > ConfigureHSVWidget::sliderChanged @ 0x1000ffc00
// > ConfigureHSVWidget::textChanged @ 0x1001002e8
// > ConfigureHSVWidget::textChanged @ 0x10010033c
// > SetupTriggerPopup::valuePopupClosed @ 0x100134354
// > GJFollowCommandLayer::textChanged @ 0x100137d80
// > GJFollowCommandLayer::textChanged @ 0x100137dd4
// > GJFollowCommandLayer::textChanged @ 0x100137e58
// > ConfigureValuePopup::textChanged @ 0x100150814
// > SongInfoObject::create_2 @ 0x100154a40
// > GJPFollowCommandLayer::textChanged @ 0x100160a18
// > GJPFollowCommandLayer::textChanged @ 0x100160a64
// > GJPFollowCommandLayer::textChanged @ 0x100160af0
// > GJPFollowCommandLayer::textChanged @ 0x100160b34
// > SetupCameraOffsetTrigger::valuePopupClosed @ 0x1001908ac
// > SetupCameraOffsetTrigger::textChanged @ 0x100190cdc
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100193594
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1001935c8
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1001935fc
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100193698
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1001936cc
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100193700
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100193734
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100193768
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x10019379c
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1001937d0
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100193804
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100193838
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x10019386c
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1001938a0
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1001938d4
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100193908
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x10019393c
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100193970
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1001939a4
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1001939d8
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100193a0c
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100193a40
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100193a74
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100193aa8
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100193adc
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100193b34
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100193b68
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100193b9c
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100193bd0
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100193c04
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100193c38
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100193cb0
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100193ce4
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100193d18
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100193d4c
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100193d80
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100193db4
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100193de8
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100193e1c
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100193e78
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100193eac
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100193ee0
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100193f18
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100193f4c
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100193f80
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100193fb4
// > SpriteDescription::initDescription @ 0x1001b0854
// > SetupRandTriggerPopup::textChanged @ 0x1001caf14
// > SetupMGTrigger::valuePopupClosed @ 0x1002f2fe4
// > SetupMGTrigger::textChanged @ 0x1002f3374
// > SpriteAnimationManager::createAnimations @ 0x100322cf0
// > SpriteAnimationManager::loadAnimations @ 0x10032375c
// > SpriteAnimationManager::playSoundForAnimation @ 0x100323d64
// > DrawGridLayer::draw @ 0x100369df8
// > DrawGridLayer::draw @ 0x100369e20
// > LevelSettingsObject::objectFromDict @ 0x10036ad60
// > SetupShakePopup::textChanged @ 0x1003aa058
// > SetupShakePopup::textChanged @ 0x1003aa0b4
// > SetupShakePopup::textChanged @ 0x1003aa11c
// > SetupPulsePopup::sliderChanged @ 0x1003b5dc4
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x1003bc1ac
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x1003bc1e0
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x1003bc214
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x1003bc248
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x1003bc27c
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x1003bc2b0
// > AudioEffectsLayer::audioStep @ 0x1003c4748
// > AudioEffectsLayer::audioStep @ 0x1003c4764
// > GJScaleControl::ccTouchBegan @ 0x1003fb2b8
// > GJScaleControl::ccTouchBegan @ 0x1003fb344
// > GJScaleControl::ccTouchMoved @ 0x1003fb444
// > GJScaleControl::ccTouchEnded @ 0x1003fb750
// > GJScaleControl::ccTouchEnded @ 0x1003fb78c
// > ColorSelectPopup::sliderChanged @ 0x10041e834
// > ColorSelectPopup::textChanged @ 0x100420798
//
// 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
//
float __fastcall cocos2d::CCString::floatValue(cocos2d::CCString *a1)
{
const char *capacitym1; // x0
if ( a1->m_sString.m_data.m_short.shortStorage.__elems_[22] < 0 )
{
if ( LODWORD(a1->m_sString.m_data.m_long.size) )
{
capacitym1 = (const char *)a1->m_sString.m_data.m_long.capacitym1;
return atof(capacitym1);
}
}
else if ( a1->m_sString.m_data.m_short.shortStorage.__elems_[22] )
{
capacitym1 = (const char *)&a1->m_sString;
return atof(capacitym1);
}
return 0.0;
}