//
// DemonInfoPopup::create from 0x1008a7c10 to 0x1008a7e26 (534 bytes)
//
// 1 xrefs:
// > DemonInfoPopup::createFromString @ 0x1008a5014
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 12:37:17 +0000
//
char *__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(0x298u);
cocos2d::CCLayerColor::CCLayerColor((__int64)v14);
*(_QWORD *)v14 = off_100B4FB70;
*((_QWORD *)v14 + 40) = off_100B500C0;
*((_QWORD *)v14 + 41) = &off_100B50130;
*((_QWORD *)v14 + 42) = off_100B50148;
*((_QWORD *)v14 + 43) = off_100B50168;
*((_QWORD *)v14 + 44) = off_100B50190;
*((_QWORD *)v14 + 51) = off_100B501C0;
*((_QWORD *)v14 + 54) = off_100B50240;
*((_QWORD *)v14 + 68) = off_100B50260;
*(_OWORD *)(v14 + 552) = 0;
*(_OWORD *)(v14 + 561) = 0;
*(_OWORD *)(v14 + 584) = 0;
sub_1002782A0((_QWORD *)v14 + 75);
*((_OWORD *)v14 + 38) = 0;
*((_QWORD *)v14 + 78) = 0;
*((_DWORD *)v14 + 158) = -1;
*((_WORD *)v14 + 318) = 0;
*((_DWORD *)v14 + 160) = -1;
v14[644] = 0;
*((_QWORD *)v14 + 81) = 0;
v14[656] = 0;
*(_QWORD *)v14 = off_100BAA738;
*((_QWORD *)v14 + 40) = off_100BAAC88;
*((_QWORD *)v14 + 41) = &off_100BAACF8;
*((_QWORD *)v14 + 42) = off_100BAAD10;
*((_QWORD *)v14 + 43) = off_100BAAD30;
*((_QWORD *)v14 + 44) = off_100BAAD58;
*((_QWORD *)v14 + 51) = off_100BAAD88;
*((_QWORD *)v14 + 54) = off_100BAAE08;
*((_QWORD *)v14 + 68) = off_100BAAE28;
if ( (unsigned __int8)DemonInfoPopup::init((_DWORD)v14, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12) )
{
cocos2d::CCObject::autorelease((__int64)v14);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v14 + 16LL))(v14);
return nullptr;
}
return v14;
}