//
// HardStreak::init from 0x9599f4 to 0x959a38 (68 bytes)
//
// 2 xrefs:
// > ??> @ 0xd0330
// > ??> @ 0x146dd00
//
// 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 12:57:27 +0000
//
__int64 __fastcall HardStreak::init(HardStreak *this)
{
cocos2d::CCArray *v2; // x0
unsigned int v3; // w19
cocos2d::CCObject *v4; // x0
v2 = (cocos2d::CCArray *)(unsigned __int8)cocos2d::CCDrawNode::init(this);
v3 = (unsigned __int8)v2;
if ( (_BYTE)v2 )
{
v4 = (cocos2d::CCObject *)cocos2d::CCArray::create(v2);
*((_QWORD *)this + 52) = v4;
cocos2d::CCObject::retain(v4);
HardStreak::firstSetup(this);
}
return v3;
}