// // ButtonSprite::init_1 from 0x140042cb0 to 0x140042fbd (781 bytes) // // 269 xrefs: // > ButtonSprite::create_1 @ 0x140042c6a // > AccountLoginLayer::init @ 0x140091208 // > AccountLoginLayer::init @ 0x1400912ab // > AccountLayer::customSetup @ 0x1400930b2 // > AutoSaveSettingsLayer::init @ 0x14009b2e4 // > AutoSaveSettingsLayer::init @ 0x14009baed // > AutoSaveSettingsLayer::init @ 0x14009bbe8 // > CharacterColorPage::init @ 0x1400a1105 // > ClearPlatformerSavesPopup::init @ 0x1400a3898 // > AdminActionConfirmPopup::init @ 0x1400a5ef6 // > sub_1400A7300 @ 0x1400a7742 // > sub_1400A7300 @ 0x1400a7879 // > AccountReviewPopup::init @ 0x1400afca9 // > AccountReviewPopup::init @ 0x1400affe6 // > AccountReviewPopup::init @ 0x1400b023e // > AccountReviewPopup::init @ 0x1400b0395 // > AccountReviewPopup::init @ 0x1400b04f8 // > AccountReviewPopup::init @ 0x1400b0645 // > ReportPopup::init @ 0x1400c128f // > CommentOptionsPopup::init @ 0x1400c272d // > SFXFolderPickerPopup::init @ 0x1400c496a // > SFXFolderPickerPopup::init @ 0x1400c4bd3 // > SFXFolderPickerPopup::init @ 0x1400c4cd9 // > ReportQueuePopup::init @ 0x1400c785f // > ReportQueuePopup::buildRows @ 0x1400c8631 // > AutoBackupPopup::buildRows @ 0x1400cb212 // > AutoBackupOptionsPopup::init @ 0x1400cdf63 // > AutoBackupOptionsPopup::init @ 0x1400ce04b // > AutoBackupOptionsPopup::init @ 0x1400ce148 // > MessageThreadsPage::init @ 0x1400d4a51 // > MessageThreadsPage::init @ 0x1400d4d08 // > ThreadViewPopup::init @ 0x1400da481 // > ThreadViewPopup::threadSearchFinished @ 0x1400dc22e // > ThreadViewPopup::mountVirtualRow @ 0x1400e1874 // > ThreadViewPopup::mountVirtualRow @ 0x1400e197d // > ThreadViewPopup::mountVirtualRow @ 0x1400e1a6f // > ThreadMessageOptionsPopup::init @ 0x1400e5961 // > FriendPickerPopup::init @ 0x1400e6e3a // > FriendPickerPopup::init @ 0x1400e6f4c // > LevelPickerPopup::init @ 0x1400e9206 // > LevelPickerPopup::init @ 0x1400e944e // > MemberListPopup::init @ 0x1400ebdc9 // > MemberListPopup::refreshPolicyBtn @ 0x1400ec338 // > NewThreadPopup::init @ 0x1400f023f // > ThreadOptionsPopup::init @ 0x1400f4b71 // > InvitesPopup::init @ 0x1400f6d31 // > InvitesPopup::buildRows @ 0x1400f8c7e // > InvitesPopup::buildRows @ 0x1400f8d9c // > RenameThreadPopup::init @ 0x1400fa292 // > ThreadSearchPopup::init @ 0x1400fb3e8 // > ThreadSearchPopup::init @ 0x1400fb8ec // > ThreadDescPopup::buildUI @ 0x1400fce93 // > ThreadRequestPopup::init @ 0x1400ff8af // > ThreadRequestPopup::init @ 0x1400ff98d // > DeathMarkerSettingsPopup::init @ 0x14011d324 // > DeathTrackerOptionsPopup::init @ 0x14011ff89 // > ColorSelectLiveOverlay::init @ 0x140125b79 // > ColorSelectLiveOverlay::init @ 0x140125c73 // > ColorSelectPopup::init @ 0x140126e0a // > ColorSelectPopup::init @ 0x140127562 // > ColorSelectPopup::init @ 0x1401275d6 // > ColorSelectPopup::init @ 0x14012764d // > CustomizeObjectLayer::init @ 0x14013fa07 // > CustomizeObjectLayer::init @ 0x14013fb3b // > CustomizeObjectLayer::init @ 0x14013ffd3 // > CustomizeObjectLayer::init @ 0x1401400b4 // > CustomizeObjectLayer::init @ 0x140140194 // > CustomizeObjectLayer::init @ 0x14014027b // > CustomizeObjectLayer::init @ 0x140140473 // > CustomizeObjectLayer::init @ 0x140140e59 // > CustomizeObjectLayer::init @ 0x140141641 // > CustomizeObjectLayer::init @ 0x14014180b // > CustomizeObjectLayer::init @ 0x14014199e // > CustomizeObjectLayer::init @ 0x140141a0d // > CustomizeObjectLayer::init @ 0x140141c15 // > LevelCell::loadCustomLevelCell @ 0x14014a65c // > SongCell::loadFromObject @ 0x14014ffba // > ArtistCell::loadFromObject @ 0x1401517b1 // > CommentCell::loadFromComment @ 0x140153c0a // > GJNotificationCell::loadFromNotification @ 0x14015bf9d // > GJMessageCell::loadFromMessage @ 0x14015cc61 // > GJMessageCell::loadFromMessage @ 0x14015cd79 // > SmartTemplateCell::loadFromObject @ 0x14015de2c // > SmartTemplateCell::loadFromObject @ 0x14015ded1 // > URLCell::loadFromObject @ 0x14015fc14 // > CustomSongLayer::init @ 0x14016478c // > NewgroundsInfoLayer::init @ 0x140166c13 // > NewgroundsInfoLayer::init @ 0x140166cc0 // > NewgroundsInfoLayer::init @ 0x140166d6d // > NewgroundsInfoLayer::init @ 0x140166e19 // > NCSInfoLayer::init @ 0x14016774b // > NCSInfoLayer::init @ 0x140167853 // > NCSInfoLayer::init @ 0x140167901 // > NCSInfoLayer::init @ 0x1401679af // > SongSelectNode::init @ 0x1401681e6 // > SongSelectNode::init @ 0x1401682fb // > SongSelectNode::init @ 0x14016845c // > CustomSongWidget::init @ 0x140169960 // > EditorCommandsPopup::addCommandButton @ 0x14017d824 // > FindObjectPopup::onBuildWindowContent @ 0x14018071f // > EditorSFXActionConfigLayer::init @ 0x1401839c5 // > sub_140191600 @ 0x140191683 // > SoundPackDescPopup::init @ 0x1401997b3 // > EditorSoundConfigUploadPopup::init @ 0x14019b227 // > EditorSoundConfigUploadPopup::init @ 0x14019b38f // > EditorSoundConfigUploadPopup::init @ 0x14019b479 // > EditorSoundConfigUploadPopup::init @ 0x14019b59e // > EditorSoundsLayer::init @ 0x14019d39f // > EditorSoundsLayer::buildContentForTab @ 0x14019df27 // > EditorUI::setupDeleteMenu @ 0x1401f4ca8 // > EditorUI::setupDeleteMenu @ 0x1401f4eaa // > FriendsProfilePage::init @ 0x140213fd0 // > GameSettingsLayer::setupTabs @ 0x1402c2c73 // > GameSettingsLayer::addSpecialContent @ 0x1402c59c6 // > GJColorSetupLayer::init @ 0x14035f276 // > EditTriggersPopup::init @ 0x14039a17c // > GJAccountSettingsLayer::init @ 0x14039e1bf // > GJAccountSettingsLayer::init @ 0x14039e2e2 // > GJAccountSettingsLayer::init @ 0x14039e391 // > SocialLinksPopup::init @ 0x14039fd30 // > FriendRequestPopup::loadFromGJFriendRequest @ 0x1403a238a // > FriendRequestPopup::loadFromGJFriendRequest @ 0x1403a2470 // > FriendRequestPopup::loadFromGJFriendRequest @ 0x1403a256e // > FriendRequestPopup::loadFromGJFriendRequest @ 0x1403a2637 // > GJMessagePopup::loadFromGJMessage @ 0x1403a425e // > GJMessagePopup::loadFromGJMessage @ 0x1403a430d // > GJMessagePopup::loadFromGJMessage @ 0x1403a43d0 // > SetIDPopup::init @ 0x1403a5833 // > SetTextPopup::init @ 0x1403a7593 // > UIPOptionsLayer::init @ 0x1403aba60 // > UIPOptionsLayer::init @ 0x1403abb51 // > SetupRotateCommandPopup::init @ 0x1403aea7d // > PurchaseItemPopup::init @ 0x1403b57c4 // > PurchaseItemPopup::init @ 0x1403b587c // > GJSpecialColorSelect::init @ 0x1403bf4c7 // > HSVLiveOverlay::init @ 0x1403c0d60 // > HSVLiveOverlay::init @ 0x1403c0e42 // > IDNameBrowserPopup::init @ 0x1403c1e12 // > IDNameBrowserPopup::init @ 0x1403c2929 // > InfoLayer::init @ 0x1403ceca8 // > InfoLayer::init @ 0x1403cf855 // > EditorSoundsSettingsPopup::init @ 0x1403d4bdd // > EditorSoundsSettingsPopup::init @ 0x1403d4cab // > KeybindingsLayer::buildContentForTab @ 0x1403d6d32 // > KeybindingsLayer::buildContentForTab @ 0x1403d733e // > KeybindingsSettingsPopup::init @ 0x1403d91ba // > GJRateLevelLayer::init @ 0x140419a09 // > SelectListIconLayer::init @ 0x14043196a // > MoreSearchLayer::init @ 0x14043cd67 // > MoreSearchLayer::init @ 0x14043ce97 // > CreatorSettingsPopup::init @ 0x140448685 // > CreatorSettingsPopup::init @ 0x14044877f // > KeybindCapturePopup::init @ 0x14044d9de // > KeybindCapturePopup::init @ 0x14044da56 // > KeybindCapturePopup::init @ 0x14044dd10 // > KeybindCapturePopup::init @ 0x14044dd6e // > KeybindCapturePopup::init @ 0x14044de71 // > KeybindCapturePopup::init @ 0x14044decc // > PlatformerControlsPopup::init @ 0x14044f5a6 // > PlatformerControlsPopup::init @ 0x14044f64e // > PlatformerControlsPopup::init @ 0x14044f6f6 // > PlatformerControlsPopup::init @ 0x14044f7be // > PlatformerControlsPopup::init @ 0x14044fd10 // > TouchControlEditLayer::buildHud @ 0x140452db9 // > TouchControlEditLayer::buildHud @ 0x140452eb9 // > TouchControlEditLayer::buildHud @ 0x1404533d1 // > TouchControlEditLayer::buildHud @ 0x14045346d // > TouchControlEditLayer::buildHud @ 0x140453558 // > TouchControlEditLayer::buildHud @ 0x140453646 // > ControlSlotsPopup::init @ 0x140456abc // > ControlSlotsPopup::init @ 0x140456c17 // > LevelSettingsLayer::init @ 0x140458b26 // > LevelSettingsLayer::init @ 0x140458c3d // > LevelSettingsLayer::init @ 0x140459166 // > LevelSettingsLayer::init @ 0x14045928a // > SelectArtLayer::init @ 0x14045bb45 // > SelectArtLayer::init @ 0x14045bd3c // > SelectArtLayer::init @ 0x14045be6e // > SelectArtLayer::init @ 0x14045bf8d // > SelectSettingLayer::init @ 0x14045c962 // > StartPosLayer::init @ 0x14045e12a // > MusicBrowser::onTagFilters @ 0x14047da89 // > NumberInputLayer::init @ 0x1404a1605 // > VideoOptionsLayer::init @ 0x1404cdaee // > MoreVideoOptionsLayer::init @ 0x1404cf146 // > CreateStartPosPopup::init @ 0x1404dc5ec // > CreateStartPosPopup::init @ 0x1404dc69c // > RateStarsLayer::init @ 0x14055e82a // > RateStarsModLayer::init @ 0x14055f8ca // > SetGroupIDLayer::init @ 0x14058ec82 // > SetGroupIDLayer::init @ 0x14058f378 // > SetGroupIDLayer::init @ 0x14058f487 // > SetGroupIDLayer::init @ 0x14058f7c5 // > SetGroupIDLayer::init @ 0x140590043 // > SetGroupIDLayer::init @ 0x1405900b3 // > SetGroupIDLayer::init @ 0x140590122 // > SetGroupIDLayer::init @ 0x140590195 // > SetGroupIDLayer::init @ 0x140590210 // > SetGroupIDLayer::updateGroupIDButtons @ 0x140592913 // > SetupObjectOptionsPopup::init @ 0x140594cbe // > SetupAdvFollowPopup::init @ 0x14059a041 // > SetupAdvFollowPopup::init @ 0x14059c929 // > SelectPremadeLayer::init @ 0x14059e416 // > SelectPremadeLayer::init @ 0x14059e5c1 // > SetupAnimationPopup::init @ 0x1405a06b4 // > SetupCameraEdgePopup::init @ 0x1405aa576 // > SetupCameraEdgePopup::init @ 0x1405aad34 // > SetupCameraModePopup::init @ 0x1405ab73f // > SetupEndPopup::init @ 0x1405b21c0 // > SetupGradientPopup::init @ 0x1405b621d // > SetupGradientPopup::init @ 0x1405b6f10 // > SetupOpacityPopup::init @ 0x1405bfe45 // > CreateParticlePopup::init @ 0x1405c1e16 // > CreateParticlePopup::init @ 0x1405c1ef6 // > CreateParticlePopup::init @ 0x1405c1fc0 // > CreateParticlePopup::init @ 0x1405c21e2 // > CreateParticlePopup::init @ 0x1405c2370 // > CreateParticlePopup::init @ 0x1405c2780 // > CreateParticlePopup::init @ 0x1405c35d6 // > CreateParticlePopup::createParticleSlider @ 0x1405c6518 // > CreateParticlePopup::createParticleSlider @ 0x1405c6656 // > CreateParticlePopup::createParticleSlider @ 0x1405c67b6 // > SetupPulsePopup::init @ 0x1405ce18d // > SetupPulsePopup::init @ 0x1405ce247 // > SetupPulsePopup::init @ 0x1405ce70f // > SetupPulsePopup::init @ 0x1405ce7c2 // > SetupPulsePopup::init @ 0x1405cf2fc // > SetupPulsePopup::init @ 0x1405cf368 // > SetupRandAdvTriggerPopup::init @ 0x1405d2c12 // > SetupRandAdvTriggerPopup::init @ 0x1405d32e0 // > SetupRandAdvTriggerPopup::updateGroupIDButtons @ 0x1405d415c // > SetupRandTriggerPopup::init @ 0x1405d507d // > SetupSequenceTriggerPopup::init @ 0x1405d876c // > SetupSequenceTriggerPopup::updateGroupIDButtons @ 0x1405d9cae // > SetupShaderEffectPopup::setupShaderTrigger @ 0x1405e015f // > SetupShakePopup::init @ 0x1405ea79b // > SetupSmartBlockLayer::init @ 0x1405ec6d8 // > SetupSmartBlockLayer::init @ 0x1405ec764 // > SetupSmartBlockLayer::init @ 0x1405ec7ef // > SetupSmartBlockLayer::init @ 0x1405ec873 // > SetupSmartBlockLayer::init @ 0x1405ec8f7 // > SetupSmartBlockLayer::init @ 0x1405ec982 // > SetupSmartBlockLayer::init @ 0x1405eca14 // > SetupSmartTemplateLayer::init @ 0x1405eed53 // > SetupSmartTemplateLayer::init @ 0x1405eee46 // > BrowseSmartKeyLayer::init @ 0x1405f1594 // > BrowseSmartKeyLayer::init @ 0x1405f1649 // > BrowseSmartKeyLayer::init @ 0x1405f16fe // > BrowseSmartKeyLayer::init @ 0x1405f17b3 // > SetupSpawnPopup::init @ 0x1405f4a9b // > SetupSpawnPopup::updateRemapButtons @ 0x1405f5624 // > SetupTimeWarpPopup::init @ 0x1405f9743 // > SetupTouchTogglePopup::init @ 0x1405fa06f // > SetupTriggerPopup::addCloseButton @ 0x14060bdda // > SFXBrowser::init @ 0x140618169 // > SelectSFXSortLayer::init @ 0x140621032 // > ShareLevelLayer::setupStars @ 0x1406314aa // > SongInfoLayer::addLinkRows @ 0x140636534 // > SupportLayer::customSetup @ 0x140669d65 // > SupportLayer::customSetup @ 0x140669dee // > SupportLayer::customSetup @ 0x140669e73 // > SupportLayer::customSetup @ 0x140669ef8 // > SupportLayer::customSetup @ 0x140669f84 // > SupportLayer::customSetup @ 0x14066a241 // > SupportLayer::customSetup @ 0x14066a3cc // > TabbedPopupLayer::createTabButtons @ 0x14066c7a4 // > TutorialLayer::init @ 0x14066f571 // > TutorialLayer::init @ 0x14066f614 // > @ 0x14090f680 // // 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 11:25:30 +0000 // // Hidden C++ exception states: #wind=1 bool __fastcall ButtonSprite::init_1( __int64 a1, __int64 a2, int a3, int a4, int a5, char a6, _BYTE *a7, __int64 a8, int a9) { bool result; // al __int64 v14; // rax size_t v15; // r8 void **v16; // rcx char *v17; // rsi unsigned __int64 v18; // r15 unsigned __int64 v19; // rbp size_t v20; // r8 int v21; // ebx char *v22; // rax __int64 v23; // rax __int64 v24; // rax struct cocos2d::CCLabelBMFont *v25; // rax __int64 v26; // rax __int64 *v27; // rdi __int64 v28; // rbx __int64 v29; // rax char v30[8]; // [rsp+38h] [rbp-90h] BYREF _QWORD Buf2[4]; // [rsp+40h] [rbp-88h] BYREF void *Buf1[2]; // [rsp+60h] [rbp-68h] BYREF unsigned __int64 v33; // [rsp+70h] [rbp-58h] unsigned __int64 v34; // [rsp+78h] [rbp-50h] result = cocos2d::CCSprite::init((cocos2d::CCSprite *)a1); if ( result ) { *(_DWORD *)(a1 + 600) = 1; *(float *)(a1 + 604) = (float)a3; *(float *)(a1 + 608) = (float)a4; *(_DWORD *)(a1 + 612) = a5; *(_BYTE *)(a1 + 624) = a6; *(_DWORD *)(a1 + 616) = a9; v14 = cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, 0.0, 2.0); cocos2d::CCPoint::operator=(a1 + 664, v14); Buf2[2] = 11; Buf2[3] = 15; Buf2[0] = 0x2E746E6F46676962LL; Buf2[1] = 7630438; *(_OWORD *)Buf1 = 0; v33 = 0; v34 = 0; v15 = -1; do ++v15; while ( a7[v15] ); sub_14003D230(Buf1, a7, v15); v16 = Buf1; v17 = (char *)Buf1[0]; v18 = v34; if ( v34 > 0xF ) v16 = (void **)Buf1[0]; v19 = v33; v20 = v33; if ( v33 > 0xB ) v20 = 11; v21 = memcmp(v16, Buf2, v20); if ( !v21 ) { if ( v19 >= 0xB ) v21 = v19 > 0xB; else v21 = -1; } if ( v18 > 0xF ) { v22 = v17; if ( v18 + 1 >= 0x1000 ) { v17 = *((char **)v17 - 1); if ( (unsigned __int64)(v22 - v17 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v17); } if ( !v21 ) { v23 = cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v30, 0.0, 2.0); v24 = cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)Buf1, -1.0, *(float *)(v23 + 4)); cocos2d::CCPoint::operator=(a1 + 664, v24); } v25 = cocos2d::CCLabelBMFont::create(&byte_1406ED6E0, a7); *(_QWORD *)(a1 + 632) = v25; (*(void (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *, __int64))(*(_QWORD *)a1 + 456LL))(a1, v25, 1); v26 = cocos2d::CCRect::CCRect((cocos2d::CCRect *)Buf1, 0.0, 0.0, 40.0, 40.0); v27 = (__int64 *)cocos2d::extension::CCScale9Sprite::create(a8, v26); *(_QWORD *)(a1 + 656) = v27; v28 = *v27; v29 = cocos2d::CCSize::CCSize((cocos2d::CCSize *)Buf1, 16.0, 16.0); (*(void (__fastcall **)(__int64 *, __int64))(v28 + 312))(v27, v29); (*(void (__fastcall **)(__int64, _QWORD, _QWORD))(*(_QWORD *)a1 + 456LL))(a1, *(_QWORD *)(a1 + 656), 0); ButtonSprite::setString(a1, a2); return 1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source