// // GJBaseGameLayer::triggerGravityChange from 0x1001f1e64 to 0x1001f1ebc (88 bytes) // // 1 xrefs: // > EffectGameObject::triggerObject @ 0x100385d6c // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall GJBaseGameLayer::triggerGravityChange(GJBaseGameLayer *a1, EffectGameObject *a2, int a3) { __int64 v3; // x8 if ( a2->m_followCPP ) { if ( a3 == 1 ) { v3 = 3272; goto LABEL_10; } if ( a3 != 2 ) return; LABEL_8: v3 = 3280; LABEL_10: HIDWORD((*(GJBaseGameLayer_vtbl **)((char *)&a1->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable + v3))[1].destroyPlayer) = LODWORD(a2->m_gravityValue); return; } if ( !a2->m_targetPlayer2 ) a1->m_player1->m_gravityMod = a2->m_gravityValue; if ( !a2->m_targetPlayer1 ) goto LABEL_8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source