//
// DemonInfoPopup::create from 0x1002314ec to 0x100231600 (276 bytes)
//
// 1 xrefs:
// > DemonInfoPopup::createFromString @ 0x10022f998
//
// This function is hookable on this platform (idp: arm, 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 11:01:17 +0000
//
_QWORD *__fastcall DemonInfoPopup::create(
__int64 a1,
__int64 a2,
__int64 a3,
__int64 a4,
__int64 a5,
__int64 a6,
__int64 a7,
unsigned int a8,
unsigned int a9,
unsigned int a10,
unsigned int a11,
int a12)
{
_QWORD *v20; // x19
v20 = operator new(0x298u);
FLAlertLayer::FLAlertLayer((__int64)v20);
*v20 = &off_100900290;
v20[40] = off_1009007E0;
v20[41] = &off_100900850;
v20[42] = off_100900868;
v20[43] = off_100900888;
v20[44] = off_1009008B0;
v20[51] = off_1009008E0;
v20[54] = off_100900960;
v20[68] = off_100900980;
if ( (unsigned int)DemonInfoPopup::init(
v20,
a1,
a2,
a3,
a4,
a5,
a6,
a7,
__PAIR64__(a9, a8),
__PAIR64__(a11, a10),
a12) )
{
cocos2d::CCObject::autorelease((__int64)v20);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v20 + 16LL))(v20);
return nullptr;
}
return v20;
}