// // PlayLayer::playPlatformerEndAnimationToPos from 0x14050ace0 to 0x14050b000 (800 bytes) // // 2 xrefs: // > PlayLayer::activatePlatformerEndTrigger @ 0x14050acce // > @ 0x14092a95c // // 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:33:28 +0000 // void __fastcall PlayLayer::playPlatformerEndAnimationToPos(__int64 a1, const struct cocos2d::CCPoint *a2, char a3) { __int64 v3; // r15 const struct cocos2d::CCPoint *v5; // r14 __int64 v7; // rax int v8; // esi int v9; // r13d __int64 v10; // rax cocos2d::CCNode *v11; // rbx void **v12; // rcx const struct cocos2d::CCPoint *v13; // rax __int64 v14; // rax __int64 v15; // rax struct cocos2d::CCActionInterval *v16; // rax struct cocos2d::CCEaseIn *v17; // rax struct cocos2d::CCFiniteTimeAction *v18; // r14 __int64 v19; // rax struct cocos2d::CCAction *v20; // rdx struct cocos2d::CCActionInterval *v21; // rax struct cocos2d::CCAction *v22; // rax _BYTE v23[8]; // [rsp+30h] [rbp-61h] BYREF _BYTE v24[8]; // [rsp+38h] [rbp-59h] BYREF __int64 v25; // [rsp+40h] [rbp-51h] BYREF __int64 v26; // [rsp+48h] [rbp-49h] BYREF _QWORD v27[2]; // [rsp+50h] [rbp-41h] BYREF int v28; // [rsp+F8h] [rbp+67h] BYREF float v29; // [rsp+FCh] [rbp+6Bh] const struct cocos2d::CCPoint *v30; // [rsp+100h] [rbp+6Fh] float v31; // [rsp+110h] [rbp+7Fh] BYREF float v32; // [rsp+114h] [rbp+83h] v30 = a2; v3 = *(_QWORD *)(a1 + 15576); v5 = a2; if ( v3 ) LOBYTE(v3) = *(_BYTE *)(v3 + 1856); cocos2d::CCPoint::operator=(a1 + 15564, a2); v7 = *(_QWORD *)a1; *(_BYTE *)(a1 + 2214) = 1; (*(void (__fastcall **)(__int64))(v7 + 1312))(a1); *(_DWORD *)(a1 + 440) = *(_DWORD *)(a1 + 432); v28 = 15; sub_140355080((_QWORD *)(a1 + 1064), (unsigned __int8 *)&v28); *(_DWORD *)(a1 + 432) = *(_DWORD *)(a1 + 440); *(_DWORD *)(a1 + 444) = *(_DWORD *)(a1 + 436); v28 = 16; sub_140355080((_QWORD *)(a1 + 1064), (unsigned __int8 *)&v28); v8 = 0; v9 = (*(_BYTE *)(a1 + 1058) != 0) + 1; *(_DWORD *)(a1 + 436) = *(_DWORD *)(a1 + 444); do { v10 = 3512; if ( v8 ) v10 = 3520; v11 = *(cocos2d::CCNode **)(v10 + a1); PlayerObject::lockPlayer((__int64)v11); if ( *((_BYTE *)v11 + 2502) ) { v12 = *((void ***)v11 + 278); v26 = 112; v27[0] = 9; v25 = 0x6F6F6C5F6C6C6166LL; v27[1] = 15; CCAnimatedSprite::tweenToAnimation(v12, (void **)&v25, 0.40000001); } if ( !(_BYTE)v3 ) PlayerObject::toggleGhostEffect((__int64)v11, 1); if ( !a3 ) { v13 = (const struct cocos2d::CCPoint *)(*(__int64 (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v11 + 200LL))(v11); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v28, v13); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v31, v5); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v25); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v26); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v27); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v23, *(float *)&v28, v29); cocos2d::CCPoint::operator=(&v26, v14); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v24, (float)((float)(v31 - *(float *)&v28) * 0.5) + *(float *)&v28, (float)((float)(v32 - v29) * 0.5) + v29); cocos2d::CCPoint::operator=(v27, v15); cocos2d::CCPoint::operator=(&v25, &v31); v16 = cocos2d::CCBezierTo::create(1.0, (const struct cocos2d::_ccBezierConfig *)&v25); v17 = cocos2d::CCEaseIn::create(v16, 1.8); v18 = v17; if ( v8 ) { v20 = v17; } else { v19 = cocos2d::CCCallFunc::create(a1, PlayLayer::levelComplete); v20 = cocos2d::CCSequence::create(v18, v19, 0); } cocos2d::CCNode::runAction(v11, v20); v21 = cocos2d::CCRotateBy::create(1.0, 360.0); v22 = cocos2d::CCEaseIn::create(v21, 1.8); cocos2d::CCNode::runAction(v11, v22); v5 = v30; } ++v8; } while ( v8 < v9 ); if ( a3 ) PlayLayer::levelComplete(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source