// // PlayerObject::bumpPlayer from 0x44666c to 0x446732 (198 bytes) // // 1 xrefs: // > GJBaseGameLayer::bumpPlayer @ 0x5a4adc // // 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:30 +0000 // PlayerObject *__fastcall PlayerObject::bumpPlayer(PlayerObject *this, float a2, int a3, bool a4, GameObject *a5) { PlayerObject *result; // r0 float v8; // r1 if ( *((_BYTE *)this + 2320) || !*((_BYTE *)this + 2380) ) *((_BYTE *)this + 1924) = 1; if ( a3 == 44 ) { if ( a5 && (*((_BYTE *)this + 1963) && *((unsigned __int8 *)this + 1959) != GameObject::isFacingLeft(a5) || !*((_BYTE *)this + 1963) && *((unsigned __int8 *)this + 1959) != GameObject::isFacingDown(a5)) ) { PlayerObject::flipGravity((unsigned __int8 *)this, *((unsigned __int8 *)this + 1959) ^ 1, 1); } PlayerObject::spiderTestJump(this, 0); return (PlayerObject *)PlayerObject::playBumpEffect((cocos2d::CCNode **)this, 44, a5); } else { result = (PlayerObject *)PlayerObject::propellPlayer(this, a2, a4, a3); if ( *((_BYTE *)this + 2320) && !*((_BYTE *)this + 1480) ) { if ( a3 == 34 ) v8 = 1.2; else v8 = 1.0; result = PlayerObject::animatePlatformerJump(this, v8); } if ( a3 == 34 ) { *((_BYTE *)this + 1850) = 1; return (PlayerObject *)cocos2d::CCPoint::operator=((char *)this + 2068, &unk_D2B834); } else { *((_BYTE *)this + 1850) = 0; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source