// // SetupTriggerPopup::createEasingControls from 0x140613b40 to 0x1406143b5 (2165 bytes) // // 24 xrefs: // > SetupMoveCommandPopup::init @ 0x14038f6ff // > SetupRotateCommandPopup::init @ 0x1403ae94b // > SetupCameraRotatePopup2::init @ 0x1405af74b // > SetupKeyframePopup::init @ 0x1405bae82 // > SetupShaderEffectPopup::setupShockWave @ 0x1405e1b0a // > SetupShaderEffectPopup::setupShockLine @ 0x1405e2d54 // > SetupShaderEffectPopup::setupChromatic @ 0x1405e3a30 // > SetupShaderEffectPopup::setupChromaticGlitch @ 0x1405e42c6 // > SetupShaderEffectPopup::setupPixelate @ 0x1405e4974 // > SetupShaderEffectPopup::setupLensCircle @ 0x1405e5345 // > SetupShaderEffectPopup::setupRadialBlur @ 0x1405e5ddb // > SetupShaderEffectPopup::setupMotionBlur @ 0x1405e69a4 // > SetupShaderEffectPopup::setupBulge @ 0x1405e72cb // > SetupShaderEffectPopup::setupPinch @ 0x1405e7eab // > SetupShaderEffectPopup::setupGrayscale @ 0x1405e83da // > SetupShaderEffectPopup::setupSepia @ 0x1405e8703 // > SetupShaderEffectPopup::setupInvertColor @ 0x1405e8d62 // > SetupShaderEffectPopup::setupHueShift @ 0x1405e90b3 // > SetupShaderEffectPopup::setupColorChange @ 0x1405e96d2 // > SetupShaderEffectPopup::setupSplitScreen @ 0x1405e9e2e // > SetupStaticCameraPopup::init @ 0x1405f64ed // > SetupTransformPopup::init @ 0x1405fb662 // > SetupZoomTriggerPopup::init @ 0x1406161df // > @ 0x140930020 // // 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 // __int64 __fastcall SetupTriggerPopup::createEasingControls( __int64 a1, __int64 a2, float a3, __int64 a4, unsigned int a5) { struct cocos2d::CCObject *PageContainer; // rax int v8; // r15d cocos2d::CCArray *v9; // r12 struct cocos2d::CCObject *GroupContainer; // rax cocos2d::CCArray *v11; // rbp struct cocos2d::CCObject *v12; // r14 struct cocos2d::CCLabelBMFont *v13; // rax __int64 v14; // rcx __int64 v15; // rax __int64 v16; // rbx __int64 v17; // rax float v18; // xmm11_4 struct cocos2d::CCSprite *v19; // rdi __int64 v20; // rdx struct cocos2d::CCLabelBMFont *v21; // rax __int64 v22; // rax __int64 v23; // rbx __int64 v24; // rax cocos2d::CCObject *v25; // rax __int64 v26; // rcx __int64 v27; // rax __int64 v28; // rbx __int64 v29; // rax __int64 v30; // rdi void (__fastcall *v31)(__int64, __int64); // rbx __int64 v32; // rax int v33; // r8d cocos2d::CCSprite *v34; // rbx struct cocos2d::CCObject *v35; // rdi __int64 v36; // rax __int64 v37; // rbx __int64 v38; // rax void (__fastcall *v39)(struct cocos2d::CCObject *, __int64); // rbx __int64 v40; // rax __int64 v41; // rax struct cocos2d::CCSprite *v42; // rax int v43; // ebx struct cocos2d::CCObject *v44; // rdi __int64 v45; // rax __int64 v46; // rbx __int64 v47; // rax void (__fastcall *v48)(struct cocos2d::CCObject *, __int64); // rbx __int64 v49; // rax __int64 v50; // rax __int64 v51; // rcx bool v52; // zf cocos2d::CCArray *v53; // rbx unsigned int *v54; // rdx int v55; // ecx float v56; // xmm0_4 __int64 v57; // rax __int64 *v58; // rdx __int64 *v59; // r9 __int64 v60; // rax __int64 v61; // rax __int64 v62; // rax __int64 v63; // rax __int64 v64; // rax _BYTE v66[8]; // [rsp+40h] [rbp-98h] BYREF _BYTE v67[8]; // [rsp+48h] [rbp-90h] BYREF char v68; // [rsp+E0h] [rbp+8h] BYREF PageContainer = SetupTriggerPopup::getPageContainer(a1, 0); v8 = a5; v9 = PageContainer; GroupContainer = SetupTriggerPopup::getGroupContainer(a1, a5); *(float *)(a1 + 908) = a3; v11 = GroupContainer; v12 = cocos2d::CCLabelBMFont::create((const char *)&dword_1407EA4CC, "goldFont.fnt"); (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(*(_QWORD *)v12 + 184LL))(v12, a2); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCObject *))(**(_QWORD **)(a1 + 584) + 464LL))( *(_QWORD *)(a1 + 584), v12); (*(void (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v12 + 160LL))(v12); if ( v8 > 0 ) cocos2d::CCArray::addObject(v11, v12); cocos2d::CCArray::addObject(v9, v12); v13 = cocos2d::CCLabelBMFont::create(" ", &qword_140704F78); v14 = *(_QWORD *)(a1 + 584); *(_QWORD *)(a1 + 792) = v13; (*(void (__fastcall **)(__int64, struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v14 + 464LL))(v14, v13); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v66, 0.0, a3 * -30.0); v16 = v15; v17 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v12 + 200LL))(v12); cocos2d::CCPoint::operator+(v17, &v68, v16); (*(void (__fastcall **)(_QWORD, char *))(**(_QWORD **)(a1 + 792) + 184LL))(*(_QWORD *)(a1 + 792), &v68); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 792) + 160LL))(*(_QWORD *)(a1 + 792)); if ( v8 > 0 ) cocos2d::CCArray::addObject(v11, *(struct cocos2d::CCObject **)(a1 + 792)); cocos2d::CCArray::addObject(v9, *(struct cocos2d::CCObject **)(a1 + 792)); v18 = a3 * 100.0; v19 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_colorBtn_001.png"); (**((void (__fastcall ***)(__int64, void *))v19 + 40))((__int64)v19 + 320, &unk_1407046A4); LOBYTE(v20) = 100; (*(void (__fastcall **)(__int64, __int64))(*((_QWORD *)v19 + 40) + 40LL))((__int64)v19 + 320, v20); v21 = cocos2d::CCLabelBMFont::create("0", &qword_140704F78); *(_QWORD *)(a1 + 800) = v21; (*(void (__fastcall **)(struct cocos2d::CCSprite *, struct cocos2d::CCLabelBMFont *))(*(_QWORD *)v19 + 464LL))( v19, v21); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 800) + 120LL))(*(_QWORD *)(a1 + 800)); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 800) + 136LL))(*(_QWORD *)(a1 + 800)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v66, 1.0, 1.5); v23 = v22; cocos2d::CCNode::convertToNodeSpace(v19, v67, &unk_14090BC48); cocos2d::CCPoint::operator+(v24, &v68, v23); (*(void (__fastcall **)(_QWORD, char *))(**(_QWORD **)(a1 + 800) + 184LL))(*(_QWORD *)(a1 + 800), &v68); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v19 + 120LL))(v19); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v19 + 136LL))(v19); v25 = CCMenuItemSpriteExtra::create((int)v19, 0, a1, (__int64)SetupTriggerPopup::onEaseRate); v26 = *(_QWORD *)(a1 + 552); *(_QWORD *)(a1 + 808) = v25; (*(void (__fastcall **)(__int64, cocos2d::CCObject *))(*(_QWORD *)v26 + 464LL))(v26, v25); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v67, a3 * 55.0, a3 * -2.0); v28 = v27; v29 = (*(__int64 (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v12 + 200LL))(v12); cocos2d::CCPoint::operator+(v29, &v68, v28); v30 = *(_QWORD *)(a1 + 808); v31 = *(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v30 + 184LL); cocos2d::CCNode::convertToNodeSpace(*(_QWORD *)(a1 + 552), v66, &v68); v31(v30, v32); *(_DWORD *)(*(_QWORD *)(a1 + 808) + 372LL) = 1067030938; if ( v8 > 0 ) cocos2d::CCArray::addObject(v11, *(struct cocos2d::CCObject **)(a1 + 808)); cocos2d::CCArray::addObject(v9, *(struct cocos2d::CCObject **)(a1 + 808)); SetupTriggerPopup::addEasePreviewButton(a1, (_DWORD)v12, v33, 30, 85); v34 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_arrow_01_001.png"); cocos2d::CCSprite::setFlipX(v34, 1); (*(void (__fastcall **)(cocos2d::CCSprite *))(*(_QWORD *)v34 + 160LL))(v34); v35 = CCMenuItemSpriteExtra::create((int)v34, 0, a1, (__int64)SetupTriggerPopup::onEase); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCObject *))(**(_QWORD **)(a1 + 552) + 464LL))( *(_QWORD *)(a1 + 552), v35); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v67, v18, 0.0); v37 = v36; v38 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 792) + 200LL))(*(_QWORD *)(a1 + 792)); cocos2d::CCPoint::operator+(v38, &v68, v37); v39 = *(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(*(_QWORD *)v35 + 184LL); cocos2d::CCNode::convertToNodeSpace(*(_QWORD *)(a1 + 552), v66, &v68); v39(v35, v40); v41 = *(_QWORD *)v35; *((_DWORD *)v35 + 93) = 1068708659; (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(v41 + 64))(v35, 1); if ( v8 > 0 ) cocos2d::CCArray::addObject(v11, v35); cocos2d::CCArray::addObject(v9, v35); v42 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_arrow_01_001.png"); v43 = (int)v42; (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v42 + 160LL))(v42); v44 = CCMenuItemSpriteExtra::create(v43, 0, a1, (__int64)SetupTriggerPopup::onEase); (*(void (__fastcall **)(_QWORD, struct cocos2d::CCObject *))(**(_QWORD **)(a1 + 552) + 464LL))( *(_QWORD *)(a1 + 552), v44); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v67, -v18, 0.0); v46 = v45; v47 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 792) + 200LL))(*(_QWORD *)(a1 + 792)); cocos2d::CCPoint::operator+(v47, &v68, v46); v48 = *(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(*(_QWORD *)v44 + 184LL); cocos2d::CCNode::convertToNodeSpace(*(_QWORD *)(a1 + 552), v66, &v68); v48(v44, v49); v50 = *(_QWORD *)v44; *((_DWORD *)v44 + 93) = 1068708659; (*(void (__fastcall **)(struct cocos2d::CCObject *, _QWORD))(v50 + 64))(v44, 0); if ( v8 > 0 ) cocos2d::CCArray::addObject(v11, v44); cocos2d::CCArray::addObject(v9, v44); v52 = *(_QWORD *)(a1 + 680) == 0; *(_DWORD *)(a1 + 816) = -99999; *(_DWORD *)(a1 + 820) = -943501440; if ( v52 ) { v53 = *(cocos2d::CCArray **)(a1 + 688); } else { v53 = (cocos2d::CCArray *)cocos2d::CCArray::create(v51); cocos2d::CCArray::addObject(v53, *(struct cocos2d::CCObject **)(a1 + 680)); } if ( v53 ) { if ( cocos2d::CCArray::count(v53) ) { v54 = *((unsigned int **)v53 + 7); v55 = -99999; v56 = -99999.0; v57 = *v54; if ( (_DWORD)v57 ) { v58 = *((__int64 **)v54 + 2); v59 = &v58[v57 - 1]; if ( v58 <= v59 ) { if ( ((8 * (v57 - 1) + 8) & 0xFFFFFFFFFFFFFFF8uLL) < 0x20 ) { do { LABEL_57: v64 = *v58; if ( !*v58 ) break; if ( v55 == -99999 ) { v55 = *(_DWORD *)(v64 + 1512); } else if ( v55 != *(_DWORD *)(v64 + 1512) ) { v55 = -99998; } if ( v56 == -99999.0 ) { v56 = *(float *)(v64 + 1516); } else if ( v56 != *(float *)(v64 + 1516) ) { v56 = -99998.0; } ++v58; } while ( v58 <= v59 ); } else { while ( 1 ) { v60 = *v58; if ( !*v58 ) break; if ( v55 == -99999 ) { v55 = *(_DWORD *)(v60 + 1512); } else if ( v55 != *(_DWORD *)(v60 + 1512) ) { v55 = -99998; } if ( v56 == -99999.0 ) { v56 = *(float *)(v60 + 1516); } else if ( v56 != *(float *)(v60 + 1516) ) { v56 = -99998.0; } v61 = v58[1]; if ( !v61 ) break; if ( v55 == -99999 ) { v55 = *(_DWORD *)(v61 + 1512); } else if ( v55 != *(_DWORD *)(v61 + 1512) ) { v55 = -99998; } if ( v56 == -99999.0 ) { v56 = *(float *)(v61 + 1516); } else if ( v56 != *(float *)(v61 + 1516) ) { v56 = -99998.0; } v62 = v58[2]; if ( !v62 ) break; if ( v55 == -99999 ) { v55 = *(_DWORD *)(v62 + 1512); } else if ( v55 != *(_DWORD *)(v62 + 1512) ) { v55 = -99998; } if ( v56 == -99999.0 ) { v56 = *(float *)(v62 + 1516); } else if ( v56 != *(float *)(v62 + 1516) ) { v56 = -99998.0; } v63 = v58[3]; if ( !v63 ) break; if ( v55 == -99999 ) { v55 = *(_DWORD *)(v63 + 1512); } else if ( v55 != *(_DWORD *)(v63 + 1512) ) { v55 = -99998; } if ( v56 == -99999.0 ) { v56 = *(float *)(v63 + 1516); } else if ( v56 != *(float *)(v63 + 1516) ) { v56 = -99998.0; } v58 += 4; if ( v58 > v59 - 3 ) { if ( v58 > v59 ) break; goto LABEL_57; } } } if ( v55 != -99999 ) *(_DWORD *)(a1 + 816) = v55; if ( v56 != -99999.0 ) *(float *)(a1 + 820) = v56; } } } } SetupTriggerPopup::updateEaseLabel(a1); SetupTriggerPopup::updateEaseRateLabel(a1); return SetupTriggerPopup::toggleEaseRateVisibility(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source