// // HardStreak::init from 0x10009ce30 to 0x10009cf04 (212 bytes) // // 1 xrefs: // > @ 0x1008b62d0 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // bool __fastcall HardStreak::init(HardStreak *a1) { __int64 v1; // rsi bool result; // al bool v3; // r13 cocos2d::CCArray *v4; // rax cocos2d::CCArray *m_pointArray; // r15 cocos2d::CCPoint v6; // xmm0_8 PointNode *v7; // rax double v8; // xmm0_8 _BYTE v9[8]; // [rsp+8h] [rbp-38h] BYREF _BYTE v10[48]; // [rsp+10h] [rbp-30h] BYREF result = cocos2d::CCDrawNode::init(a1); if ( result ) { v3 = result; v4 = (cocos2d::CCArray *)sub_10071F9E0(a1, v1); a1->m_pointArray = v4; cocos2d::CCObject::retain(v4); sub_10028CC60(v9); m_pointArray = a1->m_pointArray; *(double *)&v6 = sub_10028CC60(v10); v7 = PointNode::create(v6); sub_10071FCD0(m_pointArray, v7); sub_10028CBE0(v10, 10.0, 10.0); v8 = sub_10028CC90(); HardStreak::updateStroke(a1, *(float *)&v8); ((void (__fastcall *)(HardStreak *, _BYTE *))a1->visit)(a1, v10); cocos2d::CCDrawNode::clear(a1); sub_100720270(a1->m_pointArray); return v3; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source