// // CCCircleWave::init from 0x140046580 to 0x1400467b9 (569 bytes) // // 3 xrefs: // > CCCircleWave::create @ 0x140046535 // > @ 0x1408855d0 // > @ 0x14090f95c // // 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:25:31 +0000 // char __fastcall CCCircleWave::init(__int64 a1, float a2, float a3, float a4, char a5, char a6) { struct cocos2d::CCActionInterval *v7; // rax struct cocos2d::CCFiniteTimeAction *v8; // rbx struct cocos2d::CCActionInterval *v9; // rax struct cocos2d::CCActionTween *v10; // rax struct cocos2d::CCFiniteTimeAction *v11; // rbx __int64 v12; // rax struct cocos2d::CCAction *v13; // rbx __int64 v14; // rax cocos2d::CCActionManager *v15; // rax struct cocos2d::CCFiniteTimeAction *v17; // rsi struct cocos2d::CCFiniteTimeAction *v18; // rdi struct cocos2d::CCActionTween *v19; // rbx __int64 v20; // rax struct cocos2d::CCSequence *v21; // rax struct cocos2d::CCAction *v22; // rbx __int64 v23; // rax cocos2d::CCActionManager *v24; // rax *(_WORD *)(a1 + 340) = -1; *(_BYTE *)(a1 + 342) = -1; *(float *)(a1 + 332) = a2; *(_DWORD *)(a1 + 336) = 1132396544; *(_DWORD *)(a1 + 360) = 1065353216; *(_DWORD *)(a1 + 352) = 0; *(_DWORD *)(a1 + 356) = 2; *(_QWORD *)(a1 + 320) = 0; *(_BYTE *)(a1 + 364) = 1; if ( a5 ) { *(_DWORD *)(a1 + 336) = 0; v17 = cocos2d::CCActionTween::create(a4, "radius", a2, a3); v18 = cocos2d::CCActionTween::create(a4 * 0.5, "opacity", *(float *)(a1 + 336), 255.0); v19 = cocos2d::CCActionTween::create(a4 * 0.5, "opacity", 255.0, 0.0); v20 = cocos2d::CCCallFunc::create(a1, sub_14003F5B0); v21 = cocos2d::CCSequence::create(v18, v19, v20, 0); v22 = cocos2d::CCSpawn::create(v17, v21, 0); v23 = cocos2d::CCDirector::sharedDirector(); v24 = (cocos2d::CCActionManager *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v23 + 128LL))(v23); cocos2d::CCActionManager::addAction(v24, v22, (struct cocos2d::CCNode *)a1, 0); return 1; } else { v7 = cocos2d::CCActionTween::create(a4, "radius", a2, a3); v8 = v7; if ( a6 ) { v8 = cocos2d::CCEaseOut::create(v7, 2.0); v9 = cocos2d::CCActionTween::create(a4, "opacity", *(float *)(a1 + 336), 0.0); v10 = cocos2d::CCEaseOut::create(v9, 2.0); } else { v10 = cocos2d::CCActionTween::create(a4, "opacity", *(float *)(a1 + 336), 0.0); } v11 = cocos2d::CCSpawn::create(v8, v10, 0); v12 = cocos2d::CCCallFunc::create(a1, sub_14003F5B0); v13 = cocos2d::CCSequence::create(v11, v12, 0); v14 = cocos2d::CCDirector::sharedDirector(); v15 = (cocos2d::CCActionManager *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v14 + 128LL))(v14); cocos2d::CCActionManager::addAction(v15, v13, (struct cocos2d::CCNode *)a1, 0); return 1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source