// // PlayerObject::boostPlayer from 0x1404fe2f0 to 0x1404fe49e (430 bytes) // // 4 xrefs: // > PlayerObject::postCollision @ 0x1404ebc9b // > PlayerObject::postCollision @ 0x1404ecfa1 // > @ 0x14092a5cc // > @ 0x14092a5d8 // // 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:23 +0000 // double __fastcall PlayerObject::boostPlayer(__int64 a1, float a2) { double v3; // xmm7_8 double v4; // xmm0_8 float v5; // xmm1_4 int v6; // eax __int64 v7; // rax void *v9[4]; // [rsp+20h] [rbp-38h] BYREF *(_BYTE *)(a1 + 2596) = 1; *(_BYTE *)(a1 + 2580) = 0; *(_BYTE *)(a1 + 2505) = 0; *(_BYTE *)(a1 + 2027) = 1; *(_BYTE *)(a1 + 2394) = 1; v3 = (double)(int)a2; v4 = a2; if ( a2 != v3 ) v4 = round((v4 - v3) * 1000.0) / 1000.0 + v3; *(double *)(a1 + 2472) = v4; if ( !*(_BYTE *)(a1 + 2540) ) { if ( *(_BYTE *)(a1 + 2497) || *(_BYTE *)(a1 + 2498) || *(_BYTE *)(a1 + 2500) || *(_BYTE *)(a1 + 2508) || *(_BYTE *)(a1 + 2499) || *(_BYTE *)(a1 + 2501) ) { if ( !*(_BYTE *)(a1 + 2502) ) goto LABEL_19; } else if ( !*(_BYTE *)(a1 + 2502) ) { *(_BYTE *)(a1 + 1841) = 0; *(_BYTE *)(a1 + 1648) = 0; if ( *(float *)(a1 + 2552) == 1.0 ) v5 = 0.86666667; else v5 = 0.66666669; v6 = 180; if ( !*(_BYTE *)(a1 + 2503) ) v6 = -180; *(float *)(a1 + 1832) = (float)v6 / v5; *(_BYTE *)(a1 + 1840) = 1; goto LABEL_19; } v9[1] = (void *)112; v9[2] = (void *)9; v9[3] = (void *)15; v9[0] = (void *)0x6F6F6C5F6C6C6166LL; CCAnimatedSprite::tweenToAnimation(*(void ***)(a1 + 2224), v9, 0.1); } LABEL_19: v7 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 200LL))(a1); return cocos2d::CCPoint::operator=(a1 + 2612, v7); }
GD Web Decomp Icon

GD Web Decomp

Raw Source