// // SecretLayer3::revealStep2 from 0x140583870 to 0x140583c3b (971 bytes) // // 2 xrefs: // > SecretLayer3::revealStep1 @ 0x140583813 // > @ 0x14092c9cc // // 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:34:27 +0000 // // Hidden C++ exception states: #wind=1 struct cocos2d::CCAction *__fastcall SecretLayer3::revealStep2(__int64 a1) { cocos2d::CCArray *v2; // rbx void **v3; // rax void **v4; // rax void **v5; // rax cocos2d::CCNode *DialogLayer; // rsi __int64 v7; // rcx __int64 v8; // rcx __int64 v9; // rax __int64 *v10; // rdi __int64 v11; // rbx __int64 v12; // rax __int128 v14; // [rsp+30h] [rbp-40h] BYREF __int64 v15; // [rsp+40h] [rbp-30h] __int64 v16; // [rsp+48h] [rbp-28h] __int128 v17; // [rsp+50h] [rbp-20h] BYREF __int64 v18; // [rsp+60h] [rbp-10h] __int64 v19; // [rsp+68h] [rbp-8h] __int128 *v20; // [rsp+98h] [rbp+28h] BYREF __int16 v21; // [rsp+A0h] [rbp+30h] BYREF char v22; // [rsp+A2h] [rbp+32h] v2 = (cocos2d::CCArray *)cocos2d::CCArray::create(a1); v20 = &v14; v21 = -1; v22 = -1; v14 = 0; v15 = 0; v16 = 0; *(_QWORD *)&v14 = sub_14003D460(0x40u); v15 = 55; v16 = 63; strcpy((char *)v14, "I... I am free...?"); v17 = 0; v18 = 3; v19 = 15; LOWORD(v17) = *(_WORD *)"..."; WORD1(v17) = (unsigned __int8)asc_14070EB14[2]; v3 = DialogObject::create((__int64)&v17, (__int64)&v14, 15, 1.0, 0, (__int64)&v21); cocos2d::CCArray::addObject(v2, (struct cocos2d::CCObject *)v3); v20 = &v17; v21 = -1; v22 = -1; v17 = 0; v18 = 0; v19 = 0; *(_QWORD *)&v17 = sub_14003D460(0x50u); v18 = 68; v19 = 79; strcpy((char *)v17, "So many years lost. Locked away in that filthy cage..."); v14 = 0; v15 = 3; v16 = 15; LOWORD(v14) = *(_WORD *)"..."; WORD1(v14) = (unsigned __int8)asc_14070EB14[2]; v4 = DialogObject::create((__int64)&v14, (__int64)&v17, 15, 1.0, 0, (__int64)&v21); cocos2d::CCArray::addObject(v2, (struct cocos2d::CCObject *)v4); v20 = &v17; v21 = -1; v22 = -1; v17 = 0; v18 = 0; v19 = 0; *(_QWORD *)&v17 = sub_14003D460(0x50u); v18 = 75; v19 = 79; strcpy((char *)v17, "Now that I have my freedom,\nI must continue where I left off."); v14 = 0; v15 = 3; v16 = 15; LOWORD(v14) = *(_WORD *)"..."; WORD1(v14) = (unsigned __int8)asc_14070EB14[2]; v5 = DialogObject::create((__int64)&v14, (__int64)&v17, 15, 1.0, 0, (__int64)&v21); cocos2d::CCArray::addObject(v2, (struct cocos2d::CCObject *)v5); DialogLayer = DialogLayer::createDialogLayer(0, (__int64)v2, 4u); (*(void (__fastcall **)(__int64, cocos2d::CCNode *, __int64))(*(_QWORD *)a1 + 456LL))(a1, DialogLayer, 100); v7 = a1 + 408; if ( !a1 ) v7 = 0; *((_QWORD *)DialogLayer + 78) = v7; (*(void (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)DialogLayer + 64LL))(DialogLayer, 3); v9 = cocos2d::CCDirector::sharedDirector(v8); cocos2d::CCDirector::getWinSize(v9, &v20); v10 = *((__int64 **)DialogLayer + 70); v11 = *v10; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v21, *(float *)&v20 * 0.5, (float)(*((float *)&v20 + 1) - 50.0) - 20.0); (*(void (__fastcall **)(__int64 *, __int64))(v11 + 184))(v10, v12); return DialogLayer::animateIn(DialogLayer, 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source