// // cocos2d::CCSpawn::initWithTwoActions from 0x7bf50c to 0x7bf58a (126 bytes) // // 2 xrefs: // > cocos2d::CCSpawn::createWithTwoActions @ 0x7bf5b8 // > cocos2d::CCSpawn::copyWithZone @ 0x7bf70c // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:00:19 +0000 // int __fastcall cocos2d::CCSpawn::initWithTwoActions( cocos2d::CCObject **this, cocos2d::CCFiniteTimeAction *a2, cocos2d::CCFiniteTimeAction *a3) { float v6; // s17 float v7; // s16 float v8; // r1 int result; // r0 float v10; // r1 cocos2d::CCFiniteTimeAction *v11; // r0 cocos2d::CCFiniteTimeAction *v12; // r2 cocos2d::CCFiniteTimeAction *v13; // r0 cocos2d::CCFiniteTimeAction *v14; // r2 v6 = *((float *)a3 + 17); v7 = *((float *)a2 + 17); if ( v7 < v6 ) v8 = *((float *)a3 + 17); else v8 = *((float *)a2 + 17); result = cocos2d::CCActionInterval::initWithDuration((cocos2d::CCActionInterval *)this, v8); if ( result ) { *(this + 20) = a2; *(this + 21) = a3; if ( v7 <= v6 ) { if ( v7 < v6 ) { v13 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCDelayTime::create(COERCE_COCOS2D_CCDELAYTIME_(v6 - v7), v10); *(this + 20) = (cocos2d::CCObject *)cocos2d::CCSequence::createWithTwoActions(a2, v13, v14); } } else { v11 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCDelayTime::create(COERCE_COCOS2D_CCDELAYTIME_(v7 - v6), v10); *(this + 21) = (cocos2d::CCObject *)cocos2d::CCSequence::createWithTwoActions(a3, v11, v12); } cocos2d::CCObject::retain(*(this + 20)); cocos2d::CCObject::retain(*(this + 21)); return 1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source