// // cocos2d::CCSpawn::initWithTwoActions from 0x180035fd0 to 0x180036089 (185 bytes) // // 5 xrefs: // > cocos2d::CCSpawn::copyWithZone @ 0x18003374b // > cocos2d::CCSpawn::create @ 0x18003510f // > cocos2d::CCSpawn::createWithTwoActions @ 0x180035640 // > @ 0x18014cf68 // > @ 0x1801ba8dc // // 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:21:35 +0000 // char __fastcall cocos2d::CCSpawn::initWithTwoActions( cocos2d::CCSpawn *this, struct cocos2d::CCFiniteTimeAction *a2, struct cocos2d::CCFiniteTimeAction *a3) { float v3; // xmm2_4 float v4; // xmm3_4 float v5; // xmm1_4 struct cocos2d::CCFiniteTimeAction *v9; // rax struct cocos2d::CCFiniteTimeAction *v10; // rax v3 = *((float *)a2 + 20); v4 = *((float *)a3 + 20); v5 = fmaxf(v3, v4); *((float *)this + 20) = v5; if ( v5 == 0.0 ) *((_DWORD *)this + 20) = 872415232; *((_DWORD *)this + 22) = 0; *((_BYTE *)this + 92) = 1; *((_QWORD *)this + 12) = a2; *((_QWORD *)this + 13) = a3; if ( v3 <= v4 ) { if ( v4 > v3 ) { v10 = cocos2d::CCDelayTime::create(v4 - v3); *((_QWORD *)this + 12) = cocos2d::CCSequence::createWithTwoActions(a2, v10); } } else { v9 = cocos2d::CCDelayTime::create(v3 - v4); *((_QWORD *)this + 13) = cocos2d::CCSequence::createWithTwoActions(a3, v9); } cocos2d::CCObject::retain(*((cocos2d::CCObject **)this + 12)); cocos2d::CCObject::retain(*((cocos2d::CCObject **)this + 13)); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source