// // SetupResetTriggerPopup::init from 0x14046a750 to 0x14046aa33 (739 bytes) // // 3 xrefs: // > SetupResetTriggerPopup::create @ 0x14046a70e // > @ 0x1406db198 // > @ 0x1406db1a4 // // 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 SetupResetTriggerPopup::init(SetupResetTriggerPopup *a1, EffectGameObject *a2, cocos2d::CCArray *a3) { bool result; // al double v5; // xmm0_8 __int64 v6; // rcx cocos2d::CCDirector *v7; // rax int v8; // eax char v9; // [rsp+78h] [rbp-11h] cocos2d::CCPoint v10; // [rsp+90h] [rbp+7h] BYREF __int128 v11; // [rsp+98h] [rbp+Fh] BYREF __int64 v12; // [rsp+A8h] [rbp+1Fh] __int64 v13; // [rsp+B0h] [rbp+27h] __int128 v14; // [rsp+B8h] [rbp+2Fh] BYREF __int64 v15; // [rsp+C8h] [rbp+3Fh] __int64 v16; // [rsp+D0h] [rbp+47h] float v17; // [rsp+108h] [rbp+7Fh] result = SetupTriggerPopup::init(a1, a2, a3, 300.0, 220.0, 1); if ( result ) { a1->m_disableTextDelegate = 1; a1->determineStartValues(a1); v12 = 13; v13 = 15; strcpy((char *)&v11, "Reset Trigger"); HIWORD(v11) = 0; SetupTriggerPopup::addTitle(a1, &v11); v11 = 0; v12 = 2; v13 = 15; strcpy((char *)&v11, "OK"); SetupTriggerPopup::addCloseButton(a1, &v11); v11 = 0; v12 = 0; v13 = 15; *(_QWORD *)&v11 = sub_14003AA10(0xA0u); v12 = 149; v13 = 159; strcpy( (char *)v11, "Resets certain objects, such as collectables and checkpoints, given by Group ID. These will then r" "eappear and can be collected again."); v14 = 0; v15 = 4; v16 = 15; strcpy((char *)&v14, "Help"); v5 = SetupTriggerPopup::addHelpButton(a1, &v14, &v11); SetupTriggerPopup::createMultiTriggerItemsDefault(a1); v7 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v6); cocos2d::CCDirector::getWinSize(v7); cocos2d::CCPoint::CCPoint(*(float *)&v5, v17 * 0.5); *((_QWORD *)&v11 + 1) = 58; v12 = 9; v13 = 15; *(_QWORD *)&v11 = 0x44492070756F7247LL; cocos2d::CCPoint::CCPoint(&v10); v9 = 0; SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, 51, (unsigned int)&v11, v8, 1061997773, 1, 2, 10, 1, 0, 1176255488, 0, 0, 0, 0, v9); a1->updateDefaultTriggerValues(a1); a1->m_disableTextDelegate = 0; return 1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source