// // sub_10013A798 from 0x10013a798 to 0x10013a8f4 (348 bytes) // // 2 xrefs: // > GJNotificationCell::loadFromNotification @ 0x100130ee8 // > GJNotificationCell::loadFromNotification @ 0x100130fa4 // // 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 10:59:28 +0000 // __int64 __fastcall sub_10013A798(__int64 a1, std::string *a2) { __int64 v2; // x8 __int64 result; // x0 __int64 v6; // x0 const char *v7; // x0 size_t v8; // x0 std::string::size_type v9; // x21 int v10; // w22 __int64 v11; // x8 __int64 v12; // x0 std::string::size_type size; // x8 std::string v14; // [xsp+0h] [xbp-70h] BYREF std::string v15; // [xsp+18h] [xbp-58h] BYREF std::string __p; // [xsp+30h] [xbp-40h] BYREF v2 = *(_QWORD *)(a1 + 608); if ( !v2 ) return 0; result = *(_QWORD *)(v2 + 648); if ( !result ) return result; if ( (int)sub_1002E757C(result) < 2 ) return 0; v6 = sub_1002E75A0(*(_QWORD *)(*(_QWORD *)(a1 + 608) + 648LL), 0); v7 = (const char *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 944LL))(v6); v8 = strlen(v7); memset(&__p, 0, sizeof(__p)); if ( v8 >= 5 ) { v9 = v8; LOBYTE(v10) = 0; do { sub_10004B264((__int64)a2, v9, (std::string::size_type *)&v15); if ( (v10 & 0x80) != 0 ) operator delete(__p.__r_.__value_.__l.__data_); __p = v15; v10 = SHIBYTE(v15.__r_.__value_.__r.__words[2]); if ( (*((_BYTE *)&v15.__r_.__value_.__s + 23) & 0x80) != 0 ) sub_1000097D0(&v14, __p.__r_.__value_.__l.__data_, __p.__r_.__value_.__l.__size_); else v14 = __p; TextArea::setString(a1, (const void **)&v14.__r_.__value_.__l.__data_); if ( SHIBYTE(v14.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v14.__r_.__value_.__l.__data_); v11 = *(_QWORD *)(a1 + 608); if ( !v11 ) break; v12 = *(_QWORD *)(v11 + 648); if ( !v12 ) break; if ( (int)sub_1002E757C(v12) < 2 ) break; v9 -= 4LL; } while ( v9 > 4 ); size = __p.__r_.__value_.__l.__size_; if ( v10 >= 0 ) size = v10; if ( size ) { std::string::operator=(a2, &__p); LOBYTE(v10) = *((_BYTE *)&__p.__r_.__value_.__s + 23); } if ( (v10 & 0x80) != 0 ) operator delete(__p.__r_.__value_.__l.__data_); } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source