// // ThreadViewPopup::updateComposeCount from 0x74886c to 0x74892a (190 bytes) // // 3 xrefs: // > ThreadViewPopup::textChanged @ 0x74894c // > ThreadViewPopup::exitSearch @ 0x75bdc2 // > @ 0xabceb2 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:58:44 +0000 // int __fastcall ThreadViewPopup::updateComposeCount(int this) { int v1; // r6 int v2; // r1 CCTextInputNode *String; // r0 int v4; // r0 int v5; // r2 int v6; // r3 int v7; // r7 __int16 *v8; // r1 int v9; // r4 int (__fastcall *v10)(int, int); // r6 cocos2d::CCString *v11; // r0 int CString; // r0 unsigned __int8 v13[12]; // [sp+0h] [bp-14h] BYREF v1 = this; if ( *(_DWORD *)(this + 748) ) { v2 = *(_DWORD *)(this + 684); if ( v2 ) { String = CCTextInputNode::getString((CCTextInputNode *)v13, v2); v4 = EmoteSprite::maxEmotesMessage(String); v7 = EmoteSprite::effectiveLength(v13, v4, v5, v6); std::string::~string((int)v13); (*(void (__fastcall **)(_DWORD, bool))(**(_DWORD **)(v1 + 748) + 172))(*(_DWORD *)(v1 + 748), (float)v7 >= 350.0); if ( v7 > 500 ) v8 = (__int16 *)&unk_BF0733; else v8 = &word_BF0730; (*(void (__fastcall **)(_DWORD, __int16 *))(**(_DWORD **)(v1 + 748) + 536))(*(_DWORD *)(v1 + 748), v8); v9 = *(_DWORD *)(v1 + 748); v10 = *(int (__fastcall **)(int, int))(*(_DWORD *)v9 + 464); v11 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%i", (const char *)(500 - v7)); CString = cocos2d::CCString::getCString(v11); return v10(v9, CString); } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source