// // EasingSelectPopup::init from 0x779f60 to 0x77a4a2 (1346 bytes) // // 1 xrefs: // > EasingSelectPopup::create @ 0x77a6e8 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:59:22 +0000 // GameManager *__fastcall EasingSelectPopup::init(EasingSelectPopup *this, EffectGameObject **a2, int a3, int a4, int a5) { GameManager *v9; // r10 int v10; // r6 int v11; // r0 _BOOL4 v12; // r0 cocos2d::CCObject *v13; // r0 cocos2d::CCArray *v14; // r0 cocos2d::CCObject *v15; // r0 cocos2d::CCArray *v16; // r0 cocos2d::CCObject *v17; // r0 cocos2d::CCArray *v18; // r0 cocos2d::CCObject *v19; // r0 cocos2d::CCDirector *v20; // r0 cocos2d::CCObject *v21; // r8 void (__fastcall *v22)(cocos2d::CCObject *, _DWORD *); // r7 cocos2d::CCObject *v23; // r7 void (__fastcall *v24)(cocos2d::CCObject *, _DWORD *); // r11 const char *v25; // r2 cocos2d::CCLabelBMFont *v26; // r0 cocos2d::CCLabelBMFont *v27; // r8 void (__fastcall *v28)(cocos2d::CCLabelBMFont *, _DWORD *); // r11 const char *v29; // r1 cocos2d::CCObject *v30; // r11 void (__fastcall *v31)(cocos2d::CCObject *, _DWORD *); // r8 const char *v32; // r1 int v33; // r8 int v34; // r9 void (__fastcall *v35)(int, float *); // r11 int v36; // r1 int v37; // r2 int v38; // r7 float v39; // s16 const char *v40; // r6 size_t v41; // r0 int v42; // r6 int v43; // r1 int v44; // r2 float v46[2]; // [sp+48h] [bp-54h] BYREF float v47; // [sp+50h] [bp-4Ch] BYREF float v48; // [sp+54h] [bp-48h] float v49; // [sp+58h] [bp-44h] BYREF float v50; // [sp+5Ch] [bp-40h] _BYTE v51[8]; // [sp+60h] [bp-3Ch] BYREF float v52[4]; // [sp+68h] [bp-34h] BYREF int v53; // [sp+78h] [bp-24h] BYREF int v54; // [sp+7Ch] [bp-20h] cocos2d::CCLabelBMFont *v55; // [sp+80h] [bp-1Ch] _DWORD v56[4]; // [sp+84h] [bp-18h] BYREF v9 = SetupTriggerPopup::init(this, a2[132], a2[133], 400.0, 310.0, (_BYTE *)&dword_0 + 1, 0.0); if ( v9 ) { *((_DWORD *)this + 178) = a2; v10 = 0; *((_DWORD *)this + 179) = a3; *((_DWORD *)this + 181) = a5; *((_DWORD *)this + 180) = a4; v11 = cocos2d::CCDictionary::objectForKey(a2[144], a3); *((_DWORD *)this + 183) = 0; v12 = v11 == 0; *((_BYTE *)this + 728) = v12; v13 = (cocos2d::CCObject *)cocos2d::CCArray::create((cocos2d::CCArray *)v12); *((_DWORD *)this + 184) = v13; v14 = (cocos2d::CCArray *)cocos2d::CCObject::retain(v13); v15 = (cocos2d::CCObject *)cocos2d::CCArray::create(v14); *((_DWORD *)this + 185) = v15; v16 = (cocos2d::CCArray *)cocos2d::CCObject::retain(v15); v17 = (cocos2d::CCObject *)cocos2d::CCArray::create(v16); *((_DWORD *)this + 186) = v17; v18 = (cocos2d::CCArray *)cocos2d::CCObject::retain(v17); v19 = (cocos2d::CCObject *)cocos2d::CCArray::create(v18); *((_DWORD *)this + 187) = v19; cocos2d::CCObject::retain(v19); v20 = (cocos2d::CCDirector *)SetupTriggerPopup::preSetup(this); cocos2d::CCDirector::sharedDirector(v20); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v46); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v47, v46[0] * 0.5, v46[1] * 0.5); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v49, v47 - 138.0, (float)(v48 + 155.0) - 42.0); do { cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v52, (float)(92 * (v10 & 3)) + v49, v50 - (float)(45 * (v10 >> 2))); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v56, 0.0, 0.0, 80.0, 80.0); v21 = (cocos2d::CCObject *)cocos2d::extension::CCScale9Sprite::create("square04_001.png", v56); (*(void (__fastcall **)(cocos2d::CCObject *, void *))(*(_DWORD *)v21 + 480))(v21, &unk_BF0B7B); v22 = *(void (__fastcall **)(cocos2d::CCObject *, _DWORD *))(*(_DWORD *)v21 + 160); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v56, 328.0, 112.0); v22(v21, v56); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v21 + 80))(v21, 1048576000); LODWORD(v52[2]) = EasingSelectPopup::onCell; v52[3] = 0.0; v23 = (cocos2d::CCObject *)CCMenuItemSpriteExtra::create( (int)v21, 0, (int)this, (int)EasingSelectPopup::onCell, 0); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v23 + 36))(v23, v10); v24 = *(void (__fastcall **)(cocos2d::CCObject *, _DWORD *))(*(_DWORD *)v23 + 92); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v56, *((const cocos2d::CCPoint **)this + 111)); v24(v23, v56); (*(void (__fastcall **)(_DWORD, cocos2d::CCObject *))(**((_DWORD **)this + 111) + 228))( *((_DWORD *)this + 111), v23); cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 184), v23); cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 185), v21); GameToolbox::easeToText((GameToolbox *)&v53, v10); if ( (v53 & 1) != 0 ) v26 = v55; else v26 = (cocos2d::CCLabelBMFont *)((char *)&v53 + 1); v27 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create(v26, "bigFont.fnt", v25); std::string::~string((int)&v53); ++v10; (*(void (__fastcall **)(cocos2d::CCLabelBMFont *, int))(*(_DWORD *)v27 + 80))(v27, 1050924810); cocos2d::CCLabelBMFont::limitLabelWidth(v27, 78.0, 0.32, 0.1); v28 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, _DWORD *))(*(_DWORD *)v27 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v56, v52[0], (float)(v52[1] + 14.0) + 8.0); v28(v27, v56); (*(void (__fastcall **)(_DWORD, cocos2d::CCLabelBMFont *))(**((_DWORD **)this + 115) + 228))( *((_DWORD *)this + 115), v27); cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 186), v27); v30 = (cocos2d::CCObject *)cocos2d::CCSprite::createWithSpriteFrameName( (cocos2d::CCSprite *)"square_01_001.png", v29); (*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v30 + 80))(v30, 1051931443); v31 = *(void (__fastcall **)(cocos2d::CCObject *, _DWORD *))(*(_DWORD *)v30 + 92); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v56, 11.0, 14.0); v31(v30, v56); (*(void (__fastcall **)(cocos2d::CCObject *, cocos2d::CCObject *, int))(*(_DWORD *)v23 + 232))(v23, v30, 2); cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 187), v30); } while ( v10 != 19 ); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v51, v49 + 276.0, v50 - 180.0); v33 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_updateBtn_001.png", v32); (*(void (__fastcall **)(int, int))(*(_DWORD *)v33 + 80))(v33, 1059481190); v56[0] = EasingSelectPopup::onRestart; v56[1] = 0; v34 = CCMenuItemSpriteExtra::create(v33, 0, (int)this, (int)EasingSelectPopup::onRestart, 0); CCMenuItemSpriteExtra::setSizeMult(v34, 1.3); (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 111) + 228))(*((_DWORD *)this + 111), v34); v35 = *(void (__fastcall **)(int, float *))(*(_DWORD *)v34 + 92); cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v52, *((const cocos2d::CCPoint **)this + 111)); v35(v34, v52); v53 = 0; v54 = 0; v55 = nullptr; std::string::__init(&v53, "OK", 2u); SetupTriggerPopup::addCloseButton((int)this, (int)&v53); std::string::~string((int)&v53); EasingSelectPopup::refreshCellHighlight(this, v36, v37); v38 = *((_DWORD *)this + 179); v39 = (float)(v48 - 155.0) + 45.0; if ( *((_BYTE *)this + 728) ) v40 = "Preview:"; else v40 = "Duration:"; v53 = 0; v54 = 0; v55 = nullptr; v41 = strlen(v40); std::string::__init(&v53, v40, v41); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v52, v47 - 110.0, v39); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, v38, (unsigned __int8 *)&v53, (int)v52, 1060320051, 0, 1, 6, 0, 0, 1092616192, 0, 0, 0, 2, 0); std::string::~string((int)&v53); v42 = *((_DWORD *)this + 181); v53 = 0; v54 = 0; v55 = nullptr; std::string::__init(&v53, "Ease Rate:", 0xAu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v52, v47 + 110.0, v39); SetupTriggerPopup::createValueControlAdvanced( (cocos2d::CCDictionary **)this, v42, (unsigned __int8 *)&v53, (int)v52, 1060320051, 0, 1, 4, 0, 1036831949, 1082130432, 0, 0, 0, 2, 0); std::string::~string((int)&v53); SetupTriggerPopup::postSetup(this); if ( *((_BYTE *)this + 728) ) SetupTriggerPopup::updateValue((cocos2d::CCDictionary **)this, *((_DWORD *)this + 179), 1.0); EasingSelectPopup::refreshRateVisual(this, v43, v44); cocos2d::CCNode::scheduleUpdate(this); } return v9; }
GD Web Decomp Icon

GD Web Decomp

Raw Source