// // PlayerObject::playBumpEffect from 0x100407a90 to 0x100407bcd (317 bytes) // // 2 xrefs: // > PlayerObject::bumpPlayer @ 0x100407a7e // > PlayerObject::propellPlayer @ 0x100407cf2 // // 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 12:30:05 +0000 // __int64 __fastcall PlayerObject::playBumpEffect(__int64 a1, int a2) { __int64 result; // rax __int64 v3; // rax float v4; // xmm0_4 _QWORD *v5; // r14 int v6; // eax __int64 v7; // rsi __int64 v8; // rax __int64 v9; // rcx __int64 v10; // rax result = GameManager::sharedState(); if ( !*(_BYTE *)(result + 925) && *(_BYTE *)(a1 + 1972) == 1 ) { v3 = 0; if ( a2 == 34 ) { LOBYTE(v3) = *(float *)(a1 + 2472) >= 1.0; v4 = flt_100A09CE8[v3]; } else { v4 = 10.0; } v5 = (_QWORD *)CCCircleWave::create_1(0, v4, 40.0, 0.25); if ( a2 == 9 ) { v6 = 16711935; } else if ( a2 == 44 ) { v6 = 16724735; } else { v6 = 51455; if ( a2 == 10 ) v6 = 16776960; } *((_WORD *)v5 + 170) = v6; *((_BYTE *)v5 + 342) = BYTE2(v6); (*(void (__fastcall **)(_QWORD *, __int64))(*v5 + 184LL))(v5, a1 + 2488); v7 = *(_QWORD *)(a1 + 2592); if ( v7 ) { CCCircleWave::followObject(v5, v7, 1); v8 = *(_QWORD *)(GameManager::sharedState() + 544); v9 = v8 + 13992; if ( !v8 ) v9 = 0; v5[46] = v9; v10 = GameManager::sharedState(); PlayLayer::addCircle(*(_QWORD *)(v10 + 544), (__int64)v5); } return (*(__int64 (__fastcall **)(_QWORD, _QWORD *, _QWORD))(**(_QWORD **)(a1 + 3024) + 464LL))( *(_QWORD *)(a1 + 3024), v5, 0); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source