// // SetupTriggerPopup::createCustomEasingControls from 0x1001b2760 to 0x1001b2e90 (1840 bytes) // // 4 xrefs: // > sub_100038870 @ 0x10003911c // > sub_100038870 @ 0x100039210 // > SetupAreaAnimTriggerPopup::init @ 0x10003cdc0 // > sub_10047FDC8 @ 0x100481038 // // This function is hookable on this platform (idp: arm, 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:00:08 +0000 // __int64 __fastcall SetupTriggerPopup::createCustomEasingControls( __int64 a1, __int64 *a2, __int64 a3, __int64 a4, __int64 a5, __int64 a6, __int64 a7, float a8) { __int64 PageContainer; // x25 __int64 GroupContainer; // x28 __int64 v17; // x26 _DWORD *v18; // x0 __int64 v19; // x26 _DWORD *v20; // x0 __int64 v21; // x26 float *v22; // x0 __int64 v23; // x26 float v24; // s9 __int64 v25; // x27 __n128 v26; // q0 float32x2_t *v27; // x24 double v28; // d0 __int64 v29; // x23 __int64 v30; // x24 __n128 v31; // q0 float v32; // s10 double v33; // d0 __int64 v34; // x23 __int64 v35; // x24 float32x2_t *v36; // x28 float *v37; // x0 __n128 v38; // q0 __n128 v39; // q0 __int64 v40; // x23 __int64 v41; // x23 __int64 v42; // x24 float32x2_t *v43; // x28 __n128 v44; // q0 __n128 v45; // q0 __int64 v46; // x23 __int64 v47; // x23 __int64 v48; // x24 float32x2_t *v49; // x27 __n128 v50; // q0 __n128 v51; // q0 float v52; // s0 float v53; // s0 unsigned int v55; // [xsp+4h] [xbp-ACh] __int64 v56; // [xsp+8h] [xbp-A8h] float32x2_t v57; // [xsp+18h] [xbp-98h] BYREF float32x2_t v58; // [xsp+20h] [xbp-90h] BYREF float32x2_t v59; // [xsp+28h] [xbp-88h] BYREF v55 = a6; PageContainer = SetupTriggerPopup::getPageContainer(a1, a6); GroupContainer = SetupTriggerPopup::getGroupContainer(a1, a7); v17 = *(_QWORD *)(a1 + 936); v18 = sub_100145068(a5); cocos2d::CCDictionary::setObject_1(v17, v18, (int)a4); v19 = *(_QWORD *)(a1 + 936); v20 = sub_100145068(a4); cocos2d::CCDictionary::setObject_1(v19, v20, (int)a5); v21 = *(_QWORD *)(a1 + 960); v22 = sub_10000C368(a8); cocos2d::CCDictionary::setObject_1(v21, v22, (int)a4); if ( *((char *)a2 + 23) < 0 ) a2 = (__int64 *)*a2; v23 = cocos2d::CCLabelBMFont::create_1(a2, "goldFont.fnt"); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v23 + 184LL))(v23, a3); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 584) + 456LL))(*(_QWORD *)(a1 + 584), v23); sub_1002E74E0(PageContainer, v23); if ( (int)a7 >= 1 ) sub_1002E74E0(GroupContainer, v23); v24 = a8 * 0.7; (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v23 + 160LL))(v23, a8 * 0.8); v25 = cocos2d::CCLabelBMFont::create_1(" ", "bigFont.fnt"); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 584) + 456LL))(*(_QWORD *)(a1 + 584), v25); v26 = sub_1002E74E0(PageContainer, v25); if ( (int)a7 >= 1 ) v26 = sub_1002E74E0(GroupContainer, v25); v27 = (float32x2_t *)(*(__int64 (__fastcall **)(__int64, __n128))(*(_QWORD *)v23 + 192LL))(v23, v26); sub_1000262BC((float *)&v58, 0.0, a8 * -30.0); *(float32x2_t *)&v28 = sub_100026318(v27, &v58, &v59); (*(void (__fastcall **)(__int64, float32x2_t *, double))(*(_QWORD *)v25 + 184LL))(v25, &v59, v28); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v25 + 160LL))(v25, v24); cocos2d::CCDictionary::setObject_1(*(_QWORD *)(a1 + 944), v25, (int)a4); v29 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_colorBtn_001.png"); (*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v29 + 960LL))(v29, &unk_100760A18); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v29 + 912LL))(v29, 100); sub_1002E74E0(PageContainer, v29); if ( (int)a7 >= 1 ) sub_1002E74E0(GroupContainer, v29); v30 = cocos2d::CCLabelBMFont::create_1("0", "bigFont.fnt"); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v29 + 456LL))(v29, v30); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v30 + 128LL))(v30, (float)(a8 * 0.3) / (float)(a8 * 0.8)); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v30 + 144LL))(v30, (float)(a8 * 0.3) / (float)(a8 * 0.4)); v31 = sub_1002E74E0(PageContainer, v30); if ( (int)a7 >= 1 ) v31 = sub_1002E74E0(GroupContainer, v30); v56 = GroupContainer; v32 = a8 * 100.0; cocos2d::CCNode::convertToNodeSpace(&v58, v29, &unk_1009F42B0, v31); sub_1000262BC((float *)&v57, 1.0, 1.5); *(float32x2_t *)&v33 = sub_100026318(&v58, &v57, &v59); (*(void (__fastcall **)(__int64, float32x2_t *, double))(*(_QWORD *)v30 + 184LL))(v30, &v59, v33); cocos2d::CCDictionary::setObject_1(*(_QWORD *)(a1 + 944), v30, (int)a5); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v29 + 128LL))(v29, a8 * 0.8); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v29 + 144LL))(v29, a8 * 0.4); v34 = CCMenuItemSpriteExtra::create(v29, 0, a1, sub_1001B2E90, 0); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 552) + 456LL))(*(_QWORD *)(a1 + 552), v34); v35 = *(_QWORD *)(a1 + 552); v36 = (float32x2_t *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v23 + 192LL))(v23); v37 = (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v23 + 328LL))(v23); sub_1000262BC((float *)&v57, (float)((float)(*v37 * 0.5) + 10.0) * a8, a8 * -2.0); v38.n128_u64[0] = (unsigned __int64)sub_100026318(v36, &v57, &v58); cocos2d::CCNode::convertToNodeSpace(&v59, v35, &v58, v38); (*(void (__fastcall **)(__int64, float32x2_t *))(*(_QWORD *)v34 + 184LL))(v34, &v59); v39 = CCMenuItemSpriteExtra::setSizeMult(1.2); (*(void (__fastcall **)(__int64, __int64, __n128))(*(_QWORD *)v34 + 72LL))(v34, a5, v39); cocos2d::CCDictionary::setObject_1(*(_QWORD *)(a1 + 952), v34, (int)a5); sub_1002E74E0(PageContainer, v34); if ( (int)a7 >= 1 ) sub_1002E74E0(v56, v34); v40 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_arrow_01_001.png"); cocos2d::CCSprite::setFlipX(v40, 1); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v40 + 160LL))(v40, v24); v41 = CCMenuItemSpriteExtra::create(v40, 0, a1, sub_1001B2FB8, 0); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 552) + 456LL))(*(_QWORD *)(a1 + 552), v41); v42 = *(_QWORD *)(a1 + 552); v43 = (float32x2_t *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v25 + 192LL))(v25); sub_1000262BC((float *)&v57, v32, 0.0); v44.n128_u64[0] = (unsigned __int64)sub_100026318(v43, &v57, &v58); cocos2d::CCNode::convertToNodeSpace(&v59, v42, &v58, v44); (*(void (__fastcall **)(__int64, float32x2_t *))(*(_QWORD *)v41 + 184LL))(v41, &v59); v45 = CCMenuItemSpriteExtra::setSizeMult(1.4); (*(void (__fastcall **)(__int64, __int64, __n128))(*(_QWORD *)v41 + 72LL))(v41, a4, v45); sub_1002E74E0(PageContainer, v41); if ( (int)a7 >= 1 ) sub_1002E74E0(v56, v41); v46 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_arrow_01_001.png"); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v46 + 160LL))(v46, v24); v47 = CCMenuItemSpriteExtra::create(v46, 0, a1, sub_1001B2FF0, 0); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 552) + 456LL))(*(_QWORD *)(a1 + 552), v47); v48 = *(_QWORD *)(a1 + 552); v49 = (float32x2_t *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v25 + 192LL))(v25); sub_1000262BC((float *)&v57, -v32, 0.0); v50.n128_u64[0] = (unsigned __int64)sub_100026318(v49, &v57, &v58); cocos2d::CCNode::convertToNodeSpace(&v59, v48, &v58, v50); (*(void (__fastcall **)(__int64, float32x2_t *))(*(_QWORD *)v47 + 184LL))(v47, &v59); v51 = CCMenuItemSpriteExtra::setSizeMult(1.4); (*(void (__fastcall **)(__int64, __int64, __n128))(*(_QWORD *)v47 + 72LL))(v47, a4, v51); sub_1002E74E0(PageContainer, v47); if ( (int)a7 >= 1 ) sub_1002E74E0(v56, v47); sub_1001B20F0(a1, v23, a4, a5, v55, a7, a8); v52 = (*(float (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1464LL))(a1, a4); sub_1001B3028(a1, a4, (unsigned int)(int)v52); v53 = (*(float (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1464LL))(a1, a5); sub_1001B26A4(a1, a5, v53); return sub_1001B3158(a1, a4, a5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source