//
// cocos2d::CCString::floatValue from 0x1007ab0e0 to 0x1007ab10f (47 bytes)
//
// 112 xrefs:
// > GJRotateCommandLayer::valuePopupClosed @ 0x10000454f
// > GJRotateCommandLayer::textChanged @ 0x100004ba8
// > GJScaleControl::scaleFromValue @ 0x100052599
// > GJScaleControl::ccTouchBegan @ 0x1000526e3
// > GJScaleControl::ccTouchBegan @ 0x100052770
// > GJScaleControl::ccTouchMoved @ 0x1000528ba
// > GJScaleControl::ccTouchEnded @ 0x100052d3e
// > GJScaleControl::ccTouchEnded @ 0x100052da0
// > SetupOpacityPopup::sliderChanged @ 0x100057eda
// > SetupOpacityPopup::sliderChanged @ 0x100057f9e
// > SetupOpacityPopup::textChanged @ 0x10005874a
// > DrawGridLayer::draw @ 0x1001018ee
// > DrawGridLayer::draw @ 0x100101929
// > LevelSettingsObject::objectFromDict @ 0x1001030f3
// > SetupTriggerPopup::valuePopupClosed @ 0x10023eff6
// > cocos2d::CCTMXLayer::parseInternalProperties @ 0x10025a420
// > GJFollowCommandLayer::textChanged @ 0x1002d7560
// > GJFollowCommandLayer::textChanged @ 0x1002d75c1
// > GJFollowCommandLayer::textChanged @ 0x1002d7622
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x10031c580
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x10031c5b2
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x10031c5f3
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x10031c636
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x10031c67a
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x10031c6be
// > GJPFollowCommandLayer::textChanged @ 0x10036716f
// > GJPFollowCommandLayer::textChanged @ 0x1003671d0
// > GJPFollowCommandLayer::textChanged @ 0x100367231
// > GJPFollowCommandLayer::textChanged @ 0x100367292
// > SetupPulsePopup::sliderChanged @ 0x1003ad4e6
// > SetupGravityModPopup::sliderChanged @ 0x1003d9093
// > ConfigureHSVWidget::sliderChanged @ 0x100430a27
// > ConfigureHSVWidget::sliderChanged @ 0x100430a64
// > ConfigureHSVWidget::textChanged @ 0x1004313cd
// > ConfigureHSVWidget::textChanged @ 0x100431412
// > cocos2d::CCAnimationCache::parseVersion1 @ 0x10046d5e0
// > cocos2d::CCAnimationCache::parseVersion2 @ 0x10046da32
// > cocos2d::CCAnimationCache::parseVersion2 @ 0x10046dabe
// > AudioEffectsLayer::audioStep @ 0x1004af993
// > AudioEffectsLayer::audioStep @ 0x1004af9b9
// > SetupCameraRotatePopup::valuePopupClosed @ 0x1004be3bf
// > SetupCameraRotatePopup::textChanged @ 0x1004be715
// > SetupCameraRotatePopup::textChanged @ 0x1004be772
// > CCLightFlash::playEffect @ 0x100503fa1
// > SetupMGTrigger::valuePopupClosed @ 0x10050a10f
// > SetupMGTrigger::textChanged @ 0x10050a58b
// > CreateGuidelinesLayer::getMergedRecordString @ 0x10050cadb
// > CreateGuidelinesLayer::getMergedRecordString @ 0x10050cb07
// > CreateGuidelinesLayer::getMergedRecordString @ 0x10050cc1b
// > SpriteDescription::initDescription @ 0x10056cf5a
// > SongInfoObject::create_2 @ 0x10058c36a
// > SetupRandTriggerPopup::textChanged @ 0x1005e6b9a
// > ConfigureValuePopup::textChanged @ 0x10062583b
// > SetupCameraOffsetTrigger::valuePopupClosed @ 0x10066373f
// > SetupCameraOffsetTrigger::textChanged @ 0x100663ce1
// > SetupShakePopup::textChanged @ 0x100665596
// > SetupShakePopup::textChanged @ 0x100665685
// > SetupShakePopup::textChanged @ 0x1006656f1
// > SpriteAnimationManager::createAnimations @ 0x1007214e4
// > SpriteAnimationManager::loadAnimations @ 0x100722760
// > SpriteAnimationManager::playSoundForAnimation @ 0x1007233c9
// > ColorSelectPopup::sliderChanged @ 0x100727815
// > ColorSelectPopup::textChanged @ 0x10072b150
// > sub_10072B790 @ 0x10072b7bc
// > sub_10072B790 @ 0x10072b7f5
// > MoreVideoOptionsLayer::onApplyFPS @ 0x1007a2fd2
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c6fe6
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c7035
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c7076
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c7155
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c719a
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c71df
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c7224
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c7270
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c72d5
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c7321
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c7386
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c73ce
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c740c
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c7447
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c748f
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c74d1
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c7536
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c759b
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c7600
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c7640
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c76a2
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c76e6
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c7748
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c7797
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c77dc
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c786d
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c78d2
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c7921
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c796d
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c79ab
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c79f0
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c7a8e
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c7acf
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c7b0b
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c7b5a
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c7b9e
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c7be3
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c7c2f
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c7c94
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c7d1a
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c7d5a
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c7d9d
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c7df6
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c7e5b
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c7e99
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1007c7efe
//
// 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)
{
std::uint8_t sizex2; // al
std::array *longStorage; // rdi
sizex2 = a1->m_sString.m_data.m_short.sizex2;
if ( (sizex2 & 1) != 0 )
{
if ( LODWORD(a1->m_sString.m_data.m_long.size) )
{
longStorage = (std::array *)a1->m_sString.m_data.m_long.longStorage;
return atof(longStorage->__elems_);
}
}
else if ( sizex2 )
{
longStorage = &a1->m_sString.m_data.m_short.shortStorage;
return atof(longStorage->__elems_);
}
return 0.0;
}