Jump to content

Looking for reversed function GetGraphicImagePointer from grpImage


Go to solution Solved by MrQuin,

Recommended Posts

Hey boys , i really need that function from EterPythonLib if someone has already reversed it, could you please share it ?❤️  ? 

 

 {'args': ['bad-module'], 'defaults': ['bad-module'], 'name': 'GetGraphicImagePointer'},

Edited by Kafa
  • Contributor
  • Solution

@ PythonGraphicImageModule.cpp:
 

PyObject * grpGetGraphicImagePointer(PyObject * poSelf, PyObject * poArgs)
{
	CGraphicImageInstance * pImageInstance;

	if (!PyTuple_GetImageInstance(poArgs, 0, &pImageInstance))
		return Py_BadArgument();

	if (pImageInstance->IsEmpty())
		return Py_BuildException("Image is empty");

	return Py_BuildValue("i", pImageInstance->GetGraphicImagePointer());
}

		{ "GetGraphicImagePointer",	grpGetGraphicImagePointer,		METH_VARARGS },

 

  • Metin2 Dev 1

My only accounts are here and on M2D, Don't trust anyone else from other shitty sites.
266868740522639360.png

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.