// // SetupZoomTriggerPopup::init from 0x140615e20 to 0x140616218 (1016 bytes) // // 3 xrefs: // > SetupZoomTriggerPopup::create @ 0x140615dde // > @ 0x140930128 // > @ 0x140930134 // // 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:35:17 +0000 // // Hidden C++ exception states: #wind=3 bool __fastcall SetupZoomTriggerPopup::init(float *a1, cocos2d::CCObject *a2, cocos2d::CCObject *a3) { bool result; // al __int64 v5; // rcx __int64 v6; // rax __int64 v7; // rax __int64 v8; // rax __int64 v9; // rax __int64 v10; // r9 float v11[2]; // [rsp+88h] [rbp-29h] BYREF __int128 *v12; // [rsp+90h] [rbp-21h] BYREF __int128 *v13; // [rsp+98h] [rbp-19h] BYREF __int128 *v14; // [rsp+A0h] [rbp-11h] BYREF __int128 v15; // [rsp+A8h] [rbp-9h] BYREF __int64 v16; // [rsp+B8h] [rbp+7h] __int64 v17; // [rsp+C0h] [rbp+Fh] __int128 v18; // [rsp+C8h] [rbp+17h] BYREF __int64 v19; // [rsp+D8h] [rbp+27h] __int64 v20; // [rsp+E0h] [rbp+2Fh] char v21; // [rsp+130h] [rbp+7Fh] BYREF result = SetupTriggerPopup::init((__int64)a1, a2, a3, 360.0, 220.0, 1, 0); if ( result ) { *((_BYTE *)a1 + 744) = 1; (*(void (__fastcall **)(float *))(*(_QWORD *)a1 + 1096LL))(a1); v6 = cocos2d::CCDirector::sharedDirector(v5); cocos2d::CCDirector::getWinSize(v6, v11); *((_QWORD *)&v15 + 1) = 28015; v16 = 10; v17 = 15; *(_QWORD *)&v15 = 0x6F5A207075746553LL; SetupTriggerPopup::addTitle((__int64)a1, (const char *)&v15); v15 = 0; v16 = 2; v17 = 15; strcpy((char *)&v15, "OK"); SetupTriggerPopup::addCloseButton((__int64)a1, (__int64 *)&v15); v12 = &v15; v15 = 0; v16 = 0; v17 = 0; *(_QWORD *)&v15 = sub_14003D460(0x80u); v16 = 123; v17 = 127; strcpy( (char *)v15, "Zooms the camera a given amount.\n" "Time is how fast the zoom happens.\n" "Easing changes the method used."); v18 = 0; v19 = 4; v20 = 15; strcpy((char *)&v18, "Help"); SetupTriggerPopup::addHelpButton((__int64)a1, (__int64)&v18, (__int64)&v15, 1.0); SetupTriggerPopup::createMultiTriggerItemsDefault(a1); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v21, v11[0] * 0.5, v11[1] * 0.5); v13 = &v15; v15 = 0; v16 = 5; v17 = 15; strcpy((char *)&v15, "Zoom:"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v14, 0.0, 55.0); cocos2d::CCPoint::operator+(&v21, &v12, v7); SetupTriggerPopup::createValueControlAdvanced( (__int64)a1, 371, (__int64)&v15, (__int64)&v12, 1060320051, 0, 1, 4, 0, 0x3ECCCCCDu, 1077936128, 0, 0, 0, 3, 0); v14 = &v15; v15 = 0; v16 = 5; v17 = 15; strcpy((char *)&v15, "Time:"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v13, -80.0, 0.0); cocos2d::CCPoint::operator+(&v21, &v12, v8); SetupTriggerPopup::createValueControlAdvanced( (__int64)a1, 10, (__int64)&v15, (__int64)&v12, 1060320051, 0, 1, 4, 0, 0, 1092616192, 0, 0, 0, 2, 0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v14, 80.0, 0.0); cocos2d::CCPoint::operator+(&v21, &v12, v9); SetupTriggerPopup::createEasingControls((__int64)a1, (__int64)&v12, 0.69999999, v10, 0); (*(void (__fastcall **)(float *))(*(_QWORD *)a1 + 1136LL))(a1); *((_BYTE *)a1 + 744) = 0; return 1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source