//
// EmotePickerPopup::create from 0x779378 to 0x7793fa (130 bytes)
//
// 1 xrefs:
// > EmotePickerPopup::toggle @ 0x77943e
//
// 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:22 +0000
//
void *__fastcall EmotePickerPopup::create(int a1, const cocos2d::CCPoint *a2, int a3, int a4)
{
void *v8; // r4
float v10[2]; // [sp+Ch] [bp-Ch] BYREF
v8 = (void *)operator new(0x378u);
memset(v8, 0, 0x378u);
EmotePickerPopup::EmotePickerPopup((EmotePickerPopup *)v8);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, a2);
if ( EmotePickerPopup::init((int)v8, a1, v10, a3, a4) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v8);
return v8;
}
else
{
(*(void (__fastcall **)(void *))(*(_DWORD *)v8 + 8))(v8);
return nullptr;
}
}