//
// GJWriteMessagePopup::create from 0x5e00cc to 0x5e01ac (224 bytes)
//
// 0 xrefs:
//
// 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 GJWriteMessagePopup::create(GJWriteMessagePopup *this, int a2, int a3)
{
FLAlertLayer *v5; // r4
int v6; // r3
int *v7; // r0
v5 = (FLAlertLayer *)operator new(0x250u);
FLAlertLayer::FLAlertLayer(v5);
*(_DWORD *)v5 = &off_CB9770;
*((_DWORD *)v5 + 66) = &off_CB9A34;
*((_DWORD *)v5 + 67) = &off_CB9A6C;
*((_DWORD *)v5 + 68) = &off_CB9A78;
*((_DWORD *)v5 + 69) = &off_CB9A88;
*((_DWORD *)v5 + 70) = &off_CB9A9C;
*((_DWORD *)v5 + 79) = &off_CB9AB4;
*((_DWORD *)v5 + 83) = &off_CB9AF4;
*((_DWORD *)v5 + 110) = &off_CB9B04;
*((_DWORD *)v5 + 130) = &off_CB9B28;
*((_DWORD *)v5 + 131) = &off_CB9B38;
*((_DWORD *)v5 + 132) = &off_CB9B44;
*((_DWORD *)v5 + 134) = 0;
*((_DWORD *)v5 + 135) = 0;
*((_DWORD *)v5 + 136) = 0;
*((_DWORD *)v5 + 137) = 0;
*((_DWORD *)v5 + 138) = 0;
*((_DWORD *)v5 + 139) = 0;
*((_DWORD *)v5 + 140) = 0;
*((_DWORD *)v5 + 141) = 0;
*((_DWORD *)v5 + 142) = 0;
*((_DWORD *)v5 + 143) = 0;
*((_DWORD *)v5 + 144) = 0;
*((_DWORD *)v5 + 145) = 0;
*((_DWORD *)v5 + 146) = 0;
*((_BYTE *)v5 + 588) = 0;
if ( GJWriteMessagePopup::init(v5, (int)this, a2) )
{
cocos2d::CCObject::autorelease(v5);
}
else
{
v6 = *(_DWORD *)v5;
v7 = (int *)v5;
v5 = nullptr;
(*(void (__fastcall **)(int *))(v6 + 8))(v7);
}
return v5;
}