//
// cocos2d::CCSpriteFrameCache::spriteFrameByName from 0xd8bb94 to 0xd8bd54 (448 bytes)
//
// 255 xrefs:
// > SpriteDescription::initDescription @ 0x68dc70
// > SpriteDescription::initDescription @ 0x68e88c
// > CCSpritePart::updateDisplayFrame @ 0x693760
// > GameToolbox::particleFromStruct @ 0x69dd08
// > SpriteAnimationManager::createAnimations @ 0x6b0c68
// > SpriteAnimationManager::createAnimations @ 0x6b0ef4
// > SpriteAnimationManager::createAnimations @ 0x6b104c
// > CCSpritePlus::createWithSpriteFrameName @ 0x6c8978
// > CCSpriteCOpacity::createWithSpriteFrameName @ 0x6c8b18
// > CCSpriteWithHue::createWithSpriteFrameName @ 0x6dd800
// > CCSpriteGrayscale::createWithSpriteFrameName @ 0x6de528
// > EmoteSprite::replaceTokens @ 0x6e12e4
// > MenuLayer::googlePlaySignedIn @ 0x6ea5b4
// > MenuLayer::googlePlaySignedIn @ 0x6ea5ec
// > GJUINode::updateButtonFrames @ 0x6eeaf0
// > GJUINode::updateButtonFrames @ 0x6eeb20
// > GJUINode::updateButtonFrames @ 0x6eeb54
// > CommentCell::updateLabelValues @ 0x738f1c
// > CommentCell::updateLabelValues @ 0x738f48
// > LevelListCell::loadFromList @ 0x740bdc
// > LevelListCell::loadFromList @ 0x741564
// > LevelCell::loadCustomLevelCell @ 0x746a18
// > LevelCell::loadCustomLevelCell @ 0x747838
// > CommentCell::loadFromComment @ 0x74b4c4
// > CommentCell::loadFromComment @ 0x74c924
// > PlayerObject::updateDashAnimation @ 0x74f644
// > PlayerObject::updateDashAnimation @ 0x74f664
// > PlayerObject::playSpiderDashEffect @ 0x75280c
// > PlayerObject::updatePlayerSpriteExtra @ 0x753140
// > PlayerObject::updateShipSpriteExtra @ 0x753250
// > PlayerObject::startDashing @ 0x755d68
// > PlayerObject::updatePlayerFrame @ 0x756688
// > PlayerObject::updatePlayerFrame @ 0x7566ac
// > PlayerObject::updatePlayerFrame @ 0x7566d0
// > PlayerObject::updatePlayerRollFrame @ 0x7568a0
// > PlayerObject::updatePlayerRollFrame @ 0x7568c4
// > PlayerObject::updatePlayerRollFrame @ 0x7568e8
// > PlayerObject::updatePlayerSwingFrame @ 0x756ab0
// > PlayerObject::updatePlayerSwingFrame @ 0x756ad4
// > PlayerObject::updatePlayerSwingFrame @ 0x756af8
// > PlayerObject::updatePlayerDartFrame @ 0x756cc8
// > PlayerObject::updatePlayerDartFrame @ 0x756cec
// > PlayerObject::updatePlayerDartFrame @ 0x756d10
// > PlayerObject::updatePlayerShipFrame @ 0x756ee0
// > PlayerObject::updatePlayerShipFrame @ 0x756f04
// > PlayerObject::updatePlayerShipFrame @ 0x756f28
// > PlayerObject::updatePlayerJetpackFrame @ 0x7570f8
// > PlayerObject::updatePlayerJetpackFrame @ 0x75711c
// > PlayerObject::updatePlayerJetpackFrame @ 0x757140
// > PlayerObject::updatePlayerBirdFrame @ 0x75732c
// > PlayerObject::updatePlayerBirdFrame @ 0x757350
// > PlayerObject::updatePlayerBirdFrame @ 0x757374
// > PlayerObject::updatePlayerBirdFrame @ 0x757398
// > PlayerObject::toggleRobotMode @ 0x759344
// > PlayerObject::toggleSpiderMode @ 0x759818
// > PlayerObject::spiderTestJumpY @ 0x764f44
// > PlayerObject::spiderTestJumpX @ 0x765a50
// > GameObject::customSetup @ 0x77c9f4
// > GameObject::customSetup @ 0x77d02c
// > EditorUI::updatePlaybackBtn @ 0x7c2680
// > EditorUI::updatePlaybackBtn @ 0x7c2724
// > EditorUI::updateEditColorButton @ 0x7c5a68
// > EditorUI::updateEditColorButton @ 0x7c5ae8
// > EditorUI::updateButtons @ 0x7c849c
// > EditorUI::onPlaytest @ 0x7ce77c
// > EditorUI::onPlaytest @ 0x7ce7f8
// > EditorUI::playtestStopped @ 0x7ce8ec
// > PauseLayer::onSideButtonPressed @ 0x7d4cfc
// > CreatorLayer::dialogClosed @ 0x7dba18
// > LevelSearchLayer::demonFilterSelectClosed @ 0x7e4544
// > LevelInfoLayer::onFavorite @ 0x7e542c
// > LevelInfoLayer::updateSideButtons @ 0x7e6608
// > LevelInfoLayer::updateSideButtons @ 0x7e6660
// > LevelInfoLayer::updateSideButtons @ 0x7e66d8
// > LevelInfoLayer::updateLabelValues @ 0x7e87ec
// > LevelInfoLayer::updateLabelValues @ 0x7e8e58
// > LevelInfoLayer::levelDownloadFinished @ 0x7e9e28
// > ShareLevelLayer::selectRating @ 0x7f2150
// > CustomSongWidget::updatePlaybackBtn @ 0x868430
// > CustomSongWidget::updatePlaybackBtn @ 0x868478
// > CustomSongWidget::positionInfoObjects @ 0x868db8
// > CustomSongWidget::updateSongInfo @ 0x869fa4
// > CustomSongWidget::updateSongInfo @ 0x86a464
// > CustomSongWidget::updateSongInfo @ 0x86abd8
// > SmartGameObject::updateSmartFrame @ 0x899cac
// > TriggerControlGameObject::updateTriggerControlFrame @ 0x89a3d8
// > AnimatedGameObject::displayFrameChanged @ 0x89b5a0
// > GJGarageLayer::updateRate @ 0x8b9204
// > SimplePlayer::setFrames @ 0x8ba668
// > SimplePlayer::setFrames @ 0x8ba690
// > SimplePlayer::setFrames @ 0x8ba6b8
// > SimplePlayer::setFrames @ 0x8ba764
// > SimplePlayer::setFrames @ 0x8ba7c4
// > GJGarageLayer::setupPage @ 0x8c097c
// > GJGarageLayer::setupPage @ 0x8c0b2c
// > LevelPage::addSecretCoin @ 0x8c5c40
// > LevelPage::addSecretCoin @ 0x8c5c74
// > LevelPage::addSecretCoin @ 0x8c5ca8
// > LevelPage::addSecretCoin @ 0x8c5cdc
// > LevelPage::playCoinEffect @ 0x8c5f6c
// > LevelPage::playCoinEffect @ 0x8c5fa0
// > LevelPage::playCoinEffect @ 0x8c5fd4
// > LevelPage::playCoinEffect @ 0x8c6008
// > LevelPage::dialogClosed @ 0x8c6a58
// > LevelPage::updateDynamicPage @ 0x8c748c
// > LevelPage::updateDynamicPage @ 0x8c7654
// > LevelPage::updateDynamicPage @ 0x8c7924
// > SongOptionsLayer::updatePlaybackBtn @ 0x97f530
// > SongOptionsLayer::updatePlaybackBtn @ 0x97f560
// > CustomizeObjectLayer::updateHSVButtons @ 0x9832f8
// > CustomizeObjectLayer::updateHSVButtons @ 0x983338
// > GJDifficultySprite::updateDifficultyFrame @ 0xa315dc
// > GJRobotSprite::updateFrame @ 0xa3cb10
// > GJRobotSprite::updateFrame @ 0xa3cb50
// > GJRobotSprite::updateFrame @ 0xa3cbf8
// > GJRobotSprite::updateFrame @ 0xa3cd20
// > FriendsProfilePage::onToggleSortDir @ 0xa526d0
// > ProfilePage::updateFollowButton @ 0xa54284
// > SecretLayer::playCoinEffect @ 0xa5e714
// > SecretLayer::playCoinEffect @ 0xa5e748
// > SecretLayer::playCoinEffect @ 0xa5e77c
// > SecretLayer::playCoinEffect @ 0xa5e7b0
// > DialogLayer::updateNavButtonFrame @ 0xa7054c
// > DialogLayer::updateNavButtonFrame @ 0xa70580
// > RewardsPage::updateTimers @ 0xa8525c
// > RewardsPage::updateTimers @ 0xa852c0
// > SecretLayer2::dialogClosed @ 0xa8a3b8
// > SecretLayer2::playCoinEffect @ 0xa8adfc
// > SecretLayer2::playCoinEffect @ 0xa8ae30
// > SecretLayer2::playCoinEffect @ 0xa8ae64
// > SecretLayer2::playCoinEffect @ 0xa8ae98
// > SecretLayer3::init @ 0xa9288c
// > SecretLayer3::init @ 0xa928c0
// > SecretLayer4::playCoinEffect @ 0xa94124
// > SecretLayer4::playCoinEffect @ 0xa94158
// > SecretLayer4::playCoinEffect @ 0xa9418c
// > SecretLayer4::playCoinEffect @ 0xa941c0
// > ShardsPage::goToPage @ 0xaa3c8c
// > GJWorldNode::unlockActiveItem @ 0xaa87e4
// > EnhancedGameObject::updateSyncedAnimation @ 0xaf1880
// > EnhancedGameObject::updateSyncedAnimation @ 0xaf1a00
// > EnhancedGameObject::updateSyncedAnimation @ 0xaf1a78
// > EnhancedGameObject::updateSyncedAnimation @ 0xaf1aec
// > EnhancedGameObject::updateSyncedAnimation @ 0xaf1b68
// > EnhancedGameObject::updateSyncedAnimation @ 0xaf1bdc
// > EnhancedGameObject::updateSyncedAnimation @ 0xaf1c34
// > EnhancedGameObject::updateSyncedAnimation @ 0xaf1e38
// > EnhancedGameObject::updateSyncedAnimation @ 0xaf1f28
// > EnhancedGameObject::updateSyncedAnimation @ 0xaf1fcc
// > EnhancedGameObject::updateSyncedAnimation @ 0xaf2124
// > EnhancedGameObject::updateSyncedAnimation @ 0xaf217c
// > EnhancedGameObject::updateSyncedAnimation @ 0xaf2294
// > EnhancedGameObject::updateSyncedAnimation @ 0xaf22e4
// > EnhancedGameObject::updateSyncedAnimation @ 0xaf233c
// > EnhancedGameObject::updateSyncedAnimation @ 0xaf23d8
// > EnhancedGameObject::updateSyncedAnimation @ 0xaf244c
// > EnhancedGameObject::updateSyncedAnimation @ 0xaf2578
// > EnhancedGameObject::updateSyncedAnimation @ 0xaf2598
// > EnhancedGameObject::updateSyncedAnimation @ 0xaf267c
// > EnhancedGameObject::updateSyncedAnimation @ 0xaf2718
// > EnhancedGameObject::updateSyncedAnimation @ 0xaf2834
// > EnhancedGameObject::updateSyncedAnimation @ 0xaf28e8
// > EnhancedGameObject::updateSyncedAnimation @ 0xaf294c
// > EnhancedGameObject::updateSyncedAnimation @ 0xaf2b90
// > GameObject::playDestroyObjectAnim @ 0xaf4414
// > GameObject::playDestroyObjectAnim @ 0xaf4448
// > GameObject::playDestroyObjectAnim @ 0xaf447c
// > GameObject::playDestroyObjectAnim @ 0xaf44b0
// > GameObject::playDestroyObjectAnim @ 0xaf48dc
// > GameObject::playDestroyObjectAnim @ 0xaf4914
// > GameObject::playDestroyObjectAnim @ 0xaf494c
// > GameObject::playDestroyObjectAnim @ 0xaf4984
// > CreateParticlePopup::onSelectParticleTexture @ 0xafeb20
// > SetupAreaTintTriggerPopup::updateHSVButton @ 0xb3bfa8
// > SetupEnterEffectPopup::updateHSVButton @ 0xb43ac0
// > PlayerObject::playDeathEffect @ 0xb54c20
// > PlayerObject::playDeathEffect @ 0xb55060
// > PlayerObject::playDeathEffect @ 0xb55480
// > PlayerObject::playDeathEffect @ 0xb558b0
// > PlayerObject::playDeathEffect @ 0xb55cfc
// > PlayerObject::playDeathEffect @ 0xb5613c
// > PlayerObject::playDeathEffect @ 0xb5653c
// > PlayerObject::playDeathEffect @ 0xb56958
// > PlayerObject::playDeathEffect @ 0xb56ddc
// > PlayerObject::playDeathEffect @ 0xb5724c
// > PlayerObject::playDeathEffect @ 0xb57690
// > PlayerObject::playDeathEffect @ 0xb57b6c
// > PlayerObject::playDeathEffect @ 0xb57fc4
// > PlayerObject::playDeathEffect @ 0xb58474
// > PlayerObject::playDeathEffect @ 0xb588f8
// > PlayerObject::playDeathEffect @ 0xb58d68
// > PlayerObject::playDeathEffect @ 0xb59184
// > PlayerObject::playDeathEffect @ 0xb595a0
// > PlayerObject::playDeathEffect @ 0xb599ec
// > LevelAreaLayer::addTorch @ 0xb5b34c
// > LevelAreaLayer::addTorch @ 0xb5b380
// > CustomSFXWidget::updateSFXInfo @ 0xb5e62c
// > CustomSFXWidget::updateSFXInfo @ 0xb5e69c
// > CustomSFXWidget::updateSFXInfo @ 0xb5eb00
// > CustomSFXWidget::updateSFXInfo @ 0xb5ecf8
// > LevelSettingsLayer::selectArtClosed @ 0xb61ae4
// > LevelSettingsLayer::selectArtClosed @ 0xb61b9c
// > LevelSettingsLayer::selectArtClosed @ 0xb61c28
// > LevelSettingsLayer::selectSettingClosed @ 0xb64508
// > LevelSettingsLayer::selectSettingClosed @ 0xb64564
// > SetupAudioLineGuidePopup::selectSettingClosed @ 0xb71a8c
// > SetupArtSwitchPopup::selectArtClosed @ 0xb72680
// > MusicBrowser::onToggleSearch @ 0xb857d8
// > MusicBrowser::setupMusicBrowser @ 0xb85bf4
// > SFXBrowser::updateViewItems @ 0xb8e180
// > SFXBrowser::onToggleSearch @ 0xb92bb0
// > SFXBrowser::setupSFXBrowser @ 0xb933ec
// > SFXBrowser::cellPerformedAction @ 0xb9803c
// > SecretRewardsLayer::updateBackButton @ 0xb9a598
// > LevelListLayer::onFavorite @ 0xba9130
// > LevelListLayer::onFavorite @ 0xba9160
// > LevelListLayer::updateSideButtons @ 0xba973c
// > LevelListLayer::updateStatsArt @ 0xbab0a4
// > GJRotationControl::onToggleLockRotation @ 0xbce0c0
// > GJRotationControl::onToggleLockRotation @ 0xbce0e8
// > GJScaleControl::onToggleLockScale @ 0xbce15c
// > GJScaleControl::onToggleLockScale @ 0xbce184
// > GJTransformControl::onToggleLockScale @ 0xbce374
// > GJTransformControl::onToggleLockScale @ 0xbce39c
// > GJTransformControl::onToggleOppositeAnchor @ 0xbce424
// > GJTransformControl::onToggleOppositeAnchor @ 0xbce44c
// > GJTransformControl::onToggleGridSnap @ 0xbce4d4
// > GJTransformControl::onToggleGridSnap @ 0xbce4fc
// > GJTransformControl::onToggleFreeRotation @ 0xbce584
// > GJTransformControl::onToggleFreeRotation @ 0xbce5ac
// > GJRotationControl::ccTouchBegan @ 0xbcedb0
// > GJRotationControl::finishTouch @ 0xbcf364
// > GJTransformControl::init @ 0xbd4c58
// > GJTransformControl::init @ 0xbd4c98
// > GJTransformControl::init @ 0xbd4cd8
// > GJTransformControl::init @ 0xbd4d18
// > EditorUI::updateDeleteButtons @ 0xbdf858
// > EditorUI::updateDeleteButtons @ 0xbdf970
// > EditorUI::updateDeleteButtons @ 0xbdfa04
// > LevelPickerPopup::applyKind @ 0xc66f14
// > DeathMarkerLayer::buildCell @ 0xc9f404
// > DeathMarkerLayer::init @ 0xca3890
// > sub_CA97C0 @ 0xca97e4
// > EditorSoundConfigInfoLayer::refreshLikeState @ 0xccd784
// > EditorSoundConfigInfoLayer::refreshActionButtons @ 0xccda04
// > EditorSoundConfigInfoLayer::init @ 0xcd1a40
// > EditorSoundConfigInfoLayer::init @ 0xcd1ee8
// > EditorSoundConfigInfoLayer::init @ 0xcd26c4
// > FontPreviewCell::loadFromIndex @ 0xd02c6c
// > cocos2d::extension::CCScale9Sprite::initWithSpriteFrameName @ 0xd13bac
// > cocos2d::CCAnimationCache::parseVersion1 @ 0xd854d4
// > cocos2d::CCAnimationCache::parseVersion2 @ 0xd85790
// > cocos2d::CCSprite::initWithSpriteFrameName @ 0xd85fbc
// > cocos2d::CCSprite::createWithSpriteFrameName @ 0xd872dc
// > ??> @ 0xd8808
//
// 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 13:08:16 +0000
//
__int64 __fastcall cocos2d::CCSpriteFrameCache::spriteFrameByName(cocos2d::CCSpriteFrameCache *this, char *a2)
{
size_t v4; // x0
size_t v5; // x19
__int64 v6; // x25
char *v7; // x3
__int64 v8; // x19
unsigned __int64 v10; // x0
size_t v11; // x0
__int64 v12; // x21
cocos2d::CCString *v13; // x21
__int64 v14; // x19
char *CString; // x0
size_t v16; // x0
char *v17; // [xsp+58h] [xbp+58h]
unsigned __int64 v18; // [xsp+60h] [xbp+60h] BYREF
size_t v19; // [xsp+68h] [xbp+68h]
void *v20; // [xsp+70h] [xbp+70h]
v18 = 0;
v19 = 0;
v20 = nullptr;
v4 = strlen(a2);
v5 = v4;
v6 = *((_QWORD *)this + 7);
if ( v4 > 0x16 )
{
v10 = (v4 + 16) & 0xFFFFFFFFFFFFFFF0LL;
v18 = v10 | 1;
v7 = (char *)operator new(v10);
v20 = v7;
v19 = v5;
}
else
{
LOBYTE(v18) = 2 * v4;
v7 = (char *)&v18 + 1;
if ( !v4 )
{
BYTE1(v18) = 0;
v8 = cocos2d::CCDictionary::objectForKey(v6, (__int64)&v18);
if ( (v18 & 1) == 0 )
goto LABEL_4;
goto LABEL_8;
}
}
*((_BYTE *)memcpy(v7, a2, v5) + v5) = 0;
v8 = cocos2d::CCDictionary::objectForKey(v6, (__int64)&v18);
if ( (v18 & 1) == 0 )
{
LABEL_4:
if ( v8 )
return v8;
goto LABEL_9;
}
LABEL_8:
operator delete(v20);
if ( v8 )
return v8;
LABEL_9:
v18 = 0;
v19 = 0;
v20 = nullptr;
v11 = strlen(a2);
v12 = *((_QWORD *)this + 8);
std::string::__init((__int64 *)&v18, a2, v11);
v13 = (cocos2d::CCString *)cocos2d::CCDictionary::objectForKey(v12, (__int64)&v18);
if ( (v18 & 1) != 0 )
operator delete(v20);
if ( v13 )
{
v14 = *((_QWORD *)this + 7);
CString = cocos2d::CCString::getCString(v13);
v18 = 0;
v17 = CString;
v19 = 0;
v20 = nullptr;
v16 = strlen(CString);
std::string::__init((__int64 *)&v18, v17, v16);
v8 = cocos2d::CCDictionary::objectForKey(v14, (__int64)&v18);
if ( (v18 & 1) != 0 )
operator delete(v20);
}
return v8;
}