// // MultiTriggerPopup::init from 0x140469600 to 0x140469873 (627 bytes) // // 3 xrefs: // > MultiTriggerPopup::create @ 0x1404695be // > @ 0x1406db15c // > @ 0x1406db168 // // 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 MultiTriggerPopup::init(MultiTriggerPopup *a1, EffectGameObject *a2, cocos2d::CCArray *a3) { bool result; // al double v5; // xmm0_8 __int64 v6; // rcx cocos2d::CCDirector *v7; // rax int v8; // eax cocos2d::CCPoint v9; // [rsp+58h] [rbp-9h] BYREF __int128 v10; // [rsp+60h] [rbp-1h] BYREF __int64 v11; // [rsp+70h] [rbp+Fh] __int64 v12; // [rsp+78h] [rbp+17h] __int128 v13; // [rsp+80h] [rbp+1Fh] BYREF __int64 v14; // [rsp+90h] [rbp+2Fh] __int64 v15; // [rsp+98h] [rbp+37h] float v16; // [rsp+E0h] [rbp+7Fh] result = SetupTriggerPopup::init(a1, a2, a3, 200.0, 120.0, 1); if ( result ) { a1->m_disableTextDelegate = 1; a1->determineStartValues(a1); v10 = 0; v11 = 5; v12 = 15; strcpy((char *)&v10, "Setup"); SetupTriggerPopup::addTitle(a1, &v10); v10 = 0; v11 = 2; v12 = 15; strcpy((char *)&v10, "OK"); SetupTriggerPopup::addCloseButton(a1, &v10); v10 = 0; v11 = 0; v12 = 15; *(_QWORD *)&v10 = sub_14003AA10(0x50u); v11 = 74; v12 = 79; strcpy((char *)v10, "Allow Multi makes it so the object can be activated several times."); v13 = 0; v14 = 4; v15 = 15; strcpy((char *)&v13, "Help"); v5 = SetupTriggerPopup::addHelpButton(a1, &v13, &v10); v7 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v6); cocos2d::CCDirector::getWinSize(v7); cocos2d::CCPoint::CCPoint(*(float *)&v5, (float)(v16 * 0.5) - 30.0); v11 = 11; v12 = 15; *(_QWORD *)&v10 = 0x754D20776F6C6C41LL; *((_QWORD *)&v10 + 1) = 6911084; cocos2d::CCPoint::CCPoint(&v9); SetupTriggerPopup::createToggleValueControl((_DWORD)a1, 87, (unsigned int)&v10, v8, 0, 0, 0, 1065353216); a1->updateDefaultTriggerValues(a1); a1->m_disableTextDelegate = 0; return 1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source