//
// EmotePickerPopup::create from 0x1004dad60 to 0x1004dae08 (168 bytes)
//
// 1 xrefs:
// > EmotePickerPopup::toggle @ 0x1004db184
//
// 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
//
void *__fastcall EmotePickerPopup::create(__int64 a1, double *a2, __int64 a3, __int64 a4)
{
void *v8; // x19
double v9; // d0
__int64 v11; // [xsp+8h] [xbp-38h] BYREF
v8 = operator new(0x4D8u);
bzero(v8, 0x4D8u);
EmotePickerPopup::EmotePickerPopup(v8);
v9 = sub_1000262F4(&v11, a2);
if ( (unsigned int)EmotePickerPopup::init(v8, a1, &v11, a3, a4, v9) )
{
cocos2d::CCObject::autorelease((__int64)v8);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v8 + 16LL))(v8);
return nullptr;
}
return v8;
}