//
// EmotePickerPopup::createPicker from 0x1004db050 to 0x1004db0dc (140 bytes)
//
// 1 xrefs:
// > EmotePickerPopup::togglePicker @ 0x1004db304
//
// 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::createPicker(double *a1)
{
void *v2; // x19
__int64 v4; // [xsp+8h] [xbp-18h] BYREF
v2 = operator new(0x4D8u);
bzero(v2, 0x4D8u);
EmotePickerPopup::EmotePickerPopup(v2);
sub_1000262F4(&v4, a1);
if ( (unsigned int)EmotePickerPopup::init((__int64)v2, 0, (float *)&v4, 0, 0) )
{
cocos2d::CCObject::autorelease((__int64)v2);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return v2;
}