//
// ButtonSprite::create from 0x3c3380 to 0x3c33e6 (102 bytes)
//
// 290 xrefs:
// > ButtonSprite::create @ 0x3c3400
// > ButtonSprite::create @ 0x3c344e
// > URLCell::loadFromObject @ 0x426ffa
// > SongCell::loadFromObject @ 0x4274bc
// > LevelCell::loadLocalLevelCell @ 0x428540
// > MapPackCell::loadFromMapPack @ 0x428bf6
// > SmartTemplateCell::loadFromObject @ 0x429356
// > SmartTemplateCell::loadFromObject @ 0x4293a6
// > LevelListCell::loadFromList @ 0x429900
// > GJMessageCell::loadFromMessage @ 0x42bc6e
// > GJMessageCell::loadFromMessage @ 0x42bd08
// > ArtistCell::loadFromObject @ 0x42c368
// > LevelCell::loadCustomLevelCell @ 0x42efb4
// > LevelCell::loadCustomLevelCell @ 0x42f376
// > GJNotificationCell::loadFromNotification @ 0x4324c8
// > CommentCell::loadFromComment @ 0x433438
// > CommentCell::loadFromComment @ 0x43355e
// > CreateStartPosPopup::init @ 0x490550
// > CreateStartPosPopup::init @ 0x4905ac
// > MoreSearchLayer::init @ 0x497838
// > MoreSearchLayer::init @ 0x4978e2
// > ShareLevelLayer::getStarsButton @ 0x4a28d8
// > ColorSelectPopup::init @ 0x4dfc30
// > ColorSelectPopup::init @ 0x4e0104
// > ColorSelectPopup::init @ 0x4e0128
// > ColorSelectPopup::init @ 0x4e014c
// > CustomSongWidget::init @ 0x4e441e
// > EditorPauseLayer::customSetup @ 0x508386
// > EditorPauseLayer::customSetup @ 0x5083c2
// > EditorPauseLayer::customSetup @ 0x508402
// > EditorPauseLayer::customSetup @ 0x508446
// > EditorPauseLayer::customSetup @ 0x508486
// > VideoOptionsLayer::init @ 0x53170c
// > MoreOptionsLayer::init @ 0x5333c4
// > TutorialLayer::init @ 0x5390fc
// > TutorialLayer::init @ 0x53913c
// > SupportLayer::customSetup @ 0x53a10e
// > SupportLayer::customSetup @ 0x53a142
// > SupportLayer::customSetup @ 0x53a176
// > SupportLayer::customSetup @ 0x53a1aa
// > SupportLayer::customSetup @ 0x53a1e4
// > SupportLayer::customSetup @ 0x53a37a
// > SupportLayer::customSetup @ 0x53a450
// > SongInfoLayer::addLinkRows @ 0x53abba
// > InfoLayer::init @ 0x53f6fe
// > InfoLayer::init @ 0x53fe94
// > GJRateLevelLayer::getStarsButton @ 0x5657ec
// > GJRateLevelListLayer::init @ 0x5674e0
// > GJRateLevelListLayer::init @ 0x567558
// > GJRateEditorSoundLayer::init @ 0x567a46
// > GJRateEditorSoundLayer::init @ 0x567ab8
// > NumberInputLayer::init @ 0x568cd4
// > RateStarsLayer::getStarsButton @ 0x569354
// > NewgroundsInfoLayer::init @ 0x57b396
// > NewgroundsInfoLayer::init @ 0x57b446
// > NewgroundsInfoLayer::init @ 0x57b48e
// > NewgroundsInfoLayer::init @ 0x57b4d6
// > SongSelectNode::init @ 0x57bebe
// > SongSelectNode::init @ 0x57bf64
// > SongSelectNode::init @ 0x57c09e
// > CustomSongLayer::init @ 0x57ca0c
// > NCSInfoLayer::init @ 0x57daa8
// > NCSInfoLayer::init @ 0x57db34
// > NCSInfoLayer::init @ 0x57db7c
// > NCSInfoLayer::init @ 0x57dc40
// > CustomizeObjectLayer::init @ 0x57f96e
// > CustomizeObjectLayer::init @ 0x57fa7e
// > CustomizeObjectLayer::init @ 0x57fd82
// > CustomizeObjectLayer::init @ 0x57fdf0
// > CustomizeObjectLayer::init @ 0x57fe58
// > CustomizeObjectLayer::init @ 0x57ff0c
// > CustomizeObjectLayer::init @ 0x58001a
// > CustomizeObjectLayer::init @ 0x580678
// > CustomizeObjectLayer::init @ 0x580ab8
// > CustomizeObjectLayer::init @ 0x580bea
// > CustomizeObjectLayer::init @ 0x580cd0
// > CustomizeObjectLayer::init @ 0x580cf2
// > CustomizeObjectLayer::init @ 0x580e22
// > AccountLayer::customSetup @ 0x584cc2
// > AccountLoginLayer::init @ 0x587894
// > AccountLoginLayer::init @ 0x5878d2
// > KeybindingsLayer::buildContentForTab @ 0x589e9c
// > KeybindingsLayer::buildContentForTab @ 0x58a36a
// > GJColorSetupLayer::init @ 0x5c1c88
// > SelectFontLayer::init @ 0x5d6026
// > EditTriggersPopup::init @ 0x5d647c
// > UIPOptionsLayer::init @ 0x5d834a
// > UIPOptionsLayer::init @ 0x5d83dc
// > UISaveLoadLayer::init @ 0x5d91ec
// > UISaveLoadLayer::init @ 0x5d9292
// > SetIDPopup::init @ 0x5da84a
// > FriendRequestPopup::loadFromGJFriendRequest @ 0x5dbaba
// > FriendRequestPopup::loadFromGJFriendRequest @ 0x5dbb92
// > FriendRequestPopup::loadFromGJFriendRequest @ 0x5dbc1c
// > FriendRequestPopup::loadFromGJFriendRequest @ 0x5dbc7a
// > UIOptionsLayer::init @ 0x5dc5ea
// > UIOptionsLayer::init @ 0x5dc674
// > SetTextPopup::init @ 0x5de40a
// > GJWriteMessagePopup::init @ 0x5df9aa
// > GJWriteMessagePopup::init @ 0x5df9f8
// > GJMessagePopup::loadFromGJMessage @ 0x5e05f2
// > GJMessagePopup::loadFromGJMessage @ 0x5e0628
// > GJMessagePopup::loadFromGJMessage @ 0x5e06a4
// > SocialLinksPopup::init @ 0x5e2d0c
// > GJAccountSettingsLayer::init @ 0x5e4032
// > GJAccountSettingsLayer::init @ 0x5e40d6
// > GJAccountSettingsLayer::init @ 0x5e419a
// > GJSpecialColorSelect::init @ 0x5e8f6a
// > SetupOpacityPopup::init @ 0x5e98d2
// > SetupSpawnPopup::updateRemapButtons @ 0x5eaf24
// > SetupSpawnPopup::init @ 0x5eb6be
// > SetupPulsePopup::init @ 0x5edbec
// > SetupPulsePopup::init @ 0x5edc3e
// > SetupPulsePopup::init @ 0x5edf56
// > SetupPulsePopup::init @ 0x5edfac
// > SetupPulsePopup::init @ 0x5ee6fa
// > SetupPulsePopup::init @ 0x5ee71e
// > FriendsProfilePage::init @ 0x5f4174
// > sub_601AE0 @ 0x60234e
// > sub_601AE0 @ 0x6023c4
// > SetupRotateCommandPopup::init @ 0x6108ae
// > PurchaseItemPopup::init @ 0x614082
// > PurchaseItemPopup::init @ 0x6140d0
// > SetupAnimationPopup::init @ 0x624760
// > SetupShakePopup::init @ 0x629d9e
// > SetupTouchTogglePopup::init @ 0x62aa6c
// > SetupRandTriggerPopup::init @ 0x635f76
// > SetupEndPopup::init @ 0x636c16
// > SetGroupIDLayer::updateGroupIDButtons @ 0x63a52a
// > SetupObjectOptionsPopup::init @ 0x63b6e6
// > SetGroupIDLayer::init @ 0x63d46a
// > SetGroupIDLayer::init @ 0x63d8ec
// > SetGroupIDLayer::init @ 0x63d974
// > SetGroupIDLayer::init @ 0x63db08
// > SetGroupIDLayer::init @ 0x63e0fc
// > SetGroupIDLayer::init @ 0x63e120
// > SetGroupIDLayer::init @ 0x63e144
// > SetGroupIDLayer::init @ 0x63e168
// > SetGroupIDLayer::init @ 0x63e18c
// > SetupTimeWarpPopup::init @ 0x65932c
// > SetupRandAdvTriggerPopup::updateGroupIDButtons @ 0x65be0a
// > SetupRandAdvTriggerPopup::init @ 0x65c21a
// > SetupRandAdvTriggerPopup::init @ 0x65c62c
// > SetupGravityModPopup::init @ 0x663574
// > CreateParticlePopup::createParticleSlider @ 0x667054
// > CreateParticlePopup::createParticleSlider @ 0x667158
// > CreateParticlePopup::createParticleSlider @ 0x667218
// > CreateParticlePopup::init @ 0x66780c
// > CreateParticlePopup::init @ 0x6678b8
// > CreateParticlePopup::init @ 0x6678ee
// > CreateParticlePopup::init @ 0x667a18
// > CreateParticlePopup::init @ 0x667b18
// > CreateParticlePopup::init @ 0x667d34
// > CreateParticlePopup::init @ 0x6685ba
// > SetupSmartBlockLayer::init @ 0x6730c2
// > SetupSmartBlockLayer::init @ 0x6730fe
// > SetupSmartBlockLayer::init @ 0x673134
// > SetupSmartBlockLayer::init @ 0x67316a
// > SetupSmartBlockLayer::init @ 0x6731a0
// > SetupSmartBlockLayer::init @ 0x6731d6
// > SetupSmartBlockLayer::init @ 0x67320c
// > SetupSmartTemplateLayer::init @ 0x674716
// > SetupSmartTemplateLayer::init @ 0x6747aa
// > BrowseSmartKeyLayer::init @ 0x674f70
// > BrowseSmartKeyLayer::init @ 0x674fba
// > BrowseSmartKeyLayer::init @ 0x675008
// > BrowseSmartKeyLayer::init @ 0x675050
// > SetupTriggerPopup::addCloseButton @ 0x676d58
// > SetupCameraEdgePopup::init @ 0x67ee7e
// > SetupCameraEdgePopup::init @ 0x67f360
// > SetupGradientPopup::init @ 0x6872bc
// > SetupGradientPopup::init @ 0x687a30
// > SetupShaderEffectPopup::setupShaderTrigger @ 0x68db22
// > SetupCameraModePopup::init @ 0x69599c
// > SetupAdvFollowPopup::init @ 0x697cb4
// > SetupAdvFollowPopup::init @ 0x698f7c
// > SelectPremadeLayer::init @ 0x699ca4
// > SelectPremadeLayer::init @ 0x699d4e
// > HSVLiveOverlay::init @ 0x69c5c4
// > HSVLiveOverlay::init @ 0x69c63e
// > CharacterColorPage::init @ 0x69db6a
// > SelectArtLayer::init @ 0x6a9aa4
// > SelectArtLayer::init @ 0x6a9bae
// > SelectArtLayer::init @ 0x6a9c4e
// > SelectArtLayer::init @ 0x6a9cec
// > SelectSettingLayer::init @ 0x6aa9b8
// > LevelSettingsLayer::init @ 0x6ab3f6
// > LevelSettingsLayer::init @ 0x6ab486
// > LevelSettingsLayer::init @ 0x6ac180
// > LevelSettingsLayer::init @ 0x6ac218
// > StartPosLayer::init @ 0x6ace80
// > SetupSequenceTriggerPopup::updateGroupIDButtons @ 0x6bc1fe
// > SetupSequenceTriggerPopup::init @ 0x6bc4f8
// > OptionsScrollLayer::addTagMatchToggle @ 0x6bd954
// > SelectSFXSortLayer::init @ 0x6c4f98
// > sub_6C6B24 @ 0x6c7c78
// > SelectListIconLayer::init @ 0x6d5460
// > AutoSaveSettingsLayer::init @ 0x6e7390
// > EditorUI::setupDeleteMenu @ 0x6f5dd6
// > EditorUI::setupDeleteMenu @ 0x6f5eca
// > GameSettingsLayer::addSpecialContent @ 0x711466
// > TabbedPopupLayer::createTabButtons @ 0x72db68
// > SFXFolderPickerPopup::init @ 0x7309fa
// > SFXFolderPickerPopup::init @ 0x730b9a
// > SFXFolderPickerPopup::init @ 0x730c28
// > AdminActionConfirmPopup::init @ 0x73195e
// > AdminActionConfirmPopup::init @ 0x731a02
// > ReviewChoiceSheet::init @ 0x733694
// > AccountReviewPopup::init @ 0x73584c
// > AccountReviewPopup::init @ 0x735a9a
// > AccountReviewPopup::init @ 0x735bd0
// > AccountReviewPopup::init @ 0x735c72
// > AccountReviewPopup::init @ 0x735d16
// > AccountReviewPopup::init @ 0x735db4
// > ReportQueuePopup::init @ 0x73b2e2
// > ReportQueuePopup::buildRows @ 0x73b9c8
// > AutoBackupOptionsPopup::init @ 0x73e0e4
// > AutoBackupOptionsPopup::init @ 0x73e158
// > AutoBackupOptionsPopup::init @ 0x73e1cc
// > AutoBackupPopup::buildRows @ 0x73f0a8
// > MemberListPopup::refreshPolicyBtn @ 0x747c08
// > FriendPickerPopup::init @ 0x749ed8
// > FriendPickerPopup::init @ 0x749f74
// > LevelPickerPopup::init @ 0x74a83e
// > LevelPickerPopup::init @ 0x74aa2a
// > MemberListPopup::init @ 0x74afa6
// > InvitesPopup::init @ 0x74c1b4
// > RenameThreadPopup::init @ 0x74dece
// > ThreadSearchPopup::init @ 0x74e41c
// > ThreadSearchPopup::init @ 0x74e7c4
// > MessageThreadsPage::init @ 0x750362
// > MessageThreadsPage::init @ 0x75056c
// > ThreadMessageOptionsPopup::init @ 0x753bb0
// > ThreadDescPopup::buildUI @ 0x754282
// > NewThreadPopup::init @ 0x756e10
// > ThreadOptionsPopup::init @ 0x757a08
// > ThreadRequestPopup::init @ 0x75847a
// > ThreadRequestPopup::init @ 0x75851c
// > InvitesPopup::buildRows @ 0x759764
// > InvitesPopup::buildRows @ 0x759830
// > ThreadViewPopup::init @ 0x75ccce
// > ThreadViewPopup::threadSearchFinished @ 0x75d624
// > ThreadViewPopup::mountVirtualRow @ 0x75edf8
// > ThreadViewPopup::mountVirtualRow @ 0x75ee8a
// > ThreadViewPopup::mountVirtualRow @ 0x75ef02
// > ClearPlatformerSavesPopup::init @ 0x762286
// > sub_7624F4 @ 0x7627ce
// > sub_7624F4 @ 0x76287e
// > CreatorSettingsPopup::init @ 0x765ad8
// > CreatorSettingsPopup::init @ 0x765b6c
// > DeathMarkerSettingsPopup::init @ 0x76ebf4
// > DeathTrackerOptionsPopup::init @ 0x77027e
// > EditorCommandsPopup::addCommandButton @ 0x77acc0
// > FindObjectPopup::onBuildWindowContent @ 0x77b752
// > EditorSFXActionConfigLayer::init @ 0x77c88c
// > sub_7839D8 @ 0x783a10
// > SoundPackDescPopup::init @ 0x7869a8
// > EditorSoundConfigInfoLayer::init @ 0x787b34
// > EditorSoundConfigUploadPopup::init @ 0x789962
// > EditorSoundConfigUploadPopup::init @ 0x789a30
// > EditorSoundConfigUploadPopup::init @ 0x789aaa
// > EditorSoundConfigUploadPopup::init @ 0x789b5a
// > EditorSoundsLayer::buildContentForTab @ 0x78a79e
// > EditorSoundsLayer::init @ 0x78af9c
// > EditorSoundsSettingsPopup::init @ 0x78b8dc
// > EditorSoundsSettingsPopup::init @ 0x78b934
// > IDNameBrowserPopup::init @ 0x79289c
// > IDNameBrowserPopup::init @ 0x792ffe
// > KeybindingsSettingsPopup::init @ 0x797334
// > KeybindCapturePopup::init @ 0x79ac68
// > KeybindCapturePopup::init @ 0x79ac88
// > KeybindCapturePopup::init @ 0x79ae00
// > KeybindCapturePopup::init @ 0x79ae82
// > PlatformerControlsPopup::init @ 0x79d398
// > PlatformerControlsPopup::init @ 0x79d3de
// > PlatformerControlsPopup::init @ 0x79d424
// > PlatformerControlsPopup::init @ 0x79d508
// > PlatformerControlsPopup::init @ 0x79d67c
// > RateStarsModLayer::getStarsButton @ 0x79e504
// > CommentOptionsPopup::init @ 0x7a0474
// > ReportPopup::init @ 0x7a0c18
// > TouchControlEditLayer::buildHud @ 0x7a35b8
// > TouchControlEditLayer::buildHud @ 0x7a363a
// > TouchControlEditLayer::buildHud @ 0x7a39b0
// > TouchControlEditLayer::buildHud @ 0x7a39e6
// > TouchControlEditLayer::buildHud @ 0x7a3a78
// > TouchControlEditLayer::buildHud @ 0x7a3b0e
// > ControlSlotsPopup::init @ 0x7a3d0e
// > ControlSlotsPopup::init @ 0x7a3dae
// > VirtualKeyboardNode::buildKeys @ 0x7a5478
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:46:32 +0000
//
ButtonSprite *__fastcall ButtonSprite::create(
ButtonSprite *this,
const char *a2,
int a3,
float a4,
_BOOL4 a5,
char *a6,
char *a7,
const char *a8,
float a9)
{
ButtonSprite *v13; // r4
int v14; // r3
ButtonSprite *v15; // r0
v13 = (ButtonSprite *)operator new(0x244u);
ButtonSprite::ButtonSprite(v13);
if ( ButtonSprite::init(v13, (char *)this, (int)a2, a3, a4, a5, a6, a7, *(float *)&a8) )
{
cocos2d::CCObject::autorelease(v13);
}
else
{
v14 = *(_DWORD *)v13;
v15 = v13;
v13 = nullptr;
(*(void (__fastcall **)(ButtonSprite *))(v14 + 8))(v15);
}
return v13;
}