re3/src/NodeName.cpp

16 lines
276 B
C++
Raw Normal View History

2019-05-15 14:52:37 +00:00
#include "common.h"
#include "patcher.h"
#include "NodeName.h"
int &gPluginOffset = *(int*)0x64C610;
#define NODENAMEEXT(o) (RWPLUGINOFFSET(char, o, gPluginOffset))
char*
GetFrameNodeName(RwFrame *frame)
{
if(gPluginOffset < 0)
return nil;
return NODENAMEEXT(frame);
}