Scroll down for code....
(Sorry for mic i had it the wrong angle)
Lua_Print Assembly Function:
push offset aVideoRecording_0 ; "Video recording started"
push 1
call sub_7E4F40
mov eax, [edi+18h]
add esp, 8
mov byte ptr [eax], 0
cmp byte_386B200, 0
jz short loc_6B9F3F
Print Line: sub_7E4F40(1, (int)"Video recording started");
Line Number: 135
String "Video recording started"
First Cross Reference
Print Address: 0x07E4F40 (not rebased)
Print Arguments: int, int, ...
Type: unsigned int
#define ASLR(x)(x - 0x400000 + (DWORD)GetModuleHandleA(0))
using print_typedef = int(__cdecl*)(int A, int B, ...);
print_typedef print = (print_typedef)(ASLR(0x07E4F40));
int type = 1;//there is print, warn, error and info
print(type, (int)"Hello from print!");