// // SecretLayer3::revealStep2 from 0x1403ede10 to 0x1403ee29d (1165 bytes) // // 2 xrefs: // > SecretLayer3::revealStep1 @ 0x1403eddb3 // > @ 0x1406d80cc // // 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 void SecretLayer3::revealStep2(SecretLayer3 *a1) { cocos2d::CCArray *v2; // rbx char *v3; // rax char *v4; // rax char *v5; // rax DialogLayer *DialogLayer; // rsi DialogDelegate *v7; // rcx __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 float v20; // [rsp+28h] [rbp-29h] float v21; // [rsp+28h] [rbp-29h] __int128 v22; // [rsp+38h] [rbp-19h] BYREF __int64 v23; // [rsp+48h] [rbp-9h] __int64 v24; // [rsp+50h] [rbp-1h] __int128 v25; // [rsp+58h] [rbp+7h] BYREF __int64 v26; // [rsp+68h] [rbp+17h] __int128 v27; // [rsp+70h] [rbp+1Fh] __int16 v28; // [rsp+C8h] [rbp+77h] BYREF char v29; // [rsp+CAh] [rbp+79h] v2 = (cocos2d::CCArray *)cocos2d::CCArray::create(a1); v28 = -1; v29 = -1; v22 = 0; v23 = 0; v24 = 15; *(_QWORD *)&v22 = sub_14003AA10(0x40u); v23 = 55; v24 = 63; strcpy((char *)v22, "I... I am free...?"); v25 = 0; v26 = 3; *(_QWORD *)&v27 = 15; LOWORD(v25) = *(_WORD *)"..."; WORD1(v25) = (unsigned __int8)asc_14053DBB0[2]; v3 = DialogObject::create((__int64)&v25, (__int64)&v22, 15, 1.0, 0, (__int64)&v28); cocos2d::CCArray::addObject(v2, (struct cocos2d::CCObject *)v3); v28 = -1; v29 = -1; v25 = 0; v26 = 0; *(_QWORD *)&v27 = 15; *(_QWORD *)&v25 = sub_14003AA10(0x50u); v26 = 68; *(_QWORD *)&v27 = 79; strcpy((char *)v25, "So many years lost. Locked away in that filthy cage..."); v22 = 0; v23 = 3; v24 = 15; LOWORD(v22) = *(_WORD *)"..."; WORD1(v22) = (unsigned __int8)asc_14053DBB0[2]; v4 = DialogObject::create((__int64)&v22, (__int64)&v25, 15, 1.0, 0, (__int64)&v28); cocos2d::CCArray::addObject(v2, (struct cocos2d::CCObject *)v4); v28 = -1; v29 = -1; v25 = 0; v26 = 0; *(_QWORD *)&v27 = 15; *(_QWORD *)&v25 = sub_14003AA10(0x50u); v26 = 75; *(_QWORD *)&v27 = 79; strcpy((char *)v25, "Now that I have my freedom,\nI must continue where I left off."); v22 = 0; v23 = 3; v24 = 15; LOWORD(v22) = *(_WORD *)"..."; WORD1(v22) = (unsigned __int8)asc_14053DBB0[2]; v5 = DialogObject::create((__int64)&v22, (__int64)&v25, 15, 1.0, 0, (__int64)&v28); cocos2d::CCArray::addObject(v2, (struct cocos2d::CCObject *)v5); DialogLayer = DialogLayer::createDialogLayer(nullptr, v2, 4); a1->addChild_0(a1, DialogLayer, 100); v7 = &a1->DialogDelegate; if ( !a1 ) v7 = nullptr; DialogLayer->m_delegate = v7; DialogLayer->setTag(DialogLayer, 3); v9 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v8); cocos2d::CCDirector::getWinSize(v9); v10 = DialogLayer->m_mainLayer->__vftable; cocos2d::CCPoint::CCPoint(0.0, COERCE_FLOAT(&v25) * 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, v20); v17 = (float)DialogLayer->getOpacity(&DialogLayer->cocos2d::CCRGBAProtocol); if ( v17 > 0.0 ) { DialogLayer->setOpacity(&DialogLayer->cocos2d::CCRGBAProtocol, 0); v18 = cocos2d::CCFadeTo::create(0.14, (int)v17); cocos2d::CCNode::runAction((CCLightFlash *)DialogLayer, (cocos2d::CCPoint)v18, v19, 1.0, v21); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source