// // SecretLayer3::revealStep2 from 0x1004a0000 to 0x1004a0298 (664 bytes) // // 1 xrefs: // > SecretLayer3::revealStep1 @ 0x10049fa1d // // 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 12:30:52 +0000 // __int64 __fastcall SecretLayer3::revealStep2(__int64 a1) { __int64 v1; // r14 char *v2; // rax char *v3; // rax char *v4; // rax char *v5; // r14 std::string v7; // [rsp+0h] [rbp-A0h] BYREF std::string v8; // [rsp+18h] [rbp-88h] BYREF std::string v9; // [rsp+30h] [rbp-70h] BYREF std::string v10; // [rsp+48h] [rbp-58h] BYREF std::string v11; // [rsp+60h] [rbp-40h] BYREF std::string v12; // [rsp+78h] [rbp-28h] BYREF v1 = sub_1007FE900(a1); v7.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)6; *(_DWORD *)((char *)&v7.__r_.__value_.__l.0 + 1) = 3026478; v10.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x38u); v10.__r_.__value_.__r.__words[0] = 57; v10.__r_.__value_.__l.__size_ = 55; strcpy(v10.__r_.__value_.__l.__data_, "I... I am free...?"); v2 = DialogObject::create(&v7, &v10, 15, 0, 0xFFFFFF, 1.0); sub_1007FEBF0(v1, v2); if ( (*(_BYTE *)&v10.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v10.__r_.__value_.__l.__data_); if ( (*(_BYTE *)&v7.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v7.__r_.__value_.__l.__data_); v8.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)6; *(_DWORD *)((char *)&v8.__r_.__value_.__l.0 + 1) = 3026478; v11.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x48u); v11.__r_.__value_.__r.__words[0] = 73; v11.__r_.__value_.__l.__size_ = 68; strcpy(v11.__r_.__value_.__l.__data_, "So many years lost. Locked away in that filthy cage..."); v3 = DialogObject::create(&v8, &v11, 15, 0, 0xFFFFFF, 1.0); sub_1007FEBF0(v1, v3); if ( (*(_BYTE *)&v11.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v11.__r_.__value_.__l.__data_); if ( (*(_BYTE *)&v8.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v8.__r_.__value_.__l.__data_); v9.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)6; *(_DWORD *)((char *)&v9.__r_.__value_.__l.0 + 1) = 3026478; v12.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x50u); v12.__r_.__value_.__r.__words[0] = 81; v12.__r_.__value_.__l.__size_ = 75; strcpy(v12.__r_.__value_.__l.__data_, "Now that I have my freedom,\nI must continue where I left off."); v4 = DialogObject::create(&v9, &v12, 15, 0, 0xFFFFFF, 1.0); sub_1007FEBF0(v1, v4); if ( (*(_BYTE *)&v12.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v12.__r_.__value_.__l.__data_); if ( (*(_BYTE *)&v9.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v9.__r_.__value_.__l.__data_); v5 = DialogLayer::createWithObjects(v1, 4u); (*(void (__fastcall **)(__int64, char *, __int64))(*(_QWORD *)a1 + 464LL))(a1, v5, 100); *((_QWORD *)v5 + 78) = a1 + 408; (*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v5 + 72LL))(v5, 3); DialogLayer::updateChatPlacement((__int64)v5, 1); return DialogLayer::animateIn((__int64)v5, 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source