//
// EmotePickerPopup::createPicker from 0x779464 to 0x7794da (118 bytes)
//
// 1 xrefs:
// > EmotePickerPopup::togglePicker @ 0x779512
//
// 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::createPicker(const cocos2d::CCPoint *a1)
{
void *v2; // r4
float v4[2]; // [sp+Ch] [bp-10h] BYREF
v2 = (void *)operator new(0x378u);
memset(v2, 0, 0x378u);
EmotePickerPopup::EmotePickerPopup((EmotePickerPopup *)v2);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v4, a1);
if ( EmotePickerPopup::init((int)v2, 0, v4, 0, 0) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);
return v2;
}
else
{
(*(void (__fastcall **)(void *))(*(_DWORD *)v2 + 8))(v2);
return nullptr;
}
}