//
// sub_1008FAD30 from 0x1008fad30 to 0x1008fad8e (94 bytes)
//
// 1 xrefs:
// > SoundPackDescPopup::init @ 0x1008fa92b
//
// 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:00 +0000
//
__int64 __fastcall sub_1008FAD30(__int64 a1, __int64 a2)
{
__int64 v2; // r15
__int64 v3; // r12
unsigned int v4; // eax
__int64 result; // rax
v2 = *(_QWORD *)(a1 + 1032);
v3 = *(_QWORD *)(a1 + 1088);
v4 = EmoteSprite::maxEmotesComment(a1, a2);
result = EmotePickerPopup::toggle(v3, a1 + 1016, a2, v2, v4, 140);
*(_QWORD *)(a1 + 1088) = result;
return result;
}