//
// cocos2d::CCSpriteFrameCache::spriteFrameByName from 0x5e9790 to 0x5e981e (142 bytes)
//
// 202 xrefs:
// > SpriteDescription::initDescription @ 0x2e4880
// > SpriteDescription::initDescription @ 0x2e4dfe
// > CCSpritePart::updateDisplayFrame @ 0x2e772a
// > GameToolbox::particleFromStruct @ 0x2ed6ac
// > SpriteAnimationManager::createAnimations @ 0x2f305a
// > SpriteAnimationManager::createAnimations @ 0x2f3120
// > SpriteAnimationManager::createAnimations @ 0x2f3248
// > CCSpritePlus::createWithSpriteFrameName @ 0x2fd27a
// > CCSpriteCOpacity::createWithSpriteFrameName @ 0x2fd36e
// > CCSpriteWithHue::createWithSpriteFrameName @ 0x306ada
// > CCSpriteGrayscale::createWithSpriteFrameName @ 0x30732a
// > MenuLayer::googlePlaySignedIn @ 0x309f9a
// > MenuLayer::googlePlaySignedIn @ 0x309fe2
// > GJUINode::updateButtonFrames @ 0x30cd82
// > GJUINode::updateButtonFrames @ 0x30cdac
// > LevelCell::loadCustomLevelCell @ 0x332e12
// > CommentCell::loadFromComment @ 0x336b52
// > CommentCell::updateLabelValues @ 0x337136
// > LevelListCell::loadFromList @ 0x33b00c
// > PlayerObject::updateDashAnimation @ 0x33da84
// > PlayerObject::updateDashAnimation @ 0x33da9a
// > PlayerObject::playSpiderDashEffect @ 0x34064e
// > PlayerObject::updatePlayerSpriteExtra @ 0x340b3c
// > PlayerObject::updatePlayerFrame @ 0x340c3e
// > PlayerObject::updatePlayerFrame @ 0x340c58
// > PlayerObject::updatePlayerFrame @ 0x340c72
// > PlayerObject::updatePlayerRollFrame @ 0x340d88
// > PlayerObject::updatePlayerRollFrame @ 0x340da2
// > PlayerObject::updatePlayerRollFrame @ 0x340dbc
// > PlayerObject::updatePlayerSwingFrame @ 0x340edc
// > PlayerObject::updatePlayerSwingFrame @ 0x340ef6
// > PlayerObject::updatePlayerSwingFrame @ 0x340f10
// > PlayerObject::updatePlayerDartFrame @ 0x341030
// > PlayerObject::updatePlayerDartFrame @ 0x34104a
// > PlayerObject::updatePlayerDartFrame @ 0x341064
// > PlayerObject::updateShipSpriteExtra @ 0x341128
// > PlayerObject::updatePlayerShipFrame @ 0x341220
// > PlayerObject::updatePlayerShipFrame @ 0x34123a
// > PlayerObject::updatePlayerShipFrame @ 0x341254
// > PlayerObject::updatePlayerJetpackFrame @ 0x341374
// > PlayerObject::updatePlayerJetpackFrame @ 0x34138e
// > PlayerObject::updatePlayerJetpackFrame @ 0x3413a8
// > PlayerObject::updatePlayerBirdFrame @ 0x3414da
// > PlayerObject::updatePlayerBirdFrame @ 0x3414f6
// > PlayerObject::updatePlayerBirdFrame @ 0x341510
// > PlayerObject::updatePlayerBirdFrame @ 0x34152a
// > PlayerObject::startDashing @ 0x342ae4
// > PlayerObject::toggleSpiderMode @ 0x346cc4
// > PlayerObject::toggleRobotMode @ 0x347596
// > PlayerObject::spiderTestJumpY @ 0x34aa46
// > PlayerObject::spiderTestJumpX @ 0x34b306
// > GameObject::customSetup @ 0x35e968
// > GameObject::customSetup @ 0x35e9c6
// > GJScaleControl::onToggleLockScale @ 0x37b7c8
// > GJTransformControl::onToggleLockScale @ 0x37b818
// > GJRotationControl::ccTouchBegan @ 0x37c08e
// > EditorUI::updateDeleteButtons @ 0x37d34c
// > EditorUI::updateDeleteButtons @ 0x37d3a2
// > EditorUI::updateDeleteButtons @ 0x37d49e
// > EditorUI::updatePlaybackBtn @ 0x37d954
// > EditorUI::resetUI @ 0x37e5cc
// > EditorUI::resetUI @ 0x37e5f2
// > EditorUI::resetUI @ 0x37e618
// > EditorUI::toggleMode @ 0x37e6d2
// > EditorUI::updateEditColorButton @ 0x37fc46
// > EditorUI::updateEditColorButton @ 0x37fc98
// > GJRotationControl::finishTouch @ 0x3869da
// > EditorUI::playtestStopped @ 0x38746c
// > EditorUI::updateButtons @ 0x39ce10
// > EditorUI::onPlaytest @ 0x3a347e
// > CreatorLayer::dialogClosed @ 0x3aaf24
// > LevelSearchLayer::demonFilterSelectClosed @ 0x3abd88
// > LevelInfoLayer::onFavorite @ 0x3b1656
// > LevelInfoLayer::updateSideButtons @ 0x3b2b62
// > LevelInfoLayer::updateSideButtons @ 0x3b2bd2
// > LevelInfoLayer::updateSideButtons @ 0x3b2c2a
// > LevelInfoLayer::updateLabelValues @ 0x3b2e0a
// > LevelInfoLayer::levelDownloadFinished @ 0x3b5852
// > ShareLevelLayer::selectRating @ 0x3b84b4
// > CustomSongWidget::positionInfoObjects @ 0x3ddab8
// > CustomSongWidget::updatePlaybackBtn @ 0x3ddd3a
// > CustomSongWidget::updateSongInfo @ 0x3de646
// > AnimatedGameObject::displayFrameChanged @ 0x3e5b2c
// > SmartGameObject::updateSmartFrame @ 0x3e6df6
// > TriggerControlGameObject::updateTriggerControlFrame @ 0x3ecafa
// > GJGarageLayer::updateRate @ 0x402016
// > SimplePlayer::setFrames @ 0x403314
// > SimplePlayer::setFrames @ 0x40332e
// > SimplePlayer::setFrames @ 0x403348
// > SimplePlayer::setFrames @ 0x4033c8
// > SimplePlayer::setFrames @ 0x40340e
// > GJGarageLayer::setupPage @ 0x406426
// > LevelPage::dialogClosed @ 0x4090c8
// > LevelPage::addSecretCoin @ 0x40a7d8
// > LevelPage::addSecretCoin @ 0x40a7fc
// > LevelPage::addSecretCoin @ 0x40a820
// > LevelPage::addSecretCoin @ 0x40a844
// > LevelPage::playCoinEffect @ 0x40a9e0
// > LevelPage::playCoinEffect @ 0x40aa04
// > LevelPage::playCoinEffect @ 0x40aa28
// > LevelPage::playCoinEffect @ 0x40aa4e
// > LevelPage::updateDynamicPage @ 0x40b102
// > LevelPage::updateDynamicPage @ 0x40b2a6
// > SongOptionsLayer::updatePlaybackBtn @ 0x45fea8
// > CustomizeObjectLayer::updateHSVButtons @ 0x4618c0
// > CustomizeObjectLayer::updateHSVButtons @ 0x4618ee
// > GJDifficultySprite::updateDifficultyFrame @ 0x4b3cba
// > GJRobotSprite::updateFrame @ 0x4b827e
// > GJRobotSprite::updateFrame @ 0x4b82a2
// > GJRobotSprite::updateFrame @ 0x4b8314
// > GJRobotSprite::updateFrame @ 0x4b8342
// > ProfilePage::onFollow @ 0x4c4bb4
// > SecretLayer::playCoinEffect @ 0x4ca5fe
// > SecretLayer::playCoinEffect @ 0x4ca622
// > SecretLayer::playCoinEffect @ 0x4ca646
// > SecretLayer::playCoinEffect @ 0x4ca66c
// > DialogLayer::updateNavButtonFrame @ 0x4d610a
// > RewardsPage::updateTimers @ 0x4e6eb6
// > RewardsPage::updateTimers @ 0x4e6ef6
// > SecretLayer2::dialogClosed @ 0x4eab16
// > SecretLayer2::playCoinEffect @ 0x4ece72
// > SecretLayer2::playCoinEffect @ 0x4ece96
// > SecretLayer2::playCoinEffect @ 0x4eceba
// > SecretLayer2::playCoinEffect @ 0x4ecee0
// > SecretLayer3::init @ 0x4ef2da
// > SecretLayer3::init @ 0x4ef304
// > SecretLayer4::playCoinEffect @ 0x4f17b2
// > SecretLayer4::playCoinEffect @ 0x4f17d6
// > SecretLayer4::playCoinEffect @ 0x4f17fa
// > SecretLayer4::playCoinEffect @ 0x4f1820
// > ShardsPage::goToPage @ 0x4fb366
// > GJWorldNode::unlockActiveItem @ 0x4fccce
// > EnhancedGameObject::updateSyncedAnimation @ 0x52960a
// > EnhancedGameObject::updateSyncedAnimation @ 0x52965a
// > EnhancedGameObject::updateSyncedAnimation @ 0x52968e
// > EnhancedGameObject::updateSyncedAnimation @ 0x529736
// > EnhancedGameObject::updateSyncedAnimation @ 0x529794
// > EnhancedGameObject::updateSyncedAnimation @ 0x52981e
// > EnhancedGameObject::updateSyncedAnimation @ 0x529872
// > EnhancedGameObject::updateSyncedAnimation @ 0x5299b8
// > EnhancedGameObject::updateSyncedAnimation @ 0x529a0e
// > EnhancedGameObject::updateSyncedAnimation @ 0x529cbc
// > EnhancedGameObject::updateSyncedAnimation @ 0x529d4a
// > EnhancedGameObject::updateSyncedAnimation @ 0x529d82
// > EnhancedGameObject::updateSyncedAnimation @ 0x529eae
// > EnhancedGameObject::updateSyncedAnimation @ 0x529ed6
// > EnhancedGameObject::updateSyncedAnimation @ 0x529f02
// > EnhancedGameObject::updateSyncedAnimation @ 0x529ff0
// > EnhancedGameObject::updateSyncedAnimation @ 0x52a010
// > EnhancedGameObject::updateSyncedAnimation @ 0x52a096
// > EnhancedGameObject::updateSyncedAnimation @ 0x52a0fa
// > EnhancedGameObject::updateSyncedAnimation @ 0x52a130
// > EnhancedGameObject::updateSyncedAnimation @ 0x52a162
// > GameObject::playDestroyObjectAnim @ 0x52ac30
// > GameObject::playDestroyObjectAnim @ 0x52ac54
// > GameObject::playDestroyObjectAnim @ 0x52ac78
// > GameObject::playDestroyObjectAnim @ 0x52ac9c
// > GameObject::playDestroyObjectAnim @ 0x52af7c
// > GameObject::playDestroyObjectAnim @ 0x52afa0
// > GameObject::playDestroyObjectAnim @ 0x52afc4
// > GameObject::playDestroyObjectAnim @ 0x52afe8
// > CreateParticlePopup::onSelectParticleTexture @ 0x53101e
// > SetupAreaTintTriggerPopup::updateHSVButton @ 0x55a548
// > SetupEnterEffectPopup::updateHSVButton @ 0x55c6d8
// > PlayerObject::playDeathEffect @ 0x566ed6
// > PlayerObject::playDeathEffect @ 0x5671fc
// > PlayerObject::playDeathEffect @ 0x56757c
// > PlayerObject::playDeathEffect @ 0x5678fa
// > PlayerObject::playDeathEffect @ 0x567c8a
// > PlayerObject::playDeathEffect @ 0x567fd2
// > PlayerObject::playDeathEffect @ 0x5682f4
// > PlayerObject::playDeathEffect @ 0x568694
// > PlayerObject::playDeathEffect @ 0x568a62
// > PlayerObject::playDeathEffect @ 0x568de2
// > PlayerObject::playDeathEffect @ 0x5691c2
// > PlayerObject::playDeathEffect @ 0x569556
// > PlayerObject::playDeathEffect @ 0x569978
// > PlayerObject::playDeathEffect @ 0x569d4c
// > PlayerObject::playDeathEffect @ 0x56a10e
// > PlayerObject::playDeathEffect @ 0x56a456
// > PlayerObject::playDeathEffect @ 0x56a794
// > PlayerObject::playDeathEffect @ 0x56ab3e
// > PlayerObject::playDeathEffect @ 0x56aeae
// > LevelAreaLayer::addTorch @ 0x56c1c6
// > LevelAreaLayer::addTorch @ 0x56c1ea
// > CustomSFXWidget::updateSFXInfo @ 0x56e182
// > LevelSettingsLayer::selectArtClosed @ 0x56f974
// > LevelSettingsLayer::selectArtClosed @ 0x56f9e8
// > LevelSettingsLayer::selectArtClosed @ 0x56fa58
// > LevelSettingsLayer::selectSettingClosed @ 0x572f9e
// > LevelSettingsLayer::selectSettingClosed @ 0x572fdc
// > SetupAudioLineGuidePopup::selectSettingClosed @ 0x57816c
// > SetupArtSwitchPopup::selectArtClosed @ 0x57de46
// > SecretRewardsLayer::updateBackButton @ 0x58553e
// > LevelListLayer::onFavorite @ 0x58fae4
// > LevelListLayer::updateStatsArt @ 0x58fc64
// > LevelListLayer::updateSideButtons @ 0x59075a
// > cocos2d::extension::CCScale9Sprite::initWithSpriteFrameName @ 0x5a6180
// > cocos2d::CCAnimationCache::parseVersion1 @ 0x5e5ad8
// > cocos2d::CCAnimationCache::parseVersion2 @ 0x5e5cbe
// > cocos2d::CCSprite::initWithSpriteFrameName @ 0x5e60c4
// > cocos2d::CCSprite::createWithSpriteFrameName @ 0x5e6d4e
//
// 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
//
cocos2d::CCSpriteFrame *cocos2d::CCSpriteFrameCache::spriteFrameByName(cocos2d::CCSpriteFrameCache *a1, const char *a2)
{
cocos2d::CCSpriteFrameCache_vtbl *v2; // r6
cocos2d::CCSpriteFrame *v5; // r6
unsigned int m_uID; // r9
cocos2d::CCString *v7; // r9
cocos2d::CCSpriteFrameCache_vtbl *v8; // r6
char *CString; // r0
const char *v11; // [sp+8h] [bp+4h] BYREF
v2 = a1[1].__vftable;
sub_776584((int)&v11, (char *)a2);
v5 = (cocos2d::CCSpriteFrame *)cocos2d::CCDictionary::objectForKey((int)v2, &v11);
sub_774008(&v11);
if ( !v5 )
{
m_uID = a1[1].m_uID;
sub_776584((int)&v11, (char *)a2);
v7 = (cocos2d::CCString *)cocos2d::CCDictionary::objectForKey(m_uID, &v11);
sub_774008(&v11);
if ( v7 )
{
v8 = a1[1].__vftable;
CString = (char *)cocos2d::CCString::getCString(v7);
sub_776584((int)&v11, CString);
v5 = (cocos2d::CCSpriteFrame *)cocos2d::CCDictionary::objectForKey((int)v8, &v11);
sub_774008(&v11);
}
}
return v5;
}