// // CreateGuidelinesLayer::recordingDidStop from 0x10050dd40 to 0x10050e006 (710 bytes) // // 1 xrefs: // > @ 0x100b68b38 // // 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:31:35 +0000 // void __fastcall CreateGuidelinesLayer::recordingDidStop(__int64 a1) { unsigned int v2; // eax __int64 v3; // rax __int64 v4; // rdi void (__fastcall *v5)(__int64, const char *); // rcx __int64 v6; // rax __int64 v7; // rax std::string *v8; // r15 char v9; // al __int64 v10; // r14 __int64 v11; // r14 std::string v12; // [rsp+0h] [rbp-C0h] BYREF __int128 v13; // [rsp+20h] [rbp-A0h] BYREF void *v14; // [rsp+30h] [rbp-90h] __int128 v15; // [rsp+40h] [rbp-80h] BYREF void *__p; // [rsp+50h] [rbp-70h] std::string __str; // [rsp+60h] [rbp-60h] BYREF __int128 v18; // [rsp+78h] [rbp-48h] BYREF void *v19; // [rsp+88h] [rbp-38h] __int128 v20; // [rsp+90h] [rbp-30h] BYREF void *v21; // [rsp+A0h] [rbp-20h] v2 = *(unsigned __int8 *)(a1 + 736); if ( (v2 & 1) != 0 ) v3 = *(_QWORD *)(a1 + 744); else v3 = v2 >> 1; v4 = *(_QWORD *)(a1 + 704); v5 = *(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v4 + 928LL); if ( !v3 ) { v5(v4, ""); goto LABEL_30; } v5(v4, "Guidelines saved"); v6 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 672) + 24LL))(*(_QWORD *)(a1 + 672)); if ( (*(_BYTE *)(v6 + 392) & 1) == 0 ) { v7 = v6 + 392; v21 = *(void **)(v7 + 16); v20 = *(_OWORD *)v7; v8 = (std::string *)(a1 + 736); v9 = v20; if ( (v20 & 1) != 0 ) goto LABEL_7; LABEL_12: if ( v9 ) { v13 = v20; v14 = v21; if ( (*(_BYTE *)&v8->__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_9; goto LABEL_14; } LABEL_21: v11 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 672) + 24LL))(*(_QWORD *)(a1 + 672)); if ( (*(_BYTE *)&v8->__r_.__value_.__s.0 & 1) != 0 ) sub_10001AD30(&v12, *(const void **)(a1 + 752), *(_QWORD *)(a1 + 744)); else v12 = *v8; std::string::operator=((std::string *)(v11 + 392), &v12); if ( (*(_BYTE *)&v12.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v12.__r_.__value_.__l.__data_); *(_BYTE *)((*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 672) + 24LL))(*(_QWORD *)(a1 + 672)) + 416) = 1; if ( (v20 & 1) != 0 ) goto LABEL_29; goto LABEL_30; } sub_10001AD30(&v20, *(const void **)(v6 + 408), *(_QWORD *)(v6 + 400)); v8 = (std::string *)(a1 + 736); v9 = v20; if ( (v20 & 1) == 0 ) goto LABEL_12; LABEL_7: if ( !*((_QWORD *)&v20 + 1) ) goto LABEL_21; sub_10001AD30(&v13, v21, *((unsigned __int64 *)&v20 + 1)); if ( (*(_BYTE *)&v8->__r_.__value_.__s.0 & 1) == 0 ) { LABEL_9: __p = v8->__r_.__value_.__l.__data_; v15 = *(_OWORD *)&v8->__r_.__value_.__l.0; goto LABEL_15; } LABEL_14: sub_10001AD30(&v15, *(const void **)(a1 + 752), *(_QWORD *)(a1 + 744)); LABEL_15: CreateGuidelinesLayer::getMergedRecordString(&v18, a1, &v13, &v15); if ( (v15 & 1) != 0 ) operator delete(__p); if ( (v13 & 1) != 0 ) operator delete(v14); v10 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 672) + 24LL))(*(_QWORD *)(a1 + 672)); if ( (v18 & 1) != 0 ) { sub_10001AD30(&__str, v19, *((unsigned __int64 *)&v18 + 1)); } else { __str.__r_.__value_.__r.__words[2] = (std::string::size_type)v19; *(_OWORD *)&__str.__r_.__value_.__l.0 = v18; } std::string::operator=((std::string *)(v10 + 392), &__str); if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) != 0 ) operator delete(__str.__r_.__value_.__l.__data_); *(_BYTE *)((*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 672) + 24LL))(*(_QWORD *)(a1 + 672)) + 416) = 1; if ( (v18 & 1) != 0 ) operator delete(v19); if ( (v20 & 1) != 0 ) LABEL_29: operator delete(v21); LABEL_30: if ( *(int *)(a1 + 728) >= 1001 ) (*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(a1 + 704) + 928LL))( *(_QWORD *)(a1 + 704), "Maximum limit exceeded"); *(_DWORD *)(a1 + 728) = 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source