// // cocos2d::CCSpawn::initWithTwoActions from 0xd35bd4 to 0xd35c9c (200 bytes) // // 4 xrefs: // > cocos2d::CCSpawn::createWithTwoActions @ 0xd35d00 // > cocos2d::CCSpawn::copyWithZone @ 0xd35ffc // > cocos2d::CCSpawn::copyWithZone @ 0xd360a0 // > @ 0x68758 // // 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 13:07:23 +0000 // __int64 __fastcall cocos2d::CCSpawn::initWithTwoActions( cocos2d::CCObject **this, cocos2d::CCFiniteTimeAction *a2, cocos2d::CCFiniteTimeAction *a3) { cocos2d::CCFiniteTimeAction *v3; // x20 float v5; // s8 float v6; // s9 float v7; // s0 int v8; // w1 __int64 result; // x0 cocos2d::CCFiniteTimeAction *v10; // x0 cocos2d::CCSequence *v11; // x0 cocos2d::CCFiniteTimeAction *v12; // x0 cocos2d::CCFiniteTimeAction *v13; // x2 v3 = a2; v5 = *((float *)a3 + 20); v6 = *((float *)a2 + 20); v7 = v5; if ( v6 >= v5 ) v7 = *((float *)a2 + 20); v8 = (unsigned __int8)cocos2d::CCActionInterval::initWithDuration((cocos2d::CCActionInterval *)this, v7); result = 0; if ( v8 ) { *(this + 12) = v3; *(this + 13) = a3; if ( v6 > v5 ) { v10 = cocos2d::CCDelayTime::create(nullptr, v6 - v5); v11 = cocos2d::CCSequence::createWithTwoActions(a3, v10, a3); v3 = *(this + 12); *(this + 13) = v11; } else if ( v6 < v5 ) { v12 = cocos2d::CCDelayTime::create(nullptr, v5 - v6); v3 = cocos2d::CCSequence::createWithTwoActions(v3, v12, v13); *(this + 12) = v3; } cocos2d::CCObject::retain(v3); cocos2d::CCObject::retain(*(this + 13)); return 1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source