Skip to content

Commit

Permalink
Update main.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ZiLko authored Feb 11, 2024
1 parent c20b120 commit 4c4665f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ enum state {

class recordSystem {
public:
bool android = isAndroid;
bool android = false;
state state = off;
size_t currentAction = 0;
std::vector<data> macro;
Expand Down Expand Up @@ -1337,6 +1337,7 @@ class $modify(CCKeyboardDispatcher) {
if (!isAndroid)
Mod::get()->hook(reinterpret_cast<void *>(base::get() + 0x1BD240), &GJBaseGameLayerProcessCommands, "GJBaseGameLayer::processCommands", tulip::hook::TulipConvention::Thiscall);
else {
recorder.android = true;
if (sizeof(void*) == 8) {
offset = 0x3B8;
}
Expand Down

0 comments on commit 4c4665f

Please sign in to comment.