// // SecretLayer3::firstInteractionStep4 from 0x10049f620 to 0x10049f938 (792 bytes) // // 1 xrefs: // > SecretLayer3::firstInteractionStep3 @ 0x10049f5da // // 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::firstInteractionStep4(__int64 a1) { __int64 v1; // r14 char *v2; // rax char *v3; // rax char *v4; // rax char *v5; // rax char *v6; // r14 std::string v8; // [rsp+0h] [rbp-D0h] BYREF std::string v9; // [rsp+18h] [rbp-B8h] BYREF std::string v10; // [rsp+30h] [rbp-A0h] BYREF std::string v11; // [rsp+48h] [rbp-88h] BYREF std::string v12; // [rsp+60h] [rbp-70h] BYREF std::string v13; // [rsp+78h] [rbp-58h] BYREF std::string v14; // [rsp+90h] [rbp-40h] BYREF std::string v15; // [rsp+A8h] [rbp-28h] BYREF v1 = sub_1007FE900(a1); v8.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)6; *(_DWORD *)((char *)&v8.__r_.__value_.__l.0 + 1) = 3026478; v12.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x38u); v12.__r_.__value_.__r.__words[0] = 57; v12.__r_.__value_.__l.__size_ = 48; strcpy(v12.__r_.__value_.__l.__data_, "RubRub locked me in here, for no reason."); v2 = DialogObject::create(&v8, &v12, 15, 0, 0xFFFFFF, 1.0); sub_1007FEBF0(v1, v2); if ( (*(_BYTE *)&v12.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v12.__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; v13.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x20u); v13.__r_.__value_.__r.__words[0] = 33; v13.__r_.__value_.__l.__size_ = 31; strcpy(v13.__r_.__value_.__l.__data_, "He said there would be chicken."); v3 = DialogObject::create(&v9, &v13, 15, 0, 0xFFFFFF, 1.0); sub_1007FEBF0(v1, v3); if ( (*(_BYTE *)&v13.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v13.__r_.__value_.__l.__data_); if ( (*(_BYTE *)&v9.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v9.__r_.__value_.__l.__data_); v10.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)6; *(_DWORD *)((char *)&v10.__r_.__value_.__l.0 + 1) = 3026478; v14.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x20u); v14.__r_.__value_.__r.__words[0] = 33; v14.__r_.__value_.__l.__size_ = 31; strcpy(v14.__r_.__value_.__l.__data_, "There was no chicken..."); v4 = DialogObject::create(&v10, &v14, 15, 0, 0xFFFFFF, 1.0); sub_1007FEBF0(v1, v4); if ( (*(_BYTE *)&v14.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v14.__r_.__value_.__l.__data_); if ( (*(_BYTE *)&v10.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v10.__r_.__value_.__l.__data_); v11.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)6; *(_DWORD *)((char *)&v11.__r_.__value_.__l.0 + 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_ = 79; strcpy( v15.__r_.__value_.__l.__data_, "I cannot stay here any longer.\nYou must find a way to release me."); v5 = DialogObject::create(&v11, &v15, 15, 0, 0xFFFFFF, 0.89999998); sub_1007FEBF0(v1, v5); if ( (*(_BYTE *)&v15.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v15.__r_.__value_.__l.__data_); if ( (*(_BYTE *)&v11.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v11.__r_.__value_.__l.__data_); v6 = DialogLayer::createWithObjects(v1, 4u); (*(void (__fastcall **)(__int64, char *, __int64))(*(_QWORD *)a1 + 464LL))(a1, v6, 100); *((_QWORD *)v6 + 78) = a1 + 408; (*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v6 + 72LL))(v6, 2); DialogLayer::updateChatPlacement((__int64)v6, 1); return DialogLayer::animateIn((__int64)v6, 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source