Advertisement
LocalDuds

Untitled

Jun 14th, 2019
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.84 KB | None | 0 0
  1. typedef int(__cdecl *touserdata)(DWORD, int);
  2. touserdata r_lua_touserdata = (touserdata)x(0x811ed0);
  3.  
  4. DWORD ScriptContextVFT_Addy = ASLR(0x1903CAC);
  5.  
  6. DWORD GetField_Addy = (0x7FFB40);
  7. DWORD SetField_Addy = (0x8018D0);
  8. DWORD Gettable_Addy = (0x7FFFC0);
  9. DWORD Settable_Addy = (0x801C10);
  10.  
  11. DWORD CreateTable_Addy = (0x7FF800);
  12. DWORD GetMetaTable_Addy = (0x7FFE10);
  13. DWORD SetMetaTable_Addy = (0x801A80);
  14. DWORD ToLString_Addy = (0x801EE0);
  15.  
  16. //:thonk: kEk
  17.  
  18. DWORD GetMetaField_Addy = (0x7FA670);
  19. DWORD Remove_Addy = (0x8014E0);
  20.  
  21.  
  22. DWORD PushNumber_Addy = (0x800E30);
  23. DWORD PushLightUserData_Addy = (0x800CA0);
  24. DWORD PushCClosure_Addy = (0x800A50);
  25.  
  26. DWORD ToNumber_Addy = (0x8021B0);
  27. DWORD ToBoolean_Addy = (0x801E20);
  28. DWORD ToUserData_Addy = (0x8022F0);
  29.  
  30. DWORD NewUserData_Addy = (0x8006E0);
  31. DWORD RawGetI_Addy = (0x801230);
  32. DWORD RawSetI_Addy = (0x801230);
  33. DWORD PCall_Addy = (0x800910);
  34. DWORD NewThread_Addy = (0x800600);
  35. DWORD LRef_Addy = (0x7FAAC0);
  36. DWORD Next_Addy = (0x800790);
  37. DWORD Type_Addy = (0x802320);
  38. DWORD NewLStr_Addy = (0x7FB550);
  39. DWORD Index2_Addy = (0x7f7340);
  40. DWORD setreadonlyaddr = (0x801BA0);
  41.  
  42.  
  43. typedef void(__stdcall* XR_GetField)(DWORD RLS, int idx, const char *k);
  44. typedef int(__stdcall*XR_SetField)(DWORD RLS, int idx, const char *k);
  45. typedef void*(__cdecl * XR_GetTable)(DWORD RLS, int index);
  46. typedef void*(__cdecl *XR_SetTable)(DWORD RLS, int idx);
  47.  
  48. typedef void(__cdecl *XR_CreateTable)(DWORD RLS, int num, int fix);
  49. typedef void*(__cdecl *XR_GetMetaTable)(DWORD RLS, int idx);
  50. typedef int(__cdecl *XR_SetMetaTable)(DWORD RLS, int index);
  51. typedef char*(__fastcall* XR_TolString)(DWORD RLS, int idx, size_t *size);
  52. typedef int(__cdecl* XR_GetMetaField)(DWORD RLS, int obj, const char *e);
  53. typedef void*(__cdecl* XR_Remove)(DWORD RLS, int idx);
  54.  
  55. typedef double(__stdcall* XR_PushNumber)(DWORD RLS, double idx);
  56. typedef void(__stdcall*XR_PushLightUserData)(DWORD RLS, void* p);
  57. typedef void(__cdecl* XR_PushCClosure)(DWORD RLS, int fn, int non);
  58.  
  59. typedef double(__stdcall* XR_ToNumber)(DWORD RLS, int idx);
  60. typedef bool(__cdecl* XR_ToBoolean)(DWORD RLS, bool idx);
  61. typedef void*(__cdecl *XR_ToUserData)(DWORD, int idx);
  62.  
  63. typedef void*(__cdecl *XR_NewUserData)(DWORD RLS, int idx);
  64. typedef void(__cdecl *XR_RawGetI)(DWORD RLS, DWORD index, DWORD n);
  65. typedef void(__cdecl* XR_RawSetI)(DWORD RLS, int index, int n);
  66. typedef int(__cdecl* XR_PCall)(DWORD RLS, DWORD nargs, DWORD nresults, DWORD errfunc);
  67. typedef DWORD(__cdecl*XR_NewThread)(DWORD RLS);
  68. typedef DWORD(__cdecl*XR_LRef)(DWORD RLS, DWORD T);
  69. typedef DWORD(__cdecl* XR_Next)(DWORD RLS, int idx);
  70. typedef DWORD(__cdecl*XR_Type)(DWORD RLS, int idx);
  71. typedef int(__cdecl*XR_NewLStr)(DWORD RLS, const char *str, size_t l);
  72. typedef r_l_TValue*(__fastcall*XR_Index2)(int lst, int idx);
  73. typedef void*(__cdecl*XR_SRO)(DWORD RLS, int idx, int k);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement