//
// GJMessagePopup::create from 0x5e0ea8 to 0x5e0f68 (192 bytes)
//
// 2 xrefs:
// > GJMessageCell::onViewMessage @ 0x426834
// > GJWriteMessagePopup::closeMessagePopup @ 0x5e100e
//
// 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:54:15 +0000
//
FLAlertLayer *__fastcall GJMessagePopup::create(GJMessagePopup *this, GJUserMessage *a2)
{
FLAlertLayer *v3; // r4
int v4; // r3
int *v5; // r0
v3 = (FLAlertLayer *)operator new(0x230u);
FLAlertLayer::FLAlertLayer(v3);
*(_DWORD *)v3 = &off_CB9380;
*((_DWORD *)v3 + 66) = &off_CB9640;
*((_DWORD *)v3 + 67) = &off_CB9678;
*((_DWORD *)v3 + 68) = &off_CB9684;
*((_DWORD *)v3 + 69) = &off_CB9694;
*((_DWORD *)v3 + 70) = &off_CB96A8;
*((_DWORD *)v3 + 79) = &off_CB96C0;
*((_DWORD *)v3 + 83) = &off_CB9700;
*((_DWORD *)v3 + 110) = &off_CB9710;
*((_DWORD *)v3 + 130) = &off_CB9734;
*((_DWORD *)v3 + 131) = &off_CB9744;
*((_DWORD *)v3 + 132) = &off_CB9750;
*((_DWORD *)v3 + 133) = &off_CB975C;
*((_BYTE *)v3 + 536) = 0;
*((_DWORD *)v3 + 136) = 0;
*((_DWORD *)v3 + 137) = 0;
*((_DWORD *)v3 + 138) = 0;
*((_DWORD *)v3 + 139) = 0;
if ( GJMessagePopup::init(v3, this) )
{
cocos2d::CCObject::autorelease(v3);
}
else
{
v4 = *(_DWORD *)v3;
v5 = (int *)v3;
v3 = nullptr;
(*(void (__fastcall **)(int *))(v4 + 8))(v5);
}
return v3;
}