// // sub_1004FB380 from 0x1004fb380 to 0x1004fb454 (212 bytes) // // 2 xrefs: // > sub_1004FB004 @ 0x1004fb098 // > ThreadViewPopup::textChanged @ 0x10050143c // // 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:06:50 +0000 // __int64 __fastcall sub_1004FB380(__int64 result) { __int64 v1; // x19 int v2; // w0 int v3; // w20 void *v4; // x1 __int64 v5; // x19 void *v6; // x0 __int64 CString; // x0 std::string __p; // [xsp+8h] [xbp-28h] BYREF if ( *(_QWORD *)(result + 1016) ) { v1 = result; result = *(_QWORD *)(result + 928); if ( result ) { CCTextInputNode::getString(result, &__p); v2 = EmoteSprite::maxEmotesMessage(); v3 = EmoteSprite::effectiveLength(&__p, v2); if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__p.__r_.__value_.__l.__data_); (*(void (__fastcall **)(_QWORD, bool))(**(_QWORD **)(v1 + 1016) + 344LL))(*(_QWORD *)(v1 + 1016), v3 > 349); if ( v3 <= 500 ) v4 = &unk_100770166; else v4 = &unk_100770123; (*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(v1 + 1016) + 1072LL))(*(_QWORD *)(v1 + 1016), v4); v5 = *(_QWORD *)(v1 + 1016); v6 = sub_1003065B0("%i", 500 - v3); CString = cocos2d::CCString::getCString((__int64)v6); return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 928LL))(v5, CString); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source