// // sub_10051CDDC from 0x10051cddc to 0x10051cea8 (204 bytes) // // 2 xrefs: // > sub_10051C1D8 @ 0x10051c208 // > PlatformerControlsPopup::onClose @ 0x10051d2fc // // This function is hookable on this platform (idp: arm, 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:07:09 +0000 // void __fastcall sub_10051CDDC(__int64 a1) { __int64 v2; // x0 char v3; // w21 size_t size; // x2 __int64 v5; // x9 int v6; // w8 std::string *p_str; // x0 const void *v8; // x1 std::string __str; // [xsp+8h] [xbp-38h] BYREF v2 = *(_QWORD *)(a1 + 1064); if ( v2 ) { sub_1004F1048(v2, (__n128 *)&__str); v3 = HIBYTE(__str.__r_.__value_.__r.__words[2]); if ( (__str.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ) size = HIBYTE(__str.__r_.__value_.__r.__words[2]); else size = __str.__r_.__value_.__l.__size_; v5 = *(unsigned __int8 *)(a1 + 1095); v6 = (char)v5; if ( (v5 & 0x80u) != 0LL ) v5 = *(_QWORD *)(a1 + 1080); if ( size != v5 || ((__str.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ? (p_str = &__str) : (p_str = (std::string *)__str.__r_.__value_.__r.__words[0]), v6 >= 0 ? (v8 = (const void *)(a1 + 1072)) : (v8 = *(const void **)(a1 + 1072)), memcmp(p_str, v8, size)) ) { std::string::operator=((std::string *)(*(_QWORD *)(a1 + 1048) + 1816LL), &__str); *(_BYTE *)(*(_QWORD *)(a1 + 1048) + 1844LL) = 1; std::string::operator=((std::string *)(a1 + 1072), &__str); v3 = HIBYTE(__str.__r_.__value_.__r.__words[2]); } if ( v3 < 0 ) operator delete(__str.__r_.__value_.__l.__data_); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source