diff --git a/bindings/GeometryDash.bro b/bindings/GeometryDash.bro index ba5855e5..ee4b2a04 100644 --- a/bindings/GeometryDash.bro +++ b/bindings/GeometryDash.bro @@ -1502,10 +1502,10 @@ class EditorUI : cocos2d::CCLayer, FLAlertLayerProtocol, ColorSelectDelegate, GJ bool m_isPlayingMusic; EditButtonBar* m_buttonBar; - PAD = mac 0x8, win 0x4; + PAD = mac 0x8, win 0x4, android 0x4; cocos2d::CCArray* m_hideableUIElementArray; float m_gridSize; - PAD = mac 0x18, win 0x14; + PAD = mac 0x18, win 0x14, android 0x14; bool m_moveModifier; bool m_swipeModifier; int m_rotationTouchID; @@ -1579,7 +1579,7 @@ class EditorUI : cocos2d::CCLayer, FLAlertLayerProtocol, ColorSelectDelegate, GJ CCMenuItemSpriteExtra* m_layerNextBtn; CCMenuItemSpriteExtra* m_layerPrevBtn; CCMenuItemSpriteExtra* m_goToBaseBtn; - PAD = mac 0x10, win 0x8; + PAD = mac 0x10, win 0x8, android 0x8; int m_selectedCreateObjectID; cocos2d::CCArray* m_createButtonArray; cocos2d::CCArray* m_customObjectButtonArray; @@ -1588,16 +1588,16 @@ class EditorUI : cocos2d::CCLayer, FLAlertLayerProtocol, ColorSelectDelegate, GJ LevelEditorLayer* m_editorLayer; cocos2d::CCPoint m_swipeStart; cocos2d::CCPoint m_swipeEnd; - PAD = mac 0x8, win 0x8; + PAD = mac 0x8, win 0x8, android 0x8; cocos2d::CCPoint m_lastTouchPoint; cocos2d::CCPoint m_cameraTest; - PAD = mac 0x8, win 0x8; + PAD = mac 0x8, win 0x8, android 0x8; GameObject* m_selectedObject; - PAD = mac 0x8, win 0x4; + PAD = mac 0x8, win 0x4, android 0x4; bool m_unk2cc; bool m_freeMovingObject; gd::string m_clipboard; - PAD = mac 0x10, win 0x8; + PAD = mac 0x10, win 0x8, android 0x8; int m_selectedTab; int m_timesSelected; PAD = win 0x20; @@ -1704,7 +1704,7 @@ class EffectGameObject : GameObject { bool m_dynamicBlock; int m_itemBlockAID; int m_pickupMode; - PAD = mac 0x28, win 0x24; + PAD = mac 0x28, win 0x24, android 0x24; } [[link(android)]] @@ -5950,7 +5950,7 @@ class TableViewDelegate { [[link(android)]] class TeleportPortalObject : GameObject { - PAD = mac 0x8, win 0x4; + PAD = mac 0x8, win 0x4, android 0x4; TeleportPortalObject* m_orangePortal; bool m_isYellowPortal; float m_teleportYOffset; diff --git a/loader/src/platform/android/util.cpp b/loader/src/platform/android/util.cpp index 6135b77a..8da055a5 100644 --- a/loader/src/platform/android/util.cpp +++ b/loader/src/platform/android/util.cpp @@ -9,6 +9,14 @@ using namespace geode::prelude; #include #include +bool utils::clipboard::write(std::string const& data) { + return false; +} + +std::string utils::clipboard::read() { + return ""; +} + ghc::filesystem::path dirs::getGameDir() { return ghc::filesystem::path( "/storage/emulated/0/Android/data/com.geode.launcher/files/game" diff --git a/loader/test/members/Android.cpp b/loader/test/members/Android.cpp index 740e938d..6e622039 100644 --- a/loader/test/members/Android.cpp +++ b/loader/test/members/Android.cpp @@ -26,4 +26,6 @@ GEODE_MEMBER_CHECK(GameStatsManager, m_completedLevels, 0x164); GEODE_MEMBER_CHECK(DailyLevelPage, m_weekly, 0x1ed); +GEODE_MEMBER_CHECK(TeleportPortalObject, m_orangePortal, 0x430); + #endif \ No newline at end of file