// // DailyLevelPage::dailyStatusFailed from 0x1400cfc90 to 0x1400cffb6 (806 bytes) // // 2 xrefs: // > @ 0x14054fe38 // > @ 0x1406c8538 // // 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=2 void DailyLevelPage::dailyStatusFailed(DailyLevelPage *a1, GJTimedLevelType a2, GJErrorCode a3) { float v3; // xmm3_4 int v5; // r9d DialogObject *v6; // rax DialogLayer *DialogLayer; // rdi __int64 v8; // rcx cocos2d::CCDirector *v9; // rax cocos2d::CCLayer_vtbl *v10; // rbx const cocos2d::CCPoint *v11; // rax _BOOL8 v12; // rdx float v13; // xmm2_4 struct cocos2d::CCScaleTo *v14; // rax struct cocos2d::CCEaseElasticOut *v15; // rax cocos2d::ccColor3B *v16; // r8 float v17; // xmm6_4 struct cocos2d::CCFadeTo *v18; // rax cocos2d::ccColor3B *v19; // r8 CCLightFlash *p_m_fVertexZ; // rcx __int64 v21; // rax __int64 v22; // rbx struct cocos2d::CCDelayTime *v23; // rax float v24; // [rsp+20h] [rbp-29h] float v25; // [rsp+20h] [rbp-29h] cocos2d::CCPoint v26; // [rsp+30h] [rbp-19h] BYREF __int128 v27; // [rsp+38h] [rbp-11h] BYREF __int64 v28; // [rsp+48h] [rbp-1h] __int64 v29; // [rsp+50h] [rbp+7h] char v30[14]; // [rsp+58h] [rbp+Fh] BYREF __int16 v31; // [rsp+66h] [rbp+1Dh] __int64 v32; // [rsp+68h] [rbp+1Fh] __int64 v33; // [rsp+70h] [rbp+27h] __int16 v34; // [rsp+C0h] [rbp+77h] BYREF char v35; // [rsp+C2h] [rbp+79h] __int128 *v36; // [rsp+C8h] [rbp+7Fh] if ( a3 == UpdateApp ) { LOBYTE(a1->m_unknown2) = 1; v36 = &v27; v34 = -1; v35 = -1; v27 = 0; v28 = 0; v29 = 15; *(_QWORD *)&v27 = sub_14003AA10(0x50u); v28 = 78; v29 = 79; strcpy((char *)v27, "Please update your application to download this level."); v32 = 12; v33 = 15; strcpy(v30, "The Mechanic"); v30[13] = 0; v31 = 0; v3 = 1.0; v6 = (DialogObject *)DialogObject::create((unsigned int)v30, (unsigned int)&v27, 37, v5, 0, (__int64)&v34); DialogLayer = DialogLayer::createDialogLayer(v6, nullptr, 4); DialogLayer::addToMainScene(DialogLayer); v9 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v8); cocos2d::CCDirector::getWinSize(v9); v10 = DialogLayer->m_mainLayer->__vftable; cocos2d::CCPoint::CCPoint(&v26, *(float *)&v36 * 0.5, *((float *)&v36 + 1) * 0.5); v10->setPosition_0(DialogLayer->m_mainLayer, v11); LOBYTE(v12) = 1; DialogLayer->setVisible(DialogLayer, v12); v13 = sub_14003CF30(); DialogLayer->m_animateTime = v13; ((void (__fastcall *)(cocos2d::CCLayer *))DialogLayer->m_mainLayer->setScale_0)(DialogLayer->m_mainLayer); v14 = cocos2d::CCScaleTo::create(0.5, 1.0); v15 = cocos2d::CCEaseElasticOut::create(v14, 0.60000002); cocos2d::CCNode::runAction((CCLightFlash *)DialogLayer->m_mainLayer, (cocos2d::CCPoint)v15, v16, 1.0, v25); v17 = (float)DialogLayer->getOpacity(&DialogLayer->cocos2d::CCRGBAProtocol); if ( v17 <= 0.0 ) goto LABEL_9; DialogLayer->setOpacity(&DialogLayer->cocos2d::CCRGBAProtocol, 0); v18 = cocos2d::CCFadeTo::create(0.14, (int)v17); p_m_fVertexZ = (CCLightFlash *)DialogLayer; goto LABEL_8; } v21 = qword_1406C2EE8; if ( !qword_1406C2EE8 ) { v36 = (__int128 *)operator new(0x3E0u); qword_1406C2EE8 = sub_1401D0AE0(v36); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EE8 + 72LL))(qword_1406C2EE8); v21 = qword_1406C2EE8; } if ( *(double *)(v21 + 568) <= 0.0 ) { v22 = cocos2d::CCCallFunc::create(&a1[-1].m_fVertexZ, DailyLevelPage::tryGetDailyStatus); v23 = cocos2d::CCDelayTime::create(5.0); v18 = (struct cocos2d::CCFadeTo *)cocos2d::CCSequence::create(v23, v22, 0); p_m_fVertexZ = (CCLightFlash *)&a1[-1].m_fVertexZ; LABEL_8: cocos2d::CCNode::runAction(p_m_fVertexZ, (cocos2d::CCPoint)v18, v19, v3, v24); } LABEL_9: if ( LOBYTE(a1->m_unknown2) ) { (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)&a1->m_uAutoReleaseCount + 320LL))( *(_QWORD *)&a1->m_uAutoReleaseCount, 0); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)&a1->m_uIndexInArray + 320LL))( *(_QWORD *)&a1->m_uIndexInArray, 0); } }