// // InfoAlertButton::create from 0x100575b50 to 0x100575cd4 (388 bytes) // // 49 xrefs: // > GJRotateCommandLayer::init @ 0x1000018ad // > SetupOpacityPopup::init @ 0x100057237 // > CustomizeObjectLayer::init @ 0x1001f53e4 // > SetupTriggerPopup::addHelpButton @ 0x100235fae // > LevelOptionsLayer::setupOptions @ 0x10027171f // > ShareLevelSettingsLayer::init @ 0x1002827a0 // > CollisionBlockPopup::init @ 0x10028604b // > SelectFontLayer::init @ 0x10029a228 // > EditTriggersPopup::init @ 0x10029abc5 // > GJAccountSettingsLayer::init @ 0x1002a09a9 // > SetupTouchTogglePopup::init @ 0x1002b8887 // > SetupCountTriggerPopup::init @ 0x1002bb704 // > GJFollowCommandLayer::init @ 0x1002d543f // > GJPathPage::init @ 0x1002ff6d5 // > SetGroupIDLayer::init @ 0x100312de0 // > SetupObjectOptionsPopup::init @ 0x10031833b // > PurchaseItemPopup::init @ 0x100328297 // > ShareListLayer::init @ 0x1003628ce // > ShareListLayer::init @ 0x100362b2d // > GJPFollowCommandLayer::init @ 0x100364b36 // > SetupRandAdvTriggerPopup::init @ 0x10038de5c // > SetupCollisionTriggerPopup::init @ 0x1003955e4 // > ChallengesPage::init @ 0x10039d9db // > SetupPulsePopup::init @ 0x1003ad1b9 // > SetupAnimationPopup::init @ 0x1003d4c21 // > SetupGravityModPopup::init @ 0x1003d8686 // > LevelLeaderboard::init @ 0x1003dacd5 // > CreateParticlePopup::init @ 0x10047042a // > SetupCameraModePopup::init @ 0x1004a8f98 // > SetupCameraRotatePopup::init @ 0x1004bcb62 // > SetupSequenceTriggerPopup::init @ 0x1004ddaa6 // > SetupSmartBlockLayer::init @ 0x1004e626e // > SetupSmartTemplateLayer::init @ 0x1004e7dc4 // > BrowseSmartTemplateLayer::init @ 0x1004e8f22 // > BrowseSmartKeyLayer::init @ 0x1004eacc5 // > SetupTimeWarpPopup::init @ 0x100502f79 // > SetupMGTrigger::init @ 0x1005087e2 // > SetupPortalPopup::init @ 0x10056fad5 // > SetupCameraEdgePopup::init @ 0x100588277 // > ShareCommentLayer::init @ 0x1005dff0a // > SetupRandTriggerPopup::init @ 0x1005e5537 // > SetupInstantCountPopup::init @ 0x1005e8e18 // > ConfigureValuePopup::init @ 0x100624c67 // > ConfigureValuePopup::addInfoAlertButton @ 0x10062560f // > GJSpecialColorSelect::init @ 0x10062631c // > SetupCameraOffsetTrigger::init @ 0x10066173e // > SetupShakePopup::init @ 0x1006643f8 // > SetupEndPopup::init @ 0x100668d2a // > ColorSelectPopup::init @ 0x100726ea6 // // 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 // char *__fastcall InfoAlertButton::create(__int128 *a1, std::string *a2, float a3) { char *v3; // rbx __int128 v4; // xmm0 cocos2d::CCSprite *v5; // r14 bool v6; // r14 std::string __str; // [rsp+0h] [rbp-60h] BYREF std::string v9; // [rsp+20h] [rbp-40h] BYREF float v10; // [rsp+44h] [rbp-1Ch] v10 = a3; v3 = (char *)operator new(0x230u); CCMenuItemSpriteExtra::CCMenuItemSpriteExtra((CCMenuItemSpriteExtra *)v3); *(_QWORD *)v3 = off_100965400; *((_QWORD *)v3 + 40) = off_100965868; *(_QWORD *)&v4 = 0; *(_OWORD *)(v3 + 504) = 0; *(_OWORD *)(v3 + 520) = 0; *(_OWORD *)(v3 + 536) = 0; *((_DWORD *)v3 + 138) = 1065353216; v3[556] = 0; if ( (*(_BYTE *)a1 & 1) != 0 ) { sub_100006B70(&__str, *((const void **)a1 + 2), *((_QWORD *)a1 + 1), 0.0); if ( (*(_BYTE *)&a2->__r_.__value_.__s.0 & 1) != 0 ) goto LABEL_3; } else { __str.__r_.__value_.__r.__words[2] = *((_QWORD *)a1 + 2); v4 = *a1; *(_OWORD *)&__str.__r_.__value_.__l.0 = *a1; if ( (*(_BYTE *)&a2->__r_.__value_.__s.0 & 1) != 0 ) { LABEL_3: sub_100006B70(&v9, a2->__r_.__value_.__l.__data_, a2->__r_.__value_.__l.__size_, *(double *)&v4); goto LABEL_6; } } v9 = *a2; LABEL_6: v5 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_infoIcon_001.png"); ((void (__fastcall *)(cocos2d::CCSprite *, float))v5->setScale)(v5, v10); v6 = CCMenuItemSpriteExtra::init((CCMenuItemSpriteExtra *)v3, v5, nullptr, nullptr, (cocos2d::SEL_MenuHandler)0); if ( v6 ) { CCMenuItemSpriteExtra::setSizeMult((CCMenuItemSpriteExtra *)v3, 1.5); std::string::operator=((std::string *)v3 + 21, &__str); std::string::operator=((std::string *)v3 + 22, &v9); } if ( (*(_BYTE *)&v9.__r_.__value_.__s.0 & 1) == 0 ) { if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_10; LABEL_13: operator delete(__str.__r_.__value_.__l.__data_); if ( v6 ) goto LABEL_11; LABEL_14: (*(void (__fastcall **)(char *))(*(_QWORD *)v3 + 16LL))(v3); return nullptr; } operator delete(v9.__r_.__value_.__l.__data_); if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) != 0 ) goto LABEL_13; LABEL_10: if ( !v6 ) goto LABEL_14; LABEL_11: cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3); return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source