-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathScaleform.cpp
More file actions
41 lines (30 loc) · 1.31 KB
/
Scaleform.cpp
File metadata and controls
41 lines (30 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#include "Scaleform.h"
using namespace CATHODE::Scaleform;
/*
__declspec(noinline)
void __fastcall Callback::GameMenu::hLoadLevel(void* _this, void* _EDX, char* level_name)
{
//logger.AddLog("[Callback::GameMenu::LoadLevel] _this: 0x%p; _EDX: 0x%p; level_name: %s\n", _this, _EDX, level_name);
//level_name = const_cast<char*>("Production\\Tech_MuthrCore");
//logger.AddLog("[Scaleform::RequestLoadLevel] After: _this: 0x%p; _EDX: 0x%p; param_1: %s\n", _this, _EDX, level_name);
LoadLevel(_this, level_name);
}
__declspec(noinline)
void __fastcall UI::hLoadLevelUnknownFunc1(int param_1)
{
//logger.AddLog("[Scaleform::UI::LoadLevelUnknownFunc1] param_1: %d\n", param_1);
LoadLevelUnknownFunc1(param_1);
}
__declspec(noinline)
unsigned __fastcall UI::hLoadLevelUnknownFunc2(void* _this, void* _EDX, char* level_name)
{
//logger.AddLog("[Scaleform::UI::LoadLevelUnknownFunc2] _this: 0x%p; _EDX: 0x%p; level_name: %s\n", _this, _EDX, level_name);
return LoadLevelUnknownFunc2(_this, level_name);
}
__declspec(noinline)
void __fastcall UI::hDispatchRequestToNodeHandler(void* _this, void* _EDX, unsigned* param_1)
{
//logger.AddLog("[Scaleform::UI::DispatchRequestToNodeHandler] _this: 0x%p; _EDX: 0x%p; param_1: %s\n", _this, _EDX, reinterpret_cast<char*>(param_1));
DispatchRequestToNodeHandler(_this, param_1);
}
*/