//
// cocos2d::CCString::floatValue from 0x1003062d8 to 0x100306318 (64 bytes)
//
// 94 xrefs:
// > sub_100026FC8 @ 0x10002701c
// > sub_100026FC8 @ 0x1000270a4
// > SetupOpacityPopup::textChanged @ 0x100027528
// > CCLightFlash::playEffect @ 0x100034ac8
// > sub_100086000 @ 0x100086078
// > sub_100086000 @ 0x1000860a0
// > sub_100086000 @ 0x100086178
// > sub_1000DC834 @ 0x1000dc86c
// > sub_1000DC834 @ 0x1000dc8a0
// > sub_100124738 @ 0x1001247c0
// > sub_100124738 @ 0x1001247fc
// > ConfigureHSVWidget::textChanged @ 0x100125088
// > ConfigureHSVWidget::textChanged @ 0x1001250dc
// > sub_100158C3C @ 0x100158c74
// > GJScaleControl::ccTouchBegan @ 0x100158de0
// > GJScaleControl::ccTouchMoved @ 0x100158fec
// > GJScaleControl::ccTouchEnded @ 0x10015931c
// > GJScaleControl::ccTouchEnded @ 0x10015936c
// > SetupTriggerPopup::valuePopupClosed @ 0x1001b2614
// > ConfigureValuePopup::textChanged @ 0x1001cf488
// > SongInfoObject::create_2 @ 0x1001d37f4
// > SetupCameraOffsetTrigger::valuePopupClosed @ 0x100223ac0
// > SetupCameraOffsetTrigger::textChanged @ 0x100223ef0
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100226864
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100226898
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1002268cc
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100226968
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x10022699c
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1002269d0
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100226a04
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100226a38
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100226a6c
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100226aa0
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100226ad4
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100226b08
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100226b3c
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100226b70
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100226ba4
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100226bd8
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100226c0c
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100226c40
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100226c74
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100226ca8
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100226cdc
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100226d10
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100226d44
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100226d78
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100226dac
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100226e04
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100226e38
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100226e6c
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100226ea0
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100226ed4
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100226f08
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100226f80
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100226fb4
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100226fe8
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x10022701c
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100227050
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100227084
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1002270b8
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1002270ec
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100227148
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x10022717c
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1002271b0
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x1002271e8
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x10022721c
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100227250
// > cocos2d::CCParticleSystem::initWithDictionary @ 0x100227284
// > SpriteDescription::initDescription @ 0x100245940
// > SetupRandTriggerPopup::textChanged @ 0x100262b88
// > SetupMGTrigger::valuePopupClosed @ 0x10038f29c
// > SetupMGTrigger::textChanged @ 0x10038f62c
// > sub_1003C08B8 @ 0x1003c09ec
// > sub_1003C11CC @ 0x1003c1458
// > sub_1003C19EC @ 0x1003c1a60
// > DrawGridLayer::draw @ 0x10040cc78
// > DrawGridLayer::draw @ 0x10040cca0
// > LevelSettingsObject::objectFromDict @ 0x10040e4b0
// > LevelSettingsObject::objectFromDict @ 0x10040eefc
// > SetupShakePopup::textChanged @ 0x10045101c
// > SetupShakePopup::textChanged @ 0x100451078
// > SetupShakePopup::textChanged @ 0x1004510e0
// > sub_10045CAE4 @ 0x10045cb24
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x100462edc
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x100462f10
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x100462f44
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x100462f78
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x100462fac
// > cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary @ 0x100462fe0
// > AudioEffectsLayer::audioStep @ 0x10046df4c
// > AudioEffectsLayer::audioStep @ 0x10046df68
// > sub_1004A0764 @ 0x1004a07fc
// > ColorSelectPopup::textChanged @ 0x1004a2768
//
// This function is hookable on this platform (idp: arm, 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:03:08 +0000
//
float __fastcall cocos2d::CCString::floatValue(__int64 a1)
{
const char *v1; // x0
if ( *(char *)(a1 + 79) < 0 )
{
if ( *(_DWORD *)(a1 + 64) )
{
v1 = *(const char **)(a1 + 56);
return atof(v1);
}
}
else if ( *(_BYTE *)(a1 + 79) )
{
v1 = (const char *)(a1 + 56);
return atof(v1);
}
return 0.0;
}