// // NewThreadPopup::textChanged from 0x100947630 to 0x100947829 (505 bytes) // // 2 xrefs: // > sub_100947850 @ 0x10094785c // > @ 0x100bc5dd0 // // This function is hookable on this platform (idp: pc, 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 12:38:34 +0000 // void __fastcall NewThreadPopup::textChanged(__int64 a1, __int64 a2) { __int64 v2; // rbx int v3; // eax __int64 v4; // rbx int v5; // eax int v6; // r14d void (__fastcall *v7)(__int64, __int64); // rax void *v8; // rsi int v9; // r15d int v10; // r14d void (__fastcall *v11)(__int64, __int64); // rax void *v12; // rsi int v13; // esi char *v14; // rax __int64 CString; // rax int v16; // r14d char *v17; // rax __int64 v18; // rax void *v19[3]; // [rsp+8h] [rbp-38h] BYREF float v20; // [rsp+20h] [rbp-20h] float v21; // [rsp+24h] [rbp-1Ch] if ( *(_QWORD *)(a1 + 880) == a2 ) { v4 = *(_QWORD *)(a1 + 864); CCTextInputNode::getString(v19, a2); v5 = sub_100904E50((unsigned __int8 *)v19); if ( v4 ) { v6 = v5; v7 = *(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 1024LL); if ( v6 > 13 ) { v7(v4, 255); v8 = &unk_100A14323; if ( (unsigned int)v6 < 0x12 ) v8 = &unk_100A14382; } else { v7(v4, 100); v8 = &unk_100A14382; } (*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v4 + 1072LL))(v4, v8); v13 = 20 - v6; if ( 20 - v6 <= 0 ) v13 = 0; v14 = sub_10088E820("%i", v13); CString = cocos2d::CCString::getCString((__int64)v14); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 928LL))(v4, CString); } } else { if ( *(_QWORD *)(a1 + 888) != a2 ) return; v2 = *(_QWORD *)(a1 + 872); CCTextInputNode::getString(v19, a2); if ( *(_BYTE *)(a1 + 737) == 1 ) v3 = EmoteSprite::maxEmotesMessage(); else v3 = EmoteSprite::maxEmotesComment(); v9 = EmoteSprite::effectiveLength((unsigned __int8 *)v19, v3); v10 = 300; if ( *(_BYTE *)(a1 + 737) ) v10 = 500; if ( v2 ) { v21 = (float)v10; v20 = (float)v9; v11 = *(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 1024LL); if ( (float)(0.69999999 * (float)v10) <= (float)v9 ) { v11(v2, 255); v12 = &unk_100A14323; if ( (float)(v21 * 0.89999998) > v20 ) v12 = &unk_100A14382; } else { v11(v2, 100); v12 = &unk_100A14382; } (*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v2 + 1072LL))(v2, v12); v16 = v10 - v9; if ( v16 <= 0 ) v16 = 0; v17 = sub_10088E820("%i", v16); v18 = cocos2d::CCString::getCString((__int64)v17); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 928LL))(v2, v18); } } if ( ((__int64)v19[0] & 1) != 0 ) operator delete(v19[2]); }
GD Web Decomp Icon

GD Web Decomp

Raw Source