// // PlayerObject::reversePlayer from 0x754738 to 0x75484c (276 bytes) // // 6 xrefs: // > PlayerObject::ringJump @ 0x76a254 // > GJBaseGameLayer::reverseDirection @ 0x998bb4 // > GJBaseGameLayer::reverseDirection @ 0x998bdc // > GJBaseGameLayer::bumpPlayer @ 0x9c24a0 // > GJBaseGameLayer::gravBumpPlayer @ 0x9c2620 // > @ 0x6fa48 // // This function is hookable on this platform (idp: arm, 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:52:56 +0000 // __int64 __fastcall PlayerObject::reversePlayer(PlayerObject *this, EffectGameObject *a2) { __int64 v4; // x24 float v5; // s0 long double v6; // q0 float v7; // s0 __int64 v8; // [xsp+58h] [xbp+58h] BYREF __int64 v9; // [xsp+60h] [xbp+60h] BYREF __int64 v10; // [xsp+68h] [xbp+68h] BYREF _BYTE v11[8]; // [xsp+70h] [xbp+70h] BYREF if ( !*((_BYTE *)this + 2832) ) { if ( a2 && *((_BYTE *)this + 1370) ) { (*(void (__fastcall **)(__int64 *__return_ptr, EffectGameObject *))(*(_QWORD *)a2 + 1360LL))(&v9, a2); v4 = (*(__int64 (__fastcall **)(PlayerObject *))(*(_QWORD *)this + 192LL))(this); v5 = *((double *)this + 305); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, v5, v5); cocos2d::CCPoint::operator+(&v10, v4); cocos2d::CCPoint::operator-(&v8, &v9, &v10, v6); if ( *((_BYTE *)this + 2427) ) v7 = *((float *)&v8 + 1) + *((float *)&v8 + 1); else v7 = *(float *)&v8 + *(float *)&v8; *((double *)this + 305) = *((double *)this + 305) + v7; } PlayerObject::doReversePlayer(this, *((_BYTE *)this + 2426) ^ 1); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source