//
// cocos2d::extension::CCScale9Sprite::create_2 from 0x1003e2720 to 0x1003e2794 (116 bytes)
//
// 296 xrefs:
// > SetupOpacityPopup::init @ 0x10001cd60
// > ButtonSprite::init @ 0x100059831
// > ButtonSprite::init_1 @ 0x10005a211
// > ButtonSprite::updateBGImage @ 0x10005a6df
// > CCTextInputMenu::init @ 0x1000788ec
// > CustomizeObjectLayer::init @ 0x1001d7528
// > CustomizeObjectLayer::init @ 0x1001d835a
// > CustomizeObjectLayer::init @ 0x1001d8d30
// > EditLevelLayer::init @ 0x1001dd14f
// > EditLevelLayer::init @ 0x1001dd512
// > GJColorSetupLayer::init @ 0x1001ee92a
// > CustomSongLayer::init @ 0x1001f8309
// > CustomSongLayer::init @ 0x1001f89f5
// > CustomSongLayer::init @ 0x1001f8a7e
// > SongOptionsLayer::init @ 0x1001f9d4e
// > SongOptionsLayer::init @ 0x1001fa3d5
// > NewgroundsInfoLayer::init @ 0x1001fac58
// > NCSInfoLayer::init @ 0x1001fb5c2
// > SongSelectNode::init @ 0x1001fc15f
// > RewardsPage::init @ 0x1001fd84f
// > RewardUnlockLayer::init @ 0x1001ff71a
// > RewardUnlockLayer::init @ 0x1001ff812
// > MessagesProfilePage::init @ 0x100211d92
// > DailyLevelPage::init @ 0x100214aac
// > DailyLevelNode::init @ 0x100216fa8
// > SetupTriggerPopup::init @ 0x10021978e
// > SetupTriggerPopup::init @ 0x100219847
// > SetupTriggerPopup::createValueControlAdvanced_1 @ 0x10021f00d
// > CommentCell::loadFromComment @ 0x10022df8f
// > LevelSettingsLayer::init @ 0x10025575c
// > LevelSettingsLayer::init @ 0x100257056
// > LevelSettingsLayer::init @ 0x100257328
// > SelectArtLayer::init @ 0x100259b2a
// > SelectSettingLayer::init @ 0x10025abaf
// > ShareLevelLayer::init @ 0x10026ca23
// > ShareLevelLayer::init @ 0x10026cd02
// > UploadPopup::init @ 0x10026e70e
// > ShareLevelSettingsLayer::init @ 0x10026f1d8
// > RateDemonLayer::init @ 0x1002707cf
// > RateStarsLayer::init @ 0x100276e42
// > SetupSpawnPopup::init @ 0x10027b3bf
// > EditorPauseLayer::customSetup @ 0x10027da36
// > SelectFontLayer::init @ 0x1002850ed
// > GJAccountSettingsLayer::init @ 0x10028a2e9
// > GJAccountSettingsLayer::init @ 0x10028a4a3
// > GJAccountSettingsLayer::init @ 0x10028a98a
// > GJAccountSettingsLayer::init @ 0x10028ae39
// > GJAccountSettingsLayer::init @ 0x10028b2fd
// > sub_10028E090 @ 0x10028e186
// > sub_10028E090 @ 0x10028e7f1
// > UpdateAccountSettingsPopup::init @ 0x10028f491
// > UploadActionPopup::init @ 0x100290399
// > FriendRequestPopup::init @ 0x10029131e
// > FriendRequestPopup::init @ 0x10029175a
// > GJMessagePopup::init @ 0x100293484
// > GJMessagePopup::init @ 0x1002939bf
// > GJWriteMessagePopup::init @ 0x1002955d3
// > GJWriteMessagePopup::init @ 0x1002959e5
// > GJWriteMessagePopup::init @ 0x100295d4e
// > SetIDPopup::init @ 0x1002981e0
// > SetIDPopup::init @ 0x100298435
// > sub_10029AA90 @ 0x10029ac17
// > sub_10029AA90 @ 0x10029ae9a
// > TextAlertPopup::init @ 0x10029c324
// > TOSPopup::init @ 0x10029d26b
// > TOSPopup::init @ 0x10029d30e
// > SelectPremadeLayer::init @ 0x1002f4b51
// > TopArtistsLayer::init @ 0x1002fb331
// > SetGroupIDLayer::init @ 0x1002fd05c
// > SetGroupIDLayer::init @ 0x1002fd0ff
// > SetGroupIDLayer::createTextInput @ 0x1002ff735
// > SetupObjectOptionsPopup::init @ 0x100303166
// > CommunityCreditsPage::init @ 0x100309e54
// > PurchaseItemPopup::init @ 0x10031320c
// > LevelListLayer::init @ 0x10034791f
// > SelectListIconLayer::init @ 0x10034cec6
// > ShareListLayer::init @ 0x10034d8fa
// > ShareListLayer::init @ 0x10034dbf3
// > UploadListPopup::init @ 0x10034f53e
// > GJGarageLayer::setupIconSelect @ 0x1003548a6
// > ItemInfoPopup::init @ 0x10035af0d
// > ItemInfoPopup::init @ 0x10035afe3
// > SetupRandAdvTriggerPopup::init @ 0x100378b93
// > SetupRandAdvTriggerPopup::init @ 0x100378f00
// > ChallengesPage::init @ 0x100386b89
// > ChallengeNode::init @ 0x100388524
// > SetupPulsePopup::init @ 0x100393d00
// > SetupPulsePopup::init @ 0x10039411b
// > SetupPulsePopup::init @ 0x100394515
// > SetupPulsePopup::init @ 0x100395740
// > SetupPulsePopup::init @ 0x100395e06
// > SetupPulsePopup::init @ 0x100396257
// > SecretLayer4::init @ 0x10039a66c
// > WorldLevelPage::init @ 0x1003aecaa
// > DialogLayer::init @ 0x1003b09d9
// > DialogLayer::init @ 0x1003b0b05
// > sub_1003BDEC0 @ 0x1003be58c
// > PauseLayer::customSetup @ 0x1003bf8ea
// > StartPosBrowser::init @ 0x1003c3979
// > SetupGravityModPopup::init @ 0x1003c56b8
// > LevelLeaderboard::init @ 0x1003c713c
// > FollowRewardPage::init @ 0x10040c374
// > HSVWidgetPopup::init @ 0x10041c842
// > ConfigureHSVWidget::init @ 0x10041d25a
// > ConfigureHSVWidget::createTextInputNode @ 0x10041db21
// > LevelPage::init @ 0x100422f37
// > SFXBrowser::init @ 0x10042c05b
// > SFXBrowser::init @ 0x10042d111
// > SelectSFXSortLayer::init @ 0x1004353f6
// > CreateParticlePopup::init @ 0x100462fbc
// > CreateParticlePopup::createParticleSlider @ 0x1004683c6
// > SecretLayer5::init @ 0x10046ee0b
// > NumberInputLayer::init @ 0x1004893c1
// > AccountRegisterLayer::init @ 0x10048c5fe
// > AccountRegisterLayer::init @ 0x10048c8c8
// > AccountRegisterLayer::init @ 0x10048cb2f
// > AccountRegisterLayer::init @ 0x10048ce18
// > AccountRegisterLayer::init @ 0x10048d021
// > AccountRegisterLayer::init @ 0x10048d26a
// > AccountRegisterLayer::createTextBackground @ 0x10048df20
// > AccountLoginLayer::init @ 0x1004911c0
// > AccountLoginLayer::init @ 0x1004914a1
// > AccountLoginLayer::init @ 0x100491890
// > AccountLoginLayer::createTextBackground @ 0x100492250
// > FLAlertLayer::init @ 0x1004943ff
// > SecretLayer2::init @ 0x10049675c
// > sub_1004B59F0 @ 0x1004b5d30
// > sub_1004B59F0 @ 0x1004b6597
// > ShardsPage::init @ 0x1004bff64
// > TutorialLayer::init @ 0x1004d78f3
// > SetupSequenceTriggerPopup::init @ 0x1004d8fa8
// > SetupSmartBlockLayer::init @ 0x1004e073c
// > SetupSmartTemplateLayer::init @ 0x1004e25a7
// > SetupSmartTemplateLayer::init @ 0x1004e28de
// > BrowseSmartTemplateLayer::baseSetup @ 0x1004e41b7
// > LevelFeatureLayer::init @ 0x100503ae5
// > GJRateLevelLayer::init @ 0x100504e4c
// > sub_1005070C0 @ 0x1005077c7
// > sub_100509EF0 @ 0x10050a238
// > sub_100509EF0 @ 0x10050aaa7
// > CreateGuidelinesLayer::init @ 0x10050ca8c
// > CreateGuidelinesLayer::init @ 0x10050d163
// > RateLevelLayer::init @ 0x100594c0b
// > ColorSelectLiveOverlay::init @ 0x100596064
// > SetupPortalPopup::init @ 0x10059ca44
// > GauntletNode::onUnlock @ 0x1005a0ac3
// > GauntletNode::showUnlockAnimation @ 0x1005a0c17
// > GauntletNode::generateNode @ 0x1005a1d21
// > SetupItemEditTriggerPopup::init @ 0x1005abadc
// > SetupItemCompareTriggerPopup::init @ 0x1005ae328
// > AutoSaveSettingsLayer::init @ 0x1005bc780
// > AutoSaveSettingsLayer::init @ 0x1005bcad8
// > GJRotationControl::init @ 0x100640ac8
// > sub_100642070 @ 0x1006421a4
// > ShareCommentLayer::init @ 0x1006b1310
// > ShareCommentLayer::init @ 0x1006b1ead
// > CustomSFXWidget::init @ 0x1006b55ec
// > CustomSFXWidget::init @ 0x1006b654e
// > SetupRandTriggerPopup::init @ 0x1006b931d
// > SetupInstantCountPopup::init @ 0x1006bc431
// > LikeItemLayer::init @ 0x1006cfbcf
// > SecretLayer::init @ 0x1006d1fcd
// > SongInfoLayer::init @ 0x1006d7f86
// > KeybindingsLayer::init @ 0x1006e191b
// > KeybindingsLayer::buildContentForTab @ 0x1006e26fe
// > MusicBrowser::init @ 0x1006e747c
// > MusicBrowser::init @ 0x1006e7aa8
// > OptionsScrollLayer::init @ 0x1006eb2da
// > OptionsScrollLayer::init @ 0x1006eb4bc
// > AchievementBar::init @ 0x1006f580c
// > AchievementBar::init @ 0x1006f5903
// > CustomSongWidget::init @ 0x1006f74de
// > CustomSongWidget::init @ 0x1006f805c
// > CustomSongWidget::addExtraVisuals @ 0x1006fad2b
// > ConfigureValuePopup::init @ 0x10070120b
// > ConfigureValuePopup::init @ 0x100701623
// > GJSpecialColorSelect::init @ 0x100702a7a
// > LevelSearchLayer::init @ 0x100704977
// > LevelSearchLayer::init @ 0x100704a23
// > LevelSearchLayer::init @ 0x100704fd2
// > LevelSearchLayer::init @ 0x100705b03
// > LevelSearchLayer::init @ 0x10070628d
// > MoreSearchLayer::init @ 0x100709e8c
// > MoreSearchLayer::init @ 0x10070abfe
// > DemonFilterSelectLayer::init @ 0x10070c1a1
// > SecretRewardsLayer::createSecondaryLayer @ 0x1007102f0
// > FriendsProfilePage::init @ 0x100734d22
// > CharacterColorPage::init @ 0x10073c251
// > CharacterColorPage::init @ 0x10073c465
// > SetupCameraOffsetTrigger::init @ 0x100740e24
// > SetupCameraOffsetTrigger::init @ 0x100741753
// > SetupShakePopup::init @ 0x100743b20
// > ColorSelectPopup::init @ 0x100803fe4
// > ColorSelectPopup::init @ 0x1008052a0
// > ColorSelectPopup::init @ 0x100805825
// > ColorSelectPopup::init @ 0x100805f32
// > FRequestProfilePage::init @ 0x10086efe2
// > FRequestProfilePage::init @ 0x10086f163
// > MoreOptionsLayer::init @ 0x10087cb0e
// > MoreOptionsLayer::init @ 0x10087d86b
// > VideoOptionsLayer::init @ 0x100880278
// > MoreVideoOptionsLayer::init @ 0x1008821cb
// > ParentalOptionsLayer::init @ 0x1008844b8
// > sub_100884A10 @ 0x100884bb6
// > InfoLayer::init @ 0x1008916c9
// > InfoLayer::init @ 0x100891e46
// > AudioAssetsBrowser::init @ 0x1008994b2
// > ProfilePage::init @ 0x10089dce1
// > ProfilePage::init @ 0x10089e003
// > ProfilePage::init @ 0x10089e0aa
// > sub_10089E770 @ 0x10089e7c1
// > DemonInfoPopup::init @ 0x1008a7ede
// > StarInfoPopup::init @ 0x1008a8b2a
// > MyStuffPopup::init @ 0x1008a9843
// > ClearPlatformerSavesPopup::init @ 0x1008b423b
// > sub_1008C8B30 @ 0x1008c8dc2
// > sub_1008C8B30 @ 0x1008c9081
// > DeathTrackerPopup::init @ 0x1008cabe8
// > DeathTrackerPopup::init @ 0x1008cb8cc
// > DeathTrackerPopup::init @ 0x1008cb965
// > DeathTrackerPopup::init @ 0x1008cbca0
// > DeathTrackerPopup::init @ 0x1008cbfbe
// > sub_1008D3CC0 @ 0x1008d3d5a
// > sub_1008D3CC0 @ 0x1008d562a
// > sub_1008D7200 @ 0x1008d724b
// > Dropdown::init @ 0x1008d9c35
// > DropdownListPopup::init @ 0x1008dadba
// > sub_1008DCDF0 @ 0x1008dd0cd
// > EditorSFXActionConfigLayer::refreshRows @ 0x1008dfd7e
// > sub_1008EF050 @ 0x1008ef62b
// > sub_1008EF050 @ 0x1008ef6aa
// > sub_1008F3770 @ 0x1008f4224
// > sub_1008F3770 @ 0x1008f52d5
// > SoundPackDescPopup::init @ 0x1008fa376
// > SoundPackDescPopup::init @ 0x1008fa80b
// > sub_1008FB260 @ 0x1008fb58e
// > sub_1008FD5B0 @ 0x1008fd7e5
// > EditorSoundsLayer::buildContentForTab @ 0x1008fe46b
// > sub_1008FF5F0 @ 0x1008ff662
// > GridSettingsLayer::onBuildWindowContent @ 0x10090856a
// > IDNameBrowserPopup::init @ 0x1009096d0
// > IDNameBrowserPopup::init @ 0x100909a11
// > IDNameBrowserPopup::init @ 0x100909dd6
// > IDNameBrowserPopup::init @ 0x10090a008
// > IDNameBrowserPopup::init @ 0x10090a437
// > IDNameBrowserPopup::mountVirtualRow @ 0x10090bcab
// > IDNameInput::initCore @ 0x100913854
// > sub_10091DEE0 @ 0x10091dfd1
// > LevelStatsInfoPopup::init @ 0x10092609f
// > MessageThreadsPage::init @ 0x1009282ad
// > MessageThreadsPage::init @ 0x1009286ea
// > ThreadViewPopup::init @ 0x10092d84e
// > ThreadViewPopup::init @ 0x10092dfd0
// > ThreadViewPopup::init @ 0x10092e2f4
// > sub_10093BDC0 @ 0x10093be4f
// > FriendPickerPopup::init @ 0x10093c9e8
// > sub_10093E4A0 @ 0x10093e6ee
// > NewThreadPopup::init @ 0x10094435b
// > NewThreadPopup::init @ 0x10094453d
// > NewThreadPopup::init @ 0x100944b16
// > NewThreadPopup::init @ 0x100944d3d
// > NewThreadPopup::init @ 0x100945167
// > InvitesPopup::init @ 0x10094c037
// > sub_10094F400 @ 0x10094f681
// > ThreadSearchPopup::init @ 0x100950afb
// > ThreadSearchPopup::init @ 0x100950e03
// > ThreadDescPopup::buildUI @ 0x100952591
// > ThreadDescPopup::buildUI @ 0x100952c2d
// > sub_1009543D0 @ 0x1009544d0
// > sub_1009543D0 @ 0x100954c20
// > NewsPopup::init @ 0x1009588b1
// > NewsPopup::rebuildPage @ 0x10095a10a
// > sub_10095C340 @ 0x10095c467
// > sub_10095C9F0 @ 0x10095caac
// > RateStarsModLayer::init @ 0x1009629a8
// > RateStarsModLayer::init @ 0x1009632b5
// > sub_100969480 @ 0x100969579
// > ScrollViewPopup::initPopup @ 0x10096ed0a
// > ScrollViewPopup::initPopup @ 0x10096ef6e
// > SelectFontLayer2::init @ 0x10097042d
// > SFXFolderPickerPopup::init @ 0x10097190d
// > SFXFolderPickerPopup::init @ 0x100971c80
// > SFXFolderPickerPopup::init @ 0x100971f90
// > SFXFolderPickerPopup::rebuildList @ 0x1009730d4
// > sub_100975720 @ 0x100975816
// > TimeSpeedControl::init @ 0x1009777a5
// > sub_10097D570 @ 0x10097d77d
// > DailyRecallUnlockPopup::init @ 0x10098a49d
// > NotificationsPage::init @ 0x10098b278
// > sub_10098EDF0 @ 0x10098ee87
// > sub_100993790 @ 0x100993dad
// > AccountReviewPopup::buildReportedRows @ 0x10099bf78
// > AccountReviewPopup::buildFilterRows @ 0x10099db02
// > sub_10099F240 @ 0x10099f326
// > sub_1009A0F70 @ 0x1009a0fc4
// > sub_1009A4C50 @ 0x1009a5196
//
// This function is hookable on this platform (idp: pc, 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 12:29:46 +0000
//
void *__fastcall cocos2d::extension::CCScale9Sprite::create_2(__int64 a1, unsigned __int64 *a2)
{
void *v2; // rbx
__m128 v4[3]; // [rsp+0h] [rbp-30h] BYREF
v2 = operator new(0x208u);
cocos2d::extension::CCScale9Sprite::CCScale9Sprite((__int64)v2);
sub_1002787F0(v4, a2);
if ( (*(unsigned __int8 (__fastcall **)(void *, __int64, __m128 *))(*(_QWORD *)v2 + 1128LL))(v2, a1, v4) )
{
cocos2d::CCObject::autorelease(v2);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return v2;
}