//
// HardStreak::create from 0x100063fb0 to 0x100064048 (152 bytes)
//
// 2 xrefs:
// > HardStreak::createDuplicate @ 0x100065372
// > PlayerObject::setupStreak @ 0x1003e9cd3
//
// 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:19:42 +0000
//
_QWORD *HardStreak::create()
{
_QWORD *v0; // rbx
v0 = operator new(0x1C0u);
sub_1006ED590(v0);
*v0 = off_100AB9920;
v0[40] = off_100AB9D20;
v0[52] = 0;
sub_1002782A0(v0 + 53);
v0[54] = 0x3F8000003F800000LL;
*((_WORD *)v0 + 220) = 0;
*((_BYTE *)v0 + 442) = 0;
if ( (*(unsigned __int8 (__fastcall **)(_QWORD *))(*v0 + 80LL))(v0) )
{
cocos2d::CCObject::autorelease(v0);
}
else
{
(*(void (__fastcall **)(_QWORD *))(*v0 + 16LL))(v0);
return nullptr;
}
return v0;
}