// // SecretLayer3::firstInteractionStep2 from 0x140581570 to 0x140581a31 (1217 bytes) // // 2 xrefs: // > SecretLayer3::onBack @ 0x140584f31 // > @ 0x14092c990 // // 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:26 +0000 // // Hidden C++ exception states: #wind=1 struct cocos2d::CCAction *__fastcall SecretLayer3::firstInteractionStep2(__int64 a1) { cocos2d::CCArray *v2; // rbx void **v3; // rax void **v4; // rax void **v5; // rax void **v6; // rax cocos2d::CCNode *DialogLayer; // rsi __int64 v8; // rcx __int64 v9; // rcx __int64 v10; // rax __int64 *v11; // rdi __int64 v12; // rbx __int64 v13; // rax __int128 v15; // [rsp+30h] [rbp-50h] BYREF __int64 v16; // [rsp+40h] [rbp-40h] __int64 v17; // [rsp+48h] [rbp-38h] __int128 v18; // [rsp+50h] [rbp-30h] BYREF __int64 v19; // [rsp+60h] [rbp-20h] __int64 v20; // [rsp+68h] [rbp-18h] __int128 *v21; // [rsp+A8h] [rbp+28h] BYREF __int16 v22; // [rsp+B0h] [rbp+30h] BYREF char v23; // [rsp+B2h] [rbp+32h] v2 = (cocos2d::CCArray *)cocos2d::CCArray::create(a1); v21 = &v15; v22 = -1; v23 = -1; v15 = 0; v16 = 0; v17 = 0; *(_QWORD *)&v15 = sub_14003D460(0x50u); v16 = 65; v17 = 79; strcpy((char *)v15, "Well, well, well.\nWhat do we have here?"); v18 = 0; v19 = 3; v20 = 15; LOWORD(v18) = *(_WORD *)"..."; WORD1(v18) = (unsigned __int8)asc_14070EB14[2]; v3 = DialogObject::create((__int64)&v18, (__int64)&v15, 15, 1.0, 0, (__int64)&v22); cocos2d::CCArray::addObject(v2, (struct cocos2d::CCObject *)v3); v21 = &v18; v22 = -1; v23 = -1; v18 = 0; v19 = 0; v20 = 0; *(_QWORD *)&v18 = sub_14003D460(0x50u); v19 = 78; v20 = 79; strcpy((char *)v18, "You look like someone who is interested in a deal..."); v15 = 0; v16 = 3; v17 = 15; LOWORD(v15) = *(_WORD *)"..."; WORD1(v15) = (unsigned __int8)asc_14070EB14[2]; v4 = DialogObject::create((__int64)&v15, (__int64)&v18, 15, 1.0, 0, (__int64)&v22); cocos2d::CCArray::addObject(v2, (struct cocos2d::CCObject *)v4); v21 = &v18; v22 = -1; v23 = -1; v18 = 0; v19 = 0; v20 = 0; *(_QWORD *)&v18 = sub_14003D460(0x50u); v19 = 69; v20 = 79; strcpy((char *)v18, "Help me get out of here, and I will make it worth your while."); v15 = 0; v16 = 3; v17 = 15; LOWORD(v15) = *(_WORD *)"..."; WORD1(v15) = (unsigned __int8)asc_14070EB14[2]; v5 = DialogObject::create((__int64)&v15, (__int64)&v18, 15, 1.0, 0, (__int64)&v22); cocos2d::CCArray::addObject(v2, (struct cocos2d::CCObject *)v5); v21 = &v18; v22 = -1; v23 = -1; v18 = 0; v19 = 0; v20 = 0; *(_QWORD *)&v18 = sub_14003D460(0x50u); v19 = 66; v20 = 79; strcpy((char *)v18, "See those locks over there?\nYou need to unlock them."); v15 = 0; v16 = 3; v17 = 15; LOWORD(v15) = *(_WORD *)"..."; WORD1(v15) = (unsigned __int8)asc_14070EB14[2]; v6 = DialogObject::create((__int64)&v15, (__int64)&v18, 15, 1.0, 0, (__int64)&v22); cocos2d::CCArray::addObject(v2, (struct cocos2d::CCObject *)v6); DialogLayer = DialogLayer::createDialogLayer(0, (__int64)v2, 4u); (*(void (__fastcall **)(__int64, cocos2d::CCNode *, __int64))(*(_QWORD *)a1 + 456LL))(a1, DialogLayer, 100); v8 = a1 + 408; if ( !a1 ) v8 = 0; *((_QWORD *)DialogLayer + 78) = v8; (*(void (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)DialogLayer + 64LL))(DialogLayer, 1); v10 = cocos2d::CCDirector::sharedDirector(v9); cocos2d::CCDirector::getWinSize(v10, &v21); v11 = *((__int64 **)DialogLayer + 70); v12 = *v11; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v22, *(float *)&v21 * 0.5, (float)(*((float *)&v21 + 1) - 50.0) - 20.0); (*(void (__fastcall **)(__int64 *, __int64))(v12 + 184))(v11, v13); DialogLayer::animateIn(DialogLayer, 1); return SecretLayer3::animateEyes(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source