// // EmotePickerPopup::canAddEmote from 0x100903a70 to 0x100903aea (122 bytes) // // 2 xrefs: // > EmotePickerPopup::refreshEnabled @ 0x100902d4f // > EmotePickerPopup::onPickEmote @ 0x1009037d1 // // 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:03 +0000 // __int64 __fastcall EmotePickerPopup::canAddEmote(__int64 a1) { unsigned int v1; // ebx __int64 v2; // rsi int v3; // eax __int64 v4; // rsi void *v6[5]; // [rsp+8h] [rbp-28h] BYREF v2 = *(_QWORD *)(a1 + 1168); if ( v2 ) { v1 = a1; CCTextInputNode::getString(v6, v2); v3 = sub_100904A70(v6, 0, *(unsigned int *)(a1 + 1176)); v4 = *(unsigned int *)(a1 + 1176); if ( v3 < (int)v4 ) { LOBYTE(v1) = (int)EmoteSprite::effectiveLength(v6, v4) < *(_DWORD *)(a1 + 1180); if ( ((__int64)v6[0] & 1) == 0 ) return v1; goto LABEL_7; } v1 = 0; if ( ((__int64)v6[0] & 1) != 0 ) LABEL_7: operator delete(v6[2]); } else { LOBYTE(v1) = 1; } return v1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source