// // PlayerObject::animatePlatformerJump from 0x1404eaf30 to 0x1404eb1e2 (690 bytes) // // 6 xrefs: // > PlayerObject::updateJump @ 0x1404ea273 // > PlayerObject::ringJump @ 0x1404f77c6 // > PlayerObject::bumpPlayer @ 0x1404fdc54 // > @ 0x1408d4828 // > @ 0x1408d4838 // > @ 0x140929cfc // // 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:13 +0000 // struct cocos2d::CCAction *__fastcall PlayerObject::animatePlatformerJump(__int64 a1, float a2) { struct cocos2d::CCAction *result; // rax int v4; // ebp unsigned __int32 v5; // xmm14_4 float v6; // xmm7_4 float v7; // xmm6_4 float v8; // xmm8_4 float v9; // xmm9_4 int v10; // eax struct cocos2d::CCActionInterval *v11; // rax struct cocos2d::CCFiniteTimeAction *v12; // rdi struct cocos2d::CCActionInterval *v13; // rax struct cocos2d::CCEaseInOut *v14; // rbx struct cocos2d::CCActionInterval *v15; // rax struct cocos2d::CCEaseInOut *v16; // rax struct cocos2d::CCAction *v17; // rbx _UNKNOWN *retaddr; // [rsp+C8h] [rbp+0h] BYREF result = (struct cocos2d::CCAction *)&retaddr; if ( !*(_BYTE *)(a1 + 2825) && !*(_BYTE *)(a1 + 2824) && !*(_BYTE *)(a1 + 2913) && !*(_BYTE *)(a1 + 2914) && !*(_BYTE *)(a1 + 2497) && !*(_BYTE *)(a1 + 2498) && !*(_BYTE *)(a1 + 2500) && !*(_BYTE *)(a1 + 2508) && !*(_BYTE *)(a1 + 2499) && !*(_BYTE *)(a1 + 2501) && !*(_BYTE *)(a1 + 2502) ) { v4 = 0; v5 = _mm_load_si128((const __m128i *)&xmmword_140836C90).m128i_u32[0]; do { while ( 1 ) { v6 = 0.80000001; v7 = a2 * 1.35; v8 = 1.1; v9 = 0.89999998; v10 = (int)COERCE_FLOAT(COERCE_UNSIGNED_INT((*(float (__fastcall **)(__int64))(*(_QWORD *)a1 + 360LL))(a1)) & v5); if ( v10 > 45 && v10 < 135 || (unsigned int)(v10 - 226) <= 0x58 ) { v6 = a2 * 1.35; v8 = 0.89999998; v7 = 0.80000001; v9 = 1.1; } v11 = cocos2d::CCScaleTo::create(0.1 / *(float *)(a1 + 2956), v6, v7); v12 = cocos2d::CCEaseInOut::create(v11, 2.0); v13 = cocos2d::CCScaleTo::create(0.25 / *(float *)(a1 + 2956), v8, v9); v14 = cocos2d::CCEaseInOut::create(v13, 2.0); v15 = cocos2d::CCScaleTo::create(0.15000001 / *(float *)(a1 + 2956), 1.0, 1.0); v16 = cocos2d::CCEaseInOut::create(v15, 2.0); v17 = cocos2d::CCSequence::create(v12, v14, v16, 0); (*(void (__fastcall **)(struct cocos2d::CCAction *, __int64))(*(_QWORD *)v17 + 64LL))(v17, 13); if ( v4 ) break; cocos2d::CCNode::runAction(*(cocos2d::CCNode **)(a1 + 1856), v17); v4 = 1; } result = cocos2d::CCNode::runAction(*(cocos2d::CCNode **)(a1 + 1880), v17); ++v4; } while ( v4 < 2 ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source