//
// SoundPackDescPopup::emotePicked from 0x786364 to 0x78638c (40 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'SoundPackDescPopup::emotePicked @ 0x786390
//
// 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:59:32 +0000
//
int __fastcall SoundPackDescPopup::emotePicked(int result, int a2, const char **a3)
{
SoundPackDescPopup *v3; // r5
const char *v4; // r4
size_t v5; // r0
v3 = (SoundPackDescPopup *)result;
if ( a3 )
{
v4 = *a3;
if ( *a3 )
{
v5 = strlen(*a3);
std::string::assign((_DWORD *)v3 + 182, v4, v5);
return SoundPackDescPopup::refreshIconSlot(v3);
}
}
return result;
}