//
// DemonInfoPopup::create from 0x1007c1290 to 0x1007c140c (380 bytes)
//
// 1 xrefs:
// > DemonInfoPopup::createFromString @ 0x1007bf194
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
DemonInfoPopup *__fastcall DemonInfoPopup::create(
int a1,
int a2,
int a3,
int a4,
int a5,
int a6,
int a7,
int a8,
int a9,
int a10,
int a11,
int a12)
{
char *v14; // rbx
v14 = (char *)operator new(0x278u);
cocos2d::CCLayerColor::CCLayerColor((__int64)v14);
*((_QWORD *)v14 + 72) = 0;
*((_DWORD *)v14 + 146) = 0;
v14[588] = 0;
*((_OWORD *)v14 + 34) = 0;
*(_OWORD *)(v14 + 553) = 0;
*((_OWORD *)v14 + 37) = 0;
*((_QWORD *)v14 + 76) = 0;
*((_DWORD *)v14 + 154) = -1;
*((_WORD *)v14 + 310) = 0;
*((_DWORD *)v14 + 156) = -1;
v14[628] = 0;
*(_QWORD *)v14 = off_100994658;
*((_QWORD *)v14 + 40) = off_100994B78;
*((_QWORD *)v14 + 41) = &off_100994BE8;
*((_QWORD *)v14 + 42) = off_100994C00;
*((_QWORD *)v14 + 43) = off_100994C20;
*((_QWORD *)v14 + 44) = off_100994C40;
*((_QWORD *)v14 + 51) = off_100994C68;
*((_QWORD *)v14 + 54) = off_100994CE8;
if ( DemonInfoPopup::init((DemonInfoPopup *)v14, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v14);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v14 + 16LL))(v14);
return nullptr;
}
return (DemonInfoPopup *)v14;
}