// // PlayerObject::reversePlayer from 0x43954c to 0x439602 (182 bytes) // // 5 xrefs: // > PlayerObject::ringJump @ 0x449790 // > GJBaseGameLayer::reverseDirection @ 0x58b704 // > GJBaseGameLayer::reverseDirection @ 0x58b718 // > GJBaseGameLayer::bumpPlayer @ 0x5a4ac2 // > GJBaseGameLayer::gravBumpPlayer @ 0x5a4b74 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:48:20 +0000 // PlayerObject *__fastcall PlayerObject::reversePlayer(PlayerObject *this, EffectGameObject *a2) { PlayerObject *result; // r0 int v4; // r0 float v5; // s14 int v6; // r10 float v7; // s14 float v8[2]; // [sp+4h] [bp-24h] BYREF _BYTE v9[8]; // [sp+Ch] [bp-1Ch] BYREF _BYTE v10[8]; // [sp+14h] [bp-14h] BYREF _BYTE v11[8]; // [sp+1Ch] [bp-Ch] BYREF result = (PlayerObject *)*((unsigned __int8 *)this + 2320); if ( !result ) { if ( a2 && *((_BYTE *)this + 1178) ) { (*(void (__fastcall **)(_BYTE *))(*(_DWORD *)a2 + 680))(v9); v4 = (*(int (__fastcall **)(PlayerObject *))(*(_DWORD *)this + 96))(this); v5 = *((double *)this + 247); v6 = v4; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, v5, v5); cocos2d::CCPoint::operator+(v10, v6, v11); cocos2d::CCPoint::operator-(v8, v9, v10); if ( *((_BYTE *)this + 1963) ) v7 = v8[1]; else v7 = v8[0]; *((double *)this + 247) = *((double *)this + 247) + (float)(v7 + v7); } return PlayerObject::doReversePlayer(this, *((unsigned __int8 *)this + 1962) ^ 1); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source