// // ThreadViewPopup::updateComposeCount from 0xc664d8 to 0xc66600 (296 bytes) // // 3 xrefs: // > ThreadViewPopup::textChanged @ 0xc66964 // > ThreadViewPopup::exitSearch @ 0xc86648 // > @ 0xbaf10 // // 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 13:05:25 +0000 // __int64 __fastcall ThreadViewPopup::updateComposeCount(ThreadViewPopup *this) { CCTextInputNode *v2; // x0 __int64 *String; // x0 int v4; // w0 int v5; // w21 long double v6; // q0 long double v7; // q1 __int64 v8; // x19 const char *v9; // x1 void (__fastcall *v10)(__int64, __int64); // x21 cocos2d::CCString *v11; // x0 __int64 CString; // x0 __int64 v14[3]; // [xsp+30h] [xbp+30h] BYREF if ( *((_QWORD *)this + 127) ) { v2 = *((CCTextInputNode **)this + 116); if ( v2 ) { String = CCTextInputNode::getString(v2, v14); v4 = EmoteSprite::maxEmotesMessage((EmoteSprite *)String); v5 = EmoteSprite::effectiveLength((char *)v14, v4); if ( (v14[0] & 1) != 0 ) operator delete((void *)v14[2]); *(float *)&v7 = (float)v5; LODWORD(v6) = 1135542272; (*(void (__fastcall **)(_QWORD, bool, long double, long double))(**((_QWORD **)this + 127) + 344LL))( *((_QWORD *)this + 127), (float)v5 >= 350.0, v6, v7); (*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 127) + 1072LL))(*((_QWORD *)this + 127)); v8 = *((_QWORD *)this + 127); v9 = (const char *)(unsigned int)(500 - v5); v10 = *(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 928LL); v11 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", v9); CString = cocos2d::CCString::getCString(v11); v10(v8, CString); } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source