//
// EmoteSprite::defAtIndex from 0x1004dc498 to 0x1004dc4f4 (92 bytes)
//
// 4 xrefs:
// > EmotePickerPopup::onBuildWindowContent @ 0x1004db61c
// > EmotePickerPopup::onBuildWindowContent @ 0x1004db680
// > EmotePickerPopup::layoutEmoteGrid @ 0x1004db950
// > EmotePickerPopup::onPickEmote @ 0x1004dba88
//
// 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 11:06:34 +0000
//
__int64 __fastcall EmoteSprite::defAtIndex(signed int a1)
{
ensureEmotesAreLoaded();
if ( a1 < 0 || (int)(-1431655765 * ((unsigned __int64)(qword_1009F81A8 - qword_1009F81A0) >> 4)) <= a1 )
return 0;
else
return qword_1009F81A0 + 48LL * (unsigned int)a1;
}