// // HardStreak::init from 0x1403bfa70 to 0x1403bfb17 (167 bytes) // // 4 xrefs: // > HardStreak::create @ 0x1403bfa2c // > HardStreak::create @ 0x1403bfa1d // > @ 0x1407834a8 // > @ 0x140923fe4 // // 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 11:31:28 +0000 // bool __fastcall HardStreak::init(cocos2d::CCArray **a1) { bool result; // al __int64 v3; // rcx cocos2d::CCObject *v4; // rax __int64 v5; // rax __int64 v6; // rax char v7; // [rsp+38h] [rbp+10h] BYREF result = cocos2d::CCDrawNode::init((cocos2d::CCDrawNode *)a1); if ( result ) { v4 = (cocos2d::CCObject *)cocos2d::CCArray::create(v3); a1[52] = v4; cocos2d::CCObject::retain(v4); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v7, (const struct cocos2d::CCPoint *)&unk_14090AD70); HardStreak::addPoint(a1, v5); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v7, 10.0, 10.0); cocos2d::CCPoint::operator=(a1 + 53, v6); HardStreak::updateStroke(a1); (*((void (__fastcall **)(cocos2d::CCArray **))*a1 + 93))(a1); cocos2d::CCDrawNode::clear((cocos2d::CCDrawNode *)a1); cocos2d::CCArray::removeAllObjects(a1[52]); return 1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source