//
// SoundPackDescPopup::create from 0x1008f79e0 to 0x1008f7b0c (300 bytes)
//
// 1 xrefs:
// > sub_1008F6B00 @ 0x1008f6b75
//
// 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:59 +0000
//
char *__fastcall SoundPackDescPopup::create(__int64 a1, __int64 a2, __int64 a3)
{
char *v4; // rbx
v4 = (char *)operator new(0x448u);
SetupTriggerPopup::SetupTriggerPopup((__int64)v4);
*(_QWORD *)v4 = off_100BB6458;
*((_QWORD *)v4 + 40) = off_100BB6A58;
*((_QWORD *)v4 + 41) = &off_100BB6AC8;
*((_QWORD *)v4 + 42) = off_100BB6AE0;
*((_QWORD *)v4 + 43) = off_100BB6B00;
*((_QWORD *)v4 + 44) = off_100BB6B28;
*((_QWORD *)v4 + 51) = off_100BB6B58;
*((_QWORD *)v4 + 54) = off_100BB6BD8;
*((_QWORD *)v4 + 68) = off_100BB6BF8;
*((_QWORD *)v4 + 83) = &off_100BB6C40;
*((_QWORD *)v4 + 84) = off_100BB6C58;
*((_QWORD *)v4 + 127) = off_100BB6C78;
*((_OWORD *)v4 + 64) = 0;
*((_DWORD *)v4 + 260) = 0;
*(_OWORD *)(v4 + 1048) = 0;
*(_OWORD *)(v4 + 1064) = 0;
*(_OWORD *)(v4 + 1080) = 0;
if ( (unsigned __int8)SoundPackDescPopup::init(v4, a1, a2, a3) )
{
cocos2d::CCObject::autorelease((__int64)v4);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 16LL))(v4);
return nullptr;
}
return v4;
}