//
// ButtonSprite::create_1 from 0x10005f2d4 to 0x10005f38c (184 bytes)
//
// 215 xrefs:
// > SetupOpacityPopup::init @ 0x100022f50
// > SetupRandAdvTriggerPopup::init @ 0x10002e760
// > SetupRandAdvTriggerPopup::init @ 0x10002ebb8
// > SetupRandAdvTriggerPopup::updateGroupIDButtons @ 0x10002f2ec
// > SetGroupIDLayer::init @ 0x10003b458
// > SetGroupIDLayer::init @ 0x10003b984
// > SetGroupIDLayer::init @ 0x10003ba48
// > SetGroupIDLayer::init @ 0x10003bb0c
// > SetGroupIDLayer::init @ 0x10003bc7c
// > SetGroupIDLayer::init @ 0x10003c360
// > SetGroupIDLayer::init @ 0x10003c394
// > SetGroupIDLayer::init @ 0x10003c3c8
// > SetGroupIDLayer::init @ 0x10003c3fc
// > SetGroupIDLayer::init @ 0x10003c430
// > SetGroupIDLayer::updateGroupIDButtons @ 0x10003e288
// > SetupObjectOptionsPopup::init @ 0x10003f454
// > CustomizeObjectLayer::init @ 0x10004d8f4
// > CustomizeObjectLayer::init @ 0x10004d9d8
// > CustomizeObjectLayer::init @ 0x10004ddf8
// > CustomizeObjectLayer::init @ 0x10004de94
// > CustomizeObjectLayer::init @ 0x10004df28
// > CustomizeObjectLayer::init @ 0x10004dfbc
// > CustomizeObjectLayer::init @ 0x10004e154
// > CustomizeObjectLayer::init @ 0x10004e924
// > CustomizeObjectLayer::init @ 0x10004ee48
// > CustomizeObjectLayer::init @ 0x10004efd0
// > CustomizeObjectLayer::init @ 0x10004f0e0
// > CustomizeObjectLayer::init @ 0x10004f10c
// > CustomizeObjectLayer::init @ 0x10004f240
// > MoreSearchLayer::init @ 0x100055d08
// > MoreSearchLayer::init @ 0x100055ddc
// > sub_10005F294 @ 0x10005f2b8
// > sub_10005F2BC @ 0x10005f2d0
// > sub_10005F3A0 @ 0x10005f3a4
// > SetupAdvFollowPopup::init @ 0x1000607ac
// > SetupAdvFollowPopup::init @ 0x1000623c8
// > SelectPremadeLayer::init @ 0x100063530
// > SelectPremadeLayer::init @ 0x1000635f8
// > SetupSmartBlockLayer::init @ 0x10006f2dc
// > SetupSmartBlockLayer::init @ 0x10006f328
// > SetupSmartBlockLayer::init @ 0x10006f374
// > SetupSmartBlockLayer::init @ 0x10006f3b8
// > SetupSmartBlockLayer::init @ 0x10006f3fc
// > SetupSmartBlockLayer::init @ 0x10006f440
// > SetupSmartBlockLayer::init @ 0x10006f484
// > SetupSmartTemplateLayer::init @ 0x100070bcc
// > SetupSmartTemplateLayer::init @ 0x100070c7c
// > BrowseSmartKeyLayer::init @ 0x100072ff4
// > BrowseSmartKeyLayer::init @ 0x100073064
// > BrowseSmartKeyLayer::init @ 0x1000730d0
// > BrowseSmartKeyLayer::init @ 0x100073134
// > sub_100080758 @ 0x1000807bc
// > AccountLoginLayer::init @ 0x1000836dc
// > AccountLoginLayer::init @ 0x100083734
// > CollisionBlockPopup::init @ 0x100084e04
// > MoreOptionsLayer::init @ 0x1000ee180
// > VideoOptionsLayer::init @ 0x1000f0908
// > SetupCountTriggerPopup::init @ 0x1000f3c7c
// > ColorSelectLiveOverlay::init @ 0x1000f5bcc
// > ColorSelectLiveOverlay::init @ 0x1000f5c80
// > SetupSpawnPopup::init @ 0x1000f81f4
// > SetupSpawnPopup::updateRemapButtons @ 0x1000f8944
// > NumberInputLayer::init @ 0x1000f9208
// > CustomSongWidget::init @ 0x1000f9e88
// > MapPackCell::loadFromMapPack @ 0x1001030c0
// > LevelListCell::loadFromList @ 0x100103f10
// > SongCell::loadFromObject @ 0x1001053b0
// > ArtistCell::loadFromObject @ 0x1001057f4
// > URLCell::loadFromObject @ 0x100105b60
// > CommentCell::loadFromComment @ 0x100106c70
// > CommentCell::loadFromComment @ 0x100106dc0
// > GJUserCell::loadFromScore @ 0x100109c58
// > GJUserCell::loadFromScore @ 0x100109d00
// > GJRequestCell::loadFromScore @ 0x10010a454
// > GJRequestCell::loadFromScore @ 0x10010a524
// > GJMessageCell::loadFromMessage @ 0x10010a9c4
// > GJMessageCell::loadFromMessage @ 0x10010aa9c
// > SmartTemplateCell::loadFromObject @ 0x10010b328
// > SmartTemplateCell::loadFromObject @ 0x10010b390
// > LevelCell::loadLocalLevelCell @ 0x10010c434
// > LevelCell::loadCustomLevelCell @ 0x10010ce4c
// > LevelCell::loadCustomLevelCell @ 0x10010d200
// > CharacterColorPage::init @ 0x1001292d8
// > SetupTriggerPopup::addCloseButton @ 0x10012ef5c
// > CustomSongLayer::init @ 0x100144434
// > NewgroundsInfoLayer::init @ 0x100145f98
// > NewgroundsInfoLayer::init @ 0x100146004
// > NewgroundsInfoLayer::init @ 0x10014606c
// > NewgroundsInfoLayer::init @ 0x1001460d4
// > NCSInfoLayer::init @ 0x100146924
// > NCSInfoLayer::init @ 0x1001469e4
// > NCSInfoLayer::init @ 0x100146a50
// > NCSInfoLayer::init @ 0x100146ab4
// > SongSelectNode::init @ 0x100147300
// > SongSelectNode::init @ 0x1001473cc
// > SongSelectNode::init @ 0x1001474e8
// > SetupTimeWarpPopup::init @ 0x100147f6c
// > PurchaseItemPopup::init @ 0x10014e0ac
// > PurchaseItemPopup::init @ 0x10014e118
// > AccountLayer::customSetup @ 0x1001658f8
// > SelectSFXSortLayer::init @ 0x10016aeb4
// > LevelSettingsLayer::init @ 0x10017a108
// > LevelSettingsLayer::init @ 0x10017a1cc
// > LevelSettingsLayer::init @ 0x10017a644
// > LevelSettingsLayer::init @ 0x10017a718
// > SelectArtLayer::init @ 0x10017c8e0
// > SelectArtLayer::init @ 0x10017ca40
// > SelectArtLayer::init @ 0x10017cb18
// > SelectArtLayer::init @ 0x10017cbe8
// > SelectSettingLayer::init @ 0x10017d38c
// > SetupShaderEffectPopup::setupShaderTrigger @ 0x100189700
// > GJColorSetupLayer::init @ 0x10018e204
// > SupportLayer::customSetup @ 0x100191618
// > SupportLayer::customSetup @ 0x10019165c
// > SupportLayer::customSetup @ 0x1001916a0
// > SupportLayer::customSetup @ 0x1001916e4
// > SupportLayer::customSetup @ 0x100191728
// > SupportLayer::customSetup @ 0x100191918
// > SupportLayer::customSetup @ 0x100191a24
// > HSVLiveOverlay::init @ 0x10019fb94
// > HSVLiveOverlay::init @ 0x10019fc48
// > GJSpecialColorSelect::init @ 0x1001af340
// > GJRateLevelLayer::init @ 0x1001b1318
// > GJRateLevelLayer::init @ 0x1001b138c
// > GJRateLevelLayer::getStarsButton @ 0x1001b15f4
// > SetupInstantCountPopup::init @ 0x1001bbfa0
// > TutorialLayer::init @ 0x1001bd620
// > TutorialLayer::init @ 0x1001bd678
// > SetupRandTriggerPopup::init @ 0x1001c9db4
// > SetupSequenceTriggerPopup::init @ 0x1001d2648
// > SetupSequenceTriggerPopup::updateGroupIDButtons @ 0x1001d34c0
// > SetupCollisionTriggerPopup::init @ 0x10022f6e8
// > SetupCameraEdgePopup::init @ 0x100239f60
// > SetupCameraEdgePopup::init @ 0x10023a7f4
// > SelectListIconLayer::init @ 0x100247ce8
// > SetupTouchTogglePopup::init @ 0x10024b1b8
// > ShareLevelLayer::getStarsButton @ 0x100276078
// > SetupEndPopup::init @ 0x1002ad214
// > CreateParticlePopup::init @ 0x1002cab00
// > CreateParticlePopup::init @ 0x1002cab5c
// > CreateParticlePopup::init @ 0x1002caba0
// > CreateParticlePopup::init @ 0x1002cad44
// > CreateParticlePopup::init @ 0x1002cae50
// > CreateParticlePopup::init @ 0x1002cb0b4
// > CreateParticlePopup::init @ 0x1002cba0c
// > CreateParticlePopup::createParticleSlider @ 0x1002ce9e0
// > CreateParticlePopup::createParticleSlider @ 0x1002ceb0c
// > CreateParticlePopup::createParticleSlider @ 0x1002cec2c
// > SelectFontLayer::init @ 0x1002d1e68
// > EditTriggersPopup::init @ 0x1002d2644
// > GJAccountSettingsLayer::init @ 0x1002d6510
// > GJAccountSettingsLayer::init @ 0x1002d6578
// > FriendRequestPopup::loadFromGJFriendRequest @ 0x1002d97d8
// > FriendRequestPopup::loadFromGJFriendRequest @ 0x1002d9884
// > FriendRequestPopup::loadFromGJFriendRequest @ 0x1002d9908
// > GJMessagePopup::loadFromGJMessage @ 0x1002daea8
// > GJMessagePopup::loadFromGJMessage @ 0x1002daf54
// > GJMessagePopup::loadFromGJMessage @ 0x1002db000
// > GJWriteMessagePopup::init @ 0x1002dbfe8
// > GJWriteMessagePopup::init @ 0x1002dc054
// > SetIDPopup::init @ 0x1002ddf68
// > SetTextPopup::init @ 0x1002df9fc
// > UIOptionsLayer::init @ 0x1002e2854
// > UIOptionsLayer::init @ 0x1002e28fc
// > UISaveLoadLayer::init @ 0x1002e4910
// > UISaveLoadLayer::init @ 0x1002e49dc
// > UIPOptionsLayer::init @ 0x1002e5d7c
// > UIPOptionsLayer::init @ 0x1002e5e24
// > SetupGradientPopup::init @ 0x1003426b0
// > SetupGradientPopup::init @ 0x100343070
// > InfoLayer::init @ 0x100350550
// > InfoLayer::init @ 0x100350e50
// > EditorPauseLayer::customSetup @ 0x10039c1e0
// > EditorPauseLayer::customSetup @ 0x10039c234
// > EditorPauseLayer::customSetup @ 0x10039c290
// > EditorPauseLayer::customSetup @ 0x10039c2ec
// > EditorPauseLayer::customSetup @ 0x10039c348
// > EditorPauseLayer::customSetup @ 0x10039c5d8
// > EditorPauseLayer::customSetup @ 0x10039c6b4
// > EditorPauseLayer::customSetup @ 0x10039c76c
// > EditorPauseLayer::customSetup @ 0x10039c824
// > EditorPauseLayer::customSetup @ 0x10039c8dc
// > EditorPauseLayer::customSetup @ 0x10039c994
// > EditorPauseLayer::customSetup @ 0x10039ca4c
// > EditorPauseLayer::customSetup @ 0x10039cb04
// > EditorPauseLayer::customSetup @ 0x10039cbbc
// > EditorPauseLayer::customSetup @ 0x10039cc74
// > EditorPauseLayer::customSetup @ 0x10039cd2c
// > EditorPauseLayer::customSetup @ 0x10039cde4
// > EditorPauseLayer::customSetup @ 0x10039ce9c
// > EditorPauseLayer::customSetup @ 0x10039cf54
// > EditorPauseLayer::customSetup @ 0x10039d00c
// > EditorPauseLayer::customSetup @ 0x10039d0c4
// > SongInfoLayer::init @ 0x1003a7e98
// > SongInfoLayer::init @ 0x1003a8090
// > SongInfoLayer::init @ 0x1003a810c
// > SongInfoLayer::init @ 0x1003a8210
// > SongInfoLayer::init @ 0x1003a83a0
// > SetupShakePopup::init @ 0x1003a9220
// > SetupCameraModePopup::init @ 0x1003aa54c
// > SetupPulsePopup::init @ 0x1003b3490
// > SetupPulsePopup::init @ 0x1003b4020
// > SetupPulsePopup::init @ 0x1003b4090
// > SetupPulsePopup::init @ 0x1003b46a4
// > SetupPulsePopup::init @ 0x1003b4714
// > SetupPulsePopup::init @ 0x1003b4f04
// > SetupPulsePopup::init @ 0x1003b4f30
// > SetupAnimationPopup::init @ 0x1003c341c
// > EditorUI::setupDeleteMenu @ 0x1003c8330
// > EditorUI::setupDeleteMenu @ 0x1003c83f4
// > SetupRotateCommandPopup::init @ 0x1004065c0
// > ColorSelectPopup::init @ 0x10041c69c
// > ColorSelectPopup::init @ 0x10041cc1c
// > ColorSelectPopup::init @ 0x10041cc48
// > ColorSelectPopup::init @ 0x10041cc74
//
// 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)
{
ButtonSprite *v16; // x19
v16 = (ButtonSprite *)operator new(0x2B8u);
ButtonSprite::ButtonSprite(v16);
if ( ButtonSprite::init_1(v16, a1, a2, a3, a4, a5, a6, a7, a8) )
{
cocos2d::CCObject::autorelease(v16);
}
else
{
((void (__fastcall *)(ButtonSprite *))v16->~ButtonSprite_0)(v16);
return nullptr;
}
return v16;
}