// // ButtonSprite::init_1 from 0x14003f290 to 0x14003f586 (758 bytes) // // 207 xrefs: // > ButtonSprite::create_1 @ 0x14003f24a // > AccountLoginLayer::init @ 0x14007c124 // > AccountLoginLayer::init @ 0x14007c1c4 // > AccountLayer::customSetup @ 0x14007da00 // > CharacterColorPage::init @ 0x140088882 // > CollisionBlockPopup::init @ 0x14008ad4f // > ColorSelectLiveOverlay::init @ 0x14008cb79 // > ColorSelectLiveOverlay::init @ 0x14008cc6a // > ColorSelectPopup::init @ 0x14008df8b // > ColorSelectPopup::init @ 0x14008e6cb // > ColorSelectPopup::init @ 0x14008e739 // > ColorSelectPopup::init @ 0x14008e7ae // > CustomizeObjectLayer::init @ 0x1400a59e4 // > CustomizeObjectLayer::init @ 0x1400a5b0d // > CustomizeObjectLayer::init @ 0x1400a5f88 // > CustomizeObjectLayer::init @ 0x1400a6067 // > CustomizeObjectLayer::init @ 0x1400a6146 // > CustomizeObjectLayer::init @ 0x1400a622c // > CustomizeObjectLayer::init @ 0x1400a6421 // > CustomizeObjectLayer::init @ 0x1400a6dff // > CustomizeObjectLayer::init @ 0x1400a75f3 // > CustomizeObjectLayer::init @ 0x1400a77ae // > CustomizeObjectLayer::init @ 0x1400a7938 // > CustomizeObjectLayer::init @ 0x1400a79a5 // > CustomizeObjectLayer::init @ 0x1400a7bad // > LevelCell::loadCustomLevelCell @ 0x1400aefad // > SongCell::loadFromObject @ 0x1400b42e5 // > ArtistCell::loadFromObject @ 0x1400b5796 // > CommentCell::loadFromComment @ 0x1400b757b // > GJUserCell::loadFromScore @ 0x1400bb0bb // > GJUserCell::loadFromScore @ 0x1400bb1ce // > GJRequestCell::loadFromScore @ 0x1400bc784 // > GJRequestCell::loadFromScore @ 0x1400bc891 // > GJMessageCell::loadFromMessage @ 0x1400bd6bc // > GJMessageCell::loadFromMessage @ 0x1400bd7cf // > SmartTemplateCell::loadFromObject @ 0x1400be7c4 // > SmartTemplateCell::loadFromObject @ 0x1400be864 // > URLCell::loadFromObject @ 0x1400c03ac // > CustomSongLayer::init @ 0x1400c370e // > NewgroundsInfoLayer::init @ 0x1400c5afb // > NewgroundsInfoLayer::init @ 0x1400c5ba5 // > NewgroundsInfoLayer::init @ 0x1400c5c4f // > NewgroundsInfoLayer::init @ 0x1400c5cf8 // > NCSInfoLayer::init @ 0x1400c6810 // > NCSInfoLayer::init @ 0x1400c6912 // > NCSInfoLayer::init @ 0x1400c69bd // > NCSInfoLayer::init @ 0x1400c6a61 // > SongSelectNode::init @ 0x1400c7219 // > SongSelectNode::init @ 0x1400c7327 // > SongSelectNode::init @ 0x1400c7489 // > CustomSongWidget::init @ 0x1400c8a7b // > EditorPauseLayer::customSetup @ 0x1400daa77 // > EditorPauseLayer::customSetup @ 0x1400dab88 // > EditorPauseLayer::customSetup @ 0x1400dac76 // > EditorPauseLayer::customSetup @ 0x1400dad64 // > EditorPauseLayer::customSetup @ 0x1400dae5a // > EditorPauseLayer::customSetup @ 0x1400daf49 // > EditorPauseLayer::customSetup @ 0x1400db03f // > EditorPauseLayer::customSetup @ 0x1400db135 // > EditorPauseLayer::customSetup @ 0x1400db23d // > EditorPauseLayer::customSetup @ 0x1400db33a // > EditorPauseLayer::customSetup @ 0x1400db436 // > EditorPauseLayer::customSetup @ 0x1400db533 // > EditorPauseLayer::customSetup @ 0x1400db629 // > EditorPauseLayer::customSetup @ 0x1400db727 // > EditorPauseLayer::customSetup @ 0x1400db81d // > EditorPauseLayer::customSetup @ 0x1400db913 // > EditorPauseLayer::customSetup @ 0x1400dc74c // > EditorUI::setupDeleteMenu @ 0x1400e5958 // > EditorUI::setupDeleteMenu @ 0x1400e5aa1 // > GJColorSetupLayer::init @ 0x14025677c // > SelectFontLayer::init @ 0x14028e767 // > EditTriggersPopup::init @ 0x14028f038 // > GJAccountSettingsLayer::init @ 0x1402937a9 // > GJAccountSettingsLayer::init @ 0x140293894 // > FriendRequestPopup::loadFromGJFriendRequest @ 0x140296784 // > FriendRequestPopup::loadFromGJFriendRequest @ 0x140296872 // > FriendRequestPopup::loadFromGJFriendRequest @ 0x140296937 // > GJMessagePopup::loadFromGJMessage @ 0x140298158 // > GJMessagePopup::loadFromGJMessage @ 0x140298240 // > GJMessagePopup::loadFromGJMessage @ 0x140298328 // > GJWriteMessagePopup::init @ 0x1402996bc // > GJWriteMessagePopup::init @ 0x140299768 // > SetIDPopup::init @ 0x14029b657 // > SetTextPopup::init @ 0x14029d2c0 // > UIOptionsLayer::init @ 0x1402a0f8b // > UIOptionsLayer::init @ 0x1402a1088 // > UISaveLoadLayer::init @ 0x1402a42aa // > UISaveLoadLayer::init @ 0x1402a43fc // > UIPOptionsLayer::init @ 0x1402a597d // > UIPOptionsLayer::init @ 0x1402a5a66 // > SetupRotateCommandPopup::init @ 0x1402a88fe // > PurchaseItemPopup::init @ 0x1402af467 // > PurchaseItemPopup::init @ 0x1402af51a // > GJSpecialColorSelect::init @ 0x1402b875a // > HSVLiveOverlay::init @ 0x1402b9bd3 // > HSVLiveOverlay::init @ 0x1402b9cb6 // > InfoLayer::init @ 0x1402bb98a // > InfoLayer::init @ 0x1402bc3f3 // > GJRateLevelLayer::init @ 0x1402f4c67 // > GJRateLevelLayer::init @ 0x1402f51ad // > GJRateLevelLayer::init @ 0x1402f5264 // > SelectListIconLayer::init @ 0x140309807 // > MoreSearchLayer::init @ 0x140313f1d // > MoreSearchLayer::init @ 0x14031404a // > LevelSettingsLayer::init @ 0x14031f97e // > LevelSettingsLayer::init @ 0x14031fa86 // > LevelSettingsLayer::init @ 0x14031ff64 // > LevelSettingsLayer::init @ 0x14032007c // > SelectArtLayer::init @ 0x140322907 // > SelectArtLayer::init @ 0x140322b84 // > SelectArtLayer::init @ 0x140322cb2 // > SelectArtLayer::init @ 0x140322dcd // > SelectSettingLayer::init @ 0x1403237a3 // > NumberInputLayer::init @ 0x1403487a4 // > MoreOptionsLayer::init @ 0x1403742bc // > MoreOptionsLayer::init @ 0x140374a94 // > VideoOptionsLayer::init @ 0x140377d85 // > MoreVideoOptionsLayer::init @ 0x140379429 // > RateStarsLayer::init @ 0x1403ca458 // > SetGroupIDLayer::init @ 0x1403f8c2f // > SetGroupIDLayer::init @ 0x1403f928b // > SetGroupIDLayer::init @ 0x1403f9395 // > SetGroupIDLayer::init @ 0x1403f9492 // > SetGroupIDLayer::init @ 0x1403f96cd // > SetGroupIDLayer::init @ 0x1403f9f08 // > SetGroupIDLayer::init @ 0x1403f9f75 // > SetGroupIDLayer::init @ 0x1403f9fe1 // > SetGroupIDLayer::init @ 0x1403fa051 // > SetGroupIDLayer::init @ 0x1403fa0c9 // > SetGroupIDLayer::updateGroupIDButtons @ 0x1403fc680 // > SetupObjectOptionsPopup::init @ 0x1403fe1c0 // > SetupAdvFollowPopup::init @ 0x140402ffc // > SetupAdvFollowPopup::init @ 0x140405405 // > SelectPremadeLayer::init @ 0x140406ee9 // > SelectPremadeLayer::init @ 0x140407086 // > SetupAnimationPopup::init @ 0x140408f0a // > SetupCameraEdgePopup::init @ 0x140412e2e // > SetupCameraEdgePopup::init @ 0x1404138d4 // > SetupCameraModePopup::init @ 0x1404142e6 // > SetupCollisionTriggerPopup::init @ 0x1404184de // > SetupCountTriggerPopup::init @ 0x14041b171 // > SetupEndPopup::init @ 0x14041cd2e // > SetupGradientPopup::init @ 0x140420cb7 // > SetupGradientPopup::init @ 0x140421980 // > SetupInstantCountPopup::init @ 0x140422572 // > SetupOpacityPopup::init @ 0x14042a785 // > CreateParticlePopup::init @ 0x14042caf2 // > CreateParticlePopup::init @ 0x14042cbd3 // > CreateParticlePopup::init @ 0x14042cca0 // > CreateParticlePopup::init @ 0x14042cec0 // > CreateParticlePopup::init @ 0x14042d053 // > CreateParticlePopup::init @ 0x14042d46a // > CreateParticlePopup::init @ 0x14042e295 // > CreateParticlePopup::createParticleSlider @ 0x140430ed7 // > CreateParticlePopup::createParticleSlider @ 0x14043100e // > CreateParticlePopup::createParticleSlider @ 0x140431169 // > SetupPulsePopup::init @ 0x1404378dd // > SetupPulsePopup::init @ 0x140438851 // > SetupPulsePopup::init @ 0x14043890a // > SetupPulsePopup::init @ 0x140438fd2 // > SetupPulsePopup::init @ 0x140439084 // > SetupPulsePopup::init @ 0x140439a5b // > SetupPulsePopup::init @ 0x140439ad0 // > SetupRandAdvTriggerPopup::init @ 0x14043d523 // > SetupRandAdvTriggerPopup::init @ 0x14043daee // > SetupRandAdvTriggerPopup::updateGroupIDButtons @ 0x14043e5e2 // > SetupRandTriggerPopup::init @ 0x14043fce1 // > SetupSequenceTriggerPopup::init @ 0x140443603 // > SetupSequenceTriggerPopup::updateGroupIDButtons @ 0x140444a49 // > SetupShaderEffectPopup::setupShaderTrigger @ 0x14044aa5f // > SetupShakePopup::init @ 0x140454edc // > SetupSmartBlockLayer::init @ 0x140456d9e // > SetupSmartBlockLayer::init @ 0x140456e28 // > SetupSmartBlockLayer::init @ 0x140456eb1 // > SetupSmartBlockLayer::init @ 0x140456f33 // > SetupSmartBlockLayer::init @ 0x140456fb5 // > SetupSmartBlockLayer::init @ 0x14045703e // > SetupSmartBlockLayer::init @ 0x1404570ce // > SetupSmartTemplateLayer::init @ 0x140459375 // > SetupSmartTemplateLayer::init @ 0x14045945b // > BrowseSmartKeyLayer::init @ 0x14045ba69 // > BrowseSmartKeyLayer::init @ 0x14045bb16 // > BrowseSmartKeyLayer::init @ 0x14045bbc3 // > BrowseSmartKeyLayer::init @ 0x14045bc70 // > SetupSpawnPopup::init @ 0x14045ec1d // > SetupSpawnPopup::updateRemapButtons @ 0x14045f7cf // > SetupTimeWarpPopup::init @ 0x1404635c3 // > SetupTouchTogglePopup::init @ 0x140463ea5 // > SetupTriggerPopup::addCloseButton @ 0x1404749c8 // > SelectSFXSortLayer::init @ 0x140481500 // > ShareLevelLayer::setupStars @ 0x14048fc97 // > SongInfoLayer::init @ 0x140492f1a // > SongInfoLayer::init @ 0x1404931f1 // > SongInfoLayer::init @ 0x1404932b3 // > SongInfoLayer::init @ 0x140493411 // > SongInfoLayer::init @ 0x140493697 // > SupportLayer::customSetup @ 0x1404c8623 // > SupportLayer::customSetup @ 0x1404c86aa // > SupportLayer::customSetup @ 0x1404c872d // > SupportLayer::customSetup @ 0x1404c87b0 // > SupportLayer::customSetup @ 0x1404c883a // > SupportLayer::customSetup @ 0x1404c8af4 // > SupportLayer::customSetup @ 0x1404c8c79 // > TutorialLayer::init @ 0x1404cc104 // > TutorialLayer::init @ 0x1404cc1a4 // > @ 0x1406c4170 // // 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 // // Hidden C++ exception states: #wind=1 bool ButtonSprite::init_1( ButtonSprite *a1, const char *a2, int a3, int a4, float a5, bool a6, const char *a7, const char *a8, float 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 __int64 v21; // rbx char *v22; // rax __int64 v23; // rax __int64 v24; // rax cocos2d::CCLabelBMFont *v25; // rax struct cocos2d::CCRect *v26; // rax cocos2d::extension::CCScale9Sprite *v27; // rax cocos2d::extension::CCScale9Sprite_vtbl *v28; // rbx const cocos2d::CCSize *v29; // rax cocos2d::CCPoint v30; // [rsp+38h] [rbp-90h] BYREF void *Buf1[2]; // [rsp+40h] [rbp-88h] BYREF unsigned __int64 v32; // [rsp+50h] [rbp-78h] unsigned __int64 v33; // [rsp+58h] [rbp-70h] _QWORD Buf2[4]; // [rsp+60h] [rbp-68h] BYREF result = cocos2d::CCSprite::init(a1); if ( result ) { a1->m_mode = 1; a1->m_width = (float)a3; a1->m_minWidth = (float)a4; a1->m_scale = a5; a1->m_absolute = a6; a1->m_height = a9; v14 = cocos2d::CCPoint::CCPoint(&v30, 0.0, 2.0); cocos2d::CCPoint::operator=(&a1->m_textOffset, v14); Buf2[2] = 11; Buf2[3] = 15; Buf2[0] = 0x2E746E6F46676962LL; Buf2[1] = 7630438; *(_OWORD *)Buf1 = 0; v32 = 0; v33 = 0; v15 = -1; do ++v15; while ( a7[v15] ); sub_14003A930(Buf1, a7, v15); v16 = Buf1; v17 = (char *)Buf1[0]; v18 = v33; if ( v33 > 0xF ) v16 = (void **)Buf1[0]; v19 = v32; v20 = v32; if ( v32 > 0xB ) v20 = 11; LODWORD(v21) = memcmp(v16, Buf2, v20); if ( !(_DWORD)v21 ) { if ( v19 >= 0xB ) v21 = v19 > 0xB; else LODWORD(v21) = -1; } if ( v18 > 0xF ) { v22 = v17; if ( v18 + 1 >= 0x1000 ) { v17 = *((char **)v17 - 1); if ( (unsigned __int64)(v22 - v17 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v17); } if ( !(_DWORD)v21 ) { v23 = cocos2d::CCPoint::CCPoint(&v30, 0.0, 2.0); v24 = cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)Buf1, -1.0, *(float *)(v23 + 4)); cocos2d::CCPoint::operator=(&a1->m_textOffset, v24); } v25 = cocos2d::CCLabelBMFont::create(byte_140518980, a7); a1->m_label = v25; a1->addChild_0(a1, v25, 1); v26 = (struct cocos2d::CCRect *)cocos2d::CCRect::CCRect((cocos2d::CCRect *)Buf1, 0.0, 0.0, 40.0, 40.0); v27 = cocos2d::extension::CCScale9Sprite::create(a8, v26); a1->m_BGSprite = v27; v28 = v27->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v29 = (const cocos2d::CCSize *)cocos2d::CCSize::CCSize((cocos2d::CCSize *)Buf1, 16.0, 16.0); v28->setContentSize(a1->m_BGSprite, v29); a1->addChild_0(a1, a1->m_BGSprite, 0); ButtonSprite::setString(a1, a2); return 1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source