// // SetupTriggerPopup::addCloseButton from 0x140474930 to 0x140474a37 (263 bytes) // // 69 xrefs: // > CustomizeObjectSettingsPopup::init @ 0x1400aa1c7 // > SetupMoveCommandPopup::init @ 0x140280a8b // > SetupEnterTriggerPopup::init @ 0x14028f34d // > EditGameObjectPopup::init @ 0x14029b002 // > UISaveLoadLayer::init @ 0x1402a41bb // > SetupRotateCommandPopup::init @ 0x1402a7ee0 // > SetupObjectOptions2Popup::init @ 0x140400b87 // > SetItemIDLayer::init @ 0x14040123a // > SetTargetIDLayer::init @ 0x140401f6a // > SetupAdvFollowPopup::init @ 0x1404025d7 // > SetupAdvFollowEditPhysicsPopup::init @ 0x1404073d8 // > SetupAdvFollowRetargetPopup::init @ 0x140408330 // > SetupAnimSettingsPopup::init @ 0x14040a391 // > SetupAreaMoveTriggerPopup::init @ 0x14040b5d6 // > SetupAreaTransformTriggerPopup::init @ 0x14040e1dc // > SetupAreaRotateTriggerPopup::init @ 0x14040ea93 // > SetupAreaFadeTriggerPopup::init @ 0x14040f1e2 // > SetupAreaTintTriggerPopup::init @ 0x14040f9f6 // > SetupAreaTriggerPopup::init @ 0x14041098f // > SetupAreaAnimTriggerPopup::init @ 0x140410f78 // > SetupCameraRotatePopup2::init @ 0x140417bef // > SetupInstantCollisionTriggerPopup::init @ 0x14041a049 // > SetupCollisionStateTriggerPopup::init @ 0x14041aaa5 // > SetupPlatformerEndPopup::init @ 0x14041dc54 // > SetupEnterEffectPopup::init @ 0x14041e30d // > SetupInteractObjectPopup::init @ 0x140423ba8 // > SetupKeyframeAnimPopup::init @ 0x1404248ff // > SetupKeyframePopup::init @ 0x140425572 // > SetupBGSpeedTrigger::init @ 0x140428c74 // > SetupGravityTriggerPopup::init @ 0x14042931b // > SetupObjectTogglePopup::init @ 0x140429ecb // > SetupOptionsTriggerPopup::init @ 0x140435fce // > SetupPickupTriggerPopup::init @ 0x140436c16 // > SetupRotateGameplayPopup::init @ 0x140441636 // > SetupGameplayOffsetPopup::init @ 0x14044212e // > SetupRotatePopup::init @ 0x140442b66 // > SetupReverbPopup::init @ 0x140446904 // > SetupSFXPopup::init @ 0x140447367 // > SetupSFXEditPopup::init @ 0x14044963b // > SetupShaderEffectPopup::init @ 0x14044a34f // > SetupSongTriggerPopup::init @ 0x14045cb44 // > SetupSpawnPopup::init @ 0x14045e1be // > SetupStaticCameraPopup::init @ 0x14045ff09 // > SetupTeleportPopup::init @ 0x140460ac6 // > SetupTimerTriggerPopup::init @ 0x140461f03 // > SetupTimerEventTriggerPopup::init @ 0x14046289c // > SetupTimerControlTriggerPopup::init @ 0x140462eef // > SetupTransformPopup::init @ 0x140465189 // > SetupEventLinkPopup::init @ 0x140466029 // > SelectEventLayer::init @ 0x1404667ab // > SetupPlayerControlPopup::init @ 0x140467e70 // > SetupSpawnParticlePopup::init @ 0x140468553 // > SetupCheckpointPopup::init @ 0x140469072 // > MultiTriggerPopup::init @ 0x1404696c1 // > UIObjectSettingsPopup::init @ 0x140469a8f // > SetupResetTriggerPopup::init @ 0x14046a819 // > SetupItemEditTriggerPopup::init @ 0x14046acce // > SetupItemCompareTriggerPopup::init @ 0x14046d500 // > SetupCoinLayer::init @ 0x14046f646 // > SetupPersistentItemTriggerPopup::init @ 0x14046faff // > SetupAudioLineGuidePopup::init @ 0x140470092 // > SetupCameraGuidePopup::init @ 0x1404709ff // > SetupForceBlockPopup::init @ 0x1404710e4 // > SetupArtSwitchPopup::init @ 0x140471fc7 // > SetupStopTriggerPopup::init @ 0x14047271d // > SetupObjectControlPopup::init @ 0x140473009 // > SetupDashRingPopup::init @ 0x1404732c0 // > SetupZoomTriggerPopup::init @ 0x14047e23d // > @ 0x1406db4a4 // // 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=2 void __fastcall SetupTriggerPopup::addCloseButton(__int64 a1, const char *a2) { const char *v4; // rsi ButtonSprite *v5; // rdi CCMenuItemSpriteExtra *v6; // rax ButtonSprite *v7; // [rsp+50h] [rbp-38h] v4 = a2; if ( *((_QWORD *)a2 + 3) > 0xFu ) v4 = *(const char **)a2; v7 = (ButtonSprite *)operator new(0x2C0u); v5 = ButtonSprite::ButtonSprite(v7); if ( v5 ) { if ( ButtonSprite::init_1(v5, v4, 40, 0, 0.80000001, 1, "goldFont.fnt", "GJ_button_01.png", 30.0) ) { cocos2d::CCObject::autorelease(v5); } else { ((void (__fastcall *)(ButtonSprite *, __int64))v5->~ButtonSprite)(v5, 1); v5 = nullptr; } } v6 = CCMenuItemSpriteExtra::create(v5, nullptr, (cocos2d::CCObject *)a1, (cocos2d::SEL_MenuHandler *)sub_14009BEF0); (*(void (__fastcall **)(_QWORD, CCMenuItemSpriteExtra *))(**(_QWORD **)(a1 + 544) + 448LL))(*(_QWORD *)(a1 + 544), v6); sub_14003A830((__int64)a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source