//
// cocos2d::extension::CCScale9Sprite::create from 0xd14644 to 0xd14714 (208 bytes)
//
// 294 xrefs:
// > ButtonSprite::init @ 0x68b714
// > ButtonSprite::updateBGImage @ 0x68bf38
// > ButtonSprite::init @ 0x68c290
// > FLAlertLayer::init @ 0x69a200
// > CCTextInputMenu::init @ 0x6b7158
// > CreateGuidelinesLayer::init @ 0x6e86e0
// > CreateGuidelinesLayer::init @ 0x6e8cfc
// > CommentCell::loadFromComment @ 0x74b0f0
// > StartPosBrowser::init @ 0x7d6e5c
// > PauseLayer::customSetup @ 0x7d81b8
// > MoreSearchLayer::init @ 0x7e0c58
// > MoreSearchLayer::init @ 0x7e189c
// > LevelSearchLayer::init @ 0x7e2964
// > LevelSearchLayer::init @ 0x7e2a24
// > LevelSearchLayer::init @ 0x7e2f2c
// > LevelSearchLayer::init @ 0x7e3648
// > LevelSearchLayer::init @ 0x7e3934
// > DemonFilterSelectLayer::init @ 0x7e4698
// > EditLevelLayer::init @ 0x7f0540
// > EditLevelLayer::init @ 0x7f06b0
// > ShareLevelSettingsLayer::init @ 0x7f2cac
// > ShareLevelLayer::init @ 0x7f3d80
// > ShareLevelLayer::init @ 0x7f4008
// > UploadPopup::init @ 0x7f4cc8
// > ColorSelectPopup::init @ 0x86411c
// > ColorSelectPopup::init @ 0x864a24
// > ColorSelectPopup::init @ 0x8650dc
// > ColorSelectPopup::init @ 0x8653b8
// > CustomSongWidget::addExtraVisuals @ 0x8680c0
// > CustomSongWidget::init @ 0x86b044
// > CustomSongWidget::init @ 0x86bdc4
// > EditorPauseLayer::customSetup @ 0x8b5b64
// > ItemInfoPopup::init @ 0x8be324
// > ItemInfoPopup::init @ 0x8be3e0
// > GJGarageLayer::setupIconSelect @ 0x8c0e38
// > RateLevelLayer::init @ 0x8c3544
// > LevelPage::init @ 0x8c44d4
// > MoreVideoOptionsLayer::init @ 0x8f1c04
// > VideoOptionsLayer::init @ 0x8f4b6c
// > ParentalOptionsLayer::addMasterToggle @ 0x8f6588
// > ParentalOptionsLayer::init @ 0x8f6b7c
// > MoreOptionsLayer::init @ 0x8f7af4
// > MoreOptionsLayer::init @ 0x8f8728
// > AchievementBar::init @ 0x8fdfb8
// > AchievementBar::init @ 0x8fe0a4
// > TutorialLayer::init @ 0x900a1c
// > SongInfoLayer::init @ 0x9045e4
// > InfoLayer::init @ 0x90b230
// > InfoLayer::init @ 0x90c188
// > ShareCommentLayer::init @ 0x90ec28
// > ShareCommentLayer::init @ 0x90ef88
// > LikeItemLayer::init @ 0x915518
// > LevelFeatureLayer::init @ 0x951148
// > GJRateLevelLayer::init @ 0x9528e0
// > GJRateLevelListLayer::init @ 0x9558bc
// > NumberInputLayer::init @ 0x956a64
// > RateStarsLayer::init @ 0x957a7c
// > NewgroundsInfoLayer::init @ 0x97e8d0
// > SongSelectNode::init @ 0x97fdb0
// > CustomSongLayer::init @ 0x9807dc
// > CustomSongLayer::init @ 0x980e18
// > CustomSongLayer::init @ 0x980ea8
// > SongOptionsLayer::init @ 0x981660
// > SongOptionsLayer::init @ 0x981c34
// > NCSInfoLayer::init @ 0x982214
// > CustomizeObjectLayer::init @ 0x984fe4
// > CustomizeObjectLayer::init @ 0x985d18
// > CustomizeObjectLayer::init @ 0x9868cc
// > AccountRegisterLayer::createTextBackground @ 0x98f678
// > AccountLoginLayer::createTextBackground @ 0x990068
// > AccountRegisterLayer::init @ 0x990964
// > AccountLoginLayer::init @ 0x9917a8
// > KeybindingsLayer::buildContentForTab @ 0x99601c
// > KeybindingsLayer::init @ 0x9976c4
// > GJColorSetupLayer::init @ 0x9f76f8
// > SelectFontLayer::init @ 0xa21e64
// > TOSPopup::init @ 0xa25004
// > TOSPopup::init @ 0xa2509c
// > UpdateAccountSettingsPopup::init @ 0xa263e4
// > UploadActionPopup::init @ 0xa280d8
// > SetIDPopup::init @ 0xa29bfc
// > SetIDPopup::init @ 0xa29e3c
// > TextAlertPopup::init @ 0xa2c63c
// > SetTextPopup::init @ 0xa2faf4
// > SetTextPopup::init @ 0xa2fd58
// > FriendRequestPopup::init @ 0xa31804
// > FriendRequestPopup::init @ 0xa31be0
// > GJWriteMessagePopup::init @ 0xa321bc
// > GJWriteMessagePopup::init @ 0xa32594
// > GJWriteMessagePopup::init @ 0xa328c4
// > GJMessagePopup::init @ 0xa3375c
// > GJMessagePopup::init @ 0xa33c24
// > SocialLinksPopup::init @ 0xa36690
// > SocialLinksPopup::init @ 0xa36b74
// > GJAccountSettingsLayer::init @ 0xa37748
// > GJAccountSettingsLayer::init @ 0xa378d4
// > GJAccountSettingsLayer::init @ 0xa37d20
// > GJAccountSettingsLayer::init @ 0xa38158
// > GJAccountSettingsLayer::init @ 0xa3857c
// > ConfigureHSVWidget::createTextInputNode @ 0xa3aa60
// > ConfigureHSVWidget::init @ 0xa3bb40
// > HSVWidgetPopup::init @ 0xa3be08
// > GJSpecialColorSelect::init @ 0xa3fcc4
// > SetupOpacityPopup::init @ 0xa4166c
// > SetupSpawnPopup::init @ 0xa43dec
// > SetupPulsePopup::init @ 0xa46bb4
// > SetupPulsePopup::init @ 0xa46f84
// > SetupPulsePopup::init @ 0xa47318
// > SetupPulsePopup::init @ 0xa482d0
// > SetupPulsePopup::init @ 0xa488c4
// > SetupPulsePopup::init @ 0xa48c18
// > MessagesProfilePage::init @ 0xa4b300
// > FRequestProfilePage::init @ 0xa4e0e4
// > FRequestProfilePage::init @ 0xa4e248
// > FriendsProfilePage::init @ 0xa506ac
// > ProfilePage::createOfflineNotice @ 0xa53a10
// > MyStuffPopup::init @ 0xa55cf8
// > DemonInfoPopup::init @ 0xa56e3c
// > StarInfoPopup::init @ 0xa57990
// > ProfilePage::init @ 0xa5bb3c
// > ProfilePage::init @ 0xa5bdec
// > ProfilePage::init @ 0xa5beac
// > SecretLayer::init @ 0xa61aa8
// > ChallengeNode::init @ 0xa62a5c
// > ChallengesPage::init @ 0xa63a18
// > ColorSelectLiveOverlay::init @ 0xa66178
// > ConfigureValuePopup::init @ 0xa672f0
// > ConfigureValuePopup::init @ 0xa67604
// > DailyLevelNode::init @ 0xa6e0c8
// > DailyLevelPage::init @ 0xa6f380
// > DialogLayer::init @ 0xa7118c
// > DialogLayer::init @ 0xa712a0
// > GauntletNode::showUnlockAnimation @ 0xa72060
// > GauntletNode::generateNode @ 0xa74810
// > GauntletNode::onUnlock @ 0xa76930
// > PurchaseItemPopup::init @ 0xa80a68
// > LevelLeaderboard::init @ 0xa82b34
// > RateDemonLayer::init @ 0xa84444
// > RewardsPage::init @ 0xa85c14
// > RewardUnlockLayer::init @ 0xa89234
// > RewardUnlockLayer::init @ 0xa89328
// > SecretLayer2::init @ 0xa90648
// > SecretLayer4::init @ 0xa971e4
// > SetupAnimationPopup::init @ 0xa99d54
// > SetupInstantCountPopup::init @ 0xa9f114
// > SetupShakePopup::init @ 0xaa1f8c
// > ShardsPage::init @ 0xaa3dfc
// > WorldLevelPage::init @ 0xaa8ce4
// > FollowRewardPage::init @ 0xaab344
// > TopArtistsLayer::init @ 0xaacb54
// > SetupCameraOffsetTrigger::init @ 0xaaf4d0
// > SetupCameraOffsetTrigger::init @ 0xaafd28
// > SetupPortalPopup::init @ 0xab0cec
// > SetupRandTriggerPopup::init @ 0xab3a48
// > CommunityCreditsPage::init @ 0xab5ea0
// > SetupObjectOptionsPopup::init @ 0xabc7d0
// > SetGroupIDLayer::createTextInput @ 0xabe930
// > SetGroupIDLayer::init @ 0xabef18
// > SetGroupIDLayer::init @ 0xabefb0
// > SetupCameraRotatePopup::init @ 0xaed890
// > SetupCameraRotatePopup::init @ 0xaee114
// > SetupRandAdvTriggerPopup::init @ 0xaf05cc
// > SetupRandAdvTriggerPopup::init @ 0xaf08ec
// > SetupGravityModPopup::init @ 0xafb720
// > CreateParticlePopup::createParticleSlider @ 0xb001dc
// > CreateParticlePopup::init @ 0xb015ec
// > BrowseSmartTemplateLayer::baseSetup @ 0xb14600
// > SetupSmartBlockLayer::init @ 0xb14f04
// > SetupSmartTemplateLayer::init @ 0xb16a08
// > SetupSmartTemplateLayer::init @ 0xb16cb0
// > SetupTriggerPopup::init @ 0xb1aa6c
// > SetupTriggerPopup::init @ 0xb1abbc
// > SetupTriggerPopup::createValueControlAdvanced @ 0xb1fad4
// > SelectPremadeLayer::init @ 0xb4c890
// > SetupMGTrigger::init @ 0xb4e56c
// > SetupMGTrigger::init @ 0xb4ee00
// > CharacterColorPage::init @ 0xb524b0
// > CharacterColorPage::init @ 0xb52674
// > CustomSFXWidget::init @ 0xb5ff98
// > CustomSFXWidget::init @ 0xb6031c
// > SelectArtLayer::init @ 0xb62c60
// > SelectSettingLayer::init @ 0xb647c0
// > LevelSettingsLayer::init @ 0xb65954
// > LevelSettingsLayer::init @ 0xb661b0
// > LevelSettingsLayer::init @ 0xb66454
// > SetupItemEditTriggerPopup::init @ 0xb7d698
// > SetupItemCompareTriggerPopup::init @ 0xb7ed1c
// > SetupSequenceTriggerPopup::init @ 0xb82b34
// > sub_B85DD0 @ 0xb85e7c
// > sub_B85DD0 @ 0xb86460
// > OptionsScrollLayer::init @ 0xb88578
// > OptionsScrollLayer::init @ 0xb88710
// > NewsPopup::rebuildPage @ 0xb8ba1c
// > NewsPopup::init @ 0xb8d5e0
// > SelectSFXSortLayer::init @ 0xb90964
// > sub_B947C8 @ 0xb948bc
// > sub_B947C8 @ 0xb957bc
// > ScrollViewPopup::initPopup @ 0xb98ec8
// > ScrollViewPopup::initPopup @ 0xb990ec
// > SecretRewardsLayer::createSecondaryLayer @ 0xba1960
// > SelectListIconLayer::init @ 0xba9b18
// > UploadListPopup::init @ 0xbac3c8
// > ShareListLayer::init @ 0xbace9c
// > ShareListLayer::init @ 0xbad110
// > LevelListLayer::init @ 0xbafb24
// > AudioAssetsBrowser::init @ 0xbc270c
// > SecretLayer5::init @ 0xbc8278
// > AutoSaveSettingsLayer::init @ 0xbca3bc
// > AutoSaveSettingsLayer::init @ 0xbca698
// > GJScaleControl::createScaleInput @ 0xbd2ed8
// > GJRotationControl::init @ 0xbd3ff0
// > PagedListPopup::initFrame @ 0xc3981c
// > PagedListPopup::createScrollArea @ 0xc39f4c
// > SFXFolderPickerPopup::rebuildList @ 0xc3bdac
// > SFXFolderPickerPopup::init @ 0xc3c908
// > SFXFolderPickerPopup::init @ 0xc3cb5c
// > SFXFolderPickerPopup::init @ 0xc3cf94
// > AdminActionConfirmPopup::init @ 0xc3e6f4
// > ReviewChoiceSheet::init @ 0xc41a18
// > AccountReviewPopup::buildDirectReportRow @ 0xc45ea4
// > AccountReviewPopup::buildFilterRows @ 0xc46618
// > AccountReviewPopup::buildHistoryRows @ 0xc47e7c
// > AccountReviewPopup::buildReportedRows @ 0xc4d45c
// > ReportQueuePopup::buildRows @ 0xc5093c
// > AutoBackupPopup::init @ 0xc5d350
// > DailyRecallUnlockPopup::init @ 0xc5dccc
// > NotificationsPage::init @ 0xc5f000
// > LevelBadgePopup::buildCell @ 0xc66b74
// > FriendPickerPopup::init @ 0xc69560
// > LevelPickerPopup::init @ 0xc6a1e8
// > InvitesPopup::init @ 0xc6c884
// > RenameThreadPopup::init @ 0xc6f0bc
// > ThreadSearchPopup::init @ 0xc6fab8
// > ThreadSearchPopup::init @ 0xc6fd18
// > MessageThreadsPage::init @ 0xc75304
// > MessageThreadsPage::init @ 0xc756ec
// > ThreadDescPopup::buildUI @ 0xc79e18
// > ThreadDescPopup::buildUI @ 0xc7a240
// > NewThreadPopup::init @ 0xc7d80c
// > NewThreadPopup::init @ 0xc7dc28
// > NewThreadPopup::init @ 0xc7dddc
// > NewThreadPopup::init @ 0xc7e064
// > NewThreadPopup::init @ 0xc7e7e0
// > ThreadRequestPopup::init @ 0xc7ff44
// > ThreadRequestPopup::init @ 0xc803ac
// > ThreadViewPopup::init @ 0xc86c60
// > ThreadViewPopup::init @ 0xc87154
// > ThreadViewPopup::init @ 0xc87424
// > SongUsagePopup::init @ 0xc8d028
// > ClearPlatformerSavesPopup::init @ 0xc8f960
// > AccountBanPopup::init @ 0xc93c00
// > AccountBanPopup::init @ 0xc94120
// > AccountBanPopup::init @ 0xc94624
// > AccountBanPopup::init @ 0xc94b28
// > AccountBanPopup::init @ 0xc9501c
// > AccountBanPopup::init @ 0xc9547c
// > DeathStatsPopup::init @ 0xca7a44
// > DeathStatsPopup::init @ 0xca7cdc
// > sub_CA9C5C @ 0xca9cb8
// > DeathTrackerPopup::buildList @ 0xcb04d8
// > DeathTrackerPopup::init @ 0xcb410c
// > DeathTrackerPopup::init @ 0xcb48d0
// > DeathTrackerPopup::init @ 0xcb4978
// > DeathTrackerPopup::init @ 0xcb4c10
// > DeathTrackerPopup::init @ 0xcb4e88
// > Dropdown::init @ 0xcb6c20
// > DropdownListPopup::init @ 0xcb80e4
// > EasingSelectPopup::init @ 0xcbb7ec
// > EditorSFXActionConfigLayer::refreshRows @ 0xcbe0a4
// > EditorSoundBrowserLayer::init @ 0xcc9b84
// > EditorSoundBrowserLayer::init @ 0xcc9bf0
// > SoundPackDescPopup::init @ 0xccfd20
// > SoundPackDescPopup::init @ 0xcd0128
// > EditorSoundConfigInfoLayer::init @ 0xcd1388
// > EditorSoundConfigInfoLayer::init @ 0xcd2264
// > EditorSoundConfigUploadPopup::init @ 0xcd4c08
// > EditorSoundsLayer::buildContentForTab @ 0xcd62e4
// > EditorSoundsLayer::init @ 0xcd6e10
// > EditorSoundsSettingsPopup::init @ 0xcd7e74
// > GridSettingsLayer::onBuildWindowContent @ 0xcdc3a8
// > IDNameBrowserPopup::mountVirtualRow @ 0xcdd220
// > IDNameBrowserPopup::init @ 0xce2720
// > IDNameBrowserPopup::init @ 0xce2a24
// > IDNameBrowserPopup::init @ 0xce2d24
// > IDNameBrowserPopup::init @ 0xce2f44
// > IDNameBrowserPopup::init @ 0xce3370
// > IDNameInput::initCore @ 0xce50e0
// > KeybindingsSettingsPopup::init @ 0xcf01d0
// > LevelStatsInfoPopup::init @ 0xcf98d0
// > RateStarsModLayer::init @ 0xcfd0e4
// > RateStarsModLayer::init @ 0xcfd540
// > SelectFontLayer2::init @ 0xd0322c
// > TimeSpeedControl::init @ 0xd03b38
// > ??> @ 0x914c8
//
// 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:07:05 +0000
//
cocos2d::extension::CCScale9Sprite *__fastcall cocos2d::extension::CCScale9Sprite::create(
__int64 a1,
const cocos2d::CCRect *a2)
{
cocos2d::extension::CCScale9Sprite *v4; // x19
const cocos2d::CCRect *v5; // x1
unsigned __int8 (__fastcall *v6)(cocos2d::extension::CCScale9Sprite *, __int64, _BYTE *); // x22
_BYTE v8[16]; // [xsp+48h] [xbp+48h] BYREF
v4 = (cocos2d::extension::CCScale9Sprite *)operator new(0x208u);
cocos2d::extension::CCScale9Sprite::CCScale9Sprite(v4);
v5 = a2;
v6 = *(unsigned __int8 (__fastcall **)(cocos2d::extension::CCScale9Sprite *, __int64, _BYTE *))(*(_QWORD *)v4 + 1128LL);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v8, v5);
if ( v6(v4, a1, v8) )
{
cocos2d::CCObject::autorelease(v4);
return v4;
}
else
{
(*(void (__fastcall **)(cocos2d::extension::CCScale9Sprite *))(*(_QWORD *)v4 + 16LL))(v4);
return nullptr;
}
}