// // SetupTriggerPopup::init from 0x100219540 to 0x10021997c (1084 bytes) // // 137 xrefs: // > SetupRotateCommandPopup::init @ 0x1000015ff // > SetupOpacityPopup::init @ 0x10001c99f // > SetupPickupTriggerPopup::init @ 0x10001df2b // > SetupAnimSettingsPopup::init @ 0x100061eed // > sub_100063390 @ 0x1000633bb // > CustomizeObjectSettingsPopup::init @ 0x1001dbc30 // > SetupKeyframeAnimPopup::init @ 0x1001e178b // > SetupKeyframePopup::init @ 0x1001e2665 // > SetupTriggerPopup::create @ 0x1002194f0 // > sub_100219980 @ 0x1002199c3 // > StartPosLayer::init @ 0x10025c591 // > sub_100272600 @ 0x10027262b // > SetupSpawnPopup::init @ 0x10027a9cf // > EditTriggersPopup::init @ 0x100285a3c // > sub_100285EA0 @ 0x100285ecf // > GJOptionsLayer::init @ 0x100286878 // > EditGameObjectPopup::init @ 0x10029783e // > UIOptionsLayer::init @ 0x1002a02b6 // > UISaveLoadLayer::init @ 0x1002a3002 // > UIPOptionsLayer::init @ 0x1002a51a0 // > SetupTouchTogglePopup::init @ 0x1002a6bff // > sub_1002A7EA0 @ 0x1002a7ed9 // > SetupCountTriggerPopup::init @ 0x1002a941b // > SetupShaderEffectPopup::init @ 0x1002b2e0b // > SetupSongTriggerPopup::init @ 0x1002bfd4f // > sub_1002C1E30 @ 0x1002c1e5d // > SetupAdvFollowPopup::init @ 0x1002f009f // > sub_1002F5170 @ 0x1002f519d // > sub_1002F6130 @ 0x1002f615b // > SetupObjectOptions2Popup::init @ 0x1003063db // > SetupZoomTriggerPopup::init @ 0x10030c5bd // > SetupTeleportPopup::init @ 0x100344358 // > sub_100350460 @ 0x10035048b // > SetupObjectTogglePopup::init @ 0x10035f0f6 // > SetupRandAdvTriggerPopup::init @ 0x10037876f // > SetupCollisionTriggerPopup::init @ 0x1003803ab // > SetupInstantCollisionTriggerPopup::init @ 0x100380f3b // > SetupCollisionStateTriggerPopup::init @ 0x10038196b // > SetupTransformPopup::init @ 0x100384d3d // > sub_10038A630 @ 0x10038a65b // > sub_10038AFD0 @ 0x10038affb // > sub_10038B5F0 @ 0x10038b61b // > SetupPulsePopup::init @ 0x1003939ff // > sub_1003BDEC0 @ 0x1003bdeef // > CreateStartPosPopup::init @ 0x1003c4661 // > sub_1003DDDD0 @ 0x1003dde02 // > SetupCameraModePopup::init @ 0x1004a1c8f // > SetupReverbPopup::init @ 0x1004b0e2f // > SetupSFXPopup::init @ 0x1004b1b12 // > SetupSFXEditPopup::init @ 0x1004b4082 // > sub_1004B59F0 @ 0x1004b5a1f // > sub_1004B7A70 @ 0x1004b7a9d // > SetupGravityTriggerPopup::init @ 0x1004bf42b // > SetupAreaMoveTriggerPopup::init @ 0x1004cdbab // > SetupAreaTransformTriggerPopup::init @ 0x1004d0c0b // > sub_1004D1A60 @ 0x1004d1a8b // > sub_1004D2720 @ 0x1004d274b // > SetupAreaTintTriggerPopup::init @ 0x1004d342f // > SetupAreaTriggerPopup::init @ 0x1004d4aeb // > SetupAreaAnimTriggerPopup::init @ 0x1004d5622 // > SetupSequenceTriggerPopup::init @ 0x1004d8931 // > SetupTimeWarpPopup::init @ 0x1005019dc // > GJRateLevelLayer::init @ 0x10050499f // > sub_1005070C0 @ 0x100507105 // > GJRateEditorSoundLayer::init @ 0x100508f62 // > sub_100509EF0 @ 0x100509f1f // > SetupBGSpeedTrigger::init @ 0x10050c162 // > sub_10050F430 @ 0x10050f45b // > sub_100511B80 @ 0x100511bad // > SetupEventLinkPopup::init @ 0x1005a4a0f // > SelectEventLayer::init @ 0x1005a5607 // > SetupPlayerControlPopup::init @ 0x1005a7ddf // > sub_1005A84B0 @ 0x1005a84db // > SetupCheckpointPopup::init @ 0x1005a91bb // > MultiTriggerPopup::init @ 0x1005a97db // > UIObjectSettingsPopup::init @ 0x1005a9b5f // > sub_1005AA8B0 @ 0x1005aa8db // > SetupItemEditTriggerPopup::init @ 0x1005aac6f // > SetupItemCompareTriggerPopup::init @ 0x1005ad39f // > SetupCoinLayer::init @ 0x1005af5be // > SetupPersistentItemTriggerPopup::init @ 0x1005afa6b // > SetupAudioLineGuidePopup::init @ 0x1005b016f // > SetupCameraGuidePopup::init @ 0x1005b0acb // > SetupForceBlockPopup::init @ 0x1005b116b // > SetupArtSwitchPopup::init @ 0x1005b1a0e // > SetupStopTriggerPopup::init @ 0x1005b222d // > sub_1005B2A90 @ 0x1005b2abd // > sub_1005B2E60 @ 0x1005b2e8b // > SetupDashRingPopup::init @ 0x1005b358b // > KeybindCapturePopup::init @ 0x1005b3ca4 // > AutoSaveSettingsLayer::init @ 0x1005bc413 // > GameSettingsLayer::init @ 0x1005fe4f4 // > sub_100648530 @ 0x10064855f // > SetupRotatePopup::init @ 0x10066e32f // > SetupRandTriggerPopup::init @ 0x1006b8e3f // > SetupOptionsTriggerPopup::init @ 0x1006ba4bd // > SetupInstantCountPopup::init @ 0x1006bc05f // > sub_1006C4830 @ 0x1006c485f // > SetupMoveCommandPopup::init @ 0x1006dee4f // > KeybindingsLayer::init @ 0x1006e16d3 // > SetupCameraOffsetTrigger::init @ 0x100740acf // > SetupShakePopup::init @ 0x10074367f // > SetupEndPopup::init @ 0x100747fa2 // > SetupPlatformerEndPopup::init @ 0x100748d2b // > ColorSelectPopup::init @ 0x100803cb2 // > SetupRotateGameplayPopup::init @ 0x10087833d // > SetupGameplayOffsetPopup::init @ 0x10087900f // > AudioAssetsPopup::init @ 0x1008b36df // > ClearPlatformerSavesOptionsPopup::init @ 0x1008b51f3 // > CreatorSettingsPopup::init @ 0x1008b6396 // > DeathMarkerSettingsPopup::init @ 0x1008c67a4 // > sub_1008C8B30 @ 0x1008c8b83 // > sub_1008CA190 @ 0x1008ca1c6 // > sub_1008DCDF0 @ 0x1008dce3a // > EditorSFXActionConfigLayer::init @ 0x1008df336 // > sub_1008EE9C0 @ 0x1008ee9f6 // > sub_1008EF050 @ 0x1008ef09b // > sub_1008F3770 @ 0x1008f37ac // > SoundPackDescPopup::init @ 0x1008fa1bc // > sub_1008FB260 @ 0x1008fb2a5 // > sub_1008FD5B0 @ 0x1008fd5e3 // > EditorWindowPopup::initWindow @ 0x1008ffee3 // > sub_10093ADB0 @ 0x10093ae03 // > ThreadOptionsPopup::init @ 0x10094953a // > sub_10094F400 @ 0x10094f463 // > ThreadSearchPopup::init @ 0x100950950 // > ThreadDescPopup::buildUI @ 0x1009523cc // > PlatformerControlsPopup::init @ 0x10095d6cf // > sub_100964B50 @ 0x100964c0e // > CommentOptionsPopup::init @ 0x100967bd3 // > TouchControlEditLayer::init @ 0x100977d44 // > ControlSlotsPopup::init @ 0x10097bd86 // > sub_100982340 @ 0x10098237a // > NotificationFilterPopup::init @ 0x10098cab6 // > sub_10098E530 @ 0x10098e57e // > sub_100993790 @ 0x1009938d1 // > sub_1009A4C50 @ 0x1009a4dd9 // // 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 12:27:01 +0000 // __int64 __fastcall SetupTriggerPopup::init(__int64 a1, __int64 a2, __int64 a3, int a4, float a5, float a6, float a7) { __int64 v9; // r15 __int64 result; // rax unsigned int v12; // r13d __int64 v13; // rax __int64 v14; // rdi __int64 v15; // rax __int64 v16; // rdi __int64 v17; // rax __int64 v18; // rdi __int64 v19; // rax __int64 v20; // rdi __int64 v21; // rax __int64 v22; // rdi __int64 v23; // rax __int64 v24; // rdi __int64 v25; // rax __int64 v26; // rdi __int64 v27; // rax __int64 v28; // rdi __int64 v29; // rax __int64 v30; // rdi __int64 v31; // rax __int64 v32; // rdi __int64 v33; // rax __int64 v34; // rdi __int64 v35; // rax __int64 v36; // rdi __int64 v37; // rax __int64 v38; // rdi __int64 v39; // rax __int64 v40; // rdi __int64 v41; // rax __int64 v42; // rdi __int64 v43; // rax __int64 v44; // rdi __int64 v45; // rax __int64 v46; // rdi __int64 v47; // rax __int64 v48; // rax __int64 v49; // rax __int64 CString; // r15 __int64 v51; // r15 __int64 v52; // r14 __int64 v53; // rax __int64 v54; // r14 __int64 v55; // rax char v56; // [rsp+0h] [rbp-50h] _BYTE v57[16]; // [rsp+4h] [rbp-4Ch] BYREF float v58; // [rsp+14h] [rbp-3Ch] float v59; // [rsp+18h] [rbp-38h] BYREF float v60; // [rsp+1Ch] [rbp-34h] float v61; // [rsp+20h] [rbp-30h] float v62; // [rsp+24h] [rbp-2Ch] v58 = a7; v62 = a6; v61 = a5; v9 = a2; result = FLAlertLayer::init_1(a1, 150); if ( (_BYTE)result ) { v12 = result; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1088LL))(a1, 1); v13 = sub_1007FE900(a1); *(_QWORD *)(a1 + 912) = v13; v14 = v13; cocos2d::CCObject::retain(v13); v15 = sub_1007FE900(v14); *(_QWORD *)(a1 + 928) = v15; v16 = v15; cocos2d::CCObject::retain(v15); v17 = cocos2d::CCDictionary::create(v16, 1); *(_QWORD *)(a1 + 760) = v17; v18 = v17; cocos2d::CCObject::retain(v17); v19 = cocos2d::CCDictionary::create(v18, 1); *(_QWORD *)(a1 + 768) = v19; v20 = v19; cocos2d::CCObject::retain(v19); v21 = cocos2d::CCDictionary::create(v20, 1); *(_QWORD *)(a1 + 752) = v21; v22 = v21; cocos2d::CCObject::retain(v21); v23 = cocos2d::CCDictionary::create(v22, 1); *(_QWORD *)(a1 + 776) = v23; v24 = v23; cocos2d::CCObject::retain(v23); v25 = cocos2d::CCDictionary::create(v24, 1); *(_QWORD *)(a1 + 824) = v25; v26 = v25; cocos2d::CCObject::retain(v25); v27 = cocos2d::CCDictionary::create(v26, 1); *(_QWORD *)(a1 + 832) = v27; v28 = v27; cocos2d::CCObject::retain(v27); v29 = cocos2d::CCDictionary::create(v28, 1); *(_QWORD *)(a1 + 840) = v29; v30 = v29; cocos2d::CCObject::retain(v29); v31 = cocos2d::CCDictionary::create(v30, 1); *(_QWORD *)(a1 + 848) = v31; v32 = v31; cocos2d::CCObject::retain(v31); v33 = cocos2d::CCDictionary::create(v32, 1); *(_QWORD *)(a1 + 944) = v33; v34 = v33; cocos2d::CCObject::retain(v33); v35 = cocos2d::CCDictionary::create(v34, 1); *(_QWORD *)(a1 + 952) = v35; v36 = v35; cocos2d::CCObject::retain(v35); v37 = cocos2d::CCDictionary::create(v36, 1); *(_QWORD *)(a1 + 936) = v37; v38 = v37; cocos2d::CCObject::retain(v37); v39 = cocos2d::CCDictionary::create(v38, 1); *(_QWORD *)(a1 + 960) = v39; v40 = v39; cocos2d::CCObject::retain(v39); v41 = cocos2d::CCDictionary::create(v40, 1); *(_QWORD *)(a1 + 968) = v41; v42 = v41; cocos2d::CCObject::retain(v41); v43 = cocos2d::CCDictionary::create(v42, 1); *(_QWORD *)(a1 + 784) = v43; v44 = v43; cocos2d::CCObject::retain(v43); v45 = cocos2d::CCDictionary::create(v44, 1); *(_QWORD *)(a1 + 1000) = v45; v46 = v45; cocos2d::CCObject::retain(v45); v47 = 680; if ( a2 || (v47 = 688, (v9 = a3) != 0) ) { *(_QWORD *)(a1 + v47) = v9; v46 = v9; cocos2d::CCObject::retain(v9); } *(float *)(a1 + 732) = v61; *(float *)(a1 + 736) = v62; *(float *)(a1 + 740) = v58; *(_BYTE *)(a1 + 596) = 1; *(_BYTE *)(a1 + 744) = 1; v48 = cocos2d::CCDirector::sharedDirector(v46, 1); cocos2d::CCDirector::getWinSize(&v59, v48); v49 = sub_10088E820("GJ_square0%i.png", v56); CString = cocos2d::CCString::getCString(v49); sub_100278270(v57, 0.0, 0.0, COERCE_DOUBLE(1117782016), COERCE_DOUBLE(1117782016)); v51 = cocos2d::extension::CCScale9Sprite::create_2(CString, v57); sub_100278260(v57, COERCE_DOUBLE((unsigned __int64)LODWORD(v61)), COERCE_DOUBLE((unsigned __int64)LODWORD(v62))); (*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v51 + 320LL))(v51, v57); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 584) + 464LL))( *(_QWORD *)(a1 + 584), v51, 4294967294LL); sub_100278250(v57, v59 * 0.5, (float)(v60 * 0.5) + *(float *)(a1 + 740)); (*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v51 + 184LL))(v51, v57); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v51 + 72LL))(v51, 1); if ( a4 == 7 ) { sub_100278270(v57, 0.0, 0.0, COERCE_DOUBLE(1117782016), COERCE_DOUBLE(1117782016)); v52 = cocos2d::extension::CCScale9Sprite::create_2("GJ_square06.png", v57); sub_100278260(v57, COERCE_DOUBLE((unsigned __int64)LODWORD(v61)), COERCE_DOUBLE((unsigned __int64)LODWORD(v62))); (*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v52 + 320LL))(v52, v57); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 584) + 464LL))( *(_QWORD *)(a1 + 584), v52, 4294967294LL); sub_100278250(v57, v59 * 0.5, (float)(v60 * 0.5) + *(float *)(a1 + 740)); (*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v52 + 184LL))(v52, v57); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v52 + 72LL))(v52, 3); } v53 = cocos2d::CCMenu::create(); *(_QWORD *)(a1 + 552) = v53; (*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 584) + 464LL))(*(_QWORD *)(a1 + 584), v53, 10); v54 = *(_QWORD *)(a1 + 552); sub_100278250( v57, v59 * 0.5, (float)((float)((float)(0.5 * v60) - (float)(v62 * 0.5)) + 24.0) + *(float *)(a1 + 740)); (*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v54 + 184LL))(v54, v57); *(_DWORD *)(a1 + 640) = -1; v55 = sub_1007FE900(v54); *(_QWORD *)(a1 + 720) = v55; cocos2d::CCObject::retain(v55); return v12; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source