//
// ButtonSprite::create from 0x68c3a4 to 0x68c510 (364 bytes)
//
// 305 xrefs:
// > ButtonSprite::create @ 0x68c524
// > ButtonSprite::create @ 0x68c550
// > SongCell::loadFromObject @ 0x737d64
// > URLCell::loadFromObject @ 0x73af00
// > LevelCell::loadLocalLevelCell @ 0x73cc58
// > MapPackCell::loadFromMapPack @ 0x73d56c
// > GJMessageCell::loadFromMessage @ 0x73f5f0
// > GJMessageCell::loadFromMessage @ 0x73f6b8
// > SmartTemplateCell::loadFromObject @ 0x73ff84
// > SmartTemplateCell::loadFromObject @ 0x73ffe4
// > LevelListCell::loadFromList @ 0x740500
// > ArtistCell::loadFromObject @ 0x741b5c
// > LevelCell::loadCustomLevelCell @ 0x745a1c
// > LevelCell::loadCustomLevelCell @ 0x747fb8
// > GJNotificationCell::loadFromNotification @ 0x74aa6c
// > CommentCell::loadFromComment @ 0x74c2cc
// > CommentCell::loadFromComment @ 0x74c5c0
// > CreateStartPosPopup::init @ 0x7d75a0
// > CreateStartPosPopup::init @ 0x7d7608
// > MoreSearchLayer::init @ 0x7e1478
// > MoreSearchLayer::init @ 0x7e1560
// > ShareLevelLayer::getStarsButton @ 0x7f26cc
// > ColorSelectPopup::init @ 0x863fe8
// > ColorSelectPopup::init @ 0x8644b0
// > ColorSelectPopup::init @ 0x8644dc
// > ColorSelectPopup::init @ 0x864508
// > CustomSongWidget::init @ 0x86b448
// > EditorPauseLayer::customSetup @ 0x8b56a0
// > EditorPauseLayer::customSetup @ 0x8b56f4
// > EditorPauseLayer::customSetup @ 0x8b5750
// > EditorPauseLayer::customSetup @ 0x8b57ac
// > EditorPauseLayer::customSetup @ 0x8b5808
// > VideoOptionsLayer::init @ 0x8f5738
// > MoreOptionsLayer::init @ 0x8f83f0
// > TutorialLayer::init @ 0x900c0c
// > TutorialLayer::init @ 0x900c68
// > SupportLayer::customSetup @ 0x902748
// > SupportLayer::customSetup @ 0x90278c
// > SupportLayer::customSetup @ 0x9027d0
// > SupportLayer::customSetup @ 0x902814
// > SupportLayer::customSetup @ 0x902858
// > SupportLayer::customSetup @ 0x902a5c
// > SupportLayer::customSetup @ 0x902f28
// > SongInfoLayer::addLinkRows @ 0x903950
// > InfoLayer::init @ 0x90b970
// > InfoLayer::init @ 0x90c944
// > GJRateLevelLayer::getStarsButton @ 0x951e38
// > GJRateEditorSoundLayer::init @ 0x953e58
// > GJRateEditorSoundLayer::init @ 0x953ed8
// > GJRateLevelListLayer::init @ 0x955d10
// > GJRateLevelListLayer::init @ 0x955d90
// > NumberInputLayer::init @ 0x956ce8
// > NumberInputLayer::init @ 0x956dac
// > RateStarsLayer::getStarsButton @ 0x957820
// > NewgroundsInfoLayer::init @ 0x97ecb8
// > NewgroundsInfoLayer::init @ 0x97ed28
// > NewgroundsInfoLayer::init @ 0x97ed94
// > NewgroundsInfoLayer::init @ 0x97ee00
// > SongSelectNode::init @ 0x980078
// > SongSelectNode::init @ 0x980148
// > SongSelectNode::init @ 0x980228
// > CustomSongLayer::init @ 0x981100
// > NCSInfoLayer::init @ 0x9824b0
// > NCSInfoLayer::init @ 0x982570
// > NCSInfoLayer::init @ 0x9825d8
// > NCSInfoLayer::init @ 0x982640
// > CustomizeObjectLayer::init @ 0x985308
// > CustomizeObjectLayer::init @ 0x9853e4
// > CustomizeObjectLayer::init @ 0x9857f4
// > CustomizeObjectLayer::init @ 0x985898
// > CustomizeObjectLayer::init @ 0x98593c
// > CustomizeObjectLayer::init @ 0x9859dc
// > CustomizeObjectLayer::init @ 0x985b88
// > CustomizeObjectLayer::init @ 0x986348
// > CustomizeObjectLayer::init @ 0x986438
// > CustomizeObjectLayer::init @ 0x986464
// > CustomizeObjectLayer::init @ 0x986530
// > CustomizeObjectLayer::init @ 0x986660
// > CustomizeObjectLayer::init @ 0x986bac
// > AccountLayer::customSetup @ 0x98de88
// > AccountLoginLayer::init @ 0x991cd8
// > AccountLoginLayer::init @ 0x991d34
// > KeybindingsLayer::buildContentForTab @ 0x9961fc
// > KeybindingsLayer::buildContentForTab @ 0x996928
// > GJColorSetupLayer::init @ 0x9f7c3c
// > SelectFontLayer::init @ 0xa21f84
// > EditTriggersPopup::init @ 0xa22644
// > UIPOptionsLayer::init @ 0xa25d08
// > UIPOptionsLayer::init @ 0xa25db8
// > UISaveLoadLayer::init @ 0xa275dc
// > UISaveLoadLayer::init @ 0xa276bc
// > SetIDPopup::init @ 0xa29d44
// > FriendRequestPopup::loadFromGJFriendRequest @ 0xa2bd28
// > FriendRequestPopup::loadFromGJFriendRequest @ 0xa2bde0
// > FriendRequestPopup::loadFromGJFriendRequest @ 0xa2be64
// > FriendRequestPopup::loadFromGJFriendRequest @ 0xa2bf84
// > UIOptionsLayer::init @ 0xa2cf10
// > UIOptionsLayer::init @ 0xa2cfb8
// > SetTextPopup::init @ 0xa2fc54
// > GJWriteMessagePopup::init @ 0xa32428
// > GJWriteMessagePopup::init @ 0xa32494
// > GJMessagePopup::loadFromGJMessage @ 0xa3340c
// > GJMessagePopup::loadFromGJMessage @ 0xa33478
// > GJMessagePopup::loadFromGJMessage @ 0xa334f0
// > SocialLinksPopup::init @ 0xa36dc0
// > GJAccountSettingsLayer::init @ 0xa38888
// > GJAccountSettingsLayer::init @ 0xa38954
// > GJAccountSettingsLayer::init @ 0xa389c0
// > GJSpecialColorSelect::init @ 0xa40180
// > SetupOpacityPopup::init @ 0xa413cc
// > SetupSpawnPopup::updateRemapButtons @ 0xa43354
// > SetupSpawnPopup::init @ 0xa43ef0
// > SetupPulsePopup::init @ 0xa476d4
// > SetupPulsePopup::init @ 0xa47744
// > SetupPulsePopup::init @ 0xa47b70
// > SetupPulsePopup::init @ 0xa47be0
// > SetupPulsePopup::init @ 0xa4842c
// > SetupPulsePopup::init @ 0xa48458
// > FriendsProfilePage::init @ 0xa50c58
// > ColorSelectLiveOverlay::init @ 0xa66520
// > ColorSelectLiveOverlay::init @ 0xa665d0
// > SetupRotateCommandPopup::init @ 0xa7bc2c
// > PurchaseItemPopup::init @ 0xa80ecc
// > PurchaseItemPopup::init @ 0xa80f38
// > SetupAnimationPopup::init @ 0xa99890
// > SetupShakePopup::init @ 0xaa1d20
// > SetupTouchTogglePopup::init @ 0xaa2f38
// > SetupRandTriggerPopup::init @ 0xab3704
// > SetupEndPopup::init @ 0xab48a8
// > SetGroupIDLayer::updateGroupIDButtons @ 0xaba87c
// > SetupObjectOptionsPopup::init @ 0xabc960
// > SetGroupIDLayer::init @ 0xabf304
// > SetGroupIDLayer::init @ 0xabf890
// > SetGroupIDLayer::init @ 0xabf960
// > SetGroupIDLayer::init @ 0xabfbbc
// > SetGroupIDLayer::init @ 0xac0650
// > SetGroupIDLayer::init @ 0xac0680
// > SetGroupIDLayer::init @ 0xac06b0
// > SetGroupIDLayer::init @ 0xac06e0
// > SetGroupIDLayer::init @ 0xac0710
// > SetupTimeWarpPopup::init @ 0xaeb77c
// > SetupRandAdvTriggerPopup::updateGroupIDButtons @ 0xaefaa4
// > SetupRandAdvTriggerPopup::init @ 0xaf0300
// > SetupRandAdvTriggerPopup::init @ 0xaf0804
// > SetupGravityModPopup::init @ 0xafb864
// > CreateParticlePopup::createParticleSlider @ 0xb00598
// > CreateParticlePopup::createParticleSlider @ 0xb006c0
// > CreateParticlePopup::createParticleSlider @ 0xb007e0
// > CreateParticlePopup::init @ 0xb01930
// > CreateParticlePopup::init @ 0xb01994
// > CreateParticlePopup::init @ 0xb019dc
// > CreateParticlePopup::init @ 0xb01b68
// > CreateParticlePopup::init @ 0xb01f30
// > CreateParticlePopup::init @ 0xb02190
// > CreateParticlePopup::init @ 0xb02bc0
// > SetupSmartBlockLayer::init @ 0xb15028
// > SetupSmartBlockLayer::init @ 0xb15070
// > SetupSmartBlockLayer::init @ 0xb150b4
// > SetupSmartBlockLayer::init @ 0xb150f8
// > SetupSmartBlockLayer::init @ 0xb1513c
// > SetupSmartBlockLayer::init @ 0xb15180
// > SetupSmartBlockLayer::init @ 0xb151c4
// > SetupSmartTemplateLayer::init @ 0xb16f48
// > SetupSmartTemplateLayer::init @ 0xb17000
// > BrowseSmartKeyLayer::init @ 0xb18314
// > BrowseSmartKeyLayer::init @ 0xb18380
// > BrowseSmartKeyLayer::init @ 0xb183e8
// > BrowseSmartKeyLayer::init @ 0xb18450
// > SetupTriggerPopup::addCloseButton @ 0xb1b80c
// > SetupCameraEdgePopup::init @ 0xb2573c
// > SetupCameraEdgePopup::init @ 0xb25d40
// > SetupGradientPopup::init @ 0xb30c58
// > SetupGradientPopup::init @ 0xb315d8
// > SetupShaderEffectPopup::setupShaderTrigger @ 0xb3a5b0
// > SetupCameraModePopup::init @ 0xb46344
// > SetupAdvFollowPopup::init @ 0xb49630
// > SetupAdvFollowPopup::init @ 0xb49c6c
// > SelectPremadeLayer::init @ 0xb4ca54
// > SelectPremadeLayer::init @ 0xb4cb14
// > HSVLiveOverlay::init @ 0xb50b98
// > HSVLiveOverlay::init @ 0xb50c4c
// > CharacterColorPage::init @ 0xb528d4
// > SelectArtLayer::init @ 0xb62ff0
// > SelectArtLayer::init @ 0xb631f0
// > SelectArtLayer::init @ 0xb632dc
// > SelectArtLayer::init @ 0xb633c8
// > SelectSettingLayer::init @ 0xb64a24
// > LevelSettingsLayer::init @ 0xb65a48
// > LevelSettingsLayer::init @ 0xb6741c
// > LevelSettingsLayer::init @ 0xb674ec
// > LevelSettingsLayer::init @ 0xb6796c
// > StartPosLayer::init @ 0xb68010
// > SetupSequenceTriggerPopup::updateGroupIDButtons @ 0xb821ec
// > SetupSequenceTriggerPopup::init @ 0xb826e4
// > OptionsScrollLayer::addTagMatchToggle @ 0xb843fc
// > SelectSFXSortLayer::init @ 0xb90bac
// > sub_B947C8 @ 0xb95d30
// > SelectListIconLayer::init @ 0xba9e10
// > AutoSaveSettingsLayer::init @ 0xbca250
// > EditorUI::setupDeleteMenu @ 0xbdef98
// > EditorUI::setupDeleteMenu @ 0xbdf064
// > GameSettingsLayer::addSpecialContent @ 0xc05e4c
// > TabbedPopupLayer::createTabButtons @ 0xc38354
// > SFXFolderPickerPopup::init @ 0xc3ccc8
// > SFXFolderPickerPopup::init @ 0xc3cd78
// > SFXFolderPickerPopup::init @ 0xc3d1cc
// > AdminActionConfirmPopup::init @ 0xc3e370
// > AdminActionConfirmPopup::init @ 0xc3e434
// > ReviewChoiceSheet::init @ 0xc41908
// > AccountReviewPopup::init @ 0xc44e34
// > AccountReviewPopup::init @ 0xc45068
// > AccountReviewPopup::init @ 0xc45200
// > AccountReviewPopup::init @ 0xc452cc
// > AccountReviewPopup::init @ 0xc453a4
// > AccountReviewPopup::init @ 0xc45474
// > ReportQueuePopup::init @ 0xc5003c
// > ReportQueuePopup::buildRows @ 0xc50c64
// > AutoBackupOptionsPopup::init @ 0xc56c84
// > AutoBackupOptionsPopup::init @ 0xc56d20
// > AutoBackupOptionsPopup::init @ 0xc56db8
// > AutoBackupPopup::buildRows @ 0xc57f70
// > MemberListPopup::refreshPolicyBtn @ 0xc67354
// > FriendPickerPopup::init @ 0xc697d8
// > FriendPickerPopup::init @ 0xc69898
// > LevelPickerPopup::init @ 0xc6a334
// > LevelPickerPopup::init @ 0xc6a520
// > MemberListPopup::init @ 0xc6ae88
// > InvitesPopup::init @ 0xc6c6b4
// > RenameThreadPopup::init @ 0xc6f27c
// > ThreadSearchPopup::init @ 0xc6fbf4
// > ThreadSearchPopup::init @ 0xc70034
// > MessageThreadsPage::init @ 0xc755fc
// > MessageThreadsPage::init @ 0xc75848
// > ThreadMessageOptionsPopup::init @ 0xc7953c
// > ThreadDescPopup::buildUI @ 0xc7a0e0
// > NewThreadPopup::init @ 0xc7e364
// > ThreadOptionsPopup::init @ 0xc7f4f4
// > ThreadRequestPopup::init @ 0xc8060c
// > ThreadRequestPopup::init @ 0xc806a0
// > InvitesPopup::buildRows @ 0xc82118
// > InvitesPopup::buildRows @ 0xc8277c
// > ThreadViewPopup::init @ 0xc8780c
// > ThreadViewPopup::threadSearchFinished @ 0xc892c0
// > ThreadViewPopup::mountVirtualRow @ 0xc8b1d8
// > ThreadViewPopup::mountVirtualRow @ 0xc8bba0
// > ThreadViewPopup::mountVirtualRow @ 0xc8bc3c
// > ClearPlatformerSavesPopup::init @ 0xc8fecc
// > AccountBanPopup::init @ 0xc93f04
// > AccountBanPopup::init @ 0xc93fe4
// > AccountBanPopup::init @ 0xc94408
// > AccountBanPopup::init @ 0xc944e8
// > AccountBanPopup::init @ 0xc94910
// > AccountBanPopup::init @ 0xc949ec
// > AccountBanPopup::init @ 0xc94e10
// > AccountBanPopup::init @ 0xc94eec
// > AccountBanPopup::init @ 0xc95278
// > AccountBanPopup::init @ 0xc95350
// > AccountBanPopup::init @ 0xc956d0
// > AccountBanPopup::init @ 0xc957a8
// > CreatorSettingsPopup::init @ 0xc970cc
// > CreatorSettingsPopup::init @ 0xc9723c
// > CreatorSettingsPopup::init @ 0xc972e4
// > CreatorSettingsPopup::init @ 0xc97398
// > DeathMarkerSettingsPopup::init @ 0xca6e74
// > DeathTrackerOptionsPopup::init @ 0xca8ffc
// > EditorCommandsPopup::addCommandButton @ 0xcbc5e0
// > FindObjectPopup::onBuildWindowContent @ 0xcbd520
// > EditorSFXActionConfigLayer::init @ 0xcbee0c
// > EditorSoundConfigCell::loadFromConfig @ 0xccb5ec
// > EditorSoundConfigCell::loadFromConfig @ 0xccbff4
// > SoundPackDescPopup::init @ 0xccffec
// > EditorSoundConfigInfoLayer::init @ 0xcd1820
// > EditorSoundConfigUploadPopup::init @ 0xcd4fdc
// > EditorSoundConfigUploadPopup::init @ 0xcd50d4
// > EditorSoundConfigUploadPopup::init @ 0xcd5170
// > EditorSoundConfigUploadPopup::init @ 0xcd53a0
// > EditorSoundsLayer::buildContentForTab @ 0xcd655c
// > EditorSoundsLayer::init @ 0xcd70ec
// > EditorSoundsSettingsPopup::init @ 0xcd7fe4
// > EditorSoundsSettingsPopup::init @ 0xcd8068
// > IDNameBrowserPopup::init @ 0xce2c34
// > IDNameBrowserPopup::init @ 0xce356c
// > KeybindingsSettingsPopup::init @ 0xcf0370
// > KeybindCapturePopup::init @ 0xcf7644
// > KeybindCapturePopup::init @ 0xcf7674
// > KeybindCapturePopup::init @ 0xcf774c
// > KeybindCapturePopup::init @ 0xcf77f0
// > PlatformerControlsPopup::init @ 0xcfb09c
// > PlatformerControlsPopup::init @ 0xcfb0fc
// > PlatformerControlsPopup::init @ 0xcfb15c
// > PlatformerControlsPopup::init @ 0xcfb1f8
// > PlatformerControlsPopup::init @ 0xcfb42c
// > RateStarsModLayer::getStarsButton @ 0xcfcaec
// > CommentOptionsPopup::init @ 0xcfffac
// > ReportPopup::init @ 0xd00de0
// > TouchControlEditLayer::buildHud @ 0xd054e8
// > TouchControlEditLayer::buildHud @ 0xd05590
// > TouchControlEditLayer::buildHud @ 0xd0590c
// > TouchControlEditLayer::buildHud @ 0xd059cc
// > TouchControlEditLayer::buildHud @ 0xd05a80
// > TouchControlEditLayer::buildHud @ 0xd05b98
// > ControlSlotsPopup::init @ 0xd05ea8
// > ControlSlotsPopup::init @ 0xd05f88
// > VirtualKeyboardNode::buildKeys @ 0xd09360
// > ??> @ 0xd3078
//
// 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 12:50:33 +0000
//
__int64 __fastcall ButtonSprite::create(
ButtonSprite *this,
const char *a2,
int a3,
char a4,
float a5,
char *a6,
const char *a7,
const char *a8,
float a9)
{
int v13; // w24
__int64 v17; // x19
v13 = (int)a2;
v17 = operator new(0x2B8u);
cocos2d::CCSprite::CCSprite((cocos2d::CCSprite *)v17);
*(_DWORD *)(v17 + 596) = 0;
*(_DWORD *)(v17 + 600) = 0;
*(_DWORD *)(v17 + 604) = 0;
*(_QWORD *)v17 = &off_14135E0;
*(_DWORD *)(v17 + 608) = 0;
*(_QWORD *)(v17 + 320) = &off_1413AC8;
*(_DWORD *)(v17 + 612) = 0;
*(_QWORD *)(v17 + 344) = &off_1413B48;
*(_BYTE *)(v17 + 620) = 0;
*(_QWORD *)(v17 + 624) = 0;
*(_QWORD *)(v17 + 632) = 0;
*(_QWORD *)(v17 + 640) = 0;
*(_QWORD *)(v17 + 648) = 0;
*(float *)(v17 + 616) = 1.0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v17 + 656));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v17 + 664));
*(_QWORD *)(v17 + 672) = 0;
*(_QWORD *)(v17 + 680) = 0;
*(_QWORD *)(v17 + 688) = 0;
if ( (unsigned __int8)ButtonSprite::init((ButtonSprite *)v17, (const char *)this, v13, a3, a5, a4, a6, a7, a9) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v17);
return v17;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v17 + 16LL))(v17);
return 0;
}
}