// // SecretLayer3::revealStep2 from 0x1004a7030 to 0x1004a72c8 (664 bytes) // // 1 xrefs: // > SecretLayer3::revealStep1 @ 0x1004a6a4d // // 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 // void __fastcall SecretLayer3::revealStep2(SecretLayer3 *a1) { __int64 v1; // rsi cocos2d::CCArray *v2; // r14 char *v3; // rax char *v4; // rax char *v5; // rax DialogLayer *v6; // r14 __int128 v7; // [rsp+0h] [rbp-A0h] BYREF void *v8; // [rsp+10h] [rbp-90h] __int128 v9; // [rsp+18h] [rbp-88h] BYREF void *v10; // [rsp+28h] [rbp-78h] __int128 v11; // [rsp+30h] [rbp-70h] BYREF void *v12; // [rsp+40h] [rbp-60h] std::string v13; // [rsp+48h] [rbp-58h] BYREF std::string v14; // [rsp+60h] [rbp-40h] BYREF std::string v15; // [rsp+78h] [rbp-28h] BYREF v2 = (cocos2d::CCArray *)sub_10071F9E0(a1, v1); LOBYTE(v7) = 6; *(_DWORD *)((char *)&v7 + 1) = 3026478; v13.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x38u); v13.__r_.__value_.__r.__words[0] = 57; v13.__r_.__value_.__l.__size_ = 55; strcpy(v13.__r_.__value_.__l.__data_, "I... I am free...?"); v3 = DialogObject::create(&v7, &v13, 15, 0, 0xFFFFFF, 1.0); sub_10071FCD0(v2, v3); if ( (*(_BYTE *)&v13.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v13.__r_.__value_.__l.__data_); if ( (v7 & 1) != 0 ) operator delete(v8); LOBYTE(v9) = 6; *(_DWORD *)((char *)&v9 + 1) = 3026478; v14.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x48u); v14.__r_.__value_.__r.__words[0] = 73; v14.__r_.__value_.__l.__size_ = 68; strcpy(v14.__r_.__value_.__l.__data_, "So many years lost. Locked away in that filthy cage..."); v4 = DialogObject::create(&v9, &v14, 15, 0, 0xFFFFFF, 1.0); sub_10071FCD0(v2, v4); if ( (*(_BYTE *)&v14.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v14.__r_.__value_.__l.__data_); if ( (v9 & 1) != 0 ) operator delete(v10); LOBYTE(v11) = 6; *(_DWORD *)((char *)&v11 + 1) = 3026478; v15.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x50u); v15.__r_.__value_.__r.__words[0] = 81; v15.__r_.__value_.__l.__size_ = 75; strcpy(v15.__r_.__value_.__l.__data_, "Now that I have my freedom,\nI must continue where I left off."); v5 = DialogObject::create(&v11, &v15, 15, 0, 0xFFFFFF, 1.0); sub_10071FCD0(v2, v5); if ( (*(_BYTE *)&v15.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v15.__r_.__value_.__l.__data_); if ( (v11 & 1) != 0 ) operator delete(v12); v6 = DialogLayer::createWithObjects(v2, 4); ((void (__fastcall *)(SecretLayer3 *, DialogLayer *, __int64))a1->addChild_0)(a1, v6, 100); v6->m_delegate = &a1->DialogDelegate; ((void (__fastcall *)(DialogLayer *, __int64))v6->setTag)(v6, 3); DialogLayer::updateChatPlacement(v6, Top); DialogLayer::animateIn(v6, FromCenter); }
GD Web Decomp Icon

GD Web Decomp

Raw Source