//
// ButtonSprite::create_1 from 0x100092ab0 to 0x100092bc1 (273 bytes)
//
// 247 xrefs:
// > SetupRotateCommandPopup::init @ 0x100005d67
// > EditorUI::setupDeleteMenu @ 0x10000d508
// > EditorUI::setupDeleteMenu @ 0x10000d5ee
// > SetupOpacityPopup::init @ 0x100057196
// > sub_100092A30 @ 0x100092a54
// > sub_100092A60 @ 0x100092a76
// > sub_100092A80 @ 0x100092a9c
// > sub_100092BF0 @ 0x100092bf8
// > AccountLayer::customSetup @ 0x1000cbfd7
// > CustomizeObjectLayer::init @ 0x1001f5537
// > CustomizeObjectLayer::init @ 0x1001f5632
// > CustomizeObjectLayer::init @ 0x1001f5a62
// > CustomizeObjectLayer::init @ 0x1001f5b02
// > CustomizeObjectLayer::init @ 0x1001f5b9e
// > CustomizeObjectLayer::init @ 0x1001f5c33
// > CustomizeObjectLayer::init @ 0x1001f5df3
// > CustomizeObjectLayer::init @ 0x1001f66b2
// > CustomizeObjectLayer::init @ 0x1001f6d3b
// > CustomizeObjectLayer::init @ 0x1001f6ec0
// > CustomizeObjectLayer::init @ 0x1001f6ff3
// > CustomizeObjectLayer::init @ 0x1001f7024
// > CustomizeObjectLayer::init @ 0x1001f7168
// > GJColorSetupLayer::init @ 0x10020bb61
// > CustomSongLayer::init @ 0x100215721
// > NewgroundsInfoLayer::init @ 0x100217a10
// > NewgroundsInfoLayer::init @ 0x100217a80
// > NewgroundsInfoLayer::init @ 0x100217aec
// > NewgroundsInfoLayer::init @ 0x100217b58
// > NCSInfoLayer::init @ 0x100218443
// > NCSInfoLayer::init @ 0x10021850c
// > NCSInfoLayer::init @ 0x10021857f
// > NCSInfoLayer::init @ 0x1002185eb
// > SongSelectNode::init @ 0x100218fa6
// > SongSelectNode::init @ 0x100219081
// > SongSelectNode::init @ 0x1002191aa
// > SetupTriggerPopup::addCloseButton @ 0x100235ef4
// > MapPackCell::loadFromMapPack @ 0x100244c09
// > LevelListCell::loadFromList @ 0x100245b1b
// > SongCell::loadFromObject @ 0x100246f39
// > ArtistCell::loadFromObject @ 0x100247349
// > URLCell::loadFromObject @ 0x1002476ad
// > CommentCell::loadFromComment @ 0x100248a2c
// > CommentCell::loadFromComment @ 0x100248bb2
// > GJUserCell::loadFromScore @ 0x10024be10
// > GJUserCell::loadFromScore @ 0x10024be4f
// > GJRequestCell::loadFromScore @ 0x10024c5fa
// > GJRequestCell::loadFromScore @ 0x10024c6db
// > GJMessageCell::loadFromMessage @ 0x10024cbb4
// > GJMessageCell::loadFromMessage @ 0x10024cc90
// > SmartTemplateCell::loadFromObject @ 0x10024d56b
// > SmartTemplateCell::loadFromObject @ 0x10024d5d2
// > LevelCell::loadLocalLevelCell @ 0x10024eee6
// > LevelCell::loadCustomLevelCell @ 0x10024f9a2
// > LevelCell::loadCustomLevelCell @ 0x10024fde5
// > HSVLiveOverlay::init @ 0x10026ab1b
// > HSVLiveOverlay::init @ 0x10026abc0
// > LevelSettingsLayer::init @ 0x10026c60a
// > LevelSettingsLayer::init @ 0x10026c6db
// > LevelSettingsLayer::init @ 0x10026ccaa
// > LevelSettingsLayer::init @ 0x10026cd95
// > SelectArtLayer::init @ 0x10026ff29
// > SelectArtLayer::init @ 0x100270113
// > SelectArtLayer::init @ 0x1002701fe
// > SelectArtLayer::init @ 0x1002702e9
// > SelectSettingLayer::init @ 0x100270e06
// > ShareLevelLayer::setupStars @ 0x100280f59
// > ShareLevelLayer::getStarsButton @ 0x100281473
// > CollisionBlockPopup::init @ 0x100285f44
// > RateStarsLayer::init @ 0x10028bb84
// > RateStarsLayer::init @ 0x10028bc4e
// > RateStarsLayer::init @ 0x10028bd18
// > RateStarsLayer::init @ 0x10028bde2
// > RateStarsLayer::init @ 0x10028beac
// > RateStarsLayer::init @ 0x10028bf8d
// > RateStarsLayer::getStarsButton @ 0x10028c3c3
// > SetupSpawnPopup::init @ 0x10028fe02
// > SetupSpawnPopup::updateRemapButtons @ 0x10029078e
// > EditorPauseLayer::customSetup @ 0x100291a77
// > EditorPauseLayer::customSetup @ 0x100291acb
// > EditorPauseLayer::customSetup @ 0x100291b27
// > EditorPauseLayer::customSetup @ 0x100291b82
// > EditorPauseLayer::customSetup @ 0x100291be4
// > EditorPauseLayer::customSetup @ 0x100291ec9
// > EditorPauseLayer::customSetup @ 0x100291fa4
// > EditorPauseLayer::customSetup @ 0x10029205f
// > EditorPauseLayer::customSetup @ 0x10029211f
// > EditorPauseLayer::customSetup @ 0x1002921e6
// > EditorPauseLayer::customSetup @ 0x1002922a6
// > EditorPauseLayer::customSetup @ 0x100292365
// > EditorPauseLayer::customSetup @ 0x100292427
// > EditorPauseLayer::customSetup @ 0x1002924f0
// > EditorPauseLayer::customSetup @ 0x1002925b0
// > EditorPauseLayer::customSetup @ 0x10029266c
// > EditorPauseLayer::customSetup @ 0x100292727
// > EditorPauseLayer::customSetup @ 0x1002927e4
// > EditorPauseLayer::customSetup @ 0x1002928a3
// > EditorPauseLayer::customSetup @ 0x100292961
// > EditorPauseLayer::customSetup @ 0x100292a1c
// > EditorPauseLayer::customSetup @ 0x100293548
// > SelectFontLayer::init @ 0x10029a117
// > EditTriggersPopup::init @ 0x10029ab3c
// > GJAccountSettingsLayer::init @ 0x1002a0d9f
// > GJAccountSettingsLayer::init @ 0x1002a0e0e
// > FriendRequestPopup::loadFromGJFriendRequest @ 0x1002a5bd1
// > FriendRequestPopup::loadFromGJFriendRequest @ 0x1002a5c8e
// > FriendRequestPopup::loadFromGJFriendRequest @ 0x1002a5d17
// > GJMessagePopup::loadFromGJMessage @ 0x1002a7a30
// > GJMessagePopup::loadFromGJMessage @ 0x1002a7aeb
// > GJMessagePopup::loadFromGJMessage @ 0x1002a7ba6
// > GJWriteMessagePopup::init @ 0x1002a90de
// > GJWriteMessagePopup::init @ 0x1002a914c
// > SetIDPopup::init @ 0x1002abd59
// > SetTextPopup::init @ 0x1002aed98
// > UIOptionsLayer::init @ 0x1002b270a
// > UIOptionsLayer::init @ 0x1002b27c2
// > UISaveLoadLayer::init @ 0x1002b5346
// > UISaveLoadLayer::init @ 0x1002b541f
// > UISaveLoadLayer::init @ 0x1002b54f8
// > UISaveLoadLayer::init @ 0x1002b55cc
// > UISaveLoadLayer::init @ 0x1002b56a5
// > UISaveLoadLayer::init @ 0x1002b577e
// > UIPOptionsLayer::init @ 0x1002b71cd
// > UIPOptionsLayer::init @ 0x1002b7284
// > SetupTouchTogglePopup::init @ 0x1002b87e6
// > SetupCountTriggerPopup::init @ 0x1002bb663
// > SetupShaderEffectPopup::setupShaderTrigger @ 0x1002cfc52
// > SetupAdvFollowPopup::init @ 0x1003061cf
// > SetupAdvFollowPopup::init @ 0x10030631f
// > SetupAdvFollowPopup::init @ 0x100306470
// > SetupAdvFollowPopup::init @ 0x100308c03
// > SelectPremadeLayer::init @ 0x10030a19c
// > SelectPremadeLayer::init @ 0x10030a273
// > SelectPremadeLayer::init @ 0x10030a32d
// > SetGroupIDLayer::init @ 0x100312ae6
// > SetGroupIDLayer::init @ 0x1003130d1
// > SetGroupIDLayer::init @ 0x1003131b7
// > SetGroupIDLayer::init @ 0x100313292
// > SetGroupIDLayer::init @ 0x1003133f4
// > SetGroupIDLayer::init @ 0x100313d69
// > SetGroupIDLayer::init @ 0x100313da2
// > SetGroupIDLayer::init @ 0x100313ddc
// > SetGroupIDLayer::init @ 0x100313e15
// > SetGroupIDLayer::init @ 0x100313e4e
// > SetGroupIDLayer::updateGroupIDButtons @ 0x100316614
// > SetupObjectOptionsPopup::init @ 0x100318283
// > PurchaseItemPopup::init @ 0x100328051
// > PurchaseItemPopup::init @ 0x1003280cb
// > SelectListIconLayer::init @ 0x10036178c
// > SetupRandAdvTriggerPopup::init @ 0x10038ddbc
// > SetupRandAdvTriggerPopup::init @ 0x10038e342
// > SetupRandAdvTriggerPopup::updateGroupIDButtons @ 0x10038ef10
// > SetupCollisionTriggerPopup::init @ 0x100395543
// > SupportLayer::customSetup @ 0x1003989cf
// > SupportLayer::customSetup @ 0x100398a1e
// > SupportLayer::customSetup @ 0x100398a67
// > SupportLayer::customSetup @ 0x100398ab3
// > SupportLayer::customSetup @ 0x100398b03
// > SupportLayer::customSetup @ 0x100398d30
// > SupportLayer::customSetup @ 0x100398e4d
// > SetupPulsePopup::init @ 0x1003aa44a
// > SetupPulsePopup::init @ 0x1003ab1be
// > SetupPulsePopup::init @ 0x1003ab23c
// > SetupPulsePopup::init @ 0x1003ab8c2
// > SetupPulsePopup::init @ 0x1003ab933
// > SetupPulsePopup::init @ 0x1003ac3be
// > SetupPulsePopup::init @ 0x1003ac3ef
// > SetupAnimationPopup::init @ 0x1003d4894
// > SetupGravityModPopup::init @ 0x1003d84fa
// > SelectSFXSortLayer::init @ 0x100441527
// > CreateParticlePopup::init @ 0x10046f0f7
// > CreateParticlePopup::init @ 0x10046f153
// > CreateParticlePopup::init @ 0x10046f198
// > CreateParticlePopup::init @ 0x10046f331
// > CreateParticlePopup::init @ 0x10046f431
// > CreateParticlePopup::init @ 0x10046f538
// > CreateParticlePopup::init @ 0x10046f625
// > CreateParticlePopup::init @ 0x10046f83c
// > CreateParticlePopup::init @ 0x10046f948
// > CreateParticlePopup::init @ 0x10046fa59
// > CreateParticlePopup::init @ 0x10046fb6a
// > CreateParticlePopup::init @ 0x1004707c1
// > CreateParticlePopup::createParticleSlider @ 0x1004740e6
// > CreateParticlePopup::createParticleSlider @ 0x100474213
// > CreateParticlePopup::createParticleSlider @ 0x10047433b
// > NumberInputLayer::init @ 0x1004926c3
// > NumberInputLayer::init @ 0x100492798
// > NumberInputLayer::init @ 0x100492868
// > NumberInputLayer::init @ 0x10049293c
// > NumberInputLayer::init @ 0x100492a1e
// > NumberInputLayer::init @ 0x100492ae7
// > NumberInputLayer::init @ 0x100492c83
// > AccountLoginLayer::init @ 0x10049987b
// > AccountLoginLayer::init @ 0x1004998d6
// > SetupCameraModePopup::init @ 0x1004a8ef7
// > TutorialLayer::init @ 0x1004dc9ea
// > TutorialLayer::init @ 0x1004dca46
// > SetupSequenceTriggerPopup::init @ 0x1004dda06
// > SetupSequenceTriggerPopup::updateGroupIDButtons @ 0x1004deb4d
// > SetupSmartBlockLayer::init @ 0x1004e5f66
// > SetupSmartBlockLayer::init @ 0x1004e5fb6
// > SetupSmartBlockLayer::init @ 0x1004e6009
// > SetupSmartBlockLayer::init @ 0x1004e6055
// > SetupSmartBlockLayer::init @ 0x1004e60a4
// > SetupSmartBlockLayer::init @ 0x1004e60ec
// > SetupSmartBlockLayer::init @ 0x1004e6134
// > SetupSmartTemplateLayer::init @ 0x1004e8237
// > SetupSmartTemplateLayer::init @ 0x1004e82ef
// > BrowseSmartKeyLayer::init @ 0x1004eb34b
// > BrowseSmartKeyLayer::init @ 0x1004eb3c2
// > BrowseSmartKeyLayer::init @ 0x1004eb432
// > BrowseSmartKeyLayer::init @ 0x1004eb49a
// > SetupTimeWarpPopup::init @ 0x100502ebc
// > GJRateLevelLayer::init @ 0x100505d9a
// > GJRateLevelLayer::init @ 0x1005061f8
// > GJRateLevelLayer::init @ 0x10050626d
// > GJRateLevelLayer::getStarsButton @ 0x1005064f3
// > ColorSelectLiveOverlay::init @ 0x1005695b6
// > ColorSelectLiveOverlay::init @ 0x10056965b
// > SetupCameraEdgePopup::init @ 0x1005881d6
// > SetupCameraEdgePopup::init @ 0x100588c3f
// > SetupRandTriggerPopup::init @ 0x1005e5496
// > SetupInstantCountPopup::init @ 0x1005e8d73
// > SetupGradientPopup::init @ 0x1005f19a0
// > SetupGradientPopup::init @ 0x1005f2944
// > SongInfoLayer::init @ 0x100600f85
// > SongInfoLayer::init @ 0x100601232
// > SongInfoLayer::init @ 0x100601407
// > SongInfoLayer::init @ 0x100601498
// > SongInfoLayer::init @ 0x100601602
// > CustomSongWidget::init @ 0x10061ae87
// > GJSpecialColorSelect::init @ 0x100626854
// > MoreSearchLayer::init @ 0x10062da50
// > MoreSearchLayer::init @ 0x10062db40
// > CharacterColorPage::init @ 0x10065d16a
// > CharacterColorPage::init @ 0x10065d2b2
// > CharacterColorPage::init @ 0x10065d405
// > SetupShakePopup::init @ 0x100664357
// > SetupEndPopup::init @ 0x100668c89
// > ColorSelectPopup::init @ 0x100725092
// > ColorSelectPopup::init @ 0x100725708
// > ColorSelectPopup::init @ 0x100725739
// > ColorSelectPopup::init @ 0x10072576a
// > MoreOptionsLayer::init @ 0x10079c285
// > MoreOptionsLayer::init @ 0x10079ca67
// > VideoOptionsLayer::init @ 0x10079fe08
// > InfoLayer::init @ 0x1007af0bc
// > InfoLayer::init @ 0x1007afd5a
//
// 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
//
ButtonSprite *__fastcall ButtonSprite::create_1(
const char *a1,
int a2,
int a3,
float a4,
bool a5,
const char *a6,
const char *a7,
float a8)
{
char *v10; // rbx
v10 = (char *)operator new(0x2B8u);
cocos2d::CCSprite::CCSprite(v10);
*(_QWORD *)v10 = off_1008B3DC0;
*((_QWORD *)v10 + 40) = off_1008B4298;
*((_QWORD *)v10 + 43) = off_1008B4318;
*(_OWORD *)(v10 + 596) = 0;
*(_QWORD *)(v10 + 609) = 0;
*((_OWORD *)v10 + 39) = 0;
*((_OWORD *)v10 + 40) = 0;
sub_10028CC30(v10 + 656);
sub_10028CC30(v10 + 664);
*((_OWORD *)v10 + 42) = 0;
*((_QWORD *)v10 + 86) = 0;
if ( ButtonSprite::init_1((ButtonSprite *)v10, a1, a2, a3, a4, a5, a6, a7, a8) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v10);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v10 + 16LL))(v10);
return nullptr;
}
return (ButtonSprite *)v10;
}