//
// NewThreadPopup::emotePicked from 0xc7c4b0 to 0xc7c504 (84 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'NewThreadPopup::emotePicked @ 0xc7c508
// > ??> @ 0xbd910
// > ??> @ 0x14efbc0
//
// 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:36 +0000
//
__int64 __fastcall NewThreadPopup::emotePicked(__int64 result, __int64 a2, const char **a3)
{
__int64 *v3; // x19
size_t v4; // x0
const char *v5; // [xsp+28h] [xbp+28h]
if ( a3 )
{
if ( *a3 )
{
v3 = (__int64 *)result;
v5 = *a3;
v4 = strlen(*a3);
std::string::assign(v3 + 98, v5, v4);
return NewThreadPopup::refreshIconSlot((NewThreadPopup *)v3);
}
}
return result;
}