// // GJBaseGameLayer::gravBumpPlayer from 0x9c24b0 to 0x9c2648 (408 bytes) // // 2 xrefs: // > GJBaseGameLayer::collisionCheckObjects @ 0x9e933c // > @ 0xba010 // // 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:58:30 +0000 // __int64 __fastcall GJBaseGameLayer::gravBumpPlayer(__int64 **this, PlayerObject *a2, EffectGameObject *a3) { unsigned int v6; // w22 __int64 v7; // x26 long double v8; // q0 _BYTE v10[8]; // [xsp+68h] [xbp+68h] BYREF __int64 v11; // [xsp+70h] [xbp+70h] BYREF if ( *((_BYTE *)a2 + 2427) ) v6 = (unsigned __int8)GameObject::isFacingLeft(a3) ^ 1; else v6 = (unsigned __int8)GameObject::isFacingDown(a3) ^ 1; if ( *((unsigned __int8 *)a2 + 2423) != v6 && (unsigned __int8)GJBaseGameLayer::canBeActivatedByPlayer(this, a2, a3) ) { if ( *((_BYTE *)a3 + 1780) ) { PlayerObject::reversePlayer(a2, a3); if ( *((_BYTE *)a3 + 1044) ) goto LABEL_7; } else if ( *((_BYTE *)a3 + 1044) ) { LABEL_7: v7 = (*(__int64 (__fastcall **)(EffectGameObject *))(*(_QWORD *)a3 + 192LL))(a3); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, 0.0, -10.0); cocos2d::CCPoint::operator+(&v11, v7); *(__n128 *)&v8 = cocos2d::CCPoint::operator=((char *)a2 + 2488, &v11); (*(void (__fastcall **)(EffectGameObject *, PlayerObject *, long double))(*(_QWORD *)a3 + 1536LL))(a3, a2, v8); *((_QWORD *)a2 + 324) = a3; PlayerObject::propellPlayer(a2, 0.8, *((_BYTE *)a3 + 1044), 10); GJBaseGameLayer::flipGravity((__int64)this, a2, v6, 1u); *((_BYTE *)a2 + 1968) = 1; GJBaseGameLayer::gameEventTriggered((__int64)this, 0x30u, 0, 0); return _stack_chk_guard; } ((void (__fastcall *)(__int64 **, _QWORD))(*this)[185])(this, v6); goto LABEL_7; } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source